ruby_event_store-browser 2.2.0 → 2.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ea08c29ab8816eb9104607256504c8e8b92b48c4e4002422206e7f55ff409b1c
4
- data.tar.gz: 60c9f99a88eb13ed4f0e50b60ff4c34bc77408d4b3dfb4d352087f472a9cf1ba
3
+ metadata.gz: e1b2fb0584825ed9e867c13be2a6d52caf923a10d453d56b6199f6cda1c3f443
4
+ data.tar.gz: 7cd649e13d3c4b9789fd69cc6e6028e7981306414966e2364646197ad2f97300
5
5
  SHA512:
6
- metadata.gz: 3e9a51e51ae20b2e5cc3d2b49fea49fe3c46378e6f0a88d7ee71ae7e7a8e584334ca3243cee0923444cb8edf2547376b59f367fb3f488a308df8d86e0a294568
7
- data.tar.gz: d6d4df531df8184418a11d1942a5119062d3a6ed67f0ec42ac54cd78b59591067e77fef9c56df22e7a5bcec9372424ce97ca2fbe3b192b1a8d13cd36f02d8052
6
+ metadata.gz: 554da2f68dccf400aa11b686752495b8cb6d5c1e668bd0dd314d5564514342845bebcf0ae7f2ffec95fc9cc3394f94915d04da21549f96c2a53082fde84a5760
7
+ data.tar.gz: d3ecf779cf8edd74f8a33f317c25c35577a5123d0f65163363d9010f42fd0dd2ac78a8fbe13aa3200a34b613ed95b2e7571a8ac8ed783bca9fbe539b17286925
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative '../browser'
4
- require 'sinatra/base'
3
+ require_relative "../browser"
4
+ require "sinatra/base"
5
5
 
6
6
  module RubyEventStore
7
7
  module Browser
@@ -28,10 +28,10 @@ module RubyEventStore
28
28
  set :related_streams_query, nil
29
29
  set :protection, except: :path_traversal
30
30
 
31
- mime_type :json, 'application/vnd.api+json'
31
+ mime_type :json, "application/vnd.api+json"
32
32
  end
33
33
 
34
- get '/api/events/:id' do
34
+ get "/api/events/:id" do
35
35
  begin
36
36
  json Event.new(
37
37
  event_store: settings.event_store_locator,
@@ -42,7 +42,7 @@ module RubyEventStore
42
42
  end
43
43
  end
44
44
 
45
- get '/api/streams/:id' do
45
+ get "/api/streams/:id" do
46
46
  json GetStream.new(
47
47
  stream_name: params[:id],
48
48
  routing: routing,
@@ -50,7 +50,7 @@ module RubyEventStore
50
50
  )
51
51
  end
52
52
 
53
- get '/api/streams/:id/relationships/events' do
53
+ get "/api/streams/:id/relationships/events" do
54
54
  json GetEventsFromStream.new(
55
55
  event_store: settings.event_store_locator,
56
56
  params: symbolized_params,
@@ -89,7 +89,7 @@ module RubyEventStore
89
89
 
90
90
  def direction
91
91
  case pagination_param[:direction]
92
- when 'forward'
92
+ when "forward"
93
93
  :forward
94
94
  else
95
95
  :backward
@@ -98,7 +98,7 @@ module RubyEventStore
98
98
 
99
99
  def position
100
100
  case pagination_param[:position]
101
- when 'head', nil
101
+ when "head", nil
102
102
  HEAD
103
103
  else
104
104
  pagination_param.fetch(:position)
@@ -89,7 +89,7 @@ module RubyEventStore
89
89
 
90
90
  def direction
91
91
  case params[:direction]
92
- when 'forward'
92
+ when "forward"
93
93
  :forward
94
94
  else
95
95
  :backward
@@ -98,7 +98,7 @@ module RubyEventStore
98
98
 
99
99
  def position
100
100
  case params[:position]
101
- when 'head', nil
101
+ when "head", nil
102
102
  HEAD
103
103
  else
104
104
  params.fetch(:position)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RubyEventStore
4
4
  module Browser
5
- VERSION = "2.2.0"
5
+ VERSION = "2.3.0"
6
6
  end
7
7
  end
@@ -3,13 +3,13 @@
3
3
  module RubyEventStore
4
4
  module Browser
5
5
  PAGE_SIZE = 20
6
- SERIALIZED_GLOBAL_STREAM_NAME = 'all'.freeze
6
+ SERIALIZED_GLOBAL_STREAM_NAME = "all".freeze
7
7
  DEFAULT_RELATED_STREAMS_QUERY = ->(stream_name) { [] }
8
8
  end
9
9
  end
10
10
 
11
- require_relative 'browser/event'
12
- require_relative 'browser/json_api_event'
13
- require_relative 'browser/get_events_from_stream'
14
- require_relative 'browser/get_stream'
15
- require_relative 'browser/routing'
11
+ require_relative "browser/event"
12
+ require_relative "browser/json_api_event"
13
+ require_relative "browser/get_events_from_stream"
14
+ require_relative "browser/get_stream"
15
+ require_relative "browser/routing"
@@ -1,5 +1,5 @@
1
- /*! tailwindcss v2.0.3 | MIT License | https://tailwindcss.com*/
1
+ /*! tailwindcss v2.1.2 | MIT License | https://tailwindcss.com*/
2
2
 
3
- /*! modern-normalize v1.0.0 | MIT License | https://github.com/sindresorhus/modern-normalize */:root{-moz-tab-size:4;-o-tab-size:4;tab-size:4}html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji}hr{height:0;color:inherit}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}[type=button],button{-webkit-appearance:button}legend{padding:0}progress{vertical-align:baseline}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}button{background-color:transparent;background-image:none}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}fieldset,ol,ul{margin:0;padding:0}ol,ul{list-style:none}html{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5}body{font-family:inherit;line-height:inherit}*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}hr{border-top-width:1px}img{border-style:solid}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input:-ms-input-placeholder,textarea:-ms-input-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button{cursor:pointer}table{border-collapse:collapse}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}button,input,optgroup,select,textarea{padding:0;line-height:inherit;color:inherit}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}.bg-white{--tw-bg-opacity:1;background-color:rgba(255,255,255,var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgba(243,244,246,var(--tw-bg-opacity))}.bg-red-700{--tw-bg-opacity:1;background-color:rgba(185,28,28,var(--tw-bg-opacity))}.border-collapse{border-collapse:collapse}.border-gray-400{--tw-border-opacity:1;border-color:rgba(156,163,175,var(--tw-border-opacity))}.border-red-700{--tw-border-opacity:1;border-color:rgba(185,28,28,var(--tw-border-opacity))}.rounded{border-radius:.25rem}.border{border-width:1px}.border-t{border-top-width:1px}.border-b{border-bottom-width:1px}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.inline-block{display:inline-block}.flex{display:flex}.table{display:table}.items-center{align-items:center}.justify-center{justify-content:center}.flex-1{flex:1 1 0%}.font-sans{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.font-semibold{font-weight:600}.font-bold{font-weight:700}.h-16{height:4rem}.text-xs{font-size:.75rem;line-height:1rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-2xl{font-size:1.5rem;line-height:2rem}.leading-tight{line-height:1.25}.leading-relaxed{line-height:1.625}.list-disc{list-style-type:disc}.my-10{margin-top:2.5rem;margin-bottom:2.5rem}.mr-1{margin-right:.25rem}.ml-4{margin-left:1rem}.mt-8{margin-top:2rem}.min-h-screen{min-height:100vh}.disabled\:opacity-50:disabled{opacity:.5}.p-0{padding:0}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.px-4{padding-left:1rem;padding-right:1rem}.py-8{padding-top:2rem;padding-bottom:2rem}.px-8{padding-left:2rem;padding-right:2rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-24{padding-top:6rem;padding-bottom:6rem}.pt-2{padding-top:.5rem}.pb-4{padding-bottom:1rem}.pl-8{padding-left:2rem}.absolute{position:absolute}*{--tw-shadow:0 0 transparent;--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,0.5);--tw-ring-offset-shadow:0 0 transparent;--tw-ring-shadow:0 0 transparent}.table-fixed{table-layout:fixed}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-gray-100{--tw-text-opacity:1;color:rgba(243,244,246,var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity:1;color:rgba(156,163,175,var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity:1;color:rgba(107,114,128,var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity:1;color:rgba(31,41,55,var(--tw-text-opacity))}.text-red-700{--tw-text-opacity:1;color:rgba(185,28,28,var(--tw-text-opacity))}.uppercase{text-transform:uppercase}.no-underline{text-decoration:none}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.align-top{vertical-align:top}.align-bottom{vertical-align:bottom}.w-full{width:100%}.transform{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;transform:translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@-webkit-keyframes spin{to{transform:rotate(1turn)}}@keyframes spin{to{transform:rotate(1turn)}}@-webkit-keyframes ping{75%,to{transform:scale(2);opacity:0}}@keyframes ping{75%,to{transform:scale(2);opacity:0}}@-webkit-keyframes pulse{50%{opacity:.5}}@keyframes pulse{50%{opacity:.5}}@-webkit-keyframes bounce{0%,to{transform:translateY(-25%);-webkit-animation-timing-function:cubic-bezier(.8,0,1,1);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;-webkit-animation-timing-function:cubic-bezier(0,0,.2,1);animation-timing-function:cubic-bezier(0,0,.2,1)}}@keyframes bounce{0%,to{transform:translateY(-25%);-webkit-animation-timing-function:cubic-bezier(.8,0,1,1);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;-webkit-animation-timing-function:cubic-bezier(0,0,.2,1);animation-timing-function:cubic-bezier(0,0,.2,1)}}.lds-dual-ring{display:inline-block;width:80px;height:80px}.lds-dual-ring:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border-color:#fdd transparent;border-style:solid;border-width:6px;-webkit-animation:lds-dual-ring 1.2s linear infinite;animation:lds-dual-ring 1.2s linear infinite}@-webkit-keyframes lds-dual-ring{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}
3
+ /*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */html{-moz-tab-size:4;-o-tab-size:4;tab-size:4;line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji}hr{height:0;color:inherit}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}[type=button],button{-webkit-appearance:button}legend{padding:0}progress{vertical-align:baseline}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}button{background-color:transparent;background-image:none}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}fieldset,ol,ul{margin:0;padding:0}ol,ul{list-style:none}html{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5}body{font-family:inherit;line-height:inherit}*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}hr{border-top-width:1px}img{border-style:solid}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input:-ms-input-placeholder,textarea:-ms-input-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button{cursor:pointer}table{border-collapse:collapse}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}button,input,optgroup,select,textarea{padding:0;line-height:inherit;color:inherit}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}.bg-white{--tw-bg-opacity:1;background-color:rgba(255,255,255,var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgba(243,244,246,var(--tw-bg-opacity))}.bg-red-700{--tw-bg-opacity:1;background-color:rgba(185,28,28,var(--tw-bg-opacity))}.border-collapse{border-collapse:collapse}.border-gray-400{--tw-border-opacity:1;border-color:rgba(156,163,175,var(--tw-border-opacity))}.border-red-700{--tw-border-opacity:1;border-color:rgba(185,28,28,var(--tw-border-opacity))}.rounded{border-radius:.25rem}.border{border-width:1px}.border-t{border-top-width:1px}.border-b{border-bottom-width:1px}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.inline-block{display:inline-block}.flex{display:flex}.table{display:table}.items-center{align-items:center}.justify-center{justify-content:center}.flex-1{flex:1 1 0%}.font-sans{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.font-semibold{font-weight:600}.font-bold{font-weight:700}.h-16{height:4rem}.text-xs{font-size:.75rem;line-height:1rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-2xl{font-size:1.5rem;line-height:2rem}.leading-tight{line-height:1.25}.leading-relaxed{line-height:1.625}.list-disc{list-style-type:disc}.my-10{margin-top:2.5rem;margin-bottom:2.5rem}.mr-1{margin-right:.25rem}.ml-4{margin-left:1rem}.mt-8{margin-top:2rem}.min-h-screen{min-height:100vh}.disabled\:opacity-50:disabled{opacity:.5}.p-0{padding:0}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.px-4{padding-left:1rem;padding-right:1rem}.py-8{padding-top:2rem;padding-bottom:2rem}.px-8{padding-left:2rem;padding-right:2rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-24{padding-top:6rem;padding-bottom:6rem}.pt-2{padding-top:.5rem}.pb-4{padding-bottom:1rem}.pl-8{padding-left:2rem}.absolute{position:absolute}*{--tw-shadow:0 0 transparent;--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,0.5);--tw-ring-offset-shadow:0 0 transparent;--tw-ring-shadow:0 0 transparent}.table-fixed{table-layout:fixed}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-gray-100{--tw-text-opacity:1;color:rgba(243,244,246,var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity:1;color:rgba(156,163,175,var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity:1;color:rgba(107,114,128,var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity:1;color:rgba(31,41,55,var(--tw-text-opacity))}.text-red-700{--tw-text-opacity:1;color:rgba(185,28,28,var(--tw-text-opacity))}.uppercase{text-transform:uppercase}.no-underline{text-decoration:none}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.align-top{vertical-align:top}.align-bottom{vertical-align:bottom}.w-full{width:100%}.transform{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;transform:translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@-webkit-keyframes spin{to{transform:rotate(1turn)}}@keyframes spin{to{transform:rotate(1turn)}}@-webkit-keyframes ping{75%,to{transform:scale(2);opacity:0}}@keyframes ping{75%,to{transform:scale(2);opacity:0}}@-webkit-keyframes pulse{50%{opacity:.5}}@keyframes pulse{50%{opacity:.5}}@-webkit-keyframes bounce{0%,to{transform:translateY(-25%);-webkit-animation-timing-function:cubic-bezier(.8,0,1,1);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;-webkit-animation-timing-function:cubic-bezier(0,0,.2,1);animation-timing-function:cubic-bezier(0,0,.2,1)}}@keyframes bounce{0%,to{transform:translateY(-25%);-webkit-animation-timing-function:cubic-bezier(.8,0,1,1);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;-webkit-animation-timing-function:cubic-bezier(0,0,.2,1);animation-timing-function:cubic-bezier(0,0,.2,1)}}.filter{--tw-blur:var(--tw-empty,/*!*/ /*!*/);--tw-brightness:var(--tw-empty,/*!*/ /*!*/);--tw-contrast:var(--tw-empty,/*!*/ /*!*/);--tw-grayscale:var(--tw-empty,/*!*/ /*!*/);--tw-hue-rotate:var(--tw-empty,/*!*/ /*!*/);--tw-invert:var(--tw-empty,/*!*/ /*!*/);--tw-saturate:var(--tw-empty,/*!*/ /*!*/);--tw-sepia:var(--tw-empty,/*!*/ /*!*/);--tw-drop-shadow:var(--tw-empty,/*!*/ /*!*/);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.lds-dual-ring{display:inline-block;width:80px;height:80px}.lds-dual-ring:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border-color:#fdd transparent;border-style:solid;border-width:6px;-webkit-animation:lds-dual-ring 1.2s linear infinite;animation:lds-dual-ring 1.2s linear infinite}@-webkit-keyframes lds-dual-ring{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}
4
4
 
5
5
  /*# sourceMappingURL=ruby_event_store_browser.css.map */
@@ -1 +1 @@
1
- {"version":3,"sources":["style.css"],"names":[],"mappings":"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","file":"ruby_event_store_browser.css","sourceRoot":"../elm/src","sourcesContent":["@tailwind base;\n@tailwind components;\n@tailwind utilities;\n\n/*\n * CC0 license: https://loading.io/css/\n */\n\n .lds-dual-ring {\n display: inline-block;\n width: 80px;\n height: 80px;\n}\n\n.lds-dual-ring:after {\n content: \" \";\n display: block;\n width: 64px;\n height: 64px;\n margin: 8px;\n border-radius: 50%;\n border: 6px solid #fdd;\n border-color: #fdd transparent #fdd transparent;\n animation: lds-dual-ring 1.2s linear infinite;\n}\n\n@keyframes lds-dual-ring {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n"]}
1
+ {"version":3,"sources":["style.css"],"names":[],"mappings":"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","file":"ruby_event_store_browser.css","sourceRoot":"../elm/src","sourcesContent":["@tailwind base;\n@tailwind components;\n@tailwind utilities;\n\n/*\n * CC0 license: https://loading.io/css/\n */\n\n .lds-dual-ring {\n display: inline-block;\n width: 80px;\n height: 80px;\n}\n\n.lds-dual-ring:after {\n content: \" \";\n display: block;\n width: 64px;\n height: 64px;\n margin: 8px;\n border-radius: 50%;\n border: 6px solid #fdd;\n border-color: #fdd transparent #fdd transparent;\n animation: lds-dual-ring 1.2s linear infinite;\n}\n\n@keyframes lds-dual-ring {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n"]}
@@ -1,7 +1,7 @@
1
1
  parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;c<t.length;c++)try{f(t[c])}catch(e){i||(i=e)}if(t.length){var l=f(t[t.length-1]);"object"==typeof exports&&"undefined"!=typeof module?module.exports=l:"function"==typeof define&&define.amd?define(function(){return l}):n&&(this[n]=l)}if(parcelRequire=f,i)throw i;return f}({"P4Zx":[function(require,module,exports) {
2
2
 
3
3
  },{}],"asWa":[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 c(n){return r(7,n,function(r){return function(t){return function(e){return function(u){return function(a){return function(i){return function(c){return n(r,t,e,u,a,i,c)}}}}}}})}function o(n){return r(9,n,function(r){return function(t){return function(e){return function(u){return function(a){return function(i){return function(c){return function(o){return function(f){return n(r,t,e,u,a,i,c,o,f)}}}}}}}}})}function f(n,r,t){return 2===n.a?n.f(r,t):n(r)(t)}function s(n,r,t,e){return 3===n.a?n.f(r,t,e):n(r)(t)(e)}function b(n,r,t,e,u){return 4===n.a?n.f(r,t,e,u):n(r)(t)(e)(u)}function v(n,r,t,e,u,a){return 5===n.a?n.f(r,t,e,u,a):n(r)(t)(e)(u)(a)}function d(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 l(n,r,t,e,u,a,i,c){return 7===n.a?n.f(r,t,e,u,a,i,c):n(r)(t)(e)(u)(a)(i)(c)}var $=e(function(n,r,t){for(var e=[],u=0;n>u;u++)e[u]=t(r+u);return e}),p=t(function(n,r){for(var t=[],e=0;n>e&&r.b;e++)t[e]=r.a,r=r.b;return t.length=e,w(t,r)});function h(n){throw Error("https://github.com/elm/core/blob/1.0.0/hints/"+n+".md")}function g(n,r){for(var t,e=[],u=m(n,r,0,e);u&&(t=e.pop());u=m(t.a,t.b,0,e));return u}function m(n,r,t,e){if(n===r)return!0;if("object"!=typeof n||null===n||null===r)return"function"==typeof n&&h(5),!1;if(t>100)return e.push(w(n,r)),!0;for(var u in 0>n.$&&(n=Rr(n),r=Rr(r)),n)if(!m(n[u],r[u],t+1,e))return!1;return!0}function x(n,r,t){if("object"!=typeof n)return n===r?0:r>n?-1:1;if(void 0===n.$)return(t=x(n.a,r.a))?t:(t=x(n.b,r.b))?t:x(n.c,r.c);for(;n.b&&r.b&&!(t=x(n.a,r.a));n=n.b,r=r.b);return t||(n.b?1:r.b?-1:0)}var y=t(function(n,r){var t=x(n,r);return 0>t?Sr:t?zr:Dr});function w(n,r){return{a:n,b:r}}function k(n,r,t){return{a:n,b:r,c:t}}function E(n){return n}function A(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 O(n,r){if("string"==typeof n)return n+r;if(!n.b)return r;var t=j(n.a,r);n=n.b;for(var e=t;n.b;n=n.b)e=e.b=j(n.a,r);return t}var T={$:0};function j(n,r){return{$:1,a:n,b:r}}var _=t(j);function C(n){for(var r=T,t=n.length;t--;)r=j(n[t],r);return r}var N=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 C(e)}),L=t(function(n,r){return n+r}),R=t(function(n,r){var t=r%n;return 0===n?h(11):t>0&&0>n||0>t&&n>0?t+n:t}),D=Math.ceil,z=Math.floor,S=Math.round,F=Math.log,J=t(function(n,r){return n+r}),M=t(function(n,r){return r.split(n)}),W=t(function(n,r){return r.join(n)}),H=e(function(n,r,t){return t.slice(n,r)}),I=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(E(e)))return!1}return!0}),q=t(function(n,r){return r.indexOf(n)>-1}),U=t(function(n,r){return 0===r.indexOf(n)}),B=t(function(n,r){var t=n.length;if(1>t)return T;for(var e=0,u=[];(e=r.indexOf(n,e))>-1;)u.push(e),e+=t;return C(u)});function P(n){return n+""}function Q(n){return{$:2,b:n}}Q(function(n){return"number"!=typeof n?sn("an INT",n):n>-2147483647&&2147483647>n&&(0|n)===n?Hr(n):!isFinite(n)||n%1?sn("an INT",n):Hr(n)});var X=Q(function(n){return"boolean"==typeof n?Hr(n):sn("a BOOL",n)}),G=Q(function(n){return"number"==typeof n?Hr(n):sn("a FLOAT",n)}),K=Q(function(n){return Hr(ln(n))}),Y=Q(function(n){return"string"==typeof n?Hr(n):n instanceof String?Hr(n+""):sn("a STRING",n)}),V=t(function(n,r){return{$:6,d:n,b:r}});function Z(n,r){return{$:9,f:n,g:r}}var nn=t(function(n,r){return{$:10,b:r,h:n}}),rn=t(function(n,r){return Z(n,[r])}),tn=e(function(n,r,t){return Z(n,[r,t])}),en=t(function(n,r){try{return an(n,JSON.parse(r))}catch(n){return Fr(f(Jr,"This is not valid JSON! "+n.message,ln(r)))}}),un=t(function(n,r){return an(n,$n(r))});function an(n,r){switch(n.$){case 2:return n.b(r);case 5:return null===r?Hr(n.c):sn("null",r);case 3:return on(r)?cn(n.b,r,C):sn("a LIST",r);case 4:return on(r)?cn(n.b,r,fn):sn("an ARRAY",r);case 6:var t=n.d;if("object"!=typeof r||null===r||!(t in r))return sn("an OBJECT with a field named `"+t+"`",r);var e=an(n.b,r[t]);return Lt(e)?e:Fr(f(Mr,t,e.a));case 7:var u=n.e;return on(r)?r.length>u?(e=an(n.b,r[u]),Lt(e)?e:Fr(f(Wr,u,e.a))):sn("a LONGER array. Need index "+u+" but only see "+r.length+" entries",r):sn("an ARRAY",r);case 8:if("object"!=typeof r||null===r||on(r))return sn("an OBJECT",r);var a=T;for(var i in r)if(r.hasOwnProperty(i)){if(e=an(n.b,r[i]),!Lt(e))return Fr(f(Mr,i,e.a));a=j(w(i,e.a),a)}return Hr(st(a));case 9:for(var c=n.f,o=n.g,s=0;o.length>s;s++){if(e=an(o[s],r),!Lt(e))return e;c=c(e.a)}return Hr(c);case 10:return e=an(n.b,r),Lt(e)?an(n.h(e.a),r):e;case 11:for(var b=T,v=n.g;v.b;v=v.b){if(e=an(v.a,r),Lt(e))return e;b=j(e.a,b)}return Fr(Ir(st(b)));case 1:return Fr(f(Jr,n.a,ln(r)));case 0:return Hr(n.a)}}function cn(n,r,t){for(var e=r.length,u=[],a=0;e>a;a++){var i=an(n,r[a]);if(!Lt(i))return Fr(f(Wr,a,i.a));u[a]=i.a}return Hr(t(u))}function on(n){return Array.isArray(n)||"undefined"!=typeof FileList&&n instanceof FileList}function fn(n){return f(Nt,n.length,function(r){return n[r]})}function sn(n,r){return Fr(f(Jr,"Expecting "+n,ln(r)))}function bn(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 bn(n.b,r.b);case 6:return n.d===r.d&&bn(n.b,r.b);case 7:return n.e===r.e&&bn(n.b,r.b);case 9:return n.f===r.f&&vn(n.g,r.g);case 10:return n.h===r.h&&bn(n.b,r.b);case 11:return vn(n.g,r.g)}}function vn(n,r){var t=n.length;if(t!==r.length)return!1;for(var e=0;t>e;e++)if(!bn(n[e],r[e]))return!1;return!0}var dn=t(function(n,r){return JSON.stringify($n(r),null,n)+""});function ln(n){return n}function $n(n){return n}function pn(n){return{$:0,a:n}}function hn(n){return{$:2,b:n,c:null}}ln(null);var gn=t(function(n,r){return{$:3,b:n,d:r}}),mn=0;function xn(n){var r={$:0,e:mn++,f:n,g:null,h:[]};return On(r),r}function yn(n){return hn(function(r){r(pn(xn(n)))})}function wn(n,r){n.h.push(r),On(n)}var kn=t(function(n,r){return hn(function(t){wn(n,r),t(pn(0))})}),En=!1,An=[];function On(n){if(An.push(n),!En){for(En=!0;n=An.shift();)Tn(n);En=!1}}function Tn(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,On(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 jn={};function _n(n,r,t,e,u){return{b:n,c:r,d:t,e:e,f:u}}function Cn(n,r){var t={g:r,h:void 0},e=n.c,u=n.d,a=n.e,i=n.f;function c(n){return f(gn,c,{$:5,b:function(r){var c=r.a;return 0===r.$?s(u,t,c,n):a&&i?b(e,t,c.i,c.j,n):s(e,t,a?c.i:c.j,n)}})}return t.h=xn(f(gn,c,n.b))}var Nn=t(function(n,r){return hn(function(t){n.g(r),t(pn(0))})}),Ln=t(function(n,r){return f(kn,n.h,{$:0,a:r})});function Rn(n){return function(r){return{$:1,k:n,l:r}}}function Dn(n){return{$:2,m:n}}var zn,Sn=t(function(n,r){return{$:3,n:n,o:r}}),Fn=[],Jn=!1;function Mn(n,r,t){if(Fn.push({p:n,q:r,r:t}),!Jn){Jn=!0;for(var e;e=Fn.shift();)Wn(e.p,e.q,e.r);Jn=!1}}function Wn(n,r,t){var e={};for(var u in Hn(!0,r,e,null),Hn(!1,t,e,null),n)wn(n[u],{$:"fx",a:e[u]||{i:T,j:T}})}function Hn(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.t)n=r.s(n);return n}return f(n?jn[t].e:jn[t].f,u,r.l)}(n,u,e);return void(t[u]=function(n,r,t){return t=t||{i:T,j:T},n?t.i=j(r,t.i):t.j=j(r,t.j),t}(n,a,t[u]));case 2:for(var i=r.m;i.b;i=i.b)Hn(n,i.a,t,e);return;case 3:return void Hn(n,r.o,t,{s:r.n,t:e})}}var In="undefined"!=typeof document?document:{};function qn(n,r){n.appendChild(r)}function Un(n){return{$:0,a:n}}var Bn=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:Vn(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:Vn(t),e:u,f:n,b:a}})})(void 0);var Pn,Qn=t(function(n,r){return{$:4,j:n,k:r,b:1+(r.b||0)}}),Xn=t(function(n,r){return{$:"a0",n:n,o:r}}),Gn=t(function(n,r){return{$:"a1",n:n,o:r}}),Kn=t(function(n,r){return{$:"a2",n:n,o:r}}),Yn=t(function(n,r){return{$:"a3",n:n,o:r}});function Vn(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?Zn(i,u,a):i[u]=a}else"className"===u?Zn(r,u,$n(a)):r[u]=$n(a)}return r}function Zn(n,r,t){var e=n[r];n[r]=e?e+" "+t:t}function nr(n,r){var t=n.$;if(5===t)return nr(n.k||(n.k=n.m()),r);if(0===t)return In.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=nr(e,a)).elm_event_node_ref=a,i}if(3===t)return rr(i=n.h(n.g),r,n.d),i;var i=n.f?In.createElementNS(n.f,n.c):In.createElement(n.c);zn&&"a"==n.c&&i.addEventListener("click",zn(i)),rr(i,r,n.d);for(var c=n.e,o=0;c.length>o;o++)qn(i,nr(1===t?c[o]:c[o].b,r));return i}function rr(n,r,t){for(var e in t){var u=t[e];"a1"===e?tr(n,u):"a0"===e?ar(n,r,u):"a3"===e?er(n,u):"a4"===e?ur(n,u):("value"!==e&&"checked"!==e||n[e]!==u)&&(n[e]=u)}}function tr(n,r){var t=n.style;for(var e in r)t[e]=r[e]}function er(n,r){for(var t in r){var e=r[t];void 0!==e?n.setAttribute(t,e):n.removeAttribute(t)}}function ur(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 ar(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=ir(r,a),n.addEventListener(u,i,Pn&&{passive:2>Ft(a)}),e[u]=i}else n.removeEventListener(u,i),e[u]=void 0}}try{window.addEventListener("t",null,Object.defineProperty({},"passive",{get:function(){Pn=!0}}))}catch(n){}function ir(n,r){function t(r){var e=t.q,u=an(e.a,r);if(Lt(u)){for(var a,i=Ft(e),c=u.a,o=i?3>i?c.a:c.B:c,f=1==i?c.b:3==i&&c.aL,s=(f&&r.stopPropagation(),(2==i?c.b:3==i&&c.ay)&&r.preventDefault(),n);a=s.j;){if("function"==typeof a)o=a(o);else for(var b=a.length;b--;)o=a[b](o);s=s.p}s(o,f)}}return t.q=r,t}function cr(n,r){return n.$==r.$&&bn(n.a,r.a)}function or(n,r,t,e){var u={$:r,r:t,s:e,t:void 0,u:void 0};return n.push(u),u}function fr(n,r,t,e){if(n!==r){var u=n.$,a=r.$;if(u!==a){if(1!==u||2!==a)return void or(t,0,e,r);r=function(n){for(var r=n.e,t=r.length,e=[],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,c=r.l,o=i.length,f=o===c.length;f&&o--;)f=i[o]===c[o];if(f)return void(r.k=n.k);r.k=r.m();var s=[];return fr(n.k,r.k,s,0),void(s.length>0&&or(t,1,e,s));case 4:for(var b=n.j,v=r.j,d=!1,l=n.k;4===l.$;)d=!0,"object"!=typeof b?b=[b,l.j]:b.push(l.j),l=l.k;for(var $=r.k;4===$.$;)d=!0,"object"!=typeof v?v=[v,$.j]:v.push($.j),$=$.k;return d&&b.length!==v.length?void or(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}(b,v):b===v)||or(t,2,e,v),void fr(l,$,t,e+1));case 0:return void(n.a!==r.a&&or(t,3,e,r.a));case 1:return void sr(n,r,t,e,vr);case 2:return void sr(n,r,t,e,dr);case 3:if(n.h!==r.h)return void or(t,0,e,r);var p=br(n.d,r.d);p&&or(t,4,e,p);var h=r.i(n.g,r.g);return void(h&&or(t,5,e,h))}}}function sr(n,r,t,e,u){if(n.c===r.c&&n.f===r.f){var a=br(n.d,r.d);a&&or(t,4,e,a),u(n,r,t,e)}else or(t,0,e,r)}function br(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&&cr(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 c=br(n[u],r[u]||{},u);c&&((e=e||{})[u]=c)}for(var o in r)o in n||((e=e||{})[o]=r[o]);return e}function vr(n,r,t,e){var u=n.e,a=r.e,i=u.length,c=a.length;i>c?or(t,6,e,{v:c,i:i-c}):c>i&&or(t,7,e,{v:i,e:a});for(var o=c>i?i:c,f=0;o>f;f++){var s=u[f];fr(s,a[f],t,++e),e+=s.b||0}}function dr(n,r,t,e){for(var u=[],a={},i=[],c=n.e,o=r.e,f=c.length,s=o.length,b=0,v=0,d=e;f>b&&s>v;){var l=(O=c[b]).a,$=(T=o[v]).a,p=O.b,h=T.b,g=void 0,m=void 0;if(l!==$){var x=c[b+1],y=o[v+1];if(x){var w=x.a,k=x.b;m=$===w}if(y){var E=y.a,A=y.b;g=l===E}if(g&&m)fr(p,A,u,++d),$r(a,u,l,h,v,i),d+=p.b||0,pr(a,u,l,k,++d),d+=k.b||0,b+=2,v+=2;else if(g)d++,$r(a,u,$,h,v,i),fr(p,A,u,d),d+=p.b||0,b+=1,v+=2;else if(m)pr(a,u,l,p,++d),d+=p.b||0,fr(k,h,u,++d),d+=k.b||0,b+=2,v+=1;else{if(!x||w!==E)break;pr(a,u,l,p,++d),$r(a,u,$,h,v,i),d+=p.b||0,fr(k,A,u,++d),d+=k.b||0,b+=2,v+=2}}else fr(p,h,u,++d),d+=p.b||0,b++,v++}for(;f>b;){var O;pr(a,u,(O=c[b]).a,p=O.b,++d),d+=p.b||0,b++}for(;s>v;){var T,j=j||[];$r(a,u,(T=o[v]).a,T.b,void 0,j),v++}(u.length>0||i.length>0||j)&&or(t,8,e,{w:u,x:i,y:j})}var lr="_elmW6BL";function $r(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 c=[];return fr(i.z,e,c,i.r),i.r=u,void(i.s.s={w:c,A:i})}$r(n,r,t+lr,e,u,a)}function pr(n,r,t,e,u){var a=n[t];if(a){if(0===a.c){a.c=2;var i=[];return fr(e,a.z,i,u),void or(r,9,u,{w:i,A:a})}pr(n,r,t+lr,e,u)}else{var c=or(r,9,u,void 0);n[t]={c:1,z:e,r:u,s:c}}}function hr(n,r,t,e){return 0===t.length?n:(function n(r,t,e,u){!function r(t,e,u,a,i,c,o){for(var f=u[a],s=f.r;s===i;){var b=f.$;if(1===b)n(t,e.k,f.s,o);else if(8===b)f.t=t,f.u=o,(v=f.s.w).length>0&&r(t,e,v,0,i,c,o);else if(9===b){f.t=t,f.u=o;var v,d=f.s;d&&(d.A.s=t,(v=d.w).length>0&&r(t,e,v,0,i,c,o))}else f.t=t,f.u=o;if(!(f=u[++a])||(s=f.r)>c)return a}var l=e.$;if(4===l){for(var $=e.k;4===$.$;)$=$.k;return r(t,$,u,a,i+1,c,t.elm_event_node_ref)}for(var p=e.e,h=t.childNodes,g=0;p.length>g;g++){var m=1===l?p[g]:p[g].b,x=++i+(m.b||0);if(!(i>s||s>x||(f=u[a=r(h[g],m,u,a,i,x,o)])&&(s=f.r)<=c))return a;i=x}return a}(r,t,e,0,0,t.b,u)}(n,r,t,e),gr(n,t))}function gr(n,r){for(var t=0;r.length>t;t++){var e=r[t],u=e.t,a=mr(u,e);u===n&&(n=a)}return n}function mr(n,r){switch(r.$){case 0:return function(n){var t=n.parentNode,e=nr(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 rr(n,r.u,r.s),n;case 3:return n.replaceData(0,n.length,r.s),n;case 1:return gr(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(nr(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=gr(n,t.w),n;case 8:return function(n,r){var t=r.s,e=function(n,r){if(n){for(var t=In.createDocumentFragment(),e=0;n.length>e;e++){var u=n[e].A;qn(t,2===u.c?u.s:nr(u.z,r.u))}return t}}(t.y,r);n=gr(n,t.w);for(var u=t.x,a=0;u.length>a;a++){var i=u[a],c=i.A,o=2===c.c?c.s:nr(c.z,r.u);n.insertBefore(o,n.childNodes[i.r])}return e&&qn(n,e),n}(n,r);case 5:return r.s(n);default:h(10)}}var xr=u(function(n,r,t,e){return function(n,r,t,e,u,a){var i=f(un,n,ln(r?r.flags:void 0));Lt(i)||h(2);var c={},o=t(i.a),s=o.a,b=a(d,s),v=function(n,r){var t;for(var e in jn){var u=jn[e];u.a&&((t=t||{})[e]=u.a(e,r)),n[e]=Cn(u,r)}return t}(c,d);function d(n,r){var t=f(e,n,s);b(s=t.a,r),Mn(c,t.b,u(s))}return Mn(c,o.b,u(s)),v?{ports:v}:{}}(r,e,n.ci,n.cX,n.cM,function(r,t){var e=n.aD&&n.aD(r),u=n.cY,a=In.title,i=In.body,c=function n(r){if(3===r.nodeType)return Un(r.textContent);if(1!==r.nodeType)return Un("");for(var t=T,e=r.attributes,u=e.length;u--;){var a=e[u];t=j(f(Yn,a.name,a.value),t)}var i=r.tagName.toLowerCase(),c=T,o=r.childNodes;for(u=o.length;u--;)c=j(n(o[u]),c);return s(Bn,i,t,c)}(i);return function(n,r){r(n);var t=0;function e(){t=1===t?0:(yr(e),r(n),1)}return function(u,a){n=u,a?(r(n),2===t&&(t=1)):(0===t&&yr(e),t=2)}}(t,function(n){zn=e;var t=u(n),o=Bn("body")(T)(t.aT),f=function(n,r){var t=[];return fr(n,r,t,0),t}(c,o);i=hr(i,c,f,r),c=o,zn=0,a!==t.bN&&(In.title=a=t.bN)})})}),yr=("undefined"!=typeof cancelAnimationFrame&&cancelAnimationFrame,"undefined"!=typeof requestAnimationFrame?requestAnimationFrame:function(n){return setTimeout(n,1e3/60)});function wr(){return Zt(In.location.href).a||h(1)}var kr=t(function(n,r){return f(he,ne,hn(function(){history.pushState({},"",r),n()}))}),Er=("undefined"!=typeof document&&document,"undefined"!=typeof window?window:{addEventListener:function(){},removeEventListener:function(){}}),Ar=a(function(n,r,t,e,u){for(var a=n.length,i=u.length>=r+a,c=0;i&&a>c;){var o=u.charCodeAt(r);i=n[c++]===u[r++]&&(10===o?(t++,e=1):(e++,55296==(63488&o)?n[c++]===u[r++]:1))}return k(i?r:-1,t,e)}),Or=e(function(n,r,t){return t.length>r?55296==(63488&t.charCodeAt(r))?n(E(t.substr(r,2)))?r+2:-1:n(E(t[r]))?"\n"===t[r]?-2:r+1:-1:-1}),Tr=e(function(n,r,t){return hn(function(e){function u(n){e(r(t.am.a(n)))}var a=new XMLHttpRequest;a.addEventListener("error",function(){u(Na)}),a.addEventListener("timeout",function(){u(Da)}),a.addEventListener("load",function(){u(function(n,r){return f(r.status>=200&&300>r.status?Ca:ja,function(n){return{aO:n.responseURL,cK:n.status,cL:n.statusText,a5:jr(n.getAllResponseHeaders())}}(r),n(r.response))}(t.am.b,a))}),za(t.bO)&&function(n,r,t){r.upload.addEventListener("progress",function(e){r.c||xn(f(Sa,n,w(t,Ra({cJ:e.loaded,bG:e.total}))))}),r.addEventListener("progress",function(e){r.c||xn(f(Sa,n,w(t,La({cF:e.loaded,bG:e.lengthComputable?Ur(e.total):Br}))))})}(n,a,t.bO.a);try{a.open(t.cm,t.aO,!0)}catch(n){return u(_a(t.aO))}return function(n,r){for(var t=r.a5;t.b;t=t.b)n.setRequestHeader(t.a.a,t.a.b);n.timeout=r.cP.a||0,n.responseType=r.am.d,n.withCredentials=r.bX}(a,t),t.aT.a&&a.setRequestHeader("Content-Type",t.aT.a),a.send(t.aT.b),function(){a.c=!0,a.abort()}})});function jr(n){if(!n)return Pe;for(var r=Pe,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),c=u.substring(a+2);r=s(Ue,i,function(n){return Ur(za(n)?c+", "+n.a:c)},r)}}return r}var _r=e(function(n,r,t){return{$:0,d:n,b:r,a:t}}),Cr=t(function(n,r){return{$:0,d:r.d,b:r.b,a:function(t){return n(r.a(t))}}}),Nr=_,Lr=e(function(n,r,t){for(;;){if(-2===t.$)return r;var e=t.d,u=n,a=s(n,t.b,t.c,s(Lr,n,r,t.e));n=u,r=a,t=e}}),Rr=function(n){return s(Lr,e(function(n,r,t){return f(Nr,w(n,r),t)}),T,n)},Dr=1,zr=2,Sr=0,Fr=function(n){return{$:1,a:n}},Jr=t(function(n,r){return{$:3,a:n,b:r}}),Mr=t(function(n,r){return{$:0,a:n,b:r}}),Wr=t(function(n,r){return{$:1,a:n,b:r}}),Hr=function(n){return{$:0,a:n}},Ir=function(n){return{$:2,a:n}},qr=L,Ur=function(n){return{$:0,a:n}},Br={$:1},Pr=I,Qr=dn,Xr=P,Gr=t(function(n,r){return f(W,n,function(n){for(var r=[];n.b;n=n.b)r.push(n.a);return r}(r))}),Kr=t(function(n,r){return C(f(M,n,r))}),Yr=function(n){return f(Gr,"\n ",f(Kr,"\n",n))},Vr=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}}),Zr=function(n){return s(Vr,t(function(n,r){return r+1}),0,n)},nt=N,rt=e(function(n,r,t){for(;;){if(x(n,r)>=1)return t;var e=n,u=r-1,a=f(Nr,r,t);n=e,r=u,t=a}}),tt=t(function(n,r){return s(rt,n,r,T)}),et=t(function(n,r){return s(nt,n,f(tt,0,Zr(r)-1),r)}),ut=function(n){var r=n.charCodeAt(0);return 55296>r||r>56319?r:1024*(r-55296)+n.charCodeAt(1)-56320+65536},at=function(n){var r=ut(n);return r>=97&&122>=r},it=function(n){var r=ut(n);return 90>=r&&r>=65},ct=function(n){return at(n)||it(n)},ot=function(n){var r=ut(n);return 57>=r&&r>=48},ft=function(n){return at(n)||it(n)||ot(n)},st=function(n){return s(Vr,Nr,T,n)},bt=t(function(n,r){return"\n\n("+Xr(n+1)+") "+Yr(vt(r))}),vt=function(n){return f(dt,n,T)},dt=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),isNaN(r)?Br:Ur(55296>r||r>56319?w(E(n[0]),n.slice(1)):w(E(n[0]+n[1]),n.slice(2))));if(1===e.$)return!1;var u=e.a,a=u.b;return ct(u.a)&&f(Pr,ft,a)}();n=e,r=f(Nr,u?"."+t:"['"+t+"']",r);continue n;case 1:e=n.b;var a="["+Xr(n.a)+"]";n=e,r=f(Nr,a,r);continue n;case 2:var i=n.a;if(i.b){if(i.b.b){var c=(r.b?"The Json.Decode.oneOf at json"+f(Gr,"",st(r)):"Json.Decode.oneOf")+" failed in the following "+Xr(Zr(i))+" ways:";return f(Gr,"\n\n",f(Nr,c,f(et,bt,i)))}n=e=i.a,r=r;continue n}return"Ran into a Json.Decode.oneOf with no possibilities"+(r.b?" at json"+f(Gr,"",st(r)):"!");default:var o=n.a,s=n.b;return(c=r.b?"Problem with the value at json"+f(Gr,"",st(r))+":\n\n ":"Problem with the given value:\n\n")+Yr(f(Qr,4,s))+"\n\n"+o}}),lt=u(function(n,r,t,e){return{$:0,a:n,b:r,c:t,d:e}}),$t=[],pt=D,ht=t(function(n,r){return F(r)/F(n)}),gt=pt(f(ht,2,32)),mt=b(lt,0,gt,$t,$t),xt=$,yt=t(function(n,r){return n(r)}),wt=t(function(n,r){return r(n)}),kt=z,Et=function(n){return n.length},At=t(function(n,r){return x(n,r)>0?n:r}),Ot=p,Tt=t(function(n,r){for(;;){var t=f(Ot,32,n),e=t.b,u=f(Nr,{$:0,a:t.a},r);if(!e.b)return st(u);n=e,r=u}}),jt=t(function(n,r){for(;;){var t=pt(r/32);if(1===t)return f(Ot,32,n).a;n=f(Tt,n,T),r=t}}),_t=t(function(n,r){if(r.f){var t=32*r.f,e=kt(f(ht,32,t-1)),u=n?st(r.i):r.i,a=f(jt,u,r.f);return b(lt,Et(r.h)+t,f(At,5,e*gt),a,r.h)}return b(lt,Et(r.h),gt,$t,r.h)}),Ct=a(function(n,r,t,e,u){for(;;){if(0>r)return f(_t,!1,{i:e,f:t/32|0,h:u});var a={$:1,a:s(xt,32,r,n)};n=n,r-=32,t=t,e=f(Nr,a,e),u=u}}),Nt=t(function(n,r){if(n>0){var t=n%32;return v(Ct,r,n-t-32,n,T,s(xt,t,n-t,r))}return mt}),Lt=function(n){return!n.$},Rt=nn,Dt=rn,zt=tn,St=function(n){return{$:0,a:n}},Ft=function(n){switch(n.$){case 0:return 0;case 1:return 1;case 2:return 2;default:return 3}},Jt=function(n){return n},Mt=i(function(n,r,t,e,u,a){return{a2:a,a8:r,ag:e,bo:t,bt:n,bu:u}}),Wt=q,Ht=function(n){return n.length},It=H,qt=t(function(n,r){return 1>n?r:s(It,n,Ht(r),r)}),Ut=B,Bt=function(n){return""===n},Pt=t(function(n,r){return 1>n?"":s(It,0,n,r)}),Qt=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 Br;r=10*r+a-48}return u==e?Br:Ur(45==t?-r:r)},Xt=a(function(n,r,t,e,u){if(Bt(u)||f(Wt,"@",u))return Br;var a=f(Ut,":",u);if(a.b){if(a.b.b)return Br;var i=a.a,c=Qt(f(qt,i+1,u));if(1===c.$)return Br;var o=c;return Ur(d(Mt,n,f(Pt,i,u),o,r,t,e))}return Ur(d(Mt,n,u,Br,r,t,e))}),Gt=u(function(n,r,t,e){if(Bt(e))return Br;var u=f(Ut,"/",e);if(u.b){var a=u.a;return v(Xt,n,f(qt,a,e),r,t,f(Pt,a,e))}return v(Xt,n,"/",r,t,e)}),Kt=e(function(n,r,t){if(Bt(t))return Br;var e=f(Ut,"?",t);if(e.b){var u=e.a;return b(Gt,n,Ur(f(qt,u+1,t)),r,f(Pt,u,t))}return b(Gt,n,Br,r,t)}),Yt=t(function(n,r){if(Bt(r))return Br;var t=f(Ut,"#",r);if(t.b){var e=t.a;return s(Kt,n,Ur(f(qt,e+1,r)),f(Pt,e,r))}return s(Kt,n,Br,r)}),Vt=U,Zt=function(n){return f(Vt,"http://",n)?f(Yt,0,f(qt,7,n)):f(Vt,"https://",n)?f(Yt,1,f(qt,8,n)):Br},ne=function(n){for(;;)n=n},re=pn,te=re(0),ee=u(function(n,r,t,e){if(e.b){var u=e.a,a=e.b;if(a.b){var i=a.a,c=a.b;if(c.b){var o=c.a,v=c.b;if(v.b){var d=v.b;return f(n,u,f(n,i,f(n,o,f(n,v.a,t>500?s(Vr,n,r,st(d)):b(ee,n,r,t+1,d)))))}return f(n,u,f(n,i,f(n,o,r)))}return f(n,u,f(n,i,r))}return f(n,u,r)}return r}),ue=e(function(n,r,t){return b(ee,n,r,0,t)}),ae=t(function(n,r){return s(ue,t(function(r,t){return f(Nr,n(r),t)}),T,r)}),ie=gn,ce=t(function(n,r){return f(ie,function(r){return re(n(r))},r)}),oe=e(function(n,r,t){return f(ie,function(r){return f(ie,function(t){return re(f(n,r,t))},t)},r)}),fe=function(n){return s(ue,oe(Nr),re(T),n)},se=Nn,be=t(function(n,r){var t=r;return yn(f(ie,se(n),t))});jn.Task=_n(te,e(function(n,r){return f(ce,function(){return 0},fe(f(ae,be(n),r)))}),e(function(){return re(0)}),t(function(n,r){return f(ce,n,r)}));var ve,de,le,$e,pe=Rn("Task"),he=t(function(n,r){return pe(f(ce,n,r))}),ge={$:0},me=e(function(n,r,t){return{aQ:r,az:t,aC:n}}),xe=u(function(n,r,t,e){return 1===r.$?Br:1===t.$?Br:1===e.$?Br:Ur(s(n,r.a,t.a,e.a))}),ye={L:""},we=function(n){return{$:3,a:n}},ke=function(n){return{$:4,a:n}},Ee=function(n){return{$:1,a:n}},Ae=function(n){return{$:2,a:n}},Oe=a(function(n,r,t,e,u){return{E:e,F:t,D:r,z:u,H:n}}),Te=function(n){return n.b&&(""!==n.a||n.b.b)?f(Nr,n.a,Te(n.b)):T},je=t(function(n,r){return Ur(1===r.$?C([n]):f(Nr,n,r.a))}),_e=function(n){try{return Ur(decodeURIComponent(n))}catch(n){return Br}},Ce=y,Ne=t(function(n,r){n:for(;;){if(-2===r.$)return Br;var t=r.c,e=r.d,u=r.e;switch(f(Ce,n,r.b)){case 0:n=n,r=e;continue n;case 1:return Ur(t);default:n=n,r=u;continue n}}}),Le=a(function(n,r,t,e,u){return{$:-1,a:n,b:r,c:t,d:e,e:u}}),Re={$:-2},De=a(function(n,r,t,e,u){if(-1!==u.$||u.a){if(-1!==e.$||e.a||-1!==e.d.$||e.d.a)return v(Le,n,r,t,e,u);var a=e.d;return i=e.e,v(Le,0,e.b,e.c,v(Le,1,a.b,a.c,a.d,a.e),v(Le,1,r,t,i,u))}var i,c=u.b,o=u.c,f=u.d,s=u.e;return-1!==e.$||e.a?v(Le,n,c,o,v(Le,0,r,t,e,f),s):v(Le,0,r,t,v(Le,1,e.b,e.c,e.d,i=e.e),v(Le,1,c,o,f,s))}),ze=e(function(n,r,t){if(-2===t.$)return v(Le,0,n,r,Re,Re);var e=t.a,u=t.b,a=t.c,i=t.d,c=t.e;switch(f(Ce,n,u)){case 0:return v(De,e,u,a,s(ze,n,r,i),c);case 1:return v(Le,e,u,r,i,c);default:return v(De,e,u,a,i,s(ze,n,r,c))}}),Se=e(function(n,r,t){var e=s(ze,n,r,t);return-1!==e.$||e.a?e:v(Le,1,e.b,e.c,e.d,e.e)}),Fe=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,c=t.c,e=t.d,s=t.e,v(Le,1,n.b,n.c,v(Le,0,r.b,r.c,r.d,r.e),v(Le,0,i,c,e,s))}var e,u=n.d,a=n.e,i=a.b,c=a.c,o=(e=a.d).d,f=e.e,s=a.e;return v(Le,0,e.b,e.c,v(Le,1,n.b,n.c,v(Le,0,u.b,u.c,u.d,u.e),o),v(Le,1,i,c,f,s))}return n},Je=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 f=t.b,s=t.c,b=t.d,d=t.e,v(Le,1,e=n.b,u=n.c,v(Le,0,r.b,r.c,r.d,c=r.e),v(Le,0,f,s,b,d))}var e=n.b,u=n.c,a=n.d,i=a.d,c=a.e,o=n.e,f=o.b,s=o.c,b=o.d,d=o.e;return v(Le,0,a.b,a.c,v(Le,1,i.b,i.c,i.d,i.e),v(Le,1,e,u,c,v(Le,0,f,s,b,d)))}return n},Me=c(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 Je(r);break n}return Je(r)}break n}return r}return v(Le,t,a.b,a.c,a.d,v(Le,0,e,u,a.e,i))}),We=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 c=Fe(n);if(-1===c.$){var o=c.e;return v(De,c.a,c.b,c.c,We(c.d),o)}return Re}return v(Le,r,t,e,We(u),i)}return v(Le,r,t,e,We(u),i)}return Re},He=t(function(n,r){if(-2===r.$)return Re;var t=r.a,e=r.b,u=r.c,a=r.d,i=r.e;if(0>x(n,e)){if(-1===a.$&&1===a.a){var c=a.d;if(-1!==c.$||c.a){var o=Fe(r);if(-1===o.$){var s=o.e;return v(De,o.a,o.b,o.c,f(He,n,o.d),s)}return Re}return v(Le,t,e,u,f(He,n,a),i)}return v(Le,t,e,u,f(He,n,a),i)}return f(Ie,n,l(Me,n,r,t,e,u,a,i))}),Ie=t(function(n,r){if(-1===r.$){var t=r.a,e=r.b,u=r.c,a=r.d,i=r.e;if(g(n,e)){var c=function(n){for(;;){if(-1!==n.$||-1!==n.d.$)return n;n=n.d}}(i);return-1===c.$?v(De,t,c.b,c.c,a,We(i)):Re}return v(De,t,e,u,a,f(He,n,i))}return Re}),qe=t(function(n,r){var t=f(He,n,r);return-1!==t.$||t.a?t:v(Le,1,t.b,t.c,t.d,t.e)}),Ue=e(function(n,r,t){var e=r(f(Ne,n,t));return e.$?f(qe,n,t):s(Se,n,e.a,t)}),Be=t(function(n,r){var t=f(Kr,"=",n);if(t.b&&t.b.b&&!t.b.b.b){var e=t.b.a,u=_e(t.a);if(1===u.$)return r;var a=u.a,i=_e(e);return 1===i.$?r:s(Ue,a,je(i.a),r)}return r}),Pe=Re,Qe=t(function(n,r){var t;return function(n){n:for(;;){if(n.b){var r=n.a,t=r.D;if(t.b){if(""!==t.a||t.b.b){n=n.b;continue n}return Ur(r.z)}return Ur(r.z)}return Br}}(n(v(Oe,T,function(){var n=f(Kr,"/",r.ag);return Te(n.b&&""===n.a?n.b:n)}(),1===(t=r.bu).$?Pe:s(ue,Be,Pe,f(Kr,"&",t.a)),r.a2,Jt)))}),Xe=function(n){return{$:0,a:n}},Ge=function(n){return{$:1,a:n}},Ke=t(function(n,r){return v(Oe,r.H,r.D,r.F,r.E,n(r.z))}),Ye=t(function(n,r){var t=r;return function(r){var e=r.H,u=r.D,a=r.F,i=r.E;return f(ae,Ke(r.z),t(v(Oe,e,u,a,i,n)))}}),Ve=t(function(n,r){return r.b?s(ue,Nr,r,n):n}),Ze=t(function(n,r){return s(ue,Ve,T,f(ae,n,r))}),nu=function(n){return function(r){var t=r.H,e=r.D,u=r.F,a=r.E,i=r.z;if(e.b){var c=e.a,o=e.b;return g(c,n)?C([v(Oe,f(Nr,c,t),o,u,a,i)]):T}return T}},ru=t(function(n,r){var t=n,e=r;return function(n){return f(Ze,e,t(n))}}),tu=f(t(function(n,r){return function(n){var t=n.H,e=n.D,u=n.F,a=n.E,i=n.z;if(e.b){var c=e.a,o=e.b,s=r(c);if(s.$)return T;var b=s.a;return C([v(Oe,f(Nr,c,t),o,u,a,i(b))])}return T}}),"STRING",Ur),eu=function(n){return C([n])},uu=(ve=C([f(Ye,Xe("all"),eu),f(Ye,Xe,f(ru,nu("streams"),tu)),f(Ye,Ge,f(ru,nu("events"),tu))]),function(n){return f(Ze,function(r){return r(n)},ve)}),au=t(function(n,r){return A(r,{ag:f(qt,Ht(n.ag),r.ag)})}),iu=t(function(n,r){return f(Qe,uu,f(au,n,r))}),cu=function(n){return{$:2,a:n}},ou=o(function(n,r,t,e,u,a,i,c,o){return{b_:i,b3:a,b4:t,b8:r,b9:n,cC:o,cD:e,cE:u,cW:c}}),fu=function(n){return{$:1,a:n}},su=Y,bu=t(function(n,r){return{$:1,a:n,b:r}}),vu=e(function(n,r,t){return{$:0,a:n,b:r,c:t}}),du=t(function(n,r){var t=r;return function(r){var e=t(r);if(1===e.$)return f(bu,e.a,e.b);var u=e.a,a=e.c,i=n(e.b)(a);if(1===i.$){var c=i.a;return f(bu,u||c,i.b)}return c=i.a,s(vu,u||c,i.b,i.c)}}),lu=t(function(n,r){return{$:1,a:n,b:r}}),$u=u(function(n,r,t,e){return{aW:r,b2:e,bq:t,bA:n}}),pu={$:0},hu=t(function(n,r){return f(lu,pu,b($u,n.bA,n.aW,r,n.c))}),gu=(de={$:10},function(n){return g(Ht(n.a),n.b)?s(vu,!1,0,n):f(bu,!1,f(hu,n,de))}),mu=Or,xu=a(function(n,r,t,e,u){for(;;){var a=s(mu,n,r,u.a);if(g(a,-1))return s(vu,0>x(u.b,r),0,{aW:e,c:u.c,d:u.d,b:r,bA:t,a:u.a});g(a,-2)?(n=n,r+=1,t+=1,e=1,u=u):(n=n,r=a,t=t,e+=1,u=u)}}),yu=t(function(n){return n}),wu=t(function(n,r){var t=r;return function(r){var e=t(r);if(1===e.$)return f(bu,e.a,e.b);var u=e.b,a=e.c;return s(vu,e.a,f(n,s(It,r.b,a.b,r.a),u),a)}}),ku=function(n){return f(wu,yu,n)},Eu=function(n){return r={$:12,a:n},function(n){return f(bu,!1,f(hu,n,r))};var r},Au=S,Ou=function(n){return function(r){return s(vu,!1,n,r)}},Tu=f(du,function(n){if(Ht(n)>9)return Eu("Expected at most 9 digits, but got "+Xr(Ht(n)));var r=function(n){if(0===n.length||/[\sxbo]/.test(n))return Br;var r=+n;return r==r?Ur(r):Br}("0."+n);return r.$?Eu('Invalid float: "'+n+'"'):Ou(Au(1e3*r.a))},ku(($e=ot,function(n){return v(xu,$e,n.b,n.bA,n.aW,n)}))),ju=Jt,_u=i(function(n,r,t,e,u,a){return ju(n+60*r*60*1e3+60*(t-a)*1e3+1e3*e+u)}),Cu=e(function(n,r,t){var e=r,u=t;return function(r){var t=e(r);if(1===t.$)return f(bu,t.a,t.b);var a=t.a,i=t.b,c=u(t.c);if(1===c.$){var o=c.a;return f(bu,a||o,c.b)}o=c.a;var b=c.c;return s(vu,a||o,f(n,i,c.b),b)}}),Nu=t(function(n,r){return s(Cu,yu,n,r)}),Lu=t(function(n,r){return s(Cu,yt,n,r)}),Ru=t(function(n,r){return{$:2,a:n,b:r}}),Du=e(function(n,r,t){n:for(;;){if(t.b){var e=t.b,u=(0,t.a)(n);if(u.$){var a;if((a=u).a)return a;n=n,r=f(Ru,r,a.b),t=e;continue n}return u}return f(bu,!1,r)}}),zu=function(n){return function(r){return s(Du,r,pu,n)}},Su=function(n){return{$:1,a:n}},Fu=J,Ju={$:11},Mu=t(function(n,r){return function(t){var e=s(mu,n,t.b,t.a);return g(e,-1)?f(bu,!1,f(hu,t,r)):g(e,-2)?s(vu,!0,0,{aW:1,c:t.c,d:t.d,b:t.b+1,bA:t.bA+1,a:t.a}):s(vu,!0,0,{aW:t.aW+1,c:t.c,d:t.d,b:e,bA:t.bA,a:t.a})}}),Wu=u(function(n,r,t,e){for(;;){var u=t(r)(e);if(u.$)return a=u.a,f(bu,n||a,u.b);var a=u.a,i=u.b,c=u.c;if(i.$)return s(vu,n||a,i.a,c);n=n||a,r=i.a,t=t,e=c}}),Hu=t(function(n,r){return function(t){return b(Wu,!1,n,r,t)}}),Iu=t(function(n,r){var t=r;return function(r){var e=t(r);if(e.$)return f(bu,e.a,e.b);var u=e.c;return s(vu,e.a,n(e.b),u)}}),qu=function(n){return n.$?{$:1,a:n.a}:{$:0,a:n.a}},Uu=t(function(n,r){return f(Hu,n,function(n){return f(Iu,qu,r(n))})}),Bu=function(n){return f(Uu,"",function(r){if(g(Ht(r),n)){var t=Qt(r);return t.$?Eu('Invalid integer: "'+r+'"'):f(Iu,Su,Ou(t.a))}return f(Iu,function(n){return{$:0,a:f(Fu,r,n)}},ku(f(Mu,ot,Ju)))})},Pu=t(function(n,r){return{$:0,a:n,b:r}}),Qu=Ar,Xu=function(n){return function(n){var r=n.a,t=n.b,e=!Bt(r);return function(n){var u=v(Qu,r,n.b,n.bA,n.aW,n.a),a=u.a,i=u.b,c=u.c;return g(a,-1)?f(bu,!1,f(hu,n,t)):s(vu,e,0,{aW:c,c:n.c,d:n.d,b:a,bA:i,a:n.a})}}(f(Pu,n,{$:8,a:n}))},Gu=function(n){return Eu("Invalid day: "+Xr(n))},Ku=R,Yu=function(n){return!(f(Ku,4,n)||!f(Ku,100,n)&&f(Ku,400,n))},Vu=function(n){var r=n-1;return(r/4|0)-(r/100|0)+(r/400|0)},Zu=f(du,function(n){var r=n.a,t=n.b,e=n.c;if(0>e)return Gu(e);var u=function(n){var u=31536e6*(r-1970),a=864e5*((3>t||!Yu(r)?e-1:e)+(Vu(r)-Vu(1970)));return Ou(n+u+a)};switch(t){case 1:return e>31?Gu(e):u(0);case 2:return e>29||29===e&&!Yu(r)?Gu(e):u(26784e5);case 3:return e>31?Gu(e):u(50976e5);case 4:return e>30?Gu(e):u(7776e6);case 5:return e>31?Gu(e):u(10368e6);case 6:return e>30?Gu(e):u(130464e5);case 7:return e>31?Gu(e):u(156384e5);case 8:return e>31?Gu(e):u(183168e5);case 9:return e>30?Gu(e):u(209952e5);case 10:return e>31?Gu(e):u(235872e5);case 11:return e>30?Gu(e):u(262656e5);case 12:return e>31?Gu(e):u(288576e5);default:return Eu('Invalid month: "'+Xr(t)+'"')}},f(Lu,f(Lu,f(Lu,Ou(e(function(n,r,t){return k(n,r,t)})),Bu(4)),zu(C([f(Lu,f(Nu,Ou(Jt),Xu("-")),Bu(2)),Bu(2)]))),zu(C([f(Lu,f(Nu,Ou(Jt),Xu("-")),Bu(2)),Bu(2)])))),na=(le=e(function(n,r,t){return n*(60*r)+t}),f(Lu,Ou(Jt),zu(C([f(Iu,function(){return 0},Xu("Z")),f(Lu,f(Lu,f(Lu,Ou(le),zu(C([f(Iu,function(){return 1},Xu("+")),f(Iu,function(){return-1},Xu("-"))]))),Bu(2)),zu(C([f(Lu,f(Nu,Ou(Jt),Xu(":")),Bu(2)),Bu(2),Ou(0)]))),f(Nu,Ou(0),gu)])))),ra=f(du,function(n){return zu(C([f(Lu,f(Lu,f(Lu,f(Lu,f(Lu,f(Nu,Ou(_u(n)),Xu("T")),Bu(2)),zu(C([f(Lu,f(Nu,Ou(Jt),Xu(":")),Bu(2)),Bu(2)]))),zu(C([f(Lu,f(Nu,Ou(Jt),Xu(":")),Bu(2)),Bu(2)]))),zu(C([f(Lu,f(Nu,Ou(Jt),Xu(".")),Tu),Ou(0)]))),f(Nu,na,gu)),f(Nu,Ou(d(_u,n,0,0,0,0,0)),gu)]))},Zu),ta=e(function(n,r,t){return{aW:r,bq:t,bA:n}}),ea=function(n){return s(ta,n.bA,n.aW,n.bq)},ua=t(function(n,r){n:for(;;)switch(n.$){case 0:return r;case 1:var t=n.b;n=n.a,r=f(Nr,t,r);continue n;default:var e=n.b;n=n.a,r=f(ua,e,r);continue n}}),aa=t(function(n,r){var t=n({aW:1,c:T,d:1,b:0,bA:1,a:r});return t.$?Fr(f(ua,t.b,T)):Hr(t.b)}),ia=t(function(n,r){var t=f(aa,n,r);return t.$?Fr(f(ae,ea,t.a)):Hr(t.a)}),ca=f(Rt,function(n){var r=function(n){return f(ia,ra,n)}(n);return 1===r.$?fu("TODO deadEndsToString"):St(r.a)},su),oa=function(n){return{$:11,g:n}},fa=function(n){return oa(C([f(Dt,Ur,n),St(Br)]))},sa=V,ba=t(function(n,r){return s(ue,sa,r,n)}),va=zt(wt),da=un,la=function(n){return{$:5,c:n}},$a=K,pa=e(function(n,r,t){return f(Rt,function(e){var u=f(da,n,e);if(u.$)return St(t);var a=u.a,i=f(da,oa(C([r,la(t)])),a);return i.$?fu(vt(i.a)):St(i.a)},$a)}),ha=u(function(n,r,t,e){return f(va,s(pa,f(ba,n,$a),r,t),e)}),ga=e(function(n,r,t){return f(va,f(ba,n,r),t)}),ma=b(ha,C(["attributes","parent_event_id"]),fa(su),Br,s(ga,C(["attributes","type_stream_name"]),su,b(ha,C(["attributes","causation_stream_name"]),fa(su),Br,b(ha,C(["attributes","correlation_stream_name"]),fa(su),Br,s(ga,C(["attributes","metadata"]),f(Dt,Qr(2),$a),s(ga,C(["attributes","data"]),f(Dt,Qr(2),$a),s(ga,C(["attributes","metadata","timestamp"]),ca,s(ga,C(["id"]),su,s(ga,C(["attributes","event_type"]),su,St(ou)))))))))),xa=f(sa,"data",ma),ya=function(n){return encodeURIComponent(n)},wa=t(function(n,r){return n+"/"+ya(r)}),ka=t(function(n,r){return 1===n.$?r:r+":"+Xr(n.a)}),Ea=e(function(n,r,t){return 1===r.$?t:O(t,O(n,r.a))}),Aa=function(n){return s(Ea,"#",n.a2,s(Ea,"?",n.bu,O(f(ka,n.bo,O(n.bt?"https://":"http://",n.a8)),n.ag)))},Oa=t(function(n,r){return f(wa,Aa(n.aQ)+"/events",r)}),Ta=en,ja=t(function(n,r){return{$:3,a:n,b:r}}),_a=function(n){return{$:0,a:n}},Ca=t(function(n,r){return{$:4,a:n,b:r}}),Na={$:2},La=function(n){return{$:1,a:n}},Ra=function(n){return{$:0,a:n}},Da={$:1},za=function(n){return!n.$},Sa=Ln,Fa=e(function(n,r,t){return r(n(t))}),Ja=t(function(n,r){return s(_r,"",Jt,f(Fa,r,n))}),Ma=t(function(n,r){return r.$?Fr(n(r.a)):Hr(r.a)}),Wa=function(n){return{$:4,a:n}},Ha={$:2},Ia={$:1},qa=t(function(n,r){switch(r.$){case 0:return Fr({$:0,a:r.a});case 1:return Fr(Ia);case 2:return Fr(Ha);case 3:return Fr({$:3,a:r.a.cK});default:return f(Ma,Wa,n(r.b))}}),Ua=t(function(n,r){return f(Ja,n,qa(function(n){return f(Ma,vt,f(Ta,r,n))}))}),Ba={$:0},Pa=function(n){return{$:1,a:n}},Qa=t(function(n,r){return{bw:n,bL:r}}),Xa=re(f(Qa,Pe,T)),Ga=function(n){return hn(function(r){var t=n.f;2===t.$&&t.c&&t.c(),n.f=null,r(pn(0))})},Ka=yn,Ya=e(function(n,r,t){n:for(;;){if(r.b){var e=r.a,u=r.b;if(e.$){var a=e.a;return f(ie,function(r){var e=a.bO;return s(Ya,n,u,1===e.$?t:s(Se,e.a,r,t))},Ka(s(Tr,n,se(n),a)))}var i=e.a,c=f(Ne,i,t);if(1===c.$){n=n,r=u,t=t;continue n}return f(ie,function(){return s(Ya,n,u,f(qe,i,t))},Ga(c.a))}return re(t)}}),Va=u(function(n,r,t,e){return f(ie,function(n){return re(f(Qa,n,t))},s(Ya,n,r,e.bw))}),Za=e(function(n,r,t){var e=n(r);return e.$?t:f(Nr,e.a,t)}),ni=t(function(n,r){return s(ue,Za(n),T,r)}),ri=u(function(n,r,t,e){var u=e.b;return g(r,e.a)?Ur(f(se,n,u(t))):Br}),ti=e(function(n,r,t){return f(ie,function(){return re(t)},fe(f(ni,s(ri,n,r.a,r.b),t.bL)))}),ei=t(function(n,r){if(r.$){var t=r.a;return Pa({bX:t.bX,aT:t.aT,am:f(Cr,n,t.am),a5:t.a5,cm:t.cm,cP:t.cP,bO:t.bO,aO:t.aO})}return{$:0,a:r.a}}),ui=t(function(n,r){return{$:0,a:n,b:r}});jn.Http=_n(Xa,Va,ti,ei,t(function(n,r){return f(ui,r.a,f(Fa,r.b,n))}));var ai=Rn("Http"),ii=(Rn("Http"),function(n){return function(n){return ai(Pa({bX:!1,aT:n.aT,am:n.am,a5:n.a5,cm:n.cm,cP:n.cP,bO:n.bO,aO:n.aO}))}({aT:Ba,am:n.am,a5:T,cm:"GET",cP:Br,bO:Br,aO:n.aO})}),ci=e(function(n,r,t){return ii({am:f(Ua,n,xa),aO:f(Oa,r,t)})}),oi=t(function(n,r){return s(ci,cu,n,r)}),fi=t(function(n,r){return f(oi,n,r)}),si=function(n){return{$:2,a:n}},bi=t(function(n,r){return{cb:n,cH:r}}),vi=function(n){return{$:3,b:n}},di=b(ha,C(["attributes","related_streams"]),fa(vi(su)),Br,s(ga,C(["relationships","events","links","self"]),su,St(bi))),li=f(sa,"data",di),$i=t(function(n,r){return f(wa,Aa(n.aQ)+"/streams",r)}),pi=e(function(n,r,t){return ii({am:f(Ua,n,li),aO:f($i,r,t)})}),hi=t(function(n,r){return s(pi,si,n,r)}),gi={$:0},mi=t(function(n,r){return{J:gi,u:gi,b8:r,ao:n}}),xi=t(function(n,r){return{ca:n,cl:r}}),yi=f(xi,T,{a0:Br,bg:Br,bk:Br,bp:Br}),wi=t(function(n,r){return{ca:yi,ao:n,cH:Br,ai:r}}),ki=Sn,Ei=Dn(T),Ai=t(function(n,r){var t=n.ao;if(1===t.$)return w(n,Ei);var e=t.a,u=f(iu,e.aC,r);if(u.$)return w(A(n,{x:ge}),Ei);if(u.a.$){var a=_e(u.a.a);if(a.$)return w(A(n,{x:ge}),Ei);var i=a.a;return w(A(n,{x:Ee(f(mi,e,i))}),f(ki,we,f(fi,e,i)))}var c=_e(u.a.a);if(c.$)return w(A(n,{x:ge}),Ei);var o=c.a;return w(A(n,{x:Ae(f(wi,e,o))}),f(ki,ke,f(hi,e,o)))}),Oi=e(function(n,r,t){var e,u,a,i={ao:(e=n,u=e.aQ,a=e.az,b(xe,me,Zt(e.aC),Zt(u),Ur(a))),ck:t,U:ye,x:ge};return f(Ai,i,r)}),Ti=Dn(T),ji=function(n){return{$:2,a:n}},_i=function(n){return f(he,ne,hn(function(){try{Er.location=n}catch(n){In.location.reload(!1)}}))},Ci=kr,Ni=function(n){return n.a+"="+n.b},Li=t(function(n,r){return"/"+(f(Gr,"/",n)+function(n){return n.b?"?"+f(Gr,"&",f(ae,Ni,n)):""}(r))}),Ri=t(function(n,r){return s(ue,t(function(r,t){return n(r)?f(Nr,r,t):t}),T,r)}),Di=t(function(n,r){return f(Li,O(function(n){return f(Ri,function(n){return""!==n},f(Kr,"/",n.ag))}(n),r),T)}),zi=t(function(n,r){return f(Di,n,C(["streams",ya(r)]))}),Si=t(function(n,r){return n.$?w({L:n.a},Ei):w({L:""},f(Ci,r.ck,f(zi,r.ao.aC,r.bc.L)))}),Fi=function(n){return{$:3,a:n}},Ji={$:3},Mi=function(n){return{$:1,a:n}},Wi={$:2},Hi=Pe,Ii=t(function(n,r){return s(Se,n,0,r)}),qi=s(Vr,Ii,Hi,T),Ui=function(n){return{$:4,a:n}},Bi=t(function(n,r){var t=r.b_;return t.$?Ei:s(pi,Ui,n,t.a)}),Pi=u(function(n,r,t,e){return{a0:t,bg:e,bk:n,bp:r}}),Qi=u(function(n,r,t,e){return f(va,s(pa,f(sa,n,$a),r,t),e)}),Xi=b(Qi,"last",fa(su),Br,b(Qi,"first",fa(su),Br,b(Qi,"prev",fa(su),Br,b(Qi,"next",fa(su),Br,St(Pi))))),Gi=e(function(n,r,t){return f(va,f(sa,n,r),t)}),Ki=s(Gi,"links",Xi,s(Gi,"data",vi(ma),St(xi))),Yi=t(function(n,r){return ii({am:f(Ua,n,Ki),aO:r})}),Vi=t(function(n,r){switch(n.$){case 0:var t=n.a,e=r.u;return w(1===e.$?A(r,{u:Mi(A(a=e.a,{ab:t}))}):r,Ei);case 1:t=n.a;var u=r.u;return w(1===u.$?A(r,{u:Mi(A(a=u.a,{ae:t}))}):r,Ei);case 2:if(n.a.$)return w(A(r,3===n.a.a.$&&404===n.a.a.a?{u:Wi}:{u:Ji}),Ei);var a={b_:(i=n.a.a).b_,b3:i.b3,ab:qi,b8:i.b8,b9:i.b9,ae:qi,cC:i.cC,cD:i.cD,cE:i.cE,cW:i.cW};return w(A(r,{u:Mi(a)}),f(Bi,r.ao,a));case 4:return n.a.$?w(A(r,{J:Ji}),Ei):w(r,f(Yi,Fi,n.a.a.cb));default:return w(n.a.$?A(r,{J:Ji}):A(r,{J:Mi(n.a.a.ca)}),Ei)}var i}),Zi=function(n){return{$:1,a:n}},nc=t(function(n,r){switch(n.$){case 0:return w(r,f(Yi,Zi,n.a));case 1:return w(n.a.$?r:A(r,{ca:n.a.a}),Ei);default:if(n.a.$)return w(r,Ei);var t=n.a.a;return w(A(r,{cH:t.cH}),f(Yi,Zi,t.cb))}}),rc=u(function(n,r,t,e){var u=e.b;return w(A(t,{x:n(e.a)}),f(ki,r,u))}),tc=e(function(n,r,t){return{ao:t,bc:r,ck:n.ck}}),ec=t(function(n,r){var t=w(n,r.x);n:for(;;)switch(t.a.$){case 0:return f(Ai,r,t.a.a);case 1:var e=t.a.a;return w(r,e.$?_i(e.a):f(Ci,r.ck,Aa(e.a)));case 4:if(2===t.b.$)return b(rc,Ae,ke,r,f(nc,t.a.a,t.b.a));break n;case 3:if(1===t.b.$)return b(rc,Ee,we,r,f(Vi,t.a.a,t.b.a));break n;default:var u=t.a.a,a=r.ao;if(1===a.$)return w(r,Ei);var i=f(Si,u,s(tc,r,r.U,a.a)),c=i.b;return w(A(r,{U:i.a}),f(ki,ji,c))}return w(r,Ei)}),uc=function(n){return n.$?"RubyEventStore::Browser":"RubyEventStore::Browser - "+n.a},ac=Bn("a"),ic=ln,cc=t(function(n,r){return f(Kn,n,ic(r))}),oc=cc("className"),fc=Bn("div"),sc=Bn("footer"),bc=function(n){return f(cc,"href",/^javascript:/i.test((r=n).replace(/\s/g,""))?"":r);var r},vc=Bn("span"),dc=Un,lc={$:0},$c=function(n){return{$:1,a:n}},pc=Bn("form"),hc=Bn("input"),gc=Bn("nav"),mc=function(n){return w(n,!0)},xc=Xn,yc=t(function(n,r){return f(xc,n,{$:1,a:r})}),wc=f(ba,C(["target","value"]),su),kc=function(n){return w(n,!0)},Ec=t(function(n,r){return f(xc,n,{$:2,a:r})}),Ac=cc("placeholder"),Oc=cc("value"),Tc=function(n){return f(gc,C([oc("flex bg-red-700 px-8 h-16")]),C([f(fc,C([oc("flex items-center")]),C([f(ac,C([bc(Aa(n.ao.aC)),oc("text-gray-100 font-semibold")]),C([dc("Ruby Event Store")]))])),f(fc,C([oc("flex-1")]),T),f(fc,C([oc("flex items-center")]),C([f(pc,C([(t=lc,f(Ec,"submit",f(Dt,kc,St(t))))]),C([f(hc,C([oc("rounded px-4 py-2"),Oc(n.bc.L),(r=$c,f(yc,"input",f(Dt,mc,f(Dt,r,wc)))),Ac("Go to stream...")]),T)]))]))]));var r,t},jc=Bn("header"),_c=Bn("main"),Cc=Qn,Nc=e(function(n,r,t){return f(fc,C([oc("bg-gray-100 min-h-screen w-full text-gray-800 font-sans leading-relaxed antialiased")]),C([f(jc,T,C([f(Cc,n,Tc(r))])),f(_c,C([oc("bg-white")]),C([t])),f(sc,T,C([f(Cc,n,(e=r.ao,f(sc,C([oc("border-gray-400 border-t py-4")]),C([f(fc,C([oc("flex justify-center text-gray-500 text-sm")]),C([dc("RubyEventStore v"+e.az),f(vc,C([oc("font-bold text-gray-400 inline-block ml-4")]),C([dc("•")])),f(ac,C([bc("https://railseventstore.org/docs/install/"),oc("text-gray-500 ml-4")]),C([dc("Documentation")])),f(vc,C([oc("font-bold text-gray-400 inline-block ml-4")]),C([dc("•")])),f(ac,C([bc("https://railseventstore.org/support/"),oc("text-gray-500 ml-4")]),C([dc("Support")]))]))]))))]))]));var e}),Lc=Bn("h1"),Rc=f(Lc,T,C([dc("Incorrect RES Browser config")])),Dc=f(fc,C([oc("lds-dual-ring")]),T),zc=f(fc,C([oc("flex items-center justify-center")]),C([Dc])),Sc=Bn("h2"),Fc=Bn("li"),Jc=t(function(n,r){return r.$?Br:Ur(n(r.a))}),Mc=t(function(n,r){return f(ac,C([oc("text-red-700 no-underline"),bc(f(zi,n,r))]),C([dc(r)]))}),Wc=t(function(n,r){return f(Jc,function(r){return f(Fc,T,C([dc("Causation stream: "),f(Mc,n,r)]))},r.b_)}),Hc=t(function(n,r){return f(Jc,function(r){return f(Fc,T,C([dc("Correlation stream: "),f(Mc,n,r)]))},r.b3)}),Ic=t(function(n,r){return f(Di,n,C(["events",ya(r)]))}),qc=t(function(n,r){return f(ac,C([oc("text-red-700 no-underline"),bc(f(Ic,n,r))]),C([dc(r)]))}),Uc=t(function(n,r){return f(Jc,function(r){return f(Fc,T,C([dc("Parent event: "),f(qc,n,r)]))},r.cC)}),Bc=t(function(n,r){return f(Fc,T,C([dc("Type stream: "),f(Mc,n,r.cW)]))}),Pc=f(ue,t(function(n,r){return n.$?r:f(Nr,n.a,r)}),T),Qc=t(function(n,r){return Pc(C([f(Uc,n,r),Ur(f(Bc,n,r)),f(Hc,n,r),f(Wc,n,r)]))}),Xc=Bn("ul"),Gc=t(function(n,r){return g(f(Qc,n,r),T)?dc(""):f(fc,C([oc("px-8")]),C([f(Sc,C([oc("font-bold text-xl")]),C([dc("Related streams / events:")])),f(Xc,C([oc("list-disc pl-8")]),f(Qc,n,r))]))}),Kc=Bn("p"),Yc=Bn("td"),Vc=Bn("tr"),Zc=t(function(n,r){var t=r.b9,e=r.b8;return f(Vc,T,C([f(Yc,C([oc("p-0 pt-2")]),C([f(ac,C([oc("text-red-700 no-underline"),bc(f(Ic,n,e))]),C([dc(t)]))])),f(Yc,C([oc("p-0 pt-2")]),C([dc(e)]))]))}),no=Bn("table"),ro=Bn("tbody"),to=Bn("tfoot"),eo=Bn("th"),uo=Bn("thead"),ao=t(function(n,r){return r.b?f(no,C([oc("my-10 w-full text-left table-fixed border-collapse ")]),C([f(uo,C([oc("align-bottom leading-tight")]),C([f(Vc,T,C([f(eo,C([oc("border-gray-400 border-b text-gray-500 uppercase p-0 pb-4 text-xs")]),C([dc("Event name")])),f(eo,C([oc("border-gray-400 border-b text-gray-500 uppercase p-0 pb-4 text-xs")]),C([dc("Event id")]))]))])),f(ro,C([oc("align-top")]),f(ae,Zc(n),r)),f(to,T,C([f(Vc,T,C([f(Yc,C([oc("text-gray-500 p-0 pb-4 text-xs"),(2,f(Yn,"colspan",Xr(2)))]),C([20===Zr(r)?dc("The results may be truncated, check stream for full information."):dc("")]))]))]))])):f(Kc,C([oc("flex items-center justify-center py-24")]),C([dc("No items")]))}),io={I:"firebrick",M:"gray",N:"blue",O:"#fafad2",Q:"green"},co=t(function(n,r){return r.$?Fr(r.a):Hr(n(r.a))}),oo=t(function(n,r){return r.$?Fr(r.a):n(r.a)}),fo=function(n){return{$:4,a:n}},so=function(n){return{$:3,a:n}},bo=t(function(n,r){if(-2===r.$)return Re;var t=r.b,e=r.d,u=r.e;return v(Le,r.a,t,f(n,t,r.c),f(bo,n,e),f(bo,n,u))}),vo=t(function(n,r){var e=t(function(r,t){return f(vo,n+"["+Xr(r)+"]",t)}),u=t(function(r,t){return f(vo,n+"."+r,t)}),a=r.z;switch(a.$){case 0:case 1:case 2:case 5:return A(r,{l:n});case 3:return A(r,{l:n,z:so(f(et,e,a.a))});default:return A(r,{l:n,z:fo(f(bo,u,a.a))})}}),lo=function(n){return{$:2,a:n}},$o=function(n){return{$:1,a:n}},po={$:5},ho=function(n){return{$:0,a:n}},go=X,mo=e(function(n,r,t){return n(r(t))}),xo=function(n){return s(Vr,t(function(n,r){return s(Se,n.a,n.b,r)}),Pe,n)},yo=function(n){return f(Dt,xo,function(n){return{$:8,b:n}}(n))},wo=G,ko=function(n){return f(Rt,n,St(0))};function Eo(){var n=function(n){return{l:"",z:n}};return oa(C([f(Dt,f(mo,n,ho),su),f(Dt,f(mo,n,$o),wo),f(Dt,f(mo,n,lo),go),f(Dt,f(mo,n,so),vi(ko(function(){return Eo()}))),f(Dt,f(mo,n,fo),yo(ko(function(){return Eo()}))),la(n(po))]))}var Ao=Eo();Eo=function(){return Ao};var Oo,To,jo,_o,Co,No=function(n){var r=f(Dt,vo(""),Ao);return f(da,r,n)},Lo=Bn("pre"),Ro={I:function(n){return C([w("color",n.I)])},ak:C([w("position","absolute"),w("cursor","pointer"),w("top","1px"),w("left","-15px")]),an:C([w("font-weight","bold")]),ac:C([w("position","relative")]),M:function(n){return C([w("color",n.M)])},N:function(n){return C([w("color",n.N)])},aB:C([w("font-family","monospace"),w("white-space","pre")]),O:function(n){return C([w("background-color",n.O),w("cursor","pointer")])},Q:function(n){return C([w("color",n.Q)])},aj:C([w("list-style-type","none"),w("margin-left","26px"),w("padding-left","0px")])},Do=function(n){return Bn(function(n){return"script"==n?"p":n}(n))},zo=Gn,So=function(n){return f(ae,function(n){return f(zo,n.a,n.b)},n)},Fo=P,Jo=t(function(n,r){return!f(Ne,n,r).$}),Mo=t(function(n,r){return f(Jo,n,r)}),Wo=t(function(n,r){return f(Mo,n,r)}),Ho=t(function(n,r){return f(Ii,n,r)}),Io=t(function(n,r){return f(xc,n,{$:0,a:r})}),qo=t(function(n,r){return f(Io,"click",f(Dt,f(Fa,function(n){return n(0)},r),St(n)))}),Uo=u(function(n,r,t,e){return n?f(vc,f(Nr,f(qo,t,r.cT),So(Ro.ak)),C([dc(e)])):dc("")}),Bo=u(function(n,r,t,e){return b(Uo,n,t,function(){return f(Ho,r,e)},"-")}),Po=t(function(n,r){return f(qe,n,r)}),Qo=t(function(n,r){return f(Po,n,r)}),Xo=u(function(n,r,t,e){return b(Uo,n,t,function(){return f(Qo,r,e)},"+")}),Go=cc("id"),Ko=function(n){return f(Io,"click",St(n))},Yo=u(function(n,r,t,e){return u=f(vc,O(C([Go(t.l)]),O(So(n),(a=e.cx).$?T:C([Ko((0,a.a)(t.l)),oc("selectableJsonTreeNode")]))),C([dc(r)])),C([u]);var u,a}),Vo=a(function(n,r,t,e,u){var a=function(r){return f(Fc,So(Ro.ac),f(Ve,b(nf,n+1,e,r,u),C([dc(",")])))},i=r.b?C(f(Wo,t,u)?[b(Xo,n,t,e,u),dc("…")]:[b(Bo,n,t,e,u),f(Xc,So(Ro.aj),f(ae,a,r))]):T;return O(C([dc("[")]),O(i,C([dc("]")])))}),Zo=a(function(n,r,t,e,u){var a=function(r){var t=r.a,a=r.b;return f(Fc,So(Ro.ac),O(C([f(vc,So(Ro.an),C([dc(t)])),dc(": ")]),O(b(nf,n+1,e,a,u),C([dc(",")]))))},i=function(n){return-2===n.$}(r)?T:C(f(Wo,t,u)?[b(Xo,n,t,e,u),dc("…")]:[b(Bo,n,t,e,u),f(Xc,So(Ro.aj),f(ae,a,Rr(r)))]);return O(C([dc("{")]),O(i,C([dc("}")])))}),nf=u(function(n,r,t,e){var u=r.b1,a=t.z;switch(a.$){case 0:var i=a.a;return b(Yo,Ro.Q(u),'"'+i+'"',t,r);case 1:var c=a.a;return b(Yo,Ro.N(u),Fo(c),t,r);case 2:var o=a.a;return b(Yo,Ro.I(u),function(n){return n?"true":"false"}(o),t,r);case 5:return b(Yo,Ro.M(u),"null",t,r);case 3:return v(Vo,n,a.a,t.l,r,e);default:return v(Zo,n,a.a,t.l,r,e)}}),rf=e(function(n,r,t){return f(fc,So(Ro.aB),f(Nr,function(n){var r=f(Gr,"\n",f(ae,function(n){return n.a+": "+n.b+";"},Ro.O(n.b1)));return s(Do,"style",T,C([dc(".selectableJsonTreeNode:hover {\n"+r+"\n}\n")]))}(r),b(nf,0,r,n,t)))}),tf=t(function(n,r){return r.$?n:r.a}),ef=e(function(n,r,t){return f(tf,f(Lo,T,C([dc(n)])),f(co,function(n){return s(rf,n,{b1:io,cx:Br,cT:t},r)},f(oo,No,f(Ta,$a,n))))}),uf=e(function(n,r,t){return f(fc,C([oc("py-12")]),C([f(Lc,C([oc("font-bold px-8 text-2xl")]),C([dc(r.b9)])),f(fc,C([oc("px-8")]),C([f(no,C([oc("my-10 w-full text-left table-fixed border-collapse")]),C([f(uo,C([oc("align-bottom leading-tight")]),C([f(Vc,T,C([f(eo,C([oc("border-gray-400 border-b text-gray-500 uppercase p-0 pb-4 text-xs")]),C([dc("Event id")])),f(eo,C([oc("border-gray-400 border-b text-gray-500 uppercase p-0 pb-4 text-xs")]),C([dc("Raw Data")])),f(eo,C([oc("border-gray-400 border-b text-gray-500 uppercase p-0 pb-4 text-xs")]),C([dc("Raw Metadata")]))]))])),f(ro,C([oc("align-top")]),C([f(Vc,T,C([f(Yc,C([oc("p-0 pt-2")]),C([dc(r.b8)])),f(Yc,C([oc("p-0 pt-2")]),C([s(ef,r.cD,r.ab,function(n){return{$:0,a:n}})])),f(Yc,C([oc("p-0 pt-2")]),C([s(ef,r.cE,r.ae,function(n){return{$:1,a:n}})]))]))]))]))])),f(Gc,n,r),function(){switch(t.$){case 0:return f(fc,C([oc("px-8 mt-8")]),C([f(Sc,C([oc("font-bold text-xl")]),C([dc("Events caused by this event:")])),dc("Loading...")]));case 1:var r=t.a;return f(fc,C([oc("px-8 mt-8")]),C(r.b?[f(Sc,C([oc("font-bold text-xl")]),C([dc("Events caused by this event:")])),f(ao,n,r)]:[f(Sc,C([oc("font-bold text-xl")]),C([dc("Events caused by this event: none")]))]));default:return dc("")}}()]))}),af=function(n){return w("Event "+n.b8,function(n){var r=n.u;switch(r.$){case 2:return f(fc,C([oc("py-12")]),C([f(Lc,C([oc("font-bold px-8 text-2xl")]),C([dc("There's no event with given ID")]))]));case 0:return zc;case 1:return s(uf,n.ao.aC,r.a,n.J);default:return f(fc,C([oc("py-12")]),C([f(Lc,C([oc("font-bold px-8 text-2xl")]),C([dc("Unexpected request failure happened when fetching the event")]))]))}}(n))},cf=Bn("button"),of=ln,ff=t(function(n,r){return f(Kn,n,of(r))})("disabled"),sf=function(n){if(n.$)return C([ff(!0)]);var r,t=n.a;return C([bc(t),Ko((r=t,{$:0,a:r}))])},bf=function(n){return f(cf,O(C([oc("text-center text-sm border-red-700 text-red-700 border rounded px-2 py-1 mr-1 disabled:opacity-50 disabled:cursor-not-allowed")]),sf(n)),C([dc("last")]))},vf=function(n){return f(cf,O(C([oc("text-center text-sm border-red-700 text-red-700 border rounded px-2 py-1 mr-1 disabled:opacity-50 disabled:cursor-not-allowed")]),sf(n)),C([dc("next")]))},df=function(n){return f(cf,O(C([oc("text-center text-sm border-red-700 text-red-700 border rounded px-2 py-1 mr-1 disabled:opacity-50 disabled:cursor-not-allowed")]),sf(n)),C([dc("previous")]))},lf=function(n){var r,t=n.a0,e=n.bg,u=n.bk,a=n.bp;return f(Xc,C([oc("flex")]),C([f(Fc,T,C([(r=t,f(cf,O(C([oc("text-center text-sm border-red-700 text-red-700 border rounded px-2 py-1 mr-1 disabled:opacity-50 disabled:cursor-not-allowed")]),sf(r)),C([dc("first")])))])),f(Fc,T,C([df(a)])),f(Fc,T,C([vf(u)])),f(Fc,T,C([bf(e)]))]))},$f=dc(""),pf=t(function(n,r){return f(ac,C([oc("text-red-700 no-underline"),bc(f(zi,n,r))]),C([dc(r)]))}),hf=t(function(n,r){if(r.$)return $f;var t=r.a;return f(fc,C([oc("px-8")]),C([f(Sc,C([oc("font-bold text-xl")]),C([dc("Related streams:")])),f(Xc,C([oc("list-disc pl-8")]),f(ae,function(r){return f(Fc,T,C([f(pf,n,r)]))},t))]))}),gf={$:7},mf=function(n){return n>11?"pm":"am"},xf=function(n){switch(n){case 0:return"January";case 1:return"February";case 2:return"March";case 3:return"April";case 4:return"May";case 5:return"June";case 6:return"July";case 7:return"August";case 8:return"September";case 9:return"October";case 10:return"November";default:return"December"}},yf=function(n){switch(f(Ku,100,n)){case 11:case 12:case 13:return"th";default:switch(f(Ku,10,n)){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}}},wf=function(n){switch(n){case 0:return"Monday";case 1:return"Tuesday";case 2:return"Wednesday";case 3:return"Thursday";case 4:return"Friday";case 5:return"Saturday";default:return"Sunday"}},kf=d(i(function(n,r,t,e,u,a){return{cQ:u,cR:r,cS:n,R:a,cU:e,cV:t}}),xf,f(Fa,xf,Pt(3)),wf,f(Fa,wf,Pt(3)),mf,yf),Ef=t(function(n,r){return kt(n/r)}),Af=function(n){return n},Of=e(function(n,r,t){for(;;){if(!t.b)return r+n;var e=t.a,u=t.b;if(0>x(e.aK,r))return r+e.b;n=n,r=r,t=u}}),Tf=t(function(n,r){var t=n.b;return s(Of,n.a,f(Ef,Af(r),6e4),t)}),jf=t(function(n,r){return f(Ku,24,f(Ef,f(Tf,n,r),60))}),_f=e(function(n,r,t){return n.cQ(f(jf,r,t))}),Cf=function(n){var r=f(Ef,n,1440)+719468,t=(0>r?r-146096:r)/146097|0,e=r-146097*t,u=(e-(e/1460|0)+(e/36524|0)-(e/146096|0))/365|0,a=e-(365*u+(u/4|0)-(u/100|0)),i=(5*a+2)/153|0,c=i+(10>i?3:-9);return{aX:a-((153*i+2)/5|0)+1,bi:c,bU:u+400*t+(c>2?0:1)}},Nf=t(function(n,r){return Cf(f(Tf,n,r)).aX}),Lf=C([6,0,1,2,3,4,5]),Rf=function(n){return n.b?Ur(n.a):Br},Df=t(function(n,r){switch(f(Ku,7,f(Ef,f(Tf,n,r),1440))){case 0:return 3;case 1:return 4;case 2:return 5;case 3:return 6;case 4:return 0;case 5:return 1;default:return 2}}),zf=t(function(n,r){return r.$?n:r.a}),Sf=t(function(n,r){return f(zf,w(0,6),Rf(f(Ri,function(t){return g(t.b,f(Df,n,r))},f(et,t(function(n,r){return w(n,r)}),Lf)))).a}),Ff=t(function(n,r){switch(r){case 0:return 31;case 1:return function(n){return!(f(Ku,4,n)||!f(Ku,100,n)&&f(Ku,400,n))}(n)?29:28;case 2:return 31;case 3:return 30;case 4:return 31;case 5:return 30;case 6:case 7:return 31;case 8:return 30;case 9:return 31;case 10:return 30;default:return 31}}),Jf=C([0,1,2,3,4,5,6,7,8,9,10,11]),Mf=t(function(n,r){switch(Cf(f(Tf,n,r)).bi){case 1:return 0;case 2:return 1;case 3:return 2;case 4:return 3;case 5:return 4;case 6:return 5;case 7:return 6;case 8:return 7;case 9:return 8;case 10:return 9;case 11:return 10;default:return 11}}),Wf=t(function(n,r){return f(zf,w(0,0),Rf(f(Ri,function(t){return g(t.b,f(Mf,n,r))},f(et,t(function(n,r){return w(n,r)}),Jf))))}),Hf=t(function(n,r){return 1+f(Wf,n,r).a}),If=e(function(n,r,t){n:for(;;){if(n>0){if(r.b){var e=r.a;n-=1,r=r.b,t=f(Nr,e,t);continue n}return t}return t}}),qf=t(function(n,r){return st(s(If,n,r,T))}),Uf=e(function(n,r,t){if(r>0){var e=w(r,t);n:for(;;){r:for(;;){if(!e.b.b)return t;if(!e.b.b.b){if(1===e.a)break n;break r}switch(e.a){case 1:break n;case 2:var u=e.b;return C([u.a,u.b.a]);case 3:if(e.b.b.b.b){var a=e.b,i=a.b;return C([a.a,i.a,i.b.a])}break r;default:if(e.b.b.b.b&&e.b.b.b.b.b){var c=e.b,o=c.b,b=o.b,v=b.b,d=v.b;return f(Nr,c.a,f(Nr,o.a,f(Nr,b.a,f(Nr,v.a,n>1e3?f(qf,r-4,d):s(Uf,n+1,r-4,d)))))}break r}}return t}return C([e.b.a])}return T}),Bf=t(function(n,r){return s(Uf,0,n,r)}),Pf=t(function(n,r){return Cf(f(Tf,n,r)).bU}),Qf=t(function(n,r){var t,e=f(Bf,f(Hf,n,r)-1,Jf);return t=f(ae,Ff(f(Pf,n,r)),e),s(Vr,qr,0,t)+f(Nf,n,r)}),Xf=t(function(n,r){return f(Hf,n,r)/4|0}),Gf=t(function(n,r){return 1>n?"":s(It,-n,Ht(r),r)}),Kf=t(function(n,r){var t=Xr(r),e=n-Ht(t);return O(f(Gr,"",f(ae,function(){return"0"},f(tt,1,e))),t)}),Yf=t(function(n,r){return f(Ku,1e3,Af(r))}),Vf=t(function(n,r){return f(Ku,60,f(Tf,n,r))}),Zf=function(n){return n?n>12?n-12:n:12},ns=t(function(n,r){return f(Ku,60,f(Ef,Af(r),1e3))}),rs=Au(315576e5),ts=t(function(n,r){return ju(rs*f(Pf,n,r))}),es=t(function(n,r){var t=f(Sf,n,f(ts,n,r));return 1+((f(Qf,n,r)+t)/7|0)}),us=t(function(n,r){return Xr(f(Pf,n,r))}),as=u(function(n,r,t,e){switch(e.$){case 0:return Xr(f(Hf,r,t));case 1:return O(Xr(u=f(Hf,r,t)),n.R(u));case 2:return f(Kf,2,f(Hf,r,t));case 3:return n.cR(f(Mf,r,t));case 4:return n.cS(f(Mf,r,t));case 17:return Xr(1+f(Xf,r,t));case 18:return function(r){return O(Xr(r),n.R(r))}(1+f(Xf,r,t));case 5:return Xr(f(Nf,r,t));case 6:return function(r){return O(Xr(r),n.R(r))}(f(Nf,r,t));case 7:return f(Kf,2,f(Nf,r,t));case 8:return Xr(f(Qf,r,t));case 9:return function(r){return O(Xr(r),n.R(r))}(f(Qf,r,t));case 10:return f(Kf,3,f(Qf,r,t));case 11:return Xr(f(Sf,r,t));case 12:return function(r){return O(Xr(r),n.R(r))}(f(Sf,r,t));case 13:return n.cU(f(Df,r,t));case 14:return n.cV(f(Df,r,t));case 19:return Xr(f(es,r,t));case 20:return function(r){return O(Xr(r),n.R(r))}(f(es,r,t));case 21:return f(Kf,2,f(es,r,t));case 15:return f(Gf,2,f(us,r,t));case 16:return f(us,r,t);case 22:return s(_f,n,r,t).toUpperCase();case 23:return function(n){return n.toLowerCase()}(s(_f,n,r,t));case 24:return Xr(f(jf,r,t));case 25:return f(Kf,2,f(jf,r,t));case 26:return Xr(Zf(f(jf,r,t)));case 27:return f(Kf,2,Zf(f(jf,r,t)));case 28:return Xr(1+f(jf,r,t));case 29:return f(Kf,2,1+f(jf,r,t));case 30:return Xr(f(Vf,r,t));case 31:return f(Kf,2,f(Vf,r,t));case 32:return Xr(f(ns,r,t));case 33:return f(Kf,2,f(ns,r,t));case 34:return Xr(f(Yf,r,t));case 35:return f(Kf,3,f(Yf,r,t));default:return e.a}var u}),is=u(function(n,r,t,e){return f(Gr,"",f(ae,s(as,n,t,e),r))})(kf),cs={$:25},os={$:35},fs={$:31},ss={$:2},bs={$:33},vs=function(n){return{$:36,a:n}},ds=f(t(function(n,r){return{$:0,a:n,b:r}}),0,T),ls={$:16},$s=t(function(n,r){var t,e=r.b9,u=r.b4,a=r.b8;return f(Vc,T,C([f(Yc,C([oc("p-0 pt-2")]),C([f(ac,C([oc("text-red-700 no-underline"),bc(f(Ic,n,a))]),C([dc(e)]))])),f(Yc,C([oc("p-0 pt-2")]),C([dc(a)])),f(Yc,C([oc("p-0 pt-2 text-right")]),C([dc((t=u,s(is,C([gf,vs("."),ss,vs("."),ls,vs(", "),cs,vs(":"),fs,vs(":"),bs,vs("."),os]),ds,t)))]))]))}),ps=t(function(n,r){return r.b?f(no,C([oc("my-10 w-full text-left table-fixed border-collapse")]),C([f(uo,C([oc("align-bottom leading-tight")]),C([f(Vc,T,C([f(eo,C([oc("border-gray-400 border-b text-gray-500 uppercase p-0 pb-4 text-xs")]),C([dc("Event name")])),f(eo,C([oc("border-gray-400 border-b text-gray-500 uppercase p-0 pb-4 text-xs")]),C([dc("Event id")])),f(eo,C([oc("border-gray-400 border-b text-gray-500 uppercase p-0 pb-4 text-xs text-right")]),C([dc("Created at")]))]))])),f(ro,C([oc("align-top")]),f(ae,$s(n),r))])):f(Kc,C([oc("flex items-center justify-center py-24")]),C([dc("No items")]))}),hs=u(function(n,r,t,e){var u=t.cl,a=t.ca;return f(fc,C([oc("py-8")]),C([f(Lc,C([oc("font-bold px-8 text-2xl")]),C([dc(r)])),f(fc,C([oc("px-8")]),C([lf(u)])),f(fc,C([oc("px-8")]),C([f(ps,n,a)])),f(fc,T,C([f(hf,n,e)]))]))}),gs=function(n){return w("Stream "+n.ai,b(hs,n.ao.aC,"Events in "+n.ai,n.ca,n.cH))},ms=f(Lc,T,C([dc("404")])),xs=e(function(n,r,t){var e=r(t),u=e.b;return w(Ur(e.a),f(Cc,n,u))});Oo={Main:{init:(jo=(To={ci:Oi,cy:function(n){return{$:0,a:n}},cz:function(n){return{$:1,a:n}},cM:function(){return Ti},cX:ec,cY:function(n){var r=n.ao;if(1===r.$)return{aT:C([Rc]),bN:uc(Br)};var t=r.a,e=function(n){switch(n.$){case 2:return s(xs,ke,gs,n.a);case 1:return s(xs,we,af,n.a);default:return w(Br,ms)}}(n.x),u=e.a,a=e.b;return{aT:C([s(Nc,ji,s(tc,n,n.U,t),a)]),bN:uc(u)}}}).cy,_o=To.cz,Co=function(){Co.a(jo(wr()))},xr({aD:function(n){return Co.a=n,Er.addEventListener("popstate",Co),0>Er.navigator.userAgent.indexOf("Trident")||Er.addEventListener("hashchange",Co),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=wr(),a=Zt(e).a;n(_o(a&&u.bt===a.bt&&u.a8===a.a8&&u.bo.a===a.bo.a?{$:0,a:a}:function(n){return{$:1,a:n}}(e)))}})},ci:function(n){return s(To.ci,n,wr(),Co)},cY:To.cY,cX:To.cX,cM:To.cM}))(f(Rt,function(n){return f(Rt,function(r){return f(Rt,function(t){return St({aQ:t,az:r,aC:n})},f(sa,"apiUrl",su))},f(sa,"resVersion",su))},f(sa,"rootUrl",su)))(0)}},n.Elm?function n(r,t){for(var e in t)e in r?"init"==e?h(6):n(r[e],t[e]):r[e]=t[e]}(n.Elm,Oo):n.Elm=Oo}(this);
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 c(n){return r(6,n,function(r){return function(t){return function(e){return function(u){return function(a){return function(c){return n(r,t,e,u,a,c)}}}}}})}function i(n){return r(7,n,function(r){return function(t){return function(e){return function(u){return function(a){return function(c){return function(i){return n(r,t,e,u,a,c,i)}}}}}}})}function o(n){return r(9,n,function(r){return function(t){return function(e){return function(u){return function(a){return function(c){return function(i){return function(o){return function(f){return n(r,t,e,u,a,c,i,o,f)}}}}}}}}})}function f(n,r,t){return 2===n.a?n.f(r,t):n(r)(t)}function s(n,r,t,e){return 3===n.a?n.f(r,t,e):n(r)(t)(e)}function b(n,r,t,e,u){return 4===n.a?n.f(r,t,e,u):n(r)(t)(e)(u)}function v(n,r,t,e,u,a){return 5===n.a?n.f(r,t,e,u,a):n(r)(t)(e)(u)(a)}function d(n,r,t,e,u,a,c){return 6===n.a?n.f(r,t,e,u,a,c):n(r)(t)(e)(u)(a)(c)}function l(n,r,t,e,u,a,c,i){return 7===n.a?n.f(r,t,e,u,a,c,i):n(r)(t)(e)(u)(a)(c)(i)}var $=e(function(n,r,t){for(var e=[],u=0;n>u;u++)e[u]=t(r+u);return e}),p=t(function(n,r){for(var t=[],e=0;n>e&&r.b;e++)t[e]=r.a,r=r.b;return t.length=e,w(t,r)});function h(n){throw Error("https://github.com/elm/core/blob/1.0.0/hints/"+n+".md")}function g(n,r){for(var t,e=[],u=m(n,r,0,e);u&&(t=e.pop());u=m(t.a,t.b,0,e));return u}function m(n,r,t,e){if(n===r)return!0;if("object"!=typeof n||null===n||null===r)return"function"==typeof n&&h(5),!1;if(t>100)return e.push(w(n,r)),!0;for(var u in 0>n.$&&(n=Tr(n),r=Tr(r)),n)if(!m(n[u],r[u],t+1,e))return!1;return!0}function x(n,r,t){if("object"!=typeof n)return n===r?0:r>n?-1:1;if(void 0===n.$)return(t=x(n.a,r.a))?t:(t=x(n.b,r.b))?t:x(n.c,r.c);for(;n.b&&r.b&&!(t=x(n.a,r.a));n=n.b,r=r.b);return t||(n.b?1:r.b?-1:0)}var y=t(function(n,r){var t=x(n,r);return 0>t?zr:t?Sr:Ur});function w(n,r){return{a:n,b:r}}function k(n,r,t){return{a:n,b:r,c:t}}function A(n){return n}function E(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 j(n,r){if("string"==typeof n)return n+r;if(!n.b)return r;var t=C(n.a,r);n=n.b;for(var e=t;n.b;n=n.b)e=e.b=C(n.a,r);return t}var _={$:0};function C(n,r){return{$:1,a:n,b:r}}var N=t(C);function R(n){for(var r=_,t=n.length;t--;)r=C(n[t],r);return r}var L=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 R(e)}),O=t(function(n,r){return n+r}),T=t(function(n,r){var t=r%n;return 0===n?h(11):t>0&&0>n||0>t&&n>0?t+n:t}),U=Math.ceil,S=Math.floor,z=Math.round,D=Math.log,P=t(function(n,r){return n+r}),X=t(function(n,r){return r.split(n)}),M=t(function(n,r){return r.join(n)}),F=e(function(n,r,t){return t.slice(n,r)}),J=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(A(e)))return!1}return!0}),H=t(function(n,r){return r.indexOf(n)>-1}),I=t(function(n,r){return 0===r.indexOf(n)}),q=t(function(n,r){var t=n.length;if(1>t)return _;for(var e=0,u=[];(e=r.indexOf(n,e))>-1;)u.push(e),e+=t;return R(u)});function B(n){return n+""}function Y(n){return{$:2,b:n}}Y(function(n){return"number"!=typeof n?sn("an INT",n):n>-2147483647&&2147483647>n&&(0|n)===n?Fr(n):!isFinite(n)||n%1?sn("an INT",n):Fr(n)});var G=Y(function(n){return"boolean"==typeof n?Fr(n):sn("a BOOL",n)}),K=Y(function(n){return"number"==typeof n?Fr(n):sn("a FLOAT",n)}),Q=Y(function(n){return Fr(ln(n))}),W=Y(function(n){return"string"==typeof n?Fr(n):n instanceof String?Fr(n+""):sn("a STRING",n)}),V=t(function(n,r){return{$:6,d:n,b:r}});function Z(n,r){return{$:9,f:n,g:r}}var nn=t(function(n,r){return{$:10,b:r,h:n}}),rn=t(function(n,r){return Z(n,[r])}),tn=e(function(n,r,t){return Z(n,[r,t])}),en=t(function(n,r){try{return an(n,JSON.parse(r))}catch(n){return Dr(f(Pr,"This is not valid JSON! "+n.message,ln(r)))}}),un=t(function(n,r){return an(n,$n(r))});function an(n,r){switch(n.$){case 2:return n.b(r);case 5:return null===r?Fr(n.c):sn("null",r);case 3:return on(r)?cn(n.b,r,R):sn("a LIST",r);case 4:return on(r)?cn(n.b,r,fn):sn("an ARRAY",r);case 6:var t=n.d;if("object"!=typeof r||null===r||!(t in r))return sn("an OBJECT with a field named `"+t+"`",r);var e=an(n.b,r[t]);return Ot(e)?e:Dr(f(Xr,t,e.a));case 7:var u=n.e;return on(r)?r.length>u?(e=an(n.b,r[u]),Ot(e)?e:Dr(f(Mr,u,e.a))):sn("a LONGER array. Need index "+u+" but only see "+r.length+" entries",r):sn("an ARRAY",r);case 8:if("object"!=typeof r||null===r||on(r))return sn("an OBJECT",r);var a=_;for(var c in r)if(r.hasOwnProperty(c)){if(e=an(n.b,r[c]),!Ot(e))return Dr(f(Xr,c,e.a));a=C(w(c,e.a),a)}return Fr(st(a));case 9:for(var i=n.f,o=n.g,s=0;o.length>s;s++){if(e=an(o[s],r),!Ot(e))return e;i=i(e.a)}return Fr(i);case 10:return e=an(n.b,r),Ot(e)?an(n.h(e.a),r):e;case 11:for(var b=_,v=n.g;v.b;v=v.b){if(e=an(v.a,r),Ot(e))return e;b=C(e.a,b)}return Dr(Jr(st(b)));case 1:return Dr(f(Pr,n.a,ln(r)));case 0:return Fr(n.a)}}function cn(n,r,t){for(var e=r.length,u=[],a=0;e>a;a++){var c=an(n,r[a]);if(!Ot(c))return Dr(f(Mr,a,c.a));u[a]=c.a}return Fr(t(u))}function on(n){return Array.isArray(n)||"undefined"!=typeof FileList&&n instanceof FileList}function fn(n){return f(Lt,n.length,function(r){return n[r]})}function sn(n,r){return Dr(f(Pr,"Expecting "+n,ln(r)))}function bn(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 bn(n.b,r.b);case 6:return n.d===r.d&&bn(n.b,r.b);case 7:return n.e===r.e&&bn(n.b,r.b);case 9:return n.f===r.f&&vn(n.g,r.g);case 10:return n.h===r.h&&bn(n.b,r.b);case 11:return vn(n.g,r.g)}}function vn(n,r){var t=n.length;if(t!==r.length)return!1;for(var e=0;t>e;e++)if(!bn(n[e],r[e]))return!1;return!0}var dn=t(function(n,r){return JSON.stringify($n(r),null,n)+""});function ln(n){return n}function $n(n){return n}function pn(n){return{$:0,a:n}}function hn(n){return{$:2,b:n,c:null}}ln(null);var gn=t(function(n,r){return{$:3,b:n,d:r}}),mn=0;function xn(n){var r={$:0,e:mn++,f:n,g:null,h:[]};return jn(r),r}function yn(n){return hn(function(r){r(pn(xn(n)))})}function wn(n,r){n.h.push(r),jn(n)}var kn=t(function(n,r){return hn(function(t){wn(n,r),t(pn(0))})}),An=!1,En=[];function jn(n){if(En.push(n),!An){for(An=!0;n=En.shift();)_n(n);An=!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,jn(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 Cn={};function Nn(n,r,t,e,u){return{b:n,c:r,d:t,e:e,f:u}}function Rn(n,r){var t={g:r,h:void 0},e=n.c,u=n.d,a=n.e,c=n.f;function i(n){return f(gn,i,{$:5,b:function(r){var i=r.a;return 0===r.$?s(u,t,i,n):a&&c?b(e,t,i.i,i.j,n):s(e,t,a?i.i:i.j,n)}})}return t.h=xn(f(gn,i,n.b))}var Ln=t(function(n,r){return hn(function(t){n.g(r),t(pn(0))})}),On=t(function(n,r){return f(kn,n.h,{$:0,a:r})});function Tn(n){return function(r){return{$:1,k:n,l:r}}}function Un(n){return{$:2,m:n}}var Sn,zn=t(function(n,r){return{$:3,n:n,o:r}}),Dn=[],Pn=!1;function Xn(n,r,t){if(Dn.push({p:n,q:r,r:t}),!Pn){Pn=!0;for(var e;e=Dn.shift();)Mn(e.p,e.q,e.r);Pn=!1}}function Mn(n,r,t){var e={};for(var u in Fn(!0,r,e,null),Fn(!1,t,e,null),n)wn(n[u],{$:"fx",a:e[u]||{i:_,j:_}})}function Fn(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.t)n=r.s(n);return n}return f(n?Cn[t].e:Cn[t].f,u,r.l)}(n,u,e);return void(t[u]=function(n,r,t){return t=t||{i:_,j:_},n?t.i=C(r,t.i):t.j=C(r,t.j),t}(n,a,t[u]));case 2:for(var c=r.m;c.b;c=c.b)Fn(n,c.a,t,e);return;case 3:return void Fn(n,r.o,t,{s:r.n,t:e})}}var Jn="undefined"!=typeof document?document:{};function Hn(n,r){n.appendChild(r)}function In(n){return{$:0,a:n}}var qn=t(function(n,r){return t(function(t,e){for(var u=[],a=0;e.b;e=e.b){var c=e.a;a+=c.b||0,u.push(c)}return a+=u.length,{$:1,c:r,d:Vn(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 c=e.a;a+=c.b.b||0,u.push(c)}return a+=u.length,{$:2,c:r,d:Vn(t),e:u,f:n,b:a}})})(void 0);var Bn,Yn=t(function(n,r){return{$:4,j:n,k:r,b:1+(r.b||0)}}),Gn=t(function(n,r){return{$:"a0",n:n,o:r}}),Kn=t(function(n,r){return{$:"a1",n:n,o:r}}),Qn=t(function(n,r){return{$:"a2",n:n,o:r}}),Wn=t(function(n,r){return{$:"a3",n:n,o:r}});function Vn(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 c=r[e]||(r[e]={});"a3"===e&&"class"===u?Zn(c,u,a):c[u]=a}else"className"===u?Zn(r,u,$n(a)):r[u]=$n(a)}return r}function Zn(n,r,t){var e=n[r];n[r]=e?e+" "+t:t}function nr(n,r){var t=n.$;if(5===t)return nr(n.k||(n.k=n.m()),r);if(0===t)return Jn.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(c=nr(e,a)).elm_event_node_ref=a,c}if(3===t)return rr(c=n.h(n.g),r,n.d),c;var c=n.f?Jn.createElementNS(n.f,n.c):Jn.createElement(n.c);Sn&&"a"==n.c&&c.addEventListener("click",Sn(c)),rr(c,r,n.d);for(var i=n.e,o=0;i.length>o;o++)Hn(c,nr(1===t?i[o]:i[o].b,r));return c}function rr(n,r,t){for(var e in t){var u=t[e];"a1"===e?tr(n,u):"a0"===e?ar(n,r,u):"a3"===e?er(n,u):"a4"===e?ur(n,u):("value"!==e&&"checked"!==e||n[e]!==u)&&(n[e]=u)}}function tr(n,r){var t=n.style;for(var e in r)t[e]=r[e]}function er(n,r){for(var t in r){var e=r[t];void 0!==e?n.setAttribute(t,e):n.removeAttribute(t)}}function ur(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 ar(n,r,t){var e=n.elmFs||(n.elmFs={});for(var u in t){var a=t[u],c=e[u];if(a){if(c){if(c.q.$===a.$){c.q=a;continue}n.removeEventListener(u,c)}c=cr(r,a),n.addEventListener(u,c,Bn&&{passive:2>Dt(a)}),e[u]=c}else n.removeEventListener(u,c),e[u]=void 0}}try{window.addEventListener("t",null,Object.defineProperty({},"passive",{get:function(){Bn=!0}}))}catch(n){}function cr(n,r){function t(r){var e=t.q,u=an(e.a,r);if(Ot(u)){for(var a,c=Dt(e),i=u.a,o=c?3>c?i.a:i.B:i,f=1==c?i.b:3==c&&i.aL,s=(f&&r.stopPropagation(),(2==c?i.b:3==c&&i.ay)&&r.preventDefault(),n);a=s.j;){if("function"==typeof a)o=a(o);else for(var b=a.length;b--;)o=a[b](o);s=s.p}s(o,f)}}return t.q=r,t}function ir(n,r){return n.$==r.$&&bn(n.a,r.a)}function or(n,r,t,e){var u={$:r,r:t,s:e,t:void 0,u:void 0};return n.push(u),u}function fr(n,r,t,e){if(n!==r){var u=n.$,a=r.$;if(u!==a){if(1!==u||2!==a)return void or(t,0,e,r);r=function(n){for(var r=n.e,t=r.length,e=[],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 c=n.l,i=r.l,o=c.length,f=o===i.length;f&&o--;)f=c[o]===i[o];if(f)return void(r.k=n.k);r.k=r.m();var s=[];return fr(n.k,r.k,s,0),void(s.length>0&&or(t,1,e,s));case 4:for(var b=n.j,v=r.j,d=!1,l=n.k;4===l.$;)d=!0,"object"!=typeof b?b=[b,l.j]:b.push(l.j),l=l.k;for(var $=r.k;4===$.$;)d=!0,"object"!=typeof v?v=[v,$.j]:v.push($.j),$=$.k;return d&&b.length!==v.length?void or(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}(b,v):b===v)||or(t,2,e,v),void fr(l,$,t,e+1));case 0:return void(n.a!==r.a&&or(t,3,e,r.a));case 1:return void sr(n,r,t,e,vr);case 2:return void sr(n,r,t,e,dr);case 3:if(n.h!==r.h)return void or(t,0,e,r);var p=br(n.d,r.d);p&&or(t,4,e,p);var h=r.i(n.g,r.g);return void(h&&or(t,5,e,h))}}}function sr(n,r,t,e,u){if(n.c===r.c&&n.f===r.f){var a=br(n.d,r.d);a&&or(t,4,e,a),u(n,r,t,e)}else or(t,0,e,r)}function br(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],c=r[u];a===c&&"value"!==u&&"checked"!==u||"a0"===t&&ir(a,c)||((e=e||{})[u]=c)}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 i=br(n[u],r[u]||{},u);i&&((e=e||{})[u]=i)}for(var o in r)o in n||((e=e||{})[o]=r[o]);return e}function vr(n,r,t,e){var u=n.e,a=r.e,c=u.length,i=a.length;c>i?or(t,6,e,{v:i,i:c-i}):i>c&&or(t,7,e,{v:c,e:a});for(var o=i>c?c:i,f=0;o>f;f++){var s=u[f];fr(s,a[f],t,++e),e+=s.b||0}}function dr(n,r,t,e){for(var u=[],a={},c=[],i=n.e,o=r.e,f=i.length,s=o.length,b=0,v=0,d=e;f>b&&s>v;){var l=(j=i[b]).a,$=(_=o[v]).a,p=j.b,h=_.b,g=void 0,m=void 0;if(l!==$){var x=i[b+1],y=o[v+1];if(x){var w=x.a,k=x.b;m=$===w}if(y){var A=y.a,E=y.b;g=l===A}if(g&&m)fr(p,E,u,++d),$r(a,u,l,h,v,c),d+=p.b||0,pr(a,u,l,k,++d),d+=k.b||0,b+=2,v+=2;else if(g)d++,$r(a,u,$,h,v,c),fr(p,E,u,d),d+=p.b||0,b+=1,v+=2;else if(m)pr(a,u,l,p,++d),d+=p.b||0,fr(k,h,u,++d),d+=k.b||0,b+=2,v+=1;else{if(!x||w!==A)break;pr(a,u,l,p,++d),$r(a,u,$,h,v,c),d+=p.b||0,fr(k,E,u,++d),d+=k.b||0,b+=2,v+=2}}else fr(p,h,u,++d),d+=p.b||0,b++,v++}for(;f>b;){var j;pr(a,u,(j=i[b]).a,p=j.b,++d),d+=p.b||0,b++}for(;s>v;){var _,C=C||[];$r(a,u,(_=o[v]).a,_.b,void 0,C),v++}(u.length>0||c.length>0||C)&&or(t,8,e,{w:u,x:c,y:C})}var lr="_elmW6BL";function $r(n,r,t,e,u,a){var c=n[t];if(!c)return a.push({r:u,A:c={c:0,z:e,r:u,s:void 0}}),void(n[t]=c);if(1===c.c){a.push({r:u,A:c}),c.c=2;var i=[];return fr(c.z,e,i,c.r),c.r=u,void(c.s.s={w:i,A:c})}$r(n,r,t+lr,e,u,a)}function pr(n,r,t,e,u){var a=n[t];if(a){if(0===a.c){a.c=2;var c=[];return fr(e,a.z,c,u),void or(r,9,u,{w:c,A:a})}pr(n,r,t+lr,e,u)}else{var i=or(r,9,u,void 0);n[t]={c:1,z:e,r:u,s:i}}}function hr(n,r,t,e){return 0===t.length?n:(function n(r,t,e,u){!function r(t,e,u,a,c,i,o){for(var f=u[a],s=f.r;s===c;){var b=f.$;if(1===b)n(t,e.k,f.s,o);else if(8===b)f.t=t,f.u=o,(v=f.s.w).length>0&&r(t,e,v,0,c,i,o);else if(9===b){f.t=t,f.u=o;var v,d=f.s;d&&(d.A.s=t,(v=d.w).length>0&&r(t,e,v,0,c,i,o))}else f.t=t,f.u=o;if(!(f=u[++a])||(s=f.r)>i)return a}var l=e.$;if(4===l){for(var $=e.k;4===$.$;)$=$.k;return r(t,$,u,a,c+1,i,t.elm_event_node_ref)}for(var p=e.e,h=t.childNodes,g=0;p.length>g;g++){var m=1===l?p[g]:p[g].b,x=++c+(m.b||0);if(!(c>s||s>x||(f=u[a=r(h[g],m,u,a,c,x,o)])&&(s=f.r)<=i))return a;c=x}return a}(r,t,e,0,0,t.b,u)}(n,r,t,e),gr(n,t))}function gr(n,r){for(var t=0;r.length>t;t++){var e=r[t],u=e.t,a=mr(u,e);u===n&&(n=a)}return n}function mr(n,r){switch(r.$){case 0:return function(n){var t=n.parentNode,e=nr(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 rr(n,r.u,r.s),n;case 3:return n.replaceData(0,n.length,r.s),n;case 1:return gr(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(nr(u[e],r.u),a);return n;case 9:if(!(t=r.s))return n.parentNode.removeChild(n),n;var c=t.A;return void 0!==c.r&&n.parentNode.removeChild(n),c.s=gr(n,t.w),n;case 8:return function(n,r){var t=r.s,e=function(n,r){if(n){for(var t=Jn.createDocumentFragment(),e=0;n.length>e;e++){var u=n[e].A;Hn(t,2===u.c?u.s:nr(u.z,r.u))}return t}}(t.y,r);n=gr(n,t.w);for(var u=t.x,a=0;u.length>a;a++){var c=u[a],i=c.A,o=2===i.c?i.s:nr(i.z,r.u);n.insertBefore(o,n.childNodes[c.r])}return e&&Hn(n,e),n}(n,r);case 5:return r.s(n);default:h(10)}}var xr=u(function(n,r,t,e){return function(n,r,t,e,u,a){var c=f(un,n,ln(r?r.flags:void 0));Ot(c)||h(2);var i={},o=t(c.a),s=o.a,b=a(d,s),v=function(n,r){var t;for(var e in Cn){var u=Cn[e];u.a&&((t=t||{})[e]=u.a(e,r)),n[e]=Rn(u,r)}return t}(i,d);function d(n,r){var t=f(e,n,s);b(s=t.a,r),Xn(i,t.b,u(s))}return Xn(i,o.b,u(s)),v?{ports:v}:{}}(r,e,n.ci,n.cX,n.cM,function(r,t){var e=n.aD&&n.aD(r),u=n.cY,a=Jn.title,c=Jn.body,i=function n(r){if(3===r.nodeType)return In(r.textContent);if(1!==r.nodeType)return In("");for(var t=_,e=r.attributes,u=e.length;u--;){var a=e[u];t=C(f(Wn,a.name,a.value),t)}var c=r.tagName.toLowerCase(),i=_,o=r.childNodes;for(u=o.length;u--;)i=C(n(o[u]),i);return s(qn,c,t,i)}(c);return function(n,r){r(n);var t=0;function e(){t=1===t?0:(yr(e),r(n),1)}return function(u,a){n=u,a?(r(n),2===t&&(t=1)):(0===t&&yr(e),t=2)}}(t,function(n){Sn=e;var t=u(n),o=qn("body")(_)(t.aU),f=function(n,r){var t=[];return fr(n,r,t,0),t}(i,o);c=hr(c,i,f,r),i=o,Sn=0,a!==t.bN&&(Jn.title=a=t.bN)})})}),yr=("undefined"!=typeof cancelAnimationFrame&&cancelAnimationFrame,"undefined"!=typeof requestAnimationFrame?requestAnimationFrame:function(n){return setTimeout(n,1e3/60)});function wr(){return Zt(Jn.location.href).a||h(1)}var kr=t(function(n,r){return f(he,ne,hn(function(){history.pushState({},"",r),n()}))}),Ar=("undefined"!=typeof document&&document,"undefined"!=typeof window?window:{addEventListener:function(){},removeEventListener:function(){}}),Er=a(function(n,r,t,e,u){for(var a=n.length,c=u.length>=r+a,i=0;c&&a>i;){var o=u.charCodeAt(r);c=n[i++]===u[r++]&&(10===o?(t++,e=1):(e++,55296==(63488&o)?n[i++]===u[r++]:1))}return k(c?r:-1,t,e)}),jr=e(function(n,r,t){return t.length>r?55296==(63488&t.charCodeAt(r))?n(A(t.substr(r,2)))?r+2:-1:n(A(t[r]))?"\n"===t[r]?-2:r+1:-1:-1}),_r=e(function(n,r,t){return hn(function(e){function u(n){e(r(t.am.a(n)))}var a=new XMLHttpRequest;a.addEventListener("error",function(){u(Ta)}),a.addEventListener("timeout",function(){u(za)}),a.addEventListener("load",function(){u(function(n,r){return f(r.status>=200&&300>r.status?Oa:Ra,function(n){return{aP:n.responseURL,cK:n.status,cL:n.statusText,a6:Cr(n.getAllResponseHeaders())}}(r),n(r.response))}(t.am.b,a))}),Da(t.bO)&&function(n,r,t){r.upload.addEventListener("progress",function(e){r.c||xn(f(Pa,n,w(t,Sa({cJ:e.loaded,bG:e.total}))))}),r.addEventListener("progress",function(e){r.c||xn(f(Pa,n,w(t,Ua({cF:e.loaded,bG:e.lengthComputable?Ir(e.total):qr}))))})}(n,a,t.bO.a);try{a.open(t.cm,t.aP,!0)}catch(n){return u(La(t.aP))}return function(n,r){for(var t=r.a6;t.b;t=t.b)n.setRequestHeader(t.a.a,t.a.b);n.timeout=r.cP.a||0,n.responseType=r.am.d,n.withCredentials=r.bX}(a,t),t.aU.a&&a.setRequestHeader("Content-Type",t.aU.a),a.send(t.aU.b),function(){a.c=!0,a.abort()}})});function Cr(n){if(!n)return Be;for(var r=Be,t=n.split("\r\n"),e=t.length;e--;){var u=t[e],a=u.indexOf(": ");if(a>0){var c=u.substring(0,a),i=u.substring(a+2);r=s(Ie,c,function(n){return Ir(Da(n)?i+", "+n.a:i)},r)}}return r}var Nr=e(function(n,r,t){return{$:0,d:n,b:r,a:t}}),Rr=t(function(n,r){return{$:0,d:r.d,b:r.b,a:function(t){return n(r.a(t))}}}),Lr=N,Or=e(function(n,r,t){for(;;){if(-2===t.$)return r;var e=t.d,u=n,a=s(n,t.b,t.c,s(Or,n,r,t.e));n=u,r=a,t=e}}),Tr=function(n){return s(Or,e(function(n,r,t){return f(Lr,w(n,r),t)}),_,n)},Ur=1,Sr=2,zr=0,Dr=function(n){return{$:1,a:n}},Pr=t(function(n,r){return{$:3,a:n,b:r}}),Xr=t(function(n,r){return{$:0,a:n,b:r}}),Mr=t(function(n,r){return{$:1,a:n,b:r}}),Fr=function(n){return{$:0,a:n}},Jr=function(n){return{$:2,a:n}},Hr=O,Ir=function(n){return{$:0,a:n}},qr={$:1},Br=J,Yr=dn,Gr=B,Kr=t(function(n,r){return f(M,n,function(n){for(var r=[];n.b;n=n.b)r.push(n.a);return r}(r))}),Qr=t(function(n,r){return R(f(X,n,r))}),Wr=function(n){return f(Kr,"\n ",f(Qr,"\n",n))},Vr=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}}),Zr=function(n){return s(Vr,t(function(n,r){return r+1}),0,n)},nt=L,rt=e(function(n,r,t){for(;;){if(x(n,r)>=1)return t;var e=n,u=r-1,a=f(Lr,r,t);n=e,r=u,t=a}}),tt=t(function(n,r){return s(rt,n,r,_)}),et=t(function(n,r){return s(nt,n,f(tt,0,Zr(r)-1),r)}),ut=function(n){var r=n.charCodeAt(0);return 55296>r||r>56319?r:1024*(r-55296)+n.charCodeAt(1)-56320+65536},at=function(n){var r=ut(n);return r>=97&&122>=r},ct=function(n){var r=ut(n);return 90>=r&&r>=65},it=function(n){return at(n)||ct(n)},ot=function(n){var r=ut(n);return 57>=r&&r>=48},ft=function(n){return at(n)||ct(n)||ot(n)},st=function(n){return s(Vr,Lr,_,n)},bt=t(function(n,r){return"\n\n("+Gr(n+1)+") "+Wr(vt(r))}),vt=function(n){return f(dt,n,_)},dt=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),isNaN(r)?qr:Ir(55296>r||r>56319?w(A(n[0]),n.slice(1)):w(A(n[0]+n[1]),n.slice(2))));if(1===e.$)return!1;var u=e.a,a=u.b;return it(u.a)&&f(Br,ft,a)}();n=e,r=f(Lr,u?"."+t:"['"+t+"']",r);continue n;case 1:e=n.b;var a="["+Gr(n.a)+"]";n=e,r=f(Lr,a,r);continue n;case 2:var c=n.a;if(c.b){if(c.b.b){var i=(r.b?"The Json.Decode.oneOf at json"+f(Kr,"",st(r)):"Json.Decode.oneOf")+" failed in the following "+Gr(Zr(c))+" ways:";return f(Kr,"\n\n",f(Lr,i,f(et,bt,c)))}n=e=c.a,r=r;continue n}return"Ran into a Json.Decode.oneOf with no possibilities"+(r.b?" at json"+f(Kr,"",st(r)):"!");default:var o=n.a,s=n.b;return(i=r.b?"Problem with the value at json"+f(Kr,"",st(r))+":\n\n ":"Problem with the given value:\n\n")+Wr(f(Yr,4,s))+"\n\n"+o}}),lt=u(function(n,r,t,e){return{$:0,a:n,b:r,c:t,d:e}}),$t=[],pt=U,ht=t(function(n,r){return D(r)/D(n)}),gt=pt(f(ht,2,32)),mt=b(lt,0,gt,$t,$t),xt=$,yt=t(function(n,r){return n(r)}),wt=t(function(n,r){return r(n)}),kt=S,At=function(n){return n.length},Et=t(function(n,r){return x(n,r)>0?n:r}),jt=p,_t=t(function(n,r){for(;;){var t=f(jt,32,n),e=t.b,u=f(Lr,{$:0,a:t.a},r);if(!e.b)return st(u);n=e,r=u}}),Ct=t(function(n,r){for(;;){var t=pt(r/32);if(1===t)return f(jt,32,n).a;n=f(_t,n,_),r=t}}),Nt=t(function(n,r){if(r.f){var t=32*r.f,e=kt(f(ht,32,t-1)),u=n?st(r.i):r.i,a=f(Ct,u,r.f);return b(lt,At(r.h)+t,f(Et,5,e*gt),a,r.h)}return b(lt,At(r.h),gt,$t,r.h)}),Rt=a(function(n,r,t,e,u){for(;;){if(0>r)return f(Nt,!1,{i:e,f:t/32|0,h:u});var a={$:1,a:s(xt,32,r,n)};n=n,r-=32,t=t,e=f(Lr,a,e),u=u}}),Lt=t(function(n,r){if(n>0){var t=n%32;return v(Rt,r,n-t-32,n,_,s(xt,t,n-t,r))}return mt}),Ot=function(n){return!n.$},Tt=nn,Ut=rn,St=tn,zt=function(n){return{$:0,a:n}},Dt=function(n){switch(n.$){case 0:return 0;case 1:return 1;case 2:return 2;default:return 3}},Pt=function(n){return n},Xt=c(function(n,r,t,e,u,a){return{a3:a,a9:r,ah:e,bp:t,bt:n,bu:u}}),Mt=H,Ft=function(n){return n.length},Jt=F,Ht=t(function(n,r){return 1>n?r:s(Jt,n,Ft(r),r)}),It=q,qt=function(n){return""===n},Bt=t(function(n,r){return 1>n?"":s(Jt,0,n,r)}),Yt=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 qr;r=10*r+a-48}return u==e?qr:Ir(45==t?-r:r)},Gt=a(function(n,r,t,e,u){if(qt(u)||f(Mt,"@",u))return qr;var a=f(It,":",u);if(a.b){if(a.b.b)return qr;var c=a.a,i=Yt(f(Ht,c+1,u));if(1===i.$)return qr;var o=i;return Ir(d(Xt,n,f(Bt,c,u),o,r,t,e))}return Ir(d(Xt,n,u,qr,r,t,e))}),Kt=u(function(n,r,t,e){if(qt(e))return qr;var u=f(It,"/",e);if(u.b){var a=u.a;return v(Gt,n,f(Ht,a,e),r,t,f(Bt,a,e))}return v(Gt,n,"/",r,t,e)}),Qt=e(function(n,r,t){if(qt(t))return qr;var e=f(It,"?",t);if(e.b){var u=e.a;return b(Kt,n,Ir(f(Ht,u+1,t)),r,f(Bt,u,t))}return b(Kt,n,qr,r,t)}),Wt=t(function(n,r){if(qt(r))return qr;var t=f(It,"#",r);if(t.b){var e=t.a;return s(Qt,n,Ir(f(Ht,e+1,r)),f(Bt,e,r))}return s(Qt,n,qr,r)}),Vt=I,Zt=function(n){return f(Vt,"http://",n)?f(Wt,0,f(Ht,7,n)):f(Vt,"https://",n)?f(Wt,1,f(Ht,8,n)):qr},ne=function(n){for(;;)n=n},re=pn,te=re(0),ee=u(function(n,r,t,e){if(e.b){var u=e.a,a=e.b;if(a.b){var c=a.a,i=a.b;if(i.b){var o=i.a,v=i.b;if(v.b){var d=v.b;return f(n,u,f(n,c,f(n,o,f(n,v.a,t>500?s(Vr,n,r,st(d)):b(ee,n,r,t+1,d)))))}return f(n,u,f(n,c,f(n,o,r)))}return f(n,u,f(n,c,r))}return f(n,u,r)}return r}),ue=e(function(n,r,t){return b(ee,n,r,0,t)}),ae=t(function(n,r){return s(ue,t(function(r,t){return f(Lr,n(r),t)}),_,r)}),ce=gn,ie=t(function(n,r){return f(ce,function(r){return re(n(r))},r)}),oe=e(function(n,r,t){return f(ce,function(r){return f(ce,function(t){return re(f(n,r,t))},t)},r)}),fe=function(n){return s(ue,oe(Lr),re(_),n)},se=Ln,be=t(function(n,r){var t=r;return yn(f(ce,se(n),t))});Cn.Task=Nn(te,e(function(n,r){return f(ie,function(){return 0},fe(f(ae,be(n),r)))}),e(function(){return re(0)}),t(function(n,r){return f(ie,n,r)}));var ve,de,le,$e,pe=Tn("Task"),he=t(function(n,r){return pe(f(ie,n,r))}),ge={$:0},me=e(function(n,r,t){return{aR:r,az:t,aC:n}}),xe=u(function(n,r,t,e){return 1===r.$?qr:1===t.$?qr:1===e.$?qr:Ir(s(n,r.a,t.a,e.a))}),ye={L:""},we=function(n){return{$:3,a:n}},ke=function(n){return{$:4,a:n}},Ae=function(n){return{$:1,a:n}},Ee=function(n){return{$:2,a:n}},je=a(function(n,r,t,e,u){return{E:e,F:t,D:r,z:u,H:n}}),_e=function(n){return n.b&&(""!==n.a||n.b.b)?f(Lr,n.a,_e(n.b)):_},Ce=t(function(n,r){return Ir(1===r.$?R([n]):f(Lr,n,r.a))}),Ne=function(n){try{return Ir(decodeURIComponent(n))}catch(n){return qr}},Re=y,Le=t(function(n,r){n:for(;;){if(-2===r.$)return qr;var t=r.c,e=r.d,u=r.e;switch(f(Re,n,r.b)){case 0:n=n,r=e;continue n;case 1:return Ir(t);default:n=n,r=u;continue n}}}),Oe=a(function(n,r,t,e,u){return{$:-1,a:n,b:r,c:t,d:e,e:u}}),Te={$:-2},Ue=a(function(n,r,t,e,u){if(-1!==u.$||u.a){if(-1!==e.$||e.a||-1!==e.d.$||e.d.a)return v(Oe,n,r,t,e,u);var a=e.d;return c=e.e,v(Oe,0,e.b,e.c,v(Oe,1,a.b,a.c,a.d,a.e),v(Oe,1,r,t,c,u))}var c,i=u.b,o=u.c,f=u.d,s=u.e;return-1!==e.$||e.a?v(Oe,n,i,o,v(Oe,0,r,t,e,f),s):v(Oe,0,r,t,v(Oe,1,e.b,e.c,e.d,c=e.e),v(Oe,1,i,o,f,s))}),Se=e(function(n,r,t){if(-2===t.$)return v(Oe,0,n,r,Te,Te);var e=t.a,u=t.b,a=t.c,c=t.d,i=t.e;switch(f(Re,n,u)){case 0:return v(Ue,e,u,a,s(Se,n,r,c),i);case 1:return v(Oe,e,u,r,c,i);default:return v(Ue,e,u,a,c,s(Se,n,r,i))}}),ze=e(function(n,r,t){var e=s(Se,n,r,t);return-1!==e.$||e.a?e:v(Oe,1,e.b,e.c,e.d,e.e)}),De=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 c=t.b,i=t.c,e=t.d,s=t.e,v(Oe,1,n.b,n.c,v(Oe,0,r.b,r.c,r.d,r.e),v(Oe,0,c,i,e,s))}var e,u=n.d,a=n.e,c=a.b,i=a.c,o=(e=a.d).d,f=e.e,s=a.e;return v(Oe,0,e.b,e.c,v(Oe,1,n.b,n.c,v(Oe,0,u.b,u.c,u.d,u.e),o),v(Oe,1,c,i,f,s))}return n},Pe=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 f=t.b,s=t.c,b=t.d,d=t.e,v(Oe,1,e=n.b,u=n.c,v(Oe,0,r.b,r.c,r.d,i=r.e),v(Oe,0,f,s,b,d))}var e=n.b,u=n.c,a=n.d,c=a.d,i=a.e,o=n.e,f=o.b,s=o.c,b=o.d,d=o.e;return v(Oe,0,a.b,a.c,v(Oe,1,c.b,c.c,c.d,c.e),v(Oe,1,e,u,i,v(Oe,0,f,s,b,d)))}return n},Xe=i(function(n,r,t,e,u,a,c){if(-1!==a.$||a.a){n:for(;;){if(-1===c.$&&1===c.a){if(-1===c.d.$){if(1===c.d.a)return Pe(r);break n}return Pe(r)}break n}return r}return v(Oe,t,a.b,a.c,a.d,v(Oe,0,e,u,a.e,c))}),Me=function(n){if(-1===n.$&&-1===n.d.$){var r=n.a,t=n.b,e=n.c,u=n.d,a=u.d,c=n.e;if(1===u.a){if(-1!==a.$||a.a){var i=De(n);if(-1===i.$){var o=i.e;return v(Ue,i.a,i.b,i.c,Me(i.d),o)}return Te}return v(Oe,r,t,e,Me(u),c)}return v(Oe,r,t,e,Me(u),c)}return Te},Fe=t(function(n,r){if(-2===r.$)return Te;var t=r.a,e=r.b,u=r.c,a=r.d,c=r.e;if(0>x(n,e)){if(-1===a.$&&1===a.a){var i=a.d;if(-1!==i.$||i.a){var o=De(r);if(-1===o.$){var s=o.e;return v(Ue,o.a,o.b,o.c,f(Fe,n,o.d),s)}return Te}return v(Oe,t,e,u,f(Fe,n,a),c)}return v(Oe,t,e,u,f(Fe,n,a),c)}return f(Je,n,l(Xe,n,r,t,e,u,a,c))}),Je=t(function(n,r){if(-1===r.$){var t=r.a,e=r.b,u=r.c,a=r.d,c=r.e;if(g(n,e)){var i=function(n){for(;;){if(-1!==n.$||-1!==n.d.$)return n;n=n.d}}(c);return-1===i.$?v(Ue,t,i.b,i.c,a,Me(c)):Te}return v(Ue,t,e,u,a,f(Fe,n,c))}return Te}),He=t(function(n,r){var t=f(Fe,n,r);return-1!==t.$||t.a?t:v(Oe,1,t.b,t.c,t.d,t.e)}),Ie=e(function(n,r,t){var e=r(f(Le,n,t));return e.$?f(He,n,t):s(ze,n,e.a,t)}),qe=t(function(n,r){var t=f(Qr,"=",n);if(t.b&&t.b.b&&!t.b.b.b){var e=t.b.a,u=Ne(t.a);if(1===u.$)return r;var a=u.a,c=Ne(e);return 1===c.$?r:s(Ie,a,Ce(c.a),r)}return r}),Be=Te,Ye=t(function(n,r){var t;return function(n){n:for(;;){if(n.b){var r=n.a,t=r.D;if(t.b){if(""!==t.a||t.b.b){n=n.b;continue n}return Ir(r.z)}return Ir(r.z)}return qr}}(n(v(je,_,function(){var n=f(Qr,"/",r.ah);return _e(n.b&&""===n.a?n.b:n)}(),1===(t=r.bu).$?Be:s(ue,qe,Be,f(Qr,"&",t.a)),r.a3,Pt)))}),Ge=function(n){return{$:0,a:n}},Ke=function(n){return{$:1,a:n}},Qe=t(function(n,r){return v(je,r.H,r.D,r.F,r.E,n(r.z))}),We=t(function(n,r){var t=r;return function(r){var e=r.H,u=r.D,a=r.F,c=r.E;return f(ae,Qe(r.z),t(v(je,e,u,a,c,n)))}}),Ve=t(function(n,r){return r.b?s(ue,Lr,r,n):n}),Ze=t(function(n,r){return s(ue,Ve,_,f(ae,n,r))}),nu=function(n){return function(r){var t=r.H,e=r.D,u=r.F,a=r.E,c=r.z;if(e.b){var i=e.a,o=e.b;return g(i,n)?R([v(je,f(Lr,i,t),o,u,a,c)]):_}return _}},ru=t(function(n,r){var t=n,e=r;return function(n){return f(Ze,e,t(n))}}),tu=f(t(function(n,r){return function(n){var t=n.H,e=n.D,u=n.F,a=n.E,c=n.z;if(e.b){var i=e.a,o=e.b,s=r(i);if(s.$)return _;var b=s.a;return R([v(je,f(Lr,i,t),o,u,a,c(b))])}return _}}),"STRING",Ir),eu=function(n){return R([n])},uu=(ve=R([f(We,Ge("all"),eu),f(We,Ge,f(ru,nu("streams"),tu)),f(We,Ke,f(ru,nu("events"),tu))]),function(n){return f(Ze,function(r){return r(n)},ve)}),au=t(function(n,r){return E(r,{ah:f(Ht,Ft(n.ah),r.ah)})}),cu=t(function(n,r){return f(Ye,uu,f(au,n,r))}),iu=function(n){return{$:2,a:n}},ou=o(function(n,r,t,e,u,a,c,i,o){return{b_:c,b3:a,b4:t,b8:r,b9:n,cC:o,cD:e,cE:u,cW:i}}),fu=function(n){return function(n){switch(n.$){case 0:return"expecting '"+n.a+"'";case 1:return"expecting int";case 2:return"expecting hex";case 3:return"expecting octal";case 4:return"expecting binary";case 5:return"expecting float";case 6:return"expecting number";case 7:return"expecting variable";case 8:return"expecting symbol '"+n.a+"'";case 9:return"expecting keyword '"+n.a+"'";case 10:return"expecting end";case 11:return"unexpected char";case 12:return"problem "+n.a;default:return"bad repeat"}}(n.br)+" at row "+Gr(n.bA)+", col "+Gr(n.aX)},su=t(function(n,r){if(r.b){var e=r.b;return f(Lr,r.a,s(ue,t(function(r,t){return f(Lr,n,f(Lr,r,t))}),_,e))}return _}),bu=function(n){return{$:1,a:n}},vu=W,du=t(function(n,r){return{$:1,a:n,b:r}}),lu=e(function(n,r,t){return{$:0,a:n,b:r,c:t}}),$u=t(function(n,r){var t=r;return function(r){var e=t(r);if(1===e.$)return f(du,e.a,e.b);var u=e.a,a=e.c,c=n(e.b)(a);if(1===c.$){var i=c.a;return f(du,u||i,c.b)}return i=c.a,s(lu,u||i,c.b,c.c)}}),pu=t(function(n,r){return{$:1,a:n,b:r}}),hu=u(function(n,r,t,e){return{aX:r,b2:e,br:t,bA:n}}),gu={$:0},mu=t(function(n,r){return f(pu,gu,b(hu,n.bA,n.aX,r,n.c))}),xu=(de={$:10},function(n){return g(Ft(n.a),n.b)?s(lu,!1,0,n):f(du,!1,f(mu,n,de))}),yu=jr,wu=a(function(n,r,t,e,u){for(;;){var a=s(yu,n,r,u.a);if(g(a,-1))return s(lu,0>x(u.b,r),0,{aX:e,c:u.c,d:u.d,b:r,bA:t,a:u.a});g(a,-2)?(n=n,r+=1,t+=1,e=1,u=u):(n=n,r=a,t=t,e+=1,u=u)}}),ku=t(function(n){return n}),Au=t(function(n,r){var t=r;return function(r){var e=t(r);if(1===e.$)return f(du,e.a,e.b);var u=e.b,a=e.c;return s(lu,e.a,f(n,s(Jt,r.b,a.b,r.a),u),a)}}),Eu=function(n){return f(Au,ku,n)},ju=function(n){return r={$:12,a:n},function(n){return f(du,!1,f(mu,n,r))};var r},_u=z,Cu=function(n){return function(r){return s(lu,!1,n,r)}},Nu=f($u,function(n){if(Ft(n)>9)return ju("Expected at most 9 digits, but got "+Gr(Ft(n)));var r=function(n){if(0===n.length||/[\sxbo]/.test(n))return qr;var r=+n;return r==r?Ir(r):qr}("0."+n);return r.$?ju('Invalid float: "'+n+'"'):Cu(_u(1e3*r.a))},Eu(($e=ot,function(n){return v(wu,$e,n.b,n.bA,n.aX,n)}))),Ru=Pt,Lu=c(function(n,r,t,e,u,a){return Ru(n+60*r*60*1e3+60*(t-a)*1e3+1e3*e+u)}),Ou=e(function(n,r,t){var e=r,u=t;return function(r){var t=e(r);if(1===t.$)return f(du,t.a,t.b);var a=t.a,c=t.b,i=u(t.c);if(1===i.$){var o=i.a;return f(du,a||o,i.b)}o=i.a;var b=i.c;return s(lu,a||o,f(n,c,i.b),b)}}),Tu=t(function(n,r){return s(Ou,ku,n,r)}),Uu=t(function(n,r){return s(Ou,yt,n,r)}),Su=t(function(n,r){return{$:2,a:n,b:r}}),zu=e(function(n,r,t){n:for(;;){if(t.b){var e=t.b,u=(0,t.a)(n);if(u.$){var a;if((a=u).a)return a;n=n,r=f(Su,r,a.b),t=e;continue n}return u}return f(du,!1,r)}}),Du=function(n){return function(r){return s(zu,r,gu,n)}},Pu=function(n){return{$:1,a:n}},Xu=P,Mu={$:11},Fu=t(function(n,r){return function(t){var e=s(yu,n,t.b,t.a);return g(e,-1)?f(du,!1,f(mu,t,r)):g(e,-2)?s(lu,!0,0,{aX:1,c:t.c,d:t.d,b:t.b+1,bA:t.bA+1,a:t.a}):s(lu,!0,0,{aX:t.aX+1,c:t.c,d:t.d,b:e,bA:t.bA,a:t.a})}}),Ju=u(function(n,r,t,e){for(;;){var u=t(r)(e);if(u.$)return a=u.a,f(du,n||a,u.b);var a=u.a,c=u.b,i=u.c;if(c.$)return s(lu,n||a,c.a,i);n=n||a,r=c.a,t=t,e=i}}),Hu=t(function(n,r){return function(t){return b(Ju,!1,n,r,t)}}),Iu=t(function(n,r){var t=r;return function(r){var e=t(r);if(e.$)return f(du,e.a,e.b);var u=e.c;return s(lu,e.a,n(e.b),u)}}),qu=function(n){return n.$?{$:1,a:n.a}:{$:0,a:n.a}},Bu=t(function(n,r){return f(Hu,n,function(n){return f(Iu,qu,r(n))})}),Yu=function(n){return f(Bu,"",function(r){if(g(Ft(r),n)){var t=Yt(r);return t.$?ju('Invalid integer: "'+r+'"'):f(Iu,Pu,Cu(t.a))}return f(Iu,function(n){return{$:0,a:f(Xu,r,n)}},Eu(f(Fu,ot,Mu)))})},Gu=t(function(n,r){return{$:0,a:n,b:r}}),Ku=Er,Qu=function(n){return function(n){var r=n.a,t=n.b,e=!qt(r);return function(n){var u=v(Ku,r,n.b,n.bA,n.aX,n.a),a=u.a,c=u.b,i=u.c;return g(a,-1)?f(du,!1,f(mu,n,t)):s(lu,e,0,{aX:i,c:n.c,d:n.d,b:a,bA:c,a:n.a})}}(f(Gu,n,{$:8,a:n}))},Wu=function(n){return ju("Invalid day: "+Gr(n))},Vu=T,Zu=function(n){return!(f(Vu,4,n)||!f(Vu,100,n)&&f(Vu,400,n))},na=function(n){var r=n-1;return(r/4|0)-(r/100|0)+(r/400|0)},ra=f($u,function(n){var r=n.a,t=n.b,e=n.c;if(0>e)return Wu(e);var u=function(n){var u=31536e6*(r-1970),a=864e5*((3>t||!Zu(r)?e-1:e)+(na(r)-na(1970)));return Cu(n+u+a)};switch(t){case 1:return e>31?Wu(e):u(0);case 2:return e>29||29===e&&!Zu(r)?Wu(e):u(26784e5);case 3:return e>31?Wu(e):u(50976e5);case 4:return e>30?Wu(e):u(7776e6);case 5:return e>31?Wu(e):u(10368e6);case 6:return e>30?Wu(e):u(130464e5);case 7:return e>31?Wu(e):u(156384e5);case 8:return e>31?Wu(e):u(183168e5);case 9:return e>30?Wu(e):u(209952e5);case 10:return e>31?Wu(e):u(235872e5);case 11:return e>30?Wu(e):u(262656e5);case 12:return e>31?Wu(e):u(288576e5);default:return ju('Invalid month: "'+Gr(t)+'"')}},f(Uu,f(Uu,f(Uu,Cu(e(function(n,r,t){return k(n,r,t)})),Yu(4)),Du(R([f(Uu,f(Tu,Cu(Pt),Qu("-")),Yu(2)),Yu(2)]))),Du(R([f(Uu,f(Tu,Cu(Pt),Qu("-")),Yu(2)),Yu(2)])))),ta=(le=e(function(n,r,t){return n*(60*r)+t}),f(Uu,Cu(Pt),Du(R([f(Iu,function(){return 0},Qu("Z")),f(Uu,f(Uu,f(Uu,Cu(le),Du(R([f(Iu,function(){return 1},Qu("+")),f(Iu,function(){return-1},Qu("-"))]))),Yu(2)),Du(R([f(Uu,f(Tu,Cu(Pt),Qu(":")),Yu(2)),Yu(2),Cu(0)]))),f(Tu,Cu(0),xu)])))),ea=f($u,function(n){return Du(R([f(Uu,f(Uu,f(Uu,f(Uu,f(Uu,f(Tu,Cu(Lu(n)),Qu("T")),Yu(2)),Du(R([f(Uu,f(Tu,Cu(Pt),Qu(":")),Yu(2)),Yu(2)]))),Du(R([f(Uu,f(Tu,Cu(Pt),Qu(":")),Yu(2)),Yu(2),Cu(0)]))),Du(R([f(Uu,f(Tu,Cu(Pt),Qu(".")),Nu),Cu(0)]))),f(Tu,ta,xu)),f(Tu,Cu(d(Lu,n,0,0,0,0,0)),xu)]))},ra),ua=e(function(n,r,t){return{aX:r,br:t,bA:n}}),aa=function(n){return s(ua,n.bA,n.aX,n.br)},ca=t(function(n,r){n:for(;;)switch(n.$){case 0:return r;case 1:var t=n.b;n=n.a,r=f(Lr,t,r);continue n;default:var e=n.b;n=n.a,r=f(ca,e,r);continue n}}),ia=t(function(n,r){var t=n({aX:1,c:_,d:1,b:0,bA:1,a:r});return t.$?Dr(f(ca,t.b,_)):Fr(t.b)}),oa=t(function(n,r){var t=f(ia,n,r);return t.$?Dr(f(ae,aa,t.a)):Fr(t.a)}),fa=f(Tt,function(n){var r=function(n){return f(oa,ea,n)}(n);return 1===r.$?bu(function(n){return f(Kr,"",f(su,"; ",f(ae,fu,n)))}(r.a)):zt(r.a)},vu),sa=function(n){return{$:11,g:n}},ba=function(n){return sa(R([f(Ut,Ir,n),zt(qr)]))},va=V,da=t(function(n,r){return s(ue,va,r,n)}),la=St(wt),$a=un,pa=function(n){return{$:5,c:n}},ha=Q,ga=e(function(n,r,t){return f(Tt,function(e){var u=f($a,n,e);if(u.$)return zt(t);var a=u.a,c=f($a,sa(R([r,pa(t)])),a);return c.$?bu(vt(c.a)):zt(c.a)},ha)}),ma=u(function(n,r,t,e){return f(la,s(ga,f(da,n,ha),r,t),e)}),xa=e(function(n,r,t){return f(la,f(da,n,r),t)}),ya=b(ma,R(["attributes","parent_event_id"]),ba(vu),qr,s(xa,R(["attributes","type_stream_name"]),vu,b(ma,R(["attributes","causation_stream_name"]),ba(vu),qr,b(ma,R(["attributes","correlation_stream_name"]),ba(vu),qr,s(xa,R(["attributes","metadata"]),f(Ut,Yr(2),ha),s(xa,R(["attributes","data"]),f(Ut,Yr(2),ha),s(xa,R(["attributes","metadata","timestamp"]),fa,s(xa,R(["id"]),vu,s(xa,R(["attributes","event_type"]),vu,zt(ou)))))))))),wa=f(va,"data",ya),ka=function(n){return encodeURIComponent(n)},Aa=t(function(n,r){return n+"/"+ka(r)}),Ea=t(function(n,r){return 1===n.$?r:r+":"+Gr(n.a)}),ja=e(function(n,r,t){return 1===r.$?t:j(t,j(n,r.a))}),_a=function(n){return s(ja,"#",n.a3,s(ja,"?",n.bu,j(f(Ea,n.bp,j(n.bt?"https://":"http://",n.a9)),n.ah)))},Ca=t(function(n,r){return f(Aa,_a(n.aR)+"/events",r)}),Na=en,Ra=t(function(n,r){return{$:3,a:n,b:r}}),La=function(n){return{$:0,a:n}},Oa=t(function(n,r){return{$:4,a:n,b:r}}),Ta={$:2},Ua=function(n){return{$:1,a:n}},Sa=function(n){return{$:0,a:n}},za={$:1},Da=function(n){return!n.$},Pa=On,Xa=e(function(n,r,t){return r(n(t))}),Ma=t(function(n,r){return s(Nr,"",Pt,f(Xa,r,n))}),Fa=t(function(n,r){return r.$?Dr(n(r.a)):Fr(r.a)}),Ja=function(n){return{$:4,a:n}},Ha={$:2},Ia={$:1},qa=t(function(n,r){switch(r.$){case 0:return Dr({$:0,a:r.a});case 1:return Dr(Ia);case 2:return Dr(Ha);case 3:return Dr({$:3,a:r.a.cK});default:return f(Fa,Ja,n(r.b))}}),Ba=t(function(n,r){return f(Ma,n,qa(function(n){return f(Fa,vt,f(Na,r,n))}))}),Ya={$:0},Ga=function(n){return{$:1,a:n}},Ka=t(function(n,r){return{bw:n,bL:r}}),Qa=re(f(Ka,Be,_)),Wa=function(n){return hn(function(r){var t=n.f;2===t.$&&t.c&&t.c(),n.f=null,r(pn(0))})},Va=yn,Za=e(function(n,r,t){n:for(;;){if(r.b){var e=r.a,u=r.b;if(e.$){var a=e.a;return f(ce,function(r){var e=a.bO;return s(Za,n,u,1===e.$?t:s(ze,e.a,r,t))},Va(s(_r,n,se(n),a)))}var c=e.a,i=f(Le,c,t);if(1===i.$){n=n,r=u,t=t;continue n}return f(ce,function(){return s(Za,n,u,f(He,c,t))},Wa(i.a))}return re(t)}}),nc=u(function(n,r,t,e){return f(ce,function(n){return re(f(Ka,n,t))},s(Za,n,r,e.bw))}),rc=e(function(n,r,t){var e=n(r);return e.$?t:f(Lr,e.a,t)}),tc=t(function(n,r){return s(ue,rc(n),_,r)}),ec=u(function(n,r,t,e){var u=e.b;return g(r,e.a)?Ir(f(se,n,u(t))):qr}),uc=e(function(n,r,t){return f(ce,function(){return re(t)},fe(f(tc,s(ec,n,r.a,r.b),t.bL)))}),ac=t(function(n,r){if(r.$){var t=r.a;return Ga({bX:t.bX,aU:t.aU,am:f(Rr,n,t.am),a6:t.a6,cm:t.cm,cP:t.cP,bO:t.bO,aP:t.aP})}return{$:0,a:r.a}}),cc=t(function(n,r){return{$:0,a:n,b:r}});Cn.Http=Nn(Qa,nc,uc,ac,t(function(n,r){return f(cc,r.a,f(Xa,r.b,n))}));var ic=Tn("Http"),oc=(Tn("Http"),function(n){return function(n){return ic(Ga({bX:!1,aU:n.aU,am:n.am,a6:n.a6,cm:n.cm,cP:n.cP,bO:n.bO,aP:n.aP}))}({aU:Ya,am:n.am,a6:_,cm:"GET",cP:qr,bO:qr,aP:n.aP})}),fc=e(function(n,r,t){return oc({am:f(Ba,n,wa),aP:f(Ca,r,t)})}),sc=t(function(n,r){return s(fc,iu,n,r)}),bc=t(function(n,r){return f(sc,n,r)}),vc=function(n){return{$:2,a:n}},dc=t(function(n,r){return{cb:n,cH:r}}),lc=function(n){return{$:3,b:n}},$c=b(ma,R(["attributes","related_streams"]),ba(lc(vu)),qr,s(xa,R(["relationships","events","links","self"]),vu,zt(dc))),pc=f(va,"data",$c),hc=t(function(n,r){return f(Aa,_a(n.aR)+"/streams",r)}),gc=e(function(n,r,t){return oc({am:f(Ba,n,pc),aP:f(hc,r,t)})}),mc=t(function(n,r){return s(gc,vc,n,r)}),xc={$:0},yc=t(function(n,r){return{J:xc,u:xc,b8:r,ao:n}}),wc=t(function(n,r){return{ca:n,cl:r}}),kc=f(wc,_,{a1:qr,bh:qr,bl:qr,bq:qr}),Ac=t(function(n,r){return{ca:kc,ao:n,Y:_,cH:qr,aM:r}}),Ec=zn,jc=Un(_),_c=t(function(n,r){var t=n.ao;if(1===t.$)return w(n,jc);var e=t.a,u=f(cu,e.aC,r);if(u.$)return w(E(n,{x:ge}),jc);if(u.a.$){var a=Ne(u.a.a);if(a.$)return w(E(n,{x:ge}),jc);var c=a.a;return w(E(n,{x:Ae(f(yc,e,c))}),f(Ec,we,f(bc,e,c)))}var i=Ne(u.a.a);if(i.$)return w(E(n,{x:ge}),jc);var o=i.a;return w(E(n,{x:Ee(f(Ac,e,o))}),f(Ec,ke,f(mc,e,o)))}),Cc=e(function(n,r,t){var e,u,a,c={ao:(e=n,u=e.aR,a=e.az,b(xe,me,Zt(e.aC),Zt(u),Ir(a))),ck:t,U:ye,x:ge};return f(_c,c,r)}),Nc=Un(_),Rc=function(n){return{$:2,a:n}},Lc=function(n){return f(he,ne,hn(function(){try{Ar.location=n}catch(n){Jn.location.reload(!1)}}))},Oc=kr,Tc=function(n){return n.a+"="+n.b},Uc=t(function(n,r){return"/"+(f(Kr,"/",n)+function(n){return n.b?"?"+f(Kr,"&",f(ae,Tc,n)):""}(r))}),Sc=t(function(n,r){return s(ue,t(function(r,t){return n(r)?f(Lr,r,t):t}),_,r)}),zc=t(function(n,r){return f(Uc,j(function(n){return f(Sc,function(n){return""!==n},f(Qr,"/",n.ah))}(n),r),_)}),Dc=t(function(n,r){return f(zc,n,R(["streams",ka(r)]))}),Pc=t(function(n,r){return n.$?w({L:n.a},jc):w({L:""},f(Oc,r.ck,f(Dc,r.ao.aC,r.bd.L)))}),Xc=function(n){return{$:3,a:n}},Mc={$:3},Fc=function(n){return{$:1,a:n}},Jc={$:2},Hc=Be,Ic=t(function(n,r){return s(ze,n,0,r)}),qc=s(Vr,Ic,Hc,_),Bc=function(n){return{$:4,a:n}},Yc=t(function(n,r){var t=r.b_;return t.$?jc:s(gc,Bc,n,t.a)}),Gc=u(function(n,r,t,e){return{a1:t,bh:e,bl:n,bq:r}}),Kc=u(function(n,r,t,e){return f(la,s(ga,f(va,n,ha),r,t),e)}),Qc=b(Kc,"last",ba(vu),qr,b(Kc,"first",ba(vu),qr,b(Kc,"prev",ba(vu),qr,b(Kc,"next",ba(vu),qr,zt(Gc))))),Wc=e(function(n,r,t){return f(la,f(va,n,r),t)}),Vc=s(Wc,"links",Qc,s(Wc,"data",lc(ya),zt(wc))),Zc=t(function(n,r){return oc({am:f(Ba,n,Vc),aP:r})}),ni=t(function(n,r){switch(n.$){case 0:var t=n.a,e=r.u;return w(1===e.$?E(r,{u:Fc(E(a=e.a,{ac:t}))}):r,jc);case 1:t=n.a;var u=r.u;return w(1===u.$?E(r,{u:Fc(E(a=u.a,{af:t}))}):r,jc);case 2:if(n.a.$)return w(E(r,3===n.a.a.$&&404===n.a.a.a?{u:Jc}:{u:Mc}),jc);var a={b_:(c=n.a.a).b_,b3:c.b3,ac:qc,b8:c.b8,b9:c.b9,af:qc,cC:c.cC,cD:c.cD,cE:c.cE,cW:c.cW};return w(E(r,{u:Fc(a)}),f(Yc,r.ao,a));case 4:return n.a.$?w(E(r,{J:Mc}),jc):w(r,f(Zc,Xc,n.a.a.cb));default:return w(E(r,n.a.$?{J:Mc}:{J:Fc(n.a.a.ca)}),jc)}var c}),ri=function(n){return{$:1,a:n}},ti=t(function(n,r){switch(n.$){case 0:return w(r,f(Zc,ri,n.a));case 1:return w(E(r,n.a.$?{Y:R(["Server error, please check backend logs for details"])}:{ca:n.a.a}),jc);default:if(n.a.$)return w(E(r,{Y:R(["Server error, please check backend logs for details"])}),jc);var t=n.a.a;return w(E(r,{cH:t.cH}),f(Zc,ri,t.cb))}}),ei=u(function(n,r,t,e){var u=e.b;return w(E(t,{x:n(e.a)}),f(Ec,r,u))}),ui=e(function(n,r,t){return{ao:t,bd:r,ck:n.ck}}),ai=t(function(n,r){var t=w(n,r.x);n:for(;;)switch(t.a.$){case 0:return f(_c,r,t.a.a);case 1:var e=t.a.a;return w(r,e.$?Lc(e.a):f(Oc,r.ck,_a(e.a)));case 4:if(2===t.b.$)return b(ei,Ee,ke,r,f(ti,t.a.a,t.b.a));break n;case 3:if(1===t.b.$)return b(ei,Ae,we,r,f(ni,t.a.a,t.b.a));break n;default:var u=t.a.a,a=r.ao;if(1===a.$)return w(r,jc);var c=f(Pc,u,s(ui,r,r.U,a.a)),i=c.b;return w(E(r,{U:c.a}),f(Ec,Rc,i))}return w(r,jc)}),ci=function(n){return n.$?"RubyEventStore::Browser":"RubyEventStore::Browser - "+n.a},ii=qn("a"),oi=ln,fi=t(function(n,r){return f(Qn,n,oi(r))}),si=fi("className"),bi=qn("div"),vi=qn("footer"),di=function(n){return f(fi,"href",/^javascript:/i.test((r=n).replace(/\s/g,""))?"":r);var r},li=qn("span"),$i=In,pi={$:0},hi=function(n){return{$:1,a:n}},gi=qn("form"),mi=qn("input"),xi=qn("nav"),yi=function(n){return w(n,!0)},wi=Gn,ki=t(function(n,r){return f(wi,n,{$:1,a:r})}),Ai=f(da,R(["target","value"]),vu),Ei=function(n){return w(n,!0)},ji=t(function(n,r){return f(wi,n,{$:2,a:r})}),_i=fi("placeholder"),Ci=fi("value"),Ni=function(n){return f(xi,R([si("flex bg-red-700 px-8 h-16")]),R([f(bi,R([si("flex items-center")]),R([f(ii,R([di(_a(n.ao.aC)),si("text-gray-100 font-semibold")]),R([$i("Ruby Event Store")]))])),f(bi,R([si("flex-1")]),_),f(bi,R([si("flex items-center")]),R([f(gi,R([(t=pi,f(ji,"submit",f(Ut,Ei,zt(t))))]),R([f(mi,R([si("rounded px-4 py-2"),Ci(n.bd.L),(r=hi,f(ki,"input",f(Ut,yi,f(Ut,r,Ai)))),_i("Go to stream...")]),_)]))]))]));var r,t},Ri=qn("header"),Li=qn("main"),Oi=Yn,Ti=e(function(n,r,t){return f(bi,R([si("bg-gray-100 min-h-screen w-full text-gray-800 font-sans leading-relaxed antialiased")]),R([f(Ri,_,R([f(Oi,n,Ni(r))])),f(Li,R([si("bg-white")]),R([t])),f(vi,_,R([f(Oi,n,(e=r.ao,f(vi,R([si("border-gray-400 border-t py-4")]),R([f(bi,R([si("flex justify-center text-gray-500 text-sm")]),R([$i("RubyEventStore v"+e.az),f(li,R([si("font-bold text-gray-400 inline-block ml-4")]),R([$i("•")])),f(ii,R([di("https://railseventstore.org/docs/install/"),si("text-gray-500 ml-4")]),R([$i("Documentation")])),f(li,R([si("font-bold text-gray-400 inline-block ml-4")]),R([$i("•")])),f(ii,R([di("https://railseventstore.org/support/"),si("text-gray-500 ml-4")]),R([$i("Support")]))]))]))))]))]));var e}),Ui=qn("h1"),Si=f(Ui,_,R([$i("Incorrect RES Browser config")])),zi=f(bi,R([si("lds-dual-ring")]),_),Di=f(bi,R([si("flex items-center justify-center")]),R([zi])),Pi=qn("h2"),Xi=qn("li"),Mi=t(function(n,r){return r.$?qr:Ir(n(r.a))}),Fi=t(function(n,r){return f(ii,R([si("text-red-700 no-underline"),di(f(Dc,n,r))]),R([$i(r)]))}),Ji=t(function(n,r){return f(Mi,function(r){return f(Xi,_,R([$i("Causation stream: "),f(Fi,n,r)]))},r.b_)}),Hi=t(function(n,r){return f(Mi,function(r){return f(Xi,_,R([$i("Correlation stream: "),f(Fi,n,r)]))},r.b3)}),Ii=t(function(n,r){return f(zc,n,R(["events",ka(r)]))}),qi=t(function(n,r){return f(ii,R([si("text-red-700 no-underline"),di(f(Ii,n,r))]),R([$i(r)]))}),Bi=t(function(n,r){return f(Mi,function(r){return f(Xi,_,R([$i("Parent event: "),f(qi,n,r)]))},r.cC)}),Yi=t(function(n,r){return f(Xi,_,R([$i("Type stream: "),f(Fi,n,r.cW)]))}),Gi=f(ue,t(function(n,r){return n.$?r:f(Lr,n.a,r)}),_),Ki=t(function(n,r){return Gi(R([f(Bi,n,r),Ir(f(Yi,n,r)),f(Hi,n,r),f(Ji,n,r)]))}),Qi=qn("ul"),Wi=t(function(n,r){return g(f(Ki,n,r),_)?$i(""):f(bi,R([si("px-8")]),R([f(Pi,R([si("font-bold text-xl")]),R([$i("Related streams / events:")])),f(Qi,R([si("list-disc pl-8")]),f(Ki,n,r))]))}),Vi=qn("p"),Zi=qn("td"),no=qn("tr"),ro=t(function(n,r){var t=r.b9,e=r.b8;return f(no,_,R([f(Zi,R([si("p-0 pt-2")]),R([f(ii,R([si("text-red-700 no-underline"),di(f(Ii,n,e))]),R([$i(t)]))])),f(Zi,R([si("p-0 pt-2")]),R([$i(e)]))]))}),to=qn("table"),eo=qn("tbody"),uo=qn("tfoot"),ao=qn("th"),co=qn("thead"),io=t(function(n,r){return r.b?f(to,R([si("my-10 w-full text-left table-fixed border-collapse ")]),R([f(co,R([si("align-bottom leading-tight")]),R([f(no,_,R([f(ao,R([si("border-gray-400 border-b text-gray-500 uppercase p-0 pb-4 text-xs")]),R([$i("Event name")])),f(ao,R([si("border-gray-400 border-b text-gray-500 uppercase p-0 pb-4 text-xs")]),R([$i("Event id")]))]))])),f(eo,R([si("align-top")]),f(ae,ro(n),r)),f(uo,_,R([f(no,_,R([f(Zi,R([si("text-gray-500 p-0 pb-4 text-xs"),(2,f(Wn,"colspan",Gr(2)))]),R([20===Zr(r)?$i("The results may be truncated, check stream for full information."):$i("")]))]))]))])):f(Vi,R([si("flex items-center justify-center py-24")]),R([$i("No items")]))}),oo={I:"firebrick",M:"gray",N:"blue",O:"#fafad2",Q:"green"},fo=t(function(n,r){return r.$?Dr(r.a):Fr(n(r.a))}),so=t(function(n,r){return r.$?Dr(r.a):n(r.a)}),bo=function(n){return{$:4,a:n}},vo=function(n){return{$:3,a:n}},lo=t(function(n,r){if(-2===r.$)return Te;var t=r.b,e=r.d,u=r.e;return v(Oe,r.a,t,f(n,t,r.c),f(lo,n,e),f(lo,n,u))}),$o=t(function(n,r){var e=t(function(r,t){return f($o,n+"["+Gr(r)+"]",t)}),u=t(function(r,t){return f($o,n+"."+r,t)}),a=r.z;switch(a.$){case 0:case 1:case 2:case 5:return E(r,{l:n});case 3:return E(r,{l:n,z:vo(f(et,e,a.a))});default:return E(r,{l:n,z:bo(f(lo,u,a.a))})}}),po=function(n){return{$:2,a:n}},ho=function(n){return{$:1,a:n}},go={$:5},mo=function(n){return{$:0,a:n}},xo=G,yo=e(function(n,r,t){return n(r(t))}),wo=function(n){return s(Vr,t(function(n,r){return s(ze,n.a,n.b,r)}),Be,n)},ko=function(n){return f(Ut,wo,function(n){return{$:8,b:n}}(n))},Ao=K,Eo=function(n){return f(Tt,n,zt(0))};function jo(){var n=function(n){return{l:"",z:n}};return sa(R([f(Ut,f(yo,n,mo),vu),f(Ut,f(yo,n,ho),Ao),f(Ut,f(yo,n,po),xo),f(Ut,f(yo,n,vo),lc(Eo(function(){return jo()}))),f(Ut,f(yo,n,bo),ko(Eo(function(){return jo()}))),pa(n(go))]))}var _o=jo();jo=function(){return _o};var Co,No,Ro,Lo,Oo,To=function(n){var r=f(Ut,$o(""),_o);return f($a,r,n)},Uo=qn("pre"),So={I:function(n){return R([w("color",n.I)])},ak:R([w("position","absolute"),w("cursor","pointer"),w("top","1px"),w("left","-15px")]),an:R([w("font-weight","bold")]),ad:R([w("position","relative")]),M:function(n){return R([w("color",n.M)])},N:function(n){return R([w("color",n.N)])},aB:R([w("font-family","monospace"),w("white-space","pre")]),O:function(n){return R([w("background-color",n.O),w("cursor","pointer")])},Q:function(n){return R([w("color",n.Q)])},aj:R([w("list-style-type","none"),w("margin-left","26px"),w("padding-left","0px")])},zo=function(n){return qn(function(n){return"script"==n?"p":n}(n))},Do=Kn,Po=function(n){return f(ae,function(n){return f(Do,n.a,n.b)},n)},Xo=B,Mo=t(function(n,r){return!f(Le,n,r).$}),Fo=t(function(n,r){return f(Mo,n,r)}),Jo=t(function(n,r){return f(Fo,n,r)}),Ho=t(function(n,r){return f(Ic,n,r)}),Io=t(function(n,r){return f(wi,n,{$:0,a:r})}),qo=t(function(n,r){return f(Io,"click",f(Ut,f(Xa,function(n){return n(0)},r),zt(n)))}),Bo=u(function(n,r,t,e){return n?f(li,f(Lr,f(qo,t,r.cT),Po(So.ak)),R([$i(e)])):$i("")}),Yo=u(function(n,r,t,e){return b(Bo,n,t,function(){return f(Ho,r,e)},"-")}),Go=t(function(n,r){return f(He,n,r)}),Ko=t(function(n,r){return f(Go,n,r)}),Qo=u(function(n,r,t,e){return b(Bo,n,t,function(){return f(Ko,r,e)},"+")}),Wo=fi("id"),Vo=function(n){return f(Io,"click",zt(n))},Zo=u(function(n,r,t,e){return u=f(li,j(R([Wo(t.l)]),j(Po(n),(a=e.cx).$?_:R([Vo((0,a.a)(t.l)),si("selectableJsonTreeNode")]))),R([$i(r)])),R([u]);var u,a}),nf=a(function(n,r,t,e,u){var a=function(r){return f(Xi,Po(So.ad),f(Ve,b(tf,n+1,e,r,u),R([$i(",")])))},c=r.b?R(f(Jo,t,u)?[b(Qo,n,t,e,u),$i("…")]:[b(Yo,n,t,e,u),f(Qi,Po(So.aj),f(ae,a,r))]):_;return j(R([$i("[")]),j(c,R([$i("]")])))}),rf=a(function(n,r,t,e,u){var a=function(r){var t=r.a,a=r.b;return f(Xi,Po(So.ad),j(R([f(li,Po(So.an),R([$i(t)])),$i(": ")]),j(b(tf,n+1,e,a,u),R([$i(",")]))))},c=function(n){return-2===n.$}(r)?_:R(f(Jo,t,u)?[b(Qo,n,t,e,u),$i("…")]:[b(Yo,n,t,e,u),f(Qi,Po(So.aj),f(ae,a,Tr(r)))]);return j(R([$i("{")]),j(c,R([$i("}")])))}),tf=u(function(n,r,t,e){var u=r.b1,a=t.z;switch(a.$){case 0:var c=a.a;return b(Zo,So.Q(u),'"'+c+'"',t,r);case 1:var i=a.a;return b(Zo,So.N(u),Xo(i),t,r);case 2:var o=a.a;return b(Zo,So.I(u),function(n){return n?"true":"false"}(o),t,r);case 5:return b(Zo,So.M(u),"null",t,r);case 3:return v(nf,n,a.a,t.l,r,e);default:return v(rf,n,a.a,t.l,r,e)}}),ef=e(function(n,r,t){return f(bi,Po(So.aB),f(Lr,function(n){var r=f(Kr,"\n",f(ae,function(n){return n.a+": "+n.b+";"},So.O(n.b1)));return s(zo,"style",_,R([$i(".selectableJsonTreeNode:hover {\n"+r+"\n}\n")]))}(r),b(tf,0,r,n,t)))}),uf=t(function(n,r){return r.$?n:r.a}),af=e(function(n,r,t){return f(uf,f(Uo,_,R([$i(n)])),f(fo,function(n){return s(ef,n,{b1:oo,cx:qr,cT:t},r)},f(so,To,f(Na,ha,n))))}),cf=e(function(n,r,t){return f(bi,R([si("py-12")]),R([f(Ui,R([si("font-bold px-8 text-2xl")]),R([$i(r.b9)])),f(bi,R([si("px-8")]),R([f(to,R([si("my-10 w-full text-left table-fixed border-collapse")]),R([f(co,R([si("align-bottom leading-tight")]),R([f(no,_,R([f(ao,R([si("border-gray-400 border-b text-gray-500 uppercase p-0 pb-4 text-xs")]),R([$i("Event id")])),f(ao,R([si("border-gray-400 border-b text-gray-500 uppercase p-0 pb-4 text-xs")]),R([$i("Raw Data")])),f(ao,R([si("border-gray-400 border-b text-gray-500 uppercase p-0 pb-4 text-xs")]),R([$i("Raw Metadata")]))]))])),f(eo,R([si("align-top")]),R([f(no,_,R([f(Zi,R([si("p-0 pt-2")]),R([$i(r.b8)])),f(Zi,R([si("p-0 pt-2")]),R([s(af,r.cD,r.ac,function(n){return{$:0,a:n}})])),f(Zi,R([si("p-0 pt-2")]),R([s(af,r.cE,r.af,function(n){return{$:1,a:n}})]))]))]))]))])),f(Wi,n,r),function(){switch(t.$){case 0:return f(bi,R([si("px-8 mt-8")]),R([f(Pi,R([si("font-bold text-xl")]),R([$i("Events caused by this event:")])),$i("Loading...")]));case 1:var r=t.a;return f(bi,R([si("px-8 mt-8")]),R(r.b?[f(Pi,R([si("font-bold text-xl")]),R([$i("Events caused by this event:")])),f(io,n,r)]:[f(Pi,R([si("font-bold text-xl")]),R([$i("Events caused by this event: none")]))]));default:return $i("")}}()]))}),of=function(n){return w("Event "+n.b8,function(n){var r=n.u;switch(r.$){case 2:return f(bi,R([si("py-12")]),R([f(Ui,R([si("font-bold px-8 text-2xl")]),R([$i("There's no event with given ID")]))]));case 0:return Di;case 1:return s(cf,n.ao.aC,r.a,n.J);default:return f(bi,R([si("py-12")]),R([f(Ui,R([si("font-bold px-8 text-2xl")]),R([$i("Unexpected request failure happened when fetching the event")]))]))}}(n))},ff=qn("button"),sf=ln,bf=t(function(n,r){return f(Qn,n,sf(r))})("disabled"),vf=function(n){if(n.$)return R([bf(!0)]);var r,t=n.a;return R([di(t),Vo((r=t,{$:0,a:r}))])},df=function(n){return f(ff,j(R([si("text-center text-sm border-red-700 text-red-700 border rounded px-2 py-1 mr-1 disabled:opacity-50 disabled:cursor-not-allowed")]),vf(n)),R([$i("last")]))},lf=function(n){return f(ff,j(R([si("text-center text-sm border-red-700 text-red-700 border rounded px-2 py-1 mr-1 disabled:opacity-50 disabled:cursor-not-allowed")]),vf(n)),R([$i("next")]))},$f=function(n){return f(ff,j(R([si("text-center text-sm border-red-700 text-red-700 border rounded px-2 py-1 mr-1 disabled:opacity-50 disabled:cursor-not-allowed")]),vf(n)),R([$i("previous")]))},pf=function(n){var r,t=n.a1,e=n.bh,u=n.bl,a=n.bq;return f(Qi,R([si("flex")]),R([f(Xi,_,R([(r=t,f(ff,j(R([si("text-center text-sm border-red-700 text-red-700 border rounded px-2 py-1 mr-1 disabled:opacity-50 disabled:cursor-not-allowed")]),vf(r)),R([$i("first")])))])),f(Xi,_,R([$f(a)])),f(Xi,_,R([lf(u)])),f(Xi,_,R([df(e)]))]))},hf=$i(""),gf=t(function(n,r){return f(ii,R([si("text-red-700 no-underline"),di(f(Dc,n,r))]),R([$i(r)]))}),mf=t(function(n,r){if(r.$)return hf;var t=r.a;return f(bi,R([si("px-8")]),R([f(Pi,R([si("font-bold text-xl")]),R([$i("Related streams:")])),f(Qi,R([si("list-disc pl-8")]),f(ae,function(r){return f(Xi,_,R([f(gf,n,r)]))},t))]))}),xf={$:7},yf=function(n){return n>11?"pm":"am"},wf=function(n){switch(n){case 0:return"January";case 1:return"February";case 2:return"March";case 3:return"April";case 4:return"May";case 5:return"June";case 6:return"July";case 7:return"August";case 8:return"September";case 9:return"October";case 10:return"November";default:return"December"}},kf=function(n){switch(f(Vu,100,n)){case 11:case 12:case 13:return"th";default:switch(f(Vu,10,n)){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}}},Af=function(n){switch(n){case 0:return"Monday";case 1:return"Tuesday";case 2:return"Wednesday";case 3:return"Thursday";case 4:return"Friday";case 5:return"Saturday";default:return"Sunday"}},Ef=d(c(function(n,r,t,e,u,a){return{cQ:u,cR:r,cS:n,R:a,cU:e,cV:t}}),wf,f(Xa,wf,Bt(3)),Af,f(Xa,Af,Bt(3)),yf,kf),jf=t(function(n,r){return kt(n/r)}),_f=function(n){return n},Cf=e(function(n,r,t){for(;;){if(!t.b)return r+n;var e=t.a,u=t.b;if(0>x(e.aK,r))return r+e.b;n=n,r=r,t=u}}),Nf=t(function(n,r){var t=n.b;return s(Cf,n.a,f(jf,_f(r),6e4),t)}),Rf=t(function(n,r){return f(Vu,24,f(jf,f(Nf,n,r),60))}),Lf=e(function(n,r,t){return n.cQ(f(Rf,r,t))}),Of=function(n){var r=f(jf,n,1440)+719468,t=(0>r?r-146096:r)/146097|0,e=r-146097*t,u=(e-(e/1460|0)+(e/36524|0)-(e/146096|0))/365|0,a=e-(365*u+(u/4|0)-(u/100|0)),c=(5*a+2)/153|0,i=c+(10>c?3:-9);return{aY:a-((153*c+2)/5|0)+1,bj:i,bU:u+400*t+(i>2?0:1)}},Tf=t(function(n,r){return Of(f(Nf,n,r)).aY}),Uf=R([6,0,1,2,3,4,5]),Sf=function(n){return n.b?Ir(n.a):qr},zf=t(function(n,r){switch(f(Vu,7,f(jf,f(Nf,n,r),1440))){case 0:return 3;case 1:return 4;case 2:return 5;case 3:return 6;case 4:return 0;case 5:return 1;default:return 2}}),Df=t(function(n,r){return r.$?n:r.a}),Pf=t(function(n,r){return f(Df,w(0,6),Sf(f(Sc,function(t){return g(t.b,f(zf,n,r))},f(et,t(function(n,r){return w(n,r)}),Uf)))).a}),Xf=t(function(n,r){switch(r){case 0:return 31;case 1:return function(n){return!(f(Vu,4,n)||!f(Vu,100,n)&&f(Vu,400,n))}(n)?29:28;case 2:return 31;case 3:return 30;case 4:return 31;case 5:return 30;case 6:case 7:return 31;case 8:return 30;case 9:return 31;case 10:return 30;default:return 31}}),Mf=R([0,1,2,3,4,5,6,7,8,9,10,11]),Ff=t(function(n,r){switch(Of(f(Nf,n,r)).bj){case 1:return 0;case 2:return 1;case 3:return 2;case 4:return 3;case 5:return 4;case 6:return 5;case 7:return 6;case 8:return 7;case 9:return 8;case 10:return 9;case 11:return 10;default:return 11}}),Jf=t(function(n,r){return f(Df,w(0,0),Sf(f(Sc,function(t){return g(t.b,f(Ff,n,r))},f(et,t(function(n,r){return w(n,r)}),Mf))))}),Hf=t(function(n,r){return 1+f(Jf,n,r).a}),If=e(function(n,r,t){n:for(;;){if(n>0){if(r.b){var e=r.a;n-=1,r=r.b,t=f(Lr,e,t);continue n}return t}return t}}),qf=t(function(n,r){return st(s(If,n,r,_))}),Bf=e(function(n,r,t){if(r>0){var e=w(r,t);n:for(;;){r:for(;;){if(!e.b.b)return t;if(!e.b.b.b){if(1===e.a)break n;break r}switch(e.a){case 1:break n;case 2:var u=e.b;return R([u.a,u.b.a]);case 3:if(e.b.b.b.b){var a=e.b,c=a.b;return R([a.a,c.a,c.b.a])}break r;default:if(e.b.b.b.b&&e.b.b.b.b.b){var i=e.b,o=i.b,b=o.b,v=b.b,d=v.b;return f(Lr,i.a,f(Lr,o.a,f(Lr,b.a,f(Lr,v.a,n>1e3?f(qf,r-4,d):s(Bf,n+1,r-4,d)))))}break r}}return t}return R([e.b.a])}return _}),Yf=t(function(n,r){return s(Bf,0,n,r)}),Gf=t(function(n,r){return Of(f(Nf,n,r)).bU}),Kf=t(function(n,r){var t,e=f(Yf,f(Hf,n,r)-1,Mf);return t=f(ae,Xf(f(Gf,n,r)),e),s(Vr,Hr,0,t)+f(Tf,n,r)}),Qf=t(function(n,r){return f(Hf,n,r)/4|0}),Wf=t(function(n,r){return 1>n?"":s(Jt,-n,Ft(r),r)}),Vf=t(function(n,r){var t=Gr(r),e=n-Ft(t);return j(f(Kr,"",f(ae,function(){return"0"},f(tt,1,e))),t)}),Zf=t(function(n,r){return f(Vu,1e3,_f(r))}),ns=t(function(n,r){return f(Vu,60,f(Nf,n,r))}),rs=function(n){return n?n>12?n-12:n:12},ts=t(function(n,r){return f(Vu,60,f(jf,_f(r),1e3))}),es=_u(315576e5),us=t(function(n,r){return Ru(es*f(Gf,n,r))}),as=t(function(n,r){var t=f(Pf,n,f(us,n,r));return 1+((f(Kf,n,r)+t)/7|0)}),cs=t(function(n,r){return Gr(f(Gf,n,r))}),is=u(function(n,r,t,e){switch(e.$){case 0:return Gr(f(Hf,r,t));case 1:return j(Gr(u=f(Hf,r,t)),n.R(u));case 2:return f(Vf,2,f(Hf,r,t));case 3:return n.cR(f(Ff,r,t));case 4:return n.cS(f(Ff,r,t));case 17:return Gr(1+f(Qf,r,t));case 18:return function(r){return j(Gr(r),n.R(r))}(1+f(Qf,r,t));case 5:return Gr(f(Tf,r,t));case 6:return function(r){return j(Gr(r),n.R(r))}(f(Tf,r,t));case 7:return f(Vf,2,f(Tf,r,t));case 8:return Gr(f(Kf,r,t));case 9:return function(r){return j(Gr(r),n.R(r))}(f(Kf,r,t));case 10:return f(Vf,3,f(Kf,r,t));case 11:return Gr(f(Pf,r,t));case 12:return function(r){return j(Gr(r),n.R(r))}(f(Pf,r,t));case 13:return n.cU(f(zf,r,t));case 14:return n.cV(f(zf,r,t));case 19:return Gr(f(as,r,t));case 20:return function(r){return j(Gr(r),n.R(r))}(f(as,r,t));case 21:return f(Vf,2,f(as,r,t));case 15:return f(Wf,2,f(cs,r,t));case 16:return f(cs,r,t);case 22:return s(Lf,n,r,t).toUpperCase();case 23:return function(n){return n.toLowerCase()}(s(Lf,n,r,t));case 24:return Gr(f(Rf,r,t));case 25:return f(Vf,2,f(Rf,r,t));case 26:return Gr(rs(f(Rf,r,t)));case 27:return f(Vf,2,rs(f(Rf,r,t)));case 28:return Gr(1+f(Rf,r,t));case 29:return f(Vf,2,1+f(Rf,r,t));case 30:return Gr(f(ns,r,t));case 31:return f(Vf,2,f(ns,r,t));case 32:return Gr(f(ts,r,t));case 33:return f(Vf,2,f(ts,r,t));case 34:return Gr(f(Zf,r,t));case 35:return f(Vf,3,f(Zf,r,t));default:return e.a}var u}),os=u(function(n,r,t,e){return f(Kr,"",f(ae,s(is,n,t,e),r))})(Ef),fs={$:25},ss={$:35},bs={$:31},vs={$:2},ds={$:33},ls=function(n){return{$:36,a:n}},$s=f(t(function(n,r){return{$:0,a:n,b:r}}),0,_),ps={$:16},hs=t(function(n,r){var t,e=r.b9,u=r.b4,a=r.b8;return f(no,_,R([f(Zi,R([si("p-0 pt-2")]),R([f(ii,R([si("text-red-700 no-underline"),di(f(Ii,n,a))]),R([$i(e)]))])),f(Zi,R([si("p-0 pt-2")]),R([$i(a)])),f(Zi,R([si("p-0 pt-2 text-right")]),R([$i((t=u,s(os,R([xf,ls("."),vs,ls("."),ps,ls(", "),fs,ls(":"),bs,ls(":"),ds,ls("."),ss]),$s,t)))]))]))}),gs=t(function(n,r){return r.b?f(to,R([si("my-10 w-full text-left table-fixed border-collapse")]),R([f(co,R([si("align-bottom leading-tight")]),R([f(no,_,R([f(ao,R([si("border-gray-400 border-b text-gray-500 uppercase p-0 pb-4 text-xs")]),R([$i("Event name")])),f(ao,R([si("border-gray-400 border-b text-gray-500 uppercase p-0 pb-4 text-xs")]),R([$i("Event id")])),f(ao,R([si("border-gray-400 border-b text-gray-500 uppercase p-0 pb-4 text-xs text-right")]),R([$i("Created at")]))]))])),f(eo,R([si("align-top")]),f(ae,hs(n),r))])):f(Vi,R([si("flex items-center justify-center py-24")]),R([$i("No items")]))}),ms=u(function(n,r,t,e){var u=t.cl,a=t.ca;return f(bi,R([si("py-8")]),R([f(Ui,R([si("font-bold px-8 text-2xl")]),R([$i(r)])),f(bi,R([si("px-8")]),R([pf(u)])),f(bi,R([si("px-8")]),R([f(gs,n,a)])),f(bi,_,R([f(mf,n,e)]))]))}),xs=function(n){return f(Xi,_,R([$i(n)]))},ys=function(n){var r=n.aM,t=n.ca,e=n.cH,u=n.Y,a=n.ao,c="Events in "+r;return w("Stream "+r,u.b?f(bi,R([si("py-8")]),R([f(bi,R([si("px-8")]),R([f(Qi,R([si("flex items-center justify-center py-24")]),f(ae,xs,u))]))])):b(ms,a.aC,c,t,e))},ws=f(Ui,_,R([$i("404")])),ks=e(function(n,r,t){var e=r(t),u=e.b;return w(Ir(e.a),f(Oi,n,u))});Co={Main:{init:(Ro=(No={ci:Cc,cy:function(n){return{$:0,a:n}},cz:function(n){return{$:1,a:n}},cM:function(){return Nc},cX:ai,cY:function(n){var r=n.ao;if(1===r.$)return{aU:R([Si]),bN:ci(qr)};var t=r.a,e=function(n){switch(n.$){case 2:return s(ks,ke,ys,n.a);case 1:return s(ks,we,of,n.a);default:return w(qr,ws)}}(n.x),u=e.a,a=e.b;return{aU:R([s(Ti,Rc,s(ui,n,n.U,t),a)]),bN:ci(u)}}}).cy,Lo=No.cz,Oo=function(){Oo.a(Ro(wr()))},xr({aD:function(n){return Oo.a=n,Ar.addEventListener("popstate",Oo),0>Ar.navigator.userAgent.indexOf("Trident")||Ar.addEventListener("hashchange",Oo),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=wr(),a=Zt(e).a;n(Lo(a&&u.bt===a.bt&&u.a9===a.a9&&u.bp.a===a.bp.a?{$:0,a:a}:function(n){return{$:1,a:n}}(e)))}})},ci:function(n){return s(No.ci,n,wr(),Oo)},cY:No.cY,cX:No.cX,cM:No.cM}))(f(Tt,function(n){return f(Tt,function(r){return f(Tt,function(t){return zt({aR:t,az:r,aC:n})},f(va,"apiUrl",vu))},f(va,"resVersion",vu))},f(va,"rootUrl",vu)))(0)}},n.Elm?function n(r,t){for(var e in t)e in r?"init"==e?h(6):n(r[e],t[e]):r[e]=t[e]}(n.Elm,Co):n.Elm=Co}(this);
5
5
  },{}],"Focm":[function(require,module,exports) {
6
6
  require("./style/style.css"),window.RubyEventStore={},window.RubyEventStore.Browser=require("./Main.elm");
7
7
  },{"./style/style.css":"P4Zx","./Main.elm":"asWa"}]},{},["Focm"], null)
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: 2.2.0
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arkency
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-09 00:00:00.000000000 Z
11
+ date: 2021-09-09 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: 2.2.0
19
+ version: 2.3.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: 2.2.0
26
+ version: 2.3.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: sinatra
29
29
  requirement: !ruby/object:Gem::Requirement