ruby_event_store-browser 0.36.0 → 0.37.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +15 -1
- data/lib/ruby_event_store/browser/app.rb +11 -7
- data/lib/ruby_event_store/browser/stream.rb +14 -14
- data/lib/ruby_event_store/browser/version.rb +1 -1
- data/public/ruby_event_store_browser.css +2 -0
- data/public/ruby_event_store_browser.js +8 -1
- data/public/ruby_event_store_browser.map +1 -0
- metadata +8 -6
- data/MIT-LICENSE +0 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2cb00bac9fa97e644ceed594053c73928055f1194075ca71cc65c4437b05f81d
|
4
|
+
data.tar.gz: 46794cfa54b28616399067c2a3417f3848688bb3af85cdce74eba78d0f60bd2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c3e24eb08d6adcfa56f7c8bbbcb6f52d7528eb4a083708b620ef855b88536c3296d2b74eca769f2cad18d21a4848b6b2427f4719389a1c6d6cbc21f24ec09c0
|
7
|
+
data.tar.gz: bb83e0fa1235f8b7f53a1f7e063f644e2d6aed8d0a22a3d15e42e8fa33f988f9ce3210c6abf445f224e48f596ddcdaa0bfd79276bb35829ce481d83cd61968a9
|
data/README.md
CHANGED
@@ -7,7 +7,21 @@ This is the Sinatra version of the RES browser.
|
|
7
7
|
See [docs](https://railseventstore.org/docs/browser/).
|
8
8
|
|
9
9
|
## Contributing
|
10
|
-
|
10
|
+
|
11
|
+
To start API sinatra app with in-memory Event Store for development purposes, use
|
12
|
+
|
13
|
+
```
|
14
|
+
make dev-server
|
15
|
+
```
|
16
|
+
|
17
|
+
The app will be available at http://localhost:9393
|
18
|
+
|
19
|
+
To compile & enable Elm file watcher, use
|
20
|
+
|
21
|
+
```
|
22
|
+
make watch-elm
|
23
|
+
```
|
24
|
+
|
11
25
|
|
12
26
|
## License
|
13
27
|
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
@@ -10,6 +10,8 @@ module RubyEventStore
|
|
10
10
|
set :event_store_locator, event_store_locator
|
11
11
|
set :host, host
|
12
12
|
set :root_path, path
|
13
|
+
set :environment, :production
|
14
|
+
set :public_folder, "#{__dir__}/../../../public"
|
13
15
|
end
|
14
16
|
end
|
15
17
|
end
|
@@ -19,26 +21,28 @@ module RubyEventStore
|
|
19
21
|
set :root_path, nil
|
20
22
|
set :event_store_locator, -> {}
|
21
23
|
set :protection, except: :path_traversal
|
22
|
-
set :public_folder, "#{__dir__}/../../../public"
|
23
24
|
|
24
25
|
mime_type :json, 'application/vnd.api+json'
|
25
26
|
end
|
26
|
-
|
27
|
+
|
27
28
|
get '/' do
|
28
29
|
erb %{
|
29
30
|
<!DOCTYPE html>
|
30
31
|
<html>
|
31
32
|
<head>
|
32
33
|
<title>RubyEventStore::Browser</title>
|
34
|
+
<link type="text/css" rel="stylesheet" href="<%= path %>/ruby_event_store_browser.css">
|
33
35
|
</head>
|
34
36
|
<body>
|
35
37
|
<script type="text/javascript" src="<%= path %>/ruby_event_store_browser.js"></script>
|
36
38
|
<script type="text/javascript">
|
37
|
-
RubyEventStore.Browser.Main.
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
39
|
+
RubyEventStore.Browser.Elm.Main.init({
|
40
|
+
flags: {
|
41
|
+
rootUrl: "<%= path %>",
|
42
|
+
eventsUrl: "<%= path %>/events",
|
43
|
+
streamsUrl: "<%= path %>/streams",
|
44
|
+
resVersion: "<%= RubyEventStore::VERSION %>"
|
45
|
+
}
|
42
46
|
});
|
43
47
|
</script>
|
44
48
|
</body>
|
@@ -1,6 +1,8 @@
|
|
1
1
|
module RubyEventStore
|
2
2
|
module Browser
|
3
3
|
class Stream
|
4
|
+
HEAD = Object.new
|
5
|
+
|
4
6
|
attr_reader :event_store, :params, :url_builder
|
5
7
|
|
6
8
|
def initialize(event_store:, params:, url_builder:)
|
@@ -39,20 +41,18 @@ module RubyEventStore
|
|
39
41
|
end
|
40
42
|
end
|
41
43
|
|
42
|
-
def events_forward(
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
end
|
44
|
+
def events_forward(position)
|
45
|
+
spec = event_store.read.limit(count)
|
46
|
+
spec = spec.stream(stream_name) unless stream_name.eql?(SERIALIZED_GLOBAL_STREAM_NAME)
|
47
|
+
spec = spec.from(position) unless position.equal?(HEAD)
|
48
|
+
spec.to_a
|
48
49
|
end
|
49
50
|
|
50
|
-
def events_backward(
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
end
|
51
|
+
def events_backward(position)
|
52
|
+
spec = event_store.read.limit(count).backward
|
53
|
+
spec = spec.stream(stream_name) unless stream_name.eql?(SERIALIZED_GLOBAL_STREAM_NAME)
|
54
|
+
spec = spec.from(position) unless position.equal?(HEAD)
|
55
|
+
spec.to_a
|
56
56
|
end
|
57
57
|
|
58
58
|
def next_event?
|
@@ -96,8 +96,8 @@ module RubyEventStore
|
|
96
96
|
|
97
97
|
def position
|
98
98
|
case params[:position]
|
99
|
-
when
|
100
|
-
|
99
|
+
when 'head', nil
|
100
|
+
HEAD
|
101
101
|
else
|
102
102
|
params.fetch(:position)
|
103
103
|
end
|
@@ -0,0 +1,2 @@
|
|
1
|
+
@charset "UTF-8";
|
2
|
+
/*! normalize.css v6.0.0 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit;font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}[hidden],template{display:none}html{box-sizing:border-box}*,:after,:before{box-sizing:inherit}body,html{height:100%}body{margin:0}fieldset{background-color:transparent;border:0;margin:0;padding:0}legend{padding:0}label,legend{font-weight:600;margin-bottom:.375em}label{display:block}input,select,textarea{display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:16px}input:not([type]),input[type=color],input[type=date],input[type=datetime-local],input[type=datetime],input[type=email],input[type=month],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=time],input[type=url],input[type=week],textarea{appearance:none;background-color:#fff;border:1px solid #ced4da;border-radius:3px;box-shadow:inset 0 1px 3px rgba(0,0,0,.06);box-sizing:border-box;margin-bottom:.75em;padding:.5em;transition:border-color .15s ease;width:100%}input:not([type]):hover,input[type=color]:hover,input[type=date]:hover,input[type=datetime-local]:hover,input[type=datetime]:hover,input[type=email]:hover,input[type=month]:hover,input[type=number]:hover,input[type=password]:hover,input[type=search]:hover,input[type=tel]:hover,input[type=text]:hover,input[type=time]:hover,input[type=url]:hover,input[type=week]:hover,textarea:hover{border-color:shade(#ced4da,20%)}input:not([type]):focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=datetime]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,textarea:focus{border-color:#cf423b;box-shadow:inset 0 1px 3px rgba(0,0,0,.06),0 0 5px rgba(207,66,59,.7);outline:none}input:not([type]):disabled,input[type=color]:disabled,input[type=date]:disabled,input[type=datetime-local]:disabled,input[type=datetime]:disabled,input[type=email]:disabled,input[type=month]:disabled,input[type=number]:disabled,input[type=password]:disabled,input[type=search]:disabled,input[type=tel]:disabled,input[type=text]:disabled,input[type=time]:disabled,input[type=url]:disabled,input[type=week]:disabled,textarea:disabled{background-color:shade(#fff,5%);cursor:not-allowed}input:not([type]):disabled:hover,input[type=color]:disabled:hover,input[type=date]:disabled:hover,input[type=datetime-local]:disabled:hover,input[type=datetime]:disabled:hover,input[type=email]:disabled:hover,input[type=month]:disabled:hover,input[type=number]:disabled:hover,input[type=password]:disabled:hover,input[type=search]:disabled:hover,input[type=tel]:disabled:hover,input[type=text]:disabled:hover,input[type=time]:disabled:hover,input[type=url]:disabled:hover,input[type=week]:disabled:hover,textarea:disabled:hover{border:1px solid #ced4da}input:not([type])::placeholder,input[type=color]::placeholder,input[type=date]::placeholder,input[type=datetime-local]::placeholder,input[type=datetime]::placeholder,input[type=email]::placeholder,input[type=month]::placeholder,input[type=number]::placeholder,input[type=password]::placeholder,input[type=search]::placeholder,input[type=tel]::placeholder,input[type=text]::placeholder,input[type=time]::placeholder,input[type=url]::placeholder,input[type=week]::placeholder,textarea::placeholder{color:tint(#343a40,40%)}textarea{resize:vertical}[type=checkbox],[type=radio]{display:inline;margin-right:.375em}[type=file],select{margin-bottom:.75em;width:100%}[type=checkbox]:focus,[type=file]:focus,[type=radio]:focus,select:focus{outline:3px solid rgba(207,66,59,.6);outline-offset:2px}button,input[type=button],input[type=reset],input[type=submit]{appearance:none;background-color:#cf423b;border:0;border-radius:3px;color:contrast-switch(#cf423b);cursor:pointer;display:inline-block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:16px;-webkit-font-smoothing:antialiased;font-weight:600;line-height:1;padding:.75em 1.5em;text-align:center;text-decoration:none;transition:background-color .15s ease;user-select:none;vertical-align:middle;white-space:nowrap}button:hover,input[type=button]:hover,input[type=reset]:hover,input[type=submit]:hover{background-color:shade(#cf423b,20%);color:contrast-switch(shade(#cf423b,20%))}button:focus,input[type=button]:focus,input[type=reset]:focus,input[type=submit]:focus{outline:3px solid rgba(207,66,59,.6);outline-offset:2px}button:disabled,input[type=button]:disabled,input[type=reset]:disabled,input[type=submit]:disabled{cursor:not-allowed;opacity:.5}button:disabled:hover,input[type=button]:disabled:hover,input[type=reset]:disabled:hover,input[type=submit]:disabled:hover{background-color:#cf423b}ol,ul{list-style-type:none;padding:0}dl,dt,ol,ul{margin:0}dt{font-weight:600}dd,figure{margin:0}img,picture{margin:0;max-width:100%}table{border-collapse:collapse;margin:1.5em 0;table-layout:fixed;text-align:left;width:100%}thead{line-height:1.2;vertical-align:bottom}tbody{vertical-align:top}th{border-bottom:1px solid #ced4da;padding:0 0 .75rem;text-transform:uppercase;font-size:1.2rem;color:#adb5bd}td{padding:.75rem 0 0}html{color:#343a40;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:62.5%;line-height:1.6;-webkit-font-smoothing:antialiased}body{font-size:1.6rem}h1,h2,h3,h4,h5,h6{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:2em;line-height:1.2;margin:0 0 .75em}p{margin:0 0 .75em}a{color:#cf423b;text-decoration-skip:ink;transition:color .15s ease}a:hover{color:shade(#cf423b,25%)}a:focus{outline:3px solid rgba(207,66,59,.6);outline-offset:2px}hr{border:0;border-bottom:1px solid #ced4da;margin:1.5em 0}.frame{min-height:100vh;width:100%;background-color:#f8f9fa}.frame__body{background-color:#fff}.navigation{height:6rem;background-color:#cf423b}.navigation:after{clear:both;content:"";display:block}.navigation__brand{width:calc(33.33333% - 26.66667px);justify-content:flex-start}.navigation__brand,.navigation__links{float:left;margin-left:20px;display:flex;height:100%;align-items:center}.navigation__links{width:calc(66.66667% - 33.33333px);justify-content:flex-end}.navigation__link{margin-left:1rem;padding:.5rem;text-decoration:none;font-weight:700;font-size:1.4rem;color:#f1f3f5}.navigation__link--active,.navigation__link:hover{border-radius:4px;background-color:#ad302a;color:#f8f9fa}.navigation__logo{text-decoration:none;font-weight:600;color:#f8f9fa}.footer{border-top:1px solid #ced4da;padding:1rem 0}.footer:after{clear:both;content:"";display:block}.footer__links{width:calc(100% - 40px);float:left;margin-left:20px;display:flex;justify-content:center;font-size:1.4rem;color:#adb5bd}.footer__link{margin:0 0 0 1rem;color:#adb5bd}.footer__link:before{content:"•";font-weight:700;margin:0 1rem 0 0;color:#dee2e6;display:inline-block}.browser{padding:2rem 0}.browser:after{clear:both;content:"";display:block}.browser__title{font-size:2.2rem}.browser__pagination,.browser__results,.browser__title{width:calc(100% - 40px);float:left;margin-left:20px}.event{padding:2rem 0}.event:after{clear:both;content:"";display:block}.event__title{font-size:2.2rem}.event__body,.event__title{width:calc(100% - 40px);float:left;margin-left:20px}.pagination{display:flex;margin-bottom:.75em}.pagination__page{height:3.6rem;background:none;text-align:center;padding:1rem;margin-right:.5rem;color:#cf423b;border:1px solid #cf423b;font-weight:400;font-size:90%}.pagination__page:focus{outline:none}.results__link{text-decoration:none}.results__empty{display:flex;align-items:center;justify-content:center;min-height:20rem}.u-align-right{text-align:right}
|
@@ -1 +1,8 @@
|
|
1
|
-
!function(t){var r={};function e(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:n})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,r){if(1&r&&(t=e(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var o in t)e.d(n,o,function(r){return t[r]}.bind(null,o));return n},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},e.p="",e(e.s=0)}([function(t,r,e){t.exports=e(1)},function(t,r,e){e(2),window.RubyEventStore={},window.RubyEventStore.Browser=e(7)},function(t,r,e){var n=e(3);"string"==typeof n&&(n=[[t.i,n,""]]);var o={transform:void 0};e(5)(n,o);n.locals&&(t.exports=n.locals)},function(t,r,e){(t.exports=e(4)(!1)).push([t.i,'/*! normalize.css v6.0.0 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit;font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}[hidden],template{display:none}html{box-sizing:border-box}*,:after,:before{box-sizing:inherit}body,html{height:100%}body{margin:0}fieldset{background-color:transparent;border:0;margin:0;padding:0}legend{padding:0}label,legend{font-weight:600;margin-bottom:.375em}label{display:block}input,select,textarea{display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:16px}input:not([type]),input[type=color],input[type=date],input[type=datetime-local],input[type=datetime],input[type=email],input[type=month],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=time],input[type=url],input[type=week],textarea{appearance:none;background-color:#fff;border:1px solid #ced4da;border-radius:3px;box-shadow:inset 0 1px 3px rgba(0,0,0,.06);box-sizing:border-box;margin-bottom:.75em;padding:.5em;transition:border-color .15s ease;width:100%}input:not([type]):hover,input[type=color]:hover,input[type=date]:hover,input[type=datetime-local]:hover,input[type=datetime]:hover,input[type=email]:hover,input[type=month]:hover,input[type=number]:hover,input[type=password]:hover,input[type=search]:hover,input[type=tel]:hover,input[type=text]:hover,input[type=time]:hover,input[type=url]:hover,input[type=week]:hover,textarea:hover{border-color:shade(#ced4da,20%)}input:not([type]):focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=datetime]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,textarea:focus{border-color:#cf423b;box-shadow:inset 0 1px 3px rgba(0,0,0,.06),0 0 5px rgba(207,66,59,.7);outline:none}input:not([type]):disabled,input[type=color]:disabled,input[type=date]:disabled,input[type=datetime-local]:disabled,input[type=datetime]:disabled,input[type=email]:disabled,input[type=month]:disabled,input[type=number]:disabled,input[type=password]:disabled,input[type=search]:disabled,input[type=tel]:disabled,input[type=text]:disabled,input[type=time]:disabled,input[type=url]:disabled,input[type=week]:disabled,textarea:disabled{background-color:shade(#fff,5%);cursor:not-allowed}input:not([type]):disabled:hover,input[type=color]:disabled:hover,input[type=date]:disabled:hover,input[type=datetime-local]:disabled:hover,input[type=datetime]:disabled:hover,input[type=email]:disabled:hover,input[type=month]:disabled:hover,input[type=number]:disabled:hover,input[type=password]:disabled:hover,input[type=search]:disabled:hover,input[type=tel]:disabled:hover,input[type=text]:disabled:hover,input[type=time]:disabled:hover,input[type=url]:disabled:hover,input[type=week]:disabled:hover,textarea:disabled:hover{border:1px solid #ced4da}input:not([type])::placeholder,input[type=color]::placeholder,input[type=date]::placeholder,input[type=datetime-local]::placeholder,input[type=datetime]::placeholder,input[type=email]::placeholder,input[type=month]::placeholder,input[type=number]::placeholder,input[type=password]::placeholder,input[type=search]::placeholder,input[type=tel]::placeholder,input[type=text]::placeholder,input[type=time]::placeholder,input[type=url]::placeholder,input[type=week]::placeholder,textarea::placeholder{color:tint(#343a40,40%)}textarea{resize:vertical}[type=checkbox],[type=radio]{display:inline;margin-right:.375em}[type=file],select{margin-bottom:.75em;width:100%}[type=checkbox]:focus,[type=file]:focus,[type=radio]:focus,select:focus{outline:3px solid rgba(207,66,59,.6);outline-offset:2px}button,input[type=button],input[type=reset],input[type=submit]{appearance:none;background-color:#cf423b;border:0;border-radius:3px;color:contrast-switch(#cf423b);cursor:pointer;display:inline-block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:16px;-webkit-font-smoothing:antialiased;font-weight:600;line-height:1;padding:.75em 1.5em;text-align:center;text-decoration:none;transition:background-color .15s ease;user-select:none;vertical-align:middle;white-space:nowrap}button:hover,input[type=button]:hover,input[type=reset]:hover,input[type=submit]:hover{background-color:shade(#cf423b,20%);color:contrast-switch(shade(#cf423b,20%))}button:focus,input[type=button]:focus,input[type=reset]:focus,input[type=submit]:focus{outline:3px solid rgba(207,66,59,.6);outline-offset:2px}button:disabled,input[type=button]:disabled,input[type=reset]:disabled,input[type=submit]:disabled{cursor:not-allowed;opacity:.5}button:disabled:hover,input[type=button]:disabled:hover,input[type=reset]:disabled:hover,input[type=submit]:disabled:hover{background-color:#cf423b}ol,ul{list-style-type:none;padding:0}dl,dt,ol,ul{margin:0}dt{font-weight:600}dd,figure{margin:0}img,picture{margin:0;max-width:100%}table{border-collapse:collapse;margin:1.5em 0;table-layout:fixed;text-align:left;width:100%}thead{line-height:1.2;vertical-align:bottom}tbody{vertical-align:top}th{border-bottom:1px solid #ced4da;padding:0 0 .75rem;text-transform:uppercase;font-size:1.2rem;color:#adb5bd}td{padding:.75rem 0 0}html{color:#343a40;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:62.5%;line-height:1.6;-webkit-font-smoothing:antialiased}body{font-size:1.6rem}h1,h2,h3,h4,h5,h6{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:2em;line-height:1.2;margin:0 0 .75em}p{margin:0 0 .75em}a{color:#cf423b;text-decoration-skip:ink;transition:color .15s ease}a:hover{color:shade(#cf423b,25%)}a:focus{outline:3px solid rgba(207,66,59,.6);outline-offset:2px}hr{border-bottom:1px solid #ced4da;border-left:0;border-right:0;border-top:0;margin:1.5em 0}.frame{min-height:100vh;width:100%;background-color:#f8f9fa}.frame__body{background-color:#fff}.navigation{height:6rem;background-color:#cf423b}.navigation:after{clear:both;content:"";display:block}.navigation__brand{width:calc(33.33333% - 26.66667px);justify-content:flex-start}.navigation__brand,.navigation__links{float:left;margin-left:20px;display:flex;height:100%;align-items:center}.navigation__links{width:calc(66.66667% - 33.33333px);justify-content:flex-end}.navigation__link{margin-left:1rem;padding:.5rem;text-decoration:none;font-weight:700;font-size:1.4rem;color:#f1f3f5}.navigation__link--active,.navigation__link:hover{border-radius:4px;background-color:#ad302a;color:#f8f9fa}.navigation__logo{text-decoration:none;font-weight:600;color:#f8f9fa}.footer{border-top:1px solid #ced4da;padding:1rem 0}.footer:after{clear:both;content:"";display:block}.footer__links{width:calc(100% - 40px);float:left;margin-left:20px;display:flex;justify-content:center;font-size:1.4rem;color:#adb5bd}.footer__link{margin:0 0 0 1rem;color:#adb5bd}.footer__link:before{content:"\\2022";font-weight:700;margin:0 1rem 0 0;color:#dee2e6;display:inline-block}.browser{padding:2rem 0}.browser:after{clear:both;content:"";display:block}.browser__title{font-size:2.2rem}.browser__pagination,.browser__results,.browser__title{width:calc(100% - 40px);float:left;margin-left:20px}.event{padding:2rem 0}.event:after{clear:both;content:"";display:block}.event__title{font-size:2.2rem}.event__body,.event__title{width:calc(100% - 40px);float:left;margin-left:20px}.pagination{display:flex;margin-bottom:.75em}.pagination__page{height:3.6rem;background:none;border:1px solid #ced4da;text-align:center;padding:1rem;margin-right:.5rem;color:#cf423b;border-color:#cf423b;font-weight:400;font-size:90%}.pagination__page:focus{outline:none}.results__link{text-decoration:none}.results__empty{display:flex;align-items:center;justify-content:center;min-height:20rem}.u-align-right{text-align:right}',""])},function(t,r){t.exports=function(t){var r=[];return r.toString=function(){return this.map(function(r){var e=function(t,r){var e=t[1]||"",n=t[3];if(!n)return e;if(r&&"function"==typeof btoa){var o=(c=n,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(c))))+" */"),i=n.sources.map(function(t){return"/*# sourceURL="+n.sourceRoot+t+" */"});return[e].concat(i).concat([o]).join("\n")}var c;return[e].join("\n")}(r,t);return r[2]?"@media "+r[2]+"{"+e+"}":e}).join("")},r.i=function(t,e){"string"==typeof t&&(t=[[null,t,""]]);for(var n={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(n[i]=!0)}for(o=0;o<t.length;o++){var c=t[o];"number"==typeof c[0]&&n[c[0]]||(e&&!c[2]?c[2]=e:e&&(c[2]="("+c[2]+") and ("+e+")"),r.push(c))}},r}},function(t,r,e){var n,o,i={},c=(n=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===o&&(o=n.apply(this,arguments)),o}),u=function(t){var r={};return function(t){return void 0===r[t]&&(r[t]=function(t){return document.querySelector(t)}.call(this,t)),r[t]}}(),a=null,l=0,_=[],f=e(6);function s(t,r){for(var e=0;e<t.length;e++){var n=t[e],o=i[n.id];if(o){o.refs++;for(var c=0;c<o.parts.length;c++)o.parts[c](n.parts[c]);for(;c<n.parts.length;c++)o.parts.push(b(n.parts[c],r))}else{var u=[];for(c=0;c<n.parts.length;c++)u.push(b(n.parts[c],r));i[n.id]={id:n.id,refs:1,parts:u}}}}function d(t,r){for(var e=[],n={},o=0;o<t.length;o++){var i=t[o],c=r.base?i[0]+r.base:i[0],u={css:i[1],media:i[2],sourceMap:i[3]};n[c]?n[c].parts.push(u):e.push(n[c]={id:c,parts:[u]})}return e}function p(t,r){var e=u(t.insertInto);if(!e)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var n=_[_.length-1];if("top"===t.insertAt)n?n.nextSibling?e.insertBefore(r,n.nextSibling):e.appendChild(r):e.insertBefore(r,e.firstChild),_.push(r);else{if("bottom"!==t.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");e.appendChild(r)}}function h(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t);var r=_.indexOf(t);r>=0&&_.splice(r,1)}function v(t){var r=document.createElement("style");return t.attrs.type="text/css",g(r,t.attrs),p(t,r),r}function g(t,r){Object.keys(r).forEach(function(e){t.setAttribute(e,r[e])})}function b(t,r){var e,n,o,i;if(r.transform&&t.css){if(!(i=r.transform(t.css)))return function(){};t.css=i}if(r.singleton){var c=l++;e=a||(a=v(r)),n=k.bind(null,e,c,!1),o=k.bind(null,e,c,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(e=function(t){var r=document.createElement("link");return t.attrs.type="text/css",t.attrs.rel="stylesheet",g(r,t.attrs),p(t,r),r}(r),n=function(t,r,e){var n=e.css,o=e.sourceMap,i=void 0===r.convertToAbsoluteUrls&&o;(r.convertToAbsoluteUrls||i)&&(n=f(n));o&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var c=new Blob([n],{type:"text/css"}),u=t.href;t.href=URL.createObjectURL(c),u&&URL.revokeObjectURL(u)}.bind(null,e,r),o=function(){h(e),e.href&&URL.revokeObjectURL(e.href)}):(e=v(r),n=function(t,r){var e=r.css,n=r.media;n&&t.setAttribute("media",n);if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}.bind(null,e),o=function(){h(e)});return n(t),function(r){if(r){if(r.css===t.css&&r.media===t.media&&r.sourceMap===t.sourceMap)return;n(t=r)}else o()}}t.exports=function(t,r){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(r=r||{}).attrs="object"==typeof r.attrs?r.attrs:{},r.singleton||(r.singleton=c()),r.insertInto||(r.insertInto="head"),r.insertAt||(r.insertAt="bottom");var e=d(t,r);return s(e,r),function(t){for(var n=[],o=0;o<e.length;o++){var c=e[o];(u=i[c.id]).refs--,n.push(u)}t&&s(d(t,r),r);for(o=0;o<n.length;o++){var u;if(0===(u=n[o]).refs){for(var a=0;a<u.parts.length;a++)u.parts[a]();delete i[u.id]}}}};var m,y=(m=[],function(t,r){return m[t]=r,m.filter(Boolean).join("\n")});function k(t,r,e,n){var o=e?"":n.css;if(t.styleSheet)t.styleSheet.cssText=y(r,o);else{var i=document.createTextNode(o),c=t.childNodes;c[r]&&t.removeChild(c[r]),c.length?t.insertBefore(i,c[r]):t.appendChild(i)}}},function(t,r){t.exports=function(t){var r="undefined"!=typeof window&&window.location;if(!r)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var e=r.protocol+"//"+r.host,n=e+r.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(t,r){var o,i=r.trim().replace(/^"(.*)"$/,function(t,r){return r}).replace(/^'(.*)'$/,function(t,r){return r});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(i)?t:(o=0===i.indexOf("//")?i:0===i.indexOf("/")?e+i:n+i.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")})}},function(t,r,e){var n;(function(){"use strict";function e(t){function r(r){return function(e){return t(r,e)}}return r.arity=2,r.func=t,r}function o(t){function r(r){return function(e){return function(n){return t(r,e,n)}}}return r.arity=3,r.func=t,r}function i(t){function r(r){return function(e){return function(n){return function(o){return t(r,e,n,o)}}}}return r.arity=4,r.func=t,r}function c(t){function r(r){return function(e){return function(n){return function(o){return function(i){return t(r,e,n,o,i)}}}}}return r.arity=5,r.func=t,r}function u(t){function r(r){return function(e){return function(n){return function(o){return function(i){return function(c){return t(r,e,n,o,i,c)}}}}}}return r.arity=6,r.func=t,r}function a(t){function r(r){return function(e){return function(n){return function(o){return function(i){return function(c){return function(u){return t(r,e,n,o,i,c,u)}}}}}}}return r.arity=7,r.func=t,r}function l(t,r,e){return 2===t.arity?t.func(r,e):t(r)(e)}function _(t,r,e,n){return 3===t.arity?t.func(r,e,n):t(r)(e)(n)}function f(t,r,e,n,o){return 4===t.arity?t.func(r,e,n,o):t(r)(e)(n)(o)}function s(t,r,e,n,o,i){return 5===t.arity?t.func(r,e,n,o,i):t(r)(e)(n)(o)(i)}var d=function(){var t=["LT","EQ","GT"];return{div:e(function(t,r){return t/r|0}),rem:e(function(t,r){return t%r}),mod:e(function t(r,e){if(0===e)throw new Error("Cannot perform mod 0. Division by zero error.");var n=r%e,o=0===r?0:e>0?r>=0?n:n+e:-t(-r,-e);return o===e?0:o}),pi:Math.PI,e:Math.E,cos:Math.cos,sin:Math.sin,tan:Math.tan,acos:Math.acos,asin:Math.asin,atan:Math.atan,atan2:e(Math.atan2),degrees:function(t){return t*Math.PI/180},turns:function(t){return 2*Math.PI*t},fromPolar:function(t){var r=t._0,e=t._1;return p.Tuple2(r*Math.cos(e),r*Math.sin(e))},toPolar:function(t){var r=t._0,e=t._1;return p.Tuple2(Math.sqrt(r*r+e*e),Math.atan2(e,r))},sqrt:Math.sqrt,logBase:e(function(t,r){return Math.log(r)/Math.log(t)}),negate:function(t){return-t},abs:function(t){return t<0?-t:t},min:e(function(t,r){return p.cmp(t,r)<0?t:r}),max:e(function(t,r){return p.cmp(t,r)>0?t:r}),clamp:o(function(t,r,e){return p.cmp(e,t)<0?t:p.cmp(e,r)>0?r:e}),compare:e(function(r,e){return{ctor:t[p.cmp(r,e)+1]}}),xor:e(function(t,r){return t!==r}),not:function(t){return!t},truncate:function(t){return 0|t},ceiling:Math.ceil,floor:Math.floor,round:Math.round,toFloat:function(t){return t},isNaN:isNaN,isInfinite:function(t){return t===1/0||t===-1/0}}}(),p=function(){function t(r,e,n,o){if(n>100)return o.push({x:r,y:e}),!0;if(r===e)return!0;if("object"!=typeof r){if("function"==typeof r)throw new Error('Trying to use `(==)` on functions. There is no way to know if functions are "the same" in the Elm sense. Read more about this at http://package.elm-lang.org/packages/elm-lang/core/latest/Basics#== which describes why it is this way and what the better version will look like.');return!1}if(null===r||null===e)return!1;if(r instanceof Date)return r.getTime()===e.getTime();if(!("ctor"in r)){for(var i in r)if(!t(r[i],e[i],n+1,o))return!1;return!0}if("RBNode_elm_builtin"!==r.ctor&&"RBEmpty_elm_builtin"!==r.ctor||(r=ft(r),e=ft(e)),"Set_elm_builtin"===r.ctor&&(r=Ae(r),e=Ae(e)),"::"===r.ctor){for(var c=r,u=e;"::"===c.ctor&&"::"===u.ctor;){if(!t(c._0,u._0,n+1,o))return!1;c=c._1,u=u._1}return c.ctor===u.ctor}if("_Array"===r.ctor){var a=Xt.toJSArray(r),l=Xt.toJSArray(e);if(a.length!==l.length)return!1;for(var _=0;_<a.length;_++)if(!t(a[_],l[_],n+1,o))return!1;return!0}if(!t(r.ctor,e.ctor,n+1,o))return!1;for(var i in r)if(!t(r[i],e[i],n+1,o))return!1;return!0}var r=-1,n=0,o=1;var i=0;var c={ctor:"[]"};function u(t,r){return{ctor:"::",_0:t,_1:r}}function a(t){return t.start.line==t.end.line?"on line "+t.start.line:"between lines "+t.start.line+" and "+t.end.line}function l(t){var r=typeof t;if("function"===r)return"<function>";if("boolean"===r)return t?"True":"False";if("number"===r)return t+"";if(t instanceof String)return"'"+_(t,!0)+"'";if("string"===r)return'"'+_(t,!1)+'"';if(null===t)return"null";if("object"===r&&"ctor"in t){var e=t.ctor.substring(0,5);if("_Tupl"===e){var n=[];for(var o in t)"ctor"!==o&&n.push(l(t[o]));return"("+n.join(",")+")"}if("_Task"===e)return"<task>";if("_Array"===t.ctor)return"Array.fromList "+l(Yt(t));if("<decoder>"===t.ctor)return"<decoder>";if("_Process"===t.ctor)return"<process:"+t.id+">";if("::"===t.ctor){n="["+l(t._0);for(t=t._1;"::"===t.ctor;)n+=","+l(t._0),t=t._1;return n+"]"}if("[]"===t.ctor)return"[]";if("Set_elm_builtin"===t.ctor)return"Set.fromList "+l(Ae(t));if("RBNode_elm_builtin"===t.ctor||"RBEmpty_elm_builtin"===t.ctor)return"Dict.fromList "+l(ft(t));n="";for(var i in t)if("ctor"!==i){var c=l(t[i]),u=c[0];n+=" "+("{"===u||"("===u||"<"===u||'"'===u||c.indexOf(" ")<0?c:"("+c+")")}return t.ctor+n}if("object"===r){if(t instanceof Date)return"<"+t.toString()+">";if(t.elm_web_socket)return"<websocket>";n=[];for(var o in t)n.push(o+" = "+l(t[o]));return 0===n.length?"{}":"{ "+n.join(", ")+" }"}return"<internal structure>"}function _(t,r){var e=t.replace(/\\/g,"\\\\").replace(/\n/g,"\\n").replace(/\t/g,"\\t").replace(/\r/g,"\\r").replace(/\v/g,"\\v").replace(/\0/g,"\\0");return r?e.replace(/\'/g,"\\'"):e.replace(/\"/g,'\\"')}return{eq:function(r,e){for(var n,o=[],i=t(r,e,0,o);i&&(n=o.pop());)i=t(n.x,n.y,0,o);return i},cmp:function t(e,i){if("object"!=typeof e)return e===i?n:e<i?r:o;if(e instanceof String){var c=e.valueOf(),u=i.valueOf();return c===u?n:c<u?r:o}if("::"===e.ctor||"[]"===e.ctor){for(;"::"===e.ctor&&"::"===i.ctor;){if((a=t(e._0,i._0))!==n)return a;e=e._1,i=i._1}return e.ctor===i.ctor?n:"[]"===e.ctor?r:o}if("_Tuple"===e.ctor.slice(0,6)){var a,l=e.ctor.slice(6)-0;if(0===l)return n;if(l>=1){if((a=t(e._0,i._0))!==n)return a;if(l>=2){if((a=t(e._1,i._1))!==n)return a;if(l>=3){if((a=t(e._2,i._2))!==n)return a;if(l>=4){if((a=t(e._3,i._3))!==n)return a;if(l>=5){if((a=t(e._4,i._4))!==n)return a;if(l>=6){if((a=t(e._5,i._5))!==n)return a;if(l>=7)throw new Error("Comparison error: cannot compare tuples with more than 6 elements.")}}}}}}return n}throw new Error("Comparison error: comparison is only defined on ints, floats, times, chars, strings, lists of comparable values, and tuples of comparable values.")},Tuple0:{ctor:"_Tuple0"},Tuple2:function(t,r){return{ctor:"_Tuple2",_0:t,_1:r}},chr:function(t){return new String(t)},update:function(t,r){var e={};for(var n in t)e[n]=t[n];for(var n in r)e[n]=r[n];return e},guid:function(t){return i++},append:e(function(t,r){if("string"==typeof t)return t+r;if("[]"===t.ctor)return r;var e=u(t._0,c),n=e;for(t=t._1;"[]"!==t.ctor;)n._1=u(t._0,c),t=t._1,n=n._1;return n._1=r,e}),crash:function(t,r){return function(e){throw new Error("Ran into a `Debug.crash` in module `"+t+"` "+a(r)+"\nThe message provided by the code author is:\n\n "+e)}},crashCase:function(t,r,e){return function(n){throw new Error("Ran into a `Debug.crash` in module `"+t+"`\n\nThis was caused by the `case` expression "+a(r)+".\nOne of the branches ended with a crash and the following value got through:\n\n "+l(e)+"\n\nThe message provided by the code author is:\n\n "+n)}},toString:l}}(),h=(e(function(t,r){var e=r;return l(t,e._0,e._1)}),o(function(t,r,e){return t({ctor:"_Tuple2",_0:r,_1:e})}),o(function(t,r,e){return l(t,e,r)}),e(function(t,r){return t})),v=function(t){return t};(m=m||{})["<|"]=e(function(t,r){return t(r)}),(m=m||{})["|>"]=e(function(t,r){return r(t)}),(m=m||{})[">>"]=o(function(t,r,e){return r(t(e))}),(m=m||{})["<<"]=o(function(t,r,e){return t(r(e))}),(m=m||{})["++"]=p.append;var g=p.toString;d.isInfinite,d.isNaN,d.toFloat,d.ceiling,d.floor,d.truncate,d.round,d.not,d.xor;(m=m||{})["||"]=d.or,(m=m||{})["&&"]=d.and;d.max,d.min;var b=d.compare;(m=m||{})[">="]=d.ge,(m=m||{})["<="]=d.le,(m=m||{})[">"]=d.gt,(m=m||{})["<"]=d.lt,(m=m||{})["/="]=d.neq,(m=m||{})["=="]=d.eq;d.e,d.pi,d.clamp,d.logBase,d.abs,d.negate,d.sqrt,d.atan2,d.atan,d.asin,d.acos,d.tan,d.sin,d.cos;(m=m||{})["^"]=d.exp,(m=m||{})["%"]=d.mod;var m;d.rem;(m=m||{})["//"]=d.div,(m=m||{})["/"]=d.floatDiv,(m=m||{})["*"]=d.mul,(m=m||{})["-"]=d.sub,(m=m||{})["+"]=d.add;d.toPolar,d.fromPolar,d.turns,d.degrees,e(function(t,r){var e=r;return"Just"===e.ctor?e._0:t});var y={ctor:"Nothing"},k=(e(function(t,r){var e=r;return"Just"===e.ctor?t(e._0):y}),function(t){return{ctor:"Just",_0:t}}),w=(e(function(t,r){var e=r;return"Just"===e.ctor?k(t(e._0)):y}),o(function(t,r,e){var n={ctor:"_Tuple2",_0:r,_1:e};return"_Tuple2"===n.ctor&&"Just"===n._0.ctor&&"Just"===n._1.ctor?k(l(t,n._0._0,n._1._0)):y})),T=(i(function(t,r,e,n){var o={ctor:"_Tuple3",_0:r,_1:e,_2:n};return"_Tuple3"===o.ctor&&"Just"===o._0.ctor&&"Just"===o._1.ctor&&"Just"===o._2.ctor?k(_(t,o._0._0,o._1._0,o._2._0)):y}),c(function(t,r,e,n,o){var i={ctor:"_Tuple4",_0:r,_1:e,_2:n,_3:o};return"_Tuple4"===i.ctor&&"Just"===i._0.ctor&&"Just"===i._1.ctor&&"Just"===i._2.ctor&&"Just"===i._3.ctor?k(f(t,i._0._0,i._1._0,i._2._0,i._3._0)):y}),u(function(t,r,e,n,o,i){var c={ctor:"_Tuple5",_0:r,_1:e,_2:n,_3:o,_4:i};return"_Tuple5"===c.ctor&&"Just"===c._0.ctor&&"Just"===c._1.ctor&&"Just"===c._2.ctor&&"Just"===c._3.ctor&&"Just"===c._4.ctor?k(s(t,c._0._0,c._1._0,c._2._0,c._3._0,c._4._0)):y}),function(){var t={ctor:"[]"};function r(t,r){return{ctor:"::",_0:t,_1:r}}function n(e){for(var n=t,o=e.length;o--;)n=r(e[o],n);return n}function a(t){for(var r=[];"[]"!==t.ctor;)r.push(t._0),t=t._1;return r}return{Nil:t,Cons:r,cons:e(r),toArray:a,fromArray:n,foldr:o(function(t,r,e){for(var n=a(e),o=r,i=n.length;i--;)o=l(t,n[i],o);return o}),map2:o(function(t,r,e){for(var o=[];"[]"!==r.ctor&&"[]"!==e.ctor;)o.push(l(t,r._0,e._0)),r=r._1,e=e._1;return n(o)}),map3:i(function(t,r,e,o){for(var i=[];"[]"!==r.ctor&&"[]"!==e.ctor&&"[]"!==o.ctor;)i.push(_(t,r._0,e._0,o._0)),r=r._1,e=e._1,o=o._1;return n(i)}),map4:c(function(t,r,e,o,i){for(var c=[];"[]"!==r.ctor&&"[]"!==e.ctor&&"[]"!==o.ctor&&"[]"!==i.ctor;)c.push(f(t,r._0,e._0,o._0,i._0)),r=r._1,e=e._1,o=o._1,i=i._1;return n(c)}),map5:u(function(t,r,e,o,i,c){for(var u=[];"[]"!==r.ctor&&"[]"!==e.ctor&&"[]"!==o.ctor&&"[]"!==i.ctor&&"[]"!==c.ctor;)u.push(s(t,r._0,e._0,o._0,i._0,c._0)),r=r._1,e=e._1,o=o._1,i=i._1,c=c._1;return n(u)}),sortBy:e(function(t,r){return n(a(r).sort(function(r,e){return p.cmp(t(r),t(e))}))}),sortWith:e(function(t,r){return n(a(r).sort(function(r,e){var n=t(r)(e).ctor;return"EQ"===n?0:"LT"===n?-1:1}))})}}()),x=(T.sortWith,T.sortBy,e(function(t,r){for(;;){if(p.cmp(t,0)<1)return r;var e=r;if("[]"===e.ctor)return r;t=t-1,r=e._1}}),T.map5,T.map4,T.map3,T.map2),B=e(function(t,r){for(;;){var e=r;if("[]"===e.ctor)return!1;if(t(e._0))return!0;t=t,r=e._1}}),N=e(function(t,r){return!l(B,function(r){return!t(r)},r)}),R=T.foldr,E=o(function(t,r,e){for(;;){var n=e;if("[]"===n.ctor)return r;var o=t,i=l(t,n._0,r);t=o,r=i,e=n._1}}),S=(e(function(t,r){return l(B,function(r){return p.eq(r,t)},r)}),S||{});S["::"]=T.cons;var C,A=e(function(t,r){return _(R,e(function(r,e){return{ctor:"::",_0:t(r),_1:e}}),{ctor:"[]"},r)}),M=e(function(t,r){var n=e(function(r,e){return t(r)?{ctor:"::",_0:r,_1:e}:e});return _(R,n,{ctor:"[]"},r)}),L=o(function(t,r,e){var n=t(r);return"Just"===n.ctor?{ctor:"::",_0:n._0,_1:e}:e}),O=e(function(t,r){return _(R,L(t),{ctor:"[]"},r)}),U=function(t){return _(E,e(function(t,r){return{ctor:"::",_0:t,_1:r}}),{ctor:"[]"},t)},P=(o(function(t,r,n){var o=e(function(r,e){var n=e;return"::"===n.ctor?{ctor:"::",_0:l(t,r,n._0),_1:e}:{ctor:"[]"}});return U(_(E,o,{ctor:"::",_0:r,_1:{ctor:"[]"}},n))}),e(function(t,r){return"[]"===r.ctor?t:_(R,e(function(t,r){return{ctor:"::",_0:t,_1:r}}),r,t)})),I=e(function(t,r){return e=l(A,t,r),_(R,P,{ctor:"[]"},e);var e}),j=(e(function(t,r){var n=e(function(r,e){var n=e,o=n._0,i=n._1;return t(r)?{ctor:"_Tuple2",_0:{ctor:"::",_0:r,_1:o},_1:i}:{ctor:"_Tuple2",_0:o,_1:{ctor:"::",_0:r,_1:i}}});return _(R,n,{ctor:"_Tuple2",_0:{ctor:"[]"},_1:{ctor:"[]"}},r)}),e(function(t,r){var n=r;if("[]"===n.ctor)return{ctor:"[]"};var o=e(function(r,e){return{ctor:"::",_0:t,_1:{ctor:"::",_0:r,_1:e}}}),i=_(R,o,{ctor:"[]"},n._1);return{ctor:"::",_0:n._0,_1:i}}),o(function(t,r,e){for(;;){if(p.cmp(t,0)<1)return e;var n=r;if("[]"===n.ctor)return e;t=t-1,r=n._1,e={ctor:"::",_0:n._0,_1:e}}})),z=e(function(t,r){return U(_(j,t,r,{ctor:"[]"}))}),J=o(function(t,r,e){if(p.cmp(r,0)<1)return{ctor:"[]"};var n={ctor:"_Tuple2",_0:r,_1:e};t:do{r:do{if("_Tuple2"!==n.ctor)break t;if("[]"===n._1.ctor)return e;if("::"!==n._1._1.ctor){if(1===n._0)break r;break t}switch(n._0){case 1:break r;case 2:return{ctor:"::",_0:n._1._0,_1:{ctor:"::",_0:n._1._1._0,_1:{ctor:"[]"}}};case 3:if("::"===n._1._1._1.ctor)return{ctor:"::",_0:n._1._0,_1:{ctor:"::",_0:n._1._1._0,_1:{ctor:"::",_0:n._1._1._1._0,_1:{ctor:"[]"}}}};break t;default:if("::"===n._1._1._1.ctor&&"::"===n._1._1._1._1.ctor){var o=n._1._1._1._0,i=n._1._1._0,c=n._1._0,u=n._1._1._1._1._0,a=n._1._1._1._1._1;return p.cmp(t,1e3)>0?{ctor:"::",_0:c,_1:{ctor:"::",_0:i,_1:{ctor:"::",_0:o,_1:{ctor:"::",_0:u,_1:l(z,r-4,a)}}}}:{ctor:"::",_0:c,_1:{ctor:"::",_0:i,_1:{ctor:"::",_0:o,_1:{ctor:"::",_0:u,_1:_(J,t+1,r-4,a)}}}}}break t}}while(0);return{ctor:"::",_0:n._1._0,_1:{ctor:"[]"}}}while(0);return e}),D=(e(function(t,r){return _(J,0,t,r)}),o(function(t,r,e){for(;;){if(p.cmp(r,0)<1)return t;t={ctor:"::",_0:e,_1:t},r=r-1,e=e}})),F=(e(function(t,r){return _(D,{ctor:"[]"},t,r)}),o(function(t,r,e){for(;;){if(!(p.cmp(t,r)<1))return e;var n={ctor:"::",_0:r,_1:e};t=t,r=r-1,e=n}})),q=e(function(t,r){return _(F,t,r,{ctor:"[]"})}),W=e(function(t,r){return _(x,t,l(q,0,function(t){return _(E,e(function(t,r){return r+1}),0,t)}(r)-1),r)}),V=function(){return{crash:function(t){throw new Error(t)},log:e(function(t,r){var e=t+": "+p.toString(r),n=n||{};return n.stdout?n.stdout.write(e):console.log(e),r})}}(),H=function(){function t(t,r){for(var e="";t>0;)1&t&&(e+=r),t>>=1,r+=r;return e}function r(t){return Z("could not convert string '"+t+"' to an Int")}function n(t){return Z("could not convert string '"+t+"' to a Float")}return{isEmpty:function(t){return 0===t.length},cons:e(function(t,r){return t+r}),uncons:function(t){var r=t[0];return r?k(p.Tuple2(p.chr(r),t.slice(1))):y},append:e(function(t,r){return t+r}),concat:function(t){return T.toArray(t).join("")},length:function(t){return t.length},map:e(function(t,r){for(var e=r.split(""),n=e.length;n--;)e[n]=t(p.chr(e[n]));return e.join("")}),filter:e(function(t,r){return r.split("").map(p.chr).filter(t).join("")}),reverse:function(t){return t.split("").reverse().join("")},foldl:o(function(t,r,e){for(var n=e.length,o=0;o<n;++o)r=l(t,p.chr(e[o]),r);return r}),foldr:o(function(t,r,e){for(var n=e.length;n--;)r=l(t,p.chr(e[n]),r);return r}),split:e(function(t,r){return T.fromArray(r.split(t))}),join:e(function(t,r){return T.toArray(r).join(t)}),repeat:e(t),slice:o(function(t,r,e){return e.slice(t,r)}),left:e(function(t,r){return t<1?"":r.slice(0,t)}),right:e(function(t,r){return t<1?"":r.slice(-t)}),dropLeft:e(function(t,r){return t<1?r:r.slice(t)}),dropRight:e(function(t,r){return t<1?r:r.slice(0,-t)}),pad:o(function(r,e,n){var o=(r-n.length)/2;return t(Math.ceil(o),e)+n+t(0|o,e)}),padLeft:o(function(r,e,n){return t(r-n.length,e)+n}),padRight:o(function(r,e,n){return n+t(r-n.length,e)}),trim:function(t){return t.trim()},trimLeft:function(t){return t.replace(/^\s+/,"")},trimRight:function(t){return t.replace(/\s+$/,"")},words:function(t){return T.fromArray(t.trim().split(/\s+/g))},lines:function(t){return T.fromArray(t.split(/\r\n|\r|\n/g))},toUpper:function(t){return t.toUpperCase()},toLower:function(t){return t.toLowerCase()},any:e(function(t,r){for(var e=r.length;e--;)if(t(p.chr(r[e])))return!0;return!1}),all:e(function(t,r){for(var e=r.length;e--;)if(!t(p.chr(r[e])))return!1;return!0}),contains:e(function(t,r){return r.indexOf(t)>-1}),startsWith:e(function(t,r){return 0===r.indexOf(t)}),endsWith:e(function(t,r){return r.length>=t.length&&r.lastIndexOf(t)===r.length-t.length}),indexes:e(function(t,r){var e=t.length;if(e<1)return T.Nil;for(var n=0,o=[];(n=r.indexOf(t,n))>-1;)o.push(n),n+=e;return T.fromArray(o)}),toInt:function(t){var e=t.length;if(0===e)return r(t);if("0"===(o=t[0])&&"x"===t[1]){for(var n=2;n<e;++n)if(!("0"<=(o=t[n])&&o<="9"||"A"<=o&&o<="F"||"a"<=o&&o<="f"))return r(t);return rt(parseInt(t,16))}if(o>"9"||o<"0"&&"-"!==o&&"+"!==o)return r(t);for(n=1;n<e;++n){var o;if((o=t[n])<"0"||"9"<o)return r(t)}return rt(parseInt(t,10))},toFloat:function(t){if(0===t.length||/[\sxbo]/.test(t))return n(t);var r=+t;return r==r?rt(r):n(t)},toList:function(t){return T.fromArray(t.split("").map(p.chr))},fromList:function(t){return T.toArray(t).join("")}}}(),G={fromCode:function(t){return p.chr(String.fromCharCode(t))},toCode:function(t){return t.charCodeAt(0)},toUpper:function(t){return p.chr(t.toUpperCase())},toLower:function(t){return p.chr(t.toLowerCase())},toLocaleUpper:function(t){return p.chr(t.toLocaleUpperCase())},toLocaleLower:function(t){return p.chr(t.toLocaleLowerCase())}},Q=G.toCode,K=G.toUpper,$=o(function(t,r,e){var n=Q(e);return p.cmp(n,Q(t))>-1&&p.cmp(n,Q(r))<1}),X=(l($,p.chr("A"),p.chr("Z")),l($,p.chr("a"),p.chr("z"))),Y=(l($,p.chr("0"),p.chr("9")),l($,p.chr("0"),p.chr("7")),e(function(t,r){var e=r;return"Ok"===e.ctor?e._0:t})),Z=function(t){return{ctor:"Err",_0:t}},tt=e(function(t,r){var e=r;return"Ok"===e.ctor?t(e._0):Z(e._0)}),rt=function(t){return{ctor:"Ok",_0:t}},et=e(function(t,r){var e=r;return"Ok"===e.ctor?rt(t(e._0)):Z(e._0)}),nt=(o(function(t,r,e){var n={ctor:"_Tuple2",_0:r,_1:e};return"Ok"===n._0.ctor?"Ok"===n._1.ctor?rt(l(t,n._0._0,n._1._0)):Z(n._1._0):Z(n._0._0)}),i(function(t,r,e,n){var o={ctor:"_Tuple3",_0:r,_1:e,_2:n};return"Ok"===o._0.ctor?"Ok"===o._1.ctor?"Ok"===o._2.ctor?rt(_(t,o._0._0,o._1._0,o._2._0)):Z(o._2._0):Z(o._1._0):Z(o._0._0)}),c(function(t,r,e,n,o){var i={ctor:"_Tuple4",_0:r,_1:e,_2:n,_3:o};return"Ok"===i._0.ctor?"Ok"===i._1.ctor?"Ok"===i._2.ctor?"Ok"===i._3.ctor?rt(f(t,i._0._0,i._1._0,i._2._0,i._3._0)):Z(i._3._0):Z(i._2._0):Z(i._1._0):Z(i._0._0)}),u(function(t,r,e,n,o,i){var c={ctor:"_Tuple5",_0:r,_1:e,_2:n,_3:o,_4:i};return"Ok"===c._0.ctor?"Ok"===c._1.ctor?"Ok"===c._2.ctor?"Ok"===c._3.ctor?"Ok"===c._4.ctor?rt(s(t,c._0._0,c._1._0,c._2._0,c._3._0,c._4._0)):Z(c._4._0):Z(c._3._0):Z(c._2._0):Z(c._1._0):Z(c._0._0)}),e(function(t,r){var e=r;return"Ok"===e.ctor?rt(e._0):Z(t(e._0))}),e(function(t,r){var e=r;return"Just"===e.ctor?rt(e._0):Z(t)}),H.fromList),ot=H.toList,it=(H.toFloat,H.toInt),ct=(H.indexes,H.indexes,H.endsWith,H.startsWith,H.contains,H.all,H.any,H.toLower,H.toUpper,H.lines,H.words,H.trimRight,H.trimLeft,H.trim,H.padRight,H.padLeft,H.pad,H.dropRight,H.dropLeft),ut=(H.right,H.left,H.slice,H.repeat,H.join),at=H.split,lt=(H.foldr,H.foldl,H.reverse,H.filter,H.map,H.length,H.concat),_t=(H.append,H.uncons,H.cons,H.isEmpty,o(function(t,r,e){for(;;){var n=e;if("RBEmpty_elm_builtin"===n.ctor)return r;var o=t,i=_(t,n._1,n._2,_(_t,t,r,n._4));t=o,r=i,e=n._3}})),ft=function(t){return _(_t,o(function(t,r,e){return{ctor:"::",_0:{ctor:"_Tuple2",_0:t,_1:r},_1:e}}),{ctor:"[]"},t)},st=o(function(t,r,e){for(;;){var n=e;if("RBEmpty_elm_builtin"===n.ctor)return r;var o=t,i=_(t,n._1,n._2,_(st,t,r,n._3));t=o,r=i,e=n._4}}),dt=u(function(t,r,n,i,c,u){var a=o(function(e,o,i){for(;;){var c=i,u=c._1,a=c._0,l=a;if("[]"===l.ctor)return{ctor:"_Tuple2",_0:a,_1:_(n,e,o,u)};var s=l._1,d=l._0._1,h=l._0._0;if(!(p.cmp(h,e)<0))return p.cmp(h,e)>0?{ctor:"_Tuple2",_0:a,_1:_(n,e,o,u)}:{ctor:"_Tuple2",_0:s,_1:f(r,h,d,o,u)};e=e,o=o,i={ctor:"_Tuple2",_0:s,_1:_(t,h,d,u)}}}),l=_(st,a,{ctor:"_Tuple2",_0:ft(i),_1:u},c),s=l._0,d=l._1;return _(E,e(function(r,e){var n=r;return _(t,n._0,n._1,e)}),d,s)}),pt=i(function(t,r,e,n){return V.crash(lt({ctor:"::",_0:"Internal red-black tree invariant violated, expected ",_1:{ctor:"::",_0:t,_1:{ctor:"::",_0:" and got ",_1:{ctor:"::",_0:g(r),_1:{ctor:"::",_0:"/",_1:{ctor:"::",_0:e,_1:{ctor:"::",_0:"/",_1:{ctor:"::",_0:n,_1:{ctor:"::",_0:"\nPlease report this bug to <https://github.com/elm-lang/core/issues>",_1:{ctor:"[]"}}}}}}}}}}))}),ht=function(t){var r=t;t:do{if("RBNode_elm_builtin"===r.ctor){if("BBlack"===r._0.ctor)return!0;break t}if("LBBlack"===r._0.ctor)return!0;break t}while(0);return!1},vt=e(function(t,r){for(;;){var e=r;if("RBEmpty_elm_builtin"===e.ctor)return t;t=l(vt,t+1,e._4),r=e._3}}),gt=e(function(t,r){t:for(;;){var e=r;if("RBEmpty_elm_builtin"===e.ctor)return y;switch(l(b,t,e._1).ctor){case"LT":t=t,r=e._3;continue t;case"EQ":return k(e._2);default:t=t,r=e._4;continue t}}}),bt=e(function(t,r){return"Just"===l(gt,t,r).ctor}),mt=o(function(t,r,e){for(;;){var n=e;if("RBEmpty_elm_builtin"===n.ctor)return{ctor:"_Tuple2",_0:t,_1:r};t=n._1,r=n._2,e=n._4}}),yt={ctor:"NBlack"},kt={ctor:"BBlack"},wt={ctor:"Black"},Tt={ctor:"Red"},xt=function(t){switch(t.ctor){case"BBlack":return wt;case"Black":return Tt;case"Red":return yt;default:return V.crash("Can't make a negative black node less black!")}},Bt={ctor:"LBBlack"},Nt={ctor:"LBlack"},Rt=function(t){return{ctor:"RBEmpty_elm_builtin",_0:t}},Et=Rt(Nt),St=function(t){return p.eq(t,Et)},Ct=c(function(t,r,e,n,o){return{ctor:"RBNode_elm_builtin",_0:t,_1:r,_2:e,_3:n,_4:o}}),At=function(t){var r=t;return"RBNode_elm_builtin"===r.ctor?s(Ct,xt(r._0),r._1,r._2,r._3,r._4):Rt(Nt)},Mt=function(t){return function(r){return function(e){return function(n){return function(o){return function(i){return function(c){return function(u){return function(a){return function(l){return function(_){return s(Ct,xt(t),n,o,s(Ct,wt,r,e,u,a),s(Ct,wt,i,c,l,_))}}}}}}}}}}},Lt=function(t){var r=t;return"RBEmpty_elm_builtin"===r.ctor?V.crash("can't make a Leaf red"):s(Ct,Tt,r._1,r._2,r._3,r._4)},Ot=c(function(t,r,e,n,o){var i=s(Ct,t,r,e,n,o);return function(t){var r=t;if("RBNode_elm_builtin"===r.ctor){var e=r._0;return p.eq(e,wt)||p.eq(e,kt)}return!0}(i)?function(t){var r=t;t:do{r:do{e:do{n:do{o:do{i:do{c:do{if("RBNode_elm_builtin"!==r.ctor)break t;if("RBNode_elm_builtin"===r._3.ctor)if("RBNode_elm_builtin"===r._4.ctor)switch(r._3._0.ctor){case"Red":switch(r._4._0.ctor){case"Red":if("RBNode_elm_builtin"===r._3._3.ctor&&"Red"===r._3._3._0.ctor)break c;if("RBNode_elm_builtin"===r._3._4.ctor&&"Red"===r._3._4._0.ctor)break i;if("RBNode_elm_builtin"===r._4._3.ctor&&"Red"===r._4._3._0.ctor)break o;if("RBNode_elm_builtin"===r._4._4.ctor&&"Red"===r._4._4._0.ctor)break n;break t;case"NBlack":if("RBNode_elm_builtin"===r._3._3.ctor&&"Red"===r._3._3._0.ctor)break c;if("RBNode_elm_builtin"===r._3._4.ctor&&"Red"===r._3._4._0.ctor)break i;if("BBlack"===r._0.ctor&&"RBNode_elm_builtin"===r._4._3.ctor&&"Black"===r._4._3._0.ctor&&"RBNode_elm_builtin"===r._4._4.ctor&&"Black"===r._4._4._0.ctor)break e;break t;default:if("RBNode_elm_builtin"===r._3._3.ctor&&"Red"===r._3._3._0.ctor)break c;if("RBNode_elm_builtin"===r._3._4.ctor&&"Red"===r._3._4._0.ctor)break i;break t}case"NBlack":switch(r._4._0.ctor){case"Red":if("RBNode_elm_builtin"===r._4._3.ctor&&"Red"===r._4._3._0.ctor)break o;if("RBNode_elm_builtin"===r._4._4.ctor&&"Red"===r._4._4._0.ctor)break n;if("BBlack"===r._0.ctor&&"RBNode_elm_builtin"===r._3._3.ctor&&"Black"===r._3._3._0.ctor&&"RBNode_elm_builtin"===r._3._4.ctor&&"Black"===r._3._4._0.ctor)break r;break t;case"NBlack":if("BBlack"===r._0.ctor){if("RBNode_elm_builtin"===r._4._3.ctor&&"Black"===r._4._3._0.ctor&&"RBNode_elm_builtin"===r._4._4.ctor&&"Black"===r._4._4._0.ctor)break e;if("RBNode_elm_builtin"===r._3._3.ctor&&"Black"===r._3._3._0.ctor&&"RBNode_elm_builtin"===r._3._4.ctor&&"Black"===r._3._4._0.ctor)break r;break t}break t;default:if("BBlack"===r._0.ctor&&"RBNode_elm_builtin"===r._3._3.ctor&&"Black"===r._3._3._0.ctor&&"RBNode_elm_builtin"===r._3._4.ctor&&"Black"===r._3._4._0.ctor)break r;break t}default:switch(r._4._0.ctor){case"Red":if("RBNode_elm_builtin"===r._4._3.ctor&&"Red"===r._4._3._0.ctor)break o;if("RBNode_elm_builtin"===r._4._4.ctor&&"Red"===r._4._4._0.ctor)break n;break t;case"NBlack":if("BBlack"===r._0.ctor&&"RBNode_elm_builtin"===r._4._3.ctor&&"Black"===r._4._3._0.ctor&&"RBNode_elm_builtin"===r._4._4.ctor&&"Black"===r._4._4._0.ctor)break e;break t;default:break t}}else switch(r._3._0.ctor){case"Red":if("RBNode_elm_builtin"===r._3._3.ctor&&"Red"===r._3._3._0.ctor)break c;if("RBNode_elm_builtin"===r._3._4.ctor&&"Red"===r._3._4._0.ctor)break i;break t;case"NBlack":if("BBlack"===r._0.ctor&&"RBNode_elm_builtin"===r._3._3.ctor&&"Black"===r._3._3._0.ctor&&"RBNode_elm_builtin"===r._3._4.ctor&&"Black"===r._3._4._0.ctor)break r;break t;default:break t}else{if("RBNode_elm_builtin"!==r._4.ctor)break t;switch(r._4._0.ctor){case"Red":if("RBNode_elm_builtin"===r._4._3.ctor&&"Red"===r._4._3._0.ctor)break o;if("RBNode_elm_builtin"===r._4._4.ctor&&"Red"===r._4._4._0.ctor)break n;break t;case"NBlack":if("BBlack"===r._0.ctor&&"RBNode_elm_builtin"===r._4._3.ctor&&"Black"===r._4._3._0.ctor&&"RBNode_elm_builtin"===r._4._4.ctor&&"Black"===r._4._4._0.ctor)break e;break t;default:break t}}}while(0);return Mt(r._0)(r._3._3._1)(r._3._3._2)(r._3._1)(r._3._2)(r._1)(r._2)(r._3._3._3)(r._3._3._4)(r._3._4)(r._4)}while(0);return Mt(r._0)(r._3._1)(r._3._2)(r._3._4._1)(r._3._4._2)(r._1)(r._2)(r._3._3)(r._3._4._3)(r._3._4._4)(r._4)}while(0);return Mt(r._0)(r._1)(r._2)(r._4._3._1)(r._4._3._2)(r._4._1)(r._4._2)(r._3)(r._4._3._3)(r._4._3._4)(r._4._4)}while(0);return Mt(r._0)(r._1)(r._2)(r._4._1)(r._4._2)(r._4._4._1)(r._4._4._2)(r._3)(r._4._3)(r._4._4._3)(r._4._4._4)}while(0);return s(Ct,wt,r._4._3._1,r._4._3._2,s(Ct,wt,r._1,r._2,r._3,r._4._3._3),s(Ot,wt,r._4._1,r._4._2,r._4._3._4,Lt(r._4._4)))}while(0);return s(Ct,wt,r._3._4._1,r._3._4._2,s(Ot,wt,r._3._1,r._3._2,Lt(r._3._3),r._3._4._3),s(Ct,wt,r._1,r._2,r._3._4._4,r._4))}while(0);return t}(i):i}),Ut=c(function(t,r,e,n,o){return ht(n)||ht(o)?s(Ot,function(t){switch(t.ctor){case"Black":return kt;case"Red":return wt;case"NBlack":return Tt;default:return V.crash("Can't make a double black node more black!")}}(t),r,e,At(n),At(o)):s(Ct,t,r,e,n,o)}),Pt=c(function(t,r,e,n,o){var i=o;return"RBEmpty_elm_builtin"===i.ctor?_(It,t,n,o):s(Ut,t,r,e,n,s(Pt,i._0,i._1,i._2,i._3,i._4))}),It=o(function(t,r,e){var n={ctor:"_Tuple2",_0:r,_1:e};if("RBEmpty_elm_builtin"!==n._0.ctor){if("RBEmpty_elm_builtin"===n._1.ctor){var o=n._1._0,i=n._0._0,c={ctor:"_Tuple3",_0:t,_1:i,_2:o};return"_Tuple3"===c.ctor&&"Black"===c._0.ctor&&"Red"===c._1.ctor&&"LBlack"===c._2.ctor?s(Ct,wt,n._0._1,n._0._2,n._0._3,n._0._4):f(pt,"Black/Red/LBlack",t,g(i),g(o))}var u=n._0._2,a=n._0._4,l=n._0._1,d=s(Pt,n._0._0,l,u,n._0._3,a),p=_(mt,l,u,a),h=p._0,v=p._1;return s(Ut,t,h,v,d,e)}if("RBEmpty_elm_builtin"!==n._1.ctor){var b=n._1._0,m=n._0._0,y={ctor:"_Tuple3",_0:t,_1:m,_2:b};return"_Tuple3"===y.ctor&&"Black"===y._0.ctor&&"LBlack"===y._1.ctor&&"Red"===y._2.ctor?s(Ct,wt,n._1._1,n._1._2,n._1._3,n._1._4):f(pt,"Black/LBlack/Red",t,g(m),g(b))}switch(t.ctor){case"Red":return Rt(Nt);case"Black":return Rt(Bt);default:return V.crash("cannot have bblack or nblack nodes at this point")}}),jt=e(function(t,r){var e=r;if("RBEmpty_elm_builtin"===e.ctor)return Rt(Nt);var n=e._1;return s(Ct,e._0,n,l(t,n,e._2),l(jt,t,e._3),l(jt,t,e._4))}),zt={ctor:"Same"},Jt={ctor:"Remove"},Dt={ctor:"Insert"},Ft=o(function(t,r,e){var n,o=function(e){var n=e;if("RBEmpty_elm_builtin"===n.ctor){var i=r(y);return"Nothing"===i.ctor?{ctor:"_Tuple2",_0:zt,_1:Et}:{ctor:"_Tuple2",_0:Dt,_1:s(Ct,Tt,t,i._0,Et,Et)}}var c=n._2,u=n._4,a=n._3,f=n._1,d=n._0;switch(l(b,t,f).ctor){case"EQ":var p=r(k(c));return"Nothing"===p.ctor?{ctor:"_Tuple2",_0:Jt,_1:_(It,d,a,u)}:{ctor:"_Tuple2",_0:zt,_1:s(Ct,d,f,p._0,a,u)};case"LT":var h=o(a),v=h._0,g=h._1;switch(v.ctor){case"Same":return{ctor:"_Tuple2",_0:zt,_1:s(Ct,d,f,c,g,u)};case"Insert":return{ctor:"_Tuple2",_0:Dt,_1:s(Ot,d,f,c,g,u)};default:return{ctor:"_Tuple2",_0:Jt,_1:s(Ut,d,f,c,g,u)}}default:var m=o(u),w=(v=m._0,m._1);switch(v.ctor){case"Same":return{ctor:"_Tuple2",_0:zt,_1:s(Ct,d,f,c,a,w)};case"Insert":return{ctor:"_Tuple2",_0:Dt,_1:s(Ot,d,f,c,a,w)};default:return{ctor:"_Tuple2",_0:Jt,_1:s(Ut,d,f,c,a,w)}}}},i=o(e),c=i._0,u=i._1;switch(c.ctor){case"Same":return u;case"Insert":return function(t){var r=t;return"RBNode_elm_builtin"===r.ctor&&"Red"===r._0.ctor?s(Ct,wt,r._1,r._2,r._3,r._4):t}(u);default:return"RBEmpty_elm_builtin"===(n=u).ctor?Rt(Nt):s(Ct,wt,n._1,n._2,n._3,n._4)}}),qt=o(function(t,r,e){return _(Ft,t,h(k(r)),e)}),Wt=(e(function(t,r){return _(qt,t,r,Et)}),e(function(t,r){return _(st,qt,r,t)})),Vt=e(function(t,r){var e=o(function(r,e,n){return l(t,r,e)?_(qt,r,e,n):n});return _(st,e,Et,r)}),Ht=e(function(t,r){return l(Vt,e(function(t,e){return l(bt,t,r)}),t)}),Gt=e(function(t,r){var e=o(function(r,e,n){var o=n,i=o._1,c=o._0;return l(t,r,e)?{ctor:"_Tuple2",_0:_(qt,r,e,c),_1:i}:{ctor:"_Tuple2",_0:c,_1:_(qt,r,e,i)}});return _(st,e,{ctor:"_Tuple2",_0:Et,_1:Et},r)}),Qt=function(t){return _(E,e(function(t,r){var e=t;return _(qt,e._0,e._1,r)}),Et,t)},Kt=e(function(t,r){return _(Ft,t,h(y),r)}),$t=e(function(t,r){return _(st,o(function(t,r,e){return l(Kt,t,e)}),t,r)}),Xt=function(){var t=32,r=2,n={ctor:"_Array",height:0,table:[]};function i(r,e){var n=r.height;if(e.length===n){var o={ctor:"_Array",height:n+1,table:[],lengths:[]};e.push(o)}e[n].table.push(r);var c=b(r);e[n].lengths.length>0&&(c+=e[n].lengths[e[n].lengths.length-1]),e[n].lengths.push(c),e[n].table.length===t&&(i(e[n],e),e[n]={ctor:"_Array",height:n+1,table:[],lengths:[]})}function c(t,r){var e=t.table.length-1;t.table[e]=r,t.lengths[e]=b(r),t.lengths[e]+=e>0?t.lengths[e-1]:0}function u(t,r){if(r.table.length>0){t.table[0]=r,t.lengths[0]=b(r);for(var e=b(t.table[0]),n=1;n<t.lengths.length;n++)e+=b(t.table[n]),t.lengths[n]=e}else{t.table.shift();for(n=1;n<t.lengths.length;n++)t.lengths[n]=t.lengths[n]-t.lengths[0];t.lengths.shift()}}function a(r,e){for(var n=0,o=0;o<r.table.length;o++)n+=r.table[o].table.length;for(o=0;o<e.table.length;o++)n+=e.table[o].table.length;return r.table.length+e.table.length-(Math.floor((n-1)/t)+1)}function _(t,r,e){return e<t.length?t[e]:r[e-t.length]}function f(t,r,e,n){e<t.length?t[e]=n:r[e-t.length]=n}function s(t,r,e,n){f(t.table,r.table,e,n);var o=0===e||e===t.lengths.length?0:_(t.lengths,t.lengths,e-1);f(t.lengths,r.lengths,e,o+b(n))}function d(t,r){r<0&&(r=0);var e={ctor:"_Array",height:t,table:new Array(r)};return t>0&&(e.lengths=new Array(r)),e}function p(r,e,n){for(var o=d(r.height,Math.min(t,r.table.length+e.table.length-n)),i=d(r.height,o.table.length-(r.table.length+e.table.length-n)),c=0;_(r.table,e.table,c).table.length%t==0;)f(o.table,i.table,c,_(r.table,e.table,c)),f(o.lengths,i.lengths,c,_(r.lengths,e.lengths,c)),c++;for(var u=c,a=new d(r.height-1,0),l=0;c-u-(a.table.length>0?1:0)<n;){var p=_(r.table,e.table,c),h=Math.min(t-a.table.length,p.table.length);if(a.table=a.table.concat(p.table.slice(l,h)),a.height>0)for(var v=a.lengths.length,g=v;g<v+h-l;g++)a.lengths[g]=b(a.table[g]),a.lengths[g]+=g>0?a.lengths[g-1]:0;l+=h,p.table.length<=h&&(c++,l=0),a.table.length===t&&(s(o,i,u,a),a=d(r.height-1,0),u++)}for(a.table.length>0&&(s(o,i,u,a),u++);c<r.table.length+e.table.length;)s(o,i,u,_(r.table,e.table,c)),c++,u++;return[o,i]}function h(t){return t.table[t.table.length-1]}function v(t){return t.table[0]}function g(t){var r={ctor:"_Array",height:t.height,table:t.table.slice()};return t.height>0&&(r.lengths=t.lengths.slice()),r}function b(t){return 0===t.height?t.table.length:t.lengths[t.lengths.length-1]}function m(t,r){for(var e=t>>5*r.height;r.lengths[e]<=t;)e++;return e}function y(t,r){return 0===r?{ctor:"_Array",height:0,table:[t]}:{ctor:"_Array",height:r,table:[y(t,r-1)],lengths:[1]}}function k(t,r){return r===t.height?t:{ctor:"_Array",height:r,table:[k(t,r-1)],lengths:[b(t)]}}function w(t,r){return{ctor:"_Array",height:t.height+1,table:[t,r],lengths:[b(t),b(t)+b(r)]}}return{empty:n,fromList:function(r){if("[]"===r.ctor)return n;for(var e=new Array(t),o=[],c=0;"[]"!==r.ctor;)e[c]=r._0,r=r._1,++c===t&&(i({ctor:"_Array",height:0,table:e},o),e=new Array(t),c=0);c>0&&i({ctor:"_Array",height:0,table:e.splice(0,c)},o);for(var u=0;u<o.length-1;u++)o[u].table.length>0&&i(o[u],o);var a=o[o.length-1];return a.height>0&&1===a.table.length?a.table[0]:a},toList:function(t){return function t(r,e){for(var n=e.table.length-1;n>=0;n--)r=0===e.height?T.Cons(e.table[n],r):t(r,e.table[n]);return r}(T.Nil,t)},initialize:e(function(r,e){return r<=0?n:function r(e,n,o,i){if(0===n){for(var c=new Array((i-o)%(t+1)),u=0;u<c.length;u++)c[u]=e(o+u);return{ctor:"_Array",height:0,table:c}}for(var a=Math.pow(t,n),c=new Array(Math.ceil((i-o)/a)),l=new Array(c.length),u=0;u<c.length;u++)c[u]=r(e,n-1,o+u*a,Math.min(o+(u+1)*a,i)),l[u]=b(c[u])+(u>0?l[u-1]:0);return{ctor:"_Array",height:n,table:c,lengths:l}}(e,Math.floor(Math.log(r)/Math.log(t)),0,r)}),append:e(function(e,n){if(0===e.table.length)return n;if(0===n.table.length)return e;var o=function t(e,n){if(0===e.height&&0===n.height)return[e,n];if(1!==e.height||1!==n.height)if(e.height===n.height){e=g(e),n=g(n);var o=t(h(e),v(n));c(e,o[1]),u(n,o[0])}else if(e.height>n.height){e=g(e);var o=t(h(e),n);c(e,o[0]),n=k(o[1],o[1].height+1)}else{n=g(n);var o=t(e,v(n)),i=0===o[0].table.length?0:1,l=0===i?1:0;u(n,o[i]),e=k(o[l],o[l].height+1)}if(0===e.table.length||0===n.table.length)return[e,n];var _=a(e,n);return _<=r?[e,n]:p(e,n,_)}(e,n);if(o[0].table.length+o[1].table.length<=t){if(0===o[0].table.length)return o[1];if(0===o[1].table.length)return o[0];if(o[0].table=o[0].table.concat(o[1].table),o[0].height>0){for(var i=b(o[0]),l=0;l<o[1].lengths.length;l++)o[1].lengths[l]+=i;o[0].lengths=o[0].lengths.concat(o[1].lengths)}return o[0]}if(o[0].height>0){var _=a(e,n);_>r&&(o=p(o[0],o[1],_))}return w(o[0],o[1])}),push:e(function(r,e){var n=function r(e,n){if(0===n.height){if(n.table.length<t){var o={ctor:"_Array",height:0,table:n.table.slice()};return o.table.push(e),o}return null}var i=r(e,h(n));if(null!==i){var o=g(n);return o.table[o.table.length-1]=i,o.lengths[o.lengths.length-1]++,o}if(n.table.length<t){var c=y(e,n.height-1),o=g(n);return o.table.push(c),o.lengths.push(o.lengths[o.lengths.length-1]+b(c)),o}return null}(r,e);return null!==n?n:w(e,y(r,e.height))}),slice:o(function(t,r,e){return t<0&&(t+=b(e)),r<0&&(r+=b(e)),function t(r,e){if(0===r)return e;if(0===e.height){var n={ctor:"_Array",height:0};return n.table=e.table.slice(r,e.table.length+1),n}var o=m(r,e),i=t(r-(o>0?e.lengths[o-1]:0),e.table[o]);if(o===e.table.length-1)return i;var n={ctor:"_Array",height:e.height,table:e.table.slice(o,e.table.length+1),lengths:new Array(e.table.length-o)};n.table[0]=i;for(var c=0,u=0;u<n.table.length;u++)c+=b(n.table[u]),n.lengths[u]=c;return n}(t,function t(r,e){if(r===b(e))return e;if(0===e.height){var n={ctor:"_Array",height:0};return n.table=e.table.slice(0,r),n}var o=m(r,e),i=t(r-(o>0?e.lengths[o-1]:0),e.table[o]);if(0===o)return i;var n={ctor:"_Array",height:e.height,table:e.table.slice(0,o),lengths:e.lengths.slice(0,o)};return i.table.length>0&&(n.table[o]=i,n.lengths[o]=b(i)+(o>0?n.lengths[o-1]:0)),n}(r,e))}),get:e(function(t,r){if(t<0||t>=b(r))throw new Error("Index "+t+" is out of range. Check the length of your array first or use getMaybe or getWithDefault.");return function(t,r){for(var e=r.height;e>0;e--){for(var n=t>>5*e;r.lengths[n]<=t;)n++;n>0&&(t-=r.lengths[n-1]),r=r.table[n]}return r.table[t]}(t,r)}),set:o(function(t,r,e){return t<0||b(e)<=t?e:function t(r,e,n){if(0===(n=g(n)).height)n.table[r]=e;else{var o=m(r,n);o>0&&(r-=n.lengths[o-1]),n.table[o]=t(r,e,n.table[o])}return n}(t,r,e)}),map:e(function t(r,e){var n={ctor:"_Array",height:e.height,table:new Array(e.table.length)};e.height>0&&(n.lengths=e.lengths);for(var o=0;o<e.table.length;o++)n.table[o]=0===e.height?r(e.table[o]):t(r,e.table[o]);return n}),indexedMap:e(function(t,r){return function t(r,e,n){var o={ctor:"_Array",height:e.height,table:new Array(e.table.length)};e.height>0&&(o.lengths=e.lengths);for(var i=0;i<e.table.length;i++)o.table[i]=0===e.height?l(r,n+i,e.table[i]):t(r,e.table[i],0==i?n:n+e.lengths[i-1]);return o}(t,r,0)}),foldl:o(function t(r,e,n){if(0===n.height)for(var o=0;o<n.table.length;o++)e=l(r,n.table[o],e);else for(o=0;o<n.table.length;o++)e=t(r,e,n.table[o]);return e}),foldr:o(function t(r,e,n){if(0===n.height)for(var o=n.table.length;o--;)e=l(r,n.table[o],e);else for(o=n.table.length;o--;)e=t(r,e,n.table[o]);return e}),length:b,toJSArray:function(t){var r=new Array(b(t));return function t(r,e,n){for(var o=0;o<n.table.length;o++)if(0===n.height)r[e+o]=n.table[o];else{var i=0===o?0:n.lengths[o-1];t(r,e+i,n.table[o])}}(r,0,t),r},fromJSArray:function(r){return 0===r.length?n:function r(e,n,o,i){if(0===n)return{ctor:"_Array",height:0,table:e.slice(o,i)};for(var c=Math.pow(t,n),u=new Array(Math.ceil((i-o)/c)),a=new Array(u.length),l=0;l<u.length;l++)u[l]=r(e,n-1,o+l*c,Math.min(o+(l+1)*c,i)),a[l]=b(u[l])+(l>0?a[l-1]:0);return{ctor:"_Array",height:n,table:u,lengths:a}}(r,Math.floor(Math.log(r.length)/Math.log(t)),0,r.length)}}}(),Yt=(Xt.append,Xt.length,Xt.slice,Xt.set,e(function(t,r){return p.cmp(0,t)<1&&p.cmp(t,Xt.length(r))<0?k(l(Xt.get,t,r)):y}),Xt.push,Xt.empty,e(function(t,r){var n=e(function(r,e){return t(r)?l(Xt.push,r,e):e});return _(Xt.foldl,n,Xt.empty,r)}),Xt.foldr,Xt.foldl,Xt.indexedMap,Xt.map,Xt.toList),Zt=(Xt.fromList,Xt.initialize),tr=(e(function(t,r){return l(Zt,t,h(r))}),function(){function t(t,r){return{ctor:"<decoder>",tag:"map-many",func:t,decoders:r}}function r(t){return{tag:"ok",value:t}}function n(t,r){return{tag:"primitive",type:t,value:r}}function l(t,r){return{tag:"index",index:t,rest:r}}function _(t,r){return{tag:"field",field:t,rest:r}}function l(t,r){return{tag:"index",index:t,rest:r}}function f(t,e){var o=function t(e,o){switch(e.tag){case"bool":return"boolean"==typeof o?r(o):n("a Bool",o);case"int":return"number"!=typeof o?n("an Int",o):-2147483647<o&&o<2147483647&&(0|o)===o?r(o):!isFinite(o)||o%1?n("an Int",o):r(o);case"float":return"number"==typeof o?r(o):n("a Float",o);case"string":return"string"==typeof o?r(o):o instanceof String?r(o+""):n("a String",o);case"null":return null===o?r(e.value):n("null",o);case"value":return r(o);case"list":if(!(o instanceof Array))return n("a List",o);for(var i=T.Nil,c=o.length;c--;){var u=t(e.decoder,o[c]);if("ok"!==u.tag)return l(c,u);i=T.Cons(u.value,i)}return r(i);case"array":if(!(o instanceof Array))return n("an Array",o);for(var a=o.length,f=new Array(a),c=a;c--;){var u=t(e.decoder,o[c]);if("ok"!==u.tag)return l(c,u);f[c]=u.value}return r(Xt.fromJSArray(f));case"maybe":var u=t(e.decoder,o);return"ok"===u.tag?r(k(u.value)):r(y);case"field":var s=e.field;if("object"!=typeof o||null===o||!(s in o))return n("an object with a field named `"+s+"`",o);var u=t(e.decoder,o[s]);return"ok"===u.tag?u:_(s,u);case"index":var d=e.index;if(!(o instanceof Array))return n("an array",o);if(d>=o.length)return n("a longer array. Need index "+d+" but there are only "+o.length+" entries",o);var u=t(e.decoder,o[d]);return"ok"===u.tag?u:l(d,u);case"key-value":if("object"!=typeof o||null===o||o instanceof Array)return n("an object",o);var h=T.Nil;for(var v in o){var u=t(e.decoder,o[v]);if("ok"!==u.tag)return _(v,u);var g=p.Tuple2(v,u.value);h=T.Cons(g,h)}return r(h);case"map-many":for(var b=e.func,m=e.decoders,c=0;c<m.length;c++){var u=t(m[c],o);if("ok"!==u.tag)return u;b=b(u.value)}return r(b);case"andThen":var u=t(e.decoder,o);return"ok"!==u.tag?u:t(e.callback(u.value),o);case"oneOf":for(var w=[],x=e.decoders;"[]"!==x.ctor;){var u=t(x._0,o);if("ok"===u.tag)return u;w.push(u),x=x._1}return{tag:"oneOf",problems:w};case"fail":return{tag:"fail",msg:e.msg};case"succeed":return r(e.msg)}}(t,e);return"ok"===o.tag?rt(o.value):Z(function t(r){for(var e,n="_";r;)switch(r.tag){case"primitive":return"Expecting "+r.type+("_"===n?"":" at "+n)+" but instead got: "+(void 0===(e=r.value)?"undefined":JSON.stringify(e));case"index":n+="["+r.index+"]",r=r.rest;break;case"field":n+="."+r.field,r=r.rest;break;case"oneOf":for(var o=r.problems,i=0;i<o.length;i++)o[i]=t(o[i]);return"I ran into the following problems"+("_"===n?"":" at "+n)+":\n\n"+o.join("\n");case"fail":return"I ran into a `fail` decoder"+("_"===n?"":" at "+n)+": "+r.msg}}(o))}function s(t,r){if(t===r)return!0;if(t.tag!==r.tag)return!1;switch(t.tag){case"succeed":case"fail":return t.msg===r.msg;case"bool":case"int":case"float":case"string":case"value":return!0;case"null":return t.value===r.value;case"list":case"array":case"maybe":case"key-value":return s(t.decoder,r.decoder);case"field":return t.field===r.field&&s(t.decoder,r.decoder);case"index":return t.index===r.index&&s(t.decoder,r.decoder);case"map-many":return t.func===r.func&&d(t.decoders,r.decoders);case"andThen":return t.callback===r.callback&&s(t.decoder,r.decoder);case"oneOf":return d(t.decoders,r.decoders)}}function d(t,r){var e=t.length;if(e!==r.length)return!1;for(var n=0;n<e;n++)if(!s(t[n],r[n]))return!1;return!0}return{encode:e(function(t,r){return JSON.stringify(r,null,t)}),runOnString:e(function(t,r){var e;try{e=JSON.parse(r)}catch(t){return Z("Given an invalid JSON: "+t.message)}return f(t,e)}),run:e(f),decodeNull:function(t){return{ctor:"<decoder>",tag:"null",value:t}},decodePrimitive:function(t){return{ctor:"<decoder>",tag:t}},decodeContainer:e(function(t,r){return{ctor:"<decoder>",tag:t,decoder:r}}),decodeField:e(function(t,r){return{ctor:"<decoder>",tag:"field",field:t,decoder:r}}),decodeIndex:e(function(t,r){return{ctor:"<decoder>",tag:"index",index:t,decoder:r}}),map1:e(function(r,e){return t(r,[e])}),map2:o(function(r,e,n){return t(r,[e,n])}),map3:i(function(r,e,n,o){return t(r,[e,n,o])}),map4:c(function(r,e,n,o,i){return t(r,[e,n,o,i])}),map5:u(function(r,e,n,o,i,c){return t(r,[e,n,o,i,c])}),map6:a(function(r,e,n,o,i,c,u){return t(r,[e,n,o,i,c,u])}),map7:function(t){function r(r){return function(e){return function(n){return function(o){return function(i){return function(c){return function(u){return function(a){return t(r,e,n,o,i,c,u,a)}}}}}}}}return r.arity=8,r.func=t,r}(function(r,e,n,o,i,c,u,a){return t(r,[e,n,o,i,c,u,a])}),map8:function(t){function r(r){return function(e){return function(n){return function(o){return function(i){return function(c){return function(u){return function(a){return function(l){return t(r,e,n,o,i,c,u,a,l)}}}}}}}}}return r.arity=9,r.func=t,r}(function(r,e,n,o,i,c,u,a,l){return t(r,[e,n,o,i,c,u,a,l])}),decodeKeyValuePairs:function(t){return{ctor:"<decoder>",tag:"key-value",decoder:t}},andThen:e(function(t,r){return{ctor:"<decoder>",tag:"andThen",decoder:r,callback:t}}),fail:function(t){return{ctor:"<decoder>",tag:"fail",msg:t}},succeed:function(t){return{ctor:"<decoder>",tag:"succeed",msg:t}},oneOf:function(t){return{ctor:"<decoder>",tag:"oneOf",decoders:t}},identity:function(t){return t},encodeNull:null,encodeArray:Xt.toJSArray,encodeList:T.toArray,encodeObject:function(t){for(var r={};"[]"!==t.ctor;){var e=t._0;r[e._0]=e._1,t=t._1}return r},equality:s}}()),rr=(tr.encodeList,tr.encodeArray,tr.encodeObject,tr.encodeNull,tr.identity),er=(tr.identity,tr.identity,tr.identity),nr=tr.encode,or=tr.decodeNull,ir=tr.decodePrimitive("value"),cr=tr.andThen,ur=tr.fail,ar=tr.succeed,lr=function(t){return l(cr,t,ar({ctor:"_Tuple0"}))},_r=tr.run,fr=tr.runOnString,sr=(tr.map8,tr.map7,tr.map6,tr.map5,tr.map4,tr.map3,tr.map2),dr=tr.map1,pr=tr.oneOf,hr=function(t){return l(tr.decodeContainer,"maybe",t)},vr=(tr.decodeIndex,tr.decodeField),gr=e(function(t,r){return _(R,vr,r,t)}),br=tr.decodeKeyValuePairs,mr=function(t){return l(tr.decodeContainer,"list",t)},yr=tr.decodePrimitive("float"),kr=tr.decodePrimitive("int"),wr=tr.decodePrimitive("bool"),Tr=tr.decodePrimitive("string"),xr=function(){var t="STYLE",r="EVENT",n="ATTR",c="ATTR_NS",u="undefined"!=typeof document?document:{};function a(t,r,e){return{type:"thunk",func:t,args:r,thunk:e,node:void 0}}function f(e){for(var o,i={};"[]"!==e.ctor;){var u=e._0,a=u.key;if(a===n||a===c||a===r){var l=i[a]||{};l[u.realKey]=u.value,i[a]=l}else if(a===t){for(var _=i[a]||{},f=u.value;"[]"!==f.ctor;){var s=f._0;_[s._0]=s._1,f=f._1}i[a]=_}else if("namespace"===a)o=u.value;else if("className"===a){var d=i[a];i[a]=void 0===d?u.value:d+" "+u.value}else i[a]=u.value;e=e._1}return{facts:i,namespace:o}}function s(t,e,n){return{key:r,realKey:t,value:{options:e,decoder:n}}}function d(t,r){return(t.options===r.options||t.options.stopPropagation===r.options.stopPropagation&&t.options.preventDefault===r.options.preventDefault)&&tr.equality(t.decoder,r.decoder)}function h(t,r){switch(t.type){case"thunk":return t.node||(t.node=t.thunk()),h(t.node,r);case"tagger":for(var e=t.node,n=t.tagger;"tagger"===e.type;)"object"!=typeof n?n=[n,e.tagger]:n.push(e.tagger),e=e.node;var o={tagger:n,parent:r};return(a=h(e,o)).elm_event_node_ref=o,a;case"text":return u.createTextNode(t.text);case"node":v(a=t.namespace?u.createElementNS(t.namespace,t.tag):u.createElement(t.tag),r,t.facts);for(var i=t.children,c=0;c<i.length;c++)a.appendChild(h(i[c],r));return a;case"keyed-node":v(a=t.namespace?u.createElementNS(t.namespace,t.tag):u.createElement(t.tag),r,t.facts);for(i=t.children,c=0;c<i.length;c++)a.appendChild(h(i[c]._1,r));return a;case"custom":var a;return v(a=t.impl.render(t.model),r,t.facts),a}}function v(e,o,i){for(var u in i){var a=i[u];switch(u){case t:g(e,a);break;case r:b(e,o,a);break;case n:y(e,a);break;case c:k(e,a);break;case"value":e[u]!==a&&(e[u]=a);break;default:e[u]=a}}}function g(t,r){var e=t.style;for(var n in r)e[n]=r[n]}function b(t,r,e){var n=t.elm_handlers||{};for(var o in e){var i=n[o],c=e[o];if(void 0===c)t.removeEventListener(o,i),n[o]=void 0;else if(void 0===i){i=m(r,c);t.addEventListener(o,i),n[o]=i}else i.info=c}t.elm_handlers=n}function m(t,r){function e(r){var n=e.info,o=l(tr.run,n.decoder,r);if("Ok"===o.ctor){var i=n.options;i.stopPropagation&&r.stopPropagation(),i.preventDefault&&r.preventDefault();for(var c=o._0,u=t;u;){var a=u.tagger;if("function"==typeof a)c=a(c);else for(var _=a.length;_--;)c=a[_](c);u=u.parent}}}return e.info=r,e}function y(t,r){for(var e in r){var n=r[e];void 0===n?t.removeAttribute(e):t.setAttribute(e,n)}}function k(t,r){for(var e in r){var n=r[e],o=n.namespace,i=n.value;void 0===i?t.removeAttributeNS(o,e):t.setAttributeNS(o,e,i)}}function w(t,r){var e=[];return x(t,r,e,0),e}function T(t,r,e){return{index:r,type:t,data:e,domNode:void 0,eventNode:void 0}}function x(t,r,e,n){if(t!==r){var o=t.type,i=r.type;if(o===i)switch(i){case"thunk":for(var c=t.args,u=r.args,a=c.length,l=t.func===r.func&&a===u.length;l&&a--;)l=c[a]===u[a];if(l)return void(r.node=t.node);r.node=r.thunk();var _=[];return x(t.node,r.node,_,0),void(_.length>0&&e.push(T("p-thunk",n,_)));case"tagger":for(var f=t.tagger,s=r.tagger,d=!1,p=t.node;"tagger"===p.type;)d=!0,"object"!=typeof f?f=[f,p.tagger]:f.push(p.tagger),p=p.node;for(var h=r.node;"tagger"===h.type;)d=!0,"object"!=typeof s?s=[s,h.tagger]:s.push(h.tagger),h=h.node;return d&&f.length!==s.length?void e.push(T("p-redraw",n,r)):((d?function(t,r){for(var e=0;e<t.length;e++)if(t[e]!==r[e])return!1;return!0}(f,s):f===s)||e.push(T("p-tagger",n,s)),void x(p,h,e,n+1));case"text":return t.text!==r.text?void e.push(T("p-text",n,r.text)):void 0;case"node":return t.tag!==r.tag||t.namespace!==r.namespace?void e.push(T("p-redraw",n,r)):(void 0!==(v=B(t.facts,r.facts))&&e.push(T("p-facts",n,v)),void function(t,r,e,n){var o=t.children,i=r.children,c=o.length,u=i.length;c>u?e.push(T("p-remove-last",n,c-u)):c<u&&e.push(T("p-append",n,i.slice(c)));for(var a=n,l=c<u?c:u,_=0;_<l;_++){a++;var f=o[_];x(f,i[_],e,a),a+=f.descendantsCount||0}}(t,r,e,n));case"keyed-node":return t.tag!==r.tag||t.namespace!==r.namespace?void e.push(T("p-redraw",n,r)):(void 0!==(v=B(t.facts,r.facts))&&e.push(T("p-facts",n,v)),void function(t,r,e,n){var o,i=[],c={},u=[],a=t.children,l=r.children,_=a.length,f=l.length,s=0,d=0,p=n;for(;s<_&&d<f;){var h=a[s],v=l[d],g=h._0,b=v._0,m=h._1,y=v._1;if(g!==b){var k=s+1<_,w=d+1<f;if(k)var B=a[s+1],N=B._0,S=B._1,C=b===N;if(w)var A=l[d+1],M=A._0,L=A._1,O=g===M;if(k&&w&&O&&C)x(m,L,i,++p),R(c,i,g,y,d,u),p+=m.descendantsCount||0,E(c,i,g,S,++p),p+=S.descendantsCount||0,s+=2,d+=2;else if(w&&O)p++,R(c,i,b,y,d,u),x(m,L,i,p),p+=m.descendantsCount||0,s+=1,d+=2;else if(k&&C)E(c,i,g,m,++p),p+=m.descendantsCount||0,x(S,y,i,++p),p+=S.descendantsCount||0,s+=2,d+=1;else{if(!k||!w||N!==M)break;E(c,i,g,m,++p),R(c,i,b,y,d,u),p+=m.descendantsCount||0,x(S,L,i,++p),p+=S.descendantsCount||0,s+=2,d+=2}}else x(m,y,i,++p),p+=m.descendantsCount||0,s++,d++}for(;s<_;){p++;var h=a[s],m=h._1;E(c,i,h._0,m,p),p+=m.descendantsCount||0,s++}for(;d<f;){o=o||[];var v=l[d];R(c,i,v._0,v._1,void 0,o),d++}(i.length>0||u.length>0||void 0!==o)&&e.push(T("p-reorder",n,{patches:i,inserts:u,endInserts:o}))}(t,r,e,n));case"custom":if(t.impl!==r.impl)return void e.push(T("p-redraw",n,r));var v;void 0!==(v=B(t.facts,r.facts))&&e.push(T("p-facts",n,v));var g=r.impl.diff(t,r);return g?void e.push(T("p-custom",n,g)):void 0}else e.push(T("p-redraw",n,r))}}function B(e,o,i){var u;for(var a in e)if(a!==t&&a!==r&&a!==n&&a!==c)if(a in o){var l=e[a],_=o[a];l===_&&"value"!==a||i===r&&d(l,_)||((u=u||{})[a]=_)}else(u=u||{})[a]=void 0===i?"string"==typeof e[a]?"":null:i===t?"":i===r||i===n?void 0:{namespace:e[a].namespace,value:void 0};else{var f=B(e[a],o[a]||{},a);f&&((u=u||{})[a]=f)}for(var s in o)s in e||((u=u||{})[s]=o[s]);return u}var N="_elmW6BL";function R(t,r,e,n,o,i){var c=t[e];if(void 0===c)return c={tag:"insert",vnode:n,index:o,data:void 0},i.push({index:o,entry:c}),void(t[e]=c);if("remove"===c.tag){i.push({index:o,entry:c}),c.tag="move";var u=[];return x(c.vnode,n,u,c.index),c.index=o,void(c.data.data={patches:u,entry:c})}R(t,r,e+N,n,o,i)}function E(t,r,e,n,o){var i=t[e];if(void 0===i){var c=T("p-remove",o,void 0);return r.push(c),void(t[e]={tag:"remove",vnode:n,index:o,data:c})}if("insert"!==i.tag)E(t,r,e+N,n,o);else{i.tag="move";var u=[];x(n,i.vnode,u,o);c=T("p-remove",o,{patches:u,entry:i});r.push(c)}}function S(t,r,e,n){!function t(r,e,n,o,i,c,u){var a=n[o];var l=a.index;for(;l===i;){var _=a.type;if("p-thunk"===_)S(r,e.node,a.data,u);else if("p-reorder"===_){a.domNode=r,a.eventNode=u;var f=a.data.patches;f.length>0&&t(r,e,f,0,i,c,u)}else if("p-remove"===_){a.domNode=r,a.eventNode=u;var s=a.data;if(void 0!==s){s.entry.data=r;var f=s.patches;f.length>0&&t(r,e,f,0,i,c,u)}}else a.domNode=r,a.eventNode=u;if(!(a=n[++o])||(l=a.index)>c)return o}switch(e.type){case"tagger":for(var d=e.node;"tagger"===d.type;)d=d.node;return t(r,d,n,o,i+1,c,r.elm_event_node_ref);case"node":for(var p=e.children,h=r.childNodes,v=0;v<p.length;v++){i++;var g=p[v],b=i+(g.descendantsCount||0);if(i<=l&&l<=b&&(o=t(h[v],g,n,o,i,b,u),!(a=n[o])||(l=a.index)>c))return o;i=b}return o;case"keyed-node":for(var p=e.children,h=r.childNodes,v=0;v<p.length;v++){i++;var g=p[v]._1,b=i+(g.descendantsCount||0);if(i<=l&&l<=b&&(o=t(h[v],g,n,o,i,b,u),!(a=n[o])||(l=a.index)>c))return o;i=b}return o;case"text":case"thunk":throw new Error("should never traverse `text` or `thunk` nodes like this")}}(t,r,e,0,0,r.descendantsCount,n)}function A(t,r,e,n){return 0===e.length?t:(S(t,r,e,n),M(t,e))}function M(t,r){for(var e=0;e<r.length;e++){var n=r[e],o=n.domNode,i=L(o,n);o===t&&(t=i)}return t}function L(t,r){switch(r.type){case"p-redraw":return function(t,r,e){var n=t.parentNode,o=h(r,e);void 0===o.elm_event_node_ref&&(o.elm_event_node_ref=t.elm_event_node_ref);n&&o!==t&&n.replaceChild(o,t);return o}(t,r.data,r.eventNode);case"p-facts":return v(t,r.eventNode,r.data),t;case"p-text":return t.replaceData(0,t.length,r.data),t;case"p-thunk":return M(t,r.data);case"p-tagger":return void 0!==t.elm_event_node_ref?t.elm_event_node_ref.tagger=r.data:t.elm_event_node_ref={tagger:r.data,parent:r.eventNode},t;case"p-remove-last":for(var e=r.data;e--;)t.removeChild(t.lastChild);return t;case"p-append":var n=r.data;for(e=0;e<n.length;e++)t.appendChild(h(n[e],r.eventNode));return t;case"p-remove":var o=r.data;if(void 0===o)return t.parentNode.removeChild(t),t;var i=o.entry;return void 0!==i.index&&t.parentNode.removeChild(t),i.data=M(t,o.patches),t;case"p-reorder":return function(t,r){var e=r.data,n=function(t,r){if(void 0===t)return;for(var e=u.createDocumentFragment(),n=0;n<t.length;n++){var o=t[n],i=o.entry;e.appendChild("move"===i.tag?i.data:h(i.vnode,r.eventNode))}return e}(e.endInserts,r);t=M(t,e.patches);for(var o=e.inserts,i=0;i<o.length;i++){var c=o[i],a=c.entry,l="move"===a.tag?a.data:h(a.vnode,r.eventNode);t.insertBefore(l,t.childNodes[c.index])}void 0!==n&&t.appendChild(n);return t}(t,r);case"p-custom":var c=r.data;return c.applyPatch(t,c.data);default:throw new Error("Ran into an unknown patch!")}}var O=P(function(t,r){return function(t,e,n){if(void 0===e)return t;var o="The `"+r+"` module does not need flags.\nInitialize it with no arguments and you should be all set!";I(o,n)}}),U=P(function(t,r){return function(e,n,o){if(void 0===t){var i="Are you trying to sneak a Never value into Elm? Trickster!\nIt looks like "+r+".main is defined with `programWithFlags` but has type `Program Never`.\nUse `program` instead if you do not want flags.";I(i,o)}var c=l(tr.run,t,n);if("Ok"===c.ctor)return e(c._0);var i="Trying to initialize the `"+r+"` module with an unexpected flag.\nI tried to convert it to an Elm value, but ran into this problem:\n\n"+c._0;I(i,o)}});function P(t){return e(function(r,e){return function(n){return function(o,i,c){var u=t(n,i);void 0===c?function(t,r,e,n){r.embed=function(r,e){for(;r.lastChild;)r.removeChild(r.lastChild);return Nr.initialize(n(t.init,e,r),t.update,t.subscriptions,j(r,t.view))},r.fullscreen=function(r){return Nr.initialize(n(t.init,r,document.body),t.update,t.subscriptions,j(document.body,t.view))}}(e,o,0,u):function(t,r,e,n){r.fullscreen=function(r){var o={doc:void 0};return Nr.initialize(n(t.init,r,document.body),t.update(D(o)),t.subscriptions,F(e,document.body,o,t.view,t.viewIn,t.viewOut))},r.embed=function(r,o){var i={doc:void 0};return Nr.initialize(n(t.init,o,r),t.update(D(i)),t.subscriptions,F(e,r,i,t.view,t.viewIn,t.viewOut))}}(l(r,c,e),o,i,u)}}})}function I(t,r){throw r&&(r.innerHTML='<div style="padding-left:1em;"><h2 style="font-weight:normal;"><b>Oops!</b> Something went wrong when starting your Elm program.</h2><pre style="padding-left:1em;">'+t+"</pre></div>"),new Error(t)}function j(t,r){return function(e,n){var o={tagger:e,parent:void 0},i=r(n),c=h(i,o);return t.appendChild(c),J(c,r,i,o)}}var z="undefined"!=typeof requestAnimationFrame?requestAnimationFrame:function(t){setTimeout(t,1e3/60)};function J(t,r,e,n){var o,i="NO_REQUEST",c=e;function u(){switch(i){case"NO_REQUEST":throw new Error("Unexpected draw callback.\nPlease report this to <https://github.com/elm-lang/virtual-dom/issues>.");case"PENDING_REQUEST":z(u),i="EXTRA_REQUEST";var e=r(o),a=w(c,e);return t=A(t,c,a,n),void(c=e);case"EXTRA_REQUEST":return void(i="NO_REQUEST")}}return function(t){"NO_REQUEST"===i&&z(u),i="PENDING_REQUEST",o=t}}function D(t){return Rr.nativeBinding(function(r){var e=t.doc;if(e){var n=e.getElementsByClassName("debugger-sidebar-messages")[0];n&&(n.scrollTop=n.scrollHeight)}r(Rr.succeed(p.Tuple0))})}function F(t,r,e,n,o,i){return function(c,a){var l={tagger:c,parent:void 0},_={tagger:c,parent:void 0},f=n(a),s=h(f,l);r.appendChild(s);var d=J(s,n,f,l),p=o(a)._1,v=h(p,_);r.appendChild(v);var g=J(v,function(t,r,e){var n,o=function(t){return function(r){if("keydown"!==r.type||!r.metaKey||82!==r.which){for(var e="scroll"===r.type||"wheel"===r.type,n=r.target;null!==n;){if("elm-overlay-message-details"===n.className&&e)return;if(n===t&&!e)return;n=n.parentNode}r.stopPropagation(),r.preventDefault()}}}(r),i="Normal",c=t.tagger,u=function(){};return function(r){var a=e(r),l=a._0.ctor;return t.tagger="Normal"===l?c:u,i!==l&&(q("removeEventListener",o,i),q("addEventListener",o,l),"Normal"===i&&(n=document.body.style.overflow,document.body.style.overflow="hidden"),"Normal"===l&&(document.body.style.overflow=n),i=l),a._1}}(l,v,o),p,_),b=function(t,r,e,n,o,i){var c,a;return function(t){if(t.isDebuggerOpen){if(!i.doc)return c=r(t),void(a=function(t,r,e,n){var o=screen.width-900,i=screen.height-360,c=window.open("","","width=900,height=360,left="+o+",top="+i);u=c.document,r.doc=u,u.title="Debugger - "+t,u.body.style.margin="0",u.body.style.padding="0";var a=h(e,n);function l(){r.doc=void 0,c.close()}return u.body.appendChild(a),u.addEventListener("keydown",function(t){t.metaKey&&82===t.which&&window.location.reload(),38===t.which&&(n.tagger({ctor:"Up"}),t.preventDefault()),40===t.which&&(n.tagger({ctor:"Down"}),t.preventDefault())}),window.addEventListener("unload",l),c.addEventListener("unload",function(){r.doc=void 0,window.removeEventListener("unload",l),n.tagger({ctor:"Close"})}),u=document,a}(o,i,c,e));u=i.doc;var n=r(t),l=w(c,n);a=A(a,c,l,e),c=n,u=document}}}(0,i,_,0,t,e);return function(t){d(t),g(t),b(t)}}}function q(t,r,e){switch(e){case"Normal":return;case"Pause":return W(t,r,V);case"Message":return W(t,r,H)}}function W(t,r,e){for(var n=0;n<e.length;n++)document.body[t](e[n],r,!0)}var V=["click","dblclick","mousemove","mouseup","mousedown","mouseenter","mouseleave","touchstart","touchend","touchcancel","touchmove","pointerdown","pointerup","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointercancel","dragstart","drag","dragend","dragenter","dragover","dragleave","drop","keyup","keydown","keypress","input","change","focus","blur"],H=V.concat("wheel","scroll");return{node:function(t){return e(function(r,e){return function(t,r,e){for(var n=f(r),o=n.namespace,i=n.facts,c=[],u=0;"[]"!==e.ctor;){var a=e._0;u+=a.descendantsCount||0,c.push(a),e=e._1}return u+=c.length,{type:"node",tag:t,facts:i,children:c,namespace:o,descendantsCount:u}}(t,r,e)})},text:function(t){return{type:"text",text:t}},custom:function(t,r,e){return{type:"custom",facts:f(t).facts,model:r,impl:e}},map:e(function(t,r){return{type:"tagger",tagger:t,node:r,descendantsCount:1+(r.descendantsCount||0)}}),on:o(s),style:function(r){return{key:t,value:r}},property:e(function(t,r){return{key:t,value:r}}),attribute:e(function(t,r){return{key:n,realKey:t,value:r}}),attributeNS:o(function(t,r,e){return{key:c,realKey:r,value:{value:e,namespace:t}}}),mapProperty:e(function(t,e){return e.key!==r?e:s(e.realKey,e.value.options,l(dr,t,e.value.decoder))}),lazy:e(function(t,r){return a(t,[r],function(){return t(r)})}),lazy2:o(function(t,r,e){return a(t,[r,e],function(){return l(t,r,e)})}),lazy3:i(function(t,r,e,n){return a(t,[r,e,n],function(){return _(t,r,e,n)})}),keyedNode:o(function(t,r,e){for(var n=f(r),o=n.namespace,i=n.facts,c=[],u=0;"[]"!==e.ctor;){var a=e._0;u+=a._1.descendantsCount||0,c.push(a),e=e._1}return{type:"keyed-node",tag:t,facts:i,children:c,namespace:o,descendantsCount:u+=c.length}}),program:O,programWithFlags:U,staticProgram:function(t){var r=p.Tuple2(p.Tuple0,Sr);return l(O,C,{init:r,view:function(){return t},update:e(function(){return r}),subscriptions:function(){return Or}})()}}}(),Br=(V.crash,V.log,e(function(t,r){var e=r;return{ctor:"_Tuple2",_0:e._0,_1:t(e._1)}}),e(function(t,r){var e=r;return{ctor:"_Tuple2",_0:t(e._0),_1:e._1}}),function(t){return t._1}),Nr=function(){function t(t,r){return function(t){}}function r(t,r,e,o){var u,a={};var _=c(Rr.nativeBinding(function(r){var n=t._0;u=o(f,n);var i=t._1,c=e(n);s(a,i,c),r(Rr.succeed(n))}),function(t,n){return Rr.nativeBinding(function(o){var i=l(r,t,n);n=i._0,u(n);var c=i._1,_=e(n);s(a,c,_),o(Rr.succeed(n))})});function f(t){Rr.rawSend(_,t)}var d=function(t,r){var e;for(var o in n){var c=n[o];c.isForeign&&((e=e||{})[o]="cmd"===c.tag?g(o):m(o,r)),t[o]=i(c,r)}return e}(a,f);return d?{ports:d}:{}}var n={};function i(t,r){var e={main:r,self:void 0},n=t.tag,o=t.onEffects,i=t.onSelfMsg;var u=c(t.init,function(t,r){if("self"===t.ctor)return _(i,e,t._0,r);var c=t._0;switch(n){case"cmd":return _(o,e,c.cmds,r);case"sub":return _(o,e,c.subs,r);case"fx":return f(o,e,c.cmds,c.subs,r)}});return e.self=u,u}function c(t,r){var e=Rr.andThen;var n=l(e,function t(n){var o=Rr.receive(function(t){return r(t,n)});return l(e,t,o)},t);return Rr.rawSpawn(n)}function u(t){return function(r){return{type:"leaf",home:t,value:r}}}function a(t){return{type:"node",branches:t}}function s(t,r,e){var n={};for(var o in d(!0,r,n,null),d(!1,e,n,null),t){var i=o in n?n[o]:{cmds:T.Nil,subs:T.Nil};Rr.rawSend(t[o],{ctor:"fx",_0:i})}}function d(t,r,e,o){switch(r.type){case"leaf":var i=r.home,c=function(t,r,e,o){return l(t?n[r].cmdMap:n[r].subMap,function(t){var r=e;for(;r;)t=r.tagger(t),r=r.rest;return t},o)}(t,i,o,r.value);return void(e[i]=function(t,r,e){if(e=e||{cmds:T.Nil,subs:T.Nil},t)return e.cmds=T.Cons(r,e.cmds),e;return e.subs=T.Cons(r,e.subs),e}(t,c,e[i]));case"node":for(var u=r.branches;"[]"!==u.ctor;)d(t,u._0,e,o),u=u._1;return;case"map":return void d(t,r.tree,e,{tagger:r.tagger,rest:o})}}function h(t){if(t in n)throw new Error("There can only be one port named `"+t+"`, but your program has multiple.")}var v=e(function(t,r){return r});function g(t){var r=[],e=n[t].converter,i=Rr.succeed(null);return n[t].init=i,n[t].onEffects=o(function(t,n,o){for(;"[]"!==n.ctor;){for(var c=r,u=e(n._0),a=0;a<c.length;a++)c[a](u);n=n._1}return i}),{subscribe:function(t){r.push(t)},unsubscribe:function(t){var e=(r=r.slice()).indexOf(t);e>=0&&r.splice(e,1)}}}var b=e(function(t,r){return function(e){return t(r(e))}});function m(t,r){var e=[],i=T.Nil,c=n[t].converter,u=function(t,r,n){for(var o=f(t,r,n),i=0;i<e.length;i++)s(e[i]);return e=null,a=s,u=f,o},a=function(t){e.push(t)},_=Rr.succeed(null);function f(t,r,e){return i=r,_}function s(t){for(var e=i;"[]"!==e.ctor;)r(e._0(t)),e=e._1}return n[t].init=_,n[t].onEffects=o(function(t,r,e){return u(t,r,e)}),{send:function(r){var e=l(_r,c,r);if("Err"===e.ctor)throw new Error("Trying to send an unexpected type of value through port `"+t+"`:\n"+e._0);a(e._0)}}}return{sendToApp:e(function(t,r){return Rr.nativeBinding(function(e){t.main(r),e(Rr.succeed(p.Tuple0))})}),sendToSelf:e(function(t,r){return l(Rr.send,t.self,{ctor:"self",_0:r})}),effectManagers:n,outgoingPort:function(t,r){return h(t),n[t]={tag:"cmd",cmdMap:v,converter:r,isForeign:!0},u(t)},incomingPort:function(t,r){return h(t),n[t]={tag:"sub",subMap:b,converter:r,isForeign:!0},u(t)},htmlToProgram:function(t){var r=a(T.Nil),n=p.Tuple2(p.Tuple0,r);return Ir({init:n,view:function(t){return main},update:e(function(t,r){return n}),subscriptions:function(t){return r}})},program:function(e){return function(n){return function(n,o){n.worker=function(n){if(void 0!==n)throw new Error("The `"+o+"` module does not need flags.\nCall "+o+".worker() with no arguments and you should be all set!");return r(e.init,e.update,e.subscriptions,t)}}}},programWithFlags:function(e){return function(n){return function(o,i){o.worker=function(o){if(void 0===n)throw new Error("Are you trying to sneak a Never value into Elm? Trickster!\nIt looks like "+i+".main is defined with `programWithFlags` but has type `Program Never`.\nUse `program` instead if you do not want flags.");var c=l(tr.run,n,o);if("Err"===c.ctor)throw new Error(i+".worker(...) was called with an unexpected argument.\nI tried to convert it to an Elm value, but ran into this problem:\n\n"+c._0);return r(e.init(c._0),e.update,e.subscriptions,t)}}}},initialize:r,leaf:u,batch:a,map:e(function(t,r){return{type:"map",tagger:t,tree:r}})}}(),Rr=function(){var t=1e4;function r(t){return{ctor:"_Task_succeed",value:t}}function n(t){return{ctor:"_Task_nativeBinding",callback:t,cancel:null}}function o(t){var r={ctor:"_Process",id:p.guid(),root:t,stack:null,mailbox:[]};return l(r),r}function i(t,r){t.mailbox.push(r),l(t)}function c(r,e){for(;r<t;){var n=e.root.ctor;if("_Task_succeed"!==n)if("_Task_fail"!==n)if("_Task_andThen"!==n)if("_Task_onError"!==n){if("_Task_nativeBinding"===n){e.root.cancel=e.root.callback(function(t){e.root=t,l(e)});break}if("_Task_receive"!==n)throw new Error(n);var o=e.mailbox;if(0===o.length)break;e.root=e.root.callback(o.shift()),++r}else e.stack={ctor:"_Task_onError",callback:e.root.callback,rest:e.stack},e.root=e.root.task,++r;else e.stack={ctor:"_Task_andThen",callback:e.root.callback,rest:e.stack},e.root=e.root.task,++r;else{for(;e.stack&&"_Task_andThen"===e.stack.ctor;)e.stack=e.stack.rest;if(null===e.stack)break;e.root=e.stack.callback(e.root.value),e.stack=e.stack.rest,++r}else{for(;e.stack&&"_Task_onError"===e.stack.ctor;)e.stack=e.stack.rest;if(null===e.stack)break;e.root=e.stack.callback(e.root.value),e.stack=e.stack.rest,++r}}return r<t?r+1:(l(e),r)}var u=!1,a=[];function l(t){a.push(t),u||(setTimeout(_,0),u=!0)}function _(){for(var r,e=0;e<t&&(r=a.shift());)r.root&&(e=c(e,r));r?setTimeout(_,0):u=!1}return{succeed:r,fail:function(t){return{ctor:"_Task_fail",value:t}},nativeBinding:n,andThen:e(function(t,r){return{ctor:"_Task_andThen",callback:t,task:r}}),onError:e(function(t,r){return{ctor:"_Task_onError",callback:t,task:r}}),receive:function(t){return{ctor:"_Task_receive",callback:t}},spawn:function(t){return n(function(e){e(r(o(t)))})},kill:function(t){return n(function(e){var n=t.root;"_Task_nativeBinding"===n.ctor&&n.cancel&&n.cancel(),t.root=null,e(r(p.Tuple0))})},sleep:function(t){return n(function(e){var n=setTimeout(function(){e(r(p.Tuple0))},t);return function(){clearTimeout(n)}})},send:e(function(t,e){return n(function(n){i(t,e),n(r(p.Tuple0))})}),rawSpawn:o,rawSend:i}}(),Er=Nr.batch,Sr=Er({ctor:"[]"}),Cr=Cr||{};Cr["!"]=e(function(t,r){return{ctor:"_Tuple2",_0:t,_1:Er(r)}});Nr.map;var Ar,Mr,Lr=Nr.batch,Or=Lr({ctor:"[]"}),Ur=(Nr.map,Rr.succeed,Nr.sendToSelf),Pr=Nr.sendToApp,Ir=(Nr.programWithFlags,Nr.program,function(t){return l(xr.program,C,t)}),jr=(xr.keyedNode,xr.lazy3,xr.lazy2,xr.lazy,{stopPropagation:!1,preventDefault:!1}),zr=xr.on,Jr=e(function(t,r){return _(zr,t,jr,r)}),Dr=xr.style,Fr=(xr.mapProperty,xr.attributeNS,xr.attribute),qr=xr.property,Wr=xr.map,Vr=xr.text,Hr=xr.node,Gr=(e(function(t,r){return{stopPropagation:t,preventDefault:r}}),function(t){return l(xr.programWithFlags,void 0,t)}),Qr=Ir,Kr=Wr,$r=Vr,Xr=Hr,Yr=(Xr("body"),Xr("section"),Xr("nav")),Zr=(Xr("article"),Xr("aside"),Xr("h1")),te=(Xr("h2"),Xr("h3"),Xr("h4"),Xr("h5"),Xr("h6"),Xr("header")),re=Xr("footer"),ee=(Xr("address"),Xr("main")),ne=Xr("p"),oe=(Xr("hr"),Xr("pre")),ie=(Xr("blockquote"),Xr("ol"),Xr("ul")),ce=Xr("li"),ue=(Xr("dl"),Xr("dt"),Xr("dd"),Xr("figure"),Xr("figcaption"),Xr("div")),ae=Xr("a"),le=(Xr("em"),Xr("strong"),Xr("small"),Xr("s"),Xr("cite"),Xr("q"),Xr("dfn"),Xr("abbr"),Xr("time"),Xr("code"),Xr("var"),Xr("samp"),Xr("kbd"),Xr("sub"),Xr("sup"),Xr("i"),Xr("b"),Xr("u"),Xr("mark"),Xr("ruby"),Xr("rt"),Xr("rp"),Xr("bdi"),Xr("bdo"),Xr("span")),_e=(Xr("br"),Xr("wbr"),Xr("ins"),Xr("del"),Xr("img"),Xr("iframe"),Xr("embed"),Xr("object"),Xr("param"),Xr("video"),Xr("audio"),Xr("source"),Xr("track"),Xr("canvas"),Xr("math"),Xr("table")),fe=(Xr("caption"),Xr("colgroup"),Xr("col"),Xr("tbody")),se=Xr("thead"),de=(Xr("tfoot"),Xr("tr")),pe=Xr("td"),he=Xr("th"),ve=(Xr("form"),Xr("fieldset"),Xr("legend"),Xr("label"),Xr("input"),Xr("button")),ge=(Xr("select"),Xr("datalist"),Xr("optgroup"),Xr("option"),Xr("textarea"),Xr("keygen"),Xr("output"),Xr("progress"),Xr("meter"),Xr("details"),Xr("summary"),Xr("menuitem"),Xr("menu"),Fr),be=qr,me=e(function(t,r){return l(be,t,er(r))}),ye=function(t){return l(me,"className",t)},ke=function(t){return l(me,"id",t)},we=function(t){return l(me,"href",t)},Te=(e(function(t,r){return l(be,t,rr(r))}),Dr),xe=(l(vr,"keyCode",kr),l(gr,{ctor:"::",_0:"target",_1:{ctor:"::",_0:"checked",_1:{ctor:"[]"}}},wr),l(gr,{ctor:"::",_0:"target",_1:{ctor:"::",_0:"value",_1:{ctor:"[]"}}},Tr),jr),Be=Jr,Ne=(p.update(xe,{preventDefault:!0}),function(t){return l(Be,"click",ar(t))}),Re=(e(function(t,r){return{stopPropagation:t,preventDefault:r}}),function(t){return nt(U(Br(_(E,e(function(t,r){var e=r,n=e._1;return p.eq(t,p.chr("-"))?{ctor:"_Tuple2",_0:!0,_1:n}:e._0?{ctor:"_Tuple2",_0:!1,_1:{ctor:"::",_0:K(t),_1:n}}:{ctor:"_Tuple2",_0:!1,_1:{ctor:"::",_0:t,_1:n}}}),{ctor:"_Tuple2",_0:!1,_1:{ctor:"[]"}},ot(t)))))}),Ee=function(t){var r,e=t,n=e._0,o=(r=e._1,l(ut,'"',l(at,"'",r))),i=Re(n);return l(m["++"],"this.setAttribute('data-hover-",l(m["++"],n,l(m["++"],"', this.style.",l(m["++"],i,l(m["++"],"||'');",l(m["++"],"this.style.",l(m["++"],i,l(m["++"],"='",l(m["++"],o,"'")))))))))},Se=function(t){var r=t._0,e=Re(r);return l(m["++"],"this.style.",l(m["++"],e,l(m["++"],"=this.getAttribute('data-hover-",l(m["++"],r,"')||'';"))))},Ce=i(function(t,r,e,n){var o=l(M,function(t){var r;return r=t._0,!p.eq(r,"")&&l(B,X,ot(r))&&l(N,function(t){return X(t)||p.eq(t,p.chr("-"))},ot(r))},t),i=l(ge,"onmouseenter",l(ut,";",l(A,Ee,o))),c=l(ge,"onmouseleave",l(ut,";",l(A,Se,o)));return l(r,{ctor:"::",_0:i,_1:{ctor:"::",_0:c,_1:e}},n)}),Ae=(o(function(t,r,e){var n=e;return _(_t,o(function(r,e,n){return l(t,r,n)}),r,n._0)}),o(function(t,r,e){var n=e;return _(st,o(function(r,e,n){return l(t,r,n)}),r,n._0)}),function(t){var r;return r=t._0,_(_t,o(function(t,r,e){return{ctor:"::",_0:t,_1:e}}),{ctor:"[]"},r)}),Me=e(function(t,r){return l(bt,t,r._0)}),Le=function(t){return{ctor:"Set_elm_builtin",_0:t}},Oe=Le(Et),Ue=e(function(t,r){return Le(_(qt,t,{ctor:"_Tuple0"},r._0))}),Pe=function(t){return _(E,Ue,Oe,t)},Ie=(e(function(t,r){return Pe(l(A,t,Ae(r)))}),e(function(t,r){return Le(l(Kt,t,r._0))})),je=(e(function(t,r){var e=r;return Le(l(Wt,t._0,e._0))}),e(function(t,r){var e=r;return Le(l(Ht,t._0,e._0))}),e(function(t,r){var e=r;return Le(l($t,t._0,e._0))}),e(function(t,r){var n=r;return Le(l(Vt,e(function(r,e){return t(r)}),n._0))}),e(function(t,r){var n=r,o=l(Gt,e(function(r,e){return t(r)}),n._0),i=o._0,c=o._1;return{ctor:"_Tuple2",_0:Le(i),_1:Le(c)}}),{ctor:"::",_0:{ctor:"_Tuple2",_0:"font-family",_1:"monospace"},_1:{ctor:"::",_0:{ctor:"_Tuple2",_0:"white-space",_1:"pre"},_1:{ctor:"[]"}}}),ze={ctor:"::",_0:{ctor:"_Tuple2",_0:"list-style-type",_1:"none"},_1:{ctor:"::",_0:{ctor:"_Tuple2",_0:"margin-left",_1:"26px"},_1:{ctor:"::",_0:{ctor:"_Tuple2",_0:"padding-left",_1:"0px"},_1:{ctor:"[]"}}}},Je={ctor:"::",_0:{ctor:"_Tuple2",_0:"position",_1:"relative"},_1:{ctor:"[]"}},De={ctor:"::",_0:{ctor:"_Tuple2",_0:"position",_1:"absolute"},_1:{ctor:"::",_0:{ctor:"_Tuple2",_0:"cursor",_1:"pointer"},_1:{ctor:"::",_0:{ctor:"_Tuple2",_0:"top",_1:"1px"},_1:{ctor:"::",_0:{ctor:"_Tuple2",_0:"left",_1:"-15px"},_1:{ctor:"[]"}}}}},Fe={ctor:"::",_0:{ctor:"_Tuple2",_0:"font-weight",_1:"bold"},_1:{ctor:"[]"}},qe={ctor:"::",_0:{ctor:"_Tuple2",_0:"color",_1:"green"},_1:{ctor:"[]"}},We={ctor:"::",_0:{ctor:"_Tuple2",_0:"color",_1:"blue"},_1:{ctor:"[]"}},Ve={ctor:"::",_0:{ctor:"_Tuple2",_0:"color",_1:"firebrick"},_1:{ctor:"[]"}},He={ctor:"::",_0:{ctor:"_Tuple2",_0:"color",_1:"gray"},_1:{ctor:"[]"}},Ge={ctor:"::",_0:{ctor:"_Tuple2",_0:"background-color",_1:"#fafad2"},_1:{ctor:"::",_0:{ctor:"_Tuple2",_0:"cursor",_1:"pointer"},_1:{ctor:"[]"}}},Qe=i(function(t,r,e,n){return o=n.onSelect,{ctor:"::",_0:"Just"===o.ctor?f(Ce,Ge,le,{ctor:"::",_0:Te(t),_1:{ctor:"::",_0:ke(e.keyPath),_1:{ctor:"::",_0:Ne(o._0(e.keyPath)),_1:{ctor:"[]"}}}},{ctor:"::",_0:$r(r),_1:{ctor:"[]"}}):l(le,{ctor:"::",_0:Te(t),_1:{ctor:"::",_0:ke(e.keyPath),_1:{ctor:"[]"}}},{ctor:"::",_0:$r(r),_1:{ctor:"[]"}}),_1:{ctor:"[]"}};var o}),Ke=e(function(t,r){return l(Me,t,r._0)}),$e=e(function(t,r){return l(Be,"click",l(dr,function(t){return r(t({ctor:"_Tuple0"}))},ar(t)))}),Xe=i(function(t,r,e,n){return p.eq(t,0)?$r(""):l(le,{ctor:"::",_0:Te(De),_1:{ctor:"::",_0:l($e,e,r.toMsg),_1:{ctor:"[]"}}},{ctor:"::",_0:$r(n),_1:{ctor:"[]"}})}),Ye=(e(function(t,r){return{value:t,keyPath:r}}),e(function(t,r){return{onSelect:t,toMsg:r}}),{ctor:"TNull"}),Ze=function(t){return{ctor:"TDict",_0:t}},tn=function(t){return{ctor:"TList",_0:t}},rn=e(function(t,r){var n=e(function(r,e){return l(rn,l(m["++"],t,l(m["++"],".",r)),e)}),o=e(function(r,e){return l(rn,l(m["++"],t,l(m["++"],"[",l(m["++"],g(r),"]"))),e)}),i=r.value;switch(i.ctor){case"TString":case"TFloat":case"TBool":case"TNull":return p.update(r,{keyPath:t});case"TList":return p.update(r,{keyPath:t,value:tn(l(W,o,i._0))});default:return p.update(r,{keyPath:t,value:Ze(l(jt,n,i._0))})}}),en=(Mr=function(t){return{value:t,keyPath:""}},pr({ctor:"::",_0:l(dr,function(t){return Mr({ctor:"TString",_0:t})},Tr),_1:{ctor:"::",_0:l(dr,function(t){return Mr({ctor:"TFloat",_0:t})},yr),_1:{ctor:"::",_0:l(dr,function(t){return Mr({ctor:"TBool",_0:t})},wr),_1:{ctor:"::",_0:l(dr,function(t){return Mr(tn(t))},mr(lr(function(t){return en}))),_1:{ctor:"::",_0:l(dr,function(t){return Mr(Ze(t))},(Ar=lr(function(t){return en}),l(dr,Qt,br(Ar)))),_1:{ctor:"::",_0:or(Mr(Ye)),_1:{ctor:"[]"}}}}}}})),nn=function(t){var r=l(dr,rn(""),en);return l(_r,r,t)},on=function(t){return{ctor:"State",_0:t}},cn=on(Pe({ctor:"[]"})),un=cn,an=e(function(t,r){return on(l(Ie,t,r._0))}),ln=i(function(t,r,e,n){return f(Xe,t,e,function(t){return l(an,r,n)},"+")}),_n=e(function(t,r){return on(l(Ue,t,r._0))}),fn=i(function(t,r,e,n){var i,c=function(o){return _(E,l(fn,t,r+1),p.cmp(r,t)>-1?l(_n,e.keyPath,n):n,o)},u=e.value;switch(u.ctor){case"TString":case"TFloat":case"TBool":case"TNull":return n;case"TList":return c(u._0);default:return c((i=u._0,_(_t,o(function(t,r,e){return{ctor:"::",_0:r,_1:e}}),{ctor:"[]"},i)))}}),sn=(o(function(t,r,e){return f(fn,t,0,r,cn)}),i(function(t,r,e,n){return f(Xe,t,e,function(t){return l(_n,r,n)},"-")})),dn=c(function(t,r,e,n,o){var i=St(r)?{ctor:"[]"}:l(Ke,e,o)?{ctor:"::",_0:f(ln,t,e,n,o),_1:{ctor:"::",_0:$r("…"),_1:{ctor:"[]"}}}:{ctor:"::",_0:f(sn,t,e,n,o),_1:{ctor:"::",_0:l(ie,{ctor:"::",_0:Te(ze),_1:{ctor:"[]"}},l(A,function(r){var e=r;return l(ce,{ctor:"::",_0:Te(Je),_1:{ctor:"[]"}},l(m["++"],{ctor:"::",_0:l(le,{ctor:"::",_0:Te(Fe),_1:{ctor:"[]"}},{ctor:"::",_0:$r(e._0),_1:{ctor:"[]"}}),_1:{ctor:"::",_0:$r(": "),_1:{ctor:"[]"}}},l(m["++"],f(pn,t+1,n,e._1,o),{ctor:"::",_0:$r(","),_1:{ctor:"[]"}})))},ft(r))),_1:{ctor:"[]"}}};return l(m["++"],{ctor:"::",_0:$r("{"),_1:{ctor:"[]"}},l(m["++"],i,{ctor:"::",_0:$r("}"),_1:{ctor:"[]"}}))}),pn=i(function(t,r,e,n){var o=e.value;switch(o.ctor){case"TString":return f(Qe,qe,l(m["++"],'"',l(m["++"],o._0,'"')),e,r);case"TFloat":return f(Qe,We,g(o._0),e,r);case"TBool":return f(Qe,Ve,g(o._0),e,r);case"TNull":return f(Qe,He,"null",e,r);case"TList":return s(hn,t,o._0,e.keyPath,r,n);default:return s(dn,t,o._0,e.keyPath,r,n)}}),hn=c(function(t,r,e,n,o){var i="[]"===r.ctor?{ctor:"[]"}:l(Ke,e,o)?{ctor:"::",_0:f(ln,t,e,n,o),_1:{ctor:"::",_0:$r("…"),_1:{ctor:"[]"}}}:{ctor:"::",_0:f(sn,t,e,n,o),_1:{ctor:"::",_0:l(ie,{ctor:"::",_0:Te(ze),_1:{ctor:"[]"}},l(A,function(r){return l(ce,{ctor:"::",_0:Te(Je),_1:{ctor:"[]"}},l(P,f(pn,t+1,n,r,o),{ctor:"::",_0:$r(","),_1:{ctor:"[]"}}))},r)),_1:{ctor:"[]"}}};return l(m["++"],{ctor:"::",_0:$r("["),_1:{ctor:"[]"}},l(m["++"],i,{ctor:"::",_0:$r("]"),_1:{ctor:"[]"}}))}),vn=o(function(t,r,e){return l(ue,{ctor:"::",_0:Te(je),_1:{ctor:"[]"}},f(pn,0,r,t,e))}),gn=ar,bn=(cr(v),e(function(t,r){return _(sr,e(function(t,r){return t(r)}),r,t)})),mn=o(function(t,r,e){return l(cr,function(n){var o=l(_r,t,n);if("Ok"===o.ctor){var i=l(_r,pr({ctor:"::",_0:r,_1:{ctor:"::",_0:or(e),_1:{ctor:"[]"}}}),o._0);return"Ok"===i.ctor?ar(i._0):ur(i._0)}var c=l(_r,br(ir),n);return"Ok"===c.ctor?ar(e):ur(c._0)},ir)}),yn=(i(function(t,r,e,n){return l(bn,_(mn,l(gr,t,ir),r,e),n)}),i(function(t,r,e,n){return l(bn,_(mn,l(vr,t,ir),r,e),n)})),kn=o(function(t,r,e){return l(bn,l(gr,t,r),e)}),wn=o(function(t,r,e){return l(bn,l(vr,t,r),e)}),Tn=Rr.onError,xn=Rr.andThen,Bn=e(function(t,r){var e=r;return Rr.spawn(l(xn,Pr(t),e._0))}),Nn=Rr.fail,Rn=(e(function(t,r){return l(Tn,function(r){return Nn(t(r))},r)}),Rr.succeed),En=e(function(t,r){return l(xn,function(r){return Rn(t(r))},r)}),Sn=o(function(t,r,e){return l(xn,function(r){return l(xn,function(e){return Rn(l(t,r,e))},e)},r)}),Cn=(i(function(t,r,e,n){return l(xn,function(r){return l(xn,function(e){return l(xn,function(n){return Rn(_(t,r,e,n))},n)},e)},r)}),c(function(t,r,e,n,o){return l(xn,function(r){return l(xn,function(e){return l(xn,function(n){return l(xn,function(o){return Rn(f(t,r,e,n,o))},o)},n)},e)},r)}),u(function(t,r,e,n,o,i){return l(xn,function(r){return l(xn,function(e){return l(xn,function(n){return l(xn,function(o){return l(xn,function(i){return Rn(s(t,r,e,n,o,i))},i)},o)},n)},e)},r)}),function(t){var r=t;return"[]"===r.ctor?Rn({ctor:"[]"}):_(Sn,e(function(t,r){return{ctor:"::",_0:t,_1:r}}),r._0,Cn(r._1))}),An=o(function(t,r,e){return l(En,function(t){return{ctor:"_Tuple0"}},Cn(l(A,Bn(t),r)))}),Mn=Rn({ctor:"_Tuple0"}),Ln=o(function(t,r,e){return Rn({ctor:"_Tuple0"})}),On=Nr.leaf("Task"),Un=function(t){return{ctor:"Perform",_0:t}},Pn=(e(function(t,r){return On(Un(l(En,t,r)))}),e(function(t,r){return On(Un(l(Tn,function(r){return Rn(t(Z(r)))},l(xn,function(r){return Rn(t(rt(r)))},r))))})),In=e(function(t,r){return Un(l(En,t,r._0))});Nr.effectManagers.Task={pkg:"elm-lang/core",init:Mn,onEffects:An,onSelfMsg:Ln,tag:"cmd",cmdMap:In};var jn=function(){return{now:Rr.nativeBinding(function(t){t(Rr.succeed(Date.now()))}),setInterval_:e(function(t,r){return Rr.nativeBinding(function(e){var n=setInterval(function(){Rr.rawSpawn(r)},t);return function(){clearInterval(n)}})})}}(),zn=jn.setInterval_,Jn=o(function(t,r,e){var n=r;if("[]"===n.ctor)return Rn(e);var o=n._0,i=Rr.spawn(l(zn,o,l(Ur,t,o)));return l(xn,function(r){return _(Jn,t,n._1,_(qt,o,r,e))},i)}),Dn=e(function(t,r){var e=t,n=e._1,o=e._0,i=l(gt,o,r);return"Nothing"===i.ctor?_(qt,o,{ctor:"::",_0:n,_1:{ctor:"[]"}},r):_(qt,o,{ctor:"::",_0:n,_1:i._0},r)}),Fn=jn.now,qn=o(function(t,r,e){var n=l(gt,r,e.taggers);if("Nothing"===n.ctor)return Rn(e);return l(xn,function(t){return Rn(e)},l(xn,function(r){return Cn(l(A,function(e){return l(Pr,t,e(r))},n._0))},Fn))}),Wn=Nr.leaf("Time"),Vn=e(function(t,r){return{taggers:t,processes:r}}),Hn=Rn(l(Vn,Et,Et)),Gn=o(function(t,r,e){var n,c,u,a,f,s,d,p=e,h=o(function(t,r,e){var n=e;return{ctor:"_Tuple3",_0:n._0,_1:n._1,_2:l(xn,function(t){return n._2},Rr.kill(r))}}),v=i(function(t,r,e,n){var o=n;return{ctor:"_Tuple3",_0:o._0,_1:_(qt,t,e,o._1),_2:o._2}}),g=o(function(t,r,e){var n=e;return{ctor:"_Tuple3",_0:{ctor:"::",_0:t,_1:n._0},_1:n._1,_2:n._2}}),b=_(E,Dn,Et,r),m=(n=dt,c=g,u=v,a=h,f=b,s=p.processes,d={ctor:"_Tuple3",_0:{ctor:"[]"},_1:Et,_2:Rn({ctor:"_Tuple0"})},6===n.arity?n.func(c,u,a,f,s,d):n(c)(u)(a)(f)(s)(d)),y=m._0,k=m._1,w=m._2;return l(xn,function(t){return Rn(l(Vn,b,t))},l(xn,function(r){return _(Jn,t,y,k)},w))}),Qn=e(function(t,r){return{ctor:"Every",_0:t,_1:r}}),Kn=(e(function(t,r){return Wn(l(Qn,t,r))}),e(function(t,r){var e=r;return l(Qn,e._0,function(r){return t(e._1(r))})}));Nr.effectManagers.Time={pkg:"elm-lang/core",init:Hn,onEffects:Gn,onSelfMsg:qn,tag:"sub",subMap:Kn};var $n=Rr.kill,Xn=(Rr.sleep,Rr.spawn),Yn=function(){var t={addEventListener:function(){},removeEventListener:function(){}},r=i("undefined"!=typeof document?document:t),n=i("undefined"!=typeof window?window:t);function i(t){return function(r,e,n){return Rr.nativeBinding(function(o){function i(t){var r=l(_r,e,t);"Ok"===r.ctor&&Rr.rawSpawn(n(r._0))}return t.addEventListener(r,i),function(){t.removeEventListener(r,i)}})}}var c="undefined"!=typeof requestAnimationFrame?requestAnimationFrame:function(t){t()};function u(t,r){return Rr.nativeBinding(function(e){c(function(){var n=document.getElementById(t);e(null!==n?Rr.succeed(r(n)):Rr.fail({ctor:"NotFound",_0:t}))})})}return{onDocument:o(r),onWindow:o(n),focus:function(t){return u(t,function(t){return t.focus(),p.Tuple0})},blur:function(t){return u(t,function(t){return t.blur(),p.Tuple0})},getScrollTop:function(t){return u(t,function(t){return t.scrollTop})},setScrollTop:e(function(t,r){return u(t,function(t){return t.scrollTop=r,p.Tuple0})}),getScrollLeft:function(t){return u(t,function(t){return t.scrollLeft})},setScrollLeft:e(function(t,r){return u(t,function(t){return t.scrollLeft=r,p.Tuple0})}),toBottom:function(t){return u(t,function(t){return t.scrollTop=t.scrollHeight,p.Tuple0})},toRight:function(t){return u(t,function(t){return t.scrollLeft=t.scrollWidth,p.Tuple0})},height:e(function(t,r){return u(r,function(r){switch(t.ctor){case"Content":return r.scrollHeight;case"VisibleContent":return r.clientHeight;case"VisibleContentWithBorders":return r.offsetHeight;case"VisibleContentWithBordersAndMargins":var e=r.getBoundingClientRect();return e.bottom-e.top}})}),width:e(function(t,r){return u(r,function(r){switch(t.ctor){case"Content":return r.scrollWidth;case"VisibleContent":return r.clientWidth;case"VisibleContentWithBorders":return r.offsetWidth;case"VisibleContentWithBordersAndMargins":var e=r.getBoundingClientRect();return e.right-e.left}})})}}(),Zn=Yn.onWindow,to=(Yn.onDocument,function(){return{toTask:e(function(t,r){return Rr.nativeBinding(function(e){var n=new XMLHttpRequest;!function(t,r){"Nothing"!==r.ctor&&t.addEventListener("progress",function(t){t.lengthComputable&&Rr.rawSpawn(r._0({bytes:t.loaded,bytesExpected:t.total}))})}(n,r),n.addEventListener("error",function(){e(Rr.fail({ctor:"NetworkError"}))}),n.addEventListener("timeout",function(){e(Rr.fail({ctor:"Timeout"}))}),n.addEventListener("load",function(){e(function(t,r){var e=function(t){return{status:{code:t.status,message:t.statusText},headers:function(t){var r=Et;if(!t)return r;for(var e=t.split("\r\n"),n=e.length;n--;){var o=e[n],i=o.indexOf(": ");if(i>0){var c=o.substring(0,i),u=o.substring(i+2);r=_(Ft,c,function(t){return"Just"===t.ctor?k(u+", "+t._0):k(u)},r)}}return r}(t.getAllResponseHeaders()),url:t.responseURL,body:t.response}}(t);if(t.status<200||300<=t.status)return e.body=t.responseText,Rr.fail({ctor:"BadStatus",_0:e});var n=r(e);return"Ok"===n.ctor?Rr.succeed(n._0):(e.body=t.responseText,Rr.fail({ctor:"BadPayload",_0:n._0,_1:e}))}(n,t.expect.responseToResult))});try{n.open(t.method,t.url,!0)}catch(r){return e(Rr.fail({ctor:"BadUrl",_0:t.url}))}return function(t,r){l(A,function(r){t.setRequestHeader(r._0,r._1)},r.headers),t.responseType=r.expect.responseType,t.withCredentials=r.withCredentials,"Just"===r.timeout.ctor&&(t.timeout=r.timeout._0)}(n,t),function(t,r){switch(r.ctor){case"EmptyBody":return void t.send();case"StringBody":return t.setRequestHeader("Content-Type",r._0),void t.send(r._1);case"FormDataBody":t.send(r._0)}}(n,t.body),function(){n.abort()}})}),expectStringResponse:function(t){return{responseType:"text",responseToResult:t}},mapExpect:e(function(t,r){return{responseType:r.responseType,responseToResult:function(e){var n=r.responseToResult(e);return l(et,t,n)}}}),multipart:function(t){for(var r=new FormData;"[]"!==t.ctor;){var e=t._0;r.append(e._0,e._1),t=t._1}return{ctor:"FormDataBody",_0:r}},encodeUri:function(t){return encodeURIComponent(t)},decodeUri:function(t){try{return k(decodeURIComponent(t))}catch(t){return y}}}}()),ro=(e(function(t,r){return p.update(r,{expect:l(to.mapExpect,t,r.expect)})}),a(function(t,r,e,n,o,i,c){return{method:t,headers:r,url:e,body:n,expect:o,timeout:i,withCredentials:c}}),e(function(t,r){return{ctor:"StringBody",_0:t,_1:r}}),e(function(t,r){return{ctor:"Header",_0:t,_1:r}}),to.decodeUri),eo=to.encodeUri,no=to.expectStringResponse,oo=function(t){return no(function(r){return l(fr,t,r.body)})},io=(no(function(t){return rt(t.body)}),to.multipart,{ctor:"EmptyBody"}),co=function(t){return{ctor:"Request",_0:t}},uo=(o(function(t,r,e){return co({method:"POST",headers:{ctor:"[]"},url:t,body:r,expect:oo(e),timeout:y,withCredentials:!1})}),e(function(t,r){return co({method:"GET",headers:{ctor:"[]"},url:t,body:io,expect:oo(r),timeout:y,withCredentials:!1})})),ao=e(function(t,r){return l(Pn,t,(e=r,l(to.toTask,e._0,y)));var e}),lo=(i(function(t,r,e,n){return{url:t,status:r,headers:e,body:n}}),e(function(t,r){return{ctor:"BadPayload",_0:t,_1:r}}),e(function(t,r){return{ctor:"StringPart",_0:t,_1:r}}),function(){function t(){var t=document.location;return{href:t.href,host:t.host,hostname:t.hostname,protocol:t.protocol,origin:t.origin,port_:t.port,pathname:t.pathname,search:t.search,hash:t.hash,username:t.username,password:t.password}}return{go:function(t){return Rr.nativeBinding(function(r){0!==t&&history.go(t),r(Rr.succeed(p.Tuple0))})},setLocation:function(t){return Rr.nativeBinding(function(r){try{window.location=t}catch(t){document.location.reload(!1)}r(Rr.succeed(p.Tuple0))})},reloadPage:function(t){return Rr.nativeBinding(function(r){document.location.reload(t),r(Rr.succeed(p.Tuple0))})},pushState:function(r){return Rr.nativeBinding(function(e){history.pushState({},"",r),e(Rr.succeed(t()))})},replaceState:function(r){return Rr.nativeBinding(function(e){history.replaceState({},"",r),e(Rr.succeed(t()))})},getLocation:t,isInternetExplorer11:function(){return-1!==window.navigator.userAgent.indexOf("Trident")}}}()),_o=lo.replaceState,fo=lo.pushState,so=lo.go,po=lo.reloadPage,ho=lo.setLocation,vo=vo||{};vo["&>"]=e(function(t,r){return l(xn,function(t){return r},t)});var go=o(function(t,r,e){return l(vo["&>"],Cn(l(A,function(r){return l(Pr,t,r._0(e))},r)),Rn({ctor:"_Tuple0"}))}),bo=o(function(t,r,e){var n=e;switch(n.ctor){case"Jump":return so(n._0);case"New":return l(xn,l(go,t,r),fo(n._0));case"Modify":return l(xn,l(go,t,r),_o(n._0));case"Visit":return ho(n._0);default:return po(n._0)}}),mo=o(function(t,r,e){return l(vo["&>"],_(go,t,e.subs,r),Rn(e))}),yo=Nr.leaf("Navigation"),ko=Nr.leaf("Navigation"),wo=e(function(t,r){return{subs:t,popWatcher:r}}),To=Rn(l(wo,{ctor:"[]"},y)),xo=function(t){return{ctor:"Reload",_0:t}},Bo=(ko(xo(!1)),ko(xo(!0)),function(t){return{ctor:"Visit",_0:t}}),No=function(t){return{ctor:"Modify",_0:t}},Ro=function(t){return{ctor:"New",_0:t}},Eo=function(t){return{ctor:"Jump",_0:t}},So=e(function(t,r){var e=r;switch(e.ctor){case"Jump":return Eo(e._0);case"New":return Ro(e._0);case"Modify":return No(e._0);case"Visit":return Bo(e._0);default:return xo(e._0)}}),Co=function(t){return{ctor:"Monitor",_0:t}},Ao=(e(function(t,r){var e=r.init(lo.getLocation({ctor:"_Tuple0"}));return Qr({init:e,view:r.view,update:r.update,subscriptions:function(e){return Lr({ctor:"::",_0:yo(Co(t)),_1:{ctor:"::",_0:r.subscriptions(e),_1:{ctor:"[]"}}})}})}),e(function(t,r){return Gr({init:function(t){return l(r.init,t,lo.getLocation({ctor:"_Tuple0"}))},view:r.view,update:r.update,subscriptions:function(e){return Lr({ctor:"::",_0:yo(Co(t)),_1:{ctor:"::",_0:r.subscriptions(e),_1:{ctor:"[]"}}})}})})),Mo=e(function(t,r){var e=r;return Co(function(r){return t(e._0(r))})}),Lo=e(function(t,r){return{ctor:"InternetExplorer",_0:t,_1:r}}),Oo=function(t){return{ctor:"Normal",_0:t}},Uo=function(t){var r=function(r){return l(Ur,t,lo.getLocation({ctor:"_Tuple0"}))};return lo.isInternetExplorer11({ctor:"_Tuple0"})?_(Sn,Lo,Xn(_(Zn,"popstate",ir,r)),Xn(_(Zn,"hashchange",ir,r))):l(En,Oo,Xn(_(Zn,"popstate",ir,r)))},Po=i(function(t,r,e,n){var o=n.popWatcher,i=function(){var r,n,i={ctor:"_Tuple2",_0:e,_1:o};t:do{if("[]"===i._0.ctor){if("Just"===i._1.ctor)return l(vo["&>"],(r=i._1._0,n=void 0,"Normal"===(n=r).ctor?$n(n._0):l(vo["&>"],$n(n._0),$n(n._1))),Rn(l(wo,e,y)));break t}if("Nothing"===i._1.ctor)return l(En,function(t){return l(wo,e,k(t))},Uo(t));break t}while(0);return Rn(l(wo,e,o))}();return l(vo["&>"],Cn(l(A,l(bo,t,e),r)),i)});Nr.effectManagers.Navigation={pkg:"elm-lang/navigation",init:To,onEffects:Po,onSelfMsg:mo,tag:"fx",cmdMap:So,subMap:Mo};var Io=function(t){var r=l(at,"=",t);return"::"===r.ctor&&"::"===r._1.ctor&&"[]"===r._1._1.ctor?_(w,e(function(t,r){return{ctor:"_Tuple2",_0:t,_1:r}}),ro(r._0),ro(r._1._0)):y},jo=function(t){return Qt(l(O,Io,l(at,"&",l(ct,1,t))))},zo=o(function(t,r,e){return function(t){for(;;){var r=t;if("[]"===r.ctor)return y;var e=r._0,n=e.unvisited;if("[]"===n.ctor)return k(e.value);if(""===n._0&&"[]"===n._1.ctor)return k(e.value);t=r._1}}(t._0({visited:{ctor:"[]"},unvisited:function(t){var r=l(at,"/",t);return"::"===r.ctor&&""===r._0?r._1:r}(r),params:e,value:v}))}),Jo=e(function(t,r){return _(zo,t,l(ct,1,r.hash),jo(r.search))}),Do=(e(function(t,r){return _(zo,t,r.pathname,jo(r.search))}),e(function(t,r){var e=r;return{visited:e.visited,unvisited:e.unvisited,params:e.params,value:t(e.value)}})),Fo=i(function(t,r,e,n){return{visited:t,unvisited:r,params:e,value:n}}),qo=function(t){return{ctor:"Parser",_0:t}},Wo=function(t){return qo(function(r){var e=r,n=e.unvisited;if("[]"===n.ctor)return{ctor:"[]"};var o=n._0;return p.eq(o,t)?{ctor:"::",_0:f(Fo,{ctor:"::",_0:o,_1:e.visited},n._1,e.params,e.value),_1:{ctor:"[]"}}:{ctor:"[]"}})},Vo=e(function(t,r){return qo(function(t){var e=t,n=e.unvisited;if("[]"===n.ctor)return{ctor:"[]"};var o=n._0,i=r(o);return"Ok"===i.ctor?{ctor:"::",_0:f(Fo,{ctor:"::",_0:o,_1:e.visited},n._1,e.params,e.value(i._0)),_1:{ctor:"[]"}}:{ctor:"[]"}})}),Ho=l(Vo,"STRING",rt);l(Vo,"NUMBER",it);(Go=Go||{})["</>"]=e(function(t,r){var e=t,n=r;return qo(function(t){return l(I,n._0,e._0(t))})});var Go,Qo=e(function(t,r){var e=r;return qo(function(r){var n=r;return l(A,Do(n.value),e._0({visited:n.visited,unvisited:n.unvisited,params:n.params,value:t}))})}),Ko=qo(function(t){return{ctor:"::",_0:t,_1:{ctor:"[]"}}});(Go=Go||{})["<?>"]=e(function(t,r){var e=t,n=r;return qo(function(t){return l(I,n._0,e._0(t))})});e(function(t,r){return{ctor:"QueryParser",_0:function(e){var n=e,o=n.params;return{ctor:"::",_0:f(Fo,n.visited,n.unvisited,o,n.value(r(l(gt,t,o)))),_1:{ctor:"[]"}}}}});var $o,Xo=o(function(t,r,e){return l(Y,l(oe,{ctor:"[]"},{ctor:"::",_0:$r(t),_1:{ctor:"[]"}}),l(et,function(t){return _(vn,t,{onSelect:y,toMsg:e},r)},l(tt,nn,l(fr,ir,t))))}),Yo=e(function(t,r){var e=t;return"ChangeOpenedEventDataTreeState"===e.ctor?{ctor:"_Tuple2",_0:p.update(r,{dataTreeState:e._0}),_1:Sr}:{ctor:"_Tuple2",_0:p.update(r,{metadataTreeState:e._0}),_1:Sr}}),Zo=(c(function(t,r,e,n,o){return{eventType:t,eventId:r,createdAt:e,rawData:n,rawMetadata:o}}),o(function(t,r,e){return{event:t,dataTreeState:r,metadataTreeState:e}}),e(function(t,r){var e=r;return"Just"===e.ctor?l(ce,{ctor:"[]"},{ctor:"::",_0:t(e._0),_1:{ctor:"[]"}}):l(ce,{ctor:"[]"},{ctor:"[]"})})),ti=e(function(t,r){return l(m["++"],t,l(m["++"],"/",eo(r)))}),ri=function(t){var r=t,e=r.eventId;return l(de,{ctor:"[]"},{ctor:"::",_0:l(pe,{ctor:"[]"},{ctor:"::",_0:l(ae,{ctor:"::",_0:ye("results__link"),_1:{ctor:"::",_0:we(l(ti,"#events",e)),_1:{ctor:"[]"}}},{ctor:"::",_0:$r(r.eventType),_1:{ctor:"[]"}}),_1:{ctor:"[]"}}),_1:{ctor:"::",_0:l(pe,{ctor:"[]"},{ctor:"::",_0:$r(e),_1:{ctor:"[]"}}),_1:{ctor:"::",_0:l(pe,{ctor:"::",_0:ye("u-align-right"),_1:{ctor:"[]"}},{ctor:"::",_0:$r(r.createdAt),_1:{ctor:"[]"}}),_1:{ctor:"[]"}}}})},ei=(i(function(t,r,e,n){return{events:t,event:r,page:e,flags:n}}),c(function(t,r,e,n,o){return{eventType:t,eventId:r,createdAt:e,rawData:n,rawMetadata:o}})),ni=_(kn,{ctor:"::",_0:"attributes",_1:{ctor:"::",_0:"metadata",_1:{ctor:"[]"}}},l(dr,nr(2),ir),_(kn,{ctor:"::",_0:"attributes",_1:{ctor:"::",_0:"data",_1:{ctor:"[]"}}},l(dr,nr(2),ir),_(kn,{ctor:"::",_0:"attributes",_1:{ctor:"::",_0:"metadata",_1:{ctor:"::",_0:"timestamp",_1:{ctor:"[]"}}}},Tr,_(kn,{ctor:"::",_0:"id",_1:{ctor:"[]"}},Tr,_(kn,{ctor:"::",_0:"attributes",_1:{ctor:"::",_0:"event_type",_1:{ctor:"[]"}}},Tr,gn(ei)))))),oi=l(vr,"data",ni),ii=i(function(t,r,e,n){return{next:t,prev:r,first:e,last:n}}),ci=f(yn,"last",hr(Tr),y,f(yn,"first",hr(Tr),y,f(yn,"prev",hr(Tr),y,f(yn,"next",hr(Tr),y,gn(ii))))),ui=e(function(t,r){return{events:t,links:r}}),ai=_(wn,"links",ci,_(wn,"data",mr(ni),gn(ui))),li=(i(function(t,r,e,n){return{rootUrl:t,streamsUrl:r,eventsUrl:e,resVersion:n}}),function(t){var r,e=t;return"Just"===e.ctor?l(Kr,function(t){return{ctor:"OpenedEventUIChanged",_0:t}},(r=e._0,l(ue,{ctor:"::",_0:ye("event"),_1:{ctor:"[]"}},{ctor:"::",_0:l(Zr,{ctor:"::",_0:ye("event__title"),_1:{ctor:"[]"}},{ctor:"::",_0:$r(r.event.eventType),_1:{ctor:"[]"}}),_1:{ctor:"::",_0:l(ue,{ctor:"::",_0:ye("event__body"),_1:{ctor:"[]"}},{ctor:"::",_0:l(_e,{ctor:"[]"},{ctor:"::",_0:l(se,{ctor:"[]"},{ctor:"::",_0:l(de,{ctor:"[]"},{ctor:"::",_0:l(he,{ctor:"[]"},{ctor:"::",_0:$r("Event id"),_1:{ctor:"[]"}}),_1:{ctor:"::",_0:l(he,{ctor:"[]"},{ctor:"::",_0:$r("Raw Data"),_1:{ctor:"[]"}}),_1:{ctor:"::",_0:l(he,{ctor:"[]"},{ctor:"::",_0:$r("Raw Metadata"),_1:{ctor:"[]"}}),_1:{ctor:"[]"}}}}),_1:{ctor:"[]"}}),_1:{ctor:"::",_0:l(fe,{ctor:"[]"},{ctor:"::",_0:l(de,{ctor:"[]"},{ctor:"::",_0:l(pe,{ctor:"[]"},{ctor:"::",_0:$r(r.event.eventId),_1:{ctor:"[]"}}),_1:{ctor:"::",_0:l(pe,{ctor:"[]"},{ctor:"::",_0:_(Xo,r.event.rawData,r.dataTreeState,function(t){return{ctor:"ChangeOpenedEventDataTreeState",_0:t}}),_1:{ctor:"[]"}}),_1:{ctor:"::",_0:l(pe,{ctor:"[]"},{ctor:"::",_0:_(Xo,r.event.rawMetadata,r.metadataTreeState,function(t){return{ctor:"ChangeOpenedEventMetadataTreeState",_0:t}}),_1:{ctor:"[]"}}),_1:{ctor:"[]"}}}}),_1:{ctor:"[]"}}),_1:{ctor:"[]"}}}),_1:{ctor:"[]"}}),_1:{ctor:"[]"}}}))):l(ue,{ctor:"::",_0:ye("event"),_1:{ctor:"[]"}},{ctor:"[]"})}),_i=function(t){return{ctor:"GoToPage",_0:t}},fi=function(t){return l(ve,{ctor:"::",_0:we(t),_1:{ctor:"::",_0:Ne(_i(t)),_1:{ctor:"::",_0:ye("pagination__page pagination__page--next"),_1:{ctor:"[]"}}}},{ctor:"::",_0:$r("next"),_1:{ctor:"[]"}})},si=function(t){return l(ve,{ctor:"::",_0:we(t),_1:{ctor:"::",_0:Ne(_i(t)),_1:{ctor:"::",_0:ye("pagination__page pagination__page--prev"),_1:{ctor:"[]"}}}},{ctor:"::",_0:$r("previous"),_1:{ctor:"[]"}})},di=function(t){return l(ve,{ctor:"::",_0:we(t),_1:{ctor:"::",_0:Ne(_i(t)),_1:{ctor:"::",_0:ye("pagination__page pagination__page--last"),_1:{ctor:"[]"}}}},{ctor:"::",_0:$r("last"),_1:{ctor:"[]"}})},pi=function(t){return l(ve,{ctor:"::",_0:we(t),_1:{ctor:"::",_0:Ne(_i(t)),_1:{ctor:"::",_0:ye("pagination__page pagination__page--first"),_1:{ctor:"[]"}}}},{ctor:"::",_0:$r("first"),_1:{ctor:"[]"}})},hi=e(function(t,r){var e,n,o,i=r;return l(ue,{ctor:"::",_0:ye("browser"),_1:{ctor:"[]"}},{ctor:"::",_0:l(Zr,{ctor:"::",_0:ye("browser__title"),_1:{ctor:"[]"}},{ctor:"::",_0:$r(t),_1:{ctor:"[]"}}),_1:{ctor:"::",_0:l(ue,{ctor:"::",_0:ye("browser__pagination"),_1:{ctor:"[]"}},{ctor:"::",_0:(n=i.links,o=n,l(ie,{ctor:"::",_0:ye("pagination"),_1:{ctor:"[]"}},{ctor:"::",_0:l(Zo,pi,o.first),_1:{ctor:"::",_0:l(Zo,di,o.last),_1:{ctor:"::",_0:l(Zo,fi,o.next),_1:{ctor:"::",_0:l(Zo,si,o.prev),_1:{ctor:"[]"}}}}})),_1:{ctor:"[]"}}),_1:{ctor:"::",_0:l(ue,{ctor:"::",_0:ye("browser__results"),_1:{ctor:"[]"}},{ctor:"::",_0:(e=i.events,"[]"===e.ctor?l(ne,{ctor:"::",_0:ye("results__empty"),_1:{ctor:"[]"}},{ctor:"::",_0:$r("No items"),_1:{ctor:"[]"}}):l(_e,{ctor:"[]"},{ctor:"::",_0:l(se,{ctor:"[]"},{ctor:"::",_0:l(de,{ctor:"[]"},{ctor:"::",_0:l(he,{ctor:"[]"},{ctor:"::",_0:$r("Event name"),_1:{ctor:"[]"}}),_1:{ctor:"::",_0:l(he,{ctor:"[]"},{ctor:"::",_0:$r("Event id"),_1:{ctor:"[]"}}),_1:{ctor:"::",_0:l(he,{ctor:"::",_0:ye("u-align-right"),_1:{ctor:"[]"}},{ctor:"::",_0:$r("Created at"),_1:{ctor:"[]"}}),_1:{ctor:"[]"}}}}),_1:{ctor:"[]"}}),_1:{ctor:"::",_0:l(fe,{ctor:"[]"},l(A,ri,e)),_1:{ctor:"[]"}}})),_1:{ctor:"[]"}}),_1:{ctor:"[]"}}}})}),vi=function(t){return{ctor:"GetEvent",_0:t}},gi=function(t){return{ctor:"GetEvents",_0:t}},bi=function(t){return l(ao,gi,l(uo,t,ai))},mi={ctor:"NotFound"},yi=function(t){return{ctor:"ShowEvent",_0:t}},ki=function(t){return{ctor:"BrowseEvents",_0:t}},wi=($o={ctor:"::",_0:l(Qo,ki("all"),Ko),_1:{ctor:"::",_0:l(Qo,ki,l(Go["</>"],Wo("streams"),Ho)),_1:{ctor:"::",_0:l(Qo,yi,l(Go["</>"],Wo("events"),Ho)),_1:{ctor:"[]"}}}},qo(function(t){return l(I,function(r){return r._0(t)},$o)})),Ti=e(function(t,r){var e,n=function(t){return l(Jo,wi,t)}(r);if("Just"!==n.ctor)return{ctor:"_Tuple2",_0:p.update(t,{page:mi}),_1:Sr};switch(n._0.ctor){case"BrowseEvents":var o=ro(n._0._0);if("Just"===o.ctor){var i=o._0;return{ctor:"_Tuple2",_0:p.update(t,{page:ki(i)}),_1:bi(l(ti,t.flags.streamsUrl,i))}}return{ctor:"_Tuple2",_0:p.update(t,{page:mi}),_1:Sr};case"ShowEvent":var c=ro(n._0._0);if("Just"===c.ctor){var u=c._0;return{ctor:"_Tuple2",_0:p.update(t,{page:yi(u)}),_1:(e=l(ti,t.flags.eventsUrl,u),l(ao,vi,l(uo,e,oi)))}}return{ctor:"_Tuple2",_0:p.update(t,{page:mi}),_1:Sr};default:return{ctor:"_Tuple2",_0:p.update(t,{page:n._0}),_1:Sr}}}),xi=e(function(t,r){var e={events:l(ui,{ctor:"[]"},{prev:y,next:y,first:y,last:y}),page:mi,event:y,flags:t};return l(Ti,e,r)}),Bi=e(function(t,r){var e,n=t;switch(n.ctor){case"GetEvents":return"Ok"===n._0.ctor?{ctor:"_Tuple2",_0:p.update(r,{events:n._0._0}),_1:Sr}:{ctor:"_Tuple2",_0:r,_1:Sr};case"GetEvent":return"Ok"===n._0.ctor?{ctor:"_Tuple2",_0:p.update(r,{event:k((e=n._0._0,{event:e,dataTreeState:un,metadataTreeState:un}))}),_1:Sr}:{ctor:"_Tuple2",_0:r,_1:Sr};case"ChangeUrl":return l(Ti,r,n._0);case"GoToPage":return{ctor:"_Tuple2",_0:r,_1:bi(n._0)};default:var o=r.event;if("Just"===o.ctor){var i=l(Yo,n._0,o._0),c=i._0;i._1;return{ctor:"_Tuple2",_0:p.update(r,{event:k(c)}),_1:Sr}}return{ctor:"_Tuple2",_0:r,_1:Sr}}}),Ni=l(Ao,function(t){return{ctor:"ChangeUrl",_0:t}},{init:xi,view:function(t){return l(ue,{ctor:"::",_0:ye("frame"),_1:{ctor:"[]"}},{ctor:"::",_0:l(te,{ctor:"::",_0:ye("frame__header"),_1:{ctor:"[]"}},{ctor:"::",_0:function(t){return l(Yr,{ctor:"::",_0:ye("navigation"),_1:{ctor:"[]"}},{ctor:"::",_0:l(ue,{ctor:"::",_0:ye("navigation__brand"),_1:{ctor:"[]"}},{ctor:"::",_0:l(ae,{ctor:"::",_0:we(t.flags.rootUrl),_1:{ctor:"::",_0:ye("navigation__logo"),_1:{ctor:"[]"}}},{ctor:"::",_0:$r("Ruby Event Store"),_1:{ctor:"[]"}}),_1:{ctor:"[]"}}),_1:{ctor:"::",_0:l(ue,{ctor:"::",_0:ye("navigation__links"),_1:{ctor:"[]"}},{ctor:"::",_0:l(ae,{ctor:"::",_0:we(t.flags.rootUrl),_1:{ctor:"::",_0:ye("navigation__link"),_1:{ctor:"[]"}}},{ctor:"::",_0:$r("Stream Browser"),_1:{ctor:"[]"}}),_1:{ctor:"[]"}}),_1:{ctor:"[]"}}})}(t),_1:{ctor:"[]"}}),_1:{ctor:"::",_0:l(ee,{ctor:"::",_0:ye("frame__body"),_1:{ctor:"[]"}},{ctor:"::",_0:function(t){var r=t.page;switch(r.ctor){case"BrowseEvents":return l(hi,l(m["++"],"Events in ",r._0),t.events);case"ShowEvent":return li(t.event);default:return l(Zr,{ctor:"[]"},{ctor:"::",_0:$r("404"),_1:{ctor:"[]"}})}}(t),_1:{ctor:"[]"}}),_1:{ctor:"::",_0:l(re,{ctor:"::",_0:ye("frame__footer"),_1:{ctor:"[]"}},{ctor:"::",_0:function(t){return l(re,{ctor:"::",_0:ye("footer"),_1:{ctor:"[]"}},{ctor:"::",_0:l(ue,{ctor:"::",_0:ye("footer__links"),_1:{ctor:"[]"}},{ctor:"::",_0:$r(l(m["++"],"RubyEventStore v",t.flags.resVersion)),_1:{ctor:"::",_0:l(ae,{ctor:"::",_0:we("https://railseventstore.org/docs/install/"),_1:{ctor:"::",_0:ye("footer__link"),_1:{ctor:"[]"}}},{ctor:"::",_0:$r("Documentation"),_1:{ctor:"[]"}}),_1:{ctor:"::",_0:l(ae,{ctor:"::",_0:we("https://railseventstore.org/support/"),_1:{ctor:"::",_0:ye("footer__link"),_1:{ctor:"[]"}}},{ctor:"::",_0:$r("Support"),_1:{ctor:"[]"}}),_1:{ctor:"[]"}}}}),_1:{ctor:"[]"}})}(t),_1:{ctor:"[]"}}),_1:{ctor:"[]"}}}})},update:Bi,subscriptions:function(t){return Or}})(l(cr,function(t){return l(cr,function(r){return l(cr,function(e){return l(cr,function(n){return ar({eventsUrl:t,resVersion:r,rootUrl:e,streamsUrl:n})},l(vr,"streamsUrl",Tr))},l(vr,"rootUrl",Tr))},l(vr,"resVersion",Tr))},l(vr,"eventsUrl",Tr))),Ri={};Ri.Main=Ri.Main||{},void 0!==Ni&&Ni(Ri.Main,"Main",void 0),void 0===(n=function(){return Ri}.apply(r,[]))||(t.exports=n)}).call(this)}]);
|
1
|
+
parcelRequire=function(e,r,n,t){var i="function"==typeof parcelRequire&&parcelRequire,o="function"==typeof require&&require;function u(n,t){if(!r[n]){if(!e[n]){var f="function"==typeof parcelRequire&&parcelRequire;if(!t&&f)return f(n,!0);if(i)return i(n,!0);if(o&&"string"==typeof n)return o(n);var c=new Error("Cannot find module '"+n+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[n][1][r]||r},p.cache={};var l=r[n]=new u.Module(n);e[n][0].call(l.exports,p,l,l.exports,this)}return r[n].exports;function p(e){return u(p.resolve(e))}}u.isParcelRequire=!0,u.Module=function(e){this.id=e,this.bundle=u,this.exports={}},u.modules=e,u.cache=r,u.parent=i,u.register=function(r,n){e[r]=[function(e,r){r.exports=n},{}]};for(var f=0;f<n.length;f++)u(n[f]);if(n.length){var c=u(n[n.length-1]);"object"==typeof exports&&"undefined"!=typeof module?module.exports=c:"function"==typeof define&&define.amd?define(function(){return c}):t&&(this[t]=c)}return u}({"4A+K":[function(require,module,exports) {
|
2
|
+
|
3
|
+
},{}],"8asW":[function(require,module,exports) {
|
4
|
+
!function(n){"use strict";function r(n,r,t){return t.a=n,t.f=r,t}function t(n){return r(2,n,function(r){return function(t){return n(r,t)}})}function e(n){return r(3,n,function(r){return function(t){return function(e){return n(r,t,e)}}})}function u(n){return r(4,n,function(r){return function(t){return function(e){return function(u){return n(r,t,e,u)}}}})}function a(n){return r(5,n,function(r){return function(t){return function(e){return function(u){return function(a){return n(r,t,e,u,a)}}}}})}function i(n){return r(6,n,function(r){return function(t){return function(e){return function(u){return function(a){return function(i){return n(r,t,e,u,a,i)}}}}}})}function o(n){return r(7,n,function(r){return function(t){return function(e){return function(u){return function(a){return function(i){return function(o){return n(r,t,e,u,a,i,o)}}}}}}})}function f(n,r,t){return 2===n.a?n.f(r,t):n(r)(t)}function c(n,r,t,e){return 3===n.a?n.f(r,t,e):n(r)(t)(e)}function v(n,r,t,e,u){return 4===n.a?n.f(r,t,e,u):n(r)(t)(e)(u)}function s(n,r,t,e,u,a){return 5===n.a?n.f(r,t,e,u,a):n(r)(t)(e)(u)(a)}function b(n,r,t,e,u,a,i){return 6===n.a?n.f(r,t,e,u,a,i):n(r)(t)(e)(u)(a)(i)}function d(n,r,t,e,u,a,i,o){return 7===n.a?n.f(r,t,e,u,a,i,o):n(r)(t)(e)(u)(a)(i)(o)}var l=e(function(n,r,t){for(var e=Array(n),u=0;n>u;u++)e[u]=t(r+u);return e}),$=t(function(n,r){for(var t=Array(n),e=0;n>e&&r.b;e++)t[e]=r.a,r=r.b;return t.length=e,E(t,r)}),h={$:0};function p(n,r){return{$:1,a:n,b:r}}var g=t(p);function m(n){for(var r=h,t=n.length;t--;)r=p(n[t],r);return r}var _=e(function(n,r,t){for(var e=[];r.b&&t.b;r=r.b,t=t.b)e.push(f(n,r.a,t.a));return m(e)});function y(n){throw Error("https://github.com/elm/core/blob/1.0.0/hints/"+n+".md")}function w(n,r){for(var t,e=[],u=A(n,r,0,e);u&&(t=e.pop());u=A(t.a,t.b,0,e));return u}function A(n,r,t,e){if(t>100)return e.push(E(n,r)),!0;if(n===r)return!0;if("object"!=typeof n||null===n||null===r)return"function"==typeof n&&y(5),!1;for(var u in 0>n.$&&(n=wr(n),r=wr(r)),n)if(!A(n[u],r[u],t+1,e))return!1;return!0}function k(n,r,t){if("object"!=typeof n)return n===r?0:r>n?-1:1;if(!n.$)return(t=k(n.a,r.a))?t:(t=k(n.b,r.b))?t:k(n.c,r.c);for(;n.b&&r.b&&!(t=k(n.a,r.a));n=n.b,r=r.b);return t||(n.b?1:r.b?-1:0)}var j=t(function(n,r){var t=k(n,r);return 0>t?gr:t?_r:pr});function E(n,r){return{a:n,b:r}}function N(n){return n}function C(n,r){var t={};for(var e in n)t[e]=n[e];for(var e in r)t[e]=r[e];return t}function T(n,r){if("string"==typeof n)return n+r;if(!n.b)return r;var t=p(n.a,r);n=n.b;for(var e=t;n.b;n=n.b)e=e.b=p(n.a,r);return t}var O=Math.ceil,R=Math.floor,x=Math.log,L=t(function(n,r){return r.split(n)}),S=t(function(n,r){return r.join(n)}),z=e(function(n,r,t){return t.slice(n,r)}),q=t(function(n,r){for(var t=r.length;t--;){var e=r[t],u=r.charCodeAt(t);if(56320>u||u>57343||(e=r[--t]+e),!n(N(e)))return!1}return!0}),B=t(function(n,r){return r.indexOf(n)>-1}),D=t(function(n,r){return 0===r.indexOf(n)}),F=t(function(n,r){var t=n.length;if(1>t)return h;for(var e=0,u=[];(e=r.indexOf(n,e))>-1;)u.push(e),e+=t;return m(u)});function M(n){return n+""}function J(n){return{$:2,b:n}}J(function(n){return"number"!=typeof n?en("an INT",n):n>-2147483647&&2147483647>n&&(0|n)===n?Vr(n):!isFinite(n)||n%1?en("an INT",n):Vr(n)});var P=J(function(n){return"boolean"==typeof n?Vr(n):en("a BOOL",n)}),I=J(function(n){return"number"==typeof n?Vr(n):en("a FLOAT",n)}),X=J(function(n){return Vr(fn(n))}),H=J(function(n){return"string"==typeof n?Vr(n):n instanceof String?Vr(n+""):en("a STRING",n)}),U=t(function(n,r){return{$:6,d:n,b:r}});function V(n,r){return{$:9,f:n,g:r}}var Z=t(function(n,r){return{$:10,b:r,h:n}}),G=t(function(n,r){return V(n,[r])}),Y=e(function(n,r,t){return V(n,[r,t])}),K=t(function(n,r){try{return Q(n,JSON.parse(r))}catch(n){return Ur(f(Gr,"This is not valid JSON! "+n.message,fn(r)))}}),W=t(function(n,r){return Q(n,cn(r))});function Q(n,r){switch(n.$){case 2:return n.b(r);case 5:return null===r?Vr(n.c):en("null",r);case 3:return rn(r)?nn(n.b,r,m):en("a LIST",r);case 4:return rn(r)?nn(n.b,r,tn):en("an ARRAY",r);case 6:var t=n.d;if("object"!=typeof r||null===r||!(t in r))return en("an OBJECT with a field named `"+t+"`",r);var e=Q(n.b,r[t]);return Zr(e)?e:Ur(f(Yr,t,e.a));case 7:var u=n.e;return rn(r)?r.length>u?(e=Q(n.b,r[u]),Zr(e)?e:Ur(f(Kr,u,e.a))):en("a LONGER array. Need index "+u+" but only see "+r.length+" entries",r):en("an ARRAY",r);case 8:if("object"!=typeof r||null===r||rn(r))return en("an OBJECT",r);var a=h;for(var i in r)if(r.hasOwnProperty(i)){if(e=Q(n.b,r[i]),!Zr(e))return Ur(f(Yr,i,e.a));a=p(E(i,e.a),a)}return Vr(qr(a));case 9:for(var o=n.f,c=n.g,v=0;c.length>v;v++){if(e=Q(c[v],r),!Zr(e))return e;o=o(e.a)}return Vr(o);case 10:return e=Q(n.b,r),Zr(e)?Q(n.h(e.a),r):e;case 11:for(var s=h,b=n.g;b.b;b=b.b){if(e=Q(b.a,r),Zr(e))return e;s=p(e.a,s)}return Ur(Wr(qr(s)));case 1:return Ur(f(Gr,n.a,fn(r)));case 0:return Vr(n.a)}}function nn(n,r,t){for(var e=r.length,u=Array(e),a=0;e>a;a++){var i=Q(n,r[a]);if(!Zr(i))return Ur(f(Kr,a,i.a));u[a]=i.a}return Vr(t(u))}function rn(n){return Array.isArray(n)||"function"==typeof FileList&&n instanceof FileList}function tn(n){return f(Hr,n.length,function(r){return n[r]})}function en(n,r){return Ur(f(Gr,"Expecting "+n,fn(r)))}function un(n,r){if(n===r)return!0;if(n.$!==r.$)return!1;switch(n.$){case 0:case 1:return n.a===r.a;case 2:return n.b===r.b;case 5:return n.c===r.c;case 3:case 4:case 8:return un(n.b,r.b);case 6:return n.d===r.d&&un(n.b,r.b);case 7:return n.e===r.e&&un(n.b,r.b);case 9:return n.f===r.f&&an(n.g,r.g);case 10:return n.h===r.h&&un(n.b,r.b);case 11:return an(n.g,r.g)}}function an(n,r){var t=n.length;if(t!==r.length)return!1;for(var e=0;t>e;e++)if(!un(n[e],r[e]))return!1;return!0}var on=t(function(n,r){return JSON.stringify(cn(r),null,n)+""});function fn(n){return n}function cn(n){return n}function vn(n){return{$:0,a:n}}function sn(n){return{$:1,a:n}}function bn(n){return{$:2,b:n,c:null}}fn(null);var dn=t(function(n,r){return{$:3,b:n,d:r}}),ln=t(function(n,r){return{$:4,b:n,d:r}}),$n=0;function hn(n){var r={$:0,e:$n++,f:n,g:null,h:[]};return mn(r),r}var pn=!1,gn=[];function mn(n){if(gn.push(n),!pn){for(pn=!0;n=gn.shift();)_n(n);pn=!1}}function _n(n){for(;n.f;){var r=n.f.$;if(0===r||1===r){for(;n.g&&n.g.$!==r;)n.g=n.g.i;if(!n.g)return;n.f=n.g.b(n.f.a),n.g=n.g.i}else{if(2===r)return void(n.f.c=n.f.b(function(r){n.f=r,mn(n)}));if(5===r){if(0===n.h.length)return;n.f=n.f.b(n.h.shift())}else n.g={$:3===r?0:1,b:n.f.b,i:n.g},n.f=n.f.d}}}var yn=t(function(n,r){return bn(function(t){var e=new XMLHttpRequest;!function(n,r){Zt(r)&&n.addEventListener("progress",function(n){n.lengthComputable&&hn(r.a({bo:n.loaded,bp:n.total}))})}(e,r),e.addEventListener("error",function(){t(sn(Qt))}),e.addEventListener("timeout",function(){t(sn(ne))}),e.addEventListener("load",function(){t(function(n,r){var t=function(n){return{b1:n.responseURL,bW:{bs:n.status,s:n.statusText},X:wn(n.getAllResponseHeaders()),bm:n.response}}(n);if(200>n.status||n.status>=300)return t.body=n.responseText,sn(Kt(t));var e=r(t);return Zr(e)?vn(e.a):(t.body=n.responseText,sn(f(Yt,e.a,t)))}(e,n.ag.a))});try{e.open(n.an,n.b1,!0)}catch(r){return t(sn(Wt(n.b1)))}!function(n,r){for(var t=r.X;t.b;t=t.b)n.setRequestHeader(t.a.a,t.a.b);n.responseType=r.ag.b,n.withCredentials=r.aB,Zt(r.az)&&(n.timeout=r.az.a)}(e,n);var u=n.bm;return e.send(re(u)?(e.setRequestHeader("Content-Type",u.a),u.b):u.a),function(){e.abort()}})});function wn(n){var r=Lt;if(!n)return r;for(var t=n.split("\r\n"),e=t.length;e--;){var u=t[e],a=u.indexOf(": ");if(a>0){var i=u.substring(0,a),o=u.substring(a+2);r=c(Vt,i,function(n){return Ar(Zt(n)?o+", "+n.a:o)},r)}}return r}var An={};function kn(n,r){var t={g:r,h:void 0},e=n.c,u=n.d,a=n.e,i=n.f;function o(n){return f(dn,o,{$:5,b:function(r){var o=r.a;return 0===r.$?c(u,t,o,n):a&&i?v(e,t,o.i,o.j,n):c(e,t,a?o.i:o.j,n)}})}return t.h=hn(f(dn,o,n.b))}var jn,En=t(function(n,r){return bn(function(t){n.g(r),t(vn(0))})});function Nn(n){return{$:2,m:n}}function Cn(n,r,t){var e,u={};for(var a in Tn(!0,r,u,null),Tn(!1,t,u,null),n)(e=n[a]).h.push({$:"fx",a:u[a]||{i:h,j:h}}),mn(e)}function Tn(n,r,t,e){switch(r.$){case 1:var u=r.k,a=function(n,t,e){function u(n){for(var r=e;r;r=r.q)n=r.p(n);return n}return f(n?An[t].e:An[t].f,u,r.l)}(n,u,e);return void(t[u]=function(n,r,t){return t=t||{i:h,j:h},n?t.i=p(r,t.i):t.j=p(r,t.j),t}(n,a,t[u]));case 2:for(var i=r.m;i.b;i=i.b)Tn(n,i.a,t,e);return;case 3:return void Tn(n,r.o,t,{p:r.n,q:e})}}var On="undefined"!=typeof document?document:{};function Rn(n,r){n.appendChild(r)}function xn(n){return{$:0,a:n}}var Ln=t(function(n,r){return t(function(t,e){for(var u=[],a=0;e.b;e=e.b){var i=e.a;a+=i.b||0,u.push(i)}return a+=u.length,{$:1,c:r,d:Mn(t),e:u,f:n,b:a}})})(void 0);t(function(n,r){return t(function(t,e){for(var u=[],a=0;e.b;e=e.b){var i=e.a;a+=i.b.b||0,u.push(i)}return a+=u.length,{$:2,c:r,d:Mn(t),e:u,f:n,b:a}})})(void 0);var Sn,zn=t(function(n,r){return{$:4,j:n,k:r,b:1+(r.b||0)}}),qn=t(function(n,r){return{$:"a0",n:n,o:r}}),Bn=t(function(n,r){return{$:"a1",n:n,o:r}}),Dn=t(function(n,r){return{$:"a2",n:n,o:r}}),Fn=t(function(n,r){return{$:"a3",n:n,o:r}});function Mn(n){for(var r={};n.b;n=n.b){var t=n.a,e=t.$,u=t.n,a=t.o;if("a2"!==e){var i=r[e]||(r[e]={});"a3"===e&&"class"===u?Jn(i,u,a):i[u]=a}else"className"===u?Jn(r,u,cn(a)):r[u]=cn(a)}return r}function Jn(n,r,t){var e=n[r];n[r]=e?e+" "+t:t}function Pn(n,r){var t=n.$;if(5===t)return Pn(n.k||(n.k=n.m()),r);if(0===t)return On.createTextNode(n.a);if(4===t){for(var e=n.k,u=n.j;4===e.$;)"object"!=typeof u?u=[u,e.j]:u.push(e.j),e=e.k;var a={j:u,p:r};return(i=Pn(e,a)).elm_event_node_ref=a,i}if(3===t)return In(i=n.h(n.g),r,n.d),i;var i=n.f?On.createElementNS(n.f,n.c):On.createElement(n.c);jn&&"a"==n.c&&i.addEventListener("click",jn(i)),In(i,r,n.d);for(var o=n.e,f=0;o.length>f;f++)Rn(i,Pn(1===t?o[f]:o[f].b,r));return i}function In(n,r,t){for(var e in t){var u=t[e];"a1"===e?Xn(n,u):"a0"===e?Vn(n,r,u):"a3"===e?Hn(n,u):"a4"===e?Un(n,u):("value"!==e&&"checked"!==e||n[e]!==u)&&(n[e]=u)}}function Xn(n,r){var t=n.style;for(var e in r)t[e]=r[e]}function Hn(n,r){for(var t in r){var e=r[t];void 0!==e?n.setAttribute(t,e):n.removeAttribute(t)}}function Un(n,r){for(var t in r){var e=r[t],u=e.f,a=e.o;void 0!==a?n.setAttributeNS(u,t,a):n.removeAttributeNS(u,t)}}function Vn(n,r,t){var e=n.elmFs||(n.elmFs={});for(var u in t){var a=t[u],i=e[u];if(a){if(i){if(i.q.$===a.$){i.q=a;continue}n.removeEventListener(u,i)}i=Zn(r,a),n.addEventListener(u,i,Sn&&{passive:2>fu(a)}),e[u]=i}else n.removeEventListener(u,i),e[u]=void 0}}try{window.addEventListener("t",null,Object.defineProperty({},"passive",{get:function(){Sn=!0}}))}catch(n){}function Zn(n,r){function t(r){var e=t.q,u=Q(e.a,r);if(Zr(u)){for(var a,i=fu(e),o=u.a,f=i?3>i?o.a:o.s:o,c=1==i?o.b:3==i&&o.av,v=(c&&r.stopPropagation(),(2==i?o.b:3==i&&o.as)&&r.preventDefault(),n);a=v.j;){if("function"==typeof a)f=a(f);else for(var s=a.length;s--;)f=a[s](f);v=v.p}v(f,c)}}return t.q=r,t}function Gn(n,r){return n.$==r.$&&un(n.a,r.a)}function Yn(n,r,t,e){var u={$:r,r:t,s:e,t:void 0,u:void 0};return n.push(u),u}function Kn(n,r,t,e){if(n!==r){var u=n.$,a=r.$;if(u!==a){if(1!==u||2!==a)return void Yn(t,0,e,r);r=function(n){for(var r=n.e,t=r.length,e=Array(t),u=0;t>u;u++)e[u]=r[u].b;return{$:1,c:n.c,d:n.d,e:e,f:n.f,b:n.b}}(r),a=1}switch(a){case 5:for(var i=n.l,o=r.l,f=i.length,c=f===o.length;c&&f--;)c=i[f]===o[f];if(c)return void(r.k=n.k);r.k=r.m();var v=[];return Kn(n.k,r.k,v,0),void(v.length>0&&Yn(t,1,e,v));case 4:for(var s=n.j,b=r.j,d=!1,l=n.k;4===l.$;)d=!0,"object"!=typeof s?s=[s,l.j]:s.push(l.j),l=l.k;for(var $=r.k;4===$.$;)d=!0,"object"!=typeof b?b=[b,$.j]:b.push($.j),$=$.k;return d&&s.length!==b.length?void Yn(t,0,e,r):((d?function(n,r){for(var t=0;n.length>t;t++)if(n[t]!==r[t])return!1;return!0}(s,b):s===b)||Yn(t,2,e,b),void Kn(l,$,t,e+1));case 0:return void(n.a!==r.a&&Yn(t,3,e,r.a));case 1:return void Wn(n,r,t,e,nr);case 2:return void Wn(n,r,t,e,rr);case 3:if(n.h!==r.h)return void Yn(t,0,e,r);var h=Qn(n.d,r.d);h&&Yn(t,4,e,h);var p=r.i(n.g,r.g);return void(p&&Yn(t,5,e,p))}}}function Wn(n,r,t,e,u){if(n.c===r.c&&n.f===r.f){var a=Qn(n.d,r.d);a&&Yn(t,4,e,a),u(n,r,t,e)}else Yn(t,0,e,r)}function Qn(n,r,t){var e;for(var u in n)if("a1"!==u&&"a0"!==u&&"a3"!==u&&"a4"!==u)if(u in r){var a=n[u],i=r[u];a===i&&"value"!==u&&"checked"!==u||"a0"===t&&Gn(a,i)||((e=e||{})[u]=i)}else(e=e||{})[u]=t?"a1"===t?"":"a0"===t||"a3"===t?void 0:{f:n[u].f,o:void 0}:"string"==typeof n[u]?"":null;else{var o=Qn(n[u],r[u]||{},u);o&&((e=e||{})[u]=o)}for(var f in r)f in n||((e=e||{})[f]=r[f]);return e}function nr(n,r,t,e){var u=n.e,a=r.e,i=u.length,o=a.length;i>o?Yn(t,6,e,{v:o,i:i-o}):o>i&&Yn(t,7,e,{v:i,e:a});for(var f=o>i?i:o,c=0;f>c;c++){var v=u[c];Kn(v,a[c],t,++e),e+=v.b||0}}function rr(n,r,t,e){for(var u=[],a={},i=[],o=n.e,f=r.e,c=o.length,v=f.length,s=0,b=0,d=e;c>s&&v>b;){var l=(E=o[s]).a,$=(N=f[b]).a,h=E.b,p=N.b,g=void 0,m=void 0;if(l!==$){var _=o[s+1],y=f[b+1];if(_){var w=_.a,A=_.b;m=$===w}if(y){var k=y.a,j=y.b;g=l===k}if(g&&m)Kn(h,j,u,++d),er(a,u,l,p,b,i),d+=h.b||0,ur(a,u,l,A,++d),d+=A.b||0,s+=2,b+=2;else if(g)d++,er(a,u,$,p,b,i),Kn(h,j,u,d),d+=h.b||0,s+=1,b+=2;else if(m)ur(a,u,l,h,++d),d+=h.b||0,Kn(A,p,u,++d),d+=A.b||0,s+=2,b+=1;else{if(!_||w!==k)break;ur(a,u,l,h,++d),er(a,u,$,p,b,i),d+=h.b||0,Kn(A,j,u,++d),d+=A.b||0,s+=2,b+=2}}else Kn(h,p,u,++d),d+=h.b||0,s++,b++}for(;c>s;){var E;ur(a,u,(E=o[s]).a,h=E.b,++d),d+=h.b||0,s++}for(;v>b;){var N,C=C||[];er(a,u,(N=f[b]).a,N.b,void 0,C),b++}(u.length>0||i.length>0||C)&&Yn(t,8,e,{w:u,x:i,y:C})}var tr="_elmW6BL";function er(n,r,t,e,u,a){var i=n[t];if(!i)return a.push({r:u,A:i={c:0,z:e,r:u,s:void 0}}),void(n[t]=i);if(1===i.c){a.push({r:u,A:i}),i.c=2;var o=[];return Kn(i.z,e,o,i.r),i.r=u,void(i.s.s={w:o,A:i})}er(n,r,t+tr,e,u,a)}function ur(n,r,t,e,u){var a=n[t];if(a){if(0===a.c){a.c=2;var i=[];return Kn(e,a.z,i,u),void Yn(r,9,u,{w:i,A:a})}ur(n,r,t+tr,e,u)}else{var o=Yn(r,9,u,void 0);n[t]={c:1,z:e,r:u,s:o}}}function ar(n,r,t,e){return 0===t.length?n:(function n(r,t,e,u){!function r(t,e,u,a,i,o,f){for(var c=u[a],v=c.r;v===i;){var s=c.$;if(1===s)n(t,e.k,c.s,f);else if(8===s)c.t=t,c.u=f,(b=c.s.w).length>0&&r(t,e,b,0,i,o,f);else if(9===s){c.t=t,c.u=f;var b,d=c.s;d&&(d.A.s=t,(b=d.w).length>0&&r(t,e,b,0,i,o,f))}else c.t=t,c.u=f;if(!(c=u[++a])||(v=c.r)>o)return a}var l=e.$;if(4===l){for(var $=e.k;4===$.$;)$=$.k;return r(t,$,u,a,i+1,o,t.elm_event_node_ref)}for(var h=e.e,p=t.childNodes,g=0;h.length>g;g++){var m=1===l?h[g]:h[g].b,_=++i+(m.b||0);if(!(i>v||v>_||(c=u[a=r(p[g],m,u,a,i,_,f)])&&(v=c.r)<=o))return a;i=_}return a}(r,t,e,0,0,t.b,u)}(n,r,t,e),ir(n,t))}function ir(n,r){for(var t=0;r.length>t;t++){var e=r[t],u=e.t,a=or(u,e);u===n&&(n=a)}return n}function or(n,r){switch(r.$){case 0:return function(n){var t=n.parentNode,e=Pn(r.s,r.u);return e.elm_event_node_ref||(e.elm_event_node_ref=n.elm_event_node_ref),t&&e!==n&&t.replaceChild(e,n),e}(n);case 4:return In(n,r.u,r.s),n;case 3:return n.replaceData(0,n.length,r.s),n;case 1:return ir(n,r.s);case 2:return n.elm_event_node_ref?n.elm_event_node_ref.j=r.s:n.elm_event_node_ref={j:r.s,p:r.u},n;case 6:for(var t=r.s,e=0;t.i>e;e++)n.removeChild(n.childNodes[t.v]);return n;case 7:for(var u=(t=r.s).e,a=n.childNodes[e=t.v];u.length>e;e++)n.insertBefore(Pn(u[e],r.u),a);return n;case 9:if(!(t=r.s))return n.parentNode.removeChild(n),n;var i=t.A;return void 0!==i.r&&n.parentNode.removeChild(n),i.s=ir(n,t.w),n;case 8:return function(n,r){var t=r.s,e=function(n,r){if(n){for(var t=On.createDocumentFragment(),e=0;n.length>e;e++){var u=n[e].A;Rn(t,2===u.c?u.s:Pn(u.z,r.u))}return t}}(t.y,r);n=ir(n,t.w);for(var u=t.x,a=0;u.length>a;a++){var i=u[a],o=i.A,f=2===o.c?o.s:Pn(o.z,r.u);n.insertBefore(f,n.childNodes[i.r])}return e&&Rn(n,e),n}(n,r);case 5:return r.s(n);default:y(10)}}var fr=u(function(n,r,t,e){return function(n,r,t,e,u,a){var i=f(W,n,fn(r?r.flags:void 0));Zr(i)||y(2);var o={},c=(i=t(i.a)).a,v=a(b,c),s=function(n,r){var t;for(var e in An){var u=An[e];u.a&&((t=t||{})[e]=u.a(e,r)),n[e]=kn(u,r)}return t}(o,b);function b(n,r){v(c=(i=f(e,n,c)).a,r),Cn(o,i.b,u(c))}return Cn(o,i.b,u(c)),s?{ports:s}:{}}(r,e,n.bB,n.b0,n.bX,function(r,t){var e=n.O&&n.O(r),u=n.b2,a=On.title,i=On.body,o=function n(r){if(3===r.nodeType)return xn(r.textContent);if(1!==r.nodeType)return xn("");for(var t=h,e=r.attributes,u=e.length;u--;){var a=e[u];t=p(f(Fn,a.name,a.value),t)}var i=r.tagName.toLowerCase(),o=h,v=r.childNodes;for(u=v.length;u--;)o=p(n(v[u]),o);return c(Ln,i,t,o)}(i);return function(n,r){r(n);var t=0;function e(){t=1===t?0:(cr(e),r(n),1)}return function(u,a){n=u,a?(r(n),2===t&&(t=1)):(0===t&&cr(e),t=2)}}(t,function(n){jn=e;var t=u(n),f=Ln("body")(h)(t.bm),c=function(n,r){var t=[];return Kn(n,r,t,0),t}(o,f);i=ar(i,o,c,r),o=f,jn=0,a!==t.b_&&(On.title=a=t.b_)})})}),cr=("undefined"!=typeof cancelAnimationFrame&&cancelAnimationFrame,"undefined"!=typeof requestAnimationFrame?requestAnimationFrame:function(n){return setTimeout(n,1e3/60)});function vr(){return yu(On.location.href).a||y(1)}var sr=t(function(n,r){return f(ou,iu,bn(function(){history.pushState({},"",r),n()}))}),br=("undefined"!=typeof document&&document,"undefined"!=typeof window?window:{addEventListener:function(){},removeEventListener:function(){}}),dr={$:2},lr=t(function(n,r){return{D:n,aV:r}}),$r=function(n){return{$:0,a:n}},hr=function(n){return{$:1,a:n}},pr=1,gr=0,mr=g,_r=2,yr=e(function(n,r,t){for(;;){if(-2===t.$)return r;var e=t.d,u=n,a=c(n,t.b,t.c,c(yr,n,r,t.e));n=u,r=a,t=e}}),wr=function(n){return c(yr,e(function(n,r,t){return f(mr,E(n,r),t)}),h,n)},Ar=function(n){return{$:0,a:n}},kr={$:1},jr=t(function(n,r){return n+"/"+encodeURIComponent(r)}),Er=function(n){return{$:1,a:n}},Nr=t(function(n,r){return r(n)}),Cr=u(function(n,r,t,e){return{$:0,a:n,b:r,c:t,d:e}}),Tr=O,Or=t(function(n,r){return x(r)/x(n)}),Rr=Tr(f(Or,2,32)),xr=[],Lr=v(Cr,0,Rr,xr,xr),Sr=$,zr=e(function(n,r,t){for(;;){if(!t.b)return r;var e=t.b,u=n,a=f(n,t.a,r);n=u,r=a,t=e}}),qr=function(n){return c(zr,mr,h,n)},Br=t(function(n,r){for(;;){var t=f(Sr,32,n),e=t.b,u=f(mr,{$:0,a:t.a},r);if(!e.b)return qr(u);n=e,r=u}}),Dr=t(function(n,r){for(;;){var t=Tr(r/32);if(1===t)return f(Sr,32,n).a;n=f(Br,n,h),r=t}}),Fr=R,Mr=t(function(n,r){return k(n,r)>0?n:r}),Jr=function(n){return n.length},Pr=t(function(n,r){if(r.b){var t=32*r.b,e=Fr(f(Or,32,t-1)),u=n?qr(r.e):r.e,a=f(Dr,u,r.b);return v(Cr,Jr(r.d)+t,f(Mr,5,e*Rr),a,r.d)}return v(Cr,Jr(r.d),Rr,xr,r.d)}),Ir=l,Xr=a(function(n,r,t,e,u){for(;;){if(0>r)return f(Pr,!1,{e:e,b:t/32|0,d:u});var a={$:1,a:c(Ir,32,r,n)};n=n,r-=32,t=t,e=f(mr,a,e),u=u}}),Hr=t(function(n,r){if(n>0){var t=n%32;return s(Xr,r,n-t-32,n,h,c(Ir,t,n-t,r))}return Lr}),Ur=function(n){return{$:1,a:n}},Vr=function(n){return{$:0,a:n}},Zr=function(n){return!n.$},Gr=t(function(n,r){return{$:3,a:n,b:r}}),Yr=t(function(n,r){return{$:0,a:n,b:r}}),Kr=t(function(n,r){return{$:1,a:n,b:r}}),Wr=function(n){return{$:2,a:n}},Qr=function(n){var r=n.charCodeAt(0);return 55296>r||r>56319?r:1024*(r-55296)+n.charCodeAt(1)-56320+65536},nt=function(n){var r=Qr(n);return r>=97&&122>=r},rt=function(n){var r=Qr(n);return 90>=r&&r>=65},tt=function(n){return nt(n)||rt(n)},et=function(n){return nt(n)||rt(n)||function(n){var r=Qr(n);return 57>=r&&r>=48}(n)},ut=function(n){return c(zr,t(function(n,r){return r+1}),0,n)},at=_,it=e(function(n,r,t){for(;;){if(k(n,r)>=1)return t;var e=n,u=r-1,a=f(mr,r,t);n=e,r=u,t=a}}),ot=t(function(n,r){return c(it,n,r,h)}),ft=t(function(n,r){return c(at,n,f(ot,0,ut(r)-1),r)}),ct=q,vt=M,st=t(function(n,r){return f(S,n,function(n){for(var r=[];n.b;n=n.b)r.push(n.a);return r}(r))}),bt=t(function(n,r){return m(f(L,n,r))}),dt=function(n){return f(st,"\n ",f(bt,"\n",n))},lt=on,$t=t(function(n,r){return"\n\n("+vt(n+1)+") "+dt(ht(r))}),ht=function(n){return f(pt,n,h)},pt=t(function(n,r){n:for(;;)switch(n.$){case 0:var t=n.a,e=n.b,u=function(){var n,r,e=(r=(n=t).charCodeAt(0))?Ar(55296>r||r>56319?E(N(n[0]),n.slice(1)):E(N(n[0]+n[1]),n.slice(2))):kr;if(1===e.$)return!1;var u=e.a,a=u.b;return tt(u.a)&&f(ct,et,a)}();n=e,r=f(mr,u?"."+t:"['"+t+"']",r);continue n;case 1:e=n.b;var a="["+vt(n.a)+"]";n=e,r=f(mr,a,r);continue n;case 2:var i=n.a;if(i.b){if(i.b.b){var o=(r.b?"The Json.Decode.oneOf at json"+f(st,"",qr(r)):"Json.Decode.oneOf")+" failed in the following "+vt(ut(i))+" ways:";return f(st,"\n\n",f(mr,o,f(ft,$t,i)))}n=e=i.a,r=r;continue n}return"Ran into a Json.Decode.oneOf with no possibilities"+(r.b?" at json"+f(st,"",qr(r)):"!");default:var c=n.a,v=n.b;return(o=r.b?"Problem with the value at json"+f(st,"",qr(r))+":\n\n ":"Problem with the given value:\n\n")+dt(f(lt,4,v))+"\n\n"+c}}),gt=Y(Nr),mt=u(function(n,r,t,e){if(e.b){var u=e.a,a=e.b;if(a.b){var i=a.a,o=a.b;if(o.b){var s=o.a,b=o.b;if(b.b){var d=b.b;return f(n,u,f(n,i,f(n,s,f(n,b.a,t>500?c(zr,n,r,qr(d)):v(mt,n,r,t+1,d)))))}return f(n,u,f(n,i,f(n,s,r)))}return f(n,u,f(n,i,r))}return f(n,u,r)}return r}),_t=e(function(n,r,t){return v(mt,n,r,0,t)}),yt=U,wt=t(function(n,r){return c(_t,yt,r,n)}),At=e(function(n,r,t){return f(gt,f(wt,n,r),t)}),kt=a(function(n,r,t,e,u){return{aI:t,aM:r,aN:n,bS:e,bT:u}}),jt=G,Et=H,Nt=function(n){return{$:0,a:n}},Ct=X,Tt=c(At,m(["attributes","metadata"]),f(jt,lt(2),Ct),c(At,m(["attributes","data"]),f(jt,lt(2),Ct),c(At,m(["attributes","metadata","timestamp"]),Et,c(At,m(["id"]),Et,c(At,m(["attributes","event_type"]),Et,Nt(kt)))))),Ot=f(yt,"data",Tt),Rt={$:0},xt={$:-2},Lt=xt,St=j,zt=t(function(n,r){n:for(;;){if(-2===r.$)return kr;var t=r.c,e=r.d,u=r.e;switch(f(St,n,r.b)){case 0:n=n,r=e;continue n;case 1:return Ar(t);default:n=n,r=u;continue n}}}),qt=a(function(n,r,t,e,u){return{$:-1,a:n,b:r,c:t,d:e,e:u}}),Bt=a(function(n,r,t,e,u){if(-1!==u.$||u.a){if(-1!==e.$||e.a||-1!==e.d.$||e.d.a)return s(qt,n,r,t,e,u);var a=e.d;return i=e.e,s(qt,0,e.b,e.c,s(qt,1,a.b,a.c,a.d,a.e),s(qt,1,r,t,i,u))}var i,o=u.b,f=u.c,c=u.d,v=u.e;return-1!==e.$||e.a?s(qt,n,o,f,s(qt,0,r,t,e,c),v):s(qt,0,r,t,s(qt,1,e.b,e.c,e.d,i=e.e),s(qt,1,o,f,c,v))}),Dt=e(function(n,r,t){if(-2===t.$)return s(qt,0,n,r,xt,xt);var e=t.a,u=t.b,a=t.c,i=t.d,o=t.e;switch(f(St,n,u)){case 0:return s(Bt,e,u,a,c(Dt,n,r,i),o);case 1:return s(qt,e,u,r,i,o);default:return s(Bt,e,u,a,i,c(Dt,n,r,o))}}),Ft=e(function(n,r,t){var e=c(Dt,n,r,t);return-1!==e.$||e.a?e:s(qt,1,e.b,e.c,e.d,e.e)}),Mt=function(n){if(-1===n.$&&-1===n.d.$&&-1===n.e.$){if(-1!==n.e.d.$||n.e.d.a){var r=n.d,t=n.e;return i=t.b,o=t.c,e=t.d,v=t.e,s(qt,1,n.b,n.c,s(qt,0,r.b,r.c,r.d,r.e),s(qt,0,i,o,e,v))}var e,u=n.d,a=n.e,i=a.b,o=a.c,f=(e=a.d).d,c=e.e,v=a.e;return s(qt,0,e.b,e.c,s(qt,1,n.b,n.c,s(qt,0,u.b,u.c,u.d,u.e),f),s(qt,1,i,o,c,v))}return n},Jt=function(n){if(-1===n.$&&-1===n.d.$&&-1===n.e.$){if(-1!==n.d.d.$||n.d.d.a){var r=n.d,t=n.e;return c=t.b,v=t.c,b=t.d,d=t.e,s(qt,1,e=n.b,u=n.c,s(qt,0,r.b,r.c,r.d,o=r.e),s(qt,0,c,v,b,d))}var e=n.b,u=n.c,a=n.d,i=a.d,o=a.e,f=n.e,c=f.b,v=f.c,b=f.d,d=f.e;return s(qt,0,a.b,a.c,s(qt,1,i.b,i.c,i.d,i.e),s(qt,1,e,u,o,s(qt,0,c,v,b,d)))}return n},Pt=o(function(n,r,t,e,u,a,i){if(-1!==a.$||a.a){n:for(;;){if(-1===i.$&&1===i.a){if(-1===i.d.$){if(1===i.d.a)return Jt(r);break n}return Jt(r)}break n}return r}return s(qt,t,a.b,a.c,a.d,s(qt,0,e,u,a.e,i))}),It=function(n){if(-1===n.$&&-1===n.d.$){var r=n.a,t=n.b,e=n.c,u=n.d,a=u.d,i=n.e;if(1===u.a){if(-1!==a.$||a.a){var o=Mt(n);if(-1===o.$){var f=o.e;return s(Bt,o.a,o.b,o.c,It(o.d),f)}return xt}return s(qt,r,t,e,It(u),i)}return s(qt,r,t,e,It(u),i)}return xt},Xt=t(function(n,r){if(-2===r.$)return xt;var t=r.a,e=r.b,u=r.c,a=r.d,i=r.e;if(0>k(n,e)){if(-1===a.$&&1===a.a){var o=a.d;if(-1!==o.$||o.a){var c=Mt(r);if(-1===c.$){var v=c.e;return s(Bt,c.a,c.b,c.c,f(Xt,n,c.d),v)}return xt}return s(qt,t,e,u,f(Xt,n,a),i)}return s(qt,t,e,u,f(Xt,n,a),i)}return f(Ht,n,d(Pt,n,r,t,e,u,a,i))}),Ht=t(function(n,r){if(-1===r.$){var t=r.a,e=r.b,u=r.c,a=r.d,i=r.e;if(w(n,e)){var o=function(n){for(;;){if(-1!==n.$||-1!==n.d.$)return n;n=n.d}}(i);return-1===o.$?s(Bt,t,o.b,o.c,a,It(i)):xt}return s(Bt,t,e,u,a,f(Xt,n,i))}return xt}),Ut=t(function(n,r){var t=f(Xt,n,r);return-1!==t.$||t.a?t:s(qt,1,t.b,t.c,t.d,t.e)}),Vt=e(function(n,r,t){var e=r(f(zt,n,t));return e.$?f(Ut,n,t):c(Ft,n,e.a,t)}),Zt=function(n){return!n.$},Gt=t(function(n,r){return r.$?Ur(r.a):Vr(n(r.a))}),Yt=t(function(n,r){return{$:4,a:n,b:r}}),Kt=function(n){return{$:3,a:n}},Wt=function(n){return{$:0,a:n}},Qt={$:2},ne={$:1},re=function(n){return 1===n.$},te=K,ee=function(n){return{$:0,b:"text",a:function(r){var t=f(te,n,r.bm);return 1===t.$?Ur(ht(t.a)):Vr(t.a)}}},ue=function(n){return n},ae=ue,ie=t(function(n,r){return ae({bm:Rt,ag:ee(r),X:h,an:"GET",az:kr,b1:n,aB:!1})}),oe=e(function(n,r,t){return n(r(t))}),fe=dn,ce=vn,ve=ce(0),se=t(function(n,r){return c(_t,t(function(r,t){return f(mr,n(r),t)}),h,r)}),be=t(function(n,r){return f(fe,function(r){return ce(n(r))},r)}),de=e(function(n,r,t){return f(fe,function(r){return f(fe,function(t){return ce(f(n,r,t))},t)},r)}),le=En,$e=t(function(n,r){var t=r;return function(n){return bn(function(r){r(vn(hn(n)))})}(f(fe,le(n),t))});An.Task={b:ve,c:e(function(n,r){return f(be,function(){return 0},(t=f(se,$e(n),r),c(_t,de(mr),ce(h),t)));var t}),d:e(function(){return ce(0)}),e:t(function(n,r){return f(be,n,r)}),f:void 0};var he,pe,ge=(pe="Task",function(n){return{$:1,k:pe,l:n}}),me=ln,_e=t(function(n,r){return ge(f(me,f(oe,f(oe,ce,n),Ur),f(fe,f(oe,f(oe,ce,n),Vr),r)))}),ye=t(function(n,r){return f(_e,n,f(yn,r,kr))}),we=function(n){return{$:0,a:n}},Ae=e(function(n,r,t){return f(gt,f(yt,n,r),t)}),ke=Z,je=W,Ee=function(n){return{$:5,c:n}},Ne=function(n){return{$:11,g:n}},Ce=e(function(n,r,t){return f(ke,function(e){var u=f(je,n,e);if(u.$)return Nt(t);var a=u.a,i=f(je,Ne(m([r,Ee(t)])),a);return i.$?{$:1,a:ht(i.a)}:Nt(i.a)},Ct)}),Te=u(function(n,r,t,e){return f(gt,c(Ce,f(yt,n,Ct),r,t),e)}),Oe=u(function(n,r,t,e){return{ah:t,ak:e,ap:n,ar:r}}),Re=function(n){return Ne(m([f(jt,Ar,n),Nt(kr)]))},xe=v(Te,"last",Re(Et),kr,v(Te,"first",Re(Et),kr,v(Te,"prev",Re(Et),kr,v(Te,"next",Re(Et),kr,Nt(Oe))))),Le=function(n){return{$:3,b:n}},Se=c(Ae,"links",xe,c(Ae,"data",Le(Tt),Nt(lr))),ze=function(n){return f(ye,we,f(ie,n,Se))},qe=a(function(n,r,t,e,u){return{w:e,y:t,u:r,z:u,A:n}}),Be=t(function(n,r){return s(qe,r.A,r.u,r.y,r.w,n(r.z))}),De=t(function(n,r){var t=r;return function(r){var e=r.A,u=r.u,a=r.y,i=r.w;return f(se,Be(r.z),t(s(qe,e,u,a,i,n)))}}),Fe=t(function(n,r){return r.b?c(_t,mr,r,n):n}),Me=t(function(n,r){return c(_t,Fe,h,f(se,n,r))}),Je=function(n){return function(r){var t=r.A,e=r.u,u=r.y,a=r.w,i=r.z;if(e.b){var o=e.a,c=e.b;return w(o,n)?m([s(qe,f(mr,o,t),c,u,a,i)]):h}return h}},Pe=t(function(n,r){var t=n,e=r;return function(n){return f(Me,e,t(n))}}),Ie=f(t(function(n,r){return function(n){var t=n.A,e=n.u,u=n.y,a=n.w,i=n.z;if(e.b){var o=e.a,c=e.b,v=r(o);if(v.$)return h;var b=v.a;return m([s(qe,f(mr,o,t),c,u,a,i(b))])}return h}}),"STRING",Ar),Xe=function(n){return m([n])},He=(he=m([f(De,$r("all"),Xe),f(De,$r,f(Pe,Je("streams"),Ie)),f(De,hr,f(Pe,Je("events"),Ie))]),function(n){return f(Me,function(r){return r(n)},he)}),Ue=t(function(n,r){return r.$?n:r.a}),Ve=Nn(h),Ze=function(n){try{return Ar(decodeURIComponent(n))}catch(n){return kr}},Ge=function(n){return n.b&&(""!==n.a||n.b.b)?f(mr,n.a,Ge(n.b)):h},Ye=t(function(n,r){return Ar(1===r.$?m([n]):f(mr,n,r.a))}),Ke=t(function(n,r){var t=f(bt,"=",n);if(t.b&&t.b.b&&!t.b.b.b){var e=t.b.a,u=Ze(t.a);if(1===u.$)return r;var a=u.a,i=Ze(e);return 1===i.$?r:c(Vt,a,Ye(i.a),r)}return r}),We=t(function(n,r){var t;return function(n){n:for(;;){if(n.b){var r=n.a,t=r.u;if(t.b){if(""!==t.a||t.b.b){n=n.b;continue n}return Ar(r.z)}return Ar(r.z)}return kr}}(n(s(qe,h,function(){var n=f(bt,"/",r.bR);return Ge(n.b&&""===n.a?n.b:n)}(),1===(t=r.a4).$?Lt:c(_t,Ke,Lt,f(bt,"&",t.a)),r.aP,ue)))}),Qe=t(function(n,r){var t,e=f(We,He,C(t=r,{aP:kr,bR:f(Ue,"",t.aP)}));if(e.$)return E(C(n,{q:dr}),Ve);switch(e.a.$){case 0:var u=Ze(e.a.a);if(u.$)return E(C(n,{q:dr}),Ve);var a=u.a;return E(C(n,{q:$r(a)}),ze(f(jr,n.v.aw,a)));case 1:var i=Ze(e.a.a);if(i.$)return E(C(n,{q:dr}),Ve);var o=i.a;return E(C(n,{q:hr(o)}),f(ye,Er,f(ie,f(jr,n.v.af,o),Ot)));default:return E(C(n,{q:e.a}),Ve)}}),nu=e(function(n,r,t){return f(Qe,{C:kr,D:f(lr,h,{ah:kr,ak:kr,ap:kr,ar:kr}),v:n,aj:t,q:dr},r)}),ru=Nn(h),tu=Lt,eu=t(function(n,r){return c(Ft,n,0,r)}),uu=c(zr,eu,tu,h),au=t(function(n,r){return E(C(r,n.$?{Z:n.a}:{V:n.a}),Ve)}),iu=function(n){for(;;)n=n},ou=t(function(n,r){return ge(f(be,n,r))}),fu=function(n){switch(n.$){case 0:return 0;case 1:return 1;case 2:return 2;default:return 3}},cu=z,vu=t(function(n,r){return 1>n?r:c(cu,n,r.length,r)}),su=D,bu=F,du=function(n){return""===n},lu=t(function(n,r){return 1>n?"":c(cu,0,n,r)}),$u=B,hu=i(function(n,r,t,e,u,a){return{aP:a,aS:r,bR:e,a0:t,a3:n,a4:u}}),pu=a(function(n,r,t,e,u){if(du(u)||f($u,"@",u))return kr;var a=f(bu,":",u);if(a.b){if(a.b.b)return kr;var i=a.a,o=function(n){for(var r=0,t=n.charCodeAt(0),e=43==t||45==t?1:0,u=e;n.length>u;++u){var a=n.charCodeAt(u);if(48>a||a>57)return kr;r=10*r+a-48}return u==e?kr:Ar(45==t?-r:r)}(f(vu,i+1,u));if(1===o.$)return kr;var c=o;return Ar(b(hu,n,f(lu,i,u),c,r,t,e))}return Ar(b(hu,n,u,kr,r,t,e))}),gu=u(function(n,r,t,e){if(du(e))return kr;var u=f(bu,"/",e);if(u.b){var a=u.a;return s(pu,n,f(vu,a,e),r,t,f(lu,a,e))}return s(pu,n,"/",r,t,e)}),mu=e(function(n,r,t){if(du(t))return kr;var e=f(bu,"?",t);if(e.b){var u=e.a;return v(gu,n,Ar(f(vu,u+1,t)),r,f(lu,u,t))}return v(gu,n,kr,r,t)}),_u=t(function(n,r){if(du(r))return kr;var t=f(bu,"#",r);if(t.b){var e=t.a;return c(mu,n,Ar(f(vu,e+1,r)),f(lu,e,r))}return c(mu,n,kr,r)}),yu=function(n){return f(su,"http://",n)?f(_u,0,f(vu,7,n)):f(su,"https://",n)?f(_u,1,f(vu,8,n)):kr},wu=sr,Au=t(function(n,r){return 1===n.$?r:r+":"+vt(n.a)}),ku=e(function(n,r,t){return 1===r.$?t:T(t,T(n,r.a))}),ju=t(function(n,r){switch(n.$){case 0:return E(n.a.$?r:C(r,{D:n.a.a}),Ve);case 1:return E(n.a.$?r:C(r,{C:Ar((u=n.a.a,{V:uu,C:u,Z:uu}))}),Ve);case 2:return f(Qe,r,n.a);case 3:var t=n.a;return E(r,t.$?function(n){return f(ou,iu,bn(function(){try{br.location=n}catch(n){On.location.reload(!1)}}))}(t.a):f(wu,r.aj,function(n){return c(ku,"#",n.aP,c(ku,"?",n.a4,T(f(Au,n.a0,T(n.a3?"https://":"http://",n.aS)),n.bR)))}(t.a)));case 4:return E(r,ze(n.a));default:var e=r.C;return E(e.$?r:C(r,{C:Ar(f(au,n.a,e.a).a)}),Ve)}var u}),Eu=function(n){return{$:4,a:n}},Nu=Ln("button"),Cu=xn,Tu=fn,Ou=t(function(n,r){return f(Dn,n,Tu(r))}),Ru=Ou("className"),xu=function(n){return f(Ou,"href",/^javascript:/i.test((r=n).replace(/\s/g,""))?"":r);var r},Lu=qn,Su=t(function(n,r){return f(Lu,n,{$:0,a:r})}),zu=function(n){return f(Su,"click",Nt(n))},qu=function(n){return f(Nu,m([xu(n),zu(Eu(n)),Ru("pagination__page pagination__page--first")]),m([Cu("first")]))},Bu=function(n){return f(Nu,m([xu(n),zu(Eu(n)),Ru("pagination__page pagination__page--last")]),m([Cu("last")]))},Du=function(n){return f(Nu,m([xu(n),zu(Eu(n)),Ru("pagination__page pagination__page--next")]),m([Cu("next")]))},Fu=Ln("li"),Mu=t(function(n,r){return f(Fu,h,r.$?h:m([n(r.a)]))}),Ju=function(n){return f(Nu,m([xu(n),zu(Eu(n)),Ru("pagination__page pagination__page--prev")]),m([Cu("previous")]))},Pu=Ln("ul"),Iu=function(n){var r=n.ah,t=n.ak,e=n.ap,u=n.ar;return f(Pu,m([Ru("pagination")]),m([f(Mu,qu,r),f(Mu,Bu,t),f(Mu,Du,e),f(Mu,Ju,u)]))},Xu=Ln("a"),Hu=Ln("td"),Uu=Ln("tr"),Vu=function(n){var r=n.aN,t=n.aI,e=n.aM;return f(Uu,h,m([f(Hu,h,m([f(Xu,m([Ru("results__link"),xu(f(jr,"#events",e))]),m([Cu(r)]))])),f(Hu,h,m([Cu(e)])),f(Hu,m([Ru("u-align-right")]),m([Cu(t)]))]))},Zu=Ln("p"),Gu=Ln("table"),Yu=Ln("tbody"),Ku=Ln("th"),Wu=Ln("thead"),Qu=function(n){return n.b?f(Gu,h,m([f(Wu,h,m([f(Uu,h,m([f(Ku,h,m([Cu("Event name")])),f(Ku,h,m([Cu("Event id")])),f(Ku,m([Ru("u-align-right")]),m([Cu("Created at")]))]))])),f(Yu,h,f(se,Vu,n))])):f(Zu,m([Ru("results__empty")]),m([Cu("No items")]))},na=Ln("div"),ra=Ln("h1"),ta=t(function(n,r){var t=r.aV,e=r.D;return f(na,m([Ru("browser")]),m([f(ra,m([Ru("browser__title")]),m([Cu(n)])),f(na,m([Ru("browser__pagination")]),m([Iu(t)])),f(na,m([Ru("browser__results")]),m([Qu(e)]))]))}),ea=function(n){return{$:4,a:n}},ua=function(n){return{$:3,a:n}},aa=t(function(n,r){if(-2===r.$)return xt;var t=r.b,e=r.d,u=r.e;return s(qt,r.a,t,f(n,t,r.c),f(aa,n,e),f(aa,n,u))}),ia=t(function(n,r){var e=t(function(r,t){return f(ia,n+"["+vt(r)+"]",t)}),u=t(function(r,t){return f(ia,n+"."+r,t)}),a=r.z;switch(a.$){case 0:case 1:case 2:case 5:return C(r,{i:n});case 3:return C(r,{i:n,z:ua(f(ft,e,a.a))});default:return C(r,{i:n,z:ea(f(aa,u,a.a))})}}),oa=function(n){return{$:2,a:n}},fa=function(n){return{$:1,a:n}},ca={$:5},va=function(n){return{$:0,a:n}},sa=P,ba=function(n){return c(zr,t(function(n,r){return c(Ft,n.a,n.b,r)}),Lt,n)},da=function(n){return f(jt,ba,function(n){return{$:8,b:n}}(n))},la=I,$a=function(n){return f(ke,n,Nt(0))};function ha(){var n=function(n){return{i:"",z:n}};return Ne(m([f(jt,f(oe,n,va),Et),f(jt,f(oe,n,fa),la),f(jt,f(oe,n,oa),sa),f(jt,f(oe,n,ua),Le($a(function(){return ha()}))),f(jt,f(oe,n,ea),da($a(function(){return ha()}))),Ee(n(ca))]))}var pa=ha();ha=function(){return pa};var ga,ma,_a,ya,wa,Aa=function(n){var r=f(jt,ia(""),pa);return f(je,r,n)},ka=t(function(n,r){return r.$?Ur(r.a):n(r.a)}),ja={aE:m([E("color","firebrick")]),aH:m([E("position","absolute"),E("cursor","pointer"),E("top","1px"),E("left","-15px")]),aO:m([E("font-weight","bold")]),al:m([E("position","relative")]),aY:m([E("color","gray")]),aZ:m([E("color","blue")]),a7:m([E("font-family","monospace"),E("white-space","pre")]),bb:m([E("background-color","#fafad2"),E("cursor","pointer")]),bd:m([E("color","green")]),aA:m([E("list-style-type","none"),E("margin-left","26px"),E("padding-left","0px")])},Ea=c(function(n){return Ln(function(n){return"script"==n?"p":n}(n))},"style",h,m([Cu(".selectableJsonTreeNode:hover {\n"+f(st,"\n",f(se,function(n){return n.a+": "+n.b+";"},ja.bb))+"\n}\n")])),Na=Bn,Ca=function(n){return f(se,function(n){return f(Na,n.a,n.b)},n)},Ta=t(function(n,r){return!f(zt,n,r).$}),Oa=t(function(n,r){return f(Ta,n,r)}),Ra=t(function(n,r){return f(Oa,n,r)}),xa=t(function(n,r){return f(eu,n,r)}),La=e(function(n,r,t){return r(n(t))}),Sa=t(function(n,r){return f(Su,"click",f(jt,f(La,function(n){return n(0)},r),Nt(n)))}),za=Ln("span"),qa=u(function(n,r,t,e){return n?f(za,f(mr,f(Sa,t,r.b$),Ca(ja.aH)),m([Cu(e)])):Cu("")}),Ba=u(function(n,r,t,e){return v(qa,n,t,function(){return f(xa,r,e)},"-")}),Da=t(function(n,r){return f(Ut,n,r)}),Fa=t(function(n,r){return f(Da,n,r)}),Ma=u(function(n,r,t,e){return v(qa,n,t,function(){return f(Fa,r,e)},"+")}),Ja=Ou("id"),Pa=u(function(n,r,t,e){return u=f(za,T(m([Ja(t.i)]),T(Ca(n),(a=e.bM).$?h:m([zu((0,a.a)(t.i)),Ru("selectableJsonTreeNode")]))),m([Cu(r)])),m([u]);var u,a}),Ia=M,Xa=a(function(n,r,t,e,u){var a=function(r){return f(Fu,Ca(ja.al),f(Fe,v(Ua,n+1,e,r,u),m([Cu(",")])))},i=r.b?m(f(Ra,t,u)?[v(Ma,n,t,e,u),Cu("…")]:[v(Ba,n,t,e,u),f(Pu,Ca(ja.aA),f(se,a,r))]):h;return T(m([Cu("[")]),T(i,m([Cu("]")])))}),Ha=a(function(n,r,t,e,u){var a=function(r){var t=r.a,a=r.b;return f(Fu,Ca(ja.al),T(m([f(za,Ca(ja.aO),m([Cu(t)])),Cu(": ")]),T(v(Ua,n+1,e,a,u),m([Cu(",")]))))},i=function(n){return-2===n.$}(r)?h:m(f(Ra,t,u)?[v(Ma,n,t,e,u),Cu("…")]:[v(Ba,n,t,e,u),f(Pu,Ca(ja.aA),f(se,a,wr(r)))]);return T(m([Cu("{")]),T(i,m([Cu("}")])))}),Ua=u(function(n,r,t,e){var u=t.z;switch(u.$){case 0:return v(Pa,ja.bd,'"'+u.a+'"',t,r);case 1:return v(Pa,ja.aZ,Ia(u.a),t,r);case 2:return v(Pa,ja.aE,u.a?"true":"false",t,r);case 5:return v(Pa,ja.aY,"null",t,r);case 3:return s(Xa,n,u.a,t.i,r,e);default:return s(Ha,n,u.a,t.i,r,e)}}),Va=e(function(n,r,t){return f(na,Ca(ja.a7),f(mr,Ea,v(Ua,0,r,n,t)))}),Za=t(function(n,r){return r.$?n:r.a}),Ga=Ln("pre"),Ya=e(function(n,r,t){return f(Za,f(Ga,h,m([Cu(n)])),f(Gt,function(n){return c(Va,n,{bM:kr,b$:t},r)},f(ka,Aa,f(te,Ct,n))))}),Ka=zn,Wa=function(n){var r=n.q;switch(r.$){case 0:return f(ta,"Events in "+r.a,n.D);case 1:return function(n){return n.$?f(na,m([Ru("event")]),h):f(Ka,function(n){return{$:5,a:n}},(r=n.a,f(na,m([Ru("event")]),m([f(ra,m([Ru("event__title")]),m([Cu(r.C.aN)])),f(na,m([Ru("event__body")]),m([f(Gu,h,m([f(Wu,h,m([f(Uu,h,m([f(Ku,h,m([Cu("Event id")])),f(Ku,h,m([Cu("Raw Data")])),f(Ku,h,m([Cu("Raw Metadata")]))]))])),f(Yu,h,m([f(Uu,h,m([f(Hu,h,m([Cu(r.C.aM)])),f(Hu,h,m([c(Ya,r.C.bS,r.V,function(n){return{$:0,a:n}})])),f(Hu,h,m([c(Ya,r.C.bT,r.Z,function(n){return{$:1,a:n}})]))]))]))]))]))]))));var r}(n.C);default:return f(ra,h,m([Cu("404")]))}},Qa=Ln("footer"),ni=function(n){return f(Qa,m([Ru("footer")]),m([f(na,m([Ru("footer__links")]),m([Cu("RubyEventStore v"+n.v.at),f(Xu,m([xu("https://railseventstore.org/docs/install/"),Ru("footer__link")]),m([Cu("Documentation")])),f(Xu,m([xu("https://railseventstore.org/support/"),Ru("footer__link")]),m([Cu("Support")]))]))]))},ri=Ln("nav"),ti=function(n){return f(ri,m([Ru("navigation")]),m([f(na,m([Ru("navigation__brand")]),m([f(Xu,m([xu(n.v.aa),Ru("navigation__logo")]),m([Cu("Ruby Event Store")]))])),f(na,m([Ru("navigation__links")]),m([f(Xu,m([xu(n.v.aa),Ru("navigation__link")]),m([Cu("Stream Browser")]))]))]))},ei=Ln("header"),ui=Ln("main");ga={Main:{init:(_a=(ma={bB:nu,bN:function(n){return{$:2,a:n}},bO:function(n){return{$:3,a:n}},bX:function(){return ru},b0:ju,b2:function(n){var r=f(na,m([Ru("frame")]),m([f(ei,m([Ru("frame__header")]),m([ti(n)])),f(ui,m([Ru("frame__body")]),m([Wa(n)])),f(Qa,m([Ru("frame__footer")]),m([ni(n)]))]));return{bm:m([r]),b_:"RubyEventStore::Browser"}}}).bN,ya=ma.bO,wa=function(){wa.a(_a(vr()))},fr({O:function(n){return wa.a=n,br.addEventListener("popstate",wa),0>br.navigator.userAgent.indexOf("Trident")||br.addEventListener("hashchange",wa),t(function(r,t){if(!(t.ctrlKey||t.metaKey||t.shiftKey||t.button>=1||r.target||r.hasAttribute("download"))){t.preventDefault();var e=r.href,u=vr(),a=yu(e).a;n(ya(a&&u.a3===a.a3&&u.aS===a.aS&&u.a0.a===a.a0.a?{$:0,a:a}:function(n){return{$:1,a:n}}(e)))}})},bB:function(n){return c(ma.bB,n,vr(),wa)},b2:ma.b2,b0:ma.b0,bX:ma.bX}))(f(ke,function(n){return f(ke,function(r){return f(ke,function(t){return f(ke,function(e){return Nt({af:e,at:t,aa:r,aw:n})},f(yt,"eventsUrl",Et))},f(yt,"resVersion",Et))},f(yt,"rootUrl",Et))},f(yt,"streamsUrl",Et)))(0)}},n.Elm?function n(r,t){for(var e in t)e in r?"init"==e?y(6):n(r[e],t[e]):r[e]=t[e]}(n.Elm,ga):n.Elm=ga}(this);
|
5
|
+
},{}],"Focm":[function(require,module,exports) {
|
6
|
+
require("./style/style.scss"),window.RubyEventStore={},window.RubyEventStore.Browser=require("./Main.elm");
|
7
|
+
},{"./style/style.scss":"4A+K","./Main.elm":"8asW"}]},{},["Focm"], null)
|
8
|
+
//# sourceMappingURL=/ruby_event_store_browser.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["index.js"],"names":["require","window","RubyEventStore","Browser"],"mappings":";;;;;AAAAA,QAAQ,sBAERC,OAAOC,eAAiB,GACxBD,OAAOC,eAAeC,QAAUH,QAAQ","file":"ruby_event_store_browser.map","sourceRoot":"../elm/src","sourcesContent":["require(\"./style/style.scss\");\n\nwindow.RubyEventStore = {};\nwindow.RubyEventStore.Browser = require(\"./Main.elm\");"]}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_event_store-browser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.37.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arkency
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ruby_event_store
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.37.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.37.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: sinatra
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -45,7 +45,6 @@ executables: []
|
|
45
45
|
extensions: []
|
46
46
|
extra_rdoc_files: []
|
47
47
|
files:
|
48
|
-
- MIT-LICENSE
|
49
48
|
- README.md
|
50
49
|
- lib/ruby_event_store/browser.rb
|
51
50
|
- lib/ruby_event_store/browser/app.rb
|
@@ -53,7 +52,9 @@ files:
|
|
53
52
|
- lib/ruby_event_store/browser/json_api_event.rb
|
54
53
|
- lib/ruby_event_store/browser/stream.rb
|
55
54
|
- lib/ruby_event_store/browser/version.rb
|
55
|
+
- public/ruby_event_store_browser.css
|
56
56
|
- public/ruby_event_store_browser.js
|
57
|
+
- public/ruby_event_store_browser.map
|
57
58
|
homepage: https://railseventstore.org
|
58
59
|
licenses:
|
59
60
|
- MIT
|
@@ -77,7 +78,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
77
78
|
- !ruby/object:Gem::Version
|
78
79
|
version: '0'
|
79
80
|
requirements: []
|
80
|
-
|
81
|
+
rubyforge_project:
|
82
|
+
rubygems_version: 2.7.6
|
81
83
|
signing_key:
|
82
84
|
specification_version: 4
|
83
85
|
summary: Web interface for RubyEventStore
|
data/MIT-LICENSE
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
Copyright 2017-2018 Arkency
|
2
|
-
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
-
a copy of this software and associated documentation files (the
|
5
|
-
"Software"), to deal in the Software without restriction, including
|
6
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
-
permit persons to whom the Software is furnished to do so, subject to
|
9
|
-
the following conditions:
|
10
|
-
|
11
|
-
The above copyright notice and this permission notice shall be
|
12
|
-
included in all copies or substantial portions of the Software.
|
13
|
-
|
14
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|