From 717d3caaff26e13d99f0fe9f16226114f382adc4 Mon Sep 17 00:00:00 2001 From: MohammadReza Palide Date: Mon, 20 Jun 2022 09:10:38 +0430 Subject: [PATCH] make build-ui changes --- cmd/apps/skydex/README.md | 52 ++ cmd/apps/skydex/skydex.go | 233 ++++++ cmd/apps/skydex/static/index.html | 745 ++++++++++++++++++ cmd/apps/skydex/static/p.png | Bin 0 -> 4911 bytes cmd/skywire-visor/static/index.html | 2 +- .../static/main.52840b491595f13d.js | 1 + .../static/main.559ec3dbbc5cee79.js | 1 - static/skywire-manager-src/angular.json | 1 + static/skywire-manager-src/dist/index.html | 2 +- 9 files changed, 1034 insertions(+), 3 deletions(-) create mode 100644 cmd/apps/skydex/README.md create mode 100644 cmd/apps/skydex/skydex.go create mode 100644 cmd/apps/skydex/static/index.html create mode 100644 cmd/apps/skydex/static/p.png create mode 100644 cmd/skywire-visor/static/main.52840b491595f13d.js delete mode 100644 cmd/skywire-visor/static/main.559ec3dbbc5cee79.js diff --git a/cmd/apps/skydex/README.md b/cmd/apps/skydex/README.md new file mode 100644 index 0000000000..043b2ca650 --- /dev/null +++ b/cmd/apps/skydex/README.md @@ -0,0 +1,52 @@ +# Skywire Chat app + +Chat implements basic text messaging between skywire visors. + +Messaging UI is exposed via web interface. + +Chat only supports one WEB client user at a time. + +## Local setup + +Create 2 visor config files: + +`skywire1.json` + +```json +{ + "apps": [ + { + "app": "skychat", + "version": "1.0", + "auto_start": true, + "port": 1 + } + ] +} +``` + +`skywire2.json` + +```json +{ + "apps": [ + { + "app": "skychat", + "version": "1.0", + "auto_start": true, + "port": 1, + "args": ["-addr", ":8002"] + } + ] +} +``` + +Compile binaries and start 2 visors: + +```bash +$ go build -o apps/skychat.v1.0 ./cmd/apps/skychat +$ ./skywire-visor skywire1.json +$ ./skywire-visor skywire2.json +``` + +Chat interface will be available on ports `8001` and `8002`. diff --git a/cmd/apps/skydex/skydex.go b/cmd/apps/skydex/skydex.go new file mode 100644 index 0000000000..fc2691ac01 --- /dev/null +++ b/cmd/apps/skydex/skydex.go @@ -0,0 +1,233 @@ +/* +skydex app for skywire visor +*/ +package main + +import ( + "context" + "embed" + "encoding/json" + "flag" + "fmt" + "io/fs" + "net" + "net/http" + "os" + "sync" + "time" + + ipc "github.com/james-barrow/golang-ipc" + "github.com/skycoin/skycoin/src/util/logging" + + "github.com/skycoin/skywire-utilities/pkg/cipher" + "github.com/skycoin/skywire-utilities/pkg/netutil" + "github.com/skycoin/skywire/pkg/app" + "github.com/skycoin/skywire/pkg/app/appnet" + "github.com/skycoin/skywire/pkg/app/launcher" + "github.com/skycoin/skywire/pkg/routing" + "github.com/skycoin/skywire/pkg/skyenv" +) + +const ( + netType = appnet.TypeSkynet + port = routing.Port(1) +) + +var log = logging.MustGetLogger("chat") +var addr = flag.String("addr", ":8585", "address to bind") +var r = netutil.NewRetrier(log, 50*time.Millisecond, netutil.DefaultMaxBackoff, 5, 2) + +var ( + appCl *app.Client + clientCh chan string + conns map[cipher.PubKey]net.Conn // Chat connections + connsMu sync.Mutex +) + +// the go embed static points to skywire/cmd/apps/skychat/static + +//go:embed static +var embededFiles embed.FS + +func main() { + appCl = app.NewClient(nil) + defer appCl.Close() + + fmt.Println(appCl.Config().VisorPK) + + err := http.ListenAndServe(*addr, nil) + if err != nil { + fmt.Println(err) + os.Exit(1) + } +} + +func listenLoop() { + l, err := appCl.Listen(netType, port) + if err != nil { + fmt.Printf("Error listening network %v on port %d: %v\n", netType, port, err) + return + } + + for { + fmt.Print("Accepting skychat conn...") + conn, err := l.Accept() + if err != nil { + fmt.Print("Failed to accept conn:", err) + return + } + fmt.Print("Accepted skychat conn") + + raddr := conn.RemoteAddr().(appnet.Addr) + connsMu.Lock() + conns[raddr.PubKey] = conn + connsMu.Unlock() + fmt.Printf("Accepted skychat conn on %s from %s\n", conn.LocalAddr(), raddr.PubKey) + + go handleConn(conn) + } +} + +func handleConn(conn net.Conn) { + raddr := conn.RemoteAddr().(appnet.Addr) + for { + buf := make([]byte, 32*1024) + n, err := conn.Read(buf) + if err != nil { + fmt.Print("Failed to read packet:", err) + raddr := conn.RemoteAddr().(appnet.Addr) + connsMu.Lock() + delete(conns, raddr.PubKey) + connsMu.Unlock() + return + } + + clientMsg, err := json.Marshal(map[string]string{"sender": raddr.PubKey.Hex(), "message": string(buf[:n])}) + if err != nil { + fmt.Printf("Failed to marshal json: %v", err) + } + select { + case clientCh <- string(clientMsg): + fmt.Printf("Received and sent to ui: %s\n", clientMsg) + default: + fmt.Printf("Received and trashed: %s\n", clientMsg) + } + } +} + +func messageHandler(ctx context.Context) func(w http.ResponseWriter, rreq *http.Request) { + return func(w http.ResponseWriter, req *http.Request) { + + data := map[string]string{} + if err := json.NewDecoder(req.Body).Decode(&data); err != nil { + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + + pk := cipher.PubKey{} + if err := pk.UnmarshalText([]byte(data["recipient"])); err != nil { + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + + addr := appnet.Addr{ + Net: netType, + PubKey: pk, + Port: 1, + } + connsMu.Lock() + conn, ok := conns[pk] + connsMu.Unlock() + + if !ok { + var err error + err = r.Do(ctx, func() error { + conn, err = appCl.Dial(addr) + return err + }) + if err != nil { + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + + connsMu.Lock() + conns[pk] = conn + connsMu.Unlock() + + go handleConn(conn) + } + + _, err := conn.Write([]byte(data["message"])) + if err != nil { + http.Error(w, err.Error(), http.StatusBadRequest) + + connsMu.Lock() + delete(conns, pk) + connsMu.Unlock() + + return + } + } +} + +func sseHandler(w http.ResponseWriter, req *http.Request) { + f, ok := w.(http.Flusher) + if !ok { + http.Error(w, "Streaming unsupported!", http.StatusBadRequest) + return + } + + w.Header().Set("Content-Type", "text/event-stream") + w.Header().Set("Cache-Control", "no-cache") + w.Header().Set("Connection", "keep-alive") + w.Header().Set("Transfer-Encoding", "chunked") + + for { + select { + case msg, ok := <-clientCh: + if !ok { + return + } + _, _ = fmt.Fprintf(w, "data: %s\n\n", msg) + f.Flush() + + case <-req.Context().Done(): + fmt.Print("SSE connection were closed.") + return + } + } +} + +func getFileSystem() http.FileSystem { + fsys, err := fs.Sub(embededFiles, "static") + if err != nil { + panic(err) + } + return http.FS(fsys) +} + +func handleIPCSignal(client *ipc.Client) { + for { + m, err := client.Read() + if err != nil { + fmt.Printf("%s IPC received error: %v", skyenv.SkychatName, err) + } + if m.MsgType == skyenv.IPCShutdownMessageType { + fmt.Println("Stopping " + skyenv.SkychatName + " via IPC") + break + } + } + os.Exit(0) +} + +func setAppStatus(appCl *app.Client, status launcher.AppDetailedStatus) { + if err := appCl.SetDetailedStatus(string(status)); err != nil { + fmt.Printf("Failed to set status %v: %v\n", status, err) + } +} + +func setAppError(appCl *app.Client, appErr error) { + if err := appCl.SetError(appErr.Error()); err != nil { + fmt.Printf("Failed to set error %v: %v\n", appErr, err) + } +} diff --git a/cmd/apps/skydex/static/index.html b/cmd/apps/skydex/static/index.html new file mode 100644 index 0000000000..df658eae03 --- /dev/null +++ b/cmd/apps/skydex/static/index.html @@ -0,0 +1,745 @@ + + + + + + + + + + + + + +
+ + + + +
+ + + + + + + \ No newline at end of file diff --git a/cmd/apps/skydex/static/p.png b/cmd/apps/skydex/static/p.png new file mode 100644 index 0000000000000000000000000000000000000000..1dd69287a4f1b1c3d8cf3edecb8c4db57495eea6 GIT binary patch literal 4911 zcmbtYcT`i|vXAtRDA*`QiijVEgib>5U5X%82_$q#Oacj25d;Ad=_n!z9hIV}NB|KL z0qLRwVn9(Kv>;77yu)`ty>Gqsy#L&@RRKc$(!&o;0K22Td;&GZ=j$59!9FMr@$*U+Pz$Uc z+S|uC6ogS<`64%lMtCQe>fB-ZB2_^;j2jbx*4e`I_!h!oevYa^h?$P23J&sL!sb* zE^%Nr9Lf`Jqi^`nTELTrxHo}-h0Dnii9`rd0fNDK$-&gr)a0P@a`N(LfEj1-A%O%W z=}aJA;+F({G~NT}gC+Q20>OI{k?xovf`&Mt>A$uRfc-5t5dV*v0E5YqkXShw1iH7S zUlT1X{`1s;fZwz61RM0f_5FVZxff zD_VJD2pGIK1`F2H``c>ZQ|EmGQ5Yg#=5HPg3%E%jo`4MWK%3}mhyzj}K0YY8vYMKL zypn-}nzEuU3}&FK3RTuO)K^o`)loB4Qc^Yi#jB6;2ns+45`OWb{>`iSN8Y_~2*3g> z>!Wc#!Dy5r4if&i!A`{zU>JXz%uS=mHPF zgC89TL_7`%?Uob!t3e?CJQIDLbEHqRx$CyJ=Y?B`Quk->*OhEyVY+?`B*$9#_Fdc9 z4ZA*>IrGh|mCN1;+W>?C)~P?;LV!gm>Oe0z<^z~RGD`O4W;P*P#;GVftlNUIx)d!j ztRdaA{{6e!>OHB2VN9b1Nc))N2^J8Q8ARK6g#pqgg2)I^uPBJl2O_ZlCjS?&*Q8}Q zbe28tq~?F{RXUdBRNmdzW^86=dpd*bnl2=(1NFH1B0^P_W`f|Z_V)Jf?qlq`F_A`xCgzU!A)*S2b+nF-4oH@t zpC7kCEMp6Hgr}vYk@Gd(lI&BElZNsn}~v9%rk^eG`B!M$R_vwFx|@zdPT_4SY^--g`| zG+8f)ZmW!jA55$`esX!B@*>9DTeZ6Yvdl<*FZEOPRrtJZ5bX!!QZz|hc;wEy7vgB5qN2cF4gb{wY@dtFZhx+R3C7W6)O`m}FSn2`1QdYA9hlg2sA z%LJcd#nk==3MJ~s*<0#|5)CQ`^j1lR1$|Zu%_|%SX1}BretemIDD1jr$zKpiEMp+AMC!T(SZ)_92*-O931@o`SWmHxWS8W3nV^bto7*(z_IR+s`84>BK8rI zkDHpA9nGQ#*KKZWlp1O61^@a9d6c#S8YMxj~dlTFOk%lnVDZDMQms-^G9eDNHO>j6IDpFl)V?M7-UO}Om?2bSnmhTnvi+@eH_3DlxeJAke&z}>``qYMI z7(?J|{RO$|xRjinoU7B2Ypz7{X57N&cF!xxn4UM#+vbJ^Dep@bARXVrr^==1D`}~z zWW*Y~ShAP6xh|=lql4z8OW8lhPpfTOD-5Qj@#-9Jj%S&j7gMleNG@YpsmzbS%a8eG zB+Ys?JgLEyywHtsO*)^xj)_Tp??D1FIGBvs&&u<2hkT`oqe@LpRWOX@?3=a>t(e|B9HysD^ZdzK} z(e#zPXRo6e;J5lWsX)$lv;F+l)3aB!DmHZ4Z=eF^{8t1PyT4^y7uW`-qNb)sILXjc z%4Ps^&C8rKTR=uxkc)L3dV`-cY-g)h{}ngQAjY&PKQecL?MRaw^s&Aul{xtP__%9B zs9o7Pc}NyDSck|P#rSgSP-0PS?d>j&RtfcxMSb|CSjOG>PJz;jiV2&I*;&~f(RDI{ zv;>}7>d~5fKD7MfM^zycAFYG6jezp9 z%Aln=4N?$(#tVsuyQ(AP0njlw8lCa8iesc*@!^m(A#w`4z9UUU5C^<)`?+-1h^Ekl4 z0!JXENRtB8YV9JMh=rEJ;%cA&!o7G@IPpfC7+hFVV%rEwO>1adVK5kN);XZW)qHbb z-}{3uc{w?Hb!1|)ru^+2Z;G$pBNM`}Hi45Y`YQE^l;`2=kBx6St*(cE-{{Da>pRu! zy8oE4umSFJgoj5#bu}I+m`O}DR!V7UX>qY3kCLO4)AaQ8;^wxuARWR1RK0+J0Qb`P z=C4)5b2h4IPAb0O>C=qOlz!lduFj8M-dcm*VWx5$`}mZ#qsE-$Xf)br7DUmxK#0F7^0HKHjr^TmaR;z`*5@ zqgLeB+DJp#I~NCDS}jsJ=V;dR#>Ub9eg!qP_%C|IVo9KgPEJ*$6 zk0iZG7YwEhkBl&8XI(B{H2O|KusdiPN)24zS@%*mNZ@klA{?;Hg|`%glUtbwCSRFG0GzwDsmM zvTe1swOw5nF~_KhV3f&K_O2;{cz3U>AoNH{#lweS;Py0td06&Q6PehI?k9e|#Sfg( zmu`uK6n_{eZC|3fo}@HboA|@CJG0jSJKD}njc!Cj1!~A-ZAqgO+QhPNtDDy}SEOWQ z$|#h5lvqaom8RN4DJiLXye1uLjN0dNx^FYi}QKfxxa4+j^=TDWy;?3`R(x3^bEVR8TtV~T4&af<=?UP3~m zxw&}|!AVWL26$y61ZdormX?vb+pAbnYNEhn1*gqa z!|rQOhUa)D@^pyU1IAsY{*{&m7pC7&U5pW|tt$;#rdt~rw8WpUWQ%T!ii#?gHUKr$ zfmxWM`uh6Pw$F^ywYGjRyBN)jncYZA%E-#{^71;qdlvgZpdsv`E(6HMV!Nvs8zUoT zK9*A`C!XIN(KzYo;E;XyZlUH*bfZa`+2zYxfsNX$gTBAydYj~dLIJ6> z=J|8gMJZ3Ed}1=5G15@?;)SIn@5-_YW+Y~YPWyJdEk)S0=zu~4xlVGBD_RwNd*5$R z4Pb3e7DgwBF;J@eygR$Q0RV)nb)i^E#?)l9iT+hI6T1z)vLkQ*4YV^ z|MvxXYg{2AA%N2%Sq~Z;^O_DVzLQ-4^wjVAD1khznG6I{QCVs91UN_3K*`LdG#f$Sl#1eKV!*pS%C*lasy}6@Mi$1i*l} zT9KwWhIxBONBDs`f8Y@)RL5qV9DrhIKhq!)YH?LATs~sr==okBK0k zy}6>qA8(;bM%aq* z#f{ES+AOcFsRCf&_5mI?0I&~bA+)rT3%1Azb^zA}2M0T3lCW5)s_OMNJtCi#e6z!g zM~`5$J3txKS?A#u8A^Zp>{;;cPQ+^w>e6e^>HvR#4%dX9$-Okpdz9XNTO0fX=qmg% z816et+Z!{L*{UF#LDaxZL(oj7wsZhV{a#+=M*QXzRyyC#iSe!+72u#1gbe|0)$z+) z0t%>nKKoYv6Az}Qr|&;}Sdaax>+3shbm7bq9?kGIEP)^xb&WBG4iDb~+N;T)yc!2t zX=nGtT-S>;m-iMMYPI>yId__9!=lhF#D0Ls)o zA%^v0`$HT1i~MW+KV9xG@~`m^uZ^>IxuGD1%e5~@BBe-spRh~}EcGjN-LC!*ijn`` literal 0 HcmV?d00001 diff --git a/cmd/skywire-visor/static/index.html b/cmd/skywire-visor/static/index.html index 0c591c5a49..cef3f3ce25 100644 --- a/cmd/skywire-visor/static/index.html +++ b/cmd/skywire-visor/static/index.html @@ -9,6 +9,6 @@
- + \ No newline at end of file diff --git a/cmd/skywire-visor/static/main.52840b491595f13d.js b/cmd/skywire-visor/static/main.52840b491595f13d.js new file mode 100644 index 0000000000..ae9a4ddbf6 --- /dev/null +++ b/cmd/skywire-visor/static/main.52840b491595f13d.js @@ -0,0 +1 @@ +(self.webpackChunkskywire_manager=self.webpackChunkskywire_manager||[]).push([[179],{1531:function(ve,be,H){"use strict";function O(n){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(n)}function M(n,i){for(;!Object.prototype.hasOwnProperty.call(n,i)&&null!==(n=O(n)););return n}function T(){return T="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(i,e,t){var a=M(i,e);if(a){var o=Object.getOwnPropertyDescriptor(a,e);return o.get?o.get.call(arguments.length<3?i:t):o.value}},T.apply(this,arguments)}function v(n,i){for(var e=0;en.length)&&(i=n.length);for(var e=0,t=new Array(i);e=n.length?{done:!0}:{done:!1,value:n[t++]}},e:function(f){throw f},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,o=!0,s=!1;return{s:function(){e=e.call(n)},n:function(){var f=e.next();return o=f.done,f},e:function(f){s=!0,l=f},f:function(){try{!o&&null!=e.return&&e.return()}finally{if(s)throw l}}}}function ne(n,i){return function G(n){if(Array.isArray(n))return n}(n)||function ie(n,i){var e=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=e){var s,l,t=[],a=!0,o=!1;try{for(e=e.call(n);!(a=(s=e.next()).done)&&(t.push(s.value),!i||t.length!==i);a=!0);}catch(u){o=!0,l=u}finally{try{!a&&null!=e.return&&e.return()}finally{if(o)throw l}}return t}}(n,i)||N(n,i)||function ce(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Z(n,i,e){return i in n?Object.defineProperty(n,i,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[i]=e,n}function ae(n){return function Q(n){if(Array.isArray(n))return F(n)}(n)||function ue(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(n)||N(n)||function te(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function le(n,i,e){return(le=L()?Reflect.construct:function(a,o,s){var l=[null];l.push.apply(l,o);var f=new(Function.bind.apply(a,l));return s&&_(f,s.prototype),f}).apply(null,arguments)}function De(n){var i="function"==typeof Map?new Map:void 0;return De=function(t){if(null===t||!function X(n){return-1!==Function.toString.call(n).indexOf("[native code]")}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==i){if(i.has(t))return i.get(t);i.set(t,a)}function a(){return le(t,arguments,O(this).constructor)}return a.prototype=Object.create(t.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),_(a,t)},De(n)}var xe=Array.isArray||function(n){return n&&"number"==typeof n.length};function Fe(n){return null!==n&&"object"==typeof n}function He(n){return"function"==typeof n}var n,Ke=function(){function n(i){return Error.call(this),this.message=i?"".concat(i.length," errors occurred during unsubscription:\n").concat(i.map(function(e,t){return"".concat(t+1,") ").concat(e.toString())}).join("\n ")):"",this.name="UnsubscriptionError",this.errors=i,this}return n.prototype=Object.create(Error.prototype),n}(),Xe=Ke,Ne=function(){function n(i){c(this,n),this.closed=!1,this._parentOrParents=null,this._subscriptions=null,i&&(this._unsubscribe=i)}return d(n,[{key:"unsubscribe",value:function(){var e;if(!this.closed){var t=this._parentOrParents,a=this._unsubscribe,o=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,t instanceof n)t.remove(this);else if(null!==t)for(var s=0;s4&&void 0!==arguments[4]?arguments[4]:new nt(n,e,t);if(!a.closed)return i instanceof fe?i.subscribe(a):Gt(i)(a)}var gn=function(n){h(e,n);var i=y(e);function e(){return c(this,e),i.apply(this,arguments)}return d(e,[{key:"notifyNext",value:function(a,o,s,l,u){this.destination.next(o)}},{key:"notifyError",value:function(a,o){this.destination.error(a)}},{key:"notifyComplete",value:function(a){this.destination.complete()}}]),e}(St);function $e(n,i){return function(t){if("function"!=typeof n)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return t.lift(new Dc(n,i))}}var Dc=function(){function n(i,e){c(this,n),this.project=i,this.thisArg=e}return d(n,[{key:"call",value:function(e,t){return t.subscribe(new Nl(e,this.project,this.thisArg))}}]),n}(),Nl=function(n){h(e,n);var i=y(e);function e(t,a,o){var s;return c(this,e),(s=i.call(this,t)).project=a,s.count=0,s.thisArg=o||x(s),s}return d(e,[{key:"_next",value:function(a){var o;try{o=this.project.call(this.thisArg,a,this.count++)}catch(s){return void this.destination.error(s)}this.destination.next(o)}}]),e}(St);function Tc(n,i){return new fe(function(e){var t=new Ne,a=0;return t.add(i.schedule(function(){a!==n.length?(e.next(n[a++]),e.closed||t.add(this.schedule())):e.complete()})),t})}function it(n,i){return i?function Lc(n,i){if(null!=n){if(function Bv(n){return n&&"function"==typeof n[re]}(n))return function Hv(n,i){return new fe(function(e){var t=new Ne;return t.add(i.schedule(function(){var a=n[re]();t.add(a.subscribe({next:function(s){t.add(i.schedule(function(){return e.next(s)}))},error:function(s){t.add(i.schedule(function(){return e.error(s)}))},complete:function(){t.add(i.schedule(function(){return e.complete()}))}}))})),t})}(n,i);if(kr(n))return function Yl(n,i){return new fe(function(e){var t=new Ne;return t.add(i.schedule(function(){return n.then(function(a){t.add(i.schedule(function(){e.next(a),t.add(i.schedule(function(){return e.complete()}))}))},function(a){t.add(i.schedule(function(){return e.error(a)}))})})),t})}(n,i);if(Vi(n))return Tc(n,i);if(function Vs(n){return n&&"function"==typeof n[zt]}(n)||"string"==typeof n)return function Hl(n,i){if(!n)throw new Error("Iterable cannot be null");return new fe(function(e){var a,t=new Ne;return t.add(function(){a&&"function"==typeof a.return&&a.return()}),t.add(i.schedule(function(){a=n[zt](),t.add(i.schedule(function(){if(!e.closed){var o,s;try{var l=a.next();o=l.value,s=l.done}catch(u){return void e.error(u)}s?e.complete():(e.next(o),this.schedule())}}))})),t})}(n,i)}throw new TypeError((null!==n&&typeof n||n)+" is not observable")}(n,i):n instanceof fe?n:new fe(Gt(n))}function Dn(n,i){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof i?function(t){return t.pipe(Dn(function(a,o){return it(n(a,o)).pipe($e(function(s,l){return i(a,s,o,l)}))},e))}:("number"==typeof i&&(e=i),function(t){return t.lift(new Vv(n,e))})}var Vv=function(){function n(i){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;c(this,n),this.project=i,this.concurrent=e}return d(n,[{key:"call",value:function(e,t){return t.subscribe(new Lo(e,this.project,this.concurrent))}}]),n}(),Lo=function(n){h(e,n);var i=y(e);function e(t,a){var o,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return c(this,e),(o=i.call(this,t)).project=a,o.concurrent=s,o.hasCompleted=!1,o.buffer=[],o.active=0,o.index=0,o}return d(e,[{key:"_next",value:function(a){this.active0?this._next(o.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),e}(gn);function js(n){return n}function _n(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return Dn(js,n)}function Eo(n,i){return i?Tc(n,i):new fe(mn(n))}function Ci(){for(var n=Number.POSITIVE_INFINITY,i=null,e=arguments.length,t=new Array(e),a=0;a1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof o&&(n=t.pop()),null===i&&1===t.length&&t[0]instanceof fe?t[0]:_n(n)(Eo(t,i))}function wi(){return function(i){return i.lift(new Fa(i))}}var Fa=function(){function n(i){c(this,n),this.connectable=i}return d(n,[{key:"call",value:function(e,t){var a=this.connectable;a._refCount++;var o=new _a(e,a),s=t.subscribe(o);return o.closed||(o.connection=a.connect()),s}}]),n}(),_a=function(n){h(e,n);var i=y(e);function e(t,a){var o;return c(this,e),(o=i.call(this,t)).connectable=a,o}return d(e,[{key:"_unsubscribe",value:function(){var a=this.connectable;if(a){this.connectable=null;var o=a._refCount;if(o<=0)this.connection=null;else if(a._refCount=o-1,o>1)this.connection=null;else{var s=this.connection,l=a._connection;this.connection=null,l&&(!s||l===s)&&l.unsubscribe()}}else this.connection=null}}]),e}(St),dr=function(n){h(e,n);var i=y(e);function e(t,a){var o;return c(this,e),(o=i.call(this)).source=t,o.subjectFactory=a,o._refCount=0,o._isComplete=!1,o}return d(e,[{key:"_subscribe",value:function(a){return this.getSubject().subscribe(a)}},{key:"getSubject",value:function(){var a=this._subject;return(!a||a.isStopped)&&(this._subject=this.subjectFactory()),this._subject}},{key:"connect",value:function(){var a=this._connection;return a||(this._isComplete=!1,(a=this._connection=new Ne).add(this.source.subscribe(new Ra(this.getSubject(),this))),a.closed&&(this._connection=null,a=Ne.EMPTY)),a}},{key:"refCount",value:function(){return wi()(this)}}]),e}(fe),ea=function(){var n=dr.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:n._subscribe},_isComplete:{value:n._isComplete,writable:!0},getSubject:{value:n.getSubject},connect:{value:n.connect},refCount:{value:n.refCount}}}(),Ra=function(n){h(e,n);var i=y(e);function e(t,a){var o;return c(this,e),(o=i.call(this,t)).connectable=a,o}return d(e,[{key:"_error",value:function(a){this._unsubscribe(),T(O(e.prototype),"_error",this).call(this,a)}},{key:"_complete",value:function(){this.connectable._isComplete=!0,this._unsubscribe(),T(O(e.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){var a=this.connectable;if(a){this.connectable=null;var o=a._connection;a._refCount=0,a._subject=null,a._connection=null,o&&o.unsubscribe()}}}]),e}(Ie),Us=function(){function n(i,e){c(this,n),this.subjectFactory=i,this.selector=e}return d(n,[{key:"call",value:function(e,t){var a=this.selector,o=this.subjectFactory(),s=a(o).subscribe(e);return s.add(t.subscribe(o)),s}}]),n}();function Bl(){return new Ae}function Vl(){return function(n){return wi()(function jv(n,i){return function(t){var a;if(a="function"==typeof n?n:function(){return n},"function"==typeof i)return t.lift(new Us(a,i));var o=Object.create(t,ea);return o.source=t,o.subjectFactory=a,o}}(Bl)(n))}}function Tn(n){for(var i in n)if(n[i]===Tn)return i;throw Error("Could not find renamed property on target object.")}function no(n,i){for(var e in i)i.hasOwnProperty(e)&&!n.hasOwnProperty(e)&&(n[e]=i[e])}function un(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(un).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return"".concat(n.overriddenName);if(n.name)return"".concat(n.name);var i=n.toString();if(null==i)return""+i;var e=i.indexOf("\n");return-1===e?i:i.substring(0,e)}function jl(n,i){return null==n||""===n?null===i?"":i:null==i||""===i?n:n+" "+i}var Uv=Tn({__forward_ref__:Tn});function yn(n){return n.__forward_ref__=yn,n.toString=function(){return un(this())},n}function Yt(n){return Jn(n)?n():n}function Jn(n){return"function"==typeof n&&n.hasOwnProperty(Uv)&&n.__forward_ref__===yn}var dt=function(n){h(e,n);var i=y(e);function e(t,a){var o;return c(this,e),(o=i.call(this,function Pc(n,i){var e="NG0".concat(Math.abs(n));return"".concat(e).concat(i?": "+i:"")}(t,a))).code=t,o}return d(e)}(De(Error));function Dt(n){return"string"==typeof n?n:null==n?"":String(n)}function qr(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():Dt(n)}function zs(n,i){var e=i?" in ".concat(i):"";throw new dt(-201,"No provider for ".concat(qr(n)," found").concat(e))}function Si(n,i){null==n&&function Rn(n,i,e,t){throw new Error("ASSERTION ERROR: ".concat(n)+(null==t?"":" [Expected=> ".concat(e," ").concat(t," ").concat(i," <=Actual]")))}(i,n,null,"!=")}function Ue(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function Pt(n){return{providers:n.providers||[],imports:n.imports||[]}}function xc(n){return Ff(n,Wl)||Ff(n,Yf)}function Ff(n,i){return n.hasOwnProperty(i)?n[i]:null}function Nf(n){return n&&(n.hasOwnProperty(Oc)||n.hasOwnProperty($v))?n[Oc]:null}var Ic,Wl=Tn({"\u0275prov":Tn}),Oc=Tn({"\u0275inj":Tn}),Yf=Tn({ngInjectableDef:Tn}),$v=Tn({ngInjectorDef:Tn}),Ct=function(){return(Ct=Ct||{})[Ct.Default=0]="Default",Ct[Ct.Host=1]="Host",Ct[Ct.Self=2]="Self",Ct[Ct.SkipSelf=4]="SkipSelf",Ct[Ct.Optional=8]="Optional",Ct}();function Zv(){return Ic}function ro(n){var i=Ic;return Ic=n,i}function Hf(n,i,e){var t=xc(n);return t&&"root"==t.providedIn?void 0===t.value?t.value=t.factory():t.value:e&Ct.Optional?null:void 0!==i?i:void zs(un(n),"Injector")}function io(n){return{toString:n}.toString()}var ta=function(){return(ta=ta||{})[ta.OnPush=0]="OnPush",ta[ta.Default=1]="Default",ta}(),na=function(){return function(n){n[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom"}(na||(na={})),na}(),jf="undefined"!=typeof globalThis&&globalThis,Uf="undefined"!=typeof window&&window,Qv="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Jv="undefined"!=typeof global&&global,wn=jf||Jv||Uf||Qv,jn={},dn=[],ao=Tn({"\u0275cmp":Tn}),Gl=Tn({"\u0275dir":Tn}),Ac=Tn({"\u0275pipe":Tn}),Gs=Tn({"\u0275mod":Tn}),hi=Tn({"\u0275fac":Tn}),Po=Tn({__NG_ELEMENT_ID__:Tn}),em=0;function qe(n){return io(function(){var e={},t={type:n.type,providersResolver:null,decls:n.decls,vars:n.vars,factory:null,template:n.template||null,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:n.exportAs||null,onPush:n.changeDetection===ta.OnPush,directiveDefs:null,pipeDefs:null,selectors:n.selectors||dn,viewQuery:n.viewQuery||null,features:n.features||null,data:n.data||{},encapsulation:n.encapsulation||na.Emulated,id:"c",styles:n.styles||dn,_:null,setInput:null,schemas:n.schemas||null,tView:null},a=n.directives,o=n.features,s=n.pipes;return t.id+=em++,t.inputs=Wf(n.inputs,e),t.outputs=Wf(n.outputs),o&&o.forEach(function(l){return l(t)}),t.directiveDefs=a?function(){return("function"==typeof a?a():a).map(ql)}:null,t.pipeDefs=s?function(){return("function"==typeof s?s():s).map(xo)}:null,t})}function Fc(n,i,e){var t=n.\u0275cmp;t.directiveDefs=function(){return i.map(ql)},t.pipeDefs=function(){return e.map(xo)}}function ql(n){return Mr(n)||function ya(n){return n[Gl]||null}(n)}function xo(n){return function Oo(n){return n[Ac]||null}(n)}var zf={};function Tt(n){return io(function(){var i={type:n.type,bootstrap:n.bootstrap||dn,declarations:n.declarations||dn,imports:n.imports||dn,exports:n.exports||dn,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null};return null!=n.id&&(zf[n.id]=n.type),i})}function Wf(n,i){if(null==n)return jn;var e={};for(var t in n)if(n.hasOwnProperty(t)){var a=n[t],o=a;Array.isArray(a)&&(o=a[1],a=a[0]),e[a]=t,i&&(i[a]=o)}return e}var et=qe;function Kr(n){return{type:n.type,name:n.name,factory:null,pure:!1!==n.pure,onDestroy:n.type.prototype.ngOnDestroy||null}}function Mr(n){return n[ao]||null}function Di(n,i){var e=n[Gs]||null;if(!e&&!0===i)throw new Error("Type ".concat(un(n)," does not have '\u0275mod' property."));return e}function ji(n){return Array.isArray(n)&&"object"==typeof n[1]}function Ui(n){return Array.isArray(n)&&!0===n[1]}function Hc(n){return 0!=(8&n.flags)}function ps(n){return 2==(2&n.flags)}function vs(n){return 1==(1&n.flags)}function Ei(n){return null!==n.template}function rm(n){return 0!=(512&n[2])}function Ro(n,i){return n.hasOwnProperty(hi)?n[hi]:null}var um=function(){function n(i,e,t){c(this,n),this.previousValue=i,this.currentValue=e,this.firstChange=t}return d(n,[{key:"isFirstChange",value:function(){return this.firstChange}}]),n}();function Nr(){return Gf}function Gf(n){return n.type.prototype.ngOnChanges&&(n.setInput=dm),cm}function cm(){var n=Kf(this),i=null==n?void 0:n.current;if(i){var e=n.previous;if(e===jn)n.previous=i;else for(var t in i)e[t]=i[t];n.current=null,this.ngOnChanges(i)}}function dm(n,i,e,t){var a=Kf(n)||function jc(n,i){return n[qf]=i}(n,{previous:jn,current:null}),o=a.current||(a.current={}),s=a.previous,l=this.declaredInputs[e],u=s[l];o[l]=new um(u&&u.currentValue,i,s===jn),n[t]=i}Nr.ngInherit=!0;var qf="__ngSimpleChanges__";function Kf(n){return n[qf]||null}var Jl=void 0;function Xn(n){return!!n.listen}var Zf={createRenderer:function(i,e){return function Xl(){return void 0!==Jl?Jl:"undefined"!=typeof document?document:void 0}()}};function fr(n){for(;Array.isArray(n);)n=n[0];return n}function eu(n,i){return fr(i[n])}function Wi(n,i){return fr(i[n.index])}function Gc(n,i){return n.data[i]}function gs(n,i){return n[i]}function Zr(n,i){var e=i[n];return ji(e)?e:e[0]}function Qf(n){return 4==(4&n[2])}function qc(n){return 128==(128&n[2])}function so(n,i){return null==i?null:n[i]}function Kc(n){n[18]=0}function $c(n,i){n[5]+=i;for(var e=n,t=n[3];null!==t&&(1===i&&1===e[5]||-1===i&&0===e[5]);)t[5]+=i,e=t,t=t[3]}var wt={lFrame:ah(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Ha(){return wt.bindingsEnabled}function je(){return wt.lFrame.lView}function en(){return wt.lFrame.tView}function ke(n){return wt.lFrame.contextLView=n,n[8]}function Cr(){for(var n=Jf();null!==n&&64===n.type;)n=n.parent;return n}function Jf(){return wt.lFrame.currentTNode}function Zt(n,i){var e=wt.lFrame;e.currentTNode=n,e.isParent=i}function ys(){return wt.lFrame.isParent}function tu(){wt.lFrame.isParent=!1}function nu(){return wt.isInCheckNoChangesMode}function ru(n){wt.isInCheckNoChangesMode=n}function ni(){var n=wt.lFrame,i=n.bindingRootIndex;return-1===i&&(i=n.bindingRootIndex=n.tView.bindingStartIndex),i}function Ba(){return wt.lFrame.bindingIndex}function bs(){return wt.lFrame.bindingIndex++}function Ma(n){var i=wt.lFrame,e=i.bindingIndex;return i.bindingIndex=i.bindingIndex+n,e}function th(n,i){var e=wt.lFrame;e.bindingIndex=e.bindingRootIndex=n,iu(i)}function iu(n){wt.lFrame.currentDirectiveIndex=n}function Ks(n){var i=wt.lFrame.currentDirectiveIndex;return-1===i?null:n[i]}function nh(){return wt.lFrame.currentQueryIndex}function Zc(n){wt.lFrame.currentQueryIndex=n}function lo(n){var i=n[1];return 2===i.type?i.declTNode:1===i.type?n[6]:null}function rh(n,i,e){if(e&Ct.SkipSelf){for(var t=i,a=n;!(null!==(t=t.parent)||e&Ct.Host||null===(t=lo(a))||(a=a[15],10&t.type)););if(null===t)return!1;i=t,n=a}var o=wt.lFrame=ih();return o.currentTNode=i,o.lView=n,!0}function au(n){var i=ih(),e=n[1];wt.lFrame=i,i.currentTNode=e.firstChild,i.lView=n,i.tView=e,i.contextLView=n,i.bindingIndex=e.bindingStartIndex,i.inI18n=!1}function ih(){var n=wt.lFrame,i=null===n?null:n.child;return null===i?ah(n):i}function ah(n){var i={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:n,child:null,inI18n:!1};return null!==n&&(n.child=i),i}function oh(){var n=wt.lFrame;return wt.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}var sh=oh;function ou(){var n=oh();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function Em(n){var i=wt.lFrame.contextLView=function Pm(n,i){for(;n>0;)i=i[15],n--;return i}(n,wt.lFrame.contextLView);return i[8]}function ri(){return wt.lFrame.selectedIndex}function vi(n){wt.lFrame.selectedIndex=n}function er(){var n=wt.lFrame;return Gc(n.tView,n.selectedIndex)}function No(){wt.lFrame.currentNamespace="svg"}function Qc(){!function Om(){wt.lFrame.currentNamespace=null}()}function su(n,i){for(var e=i.directiveStart,t=i.directiveEnd;e=t)break}else i[u]<0&&(n[18]+=65536),(l>11>16&&(3&n[2])===i){n[2]+=2048;try{o.call(l)}finally{}}}else try{o.call(l)}finally{}}var $s=d(function n(i,e,t){c(this,n),this.factory=i,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=t});function oe(n,i,e){for(var t=Xn(n),a=0;ai){s=o-1;break}}}for(;o>16}(n),t=i;e>0;)t=t[15],e--;return t}var ed=!0;function Qs(n){var i=ed;return ed=n,i}var CP=0;function td(n,i){var e=Ym(n,i);if(-1!==e)return e;var t=i[1];t.firstCreatePass&&(n.injectorIndex=i.length,Nm(t.data,n),Nm(i,null),Nm(t.blueprint,null));var a=uh(n,i),o=n.injectorIndex;if(ar(a))for(var s=Yr(a),l=Ca(a,i),u=l[1].data,f=0;f<8;f++)i[o+f]=l[s+f]|u[s+f];return i[o+8]=a,o}function Nm(n,i){n.push(0,0,0,0,0,0,0,0,i)}function Ym(n,i){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===i[n.injectorIndex+8]?-1:n.injectorIndex}function uh(n,i){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;for(var e=0,t=null,a=i;null!==a;){var o=a[1],s=o.type;if(null===(t=2===s?o.declTNode:1===s?a[6]:null))return-1;if(e++,a=a[15],-1!==t.injectorIndex)return t.injectorIndex|e<<16}return-1}function ch(n,i,e){!function wP(n,i,e){var t;"string"==typeof e?t=e.charCodeAt(0)||0:e.hasOwnProperty(Po)&&(t=e[Po]),null==t&&(t=e[Po]=CP++);var a=255&t;i.data[n+(a>>5)]|=1<3&&void 0!==arguments[3]?arguments[3]:Ct.Default,a=arguments.length>4?arguments[4]:void 0;if(null!==n){var o=LP(e);if("function"==typeof o){if(!rh(i,n,t))return t&Ct.Host?Hk(a,e,t):Bk(i,e,t,a);try{var s=o(t);if(null!=s||t&Ct.Optional)return s;zs(e)}finally{sh()}}else if("number"==typeof o){var l=null,u=Ym(n,i),f=-1,m=t&Ct.Host?i[16][6]:null;for((-1===u||t&Ct.SkipSelf)&&(-1!==(f=-1===u?uh(n,i):i[u+8])&&zk(t,!1)?(l=i[1],u=Yr(f),i=Ca(f,i)):u=-1);-1!==u;){var C=i[1];if(Uk(o,u,C.data)){var A=TP(u,i,e,l,t,m);if(A!==jk)return A}-1!==(f=i[u+8])&&zk(t,i[1].data[u+8]===m)&&Uk(o,u,i)?(l=C,u=Yr(f),i=Ca(f,i)):u=-1}}}return Bk(i,e,t,a)}var jk={};function DP(){return new uu(Cr(),je())}function TP(n,i,e,t,a,o){var s=i[1],l=s.data[n+8],m=dh(l,s,e,null==t?ps(l)&&ed:t!=s&&0!=(3&l.type),a&Ct.Host&&o===l);return null!==m?nd(i,s,m,l):jk}function dh(n,i,e,t,a){for(var o=n.providerIndexes,s=i.data,l=1048575&o,u=n.directiveStart,m=o>>20,A=a?l+m:n.directiveEnd,V=t?l:l+m;V=u&&J.type===e)return V}if(a){var me=s[u];if(me&&Ei(me)&&me.type===e)return u}return null}function nd(n,i,e,t){var a=n[e],o=i.data;if(function Xc(n){return n instanceof $s}(a)){var s=a;s.resolving&&function zv(n,i){var e=i?". Dependency path: ".concat(i.join(" > ")," > ").concat(n):"";throw new dt(-200,"Circular dependency in DI detected for ".concat(n).concat(e))}(qr(o[e]));var l=Qs(s.canSeeViewProviders);s.resolving=!0;var u=s.injectImpl?ro(s.injectImpl):null;rh(n,t,Ct.Default);try{a=n[e]=s.factory(void 0,o,n,t),i.firstCreatePass&&e>=t.directiveStart&&function Am(n,i,e){var t=i.type.prototype,o=t.ngOnInit,s=t.ngDoCheck;if(t.ngOnChanges){var l=Gf(i);(e.preOrderHooks||(e.preOrderHooks=[])).push(n,l),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,l)}o&&(e.preOrderHooks||(e.preOrderHooks=[])).push(0-n,o),s&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n,s),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,s))}(e,o[e],i)}finally{null!==u&&ro(u),Qs(l),s.resolving=!1,sh()}}return a}function LP(n){if("string"==typeof n)return n.charCodeAt(0)||0;var i=n.hasOwnProperty(Po)?n[Po]:void 0;return"number"==typeof i?i>=0?255&i:DP:i}function Uk(n,i,e){return!!(e[i+(n>>5)]&1<=n.length?n.push(e):n.splice(i,0,e)}function fh(n,i){return i>=n.length-1?n.pop():n.splice(i,1)[0]}function ad(n,i){for(var e=[],t=0;t=0?n[1|t]=e:function IP(n,i,e,t){var a=n.length;if(a==i)n.push(e,t);else if(1===a)n.push(t,n[0]),n[0]=e;else{for(a--,n.push(n[a-1],n[a]);a>i;)n[a]=n[a-2],a--;n[i]=e,n[i+1]=t}}(n,t=~t,i,e),t}function jm(n,i){var e=pu(n,i);if(e>=0)return n[1|e]}function pu(n,i){return function $k(n,i,e){for(var t=0,a=n.length>>e;a!==t;){var o=t+(a-t>>1),s=n[o<i?a=o:t=o+1}return~(a<1&&void 0!==arguments[1]?arguments[1]:Ct.Default;if(void 0===sd){var e="";throw new dt(203,e)}return null===sd?Hf(n,void 0,i):sd.get(n,i&Ct.Optional?null:void 0,i)}function Ee(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ct.Default;return(Zv()||zP)(Yt(n),i)}var ld=Ee;function Wm(n){for(var i=[],e=0;e3&&void 0!==arguments[3]?arguments[3]:null;n=n&&"\n"===n.charAt(0)&&"\u0275"==n.charAt(1)?n.substr(2):n;var a=un(i);if(Array.isArray(i))a=i.map(un).join(" -> ");else if("object"==typeof i){var o=[];for(var s in i)if(i.hasOwnProperty(s)){var l=i[s];o.push(s+":"+("string"==typeof l?JSON.stringify(l):un(l)))}a="{".concat(o.join(", "),"}")}return"".concat(e).concat(t?"("+t+")":"","[").concat(a,"]: ").concat(n.replace(VP,"\n "))}("\n"+n.message,a,e,t),n.ngTokenPath=a,n[ph]=null,n}var gh,vh=ud(hu("Inject",function(n){return{token:n}}),-1),Va=ud(hu("Optional"),8),vu=ud(hu("SkipSelf"),4);function gu(n){var i;return(null===(i=function qm(){if(void 0===gh&&(gh=null,wn.trustedTypes))try{gh=wn.trustedTypes.createPolicy("angular",{createHTML:function(i){return i},createScript:function(i){return i},createScriptURL:function(i){return i}})}catch(n){}return gh}())||void 0===i?void 0:i.createHTML(n))||n}var Js=function(){function n(i){c(this,n),this.changingThisBreaksApplicationSecurity=i}return d(n,[{key:"toString",value:function(){return"SafeValue must use [property]=binding: ".concat(this.changingThisBreaksApplicationSecurity)+" (see https://g.co/ng/security#xss)"}}]),n}(),ix=function(n){h(e,n);var i=y(e);function e(){return c(this,e),i.apply(this,arguments)}return d(e,[{key:"getTypeName",value:function(){return"HTML"}}]),e}(Js),ax=function(n){h(e,n);var i=y(e);function e(){return c(this,e),i.apply(this,arguments)}return d(e,[{key:"getTypeName",value:function(){return"Style"}}]),e}(Js),ox=function(n){h(e,n);var i=y(e);function e(){return c(this,e),i.apply(this,arguments)}return d(e,[{key:"getTypeName",value:function(){return"Script"}}]),e}(Js),sx=function(n){h(e,n);var i=y(e);function e(){return c(this,e),i.apply(this,arguments)}return d(e,[{key:"getTypeName",value:function(){return"URL"}}]),e}(Js),lx=function(n){h(e,n);var i=y(e);function e(){return c(this,e),i.apply(this,arguments)}return d(e,[{key:"getTypeName",value:function(){return"ResourceURL"}}]),e}(Js);function oa(n){return n instanceof Js?n.changingThisBreaksApplicationSecurity:n}function ho(n,i){var e=l1(n);if(null!=e&&e!==i){if("ResourceURL"===e&&"URL"===i)return!0;throw new Error("Required a safe ".concat(i,", got a ").concat(e," (see https://g.co/ng/security#xss)"))}return e===i}function l1(n){return n instanceof Js&&n.getTypeName()||null}var px=function(){function n(i){c(this,n),this.inertDocumentHelper=i}return d(n,[{key:"getInertBodyElement",value:function(e){e=""+e;try{var t=(new window.DOMParser).parseFromString(gu(e),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(e):(t.removeChild(t.firstChild),t)}catch(a){return null}}}]),n}(),vx=function(){function n(i){if(c(this,n),this.defaultDoc=i,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){var e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);var t=this.inertDocument.createElement("body");e.appendChild(t)}}return d(n,[{key:"getInertBodyElement",value:function(e){var t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=gu(e),t;var a=this.inertDocument.createElement("body");return a.innerHTML=gu(e),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(a),a}},{key:"stripCustomNsAttrs",value:function(e){for(var t=e.attributes,a=t.length-1;0"),!0}},{key:"endElement",value:function(e){var t=e.nodeName.toLowerCase();$m.hasOwnProperty(t)&&!d1.hasOwnProperty(t)&&(this.buf.push(""))}},{key:"chars",value:function(e){this.buf.push(v1(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}}]),n}(),Dx=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Tx=/([^\#-~ |!])/g;function v1(n){return n.replace(/&/g,"&").replace(Dx,function(i){return"&#"+(1024*(i.charCodeAt(0)-55296)+(i.charCodeAt(1)-56320)+65536)+";"}).replace(Tx,function(i){return"&#"+i.charCodeAt(0)+";"}).replace(//g,">")}function m1(n,i){var e=null;try{yh=yh||function u1(n){var i=new vx(n);return function mx(){try{return!!(new window.DOMParser).parseFromString(gu(""),"text/html")}catch(n){return!1}}()?new px(i):i}(n);var t=i?String(i):"";e=yh.getInertBodyElement(t);var a=5,o=t;do{if(0===a)throw new Error("Failed to sanitize html because the input is unstable");a--,t=o,o=e.innerHTML,e=yh.getInertBodyElement(t)}while(t!==o);return gu((new Sx).sanitizeChildren(Jm(e)||e))}finally{if(e)for(var u=Jm(e)||e;u.firstChild;)u.removeChild(u.firstChild)}}function Jm(n){return"content"in n&&function Lx(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var bn=function(){return(bn=bn||{})[bn.NONE=0]="NONE",bn[bn.HTML=1]="HTML",bn[bn.STYLE=2]="STYLE",bn[bn.SCRIPT=3]="SCRIPT",bn[bn.URL=4]="URL",bn[bn.RESOURCE_URL=5]="RESOURCE_URL",bn}();function vo(n){var i=function hd(){var n=je();return n&&n[12]}();return i?i.sanitize(bn.URL,n)||"":ho(n,"URL")?oa(n):dd(Dt(n))}var y1="__ngContext__";function mi(n,i){n[y1]=i}function eg(n){var i=function pd(n){return n[y1]||null}(n);return i?Array.isArray(i)?i:i.lView:null}function ng(n){return n.ngOriginalError}function Wx(n){for(var i=arguments.length,e=new Array(i>1?i-1:0),t=1;t0&&(n[e-1][4]=t[4]);var o=fh(n,10+i);!function oO(n,i){md(n,i,i[11],2,null,null),i[0]=null,i[6]=null}(t[1],t);var s=o[19];null!==s&&s.detachView(o[1]),t[3]=null,t[4]=null,t[2]&=-129}return t}}function O1(n,i){if(!(256&i[2])){var e=i[11];Xn(e)&&e.destroyNode&&md(n,i,e,3,null,null),function uO(n){var i=n[13];if(!i)return cg(n[1],n);for(;i;){var e=null;if(ji(i))e=i[13];else{var t=i[10];t&&(e=t)}if(!e){for(;i&&!i[4]&&i!==n;)ji(i)&&cg(i[1],i),i=i[3];null===i&&(i=n),ji(i)&&cg(i[1],i),e=i&&i[4]}i=e}}(i)}}function cg(n,i){if(!(256&i[2])){i[2]&=-129,i[2]|=256,function hO(n,i){var e;if(null!=n&&null!=(e=n.destroyHooks))for(var t=0;t=0?t[a=f]():t[a=-f].unsubscribe(),o+=2}else{var m=t[a=e[o+1]];e[o].call(m)}if(null!==t){for(var C=a+1;Co?"":a[C+1].toLowerCase();var V=8&t?A:null;if(V&&-1!==W1(V,f,0)||2&t&&f!==A){if(ja(t))return!1;s=!0}}}}else{if(!s&&!ja(t)&&!ja(u))return!1;if(s&&ja(u))continue;s=!1,t=u|1&t}}return ja(t)||s}function ja(n){return 0==(1&n)}function MO(n,i,e,t){if(null===i)return-1;var a=0;if(t||!e){for(var o=!1;a-1)for(e++;e2&&void 0!==arguments[2]&&arguments[2],t=0;t0?'="'+l+'"':"")+"]"}else 8&t?a+="."+s:4&t&&(a+=" "+s);else""!==a&&!ja(s)&&(i+=$1(o,a),a=""),t=s,o=o||!ja(t);e++}return""!==a&&(i+=$1(o,a)),i}var Rt={};function p(n){Z1(en(),je(),ri()+n,nu())}function Z1(n,i,e,t){if(!t)if(3==(3&i[2])){var o=n.preOrderCheckHooks;null!==o&&ia(i,o,e)}else{var s=n.preOrderHooks;null!==s&&Pi(i,s,0,e)}vi(e)}function Ch(n,i){return n<<17|i<<2}function Ua(n){return n>>17&32767}function vg(n){return 2|n}function Ho(n){return(131068&n)>>2}function mg(n,i){return-131069&n|i<<2}function gg(n){return 1|n}function l0(n,i){var e=n.contentQueries;if(null!==e)for(var t=0;t20&&Z1(n,i,20,nu()),e(t,a)}finally{vi(o)}}function c0(n,i,e){if(Hc(i))for(var a=i.directiveEnd,o=i.directiveStart;o2&&void 0!==arguments[2]?arguments[2]:Wi,t=i.localNames;if(null!==t)for(var a=i.index+1,o=0;o0;){var e=n[--i];if("number"==typeof e&&e<0)return e}return 0})(l)!=u&&l.push(u),l.push(t,a,s)}}function _0(n,i){null!==n.hostBindings&&n.hostBindings(1,i)}function y0(n,i){i.flags|=2,(n.components||(n.components=[])).push(i.index)}function nI(n,i,e){if(e){if(i.exportAs)for(var t=0;t0&&xg(e)}}function xg(n){for(var i=ag(n);null!==i;i=og(i))for(var e=10;e0&&xg(t)}var s=n[1].components;if(null!==s)for(var l=0;l0&&xg(u)}}function uI(n,i){var e=Zr(i,n),t=e[1];(function cI(n,i){for(var e=i.length;e1&&void 0!==arguments[1]?arguments[1]:od;if(t===od){var a=new Error("NullInjectorError: No provider for ".concat(un(e),"!"));throw a.name="NullInjectorError",a}return t}}]),n}(),Ng=new Ze("Set Injector scope."),yd={},gI={},Yg=void 0;function P0(){return void 0===Yg&&(Yg=new E0),Yg}function x0(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,t=arguments.length>3?arguments[3]:void 0,a=O0(n,i,e,t);return a._resolveInjectorDefTypes(),a}function O0(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,t=arguments.length>3?arguments[3]:void 0;return new _I(n,e,i||P0(),t)}var _I=function(){function n(i,e,t){var a=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;c(this,n),this.parent=t,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var s=[];e&&fo(e,function(u){return a.processProvider(u,i,e)}),fo([i],function(u){return a.processInjectorType(u,[],s)}),this.records.set(Rg,Cu(void 0,this));var l=this.records.get(Ng);this.scope=null!=l?l.value:null,this.source=o||("object"==typeof i?null:un(i))}return d(n,[{key:"destroyed",get:function(){return this._destroyed}},{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]:od,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ct.Default;this.assertNotDestroyed();var o=Jk(this),s=ro(void 0);try{if(!(a&Ct.SkipSelf)){var l=this.records.get(e);if(void 0===l){var u=DI(e)&&xc(e);l=u&&this.injectableDefInScope(u)?Cu(Hg(e),yd):null,this.records.set(e,l)}if(null!=l)return this.hydrate(e,l)}var f=a&Ct.Self?P0():this.parent;return f.get(e,t=a&Ct.Optional&&t===od?null:t)}catch(C){if("NullInjectorError"===C.name){var m=C[ph]=C[ph]||[];if(m.unshift(un(e)),o)throw C;return GP(C,e,"R3InjectorError",this.source)}throw C}finally{ro(s),Jk(o)}}},{key:"_resolveInjectorDefTypes",value:function(){var e=this;this.injectorDefTypes.forEach(function(t){return e.get(t)})}},{key:"toString",value:function(){var e=[];return this.records.forEach(function(a,o){return e.push(un(o))}),"R3Injector[".concat(e.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new dt(205,!1)}},{key:"processInjectorType",value:function(e,t,a){var o=this;if(!(e=Yt(e)))return!1;var s=Nf(e),l=null==s&&e.ngModule||void 0,u=void 0===l?e:l,C=-1!==a.indexOf(u);if(void 0!==l&&(s=Nf(l)),null==s)return!1;if(null!=s.imports&&!C){var A;a.push(u);try{fo(s.imports,function(pe){o.processInjectorType(pe,t,a)&&(void 0===A&&(A=[]),A.push(pe))})}finally{}if(void 0!==A)for(var V=function(Re){var Ye=A[Re],Ge=Ye.ngModule,rt=Ye.providers;fo(rt,function(mt){return o.processProvider(mt,Ge,rt||dn)})},J=0;J0)throw ad(i,"?"),new dt(204,!1);var t=function Rf(n){var i=n&&(n[Wl]||n[Yf]);if(i){var e=function Kv(n){if(n.hasOwnProperty("name"))return n.name;var i=(""+n).match(/^function\s*([^\s(]+)/);return null===i?"":i[1]}(n);return console.warn('DEPRECATED: DI is instantiating a token "'.concat(e,'" that inherits its @Injectable decorator but does not provide one itself.\n')+'This will become an error in a future version of Angular. Please add @Injectable() to the "'.concat(e,'" class.')),i}return null}(n);return null!==t?function(){return t.factory(n)}:function(){return new n}}(n);throw new dt(204,!1)}function I0(n,i,e){var t=void 0;if(wu(n)){var a=Yt(n);return Ro(a)||Hg(a)}if(A0(n))t=function(){return Yt(n.useValue)};else if(function MI(n){return!(!n||!n.useFactory)}(n))t=function(){return n.useFactory.apply(n,ae(Wm(n.deps||[])))};else if(function kI(n){return!(!n||!n.useExisting)}(n))t=function(){return Ee(Yt(n.useExisting))};else{var o=Yt(n&&(n.useClass||n.provide));if(!function wI(n){return!!n.deps}(n))return Ro(o)||Hg(o);t=function(){return le(o,ae(Wm(n.deps)))}}return t}function Cu(n,i){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:n,value:i,multi:e?[]:void 0}}function A0(n){return null!==n&&"object"==typeof n&&UP in n}function wu(n){return"function"==typeof n}function DI(n){return"function"==typeof n||"object"==typeof n&&n instanceof Ze}var zn=function(){var n=function(){function i(){c(this,i)}return d(i,null,[{key:"create",value:function(t,a){var o;if(Array.isArray(t))return x0({name:""},a,t,"");var s=null!==(o=t.name)&&void 0!==o?o:"";return x0({name:s},t.parent,t.providers,s)}}]),i}();return n.THROW_IF_NOT_FOUND=od,n.NULL=new E0,n.\u0275prov=Ue({token:n,providedIn:"any",factory:function(){return Ee(Rg)}}),n.__NG_ELEMENT_ID__=-1,n}();function NI(n,i){su(eg(n)[1],Cr())}function vt(n){for(var i=function j0(n){return Object.getPrototypeOf(n.prototype).constructor}(n.type),e=!0,t=[n];i;){var a=void 0;if(Ei(n))a=i.\u0275cmp||i.\u0275dir;else{if(i.\u0275cmp)throw new dt(903,"");a=i.\u0275dir}if(a){if(e){t.push(a);var s=n;s.inputs=Vg(n.inputs),s.declaredInputs=Vg(n.declaredInputs),s.outputs=Vg(n.outputs);var l=a.hostBindings;l&&VI(n,l);var u=a.viewQuery,f=a.contentQueries;if(u&&HI(n,u),f&&BI(n,f),no(n.inputs,a.inputs),no(n.declaredInputs,a.declaredInputs),no(n.outputs,a.outputs),Ei(a)&&a.data.animation){var m=n.data;m.animation=(m.animation||[]).concat(a.data.animation)}}var C=a.features;if(C)for(var A=0;A=0;t--){var a=n[t];a.hostVars=i+=a.hostVars,a.hostAttrs=Lt(a.hostAttrs,e=Lt(e,a.hostAttrs))}}(t)}function Vg(n){return n===jn?{}:n===dn?[]:n}function HI(n,i){var e=n.viewQuery;n.viewQuery=e?function(t,a){i(t,a),e(t,a)}:i}function BI(n,i){var e=n.contentQueries;n.contentQueries=e?function(t,a,o){i(t,a,o),e(t,a,o)}:i}function VI(n,i){var e=n.hostBindings;n.hostBindings=e?function(t,a){i(t,a),e(t,a)}:i}var Eh=null;function Su(){if(!Eh){var n=wn.Symbol;if(n&&n.iterator)Eh=n.iterator;else for(var i=Object.getOwnPropertyNames(Map.prototype),e=0;e1&&void 0!==arguments[1]?arguments[1]:Ct.Default,e=je();if(null===e)return Ee(n,i);var t=Cr();return Vk(t,e,Yt(n),i)}function Ru(){throw new Error("invalid")}function S(n,i,e){var t=je();return gi(t,bs(),i)&&la(en(),er(),t,n,i,t[11],e,!1),S}function Gg(n,i,e,t,a){var s=a?"class":"style";L0(n,e,i.inputs[s],s,t)}function E(n,i,e,t){var a=je(),o=en(),s=20+n,l=a[11],u=a[s]=lg(l,i,function Im(){return wt.lFrame.currentNamespace}()),f=o.firstCreatePass?function hA(n,i,e,t,a,o,s){var l=i.consts,f=bu(i,n,2,a,so(l,o));return Eg(i,e,f,so(l,s)),null!==f.attrs&&Lh(f,f.attrs,!1),null!==f.mergedAttrs&&Lh(f,f.mergedAttrs,!0),null!==i.queries&&i.queries.elementStart(i,f),f}(s,o,a,0,i,e,t):o.data[s];Zt(f,!0);var m=f.mergedAttrs;null!==m&&oe(l,u,m);var C=f.classes;null!==C&&pg(l,u,C);var A=f.styles;return null!==A&&z1(l,u,A),64!=(64&f.flags)&&kh(o,a,u,f),0===function km(){return wt.lFrame.elementDepthCount}()&&mi(u,a),function Mm(){wt.lFrame.elementDepthCount++}(),vs(f)&&(Tg(o,a,f),c0(o,f,a)),null!==t&&Lg(a,f),E}function P(){var n=Cr();ys()?tu():Zt(n=n.parent,!1);var i=n;!function Cm(){wt.lFrame.elementDepthCount--}();var e=en();return e.firstCreatePass&&(su(e,n),Hc(n)&&e.queries.elementEnd(n)),null!=i.classesWithoutHost&&function k(n){return 0!=(16&n.flags)}(i)&&Gg(e,i,je(),i.classesWithoutHost,!0),null!=i.stylesWithoutHost&&function I(n){return 0!=(32&n.flags)}(i)&&Gg(e,i,je(),i.stylesWithoutHost,!1),P}function Te(n,i,e,t){return E(n,i,e,t),P(),Te}function ze(n,i,e){var t=je(),a=en(),o=n+20,s=a.firstCreatePass?function pA(n,i,e,t,a){var o=i.consts,s=so(o,t),l=bu(i,n,8,"ng-container",s);return null!==s&&Lh(l,s,!0),Eg(i,e,l,so(o,a)),null!==i.queries&&i.queries.elementStart(i,l),l}(o,a,t,i,e):a.data[o];Zt(s,!0);var l=t[o]=t[11].createComment("");return kh(a,t,l,s),mi(l,t),vs(s)&&(Tg(a,t,s),c0(a,s,t)),null!=e&&Lg(t,s),ze}function We(){var n=Cr(),i=en();return ys()?tu():Zt(n=n.parent,!1),i.firstCreatePass&&(su(i,n),Hc(n)&&i.queries.elementEnd(n)),We}function Ss(n,i,e){return ze(n,i,e),We(),Ss}function tt(){return je()}function Md(n){return!!n&&"function"==typeof n.then}function uM(n){return!!n&&"function"==typeof n.subscribe}var qg=uM;function Se(n,i,e,t){var a=je(),o=en(),s=Cr();return cM(o,a,a[11],s,n,i,!!e,t),Se}function xh(n,i){var e=Cr(),t=je(),a=en();return cM(a,t,D0(Ks(a.data),e,t),e,n,i,!1),xh}function cM(n,i,e,t,a,o,s,l){var u=vs(t),m=n.firstCreatePass&&S0(n),C=i[8],A=w0(i),V=!0;if(3&t.type||l){var J=Wi(t,i),me=l?l(J):J,Ce=A.length,Le=l?function(ss){return l(fr(ss[t.index]))}:t.index;if(Xn(e)){var pe=null;if(!l&&u&&(pe=function vA(n,i,e,t){var a=n.cleanup;if(null!=a)for(var o=0;ou?l[u]:null}"string"==typeof s&&(o+=2)}return null}(n,i,a,t.index)),null!==pe)(pe.__ngLastListenerFn__||pe).__ngNextListenerFn__=o,pe.__ngLastListenerFn__=o,V=!1;else{o=Kg(t,i,C,o,!1);var Ye=e.listen(me,a,o);A.push(o,Ye),m&&m.push(a,Le,Ce,Ce+1)}}else o=Kg(t,i,C,o,!0),me.addEventListener(a,o,s),A.push(o),m&&m.push(a,Le,Ce,s)}else o=Kg(t,i,C,o,!1);var rt,Ge=t.outputs;if(V&&null!==Ge&&(rt=Ge[a])){var mt=rt.length;if(mt)for(var sn=0;sn0&&void 0!==arguments[0]?arguments[0]:1;return Em(n)}function mA(n,i){for(var e=null,t=function CO(n){var i=n.attrs;if(null!=i){var e=i.indexOf(5);if(0==(1&e))return i[e+1]}return null}(n),a=0;a1&&void 0!==arguments[1]?arguments[1]:0,e=arguments.length>2?arguments[2]:void 0,t=je(),a=en(),o=bu(a,20+n,16,null,e||null);null===o.projection&&(o.projection=i),tu(),64!=(64&o.flags)&&mO(a,t,o)}function Ln(n,i,e){return $g(n,"",i,"",e),Ln}function $g(n,i,e,t,a){var o=je(),s=Tu(o,i,e,t);return s!==Rt&&la(en(),er(),o,n,s,o[11],a,!1),$g}function bM(n,i,e,t,a){for(var o=n[e+1],s=null===i,l=t?Ua(o):Ho(o),u=!1;0!==l&&(!1===u||s);){var m=n[l+1];yA(n[l],i)&&(u=!0,n[l+1]=t?gg(m):vg(m)),l=t?Ua(m):Ho(m)}u&&(n[e+1]=t?vg(o):gg(o))}function yA(n,i){return null===n||null==i||(Array.isArray(n)?n[1]:n)===i||!(!Array.isArray(n)||"string"!=typeof i)&&pu(n,i)>=0}var Br={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function kM(n){return n.substring(Br.key,Br.keyEnd)}function bA(n){return n.substring(Br.value,Br.valueEnd)}function MM(n,i){var e=Br.textEnd;return e===i?-1:(i=Br.keyEnd=function CA(n,i,e){for(;i32;)i++;return i}(n,Br.key=i,e),Nu(n,i,e))}function CM(n,i){var e=Br.textEnd,t=Br.key=Nu(n,i,e);return e===t?-1:(t=Br.keyEnd=function wA(n,i,e){for(var t;i=65&&(-33&t)<=90||t>=48&&t<=57);)i++;return i}(n,t,e),t=SM(n,t,e),t=Br.value=Nu(n,t,e),t=Br.valueEnd=function SA(n,i,e){for(var t=-1,a=-1,o=-1,s=i,l=s;s32&&(l=s),o=a,a=t,t=-33&u}return l}(n,t,e),SM(n,t,e))}function wM(n){Br.key=0,Br.keyEnd=0,Br.value=0,Br.valueEnd=0,Br.textEnd=n.length}function Nu(n,i,e){for(;i=0;e=CM(i,e))EM(n,kM(i),bA(i))}function ua(n){Ga(aa,yo,n,!0)}function yo(n,i){for(var e=function kA(n){return wM(n),MM(n,Nu(n,0,Br.textEnd))}(i);e>=0;e=MM(i,e))aa(n,kM(i),!0)}function Wa(n,i,e,t){var a=je(),o=en(),s=Ma(2);o.firstUpdatePass&&LM(o,n,s,t),i!==Rt&&gi(a,s,i)&&PM(o,o.data[ri()],a,a[11],n,a[s+1]=function IA(n,i){return null==n||("string"==typeof i?n+=i:"object"==typeof n&&(n=un(oa(n)))),n}(i,e),t,s)}function Ga(n,i,e,t){var a=en(),o=Ma(2);a.firstUpdatePass&&LM(a,null,o,t);var s=je();if(e!==Rt&&gi(s,o,e)){var l=a.data[ri()];if(OM(l,t)&&!TM(a,o)){var f=t?l.classesWithoutHost:l.stylesWithoutHost;null!==f&&(e=jl(f,e||"")),Gg(a,l,s,e,t)}else!function OA(n,i,e,t,a,o,s,l){a===Rt&&(a=dn);for(var u=0,f=0,m=0=n.expandoStartIndex}function LM(n,i,e,t){var a=n.data;if(null===a[e+1]){var o=a[ri()],s=TM(n,e);OM(o,t)&&null===i&&!s&&(i=!1),i=function TA(n,i,e,t){var a=Ks(n),o=t?i.residualClasses:i.residualStyles;if(null===a)0===(t?i.classBindings:i.styleBindings)&&(e=Cd(e=Zg(null,n,i,e,t),i.attrs,t),o=null);else{var l=i.directiveStylingLast;if(-1===l||n[l]!==a)if(e=Zg(a,n,i,e,t),null===o){var f=function LA(n,i,e){var t=e?i.classBindings:i.styleBindings;if(0!==Ho(t))return n[Ua(t)]}(n,i,t);void 0!==f&&Array.isArray(f)&&function EA(n,i,e,t){n[Ua(e?i.classBindings:i.styleBindings)]=t}(n,i,t,f=Cd(f=Zg(null,n,i,f[1],t),i.attrs,t))}else o=function PA(n,i,e){for(var t=void 0,a=i.directiveEnd,o=1+i.directiveStylingLast;o0)&&(f=!0):m=e,a)if(0!==u){var V=Ua(n[l+1]);n[t+1]=Ch(V,l),0!==V&&(n[V+1]=mg(n[V+1],t)),n[l+1]=function PO(n,i){return 131071&n|i<<17}(n[l+1],t)}else n[t+1]=Ch(l,0),0!==l&&(n[l+1]=mg(n[l+1],t)),l=t;else n[t+1]=Ch(u,0),0===l?l=t:n[u+1]=mg(n[u+1],t),u=t;f&&(n[t+1]=vg(n[t+1])),bM(n,m,t,!0),bM(n,m,t,!1),function _A(n,i,e,t,a){var o=a?n.residualClasses:n.residualStyles;null!=o&&"string"==typeof i&&pu(o,i)>=0&&(e[t+1]=gg(e[t+1]))}(i,m,n,t,o),s=Ch(l,u),o?i.classBindings=s:i.styleBindings=s}(a,o,i,e,s,t)}}function Zg(n,i,e,t,a){var o=null,s=e.directiveEnd,l=e.directiveStylingLast;for(-1===l?l=e.directiveStart:l++;l0;){var u=n[a],f=Array.isArray(u),m=f?u[1]:u,C=null===m,A=e[a+1];A===Rt&&(A=C?dn:void 0);var V=C?jm(A,t):m===t?A:void 0;if(f&&!Oh(V)&&(V=jm(u,t)),Oh(V)&&(l=V,s))return l;var J=n[a+1];a=s?Ua(J):Ho(J)}if(null!==i){var me=o?i.residualClasses:i.residualStyles;null!=me&&(l=jm(me,t))}return l}function Oh(n){return void 0!==n}function OM(n,i){return 0!=(n.flags&(i?16:32))}function R(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",e=je(),t=en(),a=n+20,o=t.firstCreatePass?bu(t,a,1,i,null):t.data[a],s=e[a]=sg(e[11],i);kh(t,e,s,o),Zt(o,!1)}function ge(n){return ye("",n,""),ge}function ye(n,i,e){var t=je(),a=Tu(t,n,i,e);return a!==Rt&&Bo(t,ri(),a),ye}function xi(n,i,e,t,a){var o=je(),s=function Lu(n,i,e,t,a,o){var l=el(n,Ba(),e,a);return Ma(2),l?i+Dt(e)+t+Dt(a)+o:Rt}(o,n,i,e,t,a);return s!==Rt&&Bo(o,ri(),s),xi}function Qg(n,i,e,t,a,o,s){var l=je(),u=Eu(l,n,i,e,t,a,o,s);return u!==Rt&&Bo(l,ri(),u),Qg}function Jg(n,i,e,t,a,o,s,l,u){var f=je(),m=Pu(f,n,i,e,t,a,o,s,l,u);return m!==Rt&&Bo(f,ri(),m),Jg}function tl(n,i,e){var t=je();return gi(t,bs(),i)&&la(en(),er(),t,n,i,t[11],e,!0),tl}function Ih(n,i,e){var t=je();if(gi(t,bs(),i)){var o=en(),s=er();la(o,s,t,n,i,D0(Ks(o.data),s,t),e,!0)}return Ih}var nl=void 0,JA=["en",[["a","p"],["AM","PM"],nl],[["AM","PM"],nl,nl],[["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"]],nl,[["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"]],nl,[["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}",nl,"{1} 'at' {0}",nl],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function QA(n){var e=Math.floor(Math.abs(n)),t=n.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===t?1:5}],Yu={};function Oi(n){var i=function XA(n){return n.toLowerCase().replace(/_/g,"-")}(n),e=$M(i);if(e)return e;var t=i.split("-")[0];if(e=$M(t))return e;if("en"===t)return JA;throw new Error('Missing locale data for the locale "'.concat(n,'".'))}function $M(n){return n in Yu||(Yu[n]=wn.ng&&wn.ng.common&&wn.ng.common.locales&&wn.ng.common.locales[n]),Yu[n]}var st=function(){return(st=st||{})[st.LocaleId=0]="LocaleId",st[st.DayPeriodsFormat=1]="DayPeriodsFormat",st[st.DayPeriodsStandalone=2]="DayPeriodsStandalone",st[st.DaysFormat=3]="DaysFormat",st[st.DaysStandalone=4]="DaysStandalone",st[st.MonthsFormat=5]="MonthsFormat",st[st.MonthsStandalone=6]="MonthsStandalone",st[st.Eras=7]="Eras",st[st.FirstDayOfWeek=8]="FirstDayOfWeek",st[st.WeekendRange=9]="WeekendRange",st[st.DateFormat=10]="DateFormat",st[st.TimeFormat=11]="TimeFormat",st[st.DateTimeFormat=12]="DateTimeFormat",st[st.NumberSymbols=13]="NumberSymbols",st[st.NumberFormats=14]="NumberFormats",st[st.CurrencyCode=15]="CurrencyCode",st[st.CurrencySymbol=16]="CurrencySymbol",st[st.CurrencyName=17]="CurrencyName",st[st.Currencies=18]="Currencies",st[st.Directionality=19]="Directionality",st[st.PluralCase=20]="PluralCase",st[st.ExtraData=21]="ExtraData",st}(),Ah="en-US";function KF(n,i,e){var t=en();if(t.firstCreatePass){var a=Ei(n);t_(e,t.data,t.blueprint,a,!0),t_(i,t.data,t.blueprint,a,!1)}}function t_(n,i,e,t,a){if(n=Yt(n),Array.isArray(n))for(var o=0;o>20;if(wu(n)||!n.multi){var J=new $s(f,a,B),me=r_(u,i,a?C:C+V,A);-1===me?(ch(td(m,l),s,u),n_(s,n,i.length),i.push(u),m.directiveStart++,m.directiveEnd++,a&&(m.providerIndexes+=1048576),e.push(J),l.push(J)):(e[me]=J,l[me]=J)}else{var Ce=r_(u,i,C+V,A),Le=r_(u,i,C,C+V),Re=Le>=0&&e[Le];if(a&&!Re||!a&&!(Ce>=0&&e[Ce])){ch(td(m,l),s,u);var Ye=function QF(n,i,e,t,a){var o=new $s(n,e,B);return o.multi=[],o.index=i,o.componentProviders=0,bC(o,a,t&&!e),o}(a?ZF:$F,e.length,a,t,f);!a&&Re&&(e[Le].providerFactory=Ye),n_(s,n,i.length,0),i.push(u),m.directiveStart++,m.directiveEnd++,a&&(m.providerIndexes+=1048576),e.push(Ye),l.push(Ye)}else n_(s,n,Ce>-1?Ce:Le,bC(e[a?Le:Ce],f,!a&&t));!a&&t&&Re&&e[Le].componentProviders++}}}function n_(n,i,e,t){var a=wu(i),o=function CI(n){return!!n.useClass}(i);if(a||o){var u=(o?Yt(i.useClass):i).prototype.ngOnDestroy;if(u){var f=n.destroyHooks||(n.destroyHooks=[]);if(!a&&i.multi){var m=f.indexOf(e);-1===m?f.push(e,[t,u]):f[m+1].push(t,u)}else f.push(e,u)}}}function bC(n,i,e){return e&&n.componentProviders++,n.multi.push(i)-1}function r_(n,i,e,t){for(var a=e;a1&&void 0!==arguments[1]?arguments[1]:[];return function(e){e.providersResolver=function(t,a){return KF(t,a?a(n):n,i)}}}var JF=d(function n(){c(this,n)}),kC=d(function n(){c(this,n)}),eR=function(){function n(){c(this,n)}return d(n,[{key:"resolveComponentFactory",value:function(e){throw function XF(n){var i=Error("No component factory found for ".concat(un(n),". Did you add it to @NgModule.entryComponents?"));return i.ngComponent=n,i}(e)}}]),n}(),Ts=function(){var n=d(function i(){c(this,i)});return n.NULL=new eR,n}();function tR(){return Bu(Cr(),je())}function Bu(n,i){return new yt(Wi(n,i))}var yt=function(){var n=d(function i(e){c(this,i),this.nativeElement=e});return n.__NG_ELEMENT_ID__=tR,n}();function nR(n){return n instanceof yt?n.nativeElement:n}var Ld=d(function n(){c(this,n)}),bo=function(){var n=d(function i(){c(this,i)});return n.__NG_ELEMENT_ID__=function(){return function iR(){var n=je(),e=Zr(Cr().index,n);return function rR(n){return n[11]}(ji(e)?e:n)}()},n}(),aR=function(){var n=d(function i(){c(this,i)});return n.\u0275prov=Ue({token:n,providedIn:"root",factory:function(){return null}}),n}(),rl=d(function n(i){c(this,n),this.full=i,this.major=i.split(".")[0],this.minor=i.split(".")[1],this.patch=i.split(".").slice(2).join(".")}),oR=new rl("13.2.5"),a_={};function Hh(n,i,e,t){for(var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];null!==e;){var o=i[e.index];if(null!==o&&t.push(fr(o)),Ui(o))for(var s=10;s-1&&(ug(e,a),fh(t,a))}this._attachedToViewContainer=!1}O1(this._lView[1],this._lView)}},{key:"onDestroy",value:function(e){p0(this._lView[1],this._lView,null,e)}},{key:"markForCheck",value:function(){Og(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){Ag(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function fI(n,i,e){ru(!0);try{Ag(n,i,e)}finally{ru(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(){if(this._appRef)throw new dt(902,"");this._attachedToViewContainer=!0}},{key:"detachFromAppRef",value:function(){this._appRef=null,function lO(n,i){md(n,i,i[11],2,null,null)}(this._lView[1],this._lView)}},{key:"attachToAppRef",value:function(e){if(this._attachedToViewContainer)throw new dt(902,"");this._appRef=e}}]),n}(),sR=function(n){h(e,n);var i=y(e);function e(t){var a;return c(this,e),(a=i.call(this,t))._view=t,a}return d(e,[{key:"detectChanges",value:function(){C0(this._view)}},{key:"checkNoChanges",value:function(){!function hI(n){ru(!0);try{C0(n)}finally{ru(!1)}}(this._view)}},{key:"context",get:function(){return null}}]),e}(Ed),CC=function(n){h(e,n);var i=y(e);function e(t){var a;return c(this,e),(a=i.call(this)).ngModule=t,a}return d(e,[{key:"resolveComponentFactory",value:function(a){var o=Mr(a);return new o_(o,this.ngModule)}}]),e}(Ts);function wC(n){var i=[];for(var e in n)n.hasOwnProperty(e)&&i.push({propName:n[e],templateName:e});return i}var o_=function(n){h(e,n);var i=y(e);function e(t,a){var o;return c(this,e),(o=i.call(this)).componentDef=t,o.ngModule=a,o.componentType=t.type,o.selector=function LO(n){return n.map(TO).join(",")}(t.selectors),o.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],o.isBoundToModule=!!a,o}return d(e,[{key:"inputs",get:function(){return wC(this.componentDef.inputs)}},{key:"outputs",get:function(){return wC(this.componentDef.outputs)}},{key:"create",value:function(a,o,s,l){var pe,Re,u=(l=l||this.ngModule)?function uR(n,i){return{get:function(t,a,o){var s=n.get(t,a_,o);return s!==a_||a===a_?s:i.get(t,a,o)}}}(a,l.injector):a,f=u.get(Ld,Zf),m=u.get(aR,null),C=f.createRenderer(null,this.componentDef),A=this.componentDef.selectors[0][0]||"div",V=s?function h0(n,i,e){if(Xn(n))return n.selectRootElement(i,e===na.ShadowDom);var a="string"==typeof i?n.querySelector(i):i;return a.textContent="",a}(C,s,this.componentDef.encapsulation):lg(f.createRenderer(null,this.componentDef),A,function lR(n){var i=n.toLowerCase();return"svg"===i?"svg":"math"===i?"math":null}(A)),J=this.componentDef.onPush?576:528,me=function V0(n,i){return{components:[],scheduler:n||tO,clean:pI,playerHandler:i||null,flags:0}}(),Ce=Dh(0,null,null,1,0,null,null,null,null,null),Le=gd(null,Ce,me,J,null,null,f,C,m,u);au(Le);try{var Ye=function H0(n,i,e,t,a,o){var s=e[1];e[20]=n;var u=bu(s,20,2,"#host",null),f=u.mergedAttrs=i.hostAttrs;null!==f&&(Lh(u,f,!0),null!==n&&(oe(a,n,f),null!==u.classes&&pg(a,n,u.classes),null!==u.styles&&z1(a,n,u.styles)));var m=t.createRenderer(n,i),C=gd(e,d0(i),null,i.onPush?64:16,e[20],u,t,m,o||null,null);return s.firstCreatePass&&(ch(td(u,e),s,i.type),y0(s,u),b0(u,e.length,1)),Th(e,C),e[20]=C}(V,this.componentDef,Le,f,C);if(V)if(s)oe(C,V,["ng-version",oR.full]);else{var Ge=function EO(n){for(var i=[],e=[],t=1,a=2;t0&&pg(C,V,mt.join(" "))}if(Re=Gc(Ce,20),void 0!==o)for(var sn=Re.projection=[],cr=0;cr1&&void 0!==arguments[1]?arguments[1]:zn.THROW_IF_NOT_FOUND,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ct.Default;return a===zn||a===Vo||a===Rg?this:this._r3Injector.get(a,o,s)}},{key:"destroy",value:function(){var a=this._r3Injector;!a.destroyed&&a.destroy(),this.destroyCbs.forEach(function(o){return o()}),this.destroyCbs=null}},{key:"onDestroy",value:function(a){this.destroyCbs.push(a)}}]),e}(Vo),s_=function(n){h(e,n);var i=y(e);function e(t){var a;return c(this,e),(a=i.call(this)).moduleType=t,null!==Di(t)&&function hR(n){var i=new Set;!function e(t){var a=Di(t,!0),o=a.id;null!==o&&(function DC(n,i,e){if(i&&i!==e)throw new Error("Duplicate module registered for ".concat(n," - ").concat(un(i)," vs ").concat(un(i.name)))}(o,Vu.get(o),t),Vu.set(o,t));var f,u=W(mo(a.imports));try{for(u.s();!(f=u.n()).done;){var m=f.value;i.has(m)||(i.add(m),e(m))}}catch(C){u.e(C)}finally{u.f()}}(n)}(t),a}return d(e,[{key:"create",value:function(a){return new LC(this.moduleType,a)}}]),e}(SC);function Nn(n,i,e){var t=ni()+n,a=je();return a[t]===Rt?_o(a,t,e?i.call(e):i()):function kd(n,i){return n[i]}(a,t)}function Qe(n,i,e,t){return EC(je(),ni(),n,i,e,t)}function En(n,i,e,t,a){return PC(je(),ni(),n,i,e,t,a)}function Pd(n,i){var e=n[i];return e===Rt?void 0:e}function EC(n,i,e,t,a,o){var s=i+e;return gi(n,s,a)?_o(n,s+1,o?t.call(o,a):t(a)):Pd(n,s+1)}function PC(n,i,e,t,a,o,s){var l=i+e;return el(n,l,a,o)?_o(n,l+2,s?t.call(s,a,o):t(a,o)):Pd(n,l+2)}function Y(n,i){var t,e=en(),a=n+20;e.firstCreatePass?(t=function kR(n,i){if(i)for(var e=i.length-1;e>=0;e--){var t=i[e];if(n===t.name)return t}}(i,e.pipeRegistry),e.data[a]=t,t.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(a,t.onDestroy)):t=e.data[a];var o=t.factory||(t.factory=Ro(t.type)),s=ro(B);try{var l=Qs(!1),u=o();return Qs(l),function $I(n,i,e,t){e>=n.data.length&&(n.data[e]=null,n.blueprint[e]=null),i[e]=t}(e,je(),a,u),u}finally{ro(s)}}function U(n,i,e){var t=n+20,a=je(),o=gs(a,t);return xd(a,t)?EC(a,ni(),i,o.transform,e,o):o.transform(e)}function xt(n,i,e,t){var a=n+20,o=je(),s=gs(o,a);return xd(o,a)?PC(o,ni(),i,s.transform,e,t,s):s.transform(e,t)}function xd(n,i){return n[1].data[i].pure}var SR=function(n){h(e,n);var i=y(e);function e(){var t,a=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return c(this,e),(t=i.call(this)).__isAsync=a,t}return d(e,[{key:"emit",value:function(a){T(O(e.prototype),"next",this).call(this,a)}},{key:"subscribe",value:function(a,o,s){var l,u,f,m=a,C=o||function(){return null},A=s;if(a&&"object"==typeof a){var V=a;m=null===(l=V.next)||void 0===l?void 0:l.bind(V),C=null===(u=V.error)||void 0===u?void 0:u.bind(V),A=null===(f=V.complete)||void 0===f?void 0:f.bind(V)}this.__isAsync&&(C=l_(C),m&&(m=l_(m)),A&&(A=l_(A)));var J=T(O(e.prototype),"subscribe",this).call(this,{next:m,error:C,complete:A});return a instanceof Ne&&a.add(J),J}}]),e}(Ae);function l_(n){return function(i){setTimeout(n,void 0,i)}}var pt=SR;function DR(){return this._results[Su()]()}var Od=function(){function n(){var i=arguments.length>0&&void 0!==arguments[0]&&arguments[0];c(this,n),this._emitDistinctChangesOnly=i,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;var e=Su(),t=n.prototype;t[e]||(t[e]=DR)}return d(n,[{key:"changes",get:function(){return this._changes||(this._changes=new pt)}},{key:"get",value:function(e){return this._results[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,t){var a=this;a.dirty=!1;var o=wa(e);(this._changesDetected=!function xP(n,i,e){if(n.length!==i.length)return!1;for(var t=0;t0;)this.remove(this.length-1)}},{key:"get",value:function(a){var o=FC(this._lContainer);return null!==o&&o[a]||null}},{key:"length",get:function(){return this._lContainer.length-10}},{key:"createEmbeddedView",value:function(a,o,s){var l=a.createEmbeddedView(o||{});return this.insert(l,s),l}},{key:"createComponent",value:function(a,o,s,l,u){var m,f=a&&!function id(n){return"function"==typeof n}(a);if(f)m=o;else{var C=o||{};m=C.index,s=C.injector,l=C.projectableNodes,u=C.ngModuleRef}var A=f?a:new o_(Mr(a)),V=s||this.parentInjector;if(!u&&null==A.ngModule){var me=(f?V:this.parentInjector).get(Vo,null);me&&(u=me)}var Ce=A.create(V,l,void 0,u);return this.insert(Ce.hostView,m),Ce}},{key:"insert",value:function(a,o){var s=a._lView,l=s[1];if(function ym(n){return Ui(n[3])}(s)){var u=this.indexOf(a);if(-1!==u)this.detach(u);else{var f=s[3],m=new AC(f,f[6],f[3]);m.detach(m.indexOf(a))}}var C=this._adjustIndex(o),A=this._lContainer;!function cO(n,i,e,t){var a=10+t,o=e.length;t>0&&(e[a-1][4]=i),t1&&void 0!==arguments[1]?arguments[1]:0;return null==a?this.length+o:a}}]),e}(ii);function FC(n){return n[8]}function u_(n){return n[8]||(n[8]=[])}function RC(n,i){var e,t=i[n.index];if(Ui(t))e=t;else{var a;if(8&n.type)a=fr(t);else{var o=i[11];a=o.createComment("");var s=Wi(n,i);Xs(o,bh(o,s),a,function vO(n,i){return Xn(n)?n.nextSibling(i):i.nextSibling}(o,s),!1)}i[n.index]=e=M0(t,i,a,n),Th(i,e)}return new AC(e,n,i)}var AR=function(){function n(i){c(this,n),this.queryList=i,this.matches=null}return d(n,[{key:"clone",value:function(){return new n(this.queryList)}},{key:"setDirty",value:function(){this.queryList.setDirty()}}]),n}(),FR=function(){function n(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];c(this,n),this.queries=i}return d(n,[{key:"createEmbeddedView",value:function(e){var t=e.queries;if(null!==t){for(var a=null!==e.contentQueries?e.contentQueries[0]:t.length,o=[],s=0;s2&&void 0!==arguments[2]?arguments[2]:null;c(this,n),this.predicate=i,this.flags=e,this.read=t}),RR=function(){function n(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];c(this,n),this.queries=i}return d(n,[{key:"elementStart",value:function(e,t){for(var a=0;a1&&void 0!==arguments[1]?arguments[1]:-1;c(this,n),this.metadata=i,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}return d(n,[{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(e,t){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,t),new n(this.metadata)):null}},{key:"isApplyingToNode",value:function(e){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){for(var t=this._declarationNodeIndex,a=e.parent;null!==a&&8&a.type&&a.index!==t;)a=a.parent;return t===(null!==a?a.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(e,t){var a=this.metadata.predicate;if(Array.isArray(a))for(var o=0;o0)t.push(s[l/2]);else{for(var f=o[l+1],m=i[-u],C=10;C0&&(l=setTimeout(function(){s._callbacks=s._callbacks.filter(function(u){return u.timeoutId!==l}),t(s._didWork,s.getPendingTasks())},a)),this._callbacks.push({doneCb:t,timeoutId:l,updateCb:o})}},{key:"whenStable",value:function(t,a,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,a,o),this._runCallbacksIfReady()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(t,a,o){return[]}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(bt))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),dw=function(){var n=function(){function i(){c(this,i),this._applications=new Map,C_.addToWindow(this)}return d(i,[{key:"registerApplication",value:function(t,a){this._applications.set(t,a)}},{key:"unregisterApplication",value:function(t){this._applications.delete(t)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(t){return this._applications.get(t)||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(t){var a=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return C_.findTestabilityInTree(this,t,a)}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),g3=function(){function n(){c(this,n)}return d(n,[{key:"addToWindow",value:function(e){}},{key:"findTestabilityInTree",value:function(e,t,a){return null}}]),n}(),C_=new g3;function y3(n,i,e){var t=new s_(e);return Promise.resolve(t)}var fw=new Ze("AllowMultipleToken"),hw=d(function n(i,e){c(this,n),this.name=i,this.token=e});function k3(n){if(qa&&!qa.destroyed&&!qa.injector.get(fw,!1))throw new dt(400,"");qa=n.get(mw);var e=n.get(aw,null);return e&&e.forEach(function(t){return t()}),qa}function pw(n,i){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],t="Platform: ".concat(i),a=new Ze(t);return function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],s=vw();if(!s||s.injector.get(fw,!1))if(n)n(e.concat(o).concat({provide:a,useValue:!0}));else{var l=e.concat(o).concat({provide:a,useValue:!0},{provide:Ng,useValue:"platform"});k3(zn.create({providers:l,name:t}))}return M3()}}function M3(n){var i=vw();if(!i)throw new dt(401,"");return i}function vw(){return qa&&!qa.destroyed?qa:null}var mw=function(){var n=function(){function i(e){c(this,i),this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return d(i,[{key:"bootstrapModuleFactory",value:function(t,a){var o=this,f=function C3(n,i){return"noop"===n?new m3:("zone.js"===n?void 0:n)||new bt({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==i?void 0:i.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==i?void 0:i.ngZoneRunCoalescing)})}(a?a.ngZone:void 0,{ngZoneEventCoalescing:a&&a.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:a&&a.ngZoneRunCoalescing||!1}),m=[{provide:bt,useValue:f}];return f.run(function(){var C=zn.create({providers:m,parent:o.injector,name:t.moduleType.name}),A=t.create(C),V=A.injector.get(Ms,null);if(!V)throw new dt(402,"");return f.runOutsideAngular(function(){var me=f.onError.subscribe({next:function(Le){V.handleError(Le)}});A.onDestroy(function(){w_(o._modules,A),me.unsubscribe()})}),function w3(n,i,e){try{var t=e();return Md(t)?t.catch(function(a){throw i.runOutsideAngular(function(){return n.handleError(a)}),a}):t}catch(a){throw i.runOutsideAngular(function(){return n.handleError(a)}),a}}(V,f,function(){var me=A.injector.get(g_);return me.runInitializers(),me.donePromise.then(function(){return function rF(n){Si(n,"Expected localeId to be defined"),"string"==typeof n&&n.toLowerCase().replace(/_/g,"-")}(A.injector.get(jo,Ah)||Ah),o._moduleDoBootstrap(A),A})})})}},{key:"bootstrapModule",value:function(t){var a=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],s=gw({},o);return y3(0,0,t).then(function(l){return a.bootstrapModuleFactory(l,s)})}},{key:"_moduleDoBootstrap",value:function(t){var a=t.injector.get(zh);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(function(s){return a.bootstrap(s)});else{if(!t.instance.ngDoBootstrap)throw new dt(403,"");t.instance.ngDoBootstrap(a)}this._modules.push(t)}},{key:"onDestroy",value:function(t){this._destroyListeners.push(t)}},{key:"injector",get:function(){return this._injector}},{key:"destroy",value:function(){if(this._destroyed)throw new dt(404,"");this._modules.slice().forEach(function(a){return a.destroy()}),this._destroyListeners.forEach(function(a){return a()}),this._destroyed=!0}},{key:"destroyed",get:function(){return this._destroyed}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(zn))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}();function gw(n,i){return Array.isArray(i)?i.reduce(gw,n):Object.assign(Object.assign({},n),i)}var zh=function(){var n=function(){function i(e,t,a,o,s){var l=this;c(this,i),this._zone=e,this._injector=t,this._exceptionHandler=a,this._componentFactoryResolver=o,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:function(){l._zone.run(function(){l.tick()})}});var u=new fe(function(m){l._stable=l._zone.isStable&&!l._zone.hasPendingMacrotasks&&!l._zone.hasPendingMicrotasks,l._zone.runOutsideAngular(function(){m.next(l._stable),m.complete()})}),f=new fe(function(m){var C;l._zone.runOutsideAngular(function(){C=l._zone.onStable.subscribe(function(){bt.assertNotInAngularZone(),y_(function(){!l._stable&&!l._zone.hasPendingMacrotasks&&!l._zone.hasPendingMicrotasks&&(l._stable=!0,m.next(!0))})})});var A=l._zone.onUnstable.subscribe(function(){bt.assertInAngularZone(),l._stable&&(l._stable=!1,l._zone.runOutsideAngular(function(){m.next(!1)}))});return function(){C.unsubscribe(),A.unsubscribe()}});this.isStable=Ci(u,f.pipe(Vl()))}return d(i,[{key:"bootstrap",value:function(t,a){var l,o=this;if(!this._initStatus.done)throw new dt(405,"");l=t instanceof kC?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(l.componentType);var u=function b3(n){return n.isBoundToModule}(l)?void 0:this._injector.get(Vo),m=l.create(zn.NULL,[],a||l.selector,u),C=m.location.nativeElement,A=m.injector.get(M_,null),V=A&&m.injector.get(dw);return A&&V&&V.registerApplication(C,A),m.onDestroy(function(){o.detachView(m.hostView),w_(o.components,m),V&&V.unregisterApplication(C)}),this._loadComponent(m),m}},{key:"tick",value:function(){var t=this;if(this._runningTick)throw new dt(101,"");try{this._runningTick=!0;var s,o=W(this._views);try{for(o.s();!(s=o.n()).done;)s.value.detectChanges()}catch(C){o.e(C)}finally{o.f()}}catch(C){this._zone.runOutsideAngular(function(){return t._exceptionHandler.handleError(C)})}finally{this._runningTick=!1}}},{key:"attachView",value:function(t){var a=t;this._views.push(a),a.attachToAppRef(this)}},{key:"detachView",value:function(t){var a=t;w_(this._views,a),a.detachFromAppRef()}},{key:"_loadComponent",value:function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(ow,[]).concat(this._bootstrapListeners).forEach(function(o){return o(t)})}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach(function(t){return t.destroy()}),this._onMicrotaskEmptySubscription.unsubscribe()}},{key:"viewCount",get:function(){return this._views.length}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(bt),Ee(zn),Ee(Ms),Ee(Ts),Ee(g_))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}();function w_(n,i){var e=n.indexOf(i);e>-1&&n.splice(e,1)}var Yn=function(){var n=d(function i(){c(this,i)});return n.__NG_ELEMENT_ID__=T3,n}();function T3(n){return function L3(n,i,e){if(ps(n)&&!e){var t=Zr(n.index,i);return new Ed(t,t)}return 47&n.type?new Ed(i[16],i):null}(Cr(),je(),16==(16&n))}var ww=function(){function n(){c(this,n)}return d(n,[{key:"supports",value:function(e){return bd(e)}},{key:"create",value:function(e){return new O3(e)}}]),n}(),x3=function(i,e){return e},O3=function(){function n(i){c(this,n),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=i||x3}return d(n,[{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,a=this._removalsHead,o=0,s=null;t||a;){var l=!a||t&&t.currentIndex0&&void 0!==arguments[0]?arguments[0]:0;this._history.go(o)}},{key:"getState",value:function(){return this._history.state}}]),t}(al);return n.\u0275fac=function(e){return new(e||n)(Ee(Ot))},n.\u0275prov=Ue({token:n,factory:function(){return function q3(){return new Pw(Ee(Ot))}()},providedIn:"platform"}),n}();function xw(){return!!window.history.pushState}function P_(n,i){if(0==n.length)return i;if(0==i.length)return n;var e=0;return n.endsWith("/")&&e++,i.startsWith("/")&&e++,2==e?n+i.substring(1):1==e?n+i:n+"/"+i}function Ow(n){var i=n.match(/#|\?|$/),e=i&&i.index||n.length;return n.slice(0,e-("/"===n[e-1]?1:0))+n.slice(e)}function Uo(n){return n&&"?"!==n[0]?"?"+n:n}var Uu=function(){var n=function(){function i(){c(this,i)}return d(i,[{key:"historyGo",value:function(t){throw new Error("Not implemented")}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ue({token:n,factory:function(){return function K3(n){var i=Ee(Ot).location;return new Iw(Ee(al),i&&i.origin||"")}()},providedIn:"root"}),n}(),x_=new Ze("appBaseHref"),Iw=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o){var s;if(c(this,t),(s=e.call(this))._platformLocation=a,s._removeListenerFns=[],null==o&&(o=s._platformLocation.getBaseHrefFromDOM()),null==o)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.");return s._baseHref=o,s}return d(t,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(o){this._removeListenerFns.push(this._platformLocation.onPopState(o),this._platformLocation.onHashChange(o))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"prepareExternalUrl",value:function(o){return P_(this._baseHref,o)}},{key:"path",value:function(){var o=arguments.length>0&&void 0!==arguments[0]&&arguments[0],s=this._platformLocation.pathname+Uo(this._platformLocation.search),l=this._platformLocation.hash;return l&&o?"".concat(s).concat(l):s}},{key:"pushState",value:function(o,s,l,u){var f=this.prepareExternalUrl(l+Uo(u));this._platformLocation.pushState(o,s,f)}},{key:"replaceState",value:function(o,s,l,u){var f=this.prepareExternalUrl(l+Uo(u));this._platformLocation.replaceState(o,s,f)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"historyGo",value:function(){var s,l,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(l=(s=this._platformLocation).historyGo)||void 0===l||l.call(s,o)}}]),t}(Uu);return n.\u0275fac=function(e){return new(e||n)(Ee(al),Ee(x_,8))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),$3=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o){var s;return c(this,t),(s=e.call(this))._platformLocation=a,s._baseHref="",s._removeListenerFns=[],null!=o&&(s._baseHref=o),s}return d(t,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(o){this._removeListenerFns.push(this._platformLocation.onPopState(o),this._platformLocation.onHashChange(o))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"path",value:function(){var s=this._platformLocation.hash;return null==s&&(s="#"),s.length>0?s.substring(1):s}},{key:"prepareExternalUrl",value:function(o){var s=P_(this._baseHref,o);return s.length>0?"#"+s:s}},{key:"pushState",value:function(o,s,l,u){var f=this.prepareExternalUrl(l+Uo(u));0==f.length&&(f=this._platformLocation.pathname),this._platformLocation.pushState(o,s,f)}},{key:"replaceState",value:function(o,s,l,u){var f=this.prepareExternalUrl(l+Uo(u));0==f.length&&(f=this._platformLocation.pathname),this._platformLocation.replaceState(o,s,f)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"historyGo",value:function(){var s,l,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(l=(s=this._platformLocation).historyGo)||void 0===l||l.call(s,o)}}]),t}(Uu);return n.\u0275fac=function(e){return new(e||n)(Ee(al),Ee(x_,8))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),zu=function(){var n=function(){function i(e,t){var a=this;c(this,i),this._subject=new pt,this._urlChangeListeners=[],this._platformStrategy=e;var o=this._platformStrategy.getBaseHref();this._platformLocation=t,this._baseHref=Ow(Aw(o)),this._platformStrategy.onPopState(function(s){a._subject.emit({url:a.path(!0),pop:!0,state:s.state,type:s.type})})}return d(i,[{key:"path",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.normalize(this._platformStrategy.path(t))}},{key:"getState",value:function(){return this._platformLocation.getState()}},{key:"isCurrentPathEqualTo",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize(t+Uo(a))}},{key:"normalize",value:function(t){return i.stripTrailingSlash(function Q3(n,i){return n&&i.startsWith(n)?i.substring(n.length):i}(this._baseHref,Aw(t)))}},{key:"prepareExternalUrl",value:function(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}},{key:"go",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.pushState(o,"",t,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Uo(a)),o)}},{key:"replaceState",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.replaceState(o,"",t,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Uo(a)),o)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{key:"historyGo",value:function(){var a,o,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(o=(a=this._platformStrategy).historyGo)||void 0===o||o.call(a,t)}},{key:"onUrlChange",value:function(t){var a=this;this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(function(o){a._notifyUrlChangeListeners(o.url,o.state)}))}},{key:"_notifyUrlChangeListeners",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",a=arguments.length>1?arguments[1]:void 0;this._urlChangeListeners.forEach(function(o){return o(t,a)})}},{key:"subscribe",value:function(t,a,o){return this._subject.subscribe({next:t,error:a,complete:o})}}]),i}();return n.normalizeQueryParams=Uo,n.joinWithSlash=P_,n.stripTrailingSlash=Ow,n.\u0275fac=function(e){return new(e||n)(Ee(Uu),Ee(al))},n.\u0275prov=Ue({token:n,factory:function(){return function Z3(){return new zu(Ee(Uu),Ee(al))}()},providedIn:"root"}),n}();function Aw(n){return n.replace(/\/index.html$/,"")}var wr=function(){return(wr=wr||{})[wr.Format=0]="Format",wr[wr.Standalone=1]="Standalone",wr}(),Jt=function(){return(Jt=Jt||{})[Jt.Narrow=0]="Narrow",Jt[Jt.Abbreviated=1]="Abbreviated",Jt[Jt.Wide=2]="Wide",Jt[Jt.Short=3]="Short",Jt}(),lr=function(){return(lr=lr||{})[lr.Short=0]="Short",lr[lr.Medium=1]="Medium",lr[lr.Long=2]="Long",lr[lr.Full=3]="Full",lr}(),_t=function(){return(_t=_t||{})[_t.Decimal=0]="Decimal",_t[_t.Group=1]="Group",_t[_t.List=2]="List",_t[_t.PercentSign=3]="PercentSign",_t[_t.PlusSign=4]="PlusSign",_t[_t.MinusSign=5]="MinusSign",_t[_t.Exponential=6]="Exponential",_t[_t.SuperscriptingExponent=7]="SuperscriptingExponent",_t[_t.PerMille=8]="PerMille",_t[_t.Infinity=9]="Infinity",_t[_t.NaN=10]="NaN",_t[_t.TimeSeparator=11]="TimeSeparator",_t[_t.CurrencyDecimal=12]="CurrencyDecimal",_t[_t.CurrencyGroup=13]="CurrencyGroup",_t}();function Gh(n,i){return La(Oi(n)[st.DateFormat],i)}function qh(n,i){return La(Oi(n)[st.TimeFormat],i)}function Kh(n,i){return La(Oi(n)[st.DateTimeFormat],i)}function Ta(n,i){var e=Oi(n),t=e[st.NumberSymbols][i];if(void 0===t){if(i===_t.CurrencyDecimal)return e[st.NumberSymbols][_t.Decimal];if(i===_t.CurrencyGroup)return e[st.NumberSymbols][_t.Group]}return t}function Rw(n){if(!n[st.ExtraData])throw new Error('Missing extra locale data for the locale "'.concat(n[st.LocaleId],'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.'))}function La(n,i){for(var e=i;e>-1;e--)if(void 0!==n[e])return n[e];throw new Error("Locale data API: locale data undefined")}function I_(n){var e=ne(n.split(":"),2);return{hours:+e[0],minutes:+e[1]}}var cN=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Yd={},dN=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,Vr=function(){return(Vr=Vr||{})[Vr.Short=0]="Short",Vr[Vr.ShortGMT=1]="ShortGMT",Vr[Vr.Long=2]="Long",Vr[Vr.Extended=3]="Extended",Vr}(),kt=function(){return(kt=kt||{})[kt.FullYear=0]="FullYear",kt[kt.Month=1]="Month",kt[kt.Date=2]="Date",kt[kt.Hours=3]="Hours",kt[kt.Minutes=4]="Minutes",kt[kt.Seconds=5]="Seconds",kt[kt.FractionalSeconds=6]="FractionalSeconds",kt[kt.Day=7]="Day",kt}(),Ut=function(){return(Ut=Ut||{})[Ut.DayPeriods=0]="DayPeriods",Ut[Ut.Days=1]="Days",Ut[Ut.Months=2]="Months",Ut[Ut.Eras=3]="Eras",Ut}();function Nw(n,i,e,t){var a=function bN(n){if(Bw(n))return n;if("number"==typeof n&&!isNaN(n))return new Date(n);if("string"==typeof n){if(n=n.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(n)){var e=ne(n.split("-").map(function(C){return+C}),3),a=e[1],s=e[2];return $h(e[0],(void 0===a?1:a)-1,void 0===s?1:s)}var f,u=parseFloat(n);if(!isNaN(n-u))return new Date(u);if(f=n.match(cN))return function kN(n){var i=new Date(0),e=0,t=0,a=n[8]?i.setUTCFullYear:i.setFullYear,o=n[8]?i.setUTCHours:i.setHours;n[9]&&(e=Number(n[9]+n[10]),t=Number(n[9]+n[11])),a.call(i,Number(n[1]),Number(n[2])-1,Number(n[3]));var s=Number(n[4]||0)-e,l=Number(n[5]||0)-t,u=Number(n[6]||0),f=Math.floor(1e3*parseFloat("0."+(n[7]||0)));return o.call(i,s,l,u,f),i}(f)}var m=new Date(n);if(!Bw(m))throw new Error('Unable to convert "'.concat(n,'" into a date'));return m}(n);i=zo(e,i)||i;for(var l,s=[];i;){if(!(l=dN.exec(i))){s.push(i);break}var u=(s=s.concat(l.slice(1))).pop();if(!u)break;i=u}var f=a.getTimezoneOffset();t&&(f=Hw(t,f),a=function yN(n,i,e){var t=e?-1:1,a=n.getTimezoneOffset();return function _N(n,i){return(n=new Date(n.getTime())).setMinutes(n.getMinutes()+i),n}(n,t*(Hw(i,a)-a))}(a,t,!0));var m="";return s.forEach(function(C){var A=function gN(n){if(F_[n])return F_[n];var i;switch(n){case"G":case"GG":case"GGG":i=Wn(Ut.Eras,Jt.Abbreviated);break;case"GGGG":i=Wn(Ut.Eras,Jt.Wide);break;case"GGGGG":i=Wn(Ut.Eras,Jt.Narrow);break;case"y":i=xr(kt.FullYear,1,0,!1,!0);break;case"yy":i=xr(kt.FullYear,2,0,!0,!0);break;case"yyy":i=xr(kt.FullYear,3,0,!1,!0);break;case"yyyy":i=xr(kt.FullYear,4,0,!1,!0);break;case"Y":i=Xh(1);break;case"YY":i=Xh(2,!0);break;case"YYY":i=Xh(3);break;case"YYYY":i=Xh(4);break;case"M":case"L":i=xr(kt.Month,1,1);break;case"MM":case"LL":i=xr(kt.Month,2,1);break;case"MMM":i=Wn(Ut.Months,Jt.Abbreviated);break;case"MMMM":i=Wn(Ut.Months,Jt.Wide);break;case"MMMMM":i=Wn(Ut.Months,Jt.Narrow);break;case"LLL":i=Wn(Ut.Months,Jt.Abbreviated,wr.Standalone);break;case"LLLL":i=Wn(Ut.Months,Jt.Wide,wr.Standalone);break;case"LLLLL":i=Wn(Ut.Months,Jt.Narrow,wr.Standalone);break;case"w":i=A_(1);break;case"ww":i=A_(2);break;case"W":i=A_(1,!0);break;case"d":i=xr(kt.Date,1);break;case"dd":i=xr(kt.Date,2);break;case"c":case"cc":i=xr(kt.Day,1);break;case"ccc":i=Wn(Ut.Days,Jt.Abbreviated,wr.Standalone);break;case"cccc":i=Wn(Ut.Days,Jt.Wide,wr.Standalone);break;case"ccccc":i=Wn(Ut.Days,Jt.Narrow,wr.Standalone);break;case"cccccc":i=Wn(Ut.Days,Jt.Short,wr.Standalone);break;case"E":case"EE":case"EEE":i=Wn(Ut.Days,Jt.Abbreviated);break;case"EEEE":i=Wn(Ut.Days,Jt.Wide);break;case"EEEEE":i=Wn(Ut.Days,Jt.Narrow);break;case"EEEEEE":i=Wn(Ut.Days,Jt.Short);break;case"a":case"aa":case"aaa":i=Wn(Ut.DayPeriods,Jt.Abbreviated);break;case"aaaa":i=Wn(Ut.DayPeriods,Jt.Wide);break;case"aaaaa":i=Wn(Ut.DayPeriods,Jt.Narrow);break;case"b":case"bb":case"bbb":i=Wn(Ut.DayPeriods,Jt.Abbreviated,wr.Standalone,!0);break;case"bbbb":i=Wn(Ut.DayPeriods,Jt.Wide,wr.Standalone,!0);break;case"bbbbb":i=Wn(Ut.DayPeriods,Jt.Narrow,wr.Standalone,!0);break;case"B":case"BB":case"BBB":i=Wn(Ut.DayPeriods,Jt.Abbreviated,wr.Format,!0);break;case"BBBB":i=Wn(Ut.DayPeriods,Jt.Wide,wr.Format,!0);break;case"BBBBB":i=Wn(Ut.DayPeriods,Jt.Narrow,wr.Format,!0);break;case"h":i=xr(kt.Hours,1,-12);break;case"hh":i=xr(kt.Hours,2,-12);break;case"H":i=xr(kt.Hours,1);break;case"HH":i=xr(kt.Hours,2);break;case"m":i=xr(kt.Minutes,1);break;case"mm":i=xr(kt.Minutes,2);break;case"s":i=xr(kt.Seconds,1);break;case"ss":i=xr(kt.Seconds,2);break;case"S":i=xr(kt.FractionalSeconds,1);break;case"SS":i=xr(kt.FractionalSeconds,2);break;case"SSS":i=xr(kt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":i=Qh(Vr.Short);break;case"ZZZZZ":i=Qh(Vr.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":i=Qh(Vr.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":i=Qh(Vr.Long);break;default:return null}return F_[n]=i,i}(C);m+=A?A(a,e,f):"''"===C?"'":C.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),m}function $h(n,i,e){var t=new Date(0);return t.setFullYear(n,i,e),t.setHours(0,0,0),t}function zo(n,i){var e=function J3(n){return Oi(n)[st.LocaleId]}(n);if(Yd[e]=Yd[e]||{},Yd[e][i])return Yd[e][i];var t="";switch(i){case"shortDate":t=Gh(n,lr.Short);break;case"mediumDate":t=Gh(n,lr.Medium);break;case"longDate":t=Gh(n,lr.Long);break;case"fullDate":t=Gh(n,lr.Full);break;case"shortTime":t=qh(n,lr.Short);break;case"mediumTime":t=qh(n,lr.Medium);break;case"longTime":t=qh(n,lr.Long);break;case"fullTime":t=qh(n,lr.Full);break;case"short":var a=zo(n,"shortTime"),o=zo(n,"shortDate");t=Zh(Kh(n,lr.Short),[a,o]);break;case"medium":var s=zo(n,"mediumTime"),l=zo(n,"mediumDate");t=Zh(Kh(n,lr.Medium),[s,l]);break;case"long":var u=zo(n,"longTime"),f=zo(n,"longDate");t=Zh(Kh(n,lr.Long),[u,f]);break;case"full":var m=zo(n,"fullTime"),C=zo(n,"fullDate");t=Zh(Kh(n,lr.Full),[m,C])}return t&&(Yd[e][i]=t),t}function Zh(n,i){return i&&(n=n.replace(/\{([^}]+)}/g,function(e,t){return null!=i&&t in i?i[t]:e})),n}function Ka(n,i){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"-",t=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0,o="";(n<0||a&&n<=0)&&(a?n=1-n:(n=-n,o=e));for(var s=String(n);s.length2&&void 0!==arguments[2]?arguments[2]:0,t=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return function(o,s){var l=hN(n,o);if((e>0||l>-e)&&(l+=e),n===kt.Hours)0===l&&-12===e&&(l=12);else if(n===kt.FractionalSeconds)return fN(l,i);var u=Ta(s,_t.MinusSign);return Ka(l,i,u,t,a)}}function hN(n,i){switch(n){case kt.FullYear:return i.getFullYear();case kt.Month:return i.getMonth();case kt.Date:return i.getDate();case kt.Hours:return i.getHours();case kt.Minutes:return i.getMinutes();case kt.Seconds:return i.getSeconds();case kt.FractionalSeconds:return i.getMilliseconds();case kt.Day:return i.getDay();default:throw new Error('Unknown DateType value "'.concat(n,'".'))}}function Wn(n,i){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:wr.Format,t=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return function(a,o){return pN(a,o,n,i,e,t)}}function pN(n,i,e,t,a,o){switch(e){case Ut.Months:return function tN(n,i,e){var t=Oi(n),o=La([t[st.MonthsFormat],t[st.MonthsStandalone]],i);return La(o,e)}(i,a,t)[n.getMonth()];case Ut.Days:return function eN(n,i,e){var t=Oi(n),o=La([t[st.DaysFormat],t[st.DaysStandalone]],i);return La(o,e)}(i,a,t)[n.getDay()];case Ut.DayPeriods:var s=n.getHours(),l=n.getMinutes();if(o){var u=function aN(n){var i=Oi(n);return Rw(i),(i[st.ExtraData][2]||[]).map(function(t){return"string"==typeof t?I_(t):[I_(t[0]),I_(t[1])]})}(i),f=function oN(n,i,e){var t=Oi(n);Rw(t);var o=La([t[st.ExtraData][0],t[st.ExtraData][1]],i)||[];return La(o,e)||[]}(i,a,t),m=u.findIndex(function(A){if(Array.isArray(A)){var V=ne(A,2),J=V[0],me=V[1],Ce=s>=J.hours&&l>=J.minutes,Le=s0?Math.floor(a/60):Math.ceil(a/60);switch(n){case Vr.Short:return(a>=0?"+":"")+Ka(s,2,o)+Ka(Math.abs(a%60),2,o);case Vr.ShortGMT:return"GMT"+(a>=0?"+":"")+Ka(s,1,o);case Vr.Long:return"GMT"+(a>=0?"+":"")+Ka(s,2,o)+":"+Ka(Math.abs(a%60),2,o);case Vr.Extended:return 0===t?"Z":(a>=0?"+":"")+Ka(s,2,o)+":"+Ka(Math.abs(a%60),2,o);default:throw new Error('Unknown zone width "'.concat(n,'"'))}}}function mN(n){var i=$h(n,0,1).getDay();return $h(n,0,1+(i<=4?4:11)-i)}function Yw(n){return $h(n.getFullYear(),n.getMonth(),n.getDate()+(4-n.getDay()))}function A_(n){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(e,t){var a;if(i){var o=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,s=e.getDate();a=1+Math.floor((s+o)/7)}else{var l=Yw(e),u=mN(l.getFullYear()),f=l.getTime()-u.getTime();a=1+Math.round(f/6048e5)}return Ka(a,n,Ta(t,_t.MinusSign))}}function Xh(n){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(e,t){return Ka(Yw(e).getFullYear(),n,Ta(t,_t.MinusSign),i)}}var F_={};function Hw(n,i){n=n.replace(/:/g,"");var e=Date.parse("Jan 01, 1970 00:00:00 "+n)/6e4;return isNaN(e)?i:e}function Bw(n){return n instanceof Date&&!isNaN(n.valueOf())}function zw(n,i){i=encodeURIComponent(i);var t,e=W(n.split(";"));try{for(e.s();!(t=e.n()).done;){var a=t.value,o=a.indexOf("="),l=ne(-1==o?[a,""]:[a.slice(0,o),a.slice(o+1)],2),f=l[1];if(l[0].trim()===i)return decodeURIComponent(f)}}catch(m){e.e(m)}finally{e.f()}return null}var mr=function(){var n=function(){function i(e,t,a,o){c(this,i),this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=a,this._renderer=o,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}return d(i,[{key:"klass",set:function(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}},{key:"ngClass",set:function(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(bd(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}},{key:"ngDoCheck",value:function(){if(this._iterableDiffer){var t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){var a=this._keyValueDiffer.diff(this._rawClass);a&&this._applyKeyValueChanges(a)}}},{key:"_applyKeyValueChanges",value:function(t){var a=this;t.forEachAddedItem(function(o){return a._toggleClass(o.key,o.currentValue)}),t.forEachChangedItem(function(o){return a._toggleClass(o.key,o.currentValue)}),t.forEachRemovedItem(function(o){o.previousValue&&a._toggleClass(o.key,!1)})}},{key:"_applyIterableChanges",value:function(t){var a=this;t.forEachAddedItem(function(o){if("string"!=typeof o.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got ".concat(un(o.item)));a._toggleClass(o.item,!0)}),t.forEachRemovedItem(function(o){return a._toggleClass(o.item,!1)})}},{key:"_applyClasses",value:function(t){var a=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(o){return a._toggleClass(o,!0)}):Object.keys(t).forEach(function(o){return a._toggleClass(o,!!t[o])}))}},{key:"_removeClasses",value:function(t){var a=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(o){return a._toggleClass(o,!1)}):Object.keys(t).forEach(function(o){return a._toggleClass(o,!1)}))}},{key:"_toggleClass",value:function(t,a){var o=this;(t=t.trim())&&t.split(/\s+/g).forEach(function(s){a?o._renderer.addClass(o._ngEl.nativeElement,s):o._renderer.removeClass(o._ngEl.nativeElement,s)})}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Rd),B(Nd),B(yt),B(bo))},n.\u0275dir=et({type:n,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),n}(),AN=function(){function n(i,e,t,a){c(this,n),this.$implicit=i,this.ngForOf=e,this.index=t,this.count=a}return d(n,[{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}}]),n}(),Or=function(){var n=function(){function i(e,t,a){c(this,i),this._viewContainer=e,this._template=t,this._differs=a,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return d(i,[{key:"ngForOf",set:function(t){this._ngForOf=t,this._ngForOfDirty=!0}},{key:"ngForTrackBy",get:function(){return this._trackByFn},set:function(t){this._trackByFn=t}},{key:"ngForTemplate",set:function(t){t&&(this._template=t)}},{key:"ngDoCheck",value:function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){var a=this._differ.diff(this._ngForOf);a&&this._applyChanges(a)}}},{key:"_applyChanges",value:function(t){var a=this,o=this._viewContainer;t.forEachOperation(function(m,C,A){if(null==m.previousIndex)o.createEmbeddedView(a._template,new AN(m.item,a._ngForOf,-1,-1),null===A?void 0:A);else if(null==A)o.remove(null===C?void 0:C);else if(null!==C){var V=o.get(C);o.move(V,A),Ww(V,m)}});for(var s=0,l=o.length;s1&&void 0!==arguments[1]?arguments[1]:"mediumDate",o=arguments.length>2?arguments[2]:void 0,s=arguments.length>3?arguments[3]:void 0;if(null==t||""===t||t!=t)return null;try{return Nw(t,a,s||this.locale,null!==(l=null!=o?o:this.defaultTimezone)&&void 0!==l?l:void 0)}catch(u){throw $a()}}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(jo,16),B(WN,24))},n.\u0275pipe=Kr({name:"date",type:n,pure:!0}),n}(),Mo=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({}),n}(),Xw="browser",s4=function(){var n=d(function i(){c(this,i)});return n.\u0275prov=Ue({token:n,providedIn:"root",factory:function(){return new l4(Ee(Ot),window)}}),n}(),l4=function(){function n(i,e){c(this,n),this.document=i,this.window=e,this.offset=function(){return[0,0]}}return d(n,[{key:"setOffset",value:function(e){this.offset=Array.isArray(e)?function(){return e}:e}},{key:"getScrollPosition",value:function(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}},{key:"scrollToPosition",value:function(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}},{key:"scrollToAnchor",value:function(e){if(this.supportsScrolling()){var t=function u4(n,i){var e=n.getElementById(i)||n.getElementsByName(i)[0];if(e)return e;if("function"==typeof n.createTreeWalker&&n.body&&(n.body.createShadowRoot||n.body.attachShadow))for(var t=n.createTreeWalker(n.body,NodeFilter.SHOW_ELEMENT),a=t.currentNode;a;){var o=a.shadowRoot;if(o){var s=o.getElementById(i)||o.querySelector('[name="'.concat(i,'"]'));if(s)return s}a=t.nextNode()}return null}(this.document,e);t&&(this.scrollToElement(t),t.focus())}}},{key:"setHistoryScrollRestoration",value:function(e){if(this.supportScrollRestoration()){var t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}},{key:"scrollToElement",value:function(e){var t=e.getBoundingClientRect(),a=t.left+this.window.pageXOffset,o=t.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(a-s[0],o-s[1])}},{key:"supportScrollRestoration",value:function(){try{if(!this.supportsScrolling())return!1;var e=eS(this.window.history)||eS(Object.getPrototypeOf(this.window.history));return!(!e||!e.writable&&!e.set)}catch(t){return!1}}},{key:"supportsScrolling",value:function(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(e){return!1}}}]),n}();function eS(n){return Object.getOwnPropertyDescriptor(n,"scrollRestoration")}var rp,z_=d(function n(){c(this,n)}),c4=function(n){h(e,n);var i=y(e);function e(){var t;return c(this,e),(t=i.apply(this,arguments)).supportsDOMEvents=!0,t}return d(e)}(z3),d4=function(n){h(e,n);var i=y(e);function e(){return c(this,e),i.apply(this,arguments)}return d(e,[{key:"onAndCancel",value:function(a,o,s){return a.addEventListener(o,s,!1),function(){a.removeEventListener(o,s,!1)}}},{key:"dispatchEvent",value:function(a,o){a.dispatchEvent(o)}},{key:"remove",value:function(a){a.parentNode&&a.parentNode.removeChild(a)}},{key:"createElement",value:function(a,o){return(o=o||this.getDefaultDocument()).createElement(a)}},{key:"createHtmlDocument",value:function(){return document.implementation.createHTMLDocument("fakeTitle")}},{key:"getDefaultDocument",value:function(){return document}},{key:"isElementNode",value:function(a){return a.nodeType===Node.ELEMENT_NODE}},{key:"isShadowRoot",value:function(a){return a instanceof DocumentFragment}},{key:"getGlobalEventTarget",value:function(a,o){return"window"===o?window:"document"===o?a:"body"===o?a.body:null}},{key:"getBaseHref",value:function(a){var o=function f4(){return(Bd=Bd||document.querySelector("base"))?Bd.getAttribute("href"):null}();return null==o?null:function h4(n){(rp=rp||document.createElement("a")).setAttribute("href",n);var i=rp.pathname;return"/"===i.charAt(0)?i:"/".concat(i)}(o)}},{key:"resetBaseElement",value:function(){Bd=null}},{key:"getUserAgent",value:function(){return window.navigator.userAgent}},{key:"getCookie",value:function(a){return zw(document.cookie,a)}}],[{key:"makeCurrent",value:function(){!function U3(n){Wh||(Wh=n)}(new e)}}]),e}(c4),Bd=null,tS=new Ze("TRANSITION_ID"),v4=[{provide:m_,useFactory:function p4(n,i,e){return function(){e.get(g_).donePromise.then(function(){for(var t=ko(),a=i.querySelectorAll('style[ng-transition="'.concat(n,'"]')),o=0;o1&&void 0!==arguments[1])||arguments[1],s=e.findTestabilityInTree(a,o);if(null==s)throw new Error("Could not find testability for element.");return s},wn.getAllAngularTestabilities=function(){return e.getAllTestabilities()},wn.getAllAngularRootElements=function(){return e.getAllRootElements()},wn.frameworkStabilizers||(wn.frameworkStabilizers=[]),wn.frameworkStabilizers.push(function(o){var s=wn.getAllAngularTestabilities(),l=s.length,u=!1,f=function(C){u=u||C,0==--l&&o(u)};s.forEach(function(m){m.whenStable(f)})})}},{key:"findTestabilityInTree",value:function(e,t,a){if(null==t)return null;var o=e.getTestability(t);return null!=o?o:a?ko().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}],[{key:"init",value:function(){!function _3(n){C_=n}(new n)}}]),n}(),g4=function(){var n=function(){function i(){c(this,i)}return d(i,[{key:"build",value:function(){return new XMLHttpRequest}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),ip=new Ze("EventManagerPlugins"),ap=function(){var n=function(){function i(e,t){var a=this;c(this,i),this._zone=t,this._eventNameToPlugin=new Map,e.forEach(function(o){return o.manager=a}),this._plugins=e.slice().reverse()}return d(i,[{key:"addEventListener",value:function(t,a,o){return this._findPluginFor(a).addEventListener(t,a,o)}},{key:"addGlobalEventListener",value:function(t,a,o){return this._findPluginFor(a).addGlobalEventListener(t,a,o)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(t){var a=this._eventNameToPlugin.get(t);if(a)return a;for(var o=this._plugins,s=0;s-1&&(s.splice(A,1),f+=C+".")}),f+=u,0!=s.length||0===u.length)return null;var m={};return m.domEventName=l,m.fullKey=f,m}},{key:"getEventFullKey",value:function(o){var s="",l=function P4(n){var i=n.key;if(null==i){if(null==(i=n.keyIdentifier))return"Unidentified";i.startsWith("U+")&&(i=String.fromCharCode(parseInt(i.substring(2),16)),3===n.location&&cS.hasOwnProperty(i)&&(i=cS[i]))}return T4[i]||i}(o);return" "===(l=l.toLowerCase())?l="space":"."===l&&(l="dot"),uS.forEach(function(u){u!=l&&(0,L4[u])(o)&&(s+=u+".")}),s+=l}},{key:"eventCallback",value:function(o,s,l){return function(u){t.getEventFullKey(u)===o&&l.runGuarded(function(){return s(u)})}}},{key:"_normalizeKey",value:function(o){return"esc"===o?"escape":o}}]),t}(nS);return n.\u0275fac=function(e){return new(e||n)(Ee(Ot))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),A4=[{provide:Fd,useValue:Xw},{provide:aw,useValue:function x4(){d4.makeCurrent(),m4.init()},multi:!0},{provide:Ot,useFactory:function I4(){return function $f(n){Jl=n}(document),document},deps:[]}],F4=pw(B3,"browser",A4),R4=[{provide:Ng,useValue:"root"},{provide:Ms,useFactory:function O4(){return new Ms},deps:[]},{provide:ip,useClass:S4,multi:!0,deps:[Ot,bt,Fd]},{provide:ip,useClass:E4,multi:!0,deps:[Ot]},{provide:sp,useClass:sp,deps:[ap,Vd,Ad]},{provide:Ld,useExisting:sp},{provide:rS,useExisting:Vd},{provide:Vd,useClass:Vd,deps:[Ot]},{provide:M_,useClass:M_,deps:[bt]},{provide:ap,useClass:ap,deps:[ip,bt]},{provide:z_,useClass:g4,deps:[]}],dS=function(){var n=function(){function i(e){if(c(this,i),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.")}return d(i,null,[{key:"withServerTransition",value:function(t){return{ngModule:i,providers:[{provide:Ad,useValue:t.appId},{provide:tS,useExisting:Ad},v4]}}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(n,12))},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({providers:R4,imports:[Mo,V3]}),n}();"undefined"!=typeof window&&window;var $_=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ue({token:n,factory:function(e){return e?new(e||n):Ee(pS)},providedIn:"root"}),n}(),pS=function(){var n=function(i){h(t,i);var e=y(t);function t(a){var o;return c(this,t),(o=e.call(this))._doc=a,o}return d(t,[{key:"sanitize",value:function(o,s){if(null==s)return null;switch(o){case bn.NONE:return s;case bn.HTML:return ho(s,"HTML")?oa(s):m1(this._doc,String(s)).toString();case bn.STYLE:return ho(s,"Style")?oa(s):s;case bn.SCRIPT:if(ho(s,"Script"))return oa(s);throw new Error("unsafe value used in a script context");case bn.URL:return l1(s),ho(s,"URL")?oa(s):dd(String(s));case bn.RESOURCE_URL:if(ho(s,"ResourceURL"))return oa(s);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext ".concat(o," (see https://g.co/ng/security#xss)"))}}},{key:"bypassSecurityTrustHtml",value:function(o){return function ux(n){return new ix(n)}(o)}},{key:"bypassSecurityTrustStyle",value:function(o){return function cx(n){return new ax(n)}(o)}},{key:"bypassSecurityTrustScript",value:function(o){return function dx(n){return new ox(n)}(o)}},{key:"bypassSecurityTrustUrl",value:function(o){return function fx(n){return new sx(n)}(o)}},{key:"bypassSecurityTrustResourceUrl",value:function(o){return function hx(n){return new lx(n)}(o)}}]),t}($_);return n.\u0275fac=function(e){return new(e||n)(Ee(Ot))},n.\u0275prov=Ue({token:n,factory:function(e){var t;return t=e?new e:function z4(n){return new pS(n.get(Ot))}(Ee(zn)),t},providedIn:"root"}),n}(),vS=d(function n(){c(this,n)}),W4=d(function n(){c(this,n)}),Wo="*";function Go(n,i){return{type:7,name:n,definitions:i,options:{}}}function Fi(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:i,timings:n}}function mS(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:2,steps:n,options:i}}function kn(n){return{type:6,styles:n,offset:null}}function Ri(n,i,e){return{type:0,name:n,styles:i,options:e}}function G4(n){return{type:5,steps:n}}function _i(n,i){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:1,expr:n,animation:i,options:e}}function q4(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return{type:9,options:n}}function K4(n,i){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:11,selector:n,animation:i,options:e}}function gS(n){Promise.resolve(null).then(n)}var jd=function(){function n(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;c(this,n),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=i+e}return d(n,[{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;gS(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(){this._started=!1}},{key:"setPosition",value:function(e){this._position=this.totalTime?e*this.totalTime:1}},{key:"getPosition",value:function(){return this.totalTime?this._position/this.totalTime:1}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(a){return a()}),t.length=0}}]),n}(),_S=function(){function n(i){var e=this;c(this,n),this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=i;var t=0,a=0,o=0,s=this.players.length;0==s?gS(function(){return e._onFinish()}):this.players.forEach(function(l){l.onDone(function(){++t==s&&e._onFinish()}),l.onDestroy(function(){++a==s&&e._onDestroy()}),l.onStart(function(){++o==s&&e._onStart()})}),this.totalTime=this.players.reduce(function(l,u){return Math.max(l,u.totalTime)},0)}return d(n,[{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(a){var o=a.totalTime?Math.min(1,t/a.totalTime):1;a.setPosition(o)})}},{key:"getPosition",value:function(){var e=this.players.reduce(function(t,a){return null===t||a.totalTime>t.totalTime?a:t},null);return null!=e?e.getPosition():0}},{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(a){return a()}),t.length=0}}]),n}(),nn=!1;function yS(n){return new dt(3e3,nn)}function m5(n){return new dt(3502,nn)}function _5(){return new dt(3300,nn)}function y5(n){return new dt(3504,nn)}function T5(){return"undefined"!=typeof window&&void 0!==window.document}function Q_(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Es(n){switch(n.length){case 0:return new jd;case 1:return n[0];default:return new _S(n)}}function bS(n,i,e,t){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},s=[],l=[],u=-1,f=null;if(t.forEach(function(m){var C=m.offset,A=C==u,V=A&&f||{};Object.keys(m).forEach(function(J){var me=J,Ce=m[J];if("offset"!==J)switch(me=i.normalizePropertyName(me,s),Ce){case"!":Ce=a[J];break;case Wo:Ce=o[J];break;default:Ce=i.normalizeStyleValue(J,me,Ce,s)}V[me]=Ce}),A||l.push(V),f=V,u=C}),s.length)throw m5();return l}function J_(n,i,e,t){switch(i){case"start":n.onStart(function(){return t(e&&X_(e,"start",n))});break;case"done":n.onDone(function(){return t(e&&X_(e,"done",n))});break;case"destroy":n.onDestroy(function(){return t(e&&X_(e,"destroy",n))})}}function X_(n,i,e){var t=e.totalTime,o=ey(n.element,n.triggerName,n.fromState,n.toState,i||n.phaseName,null==t?n.totalTime:t,!!e.disabled),s=n._data;return null!=s&&(o._data=s),o}function ey(n,i,e,t){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,s=arguments.length>6?arguments[6]:void 0;return{element:n,triggerName:i,fromState:e,toState:t,phaseName:a,totalTime:o,disabled:!!s}}function ca(n,i,e){var t;return n instanceof Map?(t=n.get(i))||n.set(i,t=e):(t=n[i])||(t=n[i]=e),t}function kS(n){var i=n.indexOf(":");return[n.substring(1,i),n.substr(i+1)]}var ty=function(i,e){return!1},MS=function(i,e,t){return[]},CS=null;function ny(n){var i=n.parentNode||n.host;return i===CS?null:i}(Q_()||"undefined"!=typeof Element)&&(T5()?(CS=function(){return document.documentElement}(),ty=function(i,e){for(;e;){if(e===i)return!0;e=ny(e)}return!1}):ty=function(i,e){return i.contains(e)},MS=function(i,e,t){if(t)return Array.from(i.querySelectorAll(e));var a=i.querySelector(e);return a?[a]:[]});var ol=null,wS=!1;function SS(n){ol||(ol=function P5(){return"undefined"!=typeof document?document.body:null}()||{},wS=!!ol.style&&"WebkitAppearance"in ol.style);var i=!0;return ol.style&&!function E5(n){return"ebkit"==n.substring(1,6)}(n)&&!(i=n in ol.style)&&wS&&(i="Webkit"+n.charAt(0).toUpperCase()+n.substr(1)in ol.style),i}var DS=ty,TS=MS,LS=function(){var n=function(){function i(){c(this,i)}return d(i,[{key:"validateStyleProperty",value:function(t){return SS(t)}},{key:"matchesElement",value:function(t,a){return!1}},{key:"containsElement",value:function(t,a){return DS(t,a)}},{key:"getParentElement",value:function(t){return ny(t)}},{key:"query",value:function(t,a,o){return TS(t,a,o)}},{key:"computeStyle",value:function(t,a,o){return o||""}},{key:"animate",value:function(t,a,o,s,l){return new jd(o,s)}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),ry=function(){var n=d(function i(){c(this,i)});return n.NOOP=new LS,n}(),PS="ng-enter",iy="ng-leave",up="ng-trigger",cp=".ng-trigger",xS="ng-animating",ay=".ng-animating";function sl(n){if("number"==typeof n)return n;var i=n.match(/^(-?[\.\d]+)(m?s)/);return!i||i.length<2?0:oy(parseFloat(i[1]),i[2])}function oy(n,i){return"s"===i?1e3*n:n}function dp(n,i,e){return n.hasOwnProperty("duration")?n:function I5(n,i,e){var a,o=0,s="";if("string"==typeof n){var l=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===l)return i.push(yS()),{duration:0,delay:0,easing:""};a=oy(parseFloat(l[1]),l[2]);var u=l[3];null!=u&&(o=oy(parseFloat(u),l[4]));var f=l[5];f&&(s=f)}else a=n;if(!e){var m=!1,C=i.length;a<0&&(i.push(function $4(){return new dt(3100,nn)}()),m=!0),o<0&&(i.push(function Z4(){return new dt(3101,nn)}()),m=!0),m&&i.splice(C,0,yS())}return{duration:a,delay:o,easing:s}}(n,i,e)}function Gu(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(n).forEach(function(e){i[e]=n[e]}),i}function Ps(n,i){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(i)for(var t in n)e[t]=n[t];else Gu(n,e);return e}function OS(n,i,e){return e?i+":"+e+";":""}function IS(n){for(var i="",e=0;e *";case":leave":return"* => void";case":increment":return function(e,t){return parseFloat(t)>parseFloat(e)};case":decrement":return function(e,t){return parseFloat(t) *"}}(n,e);if("function"==typeof t)return void i.push(t);n=t}var a=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==a||a.length<4)return e.push(function h5(n){return new dt(3015,nn)}()),i;var o=a[1],s=a[2],l=a[3];i.push(RS(o,l)),"<"==s[0]&&!("*"==o&&"*"==l)&&i.push(RS(l,o))}(t,e,i)}):e.push(n),e}var gp=new Set(["true","1"]),_p=new Set(["false","0"]);function RS(n,i){var e=gp.has(n)||_p.has(n),t=gp.has(i)||_p.has(i);return function(a,o){var s="*"==n||n==a,l="*"==i||i==o;return!s&&e&&"boolean"==typeof a&&(s=a?gp.has(n):_p.has(n)),!l&&t&&"boolean"==typeof o&&(l=o?gp.has(i):_p.has(i)),s&&l}}var z5=new RegExp("s*".concat(":self","s*,?"),"g");function YS(n,i,e,t){return new W5(n).build(i,e,t)}var W5=function(){function n(i){c(this,n),this._driver=i}return d(n,[{key:"build",value:function(e,t,a){var o=new K5(t);this._resetContextStyleTimingState(o);var s=da(this,Ud(e),o);return o.unsupportedCSSPropertiesFound.size&&ae(o.unsupportedCSSPropertiesFound.keys()),s}},{key:"_resetContextStyleTimingState",value:function(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}},{key:"visitTrigger",value:function(e,t){var a=this,o=t.queryCount=0,s=t.depCount=0,l=[],u=[];return"@"==e.name.charAt(0)&&t.errors.push(function t5(){return new dt(3006,nn)}()),e.definitions.forEach(function(f){if(a._resetContextStyleTimingState(t),0==f.type){var m=f,C=m.name;C.toString().split(/\s*,\s*/).forEach(function(V){m.name=V,l.push(a.visitState(m,t))}),m.name=C}else if(1==f.type){var A=a.visitTransition(f,t);o+=A.queryCount,s+=A.depCount,u.push(A)}else t.errors.push(function n5(){return new dt(3007,nn)}())}),{type:7,name:e.name,states:l,transitions:u,queryCount:o,depCount:s,options:null}}},{key:"visitState",value:function(e,t){var a=this.visitStyle(e.styles,t),o=e.options&&e.options.params||null;if(a.containsDynamicStyles){var s=new Set,l=o||{};a.styles.forEach(function(f){if(yp(f)){var m=f;Object.keys(m).forEach(function(C){AS(m[C]).forEach(function(A){l.hasOwnProperty(A)||s.add(A)})})}}),s.size&&(hp(s.values()),t.errors.push(function r5(n,i){return new dt(3008,nn)}()))}return{type:0,name:e.name,style:a,options:o?{params:o}:null}}},{key:"visitTransition",value:function(e,t){t.queryCount=0,t.depCount=0;var a=da(this,Ud(e.animation),t);return{type:1,matchers:V5(e.expr,t.errors),animation:a,queryCount:t.queryCount,depCount:t.depCount,options:ul(e.options)}}},{key:"visitSequence",value:function(e,t){var a=this;return{type:2,steps:e.steps.map(function(o){return da(a,o,t)}),options:ul(e.options)}}},{key:"visitGroup",value:function(e,t){var a=this,o=t.currentTime,s=0,l=e.steps.map(function(u){t.currentTime=o;var f=da(a,u,t);return s=Math.max(s,t.currentTime),f});return t.currentTime=s,{type:3,steps:l,options:ul(e.options)}}},{key:"visitAnimate",value:function(e,t){var a=function Z5(n,i){var e=null;if(n.hasOwnProperty("duration"))e=n;else if("number"==typeof n)return uy(dp(n,i).duration,0,"");var a=n,o=a.split(/\s+/).some(function(l){return"{"==l.charAt(0)&&"{"==l.charAt(1)});if(o){var s=uy(0,0,"");return s.dynamic=!0,s.strValue=a,s}return uy((e=e||dp(a,i)).duration,e.delay,e.easing)}(e.timings,t.errors);t.currentAnimateTimings=a;var o,s=e.styles?e.styles:kn({});if(5==s.type)o=this.visitKeyframes(s,t);else{var l=e.styles,u=!1;if(!l){u=!0;var f={};a.easing&&(f.easing=a.easing),l=kn(f)}t.currentTime+=a.duration+a.delay;var m=this.visitStyle(l,t);m.isEmptyStep=u,o=m}return t.currentAnimateTimings=null,{type:4,timings:a,style:o,options:null}}},{key:"visitStyle",value:function(e,t){var a=this._makeStyleAst(e,t);return this._validateStyleAst(a,t),a}},{key:"_makeStyleAst",value:function(e,t){var a=[];Array.isArray(e.styles)?e.styles.forEach(function(l){"string"==typeof l?l==Wo?a.push(l):t.errors.push(function a5(n){return new dt(3002,nn)}()):a.push(l)}):a.push(e.styles);var o=!1,s=null;return a.forEach(function(l){if(yp(l)){var u=l,f=u.easing;if(f&&(s=f,delete u.easing),!o)for(var m in u)if(u[m].toString().indexOf("{{")>=0){o=!0;break}}}),{type:6,styles:a,easing:s,offset:e.offset,containsDynamicStyles:o,options:null}}},{key:"_validateStyleAst",value:function(e,t){var a=this,o=t.currentAnimateTimings,s=t.currentTime,l=t.currentTime;o&&l>0&&(l-=o.duration+o.delay),e.styles.forEach(function(u){"string"!=typeof u&&Object.keys(u).forEach(function(f){if(!a._driver.validateStyleProperty(f))return delete u[f],void t.unsupportedCSSPropertiesFound.add(f);var m=t.collectedStyles[t.currentQuerySelector],C=m[f],A=!0;C&&(l!=s&&l>=C.startTime&&s<=C.endTime&&(t.errors.push(function o5(n,i,e,t,a){return new dt(3010,nn)}()),A=!1),l=C.startTime),A&&(m[f]={startTime:l,endTime:s}),t.options&&function A5(n,i,e){var t=i.params||{},a=AS(n);a.length&&a.forEach(function(o){t.hasOwnProperty(o)||e.push(function Q4(n){return new dt(3001,nn)}())})}(u[f],t.options,t.errors)})})}},{key:"visitKeyframes",value:function(e,t){var a=this,o={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function s5(){return new dt(3011,nn)}()),o;var l=0,u=[],f=!1,m=!1,C=0,A=e.steps.map(function(Re){var Ye=a._makeStyleAst(Re,t),Ge=null!=Ye.offset?Ye.offset:function $5(n){if("string"==typeof n)return null;var i=null;if(Array.isArray(n))n.forEach(function(t){if(yp(t)&&t.hasOwnProperty("offset")){var a=t;i=parseFloat(a.offset),delete a.offset}});else if(yp(n)&&n.hasOwnProperty("offset")){var e=n;i=parseFloat(e.offset),delete e.offset}return i}(Ye.styles),rt=0;return null!=Ge&&(l++,rt=Ye.offset=Ge),m=m||rt<0||rt>1,f=f||rt0&&l0?Ye==me?1:J*Ye:u[Ye],rt=Ge*pe;t.currentTime=Ce+Le.delay+rt,Le.duration=rt,a._validateStyleAst(Re,t),Re.offset=Ge,o.styles.push(Re)}),o}},{key:"visitReference",value:function(e,t){return{type:8,animation:da(this,Ud(e.animation),t),options:ul(e.options)}}},{key:"visitAnimateChild",value:function(e,t){return t.depCount++,{type:9,options:ul(e.options)}}},{key:"visitAnimateRef",value:function(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:ul(e.options)}}},{key:"visitQuery",value:function(e,t){var a=t.currentQuerySelector,o=e.options||{};t.queryCount++,t.currentQuery=e;var s=function G5(n){var i=!!n.split(/\s*,\s*/).find(function(e){return":self"==e});return i&&(n=n.replace(z5,"")),n=n.replace(/@\*/g,cp).replace(/@\w+/g,function(e){return cp+"-"+e.substr(1)}).replace(/:animating/g,ay),[n,i]}(e.selector),l=ne(s,2),u=l[0],f=l[1];t.currentQuerySelector=a.length?a+" "+u:u,ca(t.collectedStyles,t.currentQuerySelector,{});var m=da(this,Ud(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=a,{type:11,selector:u,limit:o.limit||0,optional:!!o.optional,includeSelf:f,animation:m,originalSelector:e.selector,options:ul(e.options)}}},{key:"visitStagger",value:function(e,t){t.currentQuery||t.errors.push(function d5(){return new dt(3013,nn)}());var a="full"===e.timings?{duration:0,delay:0,easing:"full"}:dp(e.timings,t.errors,!0);return{type:12,animation:da(this,Ud(e.animation),t),timings:a,options:null}}}]),n}(),K5=d(function n(i){c(this,n),this.errors=i,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,this.unsupportedCSSPropertiesFound=new Set});function yp(n){return!Array.isArray(n)&&"object"==typeof n}function ul(n){return n?(n=Gu(n)).params&&(n.params=function q5(n){return n?Gu(n):null}(n.params)):n={},n}function uy(n,i,e){return{duration:n,delay:i,easing:e}}function cy(n,i,e,t,a,o){var s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,l=arguments.length>7&&void 0!==arguments[7]&&arguments[7];return{type:1,element:n,keyframes:i,preStyleProps:e,postStyleProps:t,duration:a,delay:o,totalTime:a+o,easing:s,subTimeline:l}}var dy=function(){function n(){c(this,n),this._map=new Map}return d(n,[{key:"get",value:function(e){return this._map.get(e)||[]}},{key:"append",value:function(e,t){var a,o=this._map.get(e);o||this._map.set(e,o=[]),(a=o).push.apply(a,ae(t))}},{key:"has",value:function(e){return this._map.has(e)}},{key:"clear",value:function(){this._map.clear()}}]),n}(),X5=new RegExp(":enter","g"),tY=new RegExp(":leave","g");function BS(n,i,e,t,a){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},l=arguments.length>7?arguments[7]:void 0,u=arguments.length>8?arguments[8]:void 0,f=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];return(new nY).buildKeyframes(n,i,e,t,a,o,s,l,u,f)}var nY=function(){function n(){c(this,n)}return d(n,[{key:"buildKeyframes",value:function(e,t,a,o,s,l,u,f,m){var C=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];m=m||new dy;var A=new rY(e,t,m,o,s,C,[]);A.options=f,A.currentTimeline.setStyles([l],null,A.errors,f),da(this,a,A);var V=A.timelines.filter(function(Le){return Le.containsAnimation()});if(Object.keys(u).length){for(var J,me=V.length-1;me>=0;me--){var Ce=V[me];if(Ce.element===t){J=Ce;break}}J&&!J.allowOnlyTimelineStyles()&&J.setStyles([u],null,A.errors,f)}return V.length?V.map(function(Le){return Le.buildKeyframes()}):[cy(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 a=t.subInstructions.get(t.element);if(a){var o=t.createSubContext(e.options),s=t.currentTimeline.currentTime,l=this._visitSubInstructions(a,o,o.options);s!=l&&t.transformIntoNewTimeline(l)}t.previousNode=e}},{key:"visitAnimateRef",value:function(e,t){var a=t.createSubContext(e.options);a.transformIntoNewTimeline(),this.visitReference(e.animation,a),t.transformIntoNewTimeline(a.currentTimeline.currentTime),t.previousNode=e}},{key:"_visitSubInstructions",value:function(e,t,a){var s=t.currentTimeline.currentTime,l=null!=a.duration?sl(a.duration):null,u=null!=a.delay?sl(a.delay):null;return 0!==l&&e.forEach(function(f){var m=t.appendInstructionToTimeline(f,l,u);s=Math.max(s,m.duration+m.delay)}),s}},{key:"visitReference",value:function(e,t){t.updateOptions(e.options,!0),da(this,e.animation,t),t.previousNode=e}},{key:"visitSequence",value:function(e,t){var a=this,o=t.subContextCount,s=t,l=e.options;if(l&&(l.params||l.delay)&&((s=t.createSubContext(l)).transformIntoNewTimeline(),null!=l.delay)){6==s.previousNode.type&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=bp);var u=sl(l.delay);s.delayNextStep(u)}e.steps.length&&(e.steps.forEach(function(f){return da(a,f,s)}),s.currentTimeline.applyStylesToKeyframe(),s.subContextCount>o&&s.transformIntoNewTimeline()),t.previousNode=e}},{key:"visitGroup",value:function(e,t){var a=this,o=[],s=t.currentTimeline.currentTime,l=e.options&&e.options.delay?sl(e.options.delay):0;e.steps.forEach(function(u){var f=t.createSubContext(e.options);l&&f.delayNextStep(l),da(a,u,f),s=Math.max(s,f.currentTimeline.currentTime),o.push(f.currentTimeline)}),o.forEach(function(u){return t.currentTimeline.mergeTimelineCollectedStyles(u)}),t.transformIntoNewTimeline(s),t.previousNode=e}},{key:"_visitTiming",value:function(e,t){if(e.dynamic){var a=e.strValue;return dp(t.params?fp(a,t.params,t.errors):a,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}},{key:"visitAnimate",value:function(e,t){var a=t.currentAnimateTimings=this._visitTiming(e.timings,t),o=t.currentTimeline;a.delay&&(t.incrementTime(a.delay),o.snapshotCurrentStyles());var s=e.style;5==s.type?this.visitKeyframes(s,t):(t.incrementTime(a.duration),this.visitStyle(s,t),o.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}},{key:"visitStyle",value:function(e,t){var a=t.currentTimeline,o=t.currentAnimateTimings;!o&&a.getCurrentStyleProperties().length&&a.forwardFrame();var s=o&&o.easing||e.easing;e.isEmptyStep?a.applyEmptyStep(s):a.setStyles(e.styles,s,t.errors,t.options),t.previousNode=e}},{key:"visitKeyframes",value:function(e,t){var a=t.currentAnimateTimings,o=t.currentTimeline.duration,s=a.duration,u=t.createSubContext().currentTimeline;u.easing=a.easing,e.styles.forEach(function(f){u.forwardTime((f.offset||0)*s),u.setStyles(f.styles,f.easing,t.errors,t.options),u.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(u),t.transformIntoNewTimeline(o+s),t.previousNode=e}},{key:"visitQuery",value:function(e,t){var a=this,o=t.currentTimeline.currentTime,s=e.options||{},l=s.delay?sl(s.delay):0;l&&(6===t.previousNode.type||0==o&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=bp);var u=o,f=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!s.optional,t.errors);t.currentQueryTotal=f.length;var m=null;f.forEach(function(C,A){t.currentQueryIndex=A;var V=t.createSubContext(e.options,C);l&&V.delayNextStep(l),C===t.element&&(m=V.currentTimeline),da(a,e.animation,V),V.currentTimeline.applyStylesToKeyframe(),u=Math.max(u,V.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(u),m&&(t.currentTimeline.mergeTimelineCollectedStyles(m),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}},{key:"visitStagger",value:function(e,t){var a=t.parentContext,o=t.currentTimeline,s=e.timings,l=Math.abs(s.duration),u=l*(t.currentQueryTotal-1),f=l*t.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":f=u-f;break;case"full":f=a.currentStaggerTime}var C=t.currentTimeline;f&&C.delayNextStep(f);var A=C.currentTime;da(this,e.animation,t),t.previousNode=e,a.currentStaggerTime=o.currentTime-A+(o.startTime-a.currentTimeline.startTime)}}]),n}(),bp={},rY=function(){function n(i,e,t,a,o,s,l,u){c(this,n),this._driver=i,this.element=e,this.subInstructions=t,this._enterClassName=a,this._leaveClassName=o,this.errors=s,this.timelines=l,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=bp,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=u||new VS(this._driver,e,0),l.push(this.currentTimeline)}return d(n,[{key:"params",get:function(){return this.options.params}},{key:"updateOptions",value:function(e,t){var a=this;if(e){var o=e,s=this.options;null!=o.duration&&(s.duration=sl(o.duration)),null!=o.delay&&(s.delay=sl(o.delay));var l=o.params;if(l){var u=s.params;u||(u=this.options.params={}),Object.keys(l).forEach(function(f){(!t||!u.hasOwnProperty(f))&&(u[f]=fp(l[f],u,a.errors))})}}}},{key:"_copyOptions",value:function(){var e={};if(this.options){var t=this.options.params;if(t){var a=e.params={};Object.keys(t).forEach(function(o){a[o]=t[o]})}}return e}},{key:"createSubContext",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0,a=arguments.length>2?arguments[2]:void 0,o=t||this.element,s=new n(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,a||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(e),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}},{key:"transformIntoNewTimeline",value:function(e){return this.previousNode=bp,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}},{key:"appendInstructionToTimeline",value:function(e,t,a){var o={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=a?a:0)+e.delay,easing:""},s=new iY(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,o,e.stretchStartingKeyframe);return this.timelines.push(s),o}},{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,a,o,s,l){var u=[];if(o&&u.push(this.element),e.length>0){e=(e=e.replace(X5,"."+this._enterClassName)).replace(tY,"."+this._leaveClassName);var m=this._driver.query(this.element,e,1!=a);0!==a&&(m=a<0?m.slice(m.length+a,m.length):m.slice(0,a)),u.push.apply(u,ae(m))}return!s&&0==u.length&&l.push(function f5(n){return new dt(3014,nn)}()),u}}]),n}(),VS=function(){function n(i,e,t,a){c(this,n),this._driver=i,this.element=e,this.startTime=t,this._elementTimelineStylesLookup=a,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(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}return d(n,[{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:"currentTime",get:function(){return this.startTime+this.duration}},{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(e,t){return this.applyStylesToKeyframe(),new n(this._driver,e,t||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(a){t._backFill[a]=t._globalTimelineStyles[a]||Wo,t._currentKeyframe[a]=Wo}),this._currentEmptyStepKeyframe=this._currentKeyframe}},{key:"setStyles",value:function(e,t,a,o){var s=this;t&&(this._previousKeyframe.easing=t);var l=o&&o.params||{},u=function aY(n,i){var t,e={};return n.forEach(function(a){"*"===a?(t=t||Object.keys(i)).forEach(function(o){e[o]=Wo}):Ps(a,!1,e)}),e}(e,this._globalTimelineStyles);Object.keys(u).forEach(function(f){var m=fp(u[f],l,a);s._pendingStyles[f]=m,s._localTimelineStyles.hasOwnProperty(f)||(s._backFill[f]=s._globalTimelineStyles.hasOwnProperty(f)?s._globalTimelineStyles[f]:Wo),s._updateStyle(f,m)})}},{key:"applyStylesToKeyframe",value:function(){var e=this,t=this._pendingStyles,a=Object.keys(t);0!=a.length&&(this._pendingStyles={},a.forEach(function(o){e._currentKeyframe[o]=t[o]}),Object.keys(this._localTimelineStyles).forEach(function(o){e._currentKeyframe.hasOwnProperty(o)||(e._currentKeyframe[o]=e._localTimelineStyles[o])}))}},{key:"snapshotCurrentStyles",value:function(){var e=this;Object.keys(this._localTimelineStyles).forEach(function(t){var a=e._localTimelineStyles[t];e._pendingStyles[t]=a,e._updateStyle(t,a)})}},{key:"getFinalKeyframe",value:function(){return this._keyframes.get(this.duration)}},{key:"properties",get:function(){var e=[];for(var t in this._currentKeyframe)e.push(t);return e}},{key:"mergeTimelineCollectedStyles",value:function(e){var t=this;Object.keys(e._styleSummary).forEach(function(a){var o=t._styleSummary[a],s=e._styleSummary[a];(!o||s.time>o.time)&&t._updateStyle(a,s.value)})}},{key:"buildKeyframes",value:function(){var e=this;this.applyStylesToKeyframe();var t=new Set,a=new Set,o=1===this._keyframes.size&&0===this.duration,s=[];this._keyframes.forEach(function(C,A){var V=Ps(C,!0);Object.keys(V).forEach(function(J){var me=V[J];"!"==me?t.add(J):me==Wo&&a.add(J)}),o||(V.offset=A/e.duration),s.push(V)});var l=t.size?hp(t.values()):[],u=a.size?hp(a.values()):[];if(o){var f=s[0],m=Gu(f);f.offset=0,m.offset=1,s=[f,m]}return cy(this.element,s,l,u,this.duration,this.startTime,this.easing,!1)}}]),n}(),iY=function(n){h(e,n);var i=y(e);function e(t,a,o,s,l,u){var f,m=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return c(this,e),(f=i.call(this,t,a,u.delay)).keyframes=o,f.preStyleProps=s,f.postStyleProps=l,f._stretchStartingKeyframe=m,f.timings={duration:u.duration,delay:u.delay,easing:u.easing},f}return d(e,[{key:"containsAnimation",value:function(){return this.keyframes.length>1}},{key:"buildKeyframes",value:function(){var a=this.keyframes,o=this.timings,s=o.delay,l=o.duration,u=o.easing;if(this._stretchStartingKeyframe&&s){var f=[],m=l+s,C=s/m,A=Ps(a[0],!1);A.offset=0,f.push(A);var V=Ps(a[0],!1);V.offset=jS(C),f.push(V);for(var J=a.length-1,me=1;me<=J;me++){var Ce=Ps(a[me],!1);Ce.offset=jS((s+Ce.offset*l)/m),f.push(Ce)}l=m,s=0,u="",a=f}return cy(this.element,a,this.preStyleProps,this.postStyleProps,l,s,u,!0)}}]),e}(VS);function jS(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,e=Math.pow(10,i-1);return Math.round(n*e)/e}var fy=d(function n(){c(this,n)}),oY=function(n){h(e,n);var i=y(e);function e(){return c(this,e),i.apply(this,arguments)}return d(e,[{key:"normalizePropertyName",value:function(a,o){return ly(a)}},{key:"normalizeStyleValue",value:function(a,o,s,l){var u="",f=s.toString().trim();if(sY[o]&&0!==s&&"0"!==s)if("number"==typeof s)u="px";else{var m=s.match(/^[+-]?[\d\.]+([a-z]*)$/);m&&0==m[1].length&&l.push(function e5(n,i){return new dt(3005,nn)}())}return f+u}}]),e}(fy),sY=function(){return function lY(n){var i={};return n.forEach(function(e){return i[e]=!0}),i}("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 US(n,i,e,t,a,o,s,l,u,f,m,C,A){return{type:0,element:n,triggerName:i,isRemovalTransition:a,fromState:e,fromStyles:o,toState:t,toStyles:s,timelines:l,queriedElements:u,preStyleProps:f,postStyleProps:m,totalTime:C,errors:A}}var hy={},zS=function(){function n(i,e,t){c(this,n),this._triggerName=i,this.ast=e,this._stateStyles=t}return d(n,[{key:"match",value:function(e,t,a,o){return function uY(n,i,e,t,a){return n.some(function(o){return o(i,e,t,a)})}(this.ast.matchers,e,t,a,o)}},{key:"buildStyles",value:function(e,t,a){var o=this._stateStyles["*"],s=this._stateStyles[e],l=o?o.buildStyles(t,a):{};return s?s.buildStyles(t,a):l}},{key:"build",value:function(e,t,a,o,s,l,u,f,m,C){var A=[],V=this.ast.options&&this.ast.options.params||hy,me=this.buildStyles(a,u&&u.params||hy,A),Ce=f&&f.params||hy,Le=this.buildStyles(o,Ce,A),pe=new Set,Re=new Map,Ye=new Map,Ge="void"===o,rt={params:Object.assign(Object.assign({},V),Ce)},mt=C?[]:BS(e,t,this.ast.animation,s,l,me,Le,rt,m,A),sn=0;if(mt.forEach(function(rr){sn=Math.max(rr.duration+rr.delay,sn)}),A.length)return US(t,this._triggerName,a,o,Ge,me,Le,[],[],Re,Ye,sn,A);mt.forEach(function(rr){var di=rr.element,to=ca(Re,di,{});rr.preStyleProps.forEach(function(ma){return to[ma]=!0});var os=ca(Ye,di,{});rr.postStyleProps.forEach(function(ma){return os[ma]=!0}),di!==t&&pe.add(di)});var cr=hp(pe.values());return US(t,this._triggerName,a,o,Ge,me,Le,mt,cr,Re,Ye,sn)}}]),n}(),cY=function(){function n(i,e,t){c(this,n),this.styles=i,this.defaultParams=e,this.normalizer=t}return d(n,[{key:"buildStyles",value:function(e,t){var a=this,o={},s=Gu(this.defaultParams);return Object.keys(e).forEach(function(l){var u=e[l];null!=u&&(s[l]=u)}),this.styles.styles.forEach(function(l){if("string"!=typeof l){var u=l;Object.keys(u).forEach(function(f){var m=u[f];m.length>1&&(m=fp(m,s,t));var C=a.normalizer.normalizePropertyName(f,t);m=a.normalizer.normalizeStyleValue(f,C,m,t),o[C]=m})}}),o}}]),n}(),fY=function(){function n(i,e,t){var a=this;c(this,n),this.name=i,this.ast=e,this._normalizer=t,this.transitionFactories=[],this.states={},e.states.forEach(function(o){a.states[o.name]=new cY(o.style,o.options&&o.options.params||{},t)}),WS(this.states,"true","1"),WS(this.states,"false","0"),e.transitions.forEach(function(o){a.transitionFactories.push(new zS(i,o,a.states))}),this.fallbackTransition=function hY(n,i,e){return new zS(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(s,l){return!0}],options:null,queryCount:0,depCount:0},i)}(i,this.states)}return d(n,[{key:"containsQueries",get:function(){return this.ast.queryCount>0}},{key:"matchTransition",value:function(e,t,a,o){return this.transitionFactories.find(function(l){return l.match(e,t,a,o)})||null}},{key:"matchStyles",value:function(e,t,a){return this.fallbackTransition.buildStyles(e,t,a)}}]),n}();function WS(n,i,e){n.hasOwnProperty(i)?n.hasOwnProperty(e)||(n[e]=n[i]):n.hasOwnProperty(e)&&(n[i]=n[e])}var pY=new dy,vY=function(){function n(i,e,t){c(this,n),this.bodyNode=i,this._driver=e,this._normalizer=t,this._animations={},this._playersById={},this.players=[]}return d(n,[{key:"register",value:function(e,t){var a=[],s=YS(this._driver,t,a,[]);if(a.length)throw function g5(n){return new dt(3503,nn)}();this._animations[e]=s}},{key:"_buildPlayer",value:function(e,t,a){var o=e.element,s=bS(this._driver,this._normalizer,o,e.keyframes,t,a);return this._driver.animate(o,s,e.duration,e.delay,e.easing,[],!0)}},{key:"create",value:function(e,t){var u,a=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=[],l=this._animations[e],f=new Map;if(l?(u=BS(this._driver,t,l,PS,iy,{},{},o,pY,s)).forEach(function(A){var V=ca(f,A.element,{});A.postStyleProps.forEach(function(J){return V[J]=null})}):(s.push(_5()),u=[]),s.length)throw y5();f.forEach(function(A,V){Object.keys(A).forEach(function(J){A[J]=a._driver.computeStyle(V,J,Wo)})});var m=u.map(function(A){var V=f.get(A.element);return a._buildPlayer(A,{},V)}),C=Es(m);return this._playersById[e]=C,C.onDestroy(function(){return a.destroy(e)}),this.players.push(C),C}},{key:"destroy",value:function(e){var t=this._getPlayer(e);t.destroy(),delete this._playersById[e];var a=this.players.indexOf(t);a>=0&&this.players.splice(a,1)}},{key:"_getPlayer",value:function(e){var t=this._playersById[e];if(!t)throw function b5(n){return new dt(3301,nn)}();return t}},{key:"listen",value:function(e,t,a,o){var s=ey(t,"","","");return J_(this._getPlayer(e),a,s,o),function(){}}},{key:"command",value:function(e,t,a,o){if("register"!=a)if("create"!=a){var l=this._getPlayer(e);switch(a){case"play":l.play();break;case"pause":l.pause();break;case"reset":l.reset();break;case"restart":l.restart();break;case"finish":l.finish();break;case"init":l.init();break;case"setPosition":l.setPosition(parseFloat(o[0]));break;case"destroy":this.destroy(e)}}else this.create(e,t,o[0]||{});else this.register(e,o[0])}}]),n}(),GS="ng-animate-queued",py="ng-animate-disabled",_Y="ng-star-inserted",bY=[],qS={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},kY={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ea="__ng_removed",vy=function(){function n(i){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";c(this,n),this.namespaceId=e;var t=i&&i.hasOwnProperty("value"),a=t?i.value:i;if(this.value=SY(a),t){var o=Gu(i);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}return d(n,[{key:"params",get:function(){return this.options.params}},{key:"absorbOptions",value:function(e){var t=e.params;if(t){var a=this.options.params;Object.keys(t).forEach(function(o){null==a[o]&&(a[o]=t[o])})}}}]),n}(),zd="void",my=new vy(zd),MY=function(){function n(i,e,t){c(this,n),this.id=i,this.hostElement=e,this._engine=t,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+i,Pa(e,this._hostClassName)}return d(n,[{key:"listen",value:function(e,t,a,o){var s=this;if(!this._triggers.hasOwnProperty(t))throw function k5(n,i){return new dt(3302,nn)}();if(null==a||0==a.length)throw function M5(n){return new dt(3303,nn)}();if(!function DY(n){return"start"==n||"done"==n}(a))throw function C5(n,i){return new dt(3400,nn)}();var l=ca(this._elementListeners,e,[]),u={name:t,phase:a,callback:o};l.push(u);var f=ca(this._engine.statesByElement,e,{});return f.hasOwnProperty(t)||(Pa(e,up),Pa(e,up+"-"+t),f[t]=my),function(){s._engine.afterFlush(function(){var m=l.indexOf(u);m>=0&&l.splice(m,1),s._triggers[t]||delete f[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 function w5(n){return new dt(3401,nn)}();return t}},{key:"trigger",value:function(e,t,a){var o=this,s=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],l=this._getTrigger(t),u=new gy(this.id,t,e),f=this._engine.statesByElement.get(e);f||(Pa(e,up),Pa(e,up+"-"+t),this._engine.statesByElement.set(e,f={}));var m=f[t],C=new vy(a,this.id),A=a&&a.hasOwnProperty("value");!A&&m&&C.absorbOptions(m.options),f[t]=C,m||(m=my);var V=C.value===zd;if(V||m.value!==C.value){var Le=ca(this._engine.playersByElement,e,[]);Le.forEach(function(Ye){Ye.namespaceId==o.id&&Ye.triggerName==t&&Ye.queued&&Ye.destroy()});var pe=l.matchTransition(m.value,C.value,e,C.params),Re=!1;if(!pe){if(!s)return;pe=l.fallbackTransition,Re=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:pe,fromState:m,toState:C,player:u,isFallbackTransition:Re}),Re||(Pa(e,GS),u.onStart(function(){qu(e,GS)})),u.onDone(function(){var Ye=o.players.indexOf(u);Ye>=0&&o.players.splice(Ye,1);var Ge=o._engine.playersByElement.get(e);if(Ge){var rt=Ge.indexOf(u);rt>=0&&Ge.splice(rt,1)}}),this.players.push(u),Le.push(u),u}if(!EY(m.params,C.params)){var J=[],me=l.matchStyles(m.value,m.params,J),Ce=l.matchStyles(C.value,C.params,J);J.length?this._engine.reportError(J):this._engine.afterFlush(function(){ll(e,me),Co(e,Ce)})}}},{key:"deregister",value:function(e){var t=this;delete this._triggers[e],this._engine.statesByElement.forEach(function(a,o){delete a[e]}),this._elementListeners.forEach(function(a,o){t._elementListeners.set(o,a.filter(function(s){return s.name!=e}))})}},{key:"clearElementCache",value:function(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);var t=this._engine.playersByElement.get(e);t&&(t.forEach(function(a){return a.destroy()}),this._engine.playersByElement.delete(e))}},{key:"_signalRemovalForInnerTriggers",value:function(e,t){var a=this,o=this._engine.driver.query(e,cp,!0);o.forEach(function(s){if(!s[Ea]){var l=a._engine.fetchNamespacesByElement(s);l.size?l.forEach(function(u){return u.triggerLeaveAnimation(s,t,!1,!0)}):a.clearElementCache(s)}}),this._engine.afterFlushAnimationsDone(function(){return o.forEach(function(s){return a.clearElementCache(s)})})}},{key:"triggerLeaveAnimation",value:function(e,t,a,o){var s=this,l=this._engine.statesByElement.get(e),u=new Map;if(l){var f=[];if(Object.keys(l).forEach(function(m){if(u.set(m,l[m].value),s._triggers[m]){var C=s.trigger(e,m,zd,o);C&&f.push(C)}}),f.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,u),a&&Es(f).onDone(function(){return s._engine.processLeaveNode(e)}),!0}return!1}},{key:"prepareLeaveAnimationListeners",value:function(e){var t=this,a=this._elementListeners.get(e),o=this._engine.statesByElement.get(e);if(a&&o){var s=new Set;a.forEach(function(l){var u=l.name;if(!s.has(u)){s.add(u);var m=t._triggers[u].fallbackTransition,C=o[u]||my,A=new vy(zd),V=new gy(t.id,u,e);t._engine.totalQueuedPlayers++,t._queue.push({element:e,triggerName:u,transition:m,fromState:C,toState:A,player:V,isFallbackTransition:!0})}})}}},{key:"removeNode",value:function(e,t){var a=this,o=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),!this.triggerLeaveAnimation(e,t,!0)){var s=!1;if(o.totalAnimations){var l=o.players.length?o.playersByQueriedElement.get(e):[];if(l&&l.length)s=!0;else for(var u=e;u=u.parentNode;)if(o.statesByElement.get(u)){s=!0;break}}if(this.prepareLeaveAnimationListeners(e),s)o.markElementAsRemoved(this.id,e,!1,t);else{var m=e[Ea];(!m||m===qS)&&(o.afterFlush(function(){return a.clearElementCache(e)}),o.destroyInnerAnimations(e),o._onRemovalComplete(e,t))}}}},{key:"insertNode",value:function(e,t){Pa(e,this._hostClassName)}},{key:"drainQueuedTransitions",value:function(e){var t=this,a=[];return this._queue.forEach(function(o){var s=o.player;if(!s.destroyed){var l=o.element,u=t._elementListeners.get(l);u&&u.forEach(function(f){if(f.name==o.triggerName){var m=ey(l,o.triggerName,o.fromState.value,o.toState.value);m._data=e,J_(o.player,f.phase,m,f.callback)}}),s.markedForDestroy?t._engine.afterFlush(function(){s.destroy()}):a.push(o)}}),this._queue=[],a.sort(function(o,s){var l=o.transition.ast.depCount,u=s.transition.ast.depCount;return 0==l||0==u?l-u:t._engine.driver.containsElement(o.element,s.element)?1:-1})}},{key:"destroy",value:function(e){this.players.forEach(function(t){return t.destroy()}),this._signalRemovalForInnerTriggers(this.hostElement,e)}},{key:"elementContainsData",value:function(e){var t=!1;return this._elementListeners.has(e)&&(t=!0),!!this._queue.find(function(a){return a.element===e})||t}}]),n}(),CY=function(){function n(i,e,t){c(this,n),this.bodyNode=i,this.driver=e,this._normalizer=t,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=function(a,o){}}return d(n,[{key:"_onRemovalComplete",value:function(e,t){this.onRemovalComplete(e,t)}},{key:"queuedPlayers",get:function(){var e=[];return this._namespaceList.forEach(function(t){t.players.forEach(function(a){a.queued&&e.push(a)})}),e}},{key:"createNamespace",value:function(e,t){var a=new MY(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(a,t):(this.newHostElements.set(t,a),this.collectEnterElement(t)),this._namespaceLookup[e]=a}},{key:"_balanceNamespaceList",value:function(e,t){var a=this._namespaceList,o=this.namespacesByHostElement,s=a.length-1;if(s>=0){var l=!1;if(void 0!==this.driver.getParentElement)for(var u=this.driver.getParentElement(t);u;){var f=o.get(u);if(f){var m=a.indexOf(f);a.splice(m+1,0,e),l=!0;break}u=this.driver.getParentElement(u)}else for(var C=s;C>=0;C--)if(this.driver.containsElement(a[C].hostElement,t)){a.splice(C+1,0,e),l=!0;break}l||a.unshift(e)}else a.push(e);return o.set(t,e),e}},{key:"register",value:function(e,t){var a=this._namespaceLookup[e];return a||(a=this.createNamespace(e,t)),a}},{key:"registerTrigger",value:function(e,t,a){var o=this._namespaceLookup[e];o&&o.register(t,a)&&this.totalAnimations++}},{key:"destroy",value:function(e,t){var a=this;if(e){var o=this._fetchNamespace(e);this.afterFlush(function(){a.namespacesByHostElement.delete(o.hostElement),delete a._namespaceLookup[e];var s=a._namespaceList.indexOf(o);s>=0&&a._namespaceList.splice(s,1)}),this.afterFlushAnimationsDone(function(){return o.destroy(t)})}}},{key:"_fetchNamespace",value:function(e){return this._namespaceLookup[e]}},{key:"fetchNamespacesByElement",value:function(e){var t=new Set,a=this.statesByElement.get(e);if(a)for(var o=Object.keys(a),s=0;s=0&&this.collectedLeaveElements.splice(l,1)}if(e){var u=this._fetchNamespace(e);u&&u.insertNode(t,a)}o&&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),Pa(e,py)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),qu(e,py))}},{key:"removeNode",value:function(e,t,a,o){if(kp(t)){var s=e?this._fetchNamespace(e):null;if(s?s.removeNode(t,o):this.markElementAsRemoved(e,t,!1,o),a){var l=this.namespacesByHostElement.get(t);l&&l.id!==e&&l.removeNode(t,o)}}else this._onRemovalComplete(t,o)}},{key:"markElementAsRemoved",value:function(e,t,a,o,s){this.collectedLeaveElements.push(t),t[Ea]={namespaceId:e,setForRemoval:o,hasAnimation:a,removedBeforeQueried:!1,previousTriggersValues:s}}},{key:"listen",value:function(e,t,a,o,s){return kp(t)?this._fetchNamespace(e).listen(t,a,o,s):function(){}}},{key:"_buildInstruction",value:function(e,t,a,o,s){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,a,o,e.fromState.options,e.toState.options,t,s)}},{key:"destroyInnerAnimations",value:function(e){var t=this,a=this.driver.query(e,cp,!0);a.forEach(function(o){return t.destroyActiveAnimationsForElement(o)}),0!=this.playersByQueriedElement.size&&(a=this.driver.query(e,ay,!0)).forEach(function(o){return t.finishActiveQueriedAnimationOnElement(o)})}},{key:"destroyActiveAnimationsForElement",value:function(e){var t=this.playersByElement.get(e);t&&t.forEach(function(a){a.queued?a.markedForDestroy=!0:a.destroy()})}},{key:"finishActiveQueriedAnimationOnElement",value:function(e){var t=this.playersByQueriedElement.get(e);t&&t.forEach(function(a){return a.finish()})}},{key:"whenRenderingDone",value:function(){var e=this;return new Promise(function(t){if(e.players.length)return Es(e.players).onDone(function(){return t()});t()})}},{key:"processLeaveNode",value:function(e){var a,t=this,o=e[Ea];if(o&&o.setForRemoval){if(e[Ea]=qS,o.namespaceId){this.destroyInnerAnimations(e);var s=this._fetchNamespace(o.namespaceId);s&&s.clearElementCache(e)}this._onRemovalComplete(e,o.setForRemoval)}(null===(a=e.classList)||void 0===a?void 0:a.contains(py))&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(function(l){t.markElementAsDisabled(l,!1)})}},{key:"flush",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,a=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(A,V){return e._balanceNamespaceList(A,V)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var o=0;o=0;to--)this._namespaceList[to].drainQueuedTransitions(t).forEach(function(ft){var At=ft.player,Bt=ft.element;if(rr.push(At),a.collectedEnterElements.length){var yr=Bt[Ea];if(yr&&yr.setForMove){if(yr.previousTriggersValues&&yr.previousTriggersValues.has(ft.triggerName)){var Sc=yr.previousTriggersValues.get(ft.triggerName),Bs=a.statesByElement.get(ft.element);Bs&&Bs[ft.triggerName]&&(Bs[ft.triggerName].value=Sc)}return void At.destroy()}}var If=!V||!a.driver.containsElement(V,Bt),Rv=sn.get(Bt),lk=Ce.get(Bt),ti=a._buildInstruction(ft,o,lk,Rv,If);if(ti.errors&&ti.errors.length)di.push(ti);else{if(If)return At.onStart(function(){return ll(Bt,ti.fromStyles)}),At.onDestroy(function(){return Co(Bt,ti.toStyles)}),void s.push(At);if(ft.isFallbackTransition)return At.onStart(function(){return ll(Bt,ti.fromStyles)}),At.onDestroy(function(){return Co(Bt,ti.toStyles)}),void s.push(At);var Nv=[];ti.timelines.forEach(function(ls){ls.stretchStartingKeyframe=!0,a.disabledNodes.has(ls.element)||Nv.push(ls)}),ti.timelines=Nv,o.append(Bt,ti.timelines),u.push({instruction:ti,player:At,element:Bt}),ti.queriedElements.forEach(function(ls){return ca(f,ls,[]).push(At)}),ti.preStyleProps.forEach(function(ls,Af){var Yv=Object.keys(ls);if(Yv.length){var Rl=m.get(Af);Rl||m.set(Af,Rl=new Set),Yv.forEach(function(uk){return Rl.add(uk)})}}),ti.postStyleProps.forEach(function(ls,Af){var Yv=Object.keys(ls),Rl=C.get(Af);Rl||C.set(Af,Rl=new Set),Yv.forEach(function(uk){return Rl.add(uk)})})}});if(di.length){var ma=[];di.forEach(function(ft){ma.push(function D5(n,i){return new dt(3505,nn)}())}),rr.forEach(function(ft){return ft.destroy()}),this.reportError(ma)}var ss=new Map,Hs=new Map;u.forEach(function(ft){var At=ft.element;o.has(At)&&(Hs.set(At,At),a._beforeAnimationBuild(ft.player.namespaceId,ft.instruction,ss))}),s.forEach(function(ft){var At=ft.element;a._getPreviousPlayers(At,!1,ft.namespaceId,ft.triggerName,null).forEach(function(yr){ca(ss,At,[]).push(yr),yr.destroy()})});var gP=pe.filter(function(ft){return JS(ft,m,C)}),Fv=new Map;$S(Fv,this.driver,Ye,C,Wo).forEach(function(ft){JS(ft,m,C)&&gP.push(ft)});var nk=new Map;me.forEach(function(ft,At){$S(nk,a.driver,new Set(ft),m,"!")}),gP.forEach(function(ft){var At=Fv.get(ft),Bt=nk.get(ft);Fv.set(ft,Object.assign(Object.assign({},At),Bt))});var rk=[],_P=[],yP={};u.forEach(function(ft){var At=ft.element,Bt=ft.player,yr=ft.instruction;if(o.has(At)){if(A.has(At))return Bt.onDestroy(function(){return Co(At,yr.toStyles)}),Bt.disabled=!0,Bt.overrideTotalTime(yr.totalTime),void s.push(Bt);var Sc=yP;if(Hs.size>1){for(var Bs=At,If=[];Bs=Bs.parentNode;){var Rv=Hs.get(Bs);if(Rv){Sc=Rv;break}If.push(Bs)}If.forEach(function(Nv){return Hs.set(Nv,Sc)})}var lk=a._buildAnimation(Bt.namespaceId,yr,ss,l,nk,Fv);if(Bt.setRealPlayer(lk),Sc===yP)rk.push(Bt);else{var ti=a.playersByElement.get(Sc);ti&&ti.length&&(Bt.parentPlayer=Es(ti)),s.push(Bt)}}else ll(At,yr.fromStyles),Bt.onDestroy(function(){return Co(At,yr.toStyles)}),_P.push(Bt),A.has(At)&&s.push(Bt)}),_P.forEach(function(ft){var At=l.get(ft.element);if(At&&At.length){var Bt=Es(At);ft.setRealPlayer(Bt)}}),s.forEach(function(ft){ft.parentPlayer?ft.syncPlayerEvents(ft.parentPlayer):ft.destroy()});for(var ik=0;ik0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,a):new jd(e.duration,e.delay)}}]),n}(),gy=function(){function n(i,e,t){c(this,n),this.namespaceId=i,this.triggerName=e,this.element=t,this._player=new jd,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return d(n,[{key:"setRealPlayer",value:function(e){var t=this;this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(function(a){t._queuedCallbacks[a].forEach(function(o){return J_(e,a,void 0,o)})}),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,a=this._player;a.triggerCallback&&e.onStart(function(){return a.triggerCallback("start")}),e.onDone(function(){return t.finish()}),e.onDestroy(function(){return t.destroy()})}},{key:"_queueEvent",value:function(e,t){ca(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)}}]),n}();function SY(n){return null!=n?n:null}function kp(n){return n&&1===n.nodeType}function KS(n,i){var e=n.style.display;return n.style.display=null!=i?i:"none",e}function $S(n,i,e,t,a){var o=[];e.forEach(function(u){return o.push(KS(u))});var s=[];t.forEach(function(u,f){var m={};u.forEach(function(C){var A=m[C]=i.computeStyle(f,C,a);(!A||0==A.length)&&(f[Ea]=kY,s.push(f))}),n.set(f,m)});var l=0;return e.forEach(function(u){return KS(u,o[l++])}),s}function ZS(n,i){var e=new Map;if(n.forEach(function(l){return e.set(l,[])}),0==i.length)return e;var a=new Set(i),o=new Map;function s(l){if(!l)return 1;var u=o.get(l);if(u)return u;var f=l.parentNode;return u=e.has(f)?f:a.has(f)?1:s(f),o.set(l,u),u}return i.forEach(function(l){var u=s(l);1!==u&&e.get(u).push(l)}),e}function Pa(n,i){var e;null===(e=n.classList)||void 0===e||e.add(i)}function qu(n,i){var e;null===(e=n.classList)||void 0===e||e.remove(i)}function TY(n,i,e){Es(e).onDone(function(){return n.processLeaveNode(i)})}function QS(n,i){for(var e=0;e0&&void 0!==arguments[0]?arguments[0]:-1;this._transitionEngine.flush(e)}},{key:"players",get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}},{key:"whenRenderingDone",value:function(){return this._transitionEngine.whenRenderingDone()}}]),n}();function PY(n,i){var e=null,t=null;return Array.isArray(i)&&i.length?(e=_y(i[0]),i.length>1&&(t=_y(i[i.length-1]))):i&&(e=_y(i)),e||t?new xY(n,e,t):null}var xY=function(){var n=function(){function i(e,t,a){c(this,i),this._element=e,this._startStyles=t,this._endStyles=a,this._state=0;var o=i.initialStylesByElement.get(e);o||i.initialStylesByElement.set(e,o={}),this._initialStyles=o}return d(i,[{key:"start",value:function(){this._state<1&&(this._startStyles&&Co(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&(Co(this._element,this._initialStyles),this._endStyles&&(Co(this._element,this._endStyles),this._endStyles=null),this._state=1)}},{key:"destroy",value:function(){this.finish(),this._state<3&&(i.initialStylesByElement.delete(this._element),this._startStyles&&(ll(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(ll(this._element,this._endStyles),this._endStyles=null),Co(this._element,this._initialStyles),this._state=3)}}]),i}();return n.initialStylesByElement=new WeakMap,n}();function _y(n){for(var i=null,e=Object.keys(n),t=0;t5&&void 0!==arguments[5]?arguments[5]:[],u=0==o?"both":"forwards",f={duration:a,delay:o,fill:u};s&&(f.easing=s);var m={},C=l.filter(function(V){return V instanceof XS});N5(a,o)&&C.forEach(function(V){var J=V.currentSnapshot;Object.keys(J).forEach(function(me){return m[me]=J[me]})});var A=PY(e,t=Y5(e,t=t.map(function(V){return Ps(V,!1)}),m));return new XS(e,t,f,A)}}]),n}(),AY=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o){var s;return c(this,t),(s=e.call(this))._nextAnimationId=0,s._renderer=a.createRenderer(o.body,{id:"0",encapsulation:na.None,styles:[],data:{animation:[]}}),s}return d(t,[{key:"build",value:function(o){var s=this._nextAnimationId.toString();this._nextAnimationId++;var l=Array.isArray(o)?mS(o):o;return eD(this._renderer,null,s,"register",[l]),new FY(s,this._renderer)}}]),t}(vS);return n.\u0275fac=function(e){return new(e||n)(Ee(Ld),Ee(Ot))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),FY=function(n){h(e,n);var i=y(e);function e(t,a){var o;return c(this,e),(o=i.call(this))._id=t,o._renderer=a,o}return d(e,[{key:"create",value:function(a,o){return new RY(this._id,a,o||{},this._renderer)}}]),e}(W4),RY=function(){function n(i,e,t,a){c(this,n),this.id=i,this.element=e,this._renderer=a,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",t)}return d(n,[{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,a=new Array(t>1?t-1:0),o=1;o=0&&t3&&void 0!==arguments[3])||arguments[3];this.delegate.insertBefore(e,t,a),this.engine.onInsert(this.namespaceId,t,e,o)}},{key:"removeChild",value:function(e,t,a){this.engine.onRemove(this.namespaceId,t,this.delegate,a)}},{key:"selectRootElement",value:function(e,t){return this.delegate.selectRootElement(e,t)}},{key:"parentNode",value:function(e){return this.delegate.parentNode(e)}},{key:"nextSibling",value:function(e){return this.delegate.nextSibling(e)}},{key:"setAttribute",value:function(e,t,a,o){this.delegate.setAttribute(e,t,a,o)}},{key:"removeAttribute",value:function(e,t,a){this.delegate.removeAttribute(e,t,a)}},{key:"addClass",value:function(e,t){this.delegate.addClass(e,t)}},{key:"removeClass",value:function(e,t){this.delegate.removeClass(e,t)}},{key:"setStyle",value:function(e,t,a,o){this.delegate.setStyle(e,t,a,o)}},{key:"removeStyle",value:function(e,t,a){this.delegate.removeStyle(e,t,a)}},{key:"setProperty",value:function(e,t,a){"@"==t.charAt(0)&&t==tD?this.disableAnimations(e,!!a):this.delegate.setProperty(e,t,a)}},{key:"setValue",value:function(e,t){this.delegate.setValue(e,t)}},{key:"listen",value:function(e,t,a){return this.delegate.listen(e,t,a)}},{key:"disableAnimations",value:function(e,t){this.engine.disableAnimations(e,t)}}]),n}(),YY=function(n){h(e,n);var i=y(e);function e(t,a,o,s){var l;return c(this,e),(l=i.call(this,a,o,s)).factory=t,l.namespaceId=a,l}return d(e,[{key:"setProperty",value:function(a,o,s){"@"==o.charAt(0)?"."==o.charAt(1)&&o==tD?this.disableAnimations(a,s=void 0===s||!!s):this.engine.process(this.namespaceId,a,o.substr(1),s):this.delegate.setProperty(a,o,s)}},{key:"listen",value:function(a,o,s){var l=this;if("@"==o.charAt(0)){var u=function HY(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(a),f=o.substr(1),m="";if("@"!=f.charAt(0)){var C=function BY(n){var i=n.indexOf(".");return[n.substring(0,i),n.substr(i+1)]}(f),A=ne(C,2);f=A[0],m=A[1]}return this.engine.listen(this.namespaceId,u,f,m,function(V){l.factory.scheduleListenerCallback(V._data||-1,s,V)})}return this.delegate.listen(a,o,s)}}]),e}(nD),VY=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s){return c(this,t),e.call(this,a.body,o,s)}return d(t,[{key:"ngOnDestroy",value:function(){this.flush()}}]),t}(Mp);return n.\u0275fac=function(e){return new(e||n)(Ee(Ot),Ee(ry),Ee(fy))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),ai=new Ze("AnimationModuleType"),rD=[{provide:vS,useClass:AY},{provide:fy,useFactory:function jY(){return new oY}},{provide:Mp,useClass:VY},{provide:Ld,useFactory:function UY(n,i,e){return new NY(n,i,e)},deps:[sp,Mp,bt]}],iD=[{provide:ry,useFactory:function(){return new IY}},{provide:ai,useValue:"BrowserAnimations"}].concat(rD),zY=[{provide:ry,useClass:LS},{provide:ai,useValue:"NoopAnimations"}].concat(rD),WY=function(){var n=function(){function i(){c(this,i)}return d(i,null,[{key:"withConfig",value:function(t){return{ngModule:i,providers:t.disableAnimations?zY:iD}}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({providers:iD,imports:[dS]}),n}();function Je(){for(var n=arguments.length,i=new Array(n),e=0;e0){var o=t.slice(0,a),s=o.toLowerCase(),l=t.slice(a+1).trim();e.maybeSetNormalizedName(o,s),e.headers.has(s)?e.headers.get(s).push(l):e.headers.set(s,[l])}})}:function(){e.headers=new Map,Object.keys(i).forEach(function(t){var a=i[t],o=t.toLowerCase();"string"==typeof a&&(a=[a]),a.length>0&&(e.headers.set(o,a),e.maybeSetNormalizedName(t,o))})}:this.headers=new Map}return d(n,[{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 e=this;this.lazyInit&&(this.lazyInit instanceof n?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(t){return e.applyUpdate(t)}),this.lazyUpdate=null))}},{key:"copyFrom",value:function(e){var t=this;e.init(),Array.from(e.headers.keys()).forEach(function(a){t.headers.set(a,e.headers.get(a)),t.normalizedNames.set(a,e.normalizedNames.get(a))})}},{key:"clone",value:function(e){var t=new n;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof n?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}},{key:"applyUpdate",value:function(e){var t=e.name.toLowerCase();switch(e.op){case"a":case"s":var a=e.value;if("string"==typeof a&&(a=[a]),0===a.length)return;this.maybeSetNormalizedName(e.name,t);var o=("a"===e.op?this.headers.get(t):void 0)||[];o.push.apply(o,ae(a)),this.headers.set(t,o);break;case"d":var s=e.value;if(s){var l=this.headers.get(t);if(!l)return;0===(l=l.filter(function(u){return-1===s.indexOf(u)})).length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,l)}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(a){return e(t.normalizedNames.get(a),t.headers.get(a))})}}]),n}(),KY=function(){function n(){c(this,n)}return d(n,[{key:"encodeKey",value:function(e){return sD(e)}},{key:"encodeValue",value:function(e){return sD(e)}},{key:"decodeKey",value:function(e){return decodeURIComponent(e)}},{key:"decodeValue",value:function(e){return decodeURIComponent(e)}}]),n}();function $Y(n,i){var e=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(function(a){var o=a.indexOf("="),l=ne(-1==o?[i.decodeKey(a),""]:[i.decodeKey(a.slice(0,o)),i.decodeValue(a.slice(o+1))],2),u=l[0],f=l[1],m=e.get(u)||[];m.push(f),e.set(u,m)}),e}var ZY=/%(\d[a-f0-9])/gi,QY={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function sD(n){return encodeURIComponent(n).replace(ZY,function(i,e){var t;return null!==(t=QY[e])&&void 0!==t?t:i})}function lD(n){return"".concat(n)}var Zu=function(){function n(){var i=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(c(this,n),this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new KY,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=$Y(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(function(t){var a=e.fromObject[t];i.map.set(t,Array.isArray(a)?a:[a])})):this.map=null}return d(n,[{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:"appendAll",value:function(e){var t=[];return Object.keys(e).forEach(function(a){var o=e[a];Array.isArray(o)?o.forEach(function(s){t.push({param:a,value:s,op:"a"})}):t.push({param:a,value:o,op:"a"})}),this.clone(t)}},{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 a=e.encoder.encodeKey(t);return e.map.get(t).map(function(o){return a+"="+e.encoder.encodeValue(o)}).join("&")}).filter(function(t){return""!==t}).join("&")}},{key:"clone",value:function(e){var t=new n({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(e),t}},{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 a=("a"===t.op?e.map.get(t.param):void 0)||[];a.push(lD(t.value)),e.map.set(t.param,a);break;case"d":if(void 0===t.value){e.map.delete(t.param);break}var o=e.map.get(t.param)||[],s=o.indexOf(lD(t.value));-1!==s&&o.splice(s,1),o.length>0?e.map.set(t.param,o):e.map.delete(t.param)}}),this.cloneFrom=this.updates=null)}}]),n}(),JY=function(){function n(){c(this,n),this.map=new Map}return d(n,[{key:"set",value:function(e,t){return this.map.set(e,t),this}},{key:"get",value:function(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}},{key:"delete",value:function(e){return this.map.delete(e),this}},{key:"has",value:function(e){return this.map.has(e)}},{key:"keys",value:function(){return this.map.keys()}}]),n}();function uD(n){return"undefined"!=typeof ArrayBuffer&&n instanceof ArrayBuffer}function cD(n){return"undefined"!=typeof Blob&&n instanceof Blob}function dD(n){return"undefined"!=typeof FormData&&n instanceof FormData}var yy=function(){function n(i,e,t,a){var o;if(c(this,n),this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=i.toUpperCase(),function XY(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||a?(this.body=void 0!==t?t:null,o=a):o=t,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new $u),this.context||(this.context=new JY),this.params){var s=this.params.toString();if(0===s.length)this.urlWithParams=e;else{var l=e.indexOf("?");this.urlWithParams=e+(-1===l?"?":l0&&void 0!==arguments[0]?arguments[0]:{},a=e.method||this.method,o=e.url||this.url,s=e.responseType||this.responseType,l=void 0!==e.body?e.body:this.body,u=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,f=void 0!==e.reportProgress?e.reportProgress:this.reportProgress,m=e.headers||this.headers,C=e.params||this.params,A=null!==(t=e.context)&&void 0!==t?t:this.context;return void 0!==e.setHeaders&&(m=Object.keys(e.setHeaders).reduce(function(V,J){return V.set(J,e.setHeaders[J])},m)),e.setParams&&(C=Object.keys(e.setParams).reduce(function(V,J){return V.set(J,e.setParams[J])},C)),new n(a,o,l,{params:C,headers:m,context:A,reportProgress:f,responseType:s,withCredentials:u})}}]),n}(),Ar=function(){return(Ar=Ar||{})[Ar.Sent=0]="Sent",Ar[Ar.UploadProgress=1]="UploadProgress",Ar[Ar.ResponseHeader=2]="ResponseHeader",Ar[Ar.DownloadProgress=3]="DownloadProgress",Ar[Ar.Response=4]="Response",Ar[Ar.User=5]="User",Ar}(),by=d(function n(i){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"OK";c(this,n),this.headers=i.headers||new $u,this.status=void 0!==i.status?i.status:e,this.statusText=i.statusText||t,this.url=i.url||null,this.ok=this.status>=200&&this.status<300}),tH=function(n){h(e,n);var i=y(e);function e(){var t,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return c(this,e),(t=i.call(this,a)).type=Ar.ResponseHeader,t}return d(e,[{key:"clone",value:function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new e({headers:a.headers||this.headers,status:void 0!==a.status?a.status:this.status,statusText:a.statusText||this.statusText,url:a.url||this.url||void 0})}}]),e}(by),fD=function(n){h(e,n);var i=y(e);function e(){var t,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return c(this,e),(t=i.call(this,a)).type=Ar.Response,t.body=void 0!==a.body?a.body:null,t}return d(e,[{key:"clone",value:function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new e({body:void 0!==a.body?a.body:this.body,headers:a.headers||this.headers,status:void 0!==a.status?a.status:this.status,statusText:a.statusText||this.statusText,url:a.url||this.url||void 0})}}]),e}(by),hD=function(n){h(e,n);var i=y(e);function e(t){var a;return c(this,e),(a=i.call(this,t,0,"Unknown Error")).name="HttpErrorResponse",a.ok=!1,a.message=a.status>=200&&a.status<300?"Http failure during parsing for ".concat(t.url||"(unknown url)"):"Http failure response for ".concat(t.url||"(unknown url)",": ").concat(t.status," ").concat(t.statusText),a.error=t.error||null,a}return d(e)}(by);function ky(n,i){return{body:i,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials}}var cl=function(){var n=function(){function i(e){c(this,i),this.handler=e}return d(i,[{key:"request",value:function(t,a){var l,o=this,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t instanceof yy)l=t;else{var u=void 0;u=s.headers instanceof $u?s.headers:new $u(s.headers);var f=void 0;s.params&&(f=s.params instanceof Zu?s.params:new Zu({fromObject:s.params})),l=new yy(t,a,void 0!==s.body?s.body:null,{headers:u,context:s.context,params:f,reportProgress:s.reportProgress,responseType:s.responseType||"json",withCredentials:s.withCredentials})}var m=Je(l).pipe(Ku(function(A){return o.handler.handle(A)}));if(t instanceof yy||"events"===s.observe)return m;var C=m.pipe(Ir(function(A){return A instanceof fD}));switch(s.observe||"body"){case"body":switch(l.responseType){case"arraybuffer":return C.pipe($e(function(A){if(null!==A.body&&!(A.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return A.body}));case"blob":return C.pipe($e(function(A){if(null!==A.body&&!(A.body instanceof Blob))throw new Error("Response is not a Blob.");return A.body}));case"text":return C.pipe($e(function(A){if(null!==A.body&&"string"!=typeof A.body)throw new Error("Response is not a string.");return A.body}));default:return C.pipe($e(function(A){return A.body}))}case"response":return C;default:throw new Error("Unreachable: unhandled observe type ".concat(s.observe,"}"))}}},{key:"delete",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("DELETE",t,a)}},{key:"get",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("GET",t,a)}},{key:"head",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("HEAD",t,a)}},{key:"jsonp",value:function(t,a){return this.request("JSONP",t,{params:(new Zu).append(a,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}},{key:"options",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("OPTIONS",t,a)}},{key:"patch",value:function(t,a){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PATCH",t,ky(o,a))}},{key:"post",value:function(t,a){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",t,ky(o,a))}},{key:"put",value:function(t,a){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",t,ky(o,a))}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(aD))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),pD=function(){function n(i,e){c(this,n),this.next=i,this.interceptor=e}return d(n,[{key:"handle",value:function(e){return this.interceptor.intercept(e,this.next)}}]),n}(),vD=new Ze("HTTP_INTERCEPTORS"),nH=function(){var n=function(){function i(){c(this,i)}return d(i,[{key:"intercept",value:function(t,a){return a.handle(t)}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),rH=/^\)\]\}',?\n/,mD=function(){var n=function(){function i(e){c(this,i),this.xhrFactory=e}return d(i,[{key:"handle",value:function(t){var a=this;if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new fe(function(o){var s=a.xhrFactory.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach(function(Le,pe){return s.setRequestHeader(Le,pe.join(","))}),t.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){var l=t.detectContentTypeHeader();null!==l&&s.setRequestHeader("Content-Type",l)}if(t.responseType){var u=t.responseType.toLowerCase();s.responseType="json"!==u?u:"text"}var f=t.serializeBody(),m=null,C=function(){if(null!==m)return m;var pe=s.statusText||"OK",Re=new $u(s.getAllResponseHeaders()),Ye=function iH(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}(s)||t.url;return m=new tH({headers:Re,status:s.status,statusText:pe,url:Ye})},A=function(){var pe=C(),Re=pe.headers,Ye=pe.status,Ge=pe.statusText,rt=pe.url,mt=null;204!==Ye&&(mt=void 0===s.response?s.responseText:s.response),0===Ye&&(Ye=mt?200:0);var sn=Ye>=200&&Ye<300;if("json"===t.responseType&&"string"==typeof mt){var cr=mt;mt=mt.replace(rH,"");try{mt=""!==mt?JSON.parse(mt):null}catch(rr){mt=cr,sn&&(sn=!1,mt={error:rr,text:mt})}}sn?(o.next(new fD({body:mt,headers:Re,status:Ye,statusText:Ge,url:rt||void 0})),o.complete()):o.error(new hD({error:mt,headers:Re,status:Ye,statusText:Ge,url:rt||void 0}))},V=function(pe){var Re=C(),Ge=new hD({error:pe,status:s.status||0,statusText:s.statusText||"Unknown Error",url:Re.url||void 0});o.error(Ge)},J=!1,me=function(pe){J||(o.next(C()),J=!0);var Re={type:Ar.DownloadProgress,loaded:pe.loaded};pe.lengthComputable&&(Re.total=pe.total),"text"===t.responseType&&!!s.responseText&&(Re.partialText=s.responseText),o.next(Re)},Ce=function(pe){var Re={type:Ar.UploadProgress,loaded:pe.loaded};pe.lengthComputable&&(Re.total=pe.total),o.next(Re)};return s.addEventListener("load",A),s.addEventListener("error",V),s.addEventListener("timeout",V),s.addEventListener("abort",V),t.reportProgress&&(s.addEventListener("progress",me),null!==f&&s.upload&&s.upload.addEventListener("progress",Ce)),s.send(f),o.next({type:Ar.Sent}),function(){s.removeEventListener("error",V),s.removeEventListener("abort",V),s.removeEventListener("load",A),s.removeEventListener("timeout",V),t.reportProgress&&(s.removeEventListener("progress",me),null!==f&&s.upload&&s.upload.removeEventListener("progress",Ce)),s.readyState!==s.DONE&&s.abort()}})}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(z_))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),My=new Ze("XSRF_COOKIE_NAME"),Cy=new Ze("XSRF_HEADER_NAME"),gD=d(function n(){c(this,n)}),aH=function(){var n=function(){function i(e,t,a){c(this,i),this.doc=e,this.platform=t,this.cookieName=a,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return d(i,[{key:"getToken",value:function(){if("server"===this.platform)return null;var t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=zw(t,this.cookieName),this.lastCookieString=t),this.lastToken}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(Ot),Ee(Fd),Ee(My))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),wy=function(){var n=function(){function i(e,t){c(this,i),this.tokenService=e,this.headerName=t}return d(i,[{key:"intercept",value:function(t,a){var o=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||o.startsWith("http://")||o.startsWith("https://"))return a.handle(t);var s=this.tokenService.getToken();return null!==s&&!t.headers.has(this.headerName)&&(t=t.clone({headers:t.headers.set(this.headerName,s)})),a.handle(t)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(gD),Ee(Cy))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),oH=function(){var n=function(){function i(e,t){c(this,i),this.backend=e,this.injector=t,this.chain=null}return d(i,[{key:"handle",value:function(t){if(null===this.chain){var a=this.injector.get(vD,[]);this.chain=a.reduceRight(function(o,s){return new pD(o,s)},this.backend)}return this.chain.handle(t)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(oD),Ee(zn))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),sH=function(){var n=function(){function i(){c(this,i)}return d(i,null,[{key:"disable",value:function(){return{ngModule:i,providers:[{provide:wy,useClass:nH}]}}},{key:"withOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:i,providers:[t.cookieName?{provide:My,useValue:t.cookieName}:[],t.headerName?{provide:Cy,useValue:t.headerName}:[]]}}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({providers:[wy,{provide:vD,useExisting:wy,multi:!0},{provide:gD,useClass:aH},{provide:My,useValue:"XSRF-TOKEN"},{provide:Cy,useValue:"X-XSRF-TOKEN"}]}),n}(),lH=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({providers:[cl,{provide:aD,useClass:oH},mD,{provide:oD,useExisting:mD}],imports:[[sH.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),n}(),jr=function(n){h(e,n);var i=y(e);function e(t){var a;return c(this,e),(a=i.call(this))._value=t,a}return d(e,[{key:"value",get:function(){return this.getValue()}},{key:"_subscribe",value:function(a){var o=T(O(e.prototype),"_subscribe",this).call(this,a);return o&&!o.closed&&a.next(this._value),o}},{key:"getValue",value:function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new we;return this._value}},{key:"next",value:function(a){T(O(e.prototype),"next",this).call(this,this._value=a)}}]),e}(Ae),_D={};function yD(){for(var n=arguments.length,i=new Array(n),e=0;e=2&&(e=!0),function(a){return a.lift(new bH(n,i,e))}}var bH=function(){function n(i,e){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];c(this,n),this.accumulator=i,this.seed=e,this.hasSeed=t}return d(n,[{key:"call",value:function(e,t){return t.subscribe(new kH(e,this.accumulator,this.seed,this.hasSeed))}}]),n}(),kH=function(n){h(e,n);var i=y(e);function e(t,a,o,s){var l;return c(this,e),(l=i.call(this,t)).accumulator=a,l._seed=o,l.hasSeed=s,l.index=0,l}return d(e,[{key:"seed",get:function(){return this._seed},set:function(a){this.hasSeed=!0,this._seed=a}},{key:"_next",value:function(a){if(this.hasSeed)return this._tryNext(a);this.seed=a,this.destination.next(a)}},{key:"_tryNext",value:function(a){var s,o=this.index++;try{s=this.accumulator(this.seed,a,o)}catch(l){this.destination.error(l)}this.seed=s,this.destination.next(s)}}]),e}(St);function Ki(n){return function(e){var t=new MH(n),a=e.lift(t);return t.caught=a}}var MH=function(){function n(i){c(this,n),this.selector=i}return d(n,[{key:"call",value:function(e,t){return t.subscribe(new CH(e,this.selector,this.caught))}}]),n}(),CH=function(n){h(e,n);var i=y(e);function e(t,a,o){var s;return c(this,e),(s=i.call(this,t)).selector=a,s.caught=o,s}return d(e,[{key:"error",value:function(a){if(!this.isStopped){var o;try{o=this.selector(a,this.caught)}catch(l){return void T(O(e.prototype),"error",this).call(this,l)}this._unsubscribeAndRecycle();var s=new nt(this,void 0,void 0);this.add(s),Fn(this,o,void 0,void 0,s)}}}]),e}(gn);function Wd(n){return function(e){return 0===n?Sp():e.lift(new wH(n))}}var wH=function(){function n(i){if(c(this,n),this.total=i,this.total<0)throw new bD}return d(n,[{key:"call",value:function(e,t){return t.subscribe(new SH(e,this.total))}}]),n}(),SH=function(n){h(e,n);var i=y(e);function e(t,a){var o;return c(this,e),(o=i.call(this,t)).total=a,o.ring=new Array,o.count=0,o}return d(e,[{key:"_next",value:function(a){var o=this.ring,s=this.total,l=this.count++;o.length0)for(var s=this.count>=this.total?this.total:this.count,l=this.ring,u=0;u0&&void 0!==arguments[0]?arguments[0]:LH;return function(i){return i.lift(new DH(n))}}var DH=function(){function n(i){c(this,n),this.errorFactory=i}return d(n,[{key:"call",value:function(e,t){return t.subscribe(new TH(e,this.errorFactory))}}]),n}(),TH=function(n){h(e,n);var i=y(e);function e(t,a){var o;return c(this,e),(o=i.call(this,t)).errorFactory=a,o.hasValue=!1,o}return d(e,[{key:"_next",value:function(a){this.hasValue=!0,this.destination.next(a)}},{key:"_complete",value:function(){if(this.hasValue)return this.destination.complete();var a;try{a=this.errorFactory()}catch(o){a=o}this.destination.error(a)}}]),e}(St);function LH(){return new wp}function Sy(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(i){return i.lift(new EH(n))}}var EH=function(){function n(i){c(this,n),this.defaultValue=i}return d(n,[{key:"call",value:function(e,t){return t.subscribe(new PH(e,this.defaultValue))}}]),n}(),PH=function(n){h(e,n);var i=y(e);function e(t,a){var o;return c(this,e),(o=i.call(this,t)).defaultValue=a,o.isEmpty=!0,o}return d(e,[{key:"_next",value:function(a){this.isEmpty=!1,this.destination.next(a)}},{key:"_complete",value:function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}]),e}(St);function Qu(n,i){var e=arguments.length>=2;return function(t){return t.pipe(n?Ir(function(a,o){return n(a,o,t)}):js,nr(1),e?Sy(i):kD(function(){return new wp}))}}function Fr(n,i,e){return function(a){return a.lift(new OH(n,i,e))}}var OH=function(){function n(i,e,t){c(this,n),this.nextOrObserver=i,this.error=e,this.complete=t}return d(n,[{key:"call",value:function(e,t){return t.subscribe(new IH(e,this.nextOrObserver,this.error,this.complete))}}]),n}(),IH=function(n){h(e,n);var i=y(e);function e(t,a,o,s){var l;return c(this,e),(l=i.call(this,t))._tapNext=se,l._tapError=se,l._tapComplete=se,l._tapError=o||se,l._tapComplete=s||se,He(a)?(l._context=x(l),l._tapNext=a):a&&(l._context=a,l._tapNext=a.next||se,l._tapError=a.error||se,l._tapComplete=a.complete||se),l}return d(e,[{key:"_next",value:function(a){try{this._tapNext.call(this._context,a)}catch(o){return void this.destination.error(o)}this.destination.next(a)}},{key:"_error",value:function(a){try{this._tapError.call(this._context,a)}catch(o){return void this.destination.error(o)}this.destination.error(a)}},{key:"_complete",value:function(){try{this._tapComplete.call(this._context)}catch(a){return void this.destination.error(a)}return this.destination.complete()}}]),e}(St);function MD(n){return function(i){return i.lift(new AH(n))}}var AH=function(){function n(i){c(this,n),this.callback=i}return d(n,[{key:"call",value:function(e,t){return t.subscribe(new FH(e,this.callback))}}]),n}(),FH=function(n){h(e,n);var i=y(e);function e(t,a){var o;return c(this,e),(o=i.call(this,t)).add(new Ne(a)),o}return d(e)}(St),qo=d(function n(i,e){c(this,n),this.id=i,this.url=e}),Dy=function(n){h(e,n);var i=y(e);function e(t,a){var o,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"imperative",l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return c(this,e),(o=i.call(this,t,a)).navigationTrigger=s,o.restoredState=l,o}return d(e,[{key:"toString",value:function(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),e}(qo),Ju=function(n){h(e,n);var i=y(e);function e(t,a,o){var s;return c(this,e),(s=i.call(this,t,a)).urlAfterRedirects=o,s}return d(e,[{key:"toString",value:function(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}]),e}(qo),CD=function(n){h(e,n);var i=y(e);function e(t,a,o){var s;return c(this,e),(s=i.call(this,t,a)).reason=o,s}return d(e,[{key:"toString",value:function(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),e}(qo),RH=function(n){h(e,n);var i=y(e);function e(t,a,o){var s;return c(this,e),(s=i.call(this,t,a)).error=o,s}return d(e,[{key:"toString",value:function(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}]),e}(qo),NH=function(n){h(e,n);var i=y(e);function e(t,a,o,s){var l;return c(this,e),(l=i.call(this,t,a)).urlAfterRedirects=o,l.state=s,l}return d(e,[{key:"toString",value:function(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),e}(qo),YH=function(n){h(e,n);var i=y(e);function e(t,a,o,s){var l;return c(this,e),(l=i.call(this,t,a)).urlAfterRedirects=o,l.state=s,l}return d(e,[{key:"toString",value:function(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),e}(qo),HH=function(n){h(e,n);var i=y(e);function e(t,a,o,s,l){var u;return c(this,e),(u=i.call(this,t,a)).urlAfterRedirects=o,u.state=s,u.shouldActivate=l,u}return d(e,[{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,")")}}]),e}(qo),BH=function(n){h(e,n);var i=y(e);function e(t,a,o,s){var l;return c(this,e),(l=i.call(this,t,a)).urlAfterRedirects=o,l.state=s,l}return d(e,[{key:"toString",value:function(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),e}(qo),VH=function(n){h(e,n);var i=y(e);function e(t,a,o,s){var l;return c(this,e),(l=i.call(this,t,a)).urlAfterRedirects=o,l.state=s,l}return d(e,[{key:"toString",value:function(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),e}(qo),wD=function(){function n(i){c(this,n),this.route=i}return d(n,[{key:"toString",value:function(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}]),n}(),SD=function(){function n(i){c(this,n),this.route=i}return d(n,[{key:"toString",value:function(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}]),n}(),jH=function(){function n(i){c(this,n),this.snapshot=i}return d(n,[{key:"toString",value:function(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),n}(),UH=function(){function n(i){c(this,n),this.snapshot=i}return d(n,[{key:"toString",value:function(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),n}(),zH=function(){function n(i){c(this,n),this.snapshot=i}return d(n,[{key:"toString",value:function(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),n}(),WH=function(){function n(i){c(this,n),this.snapshot=i}return d(n,[{key:"toString",value:function(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),n}(),DD=function(){function n(i,e,t){c(this,n),this.routerEvent=i,this.position=e,this.anchor=t}return d(n,[{key:"toString",value:function(){var e=this.position?"".concat(this.position[0],", ").concat(this.position[1]):null;return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(e,"')")}}]),n}(),qt="primary",GH=function(){function n(i){c(this,n),this.params=i||{}}return d(n,[{key:"has",value:function(e){return Object.prototype.hasOwnProperty.call(this.params,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)}}]),n}();function Xu(n){return new GH(n)}var TD="ngNavigationCancelingError";function Ty(n){var i=Error("NavigationCancelingError: "+n);return i[TD]=!0,i}function KH(n,i,e){var t=e.path.split("/");if(t.length>n.length||"full"===e.pathMatch&&(i.hasChildren()||t.length0?n[n.length-1]:null}function oi(n,i){for(var e in n)n.hasOwnProperty(e)&&i(n[e],e)}function So(n){return qg(n)?n:Md(n)?it(Promise.resolve(n)):Je(n)}var QH={exact:function ID(n,i,e){if(!pl(n.segments,i.segments)||!Lp(n.segments,i.segments,e)||n.numberOfChildren!==i.numberOfChildren)return!1;for(var t in i.children)if(!n.children[t]||!ID(n.children[t],i.children[t],e))return!1;return!0},subset:AD},xD={exact:function JH(n,i){return wo(n,i)},subset:function XH(n,i){return Object.keys(i).length<=Object.keys(n).length&&Object.keys(i).every(function(e){return LD(n[e],i[e])})},ignored:function(){return!0}};function OD(n,i,e){return QH[e.paths](n.root,i.root,e.matrixParams)&&xD[e.queryParams](n.queryParams,i.queryParams)&&!("exact"===e.fragment&&n.fragment!==i.fragment)}function AD(n,i,e){return FD(n,i,i.segments,e)}function FD(n,i,e,t){if(n.segments.length>e.length){var a=n.segments.slice(0,e.length);return!(!pl(a,e)||i.hasChildren()||!Lp(a,e,t))}if(n.segments.length===e.length){if(!pl(n.segments,e)||!Lp(n.segments,e,t))return!1;for(var o in i.children)if(!n.children[o]||!AD(n.children[o],i.children[o],t))return!1;return!0}var s=e.slice(0,n.segments.length),l=e.slice(n.segments.length);return!!(pl(n.segments,s)&&Lp(n.segments,s,t)&&n.children[qt])&&FD(n.children[qt],i,l,t)}function Lp(n,i,e){return i.every(function(t,a){return xD[e](n[a].parameters,t.parameters)})}var hl=function(){function n(i,e,t){c(this,n),this.root=i,this.queryParams=e,this.fragment=t}return d(n,[{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=Xu(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return nB.serialize(this)}}]),n}(),rn=function(){function n(i,e){var t=this;c(this,n),this.segments=i,this.children=e,this.parent=null,oi(e,function(a,o){return a.parent=t})}return d(n,[{key:"hasChildren",value:function(){return this.numberOfChildren>0}},{key:"numberOfChildren",get:function(){return Object.keys(this.children).length}},{key:"toString",value:function(){return Ep(this)}}]),n}(),Gd=function(){function n(i,e){c(this,n),this.path=i,this.parameters=e}return d(n,[{key:"parameterMap",get:function(){return this._parameterMap||(this._parameterMap=Xu(this.parameters)),this._parameterMap}},{key:"toString",value:function(){return BD(this)}}]),n}();function pl(n,i){return n.length===i.length&&n.every(function(e,t){return e.path===i[t].path})}var RD=d(function n(){c(this,n)}),ND=function(){function n(){c(this,n)}return d(n,[{key:"parse",value:function(e){var t=new dB(e);return new hl(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}},{key:"serialize",value:function(e){var t="/".concat(qd(e.root,!0)),a=function aB(n){var i=Object.keys(n).map(function(e){var t=n[e];return Array.isArray(t)?t.map(function(a){return"".concat(Pp(e),"=").concat(Pp(a))}).join("&"):"".concat(Pp(e),"=").concat(Pp(t))}).filter(function(e){return!!e});return i.length?"?".concat(i.join("&")):""}(e.queryParams),o="string"==typeof e.fragment?"#".concat(function rB(n){return encodeURI(n)}(e.fragment)):"";return"".concat(t).concat(a).concat(o)}}]),n}(),nB=new ND;function Ep(n){return n.segments.map(function(i){return BD(i)}).join("/")}function qd(n,i){if(!n.hasChildren())return Ep(n);if(i){var e=n.children[qt]?qd(n.children[qt],!1):"",t=[];return oi(n.children,function(o,s){s!==qt&&t.push("".concat(s,":").concat(qd(o,!1)))}),t.length>0?"".concat(e,"(").concat(t.join("//"),")"):e}var a=function tB(n,i){var e=[];return oi(n.children,function(t,a){a===qt&&(e=e.concat(i(t,a)))}),oi(n.children,function(t,a){a!==qt&&(e=e.concat(i(t,a)))}),e}(n,function(o,s){return s===qt?[qd(n.children[qt],!1)]:["".concat(s,":").concat(qd(o,!1))]});return 1===Object.keys(n.children).length&&null!=n.children[qt]?"".concat(Ep(n),"/").concat(a[0]):"".concat(Ep(n),"/(").concat(a.join("//"),")")}function YD(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Pp(n){return YD(n).replace(/%3B/gi,";")}function Ly(n){return YD(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function xp(n){return decodeURIComponent(n)}function HD(n){return xp(n.replace(/\+/g,"%20"))}function BD(n){return"".concat(Ly(n.path)).concat(function iB(n){return Object.keys(n).map(function(i){return";".concat(Ly(i),"=").concat(Ly(n[i]))}).join("")}(n.parameters))}var oB=/^[^\/()?;=#]+/;function Op(n){var i=n.match(oB);return i?i[0]:""}var sB=/^[^=?&#]+/,uB=/^[^&#]+/,dB=function(){function n(i){c(this,n),this.url=i,this.remaining=i}return d(n,[{key:"parseRootSegment",value:function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new rn([],{}):new rn([],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 a={};return this.peekStartsWith("(")&&(a=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(a[qt]=new rn(e,t)),a}},{key:"parseSegment",value:function(){var e=Op(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '".concat(this.remaining,"'."));return this.capture(e),new Gd(xp(e),this.parseMatrixParams())}},{key:"parseMatrixParams",value:function(){for(var e={};this.consumeOptional(";");)this.parseParam(e);return e}},{key:"parseParam",value:function(e){var t=Op(this.remaining);if(t){this.capture(t);var a="";if(this.consumeOptional("=")){var o=Op(this.remaining);o&&this.capture(a=o)}e[xp(t)]=xp(a)}}},{key:"parseQueryParam",value:function(e){var t=function lB(n){var i=n.match(sB);return i?i[0]:""}(this.remaining);if(t){this.capture(t);var a="";if(this.consumeOptional("=")){var o=function cB(n){var i=n.match(uB);return i?i[0]:""}(this.remaining);o&&this.capture(a=o)}var s=HD(t),l=HD(a);if(e.hasOwnProperty(s)){var u=e[s];Array.isArray(u)||(e[s]=u=[u]),u.push(l)}else e[s]=l}}},{key:"parseParens",value:function(e){var t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var a=Op(this.remaining),o=this.remaining[a.length];if("/"!==o&&")"!==o&&";"!==o)throw new Error("Cannot parse url '".concat(this.url,"'"));var s=void 0;a.indexOf(":")>-1?(s=a.substr(0,a.indexOf(":")),this.capture(s),this.capture(":")):e&&(s=qt);var l=this.parseChildren();t[s]=1===Object.keys(l).length?l[qt]:new rn([],l),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,'".'))}}]),n}(),VD=function(){function n(i){c(this,n),this._root=i}return d(n,[{key:"root",get:function(){return this._root.value}},{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=Ey(e,this._root);return t?t.children.map(function(a){return a.value}):[]}},{key:"firstChild",value:function(e){var t=Ey(e,this._root);return t&&t.children.length>0?t.children[0].value:null}},{key:"siblings",value:function(e){var t=Py(e,this._root);return t.length<2?[]:t[t.length-2].children.map(function(o){return o.value}).filter(function(o){return o!==e})}},{key:"pathFromRoot",value:function(e){return Py(e,this._root).map(function(t){return t.value})}}]),n}();function Ey(n,i){if(n===i.value)return i;var t,e=W(i.children);try{for(e.s();!(t=e.n()).done;){var o=Ey(n,t.value);if(o)return o}}catch(s){e.e(s)}finally{e.f()}return null}function Py(n,i){if(n===i.value)return[i];var t,e=W(i.children);try{for(e.s();!(t=e.n()).done;){var o=Py(n,t.value);if(o.length)return o.unshift(i),o}}catch(s){e.e(s)}finally{e.f()}return[]}var Ko=function(){function n(i,e){c(this,n),this.value=i,this.children=e}return d(n,[{key:"toString",value:function(){return"TreeNode(".concat(this.value,")")}}]),n}();function ec(n){var i={};return n&&n.children.forEach(function(e){return i[e.value.outlet]=e}),i}var jD=function(n){h(e,n);var i=y(e);function e(t,a){var o;return c(this,e),(o=i.call(this,t)).snapshot=a,xy(x(o),t),o}return d(e,[{key:"toString",value:function(){return this.snapshot.toString()}}]),e}(VD);function UD(n,i){var e=function fB(n,i){var s=new Ip([],{},{},"",{},qt,i,null,n.root,-1,{});return new WD("",new Ko(s,[]))}(n,i),t=new jr([new Gd("",{})]),a=new jr({}),o=new jr({}),s=new jr({}),l=new jr(""),u=new si(t,a,s,l,o,qt,i,e.root);return u.snapshot=e.root,new jD(new Ko(u,[]),e)}var si=function(){function n(i,e,t,a,o,s,l,u){c(this,n),this.url=i,this.params=e,this.queryParams=t,this.fragment=a,this.data=o,this.outlet=s,this.component=l,this._futureSnapshot=u}return d(n,[{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($e(function(e){return Xu(e)}))),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe($e(function(e){return Xu(e)}))),this._queryParamMap}},{key:"toString",value:function(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}}]),n}();function zD(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"emptyOnly",e=n.pathFromRoot,t=0;if("always"!==i)for(t=e.length-1;t>=1;){var a=e[t],o=e[t-1];if(a.routeConfig&&""===a.routeConfig.path)t--;else{if(o.component)break;t--}}return hB(e.slice(t))}function hB(n){return n.reduce(function(i,e){return{params:Object.assign(Object.assign({},i.params),e.params),data:Object.assign(Object.assign({},i.data),e.data),resolve:Object.assign(Object.assign({},i.resolve),e._resolvedData)}},{params:{},data:{},resolve:{}})}var Ip=function(){function n(i,e,t,a,o,s,l,u,f,m,C){c(this,n),this.url=i,this.params=e,this.queryParams=t,this.fragment=a,this.data=o,this.outlet=s,this.component=l,this.routeConfig=u,this._urlSegment=f,this._lastPathIndex=m,this._resolve=C}return d(n,[{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=Xu(this.params)),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=Xu(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){var e=this.url.map(function(a){return a.toString()}).join("/"),t=this.routeConfig?this.routeConfig.path:"";return"Route(url:'".concat(e,"', path:'").concat(t,"')")}}]),n}(),WD=function(n){h(e,n);var i=y(e);function e(t,a){var o;return c(this,e),(o=i.call(this,a)).url=t,xy(x(o),a),o}return d(e,[{key:"toString",value:function(){return GD(this._root)}}]),e}(VD);function xy(n,i){i.value._routerState=n,i.children.forEach(function(e){return xy(n,e)})}function GD(n){var i=n.children.length>0?" { ".concat(n.children.map(GD).join(", ")," } "):"";return"".concat(n.value).concat(i)}function Oy(n){if(n.snapshot){var i=n.snapshot,e=n._futureSnapshot;n.snapshot=e,wo(i.queryParams,e.queryParams)||n.queryParams.next(e.queryParams),i.fragment!==e.fragment&&n.fragment.next(e.fragment),wo(i.params,e.params)||n.params.next(e.params),function $H(n,i){if(n.length!==i.length)return!1;for(var e=0;ea;){if(o-=a,!(t=t.parent))throw new Error("Invalid number of '../'");a=t.segments.length}return new Fy(t,!1,a-o)}(e.snapshot._urlSegment,e.snapshot._lastPathIndex+o,n.numberOfDoubleDots)}(o,i,n),l=s.processChildren?Fp(s.segmentGroup,s.index,o.commands):$D(s.segmentGroup,s.index,o.commands);return Ay(s.segmentGroup,l,i,t,a)}function Ap(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function $d(n){return"object"==typeof n&&null!=n&&n.outlets}function Ay(n,i,e,t,a){var o={};return t&&oi(t,function(s,l){o[l]=Array.isArray(s)?s.map(function(u){return"".concat(u)}):"".concat(s)}),new hl(e.root===n?i:qD(e.root,n,i),o,a)}function qD(n,i,e){var t={};return oi(n.children,function(a,o){t[o]=a===i?e:qD(a,i,e)}),new rn(n.segments,t)}var KD=function(){function n(i,e,t){if(c(this,n),this.isAbsolute=i,this.numberOfDoubleDots=e,this.commands=t,i&&t.length>0&&Ap(t[0]))throw new Error("Root segment cannot have matrix parameters");var a=t.find($d);if(a&&a!==PD(t))throw new Error("{outlets:{}} has to be the last command")}return d(n,[{key:"toRoot",value:function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}]),n}(),Fy=d(function n(i,e,t){c(this,n),this.segmentGroup=i,this.processChildren=e,this.index=t});function $D(n,i,e){if(n||(n=new rn([],{})),0===n.segments.length&&n.hasChildren())return Fp(n,i,e);var t=function MB(n,i,e){for(var t=0,a=i,o={match:!1,pathIndex:0,commandIndex:0};a=e.length)return o;var s=n.segments[a],l=e[t];if($d(l))break;var u="".concat(l),f=t0&&void 0===u)break;if(u&&f&&"object"==typeof f&&void 0===f.outlets){if(!QD(u,f,s))return o;t+=2}else{if(!QD(u,{},s))return o;t++}a++}return{match:!0,pathIndex:a,commandIndex:t}}(n,i,e),a=e.slice(t.commandIndex);if(t.match&&t.pathIndex1&&void 0!==arguments[1]?arguments[1]:"",e=0;e0)?Object.assign({},tT):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};var o=(i.matcher||KH)(e,n,i);if(!o)return Object.assign({},tT);var s={};oi(o.posParams,function(u,f){s[f]=u.path});var l=o.consumed.length>0?Object.assign(Object.assign({},s),o.consumed[o.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:o.consumed,remainingSegments:e.slice(o.consumed.length),parameters:l,positionalParamSegments:null!==(t=o.posParams)&&void 0!==t?t:{}}}function Yp(n,i,e,t){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"corrected";if(e.length>0&&YB(n,e,t)){var o=new rn(i,NB(n,i,t,new rn(e,n.children)));return o._sourceSegment=n,o._segmentIndexShift=i.length,{segmentGroup:o,slicedSegments:[]}}if(0===e.length&&HB(n,e,t)){var s=new rn(n.segments,RB(n,i,e,t,n.children,a));return s._sourceSegment=n,s._segmentIndexShift=i.length,{segmentGroup:s,slicedSegments:e}}var l=new rn(n.segments,n.children);return l._sourceSegment=n,l._segmentIndexShift=i.length,{segmentGroup:l,slicedSegments:e}}function RB(n,i,e,t,a,o){var u,s={},l=W(t);try{for(l.s();!(u=l.n()).done;){var f=u.value;if(Hp(n,e,f)&&!a[xa(f)]){var m=new rn([],{});m._sourceSegment=n,m._segmentIndexShift="legacy"===o?n.segments.length:i.length,s[xa(f)]=m}}}catch(C){l.e(C)}finally{l.f()}return Object.assign(Object.assign({},a),s)}function NB(n,i,e,t){var a={};a[qt]=t,t._sourceSegment=n,t._segmentIndexShift=i.length;var s,o=W(e);try{for(o.s();!(s=o.n()).done;){var l=s.value;if(""===l.path&&xa(l)!==qt){var u=new rn([],{});u._sourceSegment=n,u._segmentIndexShift=i.length,a[xa(l)]=u}}}catch(f){o.e(f)}finally{o.f()}return a}function YB(n,i,e){return e.some(function(t){return Hp(n,i,t)&&xa(t)!==qt})}function HB(n,i,e){return e.some(function(t){return Hp(n,i,t)})}function Hp(n,i,e){return(!(n.hasChildren()||i.length>0)||"full"!==e.pathMatch)&&""===e.path}function nT(n,i,e,t){return!!(xa(n)===t||t!==qt&&Hp(i,e,n))&&("**"===n.path||Np(i,n,e).matched)}function rT(n,i,e){return 0===i.length&&!n.children[e]}var Xd=d(function n(i){c(this,n),this.segmentGroup=i||null}),iT=d(function n(i){c(this,n),this.urlTree=i});function Bp(n){return Ni(new Xd(n))}function aT(n){return Ni(new iT(n))}function BB(n){return Ni(new Error("Only absolute redirects can have named outlets. redirectTo: '".concat(n,"'")))}var UB=function(){function n(i,e,t,a,o){c(this,n),this.configLoader=e,this.urlSerializer=t,this.urlTree=a,this.config=o,this.allowRedirects=!0,this.ngModule=i.get(Vo)}return d(n,[{key:"apply",value:function(){var e=this,t=Yp(this.urlTree.root,[],[],this.config).segmentGroup,a=new rn(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,a,qt).pipe($e(function(l){return e.createUrlTree(Hy(l),e.urlTree.queryParams,e.urlTree.fragment)})).pipe(Ki(function(l){if(l instanceof iT)return e.allowRedirects=!1,e.match(l.urlTree);throw l instanceof Xd?e.noMatchError(l):l}))}},{key:"match",value:function(e){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,e.root,qt).pipe($e(function(s){return t.createUrlTree(Hy(s),e.queryParams,e.fragment)})).pipe(Ki(function(s){throw s instanceof Xd?t.noMatchError(s):s}))}},{key:"noMatchError",value:function(e){return new Error("Cannot match any routes. URL Segment: '".concat(e.segmentGroup,"'"))}},{key:"createUrlTree",value:function(e,t,a){var o=e.segments.length>0?new rn([],Z({},qt,e)):e;return new hl(o,t,a)}},{key:"expandSegmentGroup",value:function(e,t,a,o){return 0===a.segments.length&&a.hasChildren()?this.expandChildren(e,t,a).pipe($e(function(s){return new rn([],s)})):this.expandSegment(e,a,t,a.segments,o,!0)}},{key:"expandChildren",value:function(e,t,a){for(var o=this,s=[],l=0,u=Object.keys(a.children);l=2;return function(t){return t.pipe(n?Ir(function(a,o){return n(a,o,t)}):js,Wd(1),e?Sy(i):kD(function(){return new wp}))}}())}},{key:"expandSegment",value:function(e,t,a,o,s,l){var u=this;return it(a).pipe(Ku(function(f){return u.expandSegmentAgainstRoute(e,t,a,f,o,s,l).pipe(Ki(function(C){if(C instanceof Xd)return Je(null);throw C}))}),Qu(function(f){return!!f}),Ki(function(f,m){if(f instanceof wp||"EmptyError"===f.name){if(rT(t,o,s))return Je(new rn([],{}));throw new Xd(t)}throw f}))}},{key:"expandSegmentAgainstRoute",value:function(e,t,a,o,s,l,u){return nT(o,t,s,l)?void 0===o.redirectTo?this.matchSegmentAgainstRoute(e,t,o,s,l):u&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,a,o,s,l):Bp(t):Bp(t)}},{key:"expandSegmentAgainstRouteUsingRedirect",value:function(e,t,a,o,s,l){return"**"===o.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,a,o,l):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,a,o,s,l)}},{key:"expandWildCardWithParamsAgainstRouteUsingRedirect",value:function(e,t,a,o){var s=this,l=this.applyRedirectCommands([],a.redirectTo,{});return a.redirectTo.startsWith("/")?aT(l):this.lineralizeSegments(a,l).pipe(Dn(function(u){var f=new rn(u,{});return s.expandSegment(e,f,t,u,o,!1)}))}},{key:"expandRegularSegmentAgainstRouteUsingRedirect",value:function(e,t,a,o,s,l){var u=this,f=Np(t,o,s),C=f.consumedSegments,A=f.remainingSegments,V=f.positionalParamSegments;if(!f.matched)return Bp(t);var J=this.applyRedirectCommands(C,o.redirectTo,V);return o.redirectTo.startsWith("/")?aT(J):this.lineralizeSegments(o,J).pipe(Dn(function(me){return u.expandSegment(e,t,a,me.concat(A),l,!1)}))}},{key:"matchSegmentAgainstRoute",value:function(e,t,a,o,s){var l=this;if("**"===a.path)return a.loadChildren?(a._loadedConfig?Je(a._loadedConfig):this.configLoader.load(e.injector,a)).pipe($e(function(J){return a._loadedConfig=J,new rn(o,{})})):Je(new rn(o,{}));var f=Np(t,a,o),C=f.consumedSegments,A=f.remainingSegments;return f.matched?this.getChildConfig(e,a,o).pipe(Dn(function(J){var me=J.module,Ce=J.routes,Le=Yp(t,C,A,Ce),pe=Le.segmentGroup,Re=Le.slicedSegments,Ye=new rn(pe.segments,pe.children);if(0===Re.length&&Ye.hasChildren())return l.expandChildren(me,Ce,Ye).pipe($e(function(sn){return new rn(C,sn)}));if(0===Ce.length&&0===Re.length)return Je(new rn(C,{}));var rt=xa(a)===s;return l.expandSegment(me,Ye,Ce,Re,rt?qt:s,!0).pipe($e(function(sn){return new rn(C.concat(sn.segments),sn.children)}))})):Bp(t)}},{key:"getChildConfig",value:function(e,t,a){var o=this;return t.children?Je(new Ny(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?Je(t._loadedConfig):this.runCanLoadGuards(e.injector,t,a).pipe(Dn(function(s){return s?o.configLoader.load(e.injector,t).pipe($e(function(l){return t._loadedConfig=l,l})):function VB(n){return Ni(Ty("Cannot load children because the guard of the route \"path: '".concat(n.path,"'\" returned false")))}(t)})):Je(new Ny([],e))}},{key:"runCanLoadGuards",value:function(e,t,a){var o=this,s=t.canLoad;if(!s||0===s.length)return Je(!0);var l=s.map(function(u){var m,f=e.get(u);if(function LB(n){return n&&xs(n.canLoad)}(f))m=f.canLoad(t,a);else{if(!xs(f))throw new Error("Invalid CanLoad guard");m=f(t,a)}return So(m)});return Je(l).pipe(Qd(),Fr(function(u){if(vl(u)){var f=Ty('Redirecting to "'.concat(o.urlSerializer.serialize(u),'"'));throw f.url=u,f}}),$e(function(u){return!0===u}))}},{key:"lineralizeSegments",value:function(e,t){for(var a=[],o=t.root;;){if(a=a.concat(o.segments),0===o.numberOfChildren)return Je(a);if(o.numberOfChildren>1||!o.children[qt])return BB(e.redirectTo);o=o.children[qt]}}},{key:"applyRedirectCommands",value:function(e,t,a){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,a)}},{key:"applyRedirectCreatreUrlTree",value:function(e,t,a,o){var s=this.createSegmentGroup(e,t.root,a,o);return new hl(s,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}},{key:"createQueryParams",value:function(e,t){var a={};return oi(e,function(o,s){if("string"==typeof o&&o.startsWith(":")){var u=o.substring(1);a[s]=t[u]}else a[s]=o}),a}},{key:"createSegmentGroup",value:function(e,t,a,o){var s=this,l=this.createSegments(e,t.segments,a,o),u={};return oi(t.children,function(f,m){u[m]=s.createSegmentGroup(e,f,a,o)}),new rn(l,u)}},{key:"createSegments",value:function(e,t,a,o){var s=this;return t.map(function(l){return l.path.startsWith(":")?s.findPosParam(e,l,o):s.findOrReturn(l,a)})}},{key:"findPosParam",value:function(e,t,a){var o=a[t.path.substring(1)];if(!o)throw new Error("Cannot redirect to '".concat(e,"'. Cannot find '").concat(t.path,"'."));return o}},{key:"findOrReturn",value:function(e,t){var s,a=0,o=W(t);try{for(o.s();!(s=o.n()).done;){var l=s.value;if(l.path===e.path)return t.splice(a),l;a++}}catch(u){o.e(u)}finally{o.f()}return e}}]),n}();function Hy(n){for(var i={},e=0,t=Object.keys(n.children);e0||s.hasChildren())&&(i[a]=s)}return function zB(n){if(1===n.numberOfChildren&&n.children[qt]){var i=n.children[qt];return new rn(n.segments.concat(i.segments),i.children)}return n}(new rn(n.segments,i))}var oT=d(function n(i){c(this,n),this.path=i,this.route=this.path[this.path.length-1]}),Vp=d(function n(i,e){c(this,n),this.component=i,this.route=e});function GB(n,i,e){var t=n._root;return ef(t,i?i._root:null,e,[t.value])}function jp(n,i,e){var t=function KB(n){if(!n)return null;for(var i=n.parent;i;i=i.parent){var e=i.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(i);return(t?t.module.injector:e).get(n)}function ef(n,i,e,t){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=ec(i);return n.children.forEach(function(s){$B(s,o[s.value.outlet],e,t.concat([s.value]),a),delete o[s.value.outlet]}),oi(o,function(s,l){return tf(s,e.getContext(l),a)}),a}function $B(n,i,e,t){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=n.value,s=i?i.value:null,l=e?e.getContext(n.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){var u=ZB(s,o,o.routeConfig.runGuardsAndResolvers);u?a.canActivateChecks.push(new oT(t)):(o.data=s.data,o._resolvedData=s._resolvedData),ef(n,i,o.component?l?l.children:null:e,t,a),u&&l&&l.outlet&&l.outlet.isActivated&&a.canDeactivateChecks.push(new Vp(l.outlet.component,s))}else s&&tf(i,l,a),a.canActivateChecks.push(new oT(t)),ef(n,null,o.component?l?l.children:null:e,t,a);return a}function ZB(n,i,e){if("function"==typeof e)return e(n,i);switch(e){case"pathParamsChange":return!pl(n.url,i.url);case"pathParamsOrQueryParamsChange":return!pl(n.url,i.url)||!wo(n.queryParams,i.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Iy(n,i)||!wo(n.queryParams,i.queryParams);default:return!Iy(n,i)}}function tf(n,i,e){var t=ec(n),a=n.value;oi(t,function(o,s){tf(o,a.component?i?i.children.getContext(s):null:i,e)}),e.canDeactivateChecks.push(new Vp(a.component&&i&&i.outlet&&i.outlet.isActivated?i.outlet.component:null,a))}var aV=d(function n(){c(this,n)});function sT(n){return new fe(function(i){return i.error(n)})}var sV=function(){function n(i,e,t,a,o,s){c(this,n),this.rootComponentType=i,this.config=e,this.urlTree=t,this.url=a,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=s}return d(n,[{key:"recognize",value:function(){var e=Yp(this.urlTree.root,[],[],this.config.filter(function(l){return void 0===l.redirectTo}),this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,qt);if(null===t)return null;var a=new Ip([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},qt,this.rootComponentType,null,this.urlTree.root,-1,{}),o=new Ko(a,t),s=new WD(this.url,o);return this.inheritParamsAndData(s._root),s}},{key:"inheritParamsAndData",value:function(e){var t=this,a=e.value,o=zD(a,this.paramsInheritanceStrategy);a.params=Object.freeze(o.params),a.data=Object.freeze(o.data),e.children.forEach(function(s){return t.inheritParamsAndData(s)})}},{key:"processSegmentGroup",value:function(e,t,a){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,a)}},{key:"processChildren",value:function(e,t){for(var a=[],o=0,s=Object.keys(t.children);o0?PD(a).parameters:{};s=new Ip(a,f,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,dT(e),xa(e),e.component,e,uT(t),cT(t)+a.length,fT(e))}else{var m=Np(t,e,a);if(!m.matched)return null;u=m.remainingSegments,s=new Ip(l=m.consumedSegments,m.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,dT(e),xa(e),e.component,e,uT(t),cT(t)+l.length,fT(e))}var C=function uV(n){return n.children?n.children:n.loadChildren?n._loadedConfig.routes:[]}(e),A=Yp(t,l,u,C.filter(function(pe){return void 0===pe.redirectTo}),this.relativeLinkResolution),V=A.segmentGroup,J=A.slicedSegments;if(0===J.length&&V.hasChildren()){var me=this.processChildren(C,V);return null===me?null:[new Ko(s,me)]}if(0===C.length&&0===J.length)return[new Ko(s,[])];var Ce=xa(e)===o,Le=this.processSegment(C,V,J,Ce?qt:o);return null===Le?null:[new Ko(s,Le)]}}]),n}();function lT(n){var a,i=[],e=new Set,t=W(n);try{var o=function(){var A=a.value;if(!function cV(n){var i=n.value.routeConfig;return i&&""===i.path&&void 0===i.redirectTo}(A))return i.push(A),"continue";var J,V=i.find(function(me){return A.value.routeConfig===me.value.routeConfig});void 0!==V?((J=V.children).push.apply(J,ae(A.children)),e.add(V)):i.push(A)};for(t.s();!(a=t.n()).done;)o()}catch(C){t.e(C)}finally{t.f()}var u,l=W(e);try{for(l.s();!(u=l.n()).done;){var f=u.value,m=lT(f.children);i.push(new Ko(f.value,m))}}catch(C){l.e(C)}finally{l.f()}return i.filter(function(C){return!e.has(C)})}function uT(n){for(var i=n;i._sourceSegment;)i=i._sourceSegment;return i}function cT(n){for(var i=n,e=i._segmentIndexShift?i._segmentIndexShift:0;i._sourceSegment;)e+=(i=i._sourceSegment)._segmentIndexShift?i._segmentIndexShift:0;return e-1}function dT(n){return n.data||{}}function fT(n){return n.resolve||{}}function hT(n){return[].concat(ae(Object.keys(n)),ae(Object.getOwnPropertySymbols(n)))}function By(n){return fa(function(i){var e=n(i);return e?it(e).pipe($e(function(){return i})):Je(i)})}var pT=d(function n(){c(this,n)}),mV=function(){function n(){c(this,n)}return d(n,[{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}}]),n}(),gV=function(n){h(e,n);var i=y(e);function e(){return c(this,e),i.apply(this,arguments)}return d(e)}(mV),Vy=new Ze("ROUTES"),vT=function(){function n(i,e,t,a){c(this,n),this.injector=i,this.compiler=e,this.onLoadStartListener=t,this.onLoadEndListener=a}return d(n,[{key:"load",value:function(e,t){var a=this;if(t._loader$)return t._loader$;this.onLoadStartListener&&this.onLoadStartListener(t);var s=this.loadModuleFactory(t.loadChildren).pipe($e(function(l){a.onLoadEndListener&&a.onLoadEndListener(t);var u=l.create(e);return new Ny(ED(u.injector.get(Vy,void 0,Ct.Self|Ct.Optional)).map(Yy),u)}),Ki(function(l){throw t._loader$=void 0,l}));return t._loader$=new dr(s,function(){return new Ae}).pipe(wi()),t._loader$}},{key:"loadModuleFactory",value:function(e){var t=this;return So(e()).pipe(Dn(function(a){return a instanceof SC?Je(a):it(t.compiler.compileModuleAsync(a))}))}}]),n}(),_V=d(function n(){c(this,n)}),yV=function(){function n(){c(this,n)}return d(n,[{key:"shouldProcessUrl",value:function(e){return!0}},{key:"extract",value:function(e){return e}},{key:"merge",value:function(e,t){return e}}]),n}();function bV(n){throw n}function kV(n,i,e){return i.parse("/")}function mT(n,i){return Je(null)}var MV={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},CV={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},an=function(){var n=function(){function i(e,t,a,o,s,l,u){var f=this;c(this,i),this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=a,this.location=o,this.config=u,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new Ae,this.errorHandler=bV,this.malformedUriErrorHandler=kV,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:mT,afterPreactivation:mT},this.urlHandlingStrategy=new yV,this.routeReuseStrategy=new gV,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=s.get(Vo),this.console=s.get(sw);var A=s.get(bt);this.isNgZoneEnabled=A instanceof bt&&bt.isInAngularZone(),this.resetConfig(u),this.currentUrlTree=function ZH(){return new hl(new rn([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new vT(s,l,function(J){return f.triggerEvent(new wD(J))},function(J){return f.triggerEvent(new SD(J))}),this.routerState=UD(this.currentUrlTree,this.rootComponentType),this.transitions=new jr({id:0,targetPageId: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 d(i,[{key:"browserPageId",get:function(){var t;return null===(t=this.location.getState())||void 0===t?void 0:t.\u0275routerPageId}},{key:"setupNavigations",value:function(t){var a=this,o=this.events;return t.pipe(Ir(function(s){return 0!==s.id}),$e(function(s){return Object.assign(Object.assign({},s),{extractedUrl:a.urlHandlingStrategy.extract(s.rawUrl)})}),fa(function(s){var l=!1,u=!1;return Je(s).pipe(Fr(function(f){a.currentNavigation={id:f.id,initialUrl:f.currentRawUrl,extractedUrl:f.extractedUrl,trigger:f.source,extras:f.extras,previousNavigation:a.lastSuccessfulNavigation?Object.assign(Object.assign({},a.lastSuccessfulNavigation),{previousNavigation:null}):null}}),fa(function(f){var m=a.browserUrlTree.toString(),C=!a.navigated||f.extractedUrl.toString()!==m||m!==a.currentUrlTree.toString();if(("reload"===a.onSameUrlNavigation||C)&&a.urlHandlingStrategy.shouldProcessUrl(f.rawUrl))return Up(f.source)&&(a.browserUrlTree=f.extractedUrl),Je(f).pipe(fa(function(Ge){var rt=a.transitions.getValue();return o.next(new Dy(Ge.id,a.serializeUrl(Ge.extractedUrl),Ge.source,Ge.restoredState)),rt!==a.transitions.getValue()?fl:Promise.resolve(Ge)}),function WB(n,i,e,t){return fa(function(a){return function jB(n,i,e,t,a){return new UB(n,i,e,t,a).apply()}(n,i,e,a.extractedUrl,t).pipe($e(function(o){return Object.assign(Object.assign({},a),{urlAfterRedirects:o})}))})}(a.ngModule.injector,a.configLoader,a.urlSerializer,a.config),Fr(function(Ge){a.currentNavigation=Object.assign(Object.assign({},a.currentNavigation),{finalUrl:Ge.urlAfterRedirects})}),function dV(n,i,e,t,a){return Dn(function(o){return function oV(n,i,e,t){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"emptyOnly",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"legacy";try{var s=new sV(n,i,e,t,a,o).recognize();return null===s?sT(new aV):Je(s)}catch(l){return sT(l)}}(n,i,o.urlAfterRedirects,e(o.urlAfterRedirects),t,a).pipe($e(function(s){return Object.assign(Object.assign({},o),{targetSnapshot:s})}))})}(a.rootComponentType,a.config,function(Ge){return a.serializeUrl(Ge)},a.paramsInheritanceStrategy,a.relativeLinkResolution),Fr(function(Ge){if("eager"===a.urlUpdateStrategy){if(!Ge.extras.skipLocationChange){var rt=a.urlHandlingStrategy.merge(Ge.urlAfterRedirects,Ge.rawUrl);a.setBrowserUrl(rt,Ge)}a.browserUrlTree=Ge.urlAfterRedirects}var mt=new NH(Ge.id,a.serializeUrl(Ge.extractedUrl),a.serializeUrl(Ge.urlAfterRedirects),Ge.targetSnapshot);o.next(mt)}));if(C&&a.rawUrlTree&&a.urlHandlingStrategy.shouldProcessUrl(a.rawUrlTree)){var me=f.extractedUrl,Ce=f.source,Le=f.restoredState,pe=f.extras,Re=new Dy(f.id,a.serializeUrl(me),Ce,Le);o.next(Re);var Ye=UD(me,a.rootComponentType).snapshot;return Je(Object.assign(Object.assign({},f),{targetSnapshot:Ye,urlAfterRedirects:me,extras:Object.assign(Object.assign({},pe),{skipLocationChange:!1,replaceUrl:!1})}))}return a.rawUrlTree=f.rawUrl,f.resolve(null),fl}),By(function(f){var J=f.extras;return a.hooks.beforePreactivation(f.targetSnapshot,{navigationId:f.id,appliedUrlTree:f.extractedUrl,rawUrlTree:f.rawUrl,skipLocationChange:!!J.skipLocationChange,replaceUrl:!!J.replaceUrl})}),Fr(function(f){var m=new YH(f.id,a.serializeUrl(f.extractedUrl),a.serializeUrl(f.urlAfterRedirects),f.targetSnapshot);a.triggerEvent(m)}),$e(function(f){return Object.assign(Object.assign({},f),{guards:GB(f.targetSnapshot,f.currentSnapshot,a.rootContexts)})}),function QB(n,i){return Dn(function(e){var t=e.targetSnapshot,a=e.currentSnapshot,o=e.guards,s=o.canActivateChecks,l=o.canDeactivateChecks;return 0===l.length&&0===s.length?Je(Object.assign(Object.assign({},e),{guardsResult:!0})):function JB(n,i,e,t){return it(n).pipe(Dn(function(a){return function iV(n,i,e,t,a){var o=i&&i.routeConfig?i.routeConfig.canDeactivate:null;if(!o||0===o.length)return Je(!0);var s=o.map(function(l){var f,u=jp(l,i,a);if(function xB(n){return n&&xs(n.canDeactivate)}(u))f=So(u.canDeactivate(n,i,e,t));else{if(!xs(u))throw new Error("Invalid CanDeactivate guard");f=So(u(n,i,e,t))}return f.pipe(Qu())});return Je(s).pipe(Qd())}(a.component,a.route,e,i,t)}),Qu(function(a){return!0!==a},!0))}(l,t,a,n).pipe(Dn(function(u){return u&&function TB(n){return"boolean"==typeof n}(u)?function XB(n,i,e,t){return it(i).pipe(Ku(function(a){return dl(function tV(n,i){return null!==n&&i&&i(new jH(n)),Je(!0)}(a.route.parent,t),function eV(n,i){return null!==n&&i&&i(new zH(n)),Je(!0)}(a.route,t),function rV(n,i,e){var t=i[i.length-1],a=i.slice(0,i.length-1).reverse().map(function(s){return function qB(n){var i=n.routeConfig?n.routeConfig.canActivateChild:null;return i&&0!==i.length?{node:n,guards:i}:null}(s)}).filter(function(s){return null!==s}),o=a.map(function(s){return Dp(function(){var l=s.guards.map(function(u){var m,f=jp(u,s.node,e);if(function PB(n){return n&&xs(n.canActivateChild)}(f))m=So(f.canActivateChild(t,n));else{if(!xs(f))throw new Error("Invalid CanActivateChild guard");m=So(f(t,n))}return m.pipe(Qu())});return Je(l).pipe(Qd())})});return Je(o).pipe(Qd())}(n,a.path,e),function nV(n,i,e){var t=i.routeConfig?i.routeConfig.canActivate:null;if(!t||0===t.length)return Je(!0);var a=t.map(function(o){return Dp(function(){var l,s=jp(o,i,e);if(function EB(n){return n&&xs(n.canActivate)}(s))l=So(s.canActivate(i,n));else{if(!xs(s))throw new Error("Invalid CanActivate guard");l=So(s(i,n))}return l.pipe(Qu())})});return Je(a).pipe(Qd())}(n,a.route,e))}),Qu(function(a){return!0!==a},!0))}(t,s,n,i):Je(u)}),$e(function(u){return Object.assign(Object.assign({},e),{guardsResult:u})}))})}(a.ngModule.injector,function(f){return a.triggerEvent(f)}),Fr(function(f){if(vl(f.guardsResult)){var m=Ty('Redirecting to "'.concat(a.serializeUrl(f.guardsResult),'"'));throw m.url=f.guardsResult,m}var C=new HH(f.id,a.serializeUrl(f.extractedUrl),a.serializeUrl(f.urlAfterRedirects),f.targetSnapshot,!!f.guardsResult);a.triggerEvent(C)}),Ir(function(f){return!!f.guardsResult||(a.restoreHistory(f),a.cancelNavigationTransition(f,""),!1)}),By(function(f){if(f.guards.canActivateChecks.length)return Je(f).pipe(Fr(function(m){var C=new BH(m.id,a.serializeUrl(m.extractedUrl),a.serializeUrl(m.urlAfterRedirects),m.targetSnapshot);a.triggerEvent(C)}),fa(function(m){var C=!1;return Je(m).pipe(function fV(n,i){return Dn(function(e){var t=e.targetSnapshot,a=e.guards.canActivateChecks;if(!a.length)return Je(e);var o=0;return it(a).pipe(Ku(function(s){return function hV(n,i,e,t){return function pV(n,i,e,t){var a=hT(n);if(0===a.length)return Je({});var o={};return it(a).pipe(Dn(function(s){return function vV(n,i,e,t){var a=jp(n,i,t);return So(a.resolve?a.resolve(i,e):a(i,e))}(n[s],i,e,t).pipe(Fr(function(l){o[s]=l}))}),Wd(1),Dn(function(){return hT(o).length===a.length?Je(o):fl}))}(n._resolve,n,i,t).pipe($e(function(o){return n._resolvedData=o,n.data=Object.assign(Object.assign({},n.data),zD(n,e).resolve),null}))}(s.route,t,n,i)}),Fr(function(){return o++}),Wd(1),Dn(function(s){return o===a.length?Je(e):fl}))})}(a.paramsInheritanceStrategy,a.ngModule.injector),Fr({next:function(){return C=!0},complete:function(){C||(a.restoreHistory(m),a.cancelNavigationTransition(m,"At least one route resolver didn't emit any value."))}}))}),Fr(function(m){var C=new VH(m.id,a.serializeUrl(m.extractedUrl),a.serializeUrl(m.urlAfterRedirects),m.targetSnapshot);a.triggerEvent(C)}))}),By(function(f){var J=f.extras;return a.hooks.afterPreactivation(f.targetSnapshot,{navigationId:f.id,appliedUrlTree:f.extractedUrl,rawUrlTree:f.rawUrl,skipLocationChange:!!J.skipLocationChange,replaceUrl:!!J.replaceUrl})}),$e(function(f){var m=function pB(n,i,e){var t=Kd(n,i._root,e?e._root:void 0);return new jD(t,i)}(a.routeReuseStrategy,f.targetSnapshot,f.currentRouterState);return Object.assign(Object.assign({},f),{targetRouterState:m})}),Fr(function(f){a.currentUrlTree=f.urlAfterRedirects,a.rawUrlTree=a.urlHandlingStrategy.merge(f.urlAfterRedirects,f.rawUrl),a.routerState=f.targetRouterState,"deferred"===a.urlUpdateStrategy&&(f.extras.skipLocationChange||a.setBrowserUrl(a.rawUrlTree,f),a.browserUrlTree=f.urlAfterRedirects)}),function(i,e,t){return $e(function(a){return new SB(e,a.targetRouterState,a.currentRouterState,t).activate(i),a})}(a.rootContexts,a.routeReuseStrategy,function(f){return a.triggerEvent(f)}),Fr({next:function(){l=!0},complete:function(){l=!0}}),MD(function(){var f;if(!l&&!u){var m="Navigation ID ".concat(s.id," is not equal to the current navigation id ").concat(a.navigationId);a.cancelNavigationTransition(s,m)}(null===(f=a.currentNavigation)||void 0===f?void 0:f.id)===s.id&&(a.currentNavigation=null)}),Ki(function(f){if(u=!0,function qH(n){return n&&n[TD]}(f)){var m=vl(f.url);m||(a.navigated=!0,a.restoreHistory(s,!0));var C=new CD(s.id,a.serializeUrl(s.extractedUrl),f.message);o.next(C),m?setTimeout(function(){var V=a.urlHandlingStrategy.merge(f.url,a.rawUrlTree),J={skipLocationChange:s.extras.skipLocationChange,replaceUrl:"eager"===a.urlUpdateStrategy||Up(s.source)};a.scheduleNavigation(V,"imperative",null,J,{resolve:s.resolve,reject:s.reject,promise:s.promise})},0):s.resolve(!1)}else{a.restoreHistory(s,!0);var A=new RH(s.id,a.serializeUrl(s.extractedUrl),f);o.next(A);try{s.resolve(a.errorHandler(f))}catch(V){s.reject(V)}}return fl}))}))}},{key:"resetRootComponentType",value:function(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}},{key:"setTransition",value:function(t){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),t))}},{key:"initialNavigation",value:function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}},{key:"setUpLocationChangeListener",value:function(){var t=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(a){var o="popstate"===a.type?"popstate":"hashchange";"popstate"===o&&setTimeout(function(){var s,l={replaceUrl:!0},u=(null===(s=a.state)||void 0===s?void 0:s.navigationId)?a.state:null;if(u){var f=Object.assign({},u);delete f.navigationId,delete f.\u0275routerPageId,0!==Object.keys(f).length&&(l.state=f)}var m=t.parseUrl(a.url);t.scheduleNavigation(m,o,u,l)},0)}))}},{key:"url",get:function(){return this.serializeUrl(this.currentUrlTree)}},{key:"getCurrentNavigation",value:function(){return this.currentNavigation}},{key:"triggerEvent",value:function(t){this.events.next(t)}},{key:"resetConfig",value:function(t){XD(t),this.config=t.map(Yy),this.navigated=!1,this.lastSuccessfulId=-1}},{key:"ngOnDestroy",value:function(){this.dispose()}},{key:"dispose",value:function(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}},{key:"createUrlTree",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=a.relativeTo,s=a.queryParams,l=a.fragment,u=a.queryParamsHandling,f=a.preserveFragment,m=o||this.routerState.root,C=f?this.currentUrlTree.fragment:l,A=null;switch(u){case"merge":A=Object.assign(Object.assign({},this.currentUrlTree.queryParams),s);break;case"preserve":A=this.currentUrlTree.queryParams;break;default:A=s||null}return null!==A&&(A=this.removeEmptyProps(A)),gB(m,this.currentUrlTree,t,A,null!=C?C:null)}},{key:"navigateByUrl",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1},o=vl(t)?t:this.parseUrl(t),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,"imperative",null,a)}},{key:"navigate",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};return wV(t),this.navigateByUrl(this.createUrlTree(t,a),a)}},{key:"serializeUrl",value:function(t){return this.urlSerializer.serialize(t)}},{key:"parseUrl",value:function(t){var a;try{a=this.urlSerializer.parse(t)}catch(o){a=this.malformedUriErrorHandler(o,this.urlSerializer,t)}return a}},{key:"isActive",value:function(t,a){var o;if(o=!0===a?Object.assign({},MV):!1===a?Object.assign({},CV):a,vl(t))return OD(this.currentUrlTree,t,o);var s=this.parseUrl(t);return OD(this.currentUrlTree,s,o)}},{key:"removeEmptyProps",value:function(t){return Object.keys(t).reduce(function(a,o){var s=t[o];return null!=s&&(a[o]=s),a},{})}},{key:"processNavigations",value:function(){var t=this;this.navigations.subscribe(function(a){t.navigated=!0,t.lastSuccessfulId=a.id,t.currentPageId=a.targetPageId,t.events.next(new Ju(a.id,t.serializeUrl(a.extractedUrl),t.serializeUrl(t.currentUrlTree))),t.lastSuccessfulNavigation=t.currentNavigation,a.resolve(!0)},function(a){t.console.warn("Unhandled Navigation Error: ".concat(a))})}},{key:"scheduleNavigation",value:function(t,a,o,s,l){var u,f,m;if(this.disposed)return Promise.resolve(!1);var Ce,Le,pe,C=this.transitions.value,A=Up(a)&&C&&!Up(C.source),V=C.rawUrl.toString()===t.toString(),J=C.id===(null===(u=this.currentNavigation)||void 0===u?void 0:u.id);if(A&&V&&J)return Promise.resolve(!0);l?(Ce=l.resolve,Le=l.reject,pe=l.promise):pe=new Promise(function(rt,mt){Ce=rt,Le=mt});var Ye,Re=++this.navigationId;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(o=this.location.getState()),Ye=o&&o.\u0275routerPageId?o.\u0275routerPageId:s.replaceUrl||s.skipLocationChange?null!==(f=this.browserPageId)&&void 0!==f?f:0:(null!==(m=this.browserPageId)&&void 0!==m?m:0)+1):Ye=0,this.setTransition({id:Re,targetPageId:Ye,source:a,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:s,resolve:Ce,reject:Le,promise:pe,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),pe.catch(function(rt){return Promise.reject(rt)})}},{key:"setBrowserUrl",value:function(t,a){var o=this.urlSerializer.serialize(t),s=Object.assign(Object.assign({},a.extras.state),this.generateNgRouterState(a.id,a.targetPageId));this.location.isCurrentPathEqualTo(o)||a.extras.replaceUrl?this.location.replaceState(o,"",s):this.location.go(o,"",s)}},{key:"restoreHistory",value:function(t){var o,s,a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if("computed"===this.canceledNavigationResolution){var l=this.currentPageId-t.targetPageId,u="popstate"===t.source||"eager"===this.urlUpdateStrategy||this.currentUrlTree===(null===(o=this.currentNavigation)||void 0===o?void 0:o.finalUrl);u&&0!==l?this.location.historyGo(l):this.currentUrlTree===(null===(s=this.currentNavigation)||void 0===s?void 0:s.finalUrl)&&0===l&&(this.resetState(t),this.browserUrlTree=t.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(a&&this.resetState(t),this.resetUrlToCurrentUrlTree())}},{key:"resetState",value:function(t){this.routerState=t.currentRouterState,this.currentUrlTree=t.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl)}},{key:"resetUrlToCurrentUrlTree",value:function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}},{key:"cancelNavigationTransition",value:function(t,a){var o=new CD(t.id,this.serializeUrl(t.extractedUrl),a);this.triggerEvent(o),t.resolve(!1)}},{key:"generateNgRouterState",value:function(t,a){return"computed"===this.canceledNavigationResolution?{navigationId:t,"\u0275routerPageId":a}:{navigationId:t}}}]),i}();return n.\u0275fac=function(e){Ru()},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}();function wV(n){for(var i=0;i2&&void 0!==arguments[2]?arguments[2]:{};c(this,i),this.router=e,this.viewportScroller=t,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration=a.scrollPositionRestoration||"disabled",a.anchorScrolling=a.anchorScrolling||"disabled"}return d(i,[{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 t=this;return this.router.events.subscribe(function(a){a instanceof Dy?(t.store[t.lastId]=t.viewportScroller.getScrollPosition(),t.lastSource=a.navigationTrigger,t.restoredId=a.restoredState?a.restoredState.navigationId:0):a instanceof Ju&&(t.lastId=a.id,t.scheduleScrollEvent(a,t.router.parseUrl(a.urlAfterRedirects).fragment))})}},{key:"consumeScrollEvents",value:function(){var t=this;return this.router.events.subscribe(function(a){a instanceof DD&&(a.position?"top"===t.options.scrollPositionRestoration?t.viewportScroller.scrollToPosition([0,0]):"enabled"===t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition(a.position):a.anchor&&"enabled"===t.options.anchorScrolling?t.viewportScroller.scrollToAnchor(a.anchor):"disabled"!==t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition([0,0]))})}},{key:"scheduleScrollEvent",value:function(t,a){this.router.triggerEvent(new DD(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,a))}},{key:"ngOnDestroy",value:function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}]),i}();return n.\u0275fac=function(e){Ru()},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),gl=new Ze("ROUTER_CONFIGURATION"),bT=new Ze("ROUTER_FORROOT_GUARD"),LV=[zu,{provide:RD,useClass:ND},{provide:an,useFactory:function IV(n,i,e,t,a,o){var s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},l=arguments.length>7?arguments[7]:void 0,u=arguments.length>8?arguments[8]:void 0,f=new an(null,n,i,e,t,a,ED(o));return l&&(f.urlHandlingStrategy=l),u&&(f.routeReuseStrategy=u),AV(s,f),s.enableTracing&&f.events.subscribe(function(m){var C,A;null===(C=console.group)||void 0===C||C.call(console,"Router Event: ".concat(m.constructor.name)),console.log(m.toString()),console.log(m),null===(A=console.groupEnd)||void 0===A||A.call(console)}),f},deps:[RD,Jd,zu,zn,lw,Vy,gl,[_V,new Va],[pT,new Va]]},Jd,{provide:si,useFactory:function FV(n){return n.routerState.root},deps:[an]},yT,_T,TV,{provide:gl,useValue:{enableTracing:!1}}];function EV(){return new hw("Router",an)}var kT=function(){var n=function(){function i(e,t){c(this,i)}return d(i,null,[{key:"forRoot",value:function(t,a){return{ngModule:i,providers:[LV,MT(t),{provide:bT,useFactory:OV,deps:[[an,new Va,new vu]]},{provide:gl,useValue:a||{}},{provide:Uu,useFactory:xV,deps:[al,[new vh(x_),new Va],gl]},{provide:Uy,useFactory:PV,deps:[an,s4,gl]},{provide:gT,useExisting:a&&a.preloadingStrategy?a.preloadingStrategy:_T},{provide:hw,multi:!0,useFactory:EV},[zy,{provide:m_,multi:!0,useFactory:RV,deps:[zy]},{provide:CT,useFactory:NV,deps:[zy]},{provide:ow,multi:!0,useExisting:CT}]]}}},{key:"forChild",value:function(t){return{ngModule:i,providers:[MT(t)]}}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(bT,8),Ee(an,8))},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({}),n}();function PV(n,i,e){return e.scrollOffset&&i.setOffset(e.scrollOffset),new Uy(n,i,e)}function xV(n,i){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.useHash?new $3(n,i):new Iw(n,i)}function OV(n){return"guarded"}function MT(n){return[{provide:PP,multi:!0,useValue:n},{provide:Vy,multi:!0,useValue:n}]}function AV(n,i){n.errorHandler&&(i.errorHandler=n.errorHandler),n.malformedUriErrorHandler&&(i.malformedUriErrorHandler=n.malformedUriErrorHandler),n.onSameUrlNavigation&&(i.onSameUrlNavigation=n.onSameUrlNavigation),n.paramsInheritanceStrategy&&(i.paramsInheritanceStrategy=n.paramsInheritanceStrategy),n.relativeLinkResolution&&(i.relativeLinkResolution=n.relativeLinkResolution),n.urlUpdateStrategy&&(i.urlUpdateStrategy=n.urlUpdateStrategy),n.canceledNavigationResolution&&(i.canceledNavigationResolution=n.canceledNavigationResolution)}var zy=function(){var n=function(){function i(e){c(this,i),this.injector=e,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new Ae}return d(i,[{key:"appInitializer",value:function(){var t=this;return this.injector.get(G3,Promise.resolve(null)).then(function(){if(t.destroyed)return Promise.resolve(!0);var o=null,s=new Promise(function(f){return o=f}),l=t.injector.get(an),u=t.injector.get(gl);return"disabled"===u.initialNavigation?(l.setUpLocationChangeListener(),o(!0)):"enabled"===u.initialNavigation||"enabledBlocking"===u.initialNavigation?(l.hooks.afterPreactivation=function(){return t.initNavigation?Je(null):(t.initNavigation=!0,o(!0),t.resultOfPreactivationDone)},l.initialNavigation()):o(!0),s})}},{key:"bootstrapListener",value:function(t){var a=this.injector.get(gl),o=this.injector.get(yT),s=this.injector.get(Uy),l=this.injector.get(an),u=this.injector.get(zh);t===u.components[0]&&(("enabledNonBlocking"===a.initialNavigation||void 0===a.initialNavigation)&&l.initialNavigation(),o.setUpPreloading(),s.init(),l.resetRootComponentType(u.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}},{key:"ngOnDestroy",value:function(){this.destroyed=!0}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(zn))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}();function RV(n){return n.appInitializer.bind(n)}function NV(n){return n.bootstrapListener.bind(n)}var CT=new Ze("Router Initializer"),HV=function(n){h(e,n);var i=y(e);function e(t,a){return c(this,e),i.call(this)}return d(e,[{key:"schedule",value:function(a){return this}}]),e}(Ne),zp=function(n){h(e,n);var i=y(e);function e(t,a){var o;return c(this,e),(o=i.call(this,t,a)).scheduler=t,o.work=a,o.pending=!1,o}return d(e,[{key:"schedule",value:function(a){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=a;var s=this.id,l=this.scheduler;return null!=s&&(this.id=this.recycleAsyncId(l,s,o)),this.pending=!0,this.delay=o,this.id=this.id||this.requestAsyncId(l,this.id,o),this}},{key:"requestAsyncId",value:function(a,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return setInterval(a.flush.bind(a,this),s)}},{key:"recycleAsyncId",value:function(a,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==s&&this.delay===s&&!1===this.pending)return o;clearInterval(o)}},{key:"execute",value:function(a,o){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var s=this._execute(a,o);if(s)return s;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(a,o){var s=!1,l=void 0;try{this.work(a)}catch(u){s=!0,l=!!u&&u||new Error(u)}if(s)return this.unsubscribe(),l}},{key:"_unsubscribe",value:function(){var a=this.id,o=this.scheduler,s=o.actions,l=s.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==l&&s.splice(l,1),null!=a&&(this.id=this.recycleAsyncId(o,a,null)),this.delay=null}}]),e}(HV),BV=function(n){h(e,n);var i=y(e);function e(t,a){var o;return c(this,e),(o=i.call(this,t,a)).scheduler=t,o.work=a,o}return d(e,[{key:"schedule",value:function(a){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return o>0?T(O(e.prototype),"schedule",this).call(this,a,o):(this.delay=o,this.state=a,this.scheduler.flush(this),this)}},{key:"execute",value:function(a,o){return o>0||this.closed?T(O(e.prototype),"execute",this).call(this,a,o):this._execute(a,o)}},{key:"requestAsyncId",value:function(a,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==s&&s>0||null===s&&this.delay>0?T(O(e.prototype),"requestAsyncId",this).call(this,a,o,s):a.flush(this)}}]),e}(zp),wT=function(){var n=function(){function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.now;c(this,i),this.SchedulerAction=e,this.now=t}return d(i,[{key:"schedule",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,t).schedule(o,a)}}]),i}();return n.now=function(){return Date.now()},n}(),Wp=function(n){h(e,n);var i=y(e);function e(t){var a,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:wT.now;return c(this,e),(a=i.call(this,t,function(){return e.delegate&&e.delegate!==x(a)?e.delegate.now():o()})).actions=[],a.active=!1,a.scheduled=void 0,a}return d(e,[{key:"schedule",value:function(a){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=arguments.length>2?arguments[2]:void 0;return e.delegate&&e.delegate!==this?e.delegate.schedule(a,o,s):T(O(e.prototype),"schedule",this).call(this,a,o,s)}},{key:"flush",value:function(a){var o=this.actions;if(this.active)o.push(a);else{var s;this.active=!0;do{if(s=a.execute(a.state,a.delay))break}while(a=o.shift());if(this.active=!1,s){for(;a=o.shift();)a.unsubscribe();throw s}}}}]),e}(wT),VV=function(n){h(e,n);var i=y(e);function e(){return c(this,e),i.apply(this,arguments)}return d(e)}(Wp),jV=new VV(BV),$o=function(){function n(i,e,t){c(this,n),this.kind=i,this.value=e,this.error=t,this.hasValue="N"===i}return d(n,[{key:"observe",value:function(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()}}},{key:"do",value:function(e,t,a){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return a&&a()}}},{key:"accept",value:function(e,t,a){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,a)}},{key:"toObservable",value:function(){switch(this.kind){case"N":return Je(this.value);case"E":return Ni(this.error);case"C":return Sp()}throw new Error("unexpected notification kind value")}}],[{key:"createNext",value:function(e){return void 0!==e?new n("N",e):n.undefinedValueNotification}},{key:"createError",value:function(e){return new n("E",void 0,e)}},{key:"createComplete",value:function(){return n.completeNotification}}]),n}();$o.completeNotification=new $o("C"),$o.undefinedValueNotification=new $o("N",void 0);var zV=function(n){h(e,n);var i=y(e);function e(t,a){var o,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return c(this,e),(o=i.call(this,t)).scheduler=a,o.delay=s,o}return d(e,[{key:"scheduleMessage",value:function(a){this.destination.add(this.scheduler.schedule(e.dispatch,this.delay,new WV(a,this.destination)))}},{key:"_next",value:function(a){this.scheduleMessage($o.createNext(a))}},{key:"_error",value:function(a){this.scheduleMessage($o.createError(a)),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleMessage($o.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(a){a.notification.observe(a.destination),this.unsubscribe()}}]),e}(St),WV=d(function n(i,e){c(this,n),this.notification=i,this.destination=e}),Za=function(n){h(e,n);var i=y(e);function e(){var t,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY,s=arguments.length>2?arguments[2]:void 0;return c(this,e),(t=i.call(this)).scheduler=s,t._events=[],t._infiniteTimeWindow=!1,t._bufferSize=a<1?1:a,t._windowTime=o<1?1:o,o===Number.POSITIVE_INFINITY?(t._infiniteTimeWindow=!0,t.next=t.nextInfiniteTimeWindow):t.next=t.nextTimeWindow,t}return d(e,[{key:"nextInfiniteTimeWindow",value:function(a){var o=this._events;o.push(a),o.length>this._bufferSize&&o.shift(),T(O(e.prototype),"next",this).call(this,a)}},{key:"nextTimeWindow",value:function(a){this._events.push(new GV(this._getNow(),a)),this._trimBufferThenGetEvents(),T(O(e.prototype),"next",this).call(this,a)}},{key:"_subscribe",value:function(a){var f,o=this._infiniteTimeWindow,s=o?this._events:this._trimBufferThenGetEvents(),l=this.scheduler,u=s.length;if(this.closed)throw new we;if(this.isStopped||this.hasError?f=Ne.EMPTY:(this.observers.push(a),f=new Pe(this,a)),l&&a.add(a=new zV(a,l)),o)for(var m=0;mo&&(f=Math.max(f,u-o)),f>0&&l.splice(0,f),l}}]),e}(Ae),GV=d(function n(i,e){c(this,n),this.time=i,this.value=e}),ST="refreshSeconds",DT="labelsData",TT="localNodesData",LT="nodesData",li=function(){return function(n){n.Node="nd",n.Transport="tp",n.DmsgServer="ds"}(li||(li={})),li}(),$i=function(){var n=function(){function i(){var e=this;c(this,i),this.currentRefreshTimeSubject=new Za(1),this.savedLocalNodes=new Map,this.savedLabels=new Map,this.savedVisibleLocalNodes=new Set,this.storage=localStorage,this.currentRefreshTime=parseInt(this.storage.getItem(ST),10)||10,this.currentRefreshTimeSubject.next(this.currentRefreshTime),this.getSavedLocalNodes().forEach(function(o){e.savedLocalNodes.set(o.publicKey,o),o.hidden||e.savedVisibleLocalNodes.add(o.publicKey)}),this.getSavedLabels().forEach(function(o){return e.savedLabels.set(o.id,o)}),this.loadLegacyNodeData();var t=[];this.savedLocalNodes.forEach(function(o){return t.push(o)});var a=[];this.savedLabels.forEach(function(o){return a.push(o)}),this.saveLocalNodes(t),this.saveLabels(a)}return d(i,[{key:"loadLegacyNodeData",value:function(){var t=this,a=JSON.parse(this.storage.getItem(LT))||[];if(a.length>0){var o=this.getSavedLocalNodes(),s=this.getSavedLabels();a.forEach(function(l){o.push({publicKey:l.publicKey,hidden:l.deleted,ip:null}),t.savedLocalNodes.set(l.publicKey,o[o.length-1]),l.deleted||t.savedVisibleLocalNodes.add(l.publicKey),s.push({id:l.publicKey,identifiedElementType:li.Node,label:l.label}),t.savedLabels.set(l.publicKey,s[s.length-1])}),this.saveLocalNodes(o),this.saveLabels(s),this.storage.removeItem(LT)}}},{key:"setRefreshTime",value:function(t){this.storage.setItem(ST,t.toString()),this.currentRefreshTime=t,this.currentRefreshTimeSubject.next(this.currentRefreshTime)}},{key:"getRefreshTimeObservable",value:function(){return this.currentRefreshTimeSubject.asObservable()}},{key:"getRefreshTime",value:function(){return this.currentRefreshTime}},{key:"includeVisibleLocalNodes",value:function(t,a){this.changeLocalNodesHiddenProperty(t,a,!1)}},{key:"setLocalNodesAsHidden",value:function(t,a){this.changeLocalNodesHiddenProperty(t,a,!0)}},{key:"changeLocalNodesHiddenProperty",value:function(t,a,o){var s=this;if(t.length!==a.length)throw new Error("Invalid params");var l=new Map,u=new Map;t.forEach(function(C,A){l.set(C,a[A]),u.set(C,a[A])});var f=!1,m=this.getSavedLocalNodes();m.forEach(function(C){l.has(C.publicKey)&&(u.has(C.publicKey)&&u.delete(C.publicKey),C.ip!==l.get(C.publicKey)&&(C.ip=l.get(C.publicKey),f=!0,s.savedLocalNodes.set(C.publicKey,C)),C.hidden!==o&&(C.hidden=o,f=!0,s.savedLocalNodes.set(C.publicKey,C),o?s.savedVisibleLocalNodes.delete(C.publicKey):s.savedVisibleLocalNodes.add(C.publicKey)))}),u.forEach(function(C,A){f=!0;var V={publicKey:A,hidden:o,ip:C};m.push(V),s.savedLocalNodes.set(A,V),o?s.savedVisibleLocalNodes.delete(A):s.savedVisibleLocalNodes.add(A)}),f&&this.saveLocalNodes(m)}},{key:"getSavedLocalNodes",value:function(){return JSON.parse(this.storage.getItem(TT))||[]}},{key:"getSavedVisibleLocalNodes",value:function(){return this.savedVisibleLocalNodes}},{key:"saveLocalNodes",value:function(t){this.storage.setItem(TT,JSON.stringify(t))}},{key:"getSavedLabels",value:function(){return JSON.parse(this.storage.getItem(DT))||[]}},{key:"saveLabels",value:function(t){this.storage.setItem(DT,JSON.stringify(t))}},{key:"saveLabel",value:function(t,a,o){var s=this;if(a){var f=!1,m=this.getSavedLabels().map(function(A){return A.id===t&&A.identifiedElementType===o&&(f=!0,A.label=a,s.savedLabels.set(A.id,{label:A.label,id:A.id,identifiedElementType:A.identifiedElementType})),A});if(f)this.saveLabels(m);else{var C={label:a,id:t,identifiedElementType:o};m.push(C),this.savedLabels.set(t,C),this.saveLabels(m)}}else{this.savedLabels.has(t)&&this.savedLabels.delete(t);var l=!1,u=this.getSavedLabels().filter(function(A){return A.id!==t||(l=!0,!1)});l&&this.saveLabels(u)}}},{key:"getDefaultLabel",value:function(t){return t?t.ip?t.ip:t.localPk.substr(0,8):""}},{key:"getLabelInfo",value:function(t){return this.savedLabels.has(t)?this.savedLabels.get(t):null}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}();function $n(n){return null!=n&&"false"!=="".concat(n)}function Oa(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return qV(n)?Number(n):i}function qV(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}function Gp(n){return Array.isArray(n)?n:[n]}function Rr(n){return null==n?"":"string"==typeof n?n:"".concat(n,"px")}function Zo(n){return n instanceof yt?n.nativeElement:n}function _l(n,i,e,t){return He(e)&&(t=e,e=void 0),t?_l(n,i,e).pipe($e(function(a){return xe(a)?t.apply(void 0,ae(a)):t(a)})):new fe(function(a){ET(n,i,function o(s){a.next(arguments.length>1?Array.prototype.slice.call(arguments):s)},a,e)})}function ET(n,i,e,t,a){var o;if(function ZV(n){return n&&"function"==typeof n.addEventListener&&"function"==typeof n.removeEventListener}(n)){var s=n;n.addEventListener(i,e,a),o=function(){return s.removeEventListener(i,e,a)}}else if(function $V(n){return n&&"function"==typeof n.on&&"function"==typeof n.off}(n)){var l=n;n.on(i,e),o=function(){return l.off(i,e)}}else if(function KV(n){return n&&"function"==typeof n.addListener&&"function"==typeof n.removeListener}(n)){var u=n;n.addListener(i,e),o=function(){return u.removeListener(i,e)}}else{if(!n||!n.length)throw new TypeError("Invalid event target");for(var f=0,m=n.length;f2&&void 0!==arguments[2]?arguments[2]:0;return null!==s&&s>0?T(O(e.prototype),"requestAsyncId",this).call(this,a,o,s):(a.actions.push(this),a.scheduled||(a.scheduled=requestAnimationFrame(function(){return a.flush(null)})))}},{key:"recycleAsyncId",value:function(a,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==s&&s>0||null===s&&this.delay>0)return T(O(e.prototype),"recycleAsyncId",this).call(this,a,o,s);0===a.actions.length&&(cancelAnimationFrame(o),a.scheduled=void 0)}}]),e}(zp),JV=function(n){h(e,n);var i=y(e);function e(){return c(this,e),i.apply(this,arguments)}return d(e,[{key:"flush",value:function(a){this.active=!0,this.scheduled=void 0;var s,o=this.actions,l=-1,u=o.length;a=a||o.shift();do{if(s=a.execute(a.state,a.delay))break}while(++l2&&void 0!==arguments[2]?arguments[2]:0;return null!==s&&s>0?T(O(e.prototype),"requestAsyncId",this).call(this,a,o,s):(a.actions.push(this),a.scheduled||(a.scheduled=PT_setImmediate(a.flush.bind(a,null))))}},{key:"recycleAsyncId",value:function(a,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==s&&s>0||null===s&&this.delay>0)return T(O(e.prototype),"recycleAsyncId",this).call(this,a,o,s);0===a.actions.length&&(PT_clearImmediate(o),a.scheduled=void 0)}}]),e}(zp),rj=function(n){h(e,n);var i=y(e);function e(){return c(this,e),i.apply(this,arguments)}return d(e,[{key:"flush",value:function(a){this.active=!0,this.scheduled=void 0;var s,o=this.actions,l=-1,u=o.length;a=a||o.shift();do{if(s=a.execute(a.state,a.delay))break}while(++l=0}function qp(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,i=arguments.length>1?arguments[1]:void 0,e=arguments.length>2?arguments[2]:void 0,t=-1;return qy(i)?t=Number(i)<1?1:Number(i):ht(i)&&(e=i),ht(e)||(e=nc),new fe(function(a){var o=qy(n)?n:+n-e.now();return e.schedule(sj,o,{index:0,period:t,subscriber:a})})}function sj(n){var i=n.index,e=n.period,t=n.subscriber;if(t.next(i),!t.closed){if(-1===e)return t.complete();n.index=i+1,this.schedule(n,e)}}function xT(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nc;return ij(function(){return qp(n,i)})}try{Ky="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(n){Ky=!1}var rc,nf,bl,$y,Sr=function(){var n=d(function i(e){c(this,i),this._platformId=e,this.isBrowser=this._platformId?function o4(n){return n===Xw}(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&&!Ky)&&"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 n.\u0275fac=function(e){return new(e||n)(Ee(Fd))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),OT=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function IT(){if(rc)return rc;if("object"!=typeof document||!document)return rc=new Set(OT);var n=document.createElement("input");return rc=new Set(OT.filter(function(i){return n.setAttribute("type",i),n.type===i}))}function yl(n){return function lj(){if(null==nf&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return nf=!0}}))}finally{nf=nf||!1}return nf}()?n:!!n.capture}function uj(){if(null==bl){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return bl=!1;if("scrollBehavior"in document.documentElement.style)bl=!0;else{var n=Element.prototype.scrollTo;bl=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return bl}function AT(n){if(function cj(){if(null==$y){var n="undefined"!=typeof document?document.head:null;$y=!(!n||!n.createShadowRoot&&!n.attachShadow)}return $y}()){var i=n.getRootNode?n.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&i instanceof ShadowRoot)return i}return null}function Zy(){for(var n="undefined"!=typeof document&&document?document.activeElement:null;n&&n.shadowRoot;){var i=n.shadowRoot.activeElement;if(i===n)break;n=i}return n}function kl(n){return n.composedPath?n.composedPath()[0]:n.target}function Qy(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}var dj=new Ze("cdk-dir-doc",{providedIn:"root",factory:function fj(){return ld(Ot)}}),hj=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i,pa=function(){var n=function(){function i(e){c(this,i),this.value="ltr",this.change=new pt,e&&(this.value=function pj(n){var i=(null==n?void 0:n.toLowerCase())||"";return"auto"===i&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?hj.test(navigator.language)?"rtl":"ltr":"rtl"===i?"rtl":"ltr"}((e.body?e.body.dir:null)||(e.documentElement?e.documentElement.dir:null)||"ltr"))}return d(i,[{key:"ngOnDestroy",value:function(){this.change.complete()}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(dj,8))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),rf=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({}),n}(),FT=function(){var n=function(){function i(e,t,a){c(this,i),this._ngZone=e,this._platform=t,this._scrolled=new Ae,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=a}return d(i,[{key:"register",value:function(t){var a=this;this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(function(){return a._scrolled.next(t)}))}},{key:"deregister",value:function(t){var a=this.scrollContainers.get(t);a&&(a.unsubscribe(),this.scrollContainers.delete(t))}},{key:"scrolled",value:function(){var t=this,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return this._platform.isBrowser?new fe(function(o){t._globalSubscription||t._addGlobalListener();var s=a>0?t._scrolled.pipe(xT(a)).subscribe(o):t._scrolled.subscribe(o);return t._scrolledCount++,function(){s.unsubscribe(),t._scrolledCount--,t._scrolledCount||t._removeGlobalListener()}}):Je()}},{key:"ngOnDestroy",value:function(){var t=this;this._removeGlobalListener(),this.scrollContainers.forEach(function(a,o){return t.deregister(o)}),this._scrolled.complete()}},{key:"ancestorScrolled",value:function(t,a){var o=this.getAncestorScrollContainers(t);return this.scrolled(a).pipe(Ir(function(s){return!s||o.indexOf(s)>-1}))}},{key:"getAncestorScrollContainers",value:function(t){var a=this,o=[];return this.scrollContainers.forEach(function(s,l){a._scrollableContainsElement(l,t)&&o.push(l)}),o}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_scrollableContainsElement",value:function(t,a){var o=Zo(a),s=t.getElementRef().nativeElement;do{if(o==s)return!0}while(o=o.parentElement);return!1}},{key:"_addGlobalListener",value:function(){var t=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){return _l(t._getWindow().document,"scroll").subscribe(function(){return t._scrolled.next()})})}},{key:"_removeGlobalListener",value:function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(bt),Ee(Sr),Ee(Ot,8))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),Ml=function(){var n=function(){function i(e,t,a){var o=this;c(this,i),this._platform=e,this._change=new Ae,this._changeListener=function(s){o._change.next(s)},this._document=a,t.runOutsideAngular(function(){if(e.isBrowser){var s=o._getWindow();s.addEventListener("resize",o._changeListener),s.addEventListener("orientationchange",o._changeListener)}o.change().subscribe(function(){return o._viewportSize=null})})}return d(i,[{key:"ngOnDestroy",value:function(){if(this._platform.isBrowser){var t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}},{key:"getViewportSize",value:function(){this._viewportSize||this._updateViewportSize();var t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}},{key:"getViewportRect",value:function(){var t=this.getViewportScrollPosition(),a=this.getViewportSize(),o=a.width,s=a.height;return{top:t.top,left:t.left,bottom:t.top+s,right:t.left+o,height:s,width:o}}},{key:"getViewportScrollPosition",value:function(){if(!this._platform.isBrowser)return{top:0,left:0};var t=this._document,a=this._getWindow(),o=t.documentElement,s=o.getBoundingClientRect();return{top:-s.top||t.body.scrollTop||a.scrollY||o.scrollTop||0,left:-s.left||t.body.scrollLeft||a.scrollX||o.scrollLeft||0}}},{key:"change",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return t>0?this._change.pipe(xT(t)):this._change}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_updateViewportSize",value:function(){var t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(Sr),Ee(bt),Ee(Ot,8))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),af=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({}),n}(),RT=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({imports:[[rf,af],rf,af]}),n}(),Jy=function(){function n(){c(this,n)}return d(n,[{key:"attach",value:function(e){return this._attachedHost=e,e.attach(this)}},{key:"detach",value:function(){var e=this._attachedHost;null!=e&&(this._attachedHost=null,e.detach())}},{key:"isAttached",get:function(){return null!=this._attachedHost}},{key:"setAttachedHost",value:function(e){this._attachedHost=e}}]),n}(),ic=function(n){h(e,n);var i=y(e);function e(t,a,o,s){var l;return c(this,e),(l=i.call(this)).component=t,l.viewContainerRef=a,l.injector=o,l.componentFactoryResolver=s,l}return d(e)}(Jy),ac=function(n){h(e,n);var i=y(e);function e(t,a,o){var s;return c(this,e),(s=i.call(this)).templateRef=t,s.viewContainerRef=a,s.context=o,s}return d(e,[{key:"origin",get:function(){return this.templateRef.elementRef}},{key:"attach",value:function(a){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.context;return this.context=o,T(O(e.prototype),"attach",this).call(this,a)}},{key:"detach",value:function(){return this.context=void 0,T(O(e.prototype),"detach",this).call(this)}}]),e}(Jy),gj=function(n){h(e,n);var i=y(e);function e(t){var a;return c(this,e),(a=i.call(this)).element=t instanceof yt?t.nativeElement:t,a}return d(e)}(Jy),$p=function(){function n(){c(this,n),this._isDisposed=!1,this.attachDomPortal=null}return d(n,[{key:"hasAttached",value:function(){return!!this._attachedPortal}},{key:"attach",value:function(e){return e instanceof ic?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof ac?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof gj?(this._attachedPortal=e,this.attachDomPortal(e)):void 0}},{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)}}]),n}(),_j=function(n){h(e,n);var i=y(e);function e(t,a,o,s,l){var u,f;return c(this,e),(f=i.call(this)).outletElement=t,f._componentFactoryResolver=a,f._appRef=o,f._defaultInjector=s,f.attachDomPortal=function(m){var C=m.element,A=f._document.createComment("dom-portal");C.parentNode.insertBefore(A,C),f.outletElement.appendChild(C),f._attachedPortal=m,T((u=x(f),O(e.prototype)),"setDisposeFn",u).call(u,function(){A.parentNode&&A.parentNode.replaceChild(C,A)})},f._document=l,f}return d(e,[{key:"attachComponentPortal",value:function(a){var u,o=this,l=(a.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(a.component);return a.viewContainerRef?(u=a.viewContainerRef.createComponent(l,a.viewContainerRef.length,a.injector||a.viewContainerRef.injector),this.setDisposeFn(function(){return u.destroy()})):(u=l.create(a.injector||this._defaultInjector),this._appRef.attachView(u.hostView),this.setDisposeFn(function(){o._appRef.detachView(u.hostView),u.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(u)),this._attachedPortal=a,u}},{key:"attachTemplatePortal",value:function(a){var o=this,s=a.viewContainerRef,l=s.createEmbeddedView(a.templateRef,a.context);return l.rootNodes.forEach(function(u){return o.outletElement.appendChild(u)}),l.detectChanges(),this.setDisposeFn(function(){var u=s.indexOf(l);-1!==u&&s.remove(u)}),this._attachedPortal=a,l}},{key:"dispose",value:function(){T(O(e.prototype),"dispose",this).call(this),this.outletElement.remove()}},{key:"_getComponentRootNode",value:function(a){return a.hostView.rootNodes[0]}}]),e}($p),Cl=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s){var l,u;return c(this,t),(u=e.call(this))._componentFactoryResolver=a,u._viewContainerRef=o,u._isInitialized=!1,u.attached=new pt,u.attachDomPortal=function(f){var m=f.element,C=u._document.createComment("dom-portal");f.setAttachedHost(x(u)),m.parentNode.insertBefore(C,m),u._getRootNode().appendChild(m),u._attachedPortal=f,T((l=x(u),O(t.prototype)),"setDisposeFn",l).call(l,function(){C.parentNode&&C.parentNode.replaceChild(m,C)})},u._document=s,u}return d(t,[{key:"portal",get:function(){return this._attachedPortal},set:function(o){this.hasAttached()&&!o&&!this._isInitialized||(this.hasAttached()&&T(O(t.prototype),"detach",this).call(this),o&&T(O(t.prototype),"attach",this).call(this,o),this._attachedPortal=o||null)}},{key:"attachedRef",get:function(){return this._attachedRef}},{key:"ngOnInit",value:function(){this._isInitialized=!0}},{key:"ngOnDestroy",value:function(){T(O(t.prototype),"dispose",this).call(this),this._attachedPortal=null,this._attachedRef=null}},{key:"attachComponentPortal",value:function(o){o.setAttachedHost(this);var s=null!=o.viewContainerRef?o.viewContainerRef:this._viewContainerRef,u=(o.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(o.component),f=s.createComponent(u,s.length,o.injector||s.injector);return s!==this._viewContainerRef&&this._getRootNode().appendChild(f.hostView.rootNodes[0]),T(O(t.prototype),"setDisposeFn",this).call(this,function(){return f.destroy()}),this._attachedPortal=o,this._attachedRef=f,this.attached.emit(f),f}},{key:"attachTemplatePortal",value:function(o){var s=this;o.setAttachedHost(this);var l=this._viewContainerRef.createEmbeddedView(o.templateRef,o.context);return T(O(t.prototype),"setDisposeFn",this).call(this,function(){return s._viewContainerRef.clear()}),this._attachedPortal=o,this._attachedRef=l,this.attached.emit(l),l}},{key:"_getRootNode",value:function(){var o=this._viewContainerRef.element.nativeElement;return o.nodeType===o.ELEMENT_NODE?o:o.parentNode}}]),t}($p);return n.\u0275fac=function(e){return new(e||n)(B(Ts),B(ii),B(Ot))},n.\u0275dir=et({type:n,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[vt]}),n}(),Zp=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({}),n}();function hn(n){return function(i){return i.lift(new yj(n))}}var yj=function(){function n(i){c(this,n),this.notifier=i}return d(n,[{key:"call",value:function(e,t){var a=new bj(e),o=Fn(a,this.notifier);return o&&!a.seenValue?(a.add(o),t.subscribe(a)):a}}]),n}(),bj=function(n){h(e,n);var i=y(e);function e(t){var a;return c(this,e),(a=i.call(this,t)).seenValue=!1,a}return d(e,[{key:"notifyNext",value:function(a,o,s,l,u){this.seenValue=!0,this.complete()}},{key:"notifyComplete",value:function(){}}]),e}(gn),Mj=function(){function n(i,e){c(this,n),this.predicate=i,this.inclusive=e}return d(n,[{key:"call",value:function(e,t){return t.subscribe(new Cj(e,this.predicate,this.inclusive))}}]),n}(),Cj=function(n){h(e,n);var i=y(e);function e(t,a,o){var s;return c(this,e),(s=i.call(this,t)).predicate=a,s.inclusive=o,s.index=0,s}return d(e,[{key:"_next",value:function(a){var s,o=this.destination;try{s=this.predicate(a,this.index++)}catch(l){return void o.error(l)}this.nextOrComplete(a,s)}},{key:"nextOrComplete",value:function(a,o){var s=this.destination;Boolean(o)?s.next(a):(this.inclusive&&s.next(a),s.complete())}}]),e}(St);function Qo(n){for(var i=arguments.length,e=new Array(i>1?i-1:0),t=1;ta.height||t.scrollWidth>a.width}}]),n}(),Rj=function(){function n(i,e,t,a){var o=this;c(this,n),this._scrollDispatcher=i,this._ngZone=e,this._viewportRuler=t,this._config=a,this._scrollSubscription=null,this._detach=function(){o.disable(),o._overlayRef.hasAttached()&&o._ngZone.run(function(){return o._overlayRef.detach()})}}return d(n,[{key:"attach",value:function(e){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 a=e._viewportRuler.getViewportScrollPosition().top;Math.abs(a-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}}]),n}(),HT=function(){function n(){c(this,n)}return d(n,[{key:"enable",value:function(){}},{key:"disable",value:function(){}},{key:"attach",value:function(){}}]),n}();function Xy(n,i){return i.some(function(e){return n.bottome.bottom||n.righte.right})}function BT(n,i){return i.some(function(e){return n.tope.bottom||n.lefte.right})}var Nj=function(){function n(i,e,t,a){c(this,n),this._scrollDispatcher=i,this._viewportRuler=e,this._ngZone=t,this._config=a,this._scrollSubscription=null}return d(n,[{key:"attach",value:function(e){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 a=e._overlayRef.overlayElement.getBoundingClientRect(),o=e._viewportRuler.getViewportSize(),s=o.width,l=o.height;Xy(a,[{width:s,height:l,bottom:l,right:s,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}}]),n}(),Yj=function(){var n=d(function i(e,t,a,o){var s=this;c(this,i),this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=a,this.noop=function(){return new HT},this.close=function(l){return new Rj(s._scrollDispatcher,s._ngZone,s._viewportRuler,l)},this.block=function(){return new Fj(s._viewportRuler,s._document)},this.reposition=function(l){return new Nj(s._scrollDispatcher,s._viewportRuler,s._ngZone,l)},this._document=o});return n.\u0275fac=function(e){return new(e||n)(Ee(FT),Ee(Ml),Ee(bt),Ee(Ot))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),uf=d(function n(i){if(c(this,n),this.scrollStrategy=new HT,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,i)for(var t=0,a=Object.keys(i);tme&&(me=Re,J=pe)}}catch(Ye){Ce.e(Ye)}finally{Ce.f()}return this._isPushed=!1,void this._applyPosition(J.position,J.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(l.position,l.originPoint);this._applyPosition(l.position,l.originPoint)}}},{key:"detach",value:function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}},{key:"dispose",value:function(){this._isDisposed||(this._boundingBox&&wl(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(VT),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}},{key:"reapplyLastPosition",value:function(){if(!this._isDisposed&&this._platform.isBrowser){var e=this._lastPosition;if(e){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();var t=this._getOriginPoint(this._originRect,this._containerRect,e);this._applyPosition(e,t)}else this.apply()}}},{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,a){var o,u;if("center"==a.originX)o=e.left+e.width/2;else{var s=this._isRtl()?e.right:e.left,l=this._isRtl()?e.left:e.right;o="start"==a.originX?s:l}return t.left<0&&(o-=t.left),u="center"==a.originY?e.top+e.height/2:"top"==a.originY?e.top:e.bottom,t.top<0&&(u-=t.top),{x:o,y:u}}},{key:"_getOverlayPoint",value:function(e,t,a){var o;return o="center"==a.overlayX?-t.width/2:"start"===a.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,{x:e.x+o,y:e.y+("center"==a.overlayY?-t.height/2:"top"==a.overlayY?0:-t.height)}}},{key:"_getOverlayFit",value:function(e,t,a,o){var s=UT(t),l=e.x,u=e.y,f=this._getOffset(o,"x"),m=this._getOffset(o,"y");f&&(l+=f),m&&(u+=m);var V=0-u,J=u+s.height-a.height,me=this._subtractOverflows(s.width,0-l,l+s.width-a.width),Ce=this._subtractOverflows(s.height,V,J),Le=me*Ce;return{visibleArea:Le,isCompletelyWithinViewport:s.width*s.height===Le,fitsInViewportVertically:Ce===s.height,fitsInViewportHorizontally:me==s.width}}},{key:"_canFitWithFlexibleDimensions",value:function(e,t,a){if(this._hasFlexibleDimensions){var o=a.bottom-t.y,s=a.right-t.x,l=jT(this._overlayRef.getConfig().minHeight),u=jT(this._overlayRef.getConfig().minWidth);return(e.fitsInViewportVertically||null!=l&&l<=o)&&(e.fitsInViewportHorizontally||null!=u&&u<=s)}return!1}},{key:"_pushOverlayOnScreen",value:function(e,t,a){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};var C,A,o=UT(t),s=this._viewportRect,l=Math.max(e.x+o.width-s.width,0),u=Math.max(e.y+o.height-s.height,0),f=Math.max(s.top-a.top-e.y,0),m=Math.max(s.left-a.left-e.x,0);return this._previousPushAmount={x:C=o.width<=s.width?m||-l:e.xm&&!this._isInitialRender&&!this._growAfterOpen&&(l=e.y-m/2)}if("end"===t.overlayX&&!o||"start"===t.overlayX&&o)me=a.width-e.x+this._viewportMargin,V=e.x-this._viewportMargin;else if("start"===t.overlayX&&!o||"end"===t.overlayX&&o)J=e.x,V=a.right-e.x;else{var Ce=Math.min(a.right-e.x+a.left,e.x),Le=this._lastBoundingBoxSize.width;J=e.x-Ce,(V=2*Ce)>Le&&!this._isInitialRender&&!this._growAfterOpen&&(J=e.x-Le/2)}return{top:l,left:J,bottom:u,right:me,width:V,height:s}}},{key:"_setBoundingBoxStyles",value:function(e,t){var a=this._calculateBoundingBoxRect(e,t);!this._isInitialRender&&!this._growAfterOpen&&(a.height=Math.min(a.height,this._lastBoundingBoxSize.height),a.width=Math.min(a.width,this._lastBoundingBoxSize.width));var o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right=o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{var s=this._overlayRef.getConfig().maxHeight,l=this._overlayRef.getConfig().maxWidth;o.height=Rr(a.height),o.top=Rr(a.top),o.bottom=Rr(a.bottom),o.width=Rr(a.width),o.left=Rr(a.left),o.right=Rr(a.right),o.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",o.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",s&&(o.maxHeight=Rr(s)),l&&(o.maxWidth=Rr(l))}this._lastBoundingBoxSize=a,wl(this._boundingBox.style,o)}},{key:"_resetBoundingBoxStyles",value:function(){wl(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}},{key:"_resetOverlayElementStyles",value:function(){wl(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}},{key:"_setOverlayElementStyles",value:function(e,t){var a={},o=this._hasExactPosition(),s=this._hasFlexibleDimensions,l=this._overlayRef.getConfig();if(o){var u=this._viewportRuler.getViewportScrollPosition();wl(a,this._getExactOverlayY(t,e,u)),wl(a,this._getExactOverlayX(t,e,u))}else a.position="static";var f="",m=this._getOffset(t,"x"),C=this._getOffset(t,"y");m&&(f+="translateX(".concat(m,"px) ")),C&&(f+="translateY(".concat(C,"px)")),a.transform=f.trim(),l.maxHeight&&(o?a.maxHeight=Rr(l.maxHeight):s&&(a.maxHeight="")),l.maxWidth&&(o?a.maxWidth=Rr(l.maxWidth):s&&(a.maxWidth="")),wl(this._pane.style,a)}},{key:"_getExactOverlayY",value:function(e,t,a){var o={top:"",bottom:""},s=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,a)),"bottom"===e.overlayY?o.bottom="".concat(this._document.documentElement.clientHeight-(s.y+this._overlayRect.height),"px"):o.top=Rr(s.y),o}},{key:"_getExactOverlayX",value:function(e,t,a){var o={left:"",right:""},s=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,a)),"right"==(this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left")?o.right="".concat(this._document.documentElement.clientWidth-(s.x+this._overlayRect.width),"px"):o.left=Rr(s.x),o}},{key:"_getScrollVisibility",value:function(){var e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),a=this._scrollables.map(function(o){return o.getElementRef().nativeElement.getBoundingClientRect()});return{isOriginClipped:BT(e,a),isOriginOutsideView:Xy(e,a),isOverlayClipped:BT(t,a),isOverlayOutsideView:Xy(t,a)}}},{key:"_subtractOverflows",value:function(e){for(var t=arguments.length,a=new Array(t>1?t-1:0),o=1;o0&&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,a=this._overlayRef.getConfig(),o=a.width,s=a.height,l=a.maxWidth,u=a.maxHeight,f=!("100%"!==o&&"100vw"!==o||l&&"100%"!==l&&"100vw"!==l),m=!("100%"!==s&&"100vh"!==s||u&&"100%"!==u&&"100vh"!==u);e.position=this._cssPosition,e.marginLeft=f?"0":this._leftOffset,e.marginTop=m?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=this._rightOffset,f?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=m?"flex-start":this._alignItems}}},{key:"dispose",value:function(){if(!this._isDisposed&&this._overlayRef){var e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,a=t.style;t.classList.remove(zT),a.justifyContent=a.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}}}]),n}(),zj=function(){var n=function(){function i(e,t,a,o){c(this,i),this._viewportRuler=e,this._document=t,this._platform=a,this._overlayContainer=o}return d(i,[{key:"global",value:function(){return new Uj}},{key:"flexibleConnectedTo",value:function(t){return new jj(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(Ml),Ee(Ot),Ee(Sr),Ee(eb))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),WT=function(){var n=function(){function i(e){c(this,i),this._attachedOverlays=[],this._document=e}return d(i,[{key:"ngOnDestroy",value:function(){this.detach()}},{key:"add",value:function(t){this.remove(t),this._attachedOverlays.push(t)}},{key:"remove",value:function(t){var a=this._attachedOverlays.indexOf(t);a>-1&&this._attachedOverlays.splice(a,1),0===this._attachedOverlays.length&&this.detach()}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(Ot))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),Wj=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o){var s;return c(this,t),(s=e.call(this,a))._ngZone=o,s._keydownListener=function(l){for(var u=s._attachedOverlays,f=u.length-1;f>-1&&!(u[f]._keydownEvents.observers.length>0&&"break"===function(){var C=u[f]._keydownEvents;return s._ngZone?s._ngZone.run(function(){return C.next(l)}):C.next(l),"break"}());f--);},s}return d(t,[{key:"add",value:function(o){var s=this;T(O(t.prototype),"add",this).call(this,o),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(function(){return s._document.body.addEventListener("keydown",s._keydownListener)}):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}},{key:"detach",value:function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}]),t}(WT);return n.\u0275fac=function(e){return new(e||n)(Ee(Ot),Ee(bt,8))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),Gj=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s){var l;return c(this,t),(l=e.call(this,a))._platform=o,l._ngZone=s,l._cursorStyleIsSet=!1,l._pointerDownListener=function(u){l._pointerDownEventTarget=kl(u)},l._clickListener=function(u){var f=kl(u),m="click"===u.type&&l._pointerDownEventTarget?l._pointerDownEventTarget:f;l._pointerDownEventTarget=null;for(var C=l._attachedOverlays.slice(),A=function(Ce){var Le=C[Ce];if(Le._outsidePointerEvents.observers.length<1||!Le.hasAttached())return"continue";if(Le.overlayElement.contains(f)||Le.overlayElement.contains(m))return"break";var pe=Le._outsidePointerEvents;l._ngZone?l._ngZone.run(function(){return pe.next(u)}):pe.next(u)},V=C.length-1;V>-1;V--){var J=A(V);if("continue"!==J&&"break"===J)break}},l}return d(t,[{key:"add",value:function(o){var s=this;if(T(O(t.prototype),"add",this).call(this,o),!this._isAttached){var l=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(function(){return s._addEventListeners(l)}):this._addEventListeners(l),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=l.style.cursor,l.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}},{key:"detach",value:function(){if(this._isAttached){var o=this._document.body;o.removeEventListener("pointerdown",this._pointerDownListener,!0),o.removeEventListener("click",this._clickListener,!0),o.removeEventListener("auxclick",this._clickListener,!0),o.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(o.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}},{key:"_addEventListeners",value:function(o){o.addEventListener("pointerdown",this._pointerDownListener,!0),o.addEventListener("click",this._clickListener,!0),o.addEventListener("auxclick",this._clickListener,!0),o.addEventListener("contextmenu",this._clickListener,!0)}}]),t}(WT);return n.\u0275fac=function(e){return new(e||n)(Ee(Ot),Ee(Sr),Ee(bt,8))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),qj=0,Ia=function(){var n=function(){function i(e,t,a,o,s,l,u,f,m,C,A){c(this,i),this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=a,this._positionBuilder=o,this._keyboardDispatcher=s,this._injector=l,this._ngZone=u,this._document=f,this._directionality=m,this._location=C,this._outsideClickDispatcher=A}return d(i,[{key:"create",value:function(t){var a=this._createHostElement(),o=this._createPaneElement(a),s=this._createPortalOutlet(o),l=new uf(t);return l.direction=l.direction||this._directionality.value,new Bj(s,a,o,l,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}},{key:"position",value:function(){return this._positionBuilder}},{key:"_createPaneElement",value:function(t){var a=this._document.createElement("div");return a.id="cdk-overlay-".concat(qj++),a.classList.add("cdk-overlay-pane"),t.appendChild(a),a}},{key:"_createHostElement",value:function(){var t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}},{key:"_createPortalOutlet",value:function(t){return this._appRef||(this._appRef=this._injector.get(zh)),new _j(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(Yj),Ee(eb),Ee(Ts),Ee(zj),Ee(Wj),Ee(zn),Ee(bt),Ee(Ot),Ee(pa),Ee(zu),Ee(Gj))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),Kj=[{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"}],GT=new Ze("cdk-connected-overlay-scroll-strategy"),qT=function(){var n=d(function i(e){c(this,i),this.elementRef=e});return n.\u0275fac=function(e){return new(e||n)(B(yt))},n.\u0275dir=et({type:n,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),n}(),KT=function(){var n=function(){function i(e,t,a,o,s){c(this,i),this._overlay=e,this._dir=s,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=Ne.EMPTY,this._attachSubscription=Ne.EMPTY,this._detachSubscription=Ne.EMPTY,this._positionSubscription=Ne.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new pt,this.positionChange=new pt,this.attach=new pt,this.detach=new pt,this.overlayKeydown=new pt,this.overlayOutsideClick=new pt,this._templatePortal=new ac(t,a),this._scrollStrategyFactory=o,this.scrollStrategy=this._scrollStrategyFactory()}return d(i,[{key:"offsetX",get:function(){return this._offsetX},set:function(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}},{key:"offsetY",get:function(){return this._offsetY},set:function(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}},{key:"hasBackdrop",get:function(){return this._hasBackdrop},set:function(t){this._hasBackdrop=$n(t)}},{key:"lockPosition",get:function(){return this._lockPosition},set:function(t){this._lockPosition=$n(t)}},{key:"flexibleDimensions",get:function(){return this._flexibleDimensions},set:function(t){this._flexibleDimensions=$n(t)}},{key:"growAfterOpen",get:function(){return this._growAfterOpen},set:function(t){this._growAfterOpen=$n(t)}},{key:"push",get:function(){return this._push},set:function(t){this._push=$n(t)}},{key:"overlayRef",get:function(){return this._overlayRef}},{key:"dir",get:function(){return this._dir?this._dir.value:"ltr"}},{key:"ngOnDestroy",value:function(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}},{key:"ngOnChanges",value:function(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}},{key:"_createOverlay",value:function(){var t=this;(!this.positions||!this.positions.length)&&(this.positions=Kj);var a=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=a.attachments().subscribe(function(){return t.attach.emit()}),this._detachSubscription=a.detachments().subscribe(function(){return t.detach.emit()}),a.keydownEvents().subscribe(function(o){t.overlayKeydown.next(o),27===o.keyCode&&!t.disableClose&&!Qo(o)&&(o.preventDefault(),t._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(function(o){t.overlayOutsideClick.next(o)})}},{key:"_buildConfig",value:function(){var t=this._position=this.positionStrategy||this._createPositionStrategy(),a=new uf({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(a.width=this.width),(this.height||0===this.height)&&(a.height=this.height),(this.minWidth||0===this.minWidth)&&(a.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(a.minHeight=this.minHeight),this.backdropClass&&(a.backdropClass=this.backdropClass),this.panelClass&&(a.panelClass=this.panelClass),a}},{key:"_updatePositionStrategy",value:function(t){var a=this,o=this.positions.map(function(s){return{originX:s.originX,originY:s.originY,overlayX:s.overlayX,overlayY:s.overlayY,offsetX:s.offsetX||a.offsetX,offsetY:s.offsetY||a.offsetY,panelClass:s.panelClass||void 0}});return t.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(o).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}},{key:"_createPositionStrategy",value:function(){var t=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(t),t}},{key:"_getFlexibleConnectedPositionStrategyOrigin",value:function(){return this.origin instanceof qT?this.origin.elementRef:this.origin}},{key:"_attachOverlay",value:function(){var t=this;this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(function(a){t.backdropClick.emit(a)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function kj(n){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(e){return e.lift(new Mj(n,i))}}(function(){return t.positionChange.observers.length>0})).subscribe(function(a){t.positionChange.emit(a),0===t.positionChange.observers.length&&t._positionSubscription.unsubscribe()}))}},{key:"_detachOverlay",value:function(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Ia),B(Ii),B(ii),B(GT),B(pa,8))},n.\u0275dir=et({type:n,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[Nr]}),n}(),Zj={provide:GT,deps:[Ia],useFactory:function $j(n){return function(){return n.scrollStrategies.reposition()}}},cf=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({providers:[Ia,Zj],imports:[[rf,Zp,RT],RT]}),n}();function tb(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nc;return function(e){return e.lift(new Qj(n,i))}}var Qj=function(){function n(i,e){c(this,n),this.dueTime=i,this.scheduler=e}return d(n,[{key:"call",value:function(e,t){return t.subscribe(new Jj(e,this.dueTime,this.scheduler))}}]),n}(),Jj=function(n){h(e,n);var i=y(e);function e(t,a,o){var s;return c(this,e),(s=i.call(this,t)).dueTime=a,s.scheduler=o,s.debouncedSubscription=null,s.lastValue=null,s.hasValue=!1,s}return d(e,[{key:"_next",value:function(a){this.clearDebounce(),this.lastValue=a,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(Xj,this.dueTime,this))}},{key:"_complete",value:function(){this.debouncedNext(),this.destination.complete()}},{key:"debouncedNext",value:function(){if(this.clearDebounce(),this.hasValue){var a=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(a)}}},{key:"clearDebounce",value:function(){var a=this.debouncedSubscription;null!==a&&(this.remove(a),a.unsubscribe(),this.debouncedSubscription=null)}}]),e}(St);function Xj(n){n.debouncedNext()}function ZT(n){return function(i){return i.lift(new e8(n))}}var e8=function(){function n(i){c(this,n),this.total=i}return d(n,[{key:"call",value:function(e,t){return t.subscribe(new t8(e,this.total))}}]),n}(),t8=function(n){h(e,n);var i=y(e);function e(t,a){var o;return c(this,e),(o=i.call(this,t)).total=a,o.count=0,o}return d(e,[{key:"_next",value:function(a){++this.count>this.total&&this.destination.next(a)}}]),e}(St);function nb(n,i){return function(e){return e.lift(new n8(n,i))}}var n8=function(){function n(i,e){c(this,n),this.compare=i,this.keySelector=e}return d(n,[{key:"call",value:function(e,t){return t.subscribe(new r8(e,this.compare,this.keySelector))}}]),n}(),r8=function(n){h(e,n);var i=y(e);function e(t,a,o){var s;return c(this,e),(s=i.call(this,t)).keySelector=o,s.hasKey=!1,"function"==typeof a&&(s.compare=a),s}return d(e,[{key:"compare",value:function(a,o){return a===o}},{key:"_next",value:function(a){var o;try{var s=this.keySelector;o=s?s(a):a}catch(f){return this.destination.error(f)}var l=!1;if(this.hasKey)try{l=(0,this.compare)(this.key,o)}catch(f){return this.destination.error(f)}else this.hasKey=!0;l||(this.key=o,this.destination.next(a))}}]),e}(St),QT=function(){var n=function(){function i(){c(this,i)}return d(i,[{key:"create",value:function(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),i8=function(){var n=function(){function i(e){c(this,i),this._mutationObserverFactory=e,this._observedElements=new Map}return d(i,[{key:"ngOnDestroy",value:function(){var t=this;this._observedElements.forEach(function(a,o){return t._cleanupObserver(o)})}},{key:"observe",value:function(t){var a=this,o=Zo(t);return new fe(function(s){var u=a._observeElement(o).subscribe(s);return function(){u.unsubscribe(),a._unobserveElement(o)}})}},{key:"_observeElement",value:function(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{var a=new Ae,o=this._mutationObserverFactory.create(function(s){return a.next(s)});o&&o.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:o,stream:a,count:1})}return this._observedElements.get(t).stream}},{key:"_unobserveElement",value:function(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}},{key:"_cleanupObserver",value:function(t){if(this._observedElements.has(t)){var a=this._observedElements.get(t),o=a.observer,s=a.stream;o&&o.disconnect(),s.complete(),this._observedElements.delete(t)}}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(QT))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),rb=function(){var n=function(){function i(e,t,a){c(this,i),this._contentObserver=e,this._elementRef=t,this._ngZone=a,this.event=new pt,this._disabled=!1,this._currentSubscription=null}return d(i,[{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=$n(t),this._disabled?this._unsubscribe():this._subscribe()}},{key:"debounce",get:function(){return this._debounce},set:function(t){this._debounce=Oa(t),this._subscribe()}},{key:"ngAfterContentInit",value:function(){!this._currentSubscription&&!this.disabled&&this._subscribe()}},{key:"ngOnDestroy",value:function(){this._unsubscribe()}},{key:"_subscribe",value:function(){var t=this;this._unsubscribe();var a=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(function(){t._currentSubscription=(t.debounce?a.pipe(tb(t.debounce)):a).subscribe(t.event)})}},{key:"_unsubscribe",value:function(){var t;null===(t=this._currentSubscription)||void 0===t||t.unsubscribe()}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(i8),B(yt),B(bt))},n.\u0275dir=et({type:n,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),n}(),nv=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({providers:[QT]}),n}();function rv(n,i){return(n.getAttribute(i)||"").match(/\S+/g)||[]}var XT="cdk-describedby-message",iv="cdk-describedby-host",e2=0,s8=function(){var n=function(){function i(e,t){c(this,i),this._platform=t,this._messageRegistry=new Map,this._messagesContainer=null,this._id="".concat(e2++),this._document=e}return d(i,[{key:"describe",value:function(t,a,o){if(this._canBeDescribed(t,a)){var s=ib(a,o);"string"!=typeof a?(t2(a),this._messageRegistry.set(s,{messageElement:a,referenceCount:0})):this._messageRegistry.has(s)||this._createMessageElement(a,o),this._isElementDescribedByMessage(t,s)||this._addMessageReference(t,s)}}},{key:"removeDescription",value:function(t,a,o){var s;if(a&&this._isElementNode(t)){var l=ib(a,o);if(this._isElementDescribedByMessage(t,l)&&this._removeMessageReference(t,l),"string"==typeof a){var u=this._messageRegistry.get(l);u&&0===u.referenceCount&&this._deleteMessageElement(l)}0===(null===(s=this._messagesContainer)||void 0===s?void 0:s.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}}},{key:"ngOnDestroy",value:function(){for(var t,a=this._document.querySelectorAll("[".concat(iv,'="').concat(this._id,'"]')),o=0;o-1&&o!==e._activeItemIndex&&(e._activeItemIndex=o)}})}return d(n,[{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;return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Fr(function(a){return e._pressedLetters.push(a)}),tb(t),Ir(function(){return e._pressedLetters.length>0}),$e(function(){return e._pressedLetters.join("")})).subscribe(function(a){for(var o=e._getItemsArray(),s=1;s0&&void 0!==arguments[0])||arguments[0];return this._homeAndEnd=e,this}},{key:"setActiveItem",value:function(e){var t=this._activeItem;this.updateActiveItem(e),this._activeItem!==t&&this.change.next(this._activeItemIndex)}},{key:"onKeydown",value:function(e){var t=this,a=e.keyCode,s=["altKey","ctrlKey","metaKey","shiftKey"].every(function(l){return!e[l]||t._allowedModifierKeys.indexOf(l)>-1});switch(a){case 9:return void this.tabOut.next();case 40:if(this._vertical&&s){this.setNextItemActive();break}return;case 38:if(this._vertical&&s){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&s){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&s){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&s){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&s){this.setLastItemActive();break}return;default:return void((s||Qo(e,"shiftKey"))&&(e.key&&1===e.key.length?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(a>=65&&a<=90||a>=48&&a<=57)&&this._letterKeyStream.next(String.fromCharCode(a))))}this._pressedLetters=[],e.preventDefault()}},{key:"activeItemIndex",get:function(){return this._activeItemIndex}},{key:"activeItem",get:function(){return this._activeItem}},{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(),a="number"==typeof e?e:t.indexOf(e),o=t[a];this._activeItem=null==o?null:o,this._activeItemIndex=a}},{key:"_setActiveItemByDelta",value:function(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}},{key:"_setActiveInWrapMode",value:function(e){for(var t=this._getItemsArray(),a=1;a<=t.length;a++){var o=(this._activeItemIndex+e*a+t.length)%t.length;if(!this._skipPredicateFn(t[o]))return void this.setActiveItem(o)}}},{key:"_setActiveInDefaultMode",value:function(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}},{key:"_setActiveItemByIndex",value:function(e,t){var a=this._getItemsArray();if(a[e]){for(;this._skipPredicateFn(a[e]);)if(!a[e+=t])return;this.setActiveItem(e)}}},{key:"_getItemsArray",value:function(){return this._items instanceof Od?this._items.toArray():this._items}}]),n}(),l8=function(n){h(e,n);var i=y(e);function e(){return c(this,e),i.apply(this,arguments)}return d(e,[{key:"setActiveItem",value:function(a){this.activeItem&&this.activeItem.setInactiveStyles(),T(O(e.prototype),"setActiveItem",this).call(this,a),this.activeItem&&this.activeItem.setActiveStyles()}}]),e}(n2),r2=function(n){h(e,n);var i=y(e);function e(){var t;return c(this,e),(t=i.apply(this,arguments))._origin="program",t}return d(e,[{key:"setFocusOrigin",value:function(a){return this._origin=a,this}},{key:"setActiveItem",value:function(a){T(O(e.prototype),"setActiveItem",this).call(this,a),this.activeItem&&this.activeItem.focus(this._origin)}}]),e}(n2),a2=function(){var n=function(){function i(e){c(this,i),this._platform=e}return d(i,[{key:"isDisabled",value:function(t){return t.hasAttribute("disabled")}},{key:"isVisible",value:function(t){return function c8(n){return!!(n.offsetWidth||n.offsetHeight||"function"==typeof n.getClientRects&&n.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}},{key:"isTabbable",value:function(t){if(!this._platform.isBrowser)return!1;var a=function u8(n){try{return n.frameElement}catch(i){return null}}(function _8(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}(t));if(a&&(-1===s2(a)||!this.isVisible(a)))return!1;var o=t.nodeName.toLowerCase(),s=s2(t);return t.hasAttribute("contenteditable")?-1!==s:!("iframe"===o||"object"===o||this._platform.WEBKIT&&this._platform.IOS&&!function m8(n){var i=n.nodeName.toLowerCase(),e="input"===i&&n.type;return"text"===e||"password"===e||"select"===i||"textarea"===i}(t))&&("audio"===o?!!t.hasAttribute("controls")&&-1!==s:"video"===o?-1!==s&&(null!==s||this._platform.FIREFOX||t.hasAttribute("controls")):t.tabIndex>=0)}},{key:"isFocusable",value:function(t,a){return function g8(n){return!function f8(n){return function p8(n){return"input"==n.nodeName.toLowerCase()}(n)&&"hidden"==n.type}(n)&&(function d8(n){var i=n.nodeName.toLowerCase();return"input"===i||"select"===i||"button"===i||"textarea"===i}(n)||function h8(n){return function v8(n){return"a"==n.nodeName.toLowerCase()}(n)&&n.hasAttribute("href")}(n)||n.hasAttribute("contenteditable")||o2(n))}(t)&&!this.isDisabled(t)&&((null==a?void 0:a.ignoreVisibility)||this.isVisible(t))}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(Sr))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}();function o2(n){if(!n.hasAttribute("tabindex")||void 0===n.tabIndex)return!1;var i=n.getAttribute("tabindex");return!(!i||isNaN(parseInt(i,10)))}function s2(n){if(!o2(n))return null;var i=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(i)?-1:i}var y8=function(){function n(i,e,t,a){var o=this,s=arguments.length>4&&void 0!==arguments[4]&&arguments[4];c(this,n),this._element=i,this._checker=e,this._ngZone=t,this._document=a,this._hasAttached=!1,this.startAnchorListener=function(){return o.focusLastTabbableElement()},this.endAnchorListener=function(){return o.focusFirstTabbableElement()},this._enabled=!0,s||this.attachAnchors()}return d(n,[{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))}},{key:"destroy",value:function(){var e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.remove()),t&&(t.removeEventListener("focus",this.endAnchorListener),t.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}},{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(e){var t=this;return new Promise(function(a){t._executeOnStable(function(){return a(t.focusInitialElement(e))})})}},{key:"focusFirstTabbableElementWhenReady",value:function(e){var t=this;return new Promise(function(a){t._executeOnStable(function(){return a(t.focusFirstTabbableElement(e))})})}},{key:"focusLastTabbableElementWhenReady",value:function(e){var t=this;return new Promise(function(a){t._executeOnStable(function(){return a(t.focusLastTabbableElement(e))})})}},{key:"_getRegionBoundary",value:function(e){var t=this._element.querySelectorAll("[cdk-focus-region-".concat(e,"], ")+"[cdkFocusRegion".concat(e,"], ")+"[cdk-focus-".concat(e,"]"));return"start"==e?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}},{key:"focusInitialElement",value:function(e){var t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(t){if(!this._checker.isFocusable(t)){var a=this._getFirstTabbableElement(t);return null==a||a.focus(e),!!a}return t.focus(e),!0}return this.focusFirstTabbableElement(e)}},{key:"focusFirstTabbableElement",value:function(e){var t=this._getRegionBoundary("start");return t&&t.focus(e),!!t}},{key:"focusLastTabbableElement",value:function(e){var t=this._getRegionBoundary("end");return t&&t.focus(e),!!t}},{key:"hasAttached",value:function(){return this._hasAttached}},{key:"_getFirstTabbableElement",value:function(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;for(var t=e.children,a=0;a=0;a--){var o=t[a].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[a]):null;if(o)return o}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.pipe(nr(1)).subscribe(e)}}]),n}(),b8=function(){var n=function(){function i(e,t,a){c(this,i),this._checker=e,this._ngZone=t,this._document=a}return d(i,[{key:"create",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new y8(t,this._checker,this._ngZone,this._document,a)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(a2),Ee(bt),Ee(Ot))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}();function ab(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}function ob(n){var i=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!i||-1!==i.identifier||null!=i.radiusX&&1!==i.radiusX||null!=i.radiusY&&1!==i.radiusY)}var k8=new Ze("cdk-input-modality-detector-options"),M8={ignoreKeys:[18,17,224,91,16]},oc=yl({passive:!0,capture:!0}),C8=function(){var n=function(){function i(e,t,a,o){var s=this;c(this,i),this._platform=e,this._mostRecentTarget=null,this._modality=new jr(null),this._lastTouchMs=0,this._onKeydown=function(l){var u,f;(null===(f=null===(u=s._options)||void 0===u?void 0:u.ignoreKeys)||void 0===f?void 0:f.some(function(m){return m===l.keyCode}))||(s._modality.next("keyboard"),s._mostRecentTarget=kl(l))},this._onMousedown=function(l){Date.now()-s._lastTouchMs<650||(s._modality.next(ab(l)?"keyboard":"mouse"),s._mostRecentTarget=kl(l))},this._onTouchstart=function(l){ob(l)?s._modality.next("keyboard"):(s._lastTouchMs=Date.now(),s._modality.next("touch"),s._mostRecentTarget=kl(l))},this._options=Object.assign(Object.assign({},M8),o),this.modalityDetected=this._modality.pipe(ZT(1)),this.modalityChanged=this.modalityDetected.pipe(nb()),e.isBrowser&&t.runOutsideAngular(function(){a.addEventListener("keydown",s._onKeydown,oc),a.addEventListener("mousedown",s._onMousedown,oc),a.addEventListener("touchstart",s._onTouchstart,oc)})}return d(i,[{key:"mostRecentModality",get:function(){return this._modality.value}},{key:"ngOnDestroy",value:function(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,oc),document.removeEventListener("mousedown",this._onMousedown,oc),document.removeEventListener("touchstart",this._onTouchstart,oc))}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(Sr),Ee(bt),Ee(Ot),Ee(k8,8))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),w8=new Ze("liveAnnouncerElement",{providedIn:"root",factory:function S8(){return null}}),D8=new Ze("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),sb=function(){var n=function(){function i(e,t,a,o){c(this,i),this._ngZone=t,this._defaultOptions=o,this._document=a,this._liveElement=e||this._createLiveElement()}return d(i,[{key:"announce",value:function(t){for(var s,l,a=this,o=this._defaultOptions,u=arguments.length,f=new Array(u>1?u-1:0),m=1;m1&&void 0!==arguments[1]&&arguments[1],o=Zo(t);if(!this._platform.isBrowser||1!==o.nodeType)return Je(null);var s=AT(o)||this._getDocument(),l=this._elementInfo.get(o);if(l)return a&&(l.checkChildren=!0),l.subject;var u={checkChildren:a,subject:new Ae,rootNode:s};return this._elementInfo.set(o,u),this._registerGlobalListeners(u),u.subject}},{key:"stopMonitoring",value:function(t){var a=Zo(t),o=this._elementInfo.get(a);o&&(o.subject.complete(),this._setClasses(a),this._elementInfo.delete(a),this._removeGlobalListeners(o))}},{key:"focusVia",value:function(t,a,o){var s=this,l=Zo(t);l===this._getDocument().activeElement?this._getClosestElementsInfo(l).forEach(function(f){var m=ne(f,2);return s._originChanged(m[0],a,m[1])}):(this._setOrigin(a),"function"==typeof l.focus&&l.focus(o))}},{key:"ngOnDestroy",value:function(){var t=this;this._elementInfo.forEach(function(a,o){return t.stopMonitoring(o)})}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_getFocusOrigin",value:function(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}},{key:"_shouldBeAttributedToTouch",value:function(t){return 1===this._detectionMode||!!(null==t?void 0:t.contains(this._inputModalityDetector._mostRecentTarget))}},{key:"_setClasses",value:function(t,a){t.classList.toggle("cdk-focused",!!a),t.classList.toggle("cdk-touch-focused","touch"===a),t.classList.toggle("cdk-keyboard-focused","keyboard"===a),t.classList.toggle("cdk-mouse-focused","mouse"===a),t.classList.toggle("cdk-program-focused","program"===a)}},{key:"_setOrigin",value:function(t){var a=this,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this._ngZone.runOutsideAngular(function(){a._origin=t,a._originFromTouchInteraction="touch"===t&&o,0===a._detectionMode&&(clearTimeout(a._originTimeoutId),a._originTimeoutId=setTimeout(function(){return a._origin=null},a._originFromTouchInteraction?650:1))})}},{key:"_onFocus",value:function(t,a){var o=this._elementInfo.get(a),s=kl(t);!o||!o.checkChildren&&a!==s||this._originChanged(a,this._getFocusOrigin(s),o)}},{key:"_onBlur",value:function(t,a){var o=this._elementInfo.get(a);!o||o.checkChildren&&t.relatedTarget instanceof Node&&a.contains(t.relatedTarget)||(this._setClasses(a),this._emitOrigin(o.subject,null))}},{key:"_emitOrigin",value:function(t,a){this._ngZone.run(function(){return t.next(a)})}},{key:"_registerGlobalListeners",value:function(t){var a=this;if(this._platform.isBrowser){var o=t.rootNode,s=this._rootNodeFocusListenerCount.get(o)||0;s||this._ngZone.runOutsideAngular(function(){o.addEventListener("focus",a._rootNodeFocusAndBlurListener,av),o.addEventListener("blur",a._rootNodeFocusAndBlurListener,av)}),this._rootNodeFocusListenerCount.set(o,s+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(function(){a._getWindow().addEventListener("focus",a._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(hn(this._stopInputModalityDetector)).subscribe(function(l){a._setOrigin(l,!0)}))}}},{key:"_removeGlobalListeners",value:function(t){var a=t.rootNode;if(this._rootNodeFocusListenerCount.has(a)){var o=this._rootNodeFocusListenerCount.get(a);o>1?this._rootNodeFocusListenerCount.set(a,o-1):(a.removeEventListener("focus",this._rootNodeFocusAndBlurListener,av),a.removeEventListener("blur",this._rootNodeFocusAndBlurListener,av),this._rootNodeFocusListenerCount.delete(a))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}},{key:"_originChanged",value:function(t,a,o){this._setClasses(t,a),this._emitOrigin(o.subject,a),this._lastFocusOrigin=a}},{key:"_getClosestElementsInfo",value:function(t){var a=[];return this._elementInfo.forEach(function(o,s){(s===t||o.checkChildren&&s.contains(t))&&a.push([s,o])}),a}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(bt),Ee(Sr),Ee(C8),Ee(Ot,8),Ee(T8,8))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),L8=function(){var n=function(){function i(e,t){c(this,i),this._elementRef=e,this._focusMonitor=t,this.cdkFocusChange=new pt}return d(i,[{key:"ngAfterViewInit",value:function(){var t=this,a=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(a,1===a.nodeType&&a.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(function(o){return t.cdkFocusChange.emit(o)})}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(yt),B(Os))},n.\u0275dir=et({type:n,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),n}(),u2="cdk-high-contrast-black-on-white",c2="cdk-high-contrast-white-on-black",lb="cdk-high-contrast-active",d2=function(){var n=function(){function i(e,t){c(this,i),this._platform=e,this._document=t}return d(i,[{key:"getHighContrastMode",value:function(){if(!this._platform.isBrowser)return 0;var t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);var a=this._document.defaultView||window,o=a&&a.getComputedStyle?a.getComputedStyle(t):null,s=(o&&o.backgroundColor||"").replace(/ /g,"");switch(t.remove(),s){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}},{key:"_applyBodyHighContrastModeCssClasses",value:function(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){var t=this._document.body.classList;t.remove(lb),t.remove(u2),t.remove(c2),this._hasCheckedHighContrastMode=!0;var a=this.getHighContrastMode();1===a?(t.add(lb),t.add(u2)):2===a&&(t.add(lb),t.add(c2))}}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(Sr),Ee(Ot))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),f2=function(){var n=d(function i(e){c(this,i),e._applyBodyHighContrastModeCssClasses()});return n.\u0275fac=function(e){return new(e||n)(Ee(d2))},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({imports:[[nv]]}),n}();function E8(n,i){if(1&n&&Te(0,"mat-pseudo-checkbox",4),2&n){var e=K();S("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}function P8(n,i){if(1&n&&(E(0,"span",5),R(1),P()),2&n){var e=K();p(1),ye("(",e.group.label,")")}}var x8=["*"],I8=new Ze("mat-sanity-checks",{providedIn:"root",factory:function O8(){return!0}}),Pn=function(){var n=function(){function i(e,t,a){c(this,i),this._sanityChecks=t,this._document=a,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}return d(i,[{key:"_checkIsEnabled",value:function(t){return!Qy()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[t])}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(d2),Ee(I8,8),Ee(Ot))},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({imports:[[rf],rf]}),n}();function sc(n){return function(i){h(t,i);var e=y(t);function t(){var a;c(this,t);for(var o=arguments.length,s=new Array(o),l=0;l1&&void 0!==arguments[1]?arguments[1]:0;return function(e){h(a,e);var t=y(a);function a(){var o;c(this,a);for(var s=arguments.length,l=new Array(s),u=0;u2&&void 0!==arguments[2]?arguments[2]:{},s=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),l=Object.assign(Object.assign({},m2),o.animation);o.centered&&(e=s.left+s.width/2,t=s.top+s.height/2);var u=o.radius||B8(e,t,s),f=e-s.left,m=t-s.top,C=l.enterDuration,A=document.createElement("div");A.classList.add("mat-ripple-element"),A.style.left="".concat(f-u,"px"),A.style.top="".concat(m-u,"px"),A.style.height="".concat(2*u,"px"),A.style.width="".concat(2*u,"px"),null!=o.color&&(A.style.backgroundColor=o.color),A.style.transitionDuration="".concat(C,"ms"),this._containerElement.appendChild(A),H8(A),A.style.transform="scale(1)";var V=new R8(this,A,o);return V.state=0,this._activeRipples.add(V),o.persistent||(this._mostRecentTransientRipple=V),this._runTimeoutOutsideZone(function(){var J=V===a._mostRecentTransientRipple;V.state=1,!o.persistent&&(!J||!a._isPointerDown)&&V.fadeOut()},C),V}},{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 a=e.element,o=Object.assign(Object.assign({},m2),e.config.animation);a.style.transitionDuration="".concat(o.exitDuration,"ms"),a.style.opacity="0",e.state=2,this._runTimeoutOutsideZone(function(){e.state=3,a.remove()},o.exitDuration)}}},{key:"fadeOutAll",value:function(){this._activeRipples.forEach(function(e){return e.fadeOut()})}},{key:"fadeOutAllNonPersistent",value:function(){this._activeRipples.forEach(function(e){e.config.persistent||e.fadeOut()})}},{key:"setupTriggerEvents",value:function(e){var t=Zo(e);!t||t===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=t,this._registerEvents(g2))}},{key:"handleEvent",value:function(e){"mousedown"===e.type?this._onMousedown(e):"touchstart"===e.type?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(_2),this._pointerUpEventsRegistered=!0)}},{key:"_onMousedown",value:function(e){var t=ab(e),a=this._lastTouchStartEvent&&Date.now()1&&void 0!==arguments[1]?arguments[1]:0;this._ngZone.runOutsideAngular(function(){return setTimeout(e,t)})}},{key:"_registerEvents",value:function(e){var t=this;this._ngZone.runOutsideAngular(function(){e.forEach(function(a){t._triggerElement.addEventListener(a,t,ub)})})}},{key:"_removeTriggerEvents",value:function(){var e=this;this._triggerElement&&(g2.forEach(function(t){e._triggerElement.removeEventListener(t,e,ub)}),this._pointerUpEventsRegistered&&_2.forEach(function(t){e._triggerElement.removeEventListener(t,e,ub)}))}}]),n}();function H8(n){window.getComputedStyle(n).getPropertyValue("opacity")}function B8(n,i,e){var t=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),a=Math.max(Math.abs(i-e.top),Math.abs(i-e.bottom));return Math.sqrt(t*t+a*a)}var y2=new Ze("mat-ripple-global-options"),Jo=function(){var n=function(){function i(e,t,a,o,s){c(this,i),this._elementRef=e,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new Y8(this,t,e,a)}return d(i,[{key:"disabled",get:function(){return this._disabled},set:function(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}},{key:"trigger",get:function(){return this._trigger||this._elementRef.nativeElement},set:function(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}},{key:"ngOnInit",value:function(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}},{key:"ngOnDestroy",value:function(){this._rippleRenderer._removeTriggerEvents()}},{key:"fadeOutAll",value:function(){this._rippleRenderer.fadeOutAll()}},{key:"fadeOutAllNonPersistent",value:function(){this._rippleRenderer.fadeOutAllNonPersistent()}},{key:"rippleConfig",get:function(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}},{key:"rippleDisabled",get:function(){return this.disabled||!!this._globalOptions.disabled}},{key:"_setupTriggerEventsIfEnabled",value:function(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}},{key:"launch",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2?arguments[2]:void 0;return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,a,Object.assign(Object.assign({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),t))}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(yt),B(bt),B(Sr),B(y2,8),B(ai,8))},n.\u0275dir=et({type:n,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&fn("mat-ripple-unbounded",t.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),n}(),hf=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({imports:[[Pn],Pn]}),n}(),V8=function(){var n=d(function i(e){c(this,i),this._animationMode=e,this.state="unchecked",this.disabled=!1});return n.\u0275fac=function(e){return new(e||n)(B(ai,8))},n.\u0275cmp=qe({type:n,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,t){2&e&&fn("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}),n}(),j8=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({imports:[[Pn]]}),n}(),b2=new Ze("MAT_OPTION_PARENT_COMPONENT"),k2=new Ze("MatOptgroup"),U8=0,z8=d(function n(i){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];c(this,n),this.source=i,this.isUserInput=e}),W8=function(){var n=function(){function i(e,t,a,o){c(this,i),this._element=e,this._changeDetectorRef=t,this._parent=a,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-".concat(U8++),this.onSelectionChange=new pt,this._stateChanges=new Ae}return d(i,[{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(t){this._disabled=$n(t)}},{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()}},{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(t,a){var o=this._getHostElement();"function"==typeof o.focus&&o.focus(a)}},{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(t){(13===t.keyCode||32===t.keyCode)&&!Qo(t)&&(this._selectViaInteraction(),t.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 t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue=t,this._stateChanges.next())}}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"_emitSelectionChangeEvent",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.onSelectionChange.emit(new z8(this,t))}}]),i}();return n.\u0275fac=function(e){Ru()},n.\u0275dir=et({type:n,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),n}(),lc=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l){return c(this,t),e.call(this,a,o,s,l)}return d(t)}(W8);return n.\u0275fac=function(e){return new(e||n)(B(yt),B(Yn),B(b2,8),B(k2,8))},n.\u0275cmp=qe({type:n,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,t){1&e&&Se("click",function(){return t._selectViaInteraction()})("keydown",function(o){return t._handleKeydown(o)}),2&e&&(tl("id",t.id),Wt("tabindex",t._getTabIndex())("aria-selected",t._getAriaSelected())("aria-disabled",t.disabled.toString()),fn("mat-selected",t.selected)("mat-option-multiple",t.multiple)("mat-active",t.active)("mat-option-disabled",t.disabled))},exportAs:["matOption"],features:[vt],ngContentSelectors:x8,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(e,t){1&e&&(Gi(),q(0,E8,1,2,"mat-pseudo-checkbox",0),E(1,"span",1),hr(2),P(),q(3,P8,2,1,"span",2),Te(4,"div",3)),2&e&&(S("ngIf",t.multiple),p(3),S("ngIf",t.group&&t.group._inert),p(1),S("matRippleTrigger",t._getHostElement())("matRippleDisabled",t.disabled||t.disableRipple))},directives:[V8,Et,Jo],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;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}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.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}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),n}();function M2(n,i,e){if(e.length){for(var t=i.toArray(),a=e.toArray(),o=0,s=0;s*,.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:inline-flex;justify-content:center;align-items:center;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}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),n}(),Q8=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l){var u;return c(this,t),(u=e.call(this,o,a,s))._ngZone=l,u._haltDisabledEvents=function(f){u.disabled&&(f.preventDefault(),f.stopImmediatePropagation())},u}return d(t,[{key:"ngAfterViewInit",value:function(){var o=this;T(O(t.prototype),"ngAfterViewInit",this).call(this),this._ngZone?this._ngZone.runOutsideAngular(function(){o._elementRef.nativeElement.addEventListener("click",o._haltDisabledEvents)}):this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}},{key:"ngOnDestroy",value:function(){T(O(t.prototype),"ngOnDestroy",this).call(this),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}]),t}(yi);return n.\u0275fac=function(e){return new(e||n)(B(Os),B(yt),B(ai,8),B(bt,8))},n.\u0275cmp=qe({type:n,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:7,hostBindings:function(e,t){2&e&&(Wt("tabindex",t.disabled?-1:t.tabIndex||0)("disabled",t.disabled||null)("aria-disabled",t.disabled.toString()),fn("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-button-disabled",t.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[vt],attrs:w2,ngContentSelectors:S2,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&&(Gi(),E(0,"span",0),hr(1),P(),Te(2,"span",1)(3,"span",2)),2&e&&(p(2),fn("mat-button-ripple-round",t.isRoundButton||t.isIconButton),S("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[Jo],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .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;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.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-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;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.mat-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;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.mat-button-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;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.mat-button-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}.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:inline-flex;justify-content:center;align-items:center;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}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),n}(),D2=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({imports:[[hf,Pn],Pn]}),n}(),T2=new Set,J8=function(){var n=function(){function i(e){c(this,i),this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):e6}return d(i,[{key:"matchMedia",value:function(t){return(this._platform.WEBKIT||this._platform.BLINK)&&function X8(n){if(!T2.has(n))try{uc||((uc=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(uc)),uc.sheet&&(uc.sheet.insertRule("@media ".concat(n," {body{ }}"),0),T2.add(n))}catch(i){console.error(i)}}(t),this._matchMedia(t)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(Sr))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}();function e6(n){return{matches:"all"===n||""===n,media:n,addListener:function(){},removeListener:function(){}}}var cb=function(){var n=function(){function i(e,t){c(this,i),this._mediaMatcher=e,this._zone=t,this._queries=new Map,this._destroySubject=new Ae}return d(i,[{key:"ngOnDestroy",value:function(){this._destroySubject.next(),this._destroySubject.complete()}},{key:"isMatched",value:function(t){var a=this;return L2(Gp(t)).some(function(s){return a._registerQuery(s).mql.matches})}},{key:"observe",value:function(t){var a=this,l=yD(L2(Gp(t)).map(function(u){return a._registerQuery(u).observable}));return(l=dl(l.pipe(nr(1)),l.pipe(ZT(1),tb(0)))).pipe($e(function(u){var f={matches:!1,breakpoints:{}};return u.forEach(function(m){var C=m.matches,A=m.query;f.matches=f.matches||C,f.breakpoints[A]=C}),f}))}},{key:"_registerQuery",value:function(t){var a=this;if(this._queries.has(t))return this._queries.get(t);var o=this._mediaMatcher.matchMedia(t),l={observable:new fe(function(u){var f=function(C){return a._zone.run(function(){return u.next(C)})};return o.addListener(f),function(){o.removeListener(f)}}).pipe(ha(o),$e(function(u){return{query:t,matches:u.matches}}),hn(this._destroySubject)),mql:o};return this._queries.set(t,l),l}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(J8),Ee(bt))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}();function L2(n){return n.map(function(i){return i.split(",")}).reduce(function(i,e){return i.concat(e)}).map(function(i){return i.trim()})}function t6(n,i){if(1&n){var e=tt();E(0,"div",2)(1,"button",3),Se("click",function(){return ke(e),K().action()}),R(2),P()()}if(2&n){var t=K();p(2),ge(t.data.action)}}function n6(n,i){}var db=new Ze("MatSnackBarData"),sv=d(function n(){c(this,n),this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}),r6=Math.pow(2,31)-1,lv=function(){function n(i,e){var t=this;c(this,n),this._overlayRef=e,this._afterDismissed=new Ae,this._afterOpened=new Ae,this._onAction=new Ae,this._dismissedByAction=!1,this.containerInstance=i,this.onAction().subscribe(function(){return t.dismiss()}),i._onExit.subscribe(function(){return t._finishDismiss()})}return d(n,[{key:"dismiss",value:function(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}},{key:"dismissWithAction",value:function(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete()),clearTimeout(this._durationTimeoutId)}},{key:"closeWithAction",value:function(){this.dismissWithAction()}},{key:"_dismissAfter",value:function(e){var t=this;this._durationTimeoutId=setTimeout(function(){return t.dismiss()},Math.min(e,r6))}},{key:"_open",value:function(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}},{key:"_finishDismiss",value:function(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}},{key:"afterDismissed",value:function(){return this._afterDismissed}},{key:"afterOpened",value:function(){return this.containerInstance._onEnter}},{key:"onAction",value:function(){return this._onAction}}]),n}(),i6=function(){var n=function(){function i(e,t){c(this,i),this.snackBarRef=e,this.data=t}return d(i,[{key:"action",value:function(){this.snackBarRef.dismissWithAction()}},{key:"hasAction",get:function(){return!!this.data.action}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(lv),B(db))},n.\u0275cmp=qe({type:n,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[[1,"mat-simple-snack-bar-content"],["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(e,t){1&e&&(E(0,"span",0),R(1),P(),q(2,t6,3,1,"div",1)),2&e&&(p(1),ge(t.data.message),p(1),S("ngIf",t.hasAction))},directives:[yi,Et],styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}.mat-simple-snack-bar-content{overflow:hidden;text-overflow:ellipsis}\n"],encapsulation:2,changeDetection:0}),n}(),a6={snackBarState:Go("state",[Ri("void, hidden",kn({transform:"scale(0.8)",opacity:0})),Ri("visible",kn({transform:"scale(1)",opacity:1})),_i("* => visible",Fi("150ms cubic-bezier(0, 0, 0.2, 1)")),_i("* => void, * => hidden",Fi("75ms cubic-bezier(0.4, 0.0, 1, 1)",kn({opacity:0})))])},o6=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l,u){var f;return c(this,t),(f=e.call(this))._ngZone=a,f._elementRef=o,f._changeDetectorRef=s,f._platform=l,f.snackBarConfig=u,f._announceDelay=150,f._destroyed=!1,f._onAnnounce=new Ae,f._onExit=new Ae,f._onEnter=new Ae,f._animationState="void",f.attachDomPortal=function(m){return f._assertNotAttached(),f._applySnackBarClasses(),f._portalOutlet.attachDomPortal(m)},f._live="assertive"!==u.politeness||u.announcementMessage?"off"===u.politeness?"off":"polite":"assertive",f._platform.FIREFOX&&("polite"===f._live&&(f._role="status"),"assertive"===f._live&&(f._role="alert")),f}return d(t,[{key:"attachComponentPortal",value:function(o){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(o)}},{key:"attachTemplatePortal",value:function(o){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(o)}},{key:"onAnimationEnd",value:function(o){var l=o.toState;if(("void"===l&&"void"!==o.fromState||"hidden"===l)&&this._completeExit(),"visible"===l){var u=this._onEnter;this._ngZone.run(function(){u.next(),u.complete()})}}},{key:"enter",value:function(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}},{key:"exit",value:function(){return this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._onExit}},{key:"ngOnDestroy",value:function(){this._destroyed=!0,this._completeExit()}},{key:"_completeExit",value:function(){var o=this;this._ngZone.onMicrotaskEmpty.pipe(nr(1)).subscribe(function(){o._onExit.next(),o._onExit.complete()})}},{key:"_applySnackBarClasses",value:function(){var o=this._elementRef.nativeElement,s=this.snackBarConfig.panelClass;s&&(Array.isArray(s)?s.forEach(function(l){return o.classList.add(l)}):o.classList.add(s)),"center"===this.snackBarConfig.horizontalPosition&&o.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&o.classList.add("mat-snack-bar-top")}},{key:"_assertNotAttached",value:function(){this._portalOutlet.hasAttached()}},{key:"_screenReaderAnnounce",value:function(){var o=this;this._announceTimeoutId||this._ngZone.runOutsideAngular(function(){o._announceTimeoutId=setTimeout(function(){var s=o._elementRef.nativeElement.querySelector("[aria-hidden]"),l=o._elementRef.nativeElement.querySelector("[aria-live]");if(s&&l){var u=null;o._platform.isBrowser&&document.activeElement instanceof HTMLElement&&s.contains(document.activeElement)&&(u=document.activeElement),s.removeAttribute("aria-hidden"),l.appendChild(s),null==u||u.focus(),o._onAnnounce.next(),o._onAnnounce.complete()}},o._announceDelay)})}}]),t}($p);return n.\u0275fac=function(e){return new(e||n)(B(bt),B(yt),B(Yn),B(Sr),B(sv))},n.\u0275cmp=qe({type:n,selectors:[["snack-bar-container"]],viewQuery:function(e,t){var a;1&e&>(Cl,7),2&e&<(a=ut())&&(t._portalOutlet=a.first)},hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(e,t){1&e&&xh("@state.done",function(o){return t.onAnimationEnd(o)}),2&e&&Ih("@state",t._animationState)},features:[vt],decls:3,vars:2,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(e,t){1&e&&(E(0,"div",0),q(1,n6,0,0,"ng-template",1),P(),Te(2,"div")),2&e&&(p(2),Wt("aria-live",t._live)("role",t._role))},directives:[Cl],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}\n"],encapsulation:2,data:{animation:[a6.snackBarState]}}),n}(),P2=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({imports:[[cf,Zp,Mo,D2,Pn],Pn]}),n}(),fb=new Ze("mat-snack-bar-default-options",{providedIn:"root",factory:function s6(){return new sv}}),l6=function(){var n=function(){function i(e,t,a,o,s,l){c(this,i),this._overlay=e,this._live=t,this._injector=a,this._breakpointObserver=o,this._parentSnackBar=s,this._defaultConfig=l,this._snackBarRefAtThisLevel=null}return d(i,[{key:"_openedSnackBarRef",get:function(){var t=this._parentSnackBar;return t?t._openedSnackBarRef:this._snackBarRefAtThisLevel},set:function(t){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=t:this._snackBarRefAtThisLevel=t}},{key:"openFromComponent",value:function(t,a){return this._attach(t,a)}},{key:"openFromTemplate",value:function(t,a){return this._attach(t,a)}},{key:"open",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=arguments.length>2?arguments[2]:void 0,s=Object.assign(Object.assign({},this._defaultConfig),o);return s.data={message:t,action:a},s.announcementMessage===t&&(s.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,s)}},{key:"dismiss",value:function(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}},{key:"ngOnDestroy",value:function(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}},{key:"_attachSnackBarContainer",value:function(t,a){var s=zn.create({parent:a&&a.viewContainerRef&&a.viewContainerRef.injector||this._injector,providers:[{provide:sv,useValue:a}]}),l=new ic(this.snackBarContainerComponent,a.viewContainerRef,s),u=t.attach(l);return u.instance.snackBarConfig=a,u.instance}},{key:"_attach",value:function(t,a){var o=this,s=Object.assign(Object.assign(Object.assign({},new sv),this._defaultConfig),a),l=this._createOverlay(s),u=this._attachSnackBarContainer(l,s),f=new lv(u,l);if(t instanceof Ii){var m=new ac(t,null,{$implicit:s.data,snackBarRef:f});f.instance=u.attachTemplatePortal(m)}else{var C=this._createInjector(s,f),A=new ic(t,void 0,C),V=u.attachComponentPortal(A);f.instance=V.instance}return this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(hn(l.detachments())).subscribe(function(J){l.overlayElement.classList.toggle(o.handsetCssClass,J.matches)}),s.announcementMessage&&u._onAnnounce.subscribe(function(){o._live.announce(s.announcementMessage,s.politeness)}),this._animateSnackBar(f,s),this._openedSnackBarRef=f,this._openedSnackBarRef}},{key:"_animateSnackBar",value:function(t,a){var o=this;t.afterDismissed().subscribe(function(){o._openedSnackBarRef==t&&(o._openedSnackBarRef=null),a.announcementMessage&&o._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(function(){t.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):t.containerInstance.enter(),a.duration&&a.duration>0&&t.afterOpened().subscribe(function(){return t._dismissAfter(a.duration)})}},{key:"_createOverlay",value:function(t){var a=new uf;a.direction=t.direction;var o=this._overlay.position().global(),s="rtl"===t.direction,l="left"===t.horizontalPosition||"start"===t.horizontalPosition&&!s||"end"===t.horizontalPosition&&s,u=!l&&"center"!==t.horizontalPosition;return l?o.left("0"):u?o.right("0"):o.centerHorizontally(),"top"===t.verticalPosition?o.top("0"):o.bottom("0"),a.positionStrategy=o,this._overlay.create(a)}},{key:"_createInjector",value:function(t,a){return zn.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:lv,useValue:a},{provide:db,useValue:t.data}]})}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(Ia),Ee(sb),Ee(zn),Ee(cb),Ee(n,12),Ee(fb))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),u6=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l,u,f){var m;return c(this,t),(m=e.call(this,a,o,s,l,u,f)).simpleSnackBarComponent=i6,m.snackBarContainerComponent=o6,m.handsetCssClass="mat-snack-bar-handset",m}return d(t)}(l6);return n.\u0275fac=function(e){return new(e||n)(Ee(Ia),Ee(sb),Ee(zn),Ee(cb),Ee(n,12),Ee(fb))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:P2}),n}();function hb(){for(var n=arguments.length,i=new Array(n),e=0;e1&&void 0!==arguments[1]?arguments[1]:t;return this._fontCssClassesByAlias.set(t,a),this}},{key:"classNameForFontAlias",value:function(t){return this._fontCssClassesByAlias.get(t)||t}},{key:"setDefaultFontSetClass",value:function(t){return this._defaultFontSetClass=t,this}},{key:"getDefaultFontSetClass",value:function(){return this._defaultFontSetClass}},{key:"getSvgIconFromUrl",value:function(t){var a=this,o=this._sanitizer.sanitize(bn.RESOURCE_URL,t);if(!o)throw O2(t);var s=this._cachedIconsByUrl.get(o);return s?Je(fv(s)):this._loadSvgIconFromConfig(new Dl(t,null)).pipe(Fr(function(l){return a._cachedIconsByUrl.set(o,l)}),$e(function(l){return fv(l)}))}},{key:"getNamedSvgIcon",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=A2(a,t),s=this._svgIconConfigs.get(o);if(s)return this._getSvgFromConfig(s);if(s=this._getIconConfigFromResolvers(a,t))return this._svgIconConfigs.set(o,s),this._getSvgFromConfig(s);var l=this._iconSetConfigs.get(a);return l?this._getSvgFromIconSetConfigs(t,l):Ni(x2(o))}},{key:"ngOnDestroy",value:function(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}},{key:"_getSvgFromConfig",value:function(t){return t.svgText?Je(fv(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe($e(function(a){return fv(a)}))}},{key:"_getSvgFromIconSetConfigs",value:function(t,a){var o=this,s=this._extractIconWithNameFromAnySet(t,a);return s?Je(s):hb(a.filter(function(u){return!u.svgText}).map(function(u){return o._loadSvgIconSetFromConfig(u).pipe(Ki(function(f){var m=o._sanitizer.sanitize(bn.RESOURCE_URL,u.url),C="Loading icon set URL: ".concat(m," failed: ").concat(f.message);return o._errorHandler.handleError(new Error(C)),Je(null)}))})).pipe($e(function(){var u=o._extractIconWithNameFromAnySet(t,a);if(!u)throw x2(t);return u}))}},{key:"_extractIconWithNameFromAnySet",value:function(t,a){for(var o=a.length-1;o>=0;o--){var s=a[o];if(s.svgText&&s.svgText.toString().indexOf(t)>-1){var l=this._svgElementFromConfig(s),u=this._extractSvgIconFromSet(l,t,s.options);if(u)return u}}return null}},{key:"_loadSvgIconFromConfig",value:function(t){var a=this;return this._fetchIcon(t).pipe(Fr(function(o){return t.svgText=o}),$e(function(){return a._svgElementFromConfig(t)}))}},{key:"_loadSvgIconSetFromConfig",value:function(t){return t.svgText?Je(null):this._fetchIcon(t).pipe(Fr(function(a){return t.svgText=a}))}},{key:"_extractSvgIconFromSet",value:function(t,a,o){var s=t.querySelector('[id="'.concat(a,'"]'));if(!s)return null;var l=s.cloneNode(!0);if(l.removeAttribute("id"),"svg"===l.nodeName.toLowerCase())return this._setSvgAttributes(l,o);if("symbol"===l.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(l),o);var u=this._svgElementFromString(pf(""));return u.appendChild(l),this._setSvgAttributes(u,o)}},{key:"_svgElementFromString",value:function(t){var a=this._document.createElement("DIV");a.innerHTML=t;var o=a.querySelector("svg");if(!o)throw Error(" tag not found");return o}},{key:"_toSvgElement",value:function(t){for(var a=this._svgElementFromString(pf("")),o=t.attributes,s=0;s5&&void 0!==arguments[5])||arguments[5],u=arguments.length>6&&void 0!==arguments[6]&&arguments[6];c(this,i),this.store=e,this.currentLoader=t,this.compiler=a,this.parser=o,this.missingTranslationHandler=s,this.useDefaultLang=l,this.isolate=u,this.pending=!1,this._onTranslationChange=new pt,this._onLangChange=new pt,this._onDefaultLangChange=new pt,this._langs=[],this._translations={},this._translationRequests={}}return d(i,[{key:"onTranslationChange",get:function(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}},{key:"onLangChange",get:function(){return this.isolate?this._onLangChange:this.store.onLangChange}},{key:"onDefaultLangChange",get:function(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}},{key:"defaultLang",get:function(){return this.isolate?this._defaultLang:this.store.defaultLang},set:function(t){this.isolate?this._defaultLang=t:this.store.defaultLang=t}},{key:"currentLang",get:function(){return this.isolate?this._currentLang:this.store.currentLang},set:function(t){this.isolate?this._currentLang=t:this.store.currentLang=t}},{key:"langs",get:function(){return this.isolate?this._langs:this.store.langs},set:function(t){this.isolate?this._langs=t:this.store.langs=t}},{key:"translations",get:function(){return this.isolate?this._translations:this.store.translations},set:function(t){this.isolate?this._translations=t:this.store.translations=t}},{key:"setDefaultLang",value:function(t){var a=this;if(t!==this.defaultLang){var o=this.retrieveTranslations(t);void 0!==o?(this.defaultLang||(this.defaultLang=t),o.pipe(nr(1)).subscribe(function(s){a.changeDefaultLang(t)})):this.changeDefaultLang(t)}}},{key:"getDefaultLang",value:function(){return this.defaultLang}},{key:"use",value:function(t){var a=this;if(t===this.currentLang)return Je(this.translations[t]);var o=this.retrieveTranslations(t);return void 0!==o?(this.currentLang||(this.currentLang=t),o.pipe(nr(1)).subscribe(function(s){a.changeLang(t)}),o):(this.changeLang(t),Je(this.translations[t]))}},{key:"retrieveTranslations",value:function(t){var a;return void 0===this.translations[t]&&(this._translationRequests[t]=this._translationRequests[t]||this.getTranslation(t),a=this._translationRequests[t]),a}},{key:"getTranslation",value:function(t){var a=this;return this.pending=!0,this.loadingTranslations=this.currentLoader.getTranslation(t).pipe(Vl()),this.loadingTranslations.pipe(nr(1)).subscribe(function(o){a.translations[t]=a.compiler.compileTranslations(o,t),a.updateLangs(),a.pending=!1},function(o){a.pending=!1}),this.loadingTranslations}},{key:"setTranslation",value:function(t,a){var o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];a=this.compiler.compileTranslations(a,t),this.translations[t]=o&&this.translations[t]?H2(this.translations[t],a):a,this.updateLangs(),this.onTranslationChange.emit({lang:t,translations:this.translations[t]})}},{key:"getLangs",value:function(){return this.langs}},{key:"addLangs",value:function(t){var a=this;t.forEach(function(o){-1===a.langs.indexOf(o)&&a.langs.push(o)})}},{key:"updateLangs",value:function(){this.addLangs(Object.keys(this.translations))}},{key:"getParsedResult",value:function(t,a,o){var s;if(a instanceof Array){var m,l={},u=!1,f=W(a);try{for(f.s();!(m=f.n()).done;){var C=m.value;l[C]=this.getParsedResult(t,C,o),"function"==typeof l[C].subscribe&&(u=!0)}}catch(pe){f.e(pe)}finally{f.f()}if(u){var A,J,V=W(a);try{for(V.s();!(J=V.n()).done;){var me=J.value,Ce="function"==typeof l[me].subscribe?l[me]:Je(l[me]);A=void 0===A?Ce:Ci(A,Ce)}}catch(pe){V.e(pe)}finally{V.f()}return A.pipe(function C6(){return function k6(n,i){return arguments.length>=2?function(t){return de(Tp(n,i),Wd(1),Sy(i))(t)}:function(t){return de(Tp(function(a,o,s){return n(a,o,s+1)}),Wd(1))(t)}}(M6,[])}(),$e(function(pe){var Re={};return pe.forEach(function(Ye,Ge){Re[a[Ge]]=Ye}),Re}))}return l}if(t&&(s=this.parser.interpolate(this.parser.getValue(t,a),o)),void 0===s&&this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(s=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],a),o)),void 0===s){var Le={key:a,translateService:this};void 0!==o&&(Le.interpolateParams=o),s=this.missingTranslationHandler.handle(Le)}return void 0!==s?s:a}},{key:"get",value:function(t,a){var o=this;if(!Qa(t)||!t.length)throw new Error('Parameter "key" required');if(this.pending)return fe.create(function(l){var u=function(C){l.next(C),l.complete()},f=function(C){l.error(C)};o.loadingTranslations.subscribe(function(m){"function"==typeof(m=o.getParsedResult(o.compiler.compileTranslations(m,o.currentLang),t,a)).subscribe?m.subscribe(u,f):u(m)},f)});var s=this.getParsedResult(this.translations[this.currentLang],t,a);return"function"==typeof s.subscribe?s:Je(s)}},{key:"stream",value:function(t,a){var o=this;if(!Qa(t)||!t.length)throw new Error('Parameter "key" required');return dl(this.get(t,a),this.onLangChange.pipe(fa(function(s){var l=o.getParsedResult(s.translations,t,a);return"function"==typeof l.subscribe?l:Je(l)})))}},{key:"instant",value:function(t,a){if(!Qa(t)||!t.length)throw new Error('Parameter "key" required');var o=this.getParsedResult(this.translations[this.currentLang],t,a);if(void 0!==o.subscribe){if(t instanceof Array){var s={};return t.forEach(function(l,u){s[t[u]]=t[u]}),s}return t}return o}},{key:"set",value:function(t,a){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.currentLang;this.translations[o][t]=this.compiler.compile(a,o),this.updateLangs(),this.onTranslationChange.emit({lang:o,translations:this.translations[o]})}},{key:"changeLang",value:function(t){this.currentLang=t,this.onLangChange.emit({lang:t,translations:this.translations[t]}),this.defaultLang||this.changeDefaultLang(t)}},{key:"changeDefaultLang",value:function(t){this.defaultLang=t,this.onDefaultLangChange.emit({lang:t,translations:this.translations[t]})}},{key:"reloadLang",value:function(t){return this.resetLang(t),this.getTranslation(t)}},{key:"resetLang",value:function(t){this._translationRequests[t]=void 0,this.translations[t]=void 0}},{key:"getBrowserLang",value:function(){if("undefined"!=typeof window&&void 0!==window.navigator){var t=window.navigator.languages?window.navigator.languages[0]:null;return-1!==(t=t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage).indexOf("-")&&(t=t.split("-")[0]),-1!==t.indexOf("_")&&(t=t.split("_")[0]),t}}},{key:"getBrowserCultureLang",value:function(){if("undefined"!=typeof window&&void 0!==window.navigator){var t=window.navigator.languages?window.navigator.languages[0]:null;return t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(V2),Ee(vf),Ee(hv),Ee(pv),Ee(pb),Ee(gb),Ee(mb))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),Mt=function(){var n=function(){function i(e,t){c(this,i),this.translate=e,this._ref=t,this.value=""}return d(i,[{key:"updateValue",value:function(t,a,o){var s=this,l=function(m){s.value=void 0!==m?m:t,s.lastKey=t,s._ref.markForCheck()};if(o){var u=this.translate.getParsedResult(o,t,a);"function"==typeof u.subscribe?u.subscribe(l):l(u)}this.translate.get(t,a).subscribe(l)}},{key:"transform",value:function(t){var u,a=this;if(!t||0===t.length)return t;for(var o=arguments.length,s=new Array(o>1?o-1:0),l=1;l0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:i,providers:[t.loader||{provide:vf,useClass:R2},t.compiler||{provide:hv,useClass:Y2},t.parser||{provide:pv,useClass:B2},t.missingTranslationHandler||{provide:pb,useClass:N2},V2,{provide:mb,useValue:t.isolate},{provide:gb,useValue:t.useDefaultLang},bi]}}},{key:"forChild",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:i,providers:[t.loader||{provide:vf,useClass:R2},t.compiler||{provide:hv,useClass:Y2},t.parser||{provide:pv,useClass:B2},t.missingTranslationHandler||{provide:pb,useClass:N2},{provide:mb,useValue:t.isolate},{provide:gb,useValue:t.useDefaultLang},bi]}}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({}),n}();function w6(n,i){if(1&n&&(E(0,"div",5)(1,"mat-icon",6),R(2),P()()),2&n){var e=K();p(1),S("inline",!0),p(1),ge(e.config.icon)}}function S6(n,i){if(1&n&&(E(0,"div",7),R(1),Y(2,"translate"),Y(3,"translate"),P()),2&n){var e=K();p(1),xi(" ",U(2,2,"common.error")," ",xt(3,4,e.config.smallText,e.config.smallTextTranslationParams)," ")}}var cc=function(){return function(n){n.Error="error",n.Done="done",n.Warning="warning"}(cc||(cc={})),cc}(),dc=function(){return function(n){n.Red="red-background",n.Green="green-background",n.Yellow="yellow-background"}(dc||(dc={})),dc}(),D6=function(){var n=function(){function i(e,t){c(this,i),this.snackbarRef=t,this.config=e}return d(i,[{key:"close",value:function(){this.snackbarRef.dismiss()}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(db),B(lv))},n.\u0275cmp=qe({type:n,selectors:[["app-snack-bar"]],decls:9,vars:8,consts:[["class","icon-container",4,"ngIf"],[1,"text-container"],["class","second-line",4,"ngIf"],[1,"close-button-separator"],[1,"close-button",3,"click"],[1,"icon-container"],[3,"inline"],[1,"second-line"]],template:function(e,t){1&e&&(E(0,"div"),q(1,w6,3,2,"div",0),E(2,"div",1),R(3),Y(4,"translate"),q(5,S6,4,7,"div",2),P(),Te(6,"div",3),E(7,"mat-icon",4),Se("click",function(){return t.close()}),R(8,"close"),P()()),2&e&&(ua("main-container "+t.config.color),p(1),S("ngIf",t.config.icon),p(2),ye(" ",xt(4,5,t.config.text,t.config.textTranslationParams)," "),p(2),S("ngIf",t.config.smallText))},directives:[Et,Mn],pipes:[Mt],styles:['.cursor-pointer[_ngcontent-%COMP%], .close-button[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}.main-container[_ngcontent-%COMP%]{width:100%;display:flex;color:#fff;padding:15px;border-radius:5px}.red-background[_ngcontent-%COMP%]{background-color:#ea0606}.green-background[_ngcontent-%COMP%]{background-color:#1fb11f}.yellow-background[_ngcontent-%COMP%]{background-color:#f90}.icon-container[_ngcontent-%COMP%]{margin-right:10px;position:relative;top:1px}.text-container[_ngcontent-%COMP%]{flex-grow:1;margin-right:10px;font-size:1rem;word-break:break-word}.text-container[_ngcontent-%COMP%] .second-line[_ngcontent-%COMP%]{font-size:.8rem;opacity:.9}.close-button-separator[_ngcontent-%COMP%]{width:1px;margin-right:10px;background-color:#0000004d}.close-button[_ngcontent-%COMP%]{opacity:.7}.close-button[_ngcontent-%COMP%]:hover{opacity:1}mat-icon[_ngcontent-%COMP%]{position:relative;top:1px;-webkit-user-select:none;user-select:none}']}),n}(),Tl=function(){return function(n){n.NoConnection="NoConnection",n.Unknown="Unknown"}(Tl||(Tl={})),Tl}(),T6=d(function n(){c(this,n)}),U2="common.operation-error";function on(n){if(n&&n.type&&!n.srcElement)return n;var i=new T6;if(i.originalError=n,!n||"string"==typeof n)return i.originalServerErrorMsg=n||"",i.translatableErrorMsg=n||U2,i.type=Tl.Unknown,i;i.originalServerErrorMsg=function E6(n){if(n){if("string"==typeof n._body)return n._body;if(n.originalServerErrorMsg&&"string"==typeof n.originalServerErrorMsg)return n.originalServerErrorMsg;if(n.error&&"string"==typeof n.error)return n.error;if(n.error&&n.error.error&&n.error.error.message)return n.error.error.message;if(n.error&&n.error.error&&"string"==typeof n.error.error)return n.error.error;if(n.message)return n.message;if(n._body&&n._body.error)return n._body.error;try{return JSON.parse(n._body).error}catch(e){}}return null}(n);return null!=n.status&&(0===n.status||504===n.status)&&(i.type=Tl.NoConnection,i.translatableErrorMsg="common.no-connection-error"),i.type||(i.type=Tl.Unknown,i.translatableErrorMsg=i.originalServerErrorMsg?function L6(n){if(!n||0===n.length)return n;if(-1!==n.indexOf('"error":'))try{n=JSON.parse(n).error}catch(t){}if(n.startsWith("400")||n.startsWith("403")){var i=n.split(" - ",2);n=2===i.length?i[1]:n}var e=(n=n.trim()).substr(0,1);return e.toUpperCase()!==e&&(n=e.toUpperCase()+n.substr(1,n.length-1)),!n.endsWith(".")&&!n.endsWith(",")&&!n.endsWith(":")&&!n.endsWith(";")&&!n.endsWith("?")&&!n.endsWith("!")&&(n+="."),n}(i.originalServerErrorMsg):U2),i}var In=function(){var n=function(){function i(e){c(this,i),this.snackBar=e,this.lastWasTemporaryError=!1}return d(i,[{key:"showError",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;t=on(t),s=s?on(s):null,this.lastWasTemporaryError=o,this.show(t.translatableErrorMsg,a,s?s.translatableErrorMsg:null,l,cc.Error,dc.Red,15e3)}},{key:"showWarning",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.lastWasTemporaryError=!1,this.show(t,a,null,null,cc.Warning,dc.Yellow,15e3)}},{key:"showDone",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.lastWasTemporaryError=!1,this.show(t,a,null,null,cc.Done,dc.Green,5e3)}},{key:"closeCurrent",value:function(){this.snackBar.dismiss()}},{key:"closeCurrentIfTemporaryError",value:function(){this.lastWasTemporaryError&&this.snackBar.dismiss()}},{key:"show",value:function(t,a,o,s,l,u,f){this.snackBar.openFromComponent(D6,{duration:f,panelClass:"snackbar-container",data:{text:t,textTranslationParams:a,smallText:o,smallTextTranslationParams:s,icon:l,color:u}})}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(u6))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}();function P6(n,i){}var Zn=d(function n(){c(this,n),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="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0}),x6={dialogContainer:Go("dialogContainer",[Ri("void, exit",kn({opacity:0,transform:"scale(0.7)"})),Ri("enter",kn({transform:"none"})),_i("* => enter",Fi("150ms cubic-bezier(0, 0, 0.2, 1)",kn({transform:"none",opacity:1}))),_i("* => void, * => exit",Fi("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",kn({opacity:0})))])},O6=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l,u,f,m,C){var A;return c(this,t),(A=e.call(this))._elementRef=a,A._focusTrapFactory=o,A._changeDetectorRef=s,A._config=u,A._interactivityChecker=f,A._ngZone=m,A._focusMonitor=C,A._animationStateChanged=new pt,A._elementFocusedBeforeDialogWasOpened=null,A._closeInteractionType=null,A.attachDomPortal=function(V){return A._portalOutlet.hasAttached(),A._portalOutlet.attachDomPortal(V)},A._ariaLabelledBy=u.ariaLabelledBy||null,A._document=l,A}return d(t,[{key:"_initializeWithAttachedContent",value:function(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement()}},{key:"attachComponentPortal",value:function(o){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(o)}},{key:"attachTemplatePortal",value:function(o){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(o)}},{key:"_recaptureFocus",value:function(){this._containsFocus()||this._trapFocus()}},{key:"_forceFocus",value:function(o,s){this._interactivityChecker.isFocusable(o)||(o.tabIndex=-1,this._ngZone.runOutsideAngular(function(){o.addEventListener("blur",function(){return o.removeAttribute("tabindex")}),o.addEventListener("mousedown",function(){return o.removeAttribute("tabindex")})})),o.focus(s)}},{key:"_focusByCssSelector",value:function(o,s){var l=this._elementRef.nativeElement.querySelector(o);l&&this._forceFocus(l,s)}},{key:"_trapFocus",value:function(){var o=this,s=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||s.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(function(l){l||o._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}},{key:"_restoreFocus",value:function(){var o=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&o&&"function"==typeof o.focus){var s=Zy(),l=this._elementRef.nativeElement;(!s||s===this._document.body||s===l||l.contains(s))&&(this._focusMonitor?(this._focusMonitor.focusVia(o,this._closeInteractionType),this._closeInteractionType=null):o.focus())}this._focusTrap&&this._focusTrap.destroy()}},{key:"_setupFocusTrap",value:function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}},{key:"_capturePreviouslyFocusedElement",value:function(){this._document&&(this._elementFocusedBeforeDialogWasOpened=Zy())}},{key:"_focusDialogContainer",value:function(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}},{key:"_containsFocus",value:function(){var o=this._elementRef.nativeElement,s=Zy();return o===s||o.contains(s)}}]),t}($p);return n.\u0275fac=function(e){return new(e||n)(B(yt),B(b8),B(Yn),B(Ot,8),B(Zn),B(a2),B(bt),B(Os))},n.\u0275dir=et({type:n,viewQuery:function(e,t){var a;1&e&>(Cl,7),2&e&<(a=ut())&&(t._portalOutlet=a.first)},features:[vt]}),n}(),I6=function(){var n=function(i){h(t,i);var e=y(t);function t(){var a;return c(this,t),(a=e.apply(this,arguments))._state="enter",a}return d(t,[{key:"_onAnimationDone",value:function(o){var s=o.toState,l=o.totalTime;"enter"===s?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:l})):"exit"===s&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:l}))}},{key:"_onAnimationStart",value:function(o){var s=o.toState,l=o.totalTime;"enter"===s?this._animationStateChanged.next({state:"opening",totalTime:l}):("exit"===s||"void"===s)&&this._animationStateChanged.next({state:"closing",totalTime:l})}},{key:"_startExitAnimation",value:function(){this._state="exit",this._changeDetectorRef.markForCheck()}}]),t}(O6);return n.\u0275fac=function(){var i;return function(t){return(i||(i=or(n)))(t||n)}}(),n.\u0275cmp=qe({type:n,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&xh("@dialogContainer.start",function(o){return t._onAnimationStart(o)})("@dialogContainer.done",function(o){return t._onAnimationDone(o)}),2&e&&(tl("id",t._id),Wt("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),Ih("@dialogContainer",t._state))},features:[vt],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&q(0,P6,0,0,"ng-template",0)},directives:[Cl],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;box-sizing:content-box;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,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[x6.dialogContainer]}}),n}(),A6=0,Dr=function(){function n(i,e){var t=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat-dialog-".concat(A6++);c(this,n),this._overlayRef=i,this._containerInstance=e,this.id=a,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new Ae,this._afterClosed=new Ae,this._beforeClosed=new Ae,this._state=0,e._id=a,e._animationStateChanged.pipe(Ir(function(o){return"opened"===o.state}),nr(1)).subscribe(function(){t._afterOpened.next(),t._afterOpened.complete()}),e._animationStateChanged.pipe(Ir(function(o){return"closed"===o.state}),nr(1)).subscribe(function(){clearTimeout(t._closeFallbackTimeout),t._finishDialogClose()}),i.detachments().subscribe(function(){t._beforeClosed.next(t._result),t._beforeClosed.complete(),t._afterClosed.next(t._result),t._afterClosed.complete(),t.componentInstance=null,t._overlayRef.dispose()}),i.keydownEvents().pipe(Ir(function(o){return 27===o.keyCode&&!t.disableClose&&!Qo(o)})).subscribe(function(o){o.preventDefault(),_b(t,"keyboard")}),i.backdropClick().subscribe(function(){t.disableClose?t._containerInstance._recaptureFocus():_b(t,"mouse")})}return d(n,[{key:"close",value:function(e){var t=this;this._result=e,this._containerInstance._animationStateChanged.pipe(Ir(function(a){return"closing"===a.state}),nr(1)).subscribe(function(a){t._beforeClosed.next(e),t._beforeClosed.complete(),t._overlayRef.detachBackdrop(),t._closeFallbackTimeout=setTimeout(function(){return t._finishDialogClose()},a.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}},{key:"afterOpened",value:function(){return this._afterOpened}},{key:"afterClosed",value:function(){return this._afterClosed}},{key:"beforeClosed",value:function(){return this._beforeClosed}},{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._overlayRef.updateSize({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:"_finishDialogClose",value:function(){this._state=2,this._overlayRef.dispose()}},{key:"_getPositionStrategy",value:function(){return this._overlayRef.getConfig().positionStrategy}}]),n}();function _b(n,i,e){return void 0!==n._containerInstance&&(n._containerInstance._closeInteractionType=i),n.close(e)}var Ur=new Ze("MatDialogData"),z2=new Ze("mat-dialog-default-options"),W2=new Ze("mat-dialog-scroll-strategy"),R6={provide:W2,deps:[Ia],useFactory:function F6(n){return function(){return n.scrollStrategies.block()}}},N6=function(){var n=function(){function i(e,t,a,o,s,l,u,f,m,C){var A=this;c(this,i),this._overlay=e,this._injector=t,this._defaultOptions=a,this._parentDialog=o,this._overlayContainer=s,this._dialogRefConstructor=u,this._dialogContainerType=f,this._dialogDataToken=m,this._animationMode=C,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Ae,this._afterOpenedAtThisLevel=new Ae,this._ariaHiddenElements=new Map,this._dialogAnimatingOpen=!1,this.afterAllClosed=Dp(function(){return A.openDialogs.length?A._getAfterAllClosed():A._getAfterAllClosed().pipe(ha(void 0))}),this._scrollStrategy=l}return d(i,[{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:"_getAfterAllClosed",value:function(){var t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}},{key:"open",value:function(t,a){var o=this;if(a=function Y6(n,i){return Object.assign(Object.assign({},i),n)}(a,this._defaultOptions||new Zn),a.id&&this.getDialogById(a.id),this._dialogAnimatingOpen)return this._lastDialogRef;var s=this._createOverlay(a),l=this._attachDialogContainer(s,a);if("NoopAnimations"!==this._animationMode){var u=l._animationStateChanged.subscribe(function(m){"opening"===m.state&&(o._dialogAnimatingOpen=!0),"opened"===m.state&&(o._dialogAnimatingOpen=!1,u.unsubscribe())});this._animationStateSubscriptions||(this._animationStateSubscriptions=new Ne),this._animationStateSubscriptions.add(u)}var f=this._attachDialogContent(t,l,s,a);return this._lastDialogRef=f,this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(f),f.afterClosed().subscribe(function(){return o._removeOpenDialog(f)}),this.afterOpened.next(f),l._initializeWithAttachedContent(),f}},{key:"closeAll",value:function(){this._closeDialogs(this.openDialogs)}},{key:"getDialogById",value:function(t){return this.openDialogs.find(function(a){return a.id===t})}},{key:"ngOnDestroy",value:function(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._animationStateSubscriptions&&this._animationStateSubscriptions.unsubscribe()}},{key:"_createOverlay",value:function(t){var a=this._getOverlayConfig(t);return this._overlay.create(a)}},{key:"_getOverlayConfig",value:function(t){var a=new uf({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(a.backdropClass=t.backdropClass),a}},{key:"_attachDialogContainer",value:function(t,a){var s=zn.create({parent:a&&a.viewContainerRef&&a.viewContainerRef.injector||this._injector,providers:[{provide:Zn,useValue:a}]}),l=new ic(this._dialogContainerType,a.viewContainerRef,s,a.componentFactoryResolver);return t.attach(l).instance}},{key:"_attachDialogContent",value:function(t,a,o,s){var l=new this._dialogRefConstructor(o,a,s.id);if(t instanceof Ii)a.attachTemplatePortal(new ac(t,null,{$implicit:s.data,dialogRef:l}));else{var u=this._createInjector(s,l,a),f=a.attachComponentPortal(new ic(t,s.viewContainerRef,u,s.componentFactoryResolver));l.componentInstance=f.instance}return l.updateSize(s.width,s.height).updatePosition(s.position),l}},{key:"_createInjector",value:function(t,a,o){var s=t&&t.viewContainerRef&&t.viewContainerRef.injector,l=[{provide:this._dialogContainerType,useValue:o},{provide:this._dialogDataToken,useValue:t.data},{provide:this._dialogRefConstructor,useValue:a}];return t.direction&&(!s||!s.get(pa,null,Ct.Optional))&&l.push({provide:pa,useValue:{value:t.direction,change:Je()}}),zn.create({parent:s||this._injector,providers:l})}},{key:"_removeOpenDialog",value:function(t){var a=this.openDialogs.indexOf(t);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||(this._ariaHiddenElements.forEach(function(o,s){o?s.setAttribute("aria-hidden",o):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}},{key:"_hideNonDialogContentFromAssistiveTechnology",value:function(){var t=this._overlayContainer.getContainerElement();if(t.parentElement)for(var a=t.parentElement.children,o=a.length-1;o>-1;o--){var s=a[o];s!==t&&"SCRIPT"!==s.nodeName&&"STYLE"!==s.nodeName&&!s.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(s,s.getAttribute("aria-hidden")),s.setAttribute("aria-hidden","true"))}}},{key:"_closeDialogs",value:function(t){for(var a=t.length;a--;)t[a].close()}}]),i}();return n.\u0275fac=function(e){Ru()},n.\u0275dir=et({type:n}),n}(),Gn=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l,u,f,m,C){return c(this,t),e.call(this,a,o,l,f,m,u,Dr,I6,Ur,C)}return d(t)}(N6);return n.\u0275fac=function(e){return new(e||n)(Ee(Ia),Ee(zn),Ee(zu,8),Ee(z2,8),Ee(W2),Ee(n,12),Ee(eb),Ee(ai,8))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),H6=0,B6=function(){var n=function(){function i(e,t,a){c(this,i),this.dialogRef=e,this._elementRef=t,this._dialog=a,this.type="button"}return d(i,[{key:"ngOnInit",value:function(){this.dialogRef||(this.dialogRef=G2(this._elementRef,this._dialog.openDialogs))}},{key:"ngOnChanges",value:function(t){var a=t._matDialogClose||t._matDialogCloseResult;a&&(this.dialogResult=a.currentValue)}},{key:"_onButtonClick",value:function(t){_b(this.dialogRef,0===t.screenX&&0===t.screenY?"keyboard":"mouse",this.dialogResult)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Dr,8),B(yt),B(Gn))},n.\u0275dir=et({type:n,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(e,t){1&e&&Se("click",function(o){return t._onButtonClick(o)}),2&e&&Wt("aria-label",t.ariaLabel||null)("type",t.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[Nr]}),n}(),V6=function(){var n=function(){function i(e,t,a){c(this,i),this._dialogRef=e,this._elementRef=t,this._dialog=a,this.id="mat-dialog-title-".concat(H6++)}return d(i,[{key:"ngOnInit",value:function(){var t=this;this._dialogRef||(this._dialogRef=G2(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(function(){var a=t._dialogRef._containerInstance;a&&!a._ariaLabelledBy&&(a._ariaLabelledBy=t.id)})}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Dr,8),B(yt),B(Gn))},n.\u0275dir=et({type:n,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,t){2&e&&tl("id",t.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),n}(),yb=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=et({type:n,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),n}();function G2(n,i){for(var e=n.nativeElement.parentElement;e&&!e.classList.contains("mat-dialog-container");)e=e.parentElement;return e?i.find(function(t){return t.id===e.id}):null}var j6=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({providers:[Gn,R6],imports:[[cf,Zp,Pn],Pn]}),n}(),Kt={maxShortListElements:5,maxFullListElements:40,connectionRetryDelay:5e3,languages:[{code:"en",name:"English",iconName:"en.png"},{code:"es",name:"Espa\xf1ol",iconName:"es.png"},{code:"de",name:"Deutsch",iconName:"de.png"},{code:"pt",name:"Portugu\xeas (Brazil)",iconName:"pt.png"}],defaultLanguage:"en",smallModalWidth:"480px",mediumModalWidth:"640px",largeModalWidth:"900px",vpn:{hardcodedIpWhileDeveloping:!1}},U6=d(function n(i){c(this,n),Object.assign(this,i)}),vv=function(){var n=function(){function i(e){c(this,i),this.translate=e,this.currentLanguage=new Za(1),this.languages=new Za(1),this.storageKey="lang",this.languagesInternal=[],this.settingsLoaded=!1}return d(i,[{key:"loadLanguageSettings",value:function(){var t=this;if(!this.settingsLoaded){this.settingsLoaded=!0;var a=[];Kt.languages.forEach(function(o){var s=new U6(o);t.languagesInternal.push(s),a.push(s.code)}),this.languages.next(this.languagesInternal),this.translate.addLangs(a),this.translate.setDefaultLang(Kt.defaultLanguage),this.translate.onLangChange.subscribe(function(o){return t.onLanguageChanged(o)}),this.loadCurrentLanguage()}}},{key:"changeLanguage",value:function(t){this.translate.use(t)}},{key:"onLanguageChanged",value:function(t){this.currentLanguage.next(this.languagesInternal.find(function(a){return a.code===t.lang})),localStorage.setItem(this.storageKey,t.lang)}},{key:"loadCurrentLanguage",value:function(){var t=this,a=localStorage.getItem(this.storageKey);a=a||Kt.defaultLanguage,setTimeout(function(){return t.translate.use(a)},16)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(bi))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}();function z6(n,i){1&n&&(E(0,"div",3)(1,"div"),Te(2,"img",4),E(3,"div"),R(4),Y(5,"translate"),P()()()),2&n&&(p(4),ge(U(5,1,"common.window-size-error")))}var W6=function(i){return{background:i}},G6=function(){var n=d(function i(e,t,a,o,s,l){var u=this;c(this,i),this.inVpnClient=!1,s.afterOpened.subscribe(function(){return o.closeCurrent()}),a.events.subscribe(function(f){f instanceof Ju&&(o.closeCurrent(),s.closeAll(),window.scrollTo(0,0))}),s.afterAllClosed.subscribe(function(){return o.closeCurrentIfTemporaryError()}),l.loadLanguageSettings(),a.events.subscribe(function(){u.inVpnClient=a.url.includes("/vpn/")||a.url.includes("vpnlogin"),a.url.length>2&&(document.title=u.inVpnClient?"Skywire VPN":"Skywire Manager")})});return n.\u0275fac=function(e){return new(e||n)(B($i),B(zu),B(an),B(In),B(Gn),B(vv))},n.\u0275cmp=qe({type:n,selectors:[["app-root"]],decls:4,vars:4,consts:[["class","size-alert d-md-none",4,"ngIf"],[1,"flex-1","content","container-fluid"],[3,"ngClass"],[1,"size-alert","d-md-none"],["src","assets/img/size-alert.png"]],template:function(e,t){1&e&&(q(0,z6,6,3,"div",0),E(1,"div",1),Te(2,"div",2)(3,"router-outlet"),P()),2&e&&(S("ngIf",t.inVpnClient),p(2),S("ngClass",Qe(2,W6,t.inVpnClient)))},directives:[Et,mr,Rp],pipes:[Mt],styles:[".size-alert[_ngcontent-%COMP%]{background-color:#000000d9;position:fixed;top:0;left:0;width:100%;height:100%;z-index:10000;display:inline-flex;align-items:center;justify-content:center;text-align:center;color:#fff}.size-alert[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{margin:0 40px;max-width:400px}[_nghost-%COMP%]{display:flex;flex-direction:column;justify-content:space-between;min-height:100%;height:100%}.content[_ngcontent-%COMP%]{padding:20px!important}.background[_ngcontent-%COMP%]{background-image:url(/assets/img/map.png);background-size:cover;background-position:center;opacity:.1;width:100%;height:100%;top:0;left:0;position:fixed}"]}),n}(),q6={url:"",deserializer:function(i){return JSON.parse(i.data)},serializer:function(i){return JSON.stringify(i)}},$6=function(n){h(e,n);var i=y(e);function e(t,a){var o;if(c(this,e),o=i.call(this),t instanceof fe)o.destination=a,o.source=t;else{var s=o._config=Object.assign({},q6);if(o._output=new Ae,"string"==typeof t)s.url=t;else for(var l in t)t.hasOwnProperty(l)&&(s[l]=t[l]);if(!s.WebSocketCtor&&WebSocket)s.WebSocketCtor=WebSocket;else if(!s.WebSocketCtor)throw new Error("no WebSocket constructor can be found");o.destination=new Za}return o}return d(e,[{key:"lift",value:function(a){var o=new e(this._config,this.destination);return o.operator=a,o.source=this,o}},{key:"_resetState",value:function(){this._socket=null,this.source||(this.destination=new Za),this._output=new Ae}},{key:"multiplex",value:function(a,o,s){var l=this;return new fe(function(u){try{l.next(a())}catch(m){u.error(m)}var f=l.subscribe(function(m){try{s(m)&&u.next(m)}catch(C){u.error(C)}},function(m){return u.error(m)},function(){return u.complete()});return function(){try{l.next(o())}catch(m){u.error(m)}f.unsubscribe()}})}},{key:"_connectSocket",value:function(){var a=this,o=this._config,s=o.WebSocketCtor,l=o.protocol,u=o.url,f=o.binaryType,m=this._output,C=null;try{C=l?new s(u,l):new s(u),this._socket=C,f&&(this._socket.binaryType=f)}catch(V){return void m.error(V)}var A=new Ne(function(){a._socket=null,C&&1===C.readyState&&C.close()});C.onopen=function(V){if(!a._socket)return C.close(),void a._resetState();var me=a._config.openObserver;me&&me.next(V);var Ce=a.destination;a.destination=St.create(function(Le){if(1===C.readyState)try{C.send((0,a._config.serializer)(Le))}catch(Re){a.destination.error(Re)}},function(Le){var pe=a._config.closingObserver;pe&&pe.next(void 0),Le&&Le.code?C.close(Le.code,Le.reason):m.error(new TypeError("WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }")),a._resetState()},function(){var Le=a._config.closingObserver;Le&&Le.next(void 0),C.close(),a._resetState()}),Ce&&Ce instanceof Za&&A.add(Ce.subscribe(a.destination))},C.onerror=function(V){a._resetState(),m.error(V)},C.onclose=function(V){a._resetState();var J=a._config.closeObserver;J&&J.next(V),V.wasClean?m.complete():m.error(V)},C.onmessage=function(V){try{m.next((0,a._config.deserializer)(V))}catch(me){m.error(me)}}}},{key:"_subscribe",value:function(a){var o=this,s=this.source;return s?s.subscribe(a):(this._socket||this._connectSocket(),this._output.subscribe(a),a.add(function(){var l=o._socket;0===o._output.observers.length&&(l&&1===l.readyState&&l.close(),o._resetState())}),a)}},{key:"unsubscribe",value:function(){var a=this._socket;a&&1===a.readyState&&a.close(),this._resetState(),T(O(e.prototype),"unsubscribe",this).call(this)}}]),e}(ct);function Z6(n){return new $6(n)}var fc=function(){return function(n){n.Json="json",n.Text="text"}(fc||(fc={})),fc}(),hc=function(){return function(n){n.Json="json"}(hc||(hc={})),hc}(),Ll=d(function n(i){c(this,n),this.responseType=fc.Json,this.requestType=hc.Json,this.ignoreAuth=!1,Object.assign(this,i)}),El=function(){var n=function(){function i(e,t,a){c(this,i),this.http=e,this.router=t,this.ngZone=a,this.apiPrefix="api/",this.wsApiPrefix="api/"}return d(i,[{key:"get",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this.request("GET",t,{},a)}},{key:"post",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return this.request("POST",t,a,o)}},{key:"put",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return this.request("PUT",t,a,o)}},{key:"delete",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this.request("DELETE",t,{},a)}},{key:"ws",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=location.protocol.startsWith("https")?"wss://":"ws://",s=o+location.host+"/"+this.wsApiPrefix+t,l=Z6(s);return l.next(a),l}},{key:"request",value:function(t,a,o,s){var l=this;return o=o||{},s=s||new Ll,a.startsWith("/")&&(a=a.substr(1,a.length-1)),this.http.request(t,this.apiPrefix+a,Object.assign(Object.assign({},this.getRequestOptions(s)),{responseType:s.responseType,withCredentials:!0,body:this.getPostBody(o,s)})).pipe($e(function(u){return l.successHandler(u)}),Ki(function(u){return l.errorHandler(u,s)}))}},{key:"getRequestOptions",value:function(t){var a={};return a.headers=new $u,t.requestType===hc.Json&&(a.headers=a.headers.append("Content-Type","application/json")),a}},{key:"getPostBody",value:function(t,a){if(a.requestType===hc.Json)return JSON.stringify(t);var o=new FormData;return Object.keys(t).forEach(function(s){return o.append(s,t[s])}),o}},{key:"successHandler",value:function(t){if("string"==typeof t&&"manager token is null"===t)throw new Error(t);return t}},{key:"errorHandler",value:function(t,a){var o=this;if(!a.ignoreAuth){if(401===t.status){var s=a.vpnKeyForAuth?["vpnlogin",a.vpnKeyForAuth]:["login"];this.ngZone.run(function(){return o.router.navigate(s,{replaceUrl:!0})})}if(t.error&&"string"==typeof t.error&&t.error.includes("change password")){var l=a.vpnKeyForAuth?["vpnlogin",a.vpnKeyForAuth]:["login"];this.ngZone.run(function(){return o.router.navigate(l,{replaceUrl:!0})})}}return Ni(on(t))}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(cl),Ee(an),Ee(bt))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),gf=function(){var n=function(){function i(e){c(this,i),this.router=e,this.forceFailInternal=!1}return d(i,[{key:"forceFail",set:function(t){this.forceFailInternal=t}},{key:"canActivate",value:function(t,a){return this.checkIfCanActivate()}},{key:"canActivateChild",value:function(t,a){return this.checkIfCanActivate()}},{key:"checkIfCanActivate",value:function(){return this.forceFailInternal?(this.router.navigate(["login"],{replaceUrl:!0}),Je(!1)):Je(!0)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(an))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),Xo=function(){return function(n){n[n.AuthDisabled=0]="AuthDisabled",n[n.Logged=1]="Logged",n[n.NotLogged=2]="NotLogged"}(Xo||(Xo={})),Xo}(),_f=function(){var n=function(){function i(e,t,a){c(this,i),this.apiService=e,this.translateService=t,this.authGuardService=a}return d(i,[{key:"login",value:function(t){var a=this;return this.apiService.post("login",{username:"admin",password:t},new Ll({ignoreAuth:!0})).pipe(Fr(function(o){if(!0!==o)throw new Error;a.authGuardService.forceFail=!1}))}},{key:"checkLogin",value:function(){var t=this;return this.apiService.get("user",new Ll({ignoreAuth:!0})).pipe($e(function(a){return a.username?Xo.Logged:Xo.AuthDisabled}),Ki(function(a){return(a=on(a)).originalError&&401===a.originalError.status?(t.authGuardService.forceFail=!0,Je(Xo.NotLogged)):Ni(a)}))}},{key:"logout",value:function(){var t=this;return this.apiService.post("logout",{}).pipe(Fr(function(a){if(!0!==a)throw new Error;t.authGuardService.forceFail=!0}))}},{key:"changePassword",value:function(t,a){var o=this;return this.apiService.post("change-password",{old_password:t,new_password:a},new Ll({responseType:fc.Text,ignoreAuth:!0})).pipe($e(function(s){if("string"==typeof s&&"true"===s.trim())return!0;throw"Please do not change the default password."===s?new Error(o.translateService.instant("settings.password.errors.default-password")):new Error(o.translateService.instant("common.operation-error"))}),Ki(function(s){return(s=on(s)).originalError&&401===s.originalError.status&&(s.translatableErrorMsg="settings.password.errors.bad-old-password"),Ni(s)}))}},{key:"initialConfig",value:function(t){return this.apiService.post("create-account",{username:"admin",password:t},new Ll({responseType:fc.Text,ignoreAuth:!0})).pipe($e(function(a){if("string"==typeof a&&"true"===a.trim())return!0;throw new Error(a)}),Ki(function(a){return(a=on(a)).originalError&&500===a.originalError.status&&(a.translatableErrorMsg="settings.password.initial-config.error"),Ni(a)}))}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(El),Ee(bi),Ee(gf))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}();function Q6(n,i){if(1&n&&(No(),Te(0,"circle",4)),2&n){var e=K(),t=sr(1);Ds("animation-name","mat-progress-spinner-stroke-rotate-"+e._spinnerAnimationLabel)("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),Wt("r",e._getCircleRadius())}}function J6(n,i){if(1&n&&(No(),Te(0,"circle",4)),2&n){var e=K(),t=sr(1);Ds("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),Wt("r",e._getCircleRadius())}}var e9=Sl(function(){return d(function n(i){c(this,n),this._elementRef=i})}(),"primary"),t9=new Ze("mat-progress-spinner-default-options",{providedIn:"root",factory:function n9(){return{diameter:100}}}),Aa=function(n){h(e,n);var i=y(e);function e(t,a,o,s,l,u,f,m){var C;c(this,e),(C=i.call(this,t))._document=o,C._diameter=100,C._value=0,C._resizeSubscription=Ne.EMPTY,C.mode="determinate";var A=e._diameters;return C._spinnerAnimationLabel=C._getSpinnerAnimationLabel(),A.has(o.head)||A.set(o.head,new Set([100])),C._noopAnimations="NoopAnimations"===s&&!!l&&!l._forceAnimations,"mat-spinner"===t.nativeElement.nodeName.toLowerCase()&&(C.mode="indeterminate"),l&&(l.diameter&&(C.diameter=l.diameter),l.strokeWidth&&(C.strokeWidth=l.strokeWidth)),a.isBrowser&&a.SAFARI&&f&&u&&m&&(C._resizeSubscription=f.change(150).subscribe(function(){"indeterminate"===C.mode&&m.run(function(){return u.markForCheck()})})),C}return d(e,[{key:"diameter",get:function(){return this._diameter},set:function(a){this._diameter=Oa(a),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}},{key:"strokeWidth",get:function(){return this._strokeWidth||this.diameter/10},set:function(a){this._strokeWidth=Oa(a)}},{key:"value",get:function(){return"determinate"===this.mode?this._value:0},set:function(a){this._value=Math.max(0,Math.min(100,Oa(a)))}},{key:"ngOnInit",value:function(){var a=this._elementRef.nativeElement;this._styleRoot=AT(a)||this._document.head,this._attachStyleNode(),a.classList.add("mat-progress-spinner-indeterminate-animation")}},{key:"ngOnDestroy",value:function(){this._resizeSubscription.unsubscribe()}},{key:"_getCircleRadius",value:function(){return(this.diameter-10)/2}},{key:"_getViewBox",value:function(){var a=2*this._getCircleRadius()+this.strokeWidth;return"0 0 ".concat(a," ").concat(a)}},{key:"_getStrokeCircumference",value:function(){return 2*Math.PI*this._getCircleRadius()}},{key:"_getStrokeDashOffset",value:function(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null}},{key:"_getCircleStrokeWidth",value:function(){return this.strokeWidth/this.diameter*100}},{key:"_getCircleTransformOrigin",value:function(a){var o,s=50*(null!==(o=a.currentScale)&&void 0!==o?o:1);return"".concat(s,"% ").concat(s,"%")}},{key:"_attachStyleNode",value:function(){var a=this._styleRoot,o=this._diameter,s=e._diameters,l=s.get(a);if(!l||!l.has(o)){var u=this._document.createElement("style");u.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),u.textContent=this._getAnimationText(),a.appendChild(u),l||s.set(a,l=new Set),l.add(o)}}},{key:"_getAnimationText",value:function(){var a=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,"".concat(.95*a)).replace(/END_VALUE/g,"".concat(.2*a)).replace(/DIAMETER/g,"".concat(this._spinnerAnimationLabel))}},{key:"_getSpinnerAnimationLabel",value:function(){return this.diameter.toString().replace(".","_")}}]),e}(e9);Aa._diameters=new WeakMap,Aa.\u0275fac=function(i){return new(i||Aa)(B(yt),B(Sr),B(Ot,8),B(ai,8),B(t9),B(Yn),B(Ml),B(bt))},Aa.\u0275cmp=qe({type:Aa,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner","mat-spinner"],hostVars:10,hostBindings:function(i,e){2&i&&(Wt("aria-valuemin","determinate"===e.mode?0:null)("aria-valuemax","determinate"===e.mode?100:null)("aria-valuenow","determinate"===e.mode?e.value:null)("mode",e.mode),Ds("width",e.diameter,"px")("height",e.diameter,"px"),fn("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[vt],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(i,e){1&i&&(No(),E(0,"svg",0,1),q(2,Q6,1,11,"circle",2),q(3,J6,1,9,"circle",3),P()),2&i&&(Ds("width",e.diameter,"px")("height",e.diameter,"px"),S("ngSwitch","indeterminate"===e.mode),Wt("viewBox",e._getViewBox()),p(2),S("ngSwitchCase",!0),p(1),S("ngSwitchCase",!1))},directives:[Wu,tp],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0});var i9=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({imports:[[Pn,Mo],Pn]}),n}(),a9=function(i){return{"white-theme":i}},es=function(){var n=d(function i(){c(this,i),this.showWhite=!0});return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=qe({type:n,selectors:[["app-loading-indicator"]],inputs:{showWhite:"showWhite"},decls:2,vars:4,consts:[[1,"container",3,"ngClass"],[3,"diameter"]],template:function(e,t){1&e&&(E(0,"div",0),Te(1,"mat-spinner",1),P()),2&e&&(S("ngClass",Qe(2,a9,t.showWhite)),p(1),S("diameter",50))},directives:[mr,Aa],styles:["[_nghost-%COMP%]{width:100%;height:100%;display:flex}.container[_ngcontent-%COMP%]{width:100%;align-self:center;display:flex;flex-direction:column;align-items:center}.container[_ngcontent-%COMP%] > mat-spinner[_ngcontent-%COMP%]{opacity:.5}"]}),n}(),o9=function(){var n=function(){function i(e,t){c(this,i),this.authService=e,this.router=t}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.verificationSubscription=this.authService.checkLogin().subscribe(function(a){t.router.navigate(a!==Xo.NotLogged?["nodes"]:["login"],{replaceUrl:!0})},function(){t.router.navigate(["nodes"],{replaceUrl:!0})})}},{key:"ngOnDestroy",value:function(){this.verificationSubscription.unsubscribe()}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(_f),B(an))},n.\u0275cmp=qe({type:n,selectors:[["app-start"]],decls:2,vars:0,consts:[[1,"h-100","w-100"]],template:function(e,t){1&e&&(E(0,"div",0),Te(1,"app-loading-indicator"),P())},directives:[es],styles:[""]}),n}(),q2=function(){var n=function(){function i(e,t){c(this,i),this._renderer=e,this._elementRef=t,this.onChange=function(a){},this.onTouched=function(){}}return d(i,[{key:"setProperty",value:function(t,a){this._renderer.setProperty(this._elementRef.nativeElement,t,a)}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"registerOnChange",value:function(t){this.onChange=t}},{key:"setDisabledState",value:function(t){this.setProperty("disabled",t)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(bo),B(yt))},n.\u0275dir=et({type:n}),n}(),Pl=function(){var n=function(i){h(t,i);var e=y(t);function t(){return c(this,t),e.apply(this,arguments)}return d(t)}(q2);return n.\u0275fac=function(){var i;return function(t){return(i||(i=or(n)))(t||n)}}(),n.\u0275dir=et({type:n,features:[vt]}),n}(),Ja=new Ze("NgValueAccessor"),l9={provide:Ja,useExisting:yn(function(){return Qr}),multi:!0},c9=new Ze("CompositionEventMode"),Qr=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s){var l;return c(this,t),(l=e.call(this,a,o))._compositionMode=s,l._composing=!1,null==l._compositionMode&&(l._compositionMode=!function u9(){var n=ko()?ko().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}()),l}return d(t,[{key:"writeValue",value:function(o){this.setProperty("value",null==o?"":o)}},{key:"_handleInput",value:function(o){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(o)}},{key:"_compositionStart",value:function(){this._composing=!0}},{key:"_compositionEnd",value:function(o){this._composing=!1,this._compositionMode&&this.onChange(o)}}]),t}(q2);return n.\u0275fac=function(e){return new(e||n)(B(bo),B(yt),B(c9,8))},n.\u0275dir=et({type:n,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&&Se("input",function(o){return t._handleInput(o.target.value)})("blur",function(){return t.onTouched()})("compositionstart",function(){return t._compositionStart()})("compositionend",function(o){return t._compositionEnd(o.target.value)})},features:[cn([l9]),vt]}),n}();function Is(n){return null==n||0===n.length}function $2(n){return null!=n&&"number"==typeof n.length}var ui=new Ze("NgValidators"),As=new Ze("NgAsyncValidators"),d9=/^(?=.{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])?)*$/,Cn=function(){function n(){c(this,n)}return d(n,null,[{key:"min",value:function(e){return function Z2(n){return function(i){if(Is(i.value)||Is(n))return null;var e=parseFloat(i.value);return!isNaN(e)&&en?{max:{max:n,actual:i.value}}:null}}(e)}},{key:"required",value:function(e){return function J2(n){return Is(n.value)?{required:!0}:null}(e)}},{key:"requiredTrue",value:function(e){return function X2(n){return!0===n.value?null:{required:!0}}(e)}},{key:"email",value:function(e){return function eL(n){return Is(n.value)||d9.test(n.value)?null:{email:!0}}(e)}},{key:"minLength",value:function(e){return function tL(n){return function(i){return Is(i.value)||!$2(i.value)?null:i.value.lengthn?{maxlength:{requiredLength:n,actualLength:i.value.length}}:null}}function gv(n){return null}function iL(n){return null!=n}function aL(n){var i=Md(n)?it(n):n;return qg(i),i}function oL(n){var i={};return n.forEach(function(e){i=null!=e?Object.assign(Object.assign({},i),e):i}),0===Object.keys(i).length?null:i}function sL(n,i){return i.map(function(e){return e(n)})}function lL(n){return n.map(function(i){return function f9(n){return!n.validate}(i)?i:function(e){return i.validate(e)}})}function uL(n){if(!n)return null;var i=n.filter(iL);return 0==i.length?null:function(e){return oL(sL(e,i))}}function kb(n){return null!=n?uL(lL(n)):null}function cL(n){if(!n)return null;var i=n.filter(iL);return 0==i.length?null:function(e){return hb(sL(e,i).map(aL)).pipe($e(oL))}}function Mb(n){return null!=n?cL(lL(n)):null}function dL(n,i){return null===n?[i]:Array.isArray(n)?[].concat(ae(n),[i]):[n,i]}function fL(n){return n._rawValidators}function hL(n){return n._rawAsyncValidators}function Cb(n){return n?Array.isArray(n)?n:[n]:[]}function _v(n,i){return Array.isArray(n)?n.includes(i):n===i}function pL(n,i){var e=Cb(i);return Cb(n).forEach(function(a){_v(e,a)||e.push(a)}),e}function vL(n,i){return Cb(i).filter(function(e){return!_v(n,e)})}var mL=function(){function n(){c(this,n),this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}return d(n,[{key:"value",get:function(){return this.control?this.control.value:null}},{key:"valid",get:function(){return this.control?this.control.valid:null}},{key:"invalid",get:function(){return this.control?this.control.invalid:null}},{key:"pending",get:function(){return this.control?this.control.pending:null}},{key:"disabled",get:function(){return this.control?this.control.disabled:null}},{key:"enabled",get:function(){return this.control?this.control.enabled:null}},{key:"errors",get:function(){return this.control?this.control.errors:null}},{key:"pristine",get:function(){return this.control?this.control.pristine:null}},{key:"dirty",get:function(){return this.control?this.control.dirty:null}},{key:"touched",get:function(){return this.control?this.control.touched:null}},{key:"status",get:function(){return this.control?this.control.status:null}},{key:"untouched",get:function(){return this.control?this.control.untouched:null}},{key:"statusChanges",get:function(){return this.control?this.control.statusChanges:null}},{key:"valueChanges",get:function(){return this.control?this.control.valueChanges:null}},{key:"path",get:function(){return null}},{key:"_setValidators",value:function(e){this._rawValidators=e||[],this._composedValidatorFn=kb(this._rawValidators)}},{key:"_setAsyncValidators",value:function(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=Mb(this._rawAsyncValidators)}},{key:"validator",get:function(){return this._composedValidatorFn||null}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn||null}},{key:"_registerOnDestroy",value:function(e){this._onDestroyCallbacks.push(e)}},{key:"_invokeOnDestroyCallbacks",value:function(){this._onDestroyCallbacks.forEach(function(e){return e()}),this._onDestroyCallbacks=[]}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;this.control&&this.control.reset(e)}},{key:"hasError",value:function(e,t){return!!this.control&&this.control.hasError(e,t)}},{key:"getError",value:function(e,t){return this.control?this.control.getError(e,t):null}}]),n}(),Do=function(n){h(e,n);var i=y(e);function e(){var t;return c(this,e),(t=i.apply(this,arguments))._parent=null,t.name=null,t.valueAccessor=null,t}return d(e)}(mL),Yi=function(n){h(e,n);var i=y(e);function e(){return c(this,e),i.apply(this,arguments)}return d(e,[{key:"formDirective",get:function(){return null}},{key:"path",get:function(){return null}}]),e}(mL),gL=function(){function n(i){c(this,n),this._cd=i}return d(n,[{key:"is",value:function(e){var t,a,o;return"submitted"===e?!!(null===(t=this._cd)||void 0===t?void 0:t.submitted):!!(null===(o=null===(a=this._cd)||void 0===a?void 0:a.control)||void 0===o?void 0:o[e])}}]),n}(),Jr=function(){var n=function(i){h(t,i);var e=y(t);function t(a){return c(this,t),e.call(this,a)}return d(t)}(gL);return n.\u0275fac=function(e){return new(e||n)(B(Do,2))},n.\u0275dir=et({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&fn("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))},features:[vt]}),n}(),Xr=function(){var n=function(i){h(t,i);var e=y(t);function t(a){return c(this,t),e.call(this,a)}return d(t)}(gL);return n.\u0275fac=function(e){return new(e||n)(B(Yi,10))},n.\u0275dir=et({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,t){2&e&&fn("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))("ng-submitted",t.is("submitted"))},features:[vt]}),n}();function yf(n,i){Db(n,i),i.valueAccessor.writeValue(n.value),function b9(n,i){i.valueAccessor.registerOnChange(function(e){n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&yL(n,i)})}(n,i),function M9(n,i){var e=function(a,o){i.valueAccessor.writeValue(a),o&&i.viewToModelUpdate(a)};n.registerOnChange(e),i._registerOnDestroy(function(){n._unregisterOnChange(e)})}(n,i),function k9(n,i){i.valueAccessor.registerOnTouched(function(){n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&yL(n,i),"submit"!==n.updateOn&&n.markAsTouched()})}(n,i),function y9(n,i){if(i.valueAccessor.setDisabledState){var e=function(a){i.valueAccessor.setDisabledState(a)};n.registerOnDisabledChange(e),i._registerOnDestroy(function(){n._unregisterOnDisabledChange(e)})}}(n,i)}function kv(n,i){var t=function(){};i.valueAccessor&&(i.valueAccessor.registerOnChange(t),i.valueAccessor.registerOnTouched(t)),Cv(n,i),n&&(i._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(function(){}))}function Mv(n,i){n.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(i)})}function Db(n,i){var e=fL(n);null!==i.validator?n.setValidators(dL(e,i.validator)):"function"==typeof e&&n.setValidators([e]);var t=hL(n);null!==i.asyncValidator?n.setAsyncValidators(dL(t,i.asyncValidator)):"function"==typeof t&&n.setAsyncValidators([t]);var a=function(){return n.updateValueAndValidity()};Mv(i._rawValidators,a),Mv(i._rawAsyncValidators,a)}function Cv(n,i){var e=!1;if(null!==n){if(null!==i.validator){var t=fL(n);if(Array.isArray(t)&&t.length>0){var a=t.filter(function(u){return u!==i.validator});a.length!==t.length&&(e=!0,n.setValidators(a))}}if(null!==i.asyncValidator){var o=hL(n);if(Array.isArray(o)&&o.length>0){var s=o.filter(function(u){return u!==i.asyncValidator});s.length!==o.length&&(e=!0,n.setAsyncValidators(s))}}}var l=function(){};return Mv(i._rawValidators,l),Mv(i._rawAsyncValidators,l),e}function yL(n,i){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),i.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function bL(n,i){Db(n,i)}function kL(n,i){n._syncPendingControls(),i.forEach(function(e){var t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function Eb(n,i){var e=n.indexOf(i);e>-1&&n.splice(e,1)}var bf="VALID",wv="INVALID",pc="PENDING",kf="DISABLED";function xb(n){return(Sv(n)?n.validators:n)||null}function ML(n){return Array.isArray(n)?kb(n):n||null}function Ob(n,i){return(Sv(i)?i.asyncValidators:n)||null}function CL(n){return Array.isArray(n)?Mb(n):n||null}function Sv(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}var Ib=function(i){return i instanceof Xa},Dv=function(i){return i instanceof xl},wL=function(i){return i instanceof LL};function SL(n){return Ib(n)?n.value:n.getRawValue()}function DL(n,i){var e=Dv(n),t=n.controls;if(!(e?Object.keys(t):t).length)throw new dt(1e3,"");if(!t[i])throw new dt(1001,"")}function TL(n,i){Dv(n),n._forEachChild(function(t,a){if(void 0===i[a])throw new dt(1002,"")})}var Ab=function(){function n(i,e){c(this,n),this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=function(){},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=i,this._rawAsyncValidators=e,this._composedValidatorFn=ML(this._rawValidators),this._composedAsyncValidatorFn=CL(this._rawAsyncValidators)}return d(n,[{key:"validator",get:function(){return this._composedValidatorFn},set:function(e){this._rawValidators=this._composedValidatorFn=e}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn},set:function(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}},{key:"parent",get:function(){return this._parent}},{key:"valid",get:function(){return this.status===bf}},{key:"invalid",get:function(){return this.status===wv}},{key:"pending",get:function(){return this.status==pc}},{key:"disabled",get:function(){return this.status===kf}},{key:"enabled",get:function(){return this.status!==kf}},{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:"setValidators",value:function(e){this._rawValidators=e,this._composedValidatorFn=ML(e)}},{key:"setAsyncValidators",value:function(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=CL(e)}},{key:"addValidators",value:function(e){this.setValidators(pL(e,this._rawValidators))}},{key:"addAsyncValidators",value:function(e){this.setAsyncValidators(pL(e,this._rawAsyncValidators))}},{key:"removeValidators",value:function(e){this.setValidators(vL(e,this._rawValidators))}},{key:"removeAsyncValidators",value:function(e){this.setAsyncValidators(vL(e,this._rawAsyncValidators))}},{key:"hasValidator",value:function(e){return _v(this._rawValidators,e)}},{key:"hasAsyncValidator",value:function(e){return _v(this._rawAsyncValidators,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(t){t.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(t){t.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=pc,!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=kf,this.errors=null,this._forEachChild(function(a){a.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(a){return a(!0)})}},{key:"enable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status=bf,this._forEachChild(function(a){a.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(a){return a(!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(),(this.status===bf||this.status===pc)&&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()?kf:bf}},{key:"_runValidator",value:function(){return this.validator?this.validator(this):null}},{key:"_runAsyncValidator",value:function(e){var t=this;if(this.asyncValidator){this.status=pc,this._hasOwnPendingAsyncValidator=!0;var a=aL(this.asyncValidator(this));this._asyncValidationSubscription=a.subscribe(function(o){t._hasOwnPendingAsyncValidator=!1,t.setErrors(o,{emitEvent:e})})}}},{key:"_cancelExistingSubscription",value:function(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}},{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 D9(n,i,e){if(null==i||(Array.isArray(i)||(i=i.split(e)),Array.isArray(i)&&0===i.length))return null;var t=n;return i.forEach(function(a){t=Dv(t)?t.controls.hasOwnProperty(a)?t.controls[a]:null:wL(t)&&t.at(a)||null}),t}(this,e,".")}},{key:"getError",value:function(e,t){var a=t?this.get(t):this;return a&&a.errors?a.errors[e]:null}},{key:"hasError",value:function(e,t){return!!this.getError(e,t)}},{key:"root",get:function(){for(var e=this;e._parent;)e=e._parent;return e}},{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 pt,this.statusChanges=new pt}},{key:"_calculateStatus",value:function(){return this._allControlsDisabled()?kf:this.errors?wv:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(pc)?pc:this._anyControlsHaveStatus(wv)?wv:bf}},{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){Sv(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}},{key:"_parentMarkedDirty",value:function(e){return!e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}]),n}(),Xa=function(n){h(e,n);var i=y(e);function e(){var t,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,o=arguments.length>1?arguments[1]:void 0,s=arguments.length>2?arguments[2]:void 0;return c(this,e),(t=i.call(this,xb(o),Ob(s,o))).defaultValue=null,t._onChange=[],t._pendingChange=!1,t._applyFormState(a),t._setUpdateStrategy(o),t._initObservables(),t.updateValueAndValidity({onlySelf:!0,emitEvent:!!t.asyncValidator}),Sv(o)&&o.initialValueIsDefault&&(t.defaultValue=t._isBoxedValue(a)?a.value:a),t}return d(e,[{key:"setValue",value:function(a){var o=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.value=this._pendingValue=a,this._onChange.length&&!1!==s.emitModelToViewChange&&this._onChange.forEach(function(l){return l(o.value,!1!==s.emitViewToModelChange)}),this.updateValueAndValidity(s)}},{key:"patchValue",value:function(a){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.setValue(a,o)}},{key:"reset",value:function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.defaultValue,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._applyFormState(a),this.markAsPristine(o),this.markAsUntouched(o),this.setValue(this.value,o),this._pendingChange=!1}},{key:"_updateValue",value:function(){}},{key:"_anyControls",value:function(a){return!1}},{key:"_allControlsDisabled",value:function(){return this.disabled}},{key:"registerOnChange",value:function(a){this._onChange.push(a)}},{key:"_unregisterOnChange",value:function(a){Eb(this._onChange,a)}},{key:"registerOnDisabledChange",value:function(a){this._onDisabledChange.push(a)}},{key:"_unregisterOnDisabledChange",value:function(a){Eb(this._onDisabledChange,a)}},{key:"_forEachChild",value:function(a){}},{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(a){this._isBoxedValue(a)?(this.value=this._pendingValue=a.value,a.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=a}}]),e}(Ab),xl=function(n){h(e,n);var i=y(e);function e(t,a,o){var s;return c(this,e),(s=i.call(this,xb(a),Ob(o,a))).controls=t,s._initObservables(),s._setUpdateStrategy(a),s._setUpControls(),s.updateValueAndValidity({onlySelf:!0,emitEvent:!!s.asyncValidator}),s}return d(e,[{key:"registerControl",value:function(a,o){return this.controls[a]?this.controls[a]:(this.controls[a]=o,o.setParent(this),o._registerOnCollectionChange(this._onCollectionChange),o)}},{key:"addControl",value:function(a,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.registerControl(a,o),this.updateValueAndValidity({emitEvent:s.emitEvent}),this._onCollectionChange()}},{key:"removeControl",value:function(a){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[a]&&this.controls[a]._registerOnCollectionChange(function(){}),delete this.controls[a],this.updateValueAndValidity({emitEvent:o.emitEvent}),this._onCollectionChange()}},{key:"setControl",value:function(a,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[a]&&this.controls[a]._registerOnCollectionChange(function(){}),delete this.controls[a],o&&this.registerControl(a,o),this.updateValueAndValidity({emitEvent:s.emitEvent}),this._onCollectionChange()}},{key:"contains",value:function(a){return this.controls.hasOwnProperty(a)&&this.controls[a].enabled}},{key:"setValue",value:function(a){var o=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};TL(this,a),Object.keys(a).forEach(function(l){DL(o,l),o.controls[l].setValue(a[l],{onlySelf:!0,emitEvent:s.emitEvent})}),this.updateValueAndValidity(s)}},{key:"patchValue",value:function(a){var o=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=a&&(Object.keys(a).forEach(function(l){o.controls[l]&&o.controls[l].patchValue(a[l],{onlySelf:!0,emitEvent:s.emitEvent})}),this.updateValueAndValidity(s))}},{key:"reset",value:function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(s,l){s.reset(a[l],{onlySelf:!0,emitEvent:o.emitEvent})}),this._updatePristine(o),this._updateTouched(o),this.updateValueAndValidity(o)}},{key:"getRawValue",value:function(){return this._reduceChildren({},function(a,o,s){return a[s]=SL(o),a})}},{key:"_syncPendingControls",value:function(){var a=this._reduceChildren(!1,function(o,s){return!!s._syncPendingControls()||o});return a&&this.updateValueAndValidity({onlySelf:!0}),a}},{key:"_forEachChild",value:function(a){var o=this;Object.keys(this.controls).forEach(function(s){var l=o.controls[s];l&&a(l,s)})}},{key:"_setUpControls",value:function(){var a=this;this._forEachChild(function(o){o.setParent(a),o._registerOnCollectionChange(a._onCollectionChange)})}},{key:"_updateValue",value:function(){this.value=this._reduceValue()}},{key:"_anyControls",value:function(a){for(var o=0,s=Object.keys(this.controls);o0||this.disabled}}]),e}(Ab),LL=function(n){h(e,n);var i=y(e);function e(t,a,o){var s;return c(this,e),(s=i.call(this,xb(a),Ob(o,a))).controls=t,s._initObservables(),s._setUpdateStrategy(a),s._setUpControls(),s.updateValueAndValidity({onlySelf:!0,emitEvent:!!s.asyncValidator}),s}return d(e,[{key:"at",value:function(a){return this.controls[a]}},{key:"push",value:function(a){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls.push(a),this._registerControl(a),this.updateValueAndValidity({emitEvent:o.emitEvent}),this._onCollectionChange()}},{key:"insert",value:function(a,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls.splice(a,0,o),this._registerControl(o),this.updateValueAndValidity({emitEvent:s.emitEvent})}},{key:"removeAt",value:function(a){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[a]&&this.controls[a]._registerOnCollectionChange(function(){}),this.controls.splice(a,1),this.updateValueAndValidity({emitEvent:o.emitEvent})}},{key:"setControl",value:function(a,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[a]&&this.controls[a]._registerOnCollectionChange(function(){}),this.controls.splice(a,1),o&&(this.controls.splice(a,0,o),this._registerControl(o)),this.updateValueAndValidity({emitEvent:s.emitEvent}),this._onCollectionChange()}},{key:"length",get:function(){return this.controls.length}},{key:"setValue",value:function(a){var o=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};TL(this,a),a.forEach(function(l,u){DL(o,u),o.at(u).setValue(l,{onlySelf:!0,emitEvent:s.emitEvent})}),this.updateValueAndValidity(s)}},{key:"patchValue",value:function(a){var o=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=a&&(a.forEach(function(l,u){o.at(u)&&o.at(u).patchValue(l,{onlySelf:!0,emitEvent:s.emitEvent})}),this.updateValueAndValidity(s))}},{key:"reset",value:function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(s,l){s.reset(a[l],{onlySelf:!0,emitEvent:o.emitEvent})}),this._updatePristine(o),this._updateTouched(o),this.updateValueAndValidity(o)}},{key:"getRawValue",value:function(){return this.controls.map(function(a){return SL(a)})}},{key:"clear",value:function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.controls.length<1||(this._forEachChild(function(o){return o._registerOnCollectionChange(function(){})}),this.controls.splice(0),this.updateValueAndValidity({emitEvent:a.emitEvent}))}},{key:"_syncPendingControls",value:function(){var a=this.controls.reduce(function(o,s){return!!s._syncPendingControls()||o},!1);return a&&this.updateValueAndValidity({onlySelf:!0}),a}},{key:"_forEachChild",value:function(a){this.controls.forEach(function(o,s){a(o,s)})}},{key:"_updateValue",value:function(){var a=this;this.value=this.controls.filter(function(o){return o.enabled||a.disabled}).map(function(o){return o.value})}},{key:"_anyControls",value:function(a){return this.controls.some(function(o){return o.enabled&&a(o)})}},{key:"_setUpControls",value:function(){var a=this;this._forEachChild(function(o){return a._registerControl(o)})}},{key:"_allControlsDisabled",value:function(){var o,a=W(this.controls);try{for(a.s();!(o=a.n()).done;)if(o.value.enabled)return!1}catch(l){a.e(l)}finally{a.f()}return this.controls.length>0||this.disabled}},{key:"_registerControl",value:function(a){a.setParent(this),a._registerOnCollectionChange(this._onCollectionChange)}}]),e}(Ab),T9={provide:Yi,useExisting:yn(function(){return Cf})},Mf=function(){return Promise.resolve(null)}(),Cf=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o){var s;return c(this,t),(s=e.call(this)).submitted=!1,s._directives=new Set,s.ngSubmit=new pt,s.form=new xl({},kb(a),Mb(o)),s}return d(t,[{key:"ngAfterViewInit",value:function(){this._setUpdateStrategy()}},{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}},{key:"addControl",value:function(o){var s=this;Mf.then(function(){var l=s._findContainer(o.path);o.control=l.registerControl(o.name,o.control),yf(o.control,o),o.control.updateValueAndValidity({emitEvent:!1}),s._directives.add(o)})}},{key:"getControl",value:function(o){return this.form.get(o.path)}},{key:"removeControl",value:function(o){var s=this;Mf.then(function(){var l=s._findContainer(o.path);l&&l.removeControl(o.name),s._directives.delete(o)})}},{key:"addFormGroup",value:function(o){var s=this;Mf.then(function(){var l=s._findContainer(o.path),u=new xl({});bL(u,o),l.registerControl(o.name,u),u.updateValueAndValidity({emitEvent:!1})})}},{key:"removeFormGroup",value:function(o){var s=this;Mf.then(function(){var l=s._findContainer(o.path);l&&l.removeControl(o.name)})}},{key:"getFormGroup",value:function(o){return this.form.get(o.path)}},{key:"updateModel",value:function(o,s){var l=this;Mf.then(function(){l.form.get(o.path).setValue(s)})}},{key:"setValue",value:function(o){this.control.setValue(o)}},{key:"onSubmit",value:function(o){return this.submitted=!0,kL(this.form,this._directives),this.ngSubmit.emit(o),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;this.form.reset(o),this.submitted=!1}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}},{key:"_findContainer",value:function(o){return o.pop(),o.length?this.form.get(o):this.form}}]),t}(Yi);return n.\u0275fac=function(e){return new(e||n)(B(ui,10),B(As,10))},n.\u0275dir=et({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&Se("submit",function(o){return t.onSubmit(o)})("reset",function(){return t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[cn([T9]),vt]}),n}(),ei=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=et({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),n}(),AL=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({}),n}(),Fb=new Ze("NgModelWithFormControlWarning"),F9={provide:Yi,useExisting:yn(function(){return gr})},gr=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o){var s;return c(this,t),(s=e.call(this)).validators=a,s.asyncValidators=o,s.submitted=!1,s._onCollectionChange=function(){return s._updateDomValue()},s.directives=[],s.form=null,s.ngSubmit=new pt,s._setValidators(a),s._setAsyncValidators(o),s}return d(t,[{key:"ngOnChanges",value:function(o){this._checkFormPresent(),o.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}},{key:"ngOnDestroy",value:function(){this.form&&(Cv(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(function(){}))}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"addControl",value:function(o){var s=this.form.get(o.path);return yf(s,o),s.updateValueAndValidity({emitEvent:!1}),this.directives.push(o),s}},{key:"getControl",value:function(o){return this.form.get(o.path)}},{key:"removeControl",value:function(o){kv(o.control||null,o),Eb(this.directives,o)}},{key:"addFormGroup",value:function(o){this._setUpFormContainer(o)}},{key:"removeFormGroup",value:function(o){this._cleanUpFormContainer(o)}},{key:"getFormGroup",value:function(o){return this.form.get(o.path)}},{key:"addFormArray",value:function(o){this._setUpFormContainer(o)}},{key:"removeFormArray",value:function(o){this._cleanUpFormContainer(o)}},{key:"getFormArray",value:function(o){return this.form.get(o.path)}},{key:"updateModel",value:function(o,s){this.form.get(o.path).setValue(s)}},{key:"onSubmit",value:function(o){return this.submitted=!0,kL(this.form,this.directives),this.ngSubmit.emit(o),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;this.form.reset(o),this.submitted=!1}},{key:"_updateDomValue",value:function(){var o=this;this.directives.forEach(function(s){var l=s.control,u=o.form.get(s.path);l!==u&&(kv(l||null,s),Ib(u)&&(yf(u,s),s.control=u))}),this.form._updateTreeValidity({emitEvent:!1})}},{key:"_setUpFormContainer",value:function(o){var s=this.form.get(o.path);bL(s,o),s.updateValueAndValidity({emitEvent:!1})}},{key:"_cleanUpFormContainer",value:function(o){if(this.form){var s=this.form.get(o.path);if(s){var l=function C9(n,i){return Cv(n,i)}(s,o);l&&s.updateValueAndValidity({emitEvent:!1})}}}},{key:"_updateRegistrations",value:function(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){})}},{key:"_updateValidators",value:function(){Db(this.form,this),this._oldForm&&Cv(this._oldForm,this)}},{key:"_checkFormPresent",value:function(){}}]),t}(Yi);return n.\u0275fac=function(e){return new(e||n)(B(ui,10),B(As,10))},n.\u0275dir=et({type:n,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&Se("submit",function(o){return t.onSubmit(o)})("reset",function(){return t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[cn([F9]),vt,Nr]}),n}(),Y9={provide:Do,useExisting:yn(function(){return zr})},zr=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l,u){var f;return c(this,t),(f=e.call(this))._ngModelWarningConfig=u,f._added=!1,f.update=new pt,f._ngModelWarningSent=!1,f._parent=a,f._setValidators(o),f._setAsyncValidators(s),f.valueAccessor=function Lb(n,i){if(!i)return null;Array.isArray(i);var e=void 0,t=void 0,a=void 0;return i.forEach(function(o){o.constructor===Qr?e=o:function S9(n){return Object.getPrototypeOf(n.constructor)===Pl}(o)?t=o:a=o}),a||t||e||null}(x(f),l),f}return d(t,[{key:"isDisabled",set:function(o){}},{key:"ngOnChanges",value:function(o){this._added||this._setUpControl(),function Tb(n,i){if(!n.hasOwnProperty("model"))return!1;var e=n.model;return!!e.isFirstChange()||!Object.is(i,e.currentValue)}(o,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"viewToModelUpdate",value:function(o){this.viewModel=o,this.update.emit(o)}},{key:"path",get:function(){return function bv(n,i){return[].concat(ae(i.path),[n])}(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"_checkParentType",value:function(){}},{key:"_setUpControl",value:function(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}]),t}(Do);return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(e){return new(e||n)(B(Yi,13),B(ui,10),B(As,10),B(Ja,10),B(Fb,8))},n.\u0275dir=et({type:n,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[cn([Y9]),vt,Nr]}),n}();function VL(n){return"number"==typeof n?n:parseInt(n,10)}var Ol=function(){var n=function(){function i(){c(this,i),this._validator=gv}return d(i,[{key:"ngOnChanges",value:function(t){if(this.inputName in t){var a=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(a),this._validator=this._enabled?this.createValidator(a):gv,this._onChange&&this._onChange()}}},{key:"validate",value:function(t){return this._validator(t)}},{key:"registerOnValidatorChange",value:function(t){this._onChange=t}},{key:"enabled",value:function(t){return null!=t}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=et({type:n,features:[Nr]}),n}(),J9={provide:ui,useExisting:yn(function(){return Hi}),multi:!0},Hi=function(){var n=function(i){h(t,i);var e=y(t);function t(){var a;return c(this,t),(a=e.apply(this,arguments)).inputName="maxlength",a.normalizeInput=function(o){return VL(o)},a.createValidator=function(o){return nL(o)},a}return d(t)}(Ol);return n.\u0275fac=function(){var i;return function(t){return(i||(i=or(n)))(t||n)}}(),n.\u0275dir=et({type:n,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&Wt("maxlength",t._enabled?t.maxlength:null)},inputs:{maxlength:"maxlength"},features:[cn([J9]),vt]}),n}(),KL=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({imports:[[AL]]}),n}(),e7=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({imports:[KL]}),n}(),$L=function(){var n=function(){function i(){c(this,i)}return d(i,null,[{key:"withConfig",value:function(t){return{ngModule:i,providers:[{provide:Fb,useValue:t.warnOnNgModelWithFormControl}]}}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({imports:[KL]}),n}();function t7(n){return void 0!==n.asyncValidators||void 0!==n.validators||void 0!==n.updateOn}var Zi=function(){var n=function(){function i(){c(this,i)}return d(i,[{key:"group",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=this._reduceControls(t),s=null,l=null,u=void 0;return null!=a&&(t7(a)?(s=null!=a.validators?a.validators:null,l=null!=a.asyncValidators?a.asyncValidators:null,u=null!=a.updateOn?a.updateOn:void 0):(s=null!=a.validator?a.validator:null,l=null!=a.asyncValidator?a.asyncValidator:null)),new xl(o,{asyncValidators:l,updateOn:u,validators:s})}},{key:"control",value:function(t,a,o){return new Xa(t,a,o)}},{key:"array",value:function(t,a,o){var s=this,l=t.map(function(u){return s._createControl(u)});return new LL(l,a,o)}},{key:"_reduceControls",value:function(t){var a=this,o={};return Object.keys(t).forEach(function(s){o[s]=a._createControl(t[s])}),o}},{key:"_createControl",value:function(t){return Ib(t)||Dv(t)||wL(t)?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:$L}),n}();function n7(n,i){1&n&&(E(0,"button",5)(1,"mat-icon"),R(2,"close"),P()())}function r7(n,i){1&n&&Ss(0)}var ZL=function(i){return{"content-margin":i}};function a7(n,i){if(1&n&&(E(0,"mat-dialog-content",6),q(1,r7,1,0,"ng-container",7),P()),2&n){var e=K(),t=sr(8);S("ngClass",Qe(2,ZL,e.includeVerticalMargins)),p(1),S("ngTemplateOutlet",t)}}function o7(n,i){1&n&&Ss(0)}function s7(n,i){if(1&n&&(E(0,"div",6),q(1,o7,1,0,"ng-container",7),P()),2&n){var e=K(),t=sr(8);S("ngClass",Qe(2,ZL,e.includeVerticalMargins)),p(1),S("ngTemplateOutlet",t)}}function l7(n,i){1&n&&hr(0)}var u7=["*"],_r=function(){var n=d(function i(){c(this,i),this.includeScrollableArea=!0,this.includeVerticalMargins=!0});return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=qe({type:n,selectors:[["app-dialog"]],inputs:{headline:"headline",disableDismiss:"disableDismiss",includeScrollableArea:"includeScrollableArea",includeVerticalMargins:"includeVerticalMargins"},ngContentSelectors:u7,decls:9,vars:4,consts:[["mat-dialog-title","",1,"header"],["mat-dialog-close","","mat-icon-button","","class","grey-button-background",4,"ngIf"],[1,"header-separator"],[3,"ngClass",4,"ngIf"],["contentTemplate",""],["mat-dialog-close","","mat-icon-button","",1,"grey-button-background"],[3,"ngClass"],[4,"ngTemplateOutlet"]],template:function(e,t){1&e&&(Gi(),E(0,"div",0)(1,"span"),R(2),P(),q(3,n7,3,0,"button",1),P(),Te(4,"div",2),q(5,a7,2,4,"mat-dialog-content",3),q(6,s7,2,4,"div",3),q(7,l7,1,0,"ng-template",null,4,Ls)),2&e&&(p(2),ge(t.headline),p(1),S("ngIf",!t.disableDismiss),p(2),S("ngIf",t.includeScrollableArea),p(1),S("ngIf",!t.includeScrollableArea))},directives:[V6,Et,yi,B6,Mn,yb,mr,np],styles:['.cursor-pointer[_ngcontent-%COMP%], .header[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%], .header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%], .header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}.grey-text[_ngcontent-%COMP%]{color:#777!important}[_nghost-%COMP%]{color:#202226}.header[_ngcontent-%COMP%]{margin:-24px -24px 0;color:#215f9e;padding:0 14px 0 24px;font-size:1rem;text-transform:uppercase;font-weight:700;display:flex;justify-content:space-between;align-items:center}@media (max-width: 767px){.header[_ngcontent-%COMP%]{padding:0 2px 0 24px}}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{line-height:1rem;margin:18px 0}.header[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{color:#a6b2b2;width:32px;height:32px;line-height:20px;margin-left:10px}@media (max-width: 767px){.header[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{width:46px;height:46px}}.header-separator[_ngcontent-%COMP%]{height:1px;background-color:#215f9e33;margin-left:-12px;margin-right:-12px}.content-margin[_ngcontent-%COMP%]{padding-top:18px;padding-bottom:24px!important}']}),n}(),c7={tooltipState:Go("state",[Ri("initial, void, hidden",kn({opacity:0,transform:"scale(0)"})),Ri("visible",kn({transform:"scale(1)"})),_i("* => visible",Fi("200ms cubic-bezier(0, 0, 0.2, 1)",G4([kn({opacity:0,transform:"scale(0)",offset:0}),kn({opacity:.5,transform:"scale(0.99)",offset:.5}),kn({opacity:1,transform:"scale(1)",offset:1})]))),_i("* => hidden",Fi("100ms cubic-bezier(0, 0, 0.2, 1)",kn({opacity:0})))])},QL="tooltip-panel",JL=yl({passive:!0}),XL=new Ze("mat-tooltip-scroll-strategy"),p7={provide:XL,deps:[Ia],useFactory:function h7(n){return function(){return n.scrollStrategies.reposition({scrollThrottle:20})}}},v7=new Ze("mat-tooltip-default-options",{providedIn:"root",factory:function m7(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),g7=function(){var n=function(){function i(e,t,a,o,s,l,u,f,m,C,A,V){var J=this;c(this,i),this._overlay=e,this._elementRef=t,this._scrollDispatcher=a,this._viewContainerRef=o,this._ngZone=s,this._platform=l,this._ariaDescriber=u,this._focusMonitor=f,this._dir=C,this._defaultOptions=A,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new Ae,this._scrollStrategy=m,this._document=V,A&&(A.position&&(this.position=A.position),A.touchGestures&&(this.touchGestures=A.touchGestures)),C.change.pipe(hn(this._destroyed)).subscribe(function(){J._overlayRef&&J._updatePosition(J._overlayRef)})}return d(i,[{key:"position",get:function(){return this._position},set:function(t){var a;t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(a=this._tooltipInstance)||void 0===a||a.show(0),this._overlayRef.updatePosition()))}},{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=$n(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}},{key:"showDelay",get:function(){return this._showDelay},set:function(t){this._showDelay=Oa(t)}},{key:"hideDelay",get:function(){return this._hideDelay},set:function(t){this._hideDelay=Oa(t),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}},{key:"message",get:function(){return this._message},set:function(t){var a=this;this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=t?String(t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(function(){Promise.resolve().then(function(){a._ariaDescriber.describe(a._elementRef.nativeElement,a.message,"tooltip")})}))}},{key:"tooltipClass",get:function(){return this._tooltipClass},set:function(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}},{key:"ngAfterViewInit",value:function(){var t=this;this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(hn(this._destroyed)).subscribe(function(a){a?"keyboard"===a&&t._ngZone.run(function(){return t.show()}):t._ngZone.run(function(){return t.hide(0)})})}},{key:"ngOnDestroy",value:function(){var t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(function(a){var o=ne(a,2);t.removeEventListener(o[0],o[1],JL)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}},{key:"show",value:function(){var t=this,a=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 o=this._createOverlay();this._detach(),this._portal=this._portal||new ic(this._tooltipComponent,this._viewContainerRef);var s=this._tooltipInstance=o.attach(this._portal).instance;s._triggerElement=this._elementRef.nativeElement,s._mouseLeaveHideDelay=this._hideDelay,s.afterHidden().pipe(hn(this._destroyed)).subscribe(function(){return t._detach()}),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),s.show(a)}}},{key:"hide",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.hideDelay;this._tooltipInstance&&this._tooltipInstance.hide(t)}},{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 a,t=this;if(this._overlayRef)return this._overlayRef;var o=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),s=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".".concat(this._cssClassPrefix,"-tooltip")).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(o);return s.positionChanges.pipe(hn(this._destroyed)).subscribe(function(l){t._updateCurrentPositionClass(l.connectionPair),t._tooltipInstance&&l.scrollableViewProperties.isOverlayClipped&&t._tooltipInstance.isVisible()&&t._ngZone.run(function(){return t.hide(0)})}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:s,panelClass:"".concat(this._cssClassPrefix,"-").concat(QL),scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(hn(this._destroyed)).subscribe(function(){return t._detach()}),this._overlayRef.outsidePointerEvents().pipe(hn(this._destroyed)).subscribe(function(){var l;return null===(l=t._tooltipInstance)||void 0===l?void 0:l._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe(hn(this._destroyed)).subscribe(function(l){t._isTooltipVisible()&&27===l.keyCode&&!Qo(l)&&(l.preventDefault(),l.stopPropagation(),t._ngZone.run(function(){return t.hide(0)}))}),(null===(a=this._defaultOptions)||void 0===a?void 0:a.disableTooltipInteractivity)&&this._overlayRef.addPanelClass("".concat(this._cssClassPrefix,"-tooltip-panel-non-interactive")),this._overlayRef}},{key:"_detach",value:function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}},{key:"_updatePosition",value:function(t){var a=t.getConfig().positionStrategy,o=this._getOrigin(),s=this._getOverlayPosition();a.withPositions([this._addOffset(Object.assign(Object.assign({},o.main),s.main)),this._addOffset(Object.assign(Object.assign({},o.fallback),s.fallback))])}},{key:"_addOffset",value:function(t){return t}},{key:"_getOrigin",value:function(){var o,t=!this._dir||"ltr"==this._dir.value,a=this.position;"above"==a||"below"==a?o={originX:"center",originY:"above"==a?"top":"bottom"}:"before"==a||"left"==a&&t||"right"==a&&!t?o={originX:"start",originY:"center"}:("after"==a||"right"==a&&t||"left"==a&&!t)&&(o={originX:"end",originY:"center"});var s=this._invertPosition(o.originX,o.originY);return{main:o,fallback:{originX:s.x,originY:s.y}}}},{key:"_getOverlayPosition",value:function(){var o,t=!this._dir||"ltr"==this._dir.value,a=this.position;"above"==a?o={overlayX:"center",overlayY:"bottom"}:"below"==a?o={overlayX:"center",overlayY:"top"}:"before"==a||"left"==a&&t||"right"==a&&!t?o={overlayX:"end",overlayY:"center"}:("after"==a||"right"==a&&t||"left"==a&&!t)&&(o={overlayX:"start",overlayY:"center"});var s=this._invertPosition(o.overlayX,o.overlayY);return{main:o,fallback:{overlayX:s.x,overlayY:s.y}}}},{key:"_updateTooltipMessage",value:function(){var t=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(nr(1),hn(this._destroyed)).subscribe(function(){t._tooltipInstance&&t._overlayRef.updatePosition()}))}},{key:"_setTooltipClass",value:function(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}},{key:"_invertPosition",value:function(t,a){return"above"===this.position||"below"===this.position?"top"===a?a="bottom":"bottom"===a&&(a="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:a}}},{key:"_updateCurrentPositionClass",value:function(t){var l,a=t.overlayY,o=t.originX;if((l="center"===a?this._dir&&"rtl"===this._dir.value?"end"===o?"left":"right":"start"===o?"left":"right":"bottom"===a&&"top"===t.originY?"above":"below")!==this._currentPosition){var u=this._overlayRef;if(u){var f="".concat(this._cssClassPrefix,"-").concat(QL,"-");u.removePanelClass(f+this._currentPosition),u.addPanelClass(f+l)}this._currentPosition=l}}},{key:"_setupPointerEnterEventsIfNeeded",value:function(){var t=this;this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",function(){t._setupPointerExitEventsIfNeeded(),t.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",function(){t._setupPointerExitEventsIfNeeded(),clearTimeout(t._touchstartTimeout),t._touchstartTimeout=setTimeout(function(){return t.show()},500)}])),this._addListeners(this._passiveListeners))}},{key:"_setupPointerExitEventsIfNeeded",value:function(){var a,t=this;if(!this._pointerExitEventsInitialized){this._pointerExitEventsInitialized=!0;var o=[];if(this._platformSupportsMouseEvents())o.push(["mouseleave",function(l){var u,f=l.relatedTarget;(!f||!(null===(u=t._overlayRef)||void 0===u?void 0:u.overlayElement.contains(f)))&&t.hide()}],["wheel",function(l){return t._wheelListener(l)}]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();var s=function(){clearTimeout(t._touchstartTimeout),t.hide(t._defaultOptions.touchendHideDelay)};o.push(["touchend",s],["touchcancel",s])}this._addListeners(o),(a=this._passiveListeners).push.apply(a,o)}}},{key:"_addListeners",value:function(t){var a=this;t.forEach(function(o){var s=ne(o,2);a._elementRef.nativeElement.addEventListener(s[0],s[1],JL)})}},{key:"_platformSupportsMouseEvents",value:function(){return!this._platform.IOS&&!this._platform.ANDROID}},{key:"_wheelListener",value:function(t){if(this._isTooltipVisible()){var a=this._document.elementFromPoint(t.clientX,t.clientY),o=this._elementRef.nativeElement;a!==o&&!o.contains(a)&&this.hide()}}},{key:"_disableNativeGesturesIfNecessary",value:function(){var t=this.touchGestures;if("off"!==t){var a=this._elementRef.nativeElement,o=a.style;("on"===t||"INPUT"!==a.nodeName&&"TEXTAREA"!==a.nodeName)&&(o.userSelect=o.msUserSelect=o.webkitUserSelect=o.MozUserSelect="none"),("on"===t||!a.draggable)&&(o.webkitUserDrag="none"),o.touchAction="none",o.webkitTapHighlightColor="transparent"}}}]),i}();return n.\u0275fac=function(e){Ru()},n.\u0275dir=et({type:n,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),n}(),ur=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l,u,f,m,C,A,V,J,me){var Ce;return c(this,t),(Ce=e.call(this,a,o,s,l,u,f,m,C,A,V,J,me))._tooltipComponent=y7,Ce}return d(t)}(g7);return n.\u0275fac=function(e){return new(e||n)(B(Ia),B(yt),B(FT),B(ii),B(bt),B(Sr),B(s8),B(Os),B(XL),B(pa,8),B(v7,8),B(Ot))},n.\u0275dir=et({type:n,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[vt]}),n}(),_7=function(){var n=function(){function i(e){c(this,i),this._changeDetectorRef=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new Ae}return d(i,[{key:"show",value:function(t){var a=this;clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(function(){a._visibility="visible",a._showTimeoutId=void 0,a._onShow(),a._markForCheck()},t)}},{key:"hide",value:function(t){var a=this;clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(function(){a._visibility="hidden",a._hideTimeoutId=void 0,a._markForCheck()},t)}},{key:"afterHidden",value:function(){return this._onHide}},{key:"isVisible",value:function(){return"visible"===this._visibility}},{key:"ngOnDestroy",value:function(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete(),this._triggerElement=null}},{key:"_animationStart",value:function(){this._closeOnInteraction=!1}},{key:"_animationDone",value:function(t){var a=t.toState;"hidden"===a&&!this.isVisible()&&this._onHide.next(),("visible"===a||"hidden"===a)&&(this._closeOnInteraction=!0)}},{key:"_handleBodyInteraction",value:function(){this._closeOnInteraction&&this.hide(0)}},{key:"_markForCheck",value:function(){this._changeDetectorRef.markForCheck()}},{key:"_handleMouseLeave",value:function(t){var a=t.relatedTarget;(!a||!this._triggerElement.contains(a))&&this.hide(this._mouseLeaveHideDelay)}},{key:"_onShow",value:function(){}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Yn))},n.\u0275dir=et({type:n}),n}(),y7=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o){var s;return c(this,t),(s=e.call(this,a))._breakpointObserver=o,s._isHandset=s._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)"),s}return d(t)}(_7);return n.\u0275fac=function(e){return new(e||n)(B(Yn),B(cb))},n.\u0275cmp=qe({type:n,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,t){1&e&&Se("mouseleave",function(o){return t._handleMouseLeave(o)}),2&e&&Ds("zoom","visible"===t._visibility?1:null)},features:[vt],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(e,t){var a;1&e&&(E(0,"div",0),Se("@state.start",function(){return t._animationStart()})("@state.done",function(s){return t._animationDone(s)}),Y(1,"async"),R(2),P()),2&e&&(fn("mat-tooltip-handset",null==(a=U(1,5,t._isHandset))?null:a.matches),S("ngClass",t.tooltipClass)("@state",t._visibility),p(2),ge(t.message))},directives:[mr],pipes:[Zw],styles:[".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}.mat-tooltip-panel-non-interactive{pointer-events:none}\n"],encapsulation:2,data:{animation:[c7.tooltipState]},changeDetection:0}),n}(),b7=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({providers:[p7],imports:[[f2,Mo,cf,Pn],Pn,af]}),n}(),k7=["connectionContainer"],M7=["inputContainer"],C7=["label"];function w7(n,i){1&n&&(ze(0),E(1,"div",14),Te(2,"div",15)(3,"div",16)(4,"div",17),P(),E(5,"div",18),Te(6,"div",15)(7,"div",16)(8,"div",17),P(),We())}function S7(n,i){if(1&n){var e=tt();E(0,"div",19),Se("cdkObserveContent",function(){return ke(e),K().updateOutlineGap()}),hr(1,1),P()}2&n&&S("cdkObserveContentDisabled","outline"!=K().appearance)}function D7(n,i){if(1&n&&(ze(0),hr(1,2),E(2,"span"),R(3),P(),We()),2&n){var e=K(2);p(3),ge(e._control.placeholder)}}function T7(n,i){1&n&&hr(0,3,["*ngSwitchCase","true"])}function L7(n,i){1&n&&(E(0,"span",23),R(1," *"),P())}function E7(n,i){if(1&n){var e=tt();E(0,"label",20,21),Se("cdkObserveContent",function(){return ke(e),K().updateOutlineGap()}),q(2,D7,4,1,"ng-container",12),q(3,T7,1,0,"ng-content",12),q(4,L7,2,0,"span",22),P()}if(2&n){var t=K();fn("mat-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-form-field-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-accent","accent"==t.color)("mat-warn","warn"==t.color),S("cdkObserveContentDisabled","outline"!=t.appearance)("id",t._labelId)("ngSwitch",t._hasLabel()),Wt("for",t._control.id)("aria-owns",t._control.id),p(2),S("ngSwitchCase",!1),p(1),S("ngSwitchCase",!0),p(1),S("ngIf",!t.hideRequiredMarker&&t._control.required&&!t._control.disabled)}}function P7(n,i){1&n&&(E(0,"div",24),hr(1,4),P())}function x7(n,i){if(1&n&&(E(0,"div",25),Te(1,"span",26),P()),2&n){var e=K();p(1),fn("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function O7(n,i){1&n&&(E(0,"div"),hr(1,5),P()),2&n&&S("@transitionMessages",K()._subscriptAnimationState)}function I7(n,i){if(1&n&&(E(0,"div",30),R(1),P()),2&n){var e=K(2);S("id",e._hintLabelId),p(1),ge(e.hintLabel)}}function A7(n,i){if(1&n&&(E(0,"div",27),q(1,I7,2,2,"div",28),hr(2,6),Te(3,"div",29),hr(4,7),P()),2&n){var e=K();S("@transitionMessages",e._subscriptAnimationState),p(1),S("ngIf",e.hintLabel)}}var F7=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],R7=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],N7=0,eE=new Ze("MatError"),wf=function(){var n=d(function i(e,t){c(this,i),this.id="mat-error-".concat(N7++),e||t.nativeElement.setAttribute("aria-live","polite")});return n.\u0275fac=function(e){return new(e||n)(Yo("aria-live"),B(yt))},n.\u0275dir=et({type:n,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(e,t){2&e&&Wt("id",t.id)},inputs:{id:"id"},features:[cn([{provide:eE,useExisting:n}])]}),n}(),Y7={transitionMessages:Go("transitionMessages",[Ri("enter",kn({opacity:1,transform:"translateY(0%)"})),_i("void => enter",[kn({opacity:0,transform:"translateY(-5px)"}),Fi("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Tv=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=et({type:n}),n}(),H7=new Ze("MatHint"),tE=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=et({type:n,selectors:[["mat-label"]]}),n}(),B7=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=et({type:n,selectors:[["mat-placeholder"]]}),n}(),V7=new Ze("MatPrefix"),j7=new Ze("MatSuffix"),nE=0,z7=Sl(function(){return d(function n(i){c(this,n),this._elementRef=i})}(),"primary"),W7=new Ze("MAT_FORM_FIELD_DEFAULT_OPTIONS"),jb=new Ze("MatFormField"),ki=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l,u,f,m){var C;return c(this,t),(C=e.call(this,a))._changeDetectorRef=o,C._dir=s,C._defaults=l,C._platform=u,C._ngZone=f,C._outlineGapCalculationNeededImmediately=!1,C._outlineGapCalculationNeededOnStable=!1,C._destroyed=new Ae,C._showAlwaysAnimate=!1,C._subscriptAnimationState="",C._hintLabel="",C._hintLabelId="mat-hint-".concat(nE++),C._labelId="mat-form-field-label-".concat(nE++),C.floatLabel=C._getDefaultFloatLabelState(),C._animationsEnabled="NoopAnimations"!==m,C.appearance=l&&l.appearance?l.appearance:"legacy",C._hideRequiredMarker=!(!l||null==l.hideRequiredMarker)&&l.hideRequiredMarker,C}return d(t,[{key:"appearance",get:function(){return this._appearance},set:function(o){var s=this._appearance;this._appearance=o||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&s!==o&&(this._outlineGapCalculationNeededOnStable=!0)}},{key:"hideRequiredMarker",get:function(){return this._hideRequiredMarker},set:function(o){this._hideRequiredMarker=$n(o)}},{key:"_shouldAlwaysFloat",value:function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}},{key:"_canLabelFloat",value:function(){return"never"!==this.floatLabel}},{key:"hintLabel",get:function(){return this._hintLabel},set:function(o){this._hintLabel=o,this._processHints()}},{key:"floatLabel",get:function(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel},set:function(o){o!==this._floatLabel&&(this._floatLabel=o||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}},{key:"_control",get:function(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic},set:function(o){this._explicitFormFieldControl=o}},{key:"getLabelId",value:function(){return this._hasFloatingLabel()?this._labelId:null}},{key:"getConnectedOverlayOrigin",value:function(){return this._connectionContainerRef||this._elementRef}},{key:"ngAfterContentInit",value:function(){var o=this;this._validateControlChild();var s=this._control;s.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-".concat(s.controlType)),s.stateChanges.pipe(ha(null)).subscribe(function(){o._validatePlaceholders(),o._syncDescribedByIds(),o._changeDetectorRef.markForCheck()}),s.ngControl&&s.ngControl.valueChanges&&s.ngControl.valueChanges.pipe(hn(this._destroyed)).subscribe(function(){return o._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(function(){o._ngZone.onStable.pipe(hn(o._destroyed)).subscribe(function(){o._outlineGapCalculationNeededOnStable&&o.updateOutlineGap()})}),Ci(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){o._outlineGapCalculationNeededOnStable=!0,o._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(ha(null)).subscribe(function(){o._processHints(),o._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(ha(null)).subscribe(function(){o._syncDescribedByIds(),o._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(hn(this._destroyed)).subscribe(function(){"function"==typeof requestAnimationFrame?o._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return o.updateOutlineGap()})}):o.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(o){var s=this._control?this._control.ngControl:null;return s&&s[o]}},{key:"_hasPlaceholder",value:function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}},{key:"_hasLabel",value:function(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}},{key:"_shouldLabelFloat",value:function(){return this._canLabelFloat()&&(this._control&&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 o=this;this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,_l(this._label.nativeElement,"transitionend").pipe(nr(1)).subscribe(function(){o._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}},{key:"_validatePlaceholders",value:function(){}},{key:"_processHints",value:function(){this._validateHints(),this._syncDescribedByIds()}},{key:"_validateHints",value:function(){}},{key:"_getDefaultFloatLabelState",value:function(){return this._defaults&&this._defaults.floatLabel||"auto"}},{key:"_syncDescribedByIds",value:function(){if(this._control){var o=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&o.push.apply(o,ae(this._control.userAriaDescribedBy.split(" "))),"hint"===this._getDisplayedMessages()){var s=this._hintChildren?this._hintChildren.find(function(u){return"start"===u.align}):null,l=this._hintChildren?this._hintChildren.find(function(u){return"end"===u.align}):null;s?o.push(s.id):this._hintLabel&&o.push(this._hintLabelId),l&&o.push(l.id)}else this._errorChildren&&o.push.apply(o,ae(this._errorChildren.map(function(u){return u.id})));this._control.setDescribedByIds(o)}}},{key:"_validateControlChild",value:function(){}},{key:"updateOutlineGap",value:function(){var o=this._label?this._label.nativeElement:null,s=this._connectionContainerRef.nativeElement,l=".mat-form-field-outline-start",u=".mat-form-field-outline-gap";if("outline"===this.appearance&&this._platform.isBrowser){if(!o||!o.children.length||!o.textContent.trim()){for(var f=s.querySelectorAll("".concat(l,", ").concat(u)),m=0;m0?.75*Re+10:0}for(var Ge=0;Ge-1}},{key:"_isBadInput",value:function(){var o=this._elementRef.nativeElement.validity;return o&&o.badInput}},{key:"empty",get:function(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}},{key:"shouldLabelFloat",get:function(){if(this._isNativeSelect){var o=this._elementRef.nativeElement,s=o.options[0];return this.focused||o.multiple||!this.empty||!!(o.selectedIndex>-1&&s&&s.label)}return this.focused||!this.empty}},{key:"setDescribedByIds",value:function(o){o.length?this._elementRef.nativeElement.setAttribute("aria-describedby",o.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}},{key:"onContainerClick",value:function(){this.focused||this.focus()}},{key:"_isInlineSelect",value:function(){var o=this._elementRef.nativeElement;return this._isNativeSelect&&(o.multiple||o.size>1)}}]),t}(Z7);return n.\u0275fac=function(e){return new(e||n)(B(yt),B(Sr),B(Do,10),B(Cf,8),B(gr,8),B(ov),B(q7,10),B(G7),B(bt),B(jb,8))},n.\u0275dir=et({type:n,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(e,t){1&e&&Se("focus",function(){return t._focusChanged(!0)})("blur",function(){return t._focusChanged(!1)})("input",function(){return t._onInput()}),2&e&&(tl("disabled",t.disabled)("required",t.required),Wt("id",t.id)("data-placeholder",t.placeholder)("name",t.name||null)("readonly",t.readonly&&!t._isNativeSelect||null)("aria-invalid",t.empty&&t.required?null:t.errorState)("aria-required",t.required),fn("mat-input-server",t._isServer)("mat-native-select-inline",t._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[cn([{provide:Tv,useExisting:n}]),vt,Nr]}),n}(),Q7=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({providers:[ov],imports:[[aE,Lv,Pn],aE,Lv]}),n}(),J7=["button1"],X7=["button2"];function eU(n,i){1&n&&Te(0,"mat-spinner",4),2&n&&S("diameter",K().loadingSize)}function tU(n,i){1&n&&(E(0,"mat-icon"),R(1,"error_outline"),P())}var nU=function(i){return{"for-dark-background":i}},rU=["*"],Fs=function(){return function(n){n[n.Normal=0]="Normal",n[n.Error=1]="Error",n[n.Loading=2]="Loading"}(Fs||(Fs={})),Fs}(),ci=function(){var n=function(){function i(){c(this,i),this.forDarkBackground=!1,this.disabled=!1,this.color="",this.loadingSize=24,this.action=new pt,this.state=Fs.Normal,this.buttonStates=Fs}return d(i,[{key:"ngOnDestroy",value:function(){this.action.complete()}},{key:"click",value:function(){this.disabled||(this.reset(),this.action.emit())}},{key:"reset",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.state=Fs.Normal,t&&(this.disabled=!1)}},{key:"focus",value:function(){this.button1&&this.button1.focus(),this.button2&&this.button2.focus()}},{key:"showEnabled",value:function(){this.disabled=!1}},{key:"showDisabled",value:function(){this.disabled=!0}},{key:"showLoading",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.state=Fs.Loading,t&&(this.disabled=!0)}},{key:"showError",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.state=Fs.Error,t&&(this.disabled=!1)}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=qe({type:n,selectors:[["app-button"]],viewQuery:function(e,t){var a;1&e&&(gt(J7,5),gt(X7,5)),2&e&&(lt(a=ut())&&(t.button1=a.first),lt(a=ut())&&(t.button2=a.first))},inputs:{forDarkBackground:"forDarkBackground",disabled:"disabled",color:"color",loadingSize:"loadingSize"},outputs:{action:"action"},ngContentSelectors:rU,decls:5,vars:7,consts:[["mat-raised-button","",3,"disabled","color","ngClass","click"],["button2",""],[3,"diameter",4,"ngIf"],[4,"ngIf"],[3,"diameter"]],template:function(e,t){1&e&&(Gi(),E(0,"button",0,1),Se("click",function(){return t.click()}),q(2,eU,1,1,"mat-spinner",2),q(3,tU,2,0,"mat-icon",3),hr(4),P()),2&e&&(S("disabled",t.disabled)("color",t.color)("ngClass",Qe(5,nU,t.forDarkBackground)),p(2),S("ngIf",t.state===t.buttonStates.Loading),p(1),S("ngIf",t.state===t.buttonStates.Error))},directives:[yi,mr,Et,Aa,Mn],styles:["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%], button[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}.grey-text[_ngcontent-%COMP%]{color:#777!important}button[_ngcontent-%COMP%]{color:#f8f9f9;border-radius:10px}button[_ngcontent-%COMP%] mat-spinner[_ngcontent-%COMP%] circle{stroke:#f8f9f9}mat-icon[_ngcontent-%COMP%], mat-spinner[_ngcontent-%COMP%]{display:inline-block;margin-right:20px;position:relative;top:-2px}.for-dark-background[_ngcontent-%COMP%]:disabled{background-color:#000!important;color:#fff!important;opacity:.3}"]}),n}(),iU=["button"],aU=["firstInput"];function oU(n,i){1&n&&(E(0,"mat-form-field",10),Te(1,"input",11),Y(2,"translate"),E(3,"mat-error"),R(4),Y(5,"translate"),P()()),2&n&&(p(1),S("placeholder",U(2,2,"settings.password.old-password")),p(3),ye(" ",U(5,4,"settings.password.errors.old-password-required")," "))}var sU=function(i){return{"rounded-elevated-box":i}},oE=function(i){return{"white-form-field":i}},lU=function(i,e){return{"mt-2 app-button":i,"float-right":e}},sE=function(){var n=function(){function i(e,t,a,o){c(this,i),this.authService=e,this.router=t,this.snackbarService=a,this.dialog=o,this.forInitialConfig=!1}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.form=new xl({oldPassword:new Xa("",this.forInitialConfig?null:Cn.required),newPassword:new Xa("",Cn.compose([Cn.required,Cn.minLength(6),Cn.maxLength(64)])),newPasswordConfirmation:new Xa("",[Cn.required,this.validatePasswords.bind(this)])}),this.formSubscription=this.form.controls.newPassword.valueChanges.subscribe(function(){return t.form.controls.newPasswordConfirmation.updateValueAndValidity()})}},{key:"ngAfterViewInit",value:function(){var t=this;this.forInitialConfig&&setTimeout(function(){return t.firstInput.nativeElement.focus()})}},{key:"ngOnDestroy",value:function(){this.subscription&&this.subscription.unsubscribe(),this.formSubscription.unsubscribe()}},{key:"changePassword",value:function(){var t=this;this.form.valid&&!this.button.disabled&&(this.button.showLoading(),this.subscription=this.forInitialConfig?this.authService.initialConfig(this.form.get("newPassword").value).subscribe(function(){t.dialog.closeAll(),t.snackbarService.showDone("settings.password.initial-config.done")},function(a){t.button.showError(),a=on(a),t.snackbarService.showError(a,null,!0)}):this.authService.changePassword(this.form.get("oldPassword").value,this.form.get("newPassword").value).subscribe(function(){t.router.navigate(["nodes"]),t.snackbarService.showDone("settings.password.password-changed")},function(a){t.button.showError(),a=on(a),t.snackbarService.showError(a)}))}},{key:"validatePasswords",value:function(){return this.form&&this.form.get("newPassword").value!==this.form.get("newPasswordConfirmation").value?{invalid:!0}:null}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(_f),B(an),B(In),B(Gn))},n.\u0275cmp=qe({type:n,selectors:[["app-password"]],viewQuery:function(e,t){var a;1&e&&(gt(iU,5),gt(aU,5)),2&e&&(lt(a=ut())&&(t.button=a.first),lt(a=ut())&&(t.firstInput=a.first))},inputs:{forInitialConfig:"forInitialConfig"},decls:25,vars:38,consts:[[3,"ngClass"],[1,"box-internal-container","overflow"],[3,"inline","matTooltip"],[3,"formGroup"],["class","white-form-field",4,"ngIf"],["type","password","formControlName","newPassword","maxlength","64","matInput","",3,"placeholder"],["firstInput",""],["type","password","formControlName","newPasswordConfirmation","maxlength","64","matInput","",3,"placeholder"],["color","primary",3,"ngClass","disabled","forDarkBackground","action"],["button",""],[1,"white-form-field"],["type","password","formControlName","oldPassword","maxlength","64","matInput","",3,"placeholder"]],template:function(e,t){1&e&&(E(0,"div",0)(1,"div",1)(2,"div")(3,"mat-icon",2),Y(4,"translate"),R(5," help "),P()(),E(6,"form",3),q(7,oU,6,6,"mat-form-field",4),E(8,"mat-form-field",0),Te(9,"input",5,6),Y(11,"translate"),E(12,"mat-error"),R(13),Y(14,"translate"),P()(),E(15,"mat-form-field",0),Te(16,"input",7),Y(17,"translate"),E(18,"mat-error"),R(19),Y(20,"translate"),P()(),E(21,"app-button",8,9),Se("action",function(){return t.changePassword()}),R(23),Y(24,"translate"),P()()()()),2&e&&(S("ngClass",Qe(29,sU,!t.forInitialConfig)),p(2),ua((t.forInitialConfig?"":"white-")+"form-help-icon-container"),p(1),S("inline",!0)("matTooltip",U(4,17,t.forInitialConfig?"settings.password.initial-config-help":"settings.password.help")),p(3),S("formGroup",t.form),p(1),S("ngIf",!t.forInitialConfig),p(1),S("ngClass",Qe(31,oE,!t.forInitialConfig)),p(1),S("placeholder",U(11,19,t.forInitialConfig?"settings.password.initial-config.password":"settings.password.new-password")),p(4),ye(" ",U(14,21,"settings.password.errors.new-password-error")," "),p(2),S("ngClass",Qe(33,oE,!t.forInitialConfig)),p(1),S("placeholder",U(17,23,t.forInitialConfig?"settings.password.initial-config.repeat-password":"settings.password.repeat-password")),p(3),ye(" ",U(20,25,"settings.password.errors.passwords-not-match")," "),p(2),S("ngClass",En(35,lU,!t.forInitialConfig,t.forInitialConfig))("disabled",!t.form.valid)("forDarkBackground",!t.forInitialConfig),p(2),ye(" ",U(24,27,t.forInitialConfig?"settings.password.initial-config.set-password":"settings.change-password")," "))},directives:[mr,Mn,ur,ei,Xr,gr,Et,ki,Qr,Qi,Jr,zr,Hi,wf,ci],pipes:[Mt],styles:["mat-form-field[_ngcontent-%COMP%]{margin-right:32px}app-button[_ngcontent-%COMP%]{float:right;margin-right:32px}"]}),n}(),uU=function(){var n=function(){function i(){c(this,i)}return d(i,null,[{key:"openDialog",value:function(t){var a=new Zn;return a.autoFocus=!1,a.width=Kt.smallModalWidth,t.open(i,a)}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=qe({type:n,selectors:[["app-initial-setup"]],decls:3,vars:4,consts:[[3,"headline"],[3,"forInitialConfig"]],template:function(e,t){1&e&&(E(0,"app-dialog",0),Y(1,"translate"),Te(2,"app-password",1),P()),2&e&&(S("headline",U(1,2,"settings.password.initial-config.title")),p(2),S("forInitialConfig",!0))},directives:[_r,sE],pipes:[Mt],styles:[""]}),n}();function cU(n,i){if(1&n){var e=tt();E(0,"button",3),Se("click",function(){var s=ke(e).$implicit;return K().closePopup(s)}),Te(1,"img",4),E(2,"div",5),R(3),P()()}if(2&n){var t=i.$implicit;p(1),S("src","assets/img/lang/"+t.iconName,vo),p(2),ge(t.name)}}var lE=function(){var n=function(){function i(e,t){c(this,i),this.dialogRef=e,this.languageService=t,this.languages=[]}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.subscription=this.languageService.languages.subscribe(function(a){t.languages=a})}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}},{key:"closePopup",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;t&&this.languageService.changeLanguage(t.code),this.dialogRef.close()}}],[{key:"openDialog",value:function(t){var a=new Zn;return a.autoFocus=!1,a.width=Kt.mediumModalWidth,t.open(i,a)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Dr),B(vv))},n.\u0275cmp=qe({type:n,selectors:[["app-select-language"]],decls:4,vars:4,consts:[[3,"headline"],[1,"options-container"],["mat-button","","color","accent","class","grey-button-background",3,"click",4,"ngFor","ngForOf"],["mat-button","","color","accent",1,"grey-button-background",3,"click"],[3,"src"],[1,"label"]],template:function(e,t){1&e&&(E(0,"app-dialog",0),Y(1,"translate"),E(2,"div",1),q(3,cU,4,2,"button",2),P()()),2&e&&(S("headline",U(1,2,"language.title")),p(3),S("ngForOf",t.languages))},directives:[_r,Or,yi],pipes:[Mt],styles:["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%], .options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}.grey-text[_ngcontent-%COMP%]{color:#777!important}.options-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;flex-wrap:wrap}.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:118px;margin:20px;font-size:.7rem;line-height:unset;padding:0;color:unset}@media (max-width: 767px){.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:90px;font-size:.6rem;margin:6px}}.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:64px;height:64px;margin:10px 0}@media (max-width: 767px){.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:48px;height:48px;margin:7px 0}}.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{background-color:#ffffff40;padding:4px 10px}@media (max-width: 767px){.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{padding:4px 5px}}"]}),n}();function dU(n,i){1&n&&Te(0,"img",2),2&n&&S("src","assets/img/lang/"+K().language.iconName,vo)}var fU=function(){var n=function(){function i(e,t){c(this,i),this.languageService=e,this.dialog=t}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.subscription=this.languageService.currentLanguage.subscribe(function(a){t.language=a})}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}},{key:"openLanguageWindow",value:function(){lE.openDialog(this.dialog)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(vv),B(Gn))},n.\u0275cmp=qe({type:n,selectors:[["app-lang-button"]],decls:3,vars:4,consts:[["mat-button","",1,"lang-button","subtle-transparent-button",3,"matTooltip","click"],["class","flag",3,"src",4,"ngIf"],[1,"flag",3,"src"]],template:function(e,t){1&e&&(E(0,"button",0),Se("click",function(){return t.openLanguageWindow()}),Y(1,"translate"),q(2,dU,1,1,"img",1),P()),2&e&&(S("matTooltip",U(1,2,"language.title")),p(2),S("ngIf",t.language))},directives:[yi,ur,Et],pipes:[Mt],styles:[".lang-button[_ngcontent-%COMP%]{height:40px;background-color:#f8f9f9;border-radius:100%;padding:0;line-height:normal}.lang-button[_ngcontent-%COMP%] .flag[_ngcontent-%COMP%]{width:20px;height:20px}"]}),n}(),uE=function(){var n=function(){function i(e,t,a,o,s){c(this,i),this.authService=e,this.router=t,this.snackbarService=a,this.dialog=o,this.route=s,this.loading=!1,this.isForVpn=!1,this.vpnKey=""}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.routeSubscription=this.route.paramMap.subscribe(function(a){t.vpnKey=a.get("key"),t.isForVpn=-1!==window.location.href.indexOf("vpnlogin"),t.verificationSubscription=t.authService.checkLogin().subscribe(function(o){o!==Xo.NotLogged&&t.router.navigate(t.isForVpn?["vpn",t.vpnKey,"status"]:["nodes"],{replaceUrl:!0})})}),this.form=new xl({password:new Xa("",Cn.required)})}},{key:"ngOnDestroy",value:function(){this.loginSubscription&&this.loginSubscription.unsubscribe(),this.verificationSubscription.unsubscribe(),this.routeSubscription.unsubscribe()}},{key:"login",value:function(){var t=this;!this.form.valid||this.loading||(this.loading=!0,this.loginSubscription=this.authService.login(this.form.get("password").value).subscribe(function(){return t.onLoginSuccess()},function(a){return t.onLoginError(a)}))}},{key:"configure",value:function(){uU.openDialog(this.dialog)}},{key:"onLoginSuccess",value:function(){this.router.navigate(this.isForVpn?["vpn",this.vpnKey,"status"]:["nodes"],{replaceUrl:!0})}},{key:"onLoginError",value:function(t){t=on(t),this.loading=!1,this.snackbarService.showError(t.originalError&&401===t.originalError.status?"login.incorrect-password":t.translatableErrorMsg)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(_f),B(an),B(In),B(Gn),B(si))},n.\u0275cmp=qe({type:n,selectors:[["app-login"]],decls:14,vars:8,consts:[[1,"w-100","h-100","d-flex","justify-content-center"],[1,"row","main-container"],["src","/assets/img/logo-v.png",1,"logo"],[1,"mt-5",3,"formGroup"],[1,"login-input"],["type","password","formControlName","password","autocomplete","off",3,"placeholder","keydown.enter"],[3,"disabled","click"],[1,"config-link",3,"click"]],template:function(e,t){1&e&&(E(0,"div",0),Te(1,"app-lang-button"),E(2,"div",1),Te(3,"img",2),E(4,"form",3)(5,"div",4)(6,"input",5),Se("keydown.enter",function(){return t.login()}),Y(7,"translate"),P(),E(8,"button",6),Se("click",function(){return t.login()}),E(9,"mat-icon"),R(10,"chevron_right"),P()()()(),E(11,"div",7),Se("click",function(){return t.configure()}),R(12),Y(13,"translate"),P()()()),2&e&&(p(4),S("formGroup",t.form),p(2),S("placeholder",U(7,4,"login.password")),p(2),S("disabled",!t.form.valid||t.loading),p(4),ge(U(13,6,"login.initial-config")))},directives:[fU,ei,Xr,gr,Qr,Jr,zr,Mn],pipes:[Mt],styles:['.cursor-pointer[_ngcontent-%COMP%], .config-link[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}app-lang-button[_ngcontent-%COMP%]{position:fixed;right:10px;top:10px}.main-container[_ngcontent-%COMP%]{z-index:1;height:100%;flex-direction:column;align-items:center;justify-content:center}.logo[_ngcontent-%COMP%]{width:170px}.login-input[_ngcontent-%COMP%]{height:35px;width:300px;overflow:hidden;border-radius:10px;box-shadow:0 3px 8px #0000001a,0 6px 20px #0000001a;display:flex}.login-input[_ngcontent-%COMP%] input[type=password][_ngcontent-%COMP%]{background:#fff;width:calc(100% - 35px);height:100%;font-size:.875rem;border:none;padding-left:10px;padding-right:10px}.login-input[_ngcontent-%COMP%] input[type=password][_ngcontent-%COMP%]:focus{outline:none}.login-input[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background:#fff;color:#202226;width:35px;height:35px;line-height:35px;border:none;display:flex;cursor:pointer;align-items:center}.login-input[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:disabled{color:#777}.config-link[_ngcontent-%COMP%]{color:#f8f9f9;font-size:.7rem;margin-top:20px}']}),n}();function hU(n){return n instanceof Date&&!isNaN(+n)}function Mi(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nc,e=hU(n),t=e?+n-i.now():Math.abs(n);return function(a){return a.lift(new pU(t,i))}}var pU=function(){function n(i,e){c(this,n),this.delay=i,this.scheduler=e}return d(n,[{key:"call",value:function(e,t){return t.subscribe(new vU(e,this.delay,this.scheduler))}}]),n}(),vU=function(n){h(e,n);var i=y(e);function e(t,a,o){var s;return c(this,e),(s=i.call(this,t)).delay=a,s.scheduler=o,s.queue=[],s.active=!1,s.errored=!1,s}return d(e,[{key:"_schedule",value:function(a){this.active=!0,this.destination.add(a.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:a}))}},{key:"scheduleNotification",value:function(a){if(!0!==this.errored){var o=this.scheduler,s=new mU(o.now()+this.delay,a);this.queue.push(s),!1===this.active&&this._schedule(o)}}},{key:"_next",value:function(a){this.scheduleNotification($o.createNext(a))}},{key:"_error",value:function(a){this.errored=!0,this.queue=[],this.destination.error(a),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleNotification($o.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(a){for(var o=a.source,s=o.queue,l=a.scheduler,u=a.destination;s.length>0&&s[0].time-l.now()<=0;)s.shift().notification.observe(u);if(s.length>0){var f=Math.max(0,s[0].time-l.now());this.schedule(a,f)}else this.unsubscribe(),o.active=!1}}]),e}(St),mU=d(function n(i,e){c(this,n),this.time=i,this.notification=e}),Ub=H(9774),Ev=H.n(Ub),zb=d(function n(){c(this,n)}),gU=d(function n(){c(this,n)}),eo=function(){return function(n){n.Connecting="connecting",n.Unhealthy="unhealthy",n.Healthy="healthy"}(eo||(eo={})),eo}(),_U=d(function n(){c(this,n),this.totalSent=0,this.totalReceived=0,this.sentHistory=[],this.receivedHistory=[]}),Qn=function(){return function(n){n.UseCustomSettings="updaterUseCustomSettings",n.Channel="updaterChannel",n.Version="updaterVersion",n.ArchiveURL="updaterArchiveURL",n.ChecksumsURL="updaterChecksumsURL"}(Qn||(Qn={})),Qn}(),Il=function(){var n=function(){function i(e,t){var a=this;c(this,i),this.apiService=e,this.storageService=t,this.maxTrafficHistorySlots=10,this.nodeListSubject=new jr(null),this.updatingNodeListSubject=new jr(!1),this.specificNodeSubject=new jr(null),this.updatingSpecificNodeSubject=new jr(!1),this.specificNodeTrafficDataSubject=new jr(null),this.specificNodeKey="",this.lastScheduledHistoryUpdateTime=0,this.storageService.getRefreshTimeObservable().subscribe(function(o){a.dataRefreshDelay=1e3*o,a.nodeListRefreshSubscription&&a.forceNodeListRefresh(),a.specificNodeRefreshSubscription&&a.forceSpecificNodeRefresh()})}return d(i,[{key:"nodeList",get:function(){return this.nodeListSubject.asObservable()}},{key:"updatingNodeList",get:function(){return this.updatingNodeListSubject.asObservable()}},{key:"specificNode",get:function(){return this.specificNodeSubject.asObservable()}},{key:"updatingSpecificNode",get:function(){return this.updatingSpecificNodeSubject.asObservable()}},{key:"specificNodeTrafficData",get:function(){return this.specificNodeTrafficDataSubject.asObservable()}},{key:"startRequestingNodeList",value:function(){if(this.nodeListStopSubscription&&!this.nodeListStopSubscription.closed)return this.nodeListStopSubscription.unsubscribe(),void(this.nodeListStopSubscription=null);var a=this.calculateRemainingTime(this.nodeListSubject.value?this.nodeListSubject.value.momentOfLastCorrectUpdate:0);this.startDataSubscription(a=a>0?a:0,!0)}},{key:"startRequestingSpecificNode",value:function(t){if(this.specificNodeStopSubscription&&!this.specificNodeStopSubscription.closed&&this.specificNodeKey===t)return this.specificNodeStopSubscription.unsubscribe(),void(this.specificNodeStopSubscription=null);var o=this.calculateRemainingTime(this.specificNodeSubject.value?this.specificNodeSubject.value.momentOfLastCorrectUpdate:0);this.lastScheduledHistoryUpdateTime=0,this.specificNodeKey!==t||0===o?(this.specificNodeKey=t,this.specificNodeTrafficDataSubject.next(new _U),this.specificNodeSubject.next(null),this.startDataSubscription(0,!1)):this.startDataSubscription(o,!1)}},{key:"calculateRemainingTime",value:function(t){if(t<1)return 0;var a=this.dataRefreshDelay-(Date.now()-t);return a<0&&(a=0),a}},{key:"stopRequestingNodeList",value:function(){var t=this;this.nodeListRefreshSubscription&&(this.nodeListStopSubscription=Je(1).pipe(Mi(4e3)).subscribe(function(){t.nodeListRefreshSubscription.unsubscribe(),t.nodeListRefreshSubscription=null}))}},{key:"stopRequestingSpecificNode",value:function(){var t=this;this.specificNodeRefreshSubscription&&(this.specificNodeStopSubscription=Je(1).pipe(Mi(4e3)).subscribe(function(){t.specificNodeRefreshSubscription.unsubscribe(),t.specificNodeRefreshSubscription=null}))}},{key:"startDataSubscription",value:function(t,a){var s,l,u,o=this;a?(s=this.updatingNodeListSubject,l=this.nodeListSubject,u=this.getNodes(),this.nodeListRefreshSubscription&&this.nodeListRefreshSubscription.unsubscribe()):(s=this.updatingSpecificNodeSubject,l=this.specificNodeSubject,u=this.getNode(this.specificNodeKey),this.specificNodeStopSubscription&&(this.specificNodeStopSubscription.unsubscribe(),this.specificNodeStopSubscription=null),this.specificNodeRefreshSubscription&&this.specificNodeRefreshSubscription.unsubscribe());var f=Je(1).pipe(Mi(t),Fr(function(){return s.next(!0)}),Mi(120),Dn(function(){return u})).subscribe(function(m){var C;s.next(!1),a?C=o.dataRefreshDelay:(o.updateTrafficData(m.transports),(C=o.calculateRemainingTime(o.lastScheduledHistoryUpdateTime))<1e3&&(o.lastScheduledHistoryUpdateTime=Date.now(),C=o.dataRefreshDelay));var A={data:m,error:null,momentOfLastCorrectUpdate:Date.now()};l.next(A),o.startDataSubscription(C,a)},function(m){s.next(!1),m=on(m);var C={data:l.value&&l.value.data?l.value.data:null,error:m,momentOfLastCorrectUpdate:l.value?l.value.momentOfLastCorrectUpdate:-1};!a&&m.originalError&&400===m.originalError.status||o.startDataSubscription(Kt.connectionRetryDelay,a),l.next(C)});a?this.nodeListRefreshSubscription=f:this.specificNodeRefreshSubscription=f}},{key:"updateTrafficData",value:function(t){var a=this.specificNodeTrafficDataSubject.value;if(a.totalSent=0,a.totalReceived=0,t&&t.length>0&&(a.totalSent=t.reduce(function(f,m){return f+m.sent},0),a.totalReceived=t.reduce(function(f,m){return f+m.recv},0)),0===a.sentHistory.length)for(var o=0;othis.maxTrafficHistorySlots&&(l=this.maxTrafficHistorySlots),0===l)a.sentHistory[a.sentHistory.length-1]=a.totalSent,a.receivedHistory[a.receivedHistory.length-1]=a.totalReceived;else for(var u=0;uthis.maxTrafficHistorySlots&&(a.sentHistory.splice(0,a.sentHistory.length-this.maxTrafficHistorySlots),a.receivedHistory.splice(0,a.receivedHistory.length-this.maxTrafficHistorySlots))}this.specificNodeTrafficDataSubject.next(a)}},{key:"forceNodeListRefresh",value:function(){this.nodeListSubject.value&&(this.nodeListSubject.value.momentOfLastCorrectUpdate=-1),this.startDataSubscription(0,!0)}},{key:"forceSpecificNodeRefresh",value:function(){this.specificNodeSubject.value&&(this.specificNodeSubject.value.momentOfLastCorrectUpdate=-1),this.startDataSubscription(0,!1)}},{key:"getNodes",value:function(){var t=this,a=[];return this.apiService.get("visors-summary").pipe($e(function(o){o&&o.forEach(function(m){var C=new zb;C.online=m.online,C.localPk=m.overview.local_pk,C.autoconnectTransports=m.public_autoconnect,C.buildTag=m.build_tag?m.build_tag:"",C.ip=m.overview&&m.overview.local_ip&&m.overview.local_ip.trim()?m.overview.local_ip:null;var A=t.storageService.getLabelInfo(C.localPk);if(C.label=A&&A.label?A.label:t.storageService.getDefaultLabel(C),!C.online)return C.dmsgServerPk="",C.roundTripPing="",void a.push(C);C.health={servicesHealth:m.health.services_health},C.dmsgServerPk=m.dmsg_stats.server_public_key,C.roundTripPing=t.nsToMs(m.dmsg_stats.round_trip),C.isHypervisor=m.is_hypervisor,a.push(C)});var s=new Map,l=[],u=[];a.forEach(function(m){s.set(m.localPk,m),m.online&&(l.push(m.localPk),u.push(m.ip))}),t.storageService.includeVisibleLocalNodes(l,u);var f=[];return t.storageService.getSavedLocalNodes().forEach(function(m){if(!s.has(m.publicKey)&&!m.hidden){var C=new zb;C.localPk=m.publicKey;var A=t.storageService.getLabelInfo(m.publicKey);C.label=A&&A.label?A.label:t.storageService.getDefaultLabel(C),C.online=!1,C.dmsgServerPk="",C.roundTripPing="",f.push(C)}s.has(m.publicKey)&&!s.get(m.publicKey).online&&m.hidden&&s.delete(m.publicKey)}),a=[],s.forEach(function(m){return a.push(m)}),a=a.concat(f)}))}},{key:"nsToMs",value:function(t){var a=new(Ev())(t).dividedBy(1e6);return(a=a.isLessThan(10)?a.decimalPlaces(2):a.decimalPlaces(0)).toString(10)}},{key:"getNode",value:function(t){var a=this;return this.apiService.get("visors/".concat(t,"/summary")).pipe($e(function(o){var s=new zb;s.localPk=o.overview.local_pk,s.version=o.overview.build_info.version,s.secondsOnline=Math.floor(Number.parseFloat(o.uptime)),s.minHops=o.min_hops,s.buildTag=o.build_tag,s.skybianBuildVersion=o.skybian_build_version,s.isSymmeticNat=o.overview.is_symmetic_nat,s.publicIp=o.overview.public_ip,s.autoconnectTransports=o.public_autoconnect,s.ip=o.overview.local_ip&&o.overview.local_ip.trim()?o.overview.local_ip:null;var l=a.storageService.getLabelInfo(s.localPk);s.label=l&&l.label?l.label:a.storageService.getDefaultLabel(s),s.health={servicesHealth:o.health.services_health},s.transports=[],o.overview.transports&&o.overview.transports.forEach(function(f){s.transports.push({id:f.id,localPk:f.local_pk,remotePk:f.remote_pk,type:f.type,recv:f.log.recv,sent:f.log.sent})}),s.persistentTransports=[],o.persistent_transports&&o.persistent_transports.forEach(function(f){s.persistentTransports.push({pk:f.pk,type:f.type})}),s.routes=[],o.routes&&o.routes.forEach(function(f){s.routes.push({key:f.key,rule:f.rule}),f.rule_summary&&(s.routes[s.routes.length-1].ruleSummary={keepAlive:f.rule_summary.keep_alive,ruleType:f.rule_summary.rule_type,keyRouteId:f.rule_summary.key_route_id},f.rule_summary.app_fields&&f.rule_summary.app_fields.route_descriptor&&(s.routes[s.routes.length-1].appFields={routeDescriptor:{dstPk:f.rule_summary.app_fields.route_descriptor.dst_pk,dstPort:f.rule_summary.app_fields.route_descriptor.dst_port,srcPk:f.rule_summary.app_fields.route_descriptor.src_pk,srcPort:f.rule_summary.app_fields.route_descriptor.src_port}}),f.rule_summary.forward_fields&&(s.routes[s.routes.length-1].forwardFields={nextRid:f.rule_summary.forward_fields.next_rid,nextTid:f.rule_summary.forward_fields.next_tid},f.rule_summary.forward_fields.route_descriptor&&(s.routes[s.routes.length-1].forwardFields.routeDescriptor={dstPk:f.rule_summary.forward_fields.route_descriptor.dst_pk,dstPort:f.rule_summary.forward_fields.route_descriptor.dst_port,srcPk:f.rule_summary.forward_fields.route_descriptor.src_pk,srcPort:f.rule_summary.forward_fields.route_descriptor.src_port})),f.rule_summary.intermediary_forward_fields&&(s.routes[s.routes.length-1].intermediaryForwardFields={nextRid:f.rule_summary.intermediary_forward_fields.next_rid,nextTid:f.rule_summary.intermediary_forward_fields.next_tid}))}),s.apps=[],o.overview.apps&&o.overview.apps.forEach(function(f){s.apps.push({name:f.name,status:f.status,port:f.port,autostart:f.auto_start,detailedStatus:f.detailed_status,args:f.args})});var u=!1;return o.dmsg_stats&&(s.dmsgServerPk=o.dmsg_stats.server_public_key,s.roundTripPing=a.nsToMs(o.dmsg_stats.round_trip),u=!0),u||(s.dmsgServerPk="-",s.roundTripPing="-1"),s}))}},{key:"reboot",value:function(t){return this.apiService.post("visors/".concat(t,"/restart"))}},{key:"checkIfUpdating",value:function(t){return this.apiService.get("visors/".concat(t,"/update/ws/running"))}},{key:"checkUpdate",value:function(t){var a="stable";return a=localStorage.getItem(Qn.Channel)||a,this.apiService.get("visors/".concat(t,"/update/available/").concat(a))}},{key:"update",value:function(t){var a={channel:"stable"};if(localStorage.getItem(Qn.UseCustomSettings)){var s=localStorage.getItem(Qn.Channel);s&&(a.channel=s);var l=localStorage.getItem(Qn.Version);l&&(a.version=l);var u=localStorage.getItem(Qn.ArchiveURL);u&&(a.archive_url=u);var f=localStorage.getItem(Qn.ChecksumsURL);f&&(a.checksums_url=f)}return this.apiService.ws("visors/".concat(t,"/update/ws"),a)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(El),Ee($i))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),yU=["firstInput"],Wb=function(){var n=function(){function i(e,t,a,o,s){c(this,i),this.dialogRef=e,this.data=t,this.formBuilder=a,this.storageService=o,this.snackbarService=s}return d(i,[{key:"ngOnInit",value:function(){this.form=this.formBuilder.group({label:[this.data.label]})}},{key:"ngAfterViewInit",value:function(){var t=this;setTimeout(function(){return t.firstInput.nativeElement.focus()})}},{key:"save",value:function(){var t=this.form.get("label").value.trim();t!==this.data.label?(this.storageService.saveLabel(this.data.id,t,this.data.identifiedElementType),t?this.snackbarService.showDone("edit-label.done"):this.snackbarService.showWarning("edit-label.label-removed-warning"),this.dialogRef.close(!0)):this.dialogRef.close()}}],[{key:"openDialog",value:function(t,a){var o=new Zn;return o.data=a,o.autoFocus=!1,o.width=Kt.smallModalWidth,t.open(i,o)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Dr),B(Ur),B(Zi),B($i),B(In))},n.\u0275cmp=qe({type:n,selectors:[["app-edit-label"]],viewQuery:function(e,t){var a;1&e&>(yU,5),2&e&<(a=ut())&&(t.firstInput=a.first)},decls:10,vars:10,consts:[[3,"headline"],[3,"formGroup"],["formControlName","label","maxlength","66","matInput","",3,"placeholder"],["firstInput",""],["color","primary",1,"float-right",3,"action"]],template:function(e,t){1&e&&(E(0,"app-dialog",0),Y(1,"translate"),E(2,"form",1)(3,"mat-form-field"),Te(4,"input",2,3),Y(6,"translate"),P()(),E(7,"app-button",4),Se("action",function(){return t.save()}),R(8),Y(9,"translate"),P()()),2&e&&(S("headline",U(1,4,"labeled-element.edit-label")),p(2),S("formGroup",t.form),p(2),S("placeholder",U(6,6,"edit-label.label")),p(4),ge(U(9,8,"common.save")))},directives:[_r,ei,Xr,gr,ki,Qr,Qi,Jr,zr,Hi,ci],pipes:[Mt],styles:[""]}),n}(),bU=["cancelButton"],kU=["confirmButton"];function MU(n,i){if(1&n&&(E(0,"div"),R(1),Y(2,"translate"),P()),2&n){var e=i.$implicit;p(1),ye(" - ",U(2,1,e)," ")}}function CU(n,i){if(1&n&&(E(0,"div",8),q(1,MU,3,3,"div",9),P()),2&n){var e=K();p(1),S("ngForOf",e.state!==e.confirmationStates.Done?e.data.list:e.doneList)}}function wU(n,i){if(1&n&&(E(0,"div",1),R(1),Y(2,"translate"),P()),2&n){var e=K();p(1),ye(" ",U(2,1,e.data.lowerText)," ")}}function SU(n,i){if(1&n){var e=tt();E(0,"app-button",10,11),Se("action",function(){return ke(e),K().closeModal()}),R(2),Y(3,"translate"),P()}if(2&n){var t=K();p(2),ye(" ",U(3,1,t.data.cancelButtonText)," ")}}var Rs=function(){return function(n){n.Asking="Asking",n.Processing="Processing",n.Done="Done"}(Rs||(Rs={})),Rs}(),DU=function(){var n=function(){function i(e,t){c(this,i),this.dialogRef=e,this.data=t,this.disableDismiss=!1,this.state=Rs.Asking,this.confirmationStates=Rs,this.operationAccepted=new pt,this.disableDismiss=!!t.disableDismiss,this.dialogRef.disableClose=this.disableDismiss}return d(i,[{key:"ngAfterViewInit",value:function(){var t=this;this.data.cancelButtonText?setTimeout(function(){return t.cancelButton.focus()}):setTimeout(function(){return t.confirmButton.focus()})}},{key:"ngOnDestroy",value:function(){this.operationAccepted.complete()}},{key:"closeModal",value:function(){this.dialogRef.close()}},{key:"sendOperationAcceptedEvent",value:function(){this.operationAccepted.emit()}},{key:"showAsking",value:function(t){t&&(this.data=t),this.state=Rs.Asking,this.confirmButton.reset(),this.disableDismiss=!1,this.dialogRef.disableClose=this.disableDismiss,this.cancelButton&&this.cancelButton.showEnabled()}},{key:"showProcessing",value:function(){this.state=Rs.Processing,this.disableDismiss=!0,this.confirmButton.showLoading(),this.cancelButton&&this.cancelButton.showDisabled()}},{key:"showDone",value:function(t,a){var o=this,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this.doneTitle=t||this.data.headerText,this.doneText=a,this.doneList=s,this.confirmButton.reset(),setTimeout(function(){return o.confirmButton.focus()}),this.state=Rs.Done,this.dialogRef.disableClose=!1,this.disableDismiss=!1}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Dr),B(Ur))},n.\u0275cmp=qe({type:n,selectors:[["app-confirmation"]],viewQuery:function(e,t){var a;1&e&&(gt(bU,5),gt(kU,5)),2&e&&(lt(a=ut())&&(t.cancelButton=a.first),lt(a=ut())&&(t.confirmButton=a.first))},outputs:{operationAccepted:"operationAccepted"},decls:13,vars:13,consts:[[3,"headline","disableDismiss"],[1,"text-container"],["class","list-container",4,"ngIf"],["class","text-container",4,"ngIf"],[1,"buttons"],["color","accent",3,"action",4,"ngIf"],["color","primary",3,"action"],["confirmButton",""],[1,"list-container"],[4,"ngFor","ngForOf"],["color","accent",3,"action"],["cancelButton",""]],template:function(e,t){1&e&&(E(0,"app-dialog",0),Y(1,"translate"),E(2,"div",1),R(3),Y(4,"translate"),P(),q(5,CU,2,1,"div",2),q(6,wU,3,3,"div",3),E(7,"div",4),q(8,SU,4,3,"app-button",5),E(9,"app-button",6,7),Se("action",function(){return t.state===t.confirmationStates.Asking?t.sendOperationAcceptedEvent():t.closeModal()}),R(11),Y(12,"translate"),P()()()),2&e&&(S("headline",U(1,7,t.state!==t.confirmationStates.Done?t.data.headerText:t.doneTitle))("disableDismiss",t.disableDismiss),p(3),ye(" ",U(4,9,t.state!==t.confirmationStates.Done?t.data.text:t.doneText)," "),p(2),S("ngIf",t.data.list&&t.state!==t.confirmationStates.Done||t.doneList&&t.state===t.confirmationStates.Done),p(1),S("ngIf",t.data.lowerText&&t.state!==t.confirmationStates.Done),p(2),S("ngIf",t.data.cancelButtonText&&t.state!==t.confirmationStates.Done),p(3),ye(" ",U(12,11,t.state!==t.confirmationStates.Done?t.data.confirmButtonText:"confirmation.close")," "))},directives:[_r,Et,Or,ci],pipes:[Mt],styles:[".text-container[_ngcontent-%COMP%]{word-break:break-word}.list-container[_ngcontent-%COMP%]{font-size:14px;margin:10px;color:#215f9e;word-break:break-word}.buttons[_ngcontent-%COMP%]{margin-top:15px;text-align:right}.buttons[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%]{margin-left:5px}"]}),n}(),$t=function(){function n(){c(this,n)}return d(n,null,[{key:"createConfirmationDialog",value:function(e,t){var a={text:t,headerText:"confirmation.header-text",confirmButtonText:"confirmation.confirm-button",cancelButtonText:"confirmation.cancel-button",disableDismiss:!0},o=new Zn;return o.data=a,o.autoFocus=!1,o.width=Kt.smallModalWidth,e.open(DU,o)}},{key:"checkIfTagIsUpdatable",value:function(e){return!(null==e||e.toUpperCase()==="Windows".toUpperCase()||e.toUpperCase()==="Win".toUpperCase()||e.toUpperCase()==="Mac".toUpperCase()||e.toUpperCase()==="Macos".toUpperCase()||e.toUpperCase()==="Mac OS".toUpperCase()||e.toUpperCase()==="Darwin".toUpperCase())}},{key:"checkIfTagCanOpenterminal",value:function(e){return!(null==e||e.toUpperCase()==="Windows".toUpperCase()||e.toUpperCase()==="Win".toUpperCase())}}]),n}();function TU(n,i){if(1&n&&(E(0,"mat-icon",6),R(1),P()),2&n){var e=K().$implicit;S("inline",!0),p(1),ge(e.icon)}}function LU(n,i){if(1&n){var e=tt();E(0,"div",2)(1,"button",3),Se("click",function(){var s=ke(e).index;return K().closePopup(s+1)}),E(2,"div",4),q(3,TU,2,2,"mat-icon",5),E(4,"span"),R(5),Y(6,"translate"),P()()()()}if(2&n){var t=i.$implicit;p(3),S("ngIf",t.icon),p(2),ge(U(6,2,t.label))}}var Bi=function(){var n=function(){function i(e,t){c(this,i),this.data=e,this.dialogRef=t}return d(i,[{key:"closePopup",value:function(t){this.dialogRef.close(t)}}],[{key:"openDialog",value:function(t,a,o){var s=new Zn;return s.data={options:a,title:o},s.autoFocus=!1,s.width=Kt.smallModalWidth,t.open(i,s)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Ur),B(Dr))},n.\u0275cmp=qe({type:n,selectors:[["app-select-option"]],decls:3,vars:5,consts:[[3,"headline","includeVerticalMargins"],["class","options-list-button-container",4,"ngFor","ngForOf"],[1,"options-list-button-container"],["mat-button","",1,"grey-button-background",3,"click"],[1,"internal-container"],["class","icon",3,"inline",4,"ngIf"],[1,"icon",3,"inline"]],template:function(e,t){1&e&&(E(0,"app-dialog",0),Y(1,"translate"),q(2,LU,7,4,"div",1),P()),2&e&&(S("headline",U(1,3,t.data.title))("includeVerticalMargins",!1),p(2),S("ngForOf",t.data.options))},directives:[_r,Or,yi,Et,Mn],pipes:[Mt],styles:[".icon[_ngcontent-%COMP%]{font-size:14px;width:14px}"]}),n}(),qn=function(){return function(n){n.TextInput="TextInput",n.Select="Select"}(qn||(qn={})),qn}(),Sf=function(){var n=function(){function i(e){c(this,i),this.dom=e}return d(i,[{key:"copy",value:function(t){var a=null,o=!1;try{(a=this.dom.createElement("textarea")).style.height="0px",a.style.left="-100px",a.style.opacity="0",a.style.position="fixed",a.style.top="-100px",a.style.width="0px",this.dom.body.appendChild(a),a.value=t,a.select(),this.dom.execCommand("copy"),o=!0}finally{a&&a.parentNode&&a.parentNode.removeChild(a)}return o}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(Ot))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}();function xU(n,i){if(1&n&&(ze(0),E(1,"span",2),R(2),P(),We()),2&n){var e=K();p(2),ge(e.shortText)}}function OU(n,i){if(1&n&&(ze(0),E(1,"span"),R(2),P(),We()),2&n){var e=K();p(2),ge(e.text)}}var IU=function(){return{"tooltip-word-break":!0}},cE=function(){var n=function(){function i(){c(this,i),this.short=!1,this.showTooltip=!0,this.shortTextLength=5}return d(i,[{key:"shortText",get:function(){if(this.text.length>2*this.shortTextLength){var t=this.text.length,a=this.text.slice(0,this.shortTextLength),o=this.text.slice(t-this.shortTextLength,t);return"".concat(a,"...").concat(o)}return this.text}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=qe({type:n,selectors:[["app-truncated-text"]],inputs:{short:"short",showTooltip:"showTooltip",text:"text",shortTextLength:"shortTextLength"},decls:3,vars:5,consts:[[1,"wrapper",3,"matTooltip","matTooltipClass"],[4,"ngIf"],[1,"nowrap"]],template:function(e,t){1&e&&(E(0,"div",0),q(1,xU,3,1,"ng-container",1),q(2,OU,3,1,"ng-container",1),P()),2&e&&(S("matTooltip",t.short&&t.showTooltip?t.text:"")("matTooltipClass",Nn(4,IU)),p(1),S("ngIf",t.short),p(1),S("ngIf",!t.short))},directives:[ur,Et],styles:['.cursor-pointer[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}.nowrap[_ngcontent-%COMP%]{white-space:nowrap}.wrapper[_ngcontent-%COMP%]{display:inline}']}),n}();function AU(n,i){if(1&n&&(E(0,"span"),R(1),Y(2,"translate"),P()),2&n){var e=K();p(1),ye(" ",U(2,1,e.labelComponents.prefix)," ")}}function FU(n,i){if(1&n&&(E(0,"span"),R(1),P()),2&n){var e=K();p(1),ye(" ",e.labelComponents.prefixSeparator," ")}}function RU(n,i){if(1&n&&(E(0,"span"),R(1),P()),2&n){var e=K();p(1),ye(" ",e.labelComponents.label," ")}}function NU(n,i){if(1&n&&(E(0,"span"),R(1),Y(2,"translate"),P()),2&n){var e=K();p(1),ye(" ",U(2,1,e.labelComponents.translatableLabel)," ")}}var YU=function(i){return{text:i}},HU=function(){return{"tooltip-word-break":!0}},BU=d(function n(){c(this,n),this.prefix="",this.prefixSeparator="",this.label="",this.translatableLabel=""}),ts=function(){var n=function(){function i(e,t,a,o){c(this,i),this.dialog=e,this.storageService=t,this.clipboardService=a,this.snackbarService=o,this.short=!1,this.shortTextLength=5,this.elementType=li.Node,this.labelEdited=new pt}return d(i,[{key:"id",get:function(){return this.idInternal?this.idInternal:""},set:function(t){this.idInternal=t,this.labelComponents=i.getLabelComponents(this.storageService,this.id)}},{key:"ngOnDestroy",value:function(){this.labelEdited.complete()}},{key:"processClick",value:function(){var t=this,a=[{icon:"filter_none",label:"labeled-element.copy"},{icon:"edit",label:"labeled-element.edit-label"}];this.labelComponents.labelInfo&&a.push({icon:"close",label:"labeled-element.remove-label"}),Bi.openDialog(this.dialog,a,"common.options").afterClosed().subscribe(function(o){if(1===o)t.clipboardService.copy(t.id)&&t.snackbarService.showDone("copy.copied");else if(3===o){var s=$t.createConfirmationDialog(t.dialog,"labeled-element.remove-label-confirmation");s.componentInstance.operationAccepted.subscribe(function(){s.componentInstance.closeModal(),t.storageService.saveLabel(t.id,null,t.elementType),t.snackbarService.showDone("edit-label.label-removed-warning"),t.labelEdited.emit()})}else if(2===o){var l=t.labelComponents.labelInfo;l||(l={id:t.id,label:"",identifiedElementType:t.elementType}),Wb.openDialog(t.dialog,l).afterClosed().subscribe(function(u){u&&t.labelEdited.emit()})}})}}],[{key:"getLabelComponents",value:function(t,a){var o;o=!!t.getSavedVisibleLocalNodes().has(a);var s=new BU;return s.labelInfo=t.getLabelInfo(a),s.labelInfo&&s.labelInfo.label?(o&&(s.prefix="labeled-element.local-element",s.prefixSeparator=" - "),s.label=s.labelInfo.label):t.getSavedVisibleLocalNodes().has(a)?s.prefix="labeled-element.unnamed-local-visor":s.translatableLabel="labeled-element.unnamed-element",s}},{key:"getCompleteLabel",value:function(t,a,o){var s=i.getLabelComponents(t,o);return(s.prefix?a.instant(s.prefix):"")+s.prefixSeparator+s.label+(s.translatableLabel?a.instant(s.translatableLabel):"")}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Gn),B($i),B(Sf),B(In))},n.\u0275cmp=qe({type:n,selectors:[["app-labeled-element-text"]],inputs:{id:"id",short:"short",shortTextLength:"shortTextLength",elementType:"elementType"},outputs:{labelEdited:"labelEdited"},decls:12,vars:17,consts:[[1,"wrapper","highlight-internal-icon",3,"matTooltip","matTooltipClass","click"],[1,"label"],[4,"ngIf"],[3,"short","showTooltip","shortTextLength","text"],[3,"inline"]],template:function(e,t){1&e&&(E(0,"div",0),Se("click",function(o){return o.stopPropagation(),t.processClick()}),Y(1,"translate"),E(2,"span",1),q(3,AU,3,3,"span",2),q(4,FU,2,1,"span",2),q(5,RU,2,1,"span",2),q(6,NU,3,3,"span",2),P(),Te(7,"br")(8,"app-truncated-text",3),R(9," \xa0"),E(10,"mat-icon",4),R(11,"settings"),P()()),2&e&&(S("matTooltip",xt(1,11,t.short?"labeled-element.tooltip-with-text":"labeled-element.tooltip",Qe(14,YU,t.id)))("matTooltipClass",Nn(16,HU)),p(3),S("ngIf",t.labelComponents&&t.labelComponents.prefix),p(1),S("ngIf",t.labelComponents&&t.labelComponents.prefixSeparator),p(1),S("ngIf",t.labelComponents&&t.labelComponents.label),p(1),S("ngIf",t.labelComponents&&t.labelComponents.translatableLabel),p(2),S("short",t.short)("showTooltip",!1)("shortTextLength",t.shortTextLength)("text",t.id),p(2),S("inline",!0))},directives:[ur,Et,cE,Mn],pipes:[Mt],styles:['.cursor-pointer[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}.wrapper[_ngcontent-%COMP%]{display:inline}.wrapper[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:.8rem;-webkit-user-select:none;user-select:none}.label[_ngcontent-%COMP%]{opacity:.7;font-size:.8rem}']}),n}(),xn=function(){function n(i,e,t,a){c(this,n),this.properties=i,this.label=e,this.sortingMode=t,this.labelProperties=a}return d(n,[{key:"id",get:function(){return this.properties.join("")}}]),n}(),Xt=function(){return function(n){n.Text="Text",n.Number="Number",n.NumberReversed="NumberReversed",n.Boolean="Boolean"}(Xt||(Xt={})),Xt}(),vc=function(){function n(i,e,t,a,o){c(this,n),this.dialog=i,this.translateService=e,this.sortReverse=!1,this.sortByLabel=!1,this.tieBreakerColumnIndex=null,this.columnStorageKeyPrefix="col_",this.orderStorageKeyPrefix="order_",this.labelStorageKeyPrefix="label_",this.dataUpdatedSubject=new Ae,this.sortableColumns=t,this.id=o,this.defaultColumnIndex=a,this.sortBy=t[a];var s=localStorage.getItem(this.columnStorageKeyPrefix+o);if(s){var l=t.find(function(u){return u.id===s});l&&(this.sortBy=l)}this.sortReverse="true"===localStorage.getItem(this.orderStorageKeyPrefix+o),this.sortByLabel="true"===localStorage.getItem(this.labelStorageKeyPrefix+o)}return d(n,[{key:"sortingArrow",get:function(){return this.sortReverse?"keyboard_arrow_up":"keyboard_arrow_down"}},{key:"currentSortingColumn",get:function(){return this.sortBy}},{key:"sortingInReverseOrder",get:function(){return this.sortReverse}},{key:"dataSorted",get:function(){return this.dataUpdatedSubject.asObservable()}},{key:"currentlySortingByLabel",get:function(){return this.sortByLabel}},{key:"dispose",value:function(){this.dataUpdatedSubject.complete()}},{key:"setTieBreakerColumnIndex",value:function(e){this.tieBreakerColumnIndex=e}},{key:"setData",value:function(e){this.data=e,this.sortData()}},{key:"changeSortingOrder",value:function(e){var t=this;if(this.sortBy===e||e.labelProperties)if(e.labelProperties){var a=[{label:this.translateService.instant("tables.sort-by-value")},{label:this.translateService.instant("tables.sort-by-value")+" "+this.translateService.instant("tables.inverted-order")},{label:this.translateService.instant("tables.sort-by-label")},{label:this.translateService.instant("tables.sort-by-label")+" "+this.translateService.instant("tables.inverted-order")}];Bi.openDialog(this.dialog,a,"tables.title").afterClosed().subscribe(function(o){o&&t.changeSortingParams(e,o>2,o%2==0)})}else this.sortReverse=!this.sortReverse,localStorage.setItem(this.orderStorageKeyPrefix+this.id,String(this.sortReverse)),this.sortData();else this.changeSortingParams(e,!1,!1)}},{key:"changeSortingParams",value:function(e,t,a){this.sortBy=e,this.sortByLabel=t,this.sortReverse=a,localStorage.setItem(this.columnStorageKeyPrefix+this.id,e.id),localStorage.setItem(this.orderStorageKeyPrefix+this.id,String(this.sortReverse)),localStorage.setItem(this.labelStorageKeyPrefix+this.id,String(this.sortByLabel)),this.sortData()}},{key:"openSortingOrderModal",value:function(){var e=this,t=[],a=[];this.sortableColumns.forEach(function(o){var s=e.translateService.instant(o.label);t.push({label:s}),a.push({sortBy:o,sortReverse:!1,sortByLabel:!1}),t.push({label:s+" "+e.translateService.instant("tables.inverted-order")}),a.push({sortBy:o,sortReverse:!0,sortByLabel:!1}),o.labelProperties&&(t.push({label:s+" "+e.translateService.instant("tables.label")}),a.push({sortBy:o,sortReverse:!1,sortByLabel:!0}),t.push({label:s+" "+e.translateService.instant("tables.label")+" "+e.translateService.instant("tables.inverted-order")}),a.push({sortBy:o,sortReverse:!0,sortByLabel:!0}))}),Bi.openDialog(this.dialog,t,"tables.title").afterClosed().subscribe(function(o){o&&e.changeSortingParams(a[o-1].sortBy,a[o-1].sortByLabel,a[o-1].sortReverse)})}},{key:"sortData",value:function(){var e=this;this.data&&(this.data.sort(function(t,a){var o=e.getSortResponse(e.sortBy,t,a,!0);return 0===o&&null!==e.tieBreakerColumnIndex&&e.sortableColumns[e.tieBreakerColumnIndex]!==e.sortBy&&(o=e.getSortResponse(e.sortableColumns[e.tieBreakerColumnIndex],t,a,!1)),0===o&&e.sortableColumns[e.defaultColumnIndex]!==e.sortBy&&(o=e.getSortResponse(e.sortableColumns[e.defaultColumnIndex],t,a,!1)),o}),this.dataUpdatedSubject.next())}},{key:"getSortResponse",value:function(e,t,a,o){var l=t,u=a;(this.sortByLabel&&o&&e.labelProperties?e.labelProperties:e.properties).forEach(function(C){l=l[C],u=u[C]});var f=this.sortByLabel&&o?Xt.Text:e.sortingMode,m=0;return f===Xt.Text?m=this.sortReverse?u.localeCompare(l):l.localeCompare(u):f===Xt.NumberReversed?m=this.sortReverse?l-u:u-l:f===Xt.Number?m=this.sortReverse?u-l:l-u:f===Xt.Boolean&&(l&&!u?m=-1:!l&&u&&(m=1),m*=this.sortReverse?-1:1),m}}]),n}(),VU=function(){function n(){var i=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0,a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];c(this,n),this._multiple=e,this._emitChanges=a,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new Ae,t&&t.length&&(e?t.forEach(function(o){return i._markSelected(o)}):this._markSelected(t[0]),this._selectedToEmit.length=0)}return d(n,[{key:"selected",get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}},{key:"select",value:function(){for(var e=this,t=arguments.length,a=new Array(t),o=0;o void",K4("@transformPanel",[q4()],{optional:!0}))]),transformPanel:Go("transformPanel",[Ri("void",kn({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),Ri("showing",kn({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Ri("showing-multiple",kn({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),_i("void => *",Fi("120ms cubic-bezier(0, 0, 0.2, 1)")),_i("* => void",Fi("100ms 25ms linear",kn({opacity:0})))])},fE=0,pE=new Ze("mat-select-scroll-strategy"),ez=new Ze("MAT_SELECT_CONFIG"),tz={provide:pE,deps:[Ia],useFactory:function XU(n){return function(){return n.scrollStrategies.reposition()}}},nz=d(function n(i,e){c(this,n),this.source=i,this.value=e}),rz=df(p2(sc(v2(function(){return d(function n(i,e,t,a,o){c(this,n),this._elementRef=i,this._defaultErrorStateMatcher=e,this._parentForm=t,this._parentFormGroup=a,this.ngControl=o})}())))),vE=new Ze("MatSelectTrigger"),iz=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=et({type:n,selectors:[["mat-select-trigger"]],features:[cn([{provide:vE,useExisting:n}])]}),n}(),az=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l,u,f,m,C,A,V,J,me,Ce,Le){var pe,Re,Ye,Ge;return c(this,t),(pe=e.call(this,u,l,m,C,V))._viewportRuler=a,pe._changeDetectorRef=o,pe._ngZone=s,pe._dir=f,pe._parentFormField=A,pe._liveAnnouncer=Ce,pe._defaultOptions=Le,pe._panelOpen=!1,pe._compareWith=function(rt,mt){return rt===mt},pe._uid="mat-select-".concat(fE++),pe._triggerAriaLabelledBy=null,pe._destroy=new Ae,pe._onChange=function(){},pe._onTouched=function(){},pe._valueId="mat-select-value-".concat(fE++),pe._panelDoneAnimatingStream=new Ae,pe._overlayPanelClass=(null===(Re=pe._defaultOptions)||void 0===Re?void 0:Re.overlayPanelClass)||"",pe._focused=!1,pe.controlType="mat-select",pe._multiple=!1,pe._disableOptionCentering=null!==(Ge=null===(Ye=pe._defaultOptions)||void 0===Ye?void 0:Ye.disableOptionCentering)&&void 0!==Ge&&Ge,pe.ariaLabel="",pe.optionSelectionChanges=Dp(function(){var rt=pe.options;return rt?rt.changes.pipe(ha(rt),fa(function(){return Ci.apply(void 0,ae(rt.map(function(mt){return mt.onSelectionChange})))})):pe._ngZone.onStable.pipe(nr(1),fa(function(){return pe.optionSelectionChanges}))}),pe.openedChange=new pt,pe._openedStream=pe.openedChange.pipe(Ir(function(rt){return rt}),$e(function(){})),pe._closedStream=pe.openedChange.pipe(Ir(function(rt){return!rt}),$e(function(){})),pe.selectionChange=new pt,pe.valueChange=new pt,pe.ngControl&&(pe.ngControl.valueAccessor=x(pe)),null!=(null==Le?void 0:Le.typeaheadDebounceInterval)&&(pe._typeaheadDebounceInterval=Le.typeaheadDebounceInterval),pe._scrollStrategyFactory=me,pe._scrollStrategy=pe._scrollStrategyFactory(),pe.tabIndex=parseInt(J)||0,pe.id=pe.id,pe}return d(t,[{key:"focused",get:function(){return this._focused||this._panelOpen}},{key:"placeholder",get:function(){return this._placeholder},set:function(o){this._placeholder=o,this.stateChanges.next()}},{key:"required",get:function(){var o,s,l,u;return null!==(u=null!==(o=this._required)&&void 0!==o?o:null===(l=null===(s=this.ngControl)||void 0===s?void 0:s.control)||void 0===l?void 0:l.hasValidator(Cn.required))&&void 0!==u&&u},set:function(o){this._required=$n(o),this.stateChanges.next()}},{key:"multiple",get:function(){return this._multiple},set:function(o){this._multiple=$n(o)}},{key:"disableOptionCentering",get:function(){return this._disableOptionCentering},set:function(o){this._disableOptionCentering=$n(o)}},{key:"compareWith",get:function(){return this._compareWith},set:function(o){this._compareWith=o,this._selectionModel&&this._initializeSelection()}},{key:"value",get:function(){return this._value},set:function(o){(o!==this._value||this._multiple&&Array.isArray(o))&&(this.options&&this._setSelectionByValue(o),this._value=o)}},{key:"typeaheadDebounceInterval",get:function(){return this._typeaheadDebounceInterval},set:function(o){this._typeaheadDebounceInterval=Oa(o)}},{key:"id",get:function(){return this._id},set:function(o){this._id=o||this._uid,this.stateChanges.next()}},{key:"ngOnInit",value:function(){var o=this;this._selectionModel=new VU(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(nb(),hn(this._destroy)).subscribe(function(){return o._panelDoneAnimating(o.panelOpen)})}},{key:"ngAfterContentInit",value:function(){var o=this;this._initKeyManager(),this._selectionModel.changed.pipe(hn(this._destroy)).subscribe(function(s){s.added.forEach(function(l){return l.select()}),s.removed.forEach(function(l){return l.deselect()})}),this.options.changes.pipe(ha(null),hn(this._destroy)).subscribe(function(){o._resetOptions(),o._initializeSelection()})}},{key:"ngDoCheck",value:function(){var o=this._getTriggerAriaLabelledby();if(o!==this._triggerAriaLabelledBy){var s=this._elementRef.nativeElement;this._triggerAriaLabelledBy=o,o?s.setAttribute("aria-labelledby",o):s.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}},{key:"ngOnChanges",value:function(o){o.disabled&&this.stateChanges.next(),o.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(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}},{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(o){this.value=o}},{key:"registerOnChange",value:function(o){this._onChange=o}},{key:"registerOnTouched",value:function(o){this._onTouched=o}},{key:"setDisabledState",value:function(o){this.disabled=o,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}},{key:"panelOpen",get:function(){return this._panelOpen}},{key:"selected",get:function(){var o,s;return this.multiple?(null===(o=this._selectionModel)||void 0===o?void 0:o.selected)||[]:null===(s=this._selectionModel)||void 0===s?void 0:s.selected[0]}},{key:"triggerValue",get:function(){if(this.empty)return"";if(this._multiple){var o=this._selectionModel.selected.map(function(s){return s.viewValue});return this._isRtl()&&o.reverse(),o.join(", ")}return this._selectionModel.selected[0].viewValue}},{key:"_isRtl",value:function(){return!!this._dir&&"rtl"===this._dir.value}},{key:"_handleKeydown",value:function(o){this.disabled||(this.panelOpen?this._handleOpenKeydown(o):this._handleClosedKeydown(o))}},{key:"_handleClosedKeydown",value:function(o){var s=o.keyCode,l=40===s||38===s||37===s||39===s,u=13===s||32===s,f=this._keyManager;if(!f.isTyping()&&u&&!Qo(o)||(this.multiple||o.altKey)&&l)o.preventDefault(),this.open();else if(!this.multiple){var m=this.selected;f.onKeydown(o);var C=this.selected;C&&m!==C&&this._liveAnnouncer.announce(C.viewValue,1e4)}}},{key:"_handleOpenKeydown",value:function(o){var s=this._keyManager,l=o.keyCode,u=40===l||38===l,f=s.isTyping();if(u&&o.altKey)o.preventDefault(),this.close();else if(f||13!==l&&32!==l||!s.activeItem||Qo(o))if(!f&&this._multiple&&65===l&&o.ctrlKey){o.preventDefault();var m=this.options.some(function(A){return!A.disabled&&!A.selected});this.options.forEach(function(A){A.disabled||(m?A.select():A.deselect())})}else{var C=s.activeItemIndex;s.onKeydown(o),this._multiple&&u&&o.shiftKey&&s.activeItem&&s.activeItemIndex!==C&&s.activeItem._selectViaInteraction()}else o.preventDefault(),s.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 o=this;this._overlayDir.positionChange.pipe(nr(1)).subscribe(function(){o._changeDetectorRef.detectChanges(),o._positioningSettled()})}},{key:"_getPanelTheme",value:function(){return this._parentFormField?"mat-".concat(this._parentFormField.color):""}},{key:"empty",get:function(){return!this._selectionModel||this._selectionModel.isEmpty()}},{key:"_initializeSelection",value:function(){var o=this;Promise.resolve().then(function(){o.ngControl&&(o._value=o.ngControl.value),o._setSelectionByValue(o._value),o.stateChanges.next()})}},{key:"_setSelectionByValue",value:function(o){var s=this;if(this._selectionModel.selected.forEach(function(u){return u.setInactiveStyles()}),this._selectionModel.clear(),this.multiple&&o)Array.isArray(o),o.forEach(function(u){return s._selectValue(u)}),this._sortValues();else{var l=this._selectValue(o);l?this._keyManager.updateActiveItem(l):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}},{key:"_selectValue",value:function(o){var s=this,l=this.options.find(function(u){if(s._selectionModel.isSelected(u))return!1;try{return null!=u.value&&s._compareWith(u.value,o)}catch(f){return!1}});return l&&this._selectionModel.select(l),l}},{key:"_initKeyManager",value:function(){var o=this;this._keyManager=new l8(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(hn(this._destroy)).subscribe(function(){o.panelOpen&&(!o.multiple&&o._keyManager.activeItem&&o._keyManager.activeItem._selectViaInteraction(),o.focus(),o.close())}),this._keyManager.change.pipe(hn(this._destroy)).subscribe(function(){o._panelOpen&&o.panel?o._scrollOptionIntoView(o._keyManager.activeItemIndex||0):!o._panelOpen&&!o.multiple&&o._keyManager.activeItem&&o._keyManager.activeItem._selectViaInteraction()})}},{key:"_resetOptions",value:function(){var o=this,s=Ci(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(hn(s)).subscribe(function(l){o._onSelect(l.source,l.isUserInput),l.isUserInput&&!o.multiple&&o._panelOpen&&(o.close(),o.focus())}),Ci.apply(void 0,ae(this.options.map(function(l){return l._stateChanges}))).pipe(hn(s)).subscribe(function(){o._changeDetectorRef.markForCheck(),o.stateChanges.next()})}},{key:"_onSelect",value:function(o,s){var l=this._selectionModel.isSelected(o);null!=o.value||this._multiple?(l!==o.selected&&(o.selected?this._selectionModel.select(o):this._selectionModel.deselect(o)),s&&this._keyManager.setActiveItem(o),this.multiple&&(this._sortValues(),s&&this.focus())):(o.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(o.value)),l!==this._selectionModel.isSelected(o)&&this._propagateChanges(),this.stateChanges.next()}},{key:"_sortValues",value:function(){var o=this;if(this.multiple){var s=this.options.toArray();this._selectionModel.sort(function(l,u){return o.sortComparator?o.sortComparator(l,u,s):s.indexOf(l)-s.indexOf(u)}),this.stateChanges.next()}}},{key:"_propagateChanges",value:function(o){var s;s=this.multiple?this.selected.map(function(l){return l.value}):this.selected?this.selected.value:o,this._value=s,this.valueChange.emit(s),this._onChange(s),this.selectionChange.emit(this._getChangeEvent(s)),this._changeDetectorRef.markForCheck()}},{key:"_highlightCorrectOption",value:function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}},{key:"_canOpen",value:function(){var o;return!this._panelOpen&&!this.disabled&&(null===(o=this.options)||void 0===o?void 0:o.length)>0}},{key:"focus",value:function(o){this._elementRef.nativeElement.focus(o)}},{key:"_getPanelAriaLabelledby",value:function(){var o;if(this.ariaLabel)return null;var s=null===(o=this._parentFormField)||void 0===o?void 0:o.getLabelId();return this.ariaLabelledby?(s?s+" ":"")+this.ariaLabelledby:s}},{key:"_getAriaActiveDescendant",value:function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}},{key:"_getTriggerAriaLabelledby",value:function(){var o;if(this.ariaLabel)return null;var s=null===(o=this._parentFormField)||void 0===o?void 0:o.getLabelId(),l=(s?s+" ":"")+this._valueId;return this.ariaLabelledby&&(l+=" "+this.ariaLabelledby),l}},{key:"_panelDoneAnimating",value:function(o){this.openedChange.emit(o)}},{key:"setDescribedByIds",value:function(o){this._ariaDescribedby=o.join(" ")}},{key:"onContainerClick",value:function(){this.focus(),this.open()}},{key:"shouldLabelFloat",get:function(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}]),t}(rz);return n.\u0275fac=function(e){return new(e||n)(B(Ml),B(Yn),B(bt),B(ov),B(yt),B(pa,8),B(Cf,8),B(gr,8),B(jb,8),B(Do,10),Yo("tabindex"),B(pE),B(sb),B(ez,8))},n.\u0275dir=et({type:n,viewQuery:function(e,t){var a;1&e&&(gt(jU,5),gt(UU,5),gt(KT,5)),2&e&&(lt(a=ut())&&(t.trigger=a.first),lt(a=ut())&&(t.panel=a.first),lt(a=ut())&&(t._overlayDir=a.first))},inputs:{panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[vt,Nr]}),n}(),Tf=function(){var n=function(i){h(t,i);var e=y(t);function t(){var a;return c(this,t),(a=e.apply(this,arguments))._scrollTop=0,a._triggerFontSize=0,a._transformOrigin="top",a._offsetY=0,a._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],a}return d(t,[{key:"_calculateOverlayScroll",value:function(o,s,l){var u=this._getItemHeight();return Math.min(Math.max(0,u*o-s+u/2),l)}},{key:"ngOnInit",value:function(){var o=this;T(O(t.prototype),"ngOnInit",this).call(this),this._viewportRuler.change().pipe(hn(this._destroy)).subscribe(function(){o.panelOpen&&(o._triggerRect=o.trigger.nativeElement.getBoundingClientRect(),o._changeDetectorRef.markForCheck())})}},{key:"open",value:function(){var o=this;T(O(t.prototype),"_canOpen",this).call(this)&&(T(O(t.prototype),"open",this).call(this),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe(nr(1)).subscribe(function(){o._triggerFontSize&&o._overlayDir.overlayRef&&o._overlayDir.overlayRef.overlayElement&&(o._overlayDir.overlayRef.overlayElement.style.fontSize="".concat(o._triggerFontSize,"px"))}))}},{key:"_scrollOptionIntoView",value:function(o){var s=M2(o,this.options,this.optionGroups),l=this._getItemHeight();this.panel.nativeElement.scrollTop=0===o&&1===s?0:function G8(n,i,e,t){return ne+t?Math.max(0,n-t+i):e}((o+s)*l,l,this.panel.nativeElement.scrollTop,256)}},{key:"_positioningSettled",value:function(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}},{key:"_panelDoneAnimating",value:function(o){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),T(O(t.prototype),"_panelDoneAnimating",this).call(this,o)}},{key:"_getChangeEvent",value:function(o){return new nz(this,o)}},{key:"_calculateOverlayOffsetX",value:function(){var f,o=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),s=this._viewportRuler.getViewportSize(),l=this._isRtl(),u=this.multiple?56:32;if(this.multiple)f=40;else if(this.disableOptionCentering)f=16;else{var m=this._selectionModel.selected[0]||this.options.first;f=m&&m.group?32:16}l||(f*=-1);var C=0-(o.left+f-(l?u:0)),A=o.right+f-s.width+(l?0:u);C>0?f+=C+8:A>0&&(f-=A+8),this._overlayDir.offsetX=Math.round(f),this._overlayDir.overlayRef.updatePosition()}},{key:"_calculateOverlayOffsetY",value:function(o,s,l){var C,u=this._getItemHeight(),f=(u-this._triggerRect.height)/2,m=Math.floor(256/u);return this.disableOptionCentering?0:(C=0===this._scrollTop?o*u:this._scrollTop===l?(o-(this._getItemCount()-m))*u+(u-(this._getItemCount()*u-256)%u):s-u/2,Math.round(-1*C-f))}},{key:"_checkOverlayWithinViewport",value:function(o){var s=this._getItemHeight(),l=this._viewportRuler.getViewportSize(),u=this._triggerRect.top-8,f=l.height-this._triggerRect.bottom-8,m=Math.abs(this._offsetY),A=Math.min(this._getItemCount()*s,256)-m-this._triggerRect.height;A>f?this._adjustPanelUp(A,f):m>u?this._adjustPanelDown(m,u,o):this._transformOrigin=this._getOriginBasedOnOption()}},{key:"_adjustPanelUp",value:function(o,s){var l=Math.round(o-s);this._scrollTop-=l,this._offsetY-=l,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}},{key:"_adjustPanelDown",value:function(o,s,l){var u=Math.round(o-s);if(this._scrollTop+=u,this._offsetY+=u,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=l)return this._scrollTop=l,this._offsetY=0,void(this._transformOrigin="50% top 0px")}},{key:"_calculateOverlayPosition",value:function(){var m,o=this._getItemHeight(),s=this._getItemCount(),l=Math.min(s*o,256),f=s*o-l;m=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),m+=M2(m,this.options,this.optionGroups);var C=l/2;this._scrollTop=this._calculateOverlayScroll(m,C,f),this._offsetY=this._calculateOverlayOffsetY(m,C,f),this._checkOverlayWithinViewport(f)}},{key:"_getOriginBasedOnOption",value:function(){var o=this._getItemHeight(),s=(o-this._triggerRect.height)/2,l=Math.abs(this._offsetY)-s+o/2;return"50% ".concat(l,"px 0px")}},{key:"_getItemHeight",value:function(){return 3*this._triggerFontSize}},{key:"_getItemCount",value:function(){return this.options.length+this.optionGroups.length}}]),t}(az);return n.\u0275fac=function(){var i;return function(t){return(i||(i=or(n)))(t||n)}}(),n.\u0275cmp=qe({type:n,selectors:[["mat-select"]],contentQueries:function(e,t,a){var o;1&e&&(vr(a,vE,5),vr(a,lc,5),vr(a,k2,5)),2&e&&(lt(o=ut())&&(t.customTrigger=o.first),lt(o=ut())&&(t.options=o),lt(o=ut())&&(t.optionGroups=o))},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(e,t){1&e&&Se("keydown",function(o){return t._handleKeydown(o)})("focus",function(){return t._onFocus()})("blur",function(){return t._onBlur()}),2&e&&(Wt("id",t.id)("tabindex",t.tabIndex)("aria-controls",t.panelOpen?t.id+"-panel":null)("aria-expanded",t.panelOpen)("aria-label",t.ariaLabel||null)("aria-required",t.required.toString())("aria-disabled",t.disabled.toString())("aria-invalid",t.errorState)("aria-describedby",t._ariaDescribedby||null)("aria-activedescendant",t._getAriaActiveDescendant()),fn("mat-select-disabled",t.disabled)("mat-select-invalid",t.errorState)("mat-select-required",t.required)("mat-select-empty",t.empty)("mat-select-multiple",t.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[cn([{provide:Tv,useExisting:n},{provide:b2,useExisting:n}]),vt],ngContentSelectors:ZU,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",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,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,t){if(1&e&&(Gi($U),E(0,"div",0,1),Se("click",function(){return t.toggle()}),E(3,"div",2),q(4,zU,2,1,"span",3),q(5,qU,3,2,"span",4),P(),E(6,"div",5),Te(7,"div",6),P()(),q(8,KU,4,14,"ng-template",7),Se("backdropClick",function(){return t.close()})("attach",function(){return t._onAttached()})("detach",function(){return t.close()})),2&e){var a=sr(1);Wt("aria-owns",t.panelOpen?t.id+"-panel":null),p(3),S("ngSwitch",t.empty),Wt("id",t._valueId),p(1),S("ngSwitchCase",!0),p(1),S("ngSwitchCase",!1),p(3),S("cdkConnectedOverlayPanelClass",t._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",t._scrollStrategy)("cdkConnectedOverlayOrigin",a)("cdkConnectedOverlayOpen",t.panelOpen)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayMinWidth",null==t._triggerRect?null:t._triggerRect.width)("cdkConnectedOverlayOffsetY",t._offsetY)}},directives:[qT,Wu,tp,qw,KT,mr],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;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-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.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;outline:0}.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}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;opacity:0}\n'],encapsulation:2,data:{animation:[dE.transformPanelWrap,dE.transformPanel]},changeDetection:0}),n}(),oz=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({providers:[tz],imports:[[Mo,cf,C2,Pn],af,Lv,C2,Pn]}),n}();function sz(n,i){if(1&n&&(Te(0,"input",7),Y(1,"translate")),2&n){var e=K().$implicit;S("formControlName",e.keyNameInFiltersObject)("maxlength",e.maxlength)("placeholder",U(1,3,e.filterName))}}function lz(n,i){if(1&n&&(E(0,"div",12),Te(1,"div",13),P()),2&n){var e=K().$implicit,t=K(2).$implicit;tr("background-image: url('"+t.printableLabelGeneralSettings.defaultImage+"'); width: "+t.printableLabelGeneralSettings.imageWidth+"px; height: "+t.printableLabelGeneralSettings.imageHeight+"px;"),p(1),tr("background-image: url('"+e.image+"');")}}function uz(n,i){if(1&n&&(E(0,"mat-option",10),q(1,lz,2,4,"div",11),R(2),Y(3,"translate"),P()),2&n){var e=i.$implicit,t=K(2).$implicit;S("value",e.value),p(1),S("ngIf",t.printableLabelGeneralSettings&&e.image),p(1),ye(" ",U(3,3,e.label)," ")}}function cz(n,i){if(1&n&&(E(0,"mat-select",8),Y(1,"translate"),q(2,uz,4,5,"mat-option",9),P()),2&n){var e=K().$implicit;S("formControlName",e.keyNameInFiltersObject)("placeholder",U(1,3,e.filterName)),p(2),S("ngForOf",e.printableLabelsForValues)}}function dz(n,i){if(1&n&&(ze(0),E(1,"mat-form-field"),q(2,sz,2,5,"input",5),q(3,cz,3,5,"mat-select",6),P(),We()),2&n){var e=i.$implicit,t=K();p(2),S("ngIf",e.type===t.filterFieldTypes.TextInput),p(1),S("ngIf",e.type===t.filterFieldTypes.Select)}}var fz=function(){var n=function(){function i(e,t,a){c(this,i),this.data=e,this.dialogRef=t,this.formBuilder=a,this.filterFieldTypes=qn}return d(i,[{key:"ngOnInit",value:function(){var t=this,a={};this.data.filterPropertiesList.forEach(function(o){a[o.keyNameInFiltersObject]=[t.data.currentFilters[o.keyNameInFiltersObject]]}),this.form=this.formBuilder.group(a)}},{key:"apply",value:function(){var t=this,a={};this.data.filterPropertiesList.forEach(function(o){a[o.keyNameInFiltersObject]=t.form.get(o.keyNameInFiltersObject).value.trim()}),this.dialogRef.close(a)}}],[{key:"openDialog",value:function(t,a){var o=new Zn;return o.data=a,o.autoFocus=!1,o.width=Kt.smallModalWidth,t.open(i,o)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Ur),B(Dr),B(Zi))},n.\u0275cmp=qe({type:n,selectors:[["app-filters-selection"]],decls:8,vars:8,consts:[[3,"headline"],[3,"formGroup"],[4,"ngFor","ngForOf"],["color","primary",1,"float-right",3,"action"],["button",""],["matInput","",3,"formControlName","maxlength","placeholder",4,"ngIf"],[3,"formControlName","placeholder",4,"ngIf"],["matInput","",3,"formControlName","maxlength","placeholder"],[3,"formControlName","placeholder"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["class","image-container",3,"style",4,"ngIf"],[1,"image-container"],[1,"image"]],template:function(e,t){1&e&&(E(0,"app-dialog",0),Y(1,"translate"),E(2,"form",1),q(3,dz,4,2,"ng-container",2),P(),E(4,"app-button",3,4),Se("action",function(){return t.apply()}),R(6),Y(7,"translate"),P()()),2&e&&(S("headline",U(1,4,"filters.filter-action")),p(2),S("formGroup",t.form),p(1),S("ngForOf",t.data.filterPropertiesList),p(3),ye(" ",U(7,6,"common.ok")," "))},directives:[_r,ei,Xr,gr,Or,ki,Et,Qi,Qr,Jr,zr,Hi,Tf,lc,ci],pipes:[Mt],styles:[".image-container[_ngcontent-%COMP%]{display:inline-block;background-size:contain;margin-right:5px}.image-container[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{background-size:contain;width:100%;height:100%}"]}),n}(),gc=function(){function n(i,e,t,a,o){var s=this;c(this,n),this.dialog=i,this.route=e,this.router=t,this.currentFiltersTextsInternal=[],this.dataUpdatedSubject=new Ae,this.filterPropertiesList=a,this.currentFilters={},this.filterPropertiesList.forEach(function(l){l.keyNameInFiltersObject=o+"_"+l.keyNameInElementsArray,s.currentFilters[l.keyNameInFiltersObject]=""}),this.navigationsSubscription=this.route.queryParamMap.subscribe(function(l){Object.keys(s.currentFilters).forEach(function(u){l.has(u)&&(s.currentFilters[u]=l.get(u))}),s.currentUrlQueryParamsInternal={},l.keys.forEach(function(u){s.currentUrlQueryParamsInternal[u]=l.get(u)}),s.filter()})}return d(n,[{key:"currentFiltersTexts",get:function(){return this.currentFiltersTextsInternal}},{key:"currentUrlQueryParams",get:function(){return this.currentUrlQueryParamsInternal}},{key:"dataFiltered",get:function(){return this.dataUpdatedSubject.asObservable()}},{key:"dispose",value:function(){this.dataUpdatedSubject.complete(),this.navigationsSubscription.unsubscribe()}},{key:"setData",value:function(e){this.data=e,this.filter()}},{key:"removeFilters",value:function(){var e=this,t=$t.createConfirmationDialog(this.dialog,"filters.remove-confirmation");t.componentInstance.operationAccepted.subscribe(function(){t.componentInstance.closeModal(),e.router.navigate([],{queryParams:{}})})}},{key:"changeFilters",value:function(){var e=this;fz.openDialog(this.dialog,{filterPropertiesList:this.filterPropertiesList,currentFilters:this.currentFilters}).afterClosed().subscribe(function(a){a&&e.router.navigate([],{queryParams:a})})}},{key:"filter",value:function(){var e=this;if(this.data){var t,a=!1;Object.keys(this.currentFilters).forEach(function(o){e.currentFilters[o]&&(a=!0)}),a?(t=function EU(n,i,e){if(n){var t=[];return Object.keys(i).forEach(function(o){if(i[o]){var l,s=W(e);try{for(s.s();!(l=s.n()).done;){var u=l.value;if(u.keyNameInFiltersObject===o){t.push(u);break}}}catch(f){s.e(f)}finally{s.f()}}}),n.filter(function(o){var s=!0;return t.forEach(function(l){var u=String(o[l.keyNameInElementsArray]).toLowerCase().includes(i[l.keyNameInFiltersObject].toLowerCase()),f=l.secondaryKeyNameInElementsArray&&String(o[l.secondaryKeyNameInElementsArray]).toLowerCase().includes(i[l.keyNameInFiltersObject].toLowerCase());!u&&!f&&(s=!1)}),s})}return null}(this.data,this.currentFilters,this.filterPropertiesList),this.updateCurrentFilters()):(t=this.data,this.updateCurrentFilters()),this.dataUpdatedSubject.next(t)}}},{key:"updateCurrentFilters",value:function(){this.currentFiltersTextsInternal=function PU(n,i){var e=[];return i.forEach(function(t){var a,o;n[t.keyNameInFiltersObject]&&(t.printableLabelsForValues&&t.printableLabelsForValues.forEach(function(s){s.value===n[t.keyNameInFiltersObject]&&(o=s.label)}),o||(a=n[t.keyNameInFiltersObject]),e.push({filterName:t.filterName,translatableValue:o,value:a}))}),e}(this.currentFilters,this.filterPropertiesList)}}]),n}();function mE(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nc;return(!qy(n)||n<0)&&(n=0),(!i||"function"!=typeof i.schedule)&&(i=nc),new fe(function(e){return e.add(i.schedule(hz,n,{subscriber:e,counter:0,period:n})),e})}function hz(n){var i=n.subscriber,e=n.counter,t=n.period;i.next(e),this.schedule({subscriber:i,counter:e+1,period:t},t)}var pz=["primaryValueBar"],vz=Sl(function(){return d(function n(i){c(this,n),this._elementRef=i})}(),"primary"),mz=new Ze("mat-progress-bar-location",{providedIn:"root",factory:function gz(){var n=ld(Ot),i=n?n.location:null;return{getPathname:function(){return i?i.pathname+i.search:""}}}}),_z=new Ze("MAT_PROGRESS_BAR_DEFAULT_OPTIONS"),yz=0,bz=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l,u,f){var m;c(this,t),(m=e.call(this,a))._ngZone=o,m._animationMode=s,m._changeDetectorRef=f,m._isNoopAnimation=!1,m._value=0,m._bufferValue=0,m.animationEnd=new pt,m._animationEndSubscription=Ne.EMPTY,m.mode="determinate",m.progressbarId="mat-progress-bar-".concat(yz++);var C=l?l.getPathname().split("#")[0]:"";return m._rectangleFillValue="url('".concat(C,"#").concat(m.progressbarId,"')"),m._isNoopAnimation="NoopAnimations"===s,u&&(u.color&&(m.color=m.defaultColor=u.color),m.mode=u.mode||m.mode),m}return d(t,[{key:"value",get:function(){return this._value},set:function(o){var s;this._value=gE(Oa(o)||0),null===(s=this._changeDetectorRef)||void 0===s||s.markForCheck()}},{key:"bufferValue",get:function(){return this._bufferValue},set:function(o){var s;this._bufferValue=gE(o||0),null===(s=this._changeDetectorRef)||void 0===s||s.markForCheck()}},{key:"_primaryTransform",value:function(){return{transform:"scale3d(".concat(this.value/100,", 1, 1)")}}},{key:"_bufferTransform",value:function(){return"buffer"===this.mode?{transform:"scale3d(".concat(this.bufferValue/100,", 1, 1)")}:null}},{key:"ngAfterViewInit",value:function(){var o=this;this._ngZone.runOutsideAngular(function(){var s=o._primaryValueBar.nativeElement;o._animationEndSubscription=_l(s,"transitionend").pipe(Ir(function(l){return l.target===s})).subscribe(function(){("determinate"===o.mode||"buffer"===o.mode)&&o._ngZone.run(function(){return o.animationEnd.next({value:o.value})})})})}},{key:"ngOnDestroy",value:function(){this._animationEndSubscription.unsubscribe()}}]),t}(vz);return n.\u0275fac=function(e){return new(e||n)(B(yt),B(bt),B(ai,8),B(mz,8),B(_z,8),B(Yn))},n.\u0275cmp=qe({type:n,selectors:[["mat-progress-bar"]],viewQuery:function(e,t){var a;1&e&>(pz,5),2&e&<(a=ut())&&(t._primaryValueBar=a.first)},hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-progress-bar"],hostVars:4,hostBindings:function(e,t){2&e&&(Wt("aria-valuenow","indeterminate"===t.mode||"query"===t.mode?null:t.value)("mode",t.mode),fn("_mat-animation-noopable",t._isNoopAnimation))},inputs:{color:"color",value:"value",bufferValue:"bufferValue",mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[vt],decls:10,vars:4,consts:[["aria-hidden","true"],["width","100%","height","4","focusable","false",1,"mat-progress-bar-background","mat-progress-bar-element"],["x","4","y","0","width","8","height","4","patternUnits","userSpaceOnUse",3,"id"],["cx","2","cy","2","r","2"],["width","100%","height","100%"],[1,"mat-progress-bar-buffer","mat-progress-bar-element",3,"ngStyle"],[1,"mat-progress-bar-primary","mat-progress-bar-fill","mat-progress-bar-element",3,"ngStyle"],["primaryValueBar",""],[1,"mat-progress-bar-secondary","mat-progress-bar-fill","mat-progress-bar-element"]],template:function(e,t){1&e&&(E(0,"div",0),No(),E(1,"svg",1)(2,"defs")(3,"pattern",2),Te(4,"circle",3),P()(),Te(5,"rect",4),P(),Qc(),Te(6,"div",5)(7,"div",6,7)(9,"div",8),P()),2&e&&(p(3),S("id",t.progressbarId),p(2),Wt("fill",t._rectangleFillValue),p(1),S("ngStyle",t._bufferTransform()),p(1),S("ngStyle",t._primaryTransform()))},directives:[$w],styles:['.mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}._mat-animation-noopable.mat-progress-bar{transition:none;animation:none}.mat-progress-bar .mat-progress-bar-element,.mat-progress-bar .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}.mat-progress-bar .mat-progress-bar-background{width:calc(100% + 10px)}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-background{display:none}.mat-progress-bar .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-buffer{border-top:solid 5px;opacity:.5}.mat-progress-bar .mat-progress-bar-secondary{display:none}.mat-progress-bar .mat-progress-bar-fill{animation:none;transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-fill{border-top:solid 4px}.mat-progress-bar .mat-progress-bar-fill::after{animation:none;content:"";display:inline-block;left:0}.mat-progress-bar[dir=rtl],[dir=rtl] .mat-progress-bar{transform:rotateY(180deg)}.mat-progress-bar[mode=query]{transform:rotateZ(180deg)}.mat-progress-bar[mode=query][dir=rtl],[dir=rtl] .mat-progress-bar[mode=query]{transform:rotateZ(180deg) rotateY(180deg)}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-fill,.mat-progress-bar[mode=query] .mat-progress-bar-fill{transition:none}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary,.mat-progress-bar[mode=query] .mat-progress-bar-primary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-translate 2000ms infinite linear;left:-145.166611%}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary,.mat-progress-bar[mode=query] .mat-progress-bar-secondary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-translate 2000ms infinite linear;left:-54.888891%;display:block}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=buffer] .mat-progress-bar-background{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-buffer,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-background{animation:none;transition-duration:1ms}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-8px)}}\n'],encapsulation:2,changeDetection:0}),n}();function gE(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100;return Math.max(i,Math.min(e,n))}var kz=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({imports:[[Mo,Pn],Pn]}),n}();function Mz(n,i){1&n&&(ze(0),Te(1,"mat-spinner",7),R(2),Y(3,"translate"),We()),2&n&&(p(1),S("diameter",12),p(1),ye(" ",U(3,2,"update.processing")," "))}function Cz(n,i){if(1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n){var e=K();p(1),ye(" ",U(2,1,e.errorText)," ")}}function wz(n,i){if(1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n){var e=K();p(1),ye(" ",U(2,1,1===e.data.length?"update.no-update":"update.no-updates")," ")}}function Sz(n,i){if(1&n&&(E(0,"div",8)(1,"div",9)(2,"div",10),R(3,"-"),P(),E(4,"div",11),R(5),Y(6,"translate"),P()()()),2&n){var e=K();p(5),ge(e.currentNodeVersion?e.currentNodeVersion:U(6,1,"common.unknown"))}}function Dz(n,i){if(1&n&&(E(0,"div",9)(1,"div",10),R(2,"-"),P(),E(3,"div",11),R(4),P()()),2&n){var e=i.$implicit,t=K(2);p(4),ge(t.nodesToUpdate[e].label)}}function Tz(n,i){if(1&n&&(ze(0),E(1,"div",1),R(2),Y(3,"translate"),P(),E(4,"div",8),q(5,Dz,5,1,"div",12),P(),We()),2&n){var e=K();p(2),ye(" ",U(3,2,"update.already-updating")," "),p(3),S("ngForOf",e.indexesAlreadyBeingUpdated)}}function Lz(n,i){if(1&n&&(E(0,"span",15),R(1),Y(2,"translate"),P()),2&n){var e=K(3);p(1),xi("",U(2,2,"update.selected-channel")," ",e.customChannel,"")}}function Ez(n,i){if(1&n&&(E(0,"div",9)(1,"div",10),R(2,"-"),P(),E(3,"div",11),R(4),Y(5,"translate"),E(6,"a",13),R(7),P(),q(8,Lz,3,4,"span",14),P()()),2&n){var e=i.$implicit,t=K(2);p(4),ye(" ",xt(5,4,"update.version-change",e)," "),p(2),S("href",e.updateLink,vo),p(1),ge(e.updateLink),p(1),S("ngIf",t.customChannel)}}var Pz=function(i){return{number:i}};function xz(n,i){if(1&n&&(ze(0),E(1,"div",1),R(2),Y(3,"translate"),P(),E(4,"div",8),q(5,Ez,9,7,"div",12),P(),E(6,"div",1),R(7),Y(8,"translate"),P(),We()),2&n){var e=K();p(2),ye(" ",xt(3,3,e.updateAvailableText,Qe(8,Pz,e.nodesForUpdatesFound))," "),p(3),S("ngForOf",e.updatesFound),p(2),ye(" ",U(8,6,"update.update-instructions")," ")}}function Oz(n,i){if(1&n&&(E(0,"div",9)(1,"div",10),R(2,"-"),P(),E(3,"div",11),R(4),E(5,"span",17),R(6),Y(7,"translate"),P()()()),2&n){var e=i.$implicit;p(4),ye(" ",e.nodeLabel,": "),p(2),ge(U(7,2,e.errorMsg))}}function Iz(n,i){if(1&n&&(ze(0),Te(1,"div",16),E(2,"div",1),R(3),Y(4,"translate"),P(),E(5,"div",8),q(6,Oz,8,4,"div",12),P(),We()),2&n){var e=K();p(3),ye(" ",U(4,2,"update.with-error")," "),p(3),S("ngForOf",e.nodesWithError)}}function Az(n,i){1&n&&Te(0,"mat-spinner",7),2&n&&S("diameter",12)}function Fz(n,i){1&n&&(E(0,"span",23),R(1),Y(2,"translate"),P()),2&n&&(p(1),ye("\xa0(",U(2,1,"update.finished"),")"))}function Rz(n,i){if(1&n&&(E(0,"div",8)(1,"div",9)(2,"div",10),R(3,"-"),P(),E(4,"div",11),q(5,Az,1,1,"mat-spinner",20),R(6),E(7,"span",21),R(8),P(),q(9,Fz,3,3,"span",22),P()()()),2&n){var e=K(2).$implicit;p(5),S("ngIf",!e.updateProgressInfo.closed),p(1),ye(" ",e.label," : "),p(2),ge(e.updateProgressInfo.rawMsg),p(1),S("ngIf",e.updateProgressInfo.closed)}}function Nz(n,i){1&n&&Te(0,"mat-spinner",7),2&n&&S("diameter",12)}function Yz(n,i){1&n&&(ze(0),Te(1,"br"),E(2,"span",23),R(3),Y(4,"translate"),P(),We()),2&n&&(p(3),ge(U(4,1,"update.finished")))}function Hz(n,i){if(1&n&&(E(0,"div",24)(1,"div",25),q(2,Nz,1,1,"mat-spinner",20),R(3),P(),Te(4,"mat-progress-bar",26),E(5,"div",21),R(6),Y(7,"translate"),Te(8,"br"),R(9),Y(10,"translate"),Te(11,"br"),R(12),Y(13,"translate"),Y(14,"translate"),q(15,Yz,5,3,"ng-container",2),P()()),2&n){var e=K(2).$implicit;p(2),S("ngIf",!e.updateProgressInfo.closed),p(1),ye(" ",e.label," "),p(1),S("mode","determinate")("value",e.updateProgressInfo.progress),p(2),Qg(" ",U(7,14,"update.downloaded-file-name-prefix")," ",e.updateProgressInfo.fileName," (",e.updateProgressInfo.progress,"%) "),p(3),xi(" ",U(10,16,"update.speed-prefix")," ",e.updateProgressInfo.speed," "),p(3),Jg(" ",U(13,18,"update.time-downloading-prefix")," ",e.updateProgressInfo.elapsedTime," / ",U(14,20,"update.time-left-prefix")," ",e.updateProgressInfo.remainingTime," "),p(3),S("ngIf",e.updateProgressInfo.closed)}}function Bz(n,i){if(1&n&&(E(0,"div",8)(1,"div",9)(2,"div",10),R(3,"-"),P(),E(4,"div",11),R(5),E(6,"span",17),R(7),Y(8,"translate"),P()()()()),2&n){var e=K(2).$implicit;p(5),ye(" ",e.label,": "),p(2),ge(U(8,2,e.updateProgressInfo.errorMsg))}}function Vz(n,i){if(1&n&&(ze(0),q(1,Rz,10,4,"div",3),q(2,Hz,16,22,"div",19),q(3,Bz,9,4,"div",3),We()),2&n){var e=K().$implicit;p(1),S("ngIf",!e.updateProgressInfo.errorMsg&&!e.updateProgressInfo.dataParsed),p(1),S("ngIf",!e.updateProgressInfo.errorMsg&&e.updateProgressInfo.dataParsed),p(1),S("ngIf",e.updateProgressInfo.errorMsg)}}function jz(n,i){if(1&n&&(ze(0),q(1,Vz,4,3,"ng-container",2),We()),2&n){var e=i.$implicit;p(1),S("ngIf",e.update)}}function Uz(n,i){if(1&n&&(ze(0),E(1,"div",1),R(2),Y(3,"translate"),P(),E(4,"div"),q(5,jz,2,1,"ng-container",18),P(),We()),2&n){var e=K();p(2),ye(" ",U(3,2,"update.updating")," "),p(3),S("ngForOf",e.nodesToUpdate)}}function zz(n,i){if(1&n){var e=tt();E(0,"app-button",27,28),Se("action",function(){return ke(e),K().closeModal()}),R(2),Y(3,"translate"),P()}if(2&n){var t=K();p(2),ye(" ",U(3,1,t.cancelButtonText)," ")}}function Wz(n,i){if(1&n){var e=tt();E(0,"app-button",29,30),Se("action",function(){ke(e);var o=K();return o.state===o.updatingStates.Asking?o.update():o.closeModal()}),R(2),Y(3,"translate"),P()}if(2&n){var t=K();p(2),ye(" ",U(3,1,t.confirmButtonText)," ")}}var Ji=function(){return function(n){n.InitialProcessing="InitialProcessing",n.NoUpdatesFound="NoUpdatesFound",n.Asking="Asking",n.Updating="Updating",n.Error="Error"}(Ji||(Ji={})),Ji}(),Gz=d(function n(){c(this,n),this.errorMsg="",this.rawMsg="",this.dataParsed=!1,this.fileName="",this.progress=100,this.speed="",this.elapsedTime="",this.remainingTime="",this.closed=!1}),_E=function(){var n=function(){function i(e,t,a,o,s){c(this,i),this.dialogRef=e,this.data=t,this.nodeService=a,this.translateService=o,this.changeDetectorRef=s,this.state=Ji.InitialProcessing,this.cancelButtonText="common.cancel",this.nodesWithError=[],this.indexesAlreadyBeingUpdated=[],this.customChannel=localStorage.getItem(Qn.Channel),this.updatingStates=Ji}return d(i,[{key:"ngAfterViewInit",value:function(){this.startChecking()}},{key:"startChecking",value:function(){var t=this;this.nodesToUpdate=[],this.data.forEach(function(o){t.nodesToUpdate.push({key:o.key,label:o.label,update:!1,hadErrorDuringInitialCheck:!1,updateProgressInfo:new Gz}),t.nodesToUpdate[t.nodesToUpdate.length-1].updateProgressInfo.rawMsg=t.translateService.instant("update.starting")});var a=0;this.initialCheckSubscriptions=[],this.nodesToUpdate.forEach(function(o,s){t.initialCheckSubscriptions.push(t.nodeService.checkIfUpdating(o.key).subscribe(function(l){l.running&&(t.indexesAlreadyBeingUpdated.push(s),t.nodesToUpdate[s].update=!0),(a+=1)===t.nodesToUpdate.length&&t.finishInitialCheck()},function(l){t.nodesWithError.push({nodeLabel:o.label,errorMsg:on(l).translatableErrorMsg}),o.hadErrorDuringInitialCheck=!0,(a+=1)===t.nodesToUpdate.length&&t.finishInitialCheck()}))})}},{key:"finishInitialCheck",value:function(){if(this.nodesWithError.length===this.nodesToUpdate.length)return this.changeState(Ji.Error),void(this.errorText=this.nodesWithError[0].errorMsg);this.indexesAlreadyBeingUpdated.length===this.data.length-this.nodesWithError.length?this.update():this.checkUpdates()}},{key:"checkUpdates",value:function(){var t=this;this.nodesForUpdatesFound=0,this.updatesFound=[];var a=[];this.nodesToUpdate.forEach(function(o){!o.update&&!o.hadErrorDuringInitialCheck&&a.push(o)}),this.subscription=hb(a.map(function(o){return t.nodeService.checkUpdate(o.key)})).subscribe(function(o){var s=new Map;o.forEach(function(l,u){l&&l.available&&(t.nodesForUpdatesFound+=1,a[u].update=!0,s.has(l.current_version+l.available_version)||(t.updatesFound.push({currentVersion:l.current_version?l.current_version:t.translateService.instant("common.unknown"),newVersion:l.available_version,updateLink:l.release_url}),s.set(l.current_version+l.available_version,!0)))}),t.nodesForUpdatesFound>0?t.changeState(Ji.Asking):0===t.indexesAlreadyBeingUpdated.length?(t.changeState(Ji.NoUpdatesFound),1===t.data.length&&(t.currentNodeVersion=o[0].current_version)):t.update()},function(o){t.changeState(Ji.Error),t.errorText=on(o).translatableErrorMsg})}},{key:"update",value:function(){var t=this;this.changeState(Ji.Updating),this.progressSubscriptions=[],this.nodesToUpdate.forEach(function(a,o){a.update&&t.progressSubscriptions.push(t.nodeService.update(a.key).subscribe(function(s){t.updateProgressInfo(s.status,a.updateProgressInfo)},function(s){a.updateProgressInfo.errorMsg=on(s).translatableErrorMsg},function(){a.updateProgressInfo.closed=!0}))})}},{key:"updateAvailableText",get:function(){if(1===this.data.length)return"update.update-available";var t="update.update-available";return this.indexesAlreadyBeingUpdated.length>0&&(t+="-additional"),t+(1===this.nodesForUpdatesFound?"-singular":"-plural")}},{key:"updateProgressInfo",value:function(t,a){a.rawMsg=t,a.dataParsed=!1;var o=t.indexOf("Downloading"),s=t.lastIndexOf("("),l=t.lastIndexOf(")"),u=t.lastIndexOf("["),f=t.lastIndexOf("]"),m=t.lastIndexOf(":"),C=t.lastIndexOf("%");if(-1!==o&&-1!==s&&-1!==l&&-1!==u&&-1!==f&&-1!==m){var A=!1;s>l&&(A=!0),u>m&&(A=!0),m>f&&(A=!0),(C>s||C0),p(1),S("ngIf",t.state===t.updatingStates.Asking),p(1),S("ngIf",(t.state===t.updatingStates.Asking||t.state===t.updatingStates.NoUpdatesFound)&&t.nodesWithError.length>0),p(1),S("ngIf",t.state===t.updatingStates.Updating),p(2),S("ngIf",t.cancelButtonText),p(1),S("ngIf",t.confirmButtonText))},directives:[_r,Et,Aa,Or,bz,ci],pipes:[Mt],styles:[".text-container[_ngcontent-%COMP%]{word-break:break-word}.list-container[_ngcontent-%COMP%]{font-size:14px;margin:10px;color:#215f9e;word-break:break-word}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%]{display:flex}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .left-part[_ngcontent-%COMP%]{width:12px;flex-grow:0;flex-shrink:0}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .right-part[_ngcontent-%COMP%]{flex-grow:1}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .right-part[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;color:#215f9e;font-size:.7rem;line-height:1;display:block}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .right-part[_ngcontent-%COMP%] .channel[_ngcontent-%COMP%]{font-size:.7rem;line-height:1}.list-container[_ngcontent-%COMP%] .details[_ngcontent-%COMP%]{color:#777}.buttons[_ngcontent-%COMP%]{margin-top:15px;text-align:right}.buttons[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%]{margin-left:5px}.progress-container[_ngcontent-%COMP%]{margin:10px 0}.progress-container[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{font-size:.7rem;color:#215f9e}.progress-container[_ngcontent-%COMP%] .mat-progress-bar-fill:after{background-color:#215f9e!important}.progress-container[_ngcontent-%COMP%] .details[_ngcontent-%COMP%]{font-size:.7rem;text-align:right;color:#777}.closed-indication[_ngcontent-%COMP%]{color:#d48b05}.loading-indicator[_ngcontent-%COMP%]{display:inline-block;position:relative;top:2px}"]}),n}();function Lf(n){return function(i){return i.lift(new qz(n,i))}}var qz=function(){function n(i,e){c(this,n),this.notifier=i,this.source=e}return d(n,[{key:"call",value:function(e,t){return t.subscribe(new Kz(e,this.notifier,this.source))}}]),n}(),Kz=function(n){h(e,n);var i=y(e);function e(t,a,o){var s;return c(this,e),(s=i.call(this,t)).notifier=a,s.source=o,s}return d(e,[{key:"error",value:function(a){if(!this.isStopped){var o=this.errors,s=this.retries,l=this.retriesSubscription;if(s)this.errors=null,this.retriesSubscription=null;else{o=new Ae;try{s=(0,this.notifier)(o)}catch(f){return T(O(e.prototype),"error",this).call(this,f)}l=Fn(this,s)}this._unsubscribeAndRecycle(),this.errors=o,this.retries=s,this.retriesSubscription=l,o.next(a)}}},{key:"_unsubscribe",value:function(){var a=this.errors,o=this.retriesSubscription;a&&(a.unsubscribe(),this.errors=null),o&&(o.unsubscribe(),this.retriesSubscription=null),this.retries=null}},{key:"notifyNext",value:function(a,o,s,l,u){var f=this._unsubscribe;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=f,this.source.subscribe(this)}}]),e}(gn),_c=function(){var n=function(){function i(e){c(this,i),this.apiService=e}return d(i,[{key:"changeAppState",value:function(t,a,o){return this.apiService.put("visors/".concat(t,"/apps/").concat(encodeURIComponent(a)),{status:o?1:0})}},{key:"changeAppAutostart",value:function(t,a,o){return this.changeAppSettings(t,a,{autostart:o})}},{key:"changeAppSettings",value:function(t,a,o){return this.apiService.put("visors/".concat(t,"/apps/").concat(encodeURIComponent(a)),o)}},{key:"getLogMessages",value:function(t,a,o){var l=Nw(-1!==o?Date.now()-864e5*o:0,"yyyy-MM-ddTHH:mm:ssZZZZZ","en-US");return this.apiService.get("visors/".concat(t,"/apps/").concat(encodeURIComponent(a),"/logs?since=").concat(l)).pipe($e(function(u){return u.logs}))}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(El))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),Hn=function(){return function(n){n.None="None",n.Favorite="Favorite",n.Blocked="Blocked"}(Hn||(Hn={})),Hn}(),Xi=function(){return function(n){n.BitsSpeedAndBytesVolume="BitsSpeedAndBytesVolume",n.OnlyBytes="OnlyBytes",n.OnlyBits="OnlyBits"}(Xi||(Xi={})),Xi}(),Al=function(){var n=function(){function i(e){c(this,i),this.router=e,this.maxHistoryElements=30,this.savedServersStorageKey="VpnServers",this.checkIpSettingStorageKey="VpnGetIp",this.dataUnitsSettingStorageKey="VpnDataUnits",this.serversMap=new Map,this.savedDataVersion=0,this.currentServerSubject=new Za(1),this.historySubject=new Za(1),this.favoritesSubject=new Za(1),this.blockedSubject=new Za(1)}return d(i,[{key:"initialize",value:function(){var t=this;this.serversMap=new Map;var a=localStorage.getItem(this.savedServersStorageKey);if(a){var o=JSON.parse(a);o.serverList.forEach(function(s){t.serversMap.set(s.pk,s)}),this.savedDataVersion=o.version,o.selectedServerPk&&this.updateCurrentServerPk(o.selectedServerPk)}this.launchListEvents()}},{key:"currentServer",get:function(){return this.serversMap.get(this.currentServerPk)}},{key:"currentServerObservable",get:function(){return this.currentServerSubject.asObservable()}},{key:"history",get:function(){return this.historySubject.asObservable()}},{key:"favorites",get:function(){return this.favoritesSubject.asObservable()}},{key:"blocked",get:function(){return this.blockedSubject.asObservable()}},{key:"getSavedVersion",value:function(t,a){return a&&this.checkIfDataWasChanged(),this.serversMap.get(t)}},{key:"getCheckIpSetting",value:function(){var t=localStorage.getItem(this.checkIpSettingStorageKey);return null==t||"false"!==t}},{key:"setCheckIpSetting",value:function(t){localStorage.setItem(this.checkIpSettingStorageKey,t?"true":"false")}},{key:"getDataUnitsSetting",value:function(){var t=localStorage.getItem(this.dataUnitsSettingStorageKey);return null==t?Xi.BitsSpeedAndBytesVolume:t}},{key:"setDataUnitsSetting",value:function(t){localStorage.setItem(this.dataUnitsSettingStorageKey,t)}},{key:"updateFromDiscovery",value:function(t){var a=this;this.checkIfDataWasChanged(),t.forEach(function(o){if(a.serversMap.has(o.pk)){var s=a.serversMap.get(o.pk);s.countryCode=o.countryCode,s.name=o.name,s.location=o.location,s.note=o.note}}),this.saveData()}},{key:"updateServer",value:function(t){this.serversMap.set(t.pk,t),this.cleanServers(),this.saveData()}},{key:"processFromDiscovery",value:function(t){this.checkIfDataWasChanged();var a=this.serversMap.get(t.pk);return a?(a.countryCode=t.countryCode,a.name=t.name,a.location=t.location,a.note=t.note,this.saveData(),a):{countryCode:t.countryCode,name:t.name,customName:null,pk:t.pk,lastUsed:0,inHistory:!1,flag:Hn.None,location:t.location,personalNote:null,note:t.note,enteredManually:!1,usedWithPassword:!1}}},{key:"processFromManual",value:function(t){this.checkIfDataWasChanged();var a=this.serversMap.get(t.pk);return a?(a.customName=t.name,a.personalNote=t.note,a.enteredManually=!0,this.saveData(),a):{countryCode:"zz",name:"",customName:t.name,pk:t.pk,lastUsed:0,inHistory:!1,flag:Hn.None,location:"",personalNote:t.note,note:"",enteredManually:!0,usedWithPassword:!1}}},{key:"changeFlag",value:function(t,a){this.checkIfDataWasChanged();var o=this.serversMap.get(t.pk);o&&(t=o),t.flag!==a&&(t.flag=a,this.serversMap.has(t.pk)||this.serversMap.set(t.pk,t),this.cleanServers(),this.saveData())}},{key:"removeFromHistory",value:function(t){this.checkIfDataWasChanged();var a=this.serversMap.get(t);!a||!a.inHistory||(a.inHistory=!1,this.cleanServers(),this.saveData())}},{key:"modifyCurrentServer",value:function(t){this.checkIfDataWasChanged(),t.pk!==this.currentServerPk&&(this.serversMap.has(t.pk)||this.serversMap.set(t.pk,t),this.updateCurrentServerPk(t.pk),this.cleanServers(),this.saveData())}},{key:"compareCurrentServer",value:function(t){if(this.checkIfDataWasChanged(),t){if(!this.currentServerPk||this.currentServerPk!==t){if(this.currentServerPk=t,!this.serversMap.get(t)){var o=this.processFromManual({pk:t});this.serversMap.set(o.pk,o),this.cleanServers()}this.saveData(),this.currentServerSubject.next(this.currentServer)}}else this.currentServerPk&&(this.currentServerPk=null,this.saveData(),this.currentServerSubject.next(this.currentServer))}},{key:"updateHistory",value:function(){var t=this;this.checkIfDataWasChanged(),this.currentServer.lastUsed=Date.now(),this.currentServer.inHistory=!0;var a=[];this.serversMap.forEach(function(s){s.inHistory&&a.push(s)}),a=a.sort(function(s,l){return l.lastUsed-s.lastUsed});var o=0;a.forEach(function(s){o=20&&this.lastServiceState<200&&(this.changeAppState(!1),!0)}},{key:"getIpData",value:function(){var t=this;return this.http.request("GET",window.location.protocol+"//ip.skycoin.com/").pipe(Lf(function(a){return dl(a.pipe(Mi(t.standardWaitTime),nr(4)),Ni(""))}),$e(function(a){return[a&&a.ip_address?a.ip_address:t.translateService.instant("common.unknown"),a&&a.country_name?a.country_name:t.translateService.instant("common.unknown")]}))}},{key:"changeServerUsingHistory",value:function(t,a){return this.requestedServer=t,this.requestedPassword=a,this.updateRequestedServerPasswordSetting(),this.changeServer()}},{key:"changeServerUsingDiscovery",value:function(t,a){return this.requestedServer=this.vpnSavedDataService.processFromDiscovery(t),this.requestedPassword=a,this.updateRequestedServerPasswordSetting(),this.changeServer()}},{key:"changeServerManually",value:function(t,a){return this.requestedServer=this.vpnSavedDataService.processFromManual(t),this.requestedPassword=a,this.updateRequestedServerPasswordSetting(),this.changeServer()}},{key:"updateRequestedServerPasswordSetting",value:function(){this.requestedServer.usedWithPassword=!!this.requestedPassword&&""!==this.requestedPassword;var t=this.vpnSavedDataService.getSavedVersion(this.requestedServer.pk,!0);t&&(t.usedWithPassword=this.requestedServer.usedWithPassword,this.vpnSavedDataService.updateServer(t))}},{key:"changeServer",value:function(){return!this.working&&(this.stop()||this.processServerChange(),!0)}},{key:"checkNewPk",value:function(t){return this.working?va.Busy:this.lastServiceState!==Wr.Off?t===this.vpnSavedDataService.currentServer.pk?va.SamePkRunning:va.MustStop:this.vpnSavedDataService.currentServer&&t===this.vpnSavedDataService.currentServer.pk?va.SamePkStopped:va.Ok}},{key:"processServerChange",value:function(){var t=this;this.dataSubscription&&this.dataSubscription.unsubscribe();var a={pk:this.requestedServer.pk};a.passcode=this.requestedPassword?this.requestedPassword:"",this.stopContinuallyUpdatingData(),this.working=!0,this.sendUpdate(),this.dataSubscription=this.appsService.changeAppSettings(this.nodeKey,this.vpnClientAppName,a).subscribe(function(){t.vpnSavedDataService.modifyCurrentServer(t.requestedServer),t.requestedServer=null,t.requestedPassword=null,t.working=!1,t.start()},function(o){o=on(o),t.snackbarService.showError("vpn.server-change.backend-error",null,!1,o.originalServerErrorMsg),t.working=!1,t.requestedServer=null,t.requestedPassword=null,t.sendUpdate(),t.updateData()})}},{key:"changeAppState",value:function(t){var a=this;if(!this.working){this.stopContinuallyUpdatingData(),this.working=!0,this.sendUpdate();var o={status:1};t?(this.lastServiceState=Wr.Starting,this.connectionHistoryPk=null):(this.lastServiceState=Wr.Disconnecting,o.status=0),this.dataSubscription&&this.dataSubscription.unsubscribe(),this.dataSubscription=this.appsService.changeAppSettings(this.nodeKey,this.vpnClientAppName,o).pipe(Ki(function(s){return a.getVpnClientState().pipe(Dn(function(l){if(l){if(t&&l.running)return Je(!0);if(!t&&!l.running)return Je(!0)}return Ni(s)}))}),Lf(function(s){return dl(s.pipe(Mi(a.standardWaitTime),nr(3)),s.pipe(Dn(function(l){return Ni(l)})))})).subscribe(function(s){a.working=!1;var l=a.processAppData(s);a.lastServiceState=l.running?Wr.Running:Wr.Off,a.currentEventData.vpnClientAppData=l,a.currentEventData.updateDate=Date.now(),a.sendUpdate(),a.updateData(),!t&&a.requestedServer&&a.processServerChange()},function(s){s=on(s),a.snackbarService.showError(a.lastServiceState===Wr.Starting?"vpn.status-page.problem-starting-error":a.lastServiceState===Wr.Disconnecting?"vpn.status-page.problem-stopping-error":"vpn.status-page.generic-problem-error",null,!1,s.originalServerErrorMsg),a.working=!1,a.sendUpdate(),a.updateData()})}}},{key:"continuallyUpdateData",value:function(t){var a=this;if(!this.working||this.lastServiceState===Wr.PerformingInitialCheck){this.continuousUpdateSubscription&&this.continuousUpdateSubscription.unsubscribe();var o=0;this.continuousUpdateSubscription=Je(0).pipe(Mi(t),Dn(function(){return a.getVpnClientState()}),Lf(function(s){return s.pipe(Dn(function(l){return a.errorSubject.next(!0),(l=on(l)).originalError&&l.originalError.status&&401===l.originalError.status?Ni(l):a.lastServiceState!==Wr.PerformingInitialCheck||o<4?(o+=1,Je(l).pipe(Mi(a.standardWaitTime))):Ni(l)}))})).subscribe(function(s){s?(a.errorSubject.next(!1),a.lastServiceState===Wr.PerformingInitialCheck&&(a.working=!1),a.vpnSavedDataService.compareCurrentServer(s.serverPk),a.lastServiceState=s.running?Wr.Running:Wr.Off,a.currentEventData.vpnClientAppData=s,a.currentEventData.updateDate=Date.now(),a.sendUpdate()):a.lastServiceState===Wr.PerformingInitialCheck&&(a.router.navigate(["vpn","unavailable"]),a.nodeKey=null,a.updatesStopped=!0),a.continuallyUpdateData(a.standardWaitTime)},function(s){(s=on(s)).originalError&&s.originalError.status&&401===s.originalError.status||(a.router.navigate(["vpn","unavailable"]),a.nodeKey=null),a.updatesStopped=!0})}}},{key:"stopContinuallyUpdatingData",value:function(){this.continuousUpdateSubscription&&this.continuousUpdateSubscription.unsubscribe()}},{key:"getVpnClientState",value:function(){var a,t=this,o=new Ll;return o.vpnKeyForAuth=this.nodeKey,this.apiService.get("visors/".concat(this.nodeKey,"/summary"),o).pipe(Dn(function(s){var l;if(s&&s.overview&&s.overview.apps&&s.overview.apps.length>0&&s.overview.apps.forEach(function(f){f.name===t.vpnClientAppName&&(l=f)}),l&&(a=t.processAppData(l)),a.minHops=s.min_hops?s.min_hops:0,a&&a.running){var u=new Ll;return u.vpnKeyForAuth=t.nodeKey,t.apiService.get("visors/".concat(t.nodeKey,"/apps/").concat(t.vpnClientAppName,"/connections"),u)}return Je(null)}),$e(function(s){if(s&&s.length>0){var l=new Qz;s.forEach(function(u){l.latency+=u.latency/s.length,l.uploadSpeed+=u.upload_speed/s.length,l.downloadSpeed+=u.download_speed/s.length,l.totalUploaded+=u.bandwidth_sent,l.totalDownloaded+=u.bandwidth_received,u.error&&(l.error=u.error),u.connection_duration>l.connectionDuration&&(l.connectionDuration=u.connection_duration)}),(!t.connectionHistoryPk||t.connectionHistoryPk!==a.serverPk)&&(t.connectionHistoryPk=a.serverPk,t.uploadSpeedHistory=[0,0,0,0,0,0,0,0,0,0],t.downloadSpeedHistory=[0,0,0,0,0,0,0,0,0,0],t.latencyHistory=[0,0,0,0,0,0,0,0,0,0]),l.latency=Math.round(l.latency),l.uploadSpeed=Math.round(l.uploadSpeed),l.downloadSpeed=Math.round(l.downloadSpeed),l.totalUploaded=Math.round(l.totalUploaded),l.totalDownloaded=Math.round(l.totalDownloaded),t.uploadSpeedHistory.splice(0,1),t.uploadSpeedHistory.push(l.uploadSpeed),l.uploadSpeedHistory=t.uploadSpeedHistory,t.downloadSpeedHistory.splice(0,1),t.downloadSpeedHistory.push(l.downloadSpeed),l.downloadSpeedHistory=t.downloadSpeedHistory,t.latencyHistory.splice(0,1),t.latencyHistory.push(l.latency),l.latencyHistory=t.latencyHistory,a.connectionData=l}return a}))}},{key:"processAppData",value:function(t){var a=new Zz;if(a.running=0!==t.status&&2!==t.status,a.connectionDuration=t.connection_duration,a.appState=pn.Stopped,a.running?t.detailed_status===pn.Connecting||3===t.status?a.appState=pn.Connecting:t.detailed_status===pn.Running?a.appState=pn.Running:t.detailed_status===pn.ShuttingDown?a.appState=pn.ShuttingDown:t.detailed_status===pn.Reconnecting&&(a.appState=pn.Reconnecting):2===t.status&&(a.lastErrorMsg=t.detailed_status,a.lastErrorMsg||(a.lastErrorMsg=this.translateService.instant("vpn.status-page.unknown-error"))),a.killswitch=!1,t.args&&t.args.length>0)for(var o=0;o200){if(201===m[C]){var V=!1,J=$t.createConfirmationDialog(u,"vpn.server-options.connect-without-password-confirmation");return J.componentInstance.operationAccepted.subscribe(function(){V=!0,i.processServerChange(a,s,o,l,u,null,i.currentPk,t,null,null,null),J.componentInstance.closeModal()}),J.afterClosed().pipe($e(function(){return V}))}return yE.openDialog(u,!1).afterClosed().pipe($e(function(Ce){return!(!Ce||"-"===Ce||(i.processServerChange(a,s,o,l,u,null,i.currentPk,t,null,null,Ce.substr(1)),0))}))}if(m[C]>100)return Xz.openDialog(u,{editName:101===m[C],server:t}).afterClosed();if(1===m[C])return i.makeFavorite(t,o,l,u);if(-1===m[C])return o.changeFlag(t,Hn.None),l.showDone("vpn.server-options.remove-from-favorites-done"),Je(!0);if(2===m[C])return i.blockServer(t,o,s,l,u);if(-2===m[C])return o.changeFlag(t,Hn.None),l.showDone("vpn.server-options.unblock-done"),Je(!0);if(-3===m[C])return i.removeFromHistory(t,o,l,u)}return Je(!1)}))}},{key:"removeFromHistory",value:function(t,a,o,s){var l=!1,u=$t.createConfirmationDialog(s,"vpn.server-options.remove-from-history-confirmation");return u.componentInstance.operationAccepted.subscribe(function(){l=!0,a.removeFromHistory(t.pk),o.showDone("vpn.server-options.remove-from-history-done"),u.componentInstance.closeModal()}),u.afterClosed().pipe($e(function(){return l}))}},{key:"makeFavorite",value:function(t,a,o,s){if(t.flag!==Hn.Blocked)return a.changeFlag(t,Hn.Favorite),o.showDone("vpn.server-options.make-favorite-done"),Je(!0);var l=!1,u=$t.createConfirmationDialog(s,"vpn.server-options.make-favorite-confirmation");return u.componentInstance.operationAccepted.subscribe(function(){l=!0,a.changeFlag(t,Hn.Favorite),o.showDone("vpn.server-options.make-favorite-done"),u.componentInstance.closeModal()}),u.afterClosed().pipe($e(function(){return l}))}},{key:"blockServer",value:function(t,a,o,s,l){if(t.flag!==Hn.Favorite&&(!a.currentServer||a.currentServer.pk!==t.pk))return a.changeFlag(t,Hn.Blocked),s.showDone("vpn.server-options.block-done"),Je(!0);var u=!1,f=a.currentServer&&a.currentServer.pk===t.pk,C=$t.createConfirmationDialog(l,t.flag!==Hn.Favorite?"vpn.server-options.block-selected-confirmation":f?"vpn.server-options.block-selected-favorite-confirmation":"vpn.server-options.block-confirmation");return C.componentInstance.operationAccepted.subscribe(function(){u=!0,a.changeFlag(t,Hn.Blocked),s.showDone("vpn.server-options.block-done"),f&&o.stop(),C.componentInstance.closeModal()}),C.afterClosed().pipe($e(function(){return u}))}}]),i}();return n.serverListTabStorageKey="ServerListTab",n.currentPk="",n}(),tW=["mat-menu-item",""];function nW(n,i){1&n&&(No(),E(0,"svg",2),Te(1,"polygon",3),P())}var bE=["*"];function rW(n,i){if(1&n){var e=tt();E(0,"div",0),Se("keydown",function(o){return ke(e),K()._handleKeydown(o)})("click",function(){return ke(e),K().closed.emit("click")})("@transformMenu.start",function(o){return ke(e),K()._onAnimationStart(o)})("@transformMenu.done",function(o){return ke(e),K()._onAnimationDone(o)}),E(1,"div",1),hr(2),P()()}if(2&n){var t=K();S("id",t.panelId)("ngClass",t._classList)("@transformMenu",t._panelAnimationState),Wt("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby||null)("aria-describedby",t.ariaDescribedby||null)}}var xv={transformMenu:Go("transformMenu",[Ri("void",kn({opacity:0,transform:"scale(0.8)"})),_i("void => enter",Fi("120ms cubic-bezier(0, 0, 0.2, 1)",kn({opacity:1,transform:"scale(1)"}))),_i("* => void",Fi("100ms 25ms linear",kn({opacity:0})))]),fadeInItems:Go("fadeInItems",[Ri("showing",kn({opacity:1})),_i("void => *",[kn({opacity:0}),Fi("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},iW=new Ze("MatMenuContent"),Gb=new Ze("MAT_MENU_PANEL"),aW=df(sc(function(){return d(function n(){c(this,n)})}())),ns=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l,u){var f,m;return c(this,t),(f=e.call(this))._elementRef=a,f._document=o,f._focusMonitor=s,f._parentMenu=l,f._changeDetectorRef=u,f.role="menuitem",f._hovered=new Ae,f._focused=new Ae,f._highlighted=!1,f._triggersSubmenu=!1,null===(m=null==l?void 0:l.addItem)||void 0===m||m.call(l,x(f)),f}return d(t,[{key:"focus",value:function(o,s){this._focusMonitor&&o?this._focusMonitor.focusVia(this._getHostElement(),o,s):this._getHostElement().focus(s),this._focused.next(this)}},{key:"ngAfterViewInit",value:function(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}},{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(o){this.disabled&&(o.preventDefault(),o.stopPropagation())}},{key:"_handleMouseEnter",value:function(){this._hovered.next(this)}},{key:"getLabel",value:function(){for(var o,s=this._elementRef.nativeElement.cloneNode(!0),l=s.querySelectorAll("mat-icon, .material-icons"),u=0;u0&&void 0!==arguments[0]?arguments[0]:"program";this.lazyContent?this._ngZone.onStable.pipe(nr(1)).subscribe(function(){return t._focusFirstItem(a)}):this._focusFirstItem(a)}},{key:"_focusFirstItem",value:function(t){var a=this._keyManager;if(a.setFocusOrigin(t).setFirstItemActive(),!a.activeItem&&this._directDescendantItems.length)for(var o=this._directDescendantItems.first._getHostElement().parentElement;o;){if("menu"===o.getAttribute("role")){o.focus();break}o=o.parentElement}}},{key:"resetActiveItem",value:function(){this._keyManager.setActiveItem(-1)}},{key:"setElevation",value:function(t){var a=this,o=Math.min(this._baseElevation+t,24),s="".concat(this._elevationPrefix).concat(o),l=Object.keys(this._classList).find(function(u){return u.startsWith(a._elevationPrefix)});(!l||l===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[s]=!0,this._previousElevation=s)}},{key:"setPositionClasses",value:function(){var o,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.xPosition,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.yPosition,s=this._classList;s["mat-menu-before"]="before"===t,s["mat-menu-after"]="after"===t,s["mat-menu-above"]="above"===a,s["mat-menu-below"]="below"===a,null===(o=this._changeDetectorRef)||void 0===o||o.markForCheck()}},{key:"_startAnimation",value:function(){this._panelAnimationState="enter"}},{key:"_resetAnimation",value:function(){this._panelAnimationState="void"}},{key:"_onAnimationDone",value:function(t){this._animationDone.next(t),this._isAnimating=!1}},{key:"_onAnimationStart",value:function(t){this._isAnimating=!0,"enter"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)}},{key:"_updateDirectDescendants",value:function(){var t=this;this._allItems.changes.pipe(ha(this._allItems)).subscribe(function(a){t._directDescendantItems.reset(a.filter(function(o){return o._parentMenu===t})),t._directDescendantItems.notifyOnChanges()})}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(yt),B(bt),B(kE),B(Yn))},n.\u0275dir=et({type:n,contentQueries:function(e,t,a){var o;1&e&&(vr(a,iW,5),vr(a,ns,5),vr(a,ns,4)),2&e&&(lt(o=ut())&&(t.lazyContent=o.first),lt(o=ut())&&(t._allItems=o),lt(o=ut())&&(t.items=o))},viewQuery:function(e,t){var a;1&e&>(Ii,5),2&e&<(a=ut())&&(t.templateRef=a.first)},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),n}(),bc=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l){var u;return c(this,t),(u=e.call(this,a,o,s,l))._elevationPrefix="mat-elevation-z",u._baseElevation=4,u}return d(t)}(Ef);return n.\u0275fac=function(e){return new(e||n)(B(yt),B(bt),B(kE),B(Yn))},n.\u0275cmp=qe({type:n,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,t){2&e&&Wt("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[cn([{provide:Gb,useExisting:n}]),vt],ngContentSelectors:bE,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&&(Gi(),q(0,rW,3,6,"ng-template"))},directives:[mr],styles:["mat-menu{display:none}.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;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{margin-top:1px}.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}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}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:[xv.transformMenu,xv.fadeInItems]},changeDetection:0}),n}(),ME=new Ze("mat-menu-scroll-strategy"),uW={provide:ME,deps:[Ia],useFactory:function lW(n){return function(){return n.scrollStrategies.reposition()}}},wE=yl({passive:!0}),cW=function(){var n=function(){function i(e,t,a,o,s,l,u,f,m){var C=this;c(this,i),this._overlay=e,this._element=t,this._viewContainerRef=a,this._menuItemInstance=l,this._dir=u,this._focusMonitor=f,this._ngZone=m,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=Ne.EMPTY,this._hoverSubscription=Ne.EMPTY,this._menuCloseSubscription=Ne.EMPTY,this._handleTouchStart=function(A){ob(A)||(C._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new pt,this.onMenuOpen=this.menuOpened,this.menuClosed=new pt,this.onMenuClose=this.menuClosed,this._scrollStrategy=o,this._parentMaterialMenu=s instanceof Ef?s:void 0,t.nativeElement.addEventListener("touchstart",this._handleTouchStart,wE),l&&(l._triggersSubmenu=this.triggersSubmenu())}return d(i,[{key:"_deprecatedMatMenuTriggerFor",get:function(){return this.menu},set:function(t){this.menu=t}},{key:"menu",get:function(){return this._menu},set:function(t){var a=this;t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._menuCloseSubscription=t.close.subscribe(function(o){a._destroyMenu(o),("click"===o||"tab"===o)&&a._parentMaterialMenu&&a._parentMaterialMenu.closed.emit(o)})))}},{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,wE),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}},{key:"menuOpen",get:function(){return this._menuOpen}},{key:"dir",get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"triggersSubmenu",value:function(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}},{key:"toggleMenu",value:function(){return this._menuOpen?this.closeMenu():this.openMenu()}},{key:"openMenu",value:function(){var t=this;if(!this._menuOpen){this._checkMenu();var a=this._createOverlay(),o=a.getConfig(),s=o.positionStrategy;this._setPosition(s),o.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,a.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(function(){return t.closeMenu()}),this._initMenu(),this.menu instanceof Ef&&(this.menu._startAnimation(),this.menu._directDescendantItems.changes.pipe(hn(this.menu.close)).subscribe(function(){s.withLockedPosition(!1).reapplyLastPosition(),s.withLockedPosition(!0)}))}}},{key:"closeMenu",value:function(){this.menu.close.emit()}},{key:"focus",value:function(t,a){this._focusMonitor&&t?this._focusMonitor.focusVia(this._element,t,a):this._element.nativeElement.focus(a)}},{key:"updatePosition",value:function(){var t;null===(t=this._overlayRef)||void 0===t||t.updatePosition()}},{key:"_destroyMenu",value:function(t){var a=this;if(this._overlayRef&&this.menuOpen){var o=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===t||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,o instanceof Ef?(o._resetAnimation(),o.lazyContent?o._animationDone.pipe(Ir(function(s){return"void"===s.toState}),nr(1),hn(o.lazyContent._attached)).subscribe({next:function(){return o.lazyContent.detach()},complete:function(){return a._setIsMenuOpen(!1)}}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),o.lazyContent&&o.lazyContent.detach())}}},{key:"_initMenu",value:function(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}},{key:"_setMenuElevation",value:function(){if(this.menu.setElevation){for(var t=0,a=this.menu.parentMenu;a;)t++,a=a.parentMenu;this.menu.setElevation(t)}}},{key:"_setIsMenuOpen",value:function(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(t)}},{key:"_checkMenu",value:function(){}},{key:"_createOverlay",value:function(){if(!this._overlayRef){var t=this._getOverlayConfig();this._subscribeToPositions(t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}},{key:"_getOverlayConfig",value:function(){return new uf({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}},{key:"_subscribeToPositions",value:function(t){var a=this;this.menu.setPositionClasses&&t.positionChanges.subscribe(function(o){var s="start"===o.connectionPair.overlayX?"after":"before",l="top"===o.connectionPair.overlayY?"below":"above";a._ngZone?a._ngZone.run(function(){return a.menu.setPositionClasses(s,l)}):a.menu.setPositionClasses(s,l)})}},{key:"_setPosition",value:function(t){var o=ne("before"===this.menu.xPosition?["end","start"]:["start","end"],2),s=o[0],l=o[1],f=ne("above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],2),m=f[0],C=f[1],A=m,V=C,J=s,me=l,Ce=0;this.triggersSubmenu()?(me=s="before"===this.menu.xPosition?"start":"end",l=J="end"===s?"start":"end",Ce="bottom"===m?8:-8):this.menu.overlapTrigger||(A="top"===m?"bottom":"top",V="top"===C?"bottom":"top"),t.withPositions([{originX:s,originY:A,overlayX:J,overlayY:m,offsetY:Ce},{originX:l,originY:A,overlayX:me,overlayY:m,offsetY:Ce},{originX:s,originY:V,overlayX:J,overlayY:C,offsetY:-Ce},{originX:l,originY:V,overlayX:me,overlayY:C,offsetY:-Ce}])}},{key:"_menuClosingActions",value:function(){var t=this,a=this._overlayRef.backdropClick(),o=this._overlayRef.detachments();return Ci(a,this._parentMaterialMenu?this._parentMaterialMenu.closed:Je(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Ir(function(u){return u!==t._menuItemInstance}),Ir(function(){return t._menuOpen})):Je(),o)}},{key:"_handleMousedown",value:function(t){ab(t)||(this._openedBy=0===t.button?"mouse":void 0,this.triggersSubmenu()&&t.preventDefault())}},{key:"_handleKeydown",value:function(t){var a=t.keyCode;(13===a||32===a)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===a&&"ltr"===this.dir||37===a&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}},{key:"_handleClick",value:function(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}},{key:"_handleHover",value:function(){var t=this;!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(Ir(function(a){return a===t._menuItemInstance&&!a.disabled}),Mi(0,Gy)).subscribe(function(){t._openedBy="mouse",t.menu instanceof Ef&&t.menu._isAnimating?t.menu._animationDone.pipe(nr(1),Mi(0,Gy),hn(t._parentMaterialMenu._hovered())).subscribe(function(){return t.openMenu()}):t.openMenu()}))}},{key:"_getPortal",value:function(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new ac(this.menu.templateRef,this._viewContainerRef)),this._portal}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Ia),B(yt),B(ii),B(ME),B(Gb,8),B(ns,10),B(pa,8),B(Os),B(bt))},n.\u0275dir=et({type:n,hostAttrs:["aria-haspopup","true"],hostVars:2,hostBindings:function(e,t){1&e&&Se("click",function(o){return t._handleClick(o)})("mousedown",function(o){return t._handleMousedown(o)})("keydown",function(o){return t._handleKeydown(o)}),2&e&&Wt("aria-expanded",t.menuOpen||null)("aria-controls",t.menuOpen?t.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),n}(),kc=function(){var n=function(i){h(t,i);var e=y(t);function t(){return c(this,t),e.apply(this,arguments)}return d(t)}(cW);return n.\u0275fac=function(){var i;return function(t){return(i||(i=or(n)))(t||n)}}(),n.\u0275dir=et({type:n,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[vt]}),n}(),dW=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({providers:[uW],imports:[[Mo,Pn,hf,cf],af,Pn]}),n}(),rs=function(){return function(n){n[n.Seconds=0]="Seconds",n[n.Minutes=1]="Minutes",n[n.Hours=2]="Hours",n[n.Days=3]="Days",n[n.Weeks=4]="Weeks"}(rs||(rs={})),rs}(),fW=d(function n(){c(this,n)}),SE=function(){function n(){c(this,n)}return d(n,null,[{key:"getElapsedTime",value:function(e){var t=new fW;t.timeRepresentation=rs.Seconds,t.totalMinutes=Math.floor(e/60).toString(),t.translationVarName="second";var a=1;e>=60&&e<3600?(t.timeRepresentation=rs.Minutes,a=60,t.translationVarName="minute"):e>=3600&&e<86400?(t.timeRepresentation=rs.Hours,a=3600,t.translationVarName="hour"):e>=86400&&e<604800?(t.timeRepresentation=rs.Days,a=86400,t.translationVarName="day"):e>=604800&&(t.timeRepresentation=rs.Weeks,a=604800,t.translationVarName="week");var o=Math.floor(e/a);return t.elapsedTime=o.toString(),(t.timeRepresentation===rs.Seconds||o>1)&&(t.translationVarName=t.translationVarName+"s"),t}}]),n}();function hW(n,i){1&n&&Te(0,"mat-spinner",5),2&n&&S("diameter",14)}function pW(n,i){1&n&&Te(0,"mat-spinner",6),2&n&&S("diameter",18)}function vW(n,i){1&n&&(E(0,"mat-icon",9),R(1,"refresh"),P()),2&n&&S("inline",!0)}function mW(n,i){1&n&&(E(0,"mat-icon",10),R(1,"warning"),P()),2&n&&S("inline",!0)}function gW(n,i){if(1&n&&(ze(0),q(1,vW,2,1,"mat-icon",7),q(2,mW,2,1,"mat-icon",8),We()),2&n){var e=K();p(1),S("ngIf",!e.showAlert),p(1),S("ngIf",e.showAlert)}}var DE=function(i){return{time:i}};function _W(n,i){if(1&n&&(E(0,"span",11),R(1),Y(2,"translate"),P()),2&n){var e=K();p(1),ge(xt(2,1,"refresh-button."+e.elapsedTime.translationVarName,Qe(4,DE,e.elapsedTime.elapsedTime)))}}var yW=function(i){return{"grey-button-background":i}},bW=function(){var n=function(){function i(){c(this,i),this.refeshRate=-1}return d(i,[{key:"secondsSinceLastUpdate",set:function(t){this.elapsedTime=SE.getElapsedTime(t)}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=qe({type:n,selectors:[["app-refresh-button"]],inputs:{secondsSinceLastUpdate:"secondsSinceLastUpdate",showLoading:"showLoading",showAlert:"showAlert",refeshRate:"refeshRate"},decls:6,vars:14,consts:[["mat-button","",1,"time-button","subtle-transparent-button","white-theme",3,"disabled","ngClass","matTooltip"],["class","icon d-none d-md-inline-block",3,"diameter",4,"ngIf"],["class","icon d-md-none",3,"diameter",4,"ngIf"],[4,"ngIf"],["class","d-none d-md-inline",4,"ngIf"],[1,"icon","d-none","d-md-inline-block",3,"diameter"],[1,"icon","d-md-none",3,"diameter"],["class","icon",3,"inline",4,"ngIf"],["class","icon alert",3,"inline",4,"ngIf"],[1,"icon",3,"inline"],[1,"icon","alert",3,"inline"],[1,"d-none","d-md-inline"]],template:function(e,t){1&e&&(E(0,"button",0),Y(1,"translate"),q(2,hW,1,1,"mat-spinner",1),q(3,pW,1,1,"mat-spinner",2),q(4,gW,3,2,"ng-container",3),q(5,_W,3,6,"span",4),P()),2&e&&(S("disabled",t.showLoading)("ngClass",Qe(10,yW,!t.showLoading))("matTooltip",t.showAlert?xt(1,7,"refresh-button.error-tooltip",Qe(12,DE,t.refeshRate)):""),p(2),S("ngIf",t.showLoading),p(1),S("ngIf",t.showLoading),p(1),S("ngIf",!t.showLoading),p(1),S("ngIf",t.elapsedTime))},directives:[yi,mr,ur,Et,Aa,Mn],pipes:[Mt],styles:[".time-button[_ngcontent-%COMP%]{color:#f8f9f9;border-radius:10px;height:40px}.time-button[disabled][_ngcontent-%COMP%]{opacity:.7!important;color:#f8f9f9}.time-button[disabled][_ngcontent-%COMP%] span[_ngcontent-%COMP%]{opacity:.7}.time-button[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{font-size:16px;margin-right:5px;opacity:.5;display:inline-block}@media (max-width: 767px){.time-button[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{font-size:22px;margin-right:0;opacity:.75}}.time-button[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{color:orange;opacity:1}.time-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:.6rem}"]}),n}(),Pf=function(){var n=function(){function i(){c(this,i)}return d(i,[{key:"transform",value:function(t,a){var s,o=!0;a?a.showPerSecond?a.useBits?(s=i.measurementsPerSecInBits,o=!1):s=i.measurementsPerSec:a.useBits?(s=i.accumulatedMeasurementsInBits,o=!1):s=i.accumulatedMeasurements:s=i.accumulatedMeasurements;var l=new Ub.BigNumber(t);o||(l=l.multipliedBy(8));for(var u=s[0],f=0;l.dividedBy(1024).isGreaterThan(1);)l=l.dividedBy(1024),u=s[f+=1];var m="";return(!a||!!a.showValue)&&(m=a&&a.limitDecimals?new Ub.BigNumber(l).decimalPlaces(1).toString():l.toFixed(2)),(!a||!!a.showValue&&!!a.showUnit)&&(m+=" "),(!a||!!a.showUnit)&&(m+=u),m}}]),i}();return n.accumulatedMeasurements=["B","KB","MB","GB","TB","PB","EB","ZB","YB"],n.measurementsPerSec=["B/s","KB/s","MB/s","GB/s","TB/s","PB/s","EB/s","ZB/s","YB/s"],n.accumulatedMeasurementsInBits=["b","Kb","Mb","Gb","Tb","Pb","Eb","Zb","Yb"],n.measurementsPerSecInBits=["b/s","Kb/s","Mb/s","Gb/s","Tb/s","Pb/s","Eb/s","Zb/s","Yb/s"],n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=Kr({name:"autoScale",type:n,pure:!0}),n}();function kW(n,i){if(1&n){var e=tt();E(0,"button",23),Se("click",function(){return ke(e),K().requestAction(null)}),E(1,"mat-icon"),R(2,"chevron_left"),P()()}}function MW(n,i){1&n&&(ze(0),Te(1,"img",24),We())}function CW(n,i){if(1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n){var e=K();p(1),ye(" ",U(2,1,e.titleParts[e.titleParts.length-1])," ")}}var wW=function(i){return{transparent:i}};function SW(n,i){if(1&n){var e=tt();ze(0),E(1,"div",26),Se("click",function(){var s=ke(e).$implicit;return K(2).requestAction(s.actionName)}),E(2,"mat-icon",27),R(3),P(),R(4),Y(5,"translate"),P(),We()}if(2&n){var t=i.$implicit;p(1),S("disabled",t.disabled),p(1),S("ngClass",Qe(6,wW,t.disabled)),p(1),ge(t.icon),p(1),ye(" ",U(5,4,t.name)," ")}}function DW(n,i){1&n&&Te(0,"div",28)}function TW(n,i){if(1&n&&(ze(0),q(1,SW,6,8,"ng-container",25),q(2,DW,1,0,"div",9),We()),2&n){var e=K();p(1),S("ngForOf",e.optionsData),p(1),S("ngIf",e.returnText)}}function LW(n,i){1&n&&Te(0,"div",28)}function EW(n,i){1&n&&Te(0,"img",31),2&n&&S("src","assets/img/lang/"+K(2).language.iconName,vo)}function PW(n,i){if(1&n){var e=tt();E(0,"div",29),Se("click",function(){return ke(e),K().openLanguageWindow()}),q(1,EW,1,1,"img",30),R(2),Y(3,"translate"),P()}if(2&n){var t=K();p(1),S("ngIf",t.language),p(1),ye(" ",U(3,2,t.language?t.language.name:"")," ")}}function xW(n,i){if(1&n){var e=tt();E(0,"div",32)(1,"a",33),Se("click",function(){return ke(e),K().requestAction(null)}),Y(2,"translate"),E(3,"mat-icon",34),R(4,"chevron_left"),P()()()}if(2&n){var t=K();p(1),S("matTooltip",U(2,2,t.returnText)),p(2),S("inline",!0)}}function OW(n,i){if(1&n&&(E(0,"span",35),R(1),Y(2,"translate"),P()),2&n){var e=K();p(1),ye(" ",U(2,1,e.titleParts[e.titleParts.length-1])," ")}}function IW(n,i){1&n&&Te(0,"img",36)}var AW=function(i,e){return{"d-lg-none":i,"d-none d-md-inline-block":e}},TE=function(i,e){return{"mouse-disabled":i,"grey-button-background":e}};function FW(n,i){if(1&n&&(E(0,"div",27)(1,"a",37)(2,"mat-icon",34),R(3),P(),E(4,"span"),R(5),Y(6,"translate"),P()()()),2&n){var e=i.$implicit,t=i.index,a=K();S("ngClass",En(9,AW,e.onlyIfLessThanLg,1!==a.tabsData.length)),p(1),S("disabled",t===a.selectedTabIndex)("routerLink",e.linkParts)("ngClass",En(12,TE,a.disableMouse,!a.disableMouse&&t!==a.selectedTabIndex)),p(1),S("inline",!0),p(1),ge(e.icon),p(2),ge(U(6,7,e.label))}}var RW=function(i){return{"d-none":i}};function NW(n,i){if(1&n){var e=tt();E(0,"div",38)(1,"button",39),Se("click",function(){return ke(e),K().openTabSelector()}),E(2,"mat-icon",34),R(3),P(),E(4,"span"),R(5),Y(6,"translate"),P(),E(7,"mat-icon",34),R(8,"keyboard_arrow_down"),P()()()}if(2&n){var t=K();S("ngClass",Qe(8,RW,1===t.tabsData.length)),p(1),S("ngClass",En(10,TE,t.disableMouse,!t.disableMouse)),p(1),S("inline",!0),p(1),ge(t.tabsData[t.selectedTabIndex].icon),p(2),ge(U(6,6,t.tabsData[t.selectedTabIndex].label)),p(2),S("inline",!0)}}function YW(n,i){if(1&n){var e=tt();E(0,"app-refresh-button",43),Se("click",function(){return ke(e),K(2).sendRefreshEvent()}),P()}if(2&n){var t=K(2);S("secondsSinceLastUpdate",t.secondsSinceLastUpdate)("showLoading",t.showLoading)("showAlert",t.showAlert)("refeshRate",t.refeshRate)}}function HW(n,i){if(1&n&&(E(0,"div",40),q(1,YW,1,4,"app-refresh-button",41),E(2,"button",42)(3,"mat-icon",34),R(4,"menu"),P()()()),2&n){var e=K(),t=sr(12);p(1),S("ngIf",e.showUpdateButton),p(1),S("matMenuTriggerFor",t),p(1),S("inline",!0)}}function BW(n,i){if(1&n){var e=tt();E(0,"div",51)(1,"div",52),Se("click",function(){return ke(e),K(2).openLanguageWindow()}),Te(2,"img",53),R(3),Y(4,"translate"),P()()}if(2&n){var t=K(2);p(2),S("src","assets/img/lang/"+t.language.iconName,vo),p(1),ye(" ",U(4,2,t.language?t.language.name:"")," ")}}function VW(n,i){1&n&&(E(0,"div",54),Y(1,"translate"),E(2,"mat-icon",34),R(3,"warning"),P(),R(4),Y(5,"translate"),P()),2&n&&(S("matTooltip",U(1,3,"vpn.connection-error.info")),p(2),S("inline",!0),p(2),ye(" ",U(5,5,"vpn.connection-error.text")," "))}function jW(n,i){1&n&&(E(0,"div",61)(1,"mat-icon",59),R(2,"brightness_1"),P()()),2&n&&(p(1),S("inline",!0))}var UW=function(i,e){return{"animation-container":i,"d-none":e}},zW=function(i){return{time:i}},LE=function(i){return{showValue:!0,showUnit:!0,showPerSecond:!0,useBits:i}};function WW(n,i){if(1&n&&(E(0,"table",55)(1,"tr")(2,"td",56),Y(3,"translate"),E(4,"div",27)(5,"div",57)(6,"div",58)(7,"mat-icon",59),R(8,"brightness_1"),P(),R(9),Y(10,"translate"),P()()(),q(11,jW,3,1,"div",60),E(12,"mat-icon",59),R(13,"brightness_1"),P(),R(14),Y(15,"translate"),P(),E(16,"td",56),Y(17,"translate"),E(18,"mat-icon",34),R(19,"swap_horiz"),P(),R(20),Y(21,"translate"),P()(),E(22,"tr")(23,"td",56),Y(24,"translate"),E(25,"mat-icon",34),R(26,"arrow_upward"),P(),R(27),Y(28,"autoScale"),P(),E(29,"td",56),Y(30,"translate"),E(31,"mat-icon",34),R(32,"arrow_downward"),P(),R(33),Y(34,"autoScale"),P()()()),2&n){var e=K(2);p(2),ua(e.vpnData.stateClass+" state-td"),S("matTooltip",U(3,18,e.vpnData.state+"-info")),p(2),S("ngClass",En(39,UW,e.showVpnStateAnimation,!e.showVpnStateAnimation)),p(3),S("inline",!0),p(2),ye(" ",U(10,20,e.vpnData.state)," "),p(2),S("ngIf",e.showVpnStateAnimatedDot),p(1),S("inline",!0),p(2),ye(" ",U(15,22,e.vpnData.state)," "),p(2),S("matTooltip",U(17,24,"vpn.connection-info.latency-info")),p(2),S("inline",!0),p(2),ye(" ",xt(21,26,"common."+e.getLatencyValueString(e.vpnData.latency),Qe(42,zW,e.getPrintableLatency(e.vpnData.latency)))," "),p(3),S("matTooltip",U(24,29,"vpn.connection-info.upload-info")),p(2),S("inline",!0),p(2),ye(" ",xt(28,31,e.vpnData.uploadSpeed,Qe(44,LE,e.showVpnDataStatsInBits))," "),p(2),S("matTooltip",U(30,34,"vpn.connection-info.download-info")),p(2),S("inline",!0),p(2),ye(" ",xt(34,36,e.vpnData.downloadSpeed,Qe(46,LE,e.showVpnDataStatsInBits))," ")}}function GW(n,i){1&n&&Te(0,"mat-spinner",62),2&n&&S("diameter",20)}function qW(n,i){if(1&n&&(E(0,"div")(1,"div",44),q(2,BW,5,4,"div",45),Te(3,"div",46),q(4,VW,6,7,"div",47),P(),E(5,"div",48),q(6,WW,35,48,"table",49),q(7,GW,1,1,"mat-spinner",50),P()()),2&n){var e=K();p(2),S("ngIf",!e.hideLanguageButton&&e.language),p(2),S("ngIf",e.errorsConnectingToVpn),p(2),S("ngIf",e.vpnData),p(1),S("ngIf",!e.vpnData)}}function KW(n,i){1&n&&(E(0,"div",63)(1,"div",64)(2,"mat-icon",34),R(3,"error_outline"),P(),R(4),Y(5,"translate"),P(),E(6,"div",65),R(7),Y(8,"translate"),P()()),2&n&&(p(2),S("inline",!0),p(2),ye(" ",U(5,3,"vpn.remote-access-title")," "),p(3),ye(" ",U(8,5,"vpn.remote-access-text")," "))}var EE=function(i,e){return{"d-lg-none":i,"d-none":e}},$W=function(i){return{"normal-height":i}},ZW=function(i,e){return{"d-none d-lg-flex":i,"d-flex":e}},Fl=function(){var n=function(){function i(e,t,a,o,s){c(this,i),this.languageService=e,this.dialog=t,this.router=a,this.vpnClientService=o,this.vpnSavedDataService=s,this.disableMouse=!1,this.selectedTabIndex=0,this.refeshRate=-1,this.showUpdateButton=!0,this.localVpnKeyInternal="",this.refreshRequested=new pt,this.optionSelected=new pt,this.hideLanguageButton=!0,this.showVpnInfo=!1,this.initialVpnStateObtained=!1,this.lastVpnState="",this.showVpnStateAnimation=!1,this.showVpnStateAnimatedDot=!0,this.showVpnDataStatsInBits=!0,this.remoteAccess=!1,this.errorsConnectingToVpn=!1,this.langSubscriptionsGroup=[]}return d(i,[{key:"localVpnKey",set:function(t){this.localVpnKeyInternal=t,t?this.startGettingVpnInfo():this.stopGettingVpnInfo()}},{key:"ngOnInit",value:function(){var t=this;this.langSubscriptionsGroup.push(this.languageService.currentLanguage.subscribe(function(o){t.language=o})),this.langSubscriptionsGroup.push(this.languageService.languages.subscribe(function(o){t.hideLanguageButton=!(o.length>1)}));var a=window.location.hostname;!a.toLowerCase().includes("localhost")&&!a.toLowerCase().includes("127.0.0.1")&&(this.remoteAccess=!0)}},{key:"ngOnDestroy",value:function(){this.langSubscriptionsGroup.forEach(function(t){return t.unsubscribe()}),this.refreshRequested.complete(),this.optionSelected.complete(),this.stopGettingVpnInfo()}},{key:"startGettingVpnInfo",value:function(){var t=this;this.showVpnInfo=!0,this.vpnClientService.initialize(this.localVpnKeyInternal),this.updateVpnDataStatsUnit(),this.vpnDataSubscription=this.vpnClientService.backendState.subscribe(function(a){a&&(t.vpnData={state:"",stateClass:"",latency:a.vpnClientAppData.connectionData?a.vpnClientAppData.connectionData.latency:0,downloadSpeed:a.vpnClientAppData.connectionData?a.vpnClientAppData.connectionData.downloadSpeed:0,uploadSpeed:a.vpnClientAppData.connectionData?a.vpnClientAppData.connectionData.uploadSpeed:0},a.vpnClientAppData.appState===pn.Stopped?(t.vpnData.state="vpn.connection-info.state-disconnected",t.vpnData.stateClass="red-clear-text"):a.vpnClientAppData.appState===pn.Connecting?(t.vpnData.state="vpn.connection-info.state-connecting",t.vpnData.stateClass="yellow-clear-text"):a.vpnClientAppData.appState===pn.Running?(t.vpnData.state="vpn.connection-info.state-connected",t.vpnData.stateClass="green-clear-text"):a.vpnClientAppData.appState===pn.ShuttingDown?(t.vpnData.state="vpn.connection-info.state-disconnecting",t.vpnData.stateClass="yellow-clear-text"):a.vpnClientAppData.appState===pn.Reconnecting&&(t.vpnData.state="vpn.connection-info.state-reconnecting",t.vpnData.stateClass="yellow-clear-text"),t.initialVpnStateObtained?t.lastVpnState!==t.vpnData.state&&(t.lastVpnState=t.vpnData.state,t.showVpnStateAnimation=!1,t.showVpnStateChangeAnimationSubscription&&t.showVpnStateChangeAnimationSubscription.unsubscribe(),t.showVpnStateChangeAnimationSubscription=Je(0).pipe(Mi(1)).subscribe(function(){return t.showVpnStateAnimation=!0})):(t.initialVpnStateObtained=!0,t.lastVpnState=t.vpnData.state),t.showVpnStateAnimatedDot=!1,t.showVpnStateAnimatedDotSubscription&&t.showVpnStateAnimatedDotSubscription.unsubscribe(),t.showVpnStateAnimatedDotSubscription=Je(0).pipe(Mi(1)).subscribe(function(){return t.showVpnStateAnimatedDot=!0}))}),this.errorsConnectingToVpnSubscription=this.vpnClientService.errorsConnecting.subscribe(function(a){t.errorsConnectingToVpn=a})}},{key:"stopGettingVpnInfo",value:function(){this.showVpnInfo=!1,this.vpnDataSubscription&&this.vpnDataSubscription.unsubscribe(),this.errorsConnectingToVpnSubscription&&this.errorsConnectingToVpnSubscription.unsubscribe()}},{key:"getLatencyValueString",value:function(t){return Gr.getLatencyValueString(t)}},{key:"getPrintableLatency",value:function(t){return Gr.getPrintableLatency(t)}},{key:"requestAction",value:function(t){this.optionSelected.emit(t)}},{key:"openLanguageWindow",value:function(){lE.openDialog(this.dialog)}},{key:"sendRefreshEvent",value:function(){this.refreshRequested.emit()}},{key:"openTabSelector",value:function(){var t=this,a=[];this.tabsData.forEach(function(o){a.push({label:o.label,icon:o.icon})}),Bi.openDialog(this.dialog,a,"tabs-window.title").afterClosed().subscribe(function(o){o&&(o-=1)!==t.selectedTabIndex&&t.router.navigate(t.tabsData[o].linkParts)})}},{key:"updateVpnDataStatsUnit",value:function(){var t=this.vpnSavedDataService.getDataUnitsSetting();this.showVpnDataStatsInBits=t===Xi.BitsSpeedAndBytesVolume||t===Xi.OnlyBits}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(vv),B(Gn),B(an),B(yc),B(Al))},n.\u0275cmp=qe({type:n,selectors:[["app-top-bar"]],inputs:{disableMouse:"disableMouse",titleParts:"titleParts",tabsData:"tabsData",selectedTabIndex:"selectedTabIndex",optionsData:"optionsData",returnText:"returnText",secondsSinceLastUpdate:"secondsSinceLastUpdate",showLoading:"showLoading",showAlert:"showAlert",refeshRate:"refeshRate",showUpdateButton:"showUpdateButton",localVpnKey:"localVpnKey"},outputs:{refreshRequested:"refreshRequested",optionSelected:"optionSelected"},decls:29,vars:31,consts:[[1,"top-bar",3,"ngClass"],[1,"button-container"],["mat-icon-button","","class","transparent-button",3,"click",4,"ngIf"],[1,"logo-container"],[4,"ngIf"],["mat-icon-button","",1,"transparent-button",3,"matMenuTriggerFor"],[1,"top-bar-margin",3,"ngClass"],[3,"overlapTrigger"],["menu","matMenu"],["class","menu-separator",4,"ngIf"],["mat-menu-item","",3,"click",4,"ngIf"],[1,"main-container",3,"ngClass"],[1,"main-area"],[1,"title",3,"ngClass"],["class","return-container",4,"ngIf"],["class","title-text",4,"ngIf"],["class","title-image","src","./assets/img/logo-vpn.png",4,"ngIf"],[1,"lower-container"],[3,"ngClass",4,"ngFor","ngForOf"],["class","d-md-none",3,"ngClass",4,"ngIf"],[1,"blank-space"],["class","right-container",4,"ngIf"],["class","remote-vpn-alert-container",4,"ngIf"],["mat-icon-button","",1,"transparent-button",3,"click"],["src","/assets/img/logo-s.png"],[4,"ngFor","ngForOf"],["mat-menu-item","",3,"disabled","click"],[3,"ngClass"],[1,"menu-separator"],["mat-menu-item","",3,"click"],["class","flag",3,"src",4,"ngIf"],[1,"flag",3,"src"],[1,"return-container"],[1,"return-button","transparent-button",3,"matTooltip","click"],[3,"inline"],[1,"title-text"],["src","./assets/img/logo-vpn.png",1,"title-image"],["mat-button","",1,"tab-button","white-theme",3,"disabled","routerLink","ngClass"],[1,"d-md-none",3,"ngClass"],["mat-button","",1,"tab-button","select-tab-button","white-theme",3,"ngClass","click"],[1,"right-container"],[3,"secondsSinceLastUpdate","showLoading","showAlert","refeshRate","click",4,"ngIf"],["mat-button","",1,"menu-button","subtle-transparent-button","d-none","d-lg-block",3,"matMenuTriggerFor"],[3,"secondsSinceLastUpdate","showLoading","showAlert","refeshRate","click"],[1,"top-text-vpn-container"],["class","languaje-button-vpn",4,"ngIf"],[1,"elements-separator"],["class","connection-error-msg-vpn blinking",3,"matTooltip",4,"ngIf"],[1,"vpn-info","vpn-dark-box-radius"],["cellspacing","0","cellpadding","0",4,"ngIf"],[3,"diameter",4,"ngIf"],[1,"languaje-button-vpn"],[1,"text-container",3,"click"],[1,"language-flag",3,"src"],[1,"connection-error-msg-vpn","blinking",3,"matTooltip"],["cellspacing","0","cellpadding","0"],[3,"matTooltip"],[1,"internal-animation-container"],[1,"animation-area"],[1,"state-icon",3,"inline"],["class","aminated-state-icon-container",4,"ngIf"],[1,"aminated-state-icon-container"],[3,"diameter"],[1,"remote-vpn-alert-container"],[1,"top-line"],[1,"bottom-line"]],template:function(e,t){if(1&e&&(E(0,"div",0)(1,"div",1),q(2,kW,3,0,"button",2),P(),E(3,"div",3),q(4,MW,2,0,"ng-container",4),q(5,CW,3,3,"ng-container",4),P(),E(6,"div",1)(7,"button",5)(8,"mat-icon"),R(9,"menu"),P()()()(),Te(10,"div",6),E(11,"mat-menu",7,8),q(13,TW,3,2,"ng-container",4),q(14,LW,1,0,"div",9),q(15,PW,4,4,"div",10),P(),E(16,"div",11)(17,"div",12)(18,"div",13),q(19,xW,5,4,"div",14),q(20,OW,3,3,"span",15),q(21,IW,1,0,"img",16),P(),E(22,"div",17),q(23,FW,7,15,"div",18),q(24,NW,9,13,"div",19),Te(25,"div",20),q(26,HW,5,3,"div",21),P()(),q(27,qW,8,4,"div",4),P(),q(28,KW,9,7,"div",22)),2&e){var a=sr(12);S("ngClass",En(20,EE,!t.showVpnInfo,t.showVpnInfo)),p(2),S("ngIf",t.returnText),p(2),S("ngIf",!t.titleParts||t.titleParts.length<2),p(1),S("ngIf",t.titleParts&&t.titleParts.length>=2),p(2),S("matMenuTriggerFor",a),p(3),S("ngClass",En(23,EE,!t.showVpnInfo,t.showVpnInfo)),p(1),S("overlapTrigger",!1),p(2),S("ngIf",t.optionsData&&t.optionsData.length>=1),p(1),S("ngIf",!t.hideLanguageButton&&t.optionsData&&t.optionsData.length>=1),p(1),S("ngIf",!t.hideLanguageButton),p(1),S("ngClass",Qe(26,$W,!t.showVpnInfo)),p(2),S("ngClass",En(28,ZW,!t.showVpnInfo,t.showVpnInfo)),p(1),S("ngIf",t.returnText),p(1),S("ngIf",!t.showVpnInfo),p(1),S("ngIf",t.showVpnInfo),p(2),S("ngForOf",t.tabsData),p(1),S("ngIf",t.tabsData&&t.tabsData[t.selectedTabIndex]),p(2),S("ngIf",!t.showVpnInfo),p(1),S("ngIf",t.showVpnInfo),p(1),S("ngIf",t.showVpnInfo&&t.remoteAccess)}},directives:[mr,Et,yi,Mn,kc,bc,Or,ns,ur,Q8,ml,bW,Aa],pipes:[Mt,Pf],styles:["@media (max-width: 991px){.normal-height[_ngcontent-%COMP%]{height:55px!important}}.main-container[_ngcontent-%COMP%]{border-bottom:1px solid rgba(255,255,255,.15);padding-bottom:10px;margin-bottom:-5px;height:100px;display:flex}.main-container[_ngcontent-%COMP%] .main-area[_ngcontent-%COMP%]{flex-grow:1}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:.875rem;margin-bottom:15px;margin-left:5px;flex-direction:row;align-items:center}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .title-text[_ngcontent-%COMP%]{z-index:1}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .title-image[_ngcontent-%COMP%]{width:124px;height:21px}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .return-container[_ngcontent-%COMP%]{width:30px;position:relative;top:2px}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .return-container[_ngcontent-%COMP%] .return-button[_ngcontent-%COMP%]{line-height:1;font-size:25px;position:relative;top:2px;width:100%;margin-right:4px;cursor:pointer}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%]{display:flex}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .blank-space[_ngcontent-%COMP%]{flex-grow:1}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[_ngcontent-%COMP%]{color:#f8f9f9;border-radius:10px;opacity:.5;margin-right:2px;text-decoration:none;height:40px;display:flex;align-items:center}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[_ngcontent-%COMP%]:hover{opacity:.75}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[disabled][_ngcontent-%COMP%]{opacity:1!important;color:#f8f9f9;background:rgba(0,0,0,.7)!important}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{margin-right:2px;opacity:.75;font-size:18px}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:1rem;margin:0 4px;position:relative;top:-1px}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .select-tab-button[_ngcontent-%COMP%]{opacity:.75!important}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .select-tab-button[_ngcontent-%COMP%]:hover{opacity:1!important}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%]{display:flex;align-items:center}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%] app-refresh-button[_ngcontent-%COMP%]{align-self:flex-end}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%] .menu-button[_ngcontent-%COMP%]{height:32px;width:32px;min-width:0px!important;background-color:#f8f9f9;border-radius:100%;padding:0;line-height:normal;color:#929292;font-size:20px}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%] .menu-button[_ngcontent-%COMP%] .mat-button-wrapper{display:flex;justify-content:center}.menu-separator[_ngcontent-%COMP%]{width:100%;height:1px;background-color:#0000001f}.flag[_ngcontent-%COMP%]{width:24px;margin-right:16px}.transparent[_ngcontent-%COMP%]{opacity:.5}.top-bar[_ngcontent-%COMP%]{position:fixed;z-index:10;width:100%;height:56px;background-color:#f8f9f9;top:0;left:0;right:0;color:#202226;display:flex}.top-bar[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%]{flex-grow:1;display:flex;justify-content:center;align-items:center}.top-bar[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:28px}.top-bar[_ngcontent-%COMP%] .button-container[_ngcontent-%COMP%]{flex-shrink:0;width:56px}.top-bar[_ngcontent-%COMP%] .button-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:56px;height:56px}.top-bar-margin[_ngcontent-%COMP%]{margin-top:56px;flex-shrink:0}.vpn-info[_ngcontent-%COMP%]{font-size:.7rem;background:rgba(0,0,0,.7);padding:15px 20px;align-self:center}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] .state-td[_ngcontent-%COMP%]{font-weight:700}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:2px 0;min-width:90px}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:3px;font-size:12px;position:relative;top:1px;-webkit-user-select:none;user-select:none;width:auto}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .state-icon[_ngcontent-%COMP%]{transform:scale(.75)}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .aminated-state-icon-container[_ngcontent-%COMP%]{width:0px;height:0px}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .aminated-state-icon-container[_ngcontent-%COMP%] .state-icon[_ngcontent-%COMP%]{height:auto;animation:state-icon-animation 1s linear 1}@keyframes state-icon-animation{0%{transform:perspective(1px) scale(1);opacity:.8}to{transform:scale(2);opacity:0}}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .animation-container[_ngcontent-%COMP%]{width:0px;height:0px}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .animation-container[_ngcontent-%COMP%] .internal-animation-container[_ngcontent-%COMP%]{width:200px}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .animation-container[_ngcontent-%COMP%] .internal-animation-container[_ngcontent-%COMP%] .animation-area[_ngcontent-%COMP%]{display:inline-block;animation:state-animation 1s linear 1;opacity:0}@keyframes state-animation{0%{transform:scale(1);opacity:1}to{transform:scale(2.5);opacity:0}}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-of-type{padding-right:30px}.vpn-info[_ngcontent-%COMP%] mat-spinner[_ngcontent-%COMP%] circle{stroke:#f8f9f9}.top-text-vpn-container[_ngcontent-%COMP%]{display:flex;flex-direction:row-reverse;font-size:.6rem}.top-text-vpn-container[_ngcontent-%COMP%] .connection-error-msg-vpn[_ngcontent-%COMP%]{margin:-5px 0 5px 10px;color:orange}.top-text-vpn-container[_ngcontent-%COMP%] .elements-separator[_ngcontent-%COMP%]{flex-grow:1}.top-text-vpn-container[_ngcontent-%COMP%] .languaje-button-vpn[_ngcontent-%COMP%]{margin:-5px 10px 5px 0}.top-text-vpn-container[_ngcontent-%COMP%] .languaje-button-vpn[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]{cursor:pointer;display:inline;opacity:.8}.top-text-vpn-container[_ngcontent-%COMP%] .languaje-button-vpn[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]:hover{opacity:1}.top-text-vpn-container[_ngcontent-%COMP%] .languaje-button-vpn[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .language-flag[_ngcontent-%COMP%]{width:11px;height:11px;margin-right:2px}.remote-vpn-alert-container[_ngcontent-%COMP%]{background-color:#da3439;margin:0 -21px;padding:10px 20px 15px;text-align:center}.remote-vpn-alert-container[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:14px}.remote-vpn-alert-container[_ngcontent-%COMP%] .top-line[_ngcontent-%COMP%]{font-size:1.25rem}.remote-vpn-alert-container[_ngcontent-%COMP%] .bottom-line[_ngcontent-%COMP%]{font-size:.8rem}"]}),n}(),PE=function(){return["1"]};function QW(n,i){if(1&n&&(E(0,"a",10)(1,"mat-icon",11),R(2,"chevron_left"),P(),R(3),Y(4,"translate"),P()),2&n){var e=K();S("routerLink",e.linkParts.concat(Nn(6,PE)))("queryParams",e.queryParams),p(1),S("inline",!0),p(2),ye(" ",U(4,4,"paginator.first")," ")}}function JW(n,i){if(1&n&&(E(0,"a",12)(1,"mat-icon",11),R(2,"chevron_left"),P(),E(3,"span",13),R(4),Y(5,"translate"),P()()),2&n){var e=K();S("routerLink",e.linkParts.concat(Nn(6,PE)))("queryParams",e.queryParams),p(1),S("inline",!0),p(3),ge(U(5,4,"paginator.first"))}}var Ns=function(i){return[i]};function XW(n,i){if(1&n&&(E(0,"a",10)(1,"div")(2,"mat-icon",11),R(3,"chevron_left"),P()()()),2&n){var e=K();S("routerLink",e.linkParts.concat(Qe(3,Ns,(e.currentPage-1).toString())))("queryParams",e.queryParams),p(2),S("inline",!0)}}function eG(n,i){if(1&n&&(E(0,"a",10),R(1),P()),2&n){var e=K();S("routerLink",e.linkParts.concat(Qe(3,Ns,(e.currentPage-2).toString())))("queryParams",e.queryParams),p(1),ge(e.currentPage-2)}}function tG(n,i){if(1&n&&(E(0,"a",14),R(1),P()),2&n){var e=K();S("routerLink",e.linkParts.concat(Qe(3,Ns,(e.currentPage-1).toString())))("queryParams",e.queryParams),p(1),ge(e.currentPage-1)}}function nG(n,i){if(1&n&&(E(0,"a",14),R(1),P()),2&n){var e=K();S("routerLink",e.linkParts.concat(Qe(3,Ns,(e.currentPage+1).toString())))("queryParams",e.queryParams),p(1),ge(e.currentPage+1)}}function rG(n,i){if(1&n&&(E(0,"a",10),R(1),P()),2&n){var e=K();S("routerLink",e.linkParts.concat(Qe(3,Ns,(e.currentPage+2).toString())))("queryParams",e.queryParams),p(1),ge(e.currentPage+2)}}function iG(n,i){if(1&n&&(E(0,"a",10)(1,"div")(2,"mat-icon",11),R(3,"chevron_right"),P()()()),2&n){var e=K();S("routerLink",e.linkParts.concat(Qe(3,Ns,(e.currentPage+1).toString())))("queryParams",e.queryParams),p(2),S("inline",!0)}}function aG(n,i){if(1&n&&(E(0,"a",10),R(1),Y(2,"translate"),E(3,"mat-icon",11),R(4,"chevron_right"),P()()),2&n){var e=K();S("routerLink",e.linkParts.concat(Qe(6,Ns,e.numberOfPages.toString())))("queryParams",e.queryParams),p(1),ye(" ",U(2,4,"paginator.last")," "),p(2),S("inline",!0)}}function oG(n,i){if(1&n&&(E(0,"a",12)(1,"mat-icon",11),R(2,"chevron_right"),P(),E(3,"span",13),R(4),Y(5,"translate"),P()()),2&n){var e=K();S("routerLink",e.linkParts.concat(Qe(6,Ns,e.numberOfPages.toString())))("queryParams",e.queryParams),p(1),S("inline",!0),p(3),ge(U(5,4,"paginator.last"))}}var xE=function(i){return{number:i}};function sG(n,i){if(1&n&&(E(0,"div",15),R(1),Y(2,"translate"),P()),2&n){var e=K();p(1),ge(xt(2,1,"paginator.total",Qe(4,xE,e.numberOfPages)))}}function lG(n,i){if(1&n&&(E(0,"div",16),R(1),Y(2,"translate"),P()),2&n){var e=K();p(1),ge(xt(2,1,"paginator.total",Qe(4,xE,e.numberOfPages)))}}var Mc=function(){var n=function(){function i(e,t){c(this,i),this.dialog=e,this.router=t,this.linkParts=[""],this.queryParams={}}return d(i,[{key:"openSelectionDialog",value:function(){for(var t=this,a=[],o=1;o<=this.numberOfPages;o++)a.push({label:o.toString()});Bi.openDialog(this.dialog,a,"paginator.select-page-title").afterClosed().subscribe(function(s){s&&t.router.navigate(t.linkParts.concat([s.toString()]),{queryParams:t.queryParams})})}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Gn),B(an))},n.\u0275cmp=qe({type:n,selectors:[["app-paginator"]],inputs:{currentPage:"currentPage",numberOfPages:"numberOfPages",linkParts:"linkParts",queryParams:"queryParams"},decls:21,vars:13,consts:[[1,"main-container"],[1,"d-inline-block","small-rounded-elevated-box","mt-3"],[1,"d-flex"],[1,"responsive-height","d-md-none"],["class","d-none d-md-flex",3,"routerLink","queryParams",4,"ngIf"],["class","d-flex d-md-none flex-column",3,"routerLink","queryParams",4,"ngIf"],[3,"routerLink","queryParams",4,"ngIf"],[1,"selected",3,"click"],["class","d-none d-md-block total-pages",4,"ngIf"],["class","d-block d-md-none total-pages",4,"ngIf"],[1,"d-none","d-md-flex",3,"routerLink","queryParams"],[3,"inline"],[1,"d-flex","d-md-none","flex-column",3,"routerLink","queryParams"],[1,"label"],[3,"routerLink","queryParams"],[1,"d-none","d-md-block","total-pages"],[1,"d-block","d-md-none","total-pages"]],template:function(e,t){1&e&&(E(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),R(4,"\xa0"),Te(5,"br"),R(6,"\xa0"),P(),q(7,QW,5,7,"a",4),q(8,JW,6,7,"a",5),q(9,XW,4,5,"a",4),q(10,eG,2,5,"a",4),q(11,tG,2,5,"a",6),E(12,"a",7),Se("click",function(){return t.openSelectionDialog()}),R(13),P(),q(14,nG,2,5,"a",6),q(15,rG,2,5,"a",4),q(16,iG,4,5,"a",4),q(17,aG,5,8,"a",4),q(18,oG,6,8,"a",5),P()(),q(19,sG,3,6,"div",8),q(20,lG,3,6,"div",9),P()),2&e&&(p(7),S("ngIf",t.currentPage>3),p(1),S("ngIf",t.currentPage>2),p(1),S("ngIf",t.currentPage>1),p(1),S("ngIf",t.currentPage>2),p(1),S("ngIf",t.currentPage>1),p(2),ge(t.currentPage),p(1),S("ngIf",t.currentPage3),p(1),S("ngIf",t.numberOfPages>2))},directives:[Et,ml,Mn],pipes:[Mt],styles:[".main-container[_ngcontent-%COMP%]{text-align:right}.main-container[_ngcontent-%COMP%] .responsive-height[_ngcontent-%COMP%]{padding:10px 0;width:0px}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:10px;border-right:rgba(255,255,255,.15) solid 1px;border-left:rgba(255,255,255,.15) solid 1px;min-width:40px;text-align:center;color:#f8f9f980;text-decoration:none;display:flex;align-items:center;justify-content:center}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background:rgba(0,0,0,.2)}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:2px}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{font-size:.7rem}.main-container[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]{color:#f8f9f9;background:rgba(0,0,0,.36);padding:10px 20px;cursor:pointer}.main-container[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]:hover{background:rgba(0,0,0,.6)}.main-container[_ngcontent-%COMP%] .total-pages[_ngcontent-%COMP%]{font-size:.6rem;margin-top:-3px;margin-right:4px}"]}),n}(),OE=function(){return["start.title"]};function uG(n,i){if(1&n&&(E(0,"div",2)(1,"div"),Te(2,"app-top-bar",3),P(),Te(3,"app-loading-indicator",4),P()),2&n){var e=K();p(2),S("titleParts",Nn(4,OE))("tabsData",e.tabsData)("selectedTabIndex",e.showDmsgInfo?1:0)("showUpdateButton",!1)}}function cG(n,i){if(1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n){var e=K().$implicit;p(1),ge(U(2,1,e.translatableValue))}}function dG(n,i){if(1&n&&(ze(0),R(1),We()),2&n){var e=K().$implicit;p(1),ge(e.value)}}function fG(n,i){if(1&n&&(E(0,"div",23)(1,"span"),R(2),Y(3,"translate"),P(),q(4,cG,3,3,"ng-container",24),q(5,dG,2,1,"ng-container",24),P()),2&n){var e=i.$implicit;p(2),ye("",U(3,3,e.filterName),": "),p(2),S("ngIf",e.translatableValue),p(1),S("ngIf",e.value)}}function hG(n,i){if(1&n){var e=tt();E(0,"div",20),Se("click",function(){return ke(e),K(2).dataFilterer.removeFilters()}),q(1,fG,6,5,"div",21),E(2,"div",22),R(3),Y(4,"translate"),P()()}if(2&n){var t=K(2);p(1),S("ngForOf",t.dataFilterer.currentFiltersTexts),p(2),ge(U(4,2,"filters.press-to-remove"))}}function pG(n,i){if(1&n){var e=tt();E(0,"mat-icon",25),Se("click",function(){return ke(e),K(2).dataFilterer.changeFilters()}),Y(1,"translate"),R(2,"filter_list"),P()}2&n&&S("inline",!0)("matTooltip",U(1,2,"filters.filter-action"))}function vG(n,i){1&n&&(E(0,"mat-icon",26),R(1,"more_horiz"),P()),2&n&&(K(),S("matMenuTriggerFor",sr(12)))}var IE=function(){return["/nodes","list"]},AE=function(){return["/nodes","dmsg"]};function mG(n,i){if(1&n&&Te(0,"app-paginator",27),2&n){var e=K(2);S("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",e.showDmsgInfo?Nn(5,AE):Nn(4,IE))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function gG(n,i){if(1&n&&(E(0,"mat-icon",42),R(1),P()),2&n){var e=K(4);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function _G(n,i){if(1&n&&(E(0,"mat-icon",42),R(1),P()),2&n){var e=K(4);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function yG(n,i){if(1&n&&(E(0,"mat-icon",42),R(1),P()),2&n){var e=K(4);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function bG(n,i){if(1&n&&(E(0,"mat-icon",42),R(1),P()),2&n){var e=K(4);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function kG(n,i){1&n&&(ze(0),R(1,"*"),We())}function MG(n,i){if(1&n&&(ze(0),E(1,"mat-icon",42),R(2),P(),q(3,kG,2,0,"ng-container",24),We()),2&n){var e=K(5);p(1),S("inline",!0),p(1),ge(e.dataSorter.sortingArrow),p(1),S("ngIf",e.dataSorter.currentlySortingByLabel)}}function CG(n,i){if(1&n){var e=tt();E(0,"th",38),Se("click",function(){ke(e);var o=K(4);return o.dataSorter.changeSortingOrder(o.dmsgServerSortData)}),R(1),Y(2,"translate"),q(3,MG,4,3,"ng-container",24),P()}if(2&n){var t=K(4);p(1),ye(" ",U(2,2,"nodes.dmsg-server")," "),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.dmsgServerSortData)}}function wG(n,i){if(1&n&&(E(0,"mat-icon",42),R(1),P()),2&n){var e=K(5);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function SG(n,i){if(1&n){var e=tt();E(0,"th",38),Se("click",function(){ke(e);var o=K(4);return o.dataSorter.changeSortingOrder(o.pingSortData)}),R(1),Y(2,"translate"),q(3,wG,2,2,"mat-icon",35),P()}if(2&n){var t=K(4);p(1),ye(" ",U(2,2,"nodes.ping")," "),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.pingSortData)}}function DG(n,i){1&n&&(E(0,"mat-icon",49),Y(1,"translate"),R(2,"star"),P()),2&n&&S("inline",!0)("matTooltip",U(1,2,"nodes.hypervisor-info"))}function TG(n,i){if(1&n){var e=tt();E(0,"app-labeled-element-text",51),Se("labelEdited",function(){return ke(e),K(6).forceDataRefresh()}),P()}if(2&n){var t=K(2).$implicit,a=K(4);Ln("id",t.dmsgServerPk),S("short",!0)("elementType",a.labeledElementTypes.DmsgServer)}}function LG(n,i){if(1&n&&(E(0,"td"),q(1,TG,1,3,"app-labeled-element-text",50),P()),2&n){var e=K().$implicit;p(1),S("ngIf",e.dmsgServerPk)}}var FE=function(i){return{time:i}};function EG(n,i){if(1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n){var e=K(2).$implicit;p(1),ye(" ",xt(2,1,"common.time-in-ms",Qe(4,FE,e.roundTripPing))," ")}}function PG(n,i){if(1&n&&(E(0,"td"),q(1,EG,3,6,"ng-container",24),P()),2&n){var e=K().$implicit;p(1),S("ngIf",e.dmsgServerPk)}}function xG(n,i){if(1&n){var e=tt();E(0,"button",47),Se("click",function(){ke(e);var a=K().$implicit;return K(4).open(a)}),Y(1,"translate"),E(2,"mat-icon",42),R(3,"chevron_right"),P()()}2&n&&(S("matTooltip",U(1,2,"nodes.view-node")),p(2),S("inline",!0))}function OG(n,i){if(1&n){var e=tt();E(0,"button",47),Se("click",function(){ke(e);var a=K().$implicit;return K(4).deleteNode(a)}),Y(1,"translate"),E(2,"mat-icon"),R(3,"close"),P()()}2&n&&S("matTooltip",U(1,1,"nodes.delete-node"))}function IG(n,i){if(1&n){var e=tt();E(0,"tr",43),Se("click",function(){var l=ke(e).$implicit;return K(4).open(l)}),E(1,"td"),q(2,DG,3,4,"mat-icon",44),P(),E(3,"td"),Te(4,"span",45),Y(5,"translate"),P(),E(6,"td"),R(7),P(),E(8,"td"),R(9),P(),q(10,LG,2,1,"td",24),q(11,PG,2,1,"td",24),E(12,"td",46),Se("click",function(s){return s.stopPropagation()}),E(13,"button",47),Se("click",function(){var l=ke(e).$implicit;return K(4).copyToClipboard(l)}),Y(14,"translate"),E(15,"mat-icon",42),R(16,"filter_none"),P()(),E(17,"button",47),Se("click",function(){var l=ke(e).$implicit;return K(4).showEditLabelDialog(l)}),Y(18,"translate"),E(19,"mat-icon",42),R(20,"short_text"),P()(),q(21,xG,4,4,"button",48),q(22,OG,4,3,"button",48),P()()}if(2&n){var t=i.$implicit,a=K(4);p(2),S("ngIf",t.isHypervisor),p(2),ua(a.nodeStatusClass(t,!0)),S("matTooltip",U(5,14,a.nodeStatusText(t,!0))),p(3),ye(" ",t.label," "),p(2),ye(" ",t.localPk," "),p(1),S("ngIf",a.showDmsgInfo),p(1),S("ngIf",a.showDmsgInfo),p(2),S("matTooltip",U(14,16,a.showDmsgInfo?"nodes.copy-data":"nodes.copy-key")),p(2),S("inline",!0),p(2),S("matTooltip",U(18,18,"labeled-element.edit-label")),p(2),S("inline",!0),p(2),S("ngIf",t.online),p(1),S("ngIf",!t.online)}}function AG(n,i){if(1&n){var e=tt();E(0,"table",32)(1,"tr")(2,"th",33),Se("click",function(){ke(e);var o=K(3);return o.dataSorter.changeSortingOrder(o.hypervisorSortData)}),Y(3,"translate"),E(4,"mat-icon",34),R(5,"star_outline"),P(),q(6,gG,2,2,"mat-icon",35),P(),E(7,"th",33),Se("click",function(){ke(e);var o=K(3);return o.dataSorter.changeSortingOrder(o.stateSortData)}),Y(8,"translate"),Te(9,"span",36),q(10,_G,2,2,"mat-icon",35),P(),E(11,"th",37),Se("click",function(){ke(e);var o=K(3);return o.dataSorter.changeSortingOrder(o.labelSortData)}),R(12),Y(13,"translate"),q(14,yG,2,2,"mat-icon",35),P(),E(15,"th",38),Se("click",function(){ke(e);var o=K(3);return o.dataSorter.changeSortingOrder(o.keySortData)}),R(16),Y(17,"translate"),q(18,bG,2,2,"mat-icon",35),P(),q(19,CG,4,4,"th",39),q(20,SG,4,4,"th",39),Te(21,"th",40),P(),q(22,IG,23,20,"tr",41),P()}if(2&n){var t=K(3);p(2),S("matTooltip",U(3,11,"nodes.hypervisor")),p(4),S("ngIf",t.dataSorter.currentSortingColumn===t.hypervisorSortData),p(1),S("matTooltip",U(8,13,"nodes.state-tooltip")),p(3),S("ngIf",t.dataSorter.currentSortingColumn===t.stateSortData),p(2),ye(" ",U(13,15,"nodes.label")," "),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.labelSortData),p(2),ye(" ",U(17,17,"nodes.key")," "),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.keySortData),p(1),S("ngIf",t.showDmsgInfo),p(1),S("ngIf",t.showDmsgInfo),p(2),S("ngForOf",t.dataSource)}}function FG(n,i){1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n&&(p(1),ge(U(2,1,"tables.label")))}function RG(n,i){1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n&&(p(1),ge(U(2,1,"tables.inverted-order")))}function NG(n,i){1&n&&(E(0,"div",57)(1,"mat-icon",62),R(2,"star"),P(),R(3,"\xa0 "),E(4,"span",63),R(5),Y(6,"translate"),P()()),2&n&&(p(1),S("inline",!0),p(4),ge(U(6,2,"nodes.hypervisor")))}function YG(n,i){if(1&n){var e=tt();E(0,"div",58)(1,"span",9),R(2),Y(3,"translate"),P(),R(4,": "),E(5,"app-labeled-element-text",64),Se("labelEdited",function(){return ke(e),K(5).forceDataRefresh()}),P()()}if(2&n){var t=K().$implicit,a=K(4);p(2),ge(U(3,3,"nodes.dmsg-server")),p(3),Ln("id",t.dmsgServerPk),S("elementType",a.labeledElementTypes.DmsgServer)}}function HG(n,i){if(1&n&&(E(0,"div",57)(1,"span",9),R(2),Y(3,"translate"),P(),R(4),Y(5,"translate"),P()),2&n){var e=K().$implicit;p(2),ge(U(3,2,"nodes.ping")),p(2),ye(": ",xt(5,4,"common.time-in-ms",Qe(7,FE,e.roundTripPing))," ")}}function BG(n,i){if(1&n){var e=tt();E(0,"tr",43),Se("click",function(){var l=ke(e).$implicit;return K(4).open(l)}),E(1,"td")(2,"div",53)(3,"div",54),q(4,NG,7,4,"div",56),E(5,"div",57)(6,"span",9),R(7),Y(8,"translate"),P(),R(9,": "),E(10,"span"),R(11),Y(12,"translate"),P()(),E(13,"div",57)(14,"span",9),R(15),Y(16,"translate"),P(),R(17),P(),E(18,"div",58)(19,"span",9),R(20),Y(21,"translate"),P(),R(22),P(),q(23,YG,6,5,"div",59),q(24,HG,6,9,"div",56),P(),Te(25,"div",60),E(26,"div",55)(27,"button",61),Se("click",function(s){var u=ke(e).$implicit,f=K(4);return s.stopPropagation(),f.showOptionsDialog(u)}),Y(28,"translate"),E(29,"mat-icon"),R(30),P()()()()()()}if(2&n){var t=i.$implicit,a=K(4);p(4),S("ngIf",t.isHypervisor),p(3),ge(U(8,13,"nodes.state")),p(3),ua(a.nodeStatusClass(t,!1)+" title"),p(1),ge(U(12,15,a.nodeStatusText(t,!1))),p(4),ge(U(16,17,"nodes.label")),p(2),ye(": ",t.label," "),p(3),ge(U(21,19,"nodes.key")),p(2),ye(": ",t.localPk," "),p(1),S("ngIf",a.showDmsgInfo),p(1),S("ngIf",a.showDmsgInfo),p(3),S("matTooltip",U(28,21,"common.options")),p(3),ge("add")}}function VG(n,i){if(1&n){var e=tt();E(0,"table",52)(1,"tr",43),Se("click",function(){return ke(e),K(3).dataSorter.openSortingOrderModal()}),E(2,"td")(3,"div",53)(4,"div",54)(5,"div",9),R(6),Y(7,"translate"),P(),E(8,"div"),R(9),Y(10,"translate"),q(11,FG,3,3,"ng-container",24),q(12,RG,3,3,"ng-container",24),P()(),E(13,"div",55)(14,"mat-icon",42),R(15,"keyboard_arrow_down"),P()()()()(),q(16,BG,31,23,"tr",41),P()}if(2&n){var t=K(3);p(6),ge(U(7,6,"tables.sorting-title")),p(3),ye("",U(10,8,t.dataSorter.currentSortingColumn.label)," "),p(2),S("ngIf",t.dataSorter.currentlySortingByLabel),p(1),S("ngIf",t.dataSorter.sortingInReverseOrder),p(2),S("inline",!0),p(2),S("ngForOf",t.dataSource)}}function jG(n,i){if(1&n&&(E(0,"div",28)(1,"div",29),q(2,AG,23,19,"table",30),q(3,VG,17,10,"table",31),P()()),2&n){var e=K(2);p(2),S("ngIf",e.dataSource.length>0),p(1),S("ngIf",e.dataSource.length>0)}}function UG(n,i){if(1&n&&Te(0,"app-paginator",27),2&n){var e=K(2);S("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",e.showDmsgInfo?Nn(5,AE):Nn(4,IE))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function zG(n,i){1&n&&(E(0,"span",68),R(1),Y(2,"translate"),P()),2&n&&(p(1),ge(U(2,1,"nodes.empty")))}function WG(n,i){1&n&&(E(0,"span",68),R(1),Y(2,"translate"),P()),2&n&&(p(1),ge(U(2,1,"nodes.empty-with-filter")))}function GG(n,i){if(1&n&&(E(0,"div",28)(1,"div",65)(2,"mat-icon",66),R(3,"warning"),P(),q(4,zG,3,3,"span",67),q(5,WG,3,3,"span",67),P()()),2&n){var e=K(2);p(2),S("inline",!0),p(2),S("ngIf",0===e.allNodes.length),p(1),S("ngIf",0!==e.allNodes.length)}}var qG=function(i){return{"paginator-icons-fixer":i}};function KG(n,i){if(1&n){var e=tt();E(0,"div",5)(1,"div",6)(2,"app-top-bar",7),Se("refreshRequested",function(){return ke(e),K().forceDataRefresh(!0)})("optionSelected",function(o){return ke(e),K().performAction(o)}),P()(),E(3,"div",6)(4,"div",8)(5,"div",9),q(6,hG,5,4,"div",10),P(),E(7,"div",11)(8,"div",12),q(9,pG,3,4,"mat-icon",13),q(10,vG,2,1,"mat-icon",14),E(11,"mat-menu",15,16)(13,"div",17),Se("click",function(){return ke(e),K().removeOffline()}),R(14),Y(15,"translate"),P()()(),q(16,mG,1,6,"app-paginator",18),P()(),q(17,jG,4,2,"div",19),q(18,UG,1,6,"app-paginator",18),q(19,GG,6,3,"div",19),P()()}if(2&n){var t=K();p(2),S("titleParts",Nn(21,OE))("tabsData",t.tabsData)("selectedTabIndex",t.showDmsgInfo?1:0)("secondsSinceLastUpdate",t.secondsSinceLastUpdate)("showLoading",t.updating)("showAlert",t.errorsUpdating)("refeshRate",t.storageService.getRefreshTime())("optionsData",t.options),p(2),S("ngClass",Qe(22,qG,t.numberOfPages>1)),p(2),S("ngIf",t.dataFilterer.currentFiltersTexts&&t.dataFilterer.currentFiltersTexts.length>0),p(3),S("ngIf",t.allNodes&&t.allNodes.length>0),p(1),S("ngIf",t.dataSource.length>0),p(1),S("overlapTrigger",!1),p(2),Ln("disabled",!t.hasOfflineNodes),p(1),ye(" ",U(15,19,"nodes.delete-all-offline")," "),p(2),S("ngIf",t.numberOfPages>1),p(1),S("ngIf",0!==t.dataSource.length),p(1),S("ngIf",t.numberOfPages>1),p(1),S("ngIf",0===t.dataSource.length)}}var RE=function(){var n=function(){function i(e,t,a,o,s,l,u,f,m,C){var A=this;c(this,i),this.nodeService=e,this.router=t,this.dialog=a,this.authService=o,this.storageService=s,this.ngZone=l,this.snackbarService=u,this.clipboardService=f,this.translateService=m,this.nodesListId="nl",this.dmsgListId="dl",this.hypervisorSortData=new xn(["isHypervisor"],"nodes.hypervisor",Xt.Boolean),this.stateSortData=new xn(["online"],"nodes.state",Xt.Boolean),this.labelSortData=new xn(["label"],"nodes.label",Xt.Text),this.keySortData=new xn(["localPk"],"nodes.key",Xt.Text),this.dmsgServerSortData=new xn(["dmsgServerPk"],"nodes.dmsg-server",Xt.Text,["dmsgServerPk_label"]),this.pingSortData=new xn(["roundTripPing"],"nodes.ping",Xt.Number),this.loading=!0,this.tabsData=[],this.options=[],this.showDmsgInfo=!1,this.canLogOut=!0,this.hasUpdatableNodes=!1,this.hasOfflineNodes=!1,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"nodes.filter-dialog.online",keyNameInElementsArray:"online",type:qn.Select,printableLabelsForValues:[{value:"",label:"nodes.filter-dialog.online-options.any"},{value:"true",label:"nodes.filter-dialog.online-options.online"},{value:"false",label:"nodes.filter-dialog.online-options.offline"}]},{filterName:"nodes.filter-dialog.label",keyNameInElementsArray:"label",type:qn.TextInput,maxlength:100},{filterName:"nodes.filter-dialog.key",keyNameInElementsArray:"localPk",type:qn.TextInput,maxlength:66},{filterName:"nodes.filter-dialog.dmsg",keyNameInElementsArray:"dmsgServerPk",secondaryKeyNameInElementsArray:"dmsgServerPk_label",type:qn.TextInput,maxlength:66}],this.secondsSinceLastUpdate=0,this.lastUpdate=Date.now(),this.updating=!1,this.errorsUpdating=!1,this.lastUpdateRequestedManually=!1,this.labeledElementTypes=li,this.updateOptionsMenu(),this.authVerificationSubscription=this.authService.checkLogin().subscribe(function(J){A.canLogOut=J!==Xo.AuthDisabled,A.updateOptionsMenu()}),this.showDmsgInfo=-1!==this.router.url.indexOf("dmsg"),this.showDmsgInfo||this.filterProperties.splice(this.filterProperties.length-1);var V=[this.hypervisorSortData,this.stateSortData,this.labelSortData,this.keySortData];this.showDmsgInfo&&(V.push(this.dmsgServerSortData),V.push(this.pingSortData)),this.dataSorter=new vc(this.dialog,this.translateService,V,3,this.showDmsgInfo?this.dmsgListId:this.nodesListId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(function(){A.recalculateElementsToShow()}),this.dataFilterer=new gc(this.dialog,C,this.router,this.filterProperties,this.showDmsgInfo?this.dmsgListId:this.nodesListId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(function(J){A.filteredNodes=J,A.hasOfflineNodes=!1,A.filteredNodes.forEach(function(me){me.online||(A.hasOfflineNodes=!0)}),A.dataSorter.setData(A.filteredNodes)}),this.navigationsSubscription=C.paramMap.subscribe(function(J){if(J.has("page")){var me=Number.parseInt(J.get("page"),10);(isNaN(me)||me<1)&&(me=1),A.currentPageInUrl=me,A.recalculateElementsToShow()}}),this.tabsData=[{icon:"view_headline",label:"nodes.title",linkParts:["/nodes"]},{icon:"language",label:"nodes.dmsg-title",linkParts:["/nodes","dmsg"]},{icon:"settings",label:"settings.title",linkParts:["/settings"]}],this.languageSubscription=this.translateService.onLangChange.subscribe(function(){A.nodeService.forceNodeListRefresh()})}return d(i,[{key:"updateOptionsMenu",value:function(){this.options=[],this.hasUpdatableNodes&&this.options.push({name:"nodes.update-all",actionName:"updateAll",icon:"get_app"}),this.canLogOut&&this.options.push({name:"common.logout",actionName:"logout",icon:"power_settings_new"})}},{key:"ngOnInit",value:function(){var t=this;this.nodeService.startRequestingNodeList(),this.startGettingData(),this.ngZone.runOutsideAngular(function(){t.updateTimeSubscription=qp(5e3,5e3).subscribe(function(){return t.ngZone.run(function(){t.secondsSinceLastUpdate=Math.floor((Date.now()-t.lastUpdate)/1e3)})})})}},{key:"ngOnDestroy",value:function(){this.nodeService.stopRequestingNodeList(),this.authVerificationSubscription.unsubscribe(),this.dataSubscription.unsubscribe(),this.updateTimeSubscription.unsubscribe(),this.navigationsSubscription.unsubscribe(),this.languageSubscription.unsubscribe(),this.updateSubscription&&this.updateSubscription.unsubscribe(),this.dataSortedSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFiltererSubscription.unsubscribe(),this.dataFilterer.dispose()}},{key:"performAction",value:function(t){"logout"===t?this.logout():"updateAll"===t&&this.updateAll()}},{key:"nodeStatusClass",value:function(t,a){return t.online?t.health&&t.health.servicesHealth===eo.Unhealthy?a?"dot-yellow blinking":"yellow-text":t.health&&t.health.servicesHealth===eo.Healthy?a?"dot-green":"green-text":a?"dot-outline-gray":"":a?"dot-red":"red-text"}},{key:"nodeStatusText",value:function(t,a){return t.online?t.health&&t.health.servicesHealth===eo.Healthy?"node.statuses.online"+(a?"-tooltip":""):t.health&&t.health.servicesHealth===eo.Unhealthy?"node.statuses.partially-online"+(a?"-tooltip":""):t.health&&t.health.servicesHealth===eo.Connecting?"node.statuses.connecting"+(a?"-tooltip":""):"node.statuses.unknown"+(a?"-tooltip":""):"node.statuses.offline"+(a?"-tooltip":"")}},{key:"forceDataRefresh",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t&&(this.lastUpdateRequestedManually=!0),this.nodeService.forceNodeListRefresh()}},{key:"startGettingData",value:function(){var t=this;this.dataSubscription=this.nodeService.updatingNodeList.subscribe(function(a){return t.updating=a}),this.ngZone.runOutsideAngular(function(){t.dataSubscription.add(t.nodeService.nodeList.subscribe(function(a){t.ngZone.run(function(){a&&(a.data&&!a.error?(t.allNodes=a.data,t.hasUpdatableNodes=!1,t.allNodes.forEach(function(o){$t.checkIfTagIsUpdatable(o.buildTag)&&(t.hasUpdatableNodes=!0)}),t.updateOptionsMenu(),t.showDmsgInfo&&t.allNodes.forEach(function(o){o.dmsgServerPk_label=ts.getCompleteLabel(t.storageService,t.translateService,o.dmsgServerPk)}),t.dataFilterer.setData(t.allNodes),t.loading=!1,t.snackbarService.closeCurrentIfTemporaryError(),t.lastUpdate=a.momentOfLastCorrectUpdate,t.secondsSinceLastUpdate=Math.floor((Date.now()-a.momentOfLastCorrectUpdate)/1e3),t.errorsUpdating=!1,t.lastUpdateRequestedManually&&(t.snackbarService.showDone("common.refreshed",null),t.lastUpdateRequestedManually=!1)):a.error&&(t.errorsUpdating||t.snackbarService.showError(t.loading?"common.loading-error":"nodes.error-load",null,!0,a.error),t.errorsUpdating=!0))})}))})}},{key:"recalculateElementsToShow",value:function(){if(this.currentPage=this.currentPageInUrl,this.filteredNodes){var t=Kt.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredNodes.length/t),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);var a=t*(this.currentPage-1);this.nodesToShow=this.filteredNodes.slice(a,a+t)}else this.nodesToShow=null;this.nodesToShow&&(this.dataSource=this.nodesToShow)}},{key:"logout",value:function(){var t=this,a=$t.createConfirmationDialog(this.dialog,"common.logout-confirmation");a.componentInstance.operationAccepted.subscribe(function(){a.componentInstance.closeModal(),t.authService.logout().subscribe(function(){return t.router.navigate(["login"])},function(){return t.snackbarService.showError("common.logout-error")})})}},{key:"updateAll",value:function(){if(this.dataSource&&0!==this.dataSource.length){var t=[];this.dataSource.forEach(function(a){a.online&&$t.checkIfTagIsUpdatable(a.buildTag)&&t.push({key:a.localPk,label:a.label})}),_E.openDialog(this.dialog,t)}else this.snackbarService.showError("nodes.no-visors-to-update")}},{key:"recursivelyUpdateWallets",value:function(t,a){var o=this,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return this.nodeService.update(t[t.length-1]).pipe(Ki(function(){return Je(null)}),Dn(function(l){return l&&l.updated&&!l.error?o.snackbarService.showDone(o.translateService.instant("nodes.update.done",{name:a[a.length-1]})):(o.snackbarService.showError(o.translateService.instant("nodes.update.update-error",{name:a[a.length-1]})),s+=1),t.pop(),a.pop(),t.length>=1?o.recursivelyUpdateWallets(t,a,s):Je(s)}))}},{key:"showOptionsDialog",value:function(t){var a=this,o=[{icon:"filter_none",label:"nodes.copy-key"}];this.showDmsgInfo&&o.push({icon:"filter_none",label:"nodes.copy-dmsg"}),o.push({icon:"short_text",label:"labeled-element.edit-label"}),t.online||o.push({icon:"close",label:"nodes.delete-node"}),Bi.openDialog(this.dialog,o,"common.options").afterClosed().subscribe(function(s){1===s?a.copySpecificTextToClipboard(t.localPk):a.showDmsgInfo?2===s?a.copySpecificTextToClipboard(t.dmsgServerPk):3===s?a.showEditLabelDialog(t):4===s&&a.deleteNode(t):2===s?a.showEditLabelDialog(t):3===s&&a.deleteNode(t)})}},{key:"copyToClipboard",value:function(t){var a=this;this.showDmsgInfo?Bi.openDialog(this.dialog,[{icon:"filter_none",label:"nodes.key"},{icon:"filter_none",label:"nodes.dmsg-server"}],"common.options").afterClosed().subscribe(function(s){1===s?a.copySpecificTextToClipboard(t.localPk):2===s&&a.copySpecificTextToClipboard(t.dmsgServerPk)}):this.copySpecificTextToClipboard(t.localPk)}},{key:"copySpecificTextToClipboard",value:function(t){this.clipboardService.copy(t)&&this.snackbarService.showDone("copy.copied")}},{key:"showEditLabelDialog",value:function(t){var a=this,o=this.storageService.getLabelInfo(t.localPk);o||(o={id:t.localPk,label:"",identifiedElementType:li.Node}),Wb.openDialog(this.dialog,o).afterClosed().subscribe(function(s){s&&a.forceDataRefresh()})}},{key:"deleteNode",value:function(t){var a=this,o=$t.createConfirmationDialog(this.dialog,"nodes.delete-node-confirmation");o.componentInstance.operationAccepted.subscribe(function(){o.close(),a.storageService.setLocalNodesAsHidden([t.localPk],[t.ip]),a.forceDataRefresh(),a.snackbarService.showDone("nodes.deleted")})}},{key:"removeOffline",value:function(){var t=this,a="nodes.delete-all-offline-confirmation";this.dataFilterer.currentFiltersTexts&&this.dataFilterer.currentFiltersTexts.length>0&&(a="nodes.delete-all-filtered-offline-confirmation");var o=$t.createConfirmationDialog(this.dialog,a);o.componentInstance.operationAccepted.subscribe(function(){o.close();var s=[],l=[];t.filteredNodes.forEach(function(u){u.online||(s.push(u.localPk),l.push(u.ip))}),s.length>0&&(t.storageService.setLocalNodesAsHidden(s,l),t.forceDataRefresh(),1===s.length?t.snackbarService.showDone("nodes.deleted-singular"):t.snackbarService.showDone("nodes.deleted-plural",{number:s.length}))})}},{key:"open",value:function(t){t.online&&this.router.navigate(["nodes",t.localPk])}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Il),B(an),B(Gn),B(_f),B($i),B(bt),B(In),B(Sf),B(bi),B(si))},n.\u0275cmp=qe({type:n,selectors:[["app-node-list"]],decls:2,vars:2,consts:[["class","d-flex flex-column h-100 w-100",4,"ngIf"],["class","row",4,"ngIf"],[1,"d-flex","flex-column","h-100","w-100"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton"],[1,"h-100"],[1,"row"],[1,"col-12"],[3,"titleParts","tabsData","selectedTabIndex","secondsSinceLastUpdate","showLoading","showAlert","refeshRate","optionsData","refreshRequested","optionSelected"],[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],["class","small-icon",3,"inline","matTooltip","click",4,"ngIf"],[3,"matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","matTooltip","click"],[3,"matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow","full-node-list-margins"],["class","responsive-table-translucid d-none d-md-table","cellspacing","0","cellpadding","0",4,"ngIf"],["class","responsive-table-translucid d-md-none nowrap","cellspacing","0","cellpadding","0",4,"ngIf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table"],[1,"sortable-column","small-column",3,"matTooltip","click"],[1,"hypervisor-icon","grey-text"],[3,"inline",4,"ngIf"],[1,"dot-outline-gray"],[1,"sortable-column","labels",3,"click"],[1,"sortable-column",3,"click"],["class","sortable-column",3,"click",4,"ngIf"],[1,"actions"],["class","selectable",3,"click",4,"ngFor","ngForOf"],[3,"inline"],[1,"selectable",3,"click"],["class","hypervisor-icon",3,"inline","matTooltip",4,"ngIf"],[3,"matTooltip"],[1,"actions",3,"click"],["mat-icon-button","",1,"big-action-button","transparent-button",3,"matTooltip","click"],["mat-icon-button","","class","big-action-button transparent-button",3,"matTooltip","click",4,"ngIf"],[1,"hypervisor-icon",3,"inline","matTooltip"],["shortTextLength","4",3,"short","id","elementType","labelEdited",4,"ngIf"],["shortTextLength","4",3,"short","id","elementType","labelEdited"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none","nowrap"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],["class","list-row",4,"ngIf"],[1,"list-row"],[1,"list-row","long-content"],["class","list-row long-content",4,"ngIf"],[1,"margin-part"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],[1,"hypervisor-icon",3,"inline"],[1,"yellow-clear-text","title"],[3,"id","elementType","labelEdited"],[1,"box-internal-container","font-sm"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(e,t){1&e&&(q(0,uG,4,5,"div",0),q(1,KG,20,24,"div",1)),2&e&&(S("ngIf",t.loading),p(1),S("ngIf",!t.loading))},directives:[Et,Fl,es,mr,Or,Mn,ur,kc,bc,ns,Mc,ts,yi],pipes:[Mt],styles:[".labels[_ngcontent-%COMP%]{width:15%}.actions[_ngcontent-%COMP%]{text-align:right;width:120px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}.hypervisor-icon[_ngcontent-%COMP%]{font-size:14px!important;line-height:14px!important;position:relative;top:2px;margin-left:2px;color:#d48b05}.small-column[_ngcontent-%COMP%]{width:1px}"]}),n}(),$G=["terminal"],ZG=["dialogContent"],QG=function(){var n=function(){function i(e,t,a,o){c(this,i),this.data=e,this.renderer=t,this.apiService=a,this.translate=o,this.history=[],this.historyIndex=0,this.currentInputText=""}return d(i,[{key:"ngAfterViewInit",value:function(){this.terminal=new Terminal(null),this.terminal.setWidth("100%"),this.terminal.setBackgroundColor("black"),this.terminal.setTextSize("15px"),this.terminal.blinkingCursor(!0),this.renderer.appendChild(this.terminalElement.nativeElement,this.terminal.html),this.waitForInput()}},{key:"ngOnDestroy",value:function(){this.subscription&&this.subscription.unsubscribe()}},{key:"keyEvent",value:function(t){this.terminal.hasFocus()&&this.history.length>0&&(38===t.keyCode&&(this.historyIndex===this.history.length&&(this.currentInputText=this.terminal.getInputContent()),this.historyIndex=this.historyIndex>0?this.historyIndex-1:0,this.terminal.changeInputContent(this.history[this.historyIndex])),40===t.keyCode&&(this.historyIndex=this.historyIndex/g,">")).replace(/\n/g,"
")).replace(/\t/g," ")).replace(/ /g," "),this.terminal.print(o),setTimeout(function(){a.dialogContentElement.nativeElement.scrollTop=a.dialogContentElement.nativeElement.scrollHeight})}}],[{key:"openDialog",value:function(t,a){var o=new Zn;return o.data=a,o.autoFocus=!1,o.width=Kt.largeModalWidth,t.open(i,o)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Ur),B(bo),B(El),B(bi))},n.\u0275cmp=qe({type:n,selectors:[["app-basic-terminal"]],viewQuery:function(e,t){var a;1&e&&(gt($G,5),gt(ZG,5)),2&e&&(lt(a=ut())&&(t.terminalElement=a.first),lt(a=ut())&&(t.dialogContentElement=a.first))},hostBindings:function(e,t){1&e&&Se("keyup",function(o){return t.keyEvent(o)},!1,w1)},decls:7,vars:5,consts:[[3,"headline","includeScrollableArea","includeVerticalMargins"],[3,"click"],["dialogContent",""],[1,"wrapper"],["terminal",""]],template:function(e,t){1&e&&(E(0,"app-dialog",0),Y(1,"translate"),E(2,"mat-dialog-content",1,2),Se("click",function(){return t.focusTerminal()}),E(4,"div",3),Te(5,"div",null,4),P()()()),2&e&&S("headline",U(1,3,"actions.terminal.title")+" - "+t.data.label+" ("+t.data.pk+")")("includeScrollableArea",!1)("includeVerticalMargins",!1)},directives:[_r,yb],pipes:[Mt],styles:[".mat-dialog-content[_ngcontent-%COMP%]{padding:0;margin-bottom:-24px;background:black;height:100000px}.wrapper[_ngcontent-%COMP%]{padding:20px}.wrapper[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{word-break:break-all}"]}),n}(),NE=function(){function n(i,e){c(this,n),this.canBeUpdated=!1,this.canBeRestarted=!1,this.canOpenTerminal=!1,this.options=[],this.dialog=i.get(Gn),this.router=i.get(an),this.snackbarService=i.get(In),this.nodeService=i.get(Il),this.storageService=i.get($i),this.showingFullList=e,this.returnButtonText=e?"node.title":"nodes.title",this.updateOptions()}return d(n,[{key:"updateOptions",value:function(){this.options=[],this.canOpenTerminal&&this.options.push({name:"actions.menu.terminal",actionName:"terminal",icon:"laptop"}),this.options.push({name:"actions.menu.logs",actionName:"logs",icon:"subject"}),this.canBeRestarted&&this.options.push({name:"actions.menu.reboot",actionName:"reboot",icon:"rotate_right"}),this.canBeUpdated&&this.options.push({name:"actions.menu.update",actionName:"update",icon:"get_app"})}},{key:"setCurrentNode",value:function(e){this.currentNode=e,$t.checkIfTagIsUpdatable(e.buildTag)?(this.canBeUpdated=!0,this.canBeRestarted=!0):(this.canBeUpdated=!1,this.canBeRestarted=!1),this.canOpenTerminal=$t.checkIfTagCanOpenterminal(e.buildTag),this.updateOptions()}},{key:"setCurrentNodeKey",value:function(e){this.currentNodeKey=e}},{key:"performAction",value:function(e,t){"terminal"===e?this.terminal():"update"===e?this.update():"logs"===e?window.open(window.location.origin+"/api/visors/"+t+"/runtime-logs","_blank"):"reboot"===e?this.reboot():null===e&&this.back()}},{key:"dispose",value:function(){this.rebootSubscription&&this.rebootSubscription.unsubscribe(),this.updateSubscription&&this.updateSubscription.unsubscribe()}},{key:"reboot",value:function(){var e=this,t=$t.createConfirmationDialog(this.dialog,"actions.reboot.confirmation");t.componentInstance.operationAccepted.subscribe(function(){t.componentInstance.showProcessing(),e.rebootSubscription=e.nodeService.reboot(e.currentNodeKey).subscribe(function(){e.snackbarService.showDone("actions.reboot.done"),t.close()},function(a){a=on(a),t.componentInstance.showDone("confirmation.error-header-text",a.translatableErrorMsg)})})}},{key:"update",value:function(){var e=this.storageService.getLabelInfo(this.currentNodeKey);_E.openDialog(this.dialog,[{key:this.currentNodeKey,label:e?e.label:""}])}},{key:"terminal",value:function(){var e=this;Bi.openDialog(this.dialog,[{icon:"launch",label:"actions.terminal-options.full"},{icon:"open_in_browser",label:"actions.terminal-options.simple"}],"common.options").afterClosed().subscribe(function(a){if(1===a){var o=window.location.protocol,s=window.location.host.replace("localhost:4200","127.0.0.1:8000");window.open(o+"//"+s+"/pty/"+e.currentNodeKey,"_blank","noopener noreferrer")}else 2===a&&QG.openDialog(e.dialog,{pk:e.currentNodeKey,label:e.currentNode?e.currentNode.label:""})})}},{key:"back",value:function(){this.router.navigate(this.showingFullList?["nodes",this.currentNodeKey]:["nodes"])}}]),n}();function JG(n,i){1&n&&Te(0,"app-loading-indicator")}function XG(n,i){1&n&&(E(0,"div",6)(1,"div")(2,"mat-icon",7),R(3,"error"),P(),R(4),Y(5,"translate"),P()()),2&n&&(p(2),S("inline",!0),p(2),ye(" ",U(5,2,"node.not-found")," "))}function eq(n,i){if(1&n){var e=tt();E(0,"div",2)(1,"div")(2,"app-top-bar",3),Se("optionSelected",function(o){return ke(e),K().performAction(o)}),P()(),q(3,JG,1,0,"app-loading-indicator",4),q(4,XG,6,4,"div",5),P()}if(2&n){var t=K();p(2),S("titleParts",t.titleParts)("tabsData",t.tabsData)("selectedTabIndex",t.selectedTabIndex)("showUpdateButton",!1)("optionsData",t.nodeActionsHelper?t.nodeActionsHelper.options:null)("returnText",t.nodeActionsHelper?t.nodeActionsHelper.returnButtonText:""),p(1),S("ngIf",!t.notFound),p(1),S("ngIf",t.notFound)}}function tq(n,i){1&n&&Te(0,"app-node-info-content",15),2&n&&S("nodeInfo",K(2).node)}var nq=function(i,e){return{"main-area":i,"full-size-main-area":e}},rq=function(i){return{"d-none":i}};function iq(n,i){if(1&n){var e=tt();E(0,"div",8)(1,"div",9)(2,"app-top-bar",10),Se("optionSelected",function(o){return ke(e),K().performAction(o)})("refreshRequested",function(){return ke(e),K().forceDataRefresh(!0)}),P()(),E(3,"div",9)(4,"div",11)(5,"div",12),Te(6,"router-outlet"),P()(),E(7,"div",13),q(8,tq,1,1,"app-node-info-content",14),P()()()}if(2&n){var t=K();p(2),S("titleParts",t.titleParts)("tabsData",t.tabsData)("selectedTabIndex",t.selectedTabIndex)("secondsSinceLastUpdate",t.secondsSinceLastUpdate)("showLoading",t.updating)("showAlert",t.errorsUpdating)("refeshRate",t.storageService.getRefreshTime())("optionsData",t.nodeActionsHelper?t.nodeActionsHelper.options:null)("returnText",t.nodeActionsHelper?t.nodeActionsHelper.returnButtonText:""),p(2),S("ngClass",En(12,nq,!t.showingInfo&&!t.showingFullList,t.showingInfo||t.showingFullList)),p(3),S("ngClass",Qe(15,rq,t.showingInfo||t.showingFullList)),p(1),S("ngIf",!t.showingInfo&&!t.showingFullList)}}var It=function(){var n=function(){function i(e,t,a,o,s,l,u){var f=this;c(this,i),this.storageService=e,this.nodeService=t,this.route=a,this.ngZone=o,this.snackbarService=s,this.injector=l,this.notFound=!1,this.titleParts=[],this.tabsData=[],this.selectedTabIndex=-1,this.showingInfo=!1,this.showingFullList=!1,this.secondsSinceLastUpdate=0,this.lastUpdate=Date.now(),this.updating=!1,this.errorsUpdating=!1,this.lastUpdateRequestedManually=!1,i.nodeSubject=new Za(1),i.currentInstanceInternal=this,this.navigationsSubscription=u.events.subscribe(function(m){m.urlAfterRedirects&&(i.currentNodeKey=f.route.snapshot.params.key,f.nodeActionsHelper&&f.nodeActionsHelper.setCurrentNodeKey(i.currentNodeKey),f.lastUrl=m.urlAfterRedirects,f.updateTabBar(),f.navigationsSubscription.unsubscribe(),f.nodeService.startRequestingSpecificNode(i.currentNodeKey),f.startGettingData())})}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.ngZone.runOutsideAngular(function(){t.updateTimeSubscription=qp(5e3,5e3).subscribe(function(){return t.ngZone.run(function(){t.secondsSinceLastUpdate=Math.floor((Date.now()-t.lastUpdate)/1e3)})})})}},{key:"updateTabBar",value:function(){if(this.lastUrl&&(this.lastUrl.includes("/info")||this.lastUrl.includes("/routing")||this.lastUrl.includes("/apps")&&!this.lastUrl.includes("/apps-list")))this.titleParts=["nodes.title","node.title"],this.tabsData=[{icon:"info",label:"node.tabs.info",onlyIfLessThanLg:!0,linkParts:i.currentNodeKey?["/nodes",i.currentNodeKey,"info"]:null},{icon:"shuffle",label:"node.tabs.routing",linkParts:i.currentNodeKey?["/nodes",i.currentNodeKey,"routing"]:null},{icon:"apps",label:"node.tabs.apps",linkParts:i.currentNodeKey?["/nodes",i.currentNodeKey,"apps"]:null}],this.selectedTabIndex=1,this.showingInfo=!1,this.lastUrl.includes("/info")&&(this.selectedTabIndex=0,this.showingInfo=!0),this.lastUrl.includes("/apps")&&(this.selectedTabIndex=2),this.showingFullList=!1,this.nodeActionsHelper=new NE(this.injector,this.showingFullList),this.nodeActionsHelper.setCurrentNodeKey(i.currentNodeKey),this.node&&this.nodeActionsHelper.setCurrentNode(this.node);else if(this.lastUrl&&(this.lastUrl.includes("/transports")||this.lastUrl.includes("/routes")||this.lastUrl.includes("/apps-list"))){this.showingFullList=!0,this.showingInfo=!1,this.nodeActionsHelper=new NE(this.injector,this.showingFullList),this.nodeActionsHelper.setCurrentNodeKey(i.currentNodeKey),this.node&&this.nodeActionsHelper.setCurrentNode(this.node);var t="transports";this.lastUrl.includes("/routes")?t="routes":this.lastUrl.includes("/apps-list")&&(t="apps.apps-list"),this.titleParts=["nodes.title","node.title",t+".title"],this.tabsData=[{icon:"view_headline",label:t+".list-title",linkParts:[]}],this.selectedTabIndex=0}else this.titleParts=[],this.tabsData=[]}},{key:"performAction",value:function(t){this.nodeActionsHelper.performAction(t,i.currentNodeKey)}},{key:"forceDataRefresh",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t&&(this.lastUpdateRequestedManually=!0),this.nodeService.forceSpecificNodeRefresh()}},{key:"startGettingData",value:function(){var t=this;this.dataSubscription=this.nodeService.updatingSpecificNode.subscribe(function(a){return t.updating=a}),this.ngZone.runOutsideAngular(function(){t.dataSubscription.add(t.nodeService.specificNode.subscribe(function(a){t.ngZone.run(function(){if(a)if(a.data&&!a.error)t.node=a.data,i.nodeSubject.next(t.node),t.nodeActionsHelper&&t.nodeActionsHelper.setCurrentNode(t.node),t.snackbarService.closeCurrentIfTemporaryError(),t.lastUpdate=a.momentOfLastCorrectUpdate,t.secondsSinceLastUpdate=Math.floor((Date.now()-a.momentOfLastCorrectUpdate)/1e3),t.errorsUpdating=!1,t.lastUpdateRequestedManually&&(t.snackbarService.showDone("common.refreshed",null),t.lastUpdateRequestedManually=!1);else if(a.error){if(a.error.originalError&&400===a.error.originalError.status)return void(t.notFound=!0);t.errorsUpdating||t.snackbarService.showError(t.node?"node.error-load":"common.loading-error",null,!0,a.error),t.errorsUpdating=!0}})}))})}},{key:"ngOnDestroy",value:function(){this.nodeService.stopRequestingSpecificNode(),this.dataSubscription.unsubscribe(),this.updateTimeSubscription.unsubscribe(),this.navigationsSubscription.unsubscribe(),i.currentInstanceInternal=void 0,i.currentNodeKey=void 0,i.nodeSubject.complete(),i.nodeSubject=void 0,this.nodeActionsHelper.dispose()}}],[{key:"refreshCurrentDisplayedData",value:function(){i.currentInstanceInternal&&i.currentInstanceInternal.forceDataRefresh(!1)}},{key:"getCurrentNodeKey",value:function(){return i.currentNodeKey}},{key:"currentNode",get:function(){return i.nodeSubject.asObservable()}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B($i),B(Il),B(si),B(bt),B(In),B(zn),B(an))},n.\u0275cmp=qe({type:n,selectors:[["app-node"]],decls:2,vars:2,consts:[["class","d-flex flex-column h-100 w-100",4,"ngIf"],["class","row",4,"ngIf"],[1,"d-flex","flex-column","h-100","w-100"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton","optionsData","returnText","optionSelected"],[4,"ngIf"],["class","w-100 h-100 d-flex not-found-label",4,"ngIf"],[1,"w-100","h-100","d-flex","not-found-label"],[3,"inline"],[1,"row"],[1,"col-12"],[3,"titleParts","tabsData","selectedTabIndex","secondsSinceLastUpdate","showLoading","showAlert","refeshRate","optionsData","returnText","optionSelected","refreshRequested"],[3,"ngClass"],[1,"d-flex","flex-column","h-100"],[1,"right-bar",3,"ngClass"],[3,"nodeInfo",4,"ngIf"],[3,"nodeInfo"]],template:function(e,t){1&e&&(q(0,eq,5,8,"div",0),q(1,iq,9,17,"div",1)),2&e&&(S("ngIf",!t.node),p(1),S("ngIf",t.node))},styles:[".not-found-label[_ngcontent-%COMP%]{align-items:center;justify-content:center;font-size:1rem;position:relative}.not-found-label[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:5px;font-size:22px;opacity:.5;margin-right:3px}.full-size-main-area[_ngcontent-%COMP%], .main-area[_ngcontent-%COMP%]{width:100%}@media (min-width: 992px){.main-area[_ngcontent-%COMP%]{width:73%;padding-right:20px;float:left}}.right-bar[_ngcontent-%COMP%]{width:27%;float:right;display:none}@media (min-width: 992px){.right-bar[_ngcontent-%COMP%]{display:block;width:27%;float:right}}"]}),n}();function aq(n,i){if(1&n&&(E(0,"mat-option",8),R(1),Y(2,"translate"),P()),2&n){var e=i.$implicit;Ln("value",e),p(1),xi(" ",e," ",U(2,3,"settings.seconds")," ")}}var oq=function(){var n=function(){function i(e,t,a){c(this,i),this.formBuilder=e,this.storageService=t,this.snackbarService=a,this.timesList=["3","5","10","15","30","60","90","150","300"]}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.form=this.formBuilder.group({refreshRate:[this.storageService.getRefreshTime().toString()]}),this.subscription=this.form.get("refreshRate").valueChanges.subscribe(function(a){t.storageService.setRefreshTime(a),t.snackbarService.showDone("settings.refresh-rate-confirmation")})}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Zi),B($i),B(In))},n.\u0275cmp=qe({type:n,selectors:[["app-refresh-rate"]],decls:11,vars:9,consts:[[1,"rounded-elevated-box"],[1,"box-internal-container","overflow"],[1,"white-form-help-icon-container"],[3,"inline","matTooltip"],[3,"formGroup"],[1,"white-form-field"],["formControlName","refreshRate",3,"placeholder"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(e,t){1&e&&(E(0,"div",0)(1,"div",1)(2,"div",2)(3,"mat-icon",3),Y(4,"translate"),R(5," help "),P()(),E(6,"form",4)(7,"mat-form-field",5)(8,"mat-select",6),Y(9,"translate"),q(10,aq,3,5,"mat-option",7),P()()()()()),2&e&&(p(3),S("inline",!0)("matTooltip",U(4,5,"settings.refresh-rate-help")),p(3),S("formGroup",t.form),p(2),S("placeholder",U(9,7,"settings.refresh-rate")),p(2),S("ngForOf",t.timesList))},directives:[Mn,ur,ei,Xr,gr,ki,Tf,Jr,zr,Or,lc],pipes:[Mt],styles:["mat-form-field[_ngcontent-%COMP%]{margin-right:32px}mat-form-field[_ngcontent-%COMP%] .mat-form-field-wrapper{padding-bottom:0!important}mat-form-field[_ngcontent-%COMP%] .mat-form-field-underline{bottom:0!important}"]}),n}(),sq=["input"],lq=function(i){return{enterDuration:i}},uq=["*"],cq=new Ze("mat-checkbox-default-options",{providedIn:"root",factory:YE});function YE(){return{color:"accent",clickAction:"check-indeterminate"}}var dq=0,HE=YE(),fq={provide:Ja,useExisting:yn(function(){return Ys}),multi:!0},hq=d(function n(){c(this,n)}),pq=p2(Sl(df(sc(function(){return d(function n(i){c(this,n),this._elementRef=i})}())))),Ys=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l,u,f,m){var C;return c(this,t),(C=e.call(this,a))._changeDetectorRef=o,C._focusMonitor=s,C._ngZone=l,C._animationMode=f,C._options=m,C.ariaLabel="",C.ariaLabelledby=null,C._uniqueId="mat-checkbox-".concat(++dq),C.id=C._uniqueId,C.labelPosition="after",C.name=null,C.change=new pt,C.indeterminateChange=new pt,C._onTouched=function(){},C._currentAnimationClass="",C._currentCheckState=0,C._controlValueAccessorChangeFn=function(){},C._checked=!1,C._disabled=!1,C._indeterminate=!1,C._options=C._options||HE,C.color=C.defaultColor=C._options.color||HE.color,C.tabIndex=parseInt(u)||0,C}return d(t,[{key:"inputId",get:function(){return"".concat(this.id||this._uniqueId,"-input")}},{key:"required",get:function(){return this._required},set:function(o){this._required=$n(o)}},{key:"ngAfterViewInit",value:function(){var o=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(s){s||Promise.resolve().then(function(){o._onTouched(),o._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}},{key:"ngAfterViewChecked",value:function(){}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"checked",get:function(){return this._checked},set:function(o){o!=this.checked&&(this._checked=o,this._changeDetectorRef.markForCheck())}},{key:"disabled",get:function(){return this._disabled},set:function(o){var s=$n(o);s!==this.disabled&&(this._disabled=s,this._changeDetectorRef.markForCheck())}},{key:"indeterminate",get:function(){return this._indeterminate},set:function(o){var s=o!=this._indeterminate;this._indeterminate=$n(o),s&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_onLabelTextChange",value:function(){this._changeDetectorRef.detectChanges()}},{key:"writeValue",value:function(o){this.checked=!!o}},{key:"registerOnChange",value:function(o){this._controlValueAccessorChangeFn=o}},{key:"registerOnTouched",value:function(o){this._onTouched=o}},{key:"setDisabledState",value:function(o){this.disabled=o}},{key:"_getAriaChecked",value:function(){return this.checked?"true":this.indeterminate?"mixed":"false"}},{key:"_transitionCheckState",value:function(o){var s=this._currentCheckState,l=this._elementRef.nativeElement;if(s!==o&&(this._currentAnimationClass.length>0&&l.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(s,o),this._currentCheckState=o,this._currentAnimationClass.length>0)){l.classList.add(this._currentAnimationClass);var u=this._currentAnimationClass;this._ngZone.runOutsideAngular(function(){setTimeout(function(){l.classList.remove(u)},1e3)})}}},{key:"_emitChangeEvent",value:function(){var o=new hq;o.source=this,o.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(o),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}},{key:"toggle",value:function(){this.checked=!this.checked}},{key:"_onInputClick",value:function(o){var l,s=this,u=null===(l=this._options)||void 0===l?void 0:l.clickAction;o.stopPropagation(),this.disabled||"noop"===u?!this.disabled&&"noop"===u&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==u&&Promise.resolve().then(function(){s._indeterminate=!1,s.indeterminateChange.emit(s._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}},{key:"focus",value:function(o,s){o?this._focusMonitor.focusVia(this._inputElement,o,s):this._inputElement.nativeElement.focus(s)}},{key:"_onInteractionEvent",value:function(o){o.stopPropagation()}},{key:"_getAnimationClassForCheckStateTransition",value:function(o,s){if("NoopAnimations"===this._animationMode)return"";var l="";switch(o){case 0:if(1===s)l="unchecked-checked";else{if(3!=s)return"";l="unchecked-indeterminate"}break;case 2:l=1===s?"unchecked-checked":"unchecked-indeterminate";break;case 1:l=2===s?"checked-unchecked":"checked-indeterminate";break;case 3:l=1===s?"indeterminate-checked":"indeterminate-unchecked"}return"mat-checkbox-anim-".concat(l)}},{key:"_syncIndeterminate",value:function(o){var s=this._inputElement;s&&(s.nativeElement.indeterminate=o)}}]),t}(pq);return n.\u0275fac=function(e){return new(e||n)(B(yt),B(Yn),B(Os),B(bt),Yo("tabindex"),B(ai,8),B(cq,8))},n.\u0275cmp=qe({type:n,selectors:[["mat-checkbox"]],viewQuery:function(e,t){var a;1&e&&(gt(sq,5),gt(Jo,5)),2&e&&(lt(a=ut())&&(t._inputElement=a.first),lt(a=ut())&&(t.ripple=a.first))},hostAttrs:[1,"mat-checkbox"],hostVars:14,hostBindings:function(e,t){2&e&&(tl("id",t.id),Wt("tabindex",null)("aria-label",null)("aria-labelledby",null),fn("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"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[cn([fq]),vt],ngContentSelectors:uq,decls:17,vars:21,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","aria-hidden","true",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&&(Gi(),E(0,"label",0,1)(2,"span",2)(3,"input",3,4),Se("change",function(l){return t._onInteractionEvent(l)})("click",function(l){return t._onInputClick(l)}),P(),E(5,"span",5),Te(6,"span",6),P(),Te(7,"span",7),E(8,"span",8),No(),E(9,"svg",9),Te(10,"path",10),P(),Qc(),Te(11,"span",11),P()(),E(12,"span",12,13),Se("cdkObserveContent",function(){return t._onLabelTextChange()}),E(14,"span",14),R(15,"\xa0"),P(),hr(16),P()()),2&e){var a=sr(1),o=sr(13);Wt("for",t.inputId),p(2),fn("mat-checkbox-inner-container-no-side-margin",!o.textContent||!o.textContent.trim()),p(1),S("id",t.inputId)("required",t.required)("checked",t.checked)("disabled",t.disabled)("tabIndex",t.tabIndex),Wt("value",t.value)("name",t.name)("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby)("aria-checked",t._getAriaChecked())("aria-describedby",t.ariaDescribedby),p(2),S("matRippleTrigger",a)("matRippleDisabled",t._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",Qe(19,lq,"NoopAnimations"===t._animationMode?0:150))}},directives:[Jo,rb],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{display:inline-block;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 .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-ripple{outline:solid 3px}.mat-checkbox-layout{-webkit-user-select:none;-moz-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;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-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);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;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%}\n"],encapsulation:2,changeDetection:0}),n}(),BE=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({}),n}(),gq=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({imports:[[hf,Pn,nv,BE],Pn,BE]}),n}(),_q=function(i){return{number:i}},Ov=function(){var n=d(function i(){c(this,i),this.numberOfElements=0,this.linkParts=[""],this.queryParams={}});return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=qe({type:n,selectors:[["app-view-all-link"]],inputs:{numberOfElements:"numberOfElements",linkParts:"linkParts",queryParams:"queryParams"},decls:6,vars:9,consts:[[1,"main-container"],[3,"routerLink","queryParams"],[3,"inline"]],template:function(e,t){1&e&&(E(0,"div",0)(1,"a",1),R(2),Y(3,"translate"),E(4,"mat-icon",2),R(5,"chevron_right"),P()()()),2&e&&(p(1),S("routerLink",t.linkParts)("queryParams",t.queryParams),p(1),ye(" ",xt(3,4,"view-all-link.label",Qe(7,_q,t.numberOfElements))," "),p(2),S("inline",!0))},directives:[ml,Mn],pipes:[Mt],styles:[".main-container[_ngcontent-%COMP%]{padding-top:20px;margin-bottom:4px;text-align:right;font-size:.875rem}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.main-container[_ngcontent-%COMP%]{margin:0;padding:16px}}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#f8f9f9;text-decoration:none}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:3px}"]}),n}();function yq(n,i){1&n&&(E(0,"span",14),R(1),Y(2,"translate"),E(3,"mat-icon",15),Y(4,"translate"),R(5,"help"),P()()),2&n&&(p(1),ye(" ",U(2,3,"labels.title")," "),p(2),S("inline",!0)("matTooltip",U(4,5,"labels.info")))}function bq(n,i){if(1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n){var e=K().$implicit;p(1),ge(U(2,1,e.translatableValue))}}function kq(n,i){if(1&n&&(ze(0),R(1),We()),2&n){var e=K().$implicit;p(1),ge(e.value)}}function Mq(n,i){if(1&n&&(E(0,"div",19)(1,"span"),R(2),Y(3,"translate"),P(),q(4,bq,3,3,"ng-container",20),q(5,kq,2,1,"ng-container",20),P()),2&n){var e=i.$implicit;p(2),ye("",U(3,3,e.filterName),": "),p(2),S("ngIf",e.translatableValue),p(1),S("ngIf",e.value)}}function Cq(n,i){if(1&n){var e=tt();E(0,"div",16),Se("click",function(){return ke(e),K().dataFilterer.removeFilters()}),q(1,Mq,6,5,"div",17),E(2,"div",18),R(3),Y(4,"translate"),P()()}if(2&n){var t=K();p(1),S("ngForOf",t.dataFilterer.currentFiltersTexts),p(2),ge(U(4,2,"filters.press-to-remove"))}}function wq(n,i){if(1&n){var e=tt();E(0,"mat-icon",21),Se("click",function(){return ke(e),K().dataFilterer.changeFilters()}),Y(1,"translate"),R(2,"filter_list"),P()}2&n&&S("inline",!0)("matTooltip",U(1,2,"filters.filter-action"))}function Sq(n,i){if(1&n&&(E(0,"mat-icon",22),R(1,"more_horiz"),P()),2&n){K();var e=sr(9);S("inline",!0)("matMenuTriggerFor",e)}}var qb=function(){return["/settings","labels"]};function Dq(n,i){if(1&n&&Te(0,"app-paginator",23),2&n){var e=K();S("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Nn(4,qb))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function Tq(n,i){if(1&n&&(E(0,"mat-icon",36),R(1),P()),2&n){var e=K(2);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function Lq(n,i){if(1&n&&(E(0,"mat-icon",36),R(1),P()),2&n){var e=K(2);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function Eq(n,i){if(1&n&&(E(0,"mat-icon",36),R(1),P()),2&n){var e=K(2);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function Pq(n,i){if(1&n){var e=tt();E(0,"tr")(1,"td",38)(2,"mat-checkbox",39),Se("change",function(){var l=ke(e).$implicit;return K(2).changeSelection(l)}),P()(),E(3,"td"),R(4),P(),E(5,"td"),R(6),P(),E(7,"td"),R(8),Y(9,"translate"),P(),E(10,"td",29)(11,"button",40),Se("click",function(){var l=ke(e).$implicit;return K(2).delete(l.id)}),Y(12,"translate"),E(13,"mat-icon",36),R(14,"close"),P()()()()}if(2&n){var t=i.$implicit,a=K(2);p(2),S("checked",a.selections.get(t.id)),p(2),ye(" ",t.label," "),p(2),ye(" ",t.id," "),p(2),xi(" ",a.getLabelTypeIdentification(t)[0]," - ",U(9,7,a.getLabelTypeIdentification(t)[1])," "),p(3),S("matTooltip",U(12,9,"labels.delete")),p(2),S("inline",!0)}}function xq(n,i){1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n&&(p(1),ge(U(2,1,"tables.label")))}function Oq(n,i){1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n&&(p(1),ge(U(2,1,"tables.inverted-order")))}function Iq(n,i){if(1&n){var e=tt();E(0,"tr")(1,"td")(2,"div",33)(3,"div",41)(4,"mat-checkbox",39),Se("change",function(){var l=ke(e).$implicit;return K(2).changeSelection(l)}),P()(),E(5,"div",34)(6,"div",42)(7,"span",1),R(8),Y(9,"translate"),P(),R(10),P(),E(11,"div",43)(12,"span",1),R(13),Y(14,"translate"),P(),R(15),P(),E(16,"div",42)(17,"span",1),R(18),Y(19,"translate"),P(),R(20),Y(21,"translate"),P()(),Te(22,"div",44),E(23,"div",35)(24,"button",45),Se("click",function(s){var u=ke(e).$implicit,f=K(2);return s.stopPropagation(),f.showOptionsDialog(u)}),Y(25,"translate"),E(26,"mat-icon"),R(27),P()()()()()()}if(2&n){var t=i.$implicit,a=K(2);p(4),S("checked",a.selections.get(t.id)),p(4),ge(U(9,10,"labels.label")),p(2),ye(": ",t.label," "),p(3),ge(U(14,12,"labels.id")),p(2),ye(": ",t.id," "),p(3),ge(U(19,14,"labels.type")),p(2),xi(": ",a.getLabelTypeIdentification(t)[0]," - ",U(21,16,a.getLabelTypeIdentification(t)[1])," "),p(4),S("matTooltip",U(25,18,"common.options")),p(3),ge("add")}}function Aq(n,i){if(1&n&&Te(0,"app-view-all-link",46),2&n){var e=K(2);S("numberOfElements",e.filteredLabels.length)("linkParts",Nn(3,qb))("queryParams",e.dataFilterer.currentUrlQueryParams)}}var Fq=function(i,e){return{"small-node-list-margins":i,"full-node-list-margins":e}},Rq=function(i){return{"d-lg-none d-xl-table":i}},Nq=function(i){return{"d-lg-table d-xl-none":i}};function Yq(n,i){if(1&n){var e=tt();E(0,"div",24)(1,"div",25)(2,"table",26)(3,"tr"),Te(4,"th"),E(5,"th",27),Se("click",function(){ke(e);var o=K();return o.dataSorter.changeSortingOrder(o.labelSortData)}),R(6),Y(7,"translate"),q(8,Tq,2,2,"mat-icon",28),P(),E(9,"th",27),Se("click",function(){ke(e);var o=K();return o.dataSorter.changeSortingOrder(o.idSortData)}),R(10),Y(11,"translate"),q(12,Lq,2,2,"mat-icon",28),P(),E(13,"th",27),Se("click",function(){ke(e);var o=K();return o.dataSorter.changeSortingOrder(o.typeSortData)}),R(14),Y(15,"translate"),q(16,Eq,2,2,"mat-icon",28),P(),Te(17,"th",29),P(),q(18,Pq,15,11,"tr",30),P(),E(19,"table",31)(20,"tr",32),Se("click",function(){return ke(e),K().dataSorter.openSortingOrderModal()}),E(21,"td")(22,"div",33)(23,"div",34)(24,"div",1),R(25),Y(26,"translate"),P(),E(27,"div"),R(28),Y(29,"translate"),q(30,xq,3,3,"ng-container",20),q(31,Oq,3,3,"ng-container",20),P()(),E(32,"div",35)(33,"mat-icon",36),R(34,"keyboard_arrow_down"),P()()()()(),q(35,Iq,28,20,"tr",30),P(),q(36,Aq,1,4,"app-view-all-link",37),P()()}if(2&n){var t=K();p(1),S("ngClass",En(27,Fq,t.showShortList_,!t.showShortList_)),p(1),S("ngClass",Qe(30,Rq,t.showShortList_)),p(4),ye(" ",U(7,17,"labels.label")," "),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.labelSortData),p(2),ye(" ",U(11,19,"labels.id")," "),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.idSortData),p(2),ye(" ",U(15,21,"labels.type")," "),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.typeSortData),p(2),S("ngForOf",t.dataSource),p(1),S("ngClass",Qe(32,Nq,t.showShortList_)),p(6),ge(U(26,23,"tables.sorting-title")),p(3),ye("",U(29,25,t.dataSorter.currentSortingColumn.label)," "),p(2),S("ngIf",t.dataSorter.currentlySortingByLabel),p(1),S("ngIf",t.dataSorter.sortingInReverseOrder),p(2),S("inline",!0),p(2),S("ngForOf",t.dataSource),p(1),S("ngIf",t.showShortList_&&t.numberOfPages>1)}}function Hq(n,i){1&n&&(E(0,"span",50),R(1),Y(2,"translate"),P()),2&n&&(p(1),ge(U(2,1,"labels.empty")))}function Bq(n,i){1&n&&(E(0,"span",50),R(1),Y(2,"translate"),P()),2&n&&(p(1),ge(U(2,1,"labels.empty-with-filter")))}function Vq(n,i){if(1&n&&(E(0,"div",24)(1,"div",47)(2,"mat-icon",48),R(3,"warning"),P(),q(4,Hq,3,3,"span",49),q(5,Bq,3,3,"span",49),P()()),2&n){var e=K();p(2),S("inline",!0),p(2),S("ngIf",0===e.allLabels.length),p(1),S("ngIf",0!==e.allLabels.length)}}function jq(n,i){if(1&n&&Te(0,"app-paginator",23),2&n){var e=K();S("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Nn(4,qb))("queryParams",e.dataFilterer.currentUrlQueryParams)}}var Uq=function(i){return{"paginator-icons-fixer":i}},VE=function(){var n=function(){function i(e,t,a,o,s,l){var u=this;c(this,i),this.dialog=e,this.route=t,this.router=a,this.snackbarService=o,this.translateService=s,this.storageService=l,this.listId="ll",this.labelSortData=new xn(["label"],"labels.label",Xt.Text),this.idSortData=new xn(["id"],"labels.id",Xt.Text),this.typeSortData=new xn(["identifiedElementType_sort"],"labels.type",Xt.Text),this.selections=new Map,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"labels.filter-dialog.label",keyNameInElementsArray:"label",type:qn.TextInput,maxlength:100},{filterName:"labels.filter-dialog.id",keyNameInElementsArray:"id",type:qn.TextInput,maxlength:66},{filterName:"labels.filter-dialog.type",keyNameInElementsArray:"identifiedElementType",type:qn.Select,printableLabelsForValues:[{value:"",label:"labels.filter-dialog.type-options.any"},{value:li.Node,label:"labels.filter-dialog.type-options.visor"},{value:li.DmsgServer,label:"labels.filter-dialog.type-options.dmsg-server"},{value:li.Transport,label:"labels.filter-dialog.type-options.transport"}]}],this.dataSorter=new vc(this.dialog,this.translateService,[this.labelSortData,this.idSortData,this.typeSortData],0,this.listId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(function(){u.recalculateElementsToShow()}),this.dataFilterer=new gc(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(function(m){u.filteredLabels=m,u.dataSorter.setData(u.filteredLabels)}),this.loadData(),this.navigationsSubscription=this.route.paramMap.subscribe(function(m){if(m.has("page")){var C=Number.parseInt(m.get("page"),10);(isNaN(C)||C<1)&&(C=1),u.currentPageInUrl=C,u.recalculateElementsToShow()}})}return d(i,[{key:"showShortList",set:function(t){this.showShortList_=t,this.dataSorter.setData(this.filteredLabels)}},{key:"ngOnDestroy",value:function(){this.navigationsSubscription.unsubscribe(),this.dataSortedSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFiltererSubscription.unsubscribe(),this.dataFilterer.dispose()}},{key:"loadData",value:function(){var t=this;this.allLabels=this.storageService.getSavedLabels(),this.allLabels.forEach(function(a){a.identifiedElementType_sort=t.getLabelTypeIdentification(a)[0]}),this.dataFilterer.setData(this.allLabels)}},{key:"getLabelTypeIdentification",value:function(t){return t.identifiedElementType===li.Node?["1","labels.filter-dialog.type-options.visor"]:t.identifiedElementType===li.DmsgServer?["2","labels.filter-dialog.type-options.dmsg-server"]:t.identifiedElementType===li.Transport?["3","labels.filter-dialog.type-options.transport"]:void 0}},{key:"changeSelection",value:function(t){this.selections.get(t.id)?this.selections.set(t.id,!1):this.selections.set(t.id,!0)}},{key:"hasSelectedElements",value:function(){if(!this.selections)return!1;var t=!1;return this.selections.forEach(function(a){a&&(t=!0)}),t}},{key:"changeAllSelections",value:function(t){var a=this;this.selections.forEach(function(o,s){a.selections.set(s,t)})}},{key:"deleteSelected",value:function(){var t=this,a=$t.createConfirmationDialog(this.dialog,"labels.delete-selected-confirmation");a.componentInstance.operationAccepted.subscribe(function(){a.close(),t.selections.forEach(function(o,s){o&&t.storageService.saveLabel(s,"",null)}),t.snackbarService.showDone("labels.deleted"),t.loadData()})}},{key:"showOptionsDialog",value:function(t){var a=this;Bi.openDialog(this.dialog,[{icon:"close",label:"labels.delete"}],"common.options").afterClosed().subscribe(function(s){1===s&&a.delete(t.id)})}},{key:"delete",value:function(t){var a=this,o=$t.createConfirmationDialog(this.dialog,"labels.delete-confirmation");o.componentInstance.operationAccepted.subscribe(function(){o.close(),a.storageService.saveLabel(t,"",null),a.snackbarService.showDone("labels.deleted"),a.loadData()})}},{key:"recalculateElementsToShow",value:function(){var t=this;if(this.currentPage=this.currentPageInUrl,this.filteredLabels){var a=this.showShortList_?Kt.maxShortListElements:Kt.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredLabels.length/a),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);var o=a*(this.currentPage-1);this.labelsToShow=this.filteredLabels.slice(o,o+a);var l=new Map;this.labelsToShow.forEach(function(f){l.set(f.id,!0),t.selections.has(f.id)||t.selections.set(f.id,!1)});var u=[];this.selections.forEach(function(f,m){l.has(m)||u.push(m)}),u.forEach(function(f){t.selections.delete(f)})}else this.labelsToShow=null,this.selections=new Map;this.dataSource=this.labelsToShow}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Gn),B(si),B(an),B(In),B(bi),B($i))},n.\u0275cmp=qe({type:n,selectors:[["app-label-list"]],inputs:{showShortList:"showShortList"},decls:23,vars:22,consts:[[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","uppercase",4,"ngIf"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],["class","small-icon",3,"inline","matTooltip","click",4,"ngIf"],[3,"inline","matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"uppercase"],[1,"help","d-none","d-md-inline",3,"inline","matTooltip"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","matTooltip","click"],[3,"inline","matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow",3,"ngClass"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table",3,"ngClass"],[1,"sortable-column",3,"click"],[3,"inline",4,"ngIf"],[1,"actions"],[4,"ngFor","ngForOf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none",3,"ngClass"],[1,"selectable",3,"click"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],[3,"inline"],[3,"numberOfElements","linkParts","queryParams",4,"ngIf"],[1,"selection-col"],[3,"checked","change"],["mat-icon-button","",1,"action-button","transparent-button",3,"matTooltip","click"],[1,"check-part"],[1,"list-row"],[1,"list-row","long-content"],[1,"margin-part"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],[3,"numberOfElements","linkParts","queryParams"],[1,"box-internal-container"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(e,t){1&e&&(E(0,"div",0)(1,"div",1),q(2,yq,6,7,"span",2),q(3,Cq,5,4,"div",3),P(),E(4,"div",4)(5,"div",5),q(6,wq,3,4,"mat-icon",6),q(7,Sq,2,2,"mat-icon",7),E(8,"mat-menu",8,9)(10,"div",10),Se("click",function(){return t.changeAllSelections(!0)}),R(11),Y(12,"translate"),P(),E(13,"div",10),Se("click",function(){return t.changeAllSelections(!1)}),R(14),Y(15,"translate"),P(),E(16,"div",11),Se("click",function(){return t.deleteSelected()}),R(17),Y(18,"translate"),P()()(),q(19,Dq,1,5,"app-paginator",12),P()(),q(20,Yq,37,34,"div",13),q(21,Vq,6,3,"div",13),q(22,jq,1,5,"app-paginator",12)),2&e&&(S("ngClass",Qe(20,Uq,!t.showShortList_&&t.numberOfPages>1&&t.dataSource)),p(2),S("ngIf",t.showShortList_),p(1),S("ngIf",t.dataFilterer.currentFiltersTexts&&t.dataFilterer.currentFiltersTexts.length>0),p(3),S("ngIf",t.allLabels&&t.allLabels.length>0),p(1),S("ngIf",t.dataSource&&t.dataSource.length>0),p(1),S("overlapTrigger",!1),p(3),ye(" ",U(12,14,"selection.select-all")," "),p(3),ye(" ",U(15,16,"selection.unselect-all")," "),p(2),Ln("disabled",!t.hasSelectedElements()),p(1),ye(" ",U(18,18,"selection.delete-all")," "),p(2),S("ngIf",!t.showShortList_&&t.numberOfPages>1&&t.dataSource),p(1),S("ngIf",t.dataSource&&t.dataSource.length>0),p(1),S("ngIf",!t.dataSource||0===t.dataSource.length),p(1),S("ngIf",!t.showShortList_&&t.numberOfPages>1&&t.dataSource))},directives:[mr,Et,Mn,ur,Or,kc,bc,ns,Mc,Ys,yi,Ov],pipes:[Mt],styles:[".overflow[_ngcontent-%COMP%]{display:block;width:100%;overflow-x:auto}.overflow[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.actions[_ngcontent-%COMP%]{text-align:right;width:90px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}"]}),n}();function zq(n,i){1&n&&(E(0,"span")(1,"mat-icon",15),R(2,"warning"),P(),R(3),Y(4,"translate"),P()),2&n&&(p(1),S("inline",!0),p(2),ye(" ",U(4,2,"settings.updater-config.not-saved")," "))}var Wq=function(){var n=function(){function i(e,t){c(this,i),this.snackbarService=e,this.dialog=t}return d(i,[{key:"ngOnInit",value:function(){this.initialChannel=localStorage.getItem(Qn.Channel),this.initialVersion=localStorage.getItem(Qn.Version),this.initialArchiveURL=localStorage.getItem(Qn.ArchiveURL),this.initialChecksumsURL=localStorage.getItem(Qn.ChecksumsURL),this.initialChannel||(this.initialChannel=""),this.initialVersion||(this.initialVersion=""),this.initialArchiveURL||(this.initialArchiveURL=""),this.initialChecksumsURL||(this.initialChecksumsURL=""),this.hasCustomSettings=!!(this.initialChannel||this.initialVersion||this.initialArchiveURL||this.initialChecksumsURL),this.form=new xl({channel:new Xa(this.initialChannel),version:new Xa(this.initialVersion),archiveURL:new Xa(this.initialArchiveURL),checksumsURL:new Xa(this.initialChecksumsURL)})}},{key:"ngOnDestroy",value:function(){this.subscription&&this.subscription.unsubscribe()}},{key:"dataChanged",get:function(){return this.initialChannel!==this.form.get("channel").value.trim()||this.initialVersion!==this.form.get("version").value.trim()||this.initialArchiveURL!==this.form.get("archiveURL").value.trim()||this.initialChecksumsURL!==this.form.get("checksumsURL").value.trim()}},{key:"saveSettings",value:function(){var t=this,a=this.form.get("channel").value.trim(),o=this.form.get("version").value.trim(),s=this.form.get("archiveURL").value.trim(),l=this.form.get("checksumsURL").value.trim();if(a||o||s||l){var u=$t.createConfirmationDialog(this.dialog,"settings.updater-config.save-confirmation");u.componentInstance.operationAccepted.subscribe(function(){u.close(),t.initialChannel=a,t.initialVersion=o,t.initialArchiveURL=s,t.initialChecksumsURL=l,t.hasCustomSettings=!0,localStorage.setItem(Qn.UseCustomSettings,"true"),localStorage.setItem(Qn.Channel,a),localStorage.setItem(Qn.Version,o),localStorage.setItem(Qn.ArchiveURL,s),localStorage.setItem(Qn.ChecksumsURL,l),t.snackbarService.showDone("settings.updater-config.saved")})}else this.removeSettings()}},{key:"removeSettings",value:function(){var t=this,a=$t.createConfirmationDialog(this.dialog,"settings.updater-config.remove-confirmation");a.componentInstance.operationAccepted.subscribe(function(){a.close(),t.initialChannel="",t.initialVersion="",t.initialArchiveURL="",t.initialChecksumsURL="",t.form.get("channel").setValue(""),t.form.get("version").setValue(""),t.form.get("archiveURL").setValue(""),t.form.get("checksumsURL").setValue(""),t.hasCustomSettings=!1,localStorage.removeItem(Qn.UseCustomSettings),localStorage.removeItem(Qn.Channel),localStorage.removeItem(Qn.Version),localStorage.removeItem(Qn.ArchiveURL),localStorage.removeItem(Qn.ChecksumsURL),t.snackbarService.showDone("settings.updater-config.removed")})}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(In),B(Gn))},n.\u0275cmp=qe({type:n,selectors:[["app-updater-config"]],decls:28,vars:28,consts:[[1,"rounded-elevated-box"],[1,"box-internal-container","overflow"],[1,"white-form-help-icon-container"],[3,"inline","matTooltip"],[3,"formGroup"],[1,"white-form-field"],["formControlName","channel","maxlength","255","matInput","",3,"placeholder"],["formControlName","version","maxlength","255","matInput","",3,"placeholder"],["formControlName","archiveURL","maxlength","255","matInput","",3,"placeholder"],["formControlName","checksumsURL","maxlength","255","matInput","",3,"placeholder"],[1,"mt-2","buttons-area"],[1,"text-area","red-clear-text"],[4,"ngIf"],["color","primary",1,"app-button","left-button",3,"forDarkBackground","disabled","action"],["color","primary",1,"app-button",3,"forDarkBackground","disabled","action"],[3,"inline"]],template:function(e,t){1&e&&(E(0,"div",0)(1,"div",1)(2,"div",2)(3,"mat-icon",3),Y(4,"translate"),R(5," help "),P()(),E(6,"form",4)(7,"mat-form-field",5),Te(8,"input",6),Y(9,"translate"),P(),E(10,"mat-form-field",5),Te(11,"input",7),Y(12,"translate"),P(),E(13,"mat-form-field",5),Te(14,"input",8),Y(15,"translate"),P(),E(16,"mat-form-field",5),Te(17,"input",9),Y(18,"translate"),P(),E(19,"div",10)(20,"div",11),q(21,zq,5,4,"span",12),P(),E(22,"app-button",13),Se("action",function(){return t.removeSettings()}),R(23),Y(24,"translate"),P(),E(25,"app-button",14),Se("action",function(){return t.saveSettings()}),R(26),Y(27,"translate"),P()()()()()),2&e&&(p(3),S("inline",!0)("matTooltip",U(4,14,"settings.updater-config.help")),p(3),S("formGroup",t.form),p(2),S("placeholder",U(9,16,"settings.updater-config.channel")),p(3),S("placeholder",U(12,18,"settings.updater-config.version")),p(3),S("placeholder",U(15,20,"settings.updater-config.archive-url")),p(3),S("placeholder",U(18,22,"settings.updater-config.checksum-url")),p(4),S("ngIf",t.dataChanged),p(1),S("forDarkBackground",!0)("disabled",!t.hasCustomSettings),p(1),ye(" ",U(24,24,"settings.updater-config.remove-settings")," "),p(2),S("forDarkBackground",!0)("disabled",!t.dataChanged),p(1),ye(" ",U(27,26,"settings.updater-config.save")," "))},directives:[Mn,ur,ei,Xr,gr,ki,Qr,Qi,Jr,zr,Hi,Et,ci],pipes:[Mt],styles:["mat-form-field[_ngcontent-%COMP%]{margin-right:32px}.buttons-area[_ngcontent-%COMP%]{display:flex}@media (max-width: 767px){.buttons-area[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-end}}.buttons-area[_ngcontent-%COMP%] .text-area[_ngcontent-%COMP%]{margin-right:auto;flex-grow:1}@media (max-width: 767px){.buttons-area[_ngcontent-%COMP%] .text-area[_ngcontent-%COMP%]{margin-right:32px!important}}.buttons-area[_ngcontent-%COMP%] .text-area[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:1px}.buttons-area[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%]{float:right;margin-right:32px;flex-grow:0}@media (max-width: 767px){.buttons-area[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%]{margin-top:10px}}.buttons-area[_ngcontent-%COMP%] .left-button[_ngcontent-%COMP%]{margin-right:5px!important}@media (max-width: 767px){.buttons-area[_ngcontent-%COMP%] .left-button[_ngcontent-%COMP%]{margin-right:32px!important}}"]}),n}();function Gq(n,i){if(1&n){var e=tt();E(0,"div",8),Se("click",function(){return ke(e),K().showUpdaterSettings()}),E(1,"span",9),R(2),Y(3,"translate"),P()()}2&n&&(p(2),ge(U(3,1,"settings.updater-config.open-link")))}function qq(n,i){1&n&&Te(0,"app-updater-config",10)}var Kq=function(){return["start.title"]},$q=function(){var n=function(){function i(e,t,a,o){c(this,i),this.authService=e,this.router=t,this.snackbarService=a,this.dialog=o,this.tabsData=[],this.options=[],this.mustShowUpdaterSettings=!!localStorage.getItem(Qn.UseCustomSettings),this.tabsData=[{icon:"view_headline",label:"nodes.title",linkParts:["/nodes"]},{icon:"language",label:"nodes.dmsg-title",linkParts:["/nodes","dmsg"]},{icon:"settings",label:"settings.title",linkParts:["/settings"]}],this.options=[{name:"common.logout",actionName:"logout",icon:"power_settings_new"}]}return d(i,[{key:"performAction",value:function(t){"logout"===t&&this.logout()}},{key:"logout",value:function(){var t=this,a=$t.createConfirmationDialog(this.dialog,"common.logout-confirmation");a.componentInstance.operationAccepted.subscribe(function(){a.componentInstance.closeModal(),t.authService.logout().subscribe(function(){return t.router.navigate(["login"])},function(){return t.snackbarService.showError("common.logout-error")})})}},{key:"showUpdaterSettings",value:function(){var t=this,a=$t.createConfirmationDialog(this.dialog,"settings.updater-config.open-confirmation");a.componentInstance.operationAccepted.subscribe(function(){a.close(),t.mustShowUpdaterSettings=!0})}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(_f),B(an),B(In),B(Gn))},n.\u0275cmp=qe({type:n,selectors:[["app-settings"]],decls:9,vars:9,consts:[[1,"row"],[1,"col-12"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton","optionsData","optionSelected"],[1,"content","col-12","mt-4.5"],[1,"d-block","mb-4"],[3,"showShortList"],["class","d-block mt-4",3,"click",4,"ngIf"],["class","d-block mt-4",4,"ngIf"],[1,"d-block","mt-4",3,"click"],[1,"show-link"],[1,"d-block","mt-4"]],template:function(e,t){1&e&&(E(0,"div",0)(1,"div",1)(2,"app-top-bar",2),Se("optionSelected",function(o){return t.performAction(o)}),P()(),E(3,"div",3),Te(4,"app-refresh-rate",4)(5,"app-password")(6,"app-label-list",5),q(7,Gq,4,3,"div",6),q(8,qq,1,0,"app-updater-config",7),P()()),2&e&&(p(2),S("titleParts",Nn(8,Kq))("tabsData",t.tabsData)("selectedTabIndex",2)("showUpdateButton",!1)("optionsData",t.options),p(4),S("showShortList",!0),p(1),S("ngIf",!t.mustShowUpdaterSettings),p(1),S("ngIf",t.mustShowUpdaterSettings))},directives:[Fl,oq,sE,VE,Et,Wq],pipes:[Mt],styles:[".show-link[_ngcontent-%COMP%]{cursor:pointer;font-size:.8rem}"]}),n}(),Kb=function(){var n=function(){function i(e){c(this,i),this.apiService=e}return d(i,[{key:"create",value:function(t,a,o){var s={remote_pk:a};return o&&(s.transport_type=o),this.apiService.post("visors/".concat(t,"/transports"),s)}},{key:"delete",value:function(t,a){return this.apiService.delete("visors/".concat(t,"/transports/").concat(a))}},{key:"savePersistentTransportsData",value:function(t,a){return this.apiService.put("visors/".concat(t,"/persistent-transports"),a)}},{key:"getPersistentTransports",value:function(t){return this.apiService.get("visors/".concat(t,"/persistent-transports"))}},{key:"types",value:function(t){return this.apiService.get("visors/".concat(t,"/transport-types"))}},{key:"changeAutoconnectSetting",value:function(t,a){var o={};return o.public_autoconnect=a,this.apiService.put("visors/".concat(t,"/public-autoconnect"),o)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(El))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),Zq=["button"],Qq=["firstInput"];function Jq(n,i){1&n&&Te(0,"app-loading-indicator",5),2&n&&S("showWhite",!1)}function Xq(n,i){1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n&&(p(1),ye(" ",U(2,1,"transports.dialog.errors.remote-key-length-error")," "))}function eK(n,i){1&n&&(R(0),Y(1,"translate")),2&n&&ye(" ",U(1,1,"transports.dialog.errors.remote-key-chars-error")," ")}function tK(n,i){if(1&n&&(E(0,"mat-option",16),R(1),P()),2&n){var e=i.$implicit;S("value",e),p(1),ge(e)}}function nK(n,i){if(1&n){var e=tt();E(0,"form",6)(1,"mat-form-field"),Te(2,"input",7,8),Y(4,"translate"),E(5,"mat-error"),q(6,Xq,3,3,"ng-container",9),P(),q(7,eK,2,3,"ng-template",null,10,Ls),P(),E(9,"mat-form-field"),Te(10,"input",11),Y(11,"translate"),P(),E(12,"mat-form-field")(13,"mat-select",12),Y(14,"translate"),q(15,tK,2,2,"mat-option",13),P(),E(16,"mat-error"),R(17),Y(18,"translate"),P()(),E(19,"mat-checkbox",14),Se("change",function(s){return ke(e),K().setMakePersistent(s)}),R(20),Y(21,"translate"),E(22,"mat-icon",15),Y(23,"translate"),R(24,"help"),P()()()}if(2&n){var t=sr(8),a=K();S("formGroup",a.form),p(2),S("placeholder",U(4,12,"transports.dialog.remote-key")),p(4),S("ngIf",!a.form.get("remoteKey").hasError("pattern"))("ngIfElse",t),p(4),S("placeholder",U(11,14,"transports.dialog.label")),p(3),S("placeholder",U(14,16,"transports.dialog.transport-type")),p(2),S("ngForOf",a.types),p(2),ye(" ",U(18,18,"transports.dialog.errors.transport-type-error")," "),p(2),S("checked",a.makePersistent),p(1),ye(" ",U(21,20,"transports.dialog.make-persistent")," "),p(2),S("inline",!0)("matTooltip",U(23,22,"transports.dialog.persistent-tooltip"))}}var rK=function(){var n=function(){function i(e,t,a,o,s,l){c(this,i),this.transportService=e,this.formBuilder=t,this.dialogRef=a,this.snackbarService=o,this.storageService=s,this.nodeService=l,this.makePersistent=!1,this.shouldShowError=!0}return d(i,[{key:"ngOnInit",value:function(){this.form=this.formBuilder.group({remoteKey:["",Cn.compose([Cn.required,Cn.minLength(66),Cn.maxLength(66),Cn.pattern("^[0-9a-fA-F]+$")])],label:[""],type:["",Cn.required]}),this.loadData(0)}},{key:"ngOnDestroy",value:function(){this.dataSubscription.unsubscribe(),this.operationSubscription&&this.operationSubscription.unsubscribe()}},{key:"setMakePersistent",value:function(t){this.makePersistent=!!t.checked}},{key:"create",value:function(){var t=this;if(this.form.valid&&!this.button.disabled){this.button.showLoading();var a=this.form.get("remoteKey").value,o=this.form.get("type").value,s=this.form.get("label").value;if(this.makePersistent){var l=this.transportService.getPersistentTransports(It.getCurrentNodeKey());this.operationSubscription=l.subscribe(function(u){var f=u||[],m=!1;f.forEach(function(C){C.pk.toUpperCase()===a.toUpperCase()&&C.type.toUpperCase()===o.toUpperCase()&&(m=!0)}),m?t.createTransport(a,o,s,!0):t.createPersistent(f,a,o,s)},function(u){t.onError(u)})}else this.createTransport(a,o,s,!1)}}},{key:"createPersistent",value:function(t,a,o,s){var l=this;t.push({pk:a,type:o}),this.operationSubscription=this.transportService.savePersistentTransportsData(It.getCurrentNodeKey(),t).subscribe(function(){l.createTransport(a,o,s,!0)},function(u){l.onError(u)})}},{key:"createTransport",value:function(t,a,o,s){var l=this;this.operationSubscription=this.transportService.create(It.getCurrentNodeKey(),t,a).subscribe(function(u){var f=!1;o&&(u&&u.id?l.storageService.saveLabel(u.id,o,li.Transport):f=!0),It.refreshCurrentDisplayedData(),l.dialogRef.close(),f?l.snackbarService.showWarning("transports.dialog.success-without-label"):l.snackbarService.showDone("transports.dialog.success")},function(u){s?(It.refreshCurrentDisplayedData(),l.dialogRef.close(),l.snackbarService.showWarning("transports.dialog.only-persistent-created")):l.onError(u)})}},{key:"onError",value:function(t){this.button.showError(),t=on(t),this.snackbarService.showError(t)}},{key:"loadData",value:function(t){var a=this;this.dataSubscription&&this.dataSubscription.unsubscribe(),this.dataSubscription=Je(1).pipe(Mi(t),Dn(function(){return a.transportService.types(It.getCurrentNodeKey())})).subscribe(function(o){o.sort(function(l,u){return"stcp"===l.toLowerCase()?1:"stcp"===u.toLowerCase()?-1:l.localeCompare(u)});var s=o.findIndex(function(l){return"dmsg"===l.toLowerCase()});s=-1!==s?s:0,a.types=o,a.form.get("type").setValue(o[s]),a.snackbarService.closeCurrentIfTemporaryError(),setTimeout(function(){return a.firstInput.nativeElement.focus()})},function(o){o=on(o),a.shouldShowError&&(a.snackbarService.showError("common.loading-error",null,!0,o),a.shouldShowError=!1),a.loadData(Kt.connectionRetryDelay)})}}],[{key:"openDialog",value:function(t){var a=new Zn;return a.autoFocus=!1,a.width=Kt.mediumModalWidth,t.open(i,a)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Kb),B(Zi),B(Dr),B(In),B($i),B(Il))},n.\u0275cmp=qe({type:n,selectors:[["app-create-transport"]],viewQuery:function(e,t){var a;1&e&&(gt(Zq,5),gt(Qq,5)),2&e&&(lt(a=ut())&&(t.button=a.first),lt(a=ut())&&(t.firstInput=a.first))},decls:8,vars:9,consts:[[3,"headline"],[3,"showWhite",4,"ngIf"],[3,"formGroup",4,"ngIf"],["color","primary",1,"float-right",3,"disabled","action"],["button",""],[3,"showWhite"],[3,"formGroup"],["formControlName","remoteKey","maxlength","66","matInput","",3,"placeholder"],["firstInput",""],[4,"ngIf","ngIfElse"],["hexError",""],["formControlName","label","maxlength","66","matInput","",3,"placeholder"],["formControlName","type",3,"placeholder"],[3,"value",4,"ngFor","ngForOf"],["color","primary",3,"checked","change"],[1,"help-icon",3,"inline","matTooltip"],[3,"value"]],template:function(e,t){1&e&&(E(0,"app-dialog",0),Y(1,"translate"),q(2,Jq,1,1,"app-loading-indicator",1),q(3,nK,25,24,"form",2),E(4,"app-button",3,4),Se("action",function(){return t.create()}),R(6),Y(7,"translate"),P()()),2&e&&(S("headline",U(1,5,"transports.create")),p(2),S("ngIf",!t.types),p(1),S("ngIf",t.types),p(1),S("disabled",!t.form.valid),p(2),ye(" ",U(7,7,"transports.create")," "))},directives:[_r,Et,es,ei,Xr,gr,ki,Qr,Qi,Jr,zr,Hi,wf,Tf,Or,lc,Ys,Mn,ur,ci],pipes:[Mt],styles:[""]}),n}();function iK(n,i){1&n&&(ze(0),R(1),Y(2,"translate"),E(3,"mat-icon",6),Y(4,"translate"),R(5,"help"),P(),We()),2&n&&(p(1),ye(" ",U(2,3,"common.yes")," "),p(2),S("inline",!0)("matTooltip",U(4,5,"transports.persistent-transport-tooltip")))}function aK(n,i){1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n&&(p(1),ge(U(2,1,"common.no")))}var oK=function(){var n=function(){function i(e){c(this,i),this.data=e}return d(i,null,[{key:"openDialog",value:function(t,a){var o=new Zn;return o.data=a,o.autoFocus=!1,o.width=Kt.largeModalWidth,t.open(i,o)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Ur))},n.\u0275cmp=qe({type:n,selectors:[["app-transport-details"]],decls:51,vars:44,consts:[[1,"info-dialog",3,"headline"],[1,"title","mt-0"],[3,"inline"],[1,"item"],[4,"ngIf"],[1,"title"],[1,"help-icon","d-none","d-md-inline",3,"inline","matTooltip"]],template:function(e,t){1&e&&(E(0,"app-dialog",0),Y(1,"translate"),E(2,"div")(3,"div",1)(4,"mat-icon",2),R(5,"list"),P(),R(6),Y(7,"translate"),P(),E(8,"div",3)(9,"span"),R(10),Y(11,"translate"),P(),q(12,iK,6,7,"ng-container",4),q(13,aK,3,3,"ng-container",4),P(),E(14,"div",3)(15,"span"),R(16),Y(17,"translate"),P(),R(18),P(),E(19,"div",3)(20,"span"),R(21),Y(22,"translate"),P(),R(23),P(),E(24,"div",3)(25,"span"),R(26),Y(27,"translate"),P(),R(28),P(),E(29,"div",3)(30,"span"),R(31),Y(32,"translate"),P(),R(33),P(),E(34,"div",5)(35,"mat-icon",2),R(36,"import_export"),P(),R(37),Y(38,"translate"),P(),E(39,"div",3)(40,"span"),R(41),Y(42,"translate"),P(),R(43),Y(44,"autoScale"),P(),E(45,"div",3)(46,"span"),R(47),Y(48,"translate"),P(),R(49),Y(50,"autoScale"),P()()()),2&e&&(S("headline",U(1,20,"transports.details.title")),p(4),S("inline",!0),p(2),ye("",U(7,22,"transports.details.basic.title")," "),p(4),ge(U(11,24,"transports.details.basic.persistent")),p(2),S("ngIf",t.data.isPersistent),p(1),S("ngIf",!t.data.isPersistent),p(3),ge(U(17,26,"transports.details.basic.id")),p(2),ye(" ",t.data.id," "),p(3),ge(U(22,28,"transports.details.basic.local-pk")),p(2),ye(" ",t.data.localPk," "),p(3),ge(U(27,30,"transports.details.basic.remote-pk")),p(2),ye(" ",t.data.remotePk," "),p(3),ge(U(32,32,"transports.details.basic.type")),p(2),ye(" ",t.data.type," "),p(2),S("inline",!0),p(2),ye("",U(38,34,"transports.details.data.title")," "),p(4),ge(U(42,36,"transports.details.data.uploaded")),p(2),ye(" ",U(44,38,t.data.sent)," "),p(4),ge(U(48,40,"transports.details.data.downloaded")),p(2),ye(" ",U(50,42,t.data.recv)," "))},directives:[_r,Mn,Et,ur],pipes:[Mt,Pf],styles:[".help-icon[_ngcontent-%COMP%]{opacity:.5;font-size:14px;cursor:default}"]}),n}();function sK(n,i){1&n&&(E(0,"span",15),R(1),Y(2,"translate"),E(3,"mat-icon",16),Y(4,"translate"),R(5,"help"),P()()),2&n&&(p(1),ye(" ",U(2,3,"transports.title")," "),p(2),S("inline",!0)("matTooltip",U(4,5,"transports.info")))}function lK(n,i){if(1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n){var e=K().$implicit;p(1),ge(U(2,1,e.translatableValue))}}function uK(n,i){if(1&n&&(ze(0),R(1),We()),2&n){var e=K().$implicit;p(1),ge(e.value)}}function cK(n,i){if(1&n&&(E(0,"div",20)(1,"span"),R(2),Y(3,"translate"),P(),q(4,lK,3,3,"ng-container",21),q(5,uK,2,1,"ng-container",21),P()),2&n){var e=i.$implicit;p(2),ye("",U(3,3,e.filterName),": "),p(2),S("ngIf",e.translatableValue),p(1),S("ngIf",e.value)}}function dK(n,i){if(1&n){var e=tt();E(0,"div",17),Se("click",function(){return ke(e),K().dataFilterer.removeFilters()}),q(1,cK,6,5,"div",18),E(2,"div",19),R(3),Y(4,"translate"),P()()}if(2&n){var t=K();p(1),S("ngForOf",t.dataFilterer.currentFiltersTexts),p(2),ge(U(4,2,"filters.press-to-remove"))}}function fK(n,i){if(1&n){var e=tt();E(0,"mat-icon",22),Se("click",function(){return ke(e),K().dataFilterer.changeFilters()}),R(1,"filter_list"),P()}2&n&&S("inline",!0)}function hK(n,i){if(1&n&&(E(0,"mat-icon",23),R(1,"more_horiz"),P()),2&n){K();var e=sr(11);S("inline",!0)("matMenuTriggerFor",e)}}var $b=function(i){return["/nodes",i,"transports"]};function pK(n,i){if(1&n&&Te(0,"app-paginator",24),2&n){var e=K();S("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Qe(4,$b,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function vK(n,i){if(1&n&&(E(0,"mat-icon",39),R(1),P()),2&n){var e=K(2);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function mK(n,i){1&n&&(ze(0),R(1,"*"),We())}function gK(n,i){if(1&n&&(ze(0),E(1,"mat-icon",39),R(2),P(),q(3,mK,2,0,"ng-container",21),We()),2&n){var e=K(2);p(1),S("inline",!0),p(1),ge(e.dataSorter.sortingArrow),p(1),S("ngIf",e.dataSorter.currentlySortingByLabel)}}function _K(n,i){1&n&&(ze(0),R(1,"*"),We())}function yK(n,i){if(1&n&&(ze(0),E(1,"mat-icon",39),R(2),P(),q(3,_K,2,0,"ng-container",21),We()),2&n){var e=K(2);p(1),S("inline",!0),p(1),ge(e.dataSorter.sortingArrow),p(1),S("ngIf",e.dataSorter.currentlySortingByLabel)}}function bK(n,i){if(1&n&&(E(0,"mat-icon",39),R(1),P()),2&n){var e=K(2);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function kK(n,i){if(1&n&&(E(0,"mat-icon",39),R(1),P()),2&n){var e=K(2);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function MK(n,i){if(1&n&&(E(0,"mat-icon",39),R(1),P()),2&n){var e=K(2);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function CK(n,i){if(1&n){var e=tt();E(0,"button",48),Se("click",function(){ke(e);var a=K().$implicit;return K(2).changeIfPersistent([a],!1)}),Y(1,"translate"),E(2,"mat-icon",49),R(3,"star"),P()()}2&n&&(S("matTooltip",U(1,2,"transports.persistent-transport-button-tooltip")),p(2),S("inline",!0))}function wK(n,i){if(1&n){var e=tt();E(0,"button",48),Se("click",function(){ke(e);var a=K().$implicit;return K(2).changeIfPersistent([a],!0)}),Y(1,"translate"),E(2,"mat-icon",50),R(3,"star_outline"),P()()}2&n&&(S("matTooltip",U(1,2,"transports.non-persistent-transport-button-tooltip")),p(2),S("inline",!0))}function SK(n,i){1&n&&(E(0,"span"),R(1),Y(2,"translate"),P()),2&n&&(p(1),ge(U(2,1,"transports.offline")))}function DK(n,i){if(1&n){var e=tt();E(0,"td")(1,"app-labeled-element-text",51),Se("labelEdited",function(){return ke(e),K(3).refreshData()}),P(),q(2,SK,3,3,"span",21),P()}if(2&n){var t=K().$implicit,a=K(2);p(1),Ln("id",t.id),S("short",!0)("elementType",a.labeledElementTypes.Transport),p(1),S("ngIf",t.notFound)}}function TK(n,i){1&n&&(E(0,"td"),R(1),Y(2,"translate"),P()),2&n&&(p(1),ye(" ",U(2,1,"transports.offline")," "))}function LK(n,i){if(1&n&&(E(0,"td"),R(1),Y(2,"autoScale"),P()),2&n){var e=K().$implicit;p(1),ye(" ",U(2,1,e.sent)," ")}}function EK(n,i){if(1&n&&(E(0,"td"),R(1),Y(2,"autoScale"),P()),2&n){var e=K().$implicit;p(1),ye(" ",U(2,1,e.recv)," ")}}function PK(n,i){1&n&&(E(0,"td"),R(1),Y(2,"translate"),P()),2&n&&(p(1),ye(" ",U(2,1,"transports.offline")," "))}function xK(n,i){1&n&&(E(0,"td"),R(1),Y(2,"translate"),P()),2&n&&(p(1),ye(" ",U(2,1,"transports.offline")," "))}function OK(n,i){if(1&n){var e=tt();E(0,"button",52),Se("click",function(){ke(e);var a=K().$implicit;return K(2).details(a)}),Y(1,"translate"),E(2,"mat-icon",39),R(3,"visibility"),P()()}2&n&&(S("matTooltip",U(1,2,"transports.details.title")),p(2),S("inline",!0))}function IK(n,i){if(1&n){var e=tt();E(0,"button",52),Se("click",function(){ke(e);var a=K().$implicit;return K(2).delete(a)}),Y(1,"translate"),E(2,"mat-icon",39),R(3,"close"),P()()}2&n&&(S("matTooltip",U(1,2,"transports.delete")),p(2),S("inline",!0))}var jE=function(i){return{offline:i}};function AK(n,i){if(1&n){var e=tt();E(0,"tr",42)(1,"td",43)(2,"mat-checkbox",44),Se("change",function(){var l=ke(e).$implicit;return K(2).changeSelection(l)}),P()(),E(3,"td"),q(4,CK,4,4,"button",45),q(5,wK,4,4,"button",45),P(),q(6,DK,3,4,"td",21),q(7,TK,3,3,"td",21),E(8,"td")(9,"app-labeled-element-text",46),Se("labelEdited",function(){return ke(e),K(2).refreshData()}),P()(),E(10,"td"),R(11),P(),q(12,LK,3,3,"td",21),q(13,EK,3,3,"td",21),q(14,PK,3,3,"td",21),q(15,xK,3,3,"td",21),E(16,"td",32),q(17,OK,4,4,"button",47),q(18,IK,4,4,"button",47),P()()}if(2&n){var t=i.$implicit,a=K(2);S("ngClass",Qe(15,jE,t.notFound)),p(2),S("checked",a.selections.get(t.id)),p(2),S("ngIf",t.isPersistent),p(1),S("ngIf",!t.isPersistent),p(1),S("ngIf",!t.notFound),p(1),S("ngIf",t.notFound),p(2),Ln("id",t.remotePk),S("short",!0),p(2),ye(" ",t.type," "),p(1),S("ngIf",!t.notFound),p(1),S("ngIf",!t.notFound),p(1),S("ngIf",t.notFound),p(1),S("ngIf",t.notFound),p(2),S("ngIf",!t.notFound),p(1),S("ngIf",!t.notFound)}}function FK(n,i){1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n&&(p(1),ge(U(2,1,"tables.label")))}function RK(n,i){1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n&&(p(1),ge(U(2,1,"tables.inverted-order")))}function NK(n,i){1&n&&(E(0,"div",59)(1,"div",59)(2,"mat-icon",62),R(3,"star"),P(),R(4,"\xa0 "),E(5,"span",63),R(6),Y(7,"translate"),P()()()),2&n&&(p(2),S("inline",!0),p(4),ge(U(7,2,"transports.persistent")))}function YK(n,i){if(1&n){var e=tt();E(0,"app-labeled-element-text",64),Se("labelEdited",function(){return ke(e),K(3).refreshData()}),P()}if(2&n){var t=K().$implicit,a=K(2);Ln("id",t.id),S("elementType",a.labeledElementTypes.Transport)}}function HK(n,i){1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n&&(p(1),ge(U(2,1,"transports.offline")))}function BK(n,i){if(1&n&&(ze(0),R(1),Y(2,"autoScale"),We()),2&n){var e=K().$implicit;p(1),ge(U(2,1,e.sent))}}function VK(n,i){1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n&&(p(1),ge(U(2,1,"transports.offline")))}function jK(n,i){if(1&n&&(ze(0),R(1),Y(2,"autoScale"),We()),2&n){var e=K().$implicit;p(1),ge(U(2,1,e.recv))}}function UK(n,i){1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n&&(p(1),ge(U(2,1,"transports.offline")))}function zK(n,i){if(1&n){var e=tt();E(0,"tr")(1,"td")(2,"div",53)(3,"div",54)(4,"mat-checkbox",44),Se("change",function(){var l=ke(e).$implicit;return K(2).changeSelection(l)}),P()(),E(5,"div",37),q(6,NK,8,4,"div",55),E(7,"div",56)(8,"span",1),R(9),Y(10,"translate"),P(),R(11,": "),q(12,YK,1,2,"app-labeled-element-text",57),q(13,HK,3,3,"ng-container",21),P(),E(14,"div",56)(15,"span",1),R(16),Y(17,"translate"),P(),R(18,": "),E(19,"app-labeled-element-text",58),Se("labelEdited",function(){return ke(e),K(2).refreshData()}),P()(),E(20,"div",59)(21,"span",1),R(22),Y(23,"translate"),P(),R(24),P(),E(25,"div",59)(26,"span",1),R(27),Y(28,"translate"),P(),R(29,": "),q(30,BK,3,3,"ng-container",21),q(31,VK,3,3,"ng-container",21),P(),E(32,"div",59)(33,"span",1),R(34),Y(35,"translate"),P(),R(36,": "),q(37,jK,3,3,"ng-container",21),q(38,UK,3,3,"ng-container",21),P()(),Te(39,"div",60),E(40,"div",38)(41,"button",61),Se("click",function(s){var u=ke(e).$implicit,f=K(2);return s.stopPropagation(),f.showOptionsDialog(u)}),Y(42,"translate"),E(43,"mat-icon"),R(44),P()()()()()()}if(2&n){var t=i.$implicit,a=K(2);p(2),S("ngClass",Qe(30,jE,t.notFound)),p(2),S("checked",a.selections.get(t.id)),p(2),S("ngIf",t.isPersistent),p(3),ge(U(10,18,"transports.id")),p(3),S("ngIf",!t.notFound),p(1),S("ngIf",t.notFound),p(3),ge(U(17,20,"transports.remote-node")),p(3),Ln("id",t.remotePk),p(3),ge(U(23,22,"transports.type")),p(2),ye(": ",t.type," "),p(3),ge(U(28,24,"common.uploaded")),p(3),S("ngIf",!t.notFound),p(1),S("ngIf",t.notFound),p(3),ge(U(35,26,"common.downloaded")),p(3),S("ngIf",!t.notFound),p(1),S("ngIf",t.notFound),p(3),S("matTooltip",U(42,28,"common.options")),p(3),ge("add")}}function WK(n,i){if(1&n&&Te(0,"app-view-all-link",65),2&n){var e=K(2);S("numberOfElements",e.filteredTransports.length)("linkParts",Qe(3,$b,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}var GK=function(i,e){return{"small-node-list-margins":i,"full-node-list-margins":e}},qK=function(i){return{"d-lg-none d-xl-table":i}},KK=function(i){return{"d-lg-table d-xl-none":i}};function $K(n,i){if(1&n){var e=tt();E(0,"div",25)(1,"div",26)(2,"table",27)(3,"tr"),Te(4,"th"),E(5,"th",28),Se("click",function(){ke(e);var o=K();return o.dataSorter.changeSortingOrder(o.persistentSortData)}),Y(6,"translate"),E(7,"mat-icon",29),R(8,"star_outline"),P(),q(9,vK,2,2,"mat-icon",30),P(),E(10,"th",31),Se("click",function(){ke(e);var o=K();return o.dataSorter.changeSortingOrder(o.idSortData)}),R(11),Y(12,"translate"),q(13,gK,4,3,"ng-container",21),P(),E(14,"th",31),Se("click",function(){ke(e);var o=K();return o.dataSorter.changeSortingOrder(o.remotePkSortData)}),R(15),Y(16,"translate"),q(17,yK,4,3,"ng-container",21),P(),E(18,"th",31),Se("click",function(){ke(e);var o=K();return o.dataSorter.changeSortingOrder(o.typeSortData)}),R(19),Y(20,"translate"),q(21,bK,2,2,"mat-icon",30),P(),E(22,"th",31),Se("click",function(){ke(e);var o=K();return o.dataSorter.changeSortingOrder(o.uploadedSortData)}),R(23),Y(24,"translate"),q(25,kK,2,2,"mat-icon",30),P(),E(26,"th",31),Se("click",function(){ke(e);var o=K();return o.dataSorter.changeSortingOrder(o.downloadedSortData)}),R(27),Y(28,"translate"),q(29,MK,2,2,"mat-icon",30),P(),Te(30,"th",32),P(),q(31,AK,19,17,"tr",33),P(),E(32,"table",34)(33,"tr",35),Se("click",function(){return ke(e),K().dataSorter.openSortingOrderModal()}),E(34,"td")(35,"div",36)(36,"div",37)(37,"div",1),R(38),Y(39,"translate"),P(),E(40,"div"),R(41),Y(42,"translate"),q(43,FK,3,3,"ng-container",21),q(44,RK,3,3,"ng-container",21),P()(),E(45,"div",38)(46,"mat-icon",39),R(47,"keyboard_arrow_down"),P()()()()(),q(48,zK,45,32,"tr",40),P(),q(49,WK,1,5,"app-view-all-link",41),P()()}if(2&n){var t=K();p(1),S("ngClass",En(39,GK,t.showShortList_,!t.showShortList_)),p(1),S("ngClass",Qe(42,qK,t.showShortList_)),p(3),S("matTooltip",U(6,23,"transports.persistent-tooltip")),p(4),S("ngIf",t.dataSorter.currentSortingColumn===t.persistentSortData),p(2),ye(" ",U(12,25,"transports.id")," "),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.idSortData),p(2),ye(" ",U(16,27,"transports.remote-node")," "),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.remotePkSortData),p(2),ye(" ",U(20,29,"transports.type")," "),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.typeSortData),p(2),ye(" ",U(24,31,"common.uploaded")," "),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.uploadedSortData),p(2),ye(" ",U(28,33,"common.downloaded")," "),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.downloadedSortData),p(2),S("ngForOf",t.dataSource),p(1),S("ngClass",Qe(44,KK,t.showShortList_)),p(6),ge(U(39,35,"tables.sorting-title")),p(3),ye("",U(42,37,t.dataSorter.currentSortingColumn.label)," "),p(2),S("ngIf",t.dataSorter.currentlySortingByLabel),p(1),S("ngIf",t.dataSorter.sortingInReverseOrder),p(2),S("inline",!0),p(2),S("ngForOf",t.dataSource),p(1),S("ngIf",t.showShortList_&&t.numberOfPages>1)}}function ZK(n,i){1&n&&(E(0,"span",69),R(1),Y(2,"translate"),P()),2&n&&(p(1),ge(U(2,1,"transports.empty")))}function QK(n,i){1&n&&(E(0,"span",69),R(1),Y(2,"translate"),P()),2&n&&(p(1),ge(U(2,1,"transports.empty-with-filter")))}function JK(n,i){if(1&n&&(E(0,"div",25)(1,"div",66)(2,"mat-icon",67),R(3,"warning"),P(),q(4,ZK,3,3,"span",68),q(5,QK,3,3,"span",68),P()()),2&n){var e=K();p(2),S("inline",!0),p(2),S("ngIf",0===e.allTransports.length),p(1),S("ngIf",0!==e.allTransports.length)}}function XK(n,i){if(1&n&&Te(0,"app-paginator",24),2&n){var e=K();S("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Qe(4,$b,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}var e$=function(i){return{"paginator-icons-fixer":i}},UE=function(){var n=function(){function i(e,t,a,o,s,l,u,f){var m=this;c(this,i),this.dialog=e,this.transportService=t,this.route=a,this.router=o,this.snackbarService=s,this.translateService=l,this.storageService=u,this.nodeService=f,this.listId="tr",this.persistentSortData=new xn(["isPersistent"],"transports.persistent",Xt.Boolean),this.idSortData=new xn(["id"],"transports.id",Xt.Text,["id_label"]),this.remotePkSortData=new xn(["remotePk"],"transports.remote-node",Xt.Text,["remote_pk_label"]),this.typeSortData=new xn(["type"],"transports.type",Xt.Text),this.uploadedSortData=new xn(["sent"],"common.uploaded",Xt.NumberReversed),this.downloadedSortData=new xn(["recv"],"common.downloaded",Xt.NumberReversed),this.selections=new Map,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"transports.filter-dialog.persistent",keyNameInElementsArray:"isPersistent",type:qn.Select,printableLabelsForValues:[{value:"",label:"transports.filter-dialog.persistent-options.any"},{value:"true",label:"transports.filter-dialog.persistent-options.persistent"},{value:"false",label:"transports.filter-dialog.persistent-options.non-persistent"}]},{filterName:"transports.filter-dialog.id",keyNameInElementsArray:"id",secondaryKeyNameInElementsArray:"id_label",type:qn.TextInput,maxlength:36},{filterName:"transports.filter-dialog.remote-node",keyNameInElementsArray:"remotePk",secondaryKeyNameInElementsArray:"remote_pk_label",type:qn.TextInput,maxlength:66}],this.labeledElementTypes=li,this.operationSubscriptionsGroup=[],this.dataSorter=new vc(this.dialog,this.translateService,[this.persistentSortData,this.idSortData,this.remotePkSortData,this.typeSortData,this.uploadedSortData,this.downloadedSortData],1,this.listId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(function(){m.recalculateElementsToShow()}),this.dataFilterer=new gc(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(function(A){m.filteredTransports=A,m.dataSorter.setData(m.filteredTransports)}),this.navigationsSubscription=this.route.paramMap.subscribe(function(A){if(A.has("page")){var V=Number.parseInt(A.get("page"),10);(isNaN(V)||V<1)&&(V=1),m.currentPageInUrl=V,m.recalculateElementsToShow()}}),this.languageSubscription=this.translateService.onLangChange.subscribe(function(){m.node=m.currentNode})}return d(i,[{key:"showShortList",set:function(t){this.showShortList_=t,this.dataSorter.setData(this.filteredTransports)}},{key:"node",set:function(t){var a=this;this.currentNode=t,this.allTransports=t.transports,this.nodePK=t.localPk;var o=new Map;t.persistentTransports.forEach(function(s){return o.set(a.getPersistentTransportID(s.pk,s.type),s)}),this.allTransports.forEach(function(s){o.has(a.getPersistentTransportID(s.remotePk,s.type))?(s.isPersistent=!0,o.delete(a.getPersistentTransportID(s.remotePk,s.type))):s.isPersistent=!1}),o.forEach(function(s,l){a.allTransports.push({id:a.getPersistentTransportID(s.pk,s.type),localPk:t.localPk,remotePk:s.pk,type:s.type,recv:0,sent:0,isPersistent:!0,notFound:!0})}),this.allTransports.forEach(function(s){s.id_label=ts.getCompleteLabel(a.storageService,a.translateService,s.id),s.remote_pk_label=ts.getCompleteLabel(a.storageService,a.translateService,s.remotePk)}),this.dataFilterer.setData(this.allTransports)}},{key:"ngOnDestroy",value:function(){this.navigationsSubscription.unsubscribe(),this.operationSubscriptionsGroup.forEach(function(t){return t.unsubscribe()}),this.languageSubscription.unsubscribe(),this.dataSortedSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFiltererSubscription.unsubscribe(),this.dataFilterer.dispose(),this.persistentTransportSubscription&&this.persistentTransportSubscription.unsubscribe()}},{key:"changeSelection",value:function(t){this.selections.get(t.id)?this.selections.set(t.id,!1):this.selections.set(t.id,!0)}},{key:"hasSelectedElements",value:function(){if(!this.selections)return!1;var t=!1;return this.selections.forEach(function(a){a&&(t=!0)}),t}},{key:"changeAllSelections",value:function(t){var a=this;this.selections.forEach(function(o,s){a.selections.set(s,t)})}},{key:"deleteSelected",value:function(){var t=this,a=$t.createConfirmationDialog(this.dialog,"transports.delete-selected-confirmation");a.componentInstance.operationAccepted.subscribe(function(){a.componentInstance.showProcessing();var o=[];t.selections.forEach(function(s,l){s&&o.push(l)}),t.deleteRecursively(o,a)})}},{key:"create",value:function(){rK.openDialog(this.dialog)}},{key:"showOptionsDialog",value:function(t){var a=this,o=[];o.push(t.isPersistent?{icon:"star_outline",label:"transports.make-non-persistent"}:{icon:"star",label:"transports.make-persistent"}),t.notFound||(o.push({icon:"visibility",label:"transports.details.title"}),o.push({icon:"close",label:"transports.delete"})),Bi.openDialog(this.dialog,o,"common.options").afterClosed().subscribe(function(s){1===s?a.changeIfPersistent([t],!t.isPersistent):2===s?a.details(t):3===s&&a.delete(t)})}},{key:"changeIfPersistentOfSelected",value:function(t){var a=this,o=[];this.allTransports.forEach(function(s){a.selections.has(s.id)&&a.selections.get(s.id)&&o.push(s)}),this.changeIfPersistent(o,t)}},{key:"changeIfPersistent",value:function(t,a){var o=this;if(!(t.length<1)){var s="transports.",l=$t.createConfirmationDialog(this.dialog,s+=1===t.length?a?"make-persistent-confirmation":"make"+(t[0].notFound?"-offline":"")+"-non-persistent-confirmation":a?"make-selected-persistent-confirmation":"make-selected-non-persistent-confirmation");l.componentInstance.operationAccepted.subscribe(function(){l.componentInstance.showProcessing(),o.persistentTransportSubscription=o.transportService.getPersistentTransports(o.nodePK).subscribe(function(u){var f=u||[],m=!1,C=new Map;if(t.forEach(function(V){return C.set(o.getPersistentTransportID(V.remotePk,V.type),V)}),a)f.forEach(function(V){C.has(o.getPersistentTransportID(V.pk,V.type))&&C.delete(o.getPersistentTransportID(V.pk,V.type))}),(m=0===C.size)||C.forEach(function(V){f.push({pk:V.remotePk,type:V.type})});else{m=!0;for(var A=0;Athis.numberOfPages&&(this.currentPage=this.numberOfPages);var o=a*(this.currentPage-1);this.transportsToShow=this.filteredTransports.slice(o,o+a);var l=new Map;this.transportsToShow.forEach(function(f){l.set(f.id,!0),t.selections.has(f.id)||t.selections.set(f.id,!1)});var u=[];this.selections.forEach(function(f,m){l.has(m)||u.push(m)}),u.forEach(function(f){t.selections.delete(f)})}else this.transportsToShow=null,this.selections=new Map;this.dataSource=this.transportsToShow}},{key:"startDeleting",value:function(t){return this.transportService.delete(It.getCurrentNodeKey(),t)}},{key:"deleteRecursively",value:function(t,a){var o=this;this.operationSubscriptionsGroup.push(this.startDeleting(t[t.length-1]).subscribe(function(){t.pop(),0===t.length?(a.close(),It.refreshCurrentDisplayedData(),o.snackbarService.showDone("transports.deleted")):o.deleteRecursively(t,a)},function(s){It.refreshCurrentDisplayedData(),s=on(s),a.componentInstance.showDone("confirmation.error-header-text",s.translatableErrorMsg)}))}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Gn),B(Kb),B(si),B(an),B(In),B(bi),B($i),B(Il))},n.\u0275cmp=qe({type:n,selectors:[["app-transport-list"]],inputs:{showShortList:"showShortList",node:"node"},decls:31,vars:31,consts:[[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","uppercase",4,"ngIf"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],[3,"inline","click"],["class","small-icon",3,"inline","click",4,"ngIf"],[3,"inline","matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"uppercase"],[1,"help","d-none","d-md-inline",3,"inline","matTooltip"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","click"],[3,"inline","matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow",3,"ngClass"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table",3,"ngClass"],[1,"sortable-column","small-column",3,"matTooltip","click"],[1,"persistent-icon","grey-text"],[3,"inline",4,"ngIf"],[1,"sortable-column",3,"click"],[1,"actions"],[3,"ngClass",4,"ngFor","ngForOf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none",3,"ngClass"],[1,"selectable",3,"click"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],[3,"inline"],[4,"ngFor","ngForOf"],[3,"numberOfElements","linkParts","queryParams",4,"ngIf"],[3,"ngClass"],[1,"selection-col"],[3,"checked","change"],["mat-icon-button","","class","action-button subtle-transparent-button",3,"matTooltip","click",4,"ngIf"],["shortTextLength","4",3,"short","id","labelEdited"],["mat-icon-button","","class","action-button transparent-button",3,"matTooltip","click",4,"ngIf"],["mat-icon-button","",1,"action-button","subtle-transparent-button",3,"matTooltip","click"],[1,"persistent-icon","default-cursor",3,"inline"],[1,"persistent-icon","grey-text",3,"inline"],["shortTextLength","4",3,"short","id","elementType","labelEdited"],["mat-icon-button","",1,"action-button","transparent-button",3,"matTooltip","click"],[1,"list-item-container",3,"ngClass"],[1,"check-part"],["class","list-row",4,"ngIf"],[1,"list-row","long-content"],[3,"id","elementType","labelEdited",4,"ngIf"],[3,"id","labelEdited"],[1,"list-row"],[1,"margin-part"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],[1,"persistent-icon",3,"inline"],[1,"yellow-clear-text","title"],[3,"id","elementType","labelEdited"],[3,"numberOfElements","linkParts","queryParams"],[1,"box-internal-container"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(e,t){1&e&&(E(0,"div",0)(1,"div",1),q(2,sK,6,7,"span",2),q(3,dK,5,4,"div",3),P(),E(4,"div",4)(5,"div",5)(6,"mat-icon",6),Se("click",function(){return t.create()}),R(7,"add"),P(),q(8,fK,2,1,"mat-icon",7),q(9,hK,2,2,"mat-icon",8),E(10,"mat-menu",9,10)(12,"div",11),Se("click",function(){return t.changeAllSelections(!0)}),R(13),Y(14,"translate"),P(),E(15,"div",11),Se("click",function(){return t.changeAllSelections(!1)}),R(16),Y(17,"translate"),P(),E(18,"div",12),Se("click",function(){return t.changeIfPersistentOfSelected(!0)}),R(19),Y(20,"translate"),P(),E(21,"div",12),Se("click",function(){return t.changeIfPersistentOfSelected(!1)}),R(22),Y(23,"translate"),P(),E(24,"div",12),Se("click",function(){return t.deleteSelected()}),R(25),Y(26,"translate"),P()()(),q(27,pK,1,6,"app-paginator",13),P()(),q(28,$K,50,46,"div",14),q(29,JK,6,3,"div",14),q(30,XK,1,6,"app-paginator",13)),2&e&&(S("ngClass",Qe(29,e$,!t.showShortList_&&t.numberOfPages>1&&t.dataSource)),p(2),S("ngIf",t.showShortList_),p(1),S("ngIf",t.dataFilterer.currentFiltersTexts&&t.dataFilterer.currentFiltersTexts.length>0),p(3),S("inline",!0),p(2),S("ngIf",t.allTransports&&t.allTransports.length>0),p(1),S("ngIf",t.dataSource&&t.dataSource.length>0),p(1),S("overlapTrigger",!1),p(3),ye(" ",U(14,19,"selection.select-all")," "),p(3),ye(" ",U(17,21,"selection.unselect-all")," "),p(2),Ln("disabled",!t.hasSelectedElements()),p(1),ye(" ",U(20,23,"transports.make-selected-persistent")," "),p(2),Ln("disabled",!t.hasSelectedElements()),p(1),ye(" ",U(23,25,"transports.make-selected-non-persistent")," "),p(2),Ln("disabled",!t.hasSelectedElements()),p(1),ye(" ",U(26,27,"selection.delete-all")," "),p(2),S("ngIf",!t.showShortList_&&t.numberOfPages>1&&t.dataSource),p(1),S("ngIf",t.dataSource&&t.dataSource.length>0),p(1),S("ngIf",!t.dataSource||0===t.dataSource.length),p(1),S("ngIf",!t.showShortList_&&t.numberOfPages>1&&t.dataSource))},directives:[mr,Et,Mn,ur,Or,kc,bc,ns,Mc,Ys,yi,ts,Ov],pipes:[Mt,Pf],styles:[".overflow[_ngcontent-%COMP%]{display:block;width:100%;overflow-x:auto}.overflow[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.actions[_ngcontent-%COMP%]{text-align:right;width:90px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}.small-column[_ngcontent-%COMP%]{width:1px;text-align:center}.persistent-icon[_ngcontent-%COMP%]{font-size:14px!important;color:#d48b05}.offline[_ngcontent-%COMP%]{opacity:.35}"]}),n}();function t$(n,i){1&n&&(E(0,"div",5)(1,"mat-icon",2),R(2,"settings"),P(),R(3),Y(4,"translate"),P()),2&n&&(p(1),S("inline",!0),p(2),ye("",U(4,2,"routes.details.specific-fields-titles.app")," "))}function n$(n,i){1&n&&(E(0,"div",5)(1,"mat-icon",2),R(2,"swap_horiz"),P(),R(3),Y(4,"translate"),P()),2&n&&(p(1),S("inline",!0),p(2),ye("",U(4,2,"routes.details.specific-fields-titles.forward")," "))}function r$(n,i){1&n&&(E(0,"div",5)(1,"mat-icon",2),R(2,"arrow_forward"),P(),R(3),Y(4,"translate"),P()),2&n&&(p(1),S("inline",!0),p(2),ye("",U(4,2,"routes.details.specific-fields-titles.intermediary-forward")," "))}function i$(n,i){if(1&n&&(E(0,"div")(1,"div",3)(2,"span"),R(3),Y(4,"translate"),P(),R(5),P(),E(6,"div",3)(7,"span"),R(8),Y(9,"translate"),P(),R(10),P()()),2&n){var e=K(2);p(3),ge(U(4,5,"routes.details.specific-fields.route-id")),p(2),ye(" ",e.routeRule.forwardFields?e.routeRule.forwardFields.nextRid:e.routeRule.intermediaryForwardFields.nextRid," "),p(3),ge(U(9,7,"routes.details.specific-fields.transport-id")),p(2),xi(" ",e.routeRule.forwardFields?e.routeRule.forwardFields.nextTid:e.routeRule.intermediaryForwardFields.nextTid," ",e.getLabel(e.routeRule.forwardFields?e.routeRule.forwardFields.nextTid:e.routeRule.intermediaryForwardFields.nextTid)," ")}}function a$(n,i){if(1&n&&(E(0,"div")(1,"div",3)(2,"span"),R(3),Y(4,"translate"),P(),R(5),P(),E(6,"div",3)(7,"span"),R(8),Y(9,"translate"),P(),R(10),P(),E(11,"div",3)(12,"span"),R(13),Y(14,"translate"),P(),R(15),P(),E(16,"div",3)(17,"span"),R(18),Y(19,"translate"),P(),R(20),P()()),2&n){var e=K(2);p(3),ge(U(4,10,"routes.details.specific-fields.destination-pk")),p(2),xi(" ",e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.dstPk:e.routeRule.forwardFields.routeDescriptor.dstPk," ",e.getLabel(e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.dstPk:e.routeRule.forwardFields.routeDescriptor.dstPk)," "),p(3),ge(U(9,12,"routes.details.specific-fields.source-pk")),p(2),xi(" ",e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.srcPk:e.routeRule.forwardFields.routeDescriptor.srcPk," ",e.getLabel(e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.srcPk:e.routeRule.forwardFields.routeDescriptor.srcPk)," "),p(3),ge(U(14,14,"routes.details.specific-fields.destination-port")),p(2),ye(" ",e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.dstPort:e.routeRule.forwardFields.routeDescriptor.dstPort," "),p(3),ge(U(19,16,"routes.details.specific-fields.source-port")),p(2),ye(" ",e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.srcPort:e.routeRule.forwardFields.routeDescriptor.srcPort," ")}}function o$(n,i){if(1&n&&(E(0,"div")(1,"div",5)(2,"mat-icon",2),R(3,"list"),P(),R(4),Y(5,"translate"),P(),E(6,"div",3)(7,"span"),R(8),Y(9,"translate"),P(),R(10),P(),E(11,"div",3)(12,"span"),R(13),Y(14,"translate"),P(),R(15),P(),E(16,"div",3)(17,"span"),R(18),Y(19,"translate"),P(),R(20),P(),q(21,t$,5,4,"div",6),q(22,n$,5,4,"div",6),q(23,r$,5,4,"div",6),q(24,i$,11,9,"div",4),q(25,a$,21,18,"div",4),P()),2&n){var e=K();p(2),S("inline",!0),p(2),ye("",U(5,13,"routes.details.summary.title")," "),p(4),ge(U(9,15,"routes.details.summary.keep-alive")),p(2),ye(" ",e.routeRule.ruleSummary.keepAlive," "),p(3),ge(U(14,17,"routes.details.summary.type")),p(2),ye(" ",e.getRuleTypeName(e.routeRule.ruleSummary.ruleType)," "),p(3),ge(U(19,19,"routes.details.summary.key-route-id")),p(2),ye(" ",e.routeRule.ruleSummary.keyRouteId," "),p(1),S("ngIf",e.routeRule.appFields),p(1),S("ngIf",e.routeRule.forwardFields),p(1),S("ngIf",e.routeRule.intermediaryForwardFields),p(1),S("ngIf",e.routeRule.forwardFields||e.routeRule.intermediaryForwardFields),p(1),S("ngIf",e.routeRule.appFields&&e.routeRule.appFields.routeDescriptor||e.routeRule.forwardFields&&e.routeRule.forwardFields.routeDescriptor)}}var s$=function(){var n=function(){function i(e,t,a){c(this,i),this.dialogRef=t,this.storageService=a,this.ruleTypes=new Map([[0,"App"],[1,"Forward"],[2,"Intermediary forward"]]),this.routeRule=e}return d(i,[{key:"getRuleTypeName",value:function(t){return this.ruleTypes.has(t)?this.ruleTypes.get(t):t.toString()}},{key:"closePopup",value:function(){this.dialogRef.close()}},{key:"getLabel",value:function(t){var a=this.storageService.getLabelInfo(t);return a?" ("+a.label+")":""}}],[{key:"openDialog",value:function(t,a){var o=new Zn;return o.data=a,o.autoFocus=!1,o.width=Kt.largeModalWidth,t.open(i,o)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Ur),B(Dr),B($i))},n.\u0275cmp=qe({type:n,selectors:[["app-route-details"]],decls:19,vars:16,consts:[[1,"info-dialog",3,"headline"],[1,"title","mt-0"],[3,"inline"],[1,"item"],[4,"ngIf"],[1,"title"],["class","title",4,"ngIf"]],template:function(e,t){1&e&&(E(0,"app-dialog",0),Y(1,"translate"),E(2,"div")(3,"div",1)(4,"mat-icon",2),R(5,"list"),P(),R(6),Y(7,"translate"),P(),E(8,"div",3)(9,"span"),R(10),Y(11,"translate"),P(),R(12),P(),E(13,"div",3)(14,"span"),R(15),Y(16,"translate"),P(),R(17),P(),q(18,o$,26,21,"div",4),P()()),2&e&&(S("headline",U(1,8,"routes.details.title")),p(4),S("inline",!0),p(2),ye("",U(7,10,"routes.details.basic.title")," "),p(4),ge(U(11,12,"routes.details.basic.key")),p(2),ye(" ",t.routeRule.key," "),p(3),ge(U(16,14,"routes.details.basic.rule")),p(2),ye(" ",t.routeRule.rule," "),p(1),S("ngIf",t.routeRule.ruleSummary))},directives:[_r,Mn,Et],pipes:[Mt],styles:[""]}),n}(),zE=function(){var n=function(){function i(e){c(this,i),this.apiService=e}return d(i,[{key:"get",value:function(t,a){return this.apiService.get("visors/".concat(t,"/routes/").concat(a))}},{key:"delete",value:function(t,a){return this.apiService.delete("visors/".concat(t,"/routes/").concat(a))}},{key:"setMinHops",value:function(t,a){var o={min_hops:a};return this.apiService.post("visors/".concat(t,"/min-hops"),o)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(El))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}();function l$(n,i){1&n&&(E(0,"span",14),R(1),Y(2,"translate"),E(3,"mat-icon",15),Y(4,"translate"),R(5,"help"),P()()),2&n&&(p(1),ye(" ",U(2,3,"routes.title")," "),p(2),S("inline",!0)("matTooltip",U(4,5,"routes.info")))}function u$(n,i){if(1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n){var e=K().$implicit;p(1),ge(U(2,1,e.translatableValue))}}function c$(n,i){if(1&n&&(ze(0),R(1),We()),2&n){var e=K().$implicit;p(1),ge(e.value)}}function d$(n,i){if(1&n&&(E(0,"div",19)(1,"span"),R(2),Y(3,"translate"),P(),q(4,u$,3,3,"ng-container",20),q(5,c$,2,1,"ng-container",20),P()),2&n){var e=i.$implicit;p(2),ye("",U(3,3,e.filterName),": "),p(2),S("ngIf",e.translatableValue),p(1),S("ngIf",e.value)}}function f$(n,i){if(1&n){var e=tt();E(0,"div",16),Se("click",function(){return ke(e),K().dataFilterer.removeFilters()}),q(1,d$,6,5,"div",17),E(2,"div",18),R(3),Y(4,"translate"),P()()}if(2&n){var t=K();p(1),S("ngForOf",t.dataFilterer.currentFiltersTexts),p(2),ge(U(4,2,"filters.press-to-remove"))}}function h$(n,i){if(1&n){var e=tt();E(0,"mat-icon",21),Se("click",function(){return ke(e),K().dataFilterer.changeFilters()}),Y(1,"translate"),R(2,"filter_list"),P()}2&n&&S("inline",!0)("matTooltip",U(1,2,"filters.filter-action"))}function p$(n,i){1&n&&(E(0,"mat-icon",22),R(1,"more_horiz"),P()),2&n&&(K(),S("matMenuTriggerFor",sr(9)))}var Zb=function(i){return["/nodes",i,"routes"]};function v$(n,i){if(1&n&&Te(0,"app-paginator",23),2&n){var e=K();S("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Qe(4,Zb,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function m$(n,i){if(1&n&&(E(0,"mat-icon",36),R(1),P()),2&n){var e=K(2);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function g$(n,i){if(1&n&&(E(0,"mat-icon",36),R(1),P()),2&n){var e=K(2);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function _$(n,i){if(1&n&&(E(0,"mat-icon",36),R(1),P()),2&n){var e=K(2);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function y$(n,i){if(1&n&&(E(0,"mat-icon",36),R(1),P()),2&n){var e=K(2);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function b$(n,i){if(1&n){var e=tt();ze(0),E(1,"td")(2,"app-labeled-element-text",41),Se("labelEdited",function(){return ke(e),K(3).refreshData()}),P()(),E(3,"td")(4,"app-labeled-element-text",41),Se("labelEdited",function(){return ke(e),K(3).refreshData()}),P()(),We()}if(2&n){var t=K().$implicit,a=K(2);p(2),Ln("id",t.src),S("short",!0)("elementType",a.labeledElementTypes.Node),p(2),Ln("id",t.dst),S("short",!0)("elementType",a.labeledElementTypes.Node)}}function k$(n,i){if(1&n){var e=tt();ze(0),E(1,"td"),R(2,"---"),P(),E(3,"td")(4,"app-labeled-element-text",42),Se("labelEdited",function(){return ke(e),K(3).refreshData()}),P()(),We()}if(2&n){var t=K().$implicit,a=K(2);p(4),Ln("id",t.dst),S("short",!0)("elementType",a.labeledElementTypes.Transport)}}function M$(n,i){1&n&&(ze(0),E(1,"td"),R(2,"---"),P(),E(3,"td"),R(4,"---"),P(),We())}function C$(n,i){if(1&n){var e=tt();E(0,"tr")(1,"td",38)(2,"mat-checkbox",39),Se("change",function(){var l=ke(e).$implicit;return K(2).changeSelection(l)}),P()(),E(3,"td"),R(4),P(),E(5,"td"),R(6),P(),q(7,b$,5,6,"ng-container",20),q(8,k$,5,3,"ng-container",20),q(9,M$,5,0,"ng-container",20),E(10,"td",29)(11,"button",40),Se("click",function(){var l=ke(e).$implicit;return K(2).details(l)}),Y(12,"translate"),E(13,"mat-icon",36),R(14,"visibility"),P()(),E(15,"button",40),Se("click",function(){var l=ke(e).$implicit;return K(2).delete(l.key)}),Y(16,"translate"),E(17,"mat-icon",36),R(18,"close"),P()()()()}if(2&n){var t=i.$implicit,a=K(2);p(2),S("checked",a.selections.get(t.key)),p(2),ye(" ",t.key," "),p(2),ye(" ",a.getTypeName(t.type)," "),p(1),S("ngIf",t.appFields||t.forwardFields),p(1),S("ngIf",!t.appFields&&!t.forwardFields&&t.intermediaryForwardFields),p(1),S("ngIf",!t.appFields&&!t.forwardFields&&!t.intermediaryForwardFields),p(2),S("matTooltip",U(12,10,"routes.details.title")),p(2),S("inline",!0),p(2),S("matTooltip",U(16,12,"routes.delete")),p(2),S("inline",!0)}}function w$(n,i){1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n&&(p(1),ge(U(2,1,"tables.label")))}function S$(n,i){1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n&&(p(1),ge(U(2,1,"tables.inverted-order")))}function D$(n,i){if(1&n){var e=tt();ze(0),E(1,"div",44)(2,"span",1),R(3),Y(4,"translate"),P(),R(5,": "),E(6,"app-labeled-element-text",47),Se("labelEdited",function(){return ke(e),K(3).refreshData()}),P()(),E(7,"div",44)(8,"span",1),R(9),Y(10,"translate"),P(),R(11,": "),E(12,"app-labeled-element-text",47),Se("labelEdited",function(){return ke(e),K(3).refreshData()}),P()(),We()}if(2&n){var t=K().$implicit,a=K(2);p(3),ge(U(4,6,"routes.source")),p(3),Ln("id",t.src),S("elementType",a.labeledElementTypes.Node),p(3),ge(U(10,8,"routes.destination")),p(3),Ln("id",t.dst),S("elementType",a.labeledElementTypes.Node)}}function T$(n,i){if(1&n){var e=tt();ze(0),E(1,"div",44)(2,"span",1),R(3),Y(4,"translate"),P(),R(5,": --- "),P(),E(6,"div",44)(7,"span",1),R(8),Y(9,"translate"),P(),R(10,": "),E(11,"app-labeled-element-text",47),Se("labelEdited",function(){return ke(e),K(3).refreshData()}),P()(),We()}if(2&n){var t=K().$implicit,a=K(2);p(3),ge(U(4,4,"routes.source")),p(5),ge(U(9,6,"routes.destination")),p(3),Ln("id",t.dst),S("elementType",a.labeledElementTypes.Transport)}}function L$(n,i){1&n&&(ze(0),E(1,"div",44)(2,"span",1),R(3),Y(4,"translate"),P(),R(5,": --- "),P(),E(6,"div",44)(7,"span",1),R(8),Y(9,"translate"),P(),R(10,": --- "),P(),We()),2&n&&(p(3),ge(U(4,2,"routes.source")),p(5),ge(U(9,4,"routes.destination")))}function E$(n,i){if(1&n){var e=tt();E(0,"tr")(1,"td")(2,"div",33)(3,"div",43)(4,"mat-checkbox",39),Se("change",function(){var l=ke(e).$implicit;return K(2).changeSelection(l)}),P()(),E(5,"div",34)(6,"div",44)(7,"span",1),R(8),Y(9,"translate"),P(),R(10),P(),E(11,"div",44)(12,"span",1),R(13),Y(14,"translate"),P(),R(15),P(),q(16,D$,13,10,"ng-container",20),q(17,T$,12,8,"ng-container",20),q(18,L$,11,6,"ng-container",20),P(),Te(19,"div",45),E(20,"div",35)(21,"button",46),Se("click",function(s){var u=ke(e).$implicit,f=K(2);return s.stopPropagation(),f.showOptionsDialog(u)}),Y(22,"translate"),E(23,"mat-icon"),R(24),P()()()()()()}if(2&n){var t=i.$implicit,a=K(2);p(4),S("checked",a.selections.get(t.key)),p(4),ge(U(9,10,"routes.key")),p(2),ye(": ",t.key," "),p(3),ge(U(14,12,"routes.type")),p(2),ye(": ",a.getTypeName(t.type)," "),p(1),S("ngIf",t.appFields||t.forwardFields),p(1),S("ngIf",!t.appFields&&!t.forwardFields&&t.intermediaryForwardFields),p(1),S("ngIf",!t.appFields&&!t.forwardFields&&!t.intermediaryForwardFields),p(3),S("matTooltip",U(22,14,"common.options")),p(3),ge("add")}}function P$(n,i){if(1&n&&Te(0,"app-view-all-link",48),2&n){var e=K(2);S("numberOfElements",e.filteredRoutes.length)("linkParts",Qe(3,Zb,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}var x$=function(i,e){return{"small-node-list-margins":i,"full-node-list-margins":e}},O$=function(i){return{"d-lg-none d-xl-table":i}},I$=function(i){return{"d-lg-table d-xl-none":i}};function A$(n,i){if(1&n){var e=tt();E(0,"div",24)(1,"div",25)(2,"table",26)(3,"tr"),Te(4,"th"),E(5,"th",27),Se("click",function(){ke(e);var o=K();return o.dataSorter.changeSortingOrder(o.keySortData)}),R(6),Y(7,"translate"),q(8,m$,2,2,"mat-icon",28),P(),E(9,"th",27),Se("click",function(){ke(e);var o=K();return o.dataSorter.changeSortingOrder(o.typeSortData)}),R(10),Y(11,"translate"),q(12,g$,2,2,"mat-icon",28),P(),E(13,"th",27),Se("click",function(){ke(e);var o=K();return o.dataSorter.changeSortingOrder(o.sourceSortData)}),R(14),Y(15,"translate"),q(16,_$,2,2,"mat-icon",28),P(),E(17,"th",27),Se("click",function(){ke(e);var o=K();return o.dataSorter.changeSortingOrder(o.destinationSortData)}),R(18),Y(19,"translate"),q(20,y$,2,2,"mat-icon",28),P(),Te(21,"th",29),P(),q(22,C$,19,14,"tr",30),P(),E(23,"table",31)(24,"tr",32),Se("click",function(){return ke(e),K().dataSorter.openSortingOrderModal()}),E(25,"td")(26,"div",33)(27,"div",34)(28,"div",1),R(29),Y(30,"translate"),P(),E(31,"div"),R(32),Y(33,"translate"),q(34,w$,3,3,"ng-container",20),q(35,S$,3,3,"ng-container",20),P()(),E(36,"div",35)(37,"mat-icon",36),R(38,"keyboard_arrow_down"),P()()()()(),q(39,E$,25,16,"tr",30),P(),q(40,P$,1,5,"app-view-all-link",37),P()()}if(2&n){var t=K();p(1),S("ngClass",En(31,x$,t.showShortList_,!t.showShortList_)),p(1),S("ngClass",Qe(34,O$,t.showShortList_)),p(4),ye(" ",U(7,19,"routes.key")," "),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.keySortData),p(2),ye(" ",U(11,21,"routes.type")," "),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.typeSortData),p(2),ye(" ",U(15,23,"routes.source")," "),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.sourceSortData),p(2),ye(" ",U(19,25,"routes.destination")," "),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.destinationSortData),p(2),S("ngForOf",t.dataSource),p(1),S("ngClass",Qe(36,I$,t.showShortList_)),p(6),ge(U(30,27,"tables.sorting-title")),p(3),ye("",U(33,29,t.dataSorter.currentSortingColumn.label)," "),p(2),S("ngIf",t.dataSorter.currentlySortingByLabel),p(1),S("ngIf",t.dataSorter.sortingInReverseOrder),p(2),S("inline",!0),p(2),S("ngForOf",t.dataSource),p(1),S("ngIf",t.showShortList_&&t.numberOfPages>1)}}function F$(n,i){1&n&&(E(0,"span",52),R(1),Y(2,"translate"),P()),2&n&&(p(1),ge(U(2,1,"routes.empty")))}function R$(n,i){1&n&&(E(0,"span",52),R(1),Y(2,"translate"),P()),2&n&&(p(1),ge(U(2,1,"routes.empty-with-filter")))}function N$(n,i){if(1&n&&(E(0,"div",24)(1,"div",49)(2,"mat-icon",50),R(3,"warning"),P(),q(4,F$,3,3,"span",51),q(5,R$,3,3,"span",51),P()()),2&n){var e=K();p(2),S("inline",!0),p(2),S("ngIf",0===e.allRoutes.length),p(1),S("ngIf",0!==e.allRoutes.length)}}function Y$(n,i){if(1&n&&Te(0,"app-paginator",23),2&n){var e=K();S("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Qe(4,Zb,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}var H$=function(i){return{"paginator-icons-fixer":i}},WE=function(){var n=function(){function i(e,t,a,o,s,l,u){var f=this;c(this,i),this.routeService=e,this.dialog=t,this.route=a,this.router=o,this.snackbarService=s,this.translateService=l,this.storageService=u,this.listId="rl",this.keySortData=new xn(["key"],"routes.key",Xt.Number),this.typeSortData=new xn(["type"],"routes.type",Xt.Number),this.sourceSortData=new xn(["src"],"routes.source",Xt.Text,["src_label"]),this.destinationSortData=new xn(["dst"],"routes.destination",Xt.Text,["dst_label"]),this.labeledElementTypes=li,this.selections=new Map,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"routes.filter-dialog.key",keyNameInElementsArray:"key",type:qn.TextInput,maxlength:8},{filterName:"routes.filter-dialog.source",keyNameInElementsArray:"src",secondaryKeyNameInElementsArray:"src_label",type:qn.TextInput,maxlength:66},{filterName:"routes.filter-dialog.destination",keyNameInElementsArray:"dst",secondaryKeyNameInElementsArray:"dst_label",type:qn.TextInput,maxlength:66}],this.ruleTypes=new Map([[0,"App"],[1,"Forward"],[2,"Int. forward"]]),this.operationSubscriptionsGroup=[],this.dataSorter=new vc(this.dialog,this.translateService,[this.keySortData,this.typeSortData,this.sourceSortData,this.destinationSortData],0,this.listId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(function(){f.recalculateElementsToShow()});var C={filterName:"routes.filter-dialog.type",keyNameInElementsArray:"type",type:qn.Select,printableLabelsForValues:[{value:"",label:"routes.filter-dialog.any-type-option"}]};this.ruleTypes.forEach(function(A,V){C.printableLabelsForValues.push({value:V+"",label:A})}),this.filterProperties=[C].concat(this.filterProperties),this.dataFilterer=new gc(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(function(A){f.filteredRoutes=A,f.dataSorter.setData(f.filteredRoutes)}),this.navigationsSubscription=this.route.paramMap.subscribe(function(A){if(A.has("page")){var V=Number.parseInt(A.get("page"),10);(isNaN(V)||V<1)&&(V=1),f.currentPageInUrl=V,f.recalculateElementsToShow()}})}return d(i,[{key:"showShortList",set:function(t){this.showShortList_=t,this.dataSorter.setData(this.filteredRoutes)}},{key:"routes",set:function(t){var a=this;this.allRoutes=t,this.allRoutes.forEach(function(o){if(o.type=o.ruleSummary.ruleType||0===o.ruleSummary.ruleType?o.ruleSummary.ruleType:"",o.appFields||o.forwardFields){var s=o.appFields?o.appFields.routeDescriptor:o.forwardFields.routeDescriptor;o.src=s.srcPk,o.src_label=ts.getCompleteLabel(a.storageService,a.translateService,o.src),o.dst=s.dstPk,o.dst_label=ts.getCompleteLabel(a.storageService,a.translateService,o.dst)}else o.intermediaryForwardFields?(o.src="",o.src_label="",o.dst=o.intermediaryForwardFields.nextTid,o.dst_label=ts.getCompleteLabel(a.storageService,a.translateService,o.dst)):(o.src="",o.src_label="",o.dst="",o.dst_label="")}),this.dataFilterer.setData(this.allRoutes)}},{key:"ngOnDestroy",value:function(){this.navigationsSubscription.unsubscribe(),this.operationSubscriptionsGroup.forEach(function(t){return t.unsubscribe()}),this.dataSortedSubscription.unsubscribe(),this.dataFiltererSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFilterer.dispose()}},{key:"refreshData",value:function(){It.refreshCurrentDisplayedData()}},{key:"getTypeName",value:function(t){return this.ruleTypes.has(t)?this.ruleTypes.get(t):"Unknown"}},{key:"changeSelection",value:function(t){this.selections.get(t.key)?this.selections.set(t.key,!1):this.selections.set(t.key,!0)}},{key:"hasSelectedElements",value:function(){if(!this.selections)return!1;var t=!1;return this.selections.forEach(function(a){a&&(t=!0)}),t}},{key:"changeAllSelections",value:function(t){var a=this;this.selections.forEach(function(o,s){a.selections.set(s,t)})}},{key:"deleteSelected",value:function(){var t=this,a=$t.createConfirmationDialog(this.dialog,"routes.delete-selected-confirmation");a.componentInstance.operationAccepted.subscribe(function(){a.componentInstance.showProcessing();var o=[];t.selections.forEach(function(s,l){s&&o.push(l)}),t.deleteRecursively(o,a)})}},{key:"showOptionsDialog",value:function(t){var a=this;Bi.openDialog(this.dialog,[{icon:"visibility",label:"routes.details.title"},{icon:"close",label:"routes.delete"}],"common.options").afterClosed().subscribe(function(s){1===s?a.details(t):2===s&&a.delete(t.key)})}},{key:"details",value:function(t){s$.openDialog(this.dialog,t)}},{key:"delete",value:function(t){var a=this,o=$t.createConfirmationDialog(this.dialog,"routes.delete-confirmation");o.componentInstance.operationAccepted.subscribe(function(){o.componentInstance.showProcessing(),a.operationSubscriptionsGroup.push(a.startDeleting(t).subscribe(function(){o.close(),It.refreshCurrentDisplayedData(),a.snackbarService.showDone("routes.deleted")},function(s){s=on(s),o.componentInstance.showDone("confirmation.error-header-text",s.translatableErrorMsg)}))})}},{key:"recalculateElementsToShow",value:function(){var t=this;if(this.currentPage=this.currentPageInUrl,this.filteredRoutes){var a=this.showShortList_?Kt.maxShortListElements:Kt.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredRoutes.length/a),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);var o=a*(this.currentPage-1);this.routesToShow=this.filteredRoutes.slice(o,o+a);var l=new Map;this.routesToShow.forEach(function(f){l.set(f.key,!0),t.selections.has(f.key)||t.selections.set(f.key,!1)});var u=[];this.selections.forEach(function(f,m){l.has(m)||u.push(m)}),u.forEach(function(f){t.selections.delete(f)})}else this.routesToShow=null,this.selections=new Map;this.dataSource=this.routesToShow}},{key:"startDeleting",value:function(t){return this.routeService.delete(It.getCurrentNodeKey(),t.toString())}},{key:"deleteRecursively",value:function(t,a){var o=this;this.operationSubscriptionsGroup.push(this.startDeleting(t[t.length-1]).subscribe(function(){t.pop(),0===t.length?(a.close(),It.refreshCurrentDisplayedData(),o.snackbarService.showDone("routes.deleted")):o.deleteRecursively(t,a)},function(s){It.refreshCurrentDisplayedData(),s=on(s),a.componentInstance.showDone("confirmation.error-header-text",s.translatableErrorMsg)}))}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(zE),B(Gn),B(si),B(an),B(In),B(bi),B($i))},n.\u0275cmp=qe({type:n,selectors:[["app-route-list"]],inputs:{nodePK:"nodePK",showShortList:"showShortList",routes:"routes"},decls:23,vars:22,consts:[[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","uppercase",4,"ngIf"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],["class","small-icon",3,"inline","matTooltip","click",4,"ngIf"],[3,"matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"uppercase"],[1,"help","d-none","d-md-inline",3,"inline","matTooltip"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","matTooltip","click"],[3,"matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow",3,"ngClass"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table",3,"ngClass"],[1,"sortable-column",3,"click"],[3,"inline",4,"ngIf"],[1,"actions"],[4,"ngFor","ngForOf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none",3,"ngClass"],[1,"selectable",3,"click"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],[3,"inline"],[3,"numberOfElements","linkParts","queryParams",4,"ngIf"],[1,"selection-col"],[3,"checked","change"],["mat-icon-button","",1,"action-button","transparent-button",3,"matTooltip","click"],["shortTextLength","7",3,"short","id","elementType","labelEdited"],["shortTextLength","5",3,"short","id","elementType","labelEdited"],[1,"check-part"],[1,"list-row","long-content"],[1,"margin-part"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],[3,"id","elementType","labelEdited"],[3,"numberOfElements","linkParts","queryParams"],[1,"box-internal-container"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(e,t){1&e&&(E(0,"div",0)(1,"div",1),q(2,l$,6,7,"span",2),q(3,f$,5,4,"div",3),P(),E(4,"div",4)(5,"div",5),q(6,h$,3,4,"mat-icon",6),q(7,p$,2,1,"mat-icon",7),E(8,"mat-menu",8,9)(10,"div",10),Se("click",function(){return t.changeAllSelections(!0)}),R(11),Y(12,"translate"),P(),E(13,"div",10),Se("click",function(){return t.changeAllSelections(!1)}),R(14),Y(15,"translate"),P(),E(16,"div",11),Se("click",function(){return t.deleteSelected()}),R(17),Y(18,"translate"),P()()(),q(19,v$,1,6,"app-paginator",12),P()(),q(20,A$,41,38,"div",13),q(21,N$,6,3,"div",13),q(22,Y$,1,6,"app-paginator",12)),2&e&&(S("ngClass",Qe(20,H$,!t.showShortList_&&t.numberOfPages>1&&t.dataSource)),p(2),S("ngIf",t.showShortList_),p(1),S("ngIf",t.dataFilterer.currentFiltersTexts&&t.dataFilterer.currentFiltersTexts.length>0),p(3),S("ngIf",t.allRoutes&&t.allRoutes.length>0),p(1),S("ngIf",t.dataSource&&t.dataSource.length>0),p(1),S("overlapTrigger",!1),p(3),ye(" ",U(12,14,"selection.select-all")," "),p(3),ye(" ",U(15,16,"selection.unselect-all")," "),p(2),Ln("disabled",!t.hasSelectedElements()),p(1),ye(" ",U(18,18,"selection.delete-all")," "),p(2),S("ngIf",!t.showShortList_&&t.numberOfPages>1&&t.dataSource),p(1),S("ngIf",t.dataSource&&t.dataSource.length>0),p(1),S("ngIf",!t.dataSource||0===t.dataSource.length),p(1),S("ngIf",!t.showShortList_&&t.numberOfPages>1&&t.dataSource))},directives:[mr,Et,Mn,ur,Or,kc,bc,ns,Mc,Ys,ts,yi,Ov],pipes:[Mt],styles:[".actions[_ngcontent-%COMP%]{text-align:right;width:90px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}"]}),n}(),B$=function(){var n=function(){function i(){c(this,i)}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.dataSubscription=It.currentNode.subscribe(function(a){t.nodePK=a.localPk,t.node=a,t.routes=a.routes})}},{key:"ngOnDestroy",value:function(){this.dataSubscription.unsubscribe()}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=qe({type:n,selectors:[["app-routing"]],decls:2,vars:5,consts:[[3,"node","showShortList"],[3,"routes","showShortList","nodePK"]],template:function(e,t){1&e&&Te(0,"app-transport-list",0)(1,"app-route-list",1),2&e&&(S("node",t.node)("showShortList",!0),p(1),S("routes",t.routes)("showShortList",!0)("nodePK",t.nodePK))},directives:[UE,WE],styles:[""]}),n}();function V$(n,i){if(1&n&&(E(0,"mat-option",4),R(1),Y(2,"translate"),P()),2&n){var e=i.$implicit;S("value",e.days),p(1),ge(U(2,2,e.text))}}var j$=function(){var n=function(){function i(e,t,a){c(this,i),this.data=e,this.dialogRef=t,this.formBuilder=a}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.filters=[{text:"apps.log.filter.7-days",days:7},{text:"apps.log.filter.1-month",days:30},{text:"apps.log.filter.3-months",days:90},{text:"apps.log.filter.6-months",days:180},{text:"apps.log.filter.1-year",days:365},{text:"apps.log.filter.all",days:-1}],this.form=this.formBuilder.group({filter:[this.data.days]}),this.formSubscription=this.form.get("filter").valueChanges.subscribe(function(a){t.dialogRef.close(t.filters.find(function(o){return o.days===a}))})}},{key:"ngOnDestroy",value:function(){this.formSubscription.unsubscribe()}}],[{key:"openDialog",value:function(t,a){var o=new Zn;return o.data=a,o.autoFocus=!1,o.width=Kt.smallModalWidth,t.open(i,o)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Ur),B(Dr),B(Zi))},n.\u0275cmp=qe({type:n,selectors:[["app-log-filter"]],decls:7,vars:8,consts:[[3,"headline"],[3,"formGroup"],["formControlName","filter",3,"placeholder"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(e,t){1&e&&(E(0,"app-dialog",0),Y(1,"translate"),E(2,"form",1)(3,"mat-form-field")(4,"mat-select",2),Y(5,"translate"),q(6,V$,3,4,"mat-option",3),P()()()()),2&e&&(S("headline",U(1,4,"apps.log.filter.title")),p(2),S("formGroup",t.form),p(2),S("placeholder",U(5,6,"apps.log.filter.filter")),p(2),S("ngForOf",t.filters))},directives:[_r,ei,Xr,gr,ki,Tf,Jr,zr,Or,lc],pipes:[Mt],styles:["mat-form-field[_ngcontent-%COMP%]{margin-bottom:-24px}"]}),n}(),U$=["content"];function z$(n,i){if(1&n&&(E(0,"div",8)(1,"span",3),R(2),P(),R(3),P()),2&n){var e=i.$implicit;p(2),ye(" ",e.time," "),p(1),ye(" ",e.msg," ")}}function W$(n,i){1&n&&(E(0,"div",9),R(1),Y(2,"translate"),P()),2&n&&(p(1),ye(" ",U(2,1,"apps.log.empty")," "))}function G$(n,i){1&n&&Te(0,"app-loading-indicator",10),2&n&&S("showWhite",!1)}var q$=function(){var n=function(){function i(e,t,a,o){c(this,i),this.data=e,this.appsService=t,this.dialog=a,this.snackbarService=o,this.logMessages=[],this.loading=!1,this.currentFilter={text:"apps.log.filter.7-days",days:7},this.shouldShowError=!0}return d(i,[{key:"ngOnInit",value:function(){this.loadData(0)}},{key:"ngOnDestroy",value:function(){this.removeSubscription()}},{key:"filter",value:function(){var t=this;j$.openDialog(this.dialog,this.currentFilter).afterClosed().subscribe(function(a){a&&(t.currentFilter=a,t.logMessages=[],t.loadData(0))})}},{key:"loadData",value:function(t){var a=this;this.removeSubscription(),this.loading=!0,this.subscription=Je(1).pipe(Mi(t),Dn(function(){return a.appsService.getLogMessages(It.getCurrentNodeKey(),a.data.name,a.currentFilter.days)})).subscribe(function(o){return a.onLogsReceived(o)},function(o){return a.onLogsError(o)})}},{key:"removeSubscription",value:function(){this.subscription&&this.subscription.unsubscribe()}},{key:"onLogsReceived",value:function(){var t=this,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.loading=!1,this.shouldShowError=!0,this.snackbarService.closeCurrentIfTemporaryError(),a.forEach(function(o){var s=o.startsWith("[")?0:-1,l=-1!==s?o.indexOf("]"):-1;t.logMessages.push(-1!==s&&-1!==l?{time:o.substr(s,l+1),msg:o.substr(l+1)}:{time:"",msg:o})}),setTimeout(function(){t.content.nativeElement.scrollTop=t.content.nativeElement.scrollHeight})}},{key:"onLogsError",value:function(t){t=on(t),this.shouldShowError&&(this.snackbarService.showError("common.loading-error",null,!0,t),this.shouldShowError=!1),this.loadData(Kt.connectionRetryDelay)}}],[{key:"openDialog",value:function(t,a){var o=new Zn;return o.data=a,o.autoFocus=!1,o.width=Kt.largeModalWidth,t.open(i,o)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Ur),B(_c),B(Gn),B(In))},n.\u0275cmp=qe({type:n,selectors:[["app-log"]],viewQuery:function(e,t){var a;1&e&>(U$,5),2&e&<(a=ut())&&(t.content=a.first)},decls:16,vars:14,consts:[[3,"headline","includeVerticalMargins","includeScrollableArea"],[1,"filter-link-container"],[1,"filter-link","subtle-transparent-button",3,"click"],[1,"transparent"],["content",""],["class","app-log-message",4,"ngFor","ngForOf"],["class","app-log-empty mt-3",4,"ngIf"],[3,"showWhite",4,"ngIf"],[1,"app-log-message"],[1,"app-log-empty","mt-3"],[3,"showWhite"]],template:function(e,t){1&e&&(E(0,"app-dialog",0),Y(1,"translate"),E(2,"div",1)(3,"div",2),Se("click",function(){return t.filter()}),E(4,"span",3),R(5),Y(6,"translate"),P(),R(7,"\xa0 "),E(8,"span"),R(9),Y(10,"translate"),P()()(),E(11,"mat-dialog-content",null,4),q(13,z$,4,2,"div",5),q(14,W$,3,3,"div",6),q(15,G$,1,1,"app-loading-indicator",7),P()()),2&e&&(S("headline",U(1,8,"apps.log.title"))("includeVerticalMargins",!1)("includeScrollableArea",!1),p(5),ge(U(6,10,"apps.log.filter-button")),p(4),ge(U(10,12,t.currentFilter.text)),p(4),S("ngForOf",t.logMessages),p(1),S("ngIf",!(t.loading||t.logMessages&&0!==t.logMessages.length)),p(1),S("ngIf",t.loading))},directives:[_r,yb,Or,Et,es],pipes:[Mt],styles:[".mat-dialog-content[_ngcontent-%COMP%]{font-size:.875rem}.app-log-message[_ngcontent-%COMP%]{margin-top:15px;word-break:break-word}.app-log-message[_ngcontent-%COMP%] .transparent[_ngcontent-%COMP%]{color:#999}.app-log-message[_ngcontent-%COMP%]:first-of-type{margin-top:0}.app-log-message[_ngcontent-%COMP%]:last-of-type{margin-bottom:24px}.filter-link-container[_ngcontent-%COMP%]{text-align:center;margin:15px 0}.filter-link-container[_ngcontent-%COMP%] .filter-link[_ngcontent-%COMP%]{display:inline-block;background:#F8F9F9;padding:5px 10px;border-radius:1000px;font-size:.875rem;text-align:center;color:#215f9e;cursor:pointer}.filter-link-container[_ngcontent-%COMP%] .filter-link[_ngcontent-%COMP%] .transparent[_ngcontent-%COMP%]{color:#215f9e80}"]}),n}(),K$=["button"],$$=["firstInput"];function Z$(n,i){1&n&&(E(0,"mat-form-field"),Te(1,"input",9),Y(2,"translate"),P()),2&n&&(p(1),S("placeholder",U(2,1,"apps.vpn-socks-server-settings.netifc")))}function Q$(n,i){if(1&n){var e=tt();E(0,"div",10)(1,"mat-checkbox",11),Se("change",function(o){return ke(e),K().setSecureMode(o)}),R(2),Y(3,"translate"),E(4,"mat-icon",12),Y(5,"translate"),R(6,"help"),P()()()}if(2&n){var t=K();p(1),S("checked",t.secureMode),p(1),ye(" ",U(3,4,"apps.vpn-socks-server-settings.secure-mode-check")," "),p(2),S("inline",!0)("matTooltip",U(5,6,"apps.vpn-socks-server-settings.secure-mode-info"))}}var J$=function(){var n=function(){function i(e,t,a,o,s,l){c(this,i),this.data=e,this.appsService=t,this.formBuilder=a,this.dialogRef=o,this.snackbarService=s,this.dialog=l,this.configuringVpn=!1,this.secureMode=!1,-1!==e.name.toLocaleLowerCase().indexOf("vpn")&&(this.configuringVpn=!0)}return d(i,[{key:"ngOnInit",value:function(){var t=this;if(this.form=this.formBuilder.group({password:[""],passwordConfirmation:["",this.validatePasswords.bind(this)],netifc:[""]}),this.formSubscription=this.form.get("password").valueChanges.subscribe(function(){t.form.get("passwordConfirmation").updateValueAndValidity()}),this.data.args&&this.data.args.length>0)for(var a=0;a0),p(2),S("placeholder",U(6,8,"apps.vpn-socks-client-settings.filter-dialog.location")),p(3),S("placeholder",U(9,10,"apps.vpn-socks-client-settings.filter-dialog.pub-key")),p(4),ye(" ",U(13,12,"apps.vpn-socks-client-settings.filter-dialog.apply")," "))},directives:[_r,ei,Xr,gr,Et,ki,Tf,Jr,zr,lc,Or,iz,Qr,Qi,Hi,ci],pipes:[Mt],styles:[""]}),n}(),cZ=["firstInput"],dZ=function(){var n=function(){function i(e,t){c(this,i),this.dialogRef=e,this.formBuilder=t}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.form=this.formBuilder.group({password:[""]}),setTimeout(function(){return t.firstInput.nativeElement.focus()})}},{key:"finish",value:function(){var t=this.form.get("password").value;this.dialogRef.close("-"+t)}}],[{key:"openDialog",value:function(t){var a=new Zn;return a.autoFocus=!1,a.width=Kt.smallModalWidth,t.open(i,a)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Dr),B(Zi))},n.\u0275cmp=qe({type:n,selectors:[["app-skysocks-client-password"]],viewQuery:function(e,t){var a;1&e&>(cZ,5),2&e&<(a=ut())&&(t.firstInput=a.first)},decls:13,vars:13,consts:[[3,"headline"],[3,"formGroup"],[1,"info"],["type","password","id","password","formControlName","password","maxlength","100","matInput","",3,"placeholder"],["firstInput",""],["color","primary","type","mat-raised-button",1,"float-right",3,"action"]],template:function(e,t){1&e&&(E(0,"app-dialog",0),Y(1,"translate"),E(2,"form",1)(3,"div",2),R(4),Y(5,"translate"),P(),E(6,"mat-form-field"),Te(7,"input",3,4),Y(9,"translate"),P()(),E(10,"app-button",5),Se("action",function(){return t.finish()}),R(11),Y(12,"translate"),P()()),2&e&&(S("headline",U(1,5,"apps.vpn-socks-client-settings.password-dialog.title")),p(2),S("formGroup",t.form),p(2),ge(U(5,7,"apps.vpn-socks-client-settings.password-dialog.info")),p(3),S("placeholder",U(9,9,"apps.vpn-socks-client-settings.password-dialog.password")),p(4),ye(" ",U(12,11,"apps.vpn-socks-client-settings.password-dialog.continue-button")," "))},directives:[_r,ei,Xr,gr,ki,Qr,Qi,Jr,zr,Hi,ci],pipes:[Mt],styles:[".info[_ngcontent-%COMP%]{font-size:.7rem;margin-bottom:15px}"]}),n}(),fZ=function(){var n=function(){function i(e){c(this,i),this.http=e,this.discoveryServiceUrl="https://sd.skycoin.com/api/services?type="}return d(i,[{key:"getServices",value:function(t){var a=[];return this.http.get(this.discoveryServiceUrl+(t?"proxy":"vpn")).pipe(Lf(function(o){return o.pipe(Mi(4e3))}),$e(function(o){return o.forEach(function(s){var l=new gU,u=s.address.split(":");2===u.length&&(l.address=s.address,l.pk=u[0],l.port=u[1],l.location="",s.geo&&(s.geo.country&&(l.country=s.geo.country,l.location+=is[s.geo.country.toUpperCase()]?is[s.geo.country.toUpperCase()]:s.geo.country),s.geo.region&&s.geo.country&&(l.location+=", "),s.geo.region&&(l.region=s.geo.region,l.location+=l.region)),a.push(l))}),a}))}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(cl))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}();function hZ(n,i){1&n&&hr(0)}var qE=["*"];function pZ(n,i){}var vZ=function(i){return{animationDuration:i}},mZ=function(i,e){return{value:i,params:e}},gZ=["tabListContainer"],_Z=["tabList"],yZ=["tabListInner"],bZ=["nextPaginator"],kZ=["previousPaginator"],MZ=["tabBodyWrapper"],CZ=["tabHeader"];function wZ(n,i){}function SZ(n,i){1&n&&q(0,wZ,0,0,"ng-template",10),2&n&&S("cdkPortalOutlet",K().$implicit.templateLabel)}function DZ(n,i){1&n&&R(0),2&n&&ge(K().$implicit.textLabel)}function TZ(n,i){if(1&n){var e=tt();E(0,"div",6),Se("click",function(){var u=ke(e),f=u.$implicit,m=u.index,C=K(),A=sr(1);return C._handleClick(f,A,m)})("cdkFocusChange",function(u){var m=ke(e).index;return K()._tabFocusChanged(u,m)}),E(1,"div",7),q(2,SZ,1,1,"ng-template",8),q(3,DZ,1,1,"ng-template",null,9,Ls),P()()}if(2&n){var t=i.$implicit,a=i.index,o=sr(4),s=K();fn("mat-tab-label-active",s.selectedIndex===a),S("id",s._getTabLabelId(a))("ngClass",t.labelClass)("disabled",t.disabled)("matRippleDisabled",t.disabled||s.disableRipple),Wt("tabIndex",s._getTabIndex(t,a))("aria-posinset",a+1)("aria-setsize",s._tabs.length)("aria-controls",s._getTabContentId(a))("aria-selected",s.selectedIndex===a)("aria-label",t.ariaLabel||null)("aria-labelledby",!t.ariaLabel&&t.ariaLabelledby?t.ariaLabelledby:null),p(2),S("ngIf",t.templateLabel)("ngIfElse",o)}}function LZ(n,i){if(1&n){var e=tt();E(0,"mat-tab-body",11),Se("_onCentered",function(){return ke(e),K()._removeTabBodyWrapperHeight()})("_onCentering",function(l){return ke(e),K()._setTabBodyWrapperHeight(l)}),P()}if(2&n){var t=i.$implicit,a=i.index,o=K();fn("mat-tab-body-active",o.selectedIndex===a),S("id",o._getTabContentId(a))("ngClass",t.bodyClass)("content",t.content)("position",t.position)("origin",t.origin)("animationDuration",o.animationDuration),Wt("tabindex",null!=o.contentTabIndex&&o.selectedIndex===a?o.contentTabIndex:null)("aria-labelledby",o._getTabLabelId(a))}}var EZ=new Ze("MatInkBarPositioner",{providedIn:"root",factory:function PZ(){return function(e){return{left:e?(e.offsetLeft||0)+"px":"0",width:e?(e.offsetWidth||0)+"px":"0"}}}}),KE=function(){var n=function(){function i(e,t,a,o){c(this,i),this._elementRef=e,this._ngZone=t,this._inkBarPositioner=a,this._animationMode=o}return d(i,[{key:"alignToElement",value:function(t){var a=this;this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return a._setStyles(t)})}):this._setStyles(t)}},{key:"show",value:function(){this._elementRef.nativeElement.style.visibility="visible"}},{key:"hide",value:function(){this._elementRef.nativeElement.style.visibility="hidden"}},{key:"_setStyles",value:function(t){var a=this._inkBarPositioner(t),o=this._elementRef.nativeElement;o.style.left=a.left,o.style.width=a.width}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(yt),B(bt),B(EZ),B(ai,8))},n.\u0275dir=et({type:n,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(e,t){2&e&&fn("_mat-animation-noopable","NoopAnimations"===t._animationMode)}}),n}(),xZ=new Ze("MatTabContent"),OZ=new Ze("MatTabLabel"),IZ=new Ze("MAT_TAB"),AZ=sc(function(){return d(function n(){c(this,n)})}()),$E=new Ze("MAT_TAB_GROUP"),ZE=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o){var s;return c(this,t),(s=e.call(this))._viewContainerRef=a,s._closestTabGroup=o,s.textLabel="",s._contentPortal=null,s._stateChanges=new Ae,s.position=null,s.origin=null,s.isActive=!1,s}return d(t,[{key:"templateLabel",get:function(){return this._templateLabel},set:function(o){this._setTemplateLabelInput(o)}},{key:"content",get:function(){return this._contentPortal}},{key:"ngOnChanges",value:function(o){(o.hasOwnProperty("textLabel")||o.hasOwnProperty("disabled"))&&this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"ngOnInit",value:function(){this._contentPortal=new ac(this._explicitContent||this._implicitContent,this._viewContainerRef)}},{key:"_setTemplateLabelInput",value:function(o){o&&o._closestTab===this&&(this._templateLabel=o)}}]),t}(AZ);return n.\u0275fac=function(e){return new(e||n)(B(ii),B($E,8))},n.\u0275cmp=qe({type:n,selectors:[["mat-tab"]],contentQueries:function(e,t,a){var o;1&e&&(vr(a,OZ,5),vr(a,xZ,7,Ii)),2&e&&(lt(o=ut())&&(t.templateLabel=o.first),lt(o=ut())&&(t._explicitContent=o.first))},viewQuery:function(e,t){var a;1&e&>(Ii,7),2&e&<(a=ut())&&(t._implicitContent=a.first)},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[cn([{provide:IZ,useExisting:n}]),vt,Nr],ngContentSelectors:qE,decls:1,vars:0,template:function(e,t){1&e&&(Gi(),q(0,hZ,1,0,"ng-template"))},encapsulation:2}),n}(),FZ={translateTab:Go("translateTab",[Ri("center, void, left-origin-center, right-origin-center",kn({transform:"none"})),Ri("left",kn({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),Ri("right",kn({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),_i("* => left, * => right, left => center, right => center",Fi("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),_i("void => left-origin-center",[kn({transform:"translate3d(-100%, 0, 0)"}),Fi("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),_i("void => right-origin-center",[kn({transform:"translate3d(100%, 0, 0)"}),Fi("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},RZ=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l){var u;return c(this,t),(u=e.call(this,a,o,l))._host=s,u._centeringSub=Ne.EMPTY,u._leavingSub=Ne.EMPTY,u}return d(t,[{key:"ngOnInit",value:function(){var o=this;T(O(t.prototype),"ngOnInit",this).call(this),this._centeringSub=this._host._beforeCentering.pipe(ha(this._host._isCenterPosition(this._host._position))).subscribe(function(s){s&&!o.hasAttached()&&o.attach(o._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(function(){o.detach()})}},{key:"ngOnDestroy",value:function(){T(O(t.prototype),"ngOnDestroy",this).call(this),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}]),t}(Cl);return n.\u0275fac=function(e){return new(e||n)(B(Ts),B(ii),B(yn(function(){return QE})),B(Ot))},n.\u0275dir=et({type:n,selectors:[["","matTabBodyHost",""]],features:[vt]}),n}(),NZ=function(){var n=function(){function i(e,t,a){var o=this;c(this,i),this._elementRef=e,this._dir=t,this._dirChangeSubscription=Ne.EMPTY,this._translateTabComplete=new Ae,this._onCentering=new pt,this._beforeCentering=new pt,this._afterLeavingCenter=new pt,this._onCentered=new pt(!0),this.animationDuration="500ms",t&&(this._dirChangeSubscription=t.change.subscribe(function(s){o._computePositionAnimationState(s),a.markForCheck()})),this._translateTabComplete.pipe(nb(function(s,l){return s.fromState===l.fromState&&s.toState===l.toState})).subscribe(function(s){o._isCenterPosition(s.toState)&&o._isCenterPosition(o._position)&&o._onCentered.emit(),o._isCenterPosition(s.fromState)&&!o._isCenterPosition(o._position)&&o._afterLeavingCenter.emit()})}return d(i,[{key:"position",set:function(t){this._positionIndex=t,this._computePositionAnimationState()}},{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(t){var a=this._isCenterPosition(t.toState);this._beforeCentering.emit(a),a&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}},{key:"_getLayoutDirection",value:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"_isCenterPosition",value:function(t){return"center"==t||"left-origin-center"==t||"right-origin-center"==t}},{key:"_computePositionAnimationState",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._getLayoutDirection();this._position=this._positionIndex<0?"ltr"==t?"left":"right":this._positionIndex>0?"ltr"==t?"right":"left":"center"}},{key:"_computePositionFromOrigin",value:function(t){var a=this._getLayoutDirection();return"ltr"==a&&t<=0||"rtl"==a&&t>0?"left-origin-center":"right-origin-center"}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(yt),B(pa,8),B(Yn))},n.\u0275dir=et({type:n,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),n}(),QE=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s){return c(this,t),e.call(this,a,o,s)}return d(t)}(NZ);return n.\u0275fac=function(e){return new(e||n)(B(yt),B(pa,8),B(Yn))},n.\u0275cmp=qe({type:n,selectors:[["mat-tab-body"]],viewQuery:function(e,t){var a;1&e&>(Cl,5),2&e&<(a=ut())&&(t._portalHost=a.first)},hostAttrs:[1,"mat-tab-body"],features:[vt],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(e,t){1&e&&(E(0,"div",0,1),Se("@translateTab.start",function(o){return t._onTranslateTabStarted(o)})("@translateTab.done",function(o){return t._translateTabComplete.next(o)}),q(2,pZ,0,0,"ng-template",2),P()),2&e&&S("@translateTab",En(3,mZ,t._position,Qe(1,vZ,t.animationDuration)))},directives:[RZ],styles:['.mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}.mat-tab-body-content[style*="visibility: hidden"]{display:none}\n'],encapsulation:2,data:{animation:[FZ.translateTab]}}),n}(),JE=new Ze("MAT_TABS_CONFIG"),YZ=sc(function(){return d(function n(){c(this,n)})}()),XE=function(){var n=function(i){h(t,i);var e=y(t);function t(a){var o;return c(this,t),(o=e.call(this)).elementRef=a,o}return d(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}(YZ);return n.\u0275fac=function(e){return new(e||n)(B(yt))},n.\u0275dir=et({type:n,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(e,t){2&e&&(Wt("aria-disabled",!!t.disabled),fn("mat-tab-disabled",t.disabled))},inputs:{disabled:"disabled"},features:[vt]}),n}(),eP=yl({passive:!0}),VZ=function(){var n=function(){function i(e,t,a,o,s,l,u){var f=this;c(this,i),this._elementRef=e,this._changeDetectorRef=t,this._viewportRuler=a,this._dir=o,this._ngZone=s,this._platform=l,this._animationMode=u,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new Ae,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new Ae,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new pt,this.indexFocused=new pt,s.runOutsideAngular(function(){_l(e.nativeElement,"mouseleave").pipe(hn(f._destroyed)).subscribe(function(){f._stopInterval()})})}return d(i,[{key:"selectedIndex",get:function(){return this._selectedIndex},set:function(t){t=Oa(t),this._selectedIndex!=t&&(this._selectedIndexChanged=!0,this._selectedIndex=t,this._keyManager&&this._keyManager.updateActiveItem(t))}},{key:"ngAfterViewInit",value:function(){var t=this;_l(this._previousPaginator.nativeElement,"touchstart",eP).pipe(hn(this._destroyed)).subscribe(function(){t._handlePaginatorPress("before")}),_l(this._nextPaginator.nativeElement,"touchstart",eP).pipe(hn(this._destroyed)).subscribe(function(){t._handlePaginatorPress("after")})}},{key:"ngAfterContentInit",value:function(){var t=this,a=this._dir?this._dir.change:Je("ltr"),o=this._viewportRuler.change(150),s=function(){t.updatePagination(),t._alignInkBarToSelectedTab()};this._keyManager=new r2(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(s):s(),Ci(a,o,this._items.changes).pipe(hn(this._destroyed)).subscribe(function(){t._ngZone.run(function(){return Promise.resolve().then(s)}),t._keyManager.withHorizontalOrientation(t._getLayoutDirection())}),this._keyManager.change.pipe(hn(this._destroyed)).subscribe(function(l){t.indexFocused.emit(l),t._setTabFocus(l)})}},{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(t){if(!Qo(t))switch(t.keyCode){case 13:case 32:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(t));break;default:this._keyManager.onKeydown(t)}}},{key:"_onContentChanges",value:function(){var t=this,a=this._elementRef.nativeElement.textContent;a!==this._currentTextContent&&(this._currentTextContent=a||"",this._ngZone.run(function(){t.updatePagination(),t._alignInkBarToSelectedTab(),t._changeDetectorRef.markForCheck()}))}},{key:"updatePagination",value:function(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}},{key:"focusIndex",get:function(){return this._keyManager?this._keyManager.activeItemIndex:0},set:function(t){!this._isValidIndex(t)||this.focusIndex===t||!this._keyManager||this._keyManager.setActiveItem(t)}},{key:"_isValidIndex",value:function(t){if(!this._items)return!0;var a=this._items?this._items.toArray()[t]:null;return!!a&&!a.disabled}},{key:"_setTabFocus",value:function(t){if(this._showPaginationControls&&this._scrollToLabel(t),this._items&&this._items.length){this._items.toArray()[t].focus();var a=this._tabListContainer.nativeElement,o=this._getLayoutDirection();a.scrollLeft="ltr"==o?0:a.scrollWidth-a.offsetWidth}}},{key:"_getLayoutDirection",value:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"_updateTabScrollPosition",value:function(){if(!this.disablePagination){var t=this.scrollDistance,a="ltr"===this._getLayoutDirection()?-t:t;this._tabList.nativeElement.style.transform="translateX(".concat(Math.round(a),"px)"),(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}}},{key:"scrollDistance",get:function(){return this._scrollDistance},set:function(t){this._scrollTo(t)}},{key:"_scrollHeader",value:function(t){return this._scrollTo(this._scrollDistance+("before"==t?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}},{key:"_handlePaginatorClick",value:function(t){this._stopInterval(),this._scrollHeader(t)}},{key:"_scrollToLabel",value:function(t){if(!this.disablePagination){var a=this._items?this._items.toArray()[t]:null;if(a){var f,m,o=this._tabListContainer.nativeElement.offsetWidth,s=a.elementRef.nativeElement,l=s.offsetLeft,u=s.offsetWidth;"ltr"==this._getLayoutDirection()?m=(f=l)+u:f=(m=this._tabListInner.nativeElement.offsetWidth-l)-u;var C=this.scrollDistance,A=this.scrollDistance+o;fA&&(this.scrollDistance+=m-A+60)}}}},{key:"_checkPaginationEnabled",value:function(){if(this.disablePagination)this._showPaginationControls=!1;else{var t=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;t||(this.scrollDistance=0),t!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=t}}},{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._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}},{key:"_alignInkBarToSelectedTab",value:function(){var t=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,a=t?t.elementRef.nativeElement:null;a?this._inkBar.alignToElement(a):this._inkBar.hide()}},{key:"_stopInterval",value:function(){this._stopScrolling.next()}},{key:"_handlePaginatorPress",value:function(t,a){var o=this;a&&null!=a.button&&0!==a.button||(this._stopInterval(),qp(650,100).pipe(hn(Ci(this._stopScrolling,this._destroyed))).subscribe(function(){var s=o._scrollHeader(t),u=s.distance;(0===u||u>=s.maxScrollDistance)&&o._stopInterval()}))}},{key:"_scrollTo",value:function(t){if(this.disablePagination)return{maxScrollDistance:0,distance:0};var a=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(a,t)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:a,distance:this._scrollDistance}}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(yt),B(Yn),B(Ml),B(pa,8),B(bt),B(Sr),B(ai,8))},n.\u0275dir=et({type:n,inputs:{disablePagination:"disablePagination"}}),n}(),jZ=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l,u,f,m){var C;return c(this,t),(C=e.call(this,a,o,s,l,u,f,m))._disableRipple=!1,C}return d(t,[{key:"disableRipple",get:function(){return this._disableRipple},set:function(o){this._disableRipple=$n(o)}},{key:"_itemSelected",value:function(o){o.preventDefault()}}]),t}(VZ);return n.\u0275fac=function(e){return new(e||n)(B(yt),B(Yn),B(Ml),B(pa,8),B(bt),B(Sr),B(ai,8))},n.\u0275dir=et({type:n,inputs:{disableRipple:"disableRipple"},features:[vt]}),n}(),UZ=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l,u,f,m){return c(this,t),e.call(this,a,o,s,l,u,f,m)}return d(t)}(jZ);return n.\u0275fac=function(e){return new(e||n)(B(yt),B(Yn),B(Ml),B(pa,8),B(bt),B(Sr),B(ai,8))},n.\u0275cmp=qe({type:n,selectors:[["mat-tab-header"]],contentQueries:function(e,t,a){var o;1&e&&vr(a,XE,4),2&e&<(o=ut())&&(t._items=o)},viewQuery:function(e,t){var a;1&e&&(gt(KE,7),gt(gZ,7),gt(_Z,7),gt(yZ,7),gt(bZ,5),gt(kZ,5)),2&e&&(lt(a=ut())&&(t._inkBar=a.first),lt(a=ut())&&(t._tabListContainer=a.first),lt(a=ut())&&(t._tabList=a.first),lt(a=ut())&&(t._tabListInner=a.first),lt(a=ut())&&(t._nextPaginator=a.first),lt(a=ut())&&(t._previousPaginator=a.first))},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(e,t){2&e&&fn("mat-tab-header-pagination-controls-enabled",t._showPaginationControls)("mat-tab-header-rtl","rtl"==t._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[vt],ngContentSelectors:qE,decls:14,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","disabled","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"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,t){1&e&&(Gi(),E(0,"button",0,1),Se("click",function(){return t._handlePaginatorClick("before")})("mousedown",function(o){return t._handlePaginatorPress("before",o)})("touchend",function(){return t._stopInterval()}),Te(2,"div",2),P(),E(3,"div",3,4),Se("keydown",function(o){return t._handleKeydown(o)}),E(5,"div",5,6),Se("cdkObserveContent",function(){return t._onContentChanges()}),E(7,"div",7,8),hr(9),P(),Te(10,"mat-ink-bar"),P()(),E(11,"button",9,10),Se("mousedown",function(o){return t._handlePaginatorPress("after",o)})("click",function(){return t._handlePaginatorClick("after")})("touchend",function(){return t._stopInterval()}),Te(13,"div",2),P()),2&e&&(fn("mat-tab-header-pagination-disabled",t._disableScrollBefore),S("matRippleDisabled",t._disableScrollBefore||t.disableRipple)("disabled",t._disableScrollBefore||null),p(5),fn("_mat-animation-noopable","NoopAnimations"===t._animationMode),p(6),fn("mat-tab-header-pagination-disabled",t._disableScrollAfter),S("matRippleDisabled",t._disableScrollAfter||t.disableRipple)("disabled",t._disableScrollAfter||null))},directives:[Jo,rb,KE],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;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;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.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;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-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .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}),n}(),zZ=0,WZ=d(function n(){c(this,n)}),GZ=Sl(df(function(){return d(function n(i){c(this,n),this._elementRef=i})}()),"primary"),qZ=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l){var u,f;return c(this,t),(u=e.call(this,a))._changeDetectorRef=o,u._animationMode=l,u._tabs=new Od,u._indexToSelect=0,u._tabBodyWrapperHeight=0,u._tabsSubscription=Ne.EMPTY,u._tabLabelSubscription=Ne.EMPTY,u._selectedIndex=null,u.headerPosition="above",u.selectedIndexChange=new pt,u.focusChange=new pt,u.animationDone=new pt,u.selectedTabChange=new pt(!0),u._groupId=zZ++,u.animationDuration=s&&s.animationDuration?s.animationDuration:"500ms",u.disablePagination=!(!s||null==s.disablePagination)&&s.disablePagination,u.dynamicHeight=!(!s||null==s.dynamicHeight)&&s.dynamicHeight,u.contentTabIndex=null!==(f=null==s?void 0:s.contentTabIndex)&&void 0!==f?f:null,u}return d(t,[{key:"dynamicHeight",get:function(){return this._dynamicHeight},set:function(o){this._dynamicHeight=$n(o)}},{key:"selectedIndex",get:function(){return this._selectedIndex},set:function(o){this._indexToSelect=Oa(o,null)}},{key:"animationDuration",get:function(){return this._animationDuration},set:function(o){this._animationDuration=/^\d+$/.test(o+"")?o+"ms":o}},{key:"contentTabIndex",get:function(){return this._contentTabIndex},set:function(o){this._contentTabIndex=Oa(o,null)}},{key:"backgroundColor",get:function(){return this._backgroundColor},set:function(o){var s=this._elementRef.nativeElement;s.classList.remove("mat-background-".concat(this.backgroundColor)),o&&s.classList.add("mat-background-".concat(o)),this._backgroundColor=o}},{key:"ngAfterContentChecked",value:function(){var o=this,s=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=s){var l=null==this._selectedIndex;if(!l){this.selectedTabChange.emit(this._createChangeEvent(s));var u=this._tabBodyWrapper.nativeElement;u.style.minHeight=u.clientHeight+"px"}Promise.resolve().then(function(){o._tabs.forEach(function(f,m){return f.isActive=m===s}),l||(o.selectedIndexChange.emit(s),o._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach(function(f,m){f.position=m-s,null!=o._selectedIndex&&0==f.position&&!f.origin&&(f.origin=s-o._selectedIndex)}),this._selectedIndex!==s&&(this._selectedIndex=s,this._changeDetectorRef.markForCheck())}},{key:"ngAfterContentInit",value:function(){var o=this;this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(function(){if(o._clampTabIndex(o._indexToSelect)===o._selectedIndex)for(var l=o._tabs.toArray(),u=0;u.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;outline:0;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}),n}(),$Z=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({imports:[[Mo,Pn,Zp,hf,nv,f2],Pn]}),n}(),ZZ=["button"],QZ=["settingsButton"],JZ=["firstInput"];function XZ(n,i){1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n&&(p(1),ye(" ",U(2,1,"apps.vpn-socks-client-settings.remote-key-length-error")," "))}function eQ(n,i){1&n&&(R(0),Y(1,"translate")),2&n&&ye(" ",U(1,1,"apps.vpn-socks-client-settings.remote-key-chars-error")," ")}function tQ(n,i){1&n&&(E(0,"mat-form-field"),Te(1,"input",20),Y(2,"translate"),P()),2&n&&(p(1),S("placeholder",U(2,1,"apps.vpn-socks-client-settings.password")))}function nQ(n,i){1&n&&(E(0,"div",21)(1,"mat-icon",22),R(2,"warning"),P(),R(3),Y(4,"translate"),P()),2&n&&(p(1),S("inline",!0),p(2),ye(" ",U(4,2,"apps.vpn-socks-client-settings.password-history-warning")," "))}function rQ(n,i){1&n&&Te(0,"app-loading-indicator",23),2&n&&S("showWhite",!1)}function iQ(n,i){1&n&&(E(0,"div",24)(1,"mat-icon",22),R(2,"error"),P(),R(3),Y(4,"translate"),P()),2&n&&(p(1),S("inline",!0),p(2),ye(" ",U(4,2,"apps.vpn-socks-client-settings.no-elements")," "))}function aQ(n,i){1&n&&(E(0,"div",31),R(1),Y(2,"translate"),P()),2&n&&(p(1),ye(" ",U(2,1,"apps.vpn-socks-client-settings.no-filter")," "))}function oQ(n,i){if(1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n){var e=K().$implicit;p(1),ge(U(2,1,e[1]))}}function sQ(n,i){if(1&n&&(ze(0),R(1),We()),2&n){var e=K().$implicit;p(1),ge(e[2])}}function lQ(n,i){if(1&n&&(E(0,"div",31)(1,"span"),R(2),Y(3,"translate"),P(),q(4,oQ,3,3,"ng-container",7),q(5,sQ,2,1,"ng-container",7),P()),2&n){var e=i.$implicit;p(2),ye("",U(3,3,e[0])," "),p(2),S("ngIf",e[1]),p(1),S("ngIf",e[2])}}function uQ(n,i){1&n&&(E(0,"div",24)(1,"mat-icon",22),R(2,"error"),P(),R(3),Y(4,"translate"),P()),2&n&&(p(1),S("inline",!0),p(2),ye(" ",U(4,2,"apps.vpn-socks-client-settings.no-elements-for-filters")," "))}var nP=function(i){return{highlighted:i}};function cQ(n,i){if(1&n&&(ze(0),E(1,"span",36),R(2),P(),We()),2&n){var e=i.$implicit,t=i.index;p(1),S("ngClass",Qe(2,nP,t%2!=0)),p(1),ge(e)}}function dQ(n,i){if(1&n&&(ze(0),E(1,"div",37),Te(2,"div"),P(),We()),2&n){var e=K(2).$implicit;p(2),tr("background-image: url('assets/img/flags/"+e.country.toLocaleLowerCase()+".png');")}}function fQ(n,i){if(1&n&&(ze(0),E(1,"span",36),R(2),P(),We()),2&n){var e=i.$implicit,t=i.index;p(1),S("ngClass",Qe(2,nP,t%2!=0)),p(1),ge(e)}}function hQ(n,i){if(1&n&&(E(0,"div",31)(1,"span"),R(2),Y(3,"translate"),P(),E(4,"span"),R(5,"\xa0 "),q(6,dQ,3,2,"ng-container",7),q(7,fQ,3,4,"ng-container",34),P()()),2&n){var e=K().$implicit,t=K(2);p(2),ge(U(3,3,"apps.vpn-socks-client-settings.location")),p(4),S("ngIf",e.country),p(1),S("ngForOf",t.getHighlightedTextParts(e.location,t.currentFilters.location))}}function pQ(n,i){if(1&n){var e=tt();E(0,"div",32)(1,"button",25),Se("click",function(){var l=ke(e).$implicit;return K(2).saveChanges(l.pk,null,!1,l.location)}),E(2,"div",33)(3,"div",31)(4,"span"),R(5),Y(6,"translate"),P(),E(7,"span"),R(8,"\xa0"),q(9,cQ,3,4,"ng-container",34),P()(),q(10,hQ,8,5,"div",28),P()(),E(11,"button",35),Se("click",function(){var l=ke(e).$implicit;return K(2).copyPk(l.pk)}),Y(12,"translate"),E(13,"mat-icon",22),R(14,"filter_none"),P()()()}if(2&n){var t=i.$implicit,a=K(2);p(5),ge(U(6,5,"apps.vpn-socks-client-settings.key")),p(4),S("ngForOf",a.getHighlightedTextParts(t.pk,a.currentFilters.key)),p(1),S("ngIf",t.location),p(1),S("matTooltip",U(12,7,"apps.vpn-socks-client-settings.copy-pk-info")),p(2),S("inline",!0)}}function vQ(n,i){if(1&n){var e=tt();ze(0),E(1,"button",25),Se("click",function(){return ke(e),K().changeFilters()}),E(2,"div",26)(3,"div",27)(4,"mat-icon",22),R(5,"filter_list"),P()(),E(6,"div"),q(7,aQ,3,3,"div",28),q(8,lQ,6,5,"div",29),E(9,"div",30),R(10),Y(11,"translate"),P()()()(),q(12,uQ,5,4,"div",12),q(13,pQ,15,9,"div",14),We()}if(2&n){var t=K();p(4),S("inline",!0),p(3),S("ngIf",0===t.currentFiltersTexts.length),p(1),S("ngForOf",t.currentFiltersTexts),p(2),ge(U(11,6,"apps.vpn-socks-client-settings.click-to-change")),p(2),S("ngIf",0===t.filteredProxiesFromDiscovery.length),p(1),S("ngForOf",t.proxiesFromDiscoveryToShow)}}var mQ=function(i,e){return{currentElementsRange:i,totalElements:e}};function gQ(n,i){if(1&n){var e=tt();E(0,"div",38)(1,"span"),R(2),Y(3,"translate"),P(),E(4,"button",39),Se("click",function(){return ke(e),K().goToPreviousPage()}),E(5,"mat-icon"),R(6,"chevron_left"),P()(),E(7,"button",39),Se("click",function(){return ke(e),K().goToNextPage()}),E(8,"mat-icon"),R(9,"chevron_right"),P()()()}if(2&n){var t=K();p(2),ge(xt(3,1,"apps.vpn-socks-client-settings.pagination-info",En(4,mQ,t.currentRange,t.filteredProxiesFromDiscovery.length)))}}var _Q=function(i){return{number:i}};function yQ(n,i){if(1&n&&(E(0,"div")(1,"div",24)(2,"mat-icon",22),R(3,"error"),P(),R(4),Y(5,"translate"),P()()),2&n){var e=K();p(2),S("inline",!0),p(2),ye(" ",xt(5,2,"apps.vpn-socks-client-settings.no-history",Qe(5,_Q,e.maxHistoryElements))," ")}}function bQ(n,i){1&n&&Ss(0)}function kQ(n,i){1&n&&Ss(0)}function MQ(n,i){if(1&n&&(ze(0),E(1,"span"),R(2),P(),We()),2&n){var e=K(2).$implicit;p(2),ye(" ",e.note,"")}}function CQ(n,i){1&n&&(ze(0),E(1,"span"),R(2),Y(3,"translate"),P(),We()),2&n&&(p(2),ye(" ",U(3,1,"apps.vpn-socks-client-settings.note-entered-manually"),""))}function wQ(n,i){if(1&n&&(ze(0),E(1,"span"),R(2),P(),We()),2&n){var e=K(4).$implicit;p(2),ye(" (",e.location,")")}}function SQ(n,i){if(1&n&&(ze(0),E(1,"span"),R(2),Y(3,"translate"),P(),q(4,wQ,3,1,"ng-container",7),We()),2&n){var e=K(3).$implicit;p(2),ye(" ",U(3,2,"apps.vpn-socks-client-settings.note-obtained"),""),p(2),S("ngIf",e.location)}}function DQ(n,i){if(1&n&&(ze(0),q(1,CQ,4,3,"ng-container",7),q(2,SQ,5,4,"ng-container",7),We()),2&n){var e=K(2).$implicit;p(1),S("ngIf",e.enteredManually),p(1),S("ngIf",!e.enteredManually)}}function TQ(n,i){if(1&n&&(E(0,"div",45)(1,"div",46)(2,"div",31)(3,"span"),R(4),Y(5,"translate"),P(),E(6,"span"),R(7),P()(),E(8,"div",31)(9,"span"),R(10),Y(11,"translate"),P(),q(12,MQ,3,1,"ng-container",7),q(13,DQ,3,2,"ng-container",7),P()(),E(14,"div",47)(15,"div",48)(16,"mat-icon",22),R(17,"add"),P()()()()),2&n){var e=K().$implicit;p(4),ge(U(5,6,"apps.vpn-socks-client-settings.key")),p(3),ye(" ",e.key,""),p(3),ge(U(11,8,"apps.vpn-socks-client-settings.note")),p(2),S("ngIf",e.note),p(1),S("ngIf",!e.note),p(3),S("inline",!0)}}function LQ(n,i){if(1&n){var e=tt();E(0,"div",32)(1,"button",40),Se("click",function(){var s=ke(e).$implicit;return K().useFromHistory(s)}),q(2,bQ,1,0,"ng-container",41),P(),E(3,"button",42),Se("click",function(){var s=ke(e).$implicit;return K().changeNote(s)}),Y(4,"translate"),E(5,"mat-icon",22),R(6,"edit"),P()(),E(7,"button",42),Se("click",function(){var s=ke(e).$implicit;return K().removeFromHistory(s.key)}),Y(8,"translate"),E(9,"mat-icon",22),R(10,"close"),P()(),E(11,"button",43),Se("click",function(){var s=ke(e).$implicit;return K().openHistoryOptions(s)}),q(12,kQ,1,0,"ng-container",41),P(),q(13,TQ,18,10,"ng-template",null,44,Ls),P()}if(2&n){var t=sr(14);p(2),S("ngTemplateOutlet",t),p(1),S("matTooltip",U(4,6,"apps.vpn-socks-client-settings.change-note")),p(2),S("inline",!0),p(2),S("matTooltip",U(8,8,"apps.vpn-socks-client-settings.remove-entry")),p(2),S("inline",!0),p(3),S("ngTemplateOutlet",t)}}function EQ(n,i){1&n&&(E(0,"div",49)(1,"mat-icon",22),R(2,"warning"),P(),R(3),Y(4,"translate"),P()),2&n&&(p(1),S("inline",!0),p(2),ye(" ",U(4,2,"apps.vpn-socks-client-settings.settings-changed-alert")," "))}var PQ=function(){var n=function(){function i(e,t,a,o,s,l,u,f){c(this,i),this.data=e,this.dialogRef=t,this.appsService=a,this.formBuilder=o,this.snackbarService=s,this.dialog=l,this.proxyDiscoveryService=u,this.clipboardService=f,this.socksHistoryStorageKey="SkysocksClientHistory_",this.vpnHistoryStorageKey="VpnClientHistory_",this.maxHistoryElements=10,this.maxElementsPerPage=10,this.countriesFromDiscovery=new Set,this.loadingFromDiscovery=!0,this.numberOfPages=1,this.currentPage=1,this.currentRange="1 - 1",this.currentFilters=new GE,this.currentFiltersTexts=[],this.configuringVpn=!1,this.killswitch=!1,this.initialKillswitchSetting=!1,this.working=!1,-1!==e.name.toLocaleLowerCase().indexOf("vpn")&&(this.configuringVpn=!0)}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.discoverySubscription=this.proxyDiscoveryService.getServices(!this.configuringVpn).subscribe(function(l){t.proxiesFromDiscovery=l,t.proxiesFromDiscovery.forEach(function(u){u.country&&t.countriesFromDiscovery.add(u.country.toUpperCase())}),t.filterProxies(),t.loadingFromDiscovery=!1});var a=localStorage.getItem(this.configuringVpn?this.vpnHistoryStorageKey:this.socksHistoryStorageKey);this.history=a?JSON.parse(a):[];var o="";if(this.data.args&&this.data.args.length>0)for(var s=0;s=this.numberOfPages||(this.currentPage+=1,this.showCurrentPage())}},{key:"goToPreviousPage",value:function(){this.currentPage<=1||(this.currentPage-=1,this.showCurrentPage())}},{key:"showCurrentPage",value:function(){this.proxiesFromDiscoveryToShow=this.filteredProxiesFromDiscovery.slice((this.currentPage-1)*this.maxElementsPerPage,this.currentPage*this.maxElementsPerPage),this.currentRange=(this.currentPage-1)*this.maxElementsPerPage+1+" - ",this.currentRange+=this.currentPage0&&void 0!==arguments[0]?arguments[0]:null,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;if((this.form.valid||a)&&!this.working){s=!a||s,o=a?o:this.form.get("password").value,a=a||this.form.get("pk").value;var f="apps.vpn-socks-client-settings.change-key-confirmation",m=$t.createConfirmationDialog(this.dialog,f);m.componentInstance.operationAccepted.subscribe(function(){m.close(),t.continueSavingChanges(a,o,s,l,u)})}}},{key:"saveSettings",value:function(){var t=this;if(!this.working){var a={killswitch:this.killswitch};this.settingsButton.showLoading(!1),this.button.showLoading(!1),this.working=!0,this.operationSubscription=this.appsService.changeAppSettings(It.getCurrentNodeKey(),this.data.name,a).subscribe(function(){t.initialKillswitchSetting=t.killswitch,t.snackbarService.showDone("apps.vpn-socks-client-settings.changes-made"),t.working=!1,t.settingsButton.reset(!1),t.button.reset(!1),It.refreshCurrentDisplayedData()},function(o){t.working=!1,t.settingsButton.showError(!1),t.button.reset(!1),o=on(o),t.snackbarService.showError(o)})}}},{key:"copyPk",value:function(t){this.clipboardService.copy(t)?this.snackbarService.showDone("apps.vpn-socks-client-settings.copied-pk-info"):this.snackbarService.showError("apps.vpn-socks-client-settings.copy-pk-error")}},{key:"continueSavingChanges",value:function(t,a,o,s,l){var u=this;if(!this.working){this.button.showLoading(!1),this.settingsButton.showLoading(!1),this.working=!0;var f={pk:t};this.configuringVpn&&(f.passcode=a||""),this.operationSubscription=this.appsService.changeAppSettings(It.getCurrentNodeKey(),this.data.name,f).subscribe(function(){return u.onServerDataChangeSuccess(t,!!a,o,s,l)},function(m){return u.onServerDataChangeError(m)})}}},{key:"onServerDataChangeSuccess",value:function(t,a,o,s,l){this.history=this.history.filter(function(C){return C.key!==t});var u={key:t,enteredManually:o};if(a&&(u.hasPassword=a),s&&(u.location=s),l&&(u.note=l),this.history=[u].concat(this.history),this.history.length>this.maxHistoryElements){var f=this.history.length-this.maxHistoryElements;this.history.splice(this.history.length-f,f)}this.form.get("pk").setValue(t);var m=JSON.stringify(this.history);localStorage.setItem(this.configuringVpn?this.vpnHistoryStorageKey:this.socksHistoryStorageKey,m),It.refreshCurrentDisplayedData(),this.snackbarService.showDone("apps.vpn-socks-client-settings.changes-made"),this.working=!1,this.button.reset(!1),this.settingsButton.reset(!1)}},{key:"onServerDataChangeError",value:function(t){this.working=!1,this.button.showError(!1),this.settingsButton.reset(!1),t=on(t),this.snackbarService.showError(t)}}],[{key:"openDialog",value:function(t,a){var o=new Zn;return o.data=a,o.autoFocus=!1,o.width=Kt.largeModalWidth,t.open(i,o)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Ur),B(Dr),B(_c),B(Zi),B(In),B(Gn),B(fZ),B(Sf))},n.\u0275cmp=qe({type:n,selectors:[["app-skysocks-client-settings"]],viewQuery:function(e,t){var a;1&e&&(gt(ZZ,5),gt(QZ,5),gt(JZ,5)),2&e&&(lt(a=ut())&&(t.button=a.first),lt(a=ut())&&(t.settingsButton=a.first),lt(a=ut())&&(t.firstInput=a.first))},decls:44,vars:46,consts:[[3,"headline"],[3,"label"],[3,"formGroup"],["id","pk","formControlName","pk","maxlength","66","matInput","",3,"placeholder"],["firstInput",""],[4,"ngIf","ngIfElse"],["hexError",""],[4,"ngIf"],["class","password-history-warning",4,"ngIf"],["color","primary",1,"float-right",3,"disabled","action"],["button",""],["class","loading-indicator",3,"showWhite",4,"ngIf"],["class","info-text",4,"ngIf"],["class","paginator",4,"ngIf"],["class","d-flex",4,"ngFor","ngForOf"],[1,"main-theme","settings-option"],["color","primary",3,"checked","change"],[1,"help-icon",3,"inline","matTooltip"],["class","settings-changed-warning",4,"ngIf"],["settingsButton",""],["id","password","type","password","formControlName","password","maxlength","100","matInput","",3,"placeholder"],[1,"password-history-warning"],[3,"inline"],[1,"loading-indicator",3,"showWhite"],[1,"info-text"],["mat-button","",1,"list-button","grey-button-background","w-100",3,"click"],[1,"filter-button-content"],[1,"icon-area"],["class","item",4,"ngIf"],["class","item",4,"ngFor","ngForOf"],[1,"blue-part"],[1,"item"],[1,"d-flex"],[1,"button-content"],[4,"ngFor","ngForOf"],["mat-button","",1,"list-button","grey-button-background",3,"matTooltip","click"],[3,"ngClass"],[1,"flag-container"],[1,"paginator"],["mat-icon-button","",1,"hard-grey-button-background",3,"click"],["mat-button","",1,"list-button","grey-button-background","w-100","d-none","d-md-inline",3,"click"],[4,"ngTemplateOutlet"],["mat-button","",1,"list-button","grey-button-background","d-none","d-md-inline",3,"matTooltip","click"],["mat-button","",1,"list-button","grey-button-background","w-100","d-md-none",3,"click"],["content",""],[1,"button-content","d-flex"],[1,"full-size-area"],[1,"options-container"],[1,"small-button","d-md-none"],[1,"settings-changed-warning"]],template:function(e,t){if(1&e&&(E(0,"app-dialog",0),Y(1,"translate"),E(2,"mat-tab-group")(3,"mat-tab",1),Y(4,"translate"),E(5,"form",2)(6,"mat-form-field"),Te(7,"input",3,4),Y(9,"translate"),E(10,"mat-error"),q(11,XZ,3,3,"ng-container",5),P(),q(12,eQ,2,3,"ng-template",null,6,Ls),P(),q(14,tQ,3,3,"mat-form-field",7),q(15,nQ,5,4,"div",8),E(16,"app-button",9,10),Se("action",function(){return t.saveChanges()}),R(18),Y(19,"translate"),P()()(),E(20,"mat-tab",1),Y(21,"translate"),q(22,rQ,1,1,"app-loading-indicator",11),q(23,iQ,5,4,"div",12),q(24,vQ,14,8,"ng-container",7),q(25,gQ,10,7,"div",13),P(),E(26,"mat-tab",1),Y(27,"translate"),q(28,yQ,6,7,"div",7),q(29,LQ,15,10,"div",14),P(),E(30,"mat-tab",1),Y(31,"translate"),E(32,"div",15)(33,"mat-checkbox",16),Se("change",function(s){return t.setKillswitch(s)}),R(34),Y(35,"translate"),E(36,"mat-icon",17),Y(37,"translate"),R(38,"help"),P()()(),q(39,EQ,5,4,"div",18),E(40,"app-button",9,19),Se("action",function(){return t.saveSettings()}),R(42),Y(43,"translate"),P()()()()),2&e){var a=sr(13);S("headline",U(1,26,"apps.vpn-socks-client-settings."+(t.configuringVpn?"vpn-title":"socks-title"))),p(3),S("label",U(4,28,"apps.vpn-socks-client-settings.remote-visor-tab")),p(2),S("formGroup",t.form),p(2),S("placeholder",U(9,30,"apps.vpn-socks-client-settings.public-key")),p(4),S("ngIf",!t.form.get("pk").hasError("pattern"))("ngIfElse",a),p(3),S("ngIf",t.configuringVpn),p(1),S("ngIf",t.form&&t.form.get("password").value),p(1),S("disabled",!t.form.valid||t.working),p(2),ye(" ",U(19,32,"apps.vpn-socks-client-settings.save")," "),p(2),S("label",U(21,34,"apps.vpn-socks-client-settings.discovery-tab")),p(2),S("ngIf",t.loadingFromDiscovery),p(1),S("ngIf",!t.loadingFromDiscovery&&0===t.proxiesFromDiscovery.length),p(1),S("ngIf",!t.loadingFromDiscovery&&t.proxiesFromDiscovery.length>0),p(1),S("ngIf",t.numberOfPages>1),p(1),S("label",U(27,36,"apps.vpn-socks-client-settings.history-tab")),p(2),S("ngIf",0===t.history.length),p(1),S("ngForOf",t.history),p(1),S("label",U(31,38,"apps.vpn-socks-client-settings.settings-tab")),p(3),S("checked",t.killswitch),p(1),ye(" ",U(35,40,"apps.vpn-socks-client-settings.killswitch-check")," "),p(2),S("inline",!0)("matTooltip",U(37,42,"apps.vpn-socks-client-settings.killswitch-info")),p(3),S("ngIf",t.killswitch!==t.initialKillswitchSetting),p(1),S("disabled",t.killswitch===t.initialKillswitchSetting||t.working),p(2),ye(" ",U(43,44,"apps.vpn-socks-client-settings.save-settings")," ")}},directives:[_r,KZ,ZE,ei,Xr,gr,ki,Qr,Qi,Jr,zr,Hi,wf,Et,Mn,ci,es,yi,Or,mr,ur,np,Ys],pipes:[Mt],styles:["form[_ngcontent-%COMP%]{margin-top:15px}.info-text[_ngcontent-%COMP%]{margin-top:20px;margin-bottom:2px;text-align:center;color:#202226}.info-text[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:2px}.loading-indicator[_ngcontent-%COMP%]{height:100px}.password-history-warning[_ngcontent-%COMP%]{font-size:.7rem;opacity:.7;position:relative;top:-5px}.list-button[_ngcontent-%COMP%]{border-bottom:solid 1px rgba(0,0,0,.12)}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%]{padding:15px 0;white-space:normal;line-height:1.3;color:#202226;text-align:left;display:flex;font-size:.8rem;word-break:break-word}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%] .icon-area[_ngcontent-%COMP%]{font-size:20px;margin-right:15px;color:#999;opacity:.4;align-self:center}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{margin:4px 0}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-of-type{color:#999}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%] .blue-part[_ngcontent-%COMP%]{color:#215f9e}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%]{text-align:left;padding:15px 0;white-space:normal}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .full-size-area[_ngcontent-%COMP%]{flex-grow:1}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{line-height:1.3;margin:4px 0;font-size:.8rem;color:#202226;word-break:break-all}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]:first-of-type{color:#999}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .highlighted[_ngcontent-%COMP%]{background-color:#ff0}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .options-container[_ngcontent-%COMP%]{flex-shrink:0;margin-left:5px;text-align:right;line-height:1}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .options-container[_ngcontent-%COMP%] .small-button[_ngcontent-%COMP%]{width:24px;height:24px;line-height:14px;font-size:14px;margin-left:5px}.paginator[_ngcontent-%COMP%]{float:right;margin-top:15px}@media (max-width: 767px){.paginator[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-size:.7rem}}.paginator[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:5px}.settings-option[_ngcontent-%COMP%]{margin:15px 12px 10px}.settings-changed-warning[_ngcontent-%COMP%]{font-size:.7rem;opacity:.7;position:relative;top:-5px;padding:0 12px}"]}),n}();function xQ(n,i){1&n&&(E(0,"span",14),R(1),Y(2,"translate"),P()),2&n&&(p(1),ge(U(2,1,"apps.apps-list.title")))}function OQ(n,i){if(1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n){var e=K().$implicit;p(1),ge(U(2,1,e.translatableValue))}}function IQ(n,i){if(1&n&&(ze(0),R(1),We()),2&n){var e=K().$implicit;p(1),ge(e.value)}}function AQ(n,i){if(1&n&&(E(0,"div",18)(1,"span"),R(2),Y(3,"translate"),P(),q(4,OQ,3,3,"ng-container",19),q(5,IQ,2,1,"ng-container",19),P()),2&n){var e=i.$implicit;p(2),ye("",U(3,3,e.filterName),": "),p(2),S("ngIf",e.translatableValue),p(1),S("ngIf",e.value)}}function FQ(n,i){if(1&n){var e=tt();E(0,"div",15),Se("click",function(){return ke(e),K().dataFilterer.removeFilters()}),q(1,AQ,6,5,"div",16),E(2,"div",17),R(3),Y(4,"translate"),P()()}if(2&n){var t=K();p(1),S("ngForOf",t.dataFilterer.currentFiltersTexts),p(2),ge(U(4,2,"filters.press-to-remove"))}}function RQ(n,i){if(1&n){var e=tt();E(0,"mat-icon",20),Se("click",function(){return ke(e),K().dataFilterer.changeFilters()}),Y(1,"translate"),R(2,"filter_list"),P()}2&n&&S("inline",!0)("matTooltip",U(1,2,"filters.filter-action"))}function NQ(n,i){1&n&&(E(0,"mat-icon",21),R(1,"more_horiz"),P()),2&n&&(K(),S("matMenuTriggerFor",sr(9)))}var Qb=function(i){return["/nodes",i,"apps-list"]};function YQ(n,i){if(1&n&&Te(0,"app-paginator",22),2&n){var e=K();S("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Qe(4,Qb,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function HQ(n,i){if(1&n&&(E(0,"mat-icon",37),R(1),P()),2&n){var e=K(2);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function BQ(n,i){if(1&n&&(E(0,"mat-icon",37),R(1),P()),2&n){var e=K(2);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function VQ(n,i){if(1&n&&(E(0,"mat-icon",37),R(1),P()),2&n){var e=K(2);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function jQ(n,i){if(1&n&&(E(0,"mat-icon",37),R(1),P()),2&n){var e=K(2);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function UQ(n,i){if(1&n&&(Te(0,"i",46),Y(1,"translate")),2&n){var e=K().$implicit,t=K(2);ua(t.getStateClass(e)),S("matTooltip",U(1,3,t.getStateTooltip(e)))}}var rP=function(i){return{error:i}};function zQ(n,i){if(1&n&&(E(0,"mat-icon",47),Y(1,"translate"),R(2,"warning"),P()),2&n){var e=K().$implicit;S("inline",!0)("matTooltip",xt(1,2,"apps.status-failed-tooltip",Qe(5,rP,e.detailedStatus?e.detailedStatus:"")))}}function WQ(n,i){if(1&n&&(E(0,"a",48)(1,"button",49),Y(2,"translate"),E(3,"mat-icon",37),R(4,"open_in_browser"),P()()()),2&n){var e=K().$implicit;S("href",K(2).getLink(e),vo),p(1),S("matTooltip",U(2,3,"apps.open")),p(2),S("inline",!0)}}function GQ(n,i){if(1&n){var e=tt();E(0,"button",43),Se("click",function(){ke(e);var a=K().$implicit;return K(2).config(a)}),Y(1,"translate"),E(2,"mat-icon",37),R(3,"settings"),P()()}2&n&&(S("matTooltip",U(1,2,"apps.settings")),p(2),S("inline",!0))}function qQ(n,i){if(1&n){var e=tt();E(0,"tr")(1,"td",39)(2,"mat-checkbox",40),Se("change",function(){var l=ke(e).$implicit;return K(2).changeSelection(l)}),P()(),E(3,"td"),q(4,UQ,2,5,"i",41),q(5,zQ,3,7,"mat-icon",42),P(),E(6,"td"),R(7),P(),E(8,"td"),R(9),P(),E(10,"td")(11,"button",43),Se("click",function(){var l=ke(e).$implicit;return K(2).changeAppAutostart(l)}),Y(12,"translate"),E(13,"mat-icon",37),R(14),P()()(),E(15,"td",30),q(16,WQ,5,5,"a",44),q(17,GQ,4,4,"button",45),E(18,"button",43),Se("click",function(){var l=ke(e).$implicit;return K(2).viewLogs(l)}),Y(19,"translate"),E(20,"mat-icon",37),R(21,"list"),P()(),E(22,"button",43),Se("click",function(){var l=ke(e).$implicit;return K(2).changeAppState(l)}),Y(23,"translate"),E(24,"mat-icon",37),R(25),P()()()()}if(2&n){var t=i.$implicit,a=K(2);p(2),S("checked",a.selections.get(t.name)),p(2),S("ngIf",2!==t.status),p(1),S("ngIf",2===t.status),p(2),ye(" ",t.name," "),p(2),ye(" ",t.port," "),p(2),S("matTooltip",U(12,15,t.autostart?"apps.apps-list.disable-autostart":"apps.apps-list.enable-autostart")),p(2),S("inline",!0),p(1),ge(t.autostart?"done":"close"),p(2),S("ngIf",a.getLink(t)),p(1),S("ngIf",a.appsWithConfig.has(t.name)),p(1),S("matTooltip",U(19,17,"apps.view-logs")),p(2),S("inline",!0),p(2),S("matTooltip",U(23,19,"apps."+(0===t.status||2===t.status?"start-app":"stop-app"))),p(2),S("inline",!0),p(1),ge(0===t.status||2===t.status?"play_arrow":"stop")}}function KQ(n,i){1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n&&(p(1),ge(U(2,1,"tables.label")))}function $Q(n,i){1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n&&(p(1),ge(U(2,1,"tables.inverted-order")))}function ZQ(n,i){if(1&n&&(E(0,"a",55),Se("click",function(o){return o.stopPropagation()}),E(1,"button",56),Y(2,"translate"),E(3,"mat-icon"),R(4,"open_in_browser"),P()()()),2&n){var e=K().$implicit;S("href",K(2).getLink(e),vo),p(1),S("matTooltip",U(2,2,"apps.open"))}}function QQ(n,i){if(1&n){var e=tt();E(0,"tr")(1,"td")(2,"div",34)(3,"div",50)(4,"mat-checkbox",40),Se("change",function(){var l=ke(e).$implicit;return K(2).changeSelection(l)}),P()(),E(5,"div",35)(6,"div",51)(7,"span",1),R(8),Y(9,"translate"),P(),R(10),P(),E(11,"div",51)(12,"span",1),R(13),Y(14,"translate"),P(),R(15),P(),E(16,"div",51)(17,"span",1),R(18),Y(19,"translate"),P(),R(20,": "),E(21,"span"),R(22),Y(23,"translate"),P()(),E(24,"div",51)(25,"span",1),R(26),Y(27,"translate"),P(),R(28,": "),E(29,"span"),R(30),Y(31,"translate"),P()()(),Te(32,"div",52),E(33,"div",36),q(34,ZQ,5,4,"a",53),E(35,"button",54),Se("click",function(s){var u=ke(e).$implicit,f=K(2);return s.stopPropagation(),f.showOptionsDialog(u)}),Y(36,"translate"),E(37,"mat-icon"),R(38),P()()()()()()}if(2&n){var t=i.$implicit,a=K(2);p(4),S("checked",a.selections.get(t.name)),p(4),ge(U(9,16,"apps.apps-list.app-name")),p(2),ye(": ",t.name," "),p(3),ge(U(14,18,"apps.apps-list.port")),p(2),ye(": ",t.port," "),p(3),ge(U(19,20,"apps.apps-list.state")),p(3),ua(a.getSmallScreenStateClass(t)+" title"),p(1),ye(" ",xt(23,22,a.getSmallScreenStateTextVar(t),Qe(31,rP,t.detailedStatus?t.detailedStatus:""))," "),p(4),ge(U(27,25,"apps.apps-list.auto-start")),p(3),ua((t.autostart?"green-clear-text":"red-clear-text")+" title"),p(1),ye(" ",U(31,27,t.autostart?"apps.apps-list.autostart-enabled":"apps.apps-list.autostart-disabled")," "),p(4),S("ngIf",a.getLink(t)),p(1),S("matTooltip",U(36,29,"common.options")),p(3),ge("add")}}function JQ(n,i){if(1&n&&Te(0,"app-view-all-link",57),2&n){var e=K(2);S("numberOfElements",e.filteredApps.length)("linkParts",Qe(3,Qb,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}var XQ=function(i,e){return{"small-node-list-margins":i,"full-node-list-margins":e}},eJ=function(i){return{"d-lg-none d-xl-table":i}},tJ=function(i){return{"d-lg-table d-xl-none":i}};function nJ(n,i){if(1&n){var e=tt();E(0,"div",23)(1,"div",24)(2,"table",25)(3,"tr"),Te(4,"th"),E(5,"th",26),Se("click",function(){ke(e);var o=K();return o.dataSorter.changeSortingOrder(o.stateSortData)}),Y(6,"translate"),Te(7,"span",27),q(8,HQ,2,2,"mat-icon",28),P(),E(9,"th",29),Se("click",function(){ke(e);var o=K();return o.dataSorter.changeSortingOrder(o.nameSortData)}),R(10),Y(11,"translate"),q(12,BQ,2,2,"mat-icon",28),P(),E(13,"th",29),Se("click",function(){ke(e);var o=K();return o.dataSorter.changeSortingOrder(o.portSortData)}),R(14),Y(15,"translate"),q(16,VQ,2,2,"mat-icon",28),P(),E(17,"th",29),Se("click",function(){ke(e);var o=K();return o.dataSorter.changeSortingOrder(o.autoStartSortData)}),R(18),Y(19,"translate"),q(20,jQ,2,2,"mat-icon",28),P(),Te(21,"th",30),P(),q(22,qQ,26,21,"tr",31),P(),E(23,"table",32)(24,"tr",33),Se("click",function(){return ke(e),K().dataSorter.openSortingOrderModal()}),E(25,"td")(26,"div",34)(27,"div",35)(28,"div",1),R(29),Y(30,"translate"),P(),E(31,"div"),R(32),Y(33,"translate"),q(34,KQ,3,3,"ng-container",19),q(35,$Q,3,3,"ng-container",19),P()(),E(36,"div",36)(37,"mat-icon",37),R(38,"keyboard_arrow_down"),P()()()()(),q(39,QQ,39,33,"tr",31),P(),q(40,JQ,1,5,"app-view-all-link",38),P()()}if(2&n){var t=K();p(1),S("ngClass",En(31,XQ,t.showShortList_,!t.showShortList_)),p(1),S("ngClass",Qe(34,eJ,t.showShortList_)),p(3),S("matTooltip",U(6,19,"apps.apps-list.state-tooltip")),p(3),S("ngIf",t.dataSorter.currentSortingColumn===t.stateSortData),p(2),ye(" ",U(11,21,"apps.apps-list.app-name")," "),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.nameSortData),p(2),ye(" ",U(15,23,"apps.apps-list.port")," "),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.portSortData),p(2),ye(" ",U(19,25,"apps.apps-list.auto-start")," "),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.autoStartSortData),p(2),S("ngForOf",t.dataSource),p(1),S("ngClass",Qe(36,tJ,t.showShortList_)),p(6),ge(U(30,27,"tables.sorting-title")),p(3),ye("",U(33,29,t.dataSorter.currentSortingColumn.label)," "),p(2),S("ngIf",t.dataSorter.currentlySortingByLabel),p(1),S("ngIf",t.dataSorter.sortingInReverseOrder),p(2),S("inline",!0),p(2),S("ngForOf",t.dataSource),p(1),S("ngIf",t.showShortList_&&t.numberOfPages>1)}}function rJ(n,i){1&n&&(E(0,"span",61),R(1),Y(2,"translate"),P()),2&n&&(p(1),ge(U(2,1,"apps.apps-list.empty")))}function iJ(n,i){1&n&&(E(0,"span",61),R(1),Y(2,"translate"),P()),2&n&&(p(1),ge(U(2,1,"apps.apps-list.empty-with-filter")))}function aJ(n,i){if(1&n&&(E(0,"div",23)(1,"div",58)(2,"mat-icon",59),R(3,"warning"),P(),q(4,rJ,3,3,"span",60),q(5,iJ,3,3,"span",60),P()()),2&n){var e=K();p(2),S("inline",!0),p(2),S("ngIf",0===e.allApps.length),p(1),S("ngIf",0!==e.allApps.length)}}function oJ(n,i){if(1&n&&Te(0,"app-paginator",22),2&n){var e=K();S("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Qe(4,Qb,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}var sJ=function(i){return{"paginator-icons-fixer":i}},iP=function(){var n=function(){function i(e,t,a,o,s,l){var u=this;c(this,i),this.appsService=e,this.dialog=t,this.route=a,this.router=o,this.snackbarService=s,this.translateService=l,this.listId="ap",this.stateSortData=new xn(["status"],"apps.apps-list.state",Xt.NumberReversed),this.nameSortData=new xn(["name"],"apps.apps-list.app-name",Xt.Text),this.portSortData=new xn(["port"],"apps.apps-list.port",Xt.Number),this.autoStartSortData=new xn(["autostart"],"apps.apps-list.auto-start",Xt.Boolean),this.selections=new Map,this.appsWithConfig=new Map([["skysocks",!0],["skysocks-client",!0],["vpn-client",!0],["vpn-server",!0]]),this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"apps.apps-list.filter-dialog.state",keyNameInElementsArray:"status",type:qn.Select,printableLabelsForValues:[{value:"",label:"apps.apps-list.filter-dialog.state-options.any"},{value:"1",label:"apps.apps-list.filter-dialog.state-options.running"},{value:"0",label:"apps.apps-list.filter-dialog.state-options.stopped"}]},{filterName:"apps.apps-list.filter-dialog.name",keyNameInElementsArray:"name",type:qn.TextInput,maxlength:50},{filterName:"apps.apps-list.filter-dialog.port",keyNameInElementsArray:"port",type:qn.TextInput,maxlength:8},{filterName:"apps.apps-list.filter-dialog.autostart",keyNameInElementsArray:"autostart",type:qn.Select,printableLabelsForValues:[{value:"",label:"apps.apps-list.filter-dialog.autostart-options.any"},{value:"true",label:"apps.apps-list.filter-dialog.autostart-options.enabled"},{value:"false",label:"apps.apps-list.filter-dialog.autostart-options.disabled"}]}],this.refreshAgain=!1,this.operationSubscriptionsGroup=[],this.dataSorter=new vc(this.dialog,this.translateService,[this.stateSortData,this.nameSortData,this.portSortData,this.autoStartSortData],1,this.listId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(function(){u.recalculateElementsToShow()}),this.dataFilterer=new gc(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(function(m){u.filteredApps=m,u.dataSorter.setData(u.filteredApps)}),this.navigationsSubscription=this.route.paramMap.subscribe(function(m){if(m.has("page")){var C=Number.parseInt(m.get("page"),10);(isNaN(C)||C<1)&&(C=1),u.currentPageInUrl=C,u.recalculateElementsToShow()}})}return d(i,[{key:"showShortList",set:function(t){this.showShortList_=t,this.dataSorter.setData(this.filteredApps)}},{key:"apps",set:function(t){this.allApps=t||[],this.dataFilterer.setData(this.allApps)}},{key:"ngOnDestroy",value:function(){this.navigationsSubscription.unsubscribe(),this.operationSubscriptionsGroup.forEach(function(t){return t.unsubscribe()}),this.dataSortedSubscription.unsubscribe(),this.dataFiltererSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFilterer.dispose()}},{key:"getLink",value:function(t){if("skychat"===t.name.toLocaleLowerCase()&&this.nodeIp&&0!==t.status&&2!==t.status){var a="8001";if(t.args)for(var o=0;o1&&void 0!==arguments[1]?arguments[1]:null;this.operationSubscriptionsGroup.push(t.subscribe(function(){o&&o.close(),setTimeout(function(){a.refreshAgain=!0,It.refreshCurrentDisplayedData()},50),a.snackbarService.showDone("apps.operation-completed")},function(s){s=on(s),setTimeout(function(){a.refreshAgain=!0,It.refreshCurrentDisplayedData()},50),o?o.componentInstance.showDone("confirmation.error-header-text",s.translatableErrorMsg):a.snackbarService.showError(s)}))}},{key:"viewLogs",value:function(t){0!==t.status&&2!==t.status?q$.openDialog(this.dialog,t):this.snackbarService.showError("apps.apps-list.unavailable-logs-error")}},{key:"config",value:function(t){"skysocks"===t.name||"vpn-server"===t.name?J$.openDialog(this.dialog,t):"skysocks-client"===t.name||"vpn-client"===t.name?PQ.openDialog(this.dialog,t):this.snackbarService.showError("apps.error")}},{key:"recalculateElementsToShow",value:function(){var t=this;if(this.currentPage=this.currentPageInUrl,this.filteredApps){var a=this.showShortList_?Kt.maxShortListElements:Kt.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredApps.length/a),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);var o=a*(this.currentPage-1);this.appsToShow=this.filteredApps.slice(o,o+a),this.appsMap=new Map,this.appsToShow.forEach(function(u){t.appsMap.set(u.name,u),t.selections.has(u.name)||t.selections.set(u.name,!1)});var l=[];this.selections.forEach(function(u,f){t.appsMap.has(f)||l.push(f)}),l.forEach(function(u){t.selections.delete(u)})}else this.appsToShow=null,this.selections=new Map;this.dataSource=this.appsToShow,this.refreshAgain&&(this.refreshAgain=!1,setTimeout(function(){return It.refreshCurrentDisplayedData()},2e3))}},{key:"startChangingAppState",value:function(t,a){var o=this;return this.appsService.changeAppState(It.getCurrentNodeKey(),t,a).pipe($e(function(s){return null!=s.status&&o.dataSource.forEach(function(l){l.name===t&&(l.status=s.status,l.detailedStatus=s.detailed_status)}),s}))}},{key:"startChangingAppAutostart",value:function(t,a){return this.appsService.changeAppAutostart(It.getCurrentNodeKey(),t,a)}},{key:"changeAppsValRecursively",value:function(t,a,o){var u,s=this,l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;if(!t||0===t.length)return setTimeout(function(){return It.refreshCurrentDisplayedData()},50),this.snackbarService.showWarning("apps.operation-unnecessary"),void(l&&l.close());u=a?this.startChangingAppAutostart(t[t.length-1],o):this.startChangingAppState(t[t.length-1],o),this.operationSubscriptionsGroup.push(u.subscribe(function(){t.pop(),0===t.length?(l&&l.close(),setTimeout(function(){s.refreshAgain=!0,It.refreshCurrentDisplayedData()},50),s.snackbarService.showDone("apps.operation-completed")):s.changeAppsValRecursively(t,a,o,l)},function(f){f=on(f),setTimeout(function(){s.refreshAgain=!0,It.refreshCurrentDisplayedData()},50),l?l.componentInstance.showDone("confirmation.error-header-text",f.translatableErrorMsg):s.snackbarService.showError(f)}))}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(_c),B(Gn),B(si),B(an),B(In),B(bi))},n.\u0275cmp=qe({type:n,selectors:[["app-node-app-list"]],inputs:{nodePK:"nodePK",nodeIp:"nodeIp",showShortList:"showShortList",apps:"apps"},decls:32,vars:34,consts:[[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","uppercase",4,"ngIf"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],["class","small-icon",3,"inline","matTooltip","click",4,"ngIf"],[3,"matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"uppercase"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","matTooltip","click"],[3,"matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow",3,"ngClass"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table",3,"ngClass"],[1,"sortable-column",3,"matTooltip","click"],[1,"dot-outline-white"],[3,"inline",4,"ngIf"],[1,"sortable-column",3,"click"],[1,"actions"],[4,"ngFor","ngForOf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none",3,"ngClass"],[1,"selectable",3,"click"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],[3,"inline"],[3,"numberOfElements","linkParts","queryParams",4,"ngIf"],[1,"selection-col"],[3,"checked","change"],[3,"class","matTooltip",4,"ngIf"],["class","red-text",3,"inline","matTooltip",4,"ngIf"],["mat-icon-button","",1,"big-action-button","transparent-button",3,"matTooltip","click"],["target","_blank","rel","noreferrer nofollow noopener","class","skychat-link",3,"href",4,"ngIf"],["mat-icon-button","","class","big-action-button transparent-button",3,"matTooltip","click",4,"ngIf"],[3,"matTooltip"],[1,"red-text",3,"inline","matTooltip"],["target","_blank","rel","noreferrer nofollow noopener",1,"skychat-link",3,"href"],["mat-icon-button","",1,"big-action-button","transparent-button",3,"matTooltip"],[1,"check-part"],[1,"list-row"],[1,"margin-part"],["target","_blank","rel","noreferrer nofollow noopener","class","skychat-link",3,"href","click",4,"ngIf"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],["target","_blank","rel","noreferrer nofollow noopener",1,"skychat-link",3,"href","click"],["mat-icon-button","",1,"transparent-button",3,"matTooltip"],[3,"numberOfElements","linkParts","queryParams"],[1,"box-internal-container"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(e,t){1&e&&(E(0,"div",0)(1,"div",1),q(2,xQ,3,3,"span",2),q(3,FQ,5,4,"div",3),P(),E(4,"div",4)(5,"div",5),q(6,RQ,3,4,"mat-icon",6),q(7,NQ,2,1,"mat-icon",7),E(8,"mat-menu",8,9)(10,"div",10),Se("click",function(){return t.changeAllSelections(!0)}),R(11),Y(12,"translate"),P(),E(13,"div",10),Se("click",function(){return t.changeAllSelections(!1)}),R(14),Y(15,"translate"),P(),E(16,"div",11),Se("click",function(){return t.changeStateOfSelected(!0)}),R(17),Y(18,"translate"),P(),E(19,"div",11),Se("click",function(){return t.changeStateOfSelected(!1)}),R(20),Y(21,"translate"),P(),E(22,"div",11),Se("click",function(){return t.changeAutostartOfSelected(!0)}),R(23),Y(24,"translate"),P(),E(25,"div",11),Se("click",function(){return t.changeAutostartOfSelected(!1)}),R(26),Y(27,"translate"),P()()(),q(28,YQ,1,6,"app-paginator",12),P()(),q(29,nJ,41,38,"div",13),q(30,aJ,6,3,"div",13),q(31,oJ,1,6,"app-paginator",12)),2&e&&(S("ngClass",Qe(32,sJ,!t.showShortList_&&t.numberOfPages>1&&t.dataSource)),p(2),S("ngIf",t.showShortList_),p(1),S("ngIf",t.dataFilterer.currentFiltersTexts&&t.dataFilterer.currentFiltersTexts.length>0),p(3),S("ngIf",t.allApps&&t.allApps.length>0),p(1),S("ngIf",t.dataSource&&t.dataSource.length>0),p(1),S("overlapTrigger",!1),p(3),ye(" ",U(12,20,"selection.select-all")," "),p(3),ye(" ",U(15,22,"selection.unselect-all")," "),p(2),Ln("disabled",!t.hasSelectedElements()),p(1),ye(" ",U(18,24,"selection.start-all")," "),p(2),Ln("disabled",!t.hasSelectedElements()),p(1),ye(" ",U(21,26,"selection.stop-all")," "),p(2),Ln("disabled",!t.hasSelectedElements()),p(1),ye(" ",U(24,28,"selection.enable-autostart-all")," "),p(2),Ln("disabled",!t.hasSelectedElements()),p(1),ye(" ",U(27,30,"selection.disable-autostart-all")," "),p(2),S("ngIf",!t.showShortList_&&t.numberOfPages>1&&t.dataSource),p(1),S("ngIf",t.dataSource&&t.dataSource.length>0),p(1),S("ngIf",!t.dataSource||0===t.dataSource.length),p(1),S("ngIf",!t.showShortList_&&t.numberOfPages>1&&t.dataSource))},directives:[mr,Et,Or,Mn,ur,kc,bc,ns,Mc,Ys,yi,Ov],pipes:[Mt],styles:[".actions[_ngcontent-%COMP%]{text-align:right;width:150px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}.skychat-link[_ngcontent-%COMP%]{color:#f8f9f9;text-decoration:none}.skychat-link[_ngcontent-%COMP%] .big-action-button[_ngcontent-%COMP%]{margin-right:5px}"]}),n}(),lJ=function(){var n=function(){function i(){c(this,i)}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.dataSubscription=It.currentNode.subscribe(function(a){t.nodePK=a.localPk,t.apps=a.apps,t.nodeIp=a.ip})}},{key:"ngOnDestroy",value:function(){this.dataSubscription.unsubscribe()}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=qe({type:n,selectors:[["app-apps"]],decls:1,vars:4,consts:[[3,"apps","showShortList","nodePK","nodeIp"]],template:function(e,t){1&e&&Te(0,"app-node-app-list",0),2&e&&S("apps",t.apps)("showShortList",!0)("nodePK",t.nodePK)("nodeIp",t.nodeIp)},directives:[iP],styles:[""]}),n}();function uJ(n,i){1&n&&Te(0,"app-transport-list",1),2&n&&S("node",K().node)("showShortList",!1)}var cJ=function(){var n=function(){function i(){c(this,i)}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.dataSubscription=It.currentNode.subscribe(function(a){return t.node=a})}},{key:"ngOnDestroy",value:function(){this.dataSubscription.unsubscribe()}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=qe({type:n,selectors:[["app-all-transports"]],decls:1,vars:1,consts:[[3,"node","showShortList",4,"ngIf"],[3,"node","showShortList"]],template:function(e,t){1&e&&q(0,uJ,1,2,"app-transport-list",0),2&e&&S("ngIf",t.node)},directives:[Et,UE],styles:[""]}),n}();function dJ(n,i){if(1&n&&Te(0,"app-route-list",1),2&n){var e=K();S("routes",e.routes)("showShortList",!1)("nodePK",e.nodePK)}}var fJ=function(){var n=function(){function i(){c(this,i)}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.dataSubscription=It.currentNode.subscribe(function(a){t.nodePK=a.localPk,t.routes=a.routes})}},{key:"ngOnDestroy",value:function(){this.dataSubscription.unsubscribe()}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=qe({type:n,selectors:[["app-all-routes"]],decls:1,vars:1,consts:[[3,"routes","showShortList","nodePK",4,"ngIf"],[3,"routes","showShortList","nodePK"]],template:function(e,t){1&e&&q(0,dJ,1,3,"app-route-list",0),2&e&&S("ngIf",t.routes)},directives:[Et,WE],styles:[""]}),n}();function hJ(n,i){if(1&n&&Te(0,"app-node-app-list",1),2&n){var e=K();S("apps",e.apps)("showShortList",!1)("nodePK",e.nodePK)}}var pJ=function(){var n=function(){function i(){c(this,i)}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.dataSubscription=It.currentNode.subscribe(function(a){t.nodePK=a.localPk,t.apps=a.apps})}},{key:"ngOnDestroy",value:function(){this.dataSubscription.unsubscribe()}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=qe({type:n,selectors:[["app-all-apps"]],decls:1,vars:1,consts:[[3,"apps","showShortList","nodePK",4,"ngIf"],[3,"apps","showShortList","nodePK"]],template:function(e,t){1&e&&q(0,hJ,1,3,"app-node-app-list",0),2&e&&S("ngIf",t.apps)},directives:[Et,iP],styles:[""]}),n}(),vJ=["button"],mJ=["firstInput"],aP=function(){var n=function(){function i(e,t,a,o,s){c(this,i),this.dialogRef=e,this.data=t,this.formBuilder=a,this.snackbarService=o,this.routeService=s}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.form=this.formBuilder.group({min:[this.data.minHops,Cn.compose([Cn.required,Cn.maxLength(3),Cn.pattern("^[0-9]+$")])]}),setTimeout(function(){return t.firstInput.nativeElement.focus()})}},{key:"ngOnDestroy",value:function(){this.operationSubscription&&this.operationSubscription.unsubscribe()}},{key:"save",value:function(){!this.form.valid||this.operationSubscription||(this.button.showLoading(),this.operationSubscription=this.routeService.setMinHops(this.data.nodePk,Number.parseInt(this.form.get("min").value,10)).subscribe({next:this.onSuccess.bind(this),error:this.onError.bind(this)}))}},{key:"onSuccess",value:function(t){this.dialogRef.close(!0),this.snackbarService.showDone("router-config.done")}},{key:"onError",value:function(t){this.button.showError(),this.operationSubscription=null,t=on(t),this.snackbarService.showError(t)}}],[{key:"openDialog",value:function(t,a){var o=new Zn;return o.data=a,o.autoFocus=!1,o.width=Kt.smallModalWidth,t.open(i,o)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Dr),B(Ur),B(Zi),B(In),B(zE))},n.\u0275cmp=qe({type:n,selectors:[["app-router-config"]],viewQuery:function(e,t){var a;1&e&&(gt(vJ,5),gt(mJ,5)),2&e&&(lt(a=ut())&&(t.button=a.first),lt(a=ut())&&(t.firstInput=a.first))},decls:14,vars:14,consts:[[3,"headline"],[1,"info-container"],[3,"formGroup"],["formControlName","min","maxlength","3","matInput","",3,"placeholder"],["firstInput",""],["color","primary",1,"float-right",3,"disabled","action"],["button",""]],template:function(e,t){1&e&&(E(0,"app-dialog",0),Y(1,"translate"),E(2,"div",1),R(3),Y(4,"translate"),P(),E(5,"form",2)(6,"mat-form-field"),Te(7,"input",3,4),Y(9,"translate"),P()(),E(10,"app-button",5,6),Se("action",function(){return t.save()}),R(12),Y(13,"translate"),P()()),2&e&&(S("headline",U(1,6,"router-config.title")),p(3),ge(U(4,8,"router-config.info")),p(2),S("formGroup",t.form),p(2),S("placeholder",U(9,10,"router-config.min-hops")),p(3),S("disabled",!t.form.valid),p(2),ye(" ",U(13,12,"router-config.save-config-button")," "))},directives:[_r,ei,Xr,gr,ki,Qr,Qi,Jr,zr,Hi,ci],pipes:[Mt],styles:[".info-container[_ngcontent-%COMP%]{margin-bottom:10px;font-size:.8rem}"]}),n}(),gJ=function(){var n=function(){function i(e){c(this,i),this.clipboardService=e,this.copyEvent=new pt,this.errorEvent=new pt,this.value=""}return d(i,[{key:"ngOnDestroy",value:function(){this.copyEvent.complete(),this.errorEvent.complete()}},{key:"copyToClipboard",value:function(){this.clipboardService.copy(this.value)?this.copyEvent.emit(this.value):this.errorEvent.emit()}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Sf))},n.\u0275dir=et({type:n,selectors:[["","clipboard",""]],hostBindings:function(e,t){1&e&&Se("click",function(){return t.copyToClipboard()})},inputs:{value:["clipboard","value"]},outputs:{copyEvent:"copyEvent",errorEvent:"errorEvent"}}),n}();function _J(n,i){if(1&n&&(ze(0),Te(1,"app-truncated-text",3),R(2," \xa0"),E(3,"mat-icon",4),R(4,"filter_none"),P(),We()),2&n){var e=K();p(1),S("short",e.short)("showTooltip",!1)("shortTextLength",e.shortTextLength)("text",e.text),p(2),S("inline",!0)}}function yJ(n,i){if(1&n&&(E(0,"div",5)(1,"div",6),R(2),P(),R(3," \xa0"),E(4,"mat-icon",4),R(5,"filter_none"),P()()),2&n){var e=K();p(2),ge(e.text),p(2),S("inline",!0)}}var bJ=function(i){return{text:i}},kJ=function(){return{"tooltip-word-break":!0}},Jb=function(){var n=function(){function i(e){c(this,i),this.snackbarService=e,this.short=!1,this.shortSimple=!1,this.shortTextLength=5}return d(i,[{key:"onCopyToClipboardClicked",value:function(){this.snackbarService.showDone("copy.copied")}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(In))},n.\u0275cmp=qe({type:n,selectors:[["app-copy-to-clipboard-text"]],inputs:{text:"text",short:"short",shortSimple:"shortSimple",shortTextLength:"shortTextLength"},decls:4,vars:11,consts:[[1,"wrapper","highlight-internal-icon",3,"clipboard","matTooltip","matTooltipClass","copyEvent"],[4,"ngIf"],["class","d-flex",4,"ngIf"],[3,"short","showTooltip","shortTextLength","text"],[3,"inline"],[1,"d-flex"],[1,"single-line"]],template:function(e,t){1&e&&(E(0,"div",0),Se("copyEvent",function(){return t.onCopyToClipboardClicked()}),Y(1,"translate"),q(2,_J,5,5,"ng-container",1),q(3,yJ,6,2,"div",2),P()),2&e&&(S("clipboard",t.text)("matTooltip",xt(1,5,t.short||t.shortSimple?"copy.tooltip-with-text":"copy.tooltip",Qe(8,bJ,t.text)))("matTooltipClass",Nn(10,kJ)),p(2),S("ngIf",!t.shortSimple),p(1),S("ngIf",t.shortSimple))},directives:[gJ,ur,Et,cE,Mn],pipes:[Mt],styles:['.cursor-pointer[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}.wrapper[_ngcontent-%COMP%]{display:inline}.wrapper[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:.6rem;-webkit-user-select:none;user-select:none}']}),n}(),MJ=H(6149),CJ=["chart"],Xb=function(){var n=function(){function i(e){c(this,i),this.height=100,this.animated=!1,this.min=void 0,this.max=void 0,this.differ=e.find([]).create(null)}return d(i,[{key:"ngAfterViewInit",value:function(){this.chart=new MJ.Chart(this.chartElement.nativeElement,{type:"line",data:{labels:Array.from(Array(this.data.length).keys()),datasets:[{data:this.data,backgroundColor:["rgba(10, 15, 22, 0.4)"],borderColor:["rgba(10, 15, 22, 0.4)"],borderWidth:1}]},options:{maintainAspectRatio:!1,events:[],legend:{display:!1},tooltips:{enabled:!1},scales:{yAxes:[{display:!1,ticks:{suggestedMin:0}}],xAxes:[{display:!1}]},elements:{point:{radius:0}},layout:{padding:{left:0,right:0,top:i.topInternalMargin,bottom:0}}}}),void 0!==this.min&&void 0!==this.max&&(this.updateMinAndMax(),this.chart.update(0))}},{key:"ngDoCheck",value:function(){this.differ.diff(this.data)&&this.chart&&(void 0!==this.min&&void 0!==this.max&&this.updateMinAndMax(),this.animated?this.chart.update():this.chart.update(0))}},{key:"ngOnDestroy",value:function(){this.chart&&this.chart.destroy()}},{key:"updateMinAndMax",value:function(){this.chart.options.scales={yAxes:[{display:!1,ticks:{min:this.min,max:this.max}}],xAxes:[{display:!1}]}}}]),i}();return n.topInternalMargin=5,n.\u0275fac=function(e){return new(e||n)(B(Rd))},n.\u0275cmp=qe({type:n,selectors:[["app-line-chart"]],viewQuery:function(e,t){var a;1&e&>(CJ,5),2&e&<(a=ut())&&(t.chartElement=a.first)},inputs:{data:"data",height:"height",animated:"animated",min:"min",max:"max"},decls:3,vars:2,consts:[[1,"chart-container"],["chart",""]],template:function(e,t){1&e&&(E(0,"div",0),Te(1,"canvas",null,1),P()),2&e&&tr("height: "+t.height+"px;")},styles:[".chart-container[_ngcontent-%COMP%]{position:relative;width:100%;overflow:hidden;border-radius:10px}"]}),n}(),oP=function(){return{showValue:!0}},sP=function(){return{showUnit:!0}},wJ=function(){var n=function(){function i(e){c(this,i),this.nodeService=e}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.dataSubscription=this.nodeService.specificNodeTrafficData.subscribe(function(a){t.data=a})}},{key:"ngOnDestroy",value:function(){this.dataSubscription.unsubscribe()}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Il))},n.\u0275cmp=qe({type:n,selectors:[["app-charts"]],decls:26,vars:28,consts:[[1,"small-rounded-elevated-box","chart"],[3,"data"],[1,"info"],[1,"text"],[1,"rate"],[1,"value"],[1,"unit"]],template:function(e,t){1&e&&(E(0,"div",0),Te(1,"app-line-chart",1),E(2,"div",2)(3,"span",3),R(4),Y(5,"translate"),P(),E(6,"span",4)(7,"span",5),R(8),Y(9,"autoScale"),P(),E(10,"span",6),R(11),Y(12,"autoScale"),P()()()(),E(13,"div",0),Te(14,"app-line-chart",1),E(15,"div",2)(16,"span",3),R(17),Y(18,"translate"),P(),E(19,"span",4)(20,"span",5),R(21),Y(22,"autoScale"),P(),E(23,"span",6),R(24),Y(25,"autoScale"),P()()()()),2&e&&(p(1),S("data",t.data.sentHistory),p(3),ge(U(5,8,"common.uploaded")),p(4),ge(xt(9,10,t.data.totalSent,Nn(24,oP))),p(3),ge(xt(12,13,t.data.totalSent,Nn(25,sP))),p(3),S("data",t.data.receivedHistory),p(3),ge(U(18,16,"common.downloaded")),p(4),ge(xt(22,18,t.data.totalReceived,Nn(26,oP))),p(3),ge(xt(25,21,t.data.totalReceived,Nn(27,sP))))},directives:[Xb],pipes:[Mt,Pf],styles:[".chart[_ngcontent-%COMP%]{position:relative;margin-bottom:20px}.chart[_ngcontent-%COMP%]:last-child{margin-bottom:10px}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{position:absolute;bottom:0;left:0;display:flex;justify-content:space-between;align-items:flex-end;padding:10px;width:100%}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#f8f9f9}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] span.text[_ngcontent-%COMP%]{font-size:.8rem;text-transform:uppercase;font-weight:700}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] span.rate[_ngcontent-%COMP%] .value[_ngcontent-%COMP%]{font-size:1.25rem;font-weight:700}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] span.rate[_ngcontent-%COMP%] .unit[_ngcontent-%COMP%]{font-size:.8rem;padding-left:5px}"]}),n}();function SJ(n,i){if(1&n&&(E(0,"span",4)(1,"span",5),R(2),Y(3,"translate"),P(),Te(4,"app-copy-to-clipboard-text",8),P()),2&n){var e=K(2);p(2),ye("",U(3,2,"node.details.node-info.public-ip"),"\xa0"),p(2),Ln("text",e.node.publicIp)}}function DJ(n,i){if(1&n&&(E(0,"span",4)(1,"span",5),R(2),Y(3,"translate"),P(),Te(4,"app-copy-to-clipboard-text",8),P()),2&n){var e=K(2);p(2),ye("",U(3,2,"node.details.node-info.ip"),"\xa0"),p(2),Ln("text",e.node.ip)}}function TJ(n,i){if(1&n&&(E(0,"span",4)(1,"span",5),R(2),Y(3,"translate"),P(),R(4),P()),2&n){var e=K(2);p(2),ge(U(3,2,"node.details.node-info.skybian-version")),p(2),ye(" ",e.node.skybianBuildVersion," ")}}var ek=function(i){return{time:i}};function LJ(n,i){if(1&n&&(E(0,"mat-icon",12),Y(1,"translate"),R(2," info "),P()),2&n){var e=K(2);S("inline",!0)("matTooltip",xt(1,2,"node.details.node-info.time.minutes",Qe(5,ek,e.timeOnline.totalMinutes)))}}function EJ(n,i){if(1&n){var e=tt();E(0,"div",1)(1,"div",2)(2,"span",3),R(3),Y(4,"translate"),P(),E(5,"span",4)(6,"span",5),R(7),Y(8,"translate"),P(),E(9,"span",6),Se("click",function(){return ke(e),K().showEditLabelDialog()}),R(10),E(11,"mat-icon",7),R(12,"edit"),P()()(),E(13,"span",4)(14,"span",5),R(15),Y(16,"translate"),P(),Te(17,"app-copy-to-clipboard-text",8),P(),E(18,"span",4)(19,"span",5),R(20),Y(21,"translate"),P(),R(22),Y(23,"translate"),P(),q(24,SJ,5,4,"span",9),q(25,DJ,5,4,"span",9),E(26,"span",4)(27,"span",5),R(28),Y(29,"translate"),P(),Te(30,"app-copy-to-clipboard-text",8),P(),E(31,"span",4)(32,"span",5),R(33),Y(34,"translate"),P(),R(35),Y(36,"translate"),P(),E(37,"span",4)(38,"span",5),R(39),Y(40,"translate"),P(),R(41),Y(42,"translate"),P(),E(43,"span",4)(44,"span",5),R(45),Y(46,"translate"),P(),R(47),Y(48,"translate"),P(),q(49,TJ,5,4,"span",9),E(50,"span",4)(51,"span",5),R(52),Y(53,"translate"),P(),R(54),Y(55,"translate"),q(56,LJ,3,7,"mat-icon",10),P()(),Te(57,"div",11),E(58,"div",2)(59,"span",3),R(60),Y(61,"translate"),P(),E(62,"span",4)(63,"span",5),R(64),Y(65,"translate"),P(),R(66),Y(67,"translate"),E(68,"mat-icon",12),Y(69,"translate"),R(70,"info"),P()(),E(71,"div",13)(72,"app-button",14),Se("action",function(){return ke(e),K().changeTransportsConfig()}),R(73),Y(74,"translate"),P()()(),Te(75,"div",11),E(76,"div",2)(77,"span",3),R(78),Y(79,"translate"),P(),E(80,"span",4)(81,"span",5),R(82),Y(83,"translate"),P(),R(84),P(),E(85,"div",13)(86,"app-button",14),Se("action",function(){return ke(e),K().changeRouterConfig()}),R(87),Y(88,"translate"),P()()(),Te(89,"div",11),E(90,"div",2)(91,"span",3),R(92),Y(93,"translate"),P(),E(94,"span",4)(95,"span",5),R(96),Y(97,"translate"),P(),Te(98,"i"),R(99),Y(100,"translate"),P()(),Te(101,"div",11),E(102,"div",2)(103,"span",3),R(104),Y(105,"translate"),P(),Te(106,"app-charts",15),P()()}if(2&n){var t=K();p(3),ge(U(4,40,"node.details.node-info.title")),p(4),ge(U(8,42,"node.details.node-info.label")),p(3),ye(" ",t.node.label," "),p(1),S("inline",!0),p(4),ye("",U(16,44,"node.details.node-info.public-key"),"\xa0"),p(2),Ln("text",t.node.localPk),p(3),ye("",U(21,46,"node.details.node-info.symmetic-nat"),"\xa0"),p(2),ye(" ",U(23,48,t.node.isSymmeticNat?"common.yes":"common.no")," "),p(2),S("ngIf",!t.node.isSymmeticNat),p(1),S("ngIf",t.node.ip),p(3),ye("",U(29,50,"node.details.node-info.dmsg-server"),"\xa0"),p(2),Ln("text",t.node.dmsgServerPk),p(3),ye("",U(34,52,"node.details.node-info.ping"),"\xa0"),p(2),ye(" ",xt(36,54,"common.time-in-ms",Qe(94,ek,t.node.roundTripPing))," "),p(4),ge(U(40,57,"node.details.node-info.node-version")),p(2),ye(" ",t.node.version?t.node.version:U(42,59,"common.unknown")," "),p(4),ge(U(46,61,"node.details.node-info.build-type")),p(2),ye(" ",t.node.buildTag?t.node.buildTag:U(48,63,"node.details.node-info.unknown-build")," "),p(2),S("ngIf",t.node.skybianBuildVersion),p(3),ge(U(53,65,"node.details.node-info.time.title")),p(2),ye(" ",xt(55,67,"node.details.node-info.time."+t.timeOnline.translationVarName,Qe(96,ek,t.timeOnline.elapsedTime))," "),p(2),S("ngIf",t.timeOnline.totalMinutes>60),p(4),ge(U(61,70,"node.details.transports-info.title")),p(4),ge(U(65,72,"node.details.transports-info.autoconnect")),p(2),ye(" ",U(67,74,"node.details.transports-info."+(t.node.autoconnectTransports?"enabled":"disabled"))," "),p(2),S("inline",!0)("matTooltip",U(69,76,"node.details.transports-info.autoconnect-info")),p(4),S("forDarkBackground",!0),p(1),ye(" ",U(74,78,"node.details.transports-info."+(t.node.autoconnectTransports?"disable":"enable")+"-button")," "),p(5),ge(U(79,80,"node.details.router-info.title")),p(4),ge(U(83,82,"node.details.router-info.min-hops")),p(2),ye(" ",t.node.minHops," "),p(2),S("forDarkBackground",!0),p(1),ye(" ",U(88,84,"node.details.router-info.change-config-button")," "),p(5),ge(U(93,86,"node.details.node-health.title")),p(4),ge(U(97,88,"node.details.node-health.uptime-tracker")),p(2),ua(t.nodeHealthClass),p(1),ye(" ",U(100,90,t.nodeHealthText)," "),p(5),ge(U(105,92,"node.details.node-traffic-data"))}}var lP=function(){var n=function(){function i(e,t,a,o){c(this,i),this.dialog=e,this.storageService=t,this.transportService=a,this.snackbarService=o}return d(i,[{key:"nodeInfo",set:function(t){this.node=t,this.timeOnline=SE.getElapsedTime(t.secondsOnline),t.health&&t.health.servicesHealth===eo.Healthy?(this.nodeHealthText="node.statuses.online",this.nodeHealthClass="dot-green"):t.health&&t.health.servicesHealth===eo.Unhealthy?(this.nodeHealthText="node.statuses.partially-online",this.nodeHealthClass="dot-yellow blinking"):t.health&&t.health.servicesHealth===eo.Connecting?(this.nodeHealthText="node.statuses.connecting",this.nodeHealthClass="dot-outline-gray"):(this.nodeHealthText="node.statuses.unknown",this.nodeHealthClass="dot-outline-gray")}},{key:"ngOnDestroy",value:function(){this.autoconnectSubscription&&this.autoconnectSubscription.unsubscribe()}},{key:"showEditLabelDialog",value:function(){var t=this.storageService.getLabelInfo(this.node.localPk);t||(t={id:this.node.localPk,label:"",identifiedElementType:li.Node}),Wb.openDialog(this.dialog,t).afterClosed().subscribe(function(a){a&&It.refreshCurrentDisplayedData()})}},{key:"changeRouterConfig",value:function(){aP.openDialog(this.dialog,{nodePk:this.node.localPk,minHops:this.node.minHops}).afterClosed().subscribe(function(a){a&&It.refreshCurrentDisplayedData()})}},{key:"changeTransportsConfig",value:function(){var t=this,a=$t.createConfirmationDialog(this.dialog,this.node.autoconnectTransports?"node.details.transports-info.disable-confirmation":"node.details.transports-info.enable-confirmation");a.componentInstance.operationAccepted.subscribe(function(){a.componentInstance.showProcessing();var o=t.transportService.changeAutoconnectSetting(t.node.localPk,!t.node.autoconnectTransports);t.autoconnectSubscription=o.subscribe(function(){a.close(),t.snackbarService.showDone(t.node.autoconnectTransports?"node.details.transports-info.disable-done":"node.details.transports-info.enable-done"),It.refreshCurrentDisplayedData()},function(s){s=on(s),a.componentInstance.showDone("confirmation.error-header-text",s.translatableErrorMsg)})})}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Gn),B($i),B(Kb),B(In))},n.\u0275cmp=qe({type:n,selectors:[["app-node-info-content"]],inputs:{nodeInfo:"nodeInfo"},decls:1,vars:1,consts:[["class","font-smaller d-flex flex-column mt-4.5",4,"ngIf"],[1,"font-smaller","d-flex","flex-column","mt-4.5"],[1,"d-flex","flex-column"],[1,"section-title"],[1,"info-line"],[1,"title"],[1,"highlight-internal-icon",3,"click"],[3,"inline"],[3,"text"],["class","info-line",4,"ngIf"],[3,"inline","matTooltip",4,"ngIf"],[1,"separator"],[3,"inline","matTooltip"],[1,"config-button-container"],["color","primary",3,"forDarkBackground","action"],[1,"d-flex","flex-column","justify-content-end","mt-3"]],template:function(e,t){1&e&&q(0,EJ,107,98,"div",0),2&e&&S("ngIf",t.node)},directives:[Et,Mn,Jb,ur,ci,wJ],pipes:[Mt],styles:[".section-title[_ngcontent-%COMP%]{font-size:1rem;font-weight:700;text-transform:uppercase}.info-line[_ngcontent-%COMP%]{word-break:break-all;margin-top:7px}.info-line[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:2px;-webkit-user-select:none;user-select:none}.info-line[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin-left:7px}.info-line[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{opacity:.75}.separator[_ngcontent-%COMP%]{width:100%;height:0px;margin:1rem 0;border-top:1px solid rgba(255,255,255,.15)}.config-button-container[_ngcontent-%COMP%]{margin-top:10px;margin-left:-4px}"]}),n}(),PJ=function(){var n=function(){function i(){c(this,i)}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.dataSubscription=It.currentNode.subscribe(function(a){t.node=a})}},{key:"ngOnDestroy",value:function(){this.dataSubscription.unsubscribe()}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=qe({type:n,selectors:[["app-node-info"]],decls:1,vars:1,consts:[[3,"nodeInfo"]],template:function(e,t){1&e&&Te(0,"app-node-info-content",0),2&e&&S("nodeInfo",t.node)},directives:[lP],styles:[""]}),n}(),xJ=function(){return["settings.title","labels.title"]},OJ=function(){var n=function(){function i(e){c(this,i),this.router=e,this.tabsData=[],this.returnButtonText="settings.title",this.tabsData=[{icon:"view_headline",label:"labels.list-title",linkParts:[]}]}return d(i,[{key:"performAction",value:function(t){null===t&&this.router.navigate(["settings"])}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(an))},n.\u0275cmp=qe({type:n,selectors:[["app-all-labels"]],decls:5,vars:6,consts:[[1,"row"],[1,"col-12"],[3,"titleParts","tabsData","showUpdateButton","returnText","optionSelected"],[1,"content","col-12"],[3,"showShortList"]],template:function(e,t){1&e&&(E(0,"div",0)(1,"div",1)(2,"app-top-bar",2),Se("optionSelected",function(o){return t.performAction(o)}),P()(),E(3,"div",3),Te(4,"app-label-list",4),P()()),2&e&&(p(2),S("titleParts",Nn(5,xJ))("tabsData",t.tabsData)("showUpdateButton",!1)("returnText",t.returnButtonText),p(2),S("showShortList",!1))},directives:[Fl,VE],styles:[""]}),n}(),IJ=["firstInput"];function AJ(n,i){1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n&&(p(1),ye(" ",U(2,1,"vpn.server-list.add-server-dialog.pk-length-error")," "))}function FJ(n,i){1&n&&(R(0),Y(1,"translate")),2&n&&ye(" ",U(1,1,"vpn.server-list.add-server-dialog.pk-chars-error")," ")}var RJ=function(){var n=function(){function i(e,t,a,o,s,l,u,f){c(this,i),this.dialogRef=e,this.data=t,this.formBuilder=a,this.dialog=o,this.router=s,this.vpnClientService=l,this.vpnSavedDataService=u,this.snackbarService=f}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.form=this.formBuilder.group({pk:["",Cn.compose([Cn.required,Cn.minLength(66),Cn.maxLength(66),Cn.pattern("^[0-9a-fA-F]+$")])],password:[""],name:[""],note:[""]}),setTimeout(function(){return t.firstInput.nativeElement.focus()})}},{key:"process",value:function(){if(this.form.valid){var t={pk:this.form.get("pk").value,name:this.form.get("name").value,note:this.form.get("note").value};Gr.processServerChange(this.router,this.vpnClientService,this.vpnSavedDataService,this.snackbarService,this.dialog,this.dialogRef,this.data,null,null,t,this.form.get("password").value)}}}],[{key:"openDialog",value:function(t,a){var o=new Zn;return o.data=a,o.autoFocus=!1,o.width=Kt.mediumModalWidth,t.open(i,o)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Dr),B(Ur),B(Zi),B(Gn),B(an),B(yc),B(Al),B(In))},n.\u0275cmp=qe({type:n,selectors:[["app-add-vpn-server"]],viewQuery:function(e,t){var a;1&e&>(IJ,5),2&e&<(a=ut())&&(t.firstInput=a.first)},decls:23,vars:22,consts:[[3,"headline"],[3,"formGroup"],["formControlName","pk","maxlength","66","matInput","",3,"placeholder"],["firstInput",""],[4,"ngIf","ngIfElse"],["hexError",""],["formControlName","password","type","password","matInput","",3,"placeholder"],["formControlName","name","maxlength","100","matInput","",3,"placeholder"],["formControlName","note","maxlength","100","matInput","",3,"placeholder"],["color","primary",1,"float-right",3,"disabled","action"]],template:function(e,t){if(1&e&&(E(0,"app-dialog",0),Y(1,"translate"),E(2,"form",1)(3,"mat-form-field"),Te(4,"input",2,3),Y(6,"translate"),E(7,"mat-error"),q(8,AJ,3,3,"ng-container",4),P(),q(9,FJ,2,3,"ng-template",null,5,Ls),P(),E(11,"mat-form-field"),Te(12,"input",6),Y(13,"translate"),P(),E(14,"mat-form-field"),Te(15,"input",7),Y(16,"translate"),P(),E(17,"mat-form-field"),Te(18,"input",8),Y(19,"translate"),P()(),E(20,"app-button",9),Se("action",function(){return t.process()}),R(21),Y(22,"translate"),P()()),2&e){var a=sr(10);S("headline",U(1,10,"vpn.server-list.add-server-dialog.title")),p(2),S("formGroup",t.form),p(2),S("placeholder",U(6,12,"vpn.server-list.add-server-dialog.pk-label")),p(4),S("ngIf",!t.form.get("pk").hasError("pattern"))("ngIfElse",a),p(4),S("placeholder",U(13,14,"vpn.server-list.add-server-dialog.password-label")),p(3),S("placeholder",U(16,16,"vpn.server-list.add-server-dialog.name-label")),p(3),S("placeholder",U(19,18,"vpn.server-list.add-server-dialog.note-label")),p(2),S("disabled",!t.form.valid),p(1),ye(" ",U(22,20,"vpn.server-list.add-server-dialog.use-server-button")," ")}},directives:[_r,ei,Xr,gr,ki,Qr,Qi,Jr,zr,Hi,wf,Et,ci],pipes:[Mt],styles:[""]}),n}(),NJ=d(function n(){c(this,n),this.countryCode="ZZ"}),YJ=function(){var n=function(){function i(e){c(this,i),this.http=e,this.discoveryServiceUrl="https://sd.skycoin.com/api/services?type=vpn"}return d(i,[{key:"getServers",value:function(){var t=this;return this.servers?Je(this.servers):this.http.get(this.discoveryServiceUrl).pipe(Lf(function(a){return a.pipe(Mi(4e3))}),$e(function(a){var o=[];return a.forEach(function(s){var l=new NJ,u=s.address.split(":");2===u.length&&(l.pk=u[0],l.location="",s.geo&&(s.geo.country&&(l.countryCode=s.geo.country),s.geo.region&&(l.location=s.geo.region)),l.name=u[0],l.note="",o.push(l))}),t.servers=o,o}))}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(cl))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}();function HJ(n,i){1&n&&Ss(0)}var uP=function(){return["vpn.title"]};function BJ(n,i){if(1&n&&(E(0,"div",3)(1,"div",4),Te(2,"app-top-bar",5),E(3,"div",6)(4,"div",7)(5,"div",8),q(6,HJ,1,0,"ng-container",9),P()()()(),Te(7,"app-loading-indicator",10),P()),2&n){var e=K(),t=sr(2);p(2),S("titleParts",Nn(6,uP))("tabsData",e.tabsData)("selectedTabIndex",1)("showUpdateButton",!1)("localVpnKey",e.currentLocalPk),p(4),S("ngTemplateOutlet",t)}}function VJ(n,i){1&n&&(E(0,"div",22)(1,"span"),R(2),Y(3,"translate"),P()()),2&n&&(p(2),ge(U(3,1,"vpn.server-list.tabs.public")))}var Iv=function(i,e){return["/vpn",i,"servers",e,1]};function jJ(n,i){if(1&n&&(E(0,"a",23)(1,"span"),R(2),Y(3,"translate"),P()()),2&n){var e=K(2);S("routerLink",En(4,Iv,e.currentLocalPk,e.lists.Public)),p(2),ge(U(3,2,"vpn.server-list.tabs.public"))}}function UJ(n,i){1&n&&(E(0,"div",22)(1,"span"),R(2),Y(3,"translate"),P()()),2&n&&(p(2),ge(U(3,1,"vpn.server-list.tabs.history")))}function zJ(n,i){if(1&n&&(E(0,"a",23)(1,"span"),R(2),Y(3,"translate"),P()()),2&n){var e=K(2);S("routerLink",En(4,Iv,e.currentLocalPk,e.lists.History)),p(2),ge(U(3,2,"vpn.server-list.tabs.history"))}}function WJ(n,i){1&n&&(E(0,"div",22)(1,"span"),R(2),Y(3,"translate"),P()()),2&n&&(p(2),ge(U(3,1,"vpn.server-list.tabs.favorites")))}function GJ(n,i){if(1&n&&(E(0,"a",23)(1,"span"),R(2),Y(3,"translate"),P()()),2&n){var e=K(2);S("routerLink",En(4,Iv,e.currentLocalPk,e.lists.Favorites)),p(2),ge(U(3,2,"vpn.server-list.tabs.favorites"))}}function qJ(n,i){1&n&&(E(0,"div",22)(1,"span"),R(2),Y(3,"translate"),P()()),2&n&&(p(2),ge(U(3,1,"vpn.server-list.tabs.blocked")))}function KJ(n,i){if(1&n&&(E(0,"a",23)(1,"span"),R(2),Y(3,"translate"),P()()),2&n){var e=K(2);S("routerLink",En(4,Iv,e.currentLocalPk,e.lists.Blocked)),p(2),ge(U(3,2,"vpn.server-list.tabs.blocked"))}}function $J(n,i){1&n&&Te(0,"br")}function ZJ(n,i){if(1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n){var e=K().$implicit;p(1),ge(U(2,1,e.translatableValue))}}function QJ(n,i){if(1&n&&(ze(0),R(1),We()),2&n){var e=K().$implicit;p(1),ge(e.value)}}function JJ(n,i){if(1&n&&(E(0,"div",28)(1,"span"),R(2),Y(3,"translate"),P(),q(4,ZJ,3,3,"ng-container",21),q(5,QJ,2,1,"ng-container",21),P()),2&n){var e=i.$implicit;p(2),ye("",U(3,3,e.filterName),": "),p(2),S("ngIf",e.translatableValue),p(1),S("ngIf",e.value)}}function XJ(n,i){if(1&n){var e=tt();E(0,"div",25),Se("click",function(){return ke(e),K(3).dataFilterer.removeFilters()}),E(1,"div",26)(2,"mat-icon",19),R(3,"search"),P(),R(4),Y(5,"translate"),P(),q(6,JJ,6,5,"div",27),P()}if(2&n){var t=K(3);p(2),S("inline",!0),p(2),ye(" ",U(5,3,"vpn.server-list.current-filters"),""),p(2),S("ngForOf",t.dataFilterer.currentFiltersTexts)}}function eX(n,i){if(1&n&&(ze(0),q(1,$J,1,0,"br",21),q(2,XJ,7,5,"div",24),We()),2&n){var e=K(2);p(1),S("ngIf",e.dataFilterer.currentFiltersTexts&&e.dataFilterer.currentFiltersTexts.length>0),p(1),S("ngIf",e.dataFilterer.currentFiltersTexts&&e.dataFilterer.currentFiltersTexts.length>0)}}var tX=function(i){return{deactivated:i}};function nX(n,i){if(1&n){var e=tt();E(0,"div",11)(1,"div",12)(2,"div",13)(3,"div",14),q(4,VJ,4,3,"div",15),q(5,jJ,4,7,"a",16),q(6,UJ,4,3,"div",15),q(7,zJ,4,7,"a",16),q(8,WJ,4,3,"div",15),q(9,GJ,4,7,"a",16),q(10,qJ,4,3,"div",15),q(11,KJ,4,7,"a",16),P()()()(),E(12,"div",17)(13,"div",12)(14,"div",13)(15,"div",14)(16,"div",18),Se("click",function(){ke(e);var o=K();return o.dataFilterer?o.dataFilterer.changeFilters():null}),Y(17,"translate"),E(18,"span")(19,"mat-icon",19),R(20,"search"),P()()()()()()(),E(21,"div",20)(22,"div",12)(23,"div",13)(24,"div",14)(25,"div",18),Se("click",function(){return ke(e),K().enterManually()}),Y(26,"translate"),E(27,"span")(28,"mat-icon",19),R(29,"add"),P()()()()()()(),q(30,eX,3,2,"ng-container",21)}if(2&n){var t=K();p(4),S("ngIf",t.currentList===t.lists.Public),p(1),S("ngIf",t.currentList!==t.lists.Public),p(1),S("ngIf",t.currentList===t.lists.History),p(1),S("ngIf",t.currentList!==t.lists.History),p(1),S("ngIf",t.currentList===t.lists.Favorites),p(1),S("ngIf",t.currentList!==t.lists.Favorites),p(1),S("ngIf",t.currentList===t.lists.Blocked),p(1),S("ngIf",t.currentList!==t.lists.Blocked),p(1),S("ngClass",Qe(18,tX,t.loading)),p(4),S("matTooltip",U(17,14,"filters.filter-info")),p(3),S("inline",!0),p(6),S("matTooltip",U(26,16,"vpn.server-list.add-manually-info")),p(3),S("inline",!0),p(2),S("ngIf",t.dataFilterer)}}function rX(n,i){1&n&&Ss(0)}function iX(n,i){if(1&n&&(E(0,"mat-icon",19),R(1),P()),2&n){var e=K(5);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function aX(n,i){if(1&n){var e=tt();E(0,"th",50),Se("click",function(){ke(e);var o=K(4);return o.dataSorter.changeSortingOrder(o.dateSortData)}),Y(1,"translate"),E(2,"div",43)(3,"div",44),R(4),Y(5,"translate"),P(),q(6,iX,2,2,"mat-icon",41),P()()}if(2&n){var t=K(4);S("matTooltip",U(1,3,"vpn.server-list.date-info")),p(4),ye(" ",U(5,5,"vpn.server-list.date-small-table-label")," "),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.dateSortData)}}function oX(n,i){if(1&n&&(E(0,"mat-icon",19),R(1),P()),2&n){var e=K(4);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function sX(n,i){if(1&n&&(E(0,"mat-icon",19),R(1),P()),2&n){var e=K(4);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function lX(n,i){if(1&n&&(E(0,"mat-icon",19),R(1),P()),2&n){var e=K(4);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function uX(n,i){if(1&n&&(E(0,"mat-icon",19),R(1),P()),2&n){var e=K(4);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function cX(n,i){if(1&n&&(E(0,"mat-icon",19),R(1),P()),2&n){var e=K(4);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function dX(n,i){if(1&n&&(E(0,"td",64),R(1),Y(2,"date"),P()),2&n){var e=K().$implicit;p(1),ye(" ",xt(2,1,e.lastUsed,"yyyy/MM/dd, H:mm a")," ")}}function fX(n,i){if(1&n&&(ze(0),R(1),We()),2&n){var e=K().$implicit;p(1),ye(" ",e.location," ")}}function hX(n,i){1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n&&(p(1),ye(" ",U(2,1,"vpn.server-list.unknown")," "))}var pX=function(i,e){return{custom:i,original:e}};function vX(n,i){if(1&n&&(E(0,"mat-icon",65),Se("click",function(o){return o.stopPropagation()}),Y(1,"translate"),R(2,"info_outline"),P()),2&n){var e=K().$implicit,t=K(4);S("inline",!0)("matTooltip",xt(1,2,t.getNoteVar(e),En(5,pX,e.personalNote,e.note)))}}var mX=function(i){return{"selectable click-effect":i}};function gX(n,i){if(1&n){var e=tt();E(0,"tr",51),Se("click",function(){var l=ke(e).$implicit,u=K(4);return u.currentList!==u.lists.Blocked?u.selectServer(l):null}),q(1,dX,3,4,"td",52),E(2,"td",53)(3,"div",54),Te(4,"div",55),P()(),E(5,"td",56),Te(6,"app-vpn-server-name",57),P(),E(7,"td",58),q(8,fX,2,1,"ng-container",21),q(9,hX,3,3,"ng-container",21),P(),E(10,"td",59)(11,"app-copy-to-clipboard-text",60),Se("click",function(s){return s.stopPropagation()}),P()(),E(12,"td",61),q(13,vX,3,8,"mat-icon",62),P(),E(14,"td",48)(15,"button",63),Se("click",function(s){var u=ke(e).$implicit,f=K(4);return s.stopPropagation(),f.openOptions(u)}),Y(16,"translate"),E(17,"mat-icon",19),R(18,"settings"),P()()()()}if(2&n){var t=i.$implicit,a=K(4);S("ngClass",Qe(23,mX,a.currentList!==a.lists.Blocked)),p(1),S("ngIf",a.currentList===a.lists.History),p(3),tr("background-image: url('assets/img/big-flags/"+t.countryCode.toLocaleLowerCase()+".png');"),S("matTooltip",a.getCountryName(t.countryCode)),p(2),S("isCurrentServer",a.currentServer&&t.pk===a.currentServer.pk)("isFavorite",t.flag===a.serverFlags.Favorite&&a.currentList!==a.lists.Favorites)("isBlocked",t.flag===a.serverFlags.Blocked&&a.currentList!==a.lists.Blocked)("isInHistory",t.inHistory&&a.currentList!==a.lists.History)("hasPassword",t.usedWithPassword)("name",t.name)("pk",t.pk)("customName",t.customName)("defaultName","vpn.server-list.none"),p(2),S("ngIf",t.location),p(1),S("ngIf",!t.location),p(2),S("shortSimple",!0)("text",t.pk),p(2),S("ngIf",t.note||t.personalNote),p(2),S("matTooltip",U(16,21,"vpn.server-options.tooltip")),p(2),S("inline",!0)}}var _X=function(i,e){return{"public-pk-column":i,"history-pk-column":e}};function yX(n,i){if(1&n){var e=tt();E(0,"table",38)(1,"tr"),q(2,aX,7,7,"th",39),E(3,"th",40),Se("click",function(){ke(e);var o=K(3);return o.dataSorter.changeSortingOrder(o.countrySortData)}),Y(4,"translate"),E(5,"mat-icon",19),R(6,"flag"),P(),q(7,oX,2,2,"mat-icon",41),P(),E(8,"th",42),Se("click",function(){ke(e);var o=K(3);return o.dataSorter.changeSortingOrder(o.nameSortData)}),E(9,"div",43)(10,"div",44),R(11),Y(12,"translate"),P(),q(13,sX,2,2,"mat-icon",41),P()(),E(14,"th",45),Se("click",function(){ke(e);var o=K(3);return o.dataSorter.changeSortingOrder(o.locationSortData)}),E(15,"div",43)(16,"div",44),R(17),Y(18,"translate"),P(),q(19,lX,2,2,"mat-icon",41),P()(),E(20,"th",46),Se("click",function(){ke(e);var o=K(3);return o.dataSorter.changeSortingOrder(o.pkSortData)}),Y(21,"translate"),E(22,"div",43)(23,"div",44),R(24),Y(25,"translate"),P(),q(26,uX,2,2,"mat-icon",41),P()(),E(27,"th",47),Se("click",function(){ke(e);var o=K(3);return o.dataSorter.changeSortingOrder(o.noteSortData)}),Y(28,"translate"),E(29,"div",43)(30,"mat-icon",19),R(31,"info_outline"),P(),q(32,cX,2,2,"mat-icon",41),P()(),Te(33,"th",48),P(),q(34,gX,19,25,"tr",49),P()}if(2&n){var t=K(3);p(2),S("ngIf",t.currentList===t.lists.History),p(1),S("matTooltip",U(4,16,"vpn.server-list.country-info")),p(2),S("inline",!0),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.countrySortData),p(4),ye(" ",U(12,18,"vpn.server-list.name-small-table-label")," "),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.nameSortData),p(4),ye(" ",U(18,20,"vpn.server-list.location-small-table-label")," "),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.locationSortData),p(1),S("ngClass",En(28,_X,t.currentList===t.lists.Public,t.currentList===t.lists.History))("matTooltip",U(21,22,"vpn.server-list.public-key-info")),p(4),ye(" ",U(25,24,"vpn.server-list.public-key-small-table-label")," "),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.pkSortData),p(1),S("matTooltip",U(28,26,"vpn.server-list.note-info")),p(3),S("inline",!0),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.noteSortData),p(2),S("ngForOf",t.dataSource)}}function bX(n,i){if(1&n&&(E(0,"div",35)(1,"div",36),q(2,yX,35,31,"table",37),P()()),2&n){var e=K(2);p(2),S("ngIf",e.dataSource.length>0)}}var kX=function(i,e){return["/vpn",i,"servers",e]};function MX(n,i){if(1&n&&Te(0,"app-paginator",66),2&n){var e=K(2);S("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",En(4,kX,e.currentLocalPk,e.currentList))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function CX(n,i){1&n&&(E(0,"span",70),R(1),Y(2,"translate"),P()),2&n&&(p(1),ge(U(2,1,"vpn.server-list.empty-discovery")))}function wX(n,i){1&n&&(E(0,"span",70),R(1),Y(2,"translate"),P()),2&n&&(p(1),ge(U(2,1,"vpn.server-list.empty-history")))}function SX(n,i){1&n&&(E(0,"span",70),R(1),Y(2,"translate"),P()),2&n&&(p(1),ge(U(2,1,"vpn.server-list.empty-favorites")))}function DX(n,i){1&n&&(E(0,"span",70),R(1),Y(2,"translate"),P()),2&n&&(p(1),ge(U(2,1,"vpn.server-list.empty-blocked")))}function TX(n,i){1&n&&(E(0,"span",70),R(1),Y(2,"translate"),P()),2&n&&(p(1),ge(U(2,1,"vpn.server-list.empty-with-filter")))}function LX(n,i){if(1&n&&(E(0,"div",35)(1,"div",67)(2,"mat-icon",68),R(3,"warning"),P(),q(4,CX,3,3,"span",69),q(5,wX,3,3,"span",69),q(6,SX,3,3,"span",69),q(7,DX,3,3,"span",69),q(8,TX,3,3,"span",69),P()()),2&n){var e=K(2);p(2),S("inline",!0),p(2),S("ngIf",0===e.allServers.length&&e.currentList===e.lists.Public),p(1),S("ngIf",0===e.allServers.length&&e.currentList===e.lists.History),p(1),S("ngIf",0===e.allServers.length&&e.currentList===e.lists.Favorites),p(1),S("ngIf",0===e.allServers.length&&e.currentList===e.lists.Blocked),p(1),S("ngIf",0!==e.allServers.length)}}var EX=function(i){return{"mb-3":i}};function PX(n,i){if(1&n&&(E(0,"div",29)(1,"div",30),Te(2,"app-top-bar",5),P(),E(3,"div",31)(4,"div",7)(5,"div",32),q(6,rX,1,0,"ng-container",9),P(),q(7,bX,3,1,"div",33),q(8,MX,1,7,"app-paginator",34),q(9,LX,9,6,"div",33),P()()()),2&n){var e=K(),t=sr(2);p(2),S("titleParts",Nn(10,uP))("tabsData",e.tabsData)("selectedTabIndex",1)("showUpdateButton",!1)("localVpnKey",e.currentLocalPk),p(3),S("ngClass",Qe(11,EX,!e.dataFilterer.currentFiltersTexts||e.dataFilterer.currentFiltersTexts.length<1)),p(1),S("ngTemplateOutlet",t),p(1),S("ngIf",0!==e.dataSource.length),p(1),S("ngIf",e.numberOfPages>1),p(1),S("ngIf",0===e.dataSource.length)}}var Tr=function(){return function(n){n.Public="public",n.History="history",n.Favorites="favorites",n.Blocked="blocked"}(Tr||(Tr={})),Tr}(),cP=function(){var n=function(){function i(e,t,a,o,s,l,u,f){var m=this;c(this,i),this.dialog=e,this.router=t,this.translateService=a,this.route=o,this.vpnClientDiscoveryService=s,this.vpnClientService=l,this.vpnSavedDataService=u,this.snackbarService=f,this.maxFullListElements=50,this.dateSortData=new xn(["lastUsed"],"vpn.server-list.date-small-table-label",Xt.NumberReversed),this.countrySortData=new xn(["countryName"],"vpn.server-list.country-small-table-label",Xt.Text),this.nameSortData=new xn(["name"],"vpn.server-list.name-small-table-label",Xt.Text),this.locationSortData=new xn(["location"],"vpn.server-list.location-small-table-label",Xt.Text),this.pkSortData=new xn(["pk"],"vpn.server-list.public-key-small-table-label",Xt.Text),this.noteSortData=new xn(["note"],"vpn.server-list.note-small-table-label",Xt.Text),this.loading=!0,this.loadingBackendData=!0,this.tabsData=Gr.vpnTabsData,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.currentList=Tr.Public,this.vpnRunning=!1,this.serverFlags=Hn,this.lists=Tr,this.initialLoadStarted=!1,this.navigationsSubscription=o.paramMap.subscribe(function(C){if(C.has("type")?C.get("type")===Tr.Favorites?(m.currentList=Tr.Favorites,m.listId="vfs"):C.get("type")===Tr.Blocked?(m.currentList=Tr.Blocked,m.listId="vbs"):C.get("type")===Tr.History?(m.currentList=Tr.History,m.listId="vhs"):(m.currentList=Tr.Public,m.listId="vps"):(m.currentList=Tr.Public,m.listId="vps"),Gr.setDefaultTabForServerList(m.currentList),C.has("key")&&(m.currentLocalPk=C.get("key"),Gr.changeCurrentPk(m.currentLocalPk),m.tabsData=Gr.vpnTabsData),C.has("page")){var A=Number.parseInt(C.get("page"),10);(isNaN(A)||A<1)&&(A=1),m.currentPageInUrl=A,m.recalculateElementsToShow()}m.initialLoadStarted||(m.initialLoadStarted=!0,m.loadData())}),this.currentServerSubscription=this.vpnSavedDataService.currentServerObservable.subscribe(function(C){return m.currentServer=C}),this.backendDataSubscription=this.vpnClientService.backendState.subscribe(function(C){C&&(m.loadingBackendData=!1,m.vpnRunning=C.vpnClientAppData.running)})}return d(i,[{key:"ngOnDestroy",value:function(){this.navigationsSubscription.unsubscribe(),this.currentServerSubscription.unsubscribe(),this.backendDataSubscription.unsubscribe(),this.dataSortedSubscription&&this.dataSortedSubscription.unsubscribe(),this.dataFiltererSubscription&&this.dataFiltererSubscription.unsubscribe(),this.dataSubscription&&this.dataSubscription.unsubscribe(),this.dataFilterer&&this.dataFilterer.dispose(),this.dataSorter&&this.dataSorter.dispose()}},{key:"enterManually",value:function(){RJ.openDialog(this.dialog,this.currentLocalPk)}},{key:"getNoteVar",value:function(t){return t.note&&t.personalNote?"vpn.server-list.notes-info":!t.note&&t.personalNote?t.personalNote:t.note}},{key:"selectServer",value:function(t){var a=this,o=this.vpnSavedDataService.getSavedVersion(t.pk,!0);if(this.snackbarService.closeCurrentIfTemporaryError(),o&&o.flag===Hn.Blocked)this.snackbarService.showError("vpn.starting-blocked-server-error",{},!0);else{if(this.currentServer&&this.currentServer.pk===t.pk){if(this.vpnRunning)this.snackbarService.showWarning("vpn.server-change.already-selected-warning");else{var s=$t.createConfirmationDialog(this.dialog,"vpn.server-change.start-same-server-confirmation");s.componentInstance.operationAccepted.subscribe(function(){s.componentInstance.closeModal(),a.vpnClientService.start(),Gr.redirectAfterServerChange(a.router,null,a.currentLocalPk)})}return}if(o&&o.usedWithPassword)return void yE.openDialog(this.dialog,!0).afterClosed().subscribe(function(l){l&&a.makeServerChange(t,"-"===l?null:l.substr(1))});this.makeServerChange(t,null)}}},{key:"makeServerChange",value:function(t,a){Gr.processServerChange(this.router,this.vpnClientService,this.vpnSavedDataService,this.snackbarService,this.dialog,null,this.currentLocalPk,t.originalLocalData,t.originalDiscoveryData,null,a)}},{key:"openOptions",value:function(t){var a=this,o=this.vpnSavedDataService.getSavedVersion(t.pk,!0);o||(o=this.vpnSavedDataService.processFromDiscovery(t.originalDiscoveryData)),o?Gr.openServerOptions(o,this.router,this.vpnSavedDataService,this.vpnClientService,this.snackbarService,this.dialog).subscribe(function(s){s&&a.processAllServers()}):this.snackbarService.showError("vpn.unexpedted-error")}},{key:"loadData",value:function(){var t=this;this.dataSubscription=this.currentList===Tr.Public?this.vpnClientDiscoveryService.getServers().subscribe(function(o){t.allServers=o.map(function(s){return{countryCode:s.countryCode,countryName:t.getCountryName(s.countryCode),name:s.name,customName:null,location:s.location,pk:s.pk,note:s.note,personalNote:null,originalDiscoveryData:s}}),t.vpnSavedDataService.updateFromDiscovery(o),t.loading=!1,t.processAllServers()}):(this.currentList===Tr.History?this.vpnSavedDataService.history:this.currentList===Tr.Favorites?this.vpnSavedDataService.favorites:this.vpnSavedDataService.blocked).subscribe(function(o){var s=[];o.forEach(function(l){s.push({countryCode:l.countryCode,countryName:t.getCountryName(l.countryCode),name:l.name,customName:null,location:l.location,pk:l.pk,note:l.note,personalNote:null,lastUsed:l.lastUsed,inHistory:l.inHistory,flag:l.flag,originalLocalData:l})}),t.allServers=s,t.loading=!1,t.processAllServers()})}},{key:"processAllServers",value:function(){var t=this;this.fillFilterPropertiesArray();var a=new Set;this.allServers.forEach(function(C,A){a.add(C.countryCode);var V=t.vpnSavedDataService.getSavedVersion(C.pk,0===A);C.customName=V?V.customName:null,C.personalNote=V?V.personalNote:null,C.inHistory=!!V&&V.inHistory,C.flag=V?V.flag:Hn.None,C.enteredManually=!!V&&V.enteredManually,C.usedWithPassword=!!V&&V.usedWithPassword});var o=[];a.forEach(function(C){o.push({label:t.getCountryName(C),value:C,image:"/assets/img/big-flags/"+C.toLowerCase()+".png"})}),o.sort(function(C,A){return C.label.localeCompare(A.label)}),o=[{label:"vpn.server-list.filter-dialog.country-options.any",value:""}].concat(o),this.filterProperties=[{filterName:"vpn.server-list.filter-dialog.country",keyNameInElementsArray:"countryCode",type:qn.Select,printableLabelsForValues:o,printableLabelGeneralSettings:{defaultImage:"/assets/img/big-flags/unknown.png",imageWidth:20,imageHeight:15}}].concat(this.filterProperties);var u,f,m,l=[];this.currentList===Tr.Public?(l.push(this.countrySortData),l.push(this.nameSortData),l.push(this.locationSortData),l.push(this.pkSortData),l.push(this.noteSortData),u=0,f=1):(this.currentList===Tr.History&&l.push(this.dateSortData),l.push(this.countrySortData),l.push(this.nameSortData),l.push(this.locationSortData),l.push(this.pkSortData),l.push(this.noteSortData),u=this.currentList===Tr.History?0:1,f=this.currentList===Tr.History?2:3),this.dataSorter=new vc(this.dialog,this.translateService,l,u,this.listId),this.dataSorter.setTieBreakerColumnIndex(f),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(function(){t.recalculateElementsToShow()}),this.dataFilterer=new gc(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(function(C){t.filteredServers=C,t.dataSorter.setData(t.filteredServers)}),m=this.currentList===Tr.Public?this.allServers.filter(function(C){return C.flag!==Hn.Blocked}):this.allServers,this.dataFilterer.setData(m)}},{key:"fillFilterPropertiesArray",value:function(){this.filterProperties=[{filterName:"vpn.server-list.filter-dialog.name",keyNameInElementsArray:"name",secondaryKeyNameInElementsArray:"customName",type:qn.TextInput,maxlength:100},{filterName:"vpn.server-list.filter-dialog.location",keyNameInElementsArray:"location",type:qn.TextInput,maxlength:100},{filterName:"vpn.server-list.filter-dialog.public-key",keyNameInElementsArray:"pk",type:qn.TextInput,maxlength:100}]}},{key:"recalculateElementsToShow",value:function(){if(this.currentPage=this.currentPageInUrl,this.filteredServers){var t=this.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredServers.length/t),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);var a=t*(this.currentPage-1);this.serversToShow=this.filteredServers.slice(a,a+t)}else this.serversToShow=null;this.dataSource=this.serversToShow}},{key:"getCountryName",value:function(t){return is[t.toUpperCase()]?is[t.toUpperCase()]:t}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Gn),B(an),B(bi),B(si),B(YJ),B(yc),B(Al),B(In))},n.\u0275cmp=qe({type:n,selectors:[["app-vpn-server-list"]],decls:4,vars:2,consts:[["class","d-flex flex-column h-100 w-100",4,"ngIf"],["topPart",""],["class","row",4,"ngIf"],[1,"d-flex","flex-column","h-100","w-100"],[1,"loading-top-container"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton","localVpnKey"],[1,"main-container"],[1,"width-limiter"],[1,"center-container","mt-4.5"],[4,"ngTemplateOutlet"],[1,"h-100","loading-indicator"],[1,"option-bar-container"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","allow-overflow"],[1,"option-bar"],["class","text-option selected",4,"ngIf"],["class","text-option",3,"routerLink",4,"ngIf"],[1,"option-bar-container","option-bar-margin",3,"ngClass"],[1,"icon-option",3,"matTooltip","click"],[3,"inline"],[1,"option-bar-container","option-bar-margin"],[4,"ngIf"],[1,"text-option","selected"],[1,"text-option",3,"routerLink"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],[1,"transparent-50"],["class","item",4,"ngFor","ngForOf"],[1,"item"],[1,"row"],[1,"col-12"],[1,"col-12","vpn-table-container"],[1,"center-container","mt-4.5",3,"ngClass"],["class","rounded-elevated-box",4,"ngIf"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],[1,"rounded-elevated-box"],[1,"box-internal-container"],["class","responsive-table-translucid d-none d-md-table","cellspacing","0","cellpadding","0",4,"ngIf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table"],["class","sortable-column date-column click-effect",3,"matTooltip","click",4,"ngIf"],[1,"sortable-column","flag-column","center","click-effect",3,"matTooltip","click"],[3,"inline",4,"ngIf"],[1,"sortable-column","name-column","click-effect",3,"click"],[1,"header-container"],[1,"header-text"],[1,"sortable-column","location-column","click-effect",3,"click"],[1,"sortable-column","pk-column","click-effect",3,"ngClass","matTooltip","click"],[1,"sortable-column","note-column","center","click-effect",3,"matTooltip","click"],[1,"actions"],[3,"ngClass","click",4,"ngFor","ngForOf"],[1,"sortable-column","date-column","click-effect",3,"matTooltip","click"],[3,"ngClass","click"],["class","date-column",4,"ngIf"],[1,"flag-column","icon-fixer"],[1,"flag"],[3,"matTooltip"],[1,"name-column"],[3,"isCurrentServer","isFavorite","isBlocked","isInHistory","hasPassword","name","pk","customName","defaultName"],[1,"location-column"],[1,"pk-column","history-pk-column"],[1,"d-inline-block","w-100",3,"shortSimple","text","click"],[1,"center","note-column"],["class","note-icon",3,"inline","matTooltip","click",4,"ngIf"],["mat-icon-button","",1,"big-action-button","transparent-button","vpn-small-button",3,"matTooltip","click"],[1,"date-column"],[1,"note-icon",3,"inline","matTooltip","click"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"box-internal-container","font-sm"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(e,t){1&e&&(q(0,BJ,8,7,"div",0),q(1,nX,31,20,"ng-template",null,1,Ls),q(3,PX,10,13,"div",2)),2&e&&(S("ngIf",t.loading||t.loadingBackendData),p(3),S("ngIf",!t.loading&&!t.loadingBackendData))},styles:["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%], .header-container[_ngcontent-%COMP%] .header-text[_ngcontent-%COMP%], .note-column[_ngcontent-%COMP%], .pk-column[_ngcontent-%COMP%], .location-column[_ngcontent-%COMP%], .name-column[_ngcontent-%COMP%], .date-column[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}.grey-text[_ngcontent-%COMP%]{color:#777!important}.center-container[_ngcontent-%COMP%]{text-align:center}.center-container[_ngcontent-%COMP%] app-paginator[_ngcontent-%COMP%]{display:inline-block}.loading-top-container[_ngcontent-%COMP%]{z-index:1}.loading-indicator[_ngcontent-%COMP%]{padding-top:30px;padding-bottom:20px}.deactivated[_ngcontent-%COMP%]{opacity:.5;pointer-events:none}.option-bar-container[_ngcontent-%COMP%]{display:inline-block}.option-bar-container[_ngcontent-%COMP%] .allow-overflow[_ngcontent-%COMP%]{overflow:visible}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%]{display:flex;margin:-17px}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{height:55px;line-height:55px;cursor:pointer;color:#fff;text-decoration:none;-webkit-user-select:none;user-select:none}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:hover, .option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background:rgba(0,0,0,.2)}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] > .icon-option[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] a[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] > .icon-option[_ngcontent-%COMP%]:active span[_ngcontent-%COMP%], .option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:active span[_ngcontent-%COMP%]{transform:scale(.95)}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] .text-option[_ngcontent-%COMP%]{padding:0 40px;font-size:1rem}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] .icon-option[_ngcontent-%COMP%]{width:55px;font-size:24px}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]{background:rgba(0,0,0,.36);cursor:unset!important}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]:hover{background:rgba(0,0,0,.6)}.option-bar-margin[_ngcontent-%COMP%]{margin-left:10px}.filter-label[_ngcontent-%COMP%]{font-size:.7rem;display:inline-block;padding:5px 10px;margin-bottom:7px}.filter-label[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{vertical-align:middle}table[_ngcontent-%COMP%]{width:100%}tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:2px 5px!important;font-size:12px!important;font-weight:400!important}tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-left:5px!important;padding-right:5px!important}.date-column[_ngcontent-%COMP%]{width:150px}.name-column[_ngcontent-%COMP%]{max-width:0;width:20%}.location-column[_ngcontent-%COMP%]{max-width:0;min-width:72px}.pk-column[_ngcontent-%COMP%]{max-width:0;width:25%}.history-pk-column[_ngcontent-%COMP%]{width:20%!important}.icon-fixer[_ngcontent-%COMP%]{line-height:0px}.note-column[_ngcontent-%COMP%]{max-width:0;width:3%;min-width:60px}.note-column[_ngcontent-%COMP%] .note-icon[_ngcontent-%COMP%]{opacity:.55;font-size:16px!important;display:inline}.flag-column[_ngcontent-%COMP%]{width:1px;line-height:0px}.actions[_ngcontent-%COMP%]{width:1px}.header-container[_ngcontent-%COMP%]{max-width:100%;display:inline-flex}.header-container[_ngcontent-%COMP%] .header-text[_ngcontent-%COMP%]{flex-grow:1}.flag[_ngcontent-%COMP%]{width:20px;height:15px;display:inline-block;margin-right:5px;background-image:url(/assets/img/big-flags/unknown.png);background-size:contain}.flag[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{width:20px;height:15px;background-size:contain}.center[_ngcontent-%COMP%]{text-align:center}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}"]}),n}(),xf=function(i,e){return{"small-text-icon":i,"big-text-icon":e}};function xX(n,i){if(1&n&&(E(0,"mat-icon",4),Y(1,"translate"),R(2,"done"),P()),2&n){var e=K();S("ngClass",En(5,xf,!e.adjustIconsForBigText,e.adjustIconsForBigText))("inline",!0)("matTooltip",U(1,3,"vpn.server-conditions.selected-info"))}}function OX(n,i){if(1&n&&(E(0,"mat-icon",5),Y(1,"translate"),R(2,"clear"),P()),2&n){var e=K();S("ngClass",En(5,xf,!e.adjustIconsForBigText,e.adjustIconsForBigText))("inline",!0)("matTooltip",U(1,3,"vpn.server-conditions.blocked-info"))}}function IX(n,i){if(1&n&&(E(0,"mat-icon",6),Y(1,"translate"),R(2,"star"),P()),2&n){var e=K();S("ngClass",En(5,xf,!e.adjustIconsForBigText,e.adjustIconsForBigText))("inline",!0)("matTooltip",U(1,3,"vpn.server-conditions.favorite-info"))}}function AX(n,i){if(1&n&&(E(0,"mat-icon",4),Y(1,"translate"),R(2,"history"),P()),2&n){var e=K();S("ngClass",En(5,xf,!e.adjustIconsForBigText,e.adjustIconsForBigText))("inline",!0)("matTooltip",U(1,3,"vpn.server-conditions.history-info"))}}function FX(n,i){if(1&n&&(E(0,"mat-icon",4),Y(1,"translate"),R(2,"lock_outlined"),P()),2&n){var e=K();S("ngClass",En(5,xf,!e.adjustIconsForBigText,e.adjustIconsForBigText))("inline",!0)("matTooltip",U(1,3,"vpn.server-conditions.has-password-info"))}}function RX(n,i){if(1&n&&(ze(0),R(1),E(2,"mat-icon",7),R(3,"fiber_manual_record"),P(),R(4),We()),2&n){var e=K();p(1),ye(" ",e.customName," "),p(1),S("inline",!0),p(2),ye(" ",e.name,"\n")}}function NX(n,i){if(1&n&&(ze(0),R(1),We()),2&n){var e=K();p(1),ge(e.customName)}}function YX(n,i){if(1&n&&(ze(0),R(1),We()),2&n){var e=K();p(1),ge(e.name)}}function HX(n,i){if(1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n){var e=K();p(1),ge(U(2,1,e.defaultName))}}var dP=function(){var n=d(function i(){c(this,i),this.isCurrentServer=!1,this.isFavorite=!1,this.isBlocked=!1,this.isInHistory=!1,this.hasPassword=!1,this.name="",this.customName="",this.pk="",this.defaultName="",this.adjustIconsForBigText=!1});return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=qe({type:n,selectors:[["app-vpn-server-name"]],inputs:{isCurrentServer:"isCurrentServer",isFavorite:"isFavorite",isBlocked:"isBlocked",isInHistory:"isInHistory",hasPassword:"hasPassword",name:"name",customName:"customName",pk:"pk",defaultName:"defaultName",adjustIconsForBigText:"adjustIconsForBigText"},decls:9,vars:9,consts:[["class","server-condition-icon",3,"ngClass","inline","matTooltip",4,"ngIf"],["class","server-condition-icon red-clear-text",3,"ngClass","inline","matTooltip",4,"ngIf"],["class","server-condition-icon yellow-clear-text",3,"ngClass","inline","matTooltip",4,"ngIf"],[4,"ngIf"],[1,"server-condition-icon",3,"ngClass","inline","matTooltip"],[1,"server-condition-icon","red-clear-text",3,"ngClass","inline","matTooltip"],[1,"server-condition-icon","yellow-clear-text",3,"ngClass","inline","matTooltip"],[1,"name-separator",3,"inline"]],template:function(e,t){1&e&&(q(0,xX,3,8,"mat-icon",0),q(1,OX,3,8,"mat-icon",1),q(2,IX,3,8,"mat-icon",2),q(3,AX,3,8,"mat-icon",0),q(4,FX,3,8,"mat-icon",0),q(5,RX,5,3,"ng-container",3),q(6,NX,2,1,"ng-container",3),q(7,YX,2,1,"ng-container",3),q(8,HX,3,3,"ng-container",3)),2&e&&(S("ngIf",t.isCurrentServer),p(1),S("ngIf",t.isBlocked),p(1),S("ngIf",t.isFavorite),p(1),S("ngIf",t.isInHistory),p(1),S("ngIf",t.hasPassword),p(1),S("ngIf",t.customName&&t.name&&(!t.pk||t.name!==t.pk)),p(1),S("ngIf",(!t.name||t.pk&&t.name===t.pk)&&t.customName),p(1),S("ngIf",t.name&&(!t.pk||t.name!==t.pk)&&!t.customName),p(1),S("ngIf",(!t.name||t.pk&&t.name===t.pk)&&!t.customName))},directives:[Et,Mn,mr,ur],pipes:[Mt],styles:[".server-condition-icon[_ngcontent-%COMP%]{font-size:14px!important;line-height:14px!important;margin-right:3px;position:relative;width:14px!important;-webkit-user-select:none;user-select:none;cursor:default}.small-text-icon[_ngcontent-%COMP%]{top:2px}.big-text-icon[_ngcontent-%COMP%]{top:0px}.name-separator[_ngcontent-%COMP%]{display:inline!important;font-size:8px!important;opacity:.5!important}"]}),n}(),fP=function(){return["vpn.title"]};function BX(n,i){if(1&n&&(E(0,"div",2)(1,"div"),Te(2,"app-top-bar",3),P(),Te(3,"app-loading-indicator"),P()),2&n){var e=K();p(2),S("titleParts",Nn(5,fP))("tabsData",e.tabsData)("selectedTabIndex",0)("showUpdateButton",!1)("localVpnKey",e.currentLocalPk)}}function VX(n,i){1&n&&Te(0,"mat-spinner",32),2&n&&S("diameter",40)}function jX(n,i){1&n&&(E(0,"mat-icon",33),R(1,"power_settings_new"),P()),2&n&&S("inline",!0)}function UX(n,i){if(1&n){var e=tt();ze(0),E(1,"div",34),Te(2,"div",35),P(),E(3,"div",36)(4,"div",37),Te(5,"app-vpn-server-name",38),P(),E(6,"div",39),Te(7,"app-copy-to-clipboard-text",40),P()(),E(8,"div",41),Te(9,"div"),P(),E(10,"div",42)(11,"mat-icon",43),Se("click",function(){return ke(e),K(3).openServerOptions()}),Y(12,"translate"),R(13,"settings"),P()(),We()}if(2&n){var t=K(3);p(2),tr("background-image: url('assets/img/big-flags/"+t.currentRemoteServer.countryCode.toLocaleLowerCase()+".png');"),S("matTooltip",t.getCountryName(t.currentRemoteServer.countryCode)),p(3),S("isFavorite",t.currentRemoteServer.flag===t.serverFlags.Favorite)("isBlocked",t.currentRemoteServer.flag===t.serverFlags.Blocked)("hasPassword",t.currentRemoteServer.usedWithPassword)("name",t.currentRemoteServer.name)("pk",t.currentRemoteServer.pk)("customName",t.currentRemoteServer.customName),p(2),S("shortSimple",!0)("text",t.currentRemoteServer.pk),p(4),S("inline",!0)("matTooltip",U(12,13,"vpn.server-options.tooltip"))}}function zX(n,i){1&n&&(ze(0),E(1,"div",44),R(2),Y(3,"translate"),P(),We()),2&n&&(p(2),ge(U(3,1,"vpn.status-page.no-server")))}var WX=function(i,e){return{custom:i,original:e}};function GX(n,i){if(1&n&&(E(0,"div",45)(1,"mat-icon",33),R(2,"info_outline"),P(),R(3),Y(4,"translate"),P()),2&n){var e=K(3);p(1),S("inline",!0),p(2),ye(" ",xt(4,2,e.getNoteVar(),En(5,WX,e.currentRemoteServer.personalNote,e.currentRemoteServer.note))," ")}}function qX(n,i){if(1&n&&(E(0,"div",46)(1,"mat-icon",33),R(2,"cancel"),P(),R(3),Y(4,"translate"),P()),2&n){var e=K(3);p(1),S("inline",!0),p(2),xi(" ",U(4,3,"vpn.status-page.last-error")," ",e.backendState.vpnClientAppData.lastErrorMsg," ")}}var hP=function(i){return{"disabled-button":i}};function KX(n,i){if(1&n){var e=tt();E(0,"div",22)(1,"div",11)(2,"div",13),R(3),Y(4,"translate"),P(),E(5,"div")(6,"div",23),Se("click",function(){return ke(e),K(2).start()}),E(7,"div",24),Te(8,"div",25),P(),E(9,"div",24),Te(10,"div",26),P(),q(11,VX,1,1,"mat-spinner",27),q(12,jX,2,1,"mat-icon",28),P()(),E(13,"div",29),q(14,UX,14,15,"ng-container",18),q(15,zX,4,3,"ng-container",18),P(),E(16,"div"),q(17,GX,5,8,"div",30),P(),E(18,"div"),q(19,qX,5,5,"div",31),P()()()}if(2&n){var t=K(2);p(3),ge(U(4,8,"vpn.status-page.start-title")),p(3),S("ngClass",Qe(10,hP,t.showBusy)),p(5),S("ngIf",t.showBusy),p(1),S("ngIf",!t.showBusy),p(2),S("ngIf",t.currentRemoteServer),p(1),S("ngIf",!t.currentRemoteServer),p(2),S("ngIf",t.currentRemoteServer&&(t.currentRemoteServer.note||t.currentRemoteServer.personalNote)),p(2),S("ngIf",t.backendState&&t.backendState.vpnClientAppData&&t.backendState.vpnClientAppData.lastErrorMsg)}}function $X(n,i){if(1&n&&(E(0,"div",77)(1,"mat-icon",33),R(2,"cancel"),P(),R(3),Y(4,"translate"),P()),2&n){var e=K(3);p(1),S("inline",!0),p(2),xi(" ",U(4,3,"vpn.status-page.last-error")," ",e.backendState.vpnClientAppData.connectionData.error," ")}}function ZX(n,i){1&n&&(E(0,"div"),Te(1,"mat-spinner",32),P()),2&n&&(p(1),S("diameter",24))}function QX(n,i){1&n&&(E(0,"mat-icon",33),R(1,"power_settings_new"),P()),2&n&&S("inline",!0)}var Cc=function(i){return{showValue:!0,showUnit:!0,showPerSecond:!0,limitDecimals:!0,useBits:i}},pP=function(i){return{showValue:!0,showUnit:!0,showPerSecond:!0,useBits:i}},vP=function(i){return{showValue:!0,showUnit:!0,useBits:i}},Av=function(i){return{time:i}};function JX(n,i){if(1&n){var e=tt();E(0,"div",47)(1,"div",11)(2,"div",48)(3,"div",49)(4,"mat-icon",33),R(5,"timer"),P(),E(6,"span"),R(7),P()()(),E(8,"div",50),R(9),Y(10,"translate"),P(),E(11,"div",51)(12,"div",52),R(13),Y(14,"translate"),P(),Te(15,"div"),P(),E(16,"div",53),R(17),Y(18,"translate"),P(),q(19,$X,5,5,"div",54),E(20,"div",55)(21,"div",56),Y(22,"translate"),E(23,"div",57),Te(24,"app-line-chart",58),P(),E(25,"div",59)(26,"div",60)(27,"div",61),R(28),Y(29,"autoScale"),P(),Te(30,"div",62),P()(),E(31,"div",59)(32,"div",63)(33,"div",61),R(34),Y(35,"autoScale"),P(),Te(36,"div",62),P()(),E(37,"div",59)(38,"div",64)(39,"div",61),R(40),Y(41,"autoScale"),P()()(),E(42,"div",65)(43,"mat-icon",66),R(44,"keyboard_backspace"),P(),E(45,"div",67),R(46),Y(47,"autoScale"),P(),E(48,"div",68),R(49),Y(50,"autoScale"),Y(51,"translate"),P()()(),E(52,"div",56),Y(53,"translate"),E(54,"div",57),Te(55,"app-line-chart",58),P(),E(56,"div",69)(57,"div",60)(58,"div",61),R(59),Y(60,"autoScale"),P(),Te(61,"div",62),P()(),E(62,"div",59)(63,"div",63)(64,"div",61),R(65),Y(66,"autoScale"),P(),Te(67,"div",62),P()(),E(68,"div",59)(69,"div",64)(70,"div",61),R(71),Y(72,"autoScale"),P()()(),E(73,"div",65)(74,"mat-icon",70),R(75,"keyboard_backspace"),P(),E(76,"div",67),R(77),Y(78,"autoScale"),P(),E(79,"div",68),R(80),Y(81,"autoScale"),Y(82,"translate"),P()()()(),E(83,"div",71)(84,"div",72),Y(85,"translate"),E(86,"div",57),Te(87,"app-line-chart",73),P(),E(88,"div",69)(89,"div",60)(90,"div",61),R(91),Y(92,"translate"),P(),Te(93,"div",62),P()(),E(94,"div",59)(95,"div",63)(96,"div",61),R(97),Y(98,"translate"),P(),Te(99,"div",62),P()(),E(100,"div",59)(101,"div",64)(102,"div",61),R(103),Y(104,"translate"),P()()(),E(105,"div",65)(106,"mat-icon",33),R(107,"swap_horiz"),P(),E(108,"div"),R(109),Y(110,"translate"),P()()()(),E(111,"div",74),Se("click",function(){return ke(e),K(2).stop()}),E(112,"div",75)(113,"div",76),q(114,ZX,2,1,"div",18),q(115,QX,2,1,"mat-icon",28),E(116,"span"),R(117),Y(118,"translate"),P()()()()()()}if(2&n){var t=K(2);p(4),S("inline",!0),p(3),ge(t.connectionTimeString),p(2),ge(U(10,58,"vpn.connection-info.state-title")),p(4),ge(U(14,60,t.currentStateText)),p(2),ua("state-line "+t.currentStateLineClass),p(2),ge(U(18,62,t.currentStateText+"-info")),p(2),S("ngIf",t.backendState&&t.backendState.vpnClientAppData&&t.backendState.vpnClientAppData.connectionData&&t.backendState.vpnClientAppData.connectionData.error),p(2),S("matTooltip",U(22,64,"vpn.status-page.upload-info")),p(3),S("animated",!1)("data",t.sentHistory)("min",t.minUploadInGraph)("max",t.maxUploadInGraph),p(4),ye(" ",xt(29,66,t.maxUploadInGraph,Qe(118,Cc,t.showSpeedsInBits))," "),p(2),tr("margin-top: "+t.graphsTopInternalMargin+"px;"),p(4),ye(" ",xt(35,69,t.midUploadInGraph,Qe(120,Cc,t.showSpeedsInBits))," "),p(2),tr("margin-top: "+t.graphsTopInternalMargin/2+"px;"),p(4),ye(" ",xt(41,72,t.minUploadInGraph,Qe(122,Cc,t.showSpeedsInBits))," "),p(3),S("inline",!0),p(3),ge(xt(47,75,t.uploadSpeed,Qe(124,pP,t.showSpeedsInBits))),p(3),xi(" ",xt(50,78,t.totalUploaded,Qe(126,vP,t.showTotalsInBits))," ",U(51,81,"vpn.status-page.total-data-label")," "),p(3),S("matTooltip",U(53,83,"vpn.status-page.download-info")),p(3),S("animated",!1)("data",t.receivedHistory)("min",t.minDownloadInGraph)("max",t.maxDownloadInGraph),p(4),ye(" ",xt(60,85,t.maxDownloadInGraph,Qe(128,Cc,t.showSpeedsInBits))," "),p(2),tr("margin-top: "+t.graphsTopInternalMargin+"px;"),p(4),ye(" ",xt(66,88,t.midDownloadInGraph,Qe(130,Cc,t.showSpeedsInBits))," "),p(2),tr("margin-top: "+t.graphsTopInternalMargin/2+"px;"),p(4),ye(" ",xt(72,91,t.minDownloadInGraph,Qe(132,Cc,t.showSpeedsInBits))," "),p(3),S("inline",!0),p(3),ge(xt(78,94,t.downloadSpeed,Qe(134,pP,t.showSpeedsInBits))),p(3),xi(" ",xt(81,97,t.totalDownloaded,Qe(136,vP,t.showTotalsInBits))," ",U(82,100,"vpn.status-page.total-data-label")," "),p(4),S("matTooltip",U(85,102,"vpn.status-page.latency-info")),p(3),S("animated",!1)("data",t.latencyHistory)("min",t.minLatencyInGraph)("max",t.maxLatencyInGraph),p(4),ye(" ",xt(92,104,"common."+t.getLatencyValueString(t.maxLatencyInGraph),Qe(138,Av,t.getPrintableLatency(t.maxLatencyInGraph)))," "),p(2),tr("margin-top: "+t.graphsTopInternalMargin+"px;"),p(4),ye(" ",xt(98,107,"common."+t.getLatencyValueString(t.midLatencyInGraph),Qe(140,Av,t.getPrintableLatency(t.midLatencyInGraph)))," "),p(2),tr("margin-top: "+t.graphsTopInternalMargin/2+"px;"),p(4),ye(" ",xt(104,110,"common."+t.getLatencyValueString(t.minLatencyInGraph),Qe(142,Av,t.getPrintableLatency(t.minLatencyInGraph)))," "),p(3),S("inline",!0),p(3),ge(xt(110,113,"common."+t.getLatencyValueString(t.latency),Qe(144,Av,t.getPrintableLatency(t.latency)))),p(2),S("ngClass",Qe(146,hP,t.showBusy)),p(3),S("ngIf",t.showBusy),p(1),S("ngIf",!t.showBusy),p(2),ge(U(118,116,"vpn.status-page.disconnect"))}}function XX(n,i){if(1&n&&(ze(0),R(1),We()),2&n){var e=K(3);p(1),ge(e.currentIp)}}function eee(n,i){1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n&&(p(1),ge(U(2,1,"common.unknown")))}function tee(n,i){1&n&&Te(0,"mat-spinner",32),2&n&&S("diameter",20)}function nee(n,i){1&n&&(E(0,"mat-icon",81),Y(1,"translate"),R(2,"warning"),P()),2&n&&S("inline",!0)("matTooltip",U(1,2,"vpn.status-page.data.ip-problem-info"))}function ree(n,i){if(1&n){var e=tt();E(0,"mat-icon",82),Se("click",function(){return ke(e),K(3).getIp()}),Y(1,"translate"),R(2,"refresh"),P()}2&n&&S("inline",!0)("matTooltip",U(1,2,"vpn.status-page.data.ip-refresh-info"))}function iee(n,i){if(1&n&&(E(0,"div",78),q(1,XX,2,1,"ng-container",18),q(2,eee,3,3,"ng-container",18),q(3,tee,1,1,"mat-spinner",27),q(4,nee,3,4,"mat-icon",79),q(5,ree,3,4,"mat-icon",80),P()),2&n){var e=K(2);p(1),S("ngIf",e.currentIp),p(1),S("ngIf",!e.currentIp&&!e.loadingCurrentIp),p(1),S("ngIf",e.loadingCurrentIp),p(1),S("ngIf",e.problemGettingIp),p(1),S("ngIf",!e.loadingCurrentIp)}}function aee(n,i){1&n&&(E(0,"div",78),R(1),Y(2,"translate"),P()),2&n&&(p(1),ye(" ",U(2,1,"vpn.status-page.data.unavailable")," "))}function oee(n,i){if(1&n&&(ze(0),R(1),We()),2&n){var e=K(3);p(1),ge(e.ipCountry)}}function see(n,i){1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n&&(p(1),ge(U(2,1,"common.unknown")))}function lee(n,i){1&n&&Te(0,"mat-spinner",32),2&n&&S("diameter",20)}function uee(n,i){1&n&&(E(0,"mat-icon",81),Y(1,"translate"),R(2,"warning"),P()),2&n&&S("inline",!0)("matTooltip",U(1,2,"vpn.status-page.data.ip-country-problem-info"))}function cee(n,i){if(1&n&&(E(0,"div",78),q(1,oee,2,1,"ng-container",18),q(2,see,3,3,"ng-container",18),q(3,lee,1,1,"mat-spinner",27),q(4,uee,3,4,"mat-icon",79),P()),2&n){var e=K(2);p(1),S("ngIf",e.ipCountry),p(1),S("ngIf",!e.ipCountry&&!e.loadingCurrentIp),p(1),S("ngIf",e.loadingCurrentIp),p(1),S("ngIf",e.problemGettingIp)}}function dee(n,i){1&n&&(E(0,"div",78),R(1),Y(2,"translate"),P()),2&n&&(p(1),ye(" ",U(2,1,"vpn.status-page.data.unavailable")," "))}function fee(n,i){if(1&n){var e=tt();E(0,"div")(1,"div",13),R(2),Y(3,"translate"),P(),E(4,"div",78),Te(5,"app-vpn-server-name",83),E(6,"mat-icon",82),Se("click",function(){return ke(e),K(2).openServerOptions()}),Y(7,"translate"),R(8,"settings"),P()()()}if(2&n){var t=K(2);p(2),ge(U(3,10,"vpn.status-page.data.server")),p(3),S("isFavorite",t.currentRemoteServer.flag===t.serverFlags.Favorite)("isBlocked",t.currentRemoteServer.flag===t.serverFlags.Blocked)("hasPassword",t.currentRemoteServer.usedWithPassword)("adjustIconsForBigText",!0)("name",t.currentRemoteServer.name)("pk",t.currentRemoteServer.pk)("customName",t.currentRemoteServer.customName),p(1),S("inline",!0)("matTooltip",U(7,12,"vpn.server-options.tooltip"))}}function hee(n,i){1&n&&Te(0,"div",15)}function pee(n,i){if(1&n&&(E(0,"div")(1,"div",13),R(2),Y(3,"translate"),P(),E(4,"div",20),R(5),P()()),2&n){var e=K(2);p(2),ge(U(3,2,"vpn.status-page.data.server-note")),p(3),ye(" ",e.currentRemoteServer.personalNote," ")}}function vee(n,i){1&n&&Te(0,"div",15)}function mee(n,i){if(1&n&&(E(0,"div")(1,"div",13),R(2),Y(3,"translate"),P(),E(4,"div",20),R(5),P()()),2&n){var e=K(2);p(2),ge(U(3,2,"vpn.status-page.data."+(e.currentRemoteServer.personalNote?"original-":"")+"server-note")),p(3),ye(" ",e.currentRemoteServer.note," ")}}function gee(n,i){1&n&&Te(0,"div",15)}function _ee(n,i){if(1&n&&(E(0,"div")(1,"div",13),R(2),Y(3,"translate"),P(),E(4,"div",20),Te(5,"app-copy-to-clipboard-text",21),P()()),2&n){var e=K(2);p(2),ge(U(3,2,"vpn.status-page.data.remote-pk")),p(3),S("text",e.currentRemoteServer.pk)}}function yee(n,i){1&n&&Te(0,"div",15)}function bee(n,i){if(1&n&&(E(0,"div",4)(1,"div",5)(2,"div",6),Te(3,"app-top-bar",3),P()(),E(4,"div",7),q(5,KX,20,12,"div",8),q(6,JX,119,148,"div",9),E(7,"div",10)(8,"div",11)(9,"div",12)(10,"div")(11,"div",13),R(12),Y(13,"translate"),P(),q(14,iee,6,5,"div",14),q(15,aee,3,3,"div",14),P(),Te(16,"div",15),E(17,"div")(18,"div",13),R(19),Y(20,"translate"),P(),q(21,cee,5,4,"div",14),q(22,dee,3,3,"div",14),P(),Te(23,"div",16)(24,"div",17)(25,"div",16),q(26,fee,9,14,"div",18),q(27,hee,1,0,"div",19),q(28,pee,6,4,"div",18),q(29,vee,1,0,"div",19),q(30,mee,6,4,"div",18),q(31,gee,1,0,"div",19),q(32,_ee,6,4,"div",18),q(33,yee,1,0,"div",19),E(34,"div")(35,"div",13),R(36),Y(37,"translate"),P(),E(38,"div",20),Te(39,"app-copy-to-clipboard-text",21),P()()()()()()()),2&n){var e=K();p(3),S("titleParts",Nn(29,fP))("tabsData",e.tabsData)("selectedTabIndex",0)("showUpdateButton",!1)("localVpnKey",e.currentLocalPk),p(2),S("ngIf",!e.showStarted),p(1),S("ngIf",e.showStarted),p(6),ge(U(13,23,"vpn.status-page.data.ip")),p(2),S("ngIf",e.ipInfoAllowed),p(1),S("ngIf",!e.ipInfoAllowed),p(4),ge(U(20,25,"vpn.status-page.data.country")),p(2),S("ngIf",e.ipInfoAllowed),p(1),S("ngIf",!e.ipInfoAllowed),p(4),S("ngIf",e.showStarted&&e.currentRemoteServer),p(1),S("ngIf",e.showStarted&&e.currentRemoteServer),p(1),S("ngIf",e.showStarted&&e.currentRemoteServer&&e.currentRemoteServer.personalNote),p(1),S("ngIf",e.showStarted&&e.currentRemoteServer&&e.currentRemoteServer.personalNote),p(1),S("ngIf",e.showStarted&&e.currentRemoteServer&&e.currentRemoteServer.note),p(1),S("ngIf",e.showStarted&&e.currentRemoteServer&&e.currentRemoteServer.note),p(1),S("ngIf",e.showStarted&&e.currentRemoteServer),p(1),S("ngIf",e.showStarted&&e.currentRemoteServer),p(3),ge(U(37,27,"vpn.status-page.data.local-pk")),p(3),S("text",e.currentLocalPk)}}var kee=function(){var n=function(){function i(e,t,a,o,s,l,u){c(this,i),this.vpnClientService=e,this.vpnSavedDataService=t,this.snackbarService=a,this.translateService=o,this.route=s,this.dialog=l,this.router=u,this.tabsData=Gr.vpnTabsData,this.sentHistory=[0,0,0,0,0,0,0,0,0,0],this.receivedHistory=[0,0,0,0,0,0,0,0,0,0],this.latencyHistory=[0,0,0,0,0,0,0,0,0,0],this.minUploadInGraph=0,this.midUploadInGraph=0,this.maxUploadInGraph=0,this.minDownloadInGraph=0,this.midDownloadInGraph=0,this.maxDownloadInGraph=0,this.minLatencyInGraph=0,this.midLatencyInGraph=0,this.maxLatencyInGraph=0,this.graphsTopInternalMargin=Xb.topInternalMargin,this.connectionTimeString="00:00:00",this.calculatedSegs=-1,this.uploadSpeed=0,this.downloadSpeed=0,this.totalUploaded=0,this.totalDownloaded=0,this.latency=0,this.showSpeedsInBits=!0,this.showTotalsInBits=!1,this.loading=!0,this.showStartedLastValue=!1,this.showStarted=!1,this.lastAppState=null,this.showBusy=!1,this.stopRequested=!1,this.loadingCurrentIp=!0,this.problemGettingIp=!1,this.lastIpRefresDate=0,this.serverFlags=Hn,this.ipInfoAllowed=this.vpnSavedDataService.getCheckIpSetting();var f=this.vpnSavedDataService.getDataUnitsSetting();f===Xi.OnlyBits?(this.showSpeedsInBits=!0,this.showTotalsInBits=!0):f===Xi.OnlyBytes?(this.showSpeedsInBits=!1,this.showTotalsInBits=!1):(this.showSpeedsInBits=!0,this.showTotalsInBits=!1)}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.navigationsSubscription=this.route.paramMap.subscribe(function(a){a.has("key")&&(t.currentLocalPk=a.get("key"),Gr.changeCurrentPk(t.currentLocalPk),t.tabsData=Gr.vpnTabsData),setTimeout(function(){return t.navigationsSubscription.unsubscribe()}),t.dataSubscription=t.vpnClientService.backendState.subscribe(function(o){if(o&&o.serviceState!==Wr.PerformingInitialCheck){var s=!t.backendState;if(t.backendState=o,(s||t.lastAppState===pn.Running&&o.vpnClientAppData.appState!==pn.Running||t.lastAppState!==pn.Running&&o.vpnClientAppData.appState===pn.Running)&&t.getIp(!0),t.showStarted=o.vpnClientAppData.running||o.vpnClientAppData.appState!==pn.Stopped,t.showStartedLastValue!==t.showStarted){for(var l=0;l<10;l++)t.receivedHistory[l]=0,t.sentHistory[l]=0,t.latencyHistory[l]=0;t.updateGraphLimits(),t.uploadSpeed=0,t.downloadSpeed=0,t.totalUploaded=0,t.totalDownloaded=0,t.latency=0}if(t.lastAppState=o.vpnClientAppData.appState,t.showStartedLastValue=t.showStarted,t.stopRequested?t.showStarted||(t.stopRequested=!1,t.showBusy=o.busy):t.showBusy=o.busy,o.vpnClientAppData.connectionData){for(var u=0;u<10;u++)t.receivedHistory[u]=o.vpnClientAppData.connectionData.downloadSpeedHistory[u],t.sentHistory[u]=o.vpnClientAppData.connectionData.uploadSpeedHistory[u],t.latencyHistory[u]=o.vpnClientAppData.connectionData.latencyHistory[u];t.updateGraphLimits(),t.uploadSpeed=o.vpnClientAppData.connectionData.uploadSpeed,t.downloadSpeed=o.vpnClientAppData.connectionData.downloadSpeed,t.totalUploaded=o.vpnClientAppData.connectionData.totalUploaded,t.totalDownloaded=o.vpnClientAppData.connectionData.totalDownloaded,t.latency=o.vpnClientAppData.connectionData.latency}o.vpnClientAppData.running&&o.vpnClientAppData.appState===pn.Running&&o.vpnClientAppData.connectionData&&o.vpnClientAppData.connectionData.connectionDuration?(-1===t.calculatedSegs||o.vpnClientAppData.connectionData.connectionDuration>t.calculatedSegs+2||o.vpnClientAppData.connectionData.connectionDurationo&&(o=l)}),0===o&&(o+=1),[0,new(Ev())(o).minus(0).dividedBy(2).plus(0).decimalPlaces(1).toNumber(),o]}},{key:"getIp",value:function(){var t=this,a=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.ipInfoAllowed){if(!a){if(this.loadingCurrentIp)return void this.snackbarService.showWarning("vpn.status-page.data.ip-refresh-loading-warning");var o=1e4;if(Date.now()-this.lastIpRefresDate0||Q===te?te:te-1}function G(Q){for(var te,ae,le=1,X=Q.length,De=Q[0]+"";leKe^ae?1:-1;for(Fe=(He=X.length)<(Ke=De.length)?He:Ke,xe=0;xeDe[xe]^ae?1:-1;return He==Ke?0:He>Ke^ae?1:-1}function ce(Q,te,ae,le){if(Qae||Q!==(Q<0?d(Q):c(Q)))throw Error(_+(le||"Argument")+("number"==typeof Q?Qae?" out of range: ":" not an integer: ":" not a primitive number: ")+Q)}function ne(Q){return"[object Array]"==Object.prototype.toString.call(Q)}function Z(Q){var te=Q.c.length-1;return W(Q.e/w)==te&&Q.c[te]%2!=0}function ue(Q,te){return(Q.length>1?Q.charAt(0)+"."+Q.slice(1):Q)+(te<0?"e":"e+")+te}function ee(Q,te,ae){var le,X;if(te<0){for(X=ae+".";++te;X+=ae);Q=X+Q}else if(++te>(le=Q.length)){for(X=ae,te-=le;--te;X+=ae);Q+=X}else te=10;Me/=10,fe++);return Ie.e=fe,void(Ie.c=[j])}Pe=j+""}else{if(!v.test(Pe=j+""))return le(Ie,Pe,_e);Ie.s=45==Pe.charCodeAt(0)?(Pe=Pe.slice(1),-1):1}(fe=Pe.indexOf("."))>-1&&(Pe=Pe.replace(".","")),(Me=Pe.search(/e/i))>0?(fe<0&&(fe=Me),fe+=+Pe.slice(Me+1),Pe=Pe.substring(0,Me)):fe<0&&(fe=Pe.length)}else{if(ce(re,2,vn.length,"Base"),Pe=j+"",10==re)return Bn(Ie=new Ve(j instanceof Ve?j:Pe),xe+Ie.e+1,Fe);if(_e="number"==typeof j){if(0*j!=0)return le(Ie,Pe,_e,re);if(Ie.s=1/j<0?(Pe=Pe.slice(1),-1):1,Ve.DEBUG&&Pe.replace(/^0\.0*|\./,"").length>15)throw Error(h+j);_e=!1}else Ie.s=45===Pe.charCodeAt(0)?(Pe=Pe.slice(1),-1):1;for(se=vn.slice(0,re),fe=Me=0,we=Pe.length;Mefe){fe=we;continue}}else if(!he&&(Pe==Pe.toUpperCase()&&(Pe=Pe.toLowerCase())||Pe==Pe.toLowerCase()&&(Pe=Pe.toUpperCase()))){he=!0,Me=-1,fe=0;continue}return le(Ie,j+"",_e,re)}(fe=(Pe=ae(Pe,re,10,Ie.s)).indexOf("."))>-1?Pe=Pe.replace(".",""):fe=Pe.length}for(Me=0;48===Pe.charCodeAt(Me);Me++);for(we=Pe.length;48===Pe.charCodeAt(--we););if(Pe=Pe.slice(Me,++we)){if(we-=Me,_e&&Ve.DEBUG&&we>15&&(j>x||j!==c(j)))throw Error(h+Ie.s*j);if((fe=fe-Me-1)>Ne)Ie.c=Ie.e=null;else if(fe_e){if(--re>0)for(we+=".";re--;we+="0");}else if((re+=fe-_e)>0)for(fe+1==_e&&(we+=".");re--;we+="0");return j.s<0&&he?"-"+we:we}function St(j,re){var se,de,he=0;for(ne(j[0])&&(j=j[0]),se=new Ve(j[0]);++he=10;he/=10,de++);return(se=de+se*w-1)>Ne?j.c=j.e=null:se=10;_e/=10,he++);if((fe=re-he)<0)fe+=w,Ie=(we=Ae[Pe=0])/ct[he-(Me=re)-1]%10|0;else if((Pe=d((fe+1)/w))>=Ae.length){if(!de)break e;for(;Ae.length<=Pe;Ae.push(0));we=Ie=0,he=1,Me=(fe%=w)-w+1}else{for(we=_e=Ae[Pe],he=1;_e>=10;_e/=10,he++);Ie=(Me=(fe%=w)-w+he)<0?0:we/ct[he-Me-1]%10|0}if(de=de||re<0||null!=Ae[Pe+1]||(Me<0?we:we%ct[he-Me-1]),de=se<4?(Ie||de)&&(0==se||se==(j.s<0?3:2)):Ie>5||5==Ie&&(4==se||de||6==se&&(fe>0?Me>0?we/ct[he-Me]:0:Ae[Pe-1])%10&1||se==(j.s<0?8:7)),re<1||!Ae[0])return Ae.length=0,de?(Ae[0]=ct[(w-(re-=j.e+1)%w)%w],j.e=-re||0):Ae[0]=j.e=0,j;if(0==fe?(Ae.length=Pe,_e=1,Pe--):(Ae.length=Pe+1,_e=ct[w-fe],Ae[Pe]=Me>0?c(we/ct[he-Me]%ct[Me])*_e:0),de)for(;;){if(0==Pe){for(fe=1,Me=Ae[0];Me>=10;Me/=10,fe++);for(Me=Ae[0]+=_e,_e=1;Me>=10;Me/=10,_e++);fe!=_e&&(j.e++,Ae[0]==L&&(Ae[0]=1));break}if(Ae[Pe]+=_e,Ae[Pe]!=L)break;Ae[Pe--]=0,_e=1}for(fe=Ae.length;0===Ae[--fe];Ae.pop());}j.e>Ne?j.c=j.e=null:j.e>>11))>=9e15?(he=crypto.getRandomValues(new Uint32Array(2)),de[we]=he[0],de[we+1]=he[1]):(Pe.push(_e%1e14),we+=2);we=Me/2}else{if(!crypto.randomBytes)throw at=!1,Error(_+"crypto unavailable");for(de=crypto.randomBytes(Me*=7);we=9e15?crypto.randomBytes(7).copy(de,we):(Pe.push(_e%1e14),we+=7);we=Me/7}if(!at)for(;we=10;_e/=10,we++);wehe-1&&(null==_e[Me+1]&&(_e[Me+1]=0),_e[Me+1]+=_e[Me]/he|0,_e[Me]%=he)}return _e.reverse()}return function(se,de,he,fe,Me){var _e,we,Pe,Ie,Ae,ct,ht,nt,mn=se.indexOf("."),An=xe,Ft=Fe;for(mn>=0&&(Ie=jt,jt=0,se=se.replace(".",""),ct=(nt=new Ve(de)).pow(se.length-mn),jt=Ie,nt.c=re(ee(G(ct.c),ct.e,"0"),10,he,j),nt.e=nt.c.length),Pe=Ie=(ht=re(se,de,he,Me?(_e=vn,j):(_e=j,vn))).length;0==ht[--Ie];ht.pop());if(!ht[0])return _e.charAt(0);if(mn<0?--Pe:(ct.c=ht,ct.e=Pe,ct.s=fe,ht=(ct=te(ct,nt,An,Ft,he)).c,Ae=ct.r,Pe=ct.e),mn=ht[we=Pe+An+1],Ie=he/2,Ae=Ae||we<0||null!=ht[we+1],Ae=Ft<4?(null!=mn||Ae)&&(0==Ft||Ft==(ct.s<0?3:2)):mn>Ie||mn==Ie&&(4==Ft||Ae||6==Ft&&1&ht[we-1]||Ft==(ct.s<0?8:7)),we<1||!ht[0])se=Ae?ee(_e.charAt(1),-An,_e.charAt(0)):_e.charAt(0);else{if(ht.length=we,Ae)for(--he;++ht[--we]>he;)ht[we]=0,we||(++Pe,ht=[1].concat(ht));for(Ie=ht.length;!ht[--Ie];);for(mn=0,se="";mn<=Ie;se+=_e.charAt(ht[mn++]));se=ee(se,Pe,_e.charAt(0))}return se}}(),te=function(){function j(de,he,fe){var Me,_e,we,Pe,Ie=0,Ae=de.length,ct=he%y,ht=he/y|0;for(de=de.slice();Ae--;)Ie=((_e=ct*(we=de[Ae]%y)+(Me=ht*we+(Pe=de[Ae]/y|0)*ct)%y*y+Ie)/fe|0)+(Me/y|0)+ht*Pe,de[Ae]=_e%fe;return Ie&&(de=[Ie].concat(de)),de}function re(de,he,fe,Me){var _e,we;if(fe!=Me)we=fe>Me?1:-1;else for(_e=we=0;_ehe[_e]?1:-1;break}return we}function se(de,he,fe,Me){for(var _e=0;fe--;)de[fe]-=_e,de[fe]=(_e=de[fe]1;de.splice(0,1));}return function(de,he,fe,Me,_e){var we,Pe,Ie,Ae,ct,ht,nt,mn,An,Ft,zt,Kn,Vn,ga,Vi,kr,Gt,Fn=de.s==he.s?1:-1,gn=de.c,$e=he.c;if(!(gn&&gn[0]&&$e&&$e[0]))return new Ve(de.s&&he.s&&(gn?!$e||gn[0]!=$e[0]:$e)?gn&&0==gn[0]||!$e?0*Fn:Fn/0:NaN);for(An=(mn=new Ve(Fn)).c=[],Fn=fe+(Pe=de.e-he.e)+1,_e||(_e=L,Pe=W(de.e/w)-W(he.e/w),Fn=Fn/w|0),Ie=0;$e[Ie]==(gn[Ie]||0);Ie++);if($e[Ie]>(gn[Ie]||0)&&Pe--,Fn<0)An.push(1),Ae=!0;else{for(ga=gn.length,kr=$e.length,Ie=0,Fn+=2,(ct=c(_e/($e[0]+1)))>1&&($e=j($e,ct,_e),gn=j(gn,ct,_e),kr=$e.length,ga=gn.length),Vn=kr,zt=(Ft=gn.slice(0,kr)).length;zt=_e/2&&Vi++;do{if(ct=0,(we=re($e,Ft,kr,zt))<0){if(Kn=Ft[0],kr!=zt&&(Kn=Kn*_e+(Ft[1]||0)),(ct=c(Kn/Vi))>1)for(ct>=_e&&(ct=_e-1),nt=(ht=j($e,ct,_e)).length,zt=Ft.length;1==re(ht,Ft,nt,zt);)ct--,se(ht,kr=10;Fn/=10,Ie++);Bn(mn,fe+(mn.e=Ie+Pe*w-1)+1,Me,Ae)}else mn.e=Pe,mn.r=+Ae;return mn}}(),le=function(){var j=/^(-?)0([xbo])(?=\w[\w.]*$)/i,re=/^([^.]+)\.$/,se=/^\.([^.]+)$/,de=/^-?(Infinity|NaN)$/,he=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(fe,Me,_e,we){var Pe,Ie=_e?Me:Me.replace(he,"");if(de.test(Ie))fe.s=isNaN(Ie)?null:Ie<0?-1:1,fe.c=fe.e=null;else{if(!_e&&(Ie=Ie.replace(j,function(Ae,ct,ht){return Pe="x"==(ht=ht.toLowerCase())?16:"b"==ht?2:8,we&&we!=Pe?Ae:ct}),we&&(Pe=we,Ie=Ie.replace(re,"$1").replace(se,"0.$1")),Me!=Ie))return new Ve(Ie,Pe);if(Ve.DEBUG)throw Error(_+"Not a"+(we?" base "+we:"")+" number: "+Me);fe.c=fe.e=fe.s=null}}}(),X.absoluteValue=X.abs=function(){var j=new Ve(this);return j.s<0&&(j.s=1),j},X.comparedTo=function(j,re){return ie(this,new Ve(j,re))},X.decimalPlaces=X.dp=function(j,re){var se,de,he;if(null!=j)return ce(j,0,F),null==re?re=Fe:ce(re,0,8),Bn(new Ve(this),j+this.e+1,re);if(!(se=this.c))return null;if(de=((he=se.length-1)-W(this.e/w))*w,he=se[he])for(;he%10==0;he/=10,de--);return de<0&&(de=0),de},X.dividedBy=X.div=function(j,re){return te(this,new Ve(j,re),xe,Fe)},X.dividedToIntegerBy=X.idiv=function(j,re){return te(this,new Ve(j,re),0,1)},X.exponentiatedBy=X.pow=function(j,re){var se,de,he,Me,_e,we,Pe,Ie=this;if((j=new Ve(j)).c&&!j.isInteger())throw Error(_+"Exponent not an integer: "+j);if(null!=re&&(re=new Ve(re)),Me=j.e>14,!Ie.c||!Ie.c[0]||1==Ie.c[0]&&!Ie.e&&1==Ie.c.length||!j.c||!j.c[0])return Pe=new Ve(Math.pow(+Ie.valueOf(),Me?2-Z(j):+j)),re?Pe.mod(re):Pe;if(_e=j.s<0,re){if(re.c?!re.c[0]:!re.s)return new Ve(NaN);(de=!_e&&Ie.isInteger()&&re.isInteger())&&(Ie=Ie.mod(re))}else{if(j.e>9&&(Ie.e>0||Ie.e<-1||(0==Ie.e?Ie.c[0]>1||Me&&Ie.c[1]>=24e7:Ie.c[0]<8e13||Me&&Ie.c[0]<=9999975e7)))return he=Ie.s<0&&Z(j)?-0:0,Ie.e>-1&&(he=1/he),new Ve(_e?1/he:he);jt&&(he=d(jt/w+2))}for(Me?(se=new Ve(.5),we=Z(j)):we=j%2,_e&&(j.s=1),Pe=new Ve(De);;){if(we){if(!(Pe=Pe.times(Ie)).c)break;he?Pe.c.length>he&&(Pe.c.length=he):de&&(Pe=Pe.mod(re))}if(Me){if(Bn(j=j.times(se),j.e+1,1),!j.c[0])break;Me=j.e>14,we=Z(j)}else{if(!(j=c(j/2)))break;we=j%2}Ie=Ie.times(Ie),he?Ie.c&&Ie.c.length>he&&(Ie.c.length=he):de&&(Ie=Ie.mod(re))}return de?Pe:(_e&&(Pe=De.div(Pe)),re?Pe.mod(re):he?Bn(Pe,jt,Fe,void 0):Pe)},X.integerValue=function(j){var re=new Ve(this);return null==j?j=Fe:ce(j,0,8),Bn(re,re.e+1,j)},X.isEqualTo=X.eq=function(j,re){return 0===ie(this,new Ve(j,re))},X.isFinite=function(){return!!this.c},X.isGreaterThan=X.gt=function(j,re){return ie(this,new Ve(j,re))>0},X.isGreaterThanOrEqualTo=X.gte=function(j,re){return 1===(re=ie(this,new Ve(j,re)))||0===re},X.isInteger=function(){return!!this.c&&W(this.e/w)>this.c.length-2},X.isLessThan=X.lt=function(j,re){return ie(this,new Ve(j,re))<0},X.isLessThanOrEqualTo=X.lte=function(j,re){return-1===(re=ie(this,new Ve(j,re)))||0===re},X.isNaN=function(){return!this.s},X.isNegative=function(){return this.s<0},X.isPositive=function(){return this.s>0},X.isZero=function(){return!!this.c&&0==this.c[0]},X.minus=function(j,re){var se,de,he,fe,Me=this,_e=Me.s;if(re=(j=new Ve(j,re)).s,!_e||!re)return new Ve(NaN);if(_e!=re)return j.s=-re,Me.plus(j);var we=Me.e/w,Pe=j.e/w,Ie=Me.c,Ae=j.c;if(!we||!Pe){if(!Ie||!Ae)return Ie?(j.s=-re,j):new Ve(Ae?Me:NaN);if(!Ie[0]||!Ae[0])return Ae[0]?(j.s=-re,j):new Ve(Ie[0]?Me:3==Fe?-0:0)}if(we=W(we),Pe=W(Pe),Ie=Ie.slice(),_e=we-Pe){for((fe=_e<0)?(_e=-_e,he=Ie):(Pe=we,he=Ae),he.reverse(),re=_e;re--;he.push(0));he.reverse()}else for(de=(fe=(_e=Ie.length)<(re=Ae.length))?_e:re,_e=re=0;re0)for(;re--;Ie[se++]=0);for(re=L-1;de>_e;){if(Ie[--de]=0;){for(se=0,ct=Kn[he]%An,ht=Kn[he]/An|0,fe=he+(Me=we);fe>he;)se=((Pe=ct*(Pe=zt[--Me]%An)+(_e=ht*Pe+(Ie=zt[Me]/An|0)*ct)%An*An+nt[fe]+se)/mn|0)+(_e/An|0)+ht*Ie,nt[fe--]=Pe%mn;nt[fe]=se}return se?++de:nt.splice(0,1),Lr(j,nt,de)},X.negated=function(){var j=new Ve(this);return j.s=-j.s||null,j},X.plus=function(j,re){var se,de=this,he=de.s;if(re=(j=new Ve(j,re)).s,!he||!re)return new Ve(NaN);if(he!=re)return j.s=-re,de.minus(j);var fe=de.e/w,Me=j.e/w,_e=de.c,we=j.c;if(!fe||!Me){if(!_e||!we)return new Ve(he/0);if(!_e[0]||!we[0])return we[0]?j:new Ve(_e[0]?de:0*he)}if(fe=W(fe),Me=W(Me),_e=_e.slice(),he=fe-Me){for(he>0?(Me=fe,se=we):(he=-he,se=_e),se.reverse();he--;se.push(0));se.reverse()}for((he=_e.length)-(re=we.length)<0&&(se=we,we=_e,_e=se,re=he),he=0;re;)he=(_e[--re]=_e[re]+we[re]+he)/L|0,_e[re]=L===_e[re]?0:_e[re]%L;return he&&(_e=[he].concat(_e),++Me),Lr(j,_e,Me)},X.precision=X.sd=function(j,re){var se,de,he;if(null!=j&&j!==!!j)return ce(j,1,F),null==re?re=Fe:ce(re,0,8),Bn(new Ve(this),j,re);if(!(se=this.c))return null;if(de=(he=se.length-1)*w+1,he=se[he]){for(;he%10==0;he/=10,de--);for(he=se[0];he>=10;he/=10,de++);}return j&&this.e+1>de&&(de=this.e+1),de},X.shiftedBy=function(j){return ce(j,-x,x),this.times("1e"+j)},X.squareRoot=X.sqrt=function(){var j,re,se,de,he,fe=this,Me=fe.c,_e=fe.s,we=fe.e,Pe=xe+4,Ie=new Ve("0.5");if(1!==_e||!Me||!Me[0])return new Ve(!_e||_e<0&&(!Me||Me[0])?NaN:Me?fe:1/0);if(0==(_e=Math.sqrt(+fe))||_e==1/0?(((re=G(Me)).length+we)%2==0&&(re+="0"),_e=Math.sqrt(re),we=W((we+1)/2)-(we<0||we%2),se=new Ve(re=_e==1/0?"1e"+we:(re=_e.toExponential()).slice(0,re.indexOf("e")+1)+we)):se=new Ve(_e+""),se.c[0])for((_e=(we=se.e)+Pe)<3&&(_e=0);;)if(se=Ie.times((he=se).plus(te(fe,he,Pe,1))),G(he.c).slice(0,_e)===(re=G(se.c)).slice(0,_e)){if(se.e0&&ct>0){for(we=Ae.substr(0,de=ct%fe||fe);de0&&(we+=_e+Ae.slice(de)),Ie&&(we="-"+we)}se=Pe?we+ln.decimalSeparator+((Me=+ln.fractionGroupSize)?Pe.replace(new RegExp("\\d{"+Me+"}\\B","g"),"$&"+ln.fractionGroupSeparator):Pe):we}return se},X.toFraction=function(j){var re,se,de,he,fe,Me,_e,we,Pe,Ie,Ae,ct,ht=this,nt=ht.c;if(null!=j&&(!(we=new Ve(j)).isInteger()&&(we.c||1!==we.s)||we.lt(De)))throw Error(_+"Argument "+(we.isInteger()?"out of range: ":"not an integer: ")+j);if(!nt)return ht.toString();for(se=new Ve(De),Ie=de=new Ve(De),he=Pe=new Ve(De),ct=G(nt),Me=se.e=ct.length-ht.e-1,se.c[0]=D[(_e=Me%w)<0?w+_e:_e],j=!j||we.comparedTo(se)>0?Me>0?se:Ie:we,_e=Ne,Ne=1/0,we=new Ve(ct),Pe.c[0]=0;Ae=te(we,se,0,1),1!=(fe=de.plus(Ae.times(he))).comparedTo(j);)de=he,he=fe,Ie=Pe.plus(Ae.times(fe=Ie)),Pe=fe,se=we.minus(Ae.times(fe=se)),we=fe;return fe=te(j.minus(de),he,0,1),Pe=Pe.plus(fe.times(Ie)),de=de.plus(fe.times(he)),Pe.s=Ie.s=ht.s,re=te(Ie,he,Me*=2,Fe).minus(ht).abs().comparedTo(te(Pe,de,Me,Fe).minus(ht).abs())<1?[Ie.toString(),he.toString()]:[Pe.toString(),de.toString()],Ne=_e,re},X.toNumber=function(){return+this},X.toPrecision=function(j,re){return null!=j&&ce(j,1,F),br(this,j,re,2)},X.toString=function(j){var re,de=this.s,he=this.e;return null===he?de?(re="Infinity",de<0&&(re="-"+re)):re="NaN":(re=G(this.c),null==j?re=he<=He||he>=Ke?ue(re,he):ee(re,he,"0"):(ce(j,2,vn.length,"Base"),re=ae(ee(re,he,"0"),10,j,de,!0)),de<0&&this.c[0]&&(re="-"+re)),re},X.valueOf=X.toJSON=function(){var j,se=this.e;return null===se?this.toString():(j=G(this.c),j=se<=He||se>=Ke?ue(j,se):ee(j,se,"0"),this.s<0?"-"+j:j)},X._isBigNumber=!0,null!=Q&&Ve.set(Q),Ve}(),T.default=T.BigNumber=T,void 0!==(O=function(){return T}.call(be,H,be,ve))&&(ve.exports=O)}()},6149:function(ve,be,H){var O=H(5979)();O.helpers=H(3305),H(3533)(O),O.defaults=H(9800),O.Element=H(8839),O.elements=H(9931),O.Interaction=H(2814),O.layouts=H(2294),O.platform=H(8244),O.plugins=H(2445),O.Ticks=H(8347),H(8103)(O),H(1047)(O),H(7897)(O),H(5464)(O),H(6308)(O),H(480)(O),H(8351)(O),H(4977)(O),H(1704)(O),H(1486)(O),H(8726)(O),H(4215)(O),H(2690)(O),H(4033)(O),H(787)(O),H(6769)(O),H(6580)(O),H(4657)(O),H(1895)(O),H(6038)(O),H(2898)(O),H(3414)(O),H(6667)(O),H(402)(O),H(846)(O),H(9377)(O);var M=H(6747);for(var T in M)M.hasOwnProperty(T)&&O.plugins.register(M[T]);O.platform.initialize(),ve.exports=O,"undefined"!=typeof window&&(window.Chart=O),O.Legend=M.legend._element,O.Title=M.title._element,O.pluginService=O.plugins,O.PluginBase=O.Element.extend({}),O.canvasHelpers=O.helpers.canvas,O.layoutService=O.layouts},6038:function(ve){"use strict";ve.exports=function(be){be.Bar=function(H,O){return O.type="bar",new be(H,O)}}},2898:function(ve){"use strict";ve.exports=function(be){be.Bubble=function(H,O){return O.type="bubble",new be(H,O)}}},3414:function(ve){"use strict";ve.exports=function(be){be.Doughnut=function(H,O){return O.type="doughnut",new be(H,O)}}},6667:function(ve){"use strict";ve.exports=function(be){be.Line=function(H,O){return O.type="line",new be(H,O)}}},402:function(ve){"use strict";ve.exports=function(be){be.PolarArea=function(H,O){return O.type="polarArea",new be(H,O)}}},846:function(ve){"use strict";ve.exports=function(be){be.Radar=function(H,O){return O.type="radar",new be(H,O)}}},9377:function(ve){"use strict";ve.exports=function(be){be.Scatter=function(H,O){return O.type="scatter",new be(H,O)}}},2690:function(ve,be,H){"use strict";var O=H(9800),M=H(9931),T=H(3305);O._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),O._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{position:"left",type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{callbacks:{title:function(h,L){var w="";return h.length>0&&(h[0].yLabel?w=h[0].yLabel:L.labels.length>0&&h[0].index0?Math.min(L,D-x):L,x=D;return L}(w,W):-1,{min:ce,pixels:W,start:F,end:N,stackCount:x,scale:w}},calculateBarValuePixels:function(L,w){var ne,Z,ue,ee,Q,te,x=this,D=x.chart,y=x.getMeta(),F=x.getValueScale(),N=D.data.datasets,W=F.getRightValue(N[L].data[w]),G=F.options.stacked,ie=y.stack,ce=0;if(G||void 0===G&&void 0!==ie)for(ne=0;ne=0&&ue>0)&&(ce+=ue));return ee=F.getPixelForValue(ce),{size:te=((Q=F.getPixelForValue(ce+W))-ee)/2,base:ee,head:Q,center:Q+te/2}},calculateBarIndexPixels:function(L,w,x){var y=x.scale.options,F="flex"===y.barThickness?function c(_,h,L){var w=h.pixels,x=w[_],D=_>0?w[_-1]:null,y=_');var _=d.data,h=_.datasets,L=_.labels;if(h.length)for(var w=0;w'),L[w]&&c.push(L[w]),c.push("");return c.push(""),c.join("")},legend:{labels:{generateLabels:function(d){var c=d.data;return c.labels.length&&c.datasets.length?c.labels.map(function(_,h){var L=d.getDatasetMeta(0),w=c.datasets[0],x=L.data[h],D=x&&x.custom||{},y=T.valueAtIndexOrDefault,F=d.options.elements.arc;return{text:_,fillStyle:D.backgroundColor?D.backgroundColor:y(w.backgroundColor,h,F.backgroundColor),strokeStyle:D.borderColor?D.borderColor:y(w.borderColor,h,F.borderColor),lineWidth:D.borderWidth?D.borderWidth:y(w.borderWidth,h,F.borderWidth),hidden:isNaN(w.data[h])||L.data[h].hidden,index:h}}):[]}},onClick:function(d,c){var L,w,x,_=c.index,h=this.chart;for(L=0,w=(h.data.datasets||[]).length;L=Math.PI?-1:ce<-Math.PI?1:0))+ie,Z={x:Math.cos(ce),y:Math.sin(ce)},ue={x:Math.cos(ne),y:Math.sin(ne)},ee=ce<=0&&ne>=0||ce<=2*Math.PI&&2*Math.PI<=ne,Q=ce<=.5*Math.PI&&.5*Math.PI<=ne||ce<=2.5*Math.PI&&2.5*Math.PI<=ne,te=ce<=-Math.PI&&-Math.PI<=ne||ce<=Math.PI&&Math.PI<=ne,ae=ce<=.5*-Math.PI&&.5*-Math.PI<=ne||ce<=1.5*Math.PI&&1.5*Math.PI<=ne,le=G/100,X={x:te?-1:Math.min(Z.x*(Z.x<0?1:le),ue.x*(ue.x<0?1:le)),y:ae?-1:Math.min(Z.y*(Z.y<0?1:le),ue.y*(ue.y<0?1:le))},De={x:ee?1:Math.max(Z.x*(Z.x>0?1:le),ue.x*(ue.x>0?1:le)),y:Q?1:Math.max(Z.y*(Z.y>0?1:le),ue.y*(ue.y>0?1:le))},xe={width:.5*(De.x-X.x),height:.5*(De.y-X.y)};F=Math.min(D/xe.width,y/xe.height),N={x:-.5*(De.x+X.x),y:-.5*(De.y+X.y)}}h.borderWidth=_.getMaxBorderWidth(W.data),h.outerRadius=Math.max((F-h.borderWidth)/2,0),h.innerRadius=Math.max(G?h.outerRadius/100*G:0,0),h.radiusLength=(h.outerRadius-h.innerRadius)/h.getVisibleDatasetCount(),h.offsetX=N.x*h.outerRadius,h.offsetY=N.y*h.outerRadius,W.total=_.calculateTotal(),_.outerRadius=h.outerRadius-h.radiusLength*_.getRingIndex(_.index),_.innerRadius=Math.max(_.outerRadius-h.radiusLength,0),T.each(W.data,function(Fe,He){_.updateElement(Fe,He,c)})},updateElement:function(c,_,h){var L=this,w=L.chart,x=w.chartArea,D=w.options,y=D.animation,F=(x.left+x.right)/2,N=(x.top+x.bottom)/2,W=D.rotation,G=D.rotation,ie=L.getDataset(),ce=h&&y.animateRotate||c.hidden?0:L.calculateCircumference(ie.data[_])*(D.circumference/(2*Math.PI));T.extend(c,{_datasetIndex:L.index,_index:_,_model:{x:F+w.offsetX,y:N+w.offsetY,startAngle:W,endAngle:G,circumference:ce,outerRadius:h&&y.animateScale?0:L.outerRadius,innerRadius:h&&y.animateScale?0:L.innerRadius,label:(0,T.valueAtIndexOrDefault)(ie.label,_,w.data.labels[_])}});var ee=c._model;this.removeHoverStyle(c),(!h||!y.animateRotate)&&(ee.startAngle=0===_?D.rotation:L.getMeta().data[_-1]._model.endAngle,ee.endAngle=ee.startAngle+ee.circumference),c.pivot()},removeHoverStyle:function(c){v.DatasetController.prototype.removeHoverStyle.call(this,c,this.chart.options.elements.arc)},calculateTotal:function(){var L,c=this.getDataset(),_=this.getMeta(),h=0;return T.each(_.data,function(w,x){L=c.data[x],!isNaN(L)&&!w.hidden&&(h+=Math.abs(L))}),h},calculateCircumference:function(c){var _=this.getMeta().total;return _>0&&!isNaN(c)?2*Math.PI*(Math.abs(c)/_):0},getMaxBorderWidth:function(c){for(var w,x,_=0,h=this.index,L=c.length,D=0;D(_=(w=c[D]._model?c[D]._model.borderWidth:0)>_?w:_)?x:_;return _}})}},6769:function(ve,be,H){"use strict";var O=H(9800),M=H(9931),T=H(3305);O._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}}),ve.exports=function(v){function d(c,_){return T.valueOrDefault(c.showLine,_.showLines)}v.controllers.line=v.DatasetController.extend({datasetElementType:M.Line,dataElementType:M.Point,update:function(_){var N,W,G,h=this,L=h.getMeta(),w=L.dataset,x=L.data||[],D=h.chart.options,y=D.elements.line,F=h.getScaleForId(L.yAxisID),ie=h.getDataset(),ce=d(ie,D);for(ce&&(G=w.custom||{},void 0!==ie.tension&&void 0===ie.lineTension&&(ie.lineTension=ie.tension),w._scale=F,w._datasetIndex=h.index,w._children=x,w._model={spanGaps:ie.spanGaps?ie.spanGaps:D.spanGaps,tension:G.tension?G.tension:T.valueOrDefault(ie.lineTension,y.tension),backgroundColor:G.backgroundColor?G.backgroundColor:ie.backgroundColor||y.backgroundColor,borderWidth:G.borderWidth?G.borderWidth:ie.borderWidth||y.borderWidth,borderColor:G.borderColor?G.borderColor:ie.borderColor||y.borderColor,borderCapStyle:G.borderCapStyle?G.borderCapStyle:ie.borderCapStyle||y.borderCapStyle,borderDash:G.borderDash?G.borderDash:ie.borderDash||y.borderDash,borderDashOffset:G.borderDashOffset?G.borderDashOffset:ie.borderDashOffset||y.borderDashOffset,borderJoinStyle:G.borderJoinStyle?G.borderJoinStyle:ie.borderJoinStyle||y.borderJoinStyle,fill:G.fill?G.fill:void 0!==ie.fill?ie.fill:y.fill,steppedLine:G.steppedLine?G.steppedLine:T.valueOrDefault(ie.steppedLine,y.stepped),cubicInterpolationMode:G.cubicInterpolationMode?G.cubicInterpolationMode:T.valueOrDefault(ie.cubicInterpolationMode,y.cubicInterpolationMode)},w.pivot()),N=0,W=x.length;N');var _=d.data,h=_.datasets,L=_.labels;if(h.length)for(var w=0;w'),L[w]&&c.push(L[w]),c.push("");return c.push(""),c.join("")},legend:{labels:{generateLabels:function(d){var c=d.data;return c.labels.length&&c.datasets.length?c.labels.map(function(_,h){var L=d.getDatasetMeta(0),w=c.datasets[0],D=L.data[h].custom||{},y=T.valueAtIndexOrDefault,F=d.options.elements.arc;return{text:_,fillStyle:D.backgroundColor?D.backgroundColor:y(w.backgroundColor,h,F.backgroundColor),strokeStyle:D.borderColor?D.borderColor:y(w.borderColor,h,F.borderColor),lineWidth:D.borderWidth?D.borderWidth:y(w.borderWidth,h,F.borderWidth),hidden:isNaN(w.data[h])||L.data[h].hidden,index:h}}):[]}},onClick:function(d,c){var L,w,x,_=c.index,h=this.chart;for(L=0,w=(h.data.datasets||[]).length;L0&&!isNaN(c)?2*Math.PI/_:0}})}},4657:function(ve,be,H){"use strict";var O=H(9800),M=H(9931),T=H(3305);O._set("radar",{scale:{type:"radialLinear"},elements:{line:{tension:0}}}),ve.exports=function(v){v.controllers.radar=v.DatasetController.extend({datasetElementType:M.Line,dataElementType:M.Point,linkScales:T.noop,update:function(c){var _=this,h=_.getMeta(),w=h.data,x=h.dataset.custom||{},D=_.getDataset(),y=_.chart.options.elements.line,F=_.chart.scale;void 0!==D.tension&&void 0===D.lineTension&&(D.lineTension=D.tension),T.extend(h.dataset,{_datasetIndex:_.index,_scale:F,_children:w,_loop:!0,_model:{tension:x.tension?x.tension:T.valueOrDefault(D.lineTension,y.tension),backgroundColor:x.backgroundColor?x.backgroundColor:D.backgroundColor||y.backgroundColor,borderWidth:x.borderWidth?x.borderWidth:D.borderWidth||y.borderWidth,borderColor:x.borderColor?x.borderColor:D.borderColor||y.borderColor,fill:x.fill?x.fill:void 0!==D.fill?D.fill:y.fill,borderCapStyle:x.borderCapStyle?x.borderCapStyle:D.borderCapStyle||y.borderCapStyle,borderDash:x.borderDash?x.borderDash:D.borderDash||y.borderDash,borderDashOffset:x.borderDashOffset?x.borderDashOffset:D.borderDashOffset||y.borderDashOffset,borderJoinStyle:x.borderJoinStyle?x.borderJoinStyle:D.borderJoinStyle||y.borderJoinStyle}}),h.dataset.pivot(),T.each(w,function(N,W){_.updateElement(N,W,c)},_),_.updateBezierControlPoints()},updateElement:function(c,_,h){var L=this,w=c.custom||{},x=L.getDataset(),D=L.chart.scale,y=L.chart.options.elements.point,F=D.getPointPositionForValue(_,x.data[_]);void 0!==x.radius&&void 0===x.pointRadius&&(x.pointRadius=x.radius),void 0!==x.hitRadius&&void 0===x.pointHitRadius&&(x.pointHitRadius=x.hitRadius),T.extend(c,{_datasetIndex:L.index,_index:_,_scale:D,_model:{x:h?D.xCenter:F.x,y:h?D.yCenter:F.y,tension:w.tension?w.tension:T.valueOrDefault(x.lineTension,L.chart.options.elements.line.tension),radius:w.radius?w.radius:T.valueAtIndexOrDefault(x.pointRadius,_,y.radius),backgroundColor:w.backgroundColor?w.backgroundColor:T.valueAtIndexOrDefault(x.pointBackgroundColor,_,y.backgroundColor),borderColor:w.borderColor?w.borderColor:T.valueAtIndexOrDefault(x.pointBorderColor,_,y.borderColor),borderWidth:w.borderWidth?w.borderWidth:T.valueAtIndexOrDefault(x.pointBorderWidth,_,y.borderWidth),pointStyle:w.pointStyle?w.pointStyle:T.valueAtIndexOrDefault(x.pointStyle,_,y.pointStyle),hitRadius:w.hitRadius?w.hitRadius:T.valueAtIndexOrDefault(x.pointHitRadius,_,y.hitRadius)}}),c._model.skip=w.skip?w.skip:isNaN(c._model.x)||isNaN(c._model.y)},updateBezierControlPoints:function(){var c=this.chart.chartArea,_=this.getMeta();T.each(_.data,function(h,L){var w=h._model,x=T.splineCurve(T.previousItem(_.data,L,!0)._model,w,T.nextItem(_.data,L,!0)._model,w.tension);w.controlPointPreviousX=Math.max(Math.min(x.previous.x,c.right),c.left),w.controlPointPreviousY=Math.max(Math.min(x.previous.y,c.bottom),c.top),w.controlPointNextX=Math.max(Math.min(x.next.x,c.right),c.left),w.controlPointNextY=Math.max(Math.min(x.next.y,c.bottom),c.top),h.pivot()})},setHoverStyle:function(c){var _=this.chart.data.datasets[c._datasetIndex],h=c.custom||{},L=c._index,w=c._model;w.radius=h.hoverRadius?h.hoverRadius:T.valueAtIndexOrDefault(_.pointHoverRadius,L,this.chart.options.elements.point.hoverRadius),w.backgroundColor=h.hoverBackgroundColor?h.hoverBackgroundColor:T.valueAtIndexOrDefault(_.pointHoverBackgroundColor,L,T.getHoverColor(w.backgroundColor)),w.borderColor=h.hoverBorderColor?h.hoverBorderColor:T.valueAtIndexOrDefault(_.pointHoverBorderColor,L,T.getHoverColor(w.borderColor)),w.borderWidth=h.hoverBorderWidth?h.hoverBorderWidth:T.valueAtIndexOrDefault(_.pointHoverBorderWidth,L,w.borderWidth)},removeHoverStyle:function(c){var _=this.chart.data.datasets[c._datasetIndex],h=c.custom||{},L=c._index,w=c._model,x=this.chart.options.elements.point;w.radius=h.radius?h.radius:T.valueAtIndexOrDefault(_.pointRadius,L,x.radius),w.backgroundColor=h.backgroundColor?h.backgroundColor:T.valueAtIndexOrDefault(_.pointBackgroundColor,L,x.backgroundColor),w.borderColor=h.borderColor?h.borderColor:T.valueAtIndexOrDefault(_.pointBorderColor,L,x.borderColor),w.borderWidth=h.borderWidth?h.borderWidth:T.valueAtIndexOrDefault(_.pointBorderWidth,L,x.borderWidth)}})}},1895:function(ve,be,H){"use strict";H(9800)._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},showLines:!1,tooltips:{callbacks:{title:function(){return""},label:function(T){return"("+T.xLabel+", "+T.yLabel+")"}}}}),ve.exports=function(M){M.controllers.scatter=M.controllers.line}},8103:function(ve,be,H){"use strict";var O=H(9800),M=H(8839),T=H(3305);O._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:T.noop,onComplete:T.noop}}),ve.exports=function(v){v.Animation=M.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),v.animationService={frameDuration:17,animations:[],dropFrames:0,request:null,addAnimation:function(c,_,h,L){var x,D,w=this.animations;for(_.chart=c,L||(c.animating=!0),x=0,D=w.length;x1&&(h=Math.floor(c.dropFrames),c.dropFrames=c.dropFrames%1),c.advance(1+h);var L=Date.now();c.dropFrames+=(L-_)/c.frameDuration,c.animations.length>0&&c.requestAnimationFrame()},advance:function(c){for(var h,L,_=this.animations,w=0;w<_.length;)L=(h=_[w]).chart,h.currentStep=(h.currentStep||0)+c,h.currentStep=Math.min(h.currentStep,h.numSteps),T.callback(h.render,[L,h],L),T.callback(h.onAnimationProgress,[h],L),h.currentStep>=h.numSteps?(T.callback(h.onAnimationComplete,[h],L),L.animating=!1,_.splice(w,1)):++w}},Object.defineProperty(v.Animation.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(v.Animation.prototype,"chartInstance",{get:function(){return this.chart},set:function(c){this.chart=c}})}},1047:function(ve,be,H){"use strict";var O=H(9800),M=H(3305),T=H(2814),v=H(2294),d=H(8244),c=H(2445);ve.exports=function(_){function L(x){var D=x.options;M.each(x.scales,function(y){v.removeBox(x,y)}),D=M.configMerge(_.defaults.global,_.defaults[x.config.type],D),x.options=x.config.options=D,x.ensureScalesHaveIDs(),x.buildOrUpdateScales(),x.tooltip._options=D.tooltips,x.tooltip.initialize()}function w(x){return"top"===x||"bottom"===x}_.types={},_.instances={},_.controllers={},M.extend(_.prototype,{construct:function(D,y){var F=this;y=function h(x){var D=(x=x||{}).data=x.data||{};return D.datasets=D.datasets||[],D.labels=D.labels||[],x.options=M.configMerge(O.global,O[x.type],x.options||{}),x}(y);var N=d.acquireContext(D,y),W=N&&N.canvas,G=W&&W.height,ie=W&&W.width;F.id=M.uid(),F.ctx=N,F.canvas=W,F.config=y,F.width=ie,F.height=G,F.aspectRatio=G?ie/G:null,F.options=y.options,F._bufferedRender=!1,F.chart=F,F.controller=F,_.instances[F.id]=F,Object.defineProperty(F,"data",{get:function(){return F.config.data},set:function(ne){F.config.data=ne}}),N&&W?(F.initialize(),F.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var D=this;return c.notify(D,"beforeInit"),M.retinaScale(D,D.options.devicePixelRatio),D.bindEvents(),D.options.responsive&&D.resize(!0),D.ensureScalesHaveIDs(),D.buildOrUpdateScales(),D.initToolTip(),c.notify(D,"afterInit"),D},clear:function(){return M.canvas.clear(this),this},stop:function(){return _.animationService.cancelAnimation(this),this},resize:function(D){var y=this,F=y.options,N=y.canvas,W=F.maintainAspectRatio&&y.aspectRatio||null,G=Math.max(0,Math.floor(M.getMaximumWidth(N))),ie=Math.max(0,Math.floor(W?G/W:M.getMaximumHeight(N)));if((y.width!==G||y.height!==ie)&&(N.width=y.width=G,N.height=y.height=ie,N.style.width=G+"px",N.style.height=ie+"px",M.retinaScale(y,F.devicePixelRatio),!D)){var ce={width:G,height:ie};c.notify(y,"resize",[ce]),y.options.onResize&&y.options.onResize(y,ce),y.stop(),y.update(y.options.responsiveAnimationDuration)}},ensureScalesHaveIDs:function(){var D=this.options,y=D.scales||{},F=D.scale;M.each(y.xAxes,function(N,W){N.id=N.id||"x-axis-"+W}),M.each(y.yAxes,function(N,W){N.id=N.id||"y-axis-"+W}),F&&(F.id=F.id||"scale")},buildOrUpdateScales:function(){var D=this,y=D.options,F=D.scales||{},N=[],W=Object.keys(F).reduce(function(G,ie){return G[ie]=!1,G},{});y.scales&&(N=N.concat((y.scales.xAxes||[]).map(function(G){return{options:G,dtype:"category",dposition:"bottom"}}),(y.scales.yAxes||[]).map(function(G){return{options:G,dtype:"linear",dposition:"left"}}))),y.scale&&N.push({options:y.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),M.each(N,function(G){var ie=G.options,ce=ie.id,ne=M.valueOrDefault(ie.type,G.dtype);w(ie.position)!==w(G.dposition)&&(ie.position=G.dposition),W[ce]=!0;var Z=null;if(ce in F&&F[ce].type===ne)(Z=F[ce]).options=ie,Z.ctx=D.ctx,Z.chart=D;else{var ue=_.scaleService.getScaleConstructor(ne);if(!ue)return;Z=new ue({id:ce,type:ne,options:ie,ctx:D.ctx,chart:D}),F[Z.id]=Z}Z.mergeTicksOptions(),G.isDefault&&(D.scale=Z)}),M.each(W,function(G,ie){G||delete F[ie]}),D.scales=F,_.scaleService.addScalesToLayout(this)},buildOrUpdateControllers:function(){var D=this,y=[],F=[];return M.each(D.data.datasets,function(N,W){var G=D.getDatasetMeta(W),ie=N.type||D.config.type;if(G.type&&G.type!==ie&&(D.destroyDatasetMeta(W),G=D.getDatasetMeta(W)),G.type=ie,y.push(G.type),G.controller)G.controller.updateIndex(W),G.controller.linkScales();else{var ce=_.controllers[G.type];if(void 0===ce)throw new Error('"'+G.type+'" is not a chart type.');G.controller=new ce(D,W),F.push(G.controller)}},D),F},resetElements:function(){var D=this;M.each(D.data.datasets,function(y,F){D.getDatasetMeta(F).controller.reset()},D)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(D){var y=this;if((!D||"object"!=typeof D)&&(D={duration:D,lazy:arguments[1]}),L(y),c._invalidate(y),!1!==c.notify(y,"beforeUpdate")){y.tooltip._data=y.data;var F=y.buildOrUpdateControllers();M.each(y.data.datasets,function(N,W){y.getDatasetMeta(W).controller.buildOrUpdateElements()},y),y.updateLayout(),y.options.animation&&y.options.animation.duration&&M.each(F,function(N){N.reset()}),y.updateDatasets(),y.tooltip.initialize(),y.lastActive=[],c.notify(y,"afterUpdate"),y._bufferedRender?y._bufferedRequest={duration:D.duration,easing:D.easing,lazy:D.lazy}:y.render(D)}},updateLayout:function(){var D=this;!1!==c.notify(D,"beforeLayout")&&(v.update(this,this.width,this.height),c.notify(D,"afterScaleUpdate"),c.notify(D,"afterLayout"))},updateDatasets:function(){var D=this;if(!1!==c.notify(D,"beforeDatasetsUpdate")){for(var y=0,F=D.data.datasets.length;y=0;--F)y.isDatasetVisible(F)&&y.drawDataset(F,D);c.notify(y,"afterDatasetsDraw",[D])}},drawDataset:function(D,y){var F=this,N=F.getDatasetMeta(D),W={meta:N,index:D,easingValue:y};!1!==c.notify(F,"beforeDatasetDraw",[W])&&(N.controller.draw(y),c.notify(F,"afterDatasetDraw",[W]))},_drawTooltip:function(D){var y=this,F=y.tooltip,N={tooltip:F,easingValue:D};!1!==c.notify(y,"beforeTooltipDraw",[N])&&(F.draw(),c.notify(y,"afterTooltipDraw",[N]))},getElementAtEvent:function(D){return T.modes.single(this,D)},getElementsAtEvent:function(D){return T.modes.label(this,D,{intersect:!0})},getElementsAtXAxis:function(D){return T.modes["x-axis"](this,D,{intersect:!0})},getElementsAtEventForMode:function(D,y,F){var N=T.modes[y];return"function"==typeof N?N(this,D,F):[]},getDatasetAtEvent:function(D){return T.modes.dataset(this,D,{intersect:!0})},getDatasetMeta:function(D){var y=this,F=y.data.datasets[D];F._meta||(F._meta={});var N=F._meta[y.id];return N||(N=F._meta[y.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null}),N},getVisibleDatasetCount:function(){for(var D=0,y=0,F=this.data.datasets.length;y0)&&(T.forEach(function(x){delete c[x]}),delete c._chartjs)}}M.DatasetController=function(c,_){this.initialize(c,_)},O.extend(M.DatasetController.prototype,{datasetElementType:null,dataElementType:null,initialize:function(_,h){var L=this;L.chart=_,L.index=h,L.linkScales(),L.addElements()},updateIndex:function(_){this.index=_},linkScales:function(){var _=this,h=_.getMeta(),L=_.getDataset();(null===h.xAxisID||!(h.xAxisID in _.chart.scales))&&(h.xAxisID=L.xAxisID||_.chart.options.scales.xAxes[0].id),(null===h.yAxisID||!(h.yAxisID in _.chart.scales))&&(h.yAxisID=L.yAxisID||_.chart.options.scales.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(_){return this.chart.scales[_]},reset:function(){this.update(!0)},destroy:function(){this._data&&d(this._data,this)},createMetaDataset:function(){var _=this,h=_.datasetElementType;return h&&new h({_chart:_.chart,_datasetIndex:_.index})},createMetaData:function(_){var h=this,L=h.dataElementType;return L&&new L({_chart:h.chart,_datasetIndex:h.index,_index:_})},addElements:function(){var x,D,_=this,h=_.getMeta(),L=_.getDataset().data||[],w=h.data;for(x=0,D=L.length;xw&&_.insertElements(w,x-w)},insertElements:function(_,h){for(var L=0;L=w[L].length&&w[L].push({}),T.merge(w[L][F],!w[L][F].type||W.type&&W.type!==w[L][F].type?[v.scaleService.getScaleDefaults(N),W]:W)}else T._merger(L,w,x,D)}})},T.where=function(h,L){if(T.isArray(h)&&Array.prototype.filter)return h.filter(L);var w=[];return T.each(h,function(x){L(x)&&w.push(x)}),w},T.findIndex=Array.prototype.findIndex?function(h,L,w){return h.findIndex(L,w)}:function(h,L,w){w=void 0===w?h:w;for(var x=0,D=h.length;x=0;x--){var D=h[x];if(L(D))return D}},T.isNumber=function(h){return!isNaN(parseFloat(h))&&isFinite(h)},T.almostEquals=function(h,L,w){return Math.abs(h-L)h},T.max=function(h){return h.reduce(function(L,w){return isNaN(w)?L:Math.max(L,w)},Number.NEGATIVE_INFINITY)},T.min=function(h){return h.reduce(function(L,w){return isNaN(w)?L:Math.min(L,w)},Number.POSITIVE_INFINITY)},T.sign=Math.sign?function(h){return Math.sign(h)}:function(h){return 0==(h=+h)||isNaN(h)?h:h>0?1:-1},T.log10=Math.log10?function(h){return Math.log10(h)}:function(h){var L=Math.log(h)*Math.LOG10E,w=Math.round(L);return h===Math.pow(10,w)?w:L},T.toRadians=function(h){return h*(Math.PI/180)},T.toDegrees=function(h){return h*(180/Math.PI)},T.getAngleFromPoint=function(h,L){var w=L.x-h.x,x=L.y-h.y,D=Math.sqrt(w*w+x*x),y=Math.atan2(x,w);return y<-.5*Math.PI&&(y+=2*Math.PI),{angle:y,distance:D}},T.distanceBetweenPoints=function(h,L){return Math.sqrt(Math.pow(L.x-h.x,2)+Math.pow(L.y-h.y,2))},T.aliasPixel=function(h){return h%2==0?0:.5},T.splineCurve=function(h,L,w,x){var D=h.skip?L:h,y=L,F=w.skip?L:w,N=Math.sqrt(Math.pow(y.x-D.x,2)+Math.pow(y.y-D.y,2)),W=Math.sqrt(Math.pow(F.x-y.x,2)+Math.pow(F.y-y.y,2)),G=N/(N+W),ie=W/(N+W),ce=x*(G=isNaN(G)?0:G),ne=x*(ie=isNaN(ie)?0:ie);return{previous:{x:y.x-ce*(F.x-D.x),y:y.y-ce*(F.y-D.y)},next:{x:y.x+ne*(F.x-D.x),y:y.y+ne*(F.y-D.y)}}},T.EPSILON=Number.EPSILON||1e-14,T.splineCurveMonotone=function(h){var x,D,y,F,W,G,ie,ce,ne,L=(h||[]).map(function(Z){return{model:Z._model,deltaK:0,mK:0}}),w=L.length;for(x=0;x0?L[x-1]:null,(F=x0?L[x-1]:null)&&!D.model.skip&&(y.model.controlPointPreviousX=y.model.x-(ne=(y.model.x-D.model.x)/3),y.model.controlPointPreviousY=y.model.y-ne*y.mK),F&&!F.model.skip&&(y.model.controlPointNextX=y.model.x+(ne=(F.model.x-y.model.x)/3),y.model.controlPointNextY=y.model.y+ne*y.mK))},T.nextItem=function(h,L,w){return w?L>=h.length-1?h[0]:h[L+1]:L>=h.length-1?h[h.length-1]:h[L+1]},T.previousItem=function(h,L,w){return w?L<=0?h[h.length-1]:h[L-1]:L<=0?h[0]:h[L-1]},T.niceNum=function(h,L){var w=Math.floor(T.log10(h)),x=h/Math.pow(10,w);return(L?x<1.5?1:x<3?2:x<7?5:10:x<=1?1:x<=2?2:x<=5?5:10)*Math.pow(10,w)},T.requestAnimFrame="undefined"==typeof window?function(h){h()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(h){return window.setTimeout(h,1e3/60)},T.getRelativePosition=function(h,L){var w,x,D=h.originalEvent||h,y=h.currentTarget||h.srcElement,F=y.getBoundingClientRect(),N=D.touches;N&&N.length>0?(w=N[0].clientX,x=N[0].clientY):(w=D.clientX,x=D.clientY);var W=parseFloat(T.getStyle(y,"padding-left")),G=parseFloat(T.getStyle(y,"padding-top")),ie=parseFloat(T.getStyle(y,"padding-right")),ce=parseFloat(T.getStyle(y,"padding-bottom")),Z=F.bottom-F.top-G-ce;return{x:w=Math.round((w-F.left-W)/(F.right-F.left-W-ie)*y.width/L.currentDevicePixelRatio),y:x=Math.round((x-F.top-G)/Z*y.height/L.currentDevicePixelRatio)}},T.getConstraintWidth=function(h){return _(h,"max-width","clientWidth")},T.getConstraintHeight=function(h){return _(h,"max-height","clientHeight")},T.getMaximumWidth=function(h){var L=h.parentNode;if(!L)return h.clientWidth;var w=parseInt(T.getStyle(L,"padding-left"),10),x=parseInt(T.getStyle(L,"padding-right"),10),D=L.clientWidth-w-x,y=T.getConstraintWidth(h);return isNaN(y)?D:Math.min(D,y)},T.getMaximumHeight=function(h){var L=h.parentNode;if(!L)return h.clientHeight;var w=parseInt(T.getStyle(L,"padding-top"),10),x=parseInt(T.getStyle(L,"padding-bottom"),10),D=L.clientHeight-w-x,y=T.getConstraintHeight(h);return isNaN(y)?D:Math.min(D,y)},T.getStyle=function(h,L){return h.currentStyle?h.currentStyle[L]:document.defaultView.getComputedStyle(h,null).getPropertyValue(L)},T.retinaScale=function(h,L){var w=h.currentDevicePixelRatio=L||window.devicePixelRatio||1;if(1!==w){var x=h.canvas,D=h.height,y=h.width;x.height=D*w,x.width=y*w,h.ctx.scale(w,w),!x.style.height&&!x.style.width&&(x.style.height=D+"px",x.style.width=y+"px")}},T.fontString=function(h,L,w){return L+" "+h+"px "+w},T.longestText=function(h,L,w,x){var D=(x=x||{}).data=x.data||{},y=x.garbageCollect=x.garbageCollect||[];x.font!==L&&(D=x.data={},y=x.garbageCollect=[],x.font=L),h.font=L;var F=0;T.each(w,function(G){null!=G&&!0!==T.isArray(G)?F=T.measureText(h,D,y,F,G):T.isArray(G)&&T.each(G,function(ie){null!=ie&&!T.isArray(ie)&&(F=T.measureText(h,D,y,F,ie))})});var N=y.length/2;if(N>w.length){for(var W=0;Wx&&(x=y),x},T.numberOfLabelLines=function(h){var L=1;return T.each(h,function(w){T.isArray(w)&&w.length>L&&(L=w.length)}),L},T.color=O?function(h){return h instanceof CanvasGradient&&(h=M.global.defaultColor),O(h)}:function(h){return console.error("Color.js not found!"),h},T.getHoverColor=function(h){return h instanceof CanvasPattern?h:T.color(h).saturate(.5).darken(.1).rgbString()}}},2814:function(ve,be,H){"use strict";var O=H(3305);function M(h,L){return h.native?{x:h.x,y:h.y}:O.getRelativePosition(h,L)}function T(h,L){var x,D,y,F,N;for(D=0,F=h.data.datasets.length;D0&&(F=L.getDatasetMeta(F[0]._datasetIndex).data),F},"x-axis":function(L,w){return _(L,w,{intersect:!1})},point:function(L,w){return v(L,M(w,L))},nearest:function(L,w,x){var D=M(w,L);x.axis=x.axis||"xy";var y=c(x.axis),F=d(L,D,x.intersect,y);return F.length>1&&F.sort(function(N,W){var ce=N.getArea()-W.getArea();return 0===ce&&(ce=N._datasetIndex-W._datasetIndex),ce}),F.slice(0,1)},x:function(L,w,x){var D=M(w,L),y=[],F=!1;return T(L,function(N){N.inXRange(D.x)&&y.push(N),N.inRange(D.x,D.y)&&(F=!0)}),x.intersect&&!F&&(y=[]),y},y:function(L,w,x){var D=M(w,L),y=[],F=!1;return T(L,function(N){N.inYRange(D.y)&&y.push(N),N.inRange(D.x,D.y)&&(F=!0)}),x.intersect&&!F&&(y=[]),y}}}},5979:function(ve,be,H){"use strict";H(9800)._set("global",{responsive:!0,responsiveAnimationDuration:0,maintainAspectRatio:!0,events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",showLines:!0,elements:{},layout:{padding:{top:0,right:0,bottom:0,left:0}}}),ve.exports=function(){var M=function(v,d){return this.construct(v,d),this};return M.Chart=M,M}},2294:function(ve,be,H){"use strict";var O=H(3305);function M(v,d){return O.where(v,function(c){return c.position===d})}function T(v,d){v.forEach(function(c,_){return c._tmpIndex_=_,c}),v.sort(function(c,_){var h=d?_:c,L=d?c:_;return h.weight===L.weight?h._tmpIndex_-L._tmpIndex_:h.weight-L.weight}),v.forEach(function(c){delete c._tmpIndex_})}ve.exports={defaults:{},addBox:function(d,c){d.boxes||(d.boxes=[]),c.fullWidth=c.fullWidth||!1,c.position=c.position||"top",c.weight=c.weight||0,d.boxes.push(c)},removeBox:function(d,c){var _=d.boxes?d.boxes.indexOf(c):-1;-1!==_&&d.boxes.splice(_,1)},configure:function(d,c,_){for(var x,h=["fullWidth","position","weight"],L=h.length,w=0;wue&&GD.maxHeight){G--;break}G++,ce=ne*ie}D.labelRotation=G},afterCalculateTickRotation:function(){T.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){T.callback(this.options.beforeFit,[this])},fit:function(){var D=this,y=D.minSize={width:0,height:0},F=d(D._ticks),N=D.options,W=N.ticks,G=N.scaleLabel,ie=N.gridLines,ce=N.display,ne=D.isHorizontal(),Z=L(W),ue=N.gridLines.tickMarkLength;if(y.width=ne?D.isFullWidth()?D.maxWidth-D.margins.left-D.margins.right:D.maxWidth:ce&&ie.drawTicks?ue:0,y.height=ne?ce&&ie.drawTicks?ue:0:D.maxHeight,G.display&&ce){var te=w(G)+T.options.toPadding(G.padding).height;ne?y.height+=te:y.width+=te}if(W.display&&ce){var ae=T.longestText(D.ctx,Z.font,F,D.longestTextCache),le=T.numberOfLabelLines(F),X=.5*Z.size,De=D.options.ticks.padding;if(ne){D.longestLabelWidth=ae;var xe=T.toRadians(D.labelRotation),Fe=Math.cos(xe),He=Math.sin(xe);y.height=Math.min(D.maxHeight,y.height+(He*ae+Z.size*le+X*(le-1)+X)+De),D.ctx.font=Z.font;var Xe=h(D.ctx,F[0],Z.font),Ne=h(D.ctx,F[F.length-1],Z.font);0!==D.labelRotation?(D.paddingLeft="bottom"===N.position?Fe*Xe+3:Fe*X+3,D.paddingRight="bottom"===N.position?Fe*X+3:Fe*Ne+3):(D.paddingLeft=Xe/2+3,D.paddingRight=Ne/2+3)}else W.mirror?ae=0:ae+=De+X,y.width=Math.min(D.maxWidth,y.width+ae),D.paddingTop=Z.size/2,D.paddingBottom=Z.size/2}D.handleMargins(),D.width=y.width,D.height=y.height},handleMargins:function(){var D=this;D.margins&&(D.paddingLeft=Math.max(D.paddingLeft-D.margins.left,0),D.paddingTop=Math.max(D.paddingTop-D.margins.top,0),D.paddingRight=Math.max(D.paddingRight-D.margins.right,0),D.paddingBottom=Math.max(D.paddingBottom-D.margins.bottom,0))},afterFit:function(){T.callback(this.options.afterFit,[this])},isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(D){if(T.isNullOrUndef(D))return NaN;if("number"==typeof D&&!isFinite(D))return NaN;if(D)if(this.isHorizontal()){if(void 0!==D.x)return this.getRightValue(D.x)}else if(void 0!==D.y)return this.getRightValue(D.y);return D},getLabelForIndex:T.noop,getPixelForValue:T.noop,getValueForPixel:T.noop,getPixelForTick:function(D){var y=this,F=y.options.offset;if(y.isHorizontal()){var W=(y.width-(y.paddingLeft+y.paddingRight))/Math.max(y._ticks.length-(F?0:1),1),G=W*D+y.paddingLeft;return F&&(G+=W/2),y.left+Math.round(G)+(y.isFullWidth()?y.margins.left:0)}return y.top+D*((y.height-(y.paddingTop+y.paddingBottom))/(y._ticks.length-1))},getPixelForDecimal:function(D){var y=this;return y.isHorizontal()?y.left+Math.round((y.width-(y.paddingLeft+y.paddingRight))*D+y.paddingLeft)+(y.isFullWidth()?y.margins.left:0):y.top+D*y.height},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var D=this,y=D.min,F=D.max;return D.beginAtZero?0:y<0&&F<0?F:y>0&&F>0?y:0},_autoSkip:function(D){var y,ue,ee,te,F=this,N=F.isHorizontal(),W=F.options.ticks.minor,G=D.length,ie=T.toRadians(F.labelRotation),ce=Math.cos(ie),ne=F.longestLabelWidth*ce,Z=[];for(W.maxTicksLimit&&(te=W.maxTicksLimit),N&&(y=!1,(ne+W.autoSkipPadding)*G>F.width-(F.paddingLeft+F.paddingRight)&&(y=1+Math.floor((ne+W.autoSkipPadding)*G/(F.width-(F.paddingLeft+F.paddingRight)))),te&&G>te&&(y=Math.max(y,Math.floor(G/te)))),ue=0;ue1&&ue%y>0||ue%y==0&&ue+y>=G)&&ue!==G-1&&delete ee.label,Z.push(ee);return Z},draw:function(D){var y=this,F=y.options;if(F.display){var N=y.ctx,W=O.global,G=F.ticks.minor,ie=F.ticks.major||G,ce=F.gridLines,ne=F.scaleLabel,Z=0!==y.labelRotation,ue=y.isHorizontal(),ee=G.autoSkip?y._autoSkip(y.getTicks()):y.getTicks(),Q=T.valueOrDefault(G.fontColor,W.defaultFontColor),te=L(G),ae=T.valueOrDefault(ie.fontColor,W.defaultFontColor),le=L(ie),X=ce.drawTicks?ce.tickMarkLength:0,De=T.valueOrDefault(ne.fontColor,W.defaultFontColor),xe=L(ne),Fe=T.options.toPadding(ne.padding),He=T.toRadians(y.labelRotation),Ke=[],Xe=y.options.gridLines.lineWidth,Ne="right"===F.position?y.right:y.right-Xe-X,at="right"===F.position?y.right+X:y.right,Nt="bottom"===F.position?y.top+Xe:y.bottom-X-Xe,jt="bottom"===F.position?y.top+Xe+X:y.bottom+Xe;if(T.each(ee,function(de,he){if(!T.isNullOrUndef(de.label)){var Me,_e,we,Pe,fe=de.label;he===y.zeroLineIndex&&F.offset===ce.offsetGridLines?(Me=ce.zeroLineWidth,_e=ce.zeroLineColor,we=ce.zeroLineBorderDash,Pe=ce.zeroLineBorderDashOffset):(Me=T.valueAtIndexOrDefault(ce.lineWidth,he),_e=T.valueAtIndexOrDefault(ce.color,he),we=T.valueOrDefault(ce.borderDash,W.borderDash),Pe=T.valueOrDefault(ce.borderDashOffset,W.borderDashOffset));var Ie,Ae,ct,ht,nt,mn,An,Ft,zt,Kn,Vn="middle",ga="middle",Vi=G.padding;if(ue){var kr=X+Vi;"bottom"===F.position?(ga=Z?"middle":"top",Vn=Z?"right":"center",Kn=y.top+kr):(ga=Z?"middle":"bottom",Vn=Z?"left":"center",Kn=y.bottom-kr);var Gt=c(y,he,ce.offsetGridLines&&ee.length>1);Gt1);$e3?d[2]-d[1]:d[1]-d[0];Math.abs(c)>1&&T!==Math.floor(T)&&(c=T-Math.floor(T));var _=O.log10(Math.abs(c)),h="";if(0!==T){var L=-1*Math.floor(_);L=Math.max(Math.min(L,20),0),h=T.toFixed(L)}else h="0";return h},logarithmic:function(T,v,d){var c=T/Math.pow(10,Math.floor(O.log10(T)));return 0===T?"0":1===c||2===c||5===c||0===v||v===d.length-1?T.toExponential():""}}}},480:function(ve,be,H){"use strict";var O=H(9800),M=H(8839),T=H(3305);O._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:T.noop,title:function(d,c){var _="",h=c.labels,L=h?h.length:0;if(d.length>0){var w=d[0];w.xLabel?_=w.xLabel:L>0&&w.indexN.height-y.height&&(ie="bottom");var ce,ne,Z,ue,ee,Q=(W.left+W.right)/2,te=(W.top+W.bottom)/2;"center"===ie?(ce=function(X){return X<=Q},ne=function(X){return X>Q}):(ce=function(X){return X<=y.width/2},ne=function(X){return X>=N.width-y.width/2}),Z=function(X){return X+y.width+F.caretSize+F.caretPadding>N.width},ue=function(X){return X-y.width-F.caretSize-F.caretPadding<0},ee=function(X){return X<=te?"top":"bottom"},ce(F.x)?(G="left",Z(F.x)&&(G="center",ie=ee(F.y))):ne(F.x)&&(G="right",ue(F.x)&&(G="center",ie=ee(F.y)));var ae=D._options;return{xAlign:ae.xAlign?ae.xAlign:G,yAlign:ae.yAlign?ae.yAlign:ie}}(this,ue),Z=function x(D,y,F,N){var W=D.x,G=D.y,ce=D.caretPadding,Z=F.xAlign,ue=F.yAlign,ee=D.caretSize+ce,Q=D.cornerRadius+ce;return"right"===Z?W-=y.width:"center"===Z&&((W-=y.width/2)+y.width>N.width&&(W=N.width-y.width),W<0&&(W=0)),"top"===ue?G+=ee:G-="bottom"===ue?y.height+ee:y.height/2,"center"===ue?"left"===Z?W+=ee:"right"===Z&&(W-=ee):"left"===Z?W-=Q:"right"===Z&&(W+=Q),{x:W,y:G}}(G,ue,ne,F._chart)}else G.opacity=0;return G.xAlign=ne.xAlign,G.yAlign=ne.yAlign,G.x=Z.x,G.y=Z.y,G.width=ue.width,G.height=ue.height,G.caretX=ee.x,G.caretY=ee.y,F._model=G,y&&N.custom&&N.custom.call(F,G),F},drawCaret:function(y,F){var N=this._chart.ctx,G=this.getCaretPosition(y,F,this._view);N.lineTo(G.x1,G.y1),N.lineTo(G.x2,G.y2),N.lineTo(G.x3,G.y3)},getCaretPosition:function(y,F,N){var W,G,ie,ce,ne,Z,ue=N.caretSize,ee=N.cornerRadius,Q=N.xAlign,te=N.yAlign,ae=y.x,le=y.y,X=F.width,De=F.height;if("center"===te)ne=le+De/2,"left"===Q?(G=(W=ae)-ue,ie=W,ce=ne+ue,Z=ne-ue):(G=(W=ae+X)+ue,ie=W,ce=ne-ue,Z=ne+ue);else if("left"===Q?(W=(G=ae+ee+ue)-ue,ie=G+ue):"right"===Q?(W=(G=ae+X-ee-ue)-ue,ie=G+ue):(W=(G=N.caretX)-ue,ie=G+ue),"top"===te)ne=(ce=le)-ue,Z=ce;else{ne=(ce=le+De)+ue,Z=ce;var xe=ie;ie=W,W=xe}return{x1:W,x2:G,x3:ie,y1:ce,y2:ne,y3:Z}},drawTitle:function(y,F,N,W){var G=F.title;if(G.length){N.textAlign=F._titleAlign,N.textBaseline="top";var ne,Z,ie=F.titleFontSize,ce=F.titleSpacing;for(N.fillStyle=d(F.titleFontColor,W),N.font=T.fontString(ie,F._titleFontStyle,F._titleFontFamily),ne=0,Z=G.length;ne0&&N.stroke()},draw:function(){var y=this._chart.ctx,F=this._view;if(0!==F.opacity){var N={width:F.width,height:F.height},W={x:F.x,y:F.y},G=Math.abs(F.opacity<.001)?0:F.opacity;this._options.enabled&&(F.title.length||F.beforeBody.length||F.body.length||F.afterBody.length||F.footer.length)&&(this.drawBackground(W,F,y,N,G),W.x+=F.xPadding,W.y+=F.yPadding,this.drawTitle(W,F,y,G),this.drawBody(W,F,y,G),this.drawFooter(W,F,y,G))}},handleEvent:function(y){var W,F=this,N=F._options;return F._lastActive=F._lastActive||[],F._active="mouseout"===y.type?[]:F._chart.getElementsAtEventForMode(y,N.mode,N),(W=!T.arrayEquals(F._active,F._lastActive))&&(F._lastActive=F._active,(N.enabled||N.custom)&&(F._eventPosition={x:y.x,y:y.y},F.update(!0),F.pivot())),W}}),v.Tooltip.positioners={average:function(y){if(!y.length)return!1;var F,N,W=0,G=0,ie=0;for(F=0,N=y.length;FD;)L-=2*Math.PI;for(;L=x&&L<=D&&w>=_.innerRadius&&w<=_.outerRadius}return!1},getCenterPoint:function(){var d=this._view,c=(d.startAngle+d.endAngle)/2,_=(d.innerRadius+d.outerRadius)/2;return{x:d.x+Math.cos(c)*_,y:d.y+Math.sin(c)*_}},getArea:function(){var d=this._view;return Math.PI*((d.endAngle-d.startAngle)/(2*Math.PI))*(Math.pow(d.outerRadius,2)-Math.pow(d.innerRadius,2))},tooltipPosition:function(){var d=this._view,c=d.startAngle+(d.endAngle-d.startAngle)/2,_=(d.outerRadius-d.innerRadius)/2+d.innerRadius;return{x:d.x+Math.cos(c)*_,y:d.y+Math.sin(c)*_}},draw:function(){var d=this._chart.ctx,c=this._view,_=c.startAngle,h=c.endAngle;d.beginPath(),d.arc(c.x,c.y,c.outerRadius,_,h),d.arc(c.x,c.y,c.innerRadius,h,_,!0),d.closePath(),d.strokeStyle=c.borderColor,d.lineWidth=c.borderWidth,d.fillStyle=c.backgroundColor,d.fill(),d.lineJoin="bevel",c.borderWidth&&d.stroke()}})},3819:function(ve,be,H){"use strict";var O=H(9800),M=H(8839),T=H(3305),v=O.global;O._set("global",{elements:{line:{tension:.4,backgroundColor:v.defaultColor,borderWidth:3,borderColor:v.defaultColor,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}}),ve.exports=M.extend({draw:function(){var y,F,N,W,c=this,_=c._view,h=c._chart.ctx,L=_.spanGaps,w=c._children.slice(),x=v.elements.line,D=-1;for(c._loop&&w.length&&w.push(w[0]),h.save(),h.lineCap=_.borderCapStyle||x.borderCapStyle,h.setLineDash&&h.setLineDash(_.borderDash||x.borderDash),h.lineDashOffset=_.borderDashOffset||x.borderDashOffset,h.lineJoin=_.borderJoinStyle||x.borderJoinStyle,h.lineWidth=_.borderWidth||x.borderWidth,h.strokeStyle=_.borderColor||v.defaultColor,h.beginPath(),D=-1,y=0;y(h=_.base)?1:-1,y=1,F=_.borderSkipped||"left"):(h=_.x-_.width/2,L=_.x+_.width/2,D=1,y=(x=_.base)>(w=_.y)?1:-1,F=_.borderSkipped||"bottom"),N){var W=Math.min(Math.abs(h-L),Math.abs(w-x)),G=(N=N>W?W:N)/2,ie=h+("left"!==F?G*D:0),ce=L+("right"!==F?-G*D:0),ne=w+("top"!==F?G*y:0),Z=x+("bottom"!==F?-G*y:0);ie!==ce&&(w=ne,x=Z),ne!==Z&&(h=ie,L=ce)}c.beginPath(),c.fillStyle=_.backgroundColor,c.strokeStyle=_.borderColor,c.lineWidth=N;var ue=[[h,x],[h,w],[L,w],[L,x]],Q=["bottom","left","top","right"].indexOf(F,0);function te(X){return ue[(Q+X)%4]}-1===Q&&(Q=0);var ae=te(0);c.moveTo(ae[0],ae[1]);for(var le=1;le<4;le++)ae=te(le),c.lineTo(ae[0],ae[1]);c.fill(),N&&c.stroke()},height:function(){var c=this._view;return c.base-c.y},inRange:function(c,_){var h=!1;if(this._view){var L=v(this);h=c>=L.left&&c<=L.right&&_>=L.top&&_<=L.bottom}return h},inLabelRange:function(c,_){var h=this;if(!h._view)return!1;var w=v(h);return T(h)?c>=w.left&&c<=w.right:_>=w.top&&_<=w.bottom},inXRange:function(c){var _=v(this);return c>=_.left&&c<=_.right},inYRange:function(c){var _=v(this);return c>=_.top&&c<=_.bottom},getCenterPoint:function(){var _,h,c=this._view;return T(this)?(_=c.x,h=(c.y+c.base)/2):(_=(c.x+c.base)/2,h=c.y),{x:_,y:h}},getArea:function(){var c=this._view;return c.width*Math.abs(c.y-c.base)},tooltipPosition:function(){var c=this._view;return{x:c.x,y:c.y}}})},9931:function(ve,be,H){"use strict";ve.exports={},ve.exports.Arc=H(280),ve.exports.Line=H(3819),ve.exports.Point=H(4674),ve.exports.Rectangle=H(8667)},2397:function(ve,be,H){"use strict";var O=H(4396),M=ve.exports={clear:function(v){v.ctx.clearRect(0,0,v.width,v.height)},roundedRect:function(v,d,c,_,h,L){if(L){var w=Math.min(L,_/2),x=Math.min(L,h/2);v.moveTo(d+w,c),v.lineTo(d+_-w,c),v.quadraticCurveTo(d+_,c,d+_,c+x),v.lineTo(d+_,c+h-x),v.quadraticCurveTo(d+_,c+h,d+_-w,c+h),v.lineTo(d+w,c+h),v.quadraticCurveTo(d,c+h,d,c+h-x),v.lineTo(d,c+x),v.quadraticCurveTo(d,c,d+w,c)}else v.rect(d,c,_,h)},drawPoint:function(v,d,c,_,h){var L,w,x,D,y,F;if(!d||"object"!=typeof d||"[object HTMLImageElement]"!==(L=d.toString())&&"[object HTMLCanvasElement]"!==L){if(!(isNaN(c)||c<=0)){switch(d){default:v.beginPath(),v.arc(_,h,c,0,2*Math.PI),v.closePath(),v.fill();break;case"triangle":v.beginPath(),y=(w=3*c/Math.sqrt(3))*Math.sqrt(3)/2,v.moveTo(_-w/2,h+y/3),v.lineTo(_+w/2,h+y/3),v.lineTo(_,h-2*y/3),v.closePath(),v.fill();break;case"rect":F=1/Math.SQRT2*c,v.beginPath(),v.fillRect(_-F,h-F,2*F,2*F),v.strokeRect(_-F,h-F,2*F,2*F);break;case"rectRounded":var N=c/Math.SQRT2,W=_-N,G=h-N,ie=Math.SQRT2*c;v.beginPath(),this.roundedRect(v,W,G,ie,ie,c/2),v.closePath(),v.fill();break;case"rectRot":F=1/Math.SQRT2*c,v.beginPath(),v.moveTo(_-F,h),v.lineTo(_,h+F),v.lineTo(_+F,h),v.lineTo(_,h-F),v.closePath(),v.fill();break;case"cross":v.beginPath(),v.moveTo(_,h+c),v.lineTo(_,h-c),v.moveTo(_-c,h),v.lineTo(_+c,h),v.closePath();break;case"crossRot":v.beginPath(),x=Math.cos(Math.PI/4)*c,D=Math.sin(Math.PI/4)*c,v.moveTo(_-x,h-D),v.lineTo(_+x,h+D),v.moveTo(_-x,h+D),v.lineTo(_+x,h-D),v.closePath();break;case"star":v.beginPath(),v.moveTo(_,h+c),v.lineTo(_,h-c),v.moveTo(_-c,h),v.lineTo(_+c,h),x=Math.cos(Math.PI/4)*c,D=Math.sin(Math.PI/4)*c,v.moveTo(_-x,h-D),v.lineTo(_+x,h+D),v.moveTo(_-x,h+D),v.lineTo(_+x,h-D),v.closePath();break;case"line":v.beginPath(),v.moveTo(_-c,h),v.lineTo(_+c,h),v.closePath();break;case"dash":v.beginPath(),v.moveTo(_,h),v.lineTo(_+c,h),v.closePath()}v.stroke()}}else v.drawImage(d,_-d.width/2,h-d.height/2,d.width,d.height)},clipArea:function(v,d){v.save(),v.beginPath(),v.rect(d.left,d.top,d.right-d.left,d.bottom-d.top),v.clip()},unclipArea:function(v){v.restore()},lineTo:function(v,d,c,_){if(c.steppedLine)return"after"===c.steppedLine&&!_||"after"!==c.steppedLine&&_?v.lineTo(d.x,c.y):v.lineTo(c.x,d.y),void v.lineTo(c.x,c.y);c.tension?v.bezierCurveTo(_?d.controlPointPreviousX:d.controlPointNextX,_?d.controlPointPreviousY:d.controlPointNextY,_?c.controlPointNextX:c.controlPointPreviousX,_?c.controlPointNextY:c.controlPointPreviousY,c.x,c.y):v.lineTo(c.x,c.y)}};O.clear=M.clear,O.drawRoundedRectangle=function(T){T.beginPath(),M.roundedRect.apply(M,arguments),T.closePath()}},4396:function(ve){"use strict";var H,be={noop:function(){},uid:(H=0,function(){return H++}),isNullOrUndef:function(O){return null==O},isArray:Array.isArray?Array.isArray:function(H){return"[object Array]"===Object.prototype.toString.call(H)},isObject:function(O){return null!==O&&"[object Object]"===Object.prototype.toString.call(O)},valueOrDefault:function(O,M){return void 0===O?M:O},valueAtIndexOrDefault:function(O,M,T){return be.valueOrDefault(be.isArray(O)?O[M]:O,T)},callback:function(O,M,T){if(O&&"function"==typeof O.call)return O.apply(T,M)},each:function(O,M,T,v){var d,c,_;if(be.isArray(O))if(c=O.length,v)for(d=c-1;d>=0;d--)M.call(T,O[d],d);else for(d=0;d=1?v:-(Math.sqrt(1-v*v)-1)},easeOutCirc:function(v){return Math.sqrt(1-(v-=1)*v)},easeInOutCirc:function(v){return(v/=.5)<1?-.5*(Math.sqrt(1-v*v)-1):.5*(Math.sqrt(1-(v-=2)*v)+1)},easeInElastic:function(v){var d=1.70158,c=0,_=1;return 0===v?0:1===v?1:(c||(c=.3),_<1?(_=1,d=c/4):d=c/(2*Math.PI)*Math.asin(1/_),-_*Math.pow(2,10*(v-=1))*Math.sin((v-d)*(2*Math.PI)/c))},easeOutElastic:function(v){var d=1.70158,c=0,_=1;return 0===v?0:1===v?1:(c||(c=.3),_<1?(_=1,d=c/4):d=c/(2*Math.PI)*Math.asin(1/_),_*Math.pow(2,-10*v)*Math.sin((v-d)*(2*Math.PI)/c)+1)},easeInOutElastic:function(v){var d=1.70158,c=0,_=1;return 0===v?0:2==(v/=.5)?1:(c||(c=.45),_<1?(_=1,d=c/4):d=c/(2*Math.PI)*Math.asin(1/_),v<1?_*Math.pow(2,10*(v-=1))*Math.sin((v-d)*(2*Math.PI)/c)*-.5:_*Math.pow(2,-10*(v-=1))*Math.sin((v-d)*(2*Math.PI)/c)*.5+1)},easeInBack:function(v){var d=1.70158;return v*v*((d+1)*v-d)},easeOutBack:function(v){var d=1.70158;return(v-=1)*v*((d+1)*v+d)+1},easeInOutBack:function(v){var d=1.70158;return(v/=.5)<1?v*v*((1+(d*=1.525))*v-d)*.5:.5*((v-=2)*v*((1+(d*=1.525))*v+d)+2)},easeInBounce:function(v){return 1-M.easeOutBounce(1-v)},easeOutBounce:function(v){return v<1/2.75?7.5625*v*v:v<2/2.75?7.5625*(v-=1.5/2.75)*v+.75:v<2.5/2.75?7.5625*(v-=2.25/2.75)*v+.9375:7.5625*(v-=2.625/2.75)*v+.984375},easeInOutBounce:function(v){return v<.5?.5*M.easeInBounce(2*v):.5*M.easeOutBounce(2*v-1)+.5}};ve.exports={effects:M},O.easingEffects=M},5347:function(ve,be,H){"use strict";var O=H(4396);ve.exports={toLineHeight:function(T,v){var d=(""+T).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!d||"normal"===d[1])return 1.2*v;switch(T=+d[2],d[3]){case"px":return T;case"%":T/=100}return v*T},toPadding:function(T){var v,d,c,_;return O.isObject(T)?(v=+T.top||0,d=+T.right||0,c=+T.bottom||0,_=+T.left||0):v=d=c=_=+T||0,{top:v,right:d,bottom:c,left:_,height:v+c,width:_+d}},resolve:function(T,v,d){var c,_,h;for(c=0,_=T.length;c<_;++c)if(void 0!==(h=T[c])&&(void 0!==v&&"function"==typeof h&&(h=h(v)),void 0!==d&&O.isArray(h)&&(h=h[d]),void 0!==h))return h}}},3305:function(ve,be,H){"use strict";ve.exports=H(4396),ve.exports.easing=H(4317),ve.exports.canvas=H(2397),ve.exports.options=H(5347)},1607:function(ve){ve.exports={acquireContext:function(H){return H&&H.canvas&&(H=H.canvas),H&&H.getContext("2d")||null}}},8005:function(ve,be,H){"use strict";var O=H(3305),M="$chartjs",T="chartjs-",v=T+"render-monitor",d=T+"render-animation",c=["animationstart","webkitAnimationStart"],_={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function h(ee,Q){var te=O.getStyle(ee,Q),ae=te&&te.match(/^(\d+)(\.\d+)?px$/);return ae?Number(ae[1]):void 0}var x=!!function(){var ee=!1;try{var Q=Object.defineProperty({},"passive",{get:function(){ee=!0}});window.addEventListener("e",null,Q)}catch(te){}return ee}()&&{passive:!0};function D(ee,Q,te){ee.addEventListener(Q,te,x)}function y(ee,Q,te){ee.removeEventListener(Q,te,x)}function F(ee,Q,te,ae,le){return{type:ee,chart:Q,native:le||null,x:void 0!==te?te:null,y:void 0!==ae?ae:null}}ve.exports={_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,initialize:function(){var Q="from{opacity:0.99}to{opacity:1}";!function ue(ee,Q){var te=ee._style||document.createElement("style");ee._style||(ee._style=te,Q="/* Chart.js */\n"+Q,te.setAttribute("type","text/css"),document.getElementsByTagName("head")[0].appendChild(te)),te.appendChild(document.createTextNode(Q))}(this,"@-webkit-keyframes "+d+"{"+Q+"}@keyframes "+d+"{"+Q+"}."+v+"{-webkit-animation:"+d+" 0.001s;animation:"+d+" 0.001s;}")},acquireContext:function(Q,te){"string"==typeof Q?Q=document.getElementById(Q):Q.length&&(Q=Q[0]),Q&&Q.canvas&&(Q=Q.canvas);var ae=Q&&Q.getContext&&Q.getContext("2d");return ae&&ae.canvas===Q?(function L(ee,Q){var te=ee.style,ae=ee.getAttribute("height"),le=ee.getAttribute("width");if(ee[M]={initial:{height:ae,width:le,style:{display:te.display,height:te.height,width:te.width}}},te.display=te.display||"block",null===le||""===le){var X=h(ee,"width");void 0!==X&&(ee.width=X)}if(null===ae||""===ae)if(""===ee.style.height)ee.height=ee.width/(Q.options.aspectRatio||2);else{var De=h(ee,"height");void 0!==X&&(ee.height=De)}}(Q,te),ae):null},releaseContext:function(Q){var te=Q.canvas;if(te[M]){var ae=te[M].initial;["height","width"].forEach(function(le){var X=ae[le];O.isNullOrUndef(X)?te.removeAttribute(le):te.setAttribute(le,X)}),O.each(ae.style||{},function(le,X){te.style[X]=le}),te.width=te.width,delete te[M]}},addEventListener:function(Q,te,ae){var le=Q.canvas;if("resize"!==te){var X=ae[M]||(ae[M]={}),xe=(X.proxies||(X.proxies={}))[Q.id+"_"+te]=function(Fe){ae(function N(ee,Q){var te=_[ee.type]||ee.type,ae=O.getRelativePosition(ee,Q);return F(te,Q,ae.x,ae.y,ee)}(Fe,Q))};D(le,te,xe)}else!function ne(ee,Q,te){var ae=ee[M]||(ee[M]={}),le=ae.resizer=function G(ee){var Q=document.createElement("div"),te=T+"size-monitor",ae=1e6,le="position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1;";Q.style.cssText=le,Q.className=te,Q.innerHTML='
';var X=Q.childNodes[0],De=Q.childNodes[1];Q._reset=function(){X.scrollLeft=ae,X.scrollTop=ae,De.scrollLeft=ae,De.scrollTop=ae};var xe=function(){Q._reset(),ee()};return D(X,"scroll",xe.bind(X,"expand")),D(De,"scroll",xe.bind(De,"shrink")),Q}(function W(ee,Q){var te=!1,ae=[];return function(){ae=Array.prototype.slice.call(arguments),Q=Q||this,te||(te=!0,O.requestAnimFrame.call(window,function(){te=!1,ee.apply(Q,ae)}))}}(function(){if(ae.resizer)return Q(F("resize",te))}));!function ie(ee,Q){var te=ee[M]||(ee[M]={}),ae=te.renderProxy=function(le){le.animationName===d&&Q()};O.each(c,function(le){D(ee,le,ae)}),te.reflow=!!ee.offsetParent,ee.classList.add(v)}(ee,function(){if(ae.resizer){var X=ee.parentNode;X&&X!==le.parentNode&&X.insertBefore(le,X.firstChild),le._reset()}})}(le,ae,Q)},removeEventListener:function(Q,te,ae){var le=Q.canvas;if("resize"!==te){var xe=((ae[M]||{}).proxies||{})[Q.id+"_"+te];!xe||y(le,te,xe)}else!function Z(ee){var Q=ee[M]||{},te=Q.resizer;delete Q.resizer,function ce(ee){var Q=ee[M]||{},te=Q.renderProxy;te&&(O.each(c,function(ae){y(ee,ae,te)}),delete Q.renderProxy),ee.classList.remove(v)}(ee),te&&te.parentNode&&te.parentNode.removeChild(te)}(le)}},O.addEvent=D,O.removeEvent=y},8244:function(ve,be,H){"use strict";var O=H(3305),M=H(1607),T=H(8005);ve.exports=O.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},T._enabled?T:M)},6747:function(ve,be,H){"use strict";ve.exports={},ve.exports.filler=H(6579),ve.exports.legend=H(2230),ve.exports.title=H(7412)},6579:function(ve,be,H){"use strict";var O=H(9800),M=H(9931),T=H(3305);O._set("global",{plugins:{filler:{propagate:!0}}});var v={dataset:function(y){var F=y.fill,N=y.chart,W=N.getDatasetMeta(F),ie=W&&N.isDatasetVisible(F)&&W.dataset._children||[],ce=ie.length||0;return ce?function(ne,Z){return Z=F)&&G;switch(W){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return W;default:return!1}}function c(D){var G,y=D.el._model||{},F=D.el._scale||{},N=D.fill,W=null;if(isFinite(N))return null;if("start"===N?W=void 0===y.scaleBottom?F.bottom:y.scaleBottom:"end"===N?W=void 0===y.scaleTop?F.top:y.scaleTop:void 0!==y.scaleZero?W=y.scaleZero:F.getBasePosition?W=F.getBasePosition():F.getBasePixel&&(W=F.getBasePixel()),null!=W){if(void 0!==W.x&&void 0!==W.y)return W;if("number"==typeof W&&isFinite(W))return{x:(G=F.isHorizontal())?W:null,y:G?null:W}}return null}function _(D,y,F){var ie,W=D[y].fill,G=[y];if(!F)return W;for(;!1!==W&&-1===G.indexOf(W);){if(!isFinite(W))return W;if(!(ie=D[W]))return!1;if(ie.visible)return W;G.push(W),W=ie.fill}return!1}function h(D){var y=D.fill,F="dataset";return!1===y?null:(isFinite(y)||(F="boundary"),v[F](D))}function L(D){return D&&!D.skip}function w(D,y,F,N,W){var G;if(N&&W){for(D.moveTo(y[0].x,y[0].y),G=1;G0;--G)T.canvas.lineTo(D,F[G],F[G-1],!0)}}ve.exports={id:"filler",afterDatasetsUpdate:function(y,F){var ie,ce,ne,Z,N=(y.data.datasets||[]).length,W=F.propagate,G=[];for(ce=0;ce');for(var D=0;D'),w.data.datasets[D].label&&x.push(w.data.datasets[D].label),x.push("");return x.push(""),x.join("")}});var _=M.extend({initialize:function(w){T.extend(this,w),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:d,update:function(w,x,D){var y=this;return y.beforeUpdate(),y.maxWidth=w,y.maxHeight=x,y.margins=D,y.beforeSetDimensions(),y.setDimensions(),y.afterSetDimensions(),y.beforeBuildLabels(),y.buildLabels(),y.afterBuildLabels(),y.beforeFit(),y.fit(),y.afterFit(),y.afterUpdate(),y.minSize},afterUpdate:d,beforeSetDimensions:d,setDimensions:function(){var w=this;w.isHorizontal()?(w.width=w.maxWidth,w.left=0,w.right=w.width):(w.height=w.maxHeight,w.top=0,w.bottom=w.height),w.paddingLeft=0,w.paddingTop=0,w.paddingRight=0,w.paddingBottom=0,w.minSize={width:0,height:0}},afterSetDimensions:d,beforeBuildLabels:d,buildLabels:function(){var w=this,x=w.options.labels||{},D=T.callback(x.generateLabels,[w.chart],w)||[];x.filter&&(D=D.filter(function(y){return x.filter(y,w.chart.data)})),w.options.reverse&&D.reverse(),w.legendItems=D},afterBuildLabels:d,beforeFit:d,fit:function(){var w=this,x=w.options,D=x.labels,y=x.display,F=w.ctx,N=O.global,W=T.valueOrDefault,G=W(D.fontSize,N.defaultFontSize),ie=W(D.fontStyle,N.defaultFontStyle),ce=W(D.fontFamily,N.defaultFontFamily),ne=T.fontString(G,ie,ce),Z=w.legendHitBoxes=[],ue=w.minSize,ee=w.isHorizontal();if(ee?(ue.width=w.maxWidth,ue.height=y?10:0):(ue.width=y?10:0,ue.height=w.maxHeight),y)if(F.font=ne,ee){var Q=w.lineWidths=[0],te=w.legendItems.length?G+D.padding:0;F.textAlign="left",F.textBaseline="top",T.each(w.legendItems,function(He,Ke){var Ne=c(D,G)+G/2+F.measureText(He.text).width;Q[Q.length-1]+Ne+D.padding>=w.width&&(te+=G+D.padding,Q[Q.length]=w.left),Z[Ke]={left:0,top:0,width:Ne,height:G},Q[Q.length-1]+=Ne+D.padding}),ue.height+=te}else{var ae=D.padding,le=w.columnWidths=[],X=D.padding,De=0,xe=0,Fe=G+ae;T.each(w.legendItems,function(He,Ke){var Ne=c(D,G)+G/2+F.measureText(He.text).width;xe+Fe>ue.height&&(X+=De+D.padding,le.push(De),De=0,xe=0),De=Math.max(De,Ne),xe+=Fe,Z[Ke]={left:0,top:0,width:Ne,height:G}}),X+=De,le.push(De),ue.width+=X}w.width=ue.width,w.height=ue.height},afterFit:d,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var w=this,x=w.options,D=x.labels,y=O.global,F=y.elements.line,N=w.width,W=w.lineWidths;if(x.display){var Q,G=w.ctx,ie=T.valueOrDefault,ce=ie(D.fontColor,y.defaultFontColor),ne=ie(D.fontSize,y.defaultFontSize),Z=ie(D.fontStyle,y.defaultFontStyle),ue=ie(D.fontFamily,y.defaultFontFamily),ee=T.fontString(ne,Z,ue);G.textAlign="left",G.textBaseline="middle",G.lineWidth=.5,G.strokeStyle=ce,G.fillStyle=ce,G.font=ee;var te=c(D,ne),ae=w.legendHitBoxes,De=w.isHorizontal();Q=De?{x:w.left+(N-W[0])/2,y:w.top+D.padding,line:0}:{x:w.left+D.padding,y:w.top+D.padding,line:0};var xe=ne+D.padding;T.each(w.legendItems,function(Fe,He){var Ke=G.measureText(Fe.text).width,Xe=te+ne/2+Ke,Ne=Q.x,at=Q.y;De?Ne+Xe>=N&&(at=Q.y+=xe,Q.line++,Ne=Q.x=w.left+(N-W[Q.line])/2):at+xe>w.bottom&&(Ne=Q.x=Ne+w.columnWidths[Q.line]+D.padding,at=Q.y=w.top+D.padding,Q.line++),function(He,Ke,Xe){if(!(isNaN(te)||te<=0)){G.save(),G.fillStyle=ie(Xe.fillStyle,y.defaultColor),G.lineCap=ie(Xe.lineCap,F.borderCapStyle),G.lineDashOffset=ie(Xe.lineDashOffset,F.borderDashOffset),G.lineJoin=ie(Xe.lineJoin,F.borderJoinStyle),G.lineWidth=ie(Xe.lineWidth,F.borderWidth),G.strokeStyle=ie(Xe.strokeStyle,y.defaultColor);var Ne=0===ie(Xe.lineWidth,F.borderWidth);if(G.setLineDash&&G.setLineDash(ie(Xe.lineDash,F.borderDash)),x.labels&&x.labels.usePointStyle){var at=ne*Math.SQRT2/2,Nt=at/Math.SQRT2;T.canvas.drawPoint(G,Xe.pointStyle,at,He+Nt,Ke+Nt)}else Ne||G.strokeRect(He,Ke,te,ne),G.fillRect(He,Ke,te,ne);G.restore()}}(Ne,at,Fe),ae[He].left=Ne,ae[He].top=at,function(He,Ke,Xe,Ne){var at=ne/2,Nt=te+at+He,jt=Ke+at;G.fillText(Xe.text,Nt,jt),Xe.hidden&&(G.beginPath(),G.lineWidth=2,G.moveTo(Nt,jt),G.lineTo(Nt+Ne,jt),G.stroke())}(Ne,at,Fe,Ke),De?Q.x+=Xe+D.padding:Q.y+=xe})}},handleEvent:function(w){var x=this,D=x.options,y="mouseup"===w.type?"click":w.type,F=!1;if("mousemove"===y){if(!D.onHover)return}else{if("click"!==y)return;if(!D.onClick)return}var N=w.x,W=w.y;if(N>=x.left&&N<=x.right&&W>=x.top&&W<=x.bottom)for(var G=x.legendHitBoxes,ie=0;ie=ce.left&&N<=ce.left+ce.width&&W>=ce.top&&W<=ce.top+ce.height){if("click"===y){D.onClick.call(x,w.native,x.legendItems[ie]),F=!0;break}if("mousemove"===y){D.onHover.call(x,w.native,x.legendItems[ie]),F=!0;break}}}return F}});function h(L,w){var x=new _({ctx:L.ctx,options:w,chart:L});v.configure(L,x,w),v.addBox(L,x),L.legend=x}ve.exports={id:"legend",_element:_,beforeInit:function(w){var x=w.options.legend;x&&h(w,x)},beforeUpdate:function(w){var x=w.options.legend,D=w.legend;x?(T.mergeIf(x,O.global.legend),D?(v.configure(w,D,x),D.options=x):h(w,x)):D&&(v.removeBox(w,D),delete w.legend)},afterEvent:function(w,x){var D=w.legend;D&&D.handleEvent(x)}}},7412:function(ve,be,H){"use strict";var O=H(9800),M=H(8839),T=H(3305),v=H(2294),d=T.noop;O._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,lineHeight:1.2,padding:10,position:"top",text:"",weight:2e3}});var c=M.extend({initialize:function(L){T.extend(this,L),this.legendHitBoxes=[]},beforeUpdate:d,update:function(L,w,x){var D=this;return D.beforeUpdate(),D.maxWidth=L,D.maxHeight=w,D.margins=x,D.beforeSetDimensions(),D.setDimensions(),D.afterSetDimensions(),D.beforeBuildLabels(),D.buildLabels(),D.afterBuildLabels(),D.beforeFit(),D.fit(),D.afterFit(),D.afterUpdate(),D.minSize},afterUpdate:d,beforeSetDimensions:d,setDimensions:function(){var L=this;L.isHorizontal()?(L.width=L.maxWidth,L.left=0,L.right=L.width):(L.height=L.maxHeight,L.top=0,L.bottom=L.height),L.paddingLeft=0,L.paddingTop=0,L.paddingRight=0,L.paddingBottom=0,L.minSize={width:0,height:0}},afterSetDimensions:d,beforeBuildLabels:d,buildLabels:d,afterBuildLabels:d,beforeFit:d,fit:function(){var L=this,x=L.options,D=x.display,y=(0,T.valueOrDefault)(x.fontSize,O.global.defaultFontSize),F=L.minSize,N=T.isArray(x.text)?x.text.length:1,W=T.options.toLineHeight(x.lineHeight,y),G=D?N*W+2*x.padding:0;L.isHorizontal()?(F.width=L.maxWidth,F.height=G):(F.width=G,F.height=L.maxHeight),L.width=F.width,L.height=F.height},afterFit:d,isHorizontal:function(){var L=this.options.position;return"top"===L||"bottom"===L},draw:function(){var L=this,w=L.ctx,x=T.valueOrDefault,D=L.options,y=O.global;if(D.display){var te,ae,le,F=x(D.fontSize,y.defaultFontSize),N=x(D.fontStyle,y.defaultFontStyle),W=x(D.fontFamily,y.defaultFontFamily),G=T.fontString(F,N,W),ie=T.options.toLineHeight(D.lineHeight,F),ce=ie/2+D.padding,ne=0,Z=L.top,ue=L.left,ee=L.bottom,Q=L.right;w.fillStyle=x(D.fontColor,y.defaultFontColor),w.font=G,L.isHorizontal()?(ae=ue+(Q-ue)/2,le=Z+ce,te=Q-ue):(ae="left"===D.position?ue+ce:Q-ce,le=Z+(ee-Z)/2,te=ee-Z,ne=Math.PI*("left"===D.position?-.5:.5)),w.save(),w.translate(ae,le),w.rotate(ne),w.textAlign="center",w.textBaseline="middle";var X=D.text;if(T.isArray(X))for(var De=0,xe=0;xeh.max)&&(h.max=Q))})});h.min=isFinite(h.min)&&!isNaN(h.min)?h.min:0,h.max=isFinite(h.max)&&!isNaN(h.max)?h.max:1,this.handleTickRangeOptions()},getTickLimit:function(){var h,L=this,w=L.options.ticks;if(L.isHorizontal())h=Math.min(w.maxTicksLimit?w.maxTicksLimit:11,Math.ceil(L.width/50));else{var x=M.valueOrDefault(w.fontSize,O.global.defaultFontSize);h=Math.min(w.maxTicksLimit?w.maxTicksLimit:11,Math.ceil(L.height/(2*x)))}return h},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(h,L){return+this.getRightValue(this.chart.data.datasets[L].data[h])},getPixelForValue:function(h){var L=this,w=L.start,x=+L.getRightValue(h),y=L.end-w;return L.isHorizontal()?L.left+L.width/y*(x-w):L.bottom-L.height/y*(x-w)},getValueForPixel:function(h){var L=this,w=L.isHorizontal();return L.start+(w?h-L.left:L.bottom-h)/(w?L.width:L.height)*(L.end-L.start)},getPixelForTick:function(h){return this.getPixelForValue(this.ticksAsNumbers[h])}});v.scaleService.registerScaleType("linear",c,d)}},8351:function(ve,be,H){"use strict";var O=H(3305);ve.exports=function(T){var v=O.noop;T.LinearScaleBase=T.Scale.extend({getRightValue:function(c){return"string"==typeof c?+c:T.Scale.prototype.getRightValue.call(this,c)},handleTickRangeOptions:function(){var c=this,h=c.options.ticks;if(h.beginAtZero){var L=O.sign(c.min),w=O.sign(c.max);L<0&&w<0?c.max=0:L>0&&w>0&&(c.min=0)}var x=void 0!==h.min||void 0!==h.suggestedMin,D=void 0!==h.max||void 0!==h.suggestedMax;void 0!==h.min?c.min=h.min:void 0!==h.suggestedMin&&(c.min=null===c.min?h.suggestedMin:Math.min(c.min,h.suggestedMin)),void 0!==h.max?c.max=h.max:void 0!==h.suggestedMax&&(c.max=null===c.max?h.suggestedMax:Math.max(c.max,h.suggestedMax)),x!==D&&c.min>=c.max&&(x?c.max=c.min+1:c.min=c.max-1),c.min===c.max&&(c.max++,h.beginAtZero||c.min--)},getTickLimit:v,handleDirectionalChanges:v,buildTicks:function(){var c=this,h=c.options.ticks,L=c.getTickLimit(),w={maxTicks:L=Math.max(2,L),min:h.min,max:h.max,stepSize:O.valueOrDefault(h.fixedStepSize,h.stepSize)},x=c.ticks=function M(T,v){var c,d=[];if(T.stepSize&&T.stepSize>0)c=T.stepSize;else{var _=O.niceNum(v.max-v.min,!1);c=O.niceNum(_/(T.maxTicks-1),!0)}var h=Math.floor(v.min/c)*c,L=Math.ceil(v.max/c)*c;T.min&&T.max&&T.stepSize&&O.almostWhole((T.max-T.min)/T.stepSize,c/1e3)&&(h=T.min,L=T.max);var w=(L-h)/c;w=O.almostEquals(w,Math.round(w),c/1e3)?Math.round(w):Math.ceil(w);var x=1;c<1&&(x=Math.pow(10,c.toString().length-2),h=Math.round(h*x)/x,L=Math.round(L*x)/x),d.push(void 0!==T.min?T.min:h);for(var D=1;D0){var ie=O.min(G),ce=O.max(G);h.min=null===h.min?ie:Math.min(h.min,ie),h.max=null===h.max?ce:Math.max(h.max,ce)}})}else O.each(D,function(G,ie){var ce=w.getDatasetMeta(ie);w.isDatasetVisible(ie)&&F(ce)&&O.each(G.data,function(ne,Z){var ue=+h.getRightValue(ne);isNaN(ue)||ce.data[Z].hidden||ue<0||((null===h.min||ueh.max)&&(h.max=ue),0!==ue&&(null===h.minNotZero||ue0?h.min:h.max<1?Math.pow(10,Math.floor(O.log10(h.max))):1)},buildTicks:function(){var h=this,w=h.options.ticks,x=!h.isHorizontal(),y=h.ticks=function T(v,d){var x,D,c=[],_=O.valueOrDefault,h=_(v.min,Math.pow(10,Math.floor(O.log10(d.min)))),L=Math.floor(O.log10(d.max)),w=Math.ceil(d.max/Math.pow(10,L));0===h?(x=Math.floor(O.log10(d.minNotZero)),D=Math.floor(d.minNotZero/Math.pow(10,x)),c.push(h),h=D*Math.pow(10,x)):(x=Math.floor(O.log10(h)),D=Math.floor(h/Math.pow(10,x)));var y=x<0?Math.pow(10,Math.abs(x)):1;do{c.push(h),10==++D&&(D=1,y=++x>=0?1:y),h=Math.round(D*Math.pow(10,x)*y)/y}while(xQ?{start:Z-ue-5,end:Z}:{start:Z,end:Z+ue+5}}function y(ne){return 0===ne||180===ne?"center":ne<180?"left":"right"}function F(ne,Z,ue,ee){if(M.isArray(Z))for(var Q=ue.y,te=1.5*ee,ae=0;ae270||ne<90)&&(ue.y-=Z.h)}function ie(ne){return M.isNumber(ne)?ne:0}var ce=v.LinearScaleBase.extend({setDimensions:function(){var Z=this,ue=Z.options,ee=ue.ticks;Z.width=Z.maxWidth,Z.height=Z.maxHeight,Z.xCenter=Math.round(Z.width/2),Z.yCenter=Math.round(Z.height/2);var Q=M.min([Z.height,Z.width]),te=M.valueOrDefault(ee.fontSize,d.defaultFontSize);Z.drawingArea=ue.display?Q/2-(te/2+ee.backdropPaddingY):Q/2},determineDataLimits:function(){var Z=this,ue=Z.chart,ee=Number.POSITIVE_INFINITY,Q=Number.NEGATIVE_INFINITY;M.each(ue.data.datasets,function(te,ae){if(ue.isDatasetVisible(ae)){var le=ue.getDatasetMeta(ae);M.each(te.data,function(X,De){var xe=+Z.getRightValue(X);isNaN(xe)||le.data[De].hidden||(ee=Math.min(xe,ee),Q=Math.max(xe,Q))})}}),Z.min=ee===Number.POSITIVE_INFINITY?0:ee,Z.max=Q===Number.NEGATIVE_INFINITY?0:Q,Z.handleTickRangeOptions()},getTickLimit:function(){var Z=this.options.ticks,ue=M.valueOrDefault(Z.fontSize,d.defaultFontSize);return Math.min(Z.maxTicksLimit?Z.maxTicksLimit:11,Math.ceil(this.drawingArea/(1.5*ue)))},convertTicksToLabels:function(){var Z=this;v.LinearScaleBase.prototype.convertTicksToLabels.call(Z),Z.pointLabels=Z.chart.data.labels.map(Z.options.pointLabels.callback,Z)},getLabelForIndex:function(Z,ue){return+this.getRightValue(this.chart.data.datasets[ue].data[Z])},fit:function(){this.options.pointLabels.display?function x(ne){var te,ae,le,Z=h(ne),ue=Math.min(ne.height/2,ne.width/2),ee={r:ne.width,l:0,t:ne.height,b:0},Q={};ne.ctx.font=Z.font,ne._pointLabelSizes=[];var X=_(ne);for(te=0;teee.r&&(ee.r=Fe.end,Q.r=De),He.startee.b&&(ee.b=He.end,Q.b=De)}ne.setReductions(ue,ee,Q)}(this):function D(ne){var Z=Math.min(ne.height/2,ne.width/2);ne.drawingArea=Math.round(Z),ne.setCenterPoint(0,0,0,0)}(this)},setReductions:function(Z,ue,ee){var Q=this,te=ue.l/Math.sin(ee.l),ae=Math.max(ue.r-Q.width,0)/Math.sin(ee.r),le=-ue.t/Math.cos(ee.t),X=-Math.max(ue.b-Q.height,0)/Math.cos(ee.b);te=ie(te),ae=ie(ae),le=ie(le),X=ie(X),Q.drawingArea=Math.min(Math.round(Z-(te+ae)/2),Math.round(Z-(le+X)/2)),Q.setCenterPoint(te,ae,le,X)},setCenterPoint:function(Z,ue,ee,Q){var te=this,X=ee+te.drawingArea,De=te.height-Q-te.drawingArea;te.xCenter=Math.round((Z+te.drawingArea+(te.width-ue-te.drawingArea))/2+te.left),te.yCenter=Math.round((X+De)/2+te.top)},getIndexAngle:function(Z){return Z*(2*Math.PI/_(this))+(this.chart.options&&this.chart.options.startAngle?this.chart.options.startAngle:0)*Math.PI*2/360},getDistanceFromCenterForValue:function(Z){var ue=this;if(null===Z)return 0;var ee=ue.drawingArea/(ue.max-ue.min);return ue.options.ticks.reverse?(ue.max-Z)*ee:(Z-ue.min)*ee},getPointPosition:function(Z,ue){var Q=this.getIndexAngle(Z)-Math.PI/2;return{x:Math.round(Math.cos(Q)*ue)+this.xCenter,y:Math.round(Math.sin(Q)*ue)+this.yCenter}},getPointPositionForValue:function(Z,ue){return this.getPointPosition(Z,this.getDistanceFromCenterForValue(ue))},getBasePosition:function(){var Z=this,ue=Z.min,ee=Z.max;return Z.getPointPositionForValue(0,Z.beginAtZero?0:ue<0&&ee<0?ee:ue>0&&ee>0?ue:0)},draw:function(){var Z=this,ue=Z.options,ee=ue.gridLines,Q=ue.ticks,te=M.valueOrDefault;if(ue.display){var ae=Z.ctx,le=this.getIndexAngle(0),X=te(Q.fontSize,d.defaultFontSize),De=te(Q.fontStyle,d.defaultFontStyle),xe=te(Q.fontFamily,d.defaultFontFamily),Fe=M.fontString(X,De,xe);M.each(Z.ticks,function(He,Ke){if(Ke>0||Q.reverse){var Xe=Z.getDistanceFromCenterForValue(Z.ticksAsNumbers[Ke]);if(ee.display&&0!==Ke&&function G(ne,Z,ue,ee){var Q=ne.ctx;if(Q.strokeStyle=M.valueAtIndexOrDefault(Z.color,ee-1),Q.lineWidth=M.valueAtIndexOrDefault(Z.lineWidth,ee-1),ne.options.gridLines.circular)Q.beginPath(),Q.arc(ne.xCenter,ne.yCenter,ue,0,2*Math.PI),Q.closePath(),Q.stroke();else{var te=_(ne);if(0===te)return;Q.beginPath();var ae=ne.getPointPosition(0,ue);Q.moveTo(ae.x,ae.y);for(var le=1;le=0;le--){if(ee.display){var X=ne.getPointPosition(le,te);Z.beginPath(),Z.moveTo(ne.xCenter,ne.yCenter),Z.lineTo(X.x,X.y),Z.stroke(),Z.closePath()}if(Q.display){var De=ne.getPointPosition(le,te+5),xe=M.valueAtIndexOrDefault(Q.fontColor,le,d.defaultFontColor);Z.font=ae.font,Z.fillStyle=xe;var Fe=ne.getIndexAngle(le),He=M.toDegrees(Fe);Z.textAlign=y(He),N(He,ne._pointLabelSizes[le],De),F(Z,ne.pointLabels[le]||"",De,ae.size)}}}(Z)}}});v.scaleService.registerScaleType("radialLinear",ce,c)}},4215:function(ve,be,H){"use strict";var O=H(5439);O="function"==typeof O?O:window.moment;var M=H(9800),T=H(3305),v=Number.MIN_SAFE_INTEGER||-9007199254740991,d=Number.MAX_SAFE_INTEGER||9007199254740991,c={millisecond:{common:!0,size:1,steps:[1,2,5,10,20,50,100,250,500]},second:{common:!0,size:1e3,steps:[1,2,5,10,30]},minute:{common:!0,size:6e4,steps:[1,2,5,10,30]},hour:{common:!0,size:36e5,steps:[1,2,3,6,12]},day:{common:!0,size:864e5,steps:[1,2,5]},week:{common:!1,size:6048e5,steps:[1,2,3,4]},month:{common:!0,size:2628e6,steps:[1,2,3]},quarter:{common:!1,size:7884e6,steps:[1,2,3,4]},year:{common:!0,size:3154e7}},_=Object.keys(c);function h(ee,Q){return ee-Q}function L(ee){var ae,le,X,Q={},te=[];for(ae=0,le=ee.length;ae=0&&ae<=le;){if(xe=ee[X=ae+le>>1],!(De=ee[X-1]||null))return{lo:null,hi:xe};if(xe[Q]te))return{lo:De,hi:xe};le=X-1}}return{lo:xe,hi:null}}(ee,Q,te),X=le.lo?le.hi?le.lo:ee[ee.length-2]:ee[0],De=le.lo?le.hi?le.hi:ee[ee.length-1]:ee[1],xe=De[Q]-X[Q];return X[ae]+(De[ae]-X[ae])*(xe?(te-X[Q])/xe:0)}function y(ee,Q){var te=Q.parser,ae=Q.parser||Q.format;return"function"==typeof te?te(ee):"string"==typeof ee&&"string"==typeof ae?O(ee,ae):(ee instanceof O||(ee=O(ee)),ee.isValid()?ee:"function"==typeof ae?ae(ee):ee)}function F(ee,Q){if(T.isNullOrUndef(ee))return null;var te=Q.options.time,ae=y(Q.getRightValue(ee),te);return ae.isValid()?(te.round&&ae.startOf(te.round),ae.valueOf()):null}function ie(ee){for(var Q=_.indexOf(ee)+1,te=_.length;Q=X&&at<=De&&Ke.push(at);return le.min=X,le.max=De,le._unit=Fe.unit||function G(ee,Q,te,ae){var De,xe,le=O.duration(O(ae).diff(O(te)));for(De=_.length-1;De>=_.indexOf(Q);De--)if(c[xe=_[De]].common&&le.as(xe)>=ee.length)return xe;return _[Q?_.indexOf(Q):0]}(Ke,Fe.minUnit,le.min,le.max),le._majorUnit=ie(le._unit),le._table=function w(ee,Q,te,ae){if("linear"===ae||!ee.length)return[{time:Q,pos:0},{time:te,pos:1}];var De,xe,Fe,He,Ke,le=[],X=[Q];for(De=0,xe=ee.length;DeQ&&He1?Q[1]:ae,"pos")-D(ee,"time",Fe,"pos"))/2),le.time.max||(Fe=Q.length>1?Q[Q.length-2]:te,De=(D(ee,"time",Q[Q.length-1],"pos")-D(ee,"time",Fe,"pos"))/2)),{left:X,right:De}}(le._table,Ke,X,De,xe),le._labelFormat=function ue(ee,Q){var te,ae,le,X=ee.length;for(te=0;te=0&&le0?Ke:1}});ee.scaleService.registerScaleType("time",te,{position:"bottom",distribution:"linear",bounds:"data",time:{parser:!1,format:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{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"}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}})}},3207:function(ve,be,H){var O=H(9914);function M(Z){if(Z){var le=[0,0,0],X=1,De=Z.match(/^#([a-fA-F0-9]{3})$/i);if(De){De=De[1];for(var xe=0;xe_?(c+.05)/(_+.05):(_+.05)/(c+.05)},level:function(d){var c=this.contrast(d);return c>=7.1?"AAA":c>=4.5?"AA":""},dark:function(){var d=this.values.rgb;return(299*d[0]+587*d[1]+114*d[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var d=[],c=0;c<3;c++)d[c]=255-this.values.rgb[c];return this.setValues("rgb",d),this},lighten:function(d){var c=this.values.hsl;return c[2]+=c[2]*d,this.setValues("hsl",c),this},darken:function(d){var c=this.values.hsl;return c[2]-=c[2]*d,this.setValues("hsl",c),this},saturate:function(d){var c=this.values.hsl;return c[1]+=c[1]*d,this.setValues("hsl",c),this},desaturate:function(d){var c=this.values.hsl;return c[1]-=c[1]*d,this.setValues("hsl",c),this},whiten:function(d){var c=this.values.hwb;return c[1]+=c[1]*d,this.setValues("hwb",c),this},blacken:function(d){var c=this.values.hwb;return c[2]+=c[2]*d,this.setValues("hwb",c),this},greyscale:function(){var d=this.values.rgb,c=.3*d[0]+.59*d[1]+.11*d[2];return this.setValues("rgb",[c,c,c]),this},clearer:function(d){var c=this.values.alpha;return this.setValues("alpha",c-c*d),this},opaquer:function(d){var c=this.values.alpha;return this.setValues("alpha",c+c*d),this},rotate:function(d){var c=this.values.hsl,_=(c[0]+d)%360;return c[0]=_<0?360+_:_,this.setValues("hsl",c),this},mix:function(d,c){var _=this,h=d,L=void 0===c?.5:c,w=2*L-1,x=_.alpha()-h.alpha(),D=((w*x==-1?w:(w+x)/(1+w*x))+1)/2,y=1-D;return this.rgb(D*_.red()+y*h.red(),D*_.green()+y*h.green(),D*_.blue()+y*h.blue()).alpha(_.alpha()*L+h.alpha()*(1-L))},toJSON:function(){return this.rgb()},clone:function(){var h,L,d=new T,c=this.values,_=d.values;for(var w in c)c.hasOwnProperty(w)&&("[object Array]"===(L={}.toString.call(h=c[w]))?_[w]=h.slice(0):"[object Number]"===L?_[w]=h:console.error("unexpected color value:",h));return d}}).spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},T.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},T.prototype.getValues=function(v){for(var d=this.values,c={},_=0;_.04045?Math.pow((re+.055)/1.055,2.4):re/12.92)+.3576*(se=se>.04045?Math.pow((se+.055)/1.055,2.4):se/12.92)+.1805*(de=de>.04045?Math.pow((de+.055)/1.055,2.4):de/12.92)),100*(.2126*re+.7152*se+.0722*de),100*(.0193*re+.1192*se+.9505*de)]}function d(j){var re=v(j),se=re[0],de=re[1],he=re[2];return de/=100,he/=108.883,se=(se/=95.047)>.008856?Math.pow(se,1/3):7.787*se+16/116,[116*(de=de>.008856?Math.pow(de,1/3):7.787*de+16/116)-16,500*(se-de),200*(de-(he=he>.008856?Math.pow(he,1/3):7.787*he+16/116))]}function _(j){var he,fe,Me,_e,we,re=j[0]/360,se=j[1]/100,de=j[2]/100;if(0==se)return[we=255*de,we,we];he=2*de-(fe=de<.5?de*(1+se):de+se-de*se),_e=[0,0,0];for(var Pe=0;Pe<3;Pe++)(Me=re+1/3*-(Pe-1))<0&&Me++,Me>1&&Me--,_e[Pe]=255*(we=6*Me<1?he+6*(fe-he)*Me:2*Me<1?fe:3*Me<2?he+(fe-he)*(2/3-Me)*6:he);return _e}function D(j){var re=j[0]/60,se=j[1]/100,we=j[2]/100,de=Math.floor(re)%6,he=re-Math.floor(re),fe=255*we*(1-se),Me=255*we*(1-se*he),_e=255*we*(1-se*(1-he));switch(we*=255,de){case 0:return[we,_e,fe];case 1:return[Me,we,fe];case 2:return[fe,we,_e];case 3:return[fe,Me,we];case 4:return[_e,fe,we];case 5:return[we,fe,Me]}}function G(j){var fe,Me,_e,we,re=j[0]/360,se=j[1]/100,de=j[2]/100,he=se+de;switch(he>1&&(se/=he,de/=he),_e=6*re-(fe=Math.floor(6*re)),0!=(1&fe)&&(_e=1-_e),we=se+_e*((Me=1-de)-se),fe){default:case 6:case 0:r=Me,g=we,b=se;break;case 1:r=we,g=Me,b=se;break;case 2:r=se,g=Me,b=we;break;case 3:r=se,g=we,b=Me;break;case 4:r=we,g=se,b=Me;break;case 5:r=Me,g=se,b=we}return[255*r,255*g,255*b]}function ue(j){var se=j[1]/100,de=j[2]/100,he=j[3]/100;return[255*(1-Math.min(1,j[0]/100*(1-he)+he)),255*(1-Math.min(1,se*(1-he)+he)),255*(1-Math.min(1,de*(1-he)+he))]}function le(j){var he,fe,Me,re=j[0]/100,se=j[1]/100,de=j[2]/100;return fe=-.9689*re+1.8758*se+.0415*de,Me=.0557*re+-.204*se+1.057*de,he=(he=3.2406*re+-1.5372*se+-.4986*de)>.0031308?1.055*Math.pow(he,1/2.4)-.055:he*=12.92,fe=fe>.0031308?1.055*Math.pow(fe,1/2.4)-.055:fe*=12.92,Me=Me>.0031308?1.055*Math.pow(Me,1/2.4)-.055:Me*=12.92,[255*(he=Math.min(Math.max(0,he),1)),255*(fe=Math.min(Math.max(0,fe),1)),255*(Me=Math.min(Math.max(0,Me),1))]}function X(j){var re=j[0],se=j[1],de=j[2];return se/=100,de/=108.883,re=(re/=95.047)>.008856?Math.pow(re,1/3):7.787*re+16/116,[116*(se=se>.008856?Math.pow(se,1/3):7.787*se+16/116)-16,500*(re-se),200*(se-(de=de>.008856?Math.pow(de,1/3):7.787*de+16/116))]}function xe(j){var he,fe,Me,_e,re=j[0],se=j[1],de=j[2];return re<=8?_e=(fe=100*re/903.3)/100*7.787+16/116:(fe=100*Math.pow((re+16)/116,3),_e=Math.pow(fe/100,1/3)),[he=he/95.047<=.008856?he=95.047*(se/500+_e-16/116)/7.787:95.047*Math.pow(se/500+_e,3),fe,Me=Me/108.883<=.008859?Me=108.883*(_e-de/200-16/116)/7.787:108.883*Math.pow(_e-de/200,3)]}function Fe(j){var fe,re=j[0],se=j[1],de=j[2];return(fe=360*Math.atan2(de,se)/2/Math.PI)<0&&(fe+=360),[re,Math.sqrt(se*se+de*de),fe]}function He(j){return le(xe(j))}function Ke(j){var Me,se=j[1];return Me=j[2]/360*2*Math.PI,[j[0],se*Math.cos(Me),se*Math.sin(Me)]}function at(j){return St[j]}ve.exports={rgb2hsl:be,rgb2hsv:H,rgb2hwb:O,rgb2cmyk:M,rgb2keyword:T,rgb2xyz:v,rgb2lab:d,rgb2lch:function c(j){return Fe(d(j))},hsl2rgb:_,hsl2hsv:function h(j){var se=j[1]/100,de=j[2]/100;return 0===de?[0,0,0]:[j[0],2*(se*=(de*=2)<=1?de:2-de)/(de+se)*100,(de+se)/2*100]},hsl2hwb:function L(j){return O(_(j))},hsl2cmyk:function w(j){return M(_(j))},hsl2keyword:function x(j){return T(_(j))},hsv2rgb:D,hsv2hsl:function y(j){var he,fe,se=j[1]/100,de=j[2]/100;return he=se*de,[j[0],100*(he=(he/=(fe=(2-se)*de)<=1?fe:2-fe)||0),100*(fe/=2)]},hsv2hwb:function F(j){return O(D(j))},hsv2cmyk:function N(j){return M(D(j))},hsv2keyword:function W(j){return T(D(j))},hwb2rgb:G,hwb2hsl:function ie(j){return be(G(j))},hwb2hsv:function ce(j){return H(G(j))},hwb2cmyk:function ne(j){return M(G(j))},hwb2keyword:function Z(j){return T(G(j))},cmyk2rgb:ue,cmyk2hsl:function ee(j){return be(ue(j))},cmyk2hsv:function Q(j){return H(ue(j))},cmyk2hwb:function te(j){return O(ue(j))},cmyk2keyword:function ae(j){return T(ue(j))},keyword2rgb:at,keyword2hsl:function Nt(j){return be(at(j))},keyword2hsv:function jt(j){return H(at(j))},keyword2hwb:function ln(j){return O(at(j))},keyword2cmyk:function vn(j){return M(at(j))},keyword2lab:function Ve(j){return d(at(j))},keyword2xyz:function br(j){return v(at(j))},xyz2rgb:le,xyz2lab:X,xyz2lch:function De(j){return Fe(X(j))},lab2xyz:xe,lab2rgb:He,lab2lch:Fe,lch2lab:Ke,lch2xyz:function Xe(j){return xe(Ke(j))},lch2rgb:function Ne(j){return He(Ke(j))}};var St={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]},Lr={};for(var Bn in St)Lr[JSON.stringify(St[Bn])]=Bn},7227:function(ve,be,H){var O=H(4126),M=function(){return new _};for(var T in O){M[T+"Raw"]=function(h){return function(L){return"number"==typeof L&&(L=Array.prototype.slice.call(arguments)),O[h](L)}}(T);var v=/(\w+)2(\w+)/.exec(T),d=v[1],c=v[2];(M[d]=M[d]||{})[c]=M[T]=function(h){return function(L){"number"==typeof L&&(L=Array.prototype.slice.call(arguments));var w=O[h](L);if("string"==typeof w||void 0===w)return w;for(var x=0;x=20?"ste":"de")},week:{dow:1,doy:4}})}(H(5439))},2502:function(ve,be,H){!function(O){"use strict";O.defineLocale("ar-dz",{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:"\u0627\u062d\u062f_\u0627\u062b\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:"\u0623\u062d_\u0625\u062b_\u062b\u0644\u0627_\u0623\u0631_\u062e\u0645_\u062c\u0645_\u0633\u0628".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:4}})}(H(5439))},128:function(ve,be,H){!function(O){"use strict";O.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}})}(H(5439))},4519:function(ve,be,H){!function(O){"use strict";var M={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},T=function(L){return 0===L?0:1===L?1:2===L?2:L%100>=3&&L%100<=10?3:L%100>=11?4:5},v={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"]},d=function(L){return function(w,x,D,y){var F=T(w),N=v[L][T(w)];return 2===F&&(N=N[x?0:1]),N.replace(/%d/i,w)}},c=["\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"];O.defineLocale("ar-ly",{months:c,monthsShort:c,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(L){return"\u0645"===L},meridiem:function(L,w,x){return L<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:d("s"),ss:d("s"),m:d("m"),mm:d("m"),h:d("h"),hh:d("h"),d:d("d"),dd:d("d"),M:d("M"),MM:d("M"),y:d("y"),yy:d("y")},preparse:function(L){return L.replace(/\u060c/g,",")},postformat:function(L){return L.replace(/\d/g,function(w){return M[w]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(H(5439))},5443:function(ve,be,H){!function(O){"use strict";O.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}})}(H(5439))},7642:function(ve,be,H){!function(O){"use strict";var M={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},T={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};O.defineLocale("ar-sa",{months:"\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".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\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".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"},meridiemParse:/\u0635|\u0645/,isPM:function(c){return"\u0645"===c},meridiem:function(c,_,h){return c<12?"\u0635":"\u0645"},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"},preparse:function(c){return c.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(_){return T[_]}).replace(/\u060c/g,",")},postformat:function(c){return c.replace(/\d/g,function(_){return M[_]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(H(5439))},8592:function(ve,be,H){!function(O){"use strict";O.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}})}(H(5439))},7038:function(ve,be,H){!function(O){"use strict";var M={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},T={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},v=function(w){return 0===w?0:1===w?1:2===w?2:w%100>=3&&w%100<=10?3:w%100>=11?4:5},d={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"]},c=function(w){return function(x,D,y,F){var N=v(x),W=d[w][v(x)];return 2===N&&(W=W[D?0:1]),W.replace(/%d/i,x)}},_=["\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"];O.defineLocale("ar",{months:_,monthsShort:_,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(w){return"\u0645"===w},meridiem:function(w,x,D){return w<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:c("s"),ss:c("s"),m:c("m"),mm:c("m"),h:c("h"),hh:c("h"),d:c("d"),dd:c("d"),M:c("M"),MM:c("M"),y:c("y"),yy:c("y")},preparse:function(w){return w.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(x){return T[x]}).replace(/\u060c/g,",")},postformat:function(w){return w.replace(/\d/g,function(x){return M[x]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(H(5439))},1213:function(ve,be,H){!function(O){"use strict";var M={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};O.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"birne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(d){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(d)},meridiem:function(d,c,_){return d<4?"gec\u0259":d<12?"s\u0259h\u0259r":d<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(d){if(0===d)return d+"-\u0131nc\u0131";var c=d%10;return d+(M[c]||M[d%100-c]||M[d>=100?100:null])},week:{dow:1,doy:7}})}(H(5439))},9191:function(ve,be,H){!function(O){"use strict";function T(d,c,_){return"m"===_?c?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===_?c?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":d+" "+function M(d,c){var _=d.split("_");return c%10==1&&c%100!=11?_[0]:c%10>=2&&c%10<=4&&(c%100<10||c%100>=20)?_[1]:_[2]}({ss:c?"\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:c?"\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:c?"\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"}[_],+d)}O.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(c){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(c)},meridiem:function(c,_,h){return c<4?"\u043d\u043e\u0447\u044b":c<12?"\u0440\u0430\u043d\u0456\u0446\u044b":c<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(c,_){switch(_){case"M":case"d":case"DDD":case"w":case"W":return c%10!=2&&c%10!=3||c%100==12||c%100==13?c+"-\u044b":c+"-\u0456";case"D":return c+"-\u0433\u0430";default:return c}},week:{dow:1,doy:7}})}(H(5439))},322:function(ve,be,H){!function(O){"use strict";O.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\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:"\u044f\u043d\u0440_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".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\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0412 \u0438\u0437\u043c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u0412 \u0438\u0437\u043c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \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\u043d\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",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(v){var d=v%10,c=v%100;return 0===v?v+"-\u0435\u0432":0===c?v+"-\u0435\u043d":c>10&&c<20?v+"-\u0442\u0438":1===d?v+"-\u0432\u0438":2===d?v+"-\u0440\u0438":7===d||8===d?v+"-\u043c\u0438":v+"-\u0442\u0438"},week:{dow:1,doy:7}})}(H(5439))},8042:function(ve,be,H){!function(O){"use strict";O.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}})}(H(5439))},9620:function(ve,be,H){!function(O){"use strict";var M={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},T={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};O.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(c){return c.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(_){return T[_]})},postformat:function(c){return c.replace(/\d/g,function(_){return M[_]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(c,_){return 12===c&&(c=0),"\u09b0\u09be\u09a4"===_&&c>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===_&&c<5||"\u09ac\u09bf\u0995\u09be\u09b2"===_?c+12:c},meridiem:function(c,_,h){return c<4?"\u09b0\u09be\u09a4":c<10?"\u09b8\u0995\u09be\u09b2":c<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":c<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(H(5439))},9645:function(ve,be,H){!function(O){"use strict";var M={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},T={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};O.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".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:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(c){return c.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(_){return T[_]})},postformat:function(c){return c.replace(/\d/g,function(_){return M[_]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(c,_){return 12===c&&(c=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===_&&c>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===_&&c<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===_?c+12:c},meridiem:function(c,_,h){return c<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":c<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":c<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":c<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(H(5439))},5020:function(ve,be,H){!function(O){"use strict";function M(h,L,w){return h+" "+function d(h,L){return 2===L?function c(h){var L={m:"v",b:"v",d:"z"};return void 0===L[h.charAt(0)]?h:L[h.charAt(0)]+h.substring(1)}(h):h}({mm:"munutenn",MM:"miz",dd:"devezh"}[w],h)}function v(h){return h>9?v(h%10):h}O.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:M,h:"un eur",hh:"%d eur",d:"un devezh",dd:M,M:"ur miz",MM:M,y:"ur bloaz",yy:function T(h){switch(v(h)){case 1:case 3:case 4:case 5:case 9:return h+" bloaz";default:return h+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(L){return L+(1===L?"a\xf1":"vet")},week:{dow:1,doy:4}})}(H(5439))},4792:function(ve,be,H){!function(O){"use strict";function M(v,d,c){var _=v+" ";switch(c){case"ss":return _+(1===v?"sekunda":2===v||3===v||4===v?"sekunde":"sekundi");case"m":return d?"jedna minuta":"jedne minute";case"mm":return _+(1===v?"minuta":2===v||3===v||4===v?"minute":"minuta");case"h":return d?"jedan sat":"jednog sata";case"hh":return _+(1===v?"sat":2===v||3===v||4===v?"sata":"sati");case"dd":return _+(1===v?"dan":"dana");case"MM":return _+(1===v?"mjesec":2===v||3===v||4===v?"mjeseca":"mjeseci");case"yy":return _+(1===v?"godina":2===v||3===v||4===v?"godine":"godina")}}O.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\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:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:M,m:M,mm:M,h:M,hh:M,d:"dan",dd:M,M:"mjesec",MM:M,y:"godinu",yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(H(5439))},7980:function(ve,be,H){!function(O){"use strict";O.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(v,d){var c=1===v?"r":2===v?"n":3===v?"r":4===v?"t":"\xe8";return("w"===d||"W"===d)&&(c="a"),v+c},week:{dow:1,doy:4}})}(H(5439))},7322:function(ve,be,H){!function(O){"use strict";var M="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),T="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_");function v(_){return _>1&&_<5&&1!=~~(_/10)}function d(_,h,L,w){var x=_+" ";switch(L){case"s":return h||w?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return h||w?x+(v(_)?"sekundy":"sekund"):x+"sekundami";case"m":return h?"minuta":w?"minutu":"minutou";case"mm":return h||w?x+(v(_)?"minuty":"minut"):x+"minutami";case"h":return h?"hodina":w?"hodinu":"hodinou";case"hh":return h||w?x+(v(_)?"hodiny":"hodin"):x+"hodinami";case"d":return h||w?"den":"dnem";case"dd":return h||w?x+(v(_)?"dny":"dn\xed"):x+"dny";case"M":return h||w?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return h||w?x+(v(_)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):x+"m\u011bs\xedci";case"y":return h||w?"rok":"rokem";case"yy":return h||w?x+(v(_)?"roky":"let"):x+"lety"}}O.defineLocale("cs",{months:M,monthsShort:T,monthsParse:function(_,h){var L,w=[];for(L=0;L<12;L++)w[L]=new RegExp("^"+_[L]+"$|^"+h[L]+"$","i");return w}(M,T),shortMonthsParse:function(_){var h,L=[];for(h=0;h<12;h++)L[h]=new RegExp("^"+_[h]+"$","i");return L}(T),longMonthsParse:function(_){var h,L=[];for(h=0;h<12;h++)L[h]=new RegExp("^"+_[h]+"$","i");return L}(M),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:d,ss:d,m:d,mm:d,h:d,hh:d,d:d,dd:d,M:d,MM:d,y:d,yy:d},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},365:function(ve,be,H){!function(O){"use strict";O.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(v){return v+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(v)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(v)?"\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}})}(H(5439))},2092:function(ve,be,H){!function(O){"use strict";O.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(v){var c="";return v>20?c=40===v||50===v||60===v||80===v||100===v?"fed":"ain":v>0&&(c=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][v]),v+c},week:{dow:1,doy:4}})}(H(5439))},7387:function(ve,be,H){!function(O){"use strict";O.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}})}(H(5439))},9459:function(ve,be,H){!function(O){"use strict";function M(v,d,c,_){var h={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[v+" Tage",v+" Tagen"],M:["ein Monat","einem Monat"],MM:[v+" Monate",v+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[v+" Jahre",v+" Jahren"]};return d?h[c][0]:h[c][1]}O.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:M,mm:"%d Minuten",h:M,hh:"%d Stunden",d:M,dd:M,M:M,MM:M,y:M,yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},3694:function(ve,be,H){!function(O){"use strict";function M(v,d,c,_){var h={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[v+" Tage",v+" Tagen"],M:["ein Monat","einem Monat"],MM:[v+" Monate",v+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[v+" Jahre",v+" Jahren"]};return d?h[c][0]:h[c][1]}O.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:M,mm:"%d Minuten",h:M,hh:"%d Stunden",d:M,dd:M,M:M,MM:M,y:M,yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},4307:function(ve,be,H){!function(O){"use strict";function M(v,d,c,_){var h={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[v+" Tage",v+" Tagen"],M:["ein Monat","einem Monat"],MM:[v+" Monate",v+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[v+" Jahre",v+" Jahren"]};return d?h[c][0]:h[c][1]}O.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:M,mm:"%d Minuten",h:M,hh:"%d Stunden",d:M,dd:M,M:M,MM:M,y:M,yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},9659:function(ve,be,H){!function(O){"use strict";var M=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],T=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];O.defineLocale("dv",{months:M,monthsShort:M,weekdays:T,weekdaysShort:T,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(c){return"\u0789\u078a"===c},meridiem:function(c,_,h){return c<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(c){return c.replace(/\u060c/g,",")},postformat:function(c){return c.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(H(5439))},3460:function(ve,be,H){!function(O){"use strict";O.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(d,c){return d?"string"==typeof c&&/D/.test(c.substring(0,c.indexOf("MMMM")))?this._monthsGenitiveEl[d.month()]:this._monthsNominativeEl[d.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(d,c,_){return d>11?_?"\u03bc\u03bc":"\u039c\u039c":_?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(d){return"\u03bc"===(d+"").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(){return 6===this.day()?"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT":"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"},sameElse:"L"},calendar:function(d,c){var _=this._calendarEl[d],h=c&&c.hours();return function M(v){return v instanceof Function||"[object Function]"===Object.prototype.toString.call(v)}(_)&&(_=_.apply(c)),_.replace("{}",h%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}})}(H(5439))},4369:function(ve,be,H){!function(O){"use strict";O.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(v){var d=v%10;return v+(1==~~(v%100/10)?"th":1===d?"st":2===d?"nd":3===d?"rd":"th")},week:{dow:1,doy:4}})}(H(5439))},530:function(ve,be,H){!function(O){"use strict";O.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(v){var d=v%10;return v+(1==~~(v%100/10)?"th":1===d?"st":2===d?"nd":3===d?"rd":"th")}})}(H(5439))},9998:function(ve,be,H){!function(O){"use strict";O.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(v){var d=v%10;return v+(1==~~(v%100/10)?"th":1===d?"st":2===d?"nd":3===d?"rd":"th")},week:{dow:1,doy:4}})}(H(5439))},3391:function(ve,be,H){!function(O){"use strict";O.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(v){var d=v%10;return v+(1==~~(v%100/10)?"th":1===d?"st":2===d?"nd":3===d?"rd":"th")},week:{dow:1,doy:4}})}(H(5439))},5414:function(ve,be,H){!function(O){"use strict";O.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(v){var d=v%10;return v+(1==~~(v%100/10)?"th":1===d?"st":2===d?"nd":3===d?"rd":"th")}})}(H(5439))},1248:function(ve,be,H){!function(O){"use strict";O.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(v){var d=v%10;return v+(1==~~(v%100/10)?"th":1===d?"st":2===d?"nd":3===d?"rd":"th")},week:{dow:1,doy:4}})}(H(5439))},4530:function(ve,be,H){!function(O){"use strict";O.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(v){return"p"===v.charAt(0).toLowerCase()},meridiem:function(v,d,c){return v>11?c?"p.t.m.":"P.T.M.":c?"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}})}(H(5439))},8944:function(ve,be,H){!function(O){"use strict";var M="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),T="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),v=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],d=/^(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;O.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(h,L){return h?/-MMM-/.test(L)?T[h.month()]:M[h.month()]:M},monthsRegex:d,monthsShortRegex:d,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:v,longMonthsParse:v,shortMonthsParse:v,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}})}(H(5439))},3609:function(ve,be,H){!function(O){"use strict";var M="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),T="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");O.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(c,_){return c?/-MMM-/.test(_)?T[c.month()]:M[c.month()]:M},monthsParseExact:!0,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:"MMMM [de] D [de] YYYY",LLL:"MMMM [de] D [de] YYYY h:mm A",LLLL:"dddd, MMMM [de] D [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}})}(H(5439))},6866:function(ve,be,H){!function(O){"use strict";var M="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),T="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),v=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],d=/^(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;O.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(h,L){return h?/-MMM-/.test(L)?T[h.month()]:M[h.month()]:M},monthsRegex:d,monthsShortRegex:d,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:v,longMonthsParse:v,shortMonthsParse:v,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",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\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}})}(H(5439))},6725:function(ve,be,H){!function(O){"use strict";function M(v,d,c,_){var h={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[v+"sekundi",v+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[v+" minuti",v+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[v+" tunni",v+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[v+" kuu",v+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[v+" aasta",v+" aastat"]};return d?h[c][2]?h[c][2]:h[c][1]:_?h[c][0]:h[c][1]}O.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:M,ss:M,m:M,mm:M,h:M,hh:M,d:M,dd:"%d p\xe4eva",M:M,MM:M,y:M,yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},7931:function(ve,be,H){!function(O){"use strict";O.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}})}(H(5439))},6417:function(ve,be,H){!function(O){"use strict";var M={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},T={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};O.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(c){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(c)},meridiem:function(c,_,h){return c<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(c){return c.replace(/[\u06f0-\u06f9]/g,function(_){return T[_]}).replace(/\u060c/g,",")},postformat:function(c){return c.replace(/\d/g,function(_){return M[_]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(H(5439))},944:function(ve,be,H){!function(O){"use strict";var M="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),T=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",M[7],M[8],M[9]];function v(_,h,L,w){var x="";switch(L){case"s":return w?"muutaman sekunnin":"muutama sekunti";case"ss":return w?"sekunnin":"sekuntia";case"m":return w?"minuutin":"minuutti";case"mm":x=w?"minuutin":"minuuttia";break;case"h":return w?"tunnin":"tunti";case"hh":x=w?"tunnin":"tuntia";break;case"d":return w?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":x=w?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return w?"kuukauden":"kuukausi";case"MM":x=w?"kuukauden":"kuukautta";break;case"y":return w?"vuoden":"vuosi";case"yy":x=w?"vuoden":"vuotta"}return function d(_,h){return _<10?h?T[_]:M[_]:_}(_,w)+" "+x}O.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:v,ss:v,m:v,mm:v,h:v,hh:v,d:v,dd:v,M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},5867:function(ve,be,H){!function(O){"use strict";O.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minutt",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0i",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},6848:function(ve,be,H){!function(O){"use strict";O.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(v,d){switch(d){default:case"M":case"Q":case"D":case"DDD":case"d":return v+(1===v?"er":"e");case"w":case"W":return v+(1===v?"re":"e")}}})}(H(5439))},7773:function(ve,be,H){!function(O){"use strict";O.defineLocale("fr-ch",{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:"DD.MM.YYYY",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(v,d){switch(d){default:case"M":case"Q":case"D":case"DDD":case"d":return v+(1===v?"er":"e");case"w":case"W":return v+(1===v?"re":"e")}},week:{dow:1,doy:4}})}(H(5439))},1636:function(ve,be,H){!function(O){"use strict";O.defineLocale("fr",{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:"DD/MM/YYYY",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|)/,ordinal:function(v,d){switch(d){case"D":return v+(1===v?"er":"");default:case"M":case"Q":case"DDD":case"d":return v+(1===v?"er":"e");case"w":case"W":return v+(1===v?"re":"e")}},week:{dow:1,doy:4}})}(H(5439))},4940:function(ve,be,H){!function(O){"use strict";var M="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),T="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");O.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(c,_){return c?/-MMM-/.test(_)?T[c.month()]:M[c.month()]:M},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(c){return c+(1===c||8===c||c>=20?"ste":"de")},week:{dow:1,doy:4}})}(H(5439))},6924:function(ve,be,H){!function(O){"use strict";O.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(L){return L+(1===L?"d":L%10==2?"na":"mh")},week:{dow:1,doy:4}})}(H(5439))},6398:function(ve,be,H){!function(O){"use strict";O.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(v){return 0===v.indexOf("un")?"n"+v:"en "+v},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(H(5439))},2545:function(ve,be,H){!function(O){"use strict";function M(v,d,c,_){var h={s:["thodde secondanim","thodde second"],ss:[v+" secondanim",v+" second"],m:["eka mintan","ek minute"],mm:[v+" mintanim",v+" mintam"],h:["eka horan","ek hor"],hh:[v+" horanim",v+" horam"],d:["eka disan","ek dis"],dd:[v+" disanim",v+" dis"],M:["eka mhoinean","ek mhoino"],MM:[v+" mhoineanim",v+" mhoine"],y:["eka vorsan","ek voros"],yy:[v+" vorsanim",v+" vorsam"]};return d?h[c][0]:h[c][1]}O.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:M,ss:M,m:M,mm:M,h:M,hh:M,d:M,dd:M,M:M,MM:M,y:M,yy:M},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(d,c){return"D"===c?d+"er":d},week:{dow:1,doy:4},meridiemParse:/rati|sokalli|donparam|sanje/,meridiemHour:function(d,c){return 12===d&&(d=0),"rati"===c?d<4?d:d+12:"sokalli"===c?d:"donparam"===c?d>12?d:d+12:"sanje"===c?d+12:void 0},meridiem:function(d,c,_){return d<4?"rati":d<12?"sokalli":d<16?"donparam":d<20?"sanje":"rati"}})}(H(5439))},2641:function(ve,be,H){!function(O){"use strict";var M={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},T={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};O.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ac7\u0ab9\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(c){return c.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(_){return T[_]})},postformat:function(c){return c.replace(/\d/g,function(_){return M[_]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(c,_){return 12===c&&(c=0),"\u0ab0\u0abe\u0aa4"===_?c<4?c:c+12:"\u0ab8\u0ab5\u0abe\u0ab0"===_?c:"\u0aac\u0aaa\u0acb\u0ab0"===_?c>=10?c:c+12:"\u0ab8\u0abe\u0a82\u0a9c"===_?c+12:void 0},meridiem:function(c,_,h){return c<4?"\u0ab0\u0abe\u0aa4":c<10?"\u0ab8\u0ab5\u0abe\u0ab0":c<17?"\u0aac\u0aaa\u0acb\u0ab0":c<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(H(5439))},7536:function(ve,be,H){!function(O){"use strict";O.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(v){return 2===v?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":v+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(v){return 2===v?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":v+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(v){return 2===v?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":v+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(v){return 2===v?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":v%10==0&&10!==v?v+" \u05e9\u05e0\u05d4":v+" \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(v){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(v)},meridiem:function(v,d,c){return v<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":v<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":v<12?c?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":v<18?c?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(H(5439))},6335:function(ve,be,H){!function(O){"use strict";var M={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},T={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};O.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(c){return c.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(_){return T[_]})},postformat:function(c){return c.replace(/\d/g,function(_){return M[_]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(c,_){return 12===c&&(c=0),"\u0930\u093e\u0924"===_?c<4?c:c+12:"\u0938\u0941\u092c\u0939"===_?c:"\u0926\u094b\u092a\u0939\u0930"===_?c>=10?c:c+12:"\u0936\u093e\u092e"===_?c+12:void 0},meridiem:function(c,_,h){return c<4?"\u0930\u093e\u0924":c<10?"\u0938\u0941\u092c\u0939":c<17?"\u0926\u094b\u092a\u0939\u0930":c<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(H(5439))},7458:function(ve,be,H){!function(O){"use strict";function M(v,d,c){var _=v+" ";switch(c){case"ss":return _+(1===v?"sekunda":2===v||3===v||4===v?"sekunde":"sekundi");case"m":return d?"jedna minuta":"jedne minute";case"mm":return _+(1===v?"minuta":2===v||3===v||4===v?"minute":"minuta");case"h":return d?"jedan sat":"jednog sata";case"hh":return _+(1===v?"sat":2===v||3===v||4===v?"sata":"sati");case"dd":return _+(1===v?"dan":"dana");case"MM":return _+(1===v?"mjesec":2===v||3===v||4===v?"mjeseca":"mjeseci");case"yy":return _+(1===v?"godina":2===v||3===v||4===v?"godine":"godina")}}O.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".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:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:M,m:M,mm:M,h:M,hh:M,d:"dan",dd:M,M:"mjesec",MM:M,y:"godinu",yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(H(5439))},6540:function(ve,be,H){!function(O){"use strict";var M="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function T(c,_,h,L){var w=c;switch(h){case"s":return L||_?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return w+(L||_)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(L||_?" perc":" perce");case"mm":return w+(L||_?" perc":" perce");case"h":return"egy"+(L||_?" \xf3ra":" \xf3r\xe1ja");case"hh":return w+(L||_?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(L||_?" nap":" napja");case"dd":return w+(L||_?" nap":" napja");case"M":return"egy"+(L||_?" h\xf3nap":" h\xf3napja");case"MM":return w+(L||_?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(L||_?" \xe9v":" \xe9ve");case"yy":return w+(L||_?" \xe9v":" \xe9ve")}return""}function v(c){return(c?"":"[m\xfalt] ")+"["+M[this.day()]+"] LT[-kor]"}O.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan_feb_m\xe1rc_\xe1pr_m\xe1j_j\xfan_j\xfal_aug_szept_okt_nov_dec".split("_"),weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(_){return"u"===_.charAt(1).toLowerCase()},meridiem:function(_,h,L){return _<12?!0===L?"de":"DE":!0===L?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return v.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return v.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:T,ss:T,m:T,mm:T,h:T,hh:T,d:T,dd:T,M:T,MM:T,y:T,yy:T},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},5283:function(ve,be,H){!function(O){"use strict";O.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(v){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(v)},meridiem:function(v){return v<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":v<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":v<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(v,d){switch(d){case"DDD":case"w":case"W":case"DDDo":return 1===v?v+"-\u056b\u0576":v+"-\u0580\u0564";default:return v}},week:{dow:1,doy:7}})}(H(5439))},8780:function(ve,be,H){!function(O){"use strict";O.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(v,d){return 12===v&&(v=0),"pagi"===d?v:"siang"===d?v>=11?v:v+12:"sore"===d||"malam"===d?v+12:void 0},meridiem:function(v,d,c){return v<11?"pagi":v<15?"siang":v<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}})}(H(5439))},4205:function(ve,be,H){!function(O){"use strict";function M(d){return d%100==11||d%10!=1}function T(d,c,_,h){var L=d+" ";switch(_){case"s":return c||h?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return M(d)?L+(c||h?"sek\xfandur":"sek\xfandum"):L+"sek\xfanda";case"m":return c?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return M(d)?L+(c||h?"m\xedn\xfatur":"m\xedn\xfatum"):c?L+"m\xedn\xfata":L+"m\xedn\xfatu";case"hh":return M(d)?L+(c||h?"klukkustundir":"klukkustundum"):L+"klukkustund";case"d":return c?"dagur":h?"dag":"degi";case"dd":return M(d)?c?L+"dagar":L+(h?"daga":"d\xf6gum"):c?L+"dagur":L+(h?"dag":"degi");case"M":return c?"m\xe1nu\xf0ur":h?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return M(d)?c?L+"m\xe1nu\xf0ir":L+(h?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):c?L+"m\xe1nu\xf0ur":L+(h?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return c||h?"\xe1r":"\xe1ri";case"yy":return M(d)?L+(c||h?"\xe1r":"\xe1rum"):L+(c||h?"\xe1r":"\xe1ri")}}O.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:T,ss:T,m:T,mm:T,h:"klukkustund",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}})}(H(5439))},4211:function(ve,be,H){!function(O){"use strict";O.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(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(v){return(/^[0-9].+$/.test(v)?"tra":"in")+" "+v},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}})}(H(5439))},1003:function(ve,be,H){!function(O){"use strict";O.defineLocale("ja",{months:"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("_"),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(v){return"\u5348\u5f8c"===v},meridiem:function(v,d,c){return v<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(v){return v.week()=11?v:v+12:"sonten"===d||"ndalu"===d?v+12:void 0},meridiem:function(v,d,c){return v<11?"enjing":v<15?"siyang":v<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}})}(H(5439))},851:function(ve,be,H){!function(O){"use strict";O.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(v){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10ec\u10d4\u10da\u10d8)/.test(v)?v.replace(/\u10d8$/,"\u10e8\u10d8"):v+"\u10e8\u10d8"},past:function(v){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(v)?v.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(v)?v.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(v){return 0===v?v:1===v?v+"-\u10da\u10d8":v<20||v<=100&&v%20==0||v%100==0?"\u10db\u10d4-"+v:v+"-\u10d4"},week:{dow:1,doy:7}})}(H(5439))},6074:function(ve,be,H){!function(O){"use strict";var M={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"};O.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(d){return d+(M[d]||M[d%10]||M[d>=100?100:null])},week:{dow:1,doy:7}})}(H(5439))},3343:function(ve,be,H){!function(O){"use strict";var M={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},T={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};O.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(c){return"\u179b\u17d2\u1784\u17b6\u1785"===c},meridiem:function(c,_,h){return c<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(c){return c.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(_){return T[_]})},postformat:function(c){return c.replace(/\d/g,function(_){return M[_]})},week:{dow:1,doy:4}})}(H(5439))},4799:function(ve,be,H){!function(O){"use strict";var M={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},T={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};O.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(c){return c.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(_){return T[_]})},postformat:function(c){return c.replace(/\d/g,function(_){return M[_]})},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(c,_){return 12===c&&(c=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===_?c<4?c:c+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===_?c:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===_?c>=10?c:c+12:"\u0cb8\u0c82\u0c9c\u0cc6"===_?c+12:void 0},meridiem:function(c,_,h){return c<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":c<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":c<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":c<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(c){return c+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(H(5439))},3549:function(ve,be,H){!function(O){"use strict";O.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(v,d){switch(d){case"d":case"D":case"DDD":return v+"\uc77c";case"M":return v+"\uc6d4";case"w":case"W":return v+"\uc8fc";default:return v}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(v){return"\uc624\ud6c4"===v},meridiem:function(v,d,c){return v<12?"\uc624\uc804":"\uc624\ud6c4"}})}(H(5439))},3125:function(ve,be,H){!function(O){"use strict";var M={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};O.defineLocale("ky",{months:"\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:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".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\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u0435 \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(d){return d+(M[d]||M[d%10]||M[d>=100?100:null])},week:{dow:1,doy:7}})}(H(5439))},9586:function(ve,be,H){!function(O){"use strict";function M(_,h,L,w){var x={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 h?x[L][0]:x[L][1]}function d(_){if(_=parseInt(_,10),isNaN(_))return!1;if(_<0)return!0;if(_<10)return 4<=_&&_<=7;if(_<100){var h=_%10;return d(0===h?_/10:h)}if(_<1e4){for(;_>=10;)_/=10;return d(_)}return d(_/=1e3)}O.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 T(_){return d(_.substr(0,_.indexOf(" ")))?"a "+_:"an "+_},past:function v(_){return d(_.substr(0,_.indexOf(" ")))?"viru "+_:"virun "+_},s:"e puer Sekonnen",ss:"%d Sekonnen",m:M,mm:"%d Minutten",h:M,hh:"%d Stonnen",d:M,dd:"%d Deeg",M:M,MM:"%d M\xe9int",y:M,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},2349:function(ve,be,H){!function(O){"use strict";O.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".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:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(v){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===v},meridiem:function(v,d,c){return v<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(v){return"\u0e97\u0eb5\u0ec8"+v}})}(H(5439))},2400:function(ve,be,H){!function(O){"use strict";var M={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function v(L,w,x,D){return w?c(x)[0]:D?c(x)[1]:c(x)[2]}function d(L){return L%10==0||L>10&&L<20}function c(L){return M[L].split("_")}function _(L,w,x,D){var y=L+" ";return 1===L?y+v(0,w,x[0],D):w?y+(d(L)?c(x)[1]:c(x)[0]):D?y+c(x)[1]:y+(d(L)?c(x)[1]:c(x)[2])}O.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 T(L,w,x,D){return w?"kelios sekund\u0117s":D?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:_,m:v,mm:_,h:v,hh:_,d:v,dd:_,M:v,MM:_,y:v,yy:_},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(w){return w+"-oji"},week:{dow:1,doy:4}})}(H(5439))},9991:function(ve,be,H){!function(O){"use strict";var M={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 T(h,L,w){return w?L%10==1&&L%100!=11?h[2]:h[3]:L%10==1&&L%100!=11?h[0]:h[1]}function v(h,L,w){return h+" "+T(M[w],h,L)}function d(h,L,w){return T(M[w],h,L)}O.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 c(h,L){return L?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:v,m:d,mm:v,h:d,hh:v,d:d,dd:v,M:d,MM:v,y:d,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},8477:function(ve,be,H){!function(O){"use strict";var M={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(d,c){return 1===d?c[0]:d>=2&&d<=4?c[1]:c[2]},translate:function(d,c,_){var h=M.words[_];return 1===_.length?c?h[0]:h[1]:d+" "+M.correctGrammaticalCase(d,h)}};O.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:M.translate,m:M.translate,mm:M.translate,h:M.translate,hh:M.translate,d:"dan",dd:M.translate,M:"mjesec",MM:M.translate,y:"godinu",yy:M.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(H(5439))},5118:function(ve,be,H){!function(O){"use strict";O.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}})}(H(5439))},5943:function(ve,be,H){!function(O){"use strict";O.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(v){var d=v%10,c=v%100;return 0===v?v+"-\u0435\u0432":0===c?v+"-\u0435\u043d":c>10&&c<20?v+"-\u0442\u0438":1===d?v+"-\u0432\u0438":2===d?v+"-\u0440\u0438":7===d||8===d?v+"-\u043c\u0438":v+"-\u0442\u0438"},week:{dow:1,doy:7}})}(H(5439))},3849:function(ve,be,H){!function(O){"use strict";O.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(v,d){return 12===v&&(v=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===d&&v>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===d||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===d?v+12:v},meridiem:function(v,d,c){return v<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":v<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":v<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":v<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(H(5439))},1977:function(ve,be,H){!function(O){"use strict";function M(v,d,c,_){switch(c){case"s":return d?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return v+(d?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return v+(d?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return v+(d?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return v+(d?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return v+(d?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return v+(d?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return v}}O.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(d){return"\u04ae\u0425"===d},meridiem:function(d,c,_){return d<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:M,ss:M,m:M,mm:M,h:M,hh:M,d:M,dd:M,M:M,MM:M,y:M,yy:M},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(d,c){switch(c){case"d":case"D":case"DDD":return d+" \u04e9\u0434\u04e9\u0440";default:return d}}})}(H(5439))},6184:function(ve,be,H){!function(O){"use strict";var M={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},T={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function v(c,_,h,L){var w="";if(_)switch(h){case"s":w="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":w="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":w="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":w="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":w="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":w="%d \u0924\u093e\u0938";break;case"d":w="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":w="%d \u0926\u093f\u0935\u0938";break;case"M":w="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":w="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":w="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":w="%d \u0935\u0930\u094d\u0937\u0947"}else switch(h){case"s":w="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":w="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":w="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":w="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":w="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":w="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":w="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":w="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":w="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":w="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":w="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":w="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return w.replace(/%d/i,c)}O.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:v,ss:v,m:v,mm:v,h:v,hh:v,d:v,dd:v,M:v,MM:v,y:v,yy:v},preparse:function(_){return _.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(h){return T[h]})},postformat:function(_){return _.replace(/\d/g,function(h){return M[h]})},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(_,h){return 12===_&&(_=0),"\u0930\u093e\u0924\u094d\u0930\u0940"===h?_<4?_:_+12:"\u0938\u0915\u093e\u0933\u0940"===h?_:"\u0926\u0941\u092a\u093e\u0930\u0940"===h?_>=10?_:_+12:"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===h?_+12:void 0},meridiem:function(_,h,L){return _<4?"\u0930\u093e\u0924\u094d\u0930\u0940":_<10?"\u0938\u0915\u093e\u0933\u0940":_<17?"\u0926\u0941\u092a\u093e\u0930\u0940":_<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(H(5439))},4524:function(ve,be,H){!function(O){"use strict";O.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(v,d){return 12===v&&(v=0),"pagi"===d?v:"tengahari"===d?v>=11?v:v+12:"petang"===d||"malam"===d?v+12:void 0},meridiem:function(v,d,c){return v<11?"pagi":v<15?"tengahari":v<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}})}(H(5439))},485:function(ve,be,H){!function(O){"use strict";O.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(v,d){return 12===v&&(v=0),"pagi"===d?v:"tengahari"===d?v>=11?v:v+12:"petang"===d||"malam"===d?v+12:void 0},meridiem:function(v,d,c){return v<11?"pagi":v<15?"tengahari":v<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}})}(H(5439))},6681:function(ve,be,H){!function(O){"use strict";O.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(H(5439))},2024:function(ve,be,H){!function(O){"use strict";var M={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},T={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};O.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".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:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(c){return c.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(_){return T[_]})},postformat:function(c){return c.replace(/\d/g,function(_){return M[_]})},week:{dow:1,doy:4}})}(H(5439))},2688:function(ve,be,H){!function(O){"use strict";O.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}})}(H(5439))},8914:function(ve,be,H){!function(O){"use strict";var M={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},T={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};O.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(c){return c.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(_){return T[_]})},postformat:function(c){return c.replace(/\d/g,function(_){return M[_]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(c,_){return 12===c&&(c=0),"\u0930\u093e\u0924\u093f"===_?c<4?c:c+12:"\u092c\u093f\u0939\u093e\u0928"===_?c:"\u0926\u093f\u0909\u0901\u0938\u094b"===_?c>=10?c:c+12:"\u0938\u093e\u0901\u091d"===_?c+12:void 0},meridiem:function(c,_,h){return c<3?"\u0930\u093e\u0924\u093f":c<12?"\u092c\u093f\u0939\u093e\u0928":c<16?"\u0926\u093f\u0909\u0901\u0938\u094b":c<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}})}(H(5439))},2272:function(ve,be,H){!function(O){"use strict";var M="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),T="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),v=[/^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],d=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;O.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(h,L){return h?/-MMM-/.test(L)?T[h.month()]:M[h.month()]:M},monthsRegex:d,monthsShortRegex:d,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:v,longMonthsParse:v,shortMonthsParse:v,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(h){return h+(1===h||8===h||h>=20?"ste":"de")},week:{dow:1,doy:4}})}(H(5439))},1758:function(ve,be,H){!function(O){"use strict";var M="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),T="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),v=[/^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],d=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;O.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(h,L){return h?/-MMM-/.test(L)?T[h.month()]:M[h.month()]:M},monthsRegex:d,monthsShortRegex:d,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:v,longMonthsParse:v,shortMonthsParse:v,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(h){return h+(1===h||8===h||h>=20?"ste":"de")},week:{dow:1,doy:4}})}(H(5439))},1510:function(ve,be,H){!function(O){"use strict";O.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}})}(H(5439))},7944:function(ve,be,H){!function(O){"use strict";var M={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},T={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};O.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(c){return c.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(_){return T[_]})},postformat:function(c){return c.replace(/\d/g,function(_){return M[_]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(c,_){return 12===c&&(c=0),"\u0a30\u0a3e\u0a24"===_?c<4?c:c+12:"\u0a38\u0a35\u0a47\u0a30"===_?c:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===_?c>=10?c:c+12:"\u0a38\u0a3c\u0a3e\u0a2e"===_?c+12:void 0},meridiem:function(c,_,h){return c<4?"\u0a30\u0a3e\u0a24":c<10?"\u0a38\u0a35\u0a47\u0a30":c<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":c<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(H(5439))},1605:function(ve,be,H){!function(O){"use strict";var M="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),T="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_");function v(_){return _%10<5&&_%10>1&&~~(_/10)%10!=1}function d(_,h,L){var w=_+" ";switch(L){case"ss":return w+(v(_)?"sekundy":"sekund");case"m":return h?"minuta":"minut\u0119";case"mm":return w+(v(_)?"minuty":"minut");case"h":return h?"godzina":"godzin\u0119";case"hh":return w+(v(_)?"godziny":"godzin");case"MM":return w+(v(_)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return w+(v(_)?"lata":"lat")}}O.defineLocale("pl",{months:function(h,L){return h?""===L?"("+T[h.month()]+"|"+M[h.month()]+")":/D MMMM/.test(L)?T[h.month()]:M[h.month()]:M},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:d,m:d,mm:d,h:d,hh:d,d:"1 dzie\u0144",dd:"%d dni",M:"miesi\u0105c",MM:d,y:"rok",yy:d},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},3840:function(ve,be,H){!function(O){"use strict";O.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"})}(H(5439))},4225:function(ve,be,H){!function(O){"use strict";O.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}})}(H(5439))},5128:function(ve,be,H){!function(O){"use strict";function M(v,d,c){var h=" ";return(v%100>=20||v>=100&&v%100==0)&&(h=" de "),v+h+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[c]}O.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:M,m:"un minut",mm:M,h:"o or\u0103",hh:M,d:"o zi",dd:M,M:"o lun\u0103",MM:M,y:"un an",yy:M},week:{dow:1,doy:7}})}(H(5439))},5127:function(ve,be,H){!function(O){"use strict";function T(c,_,h){return"m"===h?_?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":c+" "+function M(c,_){var h=c.split("_");return _%10==1&&_%100!=11?h[0]:_%10>=2&&_%10<=4&&(_%100<10||_%100>=20)?h[1]:h[2]}({ss:_?"\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:_?"\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"}[h],+c)}var v=[/^\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];O.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:v,longMonthsParse:v,shortMonthsParse:v,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(_){if(_.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(_){if(_.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(_){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(_)},meridiem:function(_,h,L){return _<4?"\u043d\u043e\u0447\u0438":_<12?"\u0443\u0442\u0440\u0430":_<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(_,h){switch(h){case"M":case"d":case"DDD":return _+"-\u0439";case"D":return _+"-\u0433\u043e";case"w":case"W":return _+"-\u044f";default:return _}},week:{dow:1,doy:4}})}(H(5439))},2525:function(ve,be,H){!function(O){"use strict";var M=["\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"],T=["\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"];O.defineLocale("sd",{months:M,monthsShort:M,weekdays:T,weekdaysShort:T,weekdaysMin:T,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(c){return"\u0634\u0627\u0645"===c},meridiem:function(c,_,h){return c<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(c){return c.replace(/\u060c/g,",")},postformat:function(c){return c.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(H(5439))},9893:function(ve,be,H){!function(O){"use strict";O.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}})}(H(5439))},3123:function(ve,be,H){!function(O){"use strict";O.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(v){return v+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(v){return"\u0db4.\u0dc0."===v||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===v},meridiem:function(v,d,c){return v>11?c?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":c?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(H(5439))},9635:function(ve,be,H){!function(O){"use strict";var M="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),T="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function v(_){return _>1&&_<5}function d(_,h,L,w){var x=_+" ";switch(L){case"s":return h||w?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return h||w?x+(v(_)?"sekundy":"sek\xfand"):x+"sekundami";case"m":return h?"min\xfata":w?"min\xfatu":"min\xfatou";case"mm":return h||w?x+(v(_)?"min\xfaty":"min\xfat"):x+"min\xfatami";case"h":return h?"hodina":w?"hodinu":"hodinou";case"hh":return h||w?x+(v(_)?"hodiny":"hod\xedn"):x+"hodinami";case"d":return h||w?"de\u0148":"d\u0148om";case"dd":return h||w?x+(v(_)?"dni":"dn\xed"):x+"d\u0148ami";case"M":return h||w?"mesiac":"mesiacom";case"MM":return h||w?x+(v(_)?"mesiace":"mesiacov"):x+"mesiacmi";case"y":return h||w?"rok":"rokom";case"yy":return h||w?x+(v(_)?"roky":"rokov"):x+"rokmi"}}O.defineLocale("sk",{months:M,monthsShort:T,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:case 4:case 5:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:d,ss:d,m:d,mm:d,h:d,hh:d,d:d,dd:d,M:d,MM:d,y:d,yy:d},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},8106:function(ve,be,H){!function(O){"use strict";function M(v,d,c,_){var h=v+" ";switch(c){case"s":return d||_?"nekaj sekund":"nekaj sekundami";case"ss":return h+(1===v?d?"sekundo":"sekundi":2===v?d||_?"sekundi":"sekundah":v<5?d||_?"sekunde":"sekundah":"sekund");case"m":return d?"ena minuta":"eno minuto";case"mm":return h+(1===v?d?"minuta":"minuto":2===v?d||_?"minuti":"minutama":v<5?d||_?"minute":"minutami":d||_?"minut":"minutami");case"h":return d?"ena ura":"eno uro";case"hh":return h+(1===v?d?"ura":"uro":2===v?d||_?"uri":"urama":v<5?d||_?"ure":"urami":d||_?"ur":"urami");case"d":return d||_?"en dan":"enim dnem";case"dd":return h+(1===v?d||_?"dan":"dnem":2===v?d||_?"dni":"dnevoma":d||_?"dni":"dnevi");case"M":return d||_?"en mesec":"enim mesecem";case"MM":return h+(1===v?d||_?"mesec":"mesecem":2===v?d||_?"meseca":"mesecema":v<5?d||_?"mesece":"meseci":d||_?"mesecev":"meseci");case"y":return d||_?"eno leto":"enim letom";case"yy":return h+(1===v?d||_?"leto":"letom":2===v?d||_?"leti":"letoma":v<5?d||_?"leta":"leti":d||_?"let":"leti")}}O.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:M,ss:M,m:M,mm:M,h:M,hh:M,d:M,dd:M,M:M,MM:M,y:M,yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(H(5439))},8799:function(ve,be,H){!function(O){"use strict";O.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(v){return"M"===v.charAt(0)},meridiem:function(v,d,c){return v<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},2872:function(ve,be,H){!function(O){"use strict";var M={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u0435 \u043c\u0438\u043d\u0443\u0442\u0435"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0435","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],yy:["\u0433\u043e\u0434\u0438\u043d\u0430","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(d,c){return 1===d?c[0]:d>=2&&d<=4?c[1]:c[2]},translate:function(d,c,_){var h=M.words[_];return 1===_.length?c?h[0]:h[1]:d+" "+M.correctGrammaticalCase(d,h)}};O.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:M.translate,m:M.translate,mm:M.translate,h:M.translate,hh:M.translate,d:"\u0434\u0430\u043d",dd:M.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:M.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",yy:M.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(H(5439))},7949:function(ve,be,H){!function(O){"use strict";var M={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(d,c){return 1===d?c[0]:d>=2&&d<=4?c[1]:c[2]},translate:function(d,c,_){var h=M.words[_];return 1===_.length?c?h[0]:h[1]:d+" "+M.correctGrammaticalCase(d,h)}};O.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:M.translate,m:M.translate,mm:M.translate,h:M.translate,hh:M.translate,d:"dan",dd:M.translate,M:"mesec",MM:M.translate,y:"godinu",yy:M.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(H(5439))},6167:function(ve,be,H){!function(O){"use strict";O.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(v,d,c){return v<11?"ekuseni":v<15?"emini":v<19?"entsambama":"ebusuku"},meridiemHour:function(v,d){return 12===v&&(v=0),"ekuseni"===d?v:"emini"===d?v>=11?v:v+12:"entsambama"===d||"ebusuku"===d?0===v?0:v+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(H(5439))},9713:function(ve,be,H){!function(O){"use strict";O.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(e|a)/,ordinal:function(v){var d=v%10;return v+(1==~~(v%100/10)?"e":1===d||2===d?"a":"e")},week:{dow:1,doy:4}})}(H(5439))},1982:function(ve,be,H){!function(O){"use strict";O.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}})}(H(5439))},2732:function(ve,be,H){!function(O){"use strict";var M={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},T={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};O.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(c){return c+"\u0bb5\u0ba4\u0bc1"},preparse:function(c){return c.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(_){return T[_]})},postformat:function(c){return c.replace(/\d/g,function(_){return M[_]})},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(c,_,h){return c<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":c<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":c<10?" \u0b95\u0bbe\u0bb2\u0bc8":c<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":c<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":c<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(c,_){return 12===c&&(c=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===_?c<2?c:c+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===_||"\u0b95\u0bbe\u0bb2\u0bc8"===_||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===_&&c>=10?c:c+12},week:{dow:0,doy:6}})}(H(5439))},3636:function(ve,be,H){!function(O){"use strict";O.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\u0c42\u0c32\u0c46\u0c56_\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\u0c42\u0c32\u0c46\u0c56_\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(v,d){return 12===v&&(v=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===d?v<4?v:v+12:"\u0c09\u0c26\u0c2f\u0c02"===d?v:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===d?v>=10?v:v+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===d?v+12:void 0},meridiem:function(v,d,c){return v<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":v<10?"\u0c09\u0c26\u0c2f\u0c02":v<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":v<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(H(5439))},2115:function(ve,be,H){!function(O){"use strict";O.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(v){var d=v%10;return v+(1==~~(v%100/10)?"th":1===d?"st":2===d?"nd":3===d?"rd":"th")},week:{dow:1,doy:4}})}(H(5439))},9801:function(ve,be,H){!function(O){"use strict";var M={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"};O.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(d,c){return 12===d&&(d=0),"\u0448\u0430\u0431"===c?d<4?d:d+12:"\u0441\u0443\u0431\u04b3"===c?d:"\u0440\u04ef\u0437"===c?d>=11?d:d+12:"\u0431\u0435\u0433\u043e\u04b3"===c?d+12:void 0},meridiem:function(d,c,_){return d<4?"\u0448\u0430\u0431":d<11?"\u0441\u0443\u0431\u04b3":d<16?"\u0440\u04ef\u0437":d<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(d){return d+(M[d]||M[d%10]||M[d>=100?100:null])},week:{dow:1,doy:7}})}(H(5439))},2868:function(ve,be,H){!function(O){"use strict";O.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(v){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===v},meridiem:function(v,d,c){return v<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"}})}(H(5439))},2360:function(ve,be,H){!function(O){"use strict";O.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(v){return v},week:{dow:1,doy:4}})}(H(5439))},6645:function(ve,be,H){!function(O){"use strict";var M="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function d(h,L,w,x){var D=function c(h){var L=Math.floor(h%1e3/100),w=Math.floor(h%100/10),x=h%10,D="";return L>0&&(D+=M[L]+"vatlh"),w>0&&(D+=(""!==D?" ":"")+M[w]+"maH"),x>0&&(D+=(""!==D?" ":"")+M[x]),""===D?"pagh":D}(h);switch(w){case"ss":return D+" lup";case"mm":return D+" tup";case"hh":return D+" rep";case"dd":return D+" jaj";case"MM":return D+" jar";case"yy":return D+" DIS"}}O.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 T(h){var L=h;return-1!==h.indexOf("jaj")?L.slice(0,-3)+"leS":-1!==h.indexOf("jar")?L.slice(0,-3)+"waQ":-1!==h.indexOf("DIS")?L.slice(0,-3)+"nem":L+" pIq"},past:function v(h){var L=h;return-1!==h.indexOf("jaj")?L.slice(0,-3)+"Hu\u2019":-1!==h.indexOf("jar")?L.slice(0,-3)+"wen":-1!==h.indexOf("DIS")?L.slice(0,-3)+"ben":L+" ret"},s:"puS lup",ss:d,m:"wa\u2019 tup",mm:d,h:"wa\u2019 rep",hh:d,d:"wa\u2019 jaj",dd:d,M:"wa\u2019 jar",MM:d,y:"wa\u2019 DIS",yy:d},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},8374:function(ve,be,H){!function(O){"use strict";var M={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};O.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(d,c){switch(c){case"d":case"D":case"Do":case"DD":return d;default:if(0===d)return d+"'\u0131nc\u0131";var _=d%10;return d+(M[_]||M[d%100-_]||M[d>=100?100:null])}},week:{dow:1,doy:7}})}(H(5439))},256:function(ve,be,H){!function(O){"use strict";function T(v,d,c,_){var h={s:["viensas secunds","'iensas secunds"],ss:[v+" secunds",v+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[v+" m\xeduts",v+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[v+" \xfeoras",v+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[v+" ziuas",v+" ziuas"],M:["'n mes","'iens mes"],MM:[v+" mesen",v+" mesen"],y:["'n ar","'iens ar"],yy:[v+" ars",v+" ars"]};return _||d?h[c][0]:h[c][1]}O.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(d){return"d'o"===d.toLowerCase()},meridiem:function(d,c,_){return d>11?_?"d'o":"D'O":_?"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}})}(H(5439))},1631:function(ve,be,H){!function(O){"use strict";O.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(H(5439))},1595:function(ve,be,H){!function(O){"use strict";O.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}})}(H(5439))},6050:function(ve,be,H){!function(O){"use strict";O.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(v,d){return 12===v&&(v=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===d||"\u0633\u06d5\u06be\u06d5\u0631"===d||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===d?v:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===d||"\u0643\u06d5\u0686"===d?v+12:v>=11?v:v+12},meridiem:function(v,d,c){var _=100*v+d;return _<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":_<900?"\u0633\u06d5\u06be\u06d5\u0631":_<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":_<1230?"\u0686\u06c8\u0634":_<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(v,d){switch(d){case"d":case"D":case"DDD":return v+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return v+"-\u06be\u06d5\u067e\u062a\u06d5";default:return v}},preparse:function(v){return v.replace(/\u060c/g,",")},postformat:function(v){return v.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(H(5439))},5610:function(ve,be,H){!function(O){"use strict";function T(_,h,L){return"m"===L?h?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===L?h?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":_+" "+function M(_,h){var L=_.split("_");return h%10==1&&h%100!=11?L[0]:h%10>=2&&h%10<=4&&(h%100<10||h%100>=20)?L[1]:L[2]}({ss:h?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:h?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:h?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[L],+_)}function d(_){return function(){return _+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}O.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 v(_,h){var L={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 _?L[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(h)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(h)?"genitive":"nominative"][_.day()]:L.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:d("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:d("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:d("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:d("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return d("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return d("[\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(h){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(h)},meridiem:function(h,L,w){return h<4?"\u043d\u043e\u0447\u0456":h<12?"\u0440\u0430\u043d\u043a\u0443":h<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(h,L){switch(L){case"M":case"d":case"DDD":case"w":case"W":return h+"-\u0439";case"D":return h+"-\u0433\u043e";default:return h}},week:{dow:1,doy:7}})}(H(5439))},6077:function(ve,be,H){!function(O){"use strict";var M=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],T=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];O.defineLocale("ur",{months:M,monthsShort:M,weekdays:T,weekdaysShort:T,weekdaysMin:T,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(c){return"\u0634\u0627\u0645"===c},meridiem:function(c,_,h){return c<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(c){return c.replace(/\u060c/g,",")},postformat:function(c){return c.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(H(5439))},2207:function(ve,be,H){!function(O){"use strict";O.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(H(5439))},2862:function(ve,be,H){!function(O){"use strict";O.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}})}(H(5439))},8093:function(ve,be,H){!function(O){"use strict";O.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(v){return/^ch$/i.test(v)},meridiem:function(v,d,c){return v<12?c?"sa":"SA":c?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n r\u1ed3i l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(v){return v},week:{dow:1,doy:4}})}(H(5439))},5590:function(ve,be,H){!function(O){"use strict";O.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(v){var d=v%10;return v+(1==~~(v%100/10)?"th":1===d?"st":2===d?"nd":3===d?"rd":"th")},week:{dow:1,doy:4}})}(H(5439))},9058:function(ve,be,H){!function(O){"use strict";O.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}})}(H(5439))},7908:function(ve,be,H){!function(O){"use strict";O.defineLocale("zh-cn",{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:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\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\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",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(v,d){return 12===v&&(v=0),"\u51cc\u6668"===d||"\u65e9\u4e0a"===d||"\u4e0a\u5348"===d?v:"\u4e0b\u5348"===d||"\u665a\u4e0a"===d?v+12:v>=11?v:v+12},meridiem:function(v,d,c){var _=100*v+d;return _<600?"\u51cc\u6668":_<900?"\u65e9\u4e0a":_<1130?"\u4e0a\u5348":_<1230?"\u4e2d\u5348":_<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(v,d){switch(d){case"d":case"D":case"DDD":return v+"\u65e5";case"M":return v+"\u6708";case"w":case"W":return v+"\u5468";default:return v}},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}})}(H(5439))},8867:function(ve,be,H){!function(O){"use strict";O.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(v,d){return 12===v&&(v=0),"\u51cc\u6668"===d||"\u65e9\u4e0a"===d||"\u4e0a\u5348"===d?v:"\u4e2d\u5348"===d?v>=11?v:v+12:"\u4e0b\u5348"===d||"\u665a\u4e0a"===d?v+12:void 0},meridiem:function(v,d,c){var _=100*v+d;return _<600?"\u51cc\u6668":_<900?"\u65e9\u4e0a":_<1130?"\u4e0a\u5348":_<1230?"\u4e2d\u5348":_<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(v,d){switch(d){case"d":case"D":case"DDD":return v+"\u65e5";case"M":return v+"\u6708";case"w":case"W":return v+"\u9031";default:return v}},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"}})}(H(5439))},3291:function(ve,be,H){!function(O){"use strict";O.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(v,d){return 12===v&&(v=0),"\u51cc\u6668"===d||"\u65e9\u4e0a"===d||"\u4e0a\u5348"===d?v:"\u4e2d\u5348"===d?v>=11?v:v+12:"\u4e0b\u5348"===d||"\u665a\u4e0a"===d?v+12:void 0},meridiem:function(v,d,c){var _=100*v+d;return _<600?"\u51cc\u6668":_<900?"\u65e9\u4e0a":_<1130?"\u4e0a\u5348":_<1230?"\u4e2d\u5348":_<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(v,d){switch(d){case"d":case"D":case"DDD":return v+"\u65e5";case"M":return v+"\u6708";case"w":case"W":return v+"\u9031";default:return v}},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"}})}(H(5439))},5439:function(ve,be,H){(ve=H.nmd(ve)).exports=function(){"use strict";var O,W;function M(){return O.apply(null,arguments)}function v(k){return k instanceof Array||"[object Array]"===Object.prototype.toString.call(k)}function d(k){return null!=k&&"[object Object]"===Object.prototype.toString.call(k)}function _(k){return void 0===k}function h(k){return"number"==typeof k||"[object Number]"===Object.prototype.toString.call(k)}function L(k){return k instanceof Date||"[object Date]"===Object.prototype.toString.call(k)}function w(k,I){var $,z=[];for($=0;$>>0,oe=0;oe<$;oe++)if(oe in z&&I.call(this,z[oe],oe,z))return!0;return!1};var ce=M.momentProperties=[];function ne(k,I){var z,$,oe;if(_(I._isAMomentObject)||(k._isAMomentObject=I._isAMomentObject),_(I._i)||(k._i=I._i),_(I._f)||(k._f=I._f),_(I._l)||(k._l=I._l),_(I._strict)||(k._strict=I._strict),_(I._tzm)||(k._tzm=I._tzm),_(I._isUTC)||(k._isUTC=I._isUTC),_(I._offset)||(k._offset=I._offset),_(I._pf)||(k._pf=N(I)),_(I._locale)||(k._locale=I._locale),ce.length>0)for(z=0;z=0?z?"+":"":"-")+Math.pow(10,Math.max(0,I-$.length)).toString().substr(1)+$}var Ie=/(\[[^\[]*\])|(\\)?([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,Ae=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ct={},ht={};function nt(k,I,z,$){var oe=$;"string"==typeof $&&(oe=function(){return this[$]()}),k&&(ht[k]=oe),I&&(ht[I[0]]=function(){return Pe(oe.apply(this,arguments),I[1],I[2])}),z&&(ht[z]=function(){return this.localeData().ordinal(oe.apply(this,arguments),k)})}function mn(k){return k.match(/\[[\s\S]/)?k.replace(/^\[|\]$/g,""):k.replace(/\\/g,"")}function Ft(k,I){return k.isValid()?(I=zt(I,k.localeData()),ct[I]=ct[I]||function An(k){var z,$,I=k.match(Ie);for(z=0,$=I.length;z<$;z++)I[z]=ht[I[z]]?ht[I[z]]:mn(I[z]);return function(oe){var Be,Oe="";for(Be=0;Be<$;Be++)Oe+=Fe(I[Be])?I[Be].call(oe,k):I[Be];return Oe}}(I),ct[I](k)):k.localeData().invalidDate()}function zt(k,I){var z=5;function $(oe){return I.longDateFormat(oe)||oe}for(Ae.lastIndex=0;z>=0&&Ae.test(k);)k=k.replace(Ae,$),Ae.lastIndex=0,z-=1;return k}var Kn=/\d/,Vn=/\d\d/,ga=/\d{3}/,Vi=/\d{4}/,kr=/[+-]?\d{6}/,Gt=/\d\d?/,Fn=/\d\d\d\d?/,gn=/\d\d\d\d\d\d?/,$e=/\d{1,3}/,Dc=/\d{1,4}/,Nl=/[+-]?\d{1,6}/,Hv=/\d+/,Yl=/[+-]?\d+/,Tc=/Z|[+-]\d\d:?\d\d/gi,Hl=/Z|[+-]\d\d(?::?\d\d)?/gi,Vs=/[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,Lc={};function it(k,I,z){Lc[k]=Fe(I)?I:function($,oe){return $&&z?z:I}}function Dn(k,I){return x(Lc,k)?Lc[k](I._strict,I._locale):new RegExp(function Vv(k){return Lo(k.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(I,z,$,oe,Oe){return z||$||oe||Oe}))}(k))}function Lo(k){return k.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var js={};function _n(k,I){var z,$=I;for("string"==typeof k&&(k=[k]),h(I)&&($=function(Oe,Be){Be[I]=te(Oe)}),z=0;z68?1900:2e3)};var Jn,Vl=no("FullYear",!0);function no(k,I){return function(z){return null!=z?(jl(this,k,z),M.updateOffset(this,I),this):un(this,k)}}function un(k,I){return k.isValid()?k._d["get"+(k._isUTC?"UTC":"")+I]():NaN}function jl(k,I,z){k.isValid()&&!isNaN(z)&&("FullYear"===I&&Bl(k.year())&&1===k.month()&&29===k.date()?k._d["set"+(k._isUTC?"UTC":"")+I](z,k.month(),Ec(z,k.month())):k._d["set"+(k._isUTC?"UTC":"")+I](z))}function Ec(k,I){if(isNaN(k)||isNaN(I))return NaN;var z=function Yt(k,I){return(k%I+I)%I}(I,12);return k+=(I-z)/12,1===z?Bl(k)?29:28:31-z%7%2}Jn=Array.prototype.indexOf?Array.prototype.indexOf:function(I){var z;for(z=0;z=0&&isFinite(Lt.getFullYear())&&Lt.setFullYear(k),Lt}function Ul(k){var I=new Date(Date.UTC.apply(null,arguments));return k<100&&k>=0&&isFinite(I.getUTCFullYear())&&I.setUTCFullYear(k),I}function zl(k,I,z){var $=7+I-z;return-(7+Ul(k,0,$).getUTCDay()-I)%7+$-1}function qv(k,I,z,$,oe){var tn,ar,Lt=1+7*(I-1)+(7+z-$)%7+zl(k,$,oe);return Lt<=0?ar=Us(tn=k-1)+Lt:Lt>Us(k)?(tn=k+1,ar=Lt-Us(k)):(tn=k,ar=Lt),{year:tn,dayOfYear:ar}}function Ws(k,I,z){var Oe,Be,$=zl(k.year(),I,z),oe=Math.floor((k.dayOfYear()-$-1)/7)+1;return oe<1?Oe=oe+cs(Be=k.year()-1,I,z):oe>cs(k.year(),I,z)?(Oe=oe-cs(k.year(),I,z),Be=k.year()+1):(Be=k.year(),Oe=oe),{week:Oe,year:Be}}function cs(k,I,z){var $=zl(k,I,z),oe=zl(k+1,I,z);return(Us(k)-$+oe)/7}nt("w",["ww",2],"wo","week"),nt("W",["WW",2],"Wo","isoWeek"),de("week","w"),de("isoWeek","W"),_e("week",5),_e("isoWeek",5),it("w",Gt),it("ww",Gt,Vn),it("W",Gt),it("WW",Gt,Vn),Eo(["w","ww","W","WW"],function(k,I,z,$){I[$.substr(0,1)]=te(k)});nt("d",0,"do","day"),nt("dd",0,0,function(k){return this.localeData().weekdaysMin(this,k)}),nt("ddd",0,0,function(k){return this.localeData().weekdaysShort(this,k)}),nt("dddd",0,0,function(k){return this.localeData().weekdays(this,k)}),nt("e",0,0,"weekday"),nt("E",0,0,"isoWeekday"),de("day","d"),de("weekday","e"),de("isoWeekday","E"),_e("day",11),_e("weekday",11),_e("isoWeekday",11),it("d",Gt),it("e",Gt),it("E",Gt),it("dd",function(k,I){return I.weekdaysMinRegex(k)}),it("ddd",function(k,I){return I.weekdaysShortRegex(k)}),it("dddd",function(k,I){return I.weekdaysRegex(k)}),Eo(["dd","ddd","dddd"],function(k,I,z,$){var oe=z._locale.weekdaysParse(k,$,z._strict);null!=oe?I.d=oe:N(z).invalidWeekday=k}),Eo(["d","e","E"],function(k,I,z,$){I[$]=te(k)});var xc="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");var Rf="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");var Nf="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function Oc(k,I,z){var $,oe,Oe,Be=k.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],$=0;$<7;++$)Oe=y([2e3,1]).day($),this._minWeekdaysParse[$]=this.weekdaysMin(Oe,"").toLocaleLowerCase(),this._shortWeekdaysParse[$]=this.weekdaysShort(Oe,"").toLocaleLowerCase(),this._weekdaysParse[$]=this.weekdays(Oe,"").toLocaleLowerCase();return z?"dddd"===I?-1!==(oe=Jn.call(this._weekdaysParse,Be))?oe:null:"ddd"===I?-1!==(oe=Jn.call(this._shortWeekdaysParse,Be))?oe:null:-1!==(oe=Jn.call(this._minWeekdaysParse,Be))?oe:null:"dddd"===I?-1!==(oe=Jn.call(this._weekdaysParse,Be))||-1!==(oe=Jn.call(this._shortWeekdaysParse,Be))||-1!==(oe=Jn.call(this._minWeekdaysParse,Be))?oe:null:"ddd"===I?-1!==(oe=Jn.call(this._shortWeekdaysParse,Be))||-1!==(oe=Jn.call(this._weekdaysParse,Be))||-1!==(oe=Jn.call(this._minWeekdaysParse,Be))?oe:null:-1!==(oe=Jn.call(this._minWeekdaysParse,Be))||-1!==(oe=Jn.call(this._weekdaysParse,Be))||-1!==(oe=Jn.call(this._shortWeekdaysParse,Be))?oe:null}var Zv=Vs;var Hf=Vs;var io=Vs;function Bf(){function k(Yr,Zs){return Zs.length-Yr.length}var Oe,Be,Lt,tn,ar,I=[],z=[],$=[],oe=[];for(Oe=0;Oe<7;Oe++)Be=y([2e3,1]).day(Oe),Lt=this.weekdaysMin(Be,""),tn=this.weekdaysShort(Be,""),ar=this.weekdays(Be,""),I.push(Lt),z.push(tn),$.push(ar),oe.push(Lt),oe.push(tn),oe.push(ar);for(I.sort(k),z.sort(k),$.sort(k),oe.sort(k),Oe=0;Oe<7;Oe++)z[Oe]=Lo(z[Oe]),$[Oe]=Lo($[Oe]),oe[Oe]=Lo(oe[Oe]);this._weekdaysRegex=new RegExp("^("+oe.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+$.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+z.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+I.join("|")+")","i")}function Vf(){return this.hours()%12||12}function jf(k,I){nt(k,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),I)})}function Uf(k,I){return I._meridiemParse}nt("H",["HH",2],0,"hour"),nt("h",["hh",2],0,Vf),nt("k",["kk",2],0,function na(){return this.hours()||24}),nt("hmm",0,0,function(){return""+Vf.apply(this)+Pe(this.minutes(),2)}),nt("hmmss",0,0,function(){return""+Vf.apply(this)+Pe(this.minutes(),2)+Pe(this.seconds(),2)}),nt("Hmm",0,0,function(){return""+this.hours()+Pe(this.minutes(),2)}),nt("Hmmss",0,0,function(){return""+this.hours()+Pe(this.minutes(),2)+Pe(this.seconds(),2)}),jf("a",!0),jf("A",!1),de("hour","h"),_e("hour",13),it("a",Uf),it("A",Uf),it("H",Gt),it("h",Gt),it("k",Gt),it("HH",Gt,Vn),it("hh",Gt,Vn),it("kk",Gt,Vn),it("hmm",Fn),it("hmmss",gn),it("Hmm",Fn),it("Hmmss",gn),_n(["H","HH"],3),_n(["k","kk"],function(k,I,z){var $=te(k);I[3]=24===$?0:$}),_n(["a","A"],function(k,I,z){z._isPm=z._locale.isPM(k),z._meridiem=k}),_n(["h","hh"],function(k,I,z){I[3]=te(k),N(z).bigHour=!0}),_n("hmm",function(k,I,z){var $=k.length-2;I[3]=te(k.substr(0,$)),I[4]=te(k.substr($)),N(z).bigHour=!0}),_n("hmmss",function(k,I,z){var $=k.length-4,oe=k.length-2;I[3]=te(k.substr(0,$)),I[4]=te(k.substr($,2)),I[5]=te(k.substr(oe)),N(z).bigHour=!0}),_n("Hmm",function(k,I,z){var $=k.length-2;I[3]=te(k.substr(0,$)),I[4]=te(k.substr($))}),_n("Hmmss",function(k,I,z){var $=k.length-4,oe=k.length-2;I[3]=te(k.substr(0,$)),I[4]=te(k.substr($,2)),I[5]=te(k.substr(oe))});var ao,Mk=no("Hours",!0),Xv={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:Pc,monthsShort:qr,week:{dow:0,doy:6},weekdays:xc,weekdaysMin:Nf,weekdaysShort:Rf,meridiemParse:/[ap]\.?m?\.?/i},jn={},dn={};function Gl(k){return k&&k.toLowerCase().replace("_","-")}function Gs(k){var I=null;if(!jn[k]&&ve&&ve.exports)try{I=ao._abbr,H(6700)("./"+k),hi(I)}catch($){}return jn[k]}function hi(k,I){var z;return k&&((z=_(I)?qe(k):Po(k,I))?ao=z:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+k+" not found. Did you forget to load it?")),ao._abbr}function Po(k,I){if(null!==I){var z,$=Xv;if(I.abbr=k,null!=jn[k])xe("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."),$=jn[k]._config;else if(null!=I.parentLocale)if(null!=jn[I.parentLocale])$=jn[I.parentLocale]._config;else{if(null==(z=Gs(I.parentLocale)))return dn[I.parentLocale]||(dn[I.parentLocale]=[]),dn[I.parentLocale].push({name:k,config:I}),null;$=z._config}return jn[k]=new Xe(Ke($,I)),dn[k]&&dn[k].forEach(function(oe){Po(oe.name,oe.config)}),hi(k),jn[k]}return delete jn[k],null}function qe(k){var I;if(k&&k._locale&&k._locale._abbr&&(k=k._locale._abbr),!k)return ao;if(!v(k)){if(I=Gs(k))return I;k=[k]}return function Ac(k){for(var z,$,oe,Oe,I=0;I0;){if(oe=Gs(Oe.slice(0,z).join("-")))return oe;if($&&$.length>=z&&ae(Oe,$,!0)>=z-1)break;z--}I++}return ao}(k)}function ql(k){var I,z=k._a;return z&&-2===N(k).overflow&&(I=z[1]<0||z[1]>11?1:z[2]<1||z[2]>Ec(z[0],z[1])?2:z[3]<0||z[3]>24||24===z[3]&&(0!==z[4]||0!==z[5]||0!==z[6])?3:z[4]<0||z[4]>59?4:z[5]<0||z[5]>59?5:z[6]<0||z[6]>999?6:-1,N(k)._overflowDayOfYear&&(I<0||I>2)&&(I=2),N(k)._overflowWeeks&&-1===I&&(I=7),N(k)._overflowWeekday&&-1===I&&(I=8),N(k).overflow=I),k}function xo(k,I,z){return null!=k?k:null!=I?I:z}function Tt(k){var I,z,oe,Oe,Be,$=[];if(!k._d){for(oe=function zf(k){var I=new Date(M.now());return k._useUTC?[I.getUTCFullYear(),I.getUTCMonth(),I.getUTCDate()]:[I.getFullYear(),I.getMonth(),I.getDate()]}(k),k._w&&null==k._a[2]&&null==k._a[1]&&function tm(k){var I,z,$,oe,Oe,Be,Lt,tn;if(null!=(I=k._w).GG||null!=I.W||null!=I.E)Oe=1,Be=4,z=xo(I.GG,k._a[0],Ws(Sn(),1,4).year),$=xo(I.W,1),((oe=xo(I.E,1))<1||oe>7)&&(tn=!0);else{Oe=k._locale._week.dow,Be=k._locale._week.doy;var ar=Ws(Sn(),Oe,Be);z=xo(I.gg,k._a[0],ar.year),$=xo(I.w,ar.week),null!=I.d?((oe=I.d)<0||oe>6)&&(tn=!0):null!=I.e?(oe=I.e+Oe,(I.e<0||I.e>6)&&(tn=!0)):oe=Oe}$<1||$>cs(z,Oe,Be)?N(k)._overflowWeeks=!0:null!=tn?N(k)._overflowWeekday=!0:(Lt=qv(z,$,oe,Oe,Be),k._a[0]=Lt.year,k._dayOfYear=Lt.dayOfYear)}(k),null!=k._dayOfYear&&(Be=xo(k._a[0],oe[0]),(k._dayOfYear>Us(Be)||0===k._dayOfYear)&&(N(k)._overflowDayOfYear=!0),z=Ul(Be,0,k._dayOfYear),k._a[1]=z.getUTCMonth(),k._a[2]=z.getUTCDate()),I=0;I<3&&null==k._a[I];++I)k._a[I]=$[I]=oe[I];for(;I<7;I++)k._a[I]=$[I]=null==k._a[I]?2===I?1:0:k._a[I];24===k._a[3]&&0===k._a[4]&&0===k._a[5]&&0===k._a[6]&&(k._nextDay=!0,k._a[3]=0),k._d=(k._useUTC?Ul:mk).apply(null,$),Oe=k._useUTC?k._d.getUTCDay():k._d.getDay(),null!=k._tzm&&k._d.setUTCMinutes(k._d.getUTCMinutes()-k._tzm),k._nextDay&&(k._a[3]=24),k._w&&void 0!==k._w.d&&k._w.d!==Oe&&(N(k).weekdayMismatch=!0)}}var Wf=/^\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)?)?$/,et=/^\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)?)?$/,Kr=/Z|[+-]\d\d(?::?\d\d)?/,Mr=[["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}/]],ya=[["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/]],Oo=/^\/?Date\((\-?\d+)/i;function Di(k){var I,z,Oe,Be,Lt,tn,$=k._i,oe=Wf.exec($)||et.exec($);if(oe){for(N(k).iso=!0,I=0,z=Mr.length;I0&&N(k).unusedInput.push(Be),I=I.slice(I.indexOf($)+$.length),tn+=$.length),ht[Oe]?($?N(k).empty=!1:N(k).unusedTokens.push(Oe),Ci(Oe,$,k)):k._strict&&!$&&N(k).unusedTokens.push(Oe);N(k).charsLeftOver=Lt-tn,I.length>0&&N(k).unusedInput.push(I),k._a[3]<=12&&!0===N(k).bigHour&&k._a[3]>0&&(N(k).bigHour=void 0),N(k).parsedDateParts=k._a.slice(0),N(k).meridiem=k._meridiem,k._a[3]=function Un(k,I,z){var $;return null==z?I:null!=k.meridiemHour?k.meridiemHour(I,z):(null!=k.isPM&&(($=k.isPM(z))&&I<12&&(I+=12),!$&&12===I&&(I=0)),I)}(k._locale,k._a[3],k._meridiem),Tt(k),ql(k)}else Ti(k);else Di(k)}function oo(k){var I=k._i,z=k._f;return k._locale=k._locale||qe(k._l),null===I||void 0===z&&""===I?ie({nullInput:!0}):("string"==typeof I&&(k._i=I=k._locale.preparse(I)),ee(I)?new ue(ql(I)):(L(I)?k._d=I:v(z)?function Li(k){var I,z,$,oe,Oe;if(0===k._f.length)return N(k).invalidFormat=!0,void(k._d=new Date(NaN));for(oe=0;oethis?this:k:ie()});function Fo(k,I){var z,$;if(1===I.length&&v(I[0])&&(I=I[0]),!I.length)return Sn();for(z=I[0],$=1;$(Oe=cs(k,$,oe))&&(I=Oe),$c.call(this,k,I,z,$,oe))}function $c(k,I,z,$,oe){var Oe=qv(k,I,z,$,oe),Be=Ul(Oe.year,0,Oe.dayOfYear);return this.year(Be.getUTCFullYear()),this.month(Be.getUTCMonth()),this.date(Be.getUTCDate()),this}nt(0,["gg",2],0,function(){return this.weekYear()%100}),nt(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Zr("gggg","weekYear"),Zr("ggggg","weekYear"),Zr("GGGG","isoWeekYear"),Zr("GGGGG","isoWeekYear"),de("weekYear","gg"),de("isoWeekYear","GG"),_e("weekYear",1),_e("isoWeekYear",1),it("G",Yl),it("g",Yl),it("GG",Gt,Vn),it("gg",Gt,Vn),it("GGGG",Dc,Vi),it("gggg",Dc,Vi),it("GGGGG",Nl,kr),it("ggggg",Nl,kr),Eo(["gggg","ggggg","GGGG","GGGGG"],function(k,I,z,$){I[$.substr(0,2)]=te(k)}),Eo(["gg","GG"],function(k,I,z,$){I[$]=M.parseTwoDigitYear(k)}),nt("Q",0,"Qo","quarter"),de("quarter","Q"),_e("quarter",7),it("Q",Kn),_n("Q",function(k,I){I[1]=3*(te(k)-1)}),nt("D",["DD",2],"Do","date"),de("date","D"),_e("date",9),it("D",Gt),it("DD",Gt,Vn),it("Do",function(k,I){return k?I._dayOfMonthOrdinalParse||I._ordinalParse:I._dayOfMonthOrdinalParseLenient}),_n(["D","DD"],2),_n("Do",function(k,I){I[2]=te(k.match(Gt)[0])});var bm=no("Date",!0);nt("DDD",["DDDD",3],"DDDo","dayOfYear"),de("dayOfYear","DDD"),_e("dayOfYear",4),it("DDD",$e),it("DDDD",ga),_n(["DDD","DDDD"],function(k,I,z){z._dayOfYear=te(k)}),nt("m",["mm",2],0,"minute"),de("minute","m"),_e("minute",14),it("m",Gt),it("mm",Gt,Vn),_n(["m","mm"],4);var Mm=no("Minutes",!1);nt("s",["ss",2],0,"second"),de("second","s"),_e("second",15),it("s",Gt),it("ss",Gt,Vn),_n(["s","ss"],5);var Ha,Cm=no("Seconds",!1);for(nt("S",0,0,function(){return~~(this.millisecond()/100)}),nt(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),nt(0,["SSS",3],0,"millisecond"),nt(0,["SSSS",4],0,function(){return 10*this.millisecond()}),nt(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),nt(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),nt(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),nt(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),nt(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),de("millisecond","ms"),_e("millisecond",16),it("S",$e,Kn),it("SS",$e,Vn),it("SSS",$e,ga),Ha="SSSS";Ha.length<=9;Ha+="S")it(Ha,Hv);function wm(k,I){I[6]=te(1e3*("0."+k))}for(Ha="S";Ha.length<=9;Ha+="S")_n(Ha,wm);var Sm=no("Milliseconds",!1);nt("z",0,0,"zoneAbbr"),nt("zz",0,0,"zoneName");var ke=ue.prototype;function _s(k){return k}ke.add=Vc,ke.calendar=function Fk(k,I){var z=k||Sn(),$=vs(z,this).startOf("day"),oe=M.calendarFormat(this,$)||"sameElse",Oe=I&&(Fe(I[oe])?I[oe].call(this,z):I[oe]);return this.format(Oe||this.localeData().calendar(oe,this,Sn(z)))},ke.clone=function Ro(){return new ue(this)},ke.diff=function Kf(k,I,z){var $,oe,Oe;if(!this.isValid())return NaN;if(!($=vs(k,this)).isValid())return NaN;switch(oe=6e4*($.utcOffset()-this.utcOffset()),I=he(I)){case"year":Oe=jc(this,$)/12;break;case"month":Oe=jc(this,$);break;case"quarter":Oe=jc(this,$)/3;break;case"second":Oe=(this-$)/1e3;break;case"minute":Oe=(this-$)/6e4;break;case"hour":Oe=(this-$)/36e5;break;case"day":Oe=(this-$-oe)/864e5;break;case"week":Oe=(this-$-oe)/6048e5;break;default:Oe=this-$}return z?Oe:Q(Oe)},ke.endOf=function Xn(k){return void 0===(k=he(k))||"millisecond"===k?this:("date"===k&&(k="day"),this.startOf(k).add(1,"isoWeek"===k?"week":k).subtract(1,"ms"))},ke.format=function zc(k){k||(k=this.isUtc()?M.defaultFormatUtc:M.defaultFormat);var I=Ft(this,k);return this.localeData().postformat(I)},ke.from=function hm(k,I){return this.isValid()&&(ee(k)&&k.isValid()||Sn(k).isValid())?ba({to:this,from:k}).locale(this.locale()).humanize(!I):this.localeData().invalidDate()},ke.fromNow=function Wc(k){return this.from(Sn(),k)},ke.to=function pm(k,I){return this.isValid()&&(ee(k)&&k.isValid()||Sn(k).isValid())?ba({from:this,to:k}).locale(this.locale()).humanize(!I):this.localeData().invalidDate()},ke.toNow=function vm(k){return this.to(Sn(),k)},ke.get=function Uv(k){return Fe(this[k=he(k)])?this[k]():this},ke.invalidAt=function Gc(){return N(this).overflow},ke.isAfter=function um(k,I){var z=ee(k)?k:Sn(k);return!(!this.isValid()||!z.isValid())&&("millisecond"===(I=he(_(I)?"millisecond":I))?this.valueOf()>z.valueOf():z.valueOf()9999?Ft(z,I?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Fe(Date.prototype.toISOString)?I?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",Ft(z,"Z")):Ft(z,I?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},ke.inspect=function zi(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var k="moment",I="";this.isLocal()||(k=0===this.utcOffset()?"moment.utc":"moment.parseZone",I="Z");var z="["+k+'("]',$=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY";return this.format(z+$+"-MM-DD[T]HH:mm:ss.SSS"+I+'[")]')},ke.toJSON=function eu(){return this.isValid()?this.toISOString():null},ke.toString=function Uc(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},ke.unix=function mm(){return Math.floor(this.valueOf()/1e3)},ke.valueOf=function Zf(){return this._d.valueOf()-6e4*(this._offset||0)},ke.creationData=function gs(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},ke.year=Vl,ke.isLeapYear=function Tn(){return Bl(this.year())},ke.weekYear=function Qf(k){return Kc.call(this,k,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},ke.isoWeekYear=function qc(k){return Kc.call(this,k,this.isoWeek(),this.isoWeekday(),1,4)},ke.quarter=ke.quarters=function wt(k){return null==k?Math.ceil((this.month()+1)/3):this.month(3*(k-1)+this.month()%3)},ke.month=fi,ke.daysInMonth=function hk(){return Ec(this.year(),this.month())},ke.week=ke.weeks=function yk(k){var I=this.localeData().week(this);return null==k?I:this.add(7*(k-I),"d")},ke.isoWeek=ke.isoWeeks=function Ue(k){var I=Ws(this,1,4).week;return null==k?I:this.add(7*(k-I),"d")},ke.weeksInYear=function so(){var k=this.localeData()._week;return cs(this.year(),k.dow,k.doy)},ke.isoWeeksInYear=function ym(){return cs(this.year(),1,4)},ke.date=bm,ke.day=ke.days=function $v(k){if(!this.isValid())return null!=k?this:NaN;var I=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=k?(k=function bk(k,I){return"string"!=typeof k?k:isNaN(k)?"number"==typeof(k=I.weekdaysParse(k))?k:null:parseInt(k,10)}(k,this.localeData()),this.add(k-I,"d")):I},ke.weekday=function Ct(k){if(!this.isValid())return null!=k?this:NaN;var I=(this.day()+7-this.localeData()._week.dow)%7;return null==k?I:this.add(k-I,"d")},ke.isoWeekday=function Ic(k){if(!this.isValid())return null!=k?this:NaN;if(null!=k){var I=function Pt(k,I){return"string"==typeof k?I.weekdaysParse(k)%7||7:isNaN(k)?null:k}(k,this.localeData());return this.day(this.day()%7?I:I-7)}return this.day()||7},ke.dayOfYear=function km(k){var I=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==k?I:this.add(k-I,"d")},ke.hour=ke.hours=Mk,ke.minute=ke.minutes=Mm,ke.second=ke.seconds=Cm,ke.millisecond=ke.milliseconds=Sm,ke.utcOffset=function rm(k,I,z){var oe,$=this._offset||0;if(!this.isValid())return null!=k?this:NaN;if(null!=k){if("string"==typeof k){if(null===(k=ps(Hl,k)))return this}else Math.abs(k)<16&&!z&&(k*=60);return!this._isUTC&&I&&(oe=Ei(this)),this._offset=k,this._isUTC=!0,null!=oe&&this.add(oe,"m"),$!==k&&(!I||this._changeInProgress?Bc(this,ba(k-$,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,M.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?$:Ei(this)},ke.utc=function im(k){return this.utcOffset(0,k)},ke.local=function am(k){return this._isUTC&&(this.utcOffset(0,k),this._isUTC=!1,k&&this.subtract(Ei(this),"m")),this},ke.parseZone=function wk(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var k=ps(Tc,this._i);null!=k?this.utcOffset(k):this.utcOffset(0,!0)}return this},ke.hasAlignedHourOffset=function Sk(k){return!!this.isValid()&&(k=k?Sn(k).utcOffset():0,(this.utcOffset()-k)%60==0)},ke.isDST=function Dk(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},ke.isLocal=function Lk(){return!!this.isValid()&&!this._isUTC},ke.isUtcOffset=function Ek(){return!!this.isValid()&&this._isUTC},ke.isUtc=om,ke.isUTC=om,ke.zoneAbbr=function je(){return this._isUTC?"UTC":""},ke.zoneName=function en(){return this._isUTC?"Coordinated Universal Time":""},ke.dates=X("dates accessor is deprecated. Use date instead.",bm),ke.months=X("months accessor is deprecated. Use month instead",fi),ke.years=X("years accessor is deprecated. Use year instead",Vl),ke.zone=X("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function Ck(k,I){return null!=k?("string"!=typeof k&&(k=-k),this.utcOffset(k,I),this):-this.utcOffset()}),ke.isDSTShifted=X("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function Tk(){if(!_(this._isDSTShifted))return this._isDSTShifted;var k={};if(ne(k,this),(k=oo(k))._a){var I=k._isUTC?y(k._a):Sn(k._a);this._isDSTShifted=this.isValid()&&ae(k._a,I.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var Zt=Xe.prototype;function ys(k,I,z,$){var oe=qe(),Oe=y().set($,I);return oe[z](Oe,k)}function tu(k,I,z){if(h(k)&&(I=k,k=void 0),k=k||"",null!=I)return ys(k,I,z,"month");var $,oe=[];for($=0;$<12;$++)oe[$]=ys(k,$,z,"month");return oe}function Xf(k,I,z,$){"boolean"==typeof k?(h(I)&&(z=I,I=void 0),I=I||""):(z=I=k,k=!1,h(I)&&(z=I,I=void 0),I=I||"");var oe=qe(),Oe=k?oe._week.dow:0;if(null!=z)return ys(I,(z+Oe)%7,$,"day");var Be,Lt=[];for(Be=0;Be<7;Be++)Lt[Be]=ys(I,(Be+Oe)%7,$,"day");return Lt}Zt.calendar=function Nt(k,I,z){var $=this._calendar[k]||this._calendar.sameElse;return Fe($)?$.call(I,z):$},Zt.longDateFormat=function ln(k){var I=this._longDateFormat[k],z=this._longDateFormat[k.toUpperCase()];return I||!z?I:(this._longDateFormat[k]=z.replace(/MMMM|MM|DD|dddd/g,function($){return $.slice(1)}),this._longDateFormat[k])},Zt.invalidDate=function Ve(){return this._invalidDate},Zt.ordinal=function Lr(k){return this._ordinal.replace("%d",k)},Zt.preparse=_s,Zt.postformat=_s,Zt.relativeTime=function j(k,I,z,$){var oe=this._relativeTime[z];return Fe(oe)?oe(k,I,z,$):oe.replace(/%d/i,k)},Zt.pastFuture=function re(k,I){var z=this._relativeTime[k>0?"future":"past"];return Fe(z)?z(I):z.replace(/%s/i,I)},Zt.set=function He(k){var I,z;for(z in k)Fe(I=k[z])?this[z]=I:this["_"+z]=I;this._config=k,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Zt.months=function Dt(k,I){return k?v(this._months)?this._months[k.month()]:this._months[(this._months.isFormat||dt).test(I)?"format":"standalone"][k.month()]:v(this._months)?this._months:this._months.standalone},Zt.monthsShort=function zv(k,I){return k?v(this._monthsShort)?this._monthsShort[k.month()]:this._monthsShort[dt.test(I)?"format":"standalone"][k.month()]:v(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Zt.monthsParse=function fk(k,I,z){var $,oe,Oe;if(this._monthsParseExact)return dk.call(this,k,I,z);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),$=0;$<12;$++){if(oe=y([2e3,$]),z&&!this._longMonthsParse[$]&&(this._longMonthsParse[$]=new RegExp("^"+this.months(oe,"").replace(".","")+"$","i"),this._shortMonthsParse[$]=new RegExp("^"+this.monthsShort(oe,"").replace(".","")+"$","i")),!z&&!this._monthsParse[$]&&(Oe="^"+this.months(oe,"")+"|^"+this.monthsShort(oe,""),this._monthsParse[$]=new RegExp(Oe.replace(".",""),"i")),z&&"MMMM"===I&&this._longMonthsParse[$].test(k))return $;if(z&&"MMM"===I&&this._shortMonthsParse[$].test(k))return $;if(!z&&this._monthsParse[$].test(k))return $}},Zt.monthsRegex=function vk(k){return this._monthsParseExact?(x(this,"_monthsRegex")||Gv.call(this),k?this._monthsStrictRegex:this._monthsRegex):(x(this,"_monthsRegex")||(this._monthsRegex=Na),this._monthsStrictRegex&&k?this._monthsStrictRegex:this._monthsRegex)},Zt.monthsShortRegex=function pk(k){return this._monthsParseExact?(x(this,"_monthsRegex")||Gv.call(this),k?this._monthsShortStrictRegex:this._monthsShortRegex):(x(this,"_monthsShortRegex")||(this._monthsShortRegex=Wv),this._monthsShortStrictRegex&&k?this._monthsShortStrictRegex:this._monthsShortRegex)},Zt.week=function Si(k){return Ws(k,this._week.dow,this._week.doy).week},Zt.firstDayOfYear=function _k(){return this._week.doy},Zt.firstDayOfWeek=function gk(){return this._week.dow},Zt.weekdays=function Ff(k,I){return k?v(this._weekdays)?this._weekdays[k.day()]:this._weekdays[this._weekdays.isFormat.test(I)?"format":"standalone"][k.day()]:v(this._weekdays)?this._weekdays:this._weekdays.standalone},Zt.weekdaysMin=function Wl(k){return k?this._weekdaysMin[k.day()]:this._weekdaysMin},Zt.weekdaysShort=function Kv(k){return k?this._weekdaysShort[k.day()]:this._weekdaysShort},Zt.weekdaysParse=function Yf(k,I,z){var $,oe,Oe;if(this._weekdaysParseExact)return Oc.call(this,k,I,z);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),$=0;$<7;$++){if(oe=y([2e3,1]).day($),z&&!this._fullWeekdaysParse[$]&&(this._fullWeekdaysParse[$]=new RegExp("^"+this.weekdays(oe,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[$]=new RegExp("^"+this.weekdaysShort(oe,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[$]=new RegExp("^"+this.weekdaysMin(oe,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[$]||(Oe="^"+this.weekdays(oe,"")+"|^"+this.weekdaysShort(oe,"")+"|^"+this.weekdaysMin(oe,""),this._weekdaysParse[$]=new RegExp(Oe.replace(".",""),"i")),z&&"dddd"===I&&this._fullWeekdaysParse[$].test(k))return $;if(z&&"ddd"===I&&this._shortWeekdaysParse[$].test(k))return $;if(z&&"dd"===I&&this._minWeekdaysParse[$].test(k))return $;if(!z&&this._weekdaysParse[$].test(k))return $}},Zt.weekdaysRegex=function ro(k){return this._weekdaysParseExact?(x(this,"_weekdaysRegex")||Bf.call(this),k?this._weekdaysStrictRegex:this._weekdaysRegex):(x(this,"_weekdaysRegex")||(this._weekdaysRegex=Zv),this._weekdaysStrictRegex&&k?this._weekdaysStrictRegex:this._weekdaysRegex)},Zt.weekdaysShortRegex=function kk(k){return this._weekdaysParseExact?(x(this,"_weekdaysRegex")||Bf.call(this),k?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(x(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Hf),this._weekdaysShortStrictRegex&&k?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Zt.weekdaysMinRegex=function ta(k){return this._weekdaysParseExact?(x(this,"_weekdaysRegex")||Bf.call(this),k?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(x(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=io),this._weekdaysMinStrictRegex&&k?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Zt.isPM=function Qv(k){return"p"===(k+"").toLowerCase().charAt(0)},Zt.meridiem=function wn(k,I,z){return k>11?z?"pm":"PM":z?"am":"AM"},hi("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(I){var z=I%10;return I+(1===te(I%100/10)?"th":1===z?"st":2===z?"nd":3===z?"rd":"th")}}),M.lang=X("moment.lang is deprecated. Use moment.locale instead.",hi),M.langData=X("moment.langData is deprecated. Use moment.localeData instead.",qe);var ka=Math.abs;function Ma(k,I,z,$){var oe=ba(I,z);return k._milliseconds+=$*oe._milliseconds,k._days+=$*oe._days,k._months+=$*oe._months,k._bubble()}function th(k){return k<0?Math.floor(k):Math.ceil(k)}function iu(k){return 4800*k/146097}function Ks(k){return 146097*k/4800}function lo(k){return function(){return this.as(k)}}var rh=lo("ms"),au=lo("s"),ih=lo("m"),ah=lo("h"),oh=lo("d"),sh=lo("w"),ou=lo("M"),Em=lo("y");function vi(k){return function(){return this.isValid()?this._data[k]:NaN}}var er=vi("milliseconds"),No=vi("seconds"),xm=vi("minutes"),Qc=vi("hours"),Om=vi("days"),Im=vi("months"),Am=vi("years");var ia=Math.round,Pi={ss:44,s:45,m:45,h:22,d:26,M:11};function Jc(k,I,z,$,oe){return oe.relativeTime(I||1,!!z,k,$)}var Xc=Math.abs;function ks(k){return(k>0)-(k<0)||+k}function co(){if(!this.isValid())return this.localeData().invalidDate();var $,oe,k=Xc(this._milliseconds)/1e3,I=Xc(this._days),z=Xc(this._months);$=Q(k/60),oe=Q($/60),k%=60,$%=60;var Be=Q(z/12),Lt=z%=12,tn=I,ar=oe,Yr=$,Zs=k?k.toFixed(3).replace(/\.?0+$/,""):"",Ca=this.asSeconds();if(!Ca)return"P0D";var ed=Ca<0?"-":"",Qs=ks(this._months)!==ks(Ca)?"-":"",Rm=ks(this._days)!==ks(Ca)?"-":"",lu=ks(this._milliseconds)!==ks(Ca)?"-":"";return ed+"P"+(Be?Qs+Be+"Y":"")+(Lt?Qs+Lt+"M":"")+(tn?Rm+tn+"D":"")+(ar||Yr||Zs?"T":"")+(ar?lu+ar+"H":"")+(Yr?lu+Yr+"M":"")+(Zs?lu+Zs+"S":"")}var Qt=Ql.prototype;return Qt.isValid=function ra(){return this._isValid},Qt.abs=function bs(){var k=this._data;return this._milliseconds=ka(this._milliseconds),this._days=ka(this._days),this._months=ka(this._months),k.milliseconds=ka(k.milliseconds),k.seconds=ka(k.seconds),k.minutes=ka(k.minutes),k.hours=ka(k.hours),k.months=ka(k.months),k.years=ka(k.years),this},Qt.add=function Tm(k,I){return Ma(this,k,I,1)},Qt.subtract=function eh(k,I){return Ma(this,k,I,-1)},Qt.as=function nh(k){if(!this.isValid())return NaN;var I,z,$=this._milliseconds;if("month"===(k=he(k))||"year"===k)return z=this._months+iu(I=this._days+$/864e5),"month"===k?z:z/12;switch(I=this._days+Math.round(Ks(this._months)),k){case"week":return I/7+$/6048e5;case"day":return I+$/864e5;case"hour":return 24*I+$/36e5;case"minute":return 1440*I+$/6e4;case"second":return 86400*I+$/1e3;case"millisecond":return Math.floor(864e5*I)+$;default:throw new Error("Unknown unit "+k)}},Qt.asMilliseconds=rh,Qt.asSeconds=au,Qt.asMinutes=ih,Qt.asHours=ah,Qt.asDays=oh,Qt.asWeeks=sh,Qt.asMonths=ou,Qt.asYears=Em,Qt.valueOf=function Zc(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*te(this._months/12):NaN},Qt._bubble=function Lm(){var oe,Oe,Be,Lt,tn,k=this._milliseconds,I=this._days,z=this._months,$=this._data;return k>=0&&I>=0&&z>=0||k<=0&&I<=0&&z<=0||(k+=864e5*th(Ks(z)+I),I=0,z=0),$.milliseconds=k%1e3,oe=Q(k/1e3),$.seconds=oe%60,Oe=Q(oe/60),$.minutes=Oe%60,Be=Q(Oe/60),$.hours=Be%24,I+=Q(Be/24),z+=tn=Q(iu(I)),I-=th(Ks(tn)),Lt=Q(z/12),z%=12,$.days=I,$.months=z,$.years=Lt,this},Qt.clone=function Pm(){return ba(this)},Qt.get=function ri(k){return k=he(k),this.isValid()?this[k+"s"]():NaN},Qt.milliseconds=er,Qt.seconds=No,Qt.minutes=xm,Qt.hours=Qc,Qt.days=Om,Qt.weeks=function su(){return Q(this.days()/7)},Qt.months=Im,Qt.years=Am,Qt.humanize=function $s(k){if(!this.isValid())return this.localeData().invalidDate();var I=this.localeData(),z=function lh(k,I,z){var $=ba(k).abs(),oe=ia($.as("s")),Oe=ia($.as("m")),Be=ia($.as("h")),Lt=ia($.as("d")),tn=ia($.as("M")),ar=ia($.as("y")),Yr=oe<=Pi.ss&&["s",oe]||oe0,Yr[4]=z,Jc.apply(null,Yr)}(this,!k,I);return k&&(z=I.pastFuture(+this,z)),I.postformat(z)},Qt.toISOString=co,Qt.toString=co,Qt.toJSON=co,Qt.locale=Jl,Qt.localeData=Xl,Qt.toIsoString=X("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",co),Qt.lang=$f,nt("X",0,0,"unix"),nt("x",0,0,"valueOf"),it("x",Yl),it("X",/[+-]?\d+(\.\d{1,3})?/),_n("X",function(k,I,z){z._d=new Date(1e3*parseFloat(k,10))}),_n("x",function(k,I,z){z._d=new Date(te(k))}),M.version="2.22.2",function T(k){O=k}(Sn),M.fn=ke,M.min=function Nc(){return Fo("isBefore",[].slice.call(arguments,0))},M.max=function fs(){return Fo("isAfter",[].slice.call(arguments,0))},M.now=function(){return Date.now?Date.now():+new Date},M.utc=y,M.unix=function Cr(k){return Sn(1e3*k)},M.months=function Dm(k,I){return tu(k,I,"months")},M.isDate=L,M.locale=hi,M.invalid=ie,M.duration=ba,M.isMoment=ee,M.weekdays=function ru(k,I,z){return Xf(k,I,z,"weekdays")},M.parseZone=function Jf(){return Sn.apply(null,arguments).parseZone()},M.localeData=qe,M.isDuration=Yc,M.monthsShort=function nu(k,I){return tu(k,I,"monthsShort")},M.weekdaysMin=function Ba(k,I,z){return Xf(k,I,z,"weekdaysMin")},M.defineLocale=Po,M.updateLocale=function em(k,I){if(null!=I){var z,$,oe=Xv;null!=($=Gs(k))&&(oe=$._config),(z=new Xe(I=Ke(oe,I))).parentLocale=jn[k],jn[k]=z,hi(k)}else null!=jn[k]&&(null!=jn[k].parentLocale?jn[k]=jn[k].parentLocale:null!=jn[k]&&delete jn[k]);return jn[k]},M.locales=function Fc(){return Ne(jn)},M.weekdaysShort=function ni(k,I,z){return Xf(k,I,z,"weekdaysShort")},M.normalizeUnits=he,M.relativeTimeRounding=function Fm(k){return void 0===k?ia:"function"==typeof k&&(ia=k,!0)},M.relativeTimeThreshold=function uo(k,I){return void 0!==Pi[k]&&(void 0===I?Pi[k]:(Pi[k]=I,"s"===k&&(Pi.ss=I-1),!0))},M.calendarFormat=function Ak(k,I){var z=k.diff(I,"days",!0);return z<-6?"sameElse":z<-1?"lastWeek":z<0?"lastDay":z<1?"sameDay":z<2?"nextDay":z<7?"nextWeek":"sameElse"},M.prototype=ke,M.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:"YYYY-[W]WW",MONTH:"YYYY-MM"},M}()},6700:function(ve,be,H){var O={"./af":7088,"./af.js":7088,"./ar":7038,"./ar-dz":2502,"./ar-dz.js":2502,"./ar-kw":128,"./ar-kw.js":128,"./ar-ly":4519,"./ar-ly.js":4519,"./ar-ma":5443,"./ar-ma.js":5443,"./ar-sa":7642,"./ar-sa.js":7642,"./ar-tn":8592,"./ar-tn.js":8592,"./ar.js":7038,"./az":1213,"./az.js":1213,"./be":9191,"./be.js":9191,"./bg":322,"./bg.js":322,"./bm":8042,"./bm.js":8042,"./bn":9620,"./bn.js":9620,"./bo":9645,"./bo.js":9645,"./br":5020,"./br.js":5020,"./bs":4792,"./bs.js":4792,"./ca":7980,"./ca.js":7980,"./cs":7322,"./cs.js":7322,"./cv":365,"./cv.js":365,"./cy":2092,"./cy.js":2092,"./da":7387,"./da.js":7387,"./de":4307,"./de-at":9459,"./de-at.js":9459,"./de-ch":3694,"./de-ch.js":3694,"./de.js":4307,"./dv":9659,"./dv.js":9659,"./el":3460,"./el.js":3460,"./en-au":4369,"./en-au.js":4369,"./en-ca":530,"./en-ca.js":530,"./en-gb":9998,"./en-gb.js":9998,"./en-ie":3391,"./en-ie.js":3391,"./en-il":5414,"./en-il.js":5414,"./en-nz":1248,"./en-nz.js":1248,"./eo":4530,"./eo.js":4530,"./es":6866,"./es-do":8944,"./es-do.js":8944,"./es-us":3609,"./es-us.js":3609,"./es.js":6866,"./et":6725,"./et.js":6725,"./eu":7931,"./eu.js":7931,"./fa":6417,"./fa.js":6417,"./fi":944,"./fi.js":944,"./fo":5867,"./fo.js":5867,"./fr":1636,"./fr-ca":6848,"./fr-ca.js":6848,"./fr-ch":7773,"./fr-ch.js":7773,"./fr.js":1636,"./fy":4940,"./fy.js":4940,"./gd":6924,"./gd.js":6924,"./gl":6398,"./gl.js":6398,"./gom-latn":2545,"./gom-latn.js":2545,"./gu":2641,"./gu.js":2641,"./he":7536,"./he.js":7536,"./hi":6335,"./hi.js":6335,"./hr":7458,"./hr.js":7458,"./hu":6540,"./hu.js":6540,"./hy-am":5283,"./hy-am.js":5283,"./id":8780,"./id.js":8780,"./is":4205,"./is.js":4205,"./it":4211,"./it.js":4211,"./ja":1003,"./ja.js":1003,"./jv":420,"./jv.js":420,"./ka":851,"./ka.js":851,"./kk":6074,"./kk.js":6074,"./km":3343,"./km.js":3343,"./kn":4799,"./kn.js":4799,"./ko":3549,"./ko.js":3549,"./ky":3125,"./ky.js":3125,"./lb":9586,"./lb.js":9586,"./lo":2349,"./lo.js":2349,"./lt":2400,"./lt.js":2400,"./lv":9991,"./lv.js":9991,"./me":8477,"./me.js":8477,"./mi":5118,"./mi.js":5118,"./mk":5943,"./mk.js":5943,"./ml":3849,"./ml.js":3849,"./mn":1977,"./mn.js":1977,"./mr":6184,"./mr.js":6184,"./ms":485,"./ms-my":4524,"./ms-my.js":4524,"./ms.js":485,"./mt":6681,"./mt.js":6681,"./my":2024,"./my.js":2024,"./nb":2688,"./nb.js":2688,"./ne":8914,"./ne.js":8914,"./nl":1758,"./nl-be":2272,"./nl-be.js":2272,"./nl.js":1758,"./nn":1510,"./nn.js":1510,"./pa-in":7944,"./pa-in.js":7944,"./pl":1605,"./pl.js":1605,"./pt":4225,"./pt-br":3840,"./pt-br.js":3840,"./pt.js":4225,"./ro":5128,"./ro.js":5128,"./ru":5127,"./ru.js":5127,"./sd":2525,"./sd.js":2525,"./se":9893,"./se.js":9893,"./si":3123,"./si.js":3123,"./sk":9635,"./sk.js":9635,"./sl":8106,"./sl.js":8106,"./sq":8799,"./sq.js":8799,"./sr":7949,"./sr-cyrl":2872,"./sr-cyrl.js":2872,"./sr.js":7949,"./ss":6167,"./ss.js":6167,"./sv":9713,"./sv.js":9713,"./sw":1982,"./sw.js":1982,"./ta":2732,"./ta.js":2732,"./te":3636,"./te.js":3636,"./tet":2115,"./tet.js":2115,"./tg":9801,"./tg.js":9801,"./th":2868,"./th.js":2868,"./tl-ph":2360,"./tl-ph.js":2360,"./tlh":6645,"./tlh.js":6645,"./tr":8374,"./tr.js":8374,"./tzl":256,"./tzl.js":256,"./tzm":1595,"./tzm-latn":1631,"./tzm-latn.js":1631,"./tzm.js":1595,"./ug-cn":6050,"./ug-cn.js":6050,"./uk":5610,"./uk.js":5610,"./ur":6077,"./ur.js":6077,"./uz":2862,"./uz-latn":2207,"./uz-latn.js":2207,"./uz.js":2862,"./vi":8093,"./vi.js":8093,"./x-pseudo":5590,"./x-pseudo.js":5590,"./yo":9058,"./yo.js":9058,"./zh-cn":7908,"./zh-cn.js":7908,"./zh-hk":8867,"./zh-hk.js":8867,"./zh-tw":3291,"./zh-tw.js":3291};function M(v){var d=T(v);return H(d)}function T(v){if(!H.o(O,v)){var d=new Error("Cannot find module '"+v+"'");throw d.code="MODULE_NOT_FOUND",d}return O[v]}M.keys=function(){return Object.keys(O)},M.resolve=T,ve.exports=M,M.id=6700},6297:function(ve,be,H){var O={"./de.json":[3634,634],"./de_base.json":[3431,431],"./en.json":[502,502],"./es.json":[4268,268],"./es_base.json":[3974,974],"./pt.json":[5733,733],"./pt_base.json":[7048,48]};function M(T){if(!H.o(O,T))return Promise.resolve().then(function(){var c=new Error("Cannot find module '"+T+"'");throw c.code="MODULE_NOT_FOUND",c});var v=O[T],d=v[0];return H.e(v[1]).then(function(){return H.t(d,19)})}M.keys=function(){return Object.keys(O)},M.id=6297,ve.exports=M}},function(ve){ve(ve.s=1531)}]); \ No newline at end of file diff --git a/cmd/skywire-visor/static/main.559ec3dbbc5cee79.js b/cmd/skywire-visor/static/main.559ec3dbbc5cee79.js deleted file mode 100644 index ae7f166c1c..0000000000 --- a/cmd/skywire-visor/static/main.559ec3dbbc5cee79.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkskywire_manager=self.webpackChunkskywire_manager||[]).push([[179],{1531:function(ve,be,H){"use strict";function O(n){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(n)}function M(n,i){for(;!Object.prototype.hasOwnProperty.call(n,i)&&null!==(n=O(n)););return n}function T(){return T="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(i,e,t){var a=M(i,e);if(a){var o=Object.getOwnPropertyDescriptor(a,e);return o.get?o.get.call(arguments.length<3?i:t):o.value}},T.apply(this,arguments)}function v(n,i){for(var e=0;en.length)&&(i=n.length);for(var e=0,t=new Array(i);e=n.length?{done:!0}:{done:!1,value:n[t++]}},e:function(f){throw f},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,o=!0,s=!1;return{s:function(){e=e.call(n)},n:function(){var f=e.next();return o=f.done,f},e:function(f){s=!0,l=f},f:function(){try{!o&&null!=e.return&&e.return()}finally{if(s)throw l}}}}function ne(n,i){return function G(n){if(Array.isArray(n))return n}(n)||function ie(n,i){var e=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=e){var s,l,t=[],a=!0,o=!1;try{for(e=e.call(n);!(a=(s=e.next()).done)&&(t.push(s.value),!i||t.length!==i);a=!0);}catch(u){o=!0,l=u}finally{try{!a&&null!=e.return&&e.return()}finally{if(o)throw l}}return t}}(n,i)||N(n,i)||function ce(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Z(n,i,e){return i in n?Object.defineProperty(n,i,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[i]=e,n}function ae(n){return function Q(n){if(Array.isArray(n))return F(n)}(n)||function ue(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(n)||N(n)||function te(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function le(n,i,e){return(le=L()?Reflect.construct:function(a,o,s){var l=[null];l.push.apply(l,o);var f=new(Function.bind.apply(a,l));return s&&_(f,s.prototype),f}).apply(null,arguments)}function De(n){var i="function"==typeof Map?new Map:void 0;return De=function(t){if(null===t||!function X(n){return-1!==Function.toString.call(n).indexOf("[native code]")}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==i){if(i.has(t))return i.get(t);i.set(t,a)}function a(){return le(t,arguments,O(this).constructor)}return a.prototype=Object.create(t.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),_(a,t)},De(n)}var xe=Array.isArray||function(n){return n&&"number"==typeof n.length};function Fe(n){return null!==n&&"object"==typeof n}function He(n){return"function"==typeof n}var n,Ke=function(){function n(i){return Error.call(this),this.message=i?"".concat(i.length," errors occurred during unsubscription:\n").concat(i.map(function(e,t){return"".concat(t+1,") ").concat(e.toString())}).join("\n ")):"",this.name="UnsubscriptionError",this.errors=i,this}return n.prototype=Object.create(Error.prototype),n}(),Xe=Ke,Ne=function(){function n(i){c(this,n),this.closed=!1,this._parentOrParents=null,this._subscriptions=null,i&&(this._unsubscribe=i)}return d(n,[{key:"unsubscribe",value:function(){var e;if(!this.closed){var t=this._parentOrParents,a=this._unsubscribe,o=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,t instanceof n)t.remove(this);else if(null!==t)for(var s=0;s4&&void 0!==arguments[4]?arguments[4]:new nt(n,e,t);if(!a.closed)return i instanceof fe?i.subscribe(a):Gt(i)(a)}var gn=function(n){h(e,n);var i=y(e);function e(){return c(this,e),i.apply(this,arguments)}return d(e,[{key:"notifyNext",value:function(a,o,s,l,u){this.destination.next(o)}},{key:"notifyError",value:function(a,o){this.destination.error(a)}},{key:"notifyComplete",value:function(a){this.destination.complete()}}]),e}(St);function $e(n,i){return function(t){if("function"!=typeof n)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return t.lift(new Dc(n,i))}}var Dc=function(){function n(i,e){c(this,n),this.project=i,this.thisArg=e}return d(n,[{key:"call",value:function(e,t){return t.subscribe(new Nl(e,this.project,this.thisArg))}}]),n}(),Nl=function(n){h(e,n);var i=y(e);function e(t,a,o){var s;return c(this,e),(s=i.call(this,t)).project=a,s.count=0,s.thisArg=o||x(s),s}return d(e,[{key:"_next",value:function(a){var o;try{o=this.project.call(this.thisArg,a,this.count++)}catch(s){return void this.destination.error(s)}this.destination.next(o)}}]),e}(St);function Tc(n,i){return new fe(function(e){var t=new Ne,a=0;return t.add(i.schedule(function(){a!==n.length?(e.next(n[a++]),e.closed||t.add(this.schedule())):e.complete()})),t})}function it(n,i){return i?function Lc(n,i){if(null!=n){if(function Bv(n){return n&&"function"==typeof n[re]}(n))return function Hv(n,i){return new fe(function(e){var t=new Ne;return t.add(i.schedule(function(){var a=n[re]();t.add(a.subscribe({next:function(s){t.add(i.schedule(function(){return e.next(s)}))},error:function(s){t.add(i.schedule(function(){return e.error(s)}))},complete:function(){t.add(i.schedule(function(){return e.complete()}))}}))})),t})}(n,i);if(kr(n))return function Yl(n,i){return new fe(function(e){var t=new Ne;return t.add(i.schedule(function(){return n.then(function(a){t.add(i.schedule(function(){e.next(a),t.add(i.schedule(function(){return e.complete()}))}))},function(a){t.add(i.schedule(function(){return e.error(a)}))})})),t})}(n,i);if(Vi(n))return Tc(n,i);if(function Vs(n){return n&&"function"==typeof n[zt]}(n)||"string"==typeof n)return function Hl(n,i){if(!n)throw new Error("Iterable cannot be null");return new fe(function(e){var a,t=new Ne;return t.add(function(){a&&"function"==typeof a.return&&a.return()}),t.add(i.schedule(function(){a=n[zt](),t.add(i.schedule(function(){if(!e.closed){var o,s;try{var l=a.next();o=l.value,s=l.done}catch(u){return void e.error(u)}s?e.complete():(e.next(o),this.schedule())}}))})),t})}(n,i)}throw new TypeError((null!==n&&typeof n||n)+" is not observable")}(n,i):n instanceof fe?n:new fe(Gt(n))}function Dn(n,i){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof i?function(t){return t.pipe(Dn(function(a,o){return it(n(a,o)).pipe($e(function(s,l){return i(a,s,o,l)}))},e))}:("number"==typeof i&&(e=i),function(t){return t.lift(new Vv(n,e))})}var Vv=function(){function n(i){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;c(this,n),this.project=i,this.concurrent=e}return d(n,[{key:"call",value:function(e,t){return t.subscribe(new Lo(e,this.project,this.concurrent))}}]),n}(),Lo=function(n){h(e,n);var i=y(e);function e(t,a){var o,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return c(this,e),(o=i.call(this,t)).project=a,o.concurrent=s,o.hasCompleted=!1,o.buffer=[],o.active=0,o.index=0,o}return d(e,[{key:"_next",value:function(a){this.active0?this._next(o.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),e}(gn);function js(n){return n}function _n(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return Dn(js,n)}function Eo(n,i){return i?Tc(n,i):new fe(mn(n))}function Ci(){for(var n=Number.POSITIVE_INFINITY,i=null,e=arguments.length,t=new Array(e),a=0;a1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof o&&(n=t.pop()),null===i&&1===t.length&&t[0]instanceof fe?t[0]:_n(n)(Eo(t,i))}function wi(){return function(i){return i.lift(new Fa(i))}}var Fa=function(){function n(i){c(this,n),this.connectable=i}return d(n,[{key:"call",value:function(e,t){var a=this.connectable;a._refCount++;var o=new _a(e,a),s=t.subscribe(o);return o.closed||(o.connection=a.connect()),s}}]),n}(),_a=function(n){h(e,n);var i=y(e);function e(t,a){var o;return c(this,e),(o=i.call(this,t)).connectable=a,o}return d(e,[{key:"_unsubscribe",value:function(){var a=this.connectable;if(a){this.connectable=null;var o=a._refCount;if(o<=0)this.connection=null;else if(a._refCount=o-1,o>1)this.connection=null;else{var s=this.connection,l=a._connection;this.connection=null,l&&(!s||l===s)&&l.unsubscribe()}}else this.connection=null}}]),e}(St),dr=function(n){h(e,n);var i=y(e);function e(t,a){var o;return c(this,e),(o=i.call(this)).source=t,o.subjectFactory=a,o._refCount=0,o._isComplete=!1,o}return d(e,[{key:"_subscribe",value:function(a){return this.getSubject().subscribe(a)}},{key:"getSubject",value:function(){var a=this._subject;return(!a||a.isStopped)&&(this._subject=this.subjectFactory()),this._subject}},{key:"connect",value:function(){var a=this._connection;return a||(this._isComplete=!1,(a=this._connection=new Ne).add(this.source.subscribe(new Ra(this.getSubject(),this))),a.closed&&(this._connection=null,a=Ne.EMPTY)),a}},{key:"refCount",value:function(){return wi()(this)}}]),e}(fe),ea=function(){var n=dr.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:n._subscribe},_isComplete:{value:n._isComplete,writable:!0},getSubject:{value:n.getSubject},connect:{value:n.connect},refCount:{value:n.refCount}}}(),Ra=function(n){h(e,n);var i=y(e);function e(t,a){var o;return c(this,e),(o=i.call(this,t)).connectable=a,o}return d(e,[{key:"_error",value:function(a){this._unsubscribe(),T(O(e.prototype),"_error",this).call(this,a)}},{key:"_complete",value:function(){this.connectable._isComplete=!0,this._unsubscribe(),T(O(e.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){var a=this.connectable;if(a){this.connectable=null;var o=a._connection;a._refCount=0,a._subject=null,a._connection=null,o&&o.unsubscribe()}}}]),e}(Ae),Us=function(){function n(i,e){c(this,n),this.subjectFactory=i,this.selector=e}return d(n,[{key:"call",value:function(e,t){var a=this.selector,o=this.subjectFactory(),s=a(o).subscribe(e);return s.add(t.subscribe(o)),s}}]),n}();function Bl(){return new Ie}function Vl(){return function(n){return wi()(function jv(n,i){return function(t){var a;if(a="function"==typeof n?n:function(){return n},"function"==typeof i)return t.lift(new Us(a,i));var o=Object.create(t,ea);return o.source=t,o.subjectFactory=a,o}}(Bl)(n))}}function Tn(n){for(var i in n)if(n[i]===Tn)return i;throw Error("Could not find renamed property on target object.")}function no(n,i){for(var e in i)i.hasOwnProperty(e)&&!n.hasOwnProperty(e)&&(n[e]=i[e])}function ln(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(ln).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return"".concat(n.overriddenName);if(n.name)return"".concat(n.name);var i=n.toString();if(null==i)return""+i;var e=i.indexOf("\n");return-1===e?i:i.substring(0,e)}function jl(n,i){return null==n||""===n?null===i?"":i:null==i||""===i?n:n+" "+i}var Uv=Tn({__forward_ref__:Tn});function yn(n){return n.__forward_ref__=yn,n.toString=function(){return ln(this())},n}function Yt(n){return Jn(n)?n():n}function Jn(n){return"function"==typeof n&&n.hasOwnProperty(Uv)&&n.__forward_ref__===yn}var dt=function(n){h(e,n);var i=y(e);function e(t,a){var o;return c(this,e),(o=i.call(this,function Pc(n,i){var e="NG0".concat(Math.abs(n));return"".concat(e).concat(i?": "+i:"")}(t,a))).code=t,o}return d(e)}(De(Error));function Dt(n){return"string"==typeof n?n:null==n?"":String(n)}function qr(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():Dt(n)}function zs(n,i){var e=i?" in ".concat(i):"";throw new dt(-201,"No provider for ".concat(qr(n)," found").concat(e))}function Si(n,i){null==n&&function Rn(n,i,e,t){throw new Error("ASSERTION ERROR: ".concat(n)+(null==t?"":" [Expected=> ".concat(e," ").concat(t," ").concat(i," <=Actual]")))}(i,n,null,"!=")}function Ue(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function Pt(n){return{providers:n.providers||[],imports:n.imports||[]}}function xc(n){return Ff(n,Wl)||Ff(n,Yf)}function Ff(n,i){return n.hasOwnProperty(i)?n[i]:null}function Nf(n){return n&&(n.hasOwnProperty(Oc)||n.hasOwnProperty($v))?n[Oc]:null}var Ac,Wl=Tn({"\u0275prov":Tn}),Oc=Tn({"\u0275inj":Tn}),Yf=Tn({ngInjectableDef:Tn}),$v=Tn({ngInjectorDef:Tn}),Ct=function(){return(Ct=Ct||{})[Ct.Default=0]="Default",Ct[Ct.Host=1]="Host",Ct[Ct.Self=2]="Self",Ct[Ct.SkipSelf=4]="SkipSelf",Ct[Ct.Optional=8]="Optional",Ct}();function Zv(){return Ac}function ro(n){var i=Ac;return Ac=n,i}function Hf(n,i,e){var t=xc(n);return t&&"root"==t.providedIn?void 0===t.value?t.value=t.factory():t.value:e&Ct.Optional?null:void 0!==i?i:void zs(ln(n),"Injector")}function io(n){return{toString:n}.toString()}var ta=function(){return(ta=ta||{})[ta.OnPush=0]="OnPush",ta[ta.Default=1]="Default",ta}(),na=function(){return function(n){n[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom"}(na||(na={})),na}(),jf="undefined"!=typeof globalThis&&globalThis,Uf="undefined"!=typeof window&&window,Qv="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Jv="undefined"!=typeof global&&global,wn=jf||Jv||Uf||Qv,jn={},dn=[],ao=Tn({"\u0275cmp":Tn}),Gl=Tn({"\u0275dir":Tn}),Ic=Tn({"\u0275pipe":Tn}),Gs=Tn({"\u0275mod":Tn}),pi=Tn({"\u0275fac":Tn}),Po=Tn({__NG_ELEMENT_ID__:Tn}),em=0;function qe(n){return io(function(){var e={},t={type:n.type,providersResolver:null,decls:n.decls,vars:n.vars,factory:null,template:n.template||null,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:n.exportAs||null,onPush:n.changeDetection===ta.OnPush,directiveDefs:null,pipeDefs:null,selectors:n.selectors||dn,viewQuery:n.viewQuery||null,features:n.features||null,data:n.data||{},encapsulation:n.encapsulation||na.Emulated,id:"c",styles:n.styles||dn,_:null,setInput:null,schemas:n.schemas||null,tView:null},a=n.directives,o=n.features,s=n.pipes;return t.id+=em++,t.inputs=Wf(n.inputs,e),t.outputs=Wf(n.outputs),o&&o.forEach(function(l){return l(t)}),t.directiveDefs=a?function(){return("function"==typeof a?a():a).map(ql)}:null,t.pipeDefs=s?function(){return("function"==typeof s?s():s).map(xo)}:null,t})}function Fc(n,i,e){var t=n.\u0275cmp;t.directiveDefs=function(){return i.map(ql)},t.pipeDefs=function(){return e.map(xo)}}function ql(n){return Mr(n)||function ya(n){return n[Gl]||null}(n)}function xo(n){return function Oo(n){return n[Ic]||null}(n)}var zf={};function Tt(n){return io(function(){var i={type:n.type,bootstrap:n.bootstrap||dn,declarations:n.declarations||dn,imports:n.imports||dn,exports:n.exports||dn,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null};return null!=n.id&&(zf[n.id]=n.type),i})}function Wf(n,i){if(null==n)return jn;var e={};for(var t in n)if(n.hasOwnProperty(t)){var a=n[t],o=a;Array.isArray(a)&&(o=a[1],a=a[0]),e[a]=t,i&&(i[a]=o)}return e}var et=qe;function Kr(n){return{type:n.type,name:n.name,factory:null,pure:!1!==n.pure,onDestroy:n.type.prototype.ngOnDestroy||null}}function Mr(n){return n[ao]||null}function Di(n,i){var e=n[Gs]||null;if(!e&&!0===i)throw new Error("Type ".concat(ln(n)," does not have '\u0275mod' property."));return e}function ji(n){return Array.isArray(n)&&"object"==typeof n[1]}function Ui(n){return Array.isArray(n)&&!0===n[1]}function Hc(n){return 0!=(8&n.flags)}function ps(n){return 2==(2&n.flags)}function vs(n){return 1==(1&n.flags)}function Ei(n){return null!==n.template}function rm(n){return 0!=(512&n[2])}function Ro(n,i){return n.hasOwnProperty(pi)?n[pi]:null}var um=function(){function n(i,e,t){c(this,n),this.previousValue=i,this.currentValue=e,this.firstChange=t}return d(n,[{key:"isFirstChange",value:function(){return this.firstChange}}]),n}();function Nr(){return Gf}function Gf(n){return n.type.prototype.ngOnChanges&&(n.setInput=dm),cm}function cm(){var n=Kf(this),i=null==n?void 0:n.current;if(i){var e=n.previous;if(e===jn)n.previous=i;else for(var t in i)e[t]=i[t];n.current=null,this.ngOnChanges(i)}}function dm(n,i,e,t){var a=Kf(n)||function jc(n,i){return n[qf]=i}(n,{previous:jn,current:null}),o=a.current||(a.current={}),s=a.previous,l=this.declaredInputs[e],u=s[l];o[l]=new um(u&&u.currentValue,i,s===jn),n[t]=i}Nr.ngInherit=!0;var qf="__ngSimpleChanges__";function Kf(n){return n[qf]||null}var Jl=void 0;function Xn(n){return!!n.listen}var Zf={createRenderer:function(i,e){return function Xl(){return void 0!==Jl?Jl:"undefined"!=typeof document?document:void 0}()}};function fr(n){for(;Array.isArray(n);)n=n[0];return n}function eu(n,i){return fr(i[n])}function Wi(n,i){return fr(i[n.index])}function Gc(n,i){return n.data[i]}function gs(n,i){return n[i]}function Zr(n,i){var e=i[n];return ji(e)?e:e[0]}function Qf(n){return 4==(4&n[2])}function qc(n){return 128==(128&n[2])}function so(n,i){return null==i?null:n[i]}function Kc(n){n[18]=0}function $c(n,i){n[5]+=i;for(var e=n,t=n[3];null!==t&&(1===i&&1===e[5]||-1===i&&0===e[5]);)t[5]+=i,e=t,t=t[3]}var wt={lFrame:ah(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Ha(){return wt.bindingsEnabled}function je(){return wt.lFrame.lView}function Xt(){return wt.lFrame.tView}function ke(n){return wt.lFrame.contextLView=n,n[8]}function Cr(){for(var n=Jf();null!==n&&64===n.type;)n=n.parent;return n}function Jf(){return wt.lFrame.currentTNode}function $t(n,i){var e=wt.lFrame;e.currentTNode=n,e.isParent=i}function ys(){return wt.lFrame.isParent}function tu(){wt.lFrame.isParent=!1}function nu(){return wt.isInCheckNoChangesMode}function ru(n){wt.isInCheckNoChangesMode=n}function ni(){var n=wt.lFrame,i=n.bindingRootIndex;return-1===i&&(i=n.bindingRootIndex=n.tView.bindingStartIndex),i}function Ba(){return wt.lFrame.bindingIndex}function bs(){return wt.lFrame.bindingIndex++}function Ma(n){var i=wt.lFrame,e=i.bindingIndex;return i.bindingIndex=i.bindingIndex+n,e}function th(n,i){var e=wt.lFrame;e.bindingIndex=e.bindingRootIndex=n,iu(i)}function iu(n){wt.lFrame.currentDirectiveIndex=n}function Ks(n){var i=wt.lFrame.currentDirectiveIndex;return-1===i?null:n[i]}function nh(){return wt.lFrame.currentQueryIndex}function Zc(n){wt.lFrame.currentQueryIndex=n}function lo(n){var i=n[1];return 2===i.type?i.declTNode:1===i.type?n[6]:null}function rh(n,i,e){if(e&Ct.SkipSelf){for(var t=i,a=n;!(null!==(t=t.parent)||e&Ct.Host||null===(t=lo(a))||(a=a[15],10&t.type)););if(null===t)return!1;i=t,n=a}var o=wt.lFrame=ih();return o.currentTNode=i,o.lView=n,!0}function au(n){var i=ih(),e=n[1];wt.lFrame=i,i.currentTNode=e.firstChild,i.lView=n,i.tView=e,i.contextLView=n,i.bindingIndex=e.bindingStartIndex,i.inI18n=!1}function ih(){var n=wt.lFrame,i=null===n?null:n.child;return null===i?ah(n):i}function ah(n){var i={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:n,child:null,inI18n:!1};return null!==n&&(n.child=i),i}function oh(){var n=wt.lFrame;return wt.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}var sh=oh;function ou(){var n=oh();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function Em(n){var i=wt.lFrame.contextLView=function Pm(n,i){for(;n>0;)i=i[15],n--;return i}(n,wt.lFrame.contextLView);return i[8]}function ri(){return wt.lFrame.selectedIndex}function mi(n){wt.lFrame.selectedIndex=n}function er(){var n=wt.lFrame;return Gc(n.tView,n.selectedIndex)}function No(){wt.lFrame.currentNamespace="svg"}function Qc(){!function Om(){wt.lFrame.currentNamespace=null}()}function su(n,i){for(var e=i.directiveStart,t=i.directiveEnd;e=t)break}else i[u]<0&&(n[18]+=65536),(l>11>16&&(3&n[2])===i){n[2]+=2048;try{o.call(l)}finally{}}}else try{o.call(l)}finally{}}var $s=d(function n(i,e,t){c(this,n),this.factory=i,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=t});function oe(n,i,e){for(var t=Xn(n),a=0;ai){s=o-1;break}}}for(;o>16}(n),t=i;e>0;)t=t[15],e--;return t}var ed=!0;function Qs(n){var i=ed;return ed=n,i}var CP=0;function td(n,i){var e=Ym(n,i);if(-1!==e)return e;var t=i[1];t.firstCreatePass&&(n.injectorIndex=i.length,Nm(t.data,n),Nm(i,null),Nm(t.blueprint,null));var a=uh(n,i),o=n.injectorIndex;if(ar(a))for(var s=Yr(a),l=Ca(a,i),u=l[1].data,f=0;f<8;f++)i[o+f]=l[s+f]|u[s+f];return i[o+8]=a,o}function Nm(n,i){n.push(0,0,0,0,0,0,0,0,i)}function Ym(n,i){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===i[n.injectorIndex+8]?-1:n.injectorIndex}function uh(n,i){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;for(var e=0,t=null,a=i;null!==a;){var o=a[1],s=o.type;if(null===(t=2===s?o.declTNode:1===s?a[6]:null))return-1;if(e++,a=a[15],-1!==t.injectorIndex)return t.injectorIndex|e<<16}return-1}function ch(n,i,e){!function wP(n,i,e){var t;"string"==typeof e?t=e.charCodeAt(0)||0:e.hasOwnProperty(Po)&&(t=e[Po]),null==t&&(t=e[Po]=CP++);var a=255&t;i.data[n+(a>>5)]|=1<3&&void 0!==arguments[3]?arguments[3]:Ct.Default,a=arguments.length>4?arguments[4]:void 0;if(null!==n){var o=LP(e);if("function"==typeof o){if(!rh(i,n,t))return t&Ct.Host?Hk(a,e,t):Bk(i,e,t,a);try{var s=o(t);if(null!=s||t&Ct.Optional)return s;zs(e)}finally{sh()}}else if("number"==typeof o){var l=null,u=Ym(n,i),f=-1,m=t&Ct.Host?i[16][6]:null;for((-1===u||t&Ct.SkipSelf)&&(-1!==(f=-1===u?uh(n,i):i[u+8])&&zk(t,!1)?(l=i[1],u=Yr(f),i=Ca(f,i)):u=-1);-1!==u;){var C=i[1];if(Uk(o,u,C.data)){var I=TP(u,i,e,l,t,m);if(I!==jk)return I}-1!==(f=i[u+8])&&zk(t,i[1].data[u+8]===m)&&Uk(o,u,i)?(l=C,u=Yr(f),i=Ca(f,i)):u=-1}}}return Bk(i,e,t,a)}var jk={};function DP(){return new uu(Cr(),je())}function TP(n,i,e,t,a,o){var s=i[1],l=s.data[n+8],m=dh(l,s,e,null==t?ps(l)&&ed:t!=s&&0!=(3&l.type),a&Ct.Host&&o===l);return null!==m?nd(i,s,m,l):jk}function dh(n,i,e,t,a){for(var o=n.providerIndexes,s=i.data,l=1048575&o,u=n.directiveStart,m=o>>20,I=a?l+m:n.directiveEnd,V=t?l:l+m;V=u&&J.type===e)return V}if(a){var me=s[u];if(me&&Ei(me)&&me.type===e)return u}return null}function nd(n,i,e,t){var a=n[e],o=i.data;if(function Xc(n){return n instanceof $s}(a)){var s=a;s.resolving&&function zv(n,i){var e=i?". Dependency path: ".concat(i.join(" > ")," > ").concat(n):"";throw new dt(-200,"Circular dependency in DI detected for ".concat(n).concat(e))}(qr(o[e]));var l=Qs(s.canSeeViewProviders);s.resolving=!0;var u=s.injectImpl?ro(s.injectImpl):null;rh(n,t,Ct.Default);try{a=n[e]=s.factory(void 0,o,n,t),i.firstCreatePass&&e>=t.directiveStart&&function Im(n,i,e){var t=i.type.prototype,o=t.ngOnInit,s=t.ngDoCheck;if(t.ngOnChanges){var l=Gf(i);(e.preOrderHooks||(e.preOrderHooks=[])).push(n,l),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,l)}o&&(e.preOrderHooks||(e.preOrderHooks=[])).push(0-n,o),s&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n,s),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,s))}(e,o[e],i)}finally{null!==u&&ro(u),Qs(l),s.resolving=!1,sh()}}return a}function LP(n){if("string"==typeof n)return n.charCodeAt(0)||0;var i=n.hasOwnProperty(Po)?n[Po]:void 0;return"number"==typeof i?i>=0?255&i:DP:i}function Uk(n,i,e){return!!(e[i+(n>>5)]&1<=n.length?n.push(e):n.splice(i,0,e)}function fh(n,i){return i>=n.length-1?n.pop():n.splice(i,1)[0]}function ad(n,i){for(var e=[],t=0;t=0?n[1|t]=e:function AP(n,i,e,t){var a=n.length;if(a==i)n.push(e,t);else if(1===a)n.push(t,n[0]),n[0]=e;else{for(a--,n.push(n[a-1],n[a]);a>i;)n[a]=n[a-2],a--;n[i]=e,n[i+1]=t}}(n,t=~t,i,e),t}function jm(n,i){var e=pu(n,i);if(e>=0)return n[1|e]}function pu(n,i){return function $k(n,i,e){for(var t=0,a=n.length>>e;a!==t;){var o=t+(a-t>>1),s=n[o<i?a=o:t=o+1}return~(a<1&&void 0!==arguments[1]?arguments[1]:Ct.Default;if(void 0===sd){var e="";throw new dt(203,e)}return null===sd?Hf(n,void 0,i):sd.get(n,i&Ct.Optional?null:void 0,i)}function Ee(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ct.Default;return(Zv()||zP)(Yt(n),i)}var ld=Ee;function Wm(n){for(var i=[],e=0;e3&&void 0!==arguments[3]?arguments[3]:null;n=n&&"\n"===n.charAt(0)&&"\u0275"==n.charAt(1)?n.substr(2):n;var a=ln(i);if(Array.isArray(i))a=i.map(ln).join(" -> ");else if("object"==typeof i){var o=[];for(var s in i)if(i.hasOwnProperty(s)){var l=i[s];o.push(s+":"+("string"==typeof l?JSON.stringify(l):ln(l)))}a="{".concat(o.join(", "),"}")}return"".concat(e).concat(t?"("+t+")":"","[").concat(a,"]: ").concat(n.replace(VP,"\n "))}("\n"+n.message,a,e,t),n.ngTokenPath=a,n[ph]=null,n}var gh,vh=ud(hu("Inject",function(n){return{token:n}}),-1),Va=ud(hu("Optional"),8),vu=ud(hu("SkipSelf"),4);function gu(n){var i;return(null===(i=function qm(){if(void 0===gh&&(gh=null,wn.trustedTypes))try{gh=wn.trustedTypes.createPolicy("angular",{createHTML:function(i){return i},createScript:function(i){return i},createScriptURL:function(i){return i}})}catch(n){}return gh}())||void 0===i?void 0:i.createHTML(n))||n}var Js=function(){function n(i){c(this,n),this.changingThisBreaksApplicationSecurity=i}return d(n,[{key:"toString",value:function(){return"SafeValue must use [property]=binding: ".concat(this.changingThisBreaksApplicationSecurity)+" (see https://g.co/ng/security#xss)"}}]),n}(),ix=function(n){h(e,n);var i=y(e);function e(){return c(this,e),i.apply(this,arguments)}return d(e,[{key:"getTypeName",value:function(){return"HTML"}}]),e}(Js),ax=function(n){h(e,n);var i=y(e);function e(){return c(this,e),i.apply(this,arguments)}return d(e,[{key:"getTypeName",value:function(){return"Style"}}]),e}(Js),ox=function(n){h(e,n);var i=y(e);function e(){return c(this,e),i.apply(this,arguments)}return d(e,[{key:"getTypeName",value:function(){return"Script"}}]),e}(Js),sx=function(n){h(e,n);var i=y(e);function e(){return c(this,e),i.apply(this,arguments)}return d(e,[{key:"getTypeName",value:function(){return"URL"}}]),e}(Js),lx=function(n){h(e,n);var i=y(e);function e(){return c(this,e),i.apply(this,arguments)}return d(e,[{key:"getTypeName",value:function(){return"ResourceURL"}}]),e}(Js);function oa(n){return n instanceof Js?n.changingThisBreaksApplicationSecurity:n}function ho(n,i){var e=l1(n);if(null!=e&&e!==i){if("ResourceURL"===e&&"URL"===i)return!0;throw new Error("Required a safe ".concat(i,", got a ").concat(e," (see https://g.co/ng/security#xss)"))}return e===i}function l1(n){return n instanceof Js&&n.getTypeName()||null}var px=function(){function n(i){c(this,n),this.inertDocumentHelper=i}return d(n,[{key:"getInertBodyElement",value:function(e){e=""+e;try{var t=(new window.DOMParser).parseFromString(gu(e),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(e):(t.removeChild(t.firstChild),t)}catch(a){return null}}}]),n}(),vx=function(){function n(i){if(c(this,n),this.defaultDoc=i,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){var e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);var t=this.inertDocument.createElement("body");e.appendChild(t)}}return d(n,[{key:"getInertBodyElement",value:function(e){var t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=gu(e),t;var a=this.inertDocument.createElement("body");return a.innerHTML=gu(e),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(a),a}},{key:"stripCustomNsAttrs",value:function(e){for(var t=e.attributes,a=t.length-1;0"),!0}},{key:"endElement",value:function(e){var t=e.nodeName.toLowerCase();$m.hasOwnProperty(t)&&!d1.hasOwnProperty(t)&&(this.buf.push(""))}},{key:"chars",value:function(e){this.buf.push(v1(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}}]),n}(),Dx=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Tx=/([^\#-~ |!])/g;function v1(n){return n.replace(/&/g,"&").replace(Dx,function(i){return"&#"+(1024*(i.charCodeAt(0)-55296)+(i.charCodeAt(1)-56320)+65536)+";"}).replace(Tx,function(i){return"&#"+i.charCodeAt(0)+";"}).replace(//g,">")}function m1(n,i){var e=null;try{yh=yh||function u1(n){var i=new vx(n);return function mx(){try{return!!(new window.DOMParser).parseFromString(gu(""),"text/html")}catch(n){return!1}}()?new px(i):i}(n);var t=i?String(i):"";e=yh.getInertBodyElement(t);var a=5,o=t;do{if(0===a)throw new Error("Failed to sanitize html because the input is unstable");a--,t=o,o=e.innerHTML,e=yh.getInertBodyElement(t)}while(t!==o);return gu((new Sx).sanitizeChildren(Jm(e)||e))}finally{if(e)for(var u=Jm(e)||e;u.firstChild;)u.removeChild(u.firstChild)}}function Jm(n){return"content"in n&&function Lx(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var bn=function(){return(bn=bn||{})[bn.NONE=0]="NONE",bn[bn.HTML=1]="HTML",bn[bn.STYLE=2]="STYLE",bn[bn.SCRIPT=3]="SCRIPT",bn[bn.URL=4]="URL",bn[bn.RESOURCE_URL=5]="RESOURCE_URL",bn}();function vo(n){var i=function hd(){var n=je();return n&&n[12]}();return i?i.sanitize(bn.URL,n)||"":ho(n,"URL")?oa(n):dd(Dt(n))}var y1="__ngContext__";function gi(n,i){n[y1]=i}function eg(n){var i=function pd(n){return n[y1]||null}(n);return i?Array.isArray(i)?i:i.lView:null}function ng(n){return n.ngOriginalError}function Wx(n){for(var i=arguments.length,e=new Array(i>1?i-1:0),t=1;t0&&(n[e-1][4]=t[4]);var o=fh(n,10+i);!function oO(n,i){md(n,i,i[11],2,null,null),i[0]=null,i[6]=null}(t[1],t);var s=o[19];null!==s&&s.detachView(o[1]),t[3]=null,t[4]=null,t[2]&=-129}return t}}function O1(n,i){if(!(256&i[2])){var e=i[11];Xn(e)&&e.destroyNode&&md(n,i,e,3,null,null),function uO(n){var i=n[13];if(!i)return cg(n[1],n);for(;i;){var e=null;if(ji(i))e=i[13];else{var t=i[10];t&&(e=t)}if(!e){for(;i&&!i[4]&&i!==n;)ji(i)&&cg(i[1],i),i=i[3];null===i&&(i=n),ji(i)&&cg(i[1],i),e=i&&i[4]}i=e}}(i)}}function cg(n,i){if(!(256&i[2])){i[2]&=-129,i[2]|=256,function hO(n,i){var e;if(null!=n&&null!=(e=n.destroyHooks))for(var t=0;t=0?t[a=f]():t[a=-f].unsubscribe(),o+=2}else{var m=t[a=e[o+1]];e[o].call(m)}if(null!==t){for(var C=a+1;Co?"":a[C+1].toLowerCase();var V=8&t?I:null;if(V&&-1!==W1(V,f,0)||2&t&&f!==I){if(ja(t))return!1;s=!0}}}}else{if(!s&&!ja(t)&&!ja(u))return!1;if(s&&ja(u))continue;s=!1,t=u|1&t}}return ja(t)||s}function ja(n){return 0==(1&n)}function MO(n,i,e,t){if(null===i)return-1;var a=0;if(t||!e){for(var o=!1;a-1)for(e++;e2&&void 0!==arguments[2]&&arguments[2],t=0;t0?'="'+l+'"':"")+"]"}else 8&t?a+="."+s:4&t&&(a+=" "+s);else""!==a&&!ja(s)&&(i+=$1(o,a),a=""),t=s,o=o||!ja(t);e++}return""!==a&&(i+=$1(o,a)),i}var Rt={};function p(n){Z1(Xt(),je(),ri()+n,nu())}function Z1(n,i,e,t){if(!t)if(3==(3&i[2])){var o=n.preOrderCheckHooks;null!==o&&ia(i,o,e)}else{var s=n.preOrderHooks;null!==s&&Pi(i,s,0,e)}mi(e)}function Ch(n,i){return n<<17|i<<2}function Ua(n){return n>>17&32767}function vg(n){return 2|n}function Ho(n){return(131068&n)>>2}function mg(n,i){return-131069&n|i<<2}function gg(n){return 1|n}function l0(n,i){var e=n.contentQueries;if(null!==e)for(var t=0;t20&&Z1(n,i,20,nu()),e(t,a)}finally{mi(o)}}function c0(n,i,e){if(Hc(i))for(var a=i.directiveEnd,o=i.directiveStart;o2&&void 0!==arguments[2]?arguments[2]:Wi,t=i.localNames;if(null!==t)for(var a=i.index+1,o=0;o0;){var e=n[--i];if("number"==typeof e&&e<0)return e}return 0})(l)!=u&&l.push(u),l.push(t,a,s)}}function _0(n,i){null!==n.hostBindings&&n.hostBindings(1,i)}function y0(n,i){i.flags|=2,(n.components||(n.components=[])).push(i.index)}function nA(n,i,e){if(e){if(i.exportAs)for(var t=0;t0&&xg(e)}}function xg(n){for(var i=ag(n);null!==i;i=og(i))for(var e=10;e0&&xg(t)}var s=n[1].components;if(null!==s)for(var l=0;l0&&xg(u)}}function uA(n,i){var e=Zr(i,n),t=e[1];(function cA(n,i){for(var e=i.length;e1&&void 0!==arguments[1]?arguments[1]:od;if(t===od){var a=new Error("NullInjectorError: No provider for ".concat(ln(e),"!"));throw a.name="NullInjectorError",a}return t}}]),n}(),Ng=new Ze("Set Injector scope."),yd={},gA={},Yg=void 0;function P0(){return void 0===Yg&&(Yg=new E0),Yg}function x0(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,t=arguments.length>3?arguments[3]:void 0,a=O0(n,i,e,t);return a._resolveInjectorDefTypes(),a}function O0(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,t=arguments.length>3?arguments[3]:void 0;return new _A(n,e,i||P0(),t)}var _A=function(){function n(i,e,t){var a=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;c(this,n),this.parent=t,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var s=[];e&&fo(e,function(u){return a.processProvider(u,i,e)}),fo([i],function(u){return a.processInjectorType(u,[],s)}),this.records.set(Rg,Cu(void 0,this));var l=this.records.get(Ng);this.scope=null!=l?l.value:null,this.source=o||("object"==typeof i?null:ln(i))}return d(n,[{key:"destroyed",get:function(){return this._destroyed}},{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]:od,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ct.Default;this.assertNotDestroyed();var o=Jk(this),s=ro(void 0);try{if(!(a&Ct.SkipSelf)){var l=this.records.get(e);if(void 0===l){var u=DA(e)&&xc(e);l=u&&this.injectableDefInScope(u)?Cu(Hg(e),yd):null,this.records.set(e,l)}if(null!=l)return this.hydrate(e,l)}var f=a&Ct.Self?P0():this.parent;return f.get(e,t=a&Ct.Optional&&t===od?null:t)}catch(C){if("NullInjectorError"===C.name){var m=C[ph]=C[ph]||[];if(m.unshift(ln(e)),o)throw C;return GP(C,e,"R3InjectorError",this.source)}throw C}finally{ro(s),Jk(o)}}},{key:"_resolveInjectorDefTypes",value:function(){var e=this;this.injectorDefTypes.forEach(function(t){return e.get(t)})}},{key:"toString",value:function(){var e=[];return this.records.forEach(function(a,o){return e.push(ln(o))}),"R3Injector[".concat(e.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new dt(205,!1)}},{key:"processInjectorType",value:function(e,t,a){var o=this;if(!(e=Yt(e)))return!1;var s=Nf(e),l=null==s&&e.ngModule||void 0,u=void 0===l?e:l,C=-1!==a.indexOf(u);if(void 0!==l&&(s=Nf(l)),null==s)return!1;if(null!=s.imports&&!C){var I;a.push(u);try{fo(s.imports,function(pe){o.processInjectorType(pe,t,a)&&(void 0===I&&(I=[]),I.push(pe))})}finally{}if(void 0!==I)for(var V=function(Re){var Ye=I[Re],Ge=Ye.ngModule,rt=Ye.providers;fo(rt,function(mt){return o.processProvider(mt,Ge,rt||dn)})},J=0;J0)throw ad(i,"?"),new dt(204,!1);var t=function Rf(n){var i=n&&(n[Wl]||n[Yf]);if(i){var e=function Kv(n){if(n.hasOwnProperty("name"))return n.name;var i=(""+n).match(/^function\s*([^\s(]+)/);return null===i?"":i[1]}(n);return console.warn('DEPRECATED: DI is instantiating a token "'.concat(e,'" that inherits its @Injectable decorator but does not provide one itself.\n')+'This will become an error in a future version of Angular. Please add @Injectable() to the "'.concat(e,'" class.')),i}return null}(n);return null!==t?function(){return t.factory(n)}:function(){return new n}}(n);throw new dt(204,!1)}function A0(n,i,e){var t=void 0;if(wu(n)){var a=Yt(n);return Ro(a)||Hg(a)}if(I0(n))t=function(){return Yt(n.useValue)};else if(function MA(n){return!(!n||!n.useFactory)}(n))t=function(){return n.useFactory.apply(n,ae(Wm(n.deps||[])))};else if(function kA(n){return!(!n||!n.useExisting)}(n))t=function(){return Ee(Yt(n.useExisting))};else{var o=Yt(n&&(n.useClass||n.provide));if(!function wA(n){return!!n.deps}(n))return Ro(o)||Hg(o);t=function(){return le(o,ae(Wm(n.deps)))}}return t}function Cu(n,i){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:n,value:i,multi:e?[]:void 0}}function I0(n){return null!==n&&"object"==typeof n&&UP in n}function wu(n){return"function"==typeof n}function DA(n){return"function"==typeof n||"object"==typeof n&&n instanceof Ze}var zn=function(){var n=function(){function i(){c(this,i)}return d(i,null,[{key:"create",value:function(t,a){var o;if(Array.isArray(t))return x0({name:""},a,t,"");var s=null!==(o=t.name)&&void 0!==o?o:"";return x0({name:s},t.parent,t.providers,s)}}]),i}();return n.THROW_IF_NOT_FOUND=od,n.NULL=new E0,n.\u0275prov=Ue({token:n,providedIn:"any",factory:function(){return Ee(Rg)}}),n.__NG_ELEMENT_ID__=-1,n}();function NA(n,i){su(eg(n)[1],Cr())}function vt(n){for(var i=function j0(n){return Object.getPrototypeOf(n.prototype).constructor}(n.type),e=!0,t=[n];i;){var a=void 0;if(Ei(n))a=i.\u0275cmp||i.\u0275dir;else{if(i.\u0275cmp)throw new dt(903,"");a=i.\u0275dir}if(a){if(e){t.push(a);var s=n;s.inputs=Vg(n.inputs),s.declaredInputs=Vg(n.declaredInputs),s.outputs=Vg(n.outputs);var l=a.hostBindings;l&&VA(n,l);var u=a.viewQuery,f=a.contentQueries;if(u&&HA(n,u),f&&BA(n,f),no(n.inputs,a.inputs),no(n.declaredInputs,a.declaredInputs),no(n.outputs,a.outputs),Ei(a)&&a.data.animation){var m=n.data;m.animation=(m.animation||[]).concat(a.data.animation)}}var C=a.features;if(C)for(var I=0;I=0;t--){var a=n[t];a.hostVars=i+=a.hostVars,a.hostAttrs=Lt(a.hostAttrs,e=Lt(e,a.hostAttrs))}}(t)}function Vg(n){return n===jn?{}:n===dn?[]:n}function HA(n,i){var e=n.viewQuery;n.viewQuery=e?function(t,a){i(t,a),e(t,a)}:i}function BA(n,i){var e=n.contentQueries;n.contentQueries=e?function(t,a,o){i(t,a,o),e(t,a,o)}:i}function VA(n,i){var e=n.hostBindings;n.hostBindings=e?function(t,a){i(t,a),e(t,a)}:i}var Eh=null;function Su(){if(!Eh){var n=wn.Symbol;if(n&&n.iterator)Eh=n.iterator;else for(var i=Object.getOwnPropertyNames(Map.prototype),e=0;e1&&void 0!==arguments[1]?arguments[1]:Ct.Default,e=je();if(null===e)return Ee(n,i);var t=Cr();return Vk(t,e,Yt(n),i)}function Ru(){throw new Error("invalid")}function S(n,i,e){var t=je();return _i(t,bs(),i)&&la(Xt(),er(),t,n,i,t[11],e,!1),S}function Gg(n,i,e,t,a){var s=a?"class":"style";L0(n,e,i.inputs[s],s,t)}function E(n,i,e,t){var a=je(),o=Xt(),s=20+n,l=a[11],u=a[s]=lg(l,i,function Am(){return wt.lFrame.currentNamespace}()),f=o.firstCreatePass?function hI(n,i,e,t,a,o,s){var l=i.consts,f=bu(i,n,2,a,so(l,o));return Eg(i,e,f,so(l,s)),null!==f.attrs&&Lh(f,f.attrs,!1),null!==f.mergedAttrs&&Lh(f,f.mergedAttrs,!0),null!==i.queries&&i.queries.elementStart(i,f),f}(s,o,a,0,i,e,t):o.data[s];$t(f,!0);var m=f.mergedAttrs;null!==m&&oe(l,u,m);var C=f.classes;null!==C&&pg(l,u,C);var I=f.styles;return null!==I&&z1(l,u,I),64!=(64&f.flags)&&kh(o,a,u,f),0===function km(){return wt.lFrame.elementDepthCount}()&&gi(u,a),function Mm(){wt.lFrame.elementDepthCount++}(),vs(f)&&(Tg(o,a,f),c0(o,f,a)),null!==t&&Lg(a,f),E}function P(){var n=Cr();ys()?tu():$t(n=n.parent,!1);var i=n;!function Cm(){wt.lFrame.elementDepthCount--}();var e=Xt();return e.firstCreatePass&&(su(e,n),Hc(n)&&e.queries.elementEnd(n)),null!=i.classesWithoutHost&&function k(n){return 0!=(16&n.flags)}(i)&&Gg(e,i,je(),i.classesWithoutHost,!0),null!=i.stylesWithoutHost&&function A(n){return 0!=(32&n.flags)}(i)&&Gg(e,i,je(),i.stylesWithoutHost,!1),P}function Te(n,i,e,t){return E(n,i,e,t),P(),Te}function ze(n,i,e){var t=je(),a=Xt(),o=n+20,s=a.firstCreatePass?function pI(n,i,e,t,a){var o=i.consts,s=so(o,t),l=bu(i,n,8,"ng-container",s);return null!==s&&Lh(l,s,!0),Eg(i,e,l,so(o,a)),null!==i.queries&&i.queries.elementStart(i,l),l}(o,a,t,i,e):a.data[o];$t(s,!0);var l=t[o]=t[11].createComment("");return kh(a,t,l,s),gi(l,t),vs(s)&&(Tg(a,t,s),c0(a,s,t)),null!=e&&Lg(t,s),ze}function We(){var n=Cr(),i=Xt();return ys()?tu():$t(n=n.parent,!1),i.firstCreatePass&&(su(i,n),Hc(n)&&i.queries.elementEnd(n)),We}function Ss(n,i,e){return ze(n,i,e),We(),Ss}function tt(){return je()}function Md(n){return!!n&&"function"==typeof n.then}function uM(n){return!!n&&"function"==typeof n.subscribe}var qg=uM;function Se(n,i,e,t){var a=je(),o=Xt(),s=Cr();return cM(o,a,a[11],s,n,i,!!e,t),Se}function xh(n,i){var e=Cr(),t=je(),a=Xt();return cM(a,t,D0(Ks(a.data),e,t),e,n,i,!1),xh}function cM(n,i,e,t,a,o,s,l){var u=vs(t),m=n.firstCreatePass&&S0(n),C=i[8],I=w0(i),V=!0;if(3&t.type||l){var J=Wi(t,i),me=l?l(J):J,Ce=I.length,Le=l?function(ss){return l(fr(ss[t.index]))}:t.index;if(Xn(e)){var pe=null;if(!l&&u&&(pe=function vI(n,i,e,t){var a=n.cleanup;if(null!=a)for(var o=0;ou?l[u]:null}"string"==typeof s&&(o+=2)}return null}(n,i,a,t.index)),null!==pe)(pe.__ngLastListenerFn__||pe).__ngNextListenerFn__=o,pe.__ngLastListenerFn__=o,V=!1;else{o=Kg(t,i,C,o,!1);var Ye=e.listen(me,a,o);I.push(o,Ye),m&&m.push(a,Le,Ce,Ce+1)}}else o=Kg(t,i,C,o,!0),me.addEventListener(a,o,s),I.push(o),m&&m.push(a,Le,Ce,s)}else o=Kg(t,i,C,o,!1);var rt,Ge=t.outputs;if(V&&null!==Ge&&(rt=Ge[a])){var mt=rt.length;if(mt)for(var on=0;on0&&void 0!==arguments[0]?arguments[0]:1;return Em(n)}function mI(n,i){for(var e=null,t=function CO(n){var i=n.attrs;if(null!=i){var e=i.indexOf(5);if(0==(1&e))return i[e+1]}return null}(n),a=0;a1&&void 0!==arguments[1]?arguments[1]:0,e=arguments.length>2?arguments[2]:void 0,t=je(),a=Xt(),o=bu(a,20+n,16,null,e||null);null===o.projection&&(o.projection=i),tu(),64!=(64&o.flags)&&mO(a,t,o)}function Ln(n,i,e){return $g(n,"",i,"",e),Ln}function $g(n,i,e,t,a){var o=je(),s=Tu(o,i,e,t);return s!==Rt&&la(Xt(),er(),o,n,s,o[11],a,!1),$g}function bM(n,i,e,t,a){for(var o=n[e+1],s=null===i,l=t?Ua(o):Ho(o),u=!1;0!==l&&(!1===u||s);){var m=n[l+1];yI(n[l],i)&&(u=!0,n[l+1]=t?gg(m):vg(m)),l=t?Ua(m):Ho(m)}u&&(n[e+1]=t?vg(o):gg(o))}function yI(n,i){return null===n||null==i||(Array.isArray(n)?n[1]:n)===i||!(!Array.isArray(n)||"string"!=typeof i)&&pu(n,i)>=0}var Br={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function kM(n){return n.substring(Br.key,Br.keyEnd)}function bI(n){return n.substring(Br.value,Br.valueEnd)}function MM(n,i){var e=Br.textEnd;return e===i?-1:(i=Br.keyEnd=function CI(n,i,e){for(;i32;)i++;return i}(n,Br.key=i,e),Nu(n,i,e))}function CM(n,i){var e=Br.textEnd,t=Br.key=Nu(n,i,e);return e===t?-1:(t=Br.keyEnd=function wI(n,i,e){for(var t;i=65&&(-33&t)<=90||t>=48&&t<=57);)i++;return i}(n,t,e),t=SM(n,t,e),t=Br.value=Nu(n,t,e),t=Br.valueEnd=function SI(n,i,e){for(var t=-1,a=-1,o=-1,s=i,l=s;s32&&(l=s),o=a,a=t,t=-33&u}return l}(n,t,e),SM(n,t,e))}function wM(n){Br.key=0,Br.keyEnd=0,Br.value=0,Br.valueEnd=0,Br.textEnd=n.length}function Nu(n,i,e){for(;i=0;e=CM(i,e))EM(n,kM(i),bI(i))}function ua(n){Ga(aa,yo,n,!0)}function yo(n,i){for(var e=function kI(n){return wM(n),MM(n,Nu(n,0,Br.textEnd))}(i);e>=0;e=MM(i,e))aa(n,kM(i),!0)}function Wa(n,i,e,t){var a=je(),o=Xt(),s=Ma(2);o.firstUpdatePass&&LM(o,n,s,t),i!==Rt&&_i(a,s,i)&&PM(o,o.data[ri()],a,a[11],n,a[s+1]=function AI(n,i){return null==n||("string"==typeof i?n+=i:"object"==typeof n&&(n=ln(oa(n)))),n}(i,e),t,s)}function Ga(n,i,e,t){var a=Xt(),o=Ma(2);a.firstUpdatePass&&LM(a,null,o,t);var s=je();if(e!==Rt&&_i(s,o,e)){var l=a.data[ri()];if(OM(l,t)&&!TM(a,o)){var f=t?l.classesWithoutHost:l.stylesWithoutHost;null!==f&&(e=jl(f,e||"")),Gg(a,l,s,e,t)}else!function OI(n,i,e,t,a,o,s,l){a===Rt&&(a=dn);for(var u=0,f=0,m=0=n.expandoStartIndex}function LM(n,i,e,t){var a=n.data;if(null===a[e+1]){var o=a[ri()],s=TM(n,e);OM(o,t)&&null===i&&!s&&(i=!1),i=function TI(n,i,e,t){var a=Ks(n),o=t?i.residualClasses:i.residualStyles;if(null===a)0===(t?i.classBindings:i.styleBindings)&&(e=Cd(e=Zg(null,n,i,e,t),i.attrs,t),o=null);else{var l=i.directiveStylingLast;if(-1===l||n[l]!==a)if(e=Zg(a,n,i,e,t),null===o){var f=function LI(n,i,e){var t=e?i.classBindings:i.styleBindings;if(0!==Ho(t))return n[Ua(t)]}(n,i,t);void 0!==f&&Array.isArray(f)&&function EI(n,i,e,t){n[Ua(e?i.classBindings:i.styleBindings)]=t}(n,i,t,f=Cd(f=Zg(null,n,i,f[1],t),i.attrs,t))}else o=function PI(n,i,e){for(var t=void 0,a=i.directiveEnd,o=1+i.directiveStylingLast;o0)&&(f=!0):m=e,a)if(0!==u){var V=Ua(n[l+1]);n[t+1]=Ch(V,l),0!==V&&(n[V+1]=mg(n[V+1],t)),n[l+1]=function PO(n,i){return 131071&n|i<<17}(n[l+1],t)}else n[t+1]=Ch(l,0),0!==l&&(n[l+1]=mg(n[l+1],t)),l=t;else n[t+1]=Ch(u,0),0===l?l=t:n[u+1]=mg(n[u+1],t),u=t;f&&(n[t+1]=vg(n[t+1])),bM(n,m,t,!0),bM(n,m,t,!1),function _I(n,i,e,t,a){var o=a?n.residualClasses:n.residualStyles;null!=o&&"string"==typeof i&&pu(o,i)>=0&&(e[t+1]=gg(e[t+1]))}(i,m,n,t,o),s=Ch(l,u),o?i.classBindings=s:i.styleBindings=s}(a,o,i,e,s,t)}}function Zg(n,i,e,t,a){var o=null,s=e.directiveEnd,l=e.directiveStylingLast;for(-1===l?l=e.directiveStart:l++;l0;){var u=n[a],f=Array.isArray(u),m=f?u[1]:u,C=null===m,I=e[a+1];I===Rt&&(I=C?dn:void 0);var V=C?jm(I,t):m===t?I:void 0;if(f&&!Oh(V)&&(V=jm(u,t)),Oh(V)&&(l=V,s))return l;var J=n[a+1];a=s?Ua(J):Ho(J)}if(null!==i){var me=o?i.residualClasses:i.residualStyles;null!=me&&(l=jm(me,t))}return l}function Oh(n){return void 0!==n}function OM(n,i){return 0!=(n.flags&(i?16:32))}function R(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",e=je(),t=Xt(),a=n+20,o=t.firstCreatePass?bu(t,a,1,i,null):t.data[a],s=e[a]=sg(e[11],i);kh(t,e,s,o),$t(o,!1)}function ge(n){return ye("",n,""),ge}function ye(n,i,e){var t=je(),a=Tu(t,n,i,e);return a!==Rt&&Bo(t,ri(),a),ye}function xi(n,i,e,t,a){var o=je(),s=function Lu(n,i,e,t,a,o){var l=el(n,Ba(),e,a);return Ma(2),l?i+Dt(e)+t+Dt(a)+o:Rt}(o,n,i,e,t,a);return s!==Rt&&Bo(o,ri(),s),xi}function Qg(n,i,e,t,a,o,s){var l=je(),u=Eu(l,n,i,e,t,a,o,s);return u!==Rt&&Bo(l,ri(),u),Qg}function Jg(n,i,e,t,a,o,s,l,u){var f=je(),m=Pu(f,n,i,e,t,a,o,s,l,u);return m!==Rt&&Bo(f,ri(),m),Jg}function tl(n,i,e){var t=je();return _i(t,bs(),i)&&la(Xt(),er(),t,n,i,t[11],e,!0),tl}function Ah(n,i,e){var t=je();if(_i(t,bs(),i)){var o=Xt(),s=er();la(o,s,t,n,i,D0(Ks(o.data),s,t),e,!0)}return Ah}var nl=void 0,JI=["en",[["a","p"],["AM","PM"],nl],[["AM","PM"],nl,nl],[["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"]],nl,[["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"]],nl,[["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}",nl,"{1} 'at' {0}",nl],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function QI(n){var e=Math.floor(Math.abs(n)),t=n.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===t?1:5}],Yu={};function Oi(n){var i=function XI(n){return n.toLowerCase().replace(/_/g,"-")}(n),e=$M(i);if(e)return e;var t=i.split("-")[0];if(e=$M(t))return e;if("en"===t)return JI;throw new Error('Missing locale data for the locale "'.concat(n,'".'))}function $M(n){return n in Yu||(Yu[n]=wn.ng&&wn.ng.common&&wn.ng.common.locales&&wn.ng.common.locales[n]),Yu[n]}var st=function(){return(st=st||{})[st.LocaleId=0]="LocaleId",st[st.DayPeriodsFormat=1]="DayPeriodsFormat",st[st.DayPeriodsStandalone=2]="DayPeriodsStandalone",st[st.DaysFormat=3]="DaysFormat",st[st.DaysStandalone=4]="DaysStandalone",st[st.MonthsFormat=5]="MonthsFormat",st[st.MonthsStandalone=6]="MonthsStandalone",st[st.Eras=7]="Eras",st[st.FirstDayOfWeek=8]="FirstDayOfWeek",st[st.WeekendRange=9]="WeekendRange",st[st.DateFormat=10]="DateFormat",st[st.TimeFormat=11]="TimeFormat",st[st.DateTimeFormat=12]="DateTimeFormat",st[st.NumberSymbols=13]="NumberSymbols",st[st.NumberFormats=14]="NumberFormats",st[st.CurrencyCode=15]="CurrencyCode",st[st.CurrencySymbol=16]="CurrencySymbol",st[st.CurrencyName=17]="CurrencyName",st[st.Currencies=18]="Currencies",st[st.Directionality=19]="Directionality",st[st.PluralCase=20]="PluralCase",st[st.ExtraData=21]="ExtraData",st}(),Ih="en-US";function KF(n,i,e){var t=Xt();if(t.firstCreatePass){var a=Ei(n);t_(e,t.data,t.blueprint,a,!0),t_(i,t.data,t.blueprint,a,!1)}}function t_(n,i,e,t,a){if(n=Yt(n),Array.isArray(n))for(var o=0;o>20;if(wu(n)||!n.multi){var J=new $s(f,a,B),me=r_(u,i,a?C:C+V,I);-1===me?(ch(td(m,l),s,u),n_(s,n,i.length),i.push(u),m.directiveStart++,m.directiveEnd++,a&&(m.providerIndexes+=1048576),e.push(J),l.push(J)):(e[me]=J,l[me]=J)}else{var Ce=r_(u,i,C+V,I),Le=r_(u,i,C,C+V),Re=Le>=0&&e[Le];if(a&&!Re||!a&&!(Ce>=0&&e[Ce])){ch(td(m,l),s,u);var Ye=function QF(n,i,e,t,a){var o=new $s(n,e,B);return o.multi=[],o.index=i,o.componentProviders=0,bC(o,a,t&&!e),o}(a?ZF:$F,e.length,a,t,f);!a&&Re&&(e[Le].providerFactory=Ye),n_(s,n,i.length,0),i.push(u),m.directiveStart++,m.directiveEnd++,a&&(m.providerIndexes+=1048576),e.push(Ye),l.push(Ye)}else n_(s,n,Ce>-1?Ce:Le,bC(e[a?Le:Ce],f,!a&&t));!a&&t&&Re&&e[Le].componentProviders++}}}function n_(n,i,e,t){var a=wu(i),o=function CA(n){return!!n.useClass}(i);if(a||o){var u=(o?Yt(i.useClass):i).prototype.ngOnDestroy;if(u){var f=n.destroyHooks||(n.destroyHooks=[]);if(!a&&i.multi){var m=f.indexOf(e);-1===m?f.push(e,[t,u]):f[m+1].push(t,u)}else f.push(e,u)}}}function bC(n,i,e){return e&&n.componentProviders++,n.multi.push(i)-1}function r_(n,i,e,t){for(var a=e;a1&&void 0!==arguments[1]?arguments[1]:[];return function(e){e.providersResolver=function(t,a){return KF(t,a?a(n):n,i)}}}var JF=d(function n(){c(this,n)}),kC=d(function n(){c(this,n)}),eR=function(){function n(){c(this,n)}return d(n,[{key:"resolveComponentFactory",value:function(e){throw function XF(n){var i=Error("No component factory found for ".concat(ln(n),". Did you add it to @NgModule.entryComponents?"));return i.ngComponent=n,i}(e)}}]),n}(),Ts=function(){var n=d(function i(){c(this,i)});return n.NULL=new eR,n}();function tR(){return Bu(Cr(),je())}function Bu(n,i){return new yt(Wi(n,i))}var yt=function(){var n=d(function i(e){c(this,i),this.nativeElement=e});return n.__NG_ELEMENT_ID__=tR,n}();function nR(n){return n instanceof yt?n.nativeElement:n}var Ld=d(function n(){c(this,n)}),bo=function(){var n=d(function i(){c(this,i)});return n.__NG_ELEMENT_ID__=function(){return function iR(){var n=je(),e=Zr(Cr().index,n);return function rR(n){return n[11]}(ji(e)?e:n)}()},n}(),aR=function(){var n=d(function i(){c(this,i)});return n.\u0275prov=Ue({token:n,providedIn:"root",factory:function(){return null}}),n}(),rl=d(function n(i){c(this,n),this.full=i,this.major=i.split(".")[0],this.minor=i.split(".")[1],this.patch=i.split(".").slice(2).join(".")}),oR=new rl("13.2.5"),a_={};function Hh(n,i,e,t){for(var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];null!==e;){var o=i[e.index];if(null!==o&&t.push(fr(o)),Ui(o))for(var s=10;s-1&&(ug(e,a),fh(t,a))}this._attachedToViewContainer=!1}O1(this._lView[1],this._lView)}},{key:"onDestroy",value:function(e){p0(this._lView[1],this._lView,null,e)}},{key:"markForCheck",value:function(){Og(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){Ig(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function fA(n,i,e){ru(!0);try{Ig(n,i,e)}finally{ru(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(){if(this._appRef)throw new dt(902,"");this._attachedToViewContainer=!0}},{key:"detachFromAppRef",value:function(){this._appRef=null,function lO(n,i){md(n,i,i[11],2,null,null)}(this._lView[1],this._lView)}},{key:"attachToAppRef",value:function(e){if(this._attachedToViewContainer)throw new dt(902,"");this._appRef=e}}]),n}(),sR=function(n){h(e,n);var i=y(e);function e(t){var a;return c(this,e),(a=i.call(this,t))._view=t,a}return d(e,[{key:"detectChanges",value:function(){C0(this._view)}},{key:"checkNoChanges",value:function(){!function hA(n){ru(!0);try{C0(n)}finally{ru(!1)}}(this._view)}},{key:"context",get:function(){return null}}]),e}(Ed),CC=function(n){h(e,n);var i=y(e);function e(t){var a;return c(this,e),(a=i.call(this)).ngModule=t,a}return d(e,[{key:"resolveComponentFactory",value:function(a){var o=Mr(a);return new o_(o,this.ngModule)}}]),e}(Ts);function wC(n){var i=[];for(var e in n)n.hasOwnProperty(e)&&i.push({propName:n[e],templateName:e});return i}var o_=function(n){h(e,n);var i=y(e);function e(t,a){var o;return c(this,e),(o=i.call(this)).componentDef=t,o.ngModule=a,o.componentType=t.type,o.selector=function LO(n){return n.map(TO).join(",")}(t.selectors),o.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],o.isBoundToModule=!!a,o}return d(e,[{key:"inputs",get:function(){return wC(this.componentDef.inputs)}},{key:"outputs",get:function(){return wC(this.componentDef.outputs)}},{key:"create",value:function(a,o,s,l){var pe,Re,u=(l=l||this.ngModule)?function uR(n,i){return{get:function(t,a,o){var s=n.get(t,a_,o);return s!==a_||a===a_?s:i.get(t,a,o)}}}(a,l.injector):a,f=u.get(Ld,Zf),m=u.get(aR,null),C=f.createRenderer(null,this.componentDef),I=this.componentDef.selectors[0][0]||"div",V=s?function h0(n,i,e){if(Xn(n))return n.selectRootElement(i,e===na.ShadowDom);var a="string"==typeof i?n.querySelector(i):i;return a.textContent="",a}(C,s,this.componentDef.encapsulation):lg(f.createRenderer(null,this.componentDef),I,function lR(n){var i=n.toLowerCase();return"svg"===i?"svg":"math"===i?"math":null}(I)),J=this.componentDef.onPush?576:528,me=function V0(n,i){return{components:[],scheduler:n||tO,clean:pA,playerHandler:i||null,flags:0}}(),Ce=Dh(0,null,null,1,0,null,null,null,null,null),Le=gd(null,Ce,me,J,null,null,f,C,m,u);au(Le);try{var Ye=function H0(n,i,e,t,a,o){var s=e[1];e[20]=n;var u=bu(s,20,2,"#host",null),f=u.mergedAttrs=i.hostAttrs;null!==f&&(Lh(u,f,!0),null!==n&&(oe(a,n,f),null!==u.classes&&pg(a,n,u.classes),null!==u.styles&&z1(a,n,u.styles)));var m=t.createRenderer(n,i),C=gd(e,d0(i),null,i.onPush?64:16,e[20],u,t,m,o||null,null);return s.firstCreatePass&&(ch(td(u,e),s,i.type),y0(s,u),b0(u,e.length,1)),Th(e,C),e[20]=C}(V,this.componentDef,Le,f,C);if(V)if(s)oe(C,V,["ng-version",oR.full]);else{var Ge=function EO(n){for(var i=[],e=[],t=1,a=2;t0&&pg(C,V,mt.join(" "))}if(Re=Gc(Ce,20),void 0!==o)for(var on=Re.projection=[],cr=0;cr1&&void 0!==arguments[1]?arguments[1]:zn.THROW_IF_NOT_FOUND,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ct.Default;return a===zn||a===Vo||a===Rg?this:this._r3Injector.get(a,o,s)}},{key:"destroy",value:function(){var a=this._r3Injector;!a.destroyed&&a.destroy(),this.destroyCbs.forEach(function(o){return o()}),this.destroyCbs=null}},{key:"onDestroy",value:function(a){this.destroyCbs.push(a)}}]),e}(Vo),s_=function(n){h(e,n);var i=y(e);function e(t){var a;return c(this,e),(a=i.call(this)).moduleType=t,null!==Di(t)&&function hR(n){var i=new Set;!function e(t){var a=Di(t,!0),o=a.id;null!==o&&(function DC(n,i,e){if(i&&i!==e)throw new Error("Duplicate module registered for ".concat(n," - ").concat(ln(i)," vs ").concat(ln(i.name)))}(o,Vu.get(o),t),Vu.set(o,t));var f,u=W(mo(a.imports));try{for(u.s();!(f=u.n()).done;){var m=f.value;i.has(m)||(i.add(m),e(m))}}catch(C){u.e(C)}finally{u.f()}}(n)}(t),a}return d(e,[{key:"create",value:function(a){return new LC(this.moduleType,a)}}]),e}(SC);function Nn(n,i,e){var t=ni()+n,a=je();return a[t]===Rt?_o(a,t,e?i.call(e):i()):function kd(n,i){return n[i]}(a,t)}function Qe(n,i,e,t){return EC(je(),ni(),n,i,e,t)}function En(n,i,e,t,a){return PC(je(),ni(),n,i,e,t,a)}function Pd(n,i){var e=n[i];return e===Rt?void 0:e}function EC(n,i,e,t,a,o){var s=i+e;return _i(n,s,a)?_o(n,s+1,o?t.call(o,a):t(a)):Pd(n,s+1)}function PC(n,i,e,t,a,o,s){var l=i+e;return el(n,l,a,o)?_o(n,l+2,s?t.call(s,a,o):t(a,o)):Pd(n,l+2)}function Y(n,i){var t,e=Xt(),a=n+20;e.firstCreatePass?(t=function kR(n,i){if(i)for(var e=i.length-1;e>=0;e--){var t=i[e];if(n===t.name)return t}}(i,e.pipeRegistry),e.data[a]=t,t.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(a,t.onDestroy)):t=e.data[a];var o=t.factory||(t.factory=Ro(t.type)),s=ro(B);try{var l=Qs(!1),u=o();return Qs(l),function $A(n,i,e,t){e>=n.data.length&&(n.data[e]=null,n.blueprint[e]=null),i[e]=t}(e,je(),a,u),u}finally{ro(s)}}function U(n,i,e){var t=n+20,a=je(),o=gs(a,t);return xd(a,t)?EC(a,ni(),i,o.transform,e,o):o.transform(e)}function xt(n,i,e,t){var a=n+20,o=je(),s=gs(o,a);return xd(o,a)?PC(o,ni(),i,s.transform,e,t,s):s.transform(e,t)}function xd(n,i){return n[1].data[i].pure}var SR=function(n){h(e,n);var i=y(e);function e(){var t,a=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return c(this,e),(t=i.call(this)).__isAsync=a,t}return d(e,[{key:"emit",value:function(a){T(O(e.prototype),"next",this).call(this,a)}},{key:"subscribe",value:function(a,o,s){var l,u,f,m=a,C=o||function(){return null},I=s;if(a&&"object"==typeof a){var V=a;m=null===(l=V.next)||void 0===l?void 0:l.bind(V),C=null===(u=V.error)||void 0===u?void 0:u.bind(V),I=null===(f=V.complete)||void 0===f?void 0:f.bind(V)}this.__isAsync&&(C=l_(C),m&&(m=l_(m)),I&&(I=l_(I)));var J=T(O(e.prototype),"subscribe",this).call(this,{next:m,error:C,complete:I});return a instanceof Ne&&a.add(J),J}}]),e}(Ie);function l_(n){return function(i){setTimeout(n,void 0,i)}}var pt=SR;function DR(){return this._results[Su()]()}var Od=function(){function n(){var i=arguments.length>0&&void 0!==arguments[0]&&arguments[0];c(this,n),this._emitDistinctChangesOnly=i,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;var e=Su(),t=n.prototype;t[e]||(t[e]=DR)}return d(n,[{key:"changes",get:function(){return this._changes||(this._changes=new pt)}},{key:"get",value:function(e){return this._results[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,t){var a=this;a.dirty=!1;var o=wa(e);(this._changesDetected=!function xP(n,i,e){if(n.length!==i.length)return!1;for(var t=0;t0;)this.remove(this.length-1)}},{key:"get",value:function(a){var o=FC(this._lContainer);return null!==o&&o[a]||null}},{key:"length",get:function(){return this._lContainer.length-10}},{key:"createEmbeddedView",value:function(a,o,s){var l=a.createEmbeddedView(o||{});return this.insert(l,s),l}},{key:"createComponent",value:function(a,o,s,l,u){var m,f=a&&!function id(n){return"function"==typeof n}(a);if(f)m=o;else{var C=o||{};m=C.index,s=C.injector,l=C.projectableNodes,u=C.ngModuleRef}var I=f?a:new o_(Mr(a)),V=s||this.parentInjector;if(!u&&null==I.ngModule){var me=(f?V:this.parentInjector).get(Vo,null);me&&(u=me)}var Ce=I.create(V,l,void 0,u);return this.insert(Ce.hostView,m),Ce}},{key:"insert",value:function(a,o){var s=a._lView,l=s[1];if(function ym(n){return Ui(n[3])}(s)){var u=this.indexOf(a);if(-1!==u)this.detach(u);else{var f=s[3],m=new IC(f,f[6],f[3]);m.detach(m.indexOf(a))}}var C=this._adjustIndex(o),I=this._lContainer;!function cO(n,i,e,t){var a=10+t,o=e.length;t>0&&(e[a-1][4]=i),t1&&void 0!==arguments[1]?arguments[1]:0;return null==a?this.length+o:a}}]),e}(ii);function FC(n){return n[8]}function u_(n){return n[8]||(n[8]=[])}function RC(n,i){var e,t=i[n.index];if(Ui(t))e=t;else{var a;if(8&n.type)a=fr(t);else{var o=i[11];a=o.createComment("");var s=Wi(n,i);Xs(o,bh(o,s),a,function vO(n,i){return Xn(n)?n.nextSibling(i):i.nextSibling}(o,s),!1)}i[n.index]=e=M0(t,i,a,n),Th(i,e)}return new IC(e,n,i)}var IR=function(){function n(i){c(this,n),this.queryList=i,this.matches=null}return d(n,[{key:"clone",value:function(){return new n(this.queryList)}},{key:"setDirty",value:function(){this.queryList.setDirty()}}]),n}(),FR=function(){function n(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];c(this,n),this.queries=i}return d(n,[{key:"createEmbeddedView",value:function(e){var t=e.queries;if(null!==t){for(var a=null!==e.contentQueries?e.contentQueries[0]:t.length,o=[],s=0;s2&&void 0!==arguments[2]?arguments[2]:null;c(this,n),this.predicate=i,this.flags=e,this.read=t}),RR=function(){function n(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];c(this,n),this.queries=i}return d(n,[{key:"elementStart",value:function(e,t){for(var a=0;a1&&void 0!==arguments[1]?arguments[1]:-1;c(this,n),this.metadata=i,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}return d(n,[{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(e,t){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,t),new n(this.metadata)):null}},{key:"isApplyingToNode",value:function(e){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){for(var t=this._declarationNodeIndex,a=e.parent;null!==a&&8&a.type&&a.index!==t;)a=a.parent;return t===(null!==a?a.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(e,t){var a=this.metadata.predicate;if(Array.isArray(a))for(var o=0;o0)t.push(s[l/2]);else{for(var f=o[l+1],m=i[-u],C=10;C0&&(l=setTimeout(function(){s._callbacks=s._callbacks.filter(function(u){return u.timeoutId!==l}),t(s._didWork,s.getPendingTasks())},a)),this._callbacks.push({doneCb:t,timeoutId:l,updateCb:o})}},{key:"whenStable",value:function(t,a,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,a,o),this._runCallbacksIfReady()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(t,a,o){return[]}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(bt))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),dw=function(){var n=function(){function i(){c(this,i),this._applications=new Map,C_.addToWindow(this)}return d(i,[{key:"registerApplication",value:function(t,a){this._applications.set(t,a)}},{key:"unregisterApplication",value:function(t){this._applications.delete(t)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(t){return this._applications.get(t)||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(t){var a=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return C_.findTestabilityInTree(this,t,a)}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),g3=function(){function n(){c(this,n)}return d(n,[{key:"addToWindow",value:function(e){}},{key:"findTestabilityInTree",value:function(e,t,a){return null}}]),n}(),C_=new g3;function y3(n,i,e){var t=new s_(e);return Promise.resolve(t)}var fw=new Ze("AllowMultipleToken"),hw=d(function n(i,e){c(this,n),this.name=i,this.token=e});function k3(n){if(qa&&!qa.destroyed&&!qa.injector.get(fw,!1))throw new dt(400,"");qa=n.get(mw);var e=n.get(aw,null);return e&&e.forEach(function(t){return t()}),qa}function pw(n,i){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],t="Platform: ".concat(i),a=new Ze(t);return function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],s=vw();if(!s||s.injector.get(fw,!1))if(n)n(e.concat(o).concat({provide:a,useValue:!0}));else{var l=e.concat(o).concat({provide:a,useValue:!0},{provide:Ng,useValue:"platform"});k3(zn.create({providers:l,name:t}))}return M3()}}function M3(n){var i=vw();if(!i)throw new dt(401,"");return i}function vw(){return qa&&!qa.destroyed?qa:null}var mw=function(){var n=function(){function i(e){c(this,i),this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return d(i,[{key:"bootstrapModuleFactory",value:function(t,a){var o=this,f=function C3(n,i){return"noop"===n?new m3:("zone.js"===n?void 0:n)||new bt({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==i?void 0:i.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==i?void 0:i.ngZoneRunCoalescing)})}(a?a.ngZone:void 0,{ngZoneEventCoalescing:a&&a.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:a&&a.ngZoneRunCoalescing||!1}),m=[{provide:bt,useValue:f}];return f.run(function(){var C=zn.create({providers:m,parent:o.injector,name:t.moduleType.name}),I=t.create(C),V=I.injector.get(Ms,null);if(!V)throw new dt(402,"");return f.runOutsideAngular(function(){var me=f.onError.subscribe({next:function(Le){V.handleError(Le)}});I.onDestroy(function(){w_(o._modules,I),me.unsubscribe()})}),function w3(n,i,e){try{var t=e();return Md(t)?t.catch(function(a){throw i.runOutsideAngular(function(){return n.handleError(a)}),a}):t}catch(a){throw i.runOutsideAngular(function(){return n.handleError(a)}),a}}(V,f,function(){var me=I.injector.get(g_);return me.runInitializers(),me.donePromise.then(function(){return function rF(n){Si(n,"Expected localeId to be defined"),"string"==typeof n&&n.toLowerCase().replace(/_/g,"-")}(I.injector.get(jo,Ih)||Ih),o._moduleDoBootstrap(I),I})})})}},{key:"bootstrapModule",value:function(t){var a=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],s=gw({},o);return y3(0,0,t).then(function(l){return a.bootstrapModuleFactory(l,s)})}},{key:"_moduleDoBootstrap",value:function(t){var a=t.injector.get(zh);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(function(s){return a.bootstrap(s)});else{if(!t.instance.ngDoBootstrap)throw new dt(403,"");t.instance.ngDoBootstrap(a)}this._modules.push(t)}},{key:"onDestroy",value:function(t){this._destroyListeners.push(t)}},{key:"injector",get:function(){return this._injector}},{key:"destroy",value:function(){if(this._destroyed)throw new dt(404,"");this._modules.slice().forEach(function(a){return a.destroy()}),this._destroyListeners.forEach(function(a){return a()}),this._destroyed=!0}},{key:"destroyed",get:function(){return this._destroyed}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(zn))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}();function gw(n,i){return Array.isArray(i)?i.reduce(gw,n):Object.assign(Object.assign({},n),i)}var zh=function(){var n=function(){function i(e,t,a,o,s){var l=this;c(this,i),this._zone=e,this._injector=t,this._exceptionHandler=a,this._componentFactoryResolver=o,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:function(){l._zone.run(function(){l.tick()})}});var u=new fe(function(m){l._stable=l._zone.isStable&&!l._zone.hasPendingMacrotasks&&!l._zone.hasPendingMicrotasks,l._zone.runOutsideAngular(function(){m.next(l._stable),m.complete()})}),f=new fe(function(m){var C;l._zone.runOutsideAngular(function(){C=l._zone.onStable.subscribe(function(){bt.assertNotInAngularZone(),y_(function(){!l._stable&&!l._zone.hasPendingMacrotasks&&!l._zone.hasPendingMicrotasks&&(l._stable=!0,m.next(!0))})})});var I=l._zone.onUnstable.subscribe(function(){bt.assertInAngularZone(),l._stable&&(l._stable=!1,l._zone.runOutsideAngular(function(){m.next(!1)}))});return function(){C.unsubscribe(),I.unsubscribe()}});this.isStable=Ci(u,f.pipe(Vl()))}return d(i,[{key:"bootstrap",value:function(t,a){var l,o=this;if(!this._initStatus.done)throw new dt(405,"");l=t instanceof kC?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(l.componentType);var u=function b3(n){return n.isBoundToModule}(l)?void 0:this._injector.get(Vo),m=l.create(zn.NULL,[],a||l.selector,u),C=m.location.nativeElement,I=m.injector.get(M_,null),V=I&&m.injector.get(dw);return I&&V&&V.registerApplication(C,I),m.onDestroy(function(){o.detachView(m.hostView),w_(o.components,m),V&&V.unregisterApplication(C)}),this._loadComponent(m),m}},{key:"tick",value:function(){var t=this;if(this._runningTick)throw new dt(101,"");try{this._runningTick=!0;var s,o=W(this._views);try{for(o.s();!(s=o.n()).done;)s.value.detectChanges()}catch(C){o.e(C)}finally{o.f()}}catch(C){this._zone.runOutsideAngular(function(){return t._exceptionHandler.handleError(C)})}finally{this._runningTick=!1}}},{key:"attachView",value:function(t){var a=t;this._views.push(a),a.attachToAppRef(this)}},{key:"detachView",value:function(t){var a=t;w_(this._views,a),a.detachFromAppRef()}},{key:"_loadComponent",value:function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(ow,[]).concat(this._bootstrapListeners).forEach(function(o){return o(t)})}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach(function(t){return t.destroy()}),this._onMicrotaskEmptySubscription.unsubscribe()}},{key:"viewCount",get:function(){return this._views.length}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(bt),Ee(zn),Ee(Ms),Ee(Ts),Ee(g_))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}();function w_(n,i){var e=n.indexOf(i);e>-1&&n.splice(e,1)}var Yn=function(){var n=d(function i(){c(this,i)});return n.__NG_ELEMENT_ID__=T3,n}();function T3(n){return function L3(n,i,e){if(ps(n)&&!e){var t=Zr(n.index,i);return new Ed(t,t)}return 47&n.type?new Ed(i[16],i):null}(Cr(),je(),16==(16&n))}var ww=function(){function n(){c(this,n)}return d(n,[{key:"supports",value:function(e){return bd(e)}},{key:"create",value:function(e){return new O3(e)}}]),n}(),x3=function(i,e){return e},O3=function(){function n(i){c(this,n),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=i||x3}return d(n,[{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,a=this._removalsHead,o=0,s=null;t||a;){var l=!a||t&&t.currentIndex0&&void 0!==arguments[0]?arguments[0]:0;this._history.go(o)}},{key:"getState",value:function(){return this._history.state}}]),t}(al);return n.\u0275fac=function(e){return new(e||n)(Ee(Ot))},n.\u0275prov=Ue({token:n,factory:function(){return function q3(){return new Pw(Ee(Ot))}()},providedIn:"platform"}),n}();function xw(){return!!window.history.pushState}function P_(n,i){if(0==n.length)return i;if(0==i.length)return n;var e=0;return n.endsWith("/")&&e++,i.startsWith("/")&&e++,2==e?n+i.substring(1):1==e?n+i:n+"/"+i}function Ow(n){var i=n.match(/#|\?|$/),e=i&&i.index||n.length;return n.slice(0,e-("/"===n[e-1]?1:0))+n.slice(e)}function Uo(n){return n&&"?"!==n[0]?"?"+n:n}var Uu=function(){var n=function(){function i(){c(this,i)}return d(i,[{key:"historyGo",value:function(t){throw new Error("Not implemented")}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ue({token:n,factory:function(){return function K3(n){var i=Ee(Ot).location;return new Aw(Ee(al),i&&i.origin||"")}()},providedIn:"root"}),n}(),x_=new Ze("appBaseHref"),Aw=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o){var s;if(c(this,t),(s=e.call(this))._platformLocation=a,s._removeListenerFns=[],null==o&&(o=s._platformLocation.getBaseHrefFromDOM()),null==o)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.");return s._baseHref=o,s}return d(t,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(o){this._removeListenerFns.push(this._platformLocation.onPopState(o),this._platformLocation.onHashChange(o))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"prepareExternalUrl",value:function(o){return P_(this._baseHref,o)}},{key:"path",value:function(){var o=arguments.length>0&&void 0!==arguments[0]&&arguments[0],s=this._platformLocation.pathname+Uo(this._platformLocation.search),l=this._platformLocation.hash;return l&&o?"".concat(s).concat(l):s}},{key:"pushState",value:function(o,s,l,u){var f=this.prepareExternalUrl(l+Uo(u));this._platformLocation.pushState(o,s,f)}},{key:"replaceState",value:function(o,s,l,u){var f=this.prepareExternalUrl(l+Uo(u));this._platformLocation.replaceState(o,s,f)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"historyGo",value:function(){var s,l,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(l=(s=this._platformLocation).historyGo)||void 0===l||l.call(s,o)}}]),t}(Uu);return n.\u0275fac=function(e){return new(e||n)(Ee(al),Ee(x_,8))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),$3=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o){var s;return c(this,t),(s=e.call(this))._platformLocation=a,s._baseHref="",s._removeListenerFns=[],null!=o&&(s._baseHref=o),s}return d(t,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(o){this._removeListenerFns.push(this._platformLocation.onPopState(o),this._platformLocation.onHashChange(o))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"path",value:function(){var s=this._platformLocation.hash;return null==s&&(s="#"),s.length>0?s.substring(1):s}},{key:"prepareExternalUrl",value:function(o){var s=P_(this._baseHref,o);return s.length>0?"#"+s:s}},{key:"pushState",value:function(o,s,l,u){var f=this.prepareExternalUrl(l+Uo(u));0==f.length&&(f=this._platformLocation.pathname),this._platformLocation.pushState(o,s,f)}},{key:"replaceState",value:function(o,s,l,u){var f=this.prepareExternalUrl(l+Uo(u));0==f.length&&(f=this._platformLocation.pathname),this._platformLocation.replaceState(o,s,f)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"historyGo",value:function(){var s,l,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(l=(s=this._platformLocation).historyGo)||void 0===l||l.call(s,o)}}]),t}(Uu);return n.\u0275fac=function(e){return new(e||n)(Ee(al),Ee(x_,8))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),zu=function(){var n=function(){function i(e,t){var a=this;c(this,i),this._subject=new pt,this._urlChangeListeners=[],this._platformStrategy=e;var o=this._platformStrategy.getBaseHref();this._platformLocation=t,this._baseHref=Ow(Iw(o)),this._platformStrategy.onPopState(function(s){a._subject.emit({url:a.path(!0),pop:!0,state:s.state,type:s.type})})}return d(i,[{key:"path",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.normalize(this._platformStrategy.path(t))}},{key:"getState",value:function(){return this._platformLocation.getState()}},{key:"isCurrentPathEqualTo",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize(t+Uo(a))}},{key:"normalize",value:function(t){return i.stripTrailingSlash(function Q3(n,i){return n&&i.startsWith(n)?i.substring(n.length):i}(this._baseHref,Iw(t)))}},{key:"prepareExternalUrl",value:function(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}},{key:"go",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.pushState(o,"",t,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Uo(a)),o)}},{key:"replaceState",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.replaceState(o,"",t,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Uo(a)),o)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{key:"historyGo",value:function(){var a,o,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(o=(a=this._platformStrategy).historyGo)||void 0===o||o.call(a,t)}},{key:"onUrlChange",value:function(t){var a=this;this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(function(o){a._notifyUrlChangeListeners(o.url,o.state)}))}},{key:"_notifyUrlChangeListeners",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",a=arguments.length>1?arguments[1]:void 0;this._urlChangeListeners.forEach(function(o){return o(t,a)})}},{key:"subscribe",value:function(t,a,o){return this._subject.subscribe({next:t,error:a,complete:o})}}]),i}();return n.normalizeQueryParams=Uo,n.joinWithSlash=P_,n.stripTrailingSlash=Ow,n.\u0275fac=function(e){return new(e||n)(Ee(Uu),Ee(al))},n.\u0275prov=Ue({token:n,factory:function(){return function Z3(){return new zu(Ee(Uu),Ee(al))}()},providedIn:"root"}),n}();function Iw(n){return n.replace(/\/index.html$/,"")}var wr=function(){return(wr=wr||{})[wr.Format=0]="Format",wr[wr.Standalone=1]="Standalone",wr}(),Qt=function(){return(Qt=Qt||{})[Qt.Narrow=0]="Narrow",Qt[Qt.Abbreviated=1]="Abbreviated",Qt[Qt.Wide=2]="Wide",Qt[Qt.Short=3]="Short",Qt}(),lr=function(){return(lr=lr||{})[lr.Short=0]="Short",lr[lr.Medium=1]="Medium",lr[lr.Long=2]="Long",lr[lr.Full=3]="Full",lr}(),_t=function(){return(_t=_t||{})[_t.Decimal=0]="Decimal",_t[_t.Group=1]="Group",_t[_t.List=2]="List",_t[_t.PercentSign=3]="PercentSign",_t[_t.PlusSign=4]="PlusSign",_t[_t.MinusSign=5]="MinusSign",_t[_t.Exponential=6]="Exponential",_t[_t.SuperscriptingExponent=7]="SuperscriptingExponent",_t[_t.PerMille=8]="PerMille",_t[_t.Infinity=9]="Infinity",_t[_t.NaN=10]="NaN",_t[_t.TimeSeparator=11]="TimeSeparator",_t[_t.CurrencyDecimal=12]="CurrencyDecimal",_t[_t.CurrencyGroup=13]="CurrencyGroup",_t}();function Gh(n,i){return La(Oi(n)[st.DateFormat],i)}function qh(n,i){return La(Oi(n)[st.TimeFormat],i)}function Kh(n,i){return La(Oi(n)[st.DateTimeFormat],i)}function Ta(n,i){var e=Oi(n),t=e[st.NumberSymbols][i];if(void 0===t){if(i===_t.CurrencyDecimal)return e[st.NumberSymbols][_t.Decimal];if(i===_t.CurrencyGroup)return e[st.NumberSymbols][_t.Group]}return t}function Rw(n){if(!n[st.ExtraData])throw new Error('Missing extra locale data for the locale "'.concat(n[st.LocaleId],'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.'))}function La(n,i){for(var e=i;e>-1;e--)if(void 0!==n[e])return n[e];throw new Error("Locale data API: locale data undefined")}function A_(n){var e=ne(n.split(":"),2);return{hours:+e[0],minutes:+e[1]}}var cN=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Yd={},dN=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,Vr=function(){return(Vr=Vr||{})[Vr.Short=0]="Short",Vr[Vr.ShortGMT=1]="ShortGMT",Vr[Vr.Long=2]="Long",Vr[Vr.Extended=3]="Extended",Vr}(),kt=function(){return(kt=kt||{})[kt.FullYear=0]="FullYear",kt[kt.Month=1]="Month",kt[kt.Date=2]="Date",kt[kt.Hours=3]="Hours",kt[kt.Minutes=4]="Minutes",kt[kt.Seconds=5]="Seconds",kt[kt.FractionalSeconds=6]="FractionalSeconds",kt[kt.Day=7]="Day",kt}(),Ut=function(){return(Ut=Ut||{})[Ut.DayPeriods=0]="DayPeriods",Ut[Ut.Days=1]="Days",Ut[Ut.Months=2]="Months",Ut[Ut.Eras=3]="Eras",Ut}();function Nw(n,i,e,t){var a=function bN(n){if(Bw(n))return n;if("number"==typeof n&&!isNaN(n))return new Date(n);if("string"==typeof n){if(n=n.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(n)){var e=ne(n.split("-").map(function(C){return+C}),3),a=e[1],s=e[2];return $h(e[0],(void 0===a?1:a)-1,void 0===s?1:s)}var f,u=parseFloat(n);if(!isNaN(n-u))return new Date(u);if(f=n.match(cN))return function kN(n){var i=new Date(0),e=0,t=0,a=n[8]?i.setUTCFullYear:i.setFullYear,o=n[8]?i.setUTCHours:i.setHours;n[9]&&(e=Number(n[9]+n[10]),t=Number(n[9]+n[11])),a.call(i,Number(n[1]),Number(n[2])-1,Number(n[3]));var s=Number(n[4]||0)-e,l=Number(n[5]||0)-t,u=Number(n[6]||0),f=Math.floor(1e3*parseFloat("0."+(n[7]||0)));return o.call(i,s,l,u,f),i}(f)}var m=new Date(n);if(!Bw(m))throw new Error('Unable to convert "'.concat(n,'" into a date'));return m}(n);i=zo(e,i)||i;for(var l,s=[];i;){if(!(l=dN.exec(i))){s.push(i);break}var u=(s=s.concat(l.slice(1))).pop();if(!u)break;i=u}var f=a.getTimezoneOffset();t&&(f=Hw(t,f),a=function yN(n,i,e){var t=e?-1:1,a=n.getTimezoneOffset();return function _N(n,i){return(n=new Date(n.getTime())).setMinutes(n.getMinutes()+i),n}(n,t*(Hw(i,a)-a))}(a,t,!0));var m="";return s.forEach(function(C){var I=function gN(n){if(F_[n])return F_[n];var i;switch(n){case"G":case"GG":case"GGG":i=Wn(Ut.Eras,Qt.Abbreviated);break;case"GGGG":i=Wn(Ut.Eras,Qt.Wide);break;case"GGGGG":i=Wn(Ut.Eras,Qt.Narrow);break;case"y":i=xr(kt.FullYear,1,0,!1,!0);break;case"yy":i=xr(kt.FullYear,2,0,!0,!0);break;case"yyy":i=xr(kt.FullYear,3,0,!1,!0);break;case"yyyy":i=xr(kt.FullYear,4,0,!1,!0);break;case"Y":i=Xh(1);break;case"YY":i=Xh(2,!0);break;case"YYY":i=Xh(3);break;case"YYYY":i=Xh(4);break;case"M":case"L":i=xr(kt.Month,1,1);break;case"MM":case"LL":i=xr(kt.Month,2,1);break;case"MMM":i=Wn(Ut.Months,Qt.Abbreviated);break;case"MMMM":i=Wn(Ut.Months,Qt.Wide);break;case"MMMMM":i=Wn(Ut.Months,Qt.Narrow);break;case"LLL":i=Wn(Ut.Months,Qt.Abbreviated,wr.Standalone);break;case"LLLL":i=Wn(Ut.Months,Qt.Wide,wr.Standalone);break;case"LLLLL":i=Wn(Ut.Months,Qt.Narrow,wr.Standalone);break;case"w":i=I_(1);break;case"ww":i=I_(2);break;case"W":i=I_(1,!0);break;case"d":i=xr(kt.Date,1);break;case"dd":i=xr(kt.Date,2);break;case"c":case"cc":i=xr(kt.Day,1);break;case"ccc":i=Wn(Ut.Days,Qt.Abbreviated,wr.Standalone);break;case"cccc":i=Wn(Ut.Days,Qt.Wide,wr.Standalone);break;case"ccccc":i=Wn(Ut.Days,Qt.Narrow,wr.Standalone);break;case"cccccc":i=Wn(Ut.Days,Qt.Short,wr.Standalone);break;case"E":case"EE":case"EEE":i=Wn(Ut.Days,Qt.Abbreviated);break;case"EEEE":i=Wn(Ut.Days,Qt.Wide);break;case"EEEEE":i=Wn(Ut.Days,Qt.Narrow);break;case"EEEEEE":i=Wn(Ut.Days,Qt.Short);break;case"a":case"aa":case"aaa":i=Wn(Ut.DayPeriods,Qt.Abbreviated);break;case"aaaa":i=Wn(Ut.DayPeriods,Qt.Wide);break;case"aaaaa":i=Wn(Ut.DayPeriods,Qt.Narrow);break;case"b":case"bb":case"bbb":i=Wn(Ut.DayPeriods,Qt.Abbreviated,wr.Standalone,!0);break;case"bbbb":i=Wn(Ut.DayPeriods,Qt.Wide,wr.Standalone,!0);break;case"bbbbb":i=Wn(Ut.DayPeriods,Qt.Narrow,wr.Standalone,!0);break;case"B":case"BB":case"BBB":i=Wn(Ut.DayPeriods,Qt.Abbreviated,wr.Format,!0);break;case"BBBB":i=Wn(Ut.DayPeriods,Qt.Wide,wr.Format,!0);break;case"BBBBB":i=Wn(Ut.DayPeriods,Qt.Narrow,wr.Format,!0);break;case"h":i=xr(kt.Hours,1,-12);break;case"hh":i=xr(kt.Hours,2,-12);break;case"H":i=xr(kt.Hours,1);break;case"HH":i=xr(kt.Hours,2);break;case"m":i=xr(kt.Minutes,1);break;case"mm":i=xr(kt.Minutes,2);break;case"s":i=xr(kt.Seconds,1);break;case"ss":i=xr(kt.Seconds,2);break;case"S":i=xr(kt.FractionalSeconds,1);break;case"SS":i=xr(kt.FractionalSeconds,2);break;case"SSS":i=xr(kt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":i=Qh(Vr.Short);break;case"ZZZZZ":i=Qh(Vr.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":i=Qh(Vr.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":i=Qh(Vr.Long);break;default:return null}return F_[n]=i,i}(C);m+=I?I(a,e,f):"''"===C?"'":C.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),m}function $h(n,i,e){var t=new Date(0);return t.setFullYear(n,i,e),t.setHours(0,0,0),t}function zo(n,i){var e=function J3(n){return Oi(n)[st.LocaleId]}(n);if(Yd[e]=Yd[e]||{},Yd[e][i])return Yd[e][i];var t="";switch(i){case"shortDate":t=Gh(n,lr.Short);break;case"mediumDate":t=Gh(n,lr.Medium);break;case"longDate":t=Gh(n,lr.Long);break;case"fullDate":t=Gh(n,lr.Full);break;case"shortTime":t=qh(n,lr.Short);break;case"mediumTime":t=qh(n,lr.Medium);break;case"longTime":t=qh(n,lr.Long);break;case"fullTime":t=qh(n,lr.Full);break;case"short":var a=zo(n,"shortTime"),o=zo(n,"shortDate");t=Zh(Kh(n,lr.Short),[a,o]);break;case"medium":var s=zo(n,"mediumTime"),l=zo(n,"mediumDate");t=Zh(Kh(n,lr.Medium),[s,l]);break;case"long":var u=zo(n,"longTime"),f=zo(n,"longDate");t=Zh(Kh(n,lr.Long),[u,f]);break;case"full":var m=zo(n,"fullTime"),C=zo(n,"fullDate");t=Zh(Kh(n,lr.Full),[m,C])}return t&&(Yd[e][i]=t),t}function Zh(n,i){return i&&(n=n.replace(/\{([^}]+)}/g,function(e,t){return null!=i&&t in i?i[t]:e})),n}function Ka(n,i){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"-",t=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0,o="";(n<0||a&&n<=0)&&(a?n=1-n:(n=-n,o=e));for(var s=String(n);s.length2&&void 0!==arguments[2]?arguments[2]:0,t=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return function(o,s){var l=hN(n,o);if((e>0||l>-e)&&(l+=e),n===kt.Hours)0===l&&-12===e&&(l=12);else if(n===kt.FractionalSeconds)return fN(l,i);var u=Ta(s,_t.MinusSign);return Ka(l,i,u,t,a)}}function hN(n,i){switch(n){case kt.FullYear:return i.getFullYear();case kt.Month:return i.getMonth();case kt.Date:return i.getDate();case kt.Hours:return i.getHours();case kt.Minutes:return i.getMinutes();case kt.Seconds:return i.getSeconds();case kt.FractionalSeconds:return i.getMilliseconds();case kt.Day:return i.getDay();default:throw new Error('Unknown DateType value "'.concat(n,'".'))}}function Wn(n,i){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:wr.Format,t=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return function(a,o){return pN(a,o,n,i,e,t)}}function pN(n,i,e,t,a,o){switch(e){case Ut.Months:return function tN(n,i,e){var t=Oi(n),o=La([t[st.MonthsFormat],t[st.MonthsStandalone]],i);return La(o,e)}(i,a,t)[n.getMonth()];case Ut.Days:return function eN(n,i,e){var t=Oi(n),o=La([t[st.DaysFormat],t[st.DaysStandalone]],i);return La(o,e)}(i,a,t)[n.getDay()];case Ut.DayPeriods:var s=n.getHours(),l=n.getMinutes();if(o){var u=function aN(n){var i=Oi(n);return Rw(i),(i[st.ExtraData][2]||[]).map(function(t){return"string"==typeof t?A_(t):[A_(t[0]),A_(t[1])]})}(i),f=function oN(n,i,e){var t=Oi(n);Rw(t);var o=La([t[st.ExtraData][0],t[st.ExtraData][1]],i)||[];return La(o,e)||[]}(i,a,t),m=u.findIndex(function(I){if(Array.isArray(I)){var V=ne(I,2),J=V[0],me=V[1],Ce=s>=J.hours&&l>=J.minutes,Le=s0?Math.floor(a/60):Math.ceil(a/60);switch(n){case Vr.Short:return(a>=0?"+":"")+Ka(s,2,o)+Ka(Math.abs(a%60),2,o);case Vr.ShortGMT:return"GMT"+(a>=0?"+":"")+Ka(s,1,o);case Vr.Long:return"GMT"+(a>=0?"+":"")+Ka(s,2,o)+":"+Ka(Math.abs(a%60),2,o);case Vr.Extended:return 0===t?"Z":(a>=0?"+":"")+Ka(s,2,o)+":"+Ka(Math.abs(a%60),2,o);default:throw new Error('Unknown zone width "'.concat(n,'"'))}}}function mN(n){var i=$h(n,0,1).getDay();return $h(n,0,1+(i<=4?4:11)-i)}function Yw(n){return $h(n.getFullYear(),n.getMonth(),n.getDate()+(4-n.getDay()))}function I_(n){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(e,t){var a;if(i){var o=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,s=e.getDate();a=1+Math.floor((s+o)/7)}else{var l=Yw(e),u=mN(l.getFullYear()),f=l.getTime()-u.getTime();a=1+Math.round(f/6048e5)}return Ka(a,n,Ta(t,_t.MinusSign))}}function Xh(n){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(e,t){return Ka(Yw(e).getFullYear(),n,Ta(t,_t.MinusSign),i)}}var F_={};function Hw(n,i){n=n.replace(/:/g,"");var e=Date.parse("Jan 01, 1970 00:00:00 "+n)/6e4;return isNaN(e)?i:e}function Bw(n){return n instanceof Date&&!isNaN(n.valueOf())}function zw(n,i){i=encodeURIComponent(i);var t,e=W(n.split(";"));try{for(e.s();!(t=e.n()).done;){var a=t.value,o=a.indexOf("="),l=ne(-1==o?[a,""]:[a.slice(0,o),a.slice(o+1)],2),f=l[1];if(l[0].trim()===i)return decodeURIComponent(f)}}catch(m){e.e(m)}finally{e.f()}return null}var mr=function(){var n=function(){function i(e,t,a,o){c(this,i),this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=a,this._renderer=o,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}return d(i,[{key:"klass",set:function(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}},{key:"ngClass",set:function(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(bd(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}},{key:"ngDoCheck",value:function(){if(this._iterableDiffer){var t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){var a=this._keyValueDiffer.diff(this._rawClass);a&&this._applyKeyValueChanges(a)}}},{key:"_applyKeyValueChanges",value:function(t){var a=this;t.forEachAddedItem(function(o){return a._toggleClass(o.key,o.currentValue)}),t.forEachChangedItem(function(o){return a._toggleClass(o.key,o.currentValue)}),t.forEachRemovedItem(function(o){o.previousValue&&a._toggleClass(o.key,!1)})}},{key:"_applyIterableChanges",value:function(t){var a=this;t.forEachAddedItem(function(o){if("string"!=typeof o.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got ".concat(ln(o.item)));a._toggleClass(o.item,!0)}),t.forEachRemovedItem(function(o){return a._toggleClass(o.item,!1)})}},{key:"_applyClasses",value:function(t){var a=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(o){return a._toggleClass(o,!0)}):Object.keys(t).forEach(function(o){return a._toggleClass(o,!!t[o])}))}},{key:"_removeClasses",value:function(t){var a=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(o){return a._toggleClass(o,!1)}):Object.keys(t).forEach(function(o){return a._toggleClass(o,!1)}))}},{key:"_toggleClass",value:function(t,a){var o=this;(t=t.trim())&&t.split(/\s+/g).forEach(function(s){a?o._renderer.addClass(o._ngEl.nativeElement,s):o._renderer.removeClass(o._ngEl.nativeElement,s)})}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Rd),B(Nd),B(yt),B(bo))},n.\u0275dir=et({type:n,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),n}(),IN=function(){function n(i,e,t,a){c(this,n),this.$implicit=i,this.ngForOf=e,this.index=t,this.count=a}return d(n,[{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}}]),n}(),Or=function(){var n=function(){function i(e,t,a){c(this,i),this._viewContainer=e,this._template=t,this._differs=a,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return d(i,[{key:"ngForOf",set:function(t){this._ngForOf=t,this._ngForOfDirty=!0}},{key:"ngForTrackBy",get:function(){return this._trackByFn},set:function(t){this._trackByFn=t}},{key:"ngForTemplate",set:function(t){t&&(this._template=t)}},{key:"ngDoCheck",value:function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){var a=this._differ.diff(this._ngForOf);a&&this._applyChanges(a)}}},{key:"_applyChanges",value:function(t){var a=this,o=this._viewContainer;t.forEachOperation(function(m,C,I){if(null==m.previousIndex)o.createEmbeddedView(a._template,new IN(m.item,a._ngForOf,-1,-1),null===I?void 0:I);else if(null==I)o.remove(null===C?void 0:C);else if(null!==C){var V=o.get(C);o.move(V,I),Ww(V,m)}});for(var s=0,l=o.length;s1&&void 0!==arguments[1]?arguments[1]:"mediumDate",o=arguments.length>2?arguments[2]:void 0,s=arguments.length>3?arguments[3]:void 0;if(null==t||""===t||t!=t)return null;try{return Nw(t,a,s||this.locale,null!==(l=null!=o?o:this.defaultTimezone)&&void 0!==l?l:void 0)}catch(u){throw $a()}}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(jo,16),B(WN,24))},n.\u0275pipe=Kr({name:"date",type:n,pure:!0}),n}(),Mo=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({}),n}(),Xw="browser",s4=function(){var n=d(function i(){c(this,i)});return n.\u0275prov=Ue({token:n,providedIn:"root",factory:function(){return new l4(Ee(Ot),window)}}),n}(),l4=function(){function n(i,e){c(this,n),this.document=i,this.window=e,this.offset=function(){return[0,0]}}return d(n,[{key:"setOffset",value:function(e){this.offset=Array.isArray(e)?function(){return e}:e}},{key:"getScrollPosition",value:function(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}},{key:"scrollToPosition",value:function(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}},{key:"scrollToAnchor",value:function(e){if(this.supportsScrolling()){var t=function u4(n,i){var e=n.getElementById(i)||n.getElementsByName(i)[0];if(e)return e;if("function"==typeof n.createTreeWalker&&n.body&&(n.body.createShadowRoot||n.body.attachShadow))for(var t=n.createTreeWalker(n.body,NodeFilter.SHOW_ELEMENT),a=t.currentNode;a;){var o=a.shadowRoot;if(o){var s=o.getElementById(i)||o.querySelector('[name="'.concat(i,'"]'));if(s)return s}a=t.nextNode()}return null}(this.document,e);t&&(this.scrollToElement(t),t.focus())}}},{key:"setHistoryScrollRestoration",value:function(e){if(this.supportScrollRestoration()){var t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}},{key:"scrollToElement",value:function(e){var t=e.getBoundingClientRect(),a=t.left+this.window.pageXOffset,o=t.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(a-s[0],o-s[1])}},{key:"supportScrollRestoration",value:function(){try{if(!this.supportsScrolling())return!1;var e=eS(this.window.history)||eS(Object.getPrototypeOf(this.window.history));return!(!e||!e.writable&&!e.set)}catch(t){return!1}}},{key:"supportsScrolling",value:function(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(e){return!1}}}]),n}();function eS(n){return Object.getOwnPropertyDescriptor(n,"scrollRestoration")}var rp,z_=d(function n(){c(this,n)}),c4=function(n){h(e,n);var i=y(e);function e(){var t;return c(this,e),(t=i.apply(this,arguments)).supportsDOMEvents=!0,t}return d(e)}(z3),d4=function(n){h(e,n);var i=y(e);function e(){return c(this,e),i.apply(this,arguments)}return d(e,[{key:"onAndCancel",value:function(a,o,s){return a.addEventListener(o,s,!1),function(){a.removeEventListener(o,s,!1)}}},{key:"dispatchEvent",value:function(a,o){a.dispatchEvent(o)}},{key:"remove",value:function(a){a.parentNode&&a.parentNode.removeChild(a)}},{key:"createElement",value:function(a,o){return(o=o||this.getDefaultDocument()).createElement(a)}},{key:"createHtmlDocument",value:function(){return document.implementation.createHTMLDocument("fakeTitle")}},{key:"getDefaultDocument",value:function(){return document}},{key:"isElementNode",value:function(a){return a.nodeType===Node.ELEMENT_NODE}},{key:"isShadowRoot",value:function(a){return a instanceof DocumentFragment}},{key:"getGlobalEventTarget",value:function(a,o){return"window"===o?window:"document"===o?a:"body"===o?a.body:null}},{key:"getBaseHref",value:function(a){var o=function f4(){return(Bd=Bd||document.querySelector("base"))?Bd.getAttribute("href"):null}();return null==o?null:function h4(n){(rp=rp||document.createElement("a")).setAttribute("href",n);var i=rp.pathname;return"/"===i.charAt(0)?i:"/".concat(i)}(o)}},{key:"resetBaseElement",value:function(){Bd=null}},{key:"getUserAgent",value:function(){return window.navigator.userAgent}},{key:"getCookie",value:function(a){return zw(document.cookie,a)}}],[{key:"makeCurrent",value:function(){!function U3(n){Wh||(Wh=n)}(new e)}}]),e}(c4),Bd=null,tS=new Ze("TRANSITION_ID"),v4=[{provide:m_,useFactory:function p4(n,i,e){return function(){e.get(g_).donePromise.then(function(){for(var t=ko(),a=i.querySelectorAll('style[ng-transition="'.concat(n,'"]')),o=0;o1&&void 0!==arguments[1])||arguments[1],s=e.findTestabilityInTree(a,o);if(null==s)throw new Error("Could not find testability for element.");return s},wn.getAllAngularTestabilities=function(){return e.getAllTestabilities()},wn.getAllAngularRootElements=function(){return e.getAllRootElements()},wn.frameworkStabilizers||(wn.frameworkStabilizers=[]),wn.frameworkStabilizers.push(function(o){var s=wn.getAllAngularTestabilities(),l=s.length,u=!1,f=function(C){u=u||C,0==--l&&o(u)};s.forEach(function(m){m.whenStable(f)})})}},{key:"findTestabilityInTree",value:function(e,t,a){if(null==t)return null;var o=e.getTestability(t);return null!=o?o:a?ko().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}],[{key:"init",value:function(){!function _3(n){C_=n}(new n)}}]),n}(),g4=function(){var n=function(){function i(){c(this,i)}return d(i,[{key:"build",value:function(){return new XMLHttpRequest}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),ip=new Ze("EventManagerPlugins"),ap=function(){var n=function(){function i(e,t){var a=this;c(this,i),this._zone=t,this._eventNameToPlugin=new Map,e.forEach(function(o){return o.manager=a}),this._plugins=e.slice().reverse()}return d(i,[{key:"addEventListener",value:function(t,a,o){return this._findPluginFor(a).addEventListener(t,a,o)}},{key:"addGlobalEventListener",value:function(t,a,o){return this._findPluginFor(a).addGlobalEventListener(t,a,o)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(t){var a=this._eventNameToPlugin.get(t);if(a)return a;for(var o=this._plugins,s=0;s-1&&(s.splice(I,1),f+=C+".")}),f+=u,0!=s.length||0===u.length)return null;var m={};return m.domEventName=l,m.fullKey=f,m}},{key:"getEventFullKey",value:function(o){var s="",l=function P4(n){var i=n.key;if(null==i){if(null==(i=n.keyIdentifier))return"Unidentified";i.startsWith("U+")&&(i=String.fromCharCode(parseInt(i.substring(2),16)),3===n.location&&cS.hasOwnProperty(i)&&(i=cS[i]))}return T4[i]||i}(o);return" "===(l=l.toLowerCase())?l="space":"."===l&&(l="dot"),uS.forEach(function(u){u!=l&&(0,L4[u])(o)&&(s+=u+".")}),s+=l}},{key:"eventCallback",value:function(o,s,l){return function(u){t.getEventFullKey(u)===o&&l.runGuarded(function(){return s(u)})}}},{key:"_normalizeKey",value:function(o){return"esc"===o?"escape":o}}]),t}(nS);return n.\u0275fac=function(e){return new(e||n)(Ee(Ot))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),I4=[{provide:Fd,useValue:Xw},{provide:aw,useValue:function x4(){d4.makeCurrent(),m4.init()},multi:!0},{provide:Ot,useFactory:function A4(){return function $f(n){Jl=n}(document),document},deps:[]}],F4=pw(B3,"browser",I4),R4=[{provide:Ng,useValue:"root"},{provide:Ms,useFactory:function O4(){return new Ms},deps:[]},{provide:ip,useClass:S4,multi:!0,deps:[Ot,bt,Fd]},{provide:ip,useClass:E4,multi:!0,deps:[Ot]},{provide:sp,useClass:sp,deps:[ap,Vd,Id]},{provide:Ld,useExisting:sp},{provide:rS,useExisting:Vd},{provide:Vd,useClass:Vd,deps:[Ot]},{provide:M_,useClass:M_,deps:[bt]},{provide:ap,useClass:ap,deps:[ip,bt]},{provide:z_,useClass:g4,deps:[]}],dS=function(){var n=function(){function i(e){if(c(this,i),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.")}return d(i,null,[{key:"withServerTransition",value:function(t){return{ngModule:i,providers:[{provide:Id,useValue:t.appId},{provide:tS,useExisting:Id},v4]}}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(n,12))},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({providers:R4,imports:[Mo,V3]}),n}();"undefined"!=typeof window&&window;var $_=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ue({token:n,factory:function(e){return e?new(e||n):Ee(pS)},providedIn:"root"}),n}(),pS=function(){var n=function(i){h(t,i);var e=y(t);function t(a){var o;return c(this,t),(o=e.call(this))._doc=a,o}return d(t,[{key:"sanitize",value:function(o,s){if(null==s)return null;switch(o){case bn.NONE:return s;case bn.HTML:return ho(s,"HTML")?oa(s):m1(this._doc,String(s)).toString();case bn.STYLE:return ho(s,"Style")?oa(s):s;case bn.SCRIPT:if(ho(s,"Script"))return oa(s);throw new Error("unsafe value used in a script context");case bn.URL:return l1(s),ho(s,"URL")?oa(s):dd(String(s));case bn.RESOURCE_URL:if(ho(s,"ResourceURL"))return oa(s);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext ".concat(o," (see https://g.co/ng/security#xss)"))}}},{key:"bypassSecurityTrustHtml",value:function(o){return function ux(n){return new ix(n)}(o)}},{key:"bypassSecurityTrustStyle",value:function(o){return function cx(n){return new ax(n)}(o)}},{key:"bypassSecurityTrustScript",value:function(o){return function dx(n){return new ox(n)}(o)}},{key:"bypassSecurityTrustUrl",value:function(o){return function fx(n){return new sx(n)}(o)}},{key:"bypassSecurityTrustResourceUrl",value:function(o){return function hx(n){return new lx(n)}(o)}}]),t}($_);return n.\u0275fac=function(e){return new(e||n)(Ee(Ot))},n.\u0275prov=Ue({token:n,factory:function(e){var t;return t=e?new e:function z4(n){return new pS(n.get(Ot))}(Ee(zn)),t},providedIn:"root"}),n}(),vS=d(function n(){c(this,n)}),W4=d(function n(){c(this,n)}),Wo="*";function Go(n,i){return{type:7,name:n,definitions:i,options:{}}}function Fi(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:i,timings:n}}function mS(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:2,steps:n,options:i}}function kn(n){return{type:6,styles:n,offset:null}}function Ri(n,i,e){return{type:0,name:n,styles:i,options:e}}function G4(n){return{type:5,steps:n}}function yi(n,i){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:1,expr:n,animation:i,options:e}}function q4(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return{type:9,options:n}}function K4(n,i){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:11,selector:n,animation:i,options:e}}function gS(n){Promise.resolve(null).then(n)}var jd=function(){function n(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;c(this,n),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=i+e}return d(n,[{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;gS(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(){this._started=!1}},{key:"setPosition",value:function(e){this._position=this.totalTime?e*this.totalTime:1}},{key:"getPosition",value:function(){return this.totalTime?this._position/this.totalTime:1}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(a){return a()}),t.length=0}}]),n}(),_S=function(){function n(i){var e=this;c(this,n),this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=i;var t=0,a=0,o=0,s=this.players.length;0==s?gS(function(){return e._onFinish()}):this.players.forEach(function(l){l.onDone(function(){++t==s&&e._onFinish()}),l.onDestroy(function(){++a==s&&e._onDestroy()}),l.onStart(function(){++o==s&&e._onStart()})}),this.totalTime=this.players.reduce(function(l,u){return Math.max(l,u.totalTime)},0)}return d(n,[{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(a){var o=a.totalTime?Math.min(1,t/a.totalTime):1;a.setPosition(o)})}},{key:"getPosition",value:function(){var e=this.players.reduce(function(t,a){return null===t||a.totalTime>t.totalTime?a:t},null);return null!=e?e.getPosition():0}},{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(a){return a()}),t.length=0}}]),n}(),tn=!1;function yS(n){return new dt(3e3,tn)}function m5(n){return new dt(3502,tn)}function _5(){return new dt(3300,tn)}function y5(n){return new dt(3504,tn)}function T5(){return"undefined"!=typeof window&&void 0!==window.document}function Q_(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Es(n){switch(n.length){case 0:return new jd;case 1:return n[0];default:return new _S(n)}}function bS(n,i,e,t){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},s=[],l=[],u=-1,f=null;if(t.forEach(function(m){var C=m.offset,I=C==u,V=I&&f||{};Object.keys(m).forEach(function(J){var me=J,Ce=m[J];if("offset"!==J)switch(me=i.normalizePropertyName(me,s),Ce){case"!":Ce=a[J];break;case Wo:Ce=o[J];break;default:Ce=i.normalizeStyleValue(J,me,Ce,s)}V[me]=Ce}),I||l.push(V),f=V,u=C}),s.length)throw m5();return l}function J_(n,i,e,t){switch(i){case"start":n.onStart(function(){return t(e&&X_(e,"start",n))});break;case"done":n.onDone(function(){return t(e&&X_(e,"done",n))});break;case"destroy":n.onDestroy(function(){return t(e&&X_(e,"destroy",n))})}}function X_(n,i,e){var t=e.totalTime,o=ey(n.element,n.triggerName,n.fromState,n.toState,i||n.phaseName,null==t?n.totalTime:t,!!e.disabled),s=n._data;return null!=s&&(o._data=s),o}function ey(n,i,e,t){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,s=arguments.length>6?arguments[6]:void 0;return{element:n,triggerName:i,fromState:e,toState:t,phaseName:a,totalTime:o,disabled:!!s}}function ca(n,i,e){var t;return n instanceof Map?(t=n.get(i))||n.set(i,t=e):(t=n[i])||(t=n[i]=e),t}function kS(n){var i=n.indexOf(":");return[n.substring(1,i),n.substr(i+1)]}var ty=function(i,e){return!1},MS=function(i,e,t){return[]},CS=null;function ny(n){var i=n.parentNode||n.host;return i===CS?null:i}(Q_()||"undefined"!=typeof Element)&&(T5()?(CS=function(){return document.documentElement}(),ty=function(i,e){for(;e;){if(e===i)return!0;e=ny(e)}return!1}):ty=function(i,e){return i.contains(e)},MS=function(i,e,t){if(t)return Array.from(i.querySelectorAll(e));var a=i.querySelector(e);return a?[a]:[]});var ol=null,wS=!1;function SS(n){ol||(ol=function P5(){return"undefined"!=typeof document?document.body:null}()||{},wS=!!ol.style&&"WebkitAppearance"in ol.style);var i=!0;return ol.style&&!function E5(n){return"ebkit"==n.substring(1,6)}(n)&&!(i=n in ol.style)&&wS&&(i="Webkit"+n.charAt(0).toUpperCase()+n.substr(1)in ol.style),i}var DS=ty,TS=MS,LS=function(){var n=function(){function i(){c(this,i)}return d(i,[{key:"validateStyleProperty",value:function(t){return SS(t)}},{key:"matchesElement",value:function(t,a){return!1}},{key:"containsElement",value:function(t,a){return DS(t,a)}},{key:"getParentElement",value:function(t){return ny(t)}},{key:"query",value:function(t,a,o){return TS(t,a,o)}},{key:"computeStyle",value:function(t,a,o){return o||""}},{key:"animate",value:function(t,a,o,s,l){return new jd(o,s)}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),ry=function(){var n=d(function i(){c(this,i)});return n.NOOP=new LS,n}(),PS="ng-enter",iy="ng-leave",up="ng-trigger",cp=".ng-trigger",xS="ng-animating",ay=".ng-animating";function sl(n){if("number"==typeof n)return n;var i=n.match(/^(-?[\.\d]+)(m?s)/);return!i||i.length<2?0:oy(parseFloat(i[1]),i[2])}function oy(n,i){return"s"===i?1e3*n:n}function dp(n,i,e){return n.hasOwnProperty("duration")?n:function A5(n,i,e){var a,o=0,s="";if("string"==typeof n){var l=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===l)return i.push(yS()),{duration:0,delay:0,easing:""};a=oy(parseFloat(l[1]),l[2]);var u=l[3];null!=u&&(o=oy(parseFloat(u),l[4]));var f=l[5];f&&(s=f)}else a=n;if(!e){var m=!1,C=i.length;a<0&&(i.push(function $4(){return new dt(3100,tn)}()),m=!0),o<0&&(i.push(function Z4(){return new dt(3101,tn)}()),m=!0),m&&i.splice(C,0,yS())}return{duration:a,delay:o,easing:s}}(n,i,e)}function Gu(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(n).forEach(function(e){i[e]=n[e]}),i}function Ps(n,i){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(i)for(var t in n)e[t]=n[t];else Gu(n,e);return e}function OS(n,i,e){return e?i+":"+e+";":""}function AS(n){for(var i="",e=0;e *";case":leave":return"* => void";case":increment":return function(e,t){return parseFloat(t)>parseFloat(e)};case":decrement":return function(e,t){return parseFloat(t) *"}}(n,e);if("function"==typeof t)return void i.push(t);n=t}var a=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==a||a.length<4)return e.push(function h5(n){return new dt(3015,tn)}()),i;var o=a[1],s=a[2],l=a[3];i.push(RS(o,l)),"<"==s[0]&&!("*"==o&&"*"==l)&&i.push(RS(l,o))}(t,e,i)}):e.push(n),e}var gp=new Set(["true","1"]),_p=new Set(["false","0"]);function RS(n,i){var e=gp.has(n)||_p.has(n),t=gp.has(i)||_p.has(i);return function(a,o){var s="*"==n||n==a,l="*"==i||i==o;return!s&&e&&"boolean"==typeof a&&(s=a?gp.has(n):_p.has(n)),!l&&t&&"boolean"==typeof o&&(l=o?gp.has(i):_p.has(i)),s&&l}}var z5=new RegExp("s*".concat(":self","s*,?"),"g");function YS(n,i,e,t){return new W5(n).build(i,e,t)}var W5=function(){function n(i){c(this,n),this._driver=i}return d(n,[{key:"build",value:function(e,t,a){var o=new K5(t);this._resetContextStyleTimingState(o);var s=da(this,Ud(e),o);return o.unsupportedCSSPropertiesFound.size&&ae(o.unsupportedCSSPropertiesFound.keys()),s}},{key:"_resetContextStyleTimingState",value:function(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}},{key:"visitTrigger",value:function(e,t){var a=this,o=t.queryCount=0,s=t.depCount=0,l=[],u=[];return"@"==e.name.charAt(0)&&t.errors.push(function t5(){return new dt(3006,tn)}()),e.definitions.forEach(function(f){if(a._resetContextStyleTimingState(t),0==f.type){var m=f,C=m.name;C.toString().split(/\s*,\s*/).forEach(function(V){m.name=V,l.push(a.visitState(m,t))}),m.name=C}else if(1==f.type){var I=a.visitTransition(f,t);o+=I.queryCount,s+=I.depCount,u.push(I)}else t.errors.push(function n5(){return new dt(3007,tn)}())}),{type:7,name:e.name,states:l,transitions:u,queryCount:o,depCount:s,options:null}}},{key:"visitState",value:function(e,t){var a=this.visitStyle(e.styles,t),o=e.options&&e.options.params||null;if(a.containsDynamicStyles){var s=new Set,l=o||{};a.styles.forEach(function(f){if(yp(f)){var m=f;Object.keys(m).forEach(function(C){IS(m[C]).forEach(function(I){l.hasOwnProperty(I)||s.add(I)})})}}),s.size&&(hp(s.values()),t.errors.push(function r5(n,i){return new dt(3008,tn)}()))}return{type:0,name:e.name,style:a,options:o?{params:o}:null}}},{key:"visitTransition",value:function(e,t){t.queryCount=0,t.depCount=0;var a=da(this,Ud(e.animation),t);return{type:1,matchers:V5(e.expr,t.errors),animation:a,queryCount:t.queryCount,depCount:t.depCount,options:ul(e.options)}}},{key:"visitSequence",value:function(e,t){var a=this;return{type:2,steps:e.steps.map(function(o){return da(a,o,t)}),options:ul(e.options)}}},{key:"visitGroup",value:function(e,t){var a=this,o=t.currentTime,s=0,l=e.steps.map(function(u){t.currentTime=o;var f=da(a,u,t);return s=Math.max(s,t.currentTime),f});return t.currentTime=s,{type:3,steps:l,options:ul(e.options)}}},{key:"visitAnimate",value:function(e,t){var a=function Z5(n,i){var e=null;if(n.hasOwnProperty("duration"))e=n;else if("number"==typeof n)return uy(dp(n,i).duration,0,"");var a=n,o=a.split(/\s+/).some(function(l){return"{"==l.charAt(0)&&"{"==l.charAt(1)});if(o){var s=uy(0,0,"");return s.dynamic=!0,s.strValue=a,s}return uy((e=e||dp(a,i)).duration,e.delay,e.easing)}(e.timings,t.errors);t.currentAnimateTimings=a;var o,s=e.styles?e.styles:kn({});if(5==s.type)o=this.visitKeyframes(s,t);else{var l=e.styles,u=!1;if(!l){u=!0;var f={};a.easing&&(f.easing=a.easing),l=kn(f)}t.currentTime+=a.duration+a.delay;var m=this.visitStyle(l,t);m.isEmptyStep=u,o=m}return t.currentAnimateTimings=null,{type:4,timings:a,style:o,options:null}}},{key:"visitStyle",value:function(e,t){var a=this._makeStyleAst(e,t);return this._validateStyleAst(a,t),a}},{key:"_makeStyleAst",value:function(e,t){var a=[];Array.isArray(e.styles)?e.styles.forEach(function(l){"string"==typeof l?l==Wo?a.push(l):t.errors.push(function a5(n){return new dt(3002,tn)}()):a.push(l)}):a.push(e.styles);var o=!1,s=null;return a.forEach(function(l){if(yp(l)){var u=l,f=u.easing;if(f&&(s=f,delete u.easing),!o)for(var m in u)if(u[m].toString().indexOf("{{")>=0){o=!0;break}}}),{type:6,styles:a,easing:s,offset:e.offset,containsDynamicStyles:o,options:null}}},{key:"_validateStyleAst",value:function(e,t){var a=this,o=t.currentAnimateTimings,s=t.currentTime,l=t.currentTime;o&&l>0&&(l-=o.duration+o.delay),e.styles.forEach(function(u){"string"!=typeof u&&Object.keys(u).forEach(function(f){if(!a._driver.validateStyleProperty(f))return delete u[f],void t.unsupportedCSSPropertiesFound.add(f);var m=t.collectedStyles[t.currentQuerySelector],C=m[f],I=!0;C&&(l!=s&&l>=C.startTime&&s<=C.endTime&&(t.errors.push(function o5(n,i,e,t,a){return new dt(3010,tn)}()),I=!1),l=C.startTime),I&&(m[f]={startTime:l,endTime:s}),t.options&&function I5(n,i,e){var t=i.params||{},a=IS(n);a.length&&a.forEach(function(o){t.hasOwnProperty(o)||e.push(function Q4(n){return new dt(3001,tn)}())})}(u[f],t.options,t.errors)})})}},{key:"visitKeyframes",value:function(e,t){var a=this,o={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function s5(){return new dt(3011,tn)}()),o;var l=0,u=[],f=!1,m=!1,C=0,I=e.steps.map(function(Re){var Ye=a._makeStyleAst(Re,t),Ge=null!=Ye.offset?Ye.offset:function $5(n){if("string"==typeof n)return null;var i=null;if(Array.isArray(n))n.forEach(function(t){if(yp(t)&&t.hasOwnProperty("offset")){var a=t;i=parseFloat(a.offset),delete a.offset}});else if(yp(n)&&n.hasOwnProperty("offset")){var e=n;i=parseFloat(e.offset),delete e.offset}return i}(Ye.styles),rt=0;return null!=Ge&&(l++,rt=Ye.offset=Ge),m=m||rt<0||rt>1,f=f||rt0&&l0?Ye==me?1:J*Ye:u[Ye],rt=Ge*pe;t.currentTime=Ce+Le.delay+rt,Le.duration=rt,a._validateStyleAst(Re,t),Re.offset=Ge,o.styles.push(Re)}),o}},{key:"visitReference",value:function(e,t){return{type:8,animation:da(this,Ud(e.animation),t),options:ul(e.options)}}},{key:"visitAnimateChild",value:function(e,t){return t.depCount++,{type:9,options:ul(e.options)}}},{key:"visitAnimateRef",value:function(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:ul(e.options)}}},{key:"visitQuery",value:function(e,t){var a=t.currentQuerySelector,o=e.options||{};t.queryCount++,t.currentQuery=e;var s=function G5(n){var i=!!n.split(/\s*,\s*/).find(function(e){return":self"==e});return i&&(n=n.replace(z5,"")),n=n.replace(/@\*/g,cp).replace(/@\w+/g,function(e){return cp+"-"+e.substr(1)}).replace(/:animating/g,ay),[n,i]}(e.selector),l=ne(s,2),u=l[0],f=l[1];t.currentQuerySelector=a.length?a+" "+u:u,ca(t.collectedStyles,t.currentQuerySelector,{});var m=da(this,Ud(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=a,{type:11,selector:u,limit:o.limit||0,optional:!!o.optional,includeSelf:f,animation:m,originalSelector:e.selector,options:ul(e.options)}}},{key:"visitStagger",value:function(e,t){t.currentQuery||t.errors.push(function d5(){return new dt(3013,tn)}());var a="full"===e.timings?{duration:0,delay:0,easing:"full"}:dp(e.timings,t.errors,!0);return{type:12,animation:da(this,Ud(e.animation),t),timings:a,options:null}}}]),n}(),K5=d(function n(i){c(this,n),this.errors=i,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,this.unsupportedCSSPropertiesFound=new Set});function yp(n){return!Array.isArray(n)&&"object"==typeof n}function ul(n){return n?(n=Gu(n)).params&&(n.params=function q5(n){return n?Gu(n):null}(n.params)):n={},n}function uy(n,i,e){return{duration:n,delay:i,easing:e}}function cy(n,i,e,t,a,o){var s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,l=arguments.length>7&&void 0!==arguments[7]&&arguments[7];return{type:1,element:n,keyframes:i,preStyleProps:e,postStyleProps:t,duration:a,delay:o,totalTime:a+o,easing:s,subTimeline:l}}var dy=function(){function n(){c(this,n),this._map=new Map}return d(n,[{key:"get",value:function(e){return this._map.get(e)||[]}},{key:"append",value:function(e,t){var a,o=this._map.get(e);o||this._map.set(e,o=[]),(a=o).push.apply(a,ae(t))}},{key:"has",value:function(e){return this._map.has(e)}},{key:"clear",value:function(){this._map.clear()}}]),n}(),X5=new RegExp(":enter","g"),tY=new RegExp(":leave","g");function BS(n,i,e,t,a){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},l=arguments.length>7?arguments[7]:void 0,u=arguments.length>8?arguments[8]:void 0,f=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];return(new nY).buildKeyframes(n,i,e,t,a,o,s,l,u,f)}var nY=function(){function n(){c(this,n)}return d(n,[{key:"buildKeyframes",value:function(e,t,a,o,s,l,u,f,m){var C=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];m=m||new dy;var I=new rY(e,t,m,o,s,C,[]);I.options=f,I.currentTimeline.setStyles([l],null,I.errors,f),da(this,a,I);var V=I.timelines.filter(function(Le){return Le.containsAnimation()});if(Object.keys(u).length){for(var J,me=V.length-1;me>=0;me--){var Ce=V[me];if(Ce.element===t){J=Ce;break}}J&&!J.allowOnlyTimelineStyles()&&J.setStyles([u],null,I.errors,f)}return V.length?V.map(function(Le){return Le.buildKeyframes()}):[cy(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 a=t.subInstructions.get(t.element);if(a){var o=t.createSubContext(e.options),s=t.currentTimeline.currentTime,l=this._visitSubInstructions(a,o,o.options);s!=l&&t.transformIntoNewTimeline(l)}t.previousNode=e}},{key:"visitAnimateRef",value:function(e,t){var a=t.createSubContext(e.options);a.transformIntoNewTimeline(),this.visitReference(e.animation,a),t.transformIntoNewTimeline(a.currentTimeline.currentTime),t.previousNode=e}},{key:"_visitSubInstructions",value:function(e,t,a){var s=t.currentTimeline.currentTime,l=null!=a.duration?sl(a.duration):null,u=null!=a.delay?sl(a.delay):null;return 0!==l&&e.forEach(function(f){var m=t.appendInstructionToTimeline(f,l,u);s=Math.max(s,m.duration+m.delay)}),s}},{key:"visitReference",value:function(e,t){t.updateOptions(e.options,!0),da(this,e.animation,t),t.previousNode=e}},{key:"visitSequence",value:function(e,t){var a=this,o=t.subContextCount,s=t,l=e.options;if(l&&(l.params||l.delay)&&((s=t.createSubContext(l)).transformIntoNewTimeline(),null!=l.delay)){6==s.previousNode.type&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=bp);var u=sl(l.delay);s.delayNextStep(u)}e.steps.length&&(e.steps.forEach(function(f){return da(a,f,s)}),s.currentTimeline.applyStylesToKeyframe(),s.subContextCount>o&&s.transformIntoNewTimeline()),t.previousNode=e}},{key:"visitGroup",value:function(e,t){var a=this,o=[],s=t.currentTimeline.currentTime,l=e.options&&e.options.delay?sl(e.options.delay):0;e.steps.forEach(function(u){var f=t.createSubContext(e.options);l&&f.delayNextStep(l),da(a,u,f),s=Math.max(s,f.currentTimeline.currentTime),o.push(f.currentTimeline)}),o.forEach(function(u){return t.currentTimeline.mergeTimelineCollectedStyles(u)}),t.transformIntoNewTimeline(s),t.previousNode=e}},{key:"_visitTiming",value:function(e,t){if(e.dynamic){var a=e.strValue;return dp(t.params?fp(a,t.params,t.errors):a,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}},{key:"visitAnimate",value:function(e,t){var a=t.currentAnimateTimings=this._visitTiming(e.timings,t),o=t.currentTimeline;a.delay&&(t.incrementTime(a.delay),o.snapshotCurrentStyles());var s=e.style;5==s.type?this.visitKeyframes(s,t):(t.incrementTime(a.duration),this.visitStyle(s,t),o.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}},{key:"visitStyle",value:function(e,t){var a=t.currentTimeline,o=t.currentAnimateTimings;!o&&a.getCurrentStyleProperties().length&&a.forwardFrame();var s=o&&o.easing||e.easing;e.isEmptyStep?a.applyEmptyStep(s):a.setStyles(e.styles,s,t.errors,t.options),t.previousNode=e}},{key:"visitKeyframes",value:function(e,t){var a=t.currentAnimateTimings,o=t.currentTimeline.duration,s=a.duration,u=t.createSubContext().currentTimeline;u.easing=a.easing,e.styles.forEach(function(f){u.forwardTime((f.offset||0)*s),u.setStyles(f.styles,f.easing,t.errors,t.options),u.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(u),t.transformIntoNewTimeline(o+s),t.previousNode=e}},{key:"visitQuery",value:function(e,t){var a=this,o=t.currentTimeline.currentTime,s=e.options||{},l=s.delay?sl(s.delay):0;l&&(6===t.previousNode.type||0==o&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=bp);var u=o,f=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!s.optional,t.errors);t.currentQueryTotal=f.length;var m=null;f.forEach(function(C,I){t.currentQueryIndex=I;var V=t.createSubContext(e.options,C);l&&V.delayNextStep(l),C===t.element&&(m=V.currentTimeline),da(a,e.animation,V),V.currentTimeline.applyStylesToKeyframe(),u=Math.max(u,V.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(u),m&&(t.currentTimeline.mergeTimelineCollectedStyles(m),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}},{key:"visitStagger",value:function(e,t){var a=t.parentContext,o=t.currentTimeline,s=e.timings,l=Math.abs(s.duration),u=l*(t.currentQueryTotal-1),f=l*t.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":f=u-f;break;case"full":f=a.currentStaggerTime}var C=t.currentTimeline;f&&C.delayNextStep(f);var I=C.currentTime;da(this,e.animation,t),t.previousNode=e,a.currentStaggerTime=o.currentTime-I+(o.startTime-a.currentTimeline.startTime)}}]),n}(),bp={},rY=function(){function n(i,e,t,a,o,s,l,u){c(this,n),this._driver=i,this.element=e,this.subInstructions=t,this._enterClassName=a,this._leaveClassName=o,this.errors=s,this.timelines=l,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=bp,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=u||new VS(this._driver,e,0),l.push(this.currentTimeline)}return d(n,[{key:"params",get:function(){return this.options.params}},{key:"updateOptions",value:function(e,t){var a=this;if(e){var o=e,s=this.options;null!=o.duration&&(s.duration=sl(o.duration)),null!=o.delay&&(s.delay=sl(o.delay));var l=o.params;if(l){var u=s.params;u||(u=this.options.params={}),Object.keys(l).forEach(function(f){(!t||!u.hasOwnProperty(f))&&(u[f]=fp(l[f],u,a.errors))})}}}},{key:"_copyOptions",value:function(){var e={};if(this.options){var t=this.options.params;if(t){var a=e.params={};Object.keys(t).forEach(function(o){a[o]=t[o]})}}return e}},{key:"createSubContext",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0,a=arguments.length>2?arguments[2]:void 0,o=t||this.element,s=new n(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,a||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(e),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}},{key:"transformIntoNewTimeline",value:function(e){return this.previousNode=bp,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}},{key:"appendInstructionToTimeline",value:function(e,t,a){var o={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=a?a:0)+e.delay,easing:""},s=new iY(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,o,e.stretchStartingKeyframe);return this.timelines.push(s),o}},{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,a,o,s,l){var u=[];if(o&&u.push(this.element),e.length>0){e=(e=e.replace(X5,"."+this._enterClassName)).replace(tY,"."+this._leaveClassName);var m=this._driver.query(this.element,e,1!=a);0!==a&&(m=a<0?m.slice(m.length+a,m.length):m.slice(0,a)),u.push.apply(u,ae(m))}return!s&&0==u.length&&l.push(function f5(n){return new dt(3014,tn)}()),u}}]),n}(),VS=function(){function n(i,e,t,a){c(this,n),this._driver=i,this.element=e,this.startTime=t,this._elementTimelineStylesLookup=a,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(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}return d(n,[{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:"currentTime",get:function(){return this.startTime+this.duration}},{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(e,t){return this.applyStylesToKeyframe(),new n(this._driver,e,t||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(a){t._backFill[a]=t._globalTimelineStyles[a]||Wo,t._currentKeyframe[a]=Wo}),this._currentEmptyStepKeyframe=this._currentKeyframe}},{key:"setStyles",value:function(e,t,a,o){var s=this;t&&(this._previousKeyframe.easing=t);var l=o&&o.params||{},u=function aY(n,i){var t,e={};return n.forEach(function(a){"*"===a?(t=t||Object.keys(i)).forEach(function(o){e[o]=Wo}):Ps(a,!1,e)}),e}(e,this._globalTimelineStyles);Object.keys(u).forEach(function(f){var m=fp(u[f],l,a);s._pendingStyles[f]=m,s._localTimelineStyles.hasOwnProperty(f)||(s._backFill[f]=s._globalTimelineStyles.hasOwnProperty(f)?s._globalTimelineStyles[f]:Wo),s._updateStyle(f,m)})}},{key:"applyStylesToKeyframe",value:function(){var e=this,t=this._pendingStyles,a=Object.keys(t);0!=a.length&&(this._pendingStyles={},a.forEach(function(o){e._currentKeyframe[o]=t[o]}),Object.keys(this._localTimelineStyles).forEach(function(o){e._currentKeyframe.hasOwnProperty(o)||(e._currentKeyframe[o]=e._localTimelineStyles[o])}))}},{key:"snapshotCurrentStyles",value:function(){var e=this;Object.keys(this._localTimelineStyles).forEach(function(t){var a=e._localTimelineStyles[t];e._pendingStyles[t]=a,e._updateStyle(t,a)})}},{key:"getFinalKeyframe",value:function(){return this._keyframes.get(this.duration)}},{key:"properties",get:function(){var e=[];for(var t in this._currentKeyframe)e.push(t);return e}},{key:"mergeTimelineCollectedStyles",value:function(e){var t=this;Object.keys(e._styleSummary).forEach(function(a){var o=t._styleSummary[a],s=e._styleSummary[a];(!o||s.time>o.time)&&t._updateStyle(a,s.value)})}},{key:"buildKeyframes",value:function(){var e=this;this.applyStylesToKeyframe();var t=new Set,a=new Set,o=1===this._keyframes.size&&0===this.duration,s=[];this._keyframes.forEach(function(C,I){var V=Ps(C,!0);Object.keys(V).forEach(function(J){var me=V[J];"!"==me?t.add(J):me==Wo&&a.add(J)}),o||(V.offset=I/e.duration),s.push(V)});var l=t.size?hp(t.values()):[],u=a.size?hp(a.values()):[];if(o){var f=s[0],m=Gu(f);f.offset=0,m.offset=1,s=[f,m]}return cy(this.element,s,l,u,this.duration,this.startTime,this.easing,!1)}}]),n}(),iY=function(n){h(e,n);var i=y(e);function e(t,a,o,s,l,u){var f,m=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return c(this,e),(f=i.call(this,t,a,u.delay)).keyframes=o,f.preStyleProps=s,f.postStyleProps=l,f._stretchStartingKeyframe=m,f.timings={duration:u.duration,delay:u.delay,easing:u.easing},f}return d(e,[{key:"containsAnimation",value:function(){return this.keyframes.length>1}},{key:"buildKeyframes",value:function(){var a=this.keyframes,o=this.timings,s=o.delay,l=o.duration,u=o.easing;if(this._stretchStartingKeyframe&&s){var f=[],m=l+s,C=s/m,I=Ps(a[0],!1);I.offset=0,f.push(I);var V=Ps(a[0],!1);V.offset=jS(C),f.push(V);for(var J=a.length-1,me=1;me<=J;me++){var Ce=Ps(a[me],!1);Ce.offset=jS((s+Ce.offset*l)/m),f.push(Ce)}l=m,s=0,u="",a=f}return cy(this.element,a,this.preStyleProps,this.postStyleProps,l,s,u,!0)}}]),e}(VS);function jS(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,e=Math.pow(10,i-1);return Math.round(n*e)/e}var fy=d(function n(){c(this,n)}),oY=function(n){h(e,n);var i=y(e);function e(){return c(this,e),i.apply(this,arguments)}return d(e,[{key:"normalizePropertyName",value:function(a,o){return ly(a)}},{key:"normalizeStyleValue",value:function(a,o,s,l){var u="",f=s.toString().trim();if(sY[o]&&0!==s&&"0"!==s)if("number"==typeof s)u="px";else{var m=s.match(/^[+-]?[\d\.]+([a-z]*)$/);m&&0==m[1].length&&l.push(function e5(n,i){return new dt(3005,tn)}())}return f+u}}]),e}(fy),sY=function(){return function lY(n){var i={};return n.forEach(function(e){return i[e]=!0}),i}("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 US(n,i,e,t,a,o,s,l,u,f,m,C,I){return{type:0,element:n,triggerName:i,isRemovalTransition:a,fromState:e,fromStyles:o,toState:t,toStyles:s,timelines:l,queriedElements:u,preStyleProps:f,postStyleProps:m,totalTime:C,errors:I}}var hy={},zS=function(){function n(i,e,t){c(this,n),this._triggerName=i,this.ast=e,this._stateStyles=t}return d(n,[{key:"match",value:function(e,t,a,o){return function uY(n,i,e,t,a){return n.some(function(o){return o(i,e,t,a)})}(this.ast.matchers,e,t,a,o)}},{key:"buildStyles",value:function(e,t,a){var o=this._stateStyles["*"],s=this._stateStyles[e],l=o?o.buildStyles(t,a):{};return s?s.buildStyles(t,a):l}},{key:"build",value:function(e,t,a,o,s,l,u,f,m,C){var I=[],V=this.ast.options&&this.ast.options.params||hy,me=this.buildStyles(a,u&&u.params||hy,I),Ce=f&&f.params||hy,Le=this.buildStyles(o,Ce,I),pe=new Set,Re=new Map,Ye=new Map,Ge="void"===o,rt={params:Object.assign(Object.assign({},V),Ce)},mt=C?[]:BS(e,t,this.ast.animation,s,l,me,Le,rt,m,I),on=0;if(mt.forEach(function(rr){on=Math.max(rr.duration+rr.delay,on)}),I.length)return US(t,this._triggerName,a,o,Ge,me,Le,[],[],Re,Ye,on,I);mt.forEach(function(rr){var fi=rr.element,to=ca(Re,fi,{});rr.preStyleProps.forEach(function(ma){return to[ma]=!0});var os=ca(Ye,fi,{});rr.postStyleProps.forEach(function(ma){return os[ma]=!0}),fi!==t&&pe.add(fi)});var cr=hp(pe.values());return US(t,this._triggerName,a,o,Ge,me,Le,mt,cr,Re,Ye,on)}}]),n}(),cY=function(){function n(i,e,t){c(this,n),this.styles=i,this.defaultParams=e,this.normalizer=t}return d(n,[{key:"buildStyles",value:function(e,t){var a=this,o={},s=Gu(this.defaultParams);return Object.keys(e).forEach(function(l){var u=e[l];null!=u&&(s[l]=u)}),this.styles.styles.forEach(function(l){if("string"!=typeof l){var u=l;Object.keys(u).forEach(function(f){var m=u[f];m.length>1&&(m=fp(m,s,t));var C=a.normalizer.normalizePropertyName(f,t);m=a.normalizer.normalizeStyleValue(f,C,m,t),o[C]=m})}}),o}}]),n}(),fY=function(){function n(i,e,t){var a=this;c(this,n),this.name=i,this.ast=e,this._normalizer=t,this.transitionFactories=[],this.states={},e.states.forEach(function(o){a.states[o.name]=new cY(o.style,o.options&&o.options.params||{},t)}),WS(this.states,"true","1"),WS(this.states,"false","0"),e.transitions.forEach(function(o){a.transitionFactories.push(new zS(i,o,a.states))}),this.fallbackTransition=function hY(n,i,e){return new zS(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(s,l){return!0}],options:null,queryCount:0,depCount:0},i)}(i,this.states)}return d(n,[{key:"containsQueries",get:function(){return this.ast.queryCount>0}},{key:"matchTransition",value:function(e,t,a,o){return this.transitionFactories.find(function(l){return l.match(e,t,a,o)})||null}},{key:"matchStyles",value:function(e,t,a){return this.fallbackTransition.buildStyles(e,t,a)}}]),n}();function WS(n,i,e){n.hasOwnProperty(i)?n.hasOwnProperty(e)||(n[e]=n[i]):n.hasOwnProperty(e)&&(n[i]=n[e])}var pY=new dy,vY=function(){function n(i,e,t){c(this,n),this.bodyNode=i,this._driver=e,this._normalizer=t,this._animations={},this._playersById={},this.players=[]}return d(n,[{key:"register",value:function(e,t){var a=[],s=YS(this._driver,t,a,[]);if(a.length)throw function g5(n){return new dt(3503,tn)}();this._animations[e]=s}},{key:"_buildPlayer",value:function(e,t,a){var o=e.element,s=bS(this._driver,this._normalizer,o,e.keyframes,t,a);return this._driver.animate(o,s,e.duration,e.delay,e.easing,[],!0)}},{key:"create",value:function(e,t){var u,a=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=[],l=this._animations[e],f=new Map;if(l?(u=BS(this._driver,t,l,PS,iy,{},{},o,pY,s)).forEach(function(I){var V=ca(f,I.element,{});I.postStyleProps.forEach(function(J){return V[J]=null})}):(s.push(_5()),u=[]),s.length)throw y5();f.forEach(function(I,V){Object.keys(I).forEach(function(J){I[J]=a._driver.computeStyle(V,J,Wo)})});var m=u.map(function(I){var V=f.get(I.element);return a._buildPlayer(I,{},V)}),C=Es(m);return this._playersById[e]=C,C.onDestroy(function(){return a.destroy(e)}),this.players.push(C),C}},{key:"destroy",value:function(e){var t=this._getPlayer(e);t.destroy(),delete this._playersById[e];var a=this.players.indexOf(t);a>=0&&this.players.splice(a,1)}},{key:"_getPlayer",value:function(e){var t=this._playersById[e];if(!t)throw function b5(n){return new dt(3301,tn)}();return t}},{key:"listen",value:function(e,t,a,o){var s=ey(t,"","","");return J_(this._getPlayer(e),a,s,o),function(){}}},{key:"command",value:function(e,t,a,o){if("register"!=a)if("create"!=a){var l=this._getPlayer(e);switch(a){case"play":l.play();break;case"pause":l.pause();break;case"reset":l.reset();break;case"restart":l.restart();break;case"finish":l.finish();break;case"init":l.init();break;case"setPosition":l.setPosition(parseFloat(o[0]));break;case"destroy":this.destroy(e)}}else this.create(e,t,o[0]||{});else this.register(e,o[0])}}]),n}(),GS="ng-animate-queued",py="ng-animate-disabled",_Y="ng-star-inserted",bY=[],qS={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},kY={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ea="__ng_removed",vy=function(){function n(i){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";c(this,n),this.namespaceId=e;var t=i&&i.hasOwnProperty("value"),a=t?i.value:i;if(this.value=SY(a),t){var o=Gu(i);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}return d(n,[{key:"params",get:function(){return this.options.params}},{key:"absorbOptions",value:function(e){var t=e.params;if(t){var a=this.options.params;Object.keys(t).forEach(function(o){null==a[o]&&(a[o]=t[o])})}}}]),n}(),zd="void",my=new vy(zd),MY=function(){function n(i,e,t){c(this,n),this.id=i,this.hostElement=e,this._engine=t,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+i,Pa(e,this._hostClassName)}return d(n,[{key:"listen",value:function(e,t,a,o){var s=this;if(!this._triggers.hasOwnProperty(t))throw function k5(n,i){return new dt(3302,tn)}();if(null==a||0==a.length)throw function M5(n){return new dt(3303,tn)}();if(!function DY(n){return"start"==n||"done"==n}(a))throw function C5(n,i){return new dt(3400,tn)}();var l=ca(this._elementListeners,e,[]),u={name:t,phase:a,callback:o};l.push(u);var f=ca(this._engine.statesByElement,e,{});return f.hasOwnProperty(t)||(Pa(e,up),Pa(e,up+"-"+t),f[t]=my),function(){s._engine.afterFlush(function(){var m=l.indexOf(u);m>=0&&l.splice(m,1),s._triggers[t]||delete f[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 function w5(n){return new dt(3401,tn)}();return t}},{key:"trigger",value:function(e,t,a){var o=this,s=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],l=this._getTrigger(t),u=new gy(this.id,t,e),f=this._engine.statesByElement.get(e);f||(Pa(e,up),Pa(e,up+"-"+t),this._engine.statesByElement.set(e,f={}));var m=f[t],C=new vy(a,this.id),I=a&&a.hasOwnProperty("value");!I&&m&&C.absorbOptions(m.options),f[t]=C,m||(m=my);var V=C.value===zd;if(V||m.value!==C.value){var Le=ca(this._engine.playersByElement,e,[]);Le.forEach(function(Ye){Ye.namespaceId==o.id&&Ye.triggerName==t&&Ye.queued&&Ye.destroy()});var pe=l.matchTransition(m.value,C.value,e,C.params),Re=!1;if(!pe){if(!s)return;pe=l.fallbackTransition,Re=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:pe,fromState:m,toState:C,player:u,isFallbackTransition:Re}),Re||(Pa(e,GS),u.onStart(function(){qu(e,GS)})),u.onDone(function(){var Ye=o.players.indexOf(u);Ye>=0&&o.players.splice(Ye,1);var Ge=o._engine.playersByElement.get(e);if(Ge){var rt=Ge.indexOf(u);rt>=0&&Ge.splice(rt,1)}}),this.players.push(u),Le.push(u),u}if(!EY(m.params,C.params)){var J=[],me=l.matchStyles(m.value,m.params,J),Ce=l.matchStyles(C.value,C.params,J);J.length?this._engine.reportError(J):this._engine.afterFlush(function(){ll(e,me),Co(e,Ce)})}}},{key:"deregister",value:function(e){var t=this;delete this._triggers[e],this._engine.statesByElement.forEach(function(a,o){delete a[e]}),this._elementListeners.forEach(function(a,o){t._elementListeners.set(o,a.filter(function(s){return s.name!=e}))})}},{key:"clearElementCache",value:function(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);var t=this._engine.playersByElement.get(e);t&&(t.forEach(function(a){return a.destroy()}),this._engine.playersByElement.delete(e))}},{key:"_signalRemovalForInnerTriggers",value:function(e,t){var a=this,o=this._engine.driver.query(e,cp,!0);o.forEach(function(s){if(!s[Ea]){var l=a._engine.fetchNamespacesByElement(s);l.size?l.forEach(function(u){return u.triggerLeaveAnimation(s,t,!1,!0)}):a.clearElementCache(s)}}),this._engine.afterFlushAnimationsDone(function(){return o.forEach(function(s){return a.clearElementCache(s)})})}},{key:"triggerLeaveAnimation",value:function(e,t,a,o){var s=this,l=this._engine.statesByElement.get(e),u=new Map;if(l){var f=[];if(Object.keys(l).forEach(function(m){if(u.set(m,l[m].value),s._triggers[m]){var C=s.trigger(e,m,zd,o);C&&f.push(C)}}),f.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,u),a&&Es(f).onDone(function(){return s._engine.processLeaveNode(e)}),!0}return!1}},{key:"prepareLeaveAnimationListeners",value:function(e){var t=this,a=this._elementListeners.get(e),o=this._engine.statesByElement.get(e);if(a&&o){var s=new Set;a.forEach(function(l){var u=l.name;if(!s.has(u)){s.add(u);var m=t._triggers[u].fallbackTransition,C=o[u]||my,I=new vy(zd),V=new gy(t.id,u,e);t._engine.totalQueuedPlayers++,t._queue.push({element:e,triggerName:u,transition:m,fromState:C,toState:I,player:V,isFallbackTransition:!0})}})}}},{key:"removeNode",value:function(e,t){var a=this,o=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),!this.triggerLeaveAnimation(e,t,!0)){var s=!1;if(o.totalAnimations){var l=o.players.length?o.playersByQueriedElement.get(e):[];if(l&&l.length)s=!0;else for(var u=e;u=u.parentNode;)if(o.statesByElement.get(u)){s=!0;break}}if(this.prepareLeaveAnimationListeners(e),s)o.markElementAsRemoved(this.id,e,!1,t);else{var m=e[Ea];(!m||m===qS)&&(o.afterFlush(function(){return a.clearElementCache(e)}),o.destroyInnerAnimations(e),o._onRemovalComplete(e,t))}}}},{key:"insertNode",value:function(e,t){Pa(e,this._hostClassName)}},{key:"drainQueuedTransitions",value:function(e){var t=this,a=[];return this._queue.forEach(function(o){var s=o.player;if(!s.destroyed){var l=o.element,u=t._elementListeners.get(l);u&&u.forEach(function(f){if(f.name==o.triggerName){var m=ey(l,o.triggerName,o.fromState.value,o.toState.value);m._data=e,J_(o.player,f.phase,m,f.callback)}}),s.markedForDestroy?t._engine.afterFlush(function(){s.destroy()}):a.push(o)}}),this._queue=[],a.sort(function(o,s){var l=o.transition.ast.depCount,u=s.transition.ast.depCount;return 0==l||0==u?l-u:t._engine.driver.containsElement(o.element,s.element)?1:-1})}},{key:"destroy",value:function(e){this.players.forEach(function(t){return t.destroy()}),this._signalRemovalForInnerTriggers(this.hostElement,e)}},{key:"elementContainsData",value:function(e){var t=!1;return this._elementListeners.has(e)&&(t=!0),!!this._queue.find(function(a){return a.element===e})||t}}]),n}(),CY=function(){function n(i,e,t){c(this,n),this.bodyNode=i,this.driver=e,this._normalizer=t,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=function(a,o){}}return d(n,[{key:"_onRemovalComplete",value:function(e,t){this.onRemovalComplete(e,t)}},{key:"queuedPlayers",get:function(){var e=[];return this._namespaceList.forEach(function(t){t.players.forEach(function(a){a.queued&&e.push(a)})}),e}},{key:"createNamespace",value:function(e,t){var a=new MY(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(a,t):(this.newHostElements.set(t,a),this.collectEnterElement(t)),this._namespaceLookup[e]=a}},{key:"_balanceNamespaceList",value:function(e,t){var a=this._namespaceList,o=this.namespacesByHostElement,s=a.length-1;if(s>=0){var l=!1;if(void 0!==this.driver.getParentElement)for(var u=this.driver.getParentElement(t);u;){var f=o.get(u);if(f){var m=a.indexOf(f);a.splice(m+1,0,e),l=!0;break}u=this.driver.getParentElement(u)}else for(var C=s;C>=0;C--)if(this.driver.containsElement(a[C].hostElement,t)){a.splice(C+1,0,e),l=!0;break}l||a.unshift(e)}else a.push(e);return o.set(t,e),e}},{key:"register",value:function(e,t){var a=this._namespaceLookup[e];return a||(a=this.createNamespace(e,t)),a}},{key:"registerTrigger",value:function(e,t,a){var o=this._namespaceLookup[e];o&&o.register(t,a)&&this.totalAnimations++}},{key:"destroy",value:function(e,t){var a=this;if(e){var o=this._fetchNamespace(e);this.afterFlush(function(){a.namespacesByHostElement.delete(o.hostElement),delete a._namespaceLookup[e];var s=a._namespaceList.indexOf(o);s>=0&&a._namespaceList.splice(s,1)}),this.afterFlushAnimationsDone(function(){return o.destroy(t)})}}},{key:"_fetchNamespace",value:function(e){return this._namespaceLookup[e]}},{key:"fetchNamespacesByElement",value:function(e){var t=new Set,a=this.statesByElement.get(e);if(a)for(var o=Object.keys(a),s=0;s=0&&this.collectedLeaveElements.splice(l,1)}if(e){var u=this._fetchNamespace(e);u&&u.insertNode(t,a)}o&&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),Pa(e,py)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),qu(e,py))}},{key:"removeNode",value:function(e,t,a,o){if(kp(t)){var s=e?this._fetchNamespace(e):null;if(s?s.removeNode(t,o):this.markElementAsRemoved(e,t,!1,o),a){var l=this.namespacesByHostElement.get(t);l&&l.id!==e&&l.removeNode(t,o)}}else this._onRemovalComplete(t,o)}},{key:"markElementAsRemoved",value:function(e,t,a,o,s){this.collectedLeaveElements.push(t),t[Ea]={namespaceId:e,setForRemoval:o,hasAnimation:a,removedBeforeQueried:!1,previousTriggersValues:s}}},{key:"listen",value:function(e,t,a,o,s){return kp(t)?this._fetchNamespace(e).listen(t,a,o,s):function(){}}},{key:"_buildInstruction",value:function(e,t,a,o,s){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,a,o,e.fromState.options,e.toState.options,t,s)}},{key:"destroyInnerAnimations",value:function(e){var t=this,a=this.driver.query(e,cp,!0);a.forEach(function(o){return t.destroyActiveAnimationsForElement(o)}),0!=this.playersByQueriedElement.size&&(a=this.driver.query(e,ay,!0)).forEach(function(o){return t.finishActiveQueriedAnimationOnElement(o)})}},{key:"destroyActiveAnimationsForElement",value:function(e){var t=this.playersByElement.get(e);t&&t.forEach(function(a){a.queued?a.markedForDestroy=!0:a.destroy()})}},{key:"finishActiveQueriedAnimationOnElement",value:function(e){var t=this.playersByQueriedElement.get(e);t&&t.forEach(function(a){return a.finish()})}},{key:"whenRenderingDone",value:function(){var e=this;return new Promise(function(t){if(e.players.length)return Es(e.players).onDone(function(){return t()});t()})}},{key:"processLeaveNode",value:function(e){var a,t=this,o=e[Ea];if(o&&o.setForRemoval){if(e[Ea]=qS,o.namespaceId){this.destroyInnerAnimations(e);var s=this._fetchNamespace(o.namespaceId);s&&s.clearElementCache(e)}this._onRemovalComplete(e,o.setForRemoval)}(null===(a=e.classList)||void 0===a?void 0:a.contains(py))&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(function(l){t.markElementAsDisabled(l,!1)})}},{key:"flush",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,a=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(I,V){return e._balanceNamespaceList(I,V)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var o=0;o=0;to--)this._namespaceList[to].drainQueuedTransitions(t).forEach(function(ft){var It=ft.player,Bt=ft.element;if(rr.push(It),a.collectedEnterElements.length){var yr=Bt[Ea];if(yr&&yr.setForMove){if(yr.previousTriggersValues&&yr.previousTriggersValues.has(ft.triggerName)){var Sc=yr.previousTriggersValues.get(ft.triggerName),Bs=a.statesByElement.get(ft.element);Bs&&Bs[ft.triggerName]&&(Bs[ft.triggerName].value=Sc)}return void It.destroy()}}var Af=!V||!a.driver.containsElement(V,Bt),Rv=on.get(Bt),lk=Ce.get(Bt),ti=a._buildInstruction(ft,o,lk,Rv,Af);if(ti.errors&&ti.errors.length)fi.push(ti);else{if(Af)return It.onStart(function(){return ll(Bt,ti.fromStyles)}),It.onDestroy(function(){return Co(Bt,ti.toStyles)}),void s.push(It);if(ft.isFallbackTransition)return It.onStart(function(){return ll(Bt,ti.fromStyles)}),It.onDestroy(function(){return Co(Bt,ti.toStyles)}),void s.push(It);var Nv=[];ti.timelines.forEach(function(ls){ls.stretchStartingKeyframe=!0,a.disabledNodes.has(ls.element)||Nv.push(ls)}),ti.timelines=Nv,o.append(Bt,ti.timelines),u.push({instruction:ti,player:It,element:Bt}),ti.queriedElements.forEach(function(ls){return ca(f,ls,[]).push(It)}),ti.preStyleProps.forEach(function(ls,If){var Yv=Object.keys(ls);if(Yv.length){var Rl=m.get(If);Rl||m.set(If,Rl=new Set),Yv.forEach(function(uk){return Rl.add(uk)})}}),ti.postStyleProps.forEach(function(ls,If){var Yv=Object.keys(ls),Rl=C.get(If);Rl||C.set(If,Rl=new Set),Yv.forEach(function(uk){return Rl.add(uk)})})}});if(fi.length){var ma=[];fi.forEach(function(ft){ma.push(function D5(n,i){return new dt(3505,tn)}())}),rr.forEach(function(ft){return ft.destroy()}),this.reportError(ma)}var ss=new Map,Hs=new Map;u.forEach(function(ft){var It=ft.element;o.has(It)&&(Hs.set(It,It),a._beforeAnimationBuild(ft.player.namespaceId,ft.instruction,ss))}),s.forEach(function(ft){var It=ft.element;a._getPreviousPlayers(It,!1,ft.namespaceId,ft.triggerName,null).forEach(function(yr){ca(ss,It,[]).push(yr),yr.destroy()})});var gP=pe.filter(function(ft){return JS(ft,m,C)}),Fv=new Map;$S(Fv,this.driver,Ye,C,Wo).forEach(function(ft){JS(ft,m,C)&&gP.push(ft)});var nk=new Map;me.forEach(function(ft,It){$S(nk,a.driver,new Set(ft),m,"!")}),gP.forEach(function(ft){var It=Fv.get(ft),Bt=nk.get(ft);Fv.set(ft,Object.assign(Object.assign({},It),Bt))});var rk=[],_P=[],yP={};u.forEach(function(ft){var It=ft.element,Bt=ft.player,yr=ft.instruction;if(o.has(It)){if(I.has(It))return Bt.onDestroy(function(){return Co(It,yr.toStyles)}),Bt.disabled=!0,Bt.overrideTotalTime(yr.totalTime),void s.push(Bt);var Sc=yP;if(Hs.size>1){for(var Bs=It,Af=[];Bs=Bs.parentNode;){var Rv=Hs.get(Bs);if(Rv){Sc=Rv;break}Af.push(Bs)}Af.forEach(function(Nv){return Hs.set(Nv,Sc)})}var lk=a._buildAnimation(Bt.namespaceId,yr,ss,l,nk,Fv);if(Bt.setRealPlayer(lk),Sc===yP)rk.push(Bt);else{var ti=a.playersByElement.get(Sc);ti&&ti.length&&(Bt.parentPlayer=Es(ti)),s.push(Bt)}}else ll(It,yr.fromStyles),Bt.onDestroy(function(){return Co(It,yr.toStyles)}),_P.push(Bt),I.has(It)&&s.push(Bt)}),_P.forEach(function(ft){var It=l.get(ft.element);if(It&&It.length){var Bt=Es(It);ft.setRealPlayer(Bt)}}),s.forEach(function(ft){ft.parentPlayer?ft.syncPlayerEvents(ft.parentPlayer):ft.destroy()});for(var ik=0;ik0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,a):new jd(e.duration,e.delay)}}]),n}(),gy=function(){function n(i,e,t){c(this,n),this.namespaceId=i,this.triggerName=e,this.element=t,this._player=new jd,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return d(n,[{key:"setRealPlayer",value:function(e){var t=this;this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(function(a){t._queuedCallbacks[a].forEach(function(o){return J_(e,a,void 0,o)})}),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,a=this._player;a.triggerCallback&&e.onStart(function(){return a.triggerCallback("start")}),e.onDone(function(){return t.finish()}),e.onDestroy(function(){return t.destroy()})}},{key:"_queueEvent",value:function(e,t){ca(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)}}]),n}();function SY(n){return null!=n?n:null}function kp(n){return n&&1===n.nodeType}function KS(n,i){var e=n.style.display;return n.style.display=null!=i?i:"none",e}function $S(n,i,e,t,a){var o=[];e.forEach(function(u){return o.push(KS(u))});var s=[];t.forEach(function(u,f){var m={};u.forEach(function(C){var I=m[C]=i.computeStyle(f,C,a);(!I||0==I.length)&&(f[Ea]=kY,s.push(f))}),n.set(f,m)});var l=0;return e.forEach(function(u){return KS(u,o[l++])}),s}function ZS(n,i){var e=new Map;if(n.forEach(function(l){return e.set(l,[])}),0==i.length)return e;var a=new Set(i),o=new Map;function s(l){if(!l)return 1;var u=o.get(l);if(u)return u;var f=l.parentNode;return u=e.has(f)?f:a.has(f)?1:s(f),o.set(l,u),u}return i.forEach(function(l){var u=s(l);1!==u&&e.get(u).push(l)}),e}function Pa(n,i){var e;null===(e=n.classList)||void 0===e||e.add(i)}function qu(n,i){var e;null===(e=n.classList)||void 0===e||e.remove(i)}function TY(n,i,e){Es(e).onDone(function(){return n.processLeaveNode(i)})}function QS(n,i){for(var e=0;e0&&void 0!==arguments[0]?arguments[0]:-1;this._transitionEngine.flush(e)}},{key:"players",get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}},{key:"whenRenderingDone",value:function(){return this._transitionEngine.whenRenderingDone()}}]),n}();function PY(n,i){var e=null,t=null;return Array.isArray(i)&&i.length?(e=_y(i[0]),i.length>1&&(t=_y(i[i.length-1]))):i&&(e=_y(i)),e||t?new xY(n,e,t):null}var xY=function(){var n=function(){function i(e,t,a){c(this,i),this._element=e,this._startStyles=t,this._endStyles=a,this._state=0;var o=i.initialStylesByElement.get(e);o||i.initialStylesByElement.set(e,o={}),this._initialStyles=o}return d(i,[{key:"start",value:function(){this._state<1&&(this._startStyles&&Co(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&(Co(this._element,this._initialStyles),this._endStyles&&(Co(this._element,this._endStyles),this._endStyles=null),this._state=1)}},{key:"destroy",value:function(){this.finish(),this._state<3&&(i.initialStylesByElement.delete(this._element),this._startStyles&&(ll(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(ll(this._element,this._endStyles),this._endStyles=null),Co(this._element,this._initialStyles),this._state=3)}}]),i}();return n.initialStylesByElement=new WeakMap,n}();function _y(n){for(var i=null,e=Object.keys(n),t=0;t5&&void 0!==arguments[5]?arguments[5]:[],u=0==o?"both":"forwards",f={duration:a,delay:o,fill:u};s&&(f.easing=s);var m={},C=l.filter(function(V){return V instanceof XS});N5(a,o)&&C.forEach(function(V){var J=V.currentSnapshot;Object.keys(J).forEach(function(me){return m[me]=J[me]})});var I=PY(e,t=Y5(e,t=t.map(function(V){return Ps(V,!1)}),m));return new XS(e,t,f,I)}}]),n}(),IY=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o){var s;return c(this,t),(s=e.call(this))._nextAnimationId=0,s._renderer=a.createRenderer(o.body,{id:"0",encapsulation:na.None,styles:[],data:{animation:[]}}),s}return d(t,[{key:"build",value:function(o){var s=this._nextAnimationId.toString();this._nextAnimationId++;var l=Array.isArray(o)?mS(o):o;return eD(this._renderer,null,s,"register",[l]),new FY(s,this._renderer)}}]),t}(vS);return n.\u0275fac=function(e){return new(e||n)(Ee(Ld),Ee(Ot))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),FY=function(n){h(e,n);var i=y(e);function e(t,a){var o;return c(this,e),(o=i.call(this))._id=t,o._renderer=a,o}return d(e,[{key:"create",value:function(a,o){return new RY(this._id,a,o||{},this._renderer)}}]),e}(W4),RY=function(){function n(i,e,t,a){c(this,n),this.id=i,this.element=e,this._renderer=a,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",t)}return d(n,[{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,a=new Array(t>1?t-1:0),o=1;o=0&&t3&&void 0!==arguments[3])||arguments[3];this.delegate.insertBefore(e,t,a),this.engine.onInsert(this.namespaceId,t,e,o)}},{key:"removeChild",value:function(e,t,a){this.engine.onRemove(this.namespaceId,t,this.delegate,a)}},{key:"selectRootElement",value:function(e,t){return this.delegate.selectRootElement(e,t)}},{key:"parentNode",value:function(e){return this.delegate.parentNode(e)}},{key:"nextSibling",value:function(e){return this.delegate.nextSibling(e)}},{key:"setAttribute",value:function(e,t,a,o){this.delegate.setAttribute(e,t,a,o)}},{key:"removeAttribute",value:function(e,t,a){this.delegate.removeAttribute(e,t,a)}},{key:"addClass",value:function(e,t){this.delegate.addClass(e,t)}},{key:"removeClass",value:function(e,t){this.delegate.removeClass(e,t)}},{key:"setStyle",value:function(e,t,a,o){this.delegate.setStyle(e,t,a,o)}},{key:"removeStyle",value:function(e,t,a){this.delegate.removeStyle(e,t,a)}},{key:"setProperty",value:function(e,t,a){"@"==t.charAt(0)&&t==tD?this.disableAnimations(e,!!a):this.delegate.setProperty(e,t,a)}},{key:"setValue",value:function(e,t){this.delegate.setValue(e,t)}},{key:"listen",value:function(e,t,a){return this.delegate.listen(e,t,a)}},{key:"disableAnimations",value:function(e,t){this.engine.disableAnimations(e,t)}}]),n}(),YY=function(n){h(e,n);var i=y(e);function e(t,a,o,s){var l;return c(this,e),(l=i.call(this,a,o,s)).factory=t,l.namespaceId=a,l}return d(e,[{key:"setProperty",value:function(a,o,s){"@"==o.charAt(0)?"."==o.charAt(1)&&o==tD?this.disableAnimations(a,s=void 0===s||!!s):this.engine.process(this.namespaceId,a,o.substr(1),s):this.delegate.setProperty(a,o,s)}},{key:"listen",value:function(a,o,s){var l=this;if("@"==o.charAt(0)){var u=function HY(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(a),f=o.substr(1),m="";if("@"!=f.charAt(0)){var C=function BY(n){var i=n.indexOf(".");return[n.substring(0,i),n.substr(i+1)]}(f),I=ne(C,2);f=I[0],m=I[1]}return this.engine.listen(this.namespaceId,u,f,m,function(V){l.factory.scheduleListenerCallback(V._data||-1,s,V)})}return this.delegate.listen(a,o,s)}}]),e}(nD),VY=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s){return c(this,t),e.call(this,a.body,o,s)}return d(t,[{key:"ngOnDestroy",value:function(){this.flush()}}]),t}(Mp);return n.\u0275fac=function(e){return new(e||n)(Ee(Ot),Ee(ry),Ee(fy))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),ai=new Ze("AnimationModuleType"),rD=[{provide:vS,useClass:IY},{provide:fy,useFactory:function jY(){return new oY}},{provide:Mp,useClass:VY},{provide:Ld,useFactory:function UY(n,i,e){return new NY(n,i,e)},deps:[sp,Mp,bt]}],iD=[{provide:ry,useFactory:function(){return new AY}},{provide:ai,useValue:"BrowserAnimations"}].concat(rD),zY=[{provide:ry,useClass:LS},{provide:ai,useValue:"NoopAnimations"}].concat(rD),WY=function(){var n=function(){function i(){c(this,i)}return d(i,null,[{key:"withConfig",value:function(t){return{ngModule:i,providers:t.disableAnimations?zY:iD}}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({providers:iD,imports:[dS]}),n}();function Je(){for(var n=arguments.length,i=new Array(n),e=0;e0){var o=t.slice(0,a),s=o.toLowerCase(),l=t.slice(a+1).trim();e.maybeSetNormalizedName(o,s),e.headers.has(s)?e.headers.get(s).push(l):e.headers.set(s,[l])}})}:function(){e.headers=new Map,Object.keys(i).forEach(function(t){var a=i[t],o=t.toLowerCase();"string"==typeof a&&(a=[a]),a.length>0&&(e.headers.set(o,a),e.maybeSetNormalizedName(t,o))})}:this.headers=new Map}return d(n,[{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 e=this;this.lazyInit&&(this.lazyInit instanceof n?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(t){return e.applyUpdate(t)}),this.lazyUpdate=null))}},{key:"copyFrom",value:function(e){var t=this;e.init(),Array.from(e.headers.keys()).forEach(function(a){t.headers.set(a,e.headers.get(a)),t.normalizedNames.set(a,e.normalizedNames.get(a))})}},{key:"clone",value:function(e){var t=new n;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof n?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}},{key:"applyUpdate",value:function(e){var t=e.name.toLowerCase();switch(e.op){case"a":case"s":var a=e.value;if("string"==typeof a&&(a=[a]),0===a.length)return;this.maybeSetNormalizedName(e.name,t);var o=("a"===e.op?this.headers.get(t):void 0)||[];o.push.apply(o,ae(a)),this.headers.set(t,o);break;case"d":var s=e.value;if(s){var l=this.headers.get(t);if(!l)return;0===(l=l.filter(function(u){return-1===s.indexOf(u)})).length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,l)}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(a){return e(t.normalizedNames.get(a),t.headers.get(a))})}}]),n}(),KY=function(){function n(){c(this,n)}return d(n,[{key:"encodeKey",value:function(e){return sD(e)}},{key:"encodeValue",value:function(e){return sD(e)}},{key:"decodeKey",value:function(e){return decodeURIComponent(e)}},{key:"decodeValue",value:function(e){return decodeURIComponent(e)}}]),n}();function $Y(n,i){var e=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(function(a){var o=a.indexOf("="),l=ne(-1==o?[i.decodeKey(a),""]:[i.decodeKey(a.slice(0,o)),i.decodeValue(a.slice(o+1))],2),u=l[0],f=l[1],m=e.get(u)||[];m.push(f),e.set(u,m)}),e}var ZY=/%(\d[a-f0-9])/gi,QY={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function sD(n){return encodeURIComponent(n).replace(ZY,function(i,e){var t;return null!==(t=QY[e])&&void 0!==t?t:i})}function lD(n){return"".concat(n)}var Zu=function(){function n(){var i=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(c(this,n),this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new KY,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=$Y(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(function(t){var a=e.fromObject[t];i.map.set(t,Array.isArray(a)?a:[a])})):this.map=null}return d(n,[{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:"appendAll",value:function(e){var t=[];return Object.keys(e).forEach(function(a){var o=e[a];Array.isArray(o)?o.forEach(function(s){t.push({param:a,value:s,op:"a"})}):t.push({param:a,value:o,op:"a"})}),this.clone(t)}},{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 a=e.encoder.encodeKey(t);return e.map.get(t).map(function(o){return a+"="+e.encoder.encodeValue(o)}).join("&")}).filter(function(t){return""!==t}).join("&")}},{key:"clone",value:function(e){var t=new n({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(e),t}},{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 a=("a"===t.op?e.map.get(t.param):void 0)||[];a.push(lD(t.value)),e.map.set(t.param,a);break;case"d":if(void 0===t.value){e.map.delete(t.param);break}var o=e.map.get(t.param)||[],s=o.indexOf(lD(t.value));-1!==s&&o.splice(s,1),o.length>0?e.map.set(t.param,o):e.map.delete(t.param)}}),this.cloneFrom=this.updates=null)}}]),n}(),JY=function(){function n(){c(this,n),this.map=new Map}return d(n,[{key:"set",value:function(e,t){return this.map.set(e,t),this}},{key:"get",value:function(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}},{key:"delete",value:function(e){return this.map.delete(e),this}},{key:"has",value:function(e){return this.map.has(e)}},{key:"keys",value:function(){return this.map.keys()}}]),n}();function uD(n){return"undefined"!=typeof ArrayBuffer&&n instanceof ArrayBuffer}function cD(n){return"undefined"!=typeof Blob&&n instanceof Blob}function dD(n){return"undefined"!=typeof FormData&&n instanceof FormData}var yy=function(){function n(i,e,t,a){var o;if(c(this,n),this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=i.toUpperCase(),function XY(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||a?(this.body=void 0!==t?t:null,o=a):o=t,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new $u),this.context||(this.context=new JY),this.params){var s=this.params.toString();if(0===s.length)this.urlWithParams=e;else{var l=e.indexOf("?");this.urlWithParams=e+(-1===l?"?":l0&&void 0!==arguments[0]?arguments[0]:{},a=e.method||this.method,o=e.url||this.url,s=e.responseType||this.responseType,l=void 0!==e.body?e.body:this.body,u=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,f=void 0!==e.reportProgress?e.reportProgress:this.reportProgress,m=e.headers||this.headers,C=e.params||this.params,I=null!==(t=e.context)&&void 0!==t?t:this.context;return void 0!==e.setHeaders&&(m=Object.keys(e.setHeaders).reduce(function(V,J){return V.set(J,e.setHeaders[J])},m)),e.setParams&&(C=Object.keys(e.setParams).reduce(function(V,J){return V.set(J,e.setParams[J])},C)),new n(a,o,l,{params:C,headers:m,context:I,reportProgress:f,responseType:s,withCredentials:u})}}]),n}(),Ir=function(){return(Ir=Ir||{})[Ir.Sent=0]="Sent",Ir[Ir.UploadProgress=1]="UploadProgress",Ir[Ir.ResponseHeader=2]="ResponseHeader",Ir[Ir.DownloadProgress=3]="DownloadProgress",Ir[Ir.Response=4]="Response",Ir[Ir.User=5]="User",Ir}(),by=d(function n(i){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"OK";c(this,n),this.headers=i.headers||new $u,this.status=void 0!==i.status?i.status:e,this.statusText=i.statusText||t,this.url=i.url||null,this.ok=this.status>=200&&this.status<300}),tH=function(n){h(e,n);var i=y(e);function e(){var t,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return c(this,e),(t=i.call(this,a)).type=Ir.ResponseHeader,t}return d(e,[{key:"clone",value:function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new e({headers:a.headers||this.headers,status:void 0!==a.status?a.status:this.status,statusText:a.statusText||this.statusText,url:a.url||this.url||void 0})}}]),e}(by),fD=function(n){h(e,n);var i=y(e);function e(){var t,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return c(this,e),(t=i.call(this,a)).type=Ir.Response,t.body=void 0!==a.body?a.body:null,t}return d(e,[{key:"clone",value:function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new e({body:void 0!==a.body?a.body:this.body,headers:a.headers||this.headers,status:void 0!==a.status?a.status:this.status,statusText:a.statusText||this.statusText,url:a.url||this.url||void 0})}}]),e}(by),hD=function(n){h(e,n);var i=y(e);function e(t){var a;return c(this,e),(a=i.call(this,t,0,"Unknown Error")).name="HttpErrorResponse",a.ok=!1,a.message=a.status>=200&&a.status<300?"Http failure during parsing for ".concat(t.url||"(unknown url)"):"Http failure response for ".concat(t.url||"(unknown url)",": ").concat(t.status," ").concat(t.statusText),a.error=t.error||null,a}return d(e)}(by);function ky(n,i){return{body:i,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials}}var cl=function(){var n=function(){function i(e){c(this,i),this.handler=e}return d(i,[{key:"request",value:function(t,a){var l,o=this,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t instanceof yy)l=t;else{var u=void 0;u=s.headers instanceof $u?s.headers:new $u(s.headers);var f=void 0;s.params&&(f=s.params instanceof Zu?s.params:new Zu({fromObject:s.params})),l=new yy(t,a,void 0!==s.body?s.body:null,{headers:u,context:s.context,params:f,reportProgress:s.reportProgress,responseType:s.responseType||"json",withCredentials:s.withCredentials})}var m=Je(l).pipe(Ku(function(I){return o.handler.handle(I)}));if(t instanceof yy||"events"===s.observe)return m;var C=m.pipe(Ar(function(I){return I instanceof fD}));switch(s.observe||"body"){case"body":switch(l.responseType){case"arraybuffer":return C.pipe($e(function(I){if(null!==I.body&&!(I.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return I.body}));case"blob":return C.pipe($e(function(I){if(null!==I.body&&!(I.body instanceof Blob))throw new Error("Response is not a Blob.");return I.body}));case"text":return C.pipe($e(function(I){if(null!==I.body&&"string"!=typeof I.body)throw new Error("Response is not a string.");return I.body}));default:return C.pipe($e(function(I){return I.body}))}case"response":return C;default:throw new Error("Unreachable: unhandled observe type ".concat(s.observe,"}"))}}},{key:"delete",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("DELETE",t,a)}},{key:"get",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("GET",t,a)}},{key:"head",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("HEAD",t,a)}},{key:"jsonp",value:function(t,a){return this.request("JSONP",t,{params:(new Zu).append(a,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}},{key:"options",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("OPTIONS",t,a)}},{key:"patch",value:function(t,a){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PATCH",t,ky(o,a))}},{key:"post",value:function(t,a){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",t,ky(o,a))}},{key:"put",value:function(t,a){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",t,ky(o,a))}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(aD))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),pD=function(){function n(i,e){c(this,n),this.next=i,this.interceptor=e}return d(n,[{key:"handle",value:function(e){return this.interceptor.intercept(e,this.next)}}]),n}(),vD=new Ze("HTTP_INTERCEPTORS"),nH=function(){var n=function(){function i(){c(this,i)}return d(i,[{key:"intercept",value:function(t,a){return a.handle(t)}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),rH=/^\)\]\}',?\n/,mD=function(){var n=function(){function i(e){c(this,i),this.xhrFactory=e}return d(i,[{key:"handle",value:function(t){var a=this;if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new fe(function(o){var s=a.xhrFactory.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach(function(Le,pe){return s.setRequestHeader(Le,pe.join(","))}),t.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){var l=t.detectContentTypeHeader();null!==l&&s.setRequestHeader("Content-Type",l)}if(t.responseType){var u=t.responseType.toLowerCase();s.responseType="json"!==u?u:"text"}var f=t.serializeBody(),m=null,C=function(){if(null!==m)return m;var pe=s.statusText||"OK",Re=new $u(s.getAllResponseHeaders()),Ye=function iH(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}(s)||t.url;return m=new tH({headers:Re,status:s.status,statusText:pe,url:Ye})},I=function(){var pe=C(),Re=pe.headers,Ye=pe.status,Ge=pe.statusText,rt=pe.url,mt=null;204!==Ye&&(mt=void 0===s.response?s.responseText:s.response),0===Ye&&(Ye=mt?200:0);var on=Ye>=200&&Ye<300;if("json"===t.responseType&&"string"==typeof mt){var cr=mt;mt=mt.replace(rH,"");try{mt=""!==mt?JSON.parse(mt):null}catch(rr){mt=cr,on&&(on=!1,mt={error:rr,text:mt})}}on?(o.next(new fD({body:mt,headers:Re,status:Ye,statusText:Ge,url:rt||void 0})),o.complete()):o.error(new hD({error:mt,headers:Re,status:Ye,statusText:Ge,url:rt||void 0}))},V=function(pe){var Re=C(),Ge=new hD({error:pe,status:s.status||0,statusText:s.statusText||"Unknown Error",url:Re.url||void 0});o.error(Ge)},J=!1,me=function(pe){J||(o.next(C()),J=!0);var Re={type:Ir.DownloadProgress,loaded:pe.loaded};pe.lengthComputable&&(Re.total=pe.total),"text"===t.responseType&&!!s.responseText&&(Re.partialText=s.responseText),o.next(Re)},Ce=function(pe){var Re={type:Ir.UploadProgress,loaded:pe.loaded};pe.lengthComputable&&(Re.total=pe.total),o.next(Re)};return s.addEventListener("load",I),s.addEventListener("error",V),s.addEventListener("timeout",V),s.addEventListener("abort",V),t.reportProgress&&(s.addEventListener("progress",me),null!==f&&s.upload&&s.upload.addEventListener("progress",Ce)),s.send(f),o.next({type:Ir.Sent}),function(){s.removeEventListener("error",V),s.removeEventListener("abort",V),s.removeEventListener("load",I),s.removeEventListener("timeout",V),t.reportProgress&&(s.removeEventListener("progress",me),null!==f&&s.upload&&s.upload.removeEventListener("progress",Ce)),s.readyState!==s.DONE&&s.abort()}})}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(z_))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),My=new Ze("XSRF_COOKIE_NAME"),Cy=new Ze("XSRF_HEADER_NAME"),gD=d(function n(){c(this,n)}),aH=function(){var n=function(){function i(e,t,a){c(this,i),this.doc=e,this.platform=t,this.cookieName=a,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return d(i,[{key:"getToken",value:function(){if("server"===this.platform)return null;var t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=zw(t,this.cookieName),this.lastCookieString=t),this.lastToken}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(Ot),Ee(Fd),Ee(My))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),wy=function(){var n=function(){function i(e,t){c(this,i),this.tokenService=e,this.headerName=t}return d(i,[{key:"intercept",value:function(t,a){var o=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||o.startsWith("http://")||o.startsWith("https://"))return a.handle(t);var s=this.tokenService.getToken();return null!==s&&!t.headers.has(this.headerName)&&(t=t.clone({headers:t.headers.set(this.headerName,s)})),a.handle(t)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(gD),Ee(Cy))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),oH=function(){var n=function(){function i(e,t){c(this,i),this.backend=e,this.injector=t,this.chain=null}return d(i,[{key:"handle",value:function(t){if(null===this.chain){var a=this.injector.get(vD,[]);this.chain=a.reduceRight(function(o,s){return new pD(o,s)},this.backend)}return this.chain.handle(t)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(oD),Ee(zn))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),sH=function(){var n=function(){function i(){c(this,i)}return d(i,null,[{key:"disable",value:function(){return{ngModule:i,providers:[{provide:wy,useClass:nH}]}}},{key:"withOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:i,providers:[t.cookieName?{provide:My,useValue:t.cookieName}:[],t.headerName?{provide:Cy,useValue:t.headerName}:[]]}}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({providers:[wy,{provide:vD,useExisting:wy,multi:!0},{provide:gD,useClass:aH},{provide:My,useValue:"XSRF-TOKEN"},{provide:Cy,useValue:"X-XSRF-TOKEN"}]}),n}(),lH=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({providers:[cl,{provide:aD,useClass:oH},mD,{provide:oD,useExisting:mD}],imports:[[sH.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),n}(),jr=function(n){h(e,n);var i=y(e);function e(t){var a;return c(this,e),(a=i.call(this))._value=t,a}return d(e,[{key:"value",get:function(){return this.getValue()}},{key:"_subscribe",value:function(a){var o=T(O(e.prototype),"_subscribe",this).call(this,a);return o&&!o.closed&&a.next(this._value),o}},{key:"getValue",value:function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new we;return this._value}},{key:"next",value:function(a){T(O(e.prototype),"next",this).call(this,this._value=a)}}]),e}(Ie),_D={};function yD(){for(var n=arguments.length,i=new Array(n),e=0;e=2&&(e=!0),function(a){return a.lift(new bH(n,i,e))}}var bH=function(){function n(i,e){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];c(this,n),this.accumulator=i,this.seed=e,this.hasSeed=t}return d(n,[{key:"call",value:function(e,t){return t.subscribe(new kH(e,this.accumulator,this.seed,this.hasSeed))}}]),n}(),kH=function(n){h(e,n);var i=y(e);function e(t,a,o,s){var l;return c(this,e),(l=i.call(this,t)).accumulator=a,l._seed=o,l.hasSeed=s,l.index=0,l}return d(e,[{key:"seed",get:function(){return this._seed},set:function(a){this.hasSeed=!0,this._seed=a}},{key:"_next",value:function(a){if(this.hasSeed)return this._tryNext(a);this.seed=a,this.destination.next(a)}},{key:"_tryNext",value:function(a){var s,o=this.index++;try{s=this.accumulator(this.seed,a,o)}catch(l){this.destination.error(l)}this.seed=s,this.destination.next(s)}}]),e}(St);function Ki(n){return function(e){var t=new MH(n),a=e.lift(t);return t.caught=a}}var MH=function(){function n(i){c(this,n),this.selector=i}return d(n,[{key:"call",value:function(e,t){return t.subscribe(new CH(e,this.selector,this.caught))}}]),n}(),CH=function(n){h(e,n);var i=y(e);function e(t,a,o){var s;return c(this,e),(s=i.call(this,t)).selector=a,s.caught=o,s}return d(e,[{key:"error",value:function(a){if(!this.isStopped){var o;try{o=this.selector(a,this.caught)}catch(l){return void T(O(e.prototype),"error",this).call(this,l)}this._unsubscribeAndRecycle();var s=new nt(this,void 0,void 0);this.add(s),Fn(this,o,void 0,void 0,s)}}}]),e}(gn);function Wd(n){return function(e){return 0===n?Sp():e.lift(new wH(n))}}var wH=function(){function n(i){if(c(this,n),this.total=i,this.total<0)throw new bD}return d(n,[{key:"call",value:function(e,t){return t.subscribe(new SH(e,this.total))}}]),n}(),SH=function(n){h(e,n);var i=y(e);function e(t,a){var o;return c(this,e),(o=i.call(this,t)).total=a,o.ring=new Array,o.count=0,o}return d(e,[{key:"_next",value:function(a){var o=this.ring,s=this.total,l=this.count++;o.length0)for(var s=this.count>=this.total?this.total:this.count,l=this.ring,u=0;u0&&void 0!==arguments[0]?arguments[0]:LH;return function(i){return i.lift(new DH(n))}}var DH=function(){function n(i){c(this,n),this.errorFactory=i}return d(n,[{key:"call",value:function(e,t){return t.subscribe(new TH(e,this.errorFactory))}}]),n}(),TH=function(n){h(e,n);var i=y(e);function e(t,a){var o;return c(this,e),(o=i.call(this,t)).errorFactory=a,o.hasValue=!1,o}return d(e,[{key:"_next",value:function(a){this.hasValue=!0,this.destination.next(a)}},{key:"_complete",value:function(){if(this.hasValue)return this.destination.complete();var a;try{a=this.errorFactory()}catch(o){a=o}this.destination.error(a)}}]),e}(St);function LH(){return new wp}function Sy(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(i){return i.lift(new EH(n))}}var EH=function(){function n(i){c(this,n),this.defaultValue=i}return d(n,[{key:"call",value:function(e,t){return t.subscribe(new PH(e,this.defaultValue))}}]),n}(),PH=function(n){h(e,n);var i=y(e);function e(t,a){var o;return c(this,e),(o=i.call(this,t)).defaultValue=a,o.isEmpty=!0,o}return d(e,[{key:"_next",value:function(a){this.isEmpty=!1,this.destination.next(a)}},{key:"_complete",value:function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}]),e}(St);function Qu(n,i){var e=arguments.length>=2;return function(t){return t.pipe(n?Ar(function(a,o){return n(a,o,t)}):js,nr(1),e?Sy(i):kD(function(){return new wp}))}}function Fr(n,i,e){return function(a){return a.lift(new OH(n,i,e))}}var OH=function(){function n(i,e,t){c(this,n),this.nextOrObserver=i,this.error=e,this.complete=t}return d(n,[{key:"call",value:function(e,t){return t.subscribe(new AH(e,this.nextOrObserver,this.error,this.complete))}}]),n}(),AH=function(n){h(e,n);var i=y(e);function e(t,a,o,s){var l;return c(this,e),(l=i.call(this,t))._tapNext=se,l._tapError=se,l._tapComplete=se,l._tapError=o||se,l._tapComplete=s||se,He(a)?(l._context=x(l),l._tapNext=a):a&&(l._context=a,l._tapNext=a.next||se,l._tapError=a.error||se,l._tapComplete=a.complete||se),l}return d(e,[{key:"_next",value:function(a){try{this._tapNext.call(this._context,a)}catch(o){return void this.destination.error(o)}this.destination.next(a)}},{key:"_error",value:function(a){try{this._tapError.call(this._context,a)}catch(o){return void this.destination.error(o)}this.destination.error(a)}},{key:"_complete",value:function(){try{this._tapComplete.call(this._context)}catch(a){return void this.destination.error(a)}return this.destination.complete()}}]),e}(St);function MD(n){return function(i){return i.lift(new IH(n))}}var IH=function(){function n(i){c(this,n),this.callback=i}return d(n,[{key:"call",value:function(e,t){return t.subscribe(new FH(e,this.callback))}}]),n}(),FH=function(n){h(e,n);var i=y(e);function e(t,a){var o;return c(this,e),(o=i.call(this,t)).add(new Ne(a)),o}return d(e)}(St),qo=d(function n(i,e){c(this,n),this.id=i,this.url=e}),Dy=function(n){h(e,n);var i=y(e);function e(t,a){var o,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"imperative",l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return c(this,e),(o=i.call(this,t,a)).navigationTrigger=s,o.restoredState=l,o}return d(e,[{key:"toString",value:function(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),e}(qo),Ju=function(n){h(e,n);var i=y(e);function e(t,a,o){var s;return c(this,e),(s=i.call(this,t,a)).urlAfterRedirects=o,s}return d(e,[{key:"toString",value:function(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}]),e}(qo),CD=function(n){h(e,n);var i=y(e);function e(t,a,o){var s;return c(this,e),(s=i.call(this,t,a)).reason=o,s}return d(e,[{key:"toString",value:function(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),e}(qo),RH=function(n){h(e,n);var i=y(e);function e(t,a,o){var s;return c(this,e),(s=i.call(this,t,a)).error=o,s}return d(e,[{key:"toString",value:function(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}]),e}(qo),NH=function(n){h(e,n);var i=y(e);function e(t,a,o,s){var l;return c(this,e),(l=i.call(this,t,a)).urlAfterRedirects=o,l.state=s,l}return d(e,[{key:"toString",value:function(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),e}(qo),YH=function(n){h(e,n);var i=y(e);function e(t,a,o,s){var l;return c(this,e),(l=i.call(this,t,a)).urlAfterRedirects=o,l.state=s,l}return d(e,[{key:"toString",value:function(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),e}(qo),HH=function(n){h(e,n);var i=y(e);function e(t,a,o,s,l){var u;return c(this,e),(u=i.call(this,t,a)).urlAfterRedirects=o,u.state=s,u.shouldActivate=l,u}return d(e,[{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,")")}}]),e}(qo),BH=function(n){h(e,n);var i=y(e);function e(t,a,o,s){var l;return c(this,e),(l=i.call(this,t,a)).urlAfterRedirects=o,l.state=s,l}return d(e,[{key:"toString",value:function(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),e}(qo),VH=function(n){h(e,n);var i=y(e);function e(t,a,o,s){var l;return c(this,e),(l=i.call(this,t,a)).urlAfterRedirects=o,l.state=s,l}return d(e,[{key:"toString",value:function(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),e}(qo),wD=function(){function n(i){c(this,n),this.route=i}return d(n,[{key:"toString",value:function(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}]),n}(),SD=function(){function n(i){c(this,n),this.route=i}return d(n,[{key:"toString",value:function(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}]),n}(),jH=function(){function n(i){c(this,n),this.snapshot=i}return d(n,[{key:"toString",value:function(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),n}(),UH=function(){function n(i){c(this,n),this.snapshot=i}return d(n,[{key:"toString",value:function(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),n}(),zH=function(){function n(i){c(this,n),this.snapshot=i}return d(n,[{key:"toString",value:function(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),n}(),WH=function(){function n(i){c(this,n),this.snapshot=i}return d(n,[{key:"toString",value:function(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),n}(),DD=function(){function n(i,e,t){c(this,n),this.routerEvent=i,this.position=e,this.anchor=t}return d(n,[{key:"toString",value:function(){var e=this.position?"".concat(this.position[0],", ").concat(this.position[1]):null;return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(e,"')")}}]),n}(),qt="primary",GH=function(){function n(i){c(this,n),this.params=i||{}}return d(n,[{key:"has",value:function(e){return Object.prototype.hasOwnProperty.call(this.params,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)}}]),n}();function Xu(n){return new GH(n)}var TD="ngNavigationCancelingError";function Ty(n){var i=Error("NavigationCancelingError: "+n);return i[TD]=!0,i}function KH(n,i,e){var t=e.path.split("/");if(t.length>n.length||"full"===e.pathMatch&&(i.hasChildren()||t.length0?n[n.length-1]:null}function oi(n,i){for(var e in n)n.hasOwnProperty(e)&&i(n[e],e)}function So(n){return qg(n)?n:Md(n)?it(Promise.resolve(n)):Je(n)}var QH={exact:function AD(n,i,e){if(!pl(n.segments,i.segments)||!Lp(n.segments,i.segments,e)||n.numberOfChildren!==i.numberOfChildren)return!1;for(var t in i.children)if(!n.children[t]||!AD(n.children[t],i.children[t],e))return!1;return!0},subset:ID},xD={exact:function JH(n,i){return wo(n,i)},subset:function XH(n,i){return Object.keys(i).length<=Object.keys(n).length&&Object.keys(i).every(function(e){return LD(n[e],i[e])})},ignored:function(){return!0}};function OD(n,i,e){return QH[e.paths](n.root,i.root,e.matrixParams)&&xD[e.queryParams](n.queryParams,i.queryParams)&&!("exact"===e.fragment&&n.fragment!==i.fragment)}function ID(n,i,e){return FD(n,i,i.segments,e)}function FD(n,i,e,t){if(n.segments.length>e.length){var a=n.segments.slice(0,e.length);return!(!pl(a,e)||i.hasChildren()||!Lp(a,e,t))}if(n.segments.length===e.length){if(!pl(n.segments,e)||!Lp(n.segments,e,t))return!1;for(var o in i.children)if(!n.children[o]||!ID(n.children[o],i.children[o],t))return!1;return!0}var s=e.slice(0,n.segments.length),l=e.slice(n.segments.length);return!!(pl(n.segments,s)&&Lp(n.segments,s,t)&&n.children[qt])&&FD(n.children[qt],i,l,t)}function Lp(n,i,e){return i.every(function(t,a){return xD[e](n[a].parameters,t.parameters)})}var hl=function(){function n(i,e,t){c(this,n),this.root=i,this.queryParams=e,this.fragment=t}return d(n,[{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=Xu(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return nB.serialize(this)}}]),n}(),nn=function(){function n(i,e){var t=this;c(this,n),this.segments=i,this.children=e,this.parent=null,oi(e,function(a,o){return a.parent=t})}return d(n,[{key:"hasChildren",value:function(){return this.numberOfChildren>0}},{key:"numberOfChildren",get:function(){return Object.keys(this.children).length}},{key:"toString",value:function(){return Ep(this)}}]),n}(),Gd=function(){function n(i,e){c(this,n),this.path=i,this.parameters=e}return d(n,[{key:"parameterMap",get:function(){return this._parameterMap||(this._parameterMap=Xu(this.parameters)),this._parameterMap}},{key:"toString",value:function(){return BD(this)}}]),n}();function pl(n,i){return n.length===i.length&&n.every(function(e,t){return e.path===i[t].path})}var RD=d(function n(){c(this,n)}),ND=function(){function n(){c(this,n)}return d(n,[{key:"parse",value:function(e){var t=new dB(e);return new hl(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}},{key:"serialize",value:function(e){var t="/".concat(qd(e.root,!0)),a=function aB(n){var i=Object.keys(n).map(function(e){var t=n[e];return Array.isArray(t)?t.map(function(a){return"".concat(Pp(e),"=").concat(Pp(a))}).join("&"):"".concat(Pp(e),"=").concat(Pp(t))}).filter(function(e){return!!e});return i.length?"?".concat(i.join("&")):""}(e.queryParams),o="string"==typeof e.fragment?"#".concat(function rB(n){return encodeURI(n)}(e.fragment)):"";return"".concat(t).concat(a).concat(o)}}]),n}(),nB=new ND;function Ep(n){return n.segments.map(function(i){return BD(i)}).join("/")}function qd(n,i){if(!n.hasChildren())return Ep(n);if(i){var e=n.children[qt]?qd(n.children[qt],!1):"",t=[];return oi(n.children,function(o,s){s!==qt&&t.push("".concat(s,":").concat(qd(o,!1)))}),t.length>0?"".concat(e,"(").concat(t.join("//"),")"):e}var a=function tB(n,i){var e=[];return oi(n.children,function(t,a){a===qt&&(e=e.concat(i(t,a)))}),oi(n.children,function(t,a){a!==qt&&(e=e.concat(i(t,a)))}),e}(n,function(o,s){return s===qt?[qd(n.children[qt],!1)]:["".concat(s,":").concat(qd(o,!1))]});return 1===Object.keys(n.children).length&&null!=n.children[qt]?"".concat(Ep(n),"/").concat(a[0]):"".concat(Ep(n),"/(").concat(a.join("//"),")")}function YD(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Pp(n){return YD(n).replace(/%3B/gi,";")}function Ly(n){return YD(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function xp(n){return decodeURIComponent(n)}function HD(n){return xp(n.replace(/\+/g,"%20"))}function BD(n){return"".concat(Ly(n.path)).concat(function iB(n){return Object.keys(n).map(function(i){return";".concat(Ly(i),"=").concat(Ly(n[i]))}).join("")}(n.parameters))}var oB=/^[^\/()?;=#]+/;function Op(n){var i=n.match(oB);return i?i[0]:""}var sB=/^[^=?&#]+/,uB=/^[^&#]+/,dB=function(){function n(i){c(this,n),this.url=i,this.remaining=i}return d(n,[{key:"parseRootSegment",value:function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new nn([],{}):new nn([],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 a={};return this.peekStartsWith("(")&&(a=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(a[qt]=new nn(e,t)),a}},{key:"parseSegment",value:function(){var e=Op(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '".concat(this.remaining,"'."));return this.capture(e),new Gd(xp(e),this.parseMatrixParams())}},{key:"parseMatrixParams",value:function(){for(var e={};this.consumeOptional(";");)this.parseParam(e);return e}},{key:"parseParam",value:function(e){var t=Op(this.remaining);if(t){this.capture(t);var a="";if(this.consumeOptional("=")){var o=Op(this.remaining);o&&this.capture(a=o)}e[xp(t)]=xp(a)}}},{key:"parseQueryParam",value:function(e){var t=function lB(n){var i=n.match(sB);return i?i[0]:""}(this.remaining);if(t){this.capture(t);var a="";if(this.consumeOptional("=")){var o=function cB(n){var i=n.match(uB);return i?i[0]:""}(this.remaining);o&&this.capture(a=o)}var s=HD(t),l=HD(a);if(e.hasOwnProperty(s)){var u=e[s];Array.isArray(u)||(e[s]=u=[u]),u.push(l)}else e[s]=l}}},{key:"parseParens",value:function(e){var t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var a=Op(this.remaining),o=this.remaining[a.length];if("/"!==o&&")"!==o&&";"!==o)throw new Error("Cannot parse url '".concat(this.url,"'"));var s=void 0;a.indexOf(":")>-1?(s=a.substr(0,a.indexOf(":")),this.capture(s),this.capture(":")):e&&(s=qt);var l=this.parseChildren();t[s]=1===Object.keys(l).length?l[qt]:new nn([],l),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,'".'))}}]),n}(),VD=function(){function n(i){c(this,n),this._root=i}return d(n,[{key:"root",get:function(){return this._root.value}},{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=Ey(e,this._root);return t?t.children.map(function(a){return a.value}):[]}},{key:"firstChild",value:function(e){var t=Ey(e,this._root);return t&&t.children.length>0?t.children[0].value:null}},{key:"siblings",value:function(e){var t=Py(e,this._root);return t.length<2?[]:t[t.length-2].children.map(function(o){return o.value}).filter(function(o){return o!==e})}},{key:"pathFromRoot",value:function(e){return Py(e,this._root).map(function(t){return t.value})}}]),n}();function Ey(n,i){if(n===i.value)return i;var t,e=W(i.children);try{for(e.s();!(t=e.n()).done;){var o=Ey(n,t.value);if(o)return o}}catch(s){e.e(s)}finally{e.f()}return null}function Py(n,i){if(n===i.value)return[i];var t,e=W(i.children);try{for(e.s();!(t=e.n()).done;){var o=Py(n,t.value);if(o.length)return o.unshift(i),o}}catch(s){e.e(s)}finally{e.f()}return[]}var Ko=function(){function n(i,e){c(this,n),this.value=i,this.children=e}return d(n,[{key:"toString",value:function(){return"TreeNode(".concat(this.value,")")}}]),n}();function ec(n){var i={};return n&&n.children.forEach(function(e){return i[e.value.outlet]=e}),i}var jD=function(n){h(e,n);var i=y(e);function e(t,a){var o;return c(this,e),(o=i.call(this,t)).snapshot=a,xy(x(o),t),o}return d(e,[{key:"toString",value:function(){return this.snapshot.toString()}}]),e}(VD);function UD(n,i){var e=function fB(n,i){var s=new Ap([],{},{},"",{},qt,i,null,n.root,-1,{});return new WD("",new Ko(s,[]))}(n,i),t=new jr([new Gd("",{})]),a=new jr({}),o=new jr({}),s=new jr({}),l=new jr(""),u=new si(t,a,s,l,o,qt,i,e.root);return u.snapshot=e.root,new jD(new Ko(u,[]),e)}var si=function(){function n(i,e,t,a,o,s,l,u){c(this,n),this.url=i,this.params=e,this.queryParams=t,this.fragment=a,this.data=o,this.outlet=s,this.component=l,this._futureSnapshot=u}return d(n,[{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($e(function(e){return Xu(e)}))),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe($e(function(e){return Xu(e)}))),this._queryParamMap}},{key:"toString",value:function(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}}]),n}();function zD(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"emptyOnly",e=n.pathFromRoot,t=0;if("always"!==i)for(t=e.length-1;t>=1;){var a=e[t],o=e[t-1];if(a.routeConfig&&""===a.routeConfig.path)t--;else{if(o.component)break;t--}}return hB(e.slice(t))}function hB(n){return n.reduce(function(i,e){return{params:Object.assign(Object.assign({},i.params),e.params),data:Object.assign(Object.assign({},i.data),e.data),resolve:Object.assign(Object.assign({},i.resolve),e._resolvedData)}},{params:{},data:{},resolve:{}})}var Ap=function(){function n(i,e,t,a,o,s,l,u,f,m,C){c(this,n),this.url=i,this.params=e,this.queryParams=t,this.fragment=a,this.data=o,this.outlet=s,this.component=l,this.routeConfig=u,this._urlSegment=f,this._lastPathIndex=m,this._resolve=C}return d(n,[{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=Xu(this.params)),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=Xu(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){var e=this.url.map(function(a){return a.toString()}).join("/"),t=this.routeConfig?this.routeConfig.path:"";return"Route(url:'".concat(e,"', path:'").concat(t,"')")}}]),n}(),WD=function(n){h(e,n);var i=y(e);function e(t,a){var o;return c(this,e),(o=i.call(this,a)).url=t,xy(x(o),a),o}return d(e,[{key:"toString",value:function(){return GD(this._root)}}]),e}(VD);function xy(n,i){i.value._routerState=n,i.children.forEach(function(e){return xy(n,e)})}function GD(n){var i=n.children.length>0?" { ".concat(n.children.map(GD).join(", ")," } "):"";return"".concat(n.value).concat(i)}function Oy(n){if(n.snapshot){var i=n.snapshot,e=n._futureSnapshot;n.snapshot=e,wo(i.queryParams,e.queryParams)||n.queryParams.next(e.queryParams),i.fragment!==e.fragment&&n.fragment.next(e.fragment),wo(i.params,e.params)||n.params.next(e.params),function $H(n,i){if(n.length!==i.length)return!1;for(var e=0;ea;){if(o-=a,!(t=t.parent))throw new Error("Invalid number of '../'");a=t.segments.length}return new Fy(t,!1,a-o)}(e.snapshot._urlSegment,e.snapshot._lastPathIndex+o,n.numberOfDoubleDots)}(o,i,n),l=s.processChildren?Fp(s.segmentGroup,s.index,o.commands):$D(s.segmentGroup,s.index,o.commands);return Iy(s.segmentGroup,l,i,t,a)}function Ip(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function $d(n){return"object"==typeof n&&null!=n&&n.outlets}function Iy(n,i,e,t,a){var o={};return t&&oi(t,function(s,l){o[l]=Array.isArray(s)?s.map(function(u){return"".concat(u)}):"".concat(s)}),new hl(e.root===n?i:qD(e.root,n,i),o,a)}function qD(n,i,e){var t={};return oi(n.children,function(a,o){t[o]=a===i?e:qD(a,i,e)}),new nn(n.segments,t)}var KD=function(){function n(i,e,t){if(c(this,n),this.isAbsolute=i,this.numberOfDoubleDots=e,this.commands=t,i&&t.length>0&&Ip(t[0]))throw new Error("Root segment cannot have matrix parameters");var a=t.find($d);if(a&&a!==PD(t))throw new Error("{outlets:{}} has to be the last command")}return d(n,[{key:"toRoot",value:function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}]),n}(),Fy=d(function n(i,e,t){c(this,n),this.segmentGroup=i,this.processChildren=e,this.index=t});function $D(n,i,e){if(n||(n=new nn([],{})),0===n.segments.length&&n.hasChildren())return Fp(n,i,e);var t=function MB(n,i,e){for(var t=0,a=i,o={match:!1,pathIndex:0,commandIndex:0};a=e.length)return o;var s=n.segments[a],l=e[t];if($d(l))break;var u="".concat(l),f=t0&&void 0===u)break;if(u&&f&&"object"==typeof f&&void 0===f.outlets){if(!QD(u,f,s))return o;t+=2}else{if(!QD(u,{},s))return o;t++}a++}return{match:!0,pathIndex:a,commandIndex:t}}(n,i,e),a=e.slice(t.commandIndex);if(t.match&&t.pathIndex1&&void 0!==arguments[1]?arguments[1]:"",e=0;e0)?Object.assign({},tT):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};var o=(i.matcher||KH)(e,n,i);if(!o)return Object.assign({},tT);var s={};oi(o.posParams,function(u,f){s[f]=u.path});var l=o.consumed.length>0?Object.assign(Object.assign({},s),o.consumed[o.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:o.consumed,remainingSegments:e.slice(o.consumed.length),parameters:l,positionalParamSegments:null!==(t=o.posParams)&&void 0!==t?t:{}}}function Yp(n,i,e,t){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"corrected";if(e.length>0&&YB(n,e,t)){var o=new nn(i,NB(n,i,t,new nn(e,n.children)));return o._sourceSegment=n,o._segmentIndexShift=i.length,{segmentGroup:o,slicedSegments:[]}}if(0===e.length&&HB(n,e,t)){var s=new nn(n.segments,RB(n,i,e,t,n.children,a));return s._sourceSegment=n,s._segmentIndexShift=i.length,{segmentGroup:s,slicedSegments:e}}var l=new nn(n.segments,n.children);return l._sourceSegment=n,l._segmentIndexShift=i.length,{segmentGroup:l,slicedSegments:e}}function RB(n,i,e,t,a,o){var u,s={},l=W(t);try{for(l.s();!(u=l.n()).done;){var f=u.value;if(Hp(n,e,f)&&!a[xa(f)]){var m=new nn([],{});m._sourceSegment=n,m._segmentIndexShift="legacy"===o?n.segments.length:i.length,s[xa(f)]=m}}}catch(C){l.e(C)}finally{l.f()}return Object.assign(Object.assign({},a),s)}function NB(n,i,e,t){var a={};a[qt]=t,t._sourceSegment=n,t._segmentIndexShift=i.length;var s,o=W(e);try{for(o.s();!(s=o.n()).done;){var l=s.value;if(""===l.path&&xa(l)!==qt){var u=new nn([],{});u._sourceSegment=n,u._segmentIndexShift=i.length,a[xa(l)]=u}}}catch(f){o.e(f)}finally{o.f()}return a}function YB(n,i,e){return e.some(function(t){return Hp(n,i,t)&&xa(t)!==qt})}function HB(n,i,e){return e.some(function(t){return Hp(n,i,t)})}function Hp(n,i,e){return(!(n.hasChildren()||i.length>0)||"full"!==e.pathMatch)&&""===e.path}function nT(n,i,e,t){return!!(xa(n)===t||t!==qt&&Hp(i,e,n))&&("**"===n.path||Np(i,n,e).matched)}function rT(n,i,e){return 0===i.length&&!n.children[e]}var Xd=d(function n(i){c(this,n),this.segmentGroup=i||null}),iT=d(function n(i){c(this,n),this.urlTree=i});function Bp(n){return Ni(new Xd(n))}function aT(n){return Ni(new iT(n))}function BB(n){return Ni(new Error("Only absolute redirects can have named outlets. redirectTo: '".concat(n,"'")))}var UB=function(){function n(i,e,t,a,o){c(this,n),this.configLoader=e,this.urlSerializer=t,this.urlTree=a,this.config=o,this.allowRedirects=!0,this.ngModule=i.get(Vo)}return d(n,[{key:"apply",value:function(){var e=this,t=Yp(this.urlTree.root,[],[],this.config).segmentGroup,a=new nn(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,a,qt).pipe($e(function(l){return e.createUrlTree(Hy(l),e.urlTree.queryParams,e.urlTree.fragment)})).pipe(Ki(function(l){if(l instanceof iT)return e.allowRedirects=!1,e.match(l.urlTree);throw l instanceof Xd?e.noMatchError(l):l}))}},{key:"match",value:function(e){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,e.root,qt).pipe($e(function(s){return t.createUrlTree(Hy(s),e.queryParams,e.fragment)})).pipe(Ki(function(s){throw s instanceof Xd?t.noMatchError(s):s}))}},{key:"noMatchError",value:function(e){return new Error("Cannot match any routes. URL Segment: '".concat(e.segmentGroup,"'"))}},{key:"createUrlTree",value:function(e,t,a){var o=e.segments.length>0?new nn([],Z({},qt,e)):e;return new hl(o,t,a)}},{key:"expandSegmentGroup",value:function(e,t,a,o){return 0===a.segments.length&&a.hasChildren()?this.expandChildren(e,t,a).pipe($e(function(s){return new nn([],s)})):this.expandSegment(e,a,t,a.segments,o,!0)}},{key:"expandChildren",value:function(e,t,a){for(var o=this,s=[],l=0,u=Object.keys(a.children);l=2;return function(t){return t.pipe(n?Ar(function(a,o){return n(a,o,t)}):js,Wd(1),e?Sy(i):kD(function(){return new wp}))}}())}},{key:"expandSegment",value:function(e,t,a,o,s,l){var u=this;return it(a).pipe(Ku(function(f){return u.expandSegmentAgainstRoute(e,t,a,f,o,s,l).pipe(Ki(function(C){if(C instanceof Xd)return Je(null);throw C}))}),Qu(function(f){return!!f}),Ki(function(f,m){if(f instanceof wp||"EmptyError"===f.name){if(rT(t,o,s))return Je(new nn([],{}));throw new Xd(t)}throw f}))}},{key:"expandSegmentAgainstRoute",value:function(e,t,a,o,s,l,u){return nT(o,t,s,l)?void 0===o.redirectTo?this.matchSegmentAgainstRoute(e,t,o,s,l):u&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,a,o,s,l):Bp(t):Bp(t)}},{key:"expandSegmentAgainstRouteUsingRedirect",value:function(e,t,a,o,s,l){return"**"===o.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,a,o,l):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,a,o,s,l)}},{key:"expandWildCardWithParamsAgainstRouteUsingRedirect",value:function(e,t,a,o){var s=this,l=this.applyRedirectCommands([],a.redirectTo,{});return a.redirectTo.startsWith("/")?aT(l):this.lineralizeSegments(a,l).pipe(Dn(function(u){var f=new nn(u,{});return s.expandSegment(e,f,t,u,o,!1)}))}},{key:"expandRegularSegmentAgainstRouteUsingRedirect",value:function(e,t,a,o,s,l){var u=this,f=Np(t,o,s),C=f.consumedSegments,I=f.remainingSegments,V=f.positionalParamSegments;if(!f.matched)return Bp(t);var J=this.applyRedirectCommands(C,o.redirectTo,V);return o.redirectTo.startsWith("/")?aT(J):this.lineralizeSegments(o,J).pipe(Dn(function(me){return u.expandSegment(e,t,a,me.concat(I),l,!1)}))}},{key:"matchSegmentAgainstRoute",value:function(e,t,a,o,s){var l=this;if("**"===a.path)return a.loadChildren?(a._loadedConfig?Je(a._loadedConfig):this.configLoader.load(e.injector,a)).pipe($e(function(J){return a._loadedConfig=J,new nn(o,{})})):Je(new nn(o,{}));var f=Np(t,a,o),C=f.consumedSegments,I=f.remainingSegments;return f.matched?this.getChildConfig(e,a,o).pipe(Dn(function(J){var me=J.module,Ce=J.routes,Le=Yp(t,C,I,Ce),pe=Le.segmentGroup,Re=Le.slicedSegments,Ye=new nn(pe.segments,pe.children);if(0===Re.length&&Ye.hasChildren())return l.expandChildren(me,Ce,Ye).pipe($e(function(on){return new nn(C,on)}));if(0===Ce.length&&0===Re.length)return Je(new nn(C,{}));var rt=xa(a)===s;return l.expandSegment(me,Ye,Ce,Re,rt?qt:s,!0).pipe($e(function(on){return new nn(C.concat(on.segments),on.children)}))})):Bp(t)}},{key:"getChildConfig",value:function(e,t,a){var o=this;return t.children?Je(new Ny(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?Je(t._loadedConfig):this.runCanLoadGuards(e.injector,t,a).pipe(Dn(function(s){return s?o.configLoader.load(e.injector,t).pipe($e(function(l){return t._loadedConfig=l,l})):function VB(n){return Ni(Ty("Cannot load children because the guard of the route \"path: '".concat(n.path,"'\" returned false")))}(t)})):Je(new Ny([],e))}},{key:"runCanLoadGuards",value:function(e,t,a){var o=this,s=t.canLoad;if(!s||0===s.length)return Je(!0);var l=s.map(function(u){var m,f=e.get(u);if(function LB(n){return n&&xs(n.canLoad)}(f))m=f.canLoad(t,a);else{if(!xs(f))throw new Error("Invalid CanLoad guard");m=f(t,a)}return So(m)});return Je(l).pipe(Qd(),Fr(function(u){if(vl(u)){var f=Ty('Redirecting to "'.concat(o.urlSerializer.serialize(u),'"'));throw f.url=u,f}}),$e(function(u){return!0===u}))}},{key:"lineralizeSegments",value:function(e,t){for(var a=[],o=t.root;;){if(a=a.concat(o.segments),0===o.numberOfChildren)return Je(a);if(o.numberOfChildren>1||!o.children[qt])return BB(e.redirectTo);o=o.children[qt]}}},{key:"applyRedirectCommands",value:function(e,t,a){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,a)}},{key:"applyRedirectCreatreUrlTree",value:function(e,t,a,o){var s=this.createSegmentGroup(e,t.root,a,o);return new hl(s,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}},{key:"createQueryParams",value:function(e,t){var a={};return oi(e,function(o,s){if("string"==typeof o&&o.startsWith(":")){var u=o.substring(1);a[s]=t[u]}else a[s]=o}),a}},{key:"createSegmentGroup",value:function(e,t,a,o){var s=this,l=this.createSegments(e,t.segments,a,o),u={};return oi(t.children,function(f,m){u[m]=s.createSegmentGroup(e,f,a,o)}),new nn(l,u)}},{key:"createSegments",value:function(e,t,a,o){var s=this;return t.map(function(l){return l.path.startsWith(":")?s.findPosParam(e,l,o):s.findOrReturn(l,a)})}},{key:"findPosParam",value:function(e,t,a){var o=a[t.path.substring(1)];if(!o)throw new Error("Cannot redirect to '".concat(e,"'. Cannot find '").concat(t.path,"'."));return o}},{key:"findOrReturn",value:function(e,t){var s,a=0,o=W(t);try{for(o.s();!(s=o.n()).done;){var l=s.value;if(l.path===e.path)return t.splice(a),l;a++}}catch(u){o.e(u)}finally{o.f()}return e}}]),n}();function Hy(n){for(var i={},e=0,t=Object.keys(n.children);e0||s.hasChildren())&&(i[a]=s)}return function zB(n){if(1===n.numberOfChildren&&n.children[qt]){var i=n.children[qt];return new nn(n.segments.concat(i.segments),i.children)}return n}(new nn(n.segments,i))}var oT=d(function n(i){c(this,n),this.path=i,this.route=this.path[this.path.length-1]}),Vp=d(function n(i,e){c(this,n),this.component=i,this.route=e});function GB(n,i,e){var t=n._root;return ef(t,i?i._root:null,e,[t.value])}function jp(n,i,e){var t=function KB(n){if(!n)return null;for(var i=n.parent;i;i=i.parent){var e=i.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(i);return(t?t.module.injector:e).get(n)}function ef(n,i,e,t){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=ec(i);return n.children.forEach(function(s){$B(s,o[s.value.outlet],e,t.concat([s.value]),a),delete o[s.value.outlet]}),oi(o,function(s,l){return tf(s,e.getContext(l),a)}),a}function $B(n,i,e,t){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=n.value,s=i?i.value:null,l=e?e.getContext(n.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){var u=ZB(s,o,o.routeConfig.runGuardsAndResolvers);u?a.canActivateChecks.push(new oT(t)):(o.data=s.data,o._resolvedData=s._resolvedData),ef(n,i,o.component?l?l.children:null:e,t,a),u&&l&&l.outlet&&l.outlet.isActivated&&a.canDeactivateChecks.push(new Vp(l.outlet.component,s))}else s&&tf(i,l,a),a.canActivateChecks.push(new oT(t)),ef(n,null,o.component?l?l.children:null:e,t,a);return a}function ZB(n,i,e){if("function"==typeof e)return e(n,i);switch(e){case"pathParamsChange":return!pl(n.url,i.url);case"pathParamsOrQueryParamsChange":return!pl(n.url,i.url)||!wo(n.queryParams,i.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ay(n,i)||!wo(n.queryParams,i.queryParams);default:return!Ay(n,i)}}function tf(n,i,e){var t=ec(n),a=n.value;oi(t,function(o,s){tf(o,a.component?i?i.children.getContext(s):null:i,e)}),e.canDeactivateChecks.push(new Vp(a.component&&i&&i.outlet&&i.outlet.isActivated?i.outlet.component:null,a))}var aV=d(function n(){c(this,n)});function sT(n){return new fe(function(i){return i.error(n)})}var sV=function(){function n(i,e,t,a,o,s){c(this,n),this.rootComponentType=i,this.config=e,this.urlTree=t,this.url=a,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=s}return d(n,[{key:"recognize",value:function(){var e=Yp(this.urlTree.root,[],[],this.config.filter(function(l){return void 0===l.redirectTo}),this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,qt);if(null===t)return null;var a=new Ap([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},qt,this.rootComponentType,null,this.urlTree.root,-1,{}),o=new Ko(a,t),s=new WD(this.url,o);return this.inheritParamsAndData(s._root),s}},{key:"inheritParamsAndData",value:function(e){var t=this,a=e.value,o=zD(a,this.paramsInheritanceStrategy);a.params=Object.freeze(o.params),a.data=Object.freeze(o.data),e.children.forEach(function(s){return t.inheritParamsAndData(s)})}},{key:"processSegmentGroup",value:function(e,t,a){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,a)}},{key:"processChildren",value:function(e,t){for(var a=[],o=0,s=Object.keys(t.children);o0?PD(a).parameters:{};s=new Ap(a,f,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,dT(e),xa(e),e.component,e,uT(t),cT(t)+a.length,fT(e))}else{var m=Np(t,e,a);if(!m.matched)return null;u=m.remainingSegments,s=new Ap(l=m.consumedSegments,m.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,dT(e),xa(e),e.component,e,uT(t),cT(t)+l.length,fT(e))}var C=function uV(n){return n.children?n.children:n.loadChildren?n._loadedConfig.routes:[]}(e),I=Yp(t,l,u,C.filter(function(pe){return void 0===pe.redirectTo}),this.relativeLinkResolution),V=I.segmentGroup,J=I.slicedSegments;if(0===J.length&&V.hasChildren()){var me=this.processChildren(C,V);return null===me?null:[new Ko(s,me)]}if(0===C.length&&0===J.length)return[new Ko(s,[])];var Ce=xa(e)===o,Le=this.processSegment(C,V,J,Ce?qt:o);return null===Le?null:[new Ko(s,Le)]}}]),n}();function lT(n){var a,i=[],e=new Set,t=W(n);try{var o=function(){var I=a.value;if(!function cV(n){var i=n.value.routeConfig;return i&&""===i.path&&void 0===i.redirectTo}(I))return i.push(I),"continue";var J,V=i.find(function(me){return I.value.routeConfig===me.value.routeConfig});void 0!==V?((J=V.children).push.apply(J,ae(I.children)),e.add(V)):i.push(I)};for(t.s();!(a=t.n()).done;)o()}catch(C){t.e(C)}finally{t.f()}var u,l=W(e);try{for(l.s();!(u=l.n()).done;){var f=u.value,m=lT(f.children);i.push(new Ko(f.value,m))}}catch(C){l.e(C)}finally{l.f()}return i.filter(function(C){return!e.has(C)})}function uT(n){for(var i=n;i._sourceSegment;)i=i._sourceSegment;return i}function cT(n){for(var i=n,e=i._segmentIndexShift?i._segmentIndexShift:0;i._sourceSegment;)e+=(i=i._sourceSegment)._segmentIndexShift?i._segmentIndexShift:0;return e-1}function dT(n){return n.data||{}}function fT(n){return n.resolve||{}}function hT(n){return[].concat(ae(Object.keys(n)),ae(Object.getOwnPropertySymbols(n)))}function By(n){return fa(function(i){var e=n(i);return e?it(e).pipe($e(function(){return i})):Je(i)})}var pT=d(function n(){c(this,n)}),mV=function(){function n(){c(this,n)}return d(n,[{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}}]),n}(),gV=function(n){h(e,n);var i=y(e);function e(){return c(this,e),i.apply(this,arguments)}return d(e)}(mV),Vy=new Ze("ROUTES"),vT=function(){function n(i,e,t,a){c(this,n),this.injector=i,this.compiler=e,this.onLoadStartListener=t,this.onLoadEndListener=a}return d(n,[{key:"load",value:function(e,t){var a=this;if(t._loader$)return t._loader$;this.onLoadStartListener&&this.onLoadStartListener(t);var s=this.loadModuleFactory(t.loadChildren).pipe($e(function(l){a.onLoadEndListener&&a.onLoadEndListener(t);var u=l.create(e);return new Ny(ED(u.injector.get(Vy,void 0,Ct.Self|Ct.Optional)).map(Yy),u)}),Ki(function(l){throw t._loader$=void 0,l}));return t._loader$=new dr(s,function(){return new Ie}).pipe(wi()),t._loader$}},{key:"loadModuleFactory",value:function(e){var t=this;return So(e()).pipe(Dn(function(a){return a instanceof SC?Je(a):it(t.compiler.compileModuleAsync(a))}))}}]),n}(),_V=d(function n(){c(this,n)}),yV=function(){function n(){c(this,n)}return d(n,[{key:"shouldProcessUrl",value:function(e){return!0}},{key:"extract",value:function(e){return e}},{key:"merge",value:function(e,t){return e}}]),n}();function bV(n){throw n}function kV(n,i,e){return i.parse("/")}function mT(n,i){return Je(null)}var MV={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},CV={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},rn=function(){var n=function(){function i(e,t,a,o,s,l,u){var f=this;c(this,i),this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=a,this.location=o,this.config=u,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new Ie,this.errorHandler=bV,this.malformedUriErrorHandler=kV,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:mT,afterPreactivation:mT},this.urlHandlingStrategy=new yV,this.routeReuseStrategy=new gV,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=s.get(Vo),this.console=s.get(sw);var I=s.get(bt);this.isNgZoneEnabled=I instanceof bt&&bt.isInAngularZone(),this.resetConfig(u),this.currentUrlTree=function ZH(){return new hl(new nn([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new vT(s,l,function(J){return f.triggerEvent(new wD(J))},function(J){return f.triggerEvent(new SD(J))}),this.routerState=UD(this.currentUrlTree,this.rootComponentType),this.transitions=new jr({id:0,targetPageId: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 d(i,[{key:"browserPageId",get:function(){var t;return null===(t=this.location.getState())||void 0===t?void 0:t.\u0275routerPageId}},{key:"setupNavigations",value:function(t){var a=this,o=this.events;return t.pipe(Ar(function(s){return 0!==s.id}),$e(function(s){return Object.assign(Object.assign({},s),{extractedUrl:a.urlHandlingStrategy.extract(s.rawUrl)})}),fa(function(s){var l=!1,u=!1;return Je(s).pipe(Fr(function(f){a.currentNavigation={id:f.id,initialUrl:f.currentRawUrl,extractedUrl:f.extractedUrl,trigger:f.source,extras:f.extras,previousNavigation:a.lastSuccessfulNavigation?Object.assign(Object.assign({},a.lastSuccessfulNavigation),{previousNavigation:null}):null}}),fa(function(f){var m=a.browserUrlTree.toString(),C=!a.navigated||f.extractedUrl.toString()!==m||m!==a.currentUrlTree.toString();if(("reload"===a.onSameUrlNavigation||C)&&a.urlHandlingStrategy.shouldProcessUrl(f.rawUrl))return Up(f.source)&&(a.browserUrlTree=f.extractedUrl),Je(f).pipe(fa(function(Ge){var rt=a.transitions.getValue();return o.next(new Dy(Ge.id,a.serializeUrl(Ge.extractedUrl),Ge.source,Ge.restoredState)),rt!==a.transitions.getValue()?fl:Promise.resolve(Ge)}),function WB(n,i,e,t){return fa(function(a){return function jB(n,i,e,t,a){return new UB(n,i,e,t,a).apply()}(n,i,e,a.extractedUrl,t).pipe($e(function(o){return Object.assign(Object.assign({},a),{urlAfterRedirects:o})}))})}(a.ngModule.injector,a.configLoader,a.urlSerializer,a.config),Fr(function(Ge){a.currentNavigation=Object.assign(Object.assign({},a.currentNavigation),{finalUrl:Ge.urlAfterRedirects})}),function dV(n,i,e,t,a){return Dn(function(o){return function oV(n,i,e,t){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"emptyOnly",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"legacy";try{var s=new sV(n,i,e,t,a,o).recognize();return null===s?sT(new aV):Je(s)}catch(l){return sT(l)}}(n,i,o.urlAfterRedirects,e(o.urlAfterRedirects),t,a).pipe($e(function(s){return Object.assign(Object.assign({},o),{targetSnapshot:s})}))})}(a.rootComponentType,a.config,function(Ge){return a.serializeUrl(Ge)},a.paramsInheritanceStrategy,a.relativeLinkResolution),Fr(function(Ge){if("eager"===a.urlUpdateStrategy){if(!Ge.extras.skipLocationChange){var rt=a.urlHandlingStrategy.merge(Ge.urlAfterRedirects,Ge.rawUrl);a.setBrowserUrl(rt,Ge)}a.browserUrlTree=Ge.urlAfterRedirects}var mt=new NH(Ge.id,a.serializeUrl(Ge.extractedUrl),a.serializeUrl(Ge.urlAfterRedirects),Ge.targetSnapshot);o.next(mt)}));if(C&&a.rawUrlTree&&a.urlHandlingStrategy.shouldProcessUrl(a.rawUrlTree)){var me=f.extractedUrl,Ce=f.source,Le=f.restoredState,pe=f.extras,Re=new Dy(f.id,a.serializeUrl(me),Ce,Le);o.next(Re);var Ye=UD(me,a.rootComponentType).snapshot;return Je(Object.assign(Object.assign({},f),{targetSnapshot:Ye,urlAfterRedirects:me,extras:Object.assign(Object.assign({},pe),{skipLocationChange:!1,replaceUrl:!1})}))}return a.rawUrlTree=f.rawUrl,f.resolve(null),fl}),By(function(f){var J=f.extras;return a.hooks.beforePreactivation(f.targetSnapshot,{navigationId:f.id,appliedUrlTree:f.extractedUrl,rawUrlTree:f.rawUrl,skipLocationChange:!!J.skipLocationChange,replaceUrl:!!J.replaceUrl})}),Fr(function(f){var m=new YH(f.id,a.serializeUrl(f.extractedUrl),a.serializeUrl(f.urlAfterRedirects),f.targetSnapshot);a.triggerEvent(m)}),$e(function(f){return Object.assign(Object.assign({},f),{guards:GB(f.targetSnapshot,f.currentSnapshot,a.rootContexts)})}),function QB(n,i){return Dn(function(e){var t=e.targetSnapshot,a=e.currentSnapshot,o=e.guards,s=o.canActivateChecks,l=o.canDeactivateChecks;return 0===l.length&&0===s.length?Je(Object.assign(Object.assign({},e),{guardsResult:!0})):function JB(n,i,e,t){return it(n).pipe(Dn(function(a){return function iV(n,i,e,t,a){var o=i&&i.routeConfig?i.routeConfig.canDeactivate:null;if(!o||0===o.length)return Je(!0);var s=o.map(function(l){var f,u=jp(l,i,a);if(function xB(n){return n&&xs(n.canDeactivate)}(u))f=So(u.canDeactivate(n,i,e,t));else{if(!xs(u))throw new Error("Invalid CanDeactivate guard");f=So(u(n,i,e,t))}return f.pipe(Qu())});return Je(s).pipe(Qd())}(a.component,a.route,e,i,t)}),Qu(function(a){return!0!==a},!0))}(l,t,a,n).pipe(Dn(function(u){return u&&function TB(n){return"boolean"==typeof n}(u)?function XB(n,i,e,t){return it(i).pipe(Ku(function(a){return dl(function tV(n,i){return null!==n&&i&&i(new jH(n)),Je(!0)}(a.route.parent,t),function eV(n,i){return null!==n&&i&&i(new zH(n)),Je(!0)}(a.route,t),function rV(n,i,e){var t=i[i.length-1],a=i.slice(0,i.length-1).reverse().map(function(s){return function qB(n){var i=n.routeConfig?n.routeConfig.canActivateChild:null;return i&&0!==i.length?{node:n,guards:i}:null}(s)}).filter(function(s){return null!==s}),o=a.map(function(s){return Dp(function(){var l=s.guards.map(function(u){var m,f=jp(u,s.node,e);if(function PB(n){return n&&xs(n.canActivateChild)}(f))m=So(f.canActivateChild(t,n));else{if(!xs(f))throw new Error("Invalid CanActivateChild guard");m=So(f(t,n))}return m.pipe(Qu())});return Je(l).pipe(Qd())})});return Je(o).pipe(Qd())}(n,a.path,e),function nV(n,i,e){var t=i.routeConfig?i.routeConfig.canActivate:null;if(!t||0===t.length)return Je(!0);var a=t.map(function(o){return Dp(function(){var l,s=jp(o,i,e);if(function EB(n){return n&&xs(n.canActivate)}(s))l=So(s.canActivate(i,n));else{if(!xs(s))throw new Error("Invalid CanActivate guard");l=So(s(i,n))}return l.pipe(Qu())})});return Je(a).pipe(Qd())}(n,a.route,e))}),Qu(function(a){return!0!==a},!0))}(t,s,n,i):Je(u)}),$e(function(u){return Object.assign(Object.assign({},e),{guardsResult:u})}))})}(a.ngModule.injector,function(f){return a.triggerEvent(f)}),Fr(function(f){if(vl(f.guardsResult)){var m=Ty('Redirecting to "'.concat(a.serializeUrl(f.guardsResult),'"'));throw m.url=f.guardsResult,m}var C=new HH(f.id,a.serializeUrl(f.extractedUrl),a.serializeUrl(f.urlAfterRedirects),f.targetSnapshot,!!f.guardsResult);a.triggerEvent(C)}),Ar(function(f){return!!f.guardsResult||(a.restoreHistory(f),a.cancelNavigationTransition(f,""),!1)}),By(function(f){if(f.guards.canActivateChecks.length)return Je(f).pipe(Fr(function(m){var C=new BH(m.id,a.serializeUrl(m.extractedUrl),a.serializeUrl(m.urlAfterRedirects),m.targetSnapshot);a.triggerEvent(C)}),fa(function(m){var C=!1;return Je(m).pipe(function fV(n,i){return Dn(function(e){var t=e.targetSnapshot,a=e.guards.canActivateChecks;if(!a.length)return Je(e);var o=0;return it(a).pipe(Ku(function(s){return function hV(n,i,e,t){return function pV(n,i,e,t){var a=hT(n);if(0===a.length)return Je({});var o={};return it(a).pipe(Dn(function(s){return function vV(n,i,e,t){var a=jp(n,i,t);return So(a.resolve?a.resolve(i,e):a(i,e))}(n[s],i,e,t).pipe(Fr(function(l){o[s]=l}))}),Wd(1),Dn(function(){return hT(o).length===a.length?Je(o):fl}))}(n._resolve,n,i,t).pipe($e(function(o){return n._resolvedData=o,n.data=Object.assign(Object.assign({},n.data),zD(n,e).resolve),null}))}(s.route,t,n,i)}),Fr(function(){return o++}),Wd(1),Dn(function(s){return o===a.length?Je(e):fl}))})}(a.paramsInheritanceStrategy,a.ngModule.injector),Fr({next:function(){return C=!0},complete:function(){C||(a.restoreHistory(m),a.cancelNavigationTransition(m,"At least one route resolver didn't emit any value."))}}))}),Fr(function(m){var C=new VH(m.id,a.serializeUrl(m.extractedUrl),a.serializeUrl(m.urlAfterRedirects),m.targetSnapshot);a.triggerEvent(C)}))}),By(function(f){var J=f.extras;return a.hooks.afterPreactivation(f.targetSnapshot,{navigationId:f.id,appliedUrlTree:f.extractedUrl,rawUrlTree:f.rawUrl,skipLocationChange:!!J.skipLocationChange,replaceUrl:!!J.replaceUrl})}),$e(function(f){var m=function pB(n,i,e){var t=Kd(n,i._root,e?e._root:void 0);return new jD(t,i)}(a.routeReuseStrategy,f.targetSnapshot,f.currentRouterState);return Object.assign(Object.assign({},f),{targetRouterState:m})}),Fr(function(f){a.currentUrlTree=f.urlAfterRedirects,a.rawUrlTree=a.urlHandlingStrategy.merge(f.urlAfterRedirects,f.rawUrl),a.routerState=f.targetRouterState,"deferred"===a.urlUpdateStrategy&&(f.extras.skipLocationChange||a.setBrowserUrl(a.rawUrlTree,f),a.browserUrlTree=f.urlAfterRedirects)}),function(i,e,t){return $e(function(a){return new SB(e,a.targetRouterState,a.currentRouterState,t).activate(i),a})}(a.rootContexts,a.routeReuseStrategy,function(f){return a.triggerEvent(f)}),Fr({next:function(){l=!0},complete:function(){l=!0}}),MD(function(){var f;if(!l&&!u){var m="Navigation ID ".concat(s.id," is not equal to the current navigation id ").concat(a.navigationId);a.cancelNavigationTransition(s,m)}(null===(f=a.currentNavigation)||void 0===f?void 0:f.id)===s.id&&(a.currentNavigation=null)}),Ki(function(f){if(u=!0,function qH(n){return n&&n[TD]}(f)){var m=vl(f.url);m||(a.navigated=!0,a.restoreHistory(s,!0));var C=new CD(s.id,a.serializeUrl(s.extractedUrl),f.message);o.next(C),m?setTimeout(function(){var V=a.urlHandlingStrategy.merge(f.url,a.rawUrlTree),J={skipLocationChange:s.extras.skipLocationChange,replaceUrl:"eager"===a.urlUpdateStrategy||Up(s.source)};a.scheduleNavigation(V,"imperative",null,J,{resolve:s.resolve,reject:s.reject,promise:s.promise})},0):s.resolve(!1)}else{a.restoreHistory(s,!0);var I=new RH(s.id,a.serializeUrl(s.extractedUrl),f);o.next(I);try{s.resolve(a.errorHandler(f))}catch(V){s.reject(V)}}return fl}))}))}},{key:"resetRootComponentType",value:function(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}},{key:"setTransition",value:function(t){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),t))}},{key:"initialNavigation",value:function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}},{key:"setUpLocationChangeListener",value:function(){var t=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(a){var o="popstate"===a.type?"popstate":"hashchange";"popstate"===o&&setTimeout(function(){var s,l={replaceUrl:!0},u=(null===(s=a.state)||void 0===s?void 0:s.navigationId)?a.state:null;if(u){var f=Object.assign({},u);delete f.navigationId,delete f.\u0275routerPageId,0!==Object.keys(f).length&&(l.state=f)}var m=t.parseUrl(a.url);t.scheduleNavigation(m,o,u,l)},0)}))}},{key:"url",get:function(){return this.serializeUrl(this.currentUrlTree)}},{key:"getCurrentNavigation",value:function(){return this.currentNavigation}},{key:"triggerEvent",value:function(t){this.events.next(t)}},{key:"resetConfig",value:function(t){XD(t),this.config=t.map(Yy),this.navigated=!1,this.lastSuccessfulId=-1}},{key:"ngOnDestroy",value:function(){this.dispose()}},{key:"dispose",value:function(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}},{key:"createUrlTree",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=a.relativeTo,s=a.queryParams,l=a.fragment,u=a.queryParamsHandling,f=a.preserveFragment,m=o||this.routerState.root,C=f?this.currentUrlTree.fragment:l,I=null;switch(u){case"merge":I=Object.assign(Object.assign({},this.currentUrlTree.queryParams),s);break;case"preserve":I=this.currentUrlTree.queryParams;break;default:I=s||null}return null!==I&&(I=this.removeEmptyProps(I)),gB(m,this.currentUrlTree,t,I,null!=C?C:null)}},{key:"navigateByUrl",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1},o=vl(t)?t:this.parseUrl(t),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,"imperative",null,a)}},{key:"navigate",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};return wV(t),this.navigateByUrl(this.createUrlTree(t,a),a)}},{key:"serializeUrl",value:function(t){return this.urlSerializer.serialize(t)}},{key:"parseUrl",value:function(t){var a;try{a=this.urlSerializer.parse(t)}catch(o){a=this.malformedUriErrorHandler(o,this.urlSerializer,t)}return a}},{key:"isActive",value:function(t,a){var o;if(o=!0===a?Object.assign({},MV):!1===a?Object.assign({},CV):a,vl(t))return OD(this.currentUrlTree,t,o);var s=this.parseUrl(t);return OD(this.currentUrlTree,s,o)}},{key:"removeEmptyProps",value:function(t){return Object.keys(t).reduce(function(a,o){var s=t[o];return null!=s&&(a[o]=s),a},{})}},{key:"processNavigations",value:function(){var t=this;this.navigations.subscribe(function(a){t.navigated=!0,t.lastSuccessfulId=a.id,t.currentPageId=a.targetPageId,t.events.next(new Ju(a.id,t.serializeUrl(a.extractedUrl),t.serializeUrl(t.currentUrlTree))),t.lastSuccessfulNavigation=t.currentNavigation,a.resolve(!0)},function(a){t.console.warn("Unhandled Navigation Error: ".concat(a))})}},{key:"scheduleNavigation",value:function(t,a,o,s,l){var u,f,m;if(this.disposed)return Promise.resolve(!1);var Ce,Le,pe,C=this.transitions.value,I=Up(a)&&C&&!Up(C.source),V=C.rawUrl.toString()===t.toString(),J=C.id===(null===(u=this.currentNavigation)||void 0===u?void 0:u.id);if(I&&V&&J)return Promise.resolve(!0);l?(Ce=l.resolve,Le=l.reject,pe=l.promise):pe=new Promise(function(rt,mt){Ce=rt,Le=mt});var Ye,Re=++this.navigationId;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(o=this.location.getState()),Ye=o&&o.\u0275routerPageId?o.\u0275routerPageId:s.replaceUrl||s.skipLocationChange?null!==(f=this.browserPageId)&&void 0!==f?f:0:(null!==(m=this.browserPageId)&&void 0!==m?m:0)+1):Ye=0,this.setTransition({id:Re,targetPageId:Ye,source:a,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:s,resolve:Ce,reject:Le,promise:pe,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),pe.catch(function(rt){return Promise.reject(rt)})}},{key:"setBrowserUrl",value:function(t,a){var o=this.urlSerializer.serialize(t),s=Object.assign(Object.assign({},a.extras.state),this.generateNgRouterState(a.id,a.targetPageId));this.location.isCurrentPathEqualTo(o)||a.extras.replaceUrl?this.location.replaceState(o,"",s):this.location.go(o,"",s)}},{key:"restoreHistory",value:function(t){var o,s,a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if("computed"===this.canceledNavigationResolution){var l=this.currentPageId-t.targetPageId,u="popstate"===t.source||"eager"===this.urlUpdateStrategy||this.currentUrlTree===(null===(o=this.currentNavigation)||void 0===o?void 0:o.finalUrl);u&&0!==l?this.location.historyGo(l):this.currentUrlTree===(null===(s=this.currentNavigation)||void 0===s?void 0:s.finalUrl)&&0===l&&(this.resetState(t),this.browserUrlTree=t.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(a&&this.resetState(t),this.resetUrlToCurrentUrlTree())}},{key:"resetState",value:function(t){this.routerState=t.currentRouterState,this.currentUrlTree=t.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl)}},{key:"resetUrlToCurrentUrlTree",value:function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}},{key:"cancelNavigationTransition",value:function(t,a){var o=new CD(t.id,this.serializeUrl(t.extractedUrl),a);this.triggerEvent(o),t.resolve(!1)}},{key:"generateNgRouterState",value:function(t,a){return"computed"===this.canceledNavigationResolution?{navigationId:t,"\u0275routerPageId":a}:{navigationId:t}}}]),i}();return n.\u0275fac=function(e){Ru()},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}();function wV(n){for(var i=0;i2&&void 0!==arguments[2]?arguments[2]:{};c(this,i),this.router=e,this.viewportScroller=t,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration=a.scrollPositionRestoration||"disabled",a.anchorScrolling=a.anchorScrolling||"disabled"}return d(i,[{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 t=this;return this.router.events.subscribe(function(a){a instanceof Dy?(t.store[t.lastId]=t.viewportScroller.getScrollPosition(),t.lastSource=a.navigationTrigger,t.restoredId=a.restoredState?a.restoredState.navigationId:0):a instanceof Ju&&(t.lastId=a.id,t.scheduleScrollEvent(a,t.router.parseUrl(a.urlAfterRedirects).fragment))})}},{key:"consumeScrollEvents",value:function(){var t=this;return this.router.events.subscribe(function(a){a instanceof DD&&(a.position?"top"===t.options.scrollPositionRestoration?t.viewportScroller.scrollToPosition([0,0]):"enabled"===t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition(a.position):a.anchor&&"enabled"===t.options.anchorScrolling?t.viewportScroller.scrollToAnchor(a.anchor):"disabled"!==t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition([0,0]))})}},{key:"scheduleScrollEvent",value:function(t,a){this.router.triggerEvent(new DD(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,a))}},{key:"ngOnDestroy",value:function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}]),i}();return n.\u0275fac=function(e){Ru()},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),gl=new Ze("ROUTER_CONFIGURATION"),bT=new Ze("ROUTER_FORROOT_GUARD"),LV=[zu,{provide:RD,useClass:ND},{provide:rn,useFactory:function AV(n,i,e,t,a,o){var s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},l=arguments.length>7?arguments[7]:void 0,u=arguments.length>8?arguments[8]:void 0,f=new rn(null,n,i,e,t,a,ED(o));return l&&(f.urlHandlingStrategy=l),u&&(f.routeReuseStrategy=u),IV(s,f),s.enableTracing&&f.events.subscribe(function(m){var C,I;null===(C=console.group)||void 0===C||C.call(console,"Router Event: ".concat(m.constructor.name)),console.log(m.toString()),console.log(m),null===(I=console.groupEnd)||void 0===I||I.call(console)}),f},deps:[RD,Jd,zu,zn,lw,Vy,gl,[_V,new Va],[pT,new Va]]},Jd,{provide:si,useFactory:function FV(n){return n.routerState.root},deps:[rn]},yT,_T,TV,{provide:gl,useValue:{enableTracing:!1}}];function EV(){return new hw("Router",rn)}var kT=function(){var n=function(){function i(e,t){c(this,i)}return d(i,null,[{key:"forRoot",value:function(t,a){return{ngModule:i,providers:[LV,MT(t),{provide:bT,useFactory:OV,deps:[[rn,new Va,new vu]]},{provide:gl,useValue:a||{}},{provide:Uu,useFactory:xV,deps:[al,[new vh(x_),new Va],gl]},{provide:Uy,useFactory:PV,deps:[rn,s4,gl]},{provide:gT,useExisting:a&&a.preloadingStrategy?a.preloadingStrategy:_T},{provide:hw,multi:!0,useFactory:EV},[zy,{provide:m_,multi:!0,useFactory:RV,deps:[zy]},{provide:CT,useFactory:NV,deps:[zy]},{provide:ow,multi:!0,useExisting:CT}]]}}},{key:"forChild",value:function(t){return{ngModule:i,providers:[MT(t)]}}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(bT,8),Ee(rn,8))},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({}),n}();function PV(n,i,e){return e.scrollOffset&&i.setOffset(e.scrollOffset),new Uy(n,i,e)}function xV(n,i){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.useHash?new $3(n,i):new Aw(n,i)}function OV(n){return"guarded"}function MT(n){return[{provide:PP,multi:!0,useValue:n},{provide:Vy,multi:!0,useValue:n}]}function IV(n,i){n.errorHandler&&(i.errorHandler=n.errorHandler),n.malformedUriErrorHandler&&(i.malformedUriErrorHandler=n.malformedUriErrorHandler),n.onSameUrlNavigation&&(i.onSameUrlNavigation=n.onSameUrlNavigation),n.paramsInheritanceStrategy&&(i.paramsInheritanceStrategy=n.paramsInheritanceStrategy),n.relativeLinkResolution&&(i.relativeLinkResolution=n.relativeLinkResolution),n.urlUpdateStrategy&&(i.urlUpdateStrategy=n.urlUpdateStrategy),n.canceledNavigationResolution&&(i.canceledNavigationResolution=n.canceledNavigationResolution)}var zy=function(){var n=function(){function i(e){c(this,i),this.injector=e,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new Ie}return d(i,[{key:"appInitializer",value:function(){var t=this;return this.injector.get(G3,Promise.resolve(null)).then(function(){if(t.destroyed)return Promise.resolve(!0);var o=null,s=new Promise(function(f){return o=f}),l=t.injector.get(rn),u=t.injector.get(gl);return"disabled"===u.initialNavigation?(l.setUpLocationChangeListener(),o(!0)):"enabled"===u.initialNavigation||"enabledBlocking"===u.initialNavigation?(l.hooks.afterPreactivation=function(){return t.initNavigation?Je(null):(t.initNavigation=!0,o(!0),t.resultOfPreactivationDone)},l.initialNavigation()):o(!0),s})}},{key:"bootstrapListener",value:function(t){var a=this.injector.get(gl),o=this.injector.get(yT),s=this.injector.get(Uy),l=this.injector.get(rn),u=this.injector.get(zh);t===u.components[0]&&(("enabledNonBlocking"===a.initialNavigation||void 0===a.initialNavigation)&&l.initialNavigation(),o.setUpPreloading(),s.init(),l.resetRootComponentType(u.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}},{key:"ngOnDestroy",value:function(){this.destroyed=!0}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(zn))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}();function RV(n){return n.appInitializer.bind(n)}function NV(n){return n.bootstrapListener.bind(n)}var CT=new Ze("Router Initializer"),HV=function(n){h(e,n);var i=y(e);function e(t,a){return c(this,e),i.call(this)}return d(e,[{key:"schedule",value:function(a){return this}}]),e}(Ne),zp=function(n){h(e,n);var i=y(e);function e(t,a){var o;return c(this,e),(o=i.call(this,t,a)).scheduler=t,o.work=a,o.pending=!1,o}return d(e,[{key:"schedule",value:function(a){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=a;var s=this.id,l=this.scheduler;return null!=s&&(this.id=this.recycleAsyncId(l,s,o)),this.pending=!0,this.delay=o,this.id=this.id||this.requestAsyncId(l,this.id,o),this}},{key:"requestAsyncId",value:function(a,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return setInterval(a.flush.bind(a,this),s)}},{key:"recycleAsyncId",value:function(a,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==s&&this.delay===s&&!1===this.pending)return o;clearInterval(o)}},{key:"execute",value:function(a,o){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var s=this._execute(a,o);if(s)return s;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(a,o){var s=!1,l=void 0;try{this.work(a)}catch(u){s=!0,l=!!u&&u||new Error(u)}if(s)return this.unsubscribe(),l}},{key:"_unsubscribe",value:function(){var a=this.id,o=this.scheduler,s=o.actions,l=s.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==l&&s.splice(l,1),null!=a&&(this.id=this.recycleAsyncId(o,a,null)),this.delay=null}}]),e}(HV),BV=function(n){h(e,n);var i=y(e);function e(t,a){var o;return c(this,e),(o=i.call(this,t,a)).scheduler=t,o.work=a,o}return d(e,[{key:"schedule",value:function(a){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return o>0?T(O(e.prototype),"schedule",this).call(this,a,o):(this.delay=o,this.state=a,this.scheduler.flush(this),this)}},{key:"execute",value:function(a,o){return o>0||this.closed?T(O(e.prototype),"execute",this).call(this,a,o):this._execute(a,o)}},{key:"requestAsyncId",value:function(a,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==s&&s>0||null===s&&this.delay>0?T(O(e.prototype),"requestAsyncId",this).call(this,a,o,s):a.flush(this)}}]),e}(zp),wT=function(){var n=function(){function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.now;c(this,i),this.SchedulerAction=e,this.now=t}return d(i,[{key:"schedule",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,t).schedule(o,a)}}]),i}();return n.now=function(){return Date.now()},n}(),Wp=function(n){h(e,n);var i=y(e);function e(t){var a,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:wT.now;return c(this,e),(a=i.call(this,t,function(){return e.delegate&&e.delegate!==x(a)?e.delegate.now():o()})).actions=[],a.active=!1,a.scheduled=void 0,a}return d(e,[{key:"schedule",value:function(a){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=arguments.length>2?arguments[2]:void 0;return e.delegate&&e.delegate!==this?e.delegate.schedule(a,o,s):T(O(e.prototype),"schedule",this).call(this,a,o,s)}},{key:"flush",value:function(a){var o=this.actions;if(this.active)o.push(a);else{var s;this.active=!0;do{if(s=a.execute(a.state,a.delay))break}while(a=o.shift());if(this.active=!1,s){for(;a=o.shift();)a.unsubscribe();throw s}}}}]),e}(wT),VV=function(n){h(e,n);var i=y(e);function e(){return c(this,e),i.apply(this,arguments)}return d(e)}(Wp),jV=new VV(BV),$o=function(){function n(i,e,t){c(this,n),this.kind=i,this.value=e,this.error=t,this.hasValue="N"===i}return d(n,[{key:"observe",value:function(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()}}},{key:"do",value:function(e,t,a){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return a&&a()}}},{key:"accept",value:function(e,t,a){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,a)}},{key:"toObservable",value:function(){switch(this.kind){case"N":return Je(this.value);case"E":return Ni(this.error);case"C":return Sp()}throw new Error("unexpected notification kind value")}}],[{key:"createNext",value:function(e){return void 0!==e?new n("N",e):n.undefinedValueNotification}},{key:"createError",value:function(e){return new n("E",void 0,e)}},{key:"createComplete",value:function(){return n.completeNotification}}]),n}();$o.completeNotification=new $o("C"),$o.undefinedValueNotification=new $o("N",void 0);var zV=function(n){h(e,n);var i=y(e);function e(t,a){var o,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return c(this,e),(o=i.call(this,t)).scheduler=a,o.delay=s,o}return d(e,[{key:"scheduleMessage",value:function(a){this.destination.add(this.scheduler.schedule(e.dispatch,this.delay,new WV(a,this.destination)))}},{key:"_next",value:function(a){this.scheduleMessage($o.createNext(a))}},{key:"_error",value:function(a){this.scheduleMessage($o.createError(a)),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleMessage($o.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(a){a.notification.observe(a.destination),this.unsubscribe()}}]),e}(St),WV=d(function n(i,e){c(this,n),this.notification=i,this.destination=e}),Za=function(n){h(e,n);var i=y(e);function e(){var t,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY,s=arguments.length>2?arguments[2]:void 0;return c(this,e),(t=i.call(this)).scheduler=s,t._events=[],t._infiniteTimeWindow=!1,t._bufferSize=a<1?1:a,t._windowTime=o<1?1:o,o===Number.POSITIVE_INFINITY?(t._infiniteTimeWindow=!0,t.next=t.nextInfiniteTimeWindow):t.next=t.nextTimeWindow,t}return d(e,[{key:"nextInfiniteTimeWindow",value:function(a){var o=this._events;o.push(a),o.length>this._bufferSize&&o.shift(),T(O(e.prototype),"next",this).call(this,a)}},{key:"nextTimeWindow",value:function(a){this._events.push(new GV(this._getNow(),a)),this._trimBufferThenGetEvents(),T(O(e.prototype),"next",this).call(this,a)}},{key:"_subscribe",value:function(a){var f,o=this._infiniteTimeWindow,s=o?this._events:this._trimBufferThenGetEvents(),l=this.scheduler,u=s.length;if(this.closed)throw new we;if(this.isStopped||this.hasError?f=Ne.EMPTY:(this.observers.push(a),f=new Pe(this,a)),l&&a.add(a=new zV(a,l)),o)for(var m=0;mo&&(f=Math.max(f,u-o)),f>0&&l.splice(0,f),l}}]),e}(Ie),GV=d(function n(i,e){c(this,n),this.time=i,this.value=e}),ST="refreshSeconds",DT="labelsData",TT="localNodesData",LT="nodesData",li=function(){return function(n){n.Node="nd",n.Transport="tp",n.DmsgServer="ds"}(li||(li={})),li}(),$i=function(){var n=function(){function i(){var e=this;c(this,i),this.currentRefreshTimeSubject=new Za(1),this.savedLocalNodes=new Map,this.savedLabels=new Map,this.savedVisibleLocalNodes=new Set,this.storage=localStorage,this.currentRefreshTime=parseInt(this.storage.getItem(ST),10)||10,this.currentRefreshTimeSubject.next(this.currentRefreshTime),this.getSavedLocalNodes().forEach(function(o){e.savedLocalNodes.set(o.publicKey,o),o.hidden||e.savedVisibleLocalNodes.add(o.publicKey)}),this.getSavedLabels().forEach(function(o){return e.savedLabels.set(o.id,o)}),this.loadLegacyNodeData();var t=[];this.savedLocalNodes.forEach(function(o){return t.push(o)});var a=[];this.savedLabels.forEach(function(o){return a.push(o)}),this.saveLocalNodes(t),this.saveLabels(a)}return d(i,[{key:"loadLegacyNodeData",value:function(){var t=this,a=JSON.parse(this.storage.getItem(LT))||[];if(a.length>0){var o=this.getSavedLocalNodes(),s=this.getSavedLabels();a.forEach(function(l){o.push({publicKey:l.publicKey,hidden:l.deleted,ip:null}),t.savedLocalNodes.set(l.publicKey,o[o.length-1]),l.deleted||t.savedVisibleLocalNodes.add(l.publicKey),s.push({id:l.publicKey,identifiedElementType:li.Node,label:l.label}),t.savedLabels.set(l.publicKey,s[s.length-1])}),this.saveLocalNodes(o),this.saveLabels(s),this.storage.removeItem(LT)}}},{key:"setRefreshTime",value:function(t){this.storage.setItem(ST,t.toString()),this.currentRefreshTime=t,this.currentRefreshTimeSubject.next(this.currentRefreshTime)}},{key:"getRefreshTimeObservable",value:function(){return this.currentRefreshTimeSubject.asObservable()}},{key:"getRefreshTime",value:function(){return this.currentRefreshTime}},{key:"includeVisibleLocalNodes",value:function(t,a){this.changeLocalNodesHiddenProperty(t,a,!1)}},{key:"setLocalNodesAsHidden",value:function(t,a){this.changeLocalNodesHiddenProperty(t,a,!0)}},{key:"changeLocalNodesHiddenProperty",value:function(t,a,o){var s=this;if(t.length!==a.length)throw new Error("Invalid params");var l=new Map,u=new Map;t.forEach(function(C,I){l.set(C,a[I]),u.set(C,a[I])});var f=!1,m=this.getSavedLocalNodes();m.forEach(function(C){l.has(C.publicKey)&&(u.has(C.publicKey)&&u.delete(C.publicKey),C.ip!==l.get(C.publicKey)&&(C.ip=l.get(C.publicKey),f=!0,s.savedLocalNodes.set(C.publicKey,C)),C.hidden!==o&&(C.hidden=o,f=!0,s.savedLocalNodes.set(C.publicKey,C),o?s.savedVisibleLocalNodes.delete(C.publicKey):s.savedVisibleLocalNodes.add(C.publicKey)))}),u.forEach(function(C,I){f=!0;var V={publicKey:I,hidden:o,ip:C};m.push(V),s.savedLocalNodes.set(I,V),o?s.savedVisibleLocalNodes.delete(I):s.savedVisibleLocalNodes.add(I)}),f&&this.saveLocalNodes(m)}},{key:"getSavedLocalNodes",value:function(){return JSON.parse(this.storage.getItem(TT))||[]}},{key:"getSavedVisibleLocalNodes",value:function(){return this.savedVisibleLocalNodes}},{key:"saveLocalNodes",value:function(t){this.storage.setItem(TT,JSON.stringify(t))}},{key:"getSavedLabels",value:function(){return JSON.parse(this.storage.getItem(DT))||[]}},{key:"saveLabels",value:function(t){this.storage.setItem(DT,JSON.stringify(t))}},{key:"saveLabel",value:function(t,a,o){var s=this;if(a){var f=!1,m=this.getSavedLabels().map(function(I){return I.id===t&&I.identifiedElementType===o&&(f=!0,I.label=a,s.savedLabels.set(I.id,{label:I.label,id:I.id,identifiedElementType:I.identifiedElementType})),I});if(f)this.saveLabels(m);else{var C={label:a,id:t,identifiedElementType:o};m.push(C),this.savedLabels.set(t,C),this.saveLabels(m)}}else{this.savedLabels.has(t)&&this.savedLabels.delete(t);var l=!1,u=this.getSavedLabels().filter(function(I){return I.id!==t||(l=!0,!1)});l&&this.saveLabels(u)}}},{key:"getDefaultLabel",value:function(t){return t?t.ip?t.ip:t.localPk.substr(0,8):""}},{key:"getLabelInfo",value:function(t){return this.savedLabels.has(t)?this.savedLabels.get(t):null}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}();function $n(n){return null!=n&&"false"!=="".concat(n)}function Oa(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return qV(n)?Number(n):i}function qV(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}function Gp(n){return Array.isArray(n)?n:[n]}function Rr(n){return null==n?"":"string"==typeof n?n:"".concat(n,"px")}function Zo(n){return n instanceof yt?n.nativeElement:n}function _l(n,i,e,t){return He(e)&&(t=e,e=void 0),t?_l(n,i,e).pipe($e(function(a){return xe(a)?t.apply(void 0,ae(a)):t(a)})):new fe(function(a){ET(n,i,function o(s){a.next(arguments.length>1?Array.prototype.slice.call(arguments):s)},a,e)})}function ET(n,i,e,t,a){var o;if(function ZV(n){return n&&"function"==typeof n.addEventListener&&"function"==typeof n.removeEventListener}(n)){var s=n;n.addEventListener(i,e,a),o=function(){return s.removeEventListener(i,e,a)}}else if(function $V(n){return n&&"function"==typeof n.on&&"function"==typeof n.off}(n)){var l=n;n.on(i,e),o=function(){return l.off(i,e)}}else if(function KV(n){return n&&"function"==typeof n.addListener&&"function"==typeof n.removeListener}(n)){var u=n;n.addListener(i,e),o=function(){return u.removeListener(i,e)}}else{if(!n||!n.length)throw new TypeError("Invalid event target");for(var f=0,m=n.length;f2&&void 0!==arguments[2]?arguments[2]:0;return null!==s&&s>0?T(O(e.prototype),"requestAsyncId",this).call(this,a,o,s):(a.actions.push(this),a.scheduled||(a.scheduled=requestAnimationFrame(function(){return a.flush(null)})))}},{key:"recycleAsyncId",value:function(a,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==s&&s>0||null===s&&this.delay>0)return T(O(e.prototype),"recycleAsyncId",this).call(this,a,o,s);0===a.actions.length&&(cancelAnimationFrame(o),a.scheduled=void 0)}}]),e}(zp),JV=function(n){h(e,n);var i=y(e);function e(){return c(this,e),i.apply(this,arguments)}return d(e,[{key:"flush",value:function(a){this.active=!0,this.scheduled=void 0;var s,o=this.actions,l=-1,u=o.length;a=a||o.shift();do{if(s=a.execute(a.state,a.delay))break}while(++l2&&void 0!==arguments[2]?arguments[2]:0;return null!==s&&s>0?T(O(e.prototype),"requestAsyncId",this).call(this,a,o,s):(a.actions.push(this),a.scheduled||(a.scheduled=PT_setImmediate(a.flush.bind(a,null))))}},{key:"recycleAsyncId",value:function(a,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==s&&s>0||null===s&&this.delay>0)return T(O(e.prototype),"recycleAsyncId",this).call(this,a,o,s);0===a.actions.length&&(PT_clearImmediate(o),a.scheduled=void 0)}}]),e}(zp),rj=function(n){h(e,n);var i=y(e);function e(){return c(this,e),i.apply(this,arguments)}return d(e,[{key:"flush",value:function(a){this.active=!0,this.scheduled=void 0;var s,o=this.actions,l=-1,u=o.length;a=a||o.shift();do{if(s=a.execute(a.state,a.delay))break}while(++l=0}function qp(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,i=arguments.length>1?arguments[1]:void 0,e=arguments.length>2?arguments[2]:void 0,t=-1;return qy(i)?t=Number(i)<1?1:Number(i):ht(i)&&(e=i),ht(e)||(e=nc),new fe(function(a){var o=qy(n)?n:+n-e.now();return e.schedule(sj,o,{index:0,period:t,subscriber:a})})}function sj(n){var i=n.index,e=n.period,t=n.subscriber;if(t.next(i),!t.closed){if(-1===e)return t.complete();n.index=i+1,this.schedule(n,e)}}function xT(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nc;return ij(function(){return qp(n,i)})}try{Ky="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(n){Ky=!1}var rc,nf,bl,$y,Sr=function(){var n=d(function i(e){c(this,i),this._platformId=e,this.isBrowser=this._platformId?function o4(n){return n===Xw}(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&&!Ky)&&"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 n.\u0275fac=function(e){return new(e||n)(Ee(Fd))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),OT=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function AT(){if(rc)return rc;if("object"!=typeof document||!document)return rc=new Set(OT);var n=document.createElement("input");return rc=new Set(OT.filter(function(i){return n.setAttribute("type",i),n.type===i}))}function yl(n){return function lj(){if(null==nf&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return nf=!0}}))}finally{nf=nf||!1}return nf}()?n:!!n.capture}function uj(){if(null==bl){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return bl=!1;if("scrollBehavior"in document.documentElement.style)bl=!0;else{var n=Element.prototype.scrollTo;bl=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return bl}function IT(n){if(function cj(){if(null==$y){var n="undefined"!=typeof document?document.head:null;$y=!(!n||!n.createShadowRoot&&!n.attachShadow)}return $y}()){var i=n.getRootNode?n.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&i instanceof ShadowRoot)return i}return null}function Zy(){for(var n="undefined"!=typeof document&&document?document.activeElement:null;n&&n.shadowRoot;){var i=n.shadowRoot.activeElement;if(i===n)break;n=i}return n}function kl(n){return n.composedPath?n.composedPath()[0]:n.target}function Qy(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}var dj=new Ze("cdk-dir-doc",{providedIn:"root",factory:function fj(){return ld(Ot)}}),hj=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i,pa=function(){var n=function(){function i(e){c(this,i),this.value="ltr",this.change=new pt,e&&(this.value=function pj(n){var i=(null==n?void 0:n.toLowerCase())||"";return"auto"===i&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?hj.test(navigator.language)?"rtl":"ltr":"rtl"===i?"rtl":"ltr"}((e.body?e.body.dir:null)||(e.documentElement?e.documentElement.dir:null)||"ltr"))}return d(i,[{key:"ngOnDestroy",value:function(){this.change.complete()}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(dj,8))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),rf=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({}),n}(),FT=function(){var n=function(){function i(e,t,a){c(this,i),this._ngZone=e,this._platform=t,this._scrolled=new Ie,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=a}return d(i,[{key:"register",value:function(t){var a=this;this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(function(){return a._scrolled.next(t)}))}},{key:"deregister",value:function(t){var a=this.scrollContainers.get(t);a&&(a.unsubscribe(),this.scrollContainers.delete(t))}},{key:"scrolled",value:function(){var t=this,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return this._platform.isBrowser?new fe(function(o){t._globalSubscription||t._addGlobalListener();var s=a>0?t._scrolled.pipe(xT(a)).subscribe(o):t._scrolled.subscribe(o);return t._scrolledCount++,function(){s.unsubscribe(),t._scrolledCount--,t._scrolledCount||t._removeGlobalListener()}}):Je()}},{key:"ngOnDestroy",value:function(){var t=this;this._removeGlobalListener(),this.scrollContainers.forEach(function(a,o){return t.deregister(o)}),this._scrolled.complete()}},{key:"ancestorScrolled",value:function(t,a){var o=this.getAncestorScrollContainers(t);return this.scrolled(a).pipe(Ar(function(s){return!s||o.indexOf(s)>-1}))}},{key:"getAncestorScrollContainers",value:function(t){var a=this,o=[];return this.scrollContainers.forEach(function(s,l){a._scrollableContainsElement(l,t)&&o.push(l)}),o}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_scrollableContainsElement",value:function(t,a){var o=Zo(a),s=t.getElementRef().nativeElement;do{if(o==s)return!0}while(o=o.parentElement);return!1}},{key:"_addGlobalListener",value:function(){var t=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){return _l(t._getWindow().document,"scroll").subscribe(function(){return t._scrolled.next()})})}},{key:"_removeGlobalListener",value:function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(bt),Ee(Sr),Ee(Ot,8))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),Ml=function(){var n=function(){function i(e,t,a){var o=this;c(this,i),this._platform=e,this._change=new Ie,this._changeListener=function(s){o._change.next(s)},this._document=a,t.runOutsideAngular(function(){if(e.isBrowser){var s=o._getWindow();s.addEventListener("resize",o._changeListener),s.addEventListener("orientationchange",o._changeListener)}o.change().subscribe(function(){return o._viewportSize=null})})}return d(i,[{key:"ngOnDestroy",value:function(){if(this._platform.isBrowser){var t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}},{key:"getViewportSize",value:function(){this._viewportSize||this._updateViewportSize();var t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}},{key:"getViewportRect",value:function(){var t=this.getViewportScrollPosition(),a=this.getViewportSize(),o=a.width,s=a.height;return{top:t.top,left:t.left,bottom:t.top+s,right:t.left+o,height:s,width:o}}},{key:"getViewportScrollPosition",value:function(){if(!this._platform.isBrowser)return{top:0,left:0};var t=this._document,a=this._getWindow(),o=t.documentElement,s=o.getBoundingClientRect();return{top:-s.top||t.body.scrollTop||a.scrollY||o.scrollTop||0,left:-s.left||t.body.scrollLeft||a.scrollX||o.scrollLeft||0}}},{key:"change",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return t>0?this._change.pipe(xT(t)):this._change}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_updateViewportSize",value:function(){var t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(Sr),Ee(bt),Ee(Ot,8))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),af=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({}),n}(),RT=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({imports:[[rf,af],rf,af]}),n}(),Jy=function(){function n(){c(this,n)}return d(n,[{key:"attach",value:function(e){return this._attachedHost=e,e.attach(this)}},{key:"detach",value:function(){var e=this._attachedHost;null!=e&&(this._attachedHost=null,e.detach())}},{key:"isAttached",get:function(){return null!=this._attachedHost}},{key:"setAttachedHost",value:function(e){this._attachedHost=e}}]),n}(),ic=function(n){h(e,n);var i=y(e);function e(t,a,o,s){var l;return c(this,e),(l=i.call(this)).component=t,l.viewContainerRef=a,l.injector=o,l.componentFactoryResolver=s,l}return d(e)}(Jy),ac=function(n){h(e,n);var i=y(e);function e(t,a,o){var s;return c(this,e),(s=i.call(this)).templateRef=t,s.viewContainerRef=a,s.context=o,s}return d(e,[{key:"origin",get:function(){return this.templateRef.elementRef}},{key:"attach",value:function(a){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.context;return this.context=o,T(O(e.prototype),"attach",this).call(this,a)}},{key:"detach",value:function(){return this.context=void 0,T(O(e.prototype),"detach",this).call(this)}}]),e}(Jy),gj=function(n){h(e,n);var i=y(e);function e(t){var a;return c(this,e),(a=i.call(this)).element=t instanceof yt?t.nativeElement:t,a}return d(e)}(Jy),$p=function(){function n(){c(this,n),this._isDisposed=!1,this.attachDomPortal=null}return d(n,[{key:"hasAttached",value:function(){return!!this._attachedPortal}},{key:"attach",value:function(e){return e instanceof ic?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof ac?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof gj?(this._attachedPortal=e,this.attachDomPortal(e)):void 0}},{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)}}]),n}(),_j=function(n){h(e,n);var i=y(e);function e(t,a,o,s,l){var u,f;return c(this,e),(f=i.call(this)).outletElement=t,f._componentFactoryResolver=a,f._appRef=o,f._defaultInjector=s,f.attachDomPortal=function(m){var C=m.element,I=f._document.createComment("dom-portal");C.parentNode.insertBefore(I,C),f.outletElement.appendChild(C),f._attachedPortal=m,T((u=x(f),O(e.prototype)),"setDisposeFn",u).call(u,function(){I.parentNode&&I.parentNode.replaceChild(C,I)})},f._document=l,f}return d(e,[{key:"attachComponentPortal",value:function(a){var u,o=this,l=(a.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(a.component);return a.viewContainerRef?(u=a.viewContainerRef.createComponent(l,a.viewContainerRef.length,a.injector||a.viewContainerRef.injector),this.setDisposeFn(function(){return u.destroy()})):(u=l.create(a.injector||this._defaultInjector),this._appRef.attachView(u.hostView),this.setDisposeFn(function(){o._appRef.detachView(u.hostView),u.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(u)),this._attachedPortal=a,u}},{key:"attachTemplatePortal",value:function(a){var o=this,s=a.viewContainerRef,l=s.createEmbeddedView(a.templateRef,a.context);return l.rootNodes.forEach(function(u){return o.outletElement.appendChild(u)}),l.detectChanges(),this.setDisposeFn(function(){var u=s.indexOf(l);-1!==u&&s.remove(u)}),this._attachedPortal=a,l}},{key:"dispose",value:function(){T(O(e.prototype),"dispose",this).call(this),this.outletElement.remove()}},{key:"_getComponentRootNode",value:function(a){return a.hostView.rootNodes[0]}}]),e}($p),Cl=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s){var l,u;return c(this,t),(u=e.call(this))._componentFactoryResolver=a,u._viewContainerRef=o,u._isInitialized=!1,u.attached=new pt,u.attachDomPortal=function(f){var m=f.element,C=u._document.createComment("dom-portal");f.setAttachedHost(x(u)),m.parentNode.insertBefore(C,m),u._getRootNode().appendChild(m),u._attachedPortal=f,T((l=x(u),O(t.prototype)),"setDisposeFn",l).call(l,function(){C.parentNode&&C.parentNode.replaceChild(m,C)})},u._document=s,u}return d(t,[{key:"portal",get:function(){return this._attachedPortal},set:function(o){this.hasAttached()&&!o&&!this._isInitialized||(this.hasAttached()&&T(O(t.prototype),"detach",this).call(this),o&&T(O(t.prototype),"attach",this).call(this,o),this._attachedPortal=o||null)}},{key:"attachedRef",get:function(){return this._attachedRef}},{key:"ngOnInit",value:function(){this._isInitialized=!0}},{key:"ngOnDestroy",value:function(){T(O(t.prototype),"dispose",this).call(this),this._attachedPortal=null,this._attachedRef=null}},{key:"attachComponentPortal",value:function(o){o.setAttachedHost(this);var s=null!=o.viewContainerRef?o.viewContainerRef:this._viewContainerRef,u=(o.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(o.component),f=s.createComponent(u,s.length,o.injector||s.injector);return s!==this._viewContainerRef&&this._getRootNode().appendChild(f.hostView.rootNodes[0]),T(O(t.prototype),"setDisposeFn",this).call(this,function(){return f.destroy()}),this._attachedPortal=o,this._attachedRef=f,this.attached.emit(f),f}},{key:"attachTemplatePortal",value:function(o){var s=this;o.setAttachedHost(this);var l=this._viewContainerRef.createEmbeddedView(o.templateRef,o.context);return T(O(t.prototype),"setDisposeFn",this).call(this,function(){return s._viewContainerRef.clear()}),this._attachedPortal=o,this._attachedRef=l,this.attached.emit(l),l}},{key:"_getRootNode",value:function(){var o=this._viewContainerRef.element.nativeElement;return o.nodeType===o.ELEMENT_NODE?o:o.parentNode}}]),t}($p);return n.\u0275fac=function(e){return new(e||n)(B(Ts),B(ii),B(Ot))},n.\u0275dir=et({type:n,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[vt]}),n}(),Zp=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({}),n}();function hn(n){return function(i){return i.lift(new yj(n))}}var yj=function(){function n(i){c(this,n),this.notifier=i}return d(n,[{key:"call",value:function(e,t){var a=new bj(e),o=Fn(a,this.notifier);return o&&!a.seenValue?(a.add(o),t.subscribe(a)):a}}]),n}(),bj=function(n){h(e,n);var i=y(e);function e(t){var a;return c(this,e),(a=i.call(this,t)).seenValue=!1,a}return d(e,[{key:"notifyNext",value:function(a,o,s,l,u){this.seenValue=!0,this.complete()}},{key:"notifyComplete",value:function(){}}]),e}(gn),Mj=function(){function n(i,e){c(this,n),this.predicate=i,this.inclusive=e}return d(n,[{key:"call",value:function(e,t){return t.subscribe(new Cj(e,this.predicate,this.inclusive))}}]),n}(),Cj=function(n){h(e,n);var i=y(e);function e(t,a,o){var s;return c(this,e),(s=i.call(this,t)).predicate=a,s.inclusive=o,s.index=0,s}return d(e,[{key:"_next",value:function(a){var s,o=this.destination;try{s=this.predicate(a,this.index++)}catch(l){return void o.error(l)}this.nextOrComplete(a,s)}},{key:"nextOrComplete",value:function(a,o){var s=this.destination;Boolean(o)?s.next(a):(this.inclusive&&s.next(a),s.complete())}}]),e}(St);function Qo(n){for(var i=arguments.length,e=new Array(i>1?i-1:0),t=1;ta.height||t.scrollWidth>a.width}}]),n}(),Rj=function(){function n(i,e,t,a){var o=this;c(this,n),this._scrollDispatcher=i,this._ngZone=e,this._viewportRuler=t,this._config=a,this._scrollSubscription=null,this._detach=function(){o.disable(),o._overlayRef.hasAttached()&&o._ngZone.run(function(){return o._overlayRef.detach()})}}return d(n,[{key:"attach",value:function(e){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 a=e._viewportRuler.getViewportScrollPosition().top;Math.abs(a-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}}]),n}(),HT=function(){function n(){c(this,n)}return d(n,[{key:"enable",value:function(){}},{key:"disable",value:function(){}},{key:"attach",value:function(){}}]),n}();function Xy(n,i){return i.some(function(e){return n.bottome.bottom||n.righte.right})}function BT(n,i){return i.some(function(e){return n.tope.bottom||n.lefte.right})}var Nj=function(){function n(i,e,t,a){c(this,n),this._scrollDispatcher=i,this._viewportRuler=e,this._ngZone=t,this._config=a,this._scrollSubscription=null}return d(n,[{key:"attach",value:function(e){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 a=e._overlayRef.overlayElement.getBoundingClientRect(),o=e._viewportRuler.getViewportSize(),s=o.width,l=o.height;Xy(a,[{width:s,height:l,bottom:l,right:s,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}}]),n}(),Yj=function(){var n=d(function i(e,t,a,o){var s=this;c(this,i),this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=a,this.noop=function(){return new HT},this.close=function(l){return new Rj(s._scrollDispatcher,s._ngZone,s._viewportRuler,l)},this.block=function(){return new Fj(s._viewportRuler,s._document)},this.reposition=function(l){return new Nj(s._scrollDispatcher,s._viewportRuler,s._ngZone,l)},this._document=o});return n.\u0275fac=function(e){return new(e||n)(Ee(FT),Ee(Ml),Ee(bt),Ee(Ot))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),uf=d(function n(i){if(c(this,n),this.scrollStrategy=new HT,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,i)for(var t=0,a=Object.keys(i);tme&&(me=Re,J=pe)}}catch(Ye){Ce.e(Ye)}finally{Ce.f()}return this._isPushed=!1,void this._applyPosition(J.position,J.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(l.position,l.originPoint);this._applyPosition(l.position,l.originPoint)}}},{key:"detach",value:function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}},{key:"dispose",value:function(){this._isDisposed||(this._boundingBox&&wl(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(VT),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}},{key:"reapplyLastPosition",value:function(){if(!this._isDisposed&&this._platform.isBrowser){var e=this._lastPosition;if(e){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();var t=this._getOriginPoint(this._originRect,this._containerRect,e);this._applyPosition(e,t)}else this.apply()}}},{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,a){var o,u;if("center"==a.originX)o=e.left+e.width/2;else{var s=this._isRtl()?e.right:e.left,l=this._isRtl()?e.left:e.right;o="start"==a.originX?s:l}return t.left<0&&(o-=t.left),u="center"==a.originY?e.top+e.height/2:"top"==a.originY?e.top:e.bottom,t.top<0&&(u-=t.top),{x:o,y:u}}},{key:"_getOverlayPoint",value:function(e,t,a){var o;return o="center"==a.overlayX?-t.width/2:"start"===a.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,{x:e.x+o,y:e.y+("center"==a.overlayY?-t.height/2:"top"==a.overlayY?0:-t.height)}}},{key:"_getOverlayFit",value:function(e,t,a,o){var s=UT(t),l=e.x,u=e.y,f=this._getOffset(o,"x"),m=this._getOffset(o,"y");f&&(l+=f),m&&(u+=m);var V=0-u,J=u+s.height-a.height,me=this._subtractOverflows(s.width,0-l,l+s.width-a.width),Ce=this._subtractOverflows(s.height,V,J),Le=me*Ce;return{visibleArea:Le,isCompletelyWithinViewport:s.width*s.height===Le,fitsInViewportVertically:Ce===s.height,fitsInViewportHorizontally:me==s.width}}},{key:"_canFitWithFlexibleDimensions",value:function(e,t,a){if(this._hasFlexibleDimensions){var o=a.bottom-t.y,s=a.right-t.x,l=jT(this._overlayRef.getConfig().minHeight),u=jT(this._overlayRef.getConfig().minWidth);return(e.fitsInViewportVertically||null!=l&&l<=o)&&(e.fitsInViewportHorizontally||null!=u&&u<=s)}return!1}},{key:"_pushOverlayOnScreen",value:function(e,t,a){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};var C,I,o=UT(t),s=this._viewportRect,l=Math.max(e.x+o.width-s.width,0),u=Math.max(e.y+o.height-s.height,0),f=Math.max(s.top-a.top-e.y,0),m=Math.max(s.left-a.left-e.x,0);return this._previousPushAmount={x:C=o.width<=s.width?m||-l:e.xm&&!this._isInitialRender&&!this._growAfterOpen&&(l=e.y-m/2)}if("end"===t.overlayX&&!o||"start"===t.overlayX&&o)me=a.width-e.x+this._viewportMargin,V=e.x-this._viewportMargin;else if("start"===t.overlayX&&!o||"end"===t.overlayX&&o)J=e.x,V=a.right-e.x;else{var Ce=Math.min(a.right-e.x+a.left,e.x),Le=this._lastBoundingBoxSize.width;J=e.x-Ce,(V=2*Ce)>Le&&!this._isInitialRender&&!this._growAfterOpen&&(J=e.x-Le/2)}return{top:l,left:J,bottom:u,right:me,width:V,height:s}}},{key:"_setBoundingBoxStyles",value:function(e,t){var a=this._calculateBoundingBoxRect(e,t);!this._isInitialRender&&!this._growAfterOpen&&(a.height=Math.min(a.height,this._lastBoundingBoxSize.height),a.width=Math.min(a.width,this._lastBoundingBoxSize.width));var o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right=o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{var s=this._overlayRef.getConfig().maxHeight,l=this._overlayRef.getConfig().maxWidth;o.height=Rr(a.height),o.top=Rr(a.top),o.bottom=Rr(a.bottom),o.width=Rr(a.width),o.left=Rr(a.left),o.right=Rr(a.right),o.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",o.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",s&&(o.maxHeight=Rr(s)),l&&(o.maxWidth=Rr(l))}this._lastBoundingBoxSize=a,wl(this._boundingBox.style,o)}},{key:"_resetBoundingBoxStyles",value:function(){wl(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}},{key:"_resetOverlayElementStyles",value:function(){wl(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}},{key:"_setOverlayElementStyles",value:function(e,t){var a={},o=this._hasExactPosition(),s=this._hasFlexibleDimensions,l=this._overlayRef.getConfig();if(o){var u=this._viewportRuler.getViewportScrollPosition();wl(a,this._getExactOverlayY(t,e,u)),wl(a,this._getExactOverlayX(t,e,u))}else a.position="static";var f="",m=this._getOffset(t,"x"),C=this._getOffset(t,"y");m&&(f+="translateX(".concat(m,"px) ")),C&&(f+="translateY(".concat(C,"px)")),a.transform=f.trim(),l.maxHeight&&(o?a.maxHeight=Rr(l.maxHeight):s&&(a.maxHeight="")),l.maxWidth&&(o?a.maxWidth=Rr(l.maxWidth):s&&(a.maxWidth="")),wl(this._pane.style,a)}},{key:"_getExactOverlayY",value:function(e,t,a){var o={top:"",bottom:""},s=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,a)),"bottom"===e.overlayY?o.bottom="".concat(this._document.documentElement.clientHeight-(s.y+this._overlayRect.height),"px"):o.top=Rr(s.y),o}},{key:"_getExactOverlayX",value:function(e,t,a){var o={left:"",right:""},s=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,a)),"right"==(this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left")?o.right="".concat(this._document.documentElement.clientWidth-(s.x+this._overlayRect.width),"px"):o.left=Rr(s.x),o}},{key:"_getScrollVisibility",value:function(){var e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),a=this._scrollables.map(function(o){return o.getElementRef().nativeElement.getBoundingClientRect()});return{isOriginClipped:BT(e,a),isOriginOutsideView:Xy(e,a),isOverlayClipped:BT(t,a),isOverlayOutsideView:Xy(t,a)}}},{key:"_subtractOverflows",value:function(e){for(var t=arguments.length,a=new Array(t>1?t-1:0),o=1;o0&&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,a=this._overlayRef.getConfig(),o=a.width,s=a.height,l=a.maxWidth,u=a.maxHeight,f=!("100%"!==o&&"100vw"!==o||l&&"100%"!==l&&"100vw"!==l),m=!("100%"!==s&&"100vh"!==s||u&&"100%"!==u&&"100vh"!==u);e.position=this._cssPosition,e.marginLeft=f?"0":this._leftOffset,e.marginTop=m?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=this._rightOffset,f?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=m?"flex-start":this._alignItems}}},{key:"dispose",value:function(){if(!this._isDisposed&&this._overlayRef){var e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,a=t.style;t.classList.remove(zT),a.justifyContent=a.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}}}]),n}(),zj=function(){var n=function(){function i(e,t,a,o){c(this,i),this._viewportRuler=e,this._document=t,this._platform=a,this._overlayContainer=o}return d(i,[{key:"global",value:function(){return new Uj}},{key:"flexibleConnectedTo",value:function(t){return new jj(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(Ml),Ee(Ot),Ee(Sr),Ee(eb))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),WT=function(){var n=function(){function i(e){c(this,i),this._attachedOverlays=[],this._document=e}return d(i,[{key:"ngOnDestroy",value:function(){this.detach()}},{key:"add",value:function(t){this.remove(t),this._attachedOverlays.push(t)}},{key:"remove",value:function(t){var a=this._attachedOverlays.indexOf(t);a>-1&&this._attachedOverlays.splice(a,1),0===this._attachedOverlays.length&&this.detach()}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(Ot))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),Wj=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o){var s;return c(this,t),(s=e.call(this,a))._ngZone=o,s._keydownListener=function(l){for(var u=s._attachedOverlays,f=u.length-1;f>-1&&!(u[f]._keydownEvents.observers.length>0&&"break"===function(){var C=u[f]._keydownEvents;return s._ngZone?s._ngZone.run(function(){return C.next(l)}):C.next(l),"break"}());f--);},s}return d(t,[{key:"add",value:function(o){var s=this;T(O(t.prototype),"add",this).call(this,o),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(function(){return s._document.body.addEventListener("keydown",s._keydownListener)}):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}},{key:"detach",value:function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}]),t}(WT);return n.\u0275fac=function(e){return new(e||n)(Ee(Ot),Ee(bt,8))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),Gj=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s){var l;return c(this,t),(l=e.call(this,a))._platform=o,l._ngZone=s,l._cursorStyleIsSet=!1,l._pointerDownListener=function(u){l._pointerDownEventTarget=kl(u)},l._clickListener=function(u){var f=kl(u),m="click"===u.type&&l._pointerDownEventTarget?l._pointerDownEventTarget:f;l._pointerDownEventTarget=null;for(var C=l._attachedOverlays.slice(),I=function(Ce){var Le=C[Ce];if(Le._outsidePointerEvents.observers.length<1||!Le.hasAttached())return"continue";if(Le.overlayElement.contains(f)||Le.overlayElement.contains(m))return"break";var pe=Le._outsidePointerEvents;l._ngZone?l._ngZone.run(function(){return pe.next(u)}):pe.next(u)},V=C.length-1;V>-1;V--){var J=I(V);if("continue"!==J&&"break"===J)break}},l}return d(t,[{key:"add",value:function(o){var s=this;if(T(O(t.prototype),"add",this).call(this,o),!this._isAttached){var l=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(function(){return s._addEventListeners(l)}):this._addEventListeners(l),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=l.style.cursor,l.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}},{key:"detach",value:function(){if(this._isAttached){var o=this._document.body;o.removeEventListener("pointerdown",this._pointerDownListener,!0),o.removeEventListener("click",this._clickListener,!0),o.removeEventListener("auxclick",this._clickListener,!0),o.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(o.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}},{key:"_addEventListeners",value:function(o){o.addEventListener("pointerdown",this._pointerDownListener,!0),o.addEventListener("click",this._clickListener,!0),o.addEventListener("auxclick",this._clickListener,!0),o.addEventListener("contextmenu",this._clickListener,!0)}}]),t}(WT);return n.\u0275fac=function(e){return new(e||n)(Ee(Ot),Ee(Sr),Ee(bt,8))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),qj=0,Aa=function(){var n=function(){function i(e,t,a,o,s,l,u,f,m,C,I){c(this,i),this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=a,this._positionBuilder=o,this._keyboardDispatcher=s,this._injector=l,this._ngZone=u,this._document=f,this._directionality=m,this._location=C,this._outsideClickDispatcher=I}return d(i,[{key:"create",value:function(t){var a=this._createHostElement(),o=this._createPaneElement(a),s=this._createPortalOutlet(o),l=new uf(t);return l.direction=l.direction||this._directionality.value,new Bj(s,a,o,l,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}},{key:"position",value:function(){return this._positionBuilder}},{key:"_createPaneElement",value:function(t){var a=this._document.createElement("div");return a.id="cdk-overlay-".concat(qj++),a.classList.add("cdk-overlay-pane"),t.appendChild(a),a}},{key:"_createHostElement",value:function(){var t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}},{key:"_createPortalOutlet",value:function(t){return this._appRef||(this._appRef=this._injector.get(zh)),new _j(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(Yj),Ee(eb),Ee(Ts),Ee(zj),Ee(Wj),Ee(zn),Ee(bt),Ee(Ot),Ee(pa),Ee(zu),Ee(Gj))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),Kj=[{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"}],GT=new Ze("cdk-connected-overlay-scroll-strategy"),qT=function(){var n=d(function i(e){c(this,i),this.elementRef=e});return n.\u0275fac=function(e){return new(e||n)(B(yt))},n.\u0275dir=et({type:n,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),n}(),KT=function(){var n=function(){function i(e,t,a,o,s){c(this,i),this._overlay=e,this._dir=s,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=Ne.EMPTY,this._attachSubscription=Ne.EMPTY,this._detachSubscription=Ne.EMPTY,this._positionSubscription=Ne.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new pt,this.positionChange=new pt,this.attach=new pt,this.detach=new pt,this.overlayKeydown=new pt,this.overlayOutsideClick=new pt,this._templatePortal=new ac(t,a),this._scrollStrategyFactory=o,this.scrollStrategy=this._scrollStrategyFactory()}return d(i,[{key:"offsetX",get:function(){return this._offsetX},set:function(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}},{key:"offsetY",get:function(){return this._offsetY},set:function(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}},{key:"hasBackdrop",get:function(){return this._hasBackdrop},set:function(t){this._hasBackdrop=$n(t)}},{key:"lockPosition",get:function(){return this._lockPosition},set:function(t){this._lockPosition=$n(t)}},{key:"flexibleDimensions",get:function(){return this._flexibleDimensions},set:function(t){this._flexibleDimensions=$n(t)}},{key:"growAfterOpen",get:function(){return this._growAfterOpen},set:function(t){this._growAfterOpen=$n(t)}},{key:"push",get:function(){return this._push},set:function(t){this._push=$n(t)}},{key:"overlayRef",get:function(){return this._overlayRef}},{key:"dir",get:function(){return this._dir?this._dir.value:"ltr"}},{key:"ngOnDestroy",value:function(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}},{key:"ngOnChanges",value:function(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}},{key:"_createOverlay",value:function(){var t=this;(!this.positions||!this.positions.length)&&(this.positions=Kj);var a=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=a.attachments().subscribe(function(){return t.attach.emit()}),this._detachSubscription=a.detachments().subscribe(function(){return t.detach.emit()}),a.keydownEvents().subscribe(function(o){t.overlayKeydown.next(o),27===o.keyCode&&!t.disableClose&&!Qo(o)&&(o.preventDefault(),t._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(function(o){t.overlayOutsideClick.next(o)})}},{key:"_buildConfig",value:function(){var t=this._position=this.positionStrategy||this._createPositionStrategy(),a=new uf({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(a.width=this.width),(this.height||0===this.height)&&(a.height=this.height),(this.minWidth||0===this.minWidth)&&(a.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(a.minHeight=this.minHeight),this.backdropClass&&(a.backdropClass=this.backdropClass),this.panelClass&&(a.panelClass=this.panelClass),a}},{key:"_updatePositionStrategy",value:function(t){var a=this,o=this.positions.map(function(s){return{originX:s.originX,originY:s.originY,overlayX:s.overlayX,overlayY:s.overlayY,offsetX:s.offsetX||a.offsetX,offsetY:s.offsetY||a.offsetY,panelClass:s.panelClass||void 0}});return t.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(o).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}},{key:"_createPositionStrategy",value:function(){var t=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(t),t}},{key:"_getFlexibleConnectedPositionStrategyOrigin",value:function(){return this.origin instanceof qT?this.origin.elementRef:this.origin}},{key:"_attachOverlay",value:function(){var t=this;this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(function(a){t.backdropClick.emit(a)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function kj(n){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(e){return e.lift(new Mj(n,i))}}(function(){return t.positionChange.observers.length>0})).subscribe(function(a){t.positionChange.emit(a),0===t.positionChange.observers.length&&t._positionSubscription.unsubscribe()}))}},{key:"_detachOverlay",value:function(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Aa),B(Ai),B(ii),B(GT),B(pa,8))},n.\u0275dir=et({type:n,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[Nr]}),n}(),Zj={provide:GT,deps:[Aa],useFactory:function $j(n){return function(){return n.scrollStrategies.reposition()}}},cf=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({providers:[Aa,Zj],imports:[[rf,Zp,RT],RT]}),n}();function tb(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nc;return function(e){return e.lift(new Qj(n,i))}}var Qj=function(){function n(i,e){c(this,n),this.dueTime=i,this.scheduler=e}return d(n,[{key:"call",value:function(e,t){return t.subscribe(new Jj(e,this.dueTime,this.scheduler))}}]),n}(),Jj=function(n){h(e,n);var i=y(e);function e(t,a,o){var s;return c(this,e),(s=i.call(this,t)).dueTime=a,s.scheduler=o,s.debouncedSubscription=null,s.lastValue=null,s.hasValue=!1,s}return d(e,[{key:"_next",value:function(a){this.clearDebounce(),this.lastValue=a,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(Xj,this.dueTime,this))}},{key:"_complete",value:function(){this.debouncedNext(),this.destination.complete()}},{key:"debouncedNext",value:function(){if(this.clearDebounce(),this.hasValue){var a=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(a)}}},{key:"clearDebounce",value:function(){var a=this.debouncedSubscription;null!==a&&(this.remove(a),a.unsubscribe(),this.debouncedSubscription=null)}}]),e}(St);function Xj(n){n.debouncedNext()}function ZT(n){return function(i){return i.lift(new e8(n))}}var e8=function(){function n(i){c(this,n),this.total=i}return d(n,[{key:"call",value:function(e,t){return t.subscribe(new t8(e,this.total))}}]),n}(),t8=function(n){h(e,n);var i=y(e);function e(t,a){var o;return c(this,e),(o=i.call(this,t)).total=a,o.count=0,o}return d(e,[{key:"_next",value:function(a){++this.count>this.total&&this.destination.next(a)}}]),e}(St);function nb(n,i){return function(e){return e.lift(new n8(n,i))}}var n8=function(){function n(i,e){c(this,n),this.compare=i,this.keySelector=e}return d(n,[{key:"call",value:function(e,t){return t.subscribe(new r8(e,this.compare,this.keySelector))}}]),n}(),r8=function(n){h(e,n);var i=y(e);function e(t,a,o){var s;return c(this,e),(s=i.call(this,t)).keySelector=o,s.hasKey=!1,"function"==typeof a&&(s.compare=a),s}return d(e,[{key:"compare",value:function(a,o){return a===o}},{key:"_next",value:function(a){var o;try{var s=this.keySelector;o=s?s(a):a}catch(f){return this.destination.error(f)}var l=!1;if(this.hasKey)try{l=(0,this.compare)(this.key,o)}catch(f){return this.destination.error(f)}else this.hasKey=!0;l||(this.key=o,this.destination.next(a))}}]),e}(St),QT=function(){var n=function(){function i(){c(this,i)}return d(i,[{key:"create",value:function(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),i8=function(){var n=function(){function i(e){c(this,i),this._mutationObserverFactory=e,this._observedElements=new Map}return d(i,[{key:"ngOnDestroy",value:function(){var t=this;this._observedElements.forEach(function(a,o){return t._cleanupObserver(o)})}},{key:"observe",value:function(t){var a=this,o=Zo(t);return new fe(function(s){var u=a._observeElement(o).subscribe(s);return function(){u.unsubscribe(),a._unobserveElement(o)}})}},{key:"_observeElement",value:function(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{var a=new Ie,o=this._mutationObserverFactory.create(function(s){return a.next(s)});o&&o.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:o,stream:a,count:1})}return this._observedElements.get(t).stream}},{key:"_unobserveElement",value:function(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}},{key:"_cleanupObserver",value:function(t){if(this._observedElements.has(t)){var a=this._observedElements.get(t),o=a.observer,s=a.stream;o&&o.disconnect(),s.complete(),this._observedElements.delete(t)}}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(QT))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),rb=function(){var n=function(){function i(e,t,a){c(this,i),this._contentObserver=e,this._elementRef=t,this._ngZone=a,this.event=new pt,this._disabled=!1,this._currentSubscription=null}return d(i,[{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=$n(t),this._disabled?this._unsubscribe():this._subscribe()}},{key:"debounce",get:function(){return this._debounce},set:function(t){this._debounce=Oa(t),this._subscribe()}},{key:"ngAfterContentInit",value:function(){!this._currentSubscription&&!this.disabled&&this._subscribe()}},{key:"ngOnDestroy",value:function(){this._unsubscribe()}},{key:"_subscribe",value:function(){var t=this;this._unsubscribe();var a=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(function(){t._currentSubscription=(t.debounce?a.pipe(tb(t.debounce)):a).subscribe(t.event)})}},{key:"_unsubscribe",value:function(){var t;null===(t=this._currentSubscription)||void 0===t||t.unsubscribe()}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(i8),B(yt),B(bt))},n.\u0275dir=et({type:n,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),n}(),nv=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({providers:[QT]}),n}();function rv(n,i){return(n.getAttribute(i)||"").match(/\S+/g)||[]}var XT="cdk-describedby-message",iv="cdk-describedby-host",e2=0,s8=function(){var n=function(){function i(e,t){c(this,i),this._platform=t,this._messageRegistry=new Map,this._messagesContainer=null,this._id="".concat(e2++),this._document=e}return d(i,[{key:"describe",value:function(t,a,o){if(this._canBeDescribed(t,a)){var s=ib(a,o);"string"!=typeof a?(t2(a),this._messageRegistry.set(s,{messageElement:a,referenceCount:0})):this._messageRegistry.has(s)||this._createMessageElement(a,o),this._isElementDescribedByMessage(t,s)||this._addMessageReference(t,s)}}},{key:"removeDescription",value:function(t,a,o){var s;if(a&&this._isElementNode(t)){var l=ib(a,o);if(this._isElementDescribedByMessage(t,l)&&this._removeMessageReference(t,l),"string"==typeof a){var u=this._messageRegistry.get(l);u&&0===u.referenceCount&&this._deleteMessageElement(l)}0===(null===(s=this._messagesContainer)||void 0===s?void 0:s.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}}},{key:"ngOnDestroy",value:function(){for(var t,a=this._document.querySelectorAll("[".concat(iv,'="').concat(this._id,'"]')),o=0;o-1&&o!==e._activeItemIndex&&(e._activeItemIndex=o)}})}return d(n,[{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;return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Fr(function(a){return e._pressedLetters.push(a)}),tb(t),Ar(function(){return e._pressedLetters.length>0}),$e(function(){return e._pressedLetters.join("")})).subscribe(function(a){for(var o=e._getItemsArray(),s=1;s0&&void 0!==arguments[0])||arguments[0];return this._homeAndEnd=e,this}},{key:"setActiveItem",value:function(e){var t=this._activeItem;this.updateActiveItem(e),this._activeItem!==t&&this.change.next(this._activeItemIndex)}},{key:"onKeydown",value:function(e){var t=this,a=e.keyCode,s=["altKey","ctrlKey","metaKey","shiftKey"].every(function(l){return!e[l]||t._allowedModifierKeys.indexOf(l)>-1});switch(a){case 9:return void this.tabOut.next();case 40:if(this._vertical&&s){this.setNextItemActive();break}return;case 38:if(this._vertical&&s){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&s){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&s){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&s){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&s){this.setLastItemActive();break}return;default:return void((s||Qo(e,"shiftKey"))&&(e.key&&1===e.key.length?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(a>=65&&a<=90||a>=48&&a<=57)&&this._letterKeyStream.next(String.fromCharCode(a))))}this._pressedLetters=[],e.preventDefault()}},{key:"activeItemIndex",get:function(){return this._activeItemIndex}},{key:"activeItem",get:function(){return this._activeItem}},{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(),a="number"==typeof e?e:t.indexOf(e),o=t[a];this._activeItem=null==o?null:o,this._activeItemIndex=a}},{key:"_setActiveItemByDelta",value:function(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}},{key:"_setActiveInWrapMode",value:function(e){for(var t=this._getItemsArray(),a=1;a<=t.length;a++){var o=(this._activeItemIndex+e*a+t.length)%t.length;if(!this._skipPredicateFn(t[o]))return void this.setActiveItem(o)}}},{key:"_setActiveInDefaultMode",value:function(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}},{key:"_setActiveItemByIndex",value:function(e,t){var a=this._getItemsArray();if(a[e]){for(;this._skipPredicateFn(a[e]);)if(!a[e+=t])return;this.setActiveItem(e)}}},{key:"_getItemsArray",value:function(){return this._items instanceof Od?this._items.toArray():this._items}}]),n}(),l8=function(n){h(e,n);var i=y(e);function e(){return c(this,e),i.apply(this,arguments)}return d(e,[{key:"setActiveItem",value:function(a){this.activeItem&&this.activeItem.setInactiveStyles(),T(O(e.prototype),"setActiveItem",this).call(this,a),this.activeItem&&this.activeItem.setActiveStyles()}}]),e}(n2),r2=function(n){h(e,n);var i=y(e);function e(){var t;return c(this,e),(t=i.apply(this,arguments))._origin="program",t}return d(e,[{key:"setFocusOrigin",value:function(a){return this._origin=a,this}},{key:"setActiveItem",value:function(a){T(O(e.prototype),"setActiveItem",this).call(this,a),this.activeItem&&this.activeItem.focus(this._origin)}}]),e}(n2),a2=function(){var n=function(){function i(e){c(this,i),this._platform=e}return d(i,[{key:"isDisabled",value:function(t){return t.hasAttribute("disabled")}},{key:"isVisible",value:function(t){return function c8(n){return!!(n.offsetWidth||n.offsetHeight||"function"==typeof n.getClientRects&&n.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}},{key:"isTabbable",value:function(t){if(!this._platform.isBrowser)return!1;var a=function u8(n){try{return n.frameElement}catch(i){return null}}(function _8(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}(t));if(a&&(-1===s2(a)||!this.isVisible(a)))return!1;var o=t.nodeName.toLowerCase(),s=s2(t);return t.hasAttribute("contenteditable")?-1!==s:!("iframe"===o||"object"===o||this._platform.WEBKIT&&this._platform.IOS&&!function m8(n){var i=n.nodeName.toLowerCase(),e="input"===i&&n.type;return"text"===e||"password"===e||"select"===i||"textarea"===i}(t))&&("audio"===o?!!t.hasAttribute("controls")&&-1!==s:"video"===o?-1!==s&&(null!==s||this._platform.FIREFOX||t.hasAttribute("controls")):t.tabIndex>=0)}},{key:"isFocusable",value:function(t,a){return function g8(n){return!function f8(n){return function p8(n){return"input"==n.nodeName.toLowerCase()}(n)&&"hidden"==n.type}(n)&&(function d8(n){var i=n.nodeName.toLowerCase();return"input"===i||"select"===i||"button"===i||"textarea"===i}(n)||function h8(n){return function v8(n){return"a"==n.nodeName.toLowerCase()}(n)&&n.hasAttribute("href")}(n)||n.hasAttribute("contenteditable")||o2(n))}(t)&&!this.isDisabled(t)&&((null==a?void 0:a.ignoreVisibility)||this.isVisible(t))}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(Sr))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}();function o2(n){if(!n.hasAttribute("tabindex")||void 0===n.tabIndex)return!1;var i=n.getAttribute("tabindex");return!(!i||isNaN(parseInt(i,10)))}function s2(n){if(!o2(n))return null;var i=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(i)?-1:i}var y8=function(){function n(i,e,t,a){var o=this,s=arguments.length>4&&void 0!==arguments[4]&&arguments[4];c(this,n),this._element=i,this._checker=e,this._ngZone=t,this._document=a,this._hasAttached=!1,this.startAnchorListener=function(){return o.focusLastTabbableElement()},this.endAnchorListener=function(){return o.focusFirstTabbableElement()},this._enabled=!0,s||this.attachAnchors()}return d(n,[{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))}},{key:"destroy",value:function(){var e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.remove()),t&&(t.removeEventListener("focus",this.endAnchorListener),t.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}},{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(e){var t=this;return new Promise(function(a){t._executeOnStable(function(){return a(t.focusInitialElement(e))})})}},{key:"focusFirstTabbableElementWhenReady",value:function(e){var t=this;return new Promise(function(a){t._executeOnStable(function(){return a(t.focusFirstTabbableElement(e))})})}},{key:"focusLastTabbableElementWhenReady",value:function(e){var t=this;return new Promise(function(a){t._executeOnStable(function(){return a(t.focusLastTabbableElement(e))})})}},{key:"_getRegionBoundary",value:function(e){var t=this._element.querySelectorAll("[cdk-focus-region-".concat(e,"], ")+"[cdkFocusRegion".concat(e,"], ")+"[cdk-focus-".concat(e,"]"));return"start"==e?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}},{key:"focusInitialElement",value:function(e){var t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(t){if(!this._checker.isFocusable(t)){var a=this._getFirstTabbableElement(t);return null==a||a.focus(e),!!a}return t.focus(e),!0}return this.focusFirstTabbableElement(e)}},{key:"focusFirstTabbableElement",value:function(e){var t=this._getRegionBoundary("start");return t&&t.focus(e),!!t}},{key:"focusLastTabbableElement",value:function(e){var t=this._getRegionBoundary("end");return t&&t.focus(e),!!t}},{key:"hasAttached",value:function(){return this._hasAttached}},{key:"_getFirstTabbableElement",value:function(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;for(var t=e.children,a=0;a=0;a--){var o=t[a].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[a]):null;if(o)return o}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.pipe(nr(1)).subscribe(e)}}]),n}(),b8=function(){var n=function(){function i(e,t,a){c(this,i),this._checker=e,this._ngZone=t,this._document=a}return d(i,[{key:"create",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new y8(t,this._checker,this._ngZone,this._document,a)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(a2),Ee(bt),Ee(Ot))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}();function ab(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}function ob(n){var i=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!i||-1!==i.identifier||null!=i.radiusX&&1!==i.radiusX||null!=i.radiusY&&1!==i.radiusY)}var k8=new Ze("cdk-input-modality-detector-options"),M8={ignoreKeys:[18,17,224,91,16]},oc=yl({passive:!0,capture:!0}),C8=function(){var n=function(){function i(e,t,a,o){var s=this;c(this,i),this._platform=e,this._mostRecentTarget=null,this._modality=new jr(null),this._lastTouchMs=0,this._onKeydown=function(l){var u,f;(null===(f=null===(u=s._options)||void 0===u?void 0:u.ignoreKeys)||void 0===f?void 0:f.some(function(m){return m===l.keyCode}))||(s._modality.next("keyboard"),s._mostRecentTarget=kl(l))},this._onMousedown=function(l){Date.now()-s._lastTouchMs<650||(s._modality.next(ab(l)?"keyboard":"mouse"),s._mostRecentTarget=kl(l))},this._onTouchstart=function(l){ob(l)?s._modality.next("keyboard"):(s._lastTouchMs=Date.now(),s._modality.next("touch"),s._mostRecentTarget=kl(l))},this._options=Object.assign(Object.assign({},M8),o),this.modalityDetected=this._modality.pipe(ZT(1)),this.modalityChanged=this.modalityDetected.pipe(nb()),e.isBrowser&&t.runOutsideAngular(function(){a.addEventListener("keydown",s._onKeydown,oc),a.addEventListener("mousedown",s._onMousedown,oc),a.addEventListener("touchstart",s._onTouchstart,oc)})}return d(i,[{key:"mostRecentModality",get:function(){return this._modality.value}},{key:"ngOnDestroy",value:function(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,oc),document.removeEventListener("mousedown",this._onMousedown,oc),document.removeEventListener("touchstart",this._onTouchstart,oc))}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(Sr),Ee(bt),Ee(Ot),Ee(k8,8))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),w8=new Ze("liveAnnouncerElement",{providedIn:"root",factory:function S8(){return null}}),D8=new Ze("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),sb=function(){var n=function(){function i(e,t,a,o){c(this,i),this._ngZone=t,this._defaultOptions=o,this._document=a,this._liveElement=e||this._createLiveElement()}return d(i,[{key:"announce",value:function(t){for(var s,l,a=this,o=this._defaultOptions,u=arguments.length,f=new Array(u>1?u-1:0),m=1;m1&&void 0!==arguments[1]&&arguments[1],o=Zo(t);if(!this._platform.isBrowser||1!==o.nodeType)return Je(null);var s=IT(o)||this._getDocument(),l=this._elementInfo.get(o);if(l)return a&&(l.checkChildren=!0),l.subject;var u={checkChildren:a,subject:new Ie,rootNode:s};return this._elementInfo.set(o,u),this._registerGlobalListeners(u),u.subject}},{key:"stopMonitoring",value:function(t){var a=Zo(t),o=this._elementInfo.get(a);o&&(o.subject.complete(),this._setClasses(a),this._elementInfo.delete(a),this._removeGlobalListeners(o))}},{key:"focusVia",value:function(t,a,o){var s=this,l=Zo(t);l===this._getDocument().activeElement?this._getClosestElementsInfo(l).forEach(function(f){var m=ne(f,2);return s._originChanged(m[0],a,m[1])}):(this._setOrigin(a),"function"==typeof l.focus&&l.focus(o))}},{key:"ngOnDestroy",value:function(){var t=this;this._elementInfo.forEach(function(a,o){return t.stopMonitoring(o)})}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_getFocusOrigin",value:function(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}},{key:"_shouldBeAttributedToTouch",value:function(t){return 1===this._detectionMode||!!(null==t?void 0:t.contains(this._inputModalityDetector._mostRecentTarget))}},{key:"_setClasses",value:function(t,a){t.classList.toggle("cdk-focused",!!a),t.classList.toggle("cdk-touch-focused","touch"===a),t.classList.toggle("cdk-keyboard-focused","keyboard"===a),t.classList.toggle("cdk-mouse-focused","mouse"===a),t.classList.toggle("cdk-program-focused","program"===a)}},{key:"_setOrigin",value:function(t){var a=this,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this._ngZone.runOutsideAngular(function(){a._origin=t,a._originFromTouchInteraction="touch"===t&&o,0===a._detectionMode&&(clearTimeout(a._originTimeoutId),a._originTimeoutId=setTimeout(function(){return a._origin=null},a._originFromTouchInteraction?650:1))})}},{key:"_onFocus",value:function(t,a){var o=this._elementInfo.get(a),s=kl(t);!o||!o.checkChildren&&a!==s||this._originChanged(a,this._getFocusOrigin(s),o)}},{key:"_onBlur",value:function(t,a){var o=this._elementInfo.get(a);!o||o.checkChildren&&t.relatedTarget instanceof Node&&a.contains(t.relatedTarget)||(this._setClasses(a),this._emitOrigin(o.subject,null))}},{key:"_emitOrigin",value:function(t,a){this._ngZone.run(function(){return t.next(a)})}},{key:"_registerGlobalListeners",value:function(t){var a=this;if(this._platform.isBrowser){var o=t.rootNode,s=this._rootNodeFocusListenerCount.get(o)||0;s||this._ngZone.runOutsideAngular(function(){o.addEventListener("focus",a._rootNodeFocusAndBlurListener,av),o.addEventListener("blur",a._rootNodeFocusAndBlurListener,av)}),this._rootNodeFocusListenerCount.set(o,s+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(function(){a._getWindow().addEventListener("focus",a._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(hn(this._stopInputModalityDetector)).subscribe(function(l){a._setOrigin(l,!0)}))}}},{key:"_removeGlobalListeners",value:function(t){var a=t.rootNode;if(this._rootNodeFocusListenerCount.has(a)){var o=this._rootNodeFocusListenerCount.get(a);o>1?this._rootNodeFocusListenerCount.set(a,o-1):(a.removeEventListener("focus",this._rootNodeFocusAndBlurListener,av),a.removeEventListener("blur",this._rootNodeFocusAndBlurListener,av),this._rootNodeFocusListenerCount.delete(a))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}},{key:"_originChanged",value:function(t,a,o){this._setClasses(t,a),this._emitOrigin(o.subject,a),this._lastFocusOrigin=a}},{key:"_getClosestElementsInfo",value:function(t){var a=[];return this._elementInfo.forEach(function(o,s){(s===t||o.checkChildren&&s.contains(t))&&a.push([s,o])}),a}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(bt),Ee(Sr),Ee(C8),Ee(Ot,8),Ee(T8,8))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),L8=function(){var n=function(){function i(e,t){c(this,i),this._elementRef=e,this._focusMonitor=t,this.cdkFocusChange=new pt}return d(i,[{key:"ngAfterViewInit",value:function(){var t=this,a=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(a,1===a.nodeType&&a.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(function(o){return t.cdkFocusChange.emit(o)})}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(yt),B(Os))},n.\u0275dir=et({type:n,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),n}(),u2="cdk-high-contrast-black-on-white",c2="cdk-high-contrast-white-on-black",lb="cdk-high-contrast-active",d2=function(){var n=function(){function i(e,t){c(this,i),this._platform=e,this._document=t}return d(i,[{key:"getHighContrastMode",value:function(){if(!this._platform.isBrowser)return 0;var t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);var a=this._document.defaultView||window,o=a&&a.getComputedStyle?a.getComputedStyle(t):null,s=(o&&o.backgroundColor||"").replace(/ /g,"");switch(t.remove(),s){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}},{key:"_applyBodyHighContrastModeCssClasses",value:function(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){var t=this._document.body.classList;t.remove(lb),t.remove(u2),t.remove(c2),this._hasCheckedHighContrastMode=!0;var a=this.getHighContrastMode();1===a?(t.add(lb),t.add(u2)):2===a&&(t.add(lb),t.add(c2))}}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(Sr),Ee(Ot))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),f2=function(){var n=d(function i(e){c(this,i),e._applyBodyHighContrastModeCssClasses()});return n.\u0275fac=function(e){return new(e||n)(Ee(d2))},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({imports:[[nv]]}),n}();function E8(n,i){if(1&n&&Te(0,"mat-pseudo-checkbox",4),2&n){var e=K();S("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}function P8(n,i){if(1&n&&(E(0,"span",5),R(1),P()),2&n){var e=K();p(1),ye("(",e.group.label,")")}}var x8=["*"],A8=new Ze("mat-sanity-checks",{providedIn:"root",factory:function O8(){return!0}}),Pn=function(){var n=function(){function i(e,t,a){c(this,i),this._sanityChecks=t,this._document=a,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}return d(i,[{key:"_checkIsEnabled",value:function(t){return!Qy()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[t])}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(d2),Ee(A8,8),Ee(Ot))},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({imports:[[rf],rf]}),n}();function sc(n){return function(i){h(t,i);var e=y(t);function t(){var a;c(this,t);for(var o=arguments.length,s=new Array(o),l=0;l1&&void 0!==arguments[1]?arguments[1]:0;return function(e){h(a,e);var t=y(a);function a(){var o;c(this,a);for(var s=arguments.length,l=new Array(s),u=0;u2&&void 0!==arguments[2]?arguments[2]:{},s=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),l=Object.assign(Object.assign({},m2),o.animation);o.centered&&(e=s.left+s.width/2,t=s.top+s.height/2);var u=o.radius||B8(e,t,s),f=e-s.left,m=t-s.top,C=l.enterDuration,I=document.createElement("div");I.classList.add("mat-ripple-element"),I.style.left="".concat(f-u,"px"),I.style.top="".concat(m-u,"px"),I.style.height="".concat(2*u,"px"),I.style.width="".concat(2*u,"px"),null!=o.color&&(I.style.backgroundColor=o.color),I.style.transitionDuration="".concat(C,"ms"),this._containerElement.appendChild(I),H8(I),I.style.transform="scale(1)";var V=new R8(this,I,o);return V.state=0,this._activeRipples.add(V),o.persistent||(this._mostRecentTransientRipple=V),this._runTimeoutOutsideZone(function(){var J=V===a._mostRecentTransientRipple;V.state=1,!o.persistent&&(!J||!a._isPointerDown)&&V.fadeOut()},C),V}},{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 a=e.element,o=Object.assign(Object.assign({},m2),e.config.animation);a.style.transitionDuration="".concat(o.exitDuration,"ms"),a.style.opacity="0",e.state=2,this._runTimeoutOutsideZone(function(){e.state=3,a.remove()},o.exitDuration)}}},{key:"fadeOutAll",value:function(){this._activeRipples.forEach(function(e){return e.fadeOut()})}},{key:"fadeOutAllNonPersistent",value:function(){this._activeRipples.forEach(function(e){e.config.persistent||e.fadeOut()})}},{key:"setupTriggerEvents",value:function(e){var t=Zo(e);!t||t===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=t,this._registerEvents(g2))}},{key:"handleEvent",value:function(e){"mousedown"===e.type?this._onMousedown(e):"touchstart"===e.type?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(_2),this._pointerUpEventsRegistered=!0)}},{key:"_onMousedown",value:function(e){var t=ab(e),a=this._lastTouchStartEvent&&Date.now()1&&void 0!==arguments[1]?arguments[1]:0;this._ngZone.runOutsideAngular(function(){return setTimeout(e,t)})}},{key:"_registerEvents",value:function(e){var t=this;this._ngZone.runOutsideAngular(function(){e.forEach(function(a){t._triggerElement.addEventListener(a,t,ub)})})}},{key:"_removeTriggerEvents",value:function(){var e=this;this._triggerElement&&(g2.forEach(function(t){e._triggerElement.removeEventListener(t,e,ub)}),this._pointerUpEventsRegistered&&_2.forEach(function(t){e._triggerElement.removeEventListener(t,e,ub)}))}}]),n}();function H8(n){window.getComputedStyle(n).getPropertyValue("opacity")}function B8(n,i,e){var t=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),a=Math.max(Math.abs(i-e.top),Math.abs(i-e.bottom));return Math.sqrt(t*t+a*a)}var y2=new Ze("mat-ripple-global-options"),Jo=function(){var n=function(){function i(e,t,a,o,s){c(this,i),this._elementRef=e,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new Y8(this,t,e,a)}return d(i,[{key:"disabled",get:function(){return this._disabled},set:function(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}},{key:"trigger",get:function(){return this._trigger||this._elementRef.nativeElement},set:function(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}},{key:"ngOnInit",value:function(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}},{key:"ngOnDestroy",value:function(){this._rippleRenderer._removeTriggerEvents()}},{key:"fadeOutAll",value:function(){this._rippleRenderer.fadeOutAll()}},{key:"fadeOutAllNonPersistent",value:function(){this._rippleRenderer.fadeOutAllNonPersistent()}},{key:"rippleConfig",get:function(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}},{key:"rippleDisabled",get:function(){return this.disabled||!!this._globalOptions.disabled}},{key:"_setupTriggerEventsIfEnabled",value:function(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}},{key:"launch",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2?arguments[2]:void 0;return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,a,Object.assign(Object.assign({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),t))}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(yt),B(bt),B(Sr),B(y2,8),B(ai,8))},n.\u0275dir=et({type:n,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&fn("mat-ripple-unbounded",t.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),n}(),hf=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({imports:[[Pn],Pn]}),n}(),V8=function(){var n=d(function i(e){c(this,i),this._animationMode=e,this.state="unchecked",this.disabled=!1});return n.\u0275fac=function(e){return new(e||n)(B(ai,8))},n.\u0275cmp=qe({type:n,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,t){2&e&&fn("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}),n}(),j8=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({imports:[[Pn]]}),n}(),b2=new Ze("MAT_OPTION_PARENT_COMPONENT"),k2=new Ze("MatOptgroup"),U8=0,z8=d(function n(i){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];c(this,n),this.source=i,this.isUserInput=e}),W8=function(){var n=function(){function i(e,t,a,o){c(this,i),this._element=e,this._changeDetectorRef=t,this._parent=a,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-".concat(U8++),this.onSelectionChange=new pt,this._stateChanges=new Ie}return d(i,[{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(t){this._disabled=$n(t)}},{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()}},{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(t,a){var o=this._getHostElement();"function"==typeof o.focus&&o.focus(a)}},{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(t){(13===t.keyCode||32===t.keyCode)&&!Qo(t)&&(this._selectViaInteraction(),t.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 t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue=t,this._stateChanges.next())}}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"_emitSelectionChangeEvent",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.onSelectionChange.emit(new z8(this,t))}}]),i}();return n.\u0275fac=function(e){Ru()},n.\u0275dir=et({type:n,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),n}(),lc=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l){return c(this,t),e.call(this,a,o,s,l)}return d(t)}(W8);return n.\u0275fac=function(e){return new(e||n)(B(yt),B(Yn),B(b2,8),B(k2,8))},n.\u0275cmp=qe({type:n,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,t){1&e&&Se("click",function(){return t._selectViaInteraction()})("keydown",function(o){return t._handleKeydown(o)}),2&e&&(tl("id",t.id),Wt("tabindex",t._getTabIndex())("aria-selected",t._getAriaSelected())("aria-disabled",t.disabled.toString()),fn("mat-selected",t.selected)("mat-option-multiple",t.multiple)("mat-active",t.active)("mat-option-disabled",t.disabled))},exportAs:["matOption"],features:[vt],ngContentSelectors:x8,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(e,t){1&e&&(Gi(),q(0,E8,1,2,"mat-pseudo-checkbox",0),E(1,"span",1),hr(2),P(),q(3,P8,2,1,"span",2),Te(4,"div",3)),2&e&&(S("ngIf",t.multiple),p(3),S("ngIf",t.group&&t.group._inert),p(1),S("matRippleTrigger",t._getHostElement())("matRippleDisabled",t.disabled||t.disableRipple))},directives:[V8,Et,Jo],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;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}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.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}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),n}();function M2(n,i,e){if(e.length){for(var t=i.toArray(),a=e.toArray(),o=0,s=0;s*,.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:inline-flex;justify-content:center;align-items:center;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}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),n}(),Q8=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l){var u;return c(this,t),(u=e.call(this,o,a,s))._ngZone=l,u._haltDisabledEvents=function(f){u.disabled&&(f.preventDefault(),f.stopImmediatePropagation())},u}return d(t,[{key:"ngAfterViewInit",value:function(){var o=this;T(O(t.prototype),"ngAfterViewInit",this).call(this),this._ngZone?this._ngZone.runOutsideAngular(function(){o._elementRef.nativeElement.addEventListener("click",o._haltDisabledEvents)}):this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}},{key:"ngOnDestroy",value:function(){T(O(t.prototype),"ngOnDestroy",this).call(this),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}]),t}(bi);return n.\u0275fac=function(e){return new(e||n)(B(Os),B(yt),B(ai,8),B(bt,8))},n.\u0275cmp=qe({type:n,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:7,hostBindings:function(e,t){2&e&&(Wt("tabindex",t.disabled?-1:t.tabIndex||0)("disabled",t.disabled||null)("aria-disabled",t.disabled.toString()),fn("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-button-disabled",t.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[vt],attrs:w2,ngContentSelectors:S2,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&&(Gi(),E(0,"span",0),hr(1),P(),Te(2,"span",1)(3,"span",2)),2&e&&(p(2),fn("mat-button-ripple-round",t.isRoundButton||t.isIconButton),S("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[Jo],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .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;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.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-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;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.mat-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;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.mat-button-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;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.mat-button-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}.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:inline-flex;justify-content:center;align-items:center;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}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),n}(),D2=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({imports:[[hf,Pn],Pn]}),n}(),T2=new Set,J8=function(){var n=function(){function i(e){c(this,i),this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):e6}return d(i,[{key:"matchMedia",value:function(t){return(this._platform.WEBKIT||this._platform.BLINK)&&function X8(n){if(!T2.has(n))try{uc||((uc=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(uc)),uc.sheet&&(uc.sheet.insertRule("@media ".concat(n," {body{ }}"),0),T2.add(n))}catch(i){console.error(i)}}(t),this._matchMedia(t)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(Sr))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}();function e6(n){return{matches:"all"===n||""===n,media:n,addListener:function(){},removeListener:function(){}}}var cb=function(){var n=function(){function i(e,t){c(this,i),this._mediaMatcher=e,this._zone=t,this._queries=new Map,this._destroySubject=new Ie}return d(i,[{key:"ngOnDestroy",value:function(){this._destroySubject.next(),this._destroySubject.complete()}},{key:"isMatched",value:function(t){var a=this;return L2(Gp(t)).some(function(s){return a._registerQuery(s).mql.matches})}},{key:"observe",value:function(t){var a=this,l=yD(L2(Gp(t)).map(function(u){return a._registerQuery(u).observable}));return(l=dl(l.pipe(nr(1)),l.pipe(ZT(1),tb(0)))).pipe($e(function(u){var f={matches:!1,breakpoints:{}};return u.forEach(function(m){var C=m.matches,I=m.query;f.matches=f.matches||C,f.breakpoints[I]=C}),f}))}},{key:"_registerQuery",value:function(t){var a=this;if(this._queries.has(t))return this._queries.get(t);var o=this._mediaMatcher.matchMedia(t),l={observable:new fe(function(u){var f=function(C){return a._zone.run(function(){return u.next(C)})};return o.addListener(f),function(){o.removeListener(f)}}).pipe(ha(o),$e(function(u){return{query:t,matches:u.matches}}),hn(this._destroySubject)),mql:o};return this._queries.set(t,l),l}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(J8),Ee(bt))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}();function L2(n){return n.map(function(i){return i.split(",")}).reduce(function(i,e){return i.concat(e)}).map(function(i){return i.trim()})}function t6(n,i){if(1&n){var e=tt();E(0,"div",2)(1,"button",3),Se("click",function(){return ke(e),K().action()}),R(2),P()()}if(2&n){var t=K();p(2),ge(t.data.action)}}function n6(n,i){}var db=new Ze("MatSnackBarData"),sv=d(function n(){c(this,n),this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}),r6=Math.pow(2,31)-1,lv=function(){function n(i,e){var t=this;c(this,n),this._overlayRef=e,this._afterDismissed=new Ie,this._afterOpened=new Ie,this._onAction=new Ie,this._dismissedByAction=!1,this.containerInstance=i,this.onAction().subscribe(function(){return t.dismiss()}),i._onExit.subscribe(function(){return t._finishDismiss()})}return d(n,[{key:"dismiss",value:function(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}},{key:"dismissWithAction",value:function(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete()),clearTimeout(this._durationTimeoutId)}},{key:"closeWithAction",value:function(){this.dismissWithAction()}},{key:"_dismissAfter",value:function(e){var t=this;this._durationTimeoutId=setTimeout(function(){return t.dismiss()},Math.min(e,r6))}},{key:"_open",value:function(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}},{key:"_finishDismiss",value:function(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}},{key:"afterDismissed",value:function(){return this._afterDismissed}},{key:"afterOpened",value:function(){return this.containerInstance._onEnter}},{key:"onAction",value:function(){return this._onAction}}]),n}(),i6=function(){var n=function(){function i(e,t){c(this,i),this.snackBarRef=e,this.data=t}return d(i,[{key:"action",value:function(){this.snackBarRef.dismissWithAction()}},{key:"hasAction",get:function(){return!!this.data.action}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(lv),B(db))},n.\u0275cmp=qe({type:n,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[[1,"mat-simple-snack-bar-content"],["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(e,t){1&e&&(E(0,"span",0),R(1),P(),q(2,t6,3,1,"div",1)),2&e&&(p(1),ge(t.data.message),p(1),S("ngIf",t.hasAction))},directives:[bi,Et],styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}.mat-simple-snack-bar-content{overflow:hidden;text-overflow:ellipsis}\n"],encapsulation:2,changeDetection:0}),n}(),a6={snackBarState:Go("state",[Ri("void, hidden",kn({transform:"scale(0.8)",opacity:0})),Ri("visible",kn({transform:"scale(1)",opacity:1})),yi("* => visible",Fi("150ms cubic-bezier(0, 0, 0.2, 1)")),yi("* => void, * => hidden",Fi("75ms cubic-bezier(0.4, 0.0, 1, 1)",kn({opacity:0})))])},o6=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l,u){var f;return c(this,t),(f=e.call(this))._ngZone=a,f._elementRef=o,f._changeDetectorRef=s,f._platform=l,f.snackBarConfig=u,f._announceDelay=150,f._destroyed=!1,f._onAnnounce=new Ie,f._onExit=new Ie,f._onEnter=new Ie,f._animationState="void",f.attachDomPortal=function(m){return f._assertNotAttached(),f._applySnackBarClasses(),f._portalOutlet.attachDomPortal(m)},f._live="assertive"!==u.politeness||u.announcementMessage?"off"===u.politeness?"off":"polite":"assertive",f._platform.FIREFOX&&("polite"===f._live&&(f._role="status"),"assertive"===f._live&&(f._role="alert")),f}return d(t,[{key:"attachComponentPortal",value:function(o){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(o)}},{key:"attachTemplatePortal",value:function(o){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(o)}},{key:"onAnimationEnd",value:function(o){var l=o.toState;if(("void"===l&&"void"!==o.fromState||"hidden"===l)&&this._completeExit(),"visible"===l){var u=this._onEnter;this._ngZone.run(function(){u.next(),u.complete()})}}},{key:"enter",value:function(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}},{key:"exit",value:function(){return this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._onExit}},{key:"ngOnDestroy",value:function(){this._destroyed=!0,this._completeExit()}},{key:"_completeExit",value:function(){var o=this;this._ngZone.onMicrotaskEmpty.pipe(nr(1)).subscribe(function(){o._onExit.next(),o._onExit.complete()})}},{key:"_applySnackBarClasses",value:function(){var o=this._elementRef.nativeElement,s=this.snackBarConfig.panelClass;s&&(Array.isArray(s)?s.forEach(function(l){return o.classList.add(l)}):o.classList.add(s)),"center"===this.snackBarConfig.horizontalPosition&&o.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&o.classList.add("mat-snack-bar-top")}},{key:"_assertNotAttached",value:function(){this._portalOutlet.hasAttached()}},{key:"_screenReaderAnnounce",value:function(){var o=this;this._announceTimeoutId||this._ngZone.runOutsideAngular(function(){o._announceTimeoutId=setTimeout(function(){var s=o._elementRef.nativeElement.querySelector("[aria-hidden]"),l=o._elementRef.nativeElement.querySelector("[aria-live]");if(s&&l){var u=null;o._platform.isBrowser&&document.activeElement instanceof HTMLElement&&s.contains(document.activeElement)&&(u=document.activeElement),s.removeAttribute("aria-hidden"),l.appendChild(s),null==u||u.focus(),o._onAnnounce.next(),o._onAnnounce.complete()}},o._announceDelay)})}}]),t}($p);return n.\u0275fac=function(e){return new(e||n)(B(bt),B(yt),B(Yn),B(Sr),B(sv))},n.\u0275cmp=qe({type:n,selectors:[["snack-bar-container"]],viewQuery:function(e,t){var a;1&e&>(Cl,7),2&e&<(a=ut())&&(t._portalOutlet=a.first)},hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(e,t){1&e&&xh("@state.done",function(o){return t.onAnimationEnd(o)}),2&e&&Ah("@state",t._animationState)},features:[vt],decls:3,vars:2,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(e,t){1&e&&(E(0,"div",0),q(1,n6,0,0,"ng-template",1),P(),Te(2,"div")),2&e&&(p(2),Wt("aria-live",t._live)("role",t._role))},directives:[Cl],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}\n"],encapsulation:2,data:{animation:[a6.snackBarState]}}),n}(),P2=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({imports:[[cf,Zp,Mo,D2,Pn],Pn]}),n}(),fb=new Ze("mat-snack-bar-default-options",{providedIn:"root",factory:function s6(){return new sv}}),l6=function(){var n=function(){function i(e,t,a,o,s,l){c(this,i),this._overlay=e,this._live=t,this._injector=a,this._breakpointObserver=o,this._parentSnackBar=s,this._defaultConfig=l,this._snackBarRefAtThisLevel=null}return d(i,[{key:"_openedSnackBarRef",get:function(){var t=this._parentSnackBar;return t?t._openedSnackBarRef:this._snackBarRefAtThisLevel},set:function(t){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=t:this._snackBarRefAtThisLevel=t}},{key:"openFromComponent",value:function(t,a){return this._attach(t,a)}},{key:"openFromTemplate",value:function(t,a){return this._attach(t,a)}},{key:"open",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=arguments.length>2?arguments[2]:void 0,s=Object.assign(Object.assign({},this._defaultConfig),o);return s.data={message:t,action:a},s.announcementMessage===t&&(s.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,s)}},{key:"dismiss",value:function(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}},{key:"ngOnDestroy",value:function(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}},{key:"_attachSnackBarContainer",value:function(t,a){var s=zn.create({parent:a&&a.viewContainerRef&&a.viewContainerRef.injector||this._injector,providers:[{provide:sv,useValue:a}]}),l=new ic(this.snackBarContainerComponent,a.viewContainerRef,s),u=t.attach(l);return u.instance.snackBarConfig=a,u.instance}},{key:"_attach",value:function(t,a){var o=this,s=Object.assign(Object.assign(Object.assign({},new sv),this._defaultConfig),a),l=this._createOverlay(s),u=this._attachSnackBarContainer(l,s),f=new lv(u,l);if(t instanceof Ai){var m=new ac(t,null,{$implicit:s.data,snackBarRef:f});f.instance=u.attachTemplatePortal(m)}else{var C=this._createInjector(s,f),I=new ic(t,void 0,C),V=u.attachComponentPortal(I);f.instance=V.instance}return this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(hn(l.detachments())).subscribe(function(J){l.overlayElement.classList.toggle(o.handsetCssClass,J.matches)}),s.announcementMessage&&u._onAnnounce.subscribe(function(){o._live.announce(s.announcementMessage,s.politeness)}),this._animateSnackBar(f,s),this._openedSnackBarRef=f,this._openedSnackBarRef}},{key:"_animateSnackBar",value:function(t,a){var o=this;t.afterDismissed().subscribe(function(){o._openedSnackBarRef==t&&(o._openedSnackBarRef=null),a.announcementMessage&&o._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(function(){t.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):t.containerInstance.enter(),a.duration&&a.duration>0&&t.afterOpened().subscribe(function(){return t._dismissAfter(a.duration)})}},{key:"_createOverlay",value:function(t){var a=new uf;a.direction=t.direction;var o=this._overlay.position().global(),s="rtl"===t.direction,l="left"===t.horizontalPosition||"start"===t.horizontalPosition&&!s||"end"===t.horizontalPosition&&s,u=!l&&"center"!==t.horizontalPosition;return l?o.left("0"):u?o.right("0"):o.centerHorizontally(),"top"===t.verticalPosition?o.top("0"):o.bottom("0"),a.positionStrategy=o,this._overlay.create(a)}},{key:"_createInjector",value:function(t,a){return zn.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:lv,useValue:a},{provide:db,useValue:t.data}]})}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(Aa),Ee(sb),Ee(zn),Ee(cb),Ee(n,12),Ee(fb))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),u6=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l,u,f){var m;return c(this,t),(m=e.call(this,a,o,s,l,u,f)).simpleSnackBarComponent=i6,m.snackBarContainerComponent=o6,m.handsetCssClass="mat-snack-bar-handset",m}return d(t)}(l6);return n.\u0275fac=function(e){return new(e||n)(Ee(Aa),Ee(sb),Ee(zn),Ee(cb),Ee(n,12),Ee(fb))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:P2}),n}();function hb(){for(var n=arguments.length,i=new Array(n),e=0;e1&&void 0!==arguments[1]?arguments[1]:t;return this._fontCssClassesByAlias.set(t,a),this}},{key:"classNameForFontAlias",value:function(t){return this._fontCssClassesByAlias.get(t)||t}},{key:"setDefaultFontSetClass",value:function(t){return this._defaultFontSetClass=t,this}},{key:"getDefaultFontSetClass",value:function(){return this._defaultFontSetClass}},{key:"getSvgIconFromUrl",value:function(t){var a=this,o=this._sanitizer.sanitize(bn.RESOURCE_URL,t);if(!o)throw O2(t);var s=this._cachedIconsByUrl.get(o);return s?Je(fv(s)):this._loadSvgIconFromConfig(new Dl(t,null)).pipe(Fr(function(l){return a._cachedIconsByUrl.set(o,l)}),$e(function(l){return fv(l)}))}},{key:"getNamedSvgIcon",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=I2(a,t),s=this._svgIconConfigs.get(o);if(s)return this._getSvgFromConfig(s);if(s=this._getIconConfigFromResolvers(a,t))return this._svgIconConfigs.set(o,s),this._getSvgFromConfig(s);var l=this._iconSetConfigs.get(a);return l?this._getSvgFromIconSetConfigs(t,l):Ni(x2(o))}},{key:"ngOnDestroy",value:function(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}},{key:"_getSvgFromConfig",value:function(t){return t.svgText?Je(fv(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe($e(function(a){return fv(a)}))}},{key:"_getSvgFromIconSetConfigs",value:function(t,a){var o=this,s=this._extractIconWithNameFromAnySet(t,a);return s?Je(s):hb(a.filter(function(u){return!u.svgText}).map(function(u){return o._loadSvgIconSetFromConfig(u).pipe(Ki(function(f){var m=o._sanitizer.sanitize(bn.RESOURCE_URL,u.url),C="Loading icon set URL: ".concat(m," failed: ").concat(f.message);return o._errorHandler.handleError(new Error(C)),Je(null)}))})).pipe($e(function(){var u=o._extractIconWithNameFromAnySet(t,a);if(!u)throw x2(t);return u}))}},{key:"_extractIconWithNameFromAnySet",value:function(t,a){for(var o=a.length-1;o>=0;o--){var s=a[o];if(s.svgText&&s.svgText.toString().indexOf(t)>-1){var l=this._svgElementFromConfig(s),u=this._extractSvgIconFromSet(l,t,s.options);if(u)return u}}return null}},{key:"_loadSvgIconFromConfig",value:function(t){var a=this;return this._fetchIcon(t).pipe(Fr(function(o){return t.svgText=o}),$e(function(){return a._svgElementFromConfig(t)}))}},{key:"_loadSvgIconSetFromConfig",value:function(t){return t.svgText?Je(null):this._fetchIcon(t).pipe(Fr(function(a){return t.svgText=a}))}},{key:"_extractSvgIconFromSet",value:function(t,a,o){var s=t.querySelector('[id="'.concat(a,'"]'));if(!s)return null;var l=s.cloneNode(!0);if(l.removeAttribute("id"),"svg"===l.nodeName.toLowerCase())return this._setSvgAttributes(l,o);if("symbol"===l.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(l),o);var u=this._svgElementFromString(pf(""));return u.appendChild(l),this._setSvgAttributes(u,o)}},{key:"_svgElementFromString",value:function(t){var a=this._document.createElement("DIV");a.innerHTML=t;var o=a.querySelector("svg");if(!o)throw Error(" tag not found");return o}},{key:"_toSvgElement",value:function(t){for(var a=this._svgElementFromString(pf("")),o=t.attributes,s=0;s5&&void 0!==arguments[5])||arguments[5],u=arguments.length>6&&void 0!==arguments[6]&&arguments[6];c(this,i),this.store=e,this.currentLoader=t,this.compiler=a,this.parser=o,this.missingTranslationHandler=s,this.useDefaultLang=l,this.isolate=u,this.pending=!1,this._onTranslationChange=new pt,this._onLangChange=new pt,this._onDefaultLangChange=new pt,this._langs=[],this._translations={},this._translationRequests={}}return d(i,[{key:"onTranslationChange",get:function(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}},{key:"onLangChange",get:function(){return this.isolate?this._onLangChange:this.store.onLangChange}},{key:"onDefaultLangChange",get:function(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}},{key:"defaultLang",get:function(){return this.isolate?this._defaultLang:this.store.defaultLang},set:function(t){this.isolate?this._defaultLang=t:this.store.defaultLang=t}},{key:"currentLang",get:function(){return this.isolate?this._currentLang:this.store.currentLang},set:function(t){this.isolate?this._currentLang=t:this.store.currentLang=t}},{key:"langs",get:function(){return this.isolate?this._langs:this.store.langs},set:function(t){this.isolate?this._langs=t:this.store.langs=t}},{key:"translations",get:function(){return this.isolate?this._translations:this.store.translations},set:function(t){this.isolate?this._translations=t:this.store.translations=t}},{key:"setDefaultLang",value:function(t){var a=this;if(t!==this.defaultLang){var o=this.retrieveTranslations(t);void 0!==o?(this.defaultLang||(this.defaultLang=t),o.pipe(nr(1)).subscribe(function(s){a.changeDefaultLang(t)})):this.changeDefaultLang(t)}}},{key:"getDefaultLang",value:function(){return this.defaultLang}},{key:"use",value:function(t){var a=this;if(t===this.currentLang)return Je(this.translations[t]);var o=this.retrieveTranslations(t);return void 0!==o?(this.currentLang||(this.currentLang=t),o.pipe(nr(1)).subscribe(function(s){a.changeLang(t)}),o):(this.changeLang(t),Je(this.translations[t]))}},{key:"retrieveTranslations",value:function(t){var a;return void 0===this.translations[t]&&(this._translationRequests[t]=this._translationRequests[t]||this.getTranslation(t),a=this._translationRequests[t]),a}},{key:"getTranslation",value:function(t){var a=this;return this.pending=!0,this.loadingTranslations=this.currentLoader.getTranslation(t).pipe(Vl()),this.loadingTranslations.pipe(nr(1)).subscribe(function(o){a.translations[t]=a.compiler.compileTranslations(o,t),a.updateLangs(),a.pending=!1},function(o){a.pending=!1}),this.loadingTranslations}},{key:"setTranslation",value:function(t,a){var o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];a=this.compiler.compileTranslations(a,t),this.translations[t]=o&&this.translations[t]?H2(this.translations[t],a):a,this.updateLangs(),this.onTranslationChange.emit({lang:t,translations:this.translations[t]})}},{key:"getLangs",value:function(){return this.langs}},{key:"addLangs",value:function(t){var a=this;t.forEach(function(o){-1===a.langs.indexOf(o)&&a.langs.push(o)})}},{key:"updateLangs",value:function(){this.addLangs(Object.keys(this.translations))}},{key:"getParsedResult",value:function(t,a,o){var s;if(a instanceof Array){var m,l={},u=!1,f=W(a);try{for(f.s();!(m=f.n()).done;){var C=m.value;l[C]=this.getParsedResult(t,C,o),"function"==typeof l[C].subscribe&&(u=!0)}}catch(pe){f.e(pe)}finally{f.f()}if(u){var I,J,V=W(a);try{for(V.s();!(J=V.n()).done;){var me=J.value,Ce="function"==typeof l[me].subscribe?l[me]:Je(l[me]);I=void 0===I?Ce:Ci(I,Ce)}}catch(pe){V.e(pe)}finally{V.f()}return I.pipe(function C6(){return function k6(n,i){return arguments.length>=2?function(t){return de(Tp(n,i),Wd(1),Sy(i))(t)}:function(t){return de(Tp(function(a,o,s){return n(a,o,s+1)}),Wd(1))(t)}}(M6,[])}(),$e(function(pe){var Re={};return pe.forEach(function(Ye,Ge){Re[a[Ge]]=Ye}),Re}))}return l}if(t&&(s=this.parser.interpolate(this.parser.getValue(t,a),o)),void 0===s&&this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(s=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],a),o)),void 0===s){var Le={key:a,translateService:this};void 0!==o&&(Le.interpolateParams=o),s=this.missingTranslationHandler.handle(Le)}return void 0!==s?s:a}},{key:"get",value:function(t,a){var o=this;if(!Qa(t)||!t.length)throw new Error('Parameter "key" required');if(this.pending)return fe.create(function(l){var u=function(C){l.next(C),l.complete()},f=function(C){l.error(C)};o.loadingTranslations.subscribe(function(m){"function"==typeof(m=o.getParsedResult(o.compiler.compileTranslations(m,o.currentLang),t,a)).subscribe?m.subscribe(u,f):u(m)},f)});var s=this.getParsedResult(this.translations[this.currentLang],t,a);return"function"==typeof s.subscribe?s:Je(s)}},{key:"stream",value:function(t,a){var o=this;if(!Qa(t)||!t.length)throw new Error('Parameter "key" required');return dl(this.get(t,a),this.onLangChange.pipe(fa(function(s){var l=o.getParsedResult(s.translations,t,a);return"function"==typeof l.subscribe?l:Je(l)})))}},{key:"instant",value:function(t,a){if(!Qa(t)||!t.length)throw new Error('Parameter "key" required');var o=this.getParsedResult(this.translations[this.currentLang],t,a);if(void 0!==o.subscribe){if(t instanceof Array){var s={};return t.forEach(function(l,u){s[t[u]]=t[u]}),s}return t}return o}},{key:"set",value:function(t,a){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.currentLang;this.translations[o][t]=this.compiler.compile(a,o),this.updateLangs(),this.onTranslationChange.emit({lang:o,translations:this.translations[o]})}},{key:"changeLang",value:function(t){this.currentLang=t,this.onLangChange.emit({lang:t,translations:this.translations[t]}),this.defaultLang||this.changeDefaultLang(t)}},{key:"changeDefaultLang",value:function(t){this.defaultLang=t,this.onDefaultLangChange.emit({lang:t,translations:this.translations[t]})}},{key:"reloadLang",value:function(t){return this.resetLang(t),this.getTranslation(t)}},{key:"resetLang",value:function(t){this._translationRequests[t]=void 0,this.translations[t]=void 0}},{key:"getBrowserLang",value:function(){if("undefined"!=typeof window&&void 0!==window.navigator){var t=window.navigator.languages?window.navigator.languages[0]:null;return-1!==(t=t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage).indexOf("-")&&(t=t.split("-")[0]),-1!==t.indexOf("_")&&(t=t.split("_")[0]),t}}},{key:"getBrowserCultureLang",value:function(){if("undefined"!=typeof window&&void 0!==window.navigator){var t=window.navigator.languages?window.navigator.languages[0]:null;return t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(V2),Ee(vf),Ee(hv),Ee(pv),Ee(pb),Ee(gb),Ee(mb))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),Mt=function(){var n=function(){function i(e,t){c(this,i),this.translate=e,this._ref=t,this.value=""}return d(i,[{key:"updateValue",value:function(t,a,o){var s=this,l=function(m){s.value=void 0!==m?m:t,s.lastKey=t,s._ref.markForCheck()};if(o){var u=this.translate.getParsedResult(o,t,a);"function"==typeof u.subscribe?u.subscribe(l):l(u)}this.translate.get(t,a).subscribe(l)}},{key:"transform",value:function(t){var u,a=this;if(!t||0===t.length)return t;for(var o=arguments.length,s=new Array(o>1?o-1:0),l=1;l0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:i,providers:[t.loader||{provide:vf,useClass:R2},t.compiler||{provide:hv,useClass:Y2},t.parser||{provide:pv,useClass:B2},t.missingTranslationHandler||{provide:pb,useClass:N2},V2,{provide:mb,useValue:t.isolate},{provide:gb,useValue:t.useDefaultLang},ui]}}},{key:"forChild",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:i,providers:[t.loader||{provide:vf,useClass:R2},t.compiler||{provide:hv,useClass:Y2},t.parser||{provide:pv,useClass:B2},t.missingTranslationHandler||{provide:pb,useClass:N2},{provide:mb,useValue:t.isolate},{provide:gb,useValue:t.useDefaultLang},ui]}}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({}),n}();function w6(n,i){if(1&n&&(E(0,"div",5)(1,"mat-icon",6),R(2),P()()),2&n){var e=K();p(1),S("inline",!0),p(1),ge(e.config.icon)}}function S6(n,i){if(1&n&&(E(0,"div",7),R(1),Y(2,"translate"),Y(3,"translate"),P()),2&n){var e=K();p(1),xi(" ",U(2,2,"common.error")," ",xt(3,4,e.config.smallText,e.config.smallTextTranslationParams)," ")}}var cc=function(){return function(n){n.Error="error",n.Done="done",n.Warning="warning"}(cc||(cc={})),cc}(),dc=function(){return function(n){n.Red="red-background",n.Green="green-background",n.Yellow="yellow-background"}(dc||(dc={})),dc}(),D6=function(){var n=function(){function i(e,t){c(this,i),this.snackbarRef=t,this.config=e}return d(i,[{key:"close",value:function(){this.snackbarRef.dismiss()}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(db),B(lv))},n.\u0275cmp=qe({type:n,selectors:[["app-snack-bar"]],decls:9,vars:8,consts:[["class","icon-container",4,"ngIf"],[1,"text-container"],["class","second-line",4,"ngIf"],[1,"close-button-separator"],[1,"close-button",3,"click"],[1,"icon-container"],[3,"inline"],[1,"second-line"]],template:function(e,t){1&e&&(E(0,"div"),q(1,w6,3,2,"div",0),E(2,"div",1),R(3),Y(4,"translate"),q(5,S6,4,7,"div",2),P(),Te(6,"div",3),E(7,"mat-icon",4),Se("click",function(){return t.close()}),R(8,"close"),P()()),2&e&&(ua("main-container "+t.config.color),p(1),S("ngIf",t.config.icon),p(2),ye(" ",xt(4,5,t.config.text,t.config.textTranslationParams)," "),p(2),S("ngIf",t.config.smallText))},directives:[Et,Mn],pipes:[Mt],styles:['.cursor-pointer[_ngcontent-%COMP%], .close-button[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}.main-container[_ngcontent-%COMP%]{width:100%;display:flex;color:#fff;padding:15px;border-radius:5px}.red-background[_ngcontent-%COMP%]{background-color:#ea0606}.green-background[_ngcontent-%COMP%]{background-color:#1fb11f}.yellow-background[_ngcontent-%COMP%]{background-color:#f90}.icon-container[_ngcontent-%COMP%]{margin-right:10px;position:relative;top:1px}.text-container[_ngcontent-%COMP%]{flex-grow:1;margin-right:10px;font-size:1rem;word-break:break-word}.text-container[_ngcontent-%COMP%] .second-line[_ngcontent-%COMP%]{font-size:.8rem;opacity:.9}.close-button-separator[_ngcontent-%COMP%]{width:1px;margin-right:10px;background-color:#0000004d}.close-button[_ngcontent-%COMP%]{opacity:.7}.close-button[_ngcontent-%COMP%]:hover{opacity:1}mat-icon[_ngcontent-%COMP%]{position:relative;top:1px;-webkit-user-select:none;user-select:none}']}),n}(),Tl=function(){return function(n){n.NoConnection="NoConnection",n.Unknown="Unknown"}(Tl||(Tl={})),Tl}(),T6=d(function n(){c(this,n)}),U2="common.operation-error";function an(n){if(n&&n.type&&!n.srcElement)return n;var i=new T6;if(i.originalError=n,!n||"string"==typeof n)return i.originalServerErrorMsg=n||"",i.translatableErrorMsg=n||U2,i.type=Tl.Unknown,i;i.originalServerErrorMsg=function E6(n){if(n){if("string"==typeof n._body)return n._body;if(n.originalServerErrorMsg&&"string"==typeof n.originalServerErrorMsg)return n.originalServerErrorMsg;if(n.error&&"string"==typeof n.error)return n.error;if(n.error&&n.error.error&&n.error.error.message)return n.error.error.message;if(n.error&&n.error.error&&"string"==typeof n.error.error)return n.error.error;if(n.message)return n.message;if(n._body&&n._body.error)return n._body.error;try{return JSON.parse(n._body).error}catch(e){}}return null}(n);return null!=n.status&&(0===n.status||504===n.status)&&(i.type=Tl.NoConnection,i.translatableErrorMsg="common.no-connection-error"),i.type||(i.type=Tl.Unknown,i.translatableErrorMsg=i.originalServerErrorMsg?function L6(n){if(!n||0===n.length)return n;if(-1!==n.indexOf('"error":'))try{n=JSON.parse(n).error}catch(t){}if(n.startsWith("400")||n.startsWith("403")){var i=n.split(" - ",2);n=2===i.length?i[1]:n}var e=(n=n.trim()).substr(0,1);return e.toUpperCase()!==e&&(n=e.toUpperCase()+n.substr(1,n.length-1)),!n.endsWith(".")&&!n.endsWith(",")&&!n.endsWith(":")&&!n.endsWith(";")&&!n.endsWith("?")&&!n.endsWith("!")&&(n+="."),n}(i.originalServerErrorMsg):U2),i}var An=function(){var n=function(){function i(e){c(this,i),this.snackBar=e,this.lastWasTemporaryError=!1}return d(i,[{key:"showError",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;t=an(t),s=s?an(s):null,this.lastWasTemporaryError=o,this.show(t.translatableErrorMsg,a,s?s.translatableErrorMsg:null,l,cc.Error,dc.Red,15e3)}},{key:"showWarning",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.lastWasTemporaryError=!1,this.show(t,a,null,null,cc.Warning,dc.Yellow,15e3)}},{key:"showDone",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.lastWasTemporaryError=!1,this.show(t,a,null,null,cc.Done,dc.Green,5e3)}},{key:"closeCurrent",value:function(){this.snackBar.dismiss()}},{key:"closeCurrentIfTemporaryError",value:function(){this.lastWasTemporaryError&&this.snackBar.dismiss()}},{key:"show",value:function(t,a,o,s,l,u,f){this.snackBar.openFromComponent(D6,{duration:f,panelClass:"snackbar-container",data:{text:t,textTranslationParams:a,smallText:o,smallTextTranslationParams:s,icon:l,color:u}})}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(u6))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}();function P6(n,i){}var Zn=d(function n(){c(this,n),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="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0}),x6={dialogContainer:Go("dialogContainer",[Ri("void, exit",kn({opacity:0,transform:"scale(0.7)"})),Ri("enter",kn({transform:"none"})),yi("* => enter",Fi("150ms cubic-bezier(0, 0, 0.2, 1)",kn({transform:"none",opacity:1}))),yi("* => void, * => exit",Fi("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",kn({opacity:0})))])},O6=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l,u,f,m,C){var I;return c(this,t),(I=e.call(this))._elementRef=a,I._focusTrapFactory=o,I._changeDetectorRef=s,I._config=u,I._interactivityChecker=f,I._ngZone=m,I._focusMonitor=C,I._animationStateChanged=new pt,I._elementFocusedBeforeDialogWasOpened=null,I._closeInteractionType=null,I.attachDomPortal=function(V){return I._portalOutlet.hasAttached(),I._portalOutlet.attachDomPortal(V)},I._ariaLabelledBy=u.ariaLabelledBy||null,I._document=l,I}return d(t,[{key:"_initializeWithAttachedContent",value:function(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement()}},{key:"attachComponentPortal",value:function(o){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(o)}},{key:"attachTemplatePortal",value:function(o){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(o)}},{key:"_recaptureFocus",value:function(){this._containsFocus()||this._trapFocus()}},{key:"_forceFocus",value:function(o,s){this._interactivityChecker.isFocusable(o)||(o.tabIndex=-1,this._ngZone.runOutsideAngular(function(){o.addEventListener("blur",function(){return o.removeAttribute("tabindex")}),o.addEventListener("mousedown",function(){return o.removeAttribute("tabindex")})})),o.focus(s)}},{key:"_focusByCssSelector",value:function(o,s){var l=this._elementRef.nativeElement.querySelector(o);l&&this._forceFocus(l,s)}},{key:"_trapFocus",value:function(){var o=this,s=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||s.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(function(l){l||o._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}},{key:"_restoreFocus",value:function(){var o=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&o&&"function"==typeof o.focus){var s=Zy(),l=this._elementRef.nativeElement;(!s||s===this._document.body||s===l||l.contains(s))&&(this._focusMonitor?(this._focusMonitor.focusVia(o,this._closeInteractionType),this._closeInteractionType=null):o.focus())}this._focusTrap&&this._focusTrap.destroy()}},{key:"_setupFocusTrap",value:function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}},{key:"_capturePreviouslyFocusedElement",value:function(){this._document&&(this._elementFocusedBeforeDialogWasOpened=Zy())}},{key:"_focusDialogContainer",value:function(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}},{key:"_containsFocus",value:function(){var o=this._elementRef.nativeElement,s=Zy();return o===s||o.contains(s)}}]),t}($p);return n.\u0275fac=function(e){return new(e||n)(B(yt),B(b8),B(Yn),B(Ot,8),B(Zn),B(a2),B(bt),B(Os))},n.\u0275dir=et({type:n,viewQuery:function(e,t){var a;1&e&>(Cl,7),2&e&<(a=ut())&&(t._portalOutlet=a.first)},features:[vt]}),n}(),A6=function(){var n=function(i){h(t,i);var e=y(t);function t(){var a;return c(this,t),(a=e.apply(this,arguments))._state="enter",a}return d(t,[{key:"_onAnimationDone",value:function(o){var s=o.toState,l=o.totalTime;"enter"===s?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:l})):"exit"===s&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:l}))}},{key:"_onAnimationStart",value:function(o){var s=o.toState,l=o.totalTime;"enter"===s?this._animationStateChanged.next({state:"opening",totalTime:l}):("exit"===s||"void"===s)&&this._animationStateChanged.next({state:"closing",totalTime:l})}},{key:"_startExitAnimation",value:function(){this._state="exit",this._changeDetectorRef.markForCheck()}}]),t}(O6);return n.\u0275fac=function(){var i;return function(t){return(i||(i=or(n)))(t||n)}}(),n.\u0275cmp=qe({type:n,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&xh("@dialogContainer.start",function(o){return t._onAnimationStart(o)})("@dialogContainer.done",function(o){return t._onAnimationDone(o)}),2&e&&(tl("id",t._id),Wt("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),Ah("@dialogContainer",t._state))},features:[vt],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&q(0,P6,0,0,"ng-template",0)},directives:[Cl],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;box-sizing:content-box;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,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[x6.dialogContainer]}}),n}(),I6=0,Dr=function(){function n(i,e){var t=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat-dialog-".concat(I6++);c(this,n),this._overlayRef=i,this._containerInstance=e,this.id=a,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new Ie,this._afterClosed=new Ie,this._beforeClosed=new Ie,this._state=0,e._id=a,e._animationStateChanged.pipe(Ar(function(o){return"opened"===o.state}),nr(1)).subscribe(function(){t._afterOpened.next(),t._afterOpened.complete()}),e._animationStateChanged.pipe(Ar(function(o){return"closed"===o.state}),nr(1)).subscribe(function(){clearTimeout(t._closeFallbackTimeout),t._finishDialogClose()}),i.detachments().subscribe(function(){t._beforeClosed.next(t._result),t._beforeClosed.complete(),t._afterClosed.next(t._result),t._afterClosed.complete(),t.componentInstance=null,t._overlayRef.dispose()}),i.keydownEvents().pipe(Ar(function(o){return 27===o.keyCode&&!t.disableClose&&!Qo(o)})).subscribe(function(o){o.preventDefault(),_b(t,"keyboard")}),i.backdropClick().subscribe(function(){t.disableClose?t._containerInstance._recaptureFocus():_b(t,"mouse")})}return d(n,[{key:"close",value:function(e){var t=this;this._result=e,this._containerInstance._animationStateChanged.pipe(Ar(function(a){return"closing"===a.state}),nr(1)).subscribe(function(a){t._beforeClosed.next(e),t._beforeClosed.complete(),t._overlayRef.detachBackdrop(),t._closeFallbackTimeout=setTimeout(function(){return t._finishDialogClose()},a.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}},{key:"afterOpened",value:function(){return this._afterOpened}},{key:"afterClosed",value:function(){return this._afterClosed}},{key:"beforeClosed",value:function(){return this._beforeClosed}},{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._overlayRef.updateSize({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:"_finishDialogClose",value:function(){this._state=2,this._overlayRef.dispose()}},{key:"_getPositionStrategy",value:function(){return this._overlayRef.getConfig().positionStrategy}}]),n}();function _b(n,i,e){return void 0!==n._containerInstance&&(n._containerInstance._closeInteractionType=i),n.close(e)}var Ur=new Ze("MatDialogData"),z2=new Ze("mat-dialog-default-options"),W2=new Ze("mat-dialog-scroll-strategy"),R6={provide:W2,deps:[Aa],useFactory:function F6(n){return function(){return n.scrollStrategies.block()}}},N6=function(){var n=function(){function i(e,t,a,o,s,l,u,f,m,C){var I=this;c(this,i),this._overlay=e,this._injector=t,this._defaultOptions=a,this._parentDialog=o,this._overlayContainer=s,this._dialogRefConstructor=u,this._dialogContainerType=f,this._dialogDataToken=m,this._animationMode=C,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Ie,this._afterOpenedAtThisLevel=new Ie,this._ariaHiddenElements=new Map,this._dialogAnimatingOpen=!1,this.afterAllClosed=Dp(function(){return I.openDialogs.length?I._getAfterAllClosed():I._getAfterAllClosed().pipe(ha(void 0))}),this._scrollStrategy=l}return d(i,[{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:"_getAfterAllClosed",value:function(){var t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}},{key:"open",value:function(t,a){var o=this;if(a=function Y6(n,i){return Object.assign(Object.assign({},i),n)}(a,this._defaultOptions||new Zn),a.id&&this.getDialogById(a.id),this._dialogAnimatingOpen)return this._lastDialogRef;var s=this._createOverlay(a),l=this._attachDialogContainer(s,a);if("NoopAnimations"!==this._animationMode){var u=l._animationStateChanged.subscribe(function(m){"opening"===m.state&&(o._dialogAnimatingOpen=!0),"opened"===m.state&&(o._dialogAnimatingOpen=!1,u.unsubscribe())});this._animationStateSubscriptions||(this._animationStateSubscriptions=new Ne),this._animationStateSubscriptions.add(u)}var f=this._attachDialogContent(t,l,s,a);return this._lastDialogRef=f,this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(f),f.afterClosed().subscribe(function(){return o._removeOpenDialog(f)}),this.afterOpened.next(f),l._initializeWithAttachedContent(),f}},{key:"closeAll",value:function(){this._closeDialogs(this.openDialogs)}},{key:"getDialogById",value:function(t){return this.openDialogs.find(function(a){return a.id===t})}},{key:"ngOnDestroy",value:function(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._animationStateSubscriptions&&this._animationStateSubscriptions.unsubscribe()}},{key:"_createOverlay",value:function(t){var a=this._getOverlayConfig(t);return this._overlay.create(a)}},{key:"_getOverlayConfig",value:function(t){var a=new uf({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(a.backdropClass=t.backdropClass),a}},{key:"_attachDialogContainer",value:function(t,a){var s=zn.create({parent:a&&a.viewContainerRef&&a.viewContainerRef.injector||this._injector,providers:[{provide:Zn,useValue:a}]}),l=new ic(this._dialogContainerType,a.viewContainerRef,s,a.componentFactoryResolver);return t.attach(l).instance}},{key:"_attachDialogContent",value:function(t,a,o,s){var l=new this._dialogRefConstructor(o,a,s.id);if(t instanceof Ai)a.attachTemplatePortal(new ac(t,null,{$implicit:s.data,dialogRef:l}));else{var u=this._createInjector(s,l,a),f=a.attachComponentPortal(new ic(t,s.viewContainerRef,u,s.componentFactoryResolver));l.componentInstance=f.instance}return l.updateSize(s.width,s.height).updatePosition(s.position),l}},{key:"_createInjector",value:function(t,a,o){var s=t&&t.viewContainerRef&&t.viewContainerRef.injector,l=[{provide:this._dialogContainerType,useValue:o},{provide:this._dialogDataToken,useValue:t.data},{provide:this._dialogRefConstructor,useValue:a}];return t.direction&&(!s||!s.get(pa,null,Ct.Optional))&&l.push({provide:pa,useValue:{value:t.direction,change:Je()}}),zn.create({parent:s||this._injector,providers:l})}},{key:"_removeOpenDialog",value:function(t){var a=this.openDialogs.indexOf(t);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||(this._ariaHiddenElements.forEach(function(o,s){o?s.setAttribute("aria-hidden",o):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}},{key:"_hideNonDialogContentFromAssistiveTechnology",value:function(){var t=this._overlayContainer.getContainerElement();if(t.parentElement)for(var a=t.parentElement.children,o=a.length-1;o>-1;o--){var s=a[o];s!==t&&"SCRIPT"!==s.nodeName&&"STYLE"!==s.nodeName&&!s.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(s,s.getAttribute("aria-hidden")),s.setAttribute("aria-hidden","true"))}}},{key:"_closeDialogs",value:function(t){for(var a=t.length;a--;)t[a].close()}}]),i}();return n.\u0275fac=function(e){Ru()},n.\u0275dir=et({type:n}),n}(),Gn=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l,u,f,m,C){return c(this,t),e.call(this,a,o,l,f,m,u,Dr,A6,Ur,C)}return d(t)}(N6);return n.\u0275fac=function(e){return new(e||n)(Ee(Aa),Ee(zn),Ee(zu,8),Ee(z2,8),Ee(W2),Ee(n,12),Ee(eb),Ee(ai,8))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}(),H6=0,B6=function(){var n=function(){function i(e,t,a){c(this,i),this.dialogRef=e,this._elementRef=t,this._dialog=a,this.type="button"}return d(i,[{key:"ngOnInit",value:function(){this.dialogRef||(this.dialogRef=G2(this._elementRef,this._dialog.openDialogs))}},{key:"ngOnChanges",value:function(t){var a=t._matDialogClose||t._matDialogCloseResult;a&&(this.dialogResult=a.currentValue)}},{key:"_onButtonClick",value:function(t){_b(this.dialogRef,0===t.screenX&&0===t.screenY?"keyboard":"mouse",this.dialogResult)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Dr,8),B(yt),B(Gn))},n.\u0275dir=et({type:n,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(e,t){1&e&&Se("click",function(o){return t._onButtonClick(o)}),2&e&&Wt("aria-label",t.ariaLabel||null)("type",t.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[Nr]}),n}(),V6=function(){var n=function(){function i(e,t,a){c(this,i),this._dialogRef=e,this._elementRef=t,this._dialog=a,this.id="mat-dialog-title-".concat(H6++)}return d(i,[{key:"ngOnInit",value:function(){var t=this;this._dialogRef||(this._dialogRef=G2(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(function(){var a=t._dialogRef._containerInstance;a&&!a._ariaLabelledBy&&(a._ariaLabelledBy=t.id)})}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Dr,8),B(yt),B(Gn))},n.\u0275dir=et({type:n,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,t){2&e&&tl("id",t.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),n}(),yb=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=et({type:n,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),n}();function G2(n,i){for(var e=n.nativeElement.parentElement;e&&!e.classList.contains("mat-dialog-container");)e=e.parentElement;return e?i.find(function(t){return t.id===e.id}):null}var j6=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({providers:[Gn,R6],imports:[[cf,Zp,Pn],Pn]}),n}(),Kt={maxShortListElements:5,maxFullListElements:40,connectionRetryDelay:5e3,languages:[{code:"en",name:"English",iconName:"en.png"},{code:"es",name:"Espa\xf1ol",iconName:"es.png"},{code:"de",name:"Deutsch",iconName:"de.png"},{code:"pt",name:"Portugu\xeas (Brazil)",iconName:"pt.png"}],defaultLanguage:"en",smallModalWidth:"480px",mediumModalWidth:"640px",largeModalWidth:"900px",vpn:{hardcodedIpWhileDeveloping:!1}},U6=d(function n(i){c(this,n),Object.assign(this,i)}),vv=function(){var n=function(){function i(e){c(this,i),this.translate=e,this.currentLanguage=new Za(1),this.languages=new Za(1),this.storageKey="lang",this.languagesInternal=[],this.settingsLoaded=!1}return d(i,[{key:"loadLanguageSettings",value:function(){var t=this;if(!this.settingsLoaded){this.settingsLoaded=!0;var a=[];Kt.languages.forEach(function(o){var s=new U6(o);t.languagesInternal.push(s),a.push(s.code)}),this.languages.next(this.languagesInternal),this.translate.addLangs(a),this.translate.setDefaultLang(Kt.defaultLanguage),this.translate.onLangChange.subscribe(function(o){return t.onLanguageChanged(o)}),this.loadCurrentLanguage()}}},{key:"changeLanguage",value:function(t){this.translate.use(t)}},{key:"onLanguageChanged",value:function(t){this.currentLanguage.next(this.languagesInternal.find(function(a){return a.code===t.lang})),localStorage.setItem(this.storageKey,t.lang)}},{key:"loadCurrentLanguage",value:function(){var t=this,a=localStorage.getItem(this.storageKey);a=a||Kt.defaultLanguage,setTimeout(function(){return t.translate.use(a)},16)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(ui))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}();function z6(n,i){1&n&&(E(0,"div",3)(1,"div"),Te(2,"img",4),E(3,"div"),R(4),Y(5,"translate"),P()()()),2&n&&(p(4),ge(U(5,1,"common.window-size-error")))}var W6=function(i){return{background:i}},G6=function(){var n=d(function i(e,t,a,o,s,l){var u=this;c(this,i),this.inVpnClient=!1,s.afterOpened.subscribe(function(){return o.closeCurrent()}),a.events.subscribe(function(f){f instanceof Ju&&(o.closeCurrent(),s.closeAll(),window.scrollTo(0,0))}),s.afterAllClosed.subscribe(function(){return o.closeCurrentIfTemporaryError()}),l.loadLanguageSettings(),a.events.subscribe(function(){u.inVpnClient=a.url.includes("/vpn/")||a.url.includes("vpnlogin"),a.url.length>2&&(document.title=u.inVpnClient?"Skywire VPN":"Skywire Manager")})});return n.\u0275fac=function(e){return new(e||n)(B($i),B(zu),B(rn),B(An),B(Gn),B(vv))},n.\u0275cmp=qe({type:n,selectors:[["app-root"]],decls:4,vars:4,consts:[["class","size-alert d-md-none",4,"ngIf"],[1,"flex-1","content","container-fluid"],[3,"ngClass"],[1,"size-alert","d-md-none"],["src","assets/img/size-alert.png"]],template:function(e,t){1&e&&(q(0,z6,6,3,"div",0),E(1,"div",1),Te(2,"div",2)(3,"router-outlet"),P()),2&e&&(S("ngIf",t.inVpnClient),p(2),S("ngClass",Qe(2,W6,t.inVpnClient)))},directives:[Et,mr,Rp],pipes:[Mt],styles:[".size-alert[_ngcontent-%COMP%]{background-color:#000000d9;position:fixed;top:0;left:0;width:100%;height:100%;z-index:10000;display:inline-flex;align-items:center;justify-content:center;text-align:center;color:#fff}.size-alert[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{margin:0 40px;max-width:400px}[_nghost-%COMP%]{display:flex;flex-direction:column;justify-content:space-between;min-height:100%;height:100%}.content[_ngcontent-%COMP%]{padding:20px!important}.background[_ngcontent-%COMP%]{background-image:url(/assets/img/map.png);background-size:cover;background-position:center;opacity:.1;width:100%;height:100%;top:0;left:0;position:fixed}"]}),n}(),q6={url:"",deserializer:function(i){return JSON.parse(i.data)},serializer:function(i){return JSON.stringify(i)}},$6=function(n){h(e,n);var i=y(e);function e(t,a){var o;if(c(this,e),o=i.call(this),t instanceof fe)o.destination=a,o.source=t;else{var s=o._config=Object.assign({},q6);if(o._output=new Ie,"string"==typeof t)s.url=t;else for(var l in t)t.hasOwnProperty(l)&&(s[l]=t[l]);if(!s.WebSocketCtor&&WebSocket)s.WebSocketCtor=WebSocket;else if(!s.WebSocketCtor)throw new Error("no WebSocket constructor can be found");o.destination=new Za}return o}return d(e,[{key:"lift",value:function(a){var o=new e(this._config,this.destination);return o.operator=a,o.source=this,o}},{key:"_resetState",value:function(){this._socket=null,this.source||(this.destination=new Za),this._output=new Ie}},{key:"multiplex",value:function(a,o,s){var l=this;return new fe(function(u){try{l.next(a())}catch(m){u.error(m)}var f=l.subscribe(function(m){try{s(m)&&u.next(m)}catch(C){u.error(C)}},function(m){return u.error(m)},function(){return u.complete()});return function(){try{l.next(o())}catch(m){u.error(m)}f.unsubscribe()}})}},{key:"_connectSocket",value:function(){var a=this,o=this._config,s=o.WebSocketCtor,l=o.protocol,u=o.url,f=o.binaryType,m=this._output,C=null;try{C=l?new s(u,l):new s(u),this._socket=C,f&&(this._socket.binaryType=f)}catch(V){return void m.error(V)}var I=new Ne(function(){a._socket=null,C&&1===C.readyState&&C.close()});C.onopen=function(V){if(!a._socket)return C.close(),void a._resetState();var me=a._config.openObserver;me&&me.next(V);var Ce=a.destination;a.destination=St.create(function(Le){if(1===C.readyState)try{C.send((0,a._config.serializer)(Le))}catch(Re){a.destination.error(Re)}},function(Le){var pe=a._config.closingObserver;pe&&pe.next(void 0),Le&&Le.code?C.close(Le.code,Le.reason):m.error(new TypeError("WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }")),a._resetState()},function(){var Le=a._config.closingObserver;Le&&Le.next(void 0),C.close(),a._resetState()}),Ce&&Ce instanceof Za&&I.add(Ce.subscribe(a.destination))},C.onerror=function(V){a._resetState(),m.error(V)},C.onclose=function(V){a._resetState();var J=a._config.closeObserver;J&&J.next(V),V.wasClean?m.complete():m.error(V)},C.onmessage=function(V){try{m.next((0,a._config.deserializer)(V))}catch(me){m.error(me)}}}},{key:"_subscribe",value:function(a){var o=this,s=this.source;return s?s.subscribe(a):(this._socket||this._connectSocket(),this._output.subscribe(a),a.add(function(){var l=o._socket;0===o._output.observers.length&&(l&&1===l.readyState&&l.close(),o._resetState())}),a)}},{key:"unsubscribe",value:function(){var a=this._socket;a&&1===a.readyState&&a.close(),this._resetState(),T(O(e.prototype),"unsubscribe",this).call(this)}}]),e}(ct);function Z6(n){return new $6(n)}var fc=function(){return function(n){n.Json="json",n.Text="text"}(fc||(fc={})),fc}(),hc=function(){return function(n){n.Json="json"}(hc||(hc={})),hc}(),Ll=d(function n(i){c(this,n),this.responseType=fc.Json,this.requestType=hc.Json,this.ignoreAuth=!1,Object.assign(this,i)}),El=function(){var n=function(){function i(e,t,a){c(this,i),this.http=e,this.router=t,this.ngZone=a,this.apiPrefix="api/",this.wsApiPrefix="api/"}return d(i,[{key:"get",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this.request("GET",t,{},a)}},{key:"post",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return this.request("POST",t,a,o)}},{key:"put",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return this.request("PUT",t,a,o)}},{key:"delete",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this.request("DELETE",t,{},a)}},{key:"ws",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=location.protocol.startsWith("https")?"wss://":"ws://",s=o+location.host+"/"+this.wsApiPrefix+t,l=Z6(s);return l.next(a),l}},{key:"request",value:function(t,a,o,s){var l=this;return o=o||{},s=s||new Ll,a.startsWith("/")&&(a=a.substr(1,a.length-1)),this.http.request(t,this.apiPrefix+a,Object.assign(Object.assign({},this.getRequestOptions(s)),{responseType:s.responseType,withCredentials:!0,body:this.getPostBody(o,s)})).pipe($e(function(u){return l.successHandler(u)}),Ki(function(u){return l.errorHandler(u,s)}))}},{key:"getRequestOptions",value:function(t){var a={};return a.headers=new $u,t.requestType===hc.Json&&(a.headers=a.headers.append("Content-Type","application/json")),a}},{key:"getPostBody",value:function(t,a){if(a.requestType===hc.Json)return JSON.stringify(t);var o=new FormData;return Object.keys(t).forEach(function(s){return o.append(s,t[s])}),o}},{key:"successHandler",value:function(t){if("string"==typeof t&&"manager token is null"===t)throw new Error(t);return t}},{key:"errorHandler",value:function(t,a){var o=this;if(!a.ignoreAuth){if(401===t.status){var s=a.vpnKeyForAuth?["vpnlogin",a.vpnKeyForAuth]:["login"];this.ngZone.run(function(){return o.router.navigate(s,{replaceUrl:!0})})}if(t.error&&"string"==typeof t.error&&t.error.includes("change password")){var l=a.vpnKeyForAuth?["vpnlogin",a.vpnKeyForAuth]:["login"];this.ngZone.run(function(){return o.router.navigate(l,{replaceUrl:!0})})}}return Ni(an(t))}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(cl),Ee(rn),Ee(bt))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),gf=function(){var n=function(){function i(e){c(this,i),this.router=e,this.forceFailInternal=!1}return d(i,[{key:"forceFail",set:function(t){this.forceFailInternal=t}},{key:"canActivate",value:function(t,a){return this.checkIfCanActivate()}},{key:"canActivateChild",value:function(t,a){return this.checkIfCanActivate()}},{key:"checkIfCanActivate",value:function(){return this.forceFailInternal?(this.router.navigate(["login"],{replaceUrl:!0}),Je(!1)):Je(!0)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(rn))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),Xo=function(){return function(n){n[n.AuthDisabled=0]="AuthDisabled",n[n.Logged=1]="Logged",n[n.NotLogged=2]="NotLogged"}(Xo||(Xo={})),Xo}(),_f=function(){var n=function(){function i(e,t,a){c(this,i),this.apiService=e,this.translateService=t,this.authGuardService=a}return d(i,[{key:"login",value:function(t){var a=this;return this.apiService.post("login",{username:"admin",password:t},new Ll({ignoreAuth:!0})).pipe(Fr(function(o){if(!0!==o)throw new Error;a.authGuardService.forceFail=!1}))}},{key:"checkLogin",value:function(){var t=this;return this.apiService.get("user",new Ll({ignoreAuth:!0})).pipe($e(function(a){return a.username?Xo.Logged:Xo.AuthDisabled}),Ki(function(a){return(a=an(a)).originalError&&401===a.originalError.status?(t.authGuardService.forceFail=!0,Je(Xo.NotLogged)):Ni(a)}))}},{key:"logout",value:function(){var t=this;return this.apiService.post("logout",{}).pipe(Fr(function(a){if(!0!==a)throw new Error;t.authGuardService.forceFail=!0}))}},{key:"changePassword",value:function(t,a){var o=this;return this.apiService.post("change-password",{old_password:t,new_password:a},new Ll({responseType:fc.Text,ignoreAuth:!0})).pipe($e(function(s){if("string"==typeof s&&"true"===s.trim())return!0;throw"Please do not change the default password."===s?new Error(o.translateService.instant("settings.password.errors.default-password")):new Error(o.translateService.instant("common.operation-error"))}),Ki(function(s){return(s=an(s)).originalError&&401===s.originalError.status&&(s.translatableErrorMsg="settings.password.errors.bad-old-password"),Ni(s)}))}},{key:"initialConfig",value:function(t){return this.apiService.post("create-account",{username:"admin",password:t},new Ll({responseType:fc.Text,ignoreAuth:!0})).pipe($e(function(a){if("string"==typeof a&&"true"===a.trim())return!0;throw new Error(a)}),Ki(function(a){return(a=an(a)).originalError&&500===a.originalError.status&&(a.translatableErrorMsg="settings.password.initial-config.error"),Ni(a)}))}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(El),Ee(ui),Ee(gf))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}();function Q6(n,i){if(1&n&&(No(),Te(0,"circle",4)),2&n){var e=K(),t=sr(1);Ds("animation-name","mat-progress-spinner-stroke-rotate-"+e._spinnerAnimationLabel)("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),Wt("r",e._getCircleRadius())}}function J6(n,i){if(1&n&&(No(),Te(0,"circle",4)),2&n){var e=K(),t=sr(1);Ds("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),Wt("r",e._getCircleRadius())}}var e9=Sl(function(){return d(function n(i){c(this,n),this._elementRef=i})}(),"primary"),t9=new Ze("mat-progress-spinner-default-options",{providedIn:"root",factory:function n9(){return{diameter:100}}}),Ia=function(n){h(e,n);var i=y(e);function e(t,a,o,s,l,u,f,m){var C;c(this,e),(C=i.call(this,t))._document=o,C._diameter=100,C._value=0,C._resizeSubscription=Ne.EMPTY,C.mode="determinate";var I=e._diameters;return C._spinnerAnimationLabel=C._getSpinnerAnimationLabel(),I.has(o.head)||I.set(o.head,new Set([100])),C._noopAnimations="NoopAnimations"===s&&!!l&&!l._forceAnimations,"mat-spinner"===t.nativeElement.nodeName.toLowerCase()&&(C.mode="indeterminate"),l&&(l.diameter&&(C.diameter=l.diameter),l.strokeWidth&&(C.strokeWidth=l.strokeWidth)),a.isBrowser&&a.SAFARI&&f&&u&&m&&(C._resizeSubscription=f.change(150).subscribe(function(){"indeterminate"===C.mode&&m.run(function(){return u.markForCheck()})})),C}return d(e,[{key:"diameter",get:function(){return this._diameter},set:function(a){this._diameter=Oa(a),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}},{key:"strokeWidth",get:function(){return this._strokeWidth||this.diameter/10},set:function(a){this._strokeWidth=Oa(a)}},{key:"value",get:function(){return"determinate"===this.mode?this._value:0},set:function(a){this._value=Math.max(0,Math.min(100,Oa(a)))}},{key:"ngOnInit",value:function(){var a=this._elementRef.nativeElement;this._styleRoot=IT(a)||this._document.head,this._attachStyleNode(),a.classList.add("mat-progress-spinner-indeterminate-animation")}},{key:"ngOnDestroy",value:function(){this._resizeSubscription.unsubscribe()}},{key:"_getCircleRadius",value:function(){return(this.diameter-10)/2}},{key:"_getViewBox",value:function(){var a=2*this._getCircleRadius()+this.strokeWidth;return"0 0 ".concat(a," ").concat(a)}},{key:"_getStrokeCircumference",value:function(){return 2*Math.PI*this._getCircleRadius()}},{key:"_getStrokeDashOffset",value:function(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null}},{key:"_getCircleStrokeWidth",value:function(){return this.strokeWidth/this.diameter*100}},{key:"_getCircleTransformOrigin",value:function(a){var o,s=50*(null!==(o=a.currentScale)&&void 0!==o?o:1);return"".concat(s,"% ").concat(s,"%")}},{key:"_attachStyleNode",value:function(){var a=this._styleRoot,o=this._diameter,s=e._diameters,l=s.get(a);if(!l||!l.has(o)){var u=this._document.createElement("style");u.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),u.textContent=this._getAnimationText(),a.appendChild(u),l||s.set(a,l=new Set),l.add(o)}}},{key:"_getAnimationText",value:function(){var a=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,"".concat(.95*a)).replace(/END_VALUE/g,"".concat(.2*a)).replace(/DIAMETER/g,"".concat(this._spinnerAnimationLabel))}},{key:"_getSpinnerAnimationLabel",value:function(){return this.diameter.toString().replace(".","_")}}]),e}(e9);Ia._diameters=new WeakMap,Ia.\u0275fac=function(i){return new(i||Ia)(B(yt),B(Sr),B(Ot,8),B(ai,8),B(t9),B(Yn),B(Ml),B(bt))},Ia.\u0275cmp=qe({type:Ia,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner","mat-spinner"],hostVars:10,hostBindings:function(i,e){2&i&&(Wt("aria-valuemin","determinate"===e.mode?0:null)("aria-valuemax","determinate"===e.mode?100:null)("aria-valuenow","determinate"===e.mode?e.value:null)("mode",e.mode),Ds("width",e.diameter,"px")("height",e.diameter,"px"),fn("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[vt],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(i,e){1&i&&(No(),E(0,"svg",0,1),q(2,Q6,1,11,"circle",2),q(3,J6,1,9,"circle",3),P()),2&i&&(Ds("width",e.diameter,"px")("height",e.diameter,"px"),S("ngSwitch","indeterminate"===e.mode),Wt("viewBox",e._getViewBox()),p(2),S("ngSwitchCase",!0),p(1),S("ngSwitchCase",!1))},directives:[Wu,tp],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0});var i9=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({imports:[[Pn,Mo],Pn]}),n}(),a9=function(i){return{"white-theme":i}},es=function(){var n=d(function i(){c(this,i),this.showWhite=!0});return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=qe({type:n,selectors:[["app-loading-indicator"]],inputs:{showWhite:"showWhite"},decls:2,vars:4,consts:[[1,"container",3,"ngClass"],[3,"diameter"]],template:function(e,t){1&e&&(E(0,"div",0),Te(1,"mat-spinner",1),P()),2&e&&(S("ngClass",Qe(2,a9,t.showWhite)),p(1),S("diameter",50))},directives:[mr,Ia],styles:["[_nghost-%COMP%]{width:100%;height:100%;display:flex}.container[_ngcontent-%COMP%]{width:100%;align-self:center;display:flex;flex-direction:column;align-items:center}.container[_ngcontent-%COMP%] > mat-spinner[_ngcontent-%COMP%]{opacity:.5}"]}),n}(),o9=function(){var n=function(){function i(e,t){c(this,i),this.authService=e,this.router=t}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.verificationSubscription=this.authService.checkLogin().subscribe(function(a){t.router.navigate(a!==Xo.NotLogged?["nodes"]:["login"],{replaceUrl:!0})},function(){t.router.navigate(["nodes"],{replaceUrl:!0})})}},{key:"ngOnDestroy",value:function(){this.verificationSubscription.unsubscribe()}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(_f),B(rn))},n.\u0275cmp=qe({type:n,selectors:[["app-start"]],decls:2,vars:0,consts:[[1,"h-100","w-100"]],template:function(e,t){1&e&&(E(0,"div",0),Te(1,"app-loading-indicator"),P())},directives:[es],styles:[""]}),n}(),q2=function(){var n=function(){function i(e,t){c(this,i),this._renderer=e,this._elementRef=t,this.onChange=function(a){},this.onTouched=function(){}}return d(i,[{key:"setProperty",value:function(t,a){this._renderer.setProperty(this._elementRef.nativeElement,t,a)}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"registerOnChange",value:function(t){this.onChange=t}},{key:"setDisabledState",value:function(t){this.setProperty("disabled",t)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(bo),B(yt))},n.\u0275dir=et({type:n}),n}(),Pl=function(){var n=function(i){h(t,i);var e=y(t);function t(){return c(this,t),e.apply(this,arguments)}return d(t)}(q2);return n.\u0275fac=function(){var i;return function(t){return(i||(i=or(n)))(t||n)}}(),n.\u0275dir=et({type:n,features:[vt]}),n}(),Ja=new Ze("NgValueAccessor"),l9={provide:Ja,useExisting:yn(function(){return Qr}),multi:!0},c9=new Ze("CompositionEventMode"),Qr=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s){var l;return c(this,t),(l=e.call(this,a,o))._compositionMode=s,l._composing=!1,null==l._compositionMode&&(l._compositionMode=!function u9(){var n=ko()?ko().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}()),l}return d(t,[{key:"writeValue",value:function(o){this.setProperty("value",null==o?"":o)}},{key:"_handleInput",value:function(o){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(o)}},{key:"_compositionStart",value:function(){this._composing=!0}},{key:"_compositionEnd",value:function(o){this._composing=!1,this._compositionMode&&this.onChange(o)}}]),t}(q2);return n.\u0275fac=function(e){return new(e||n)(B(bo),B(yt),B(c9,8))},n.\u0275dir=et({type:n,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&&Se("input",function(o){return t._handleInput(o.target.value)})("blur",function(){return t.onTouched()})("compositionstart",function(){return t._compositionStart()})("compositionend",function(o){return t._compositionEnd(o.target.value)})},features:[un([l9]),vt]}),n}();function As(n){return null==n||0===n.length}function $2(n){return null!=n&&"number"==typeof n.length}var ci=new Ze("NgValidators"),Is=new Ze("NgAsyncValidators"),d9=/^(?=.{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])?)*$/,Cn=function(){function n(){c(this,n)}return d(n,null,[{key:"min",value:function(e){return function Z2(n){return function(i){if(As(i.value)||As(n))return null;var e=parseFloat(i.value);return!isNaN(e)&&en?{max:{max:n,actual:i.value}}:null}}(e)}},{key:"required",value:function(e){return function J2(n){return As(n.value)?{required:!0}:null}(e)}},{key:"requiredTrue",value:function(e){return function X2(n){return!0===n.value?null:{required:!0}}(e)}},{key:"email",value:function(e){return function eL(n){return As(n.value)||d9.test(n.value)?null:{email:!0}}(e)}},{key:"minLength",value:function(e){return function tL(n){return function(i){return As(i.value)||!$2(i.value)?null:i.value.lengthn?{maxlength:{requiredLength:n,actualLength:i.value.length}}:null}}function gv(n){return null}function iL(n){return null!=n}function aL(n){var i=Md(n)?it(n):n;return qg(i),i}function oL(n){var i={};return n.forEach(function(e){i=null!=e?Object.assign(Object.assign({},i),e):i}),0===Object.keys(i).length?null:i}function sL(n,i){return i.map(function(e){return e(n)})}function lL(n){return n.map(function(i){return function f9(n){return!n.validate}(i)?i:function(e){return i.validate(e)}})}function uL(n){if(!n)return null;var i=n.filter(iL);return 0==i.length?null:function(e){return oL(sL(e,i))}}function kb(n){return null!=n?uL(lL(n)):null}function cL(n){if(!n)return null;var i=n.filter(iL);return 0==i.length?null:function(e){return hb(sL(e,i).map(aL)).pipe($e(oL))}}function Mb(n){return null!=n?cL(lL(n)):null}function dL(n,i){return null===n?[i]:Array.isArray(n)?[].concat(ae(n),[i]):[n,i]}function fL(n){return n._rawValidators}function hL(n){return n._rawAsyncValidators}function Cb(n){return n?Array.isArray(n)?n:[n]:[]}function _v(n,i){return Array.isArray(n)?n.includes(i):n===i}function pL(n,i){var e=Cb(i);return Cb(n).forEach(function(a){_v(e,a)||e.push(a)}),e}function vL(n,i){return Cb(i).filter(function(e){return!_v(n,e)})}var mL=function(){function n(){c(this,n),this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}return d(n,[{key:"value",get:function(){return this.control?this.control.value:null}},{key:"valid",get:function(){return this.control?this.control.valid:null}},{key:"invalid",get:function(){return this.control?this.control.invalid:null}},{key:"pending",get:function(){return this.control?this.control.pending:null}},{key:"disabled",get:function(){return this.control?this.control.disabled:null}},{key:"enabled",get:function(){return this.control?this.control.enabled:null}},{key:"errors",get:function(){return this.control?this.control.errors:null}},{key:"pristine",get:function(){return this.control?this.control.pristine:null}},{key:"dirty",get:function(){return this.control?this.control.dirty:null}},{key:"touched",get:function(){return this.control?this.control.touched:null}},{key:"status",get:function(){return this.control?this.control.status:null}},{key:"untouched",get:function(){return this.control?this.control.untouched:null}},{key:"statusChanges",get:function(){return this.control?this.control.statusChanges:null}},{key:"valueChanges",get:function(){return this.control?this.control.valueChanges:null}},{key:"path",get:function(){return null}},{key:"_setValidators",value:function(e){this._rawValidators=e||[],this._composedValidatorFn=kb(this._rawValidators)}},{key:"_setAsyncValidators",value:function(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=Mb(this._rawAsyncValidators)}},{key:"validator",get:function(){return this._composedValidatorFn||null}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn||null}},{key:"_registerOnDestroy",value:function(e){this._onDestroyCallbacks.push(e)}},{key:"_invokeOnDestroyCallbacks",value:function(){this._onDestroyCallbacks.forEach(function(e){return e()}),this._onDestroyCallbacks=[]}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;this.control&&this.control.reset(e)}},{key:"hasError",value:function(e,t){return!!this.control&&this.control.hasError(e,t)}},{key:"getError",value:function(e,t){return this.control?this.control.getError(e,t):null}}]),n}(),Do=function(n){h(e,n);var i=y(e);function e(){var t;return c(this,e),(t=i.apply(this,arguments))._parent=null,t.name=null,t.valueAccessor=null,t}return d(e)}(mL),Yi=function(n){h(e,n);var i=y(e);function e(){return c(this,e),i.apply(this,arguments)}return d(e,[{key:"formDirective",get:function(){return null}},{key:"path",get:function(){return null}}]),e}(mL),gL=function(){function n(i){c(this,n),this._cd=i}return d(n,[{key:"is",value:function(e){var t,a,o;return"submitted"===e?!!(null===(t=this._cd)||void 0===t?void 0:t.submitted):!!(null===(o=null===(a=this._cd)||void 0===a?void 0:a.control)||void 0===o?void 0:o[e])}}]),n}(),Jr=function(){var n=function(i){h(t,i);var e=y(t);function t(a){return c(this,t),e.call(this,a)}return d(t)}(gL);return n.\u0275fac=function(e){return new(e||n)(B(Do,2))},n.\u0275dir=et({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&fn("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))},features:[vt]}),n}(),Xr=function(){var n=function(i){h(t,i);var e=y(t);function t(a){return c(this,t),e.call(this,a)}return d(t)}(gL);return n.\u0275fac=function(e){return new(e||n)(B(Yi,10))},n.\u0275dir=et({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,t){2&e&&fn("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))("ng-submitted",t.is("submitted"))},features:[vt]}),n}();function yf(n,i){Db(n,i),i.valueAccessor.writeValue(n.value),function b9(n,i){i.valueAccessor.registerOnChange(function(e){n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&yL(n,i)})}(n,i),function M9(n,i){var e=function(a,o){i.valueAccessor.writeValue(a),o&&i.viewToModelUpdate(a)};n.registerOnChange(e),i._registerOnDestroy(function(){n._unregisterOnChange(e)})}(n,i),function k9(n,i){i.valueAccessor.registerOnTouched(function(){n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&yL(n,i),"submit"!==n.updateOn&&n.markAsTouched()})}(n,i),function y9(n,i){if(i.valueAccessor.setDisabledState){var e=function(a){i.valueAccessor.setDisabledState(a)};n.registerOnDisabledChange(e),i._registerOnDestroy(function(){n._unregisterOnDisabledChange(e)})}}(n,i)}function kv(n,i){var t=function(){};i.valueAccessor&&(i.valueAccessor.registerOnChange(t),i.valueAccessor.registerOnTouched(t)),Cv(n,i),n&&(i._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(function(){}))}function Mv(n,i){n.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(i)})}function Db(n,i){var e=fL(n);null!==i.validator?n.setValidators(dL(e,i.validator)):"function"==typeof e&&n.setValidators([e]);var t=hL(n);null!==i.asyncValidator?n.setAsyncValidators(dL(t,i.asyncValidator)):"function"==typeof t&&n.setAsyncValidators([t]);var a=function(){return n.updateValueAndValidity()};Mv(i._rawValidators,a),Mv(i._rawAsyncValidators,a)}function Cv(n,i){var e=!1;if(null!==n){if(null!==i.validator){var t=fL(n);if(Array.isArray(t)&&t.length>0){var a=t.filter(function(u){return u!==i.validator});a.length!==t.length&&(e=!0,n.setValidators(a))}}if(null!==i.asyncValidator){var o=hL(n);if(Array.isArray(o)&&o.length>0){var s=o.filter(function(u){return u!==i.asyncValidator});s.length!==o.length&&(e=!0,n.setAsyncValidators(s))}}}var l=function(){};return Mv(i._rawValidators,l),Mv(i._rawAsyncValidators,l),e}function yL(n,i){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),i.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function bL(n,i){Db(n,i)}function kL(n,i){n._syncPendingControls(),i.forEach(function(e){var t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function Eb(n,i){var e=n.indexOf(i);e>-1&&n.splice(e,1)}var bf="VALID",wv="INVALID",pc="PENDING",kf="DISABLED";function xb(n){return(Sv(n)?n.validators:n)||null}function ML(n){return Array.isArray(n)?kb(n):n||null}function Ob(n,i){return(Sv(i)?i.asyncValidators:n)||null}function CL(n){return Array.isArray(n)?Mb(n):n||null}function Sv(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}var Ab=function(i){return i instanceof Xa},Dv=function(i){return i instanceof xl},wL=function(i){return i instanceof LL};function SL(n){return Ab(n)?n.value:n.getRawValue()}function DL(n,i){var e=Dv(n),t=n.controls;if(!(e?Object.keys(t):t).length)throw new dt(1e3,"");if(!t[i])throw new dt(1001,"")}function TL(n,i){Dv(n),n._forEachChild(function(t,a){if(void 0===i[a])throw new dt(1002,"")})}var Ib=function(){function n(i,e){c(this,n),this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=function(){},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=i,this._rawAsyncValidators=e,this._composedValidatorFn=ML(this._rawValidators),this._composedAsyncValidatorFn=CL(this._rawAsyncValidators)}return d(n,[{key:"validator",get:function(){return this._composedValidatorFn},set:function(e){this._rawValidators=this._composedValidatorFn=e}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn},set:function(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}},{key:"parent",get:function(){return this._parent}},{key:"valid",get:function(){return this.status===bf}},{key:"invalid",get:function(){return this.status===wv}},{key:"pending",get:function(){return this.status==pc}},{key:"disabled",get:function(){return this.status===kf}},{key:"enabled",get:function(){return this.status!==kf}},{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:"setValidators",value:function(e){this._rawValidators=e,this._composedValidatorFn=ML(e)}},{key:"setAsyncValidators",value:function(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=CL(e)}},{key:"addValidators",value:function(e){this.setValidators(pL(e,this._rawValidators))}},{key:"addAsyncValidators",value:function(e){this.setAsyncValidators(pL(e,this._rawAsyncValidators))}},{key:"removeValidators",value:function(e){this.setValidators(vL(e,this._rawValidators))}},{key:"removeAsyncValidators",value:function(e){this.setAsyncValidators(vL(e,this._rawAsyncValidators))}},{key:"hasValidator",value:function(e){return _v(this._rawValidators,e)}},{key:"hasAsyncValidator",value:function(e){return _v(this._rawAsyncValidators,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(t){t.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(t){t.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=pc,!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=kf,this.errors=null,this._forEachChild(function(a){a.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(a){return a(!0)})}},{key:"enable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status=bf,this._forEachChild(function(a){a.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(a){return a(!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(),(this.status===bf||this.status===pc)&&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()?kf:bf}},{key:"_runValidator",value:function(){return this.validator?this.validator(this):null}},{key:"_runAsyncValidator",value:function(e){var t=this;if(this.asyncValidator){this.status=pc,this._hasOwnPendingAsyncValidator=!0;var a=aL(this.asyncValidator(this));this._asyncValidationSubscription=a.subscribe(function(o){t._hasOwnPendingAsyncValidator=!1,t.setErrors(o,{emitEvent:e})})}}},{key:"_cancelExistingSubscription",value:function(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}},{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 D9(n,i,e){if(null==i||(Array.isArray(i)||(i=i.split(e)),Array.isArray(i)&&0===i.length))return null;var t=n;return i.forEach(function(a){t=Dv(t)?t.controls.hasOwnProperty(a)?t.controls[a]:null:wL(t)&&t.at(a)||null}),t}(this,e,".")}},{key:"getError",value:function(e,t){var a=t?this.get(t):this;return a&&a.errors?a.errors[e]:null}},{key:"hasError",value:function(e,t){return!!this.getError(e,t)}},{key:"root",get:function(){for(var e=this;e._parent;)e=e._parent;return e}},{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 pt,this.statusChanges=new pt}},{key:"_calculateStatus",value:function(){return this._allControlsDisabled()?kf:this.errors?wv:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(pc)?pc:this._anyControlsHaveStatus(wv)?wv:bf}},{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){Sv(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}},{key:"_parentMarkedDirty",value:function(e){return!e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}]),n}(),Xa=function(n){h(e,n);var i=y(e);function e(){var t,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,o=arguments.length>1?arguments[1]:void 0,s=arguments.length>2?arguments[2]:void 0;return c(this,e),(t=i.call(this,xb(o),Ob(s,o))).defaultValue=null,t._onChange=[],t._pendingChange=!1,t._applyFormState(a),t._setUpdateStrategy(o),t._initObservables(),t.updateValueAndValidity({onlySelf:!0,emitEvent:!!t.asyncValidator}),Sv(o)&&o.initialValueIsDefault&&(t.defaultValue=t._isBoxedValue(a)?a.value:a),t}return d(e,[{key:"setValue",value:function(a){var o=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.value=this._pendingValue=a,this._onChange.length&&!1!==s.emitModelToViewChange&&this._onChange.forEach(function(l){return l(o.value,!1!==s.emitViewToModelChange)}),this.updateValueAndValidity(s)}},{key:"patchValue",value:function(a){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.setValue(a,o)}},{key:"reset",value:function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.defaultValue,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._applyFormState(a),this.markAsPristine(o),this.markAsUntouched(o),this.setValue(this.value,o),this._pendingChange=!1}},{key:"_updateValue",value:function(){}},{key:"_anyControls",value:function(a){return!1}},{key:"_allControlsDisabled",value:function(){return this.disabled}},{key:"registerOnChange",value:function(a){this._onChange.push(a)}},{key:"_unregisterOnChange",value:function(a){Eb(this._onChange,a)}},{key:"registerOnDisabledChange",value:function(a){this._onDisabledChange.push(a)}},{key:"_unregisterOnDisabledChange",value:function(a){Eb(this._onDisabledChange,a)}},{key:"_forEachChild",value:function(a){}},{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(a){this._isBoxedValue(a)?(this.value=this._pendingValue=a.value,a.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=a}}]),e}(Ib),xl=function(n){h(e,n);var i=y(e);function e(t,a,o){var s;return c(this,e),(s=i.call(this,xb(a),Ob(o,a))).controls=t,s._initObservables(),s._setUpdateStrategy(a),s._setUpControls(),s.updateValueAndValidity({onlySelf:!0,emitEvent:!!s.asyncValidator}),s}return d(e,[{key:"registerControl",value:function(a,o){return this.controls[a]?this.controls[a]:(this.controls[a]=o,o.setParent(this),o._registerOnCollectionChange(this._onCollectionChange),o)}},{key:"addControl",value:function(a,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.registerControl(a,o),this.updateValueAndValidity({emitEvent:s.emitEvent}),this._onCollectionChange()}},{key:"removeControl",value:function(a){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[a]&&this.controls[a]._registerOnCollectionChange(function(){}),delete this.controls[a],this.updateValueAndValidity({emitEvent:o.emitEvent}),this._onCollectionChange()}},{key:"setControl",value:function(a,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[a]&&this.controls[a]._registerOnCollectionChange(function(){}),delete this.controls[a],o&&this.registerControl(a,o),this.updateValueAndValidity({emitEvent:s.emitEvent}),this._onCollectionChange()}},{key:"contains",value:function(a){return this.controls.hasOwnProperty(a)&&this.controls[a].enabled}},{key:"setValue",value:function(a){var o=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};TL(this,a),Object.keys(a).forEach(function(l){DL(o,l),o.controls[l].setValue(a[l],{onlySelf:!0,emitEvent:s.emitEvent})}),this.updateValueAndValidity(s)}},{key:"patchValue",value:function(a){var o=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=a&&(Object.keys(a).forEach(function(l){o.controls[l]&&o.controls[l].patchValue(a[l],{onlySelf:!0,emitEvent:s.emitEvent})}),this.updateValueAndValidity(s))}},{key:"reset",value:function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(s,l){s.reset(a[l],{onlySelf:!0,emitEvent:o.emitEvent})}),this._updatePristine(o),this._updateTouched(o),this.updateValueAndValidity(o)}},{key:"getRawValue",value:function(){return this._reduceChildren({},function(a,o,s){return a[s]=SL(o),a})}},{key:"_syncPendingControls",value:function(){var a=this._reduceChildren(!1,function(o,s){return!!s._syncPendingControls()||o});return a&&this.updateValueAndValidity({onlySelf:!0}),a}},{key:"_forEachChild",value:function(a){var o=this;Object.keys(this.controls).forEach(function(s){var l=o.controls[s];l&&a(l,s)})}},{key:"_setUpControls",value:function(){var a=this;this._forEachChild(function(o){o.setParent(a),o._registerOnCollectionChange(a._onCollectionChange)})}},{key:"_updateValue",value:function(){this.value=this._reduceValue()}},{key:"_anyControls",value:function(a){for(var o=0,s=Object.keys(this.controls);o0||this.disabled}}]),e}(Ib),LL=function(n){h(e,n);var i=y(e);function e(t,a,o){var s;return c(this,e),(s=i.call(this,xb(a),Ob(o,a))).controls=t,s._initObservables(),s._setUpdateStrategy(a),s._setUpControls(),s.updateValueAndValidity({onlySelf:!0,emitEvent:!!s.asyncValidator}),s}return d(e,[{key:"at",value:function(a){return this.controls[a]}},{key:"push",value:function(a){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls.push(a),this._registerControl(a),this.updateValueAndValidity({emitEvent:o.emitEvent}),this._onCollectionChange()}},{key:"insert",value:function(a,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls.splice(a,0,o),this._registerControl(o),this.updateValueAndValidity({emitEvent:s.emitEvent})}},{key:"removeAt",value:function(a){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[a]&&this.controls[a]._registerOnCollectionChange(function(){}),this.controls.splice(a,1),this.updateValueAndValidity({emitEvent:o.emitEvent})}},{key:"setControl",value:function(a,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[a]&&this.controls[a]._registerOnCollectionChange(function(){}),this.controls.splice(a,1),o&&(this.controls.splice(a,0,o),this._registerControl(o)),this.updateValueAndValidity({emitEvent:s.emitEvent}),this._onCollectionChange()}},{key:"length",get:function(){return this.controls.length}},{key:"setValue",value:function(a){var o=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};TL(this,a),a.forEach(function(l,u){DL(o,u),o.at(u).setValue(l,{onlySelf:!0,emitEvent:s.emitEvent})}),this.updateValueAndValidity(s)}},{key:"patchValue",value:function(a){var o=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=a&&(a.forEach(function(l,u){o.at(u)&&o.at(u).patchValue(l,{onlySelf:!0,emitEvent:s.emitEvent})}),this.updateValueAndValidity(s))}},{key:"reset",value:function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(s,l){s.reset(a[l],{onlySelf:!0,emitEvent:o.emitEvent})}),this._updatePristine(o),this._updateTouched(o),this.updateValueAndValidity(o)}},{key:"getRawValue",value:function(){return this.controls.map(function(a){return SL(a)})}},{key:"clear",value:function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.controls.length<1||(this._forEachChild(function(o){return o._registerOnCollectionChange(function(){})}),this.controls.splice(0),this.updateValueAndValidity({emitEvent:a.emitEvent}))}},{key:"_syncPendingControls",value:function(){var a=this.controls.reduce(function(o,s){return!!s._syncPendingControls()||o},!1);return a&&this.updateValueAndValidity({onlySelf:!0}),a}},{key:"_forEachChild",value:function(a){this.controls.forEach(function(o,s){a(o,s)})}},{key:"_updateValue",value:function(){var a=this;this.value=this.controls.filter(function(o){return o.enabled||a.disabled}).map(function(o){return o.value})}},{key:"_anyControls",value:function(a){return this.controls.some(function(o){return o.enabled&&a(o)})}},{key:"_setUpControls",value:function(){var a=this;this._forEachChild(function(o){return a._registerControl(o)})}},{key:"_allControlsDisabled",value:function(){var o,a=W(this.controls);try{for(a.s();!(o=a.n()).done;)if(o.value.enabled)return!1}catch(l){a.e(l)}finally{a.f()}return this.controls.length>0||this.disabled}},{key:"_registerControl",value:function(a){a.setParent(this),a._registerOnCollectionChange(this._onCollectionChange)}}]),e}(Ib),T9={provide:Yi,useExisting:yn(function(){return Cf})},Mf=function(){return Promise.resolve(null)}(),Cf=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o){var s;return c(this,t),(s=e.call(this)).submitted=!1,s._directives=new Set,s.ngSubmit=new pt,s.form=new xl({},kb(a),Mb(o)),s}return d(t,[{key:"ngAfterViewInit",value:function(){this._setUpdateStrategy()}},{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}},{key:"addControl",value:function(o){var s=this;Mf.then(function(){var l=s._findContainer(o.path);o.control=l.registerControl(o.name,o.control),yf(o.control,o),o.control.updateValueAndValidity({emitEvent:!1}),s._directives.add(o)})}},{key:"getControl",value:function(o){return this.form.get(o.path)}},{key:"removeControl",value:function(o){var s=this;Mf.then(function(){var l=s._findContainer(o.path);l&&l.removeControl(o.name),s._directives.delete(o)})}},{key:"addFormGroup",value:function(o){var s=this;Mf.then(function(){var l=s._findContainer(o.path),u=new xl({});bL(u,o),l.registerControl(o.name,u),u.updateValueAndValidity({emitEvent:!1})})}},{key:"removeFormGroup",value:function(o){var s=this;Mf.then(function(){var l=s._findContainer(o.path);l&&l.removeControl(o.name)})}},{key:"getFormGroup",value:function(o){return this.form.get(o.path)}},{key:"updateModel",value:function(o,s){var l=this;Mf.then(function(){l.form.get(o.path).setValue(s)})}},{key:"setValue",value:function(o){this.control.setValue(o)}},{key:"onSubmit",value:function(o){return this.submitted=!0,kL(this.form,this._directives),this.ngSubmit.emit(o),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;this.form.reset(o),this.submitted=!1}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}},{key:"_findContainer",value:function(o){return o.pop(),o.length?this.form.get(o):this.form}}]),t}(Yi);return n.\u0275fac=function(e){return new(e||n)(B(ci,10),B(Is,10))},n.\u0275dir=et({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&Se("submit",function(o){return t.onSubmit(o)})("reset",function(){return t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[un([T9]),vt]}),n}(),ei=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=et({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),n}(),IL=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({}),n}(),Fb=new Ze("NgModelWithFormControlWarning"),F9={provide:Yi,useExisting:yn(function(){return gr})},gr=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o){var s;return c(this,t),(s=e.call(this)).validators=a,s.asyncValidators=o,s.submitted=!1,s._onCollectionChange=function(){return s._updateDomValue()},s.directives=[],s.form=null,s.ngSubmit=new pt,s._setValidators(a),s._setAsyncValidators(o),s}return d(t,[{key:"ngOnChanges",value:function(o){this._checkFormPresent(),o.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}},{key:"ngOnDestroy",value:function(){this.form&&(Cv(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(function(){}))}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"addControl",value:function(o){var s=this.form.get(o.path);return yf(s,o),s.updateValueAndValidity({emitEvent:!1}),this.directives.push(o),s}},{key:"getControl",value:function(o){return this.form.get(o.path)}},{key:"removeControl",value:function(o){kv(o.control||null,o),Eb(this.directives,o)}},{key:"addFormGroup",value:function(o){this._setUpFormContainer(o)}},{key:"removeFormGroup",value:function(o){this._cleanUpFormContainer(o)}},{key:"getFormGroup",value:function(o){return this.form.get(o.path)}},{key:"addFormArray",value:function(o){this._setUpFormContainer(o)}},{key:"removeFormArray",value:function(o){this._cleanUpFormContainer(o)}},{key:"getFormArray",value:function(o){return this.form.get(o.path)}},{key:"updateModel",value:function(o,s){this.form.get(o.path).setValue(s)}},{key:"onSubmit",value:function(o){return this.submitted=!0,kL(this.form,this.directives),this.ngSubmit.emit(o),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;this.form.reset(o),this.submitted=!1}},{key:"_updateDomValue",value:function(){var o=this;this.directives.forEach(function(s){var l=s.control,u=o.form.get(s.path);l!==u&&(kv(l||null,s),Ab(u)&&(yf(u,s),s.control=u))}),this.form._updateTreeValidity({emitEvent:!1})}},{key:"_setUpFormContainer",value:function(o){var s=this.form.get(o.path);bL(s,o),s.updateValueAndValidity({emitEvent:!1})}},{key:"_cleanUpFormContainer",value:function(o){if(this.form){var s=this.form.get(o.path);if(s){var l=function C9(n,i){return Cv(n,i)}(s,o);l&&s.updateValueAndValidity({emitEvent:!1})}}}},{key:"_updateRegistrations",value:function(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){})}},{key:"_updateValidators",value:function(){Db(this.form,this),this._oldForm&&Cv(this._oldForm,this)}},{key:"_checkFormPresent",value:function(){}}]),t}(Yi);return n.\u0275fac=function(e){return new(e||n)(B(ci,10),B(Is,10))},n.\u0275dir=et({type:n,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&Se("submit",function(o){return t.onSubmit(o)})("reset",function(){return t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[un([F9]),vt,Nr]}),n}(),Y9={provide:Do,useExisting:yn(function(){return zr})},zr=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l,u){var f;return c(this,t),(f=e.call(this))._ngModelWarningConfig=u,f._added=!1,f.update=new pt,f._ngModelWarningSent=!1,f._parent=a,f._setValidators(o),f._setAsyncValidators(s),f.valueAccessor=function Lb(n,i){if(!i)return null;Array.isArray(i);var e=void 0,t=void 0,a=void 0;return i.forEach(function(o){o.constructor===Qr?e=o:function S9(n){return Object.getPrototypeOf(n.constructor)===Pl}(o)?t=o:a=o}),a||t||e||null}(x(f),l),f}return d(t,[{key:"isDisabled",set:function(o){}},{key:"ngOnChanges",value:function(o){this._added||this._setUpControl(),function Tb(n,i){if(!n.hasOwnProperty("model"))return!1;var e=n.model;return!!e.isFirstChange()||!Object.is(i,e.currentValue)}(o,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"viewToModelUpdate",value:function(o){this.viewModel=o,this.update.emit(o)}},{key:"path",get:function(){return function bv(n,i){return[].concat(ae(i.path),[n])}(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"_checkParentType",value:function(){}},{key:"_setUpControl",value:function(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}]),t}(Do);return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(e){return new(e||n)(B(Yi,13),B(ci,10),B(Is,10),B(Ja,10),B(Fb,8))},n.\u0275dir=et({type:n,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[un([Y9]),vt,Nr]}),n}();function VL(n){return"number"==typeof n?n:parseInt(n,10)}var Ol=function(){var n=function(){function i(){c(this,i),this._validator=gv}return d(i,[{key:"ngOnChanges",value:function(t){if(this.inputName in t){var a=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(a),this._validator=this._enabled?this.createValidator(a):gv,this._onChange&&this._onChange()}}},{key:"validate",value:function(t){return this._validator(t)}},{key:"registerOnValidatorChange",value:function(t){this._onChange=t}},{key:"enabled",value:function(t){return null!=t}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=et({type:n,features:[Nr]}),n}(),J9={provide:ci,useExisting:yn(function(){return Hi}),multi:!0},Hi=function(){var n=function(i){h(t,i);var e=y(t);function t(){var a;return c(this,t),(a=e.apply(this,arguments)).inputName="maxlength",a.normalizeInput=function(o){return VL(o)},a.createValidator=function(o){return nL(o)},a}return d(t)}(Ol);return n.\u0275fac=function(){var i;return function(t){return(i||(i=or(n)))(t||n)}}(),n.\u0275dir=et({type:n,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&Wt("maxlength",t._enabled?t.maxlength:null)},inputs:{maxlength:"maxlength"},features:[un([J9]),vt]}),n}(),KL=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({imports:[[IL]]}),n}(),e7=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({imports:[KL]}),n}(),$L=function(){var n=function(){function i(){c(this,i)}return d(i,null,[{key:"withConfig",value:function(t){return{ngModule:i,providers:[{provide:Fb,useValue:t.warnOnNgModelWithFormControl}]}}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({imports:[KL]}),n}();function t7(n){return void 0!==n.asyncValidators||void 0!==n.validators||void 0!==n.updateOn}var Zi=function(){var n=function(){function i(){c(this,i)}return d(i,[{key:"group",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=this._reduceControls(t),s=null,l=null,u=void 0;return null!=a&&(t7(a)?(s=null!=a.validators?a.validators:null,l=null!=a.asyncValidators?a.asyncValidators:null,u=null!=a.updateOn?a.updateOn:void 0):(s=null!=a.validator?a.validator:null,l=null!=a.asyncValidator?a.asyncValidator:null)),new xl(o,{asyncValidators:l,updateOn:u,validators:s})}},{key:"control",value:function(t,a,o){return new Xa(t,a,o)}},{key:"array",value:function(t,a,o){var s=this,l=t.map(function(u){return s._createControl(u)});return new LL(l,a,o)}},{key:"_reduceControls",value:function(t){var a=this,o={};return Object.keys(t).forEach(function(s){o[s]=a._createControl(t[s])}),o}},{key:"_createControl",value:function(t){return Ab(t)||Dv(t)||wL(t)?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:$L}),n}();function n7(n,i){1&n&&(E(0,"button",5)(1,"mat-icon"),R(2,"close"),P()())}function r7(n,i){1&n&&Ss(0)}var ZL=function(i){return{"content-margin":i}};function a7(n,i){if(1&n&&(E(0,"mat-dialog-content",6),q(1,r7,1,0,"ng-container",7),P()),2&n){var e=K(),t=sr(8);S("ngClass",Qe(2,ZL,e.includeVerticalMargins)),p(1),S("ngTemplateOutlet",t)}}function o7(n,i){1&n&&Ss(0)}function s7(n,i){if(1&n&&(E(0,"div",6),q(1,o7,1,0,"ng-container",7),P()),2&n){var e=K(),t=sr(8);S("ngClass",Qe(2,ZL,e.includeVerticalMargins)),p(1),S("ngTemplateOutlet",t)}}function l7(n,i){1&n&&hr(0)}var u7=["*"],_r=function(){var n=d(function i(){c(this,i),this.includeScrollableArea=!0,this.includeVerticalMargins=!0});return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=qe({type:n,selectors:[["app-dialog"]],inputs:{headline:"headline",disableDismiss:"disableDismiss",includeScrollableArea:"includeScrollableArea",includeVerticalMargins:"includeVerticalMargins"},ngContentSelectors:u7,decls:9,vars:4,consts:[["mat-dialog-title","",1,"header"],["mat-dialog-close","","mat-icon-button","","class","grey-button-background",4,"ngIf"],[1,"header-separator"],[3,"ngClass",4,"ngIf"],["contentTemplate",""],["mat-dialog-close","","mat-icon-button","",1,"grey-button-background"],[3,"ngClass"],[4,"ngTemplateOutlet"]],template:function(e,t){1&e&&(Gi(),E(0,"div",0)(1,"span"),R(2),P(),q(3,n7,3,0,"button",1),P(),Te(4,"div",2),q(5,a7,2,4,"mat-dialog-content",3),q(6,s7,2,4,"div",3),q(7,l7,1,0,"ng-template",null,4,Ls)),2&e&&(p(2),ge(t.headline),p(1),S("ngIf",!t.disableDismiss),p(2),S("ngIf",t.includeScrollableArea),p(1),S("ngIf",!t.includeScrollableArea))},directives:[V6,Et,bi,B6,Mn,yb,mr,np],styles:['.cursor-pointer[_ngcontent-%COMP%], .header[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%], .header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%], .header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}.grey-text[_ngcontent-%COMP%]{color:#777!important}[_nghost-%COMP%]{color:#202226}.header[_ngcontent-%COMP%]{margin:-24px -24px 0;color:#215f9e;padding:0 14px 0 24px;font-size:1rem;text-transform:uppercase;font-weight:700;display:flex;justify-content:space-between;align-items:center}@media (max-width: 767px){.header[_ngcontent-%COMP%]{padding:0 2px 0 24px}}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{line-height:1rem;margin:18px 0}.header[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{color:#a6b2b2;width:32px;height:32px;line-height:20px;margin-left:10px}@media (max-width: 767px){.header[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{width:46px;height:46px}}.header-separator[_ngcontent-%COMP%]{height:1px;background-color:#215f9e33;margin-left:-12px;margin-right:-12px}.content-margin[_ngcontent-%COMP%]{padding-top:18px;padding-bottom:24px!important}']}),n}(),c7={tooltipState:Go("state",[Ri("initial, void, hidden",kn({opacity:0,transform:"scale(0)"})),Ri("visible",kn({transform:"scale(1)"})),yi("* => visible",Fi("200ms cubic-bezier(0, 0, 0.2, 1)",G4([kn({opacity:0,transform:"scale(0)",offset:0}),kn({opacity:.5,transform:"scale(0.99)",offset:.5}),kn({opacity:1,transform:"scale(1)",offset:1})]))),yi("* => hidden",Fi("100ms cubic-bezier(0, 0, 0.2, 1)",kn({opacity:0})))])},QL="tooltip-panel",JL=yl({passive:!0}),XL=new Ze("mat-tooltip-scroll-strategy"),p7={provide:XL,deps:[Aa],useFactory:function h7(n){return function(){return n.scrollStrategies.reposition({scrollThrottle:20})}}},v7=new Ze("mat-tooltip-default-options",{providedIn:"root",factory:function m7(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),g7=function(){var n=function(){function i(e,t,a,o,s,l,u,f,m,C,I,V){var J=this;c(this,i),this._overlay=e,this._elementRef=t,this._scrollDispatcher=a,this._viewContainerRef=o,this._ngZone=s,this._platform=l,this._ariaDescriber=u,this._focusMonitor=f,this._dir=C,this._defaultOptions=I,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new Ie,this._scrollStrategy=m,this._document=V,I&&(I.position&&(this.position=I.position),I.touchGestures&&(this.touchGestures=I.touchGestures)),C.change.pipe(hn(this._destroyed)).subscribe(function(){J._overlayRef&&J._updatePosition(J._overlayRef)})}return d(i,[{key:"position",get:function(){return this._position},set:function(t){var a;t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(a=this._tooltipInstance)||void 0===a||a.show(0),this._overlayRef.updatePosition()))}},{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=$n(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}},{key:"showDelay",get:function(){return this._showDelay},set:function(t){this._showDelay=Oa(t)}},{key:"hideDelay",get:function(){return this._hideDelay},set:function(t){this._hideDelay=Oa(t),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}},{key:"message",get:function(){return this._message},set:function(t){var a=this;this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=t?String(t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(function(){Promise.resolve().then(function(){a._ariaDescriber.describe(a._elementRef.nativeElement,a.message,"tooltip")})}))}},{key:"tooltipClass",get:function(){return this._tooltipClass},set:function(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}},{key:"ngAfterViewInit",value:function(){var t=this;this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(hn(this._destroyed)).subscribe(function(a){a?"keyboard"===a&&t._ngZone.run(function(){return t.show()}):t._ngZone.run(function(){return t.hide(0)})})}},{key:"ngOnDestroy",value:function(){var t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(function(a){var o=ne(a,2);t.removeEventListener(o[0],o[1],JL)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}},{key:"show",value:function(){var t=this,a=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 o=this._createOverlay();this._detach(),this._portal=this._portal||new ic(this._tooltipComponent,this._viewContainerRef);var s=this._tooltipInstance=o.attach(this._portal).instance;s._triggerElement=this._elementRef.nativeElement,s._mouseLeaveHideDelay=this._hideDelay,s.afterHidden().pipe(hn(this._destroyed)).subscribe(function(){return t._detach()}),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),s.show(a)}}},{key:"hide",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.hideDelay;this._tooltipInstance&&this._tooltipInstance.hide(t)}},{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 a,t=this;if(this._overlayRef)return this._overlayRef;var o=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),s=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".".concat(this._cssClassPrefix,"-tooltip")).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(o);return s.positionChanges.pipe(hn(this._destroyed)).subscribe(function(l){t._updateCurrentPositionClass(l.connectionPair),t._tooltipInstance&&l.scrollableViewProperties.isOverlayClipped&&t._tooltipInstance.isVisible()&&t._ngZone.run(function(){return t.hide(0)})}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:s,panelClass:"".concat(this._cssClassPrefix,"-").concat(QL),scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(hn(this._destroyed)).subscribe(function(){return t._detach()}),this._overlayRef.outsidePointerEvents().pipe(hn(this._destroyed)).subscribe(function(){var l;return null===(l=t._tooltipInstance)||void 0===l?void 0:l._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe(hn(this._destroyed)).subscribe(function(l){t._isTooltipVisible()&&27===l.keyCode&&!Qo(l)&&(l.preventDefault(),l.stopPropagation(),t._ngZone.run(function(){return t.hide(0)}))}),(null===(a=this._defaultOptions)||void 0===a?void 0:a.disableTooltipInteractivity)&&this._overlayRef.addPanelClass("".concat(this._cssClassPrefix,"-tooltip-panel-non-interactive")),this._overlayRef}},{key:"_detach",value:function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}},{key:"_updatePosition",value:function(t){var a=t.getConfig().positionStrategy,o=this._getOrigin(),s=this._getOverlayPosition();a.withPositions([this._addOffset(Object.assign(Object.assign({},o.main),s.main)),this._addOffset(Object.assign(Object.assign({},o.fallback),s.fallback))])}},{key:"_addOffset",value:function(t){return t}},{key:"_getOrigin",value:function(){var o,t=!this._dir||"ltr"==this._dir.value,a=this.position;"above"==a||"below"==a?o={originX:"center",originY:"above"==a?"top":"bottom"}:"before"==a||"left"==a&&t||"right"==a&&!t?o={originX:"start",originY:"center"}:("after"==a||"right"==a&&t||"left"==a&&!t)&&(o={originX:"end",originY:"center"});var s=this._invertPosition(o.originX,o.originY);return{main:o,fallback:{originX:s.x,originY:s.y}}}},{key:"_getOverlayPosition",value:function(){var o,t=!this._dir||"ltr"==this._dir.value,a=this.position;"above"==a?o={overlayX:"center",overlayY:"bottom"}:"below"==a?o={overlayX:"center",overlayY:"top"}:"before"==a||"left"==a&&t||"right"==a&&!t?o={overlayX:"end",overlayY:"center"}:("after"==a||"right"==a&&t||"left"==a&&!t)&&(o={overlayX:"start",overlayY:"center"});var s=this._invertPosition(o.overlayX,o.overlayY);return{main:o,fallback:{overlayX:s.x,overlayY:s.y}}}},{key:"_updateTooltipMessage",value:function(){var t=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(nr(1),hn(this._destroyed)).subscribe(function(){t._tooltipInstance&&t._overlayRef.updatePosition()}))}},{key:"_setTooltipClass",value:function(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}},{key:"_invertPosition",value:function(t,a){return"above"===this.position||"below"===this.position?"top"===a?a="bottom":"bottom"===a&&(a="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:a}}},{key:"_updateCurrentPositionClass",value:function(t){var l,a=t.overlayY,o=t.originX;if((l="center"===a?this._dir&&"rtl"===this._dir.value?"end"===o?"left":"right":"start"===o?"left":"right":"bottom"===a&&"top"===t.originY?"above":"below")!==this._currentPosition){var u=this._overlayRef;if(u){var f="".concat(this._cssClassPrefix,"-").concat(QL,"-");u.removePanelClass(f+this._currentPosition),u.addPanelClass(f+l)}this._currentPosition=l}}},{key:"_setupPointerEnterEventsIfNeeded",value:function(){var t=this;this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",function(){t._setupPointerExitEventsIfNeeded(),t.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",function(){t._setupPointerExitEventsIfNeeded(),clearTimeout(t._touchstartTimeout),t._touchstartTimeout=setTimeout(function(){return t.show()},500)}])),this._addListeners(this._passiveListeners))}},{key:"_setupPointerExitEventsIfNeeded",value:function(){var a,t=this;if(!this._pointerExitEventsInitialized){this._pointerExitEventsInitialized=!0;var o=[];if(this._platformSupportsMouseEvents())o.push(["mouseleave",function(l){var u,f=l.relatedTarget;(!f||!(null===(u=t._overlayRef)||void 0===u?void 0:u.overlayElement.contains(f)))&&t.hide()}],["wheel",function(l){return t._wheelListener(l)}]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();var s=function(){clearTimeout(t._touchstartTimeout),t.hide(t._defaultOptions.touchendHideDelay)};o.push(["touchend",s],["touchcancel",s])}this._addListeners(o),(a=this._passiveListeners).push.apply(a,o)}}},{key:"_addListeners",value:function(t){var a=this;t.forEach(function(o){var s=ne(o,2);a._elementRef.nativeElement.addEventListener(s[0],s[1],JL)})}},{key:"_platformSupportsMouseEvents",value:function(){return!this._platform.IOS&&!this._platform.ANDROID}},{key:"_wheelListener",value:function(t){if(this._isTooltipVisible()){var a=this._document.elementFromPoint(t.clientX,t.clientY),o=this._elementRef.nativeElement;a!==o&&!o.contains(a)&&this.hide()}}},{key:"_disableNativeGesturesIfNecessary",value:function(){var t=this.touchGestures;if("off"!==t){var a=this._elementRef.nativeElement,o=a.style;("on"===t||"INPUT"!==a.nodeName&&"TEXTAREA"!==a.nodeName)&&(o.userSelect=o.msUserSelect=o.webkitUserSelect=o.MozUserSelect="none"),("on"===t||!a.draggable)&&(o.webkitUserDrag="none"),o.touchAction="none",o.webkitTapHighlightColor="transparent"}}}]),i}();return n.\u0275fac=function(e){Ru()},n.\u0275dir=et({type:n,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),n}(),ur=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l,u,f,m,C,I,V,J,me){var Ce;return c(this,t),(Ce=e.call(this,a,o,s,l,u,f,m,C,I,V,J,me))._tooltipComponent=y7,Ce}return d(t)}(g7);return n.\u0275fac=function(e){return new(e||n)(B(Aa),B(yt),B(FT),B(ii),B(bt),B(Sr),B(s8),B(Os),B(XL),B(pa,8),B(v7,8),B(Ot))},n.\u0275dir=et({type:n,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[vt]}),n}(),_7=function(){var n=function(){function i(e){c(this,i),this._changeDetectorRef=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new Ie}return d(i,[{key:"show",value:function(t){var a=this;clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(function(){a._visibility="visible",a._showTimeoutId=void 0,a._onShow(),a._markForCheck()},t)}},{key:"hide",value:function(t){var a=this;clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(function(){a._visibility="hidden",a._hideTimeoutId=void 0,a._markForCheck()},t)}},{key:"afterHidden",value:function(){return this._onHide}},{key:"isVisible",value:function(){return"visible"===this._visibility}},{key:"ngOnDestroy",value:function(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete(),this._triggerElement=null}},{key:"_animationStart",value:function(){this._closeOnInteraction=!1}},{key:"_animationDone",value:function(t){var a=t.toState;"hidden"===a&&!this.isVisible()&&this._onHide.next(),("visible"===a||"hidden"===a)&&(this._closeOnInteraction=!0)}},{key:"_handleBodyInteraction",value:function(){this._closeOnInteraction&&this.hide(0)}},{key:"_markForCheck",value:function(){this._changeDetectorRef.markForCheck()}},{key:"_handleMouseLeave",value:function(t){var a=t.relatedTarget;(!a||!this._triggerElement.contains(a))&&this.hide(this._mouseLeaveHideDelay)}},{key:"_onShow",value:function(){}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Yn))},n.\u0275dir=et({type:n}),n}(),y7=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o){var s;return c(this,t),(s=e.call(this,a))._breakpointObserver=o,s._isHandset=s._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)"),s}return d(t)}(_7);return n.\u0275fac=function(e){return new(e||n)(B(Yn),B(cb))},n.\u0275cmp=qe({type:n,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,t){1&e&&Se("mouseleave",function(o){return t._handleMouseLeave(o)}),2&e&&Ds("zoom","visible"===t._visibility?1:null)},features:[vt],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(e,t){var a;1&e&&(E(0,"div",0),Se("@state.start",function(){return t._animationStart()})("@state.done",function(s){return t._animationDone(s)}),Y(1,"async"),R(2),P()),2&e&&(fn("mat-tooltip-handset",null==(a=U(1,5,t._isHandset))?null:a.matches),S("ngClass",t.tooltipClass)("@state",t._visibility),p(2),ge(t.message))},directives:[mr],pipes:[Zw],styles:[".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}.mat-tooltip-panel-non-interactive{pointer-events:none}\n"],encapsulation:2,data:{animation:[c7.tooltipState]},changeDetection:0}),n}(),b7=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({providers:[p7],imports:[[f2,Mo,cf,Pn],Pn,af]}),n}(),k7=["connectionContainer"],M7=["inputContainer"],C7=["label"];function w7(n,i){1&n&&(ze(0),E(1,"div",14),Te(2,"div",15)(3,"div",16)(4,"div",17),P(),E(5,"div",18),Te(6,"div",15)(7,"div",16)(8,"div",17),P(),We())}function S7(n,i){if(1&n){var e=tt();E(0,"div",19),Se("cdkObserveContent",function(){return ke(e),K().updateOutlineGap()}),hr(1,1),P()}2&n&&S("cdkObserveContentDisabled","outline"!=K().appearance)}function D7(n,i){if(1&n&&(ze(0),hr(1,2),E(2,"span"),R(3),P(),We()),2&n){var e=K(2);p(3),ge(e._control.placeholder)}}function T7(n,i){1&n&&hr(0,3,["*ngSwitchCase","true"])}function L7(n,i){1&n&&(E(0,"span",23),R(1," *"),P())}function E7(n,i){if(1&n){var e=tt();E(0,"label",20,21),Se("cdkObserveContent",function(){return ke(e),K().updateOutlineGap()}),q(2,D7,4,1,"ng-container",12),q(3,T7,1,0,"ng-content",12),q(4,L7,2,0,"span",22),P()}if(2&n){var t=K();fn("mat-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-form-field-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-accent","accent"==t.color)("mat-warn","warn"==t.color),S("cdkObserveContentDisabled","outline"!=t.appearance)("id",t._labelId)("ngSwitch",t._hasLabel()),Wt("for",t._control.id)("aria-owns",t._control.id),p(2),S("ngSwitchCase",!1),p(1),S("ngSwitchCase",!0),p(1),S("ngIf",!t.hideRequiredMarker&&t._control.required&&!t._control.disabled)}}function P7(n,i){1&n&&(E(0,"div",24),hr(1,4),P())}function x7(n,i){if(1&n&&(E(0,"div",25),Te(1,"span",26),P()),2&n){var e=K();p(1),fn("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function O7(n,i){1&n&&(E(0,"div"),hr(1,5),P()),2&n&&S("@transitionMessages",K()._subscriptAnimationState)}function A7(n,i){if(1&n&&(E(0,"div",30),R(1),P()),2&n){var e=K(2);S("id",e._hintLabelId),p(1),ge(e.hintLabel)}}function I7(n,i){if(1&n&&(E(0,"div",27),q(1,A7,2,2,"div",28),hr(2,6),Te(3,"div",29),hr(4,7),P()),2&n){var e=K();S("@transitionMessages",e._subscriptAnimationState),p(1),S("ngIf",e.hintLabel)}}var F7=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],R7=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],N7=0,eE=new Ze("MatError"),wf=function(){var n=d(function i(e,t){c(this,i),this.id="mat-error-".concat(N7++),e||t.nativeElement.setAttribute("aria-live","polite")});return n.\u0275fac=function(e){return new(e||n)(Yo("aria-live"),B(yt))},n.\u0275dir=et({type:n,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(e,t){2&e&&Wt("id",t.id)},inputs:{id:"id"},features:[un([{provide:eE,useExisting:n}])]}),n}(),Y7={transitionMessages:Go("transitionMessages",[Ri("enter",kn({opacity:1,transform:"translateY(0%)"})),yi("void => enter",[kn({opacity:0,transform:"translateY(-5px)"}),Fi("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Tv=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=et({type:n}),n}(),H7=new Ze("MatHint"),tE=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=et({type:n,selectors:[["mat-label"]]}),n}(),B7=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=et({type:n,selectors:[["mat-placeholder"]]}),n}(),V7=new Ze("MatPrefix"),j7=new Ze("MatSuffix"),nE=0,z7=Sl(function(){return d(function n(i){c(this,n),this._elementRef=i})}(),"primary"),W7=new Ze("MAT_FORM_FIELD_DEFAULT_OPTIONS"),jb=new Ze("MatFormField"),ki=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l,u,f,m){var C;return c(this,t),(C=e.call(this,a))._changeDetectorRef=o,C._dir=s,C._defaults=l,C._platform=u,C._ngZone=f,C._outlineGapCalculationNeededImmediately=!1,C._outlineGapCalculationNeededOnStable=!1,C._destroyed=new Ie,C._showAlwaysAnimate=!1,C._subscriptAnimationState="",C._hintLabel="",C._hintLabelId="mat-hint-".concat(nE++),C._labelId="mat-form-field-label-".concat(nE++),C.floatLabel=C._getDefaultFloatLabelState(),C._animationsEnabled="NoopAnimations"!==m,C.appearance=l&&l.appearance?l.appearance:"legacy",C._hideRequiredMarker=!(!l||null==l.hideRequiredMarker)&&l.hideRequiredMarker,C}return d(t,[{key:"appearance",get:function(){return this._appearance},set:function(o){var s=this._appearance;this._appearance=o||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&s!==o&&(this._outlineGapCalculationNeededOnStable=!0)}},{key:"hideRequiredMarker",get:function(){return this._hideRequiredMarker},set:function(o){this._hideRequiredMarker=$n(o)}},{key:"_shouldAlwaysFloat",value:function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}},{key:"_canLabelFloat",value:function(){return"never"!==this.floatLabel}},{key:"hintLabel",get:function(){return this._hintLabel},set:function(o){this._hintLabel=o,this._processHints()}},{key:"floatLabel",get:function(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel},set:function(o){o!==this._floatLabel&&(this._floatLabel=o||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}},{key:"_control",get:function(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic},set:function(o){this._explicitFormFieldControl=o}},{key:"getLabelId",value:function(){return this._hasFloatingLabel()?this._labelId:null}},{key:"getConnectedOverlayOrigin",value:function(){return this._connectionContainerRef||this._elementRef}},{key:"ngAfterContentInit",value:function(){var o=this;this._validateControlChild();var s=this._control;s.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-".concat(s.controlType)),s.stateChanges.pipe(ha(null)).subscribe(function(){o._validatePlaceholders(),o._syncDescribedByIds(),o._changeDetectorRef.markForCheck()}),s.ngControl&&s.ngControl.valueChanges&&s.ngControl.valueChanges.pipe(hn(this._destroyed)).subscribe(function(){return o._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(function(){o._ngZone.onStable.pipe(hn(o._destroyed)).subscribe(function(){o._outlineGapCalculationNeededOnStable&&o.updateOutlineGap()})}),Ci(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){o._outlineGapCalculationNeededOnStable=!0,o._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(ha(null)).subscribe(function(){o._processHints(),o._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(ha(null)).subscribe(function(){o._syncDescribedByIds(),o._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(hn(this._destroyed)).subscribe(function(){"function"==typeof requestAnimationFrame?o._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return o.updateOutlineGap()})}):o.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(o){var s=this._control?this._control.ngControl:null;return s&&s[o]}},{key:"_hasPlaceholder",value:function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}},{key:"_hasLabel",value:function(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}},{key:"_shouldLabelFloat",value:function(){return this._canLabelFloat()&&(this._control&&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 o=this;this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,_l(this._label.nativeElement,"transitionend").pipe(nr(1)).subscribe(function(){o._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}},{key:"_validatePlaceholders",value:function(){}},{key:"_processHints",value:function(){this._validateHints(),this._syncDescribedByIds()}},{key:"_validateHints",value:function(){}},{key:"_getDefaultFloatLabelState",value:function(){return this._defaults&&this._defaults.floatLabel||"auto"}},{key:"_syncDescribedByIds",value:function(){if(this._control){var o=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&o.push.apply(o,ae(this._control.userAriaDescribedBy.split(" "))),"hint"===this._getDisplayedMessages()){var s=this._hintChildren?this._hintChildren.find(function(u){return"start"===u.align}):null,l=this._hintChildren?this._hintChildren.find(function(u){return"end"===u.align}):null;s?o.push(s.id):this._hintLabel&&o.push(this._hintLabelId),l&&o.push(l.id)}else this._errorChildren&&o.push.apply(o,ae(this._errorChildren.map(function(u){return u.id})));this._control.setDescribedByIds(o)}}},{key:"_validateControlChild",value:function(){}},{key:"updateOutlineGap",value:function(){var o=this._label?this._label.nativeElement:null,s=this._connectionContainerRef.nativeElement,l=".mat-form-field-outline-start",u=".mat-form-field-outline-gap";if("outline"===this.appearance&&this._platform.isBrowser){if(!o||!o.children.length||!o.textContent.trim()){for(var f=s.querySelectorAll("".concat(l,", ").concat(u)),m=0;m0?.75*Re+10:0}for(var Ge=0;Ge-1}},{key:"_isBadInput",value:function(){var o=this._elementRef.nativeElement.validity;return o&&o.badInput}},{key:"empty",get:function(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}},{key:"shouldLabelFloat",get:function(){if(this._isNativeSelect){var o=this._elementRef.nativeElement,s=o.options[0];return this.focused||o.multiple||!this.empty||!!(o.selectedIndex>-1&&s&&s.label)}return this.focused||!this.empty}},{key:"setDescribedByIds",value:function(o){o.length?this._elementRef.nativeElement.setAttribute("aria-describedby",o.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}},{key:"onContainerClick",value:function(){this.focused||this.focus()}},{key:"_isInlineSelect",value:function(){var o=this._elementRef.nativeElement;return this._isNativeSelect&&(o.multiple||o.size>1)}}]),t}(Z7);return n.\u0275fac=function(e){return new(e||n)(B(yt),B(Sr),B(Do,10),B(Cf,8),B(gr,8),B(ov),B(q7,10),B(G7),B(bt),B(jb,8))},n.\u0275dir=et({type:n,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(e,t){1&e&&Se("focus",function(){return t._focusChanged(!0)})("blur",function(){return t._focusChanged(!1)})("input",function(){return t._onInput()}),2&e&&(tl("disabled",t.disabled)("required",t.required),Wt("id",t.id)("data-placeholder",t.placeholder)("name",t.name||null)("readonly",t.readonly&&!t._isNativeSelect||null)("aria-invalid",t.empty&&t.required?null:t.errorState)("aria-required",t.required),fn("mat-input-server",t._isServer)("mat-native-select-inline",t._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[un([{provide:Tv,useExisting:n}]),vt,Nr]}),n}(),Q7=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({providers:[ov],imports:[[aE,Lv,Pn],aE,Lv]}),n}(),J7=["button1"],X7=["button2"];function eU(n,i){1&n&&Te(0,"mat-spinner",4),2&n&&S("diameter",K().loadingSize)}function tU(n,i){1&n&&(E(0,"mat-icon"),R(1,"error_outline"),P())}var nU=function(i){return{"for-dark-background":i}},rU=["*"],Fs=function(){return function(n){n[n.Normal=0]="Normal",n[n.Error=1]="Error",n[n.Loading=2]="Loading"}(Fs||(Fs={})),Fs}(),di=function(){var n=function(){function i(){c(this,i),this.forDarkBackground=!1,this.disabled=!1,this.color="",this.loadingSize=24,this.action=new pt,this.state=Fs.Normal,this.buttonStates=Fs}return d(i,[{key:"ngOnDestroy",value:function(){this.action.complete()}},{key:"click",value:function(){this.disabled||(this.reset(),this.action.emit())}},{key:"reset",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.state=Fs.Normal,t&&(this.disabled=!1)}},{key:"focus",value:function(){this.button1&&this.button1.focus(),this.button2&&this.button2.focus()}},{key:"showEnabled",value:function(){this.disabled=!1}},{key:"showDisabled",value:function(){this.disabled=!0}},{key:"showLoading",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.state=Fs.Loading,t&&(this.disabled=!0)}},{key:"showError",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.state=Fs.Error,t&&(this.disabled=!1)}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=qe({type:n,selectors:[["app-button"]],viewQuery:function(e,t){var a;1&e&&(gt(J7,5),gt(X7,5)),2&e&&(lt(a=ut())&&(t.button1=a.first),lt(a=ut())&&(t.button2=a.first))},inputs:{forDarkBackground:"forDarkBackground",disabled:"disabled",color:"color",loadingSize:"loadingSize"},outputs:{action:"action"},ngContentSelectors:rU,decls:5,vars:7,consts:[["mat-raised-button","",3,"disabled","color","ngClass","click"],["button2",""],[3,"diameter",4,"ngIf"],[4,"ngIf"],[3,"diameter"]],template:function(e,t){1&e&&(Gi(),E(0,"button",0,1),Se("click",function(){return t.click()}),q(2,eU,1,1,"mat-spinner",2),q(3,tU,2,0,"mat-icon",3),hr(4),P()),2&e&&(S("disabled",t.disabled)("color",t.color)("ngClass",Qe(5,nU,t.forDarkBackground)),p(2),S("ngIf",t.state===t.buttonStates.Loading),p(1),S("ngIf",t.state===t.buttonStates.Error))},directives:[bi,mr,Et,Ia,Mn],styles:["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%], button[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}.grey-text[_ngcontent-%COMP%]{color:#777!important}button[_ngcontent-%COMP%]{color:#f8f9f9;border-radius:10px}button[_ngcontent-%COMP%] mat-spinner[_ngcontent-%COMP%] circle{stroke:#f8f9f9}mat-icon[_ngcontent-%COMP%], mat-spinner[_ngcontent-%COMP%]{display:inline-block;margin-right:20px;position:relative;top:-2px}.for-dark-background[_ngcontent-%COMP%]:disabled{background-color:#000!important;color:#fff!important;opacity:.3}"]}),n}(),iU=["button"],aU=["firstInput"];function oU(n,i){1&n&&(E(0,"mat-form-field",10),Te(1,"input",11),Y(2,"translate"),E(3,"mat-error"),R(4),Y(5,"translate"),P()()),2&n&&(p(1),S("placeholder",U(2,2,"settings.password.old-password")),p(3),ye(" ",U(5,4,"settings.password.errors.old-password-required")," "))}var sU=function(i){return{"rounded-elevated-box":i}},oE=function(i){return{"white-form-field":i}},lU=function(i,e){return{"mt-2 app-button":i,"float-right":e}},sE=function(){var n=function(){function i(e,t,a,o){c(this,i),this.authService=e,this.router=t,this.snackbarService=a,this.dialog=o,this.forInitialConfig=!1}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.form=new xl({oldPassword:new Xa("",this.forInitialConfig?null:Cn.required),newPassword:new Xa("",Cn.compose([Cn.required,Cn.minLength(6),Cn.maxLength(64)])),newPasswordConfirmation:new Xa("",[Cn.required,this.validatePasswords.bind(this)])}),this.formSubscription=this.form.controls.newPassword.valueChanges.subscribe(function(){return t.form.controls.newPasswordConfirmation.updateValueAndValidity()})}},{key:"ngAfterViewInit",value:function(){var t=this;this.forInitialConfig&&setTimeout(function(){return t.firstInput.nativeElement.focus()})}},{key:"ngOnDestroy",value:function(){this.subscription&&this.subscription.unsubscribe(),this.formSubscription.unsubscribe()}},{key:"changePassword",value:function(){var t=this;this.form.valid&&!this.button.disabled&&(this.button.showLoading(),this.subscription=this.forInitialConfig?this.authService.initialConfig(this.form.get("newPassword").value).subscribe(function(){t.dialog.closeAll(),t.snackbarService.showDone("settings.password.initial-config.done")},function(a){t.button.showError(),a=an(a),t.snackbarService.showError(a,null,!0)}):this.authService.changePassword(this.form.get("oldPassword").value,this.form.get("newPassword").value).subscribe(function(){t.router.navigate(["nodes"]),t.snackbarService.showDone("settings.password.password-changed")},function(a){t.button.showError(),a=an(a),t.snackbarService.showError(a)}))}},{key:"validatePasswords",value:function(){return this.form&&this.form.get("newPassword").value!==this.form.get("newPasswordConfirmation").value?{invalid:!0}:null}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(_f),B(rn),B(An),B(Gn))},n.\u0275cmp=qe({type:n,selectors:[["app-password"]],viewQuery:function(e,t){var a;1&e&&(gt(iU,5),gt(aU,5)),2&e&&(lt(a=ut())&&(t.button=a.first),lt(a=ut())&&(t.firstInput=a.first))},inputs:{forInitialConfig:"forInitialConfig"},decls:25,vars:38,consts:[[3,"ngClass"],[1,"box-internal-container","overflow"],[3,"inline","matTooltip"],[3,"formGroup"],["class","white-form-field",4,"ngIf"],["type","password","formControlName","newPassword","maxlength","64","matInput","",3,"placeholder"],["firstInput",""],["type","password","formControlName","newPasswordConfirmation","maxlength","64","matInput","",3,"placeholder"],["color","primary",3,"ngClass","disabled","forDarkBackground","action"],["button",""],[1,"white-form-field"],["type","password","formControlName","oldPassword","maxlength","64","matInput","",3,"placeholder"]],template:function(e,t){1&e&&(E(0,"div",0)(1,"div",1)(2,"div")(3,"mat-icon",2),Y(4,"translate"),R(5," help "),P()(),E(6,"form",3),q(7,oU,6,6,"mat-form-field",4),E(8,"mat-form-field",0),Te(9,"input",5,6),Y(11,"translate"),E(12,"mat-error"),R(13),Y(14,"translate"),P()(),E(15,"mat-form-field",0),Te(16,"input",7),Y(17,"translate"),E(18,"mat-error"),R(19),Y(20,"translate"),P()(),E(21,"app-button",8,9),Se("action",function(){return t.changePassword()}),R(23),Y(24,"translate"),P()()()()),2&e&&(S("ngClass",Qe(29,sU,!t.forInitialConfig)),p(2),ua((t.forInitialConfig?"":"white-")+"form-help-icon-container"),p(1),S("inline",!0)("matTooltip",U(4,17,t.forInitialConfig?"settings.password.initial-config-help":"settings.password.help")),p(3),S("formGroup",t.form),p(1),S("ngIf",!t.forInitialConfig),p(1),S("ngClass",Qe(31,oE,!t.forInitialConfig)),p(1),S("placeholder",U(11,19,t.forInitialConfig?"settings.password.initial-config.password":"settings.password.new-password")),p(4),ye(" ",U(14,21,"settings.password.errors.new-password-error")," "),p(2),S("ngClass",Qe(33,oE,!t.forInitialConfig)),p(1),S("placeholder",U(17,23,t.forInitialConfig?"settings.password.initial-config.repeat-password":"settings.password.repeat-password")),p(3),ye(" ",U(20,25,"settings.password.errors.passwords-not-match")," "),p(2),S("ngClass",En(35,lU,!t.forInitialConfig,t.forInitialConfig))("disabled",!t.form.valid)("forDarkBackground",!t.forInitialConfig),p(2),ye(" ",U(24,27,t.forInitialConfig?"settings.password.initial-config.set-password":"settings.change-password")," "))},directives:[mr,Mn,ur,ei,Xr,gr,Et,ki,Qr,Qi,Jr,zr,Hi,wf,di],pipes:[Mt],styles:["mat-form-field[_ngcontent-%COMP%]{margin-right:32px}app-button[_ngcontent-%COMP%]{float:right;margin-right:32px}"]}),n}(),uU=function(){var n=function(){function i(){c(this,i)}return d(i,null,[{key:"openDialog",value:function(t){var a=new Zn;return a.autoFocus=!1,a.width=Kt.smallModalWidth,t.open(i,a)}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=qe({type:n,selectors:[["app-initial-setup"]],decls:3,vars:4,consts:[[3,"headline"],[3,"forInitialConfig"]],template:function(e,t){1&e&&(E(0,"app-dialog",0),Y(1,"translate"),Te(2,"app-password",1),P()),2&e&&(S("headline",U(1,2,"settings.password.initial-config.title")),p(2),S("forInitialConfig",!0))},directives:[_r,sE],pipes:[Mt],styles:[""]}),n}();function cU(n,i){if(1&n){var e=tt();E(0,"button",3),Se("click",function(){var s=ke(e).$implicit;return K().closePopup(s)}),Te(1,"img",4),E(2,"div",5),R(3),P()()}if(2&n){var t=i.$implicit;p(1),S("src","assets/img/lang/"+t.iconName,vo),p(2),ge(t.name)}}var lE=function(){var n=function(){function i(e,t){c(this,i),this.dialogRef=e,this.languageService=t,this.languages=[]}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.subscription=this.languageService.languages.subscribe(function(a){t.languages=a})}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}},{key:"closePopup",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;t&&this.languageService.changeLanguage(t.code),this.dialogRef.close()}}],[{key:"openDialog",value:function(t){var a=new Zn;return a.autoFocus=!1,a.width=Kt.mediumModalWidth,t.open(i,a)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Dr),B(vv))},n.\u0275cmp=qe({type:n,selectors:[["app-select-language"]],decls:4,vars:4,consts:[[3,"headline"],[1,"options-container"],["mat-button","","color","accent","class","grey-button-background",3,"click",4,"ngFor","ngForOf"],["mat-button","","color","accent",1,"grey-button-background",3,"click"],[3,"src"],[1,"label"]],template:function(e,t){1&e&&(E(0,"app-dialog",0),Y(1,"translate"),E(2,"div",1),q(3,cU,4,2,"button",2),P()()),2&e&&(S("headline",U(1,2,"language.title")),p(3),S("ngForOf",t.languages))},directives:[_r,Or,bi],pipes:[Mt],styles:["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%], .options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}.grey-text[_ngcontent-%COMP%]{color:#777!important}.options-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;flex-wrap:wrap}.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:118px;margin:20px;font-size:.7rem;line-height:unset;padding:0;color:unset}@media (max-width: 767px){.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:90px;font-size:.6rem;margin:6px}}.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:64px;height:64px;margin:10px 0}@media (max-width: 767px){.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:48px;height:48px;margin:7px 0}}.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{background-color:#ffffff40;padding:4px 10px}@media (max-width: 767px){.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{padding:4px 5px}}"]}),n}();function dU(n,i){1&n&&Te(0,"img",2),2&n&&S("src","assets/img/lang/"+K().language.iconName,vo)}var fU=function(){var n=function(){function i(e,t){c(this,i),this.languageService=e,this.dialog=t}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.subscription=this.languageService.currentLanguage.subscribe(function(a){t.language=a})}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}},{key:"openLanguageWindow",value:function(){lE.openDialog(this.dialog)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(vv),B(Gn))},n.\u0275cmp=qe({type:n,selectors:[["app-lang-button"]],decls:3,vars:4,consts:[["mat-button","",1,"lang-button","subtle-transparent-button",3,"matTooltip","click"],["class","flag",3,"src",4,"ngIf"],[1,"flag",3,"src"]],template:function(e,t){1&e&&(E(0,"button",0),Se("click",function(){return t.openLanguageWindow()}),Y(1,"translate"),q(2,dU,1,1,"img",1),P()),2&e&&(S("matTooltip",U(1,2,"language.title")),p(2),S("ngIf",t.language))},directives:[bi,ur,Et],pipes:[Mt],styles:[".lang-button[_ngcontent-%COMP%]{height:40px;background-color:#f8f9f9;border-radius:100%;padding:0;line-height:normal}.lang-button[_ngcontent-%COMP%] .flag[_ngcontent-%COMP%]{width:20px;height:20px}"]}),n}(),uE=function(){var n=function(){function i(e,t,a,o,s){c(this,i),this.authService=e,this.router=t,this.snackbarService=a,this.dialog=o,this.route=s,this.loading=!1,this.isForVpn=!1,this.vpnKey=""}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.routeSubscription=this.route.paramMap.subscribe(function(a){t.vpnKey=a.get("key"),t.isForVpn=-1!==window.location.href.indexOf("vpnlogin"),t.verificationSubscription=t.authService.checkLogin().subscribe(function(o){o!==Xo.NotLogged&&t.router.navigate(t.isForVpn?["vpn",t.vpnKey,"status"]:["nodes"],{replaceUrl:!0})})}),this.form=new xl({password:new Xa("",Cn.required)})}},{key:"ngOnDestroy",value:function(){this.loginSubscription&&this.loginSubscription.unsubscribe(),this.verificationSubscription.unsubscribe(),this.routeSubscription.unsubscribe()}},{key:"login",value:function(){var t=this;!this.form.valid||this.loading||(this.loading=!0,this.loginSubscription=this.authService.login(this.form.get("password").value).subscribe(function(){return t.onLoginSuccess()},function(a){return t.onLoginError(a)}))}},{key:"configure",value:function(){uU.openDialog(this.dialog)}},{key:"onLoginSuccess",value:function(){this.router.navigate(this.isForVpn?["vpn",this.vpnKey,"status"]:["nodes"],{replaceUrl:!0})}},{key:"onLoginError",value:function(t){t=an(t),this.loading=!1,this.snackbarService.showError(t.originalError&&401===t.originalError.status?"login.incorrect-password":t.translatableErrorMsg)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(_f),B(rn),B(An),B(Gn),B(si))},n.\u0275cmp=qe({type:n,selectors:[["app-login"]],decls:14,vars:8,consts:[[1,"w-100","h-100","d-flex","justify-content-center"],[1,"row","main-container"],["src","/assets/img/logo-v.png",1,"logo"],[1,"mt-5",3,"formGroup"],[1,"login-input"],["type","password","formControlName","password","autocomplete","off",3,"placeholder","keydown.enter"],[3,"disabled","click"],[1,"config-link",3,"click"]],template:function(e,t){1&e&&(E(0,"div",0),Te(1,"app-lang-button"),E(2,"div",1),Te(3,"img",2),E(4,"form",3)(5,"div",4)(6,"input",5),Se("keydown.enter",function(){return t.login()}),Y(7,"translate"),P(),E(8,"button",6),Se("click",function(){return t.login()}),E(9,"mat-icon"),R(10,"chevron_right"),P()()()(),E(11,"div",7),Se("click",function(){return t.configure()}),R(12),Y(13,"translate"),P()()()),2&e&&(p(4),S("formGroup",t.form),p(2),S("placeholder",U(7,4,"login.password")),p(2),S("disabled",!t.form.valid||t.loading),p(4),ge(U(13,6,"login.initial-config")))},directives:[fU,ei,Xr,gr,Qr,Jr,zr,Mn],pipes:[Mt],styles:['.cursor-pointer[_ngcontent-%COMP%], .config-link[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}app-lang-button[_ngcontent-%COMP%]{position:fixed;right:10px;top:10px}.main-container[_ngcontent-%COMP%]{z-index:1;height:100%;flex-direction:column;align-items:center;justify-content:center}.logo[_ngcontent-%COMP%]{width:170px}.login-input[_ngcontent-%COMP%]{height:35px;width:300px;overflow:hidden;border-radius:10px;box-shadow:0 3px 8px #0000001a,0 6px 20px #0000001a;display:flex}.login-input[_ngcontent-%COMP%] input[type=password][_ngcontent-%COMP%]{background:#fff;width:calc(100% - 35px);height:100%;font-size:.875rem;border:none;padding-left:10px;padding-right:10px}.login-input[_ngcontent-%COMP%] input[type=password][_ngcontent-%COMP%]:focus{outline:none}.login-input[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background:#fff;color:#202226;width:35px;height:35px;line-height:35px;border:none;display:flex;cursor:pointer;align-items:center}.login-input[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:disabled{color:#777}.config-link[_ngcontent-%COMP%]{color:#f8f9f9;font-size:.7rem;margin-top:20px}']}),n}();function hU(n){return n instanceof Date&&!isNaN(+n)}function Mi(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nc,e=hU(n),t=e?+n-i.now():Math.abs(n);return function(a){return a.lift(new pU(t,i))}}var pU=function(){function n(i,e){c(this,n),this.delay=i,this.scheduler=e}return d(n,[{key:"call",value:function(e,t){return t.subscribe(new vU(e,this.delay,this.scheduler))}}]),n}(),vU=function(n){h(e,n);var i=y(e);function e(t,a,o){var s;return c(this,e),(s=i.call(this,t)).delay=a,s.scheduler=o,s.queue=[],s.active=!1,s.errored=!1,s}return d(e,[{key:"_schedule",value:function(a){this.active=!0,this.destination.add(a.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:a}))}},{key:"scheduleNotification",value:function(a){if(!0!==this.errored){var o=this.scheduler,s=new mU(o.now()+this.delay,a);this.queue.push(s),!1===this.active&&this._schedule(o)}}},{key:"_next",value:function(a){this.scheduleNotification($o.createNext(a))}},{key:"_error",value:function(a){this.errored=!0,this.queue=[],this.destination.error(a),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleNotification($o.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(a){for(var o=a.source,s=o.queue,l=a.scheduler,u=a.destination;s.length>0&&s[0].time-l.now()<=0;)s.shift().notification.observe(u);if(s.length>0){var f=Math.max(0,s[0].time-l.now());this.schedule(a,f)}else this.unsubscribe(),o.active=!1}}]),e}(St),mU=d(function n(i,e){c(this,n),this.time=i,this.notification=e}),Ub=H(9774),Ev=H.n(Ub),zb=d(function n(){c(this,n)}),gU=d(function n(){c(this,n)}),eo=function(){return function(n){n.Connecting="connecting",n.Unhealthy="unhealthy",n.Healthy="healthy"}(eo||(eo={})),eo}(),_U=d(function n(){c(this,n),this.totalSent=0,this.totalReceived=0,this.sentHistory=[],this.receivedHistory=[]}),Qn=function(){return function(n){n.UseCustomSettings="updaterUseCustomSettings",n.Channel="updaterChannel",n.Version="updaterVersion",n.ArchiveURL="updaterArchiveURL",n.ChecksumsURL="updaterChecksumsURL"}(Qn||(Qn={})),Qn}(),Al=function(){var n=function(){function i(e,t){var a=this;c(this,i),this.apiService=e,this.storageService=t,this.maxTrafficHistorySlots=10,this.nodeListSubject=new jr(null),this.updatingNodeListSubject=new jr(!1),this.specificNodeSubject=new jr(null),this.updatingSpecificNodeSubject=new jr(!1),this.specificNodeTrafficDataSubject=new jr(null),this.specificNodeKey="",this.lastScheduledHistoryUpdateTime=0,this.storageService.getRefreshTimeObservable().subscribe(function(o){a.dataRefreshDelay=1e3*o,a.nodeListRefreshSubscription&&a.forceNodeListRefresh(),a.specificNodeRefreshSubscription&&a.forceSpecificNodeRefresh()})}return d(i,[{key:"nodeList",get:function(){return this.nodeListSubject.asObservable()}},{key:"updatingNodeList",get:function(){return this.updatingNodeListSubject.asObservable()}},{key:"specificNode",get:function(){return this.specificNodeSubject.asObservable()}},{key:"updatingSpecificNode",get:function(){return this.updatingSpecificNodeSubject.asObservable()}},{key:"specificNodeTrafficData",get:function(){return this.specificNodeTrafficDataSubject.asObservable()}},{key:"startRequestingNodeList",value:function(){if(this.nodeListStopSubscription&&!this.nodeListStopSubscription.closed)return this.nodeListStopSubscription.unsubscribe(),void(this.nodeListStopSubscription=null);var a=this.calculateRemainingTime(this.nodeListSubject.value?this.nodeListSubject.value.momentOfLastCorrectUpdate:0);this.startDataSubscription(a=a>0?a:0,!0)}},{key:"startRequestingSpecificNode",value:function(t){if(this.specificNodeStopSubscription&&!this.specificNodeStopSubscription.closed&&this.specificNodeKey===t)return this.specificNodeStopSubscription.unsubscribe(),void(this.specificNodeStopSubscription=null);var o=this.calculateRemainingTime(this.specificNodeSubject.value?this.specificNodeSubject.value.momentOfLastCorrectUpdate:0);this.lastScheduledHistoryUpdateTime=0,this.specificNodeKey!==t||0===o?(this.specificNodeKey=t,this.specificNodeTrafficDataSubject.next(new _U),this.specificNodeSubject.next(null),this.startDataSubscription(0,!1)):this.startDataSubscription(o,!1)}},{key:"calculateRemainingTime",value:function(t){if(t<1)return 0;var a=this.dataRefreshDelay-(Date.now()-t);return a<0&&(a=0),a}},{key:"stopRequestingNodeList",value:function(){var t=this;this.nodeListRefreshSubscription&&(this.nodeListStopSubscription=Je(1).pipe(Mi(4e3)).subscribe(function(){t.nodeListRefreshSubscription.unsubscribe(),t.nodeListRefreshSubscription=null}))}},{key:"stopRequestingSpecificNode",value:function(){var t=this;this.specificNodeRefreshSubscription&&(this.specificNodeStopSubscription=Je(1).pipe(Mi(4e3)).subscribe(function(){t.specificNodeRefreshSubscription.unsubscribe(),t.specificNodeRefreshSubscription=null}))}},{key:"startDataSubscription",value:function(t,a){var s,l,u,o=this;a?(s=this.updatingNodeListSubject,l=this.nodeListSubject,u=this.getNodes(),this.nodeListRefreshSubscription&&this.nodeListRefreshSubscription.unsubscribe()):(s=this.updatingSpecificNodeSubject,l=this.specificNodeSubject,u=this.getNode(this.specificNodeKey),this.specificNodeStopSubscription&&(this.specificNodeStopSubscription.unsubscribe(),this.specificNodeStopSubscription=null),this.specificNodeRefreshSubscription&&this.specificNodeRefreshSubscription.unsubscribe());var f=Je(1).pipe(Mi(t),Fr(function(){return s.next(!0)}),Mi(120),Dn(function(){return u})).subscribe(function(m){var C;s.next(!1),a?C=o.dataRefreshDelay:(o.updateTrafficData(m.transports),(C=o.calculateRemainingTime(o.lastScheduledHistoryUpdateTime))<1e3&&(o.lastScheduledHistoryUpdateTime=Date.now(),C=o.dataRefreshDelay));var I={data:m,error:null,momentOfLastCorrectUpdate:Date.now()};l.next(I),o.startDataSubscription(C,a)},function(m){s.next(!1),m=an(m);var C={data:l.value&&l.value.data?l.value.data:null,error:m,momentOfLastCorrectUpdate:l.value?l.value.momentOfLastCorrectUpdate:-1};!a&&m.originalError&&400===m.originalError.status||o.startDataSubscription(Kt.connectionRetryDelay,a),l.next(C)});a?this.nodeListRefreshSubscription=f:this.specificNodeRefreshSubscription=f}},{key:"updateTrafficData",value:function(t){var a=this.specificNodeTrafficDataSubject.value;if(a.totalSent=0,a.totalReceived=0,t&&t.length>0&&(a.totalSent=t.reduce(function(f,m){return f+m.sent},0),a.totalReceived=t.reduce(function(f,m){return f+m.recv},0)),0===a.sentHistory.length)for(var o=0;othis.maxTrafficHistorySlots&&(l=this.maxTrafficHistorySlots),0===l)a.sentHistory[a.sentHistory.length-1]=a.totalSent,a.receivedHistory[a.receivedHistory.length-1]=a.totalReceived;else for(var u=0;uthis.maxTrafficHistorySlots&&(a.sentHistory.splice(0,a.sentHistory.length-this.maxTrafficHistorySlots),a.receivedHistory.splice(0,a.receivedHistory.length-this.maxTrafficHistorySlots))}this.specificNodeTrafficDataSubject.next(a)}},{key:"forceNodeListRefresh",value:function(){this.nodeListSubject.value&&(this.nodeListSubject.value.momentOfLastCorrectUpdate=-1),this.startDataSubscription(0,!0)}},{key:"forceSpecificNodeRefresh",value:function(){this.specificNodeSubject.value&&(this.specificNodeSubject.value.momentOfLastCorrectUpdate=-1),this.startDataSubscription(0,!1)}},{key:"getNodes",value:function(){var t=this,a=[];return this.apiService.get("visors-summary").pipe($e(function(o){o&&o.forEach(function(m){var C=new zb;C.online=m.online,C.localPk=m.overview.local_pk,C.autoconnectTransports=m.public_autoconnect,C.ip=m.overview&&m.overview.local_ip&&m.overview.local_ip.trim()?m.overview.local_ip:null;var I=t.storageService.getLabelInfo(C.localPk);if(C.label=I&&I.label?I.label:t.storageService.getDefaultLabel(C),!C.online)return C.dmsgServerPk="",C.roundTripPing="",void a.push(C);C.health={servicesHealth:m.health.services_health},C.dmsgServerPk=m.dmsg_stats.server_public_key,C.roundTripPing=t.nsToMs(m.dmsg_stats.round_trip),C.isHypervisor=m.is_hypervisor,a.push(C)});var s=new Map,l=[],u=[];a.forEach(function(m){s.set(m.localPk,m),m.online&&(l.push(m.localPk),u.push(m.ip))}),t.storageService.includeVisibleLocalNodes(l,u);var f=[];return t.storageService.getSavedLocalNodes().forEach(function(m){if(!s.has(m.publicKey)&&!m.hidden){var C=new zb;C.localPk=m.publicKey;var I=t.storageService.getLabelInfo(m.publicKey);C.label=I&&I.label?I.label:t.storageService.getDefaultLabel(C),C.online=!1,C.dmsgServerPk="",C.roundTripPing="",f.push(C)}s.has(m.publicKey)&&!s.get(m.publicKey).online&&m.hidden&&s.delete(m.publicKey)}),a=[],s.forEach(function(m){return a.push(m)}),a=a.concat(f)}))}},{key:"nsToMs",value:function(t){var a=new(Ev())(t).dividedBy(1e6);return(a=a.isLessThan(10)?a.decimalPlaces(2):a.decimalPlaces(0)).toString(10)}},{key:"getNode",value:function(t){var a=this;return this.apiService.get("visors/".concat(t,"/summary")).pipe($e(function(o){var s=new zb;s.localPk=o.overview.local_pk,s.version=o.overview.build_info.version,s.secondsOnline=Math.floor(Number.parseFloat(o.uptime)),s.minHops=o.min_hops,s.buildTag=o.build_tag,s.skybianBuildVersion=o.skybian_build_version,s.isSymmeticNat=o.overview.is_symmetic_nat,s.publicIp=o.overview.public_ip,s.autoconnectTransports=o.public_autoconnect,s.ip=o.overview.local_ip&&o.overview.local_ip.trim()?o.overview.local_ip:null;var l=a.storageService.getLabelInfo(s.localPk);s.label=l&&l.label?l.label:a.storageService.getDefaultLabel(s),s.health={servicesHealth:o.health.services_health},s.transports=[],o.overview.transports&&o.overview.transports.forEach(function(f){s.transports.push({id:f.id,localPk:f.local_pk,remotePk:f.remote_pk,type:f.type,recv:f.log.recv,sent:f.log.sent})}),s.persistentTransports=[],o.persistent_transports&&o.persistent_transports.forEach(function(f){s.persistentTransports.push({pk:f.pk,type:f.type})}),s.routes=[],o.routes&&o.routes.forEach(function(f){s.routes.push({key:f.key,rule:f.rule}),f.rule_summary&&(s.routes[s.routes.length-1].ruleSummary={keepAlive:f.rule_summary.keep_alive,ruleType:f.rule_summary.rule_type,keyRouteId:f.rule_summary.key_route_id},f.rule_summary.app_fields&&f.rule_summary.app_fields.route_descriptor&&(s.routes[s.routes.length-1].appFields={routeDescriptor:{dstPk:f.rule_summary.app_fields.route_descriptor.dst_pk,dstPort:f.rule_summary.app_fields.route_descriptor.dst_port,srcPk:f.rule_summary.app_fields.route_descriptor.src_pk,srcPort:f.rule_summary.app_fields.route_descriptor.src_port}}),f.rule_summary.forward_fields&&(s.routes[s.routes.length-1].forwardFields={nextRid:f.rule_summary.forward_fields.next_rid,nextTid:f.rule_summary.forward_fields.next_tid},f.rule_summary.forward_fields.route_descriptor&&(s.routes[s.routes.length-1].forwardFields.routeDescriptor={dstPk:f.rule_summary.forward_fields.route_descriptor.dst_pk,dstPort:f.rule_summary.forward_fields.route_descriptor.dst_port,srcPk:f.rule_summary.forward_fields.route_descriptor.src_pk,srcPort:f.rule_summary.forward_fields.route_descriptor.src_port})),f.rule_summary.intermediary_forward_fields&&(s.routes[s.routes.length-1].intermediaryForwardFields={nextRid:f.rule_summary.intermediary_forward_fields.next_rid,nextTid:f.rule_summary.intermediary_forward_fields.next_tid}))}),s.apps=[],o.overview.apps&&o.overview.apps.forEach(function(f){s.apps.push({name:f.name,status:f.status,port:f.port,autostart:f.auto_start,detailedStatus:f.detailed_status,args:f.args})});var u=!1;return o.dmsg_stats&&(s.dmsgServerPk=o.dmsg_stats.server_public_key,s.roundTripPing=a.nsToMs(o.dmsg_stats.round_trip),u=!0),u||(s.dmsgServerPk="-",s.roundTripPing="-1"),s}))}},{key:"reboot",value:function(t){return this.apiService.post("visors/".concat(t,"/restart"))}},{key:"checkIfUpdating",value:function(t){return this.apiService.get("visors/".concat(t,"/update/ws/running"))}},{key:"checkUpdate",value:function(t){var a="stable";return a=localStorage.getItem(Qn.Channel)||a,this.apiService.get("visors/".concat(t,"/update/available/").concat(a))}},{key:"update",value:function(t){var a={channel:"stable"};if(localStorage.getItem(Qn.UseCustomSettings)){var s=localStorage.getItem(Qn.Channel);s&&(a.channel=s);var l=localStorage.getItem(Qn.Version);l&&(a.version=l);var u=localStorage.getItem(Qn.ArchiveURL);u&&(a.archive_url=u);var f=localStorage.getItem(Qn.ChecksumsURL);f&&(a.checksums_url=f)}return this.apiService.ws("visors/".concat(t,"/update/ws"),a)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(El),Ee($i))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),yU=["firstInput"],Wb=function(){var n=function(){function i(e,t,a,o,s){c(this,i),this.dialogRef=e,this.data=t,this.formBuilder=a,this.storageService=o,this.snackbarService=s}return d(i,[{key:"ngOnInit",value:function(){this.form=this.formBuilder.group({label:[this.data.label]})}},{key:"ngAfterViewInit",value:function(){var t=this;setTimeout(function(){return t.firstInput.nativeElement.focus()})}},{key:"save",value:function(){var t=this.form.get("label").value.trim();t!==this.data.label?(this.storageService.saveLabel(this.data.id,t,this.data.identifiedElementType),t?this.snackbarService.showDone("edit-label.done"):this.snackbarService.showWarning("edit-label.label-removed-warning"),this.dialogRef.close(!0)):this.dialogRef.close()}}],[{key:"openDialog",value:function(t,a){var o=new Zn;return o.data=a,o.autoFocus=!1,o.width=Kt.smallModalWidth,t.open(i,o)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Dr),B(Ur),B(Zi),B($i),B(An))},n.\u0275cmp=qe({type:n,selectors:[["app-edit-label"]],viewQuery:function(e,t){var a;1&e&>(yU,5),2&e&<(a=ut())&&(t.firstInput=a.first)},decls:10,vars:10,consts:[[3,"headline"],[3,"formGroup"],["formControlName","label","maxlength","66","matInput","",3,"placeholder"],["firstInput",""],["color","primary",1,"float-right",3,"action"]],template:function(e,t){1&e&&(E(0,"app-dialog",0),Y(1,"translate"),E(2,"form",1)(3,"mat-form-field"),Te(4,"input",2,3),Y(6,"translate"),P()(),E(7,"app-button",4),Se("action",function(){return t.save()}),R(8),Y(9,"translate"),P()()),2&e&&(S("headline",U(1,4,"labeled-element.edit-label")),p(2),S("formGroup",t.form),p(2),S("placeholder",U(6,6,"edit-label.label")),p(4),ge(U(9,8,"common.save")))},directives:[_r,ei,Xr,gr,ki,Qr,Qi,Jr,zr,Hi,di],pipes:[Mt],styles:[""]}),n}(),bU=["cancelButton"],kU=["confirmButton"];function MU(n,i){if(1&n&&(E(0,"div"),R(1),Y(2,"translate"),P()),2&n){var e=i.$implicit;p(1),ye(" - ",U(2,1,e)," ")}}function CU(n,i){if(1&n&&(E(0,"div",8),q(1,MU,3,3,"div",9),P()),2&n){var e=K();p(1),S("ngForOf",e.state!==e.confirmationStates.Done?e.data.list:e.doneList)}}function wU(n,i){if(1&n&&(E(0,"div",1),R(1),Y(2,"translate"),P()),2&n){var e=K();p(1),ye(" ",U(2,1,e.data.lowerText)," ")}}function SU(n,i){if(1&n){var e=tt();E(0,"app-button",10,11),Se("action",function(){return ke(e),K().closeModal()}),R(2),Y(3,"translate"),P()}if(2&n){var t=K();p(2),ye(" ",U(3,1,t.data.cancelButtonText)," ")}}var Rs=function(){return function(n){n.Asking="Asking",n.Processing="Processing",n.Done="Done"}(Rs||(Rs={})),Rs}(),DU=function(){var n=function(){function i(e,t){c(this,i),this.dialogRef=e,this.data=t,this.disableDismiss=!1,this.state=Rs.Asking,this.confirmationStates=Rs,this.operationAccepted=new pt,this.disableDismiss=!!t.disableDismiss,this.dialogRef.disableClose=this.disableDismiss}return d(i,[{key:"ngAfterViewInit",value:function(){var t=this;this.data.cancelButtonText?setTimeout(function(){return t.cancelButton.focus()}):setTimeout(function(){return t.confirmButton.focus()})}},{key:"ngOnDestroy",value:function(){this.operationAccepted.complete()}},{key:"closeModal",value:function(){this.dialogRef.close()}},{key:"sendOperationAcceptedEvent",value:function(){this.operationAccepted.emit()}},{key:"showAsking",value:function(t){t&&(this.data=t),this.state=Rs.Asking,this.confirmButton.reset(),this.disableDismiss=!1,this.dialogRef.disableClose=this.disableDismiss,this.cancelButton&&this.cancelButton.showEnabled()}},{key:"showProcessing",value:function(){this.state=Rs.Processing,this.disableDismiss=!0,this.confirmButton.showLoading(),this.cancelButton&&this.cancelButton.showDisabled()}},{key:"showDone",value:function(t,a){var o=this,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this.doneTitle=t||this.data.headerText,this.doneText=a,this.doneList=s,this.confirmButton.reset(),setTimeout(function(){return o.confirmButton.focus()}),this.state=Rs.Done,this.dialogRef.disableClose=!1,this.disableDismiss=!1}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Dr),B(Ur))},n.\u0275cmp=qe({type:n,selectors:[["app-confirmation"]],viewQuery:function(e,t){var a;1&e&&(gt(bU,5),gt(kU,5)),2&e&&(lt(a=ut())&&(t.cancelButton=a.first),lt(a=ut())&&(t.confirmButton=a.first))},outputs:{operationAccepted:"operationAccepted"},decls:13,vars:13,consts:[[3,"headline","disableDismiss"],[1,"text-container"],["class","list-container",4,"ngIf"],["class","text-container",4,"ngIf"],[1,"buttons"],["color","accent",3,"action",4,"ngIf"],["color","primary",3,"action"],["confirmButton",""],[1,"list-container"],[4,"ngFor","ngForOf"],["color","accent",3,"action"],["cancelButton",""]],template:function(e,t){1&e&&(E(0,"app-dialog",0),Y(1,"translate"),E(2,"div",1),R(3),Y(4,"translate"),P(),q(5,CU,2,1,"div",2),q(6,wU,3,3,"div",3),E(7,"div",4),q(8,SU,4,3,"app-button",5),E(9,"app-button",6,7),Se("action",function(){return t.state===t.confirmationStates.Asking?t.sendOperationAcceptedEvent():t.closeModal()}),R(11),Y(12,"translate"),P()()()),2&e&&(S("headline",U(1,7,t.state!==t.confirmationStates.Done?t.data.headerText:t.doneTitle))("disableDismiss",t.disableDismiss),p(3),ye(" ",U(4,9,t.state!==t.confirmationStates.Done?t.data.text:t.doneText)," "),p(2),S("ngIf",t.data.list&&t.state!==t.confirmationStates.Done||t.doneList&&t.state===t.confirmationStates.Done),p(1),S("ngIf",t.data.lowerText&&t.state!==t.confirmationStates.Done),p(2),S("ngIf",t.data.cancelButtonText&&t.state!==t.confirmationStates.Done),p(3),ye(" ",U(12,11,t.state!==t.confirmationStates.Done?t.data.confirmButtonText:"confirmation.close")," "))},directives:[_r,Et,Or,di],pipes:[Mt],styles:[".text-container[_ngcontent-%COMP%]{word-break:break-word}.list-container[_ngcontent-%COMP%]{font-size:14px;margin:10px;color:#215f9e;word-break:break-word}.buttons[_ngcontent-%COMP%]{margin-top:15px;text-align:right}.buttons[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%]{margin-left:5px}"]}),n}(),cn=function(){function n(){c(this,n)}return d(n,null,[{key:"createConfirmationDialog",value:function(e,t){var a={text:t,headerText:"confirmation.header-text",confirmButtonText:"confirmation.confirm-button",cancelButtonText:"confirmation.cancel-button",disableDismiss:!0},o=new Zn;return o.data=a,o.autoFocus=!1,o.width=Kt.smallModalWidth,e.open(DU,o)}}]),n}();function TU(n,i){if(1&n&&(E(0,"mat-icon",6),R(1),P()),2&n){var e=K().$implicit;S("inline",!0),p(1),ge(e.icon)}}function LU(n,i){if(1&n){var e=tt();E(0,"div",2)(1,"button",3),Se("click",function(){var s=ke(e).index;return K().closePopup(s+1)}),E(2,"div",4),q(3,TU,2,2,"mat-icon",5),E(4,"span"),R(5),Y(6,"translate"),P()()()()}if(2&n){var t=i.$implicit;p(3),S("ngIf",t.icon),p(2),ge(U(6,2,t.label))}}var Bi=function(){var n=function(){function i(e,t){c(this,i),this.data=e,this.dialogRef=t}return d(i,[{key:"closePopup",value:function(t){this.dialogRef.close(t)}}],[{key:"openDialog",value:function(t,a,o){var s=new Zn;return s.data={options:a,title:o},s.autoFocus=!1,s.width=Kt.smallModalWidth,t.open(i,s)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Ur),B(Dr))},n.\u0275cmp=qe({type:n,selectors:[["app-select-option"]],decls:3,vars:5,consts:[[3,"headline","includeVerticalMargins"],["class","options-list-button-container",4,"ngFor","ngForOf"],[1,"options-list-button-container"],["mat-button","",1,"grey-button-background",3,"click"],[1,"internal-container"],["class","icon",3,"inline",4,"ngIf"],[1,"icon",3,"inline"]],template:function(e,t){1&e&&(E(0,"app-dialog",0),Y(1,"translate"),q(2,LU,7,4,"div",1),P()),2&e&&(S("headline",U(1,3,t.data.title))("includeVerticalMargins",!1),p(2),S("ngForOf",t.data.options))},directives:[_r,Or,bi,Et,Mn],pipes:[Mt],styles:[".icon[_ngcontent-%COMP%]{font-size:14px;width:14px}"]}),n}(),qn=function(){return function(n){n.TextInput="TextInput",n.Select="Select"}(qn||(qn={})),qn}(),Sf=function(){var n=function(){function i(e){c(this,i),this.dom=e}return d(i,[{key:"copy",value:function(t){var a=null,o=!1;try{(a=this.dom.createElement("textarea")).style.height="0px",a.style.left="-100px",a.style.opacity="0",a.style.position="fixed",a.style.top="-100px",a.style.width="0px",this.dom.body.appendChild(a),a.value=t,a.select(),this.dom.execCommand("copy"),o=!0}finally{a&&a.parentNode&&a.parentNode.removeChild(a)}return o}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(Ot))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac}),n}();function xU(n,i){if(1&n&&(ze(0),E(1,"span",2),R(2),P(),We()),2&n){var e=K();p(2),ge(e.shortText)}}function OU(n,i){if(1&n&&(ze(0),E(1,"span"),R(2),P(),We()),2&n){var e=K();p(2),ge(e.text)}}var AU=function(){return{"tooltip-word-break":!0}},cE=function(){var n=function(){function i(){c(this,i),this.short=!1,this.showTooltip=!0,this.shortTextLength=5}return d(i,[{key:"shortText",get:function(){if(this.text.length>2*this.shortTextLength){var t=this.text.length,a=this.text.slice(0,this.shortTextLength),o=this.text.slice(t-this.shortTextLength,t);return"".concat(a,"...").concat(o)}return this.text}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=qe({type:n,selectors:[["app-truncated-text"]],inputs:{short:"short",showTooltip:"showTooltip",text:"text",shortTextLength:"shortTextLength"},decls:3,vars:5,consts:[[1,"wrapper",3,"matTooltip","matTooltipClass"],[4,"ngIf"],[1,"nowrap"]],template:function(e,t){1&e&&(E(0,"div",0),q(1,xU,3,1,"ng-container",1),q(2,OU,3,1,"ng-container",1),P()),2&e&&(S("matTooltip",t.short&&t.showTooltip?t.text:"")("matTooltipClass",Nn(4,AU)),p(1),S("ngIf",t.short),p(1),S("ngIf",!t.short))},directives:[ur,Et],styles:['.cursor-pointer[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}.nowrap[_ngcontent-%COMP%]{white-space:nowrap}.wrapper[_ngcontent-%COMP%]{display:inline}']}),n}();function IU(n,i){if(1&n&&(E(0,"span"),R(1),Y(2,"translate"),P()),2&n){var e=K();p(1),ye(" ",U(2,1,e.labelComponents.prefix)," ")}}function FU(n,i){if(1&n&&(E(0,"span"),R(1),P()),2&n){var e=K();p(1),ye(" ",e.labelComponents.prefixSeparator," ")}}function RU(n,i){if(1&n&&(E(0,"span"),R(1),P()),2&n){var e=K();p(1),ye(" ",e.labelComponents.label," ")}}function NU(n,i){if(1&n&&(E(0,"span"),R(1),Y(2,"translate"),P()),2&n){var e=K();p(1),ye(" ",U(2,1,e.labelComponents.translatableLabel)," ")}}var YU=function(i){return{text:i}},HU=function(){return{"tooltip-word-break":!0}},BU=d(function n(){c(this,n),this.prefix="",this.prefixSeparator="",this.label="",this.translatableLabel=""}),ts=function(){var n=function(){function i(e,t,a,o){c(this,i),this.dialog=e,this.storageService=t,this.clipboardService=a,this.snackbarService=o,this.short=!1,this.shortTextLength=5,this.elementType=li.Node,this.labelEdited=new pt}return d(i,[{key:"id",get:function(){return this.idInternal?this.idInternal:""},set:function(t){this.idInternal=t,this.labelComponents=i.getLabelComponents(this.storageService,this.id)}},{key:"ngOnDestroy",value:function(){this.labelEdited.complete()}},{key:"processClick",value:function(){var t=this,a=[{icon:"filter_none",label:"labeled-element.copy"},{icon:"edit",label:"labeled-element.edit-label"}];this.labelComponents.labelInfo&&a.push({icon:"close",label:"labeled-element.remove-label"}),Bi.openDialog(this.dialog,a,"common.options").afterClosed().subscribe(function(o){if(1===o)t.clipboardService.copy(t.id)&&t.snackbarService.showDone("copy.copied");else if(3===o){var s=cn.createConfirmationDialog(t.dialog,"labeled-element.remove-label-confirmation");s.componentInstance.operationAccepted.subscribe(function(){s.componentInstance.closeModal(),t.storageService.saveLabel(t.id,null,t.elementType),t.snackbarService.showDone("edit-label.label-removed-warning"),t.labelEdited.emit()})}else if(2===o){var l=t.labelComponents.labelInfo;l||(l={id:t.id,label:"",identifiedElementType:t.elementType}),Wb.openDialog(t.dialog,l).afterClosed().subscribe(function(u){u&&t.labelEdited.emit()})}})}}],[{key:"getLabelComponents",value:function(t,a){var o;o=!!t.getSavedVisibleLocalNodes().has(a);var s=new BU;return s.labelInfo=t.getLabelInfo(a),s.labelInfo&&s.labelInfo.label?(o&&(s.prefix="labeled-element.local-element",s.prefixSeparator=" - "),s.label=s.labelInfo.label):t.getSavedVisibleLocalNodes().has(a)?s.prefix="labeled-element.unnamed-local-visor":s.translatableLabel="labeled-element.unnamed-element",s}},{key:"getCompleteLabel",value:function(t,a,o){var s=i.getLabelComponents(t,o);return(s.prefix?a.instant(s.prefix):"")+s.prefixSeparator+s.label+(s.translatableLabel?a.instant(s.translatableLabel):"")}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Gn),B($i),B(Sf),B(An))},n.\u0275cmp=qe({type:n,selectors:[["app-labeled-element-text"]],inputs:{id:"id",short:"short",shortTextLength:"shortTextLength",elementType:"elementType"},outputs:{labelEdited:"labelEdited"},decls:12,vars:17,consts:[[1,"wrapper","highlight-internal-icon",3,"matTooltip","matTooltipClass","click"],[1,"label"],[4,"ngIf"],[3,"short","showTooltip","shortTextLength","text"],[3,"inline"]],template:function(e,t){1&e&&(E(0,"div",0),Se("click",function(o){return o.stopPropagation(),t.processClick()}),Y(1,"translate"),E(2,"span",1),q(3,IU,3,3,"span",2),q(4,FU,2,1,"span",2),q(5,RU,2,1,"span",2),q(6,NU,3,3,"span",2),P(),Te(7,"br")(8,"app-truncated-text",3),R(9," \xa0"),E(10,"mat-icon",4),R(11,"settings"),P()()),2&e&&(S("matTooltip",xt(1,11,t.short?"labeled-element.tooltip-with-text":"labeled-element.tooltip",Qe(14,YU,t.id)))("matTooltipClass",Nn(16,HU)),p(3),S("ngIf",t.labelComponents&&t.labelComponents.prefix),p(1),S("ngIf",t.labelComponents&&t.labelComponents.prefixSeparator),p(1),S("ngIf",t.labelComponents&&t.labelComponents.label),p(1),S("ngIf",t.labelComponents&&t.labelComponents.translatableLabel),p(2),S("short",t.short)("showTooltip",!1)("shortTextLength",t.shortTextLength)("text",t.id),p(2),S("inline",!0))},directives:[ur,Et,cE,Mn],pipes:[Mt],styles:['.cursor-pointer[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}.wrapper[_ngcontent-%COMP%]{display:inline}.wrapper[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:.8rem;-webkit-user-select:none;user-select:none}.label[_ngcontent-%COMP%]{opacity:.7;font-size:.8rem}']}),n}(),xn=function(){function n(i,e,t,a){c(this,n),this.properties=i,this.label=e,this.sortingMode=t,this.labelProperties=a}return d(n,[{key:"id",get:function(){return this.properties.join("")}}]),n}(),Jt=function(){return function(n){n.Text="Text",n.Number="Number",n.NumberReversed="NumberReversed",n.Boolean="Boolean"}(Jt||(Jt={})),Jt}(),vc=function(){function n(i,e,t,a,o){c(this,n),this.dialog=i,this.translateService=e,this.sortReverse=!1,this.sortByLabel=!1,this.tieBreakerColumnIndex=null,this.columnStorageKeyPrefix="col_",this.orderStorageKeyPrefix="order_",this.labelStorageKeyPrefix="label_",this.dataUpdatedSubject=new Ie,this.sortableColumns=t,this.id=o,this.defaultColumnIndex=a,this.sortBy=t[a];var s=localStorage.getItem(this.columnStorageKeyPrefix+o);if(s){var l=t.find(function(u){return u.id===s});l&&(this.sortBy=l)}this.sortReverse="true"===localStorage.getItem(this.orderStorageKeyPrefix+o),this.sortByLabel="true"===localStorage.getItem(this.labelStorageKeyPrefix+o)}return d(n,[{key:"sortingArrow",get:function(){return this.sortReverse?"keyboard_arrow_up":"keyboard_arrow_down"}},{key:"currentSortingColumn",get:function(){return this.sortBy}},{key:"sortingInReverseOrder",get:function(){return this.sortReverse}},{key:"dataSorted",get:function(){return this.dataUpdatedSubject.asObservable()}},{key:"currentlySortingByLabel",get:function(){return this.sortByLabel}},{key:"dispose",value:function(){this.dataUpdatedSubject.complete()}},{key:"setTieBreakerColumnIndex",value:function(e){this.tieBreakerColumnIndex=e}},{key:"setData",value:function(e){this.data=e,this.sortData()}},{key:"changeSortingOrder",value:function(e){var t=this;if(this.sortBy===e||e.labelProperties)if(e.labelProperties){var a=[{label:this.translateService.instant("tables.sort-by-value")},{label:this.translateService.instant("tables.sort-by-value")+" "+this.translateService.instant("tables.inverted-order")},{label:this.translateService.instant("tables.sort-by-label")},{label:this.translateService.instant("tables.sort-by-label")+" "+this.translateService.instant("tables.inverted-order")}];Bi.openDialog(this.dialog,a,"tables.title").afterClosed().subscribe(function(o){o&&t.changeSortingParams(e,o>2,o%2==0)})}else this.sortReverse=!this.sortReverse,localStorage.setItem(this.orderStorageKeyPrefix+this.id,String(this.sortReverse)),this.sortData();else this.changeSortingParams(e,!1,!1)}},{key:"changeSortingParams",value:function(e,t,a){this.sortBy=e,this.sortByLabel=t,this.sortReverse=a,localStorage.setItem(this.columnStorageKeyPrefix+this.id,e.id),localStorage.setItem(this.orderStorageKeyPrefix+this.id,String(this.sortReverse)),localStorage.setItem(this.labelStorageKeyPrefix+this.id,String(this.sortByLabel)),this.sortData()}},{key:"openSortingOrderModal",value:function(){var e=this,t=[],a=[];this.sortableColumns.forEach(function(o){var s=e.translateService.instant(o.label);t.push({label:s}),a.push({sortBy:o,sortReverse:!1,sortByLabel:!1}),t.push({label:s+" "+e.translateService.instant("tables.inverted-order")}),a.push({sortBy:o,sortReverse:!0,sortByLabel:!1}),o.labelProperties&&(t.push({label:s+" "+e.translateService.instant("tables.label")}),a.push({sortBy:o,sortReverse:!1,sortByLabel:!0}),t.push({label:s+" "+e.translateService.instant("tables.label")+" "+e.translateService.instant("tables.inverted-order")}),a.push({sortBy:o,sortReverse:!0,sortByLabel:!0}))}),Bi.openDialog(this.dialog,t,"tables.title").afterClosed().subscribe(function(o){o&&e.changeSortingParams(a[o-1].sortBy,a[o-1].sortByLabel,a[o-1].sortReverse)})}},{key:"sortData",value:function(){var e=this;this.data&&(this.data.sort(function(t,a){var o=e.getSortResponse(e.sortBy,t,a,!0);return 0===o&&null!==e.tieBreakerColumnIndex&&e.sortableColumns[e.tieBreakerColumnIndex]!==e.sortBy&&(o=e.getSortResponse(e.sortableColumns[e.tieBreakerColumnIndex],t,a,!1)),0===o&&e.sortableColumns[e.defaultColumnIndex]!==e.sortBy&&(o=e.getSortResponse(e.sortableColumns[e.defaultColumnIndex],t,a,!1)),o}),this.dataUpdatedSubject.next())}},{key:"getSortResponse",value:function(e,t,a,o){var l=t,u=a;(this.sortByLabel&&o&&e.labelProperties?e.labelProperties:e.properties).forEach(function(C){l=l[C],u=u[C]});var f=this.sortByLabel&&o?Jt.Text:e.sortingMode,m=0;return f===Jt.Text?m=this.sortReverse?u.localeCompare(l):l.localeCompare(u):f===Jt.NumberReversed?m=this.sortReverse?l-u:u-l:f===Jt.Number?m=this.sortReverse?u-l:l-u:f===Jt.Boolean&&(l&&!u?m=-1:!l&&u&&(m=1),m*=this.sortReverse?-1:1),m}}]),n}(),VU=function(){function n(){var i=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0,a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];c(this,n),this._multiple=e,this._emitChanges=a,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new Ie,t&&t.length&&(e?t.forEach(function(o){return i._markSelected(o)}):this._markSelected(t[0]),this._selectedToEmit.length=0)}return d(n,[{key:"selected",get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}},{key:"select",value:function(){for(var e=this,t=arguments.length,a=new Array(t),o=0;o void",K4("@transformPanel",[q4()],{optional:!0}))]),transformPanel:Go("transformPanel",[Ri("void",kn({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),Ri("showing",kn({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Ri("showing-multiple",kn({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),yi("void => *",Fi("120ms cubic-bezier(0, 0, 0.2, 1)")),yi("* => void",Fi("100ms 25ms linear",kn({opacity:0})))])},fE=0,pE=new Ze("mat-select-scroll-strategy"),ez=new Ze("MAT_SELECT_CONFIG"),tz={provide:pE,deps:[Aa],useFactory:function XU(n){return function(){return n.scrollStrategies.reposition()}}},nz=d(function n(i,e){c(this,n),this.source=i,this.value=e}),rz=df(p2(sc(v2(function(){return d(function n(i,e,t,a,o){c(this,n),this._elementRef=i,this._defaultErrorStateMatcher=e,this._parentForm=t,this._parentFormGroup=a,this.ngControl=o})}())))),vE=new Ze("MatSelectTrigger"),iz=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=et({type:n,selectors:[["mat-select-trigger"]],features:[un([{provide:vE,useExisting:n}])]}),n}(),az=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l,u,f,m,C,I,V,J,me,Ce,Le){var pe,Re,Ye,Ge;return c(this,t),(pe=e.call(this,u,l,m,C,V))._viewportRuler=a,pe._changeDetectorRef=o,pe._ngZone=s,pe._dir=f,pe._parentFormField=I,pe._liveAnnouncer=Ce,pe._defaultOptions=Le,pe._panelOpen=!1,pe._compareWith=function(rt,mt){return rt===mt},pe._uid="mat-select-".concat(fE++),pe._triggerAriaLabelledBy=null,pe._destroy=new Ie,pe._onChange=function(){},pe._onTouched=function(){},pe._valueId="mat-select-value-".concat(fE++),pe._panelDoneAnimatingStream=new Ie,pe._overlayPanelClass=(null===(Re=pe._defaultOptions)||void 0===Re?void 0:Re.overlayPanelClass)||"",pe._focused=!1,pe.controlType="mat-select",pe._multiple=!1,pe._disableOptionCentering=null!==(Ge=null===(Ye=pe._defaultOptions)||void 0===Ye?void 0:Ye.disableOptionCentering)&&void 0!==Ge&&Ge,pe.ariaLabel="",pe.optionSelectionChanges=Dp(function(){var rt=pe.options;return rt?rt.changes.pipe(ha(rt),fa(function(){return Ci.apply(void 0,ae(rt.map(function(mt){return mt.onSelectionChange})))})):pe._ngZone.onStable.pipe(nr(1),fa(function(){return pe.optionSelectionChanges}))}),pe.openedChange=new pt,pe._openedStream=pe.openedChange.pipe(Ar(function(rt){return rt}),$e(function(){})),pe._closedStream=pe.openedChange.pipe(Ar(function(rt){return!rt}),$e(function(){})),pe.selectionChange=new pt,pe.valueChange=new pt,pe.ngControl&&(pe.ngControl.valueAccessor=x(pe)),null!=(null==Le?void 0:Le.typeaheadDebounceInterval)&&(pe._typeaheadDebounceInterval=Le.typeaheadDebounceInterval),pe._scrollStrategyFactory=me,pe._scrollStrategy=pe._scrollStrategyFactory(),pe.tabIndex=parseInt(J)||0,pe.id=pe.id,pe}return d(t,[{key:"focused",get:function(){return this._focused||this._panelOpen}},{key:"placeholder",get:function(){return this._placeholder},set:function(o){this._placeholder=o,this.stateChanges.next()}},{key:"required",get:function(){var o,s,l,u;return null!==(u=null!==(o=this._required)&&void 0!==o?o:null===(l=null===(s=this.ngControl)||void 0===s?void 0:s.control)||void 0===l?void 0:l.hasValidator(Cn.required))&&void 0!==u&&u},set:function(o){this._required=$n(o),this.stateChanges.next()}},{key:"multiple",get:function(){return this._multiple},set:function(o){this._multiple=$n(o)}},{key:"disableOptionCentering",get:function(){return this._disableOptionCentering},set:function(o){this._disableOptionCentering=$n(o)}},{key:"compareWith",get:function(){return this._compareWith},set:function(o){this._compareWith=o,this._selectionModel&&this._initializeSelection()}},{key:"value",get:function(){return this._value},set:function(o){(o!==this._value||this._multiple&&Array.isArray(o))&&(this.options&&this._setSelectionByValue(o),this._value=o)}},{key:"typeaheadDebounceInterval",get:function(){return this._typeaheadDebounceInterval},set:function(o){this._typeaheadDebounceInterval=Oa(o)}},{key:"id",get:function(){return this._id},set:function(o){this._id=o||this._uid,this.stateChanges.next()}},{key:"ngOnInit",value:function(){var o=this;this._selectionModel=new VU(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(nb(),hn(this._destroy)).subscribe(function(){return o._panelDoneAnimating(o.panelOpen)})}},{key:"ngAfterContentInit",value:function(){var o=this;this._initKeyManager(),this._selectionModel.changed.pipe(hn(this._destroy)).subscribe(function(s){s.added.forEach(function(l){return l.select()}),s.removed.forEach(function(l){return l.deselect()})}),this.options.changes.pipe(ha(null),hn(this._destroy)).subscribe(function(){o._resetOptions(),o._initializeSelection()})}},{key:"ngDoCheck",value:function(){var o=this._getTriggerAriaLabelledby();if(o!==this._triggerAriaLabelledBy){var s=this._elementRef.nativeElement;this._triggerAriaLabelledBy=o,o?s.setAttribute("aria-labelledby",o):s.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}},{key:"ngOnChanges",value:function(o){o.disabled&&this.stateChanges.next(),o.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(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}},{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(o){this.value=o}},{key:"registerOnChange",value:function(o){this._onChange=o}},{key:"registerOnTouched",value:function(o){this._onTouched=o}},{key:"setDisabledState",value:function(o){this.disabled=o,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}},{key:"panelOpen",get:function(){return this._panelOpen}},{key:"selected",get:function(){var o,s;return this.multiple?(null===(o=this._selectionModel)||void 0===o?void 0:o.selected)||[]:null===(s=this._selectionModel)||void 0===s?void 0:s.selected[0]}},{key:"triggerValue",get:function(){if(this.empty)return"";if(this._multiple){var o=this._selectionModel.selected.map(function(s){return s.viewValue});return this._isRtl()&&o.reverse(),o.join(", ")}return this._selectionModel.selected[0].viewValue}},{key:"_isRtl",value:function(){return!!this._dir&&"rtl"===this._dir.value}},{key:"_handleKeydown",value:function(o){this.disabled||(this.panelOpen?this._handleOpenKeydown(o):this._handleClosedKeydown(o))}},{key:"_handleClosedKeydown",value:function(o){var s=o.keyCode,l=40===s||38===s||37===s||39===s,u=13===s||32===s,f=this._keyManager;if(!f.isTyping()&&u&&!Qo(o)||(this.multiple||o.altKey)&&l)o.preventDefault(),this.open();else if(!this.multiple){var m=this.selected;f.onKeydown(o);var C=this.selected;C&&m!==C&&this._liveAnnouncer.announce(C.viewValue,1e4)}}},{key:"_handleOpenKeydown",value:function(o){var s=this._keyManager,l=o.keyCode,u=40===l||38===l,f=s.isTyping();if(u&&o.altKey)o.preventDefault(),this.close();else if(f||13!==l&&32!==l||!s.activeItem||Qo(o))if(!f&&this._multiple&&65===l&&o.ctrlKey){o.preventDefault();var m=this.options.some(function(I){return!I.disabled&&!I.selected});this.options.forEach(function(I){I.disabled||(m?I.select():I.deselect())})}else{var C=s.activeItemIndex;s.onKeydown(o),this._multiple&&u&&o.shiftKey&&s.activeItem&&s.activeItemIndex!==C&&s.activeItem._selectViaInteraction()}else o.preventDefault(),s.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 o=this;this._overlayDir.positionChange.pipe(nr(1)).subscribe(function(){o._changeDetectorRef.detectChanges(),o._positioningSettled()})}},{key:"_getPanelTheme",value:function(){return this._parentFormField?"mat-".concat(this._parentFormField.color):""}},{key:"empty",get:function(){return!this._selectionModel||this._selectionModel.isEmpty()}},{key:"_initializeSelection",value:function(){var o=this;Promise.resolve().then(function(){o.ngControl&&(o._value=o.ngControl.value),o._setSelectionByValue(o._value),o.stateChanges.next()})}},{key:"_setSelectionByValue",value:function(o){var s=this;if(this._selectionModel.selected.forEach(function(u){return u.setInactiveStyles()}),this._selectionModel.clear(),this.multiple&&o)Array.isArray(o),o.forEach(function(u){return s._selectValue(u)}),this._sortValues();else{var l=this._selectValue(o);l?this._keyManager.updateActiveItem(l):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}},{key:"_selectValue",value:function(o){var s=this,l=this.options.find(function(u){if(s._selectionModel.isSelected(u))return!1;try{return null!=u.value&&s._compareWith(u.value,o)}catch(f){return!1}});return l&&this._selectionModel.select(l),l}},{key:"_initKeyManager",value:function(){var o=this;this._keyManager=new l8(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(hn(this._destroy)).subscribe(function(){o.panelOpen&&(!o.multiple&&o._keyManager.activeItem&&o._keyManager.activeItem._selectViaInteraction(),o.focus(),o.close())}),this._keyManager.change.pipe(hn(this._destroy)).subscribe(function(){o._panelOpen&&o.panel?o._scrollOptionIntoView(o._keyManager.activeItemIndex||0):!o._panelOpen&&!o.multiple&&o._keyManager.activeItem&&o._keyManager.activeItem._selectViaInteraction()})}},{key:"_resetOptions",value:function(){var o=this,s=Ci(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(hn(s)).subscribe(function(l){o._onSelect(l.source,l.isUserInput),l.isUserInput&&!o.multiple&&o._panelOpen&&(o.close(),o.focus())}),Ci.apply(void 0,ae(this.options.map(function(l){return l._stateChanges}))).pipe(hn(s)).subscribe(function(){o._changeDetectorRef.markForCheck(),o.stateChanges.next()})}},{key:"_onSelect",value:function(o,s){var l=this._selectionModel.isSelected(o);null!=o.value||this._multiple?(l!==o.selected&&(o.selected?this._selectionModel.select(o):this._selectionModel.deselect(o)),s&&this._keyManager.setActiveItem(o),this.multiple&&(this._sortValues(),s&&this.focus())):(o.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(o.value)),l!==this._selectionModel.isSelected(o)&&this._propagateChanges(),this.stateChanges.next()}},{key:"_sortValues",value:function(){var o=this;if(this.multiple){var s=this.options.toArray();this._selectionModel.sort(function(l,u){return o.sortComparator?o.sortComparator(l,u,s):s.indexOf(l)-s.indexOf(u)}),this.stateChanges.next()}}},{key:"_propagateChanges",value:function(o){var s;s=this.multiple?this.selected.map(function(l){return l.value}):this.selected?this.selected.value:o,this._value=s,this.valueChange.emit(s),this._onChange(s),this.selectionChange.emit(this._getChangeEvent(s)),this._changeDetectorRef.markForCheck()}},{key:"_highlightCorrectOption",value:function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}},{key:"_canOpen",value:function(){var o;return!this._panelOpen&&!this.disabled&&(null===(o=this.options)||void 0===o?void 0:o.length)>0}},{key:"focus",value:function(o){this._elementRef.nativeElement.focus(o)}},{key:"_getPanelAriaLabelledby",value:function(){var o;if(this.ariaLabel)return null;var s=null===(o=this._parentFormField)||void 0===o?void 0:o.getLabelId();return this.ariaLabelledby?(s?s+" ":"")+this.ariaLabelledby:s}},{key:"_getAriaActiveDescendant",value:function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}},{key:"_getTriggerAriaLabelledby",value:function(){var o;if(this.ariaLabel)return null;var s=null===(o=this._parentFormField)||void 0===o?void 0:o.getLabelId(),l=(s?s+" ":"")+this._valueId;return this.ariaLabelledby&&(l+=" "+this.ariaLabelledby),l}},{key:"_panelDoneAnimating",value:function(o){this.openedChange.emit(o)}},{key:"setDescribedByIds",value:function(o){this._ariaDescribedby=o.join(" ")}},{key:"onContainerClick",value:function(){this.focus(),this.open()}},{key:"shouldLabelFloat",get:function(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}]),t}(rz);return n.\u0275fac=function(e){return new(e||n)(B(Ml),B(Yn),B(bt),B(ov),B(yt),B(pa,8),B(Cf,8),B(gr,8),B(jb,8),B(Do,10),Yo("tabindex"),B(pE),B(sb),B(ez,8))},n.\u0275dir=et({type:n,viewQuery:function(e,t){var a;1&e&&(gt(jU,5),gt(UU,5),gt(KT,5)),2&e&&(lt(a=ut())&&(t.trigger=a.first),lt(a=ut())&&(t.panel=a.first),lt(a=ut())&&(t._overlayDir=a.first))},inputs:{panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[vt,Nr]}),n}(),Tf=function(){var n=function(i){h(t,i);var e=y(t);function t(){var a;return c(this,t),(a=e.apply(this,arguments))._scrollTop=0,a._triggerFontSize=0,a._transformOrigin="top",a._offsetY=0,a._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],a}return d(t,[{key:"_calculateOverlayScroll",value:function(o,s,l){var u=this._getItemHeight();return Math.min(Math.max(0,u*o-s+u/2),l)}},{key:"ngOnInit",value:function(){var o=this;T(O(t.prototype),"ngOnInit",this).call(this),this._viewportRuler.change().pipe(hn(this._destroy)).subscribe(function(){o.panelOpen&&(o._triggerRect=o.trigger.nativeElement.getBoundingClientRect(),o._changeDetectorRef.markForCheck())})}},{key:"open",value:function(){var o=this;T(O(t.prototype),"_canOpen",this).call(this)&&(T(O(t.prototype),"open",this).call(this),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe(nr(1)).subscribe(function(){o._triggerFontSize&&o._overlayDir.overlayRef&&o._overlayDir.overlayRef.overlayElement&&(o._overlayDir.overlayRef.overlayElement.style.fontSize="".concat(o._triggerFontSize,"px"))}))}},{key:"_scrollOptionIntoView",value:function(o){var s=M2(o,this.options,this.optionGroups),l=this._getItemHeight();this.panel.nativeElement.scrollTop=0===o&&1===s?0:function G8(n,i,e,t){return ne+t?Math.max(0,n-t+i):e}((o+s)*l,l,this.panel.nativeElement.scrollTop,256)}},{key:"_positioningSettled",value:function(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}},{key:"_panelDoneAnimating",value:function(o){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),T(O(t.prototype),"_panelDoneAnimating",this).call(this,o)}},{key:"_getChangeEvent",value:function(o){return new nz(this,o)}},{key:"_calculateOverlayOffsetX",value:function(){var f,o=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),s=this._viewportRuler.getViewportSize(),l=this._isRtl(),u=this.multiple?56:32;if(this.multiple)f=40;else if(this.disableOptionCentering)f=16;else{var m=this._selectionModel.selected[0]||this.options.first;f=m&&m.group?32:16}l||(f*=-1);var C=0-(o.left+f-(l?u:0)),I=o.right+f-s.width+(l?0:u);C>0?f+=C+8:I>0&&(f-=I+8),this._overlayDir.offsetX=Math.round(f),this._overlayDir.overlayRef.updatePosition()}},{key:"_calculateOverlayOffsetY",value:function(o,s,l){var C,u=this._getItemHeight(),f=(u-this._triggerRect.height)/2,m=Math.floor(256/u);return this.disableOptionCentering?0:(C=0===this._scrollTop?o*u:this._scrollTop===l?(o-(this._getItemCount()-m))*u+(u-(this._getItemCount()*u-256)%u):s-u/2,Math.round(-1*C-f))}},{key:"_checkOverlayWithinViewport",value:function(o){var s=this._getItemHeight(),l=this._viewportRuler.getViewportSize(),u=this._triggerRect.top-8,f=l.height-this._triggerRect.bottom-8,m=Math.abs(this._offsetY),I=Math.min(this._getItemCount()*s,256)-m-this._triggerRect.height;I>f?this._adjustPanelUp(I,f):m>u?this._adjustPanelDown(m,u,o):this._transformOrigin=this._getOriginBasedOnOption()}},{key:"_adjustPanelUp",value:function(o,s){var l=Math.round(o-s);this._scrollTop-=l,this._offsetY-=l,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}},{key:"_adjustPanelDown",value:function(o,s,l){var u=Math.round(o-s);if(this._scrollTop+=u,this._offsetY+=u,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=l)return this._scrollTop=l,this._offsetY=0,void(this._transformOrigin="50% top 0px")}},{key:"_calculateOverlayPosition",value:function(){var m,o=this._getItemHeight(),s=this._getItemCount(),l=Math.min(s*o,256),f=s*o-l;m=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),m+=M2(m,this.options,this.optionGroups);var C=l/2;this._scrollTop=this._calculateOverlayScroll(m,C,f),this._offsetY=this._calculateOverlayOffsetY(m,C,f),this._checkOverlayWithinViewport(f)}},{key:"_getOriginBasedOnOption",value:function(){var o=this._getItemHeight(),s=(o-this._triggerRect.height)/2,l=Math.abs(this._offsetY)-s+o/2;return"50% ".concat(l,"px 0px")}},{key:"_getItemHeight",value:function(){return 3*this._triggerFontSize}},{key:"_getItemCount",value:function(){return this.options.length+this.optionGroups.length}}]),t}(az);return n.\u0275fac=function(){var i;return function(t){return(i||(i=or(n)))(t||n)}}(),n.\u0275cmp=qe({type:n,selectors:[["mat-select"]],contentQueries:function(e,t,a){var o;1&e&&(vr(a,vE,5),vr(a,lc,5),vr(a,k2,5)),2&e&&(lt(o=ut())&&(t.customTrigger=o.first),lt(o=ut())&&(t.options=o),lt(o=ut())&&(t.optionGroups=o))},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(e,t){1&e&&Se("keydown",function(o){return t._handleKeydown(o)})("focus",function(){return t._onFocus()})("blur",function(){return t._onBlur()}),2&e&&(Wt("id",t.id)("tabindex",t.tabIndex)("aria-controls",t.panelOpen?t.id+"-panel":null)("aria-expanded",t.panelOpen)("aria-label",t.ariaLabel||null)("aria-required",t.required.toString())("aria-disabled",t.disabled.toString())("aria-invalid",t.errorState)("aria-describedby",t._ariaDescribedby||null)("aria-activedescendant",t._getAriaActiveDescendant()),fn("mat-select-disabled",t.disabled)("mat-select-invalid",t.errorState)("mat-select-required",t.required)("mat-select-empty",t.empty)("mat-select-multiple",t.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[un([{provide:Tv,useExisting:n},{provide:b2,useExisting:n}]),vt],ngContentSelectors:ZU,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",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,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,t){if(1&e&&(Gi($U),E(0,"div",0,1),Se("click",function(){return t.toggle()}),E(3,"div",2),q(4,zU,2,1,"span",3),q(5,qU,3,2,"span",4),P(),E(6,"div",5),Te(7,"div",6),P()(),q(8,KU,4,14,"ng-template",7),Se("backdropClick",function(){return t.close()})("attach",function(){return t._onAttached()})("detach",function(){return t.close()})),2&e){var a=sr(1);Wt("aria-owns",t.panelOpen?t.id+"-panel":null),p(3),S("ngSwitch",t.empty),Wt("id",t._valueId),p(1),S("ngSwitchCase",!0),p(1),S("ngSwitchCase",!1),p(3),S("cdkConnectedOverlayPanelClass",t._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",t._scrollStrategy)("cdkConnectedOverlayOrigin",a)("cdkConnectedOverlayOpen",t.panelOpen)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayMinWidth",null==t._triggerRect?null:t._triggerRect.width)("cdkConnectedOverlayOffsetY",t._offsetY)}},directives:[qT,Wu,tp,qw,KT,mr],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;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-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.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;outline:0}.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}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;opacity:0}\n'],encapsulation:2,data:{animation:[dE.transformPanelWrap,dE.transformPanel]},changeDetection:0}),n}(),oz=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({providers:[tz],imports:[[Mo,cf,C2,Pn],af,Lv,C2,Pn]}),n}();function sz(n,i){if(1&n&&(Te(0,"input",7),Y(1,"translate")),2&n){var e=K().$implicit;S("formControlName",e.keyNameInFiltersObject)("maxlength",e.maxlength)("placeholder",U(1,3,e.filterName))}}function lz(n,i){if(1&n&&(E(0,"div",12),Te(1,"div",13),P()),2&n){var e=K().$implicit,t=K(2).$implicit;tr("background-image: url('"+t.printableLabelGeneralSettings.defaultImage+"'); width: "+t.printableLabelGeneralSettings.imageWidth+"px; height: "+t.printableLabelGeneralSettings.imageHeight+"px;"),p(1),tr("background-image: url('"+e.image+"');")}}function uz(n,i){if(1&n&&(E(0,"mat-option",10),q(1,lz,2,4,"div",11),R(2),Y(3,"translate"),P()),2&n){var e=i.$implicit,t=K(2).$implicit;S("value",e.value),p(1),S("ngIf",t.printableLabelGeneralSettings&&e.image),p(1),ye(" ",U(3,3,e.label)," ")}}function cz(n,i){if(1&n&&(E(0,"mat-select",8),Y(1,"translate"),q(2,uz,4,5,"mat-option",9),P()),2&n){var e=K().$implicit;S("formControlName",e.keyNameInFiltersObject)("placeholder",U(1,3,e.filterName)),p(2),S("ngForOf",e.printableLabelsForValues)}}function dz(n,i){if(1&n&&(ze(0),E(1,"mat-form-field"),q(2,sz,2,5,"input",5),q(3,cz,3,5,"mat-select",6),P(),We()),2&n){var e=i.$implicit,t=K();p(2),S("ngIf",e.type===t.filterFieldTypes.TextInput),p(1),S("ngIf",e.type===t.filterFieldTypes.Select)}}var fz=function(){var n=function(){function i(e,t,a){c(this,i),this.data=e,this.dialogRef=t,this.formBuilder=a,this.filterFieldTypes=qn}return d(i,[{key:"ngOnInit",value:function(){var t=this,a={};this.data.filterPropertiesList.forEach(function(o){a[o.keyNameInFiltersObject]=[t.data.currentFilters[o.keyNameInFiltersObject]]}),this.form=this.formBuilder.group(a)}},{key:"apply",value:function(){var t=this,a={};this.data.filterPropertiesList.forEach(function(o){a[o.keyNameInFiltersObject]=t.form.get(o.keyNameInFiltersObject).value.trim()}),this.dialogRef.close(a)}}],[{key:"openDialog",value:function(t,a){var o=new Zn;return o.data=a,o.autoFocus=!1,o.width=Kt.smallModalWidth,t.open(i,o)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Ur),B(Dr),B(Zi))},n.\u0275cmp=qe({type:n,selectors:[["app-filters-selection"]],decls:8,vars:8,consts:[[3,"headline"],[3,"formGroup"],[4,"ngFor","ngForOf"],["color","primary",1,"float-right",3,"action"],["button",""],["matInput","",3,"formControlName","maxlength","placeholder",4,"ngIf"],[3,"formControlName","placeholder",4,"ngIf"],["matInput","",3,"formControlName","maxlength","placeholder"],[3,"formControlName","placeholder"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["class","image-container",3,"style",4,"ngIf"],[1,"image-container"],[1,"image"]],template:function(e,t){1&e&&(E(0,"app-dialog",0),Y(1,"translate"),E(2,"form",1),q(3,dz,4,2,"ng-container",2),P(),E(4,"app-button",3,4),Se("action",function(){return t.apply()}),R(6),Y(7,"translate"),P()()),2&e&&(S("headline",U(1,4,"filters.filter-action")),p(2),S("formGroup",t.form),p(1),S("ngForOf",t.data.filterPropertiesList),p(3),ye(" ",U(7,6,"common.ok")," "))},directives:[_r,ei,Xr,gr,Or,ki,Et,Qi,Qr,Jr,zr,Hi,Tf,lc,di],pipes:[Mt],styles:[".image-container[_ngcontent-%COMP%]{display:inline-block;background-size:contain;margin-right:5px}.image-container[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{background-size:contain;width:100%;height:100%}"]}),n}(),gc=function(){function n(i,e,t,a,o){var s=this;c(this,n),this.dialog=i,this.route=e,this.router=t,this.currentFiltersTextsInternal=[],this.dataUpdatedSubject=new Ie,this.filterPropertiesList=a,this.currentFilters={},this.filterPropertiesList.forEach(function(l){l.keyNameInFiltersObject=o+"_"+l.keyNameInElementsArray,s.currentFilters[l.keyNameInFiltersObject]=""}),this.navigationsSubscription=this.route.queryParamMap.subscribe(function(l){Object.keys(s.currentFilters).forEach(function(u){l.has(u)&&(s.currentFilters[u]=l.get(u))}),s.currentUrlQueryParamsInternal={},l.keys.forEach(function(u){s.currentUrlQueryParamsInternal[u]=l.get(u)}),s.filter()})}return d(n,[{key:"currentFiltersTexts",get:function(){return this.currentFiltersTextsInternal}},{key:"currentUrlQueryParams",get:function(){return this.currentUrlQueryParamsInternal}},{key:"dataFiltered",get:function(){return this.dataUpdatedSubject.asObservable()}},{key:"dispose",value:function(){this.dataUpdatedSubject.complete(),this.navigationsSubscription.unsubscribe()}},{key:"setData",value:function(e){this.data=e,this.filter()}},{key:"removeFilters",value:function(){var e=this,t=cn.createConfirmationDialog(this.dialog,"filters.remove-confirmation");t.componentInstance.operationAccepted.subscribe(function(){t.componentInstance.closeModal(),e.router.navigate([],{queryParams:{}})})}},{key:"changeFilters",value:function(){var e=this;fz.openDialog(this.dialog,{filterPropertiesList:this.filterPropertiesList,currentFilters:this.currentFilters}).afterClosed().subscribe(function(a){a&&e.router.navigate([],{queryParams:a})})}},{key:"filter",value:function(){var e=this;if(this.data){var t,a=!1;Object.keys(this.currentFilters).forEach(function(o){e.currentFilters[o]&&(a=!0)}),a?(t=function EU(n,i,e){if(n){var t=[];return Object.keys(i).forEach(function(o){if(i[o]){var l,s=W(e);try{for(s.s();!(l=s.n()).done;){var u=l.value;if(u.keyNameInFiltersObject===o){t.push(u);break}}}catch(f){s.e(f)}finally{s.f()}}}),n.filter(function(o){var s=!0;return t.forEach(function(l){var u=String(o[l.keyNameInElementsArray]).toLowerCase().includes(i[l.keyNameInFiltersObject].toLowerCase()),f=l.secondaryKeyNameInElementsArray&&String(o[l.secondaryKeyNameInElementsArray]).toLowerCase().includes(i[l.keyNameInFiltersObject].toLowerCase());!u&&!f&&(s=!1)}),s})}return null}(this.data,this.currentFilters,this.filterPropertiesList),this.updateCurrentFilters()):(t=this.data,this.updateCurrentFilters()),this.dataUpdatedSubject.next(t)}}},{key:"updateCurrentFilters",value:function(){this.currentFiltersTextsInternal=function PU(n,i){var e=[];return i.forEach(function(t){var a,o;n[t.keyNameInFiltersObject]&&(t.printableLabelsForValues&&t.printableLabelsForValues.forEach(function(s){s.value===n[t.keyNameInFiltersObject]&&(o=s.label)}),o||(a=n[t.keyNameInFiltersObject]),e.push({filterName:t.filterName,translatableValue:o,value:a}))}),e}(this.currentFilters,this.filterPropertiesList)}}]),n}();function mE(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nc;return(!qy(n)||n<0)&&(n=0),(!i||"function"!=typeof i.schedule)&&(i=nc),new fe(function(e){return e.add(i.schedule(hz,n,{subscriber:e,counter:0,period:n})),e})}function hz(n){var i=n.subscriber,e=n.counter,t=n.period;i.next(e),this.schedule({subscriber:i,counter:e+1,period:t},t)}var pz=["primaryValueBar"],vz=Sl(function(){return d(function n(i){c(this,n),this._elementRef=i})}(),"primary"),mz=new Ze("mat-progress-bar-location",{providedIn:"root",factory:function gz(){var n=ld(Ot),i=n?n.location:null;return{getPathname:function(){return i?i.pathname+i.search:""}}}}),_z=new Ze("MAT_PROGRESS_BAR_DEFAULT_OPTIONS"),yz=0,bz=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l,u,f){var m;c(this,t),(m=e.call(this,a))._ngZone=o,m._animationMode=s,m._changeDetectorRef=f,m._isNoopAnimation=!1,m._value=0,m._bufferValue=0,m.animationEnd=new pt,m._animationEndSubscription=Ne.EMPTY,m.mode="determinate",m.progressbarId="mat-progress-bar-".concat(yz++);var C=l?l.getPathname().split("#")[0]:"";return m._rectangleFillValue="url('".concat(C,"#").concat(m.progressbarId,"')"),m._isNoopAnimation="NoopAnimations"===s,u&&(u.color&&(m.color=m.defaultColor=u.color),m.mode=u.mode||m.mode),m}return d(t,[{key:"value",get:function(){return this._value},set:function(o){var s;this._value=gE(Oa(o)||0),null===(s=this._changeDetectorRef)||void 0===s||s.markForCheck()}},{key:"bufferValue",get:function(){return this._bufferValue},set:function(o){var s;this._bufferValue=gE(o||0),null===(s=this._changeDetectorRef)||void 0===s||s.markForCheck()}},{key:"_primaryTransform",value:function(){return{transform:"scale3d(".concat(this.value/100,", 1, 1)")}}},{key:"_bufferTransform",value:function(){return"buffer"===this.mode?{transform:"scale3d(".concat(this.bufferValue/100,", 1, 1)")}:null}},{key:"ngAfterViewInit",value:function(){var o=this;this._ngZone.runOutsideAngular(function(){var s=o._primaryValueBar.nativeElement;o._animationEndSubscription=_l(s,"transitionend").pipe(Ar(function(l){return l.target===s})).subscribe(function(){("determinate"===o.mode||"buffer"===o.mode)&&o._ngZone.run(function(){return o.animationEnd.next({value:o.value})})})})}},{key:"ngOnDestroy",value:function(){this._animationEndSubscription.unsubscribe()}}]),t}(vz);return n.\u0275fac=function(e){return new(e||n)(B(yt),B(bt),B(ai,8),B(mz,8),B(_z,8),B(Yn))},n.\u0275cmp=qe({type:n,selectors:[["mat-progress-bar"]],viewQuery:function(e,t){var a;1&e&>(pz,5),2&e&<(a=ut())&&(t._primaryValueBar=a.first)},hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-progress-bar"],hostVars:4,hostBindings:function(e,t){2&e&&(Wt("aria-valuenow","indeterminate"===t.mode||"query"===t.mode?null:t.value)("mode",t.mode),fn("_mat-animation-noopable",t._isNoopAnimation))},inputs:{color:"color",value:"value",bufferValue:"bufferValue",mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[vt],decls:10,vars:4,consts:[["aria-hidden","true"],["width","100%","height","4","focusable","false",1,"mat-progress-bar-background","mat-progress-bar-element"],["x","4","y","0","width","8","height","4","patternUnits","userSpaceOnUse",3,"id"],["cx","2","cy","2","r","2"],["width","100%","height","100%"],[1,"mat-progress-bar-buffer","mat-progress-bar-element",3,"ngStyle"],[1,"mat-progress-bar-primary","mat-progress-bar-fill","mat-progress-bar-element",3,"ngStyle"],["primaryValueBar",""],[1,"mat-progress-bar-secondary","mat-progress-bar-fill","mat-progress-bar-element"]],template:function(e,t){1&e&&(E(0,"div",0),No(),E(1,"svg",1)(2,"defs")(3,"pattern",2),Te(4,"circle",3),P()(),Te(5,"rect",4),P(),Qc(),Te(6,"div",5)(7,"div",6,7)(9,"div",8),P()),2&e&&(p(3),S("id",t.progressbarId),p(2),Wt("fill",t._rectangleFillValue),p(1),S("ngStyle",t._bufferTransform()),p(1),S("ngStyle",t._primaryTransform()))},directives:[$w],styles:['.mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}._mat-animation-noopable.mat-progress-bar{transition:none;animation:none}.mat-progress-bar .mat-progress-bar-element,.mat-progress-bar .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}.mat-progress-bar .mat-progress-bar-background{width:calc(100% + 10px)}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-background{display:none}.mat-progress-bar .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-buffer{border-top:solid 5px;opacity:.5}.mat-progress-bar .mat-progress-bar-secondary{display:none}.mat-progress-bar .mat-progress-bar-fill{animation:none;transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-fill{border-top:solid 4px}.mat-progress-bar .mat-progress-bar-fill::after{animation:none;content:"";display:inline-block;left:0}.mat-progress-bar[dir=rtl],[dir=rtl] .mat-progress-bar{transform:rotateY(180deg)}.mat-progress-bar[mode=query]{transform:rotateZ(180deg)}.mat-progress-bar[mode=query][dir=rtl],[dir=rtl] .mat-progress-bar[mode=query]{transform:rotateZ(180deg) rotateY(180deg)}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-fill,.mat-progress-bar[mode=query] .mat-progress-bar-fill{transition:none}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary,.mat-progress-bar[mode=query] .mat-progress-bar-primary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-translate 2000ms infinite linear;left:-145.166611%}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary,.mat-progress-bar[mode=query] .mat-progress-bar-secondary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-translate 2000ms infinite linear;left:-54.888891%;display:block}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=buffer] .mat-progress-bar-background{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-buffer,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-background{animation:none;transition-duration:1ms}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-8px)}}\n'],encapsulation:2,changeDetection:0}),n}();function gE(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100;return Math.max(i,Math.min(e,n))}var kz=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({imports:[[Mo,Pn],Pn]}),n}();function Mz(n,i){1&n&&(ze(0),Te(1,"mat-spinner",7),R(2),Y(3,"translate"),We()),2&n&&(p(1),S("diameter",12),p(1),ye(" ",U(3,2,"update.processing")," "))}function Cz(n,i){if(1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n){var e=K();p(1),ye(" ",U(2,1,e.errorText)," ")}}function wz(n,i){if(1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n){var e=K();p(1),ye(" ",U(2,1,1===e.data.length?"update.no-update":"update.no-updates")," ")}}function Sz(n,i){if(1&n&&(E(0,"div",8)(1,"div",9)(2,"div",10),R(3,"-"),P(),E(4,"div",11),R(5),Y(6,"translate"),P()()()),2&n){var e=K();p(5),ge(e.currentNodeVersion?e.currentNodeVersion:U(6,1,"common.unknown"))}}function Dz(n,i){if(1&n&&(E(0,"div",9)(1,"div",10),R(2,"-"),P(),E(3,"div",11),R(4),P()()),2&n){var e=i.$implicit,t=K(2);p(4),ge(t.nodesToUpdate[e].label)}}function Tz(n,i){if(1&n&&(ze(0),E(1,"div",1),R(2),Y(3,"translate"),P(),E(4,"div",8),q(5,Dz,5,1,"div",12),P(),We()),2&n){var e=K();p(2),ye(" ",U(3,2,"update.already-updating")," "),p(3),S("ngForOf",e.indexesAlreadyBeingUpdated)}}function Lz(n,i){if(1&n&&(E(0,"span",15),R(1),Y(2,"translate"),P()),2&n){var e=K(3);p(1),xi("",U(2,2,"update.selected-channel")," ",e.customChannel,"")}}function Ez(n,i){if(1&n&&(E(0,"div",9)(1,"div",10),R(2,"-"),P(),E(3,"div",11),R(4),Y(5,"translate"),E(6,"a",13),R(7),P(),q(8,Lz,3,4,"span",14),P()()),2&n){var e=i.$implicit,t=K(2);p(4),ye(" ",xt(5,4,"update.version-change",e)," "),p(2),S("href",e.updateLink,vo),p(1),ge(e.updateLink),p(1),S("ngIf",t.customChannel)}}var Pz=function(i){return{number:i}};function xz(n,i){if(1&n&&(ze(0),E(1,"div",1),R(2),Y(3,"translate"),P(),E(4,"div",8),q(5,Ez,9,7,"div",12),P(),E(6,"div",1),R(7),Y(8,"translate"),P(),We()),2&n){var e=K();p(2),ye(" ",xt(3,3,e.updateAvailableText,Qe(8,Pz,e.nodesForUpdatesFound))," "),p(3),S("ngForOf",e.updatesFound),p(2),ye(" ",U(8,6,"update.update-instructions")," ")}}function Oz(n,i){if(1&n&&(E(0,"div",9)(1,"div",10),R(2,"-"),P(),E(3,"div",11),R(4),E(5,"span",17),R(6),Y(7,"translate"),P()()()),2&n){var e=i.$implicit;p(4),ye(" ",e.nodeLabel,": "),p(2),ge(U(7,2,e.errorMsg))}}function Az(n,i){if(1&n&&(ze(0),Te(1,"div",16),E(2,"div",1),R(3),Y(4,"translate"),P(),E(5,"div",8),q(6,Oz,8,4,"div",12),P(),We()),2&n){var e=K();p(3),ye(" ",U(4,2,"update.with-error")," "),p(3),S("ngForOf",e.nodesWithError)}}function Iz(n,i){1&n&&Te(0,"mat-spinner",7),2&n&&S("diameter",12)}function Fz(n,i){1&n&&(E(0,"span",23),R(1),Y(2,"translate"),P()),2&n&&(p(1),ye("\xa0(",U(2,1,"update.finished"),")"))}function Rz(n,i){if(1&n&&(E(0,"div",8)(1,"div",9)(2,"div",10),R(3,"-"),P(),E(4,"div",11),q(5,Iz,1,1,"mat-spinner",20),R(6),E(7,"span",21),R(8),P(),q(9,Fz,3,3,"span",22),P()()()),2&n){var e=K(2).$implicit;p(5),S("ngIf",!e.updateProgressInfo.closed),p(1),ye(" ",e.label," : "),p(2),ge(e.updateProgressInfo.rawMsg),p(1),S("ngIf",e.updateProgressInfo.closed)}}function Nz(n,i){1&n&&Te(0,"mat-spinner",7),2&n&&S("diameter",12)}function Yz(n,i){1&n&&(ze(0),Te(1,"br"),E(2,"span",23),R(3),Y(4,"translate"),P(),We()),2&n&&(p(3),ge(U(4,1,"update.finished")))}function Hz(n,i){if(1&n&&(E(0,"div",24)(1,"div",25),q(2,Nz,1,1,"mat-spinner",20),R(3),P(),Te(4,"mat-progress-bar",26),E(5,"div",21),R(6),Y(7,"translate"),Te(8,"br"),R(9),Y(10,"translate"),Te(11,"br"),R(12),Y(13,"translate"),Y(14,"translate"),q(15,Yz,5,3,"ng-container",2),P()()),2&n){var e=K(2).$implicit;p(2),S("ngIf",!e.updateProgressInfo.closed),p(1),ye(" ",e.label," "),p(1),S("mode","determinate")("value",e.updateProgressInfo.progress),p(2),Qg(" ",U(7,14,"update.downloaded-file-name-prefix")," ",e.updateProgressInfo.fileName," (",e.updateProgressInfo.progress,"%) "),p(3),xi(" ",U(10,16,"update.speed-prefix")," ",e.updateProgressInfo.speed," "),p(3),Jg(" ",U(13,18,"update.time-downloading-prefix")," ",e.updateProgressInfo.elapsedTime," / ",U(14,20,"update.time-left-prefix")," ",e.updateProgressInfo.remainingTime," "),p(3),S("ngIf",e.updateProgressInfo.closed)}}function Bz(n,i){if(1&n&&(E(0,"div",8)(1,"div",9)(2,"div",10),R(3,"-"),P(),E(4,"div",11),R(5),E(6,"span",17),R(7),Y(8,"translate"),P()()()()),2&n){var e=K(2).$implicit;p(5),ye(" ",e.label,": "),p(2),ge(U(8,2,e.updateProgressInfo.errorMsg))}}function Vz(n,i){if(1&n&&(ze(0),q(1,Rz,10,4,"div",3),q(2,Hz,16,22,"div",19),q(3,Bz,9,4,"div",3),We()),2&n){var e=K().$implicit;p(1),S("ngIf",!e.updateProgressInfo.errorMsg&&!e.updateProgressInfo.dataParsed),p(1),S("ngIf",!e.updateProgressInfo.errorMsg&&e.updateProgressInfo.dataParsed),p(1),S("ngIf",e.updateProgressInfo.errorMsg)}}function jz(n,i){if(1&n&&(ze(0),q(1,Vz,4,3,"ng-container",2),We()),2&n){var e=i.$implicit;p(1),S("ngIf",e.update)}}function Uz(n,i){if(1&n&&(ze(0),E(1,"div",1),R(2),Y(3,"translate"),P(),E(4,"div"),q(5,jz,2,1,"ng-container",18),P(),We()),2&n){var e=K();p(2),ye(" ",U(3,2,"update.updating")," "),p(3),S("ngForOf",e.nodesToUpdate)}}function zz(n,i){if(1&n){var e=tt();E(0,"app-button",27,28),Se("action",function(){return ke(e),K().closeModal()}),R(2),Y(3,"translate"),P()}if(2&n){var t=K();p(2),ye(" ",U(3,1,t.cancelButtonText)," ")}}function Wz(n,i){if(1&n){var e=tt();E(0,"app-button",29,30),Se("action",function(){ke(e);var o=K();return o.state===o.updatingStates.Asking?o.update():o.closeModal()}),R(2),Y(3,"translate"),P()}if(2&n){var t=K();p(2),ye(" ",U(3,1,t.confirmButtonText)," ")}}var Ji=function(){return function(n){n.InitialProcessing="InitialProcessing",n.NoUpdatesFound="NoUpdatesFound",n.Asking="Asking",n.Updating="Updating",n.Error="Error"}(Ji||(Ji={})),Ji}(),Gz=d(function n(){c(this,n),this.errorMsg="",this.rawMsg="",this.dataParsed=!1,this.fileName="",this.progress=100,this.speed="",this.elapsedTime="",this.remainingTime="",this.closed=!1}),_E=function(){var n=function(){function i(e,t,a,o,s){c(this,i),this.dialogRef=e,this.data=t,this.nodeService=a,this.translateService=o,this.changeDetectorRef=s,this.state=Ji.InitialProcessing,this.cancelButtonText="common.cancel",this.nodesWithError=[],this.indexesAlreadyBeingUpdated=[],this.customChannel=localStorage.getItem(Qn.Channel),this.updatingStates=Ji}return d(i,[{key:"ngAfterViewInit",value:function(){this.startChecking()}},{key:"startChecking",value:function(){var t=this;this.nodesToUpdate=[],this.data.forEach(function(o){t.nodesToUpdate.push({key:o.key,label:o.label,update:!1,hadErrorDuringInitialCheck:!1,updateProgressInfo:new Gz}),t.nodesToUpdate[t.nodesToUpdate.length-1].updateProgressInfo.rawMsg=t.translateService.instant("update.starting")});var a=0;this.initialCheckSubscriptions=[],this.nodesToUpdate.forEach(function(o,s){t.initialCheckSubscriptions.push(t.nodeService.checkIfUpdating(o.key).subscribe(function(l){l.running&&(t.indexesAlreadyBeingUpdated.push(s),t.nodesToUpdate[s].update=!0),(a+=1)===t.nodesToUpdate.length&&t.finishInitialCheck()},function(l){t.nodesWithError.push({nodeLabel:o.label,errorMsg:an(l).translatableErrorMsg}),o.hadErrorDuringInitialCheck=!0,(a+=1)===t.nodesToUpdate.length&&t.finishInitialCheck()}))})}},{key:"finishInitialCheck",value:function(){if(this.nodesWithError.length===this.nodesToUpdate.length)return this.changeState(Ji.Error),void(this.errorText=this.nodesWithError[0].errorMsg);this.indexesAlreadyBeingUpdated.length===this.data.length-this.nodesWithError.length?this.update():this.checkUpdates()}},{key:"checkUpdates",value:function(){var t=this;this.nodesForUpdatesFound=0,this.updatesFound=[];var a=[];this.nodesToUpdate.forEach(function(o){!o.update&&!o.hadErrorDuringInitialCheck&&a.push(o)}),this.subscription=hb(a.map(function(o){return t.nodeService.checkUpdate(o.key)})).subscribe(function(o){var s=new Map;o.forEach(function(l,u){l&&l.available&&(t.nodesForUpdatesFound+=1,a[u].update=!0,s.has(l.current_version+l.available_version)||(t.updatesFound.push({currentVersion:l.current_version?l.current_version:t.translateService.instant("common.unknown"),newVersion:l.available_version,updateLink:l.release_url}),s.set(l.current_version+l.available_version,!0)))}),t.nodesForUpdatesFound>0?t.changeState(Ji.Asking):0===t.indexesAlreadyBeingUpdated.length?(t.changeState(Ji.NoUpdatesFound),1===t.data.length&&(t.currentNodeVersion=o[0].current_version)):t.update()},function(o){t.changeState(Ji.Error),t.errorText=an(o).translatableErrorMsg})}},{key:"update",value:function(){var t=this;this.changeState(Ji.Updating),this.progressSubscriptions=[],this.nodesToUpdate.forEach(function(a,o){a.update&&t.progressSubscriptions.push(t.nodeService.update(a.key).subscribe(function(s){t.updateProgressInfo(s.status,a.updateProgressInfo)},function(s){a.updateProgressInfo.errorMsg=an(s).translatableErrorMsg},function(){a.updateProgressInfo.closed=!0}))})}},{key:"updateAvailableText",get:function(){if(1===this.data.length)return"update.update-available";var t="update.update-available";return this.indexesAlreadyBeingUpdated.length>0&&(t+="-additional"),t+(1===this.nodesForUpdatesFound?"-singular":"-plural")}},{key:"updateProgressInfo",value:function(t,a){a.rawMsg=t,a.dataParsed=!1;var o=t.indexOf("Downloading"),s=t.lastIndexOf("("),l=t.lastIndexOf(")"),u=t.lastIndexOf("["),f=t.lastIndexOf("]"),m=t.lastIndexOf(":"),C=t.lastIndexOf("%");if(-1!==o&&-1!==s&&-1!==l&&-1!==u&&-1!==f&&-1!==m){var I=!1;s>l&&(I=!0),u>m&&(I=!0),m>f&&(I=!0),(C>s||C0),p(1),S("ngIf",t.state===t.updatingStates.Asking),p(1),S("ngIf",(t.state===t.updatingStates.Asking||t.state===t.updatingStates.NoUpdatesFound)&&t.nodesWithError.length>0),p(1),S("ngIf",t.state===t.updatingStates.Updating),p(2),S("ngIf",t.cancelButtonText),p(1),S("ngIf",t.confirmButtonText))},directives:[_r,Et,Ia,Or,bz,di],pipes:[Mt],styles:[".text-container[_ngcontent-%COMP%]{word-break:break-word}.list-container[_ngcontent-%COMP%]{font-size:14px;margin:10px;color:#215f9e;word-break:break-word}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%]{display:flex}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .left-part[_ngcontent-%COMP%]{width:12px;flex-grow:0;flex-shrink:0}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .right-part[_ngcontent-%COMP%]{flex-grow:1}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .right-part[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;color:#215f9e;font-size:.7rem;line-height:1;display:block}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .right-part[_ngcontent-%COMP%] .channel[_ngcontent-%COMP%]{font-size:.7rem;line-height:1}.list-container[_ngcontent-%COMP%] .details[_ngcontent-%COMP%]{color:#777}.buttons[_ngcontent-%COMP%]{margin-top:15px;text-align:right}.buttons[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%]{margin-left:5px}.progress-container[_ngcontent-%COMP%]{margin:10px 0}.progress-container[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{font-size:.7rem;color:#215f9e}.progress-container[_ngcontent-%COMP%] .mat-progress-bar-fill:after{background-color:#215f9e!important}.progress-container[_ngcontent-%COMP%] .details[_ngcontent-%COMP%]{font-size:.7rem;text-align:right;color:#777}.closed-indication[_ngcontent-%COMP%]{color:#d48b05}.loading-indicator[_ngcontent-%COMP%]{display:inline-block;position:relative;top:2px}"]}),n}();function Lf(n){return function(i){return i.lift(new qz(n,i))}}var qz=function(){function n(i,e){c(this,n),this.notifier=i,this.source=e}return d(n,[{key:"call",value:function(e,t){return t.subscribe(new Kz(e,this.notifier,this.source))}}]),n}(),Kz=function(n){h(e,n);var i=y(e);function e(t,a,o){var s;return c(this,e),(s=i.call(this,t)).notifier=a,s.source=o,s}return d(e,[{key:"error",value:function(a){if(!this.isStopped){var o=this.errors,s=this.retries,l=this.retriesSubscription;if(s)this.errors=null,this.retriesSubscription=null;else{o=new Ie;try{s=(0,this.notifier)(o)}catch(f){return T(O(e.prototype),"error",this).call(this,f)}l=Fn(this,s)}this._unsubscribeAndRecycle(),this.errors=o,this.retries=s,this.retriesSubscription=l,o.next(a)}}},{key:"_unsubscribe",value:function(){var a=this.errors,o=this.retriesSubscription;a&&(a.unsubscribe(),this.errors=null),o&&(o.unsubscribe(),this.retriesSubscription=null),this.retries=null}},{key:"notifyNext",value:function(a,o,s,l,u){var f=this._unsubscribe;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=f,this.source.subscribe(this)}}]),e}(gn),_c=function(){var n=function(){function i(e){c(this,i),this.apiService=e}return d(i,[{key:"changeAppState",value:function(t,a,o){return this.apiService.put("visors/".concat(t,"/apps/").concat(encodeURIComponent(a)),{status:o?1:0})}},{key:"changeAppAutostart",value:function(t,a,o){return this.changeAppSettings(t,a,{autostart:o})}},{key:"changeAppSettings",value:function(t,a,o){return this.apiService.put("visors/".concat(t,"/apps/").concat(encodeURIComponent(a)),o)}},{key:"getLogMessages",value:function(t,a,o){var l=Nw(-1!==o?Date.now()-864e5*o:0,"yyyy-MM-ddTHH:mm:ssZZZZZ","en-US");return this.apiService.get("visors/".concat(t,"/apps/").concat(encodeURIComponent(a),"/logs?since=").concat(l)).pipe($e(function(u){return u.logs}))}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(El))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),Hn=function(){return function(n){n.None="None",n.Favorite="Favorite",n.Blocked="Blocked"}(Hn||(Hn={})),Hn}(),Xi=function(){return function(n){n.BitsSpeedAndBytesVolume="BitsSpeedAndBytesVolume",n.OnlyBytes="OnlyBytes",n.OnlyBits="OnlyBits"}(Xi||(Xi={})),Xi}(),Il=function(){var n=function(){function i(e){c(this,i),this.router=e,this.maxHistoryElements=30,this.savedServersStorageKey="VpnServers",this.checkIpSettingStorageKey="VpnGetIp",this.dataUnitsSettingStorageKey="VpnDataUnits",this.serversMap=new Map,this.savedDataVersion=0,this.currentServerSubject=new Za(1),this.historySubject=new Za(1),this.favoritesSubject=new Za(1),this.blockedSubject=new Za(1)}return d(i,[{key:"initialize",value:function(){var t=this;this.serversMap=new Map;var a=localStorage.getItem(this.savedServersStorageKey);if(a){var o=JSON.parse(a);o.serverList.forEach(function(s){t.serversMap.set(s.pk,s)}),this.savedDataVersion=o.version,o.selectedServerPk&&this.updateCurrentServerPk(o.selectedServerPk)}this.launchListEvents()}},{key:"currentServer",get:function(){return this.serversMap.get(this.currentServerPk)}},{key:"currentServerObservable",get:function(){return this.currentServerSubject.asObservable()}},{key:"history",get:function(){return this.historySubject.asObservable()}},{key:"favorites",get:function(){return this.favoritesSubject.asObservable()}},{key:"blocked",get:function(){return this.blockedSubject.asObservable()}},{key:"getSavedVersion",value:function(t,a){return a&&this.checkIfDataWasChanged(),this.serversMap.get(t)}},{key:"getCheckIpSetting",value:function(){var t=localStorage.getItem(this.checkIpSettingStorageKey);return null==t||"false"!==t}},{key:"setCheckIpSetting",value:function(t){localStorage.setItem(this.checkIpSettingStorageKey,t?"true":"false")}},{key:"getDataUnitsSetting",value:function(){var t=localStorage.getItem(this.dataUnitsSettingStorageKey);return null==t?Xi.BitsSpeedAndBytesVolume:t}},{key:"setDataUnitsSetting",value:function(t){localStorage.setItem(this.dataUnitsSettingStorageKey,t)}},{key:"updateFromDiscovery",value:function(t){var a=this;this.checkIfDataWasChanged(),t.forEach(function(o){if(a.serversMap.has(o.pk)){var s=a.serversMap.get(o.pk);s.countryCode=o.countryCode,s.name=o.name,s.location=o.location,s.note=o.note}}),this.saveData()}},{key:"updateServer",value:function(t){this.serversMap.set(t.pk,t),this.cleanServers(),this.saveData()}},{key:"processFromDiscovery",value:function(t){this.checkIfDataWasChanged();var a=this.serversMap.get(t.pk);return a?(a.countryCode=t.countryCode,a.name=t.name,a.location=t.location,a.note=t.note,this.saveData(),a):{countryCode:t.countryCode,name:t.name,customName:null,pk:t.pk,lastUsed:0,inHistory:!1,flag:Hn.None,location:t.location,personalNote:null,note:t.note,enteredManually:!1,usedWithPassword:!1}}},{key:"processFromManual",value:function(t){this.checkIfDataWasChanged();var a=this.serversMap.get(t.pk);return a?(a.customName=t.name,a.personalNote=t.note,a.enteredManually=!0,this.saveData(),a):{countryCode:"zz",name:"",customName:t.name,pk:t.pk,lastUsed:0,inHistory:!1,flag:Hn.None,location:"",personalNote:t.note,note:"",enteredManually:!0,usedWithPassword:!1}}},{key:"changeFlag",value:function(t,a){this.checkIfDataWasChanged();var o=this.serversMap.get(t.pk);o&&(t=o),t.flag!==a&&(t.flag=a,this.serversMap.has(t.pk)||this.serversMap.set(t.pk,t),this.cleanServers(),this.saveData())}},{key:"removeFromHistory",value:function(t){this.checkIfDataWasChanged();var a=this.serversMap.get(t);!a||!a.inHistory||(a.inHistory=!1,this.cleanServers(),this.saveData())}},{key:"modifyCurrentServer",value:function(t){this.checkIfDataWasChanged(),t.pk!==this.currentServerPk&&(this.serversMap.has(t.pk)||this.serversMap.set(t.pk,t),this.updateCurrentServerPk(t.pk),this.cleanServers(),this.saveData())}},{key:"compareCurrentServer",value:function(t){if(this.checkIfDataWasChanged(),t){if(!this.currentServerPk||this.currentServerPk!==t){if(this.currentServerPk=t,!this.serversMap.get(t)){var o=this.processFromManual({pk:t});this.serversMap.set(o.pk,o),this.cleanServers()}this.saveData(),this.currentServerSubject.next(this.currentServer)}}else this.currentServerPk&&(this.currentServerPk=null,this.saveData(),this.currentServerSubject.next(this.currentServer))}},{key:"updateHistory",value:function(){var t=this;this.checkIfDataWasChanged(),this.currentServer.lastUsed=Date.now(),this.currentServer.inHistory=!0;var a=[];this.serversMap.forEach(function(s){s.inHistory&&a.push(s)}),a=a.sort(function(s,l){return l.lastUsed-s.lastUsed});var o=0;a.forEach(function(s){o=20&&this.lastServiceState<200&&(this.changeAppState(!1),!0)}},{key:"getIpData",value:function(){var t=this;return this.http.request("GET",window.location.protocol+"//ip.skycoin.com/").pipe(Lf(function(a){return dl(a.pipe(Mi(t.standardWaitTime),nr(4)),Ni(""))}),$e(function(a){return[a&&a.ip_address?a.ip_address:t.translateService.instant("common.unknown"),a&&a.country_name?a.country_name:t.translateService.instant("common.unknown")]}))}},{key:"changeServerUsingHistory",value:function(t,a){return this.requestedServer=t,this.requestedPassword=a,this.updateRequestedServerPasswordSetting(),this.changeServer()}},{key:"changeServerUsingDiscovery",value:function(t,a){return this.requestedServer=this.vpnSavedDataService.processFromDiscovery(t),this.requestedPassword=a,this.updateRequestedServerPasswordSetting(),this.changeServer()}},{key:"changeServerManually",value:function(t,a){return this.requestedServer=this.vpnSavedDataService.processFromManual(t),this.requestedPassword=a,this.updateRequestedServerPasswordSetting(),this.changeServer()}},{key:"updateRequestedServerPasswordSetting",value:function(){this.requestedServer.usedWithPassword=!!this.requestedPassword&&""!==this.requestedPassword;var t=this.vpnSavedDataService.getSavedVersion(this.requestedServer.pk,!0);t&&(t.usedWithPassword=this.requestedServer.usedWithPassword,this.vpnSavedDataService.updateServer(t))}},{key:"changeServer",value:function(){return!this.working&&(this.stop()||this.processServerChange(),!0)}},{key:"checkNewPk",value:function(t){return this.working?va.Busy:this.lastServiceState!==Wr.Off?t===this.vpnSavedDataService.currentServer.pk?va.SamePkRunning:va.MustStop:this.vpnSavedDataService.currentServer&&t===this.vpnSavedDataService.currentServer.pk?va.SamePkStopped:va.Ok}},{key:"processServerChange",value:function(){var t=this;this.dataSubscription&&this.dataSubscription.unsubscribe();var a={pk:this.requestedServer.pk};a.passcode=this.requestedPassword?this.requestedPassword:"",this.stopContinuallyUpdatingData(),this.working=!0,this.sendUpdate(),this.dataSubscription=this.appsService.changeAppSettings(this.nodeKey,this.vpnClientAppName,a).subscribe(function(){t.vpnSavedDataService.modifyCurrentServer(t.requestedServer),t.requestedServer=null,t.requestedPassword=null,t.working=!1,t.start()},function(o){o=an(o),t.snackbarService.showError("vpn.server-change.backend-error",null,!1,o.originalServerErrorMsg),t.working=!1,t.requestedServer=null,t.requestedPassword=null,t.sendUpdate(),t.updateData()})}},{key:"changeAppState",value:function(t){var a=this;if(!this.working){this.stopContinuallyUpdatingData(),this.working=!0,this.sendUpdate();var o={status:1};t?(this.lastServiceState=Wr.Starting,this.connectionHistoryPk=null):(this.lastServiceState=Wr.Disconnecting,o.status=0),this.dataSubscription&&this.dataSubscription.unsubscribe(),this.dataSubscription=this.appsService.changeAppSettings(this.nodeKey,this.vpnClientAppName,o).pipe(Ki(function(s){return a.getVpnClientState().pipe(Dn(function(l){if(l){if(t&&l.running)return Je(!0);if(!t&&!l.running)return Je(!0)}return Ni(s)}))}),Lf(function(s){return dl(s.pipe(Mi(a.standardWaitTime),nr(3)),s.pipe(Dn(function(l){return Ni(l)})))})).subscribe(function(){a.working=!1,t?(a.currentEventData.vpnClientAppData.running=!0,a.lastServiceState=Wr.Running,a.vpnSavedDataService.updateHistory()):(a.currentEventData.vpnClientAppData.running=!1,a.lastServiceState=Wr.Off),a.sendUpdate(),a.updateData(),!t&&a.requestedServer&&a.processServerChange()},function(s){s=an(s),a.snackbarService.showError(a.lastServiceState===Wr.Starting?"vpn.status-page.problem-starting-error":a.lastServiceState===Wr.Disconnecting?"vpn.status-page.problem-stopping-error":"vpn.status-page.generic-problem-error",null,!1,s.originalServerErrorMsg),a.working=!1,a.sendUpdate(),a.updateData()})}}},{key:"continuallyUpdateData",value:function(t){var a=this;if(!this.working||this.lastServiceState===Wr.PerformingInitialCheck){this.continuousUpdateSubscription&&this.continuousUpdateSubscription.unsubscribe();var o=0;this.continuousUpdateSubscription=Je(0).pipe(Mi(t),Dn(function(){return a.getVpnClientState()}),Lf(function(s){return s.pipe(Dn(function(l){return a.errorSubject.next(!0),(l=an(l)).originalError&&l.originalError.status&&401===l.originalError.status?Ni(l):a.lastServiceState!==Wr.PerformingInitialCheck||o<4?(o+=1,Je(l).pipe(Mi(a.standardWaitTime))):Ni(l)}))})).subscribe(function(s){s?(a.errorSubject.next(!1),a.lastServiceState===Wr.PerformingInitialCheck&&(a.working=!1),a.vpnSavedDataService.compareCurrentServer(s.serverPk),a.lastServiceState=s.running?Wr.Running:Wr.Off,a.currentEventData.vpnClientAppData=s,a.currentEventData.updateDate=Date.now(),a.sendUpdate()):a.lastServiceState===Wr.PerformingInitialCheck&&(a.router.navigate(["vpn","unavailable"]),a.nodeKey=null,a.updatesStopped=!0),a.continuallyUpdateData(a.standardWaitTime)},function(s){(s=an(s)).originalError&&s.originalError.status&&401===s.originalError.status||(a.router.navigate(["vpn","unavailable"]),a.nodeKey=null),a.updatesStopped=!0})}}},{key:"stopContinuallyUpdatingData",value:function(){this.continuousUpdateSubscription&&this.continuousUpdateSubscription.unsubscribe()}},{key:"getVpnClientState",value:function(){var a,t=this,o=new Ll;return o.vpnKeyForAuth=this.nodeKey,this.apiService.get("visors/".concat(this.nodeKey,"/summary"),o).pipe(Dn(function(s){var l;if(s&&s.overview&&s.overview.apps&&s.overview.apps.length>0&&s.overview.apps.forEach(function(m){m.name===t.vpnClientAppName&&(l=m)}),l&&((a=new Zz).running=0!==l.status&&2!==l.status,a.connectionDuration=l.connection_duration,a.appState=pn.Stopped,a.running?l.detailed_status===pn.Connecting?a.appState=pn.Connecting:l.detailed_status===pn.Running?a.appState=pn.Running:l.detailed_status===pn.ShuttingDown?a.appState=pn.ShuttingDown:l.detailed_status===pn.Reconnecting&&(a.appState=pn.Reconnecting):2===l.status&&(a.lastErrorMsg=l.detailed_status,a.lastErrorMsg||(a.lastErrorMsg=t.translateService.instant("vpn.status-page.unknown-error"))),a.killswitch=!1,l.args&&l.args.length>0))for(var u=0;u0){var l=new Qz;s.forEach(function(u){l.latency+=u.latency/s.length,l.uploadSpeed+=u.upload_speed/s.length,l.downloadSpeed+=u.download_speed/s.length,l.totalUploaded+=u.bandwidth_sent,l.totalDownloaded+=u.bandwidth_received,u.error&&(l.error=u.error),u.connection_duration>l.connectionDuration&&(l.connectionDuration=u.connection_duration)}),(!t.connectionHistoryPk||t.connectionHistoryPk!==a.serverPk)&&(t.connectionHistoryPk=a.serverPk,t.uploadSpeedHistory=[0,0,0,0,0,0,0,0,0,0],t.downloadSpeedHistory=[0,0,0,0,0,0,0,0,0,0],t.latencyHistory=[0,0,0,0,0,0,0,0,0,0]),l.latency=Math.round(l.latency),l.uploadSpeed=Math.round(l.uploadSpeed),l.downloadSpeed=Math.round(l.downloadSpeed),l.totalUploaded=Math.round(l.totalUploaded),l.totalDownloaded=Math.round(l.totalDownloaded),t.uploadSpeedHistory.splice(0,1),t.uploadSpeedHistory.push(l.uploadSpeed),l.uploadSpeedHistory=t.uploadSpeedHistory,t.downloadSpeedHistory.splice(0,1),t.downloadSpeedHistory.push(l.downloadSpeed),l.downloadSpeedHistory=t.downloadSpeedHistory,t.latencyHistory.splice(0,1),t.latencyHistory.push(l.latency),l.latencyHistory=t.latencyHistory,a.connectionData=l}return a}))}},{key:"sendUpdate",value:function(){this.currentEventData.serviceState=this.lastServiceState,this.currentEventData.busy=this.working,this.stateSubject.next(this.currentEventData)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(El),Ee(_c),Ee(rn),Ee(Il),Ee(cl),Ee(An),Ee(ui))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),Jz=["firstInput"],Xz=function(){var n=function(){function i(e,t,a,o,s){c(this,i),this.dialogRef=e,this.data=t,this.formBuilder=a,this.snackbarService=o,this.vpnSavedDataService=s}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.form=this.formBuilder.group({value:[(this.data.editName?this.data.server.customName:this.data.server.personalNote)||""]}),setTimeout(function(){return t.firstInput.nativeElement.focus()})}},{key:"process",value:function(){var t=this.vpnSavedDataService.getSavedVersion(this.data.server.pk,!0);t=t||this.data.server;var a=this.form.get("value").value;a!==(this.data.editName?this.data.server.customName:this.data.server.personalNote)?(this.data.editName?t.customName=a:t.personalNote=a,this.vpnSavedDataService.updateServer(t),this.snackbarService.showDone("vpn.server-options.edit-value.changes-made-confirmation"),this.dialogRef.close(!0)):this.dialogRef.close()}}],[{key:"openDialog",value:function(t,a){var o=new Zn;return o.data=a,o.autoFocus=!1,o.width=Kt.mediumModalWidth,t.open(i,o)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Dr),B(Ur),B(Zi),B(An),B(Il))},n.\u0275cmp=qe({type:n,selectors:[["app-edit-vpn-server-value"]],viewQuery:function(e,t){var a;1&e&>(Jz,5),2&e&<(a=ut())&&(t.firstInput=a.first)},decls:10,vars:10,consts:[[3,"headline"],[3,"formGroup"],["formControlName","value","maxlength","100","matInput","",3,"placeholder"],["firstInput",""],["color","primary",1,"float-right",3,"action"]],template:function(e,t){1&e&&(E(0,"app-dialog",0),Y(1,"translate"),E(2,"form",1)(3,"mat-form-field"),Te(4,"input",2,3),Y(6,"translate"),P()(),E(7,"app-button",4),Se("action",function(){return t.process()}),R(8),Y(9,"translate"),P()()),2&e&&(S("headline",U(1,4,"vpn.server-options.edit-value."+(t.data.editName?"name":"note")+"-title")),p(2),S("formGroup",t.form),p(2),S("placeholder",U(6,6,"vpn.server-options.edit-value."+(t.data.editName?"name":"note")+"-label")),p(4),ye(" ",U(9,8,"vpn.server-options.edit-value.apply-button")," "))},directives:[_r,ei,Xr,gr,ki,Qr,Qi,Jr,zr,Hi,di],pipes:[Mt],styles:[""]}),n}(),eW=["firstInput"],yE=function(){var n=function(){function i(e,t,a){c(this,i),this.dialogRef=e,this.data=t,this.formBuilder=a}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.form=this.formBuilder.group({password:["",this.data?void 0:Cn.required]}),setTimeout(function(){return t.firstInput.nativeElement.focus()})}},{key:"process",value:function(){this.dialogRef.close("-"+this.form.get("password").value)}}],[{key:"openDialog",value:function(t,a){var o=new Zn;return o.data=a,o.autoFocus=!1,o.width=Kt.mediumModalWidth,t.open(i,o)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Dr),B(Ur),B(Zi))},n.\u0275cmp=qe({type:n,selectors:[["app-enter-vpn-server-password"]],viewQuery:function(e,t){var a;1&e&>(eW,5),2&e&<(a=ut())&&(t.firstInput=a.first)},decls:10,vars:11,consts:[[3,"headline"],[3,"formGroup"],["formControlName","password","type","password","matInput","",3,"placeholder"],["firstInput",""],["color","primary",1,"float-right",3,"disabled","action"]],template:function(e,t){1&e&&(E(0,"app-dialog",0),Y(1,"translate"),E(2,"form",1)(3,"mat-form-field"),Te(4,"input",2,3),Y(6,"translate"),P()(),E(7,"app-button",4),Se("action",function(){return t.process()}),R(8),Y(9,"translate"),P()()),2&e&&(S("headline",U(1,5,"vpn.server-list.password-dialog.title")),p(2),S("formGroup",t.form),p(2),S("placeholder",U(6,7,"vpn.server-list.password-dialog.password"+(t.data?"-if-any":"")+"-label")),p(3),S("disabled",!t.form.valid),p(1),ye(" ",U(9,9,"vpn.server-list.password-dialog.continue-button")," "))},directives:[_r,ei,Xr,gr,ki,Qr,Qi,Jr,zr,di],pipes:[Mt],styles:[""]}),n}(),Gr=function(){var n=function(){function i(){c(this,i)}return d(i,null,[{key:"changeCurrentPk",value:function(t){this.currentPk=t}},{key:"setDefaultTabForServerList",value:function(t){sessionStorage.setItem(i.serverListTabStorageKey,t)}},{key:"vpnTabsData",get:function(){var t=sessionStorage.getItem(i.serverListTabStorageKey);return[{icon:"power_settings_new",label:"vpn.start",linkParts:["/vpn",this.currentPk,"status"]},{icon:"list",label:"vpn.servers",linkParts:t?["/vpn",this.currentPk,"servers",t,"1"]:["/vpn",this.currentPk,"servers"]},{icon:"settings",label:"vpn.settings",linkParts:["/vpn",this.currentPk,"settings"]}]}},{key:"getLatencyValueString",value:function(t){return t<1e3?"time-in-ms":"time-in-segs"}},{key:"getPrintableLatency",value:function(t){return t<1e3?t+"":(t/1e3).toFixed(1)}},{key:"processServerChange",value:function(t,a,o,s,l,u,f,m,C,I,V){var J;if(m&&(C||I)||C&&(m||I)||I&&(m||C))throw new Error("Invalid call");if(m)J=m.pk;else if(C)J=C.pk;else{if(!I)throw new Error("Invalid call");J=I.pk}var me=o.getSavedVersion(J,!0),Ce=me&&(V||me.usedWithPassword),Le=a.checkNewPk(J);if(Le!==va.Busy)if(Le!==va.SamePkRunning||Ce)if(Le===va.MustStop||Le===va.SamePkRunning&&Ce){var pe=cn.createConfirmationDialog(l,"vpn.server-change.change-server-while-connected-confirmation");pe.componentInstance.operationAccepted.subscribe(function(){pe.componentInstance.closeModal(),m?a.changeServerUsingHistory(m,V):C?a.changeServerUsingDiscovery(C,V):I&&a.changeServerManually(I,V),i.redirectAfterServerChange(t,u,f)})}else if(Le!==va.SamePkStopped||Ce)m?a.changeServerUsingHistory(m,V):C?a.changeServerUsingDiscovery(C,V):I&&a.changeServerManually(I,V),i.redirectAfterServerChange(t,u,f);else{var Re=cn.createConfirmationDialog(l,"vpn.server-change.start-same-server-confirmation");Re.componentInstance.operationAccepted.subscribe(function(){Re.componentInstance.closeModal(),I&&me&&o.processFromManual(I),a.start(),i.redirectAfterServerChange(t,u,f)})}else s.showWarning("vpn.server-change.already-selected-warning");else s.showError("vpn.server-change.busy-error")}},{key:"redirectAfterServerChange",value:function(t,a,o){a&&a.close(),t.navigate(["vpn",o,"status"])}},{key:"openServerOptions",value:function(t,a,o,s,l,u){var f=[],m=[];return t.usedWithPassword?(f.push({icon:"lock_open",label:"vpn.server-options.connect-without-password"}),m.push(201),f.push({icon:"lock_outlined",label:"vpn.server-options.connect-using-another-password"}),m.push(202)):t.enteredManually&&(f.push({icon:"lock_outlined",label:"vpn.server-options.connect-using-password"}),m.push(202)),f.push({icon:"edit",label:"vpn.server-options.edit-name"}),m.push(101),f.push({icon:"subject",label:"vpn.server-options.edit-label"}),m.push(102),(!t||t.flag!==Hn.Favorite)&&(f.push({icon:"star",label:"vpn.server-options.make-favorite"}),m.push(1)),t&&t.flag===Hn.Favorite&&(f.push({icon:"star_outline",label:"vpn.server-options.remove-from-favorites"}),m.push(-1)),(!t||t.flag!==Hn.Blocked)&&(f.push({icon:"pan_tool",label:"vpn.server-options.block"}),m.push(2)),t&&t.flag===Hn.Blocked&&(f.push({icon:"thumb_up",label:"vpn.server-options.unblock"}),m.push(-2)),t&&t.inHistory&&(f.push({icon:"delete",label:"vpn.server-options.remove-from-history"}),m.push(-3)),Bi.openDialog(u,f,"common.options").afterClosed().pipe(Dn(function(C){if(C){var I=o.getSavedVersion(t.pk,!0);if(t=I||t,m[C-=1]>200){if(201===m[C]){var V=!1,J=cn.createConfirmationDialog(u,"vpn.server-options.connect-without-password-confirmation");return J.componentInstance.operationAccepted.subscribe(function(){V=!0,i.processServerChange(a,s,o,l,u,null,i.currentPk,t,null,null,null),J.componentInstance.closeModal()}),J.afterClosed().pipe($e(function(){return V}))}return yE.openDialog(u,!1).afterClosed().pipe($e(function(Ce){return!(!Ce||"-"===Ce||(i.processServerChange(a,s,o,l,u,null,i.currentPk,t,null,null,Ce.substr(1)),0))}))}if(m[C]>100)return Xz.openDialog(u,{editName:101===m[C],server:t}).afterClosed();if(1===m[C])return i.makeFavorite(t,o,l,u);if(-1===m[C])return o.changeFlag(t,Hn.None),l.showDone("vpn.server-options.remove-from-favorites-done"),Je(!0);if(2===m[C])return i.blockServer(t,o,s,l,u);if(-2===m[C])return o.changeFlag(t,Hn.None),l.showDone("vpn.server-options.unblock-done"),Je(!0);if(-3===m[C])return i.removeFromHistory(t,o,l,u)}return Je(!1)}))}},{key:"removeFromHistory",value:function(t,a,o,s){var l=!1,u=cn.createConfirmationDialog(s,"vpn.server-options.remove-from-history-confirmation");return u.componentInstance.operationAccepted.subscribe(function(){l=!0,a.removeFromHistory(t.pk),o.showDone("vpn.server-options.remove-from-history-done"),u.componentInstance.closeModal()}),u.afterClosed().pipe($e(function(){return l}))}},{key:"makeFavorite",value:function(t,a,o,s){if(t.flag!==Hn.Blocked)return a.changeFlag(t,Hn.Favorite),o.showDone("vpn.server-options.make-favorite-done"),Je(!0);var l=!1,u=cn.createConfirmationDialog(s,"vpn.server-options.make-favorite-confirmation");return u.componentInstance.operationAccepted.subscribe(function(){l=!0,a.changeFlag(t,Hn.Favorite),o.showDone("vpn.server-options.make-favorite-done"),u.componentInstance.closeModal()}),u.afterClosed().pipe($e(function(){return l}))}},{key:"blockServer",value:function(t,a,o,s,l){if(t.flag!==Hn.Favorite&&(!a.currentServer||a.currentServer.pk!==t.pk))return a.changeFlag(t,Hn.Blocked),s.showDone("vpn.server-options.block-done"),Je(!0);var u=!1,f=a.currentServer&&a.currentServer.pk===t.pk,C=cn.createConfirmationDialog(l,t.flag!==Hn.Favorite?"vpn.server-options.block-selected-confirmation":f?"vpn.server-options.block-selected-favorite-confirmation":"vpn.server-options.block-confirmation");return C.componentInstance.operationAccepted.subscribe(function(){u=!0,a.changeFlag(t,Hn.Blocked),s.showDone("vpn.server-options.block-done"),f&&o.stop(),C.componentInstance.closeModal()}),C.afterClosed().pipe($e(function(){return u}))}}]),i}();return n.serverListTabStorageKey="ServerListTab",n.currentPk="",n}(),tW=["mat-menu-item",""];function nW(n,i){1&n&&(No(),E(0,"svg",2),Te(1,"polygon",3),P())}var bE=["*"];function rW(n,i){if(1&n){var e=tt();E(0,"div",0),Se("keydown",function(o){return ke(e),K()._handleKeydown(o)})("click",function(){return ke(e),K().closed.emit("click")})("@transformMenu.start",function(o){return ke(e),K()._onAnimationStart(o)})("@transformMenu.done",function(o){return ke(e),K()._onAnimationDone(o)}),E(1,"div",1),hr(2),P()()}if(2&n){var t=K();S("id",t.panelId)("ngClass",t._classList)("@transformMenu",t._panelAnimationState),Wt("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby||null)("aria-describedby",t.ariaDescribedby||null)}}var xv={transformMenu:Go("transformMenu",[Ri("void",kn({opacity:0,transform:"scale(0.8)"})),yi("void => enter",Fi("120ms cubic-bezier(0, 0, 0.2, 1)",kn({opacity:1,transform:"scale(1)"}))),yi("* => void",Fi("100ms 25ms linear",kn({opacity:0})))]),fadeInItems:Go("fadeInItems",[Ri("showing",kn({opacity:1})),yi("void => *",[kn({opacity:0}),Fi("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},iW=new Ze("MatMenuContent"),Gb=new Ze("MAT_MENU_PANEL"),aW=df(sc(function(){return d(function n(){c(this,n)})}())),ns=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l,u){var f,m;return c(this,t),(f=e.call(this))._elementRef=a,f._document=o,f._focusMonitor=s,f._parentMenu=l,f._changeDetectorRef=u,f.role="menuitem",f._hovered=new Ie,f._focused=new Ie,f._highlighted=!1,f._triggersSubmenu=!1,null===(m=null==l?void 0:l.addItem)||void 0===m||m.call(l,x(f)),f}return d(t,[{key:"focus",value:function(o,s){this._focusMonitor&&o?this._focusMonitor.focusVia(this._getHostElement(),o,s):this._getHostElement().focus(s),this._focused.next(this)}},{key:"ngAfterViewInit",value:function(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}},{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(o){this.disabled&&(o.preventDefault(),o.stopPropagation())}},{key:"_handleMouseEnter",value:function(){this._hovered.next(this)}},{key:"getLabel",value:function(){for(var o,s=this._elementRef.nativeElement.cloneNode(!0),l=s.querySelectorAll("mat-icon, .material-icons"),u=0;u0&&void 0!==arguments[0]?arguments[0]:"program";this.lazyContent?this._ngZone.onStable.pipe(nr(1)).subscribe(function(){return t._focusFirstItem(a)}):this._focusFirstItem(a)}},{key:"_focusFirstItem",value:function(t){var a=this._keyManager;if(a.setFocusOrigin(t).setFirstItemActive(),!a.activeItem&&this._directDescendantItems.length)for(var o=this._directDescendantItems.first._getHostElement().parentElement;o;){if("menu"===o.getAttribute("role")){o.focus();break}o=o.parentElement}}},{key:"resetActiveItem",value:function(){this._keyManager.setActiveItem(-1)}},{key:"setElevation",value:function(t){var a=this,o=Math.min(this._baseElevation+t,24),s="".concat(this._elevationPrefix).concat(o),l=Object.keys(this._classList).find(function(u){return u.startsWith(a._elevationPrefix)});(!l||l===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[s]=!0,this._previousElevation=s)}},{key:"setPositionClasses",value:function(){var o,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.xPosition,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.yPosition,s=this._classList;s["mat-menu-before"]="before"===t,s["mat-menu-after"]="after"===t,s["mat-menu-above"]="above"===a,s["mat-menu-below"]="below"===a,null===(o=this._changeDetectorRef)||void 0===o||o.markForCheck()}},{key:"_startAnimation",value:function(){this._panelAnimationState="enter"}},{key:"_resetAnimation",value:function(){this._panelAnimationState="void"}},{key:"_onAnimationDone",value:function(t){this._animationDone.next(t),this._isAnimating=!1}},{key:"_onAnimationStart",value:function(t){this._isAnimating=!0,"enter"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)}},{key:"_updateDirectDescendants",value:function(){var t=this;this._allItems.changes.pipe(ha(this._allItems)).subscribe(function(a){t._directDescendantItems.reset(a.filter(function(o){return o._parentMenu===t})),t._directDescendantItems.notifyOnChanges()})}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(yt),B(bt),B(kE),B(Yn))},n.\u0275dir=et({type:n,contentQueries:function(e,t,a){var o;1&e&&(vr(a,iW,5),vr(a,ns,5),vr(a,ns,4)),2&e&&(lt(o=ut())&&(t.lazyContent=o.first),lt(o=ut())&&(t._allItems=o),lt(o=ut())&&(t.items=o))},viewQuery:function(e,t){var a;1&e&>(Ai,5),2&e&<(a=ut())&&(t.templateRef=a.first)},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),n}(),bc=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l){var u;return c(this,t),(u=e.call(this,a,o,s,l))._elevationPrefix="mat-elevation-z",u._baseElevation=4,u}return d(t)}(Ef);return n.\u0275fac=function(e){return new(e||n)(B(yt),B(bt),B(kE),B(Yn))},n.\u0275cmp=qe({type:n,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,t){2&e&&Wt("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[un([{provide:Gb,useExisting:n}]),vt],ngContentSelectors:bE,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&&(Gi(),q(0,rW,3,6,"ng-template"))},directives:[mr],styles:["mat-menu{display:none}.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;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{margin-top:1px}.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}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}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:[xv.transformMenu,xv.fadeInItems]},changeDetection:0}),n}(),ME=new Ze("mat-menu-scroll-strategy"),uW={provide:ME,deps:[Aa],useFactory:function lW(n){return function(){return n.scrollStrategies.reposition()}}},wE=yl({passive:!0}),cW=function(){var n=function(){function i(e,t,a,o,s,l,u,f,m){var C=this;c(this,i),this._overlay=e,this._element=t,this._viewContainerRef=a,this._menuItemInstance=l,this._dir=u,this._focusMonitor=f,this._ngZone=m,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=Ne.EMPTY,this._hoverSubscription=Ne.EMPTY,this._menuCloseSubscription=Ne.EMPTY,this._handleTouchStart=function(I){ob(I)||(C._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new pt,this.onMenuOpen=this.menuOpened,this.menuClosed=new pt,this.onMenuClose=this.menuClosed,this._scrollStrategy=o,this._parentMaterialMenu=s instanceof Ef?s:void 0,t.nativeElement.addEventListener("touchstart",this._handleTouchStart,wE),l&&(l._triggersSubmenu=this.triggersSubmenu())}return d(i,[{key:"_deprecatedMatMenuTriggerFor",get:function(){return this.menu},set:function(t){this.menu=t}},{key:"menu",get:function(){return this._menu},set:function(t){var a=this;t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._menuCloseSubscription=t.close.subscribe(function(o){a._destroyMenu(o),("click"===o||"tab"===o)&&a._parentMaterialMenu&&a._parentMaterialMenu.closed.emit(o)})))}},{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,wE),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}},{key:"menuOpen",get:function(){return this._menuOpen}},{key:"dir",get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"triggersSubmenu",value:function(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}},{key:"toggleMenu",value:function(){return this._menuOpen?this.closeMenu():this.openMenu()}},{key:"openMenu",value:function(){var t=this;if(!this._menuOpen){this._checkMenu();var a=this._createOverlay(),o=a.getConfig(),s=o.positionStrategy;this._setPosition(s),o.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,a.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(function(){return t.closeMenu()}),this._initMenu(),this.menu instanceof Ef&&(this.menu._startAnimation(),this.menu._directDescendantItems.changes.pipe(hn(this.menu.close)).subscribe(function(){s.withLockedPosition(!1).reapplyLastPosition(),s.withLockedPosition(!0)}))}}},{key:"closeMenu",value:function(){this.menu.close.emit()}},{key:"focus",value:function(t,a){this._focusMonitor&&t?this._focusMonitor.focusVia(this._element,t,a):this._element.nativeElement.focus(a)}},{key:"updatePosition",value:function(){var t;null===(t=this._overlayRef)||void 0===t||t.updatePosition()}},{key:"_destroyMenu",value:function(t){var a=this;if(this._overlayRef&&this.menuOpen){var o=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===t||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,o instanceof Ef?(o._resetAnimation(),o.lazyContent?o._animationDone.pipe(Ar(function(s){return"void"===s.toState}),nr(1),hn(o.lazyContent._attached)).subscribe({next:function(){return o.lazyContent.detach()},complete:function(){return a._setIsMenuOpen(!1)}}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),o.lazyContent&&o.lazyContent.detach())}}},{key:"_initMenu",value:function(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}},{key:"_setMenuElevation",value:function(){if(this.menu.setElevation){for(var t=0,a=this.menu.parentMenu;a;)t++,a=a.parentMenu;this.menu.setElevation(t)}}},{key:"_setIsMenuOpen",value:function(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(t)}},{key:"_checkMenu",value:function(){}},{key:"_createOverlay",value:function(){if(!this._overlayRef){var t=this._getOverlayConfig();this._subscribeToPositions(t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}},{key:"_getOverlayConfig",value:function(){return new uf({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}},{key:"_subscribeToPositions",value:function(t){var a=this;this.menu.setPositionClasses&&t.positionChanges.subscribe(function(o){var s="start"===o.connectionPair.overlayX?"after":"before",l="top"===o.connectionPair.overlayY?"below":"above";a._ngZone?a._ngZone.run(function(){return a.menu.setPositionClasses(s,l)}):a.menu.setPositionClasses(s,l)})}},{key:"_setPosition",value:function(t){var o=ne("before"===this.menu.xPosition?["end","start"]:["start","end"],2),s=o[0],l=o[1],f=ne("above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],2),m=f[0],C=f[1],I=m,V=C,J=s,me=l,Ce=0;this.triggersSubmenu()?(me=s="before"===this.menu.xPosition?"start":"end",l=J="end"===s?"start":"end",Ce="bottom"===m?8:-8):this.menu.overlapTrigger||(I="top"===m?"bottom":"top",V="top"===C?"bottom":"top"),t.withPositions([{originX:s,originY:I,overlayX:J,overlayY:m,offsetY:Ce},{originX:l,originY:I,overlayX:me,overlayY:m,offsetY:Ce},{originX:s,originY:V,overlayX:J,overlayY:C,offsetY:-Ce},{originX:l,originY:V,overlayX:me,overlayY:C,offsetY:-Ce}])}},{key:"_menuClosingActions",value:function(){var t=this,a=this._overlayRef.backdropClick(),o=this._overlayRef.detachments();return Ci(a,this._parentMaterialMenu?this._parentMaterialMenu.closed:Je(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Ar(function(u){return u!==t._menuItemInstance}),Ar(function(){return t._menuOpen})):Je(),o)}},{key:"_handleMousedown",value:function(t){ab(t)||(this._openedBy=0===t.button?"mouse":void 0,this.triggersSubmenu()&&t.preventDefault())}},{key:"_handleKeydown",value:function(t){var a=t.keyCode;(13===a||32===a)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===a&&"ltr"===this.dir||37===a&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}},{key:"_handleClick",value:function(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}},{key:"_handleHover",value:function(){var t=this;!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(Ar(function(a){return a===t._menuItemInstance&&!a.disabled}),Mi(0,Gy)).subscribe(function(){t._openedBy="mouse",t.menu instanceof Ef&&t.menu._isAnimating?t.menu._animationDone.pipe(nr(1),Mi(0,Gy),hn(t._parentMaterialMenu._hovered())).subscribe(function(){return t.openMenu()}):t.openMenu()}))}},{key:"_getPortal",value:function(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new ac(this.menu.templateRef,this._viewContainerRef)),this._portal}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Aa),B(yt),B(ii),B(ME),B(Gb,8),B(ns,10),B(pa,8),B(Os),B(bt))},n.\u0275dir=et({type:n,hostAttrs:["aria-haspopup","true"],hostVars:2,hostBindings:function(e,t){1&e&&Se("click",function(o){return t._handleClick(o)})("mousedown",function(o){return t._handleMousedown(o)})("keydown",function(o){return t._handleKeydown(o)}),2&e&&Wt("aria-expanded",t.menuOpen||null)("aria-controls",t.menuOpen?t.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),n}(),kc=function(){var n=function(i){h(t,i);var e=y(t);function t(){return c(this,t),e.apply(this,arguments)}return d(t)}(cW);return n.\u0275fac=function(){var i;return function(t){return(i||(i=or(n)))(t||n)}}(),n.\u0275dir=et({type:n,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[vt]}),n}(),dW=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({providers:[uW],imports:[[Mo,Pn,hf,cf],af,Pn]}),n}(),rs=function(){return function(n){n[n.Seconds=0]="Seconds",n[n.Minutes=1]="Minutes",n[n.Hours=2]="Hours",n[n.Days=3]="Days",n[n.Weeks=4]="Weeks"}(rs||(rs={})),rs}(),fW=d(function n(){c(this,n)}),SE=function(){function n(){c(this,n)}return d(n,null,[{key:"getElapsedTime",value:function(e){var t=new fW;t.timeRepresentation=rs.Seconds,t.totalMinutes=Math.floor(e/60).toString(),t.translationVarName="second";var a=1;e>=60&&e<3600?(t.timeRepresentation=rs.Minutes,a=60,t.translationVarName="minute"):e>=3600&&e<86400?(t.timeRepresentation=rs.Hours,a=3600,t.translationVarName="hour"):e>=86400&&e<604800?(t.timeRepresentation=rs.Days,a=86400,t.translationVarName="day"):e>=604800&&(t.timeRepresentation=rs.Weeks,a=604800,t.translationVarName="week");var o=Math.floor(e/a);return t.elapsedTime=o.toString(),(t.timeRepresentation===rs.Seconds||o>1)&&(t.translationVarName=t.translationVarName+"s"),t}}]),n}();function hW(n,i){1&n&&Te(0,"mat-spinner",5),2&n&&S("diameter",14)}function pW(n,i){1&n&&Te(0,"mat-spinner",6),2&n&&S("diameter",18)}function vW(n,i){1&n&&(E(0,"mat-icon",9),R(1,"refresh"),P()),2&n&&S("inline",!0)}function mW(n,i){1&n&&(E(0,"mat-icon",10),R(1,"warning"),P()),2&n&&S("inline",!0)}function gW(n,i){if(1&n&&(ze(0),q(1,vW,2,1,"mat-icon",7),q(2,mW,2,1,"mat-icon",8),We()),2&n){var e=K();p(1),S("ngIf",!e.showAlert),p(1),S("ngIf",e.showAlert)}}var DE=function(i){return{time:i}};function _W(n,i){if(1&n&&(E(0,"span",11),R(1),Y(2,"translate"),P()),2&n){var e=K();p(1),ge(xt(2,1,"refresh-button."+e.elapsedTime.translationVarName,Qe(4,DE,e.elapsedTime.elapsedTime)))}}var yW=function(i){return{"grey-button-background":i}},bW=function(){var n=function(){function i(){c(this,i),this.refeshRate=-1}return d(i,[{key:"secondsSinceLastUpdate",set:function(t){this.elapsedTime=SE.getElapsedTime(t)}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=qe({type:n,selectors:[["app-refresh-button"]],inputs:{secondsSinceLastUpdate:"secondsSinceLastUpdate",showLoading:"showLoading",showAlert:"showAlert",refeshRate:"refeshRate"},decls:6,vars:14,consts:[["mat-button","",1,"time-button","subtle-transparent-button","white-theme",3,"disabled","ngClass","matTooltip"],["class","icon d-none d-md-inline-block",3,"diameter",4,"ngIf"],["class","icon d-md-none",3,"diameter",4,"ngIf"],[4,"ngIf"],["class","d-none d-md-inline",4,"ngIf"],[1,"icon","d-none","d-md-inline-block",3,"diameter"],[1,"icon","d-md-none",3,"diameter"],["class","icon",3,"inline",4,"ngIf"],["class","icon alert",3,"inline",4,"ngIf"],[1,"icon",3,"inline"],[1,"icon","alert",3,"inline"],[1,"d-none","d-md-inline"]],template:function(e,t){1&e&&(E(0,"button",0),Y(1,"translate"),q(2,hW,1,1,"mat-spinner",1),q(3,pW,1,1,"mat-spinner",2),q(4,gW,3,2,"ng-container",3),q(5,_W,3,6,"span",4),P()),2&e&&(S("disabled",t.showLoading)("ngClass",Qe(10,yW,!t.showLoading))("matTooltip",t.showAlert?xt(1,7,"refresh-button.error-tooltip",Qe(12,DE,t.refeshRate)):""),p(2),S("ngIf",t.showLoading),p(1),S("ngIf",t.showLoading),p(1),S("ngIf",!t.showLoading),p(1),S("ngIf",t.elapsedTime))},directives:[bi,mr,ur,Et,Ia,Mn],pipes:[Mt],styles:[".time-button[_ngcontent-%COMP%]{color:#f8f9f9;border-radius:10px;height:40px}.time-button[disabled][_ngcontent-%COMP%]{opacity:.7!important;color:#f8f9f9}.time-button[disabled][_ngcontent-%COMP%] span[_ngcontent-%COMP%]{opacity:.7}.time-button[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{font-size:16px;margin-right:5px;opacity:.5;display:inline-block}@media (max-width: 767px){.time-button[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{font-size:22px;margin-right:0;opacity:.75}}.time-button[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{color:orange;opacity:1}.time-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:.6rem}"]}),n}(),Pf=function(){var n=function(){function i(){c(this,i)}return d(i,[{key:"transform",value:function(t,a){var s,o=!0;a?a.showPerSecond?a.useBits?(s=i.measurementsPerSecInBits,o=!1):s=i.measurementsPerSec:a.useBits?(s=i.accumulatedMeasurementsInBits,o=!1):s=i.accumulatedMeasurements:s=i.accumulatedMeasurements;var l=new Ub.BigNumber(t);o||(l=l.multipliedBy(8));for(var u=s[0],f=0;l.dividedBy(1024).isGreaterThan(1);)l=l.dividedBy(1024),u=s[f+=1];var m="";return(!a||!!a.showValue)&&(m=a&&a.limitDecimals?new Ub.BigNumber(l).decimalPlaces(1).toString():l.toFixed(2)),(!a||!!a.showValue&&!!a.showUnit)&&(m+=" "),(!a||!!a.showUnit)&&(m+=u),m}}]),i}();return n.accumulatedMeasurements=["B","KB","MB","GB","TB","PB","EB","ZB","YB"],n.measurementsPerSec=["B/s","KB/s","MB/s","GB/s","TB/s","PB/s","EB/s","ZB/s","YB/s"],n.accumulatedMeasurementsInBits=["b","Kb","Mb","Gb","Tb","Pb","Eb","Zb","Yb"],n.measurementsPerSecInBits=["b/s","Kb/s","Mb/s","Gb/s","Tb/s","Pb/s","Eb/s","Zb/s","Yb/s"],n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=Kr({name:"autoScale",type:n,pure:!0}),n}();function kW(n,i){if(1&n){var e=tt();E(0,"button",23),Se("click",function(){return ke(e),K().requestAction(null)}),E(1,"mat-icon"),R(2,"chevron_left"),P()()}}function MW(n,i){1&n&&(ze(0),Te(1,"img",24),We())}function CW(n,i){if(1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n){var e=K();p(1),ye(" ",U(2,1,e.titleParts[e.titleParts.length-1])," ")}}var wW=function(i){return{transparent:i}};function SW(n,i){if(1&n){var e=tt();ze(0),E(1,"div",26),Se("click",function(){var s=ke(e).$implicit;return K(2).requestAction(s.actionName)}),E(2,"mat-icon",27),R(3),P(),R(4),Y(5,"translate"),P(),We()}if(2&n){var t=i.$implicit;p(1),S("disabled",t.disabled),p(1),S("ngClass",Qe(6,wW,t.disabled)),p(1),ge(t.icon),p(1),ye(" ",U(5,4,t.name)," ")}}function DW(n,i){1&n&&Te(0,"div",28)}function TW(n,i){if(1&n&&(ze(0),q(1,SW,6,8,"ng-container",25),q(2,DW,1,0,"div",9),We()),2&n){var e=K();p(1),S("ngForOf",e.optionsData),p(1),S("ngIf",e.returnText)}}function LW(n,i){1&n&&Te(0,"div",28)}function EW(n,i){1&n&&Te(0,"img",31),2&n&&S("src","assets/img/lang/"+K(2).language.iconName,vo)}function PW(n,i){if(1&n){var e=tt();E(0,"div",29),Se("click",function(){return ke(e),K().openLanguageWindow()}),q(1,EW,1,1,"img",30),R(2),Y(3,"translate"),P()}if(2&n){var t=K();p(1),S("ngIf",t.language),p(1),ye(" ",U(3,2,t.language?t.language.name:"")," ")}}function xW(n,i){if(1&n){var e=tt();E(0,"div",32)(1,"a",33),Se("click",function(){return ke(e),K().requestAction(null)}),Y(2,"translate"),E(3,"mat-icon",34),R(4,"chevron_left"),P()()()}if(2&n){var t=K();p(1),S("matTooltip",U(2,2,t.returnText)),p(2),S("inline",!0)}}function OW(n,i){if(1&n&&(E(0,"span",35),R(1),Y(2,"translate"),P()),2&n){var e=K();p(1),ye(" ",U(2,1,e.titleParts[e.titleParts.length-1])," ")}}function AW(n,i){1&n&&Te(0,"img",36)}var IW=function(i,e){return{"d-lg-none":i,"d-none d-md-inline-block":e}},TE=function(i,e){return{"mouse-disabled":i,"grey-button-background":e}};function FW(n,i){if(1&n&&(E(0,"div",27)(1,"a",37)(2,"mat-icon",34),R(3),P(),E(4,"span"),R(5),Y(6,"translate"),P()()()),2&n){var e=i.$implicit,t=i.index,a=K();S("ngClass",En(9,IW,e.onlyIfLessThanLg,1!==a.tabsData.length)),p(1),S("disabled",t===a.selectedTabIndex)("routerLink",e.linkParts)("ngClass",En(12,TE,a.disableMouse,!a.disableMouse&&t!==a.selectedTabIndex)),p(1),S("inline",!0),p(1),ge(e.icon),p(2),ge(U(6,7,e.label))}}var RW=function(i){return{"d-none":i}};function NW(n,i){if(1&n){var e=tt();E(0,"div",38)(1,"button",39),Se("click",function(){return ke(e),K().openTabSelector()}),E(2,"mat-icon",34),R(3),P(),E(4,"span"),R(5),Y(6,"translate"),P(),E(7,"mat-icon",34),R(8,"keyboard_arrow_down"),P()()()}if(2&n){var t=K();S("ngClass",Qe(8,RW,1===t.tabsData.length)),p(1),S("ngClass",En(10,TE,t.disableMouse,!t.disableMouse)),p(1),S("inline",!0),p(1),ge(t.tabsData[t.selectedTabIndex].icon),p(2),ge(U(6,6,t.tabsData[t.selectedTabIndex].label)),p(2),S("inline",!0)}}function YW(n,i){if(1&n){var e=tt();E(0,"app-refresh-button",43),Se("click",function(){return ke(e),K(2).sendRefreshEvent()}),P()}if(2&n){var t=K(2);S("secondsSinceLastUpdate",t.secondsSinceLastUpdate)("showLoading",t.showLoading)("showAlert",t.showAlert)("refeshRate",t.refeshRate)}}function HW(n,i){if(1&n&&(E(0,"div",40),q(1,YW,1,4,"app-refresh-button",41),E(2,"button",42)(3,"mat-icon",34),R(4,"menu"),P()()()),2&n){var e=K(),t=sr(12);p(1),S("ngIf",e.showUpdateButton),p(1),S("matMenuTriggerFor",t),p(1),S("inline",!0)}}function BW(n,i){if(1&n){var e=tt();E(0,"div",51)(1,"div",52),Se("click",function(){return ke(e),K(2).openLanguageWindow()}),Te(2,"img",53),R(3),Y(4,"translate"),P()()}if(2&n){var t=K(2);p(2),S("src","assets/img/lang/"+t.language.iconName,vo),p(1),ye(" ",U(4,2,t.language?t.language.name:"")," ")}}function VW(n,i){1&n&&(E(0,"div",54),Y(1,"translate"),E(2,"mat-icon",34),R(3,"warning"),P(),R(4),Y(5,"translate"),P()),2&n&&(S("matTooltip",U(1,3,"vpn.connection-error.info")),p(2),S("inline",!0),p(2),ye(" ",U(5,5,"vpn.connection-error.text")," "))}function jW(n,i){1&n&&(E(0,"div",61)(1,"mat-icon",59),R(2,"brightness_1"),P()()),2&n&&(p(1),S("inline",!0))}var UW=function(i,e){return{"animation-container":i,"d-none":e}},zW=function(i){return{time:i}},LE=function(i){return{showValue:!0,showUnit:!0,showPerSecond:!0,useBits:i}};function WW(n,i){if(1&n&&(E(0,"table",55)(1,"tr")(2,"td",56),Y(3,"translate"),E(4,"div",27)(5,"div",57)(6,"div",58)(7,"mat-icon",59),R(8,"brightness_1"),P(),R(9),Y(10,"translate"),P()()(),q(11,jW,3,1,"div",60),E(12,"mat-icon",59),R(13,"brightness_1"),P(),R(14),Y(15,"translate"),P(),E(16,"td",56),Y(17,"translate"),E(18,"mat-icon",34),R(19,"swap_horiz"),P(),R(20),Y(21,"translate"),P()(),E(22,"tr")(23,"td",56),Y(24,"translate"),E(25,"mat-icon",34),R(26,"arrow_upward"),P(),R(27),Y(28,"autoScale"),P(),E(29,"td",56),Y(30,"translate"),E(31,"mat-icon",34),R(32,"arrow_downward"),P(),R(33),Y(34,"autoScale"),P()()()),2&n){var e=K(2);p(2),ua(e.vpnData.stateClass+" state-td"),S("matTooltip",U(3,18,e.vpnData.state+"-info")),p(2),S("ngClass",En(39,UW,e.showVpnStateAnimation,!e.showVpnStateAnimation)),p(3),S("inline",!0),p(2),ye(" ",U(10,20,e.vpnData.state)," "),p(2),S("ngIf",e.showVpnStateAnimatedDot),p(1),S("inline",!0),p(2),ye(" ",U(15,22,e.vpnData.state)," "),p(2),S("matTooltip",U(17,24,"vpn.connection-info.latency-info")),p(2),S("inline",!0),p(2),ye(" ",xt(21,26,"common."+e.getLatencyValueString(e.vpnData.latency),Qe(42,zW,e.getPrintableLatency(e.vpnData.latency)))," "),p(3),S("matTooltip",U(24,29,"vpn.connection-info.upload-info")),p(2),S("inline",!0),p(2),ye(" ",xt(28,31,e.vpnData.uploadSpeed,Qe(44,LE,e.showVpnDataStatsInBits))," "),p(2),S("matTooltip",U(30,34,"vpn.connection-info.download-info")),p(2),S("inline",!0),p(2),ye(" ",xt(34,36,e.vpnData.downloadSpeed,Qe(46,LE,e.showVpnDataStatsInBits))," ")}}function GW(n,i){1&n&&Te(0,"mat-spinner",62),2&n&&S("diameter",20)}function qW(n,i){if(1&n&&(E(0,"div")(1,"div",44),q(2,BW,5,4,"div",45),Te(3,"div",46),q(4,VW,6,7,"div",47),P(),E(5,"div",48),q(6,WW,35,48,"table",49),q(7,GW,1,1,"mat-spinner",50),P()()),2&n){var e=K();p(2),S("ngIf",!e.hideLanguageButton&&e.language),p(2),S("ngIf",e.errorsConnectingToVpn),p(2),S("ngIf",e.vpnData),p(1),S("ngIf",!e.vpnData)}}function KW(n,i){1&n&&(E(0,"div",63)(1,"div",64)(2,"mat-icon",34),R(3,"error_outline"),P(),R(4),Y(5,"translate"),P(),E(6,"div",65),R(7),Y(8,"translate"),P()()),2&n&&(p(2),S("inline",!0),p(2),ye(" ",U(5,3,"vpn.remote-access-title")," "),p(3),ye(" ",U(8,5,"vpn.remote-access-text")," "))}var EE=function(i,e){return{"d-lg-none":i,"d-none":e}},$W=function(i){return{"normal-height":i}},ZW=function(i,e){return{"d-none d-lg-flex":i,"d-flex":e}},Fl=function(){var n=function(){function i(e,t,a,o,s){c(this,i),this.languageService=e,this.dialog=t,this.router=a,this.vpnClientService=o,this.vpnSavedDataService=s,this.disableMouse=!1,this.selectedTabIndex=0,this.refeshRate=-1,this.showUpdateButton=!0,this.localVpnKeyInternal="",this.refreshRequested=new pt,this.optionSelected=new pt,this.hideLanguageButton=!0,this.showVpnInfo=!1,this.initialVpnStateObtained=!1,this.lastVpnState="",this.showVpnStateAnimation=!1,this.showVpnStateAnimatedDot=!0,this.showVpnDataStatsInBits=!0,this.remoteAccess=!1,this.errorsConnectingToVpn=!1,this.langSubscriptionsGroup=[]}return d(i,[{key:"localVpnKey",set:function(t){this.localVpnKeyInternal=t,t?this.startGettingVpnInfo():this.stopGettingVpnInfo()}},{key:"ngOnInit",value:function(){var t=this;this.langSubscriptionsGroup.push(this.languageService.currentLanguage.subscribe(function(o){t.language=o})),this.langSubscriptionsGroup.push(this.languageService.languages.subscribe(function(o){t.hideLanguageButton=!(o.length>1)}));var a=window.location.hostname;!a.toLowerCase().includes("localhost")&&!a.toLowerCase().includes("127.0.0.1")&&(this.remoteAccess=!0)}},{key:"ngOnDestroy",value:function(){this.langSubscriptionsGroup.forEach(function(t){return t.unsubscribe()}),this.refreshRequested.complete(),this.optionSelected.complete(),this.stopGettingVpnInfo()}},{key:"startGettingVpnInfo",value:function(){var t=this;this.showVpnInfo=!0,this.vpnClientService.initialize(this.localVpnKeyInternal),this.updateVpnDataStatsUnit(),this.vpnDataSubscription=this.vpnClientService.backendState.subscribe(function(a){a&&(t.vpnData={state:"",stateClass:"",latency:a.vpnClientAppData.connectionData?a.vpnClientAppData.connectionData.latency:0,downloadSpeed:a.vpnClientAppData.connectionData?a.vpnClientAppData.connectionData.downloadSpeed:0,uploadSpeed:a.vpnClientAppData.connectionData?a.vpnClientAppData.connectionData.uploadSpeed:0},a.vpnClientAppData.appState===pn.Stopped?(t.vpnData.state="vpn.connection-info.state-disconnected",t.vpnData.stateClass="red-clear-text"):a.vpnClientAppData.appState===pn.Connecting?(t.vpnData.state="vpn.connection-info.state-connecting",t.vpnData.stateClass="yellow-clear-text"):a.vpnClientAppData.appState===pn.Running?(t.vpnData.state="vpn.connection-info.state-connected",t.vpnData.stateClass="green-clear-text"):a.vpnClientAppData.appState===pn.ShuttingDown?(t.vpnData.state="vpn.connection-info.state-disconnecting",t.vpnData.stateClass="yellow-clear-text"):a.vpnClientAppData.appState===pn.Reconnecting&&(t.vpnData.state="vpn.connection-info.state-reconnecting",t.vpnData.stateClass="yellow-clear-text"),t.initialVpnStateObtained?t.lastVpnState!==t.vpnData.state&&(t.lastVpnState=t.vpnData.state,t.showVpnStateAnimation=!1,t.showVpnStateChangeAnimationSubscription&&t.showVpnStateChangeAnimationSubscription.unsubscribe(),t.showVpnStateChangeAnimationSubscription=Je(0).pipe(Mi(1)).subscribe(function(){return t.showVpnStateAnimation=!0})):(t.initialVpnStateObtained=!0,t.lastVpnState=t.vpnData.state),t.showVpnStateAnimatedDot=!1,t.showVpnStateAnimatedDotSubscription&&t.showVpnStateAnimatedDotSubscription.unsubscribe(),t.showVpnStateAnimatedDotSubscription=Je(0).pipe(Mi(1)).subscribe(function(){return t.showVpnStateAnimatedDot=!0}))}),this.errorsConnectingToVpnSubscription=this.vpnClientService.errorsConnecting.subscribe(function(a){t.errorsConnectingToVpn=a})}},{key:"stopGettingVpnInfo",value:function(){this.showVpnInfo=!1,this.vpnDataSubscription&&this.vpnDataSubscription.unsubscribe(),this.errorsConnectingToVpnSubscription&&this.errorsConnectingToVpnSubscription.unsubscribe()}},{key:"getLatencyValueString",value:function(t){return Gr.getLatencyValueString(t)}},{key:"getPrintableLatency",value:function(t){return Gr.getPrintableLatency(t)}},{key:"requestAction",value:function(t){this.optionSelected.emit(t)}},{key:"openLanguageWindow",value:function(){lE.openDialog(this.dialog)}},{key:"sendRefreshEvent",value:function(){this.refreshRequested.emit()}},{key:"openTabSelector",value:function(){var t=this,a=[];this.tabsData.forEach(function(o){a.push({label:o.label,icon:o.icon})}),Bi.openDialog(this.dialog,a,"tabs-window.title").afterClosed().subscribe(function(o){o&&(o-=1)!==t.selectedTabIndex&&t.router.navigate(t.tabsData[o].linkParts)})}},{key:"updateVpnDataStatsUnit",value:function(){var t=this.vpnSavedDataService.getDataUnitsSetting();this.showVpnDataStatsInBits=t===Xi.BitsSpeedAndBytesVolume||t===Xi.OnlyBits}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(vv),B(Gn),B(rn),B(yc),B(Il))},n.\u0275cmp=qe({type:n,selectors:[["app-top-bar"]],inputs:{disableMouse:"disableMouse",titleParts:"titleParts",tabsData:"tabsData",selectedTabIndex:"selectedTabIndex",optionsData:"optionsData",returnText:"returnText",secondsSinceLastUpdate:"secondsSinceLastUpdate",showLoading:"showLoading",showAlert:"showAlert",refeshRate:"refeshRate",showUpdateButton:"showUpdateButton",localVpnKey:"localVpnKey"},outputs:{refreshRequested:"refreshRequested",optionSelected:"optionSelected"},decls:29,vars:31,consts:[[1,"top-bar",3,"ngClass"],[1,"button-container"],["mat-icon-button","","class","transparent-button",3,"click",4,"ngIf"],[1,"logo-container"],[4,"ngIf"],["mat-icon-button","",1,"transparent-button",3,"matMenuTriggerFor"],[1,"top-bar-margin",3,"ngClass"],[3,"overlapTrigger"],["menu","matMenu"],["class","menu-separator",4,"ngIf"],["mat-menu-item","",3,"click",4,"ngIf"],[1,"main-container",3,"ngClass"],[1,"main-area"],[1,"title",3,"ngClass"],["class","return-container",4,"ngIf"],["class","title-text",4,"ngIf"],["class","title-image","src","./assets/img/logo-vpn.png",4,"ngIf"],[1,"lower-container"],[3,"ngClass",4,"ngFor","ngForOf"],["class","d-md-none",3,"ngClass",4,"ngIf"],[1,"blank-space"],["class","right-container",4,"ngIf"],["class","remote-vpn-alert-container",4,"ngIf"],["mat-icon-button","",1,"transparent-button",3,"click"],["src","/assets/img/logo-s.png"],[4,"ngFor","ngForOf"],["mat-menu-item","",3,"disabled","click"],[3,"ngClass"],[1,"menu-separator"],["mat-menu-item","",3,"click"],["class","flag",3,"src",4,"ngIf"],[1,"flag",3,"src"],[1,"return-container"],[1,"return-button","transparent-button",3,"matTooltip","click"],[3,"inline"],[1,"title-text"],["src","./assets/img/logo-vpn.png",1,"title-image"],["mat-button","",1,"tab-button","white-theme",3,"disabled","routerLink","ngClass"],[1,"d-md-none",3,"ngClass"],["mat-button","",1,"tab-button","select-tab-button","white-theme",3,"ngClass","click"],[1,"right-container"],[3,"secondsSinceLastUpdate","showLoading","showAlert","refeshRate","click",4,"ngIf"],["mat-button","",1,"menu-button","subtle-transparent-button","d-none","d-lg-block",3,"matMenuTriggerFor"],[3,"secondsSinceLastUpdate","showLoading","showAlert","refeshRate","click"],[1,"top-text-vpn-container"],["class","languaje-button-vpn",4,"ngIf"],[1,"elements-separator"],["class","connection-error-msg-vpn blinking",3,"matTooltip",4,"ngIf"],[1,"vpn-info","vpn-dark-box-radius"],["cellspacing","0","cellpadding","0",4,"ngIf"],[3,"diameter",4,"ngIf"],[1,"languaje-button-vpn"],[1,"text-container",3,"click"],[1,"language-flag",3,"src"],[1,"connection-error-msg-vpn","blinking",3,"matTooltip"],["cellspacing","0","cellpadding","0"],[3,"matTooltip"],[1,"internal-animation-container"],[1,"animation-area"],[1,"state-icon",3,"inline"],["class","aminated-state-icon-container",4,"ngIf"],[1,"aminated-state-icon-container"],[3,"diameter"],[1,"remote-vpn-alert-container"],[1,"top-line"],[1,"bottom-line"]],template:function(e,t){if(1&e&&(E(0,"div",0)(1,"div",1),q(2,kW,3,0,"button",2),P(),E(3,"div",3),q(4,MW,2,0,"ng-container",4),q(5,CW,3,3,"ng-container",4),P(),E(6,"div",1)(7,"button",5)(8,"mat-icon"),R(9,"menu"),P()()()(),Te(10,"div",6),E(11,"mat-menu",7,8),q(13,TW,3,2,"ng-container",4),q(14,LW,1,0,"div",9),q(15,PW,4,4,"div",10),P(),E(16,"div",11)(17,"div",12)(18,"div",13),q(19,xW,5,4,"div",14),q(20,OW,3,3,"span",15),q(21,AW,1,0,"img",16),P(),E(22,"div",17),q(23,FW,7,15,"div",18),q(24,NW,9,13,"div",19),Te(25,"div",20),q(26,HW,5,3,"div",21),P()(),q(27,qW,8,4,"div",4),P(),q(28,KW,9,7,"div",22)),2&e){var a=sr(12);S("ngClass",En(20,EE,!t.showVpnInfo,t.showVpnInfo)),p(2),S("ngIf",t.returnText),p(2),S("ngIf",!t.titleParts||t.titleParts.length<2),p(1),S("ngIf",t.titleParts&&t.titleParts.length>=2),p(2),S("matMenuTriggerFor",a),p(3),S("ngClass",En(23,EE,!t.showVpnInfo,t.showVpnInfo)),p(1),S("overlapTrigger",!1),p(2),S("ngIf",t.optionsData&&t.optionsData.length>=1),p(1),S("ngIf",!t.hideLanguageButton&&t.optionsData&&t.optionsData.length>=1),p(1),S("ngIf",!t.hideLanguageButton),p(1),S("ngClass",Qe(26,$W,!t.showVpnInfo)),p(2),S("ngClass",En(28,ZW,!t.showVpnInfo,t.showVpnInfo)),p(1),S("ngIf",t.returnText),p(1),S("ngIf",!t.showVpnInfo),p(1),S("ngIf",t.showVpnInfo),p(2),S("ngForOf",t.tabsData),p(1),S("ngIf",t.tabsData&&t.tabsData[t.selectedTabIndex]),p(2),S("ngIf",!t.showVpnInfo),p(1),S("ngIf",t.showVpnInfo),p(1),S("ngIf",t.showVpnInfo&&t.remoteAccess)}},directives:[mr,Et,bi,Mn,kc,bc,Or,ns,ur,Q8,ml,bW,Ia],pipes:[Mt,Pf],styles:["@media (max-width: 991px){.normal-height[_ngcontent-%COMP%]{height:55px!important}}.main-container[_ngcontent-%COMP%]{border-bottom:1px solid rgba(255,255,255,.15);padding-bottom:10px;margin-bottom:-5px;height:100px;display:flex}.main-container[_ngcontent-%COMP%] .main-area[_ngcontent-%COMP%]{flex-grow:1}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:.875rem;margin-bottom:15px;margin-left:5px;flex-direction:row;align-items:center}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .title-text[_ngcontent-%COMP%]{z-index:1}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .title-image[_ngcontent-%COMP%]{width:124px;height:21px}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .return-container[_ngcontent-%COMP%]{width:30px;position:relative;top:2px}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .return-container[_ngcontent-%COMP%] .return-button[_ngcontent-%COMP%]{line-height:1;font-size:25px;position:relative;top:2px;width:100%;margin-right:4px;cursor:pointer}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%]{display:flex}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .blank-space[_ngcontent-%COMP%]{flex-grow:1}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[_ngcontent-%COMP%]{color:#f8f9f9;border-radius:10px;opacity:.5;margin-right:2px;text-decoration:none;height:40px;display:flex;align-items:center}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[_ngcontent-%COMP%]:hover{opacity:.75}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[disabled][_ngcontent-%COMP%]{opacity:1!important;color:#f8f9f9;background:rgba(0,0,0,.7)!important}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{margin-right:2px;opacity:.75;font-size:18px}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:1rem;margin:0 4px;position:relative;top:-1px}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .select-tab-button[_ngcontent-%COMP%]{opacity:.75!important}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .select-tab-button[_ngcontent-%COMP%]:hover{opacity:1!important}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%]{display:flex;align-items:center}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%] app-refresh-button[_ngcontent-%COMP%]{align-self:flex-end}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%] .menu-button[_ngcontent-%COMP%]{height:32px;width:32px;min-width:0px!important;background-color:#f8f9f9;border-radius:100%;padding:0;line-height:normal;color:#929292;font-size:20px}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%] .menu-button[_ngcontent-%COMP%] .mat-button-wrapper{display:flex;justify-content:center}.menu-separator[_ngcontent-%COMP%]{width:100%;height:1px;background-color:#0000001f}.flag[_ngcontent-%COMP%]{width:24px;margin-right:16px}.transparent[_ngcontent-%COMP%]{opacity:.5}.top-bar[_ngcontent-%COMP%]{position:fixed;z-index:10;width:100%;height:56px;background-color:#f8f9f9;top:0;left:0;right:0;color:#202226;display:flex}.top-bar[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%]{flex-grow:1;display:flex;justify-content:center;align-items:center}.top-bar[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:28px}.top-bar[_ngcontent-%COMP%] .button-container[_ngcontent-%COMP%]{flex-shrink:0;width:56px}.top-bar[_ngcontent-%COMP%] .button-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:56px;height:56px}.top-bar-margin[_ngcontent-%COMP%]{margin-top:56px;flex-shrink:0}.vpn-info[_ngcontent-%COMP%]{font-size:.7rem;background:rgba(0,0,0,.7);padding:15px 20px;align-self:center}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] .state-td[_ngcontent-%COMP%]{font-weight:700}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:2px 0;min-width:90px}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:3px;font-size:12px;position:relative;top:1px;-webkit-user-select:none;user-select:none;width:auto}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .state-icon[_ngcontent-%COMP%]{transform:scale(.75)}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .aminated-state-icon-container[_ngcontent-%COMP%]{width:0px;height:0px}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .aminated-state-icon-container[_ngcontent-%COMP%] .state-icon[_ngcontent-%COMP%]{height:auto;animation:state-icon-animation 1s linear 1}@keyframes state-icon-animation{0%{transform:perspective(1px) scale(1);opacity:.8}to{transform:scale(2);opacity:0}}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .animation-container[_ngcontent-%COMP%]{width:0px;height:0px}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .animation-container[_ngcontent-%COMP%] .internal-animation-container[_ngcontent-%COMP%]{width:200px}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .animation-container[_ngcontent-%COMP%] .internal-animation-container[_ngcontent-%COMP%] .animation-area[_ngcontent-%COMP%]{display:inline-block;animation:state-animation 1s linear 1;opacity:0}@keyframes state-animation{0%{transform:scale(1);opacity:1}to{transform:scale(2.5);opacity:0}}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-of-type{padding-right:30px}.vpn-info[_ngcontent-%COMP%] mat-spinner[_ngcontent-%COMP%] circle{stroke:#f8f9f9}.top-text-vpn-container[_ngcontent-%COMP%]{display:flex;flex-direction:row-reverse;font-size:.6rem}.top-text-vpn-container[_ngcontent-%COMP%] .connection-error-msg-vpn[_ngcontent-%COMP%]{margin:-5px 0 5px 10px;color:orange}.top-text-vpn-container[_ngcontent-%COMP%] .elements-separator[_ngcontent-%COMP%]{flex-grow:1}.top-text-vpn-container[_ngcontent-%COMP%] .languaje-button-vpn[_ngcontent-%COMP%]{margin:-5px 10px 5px 0}.top-text-vpn-container[_ngcontent-%COMP%] .languaje-button-vpn[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]{cursor:pointer;display:inline;opacity:.8}.top-text-vpn-container[_ngcontent-%COMP%] .languaje-button-vpn[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]:hover{opacity:1}.top-text-vpn-container[_ngcontent-%COMP%] .languaje-button-vpn[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .language-flag[_ngcontent-%COMP%]{width:11px;height:11px;margin-right:2px}.remote-vpn-alert-container[_ngcontent-%COMP%]{background-color:#da3439;margin:0 -21px;padding:10px 20px 15px;text-align:center}.remote-vpn-alert-container[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:14px}.remote-vpn-alert-container[_ngcontent-%COMP%] .top-line[_ngcontent-%COMP%]{font-size:1.25rem}.remote-vpn-alert-container[_ngcontent-%COMP%] .bottom-line[_ngcontent-%COMP%]{font-size:.8rem}"]}),n}(),PE=function(){return["1"]};function QW(n,i){if(1&n&&(E(0,"a",10)(1,"mat-icon",11),R(2,"chevron_left"),P(),R(3),Y(4,"translate"),P()),2&n){var e=K();S("routerLink",e.linkParts.concat(Nn(6,PE)))("queryParams",e.queryParams),p(1),S("inline",!0),p(2),ye(" ",U(4,4,"paginator.first")," ")}}function JW(n,i){if(1&n&&(E(0,"a",12)(1,"mat-icon",11),R(2,"chevron_left"),P(),E(3,"span",13),R(4),Y(5,"translate"),P()()),2&n){var e=K();S("routerLink",e.linkParts.concat(Nn(6,PE)))("queryParams",e.queryParams),p(1),S("inline",!0),p(3),ge(U(5,4,"paginator.first"))}}var Ns=function(i){return[i]};function XW(n,i){if(1&n&&(E(0,"a",10)(1,"div")(2,"mat-icon",11),R(3,"chevron_left"),P()()()),2&n){var e=K();S("routerLink",e.linkParts.concat(Qe(3,Ns,(e.currentPage-1).toString())))("queryParams",e.queryParams),p(2),S("inline",!0)}}function eG(n,i){if(1&n&&(E(0,"a",10),R(1),P()),2&n){var e=K();S("routerLink",e.linkParts.concat(Qe(3,Ns,(e.currentPage-2).toString())))("queryParams",e.queryParams),p(1),ge(e.currentPage-2)}}function tG(n,i){if(1&n&&(E(0,"a",14),R(1),P()),2&n){var e=K();S("routerLink",e.linkParts.concat(Qe(3,Ns,(e.currentPage-1).toString())))("queryParams",e.queryParams),p(1),ge(e.currentPage-1)}}function nG(n,i){if(1&n&&(E(0,"a",14),R(1),P()),2&n){var e=K();S("routerLink",e.linkParts.concat(Qe(3,Ns,(e.currentPage+1).toString())))("queryParams",e.queryParams),p(1),ge(e.currentPage+1)}}function rG(n,i){if(1&n&&(E(0,"a",10),R(1),P()),2&n){var e=K();S("routerLink",e.linkParts.concat(Qe(3,Ns,(e.currentPage+2).toString())))("queryParams",e.queryParams),p(1),ge(e.currentPage+2)}}function iG(n,i){if(1&n&&(E(0,"a",10)(1,"div")(2,"mat-icon",11),R(3,"chevron_right"),P()()()),2&n){var e=K();S("routerLink",e.linkParts.concat(Qe(3,Ns,(e.currentPage+1).toString())))("queryParams",e.queryParams),p(2),S("inline",!0)}}function aG(n,i){if(1&n&&(E(0,"a",10),R(1),Y(2,"translate"),E(3,"mat-icon",11),R(4,"chevron_right"),P()()),2&n){var e=K();S("routerLink",e.linkParts.concat(Qe(6,Ns,e.numberOfPages.toString())))("queryParams",e.queryParams),p(1),ye(" ",U(2,4,"paginator.last")," "),p(2),S("inline",!0)}}function oG(n,i){if(1&n&&(E(0,"a",12)(1,"mat-icon",11),R(2,"chevron_right"),P(),E(3,"span",13),R(4),Y(5,"translate"),P()()),2&n){var e=K();S("routerLink",e.linkParts.concat(Qe(6,Ns,e.numberOfPages.toString())))("queryParams",e.queryParams),p(1),S("inline",!0),p(3),ge(U(5,4,"paginator.last"))}}var xE=function(i){return{number:i}};function sG(n,i){if(1&n&&(E(0,"div",15),R(1),Y(2,"translate"),P()),2&n){var e=K();p(1),ge(xt(2,1,"paginator.total",Qe(4,xE,e.numberOfPages)))}}function lG(n,i){if(1&n&&(E(0,"div",16),R(1),Y(2,"translate"),P()),2&n){var e=K();p(1),ge(xt(2,1,"paginator.total",Qe(4,xE,e.numberOfPages)))}}var Mc=function(){var n=function(){function i(e,t){c(this,i),this.dialog=e,this.router=t,this.linkParts=[""],this.queryParams={}}return d(i,[{key:"openSelectionDialog",value:function(){for(var t=this,a=[],o=1;o<=this.numberOfPages;o++)a.push({label:o.toString()});Bi.openDialog(this.dialog,a,"paginator.select-page-title").afterClosed().subscribe(function(s){s&&t.router.navigate(t.linkParts.concat([s.toString()]),{queryParams:t.queryParams})})}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Gn),B(rn))},n.\u0275cmp=qe({type:n,selectors:[["app-paginator"]],inputs:{currentPage:"currentPage",numberOfPages:"numberOfPages",linkParts:"linkParts",queryParams:"queryParams"},decls:21,vars:13,consts:[[1,"main-container"],[1,"d-inline-block","small-rounded-elevated-box","mt-3"],[1,"d-flex"],[1,"responsive-height","d-md-none"],["class","d-none d-md-flex",3,"routerLink","queryParams",4,"ngIf"],["class","d-flex d-md-none flex-column",3,"routerLink","queryParams",4,"ngIf"],[3,"routerLink","queryParams",4,"ngIf"],[1,"selected",3,"click"],["class","d-none d-md-block total-pages",4,"ngIf"],["class","d-block d-md-none total-pages",4,"ngIf"],[1,"d-none","d-md-flex",3,"routerLink","queryParams"],[3,"inline"],[1,"d-flex","d-md-none","flex-column",3,"routerLink","queryParams"],[1,"label"],[3,"routerLink","queryParams"],[1,"d-none","d-md-block","total-pages"],[1,"d-block","d-md-none","total-pages"]],template:function(e,t){1&e&&(E(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),R(4,"\xa0"),Te(5,"br"),R(6,"\xa0"),P(),q(7,QW,5,7,"a",4),q(8,JW,6,7,"a",5),q(9,XW,4,5,"a",4),q(10,eG,2,5,"a",4),q(11,tG,2,5,"a",6),E(12,"a",7),Se("click",function(){return t.openSelectionDialog()}),R(13),P(),q(14,nG,2,5,"a",6),q(15,rG,2,5,"a",4),q(16,iG,4,5,"a",4),q(17,aG,5,8,"a",4),q(18,oG,6,8,"a",5),P()(),q(19,sG,3,6,"div",8),q(20,lG,3,6,"div",9),P()),2&e&&(p(7),S("ngIf",t.currentPage>3),p(1),S("ngIf",t.currentPage>2),p(1),S("ngIf",t.currentPage>1),p(1),S("ngIf",t.currentPage>2),p(1),S("ngIf",t.currentPage>1),p(2),ge(t.currentPage),p(1),S("ngIf",t.currentPage3),p(1),S("ngIf",t.numberOfPages>2))},directives:[Et,ml,Mn],pipes:[Mt],styles:[".main-container[_ngcontent-%COMP%]{text-align:right}.main-container[_ngcontent-%COMP%] .responsive-height[_ngcontent-%COMP%]{padding:10px 0;width:0px}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:10px;border-right:rgba(255,255,255,.15) solid 1px;border-left:rgba(255,255,255,.15) solid 1px;min-width:40px;text-align:center;color:#f8f9f980;text-decoration:none;display:flex;align-items:center;justify-content:center}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background:rgba(0,0,0,.2)}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:2px}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{font-size:.7rem}.main-container[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]{color:#f8f9f9;background:rgba(0,0,0,.36);padding:10px 20px;cursor:pointer}.main-container[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]:hover{background:rgba(0,0,0,.6)}.main-container[_ngcontent-%COMP%] .total-pages[_ngcontent-%COMP%]{font-size:.6rem;margin-top:-3px;margin-right:4px}"]}),n}(),OE=function(){return["start.title"]};function uG(n,i){if(1&n&&(E(0,"div",2)(1,"div"),Te(2,"app-top-bar",3),P(),Te(3,"app-loading-indicator",4),P()),2&n){var e=K();p(2),S("titleParts",Nn(4,OE))("tabsData",e.tabsData)("selectedTabIndex",e.showDmsgInfo?1:0)("showUpdateButton",!1)}}function cG(n,i){if(1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n){var e=K().$implicit;p(1),ge(U(2,1,e.translatableValue))}}function dG(n,i){if(1&n&&(ze(0),R(1),We()),2&n){var e=K().$implicit;p(1),ge(e.value)}}function fG(n,i){if(1&n&&(E(0,"div",23)(1,"span"),R(2),Y(3,"translate"),P(),q(4,cG,3,3,"ng-container",24),q(5,dG,2,1,"ng-container",24),P()),2&n){var e=i.$implicit;p(2),ye("",U(3,3,e.filterName),": "),p(2),S("ngIf",e.translatableValue),p(1),S("ngIf",e.value)}}function hG(n,i){if(1&n){var e=tt();E(0,"div",20),Se("click",function(){return ke(e),K(2).dataFilterer.removeFilters()}),q(1,fG,6,5,"div",21),E(2,"div",22),R(3),Y(4,"translate"),P()()}if(2&n){var t=K(2);p(1),S("ngForOf",t.dataFilterer.currentFiltersTexts),p(2),ge(U(4,2,"filters.press-to-remove"))}}function pG(n,i){if(1&n){var e=tt();E(0,"mat-icon",25),Se("click",function(){return ke(e),K(2).dataFilterer.changeFilters()}),Y(1,"translate"),R(2,"filter_list"),P()}2&n&&S("inline",!0)("matTooltip",U(1,2,"filters.filter-action"))}function vG(n,i){1&n&&(E(0,"mat-icon",26),R(1,"more_horiz"),P()),2&n&&(K(),S("matMenuTriggerFor",sr(12)))}var AE=function(){return["/nodes","list"]},IE=function(){return["/nodes","dmsg"]};function mG(n,i){if(1&n&&Te(0,"app-paginator",27),2&n){var e=K(2);S("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",e.showDmsgInfo?Nn(5,IE):Nn(4,AE))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function gG(n,i){if(1&n&&(E(0,"mat-icon",42),R(1),P()),2&n){var e=K(4);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function _G(n,i){if(1&n&&(E(0,"mat-icon",42),R(1),P()),2&n){var e=K(4);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function yG(n,i){if(1&n&&(E(0,"mat-icon",42),R(1),P()),2&n){var e=K(4);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function bG(n,i){if(1&n&&(E(0,"mat-icon",42),R(1),P()),2&n){var e=K(4);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function kG(n,i){1&n&&(ze(0),R(1,"*"),We())}function MG(n,i){if(1&n&&(ze(0),E(1,"mat-icon",42),R(2),P(),q(3,kG,2,0,"ng-container",24),We()),2&n){var e=K(5);p(1),S("inline",!0),p(1),ge(e.dataSorter.sortingArrow),p(1),S("ngIf",e.dataSorter.currentlySortingByLabel)}}function CG(n,i){if(1&n){var e=tt();E(0,"th",38),Se("click",function(){ke(e);var o=K(4);return o.dataSorter.changeSortingOrder(o.dmsgServerSortData)}),R(1),Y(2,"translate"),q(3,MG,4,3,"ng-container",24),P()}if(2&n){var t=K(4);p(1),ye(" ",U(2,2,"nodes.dmsg-server")," "),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.dmsgServerSortData)}}function wG(n,i){if(1&n&&(E(0,"mat-icon",42),R(1),P()),2&n){var e=K(5);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function SG(n,i){if(1&n){var e=tt();E(0,"th",38),Se("click",function(){ke(e);var o=K(4);return o.dataSorter.changeSortingOrder(o.pingSortData)}),R(1),Y(2,"translate"),q(3,wG,2,2,"mat-icon",35),P()}if(2&n){var t=K(4);p(1),ye(" ",U(2,2,"nodes.ping")," "),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.pingSortData)}}function DG(n,i){1&n&&(E(0,"mat-icon",49),Y(1,"translate"),R(2,"star"),P()),2&n&&S("inline",!0)("matTooltip",U(1,2,"nodes.hypervisor-info"))}function TG(n,i){if(1&n){var e=tt();E(0,"app-labeled-element-text",51),Se("labelEdited",function(){return ke(e),K(6).forceDataRefresh()}),P()}if(2&n){var t=K(2).$implicit,a=K(4);Ln("id",t.dmsgServerPk),S("short",!0)("elementType",a.labeledElementTypes.DmsgServer)}}function LG(n,i){if(1&n&&(E(0,"td"),q(1,TG,1,3,"app-labeled-element-text",50),P()),2&n){var e=K().$implicit;p(1),S("ngIf",e.dmsgServerPk)}}var FE=function(i){return{time:i}};function EG(n,i){if(1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n){var e=K(2).$implicit;p(1),ye(" ",xt(2,1,"common.time-in-ms",Qe(4,FE,e.roundTripPing))," ")}}function PG(n,i){if(1&n&&(E(0,"td"),q(1,EG,3,6,"ng-container",24),P()),2&n){var e=K().$implicit;p(1),S("ngIf",e.dmsgServerPk)}}function xG(n,i){if(1&n){var e=tt();E(0,"button",47),Se("click",function(){ke(e);var a=K().$implicit;return K(4).open(a)}),Y(1,"translate"),E(2,"mat-icon",42),R(3,"chevron_right"),P()()}2&n&&(S("matTooltip",U(1,2,"nodes.view-node")),p(2),S("inline",!0))}function OG(n,i){if(1&n){var e=tt();E(0,"button",47),Se("click",function(){ke(e);var a=K().$implicit;return K(4).deleteNode(a)}),Y(1,"translate"),E(2,"mat-icon"),R(3,"close"),P()()}2&n&&S("matTooltip",U(1,1,"nodes.delete-node"))}function AG(n,i){if(1&n){var e=tt();E(0,"tr",43),Se("click",function(){var l=ke(e).$implicit;return K(4).open(l)}),E(1,"td"),q(2,DG,3,4,"mat-icon",44),P(),E(3,"td"),Te(4,"span",45),Y(5,"translate"),P(),E(6,"td"),R(7),P(),E(8,"td"),R(9),P(),q(10,LG,2,1,"td",24),q(11,PG,2,1,"td",24),E(12,"td",46),Se("click",function(s){return s.stopPropagation()}),E(13,"button",47),Se("click",function(){var l=ke(e).$implicit;return K(4).copyToClipboard(l)}),Y(14,"translate"),E(15,"mat-icon",42),R(16,"filter_none"),P()(),E(17,"button",47),Se("click",function(){var l=ke(e).$implicit;return K(4).showEditLabelDialog(l)}),Y(18,"translate"),E(19,"mat-icon",42),R(20,"short_text"),P()(),q(21,xG,4,4,"button",48),q(22,OG,4,3,"button",48),P()()}if(2&n){var t=i.$implicit,a=K(4);p(2),S("ngIf",t.isHypervisor),p(2),ua(a.nodeStatusClass(t,!0)),S("matTooltip",U(5,14,a.nodeStatusText(t,!0))),p(3),ye(" ",t.label," "),p(2),ye(" ",t.localPk," "),p(1),S("ngIf",a.showDmsgInfo),p(1),S("ngIf",a.showDmsgInfo),p(2),S("matTooltip",U(14,16,a.showDmsgInfo?"nodes.copy-data":"nodes.copy-key")),p(2),S("inline",!0),p(2),S("matTooltip",U(18,18,"labeled-element.edit-label")),p(2),S("inline",!0),p(2),S("ngIf",t.online),p(1),S("ngIf",!t.online)}}function IG(n,i){if(1&n){var e=tt();E(0,"table",32)(1,"tr")(2,"th",33),Se("click",function(){ke(e);var o=K(3);return o.dataSorter.changeSortingOrder(o.hypervisorSortData)}),Y(3,"translate"),E(4,"mat-icon",34),R(5,"star_outline"),P(),q(6,gG,2,2,"mat-icon",35),P(),E(7,"th",33),Se("click",function(){ke(e);var o=K(3);return o.dataSorter.changeSortingOrder(o.stateSortData)}),Y(8,"translate"),Te(9,"span",36),q(10,_G,2,2,"mat-icon",35),P(),E(11,"th",37),Se("click",function(){ke(e);var o=K(3);return o.dataSorter.changeSortingOrder(o.labelSortData)}),R(12),Y(13,"translate"),q(14,yG,2,2,"mat-icon",35),P(),E(15,"th",38),Se("click",function(){ke(e);var o=K(3);return o.dataSorter.changeSortingOrder(o.keySortData)}),R(16),Y(17,"translate"),q(18,bG,2,2,"mat-icon",35),P(),q(19,CG,4,4,"th",39),q(20,SG,4,4,"th",39),Te(21,"th",40),P(),q(22,AG,23,20,"tr",41),P()}if(2&n){var t=K(3);p(2),S("matTooltip",U(3,11,"nodes.hypervisor")),p(4),S("ngIf",t.dataSorter.currentSortingColumn===t.hypervisorSortData),p(1),S("matTooltip",U(8,13,"nodes.state-tooltip")),p(3),S("ngIf",t.dataSorter.currentSortingColumn===t.stateSortData),p(2),ye(" ",U(13,15,"nodes.label")," "),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.labelSortData),p(2),ye(" ",U(17,17,"nodes.key")," "),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.keySortData),p(1),S("ngIf",t.showDmsgInfo),p(1),S("ngIf",t.showDmsgInfo),p(2),S("ngForOf",t.dataSource)}}function FG(n,i){1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n&&(p(1),ge(U(2,1,"tables.label")))}function RG(n,i){1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n&&(p(1),ge(U(2,1,"tables.inverted-order")))}function NG(n,i){1&n&&(E(0,"div",57)(1,"mat-icon",62),R(2,"star"),P(),R(3,"\xa0 "),E(4,"span",63),R(5),Y(6,"translate"),P()()),2&n&&(p(1),S("inline",!0),p(4),ge(U(6,2,"nodes.hypervisor")))}function YG(n,i){if(1&n){var e=tt();E(0,"div",58)(1,"span",9),R(2),Y(3,"translate"),P(),R(4,": "),E(5,"app-labeled-element-text",64),Se("labelEdited",function(){return ke(e),K(5).forceDataRefresh()}),P()()}if(2&n){var t=K().$implicit,a=K(4);p(2),ge(U(3,3,"nodes.dmsg-server")),p(3),Ln("id",t.dmsgServerPk),S("elementType",a.labeledElementTypes.DmsgServer)}}function HG(n,i){if(1&n&&(E(0,"div",57)(1,"span",9),R(2),Y(3,"translate"),P(),R(4),Y(5,"translate"),P()),2&n){var e=K().$implicit;p(2),ge(U(3,2,"nodes.ping")),p(2),ye(": ",xt(5,4,"common.time-in-ms",Qe(7,FE,e.roundTripPing))," ")}}function BG(n,i){if(1&n){var e=tt();E(0,"tr",43),Se("click",function(){var l=ke(e).$implicit;return K(4).open(l)}),E(1,"td")(2,"div",53)(3,"div",54),q(4,NG,7,4,"div",56),E(5,"div",57)(6,"span",9),R(7),Y(8,"translate"),P(),R(9,": "),E(10,"span"),R(11),Y(12,"translate"),P()(),E(13,"div",57)(14,"span",9),R(15),Y(16,"translate"),P(),R(17),P(),E(18,"div",58)(19,"span",9),R(20),Y(21,"translate"),P(),R(22),P(),q(23,YG,6,5,"div",59),q(24,HG,6,9,"div",56),P(),Te(25,"div",60),E(26,"div",55)(27,"button",61),Se("click",function(s){var u=ke(e).$implicit,f=K(4);return s.stopPropagation(),f.showOptionsDialog(u)}),Y(28,"translate"),E(29,"mat-icon"),R(30),P()()()()()()}if(2&n){var t=i.$implicit,a=K(4);p(4),S("ngIf",t.isHypervisor),p(3),ge(U(8,13,"nodes.state")),p(3),ua(a.nodeStatusClass(t,!1)+" title"),p(1),ge(U(12,15,a.nodeStatusText(t,!1))),p(4),ge(U(16,17,"nodes.label")),p(2),ye(": ",t.label," "),p(3),ge(U(21,19,"nodes.key")),p(2),ye(": ",t.localPk," "),p(1),S("ngIf",a.showDmsgInfo),p(1),S("ngIf",a.showDmsgInfo),p(3),S("matTooltip",U(28,21,"common.options")),p(3),ge("add")}}function VG(n,i){if(1&n){var e=tt();E(0,"table",52)(1,"tr",43),Se("click",function(){return ke(e),K(3).dataSorter.openSortingOrderModal()}),E(2,"td")(3,"div",53)(4,"div",54)(5,"div",9),R(6),Y(7,"translate"),P(),E(8,"div"),R(9),Y(10,"translate"),q(11,FG,3,3,"ng-container",24),q(12,RG,3,3,"ng-container",24),P()(),E(13,"div",55)(14,"mat-icon",42),R(15,"keyboard_arrow_down"),P()()()()(),q(16,BG,31,23,"tr",41),P()}if(2&n){var t=K(3);p(6),ge(U(7,6,"tables.sorting-title")),p(3),ye("",U(10,8,t.dataSorter.currentSortingColumn.label)," "),p(2),S("ngIf",t.dataSorter.currentlySortingByLabel),p(1),S("ngIf",t.dataSorter.sortingInReverseOrder),p(2),S("inline",!0),p(2),S("ngForOf",t.dataSource)}}function jG(n,i){if(1&n&&(E(0,"div",28)(1,"div",29),q(2,IG,23,19,"table",30),q(3,VG,17,10,"table",31),P()()),2&n){var e=K(2);p(2),S("ngIf",e.dataSource.length>0),p(1),S("ngIf",e.dataSource.length>0)}}function UG(n,i){if(1&n&&Te(0,"app-paginator",27),2&n){var e=K(2);S("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",e.showDmsgInfo?Nn(5,IE):Nn(4,AE))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function zG(n,i){1&n&&(E(0,"span",68),R(1),Y(2,"translate"),P()),2&n&&(p(1),ge(U(2,1,"nodes.empty")))}function WG(n,i){1&n&&(E(0,"span",68),R(1),Y(2,"translate"),P()),2&n&&(p(1),ge(U(2,1,"nodes.empty-with-filter")))}function GG(n,i){if(1&n&&(E(0,"div",28)(1,"div",65)(2,"mat-icon",66),R(3,"warning"),P(),q(4,zG,3,3,"span",67),q(5,WG,3,3,"span",67),P()()),2&n){var e=K(2);p(2),S("inline",!0),p(2),S("ngIf",0===e.allNodes.length),p(1),S("ngIf",0!==e.allNodes.length)}}var qG=function(i){return{"paginator-icons-fixer":i}};function KG(n,i){if(1&n){var e=tt();E(0,"div",5)(1,"div",6)(2,"app-top-bar",7),Se("refreshRequested",function(){return ke(e),K().forceDataRefresh(!0)})("optionSelected",function(o){return ke(e),K().performAction(o)}),P()(),E(3,"div",6)(4,"div",8)(5,"div",9),q(6,hG,5,4,"div",10),P(),E(7,"div",11)(8,"div",12),q(9,pG,3,4,"mat-icon",13),q(10,vG,2,1,"mat-icon",14),E(11,"mat-menu",15,16)(13,"div",17),Se("click",function(){return ke(e),K().removeOffline()}),R(14),Y(15,"translate"),P()()(),q(16,mG,1,6,"app-paginator",18),P()(),q(17,jG,4,2,"div",19),q(18,UG,1,6,"app-paginator",18),q(19,GG,6,3,"div",19),P()()}if(2&n){var t=K();p(2),S("titleParts",Nn(21,OE))("tabsData",t.tabsData)("selectedTabIndex",t.showDmsgInfo?1:0)("secondsSinceLastUpdate",t.secondsSinceLastUpdate)("showLoading",t.updating)("showAlert",t.errorsUpdating)("refeshRate",t.storageService.getRefreshTime())("optionsData",t.options),p(2),S("ngClass",Qe(22,qG,t.numberOfPages>1)),p(2),S("ngIf",t.dataFilterer.currentFiltersTexts&&t.dataFilterer.currentFiltersTexts.length>0),p(3),S("ngIf",t.allNodes&&t.allNodes.length>0),p(1),S("ngIf",t.dataSource.length>0),p(1),S("overlapTrigger",!1),p(2),Ln("disabled",!t.hasOfflineNodes),p(1),ye(" ",U(15,19,"nodes.delete-all-offline")," "),p(2),S("ngIf",t.numberOfPages>1),p(1),S("ngIf",0!==t.dataSource.length),p(1),S("ngIf",t.numberOfPages>1),p(1),S("ngIf",0===t.dataSource.length)}}var RE=function(){var n=function(){function i(e,t,a,o,s,l,u,f,m,C){var I=this;c(this,i),this.nodeService=e,this.router=t,this.dialog=a,this.authService=o,this.storageService=s,this.ngZone=l,this.snackbarService=u,this.clipboardService=f,this.translateService=m,this.nodesListId="nl",this.dmsgListId="dl",this.hypervisorSortData=new xn(["isHypervisor"],"nodes.hypervisor",Jt.Boolean),this.stateSortData=new xn(["online"],"nodes.state",Jt.Boolean),this.labelSortData=new xn(["label"],"nodes.label",Jt.Text),this.keySortData=new xn(["localPk"],"nodes.key",Jt.Text),this.dmsgServerSortData=new xn(["dmsgServerPk"],"nodes.dmsg-server",Jt.Text,["dmsgServerPk_label"]),this.pingSortData=new xn(["roundTripPing"],"nodes.ping",Jt.Number),this.loading=!0,this.tabsData=[],this.options=[],this.showDmsgInfo=!1,this.hasOfflineNodes=!1,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"nodes.filter-dialog.online",keyNameInElementsArray:"online",type:qn.Select,printableLabelsForValues:[{value:"",label:"nodes.filter-dialog.online-options.any"},{value:"true",label:"nodes.filter-dialog.online-options.online"},{value:"false",label:"nodes.filter-dialog.online-options.offline"}]},{filterName:"nodes.filter-dialog.label",keyNameInElementsArray:"label",type:qn.TextInput,maxlength:100},{filterName:"nodes.filter-dialog.key",keyNameInElementsArray:"localPk",type:qn.TextInput,maxlength:66},{filterName:"nodes.filter-dialog.dmsg",keyNameInElementsArray:"dmsgServerPk",secondaryKeyNameInElementsArray:"dmsgServerPk_label",type:qn.TextInput,maxlength:66}],this.secondsSinceLastUpdate=0,this.lastUpdate=Date.now(),this.updating=!1,this.errorsUpdating=!1,this.lastUpdateRequestedManually=!1,this.labeledElementTypes=li,this.updateOptionsMenu(!0),this.authVerificationSubscription=this.authService.checkLogin().subscribe(function(J){J===Xo.AuthDisabled&&I.updateOptionsMenu(!1)}),this.showDmsgInfo=-1!==this.router.url.indexOf("dmsg"),this.showDmsgInfo||this.filterProperties.splice(this.filterProperties.length-1);var V=[this.hypervisorSortData,this.stateSortData,this.labelSortData,this.keySortData];this.showDmsgInfo&&(V.push(this.dmsgServerSortData),V.push(this.pingSortData)),this.dataSorter=new vc(this.dialog,this.translateService,V,3,this.showDmsgInfo?this.dmsgListId:this.nodesListId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(function(){I.recalculateElementsToShow()}),this.dataFilterer=new gc(this.dialog,C,this.router,this.filterProperties,this.showDmsgInfo?this.dmsgListId:this.nodesListId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(function(J){I.filteredNodes=J,I.hasOfflineNodes=!1,I.filteredNodes.forEach(function(me){me.online||(I.hasOfflineNodes=!0)}),I.dataSorter.setData(I.filteredNodes)}),this.navigationsSubscription=C.paramMap.subscribe(function(J){if(J.has("page")){var me=Number.parseInt(J.get("page"),10);(isNaN(me)||me<1)&&(me=1),I.currentPageInUrl=me,I.recalculateElementsToShow()}}),this.tabsData=[{icon:"view_headline",label:"nodes.title",linkParts:["/nodes"]},{icon:"language",label:"nodes.dmsg-title",linkParts:["/nodes","dmsg"]},{icon:"settings",label:"settings.title",linkParts:["/settings"]}],this.languageSubscription=this.translateService.onLangChange.subscribe(function(){I.nodeService.forceNodeListRefresh()})}return d(i,[{key:"updateOptionsMenu",value:function(t){this.options=[{name:"nodes.update-all",actionName:"updateAll",icon:"get_app"}],t&&this.options.push({name:"common.logout",actionName:"logout",icon:"power_settings_new"})}},{key:"ngOnInit",value:function(){var t=this;this.nodeService.startRequestingNodeList(),this.startGettingData(),this.ngZone.runOutsideAngular(function(){t.updateTimeSubscription=qp(5e3,5e3).subscribe(function(){return t.ngZone.run(function(){t.secondsSinceLastUpdate=Math.floor((Date.now()-t.lastUpdate)/1e3)})})})}},{key:"ngOnDestroy",value:function(){this.nodeService.stopRequestingNodeList(),this.authVerificationSubscription.unsubscribe(),this.dataSubscription.unsubscribe(),this.updateTimeSubscription.unsubscribe(),this.navigationsSubscription.unsubscribe(),this.languageSubscription.unsubscribe(),this.updateSubscription&&this.updateSubscription.unsubscribe(),this.dataSortedSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFiltererSubscription.unsubscribe(),this.dataFilterer.dispose()}},{key:"performAction",value:function(t){"logout"===t?this.logout():"updateAll"===t&&this.updateAll()}},{key:"nodeStatusClass",value:function(t,a){return t.online?t.health&&t.health.servicesHealth===eo.Unhealthy?a?"dot-yellow blinking":"yellow-text":t.health&&t.health.servicesHealth===eo.Healthy?a?"dot-green":"green-text":a?"dot-outline-gray":"":a?"dot-red":"red-text"}},{key:"nodeStatusText",value:function(t,a){return t.online?t.health&&t.health.servicesHealth===eo.Healthy?"node.statuses.online"+(a?"-tooltip":""):t.health&&t.health.servicesHealth===eo.Unhealthy?"node.statuses.partially-online"+(a?"-tooltip":""):t.health&&t.health.servicesHealth===eo.Connecting?"node.statuses.connecting"+(a?"-tooltip":""):"node.statuses.unknown"+(a?"-tooltip":""):"node.statuses.offline"+(a?"-tooltip":"")}},{key:"forceDataRefresh",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t&&(this.lastUpdateRequestedManually=!0),this.nodeService.forceNodeListRefresh()}},{key:"startGettingData",value:function(){var t=this;this.dataSubscription=this.nodeService.updatingNodeList.subscribe(function(a){return t.updating=a}),this.ngZone.runOutsideAngular(function(){t.dataSubscription.add(t.nodeService.nodeList.subscribe(function(a){t.ngZone.run(function(){a&&(a.data&&!a.error?(t.allNodes=a.data,t.showDmsgInfo&&t.allNodes.forEach(function(o){o.dmsgServerPk_label=ts.getCompleteLabel(t.storageService,t.translateService,o.dmsgServerPk)}),t.dataFilterer.setData(t.allNodes),t.loading=!1,t.snackbarService.closeCurrentIfTemporaryError(),t.lastUpdate=a.momentOfLastCorrectUpdate,t.secondsSinceLastUpdate=Math.floor((Date.now()-a.momentOfLastCorrectUpdate)/1e3),t.errorsUpdating=!1,t.lastUpdateRequestedManually&&(t.snackbarService.showDone("common.refreshed",null),t.lastUpdateRequestedManually=!1)):a.error&&(t.errorsUpdating||t.snackbarService.showError(t.loading?"common.loading-error":"nodes.error-load",null,!0,a.error),t.errorsUpdating=!0))})}))})}},{key:"recalculateElementsToShow",value:function(){if(this.currentPage=this.currentPageInUrl,this.filteredNodes){var t=Kt.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredNodes.length/t),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);var a=t*(this.currentPage-1);this.nodesToShow=this.filteredNodes.slice(a,a+t)}else this.nodesToShow=null;this.nodesToShow&&(this.dataSource=this.nodesToShow)}},{key:"logout",value:function(){var t=this,a=cn.createConfirmationDialog(this.dialog,"common.logout-confirmation");a.componentInstance.operationAccepted.subscribe(function(){a.componentInstance.closeModal(),t.authService.logout().subscribe(function(){return t.router.navigate(["login"])},function(){return t.snackbarService.showError("common.logout-error")})})}},{key:"updateAll",value:function(){if(this.dataSource&&0!==this.dataSource.length){var t=[];this.dataSource.forEach(function(a){a.online&&t.push({key:a.localPk,label:a.label})}),_E.openDialog(this.dialog,t)}else this.snackbarService.showError("nodes.no-visors-to-update")}},{key:"recursivelyUpdateWallets",value:function(t,a){var o=this,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return this.nodeService.update(t[t.length-1]).pipe(Ki(function(){return Je(null)}),Dn(function(l){return l&&l.updated&&!l.error?o.snackbarService.showDone(o.translateService.instant("nodes.update.done",{name:a[a.length-1]})):(o.snackbarService.showError(o.translateService.instant("nodes.update.update-error",{name:a[a.length-1]})),s+=1),t.pop(),a.pop(),t.length>=1?o.recursivelyUpdateWallets(t,a,s):Je(s)}))}},{key:"showOptionsDialog",value:function(t){var a=this,o=[{icon:"filter_none",label:"nodes.copy-key"}];this.showDmsgInfo&&o.push({icon:"filter_none",label:"nodes.copy-dmsg"}),o.push({icon:"short_text",label:"labeled-element.edit-label"}),t.online||o.push({icon:"close",label:"nodes.delete-node"}),Bi.openDialog(this.dialog,o,"common.options").afterClosed().subscribe(function(s){1===s?a.copySpecificTextToClipboard(t.localPk):a.showDmsgInfo?2===s?a.copySpecificTextToClipboard(t.dmsgServerPk):3===s?a.showEditLabelDialog(t):4===s&&a.deleteNode(t):2===s?a.showEditLabelDialog(t):3===s&&a.deleteNode(t)})}},{key:"copyToClipboard",value:function(t){var a=this;this.showDmsgInfo?Bi.openDialog(this.dialog,[{icon:"filter_none",label:"nodes.key"},{icon:"filter_none",label:"nodes.dmsg-server"}],"common.options").afterClosed().subscribe(function(s){1===s?a.copySpecificTextToClipboard(t.localPk):2===s&&a.copySpecificTextToClipboard(t.dmsgServerPk)}):this.copySpecificTextToClipboard(t.localPk)}},{key:"copySpecificTextToClipboard",value:function(t){this.clipboardService.copy(t)&&this.snackbarService.showDone("copy.copied")}},{key:"showEditLabelDialog",value:function(t){var a=this,o=this.storageService.getLabelInfo(t.localPk);o||(o={id:t.localPk,label:"",identifiedElementType:li.Node}),Wb.openDialog(this.dialog,o).afterClosed().subscribe(function(s){s&&a.forceDataRefresh()})}},{key:"deleteNode",value:function(t){var a=this,o=cn.createConfirmationDialog(this.dialog,"nodes.delete-node-confirmation");o.componentInstance.operationAccepted.subscribe(function(){o.close(),a.storageService.setLocalNodesAsHidden([t.localPk],[t.ip]),a.forceDataRefresh(),a.snackbarService.showDone("nodes.deleted")})}},{key:"removeOffline",value:function(){var t=this,a="nodes.delete-all-offline-confirmation";this.dataFilterer.currentFiltersTexts&&this.dataFilterer.currentFiltersTexts.length>0&&(a="nodes.delete-all-filtered-offline-confirmation");var o=cn.createConfirmationDialog(this.dialog,a);o.componentInstance.operationAccepted.subscribe(function(){o.close();var s=[],l=[];t.filteredNodes.forEach(function(u){u.online||(s.push(u.localPk),l.push(u.ip))}),s.length>0&&(t.storageService.setLocalNodesAsHidden(s,l),t.forceDataRefresh(),1===s.length?t.snackbarService.showDone("nodes.deleted-singular"):t.snackbarService.showDone("nodes.deleted-plural",{number:s.length}))})}},{key:"open",value:function(t){t.online&&this.router.navigate(["nodes",t.localPk])}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Al),B(rn),B(Gn),B(_f),B($i),B(bt),B(An),B(Sf),B(ui),B(si))},n.\u0275cmp=qe({type:n,selectors:[["app-node-list"]],decls:2,vars:2,consts:[["class","d-flex flex-column h-100 w-100",4,"ngIf"],["class","row",4,"ngIf"],[1,"d-flex","flex-column","h-100","w-100"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton"],[1,"h-100"],[1,"row"],[1,"col-12"],[3,"titleParts","tabsData","selectedTabIndex","secondsSinceLastUpdate","showLoading","showAlert","refeshRate","optionsData","refreshRequested","optionSelected"],[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],["class","small-icon",3,"inline","matTooltip","click",4,"ngIf"],[3,"matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","matTooltip","click"],[3,"matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow","full-node-list-margins"],["class","responsive-table-translucid d-none d-md-table","cellspacing","0","cellpadding","0",4,"ngIf"],["class","responsive-table-translucid d-md-none nowrap","cellspacing","0","cellpadding","0",4,"ngIf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table"],[1,"sortable-column","small-column",3,"matTooltip","click"],[1,"hypervisor-icon","grey-text"],[3,"inline",4,"ngIf"],[1,"dot-outline-gray"],[1,"sortable-column","labels",3,"click"],[1,"sortable-column",3,"click"],["class","sortable-column",3,"click",4,"ngIf"],[1,"actions"],["class","selectable",3,"click",4,"ngFor","ngForOf"],[3,"inline"],[1,"selectable",3,"click"],["class","hypervisor-icon",3,"inline","matTooltip",4,"ngIf"],[3,"matTooltip"],[1,"actions",3,"click"],["mat-icon-button","",1,"big-action-button","transparent-button",3,"matTooltip","click"],["mat-icon-button","","class","big-action-button transparent-button",3,"matTooltip","click",4,"ngIf"],[1,"hypervisor-icon",3,"inline","matTooltip"],["shortTextLength","4",3,"short","id","elementType","labelEdited",4,"ngIf"],["shortTextLength","4",3,"short","id","elementType","labelEdited"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none","nowrap"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],["class","list-row",4,"ngIf"],[1,"list-row"],[1,"list-row","long-content"],["class","list-row long-content",4,"ngIf"],[1,"margin-part"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],[1,"hypervisor-icon",3,"inline"],[1,"yellow-clear-text","title"],[3,"id","elementType","labelEdited"],[1,"box-internal-container","font-sm"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(e,t){1&e&&(q(0,uG,4,5,"div",0),q(1,KG,20,24,"div",1)),2&e&&(S("ngIf",t.loading),p(1),S("ngIf",!t.loading))},directives:[Et,Fl,es,mr,Or,Mn,ur,kc,bc,ns,Mc,ts,bi],pipes:[Mt],styles:[".labels[_ngcontent-%COMP%]{width:15%}.actions[_ngcontent-%COMP%]{text-align:right;width:120px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}.hypervisor-icon[_ngcontent-%COMP%]{font-size:14px!important;line-height:14px!important;position:relative;top:2px;margin-left:2px;color:#d48b05}.small-column[_ngcontent-%COMP%]{width:1px}"]}),n}(),$G=["terminal"],ZG=["dialogContent"],QG=function(){var n=function(){function i(e,t,a,o){c(this,i),this.data=e,this.renderer=t,this.apiService=a,this.translate=o,this.history=[],this.historyIndex=0,this.currentInputText=""}return d(i,[{key:"ngAfterViewInit",value:function(){this.terminal=new Terminal(null),this.terminal.setWidth("100%"),this.terminal.setBackgroundColor("black"),this.terminal.setTextSize("15px"),this.terminal.blinkingCursor(!0),this.renderer.appendChild(this.terminalElement.nativeElement,this.terminal.html),this.waitForInput()}},{key:"ngOnDestroy",value:function(){this.subscription&&this.subscription.unsubscribe()}},{key:"keyEvent",value:function(t){this.terminal.hasFocus()&&this.history.length>0&&(38===t.keyCode&&(this.historyIndex===this.history.length&&(this.currentInputText=this.terminal.getInputContent()),this.historyIndex=this.historyIndex>0?this.historyIndex-1:0,this.terminal.changeInputContent(this.history[this.historyIndex])),40===t.keyCode&&(this.historyIndex=this.historyIndex/g,">")).replace(/\n/g,"
")).replace(/\t/g," ")).replace(/ /g," "),this.terminal.print(o),setTimeout(function(){a.dialogContentElement.nativeElement.scrollTop=a.dialogContentElement.nativeElement.scrollHeight})}}],[{key:"openDialog",value:function(t,a){var o=new Zn;return o.data=a,o.autoFocus=!1,o.width=Kt.largeModalWidth,t.open(i,o)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Ur),B(bo),B(El),B(ui))},n.\u0275cmp=qe({type:n,selectors:[["app-basic-terminal"]],viewQuery:function(e,t){var a;1&e&&(gt($G,5),gt(ZG,5)),2&e&&(lt(a=ut())&&(t.terminalElement=a.first),lt(a=ut())&&(t.dialogContentElement=a.first))},hostBindings:function(e,t){1&e&&Se("keyup",function(o){return t.keyEvent(o)},!1,w1)},decls:7,vars:5,consts:[[3,"headline","includeScrollableArea","includeVerticalMargins"],[3,"click"],["dialogContent",""],[1,"wrapper"],["terminal",""]],template:function(e,t){1&e&&(E(0,"app-dialog",0),Y(1,"translate"),E(2,"mat-dialog-content",1,2),Se("click",function(){return t.focusTerminal()}),E(4,"div",3),Te(5,"div",null,4),P()()()),2&e&&S("headline",U(1,3,"actions.terminal.title")+" - "+t.data.label+" ("+t.data.pk+")")("includeScrollableArea",!1)("includeVerticalMargins",!1)},directives:[_r,yb],pipes:[Mt],styles:[".mat-dialog-content[_ngcontent-%COMP%]{padding:0;margin-bottom:-24px;background:black;height:100000px}.wrapper[_ngcontent-%COMP%]{padding:20px}.wrapper[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{word-break:break-all}"]}),n}(),NE=function(){function n(i,e){c(this,n),this.options=[],this.dialog=i.get(Gn),this.router=i.get(rn),this.snackbarService=i.get(An),this.nodeService=i.get(Al),this.translateService=i.get(ui),this.storageService=i.get($i),this.options=[{name:"actions.menu.terminal",actionName:"terminal",icon:"laptop"},{name:"actions.menu.reboot",actionName:"reboot",icon:"rotate_right"},{name:"actions.menu.update",actionName:"update",icon:"get_app"},{name:"actions.menu.logs",actionName:"logs",icon:"subject"}],this.showingFullList=e,this.returnButtonText=e?"node.title":"nodes.title"}return d(n,[{key:"setCurrentNode",value:function(e){this.currentNode=e}},{key:"setCurrentNodeKey",value:function(e){this.currentNodeKey=e}},{key:"performAction",value:function(e,t){"terminal"===e?this.terminal():"update"===e?this.update():"logs"===e?window.open(window.location.origin+"/api/visors/"+t+"/runtime-logs","_blank"):"reboot"===e?this.reboot():null===e&&this.back()}},{key:"dispose",value:function(){this.rebootSubscription&&this.rebootSubscription.unsubscribe(),this.updateSubscription&&this.updateSubscription.unsubscribe()}},{key:"reboot",value:function(){var e=this,t=cn.createConfirmationDialog(this.dialog,"actions.reboot.confirmation");t.componentInstance.operationAccepted.subscribe(function(){t.componentInstance.showProcessing(),e.rebootSubscription=e.nodeService.reboot(e.currentNodeKey).subscribe(function(){e.snackbarService.showDone("actions.reboot.done"),t.close()},function(a){a=an(a),t.componentInstance.showDone("confirmation.error-header-text",a.translatableErrorMsg)})})}},{key:"update",value:function(){var e=this.storageService.getLabelInfo(this.currentNodeKey);_E.openDialog(this.dialog,[{key:this.currentNodeKey,label:e?e.label:""}])}},{key:"terminal",value:function(){var e=this;Bi.openDialog(this.dialog,[{icon:"launch",label:"actions.terminal-options.full"},{icon:"open_in_browser",label:"actions.terminal-options.simple"}],"common.options").afterClosed().subscribe(function(a){if(1===a){var o=window.location.protocol,s=window.location.host.replace("localhost:4200","127.0.0.1:8000");window.open(o+"//"+s+"/pty/"+e.currentNodeKey,"_blank","noopener noreferrer")}else 2===a&&QG.openDialog(e.dialog,{pk:e.currentNodeKey,label:e.currentNode?e.currentNode.label:""})})}},{key:"back",value:function(){this.router.navigate(this.showingFullList?["nodes",this.currentNodeKey]:["nodes"])}}]),n}();function JG(n,i){1&n&&Te(0,"app-loading-indicator")}function XG(n,i){1&n&&(E(0,"div",6)(1,"div")(2,"mat-icon",7),R(3,"error"),P(),R(4),Y(5,"translate"),P()()),2&n&&(p(2),S("inline",!0),p(2),ye(" ",U(5,2,"node.not-found")," "))}function eq(n,i){if(1&n){var e=tt();E(0,"div",2)(1,"div")(2,"app-top-bar",3),Se("optionSelected",function(o){return ke(e),K().performAction(o)}),P()(),q(3,JG,1,0,"app-loading-indicator",4),q(4,XG,6,4,"div",5),P()}if(2&n){var t=K();p(2),S("titleParts",t.titleParts)("tabsData",t.tabsData)("selectedTabIndex",t.selectedTabIndex)("showUpdateButton",!1)("optionsData",t.nodeActionsHelper?t.nodeActionsHelper.options:null)("returnText",t.nodeActionsHelper?t.nodeActionsHelper.returnButtonText:""),p(1),S("ngIf",!t.notFound),p(1),S("ngIf",t.notFound)}}function tq(n,i){1&n&&Te(0,"app-node-info-content",15),2&n&&S("nodeInfo",K(2).node)}var nq=function(i,e){return{"main-area":i,"full-size-main-area":e}},rq=function(i){return{"d-none":i}};function iq(n,i){if(1&n){var e=tt();E(0,"div",8)(1,"div",9)(2,"app-top-bar",10),Se("optionSelected",function(o){return ke(e),K().performAction(o)})("refreshRequested",function(){return ke(e),K().forceDataRefresh(!0)}),P()(),E(3,"div",9)(4,"div",11)(5,"div",12),Te(6,"router-outlet"),P()(),E(7,"div",13),q(8,tq,1,1,"app-node-info-content",14),P()()()}if(2&n){var t=K();p(2),S("titleParts",t.titleParts)("tabsData",t.tabsData)("selectedTabIndex",t.selectedTabIndex)("secondsSinceLastUpdate",t.secondsSinceLastUpdate)("showLoading",t.updating)("showAlert",t.errorsUpdating)("refeshRate",t.storageService.getRefreshTime())("optionsData",t.nodeActionsHelper?t.nodeActionsHelper.options:null)("returnText",t.nodeActionsHelper?t.nodeActionsHelper.returnButtonText:""),p(2),S("ngClass",En(12,nq,!t.showingInfo&&!t.showingFullList,t.showingInfo||t.showingFullList)),p(3),S("ngClass",Qe(15,rq,t.showingInfo||t.showingFullList)),p(1),S("ngIf",!t.showingInfo&&!t.showingFullList)}}var At=function(){var n=function(){function i(e,t,a,o,s,l,u){var f=this;c(this,i),this.storageService=e,this.nodeService=t,this.route=a,this.ngZone=o,this.snackbarService=s,this.injector=l,this.notFound=!1,this.titleParts=[],this.tabsData=[],this.selectedTabIndex=-1,this.showingInfo=!1,this.showingFullList=!1,this.secondsSinceLastUpdate=0,this.lastUpdate=Date.now(),this.updating=!1,this.errorsUpdating=!1,this.lastUpdateRequestedManually=!1,i.nodeSubject=new Za(1),i.currentInstanceInternal=this,this.navigationsSubscription=u.events.subscribe(function(m){m.urlAfterRedirects&&(i.currentNodeKey=f.route.snapshot.params.key,f.nodeActionsHelper&&f.nodeActionsHelper.setCurrentNodeKey(i.currentNodeKey),f.lastUrl=m.urlAfterRedirects,f.updateTabBar(),f.navigationsSubscription.unsubscribe(),f.nodeService.startRequestingSpecificNode(i.currentNodeKey),f.startGettingData())})}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.ngZone.runOutsideAngular(function(){t.updateTimeSubscription=qp(5e3,5e3).subscribe(function(){return t.ngZone.run(function(){t.secondsSinceLastUpdate=Math.floor((Date.now()-t.lastUpdate)/1e3)})})})}},{key:"updateTabBar",value:function(){if(this.lastUrl&&(this.lastUrl.includes("/info")||this.lastUrl.includes("/routing")||this.lastUrl.includes("/apps")&&!this.lastUrl.includes("/apps-list")))this.titleParts=["nodes.title","node.title"],this.tabsData=[{icon:"info",label:"node.tabs.info",onlyIfLessThanLg:!0,linkParts:i.currentNodeKey?["/nodes",i.currentNodeKey,"info"]:null},{icon:"shuffle",label:"node.tabs.routing",linkParts:i.currentNodeKey?["/nodes",i.currentNodeKey,"routing"]:null},{icon:"apps",label:"node.tabs.apps",linkParts:i.currentNodeKey?["/nodes",i.currentNodeKey,"apps"]:null}],this.selectedTabIndex=1,this.showingInfo=!1,this.lastUrl.includes("/info")&&(this.selectedTabIndex=0,this.showingInfo=!0),this.lastUrl.includes("/apps")&&(this.selectedTabIndex=2),this.showingFullList=!1,this.nodeActionsHelper=new NE(this.injector,this.showingFullList),this.nodeActionsHelper.setCurrentNodeKey(i.currentNodeKey),this.node&&this.nodeActionsHelper.setCurrentNode(this.node);else if(this.lastUrl&&(this.lastUrl.includes("/transports")||this.lastUrl.includes("/routes")||this.lastUrl.includes("/apps-list"))){this.showingFullList=!0,this.showingInfo=!1,this.nodeActionsHelper=new NE(this.injector,this.showingFullList),this.nodeActionsHelper.setCurrentNodeKey(i.currentNodeKey),this.node&&this.nodeActionsHelper.setCurrentNode(this.node);var t="transports";this.lastUrl.includes("/routes")?t="routes":this.lastUrl.includes("/apps-list")&&(t="apps.apps-list"),this.titleParts=["nodes.title","node.title",t+".title"],this.tabsData=[{icon:"view_headline",label:t+".list-title",linkParts:[]}],this.selectedTabIndex=0}else this.titleParts=[],this.tabsData=[]}},{key:"performAction",value:function(t){this.nodeActionsHelper.performAction(t,i.currentNodeKey)}},{key:"forceDataRefresh",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t&&(this.lastUpdateRequestedManually=!0),this.nodeService.forceSpecificNodeRefresh()}},{key:"startGettingData",value:function(){var t=this;this.dataSubscription=this.nodeService.updatingSpecificNode.subscribe(function(a){return t.updating=a}),this.ngZone.runOutsideAngular(function(){t.dataSubscription.add(t.nodeService.specificNode.subscribe(function(a){t.ngZone.run(function(){if(a)if(a.data&&!a.error)t.node=a.data,i.nodeSubject.next(t.node),t.nodeActionsHelper&&t.nodeActionsHelper.setCurrentNode(t.node),t.snackbarService.closeCurrentIfTemporaryError(),t.lastUpdate=a.momentOfLastCorrectUpdate,t.secondsSinceLastUpdate=Math.floor((Date.now()-a.momentOfLastCorrectUpdate)/1e3),t.errorsUpdating=!1,t.lastUpdateRequestedManually&&(t.snackbarService.showDone("common.refreshed",null),t.lastUpdateRequestedManually=!1);else if(a.error){if(a.error.originalError&&400===a.error.originalError.status)return void(t.notFound=!0);t.errorsUpdating||t.snackbarService.showError(t.node?"node.error-load":"common.loading-error",null,!0,a.error),t.errorsUpdating=!0}})}))})}},{key:"ngOnDestroy",value:function(){this.nodeService.stopRequestingSpecificNode(),this.dataSubscription.unsubscribe(),this.updateTimeSubscription.unsubscribe(),this.navigationsSubscription.unsubscribe(),i.currentInstanceInternal=void 0,i.currentNodeKey=void 0,i.nodeSubject.complete(),i.nodeSubject=void 0,this.nodeActionsHelper.dispose()}}],[{key:"refreshCurrentDisplayedData",value:function(){i.currentInstanceInternal&&i.currentInstanceInternal.forceDataRefresh(!1)}},{key:"getCurrentNodeKey",value:function(){return i.currentNodeKey}},{key:"currentNode",get:function(){return i.nodeSubject.asObservable()}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B($i),B(Al),B(si),B(bt),B(An),B(zn),B(rn))},n.\u0275cmp=qe({type:n,selectors:[["app-node"]],decls:2,vars:2,consts:[["class","d-flex flex-column h-100 w-100",4,"ngIf"],["class","row",4,"ngIf"],[1,"d-flex","flex-column","h-100","w-100"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton","optionsData","returnText","optionSelected"],[4,"ngIf"],["class","w-100 h-100 d-flex not-found-label",4,"ngIf"],[1,"w-100","h-100","d-flex","not-found-label"],[3,"inline"],[1,"row"],[1,"col-12"],[3,"titleParts","tabsData","selectedTabIndex","secondsSinceLastUpdate","showLoading","showAlert","refeshRate","optionsData","returnText","optionSelected","refreshRequested"],[3,"ngClass"],[1,"d-flex","flex-column","h-100"],[1,"right-bar",3,"ngClass"],[3,"nodeInfo",4,"ngIf"],[3,"nodeInfo"]],template:function(e,t){1&e&&(q(0,eq,5,8,"div",0),q(1,iq,9,17,"div",1)),2&e&&(S("ngIf",!t.node),p(1),S("ngIf",t.node))},styles:[".not-found-label[_ngcontent-%COMP%]{align-items:center;justify-content:center;font-size:1rem;position:relative}.not-found-label[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:5px;font-size:22px;opacity:.5;margin-right:3px}.full-size-main-area[_ngcontent-%COMP%], .main-area[_ngcontent-%COMP%]{width:100%}@media (min-width: 992px){.main-area[_ngcontent-%COMP%]{width:73%;padding-right:20px;float:left}}.right-bar[_ngcontent-%COMP%]{width:27%;float:right;display:none}@media (min-width: 992px){.right-bar[_ngcontent-%COMP%]{display:block;width:27%;float:right}}"]}),n}();function aq(n,i){if(1&n&&(E(0,"mat-option",8),R(1),Y(2,"translate"),P()),2&n){var e=i.$implicit;Ln("value",e),p(1),xi(" ",e," ",U(2,3,"settings.seconds")," ")}}var oq=function(){var n=function(){function i(e,t,a){c(this,i),this.formBuilder=e,this.storageService=t,this.snackbarService=a,this.timesList=["3","5","10","15","30","60","90","150","300"]}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.form=this.formBuilder.group({refreshRate:[this.storageService.getRefreshTime().toString()]}),this.subscription=this.form.get("refreshRate").valueChanges.subscribe(function(a){t.storageService.setRefreshTime(a),t.snackbarService.showDone("settings.refresh-rate-confirmation")})}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Zi),B($i),B(An))},n.\u0275cmp=qe({type:n,selectors:[["app-refresh-rate"]],decls:11,vars:9,consts:[[1,"rounded-elevated-box"],[1,"box-internal-container","overflow"],[1,"white-form-help-icon-container"],[3,"inline","matTooltip"],[3,"formGroup"],[1,"white-form-field"],["formControlName","refreshRate",3,"placeholder"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(e,t){1&e&&(E(0,"div",0)(1,"div",1)(2,"div",2)(3,"mat-icon",3),Y(4,"translate"),R(5," help "),P()(),E(6,"form",4)(7,"mat-form-field",5)(8,"mat-select",6),Y(9,"translate"),q(10,aq,3,5,"mat-option",7),P()()()()()),2&e&&(p(3),S("inline",!0)("matTooltip",U(4,5,"settings.refresh-rate-help")),p(3),S("formGroup",t.form),p(2),S("placeholder",U(9,7,"settings.refresh-rate")),p(2),S("ngForOf",t.timesList))},directives:[Mn,ur,ei,Xr,gr,ki,Tf,Jr,zr,Or,lc],pipes:[Mt],styles:["mat-form-field[_ngcontent-%COMP%]{margin-right:32px}mat-form-field[_ngcontent-%COMP%] .mat-form-field-wrapper{padding-bottom:0!important}mat-form-field[_ngcontent-%COMP%] .mat-form-field-underline{bottom:0!important}"]}),n}(),sq=["input"],lq=function(i){return{enterDuration:i}},uq=["*"],cq=new Ze("mat-checkbox-default-options",{providedIn:"root",factory:YE});function YE(){return{color:"accent",clickAction:"check-indeterminate"}}var dq=0,HE=YE(),fq={provide:Ja,useExisting:yn(function(){return Ys}),multi:!0},hq=d(function n(){c(this,n)}),pq=p2(Sl(df(sc(function(){return d(function n(i){c(this,n),this._elementRef=i})}())))),Ys=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l,u,f,m){var C;return c(this,t),(C=e.call(this,a))._changeDetectorRef=o,C._focusMonitor=s,C._ngZone=l,C._animationMode=f,C._options=m,C.ariaLabel="",C.ariaLabelledby=null,C._uniqueId="mat-checkbox-".concat(++dq),C.id=C._uniqueId,C.labelPosition="after",C.name=null,C.change=new pt,C.indeterminateChange=new pt,C._onTouched=function(){},C._currentAnimationClass="",C._currentCheckState=0,C._controlValueAccessorChangeFn=function(){},C._checked=!1,C._disabled=!1,C._indeterminate=!1,C._options=C._options||HE,C.color=C.defaultColor=C._options.color||HE.color,C.tabIndex=parseInt(u)||0,C}return d(t,[{key:"inputId",get:function(){return"".concat(this.id||this._uniqueId,"-input")}},{key:"required",get:function(){return this._required},set:function(o){this._required=$n(o)}},{key:"ngAfterViewInit",value:function(){var o=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(s){s||Promise.resolve().then(function(){o._onTouched(),o._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}},{key:"ngAfterViewChecked",value:function(){}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"checked",get:function(){return this._checked},set:function(o){o!=this.checked&&(this._checked=o,this._changeDetectorRef.markForCheck())}},{key:"disabled",get:function(){return this._disabled},set:function(o){var s=$n(o);s!==this.disabled&&(this._disabled=s,this._changeDetectorRef.markForCheck())}},{key:"indeterminate",get:function(){return this._indeterminate},set:function(o){var s=o!=this._indeterminate;this._indeterminate=$n(o),s&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_onLabelTextChange",value:function(){this._changeDetectorRef.detectChanges()}},{key:"writeValue",value:function(o){this.checked=!!o}},{key:"registerOnChange",value:function(o){this._controlValueAccessorChangeFn=o}},{key:"registerOnTouched",value:function(o){this._onTouched=o}},{key:"setDisabledState",value:function(o){this.disabled=o}},{key:"_getAriaChecked",value:function(){return this.checked?"true":this.indeterminate?"mixed":"false"}},{key:"_transitionCheckState",value:function(o){var s=this._currentCheckState,l=this._elementRef.nativeElement;if(s!==o&&(this._currentAnimationClass.length>0&&l.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(s,o),this._currentCheckState=o,this._currentAnimationClass.length>0)){l.classList.add(this._currentAnimationClass);var u=this._currentAnimationClass;this._ngZone.runOutsideAngular(function(){setTimeout(function(){l.classList.remove(u)},1e3)})}}},{key:"_emitChangeEvent",value:function(){var o=new hq;o.source=this,o.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(o),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}},{key:"toggle",value:function(){this.checked=!this.checked}},{key:"_onInputClick",value:function(o){var l,s=this,u=null===(l=this._options)||void 0===l?void 0:l.clickAction;o.stopPropagation(),this.disabled||"noop"===u?!this.disabled&&"noop"===u&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==u&&Promise.resolve().then(function(){s._indeterminate=!1,s.indeterminateChange.emit(s._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}},{key:"focus",value:function(o,s){o?this._focusMonitor.focusVia(this._inputElement,o,s):this._inputElement.nativeElement.focus(s)}},{key:"_onInteractionEvent",value:function(o){o.stopPropagation()}},{key:"_getAnimationClassForCheckStateTransition",value:function(o,s){if("NoopAnimations"===this._animationMode)return"";var l="";switch(o){case 0:if(1===s)l="unchecked-checked";else{if(3!=s)return"";l="unchecked-indeterminate"}break;case 2:l=1===s?"unchecked-checked":"unchecked-indeterminate";break;case 1:l=2===s?"checked-unchecked":"checked-indeterminate";break;case 3:l=1===s?"indeterminate-checked":"indeterminate-unchecked"}return"mat-checkbox-anim-".concat(l)}},{key:"_syncIndeterminate",value:function(o){var s=this._inputElement;s&&(s.nativeElement.indeterminate=o)}}]),t}(pq);return n.\u0275fac=function(e){return new(e||n)(B(yt),B(Yn),B(Os),B(bt),Yo("tabindex"),B(ai,8),B(cq,8))},n.\u0275cmp=qe({type:n,selectors:[["mat-checkbox"]],viewQuery:function(e,t){var a;1&e&&(gt(sq,5),gt(Jo,5)),2&e&&(lt(a=ut())&&(t._inputElement=a.first),lt(a=ut())&&(t.ripple=a.first))},hostAttrs:[1,"mat-checkbox"],hostVars:14,hostBindings:function(e,t){2&e&&(tl("id",t.id),Wt("tabindex",null)("aria-label",null)("aria-labelledby",null),fn("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"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[un([fq]),vt],ngContentSelectors:uq,decls:17,vars:21,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","aria-hidden","true",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&&(Gi(),E(0,"label",0,1)(2,"span",2)(3,"input",3,4),Se("change",function(l){return t._onInteractionEvent(l)})("click",function(l){return t._onInputClick(l)}),P(),E(5,"span",5),Te(6,"span",6),P(),Te(7,"span",7),E(8,"span",8),No(),E(9,"svg",9),Te(10,"path",10),P(),Qc(),Te(11,"span",11),P()(),E(12,"span",12,13),Se("cdkObserveContent",function(){return t._onLabelTextChange()}),E(14,"span",14),R(15,"\xa0"),P(),hr(16),P()()),2&e){var a=sr(1),o=sr(13);Wt("for",t.inputId),p(2),fn("mat-checkbox-inner-container-no-side-margin",!o.textContent||!o.textContent.trim()),p(1),S("id",t.inputId)("required",t.required)("checked",t.checked)("disabled",t.disabled)("tabIndex",t.tabIndex),Wt("value",t.value)("name",t.name)("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby)("aria-checked",t._getAriaChecked())("aria-describedby",t.ariaDescribedby),p(2),S("matRippleTrigger",a)("matRippleDisabled",t._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",Qe(19,lq,"NoopAnimations"===t._animationMode?0:150))}},directives:[Jo,rb],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{display:inline-block;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 .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-ripple{outline:solid 3px}.mat-checkbox-layout{-webkit-user-select:none;-moz-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;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-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);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;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%}\n"],encapsulation:2,changeDetection:0}),n}(),BE=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({}),n}(),gq=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({imports:[[hf,Pn,nv,BE],Pn,BE]}),n}(),_q=function(i){return{number:i}},Ov=function(){var n=d(function i(){c(this,i),this.numberOfElements=0,this.linkParts=[""],this.queryParams={}});return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=qe({type:n,selectors:[["app-view-all-link"]],inputs:{numberOfElements:"numberOfElements",linkParts:"linkParts",queryParams:"queryParams"},decls:6,vars:9,consts:[[1,"main-container"],[3,"routerLink","queryParams"],[3,"inline"]],template:function(e,t){1&e&&(E(0,"div",0)(1,"a",1),R(2),Y(3,"translate"),E(4,"mat-icon",2),R(5,"chevron_right"),P()()()),2&e&&(p(1),S("routerLink",t.linkParts)("queryParams",t.queryParams),p(1),ye(" ",xt(3,4,"view-all-link.label",Qe(7,_q,t.numberOfElements))," "),p(2),S("inline",!0))},directives:[ml,Mn],pipes:[Mt],styles:[".main-container[_ngcontent-%COMP%]{padding-top:20px;margin-bottom:4px;text-align:right;font-size:.875rem}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.main-container[_ngcontent-%COMP%]{margin:0;padding:16px}}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#f8f9f9;text-decoration:none}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:3px}"]}),n}();function yq(n,i){1&n&&(E(0,"span",14),R(1),Y(2,"translate"),E(3,"mat-icon",15),Y(4,"translate"),R(5,"help"),P()()),2&n&&(p(1),ye(" ",U(2,3,"labels.title")," "),p(2),S("inline",!0)("matTooltip",U(4,5,"labels.info")))}function bq(n,i){if(1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n){var e=K().$implicit;p(1),ge(U(2,1,e.translatableValue))}}function kq(n,i){if(1&n&&(ze(0),R(1),We()),2&n){var e=K().$implicit;p(1),ge(e.value)}}function Mq(n,i){if(1&n&&(E(0,"div",19)(1,"span"),R(2),Y(3,"translate"),P(),q(4,bq,3,3,"ng-container",20),q(5,kq,2,1,"ng-container",20),P()),2&n){var e=i.$implicit;p(2),ye("",U(3,3,e.filterName),": "),p(2),S("ngIf",e.translatableValue),p(1),S("ngIf",e.value)}}function Cq(n,i){if(1&n){var e=tt();E(0,"div",16),Se("click",function(){return ke(e),K().dataFilterer.removeFilters()}),q(1,Mq,6,5,"div",17),E(2,"div",18),R(3),Y(4,"translate"),P()()}if(2&n){var t=K();p(1),S("ngForOf",t.dataFilterer.currentFiltersTexts),p(2),ge(U(4,2,"filters.press-to-remove"))}}function wq(n,i){if(1&n){var e=tt();E(0,"mat-icon",21),Se("click",function(){return ke(e),K().dataFilterer.changeFilters()}),Y(1,"translate"),R(2,"filter_list"),P()}2&n&&S("inline",!0)("matTooltip",U(1,2,"filters.filter-action"))}function Sq(n,i){if(1&n&&(E(0,"mat-icon",22),R(1,"more_horiz"),P()),2&n){K();var e=sr(9);S("inline",!0)("matMenuTriggerFor",e)}}var qb=function(){return["/settings","labels"]};function Dq(n,i){if(1&n&&Te(0,"app-paginator",23),2&n){var e=K();S("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Nn(4,qb))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function Tq(n,i){if(1&n&&(E(0,"mat-icon",36),R(1),P()),2&n){var e=K(2);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function Lq(n,i){if(1&n&&(E(0,"mat-icon",36),R(1),P()),2&n){var e=K(2);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function Eq(n,i){if(1&n&&(E(0,"mat-icon",36),R(1),P()),2&n){var e=K(2);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function Pq(n,i){if(1&n){var e=tt();E(0,"tr")(1,"td",38)(2,"mat-checkbox",39),Se("change",function(){var l=ke(e).$implicit;return K(2).changeSelection(l)}),P()(),E(3,"td"),R(4),P(),E(5,"td"),R(6),P(),E(7,"td"),R(8),Y(9,"translate"),P(),E(10,"td",29)(11,"button",40),Se("click",function(){var l=ke(e).$implicit;return K(2).delete(l.id)}),Y(12,"translate"),E(13,"mat-icon",36),R(14,"close"),P()()()()}if(2&n){var t=i.$implicit,a=K(2);p(2),S("checked",a.selections.get(t.id)),p(2),ye(" ",t.label," "),p(2),ye(" ",t.id," "),p(2),xi(" ",a.getLabelTypeIdentification(t)[0]," - ",U(9,7,a.getLabelTypeIdentification(t)[1])," "),p(3),S("matTooltip",U(12,9,"labels.delete")),p(2),S("inline",!0)}}function xq(n,i){1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n&&(p(1),ge(U(2,1,"tables.label")))}function Oq(n,i){1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n&&(p(1),ge(U(2,1,"tables.inverted-order")))}function Aq(n,i){if(1&n){var e=tt();E(0,"tr")(1,"td")(2,"div",33)(3,"div",41)(4,"mat-checkbox",39),Se("change",function(){var l=ke(e).$implicit;return K(2).changeSelection(l)}),P()(),E(5,"div",34)(6,"div",42)(7,"span",1),R(8),Y(9,"translate"),P(),R(10),P(),E(11,"div",43)(12,"span",1),R(13),Y(14,"translate"),P(),R(15),P(),E(16,"div",42)(17,"span",1),R(18),Y(19,"translate"),P(),R(20),Y(21,"translate"),P()(),Te(22,"div",44),E(23,"div",35)(24,"button",45),Se("click",function(s){var u=ke(e).$implicit,f=K(2);return s.stopPropagation(),f.showOptionsDialog(u)}),Y(25,"translate"),E(26,"mat-icon"),R(27),P()()()()()()}if(2&n){var t=i.$implicit,a=K(2);p(4),S("checked",a.selections.get(t.id)),p(4),ge(U(9,10,"labels.label")),p(2),ye(": ",t.label," "),p(3),ge(U(14,12,"labels.id")),p(2),ye(": ",t.id," "),p(3),ge(U(19,14,"labels.type")),p(2),xi(": ",a.getLabelTypeIdentification(t)[0]," - ",U(21,16,a.getLabelTypeIdentification(t)[1])," "),p(4),S("matTooltip",U(25,18,"common.options")),p(3),ge("add")}}function Iq(n,i){if(1&n&&Te(0,"app-view-all-link",46),2&n){var e=K(2);S("numberOfElements",e.filteredLabels.length)("linkParts",Nn(3,qb))("queryParams",e.dataFilterer.currentUrlQueryParams)}}var Fq=function(i,e){return{"small-node-list-margins":i,"full-node-list-margins":e}},Rq=function(i){return{"d-lg-none d-xl-table":i}},Nq=function(i){return{"d-lg-table d-xl-none":i}};function Yq(n,i){if(1&n){var e=tt();E(0,"div",24)(1,"div",25)(2,"table",26)(3,"tr"),Te(4,"th"),E(5,"th",27),Se("click",function(){ke(e);var o=K();return o.dataSorter.changeSortingOrder(o.labelSortData)}),R(6),Y(7,"translate"),q(8,Tq,2,2,"mat-icon",28),P(),E(9,"th",27),Se("click",function(){ke(e);var o=K();return o.dataSorter.changeSortingOrder(o.idSortData)}),R(10),Y(11,"translate"),q(12,Lq,2,2,"mat-icon",28),P(),E(13,"th",27),Se("click",function(){ke(e);var o=K();return o.dataSorter.changeSortingOrder(o.typeSortData)}),R(14),Y(15,"translate"),q(16,Eq,2,2,"mat-icon",28),P(),Te(17,"th",29),P(),q(18,Pq,15,11,"tr",30),P(),E(19,"table",31)(20,"tr",32),Se("click",function(){return ke(e),K().dataSorter.openSortingOrderModal()}),E(21,"td")(22,"div",33)(23,"div",34)(24,"div",1),R(25),Y(26,"translate"),P(),E(27,"div"),R(28),Y(29,"translate"),q(30,xq,3,3,"ng-container",20),q(31,Oq,3,3,"ng-container",20),P()(),E(32,"div",35)(33,"mat-icon",36),R(34,"keyboard_arrow_down"),P()()()()(),q(35,Aq,28,20,"tr",30),P(),q(36,Iq,1,4,"app-view-all-link",37),P()()}if(2&n){var t=K();p(1),S("ngClass",En(27,Fq,t.showShortList_,!t.showShortList_)),p(1),S("ngClass",Qe(30,Rq,t.showShortList_)),p(4),ye(" ",U(7,17,"labels.label")," "),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.labelSortData),p(2),ye(" ",U(11,19,"labels.id")," "),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.idSortData),p(2),ye(" ",U(15,21,"labels.type")," "),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.typeSortData),p(2),S("ngForOf",t.dataSource),p(1),S("ngClass",Qe(32,Nq,t.showShortList_)),p(6),ge(U(26,23,"tables.sorting-title")),p(3),ye("",U(29,25,t.dataSorter.currentSortingColumn.label)," "),p(2),S("ngIf",t.dataSorter.currentlySortingByLabel),p(1),S("ngIf",t.dataSorter.sortingInReverseOrder),p(2),S("inline",!0),p(2),S("ngForOf",t.dataSource),p(1),S("ngIf",t.showShortList_&&t.numberOfPages>1)}}function Hq(n,i){1&n&&(E(0,"span",50),R(1),Y(2,"translate"),P()),2&n&&(p(1),ge(U(2,1,"labels.empty")))}function Bq(n,i){1&n&&(E(0,"span",50),R(1),Y(2,"translate"),P()),2&n&&(p(1),ge(U(2,1,"labels.empty-with-filter")))}function Vq(n,i){if(1&n&&(E(0,"div",24)(1,"div",47)(2,"mat-icon",48),R(3,"warning"),P(),q(4,Hq,3,3,"span",49),q(5,Bq,3,3,"span",49),P()()),2&n){var e=K();p(2),S("inline",!0),p(2),S("ngIf",0===e.allLabels.length),p(1),S("ngIf",0!==e.allLabels.length)}}function jq(n,i){if(1&n&&Te(0,"app-paginator",23),2&n){var e=K();S("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Nn(4,qb))("queryParams",e.dataFilterer.currentUrlQueryParams)}}var Uq=function(i){return{"paginator-icons-fixer":i}},VE=function(){var n=function(){function i(e,t,a,o,s,l){var u=this;c(this,i),this.dialog=e,this.route=t,this.router=a,this.snackbarService=o,this.translateService=s,this.storageService=l,this.listId="ll",this.labelSortData=new xn(["label"],"labels.label",Jt.Text),this.idSortData=new xn(["id"],"labels.id",Jt.Text),this.typeSortData=new xn(["identifiedElementType_sort"],"labels.type",Jt.Text),this.selections=new Map,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"labels.filter-dialog.label",keyNameInElementsArray:"label",type:qn.TextInput,maxlength:100},{filterName:"labels.filter-dialog.id",keyNameInElementsArray:"id",type:qn.TextInput,maxlength:66},{filterName:"labels.filter-dialog.type",keyNameInElementsArray:"identifiedElementType",type:qn.Select,printableLabelsForValues:[{value:"",label:"labels.filter-dialog.type-options.any"},{value:li.Node,label:"labels.filter-dialog.type-options.visor"},{value:li.DmsgServer,label:"labels.filter-dialog.type-options.dmsg-server"},{value:li.Transport,label:"labels.filter-dialog.type-options.transport"}]}],this.dataSorter=new vc(this.dialog,this.translateService,[this.labelSortData,this.idSortData,this.typeSortData],0,this.listId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(function(){u.recalculateElementsToShow()}),this.dataFilterer=new gc(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(function(m){u.filteredLabels=m,u.dataSorter.setData(u.filteredLabels)}),this.loadData(),this.navigationsSubscription=this.route.paramMap.subscribe(function(m){if(m.has("page")){var C=Number.parseInt(m.get("page"),10);(isNaN(C)||C<1)&&(C=1),u.currentPageInUrl=C,u.recalculateElementsToShow()}})}return d(i,[{key:"showShortList",set:function(t){this.showShortList_=t,this.dataSorter.setData(this.filteredLabels)}},{key:"ngOnDestroy",value:function(){this.navigationsSubscription.unsubscribe(),this.dataSortedSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFiltererSubscription.unsubscribe(),this.dataFilterer.dispose()}},{key:"loadData",value:function(){var t=this;this.allLabels=this.storageService.getSavedLabels(),this.allLabels.forEach(function(a){a.identifiedElementType_sort=t.getLabelTypeIdentification(a)[0]}),this.dataFilterer.setData(this.allLabels)}},{key:"getLabelTypeIdentification",value:function(t){return t.identifiedElementType===li.Node?["1","labels.filter-dialog.type-options.visor"]:t.identifiedElementType===li.DmsgServer?["2","labels.filter-dialog.type-options.dmsg-server"]:t.identifiedElementType===li.Transport?["3","labels.filter-dialog.type-options.transport"]:void 0}},{key:"changeSelection",value:function(t){this.selections.get(t.id)?this.selections.set(t.id,!1):this.selections.set(t.id,!0)}},{key:"hasSelectedElements",value:function(){if(!this.selections)return!1;var t=!1;return this.selections.forEach(function(a){a&&(t=!0)}),t}},{key:"changeAllSelections",value:function(t){var a=this;this.selections.forEach(function(o,s){a.selections.set(s,t)})}},{key:"deleteSelected",value:function(){var t=this,a=cn.createConfirmationDialog(this.dialog,"labels.delete-selected-confirmation");a.componentInstance.operationAccepted.subscribe(function(){a.close(),t.selections.forEach(function(o,s){o&&t.storageService.saveLabel(s,"",null)}),t.snackbarService.showDone("labels.deleted"),t.loadData()})}},{key:"showOptionsDialog",value:function(t){var a=this;Bi.openDialog(this.dialog,[{icon:"close",label:"labels.delete"}],"common.options").afterClosed().subscribe(function(s){1===s&&a.delete(t.id)})}},{key:"delete",value:function(t){var a=this,o=cn.createConfirmationDialog(this.dialog,"labels.delete-confirmation");o.componentInstance.operationAccepted.subscribe(function(){o.close(),a.storageService.saveLabel(t,"",null),a.snackbarService.showDone("labels.deleted"),a.loadData()})}},{key:"recalculateElementsToShow",value:function(){var t=this;if(this.currentPage=this.currentPageInUrl,this.filteredLabels){var a=this.showShortList_?Kt.maxShortListElements:Kt.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredLabels.length/a),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);var o=a*(this.currentPage-1);this.labelsToShow=this.filteredLabels.slice(o,o+a);var l=new Map;this.labelsToShow.forEach(function(f){l.set(f.id,!0),t.selections.has(f.id)||t.selections.set(f.id,!1)});var u=[];this.selections.forEach(function(f,m){l.has(m)||u.push(m)}),u.forEach(function(f){t.selections.delete(f)})}else this.labelsToShow=null,this.selections=new Map;this.dataSource=this.labelsToShow}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Gn),B(si),B(rn),B(An),B(ui),B($i))},n.\u0275cmp=qe({type:n,selectors:[["app-label-list"]],inputs:{showShortList:"showShortList"},decls:23,vars:22,consts:[[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","uppercase",4,"ngIf"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],["class","small-icon",3,"inline","matTooltip","click",4,"ngIf"],[3,"inline","matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"uppercase"],[1,"help","d-none","d-md-inline",3,"inline","matTooltip"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","matTooltip","click"],[3,"inline","matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow",3,"ngClass"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table",3,"ngClass"],[1,"sortable-column",3,"click"],[3,"inline",4,"ngIf"],[1,"actions"],[4,"ngFor","ngForOf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none",3,"ngClass"],[1,"selectable",3,"click"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],[3,"inline"],[3,"numberOfElements","linkParts","queryParams",4,"ngIf"],[1,"selection-col"],[3,"checked","change"],["mat-icon-button","",1,"action-button","transparent-button",3,"matTooltip","click"],[1,"check-part"],[1,"list-row"],[1,"list-row","long-content"],[1,"margin-part"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],[3,"numberOfElements","linkParts","queryParams"],[1,"box-internal-container"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(e,t){1&e&&(E(0,"div",0)(1,"div",1),q(2,yq,6,7,"span",2),q(3,Cq,5,4,"div",3),P(),E(4,"div",4)(5,"div",5),q(6,wq,3,4,"mat-icon",6),q(7,Sq,2,2,"mat-icon",7),E(8,"mat-menu",8,9)(10,"div",10),Se("click",function(){return t.changeAllSelections(!0)}),R(11),Y(12,"translate"),P(),E(13,"div",10),Se("click",function(){return t.changeAllSelections(!1)}),R(14),Y(15,"translate"),P(),E(16,"div",11),Se("click",function(){return t.deleteSelected()}),R(17),Y(18,"translate"),P()()(),q(19,Dq,1,5,"app-paginator",12),P()(),q(20,Yq,37,34,"div",13),q(21,Vq,6,3,"div",13),q(22,jq,1,5,"app-paginator",12)),2&e&&(S("ngClass",Qe(20,Uq,!t.showShortList_&&t.numberOfPages>1&&t.dataSource)),p(2),S("ngIf",t.showShortList_),p(1),S("ngIf",t.dataFilterer.currentFiltersTexts&&t.dataFilterer.currentFiltersTexts.length>0),p(3),S("ngIf",t.allLabels&&t.allLabels.length>0),p(1),S("ngIf",t.dataSource&&t.dataSource.length>0),p(1),S("overlapTrigger",!1),p(3),ye(" ",U(12,14,"selection.select-all")," "),p(3),ye(" ",U(15,16,"selection.unselect-all")," "),p(2),Ln("disabled",!t.hasSelectedElements()),p(1),ye(" ",U(18,18,"selection.delete-all")," "),p(2),S("ngIf",!t.showShortList_&&t.numberOfPages>1&&t.dataSource),p(1),S("ngIf",t.dataSource&&t.dataSource.length>0),p(1),S("ngIf",!t.dataSource||0===t.dataSource.length),p(1),S("ngIf",!t.showShortList_&&t.numberOfPages>1&&t.dataSource))},directives:[mr,Et,Mn,ur,Or,kc,bc,ns,Mc,Ys,bi,Ov],pipes:[Mt],styles:[".overflow[_ngcontent-%COMP%]{display:block;width:100%;overflow-x:auto}.overflow[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.actions[_ngcontent-%COMP%]{text-align:right;width:90px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}"]}),n}();function zq(n,i){1&n&&(E(0,"span")(1,"mat-icon",15),R(2,"warning"),P(),R(3),Y(4,"translate"),P()),2&n&&(p(1),S("inline",!0),p(2),ye(" ",U(4,2,"settings.updater-config.not-saved")," "))}var Wq=function(){var n=function(){function i(e,t){c(this,i),this.snackbarService=e,this.dialog=t}return d(i,[{key:"ngOnInit",value:function(){this.initialChannel=localStorage.getItem(Qn.Channel),this.initialVersion=localStorage.getItem(Qn.Version),this.initialArchiveURL=localStorage.getItem(Qn.ArchiveURL),this.initialChecksumsURL=localStorage.getItem(Qn.ChecksumsURL),this.initialChannel||(this.initialChannel=""),this.initialVersion||(this.initialVersion=""),this.initialArchiveURL||(this.initialArchiveURL=""),this.initialChecksumsURL||(this.initialChecksumsURL=""),this.hasCustomSettings=!!(this.initialChannel||this.initialVersion||this.initialArchiveURL||this.initialChecksumsURL),this.form=new xl({channel:new Xa(this.initialChannel),version:new Xa(this.initialVersion),archiveURL:new Xa(this.initialArchiveURL),checksumsURL:new Xa(this.initialChecksumsURL)})}},{key:"ngOnDestroy",value:function(){this.subscription&&this.subscription.unsubscribe()}},{key:"dataChanged",get:function(){return this.initialChannel!==this.form.get("channel").value.trim()||this.initialVersion!==this.form.get("version").value.trim()||this.initialArchiveURL!==this.form.get("archiveURL").value.trim()||this.initialChecksumsURL!==this.form.get("checksumsURL").value.trim()}},{key:"saveSettings",value:function(){var t=this,a=this.form.get("channel").value.trim(),o=this.form.get("version").value.trim(),s=this.form.get("archiveURL").value.trim(),l=this.form.get("checksumsURL").value.trim();if(a||o||s||l){var u=cn.createConfirmationDialog(this.dialog,"settings.updater-config.save-confirmation");u.componentInstance.operationAccepted.subscribe(function(){u.close(),t.initialChannel=a,t.initialVersion=o,t.initialArchiveURL=s,t.initialChecksumsURL=l,t.hasCustomSettings=!0,localStorage.setItem(Qn.UseCustomSettings,"true"),localStorage.setItem(Qn.Channel,a),localStorage.setItem(Qn.Version,o),localStorage.setItem(Qn.ArchiveURL,s),localStorage.setItem(Qn.ChecksumsURL,l),t.snackbarService.showDone("settings.updater-config.saved")})}else this.removeSettings()}},{key:"removeSettings",value:function(){var t=this,a=cn.createConfirmationDialog(this.dialog,"settings.updater-config.remove-confirmation");a.componentInstance.operationAccepted.subscribe(function(){a.close(),t.initialChannel="",t.initialVersion="",t.initialArchiveURL="",t.initialChecksumsURL="",t.form.get("channel").setValue(""),t.form.get("version").setValue(""),t.form.get("archiveURL").setValue(""),t.form.get("checksumsURL").setValue(""),t.hasCustomSettings=!1,localStorage.removeItem(Qn.UseCustomSettings),localStorage.removeItem(Qn.Channel),localStorage.removeItem(Qn.Version),localStorage.removeItem(Qn.ArchiveURL),localStorage.removeItem(Qn.ChecksumsURL),t.snackbarService.showDone("settings.updater-config.removed")})}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(An),B(Gn))},n.\u0275cmp=qe({type:n,selectors:[["app-updater-config"]],decls:28,vars:28,consts:[[1,"rounded-elevated-box"],[1,"box-internal-container","overflow"],[1,"white-form-help-icon-container"],[3,"inline","matTooltip"],[3,"formGroup"],[1,"white-form-field"],["formControlName","channel","maxlength","255","matInput","",3,"placeholder"],["formControlName","version","maxlength","255","matInput","",3,"placeholder"],["formControlName","archiveURL","maxlength","255","matInput","",3,"placeholder"],["formControlName","checksumsURL","maxlength","255","matInput","",3,"placeholder"],[1,"mt-2","buttons-area"],[1,"text-area","red-clear-text"],[4,"ngIf"],["color","primary",1,"app-button","left-button",3,"forDarkBackground","disabled","action"],["color","primary",1,"app-button",3,"forDarkBackground","disabled","action"],[3,"inline"]],template:function(e,t){1&e&&(E(0,"div",0)(1,"div",1)(2,"div",2)(3,"mat-icon",3),Y(4,"translate"),R(5," help "),P()(),E(6,"form",4)(7,"mat-form-field",5),Te(8,"input",6),Y(9,"translate"),P(),E(10,"mat-form-field",5),Te(11,"input",7),Y(12,"translate"),P(),E(13,"mat-form-field",5),Te(14,"input",8),Y(15,"translate"),P(),E(16,"mat-form-field",5),Te(17,"input",9),Y(18,"translate"),P(),E(19,"div",10)(20,"div",11),q(21,zq,5,4,"span",12),P(),E(22,"app-button",13),Se("action",function(){return t.removeSettings()}),R(23),Y(24,"translate"),P(),E(25,"app-button",14),Se("action",function(){return t.saveSettings()}),R(26),Y(27,"translate"),P()()()()()),2&e&&(p(3),S("inline",!0)("matTooltip",U(4,14,"settings.updater-config.help")),p(3),S("formGroup",t.form),p(2),S("placeholder",U(9,16,"settings.updater-config.channel")),p(3),S("placeholder",U(12,18,"settings.updater-config.version")),p(3),S("placeholder",U(15,20,"settings.updater-config.archive-url")),p(3),S("placeholder",U(18,22,"settings.updater-config.checksum-url")),p(4),S("ngIf",t.dataChanged),p(1),S("forDarkBackground",!0)("disabled",!t.hasCustomSettings),p(1),ye(" ",U(24,24,"settings.updater-config.remove-settings")," "),p(2),S("forDarkBackground",!0)("disabled",!t.dataChanged),p(1),ye(" ",U(27,26,"settings.updater-config.save")," "))},directives:[Mn,ur,ei,Xr,gr,ki,Qr,Qi,Jr,zr,Hi,Et,di],pipes:[Mt],styles:["mat-form-field[_ngcontent-%COMP%]{margin-right:32px}.buttons-area[_ngcontent-%COMP%]{display:flex}@media (max-width: 767px){.buttons-area[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-end}}.buttons-area[_ngcontent-%COMP%] .text-area[_ngcontent-%COMP%]{margin-right:auto;flex-grow:1}@media (max-width: 767px){.buttons-area[_ngcontent-%COMP%] .text-area[_ngcontent-%COMP%]{margin-right:32px!important}}.buttons-area[_ngcontent-%COMP%] .text-area[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:1px}.buttons-area[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%]{float:right;margin-right:32px;flex-grow:0}@media (max-width: 767px){.buttons-area[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%]{margin-top:10px}}.buttons-area[_ngcontent-%COMP%] .left-button[_ngcontent-%COMP%]{margin-right:5px!important}@media (max-width: 767px){.buttons-area[_ngcontent-%COMP%] .left-button[_ngcontent-%COMP%]{margin-right:32px!important}}"]}),n}();function Gq(n,i){if(1&n){var e=tt();E(0,"div",8),Se("click",function(){return ke(e),K().showUpdaterSettings()}),E(1,"span",9),R(2),Y(3,"translate"),P()()}2&n&&(p(2),ge(U(3,1,"settings.updater-config.open-link")))}function qq(n,i){1&n&&Te(0,"app-updater-config",10)}var Kq=function(){return["start.title"]},$q=function(){var n=function(){function i(e,t,a,o){c(this,i),this.authService=e,this.router=t,this.snackbarService=a,this.dialog=o,this.tabsData=[],this.options=[],this.mustShowUpdaterSettings=!!localStorage.getItem(Qn.UseCustomSettings),this.tabsData=[{icon:"view_headline",label:"nodes.title",linkParts:["/nodes"]},{icon:"language",label:"nodes.dmsg-title",linkParts:["/nodes","dmsg"]},{icon:"settings",label:"settings.title",linkParts:["/settings"]}],this.options=[{name:"common.logout",actionName:"logout",icon:"power_settings_new"}]}return d(i,[{key:"performAction",value:function(t){"logout"===t&&this.logout()}},{key:"logout",value:function(){var t=this,a=cn.createConfirmationDialog(this.dialog,"common.logout-confirmation");a.componentInstance.operationAccepted.subscribe(function(){a.componentInstance.closeModal(),t.authService.logout().subscribe(function(){return t.router.navigate(["login"])},function(){return t.snackbarService.showError("common.logout-error")})})}},{key:"showUpdaterSettings",value:function(){var t=this,a=cn.createConfirmationDialog(this.dialog,"settings.updater-config.open-confirmation");a.componentInstance.operationAccepted.subscribe(function(){a.close(),t.mustShowUpdaterSettings=!0})}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(_f),B(rn),B(An),B(Gn))},n.\u0275cmp=qe({type:n,selectors:[["app-settings"]],decls:9,vars:9,consts:[[1,"row"],[1,"col-12"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton","optionsData","optionSelected"],[1,"content","col-12","mt-4.5"],[1,"d-block","mb-4"],[3,"showShortList"],["class","d-block mt-4",3,"click",4,"ngIf"],["class","d-block mt-4",4,"ngIf"],[1,"d-block","mt-4",3,"click"],[1,"show-link"],[1,"d-block","mt-4"]],template:function(e,t){1&e&&(E(0,"div",0)(1,"div",1)(2,"app-top-bar",2),Se("optionSelected",function(o){return t.performAction(o)}),P()(),E(3,"div",3),Te(4,"app-refresh-rate",4)(5,"app-password")(6,"app-label-list",5),q(7,Gq,4,3,"div",6),q(8,qq,1,0,"app-updater-config",7),P()()),2&e&&(p(2),S("titleParts",Nn(8,Kq))("tabsData",t.tabsData)("selectedTabIndex",2)("showUpdateButton",!1)("optionsData",t.options),p(4),S("showShortList",!0),p(1),S("ngIf",!t.mustShowUpdaterSettings),p(1),S("ngIf",t.mustShowUpdaterSettings))},directives:[Fl,oq,sE,VE,Et,Wq],pipes:[Mt],styles:[".show-link[_ngcontent-%COMP%]{cursor:pointer;font-size:.8rem}"]}),n}(),Kb=function(){var n=function(){function i(e){c(this,i),this.apiService=e}return d(i,[{key:"create",value:function(t,a,o){var s={remote_pk:a};return o&&(s.transport_type=o),this.apiService.post("visors/".concat(t,"/transports"),s)}},{key:"delete",value:function(t,a){return this.apiService.delete("visors/".concat(t,"/transports/").concat(a))}},{key:"savePersistentTransportsData",value:function(t,a){return this.apiService.put("visors/".concat(t,"/persistent-transports"),a)}},{key:"getPersistentTransports",value:function(t){return this.apiService.get("visors/".concat(t,"/persistent-transports"))}},{key:"types",value:function(t){return this.apiService.get("visors/".concat(t,"/transport-types"))}},{key:"changeAutoconnectSetting",value:function(t,a){var o={};return o.public_autoconnect=a,this.apiService.put("visors/".concat(t,"/public-autoconnect"),o)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(El))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}(),Zq=["button"],Qq=["firstInput"];function Jq(n,i){1&n&&Te(0,"app-loading-indicator",5),2&n&&S("showWhite",!1)}function Xq(n,i){1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n&&(p(1),ye(" ",U(2,1,"transports.dialog.errors.remote-key-length-error")," "))}function eK(n,i){1&n&&(R(0),Y(1,"translate")),2&n&&ye(" ",U(1,1,"transports.dialog.errors.remote-key-chars-error")," ")}function tK(n,i){if(1&n&&(E(0,"mat-option",16),R(1),P()),2&n){var e=i.$implicit;S("value",e),p(1),ge(e)}}function nK(n,i){if(1&n){var e=tt();E(0,"form",6)(1,"mat-form-field"),Te(2,"input",7,8),Y(4,"translate"),E(5,"mat-error"),q(6,Xq,3,3,"ng-container",9),P(),q(7,eK,2,3,"ng-template",null,10,Ls),P(),E(9,"mat-form-field"),Te(10,"input",11),Y(11,"translate"),P(),E(12,"mat-form-field")(13,"mat-select",12),Y(14,"translate"),q(15,tK,2,2,"mat-option",13),P(),E(16,"mat-error"),R(17),Y(18,"translate"),P()(),E(19,"mat-checkbox",14),Se("change",function(s){return ke(e),K().setMakePersistent(s)}),R(20),Y(21,"translate"),E(22,"mat-icon",15),Y(23,"translate"),R(24,"help"),P()()()}if(2&n){var t=sr(8),a=K();S("formGroup",a.form),p(2),S("placeholder",U(4,12,"transports.dialog.remote-key")),p(4),S("ngIf",!a.form.get("remoteKey").hasError("pattern"))("ngIfElse",t),p(4),S("placeholder",U(11,14,"transports.dialog.label")),p(3),S("placeholder",U(14,16,"transports.dialog.transport-type")),p(2),S("ngForOf",a.types),p(2),ye(" ",U(18,18,"transports.dialog.errors.transport-type-error")," "),p(2),S("checked",a.makePersistent),p(1),ye(" ",U(21,20,"transports.dialog.make-persistent")," "),p(2),S("inline",!0)("matTooltip",U(23,22,"transports.dialog.persistent-tooltip"))}}var rK=function(){var n=function(){function i(e,t,a,o,s,l){c(this,i),this.transportService=e,this.formBuilder=t,this.dialogRef=a,this.snackbarService=o,this.storageService=s,this.nodeService=l,this.makePersistent=!1,this.shouldShowError=!0}return d(i,[{key:"ngOnInit",value:function(){this.form=this.formBuilder.group({remoteKey:["",Cn.compose([Cn.required,Cn.minLength(66),Cn.maxLength(66),Cn.pattern("^[0-9a-fA-F]+$")])],label:[""],type:["",Cn.required]}),this.loadData(0)}},{key:"ngOnDestroy",value:function(){this.dataSubscription.unsubscribe(),this.operationSubscription&&this.operationSubscription.unsubscribe()}},{key:"setMakePersistent",value:function(t){this.makePersistent=!!t.checked}},{key:"create",value:function(){var t=this;if(this.form.valid&&!this.button.disabled){this.button.showLoading();var a=this.form.get("remoteKey").value,o=this.form.get("type").value,s=this.form.get("label").value;if(this.makePersistent){var l=this.transportService.getPersistentTransports(At.getCurrentNodeKey());this.operationSubscription=l.subscribe(function(u){var f=u||[],m=!1;f.forEach(function(C){C.pk.toUpperCase()===a.toUpperCase()&&C.type.toUpperCase()===o.toUpperCase()&&(m=!0)}),m?t.createTransport(a,o,s,!0):t.createPersistent(f,a,o,s)},function(u){t.onError(u)})}else this.createTransport(a,o,s,!1)}}},{key:"createPersistent",value:function(t,a,o,s){var l=this;t.push({pk:a,type:o}),this.operationSubscription=this.transportService.savePersistentTransportsData(At.getCurrentNodeKey(),t).subscribe(function(){l.createTransport(a,o,s,!0)},function(u){l.onError(u)})}},{key:"createTransport",value:function(t,a,o,s){var l=this;this.operationSubscription=this.transportService.create(At.getCurrentNodeKey(),t,a).subscribe(function(u){var f=!1;o&&(u&&u.id?l.storageService.saveLabel(u.id,o,li.Transport):f=!0),At.refreshCurrentDisplayedData(),l.dialogRef.close(),f?l.snackbarService.showWarning("transports.dialog.success-without-label"):l.snackbarService.showDone("transports.dialog.success")},function(u){s?(At.refreshCurrentDisplayedData(),l.dialogRef.close(),l.snackbarService.showWarning("transports.dialog.only-persistent-created")):l.onError(u)})}},{key:"onError",value:function(t){this.button.showError(),t=an(t),this.snackbarService.showError(t)}},{key:"loadData",value:function(t){var a=this;this.dataSubscription&&this.dataSubscription.unsubscribe(),this.dataSubscription=Je(1).pipe(Mi(t),Dn(function(){return a.transportService.types(At.getCurrentNodeKey())})).subscribe(function(o){o.sort(function(l,u){return"stcp"===l.toLowerCase()?1:"stcp"===u.toLowerCase()?-1:l.localeCompare(u)});var s=o.findIndex(function(l){return"dmsg"===l.toLowerCase()});s=-1!==s?s:0,a.types=o,a.form.get("type").setValue(o[s]),a.snackbarService.closeCurrentIfTemporaryError(),setTimeout(function(){return a.firstInput.nativeElement.focus()})},function(o){o=an(o),a.shouldShowError&&(a.snackbarService.showError("common.loading-error",null,!0,o),a.shouldShowError=!1),a.loadData(Kt.connectionRetryDelay)})}}],[{key:"openDialog",value:function(t){var a=new Zn;return a.autoFocus=!1,a.width=Kt.mediumModalWidth,t.open(i,a)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Kb),B(Zi),B(Dr),B(An),B($i),B(Al))},n.\u0275cmp=qe({type:n,selectors:[["app-create-transport"]],viewQuery:function(e,t){var a;1&e&&(gt(Zq,5),gt(Qq,5)),2&e&&(lt(a=ut())&&(t.button=a.first),lt(a=ut())&&(t.firstInput=a.first))},decls:8,vars:9,consts:[[3,"headline"],[3,"showWhite",4,"ngIf"],[3,"formGroup",4,"ngIf"],["color","primary",1,"float-right",3,"disabled","action"],["button",""],[3,"showWhite"],[3,"formGroup"],["formControlName","remoteKey","maxlength","66","matInput","",3,"placeholder"],["firstInput",""],[4,"ngIf","ngIfElse"],["hexError",""],["formControlName","label","maxlength","66","matInput","",3,"placeholder"],["formControlName","type",3,"placeholder"],[3,"value",4,"ngFor","ngForOf"],["color","primary",3,"checked","change"],[1,"help-icon",3,"inline","matTooltip"],[3,"value"]],template:function(e,t){1&e&&(E(0,"app-dialog",0),Y(1,"translate"),q(2,Jq,1,1,"app-loading-indicator",1),q(3,nK,25,24,"form",2),E(4,"app-button",3,4),Se("action",function(){return t.create()}),R(6),Y(7,"translate"),P()()),2&e&&(S("headline",U(1,5,"transports.create")),p(2),S("ngIf",!t.types),p(1),S("ngIf",t.types),p(1),S("disabled",!t.form.valid),p(2),ye(" ",U(7,7,"transports.create")," "))},directives:[_r,Et,es,ei,Xr,gr,ki,Qr,Qi,Jr,zr,Hi,wf,Tf,Or,lc,Ys,Mn,ur,di],pipes:[Mt],styles:[""]}),n}();function iK(n,i){1&n&&(ze(0),R(1),Y(2,"translate"),E(3,"mat-icon",6),Y(4,"translate"),R(5,"help"),P(),We()),2&n&&(p(1),ye(" ",U(2,3,"common.yes")," "),p(2),S("inline",!0)("matTooltip",U(4,5,"transports.persistent-transport-tooltip")))}function aK(n,i){1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n&&(p(1),ge(U(2,1,"common.no")))}var oK=function(){var n=function(){function i(e){c(this,i),this.data=e}return d(i,null,[{key:"openDialog",value:function(t,a){var o=new Zn;return o.data=a,o.autoFocus=!1,o.width=Kt.largeModalWidth,t.open(i,o)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Ur))},n.\u0275cmp=qe({type:n,selectors:[["app-transport-details"]],decls:51,vars:44,consts:[[1,"info-dialog",3,"headline"],[1,"title","mt-0"],[3,"inline"],[1,"item"],[4,"ngIf"],[1,"title"],[1,"help-icon","d-none","d-md-inline",3,"inline","matTooltip"]],template:function(e,t){1&e&&(E(0,"app-dialog",0),Y(1,"translate"),E(2,"div")(3,"div",1)(4,"mat-icon",2),R(5,"list"),P(),R(6),Y(7,"translate"),P(),E(8,"div",3)(9,"span"),R(10),Y(11,"translate"),P(),q(12,iK,6,7,"ng-container",4),q(13,aK,3,3,"ng-container",4),P(),E(14,"div",3)(15,"span"),R(16),Y(17,"translate"),P(),R(18),P(),E(19,"div",3)(20,"span"),R(21),Y(22,"translate"),P(),R(23),P(),E(24,"div",3)(25,"span"),R(26),Y(27,"translate"),P(),R(28),P(),E(29,"div",3)(30,"span"),R(31),Y(32,"translate"),P(),R(33),P(),E(34,"div",5)(35,"mat-icon",2),R(36,"import_export"),P(),R(37),Y(38,"translate"),P(),E(39,"div",3)(40,"span"),R(41),Y(42,"translate"),P(),R(43),Y(44,"autoScale"),P(),E(45,"div",3)(46,"span"),R(47),Y(48,"translate"),P(),R(49),Y(50,"autoScale"),P()()()),2&e&&(S("headline",U(1,20,"transports.details.title")),p(4),S("inline",!0),p(2),ye("",U(7,22,"transports.details.basic.title")," "),p(4),ge(U(11,24,"transports.details.basic.persistent")),p(2),S("ngIf",t.data.isPersistent),p(1),S("ngIf",!t.data.isPersistent),p(3),ge(U(17,26,"transports.details.basic.id")),p(2),ye(" ",t.data.id," "),p(3),ge(U(22,28,"transports.details.basic.local-pk")),p(2),ye(" ",t.data.localPk," "),p(3),ge(U(27,30,"transports.details.basic.remote-pk")),p(2),ye(" ",t.data.remotePk," "),p(3),ge(U(32,32,"transports.details.basic.type")),p(2),ye(" ",t.data.type," "),p(2),S("inline",!0),p(2),ye("",U(38,34,"transports.details.data.title")," "),p(4),ge(U(42,36,"transports.details.data.uploaded")),p(2),ye(" ",U(44,38,t.data.sent)," "),p(4),ge(U(48,40,"transports.details.data.downloaded")),p(2),ye(" ",U(50,42,t.data.recv)," "))},directives:[_r,Mn,Et,ur],pipes:[Mt,Pf],styles:[".help-icon[_ngcontent-%COMP%]{opacity:.5;font-size:14px;cursor:default}"]}),n}();function sK(n,i){1&n&&(E(0,"span",15),R(1),Y(2,"translate"),E(3,"mat-icon",16),Y(4,"translate"),R(5,"help"),P()()),2&n&&(p(1),ye(" ",U(2,3,"transports.title")," "),p(2),S("inline",!0)("matTooltip",U(4,5,"transports.info")))}function lK(n,i){if(1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n){var e=K().$implicit;p(1),ge(U(2,1,e.translatableValue))}}function uK(n,i){if(1&n&&(ze(0),R(1),We()),2&n){var e=K().$implicit;p(1),ge(e.value)}}function cK(n,i){if(1&n&&(E(0,"div",20)(1,"span"),R(2),Y(3,"translate"),P(),q(4,lK,3,3,"ng-container",21),q(5,uK,2,1,"ng-container",21),P()),2&n){var e=i.$implicit;p(2),ye("",U(3,3,e.filterName),": "),p(2),S("ngIf",e.translatableValue),p(1),S("ngIf",e.value)}}function dK(n,i){if(1&n){var e=tt();E(0,"div",17),Se("click",function(){return ke(e),K().dataFilterer.removeFilters()}),q(1,cK,6,5,"div",18),E(2,"div",19),R(3),Y(4,"translate"),P()()}if(2&n){var t=K();p(1),S("ngForOf",t.dataFilterer.currentFiltersTexts),p(2),ge(U(4,2,"filters.press-to-remove"))}}function fK(n,i){if(1&n){var e=tt();E(0,"mat-icon",22),Se("click",function(){return ke(e),K().dataFilterer.changeFilters()}),R(1,"filter_list"),P()}2&n&&S("inline",!0)}function hK(n,i){if(1&n&&(E(0,"mat-icon",23),R(1,"more_horiz"),P()),2&n){K();var e=sr(11);S("inline",!0)("matMenuTriggerFor",e)}}var $b=function(i){return["/nodes",i,"transports"]};function pK(n,i){if(1&n&&Te(0,"app-paginator",24),2&n){var e=K();S("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Qe(4,$b,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function vK(n,i){if(1&n&&(E(0,"mat-icon",39),R(1),P()),2&n){var e=K(2);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function mK(n,i){1&n&&(ze(0),R(1,"*"),We())}function gK(n,i){if(1&n&&(ze(0),E(1,"mat-icon",39),R(2),P(),q(3,mK,2,0,"ng-container",21),We()),2&n){var e=K(2);p(1),S("inline",!0),p(1),ge(e.dataSorter.sortingArrow),p(1),S("ngIf",e.dataSorter.currentlySortingByLabel)}}function _K(n,i){1&n&&(ze(0),R(1,"*"),We())}function yK(n,i){if(1&n&&(ze(0),E(1,"mat-icon",39),R(2),P(),q(3,_K,2,0,"ng-container",21),We()),2&n){var e=K(2);p(1),S("inline",!0),p(1),ge(e.dataSorter.sortingArrow),p(1),S("ngIf",e.dataSorter.currentlySortingByLabel)}}function bK(n,i){if(1&n&&(E(0,"mat-icon",39),R(1),P()),2&n){var e=K(2);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function kK(n,i){if(1&n&&(E(0,"mat-icon",39),R(1),P()),2&n){var e=K(2);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function MK(n,i){if(1&n&&(E(0,"mat-icon",39),R(1),P()),2&n){var e=K(2);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function CK(n,i){if(1&n){var e=tt();E(0,"button",48),Se("click",function(){ke(e);var a=K().$implicit;return K(2).changeIfPersistent([a],!1)}),Y(1,"translate"),E(2,"mat-icon",49),R(3,"star"),P()()}2&n&&(S("matTooltip",U(1,2,"transports.persistent-transport-button-tooltip")),p(2),S("inline",!0))}function wK(n,i){if(1&n){var e=tt();E(0,"button",48),Se("click",function(){ke(e);var a=K().$implicit;return K(2).changeIfPersistent([a],!0)}),Y(1,"translate"),E(2,"mat-icon",50),R(3,"star_outline"),P()()}2&n&&(S("matTooltip",U(1,2,"transports.non-persistent-transport-button-tooltip")),p(2),S("inline",!0))}function SK(n,i){1&n&&(E(0,"span"),R(1),Y(2,"translate"),P()),2&n&&(p(1),ge(U(2,1,"transports.offline")))}function DK(n,i){if(1&n){var e=tt();E(0,"td")(1,"app-labeled-element-text",51),Se("labelEdited",function(){return ke(e),K(3).refreshData()}),P(),q(2,SK,3,3,"span",21),P()}if(2&n){var t=K().$implicit,a=K(2);p(1),Ln("id",t.id),S("short",!0)("elementType",a.labeledElementTypes.Transport),p(1),S("ngIf",t.notFound)}}function TK(n,i){1&n&&(E(0,"td"),R(1),Y(2,"translate"),P()),2&n&&(p(1),ye(" ",U(2,1,"transports.offline")," "))}function LK(n,i){if(1&n&&(E(0,"td"),R(1),Y(2,"autoScale"),P()),2&n){var e=K().$implicit;p(1),ye(" ",U(2,1,e.sent)," ")}}function EK(n,i){if(1&n&&(E(0,"td"),R(1),Y(2,"autoScale"),P()),2&n){var e=K().$implicit;p(1),ye(" ",U(2,1,e.recv)," ")}}function PK(n,i){1&n&&(E(0,"td"),R(1),Y(2,"translate"),P()),2&n&&(p(1),ye(" ",U(2,1,"transports.offline")," "))}function xK(n,i){1&n&&(E(0,"td"),R(1),Y(2,"translate"),P()),2&n&&(p(1),ye(" ",U(2,1,"transports.offline")," "))}function OK(n,i){if(1&n){var e=tt();E(0,"button",52),Se("click",function(){ke(e);var a=K().$implicit;return K(2).details(a)}),Y(1,"translate"),E(2,"mat-icon",39),R(3,"visibility"),P()()}2&n&&(S("matTooltip",U(1,2,"transports.details.title")),p(2),S("inline",!0))}function AK(n,i){if(1&n){var e=tt();E(0,"button",52),Se("click",function(){ke(e);var a=K().$implicit;return K(2).delete(a)}),Y(1,"translate"),E(2,"mat-icon",39),R(3,"close"),P()()}2&n&&(S("matTooltip",U(1,2,"transports.delete")),p(2),S("inline",!0))}var jE=function(i){return{offline:i}};function IK(n,i){if(1&n){var e=tt();E(0,"tr",42)(1,"td",43)(2,"mat-checkbox",44),Se("change",function(){var l=ke(e).$implicit;return K(2).changeSelection(l)}),P()(),E(3,"td"),q(4,CK,4,4,"button",45),q(5,wK,4,4,"button",45),P(),q(6,DK,3,4,"td",21),q(7,TK,3,3,"td",21),E(8,"td")(9,"app-labeled-element-text",46),Se("labelEdited",function(){return ke(e),K(2).refreshData()}),P()(),E(10,"td"),R(11),P(),q(12,LK,3,3,"td",21),q(13,EK,3,3,"td",21),q(14,PK,3,3,"td",21),q(15,xK,3,3,"td",21),E(16,"td",32),q(17,OK,4,4,"button",47),q(18,AK,4,4,"button",47),P()()}if(2&n){var t=i.$implicit,a=K(2);S("ngClass",Qe(15,jE,t.notFound)),p(2),S("checked",a.selections.get(t.id)),p(2),S("ngIf",t.isPersistent),p(1),S("ngIf",!t.isPersistent),p(1),S("ngIf",!t.notFound),p(1),S("ngIf",t.notFound),p(2),Ln("id",t.remotePk),S("short",!0),p(2),ye(" ",t.type," "),p(1),S("ngIf",!t.notFound),p(1),S("ngIf",!t.notFound),p(1),S("ngIf",t.notFound),p(1),S("ngIf",t.notFound),p(2),S("ngIf",!t.notFound),p(1),S("ngIf",!t.notFound)}}function FK(n,i){1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n&&(p(1),ge(U(2,1,"tables.label")))}function RK(n,i){1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n&&(p(1),ge(U(2,1,"tables.inverted-order")))}function NK(n,i){1&n&&(E(0,"div",59)(1,"div",59)(2,"mat-icon",62),R(3,"star"),P(),R(4,"\xa0 "),E(5,"span",63),R(6),Y(7,"translate"),P()()()),2&n&&(p(2),S("inline",!0),p(4),ge(U(7,2,"transports.persistent")))}function YK(n,i){if(1&n){var e=tt();E(0,"app-labeled-element-text",64),Se("labelEdited",function(){return ke(e),K(3).refreshData()}),P()}if(2&n){var t=K().$implicit,a=K(2);Ln("id",t.id),S("elementType",a.labeledElementTypes.Transport)}}function HK(n,i){1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n&&(p(1),ge(U(2,1,"transports.offline")))}function BK(n,i){if(1&n&&(ze(0),R(1),Y(2,"autoScale"),We()),2&n){var e=K().$implicit;p(1),ge(U(2,1,e.sent))}}function VK(n,i){1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n&&(p(1),ge(U(2,1,"transports.offline")))}function jK(n,i){if(1&n&&(ze(0),R(1),Y(2,"autoScale"),We()),2&n){var e=K().$implicit;p(1),ge(U(2,1,e.recv))}}function UK(n,i){1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n&&(p(1),ge(U(2,1,"transports.offline")))}function zK(n,i){if(1&n){var e=tt();E(0,"tr")(1,"td")(2,"div",53)(3,"div",54)(4,"mat-checkbox",44),Se("change",function(){var l=ke(e).$implicit;return K(2).changeSelection(l)}),P()(),E(5,"div",37),q(6,NK,8,4,"div",55),E(7,"div",56)(8,"span",1),R(9),Y(10,"translate"),P(),R(11,": "),q(12,YK,1,2,"app-labeled-element-text",57),q(13,HK,3,3,"ng-container",21),P(),E(14,"div",56)(15,"span",1),R(16),Y(17,"translate"),P(),R(18,": "),E(19,"app-labeled-element-text",58),Se("labelEdited",function(){return ke(e),K(2).refreshData()}),P()(),E(20,"div",59)(21,"span",1),R(22),Y(23,"translate"),P(),R(24),P(),E(25,"div",59)(26,"span",1),R(27),Y(28,"translate"),P(),R(29,": "),q(30,BK,3,3,"ng-container",21),q(31,VK,3,3,"ng-container",21),P(),E(32,"div",59)(33,"span",1),R(34),Y(35,"translate"),P(),R(36,": "),q(37,jK,3,3,"ng-container",21),q(38,UK,3,3,"ng-container",21),P()(),Te(39,"div",60),E(40,"div",38)(41,"button",61),Se("click",function(s){var u=ke(e).$implicit,f=K(2);return s.stopPropagation(),f.showOptionsDialog(u)}),Y(42,"translate"),E(43,"mat-icon"),R(44),P()()()()()()}if(2&n){var t=i.$implicit,a=K(2);p(2),S("ngClass",Qe(30,jE,t.notFound)),p(2),S("checked",a.selections.get(t.id)),p(2),S("ngIf",t.isPersistent),p(3),ge(U(10,18,"transports.id")),p(3),S("ngIf",!t.notFound),p(1),S("ngIf",t.notFound),p(3),ge(U(17,20,"transports.remote-node")),p(3),Ln("id",t.remotePk),p(3),ge(U(23,22,"transports.type")),p(2),ye(": ",t.type," "),p(3),ge(U(28,24,"common.uploaded")),p(3),S("ngIf",!t.notFound),p(1),S("ngIf",t.notFound),p(3),ge(U(35,26,"common.downloaded")),p(3),S("ngIf",!t.notFound),p(1),S("ngIf",t.notFound),p(3),S("matTooltip",U(42,28,"common.options")),p(3),ge("add")}}function WK(n,i){if(1&n&&Te(0,"app-view-all-link",65),2&n){var e=K(2);S("numberOfElements",e.filteredTransports.length)("linkParts",Qe(3,$b,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}var GK=function(i,e){return{"small-node-list-margins":i,"full-node-list-margins":e}},qK=function(i){return{"d-lg-none d-xl-table":i}},KK=function(i){return{"d-lg-table d-xl-none":i}};function $K(n,i){if(1&n){var e=tt();E(0,"div",25)(1,"div",26)(2,"table",27)(3,"tr"),Te(4,"th"),E(5,"th",28),Se("click",function(){ke(e);var o=K();return o.dataSorter.changeSortingOrder(o.persistentSortData)}),Y(6,"translate"),E(7,"mat-icon",29),R(8,"star_outline"),P(),q(9,vK,2,2,"mat-icon",30),P(),E(10,"th",31),Se("click",function(){ke(e);var o=K();return o.dataSorter.changeSortingOrder(o.idSortData)}),R(11),Y(12,"translate"),q(13,gK,4,3,"ng-container",21),P(),E(14,"th",31),Se("click",function(){ke(e);var o=K();return o.dataSorter.changeSortingOrder(o.remotePkSortData)}),R(15),Y(16,"translate"),q(17,yK,4,3,"ng-container",21),P(),E(18,"th",31),Se("click",function(){ke(e);var o=K();return o.dataSorter.changeSortingOrder(o.typeSortData)}),R(19),Y(20,"translate"),q(21,bK,2,2,"mat-icon",30),P(),E(22,"th",31),Se("click",function(){ke(e);var o=K();return o.dataSorter.changeSortingOrder(o.uploadedSortData)}),R(23),Y(24,"translate"),q(25,kK,2,2,"mat-icon",30),P(),E(26,"th",31),Se("click",function(){ke(e);var o=K();return o.dataSorter.changeSortingOrder(o.downloadedSortData)}),R(27),Y(28,"translate"),q(29,MK,2,2,"mat-icon",30),P(),Te(30,"th",32),P(),q(31,IK,19,17,"tr",33),P(),E(32,"table",34)(33,"tr",35),Se("click",function(){return ke(e),K().dataSorter.openSortingOrderModal()}),E(34,"td")(35,"div",36)(36,"div",37)(37,"div",1),R(38),Y(39,"translate"),P(),E(40,"div"),R(41),Y(42,"translate"),q(43,FK,3,3,"ng-container",21),q(44,RK,3,3,"ng-container",21),P()(),E(45,"div",38)(46,"mat-icon",39),R(47,"keyboard_arrow_down"),P()()()()(),q(48,zK,45,32,"tr",40),P(),q(49,WK,1,5,"app-view-all-link",41),P()()}if(2&n){var t=K();p(1),S("ngClass",En(39,GK,t.showShortList_,!t.showShortList_)),p(1),S("ngClass",Qe(42,qK,t.showShortList_)),p(3),S("matTooltip",U(6,23,"transports.persistent-tooltip")),p(4),S("ngIf",t.dataSorter.currentSortingColumn===t.persistentSortData),p(2),ye(" ",U(12,25,"transports.id")," "),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.idSortData),p(2),ye(" ",U(16,27,"transports.remote-node")," "),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.remotePkSortData),p(2),ye(" ",U(20,29,"transports.type")," "),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.typeSortData),p(2),ye(" ",U(24,31,"common.uploaded")," "),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.uploadedSortData),p(2),ye(" ",U(28,33,"common.downloaded")," "),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.downloadedSortData),p(2),S("ngForOf",t.dataSource),p(1),S("ngClass",Qe(44,KK,t.showShortList_)),p(6),ge(U(39,35,"tables.sorting-title")),p(3),ye("",U(42,37,t.dataSorter.currentSortingColumn.label)," "),p(2),S("ngIf",t.dataSorter.currentlySortingByLabel),p(1),S("ngIf",t.dataSorter.sortingInReverseOrder),p(2),S("inline",!0),p(2),S("ngForOf",t.dataSource),p(1),S("ngIf",t.showShortList_&&t.numberOfPages>1)}}function ZK(n,i){1&n&&(E(0,"span",69),R(1),Y(2,"translate"),P()),2&n&&(p(1),ge(U(2,1,"transports.empty")))}function QK(n,i){1&n&&(E(0,"span",69),R(1),Y(2,"translate"),P()),2&n&&(p(1),ge(U(2,1,"transports.empty-with-filter")))}function JK(n,i){if(1&n&&(E(0,"div",25)(1,"div",66)(2,"mat-icon",67),R(3,"warning"),P(),q(4,ZK,3,3,"span",68),q(5,QK,3,3,"span",68),P()()),2&n){var e=K();p(2),S("inline",!0),p(2),S("ngIf",0===e.allTransports.length),p(1),S("ngIf",0!==e.allTransports.length)}}function XK(n,i){if(1&n&&Te(0,"app-paginator",24),2&n){var e=K();S("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Qe(4,$b,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}var e$=function(i){return{"paginator-icons-fixer":i}},UE=function(){var n=function(){function i(e,t,a,o,s,l,u,f){var m=this;c(this,i),this.dialog=e,this.transportService=t,this.route=a,this.router=o,this.snackbarService=s,this.translateService=l,this.storageService=u,this.nodeService=f,this.listId="tr",this.persistentSortData=new xn(["isPersistent"],"transports.persistent",Jt.Boolean),this.idSortData=new xn(["id"],"transports.id",Jt.Text,["id_label"]),this.remotePkSortData=new xn(["remotePk"],"transports.remote-node",Jt.Text,["remote_pk_label"]),this.typeSortData=new xn(["type"],"transports.type",Jt.Text),this.uploadedSortData=new xn(["sent"],"common.uploaded",Jt.NumberReversed),this.downloadedSortData=new xn(["recv"],"common.downloaded",Jt.NumberReversed),this.selections=new Map,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"transports.filter-dialog.persistent",keyNameInElementsArray:"isPersistent",type:qn.Select,printableLabelsForValues:[{value:"",label:"transports.filter-dialog.persistent-options.any"},{value:"true",label:"transports.filter-dialog.persistent-options.persistent"},{value:"false",label:"transports.filter-dialog.persistent-options.non-persistent"}]},{filterName:"transports.filter-dialog.id",keyNameInElementsArray:"id",secondaryKeyNameInElementsArray:"id_label",type:qn.TextInput,maxlength:36},{filterName:"transports.filter-dialog.remote-node",keyNameInElementsArray:"remotePk",secondaryKeyNameInElementsArray:"remote_pk_label",type:qn.TextInput,maxlength:66}],this.labeledElementTypes=li,this.operationSubscriptionsGroup=[],this.dataSorter=new vc(this.dialog,this.translateService,[this.persistentSortData,this.idSortData,this.remotePkSortData,this.typeSortData,this.uploadedSortData,this.downloadedSortData],1,this.listId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(function(){m.recalculateElementsToShow()}),this.dataFilterer=new gc(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(function(I){m.filteredTransports=I,m.dataSorter.setData(m.filteredTransports)}),this.navigationsSubscription=this.route.paramMap.subscribe(function(I){if(I.has("page")){var V=Number.parseInt(I.get("page"),10);(isNaN(V)||V<1)&&(V=1),m.currentPageInUrl=V,m.recalculateElementsToShow()}}),this.languageSubscription=this.translateService.onLangChange.subscribe(function(){m.node=m.currentNode})}return d(i,[{key:"showShortList",set:function(t){this.showShortList_=t,this.dataSorter.setData(this.filteredTransports)}},{key:"node",set:function(t){var a=this;this.currentNode=t,this.allTransports=t.transports,this.nodePK=t.localPk;var o=new Map;t.persistentTransports.forEach(function(s){return o.set(a.getPersistentTransportID(s.pk,s.type),s)}),this.allTransports.forEach(function(s){o.has(a.getPersistentTransportID(s.remotePk,s.type))?(s.isPersistent=!0,o.delete(a.getPersistentTransportID(s.remotePk,s.type))):s.isPersistent=!1}),o.forEach(function(s,l){a.allTransports.push({id:a.getPersistentTransportID(s.pk,s.type),localPk:t.localPk,remotePk:s.pk,type:s.type,recv:0,sent:0,isPersistent:!0,notFound:!0})}),this.allTransports.forEach(function(s){s.id_label=ts.getCompleteLabel(a.storageService,a.translateService,s.id),s.remote_pk_label=ts.getCompleteLabel(a.storageService,a.translateService,s.remotePk)}),this.dataFilterer.setData(this.allTransports)}},{key:"ngOnDestroy",value:function(){this.navigationsSubscription.unsubscribe(),this.operationSubscriptionsGroup.forEach(function(t){return t.unsubscribe()}),this.languageSubscription.unsubscribe(),this.dataSortedSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFiltererSubscription.unsubscribe(),this.dataFilterer.dispose(),this.persistentTransportSubscription&&this.persistentTransportSubscription.unsubscribe()}},{key:"changeSelection",value:function(t){this.selections.get(t.id)?this.selections.set(t.id,!1):this.selections.set(t.id,!0)}},{key:"hasSelectedElements",value:function(){if(!this.selections)return!1;var t=!1;return this.selections.forEach(function(a){a&&(t=!0)}),t}},{key:"changeAllSelections",value:function(t){var a=this;this.selections.forEach(function(o,s){a.selections.set(s,t)})}},{key:"deleteSelected",value:function(){var t=this,a=cn.createConfirmationDialog(this.dialog,"transports.delete-selected-confirmation");a.componentInstance.operationAccepted.subscribe(function(){a.componentInstance.showProcessing();var o=[];t.selections.forEach(function(s,l){s&&o.push(l)}),t.deleteRecursively(o,a)})}},{key:"create",value:function(){rK.openDialog(this.dialog)}},{key:"showOptionsDialog",value:function(t){var a=this,o=[];o.push(t.isPersistent?{icon:"star_outline",label:"transports.make-non-persistent"}:{icon:"star",label:"transports.make-persistent"}),t.notFound||(o.push({icon:"visibility",label:"transports.details.title"}),o.push({icon:"close",label:"transports.delete"})),Bi.openDialog(this.dialog,o,"common.options").afterClosed().subscribe(function(s){1===s?a.changeIfPersistent([t],!t.isPersistent):2===s?a.details(t):3===s&&a.delete(t)})}},{key:"changeIfPersistentOfSelected",value:function(t){var a=this,o=[];this.allTransports.forEach(function(s){a.selections.has(s.id)&&a.selections.get(s.id)&&o.push(s)}),this.changeIfPersistent(o,t)}},{key:"changeIfPersistent",value:function(t,a){var o=this;if(!(t.length<1)){var s="transports.",l=cn.createConfirmationDialog(this.dialog,s+=1===t.length?a?"make-persistent-confirmation":"make"+(t[0].notFound?"-offline":"")+"-non-persistent-confirmation":a?"make-selected-persistent-confirmation":"make-selected-non-persistent-confirmation");l.componentInstance.operationAccepted.subscribe(function(){l.componentInstance.showProcessing(),o.persistentTransportSubscription=o.transportService.getPersistentTransports(o.nodePK).subscribe(function(u){var f=u||[],m=!1,C=new Map;if(t.forEach(function(V){return C.set(o.getPersistentTransportID(V.remotePk,V.type),V)}),a)f.forEach(function(V){C.has(o.getPersistentTransportID(V.pk,V.type))&&C.delete(o.getPersistentTransportID(V.pk,V.type))}),(m=0===C.size)||C.forEach(function(V){f.push({pk:V.remotePk,type:V.type})});else{m=!0;for(var I=0;Ithis.numberOfPages&&(this.currentPage=this.numberOfPages);var o=a*(this.currentPage-1);this.transportsToShow=this.filteredTransports.slice(o,o+a);var l=new Map;this.transportsToShow.forEach(function(f){l.set(f.id,!0),t.selections.has(f.id)||t.selections.set(f.id,!1)});var u=[];this.selections.forEach(function(f,m){l.has(m)||u.push(m)}),u.forEach(function(f){t.selections.delete(f)})}else this.transportsToShow=null,this.selections=new Map;this.dataSource=this.transportsToShow}},{key:"startDeleting",value:function(t){return this.transportService.delete(At.getCurrentNodeKey(),t)}},{key:"deleteRecursively",value:function(t,a){var o=this;this.operationSubscriptionsGroup.push(this.startDeleting(t[t.length-1]).subscribe(function(){t.pop(),0===t.length?(a.close(),At.refreshCurrentDisplayedData(),o.snackbarService.showDone("transports.deleted")):o.deleteRecursively(t,a)},function(s){At.refreshCurrentDisplayedData(),s=an(s),a.componentInstance.showDone("confirmation.error-header-text",s.translatableErrorMsg)}))}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Gn),B(Kb),B(si),B(rn),B(An),B(ui),B($i),B(Al))},n.\u0275cmp=qe({type:n,selectors:[["app-transport-list"]],inputs:{showShortList:"showShortList",node:"node"},decls:31,vars:31,consts:[[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","uppercase",4,"ngIf"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],[3,"inline","click"],["class","small-icon",3,"inline","click",4,"ngIf"],[3,"inline","matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"uppercase"],[1,"help","d-none","d-md-inline",3,"inline","matTooltip"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","click"],[3,"inline","matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow",3,"ngClass"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table",3,"ngClass"],[1,"sortable-column","small-column",3,"matTooltip","click"],[1,"persistent-icon","grey-text"],[3,"inline",4,"ngIf"],[1,"sortable-column",3,"click"],[1,"actions"],[3,"ngClass",4,"ngFor","ngForOf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none",3,"ngClass"],[1,"selectable",3,"click"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],[3,"inline"],[4,"ngFor","ngForOf"],[3,"numberOfElements","linkParts","queryParams",4,"ngIf"],[3,"ngClass"],[1,"selection-col"],[3,"checked","change"],["mat-icon-button","","class","action-button subtle-transparent-button",3,"matTooltip","click",4,"ngIf"],["shortTextLength","4",3,"short","id","labelEdited"],["mat-icon-button","","class","action-button transparent-button",3,"matTooltip","click",4,"ngIf"],["mat-icon-button","",1,"action-button","subtle-transparent-button",3,"matTooltip","click"],[1,"persistent-icon","default-cursor",3,"inline"],[1,"persistent-icon","grey-text",3,"inline"],["shortTextLength","4",3,"short","id","elementType","labelEdited"],["mat-icon-button","",1,"action-button","transparent-button",3,"matTooltip","click"],[1,"list-item-container",3,"ngClass"],[1,"check-part"],["class","list-row",4,"ngIf"],[1,"list-row","long-content"],[3,"id","elementType","labelEdited",4,"ngIf"],[3,"id","labelEdited"],[1,"list-row"],[1,"margin-part"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],[1,"persistent-icon",3,"inline"],[1,"yellow-clear-text","title"],[3,"id","elementType","labelEdited"],[3,"numberOfElements","linkParts","queryParams"],[1,"box-internal-container"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(e,t){1&e&&(E(0,"div",0)(1,"div",1),q(2,sK,6,7,"span",2),q(3,dK,5,4,"div",3),P(),E(4,"div",4)(5,"div",5)(6,"mat-icon",6),Se("click",function(){return t.create()}),R(7,"add"),P(),q(8,fK,2,1,"mat-icon",7),q(9,hK,2,2,"mat-icon",8),E(10,"mat-menu",9,10)(12,"div",11),Se("click",function(){return t.changeAllSelections(!0)}),R(13),Y(14,"translate"),P(),E(15,"div",11),Se("click",function(){return t.changeAllSelections(!1)}),R(16),Y(17,"translate"),P(),E(18,"div",12),Se("click",function(){return t.changeIfPersistentOfSelected(!0)}),R(19),Y(20,"translate"),P(),E(21,"div",12),Se("click",function(){return t.changeIfPersistentOfSelected(!1)}),R(22),Y(23,"translate"),P(),E(24,"div",12),Se("click",function(){return t.deleteSelected()}),R(25),Y(26,"translate"),P()()(),q(27,pK,1,6,"app-paginator",13),P()(),q(28,$K,50,46,"div",14),q(29,JK,6,3,"div",14),q(30,XK,1,6,"app-paginator",13)),2&e&&(S("ngClass",Qe(29,e$,!t.showShortList_&&t.numberOfPages>1&&t.dataSource)),p(2),S("ngIf",t.showShortList_),p(1),S("ngIf",t.dataFilterer.currentFiltersTexts&&t.dataFilterer.currentFiltersTexts.length>0),p(3),S("inline",!0),p(2),S("ngIf",t.allTransports&&t.allTransports.length>0),p(1),S("ngIf",t.dataSource&&t.dataSource.length>0),p(1),S("overlapTrigger",!1),p(3),ye(" ",U(14,19,"selection.select-all")," "),p(3),ye(" ",U(17,21,"selection.unselect-all")," "),p(2),Ln("disabled",!t.hasSelectedElements()),p(1),ye(" ",U(20,23,"transports.make-selected-persistent")," "),p(2),Ln("disabled",!t.hasSelectedElements()),p(1),ye(" ",U(23,25,"transports.make-selected-non-persistent")," "),p(2),Ln("disabled",!t.hasSelectedElements()),p(1),ye(" ",U(26,27,"selection.delete-all")," "),p(2),S("ngIf",!t.showShortList_&&t.numberOfPages>1&&t.dataSource),p(1),S("ngIf",t.dataSource&&t.dataSource.length>0),p(1),S("ngIf",!t.dataSource||0===t.dataSource.length),p(1),S("ngIf",!t.showShortList_&&t.numberOfPages>1&&t.dataSource))},directives:[mr,Et,Mn,ur,Or,kc,bc,ns,Mc,Ys,bi,ts,Ov],pipes:[Mt,Pf],styles:[".overflow[_ngcontent-%COMP%]{display:block;width:100%;overflow-x:auto}.overflow[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.actions[_ngcontent-%COMP%]{text-align:right;width:90px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}.small-column[_ngcontent-%COMP%]{width:1px;text-align:center}.persistent-icon[_ngcontent-%COMP%]{font-size:14px!important;color:#d48b05}.offline[_ngcontent-%COMP%]{opacity:.35}"]}),n}();function t$(n,i){1&n&&(E(0,"div",5)(1,"mat-icon",2),R(2,"settings"),P(),R(3),Y(4,"translate"),P()),2&n&&(p(1),S("inline",!0),p(2),ye("",U(4,2,"routes.details.specific-fields-titles.app")," "))}function n$(n,i){1&n&&(E(0,"div",5)(1,"mat-icon",2),R(2,"swap_horiz"),P(),R(3),Y(4,"translate"),P()),2&n&&(p(1),S("inline",!0),p(2),ye("",U(4,2,"routes.details.specific-fields-titles.forward")," "))}function r$(n,i){1&n&&(E(0,"div",5)(1,"mat-icon",2),R(2,"arrow_forward"),P(),R(3),Y(4,"translate"),P()),2&n&&(p(1),S("inline",!0),p(2),ye("",U(4,2,"routes.details.specific-fields-titles.intermediary-forward")," "))}function i$(n,i){if(1&n&&(E(0,"div")(1,"div",3)(2,"span"),R(3),Y(4,"translate"),P(),R(5),P(),E(6,"div",3)(7,"span"),R(8),Y(9,"translate"),P(),R(10),P()()),2&n){var e=K(2);p(3),ge(U(4,5,"routes.details.specific-fields.route-id")),p(2),ye(" ",e.routeRule.forwardFields?e.routeRule.forwardFields.nextRid:e.routeRule.intermediaryForwardFields.nextRid," "),p(3),ge(U(9,7,"routes.details.specific-fields.transport-id")),p(2),xi(" ",e.routeRule.forwardFields?e.routeRule.forwardFields.nextTid:e.routeRule.intermediaryForwardFields.nextTid," ",e.getLabel(e.routeRule.forwardFields?e.routeRule.forwardFields.nextTid:e.routeRule.intermediaryForwardFields.nextTid)," ")}}function a$(n,i){if(1&n&&(E(0,"div")(1,"div",3)(2,"span"),R(3),Y(4,"translate"),P(),R(5),P(),E(6,"div",3)(7,"span"),R(8),Y(9,"translate"),P(),R(10),P(),E(11,"div",3)(12,"span"),R(13),Y(14,"translate"),P(),R(15),P(),E(16,"div",3)(17,"span"),R(18),Y(19,"translate"),P(),R(20),P()()),2&n){var e=K(2);p(3),ge(U(4,10,"routes.details.specific-fields.destination-pk")),p(2),xi(" ",e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.dstPk:e.routeRule.forwardFields.routeDescriptor.dstPk," ",e.getLabel(e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.dstPk:e.routeRule.forwardFields.routeDescriptor.dstPk)," "),p(3),ge(U(9,12,"routes.details.specific-fields.source-pk")),p(2),xi(" ",e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.srcPk:e.routeRule.forwardFields.routeDescriptor.srcPk," ",e.getLabel(e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.srcPk:e.routeRule.forwardFields.routeDescriptor.srcPk)," "),p(3),ge(U(14,14,"routes.details.specific-fields.destination-port")),p(2),ye(" ",e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.dstPort:e.routeRule.forwardFields.routeDescriptor.dstPort," "),p(3),ge(U(19,16,"routes.details.specific-fields.source-port")),p(2),ye(" ",e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.srcPort:e.routeRule.forwardFields.routeDescriptor.srcPort," ")}}function o$(n,i){if(1&n&&(E(0,"div")(1,"div",5)(2,"mat-icon",2),R(3,"list"),P(),R(4),Y(5,"translate"),P(),E(6,"div",3)(7,"span"),R(8),Y(9,"translate"),P(),R(10),P(),E(11,"div",3)(12,"span"),R(13),Y(14,"translate"),P(),R(15),P(),E(16,"div",3)(17,"span"),R(18),Y(19,"translate"),P(),R(20),P(),q(21,t$,5,4,"div",6),q(22,n$,5,4,"div",6),q(23,r$,5,4,"div",6),q(24,i$,11,9,"div",4),q(25,a$,21,18,"div",4),P()),2&n){var e=K();p(2),S("inline",!0),p(2),ye("",U(5,13,"routes.details.summary.title")," "),p(4),ge(U(9,15,"routes.details.summary.keep-alive")),p(2),ye(" ",e.routeRule.ruleSummary.keepAlive," "),p(3),ge(U(14,17,"routes.details.summary.type")),p(2),ye(" ",e.getRuleTypeName(e.routeRule.ruleSummary.ruleType)," "),p(3),ge(U(19,19,"routes.details.summary.key-route-id")),p(2),ye(" ",e.routeRule.ruleSummary.keyRouteId," "),p(1),S("ngIf",e.routeRule.appFields),p(1),S("ngIf",e.routeRule.forwardFields),p(1),S("ngIf",e.routeRule.intermediaryForwardFields),p(1),S("ngIf",e.routeRule.forwardFields||e.routeRule.intermediaryForwardFields),p(1),S("ngIf",e.routeRule.appFields&&e.routeRule.appFields.routeDescriptor||e.routeRule.forwardFields&&e.routeRule.forwardFields.routeDescriptor)}}var s$=function(){var n=function(){function i(e,t,a){c(this,i),this.dialogRef=t,this.storageService=a,this.ruleTypes=new Map([[0,"App"],[1,"Forward"],[2,"Intermediary forward"]]),this.routeRule=e}return d(i,[{key:"getRuleTypeName",value:function(t){return this.ruleTypes.has(t)?this.ruleTypes.get(t):t.toString()}},{key:"closePopup",value:function(){this.dialogRef.close()}},{key:"getLabel",value:function(t){var a=this.storageService.getLabelInfo(t);return a?" ("+a.label+")":""}}],[{key:"openDialog",value:function(t,a){var o=new Zn;return o.data=a,o.autoFocus=!1,o.width=Kt.largeModalWidth,t.open(i,o)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Ur),B(Dr),B($i))},n.\u0275cmp=qe({type:n,selectors:[["app-route-details"]],decls:19,vars:16,consts:[[1,"info-dialog",3,"headline"],[1,"title","mt-0"],[3,"inline"],[1,"item"],[4,"ngIf"],[1,"title"],["class","title",4,"ngIf"]],template:function(e,t){1&e&&(E(0,"app-dialog",0),Y(1,"translate"),E(2,"div")(3,"div",1)(4,"mat-icon",2),R(5,"list"),P(),R(6),Y(7,"translate"),P(),E(8,"div",3)(9,"span"),R(10),Y(11,"translate"),P(),R(12),P(),E(13,"div",3)(14,"span"),R(15),Y(16,"translate"),P(),R(17),P(),q(18,o$,26,21,"div",4),P()()),2&e&&(S("headline",U(1,8,"routes.details.title")),p(4),S("inline",!0),p(2),ye("",U(7,10,"routes.details.basic.title")," "),p(4),ge(U(11,12,"routes.details.basic.key")),p(2),ye(" ",t.routeRule.key," "),p(3),ge(U(16,14,"routes.details.basic.rule")),p(2),ye(" ",t.routeRule.rule," "),p(1),S("ngIf",t.routeRule.ruleSummary))},directives:[_r,Mn,Et],pipes:[Mt],styles:[""]}),n}(),zE=function(){var n=function(){function i(e){c(this,i),this.apiService=e}return d(i,[{key:"get",value:function(t,a){return this.apiService.get("visors/".concat(t,"/routes/").concat(a))}},{key:"delete",value:function(t,a){return this.apiService.delete("visors/".concat(t,"/routes/").concat(a))}},{key:"setMinHops",value:function(t,a){var o={min_hops:a};return this.apiService.post("visors/".concat(t,"/min-hops"),o)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(El))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}();function l$(n,i){1&n&&(E(0,"span",14),R(1),Y(2,"translate"),E(3,"mat-icon",15),Y(4,"translate"),R(5,"help"),P()()),2&n&&(p(1),ye(" ",U(2,3,"routes.title")," "),p(2),S("inline",!0)("matTooltip",U(4,5,"routes.info")))}function u$(n,i){if(1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n){var e=K().$implicit;p(1),ge(U(2,1,e.translatableValue))}}function c$(n,i){if(1&n&&(ze(0),R(1),We()),2&n){var e=K().$implicit;p(1),ge(e.value)}}function d$(n,i){if(1&n&&(E(0,"div",19)(1,"span"),R(2),Y(3,"translate"),P(),q(4,u$,3,3,"ng-container",20),q(5,c$,2,1,"ng-container",20),P()),2&n){var e=i.$implicit;p(2),ye("",U(3,3,e.filterName),": "),p(2),S("ngIf",e.translatableValue),p(1),S("ngIf",e.value)}}function f$(n,i){if(1&n){var e=tt();E(0,"div",16),Se("click",function(){return ke(e),K().dataFilterer.removeFilters()}),q(1,d$,6,5,"div",17),E(2,"div",18),R(3),Y(4,"translate"),P()()}if(2&n){var t=K();p(1),S("ngForOf",t.dataFilterer.currentFiltersTexts),p(2),ge(U(4,2,"filters.press-to-remove"))}}function h$(n,i){if(1&n){var e=tt();E(0,"mat-icon",21),Se("click",function(){return ke(e),K().dataFilterer.changeFilters()}),Y(1,"translate"),R(2,"filter_list"),P()}2&n&&S("inline",!0)("matTooltip",U(1,2,"filters.filter-action"))}function p$(n,i){1&n&&(E(0,"mat-icon",22),R(1,"more_horiz"),P()),2&n&&(K(),S("matMenuTriggerFor",sr(9)))}var Zb=function(i){return["/nodes",i,"routes"]};function v$(n,i){if(1&n&&Te(0,"app-paginator",23),2&n){var e=K();S("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Qe(4,Zb,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function m$(n,i){if(1&n&&(E(0,"mat-icon",36),R(1),P()),2&n){var e=K(2);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function g$(n,i){if(1&n&&(E(0,"mat-icon",36),R(1),P()),2&n){var e=K(2);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function _$(n,i){if(1&n&&(E(0,"mat-icon",36),R(1),P()),2&n){var e=K(2);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function y$(n,i){if(1&n&&(E(0,"mat-icon",36),R(1),P()),2&n){var e=K(2);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function b$(n,i){if(1&n){var e=tt();ze(0),E(1,"td")(2,"app-labeled-element-text",41),Se("labelEdited",function(){return ke(e),K(3).refreshData()}),P()(),E(3,"td")(4,"app-labeled-element-text",41),Se("labelEdited",function(){return ke(e),K(3).refreshData()}),P()(),We()}if(2&n){var t=K().$implicit,a=K(2);p(2),Ln("id",t.src),S("short",!0)("elementType",a.labeledElementTypes.Node),p(2),Ln("id",t.dst),S("short",!0)("elementType",a.labeledElementTypes.Node)}}function k$(n,i){if(1&n){var e=tt();ze(0),E(1,"td"),R(2,"---"),P(),E(3,"td")(4,"app-labeled-element-text",42),Se("labelEdited",function(){return ke(e),K(3).refreshData()}),P()(),We()}if(2&n){var t=K().$implicit,a=K(2);p(4),Ln("id",t.dst),S("short",!0)("elementType",a.labeledElementTypes.Transport)}}function M$(n,i){1&n&&(ze(0),E(1,"td"),R(2,"---"),P(),E(3,"td"),R(4,"---"),P(),We())}function C$(n,i){if(1&n){var e=tt();E(0,"tr")(1,"td",38)(2,"mat-checkbox",39),Se("change",function(){var l=ke(e).$implicit;return K(2).changeSelection(l)}),P()(),E(3,"td"),R(4),P(),E(5,"td"),R(6),P(),q(7,b$,5,6,"ng-container",20),q(8,k$,5,3,"ng-container",20),q(9,M$,5,0,"ng-container",20),E(10,"td",29)(11,"button",40),Se("click",function(){var l=ke(e).$implicit;return K(2).details(l)}),Y(12,"translate"),E(13,"mat-icon",36),R(14,"visibility"),P()(),E(15,"button",40),Se("click",function(){var l=ke(e).$implicit;return K(2).delete(l.key)}),Y(16,"translate"),E(17,"mat-icon",36),R(18,"close"),P()()()()}if(2&n){var t=i.$implicit,a=K(2);p(2),S("checked",a.selections.get(t.key)),p(2),ye(" ",t.key," "),p(2),ye(" ",a.getTypeName(t.type)," "),p(1),S("ngIf",t.appFields||t.forwardFields),p(1),S("ngIf",!t.appFields&&!t.forwardFields&&t.intermediaryForwardFields),p(1),S("ngIf",!t.appFields&&!t.forwardFields&&!t.intermediaryForwardFields),p(2),S("matTooltip",U(12,10,"routes.details.title")),p(2),S("inline",!0),p(2),S("matTooltip",U(16,12,"routes.delete")),p(2),S("inline",!0)}}function w$(n,i){1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n&&(p(1),ge(U(2,1,"tables.label")))}function S$(n,i){1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n&&(p(1),ge(U(2,1,"tables.inverted-order")))}function D$(n,i){if(1&n){var e=tt();ze(0),E(1,"div",44)(2,"span",1),R(3),Y(4,"translate"),P(),R(5,": "),E(6,"app-labeled-element-text",47),Se("labelEdited",function(){return ke(e),K(3).refreshData()}),P()(),E(7,"div",44)(8,"span",1),R(9),Y(10,"translate"),P(),R(11,": "),E(12,"app-labeled-element-text",47),Se("labelEdited",function(){return ke(e),K(3).refreshData()}),P()(),We()}if(2&n){var t=K().$implicit,a=K(2);p(3),ge(U(4,6,"routes.source")),p(3),Ln("id",t.src),S("elementType",a.labeledElementTypes.Node),p(3),ge(U(10,8,"routes.destination")),p(3),Ln("id",t.dst),S("elementType",a.labeledElementTypes.Node)}}function T$(n,i){if(1&n){var e=tt();ze(0),E(1,"div",44)(2,"span",1),R(3),Y(4,"translate"),P(),R(5,": --- "),P(),E(6,"div",44)(7,"span",1),R(8),Y(9,"translate"),P(),R(10,": "),E(11,"app-labeled-element-text",47),Se("labelEdited",function(){return ke(e),K(3).refreshData()}),P()(),We()}if(2&n){var t=K().$implicit,a=K(2);p(3),ge(U(4,4,"routes.source")),p(5),ge(U(9,6,"routes.destination")),p(3),Ln("id",t.dst),S("elementType",a.labeledElementTypes.Transport)}}function L$(n,i){1&n&&(ze(0),E(1,"div",44)(2,"span",1),R(3),Y(4,"translate"),P(),R(5,": --- "),P(),E(6,"div",44)(7,"span",1),R(8),Y(9,"translate"),P(),R(10,": --- "),P(),We()),2&n&&(p(3),ge(U(4,2,"routes.source")),p(5),ge(U(9,4,"routes.destination")))}function E$(n,i){if(1&n){var e=tt();E(0,"tr")(1,"td")(2,"div",33)(3,"div",43)(4,"mat-checkbox",39),Se("change",function(){var l=ke(e).$implicit;return K(2).changeSelection(l)}),P()(),E(5,"div",34)(6,"div",44)(7,"span",1),R(8),Y(9,"translate"),P(),R(10),P(),E(11,"div",44)(12,"span",1),R(13),Y(14,"translate"),P(),R(15),P(),q(16,D$,13,10,"ng-container",20),q(17,T$,12,8,"ng-container",20),q(18,L$,11,6,"ng-container",20),P(),Te(19,"div",45),E(20,"div",35)(21,"button",46),Se("click",function(s){var u=ke(e).$implicit,f=K(2);return s.stopPropagation(),f.showOptionsDialog(u)}),Y(22,"translate"),E(23,"mat-icon"),R(24),P()()()()()()}if(2&n){var t=i.$implicit,a=K(2);p(4),S("checked",a.selections.get(t.key)),p(4),ge(U(9,10,"routes.key")),p(2),ye(": ",t.key," "),p(3),ge(U(14,12,"routes.type")),p(2),ye(": ",a.getTypeName(t.type)," "),p(1),S("ngIf",t.appFields||t.forwardFields),p(1),S("ngIf",!t.appFields&&!t.forwardFields&&t.intermediaryForwardFields),p(1),S("ngIf",!t.appFields&&!t.forwardFields&&!t.intermediaryForwardFields),p(3),S("matTooltip",U(22,14,"common.options")),p(3),ge("add")}}function P$(n,i){if(1&n&&Te(0,"app-view-all-link",48),2&n){var e=K(2);S("numberOfElements",e.filteredRoutes.length)("linkParts",Qe(3,Zb,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}var x$=function(i,e){return{"small-node-list-margins":i,"full-node-list-margins":e}},O$=function(i){return{"d-lg-none d-xl-table":i}},A$=function(i){return{"d-lg-table d-xl-none":i}};function I$(n,i){if(1&n){var e=tt();E(0,"div",24)(1,"div",25)(2,"table",26)(3,"tr"),Te(4,"th"),E(5,"th",27),Se("click",function(){ke(e);var o=K();return o.dataSorter.changeSortingOrder(o.keySortData)}),R(6),Y(7,"translate"),q(8,m$,2,2,"mat-icon",28),P(),E(9,"th",27),Se("click",function(){ke(e);var o=K();return o.dataSorter.changeSortingOrder(o.typeSortData)}),R(10),Y(11,"translate"),q(12,g$,2,2,"mat-icon",28),P(),E(13,"th",27),Se("click",function(){ke(e);var o=K();return o.dataSorter.changeSortingOrder(o.sourceSortData)}),R(14),Y(15,"translate"),q(16,_$,2,2,"mat-icon",28),P(),E(17,"th",27),Se("click",function(){ke(e);var o=K();return o.dataSorter.changeSortingOrder(o.destinationSortData)}),R(18),Y(19,"translate"),q(20,y$,2,2,"mat-icon",28),P(),Te(21,"th",29),P(),q(22,C$,19,14,"tr",30),P(),E(23,"table",31)(24,"tr",32),Se("click",function(){return ke(e),K().dataSorter.openSortingOrderModal()}),E(25,"td")(26,"div",33)(27,"div",34)(28,"div",1),R(29),Y(30,"translate"),P(),E(31,"div"),R(32),Y(33,"translate"),q(34,w$,3,3,"ng-container",20),q(35,S$,3,3,"ng-container",20),P()(),E(36,"div",35)(37,"mat-icon",36),R(38,"keyboard_arrow_down"),P()()()()(),q(39,E$,25,16,"tr",30),P(),q(40,P$,1,5,"app-view-all-link",37),P()()}if(2&n){var t=K();p(1),S("ngClass",En(31,x$,t.showShortList_,!t.showShortList_)),p(1),S("ngClass",Qe(34,O$,t.showShortList_)),p(4),ye(" ",U(7,19,"routes.key")," "),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.keySortData),p(2),ye(" ",U(11,21,"routes.type")," "),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.typeSortData),p(2),ye(" ",U(15,23,"routes.source")," "),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.sourceSortData),p(2),ye(" ",U(19,25,"routes.destination")," "),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.destinationSortData),p(2),S("ngForOf",t.dataSource),p(1),S("ngClass",Qe(36,A$,t.showShortList_)),p(6),ge(U(30,27,"tables.sorting-title")),p(3),ye("",U(33,29,t.dataSorter.currentSortingColumn.label)," "),p(2),S("ngIf",t.dataSorter.currentlySortingByLabel),p(1),S("ngIf",t.dataSorter.sortingInReverseOrder),p(2),S("inline",!0),p(2),S("ngForOf",t.dataSource),p(1),S("ngIf",t.showShortList_&&t.numberOfPages>1)}}function F$(n,i){1&n&&(E(0,"span",52),R(1),Y(2,"translate"),P()),2&n&&(p(1),ge(U(2,1,"routes.empty")))}function R$(n,i){1&n&&(E(0,"span",52),R(1),Y(2,"translate"),P()),2&n&&(p(1),ge(U(2,1,"routes.empty-with-filter")))}function N$(n,i){if(1&n&&(E(0,"div",24)(1,"div",49)(2,"mat-icon",50),R(3,"warning"),P(),q(4,F$,3,3,"span",51),q(5,R$,3,3,"span",51),P()()),2&n){var e=K();p(2),S("inline",!0),p(2),S("ngIf",0===e.allRoutes.length),p(1),S("ngIf",0!==e.allRoutes.length)}}function Y$(n,i){if(1&n&&Te(0,"app-paginator",23),2&n){var e=K();S("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Qe(4,Zb,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}var H$=function(i){return{"paginator-icons-fixer":i}},WE=function(){var n=function(){function i(e,t,a,o,s,l,u){var f=this;c(this,i),this.routeService=e,this.dialog=t,this.route=a,this.router=o,this.snackbarService=s,this.translateService=l,this.storageService=u,this.listId="rl",this.keySortData=new xn(["key"],"routes.key",Jt.Number),this.typeSortData=new xn(["type"],"routes.type",Jt.Number),this.sourceSortData=new xn(["src"],"routes.source",Jt.Text,["src_label"]),this.destinationSortData=new xn(["dst"],"routes.destination",Jt.Text,["dst_label"]),this.labeledElementTypes=li,this.selections=new Map,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"routes.filter-dialog.key",keyNameInElementsArray:"key",type:qn.TextInput,maxlength:8},{filterName:"routes.filter-dialog.source",keyNameInElementsArray:"src",secondaryKeyNameInElementsArray:"src_label",type:qn.TextInput,maxlength:66},{filterName:"routes.filter-dialog.destination",keyNameInElementsArray:"dst",secondaryKeyNameInElementsArray:"dst_label",type:qn.TextInput,maxlength:66}],this.ruleTypes=new Map([[0,"App"],[1,"Forward"],[2,"Int. forward"]]),this.operationSubscriptionsGroup=[],this.dataSorter=new vc(this.dialog,this.translateService,[this.keySortData,this.typeSortData,this.sourceSortData,this.destinationSortData],0,this.listId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(function(){f.recalculateElementsToShow()});var C={filterName:"routes.filter-dialog.type",keyNameInElementsArray:"type",type:qn.Select,printableLabelsForValues:[{value:"",label:"routes.filter-dialog.any-type-option"}]};this.ruleTypes.forEach(function(I,V){C.printableLabelsForValues.push({value:V+"",label:I})}),this.filterProperties=[C].concat(this.filterProperties),this.dataFilterer=new gc(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(function(I){f.filteredRoutes=I,f.dataSorter.setData(f.filteredRoutes)}),this.navigationsSubscription=this.route.paramMap.subscribe(function(I){if(I.has("page")){var V=Number.parseInt(I.get("page"),10);(isNaN(V)||V<1)&&(V=1),f.currentPageInUrl=V,f.recalculateElementsToShow()}})}return d(i,[{key:"showShortList",set:function(t){this.showShortList_=t,this.dataSorter.setData(this.filteredRoutes)}},{key:"routes",set:function(t){var a=this;this.allRoutes=t,this.allRoutes.forEach(function(o){if(o.type=o.ruleSummary.ruleType||0===o.ruleSummary.ruleType?o.ruleSummary.ruleType:"",o.appFields||o.forwardFields){var s=o.appFields?o.appFields.routeDescriptor:o.forwardFields.routeDescriptor;o.src=s.srcPk,o.src_label=ts.getCompleteLabel(a.storageService,a.translateService,o.src),o.dst=s.dstPk,o.dst_label=ts.getCompleteLabel(a.storageService,a.translateService,o.dst)}else o.intermediaryForwardFields?(o.src="",o.src_label="",o.dst=o.intermediaryForwardFields.nextTid,o.dst_label=ts.getCompleteLabel(a.storageService,a.translateService,o.dst)):(o.src="",o.src_label="",o.dst="",o.dst_label="")}),this.dataFilterer.setData(this.allRoutes)}},{key:"ngOnDestroy",value:function(){this.navigationsSubscription.unsubscribe(),this.operationSubscriptionsGroup.forEach(function(t){return t.unsubscribe()}),this.dataSortedSubscription.unsubscribe(),this.dataFiltererSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFilterer.dispose()}},{key:"refreshData",value:function(){At.refreshCurrentDisplayedData()}},{key:"getTypeName",value:function(t){return this.ruleTypes.has(t)?this.ruleTypes.get(t):"Unknown"}},{key:"changeSelection",value:function(t){this.selections.get(t.key)?this.selections.set(t.key,!1):this.selections.set(t.key,!0)}},{key:"hasSelectedElements",value:function(){if(!this.selections)return!1;var t=!1;return this.selections.forEach(function(a){a&&(t=!0)}),t}},{key:"changeAllSelections",value:function(t){var a=this;this.selections.forEach(function(o,s){a.selections.set(s,t)})}},{key:"deleteSelected",value:function(){var t=this,a=cn.createConfirmationDialog(this.dialog,"routes.delete-selected-confirmation");a.componentInstance.operationAccepted.subscribe(function(){a.componentInstance.showProcessing();var o=[];t.selections.forEach(function(s,l){s&&o.push(l)}),t.deleteRecursively(o,a)})}},{key:"showOptionsDialog",value:function(t){var a=this;Bi.openDialog(this.dialog,[{icon:"visibility",label:"routes.details.title"},{icon:"close",label:"routes.delete"}],"common.options").afterClosed().subscribe(function(s){1===s?a.details(t):2===s&&a.delete(t.key)})}},{key:"details",value:function(t){s$.openDialog(this.dialog,t)}},{key:"delete",value:function(t){var a=this,o=cn.createConfirmationDialog(this.dialog,"routes.delete-confirmation");o.componentInstance.operationAccepted.subscribe(function(){o.componentInstance.showProcessing(),a.operationSubscriptionsGroup.push(a.startDeleting(t).subscribe(function(){o.close(),At.refreshCurrentDisplayedData(),a.snackbarService.showDone("routes.deleted")},function(s){s=an(s),o.componentInstance.showDone("confirmation.error-header-text",s.translatableErrorMsg)}))})}},{key:"recalculateElementsToShow",value:function(){var t=this;if(this.currentPage=this.currentPageInUrl,this.filteredRoutes){var a=this.showShortList_?Kt.maxShortListElements:Kt.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredRoutes.length/a),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);var o=a*(this.currentPage-1);this.routesToShow=this.filteredRoutes.slice(o,o+a);var l=new Map;this.routesToShow.forEach(function(f){l.set(f.key,!0),t.selections.has(f.key)||t.selections.set(f.key,!1)});var u=[];this.selections.forEach(function(f,m){l.has(m)||u.push(m)}),u.forEach(function(f){t.selections.delete(f)})}else this.routesToShow=null,this.selections=new Map;this.dataSource=this.routesToShow}},{key:"startDeleting",value:function(t){return this.routeService.delete(At.getCurrentNodeKey(),t.toString())}},{key:"deleteRecursively",value:function(t,a){var o=this;this.operationSubscriptionsGroup.push(this.startDeleting(t[t.length-1]).subscribe(function(){t.pop(),0===t.length?(a.close(),At.refreshCurrentDisplayedData(),o.snackbarService.showDone("routes.deleted")):o.deleteRecursively(t,a)},function(s){At.refreshCurrentDisplayedData(),s=an(s),a.componentInstance.showDone("confirmation.error-header-text",s.translatableErrorMsg)}))}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(zE),B(Gn),B(si),B(rn),B(An),B(ui),B($i))},n.\u0275cmp=qe({type:n,selectors:[["app-route-list"]],inputs:{nodePK:"nodePK",showShortList:"showShortList",routes:"routes"},decls:23,vars:22,consts:[[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","uppercase",4,"ngIf"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],["class","small-icon",3,"inline","matTooltip","click",4,"ngIf"],[3,"matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"uppercase"],[1,"help","d-none","d-md-inline",3,"inline","matTooltip"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","matTooltip","click"],[3,"matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow",3,"ngClass"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table",3,"ngClass"],[1,"sortable-column",3,"click"],[3,"inline",4,"ngIf"],[1,"actions"],[4,"ngFor","ngForOf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none",3,"ngClass"],[1,"selectable",3,"click"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],[3,"inline"],[3,"numberOfElements","linkParts","queryParams",4,"ngIf"],[1,"selection-col"],[3,"checked","change"],["mat-icon-button","",1,"action-button","transparent-button",3,"matTooltip","click"],["shortTextLength","7",3,"short","id","elementType","labelEdited"],["shortTextLength","5",3,"short","id","elementType","labelEdited"],[1,"check-part"],[1,"list-row","long-content"],[1,"margin-part"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],[3,"id","elementType","labelEdited"],[3,"numberOfElements","linkParts","queryParams"],[1,"box-internal-container"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(e,t){1&e&&(E(0,"div",0)(1,"div",1),q(2,l$,6,7,"span",2),q(3,f$,5,4,"div",3),P(),E(4,"div",4)(5,"div",5),q(6,h$,3,4,"mat-icon",6),q(7,p$,2,1,"mat-icon",7),E(8,"mat-menu",8,9)(10,"div",10),Se("click",function(){return t.changeAllSelections(!0)}),R(11),Y(12,"translate"),P(),E(13,"div",10),Se("click",function(){return t.changeAllSelections(!1)}),R(14),Y(15,"translate"),P(),E(16,"div",11),Se("click",function(){return t.deleteSelected()}),R(17),Y(18,"translate"),P()()(),q(19,v$,1,6,"app-paginator",12),P()(),q(20,I$,41,38,"div",13),q(21,N$,6,3,"div",13),q(22,Y$,1,6,"app-paginator",12)),2&e&&(S("ngClass",Qe(20,H$,!t.showShortList_&&t.numberOfPages>1&&t.dataSource)),p(2),S("ngIf",t.showShortList_),p(1),S("ngIf",t.dataFilterer.currentFiltersTexts&&t.dataFilterer.currentFiltersTexts.length>0),p(3),S("ngIf",t.allRoutes&&t.allRoutes.length>0),p(1),S("ngIf",t.dataSource&&t.dataSource.length>0),p(1),S("overlapTrigger",!1),p(3),ye(" ",U(12,14,"selection.select-all")," "),p(3),ye(" ",U(15,16,"selection.unselect-all")," "),p(2),Ln("disabled",!t.hasSelectedElements()),p(1),ye(" ",U(18,18,"selection.delete-all")," "),p(2),S("ngIf",!t.showShortList_&&t.numberOfPages>1&&t.dataSource),p(1),S("ngIf",t.dataSource&&t.dataSource.length>0),p(1),S("ngIf",!t.dataSource||0===t.dataSource.length),p(1),S("ngIf",!t.showShortList_&&t.numberOfPages>1&&t.dataSource))},directives:[mr,Et,Mn,ur,Or,kc,bc,ns,Mc,Ys,ts,bi,Ov],pipes:[Mt],styles:[".actions[_ngcontent-%COMP%]{text-align:right;width:90px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}"]}),n}(),B$=function(){var n=function(){function i(){c(this,i)}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.dataSubscription=At.currentNode.subscribe(function(a){t.nodePK=a.localPk,t.node=a,t.routes=a.routes})}},{key:"ngOnDestroy",value:function(){this.dataSubscription.unsubscribe()}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=qe({type:n,selectors:[["app-routing"]],decls:2,vars:5,consts:[[3,"node","showShortList"],[3,"routes","showShortList","nodePK"]],template:function(e,t){1&e&&Te(0,"app-transport-list",0)(1,"app-route-list",1),2&e&&(S("node",t.node)("showShortList",!0),p(1),S("routes",t.routes)("showShortList",!0)("nodePK",t.nodePK))},directives:[UE,WE],styles:[""]}),n}();function V$(n,i){if(1&n&&(E(0,"mat-option",4),R(1),Y(2,"translate"),P()),2&n){var e=i.$implicit;S("value",e.days),p(1),ge(U(2,2,e.text))}}var j$=function(){var n=function(){function i(e,t,a){c(this,i),this.data=e,this.dialogRef=t,this.formBuilder=a}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.filters=[{text:"apps.log.filter.7-days",days:7},{text:"apps.log.filter.1-month",days:30},{text:"apps.log.filter.3-months",days:90},{text:"apps.log.filter.6-months",days:180},{text:"apps.log.filter.1-year",days:365},{text:"apps.log.filter.all",days:-1}],this.form=this.formBuilder.group({filter:[this.data.days]}),this.formSubscription=this.form.get("filter").valueChanges.subscribe(function(a){t.dialogRef.close(t.filters.find(function(o){return o.days===a}))})}},{key:"ngOnDestroy",value:function(){this.formSubscription.unsubscribe()}}],[{key:"openDialog",value:function(t,a){var o=new Zn;return o.data=a,o.autoFocus=!1,o.width=Kt.smallModalWidth,t.open(i,o)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Ur),B(Dr),B(Zi))},n.\u0275cmp=qe({type:n,selectors:[["app-log-filter"]],decls:7,vars:8,consts:[[3,"headline"],[3,"formGroup"],["formControlName","filter",3,"placeholder"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(e,t){1&e&&(E(0,"app-dialog",0),Y(1,"translate"),E(2,"form",1)(3,"mat-form-field")(4,"mat-select",2),Y(5,"translate"),q(6,V$,3,4,"mat-option",3),P()()()()),2&e&&(S("headline",U(1,4,"apps.log.filter.title")),p(2),S("formGroup",t.form),p(2),S("placeholder",U(5,6,"apps.log.filter.filter")),p(2),S("ngForOf",t.filters))},directives:[_r,ei,Xr,gr,ki,Tf,Jr,zr,Or,lc],pipes:[Mt],styles:["mat-form-field[_ngcontent-%COMP%]{margin-bottom:-24px}"]}),n}(),U$=["content"];function z$(n,i){if(1&n&&(E(0,"div",8)(1,"span",3),R(2),P(),R(3),P()),2&n){var e=i.$implicit;p(2),ye(" ",e.time," "),p(1),ye(" ",e.msg," ")}}function W$(n,i){1&n&&(E(0,"div",9),R(1),Y(2,"translate"),P()),2&n&&(p(1),ye(" ",U(2,1,"apps.log.empty")," "))}function G$(n,i){1&n&&Te(0,"app-loading-indicator",10),2&n&&S("showWhite",!1)}var q$=function(){var n=function(){function i(e,t,a,o){c(this,i),this.data=e,this.appsService=t,this.dialog=a,this.snackbarService=o,this.logMessages=[],this.loading=!1,this.currentFilter={text:"apps.log.filter.7-days",days:7},this.shouldShowError=!0}return d(i,[{key:"ngOnInit",value:function(){this.loadData(0)}},{key:"ngOnDestroy",value:function(){this.removeSubscription()}},{key:"filter",value:function(){var t=this;j$.openDialog(this.dialog,this.currentFilter).afterClosed().subscribe(function(a){a&&(t.currentFilter=a,t.logMessages=[],t.loadData(0))})}},{key:"loadData",value:function(t){var a=this;this.removeSubscription(),this.loading=!0,this.subscription=Je(1).pipe(Mi(t),Dn(function(){return a.appsService.getLogMessages(At.getCurrentNodeKey(),a.data.name,a.currentFilter.days)})).subscribe(function(o){return a.onLogsReceived(o)},function(o){return a.onLogsError(o)})}},{key:"removeSubscription",value:function(){this.subscription&&this.subscription.unsubscribe()}},{key:"onLogsReceived",value:function(){var t=this,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.loading=!1,this.shouldShowError=!0,this.snackbarService.closeCurrentIfTemporaryError(),a.forEach(function(o){var s=o.startsWith("[")?0:-1,l=-1!==s?o.indexOf("]"):-1;t.logMessages.push(-1!==s&&-1!==l?{time:o.substr(s,l+1),msg:o.substr(l+1)}:{time:"",msg:o})}),setTimeout(function(){t.content.nativeElement.scrollTop=t.content.nativeElement.scrollHeight})}},{key:"onLogsError",value:function(t){t=an(t),this.shouldShowError&&(this.snackbarService.showError("common.loading-error",null,!0,t),this.shouldShowError=!1),this.loadData(Kt.connectionRetryDelay)}}],[{key:"openDialog",value:function(t,a){var o=new Zn;return o.data=a,o.autoFocus=!1,o.width=Kt.largeModalWidth,t.open(i,o)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Ur),B(_c),B(Gn),B(An))},n.\u0275cmp=qe({type:n,selectors:[["app-log"]],viewQuery:function(e,t){var a;1&e&>(U$,5),2&e&<(a=ut())&&(t.content=a.first)},decls:16,vars:14,consts:[[3,"headline","includeVerticalMargins","includeScrollableArea"],[1,"filter-link-container"],[1,"filter-link","subtle-transparent-button",3,"click"],[1,"transparent"],["content",""],["class","app-log-message",4,"ngFor","ngForOf"],["class","app-log-empty mt-3",4,"ngIf"],[3,"showWhite",4,"ngIf"],[1,"app-log-message"],[1,"app-log-empty","mt-3"],[3,"showWhite"]],template:function(e,t){1&e&&(E(0,"app-dialog",0),Y(1,"translate"),E(2,"div",1)(3,"div",2),Se("click",function(){return t.filter()}),E(4,"span",3),R(5),Y(6,"translate"),P(),R(7,"\xa0 "),E(8,"span"),R(9),Y(10,"translate"),P()()(),E(11,"mat-dialog-content",null,4),q(13,z$,4,2,"div",5),q(14,W$,3,3,"div",6),q(15,G$,1,1,"app-loading-indicator",7),P()()),2&e&&(S("headline",U(1,8,"apps.log.title"))("includeVerticalMargins",!1)("includeScrollableArea",!1),p(5),ge(U(6,10,"apps.log.filter-button")),p(4),ge(U(10,12,t.currentFilter.text)),p(4),S("ngForOf",t.logMessages),p(1),S("ngIf",!(t.loading||t.logMessages&&0!==t.logMessages.length)),p(1),S("ngIf",t.loading))},directives:[_r,yb,Or,Et,es],pipes:[Mt],styles:[".mat-dialog-content[_ngcontent-%COMP%]{font-size:.875rem}.app-log-message[_ngcontent-%COMP%]{margin-top:15px;word-break:break-word}.app-log-message[_ngcontent-%COMP%] .transparent[_ngcontent-%COMP%]{color:#999}.app-log-message[_ngcontent-%COMP%]:first-of-type{margin-top:0}.app-log-message[_ngcontent-%COMP%]:last-of-type{margin-bottom:24px}.filter-link-container[_ngcontent-%COMP%]{text-align:center;margin:15px 0}.filter-link-container[_ngcontent-%COMP%] .filter-link[_ngcontent-%COMP%]{display:inline-block;background:#F8F9F9;padding:5px 10px;border-radius:1000px;font-size:.875rem;text-align:center;color:#215f9e;cursor:pointer}.filter-link-container[_ngcontent-%COMP%] .filter-link[_ngcontent-%COMP%] .transparent[_ngcontent-%COMP%]{color:#215f9e80}"]}),n}(),K$=["button"],$$=["firstInput"];function Z$(n,i){1&n&&(E(0,"mat-form-field"),Te(1,"input",9),Y(2,"translate"),P()),2&n&&(p(1),S("placeholder",U(2,1,"apps.vpn-socks-server-settings.netifc")))}function Q$(n,i){if(1&n){var e=tt();E(0,"div",10)(1,"mat-checkbox",11),Se("change",function(o){return ke(e),K().setSecureMode(o)}),R(2),Y(3,"translate"),E(4,"mat-icon",12),Y(5,"translate"),R(6,"help"),P()()()}if(2&n){var t=K();p(1),S("checked",t.secureMode),p(1),ye(" ",U(3,4,"apps.vpn-socks-server-settings.secure-mode-check")," "),p(2),S("inline",!0)("matTooltip",U(5,6,"apps.vpn-socks-server-settings.secure-mode-info"))}}var J$=function(){var n=function(){function i(e,t,a,o,s,l){c(this,i),this.data=e,this.appsService=t,this.formBuilder=a,this.dialogRef=o,this.snackbarService=s,this.dialog=l,this.configuringVpn=!1,this.secureMode=!1,-1!==e.name.toLocaleLowerCase().indexOf("vpn")&&(this.configuringVpn=!0)}return d(i,[{key:"ngOnInit",value:function(){var t=this;if(this.form=this.formBuilder.group({password:[""],passwordConfirmation:["",this.validatePasswords.bind(this)],netifc:[""]}),this.formSubscription=this.form.get("password").valueChanges.subscribe(function(){t.form.get("passwordConfirmation").updateValueAndValidity()}),this.data.args&&this.data.args.length>0)for(var a=0;a0),p(2),S("placeholder",U(6,8,"apps.vpn-socks-client-settings.filter-dialog.location")),p(3),S("placeholder",U(9,10,"apps.vpn-socks-client-settings.filter-dialog.pub-key")),p(4),ye(" ",U(13,12,"apps.vpn-socks-client-settings.filter-dialog.apply")," "))},directives:[_r,ei,Xr,gr,Et,ki,Tf,Jr,zr,lc,Or,iz,Qr,Qi,Hi,di],pipes:[Mt],styles:[""]}),n}(),cZ=["firstInput"],dZ=function(){var n=function(){function i(e,t){c(this,i),this.dialogRef=e,this.formBuilder=t}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.form=this.formBuilder.group({password:[""]}),setTimeout(function(){return t.firstInput.nativeElement.focus()})}},{key:"finish",value:function(){var t=this.form.get("password").value;this.dialogRef.close("-"+t)}}],[{key:"openDialog",value:function(t){var a=new Zn;return a.autoFocus=!1,a.width=Kt.smallModalWidth,t.open(i,a)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Dr),B(Zi))},n.\u0275cmp=qe({type:n,selectors:[["app-skysocks-client-password"]],viewQuery:function(e,t){var a;1&e&>(cZ,5),2&e&<(a=ut())&&(t.firstInput=a.first)},decls:13,vars:13,consts:[[3,"headline"],[3,"formGroup"],[1,"info"],["type","password","id","password","formControlName","password","maxlength","100","matInput","",3,"placeholder"],["firstInput",""],["color","primary","type","mat-raised-button",1,"float-right",3,"action"]],template:function(e,t){1&e&&(E(0,"app-dialog",0),Y(1,"translate"),E(2,"form",1)(3,"div",2),R(4),Y(5,"translate"),P(),E(6,"mat-form-field"),Te(7,"input",3,4),Y(9,"translate"),P()(),E(10,"app-button",5),Se("action",function(){return t.finish()}),R(11),Y(12,"translate"),P()()),2&e&&(S("headline",U(1,5,"apps.vpn-socks-client-settings.password-dialog.title")),p(2),S("formGroup",t.form),p(2),ge(U(5,7,"apps.vpn-socks-client-settings.password-dialog.info")),p(3),S("placeholder",U(9,9,"apps.vpn-socks-client-settings.password-dialog.password")),p(4),ye(" ",U(12,11,"apps.vpn-socks-client-settings.password-dialog.continue-button")," "))},directives:[_r,ei,Xr,gr,ki,Qr,Qi,Jr,zr,Hi,di],pipes:[Mt],styles:[".info[_ngcontent-%COMP%]{font-size:.7rem;margin-bottom:15px}"]}),n}(),fZ=function(){var n=function(){function i(e){c(this,i),this.http=e,this.discoveryServiceUrl="https://sd.skycoin.com/api/services?type="}return d(i,[{key:"getServices",value:function(t){var a=[];return this.http.get(this.discoveryServiceUrl+(t?"proxy":"vpn")).pipe(Lf(function(o){return o.pipe(Mi(4e3))}),$e(function(o){return o.forEach(function(s){var l=new gU,u=s.address.split(":");2===u.length&&(l.address=s.address,l.pk=u[0],l.port=u[1],l.location="",s.geo&&(s.geo.country&&(l.country=s.geo.country,l.location+=is[s.geo.country.toUpperCase()]?is[s.geo.country.toUpperCase()]:s.geo.country),s.geo.region&&s.geo.country&&(l.location+=", "),s.geo.region&&(l.region=s.geo.region,l.location+=l.region)),a.push(l))}),a}))}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(cl))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}();function hZ(n,i){1&n&&hr(0)}var qE=["*"];function pZ(n,i){}var vZ=function(i){return{animationDuration:i}},mZ=function(i,e){return{value:i,params:e}},gZ=["tabListContainer"],_Z=["tabList"],yZ=["tabListInner"],bZ=["nextPaginator"],kZ=["previousPaginator"],MZ=["tabBodyWrapper"],CZ=["tabHeader"];function wZ(n,i){}function SZ(n,i){1&n&&q(0,wZ,0,0,"ng-template",10),2&n&&S("cdkPortalOutlet",K().$implicit.templateLabel)}function DZ(n,i){1&n&&R(0),2&n&&ge(K().$implicit.textLabel)}function TZ(n,i){if(1&n){var e=tt();E(0,"div",6),Se("click",function(){var u=ke(e),f=u.$implicit,m=u.index,C=K(),I=sr(1);return C._handleClick(f,I,m)})("cdkFocusChange",function(u){var m=ke(e).index;return K()._tabFocusChanged(u,m)}),E(1,"div",7),q(2,SZ,1,1,"ng-template",8),q(3,DZ,1,1,"ng-template",null,9,Ls),P()()}if(2&n){var t=i.$implicit,a=i.index,o=sr(4),s=K();fn("mat-tab-label-active",s.selectedIndex===a),S("id",s._getTabLabelId(a))("ngClass",t.labelClass)("disabled",t.disabled)("matRippleDisabled",t.disabled||s.disableRipple),Wt("tabIndex",s._getTabIndex(t,a))("aria-posinset",a+1)("aria-setsize",s._tabs.length)("aria-controls",s._getTabContentId(a))("aria-selected",s.selectedIndex===a)("aria-label",t.ariaLabel||null)("aria-labelledby",!t.ariaLabel&&t.ariaLabelledby?t.ariaLabelledby:null),p(2),S("ngIf",t.templateLabel)("ngIfElse",o)}}function LZ(n,i){if(1&n){var e=tt();E(0,"mat-tab-body",11),Se("_onCentered",function(){return ke(e),K()._removeTabBodyWrapperHeight()})("_onCentering",function(l){return ke(e),K()._setTabBodyWrapperHeight(l)}),P()}if(2&n){var t=i.$implicit,a=i.index,o=K();fn("mat-tab-body-active",o.selectedIndex===a),S("id",o._getTabContentId(a))("ngClass",t.bodyClass)("content",t.content)("position",t.position)("origin",t.origin)("animationDuration",o.animationDuration),Wt("tabindex",null!=o.contentTabIndex&&o.selectedIndex===a?o.contentTabIndex:null)("aria-labelledby",o._getTabLabelId(a))}}var EZ=new Ze("MatInkBarPositioner",{providedIn:"root",factory:function PZ(){return function(e){return{left:e?(e.offsetLeft||0)+"px":"0",width:e?(e.offsetWidth||0)+"px":"0"}}}}),KE=function(){var n=function(){function i(e,t,a,o){c(this,i),this._elementRef=e,this._ngZone=t,this._inkBarPositioner=a,this._animationMode=o}return d(i,[{key:"alignToElement",value:function(t){var a=this;this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return a._setStyles(t)})}):this._setStyles(t)}},{key:"show",value:function(){this._elementRef.nativeElement.style.visibility="visible"}},{key:"hide",value:function(){this._elementRef.nativeElement.style.visibility="hidden"}},{key:"_setStyles",value:function(t){var a=this._inkBarPositioner(t),o=this._elementRef.nativeElement;o.style.left=a.left,o.style.width=a.width}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(yt),B(bt),B(EZ),B(ai,8))},n.\u0275dir=et({type:n,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(e,t){2&e&&fn("_mat-animation-noopable","NoopAnimations"===t._animationMode)}}),n}(),xZ=new Ze("MatTabContent"),OZ=new Ze("MatTabLabel"),AZ=new Ze("MAT_TAB"),IZ=sc(function(){return d(function n(){c(this,n)})}()),$E=new Ze("MAT_TAB_GROUP"),ZE=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o){var s;return c(this,t),(s=e.call(this))._viewContainerRef=a,s._closestTabGroup=o,s.textLabel="",s._contentPortal=null,s._stateChanges=new Ie,s.position=null,s.origin=null,s.isActive=!1,s}return d(t,[{key:"templateLabel",get:function(){return this._templateLabel},set:function(o){this._setTemplateLabelInput(o)}},{key:"content",get:function(){return this._contentPortal}},{key:"ngOnChanges",value:function(o){(o.hasOwnProperty("textLabel")||o.hasOwnProperty("disabled"))&&this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"ngOnInit",value:function(){this._contentPortal=new ac(this._explicitContent||this._implicitContent,this._viewContainerRef)}},{key:"_setTemplateLabelInput",value:function(o){o&&o._closestTab===this&&(this._templateLabel=o)}}]),t}(IZ);return n.\u0275fac=function(e){return new(e||n)(B(ii),B($E,8))},n.\u0275cmp=qe({type:n,selectors:[["mat-tab"]],contentQueries:function(e,t,a){var o;1&e&&(vr(a,OZ,5),vr(a,xZ,7,Ai)),2&e&&(lt(o=ut())&&(t.templateLabel=o.first),lt(o=ut())&&(t._explicitContent=o.first))},viewQuery:function(e,t){var a;1&e&>(Ai,7),2&e&<(a=ut())&&(t._implicitContent=a.first)},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[un([{provide:AZ,useExisting:n}]),vt,Nr],ngContentSelectors:qE,decls:1,vars:0,template:function(e,t){1&e&&(Gi(),q(0,hZ,1,0,"ng-template"))},encapsulation:2}),n}(),FZ={translateTab:Go("translateTab",[Ri("center, void, left-origin-center, right-origin-center",kn({transform:"none"})),Ri("left",kn({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),Ri("right",kn({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),yi("* => left, * => right, left => center, right => center",Fi("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),yi("void => left-origin-center",[kn({transform:"translate3d(-100%, 0, 0)"}),Fi("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),yi("void => right-origin-center",[kn({transform:"translate3d(100%, 0, 0)"}),Fi("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},RZ=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l){var u;return c(this,t),(u=e.call(this,a,o,l))._host=s,u._centeringSub=Ne.EMPTY,u._leavingSub=Ne.EMPTY,u}return d(t,[{key:"ngOnInit",value:function(){var o=this;T(O(t.prototype),"ngOnInit",this).call(this),this._centeringSub=this._host._beforeCentering.pipe(ha(this._host._isCenterPosition(this._host._position))).subscribe(function(s){s&&!o.hasAttached()&&o.attach(o._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(function(){o.detach()})}},{key:"ngOnDestroy",value:function(){T(O(t.prototype),"ngOnDestroy",this).call(this),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}]),t}(Cl);return n.\u0275fac=function(e){return new(e||n)(B(Ts),B(ii),B(yn(function(){return QE})),B(Ot))},n.\u0275dir=et({type:n,selectors:[["","matTabBodyHost",""]],features:[vt]}),n}(),NZ=function(){var n=function(){function i(e,t,a){var o=this;c(this,i),this._elementRef=e,this._dir=t,this._dirChangeSubscription=Ne.EMPTY,this._translateTabComplete=new Ie,this._onCentering=new pt,this._beforeCentering=new pt,this._afterLeavingCenter=new pt,this._onCentered=new pt(!0),this.animationDuration="500ms",t&&(this._dirChangeSubscription=t.change.subscribe(function(s){o._computePositionAnimationState(s),a.markForCheck()})),this._translateTabComplete.pipe(nb(function(s,l){return s.fromState===l.fromState&&s.toState===l.toState})).subscribe(function(s){o._isCenterPosition(s.toState)&&o._isCenterPosition(o._position)&&o._onCentered.emit(),o._isCenterPosition(s.fromState)&&!o._isCenterPosition(o._position)&&o._afterLeavingCenter.emit()})}return d(i,[{key:"position",set:function(t){this._positionIndex=t,this._computePositionAnimationState()}},{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(t){var a=this._isCenterPosition(t.toState);this._beforeCentering.emit(a),a&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}},{key:"_getLayoutDirection",value:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"_isCenterPosition",value:function(t){return"center"==t||"left-origin-center"==t||"right-origin-center"==t}},{key:"_computePositionAnimationState",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._getLayoutDirection();this._position=this._positionIndex<0?"ltr"==t?"left":"right":this._positionIndex>0?"ltr"==t?"right":"left":"center"}},{key:"_computePositionFromOrigin",value:function(t){var a=this._getLayoutDirection();return"ltr"==a&&t<=0||"rtl"==a&&t>0?"left-origin-center":"right-origin-center"}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(yt),B(pa,8),B(Yn))},n.\u0275dir=et({type:n,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),n}(),QE=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s){return c(this,t),e.call(this,a,o,s)}return d(t)}(NZ);return n.\u0275fac=function(e){return new(e||n)(B(yt),B(pa,8),B(Yn))},n.\u0275cmp=qe({type:n,selectors:[["mat-tab-body"]],viewQuery:function(e,t){var a;1&e&>(Cl,5),2&e&<(a=ut())&&(t._portalHost=a.first)},hostAttrs:[1,"mat-tab-body"],features:[vt],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(e,t){1&e&&(E(0,"div",0,1),Se("@translateTab.start",function(o){return t._onTranslateTabStarted(o)})("@translateTab.done",function(o){return t._translateTabComplete.next(o)}),q(2,pZ,0,0,"ng-template",2),P()),2&e&&S("@translateTab",En(3,mZ,t._position,Qe(1,vZ,t.animationDuration)))},directives:[RZ],styles:['.mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}.mat-tab-body-content[style*="visibility: hidden"]{display:none}\n'],encapsulation:2,data:{animation:[FZ.translateTab]}}),n}(),JE=new Ze("MAT_TABS_CONFIG"),YZ=sc(function(){return d(function n(){c(this,n)})}()),XE=function(){var n=function(i){h(t,i);var e=y(t);function t(a){var o;return c(this,t),(o=e.call(this)).elementRef=a,o}return d(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}(YZ);return n.\u0275fac=function(e){return new(e||n)(B(yt))},n.\u0275dir=et({type:n,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(e,t){2&e&&(Wt("aria-disabled",!!t.disabled),fn("mat-tab-disabled",t.disabled))},inputs:{disabled:"disabled"},features:[vt]}),n}(),eP=yl({passive:!0}),VZ=function(){var n=function(){function i(e,t,a,o,s,l,u){var f=this;c(this,i),this._elementRef=e,this._changeDetectorRef=t,this._viewportRuler=a,this._dir=o,this._ngZone=s,this._platform=l,this._animationMode=u,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new Ie,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new Ie,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new pt,this.indexFocused=new pt,s.runOutsideAngular(function(){_l(e.nativeElement,"mouseleave").pipe(hn(f._destroyed)).subscribe(function(){f._stopInterval()})})}return d(i,[{key:"selectedIndex",get:function(){return this._selectedIndex},set:function(t){t=Oa(t),this._selectedIndex!=t&&(this._selectedIndexChanged=!0,this._selectedIndex=t,this._keyManager&&this._keyManager.updateActiveItem(t))}},{key:"ngAfterViewInit",value:function(){var t=this;_l(this._previousPaginator.nativeElement,"touchstart",eP).pipe(hn(this._destroyed)).subscribe(function(){t._handlePaginatorPress("before")}),_l(this._nextPaginator.nativeElement,"touchstart",eP).pipe(hn(this._destroyed)).subscribe(function(){t._handlePaginatorPress("after")})}},{key:"ngAfterContentInit",value:function(){var t=this,a=this._dir?this._dir.change:Je("ltr"),o=this._viewportRuler.change(150),s=function(){t.updatePagination(),t._alignInkBarToSelectedTab()};this._keyManager=new r2(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(s):s(),Ci(a,o,this._items.changes).pipe(hn(this._destroyed)).subscribe(function(){t._ngZone.run(function(){return Promise.resolve().then(s)}),t._keyManager.withHorizontalOrientation(t._getLayoutDirection())}),this._keyManager.change.pipe(hn(this._destroyed)).subscribe(function(l){t.indexFocused.emit(l),t._setTabFocus(l)})}},{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(t){if(!Qo(t))switch(t.keyCode){case 13:case 32:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(t));break;default:this._keyManager.onKeydown(t)}}},{key:"_onContentChanges",value:function(){var t=this,a=this._elementRef.nativeElement.textContent;a!==this._currentTextContent&&(this._currentTextContent=a||"",this._ngZone.run(function(){t.updatePagination(),t._alignInkBarToSelectedTab(),t._changeDetectorRef.markForCheck()}))}},{key:"updatePagination",value:function(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}},{key:"focusIndex",get:function(){return this._keyManager?this._keyManager.activeItemIndex:0},set:function(t){!this._isValidIndex(t)||this.focusIndex===t||!this._keyManager||this._keyManager.setActiveItem(t)}},{key:"_isValidIndex",value:function(t){if(!this._items)return!0;var a=this._items?this._items.toArray()[t]:null;return!!a&&!a.disabled}},{key:"_setTabFocus",value:function(t){if(this._showPaginationControls&&this._scrollToLabel(t),this._items&&this._items.length){this._items.toArray()[t].focus();var a=this._tabListContainer.nativeElement,o=this._getLayoutDirection();a.scrollLeft="ltr"==o?0:a.scrollWidth-a.offsetWidth}}},{key:"_getLayoutDirection",value:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"_updateTabScrollPosition",value:function(){if(!this.disablePagination){var t=this.scrollDistance,a="ltr"===this._getLayoutDirection()?-t:t;this._tabList.nativeElement.style.transform="translateX(".concat(Math.round(a),"px)"),(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}}},{key:"scrollDistance",get:function(){return this._scrollDistance},set:function(t){this._scrollTo(t)}},{key:"_scrollHeader",value:function(t){return this._scrollTo(this._scrollDistance+("before"==t?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}},{key:"_handlePaginatorClick",value:function(t){this._stopInterval(),this._scrollHeader(t)}},{key:"_scrollToLabel",value:function(t){if(!this.disablePagination){var a=this._items?this._items.toArray()[t]:null;if(a){var f,m,o=this._tabListContainer.nativeElement.offsetWidth,s=a.elementRef.nativeElement,l=s.offsetLeft,u=s.offsetWidth;"ltr"==this._getLayoutDirection()?m=(f=l)+u:f=(m=this._tabListInner.nativeElement.offsetWidth-l)-u;var C=this.scrollDistance,I=this.scrollDistance+o;fI&&(this.scrollDistance+=m-I+60)}}}},{key:"_checkPaginationEnabled",value:function(){if(this.disablePagination)this._showPaginationControls=!1;else{var t=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;t||(this.scrollDistance=0),t!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=t}}},{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._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}},{key:"_alignInkBarToSelectedTab",value:function(){var t=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,a=t?t.elementRef.nativeElement:null;a?this._inkBar.alignToElement(a):this._inkBar.hide()}},{key:"_stopInterval",value:function(){this._stopScrolling.next()}},{key:"_handlePaginatorPress",value:function(t,a){var o=this;a&&null!=a.button&&0!==a.button||(this._stopInterval(),qp(650,100).pipe(hn(Ci(this._stopScrolling,this._destroyed))).subscribe(function(){var s=o._scrollHeader(t),u=s.distance;(0===u||u>=s.maxScrollDistance)&&o._stopInterval()}))}},{key:"_scrollTo",value:function(t){if(this.disablePagination)return{maxScrollDistance:0,distance:0};var a=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(a,t)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:a,distance:this._scrollDistance}}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(yt),B(Yn),B(Ml),B(pa,8),B(bt),B(Sr),B(ai,8))},n.\u0275dir=et({type:n,inputs:{disablePagination:"disablePagination"}}),n}(),jZ=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l,u,f,m){var C;return c(this,t),(C=e.call(this,a,o,s,l,u,f,m))._disableRipple=!1,C}return d(t,[{key:"disableRipple",get:function(){return this._disableRipple},set:function(o){this._disableRipple=$n(o)}},{key:"_itemSelected",value:function(o){o.preventDefault()}}]),t}(VZ);return n.\u0275fac=function(e){return new(e||n)(B(yt),B(Yn),B(Ml),B(pa,8),B(bt),B(Sr),B(ai,8))},n.\u0275dir=et({type:n,inputs:{disableRipple:"disableRipple"},features:[vt]}),n}(),UZ=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l,u,f,m){return c(this,t),e.call(this,a,o,s,l,u,f,m)}return d(t)}(jZ);return n.\u0275fac=function(e){return new(e||n)(B(yt),B(Yn),B(Ml),B(pa,8),B(bt),B(Sr),B(ai,8))},n.\u0275cmp=qe({type:n,selectors:[["mat-tab-header"]],contentQueries:function(e,t,a){var o;1&e&&vr(a,XE,4),2&e&<(o=ut())&&(t._items=o)},viewQuery:function(e,t){var a;1&e&&(gt(KE,7),gt(gZ,7),gt(_Z,7),gt(yZ,7),gt(bZ,5),gt(kZ,5)),2&e&&(lt(a=ut())&&(t._inkBar=a.first),lt(a=ut())&&(t._tabListContainer=a.first),lt(a=ut())&&(t._tabList=a.first),lt(a=ut())&&(t._tabListInner=a.first),lt(a=ut())&&(t._nextPaginator=a.first),lt(a=ut())&&(t._previousPaginator=a.first))},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(e,t){2&e&&fn("mat-tab-header-pagination-controls-enabled",t._showPaginationControls)("mat-tab-header-rtl","rtl"==t._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[vt],ngContentSelectors:qE,decls:14,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","disabled","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"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,t){1&e&&(Gi(),E(0,"button",0,1),Se("click",function(){return t._handlePaginatorClick("before")})("mousedown",function(o){return t._handlePaginatorPress("before",o)})("touchend",function(){return t._stopInterval()}),Te(2,"div",2),P(),E(3,"div",3,4),Se("keydown",function(o){return t._handleKeydown(o)}),E(5,"div",5,6),Se("cdkObserveContent",function(){return t._onContentChanges()}),E(7,"div",7,8),hr(9),P(),Te(10,"mat-ink-bar"),P()(),E(11,"button",9,10),Se("mousedown",function(o){return t._handlePaginatorPress("after",o)})("click",function(){return t._handlePaginatorClick("after")})("touchend",function(){return t._stopInterval()}),Te(13,"div",2),P()),2&e&&(fn("mat-tab-header-pagination-disabled",t._disableScrollBefore),S("matRippleDisabled",t._disableScrollBefore||t.disableRipple)("disabled",t._disableScrollBefore||null),p(5),fn("_mat-animation-noopable","NoopAnimations"===t._animationMode),p(6),fn("mat-tab-header-pagination-disabled",t._disableScrollAfter),S("matRippleDisabled",t._disableScrollAfter||t.disableRipple)("disabled",t._disableScrollAfter||null))},directives:[Jo,rb,KE],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;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;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.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;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-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .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}),n}(),zZ=0,WZ=d(function n(){c(this,n)}),GZ=Sl(df(function(){return d(function n(i){c(this,n),this._elementRef=i})}()),"primary"),qZ=function(){var n=function(i){h(t,i);var e=y(t);function t(a,o,s,l){var u,f;return c(this,t),(u=e.call(this,a))._changeDetectorRef=o,u._animationMode=l,u._tabs=new Od,u._indexToSelect=0,u._tabBodyWrapperHeight=0,u._tabsSubscription=Ne.EMPTY,u._tabLabelSubscription=Ne.EMPTY,u._selectedIndex=null,u.headerPosition="above",u.selectedIndexChange=new pt,u.focusChange=new pt,u.animationDone=new pt,u.selectedTabChange=new pt(!0),u._groupId=zZ++,u.animationDuration=s&&s.animationDuration?s.animationDuration:"500ms",u.disablePagination=!(!s||null==s.disablePagination)&&s.disablePagination,u.dynamicHeight=!(!s||null==s.dynamicHeight)&&s.dynamicHeight,u.contentTabIndex=null!==(f=null==s?void 0:s.contentTabIndex)&&void 0!==f?f:null,u}return d(t,[{key:"dynamicHeight",get:function(){return this._dynamicHeight},set:function(o){this._dynamicHeight=$n(o)}},{key:"selectedIndex",get:function(){return this._selectedIndex},set:function(o){this._indexToSelect=Oa(o,null)}},{key:"animationDuration",get:function(){return this._animationDuration},set:function(o){this._animationDuration=/^\d+$/.test(o+"")?o+"ms":o}},{key:"contentTabIndex",get:function(){return this._contentTabIndex},set:function(o){this._contentTabIndex=Oa(o,null)}},{key:"backgroundColor",get:function(){return this._backgroundColor},set:function(o){var s=this._elementRef.nativeElement;s.classList.remove("mat-background-".concat(this.backgroundColor)),o&&s.classList.add("mat-background-".concat(o)),this._backgroundColor=o}},{key:"ngAfterContentChecked",value:function(){var o=this,s=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=s){var l=null==this._selectedIndex;if(!l){this.selectedTabChange.emit(this._createChangeEvent(s));var u=this._tabBodyWrapper.nativeElement;u.style.minHeight=u.clientHeight+"px"}Promise.resolve().then(function(){o._tabs.forEach(function(f,m){return f.isActive=m===s}),l||(o.selectedIndexChange.emit(s),o._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach(function(f,m){f.position=m-s,null!=o._selectedIndex&&0==f.position&&!f.origin&&(f.origin=s-o._selectedIndex)}),this._selectedIndex!==s&&(this._selectedIndex=s,this._changeDetectorRef.markForCheck())}},{key:"ngAfterContentInit",value:function(){var o=this;this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(function(){if(o._clampTabIndex(o._indexToSelect)===o._selectedIndex)for(var l=o._tabs.toArray(),u=0;u.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;outline:0;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}),n}(),$Z=function(){var n=d(function i(){c(this,i)});return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Tt({type:n}),n.\u0275inj=Pt({imports:[[Mo,Pn,Zp,hf,nv,f2],Pn]}),n}(),ZZ=["button"],QZ=["settingsButton"],JZ=["firstInput"];function XZ(n,i){1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n&&(p(1),ye(" ",U(2,1,"apps.vpn-socks-client-settings.remote-key-length-error")," "))}function eQ(n,i){1&n&&(R(0),Y(1,"translate")),2&n&&ye(" ",U(1,1,"apps.vpn-socks-client-settings.remote-key-chars-error")," ")}function tQ(n,i){1&n&&(E(0,"mat-form-field"),Te(1,"input",20),Y(2,"translate"),P()),2&n&&(p(1),S("placeholder",U(2,1,"apps.vpn-socks-client-settings.password")))}function nQ(n,i){1&n&&(E(0,"div",21)(1,"mat-icon",22),R(2,"warning"),P(),R(3),Y(4,"translate"),P()),2&n&&(p(1),S("inline",!0),p(2),ye(" ",U(4,2,"apps.vpn-socks-client-settings.password-history-warning")," "))}function rQ(n,i){1&n&&Te(0,"app-loading-indicator",23),2&n&&S("showWhite",!1)}function iQ(n,i){1&n&&(E(0,"div",24)(1,"mat-icon",22),R(2,"error"),P(),R(3),Y(4,"translate"),P()),2&n&&(p(1),S("inline",!0),p(2),ye(" ",U(4,2,"apps.vpn-socks-client-settings.no-elements")," "))}function aQ(n,i){1&n&&(E(0,"div",31),R(1),Y(2,"translate"),P()),2&n&&(p(1),ye(" ",U(2,1,"apps.vpn-socks-client-settings.no-filter")," "))}function oQ(n,i){if(1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n){var e=K().$implicit;p(1),ge(U(2,1,e[1]))}}function sQ(n,i){if(1&n&&(ze(0),R(1),We()),2&n){var e=K().$implicit;p(1),ge(e[2])}}function lQ(n,i){if(1&n&&(E(0,"div",31)(1,"span"),R(2),Y(3,"translate"),P(),q(4,oQ,3,3,"ng-container",7),q(5,sQ,2,1,"ng-container",7),P()),2&n){var e=i.$implicit;p(2),ye("",U(3,3,e[0])," "),p(2),S("ngIf",e[1]),p(1),S("ngIf",e[2])}}function uQ(n,i){1&n&&(E(0,"div",24)(1,"mat-icon",22),R(2,"error"),P(),R(3),Y(4,"translate"),P()),2&n&&(p(1),S("inline",!0),p(2),ye(" ",U(4,2,"apps.vpn-socks-client-settings.no-elements-for-filters")," "))}var nP=function(i){return{highlighted:i}};function cQ(n,i){if(1&n&&(ze(0),E(1,"span",36),R(2),P(),We()),2&n){var e=i.$implicit,t=i.index;p(1),S("ngClass",Qe(2,nP,t%2!=0)),p(1),ge(e)}}function dQ(n,i){if(1&n&&(ze(0),E(1,"div",37),Te(2,"div"),P(),We()),2&n){var e=K(2).$implicit;p(2),tr("background-image: url('assets/img/flags/"+e.country.toLocaleLowerCase()+".png');")}}function fQ(n,i){if(1&n&&(ze(0),E(1,"span",36),R(2),P(),We()),2&n){var e=i.$implicit,t=i.index;p(1),S("ngClass",Qe(2,nP,t%2!=0)),p(1),ge(e)}}function hQ(n,i){if(1&n&&(E(0,"div",31)(1,"span"),R(2),Y(3,"translate"),P(),E(4,"span"),R(5,"\xa0 "),q(6,dQ,3,2,"ng-container",7),q(7,fQ,3,4,"ng-container",34),P()()),2&n){var e=K().$implicit,t=K(2);p(2),ge(U(3,3,"apps.vpn-socks-client-settings.location")),p(4),S("ngIf",e.country),p(1),S("ngForOf",t.getHighlightedTextParts(e.location,t.currentFilters.location))}}function pQ(n,i){if(1&n){var e=tt();E(0,"div",32)(1,"button",25),Se("click",function(){var l=ke(e).$implicit;return K(2).saveChanges(l.pk,null,!1,l.location)}),E(2,"div",33)(3,"div",31)(4,"span"),R(5),Y(6,"translate"),P(),E(7,"span"),R(8,"\xa0"),q(9,cQ,3,4,"ng-container",34),P()(),q(10,hQ,8,5,"div",28),P()(),E(11,"button",35),Se("click",function(){var l=ke(e).$implicit;return K(2).copyPk(l.pk)}),Y(12,"translate"),E(13,"mat-icon",22),R(14,"filter_none"),P()()()}if(2&n){var t=i.$implicit,a=K(2);p(5),ge(U(6,5,"apps.vpn-socks-client-settings.key")),p(4),S("ngForOf",a.getHighlightedTextParts(t.pk,a.currentFilters.key)),p(1),S("ngIf",t.location),p(1),S("matTooltip",U(12,7,"apps.vpn-socks-client-settings.copy-pk-info")),p(2),S("inline",!0)}}function vQ(n,i){if(1&n){var e=tt();ze(0),E(1,"button",25),Se("click",function(){return ke(e),K().changeFilters()}),E(2,"div",26)(3,"div",27)(4,"mat-icon",22),R(5,"filter_list"),P()(),E(6,"div"),q(7,aQ,3,3,"div",28),q(8,lQ,6,5,"div",29),E(9,"div",30),R(10),Y(11,"translate"),P()()()(),q(12,uQ,5,4,"div",12),q(13,pQ,15,9,"div",14),We()}if(2&n){var t=K();p(4),S("inline",!0),p(3),S("ngIf",0===t.currentFiltersTexts.length),p(1),S("ngForOf",t.currentFiltersTexts),p(2),ge(U(11,6,"apps.vpn-socks-client-settings.click-to-change")),p(2),S("ngIf",0===t.filteredProxiesFromDiscovery.length),p(1),S("ngForOf",t.proxiesFromDiscoveryToShow)}}var mQ=function(i,e){return{currentElementsRange:i,totalElements:e}};function gQ(n,i){if(1&n){var e=tt();E(0,"div",38)(1,"span"),R(2),Y(3,"translate"),P(),E(4,"button",39),Se("click",function(){return ke(e),K().goToPreviousPage()}),E(5,"mat-icon"),R(6,"chevron_left"),P()(),E(7,"button",39),Se("click",function(){return ke(e),K().goToNextPage()}),E(8,"mat-icon"),R(9,"chevron_right"),P()()()}if(2&n){var t=K();p(2),ge(xt(3,1,"apps.vpn-socks-client-settings.pagination-info",En(4,mQ,t.currentRange,t.filteredProxiesFromDiscovery.length)))}}var _Q=function(i){return{number:i}};function yQ(n,i){if(1&n&&(E(0,"div")(1,"div",24)(2,"mat-icon",22),R(3,"error"),P(),R(4),Y(5,"translate"),P()()),2&n){var e=K();p(2),S("inline",!0),p(2),ye(" ",xt(5,2,"apps.vpn-socks-client-settings.no-history",Qe(5,_Q,e.maxHistoryElements))," ")}}function bQ(n,i){1&n&&Ss(0)}function kQ(n,i){1&n&&Ss(0)}function MQ(n,i){if(1&n&&(ze(0),E(1,"span"),R(2),P(),We()),2&n){var e=K(2).$implicit;p(2),ye(" ",e.note,"")}}function CQ(n,i){1&n&&(ze(0),E(1,"span"),R(2),Y(3,"translate"),P(),We()),2&n&&(p(2),ye(" ",U(3,1,"apps.vpn-socks-client-settings.note-entered-manually"),""))}function wQ(n,i){if(1&n&&(ze(0),E(1,"span"),R(2),P(),We()),2&n){var e=K(4).$implicit;p(2),ye(" (",e.location,")")}}function SQ(n,i){if(1&n&&(ze(0),E(1,"span"),R(2),Y(3,"translate"),P(),q(4,wQ,3,1,"ng-container",7),We()),2&n){var e=K(3).$implicit;p(2),ye(" ",U(3,2,"apps.vpn-socks-client-settings.note-obtained"),""),p(2),S("ngIf",e.location)}}function DQ(n,i){if(1&n&&(ze(0),q(1,CQ,4,3,"ng-container",7),q(2,SQ,5,4,"ng-container",7),We()),2&n){var e=K(2).$implicit;p(1),S("ngIf",e.enteredManually),p(1),S("ngIf",!e.enteredManually)}}function TQ(n,i){if(1&n&&(E(0,"div",45)(1,"div",46)(2,"div",31)(3,"span"),R(4),Y(5,"translate"),P(),E(6,"span"),R(7),P()(),E(8,"div",31)(9,"span"),R(10),Y(11,"translate"),P(),q(12,MQ,3,1,"ng-container",7),q(13,DQ,3,2,"ng-container",7),P()(),E(14,"div",47)(15,"div",48)(16,"mat-icon",22),R(17,"add"),P()()()()),2&n){var e=K().$implicit;p(4),ge(U(5,6,"apps.vpn-socks-client-settings.key")),p(3),ye(" ",e.key,""),p(3),ge(U(11,8,"apps.vpn-socks-client-settings.note")),p(2),S("ngIf",e.note),p(1),S("ngIf",!e.note),p(3),S("inline",!0)}}function LQ(n,i){if(1&n){var e=tt();E(0,"div",32)(1,"button",40),Se("click",function(){var s=ke(e).$implicit;return K().useFromHistory(s)}),q(2,bQ,1,0,"ng-container",41),P(),E(3,"button",42),Se("click",function(){var s=ke(e).$implicit;return K().changeNote(s)}),Y(4,"translate"),E(5,"mat-icon",22),R(6,"edit"),P()(),E(7,"button",42),Se("click",function(){var s=ke(e).$implicit;return K().removeFromHistory(s.key)}),Y(8,"translate"),E(9,"mat-icon",22),R(10,"close"),P()(),E(11,"button",43),Se("click",function(){var s=ke(e).$implicit;return K().openHistoryOptions(s)}),q(12,kQ,1,0,"ng-container",41),P(),q(13,TQ,18,10,"ng-template",null,44,Ls),P()}if(2&n){var t=sr(14);p(2),S("ngTemplateOutlet",t),p(1),S("matTooltip",U(4,6,"apps.vpn-socks-client-settings.change-note")),p(2),S("inline",!0),p(2),S("matTooltip",U(8,8,"apps.vpn-socks-client-settings.remove-entry")),p(2),S("inline",!0),p(3),S("ngTemplateOutlet",t)}}function EQ(n,i){1&n&&(E(0,"div",49)(1,"mat-icon",22),R(2,"warning"),P(),R(3),Y(4,"translate"),P()),2&n&&(p(1),S("inline",!0),p(2),ye(" ",U(4,2,"apps.vpn-socks-client-settings.settings-changed-alert")," "))}var PQ=function(){var n=function(){function i(e,t,a,o,s,l,u,f){c(this,i),this.data=e,this.dialogRef=t,this.appsService=a,this.formBuilder=o,this.snackbarService=s,this.dialog=l,this.proxyDiscoveryService=u,this.clipboardService=f,this.socksHistoryStorageKey="SkysocksClientHistory_",this.vpnHistoryStorageKey="VpnClientHistory_",this.maxHistoryElements=10,this.maxElementsPerPage=10,this.countriesFromDiscovery=new Set,this.loadingFromDiscovery=!0,this.numberOfPages=1,this.currentPage=1,this.currentRange="1 - 1",this.currentFilters=new GE,this.currentFiltersTexts=[],this.configuringVpn=!1,this.killswitch=!1,this.initialKillswitchSetting=!1,this.working=!1,-1!==e.name.toLocaleLowerCase().indexOf("vpn")&&(this.configuringVpn=!0)}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.discoverySubscription=this.proxyDiscoveryService.getServices(!this.configuringVpn).subscribe(function(l){t.proxiesFromDiscovery=l,t.proxiesFromDiscovery.forEach(function(u){u.country&&t.countriesFromDiscovery.add(u.country.toUpperCase())}),t.filterProxies(),t.loadingFromDiscovery=!1});var a=localStorage.getItem(this.configuringVpn?this.vpnHistoryStorageKey:this.socksHistoryStorageKey);this.history=a?JSON.parse(a):[];var o="";if(this.data.args&&this.data.args.length>0)for(var s=0;s=this.numberOfPages||(this.currentPage+=1,this.showCurrentPage())}},{key:"goToPreviousPage",value:function(){this.currentPage<=1||(this.currentPage-=1,this.showCurrentPage())}},{key:"showCurrentPage",value:function(){this.proxiesFromDiscoveryToShow=this.filteredProxiesFromDiscovery.slice((this.currentPage-1)*this.maxElementsPerPage,this.currentPage*this.maxElementsPerPage),this.currentRange=(this.currentPage-1)*this.maxElementsPerPage+1+" - ",this.currentRange+=this.currentPage0&&void 0!==arguments[0]?arguments[0]:null,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;if((this.form.valid||a)&&!this.working){s=!a||s,o=a?o:this.form.get("password").value,a=a||this.form.get("pk").value;var f="apps.vpn-socks-client-settings.change-key-confirmation",m=cn.createConfirmationDialog(this.dialog,f);m.componentInstance.operationAccepted.subscribe(function(){m.close(),t.continueSavingChanges(a,o,s,l,u)})}}},{key:"saveSettings",value:function(){var t=this;if(!this.working){var a={killswitch:this.killswitch};this.settingsButton.showLoading(!1),this.button.showLoading(!1),this.working=!0,this.operationSubscription=this.appsService.changeAppSettings(At.getCurrentNodeKey(),this.data.name,a).subscribe(function(){t.initialKillswitchSetting=t.killswitch,t.snackbarService.showDone("apps.vpn-socks-client-settings.changes-made"),t.working=!1,t.settingsButton.reset(!1),t.button.reset(!1),At.refreshCurrentDisplayedData()},function(o){t.working=!1,t.settingsButton.showError(!1),t.button.reset(!1),o=an(o),t.snackbarService.showError(o)})}}},{key:"copyPk",value:function(t){this.clipboardService.copy(t)?this.snackbarService.showDone("apps.vpn-socks-client-settings.copied-pk-info"):this.snackbarService.showError("apps.vpn-socks-client-settings.copy-pk-error")}},{key:"continueSavingChanges",value:function(t,a,o,s,l){var u=this;if(!this.working){this.button.showLoading(!1),this.settingsButton.showLoading(!1),this.working=!0;var f={pk:t};this.configuringVpn&&(f.passcode=a||""),this.operationSubscription=this.appsService.changeAppSettings(At.getCurrentNodeKey(),this.data.name,f).subscribe(function(){return u.onServerDataChangeSuccess(t,!!a,o,s,l)},function(m){return u.onServerDataChangeError(m)})}}},{key:"onServerDataChangeSuccess",value:function(t,a,o,s,l){this.history=this.history.filter(function(C){return C.key!==t});var u={key:t,enteredManually:o};if(a&&(u.hasPassword=a),s&&(u.location=s),l&&(u.note=l),this.history=[u].concat(this.history),this.history.length>this.maxHistoryElements){var f=this.history.length-this.maxHistoryElements;this.history.splice(this.history.length-f,f)}this.form.get("pk").setValue(t);var m=JSON.stringify(this.history);localStorage.setItem(this.configuringVpn?this.vpnHistoryStorageKey:this.socksHistoryStorageKey,m),At.refreshCurrentDisplayedData(),this.snackbarService.showDone("apps.vpn-socks-client-settings.changes-made"),this.working=!1,this.button.reset(!1),this.settingsButton.reset(!1)}},{key:"onServerDataChangeError",value:function(t){this.working=!1,this.button.showError(!1),this.settingsButton.reset(!1),t=an(t),this.snackbarService.showError(t)}}],[{key:"openDialog",value:function(t,a){var o=new Zn;return o.data=a,o.autoFocus=!1,o.width=Kt.largeModalWidth,t.open(i,o)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Ur),B(Dr),B(_c),B(Zi),B(An),B(Gn),B(fZ),B(Sf))},n.\u0275cmp=qe({type:n,selectors:[["app-skysocks-client-settings"]],viewQuery:function(e,t){var a;1&e&&(gt(ZZ,5),gt(QZ,5),gt(JZ,5)),2&e&&(lt(a=ut())&&(t.button=a.first),lt(a=ut())&&(t.settingsButton=a.first),lt(a=ut())&&(t.firstInput=a.first))},decls:44,vars:46,consts:[[3,"headline"],[3,"label"],[3,"formGroup"],["id","pk","formControlName","pk","maxlength","66","matInput","",3,"placeholder"],["firstInput",""],[4,"ngIf","ngIfElse"],["hexError",""],[4,"ngIf"],["class","password-history-warning",4,"ngIf"],["color","primary",1,"float-right",3,"disabled","action"],["button",""],["class","loading-indicator",3,"showWhite",4,"ngIf"],["class","info-text",4,"ngIf"],["class","paginator",4,"ngIf"],["class","d-flex",4,"ngFor","ngForOf"],[1,"main-theme","settings-option"],["color","primary",3,"checked","change"],[1,"help-icon",3,"inline","matTooltip"],["class","settings-changed-warning",4,"ngIf"],["settingsButton",""],["id","password","type","password","formControlName","password","maxlength","100","matInput","",3,"placeholder"],[1,"password-history-warning"],[3,"inline"],[1,"loading-indicator",3,"showWhite"],[1,"info-text"],["mat-button","",1,"list-button","grey-button-background","w-100",3,"click"],[1,"filter-button-content"],[1,"icon-area"],["class","item",4,"ngIf"],["class","item",4,"ngFor","ngForOf"],[1,"blue-part"],[1,"item"],[1,"d-flex"],[1,"button-content"],[4,"ngFor","ngForOf"],["mat-button","",1,"list-button","grey-button-background",3,"matTooltip","click"],[3,"ngClass"],[1,"flag-container"],[1,"paginator"],["mat-icon-button","",1,"hard-grey-button-background",3,"click"],["mat-button","",1,"list-button","grey-button-background","w-100","d-none","d-md-inline",3,"click"],[4,"ngTemplateOutlet"],["mat-button","",1,"list-button","grey-button-background","d-none","d-md-inline",3,"matTooltip","click"],["mat-button","",1,"list-button","grey-button-background","w-100","d-md-none",3,"click"],["content",""],[1,"button-content","d-flex"],[1,"full-size-area"],[1,"options-container"],[1,"small-button","d-md-none"],[1,"settings-changed-warning"]],template:function(e,t){if(1&e&&(E(0,"app-dialog",0),Y(1,"translate"),E(2,"mat-tab-group")(3,"mat-tab",1),Y(4,"translate"),E(5,"form",2)(6,"mat-form-field"),Te(7,"input",3,4),Y(9,"translate"),E(10,"mat-error"),q(11,XZ,3,3,"ng-container",5),P(),q(12,eQ,2,3,"ng-template",null,6,Ls),P(),q(14,tQ,3,3,"mat-form-field",7),q(15,nQ,5,4,"div",8),E(16,"app-button",9,10),Se("action",function(){return t.saveChanges()}),R(18),Y(19,"translate"),P()()(),E(20,"mat-tab",1),Y(21,"translate"),q(22,rQ,1,1,"app-loading-indicator",11),q(23,iQ,5,4,"div",12),q(24,vQ,14,8,"ng-container",7),q(25,gQ,10,7,"div",13),P(),E(26,"mat-tab",1),Y(27,"translate"),q(28,yQ,6,7,"div",7),q(29,LQ,15,10,"div",14),P(),E(30,"mat-tab",1),Y(31,"translate"),E(32,"div",15)(33,"mat-checkbox",16),Se("change",function(s){return t.setKillswitch(s)}),R(34),Y(35,"translate"),E(36,"mat-icon",17),Y(37,"translate"),R(38,"help"),P()()(),q(39,EQ,5,4,"div",18),E(40,"app-button",9,19),Se("action",function(){return t.saveSettings()}),R(42),Y(43,"translate"),P()()()()),2&e){var a=sr(13);S("headline",U(1,26,"apps.vpn-socks-client-settings."+(t.configuringVpn?"vpn-title":"socks-title"))),p(3),S("label",U(4,28,"apps.vpn-socks-client-settings.remote-visor-tab")),p(2),S("formGroup",t.form),p(2),S("placeholder",U(9,30,"apps.vpn-socks-client-settings.public-key")),p(4),S("ngIf",!t.form.get("pk").hasError("pattern"))("ngIfElse",a),p(3),S("ngIf",t.configuringVpn),p(1),S("ngIf",t.form&&t.form.get("password").value),p(1),S("disabled",!t.form.valid||t.working),p(2),ye(" ",U(19,32,"apps.vpn-socks-client-settings.save")," "),p(2),S("label",U(21,34,"apps.vpn-socks-client-settings.discovery-tab")),p(2),S("ngIf",t.loadingFromDiscovery),p(1),S("ngIf",!t.loadingFromDiscovery&&0===t.proxiesFromDiscovery.length),p(1),S("ngIf",!t.loadingFromDiscovery&&t.proxiesFromDiscovery.length>0),p(1),S("ngIf",t.numberOfPages>1),p(1),S("label",U(27,36,"apps.vpn-socks-client-settings.history-tab")),p(2),S("ngIf",0===t.history.length),p(1),S("ngForOf",t.history),p(1),S("label",U(31,38,"apps.vpn-socks-client-settings.settings-tab")),p(3),S("checked",t.killswitch),p(1),ye(" ",U(35,40,"apps.vpn-socks-client-settings.killswitch-check")," "),p(2),S("inline",!0)("matTooltip",U(37,42,"apps.vpn-socks-client-settings.killswitch-info")),p(3),S("ngIf",t.killswitch!==t.initialKillswitchSetting),p(1),S("disabled",t.killswitch===t.initialKillswitchSetting||t.working),p(2),ye(" ",U(43,44,"apps.vpn-socks-client-settings.save-settings")," ")}},directives:[_r,KZ,ZE,ei,Xr,gr,ki,Qr,Qi,Jr,zr,Hi,wf,Et,Mn,di,es,bi,Or,mr,ur,np,Ys],pipes:[Mt],styles:["form[_ngcontent-%COMP%]{margin-top:15px}.info-text[_ngcontent-%COMP%]{margin-top:20px;margin-bottom:2px;text-align:center;color:#202226}.info-text[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:2px}.loading-indicator[_ngcontent-%COMP%]{height:100px}.password-history-warning[_ngcontent-%COMP%]{font-size:.7rem;opacity:.7;position:relative;top:-5px}.list-button[_ngcontent-%COMP%]{border-bottom:solid 1px rgba(0,0,0,.12)}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%]{padding:15px 0;white-space:normal;line-height:1.3;color:#202226;text-align:left;display:flex;font-size:.8rem;word-break:break-word}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%] .icon-area[_ngcontent-%COMP%]{font-size:20px;margin-right:15px;color:#999;opacity:.4;align-self:center}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{margin:4px 0}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-of-type{color:#999}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%] .blue-part[_ngcontent-%COMP%]{color:#215f9e}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%]{text-align:left;padding:15px 0;white-space:normal}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .full-size-area[_ngcontent-%COMP%]{flex-grow:1}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{line-height:1.3;margin:4px 0;font-size:.8rem;color:#202226;word-break:break-all}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]:first-of-type{color:#999}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .highlighted[_ngcontent-%COMP%]{background-color:#ff0}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .options-container[_ngcontent-%COMP%]{flex-shrink:0;margin-left:5px;text-align:right;line-height:1}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .options-container[_ngcontent-%COMP%] .small-button[_ngcontent-%COMP%]{width:24px;height:24px;line-height:14px;font-size:14px;margin-left:5px}.paginator[_ngcontent-%COMP%]{float:right;margin-top:15px}@media (max-width: 767px){.paginator[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-size:.7rem}}.paginator[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:5px}.settings-option[_ngcontent-%COMP%]{margin:15px 12px 10px}.settings-changed-warning[_ngcontent-%COMP%]{font-size:.7rem;opacity:.7;position:relative;top:-5px;padding:0 12px}"]}),n}();function xQ(n,i){1&n&&(E(0,"span",14),R(1),Y(2,"translate"),P()),2&n&&(p(1),ge(U(2,1,"apps.apps-list.title")))}function OQ(n,i){if(1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n){var e=K().$implicit;p(1),ge(U(2,1,e.translatableValue))}}function AQ(n,i){if(1&n&&(ze(0),R(1),We()),2&n){var e=K().$implicit;p(1),ge(e.value)}}function IQ(n,i){if(1&n&&(E(0,"div",18)(1,"span"),R(2),Y(3,"translate"),P(),q(4,OQ,3,3,"ng-container",19),q(5,AQ,2,1,"ng-container",19),P()),2&n){var e=i.$implicit;p(2),ye("",U(3,3,e.filterName),": "),p(2),S("ngIf",e.translatableValue),p(1),S("ngIf",e.value)}}function FQ(n,i){if(1&n){var e=tt();E(0,"div",15),Se("click",function(){return ke(e),K().dataFilterer.removeFilters()}),q(1,IQ,6,5,"div",16),E(2,"div",17),R(3),Y(4,"translate"),P()()}if(2&n){var t=K();p(1),S("ngForOf",t.dataFilterer.currentFiltersTexts),p(2),ge(U(4,2,"filters.press-to-remove"))}}function RQ(n,i){if(1&n){var e=tt();E(0,"mat-icon",20),Se("click",function(){return ke(e),K().dataFilterer.changeFilters()}),Y(1,"translate"),R(2,"filter_list"),P()}2&n&&S("inline",!0)("matTooltip",U(1,2,"filters.filter-action"))}function NQ(n,i){1&n&&(E(0,"mat-icon",21),R(1,"more_horiz"),P()),2&n&&(K(),S("matMenuTriggerFor",sr(9)))}var Qb=function(i){return["/nodes",i,"apps-list"]};function YQ(n,i){if(1&n&&Te(0,"app-paginator",22),2&n){var e=K();S("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Qe(4,Qb,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function HQ(n,i){if(1&n&&(E(0,"mat-icon",37),R(1),P()),2&n){var e=K(2);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function BQ(n,i){if(1&n&&(E(0,"mat-icon",37),R(1),P()),2&n){var e=K(2);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function VQ(n,i){if(1&n&&(E(0,"mat-icon",37),R(1),P()),2&n){var e=K(2);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function jQ(n,i){if(1&n&&(E(0,"mat-icon",37),R(1),P()),2&n){var e=K(2);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function UQ(n,i){if(1&n&&(Te(0,"i",46),Y(1,"translate")),2&n){var e=K().$implicit,t=K(2);ua(t.getStateClass(e)),S("matTooltip",U(1,3,t.getStateTooltip(e)))}}var rP=function(i){return{error:i}};function zQ(n,i){if(1&n&&(E(0,"mat-icon",47),Y(1,"translate"),R(2,"warning"),P()),2&n){var e=K().$implicit;S("inline",!0)("matTooltip",xt(1,2,"apps.status-failed-tooltip",Qe(5,rP,e.detailedStatus?e.detailedStatus:"")))}}function WQ(n,i){if(1&n&&(E(0,"a",48)(1,"button",49),Y(2,"translate"),E(3,"mat-icon",37),R(4,"open_in_browser"),P()()()),2&n){var e=K().$implicit;S("href",K(2).getLink(e),vo),p(1),S("matTooltip",U(2,3,"apps.open")),p(2),S("inline",!0)}}function GQ(n,i){if(1&n){var e=tt();E(0,"button",43),Se("click",function(){ke(e);var a=K().$implicit;return K(2).config(a)}),Y(1,"translate"),E(2,"mat-icon",37),R(3,"settings"),P()()}2&n&&(S("matTooltip",U(1,2,"apps.settings")),p(2),S("inline",!0))}function qQ(n,i){if(1&n){var e=tt();E(0,"tr")(1,"td",39)(2,"mat-checkbox",40),Se("change",function(){var l=ke(e).$implicit;return K(2).changeSelection(l)}),P()(),E(3,"td"),q(4,UQ,2,5,"i",41),q(5,zQ,3,7,"mat-icon",42),P(),E(6,"td"),R(7),P(),E(8,"td"),R(9),P(),E(10,"td")(11,"button",43),Se("click",function(){var l=ke(e).$implicit;return K(2).changeAppAutostart(l)}),Y(12,"translate"),E(13,"mat-icon",37),R(14),P()()(),E(15,"td",30),q(16,WQ,5,5,"a",44),q(17,GQ,4,4,"button",45),E(18,"button",43),Se("click",function(){var l=ke(e).$implicit;return K(2).viewLogs(l)}),Y(19,"translate"),E(20,"mat-icon",37),R(21,"list"),P()(),E(22,"button",43),Se("click",function(){var l=ke(e).$implicit;return K(2).changeAppState(l)}),Y(23,"translate"),E(24,"mat-icon",37),R(25),P()()()()}if(2&n){var t=i.$implicit,a=K(2);p(2),S("checked",a.selections.get(t.name)),p(2),S("ngIf",2!==t.status),p(1),S("ngIf",2===t.status),p(2),ye(" ",t.name," "),p(2),ye(" ",t.port," "),p(2),S("matTooltip",U(12,15,t.autostart?"apps.apps-list.disable-autostart":"apps.apps-list.enable-autostart")),p(2),S("inline",!0),p(1),ge(t.autostart?"done":"close"),p(2),S("ngIf",a.getLink(t)),p(1),S("ngIf",a.appsWithConfig.has(t.name)),p(1),S("matTooltip",U(19,17,"apps.view-logs")),p(2),S("inline",!0),p(2),S("matTooltip",U(23,19,"apps."+(0===t.status||2===t.status?"start-app":"stop-app"))),p(2),S("inline",!0),p(1),ge(0===t.status||2===t.status?"play_arrow":"stop")}}function KQ(n,i){1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n&&(p(1),ge(U(2,1,"tables.label")))}function $Q(n,i){1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n&&(p(1),ge(U(2,1,"tables.inverted-order")))}function ZQ(n,i){if(1&n&&(E(0,"a",55),Se("click",function(o){return o.stopPropagation()}),E(1,"button",56),Y(2,"translate"),E(3,"mat-icon"),R(4,"open_in_browser"),P()()()),2&n){var e=K().$implicit;S("href",K(2).getLink(e),vo),p(1),S("matTooltip",U(2,2,"apps.open"))}}function QQ(n,i){if(1&n){var e=tt();E(0,"tr")(1,"td")(2,"div",34)(3,"div",50)(4,"mat-checkbox",40),Se("change",function(){var l=ke(e).$implicit;return K(2).changeSelection(l)}),P()(),E(5,"div",35)(6,"div",51)(7,"span",1),R(8),Y(9,"translate"),P(),R(10),P(),E(11,"div",51)(12,"span",1),R(13),Y(14,"translate"),P(),R(15),P(),E(16,"div",51)(17,"span",1),R(18),Y(19,"translate"),P(),R(20,": "),E(21,"span"),R(22),Y(23,"translate"),P()(),E(24,"div",51)(25,"span",1),R(26),Y(27,"translate"),P(),R(28,": "),E(29,"span"),R(30),Y(31,"translate"),P()()(),Te(32,"div",52),E(33,"div",36),q(34,ZQ,5,4,"a",53),E(35,"button",54),Se("click",function(s){var u=ke(e).$implicit,f=K(2);return s.stopPropagation(),f.showOptionsDialog(u)}),Y(36,"translate"),E(37,"mat-icon"),R(38),P()()()()()()}if(2&n){var t=i.$implicit,a=K(2);p(4),S("checked",a.selections.get(t.name)),p(4),ge(U(9,16,"apps.apps-list.app-name")),p(2),ye(": ",t.name," "),p(3),ge(U(14,18,"apps.apps-list.port")),p(2),ye(": ",t.port," "),p(3),ge(U(19,20,"apps.apps-list.state")),p(3),ua(a.getSmallScreenStateClass(t)+" title"),p(1),ye(" ",xt(23,22,a.getSmallScreenStateTextVar(t),Qe(31,rP,t.detailedStatus?t.detailedStatus:""))," "),p(4),ge(U(27,25,"apps.apps-list.auto-start")),p(3),ua((t.autostart?"green-clear-text":"red-clear-text")+" title"),p(1),ye(" ",U(31,27,t.autostart?"apps.apps-list.autostart-enabled":"apps.apps-list.autostart-disabled")," "),p(4),S("ngIf",a.getLink(t)),p(1),S("matTooltip",U(36,29,"common.options")),p(3),ge("add")}}function JQ(n,i){if(1&n&&Te(0,"app-view-all-link",57),2&n){var e=K(2);S("numberOfElements",e.filteredApps.length)("linkParts",Qe(3,Qb,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}var XQ=function(i,e){return{"small-node-list-margins":i,"full-node-list-margins":e}},eJ=function(i){return{"d-lg-none d-xl-table":i}},tJ=function(i){return{"d-lg-table d-xl-none":i}};function nJ(n,i){if(1&n){var e=tt();E(0,"div",23)(1,"div",24)(2,"table",25)(3,"tr"),Te(4,"th"),E(5,"th",26),Se("click",function(){ke(e);var o=K();return o.dataSorter.changeSortingOrder(o.stateSortData)}),Y(6,"translate"),Te(7,"span",27),q(8,HQ,2,2,"mat-icon",28),P(),E(9,"th",29),Se("click",function(){ke(e);var o=K();return o.dataSorter.changeSortingOrder(o.nameSortData)}),R(10),Y(11,"translate"),q(12,BQ,2,2,"mat-icon",28),P(),E(13,"th",29),Se("click",function(){ke(e);var o=K();return o.dataSorter.changeSortingOrder(o.portSortData)}),R(14),Y(15,"translate"),q(16,VQ,2,2,"mat-icon",28),P(),E(17,"th",29),Se("click",function(){ke(e);var o=K();return o.dataSorter.changeSortingOrder(o.autoStartSortData)}),R(18),Y(19,"translate"),q(20,jQ,2,2,"mat-icon",28),P(),Te(21,"th",30),P(),q(22,qQ,26,21,"tr",31),P(),E(23,"table",32)(24,"tr",33),Se("click",function(){return ke(e),K().dataSorter.openSortingOrderModal()}),E(25,"td")(26,"div",34)(27,"div",35)(28,"div",1),R(29),Y(30,"translate"),P(),E(31,"div"),R(32),Y(33,"translate"),q(34,KQ,3,3,"ng-container",19),q(35,$Q,3,3,"ng-container",19),P()(),E(36,"div",36)(37,"mat-icon",37),R(38,"keyboard_arrow_down"),P()()()()(),q(39,QQ,39,33,"tr",31),P(),q(40,JQ,1,5,"app-view-all-link",38),P()()}if(2&n){var t=K();p(1),S("ngClass",En(31,XQ,t.showShortList_,!t.showShortList_)),p(1),S("ngClass",Qe(34,eJ,t.showShortList_)),p(3),S("matTooltip",U(6,19,"apps.apps-list.state-tooltip")),p(3),S("ngIf",t.dataSorter.currentSortingColumn===t.stateSortData),p(2),ye(" ",U(11,21,"apps.apps-list.app-name")," "),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.nameSortData),p(2),ye(" ",U(15,23,"apps.apps-list.port")," "),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.portSortData),p(2),ye(" ",U(19,25,"apps.apps-list.auto-start")," "),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.autoStartSortData),p(2),S("ngForOf",t.dataSource),p(1),S("ngClass",Qe(36,tJ,t.showShortList_)),p(6),ge(U(30,27,"tables.sorting-title")),p(3),ye("",U(33,29,t.dataSorter.currentSortingColumn.label)," "),p(2),S("ngIf",t.dataSorter.currentlySortingByLabel),p(1),S("ngIf",t.dataSorter.sortingInReverseOrder),p(2),S("inline",!0),p(2),S("ngForOf",t.dataSource),p(1),S("ngIf",t.showShortList_&&t.numberOfPages>1)}}function rJ(n,i){1&n&&(E(0,"span",61),R(1),Y(2,"translate"),P()),2&n&&(p(1),ge(U(2,1,"apps.apps-list.empty")))}function iJ(n,i){1&n&&(E(0,"span",61),R(1),Y(2,"translate"),P()),2&n&&(p(1),ge(U(2,1,"apps.apps-list.empty-with-filter")))}function aJ(n,i){if(1&n&&(E(0,"div",23)(1,"div",58)(2,"mat-icon",59),R(3,"warning"),P(),q(4,rJ,3,3,"span",60),q(5,iJ,3,3,"span",60),P()()),2&n){var e=K();p(2),S("inline",!0),p(2),S("ngIf",0===e.allApps.length),p(1),S("ngIf",0!==e.allApps.length)}}function oJ(n,i){if(1&n&&Te(0,"app-paginator",22),2&n){var e=K();S("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",Qe(4,Qb,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}var sJ=function(i){return{"paginator-icons-fixer":i}},iP=function(){var n=function(){function i(e,t,a,o,s,l){var u=this;c(this,i),this.appsService=e,this.dialog=t,this.route=a,this.router=o,this.snackbarService=s,this.translateService=l,this.listId="ap",this.stateSortData=new xn(["status"],"apps.apps-list.state",Jt.NumberReversed),this.nameSortData=new xn(["name"],"apps.apps-list.app-name",Jt.Text),this.portSortData=new xn(["port"],"apps.apps-list.port",Jt.Number),this.autoStartSortData=new xn(["autostart"],"apps.apps-list.auto-start",Jt.Boolean),this.selections=new Map,this.appsWithConfig=new Map([["skysocks",!0],["skysocks-client",!0],["vpn-client",!0],["vpn-server",!0]]),this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"apps.apps-list.filter-dialog.state",keyNameInElementsArray:"status",type:qn.Select,printableLabelsForValues:[{value:"",label:"apps.apps-list.filter-dialog.state-options.any"},{value:"1",label:"apps.apps-list.filter-dialog.state-options.running"},{value:"0",label:"apps.apps-list.filter-dialog.state-options.stopped"}]},{filterName:"apps.apps-list.filter-dialog.name",keyNameInElementsArray:"name",type:qn.TextInput,maxlength:50},{filterName:"apps.apps-list.filter-dialog.port",keyNameInElementsArray:"port",type:qn.TextInput,maxlength:8},{filterName:"apps.apps-list.filter-dialog.autostart",keyNameInElementsArray:"autostart",type:qn.Select,printableLabelsForValues:[{value:"",label:"apps.apps-list.filter-dialog.autostart-options.any"},{value:"true",label:"apps.apps-list.filter-dialog.autostart-options.enabled"},{value:"false",label:"apps.apps-list.filter-dialog.autostart-options.disabled"}]}],this.refreshAgain=!1,this.operationSubscriptionsGroup=[],this.dataSorter=new vc(this.dialog,this.translateService,[this.stateSortData,this.nameSortData,this.portSortData,this.autoStartSortData],1,this.listId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(function(){u.recalculateElementsToShow()}),this.dataFilterer=new gc(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(function(m){u.filteredApps=m,u.dataSorter.setData(u.filteredApps)}),this.navigationsSubscription=this.route.paramMap.subscribe(function(m){if(m.has("page")){var C=Number.parseInt(m.get("page"),10);(isNaN(C)||C<1)&&(C=1),u.currentPageInUrl=C,u.recalculateElementsToShow()}})}return d(i,[{key:"showShortList",set:function(t){this.showShortList_=t,this.dataSorter.setData(this.filteredApps)}},{key:"apps",set:function(t){this.allApps=t||[],this.dataFilterer.setData(this.allApps)}},{key:"ngOnDestroy",value:function(){this.navigationsSubscription.unsubscribe(),this.operationSubscriptionsGroup.forEach(function(t){return t.unsubscribe()}),this.dataSortedSubscription.unsubscribe(),this.dataFiltererSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFilterer.dispose()}},{key:"getLink",value:function(t){if("skychat"===t.name.toLocaleLowerCase()&&this.nodeIp&&0!==t.status&&2!==t.status){var a="8001";if(t.args)for(var o=0;o1&&void 0!==arguments[1]?arguments[1]:null;this.operationSubscriptionsGroup.push(t.subscribe(function(){o&&o.close(),setTimeout(function(){a.refreshAgain=!0,At.refreshCurrentDisplayedData()},50),a.snackbarService.showDone("apps.operation-completed")},function(s){s=an(s),setTimeout(function(){a.refreshAgain=!0,At.refreshCurrentDisplayedData()},50),o?o.componentInstance.showDone("confirmation.error-header-text",s.translatableErrorMsg):a.snackbarService.showError(s)}))}},{key:"viewLogs",value:function(t){0!==t.status&&2!==t.status?q$.openDialog(this.dialog,t):this.snackbarService.showError("apps.apps-list.unavailable-logs-error")}},{key:"config",value:function(t){"skysocks"===t.name||"vpn-server"===t.name?J$.openDialog(this.dialog,t):"skysocks-client"===t.name||"vpn-client"===t.name?PQ.openDialog(this.dialog,t):this.snackbarService.showError("apps.error")}},{key:"recalculateElementsToShow",value:function(){var t=this;if(this.currentPage=this.currentPageInUrl,this.filteredApps){var a=this.showShortList_?Kt.maxShortListElements:Kt.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredApps.length/a),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);var o=a*(this.currentPage-1);this.appsToShow=this.filteredApps.slice(o,o+a),this.appsMap=new Map,this.appsToShow.forEach(function(u){t.appsMap.set(u.name,u),t.selections.has(u.name)||t.selections.set(u.name,!1)});var l=[];this.selections.forEach(function(u,f){t.appsMap.has(f)||l.push(f)}),l.forEach(function(u){t.selections.delete(u)})}else this.appsToShow=null,this.selections=new Map;this.dataSource=this.appsToShow,this.refreshAgain&&(this.refreshAgain=!1,setTimeout(function(){return At.refreshCurrentDisplayedData()},2e3))}},{key:"startChangingAppState",value:function(t,a){var o=this;return this.appsService.changeAppState(At.getCurrentNodeKey(),t,a).pipe($e(function(s){return null!=s.status&&o.dataSource.forEach(function(l){l.name===t&&(l.status=s.status,l.detailedStatus=s.detailed_status)}),s}))}},{key:"startChangingAppAutostart",value:function(t,a){return this.appsService.changeAppAutostart(At.getCurrentNodeKey(),t,a)}},{key:"changeAppsValRecursively",value:function(t,a,o){var u,s=this,l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;if(!t||0===t.length)return setTimeout(function(){return At.refreshCurrentDisplayedData()},50),this.snackbarService.showWarning("apps.operation-unnecessary"),void(l&&l.close());u=a?this.startChangingAppAutostart(t[t.length-1],o):this.startChangingAppState(t[t.length-1],o),this.operationSubscriptionsGroup.push(u.subscribe(function(){t.pop(),0===t.length?(l&&l.close(),setTimeout(function(){s.refreshAgain=!0,At.refreshCurrentDisplayedData()},50),s.snackbarService.showDone("apps.operation-completed")):s.changeAppsValRecursively(t,a,o,l)},function(f){f=an(f),setTimeout(function(){s.refreshAgain=!0,At.refreshCurrentDisplayedData()},50),l?l.componentInstance.showDone("confirmation.error-header-text",f.translatableErrorMsg):s.snackbarService.showError(f)}))}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(_c),B(Gn),B(si),B(rn),B(An),B(ui))},n.\u0275cmp=qe({type:n,selectors:[["app-node-app-list"]],inputs:{nodePK:"nodePK",nodeIp:"nodeIp",showShortList:"showShortList",apps:"apps"},decls:32,vars:34,consts:[[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","uppercase",4,"ngIf"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],["class","small-icon",3,"inline","matTooltip","click",4,"ngIf"],[3,"matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"uppercase"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","matTooltip","click"],[3,"matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow",3,"ngClass"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table",3,"ngClass"],[1,"sortable-column",3,"matTooltip","click"],[1,"dot-outline-white"],[3,"inline",4,"ngIf"],[1,"sortable-column",3,"click"],[1,"actions"],[4,"ngFor","ngForOf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none",3,"ngClass"],[1,"selectable",3,"click"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],[3,"inline"],[3,"numberOfElements","linkParts","queryParams",4,"ngIf"],[1,"selection-col"],[3,"checked","change"],[3,"class","matTooltip",4,"ngIf"],["class","red-text",3,"inline","matTooltip",4,"ngIf"],["mat-icon-button","",1,"big-action-button","transparent-button",3,"matTooltip","click"],["target","_blank","rel","noreferrer nofollow noopener","class","skychat-link",3,"href",4,"ngIf"],["mat-icon-button","","class","big-action-button transparent-button",3,"matTooltip","click",4,"ngIf"],[3,"matTooltip"],[1,"red-text",3,"inline","matTooltip"],["target","_blank","rel","noreferrer nofollow noopener",1,"skychat-link",3,"href"],["mat-icon-button","",1,"big-action-button","transparent-button",3,"matTooltip"],[1,"check-part"],[1,"list-row"],[1,"margin-part"],["target","_blank","rel","noreferrer nofollow noopener","class","skychat-link",3,"href","click",4,"ngIf"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],["target","_blank","rel","noreferrer nofollow noopener",1,"skychat-link",3,"href","click"],["mat-icon-button","",1,"transparent-button",3,"matTooltip"],[3,"numberOfElements","linkParts","queryParams"],[1,"box-internal-container"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(e,t){1&e&&(E(0,"div",0)(1,"div",1),q(2,xQ,3,3,"span",2),q(3,FQ,5,4,"div",3),P(),E(4,"div",4)(5,"div",5),q(6,RQ,3,4,"mat-icon",6),q(7,NQ,2,1,"mat-icon",7),E(8,"mat-menu",8,9)(10,"div",10),Se("click",function(){return t.changeAllSelections(!0)}),R(11),Y(12,"translate"),P(),E(13,"div",10),Se("click",function(){return t.changeAllSelections(!1)}),R(14),Y(15,"translate"),P(),E(16,"div",11),Se("click",function(){return t.changeStateOfSelected(!0)}),R(17),Y(18,"translate"),P(),E(19,"div",11),Se("click",function(){return t.changeStateOfSelected(!1)}),R(20),Y(21,"translate"),P(),E(22,"div",11),Se("click",function(){return t.changeAutostartOfSelected(!0)}),R(23),Y(24,"translate"),P(),E(25,"div",11),Se("click",function(){return t.changeAutostartOfSelected(!1)}),R(26),Y(27,"translate"),P()()(),q(28,YQ,1,6,"app-paginator",12),P()(),q(29,nJ,41,38,"div",13),q(30,aJ,6,3,"div",13),q(31,oJ,1,6,"app-paginator",12)),2&e&&(S("ngClass",Qe(32,sJ,!t.showShortList_&&t.numberOfPages>1&&t.dataSource)),p(2),S("ngIf",t.showShortList_),p(1),S("ngIf",t.dataFilterer.currentFiltersTexts&&t.dataFilterer.currentFiltersTexts.length>0),p(3),S("ngIf",t.allApps&&t.allApps.length>0),p(1),S("ngIf",t.dataSource&&t.dataSource.length>0),p(1),S("overlapTrigger",!1),p(3),ye(" ",U(12,20,"selection.select-all")," "),p(3),ye(" ",U(15,22,"selection.unselect-all")," "),p(2),Ln("disabled",!t.hasSelectedElements()),p(1),ye(" ",U(18,24,"selection.start-all")," "),p(2),Ln("disabled",!t.hasSelectedElements()),p(1),ye(" ",U(21,26,"selection.stop-all")," "),p(2),Ln("disabled",!t.hasSelectedElements()),p(1),ye(" ",U(24,28,"selection.enable-autostart-all")," "),p(2),Ln("disabled",!t.hasSelectedElements()),p(1),ye(" ",U(27,30,"selection.disable-autostart-all")," "),p(2),S("ngIf",!t.showShortList_&&t.numberOfPages>1&&t.dataSource),p(1),S("ngIf",t.dataSource&&t.dataSource.length>0),p(1),S("ngIf",!t.dataSource||0===t.dataSource.length),p(1),S("ngIf",!t.showShortList_&&t.numberOfPages>1&&t.dataSource))},directives:[mr,Et,Or,Mn,ur,kc,bc,ns,Mc,Ys,bi,Ov],pipes:[Mt],styles:[".actions[_ngcontent-%COMP%]{text-align:right;width:150px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}.skychat-link[_ngcontent-%COMP%]{color:#f8f9f9;text-decoration:none}.skychat-link[_ngcontent-%COMP%] .big-action-button[_ngcontent-%COMP%]{margin-right:5px}"]}),n}(),lJ=function(){var n=function(){function i(){c(this,i)}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.dataSubscription=At.currentNode.subscribe(function(a){t.nodePK=a.localPk,t.apps=a.apps,t.nodeIp=a.ip})}},{key:"ngOnDestroy",value:function(){this.dataSubscription.unsubscribe()}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=qe({type:n,selectors:[["app-apps"]],decls:1,vars:4,consts:[[3,"apps","showShortList","nodePK","nodeIp"]],template:function(e,t){1&e&&Te(0,"app-node-app-list",0),2&e&&S("apps",t.apps)("showShortList",!0)("nodePK",t.nodePK)("nodeIp",t.nodeIp)},directives:[iP],styles:[""]}),n}();function uJ(n,i){1&n&&Te(0,"app-transport-list",1),2&n&&S("node",K().node)("showShortList",!1)}var cJ=function(){var n=function(){function i(){c(this,i)}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.dataSubscription=At.currentNode.subscribe(function(a){return t.node=a})}},{key:"ngOnDestroy",value:function(){this.dataSubscription.unsubscribe()}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=qe({type:n,selectors:[["app-all-transports"]],decls:1,vars:1,consts:[[3,"node","showShortList",4,"ngIf"],[3,"node","showShortList"]],template:function(e,t){1&e&&q(0,uJ,1,2,"app-transport-list",0),2&e&&S("ngIf",t.node)},directives:[Et,UE],styles:[""]}),n}();function dJ(n,i){if(1&n&&Te(0,"app-route-list",1),2&n){var e=K();S("routes",e.routes)("showShortList",!1)("nodePK",e.nodePK)}}var fJ=function(){var n=function(){function i(){c(this,i)}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.dataSubscription=At.currentNode.subscribe(function(a){t.nodePK=a.localPk,t.routes=a.routes})}},{key:"ngOnDestroy",value:function(){this.dataSubscription.unsubscribe()}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=qe({type:n,selectors:[["app-all-routes"]],decls:1,vars:1,consts:[[3,"routes","showShortList","nodePK",4,"ngIf"],[3,"routes","showShortList","nodePK"]],template:function(e,t){1&e&&q(0,dJ,1,3,"app-route-list",0),2&e&&S("ngIf",t.routes)},directives:[Et,WE],styles:[""]}),n}();function hJ(n,i){if(1&n&&Te(0,"app-node-app-list",1),2&n){var e=K();S("apps",e.apps)("showShortList",!1)("nodePK",e.nodePK)}}var pJ=function(){var n=function(){function i(){c(this,i)}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.dataSubscription=At.currentNode.subscribe(function(a){t.nodePK=a.localPk,t.apps=a.apps})}},{key:"ngOnDestroy",value:function(){this.dataSubscription.unsubscribe()}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=qe({type:n,selectors:[["app-all-apps"]],decls:1,vars:1,consts:[[3,"apps","showShortList","nodePK",4,"ngIf"],[3,"apps","showShortList","nodePK"]],template:function(e,t){1&e&&q(0,hJ,1,3,"app-node-app-list",0),2&e&&S("ngIf",t.apps)},directives:[Et,iP],styles:[""]}),n}(),vJ=["button"],mJ=["firstInput"],aP=function(){var n=function(){function i(e,t,a,o,s){c(this,i),this.dialogRef=e,this.data=t,this.formBuilder=a,this.snackbarService=o,this.routeService=s}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.form=this.formBuilder.group({min:[this.data.minHops,Cn.compose([Cn.required,Cn.maxLength(3),Cn.pattern("^[0-9]+$")])]}),setTimeout(function(){return t.firstInput.nativeElement.focus()})}},{key:"ngOnDestroy",value:function(){this.operationSubscription&&this.operationSubscription.unsubscribe()}},{key:"save",value:function(){!this.form.valid||this.operationSubscription||(this.button.showLoading(),this.operationSubscription=this.routeService.setMinHops(this.data.nodePk,Number.parseInt(this.form.get("min").value,10)).subscribe({next:this.onSuccess.bind(this),error:this.onError.bind(this)}))}},{key:"onSuccess",value:function(t){this.dialogRef.close(!0),this.snackbarService.showDone("router-config.done")}},{key:"onError",value:function(t){this.button.showError(),this.operationSubscription=null,t=an(t),this.snackbarService.showError(t)}}],[{key:"openDialog",value:function(t,a){var o=new Zn;return o.data=a,o.autoFocus=!1,o.width=Kt.smallModalWidth,t.open(i,o)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Dr),B(Ur),B(Zi),B(An),B(zE))},n.\u0275cmp=qe({type:n,selectors:[["app-router-config"]],viewQuery:function(e,t){var a;1&e&&(gt(vJ,5),gt(mJ,5)),2&e&&(lt(a=ut())&&(t.button=a.first),lt(a=ut())&&(t.firstInput=a.first))},decls:14,vars:14,consts:[[3,"headline"],[1,"info-container"],[3,"formGroup"],["formControlName","min","maxlength","3","matInput","",3,"placeholder"],["firstInput",""],["color","primary",1,"float-right",3,"disabled","action"],["button",""]],template:function(e,t){1&e&&(E(0,"app-dialog",0),Y(1,"translate"),E(2,"div",1),R(3),Y(4,"translate"),P(),E(5,"form",2)(6,"mat-form-field"),Te(7,"input",3,4),Y(9,"translate"),P()(),E(10,"app-button",5,6),Se("action",function(){return t.save()}),R(12),Y(13,"translate"),P()()),2&e&&(S("headline",U(1,6,"router-config.title")),p(3),ge(U(4,8,"router-config.info")),p(2),S("formGroup",t.form),p(2),S("placeholder",U(9,10,"router-config.min-hops")),p(3),S("disabled",!t.form.valid),p(2),ye(" ",U(13,12,"router-config.save-config-button")," "))},directives:[_r,ei,Xr,gr,ki,Qr,Qi,Jr,zr,Hi,di],pipes:[Mt],styles:[".info-container[_ngcontent-%COMP%]{margin-bottom:10px;font-size:.8rem}"]}),n}(),gJ=function(){var n=function(){function i(e){c(this,i),this.clipboardService=e,this.copyEvent=new pt,this.errorEvent=new pt,this.value=""}return d(i,[{key:"ngOnDestroy",value:function(){this.copyEvent.complete(),this.errorEvent.complete()}},{key:"copyToClipboard",value:function(){this.clipboardService.copy(this.value)?this.copyEvent.emit(this.value):this.errorEvent.emit()}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Sf))},n.\u0275dir=et({type:n,selectors:[["","clipboard",""]],hostBindings:function(e,t){1&e&&Se("click",function(){return t.copyToClipboard()})},inputs:{value:["clipboard","value"]},outputs:{copyEvent:"copyEvent",errorEvent:"errorEvent"}}),n}();function _J(n,i){if(1&n&&(ze(0),Te(1,"app-truncated-text",3),R(2," \xa0"),E(3,"mat-icon",4),R(4,"filter_none"),P(),We()),2&n){var e=K();p(1),S("short",e.short)("showTooltip",!1)("shortTextLength",e.shortTextLength)("text",e.text),p(2),S("inline",!0)}}function yJ(n,i){if(1&n&&(E(0,"div",5)(1,"div",6),R(2),P(),R(3," \xa0"),E(4,"mat-icon",4),R(5,"filter_none"),P()()),2&n){var e=K();p(2),ge(e.text),p(2),S("inline",!0)}}var bJ=function(i){return{text:i}},kJ=function(){return{"tooltip-word-break":!0}},Jb=function(){var n=function(){function i(e){c(this,i),this.snackbarService=e,this.short=!1,this.shortSimple=!1,this.shortTextLength=5}return d(i,[{key:"onCopyToClipboardClicked",value:function(){this.snackbarService.showDone("copy.copied")}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(An))},n.\u0275cmp=qe({type:n,selectors:[["app-copy-to-clipboard-text"]],inputs:{text:"text",short:"short",shortSimple:"shortSimple",shortTextLength:"shortTextLength"},decls:4,vars:11,consts:[[1,"wrapper","highlight-internal-icon",3,"clipboard","matTooltip","matTooltipClass","copyEvent"],[4,"ngIf"],["class","d-flex",4,"ngIf"],[3,"short","showTooltip","shortTextLength","text"],[3,"inline"],[1,"d-flex"],[1,"single-line"]],template:function(e,t){1&e&&(E(0,"div",0),Se("copyEvent",function(){return t.onCopyToClipboardClicked()}),Y(1,"translate"),q(2,_J,5,5,"ng-container",1),q(3,yJ,6,2,"div",2),P()),2&e&&(S("clipboard",t.text)("matTooltip",xt(1,5,t.short||t.shortSimple?"copy.tooltip-with-text":"copy.tooltip",Qe(8,bJ,t.text)))("matTooltipClass",Nn(10,kJ)),p(2),S("ngIf",!t.shortSimple),p(1),S("ngIf",t.shortSimple))},directives:[gJ,ur,Et,cE,Mn],pipes:[Mt],styles:['.cursor-pointer[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}.wrapper[_ngcontent-%COMP%]{display:inline}.wrapper[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:.6rem;-webkit-user-select:none;user-select:none}']}),n}(),MJ=H(6149),CJ=["chart"],Xb=function(){var n=function(){function i(e){c(this,i),this.height=100,this.animated=!1,this.min=void 0,this.max=void 0,this.differ=e.find([]).create(null)}return d(i,[{key:"ngAfterViewInit",value:function(){this.chart=new MJ.Chart(this.chartElement.nativeElement,{type:"line",data:{labels:Array.from(Array(this.data.length).keys()),datasets:[{data:this.data,backgroundColor:["rgba(10, 15, 22, 0.4)"],borderColor:["rgba(10, 15, 22, 0.4)"],borderWidth:1}]},options:{maintainAspectRatio:!1,events:[],legend:{display:!1},tooltips:{enabled:!1},scales:{yAxes:[{display:!1,ticks:{suggestedMin:0}}],xAxes:[{display:!1}]},elements:{point:{radius:0}},layout:{padding:{left:0,right:0,top:i.topInternalMargin,bottom:0}}}}),void 0!==this.min&&void 0!==this.max&&(this.updateMinAndMax(),this.chart.update(0))}},{key:"ngDoCheck",value:function(){this.differ.diff(this.data)&&this.chart&&(void 0!==this.min&&void 0!==this.max&&this.updateMinAndMax(),this.animated?this.chart.update():this.chart.update(0))}},{key:"ngOnDestroy",value:function(){this.chart&&this.chart.destroy()}},{key:"updateMinAndMax",value:function(){this.chart.options.scales={yAxes:[{display:!1,ticks:{min:this.min,max:this.max}}],xAxes:[{display:!1}]}}}]),i}();return n.topInternalMargin=5,n.\u0275fac=function(e){return new(e||n)(B(Rd))},n.\u0275cmp=qe({type:n,selectors:[["app-line-chart"]],viewQuery:function(e,t){var a;1&e&>(CJ,5),2&e&<(a=ut())&&(t.chartElement=a.first)},inputs:{data:"data",height:"height",animated:"animated",min:"min",max:"max"},decls:3,vars:2,consts:[[1,"chart-container"],["chart",""]],template:function(e,t){1&e&&(E(0,"div",0),Te(1,"canvas",null,1),P()),2&e&&tr("height: "+t.height+"px;")},styles:[".chart-container[_ngcontent-%COMP%]{position:relative;width:100%;overflow:hidden;border-radius:10px}"]}),n}(),oP=function(){return{showValue:!0}},sP=function(){return{showUnit:!0}},wJ=function(){var n=function(){function i(e){c(this,i),this.nodeService=e}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.dataSubscription=this.nodeService.specificNodeTrafficData.subscribe(function(a){t.data=a})}},{key:"ngOnDestroy",value:function(){this.dataSubscription.unsubscribe()}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Al))},n.\u0275cmp=qe({type:n,selectors:[["app-charts"]],decls:26,vars:28,consts:[[1,"small-rounded-elevated-box","chart"],[3,"data"],[1,"info"],[1,"text"],[1,"rate"],[1,"value"],[1,"unit"]],template:function(e,t){1&e&&(E(0,"div",0),Te(1,"app-line-chart",1),E(2,"div",2)(3,"span",3),R(4),Y(5,"translate"),P(),E(6,"span",4)(7,"span",5),R(8),Y(9,"autoScale"),P(),E(10,"span",6),R(11),Y(12,"autoScale"),P()()()(),E(13,"div",0),Te(14,"app-line-chart",1),E(15,"div",2)(16,"span",3),R(17),Y(18,"translate"),P(),E(19,"span",4)(20,"span",5),R(21),Y(22,"autoScale"),P(),E(23,"span",6),R(24),Y(25,"autoScale"),P()()()()),2&e&&(p(1),S("data",t.data.sentHistory),p(3),ge(U(5,8,"common.uploaded")),p(4),ge(xt(9,10,t.data.totalSent,Nn(24,oP))),p(3),ge(xt(12,13,t.data.totalSent,Nn(25,sP))),p(3),S("data",t.data.receivedHistory),p(3),ge(U(18,16,"common.downloaded")),p(4),ge(xt(22,18,t.data.totalReceived,Nn(26,oP))),p(3),ge(xt(25,21,t.data.totalReceived,Nn(27,sP))))},directives:[Xb],pipes:[Mt,Pf],styles:[".chart[_ngcontent-%COMP%]{position:relative;margin-bottom:20px}.chart[_ngcontent-%COMP%]:last-child{margin-bottom:10px}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{position:absolute;bottom:0;left:0;display:flex;justify-content:space-between;align-items:flex-end;padding:10px;width:100%}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#f8f9f9}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] span.text[_ngcontent-%COMP%]{font-size:.8rem;text-transform:uppercase;font-weight:700}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] span.rate[_ngcontent-%COMP%] .value[_ngcontent-%COMP%]{font-size:1.25rem;font-weight:700}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] span.rate[_ngcontent-%COMP%] .unit[_ngcontent-%COMP%]{font-size:.8rem;padding-left:5px}"]}),n}();function SJ(n,i){if(1&n&&(E(0,"span",4)(1,"span",5),R(2),Y(3,"translate"),P(),Te(4,"app-copy-to-clipboard-text",8),P()),2&n){var e=K(2);p(2),ye("",U(3,2,"node.details.node-info.public-ip"),"\xa0"),p(2),Ln("text",e.node.publicIp)}}function DJ(n,i){if(1&n&&(E(0,"span",4)(1,"span",5),R(2),Y(3,"translate"),P(),Te(4,"app-copy-to-clipboard-text",8),P()),2&n){var e=K(2);p(2),ye("",U(3,2,"node.details.node-info.ip"),"\xa0"),p(2),Ln("text",e.node.ip)}}function TJ(n,i){if(1&n&&(E(0,"span",4)(1,"span",5),R(2),Y(3,"translate"),P(),R(4),P()),2&n){var e=K(2);p(2),ge(U(3,2,"node.details.node-info.skybian-version")),p(2),ye(" ",e.node.skybianBuildVersion," ")}}var ek=function(i){return{time:i}};function LJ(n,i){if(1&n&&(E(0,"mat-icon",12),Y(1,"translate"),R(2," info "),P()),2&n){var e=K(2);S("inline",!0)("matTooltip",xt(1,2,"node.details.node-info.time.minutes",Qe(5,ek,e.timeOnline.totalMinutes)))}}function EJ(n,i){if(1&n){var e=tt();E(0,"div",1)(1,"div",2)(2,"span",3),R(3),Y(4,"translate"),P(),E(5,"span",4)(6,"span",5),R(7),Y(8,"translate"),P(),E(9,"span",6),Se("click",function(){return ke(e),K().showEditLabelDialog()}),R(10),E(11,"mat-icon",7),R(12,"edit"),P()()(),E(13,"span",4)(14,"span",5),R(15),Y(16,"translate"),P(),Te(17,"app-copy-to-clipboard-text",8),P(),E(18,"span",4)(19,"span",5),R(20),Y(21,"translate"),P(),R(22),Y(23,"translate"),P(),q(24,SJ,5,4,"span",9),q(25,DJ,5,4,"span",9),E(26,"span",4)(27,"span",5),R(28),Y(29,"translate"),P(),Te(30,"app-copy-to-clipboard-text",8),P(),E(31,"span",4)(32,"span",5),R(33),Y(34,"translate"),P(),R(35),Y(36,"translate"),P(),E(37,"span",4)(38,"span",5),R(39),Y(40,"translate"),P(),R(41),Y(42,"translate"),P(),E(43,"span",4)(44,"span",5),R(45),Y(46,"translate"),P(),R(47),Y(48,"translate"),P(),q(49,TJ,5,4,"span",9),E(50,"span",4)(51,"span",5),R(52),Y(53,"translate"),P(),R(54),Y(55,"translate"),q(56,LJ,3,7,"mat-icon",10),P()(),Te(57,"div",11),E(58,"div",2)(59,"span",3),R(60),Y(61,"translate"),P(),E(62,"span",4)(63,"span",5),R(64),Y(65,"translate"),P(),R(66),Y(67,"translate"),E(68,"mat-icon",12),Y(69,"translate"),R(70,"info"),P()(),E(71,"div",13)(72,"app-button",14),Se("action",function(){return ke(e),K().changeTransportsConfig()}),R(73),Y(74,"translate"),P()()(),Te(75,"div",11),E(76,"div",2)(77,"span",3),R(78),Y(79,"translate"),P(),E(80,"span",4)(81,"span",5),R(82),Y(83,"translate"),P(),R(84),P(),E(85,"div",13)(86,"app-button",14),Se("action",function(){return ke(e),K().changeRouterConfig()}),R(87),Y(88,"translate"),P()()(),Te(89,"div",11),E(90,"div",2)(91,"span",3),R(92),Y(93,"translate"),P(),E(94,"span",4)(95,"span",5),R(96),Y(97,"translate"),P(),Te(98,"i"),R(99),Y(100,"translate"),P()(),Te(101,"div",11),E(102,"div",2)(103,"span",3),R(104),Y(105,"translate"),P(),Te(106,"app-charts",15),P()()}if(2&n){var t=K();p(3),ge(U(4,40,"node.details.node-info.title")),p(4),ge(U(8,42,"node.details.node-info.label")),p(3),ye(" ",t.node.label," "),p(1),S("inline",!0),p(4),ye("",U(16,44,"node.details.node-info.public-key"),"\xa0"),p(2),Ln("text",t.node.localPk),p(3),ye("",U(21,46,"node.details.node-info.symmetic-nat"),"\xa0"),p(2),ye(" ",U(23,48,t.node.isSymmeticNat?"common.yes":"common.no")," "),p(2),S("ngIf",!t.node.isSymmeticNat),p(1),S("ngIf",t.node.ip),p(3),ye("",U(29,50,"node.details.node-info.dmsg-server"),"\xa0"),p(2),Ln("text",t.node.dmsgServerPk),p(3),ye("",U(34,52,"node.details.node-info.ping"),"\xa0"),p(2),ye(" ",xt(36,54,"common.time-in-ms",Qe(94,ek,t.node.roundTripPing))," "),p(4),ge(U(40,57,"node.details.node-info.node-version")),p(2),ye(" ",t.node.version?t.node.version:U(42,59,"common.unknown")," "),p(4),ge(U(46,61,"node.details.node-info.build-type")),p(2),ye(" ",t.node.buildTag?t.node.buildTag:U(48,63,"node.details.node-info.unknown-build")," "),p(2),S("ngIf",t.node.skybianBuildVersion),p(3),ge(U(53,65,"node.details.node-info.time.title")),p(2),ye(" ",xt(55,67,"node.details.node-info.time."+t.timeOnline.translationVarName,Qe(96,ek,t.timeOnline.elapsedTime))," "),p(2),S("ngIf",t.timeOnline.totalMinutes>60),p(4),ge(U(61,70,"node.details.transports-info.title")),p(4),ge(U(65,72,"node.details.transports-info.autoconnect")),p(2),ye(" ",U(67,74,"node.details.transports-info."+(t.node.autoconnectTransports?"enabled":"disabled"))," "),p(2),S("inline",!0)("matTooltip",U(69,76,"node.details.transports-info.autoconnect-info")),p(4),S("forDarkBackground",!0),p(1),ye(" ",U(74,78,"node.details.transports-info."+(t.node.autoconnectTransports?"disable":"enable")+"-button")," "),p(5),ge(U(79,80,"node.details.router-info.title")),p(4),ge(U(83,82,"node.details.router-info.min-hops")),p(2),ye(" ",t.node.minHops," "),p(2),S("forDarkBackground",!0),p(1),ye(" ",U(88,84,"node.details.router-info.change-config-button")," "),p(5),ge(U(93,86,"node.details.node-health.title")),p(4),ge(U(97,88,"node.details.node-health.uptime-tracker")),p(2),ua(t.nodeHealthClass),p(1),ye(" ",U(100,90,t.nodeHealthText)," "),p(5),ge(U(105,92,"node.details.node-traffic-data"))}}var lP=function(){var n=function(){function i(e,t,a,o){c(this,i),this.dialog=e,this.storageService=t,this.transportService=a,this.snackbarService=o}return d(i,[{key:"nodeInfo",set:function(t){this.node=t,this.timeOnline=SE.getElapsedTime(t.secondsOnline),t.health&&t.health.servicesHealth===eo.Healthy?(this.nodeHealthText="node.statuses.online",this.nodeHealthClass="dot-green"):t.health&&t.health.servicesHealth===eo.Unhealthy?(this.nodeHealthText="node.statuses.partially-online",this.nodeHealthClass="dot-yellow blinking"):t.health&&t.health.servicesHealth===eo.Connecting?(this.nodeHealthText="node.statuses.connecting",this.nodeHealthClass="dot-outline-gray"):(this.nodeHealthText="node.statuses.unknown",this.nodeHealthClass="dot-outline-gray")}},{key:"ngOnDestroy",value:function(){this.autoconnectSubscription&&this.autoconnectSubscription.unsubscribe()}},{key:"showEditLabelDialog",value:function(){var t=this.storageService.getLabelInfo(this.node.localPk);t||(t={id:this.node.localPk,label:"",identifiedElementType:li.Node}),Wb.openDialog(this.dialog,t).afterClosed().subscribe(function(a){a&&At.refreshCurrentDisplayedData()})}},{key:"changeRouterConfig",value:function(){aP.openDialog(this.dialog,{nodePk:this.node.localPk,minHops:this.node.minHops}).afterClosed().subscribe(function(a){a&&At.refreshCurrentDisplayedData()})}},{key:"changeTransportsConfig",value:function(){var t=this,a=cn.createConfirmationDialog(this.dialog,this.node.autoconnectTransports?"node.details.transports-info.disable-confirmation":"node.details.transports-info.enable-confirmation");a.componentInstance.operationAccepted.subscribe(function(){a.componentInstance.showProcessing();var o=t.transportService.changeAutoconnectSetting(t.node.localPk,!t.node.autoconnectTransports);t.autoconnectSubscription=o.subscribe(function(){a.close(),t.snackbarService.showDone(t.node.autoconnectTransports?"node.details.transports-info.disable-done":"node.details.transports-info.enable-done"),At.refreshCurrentDisplayedData()},function(s){s=an(s),a.componentInstance.showDone("confirmation.error-header-text",s.translatableErrorMsg)})})}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Gn),B($i),B(Kb),B(An))},n.\u0275cmp=qe({type:n,selectors:[["app-node-info-content"]],inputs:{nodeInfo:"nodeInfo"},decls:1,vars:1,consts:[["class","font-smaller d-flex flex-column mt-4.5",4,"ngIf"],[1,"font-smaller","d-flex","flex-column","mt-4.5"],[1,"d-flex","flex-column"],[1,"section-title"],[1,"info-line"],[1,"title"],[1,"highlight-internal-icon",3,"click"],[3,"inline"],[3,"text"],["class","info-line",4,"ngIf"],[3,"inline","matTooltip",4,"ngIf"],[1,"separator"],[3,"inline","matTooltip"],[1,"config-button-container"],["color","primary",3,"forDarkBackground","action"],[1,"d-flex","flex-column","justify-content-end","mt-3"]],template:function(e,t){1&e&&q(0,EJ,107,98,"div",0),2&e&&S("ngIf",t.node)},directives:[Et,Mn,Jb,ur,di,wJ],pipes:[Mt],styles:[".section-title[_ngcontent-%COMP%]{font-size:1rem;font-weight:700;text-transform:uppercase}.info-line[_ngcontent-%COMP%]{word-break:break-all;margin-top:7px}.info-line[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:2px;-webkit-user-select:none;user-select:none}.info-line[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin-left:7px}.info-line[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{opacity:.75}.separator[_ngcontent-%COMP%]{width:100%;height:0px;margin:1rem 0;border-top:1px solid rgba(255,255,255,.15)}.config-button-container[_ngcontent-%COMP%]{margin-top:10px;margin-left:-4px}"]}),n}(),PJ=function(){var n=function(){function i(){c(this,i)}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.dataSubscription=At.currentNode.subscribe(function(a){t.node=a})}},{key:"ngOnDestroy",value:function(){this.dataSubscription.unsubscribe()}}]),i}();return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=qe({type:n,selectors:[["app-node-info"]],decls:1,vars:1,consts:[[3,"nodeInfo"]],template:function(e,t){1&e&&Te(0,"app-node-info-content",0),2&e&&S("nodeInfo",t.node)},directives:[lP],styles:[""]}),n}(),xJ=function(){return["settings.title","labels.title"]},OJ=function(){var n=function(){function i(e){c(this,i),this.router=e,this.tabsData=[],this.returnButtonText="settings.title",this.tabsData=[{icon:"view_headline",label:"labels.list-title",linkParts:[]}]}return d(i,[{key:"performAction",value:function(t){null===t&&this.router.navigate(["settings"])}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(rn))},n.\u0275cmp=qe({type:n,selectors:[["app-all-labels"]],decls:5,vars:6,consts:[[1,"row"],[1,"col-12"],[3,"titleParts","tabsData","showUpdateButton","returnText","optionSelected"],[1,"content","col-12"],[3,"showShortList"]],template:function(e,t){1&e&&(E(0,"div",0)(1,"div",1)(2,"app-top-bar",2),Se("optionSelected",function(o){return t.performAction(o)}),P()(),E(3,"div",3),Te(4,"app-label-list",4),P()()),2&e&&(p(2),S("titleParts",Nn(5,xJ))("tabsData",t.tabsData)("showUpdateButton",!1)("returnText",t.returnButtonText),p(2),S("showShortList",!1))},directives:[Fl,VE],styles:[""]}),n}(),AJ=["firstInput"];function IJ(n,i){1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n&&(p(1),ye(" ",U(2,1,"vpn.server-list.add-server-dialog.pk-length-error")," "))}function FJ(n,i){1&n&&(R(0),Y(1,"translate")),2&n&&ye(" ",U(1,1,"vpn.server-list.add-server-dialog.pk-chars-error")," ")}var RJ=function(){var n=function(){function i(e,t,a,o,s,l,u,f){c(this,i),this.dialogRef=e,this.data=t,this.formBuilder=a,this.dialog=o,this.router=s,this.vpnClientService=l,this.vpnSavedDataService=u,this.snackbarService=f}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.form=this.formBuilder.group({pk:["",Cn.compose([Cn.required,Cn.minLength(66),Cn.maxLength(66),Cn.pattern("^[0-9a-fA-F]+$")])],password:[""],name:[""],note:[""]}),setTimeout(function(){return t.firstInput.nativeElement.focus()})}},{key:"process",value:function(){if(this.form.valid){var t={pk:this.form.get("pk").value,name:this.form.get("name").value,note:this.form.get("note").value};Gr.processServerChange(this.router,this.vpnClientService,this.vpnSavedDataService,this.snackbarService,this.dialog,this.dialogRef,this.data,null,null,t,this.form.get("password").value)}}}],[{key:"openDialog",value:function(t,a){var o=new Zn;return o.data=a,o.autoFocus=!1,o.width=Kt.mediumModalWidth,t.open(i,o)}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Dr),B(Ur),B(Zi),B(Gn),B(rn),B(yc),B(Il),B(An))},n.\u0275cmp=qe({type:n,selectors:[["app-add-vpn-server"]],viewQuery:function(e,t){var a;1&e&>(AJ,5),2&e&<(a=ut())&&(t.firstInput=a.first)},decls:23,vars:22,consts:[[3,"headline"],[3,"formGroup"],["formControlName","pk","maxlength","66","matInput","",3,"placeholder"],["firstInput",""],[4,"ngIf","ngIfElse"],["hexError",""],["formControlName","password","type","password","matInput","",3,"placeholder"],["formControlName","name","maxlength","100","matInput","",3,"placeholder"],["formControlName","note","maxlength","100","matInput","",3,"placeholder"],["color","primary",1,"float-right",3,"disabled","action"]],template:function(e,t){if(1&e&&(E(0,"app-dialog",0),Y(1,"translate"),E(2,"form",1)(3,"mat-form-field"),Te(4,"input",2,3),Y(6,"translate"),E(7,"mat-error"),q(8,IJ,3,3,"ng-container",4),P(),q(9,FJ,2,3,"ng-template",null,5,Ls),P(),E(11,"mat-form-field"),Te(12,"input",6),Y(13,"translate"),P(),E(14,"mat-form-field"),Te(15,"input",7),Y(16,"translate"),P(),E(17,"mat-form-field"),Te(18,"input",8),Y(19,"translate"),P()(),E(20,"app-button",9),Se("action",function(){return t.process()}),R(21),Y(22,"translate"),P()()),2&e){var a=sr(10);S("headline",U(1,10,"vpn.server-list.add-server-dialog.title")),p(2),S("formGroup",t.form),p(2),S("placeholder",U(6,12,"vpn.server-list.add-server-dialog.pk-label")),p(4),S("ngIf",!t.form.get("pk").hasError("pattern"))("ngIfElse",a),p(4),S("placeholder",U(13,14,"vpn.server-list.add-server-dialog.password-label")),p(3),S("placeholder",U(16,16,"vpn.server-list.add-server-dialog.name-label")),p(3),S("placeholder",U(19,18,"vpn.server-list.add-server-dialog.note-label")),p(2),S("disabled",!t.form.valid),p(1),ye(" ",U(22,20,"vpn.server-list.add-server-dialog.use-server-button")," ")}},directives:[_r,ei,Xr,gr,ki,Qr,Qi,Jr,zr,Hi,wf,Et,di],pipes:[Mt],styles:[""]}),n}(),NJ=d(function n(){c(this,n),this.countryCode="ZZ"}),YJ=function(){var n=function(){function i(e){c(this,i),this.http=e,this.discoveryServiceUrl="https://sd.skycoin.com/api/services?type=vpn"}return d(i,[{key:"getServers",value:function(){var t=this;return this.servers?Je(this.servers):this.http.get(this.discoveryServiceUrl).pipe(Lf(function(a){return a.pipe(Mi(4e3))}),$e(function(a){var o=[];return a.forEach(function(s){var l=new NJ,u=s.address.split(":");2===u.length&&(l.pk=u[0],l.location="",s.geo&&(s.geo.country&&(l.countryCode=s.geo.country),s.geo.region&&(l.location=s.geo.region)),l.name=u[0],l.note="",o.push(l))}),t.servers=o,o}))}}]),i}();return n.\u0275fac=function(e){return new(e||n)(Ee(cl))},n.\u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"}),n}();function HJ(n,i){1&n&&Ss(0)}var uP=function(){return["vpn.title"]};function BJ(n,i){if(1&n&&(E(0,"div",3)(1,"div",4),Te(2,"app-top-bar",5),E(3,"div",6)(4,"div",7)(5,"div",8),q(6,HJ,1,0,"ng-container",9),P()()()(),Te(7,"app-loading-indicator",10),P()),2&n){var e=K(),t=sr(2);p(2),S("titleParts",Nn(6,uP))("tabsData",e.tabsData)("selectedTabIndex",1)("showUpdateButton",!1)("localVpnKey",e.currentLocalPk),p(4),S("ngTemplateOutlet",t)}}function VJ(n,i){1&n&&(E(0,"div",22)(1,"span"),R(2),Y(3,"translate"),P()()),2&n&&(p(2),ge(U(3,1,"vpn.server-list.tabs.public")))}var Av=function(i,e){return["/vpn",i,"servers",e,1]};function jJ(n,i){if(1&n&&(E(0,"a",23)(1,"span"),R(2),Y(3,"translate"),P()()),2&n){var e=K(2);S("routerLink",En(4,Av,e.currentLocalPk,e.lists.Public)),p(2),ge(U(3,2,"vpn.server-list.tabs.public"))}}function UJ(n,i){1&n&&(E(0,"div",22)(1,"span"),R(2),Y(3,"translate"),P()()),2&n&&(p(2),ge(U(3,1,"vpn.server-list.tabs.history")))}function zJ(n,i){if(1&n&&(E(0,"a",23)(1,"span"),R(2),Y(3,"translate"),P()()),2&n){var e=K(2);S("routerLink",En(4,Av,e.currentLocalPk,e.lists.History)),p(2),ge(U(3,2,"vpn.server-list.tabs.history"))}}function WJ(n,i){1&n&&(E(0,"div",22)(1,"span"),R(2),Y(3,"translate"),P()()),2&n&&(p(2),ge(U(3,1,"vpn.server-list.tabs.favorites")))}function GJ(n,i){if(1&n&&(E(0,"a",23)(1,"span"),R(2),Y(3,"translate"),P()()),2&n){var e=K(2);S("routerLink",En(4,Av,e.currentLocalPk,e.lists.Favorites)),p(2),ge(U(3,2,"vpn.server-list.tabs.favorites"))}}function qJ(n,i){1&n&&(E(0,"div",22)(1,"span"),R(2),Y(3,"translate"),P()()),2&n&&(p(2),ge(U(3,1,"vpn.server-list.tabs.blocked")))}function KJ(n,i){if(1&n&&(E(0,"a",23)(1,"span"),R(2),Y(3,"translate"),P()()),2&n){var e=K(2);S("routerLink",En(4,Av,e.currentLocalPk,e.lists.Blocked)),p(2),ge(U(3,2,"vpn.server-list.tabs.blocked"))}}function $J(n,i){1&n&&Te(0,"br")}function ZJ(n,i){if(1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n){var e=K().$implicit;p(1),ge(U(2,1,e.translatableValue))}}function QJ(n,i){if(1&n&&(ze(0),R(1),We()),2&n){var e=K().$implicit;p(1),ge(e.value)}}function JJ(n,i){if(1&n&&(E(0,"div",28)(1,"span"),R(2),Y(3,"translate"),P(),q(4,ZJ,3,3,"ng-container",21),q(5,QJ,2,1,"ng-container",21),P()),2&n){var e=i.$implicit;p(2),ye("",U(3,3,e.filterName),": "),p(2),S("ngIf",e.translatableValue),p(1),S("ngIf",e.value)}}function XJ(n,i){if(1&n){var e=tt();E(0,"div",25),Se("click",function(){return ke(e),K(3).dataFilterer.removeFilters()}),E(1,"div",26)(2,"mat-icon",19),R(3,"search"),P(),R(4),Y(5,"translate"),P(),q(6,JJ,6,5,"div",27),P()}if(2&n){var t=K(3);p(2),S("inline",!0),p(2),ye(" ",U(5,3,"vpn.server-list.current-filters"),""),p(2),S("ngForOf",t.dataFilterer.currentFiltersTexts)}}function eX(n,i){if(1&n&&(ze(0),q(1,$J,1,0,"br",21),q(2,XJ,7,5,"div",24),We()),2&n){var e=K(2);p(1),S("ngIf",e.dataFilterer.currentFiltersTexts&&e.dataFilterer.currentFiltersTexts.length>0),p(1),S("ngIf",e.dataFilterer.currentFiltersTexts&&e.dataFilterer.currentFiltersTexts.length>0)}}var tX=function(i){return{deactivated:i}};function nX(n,i){if(1&n){var e=tt();E(0,"div",11)(1,"div",12)(2,"div",13)(3,"div",14),q(4,VJ,4,3,"div",15),q(5,jJ,4,7,"a",16),q(6,UJ,4,3,"div",15),q(7,zJ,4,7,"a",16),q(8,WJ,4,3,"div",15),q(9,GJ,4,7,"a",16),q(10,qJ,4,3,"div",15),q(11,KJ,4,7,"a",16),P()()()(),E(12,"div",17)(13,"div",12)(14,"div",13)(15,"div",14)(16,"div",18),Se("click",function(){ke(e);var o=K();return o.dataFilterer?o.dataFilterer.changeFilters():null}),Y(17,"translate"),E(18,"span")(19,"mat-icon",19),R(20,"search"),P()()()()()()(),E(21,"div",20)(22,"div",12)(23,"div",13)(24,"div",14)(25,"div",18),Se("click",function(){return ke(e),K().enterManually()}),Y(26,"translate"),E(27,"span")(28,"mat-icon",19),R(29,"add"),P()()()()()()(),q(30,eX,3,2,"ng-container",21)}if(2&n){var t=K();p(4),S("ngIf",t.currentList===t.lists.Public),p(1),S("ngIf",t.currentList!==t.lists.Public),p(1),S("ngIf",t.currentList===t.lists.History),p(1),S("ngIf",t.currentList!==t.lists.History),p(1),S("ngIf",t.currentList===t.lists.Favorites),p(1),S("ngIf",t.currentList!==t.lists.Favorites),p(1),S("ngIf",t.currentList===t.lists.Blocked),p(1),S("ngIf",t.currentList!==t.lists.Blocked),p(1),S("ngClass",Qe(18,tX,t.loading)),p(4),S("matTooltip",U(17,14,"filters.filter-info")),p(3),S("inline",!0),p(6),S("matTooltip",U(26,16,"vpn.server-list.add-manually-info")),p(3),S("inline",!0),p(2),S("ngIf",t.dataFilterer)}}function rX(n,i){1&n&&Ss(0)}function iX(n,i){if(1&n&&(E(0,"mat-icon",19),R(1),P()),2&n){var e=K(5);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function aX(n,i){if(1&n){var e=tt();E(0,"th",50),Se("click",function(){ke(e);var o=K(4);return o.dataSorter.changeSortingOrder(o.dateSortData)}),Y(1,"translate"),E(2,"div",43)(3,"div",44),R(4),Y(5,"translate"),P(),q(6,iX,2,2,"mat-icon",41),P()()}if(2&n){var t=K(4);S("matTooltip",U(1,3,"vpn.server-list.date-info")),p(4),ye(" ",U(5,5,"vpn.server-list.date-small-table-label")," "),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.dateSortData)}}function oX(n,i){if(1&n&&(E(0,"mat-icon",19),R(1),P()),2&n){var e=K(4);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function sX(n,i){if(1&n&&(E(0,"mat-icon",19),R(1),P()),2&n){var e=K(4);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function lX(n,i){if(1&n&&(E(0,"mat-icon",19),R(1),P()),2&n){var e=K(4);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function uX(n,i){if(1&n&&(E(0,"mat-icon",19),R(1),P()),2&n){var e=K(4);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function cX(n,i){if(1&n&&(E(0,"mat-icon",19),R(1),P()),2&n){var e=K(4);S("inline",!0),p(1),ge(e.dataSorter.sortingArrow)}}function dX(n,i){if(1&n&&(E(0,"td",64),R(1),Y(2,"date"),P()),2&n){var e=K().$implicit;p(1),ye(" ",xt(2,1,e.lastUsed,"yyyy/MM/dd, H:mm a")," ")}}function fX(n,i){if(1&n&&(ze(0),R(1),We()),2&n){var e=K().$implicit;p(1),ye(" ",e.location," ")}}function hX(n,i){1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n&&(p(1),ye(" ",U(2,1,"vpn.server-list.unknown")," "))}var pX=function(i,e){return{custom:i,original:e}};function vX(n,i){if(1&n&&(E(0,"mat-icon",65),Se("click",function(o){return o.stopPropagation()}),Y(1,"translate"),R(2,"info_outline"),P()),2&n){var e=K().$implicit,t=K(4);S("inline",!0)("matTooltip",xt(1,2,t.getNoteVar(e),En(5,pX,e.personalNote,e.note)))}}var mX=function(i){return{"selectable click-effect":i}};function gX(n,i){if(1&n){var e=tt();E(0,"tr",51),Se("click",function(){var l=ke(e).$implicit,u=K(4);return u.currentList!==u.lists.Blocked?u.selectServer(l):null}),q(1,dX,3,4,"td",52),E(2,"td",53)(3,"div",54),Te(4,"div",55),P()(),E(5,"td",56),Te(6,"app-vpn-server-name",57),P(),E(7,"td",58),q(8,fX,2,1,"ng-container",21),q(9,hX,3,3,"ng-container",21),P(),E(10,"td",59)(11,"app-copy-to-clipboard-text",60),Se("click",function(s){return s.stopPropagation()}),P()(),E(12,"td",61),q(13,vX,3,8,"mat-icon",62),P(),E(14,"td",48)(15,"button",63),Se("click",function(s){var u=ke(e).$implicit,f=K(4);return s.stopPropagation(),f.openOptions(u)}),Y(16,"translate"),E(17,"mat-icon",19),R(18,"settings"),P()()()()}if(2&n){var t=i.$implicit,a=K(4);S("ngClass",Qe(23,mX,a.currentList!==a.lists.Blocked)),p(1),S("ngIf",a.currentList===a.lists.History),p(3),tr("background-image: url('assets/img/big-flags/"+t.countryCode.toLocaleLowerCase()+".png');"),S("matTooltip",a.getCountryName(t.countryCode)),p(2),S("isCurrentServer",a.currentServer&&t.pk===a.currentServer.pk)("isFavorite",t.flag===a.serverFlags.Favorite&&a.currentList!==a.lists.Favorites)("isBlocked",t.flag===a.serverFlags.Blocked&&a.currentList!==a.lists.Blocked)("isInHistory",t.inHistory&&a.currentList!==a.lists.History)("hasPassword",t.usedWithPassword)("name",t.name)("pk",t.pk)("customName",t.customName)("defaultName","vpn.server-list.none"),p(2),S("ngIf",t.location),p(1),S("ngIf",!t.location),p(2),S("shortSimple",!0)("text",t.pk),p(2),S("ngIf",t.note||t.personalNote),p(2),S("matTooltip",U(16,21,"vpn.server-options.tooltip")),p(2),S("inline",!0)}}var _X=function(i,e){return{"public-pk-column":i,"history-pk-column":e}};function yX(n,i){if(1&n){var e=tt();E(0,"table",38)(1,"tr"),q(2,aX,7,7,"th",39),E(3,"th",40),Se("click",function(){ke(e);var o=K(3);return o.dataSorter.changeSortingOrder(o.countrySortData)}),Y(4,"translate"),E(5,"mat-icon",19),R(6,"flag"),P(),q(7,oX,2,2,"mat-icon",41),P(),E(8,"th",42),Se("click",function(){ke(e);var o=K(3);return o.dataSorter.changeSortingOrder(o.nameSortData)}),E(9,"div",43)(10,"div",44),R(11),Y(12,"translate"),P(),q(13,sX,2,2,"mat-icon",41),P()(),E(14,"th",45),Se("click",function(){ke(e);var o=K(3);return o.dataSorter.changeSortingOrder(o.locationSortData)}),E(15,"div",43)(16,"div",44),R(17),Y(18,"translate"),P(),q(19,lX,2,2,"mat-icon",41),P()(),E(20,"th",46),Se("click",function(){ke(e);var o=K(3);return o.dataSorter.changeSortingOrder(o.pkSortData)}),Y(21,"translate"),E(22,"div",43)(23,"div",44),R(24),Y(25,"translate"),P(),q(26,uX,2,2,"mat-icon",41),P()(),E(27,"th",47),Se("click",function(){ke(e);var o=K(3);return o.dataSorter.changeSortingOrder(o.noteSortData)}),Y(28,"translate"),E(29,"div",43)(30,"mat-icon",19),R(31,"info_outline"),P(),q(32,cX,2,2,"mat-icon",41),P()(),Te(33,"th",48),P(),q(34,gX,19,25,"tr",49),P()}if(2&n){var t=K(3);p(2),S("ngIf",t.currentList===t.lists.History),p(1),S("matTooltip",U(4,16,"vpn.server-list.country-info")),p(2),S("inline",!0),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.countrySortData),p(4),ye(" ",U(12,18,"vpn.server-list.name-small-table-label")," "),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.nameSortData),p(4),ye(" ",U(18,20,"vpn.server-list.location-small-table-label")," "),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.locationSortData),p(1),S("ngClass",En(28,_X,t.currentList===t.lists.Public,t.currentList===t.lists.History))("matTooltip",U(21,22,"vpn.server-list.public-key-info")),p(4),ye(" ",U(25,24,"vpn.server-list.public-key-small-table-label")," "),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.pkSortData),p(1),S("matTooltip",U(28,26,"vpn.server-list.note-info")),p(3),S("inline",!0),p(2),S("ngIf",t.dataSorter.currentSortingColumn===t.noteSortData),p(2),S("ngForOf",t.dataSource)}}function bX(n,i){if(1&n&&(E(0,"div",35)(1,"div",36),q(2,yX,35,31,"table",37),P()()),2&n){var e=K(2);p(2),S("ngIf",e.dataSource.length>0)}}var kX=function(i,e){return["/vpn",i,"servers",e]};function MX(n,i){if(1&n&&Te(0,"app-paginator",66),2&n){var e=K(2);S("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",En(4,kX,e.currentLocalPk,e.currentList))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function CX(n,i){1&n&&(E(0,"span",70),R(1),Y(2,"translate"),P()),2&n&&(p(1),ge(U(2,1,"vpn.server-list.empty-discovery")))}function wX(n,i){1&n&&(E(0,"span",70),R(1),Y(2,"translate"),P()),2&n&&(p(1),ge(U(2,1,"vpn.server-list.empty-history")))}function SX(n,i){1&n&&(E(0,"span",70),R(1),Y(2,"translate"),P()),2&n&&(p(1),ge(U(2,1,"vpn.server-list.empty-favorites")))}function DX(n,i){1&n&&(E(0,"span",70),R(1),Y(2,"translate"),P()),2&n&&(p(1),ge(U(2,1,"vpn.server-list.empty-blocked")))}function TX(n,i){1&n&&(E(0,"span",70),R(1),Y(2,"translate"),P()),2&n&&(p(1),ge(U(2,1,"vpn.server-list.empty-with-filter")))}function LX(n,i){if(1&n&&(E(0,"div",35)(1,"div",67)(2,"mat-icon",68),R(3,"warning"),P(),q(4,CX,3,3,"span",69),q(5,wX,3,3,"span",69),q(6,SX,3,3,"span",69),q(7,DX,3,3,"span",69),q(8,TX,3,3,"span",69),P()()),2&n){var e=K(2);p(2),S("inline",!0),p(2),S("ngIf",0===e.allServers.length&&e.currentList===e.lists.Public),p(1),S("ngIf",0===e.allServers.length&&e.currentList===e.lists.History),p(1),S("ngIf",0===e.allServers.length&&e.currentList===e.lists.Favorites),p(1),S("ngIf",0===e.allServers.length&&e.currentList===e.lists.Blocked),p(1),S("ngIf",0!==e.allServers.length)}}var EX=function(i){return{"mb-3":i}};function PX(n,i){if(1&n&&(E(0,"div",29)(1,"div",30),Te(2,"app-top-bar",5),P(),E(3,"div",31)(4,"div",7)(5,"div",32),q(6,rX,1,0,"ng-container",9),P(),q(7,bX,3,1,"div",33),q(8,MX,1,7,"app-paginator",34),q(9,LX,9,6,"div",33),P()()()),2&n){var e=K(),t=sr(2);p(2),S("titleParts",Nn(10,uP))("tabsData",e.tabsData)("selectedTabIndex",1)("showUpdateButton",!1)("localVpnKey",e.currentLocalPk),p(3),S("ngClass",Qe(11,EX,!e.dataFilterer.currentFiltersTexts||e.dataFilterer.currentFiltersTexts.length<1)),p(1),S("ngTemplateOutlet",t),p(1),S("ngIf",0!==e.dataSource.length),p(1),S("ngIf",e.numberOfPages>1),p(1),S("ngIf",0===e.dataSource.length)}}var Tr=function(){return function(n){n.Public="public",n.History="history",n.Favorites="favorites",n.Blocked="blocked"}(Tr||(Tr={})),Tr}(),cP=function(){var n=function(){function i(e,t,a,o,s,l,u,f){var m=this;c(this,i),this.dialog=e,this.router=t,this.translateService=a,this.route=o,this.vpnClientDiscoveryService=s,this.vpnClientService=l,this.vpnSavedDataService=u,this.snackbarService=f,this.maxFullListElements=50,this.dateSortData=new xn(["lastUsed"],"vpn.server-list.date-small-table-label",Jt.NumberReversed),this.countrySortData=new xn(["countryName"],"vpn.server-list.country-small-table-label",Jt.Text),this.nameSortData=new xn(["name"],"vpn.server-list.name-small-table-label",Jt.Text),this.locationSortData=new xn(["location"],"vpn.server-list.location-small-table-label",Jt.Text),this.pkSortData=new xn(["pk"],"vpn.server-list.public-key-small-table-label",Jt.Text),this.noteSortData=new xn(["note"],"vpn.server-list.note-small-table-label",Jt.Text),this.loading=!0,this.loadingBackendData=!0,this.tabsData=Gr.vpnTabsData,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.currentList=Tr.Public,this.vpnRunning=!1,this.serverFlags=Hn,this.lists=Tr,this.initialLoadStarted=!1,this.navigationsSubscription=o.paramMap.subscribe(function(C){if(C.has("type")?C.get("type")===Tr.Favorites?(m.currentList=Tr.Favorites,m.listId="vfs"):C.get("type")===Tr.Blocked?(m.currentList=Tr.Blocked,m.listId="vbs"):C.get("type")===Tr.History?(m.currentList=Tr.History,m.listId="vhs"):(m.currentList=Tr.Public,m.listId="vps"):(m.currentList=Tr.Public,m.listId="vps"),Gr.setDefaultTabForServerList(m.currentList),C.has("key")&&(m.currentLocalPk=C.get("key"),Gr.changeCurrentPk(m.currentLocalPk),m.tabsData=Gr.vpnTabsData),C.has("page")){var I=Number.parseInt(C.get("page"),10);(isNaN(I)||I<1)&&(I=1),m.currentPageInUrl=I,m.recalculateElementsToShow()}m.initialLoadStarted||(m.initialLoadStarted=!0,m.loadData())}),this.currentServerSubscription=this.vpnSavedDataService.currentServerObservable.subscribe(function(C){return m.currentServer=C}),this.backendDataSubscription=this.vpnClientService.backendState.subscribe(function(C){C&&(m.loadingBackendData=!1,m.vpnRunning=C.vpnClientAppData.running)})}return d(i,[{key:"ngOnDestroy",value:function(){this.navigationsSubscription.unsubscribe(),this.currentServerSubscription.unsubscribe(),this.backendDataSubscription.unsubscribe(),this.dataSortedSubscription&&this.dataSortedSubscription.unsubscribe(),this.dataFiltererSubscription&&this.dataFiltererSubscription.unsubscribe(),this.dataSubscription&&this.dataSubscription.unsubscribe(),this.dataFilterer&&this.dataFilterer.dispose(),this.dataSorter&&this.dataSorter.dispose()}},{key:"enterManually",value:function(){RJ.openDialog(this.dialog,this.currentLocalPk)}},{key:"getNoteVar",value:function(t){return t.note&&t.personalNote?"vpn.server-list.notes-info":!t.note&&t.personalNote?t.personalNote:t.note}},{key:"selectServer",value:function(t){var a=this,o=this.vpnSavedDataService.getSavedVersion(t.pk,!0);if(this.snackbarService.closeCurrentIfTemporaryError(),o&&o.flag===Hn.Blocked)this.snackbarService.showError("vpn.starting-blocked-server-error",{},!0);else{if(this.currentServer&&this.currentServer.pk===t.pk){if(this.vpnRunning)this.snackbarService.showWarning("vpn.server-change.already-selected-warning");else{var s=cn.createConfirmationDialog(this.dialog,"vpn.server-change.start-same-server-confirmation");s.componentInstance.operationAccepted.subscribe(function(){s.componentInstance.closeModal(),a.vpnClientService.start(),Gr.redirectAfterServerChange(a.router,null,a.currentLocalPk)})}return}if(o&&o.usedWithPassword)return void yE.openDialog(this.dialog,!0).afterClosed().subscribe(function(l){l&&a.makeServerChange(t,"-"===l?null:l.substr(1))});this.makeServerChange(t,null)}}},{key:"makeServerChange",value:function(t,a){Gr.processServerChange(this.router,this.vpnClientService,this.vpnSavedDataService,this.snackbarService,this.dialog,null,this.currentLocalPk,t.originalLocalData,t.originalDiscoveryData,null,a)}},{key:"openOptions",value:function(t){var a=this,o=this.vpnSavedDataService.getSavedVersion(t.pk,!0);o||(o=this.vpnSavedDataService.processFromDiscovery(t.originalDiscoveryData)),o?Gr.openServerOptions(o,this.router,this.vpnSavedDataService,this.vpnClientService,this.snackbarService,this.dialog).subscribe(function(s){s&&a.processAllServers()}):this.snackbarService.showError("vpn.unexpedted-error")}},{key:"loadData",value:function(){var t=this;this.dataSubscription=this.currentList===Tr.Public?this.vpnClientDiscoveryService.getServers().subscribe(function(o){t.allServers=o.map(function(s){return{countryCode:s.countryCode,countryName:t.getCountryName(s.countryCode),name:s.name,customName:null,location:s.location,pk:s.pk,note:s.note,personalNote:null,originalDiscoveryData:s}}),t.vpnSavedDataService.updateFromDiscovery(o),t.loading=!1,t.processAllServers()}):(this.currentList===Tr.History?this.vpnSavedDataService.history:this.currentList===Tr.Favorites?this.vpnSavedDataService.favorites:this.vpnSavedDataService.blocked).subscribe(function(o){var s=[];o.forEach(function(l){s.push({countryCode:l.countryCode,countryName:t.getCountryName(l.countryCode),name:l.name,customName:null,location:l.location,pk:l.pk,note:l.note,personalNote:null,lastUsed:l.lastUsed,inHistory:l.inHistory,flag:l.flag,originalLocalData:l})}),t.allServers=s,t.loading=!1,t.processAllServers()})}},{key:"processAllServers",value:function(){var t=this;this.fillFilterPropertiesArray();var a=new Set;this.allServers.forEach(function(C,I){a.add(C.countryCode);var V=t.vpnSavedDataService.getSavedVersion(C.pk,0===I);C.customName=V?V.customName:null,C.personalNote=V?V.personalNote:null,C.inHistory=!!V&&V.inHistory,C.flag=V?V.flag:Hn.None,C.enteredManually=!!V&&V.enteredManually,C.usedWithPassword=!!V&&V.usedWithPassword});var o=[];a.forEach(function(C){o.push({label:t.getCountryName(C),value:C,image:"/assets/img/big-flags/"+C.toLowerCase()+".png"})}),o.sort(function(C,I){return C.label.localeCompare(I.label)}),o=[{label:"vpn.server-list.filter-dialog.country-options.any",value:""}].concat(o),this.filterProperties=[{filterName:"vpn.server-list.filter-dialog.country",keyNameInElementsArray:"countryCode",type:qn.Select,printableLabelsForValues:o,printableLabelGeneralSettings:{defaultImage:"/assets/img/big-flags/unknown.png",imageWidth:20,imageHeight:15}}].concat(this.filterProperties);var u,f,m,l=[];this.currentList===Tr.Public?(l.push(this.countrySortData),l.push(this.nameSortData),l.push(this.locationSortData),l.push(this.pkSortData),l.push(this.noteSortData),u=0,f=1):(this.currentList===Tr.History&&l.push(this.dateSortData),l.push(this.countrySortData),l.push(this.nameSortData),l.push(this.locationSortData),l.push(this.pkSortData),l.push(this.noteSortData),u=this.currentList===Tr.History?0:1,f=this.currentList===Tr.History?2:3),this.dataSorter=new vc(this.dialog,this.translateService,l,u,this.listId),this.dataSorter.setTieBreakerColumnIndex(f),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(function(){t.recalculateElementsToShow()}),this.dataFilterer=new gc(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(function(C){t.filteredServers=C,t.dataSorter.setData(t.filteredServers)}),m=this.currentList===Tr.Public?this.allServers.filter(function(C){return C.flag!==Hn.Blocked}):this.allServers,this.dataFilterer.setData(m)}},{key:"fillFilterPropertiesArray",value:function(){this.filterProperties=[{filterName:"vpn.server-list.filter-dialog.name",keyNameInElementsArray:"name",secondaryKeyNameInElementsArray:"customName",type:qn.TextInput,maxlength:100},{filterName:"vpn.server-list.filter-dialog.location",keyNameInElementsArray:"location",type:qn.TextInput,maxlength:100},{filterName:"vpn.server-list.filter-dialog.public-key",keyNameInElementsArray:"pk",type:qn.TextInput,maxlength:100}]}},{key:"recalculateElementsToShow",value:function(){if(this.currentPage=this.currentPageInUrl,this.filteredServers){var t=this.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredServers.length/t),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);var a=t*(this.currentPage-1);this.serversToShow=this.filteredServers.slice(a,a+t)}else this.serversToShow=null;this.dataSource=this.serversToShow}},{key:"getCountryName",value:function(t){return is[t.toUpperCase()]?is[t.toUpperCase()]:t}}]),i}();return n.\u0275fac=function(e){return new(e||n)(B(Gn),B(rn),B(ui),B(si),B(YJ),B(yc),B(Il),B(An))},n.\u0275cmp=qe({type:n,selectors:[["app-vpn-server-list"]],decls:4,vars:2,consts:[["class","d-flex flex-column h-100 w-100",4,"ngIf"],["topPart",""],["class","row",4,"ngIf"],[1,"d-flex","flex-column","h-100","w-100"],[1,"loading-top-container"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton","localVpnKey"],[1,"main-container"],[1,"width-limiter"],[1,"center-container","mt-4.5"],[4,"ngTemplateOutlet"],[1,"h-100","loading-indicator"],[1,"option-bar-container"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","allow-overflow"],[1,"option-bar"],["class","text-option selected",4,"ngIf"],["class","text-option",3,"routerLink",4,"ngIf"],[1,"option-bar-container","option-bar-margin",3,"ngClass"],[1,"icon-option",3,"matTooltip","click"],[3,"inline"],[1,"option-bar-container","option-bar-margin"],[4,"ngIf"],[1,"text-option","selected"],[1,"text-option",3,"routerLink"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],[1,"transparent-50"],["class","item",4,"ngFor","ngForOf"],[1,"item"],[1,"row"],[1,"col-12"],[1,"col-12","vpn-table-container"],[1,"center-container","mt-4.5",3,"ngClass"],["class","rounded-elevated-box",4,"ngIf"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],[1,"rounded-elevated-box"],[1,"box-internal-container"],["class","responsive-table-translucid d-none d-md-table","cellspacing","0","cellpadding","0",4,"ngIf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table"],["class","sortable-column date-column click-effect",3,"matTooltip","click",4,"ngIf"],[1,"sortable-column","flag-column","center","click-effect",3,"matTooltip","click"],[3,"inline",4,"ngIf"],[1,"sortable-column","name-column","click-effect",3,"click"],[1,"header-container"],[1,"header-text"],[1,"sortable-column","location-column","click-effect",3,"click"],[1,"sortable-column","pk-column","click-effect",3,"ngClass","matTooltip","click"],[1,"sortable-column","note-column","center","click-effect",3,"matTooltip","click"],[1,"actions"],[3,"ngClass","click",4,"ngFor","ngForOf"],[1,"sortable-column","date-column","click-effect",3,"matTooltip","click"],[3,"ngClass","click"],["class","date-column",4,"ngIf"],[1,"flag-column","icon-fixer"],[1,"flag"],[3,"matTooltip"],[1,"name-column"],[3,"isCurrentServer","isFavorite","isBlocked","isInHistory","hasPassword","name","pk","customName","defaultName"],[1,"location-column"],[1,"pk-column","history-pk-column"],[1,"d-inline-block","w-100",3,"shortSimple","text","click"],[1,"center","note-column"],["class","note-icon",3,"inline","matTooltip","click",4,"ngIf"],["mat-icon-button","",1,"big-action-button","transparent-button","vpn-small-button",3,"matTooltip","click"],[1,"date-column"],[1,"note-icon",3,"inline","matTooltip","click"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"box-internal-container","font-sm"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(e,t){1&e&&(q(0,BJ,8,7,"div",0),q(1,nX,31,20,"ng-template",null,1,Ls),q(3,PX,10,13,"div",2)),2&e&&(S("ngIf",t.loading||t.loadingBackendData),p(3),S("ngIf",!t.loading&&!t.loadingBackendData))},styles:["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%], .header-container[_ngcontent-%COMP%] .header-text[_ngcontent-%COMP%], .note-column[_ngcontent-%COMP%], .pk-column[_ngcontent-%COMP%], .location-column[_ngcontent-%COMP%], .name-column[_ngcontent-%COMP%], .date-column[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}.grey-text[_ngcontent-%COMP%]{color:#777!important}.center-container[_ngcontent-%COMP%]{text-align:center}.center-container[_ngcontent-%COMP%] app-paginator[_ngcontent-%COMP%]{display:inline-block}.loading-top-container[_ngcontent-%COMP%]{z-index:1}.loading-indicator[_ngcontent-%COMP%]{padding-top:30px;padding-bottom:20px}.deactivated[_ngcontent-%COMP%]{opacity:.5;pointer-events:none}.option-bar-container[_ngcontent-%COMP%]{display:inline-block}.option-bar-container[_ngcontent-%COMP%] .allow-overflow[_ngcontent-%COMP%]{overflow:visible}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%]{display:flex;margin:-17px}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{height:55px;line-height:55px;cursor:pointer;color:#fff;text-decoration:none;-webkit-user-select:none;user-select:none}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:hover, .option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background:rgba(0,0,0,.2)}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] > .icon-option[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] a[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] > .icon-option[_ngcontent-%COMP%]:active span[_ngcontent-%COMP%], .option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:active span[_ngcontent-%COMP%]{transform:scale(.95)}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] .text-option[_ngcontent-%COMP%]{padding:0 40px;font-size:1rem}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] .icon-option[_ngcontent-%COMP%]{width:55px;font-size:24px}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]{background:rgba(0,0,0,.36);cursor:unset!important}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]:hover{background:rgba(0,0,0,.6)}.option-bar-margin[_ngcontent-%COMP%]{margin-left:10px}.filter-label[_ngcontent-%COMP%]{font-size:.7rem;display:inline-block;padding:5px 10px;margin-bottom:7px}.filter-label[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{vertical-align:middle}table[_ngcontent-%COMP%]{width:100%}tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:2px 5px!important;font-size:12px!important;font-weight:400!important}tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-left:5px!important;padding-right:5px!important}.date-column[_ngcontent-%COMP%]{width:150px}.name-column[_ngcontent-%COMP%]{max-width:0;width:20%}.location-column[_ngcontent-%COMP%]{max-width:0;min-width:72px}.pk-column[_ngcontent-%COMP%]{max-width:0;width:25%}.history-pk-column[_ngcontent-%COMP%]{width:20%!important}.icon-fixer[_ngcontent-%COMP%]{line-height:0px}.note-column[_ngcontent-%COMP%]{max-width:0;width:3%;min-width:60px}.note-column[_ngcontent-%COMP%] .note-icon[_ngcontent-%COMP%]{opacity:.55;font-size:16px!important;display:inline}.flag-column[_ngcontent-%COMP%]{width:1px;line-height:0px}.actions[_ngcontent-%COMP%]{width:1px}.header-container[_ngcontent-%COMP%]{max-width:100%;display:inline-flex}.header-container[_ngcontent-%COMP%] .header-text[_ngcontent-%COMP%]{flex-grow:1}.flag[_ngcontent-%COMP%]{width:20px;height:15px;display:inline-block;margin-right:5px;background-image:url(/assets/img/big-flags/unknown.png);background-size:contain}.flag[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{width:20px;height:15px;background-size:contain}.center[_ngcontent-%COMP%]{text-align:center}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}"]}),n}(),xf=function(i,e){return{"small-text-icon":i,"big-text-icon":e}};function xX(n,i){if(1&n&&(E(0,"mat-icon",4),Y(1,"translate"),R(2,"done"),P()),2&n){var e=K();S("ngClass",En(5,xf,!e.adjustIconsForBigText,e.adjustIconsForBigText))("inline",!0)("matTooltip",U(1,3,"vpn.server-conditions.selected-info"))}}function OX(n,i){if(1&n&&(E(0,"mat-icon",5),Y(1,"translate"),R(2,"clear"),P()),2&n){var e=K();S("ngClass",En(5,xf,!e.adjustIconsForBigText,e.adjustIconsForBigText))("inline",!0)("matTooltip",U(1,3,"vpn.server-conditions.blocked-info"))}}function AX(n,i){if(1&n&&(E(0,"mat-icon",6),Y(1,"translate"),R(2,"star"),P()),2&n){var e=K();S("ngClass",En(5,xf,!e.adjustIconsForBigText,e.adjustIconsForBigText))("inline",!0)("matTooltip",U(1,3,"vpn.server-conditions.favorite-info"))}}function IX(n,i){if(1&n&&(E(0,"mat-icon",4),Y(1,"translate"),R(2,"history"),P()),2&n){var e=K();S("ngClass",En(5,xf,!e.adjustIconsForBigText,e.adjustIconsForBigText))("inline",!0)("matTooltip",U(1,3,"vpn.server-conditions.history-info"))}}function FX(n,i){if(1&n&&(E(0,"mat-icon",4),Y(1,"translate"),R(2,"lock_outlined"),P()),2&n){var e=K();S("ngClass",En(5,xf,!e.adjustIconsForBigText,e.adjustIconsForBigText))("inline",!0)("matTooltip",U(1,3,"vpn.server-conditions.has-password-info"))}}function RX(n,i){if(1&n&&(ze(0),R(1),E(2,"mat-icon",7),R(3,"fiber_manual_record"),P(),R(4),We()),2&n){var e=K();p(1),ye(" ",e.customName," "),p(1),S("inline",!0),p(2),ye(" ",e.name,"\n")}}function NX(n,i){if(1&n&&(ze(0),R(1),We()),2&n){var e=K();p(1),ge(e.customName)}}function YX(n,i){if(1&n&&(ze(0),R(1),We()),2&n){var e=K();p(1),ge(e.name)}}function HX(n,i){if(1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n){var e=K();p(1),ge(U(2,1,e.defaultName))}}var dP=function(){var n=d(function i(){c(this,i),this.isCurrentServer=!1,this.isFavorite=!1,this.isBlocked=!1,this.isInHistory=!1,this.hasPassword=!1,this.name="",this.customName="",this.pk="",this.defaultName="",this.adjustIconsForBigText=!1});return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=qe({type:n,selectors:[["app-vpn-server-name"]],inputs:{isCurrentServer:"isCurrentServer",isFavorite:"isFavorite",isBlocked:"isBlocked",isInHistory:"isInHistory",hasPassword:"hasPassword",name:"name",customName:"customName",pk:"pk",defaultName:"defaultName",adjustIconsForBigText:"adjustIconsForBigText"},decls:9,vars:9,consts:[["class","server-condition-icon",3,"ngClass","inline","matTooltip",4,"ngIf"],["class","server-condition-icon red-clear-text",3,"ngClass","inline","matTooltip",4,"ngIf"],["class","server-condition-icon yellow-clear-text",3,"ngClass","inline","matTooltip",4,"ngIf"],[4,"ngIf"],[1,"server-condition-icon",3,"ngClass","inline","matTooltip"],[1,"server-condition-icon","red-clear-text",3,"ngClass","inline","matTooltip"],[1,"server-condition-icon","yellow-clear-text",3,"ngClass","inline","matTooltip"],[1,"name-separator",3,"inline"]],template:function(e,t){1&e&&(q(0,xX,3,8,"mat-icon",0),q(1,OX,3,8,"mat-icon",1),q(2,AX,3,8,"mat-icon",2),q(3,IX,3,8,"mat-icon",0),q(4,FX,3,8,"mat-icon",0),q(5,RX,5,3,"ng-container",3),q(6,NX,2,1,"ng-container",3),q(7,YX,2,1,"ng-container",3),q(8,HX,3,3,"ng-container",3)),2&e&&(S("ngIf",t.isCurrentServer),p(1),S("ngIf",t.isBlocked),p(1),S("ngIf",t.isFavorite),p(1),S("ngIf",t.isInHistory),p(1),S("ngIf",t.hasPassword),p(1),S("ngIf",t.customName&&t.name&&(!t.pk||t.name!==t.pk)),p(1),S("ngIf",(!t.name||t.pk&&t.name===t.pk)&&t.customName),p(1),S("ngIf",t.name&&(!t.pk||t.name!==t.pk)&&!t.customName),p(1),S("ngIf",(!t.name||t.pk&&t.name===t.pk)&&!t.customName))},directives:[Et,Mn,mr,ur],pipes:[Mt],styles:[".server-condition-icon[_ngcontent-%COMP%]{font-size:14px!important;line-height:14px!important;margin-right:3px;position:relative;width:14px!important;-webkit-user-select:none;user-select:none;cursor:default}.small-text-icon[_ngcontent-%COMP%]{top:2px}.big-text-icon[_ngcontent-%COMP%]{top:0px}.name-separator[_ngcontent-%COMP%]{display:inline!important;font-size:8px!important;opacity:.5!important}"]}),n}(),fP=function(){return["vpn.title"]};function BX(n,i){if(1&n&&(E(0,"div",2)(1,"div"),Te(2,"app-top-bar",3),P(),Te(3,"app-loading-indicator"),P()),2&n){var e=K();p(2),S("titleParts",Nn(5,fP))("tabsData",e.tabsData)("selectedTabIndex",0)("showUpdateButton",!1)("localVpnKey",e.currentLocalPk)}}function VX(n,i){1&n&&Te(0,"mat-spinner",32),2&n&&S("diameter",40)}function jX(n,i){1&n&&(E(0,"mat-icon",33),R(1,"power_settings_new"),P()),2&n&&S("inline",!0)}function UX(n,i){if(1&n){var e=tt();ze(0),E(1,"div",34),Te(2,"div",35),P(),E(3,"div",36)(4,"div",37),Te(5,"app-vpn-server-name",38),P(),E(6,"div",39),Te(7,"app-copy-to-clipboard-text",40),P()(),E(8,"div",41),Te(9,"div"),P(),E(10,"div",42)(11,"mat-icon",43),Se("click",function(){return ke(e),K(3).openServerOptions()}),Y(12,"translate"),R(13,"settings"),P()(),We()}if(2&n){var t=K(3);p(2),tr("background-image: url('assets/img/big-flags/"+t.currentRemoteServer.countryCode.toLocaleLowerCase()+".png');"),S("matTooltip",t.getCountryName(t.currentRemoteServer.countryCode)),p(3),S("isFavorite",t.currentRemoteServer.flag===t.serverFlags.Favorite)("isBlocked",t.currentRemoteServer.flag===t.serverFlags.Blocked)("hasPassword",t.currentRemoteServer.usedWithPassword)("name",t.currentRemoteServer.name)("pk",t.currentRemoteServer.pk)("customName",t.currentRemoteServer.customName),p(2),S("shortSimple",!0)("text",t.currentRemoteServer.pk),p(4),S("inline",!0)("matTooltip",U(12,13,"vpn.server-options.tooltip"))}}function zX(n,i){1&n&&(ze(0),E(1,"div",44),R(2),Y(3,"translate"),P(),We()),2&n&&(p(2),ge(U(3,1,"vpn.status-page.no-server")))}var WX=function(i,e){return{custom:i,original:e}};function GX(n,i){if(1&n&&(E(0,"div",45)(1,"mat-icon",33),R(2,"info_outline"),P(),R(3),Y(4,"translate"),P()),2&n){var e=K(3);p(1),S("inline",!0),p(2),ye(" ",xt(4,2,e.getNoteVar(),En(5,WX,e.currentRemoteServer.personalNote,e.currentRemoteServer.note))," ")}}function qX(n,i){if(1&n&&(E(0,"div",46)(1,"mat-icon",33),R(2,"cancel"),P(),R(3),Y(4,"translate"),P()),2&n){var e=K(3);p(1),S("inline",!0),p(2),xi(" ",U(4,3,"vpn.status-page.last-error")," ",e.backendState.vpnClientAppData.lastErrorMsg," ")}}var hP=function(i){return{"disabled-button":i}};function KX(n,i){if(1&n){var e=tt();E(0,"div",22)(1,"div",11)(2,"div",13),R(3),Y(4,"translate"),P(),E(5,"div")(6,"div",23),Se("click",function(){return ke(e),K(2).start()}),E(7,"div",24),Te(8,"div",25),P(),E(9,"div",24),Te(10,"div",26),P(),q(11,VX,1,1,"mat-spinner",27),q(12,jX,2,1,"mat-icon",28),P()(),E(13,"div",29),q(14,UX,14,15,"ng-container",18),q(15,zX,4,3,"ng-container",18),P(),E(16,"div"),q(17,GX,5,8,"div",30),P(),E(18,"div"),q(19,qX,5,5,"div",31),P()()()}if(2&n){var t=K(2);p(3),ge(U(4,8,"vpn.status-page.start-title")),p(3),S("ngClass",Qe(10,hP,t.showBusy)),p(5),S("ngIf",t.showBusy),p(1),S("ngIf",!t.showBusy),p(2),S("ngIf",t.currentRemoteServer),p(1),S("ngIf",!t.currentRemoteServer),p(2),S("ngIf",t.currentRemoteServer&&(t.currentRemoteServer.note||t.currentRemoteServer.personalNote)),p(2),S("ngIf",t.backendState&&t.backendState.vpnClientAppData&&t.backendState.vpnClientAppData.lastErrorMsg)}}function $X(n,i){if(1&n&&(E(0,"div",77)(1,"mat-icon",33),R(2,"cancel"),P(),R(3),Y(4,"translate"),P()),2&n){var e=K(3);p(1),S("inline",!0),p(2),xi(" ",U(4,3,"vpn.status-page.last-error")," ",e.backendState.vpnClientAppData.connectionData.error," ")}}function ZX(n,i){1&n&&(E(0,"div"),Te(1,"mat-spinner",32),P()),2&n&&(p(1),S("diameter",24))}function QX(n,i){1&n&&(E(0,"mat-icon",33),R(1,"power_settings_new"),P()),2&n&&S("inline",!0)}var Cc=function(i){return{showValue:!0,showUnit:!0,showPerSecond:!0,limitDecimals:!0,useBits:i}},pP=function(i){return{showValue:!0,showUnit:!0,showPerSecond:!0,useBits:i}},vP=function(i){return{showValue:!0,showUnit:!0,useBits:i}},Iv=function(i){return{time:i}};function JX(n,i){if(1&n){var e=tt();E(0,"div",47)(1,"div",11)(2,"div",48)(3,"div",49)(4,"mat-icon",33),R(5,"timer"),P(),E(6,"span"),R(7),P()()(),E(8,"div",50),R(9),Y(10,"translate"),P(),E(11,"div",51)(12,"div",52),R(13),Y(14,"translate"),P(),Te(15,"div"),P(),E(16,"div",53),R(17),Y(18,"translate"),P(),q(19,$X,5,5,"div",54),E(20,"div",55)(21,"div",56),Y(22,"translate"),E(23,"div",57),Te(24,"app-line-chart",58),P(),E(25,"div",59)(26,"div",60)(27,"div",61),R(28),Y(29,"autoScale"),P(),Te(30,"div",62),P()(),E(31,"div",59)(32,"div",63)(33,"div",61),R(34),Y(35,"autoScale"),P(),Te(36,"div",62),P()(),E(37,"div",59)(38,"div",64)(39,"div",61),R(40),Y(41,"autoScale"),P()()(),E(42,"div",65)(43,"mat-icon",66),R(44,"keyboard_backspace"),P(),E(45,"div",67),R(46),Y(47,"autoScale"),P(),E(48,"div",68),R(49),Y(50,"autoScale"),Y(51,"translate"),P()()(),E(52,"div",56),Y(53,"translate"),E(54,"div",57),Te(55,"app-line-chart",58),P(),E(56,"div",69)(57,"div",60)(58,"div",61),R(59),Y(60,"autoScale"),P(),Te(61,"div",62),P()(),E(62,"div",59)(63,"div",63)(64,"div",61),R(65),Y(66,"autoScale"),P(),Te(67,"div",62),P()(),E(68,"div",59)(69,"div",64)(70,"div",61),R(71),Y(72,"autoScale"),P()()(),E(73,"div",65)(74,"mat-icon",70),R(75,"keyboard_backspace"),P(),E(76,"div",67),R(77),Y(78,"autoScale"),P(),E(79,"div",68),R(80),Y(81,"autoScale"),Y(82,"translate"),P()()()(),E(83,"div",71)(84,"div",72),Y(85,"translate"),E(86,"div",57),Te(87,"app-line-chart",73),P(),E(88,"div",69)(89,"div",60)(90,"div",61),R(91),Y(92,"translate"),P(),Te(93,"div",62),P()(),E(94,"div",59)(95,"div",63)(96,"div",61),R(97),Y(98,"translate"),P(),Te(99,"div",62),P()(),E(100,"div",59)(101,"div",64)(102,"div",61),R(103),Y(104,"translate"),P()()(),E(105,"div",65)(106,"mat-icon",33),R(107,"swap_horiz"),P(),E(108,"div"),R(109),Y(110,"translate"),P()()()(),E(111,"div",74),Se("click",function(){return ke(e),K(2).stop()}),E(112,"div",75)(113,"div",76),q(114,ZX,2,1,"div",18),q(115,QX,2,1,"mat-icon",28),E(116,"span"),R(117),Y(118,"translate"),P()()()()()()}if(2&n){var t=K(2);p(4),S("inline",!0),p(3),ge(t.connectionTimeString),p(2),ge(U(10,58,"vpn.connection-info.state-title")),p(4),ge(U(14,60,t.currentStateText)),p(2),ua("state-line "+t.currentStateLineClass),p(2),ge(U(18,62,t.currentStateText+"-info")),p(2),S("ngIf",t.backendState&&t.backendState.vpnClientAppData&&t.backendState.vpnClientAppData.connectionData&&t.backendState.vpnClientAppData.connectionData.error),p(2),S("matTooltip",U(22,64,"vpn.status-page.upload-info")),p(3),S("animated",!1)("data",t.sentHistory)("min",t.minUploadInGraph)("max",t.maxUploadInGraph),p(4),ye(" ",xt(29,66,t.maxUploadInGraph,Qe(118,Cc,t.showSpeedsInBits))," "),p(2),tr("margin-top: "+t.graphsTopInternalMargin+"px;"),p(4),ye(" ",xt(35,69,t.midUploadInGraph,Qe(120,Cc,t.showSpeedsInBits))," "),p(2),tr("margin-top: "+t.graphsTopInternalMargin/2+"px;"),p(4),ye(" ",xt(41,72,t.minUploadInGraph,Qe(122,Cc,t.showSpeedsInBits))," "),p(3),S("inline",!0),p(3),ge(xt(47,75,t.uploadSpeed,Qe(124,pP,t.showSpeedsInBits))),p(3),xi(" ",xt(50,78,t.totalUploaded,Qe(126,vP,t.showTotalsInBits))," ",U(51,81,"vpn.status-page.total-data-label")," "),p(3),S("matTooltip",U(53,83,"vpn.status-page.download-info")),p(3),S("animated",!1)("data",t.receivedHistory)("min",t.minDownloadInGraph)("max",t.maxDownloadInGraph),p(4),ye(" ",xt(60,85,t.maxDownloadInGraph,Qe(128,Cc,t.showSpeedsInBits))," "),p(2),tr("margin-top: "+t.graphsTopInternalMargin+"px;"),p(4),ye(" ",xt(66,88,t.midDownloadInGraph,Qe(130,Cc,t.showSpeedsInBits))," "),p(2),tr("margin-top: "+t.graphsTopInternalMargin/2+"px;"),p(4),ye(" ",xt(72,91,t.minDownloadInGraph,Qe(132,Cc,t.showSpeedsInBits))," "),p(3),S("inline",!0),p(3),ge(xt(78,94,t.downloadSpeed,Qe(134,pP,t.showSpeedsInBits))),p(3),xi(" ",xt(81,97,t.totalDownloaded,Qe(136,vP,t.showTotalsInBits))," ",U(82,100,"vpn.status-page.total-data-label")," "),p(4),S("matTooltip",U(85,102,"vpn.status-page.latency-info")),p(3),S("animated",!1)("data",t.latencyHistory)("min",t.minLatencyInGraph)("max",t.maxLatencyInGraph),p(4),ye(" ",xt(92,104,"common."+t.getLatencyValueString(t.maxLatencyInGraph),Qe(138,Iv,t.getPrintableLatency(t.maxLatencyInGraph)))," "),p(2),tr("margin-top: "+t.graphsTopInternalMargin+"px;"),p(4),ye(" ",xt(98,107,"common."+t.getLatencyValueString(t.midLatencyInGraph),Qe(140,Iv,t.getPrintableLatency(t.midLatencyInGraph)))," "),p(2),tr("margin-top: "+t.graphsTopInternalMargin/2+"px;"),p(4),ye(" ",xt(104,110,"common."+t.getLatencyValueString(t.minLatencyInGraph),Qe(142,Iv,t.getPrintableLatency(t.minLatencyInGraph)))," "),p(3),S("inline",!0),p(3),ge(xt(110,113,"common."+t.getLatencyValueString(t.latency),Qe(144,Iv,t.getPrintableLatency(t.latency)))),p(2),S("ngClass",Qe(146,hP,t.showBusy)),p(3),S("ngIf",t.showBusy),p(1),S("ngIf",!t.showBusy),p(2),ge(U(118,116,"vpn.status-page.disconnect"))}}function XX(n,i){if(1&n&&(ze(0),R(1),We()),2&n){var e=K(3);p(1),ge(e.currentIp)}}function eee(n,i){1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n&&(p(1),ge(U(2,1,"common.unknown")))}function tee(n,i){1&n&&Te(0,"mat-spinner",32),2&n&&S("diameter",20)}function nee(n,i){1&n&&(E(0,"mat-icon",81),Y(1,"translate"),R(2,"warning"),P()),2&n&&S("inline",!0)("matTooltip",U(1,2,"vpn.status-page.data.ip-problem-info"))}function ree(n,i){if(1&n){var e=tt();E(0,"mat-icon",82),Se("click",function(){return ke(e),K(3).getIp()}),Y(1,"translate"),R(2,"refresh"),P()}2&n&&S("inline",!0)("matTooltip",U(1,2,"vpn.status-page.data.ip-refresh-info"))}function iee(n,i){if(1&n&&(E(0,"div",78),q(1,XX,2,1,"ng-container",18),q(2,eee,3,3,"ng-container",18),q(3,tee,1,1,"mat-spinner",27),q(4,nee,3,4,"mat-icon",79),q(5,ree,3,4,"mat-icon",80),P()),2&n){var e=K(2);p(1),S("ngIf",e.currentIp),p(1),S("ngIf",!e.currentIp&&!e.loadingCurrentIp),p(1),S("ngIf",e.loadingCurrentIp),p(1),S("ngIf",e.problemGettingIp),p(1),S("ngIf",!e.loadingCurrentIp)}}function aee(n,i){1&n&&(E(0,"div",78),R(1),Y(2,"translate"),P()),2&n&&(p(1),ye(" ",U(2,1,"vpn.status-page.data.unavailable")," "))}function oee(n,i){if(1&n&&(ze(0),R(1),We()),2&n){var e=K(3);p(1),ge(e.ipCountry)}}function see(n,i){1&n&&(ze(0),R(1),Y(2,"translate"),We()),2&n&&(p(1),ge(U(2,1,"common.unknown")))}function lee(n,i){1&n&&Te(0,"mat-spinner",32),2&n&&S("diameter",20)}function uee(n,i){1&n&&(E(0,"mat-icon",81),Y(1,"translate"),R(2,"warning"),P()),2&n&&S("inline",!0)("matTooltip",U(1,2,"vpn.status-page.data.ip-country-problem-info"))}function cee(n,i){if(1&n&&(E(0,"div",78),q(1,oee,2,1,"ng-container",18),q(2,see,3,3,"ng-container",18),q(3,lee,1,1,"mat-spinner",27),q(4,uee,3,4,"mat-icon",79),P()),2&n){var e=K(2);p(1),S("ngIf",e.ipCountry),p(1),S("ngIf",!e.ipCountry&&!e.loadingCurrentIp),p(1),S("ngIf",e.loadingCurrentIp),p(1),S("ngIf",e.problemGettingIp)}}function dee(n,i){1&n&&(E(0,"div",78),R(1),Y(2,"translate"),P()),2&n&&(p(1),ye(" ",U(2,1,"vpn.status-page.data.unavailable")," "))}function fee(n,i){if(1&n){var e=tt();E(0,"div")(1,"div",13),R(2),Y(3,"translate"),P(),E(4,"div",78),Te(5,"app-vpn-server-name",83),E(6,"mat-icon",82),Se("click",function(){return ke(e),K(2).openServerOptions()}),Y(7,"translate"),R(8,"settings"),P()()()}if(2&n){var t=K(2);p(2),ge(U(3,10,"vpn.status-page.data.server")),p(3),S("isFavorite",t.currentRemoteServer.flag===t.serverFlags.Favorite)("isBlocked",t.currentRemoteServer.flag===t.serverFlags.Blocked)("hasPassword",t.currentRemoteServer.usedWithPassword)("adjustIconsForBigText",!0)("name",t.currentRemoteServer.name)("pk",t.currentRemoteServer.pk)("customName",t.currentRemoteServer.customName),p(1),S("inline",!0)("matTooltip",U(7,12,"vpn.server-options.tooltip"))}}function hee(n,i){1&n&&Te(0,"div",15)}function pee(n,i){if(1&n&&(E(0,"div")(1,"div",13),R(2),Y(3,"translate"),P(),E(4,"div",20),R(5),P()()),2&n){var e=K(2);p(2),ge(U(3,2,"vpn.status-page.data.server-note")),p(3),ye(" ",e.currentRemoteServer.personalNote," ")}}function vee(n,i){1&n&&Te(0,"div",15)}function mee(n,i){if(1&n&&(E(0,"div")(1,"div",13),R(2),Y(3,"translate"),P(),E(4,"div",20),R(5),P()()),2&n){var e=K(2);p(2),ge(U(3,2,"vpn.status-page.data."+(e.currentRemoteServer.personalNote?"original-":"")+"server-note")),p(3),ye(" ",e.currentRemoteServer.note," ")}}function gee(n,i){1&n&&Te(0,"div",15)}function _ee(n,i){if(1&n&&(E(0,"div")(1,"div",13),R(2),Y(3,"translate"),P(),E(4,"div",20),Te(5,"app-copy-to-clipboard-text",21),P()()),2&n){var e=K(2);p(2),ge(U(3,2,"vpn.status-page.data.remote-pk")),p(3),S("text",e.currentRemoteServer.pk)}}function yee(n,i){1&n&&Te(0,"div",15)}function bee(n,i){if(1&n&&(E(0,"div",4)(1,"div",5)(2,"div",6),Te(3,"app-top-bar",3),P()(),E(4,"div",7),q(5,KX,20,12,"div",8),q(6,JX,119,148,"div",9),E(7,"div",10)(8,"div",11)(9,"div",12)(10,"div")(11,"div",13),R(12),Y(13,"translate"),P(),q(14,iee,6,5,"div",14),q(15,aee,3,3,"div",14),P(),Te(16,"div",15),E(17,"div")(18,"div",13),R(19),Y(20,"translate"),P(),q(21,cee,5,4,"div",14),q(22,dee,3,3,"div",14),P(),Te(23,"div",16)(24,"div",17)(25,"div",16),q(26,fee,9,14,"div",18),q(27,hee,1,0,"div",19),q(28,pee,6,4,"div",18),q(29,vee,1,0,"div",19),q(30,mee,6,4,"div",18),q(31,gee,1,0,"div",19),q(32,_ee,6,4,"div",18),q(33,yee,1,0,"div",19),E(34,"div")(35,"div",13),R(36),Y(37,"translate"),P(),E(38,"div",20),Te(39,"app-copy-to-clipboard-text",21),P()()()()()()()),2&n){var e=K();p(3),S("titleParts",Nn(29,fP))("tabsData",e.tabsData)("selectedTabIndex",0)("showUpdateButton",!1)("localVpnKey",e.currentLocalPk),p(2),S("ngIf",!e.showStarted),p(1),S("ngIf",e.showStarted),p(6),ge(U(13,23,"vpn.status-page.data.ip")),p(2),S("ngIf",e.ipInfoAllowed),p(1),S("ngIf",!e.ipInfoAllowed),p(4),ge(U(20,25,"vpn.status-page.data.country")),p(2),S("ngIf",e.ipInfoAllowed),p(1),S("ngIf",!e.ipInfoAllowed),p(4),S("ngIf",e.showStarted&&e.currentRemoteServer),p(1),S("ngIf",e.showStarted&&e.currentRemoteServer),p(1),S("ngIf",e.showStarted&&e.currentRemoteServer&&e.currentRemoteServer.personalNote),p(1),S("ngIf",e.showStarted&&e.currentRemoteServer&&e.currentRemoteServer.personalNote),p(1),S("ngIf",e.showStarted&&e.currentRemoteServer&&e.currentRemoteServer.note),p(1),S("ngIf",e.showStarted&&e.currentRemoteServer&&e.currentRemoteServer.note),p(1),S("ngIf",e.showStarted&&e.currentRemoteServer),p(1),S("ngIf",e.showStarted&&e.currentRemoteServer),p(3),ge(U(37,27,"vpn.status-page.data.local-pk")),p(3),S("text",e.currentLocalPk)}}var kee=function(){var n=function(){function i(e,t,a,o,s,l,u){c(this,i),this.vpnClientService=e,this.vpnSavedDataService=t,this.snackbarService=a,this.translateService=o,this.route=s,this.dialog=l,this.router=u,this.tabsData=Gr.vpnTabsData,this.sentHistory=[0,0,0,0,0,0,0,0,0,0],this.receivedHistory=[0,0,0,0,0,0,0,0,0,0],this.latencyHistory=[0,0,0,0,0,0,0,0,0,0],this.minUploadInGraph=0,this.midUploadInGraph=0,this.maxUploadInGraph=0,this.minDownloadInGraph=0,this.midDownloadInGraph=0,this.maxDownloadInGraph=0,this.minLatencyInGraph=0,this.midLatencyInGraph=0,this.maxLatencyInGraph=0,this.graphsTopInternalMargin=Xb.topInternalMargin,this.connectionTimeString="00:00:00",this.calculatedSegs=-1,this.uploadSpeed=0,this.downloadSpeed=0,this.totalUploaded=0,this.totalDownloaded=0,this.latency=0,this.showSpeedsInBits=!0,this.showTotalsInBits=!1,this.loading=!0,this.showStartedLastValue=!1,this.showStarted=!1,this.lastAppState=null,this.showBusy=!1,this.stopRequested=!1,this.loadingCurrentIp=!0,this.problemGettingIp=!1,this.lastIpRefresDate=0,this.serverFlags=Hn,this.ipInfoAllowed=this.vpnSavedDataService.getCheckIpSetting();var f=this.vpnSavedDataService.getDataUnitsSetting();f===Xi.OnlyBits?(this.showSpeedsInBits=!0,this.showTotalsInBits=!0):f===Xi.OnlyBytes?(this.showSpeedsInBits=!1,this.showTotalsInBits=!1):(this.showSpeedsInBits=!0,this.showTotalsInBits=!1)}return d(i,[{key:"ngOnInit",value:function(){var t=this;this.navigationsSubscription=this.route.paramMap.subscribe(function(a){a.has("key")&&(t.currentLocalPk=a.get("key"),Gr.changeCurrentPk(t.currentLocalPk),t.tabsData=Gr.vpnTabsData),setTimeout(function(){return t.navigationsSubscription.unsubscribe()}),t.dataSubscription=t.vpnClientService.backendState.subscribe(function(o){if(o&&o.serviceState!==Wr.PerformingInitialCheck){var s=!t.backendState;if(t.backendState=o,(s||t.lastAppState===pn.Running&&o.vpnClientAppData.appState!==pn.Running||t.lastAppState!==pn.Running&&o.vpnClientAppData.appState===pn.Running)&&t.getIp(!0),t.showStarted=o.vpnClientAppData.running||o.vpnClientAppData.appState!==pn.Stopped,t.showStartedLastValue!==t.showStarted){for(var l=0;l<10;l++)t.receivedHistory[l]=0,t.sentHistory[l]=0,t.latencyHistory[l]=0;t.updateGraphLimits(),t.uploadSpeed=0,t.downloadSpeed=0,t.totalUploaded=0,t.totalDownloaded=0,t.latency=0}if(t.lastAppState=o.vpnClientAppData.appState,t.showStartedLastValue=t.showStarted,t.stopRequested?t.showStarted||(t.stopRequested=!1,t.showBusy=o.busy):t.showBusy=o.busy,o.vpnClientAppData.connectionData){for(var u=0;u<10;u++)t.receivedHistory[u]=o.vpnClientAppData.connectionData.downloadSpeedHistory[u],t.sentHistory[u]=o.vpnClientAppData.connectionData.uploadSpeedHistory[u],t.latencyHistory[u]=o.vpnClientAppData.connectionData.latencyHistory[u];t.updateGraphLimits(),t.uploadSpeed=o.vpnClientAppData.connectionData.uploadSpeed,t.downloadSpeed=o.vpnClientAppData.connectionData.downloadSpeed,t.totalUploaded=o.vpnClientAppData.connectionData.totalUploaded,t.totalDownloaded=o.vpnClientAppData.connectionData.totalDownloaded,t.latency=o.vpnClientAppData.connectionData.latency}o.vpnClientAppData.running&&o.vpnClientAppData.appState===pn.Running&&o.vpnClientAppData.connectionData&&o.vpnClientAppData.connectionData.connectionDuration?(-1===t.calculatedSegs||o.vpnClientAppData.connectionData.connectionDuration>t.calculatedSegs+2||o.vpnClientAppData.connectionData.connectionDurationo&&(o=l)}),0===o&&(o+=1),[0,new(Ev())(o).minus(0).dividedBy(2).plus(0).decimalPlaces(1).toNumber(),o]}},{key:"getIp",value:function(){var t=this,a=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.ipInfoAllowed){if(!a){if(this.loadingCurrentIp)return void this.snackbarService.showWarning("vpn.status-page.data.ip-refresh-loading-warning");var o=1e4;if(Date.now()-this.lastIpRefresDate0||Q===te?te:te-1}function G(Q){for(var te,ae,le=1,X=Q.length,De=Q[0]+"";leKe^ae?1:-1;for(Fe=(He=X.length)<(Ke=De.length)?He:Ke,xe=0;xeDe[xe]^ae?1:-1;return He==Ke?0:He>Ke^ae?1:-1}function ce(Q,te,ae,le){if(Qae||Q!==(Q<0?d(Q):c(Q)))throw Error(_+(le||"Argument")+("number"==typeof Q?Qae?" out of range: ":" not an integer: ":" not a primitive number: ")+Q)}function ne(Q){return"[object Array]"==Object.prototype.toString.call(Q)}function Z(Q){var te=Q.c.length-1;return W(Q.e/w)==te&&Q.c[te]%2!=0}function ue(Q,te){return(Q.length>1?Q.charAt(0)+"."+Q.slice(1):Q)+(te<0?"e":"e+")+te}function ee(Q,te,ae){var le,X;if(te<0){for(X=ae+".";++te;X+=ae);Q=X+Q}else if(++te>(le=Q.length)){for(X=ae,te-=le;--te;X+=ae);Q+=X}else te=10;Me/=10,fe++);return Ae.e=fe,void(Ae.c=[j])}Pe=j+""}else{if(!v.test(Pe=j+""))return le(Ae,Pe,_e);Ae.s=45==Pe.charCodeAt(0)?(Pe=Pe.slice(1),-1):1}(fe=Pe.indexOf("."))>-1&&(Pe=Pe.replace(".","")),(Me=Pe.search(/e/i))>0?(fe<0&&(fe=Me),fe+=+Pe.slice(Me+1),Pe=Pe.substring(0,Me)):fe<0&&(fe=Pe.length)}else{if(ce(re,2,vn.length,"Base"),Pe=j+"",10==re)return Bn(Ae=new Ve(j instanceof Ve?j:Pe),xe+Ae.e+1,Fe);if(_e="number"==typeof j){if(0*j!=0)return le(Ae,Pe,_e,re);if(Ae.s=1/j<0?(Pe=Pe.slice(1),-1):1,Ve.DEBUG&&Pe.replace(/^0\.0*|\./,"").length>15)throw Error(h+j);_e=!1}else Ae.s=45===Pe.charCodeAt(0)?(Pe=Pe.slice(1),-1):1;for(se=vn.slice(0,re),fe=Me=0,we=Pe.length;Mefe){fe=we;continue}}else if(!he&&(Pe==Pe.toUpperCase()&&(Pe=Pe.toLowerCase())||Pe==Pe.toLowerCase()&&(Pe=Pe.toUpperCase()))){he=!0,Me=-1,fe=0;continue}return le(Ae,j+"",_e,re)}(fe=(Pe=ae(Pe,re,10,Ae.s)).indexOf("."))>-1?Pe=Pe.replace(".",""):fe=Pe.length}for(Me=0;48===Pe.charCodeAt(Me);Me++);for(we=Pe.length;48===Pe.charCodeAt(--we););if(Pe=Pe.slice(Me,++we)){if(we-=Me,_e&&Ve.DEBUG&&we>15&&(j>x||j!==c(j)))throw Error(h+Ae.s*j);if((fe=fe-Me-1)>Ne)Ae.c=Ae.e=null;else if(fe_e){if(--re>0)for(we+=".";re--;we+="0");}else if((re+=fe-_e)>0)for(fe+1==_e&&(we+=".");re--;we+="0");return j.s<0&&he?"-"+we:we}function St(j,re){var se,de,he=0;for(ne(j[0])&&(j=j[0]),se=new Ve(j[0]);++he=10;he/=10,de++);return(se=de+se*w-1)>Ne?j.c=j.e=null:se=10;_e/=10,he++);if((fe=re-he)<0)fe+=w,Ae=(we=Ie[Pe=0])/ct[he-(Me=re)-1]%10|0;else if((Pe=d((fe+1)/w))>=Ie.length){if(!de)break e;for(;Ie.length<=Pe;Ie.push(0));we=Ae=0,he=1,Me=(fe%=w)-w+1}else{for(we=_e=Ie[Pe],he=1;_e>=10;_e/=10,he++);Ae=(Me=(fe%=w)-w+he)<0?0:we/ct[he-Me-1]%10|0}if(de=de||re<0||null!=Ie[Pe+1]||(Me<0?we:we%ct[he-Me-1]),de=se<4?(Ae||de)&&(0==se||se==(j.s<0?3:2)):Ae>5||5==Ae&&(4==se||de||6==se&&(fe>0?Me>0?we/ct[he-Me]:0:Ie[Pe-1])%10&1||se==(j.s<0?8:7)),re<1||!Ie[0])return Ie.length=0,de?(Ie[0]=ct[(w-(re-=j.e+1)%w)%w],j.e=-re||0):Ie[0]=j.e=0,j;if(0==fe?(Ie.length=Pe,_e=1,Pe--):(Ie.length=Pe+1,_e=ct[w-fe],Ie[Pe]=Me>0?c(we/ct[he-Me]%ct[Me])*_e:0),de)for(;;){if(0==Pe){for(fe=1,Me=Ie[0];Me>=10;Me/=10,fe++);for(Me=Ie[0]+=_e,_e=1;Me>=10;Me/=10,_e++);fe!=_e&&(j.e++,Ie[0]==L&&(Ie[0]=1));break}if(Ie[Pe]+=_e,Ie[Pe]!=L)break;Ie[Pe--]=0,_e=1}for(fe=Ie.length;0===Ie[--fe];Ie.pop());}j.e>Ne?j.c=j.e=null:j.e>>11))>=9e15?(he=crypto.getRandomValues(new Uint32Array(2)),de[we]=he[0],de[we+1]=he[1]):(Pe.push(_e%1e14),we+=2);we=Me/2}else{if(!crypto.randomBytes)throw at=!1,Error(_+"crypto unavailable");for(de=crypto.randomBytes(Me*=7);we=9e15?crypto.randomBytes(7).copy(de,we):(Pe.push(_e%1e14),we+=7);we=Me/7}if(!at)for(;we=10;_e/=10,we++);wehe-1&&(null==_e[Me+1]&&(_e[Me+1]=0),_e[Me+1]+=_e[Me]/he|0,_e[Me]%=he)}return _e.reverse()}return function(se,de,he,fe,Me){var _e,we,Pe,Ae,Ie,ct,ht,nt,mn=se.indexOf("."),In=xe,Ft=Fe;for(mn>=0&&(Ae=jt,jt=0,se=se.replace(".",""),ct=(nt=new Ve(de)).pow(se.length-mn),jt=Ae,nt.c=re(ee(G(ct.c),ct.e,"0"),10,he,j),nt.e=nt.c.length),Pe=Ae=(ht=re(se,de,he,Me?(_e=vn,j):(_e=j,vn))).length;0==ht[--Ae];ht.pop());if(!ht[0])return _e.charAt(0);if(mn<0?--Pe:(ct.c=ht,ct.e=Pe,ct.s=fe,ht=(ct=te(ct,nt,In,Ft,he)).c,Ie=ct.r,Pe=ct.e),mn=ht[we=Pe+In+1],Ae=he/2,Ie=Ie||we<0||null!=ht[we+1],Ie=Ft<4?(null!=mn||Ie)&&(0==Ft||Ft==(ct.s<0?3:2)):mn>Ae||mn==Ae&&(4==Ft||Ie||6==Ft&&1&ht[we-1]||Ft==(ct.s<0?8:7)),we<1||!ht[0])se=Ie?ee(_e.charAt(1),-In,_e.charAt(0)):_e.charAt(0);else{if(ht.length=we,Ie)for(--he;++ht[--we]>he;)ht[we]=0,we||(++Pe,ht=[1].concat(ht));for(Ae=ht.length;!ht[--Ae];);for(mn=0,se="";mn<=Ae;se+=_e.charAt(ht[mn++]));se=ee(se,Pe,_e.charAt(0))}return se}}(),te=function(){function j(de,he,fe){var Me,_e,we,Pe,Ae=0,Ie=de.length,ct=he%y,ht=he/y|0;for(de=de.slice();Ie--;)Ae=((_e=ct*(we=de[Ie]%y)+(Me=ht*we+(Pe=de[Ie]/y|0)*ct)%y*y+Ae)/fe|0)+(Me/y|0)+ht*Pe,de[Ie]=_e%fe;return Ae&&(de=[Ae].concat(de)),de}function re(de,he,fe,Me){var _e,we;if(fe!=Me)we=fe>Me?1:-1;else for(_e=we=0;_ehe[_e]?1:-1;break}return we}function se(de,he,fe,Me){for(var _e=0;fe--;)de[fe]-=_e,de[fe]=(_e=de[fe]1;de.splice(0,1));}return function(de,he,fe,Me,_e){var we,Pe,Ae,Ie,ct,ht,nt,mn,In,Ft,zt,Kn,Vn,ga,Vi,kr,Gt,Fn=de.s==he.s?1:-1,gn=de.c,$e=he.c;if(!(gn&&gn[0]&&$e&&$e[0]))return new Ve(de.s&&he.s&&(gn?!$e||gn[0]!=$e[0]:$e)?gn&&0==gn[0]||!$e?0*Fn:Fn/0:NaN);for(In=(mn=new Ve(Fn)).c=[],Fn=fe+(Pe=de.e-he.e)+1,_e||(_e=L,Pe=W(de.e/w)-W(he.e/w),Fn=Fn/w|0),Ae=0;$e[Ae]==(gn[Ae]||0);Ae++);if($e[Ae]>(gn[Ae]||0)&&Pe--,Fn<0)In.push(1),Ie=!0;else{for(ga=gn.length,kr=$e.length,Ae=0,Fn+=2,(ct=c(_e/($e[0]+1)))>1&&($e=j($e,ct,_e),gn=j(gn,ct,_e),kr=$e.length,ga=gn.length),Vn=kr,zt=(Ft=gn.slice(0,kr)).length;zt=_e/2&&Vi++;do{if(ct=0,(we=re($e,Ft,kr,zt))<0){if(Kn=Ft[0],kr!=zt&&(Kn=Kn*_e+(Ft[1]||0)),(ct=c(Kn/Vi))>1)for(ct>=_e&&(ct=_e-1),nt=(ht=j($e,ct,_e)).length,zt=Ft.length;1==re(ht,Ft,nt,zt);)ct--,se(ht,kr=10;Fn/=10,Ae++);Bn(mn,fe+(mn.e=Ae+Pe*w-1)+1,Me,Ie)}else mn.e=Pe,mn.r=+Ie;return mn}}(),le=function(){var j=/^(-?)0([xbo])(?=\w[\w.]*$)/i,re=/^([^.]+)\.$/,se=/^\.([^.]+)$/,de=/^-?(Infinity|NaN)$/,he=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(fe,Me,_e,we){var Pe,Ae=_e?Me:Me.replace(he,"");if(de.test(Ae))fe.s=isNaN(Ae)?null:Ae<0?-1:1,fe.c=fe.e=null;else{if(!_e&&(Ae=Ae.replace(j,function(Ie,ct,ht){return Pe="x"==(ht=ht.toLowerCase())?16:"b"==ht?2:8,we&&we!=Pe?Ie:ct}),we&&(Pe=we,Ae=Ae.replace(re,"$1").replace(se,"0.$1")),Me!=Ae))return new Ve(Ae,Pe);if(Ve.DEBUG)throw Error(_+"Not a"+(we?" base "+we:"")+" number: "+Me);fe.c=fe.e=fe.s=null}}}(),X.absoluteValue=X.abs=function(){var j=new Ve(this);return j.s<0&&(j.s=1),j},X.comparedTo=function(j,re){return ie(this,new Ve(j,re))},X.decimalPlaces=X.dp=function(j,re){var se,de,he;if(null!=j)return ce(j,0,F),null==re?re=Fe:ce(re,0,8),Bn(new Ve(this),j+this.e+1,re);if(!(se=this.c))return null;if(de=((he=se.length-1)-W(this.e/w))*w,he=se[he])for(;he%10==0;he/=10,de--);return de<0&&(de=0),de},X.dividedBy=X.div=function(j,re){return te(this,new Ve(j,re),xe,Fe)},X.dividedToIntegerBy=X.idiv=function(j,re){return te(this,new Ve(j,re),0,1)},X.exponentiatedBy=X.pow=function(j,re){var se,de,he,Me,_e,we,Pe,Ae=this;if((j=new Ve(j)).c&&!j.isInteger())throw Error(_+"Exponent not an integer: "+j);if(null!=re&&(re=new Ve(re)),Me=j.e>14,!Ae.c||!Ae.c[0]||1==Ae.c[0]&&!Ae.e&&1==Ae.c.length||!j.c||!j.c[0])return Pe=new Ve(Math.pow(+Ae.valueOf(),Me?2-Z(j):+j)),re?Pe.mod(re):Pe;if(_e=j.s<0,re){if(re.c?!re.c[0]:!re.s)return new Ve(NaN);(de=!_e&&Ae.isInteger()&&re.isInteger())&&(Ae=Ae.mod(re))}else{if(j.e>9&&(Ae.e>0||Ae.e<-1||(0==Ae.e?Ae.c[0]>1||Me&&Ae.c[1]>=24e7:Ae.c[0]<8e13||Me&&Ae.c[0]<=9999975e7)))return he=Ae.s<0&&Z(j)?-0:0,Ae.e>-1&&(he=1/he),new Ve(_e?1/he:he);jt&&(he=d(jt/w+2))}for(Me?(se=new Ve(.5),we=Z(j)):we=j%2,_e&&(j.s=1),Pe=new Ve(De);;){if(we){if(!(Pe=Pe.times(Ae)).c)break;he?Pe.c.length>he&&(Pe.c.length=he):de&&(Pe=Pe.mod(re))}if(Me){if(Bn(j=j.times(se),j.e+1,1),!j.c[0])break;Me=j.e>14,we=Z(j)}else{if(!(j=c(j/2)))break;we=j%2}Ae=Ae.times(Ae),he?Ae.c&&Ae.c.length>he&&(Ae.c.length=he):de&&(Ae=Ae.mod(re))}return de?Pe:(_e&&(Pe=De.div(Pe)),re?Pe.mod(re):he?Bn(Pe,jt,Fe,void 0):Pe)},X.integerValue=function(j){var re=new Ve(this);return null==j?j=Fe:ce(j,0,8),Bn(re,re.e+1,j)},X.isEqualTo=X.eq=function(j,re){return 0===ie(this,new Ve(j,re))},X.isFinite=function(){return!!this.c},X.isGreaterThan=X.gt=function(j,re){return ie(this,new Ve(j,re))>0},X.isGreaterThanOrEqualTo=X.gte=function(j,re){return 1===(re=ie(this,new Ve(j,re)))||0===re},X.isInteger=function(){return!!this.c&&W(this.e/w)>this.c.length-2},X.isLessThan=X.lt=function(j,re){return ie(this,new Ve(j,re))<0},X.isLessThanOrEqualTo=X.lte=function(j,re){return-1===(re=ie(this,new Ve(j,re)))||0===re},X.isNaN=function(){return!this.s},X.isNegative=function(){return this.s<0},X.isPositive=function(){return this.s>0},X.isZero=function(){return!!this.c&&0==this.c[0]},X.minus=function(j,re){var se,de,he,fe,Me=this,_e=Me.s;if(re=(j=new Ve(j,re)).s,!_e||!re)return new Ve(NaN);if(_e!=re)return j.s=-re,Me.plus(j);var we=Me.e/w,Pe=j.e/w,Ae=Me.c,Ie=j.c;if(!we||!Pe){if(!Ae||!Ie)return Ae?(j.s=-re,j):new Ve(Ie?Me:NaN);if(!Ae[0]||!Ie[0])return Ie[0]?(j.s=-re,j):new Ve(Ae[0]?Me:3==Fe?-0:0)}if(we=W(we),Pe=W(Pe),Ae=Ae.slice(),_e=we-Pe){for((fe=_e<0)?(_e=-_e,he=Ae):(Pe=we,he=Ie),he.reverse(),re=_e;re--;he.push(0));he.reverse()}else for(de=(fe=(_e=Ae.length)<(re=Ie.length))?_e:re,_e=re=0;re0)for(;re--;Ae[se++]=0);for(re=L-1;de>_e;){if(Ae[--de]=0;){for(se=0,ct=Kn[he]%In,ht=Kn[he]/In|0,fe=he+(Me=we);fe>he;)se=((Pe=ct*(Pe=zt[--Me]%In)+(_e=ht*Pe+(Ae=zt[Me]/In|0)*ct)%In*In+nt[fe]+se)/mn|0)+(_e/In|0)+ht*Ae,nt[fe--]=Pe%mn;nt[fe]=se}return se?++de:nt.splice(0,1),Lr(j,nt,de)},X.negated=function(){var j=new Ve(this);return j.s=-j.s||null,j},X.plus=function(j,re){var se,de=this,he=de.s;if(re=(j=new Ve(j,re)).s,!he||!re)return new Ve(NaN);if(he!=re)return j.s=-re,de.minus(j);var fe=de.e/w,Me=j.e/w,_e=de.c,we=j.c;if(!fe||!Me){if(!_e||!we)return new Ve(he/0);if(!_e[0]||!we[0])return we[0]?j:new Ve(_e[0]?de:0*he)}if(fe=W(fe),Me=W(Me),_e=_e.slice(),he=fe-Me){for(he>0?(Me=fe,se=we):(he=-he,se=_e),se.reverse();he--;se.push(0));se.reverse()}for((he=_e.length)-(re=we.length)<0&&(se=we,we=_e,_e=se,re=he),he=0;re;)he=(_e[--re]=_e[re]+we[re]+he)/L|0,_e[re]=L===_e[re]?0:_e[re]%L;return he&&(_e=[he].concat(_e),++Me),Lr(j,_e,Me)},X.precision=X.sd=function(j,re){var se,de,he;if(null!=j&&j!==!!j)return ce(j,1,F),null==re?re=Fe:ce(re,0,8),Bn(new Ve(this),j,re);if(!(se=this.c))return null;if(de=(he=se.length-1)*w+1,he=se[he]){for(;he%10==0;he/=10,de--);for(he=se[0];he>=10;he/=10,de++);}return j&&this.e+1>de&&(de=this.e+1),de},X.shiftedBy=function(j){return ce(j,-x,x),this.times("1e"+j)},X.squareRoot=X.sqrt=function(){var j,re,se,de,he,fe=this,Me=fe.c,_e=fe.s,we=fe.e,Pe=xe+4,Ae=new Ve("0.5");if(1!==_e||!Me||!Me[0])return new Ve(!_e||_e<0&&(!Me||Me[0])?NaN:Me?fe:1/0);if(0==(_e=Math.sqrt(+fe))||_e==1/0?(((re=G(Me)).length+we)%2==0&&(re+="0"),_e=Math.sqrt(re),we=W((we+1)/2)-(we<0||we%2),se=new Ve(re=_e==1/0?"1e"+we:(re=_e.toExponential()).slice(0,re.indexOf("e")+1)+we)):se=new Ve(_e+""),se.c[0])for((_e=(we=se.e)+Pe)<3&&(_e=0);;)if(se=Ae.times((he=se).plus(te(fe,he,Pe,1))),G(he.c).slice(0,_e)===(re=G(se.c)).slice(0,_e)){if(se.e0&&ct>0){for(we=Ie.substr(0,de=ct%fe||fe);de0&&(we+=_e+Ie.slice(de)),Ae&&(we="-"+we)}se=Pe?we+sn.decimalSeparator+((Me=+sn.fractionGroupSize)?Pe.replace(new RegExp("\\d{"+Me+"}\\B","g"),"$&"+sn.fractionGroupSeparator):Pe):we}return se},X.toFraction=function(j){var re,se,de,he,fe,Me,_e,we,Pe,Ae,Ie,ct,ht=this,nt=ht.c;if(null!=j&&(!(we=new Ve(j)).isInteger()&&(we.c||1!==we.s)||we.lt(De)))throw Error(_+"Argument "+(we.isInteger()?"out of range: ":"not an integer: ")+j);if(!nt)return ht.toString();for(se=new Ve(De),Ae=de=new Ve(De),he=Pe=new Ve(De),ct=G(nt),Me=se.e=ct.length-ht.e-1,se.c[0]=D[(_e=Me%w)<0?w+_e:_e],j=!j||we.comparedTo(se)>0?Me>0?se:Ae:we,_e=Ne,Ne=1/0,we=new Ve(ct),Pe.c[0]=0;Ie=te(we,se,0,1),1!=(fe=de.plus(Ie.times(he))).comparedTo(j);)de=he,he=fe,Ae=Pe.plus(Ie.times(fe=Ae)),Pe=fe,se=we.minus(Ie.times(fe=se)),we=fe;return fe=te(j.minus(de),he,0,1),Pe=Pe.plus(fe.times(Ae)),de=de.plus(fe.times(he)),Pe.s=Ae.s=ht.s,re=te(Ae,he,Me*=2,Fe).minus(ht).abs().comparedTo(te(Pe,de,Me,Fe).minus(ht).abs())<1?[Ae.toString(),he.toString()]:[Pe.toString(),de.toString()],Ne=_e,re},X.toNumber=function(){return+this},X.toPrecision=function(j,re){return null!=j&&ce(j,1,F),br(this,j,re,2)},X.toString=function(j){var re,de=this.s,he=this.e;return null===he?de?(re="Infinity",de<0&&(re="-"+re)):re="NaN":(re=G(this.c),null==j?re=he<=He||he>=Ke?ue(re,he):ee(re,he,"0"):(ce(j,2,vn.length,"Base"),re=ae(ee(re,he,"0"),10,j,de,!0)),de<0&&this.c[0]&&(re="-"+re)),re},X.valueOf=X.toJSON=function(){var j,se=this.e;return null===se?this.toString():(j=G(this.c),j=se<=He||se>=Ke?ue(j,se):ee(j,se,"0"),this.s<0?"-"+j:j)},X._isBigNumber=!0,null!=Q&&Ve.set(Q),Ve}(),T.default=T.BigNumber=T,void 0!==(O=function(){return T}.call(be,H,be,ve))&&(ve.exports=O)}()},6149:function(ve,be,H){var O=H(5979)();O.helpers=H(3305),H(3533)(O),O.defaults=H(9800),O.Element=H(8839),O.elements=H(9931),O.Interaction=H(2814),O.layouts=H(2294),O.platform=H(8244),O.plugins=H(2445),O.Ticks=H(8347),H(8103)(O),H(1047)(O),H(7897)(O),H(5464)(O),H(6308)(O),H(480)(O),H(8351)(O),H(4977)(O),H(1704)(O),H(1486)(O),H(8726)(O),H(4215)(O),H(2690)(O),H(4033)(O),H(787)(O),H(6769)(O),H(6580)(O),H(4657)(O),H(1895)(O),H(6038)(O),H(2898)(O),H(3414)(O),H(6667)(O),H(402)(O),H(846)(O),H(9377)(O);var M=H(6747);for(var T in M)M.hasOwnProperty(T)&&O.plugins.register(M[T]);O.platform.initialize(),ve.exports=O,"undefined"!=typeof window&&(window.Chart=O),O.Legend=M.legend._element,O.Title=M.title._element,O.pluginService=O.plugins,O.PluginBase=O.Element.extend({}),O.canvasHelpers=O.helpers.canvas,O.layoutService=O.layouts},6038:function(ve){"use strict";ve.exports=function(be){be.Bar=function(H,O){return O.type="bar",new be(H,O)}}},2898:function(ve){"use strict";ve.exports=function(be){be.Bubble=function(H,O){return O.type="bubble",new be(H,O)}}},3414:function(ve){"use strict";ve.exports=function(be){be.Doughnut=function(H,O){return O.type="doughnut",new be(H,O)}}},6667:function(ve){"use strict";ve.exports=function(be){be.Line=function(H,O){return O.type="line",new be(H,O)}}},402:function(ve){"use strict";ve.exports=function(be){be.PolarArea=function(H,O){return O.type="polarArea",new be(H,O)}}},846:function(ve){"use strict";ve.exports=function(be){be.Radar=function(H,O){return O.type="radar",new be(H,O)}}},9377:function(ve){"use strict";ve.exports=function(be){be.Scatter=function(H,O){return O.type="scatter",new be(H,O)}}},2690:function(ve,be,H){"use strict";var O=H(9800),M=H(9931),T=H(3305);O._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),O._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{position:"left",type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{callbacks:{title:function(h,L){var w="";return h.length>0&&(h[0].yLabel?w=h[0].yLabel:L.labels.length>0&&h[0].index0?Math.min(L,D-x):L,x=D;return L}(w,W):-1,{min:ce,pixels:W,start:F,end:N,stackCount:x,scale:w}},calculateBarValuePixels:function(L,w){var ne,Z,ue,ee,Q,te,x=this,D=x.chart,y=x.getMeta(),F=x.getValueScale(),N=D.data.datasets,W=F.getRightValue(N[L].data[w]),G=F.options.stacked,ie=y.stack,ce=0;if(G||void 0===G&&void 0!==ie)for(ne=0;ne=0&&ue>0)&&(ce+=ue));return ee=F.getPixelForValue(ce),{size:te=((Q=F.getPixelForValue(ce+W))-ee)/2,base:ee,head:Q,center:Q+te/2}},calculateBarIndexPixels:function(L,w,x){var y=x.scale.options,F="flex"===y.barThickness?function c(_,h,L){var w=h.pixels,x=w[_],D=_>0?w[_-1]:null,y=_');var _=d.data,h=_.datasets,L=_.labels;if(h.length)for(var w=0;w'),L[w]&&c.push(L[w]),c.push("");return c.push(""),c.join("")},legend:{labels:{generateLabels:function(d){var c=d.data;return c.labels.length&&c.datasets.length?c.labels.map(function(_,h){var L=d.getDatasetMeta(0),w=c.datasets[0],x=L.data[h],D=x&&x.custom||{},y=T.valueAtIndexOrDefault,F=d.options.elements.arc;return{text:_,fillStyle:D.backgroundColor?D.backgroundColor:y(w.backgroundColor,h,F.backgroundColor),strokeStyle:D.borderColor?D.borderColor:y(w.borderColor,h,F.borderColor),lineWidth:D.borderWidth?D.borderWidth:y(w.borderWidth,h,F.borderWidth),hidden:isNaN(w.data[h])||L.data[h].hidden,index:h}}):[]}},onClick:function(d,c){var L,w,x,_=c.index,h=this.chart;for(L=0,w=(h.data.datasets||[]).length;L=Math.PI?-1:ce<-Math.PI?1:0))+ie,Z={x:Math.cos(ce),y:Math.sin(ce)},ue={x:Math.cos(ne),y:Math.sin(ne)},ee=ce<=0&&ne>=0||ce<=2*Math.PI&&2*Math.PI<=ne,Q=ce<=.5*Math.PI&&.5*Math.PI<=ne||ce<=2.5*Math.PI&&2.5*Math.PI<=ne,te=ce<=-Math.PI&&-Math.PI<=ne||ce<=Math.PI&&Math.PI<=ne,ae=ce<=.5*-Math.PI&&.5*-Math.PI<=ne||ce<=1.5*Math.PI&&1.5*Math.PI<=ne,le=G/100,X={x:te?-1:Math.min(Z.x*(Z.x<0?1:le),ue.x*(ue.x<0?1:le)),y:ae?-1:Math.min(Z.y*(Z.y<0?1:le),ue.y*(ue.y<0?1:le))},De={x:ee?1:Math.max(Z.x*(Z.x>0?1:le),ue.x*(ue.x>0?1:le)),y:Q?1:Math.max(Z.y*(Z.y>0?1:le),ue.y*(ue.y>0?1:le))},xe={width:.5*(De.x-X.x),height:.5*(De.y-X.y)};F=Math.min(D/xe.width,y/xe.height),N={x:-.5*(De.x+X.x),y:-.5*(De.y+X.y)}}h.borderWidth=_.getMaxBorderWidth(W.data),h.outerRadius=Math.max((F-h.borderWidth)/2,0),h.innerRadius=Math.max(G?h.outerRadius/100*G:0,0),h.radiusLength=(h.outerRadius-h.innerRadius)/h.getVisibleDatasetCount(),h.offsetX=N.x*h.outerRadius,h.offsetY=N.y*h.outerRadius,W.total=_.calculateTotal(),_.outerRadius=h.outerRadius-h.radiusLength*_.getRingIndex(_.index),_.innerRadius=Math.max(_.outerRadius-h.radiusLength,0),T.each(W.data,function(Fe,He){_.updateElement(Fe,He,c)})},updateElement:function(c,_,h){var L=this,w=L.chart,x=w.chartArea,D=w.options,y=D.animation,F=(x.left+x.right)/2,N=(x.top+x.bottom)/2,W=D.rotation,G=D.rotation,ie=L.getDataset(),ce=h&&y.animateRotate||c.hidden?0:L.calculateCircumference(ie.data[_])*(D.circumference/(2*Math.PI));T.extend(c,{_datasetIndex:L.index,_index:_,_model:{x:F+w.offsetX,y:N+w.offsetY,startAngle:W,endAngle:G,circumference:ce,outerRadius:h&&y.animateScale?0:L.outerRadius,innerRadius:h&&y.animateScale?0:L.innerRadius,label:(0,T.valueAtIndexOrDefault)(ie.label,_,w.data.labels[_])}});var ee=c._model;this.removeHoverStyle(c),(!h||!y.animateRotate)&&(ee.startAngle=0===_?D.rotation:L.getMeta().data[_-1]._model.endAngle,ee.endAngle=ee.startAngle+ee.circumference),c.pivot()},removeHoverStyle:function(c){v.DatasetController.prototype.removeHoverStyle.call(this,c,this.chart.options.elements.arc)},calculateTotal:function(){var L,c=this.getDataset(),_=this.getMeta(),h=0;return T.each(_.data,function(w,x){L=c.data[x],!isNaN(L)&&!w.hidden&&(h+=Math.abs(L))}),h},calculateCircumference:function(c){var _=this.getMeta().total;return _>0&&!isNaN(c)?2*Math.PI*(Math.abs(c)/_):0},getMaxBorderWidth:function(c){for(var w,x,_=0,h=this.index,L=c.length,D=0;D(_=(w=c[D]._model?c[D]._model.borderWidth:0)>_?w:_)?x:_;return _}})}},6769:function(ve,be,H){"use strict";var O=H(9800),M=H(9931),T=H(3305);O._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}}),ve.exports=function(v){function d(c,_){return T.valueOrDefault(c.showLine,_.showLines)}v.controllers.line=v.DatasetController.extend({datasetElementType:M.Line,dataElementType:M.Point,update:function(_){var N,W,G,h=this,L=h.getMeta(),w=L.dataset,x=L.data||[],D=h.chart.options,y=D.elements.line,F=h.getScaleForId(L.yAxisID),ie=h.getDataset(),ce=d(ie,D);for(ce&&(G=w.custom||{},void 0!==ie.tension&&void 0===ie.lineTension&&(ie.lineTension=ie.tension),w._scale=F,w._datasetIndex=h.index,w._children=x,w._model={spanGaps:ie.spanGaps?ie.spanGaps:D.spanGaps,tension:G.tension?G.tension:T.valueOrDefault(ie.lineTension,y.tension),backgroundColor:G.backgroundColor?G.backgroundColor:ie.backgroundColor||y.backgroundColor,borderWidth:G.borderWidth?G.borderWidth:ie.borderWidth||y.borderWidth,borderColor:G.borderColor?G.borderColor:ie.borderColor||y.borderColor,borderCapStyle:G.borderCapStyle?G.borderCapStyle:ie.borderCapStyle||y.borderCapStyle,borderDash:G.borderDash?G.borderDash:ie.borderDash||y.borderDash,borderDashOffset:G.borderDashOffset?G.borderDashOffset:ie.borderDashOffset||y.borderDashOffset,borderJoinStyle:G.borderJoinStyle?G.borderJoinStyle:ie.borderJoinStyle||y.borderJoinStyle,fill:G.fill?G.fill:void 0!==ie.fill?ie.fill:y.fill,steppedLine:G.steppedLine?G.steppedLine:T.valueOrDefault(ie.steppedLine,y.stepped),cubicInterpolationMode:G.cubicInterpolationMode?G.cubicInterpolationMode:T.valueOrDefault(ie.cubicInterpolationMode,y.cubicInterpolationMode)},w.pivot()),N=0,W=x.length;N');var _=d.data,h=_.datasets,L=_.labels;if(h.length)for(var w=0;w'),L[w]&&c.push(L[w]),c.push("");return c.push(""),c.join("")},legend:{labels:{generateLabels:function(d){var c=d.data;return c.labels.length&&c.datasets.length?c.labels.map(function(_,h){var L=d.getDatasetMeta(0),w=c.datasets[0],D=L.data[h].custom||{},y=T.valueAtIndexOrDefault,F=d.options.elements.arc;return{text:_,fillStyle:D.backgroundColor?D.backgroundColor:y(w.backgroundColor,h,F.backgroundColor),strokeStyle:D.borderColor?D.borderColor:y(w.borderColor,h,F.borderColor),lineWidth:D.borderWidth?D.borderWidth:y(w.borderWidth,h,F.borderWidth),hidden:isNaN(w.data[h])||L.data[h].hidden,index:h}}):[]}},onClick:function(d,c){var L,w,x,_=c.index,h=this.chart;for(L=0,w=(h.data.datasets||[]).length;L0&&!isNaN(c)?2*Math.PI/_:0}})}},4657:function(ve,be,H){"use strict";var O=H(9800),M=H(9931),T=H(3305);O._set("radar",{scale:{type:"radialLinear"},elements:{line:{tension:0}}}),ve.exports=function(v){v.controllers.radar=v.DatasetController.extend({datasetElementType:M.Line,dataElementType:M.Point,linkScales:T.noop,update:function(c){var _=this,h=_.getMeta(),w=h.data,x=h.dataset.custom||{},D=_.getDataset(),y=_.chart.options.elements.line,F=_.chart.scale;void 0!==D.tension&&void 0===D.lineTension&&(D.lineTension=D.tension),T.extend(h.dataset,{_datasetIndex:_.index,_scale:F,_children:w,_loop:!0,_model:{tension:x.tension?x.tension:T.valueOrDefault(D.lineTension,y.tension),backgroundColor:x.backgroundColor?x.backgroundColor:D.backgroundColor||y.backgroundColor,borderWidth:x.borderWidth?x.borderWidth:D.borderWidth||y.borderWidth,borderColor:x.borderColor?x.borderColor:D.borderColor||y.borderColor,fill:x.fill?x.fill:void 0!==D.fill?D.fill:y.fill,borderCapStyle:x.borderCapStyle?x.borderCapStyle:D.borderCapStyle||y.borderCapStyle,borderDash:x.borderDash?x.borderDash:D.borderDash||y.borderDash,borderDashOffset:x.borderDashOffset?x.borderDashOffset:D.borderDashOffset||y.borderDashOffset,borderJoinStyle:x.borderJoinStyle?x.borderJoinStyle:D.borderJoinStyle||y.borderJoinStyle}}),h.dataset.pivot(),T.each(w,function(N,W){_.updateElement(N,W,c)},_),_.updateBezierControlPoints()},updateElement:function(c,_,h){var L=this,w=c.custom||{},x=L.getDataset(),D=L.chart.scale,y=L.chart.options.elements.point,F=D.getPointPositionForValue(_,x.data[_]);void 0!==x.radius&&void 0===x.pointRadius&&(x.pointRadius=x.radius),void 0!==x.hitRadius&&void 0===x.pointHitRadius&&(x.pointHitRadius=x.hitRadius),T.extend(c,{_datasetIndex:L.index,_index:_,_scale:D,_model:{x:h?D.xCenter:F.x,y:h?D.yCenter:F.y,tension:w.tension?w.tension:T.valueOrDefault(x.lineTension,L.chart.options.elements.line.tension),radius:w.radius?w.radius:T.valueAtIndexOrDefault(x.pointRadius,_,y.radius),backgroundColor:w.backgroundColor?w.backgroundColor:T.valueAtIndexOrDefault(x.pointBackgroundColor,_,y.backgroundColor),borderColor:w.borderColor?w.borderColor:T.valueAtIndexOrDefault(x.pointBorderColor,_,y.borderColor),borderWidth:w.borderWidth?w.borderWidth:T.valueAtIndexOrDefault(x.pointBorderWidth,_,y.borderWidth),pointStyle:w.pointStyle?w.pointStyle:T.valueAtIndexOrDefault(x.pointStyle,_,y.pointStyle),hitRadius:w.hitRadius?w.hitRadius:T.valueAtIndexOrDefault(x.pointHitRadius,_,y.hitRadius)}}),c._model.skip=w.skip?w.skip:isNaN(c._model.x)||isNaN(c._model.y)},updateBezierControlPoints:function(){var c=this.chart.chartArea,_=this.getMeta();T.each(_.data,function(h,L){var w=h._model,x=T.splineCurve(T.previousItem(_.data,L,!0)._model,w,T.nextItem(_.data,L,!0)._model,w.tension);w.controlPointPreviousX=Math.max(Math.min(x.previous.x,c.right),c.left),w.controlPointPreviousY=Math.max(Math.min(x.previous.y,c.bottom),c.top),w.controlPointNextX=Math.max(Math.min(x.next.x,c.right),c.left),w.controlPointNextY=Math.max(Math.min(x.next.y,c.bottom),c.top),h.pivot()})},setHoverStyle:function(c){var _=this.chart.data.datasets[c._datasetIndex],h=c.custom||{},L=c._index,w=c._model;w.radius=h.hoverRadius?h.hoverRadius:T.valueAtIndexOrDefault(_.pointHoverRadius,L,this.chart.options.elements.point.hoverRadius),w.backgroundColor=h.hoverBackgroundColor?h.hoverBackgroundColor:T.valueAtIndexOrDefault(_.pointHoverBackgroundColor,L,T.getHoverColor(w.backgroundColor)),w.borderColor=h.hoverBorderColor?h.hoverBorderColor:T.valueAtIndexOrDefault(_.pointHoverBorderColor,L,T.getHoverColor(w.borderColor)),w.borderWidth=h.hoverBorderWidth?h.hoverBorderWidth:T.valueAtIndexOrDefault(_.pointHoverBorderWidth,L,w.borderWidth)},removeHoverStyle:function(c){var _=this.chart.data.datasets[c._datasetIndex],h=c.custom||{},L=c._index,w=c._model,x=this.chart.options.elements.point;w.radius=h.radius?h.radius:T.valueAtIndexOrDefault(_.pointRadius,L,x.radius),w.backgroundColor=h.backgroundColor?h.backgroundColor:T.valueAtIndexOrDefault(_.pointBackgroundColor,L,x.backgroundColor),w.borderColor=h.borderColor?h.borderColor:T.valueAtIndexOrDefault(_.pointBorderColor,L,x.borderColor),w.borderWidth=h.borderWidth?h.borderWidth:T.valueAtIndexOrDefault(_.pointBorderWidth,L,x.borderWidth)}})}},1895:function(ve,be,H){"use strict";H(9800)._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},showLines:!1,tooltips:{callbacks:{title:function(){return""},label:function(T){return"("+T.xLabel+", "+T.yLabel+")"}}}}),ve.exports=function(M){M.controllers.scatter=M.controllers.line}},8103:function(ve,be,H){"use strict";var O=H(9800),M=H(8839),T=H(3305);O._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:T.noop,onComplete:T.noop}}),ve.exports=function(v){v.Animation=M.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),v.animationService={frameDuration:17,animations:[],dropFrames:0,request:null,addAnimation:function(c,_,h,L){var x,D,w=this.animations;for(_.chart=c,L||(c.animating=!0),x=0,D=w.length;x1&&(h=Math.floor(c.dropFrames),c.dropFrames=c.dropFrames%1),c.advance(1+h);var L=Date.now();c.dropFrames+=(L-_)/c.frameDuration,c.animations.length>0&&c.requestAnimationFrame()},advance:function(c){for(var h,L,_=this.animations,w=0;w<_.length;)L=(h=_[w]).chart,h.currentStep=(h.currentStep||0)+c,h.currentStep=Math.min(h.currentStep,h.numSteps),T.callback(h.render,[L,h],L),T.callback(h.onAnimationProgress,[h],L),h.currentStep>=h.numSteps?(T.callback(h.onAnimationComplete,[h],L),L.animating=!1,_.splice(w,1)):++w}},Object.defineProperty(v.Animation.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(v.Animation.prototype,"chartInstance",{get:function(){return this.chart},set:function(c){this.chart=c}})}},1047:function(ve,be,H){"use strict";var O=H(9800),M=H(3305),T=H(2814),v=H(2294),d=H(8244),c=H(2445);ve.exports=function(_){function L(x){var D=x.options;M.each(x.scales,function(y){v.removeBox(x,y)}),D=M.configMerge(_.defaults.global,_.defaults[x.config.type],D),x.options=x.config.options=D,x.ensureScalesHaveIDs(),x.buildOrUpdateScales(),x.tooltip._options=D.tooltips,x.tooltip.initialize()}function w(x){return"top"===x||"bottom"===x}_.types={},_.instances={},_.controllers={},M.extend(_.prototype,{construct:function(D,y){var F=this;y=function h(x){var D=(x=x||{}).data=x.data||{};return D.datasets=D.datasets||[],D.labels=D.labels||[],x.options=M.configMerge(O.global,O[x.type],x.options||{}),x}(y);var N=d.acquireContext(D,y),W=N&&N.canvas,G=W&&W.height,ie=W&&W.width;F.id=M.uid(),F.ctx=N,F.canvas=W,F.config=y,F.width=ie,F.height=G,F.aspectRatio=G?ie/G:null,F.options=y.options,F._bufferedRender=!1,F.chart=F,F.controller=F,_.instances[F.id]=F,Object.defineProperty(F,"data",{get:function(){return F.config.data},set:function(ne){F.config.data=ne}}),N&&W?(F.initialize(),F.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var D=this;return c.notify(D,"beforeInit"),M.retinaScale(D,D.options.devicePixelRatio),D.bindEvents(),D.options.responsive&&D.resize(!0),D.ensureScalesHaveIDs(),D.buildOrUpdateScales(),D.initToolTip(),c.notify(D,"afterInit"),D},clear:function(){return M.canvas.clear(this),this},stop:function(){return _.animationService.cancelAnimation(this),this},resize:function(D){var y=this,F=y.options,N=y.canvas,W=F.maintainAspectRatio&&y.aspectRatio||null,G=Math.max(0,Math.floor(M.getMaximumWidth(N))),ie=Math.max(0,Math.floor(W?G/W:M.getMaximumHeight(N)));if((y.width!==G||y.height!==ie)&&(N.width=y.width=G,N.height=y.height=ie,N.style.width=G+"px",N.style.height=ie+"px",M.retinaScale(y,F.devicePixelRatio),!D)){var ce={width:G,height:ie};c.notify(y,"resize",[ce]),y.options.onResize&&y.options.onResize(y,ce),y.stop(),y.update(y.options.responsiveAnimationDuration)}},ensureScalesHaveIDs:function(){var D=this.options,y=D.scales||{},F=D.scale;M.each(y.xAxes,function(N,W){N.id=N.id||"x-axis-"+W}),M.each(y.yAxes,function(N,W){N.id=N.id||"y-axis-"+W}),F&&(F.id=F.id||"scale")},buildOrUpdateScales:function(){var D=this,y=D.options,F=D.scales||{},N=[],W=Object.keys(F).reduce(function(G,ie){return G[ie]=!1,G},{});y.scales&&(N=N.concat((y.scales.xAxes||[]).map(function(G){return{options:G,dtype:"category",dposition:"bottom"}}),(y.scales.yAxes||[]).map(function(G){return{options:G,dtype:"linear",dposition:"left"}}))),y.scale&&N.push({options:y.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),M.each(N,function(G){var ie=G.options,ce=ie.id,ne=M.valueOrDefault(ie.type,G.dtype);w(ie.position)!==w(G.dposition)&&(ie.position=G.dposition),W[ce]=!0;var Z=null;if(ce in F&&F[ce].type===ne)(Z=F[ce]).options=ie,Z.ctx=D.ctx,Z.chart=D;else{var ue=_.scaleService.getScaleConstructor(ne);if(!ue)return;Z=new ue({id:ce,type:ne,options:ie,ctx:D.ctx,chart:D}),F[Z.id]=Z}Z.mergeTicksOptions(),G.isDefault&&(D.scale=Z)}),M.each(W,function(G,ie){G||delete F[ie]}),D.scales=F,_.scaleService.addScalesToLayout(this)},buildOrUpdateControllers:function(){var D=this,y=[],F=[];return M.each(D.data.datasets,function(N,W){var G=D.getDatasetMeta(W),ie=N.type||D.config.type;if(G.type&&G.type!==ie&&(D.destroyDatasetMeta(W),G=D.getDatasetMeta(W)),G.type=ie,y.push(G.type),G.controller)G.controller.updateIndex(W),G.controller.linkScales();else{var ce=_.controllers[G.type];if(void 0===ce)throw new Error('"'+G.type+'" is not a chart type.');G.controller=new ce(D,W),F.push(G.controller)}},D),F},resetElements:function(){var D=this;M.each(D.data.datasets,function(y,F){D.getDatasetMeta(F).controller.reset()},D)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(D){var y=this;if((!D||"object"!=typeof D)&&(D={duration:D,lazy:arguments[1]}),L(y),c._invalidate(y),!1!==c.notify(y,"beforeUpdate")){y.tooltip._data=y.data;var F=y.buildOrUpdateControllers();M.each(y.data.datasets,function(N,W){y.getDatasetMeta(W).controller.buildOrUpdateElements()},y),y.updateLayout(),y.options.animation&&y.options.animation.duration&&M.each(F,function(N){N.reset()}),y.updateDatasets(),y.tooltip.initialize(),y.lastActive=[],c.notify(y,"afterUpdate"),y._bufferedRender?y._bufferedRequest={duration:D.duration,easing:D.easing,lazy:D.lazy}:y.render(D)}},updateLayout:function(){var D=this;!1!==c.notify(D,"beforeLayout")&&(v.update(this,this.width,this.height),c.notify(D,"afterScaleUpdate"),c.notify(D,"afterLayout"))},updateDatasets:function(){var D=this;if(!1!==c.notify(D,"beforeDatasetsUpdate")){for(var y=0,F=D.data.datasets.length;y=0;--F)y.isDatasetVisible(F)&&y.drawDataset(F,D);c.notify(y,"afterDatasetsDraw",[D])}},drawDataset:function(D,y){var F=this,N=F.getDatasetMeta(D),W={meta:N,index:D,easingValue:y};!1!==c.notify(F,"beforeDatasetDraw",[W])&&(N.controller.draw(y),c.notify(F,"afterDatasetDraw",[W]))},_drawTooltip:function(D){var y=this,F=y.tooltip,N={tooltip:F,easingValue:D};!1!==c.notify(y,"beforeTooltipDraw",[N])&&(F.draw(),c.notify(y,"afterTooltipDraw",[N]))},getElementAtEvent:function(D){return T.modes.single(this,D)},getElementsAtEvent:function(D){return T.modes.label(this,D,{intersect:!0})},getElementsAtXAxis:function(D){return T.modes["x-axis"](this,D,{intersect:!0})},getElementsAtEventForMode:function(D,y,F){var N=T.modes[y];return"function"==typeof N?N(this,D,F):[]},getDatasetAtEvent:function(D){return T.modes.dataset(this,D,{intersect:!0})},getDatasetMeta:function(D){var y=this,F=y.data.datasets[D];F._meta||(F._meta={});var N=F._meta[y.id];return N||(N=F._meta[y.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null}),N},getVisibleDatasetCount:function(){for(var D=0,y=0,F=this.data.datasets.length;y0)&&(T.forEach(function(x){delete c[x]}),delete c._chartjs)}}M.DatasetController=function(c,_){this.initialize(c,_)},O.extend(M.DatasetController.prototype,{datasetElementType:null,dataElementType:null,initialize:function(_,h){var L=this;L.chart=_,L.index=h,L.linkScales(),L.addElements()},updateIndex:function(_){this.index=_},linkScales:function(){var _=this,h=_.getMeta(),L=_.getDataset();(null===h.xAxisID||!(h.xAxisID in _.chart.scales))&&(h.xAxisID=L.xAxisID||_.chart.options.scales.xAxes[0].id),(null===h.yAxisID||!(h.yAxisID in _.chart.scales))&&(h.yAxisID=L.yAxisID||_.chart.options.scales.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(_){return this.chart.scales[_]},reset:function(){this.update(!0)},destroy:function(){this._data&&d(this._data,this)},createMetaDataset:function(){var _=this,h=_.datasetElementType;return h&&new h({_chart:_.chart,_datasetIndex:_.index})},createMetaData:function(_){var h=this,L=h.dataElementType;return L&&new L({_chart:h.chart,_datasetIndex:h.index,_index:_})},addElements:function(){var x,D,_=this,h=_.getMeta(),L=_.getDataset().data||[],w=h.data;for(x=0,D=L.length;xw&&_.insertElements(w,x-w)},insertElements:function(_,h){for(var L=0;L=w[L].length&&w[L].push({}),T.merge(w[L][F],!w[L][F].type||W.type&&W.type!==w[L][F].type?[v.scaleService.getScaleDefaults(N),W]:W)}else T._merger(L,w,x,D)}})},T.where=function(h,L){if(T.isArray(h)&&Array.prototype.filter)return h.filter(L);var w=[];return T.each(h,function(x){L(x)&&w.push(x)}),w},T.findIndex=Array.prototype.findIndex?function(h,L,w){return h.findIndex(L,w)}:function(h,L,w){w=void 0===w?h:w;for(var x=0,D=h.length;x=0;x--){var D=h[x];if(L(D))return D}},T.isNumber=function(h){return!isNaN(parseFloat(h))&&isFinite(h)},T.almostEquals=function(h,L,w){return Math.abs(h-L)h},T.max=function(h){return h.reduce(function(L,w){return isNaN(w)?L:Math.max(L,w)},Number.NEGATIVE_INFINITY)},T.min=function(h){return h.reduce(function(L,w){return isNaN(w)?L:Math.min(L,w)},Number.POSITIVE_INFINITY)},T.sign=Math.sign?function(h){return Math.sign(h)}:function(h){return 0==(h=+h)||isNaN(h)?h:h>0?1:-1},T.log10=Math.log10?function(h){return Math.log10(h)}:function(h){var L=Math.log(h)*Math.LOG10E,w=Math.round(L);return h===Math.pow(10,w)?w:L},T.toRadians=function(h){return h*(Math.PI/180)},T.toDegrees=function(h){return h*(180/Math.PI)},T.getAngleFromPoint=function(h,L){var w=L.x-h.x,x=L.y-h.y,D=Math.sqrt(w*w+x*x),y=Math.atan2(x,w);return y<-.5*Math.PI&&(y+=2*Math.PI),{angle:y,distance:D}},T.distanceBetweenPoints=function(h,L){return Math.sqrt(Math.pow(L.x-h.x,2)+Math.pow(L.y-h.y,2))},T.aliasPixel=function(h){return h%2==0?0:.5},T.splineCurve=function(h,L,w,x){var D=h.skip?L:h,y=L,F=w.skip?L:w,N=Math.sqrt(Math.pow(y.x-D.x,2)+Math.pow(y.y-D.y,2)),W=Math.sqrt(Math.pow(F.x-y.x,2)+Math.pow(F.y-y.y,2)),G=N/(N+W),ie=W/(N+W),ce=x*(G=isNaN(G)?0:G),ne=x*(ie=isNaN(ie)?0:ie);return{previous:{x:y.x-ce*(F.x-D.x),y:y.y-ce*(F.y-D.y)},next:{x:y.x+ne*(F.x-D.x),y:y.y+ne*(F.y-D.y)}}},T.EPSILON=Number.EPSILON||1e-14,T.splineCurveMonotone=function(h){var x,D,y,F,W,G,ie,ce,ne,L=(h||[]).map(function(Z){return{model:Z._model,deltaK:0,mK:0}}),w=L.length;for(x=0;x0?L[x-1]:null,(F=x0?L[x-1]:null)&&!D.model.skip&&(y.model.controlPointPreviousX=y.model.x-(ne=(y.model.x-D.model.x)/3),y.model.controlPointPreviousY=y.model.y-ne*y.mK),F&&!F.model.skip&&(y.model.controlPointNextX=y.model.x+(ne=(F.model.x-y.model.x)/3),y.model.controlPointNextY=y.model.y+ne*y.mK))},T.nextItem=function(h,L,w){return w?L>=h.length-1?h[0]:h[L+1]:L>=h.length-1?h[h.length-1]:h[L+1]},T.previousItem=function(h,L,w){return w?L<=0?h[h.length-1]:h[L-1]:L<=0?h[0]:h[L-1]},T.niceNum=function(h,L){var w=Math.floor(T.log10(h)),x=h/Math.pow(10,w);return(L?x<1.5?1:x<3?2:x<7?5:10:x<=1?1:x<=2?2:x<=5?5:10)*Math.pow(10,w)},T.requestAnimFrame="undefined"==typeof window?function(h){h()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(h){return window.setTimeout(h,1e3/60)},T.getRelativePosition=function(h,L){var w,x,D=h.originalEvent||h,y=h.currentTarget||h.srcElement,F=y.getBoundingClientRect(),N=D.touches;N&&N.length>0?(w=N[0].clientX,x=N[0].clientY):(w=D.clientX,x=D.clientY);var W=parseFloat(T.getStyle(y,"padding-left")),G=parseFloat(T.getStyle(y,"padding-top")),ie=parseFloat(T.getStyle(y,"padding-right")),ce=parseFloat(T.getStyle(y,"padding-bottom")),Z=F.bottom-F.top-G-ce;return{x:w=Math.round((w-F.left-W)/(F.right-F.left-W-ie)*y.width/L.currentDevicePixelRatio),y:x=Math.round((x-F.top-G)/Z*y.height/L.currentDevicePixelRatio)}},T.getConstraintWidth=function(h){return _(h,"max-width","clientWidth")},T.getConstraintHeight=function(h){return _(h,"max-height","clientHeight")},T.getMaximumWidth=function(h){var L=h.parentNode;if(!L)return h.clientWidth;var w=parseInt(T.getStyle(L,"padding-left"),10),x=parseInt(T.getStyle(L,"padding-right"),10),D=L.clientWidth-w-x,y=T.getConstraintWidth(h);return isNaN(y)?D:Math.min(D,y)},T.getMaximumHeight=function(h){var L=h.parentNode;if(!L)return h.clientHeight;var w=parseInt(T.getStyle(L,"padding-top"),10),x=parseInt(T.getStyle(L,"padding-bottom"),10),D=L.clientHeight-w-x,y=T.getConstraintHeight(h);return isNaN(y)?D:Math.min(D,y)},T.getStyle=function(h,L){return h.currentStyle?h.currentStyle[L]:document.defaultView.getComputedStyle(h,null).getPropertyValue(L)},T.retinaScale=function(h,L){var w=h.currentDevicePixelRatio=L||window.devicePixelRatio||1;if(1!==w){var x=h.canvas,D=h.height,y=h.width;x.height=D*w,x.width=y*w,h.ctx.scale(w,w),!x.style.height&&!x.style.width&&(x.style.height=D+"px",x.style.width=y+"px")}},T.fontString=function(h,L,w){return L+" "+h+"px "+w},T.longestText=function(h,L,w,x){var D=(x=x||{}).data=x.data||{},y=x.garbageCollect=x.garbageCollect||[];x.font!==L&&(D=x.data={},y=x.garbageCollect=[],x.font=L),h.font=L;var F=0;T.each(w,function(G){null!=G&&!0!==T.isArray(G)?F=T.measureText(h,D,y,F,G):T.isArray(G)&&T.each(G,function(ie){null!=ie&&!T.isArray(ie)&&(F=T.measureText(h,D,y,F,ie))})});var N=y.length/2;if(N>w.length){for(var W=0;Wx&&(x=y),x},T.numberOfLabelLines=function(h){var L=1;return T.each(h,function(w){T.isArray(w)&&w.length>L&&(L=w.length)}),L},T.color=O?function(h){return h instanceof CanvasGradient&&(h=M.global.defaultColor),O(h)}:function(h){return console.error("Color.js not found!"),h},T.getHoverColor=function(h){return h instanceof CanvasPattern?h:T.color(h).saturate(.5).darken(.1).rgbString()}}},2814:function(ve,be,H){"use strict";var O=H(3305);function M(h,L){return h.native?{x:h.x,y:h.y}:O.getRelativePosition(h,L)}function T(h,L){var x,D,y,F,N;for(D=0,F=h.data.datasets.length;D0&&(F=L.getDatasetMeta(F[0]._datasetIndex).data),F},"x-axis":function(L,w){return _(L,w,{intersect:!1})},point:function(L,w){return v(L,M(w,L))},nearest:function(L,w,x){var D=M(w,L);x.axis=x.axis||"xy";var y=c(x.axis),F=d(L,D,x.intersect,y);return F.length>1&&F.sort(function(N,W){var ce=N.getArea()-W.getArea();return 0===ce&&(ce=N._datasetIndex-W._datasetIndex),ce}),F.slice(0,1)},x:function(L,w,x){var D=M(w,L),y=[],F=!1;return T(L,function(N){N.inXRange(D.x)&&y.push(N),N.inRange(D.x,D.y)&&(F=!0)}),x.intersect&&!F&&(y=[]),y},y:function(L,w,x){var D=M(w,L),y=[],F=!1;return T(L,function(N){N.inYRange(D.y)&&y.push(N),N.inRange(D.x,D.y)&&(F=!0)}),x.intersect&&!F&&(y=[]),y}}}},5979:function(ve,be,H){"use strict";H(9800)._set("global",{responsive:!0,responsiveAnimationDuration:0,maintainAspectRatio:!0,events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",showLines:!0,elements:{},layout:{padding:{top:0,right:0,bottom:0,left:0}}}),ve.exports=function(){var M=function(v,d){return this.construct(v,d),this};return M.Chart=M,M}},2294:function(ve,be,H){"use strict";var O=H(3305);function M(v,d){return O.where(v,function(c){return c.position===d})}function T(v,d){v.forEach(function(c,_){return c._tmpIndex_=_,c}),v.sort(function(c,_){var h=d?_:c,L=d?c:_;return h.weight===L.weight?h._tmpIndex_-L._tmpIndex_:h.weight-L.weight}),v.forEach(function(c){delete c._tmpIndex_})}ve.exports={defaults:{},addBox:function(d,c){d.boxes||(d.boxes=[]),c.fullWidth=c.fullWidth||!1,c.position=c.position||"top",c.weight=c.weight||0,d.boxes.push(c)},removeBox:function(d,c){var _=d.boxes?d.boxes.indexOf(c):-1;-1!==_&&d.boxes.splice(_,1)},configure:function(d,c,_){for(var x,h=["fullWidth","position","weight"],L=h.length,w=0;wue&&GD.maxHeight){G--;break}G++,ce=ne*ie}D.labelRotation=G},afterCalculateTickRotation:function(){T.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){T.callback(this.options.beforeFit,[this])},fit:function(){var D=this,y=D.minSize={width:0,height:0},F=d(D._ticks),N=D.options,W=N.ticks,G=N.scaleLabel,ie=N.gridLines,ce=N.display,ne=D.isHorizontal(),Z=L(W),ue=N.gridLines.tickMarkLength;if(y.width=ne?D.isFullWidth()?D.maxWidth-D.margins.left-D.margins.right:D.maxWidth:ce&&ie.drawTicks?ue:0,y.height=ne?ce&&ie.drawTicks?ue:0:D.maxHeight,G.display&&ce){var te=w(G)+T.options.toPadding(G.padding).height;ne?y.height+=te:y.width+=te}if(W.display&&ce){var ae=T.longestText(D.ctx,Z.font,F,D.longestTextCache),le=T.numberOfLabelLines(F),X=.5*Z.size,De=D.options.ticks.padding;if(ne){D.longestLabelWidth=ae;var xe=T.toRadians(D.labelRotation),Fe=Math.cos(xe),He=Math.sin(xe);y.height=Math.min(D.maxHeight,y.height+(He*ae+Z.size*le+X*(le-1)+X)+De),D.ctx.font=Z.font;var Xe=h(D.ctx,F[0],Z.font),Ne=h(D.ctx,F[F.length-1],Z.font);0!==D.labelRotation?(D.paddingLeft="bottom"===N.position?Fe*Xe+3:Fe*X+3,D.paddingRight="bottom"===N.position?Fe*X+3:Fe*Ne+3):(D.paddingLeft=Xe/2+3,D.paddingRight=Ne/2+3)}else W.mirror?ae=0:ae+=De+X,y.width=Math.min(D.maxWidth,y.width+ae),D.paddingTop=Z.size/2,D.paddingBottom=Z.size/2}D.handleMargins(),D.width=y.width,D.height=y.height},handleMargins:function(){var D=this;D.margins&&(D.paddingLeft=Math.max(D.paddingLeft-D.margins.left,0),D.paddingTop=Math.max(D.paddingTop-D.margins.top,0),D.paddingRight=Math.max(D.paddingRight-D.margins.right,0),D.paddingBottom=Math.max(D.paddingBottom-D.margins.bottom,0))},afterFit:function(){T.callback(this.options.afterFit,[this])},isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(D){if(T.isNullOrUndef(D))return NaN;if("number"==typeof D&&!isFinite(D))return NaN;if(D)if(this.isHorizontal()){if(void 0!==D.x)return this.getRightValue(D.x)}else if(void 0!==D.y)return this.getRightValue(D.y);return D},getLabelForIndex:T.noop,getPixelForValue:T.noop,getValueForPixel:T.noop,getPixelForTick:function(D){var y=this,F=y.options.offset;if(y.isHorizontal()){var W=(y.width-(y.paddingLeft+y.paddingRight))/Math.max(y._ticks.length-(F?0:1),1),G=W*D+y.paddingLeft;return F&&(G+=W/2),y.left+Math.round(G)+(y.isFullWidth()?y.margins.left:0)}return y.top+D*((y.height-(y.paddingTop+y.paddingBottom))/(y._ticks.length-1))},getPixelForDecimal:function(D){var y=this;return y.isHorizontal()?y.left+Math.round((y.width-(y.paddingLeft+y.paddingRight))*D+y.paddingLeft)+(y.isFullWidth()?y.margins.left:0):y.top+D*y.height},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var D=this,y=D.min,F=D.max;return D.beginAtZero?0:y<0&&F<0?F:y>0&&F>0?y:0},_autoSkip:function(D){var y,ue,ee,te,F=this,N=F.isHorizontal(),W=F.options.ticks.minor,G=D.length,ie=T.toRadians(F.labelRotation),ce=Math.cos(ie),ne=F.longestLabelWidth*ce,Z=[];for(W.maxTicksLimit&&(te=W.maxTicksLimit),N&&(y=!1,(ne+W.autoSkipPadding)*G>F.width-(F.paddingLeft+F.paddingRight)&&(y=1+Math.floor((ne+W.autoSkipPadding)*G/(F.width-(F.paddingLeft+F.paddingRight)))),te&&G>te&&(y=Math.max(y,Math.floor(G/te)))),ue=0;ue1&&ue%y>0||ue%y==0&&ue+y>=G)&&ue!==G-1&&delete ee.label,Z.push(ee);return Z},draw:function(D){var y=this,F=y.options;if(F.display){var N=y.ctx,W=O.global,G=F.ticks.minor,ie=F.ticks.major||G,ce=F.gridLines,ne=F.scaleLabel,Z=0!==y.labelRotation,ue=y.isHorizontal(),ee=G.autoSkip?y._autoSkip(y.getTicks()):y.getTicks(),Q=T.valueOrDefault(G.fontColor,W.defaultFontColor),te=L(G),ae=T.valueOrDefault(ie.fontColor,W.defaultFontColor),le=L(ie),X=ce.drawTicks?ce.tickMarkLength:0,De=T.valueOrDefault(ne.fontColor,W.defaultFontColor),xe=L(ne),Fe=T.options.toPadding(ne.padding),He=T.toRadians(y.labelRotation),Ke=[],Xe=y.options.gridLines.lineWidth,Ne="right"===F.position?y.right:y.right-Xe-X,at="right"===F.position?y.right+X:y.right,Nt="bottom"===F.position?y.top+Xe:y.bottom-X-Xe,jt="bottom"===F.position?y.top+Xe+X:y.bottom+Xe;if(T.each(ee,function(de,he){if(!T.isNullOrUndef(de.label)){var Me,_e,we,Pe,fe=de.label;he===y.zeroLineIndex&&F.offset===ce.offsetGridLines?(Me=ce.zeroLineWidth,_e=ce.zeroLineColor,we=ce.zeroLineBorderDash,Pe=ce.zeroLineBorderDashOffset):(Me=T.valueAtIndexOrDefault(ce.lineWidth,he),_e=T.valueAtIndexOrDefault(ce.color,he),we=T.valueOrDefault(ce.borderDash,W.borderDash),Pe=T.valueOrDefault(ce.borderDashOffset,W.borderDashOffset));var Ae,Ie,ct,ht,nt,mn,In,Ft,zt,Kn,Vn="middle",ga="middle",Vi=G.padding;if(ue){var kr=X+Vi;"bottom"===F.position?(ga=Z?"middle":"top",Vn=Z?"right":"center",Kn=y.top+kr):(ga=Z?"middle":"bottom",Vn=Z?"left":"center",Kn=y.bottom-kr);var Gt=c(y,he,ce.offsetGridLines&&ee.length>1);Gt1);$e3?d[2]-d[1]:d[1]-d[0];Math.abs(c)>1&&T!==Math.floor(T)&&(c=T-Math.floor(T));var _=O.log10(Math.abs(c)),h="";if(0!==T){var L=-1*Math.floor(_);L=Math.max(Math.min(L,20),0),h=T.toFixed(L)}else h="0";return h},logarithmic:function(T,v,d){var c=T/Math.pow(10,Math.floor(O.log10(T)));return 0===T?"0":1===c||2===c||5===c||0===v||v===d.length-1?T.toExponential():""}}}},480:function(ve,be,H){"use strict";var O=H(9800),M=H(8839),T=H(3305);O._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:T.noop,title:function(d,c){var _="",h=c.labels,L=h?h.length:0;if(d.length>0){var w=d[0];w.xLabel?_=w.xLabel:L>0&&w.indexN.height-y.height&&(ie="bottom");var ce,ne,Z,ue,ee,Q=(W.left+W.right)/2,te=(W.top+W.bottom)/2;"center"===ie?(ce=function(X){return X<=Q},ne=function(X){return X>Q}):(ce=function(X){return X<=y.width/2},ne=function(X){return X>=N.width-y.width/2}),Z=function(X){return X+y.width+F.caretSize+F.caretPadding>N.width},ue=function(X){return X-y.width-F.caretSize-F.caretPadding<0},ee=function(X){return X<=te?"top":"bottom"},ce(F.x)?(G="left",Z(F.x)&&(G="center",ie=ee(F.y))):ne(F.x)&&(G="right",ue(F.x)&&(G="center",ie=ee(F.y)));var ae=D._options;return{xAlign:ae.xAlign?ae.xAlign:G,yAlign:ae.yAlign?ae.yAlign:ie}}(this,ue),Z=function x(D,y,F,N){var W=D.x,G=D.y,ce=D.caretPadding,Z=F.xAlign,ue=F.yAlign,ee=D.caretSize+ce,Q=D.cornerRadius+ce;return"right"===Z?W-=y.width:"center"===Z&&((W-=y.width/2)+y.width>N.width&&(W=N.width-y.width),W<0&&(W=0)),"top"===ue?G+=ee:G-="bottom"===ue?y.height+ee:y.height/2,"center"===ue?"left"===Z?W+=ee:"right"===Z&&(W-=ee):"left"===Z?W-=Q:"right"===Z&&(W+=Q),{x:W,y:G}}(G,ue,ne,F._chart)}else G.opacity=0;return G.xAlign=ne.xAlign,G.yAlign=ne.yAlign,G.x=Z.x,G.y=Z.y,G.width=ue.width,G.height=ue.height,G.caretX=ee.x,G.caretY=ee.y,F._model=G,y&&N.custom&&N.custom.call(F,G),F},drawCaret:function(y,F){var N=this._chart.ctx,G=this.getCaretPosition(y,F,this._view);N.lineTo(G.x1,G.y1),N.lineTo(G.x2,G.y2),N.lineTo(G.x3,G.y3)},getCaretPosition:function(y,F,N){var W,G,ie,ce,ne,Z,ue=N.caretSize,ee=N.cornerRadius,Q=N.xAlign,te=N.yAlign,ae=y.x,le=y.y,X=F.width,De=F.height;if("center"===te)ne=le+De/2,"left"===Q?(G=(W=ae)-ue,ie=W,ce=ne+ue,Z=ne-ue):(G=(W=ae+X)+ue,ie=W,ce=ne-ue,Z=ne+ue);else if("left"===Q?(W=(G=ae+ee+ue)-ue,ie=G+ue):"right"===Q?(W=(G=ae+X-ee-ue)-ue,ie=G+ue):(W=(G=N.caretX)-ue,ie=G+ue),"top"===te)ne=(ce=le)-ue,Z=ce;else{ne=(ce=le+De)+ue,Z=ce;var xe=ie;ie=W,W=xe}return{x1:W,x2:G,x3:ie,y1:ce,y2:ne,y3:Z}},drawTitle:function(y,F,N,W){var G=F.title;if(G.length){N.textAlign=F._titleAlign,N.textBaseline="top";var ne,Z,ie=F.titleFontSize,ce=F.titleSpacing;for(N.fillStyle=d(F.titleFontColor,W),N.font=T.fontString(ie,F._titleFontStyle,F._titleFontFamily),ne=0,Z=G.length;ne0&&N.stroke()},draw:function(){var y=this._chart.ctx,F=this._view;if(0!==F.opacity){var N={width:F.width,height:F.height},W={x:F.x,y:F.y},G=Math.abs(F.opacity<.001)?0:F.opacity;this._options.enabled&&(F.title.length||F.beforeBody.length||F.body.length||F.afterBody.length||F.footer.length)&&(this.drawBackground(W,F,y,N,G),W.x+=F.xPadding,W.y+=F.yPadding,this.drawTitle(W,F,y,G),this.drawBody(W,F,y,G),this.drawFooter(W,F,y,G))}},handleEvent:function(y){var W,F=this,N=F._options;return F._lastActive=F._lastActive||[],F._active="mouseout"===y.type?[]:F._chart.getElementsAtEventForMode(y,N.mode,N),(W=!T.arrayEquals(F._active,F._lastActive))&&(F._lastActive=F._active,(N.enabled||N.custom)&&(F._eventPosition={x:y.x,y:y.y},F.update(!0),F.pivot())),W}}),v.Tooltip.positioners={average:function(y){if(!y.length)return!1;var F,N,W=0,G=0,ie=0;for(F=0,N=y.length;FD;)L-=2*Math.PI;for(;L=x&&L<=D&&w>=_.innerRadius&&w<=_.outerRadius}return!1},getCenterPoint:function(){var d=this._view,c=(d.startAngle+d.endAngle)/2,_=(d.innerRadius+d.outerRadius)/2;return{x:d.x+Math.cos(c)*_,y:d.y+Math.sin(c)*_}},getArea:function(){var d=this._view;return Math.PI*((d.endAngle-d.startAngle)/(2*Math.PI))*(Math.pow(d.outerRadius,2)-Math.pow(d.innerRadius,2))},tooltipPosition:function(){var d=this._view,c=d.startAngle+(d.endAngle-d.startAngle)/2,_=(d.outerRadius-d.innerRadius)/2+d.innerRadius;return{x:d.x+Math.cos(c)*_,y:d.y+Math.sin(c)*_}},draw:function(){var d=this._chart.ctx,c=this._view,_=c.startAngle,h=c.endAngle;d.beginPath(),d.arc(c.x,c.y,c.outerRadius,_,h),d.arc(c.x,c.y,c.innerRadius,h,_,!0),d.closePath(),d.strokeStyle=c.borderColor,d.lineWidth=c.borderWidth,d.fillStyle=c.backgroundColor,d.fill(),d.lineJoin="bevel",c.borderWidth&&d.stroke()}})},3819:function(ve,be,H){"use strict";var O=H(9800),M=H(8839),T=H(3305),v=O.global;O._set("global",{elements:{line:{tension:.4,backgroundColor:v.defaultColor,borderWidth:3,borderColor:v.defaultColor,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}}),ve.exports=M.extend({draw:function(){var y,F,N,W,c=this,_=c._view,h=c._chart.ctx,L=_.spanGaps,w=c._children.slice(),x=v.elements.line,D=-1;for(c._loop&&w.length&&w.push(w[0]),h.save(),h.lineCap=_.borderCapStyle||x.borderCapStyle,h.setLineDash&&h.setLineDash(_.borderDash||x.borderDash),h.lineDashOffset=_.borderDashOffset||x.borderDashOffset,h.lineJoin=_.borderJoinStyle||x.borderJoinStyle,h.lineWidth=_.borderWidth||x.borderWidth,h.strokeStyle=_.borderColor||v.defaultColor,h.beginPath(),D=-1,y=0;y(h=_.base)?1:-1,y=1,F=_.borderSkipped||"left"):(h=_.x-_.width/2,L=_.x+_.width/2,D=1,y=(x=_.base)>(w=_.y)?1:-1,F=_.borderSkipped||"bottom"),N){var W=Math.min(Math.abs(h-L),Math.abs(w-x)),G=(N=N>W?W:N)/2,ie=h+("left"!==F?G*D:0),ce=L+("right"!==F?-G*D:0),ne=w+("top"!==F?G*y:0),Z=x+("bottom"!==F?-G*y:0);ie!==ce&&(w=ne,x=Z),ne!==Z&&(h=ie,L=ce)}c.beginPath(),c.fillStyle=_.backgroundColor,c.strokeStyle=_.borderColor,c.lineWidth=N;var ue=[[h,x],[h,w],[L,w],[L,x]],Q=["bottom","left","top","right"].indexOf(F,0);function te(X){return ue[(Q+X)%4]}-1===Q&&(Q=0);var ae=te(0);c.moveTo(ae[0],ae[1]);for(var le=1;le<4;le++)ae=te(le),c.lineTo(ae[0],ae[1]);c.fill(),N&&c.stroke()},height:function(){var c=this._view;return c.base-c.y},inRange:function(c,_){var h=!1;if(this._view){var L=v(this);h=c>=L.left&&c<=L.right&&_>=L.top&&_<=L.bottom}return h},inLabelRange:function(c,_){var h=this;if(!h._view)return!1;var w=v(h);return T(h)?c>=w.left&&c<=w.right:_>=w.top&&_<=w.bottom},inXRange:function(c){var _=v(this);return c>=_.left&&c<=_.right},inYRange:function(c){var _=v(this);return c>=_.top&&c<=_.bottom},getCenterPoint:function(){var _,h,c=this._view;return T(this)?(_=c.x,h=(c.y+c.base)/2):(_=(c.x+c.base)/2,h=c.y),{x:_,y:h}},getArea:function(){var c=this._view;return c.width*Math.abs(c.y-c.base)},tooltipPosition:function(){var c=this._view;return{x:c.x,y:c.y}}})},9931:function(ve,be,H){"use strict";ve.exports={},ve.exports.Arc=H(280),ve.exports.Line=H(3819),ve.exports.Point=H(4674),ve.exports.Rectangle=H(8667)},2397:function(ve,be,H){"use strict";var O=H(4396),M=ve.exports={clear:function(v){v.ctx.clearRect(0,0,v.width,v.height)},roundedRect:function(v,d,c,_,h,L){if(L){var w=Math.min(L,_/2),x=Math.min(L,h/2);v.moveTo(d+w,c),v.lineTo(d+_-w,c),v.quadraticCurveTo(d+_,c,d+_,c+x),v.lineTo(d+_,c+h-x),v.quadraticCurveTo(d+_,c+h,d+_-w,c+h),v.lineTo(d+w,c+h),v.quadraticCurveTo(d,c+h,d,c+h-x),v.lineTo(d,c+x),v.quadraticCurveTo(d,c,d+w,c)}else v.rect(d,c,_,h)},drawPoint:function(v,d,c,_,h){var L,w,x,D,y,F;if(!d||"object"!=typeof d||"[object HTMLImageElement]"!==(L=d.toString())&&"[object HTMLCanvasElement]"!==L){if(!(isNaN(c)||c<=0)){switch(d){default:v.beginPath(),v.arc(_,h,c,0,2*Math.PI),v.closePath(),v.fill();break;case"triangle":v.beginPath(),y=(w=3*c/Math.sqrt(3))*Math.sqrt(3)/2,v.moveTo(_-w/2,h+y/3),v.lineTo(_+w/2,h+y/3),v.lineTo(_,h-2*y/3),v.closePath(),v.fill();break;case"rect":F=1/Math.SQRT2*c,v.beginPath(),v.fillRect(_-F,h-F,2*F,2*F),v.strokeRect(_-F,h-F,2*F,2*F);break;case"rectRounded":var N=c/Math.SQRT2,W=_-N,G=h-N,ie=Math.SQRT2*c;v.beginPath(),this.roundedRect(v,W,G,ie,ie,c/2),v.closePath(),v.fill();break;case"rectRot":F=1/Math.SQRT2*c,v.beginPath(),v.moveTo(_-F,h),v.lineTo(_,h+F),v.lineTo(_+F,h),v.lineTo(_,h-F),v.closePath(),v.fill();break;case"cross":v.beginPath(),v.moveTo(_,h+c),v.lineTo(_,h-c),v.moveTo(_-c,h),v.lineTo(_+c,h),v.closePath();break;case"crossRot":v.beginPath(),x=Math.cos(Math.PI/4)*c,D=Math.sin(Math.PI/4)*c,v.moveTo(_-x,h-D),v.lineTo(_+x,h+D),v.moveTo(_-x,h+D),v.lineTo(_+x,h-D),v.closePath();break;case"star":v.beginPath(),v.moveTo(_,h+c),v.lineTo(_,h-c),v.moveTo(_-c,h),v.lineTo(_+c,h),x=Math.cos(Math.PI/4)*c,D=Math.sin(Math.PI/4)*c,v.moveTo(_-x,h-D),v.lineTo(_+x,h+D),v.moveTo(_-x,h+D),v.lineTo(_+x,h-D),v.closePath();break;case"line":v.beginPath(),v.moveTo(_-c,h),v.lineTo(_+c,h),v.closePath();break;case"dash":v.beginPath(),v.moveTo(_,h),v.lineTo(_+c,h),v.closePath()}v.stroke()}}else v.drawImage(d,_-d.width/2,h-d.height/2,d.width,d.height)},clipArea:function(v,d){v.save(),v.beginPath(),v.rect(d.left,d.top,d.right-d.left,d.bottom-d.top),v.clip()},unclipArea:function(v){v.restore()},lineTo:function(v,d,c,_){if(c.steppedLine)return"after"===c.steppedLine&&!_||"after"!==c.steppedLine&&_?v.lineTo(d.x,c.y):v.lineTo(c.x,d.y),void v.lineTo(c.x,c.y);c.tension?v.bezierCurveTo(_?d.controlPointPreviousX:d.controlPointNextX,_?d.controlPointPreviousY:d.controlPointNextY,_?c.controlPointNextX:c.controlPointPreviousX,_?c.controlPointNextY:c.controlPointPreviousY,c.x,c.y):v.lineTo(c.x,c.y)}};O.clear=M.clear,O.drawRoundedRectangle=function(T){T.beginPath(),M.roundedRect.apply(M,arguments),T.closePath()}},4396:function(ve){"use strict";var H,be={noop:function(){},uid:(H=0,function(){return H++}),isNullOrUndef:function(O){return null==O},isArray:Array.isArray?Array.isArray:function(H){return"[object Array]"===Object.prototype.toString.call(H)},isObject:function(O){return null!==O&&"[object Object]"===Object.prototype.toString.call(O)},valueOrDefault:function(O,M){return void 0===O?M:O},valueAtIndexOrDefault:function(O,M,T){return be.valueOrDefault(be.isArray(O)?O[M]:O,T)},callback:function(O,M,T){if(O&&"function"==typeof O.call)return O.apply(T,M)},each:function(O,M,T,v){var d,c,_;if(be.isArray(O))if(c=O.length,v)for(d=c-1;d>=0;d--)M.call(T,O[d],d);else for(d=0;d=1?v:-(Math.sqrt(1-v*v)-1)},easeOutCirc:function(v){return Math.sqrt(1-(v-=1)*v)},easeInOutCirc:function(v){return(v/=.5)<1?-.5*(Math.sqrt(1-v*v)-1):.5*(Math.sqrt(1-(v-=2)*v)+1)},easeInElastic:function(v){var d=1.70158,c=0,_=1;return 0===v?0:1===v?1:(c||(c=.3),_<1?(_=1,d=c/4):d=c/(2*Math.PI)*Math.asin(1/_),-_*Math.pow(2,10*(v-=1))*Math.sin((v-d)*(2*Math.PI)/c))},easeOutElastic:function(v){var d=1.70158,c=0,_=1;return 0===v?0:1===v?1:(c||(c=.3),_<1?(_=1,d=c/4):d=c/(2*Math.PI)*Math.asin(1/_),_*Math.pow(2,-10*v)*Math.sin((v-d)*(2*Math.PI)/c)+1)},easeInOutElastic:function(v){var d=1.70158,c=0,_=1;return 0===v?0:2==(v/=.5)?1:(c||(c=.45),_<1?(_=1,d=c/4):d=c/(2*Math.PI)*Math.asin(1/_),v<1?_*Math.pow(2,10*(v-=1))*Math.sin((v-d)*(2*Math.PI)/c)*-.5:_*Math.pow(2,-10*(v-=1))*Math.sin((v-d)*(2*Math.PI)/c)*.5+1)},easeInBack:function(v){var d=1.70158;return v*v*((d+1)*v-d)},easeOutBack:function(v){var d=1.70158;return(v-=1)*v*((d+1)*v+d)+1},easeInOutBack:function(v){var d=1.70158;return(v/=.5)<1?v*v*((1+(d*=1.525))*v-d)*.5:.5*((v-=2)*v*((1+(d*=1.525))*v+d)+2)},easeInBounce:function(v){return 1-M.easeOutBounce(1-v)},easeOutBounce:function(v){return v<1/2.75?7.5625*v*v:v<2/2.75?7.5625*(v-=1.5/2.75)*v+.75:v<2.5/2.75?7.5625*(v-=2.25/2.75)*v+.9375:7.5625*(v-=2.625/2.75)*v+.984375},easeInOutBounce:function(v){return v<.5?.5*M.easeInBounce(2*v):.5*M.easeOutBounce(2*v-1)+.5}};ve.exports={effects:M},O.easingEffects=M},5347:function(ve,be,H){"use strict";var O=H(4396);ve.exports={toLineHeight:function(T,v){var d=(""+T).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!d||"normal"===d[1])return 1.2*v;switch(T=+d[2],d[3]){case"px":return T;case"%":T/=100}return v*T},toPadding:function(T){var v,d,c,_;return O.isObject(T)?(v=+T.top||0,d=+T.right||0,c=+T.bottom||0,_=+T.left||0):v=d=c=_=+T||0,{top:v,right:d,bottom:c,left:_,height:v+c,width:_+d}},resolve:function(T,v,d){var c,_,h;for(c=0,_=T.length;c<_;++c)if(void 0!==(h=T[c])&&(void 0!==v&&"function"==typeof h&&(h=h(v)),void 0!==d&&O.isArray(h)&&(h=h[d]),void 0!==h))return h}}},3305:function(ve,be,H){"use strict";ve.exports=H(4396),ve.exports.easing=H(4317),ve.exports.canvas=H(2397),ve.exports.options=H(5347)},1607:function(ve){ve.exports={acquireContext:function(H){return H&&H.canvas&&(H=H.canvas),H&&H.getContext("2d")||null}}},8005:function(ve,be,H){"use strict";var O=H(3305),M="$chartjs",T="chartjs-",v=T+"render-monitor",d=T+"render-animation",c=["animationstart","webkitAnimationStart"],_={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function h(ee,Q){var te=O.getStyle(ee,Q),ae=te&&te.match(/^(\d+)(\.\d+)?px$/);return ae?Number(ae[1]):void 0}var x=!!function(){var ee=!1;try{var Q=Object.defineProperty({},"passive",{get:function(){ee=!0}});window.addEventListener("e",null,Q)}catch(te){}return ee}()&&{passive:!0};function D(ee,Q,te){ee.addEventListener(Q,te,x)}function y(ee,Q,te){ee.removeEventListener(Q,te,x)}function F(ee,Q,te,ae,le){return{type:ee,chart:Q,native:le||null,x:void 0!==te?te:null,y:void 0!==ae?ae:null}}ve.exports={_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,initialize:function(){var Q="from{opacity:0.99}to{opacity:1}";!function ue(ee,Q){var te=ee._style||document.createElement("style");ee._style||(ee._style=te,Q="/* Chart.js */\n"+Q,te.setAttribute("type","text/css"),document.getElementsByTagName("head")[0].appendChild(te)),te.appendChild(document.createTextNode(Q))}(this,"@-webkit-keyframes "+d+"{"+Q+"}@keyframes "+d+"{"+Q+"}."+v+"{-webkit-animation:"+d+" 0.001s;animation:"+d+" 0.001s;}")},acquireContext:function(Q,te){"string"==typeof Q?Q=document.getElementById(Q):Q.length&&(Q=Q[0]),Q&&Q.canvas&&(Q=Q.canvas);var ae=Q&&Q.getContext&&Q.getContext("2d");return ae&&ae.canvas===Q?(function L(ee,Q){var te=ee.style,ae=ee.getAttribute("height"),le=ee.getAttribute("width");if(ee[M]={initial:{height:ae,width:le,style:{display:te.display,height:te.height,width:te.width}}},te.display=te.display||"block",null===le||""===le){var X=h(ee,"width");void 0!==X&&(ee.width=X)}if(null===ae||""===ae)if(""===ee.style.height)ee.height=ee.width/(Q.options.aspectRatio||2);else{var De=h(ee,"height");void 0!==X&&(ee.height=De)}}(Q,te),ae):null},releaseContext:function(Q){var te=Q.canvas;if(te[M]){var ae=te[M].initial;["height","width"].forEach(function(le){var X=ae[le];O.isNullOrUndef(X)?te.removeAttribute(le):te.setAttribute(le,X)}),O.each(ae.style||{},function(le,X){te.style[X]=le}),te.width=te.width,delete te[M]}},addEventListener:function(Q,te,ae){var le=Q.canvas;if("resize"!==te){var X=ae[M]||(ae[M]={}),xe=(X.proxies||(X.proxies={}))[Q.id+"_"+te]=function(Fe){ae(function N(ee,Q){var te=_[ee.type]||ee.type,ae=O.getRelativePosition(ee,Q);return F(te,Q,ae.x,ae.y,ee)}(Fe,Q))};D(le,te,xe)}else!function ne(ee,Q,te){var ae=ee[M]||(ee[M]={}),le=ae.resizer=function G(ee){var Q=document.createElement("div"),te=T+"size-monitor",ae=1e6,le="position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1;";Q.style.cssText=le,Q.className=te,Q.innerHTML='
';var X=Q.childNodes[0],De=Q.childNodes[1];Q._reset=function(){X.scrollLeft=ae,X.scrollTop=ae,De.scrollLeft=ae,De.scrollTop=ae};var xe=function(){Q._reset(),ee()};return D(X,"scroll",xe.bind(X,"expand")),D(De,"scroll",xe.bind(De,"shrink")),Q}(function W(ee,Q){var te=!1,ae=[];return function(){ae=Array.prototype.slice.call(arguments),Q=Q||this,te||(te=!0,O.requestAnimFrame.call(window,function(){te=!1,ee.apply(Q,ae)}))}}(function(){if(ae.resizer)return Q(F("resize",te))}));!function ie(ee,Q){var te=ee[M]||(ee[M]={}),ae=te.renderProxy=function(le){le.animationName===d&&Q()};O.each(c,function(le){D(ee,le,ae)}),te.reflow=!!ee.offsetParent,ee.classList.add(v)}(ee,function(){if(ae.resizer){var X=ee.parentNode;X&&X!==le.parentNode&&X.insertBefore(le,X.firstChild),le._reset()}})}(le,ae,Q)},removeEventListener:function(Q,te,ae){var le=Q.canvas;if("resize"!==te){var xe=((ae[M]||{}).proxies||{})[Q.id+"_"+te];!xe||y(le,te,xe)}else!function Z(ee){var Q=ee[M]||{},te=Q.resizer;delete Q.resizer,function ce(ee){var Q=ee[M]||{},te=Q.renderProxy;te&&(O.each(c,function(ae){y(ee,ae,te)}),delete Q.renderProxy),ee.classList.remove(v)}(ee),te&&te.parentNode&&te.parentNode.removeChild(te)}(le)}},O.addEvent=D,O.removeEvent=y},8244:function(ve,be,H){"use strict";var O=H(3305),M=H(1607),T=H(8005);ve.exports=O.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},T._enabled?T:M)},6747:function(ve,be,H){"use strict";ve.exports={},ve.exports.filler=H(6579),ve.exports.legend=H(2230),ve.exports.title=H(7412)},6579:function(ve,be,H){"use strict";var O=H(9800),M=H(9931),T=H(3305);O._set("global",{plugins:{filler:{propagate:!0}}});var v={dataset:function(y){var F=y.fill,N=y.chart,W=N.getDatasetMeta(F),ie=W&&N.isDatasetVisible(F)&&W.dataset._children||[],ce=ie.length||0;return ce?function(ne,Z){return Z=F)&&G;switch(W){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return W;default:return!1}}function c(D){var G,y=D.el._model||{},F=D.el._scale||{},N=D.fill,W=null;if(isFinite(N))return null;if("start"===N?W=void 0===y.scaleBottom?F.bottom:y.scaleBottom:"end"===N?W=void 0===y.scaleTop?F.top:y.scaleTop:void 0!==y.scaleZero?W=y.scaleZero:F.getBasePosition?W=F.getBasePosition():F.getBasePixel&&(W=F.getBasePixel()),null!=W){if(void 0!==W.x&&void 0!==W.y)return W;if("number"==typeof W&&isFinite(W))return{x:(G=F.isHorizontal())?W:null,y:G?null:W}}return null}function _(D,y,F){var ie,W=D[y].fill,G=[y];if(!F)return W;for(;!1!==W&&-1===G.indexOf(W);){if(!isFinite(W))return W;if(!(ie=D[W]))return!1;if(ie.visible)return W;G.push(W),W=ie.fill}return!1}function h(D){var y=D.fill,F="dataset";return!1===y?null:(isFinite(y)||(F="boundary"),v[F](D))}function L(D){return D&&!D.skip}function w(D,y,F,N,W){var G;if(N&&W){for(D.moveTo(y[0].x,y[0].y),G=1;G0;--G)T.canvas.lineTo(D,F[G],F[G-1],!0)}}ve.exports={id:"filler",afterDatasetsUpdate:function(y,F){var ie,ce,ne,Z,N=(y.data.datasets||[]).length,W=F.propagate,G=[];for(ce=0;ce');for(var D=0;D'),w.data.datasets[D].label&&x.push(w.data.datasets[D].label),x.push("");return x.push(""),x.join("")}});var _=M.extend({initialize:function(w){T.extend(this,w),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:d,update:function(w,x,D){var y=this;return y.beforeUpdate(),y.maxWidth=w,y.maxHeight=x,y.margins=D,y.beforeSetDimensions(),y.setDimensions(),y.afterSetDimensions(),y.beforeBuildLabels(),y.buildLabels(),y.afterBuildLabels(),y.beforeFit(),y.fit(),y.afterFit(),y.afterUpdate(),y.minSize},afterUpdate:d,beforeSetDimensions:d,setDimensions:function(){var w=this;w.isHorizontal()?(w.width=w.maxWidth,w.left=0,w.right=w.width):(w.height=w.maxHeight,w.top=0,w.bottom=w.height),w.paddingLeft=0,w.paddingTop=0,w.paddingRight=0,w.paddingBottom=0,w.minSize={width:0,height:0}},afterSetDimensions:d,beforeBuildLabels:d,buildLabels:function(){var w=this,x=w.options.labels||{},D=T.callback(x.generateLabels,[w.chart],w)||[];x.filter&&(D=D.filter(function(y){return x.filter(y,w.chart.data)})),w.options.reverse&&D.reverse(),w.legendItems=D},afterBuildLabels:d,beforeFit:d,fit:function(){var w=this,x=w.options,D=x.labels,y=x.display,F=w.ctx,N=O.global,W=T.valueOrDefault,G=W(D.fontSize,N.defaultFontSize),ie=W(D.fontStyle,N.defaultFontStyle),ce=W(D.fontFamily,N.defaultFontFamily),ne=T.fontString(G,ie,ce),Z=w.legendHitBoxes=[],ue=w.minSize,ee=w.isHorizontal();if(ee?(ue.width=w.maxWidth,ue.height=y?10:0):(ue.width=y?10:0,ue.height=w.maxHeight),y)if(F.font=ne,ee){var Q=w.lineWidths=[0],te=w.legendItems.length?G+D.padding:0;F.textAlign="left",F.textBaseline="top",T.each(w.legendItems,function(He,Ke){var Ne=c(D,G)+G/2+F.measureText(He.text).width;Q[Q.length-1]+Ne+D.padding>=w.width&&(te+=G+D.padding,Q[Q.length]=w.left),Z[Ke]={left:0,top:0,width:Ne,height:G},Q[Q.length-1]+=Ne+D.padding}),ue.height+=te}else{var ae=D.padding,le=w.columnWidths=[],X=D.padding,De=0,xe=0,Fe=G+ae;T.each(w.legendItems,function(He,Ke){var Ne=c(D,G)+G/2+F.measureText(He.text).width;xe+Fe>ue.height&&(X+=De+D.padding,le.push(De),De=0,xe=0),De=Math.max(De,Ne),xe+=Fe,Z[Ke]={left:0,top:0,width:Ne,height:G}}),X+=De,le.push(De),ue.width+=X}w.width=ue.width,w.height=ue.height},afterFit:d,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var w=this,x=w.options,D=x.labels,y=O.global,F=y.elements.line,N=w.width,W=w.lineWidths;if(x.display){var Q,G=w.ctx,ie=T.valueOrDefault,ce=ie(D.fontColor,y.defaultFontColor),ne=ie(D.fontSize,y.defaultFontSize),Z=ie(D.fontStyle,y.defaultFontStyle),ue=ie(D.fontFamily,y.defaultFontFamily),ee=T.fontString(ne,Z,ue);G.textAlign="left",G.textBaseline="middle",G.lineWidth=.5,G.strokeStyle=ce,G.fillStyle=ce,G.font=ee;var te=c(D,ne),ae=w.legendHitBoxes,De=w.isHorizontal();Q=De?{x:w.left+(N-W[0])/2,y:w.top+D.padding,line:0}:{x:w.left+D.padding,y:w.top+D.padding,line:0};var xe=ne+D.padding;T.each(w.legendItems,function(Fe,He){var Ke=G.measureText(Fe.text).width,Xe=te+ne/2+Ke,Ne=Q.x,at=Q.y;De?Ne+Xe>=N&&(at=Q.y+=xe,Q.line++,Ne=Q.x=w.left+(N-W[Q.line])/2):at+xe>w.bottom&&(Ne=Q.x=Ne+w.columnWidths[Q.line]+D.padding,at=Q.y=w.top+D.padding,Q.line++),function(He,Ke,Xe){if(!(isNaN(te)||te<=0)){G.save(),G.fillStyle=ie(Xe.fillStyle,y.defaultColor),G.lineCap=ie(Xe.lineCap,F.borderCapStyle),G.lineDashOffset=ie(Xe.lineDashOffset,F.borderDashOffset),G.lineJoin=ie(Xe.lineJoin,F.borderJoinStyle),G.lineWidth=ie(Xe.lineWidth,F.borderWidth),G.strokeStyle=ie(Xe.strokeStyle,y.defaultColor);var Ne=0===ie(Xe.lineWidth,F.borderWidth);if(G.setLineDash&&G.setLineDash(ie(Xe.lineDash,F.borderDash)),x.labels&&x.labels.usePointStyle){var at=ne*Math.SQRT2/2,Nt=at/Math.SQRT2;T.canvas.drawPoint(G,Xe.pointStyle,at,He+Nt,Ke+Nt)}else Ne||G.strokeRect(He,Ke,te,ne),G.fillRect(He,Ke,te,ne);G.restore()}}(Ne,at,Fe),ae[He].left=Ne,ae[He].top=at,function(He,Ke,Xe,Ne){var at=ne/2,Nt=te+at+He,jt=Ke+at;G.fillText(Xe.text,Nt,jt),Xe.hidden&&(G.beginPath(),G.lineWidth=2,G.moveTo(Nt,jt),G.lineTo(Nt+Ne,jt),G.stroke())}(Ne,at,Fe,Ke),De?Q.x+=Xe+D.padding:Q.y+=xe})}},handleEvent:function(w){var x=this,D=x.options,y="mouseup"===w.type?"click":w.type,F=!1;if("mousemove"===y){if(!D.onHover)return}else{if("click"!==y)return;if(!D.onClick)return}var N=w.x,W=w.y;if(N>=x.left&&N<=x.right&&W>=x.top&&W<=x.bottom)for(var G=x.legendHitBoxes,ie=0;ie=ce.left&&N<=ce.left+ce.width&&W>=ce.top&&W<=ce.top+ce.height){if("click"===y){D.onClick.call(x,w.native,x.legendItems[ie]),F=!0;break}if("mousemove"===y){D.onHover.call(x,w.native,x.legendItems[ie]),F=!0;break}}}return F}});function h(L,w){var x=new _({ctx:L.ctx,options:w,chart:L});v.configure(L,x,w),v.addBox(L,x),L.legend=x}ve.exports={id:"legend",_element:_,beforeInit:function(w){var x=w.options.legend;x&&h(w,x)},beforeUpdate:function(w){var x=w.options.legend,D=w.legend;x?(T.mergeIf(x,O.global.legend),D?(v.configure(w,D,x),D.options=x):h(w,x)):D&&(v.removeBox(w,D),delete w.legend)},afterEvent:function(w,x){var D=w.legend;D&&D.handleEvent(x)}}},7412:function(ve,be,H){"use strict";var O=H(9800),M=H(8839),T=H(3305),v=H(2294),d=T.noop;O._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,lineHeight:1.2,padding:10,position:"top",text:"",weight:2e3}});var c=M.extend({initialize:function(L){T.extend(this,L),this.legendHitBoxes=[]},beforeUpdate:d,update:function(L,w,x){var D=this;return D.beforeUpdate(),D.maxWidth=L,D.maxHeight=w,D.margins=x,D.beforeSetDimensions(),D.setDimensions(),D.afterSetDimensions(),D.beforeBuildLabels(),D.buildLabels(),D.afterBuildLabels(),D.beforeFit(),D.fit(),D.afterFit(),D.afterUpdate(),D.minSize},afterUpdate:d,beforeSetDimensions:d,setDimensions:function(){var L=this;L.isHorizontal()?(L.width=L.maxWidth,L.left=0,L.right=L.width):(L.height=L.maxHeight,L.top=0,L.bottom=L.height),L.paddingLeft=0,L.paddingTop=0,L.paddingRight=0,L.paddingBottom=0,L.minSize={width:0,height:0}},afterSetDimensions:d,beforeBuildLabels:d,buildLabels:d,afterBuildLabels:d,beforeFit:d,fit:function(){var L=this,x=L.options,D=x.display,y=(0,T.valueOrDefault)(x.fontSize,O.global.defaultFontSize),F=L.minSize,N=T.isArray(x.text)?x.text.length:1,W=T.options.toLineHeight(x.lineHeight,y),G=D?N*W+2*x.padding:0;L.isHorizontal()?(F.width=L.maxWidth,F.height=G):(F.width=G,F.height=L.maxHeight),L.width=F.width,L.height=F.height},afterFit:d,isHorizontal:function(){var L=this.options.position;return"top"===L||"bottom"===L},draw:function(){var L=this,w=L.ctx,x=T.valueOrDefault,D=L.options,y=O.global;if(D.display){var te,ae,le,F=x(D.fontSize,y.defaultFontSize),N=x(D.fontStyle,y.defaultFontStyle),W=x(D.fontFamily,y.defaultFontFamily),G=T.fontString(F,N,W),ie=T.options.toLineHeight(D.lineHeight,F),ce=ie/2+D.padding,ne=0,Z=L.top,ue=L.left,ee=L.bottom,Q=L.right;w.fillStyle=x(D.fontColor,y.defaultFontColor),w.font=G,L.isHorizontal()?(ae=ue+(Q-ue)/2,le=Z+ce,te=Q-ue):(ae="left"===D.position?ue+ce:Q-ce,le=Z+(ee-Z)/2,te=ee-Z,ne=Math.PI*("left"===D.position?-.5:.5)),w.save(),w.translate(ae,le),w.rotate(ne),w.textAlign="center",w.textBaseline="middle";var X=D.text;if(T.isArray(X))for(var De=0,xe=0;xeh.max)&&(h.max=Q))})});h.min=isFinite(h.min)&&!isNaN(h.min)?h.min:0,h.max=isFinite(h.max)&&!isNaN(h.max)?h.max:1,this.handleTickRangeOptions()},getTickLimit:function(){var h,L=this,w=L.options.ticks;if(L.isHorizontal())h=Math.min(w.maxTicksLimit?w.maxTicksLimit:11,Math.ceil(L.width/50));else{var x=M.valueOrDefault(w.fontSize,O.global.defaultFontSize);h=Math.min(w.maxTicksLimit?w.maxTicksLimit:11,Math.ceil(L.height/(2*x)))}return h},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(h,L){return+this.getRightValue(this.chart.data.datasets[L].data[h])},getPixelForValue:function(h){var L=this,w=L.start,x=+L.getRightValue(h),y=L.end-w;return L.isHorizontal()?L.left+L.width/y*(x-w):L.bottom-L.height/y*(x-w)},getValueForPixel:function(h){var L=this,w=L.isHorizontal();return L.start+(w?h-L.left:L.bottom-h)/(w?L.width:L.height)*(L.end-L.start)},getPixelForTick:function(h){return this.getPixelForValue(this.ticksAsNumbers[h])}});v.scaleService.registerScaleType("linear",c,d)}},8351:function(ve,be,H){"use strict";var O=H(3305);ve.exports=function(T){var v=O.noop;T.LinearScaleBase=T.Scale.extend({getRightValue:function(c){return"string"==typeof c?+c:T.Scale.prototype.getRightValue.call(this,c)},handleTickRangeOptions:function(){var c=this,h=c.options.ticks;if(h.beginAtZero){var L=O.sign(c.min),w=O.sign(c.max);L<0&&w<0?c.max=0:L>0&&w>0&&(c.min=0)}var x=void 0!==h.min||void 0!==h.suggestedMin,D=void 0!==h.max||void 0!==h.suggestedMax;void 0!==h.min?c.min=h.min:void 0!==h.suggestedMin&&(c.min=null===c.min?h.suggestedMin:Math.min(c.min,h.suggestedMin)),void 0!==h.max?c.max=h.max:void 0!==h.suggestedMax&&(c.max=null===c.max?h.suggestedMax:Math.max(c.max,h.suggestedMax)),x!==D&&c.min>=c.max&&(x?c.max=c.min+1:c.min=c.max-1),c.min===c.max&&(c.max++,h.beginAtZero||c.min--)},getTickLimit:v,handleDirectionalChanges:v,buildTicks:function(){var c=this,h=c.options.ticks,L=c.getTickLimit(),w={maxTicks:L=Math.max(2,L),min:h.min,max:h.max,stepSize:O.valueOrDefault(h.fixedStepSize,h.stepSize)},x=c.ticks=function M(T,v){var c,d=[];if(T.stepSize&&T.stepSize>0)c=T.stepSize;else{var _=O.niceNum(v.max-v.min,!1);c=O.niceNum(_/(T.maxTicks-1),!0)}var h=Math.floor(v.min/c)*c,L=Math.ceil(v.max/c)*c;T.min&&T.max&&T.stepSize&&O.almostWhole((T.max-T.min)/T.stepSize,c/1e3)&&(h=T.min,L=T.max);var w=(L-h)/c;w=O.almostEquals(w,Math.round(w),c/1e3)?Math.round(w):Math.ceil(w);var x=1;c<1&&(x=Math.pow(10,c.toString().length-2),h=Math.round(h*x)/x,L=Math.round(L*x)/x),d.push(void 0!==T.min?T.min:h);for(var D=1;D0){var ie=O.min(G),ce=O.max(G);h.min=null===h.min?ie:Math.min(h.min,ie),h.max=null===h.max?ce:Math.max(h.max,ce)}})}else O.each(D,function(G,ie){var ce=w.getDatasetMeta(ie);w.isDatasetVisible(ie)&&F(ce)&&O.each(G.data,function(ne,Z){var ue=+h.getRightValue(ne);isNaN(ue)||ce.data[Z].hidden||ue<0||((null===h.min||ueh.max)&&(h.max=ue),0!==ue&&(null===h.minNotZero||ue0?h.min:h.max<1?Math.pow(10,Math.floor(O.log10(h.max))):1)},buildTicks:function(){var h=this,w=h.options.ticks,x=!h.isHorizontal(),y=h.ticks=function T(v,d){var x,D,c=[],_=O.valueOrDefault,h=_(v.min,Math.pow(10,Math.floor(O.log10(d.min)))),L=Math.floor(O.log10(d.max)),w=Math.ceil(d.max/Math.pow(10,L));0===h?(x=Math.floor(O.log10(d.minNotZero)),D=Math.floor(d.minNotZero/Math.pow(10,x)),c.push(h),h=D*Math.pow(10,x)):(x=Math.floor(O.log10(h)),D=Math.floor(h/Math.pow(10,x)));var y=x<0?Math.pow(10,Math.abs(x)):1;do{c.push(h),10==++D&&(D=1,y=++x>=0?1:y),h=Math.round(D*Math.pow(10,x)*y)/y}while(xQ?{start:Z-ue-5,end:Z}:{start:Z,end:Z+ue+5}}function y(ne){return 0===ne||180===ne?"center":ne<180?"left":"right"}function F(ne,Z,ue,ee){if(M.isArray(Z))for(var Q=ue.y,te=1.5*ee,ae=0;ae270||ne<90)&&(ue.y-=Z.h)}function ie(ne){return M.isNumber(ne)?ne:0}var ce=v.LinearScaleBase.extend({setDimensions:function(){var Z=this,ue=Z.options,ee=ue.ticks;Z.width=Z.maxWidth,Z.height=Z.maxHeight,Z.xCenter=Math.round(Z.width/2),Z.yCenter=Math.round(Z.height/2);var Q=M.min([Z.height,Z.width]),te=M.valueOrDefault(ee.fontSize,d.defaultFontSize);Z.drawingArea=ue.display?Q/2-(te/2+ee.backdropPaddingY):Q/2},determineDataLimits:function(){var Z=this,ue=Z.chart,ee=Number.POSITIVE_INFINITY,Q=Number.NEGATIVE_INFINITY;M.each(ue.data.datasets,function(te,ae){if(ue.isDatasetVisible(ae)){var le=ue.getDatasetMeta(ae);M.each(te.data,function(X,De){var xe=+Z.getRightValue(X);isNaN(xe)||le.data[De].hidden||(ee=Math.min(xe,ee),Q=Math.max(xe,Q))})}}),Z.min=ee===Number.POSITIVE_INFINITY?0:ee,Z.max=Q===Number.NEGATIVE_INFINITY?0:Q,Z.handleTickRangeOptions()},getTickLimit:function(){var Z=this.options.ticks,ue=M.valueOrDefault(Z.fontSize,d.defaultFontSize);return Math.min(Z.maxTicksLimit?Z.maxTicksLimit:11,Math.ceil(this.drawingArea/(1.5*ue)))},convertTicksToLabels:function(){var Z=this;v.LinearScaleBase.prototype.convertTicksToLabels.call(Z),Z.pointLabels=Z.chart.data.labels.map(Z.options.pointLabels.callback,Z)},getLabelForIndex:function(Z,ue){return+this.getRightValue(this.chart.data.datasets[ue].data[Z])},fit:function(){this.options.pointLabels.display?function x(ne){var te,ae,le,Z=h(ne),ue=Math.min(ne.height/2,ne.width/2),ee={r:ne.width,l:0,t:ne.height,b:0},Q={};ne.ctx.font=Z.font,ne._pointLabelSizes=[];var X=_(ne);for(te=0;teee.r&&(ee.r=Fe.end,Q.r=De),He.startee.b&&(ee.b=He.end,Q.b=De)}ne.setReductions(ue,ee,Q)}(this):function D(ne){var Z=Math.min(ne.height/2,ne.width/2);ne.drawingArea=Math.round(Z),ne.setCenterPoint(0,0,0,0)}(this)},setReductions:function(Z,ue,ee){var Q=this,te=ue.l/Math.sin(ee.l),ae=Math.max(ue.r-Q.width,0)/Math.sin(ee.r),le=-ue.t/Math.cos(ee.t),X=-Math.max(ue.b-Q.height,0)/Math.cos(ee.b);te=ie(te),ae=ie(ae),le=ie(le),X=ie(X),Q.drawingArea=Math.min(Math.round(Z-(te+ae)/2),Math.round(Z-(le+X)/2)),Q.setCenterPoint(te,ae,le,X)},setCenterPoint:function(Z,ue,ee,Q){var te=this,X=ee+te.drawingArea,De=te.height-Q-te.drawingArea;te.xCenter=Math.round((Z+te.drawingArea+(te.width-ue-te.drawingArea))/2+te.left),te.yCenter=Math.round((X+De)/2+te.top)},getIndexAngle:function(Z){return Z*(2*Math.PI/_(this))+(this.chart.options&&this.chart.options.startAngle?this.chart.options.startAngle:0)*Math.PI*2/360},getDistanceFromCenterForValue:function(Z){var ue=this;if(null===Z)return 0;var ee=ue.drawingArea/(ue.max-ue.min);return ue.options.ticks.reverse?(ue.max-Z)*ee:(Z-ue.min)*ee},getPointPosition:function(Z,ue){var Q=this.getIndexAngle(Z)-Math.PI/2;return{x:Math.round(Math.cos(Q)*ue)+this.xCenter,y:Math.round(Math.sin(Q)*ue)+this.yCenter}},getPointPositionForValue:function(Z,ue){return this.getPointPosition(Z,this.getDistanceFromCenterForValue(ue))},getBasePosition:function(){var Z=this,ue=Z.min,ee=Z.max;return Z.getPointPositionForValue(0,Z.beginAtZero?0:ue<0&&ee<0?ee:ue>0&&ee>0?ue:0)},draw:function(){var Z=this,ue=Z.options,ee=ue.gridLines,Q=ue.ticks,te=M.valueOrDefault;if(ue.display){var ae=Z.ctx,le=this.getIndexAngle(0),X=te(Q.fontSize,d.defaultFontSize),De=te(Q.fontStyle,d.defaultFontStyle),xe=te(Q.fontFamily,d.defaultFontFamily),Fe=M.fontString(X,De,xe);M.each(Z.ticks,function(He,Ke){if(Ke>0||Q.reverse){var Xe=Z.getDistanceFromCenterForValue(Z.ticksAsNumbers[Ke]);if(ee.display&&0!==Ke&&function G(ne,Z,ue,ee){var Q=ne.ctx;if(Q.strokeStyle=M.valueAtIndexOrDefault(Z.color,ee-1),Q.lineWidth=M.valueAtIndexOrDefault(Z.lineWidth,ee-1),ne.options.gridLines.circular)Q.beginPath(),Q.arc(ne.xCenter,ne.yCenter,ue,0,2*Math.PI),Q.closePath(),Q.stroke();else{var te=_(ne);if(0===te)return;Q.beginPath();var ae=ne.getPointPosition(0,ue);Q.moveTo(ae.x,ae.y);for(var le=1;le=0;le--){if(ee.display){var X=ne.getPointPosition(le,te);Z.beginPath(),Z.moveTo(ne.xCenter,ne.yCenter),Z.lineTo(X.x,X.y),Z.stroke(),Z.closePath()}if(Q.display){var De=ne.getPointPosition(le,te+5),xe=M.valueAtIndexOrDefault(Q.fontColor,le,d.defaultFontColor);Z.font=ae.font,Z.fillStyle=xe;var Fe=ne.getIndexAngle(le),He=M.toDegrees(Fe);Z.textAlign=y(He),N(He,ne._pointLabelSizes[le],De),F(Z,ne.pointLabels[le]||"",De,ae.size)}}}(Z)}}});v.scaleService.registerScaleType("radialLinear",ce,c)}},4215:function(ve,be,H){"use strict";var O=H(5439);O="function"==typeof O?O:window.moment;var M=H(9800),T=H(3305),v=Number.MIN_SAFE_INTEGER||-9007199254740991,d=Number.MAX_SAFE_INTEGER||9007199254740991,c={millisecond:{common:!0,size:1,steps:[1,2,5,10,20,50,100,250,500]},second:{common:!0,size:1e3,steps:[1,2,5,10,30]},minute:{common:!0,size:6e4,steps:[1,2,5,10,30]},hour:{common:!0,size:36e5,steps:[1,2,3,6,12]},day:{common:!0,size:864e5,steps:[1,2,5]},week:{common:!1,size:6048e5,steps:[1,2,3,4]},month:{common:!0,size:2628e6,steps:[1,2,3]},quarter:{common:!1,size:7884e6,steps:[1,2,3,4]},year:{common:!0,size:3154e7}},_=Object.keys(c);function h(ee,Q){return ee-Q}function L(ee){var ae,le,X,Q={},te=[];for(ae=0,le=ee.length;ae=0&&ae<=le;){if(xe=ee[X=ae+le>>1],!(De=ee[X-1]||null))return{lo:null,hi:xe};if(xe[Q]te))return{lo:De,hi:xe};le=X-1}}return{lo:xe,hi:null}}(ee,Q,te),X=le.lo?le.hi?le.lo:ee[ee.length-2]:ee[0],De=le.lo?le.hi?le.hi:ee[ee.length-1]:ee[1],xe=De[Q]-X[Q];return X[ae]+(De[ae]-X[ae])*(xe?(te-X[Q])/xe:0)}function y(ee,Q){var te=Q.parser,ae=Q.parser||Q.format;return"function"==typeof te?te(ee):"string"==typeof ee&&"string"==typeof ae?O(ee,ae):(ee instanceof O||(ee=O(ee)),ee.isValid()?ee:"function"==typeof ae?ae(ee):ee)}function F(ee,Q){if(T.isNullOrUndef(ee))return null;var te=Q.options.time,ae=y(Q.getRightValue(ee),te);return ae.isValid()?(te.round&&ae.startOf(te.round),ae.valueOf()):null}function ie(ee){for(var Q=_.indexOf(ee)+1,te=_.length;Q=X&&at<=De&&Ke.push(at);return le.min=X,le.max=De,le._unit=Fe.unit||function G(ee,Q,te,ae){var De,xe,le=O.duration(O(ae).diff(O(te)));for(De=_.length-1;De>=_.indexOf(Q);De--)if(c[xe=_[De]].common&&le.as(xe)>=ee.length)return xe;return _[Q?_.indexOf(Q):0]}(Ke,Fe.minUnit,le.min,le.max),le._majorUnit=ie(le._unit),le._table=function w(ee,Q,te,ae){if("linear"===ae||!ee.length)return[{time:Q,pos:0},{time:te,pos:1}];var De,xe,Fe,He,Ke,le=[],X=[Q];for(De=0,xe=ee.length;DeQ&&He1?Q[1]:ae,"pos")-D(ee,"time",Fe,"pos"))/2),le.time.max||(Fe=Q.length>1?Q[Q.length-2]:te,De=(D(ee,"time",Q[Q.length-1],"pos")-D(ee,"time",Fe,"pos"))/2)),{left:X,right:De}}(le._table,Ke,X,De,xe),le._labelFormat=function ue(ee,Q){var te,ae,le,X=ee.length;for(te=0;te=0&&le0?Ke:1}});ee.scaleService.registerScaleType("time",te,{position:"bottom",distribution:"linear",bounds:"data",time:{parser:!1,format:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{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"}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}})}},3207:function(ve,be,H){var O=H(9914);function M(Z){if(Z){var le=[0,0,0],X=1,De=Z.match(/^#([a-fA-F0-9]{3})$/i);if(De){De=De[1];for(var xe=0;xe_?(c+.05)/(_+.05):(_+.05)/(c+.05)},level:function(d){var c=this.contrast(d);return c>=7.1?"AAA":c>=4.5?"AA":""},dark:function(){var d=this.values.rgb;return(299*d[0]+587*d[1]+114*d[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var d=[],c=0;c<3;c++)d[c]=255-this.values.rgb[c];return this.setValues("rgb",d),this},lighten:function(d){var c=this.values.hsl;return c[2]+=c[2]*d,this.setValues("hsl",c),this},darken:function(d){var c=this.values.hsl;return c[2]-=c[2]*d,this.setValues("hsl",c),this},saturate:function(d){var c=this.values.hsl;return c[1]+=c[1]*d,this.setValues("hsl",c),this},desaturate:function(d){var c=this.values.hsl;return c[1]-=c[1]*d,this.setValues("hsl",c),this},whiten:function(d){var c=this.values.hwb;return c[1]+=c[1]*d,this.setValues("hwb",c),this},blacken:function(d){var c=this.values.hwb;return c[2]+=c[2]*d,this.setValues("hwb",c),this},greyscale:function(){var d=this.values.rgb,c=.3*d[0]+.59*d[1]+.11*d[2];return this.setValues("rgb",[c,c,c]),this},clearer:function(d){var c=this.values.alpha;return this.setValues("alpha",c-c*d),this},opaquer:function(d){var c=this.values.alpha;return this.setValues("alpha",c+c*d),this},rotate:function(d){var c=this.values.hsl,_=(c[0]+d)%360;return c[0]=_<0?360+_:_,this.setValues("hsl",c),this},mix:function(d,c){var _=this,h=d,L=void 0===c?.5:c,w=2*L-1,x=_.alpha()-h.alpha(),D=((w*x==-1?w:(w+x)/(1+w*x))+1)/2,y=1-D;return this.rgb(D*_.red()+y*h.red(),D*_.green()+y*h.green(),D*_.blue()+y*h.blue()).alpha(_.alpha()*L+h.alpha()*(1-L))},toJSON:function(){return this.rgb()},clone:function(){var h,L,d=new T,c=this.values,_=d.values;for(var w in c)c.hasOwnProperty(w)&&("[object Array]"===(L={}.toString.call(h=c[w]))?_[w]=h.slice(0):"[object Number]"===L?_[w]=h:console.error("unexpected color value:",h));return d}}).spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},T.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},T.prototype.getValues=function(v){for(var d=this.values,c={},_=0;_.04045?Math.pow((re+.055)/1.055,2.4):re/12.92)+.3576*(se=se>.04045?Math.pow((se+.055)/1.055,2.4):se/12.92)+.1805*(de=de>.04045?Math.pow((de+.055)/1.055,2.4):de/12.92)),100*(.2126*re+.7152*se+.0722*de),100*(.0193*re+.1192*se+.9505*de)]}function d(j){var re=v(j),se=re[0],de=re[1],he=re[2];return de/=100,he/=108.883,se=(se/=95.047)>.008856?Math.pow(se,1/3):7.787*se+16/116,[116*(de=de>.008856?Math.pow(de,1/3):7.787*de+16/116)-16,500*(se-de),200*(de-(he=he>.008856?Math.pow(he,1/3):7.787*he+16/116))]}function _(j){var he,fe,Me,_e,we,re=j[0]/360,se=j[1]/100,de=j[2]/100;if(0==se)return[we=255*de,we,we];he=2*de-(fe=de<.5?de*(1+se):de+se-de*se),_e=[0,0,0];for(var Pe=0;Pe<3;Pe++)(Me=re+1/3*-(Pe-1))<0&&Me++,Me>1&&Me--,_e[Pe]=255*(we=6*Me<1?he+6*(fe-he)*Me:2*Me<1?fe:3*Me<2?he+(fe-he)*(2/3-Me)*6:he);return _e}function D(j){var re=j[0]/60,se=j[1]/100,we=j[2]/100,de=Math.floor(re)%6,he=re-Math.floor(re),fe=255*we*(1-se),Me=255*we*(1-se*he),_e=255*we*(1-se*(1-he));switch(we*=255,de){case 0:return[we,_e,fe];case 1:return[Me,we,fe];case 2:return[fe,we,_e];case 3:return[fe,Me,we];case 4:return[_e,fe,we];case 5:return[we,fe,Me]}}function G(j){var fe,Me,_e,we,re=j[0]/360,se=j[1]/100,de=j[2]/100,he=se+de;switch(he>1&&(se/=he,de/=he),_e=6*re-(fe=Math.floor(6*re)),0!=(1&fe)&&(_e=1-_e),we=se+_e*((Me=1-de)-se),fe){default:case 6:case 0:r=Me,g=we,b=se;break;case 1:r=we,g=Me,b=se;break;case 2:r=se,g=Me,b=we;break;case 3:r=se,g=we,b=Me;break;case 4:r=we,g=se,b=Me;break;case 5:r=Me,g=se,b=we}return[255*r,255*g,255*b]}function ue(j){var se=j[1]/100,de=j[2]/100,he=j[3]/100;return[255*(1-Math.min(1,j[0]/100*(1-he)+he)),255*(1-Math.min(1,se*(1-he)+he)),255*(1-Math.min(1,de*(1-he)+he))]}function le(j){var he,fe,Me,re=j[0]/100,se=j[1]/100,de=j[2]/100;return fe=-.9689*re+1.8758*se+.0415*de,Me=.0557*re+-.204*se+1.057*de,he=(he=3.2406*re+-1.5372*se+-.4986*de)>.0031308?1.055*Math.pow(he,1/2.4)-.055:he*=12.92,fe=fe>.0031308?1.055*Math.pow(fe,1/2.4)-.055:fe*=12.92,Me=Me>.0031308?1.055*Math.pow(Me,1/2.4)-.055:Me*=12.92,[255*(he=Math.min(Math.max(0,he),1)),255*(fe=Math.min(Math.max(0,fe),1)),255*(Me=Math.min(Math.max(0,Me),1))]}function X(j){var re=j[0],se=j[1],de=j[2];return se/=100,de/=108.883,re=(re/=95.047)>.008856?Math.pow(re,1/3):7.787*re+16/116,[116*(se=se>.008856?Math.pow(se,1/3):7.787*se+16/116)-16,500*(re-se),200*(se-(de=de>.008856?Math.pow(de,1/3):7.787*de+16/116))]}function xe(j){var he,fe,Me,_e,re=j[0],se=j[1],de=j[2];return re<=8?_e=(fe=100*re/903.3)/100*7.787+16/116:(fe=100*Math.pow((re+16)/116,3),_e=Math.pow(fe/100,1/3)),[he=he/95.047<=.008856?he=95.047*(se/500+_e-16/116)/7.787:95.047*Math.pow(se/500+_e,3),fe,Me=Me/108.883<=.008859?Me=108.883*(_e-de/200-16/116)/7.787:108.883*Math.pow(_e-de/200,3)]}function Fe(j){var fe,re=j[0],se=j[1],de=j[2];return(fe=360*Math.atan2(de,se)/2/Math.PI)<0&&(fe+=360),[re,Math.sqrt(se*se+de*de),fe]}function He(j){return le(xe(j))}function Ke(j){var Me,se=j[1];return Me=j[2]/360*2*Math.PI,[j[0],se*Math.cos(Me),se*Math.sin(Me)]}function at(j){return St[j]}ve.exports={rgb2hsl:be,rgb2hsv:H,rgb2hwb:O,rgb2cmyk:M,rgb2keyword:T,rgb2xyz:v,rgb2lab:d,rgb2lch:function c(j){return Fe(d(j))},hsl2rgb:_,hsl2hsv:function h(j){var se=j[1]/100,de=j[2]/100;return 0===de?[0,0,0]:[j[0],2*(se*=(de*=2)<=1?de:2-de)/(de+se)*100,(de+se)/2*100]},hsl2hwb:function L(j){return O(_(j))},hsl2cmyk:function w(j){return M(_(j))},hsl2keyword:function x(j){return T(_(j))},hsv2rgb:D,hsv2hsl:function y(j){var he,fe,se=j[1]/100,de=j[2]/100;return he=se*de,[j[0],100*(he=(he/=(fe=(2-se)*de)<=1?fe:2-fe)||0),100*(fe/=2)]},hsv2hwb:function F(j){return O(D(j))},hsv2cmyk:function N(j){return M(D(j))},hsv2keyword:function W(j){return T(D(j))},hwb2rgb:G,hwb2hsl:function ie(j){return be(G(j))},hwb2hsv:function ce(j){return H(G(j))},hwb2cmyk:function ne(j){return M(G(j))},hwb2keyword:function Z(j){return T(G(j))},cmyk2rgb:ue,cmyk2hsl:function ee(j){return be(ue(j))},cmyk2hsv:function Q(j){return H(ue(j))},cmyk2hwb:function te(j){return O(ue(j))},cmyk2keyword:function ae(j){return T(ue(j))},keyword2rgb:at,keyword2hsl:function Nt(j){return be(at(j))},keyword2hsv:function jt(j){return H(at(j))},keyword2hwb:function sn(j){return O(at(j))},keyword2cmyk:function vn(j){return M(at(j))},keyword2lab:function Ve(j){return d(at(j))},keyword2xyz:function br(j){return v(at(j))},xyz2rgb:le,xyz2lab:X,xyz2lch:function De(j){return Fe(X(j))},lab2xyz:xe,lab2rgb:He,lab2lch:Fe,lch2lab:Ke,lch2xyz:function Xe(j){return xe(Ke(j))},lch2rgb:function Ne(j){return He(Ke(j))}};var St={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]},Lr={};for(var Bn in St)Lr[JSON.stringify(St[Bn])]=Bn},7227:function(ve,be,H){var O=H(4126),M=function(){return new _};for(var T in O){M[T+"Raw"]=function(h){return function(L){return"number"==typeof L&&(L=Array.prototype.slice.call(arguments)),O[h](L)}}(T);var v=/(\w+)2(\w+)/.exec(T),d=v[1],c=v[2];(M[d]=M[d]||{})[c]=M[T]=function(h){return function(L){"number"==typeof L&&(L=Array.prototype.slice.call(arguments));var w=O[h](L);if("string"==typeof w||void 0===w)return w;for(var x=0;x=20?"ste":"de")},week:{dow:1,doy:4}})}(H(5439))},2502:function(ve,be,H){!function(O){"use strict";O.defineLocale("ar-dz",{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:"\u0627\u062d\u062f_\u0627\u062b\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:"\u0623\u062d_\u0625\u062b_\u062b\u0644\u0627_\u0623\u0631_\u062e\u0645_\u062c\u0645_\u0633\u0628".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:4}})}(H(5439))},128:function(ve,be,H){!function(O){"use strict";O.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}})}(H(5439))},4519:function(ve,be,H){!function(O){"use strict";var M={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},T=function(L){return 0===L?0:1===L?1:2===L?2:L%100>=3&&L%100<=10?3:L%100>=11?4:5},v={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"]},d=function(L){return function(w,x,D,y){var F=T(w),N=v[L][T(w)];return 2===F&&(N=N[x?0:1]),N.replace(/%d/i,w)}},c=["\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"];O.defineLocale("ar-ly",{months:c,monthsShort:c,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(L){return"\u0645"===L},meridiem:function(L,w,x){return L<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:d("s"),ss:d("s"),m:d("m"),mm:d("m"),h:d("h"),hh:d("h"),d:d("d"),dd:d("d"),M:d("M"),MM:d("M"),y:d("y"),yy:d("y")},preparse:function(L){return L.replace(/\u060c/g,",")},postformat:function(L){return L.replace(/\d/g,function(w){return M[w]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(H(5439))},5443:function(ve,be,H){!function(O){"use strict";O.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}})}(H(5439))},7642:function(ve,be,H){!function(O){"use strict";var M={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},T={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};O.defineLocale("ar-sa",{months:"\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".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\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".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"},meridiemParse:/\u0635|\u0645/,isPM:function(c){return"\u0645"===c},meridiem:function(c,_,h){return c<12?"\u0635":"\u0645"},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"},preparse:function(c){return c.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(_){return T[_]}).replace(/\u060c/g,",")},postformat:function(c){return c.replace(/\d/g,function(_){return M[_]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(H(5439))},8592:function(ve,be,H){!function(O){"use strict";O.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}})}(H(5439))},7038:function(ve,be,H){!function(O){"use strict";var M={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},T={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},v=function(w){return 0===w?0:1===w?1:2===w?2:w%100>=3&&w%100<=10?3:w%100>=11?4:5},d={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"]},c=function(w){return function(x,D,y,F){var N=v(x),W=d[w][v(x)];return 2===N&&(W=W[D?0:1]),W.replace(/%d/i,x)}},_=["\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"];O.defineLocale("ar",{months:_,monthsShort:_,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(w){return"\u0645"===w},meridiem:function(w,x,D){return w<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:c("s"),ss:c("s"),m:c("m"),mm:c("m"),h:c("h"),hh:c("h"),d:c("d"),dd:c("d"),M:c("M"),MM:c("M"),y:c("y"),yy:c("y")},preparse:function(w){return w.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(x){return T[x]}).replace(/\u060c/g,",")},postformat:function(w){return w.replace(/\d/g,function(x){return M[x]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(H(5439))},1213:function(ve,be,H){!function(O){"use strict";var M={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};O.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"birne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(d){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(d)},meridiem:function(d,c,_){return d<4?"gec\u0259":d<12?"s\u0259h\u0259r":d<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(d){if(0===d)return d+"-\u0131nc\u0131";var c=d%10;return d+(M[c]||M[d%100-c]||M[d>=100?100:null])},week:{dow:1,doy:7}})}(H(5439))},9191:function(ve,be,H){!function(O){"use strict";function T(d,c,_){return"m"===_?c?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===_?c?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":d+" "+function M(d,c){var _=d.split("_");return c%10==1&&c%100!=11?_[0]:c%10>=2&&c%10<=4&&(c%100<10||c%100>=20)?_[1]:_[2]}({ss:c?"\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:c?"\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:c?"\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"}[_],+d)}O.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(c){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(c)},meridiem:function(c,_,h){return c<4?"\u043d\u043e\u0447\u044b":c<12?"\u0440\u0430\u043d\u0456\u0446\u044b":c<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(c,_){switch(_){case"M":case"d":case"DDD":case"w":case"W":return c%10!=2&&c%10!=3||c%100==12||c%100==13?c+"-\u044b":c+"-\u0456";case"D":return c+"-\u0433\u0430";default:return c}},week:{dow:1,doy:7}})}(H(5439))},322:function(ve,be,H){!function(O){"use strict";O.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\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:"\u044f\u043d\u0440_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".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\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0412 \u0438\u0437\u043c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u0412 \u0438\u0437\u043c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \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\u043d\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",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(v){var d=v%10,c=v%100;return 0===v?v+"-\u0435\u0432":0===c?v+"-\u0435\u043d":c>10&&c<20?v+"-\u0442\u0438":1===d?v+"-\u0432\u0438":2===d?v+"-\u0440\u0438":7===d||8===d?v+"-\u043c\u0438":v+"-\u0442\u0438"},week:{dow:1,doy:7}})}(H(5439))},8042:function(ve,be,H){!function(O){"use strict";O.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}})}(H(5439))},9620:function(ve,be,H){!function(O){"use strict";var M={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},T={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};O.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(c){return c.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(_){return T[_]})},postformat:function(c){return c.replace(/\d/g,function(_){return M[_]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(c,_){return 12===c&&(c=0),"\u09b0\u09be\u09a4"===_&&c>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===_&&c<5||"\u09ac\u09bf\u0995\u09be\u09b2"===_?c+12:c},meridiem:function(c,_,h){return c<4?"\u09b0\u09be\u09a4":c<10?"\u09b8\u0995\u09be\u09b2":c<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":c<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(H(5439))},9645:function(ve,be,H){!function(O){"use strict";var M={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},T={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};O.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".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:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(c){return c.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(_){return T[_]})},postformat:function(c){return c.replace(/\d/g,function(_){return M[_]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(c,_){return 12===c&&(c=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===_&&c>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===_&&c<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===_?c+12:c},meridiem:function(c,_,h){return c<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":c<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":c<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":c<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(H(5439))},5020:function(ve,be,H){!function(O){"use strict";function M(h,L,w){return h+" "+function d(h,L){return 2===L?function c(h){var L={m:"v",b:"v",d:"z"};return void 0===L[h.charAt(0)]?h:L[h.charAt(0)]+h.substring(1)}(h):h}({mm:"munutenn",MM:"miz",dd:"devezh"}[w],h)}function v(h){return h>9?v(h%10):h}O.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:M,h:"un eur",hh:"%d eur",d:"un devezh",dd:M,M:"ur miz",MM:M,y:"ur bloaz",yy:function T(h){switch(v(h)){case 1:case 3:case 4:case 5:case 9:return h+" bloaz";default:return h+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(L){return L+(1===L?"a\xf1":"vet")},week:{dow:1,doy:4}})}(H(5439))},4792:function(ve,be,H){!function(O){"use strict";function M(v,d,c){var _=v+" ";switch(c){case"ss":return _+(1===v?"sekunda":2===v||3===v||4===v?"sekunde":"sekundi");case"m":return d?"jedna minuta":"jedne minute";case"mm":return _+(1===v?"minuta":2===v||3===v||4===v?"minute":"minuta");case"h":return d?"jedan sat":"jednog sata";case"hh":return _+(1===v?"sat":2===v||3===v||4===v?"sata":"sati");case"dd":return _+(1===v?"dan":"dana");case"MM":return _+(1===v?"mjesec":2===v||3===v||4===v?"mjeseca":"mjeseci");case"yy":return _+(1===v?"godina":2===v||3===v||4===v?"godine":"godina")}}O.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\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:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:M,m:M,mm:M,h:M,hh:M,d:"dan",dd:M,M:"mjesec",MM:M,y:"godinu",yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(H(5439))},7980:function(ve,be,H){!function(O){"use strict";O.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(v,d){var c=1===v?"r":2===v?"n":3===v?"r":4===v?"t":"\xe8";return("w"===d||"W"===d)&&(c="a"),v+c},week:{dow:1,doy:4}})}(H(5439))},7322:function(ve,be,H){!function(O){"use strict";var M="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),T="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_");function v(_){return _>1&&_<5&&1!=~~(_/10)}function d(_,h,L,w){var x=_+" ";switch(L){case"s":return h||w?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return h||w?x+(v(_)?"sekundy":"sekund"):x+"sekundami";case"m":return h?"minuta":w?"minutu":"minutou";case"mm":return h||w?x+(v(_)?"minuty":"minut"):x+"minutami";case"h":return h?"hodina":w?"hodinu":"hodinou";case"hh":return h||w?x+(v(_)?"hodiny":"hodin"):x+"hodinami";case"d":return h||w?"den":"dnem";case"dd":return h||w?x+(v(_)?"dny":"dn\xed"):x+"dny";case"M":return h||w?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return h||w?x+(v(_)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):x+"m\u011bs\xedci";case"y":return h||w?"rok":"rokem";case"yy":return h||w?x+(v(_)?"roky":"let"):x+"lety"}}O.defineLocale("cs",{months:M,monthsShort:T,monthsParse:function(_,h){var L,w=[];for(L=0;L<12;L++)w[L]=new RegExp("^"+_[L]+"$|^"+h[L]+"$","i");return w}(M,T),shortMonthsParse:function(_){var h,L=[];for(h=0;h<12;h++)L[h]=new RegExp("^"+_[h]+"$","i");return L}(T),longMonthsParse:function(_){var h,L=[];for(h=0;h<12;h++)L[h]=new RegExp("^"+_[h]+"$","i");return L}(M),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:d,ss:d,m:d,mm:d,h:d,hh:d,d:d,dd:d,M:d,MM:d,y:d,yy:d},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},365:function(ve,be,H){!function(O){"use strict";O.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(v){return v+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(v)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(v)?"\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}})}(H(5439))},2092:function(ve,be,H){!function(O){"use strict";O.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(v){var c="";return v>20?c=40===v||50===v||60===v||80===v||100===v?"fed":"ain":v>0&&(c=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][v]),v+c},week:{dow:1,doy:4}})}(H(5439))},7387:function(ve,be,H){!function(O){"use strict";O.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}})}(H(5439))},9459:function(ve,be,H){!function(O){"use strict";function M(v,d,c,_){var h={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[v+" Tage",v+" Tagen"],M:["ein Monat","einem Monat"],MM:[v+" Monate",v+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[v+" Jahre",v+" Jahren"]};return d?h[c][0]:h[c][1]}O.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:M,mm:"%d Minuten",h:M,hh:"%d Stunden",d:M,dd:M,M:M,MM:M,y:M,yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},3694:function(ve,be,H){!function(O){"use strict";function M(v,d,c,_){var h={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[v+" Tage",v+" Tagen"],M:["ein Monat","einem Monat"],MM:[v+" Monate",v+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[v+" Jahre",v+" Jahren"]};return d?h[c][0]:h[c][1]}O.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:M,mm:"%d Minuten",h:M,hh:"%d Stunden",d:M,dd:M,M:M,MM:M,y:M,yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},4307:function(ve,be,H){!function(O){"use strict";function M(v,d,c,_){var h={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[v+" Tage",v+" Tagen"],M:["ein Monat","einem Monat"],MM:[v+" Monate",v+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[v+" Jahre",v+" Jahren"]};return d?h[c][0]:h[c][1]}O.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:M,mm:"%d Minuten",h:M,hh:"%d Stunden",d:M,dd:M,M:M,MM:M,y:M,yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},9659:function(ve,be,H){!function(O){"use strict";var M=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],T=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];O.defineLocale("dv",{months:M,monthsShort:M,weekdays:T,weekdaysShort:T,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(c){return"\u0789\u078a"===c},meridiem:function(c,_,h){return c<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(c){return c.replace(/\u060c/g,",")},postformat:function(c){return c.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(H(5439))},3460:function(ve,be,H){!function(O){"use strict";O.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(d,c){return d?"string"==typeof c&&/D/.test(c.substring(0,c.indexOf("MMMM")))?this._monthsGenitiveEl[d.month()]:this._monthsNominativeEl[d.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(d,c,_){return d>11?_?"\u03bc\u03bc":"\u039c\u039c":_?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(d){return"\u03bc"===(d+"").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(){return 6===this.day()?"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT":"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"},sameElse:"L"},calendar:function(d,c){var _=this._calendarEl[d],h=c&&c.hours();return function M(v){return v instanceof Function||"[object Function]"===Object.prototype.toString.call(v)}(_)&&(_=_.apply(c)),_.replace("{}",h%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}})}(H(5439))},4369:function(ve,be,H){!function(O){"use strict";O.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(v){var d=v%10;return v+(1==~~(v%100/10)?"th":1===d?"st":2===d?"nd":3===d?"rd":"th")},week:{dow:1,doy:4}})}(H(5439))},530:function(ve,be,H){!function(O){"use strict";O.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(v){var d=v%10;return v+(1==~~(v%100/10)?"th":1===d?"st":2===d?"nd":3===d?"rd":"th")}})}(H(5439))},9998:function(ve,be,H){!function(O){"use strict";O.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(v){var d=v%10;return v+(1==~~(v%100/10)?"th":1===d?"st":2===d?"nd":3===d?"rd":"th")},week:{dow:1,doy:4}})}(H(5439))},3391:function(ve,be,H){!function(O){"use strict";O.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(v){var d=v%10;return v+(1==~~(v%100/10)?"th":1===d?"st":2===d?"nd":3===d?"rd":"th")},week:{dow:1,doy:4}})}(H(5439))},5414:function(ve,be,H){!function(O){"use strict";O.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(v){var d=v%10;return v+(1==~~(v%100/10)?"th":1===d?"st":2===d?"nd":3===d?"rd":"th")}})}(H(5439))},1248:function(ve,be,H){!function(O){"use strict";O.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(v){var d=v%10;return v+(1==~~(v%100/10)?"th":1===d?"st":2===d?"nd":3===d?"rd":"th")},week:{dow:1,doy:4}})}(H(5439))},4530:function(ve,be,H){!function(O){"use strict";O.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(v){return"p"===v.charAt(0).toLowerCase()},meridiem:function(v,d,c){return v>11?c?"p.t.m.":"P.T.M.":c?"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}})}(H(5439))},8944:function(ve,be,H){!function(O){"use strict";var M="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),T="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),v=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],d=/^(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;O.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(h,L){return h?/-MMM-/.test(L)?T[h.month()]:M[h.month()]:M},monthsRegex:d,monthsShortRegex:d,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:v,longMonthsParse:v,shortMonthsParse:v,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}})}(H(5439))},3609:function(ve,be,H){!function(O){"use strict";var M="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),T="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");O.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(c,_){return c?/-MMM-/.test(_)?T[c.month()]:M[c.month()]:M},monthsParseExact:!0,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:"MMMM [de] D [de] YYYY",LLL:"MMMM [de] D [de] YYYY h:mm A",LLLL:"dddd, MMMM [de] D [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}})}(H(5439))},6866:function(ve,be,H){!function(O){"use strict";var M="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),T="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),v=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],d=/^(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;O.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(h,L){return h?/-MMM-/.test(L)?T[h.month()]:M[h.month()]:M},monthsRegex:d,monthsShortRegex:d,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:v,longMonthsParse:v,shortMonthsParse:v,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",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\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}})}(H(5439))},6725:function(ve,be,H){!function(O){"use strict";function M(v,d,c,_){var h={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[v+"sekundi",v+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[v+" minuti",v+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[v+" tunni",v+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[v+" kuu",v+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[v+" aasta",v+" aastat"]};return d?h[c][2]?h[c][2]:h[c][1]:_?h[c][0]:h[c][1]}O.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:M,ss:M,m:M,mm:M,h:M,hh:M,d:M,dd:"%d p\xe4eva",M:M,MM:M,y:M,yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},7931:function(ve,be,H){!function(O){"use strict";O.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}})}(H(5439))},6417:function(ve,be,H){!function(O){"use strict";var M={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},T={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};O.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(c){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(c)},meridiem:function(c,_,h){return c<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(c){return c.replace(/[\u06f0-\u06f9]/g,function(_){return T[_]}).replace(/\u060c/g,",")},postformat:function(c){return c.replace(/\d/g,function(_){return M[_]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(H(5439))},944:function(ve,be,H){!function(O){"use strict";var M="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),T=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",M[7],M[8],M[9]];function v(_,h,L,w){var x="";switch(L){case"s":return w?"muutaman sekunnin":"muutama sekunti";case"ss":return w?"sekunnin":"sekuntia";case"m":return w?"minuutin":"minuutti";case"mm":x=w?"minuutin":"minuuttia";break;case"h":return w?"tunnin":"tunti";case"hh":x=w?"tunnin":"tuntia";break;case"d":return w?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":x=w?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return w?"kuukauden":"kuukausi";case"MM":x=w?"kuukauden":"kuukautta";break;case"y":return w?"vuoden":"vuosi";case"yy":x=w?"vuoden":"vuotta"}return function d(_,h){return _<10?h?T[_]:M[_]:_}(_,w)+" "+x}O.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:v,ss:v,m:v,mm:v,h:v,hh:v,d:v,dd:v,M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},5867:function(ve,be,H){!function(O){"use strict";O.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minutt",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0i",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},6848:function(ve,be,H){!function(O){"use strict";O.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(v,d){switch(d){default:case"M":case"Q":case"D":case"DDD":case"d":return v+(1===v?"er":"e");case"w":case"W":return v+(1===v?"re":"e")}}})}(H(5439))},7773:function(ve,be,H){!function(O){"use strict";O.defineLocale("fr-ch",{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:"DD.MM.YYYY",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(v,d){switch(d){default:case"M":case"Q":case"D":case"DDD":case"d":return v+(1===v?"er":"e");case"w":case"W":return v+(1===v?"re":"e")}},week:{dow:1,doy:4}})}(H(5439))},1636:function(ve,be,H){!function(O){"use strict";O.defineLocale("fr",{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:"DD/MM/YYYY",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|)/,ordinal:function(v,d){switch(d){case"D":return v+(1===v?"er":"");default:case"M":case"Q":case"DDD":case"d":return v+(1===v?"er":"e");case"w":case"W":return v+(1===v?"re":"e")}},week:{dow:1,doy:4}})}(H(5439))},4940:function(ve,be,H){!function(O){"use strict";var M="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),T="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");O.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(c,_){return c?/-MMM-/.test(_)?T[c.month()]:M[c.month()]:M},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(c){return c+(1===c||8===c||c>=20?"ste":"de")},week:{dow:1,doy:4}})}(H(5439))},6924:function(ve,be,H){!function(O){"use strict";O.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(L){return L+(1===L?"d":L%10==2?"na":"mh")},week:{dow:1,doy:4}})}(H(5439))},6398:function(ve,be,H){!function(O){"use strict";O.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(v){return 0===v.indexOf("un")?"n"+v:"en "+v},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(H(5439))},2545:function(ve,be,H){!function(O){"use strict";function M(v,d,c,_){var h={s:["thodde secondanim","thodde second"],ss:[v+" secondanim",v+" second"],m:["eka mintan","ek minute"],mm:[v+" mintanim",v+" mintam"],h:["eka horan","ek hor"],hh:[v+" horanim",v+" horam"],d:["eka disan","ek dis"],dd:[v+" disanim",v+" dis"],M:["eka mhoinean","ek mhoino"],MM:[v+" mhoineanim",v+" mhoine"],y:["eka vorsan","ek voros"],yy:[v+" vorsanim",v+" vorsam"]};return d?h[c][0]:h[c][1]}O.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:M,ss:M,m:M,mm:M,h:M,hh:M,d:M,dd:M,M:M,MM:M,y:M,yy:M},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(d,c){return"D"===c?d+"er":d},week:{dow:1,doy:4},meridiemParse:/rati|sokalli|donparam|sanje/,meridiemHour:function(d,c){return 12===d&&(d=0),"rati"===c?d<4?d:d+12:"sokalli"===c?d:"donparam"===c?d>12?d:d+12:"sanje"===c?d+12:void 0},meridiem:function(d,c,_){return d<4?"rati":d<12?"sokalli":d<16?"donparam":d<20?"sanje":"rati"}})}(H(5439))},2641:function(ve,be,H){!function(O){"use strict";var M={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},T={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};O.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ac7\u0ab9\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(c){return c.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(_){return T[_]})},postformat:function(c){return c.replace(/\d/g,function(_){return M[_]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(c,_){return 12===c&&(c=0),"\u0ab0\u0abe\u0aa4"===_?c<4?c:c+12:"\u0ab8\u0ab5\u0abe\u0ab0"===_?c:"\u0aac\u0aaa\u0acb\u0ab0"===_?c>=10?c:c+12:"\u0ab8\u0abe\u0a82\u0a9c"===_?c+12:void 0},meridiem:function(c,_,h){return c<4?"\u0ab0\u0abe\u0aa4":c<10?"\u0ab8\u0ab5\u0abe\u0ab0":c<17?"\u0aac\u0aaa\u0acb\u0ab0":c<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(H(5439))},7536:function(ve,be,H){!function(O){"use strict";O.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(v){return 2===v?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":v+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(v){return 2===v?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":v+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(v){return 2===v?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":v+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(v){return 2===v?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":v%10==0&&10!==v?v+" \u05e9\u05e0\u05d4":v+" \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(v){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(v)},meridiem:function(v,d,c){return v<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":v<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":v<12?c?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":v<18?c?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(H(5439))},6335:function(ve,be,H){!function(O){"use strict";var M={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},T={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};O.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(c){return c.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(_){return T[_]})},postformat:function(c){return c.replace(/\d/g,function(_){return M[_]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(c,_){return 12===c&&(c=0),"\u0930\u093e\u0924"===_?c<4?c:c+12:"\u0938\u0941\u092c\u0939"===_?c:"\u0926\u094b\u092a\u0939\u0930"===_?c>=10?c:c+12:"\u0936\u093e\u092e"===_?c+12:void 0},meridiem:function(c,_,h){return c<4?"\u0930\u093e\u0924":c<10?"\u0938\u0941\u092c\u0939":c<17?"\u0926\u094b\u092a\u0939\u0930":c<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(H(5439))},7458:function(ve,be,H){!function(O){"use strict";function M(v,d,c){var _=v+" ";switch(c){case"ss":return _+(1===v?"sekunda":2===v||3===v||4===v?"sekunde":"sekundi");case"m":return d?"jedna minuta":"jedne minute";case"mm":return _+(1===v?"minuta":2===v||3===v||4===v?"minute":"minuta");case"h":return d?"jedan sat":"jednog sata";case"hh":return _+(1===v?"sat":2===v||3===v||4===v?"sata":"sati");case"dd":return _+(1===v?"dan":"dana");case"MM":return _+(1===v?"mjesec":2===v||3===v||4===v?"mjeseca":"mjeseci");case"yy":return _+(1===v?"godina":2===v||3===v||4===v?"godine":"godina")}}O.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".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:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:M,m:M,mm:M,h:M,hh:M,d:"dan",dd:M,M:"mjesec",MM:M,y:"godinu",yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(H(5439))},6540:function(ve,be,H){!function(O){"use strict";var M="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function T(c,_,h,L){var w=c;switch(h){case"s":return L||_?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return w+(L||_)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(L||_?" perc":" perce");case"mm":return w+(L||_?" perc":" perce");case"h":return"egy"+(L||_?" \xf3ra":" \xf3r\xe1ja");case"hh":return w+(L||_?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(L||_?" nap":" napja");case"dd":return w+(L||_?" nap":" napja");case"M":return"egy"+(L||_?" h\xf3nap":" h\xf3napja");case"MM":return w+(L||_?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(L||_?" \xe9v":" \xe9ve");case"yy":return w+(L||_?" \xe9v":" \xe9ve")}return""}function v(c){return(c?"":"[m\xfalt] ")+"["+M[this.day()]+"] LT[-kor]"}O.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan_feb_m\xe1rc_\xe1pr_m\xe1j_j\xfan_j\xfal_aug_szept_okt_nov_dec".split("_"),weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(_){return"u"===_.charAt(1).toLowerCase()},meridiem:function(_,h,L){return _<12?!0===L?"de":"DE":!0===L?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return v.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return v.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:T,ss:T,m:T,mm:T,h:T,hh:T,d:T,dd:T,M:T,MM:T,y:T,yy:T},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},5283:function(ve,be,H){!function(O){"use strict";O.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(v){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(v)},meridiem:function(v){return v<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":v<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":v<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(v,d){switch(d){case"DDD":case"w":case"W":case"DDDo":return 1===v?v+"-\u056b\u0576":v+"-\u0580\u0564";default:return v}},week:{dow:1,doy:7}})}(H(5439))},8780:function(ve,be,H){!function(O){"use strict";O.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(v,d){return 12===v&&(v=0),"pagi"===d?v:"siang"===d?v>=11?v:v+12:"sore"===d||"malam"===d?v+12:void 0},meridiem:function(v,d,c){return v<11?"pagi":v<15?"siang":v<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}})}(H(5439))},4205:function(ve,be,H){!function(O){"use strict";function M(d){return d%100==11||d%10!=1}function T(d,c,_,h){var L=d+" ";switch(_){case"s":return c||h?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return M(d)?L+(c||h?"sek\xfandur":"sek\xfandum"):L+"sek\xfanda";case"m":return c?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return M(d)?L+(c||h?"m\xedn\xfatur":"m\xedn\xfatum"):c?L+"m\xedn\xfata":L+"m\xedn\xfatu";case"hh":return M(d)?L+(c||h?"klukkustundir":"klukkustundum"):L+"klukkustund";case"d":return c?"dagur":h?"dag":"degi";case"dd":return M(d)?c?L+"dagar":L+(h?"daga":"d\xf6gum"):c?L+"dagur":L+(h?"dag":"degi");case"M":return c?"m\xe1nu\xf0ur":h?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return M(d)?c?L+"m\xe1nu\xf0ir":L+(h?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):c?L+"m\xe1nu\xf0ur":L+(h?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return c||h?"\xe1r":"\xe1ri";case"yy":return M(d)?L+(c||h?"\xe1r":"\xe1rum"):L+(c||h?"\xe1r":"\xe1ri")}}O.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:T,ss:T,m:T,mm:T,h:"klukkustund",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}})}(H(5439))},4211:function(ve,be,H){!function(O){"use strict";O.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(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(v){return(/^[0-9].+$/.test(v)?"tra":"in")+" "+v},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}})}(H(5439))},1003:function(ve,be,H){!function(O){"use strict";O.defineLocale("ja",{months:"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("_"),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(v){return"\u5348\u5f8c"===v},meridiem:function(v,d,c){return v<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(v){return v.week()=11?v:v+12:"sonten"===d||"ndalu"===d?v+12:void 0},meridiem:function(v,d,c){return v<11?"enjing":v<15?"siyang":v<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}})}(H(5439))},851:function(ve,be,H){!function(O){"use strict";O.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(v){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10ec\u10d4\u10da\u10d8)/.test(v)?v.replace(/\u10d8$/,"\u10e8\u10d8"):v+"\u10e8\u10d8"},past:function(v){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(v)?v.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(v)?v.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(v){return 0===v?v:1===v?v+"-\u10da\u10d8":v<20||v<=100&&v%20==0||v%100==0?"\u10db\u10d4-"+v:v+"-\u10d4"},week:{dow:1,doy:7}})}(H(5439))},6074:function(ve,be,H){!function(O){"use strict";var M={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"};O.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(d){return d+(M[d]||M[d%10]||M[d>=100?100:null])},week:{dow:1,doy:7}})}(H(5439))},3343:function(ve,be,H){!function(O){"use strict";var M={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},T={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};O.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(c){return"\u179b\u17d2\u1784\u17b6\u1785"===c},meridiem:function(c,_,h){return c<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(c){return c.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(_){return T[_]})},postformat:function(c){return c.replace(/\d/g,function(_){return M[_]})},week:{dow:1,doy:4}})}(H(5439))},4799:function(ve,be,H){!function(O){"use strict";var M={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},T={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};O.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(c){return c.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(_){return T[_]})},postformat:function(c){return c.replace(/\d/g,function(_){return M[_]})},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(c,_){return 12===c&&(c=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===_?c<4?c:c+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===_?c:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===_?c>=10?c:c+12:"\u0cb8\u0c82\u0c9c\u0cc6"===_?c+12:void 0},meridiem:function(c,_,h){return c<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":c<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":c<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":c<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(c){return c+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(H(5439))},3549:function(ve,be,H){!function(O){"use strict";O.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(v,d){switch(d){case"d":case"D":case"DDD":return v+"\uc77c";case"M":return v+"\uc6d4";case"w":case"W":return v+"\uc8fc";default:return v}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(v){return"\uc624\ud6c4"===v},meridiem:function(v,d,c){return v<12?"\uc624\uc804":"\uc624\ud6c4"}})}(H(5439))},3125:function(ve,be,H){!function(O){"use strict";var M={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};O.defineLocale("ky",{months:"\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:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".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\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u0435 \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(d){return d+(M[d]||M[d%10]||M[d>=100?100:null])},week:{dow:1,doy:7}})}(H(5439))},9586:function(ve,be,H){!function(O){"use strict";function M(_,h,L,w){var x={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 h?x[L][0]:x[L][1]}function d(_){if(_=parseInt(_,10),isNaN(_))return!1;if(_<0)return!0;if(_<10)return 4<=_&&_<=7;if(_<100){var h=_%10;return d(0===h?_/10:h)}if(_<1e4){for(;_>=10;)_/=10;return d(_)}return d(_/=1e3)}O.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 T(_){return d(_.substr(0,_.indexOf(" ")))?"a "+_:"an "+_},past:function v(_){return d(_.substr(0,_.indexOf(" ")))?"viru "+_:"virun "+_},s:"e puer Sekonnen",ss:"%d Sekonnen",m:M,mm:"%d Minutten",h:M,hh:"%d Stonnen",d:M,dd:"%d Deeg",M:M,MM:"%d M\xe9int",y:M,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},2349:function(ve,be,H){!function(O){"use strict";O.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".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:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(v){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===v},meridiem:function(v,d,c){return v<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(v){return"\u0e97\u0eb5\u0ec8"+v}})}(H(5439))},2400:function(ve,be,H){!function(O){"use strict";var M={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function v(L,w,x,D){return w?c(x)[0]:D?c(x)[1]:c(x)[2]}function d(L){return L%10==0||L>10&&L<20}function c(L){return M[L].split("_")}function _(L,w,x,D){var y=L+" ";return 1===L?y+v(0,w,x[0],D):w?y+(d(L)?c(x)[1]:c(x)[0]):D?y+c(x)[1]:y+(d(L)?c(x)[1]:c(x)[2])}O.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 T(L,w,x,D){return w?"kelios sekund\u0117s":D?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:_,m:v,mm:_,h:v,hh:_,d:v,dd:_,M:v,MM:_,y:v,yy:_},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(w){return w+"-oji"},week:{dow:1,doy:4}})}(H(5439))},9991:function(ve,be,H){!function(O){"use strict";var M={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 T(h,L,w){return w?L%10==1&&L%100!=11?h[2]:h[3]:L%10==1&&L%100!=11?h[0]:h[1]}function v(h,L,w){return h+" "+T(M[w],h,L)}function d(h,L,w){return T(M[w],h,L)}O.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 c(h,L){return L?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:v,m:d,mm:v,h:d,hh:v,d:d,dd:v,M:d,MM:v,y:d,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},8477:function(ve,be,H){!function(O){"use strict";var M={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(d,c){return 1===d?c[0]:d>=2&&d<=4?c[1]:c[2]},translate:function(d,c,_){var h=M.words[_];return 1===_.length?c?h[0]:h[1]:d+" "+M.correctGrammaticalCase(d,h)}};O.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:M.translate,m:M.translate,mm:M.translate,h:M.translate,hh:M.translate,d:"dan",dd:M.translate,M:"mjesec",MM:M.translate,y:"godinu",yy:M.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(H(5439))},5118:function(ve,be,H){!function(O){"use strict";O.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}})}(H(5439))},5943:function(ve,be,H){!function(O){"use strict";O.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(v){var d=v%10,c=v%100;return 0===v?v+"-\u0435\u0432":0===c?v+"-\u0435\u043d":c>10&&c<20?v+"-\u0442\u0438":1===d?v+"-\u0432\u0438":2===d?v+"-\u0440\u0438":7===d||8===d?v+"-\u043c\u0438":v+"-\u0442\u0438"},week:{dow:1,doy:7}})}(H(5439))},3849:function(ve,be,H){!function(O){"use strict";O.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(v,d){return 12===v&&(v=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===d&&v>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===d||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===d?v+12:v},meridiem:function(v,d,c){return v<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":v<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":v<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":v<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(H(5439))},1977:function(ve,be,H){!function(O){"use strict";function M(v,d,c,_){switch(c){case"s":return d?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return v+(d?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return v+(d?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return v+(d?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return v+(d?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return v+(d?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return v+(d?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return v}}O.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(d){return"\u04ae\u0425"===d},meridiem:function(d,c,_){return d<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:M,ss:M,m:M,mm:M,h:M,hh:M,d:M,dd:M,M:M,MM:M,y:M,yy:M},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(d,c){switch(c){case"d":case"D":case"DDD":return d+" \u04e9\u0434\u04e9\u0440";default:return d}}})}(H(5439))},6184:function(ve,be,H){!function(O){"use strict";var M={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},T={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function v(c,_,h,L){var w="";if(_)switch(h){case"s":w="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":w="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":w="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":w="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":w="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":w="%d \u0924\u093e\u0938";break;case"d":w="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":w="%d \u0926\u093f\u0935\u0938";break;case"M":w="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":w="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":w="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":w="%d \u0935\u0930\u094d\u0937\u0947"}else switch(h){case"s":w="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":w="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":w="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":w="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":w="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":w="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":w="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":w="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":w="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":w="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":w="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":w="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return w.replace(/%d/i,c)}O.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:v,ss:v,m:v,mm:v,h:v,hh:v,d:v,dd:v,M:v,MM:v,y:v,yy:v},preparse:function(_){return _.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(h){return T[h]})},postformat:function(_){return _.replace(/\d/g,function(h){return M[h]})},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(_,h){return 12===_&&(_=0),"\u0930\u093e\u0924\u094d\u0930\u0940"===h?_<4?_:_+12:"\u0938\u0915\u093e\u0933\u0940"===h?_:"\u0926\u0941\u092a\u093e\u0930\u0940"===h?_>=10?_:_+12:"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===h?_+12:void 0},meridiem:function(_,h,L){return _<4?"\u0930\u093e\u0924\u094d\u0930\u0940":_<10?"\u0938\u0915\u093e\u0933\u0940":_<17?"\u0926\u0941\u092a\u093e\u0930\u0940":_<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(H(5439))},4524:function(ve,be,H){!function(O){"use strict";O.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(v,d){return 12===v&&(v=0),"pagi"===d?v:"tengahari"===d?v>=11?v:v+12:"petang"===d||"malam"===d?v+12:void 0},meridiem:function(v,d,c){return v<11?"pagi":v<15?"tengahari":v<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}})}(H(5439))},485:function(ve,be,H){!function(O){"use strict";O.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(v,d){return 12===v&&(v=0),"pagi"===d?v:"tengahari"===d?v>=11?v:v+12:"petang"===d||"malam"===d?v+12:void 0},meridiem:function(v,d,c){return v<11?"pagi":v<15?"tengahari":v<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}})}(H(5439))},6681:function(ve,be,H){!function(O){"use strict";O.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(H(5439))},2024:function(ve,be,H){!function(O){"use strict";var M={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},T={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};O.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".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:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(c){return c.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(_){return T[_]})},postformat:function(c){return c.replace(/\d/g,function(_){return M[_]})},week:{dow:1,doy:4}})}(H(5439))},2688:function(ve,be,H){!function(O){"use strict";O.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}})}(H(5439))},8914:function(ve,be,H){!function(O){"use strict";var M={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},T={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};O.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(c){return c.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(_){return T[_]})},postformat:function(c){return c.replace(/\d/g,function(_){return M[_]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(c,_){return 12===c&&(c=0),"\u0930\u093e\u0924\u093f"===_?c<4?c:c+12:"\u092c\u093f\u0939\u093e\u0928"===_?c:"\u0926\u093f\u0909\u0901\u0938\u094b"===_?c>=10?c:c+12:"\u0938\u093e\u0901\u091d"===_?c+12:void 0},meridiem:function(c,_,h){return c<3?"\u0930\u093e\u0924\u093f":c<12?"\u092c\u093f\u0939\u093e\u0928":c<16?"\u0926\u093f\u0909\u0901\u0938\u094b":c<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}})}(H(5439))},2272:function(ve,be,H){!function(O){"use strict";var M="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),T="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),v=[/^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],d=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;O.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(h,L){return h?/-MMM-/.test(L)?T[h.month()]:M[h.month()]:M},monthsRegex:d,monthsShortRegex:d,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:v,longMonthsParse:v,shortMonthsParse:v,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(h){return h+(1===h||8===h||h>=20?"ste":"de")},week:{dow:1,doy:4}})}(H(5439))},1758:function(ve,be,H){!function(O){"use strict";var M="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),T="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),v=[/^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],d=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;O.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(h,L){return h?/-MMM-/.test(L)?T[h.month()]:M[h.month()]:M},monthsRegex:d,monthsShortRegex:d,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:v,longMonthsParse:v,shortMonthsParse:v,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(h){return h+(1===h||8===h||h>=20?"ste":"de")},week:{dow:1,doy:4}})}(H(5439))},1510:function(ve,be,H){!function(O){"use strict";O.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}})}(H(5439))},7944:function(ve,be,H){!function(O){"use strict";var M={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},T={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};O.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(c){return c.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(_){return T[_]})},postformat:function(c){return c.replace(/\d/g,function(_){return M[_]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(c,_){return 12===c&&(c=0),"\u0a30\u0a3e\u0a24"===_?c<4?c:c+12:"\u0a38\u0a35\u0a47\u0a30"===_?c:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===_?c>=10?c:c+12:"\u0a38\u0a3c\u0a3e\u0a2e"===_?c+12:void 0},meridiem:function(c,_,h){return c<4?"\u0a30\u0a3e\u0a24":c<10?"\u0a38\u0a35\u0a47\u0a30":c<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":c<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(H(5439))},1605:function(ve,be,H){!function(O){"use strict";var M="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),T="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_");function v(_){return _%10<5&&_%10>1&&~~(_/10)%10!=1}function d(_,h,L){var w=_+" ";switch(L){case"ss":return w+(v(_)?"sekundy":"sekund");case"m":return h?"minuta":"minut\u0119";case"mm":return w+(v(_)?"minuty":"minut");case"h":return h?"godzina":"godzin\u0119";case"hh":return w+(v(_)?"godziny":"godzin");case"MM":return w+(v(_)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return w+(v(_)?"lata":"lat")}}O.defineLocale("pl",{months:function(h,L){return h?""===L?"("+T[h.month()]+"|"+M[h.month()]+")":/D MMMM/.test(L)?T[h.month()]:M[h.month()]:M},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:d,m:d,mm:d,h:d,hh:d,d:"1 dzie\u0144",dd:"%d dni",M:"miesi\u0105c",MM:d,y:"rok",yy:d},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},3840:function(ve,be,H){!function(O){"use strict";O.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"})}(H(5439))},4225:function(ve,be,H){!function(O){"use strict";O.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}})}(H(5439))},5128:function(ve,be,H){!function(O){"use strict";function M(v,d,c){var h=" ";return(v%100>=20||v>=100&&v%100==0)&&(h=" de "),v+h+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[c]}O.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:M,m:"un minut",mm:M,h:"o or\u0103",hh:M,d:"o zi",dd:M,M:"o lun\u0103",MM:M,y:"un an",yy:M},week:{dow:1,doy:7}})}(H(5439))},5127:function(ve,be,H){!function(O){"use strict";function T(c,_,h){return"m"===h?_?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":c+" "+function M(c,_){var h=c.split("_");return _%10==1&&_%100!=11?h[0]:_%10>=2&&_%10<=4&&(_%100<10||_%100>=20)?h[1]:h[2]}({ss:_?"\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:_?"\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"}[h],+c)}var v=[/^\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];O.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:v,longMonthsParse:v,shortMonthsParse:v,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(_){if(_.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(_){if(_.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(_){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(_)},meridiem:function(_,h,L){return _<4?"\u043d\u043e\u0447\u0438":_<12?"\u0443\u0442\u0440\u0430":_<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(_,h){switch(h){case"M":case"d":case"DDD":return _+"-\u0439";case"D":return _+"-\u0433\u043e";case"w":case"W":return _+"-\u044f";default:return _}},week:{dow:1,doy:4}})}(H(5439))},2525:function(ve,be,H){!function(O){"use strict";var M=["\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"],T=["\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"];O.defineLocale("sd",{months:M,monthsShort:M,weekdays:T,weekdaysShort:T,weekdaysMin:T,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(c){return"\u0634\u0627\u0645"===c},meridiem:function(c,_,h){return c<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(c){return c.replace(/\u060c/g,",")},postformat:function(c){return c.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(H(5439))},9893:function(ve,be,H){!function(O){"use strict";O.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}})}(H(5439))},3123:function(ve,be,H){!function(O){"use strict";O.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(v){return v+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(v){return"\u0db4.\u0dc0."===v||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===v},meridiem:function(v,d,c){return v>11?c?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":c?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(H(5439))},9635:function(ve,be,H){!function(O){"use strict";var M="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),T="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function v(_){return _>1&&_<5}function d(_,h,L,w){var x=_+" ";switch(L){case"s":return h||w?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return h||w?x+(v(_)?"sekundy":"sek\xfand"):x+"sekundami";case"m":return h?"min\xfata":w?"min\xfatu":"min\xfatou";case"mm":return h||w?x+(v(_)?"min\xfaty":"min\xfat"):x+"min\xfatami";case"h":return h?"hodina":w?"hodinu":"hodinou";case"hh":return h||w?x+(v(_)?"hodiny":"hod\xedn"):x+"hodinami";case"d":return h||w?"de\u0148":"d\u0148om";case"dd":return h||w?x+(v(_)?"dni":"dn\xed"):x+"d\u0148ami";case"M":return h||w?"mesiac":"mesiacom";case"MM":return h||w?x+(v(_)?"mesiace":"mesiacov"):x+"mesiacmi";case"y":return h||w?"rok":"rokom";case"yy":return h||w?x+(v(_)?"roky":"rokov"):x+"rokmi"}}O.defineLocale("sk",{months:M,monthsShort:T,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:case 4:case 5:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:d,ss:d,m:d,mm:d,h:d,hh:d,d:d,dd:d,M:d,MM:d,y:d,yy:d},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},8106:function(ve,be,H){!function(O){"use strict";function M(v,d,c,_){var h=v+" ";switch(c){case"s":return d||_?"nekaj sekund":"nekaj sekundami";case"ss":return h+(1===v?d?"sekundo":"sekundi":2===v?d||_?"sekundi":"sekundah":v<5?d||_?"sekunde":"sekundah":"sekund");case"m":return d?"ena minuta":"eno minuto";case"mm":return h+(1===v?d?"minuta":"minuto":2===v?d||_?"minuti":"minutama":v<5?d||_?"minute":"minutami":d||_?"minut":"minutami");case"h":return d?"ena ura":"eno uro";case"hh":return h+(1===v?d?"ura":"uro":2===v?d||_?"uri":"urama":v<5?d||_?"ure":"urami":d||_?"ur":"urami");case"d":return d||_?"en dan":"enim dnem";case"dd":return h+(1===v?d||_?"dan":"dnem":2===v?d||_?"dni":"dnevoma":d||_?"dni":"dnevi");case"M":return d||_?"en mesec":"enim mesecem";case"MM":return h+(1===v?d||_?"mesec":"mesecem":2===v?d||_?"meseca":"mesecema":v<5?d||_?"mesece":"meseci":d||_?"mesecev":"meseci");case"y":return d||_?"eno leto":"enim letom";case"yy":return h+(1===v?d||_?"leto":"letom":2===v?d||_?"leti":"letoma":v<5?d||_?"leta":"leti":d||_?"let":"leti")}}O.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:M,ss:M,m:M,mm:M,h:M,hh:M,d:M,dd:M,M:M,MM:M,y:M,yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(H(5439))},8799:function(ve,be,H){!function(O){"use strict";O.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(v){return"M"===v.charAt(0)},meridiem:function(v,d,c){return v<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},2872:function(ve,be,H){!function(O){"use strict";var M={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u0435 \u043c\u0438\u043d\u0443\u0442\u0435"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0435","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],yy:["\u0433\u043e\u0434\u0438\u043d\u0430","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(d,c){return 1===d?c[0]:d>=2&&d<=4?c[1]:c[2]},translate:function(d,c,_){var h=M.words[_];return 1===_.length?c?h[0]:h[1]:d+" "+M.correctGrammaticalCase(d,h)}};O.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:M.translate,m:M.translate,mm:M.translate,h:M.translate,hh:M.translate,d:"\u0434\u0430\u043d",dd:M.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:M.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",yy:M.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(H(5439))},7949:function(ve,be,H){!function(O){"use strict";var M={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(d,c){return 1===d?c[0]:d>=2&&d<=4?c[1]:c[2]},translate:function(d,c,_){var h=M.words[_];return 1===_.length?c?h[0]:h[1]:d+" "+M.correctGrammaticalCase(d,h)}};O.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:M.translate,m:M.translate,mm:M.translate,h:M.translate,hh:M.translate,d:"dan",dd:M.translate,M:"mesec",MM:M.translate,y:"godinu",yy:M.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(H(5439))},6167:function(ve,be,H){!function(O){"use strict";O.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(v,d,c){return v<11?"ekuseni":v<15?"emini":v<19?"entsambama":"ebusuku"},meridiemHour:function(v,d){return 12===v&&(v=0),"ekuseni"===d?v:"emini"===d?v>=11?v:v+12:"entsambama"===d||"ebusuku"===d?0===v?0:v+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(H(5439))},9713:function(ve,be,H){!function(O){"use strict";O.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(e|a)/,ordinal:function(v){var d=v%10;return v+(1==~~(v%100/10)?"e":1===d||2===d?"a":"e")},week:{dow:1,doy:4}})}(H(5439))},1982:function(ve,be,H){!function(O){"use strict";O.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}})}(H(5439))},2732:function(ve,be,H){!function(O){"use strict";var M={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},T={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};O.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(c){return c+"\u0bb5\u0ba4\u0bc1"},preparse:function(c){return c.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(_){return T[_]})},postformat:function(c){return c.replace(/\d/g,function(_){return M[_]})},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(c,_,h){return c<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":c<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":c<10?" \u0b95\u0bbe\u0bb2\u0bc8":c<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":c<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":c<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(c,_){return 12===c&&(c=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===_?c<2?c:c+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===_||"\u0b95\u0bbe\u0bb2\u0bc8"===_||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===_&&c>=10?c:c+12},week:{dow:0,doy:6}})}(H(5439))},3636:function(ve,be,H){!function(O){"use strict";O.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\u0c42\u0c32\u0c46\u0c56_\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\u0c42\u0c32\u0c46\u0c56_\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(v,d){return 12===v&&(v=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===d?v<4?v:v+12:"\u0c09\u0c26\u0c2f\u0c02"===d?v:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===d?v>=10?v:v+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===d?v+12:void 0},meridiem:function(v,d,c){return v<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":v<10?"\u0c09\u0c26\u0c2f\u0c02":v<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":v<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(H(5439))},2115:function(ve,be,H){!function(O){"use strict";O.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(v){var d=v%10;return v+(1==~~(v%100/10)?"th":1===d?"st":2===d?"nd":3===d?"rd":"th")},week:{dow:1,doy:4}})}(H(5439))},9801:function(ve,be,H){!function(O){"use strict";var M={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"};O.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(d,c){return 12===d&&(d=0),"\u0448\u0430\u0431"===c?d<4?d:d+12:"\u0441\u0443\u0431\u04b3"===c?d:"\u0440\u04ef\u0437"===c?d>=11?d:d+12:"\u0431\u0435\u0433\u043e\u04b3"===c?d+12:void 0},meridiem:function(d,c,_){return d<4?"\u0448\u0430\u0431":d<11?"\u0441\u0443\u0431\u04b3":d<16?"\u0440\u04ef\u0437":d<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(d){return d+(M[d]||M[d%10]||M[d>=100?100:null])},week:{dow:1,doy:7}})}(H(5439))},2868:function(ve,be,H){!function(O){"use strict";O.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(v){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===v},meridiem:function(v,d,c){return v<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"}})}(H(5439))},2360:function(ve,be,H){!function(O){"use strict";O.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(v){return v},week:{dow:1,doy:4}})}(H(5439))},6645:function(ve,be,H){!function(O){"use strict";var M="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function d(h,L,w,x){var D=function c(h){var L=Math.floor(h%1e3/100),w=Math.floor(h%100/10),x=h%10,D="";return L>0&&(D+=M[L]+"vatlh"),w>0&&(D+=(""!==D?" ":"")+M[w]+"maH"),x>0&&(D+=(""!==D?" ":"")+M[x]),""===D?"pagh":D}(h);switch(w){case"ss":return D+" lup";case"mm":return D+" tup";case"hh":return D+" rep";case"dd":return D+" jaj";case"MM":return D+" jar";case"yy":return D+" DIS"}}O.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 T(h){var L=h;return-1!==h.indexOf("jaj")?L.slice(0,-3)+"leS":-1!==h.indexOf("jar")?L.slice(0,-3)+"waQ":-1!==h.indexOf("DIS")?L.slice(0,-3)+"nem":L+" pIq"},past:function v(h){var L=h;return-1!==h.indexOf("jaj")?L.slice(0,-3)+"Hu\u2019":-1!==h.indexOf("jar")?L.slice(0,-3)+"wen":-1!==h.indexOf("DIS")?L.slice(0,-3)+"ben":L+" ret"},s:"puS lup",ss:d,m:"wa\u2019 tup",mm:d,h:"wa\u2019 rep",hh:d,d:"wa\u2019 jaj",dd:d,M:"wa\u2019 jar",MM:d,y:"wa\u2019 DIS",yy:d},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(H(5439))},8374:function(ve,be,H){!function(O){"use strict";var M={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};O.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(d,c){switch(c){case"d":case"D":case"Do":case"DD":return d;default:if(0===d)return d+"'\u0131nc\u0131";var _=d%10;return d+(M[_]||M[d%100-_]||M[d>=100?100:null])}},week:{dow:1,doy:7}})}(H(5439))},256:function(ve,be,H){!function(O){"use strict";function T(v,d,c,_){var h={s:["viensas secunds","'iensas secunds"],ss:[v+" secunds",v+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[v+" m\xeduts",v+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[v+" \xfeoras",v+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[v+" ziuas",v+" ziuas"],M:["'n mes","'iens mes"],MM:[v+" mesen",v+" mesen"],y:["'n ar","'iens ar"],yy:[v+" ars",v+" ars"]};return _||d?h[c][0]:h[c][1]}O.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(d){return"d'o"===d.toLowerCase()},meridiem:function(d,c,_){return d>11?_?"d'o":"D'O":_?"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}})}(H(5439))},1631:function(ve,be,H){!function(O){"use strict";O.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(H(5439))},1595:function(ve,be,H){!function(O){"use strict";O.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}})}(H(5439))},6050:function(ve,be,H){!function(O){"use strict";O.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(v,d){return 12===v&&(v=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===d||"\u0633\u06d5\u06be\u06d5\u0631"===d||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===d?v:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===d||"\u0643\u06d5\u0686"===d?v+12:v>=11?v:v+12},meridiem:function(v,d,c){var _=100*v+d;return _<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":_<900?"\u0633\u06d5\u06be\u06d5\u0631":_<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":_<1230?"\u0686\u06c8\u0634":_<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(v,d){switch(d){case"d":case"D":case"DDD":return v+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return v+"-\u06be\u06d5\u067e\u062a\u06d5";default:return v}},preparse:function(v){return v.replace(/\u060c/g,",")},postformat:function(v){return v.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(H(5439))},5610:function(ve,be,H){!function(O){"use strict";function T(_,h,L){return"m"===L?h?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===L?h?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":_+" "+function M(_,h){var L=_.split("_");return h%10==1&&h%100!=11?L[0]:h%10>=2&&h%10<=4&&(h%100<10||h%100>=20)?L[1]:L[2]}({ss:h?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:h?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:h?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[L],+_)}function d(_){return function(){return _+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}O.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 v(_,h){var L={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 _?L[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(h)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(h)?"genitive":"nominative"][_.day()]:L.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:d("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:d("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:d("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:d("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return d("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return d("[\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(h){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(h)},meridiem:function(h,L,w){return h<4?"\u043d\u043e\u0447\u0456":h<12?"\u0440\u0430\u043d\u043a\u0443":h<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(h,L){switch(L){case"M":case"d":case"DDD":case"w":case"W":return h+"-\u0439";case"D":return h+"-\u0433\u043e";default:return h}},week:{dow:1,doy:7}})}(H(5439))},6077:function(ve,be,H){!function(O){"use strict";var M=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],T=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];O.defineLocale("ur",{months:M,monthsShort:M,weekdays:T,weekdaysShort:T,weekdaysMin:T,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(c){return"\u0634\u0627\u0645"===c},meridiem:function(c,_,h){return c<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(c){return c.replace(/\u060c/g,",")},postformat:function(c){return c.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(H(5439))},2207:function(ve,be,H){!function(O){"use strict";O.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(H(5439))},2862:function(ve,be,H){!function(O){"use strict";O.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}})}(H(5439))},8093:function(ve,be,H){!function(O){"use strict";O.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(v){return/^ch$/i.test(v)},meridiem:function(v,d,c){return v<12?c?"sa":"SA":c?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n r\u1ed3i l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(v){return v},week:{dow:1,doy:4}})}(H(5439))},5590:function(ve,be,H){!function(O){"use strict";O.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(v){var d=v%10;return v+(1==~~(v%100/10)?"th":1===d?"st":2===d?"nd":3===d?"rd":"th")},week:{dow:1,doy:4}})}(H(5439))},9058:function(ve,be,H){!function(O){"use strict";O.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}})}(H(5439))},7908:function(ve,be,H){!function(O){"use strict";O.defineLocale("zh-cn",{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:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\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\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",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(v,d){return 12===v&&(v=0),"\u51cc\u6668"===d||"\u65e9\u4e0a"===d||"\u4e0a\u5348"===d?v:"\u4e0b\u5348"===d||"\u665a\u4e0a"===d?v+12:v>=11?v:v+12},meridiem:function(v,d,c){var _=100*v+d;return _<600?"\u51cc\u6668":_<900?"\u65e9\u4e0a":_<1130?"\u4e0a\u5348":_<1230?"\u4e2d\u5348":_<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(v,d){switch(d){case"d":case"D":case"DDD":return v+"\u65e5";case"M":return v+"\u6708";case"w":case"W":return v+"\u5468";default:return v}},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}})}(H(5439))},8867:function(ve,be,H){!function(O){"use strict";O.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(v,d){return 12===v&&(v=0),"\u51cc\u6668"===d||"\u65e9\u4e0a"===d||"\u4e0a\u5348"===d?v:"\u4e2d\u5348"===d?v>=11?v:v+12:"\u4e0b\u5348"===d||"\u665a\u4e0a"===d?v+12:void 0},meridiem:function(v,d,c){var _=100*v+d;return _<600?"\u51cc\u6668":_<900?"\u65e9\u4e0a":_<1130?"\u4e0a\u5348":_<1230?"\u4e2d\u5348":_<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(v,d){switch(d){case"d":case"D":case"DDD":return v+"\u65e5";case"M":return v+"\u6708";case"w":case"W":return v+"\u9031";default:return v}},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"}})}(H(5439))},3291:function(ve,be,H){!function(O){"use strict";O.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(v,d){return 12===v&&(v=0),"\u51cc\u6668"===d||"\u65e9\u4e0a"===d||"\u4e0a\u5348"===d?v:"\u4e2d\u5348"===d?v>=11?v:v+12:"\u4e0b\u5348"===d||"\u665a\u4e0a"===d?v+12:void 0},meridiem:function(v,d,c){var _=100*v+d;return _<600?"\u51cc\u6668":_<900?"\u65e9\u4e0a":_<1130?"\u4e0a\u5348":_<1230?"\u4e2d\u5348":_<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(v,d){switch(d){case"d":case"D":case"DDD":return v+"\u65e5";case"M":return v+"\u6708";case"w":case"W":return v+"\u9031";default:return v}},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"}})}(H(5439))},5439:function(ve,be,H){(ve=H.nmd(ve)).exports=function(){"use strict";var O,W;function M(){return O.apply(null,arguments)}function v(k){return k instanceof Array||"[object Array]"===Object.prototype.toString.call(k)}function d(k){return null!=k&&"[object Object]"===Object.prototype.toString.call(k)}function _(k){return void 0===k}function h(k){return"number"==typeof k||"[object Number]"===Object.prototype.toString.call(k)}function L(k){return k instanceof Date||"[object Date]"===Object.prototype.toString.call(k)}function w(k,A){var $,z=[];for($=0;$>>0,oe=0;oe<$;oe++)if(oe in z&&A.call(this,z[oe],oe,z))return!0;return!1};var ce=M.momentProperties=[];function ne(k,A){var z,$,oe;if(_(A._isAMomentObject)||(k._isAMomentObject=A._isAMomentObject),_(A._i)||(k._i=A._i),_(A._f)||(k._f=A._f),_(A._l)||(k._l=A._l),_(A._strict)||(k._strict=A._strict),_(A._tzm)||(k._tzm=A._tzm),_(A._isUTC)||(k._isUTC=A._isUTC),_(A._offset)||(k._offset=A._offset),_(A._pf)||(k._pf=N(A)),_(A._locale)||(k._locale=A._locale),ce.length>0)for(z=0;z=0?z?"+":"":"-")+Math.pow(10,Math.max(0,A-$.length)).toString().substr(1)+$}var Ae=/(\[[^\[]*\])|(\\)?([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,Ie=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ct={},ht={};function nt(k,A,z,$){var oe=$;"string"==typeof $&&(oe=function(){return this[$]()}),k&&(ht[k]=oe),A&&(ht[A[0]]=function(){return Pe(oe.apply(this,arguments),A[1],A[2])}),z&&(ht[z]=function(){return this.localeData().ordinal(oe.apply(this,arguments),k)})}function mn(k){return k.match(/\[[\s\S]/)?k.replace(/^\[|\]$/g,""):k.replace(/\\/g,"")}function Ft(k,A){return k.isValid()?(A=zt(A,k.localeData()),ct[A]=ct[A]||function In(k){var z,$,A=k.match(Ae);for(z=0,$=A.length;z<$;z++)A[z]=ht[A[z]]?ht[A[z]]:mn(A[z]);return function(oe){var Be,Oe="";for(Be=0;Be<$;Be++)Oe+=Fe(A[Be])?A[Be].call(oe,k):A[Be];return Oe}}(A),ct[A](k)):k.localeData().invalidDate()}function zt(k,A){var z=5;function $(oe){return A.longDateFormat(oe)||oe}for(Ie.lastIndex=0;z>=0&&Ie.test(k);)k=k.replace(Ie,$),Ie.lastIndex=0,z-=1;return k}var Kn=/\d/,Vn=/\d\d/,ga=/\d{3}/,Vi=/\d{4}/,kr=/[+-]?\d{6}/,Gt=/\d\d?/,Fn=/\d\d\d\d?/,gn=/\d\d\d\d\d\d?/,$e=/\d{1,3}/,Dc=/\d{1,4}/,Nl=/[+-]?\d{1,6}/,Hv=/\d+/,Yl=/[+-]?\d+/,Tc=/Z|[+-]\d\d:?\d\d/gi,Hl=/Z|[+-]\d\d(?::?\d\d)?/gi,Vs=/[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,Lc={};function it(k,A,z){Lc[k]=Fe(A)?A:function($,oe){return $&&z?z:A}}function Dn(k,A){return x(Lc,k)?Lc[k](A._strict,A._locale):new RegExp(function Vv(k){return Lo(k.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(A,z,$,oe,Oe){return z||$||oe||Oe}))}(k))}function Lo(k){return k.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var js={};function _n(k,A){var z,$=A;for("string"==typeof k&&(k=[k]),h(A)&&($=function(Oe,Be){Be[A]=te(Oe)}),z=0;z68?1900:2e3)};var Jn,Vl=no("FullYear",!0);function no(k,A){return function(z){return null!=z?(jl(this,k,z),M.updateOffset(this,A),this):ln(this,k)}}function ln(k,A){return k.isValid()?k._d["get"+(k._isUTC?"UTC":"")+A]():NaN}function jl(k,A,z){k.isValid()&&!isNaN(z)&&("FullYear"===A&&Bl(k.year())&&1===k.month()&&29===k.date()?k._d["set"+(k._isUTC?"UTC":"")+A](z,k.month(),Ec(z,k.month())):k._d["set"+(k._isUTC?"UTC":"")+A](z))}function Ec(k,A){if(isNaN(k)||isNaN(A))return NaN;var z=function Yt(k,A){return(k%A+A)%A}(A,12);return k+=(A-z)/12,1===z?Bl(k)?29:28:31-z%7%2}Jn=Array.prototype.indexOf?Array.prototype.indexOf:function(A){var z;for(z=0;z=0&&isFinite(Lt.getFullYear())&&Lt.setFullYear(k),Lt}function Ul(k){var A=new Date(Date.UTC.apply(null,arguments));return k<100&&k>=0&&isFinite(A.getUTCFullYear())&&A.setUTCFullYear(k),A}function zl(k,A,z){var $=7+A-z;return-(7+Ul(k,0,$).getUTCDay()-A)%7+$-1}function qv(k,A,z,$,oe){var en,ar,Lt=1+7*(A-1)+(7+z-$)%7+zl(k,$,oe);return Lt<=0?ar=Us(en=k-1)+Lt:Lt>Us(k)?(en=k+1,ar=Lt-Us(k)):(en=k,ar=Lt),{year:en,dayOfYear:ar}}function Ws(k,A,z){var Oe,Be,$=zl(k.year(),A,z),oe=Math.floor((k.dayOfYear()-$-1)/7)+1;return oe<1?Oe=oe+cs(Be=k.year()-1,A,z):oe>cs(k.year(),A,z)?(Oe=oe-cs(k.year(),A,z),Be=k.year()+1):(Be=k.year(),Oe=oe),{week:Oe,year:Be}}function cs(k,A,z){var $=zl(k,A,z),oe=zl(k+1,A,z);return(Us(k)-$+oe)/7}nt("w",["ww",2],"wo","week"),nt("W",["WW",2],"Wo","isoWeek"),de("week","w"),de("isoWeek","W"),_e("week",5),_e("isoWeek",5),it("w",Gt),it("ww",Gt,Vn),it("W",Gt),it("WW",Gt,Vn),Eo(["w","ww","W","WW"],function(k,A,z,$){A[$.substr(0,1)]=te(k)});nt("d",0,"do","day"),nt("dd",0,0,function(k){return this.localeData().weekdaysMin(this,k)}),nt("ddd",0,0,function(k){return this.localeData().weekdaysShort(this,k)}),nt("dddd",0,0,function(k){return this.localeData().weekdays(this,k)}),nt("e",0,0,"weekday"),nt("E",0,0,"isoWeekday"),de("day","d"),de("weekday","e"),de("isoWeekday","E"),_e("day",11),_e("weekday",11),_e("isoWeekday",11),it("d",Gt),it("e",Gt),it("E",Gt),it("dd",function(k,A){return A.weekdaysMinRegex(k)}),it("ddd",function(k,A){return A.weekdaysShortRegex(k)}),it("dddd",function(k,A){return A.weekdaysRegex(k)}),Eo(["dd","ddd","dddd"],function(k,A,z,$){var oe=z._locale.weekdaysParse(k,$,z._strict);null!=oe?A.d=oe:N(z).invalidWeekday=k}),Eo(["d","e","E"],function(k,A,z,$){A[$]=te(k)});var xc="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");var Rf="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");var Nf="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function Oc(k,A,z){var $,oe,Oe,Be=k.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],$=0;$<7;++$)Oe=y([2e3,1]).day($),this._minWeekdaysParse[$]=this.weekdaysMin(Oe,"").toLocaleLowerCase(),this._shortWeekdaysParse[$]=this.weekdaysShort(Oe,"").toLocaleLowerCase(),this._weekdaysParse[$]=this.weekdays(Oe,"").toLocaleLowerCase();return z?"dddd"===A?-1!==(oe=Jn.call(this._weekdaysParse,Be))?oe:null:"ddd"===A?-1!==(oe=Jn.call(this._shortWeekdaysParse,Be))?oe:null:-1!==(oe=Jn.call(this._minWeekdaysParse,Be))?oe:null:"dddd"===A?-1!==(oe=Jn.call(this._weekdaysParse,Be))||-1!==(oe=Jn.call(this._shortWeekdaysParse,Be))||-1!==(oe=Jn.call(this._minWeekdaysParse,Be))?oe:null:"ddd"===A?-1!==(oe=Jn.call(this._shortWeekdaysParse,Be))||-1!==(oe=Jn.call(this._weekdaysParse,Be))||-1!==(oe=Jn.call(this._minWeekdaysParse,Be))?oe:null:-1!==(oe=Jn.call(this._minWeekdaysParse,Be))||-1!==(oe=Jn.call(this._weekdaysParse,Be))||-1!==(oe=Jn.call(this._shortWeekdaysParse,Be))?oe:null}var Zv=Vs;var Hf=Vs;var io=Vs;function Bf(){function k(Yr,Zs){return Zs.length-Yr.length}var Oe,Be,Lt,en,ar,A=[],z=[],$=[],oe=[];for(Oe=0;Oe<7;Oe++)Be=y([2e3,1]).day(Oe),Lt=this.weekdaysMin(Be,""),en=this.weekdaysShort(Be,""),ar=this.weekdays(Be,""),A.push(Lt),z.push(en),$.push(ar),oe.push(Lt),oe.push(en),oe.push(ar);for(A.sort(k),z.sort(k),$.sort(k),oe.sort(k),Oe=0;Oe<7;Oe++)z[Oe]=Lo(z[Oe]),$[Oe]=Lo($[Oe]),oe[Oe]=Lo(oe[Oe]);this._weekdaysRegex=new RegExp("^("+oe.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+$.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+z.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+A.join("|")+")","i")}function Vf(){return this.hours()%12||12}function jf(k,A){nt(k,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),A)})}function Uf(k,A){return A._meridiemParse}nt("H",["HH",2],0,"hour"),nt("h",["hh",2],0,Vf),nt("k",["kk",2],0,function na(){return this.hours()||24}),nt("hmm",0,0,function(){return""+Vf.apply(this)+Pe(this.minutes(),2)}),nt("hmmss",0,0,function(){return""+Vf.apply(this)+Pe(this.minutes(),2)+Pe(this.seconds(),2)}),nt("Hmm",0,0,function(){return""+this.hours()+Pe(this.minutes(),2)}),nt("Hmmss",0,0,function(){return""+this.hours()+Pe(this.minutes(),2)+Pe(this.seconds(),2)}),jf("a",!0),jf("A",!1),de("hour","h"),_e("hour",13),it("a",Uf),it("A",Uf),it("H",Gt),it("h",Gt),it("k",Gt),it("HH",Gt,Vn),it("hh",Gt,Vn),it("kk",Gt,Vn),it("hmm",Fn),it("hmmss",gn),it("Hmm",Fn),it("Hmmss",gn),_n(["H","HH"],3),_n(["k","kk"],function(k,A,z){var $=te(k);A[3]=24===$?0:$}),_n(["a","A"],function(k,A,z){z._isPm=z._locale.isPM(k),z._meridiem=k}),_n(["h","hh"],function(k,A,z){A[3]=te(k),N(z).bigHour=!0}),_n("hmm",function(k,A,z){var $=k.length-2;A[3]=te(k.substr(0,$)),A[4]=te(k.substr($)),N(z).bigHour=!0}),_n("hmmss",function(k,A,z){var $=k.length-4,oe=k.length-2;A[3]=te(k.substr(0,$)),A[4]=te(k.substr($,2)),A[5]=te(k.substr(oe)),N(z).bigHour=!0}),_n("Hmm",function(k,A,z){var $=k.length-2;A[3]=te(k.substr(0,$)),A[4]=te(k.substr($))}),_n("Hmmss",function(k,A,z){var $=k.length-4,oe=k.length-2;A[3]=te(k.substr(0,$)),A[4]=te(k.substr($,2)),A[5]=te(k.substr(oe))});var ao,Mk=no("Hours",!0),Xv={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:Pc,monthsShort:qr,week:{dow:0,doy:6},weekdays:xc,weekdaysMin:Nf,weekdaysShort:Rf,meridiemParse:/[ap]\.?m?\.?/i},jn={},dn={};function Gl(k){return k&&k.toLowerCase().replace("_","-")}function Gs(k){var A=null;if(!jn[k]&&ve&&ve.exports)try{A=ao._abbr,H(6700)("./"+k),pi(A)}catch($){}return jn[k]}function pi(k,A){var z;return k&&((z=_(A)?qe(k):Po(k,A))?ao=z:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+k+" not found. Did you forget to load it?")),ao._abbr}function Po(k,A){if(null!==A){var z,$=Xv;if(A.abbr=k,null!=jn[k])xe("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."),$=jn[k]._config;else if(null!=A.parentLocale)if(null!=jn[A.parentLocale])$=jn[A.parentLocale]._config;else{if(null==(z=Gs(A.parentLocale)))return dn[A.parentLocale]||(dn[A.parentLocale]=[]),dn[A.parentLocale].push({name:k,config:A}),null;$=z._config}return jn[k]=new Xe(Ke($,A)),dn[k]&&dn[k].forEach(function(oe){Po(oe.name,oe.config)}),pi(k),jn[k]}return delete jn[k],null}function qe(k){var A;if(k&&k._locale&&k._locale._abbr&&(k=k._locale._abbr),!k)return ao;if(!v(k)){if(A=Gs(k))return A;k=[k]}return function Ic(k){for(var z,$,oe,Oe,A=0;A0;){if(oe=Gs(Oe.slice(0,z).join("-")))return oe;if($&&$.length>=z&&ae(Oe,$,!0)>=z-1)break;z--}A++}return ao}(k)}function ql(k){var A,z=k._a;return z&&-2===N(k).overflow&&(A=z[1]<0||z[1]>11?1:z[2]<1||z[2]>Ec(z[0],z[1])?2:z[3]<0||z[3]>24||24===z[3]&&(0!==z[4]||0!==z[5]||0!==z[6])?3:z[4]<0||z[4]>59?4:z[5]<0||z[5]>59?5:z[6]<0||z[6]>999?6:-1,N(k)._overflowDayOfYear&&(A<0||A>2)&&(A=2),N(k)._overflowWeeks&&-1===A&&(A=7),N(k)._overflowWeekday&&-1===A&&(A=8),N(k).overflow=A),k}function xo(k,A,z){return null!=k?k:null!=A?A:z}function Tt(k){var A,z,oe,Oe,Be,$=[];if(!k._d){for(oe=function zf(k){var A=new Date(M.now());return k._useUTC?[A.getUTCFullYear(),A.getUTCMonth(),A.getUTCDate()]:[A.getFullYear(),A.getMonth(),A.getDate()]}(k),k._w&&null==k._a[2]&&null==k._a[1]&&function tm(k){var A,z,$,oe,Oe,Be,Lt,en;if(null!=(A=k._w).GG||null!=A.W||null!=A.E)Oe=1,Be=4,z=xo(A.GG,k._a[0],Ws(Sn(),1,4).year),$=xo(A.W,1),((oe=xo(A.E,1))<1||oe>7)&&(en=!0);else{Oe=k._locale._week.dow,Be=k._locale._week.doy;var ar=Ws(Sn(),Oe,Be);z=xo(A.gg,k._a[0],ar.year),$=xo(A.w,ar.week),null!=A.d?((oe=A.d)<0||oe>6)&&(en=!0):null!=A.e?(oe=A.e+Oe,(A.e<0||A.e>6)&&(en=!0)):oe=Oe}$<1||$>cs(z,Oe,Be)?N(k)._overflowWeeks=!0:null!=en?N(k)._overflowWeekday=!0:(Lt=qv(z,$,oe,Oe,Be),k._a[0]=Lt.year,k._dayOfYear=Lt.dayOfYear)}(k),null!=k._dayOfYear&&(Be=xo(k._a[0],oe[0]),(k._dayOfYear>Us(Be)||0===k._dayOfYear)&&(N(k)._overflowDayOfYear=!0),z=Ul(Be,0,k._dayOfYear),k._a[1]=z.getUTCMonth(),k._a[2]=z.getUTCDate()),A=0;A<3&&null==k._a[A];++A)k._a[A]=$[A]=oe[A];for(;A<7;A++)k._a[A]=$[A]=null==k._a[A]?2===A?1:0:k._a[A];24===k._a[3]&&0===k._a[4]&&0===k._a[5]&&0===k._a[6]&&(k._nextDay=!0,k._a[3]=0),k._d=(k._useUTC?Ul:mk).apply(null,$),Oe=k._useUTC?k._d.getUTCDay():k._d.getDay(),null!=k._tzm&&k._d.setUTCMinutes(k._d.getUTCMinutes()-k._tzm),k._nextDay&&(k._a[3]=24),k._w&&void 0!==k._w.d&&k._w.d!==Oe&&(N(k).weekdayMismatch=!0)}}var Wf=/^\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)?)?$/,et=/^\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)?)?$/,Kr=/Z|[+-]\d\d(?::?\d\d)?/,Mr=[["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}/]],ya=[["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/]],Oo=/^\/?Date\((\-?\d+)/i;function Di(k){var A,z,Oe,Be,Lt,en,$=k._i,oe=Wf.exec($)||et.exec($);if(oe){for(N(k).iso=!0,A=0,z=Mr.length;A0&&N(k).unusedInput.push(Be),A=A.slice(A.indexOf($)+$.length),en+=$.length),ht[Oe]?($?N(k).empty=!1:N(k).unusedTokens.push(Oe),Ci(Oe,$,k)):k._strict&&!$&&N(k).unusedTokens.push(Oe);N(k).charsLeftOver=Lt-en,A.length>0&&N(k).unusedInput.push(A),k._a[3]<=12&&!0===N(k).bigHour&&k._a[3]>0&&(N(k).bigHour=void 0),N(k).parsedDateParts=k._a.slice(0),N(k).meridiem=k._meridiem,k._a[3]=function Un(k,A,z){var $;return null==z?A:null!=k.meridiemHour?k.meridiemHour(A,z):(null!=k.isPM&&(($=k.isPM(z))&&A<12&&(A+=12),!$&&12===A&&(A=0)),A)}(k._locale,k._a[3],k._meridiem),Tt(k),ql(k)}else Ti(k);else Di(k)}function oo(k){var A=k._i,z=k._f;return k._locale=k._locale||qe(k._l),null===A||void 0===z&&""===A?ie({nullInput:!0}):("string"==typeof A&&(k._i=A=k._locale.preparse(A)),ee(A)?new ue(ql(A)):(L(A)?k._d=A:v(z)?function Li(k){var A,z,$,oe,Oe;if(0===k._f.length)return N(k).invalidFormat=!0,void(k._d=new Date(NaN));for(oe=0;oethis?this:k:ie()});function Fo(k,A){var z,$;if(1===A.length&&v(A[0])&&(A=A[0]),!A.length)return Sn();for(z=A[0],$=1;$(Oe=cs(k,$,oe))&&(A=Oe),$c.call(this,k,A,z,$,oe))}function $c(k,A,z,$,oe){var Oe=qv(k,A,z,$,oe),Be=Ul(Oe.year,0,Oe.dayOfYear);return this.year(Be.getUTCFullYear()),this.month(Be.getUTCMonth()),this.date(Be.getUTCDate()),this}nt(0,["gg",2],0,function(){return this.weekYear()%100}),nt(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Zr("gggg","weekYear"),Zr("ggggg","weekYear"),Zr("GGGG","isoWeekYear"),Zr("GGGGG","isoWeekYear"),de("weekYear","gg"),de("isoWeekYear","GG"),_e("weekYear",1),_e("isoWeekYear",1),it("G",Yl),it("g",Yl),it("GG",Gt,Vn),it("gg",Gt,Vn),it("GGGG",Dc,Vi),it("gggg",Dc,Vi),it("GGGGG",Nl,kr),it("ggggg",Nl,kr),Eo(["gggg","ggggg","GGGG","GGGGG"],function(k,A,z,$){A[$.substr(0,2)]=te(k)}),Eo(["gg","GG"],function(k,A,z,$){A[$]=M.parseTwoDigitYear(k)}),nt("Q",0,"Qo","quarter"),de("quarter","Q"),_e("quarter",7),it("Q",Kn),_n("Q",function(k,A){A[1]=3*(te(k)-1)}),nt("D",["DD",2],"Do","date"),de("date","D"),_e("date",9),it("D",Gt),it("DD",Gt,Vn),it("Do",function(k,A){return k?A._dayOfMonthOrdinalParse||A._ordinalParse:A._dayOfMonthOrdinalParseLenient}),_n(["D","DD"],2),_n("Do",function(k,A){A[2]=te(k.match(Gt)[0])});var bm=no("Date",!0);nt("DDD",["DDDD",3],"DDDo","dayOfYear"),de("dayOfYear","DDD"),_e("dayOfYear",4),it("DDD",$e),it("DDDD",ga),_n(["DDD","DDDD"],function(k,A,z){z._dayOfYear=te(k)}),nt("m",["mm",2],0,"minute"),de("minute","m"),_e("minute",14),it("m",Gt),it("mm",Gt,Vn),_n(["m","mm"],4);var Mm=no("Minutes",!1);nt("s",["ss",2],0,"second"),de("second","s"),_e("second",15),it("s",Gt),it("ss",Gt,Vn),_n(["s","ss"],5);var Ha,Cm=no("Seconds",!1);for(nt("S",0,0,function(){return~~(this.millisecond()/100)}),nt(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),nt(0,["SSS",3],0,"millisecond"),nt(0,["SSSS",4],0,function(){return 10*this.millisecond()}),nt(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),nt(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),nt(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),nt(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),nt(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),de("millisecond","ms"),_e("millisecond",16),it("S",$e,Kn),it("SS",$e,Vn),it("SSS",$e,ga),Ha="SSSS";Ha.length<=9;Ha+="S")it(Ha,Hv);function wm(k,A){A[6]=te(1e3*("0."+k))}for(Ha="S";Ha.length<=9;Ha+="S")_n(Ha,wm);var Sm=no("Milliseconds",!1);nt("z",0,0,"zoneAbbr"),nt("zz",0,0,"zoneName");var ke=ue.prototype;function _s(k){return k}ke.add=Vc,ke.calendar=function Fk(k,A){var z=k||Sn(),$=vs(z,this).startOf("day"),oe=M.calendarFormat(this,$)||"sameElse",Oe=A&&(Fe(A[oe])?A[oe].call(this,z):A[oe]);return this.format(Oe||this.localeData().calendar(oe,this,Sn(z)))},ke.clone=function Ro(){return new ue(this)},ke.diff=function Kf(k,A,z){var $,oe,Oe;if(!this.isValid())return NaN;if(!($=vs(k,this)).isValid())return NaN;switch(oe=6e4*($.utcOffset()-this.utcOffset()),A=he(A)){case"year":Oe=jc(this,$)/12;break;case"month":Oe=jc(this,$);break;case"quarter":Oe=jc(this,$)/3;break;case"second":Oe=(this-$)/1e3;break;case"minute":Oe=(this-$)/6e4;break;case"hour":Oe=(this-$)/36e5;break;case"day":Oe=(this-$-oe)/864e5;break;case"week":Oe=(this-$-oe)/6048e5;break;default:Oe=this-$}return z?Oe:Q(Oe)},ke.endOf=function Xn(k){return void 0===(k=he(k))||"millisecond"===k?this:("date"===k&&(k="day"),this.startOf(k).add(1,"isoWeek"===k?"week":k).subtract(1,"ms"))},ke.format=function zc(k){k||(k=this.isUtc()?M.defaultFormatUtc:M.defaultFormat);var A=Ft(this,k);return this.localeData().postformat(A)},ke.from=function hm(k,A){return this.isValid()&&(ee(k)&&k.isValid()||Sn(k).isValid())?ba({to:this,from:k}).locale(this.locale()).humanize(!A):this.localeData().invalidDate()},ke.fromNow=function Wc(k){return this.from(Sn(),k)},ke.to=function pm(k,A){return this.isValid()&&(ee(k)&&k.isValid()||Sn(k).isValid())?ba({from:this,to:k}).locale(this.locale()).humanize(!A):this.localeData().invalidDate()},ke.toNow=function vm(k){return this.to(Sn(),k)},ke.get=function Uv(k){return Fe(this[k=he(k)])?this[k]():this},ke.invalidAt=function Gc(){return N(this).overflow},ke.isAfter=function um(k,A){var z=ee(k)?k:Sn(k);return!(!this.isValid()||!z.isValid())&&("millisecond"===(A=he(_(A)?"millisecond":A))?this.valueOf()>z.valueOf():z.valueOf()9999?Ft(z,A?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Fe(Date.prototype.toISOString)?A?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",Ft(z,"Z")):Ft(z,A?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},ke.inspect=function zi(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var k="moment",A="";this.isLocal()||(k=0===this.utcOffset()?"moment.utc":"moment.parseZone",A="Z");var z="["+k+'("]',$=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY";return this.format(z+$+"-MM-DD[T]HH:mm:ss.SSS"+A+'[")]')},ke.toJSON=function eu(){return this.isValid()?this.toISOString():null},ke.toString=function Uc(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},ke.unix=function mm(){return Math.floor(this.valueOf()/1e3)},ke.valueOf=function Zf(){return this._d.valueOf()-6e4*(this._offset||0)},ke.creationData=function gs(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},ke.year=Vl,ke.isLeapYear=function Tn(){return Bl(this.year())},ke.weekYear=function Qf(k){return Kc.call(this,k,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},ke.isoWeekYear=function qc(k){return Kc.call(this,k,this.isoWeek(),this.isoWeekday(),1,4)},ke.quarter=ke.quarters=function wt(k){return null==k?Math.ceil((this.month()+1)/3):this.month(3*(k-1)+this.month()%3)},ke.month=hi,ke.daysInMonth=function hk(){return Ec(this.year(),this.month())},ke.week=ke.weeks=function yk(k){var A=this.localeData().week(this);return null==k?A:this.add(7*(k-A),"d")},ke.isoWeek=ke.isoWeeks=function Ue(k){var A=Ws(this,1,4).week;return null==k?A:this.add(7*(k-A),"d")},ke.weeksInYear=function so(){var k=this.localeData()._week;return cs(this.year(),k.dow,k.doy)},ke.isoWeeksInYear=function ym(){return cs(this.year(),1,4)},ke.date=bm,ke.day=ke.days=function $v(k){if(!this.isValid())return null!=k?this:NaN;var A=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=k?(k=function bk(k,A){return"string"!=typeof k?k:isNaN(k)?"number"==typeof(k=A.weekdaysParse(k))?k:null:parseInt(k,10)}(k,this.localeData()),this.add(k-A,"d")):A},ke.weekday=function Ct(k){if(!this.isValid())return null!=k?this:NaN;var A=(this.day()+7-this.localeData()._week.dow)%7;return null==k?A:this.add(k-A,"d")},ke.isoWeekday=function Ac(k){if(!this.isValid())return null!=k?this:NaN;if(null!=k){var A=function Pt(k,A){return"string"==typeof k?A.weekdaysParse(k)%7||7:isNaN(k)?null:k}(k,this.localeData());return this.day(this.day()%7?A:A-7)}return this.day()||7},ke.dayOfYear=function km(k){var A=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==k?A:this.add(k-A,"d")},ke.hour=ke.hours=Mk,ke.minute=ke.minutes=Mm,ke.second=ke.seconds=Cm,ke.millisecond=ke.milliseconds=Sm,ke.utcOffset=function rm(k,A,z){var oe,$=this._offset||0;if(!this.isValid())return null!=k?this:NaN;if(null!=k){if("string"==typeof k){if(null===(k=ps(Hl,k)))return this}else Math.abs(k)<16&&!z&&(k*=60);return!this._isUTC&&A&&(oe=Ei(this)),this._offset=k,this._isUTC=!0,null!=oe&&this.add(oe,"m"),$!==k&&(!A||this._changeInProgress?Bc(this,ba(k-$,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,M.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?$:Ei(this)},ke.utc=function im(k){return this.utcOffset(0,k)},ke.local=function am(k){return this._isUTC&&(this.utcOffset(0,k),this._isUTC=!1,k&&this.subtract(Ei(this),"m")),this},ke.parseZone=function wk(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var k=ps(Tc,this._i);null!=k?this.utcOffset(k):this.utcOffset(0,!0)}return this},ke.hasAlignedHourOffset=function Sk(k){return!!this.isValid()&&(k=k?Sn(k).utcOffset():0,(this.utcOffset()-k)%60==0)},ke.isDST=function Dk(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},ke.isLocal=function Lk(){return!!this.isValid()&&!this._isUTC},ke.isUtcOffset=function Ek(){return!!this.isValid()&&this._isUTC},ke.isUtc=om,ke.isUTC=om,ke.zoneAbbr=function je(){return this._isUTC?"UTC":""},ke.zoneName=function Xt(){return this._isUTC?"Coordinated Universal Time":""},ke.dates=X("dates accessor is deprecated. Use date instead.",bm),ke.months=X("months accessor is deprecated. Use month instead",hi),ke.years=X("years accessor is deprecated. Use year instead",Vl),ke.zone=X("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function Ck(k,A){return null!=k?("string"!=typeof k&&(k=-k),this.utcOffset(k,A),this):-this.utcOffset()}),ke.isDSTShifted=X("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function Tk(){if(!_(this._isDSTShifted))return this._isDSTShifted;var k={};if(ne(k,this),(k=oo(k))._a){var A=k._isUTC?y(k._a):Sn(k._a);this._isDSTShifted=this.isValid()&&ae(k._a,A.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var $t=Xe.prototype;function ys(k,A,z,$){var oe=qe(),Oe=y().set($,A);return oe[z](Oe,k)}function tu(k,A,z){if(h(k)&&(A=k,k=void 0),k=k||"",null!=A)return ys(k,A,z,"month");var $,oe=[];for($=0;$<12;$++)oe[$]=ys(k,$,z,"month");return oe}function Xf(k,A,z,$){"boolean"==typeof k?(h(A)&&(z=A,A=void 0),A=A||""):(z=A=k,k=!1,h(A)&&(z=A,A=void 0),A=A||"");var oe=qe(),Oe=k?oe._week.dow:0;if(null!=z)return ys(A,(z+Oe)%7,$,"day");var Be,Lt=[];for(Be=0;Be<7;Be++)Lt[Be]=ys(A,(Be+Oe)%7,$,"day");return Lt}$t.calendar=function Nt(k,A,z){var $=this._calendar[k]||this._calendar.sameElse;return Fe($)?$.call(A,z):$},$t.longDateFormat=function sn(k){var A=this._longDateFormat[k],z=this._longDateFormat[k.toUpperCase()];return A||!z?A:(this._longDateFormat[k]=z.replace(/MMMM|MM|DD|dddd/g,function($){return $.slice(1)}),this._longDateFormat[k])},$t.invalidDate=function Ve(){return this._invalidDate},$t.ordinal=function Lr(k){return this._ordinal.replace("%d",k)},$t.preparse=_s,$t.postformat=_s,$t.relativeTime=function j(k,A,z,$){var oe=this._relativeTime[z];return Fe(oe)?oe(k,A,z,$):oe.replace(/%d/i,k)},$t.pastFuture=function re(k,A){var z=this._relativeTime[k>0?"future":"past"];return Fe(z)?z(A):z.replace(/%s/i,A)},$t.set=function He(k){var A,z;for(z in k)Fe(A=k[z])?this[z]=A:this["_"+z]=A;this._config=k,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},$t.months=function Dt(k,A){return k?v(this._months)?this._months[k.month()]:this._months[(this._months.isFormat||dt).test(A)?"format":"standalone"][k.month()]:v(this._months)?this._months:this._months.standalone},$t.monthsShort=function zv(k,A){return k?v(this._monthsShort)?this._monthsShort[k.month()]:this._monthsShort[dt.test(A)?"format":"standalone"][k.month()]:v(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},$t.monthsParse=function fk(k,A,z){var $,oe,Oe;if(this._monthsParseExact)return dk.call(this,k,A,z);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),$=0;$<12;$++){if(oe=y([2e3,$]),z&&!this._longMonthsParse[$]&&(this._longMonthsParse[$]=new RegExp("^"+this.months(oe,"").replace(".","")+"$","i"),this._shortMonthsParse[$]=new RegExp("^"+this.monthsShort(oe,"").replace(".","")+"$","i")),!z&&!this._monthsParse[$]&&(Oe="^"+this.months(oe,"")+"|^"+this.monthsShort(oe,""),this._monthsParse[$]=new RegExp(Oe.replace(".",""),"i")),z&&"MMMM"===A&&this._longMonthsParse[$].test(k))return $;if(z&&"MMM"===A&&this._shortMonthsParse[$].test(k))return $;if(!z&&this._monthsParse[$].test(k))return $}},$t.monthsRegex=function vk(k){return this._monthsParseExact?(x(this,"_monthsRegex")||Gv.call(this),k?this._monthsStrictRegex:this._monthsRegex):(x(this,"_monthsRegex")||(this._monthsRegex=Na),this._monthsStrictRegex&&k?this._monthsStrictRegex:this._monthsRegex)},$t.monthsShortRegex=function pk(k){return this._monthsParseExact?(x(this,"_monthsRegex")||Gv.call(this),k?this._monthsShortStrictRegex:this._monthsShortRegex):(x(this,"_monthsShortRegex")||(this._monthsShortRegex=Wv),this._monthsShortStrictRegex&&k?this._monthsShortStrictRegex:this._monthsShortRegex)},$t.week=function Si(k){return Ws(k,this._week.dow,this._week.doy).week},$t.firstDayOfYear=function _k(){return this._week.doy},$t.firstDayOfWeek=function gk(){return this._week.dow},$t.weekdays=function Ff(k,A){return k?v(this._weekdays)?this._weekdays[k.day()]:this._weekdays[this._weekdays.isFormat.test(A)?"format":"standalone"][k.day()]:v(this._weekdays)?this._weekdays:this._weekdays.standalone},$t.weekdaysMin=function Wl(k){return k?this._weekdaysMin[k.day()]:this._weekdaysMin},$t.weekdaysShort=function Kv(k){return k?this._weekdaysShort[k.day()]:this._weekdaysShort},$t.weekdaysParse=function Yf(k,A,z){var $,oe,Oe;if(this._weekdaysParseExact)return Oc.call(this,k,A,z);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),$=0;$<7;$++){if(oe=y([2e3,1]).day($),z&&!this._fullWeekdaysParse[$]&&(this._fullWeekdaysParse[$]=new RegExp("^"+this.weekdays(oe,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[$]=new RegExp("^"+this.weekdaysShort(oe,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[$]=new RegExp("^"+this.weekdaysMin(oe,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[$]||(Oe="^"+this.weekdays(oe,"")+"|^"+this.weekdaysShort(oe,"")+"|^"+this.weekdaysMin(oe,""),this._weekdaysParse[$]=new RegExp(Oe.replace(".",""),"i")),z&&"dddd"===A&&this._fullWeekdaysParse[$].test(k))return $;if(z&&"ddd"===A&&this._shortWeekdaysParse[$].test(k))return $;if(z&&"dd"===A&&this._minWeekdaysParse[$].test(k))return $;if(!z&&this._weekdaysParse[$].test(k))return $}},$t.weekdaysRegex=function ro(k){return this._weekdaysParseExact?(x(this,"_weekdaysRegex")||Bf.call(this),k?this._weekdaysStrictRegex:this._weekdaysRegex):(x(this,"_weekdaysRegex")||(this._weekdaysRegex=Zv),this._weekdaysStrictRegex&&k?this._weekdaysStrictRegex:this._weekdaysRegex)},$t.weekdaysShortRegex=function kk(k){return this._weekdaysParseExact?(x(this,"_weekdaysRegex")||Bf.call(this),k?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(x(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Hf),this._weekdaysShortStrictRegex&&k?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},$t.weekdaysMinRegex=function ta(k){return this._weekdaysParseExact?(x(this,"_weekdaysRegex")||Bf.call(this),k?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(x(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=io),this._weekdaysMinStrictRegex&&k?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},$t.isPM=function Qv(k){return"p"===(k+"").toLowerCase().charAt(0)},$t.meridiem=function wn(k,A,z){return k>11?z?"pm":"PM":z?"am":"AM"},pi("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(A){var z=A%10;return A+(1===te(A%100/10)?"th":1===z?"st":2===z?"nd":3===z?"rd":"th")}}),M.lang=X("moment.lang is deprecated. Use moment.locale instead.",pi),M.langData=X("moment.langData is deprecated. Use moment.localeData instead.",qe);var ka=Math.abs;function Ma(k,A,z,$){var oe=ba(A,z);return k._milliseconds+=$*oe._milliseconds,k._days+=$*oe._days,k._months+=$*oe._months,k._bubble()}function th(k){return k<0?Math.floor(k):Math.ceil(k)}function iu(k){return 4800*k/146097}function Ks(k){return 146097*k/4800}function lo(k){return function(){return this.as(k)}}var rh=lo("ms"),au=lo("s"),ih=lo("m"),ah=lo("h"),oh=lo("d"),sh=lo("w"),ou=lo("M"),Em=lo("y");function mi(k){return function(){return this.isValid()?this._data[k]:NaN}}var er=mi("milliseconds"),No=mi("seconds"),xm=mi("minutes"),Qc=mi("hours"),Om=mi("days"),Am=mi("months"),Im=mi("years");var ia=Math.round,Pi={ss:44,s:45,m:45,h:22,d:26,M:11};function Jc(k,A,z,$,oe){return oe.relativeTime(A||1,!!z,k,$)}var Xc=Math.abs;function ks(k){return(k>0)-(k<0)||+k}function co(){if(!this.isValid())return this.localeData().invalidDate();var $,oe,k=Xc(this._milliseconds)/1e3,A=Xc(this._days),z=Xc(this._months);$=Q(k/60),oe=Q($/60),k%=60,$%=60;var Be=Q(z/12),Lt=z%=12,en=A,ar=oe,Yr=$,Zs=k?k.toFixed(3).replace(/\.?0+$/,""):"",Ca=this.asSeconds();if(!Ca)return"P0D";var ed=Ca<0?"-":"",Qs=ks(this._months)!==ks(Ca)?"-":"",Rm=ks(this._days)!==ks(Ca)?"-":"",lu=ks(this._milliseconds)!==ks(Ca)?"-":"";return ed+"P"+(Be?Qs+Be+"Y":"")+(Lt?Qs+Lt+"M":"")+(en?Rm+en+"D":"")+(ar||Yr||Zs?"T":"")+(ar?lu+ar+"H":"")+(Yr?lu+Yr+"M":"")+(Zs?lu+Zs+"S":"")}var Zt=Ql.prototype;return Zt.isValid=function ra(){return this._isValid},Zt.abs=function bs(){var k=this._data;return this._milliseconds=ka(this._milliseconds),this._days=ka(this._days),this._months=ka(this._months),k.milliseconds=ka(k.milliseconds),k.seconds=ka(k.seconds),k.minutes=ka(k.minutes),k.hours=ka(k.hours),k.months=ka(k.months),k.years=ka(k.years),this},Zt.add=function Tm(k,A){return Ma(this,k,A,1)},Zt.subtract=function eh(k,A){return Ma(this,k,A,-1)},Zt.as=function nh(k){if(!this.isValid())return NaN;var A,z,$=this._milliseconds;if("month"===(k=he(k))||"year"===k)return z=this._months+iu(A=this._days+$/864e5),"month"===k?z:z/12;switch(A=this._days+Math.round(Ks(this._months)),k){case"week":return A/7+$/6048e5;case"day":return A+$/864e5;case"hour":return 24*A+$/36e5;case"minute":return 1440*A+$/6e4;case"second":return 86400*A+$/1e3;case"millisecond":return Math.floor(864e5*A)+$;default:throw new Error("Unknown unit "+k)}},Zt.asMilliseconds=rh,Zt.asSeconds=au,Zt.asMinutes=ih,Zt.asHours=ah,Zt.asDays=oh,Zt.asWeeks=sh,Zt.asMonths=ou,Zt.asYears=Em,Zt.valueOf=function Zc(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*te(this._months/12):NaN},Zt._bubble=function Lm(){var oe,Oe,Be,Lt,en,k=this._milliseconds,A=this._days,z=this._months,$=this._data;return k>=0&&A>=0&&z>=0||k<=0&&A<=0&&z<=0||(k+=864e5*th(Ks(z)+A),A=0,z=0),$.milliseconds=k%1e3,oe=Q(k/1e3),$.seconds=oe%60,Oe=Q(oe/60),$.minutes=Oe%60,Be=Q(Oe/60),$.hours=Be%24,A+=Q(Be/24),z+=en=Q(iu(A)),A-=th(Ks(en)),Lt=Q(z/12),z%=12,$.days=A,$.months=z,$.years=Lt,this},Zt.clone=function Pm(){return ba(this)},Zt.get=function ri(k){return k=he(k),this.isValid()?this[k+"s"]():NaN},Zt.milliseconds=er,Zt.seconds=No,Zt.minutes=xm,Zt.hours=Qc,Zt.days=Om,Zt.weeks=function su(){return Q(this.days()/7)},Zt.months=Am,Zt.years=Im,Zt.humanize=function $s(k){if(!this.isValid())return this.localeData().invalidDate();var A=this.localeData(),z=function lh(k,A,z){var $=ba(k).abs(),oe=ia($.as("s")),Oe=ia($.as("m")),Be=ia($.as("h")),Lt=ia($.as("d")),en=ia($.as("M")),ar=ia($.as("y")),Yr=oe<=Pi.ss&&["s",oe]||oe0,Yr[4]=z,Jc.apply(null,Yr)}(this,!k,A);return k&&(z=A.pastFuture(+this,z)),A.postformat(z)},Zt.toISOString=co,Zt.toString=co,Zt.toJSON=co,Zt.locale=Jl,Zt.localeData=Xl,Zt.toIsoString=X("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",co),Zt.lang=$f,nt("X",0,0,"unix"),nt("x",0,0,"valueOf"),it("x",Yl),it("X",/[+-]?\d+(\.\d{1,3})?/),_n("X",function(k,A,z){z._d=new Date(1e3*parseFloat(k,10))}),_n("x",function(k,A,z){z._d=new Date(te(k))}),M.version="2.22.2",function T(k){O=k}(Sn),M.fn=ke,M.min=function Nc(){return Fo("isBefore",[].slice.call(arguments,0))},M.max=function fs(){return Fo("isAfter",[].slice.call(arguments,0))},M.now=function(){return Date.now?Date.now():+new Date},M.utc=y,M.unix=function Cr(k){return Sn(1e3*k)},M.months=function Dm(k,A){return tu(k,A,"months")},M.isDate=L,M.locale=pi,M.invalid=ie,M.duration=ba,M.isMoment=ee,M.weekdays=function ru(k,A,z){return Xf(k,A,z,"weekdays")},M.parseZone=function Jf(){return Sn.apply(null,arguments).parseZone()},M.localeData=qe,M.isDuration=Yc,M.monthsShort=function nu(k,A){return tu(k,A,"monthsShort")},M.weekdaysMin=function Ba(k,A,z){return Xf(k,A,z,"weekdaysMin")},M.defineLocale=Po,M.updateLocale=function em(k,A){if(null!=A){var z,$,oe=Xv;null!=($=Gs(k))&&(oe=$._config),(z=new Xe(A=Ke(oe,A))).parentLocale=jn[k],jn[k]=z,pi(k)}else null!=jn[k]&&(null!=jn[k].parentLocale?jn[k]=jn[k].parentLocale:null!=jn[k]&&delete jn[k]);return jn[k]},M.locales=function Fc(){return Ne(jn)},M.weekdaysShort=function ni(k,A,z){return Xf(k,A,z,"weekdaysShort")},M.normalizeUnits=he,M.relativeTimeRounding=function Fm(k){return void 0===k?ia:"function"==typeof k&&(ia=k,!0)},M.relativeTimeThreshold=function uo(k,A){return void 0!==Pi[k]&&(void 0===A?Pi[k]:(Pi[k]=A,"s"===k&&(Pi.ss=A-1),!0))},M.calendarFormat=function Ik(k,A){var z=k.diff(A,"days",!0);return z<-6?"sameElse":z<-1?"lastWeek":z<0?"lastDay":z<1?"sameDay":z<2?"nextDay":z<7?"nextWeek":"sameElse"},M.prototype=ke,M.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:"YYYY-[W]WW",MONTH:"YYYY-MM"},M}()},6700:function(ve,be,H){var O={"./af":7088,"./af.js":7088,"./ar":7038,"./ar-dz":2502,"./ar-dz.js":2502,"./ar-kw":128,"./ar-kw.js":128,"./ar-ly":4519,"./ar-ly.js":4519,"./ar-ma":5443,"./ar-ma.js":5443,"./ar-sa":7642,"./ar-sa.js":7642,"./ar-tn":8592,"./ar-tn.js":8592,"./ar.js":7038,"./az":1213,"./az.js":1213,"./be":9191,"./be.js":9191,"./bg":322,"./bg.js":322,"./bm":8042,"./bm.js":8042,"./bn":9620,"./bn.js":9620,"./bo":9645,"./bo.js":9645,"./br":5020,"./br.js":5020,"./bs":4792,"./bs.js":4792,"./ca":7980,"./ca.js":7980,"./cs":7322,"./cs.js":7322,"./cv":365,"./cv.js":365,"./cy":2092,"./cy.js":2092,"./da":7387,"./da.js":7387,"./de":4307,"./de-at":9459,"./de-at.js":9459,"./de-ch":3694,"./de-ch.js":3694,"./de.js":4307,"./dv":9659,"./dv.js":9659,"./el":3460,"./el.js":3460,"./en-au":4369,"./en-au.js":4369,"./en-ca":530,"./en-ca.js":530,"./en-gb":9998,"./en-gb.js":9998,"./en-ie":3391,"./en-ie.js":3391,"./en-il":5414,"./en-il.js":5414,"./en-nz":1248,"./en-nz.js":1248,"./eo":4530,"./eo.js":4530,"./es":6866,"./es-do":8944,"./es-do.js":8944,"./es-us":3609,"./es-us.js":3609,"./es.js":6866,"./et":6725,"./et.js":6725,"./eu":7931,"./eu.js":7931,"./fa":6417,"./fa.js":6417,"./fi":944,"./fi.js":944,"./fo":5867,"./fo.js":5867,"./fr":1636,"./fr-ca":6848,"./fr-ca.js":6848,"./fr-ch":7773,"./fr-ch.js":7773,"./fr.js":1636,"./fy":4940,"./fy.js":4940,"./gd":6924,"./gd.js":6924,"./gl":6398,"./gl.js":6398,"./gom-latn":2545,"./gom-latn.js":2545,"./gu":2641,"./gu.js":2641,"./he":7536,"./he.js":7536,"./hi":6335,"./hi.js":6335,"./hr":7458,"./hr.js":7458,"./hu":6540,"./hu.js":6540,"./hy-am":5283,"./hy-am.js":5283,"./id":8780,"./id.js":8780,"./is":4205,"./is.js":4205,"./it":4211,"./it.js":4211,"./ja":1003,"./ja.js":1003,"./jv":420,"./jv.js":420,"./ka":851,"./ka.js":851,"./kk":6074,"./kk.js":6074,"./km":3343,"./km.js":3343,"./kn":4799,"./kn.js":4799,"./ko":3549,"./ko.js":3549,"./ky":3125,"./ky.js":3125,"./lb":9586,"./lb.js":9586,"./lo":2349,"./lo.js":2349,"./lt":2400,"./lt.js":2400,"./lv":9991,"./lv.js":9991,"./me":8477,"./me.js":8477,"./mi":5118,"./mi.js":5118,"./mk":5943,"./mk.js":5943,"./ml":3849,"./ml.js":3849,"./mn":1977,"./mn.js":1977,"./mr":6184,"./mr.js":6184,"./ms":485,"./ms-my":4524,"./ms-my.js":4524,"./ms.js":485,"./mt":6681,"./mt.js":6681,"./my":2024,"./my.js":2024,"./nb":2688,"./nb.js":2688,"./ne":8914,"./ne.js":8914,"./nl":1758,"./nl-be":2272,"./nl-be.js":2272,"./nl.js":1758,"./nn":1510,"./nn.js":1510,"./pa-in":7944,"./pa-in.js":7944,"./pl":1605,"./pl.js":1605,"./pt":4225,"./pt-br":3840,"./pt-br.js":3840,"./pt.js":4225,"./ro":5128,"./ro.js":5128,"./ru":5127,"./ru.js":5127,"./sd":2525,"./sd.js":2525,"./se":9893,"./se.js":9893,"./si":3123,"./si.js":3123,"./sk":9635,"./sk.js":9635,"./sl":8106,"./sl.js":8106,"./sq":8799,"./sq.js":8799,"./sr":7949,"./sr-cyrl":2872,"./sr-cyrl.js":2872,"./sr.js":7949,"./ss":6167,"./ss.js":6167,"./sv":9713,"./sv.js":9713,"./sw":1982,"./sw.js":1982,"./ta":2732,"./ta.js":2732,"./te":3636,"./te.js":3636,"./tet":2115,"./tet.js":2115,"./tg":9801,"./tg.js":9801,"./th":2868,"./th.js":2868,"./tl-ph":2360,"./tl-ph.js":2360,"./tlh":6645,"./tlh.js":6645,"./tr":8374,"./tr.js":8374,"./tzl":256,"./tzl.js":256,"./tzm":1595,"./tzm-latn":1631,"./tzm-latn.js":1631,"./tzm.js":1595,"./ug-cn":6050,"./ug-cn.js":6050,"./uk":5610,"./uk.js":5610,"./ur":6077,"./ur.js":6077,"./uz":2862,"./uz-latn":2207,"./uz-latn.js":2207,"./uz.js":2862,"./vi":8093,"./vi.js":8093,"./x-pseudo":5590,"./x-pseudo.js":5590,"./yo":9058,"./yo.js":9058,"./zh-cn":7908,"./zh-cn.js":7908,"./zh-hk":8867,"./zh-hk.js":8867,"./zh-tw":3291,"./zh-tw.js":3291};function M(v){var d=T(v);return H(d)}function T(v){if(!H.o(O,v)){var d=new Error("Cannot find module '"+v+"'");throw d.code="MODULE_NOT_FOUND",d}return O[v]}M.keys=function(){return Object.keys(O)},M.resolve=T,ve.exports=M,M.id=6700},6297:function(ve,be,H){var O={"./de.json":[3634,634],"./de_base.json":[3431,431],"./en.json":[502,502],"./es.json":[4268,268],"./es_base.json":[3974,974],"./pt.json":[5733,733],"./pt_base.json":[7048,48]};function M(T){if(!H.o(O,T))return Promise.resolve().then(function(){var c=new Error("Cannot find module '"+T+"'");throw c.code="MODULE_NOT_FOUND",c});var v=O[T],d=v[0];return H.e(v[1]).then(function(){return H.t(d,19)})}M.keys=function(){return Object.keys(O)},M.id=6297,ve.exports=M}},function(ve){ve(ve.s=1531)}]); \ No newline at end of file diff --git a/static/skywire-manager-src/angular.json b/static/skywire-manager-src/angular.json index 052a5812d3..e2f740316a 100644 --- a/static/skywire-manager-src/angular.json +++ b/static/skywire-manager-src/angular.json @@ -142,6 +142,7 @@ }, "defaultProject": "skywire-manager", "cli": { + "analytics": "3d26a10f-26f2-4c63-9c63-e3d78a9a001d", "defaultCollection": "@angular-eslint/schematics" } } diff --git a/static/skywire-manager-src/dist/index.html b/static/skywire-manager-src/dist/index.html index 0c591c5a49..cef3f3ce25 100644 --- a/static/skywire-manager-src/dist/index.html +++ b/static/skywire-manager-src/dist/index.html @@ -9,6 +9,6 @@
- + \ No newline at end of file