ruby_event_store-browser 2.5.1 → 2.6.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: 6d8751953fbf8d113ab312cf8bb35f847d5ac5d71dc1ad868263b900b6659801
4
- data.tar.gz: 3ac9153d0e7f0b6f1310e8aa2bed3e25d81361a53bc043b21ebf48615ec69dbe
3
+ metadata.gz: 1905466382c1bc0e5cb69ba9779c77bf6158ec145f9fd5df5fb37a7460cc7d4d
4
+ data.tar.gz: a6ce86a0299556aa3d3c741c0f9be7a2f52bed48f3395fad69c79b7cdb03b3d9
5
5
  SHA512:
6
- metadata.gz: 2d18795af4c24ad82c42b9214964387884e1a5c525509a8f559b11679e5d222cfb60ac75daab7d17dbc0fb840f63edea3a9cc5d6c17be0ee1e501b5deae21322
7
- data.tar.gz: 97b5d401e981d3dfbc17c3ddaf8b80436ec18acd39aafdf679e004460d056da2201599cae84bf19ec3d6fa149f2e44d02a4dca915a20960008337ddc5e0c9528
6
+ metadata.gz: be992db6ef3443ebb26def610f20d066aa40ea4e6120dfdd312c2c2837adff7cc063475376f4bbb48f85f850632aa5224e6b5ae0f39a76b5dbda9d4a948ab48d
7
+ data.tar.gz: 1bb87adf5493b069bcfc28fb3086a811b708504cab16cd20d7866ffeedd49bfa4cda9cba76e90759101f2863c6e80a366182382a9fcaafb637f963584daa2ead
@@ -130,11 +130,11 @@ module RubyEventStore
130
130
  end
131
131
 
132
132
  def json(body)
133
- [200, { "Content-Type" => "application/vnd.api+json" }, [JSON.dump(body.to_h)]]
133
+ [200, { "content-type" => "application/vnd.api+json" }, [JSON.dump(body.to_h)]]
134
134
  end
135
135
 
136
136
  def erb(template, **locals)
137
- [200, { "Content-Type" => "text/html;charset=utf-8" }, [ERB.new(template).result_with_hash(locals)]]
137
+ [200, { "content-type" => "text/html;charset=utf-8" }, [ERB.new(template).result_with_hash(locals)]]
138
138
  end
139
139
 
140
140
  def res_version
@@ -0,0 +1,29 @@
1
+ # frozen_string_literal: true
2
+
3
+ module RubyEventStore
4
+ module Browser
5
+ class GemSource
6
+ attr_reader :path
7
+
8
+ def initialize(load_path)
9
+ @path = load_path.find { |x| x.match? %r{ruby_event_store-browser(?:-\d\.\d\.\d)?/lib\z} }
10
+ end
11
+
12
+ def version
13
+ if from_rubygems?
14
+ path.split("/").fetch(-2).split("-").last
15
+ elsif from_git?
16
+ path.split("/").fetch(-3).split("-").last
17
+ end
18
+ end
19
+
20
+ def from_rubygems?
21
+ path.match? %r{/gems/ruby_event_store-browser-\d\.\d\.\d/lib\z}
22
+ end
23
+
24
+ def from_git?
25
+ path.match? %r{/bundler/gems/rails_event_store-[a-z0-9]{12}/ruby_event_store-browser/lib\z}
26
+ end
27
+ end
28
+ end
29
+ end
@@ -9,11 +9,20 @@ module RubyEventStore
9
9
  end
10
10
 
11
11
  def to_h
12
- { data: JsonApiEvent.new(event, parent_event_id).to_h }
12
+ {
13
+ data: [
14
+ JsonApiEvent.new(event, parent_event_id).to_h,
15
+ { relationships: { streams: { data: streams } } }
16
+ ].reduce(&:merge)
17
+ }
13
18
  end
14
19
 
15
20
  private
16
21
 
22
+ def streams
23
+ event_store.streams_of(event_id).map { |stream| { "id" => stream.name, "type" => "streams" } }
24
+ end
25
+
17
26
  attr_reader :event_store, :event_id
18
27
 
19
28
  def event
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module RubyEventStore
2
4
  module Browser
3
5
  class GetStream
@@ -8,28 +10,17 @@ module RubyEventStore
8
10
  end
9
11
 
10
12
  def to_h
11
- {
12
- data: {
13
- id: stream_name,
14
- type: "streams",
15
- attributes: {
16
- related_streams: related_streams
17
- },
18
- relationships: {
19
- events: {
20
- links: {
21
- self: routing.paginated_events_from_stream_url(id: stream_name)
22
- }
23
- }
24
- }
25
- }
26
- }
13
+ { data: JsonApiStream.new(stream_name, events_from_stream_url, related_streams).to_h }
27
14
  end
28
15
 
29
16
  private
30
17
 
31
18
  attr_reader :stream_name, :routing, :related_streams_query
32
19
 
20
+ def events_from_stream_url
21
+ routing.paginated_events_from_stream_url(id: stream_name)
22
+ end
23
+
33
24
  def related_streams
34
25
  related_streams_query.call(stream_name) unless related_streams_query.equal?(DEFAULT_RELATED_STREAMS_QUERY)
35
26
  end
@@ -0,0 +1,34 @@
1
+ # frozen_string_literal: true
2
+
3
+ module RubyEventStore
4
+ module Browser
5
+ class JsonApiStream
6
+ def initialize(stream_name, events_from_stream_url, related_streams)
7
+ @stream_name = stream_name
8
+ @events_from_stream_url = events_from_stream_url
9
+ @related_streams = related_streams
10
+ end
11
+
12
+ def to_h
13
+ {
14
+ id: stream_name,
15
+ type: "streams",
16
+ attributes: {
17
+ related_streams: related_streams
18
+ },
19
+ relationships: {
20
+ events: {
21
+ links: {
22
+ self: events_from_stream_url
23
+ }
24
+ }
25
+ }
26
+ }
27
+ end
28
+
29
+ private
30
+
31
+ attr_reader :stream_name, :events_from_stream_url, :related_streams
32
+ end
33
+ end
34
+ end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module RubyEventStore
2
4
  module Browser
3
5
  class Urls
@@ -20,6 +22,7 @@ module RubyEventStore
20
22
  @root_path = root_path
21
23
  @app_url = [host, root_path].compact.reduce(:+)
22
24
  @api_url = api_url || ("#{app_url}/api" if app_url)
25
+ @gem_source = GemSource.new($LOAD_PATH)
23
26
  end
24
27
 
25
28
  def events_url
@@ -45,11 +48,21 @@ module RubyEventStore
45
48
  end
46
49
 
47
50
  def browser_js_url
48
- "#{app_url}/ruby_event_store_browser.js"
51
+ name = "ruby_event_store_browser.js"
52
+ if gem_source.from_git?
53
+ cdn_file_url(name)
54
+ else
55
+ local_file_url(name)
56
+ end
49
57
  end
50
58
 
51
59
  def browser_css_url
52
- "#{app_url}/ruby_event_store_browser.css"
60
+ name = "ruby_event_store_browser.css"
61
+ if gem_source.from_git?
62
+ cdn_file_url(name)
63
+ else
64
+ local_file_url(name)
65
+ end
53
66
  end
54
67
 
55
68
  def bootstrap_js_url
@@ -59,6 +72,17 @@ module RubyEventStore
59
72
  def ==(o)
60
73
  self.class.eql?(o.class) && app_url.eql?(o.app_url) && api_url.eql?(o.api_url)
61
74
  end
75
+
76
+ private
77
+ attr_reader :gem_source
78
+
79
+ def local_file_url(name)
80
+ "#{app_url}/#{name}"
81
+ end
82
+
83
+ def cdn_file_url(name)
84
+ "https://cdn.railseventstore.org/#{gem_source.version}/#{name}"
85
+ end
62
86
  end
63
87
  end
64
88
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RubyEventStore
4
4
  module Browser
5
- VERSION = "2.5.1"
5
+ VERSION = "2.6.0"
6
6
  end
7
7
  end
@@ -10,7 +10,9 @@ end
10
10
 
11
11
  require_relative "browser/get_event"
12
12
  require_relative "browser/json_api_event"
13
+ require_relative "browser/json_api_stream"
13
14
  require_relative "browser/get_events_from_stream"
14
15
  require_relative "browser/get_stream"
15
16
  require_relative "browser/urls"
17
+ require_relative "browser/gem_source"
16
18
  require_relative "browser/router"
@@ -1 +1 @@
1
- /*! tailwindcss v3.1.4 | MIT License | https://tailwindcss.com*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;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}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--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;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::-webkit-backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--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;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--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;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.absolute{position:absolute}.my-10{margin-top:2.5rem;margin-bottom:2.5rem}.ml-4{margin-left:1rem}.mt-8{margin-top:2rem}.mr-1{margin-right:.25rem}.inline-block{display:inline-block}.flex{display:flex}.table{display:table}.h-16{height:4rem}.min-h-screen{min-height:100vh}.w-full{width:100%}.flex-1{flex:1 1 0%}.table-fixed{table-layout:fixed}.border-collapse{border-collapse:collapse}.list-disc{list-style-type:disc}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.rounded{border-radius:.25rem}.border{border-width:1px}.border-t{border-top-width:1px}.border-b{border-bottom-width:1px}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.border-red-700{--tw-border-opacity:1;border-color:rgb(185 28 28/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-red-700{--tw-bg-opacity:1;background-color:rgb(185 28 28/var(--tw-bg-opacity))}.p-0{padding:0}.px-8{padding-left:2rem;padding-right:2rem}.px-4{padding-left:1rem;padding-right:1rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-24{padding-top:6rem;padding-bottom:6rem}.py-8{padding-top:2rem;padding-bottom:2rem}.px-2{padding-left:.5rem;padding-right:.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.pb-4{padding-bottom:1rem}.pt-2{padding-top:.5rem}.pl-8{padding-left:2rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-top{vertical-align:top}.align-bottom{vertical-align:bottom}.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}.text-sm{font-size:.875rem;line-height:1.25rem}.text-2xl{font-size:1.5rem;line-height:2rem}.text-xs{font-size:.75rem;line-height:1rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-semibold{font-weight:600}.font-bold{font-weight:700}.uppercase{text-transform:uppercase}.leading-relaxed{line-height:1.625}.leading-tight{line-height:1.25}.text-gray-800{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.text-gray-100{--tw-text-opacity:1;color:rgb(243 244 246/var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-red-700{--tw-text-opacity:1;color:rgb(185 28 28/var(--tw-text-opacity))}.no-underline{-webkit-text-decoration-line:none;text-decoration-line:none}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.filter{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)}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-red-700\/50:disabled{border-color:#b91c1c80}.disabled\:text-red-700\/50:disabled{color:#b91c1c80}
1
+ /*! tailwindcss v3.2.4 | MIT License | https://tailwindcss.com*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;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-feature-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,::backdrop,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--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;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.absolute{position:absolute}.my-10{margin-top:2.5rem;margin-bottom:2.5rem}.ml-4{margin-left:1rem}.mt-8{margin-top:2rem}.mr-1{margin-right:.25rem}.inline-block{display:inline-block}.flex{display:flex}.table{display:table}.h-16{height:4rem}.min-h-screen{min-height:100vh}.w-full{width:100%}.flex-1{flex:1 1 0%}.table-fixed{table-layout:fixed}.border-collapse{border-collapse:collapse}.list-disc{list-style-type:disc}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.rounded{border-radius:.25rem}.border{border-width:1px}.border-t{border-top-width:1px}.border-b{border-bottom-width:1px}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.border-red-700{--tw-border-opacity:1;border-color:rgb(185 28 28/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-red-700{--tw-bg-opacity:1;background-color:rgb(185 28 28/var(--tw-bg-opacity))}.p-0{padding:0}.px-8{padding-left:2rem;padding-right:2rem}.px-4{padding-left:1rem;padding-right:1rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-24{padding-top:6rem;padding-bottom:6rem}.py-8{padding-top:2rem;padding-bottom:2rem}.px-2{padding-left:.5rem;padding-right:.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.pb-4{padding-bottom:1rem}.pt-2{padding-top:.5rem}.pl-8{padding-left:2rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-top{vertical-align:top}.align-bottom{vertical-align:bottom}.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}.text-sm{font-size:.875rem;line-height:1.25rem}.text-2xl{font-size:1.5rem;line-height:2rem}.text-xs{font-size:.75rem;line-height:1rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-semibold{font-weight:600}.font-bold{font-weight:700}.uppercase{text-transform:uppercase}.leading-relaxed{line-height:1.625}.leading-tight{line-height:1.25}.text-gray-800{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.text-gray-100{--tw-text-opacity:1;color:rgb(243 244 246/var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-red-700{--tw-text-opacity:1;color:rgb(185 28 28/var(--tw-text-opacity))}.no-underline{text-decoration-line:none}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.filter{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)}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-red-700\/50:disabled{border-color:#b91c1c80}.disabled\:text-red-700\/50:disabled{color:#b91c1c80}
@@ -1 +1 @@
1
- !function(M){"use strict";function Z(n,r,t){return t.a=n,t.f=r,t}function o(t){return Z(2,t,function(r){return function(n){return t(r,n)}})}function r(e){return Z(3,e,function(t){return function(r){return function(n){return e(t,r,n)}}})}function n(u){return Z(4,u,function(e){return function(t){return function(r){return function(n){return u(e,t,r,n)}}}})}function F(a){return Z(5,a,function(u){return function(e){return function(t){return function(r){return function(n){return a(u,e,t,r,n)}}}}})}function q(c){return Z(6,c,function(a){return function(u){return function(e){return function(t){return function(r){return function(n){return c(a,u,e,t,r,n)}}}}}})}function J(o){return Z(7,o,function(c){return function(a){return function(u){return function(e){return function(t){return function(r){return function(n){return o(c,a,u,e,t,r,n)}}}}}}})}function K(f){return Z(9,f,function(i){return function(o){return function(c){return function(a){return function(u){return function(e){return function(t){return function(r){return function(n){return f(i,o,c,a,u,e,t,r,n)}}}}}}}}})}function s(n,r,t){return 2===n.a?n.f(r,t):n(r)(t)}function b(n,r,t,e){return 3===n.a?n.f(r,t,e):n(r)(t)(e)}function d(n,r,t,e,u){return 4===n.a?n.f(r,t,e,u):n(r)(t)(e)(u)}function l(n,r,t,e,u,a){return 5===n.a?n.f(r,t,e,u,a):n(r)(t)(e)(u)(a)}function U(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 z(n,r,t,e,u,a,c,o){return 7===n.a?n.f(r,t,e,u,a,c,o):n(r)(t)(e)(u)(a)(c)(o)}var B=r(function(n,r,t){for(var e=Array(n),u=0;u<n;u++)e[u]=t(r+u);return e}),D=o(function(n,r){for(var t=Array(n),e=0;e<n&&r.b;e++)t[e]=r.a,r=r.b;return t.length=e,{a:t,b:r}});function W(n){throw Error("https://github.com/elm/core/blob/1.0.0/hints/"+n+".md")}function i(n,r){for(var t,e=[],u=P(n,r,0,e);u&&(t=e.pop());u=P(t.a,t.b,0,e));return u}function P(n,r,t,e){if(n===r)return!0;if("object"!=typeof n||null===n||null===r)return"function"==typeof n&&W(5),!1;if(100<t)return e.push({a:n,b:r}),!0;for(var u in n.$<0&&(n=Ft(n),r=Ft(r)),n)if(!P(n[u],r[u],t+1,e))return!1;return!0}function G(n,r,t){if("object"!=typeof n)return n===r?0:n<r?-1:1;if(void 0===n.$)return(t=G(n.a,r.a))||(t=G(n.b,r.b))?t:G(n.c,r.c);for(;n.b&&r.b&&!(t=G(n.a,r.a));n=n.b,r=r.b);return t||(n.b?1:r.b?-1:0)}var V=o(function(n,r){n=G(n,r);return n<0?Kt:n?Jt:qt}),Q=0;function c(n,r){var t,e={};for(t in n)e[t]=n[t];for(t in r)e[t]=r[t];return e}function f(n,r){if("string"==typeof n)return n+r;if(!n.b)return r;var t={$:1,a:n.a,b:r};n=n.b;for(var e=t;n.b;n=n.b)e=e.b={$:1,a:n.a,b:r};return t}var v={$:0};function H(n,r){return{$:1,a:n,b:r}}var X=o(H);function $(n){for(var r=v,t=n.length;t--;)r={$:1,a:n[t],b:r};return r}function Y(n){for(var r=[];n.b;n=n.b)r.push(n.a);return r}var nn=r(function(n,r,t){for(var e=[];r.b&&t.b;r=r.b,t=t.b)e.push(s(n,r.a,t.a));return $(e)}),rn=o(function(n,r){return n+r}),tn=o(function(n,r){r%=n;return 0===n?W(11):0<r&&n<0||r<0&&0<n?r+n:r});var en=Math.ceil,un=Math.floor,an=Math.round,cn=Math.log;var on=o(function(n,r){return n+r});var fn=o(function(n,r){return r.split(n)}),bn=o(function(n,r){return r.join(n)}),sn=r(function(n,r,t){return t.slice(n,r)});var dn=o(function(n,r){for(var t=r.length;t--;){var e=r[t],u=r.charCodeAt(t);if(!n(e=u<56320||57343<u?e:r[--t]+e))return!1}return!0}),ln=o(function(n,r){return!!~r.indexOf(n)}),vn=o(function(n,r){return 0==r.indexOf(n)}),$n=o(function(n,r){var t=n.length;if(t<1)return v;for(var e=0,u=[];-1<(e=r.indexOf(n,e));)u.push(e),e+=t;return $(u)});function pn(n){return n+""}var hn={$:2,b:function(n){return"boolean"==typeof n?x(n):Rn("a BOOL",n)}},gn={$:2,b:function(n){return"number"==typeof n?x(n):Rn("a FLOAT",n)}},yn={$:2,b:function(n){return x(n)}},xn={$:2,b:function(n){return"string"==typeof n?x(n):n instanceof String?x(n+""):Rn("a STRING",n)}};var mn=o(function(n,r){return{$:6,d:n,b:r}});var wn=o(function(n,r){return{$:10,b:r,h:n}});var An=o(function(n,r){return{$:9,f:n,g:[r]}}),kn=r(function(n,r,t){return{$:9,f:n,g:[r,t]}}),jn=o(function(n,r){try{return _n(n,JSON.parse(r))}catch(n){return y(s(Ut,"This is not valid JSON! "+n.message,r))}}),En=o(_n);function _n(n,r){switch(n.$){case 2:return n.b(r);case 5:return null===r?x(n.c):Rn("null",r);case 3:return Tn(r)?Ln(n.b,r,$):Rn("a LIST",r);case 4:return Tn(r)?Ln(n.b,r,Cn):Rn("an ARRAY",r);case 6:var t=n.d;if("object"!=typeof r||null===r||!(t in r))return Rn("an OBJECT with a field named `"+t+"`",r);var e=_n(n.b,r[t]);return je(e)?e:y(s(zt,t,e.a));case 7:t=n.e;if(!Tn(r))return Rn("an ARRAY",r);if(r.length<=t)return Rn("a LONGER array. Need index "+t+" but only see "+r.length+" entries",r);e=_n(n.b,r[t]);return je(e)?e:y(s(Bt,t,e.a));case 8:if("object"!=typeof r||null===r||Tn(r))return Rn("an OBJECT",r);var u,a=v;for(u in r)if(r.hasOwnProperty(u)){e=_n(n.b,r[u]);if(!je(e))return y(s(zt,u,e.a));a={$:1,a:{a:u,b:e.a},b:a}}return x(ee(a));case 9:for(var c=n.f,o=n.g,i=0;i<o.length;i++){e=_n(o[i],r);if(!je(e))return e;c=c(e.a)}return x(c);case 10:e=_n(n.b,r);return je(e)?_n(n.h(e.a),r):e;case 11:for(var f=v,b=n.g;b.b;b=b.b){e=_n(b.a,r);if(je(e))return e;f={$:1,a:e.a,b:f}}return y(Dt(ee(f)));case 1:return y(s(Ut,n.a,r));case 0:return x(n.a)}}function Ln(n,r,t){for(var e=r.length,u=Array(e),a=0;a<e;a++){var c=_n(n,r[a]);if(!je(c))return y(s(Bt,a,c.a));u[a]=c.a}return x(t(u))}function Tn(n){return Array.isArray(n)||"undefined"!=typeof FileList&&n instanceof FileList}function Cn(r){return s(ke,r.length,function(n){return r[n]})}function Rn(n,r){return y(s(Ut,"Expecting "+n,r))}function Nn(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 Nn(n.b,r.b);case 6:return n.d===r.d&&Nn(n.b,r.b);case 7:return n.e===r.e&&Nn(n.b,r.b);case 9:return n.f===r.f&&Sn(n.g,r.g);case 10:return n.h===r.h&&Nn(n.b,r.b);case 11:return Sn(n.g,r.g)}}function Sn(n,r){var t=n.length;if(t!==r.length)return!1;for(var e=0;e<t;e++)if(!Nn(n[e],r[e]))return!1;return!0}var On=o(function(n,r){return JSON.stringify(r,null,n)+""});function In(n){return n}function Mn(n){return{$:0,a:n}}var Zn=o(function(n,r){return{$:3,b:n,d:r}});var Fn=0;function qn(n){n={$:0,e:Fn++,f:n,g:null,h:[]};return Dn(n),n}function Jn(r){return{$:2,b:function(n){n({$:0,a:qn(r)})},c:null}}function Kn(n,r){n.h.push(r),Dn(n)}var Un=o(function(r,t){return{$:2,b:function(n){Kn(r,t),n({$:0,a:Q})},c:null}});var zn=!1,Bn=[];function Dn(n){if(Bn.push(n),!zn){for(zn=!0;n=Bn.shift();)!function(r){for(;r.f;){var n=r.f.$;if(0===n||1===n){for(;r.g&&r.g.$!==n;)r.g=r.g.i;if(!r.g)return;r.f=r.g.b(r.f.a),r.g=r.g.i}else{if(2===n)return r.f.c=r.f.b(function(n){r.f=n,Dn(r)});if(5===n){if(0===r.h.length)return;r.f=r.f.b(r.h.shift())}else r.g={$:3===n?0:1,b:r.f.b,i:r.g},r.f=r.f.d}}}(n);zn=!1}}function Wn(n,r,t,e,u,a){var n=s(En,n,r?r.flags:void 0),c=(je(n)||W(2),{}),r=t(n.a),o=r.a,i=a(f,o),t=function(n,r){var t,e;for(e in Pn){var u=Pn[e];u.a&&((t=t||{})[e]=u.a(e,r)),n[e]=function(n,r){var e={g:r,h:void 0},u=n.c,a=n.d,c=n.e,o=n.f;function i(t){return s(Zn,i,{$:5,b:function(n){var r=n.a;return 0===n.$?b(a,e,r,t):c&&o?d(u,e,r.i,r.j,t):b(u,e,c?r.i:r.j,t)}})}return e.h=qn(s(Zn,i,n.b))}(u,r)}return t}(c,f);function f(n,r){n=s(e,n,o);i(o=n.a,r),rr(c,n.b,u(o))}return rr(c,r.b,u(o)),t?{ports:t}:{}}var Pn={};var Gn=o(function(r,t){return{$:2,b:function(n){r.g(t),n({$:0,a:Q})},c:null}}),Vn=o(function(n,r){return s(Un,n.h,{$:0,a:r})});function Qn(r){return function(n){return{$:1,k:r,l:n}}}function Hn(n){return{$:2,m:n}}var Xn=o(function(n,r){return{$:3,n:n,o:r}}),Yn=[],nr=!1;function rr(n,r,t){if(Yn.push({p:n,q:r,r:t}),!nr){nr=!0;for(var e;e=Yn.shift();)!function(n,r,t){var e,u={};for(e in tr(!0,r,u,null),tr(!1,t,u,null),n)Kn(n[e],{$:"fx",a:u[e]||{i:v,j:v}})}(e.p,e.q,e.r);nr=!1}}function tr(n,r,t,e){switch(r.$){case 1:var u=r.k,a=function(n,r,t,e){function u(n){for(var r=t;r;r=r.t)n=r.s(n);return n}return s(n?Pn[r].e:Pn[r].f,u,e)}(n,u,e,r.l);return void(t[u]=function(n,r,t){return t=t||{i:v,j:v},n?t.i={$:1,a:r,b:t.i}:t.j={$:1,a:r,b:t.j},t}(n,a,t[u]));case 2:for(var c=r.m;c.b;c=c.b)tr(n,c.a,t,e);return;case 3:tr(n,r.o,t,{s:r.n,t:e})}}var er;var ur="undefined"!=typeof document?document:{};function ar(n){return{$:0,a:n}}var p=o(function(a,c){return o(function(n,r){for(var t=[],e=0;r.b;r=r.b){var u=r.a;e+=u.b||0,t.push(u)}return e+=t.length,{$:1,c:c,d:dr(n),e:t,f:a,b:e}})})(void 0);o(function(a,c){return o(function(n,r){for(var t=[],e=0;r.b;r=r.b){var u=r.a;e+=u.b.b||0,t.push(u)}return e+=t.length,{$:2,c:c,d:dr(n),e:t,f:a,b:e}})})(void 0);var cr=o(function(n,r){return{$:4,j:n,k:r,b:1+(r.b||0)}});var or=o(function(n,r){return{$:"a0",n:n,o:r}}),ir=o(function(n,r){return{$:"a1",n:n,o:r}}),fr=o(function(n,r){return{$:"a2",n:n,o:r}}),br=o(function(n,r){return{$:"a3",n:n,o:r}});var sr;function dr(n){for(var r={};n.b;n=n.b){var t,e=n.a,u=e.$,a=e.n,e=e.o;"a2"===u?"className"===a?lr(r,a,e):r[a]=e:(t=r[u]||(r[u]={}),"a3"===u&&"class"===a?lr(t,a,e):t[a]=e)}return r}function lr(n,r,t){var e=n[r];n[r]=e?e+" "+t:t}function vr(n,r){var t=n.$;if(5===t)return vr(n.k||(n.k=n.m()),r);if(0===t)return ur.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=vr(e,a)).elm_event_node_ref=a,c}if(3===t)return $r(c=n.h(n.g),r,n.d),c;var c=n.f?ur.createElementNS(n.f,n.c):ur.createElement(n.c);er&&"a"==n.c&&c.addEventListener("click",er(c)),$r(c,r,n.d);for(var o=n.e,i=0;i<o.length;i++)c.appendChild(vr(1===t?o[i]:o[i].b,r));return c}function $r(n,r,t){for(var e in t){var u=t[e];"a1"===e?function(n,r){var t,e=n.style;for(t in r)e[t]=r[t]}(n,u):"a0"===e?function(n,r,t){var e,u=n.elmFs||(n.elmFs={});for(e in t){var a=t[e],c=u[e];if(a){if(c){if(c.q.$===a.$){c.q=a;continue}n.removeEventListener(e,c)}c=function(i,n){function f(n){var r=f.q,t=_n(r.a,n);if(je(t)){for(var e,r=Le(r),t=t.a,u=r?r<3?t.a:t.C:t,a=1==r?t.b:3==r&&t.a4,c=(a&&n.stopPropagation(),(2==r?t.b:3==r&&t.aO)&&n.preventDefault(),i);e=c.j;){if("function"==typeof e)u=e(u);else for(var o=e.length;o--;)u=e[o](u);c=c.p}c(u,a)}}return f.q=n,f}(r,a),n.addEventListener(e,c,sr&&{passive:Le(a)<2}),u[e]=c}else n.removeEventListener(e,c),u[e]=void 0}}(n,r,u):"a3"===e?function(n,r){for(var t in r){var e=r[t];void 0!==e?n.setAttribute(t,e):n.removeAttribute(t)}}(n,u):"a4"===e?function(n,r){for(var t in r){var e=r[t],u=e.f,e=e.o;void 0!==e?n.setAttributeNS(u,t,e):n.removeAttributeNS(u,t)}}(n,u):("value"!==e&&"checked"!==e||n[e]!==u)&&(n[e]=u)}}try{window.addEventListener("t",null,Object.defineProperty({},"passive",{get:function(){sr=!0}}))}catch(n){}function pr(n,r){var t=[];return hr(n,r,t,0),t}function T(n,r,t,e){r={$:r,r:t,s:e,t:void 0,u:void 0};return n.push(r),r}function hr(n,r,t,e){if(n!==r){var u=n.$,a=r.$;if(u!==a){if(1!==u||2!==a)return void T(t,0,e,r);r=function(n){for(var r=n.e,t=r.length,e=Array(t),u=0;u<t;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,o=r.l,i=c.length,f=i===o.length;f&&i--;)f=c[i]===o[i];if(f)return void(r.k=n.k);r.k=r.m();var b=[];return hr(n.k,r.k,b,0),void(0<b.length&&T(t,1,e,b));case 4:for(var s=n.j,d=r.j,l=!1,v=n.k;4===v.$;)l=!0,"object"!=typeof s?s=[s,v.j]:s.push(v.j),v=v.k;for(var $=r.k;4===$.$;)l=!0,"object"!=typeof d?d=[d,$.j]:d.push($.j),$=$.k;return l&&s.length!==d.length?void T(t,0,e,r):((l?function(n,r){for(var t=0;t<n.length;t++)if(n[t]!==r[t])return;return 1}(s,d):s===d)||T(t,2,e,d),void hr(v,$,t,e+1));case 0:return void(n.a!==r.a&&T(t,3,e,r.a));case 1:return void gr(n,r,t,e,xr);case 2:return void gr(n,r,t,e,mr);case 3:if(n.h!==r.h)return void T(t,0,e,r);b=yr(n.d,r.d),b=(b&&T(t,4,e,b),r.i(n.g,r.g));b&&T(t,5,e,b)}}}function gr(n,r,t,e,u){var a;n.c!==r.c||n.f!==r.f?T(t,0,e,r):((a=yr(n.d,r.d))&&T(t,4,e,a),u(n,r,t,e))}function yr(n,r,t){var e,u,a,c,o;for(u in n)"a1"===u||"a0"===u||"a3"===u||"a4"===u?(a=yr(n[u],r[u]||{},u))&&((e=e||{})[u]=a):u in r?(a=n[u])===(c=r[u])&&"value"!==u&&"checked"!==u||"a0"===t&&function(n,r){return n.$==r.$&&Nn(n.a,r.a)}(a,c)||((e=e||{})[u]=c):(e=e||{})[u]=t?"a1"===t?"":"a0"===t||"a3"===t?void 0:{f:n[u].f,o:void 0}:"string"==typeof n[u]?"":null;for(o in r)o in n||((e=e||{})[o]=r[o]);return e}function xr(n,r,t,e){var u=n.e,a=r.e,n=u.length,r=a.length;r<n?T(t,6,e,{v:r,i:n-r}):n<r&&T(t,7,e,{v:n,e:a});for(var c=n<r?n:r,o=0;o<c;o++){var i=u[o];hr(i,a[o],t,++e),e+=i.b||0}}function mr(n,r,t,e){for(var u=[],a={},c=[],o=n.e,i=r.e,f=o.length,b=i.length,s=0,d=0,l=e;s<f&&d<b;){var v=o[s],$=i[d],p=v.a,h=$.a,g=v.b,y=$.b,x=void 0,m=void 0;if(p===h)hr(g,y,u,++l),l+=g.b||0,s++,d++;else{var w,A,k,j,E=o[s+1],_=i[d+1];if(E&&(A=E.b,m=h===(w=E.a)),_&&(j=_.b,x=p===(k=_.a)),x&&m)hr(g,j,u,++l),Ar(a,u,p,y,d,c),l+=g.b||0,kr(a,u,p,A,++l),l+=A.b||0,s+=2,d+=2;else if(x)l++,Ar(a,u,h,y,d,c),hr(g,j,u,l),l+=g.b||0,s+=1,d+=2;else if(m)kr(a,u,p,g,++l),l+=g.b||0,hr(A,y,u,++l),l+=A.b||0,s+=2,d+=1;else{if(!E||w!==k)break;kr(a,u,p,g,++l),Ar(a,u,h,y,d,c),l+=g.b||0,hr(A,j,u,++l),l+=A.b||0,s+=2,d+=2}}}for(;s<f;){g=(v=o[s]).b;kr(a,u,v.a,g,++l),l+=g.b||0,s++}for(;d<b;){var L=L||[];Ar(a,u,($=i[d]).a,$.b,void 0,L),d++}(0<u.length||0<c.length||L)&&T(t,8,e,{w:u,x:c,y:L})}var wr="_elmW6BL";function Ar(n,r,t,e,u,a){var c,o=n[t];if(o)return 1===o.c?(a.push({r:u,A:o}),o.c=2,hr(o.z,e,c=[],o.r),o.r=u,void(o.s.s={w:c,A:o})):void Ar(n,r,t+wr,e,u,a);a.push({r:u,A:o={c:0,z:e,r:u,s:void 0}}),n[t]=o}function kr(n,r,t,e,u){var a,c=n[t];if(c)return 0===c.c?(c.c=2,hr(e,c.z,a=[],u),void T(r,9,u,{w:a,A:c})):void kr(n,r,t+wr,e,u);a=T(r,9,u,void 0),n[t]={c:1,z:e,r:u,s:a}}function jr(n,r,t,e){!function n(r,t,e,u,a,c,o){var i=e[u];var f=i.r;for(;f===a;){var b,s=i.$;if(1===s?jr(r,t.k,i.s,o):8===s?(i.t=r,i.u=o,0<(b=i.s.w).length&&n(r,t,b,0,a,c,o)):9===s?(i.t=r,i.u=o,(s=i.s)&&(s.A.s=r,0<(b=s.w).length&&n(r,t,b,0,a,c,o))):(i.t=r,i.u=o),!(i=e[++u])||(f=i.r)>c)return u}var d=t.$;if(4===d){for(var l=t.k;4===l.$;)l=l.k;return n(r,l,e,u,a+1,c,r.elm_event_node_ref)}var v=t.e;var $=r.childNodes;for(var p=0;p<v.length;p++){var h=1===d?v[p]:v[p].b,g=++a+(h.b||0);if(a<=f&&f<=g&&(u=n($[p],h,e,u,a,g,o),!(i=e[u])||(f=i.r)>c))return u;a=g}return u}(n,r,t,0,0,r.b,e)}function Er(n,r,t,e){return 0===t.length?n:(jr(n,r,t,e),_r(n,t))}function _r(n,r){for(var t=0;t<r.length;t++){var e=r[t],u=e.t,e=function(n,r){switch(r.$){case 0:return function(n,r,t){var e=n.parentNode,r=vr(r,t);r.elm_event_node_ref||(r.elm_event_node_ref=n.elm_event_node_ref);e&&r!==n&&e.replaceChild(r,n);return r}(n,r.s,r.u);case 4:return $r(n,r.u,r.s),n;case 3:return n.replaceData(0,n.length,r.s),n;case 1:return _r(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;e<t.i;e++)n.removeChild(n.childNodes[t.v]);return n;case 7:for(var u=(t=r.s).e,e=t.v,a=n.childNodes[e];e<u.length;e++)n.insertBefore(vr(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=_r(n,t.w),n;case 8:return function(n,r){for(var t=r.s,e=function(n,r){if(n){for(var t=ur.createDocumentFragment(),e=0;e<n.length;e++){var u=n[e].A;t.appendChild(2===u.c?u.s:vr(u.z,r.u))}return t}}(t.y,r),u=(n=_r(n,t.w),t.x),a=0;a<u.length;a++){var c=u[a],o=c.A,o=2===o.c?o.s:vr(o.z,r.u);n.insertBefore(o,n.childNodes[c.r])}e&&n.appendChild(e);return n}(n,r);case 5:return r.s(n);default:W(10)}}(u,e);u===n&&(n=e)}return n}function Lr(n){if(3===n.nodeType)return{$:0,a:n.textContent};if(1!==n.nodeType)return{$:0,a:""};for(var r=v,t=n.attributes,e=t.length;e--;)var u=t[e],r={$:1,a:s(br,u.name,u.value),b:r};for(var a=n.tagName.toLowerCase(),c=v,o=n.childNodes,e=o.length;e--;)c={$:1,a:Lr(o[e]),b:c};return b(p,a,r,c)}var Tr=n(function(r,n,t,e){return Wn(n,e,r.cI,r.dl,r.da,function(e,n){var u=r.aX&&r.aX(e),a=r.dm,c=ur.title,o=ur.body,i=Lr(o);return Nr(n,function(n){er=u;var n=a(n),r=p("body")(v)(n.bg),t=pr(i,r);o=Er(o,i,t,e),i=r,er=0,c!==n.cb&&(ur.title=c=n.cb)})})}),Cr="undefined"!=typeof cancelAnimationFrame?cancelAnimationFrame:function(n){clearTimeout(n)},Rr="undefined"!=typeof requestAnimationFrame?requestAnimationFrame:function(n){return setTimeout(n,1e3/60)};function Nr(t,e){e(t);var u=0;function a(){u=1===u?0:(Rr(a),e(t),1)}return function(n,r){t=n,r?(e(t),2===u&&(u=1)):(0===u&&Rr(a),u=2)}}function Sr(){return Ue(ur.location.href).a||W(1)}var Or=o(function(n,r){return s(Xe,ze,{$:2,b:function(){history.pushState({},"",r),n()},c:null})}),Ir={addEventListener:function(){},removeEventListener:function(){}},Mr="undefined"!=typeof window?window:Ir;var Ir=F(function(n,r,t,e,u){for(var a=n.length,c=r+a<=u.length,o=0;c&&o<a;)var i=u.charCodeAt(r),c=n[o++]===u[r++]&&(10==i?(t++,e=1):(e++,55296==(63488&i)?n[o++]===u[r++]:1));return{a:c?r:-1,b:t,c:e}}),Zr=r(function(n,r,t){return r<t.length?55296==(63488&t.charCodeAt(r))?n(t.substr(r,2))?r+2:-1:n(t[r])?"\n"===t[r]?-2:r+1:-1:-1}),Fr=r(function(e,u,a){return{$:2,b:function(r){function t(n){r(u(a.ay.a(n)))}var n=new XMLHttpRequest;n.addEventListener("error",function(){t(Sa)}),n.addEventListener("timeout",function(){t(Ma)}),n.addEventListener("load",function(){t(function(n,r){return s(200<=r.status&&r.status<300?Na:Ca,function(n){return{bb:n.responseURL,c8:n.status,c9:n.statusText,bu:function(n){if(!n)return mu;for(var r=mu,t=n.split("\r\n"),e=t.length;e--;){var u,a,c=t[e],o=c.indexOf(": ");0<o&&(u=c.substring(0,o),a=c.substring(2+o),r=b(yu,u,function(n){return m(Za(n)?a+", "+n.a:a)},r))}return r}(n.getAllResponseHeaders())}}(r),n(r.response))}(a.ay.b,n))}),Za(a.cc)&&function(r,t,e){t.upload.addEventListener("progress",function(n){t.c||qn(s(Fa,r,{a:e,b:Ia({c7:n.loaded,b4:n.total})}))}),t.addEventListener("progress",function(n){t.c||qn(s(Fa,r,{a:e,b:Oa({c3:n.loaded,b4:n.lengthComputable?m(n.total):w})}))})}(e,n,a.cc.a);try{n.open(a.cM,a.bb,!0)}catch(n){return t(Ra(a.bb))}return function(n,r){for(var t=r.bu;t.b;t=t.b)n.setRequestHeader(t.a.a,t.a.b);n.timeout=r.dd.a||0,n.responseType=r.ay.d,n.withCredentials=r.ck}(n,a),a.bg.a&&n.setRequestHeader("Content-Type",a.bg.a),n.send(a.bg.b),function(){n.c=!0,n.abort()}},c:null}});var qr=r(function(n,r,t){return{$:0,d:n,b:r,a:t}}),Jr=o(function(r,t){return{$:0,d:t.d,b:t.b,a:function(n){return r(t.a(n))}}});function Kr(n){return s(Vt,"\n ",s(Qt,"\n",n))}function Ur(n){return b(Ht,o(function(n,r){return r+1}),0,n)}function zr(n){return 97<=(n=te(n))&&n<=122}function Br(n){return(n=te(n))<=90&&65<=n}function Dr(n){return(n=te(n))<=57&&48<=n}function Wr(n){return zr(n)||Br(n)||Dr(n)}function Pr(n){return n}function Gr(n){return n}function Vr(n){return b(We,Ge(g),Be(v),n)}function Qr(n){return{$:1,a:n}}function Hr(n){return{$:2,a:n}}function Xr(n){var r,t,e,u,a,c,o,i;return-1===n.$&&-1===n.d.$&&-1===n.e.$?-1!==n.e.d.$||n.e.d.a?(e=(i=n.e).b,u=i.c,a=i.d,i=i.e,l(E,1,n.b,n.c,l(E,0,(r=n.d).b,r.c,r.d,r.e),l(E,0,e,u,a,i))):(e=(t=n.e).b,u=t.c,c=(a=t.d).d,o=a.e,i=t.e,l(E,0,a.b,a.c,l(E,1,n.b,n.c,l(E,0,(r=n.d).b,r.c,r.d,r.e),c),l(E,1,e,u,o,i))):n}function Yr(n){var r,t,e,u,a,c,o,i,f;return-1===n.$&&-1===n.d.$&&-1===n.e.$?-1!==n.d.d.$||n.d.d.a?(c=(f=n.e).b,o=f.c,i=f.d,f=f.e,l(E,1,r=n.b,t=n.c,l(E,0,(u=n.d).b,u.c,u.d,u=u.e),l(E,0,c,o,i,f))):(r=n.b,t=n.c,u=(e=n.d).e,c=(a=n.e).b,o=a.c,i=a.d,f=a.e,l(E,0,e.b,e.c,l(E,1,(a=e.d).b,a.c,a.d,a.e),l(E,1,r,t,u,l(E,0,c,o,i,f)))):n}function nt(n){var r,t,e,u,a,c;return-1===n.$&&-1===n.d.$?(r=n.a,t=n.b,e=n.c,c=(u=n.d).d,a=n.e,1===u.a?-1!==c.$||c.a?-1===(c=Xr(n)).$?(n=c.e,l(du,c.a,c.b,c.c,nt(c.d),n)):su:l(E,r,t,e,nt(u),a):l(E,r,t,e,nt(u),a)):su}function rt(n){return{$:0,a:n}}function tt(n){return{$:1,a:n}}function et(c){return function(n){var r,t=n.I,e=n.E,u=n.G,a=n.F,n=n.A;return e.b?(r=e.b,i(e=e.a,c)?$([l(au,s(g,e,t),r,u,a,n)]):v):v}}function ut(r){return s(ju,function(n){return n(r)},It)}function at(n){return{$:2,a:n}}function ct(n){return s(Vt,"",n)}function ot(n){return Lu(n.bQ)+(" at row "+A(n.bZ)+(", col "+A(n.bj)))}function it(n){return i(Re(n.a),n.b)?b(Nu,!1,0,n):s(Ru,!1,s(Mu,n,Mt))}function ft(n){return{$:1,a:n}}function bt(n){return n.$?{$:1,a:n.a}:{$:0,a:n.a}}function t(t){return s(aa,"",function(r){var n;return i(Re(r),t)?(n=Me(r)).$?Uu('Invalid integer: "'+r+'"'):s(ua,ft,_(n.a)):s(ua,function(n){return{$:0,a:s(Yu,r,n)}},Ku(s(ra,Dr,na)))})}function st(n){return ia(s(ca,n,{$:8,a:n}))}function h(n){return Uu("Invalid day: "+A(n))}function dt(n){return!(s(L,4,n)||!s(L,100,n)&&s(L,400,n))}function lt(n){return((n-=1)/4|0)-(n/100|0)+(n/400|0)}function vt(n){return b(sa,n.bZ,n.bj,n.bQ)}function $t(n){return $a($([s(e,m,n),_e(w)]))}function pt(n){return b(_a,"#",n.br,b(_a,"?",n.bT,f(s(Ea,n.bO,f(n.bS?"https://":"http://",n.bw)),n.ao)))}function ht(n){return{$:4,a:n}}function gt(n){return function(n){return tc(Pa({ck:!1,bg:n.bg,ay:n.ay,bu:n.bu,cM:n.cM,dd:n.dd,cc:n.cc,bb:n.bb}))}({bg:Wa,ay:n.ay,bu:v,cM:"GET",dd:w,cc:w,bb:n.bb})}function yt(n){return{$:2,a:n}}function xt(n){return{$:2,a:n}}function mt(n){return n.a+"="+n.b}function wt(n){return{$:3,a:n}}function At(n){return{$:4,a:n}}function kt(n){return{$:1,a:n}}function jt(n){return n.$?"RubyEventStore::Browser":"RubyEventStore::Browser - "+n.a}function Et(n){return s(Vc,"href",/^javascript:/i.test((n=n).replace(/\s/g,""))?"":n)}function _t(n){return{$:1,a:n}}function Lt(n){return s(ro,$([N("flex bg-red-700 px-8 h-16")]),$([s(R,$([N("flex items-center")]),$([s(Pc,$([Et(pt(n.aA.aU)),N("text-gray-100 font-semibold")]),$([S("Ruby Event Store")]))])),s(R,$([N("flex-1")]),v),s(R,$([N("flex items-center")]),$([s(Yc,$([s(oo,"submit",s(e,co,_e(Xc)))]),$([s(no,$([N("rounded px-4 py-2"),fo(n.bB.O),s(uo,"input",s(e,to,s(e,_t,ao))),io("Go to stream...")]),v)]))]))]))}function Tt(n){return{$:4,a:n}}function Ct(n){return{$:3,a:n}}function Rt(n){return{$:2,a:n}}function Nt(n){return{$:1,a:n}}function St(n){return{$:0,a:n}}function Ot(n){return s(Ee,n,_e(0))}var It,Mt,g=X,Zt=r(function(n,r,t){for(;;){if(-2===t.$)return r;var e=t.d,u=n,a=b(n,t.b,t.c,b(Zt,n,r,t.e));n=u,r=a,t=e}}),Ft=function(n){return b(Zt,r(function(n,r,t){return s(g,{a:n,b:r},t)}),v,n)},qt=1,Jt=2,Kt=0,y=function(n){return{$:1,a:n}},Ut=o(function(n,r){return{$:3,a:n,b:r}}),zt=o(function(n,r){return{$:0,a:n,b:r}}),Bt=o(function(n,r){return{$:1,a:n,b:r}}),x=function(n){return{$:0,a:n}},Dt=function(n){return{$:2,a:n}},Wt=rn,m=function(n){return{$:0,a:n}},w={$:1},Pt=dn,Gt=On,A=pn,Vt=o(function(n,r){return s(bn,n,Y(r))}),Qt=o(function(n,r){return $(s(fn,n,r))}),Ht=r(function(n,r,t){for(;;){if(!t.b)return r;var e=t.b,u=n,a=s(n,t.a,r);n=u,r=a,t=e}}),Xt=nn,Yt=r(function(n,r,t){for(;;){if(G(n,r)>=1)return t;var e=n,u=r-1,a=s(g,r,t);n=e,r=u,t=a}}),ne=o(function(n,r){return b(Yt,n,r,v)}),re=o(function(n,r){return b(Xt,n,s(ne,0,Ur(r)-1),r)}),te=function(n){var r=n.charCodeAt(0);return r<55296||56319<r?r:1024*(r-55296)+n.charCodeAt(1)-56320+65536},ee=function(n){return b(Ht,g,v,n)},ue=function(n){var r=n.charCodeAt(0);return isNaN(r)?w:m(r<55296||56319<r?{a:n[0],b:n.slice(1)}:{a:n[0]+n[1],b:n.slice(2)})},ae=o(function(n,r){return"\n\n("+A(n+1)+(") "+Kr(ce(r)))}),ce=function(n){return s(oe,n,v)},oe=o(function(n,r){for(;;)switch(n.$){case 0:var t=n.a,e=n.b,u=(u=a=void 0,1!==(u=ue(t)).$&&(a=(u=u.a).b,function(n){return zr(n)||Br(n)}(u.a)&&s(Pt,Wr,a)));n=e,r=s(g,u?"."+t:"['"+t+"']",r);continue;case 1:var e=n.b,a="["+A(n.a)+"]";n=e,r=s(g,a,r);continue;case 2:u=n.a;if(u.b){if(u.b.b)return c=(r.b?"The Json.Decode.oneOf at json"+s(Vt,"",ee(r)):"Json.Decode.oneOf")+" failed in the following "+A(Ur(u))+" ways:",s(Vt,"\n\n",s(g,c,s(re,ae,u)));n=e=u.a,r=r;continue}return"Ran into a Json.Decode.oneOf with no possibilities"+(r.b?" at json"+s(Vt,"",ee(r)):"!");default:var c,t=n.a,o=n.b;return(c=r.b?"Problem with the value at json"+s(Vt,"",ee(r))+":\n\n ":"Problem with the given value:\n\n")+(Kr(s(Gt,4,o))+"\n\n")+t}var a,u}),ie=n(function(n,r,t,e){return{$:0,a:n,b:r,c:t,d:e}}),fe=[],be=en,se=o(function(n,r){return cn(r)/cn(n)}),de=be(s(se,2,32)),le=d(ie,0,de,fe,fe),ve=B,$e=o(function(n,r){return n(r)}),X=o(function(n,r){return r(n)}),pe=un,he=function(n){return n.length},ge=o(function(n,r){return 0<G(n,r)?n:r}),ye=D,xe=o(function(n,r){for(;;){var t=s(ye,32,n),e=t.b,t=s(g,{$:0,a:t.a},r);if(!e.b)return ee(t);n=e,r=t}}),me=o(function(n,r){for(;;){var t=be(r/32);if(1===t)return s(ye,32,n).a;n=s(xe,n,v),r=t}}),we=o(function(n,r){var t,e;return r.f?(e=pe(s(se,32,(t=32*r.f)-1)),n=n?ee(r.i):r.i,n=s(me,n,r.f),d(ie,he(r.h)+t,s(ge,5,e*de),n,r.h)):d(ie,he(r.h),de,fe,r.h)}),Ae=F(function(n,r,t,e,u){for(;;){if(r<0)return s(we,!1,{i:e,f:t/32|0,h:u});var a={$:1,a:b(ve,32,r,n)};n=n,r=r-32,t=t,e=s(g,a,e),u=u}}),ke=o(function(n,r){var t;return 0<n?l(Ae,r,n-(t=n%32)-32,n,v,b(ve,t,n-t,r)):le}),je=function(n){return!n.$},Ee=wn,e=An,rn=kn,_e=function(n){return{$:0,a:n}},Le=function(n){switch(n.$){case 0:return 0;case 1:return 1;case 2:return 2;default:return 3}},Te=q(function(n,r,t,e,u,a){return{br:a,bw:r,ao:e,bO:t,bS:n,bT:u}}),Ce=ln,Re=function(n){return n.length},Ne=sn,Se=o(function(n,r){return n<1?r:b(Ne,n,Re(r),r)}),Oe=$n,Ie=o(function(n,r){return n<1?"":b(Ne,0,n,r)}),Me=function(n){for(var r=0,t=n.charCodeAt(0),e=43==t||45==t?1:0,u=e;u<n.length;++u){var a=n.charCodeAt(u);if(a<48||57<a)return w;r=10*r+a-48}return u==e?w:m(45==t?-r:r)},Ze=F(function(n,r,t,e,u){var a,c;return""===u||s(Ce,"@",u)?w:(a=s(Oe,":",u)).b?a.b.b||1===(c=Me(s(Se,(a=a.a)+1,u))).$?w:(c=c,m(U(Te,n,s(Ie,a,u),c,r,t,e))):m(U(Te,n,u,w,r,t,e))}),Fe=n(function(n,r,t,e){var u;return""===e?w:(u=s(Oe,"/",e)).b?l(Ze,n,s(Se,u=u.a,e),r,t,s(Ie,u,e)):l(Ze,n,"/",r,t,e)}),qe=r(function(n,r,t){var e;return""===t?w:(e=s(Oe,"?",t)).b?d(Fe,n,m(s(Se,(e=e.a)+1,t)),r,s(Ie,e,t)):d(Fe,n,w,r,t)}),Je=o(function(n,r){var t;return""===r?w:(t=s(Oe,"#",r)).b?b(qe,n,m(s(Se,(t=t.a)+1,r)),s(Ie,t,r)):b(qe,n,w,r)}),Ke=vn,Ue=function(n){return s(Ke,"http://",n)?s(Je,0,s(Se,7,n)):s(Ke,"https://",n)?s(Je,1,s(Se,8,n)):w},ze=function(n){for(;;)0},Be=Mn,dn=Be(0),De=n(function(n,r,t,e){var u,a,c,o;return e.b?(u=e.a,(e=e.b).b?(a=e.a,(e=e.b).b?(c=e.a,(e=e.b).b?(o=e.b,s(n,u,s(n,a,s(n,c,s(n,e.a,500<t?b(Ht,n,r,ee(o)):d(De,n,r,t+1,o)))))):s(n,u,s(n,a,s(n,c,r)))):s(n,u,s(n,a,r))):s(n,u,r)):r}),We=r(function(n,r,t){return d(De,n,r,0,t)}),k=o(function(t,n){return b(We,o(function(n,r){return s(g,t(n),r)}),v,n)}),j=Zn,Pe=o(function(r,n){return s(j,function(n){return Be(r(n))},n)}),Ge=r(function(t,n,e){return s(j,function(r){return s(j,function(n){return Be(s(t,r,n))},e)},n)}),Ve=Gn,Qe=o(function(n,r){return Jn(s(j,Ve(n),r))}),He=(Pn.Task={b:dn,c:r(function(n,r,t){return s(Pe,function(n){return 0},Vr(s(k,Qe(n),r)))}),d:r(function(n,r,t){return Be(0)}),e:o(function(n,r){return s(Pe,n,r)}),f:void 0},Qn("Task")),Xe=o(function(n,r){return He(s(Pe,n,r))}),On=function(r){function t(){t.a(n(Sr()))}var n=r.cY,u=r.cZ;return Tr({aX:function(e){return t.a=e,Mr.addEventListener("popstate",t),~Mr.navigator.userAgent.indexOf("Trident")&&Mr.addEventListener("hashchange",t),o(function(n,r){var t;r.ctrlKey||r.metaKey||r.shiftKey||1<=r.button||n.target||n.hasAttribute("download")||(r.preventDefault(),r=n.href,n=Sr(),t=Ue(r).a,e(u(t&&n.bS===t.bS&&n.bw===t.bw&&n.bO.a===t.bO.a?{$:0,a:t}:{$:1,a:r})))})},cI:function(n){return b(r.cI,n,Sr(),t)},dm:r.dm,dl:r.dl,da:r.da})},Ye={$:0},nu=r(function(n,r,t){return{bd:r,aR:t,aU:n}}),ru=n(function(n,r,t,e){return 1===r.$||1===t.$||1===e.$?w:m(b(n,r.a,t.a,e.a))}),tu={O:""},eu=function(n){return{$:3,a:n}},uu=function(n){return{$:4,a:n}},au=F(function(n,r,t,e,u){return{F:e,G:t,E:r,A:u,I:n}}),cu=function(n){return n.b&&(""!==n.a||n.b.b)?s(g,n.a,cu(n.b)):v},ou=o(function(n,r){return m(1===r.$?$([n]):s(g,n,r.a))}),iu=function(n){try{return m(decodeURIComponent(n))}catch(n){return w}},fu=V,bu=o(function(n,r){for(;;){if(-2===r.$)return w;var t=r.c,e=r.d,u=r.e;switch(s(fu,n,r.b)){case 0:n=n,r=e;continue;case 1:return m(t);default:n=n,r=u;continue}}}),E=F(function(n,r,t,e,u){return{$:-1,a:n,b:r,c:t,d:e,e:u}}),su={$:-2},du=F(function(n,r,t,e,u){var a,c,o,i;return-1!==u.$||u.a?-1!==e.$||e.a||-1!==e.d.$||e.d.a?l(E,n,r,t,e,u):(a=e.d,i=e.e,l(E,0,e.b,e.c,l(E,1,a.b,a.c,a.d,a.e),l(E,1,r,t,i,u))):(a=u.b,c=u.c,o=u.d,u=u.e,-1!==e.$||e.a?l(E,n,a,c,l(E,0,r,t,e,o),u):l(E,0,r,t,l(E,1,e.b,e.c,e.d,i=e.e),l(E,1,a,c,o,u)))}),lu=r(function(n,r,t){if(-2===t.$)return l(E,0,n,r,su,su);var e=t.a,u=t.b,a=t.c,c=t.d,o=t.e;switch(s(fu,n,u)){case 0:return l(du,e,u,a,b(lu,n,r,c),o);case 1:return l(E,e,u,r,c,o);default:return l(du,e,u,a,c,b(lu,n,r,o))}}),vu=r(function(n,r,t){n=b(lu,n,r,t);return-1!==n.$||n.a?n:l(E,1,n.b,n.c,n.d,n.e)}),$u=J(function(n,r,t,e,u,a,c){if(-1!==a.$||a.a){for(;;){if(-1!==c.$||1!==c.a)break;if(-1!==c.d.$)return Yr(r);if(1===c.d.a)return Yr(r);break}return r}return l(E,t,a.b,a.c,a.d,l(E,0,e,u,a.e,c))}),pu=o(function(n,r){var t,e,u,a,c,o,i;return-2===r.$?su:(t=r.a,u=r.c,a=r.d,c=r.e,G(n,e=r.b)<0?-1===a.$&&1===a.a?-1!==(o=a.d).$||o.a?-1===(o=Xr(r)).$?(i=o.e,l(du,o.a,o.b,o.c,s(pu,n,o.d),i)):su:l(E,t,e,u,s(pu,n,a),c):l(E,t,e,u,s(pu,n,a),c):s(hu,n,z($u,n,r,t,e,u,a,c)))}),hu=o(function(n,r){var t,e,u,a,c;return-1===r.$?(t=r.a,e=r.c,u=r.d,a=r.e,i(n,r=r.b)?-1===(c=function(n){for(;;){if(-1!==n.$||-1!==n.d.$)return n;n=n.d}}(a)).$?l(du,t,c.b,c.c,u,nt(a)):su:l(du,t,r,e,u,s(pu,n,a))):su}),gu=o(function(n,r){n=s(pu,n,r);return-1!==n.$||n.a?n:l(E,1,n.b,n.c,n.d,n.e)}),yu=r(function(n,r,t){r=r(s(bu,n,t));return r.$?s(gu,n,t):b(vu,n,r.a,t)}),xu=o(function(n,r){var t,n=s(Qt,"=",n);return n.b&&n.b.b&&!n.b.b.b?(t=n.b.a,1===(n=iu(n.a)).$?r:(n=n.a,1===(t=iu(t)).$?r:b(yu,n,ou(t.a),r))):r}),mu=su,wu=o(function(n,r){for(var t=n(l(au,v,function(n){n=s(Qt,"/",n);return cu(n.b&&""===n.a?n.b:n)}(r.ao),1===(n=r.bT).$?mu:b(We,xu,mu,s(Qt,"&",n.a)),r.br,Gr));;){if(!t.b)return w;var e=t.a,u=t.b,a=e.E;if(!a.b)return m(e.A);if(""===a.a&&!a.b.b)return m(e.A);t=u}}),Au=o(function(n,r){return l(au,r.I,r.E,r.G,r.F,n(r.A))}),nn=o(function(a,n){var c=n;return function(n){var r=n.I,t=n.E,e=n.G,u=n.F;return s(k,Au(n.A),c(l(au,r,t,e,u,a)))}}),ku=o(function(n,r){return r.b?b(We,g,r,n):n}),ju=o(function(n,r){return b(We,ku,v,s(k,n,r))}),en=o(function(n,r){var t=n,e=r;return function(n){return s(ju,e,t(n))}}),B=s(o(function(n,o){return function(n){var r,t,e=n.I,u=n.E,a=n.G,c=n.F,n=n.A;return u.b?(r=u.b,(t=o(u=u.a)).$?v:(t=t.a,$([l(au,s(g,u,e),r,a,c,n(t))]))):v}}),"STRING",m),Eu=(It=$([s(nn,{$:0,a:"all"},function(n){return $([n])}),s(nn,rt,s(en,et("streams"),B)),s(nn,tt,s(en,et("events"),B))]),o(function(n,r){return c(r,{ao:s(Se,Re(n.ao),r.ao)})})),_u=o(function(n,r){return s(wu,ut,s(Eu,n,r))}),un=K(function(n,r,t,e,u,a,c,o,i){return{cn:c,cs:a,ct:t,cx:r,cy:n,c0:i,c1:e,c2:u,dk:o}}),Lu=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"}},Tu=o(function(t,n){var r;return n.b?(r=n.b,s(g,n.a,b(We,o(function(n,r){return s(g,t,s(g,n,r))}),v,r))):v}),Cu=function(n){return{$:1,a:n}},u=xn,Ru=o(function(n,r){return{$:1,a:n,b:r}}),Nu=r(function(n,r,t){return{$:0,a:n,b:r,c:t}}),D=o(function(u,n){var a=n;return function(n){var r,t,e,n=a(n);return 1===n.$?s(Ru,n.a,n.b):(r=n.a,t=n.c,1===(n=u(n.b)(t)).$?(e=n.a,s(Ru,r||e,n.b)):(e=n.a,b(Nu,r||e,n.b,n.c)))}}),Su=o(function(n,r){return{$:1,a:n,b:r}}),Ou=n(function(n,r,t,e){return{bj:r,cr:e,bQ:t,bZ:n}}),Iu={$:0},Mu=o(function(n,r){return s(Su,Iu,d(Ou,n.bZ,n.bj,r,n.c))}),Zu=(Mt={$:10},Zr),Fu=F(function(n,r,t,e,u){for(;;){var a=b(Zu,n,r,u.a);if(i(a,-1))return b(Nu,G(u.b,r)<0,0,{bj:e,c:u.c,d:u.d,b:r,bZ:t,a:u.a});u=(e=i(a,-2)?(n=n,r=r+1,t=t+1,1):(n=n,r=a,t=t,e+1),u)}}),wn=function(r){return function(n){return l(Fu,r,n.b,n.bZ,n.bj,n)}},qu=o(function(n,r){return n}),Ju=o(function(e,n){var u=n;return function(n){var r,t=u(n);return 1===t.$?s(Ru,t.a,t.b):(r=t.b,b(Nu,t.a,s(e,b(Ne,n.b,(t=t.c).b,n.a),r),t))}}),Ku=function(n){return s(Ju,qu,n)},Uu=function(n){return r={$:12,a:n},function(n){return s(Ru,!1,s(Mu,n,r))};var r},zu=an,_=function(r){return function(n){return b(Nu,!1,r,n)}},Bu=function(n){return 0!==n.length&&!/[\sxbo]/.test(n)&&(n=+n)==n?m(n):w},Du=s(D,function(n){var r;return 9<Re(n)?Uu("Expected at most 9 digits, but got "+A(Re(n))):(r=Bu("0."+n)).$?Uu('Invalid float: "'+n+'"'):_(zu(1e3*r.a))},Ku(wn(Dr))),Wu=Gr,Pu=q(function(n,r,t,e,u,a){return Wu(n+60*r*60*1e3+60*(t-a)*1e3+1e3*e+u)}),Gu=r(function(a,n,r){var c=n,o=r;return function(n){var r,t,e,u,n=c(n);return 1===n.$?s(Ru,n.a,n.b):(r=n.a,t=n.b,1===(n=o(n.c)).$?(e=n.a,s(Ru,r||e,n.b)):(e=n.a,u=n.c,b(Nu,r||e,s(a,t,n.b),u)))}}),Vu=o(function(n,r){return b(Gu,qu,n,r)}),a=o(function(n,r){return b(Gu,$e,n,r)}),Qu=o(function(n,r){return{$:2,a:n,b:r}}),Hu=r(function(n,r,t){for(;;){if(!t.b)return s(Ru,!1,r);var e,u=t.a,a=t.b,u=u(n);if(!u.$)return e=u;if((e=u).a)return e;n=n,r=s(Qu,r,e.b),t=a}}),Xu=function(r){return function(n){return b(Hu,n,Iu,r)}},Yu=on,na={$:11},ra=o(function(t,e){return function(n){var r=b(Zu,t,n.b,n.a);return i(r,-1)?s(Ru,!1,s(Mu,n,e)):i(r,-2)?b(Nu,!0,0,{bj:1,c:n.c,d:n.d,b:n.b+1,bZ:n.bZ+1,a:n.a}):b(Nu,!0,0,{bj:n.bj+1,c:n.c,d:n.d,b:r,bZ:n.bZ,a:n.a})}}),ta=n(function(n,r,t,e){for(;;){var u=t(r)(e);if(u.$)return a=u.a,s(Ru,n||a,u.b);var a=u.a,c=u.b,u=u.c;if(c.$)return b(Nu,n||a,c.a,u);n=n||a,r=c.a,t=t,e=u}}),ea=o(function(r,t){return function(n){return d(ta,!1,r,t,n)}}),ua=o(function(t,n){var e=n;return function(n){var r,n=e(n);return n.$?s(Ru,n.a,n.b):(r=n.c,b(Nu,n.a,t(n.b),r))}}),aa=o(function(n,r){return s(ea,n,function(n){return s(ua,bt,r(n))})}),ca=o(function(n,r){return{$:0,a:n,b:r}}),oa=Ir,ia=function(n){var u=n.a,a=n.b,c=!(""===u);return function(n){var r=l(oa,u,n.b,n.bZ,n.bj,n.a),t=r.a,e=r.b,r=r.c;return i(t,-1)?s(Ru,!1,s(Mu,n,a)):b(Nu,c,0,{bj:r,c:n.c,d:n.d,b:t,bZ:e,a:n.a})}},L=tn,An=s(D,function(n){var e=n.a,u=n.b,a=n.c;if(a<0)return h(a);function r(n){var r=31536e6*(e-1970),t=864e5*((u<3||!dt(e)?a-1:a)+(lt(e)-lt(1970)));return _(n+r+t)}switch(u){case 1:return 31<a?h(a):r(0);case 2:return 29<a||29===a&&!dt(e)?h(a):r(26784e5);case 3:return 31<a?h(a):r(50976e5);case 4:return 30<a?h(a):r(7776e6);case 5:return 31<a?h(a):r(10368e6);case 6:return 30<a?h(a):r(130464e5);case 7:return 31<a?h(a):r(156384e5);case 8:return 31<a?h(a):r(183168e5);case 9:return 30<a?h(a):r(209952e5);case 10:return 31<a?h(a):r(235872e5);case 11:return 30<a?h(a):r(262656e5);case 12:return 31<a?h(a):r(288576e5);default:return Uu('Invalid month: "'+A(u)+'"')}},s(a,s(a,s(a,_(r(function(n,r,t){return{a:n,b:r,c:t}})),t(4)),Xu($([s(a,s(Vu,_(Gr),st("-")),t(2)),t(2)]))),Xu($([s(a,s(Vu,_(Gr),st("-")),t(2)),t(2)])))),fa=(kn=r(function(n,r,t){return n*(60*r)+t}),s(a,_(Gr),Xu($([s(ua,function(n){return 0},st("Z")),s(a,s(a,s(a,_(kn),Xu($([s(ua,function(n){return 1},st("+")),s(ua,function(n){return-1},st("-"))]))),t(2)),Xu($([s(a,s(Vu,_(Gr),st(":")),t(2)),t(2),_(0)]))),s(Vu,_(0),it)])))),ba=s(D,function(n){return Xu($([s(a,s(a,s(a,s(a,s(a,s(Vu,_(Pu(n)),st("T")),t(2)),Xu($([s(a,s(Vu,_(Gr),st(":")),t(2)),t(2)]))),Xu($([s(a,s(Vu,_(Gr),st(":")),t(2)),t(2),_(0)]))),Xu($([s(a,s(Vu,_(Gr),st(".")),Du),_(0)]))),s(Vu,fa,it)),s(Vu,_(U(Pu,n,0,0,0,0,0)),it)]))},An),sa=r(function(n,r,t){return{bj:r,bQ:t,bZ:n}}),da=o(function(n,r){for(;;)switch(n.$){case 0:return r;case 1:var t=n.a,e=n.b;n=t,r=s(g,e,r);continue;default:t=n.a,e=n.b;n=t,r=s(da,e,r);continue}}),la=o(function(n,r){n=n({bj:1,c:v,d:1,b:0,bZ:1,a:r});return n.$?y(s(da,n.b,v)):x(n.b)}),va=o(function(n,r){n=s(la,n,r);return n.$?y(s(k,vt,n.a)):x(n.a)}),ln=s(Ee,function(n){n=s(va,ba,n);return 1===n.$?Cu(function(n){return ct(s(Tu,"; ",s(k,ot,n)))}(n.a)):_e(n.a)},u),$a=function(n){return{$:11,g:n}},pa=rn(X),ha=mn,ga=o(function(n,r){return b(We,ha,r,n)}),ya=En,xa=function(n){return{$:5,c:n}},ma=yn,wa=r(function(r,t,e){function u(n){return $a($([n,xa(e)]))}return s(Ee,function(n){var n=s(ya,s(ga,r,ma),n);return n.$?_e(e):(n=n.a,(n=s(ya,u(t),n)).$?s(ga,r,u(t)):_e(n.a))},ma)}),sn=n(function(n,r,t,e){return s(pa,b(wa,n,r,t),e)}),$n=r(function(n,r,t){return s(pa,s(ga,n,r),t)}),vn=d(sn,$(["attributes","parent_event_id"]),$t(u),w,b($n,$(["attributes","type_stream_name"]),u,d(sn,$(["attributes","causation_stream_name"]),$t(u),w,d(sn,$(["attributes","correlation_stream_name"]),$t(u),w,b($n,$(["attributes","metadata"]),s(e,Gt(2),ma),b($n,$(["attributes","data"]),s(e,Gt(2),ma),b($n,$(["attributes","metadata","timestamp"]),ln,b($n,$(["id"]),u,b($n,$(["attributes","event_type"]),u,_e(un)))))))))),Aa=s(ha,"data",vn),ka=function(n){return encodeURIComponent(n)},ja=o(function(n,r){return n+("/"+ka(r))}),Ea=o(function(n,r){return 1===n.$?r:r+(":"+A(n.a))}),_a=r(function(n,r,t){return 1===r.$?t:f(t,f(n,r.a))}),La=o(function(n,r){return s(ja,pt(n.bd)+"/events",r)}),Ta=jn,Ca=o(function(n,r){return{$:3,a:n,b:r}}),Ra=function(n){return{$:0,a:n}},Na=o(function(n,r){return{$:4,a:n,b:r}}),Sa={$:2},Oa=function(n){return{$:1,a:n}},Ia=function(n){return{$:0,a:n}},Ma={$:1},Za=function(n){return!n.$},Fa=Vn,qa=r(function(n,r,t){return r(n(t))}),Ja=o(function(n,r){return b(qr,"",Gr,s(qa,r,n))}),Ka=o(function(n,r){return r.$?y(n(r.a)):x(r.a)}),Ua={$:2},za={$:1},Ba=o(function(n,r){switch(r.$){case 0:return y({$:0,a:r.a});case 1:return y(za);case 2:return y(Ua);case 3:return y({$:3,a:r.a.c8});default:return s(Ka,ht,n(r.b))}}),Da=o(function(n,r){return s(Ja,n,Ba(function(n){return s(Ka,ce,s(Ta,r,n))}))}),Wa={$:0},Pa=function(n){return{$:1,a:n}},Ga=o(function(n,r){return{bV:n,b9:r}}),Gn=Be(s(Ga,mu,v)),Va=function(t){return{$:2,b:function(n){var r=t.f;2===r.$&&r.c&&r.c(),t.f=null,n({$:0,a:Q})},c:null}},Qa=Jn,Ha=r(function(t,n,e){for(;;){if(!n.b)return Be(e);var u,r=n.a,a=n.b;if(r.$)return u=r.a,s(j,function(n){var r=u.cc;return b(Ha,t,a,1===r.$?e:b(vu,r.a,n,e))},Qa(b(Fr,t,Ve(t),u)));var c=r.a,r=s(bu,c,e);if(1!==r.$)return s(j,function(n){return b(Ha,t,a,s(gu,c,e))},Va(r.a));t=t,n=a,e=e}}),dn=n(function(n,r,t,e){return s(j,function(n){return Be(s(Ga,n,t))},b(Ha,n,r,e.bV))}),Xa=r(function(n,r,t){n=n(r);return n.$?t:s(g,n.a,t)}),Ya=o(function(n,r){return b(We,Xa(n),v,r)}),nc=n(function(n,r,t,e){var u=e.b;return i(r,e.a)?m(s(Ve,n,u(t))):w}),V=r(function(n,r,t){return s(j,function(n){return Be(t)},Vr(s(Ya,b(nc,n,r.a,r.b),t.b9)))}),nn=o(function(n,r){var t;return r.$?Pa({ck:(t=r.a).ck,bg:t.bg,ay:s(Jr,n,t.ay),bu:t.bu,cM:t.cM,dd:t.dd,cc:t.cc,bb:t.bb}):{$:0,a:r.a}}),rc=o(function(n,r){return{$:0,a:n,b:r}}),tc=(Pn.Http={b:Gn,c:dn,d:V,e:nn,f:o(function(n,r){return s(rc,r.a,s(qa,r.b,n))})},Qn("Http")),ec=(Qn("Http"),r(function(n,r,t){return gt({ay:s(Da,n,Aa),bb:s(La,r,t)})})),uc=o(function(n,r){return b(ec,at,n,r)}),ac=o(function(n,r){return s(uc,n,r)}),en=o(function(n,r){return{cA:n,c5:r}}),cc=function(n){return{$:3,b:n}},B=d(sn,$(["attributes","related_streams"]),$t(cc(u)),w,b($n,$(["relationships","events","links","self"]),u,_e(en))),oc=s(ha,"data",B),ic=o(function(n,r){return s(ja,pt(n.bd)+"/streams",r)}),fc=r(function(n,r,t){return gt({ay:s(Da,n,oc),bb:s(ic,r,t)})}),bc=o(function(n,r){return b(fc,yt,n,r)}),sc={$:0},dc=Wu(0),lc=o(function(n,r){return{L:sc,v:sc,cx:r,aA:n,ad:dc}}),xn=o(function(n,r){return{cz:n,cL:r}}),vc=s(xn,v,{bp:w,bF:w,bK:w,bP:w}),$c=o(function(n,r){return{cz:vc,aA:n,ac:v,c5:w,a5:r}}),pc=Xn,C=Hn(v),hc=o(function(n,r){var t,e=n.aA;return 1===e.$?{a:n,b:C}:(r=s(_u,(e=e.a).aU,r)).$?{a:c(n,{u:Ye}),b:C}:r.a.$?(t=iu(r.a.a)).$?{a:c(n,{u:Ye}),b:C}:{a:c(n,{u:{$:1,a:s(lc,e,t=t.a)}}),b:s(pc,eu,s(ac,e,t))}:(t=iu(r.a.a)).$?{a:c(n,{u:Ye}),b:C}:{a:c(n,{u:{$:2,a:s($c,e,r=t.a)}}),b:s(pc,uu,s(bc,e,r))}}),Zr=r(function(n,r,t){var e,u,n={aA:(e=n.bd,u=n.aR,d(ru,nu,Ue(n.aU),Ue(e),m(u))),cK:t,Z:tu,u:Ye};return s(hc,n,r)}),gc=Xn,yc=Hn(v),xc=function(n){return{$:5,a:n}},mc=r(function(n,r,t){return{aM:t,bW:r,b9:n}}),wc=Be(b(mc,v,w,0)),Ac={$:2,b:function(n){n({$:0,a:Date.now()})},c:null},kc={$:2,b:function(n){var r=Rr(function(){n({$:0,a:Date.now()})});return function(){Cr(r)}},c:null},an=r(function(n,t,r){var e=r.bW,r=r.aM,u={a:e,b:t};return 1===u.a.$?u.b.b?s(j,function(r){return s(j,function(n){return Be(b(mc,t,m(r),n))},Ac)},Qa(s(j,Fa(n),kc))):wc:u.b.b?Be(b(mc,t,e,r)):s(j,function(n){return wc},Va(u.a.a))}),wn=r(function(r,t,n){function e(n){return s(Ve,r,n.$?(0,n.a)(t-a):(0,n.a)(Wu(t)))}var u=n.b9,a=n.aM;return s(j,function(r){return s(j,function(n){return Be(b(mc,u,m(r),t))},Vr(s(k,e,u)))},Qa(s(j,Fa(r),kc)))}),jc=r(function(n,r,t){return n(r(t))}),Ec=(Pn["Browser.AnimationManager"]={b:wc,c:an,d:wn,e:0,f:o(function(n,r){return r.$?{$:1,a:s(jc,n,r.a)}:{$:0,a:s(jc,n,r.a)}})},Qn("Browser.AnimationManager")),_c=function(n){return Ec({$:0,a:n})}(function(n){return{$:1,a:n}}),Lc=function(r){return s(Xe,ze,{$:2,b:function(n){try{Mr.location=r}catch(n){ur.location.reload(!1)}},c:null})},Tc=Or,Cc=o(function(n,r){return"/"+(s(Vt,"/",n)+function(n){return n.b?"?"+s(Vt,"&",s(k,mt,n)):""}(r))}),Rc=o(function(t,n){return b(We,o(function(n,r){return t(n)?s(g,n,r):r}),v,n)}),Nc=o(function(n,r){return s(Cc,f(function(n){return s(Rc,function(n){return""!==n},s(Qt,"/",n.ao))}(n),r),v)}),Sc=o(function(n,r){return s(Nc,n,$(["streams",ka(r)]))}),Oc=o(function(n,r){return n.$?{a:{O:n.a},b:C}:{a:{O:""},b:s(Tc,r.cK,s(Sc,r.aA.aU,r.bB.O))}}),Ic={$:3},Mc={$:2},on=mu,Zc=o(function(n,r){return b(vu,n,0,r)}),Fc=b(Ht,Zc,on,v),qc=o(function(n,r){r=r.cn;return r.$?C:b(fc,At,n,r.a)}),Ir=n(function(n,r,t,e){return{bp:t,bF:e,bK:n,bP:r}}),tn=n(function(n,r,t,e){return s(pa,b(wa,$([n]),r,t),e)}),kn=d(tn,"last",$t(u),w,d(tn,"first",$t(u),w,d(tn,"prev",$t(u),w,d(tn,"next",$t(u),w,_e(Ir))))),D=r(function(n,r,t){return s(pa,s(ha,n,r),t)}),Jc=b(D,"links",kn,b(D,"data",cc(vn),_e(xn))),Kc=o(function(n,r){return gt({ay:s(Da,n,Jc),bb:r})}),Uc=o(function(n,r){return n.$?n.a:r}),zc=o(function(n,r){switch(n.$){case 0:var t=n.a,e=r.v;return 1===e.$?{a:c(r,{v:{$:1,a:c(u=e.a,{aj:t})}}),b:C}:{a:r,b:C};case 1:t=n.a,e=r.v;return 1===e.$?{a:c(r,{v:{$:1,a:c(u=e.a,{am:t})}}),b:C}:{a:r,b:C};case 2:var u;return n.a.$?3===n.a.a.$&&404===n.a.a.a?{a:c(r,{v:Mc}),b:C}:{a:c(r,{v:Ic}),b:C}:{a:c(r,{v:{$:1,a:u={cn:(a=n.a.a).cn,cs:a.cs,aj:Fc,cx:a.cx,cy:a.cy,am:Fc,c0:a.c0,c1:a.c1,c2:a.c2,dk:a.dk}}}),b:s(qc,r.aA,u)};case 4:return n.a.$?{a:c(r,{L:Ic}),b:C}:{a:r,b:s(Kc,wt,n.a.a.cA)};case 3:var a;return n.a.$?{a:c(r,{L:Ic}),b:C}:{a:c(r,{L:{$:1,a:(a=n.a.a).cz}}),b:C};default:return{a:c(r,{ad:s(Uc,n.a,r.ad)}),b:C}}}),Bc=o(function(n,r){switch(n.$){case 0:return{a:r,b:s(Kc,kt,n.a)};case 1:return n.a.$?{a:c(r,{ac:$(["Server error, please check backend logs for details"])}),b:C}:{a:c(r,{cz:n.a.a}),b:C};default:var t;return n.a.$?{a:c(r,{ac:$(["Server error, please check backend logs for details"])}),b:C}:{a:c(r,{c5:(t=n.a.a).c5}),b:s(Kc,kt,t.cA)}}}),Dc=n(function(n,r,t,e){var u=e.b;return{a:c(t,{u:n(e.a)}),b:s(pc,r,u)}}),Wc=r(function(n,r,t){return{aA:t,bB:r,cK:n.cK}}),An=o(function(n,r){var t={a:n,b:r.u};n:for(;;)switch(t.a.$){case 0:return s(hc,r,t.a.a);case 1:var e=t.a.a;return e.$?{a:r,b:Lc(e.a)}:{a:r,b:s(Tc,r.cK,pt(e.a))};case 4:if(2===t.b.$)return d(Dc,Hr,uu,r,s(Bc,t.a.a,t.b.a));break n;case 3:if(1===t.b.$)return d(Dc,Qr,eu,r,s(zc,t.a.a,t.b.a));break n;default:var u,a,e=r.aA;return 1===e.$?{a:r,b:C}:(a=(u=s(Oc,t.a.a,b(Wc,r,r.Z,e.a))).b,{a:c(r,{Z:u.a}),b:s(pc,xt,a)})}return{a:r,b:C}}),R=p("div"),Pc=p("a"),Gc=In,Vc=o(function(n,r){return s(fr,n,Gc(r))}),N=Vc("className"),Qc=p("footer"),Hc=p("span"),S=ar,Xc={$:0},Yc=p("form"),no=p("input"),ro=p("nav"),to=function(n){return{a:n,b:!0}},eo=or,uo=o(function(n,r){return s(eo,n,{$:1,a:r})}),ao=s(ga,$(["target","value"]),u),co=function(n){return{a:n,b:!0}},oo=o(function(n,r){return s(eo,n,{$:2,a:r})}),io=Vc("placeholder"),fo=Vc("value"),bo=p("header"),so=p("main"),lo=cr,vo=r(function(n,r,t){return s(R,$([N("bg-gray-100 min-h-screen w-full text-gray-800 font-sans leading-relaxed antialiased")]),$([s(bo,v,$([s(lo,n,Lt(r))])),s(so,$([N("bg-white")]),$([t])),s(Qc,v,$([s(lo,n,(t=r.aA,s(Qc,$([N("border-gray-400 border-t py-4")]),$([s(R,$([N("flex justify-center text-gray-500 text-sm")]),$([S("RubyEventStore v"+t.aR),s(Hc,$([N("font-bold text-gray-400 inline-block ml-4")]),$([S("•")])),s(Pc,$([Et("https://railseventstore.org/docs/install/"),N("text-gray-500 ml-4")]),$([S("Documentation")])),s(Hc,$([N("font-bold text-gray-400 inline-block ml-4")]),$([S("•")])),s(Pc,$([Et("https://railseventstore.org/support/"),N("text-gray-800 ml-4")]),$([S("Support")]))]))]))))]))]))}),$o=p("h1"),po=s($o,v,$([S("Incorrect RES Browser config")])),ho={au:qu(d(n(function(n,r,t,e){return{$:0,a:n,b:r,c:t,d:e}}),1,1,1,1)),av:1,ax:0,aC:!1,aJ:28,y:13,aN:.25,aP:42,aV:0,aW:1,aq:!0,a2:1,a8:60,a9:50,ba:50,ai:14},go=p("h2"),yo=p("li"),xo=o(function(n,r){return r.$?w:m(n(r.a))}),mo=o(function(n,r){return s(Pc,$([N("text-red-700 no-underline"),Et(s(Sc,n,r))]),$([S(r)]))}),wo=o(function(r,n){return s(xo,function(n){return s(yo,v,$([S("Causation stream: "),s(mo,r,n)]))},n.cn)}),Ao=o(function(r,n){return s(xo,function(n){return s(yo,v,$([S("Correlation stream: "),s(mo,r,n)]))},n.cs)}),ko=o(function(n,r){return s(Nc,n,$(["events",ka(r)]))}),jo=o(function(n,r){return s(Pc,$([N("text-red-700 no-underline"),Et(s(ko,n,r))]),$([S(r)]))}),Eo=o(function(r,n){return s(xo,function(n){return s(yo,v,$([S("Parent event: "),s(jo,r,n)]))},n.c0)}),_o=o(function(n,r){return s(yo,v,$([S("Type stream: "),s(mo,n,r.dk)]))}),Lo=s(We,o(function(n,r){return n.$?r:s(g,n.a,r)}),v),To=o(function(n,r){return Lo($([s(Eo,n,r),m(s(_o,n,r)),s(Ao,n,r),s(wo,n,r)]))}),Co=p("ul"),Ro=o(function(n,r){return i(s(To,n,r),v)?S(""):s(R,$([N("px-8")]),$([s(go,$([N("font-bold text-xl")]),$([S("Related streams / events:")])),s(Co,$([N("list-disc pl-8")]),s(To,n,r))]))}),No=p("p"),So=p("td"),Oo=p("tr"),Io=o(function(n,r){var t=r.cy,r=r.cx;return s(Oo,v,$([s(So,$([N("p-0 pt-2")]),$([s(Pc,$([N("text-red-700 no-underline"),Et(s(ko,n,r))]),$([S(t)]))])),s(So,$([N("p-0 pt-2")]),$([S(r)]))]))}),Mo=p("table"),Zo=p("tbody"),Fo=p("tfoot"),qo=p("th"),Jo=p("thead"),Ko=o(function(n,r){return r.b?s(Mo,$([N("my-10 w-full text-left table-fixed border-collapse")]),$([s(Jo,$([N("align-bottom leading-tight")]),$([s(Oo,v,$([s(qo,$([N("border-gray-400 border-b text-gray-500 uppercase p-0 pb-4 text-xs")]),$([S("Event name")])),s(qo,$([N("border-gray-400 border-b text-gray-500 uppercase p-0 pb-4 text-xs")]),$([S("Event id")]))]))])),s(Zo,$([N("align-top")]),s(k,Io(n),r)),s(Fo,v,$([s(Oo,v,$([s(So,$([N("text-gray-500 p-0 pb-4 text-xs"),s(br,"colspan",A(2))]),$([20===Ur(r)?S("The results may be truncated, check stream for full information."):S("")]))]))]))])):s(No,$([N("flex items-center justify-center py-24")]),$([S("No items")]))}),Uo={K:"firebrick",Q:"gray",R:"blue",S:"#fafad2",V:"green"},zo=o(function(n,r){return r.$?y(r.a):x(n(r.a))}),Bo=o(function(n,r){return(r.$?y:n)(r.a)}),Do=o(function(n,r){var t,e,u;return-2===r.$?su:(e=r.d,u=r.e,l(E,r.a,t=r.b,s(n,t,r.c),s(Do,n,e),s(Do,n,u)))}),Wo=o(function(t,n){var r=o(function(n,r){return s(Wo,t+("["+A(n))+"]",r)}),e=o(function(n,r){return s(Wo,t+"."+n,r)}),u=n.A;switch(u.$){case 0:case 1:case 2:case 5:return c(n,{l:t});case 3:return c(n,{l:t,A:{$:3,a:s(re,r,u.a)}});default:return c(n,{l:t,A:{$:4,a:s(Do,e,u.a)}})}}),Po={$:5},Go=hn,Vo=function(n){return b(Ht,o(function(n,r){return b(vu,n.a,n.b,r)}),mu,n)},Qo=function(n){return{$:8,b:n}},Ho=gn;function Xo(){function n(n){return{l:"",A:n}}var r;return $a($([s(e,s(jc,n,St),u),s(e,s(jc,n,Nt),Ho),s(e,s(jc,n,Rt),Go),s(e,s(jc,n,Ct),cc(Ot(function(n){return Xo()}))),s(e,s(jc,n,Tt),(r=Ot(function(n){return Xo()}),s(e,Vo,Qo(r)))),xa({l:"",A:Po})]))}function Yo(n){var r=s(e,Wo(""),li);return s(ya,r,n)}function ni(n){return p(function(n){return"script"==n?"p":n}(n))}function ri(n){return s(k,function(n){return s(O,n.a,n.b)},n)}function ti(n){return s(xi,"click",_e(n))}function ei(n){return n}function ui(n){var r=n.bp,t=n.bF,e=n.bK,n=n.bP;return s(Co,$([N("flex")]),$([s(yo,v,$([(r=r,s(qi,s(g,N(zi),Ui(r)),$([S("first")])))])),s(yo,v,$([function(n){return s(qi,s(g,N(zi),Ui(n)),$([S("previous")]))}(n)])),s(yo,v,$([function(n){return s(qi,s(g,N(zi),Ui(n)),$([S("next")]))}(e)])),s(yo,v,$([function(n){return s(qi,s(g,N(zi),Ui(n)),$([S("last")]))}(t)]))]))}function ai(n){return 11<n?"pm":"am"}function ci(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"}}function oi(n){switch(s(L,100,n)){case 11:case 12:case 13:return"th";default:switch(s(L,10,n)){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}}}function ii(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"}}function fi(n){var r=((n=s(Gi,n,1440)+719468)<0?n-146096:n)/146097|0,t=((n=n-146097*r)-(n/1460|0)+(n/36524|0)-(n/146096|0))/365|0,e=(5*(n=n-(365*t+(t/4|0)-(t/100|0)))+2)/153|0,u=e+(e<10?3:-9);return{bk:n-((153*e+2)/5|0)+1,bI:u,ch:t+400*r+(2<u?0:1)}}function bi(n){return n.b?m(n.a):w}function si(n){return n?12<n?n-12:n:12}function di(n){return s(yo,v,$([S(n)]))}var li=Xo(),vi=(Xo=function(){return li},p("pre")),$i={K:function(n){return $([{a:"color",b:n.K}])},at:$([{a:"position",b:"absolute"},{a:"cursor",b:"pointer"},{a:"top",b:"1px"},{a:"left",b:"-15px"}]),az:$([{a:"font-weight",b:"bold"}]),ak:$([{a:"position",b:"relative"}]),Q:function(n){return $([{a:"color",b:n.Q}])},R:function(n){return $([{a:"color",b:n.R}])},aT:$([{a:"font-family",b:"monospace"},{a:"white-space",b:"pre"}]),S:function(n){return $([{a:"background-color",b:n.S},{a:"cursor",b:"pointer"}])},V:function(n){return $([{a:"color",b:n.V}])},ar:$([{a:"list-style-type",b:"none"},{a:"margin-left",b:"26px"},{a:"padding-left",b:"0px"}])},O=ir,I=pn,pi=o(function(n,r){return!s(bu,n,r).$}),hi=o(function(n,r){return s(pi,n,r)}),gi=o(function(n,r){return s(hi,n,r)}),yi=o(function(n,r){return s(Zc,n,r)}),xi=o(function(n,r){return s(eo,n,{$:0,a:r})}),mi=o(function(n,r){return s(xi,"click",s(e,s(qa,function(n){return n(0)},r),_e(n)))}),wi=n(function(n,r,t,e){return n?s(Hc,s(g,s(mi,t,r.dh),ri($i.at)),$([S(e)])):S("")}),Ai=n(function(n,r,t,e){return d(wi,n,t,function(n){return s(yi,r,e)},"-")}),ki=o(function(n,r){return s(gu,n,r)}),ji=o(function(n,r){return s(ki,n,r)}),Ei=n(function(n,r,t,e){return d(wi,n,t,function(n){return s(ji,r,e)},"+")}),_i=Vc("id"),Li=n(function(n,r,t,e){return e=s(Hc,f($([_i(t.l)]),f(ri(n),(n=e.cX).$?v:$([ti((0,n.a)(t.l)),N("selectableJsonTreeNode")]))),$([S(r)])),$([e])}),Ti=F(function(r,n,t,e,u){function a(n){return s(yo,ri($i.ak),s(ku,d(Ri,r+1,e,n,u),$([S(",")])))}t=n.b?$(s(gi,t,u)?[d(Ei,r,t,e,u),S("…")]:[d(Ai,r,t,e,u),s(Co,ri($i.ar),s(k,a,n))]):v;return f($([S("[")]),f(t,$([S("]")])))}),Ci=F(function(t,n,r,e,u){function a(n){var r=n.a,n=n.b;return s(yo,ri($i.ak),f($([s(Hc,ri($i.az),$([S(r)])),S(": ")]),f(d(Ri,t+1,e,n,u),$([S(",")]))))}r=-2===n.$?v:$(s(gi,r,u)?[d(Ei,t,r,e,u),S("…")]:[d(Ai,t,r,e,u),s(Co,ri($i.ar),s(k,a,Ft(n)))]);return f($([S("{")]),f(r,$([S("}")])))}),Ri=n(function(n,r,t,e){var u=r.cq,a=t.A;switch(a.$){case 0:var c=a.a;return d(Li,$i.V(u),'"'+c+'"',t,r);case 1:c=a.a;return d(Li,$i.R(u),I(c),t,r);case 2:c=a.a;return d(Li,$i.K(u),c?"true":"false",t,r);case 5:return d(Li,$i.Q(u),"null",t,r);case 3:return l(Ti,n,a.a,t.l,r,e);default:return l(Ci,n,a.a,t.l,r,e)}}),Ni=r(function(n,r,t){return s(R,ri($i.aT),s(g,function(n){n=s(Vt,"\n",s(k,function(n){return n.a+": "+n.b+";"},$i.S(n.cq)));return b(ni,"style",v,$([S(".selectableJsonTreeNode:hover {\n"+n+"\n}\n")]))}(r),d(Ri,0,r,n,t)))}),Si=o(function(n,r){return r.$?n:r.a}),Oi=r(function(n,r,t){return s(Si,s(vi,v,$([S(n)])),s(zo,function(n){return b(Ni,n,{cq:Uo,cX:w,dh:t},r)},s(Bo,Yo,s(Ta,ma,n))))}),Ii=r(function(r,n,t){return s(R,$([N("py-12")]),$([s($o,$([N("font-bold px-8 text-2xl")]),$([S(n.cy)])),s(R,$([N("px-8")]),$([s(Mo,$([N("my-10 w-full text-left table-fixed border-collapse")]),$([s(Jo,$([N("align-bottom leading-tight")]),$([s(Oo,v,$([s(qo,$([N("border-gray-400 border-b text-gray-500 uppercase p-0 pb-4 text-xs")]),$([S("Event id")])),s(qo,$([N("border-gray-400 border-b text-gray-500 uppercase p-0 pb-4 text-xs")]),$([S("Raw Data")])),s(qo,$([N("border-gray-400 border-b text-gray-500 uppercase p-0 pb-4 text-xs")]),$([S("Raw Metadata")]))]))])),s(Zo,$([N("align-top")]),$([s(Oo,v,$([s(So,$([N("p-0 pt-2")]),$([S(n.cx)])),s(So,$([N("p-0 pt-2")]),$([b(Oi,n.c1,n.aj,function(n){return{$:0,a:n}})])),s(So,$([N("p-0 pt-2")]),$([b(Oi,n.c2,n.am,function(n){return{$:1,a:n}})]))]))]))]))])),s(Ro,r,n),function(){switch(t.$){case 0:return s(R,$([N("px-8 mt-8")]),$([s(go,$([N("font-bold text-xl")]),$([S("Events caused by this event:")])),S("Loading...")]));case 1:var n=t.a;return s(R,$([N("px-8 mt-8")]),$(n.b?[s(go,$([N("font-bold text-xl")]),$([S("Events caused by this event:")])),s(Ko,r,n)]:[s(go,$([N("font-bold text-xl")]),$([S("Events caused by this event: none")]))]));default:return S("")}}()]))}),Mi=r(function(n,r,t){var e,u,a,c=be(n.y*n.a8/100),o=1e3/n.a2,r=s(L,0|o,1e3-((0|r)+(t/n.y*o|0)))/1e3,o=s(ge,0,n.y*r-(n.y-c))/c,r=I(360/n.y*(n.ax?t:n.y-t)+n.aV),c=n.av*n.ai/2,o=I(s(ge,n.aN,o));return $([s(O,"background",(t=n.au(t),e=t.b,u=t.c,a=t.d,ct($(["rgba(",I(i(t.a)),"%,",I(i(e)),"%,",I(i(u)),"%,",I(zu(1e3*a)/1e3),")"])))),s(O,"height",I(n.ai)+"px"),s(O,"width",I(n.aJ+n.ai)+"px"),s(O,"position","absolute"),s(O,"transform-origin","left"),s(O,"transform","rotate("+r+("deg) translate("+I(n.aP))+"px, 0px)"),s(O,"border-radius",I(c)+"px"),s(O,"opacity",o),s(O,"box-shadow",n.aq?"0 0 4px #000":"none"),s(O,"-webkit-box-shadow",n.aq?"0 0 4px #000":"none")]);function i(n){return zu(1e4*n)/100}}),Zi=o(function(r,n){var t=s(k,Pr,s(ne,0,pe(r.y)-1)),e=ei(n);return s(R,v,s(k,function(n){return s(R,function(n){return $([s(O,"position","absolute"),s(O,"top","calc("+I(n.ba)+"%)"),s(O,"left",I(n.a9)+"%"),s(O,"transform","scale("+I(n.aW)+")"+(n.aC?" translate3d(0px, 0px, 0px)":""))])}(r),$([s(R,b(Mi,r,e,n),v)]))},t))}),Fi=function(n){return{a:"Event "+n.cx,b:function(n){var r=n.v;switch(r.$){case 2:return s(R,$([N("py-12")]),$([s($o,$([N("font-bold px-8 text-2xl")]),$([S("There's no event with given ID")]))]));case 0:return s(R,$([N("min-h-screen")]),$([s(Zi,ho,n.ad)]));case 1:return b(Ii,n.aA.aU,r.a,n.L);default:return s(R,$([N("py-12")]),$([s($o,$([N("font-bold px-8 text-2xl")]),$([S("Unexpected request failure happened when fetching the event")]))]))}}(n)}},qi=p("button"),Ji=In,Ki=o(function(n,r){return s(fr,n,Ji(r))})("disabled"),Ui=function(n){return $(n.$?[Ki(!0)]:[Et(n=n.a),ti({$:0,a:n})])},zi="text-center text-sm border-red-700 text-red-700 border rounded px-2 py-1 mr-1 disabled:text-red-700/50 disabled:border-red-700/50 disabled:cursor-not-allowed",Bi=S(""),Di=o(function(n,r){return s(Pc,$([N("text-red-700 no-underline"),Et(s(Sc,n,r))]),$([S(r)]))}),Wi=o(function(r,n){return n.$?Bi:(n=n.a,s(R,$([N("px-8")]),$([s(go,$([N("font-bold text-xl")]),$([S("Related streams:")])),s(Co,$([N("list-disc pl-8")]),s(k,function(n){return s(yo,v,$([s(Di,r,n)]))},n))])))}),Pi={$:7},rn=U(q(function(n,r,t,e,u,a){return{de:u,df:r,dg:n,W:a,di:e,dj:t}}),ci,s(qa,ci,Ie(3)),ii,s(qa,ii,Ie(3)),ai,oi),Gi=o(function(n,r){return pe(n/r)}),Vi=r(function(n,r,t){for(;;){if(!t.b)return r+n;var e=t.a,u=t.b;if(G(e.a3,r)<0)return r+e.b;n=n,r=r,t=u}}),Qi=o(function(n,r){var t=n.b;return b(Vi,n.a,s(Gi,ei(r),6e4),t)}),Hi=o(function(n,r){return s(L,24,s(Gi,s(Qi,n,r),60))}),Xi=r(function(n,r,t){return n.de(s(Hi,r,t))}),Yi=o(function(n,r){return fi(s(Qi,n,r)).bk}),nf=$([6,0,1,2,3,4,5]),rf=o(function(n,r){switch(s(L,7,s(Gi,s(Qi,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}}),tf=o(function(n,r){return r.$?n:r.a}),ef=o(function(r,t){return s(tf,{a:0,b:6},bi(s(Rc,function(n){return i(n.b,s(rf,r,t))},s(re,o(function(n,r){return{a:n,b:r}}),nf)))).a}),uf=o(function(n,r){switch(r){case 0:return 31;case 1:return function(n){return!s(L,4,n)&&(!!s(L,100,n)||!s(L,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}}),af=$([0,1,2,3,4,5,6,7,8,9,10,11]),cf=o(function(n,r){switch(fi(s(Qi,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}}),of=o(function(r,t){return s(tf,{a:0,b:0},bi(s(Rc,function(n){return i(n.b,s(cf,r,t))},s(re,o(function(n,r){return{a:n,b:r}}),af))))}),ff=o(function(n,r){return 1+s(of,n,r).a}),bf=r(function(n,r,t){for(;;){if(n<=0)return t;if(!r.b)return t;var e=r.a;n=n-1,r=r.b,t=s(g,e,t)}}),sf=o(function(n,r){return ee(b(bf,n,r,v))}),df=r(function(n,r,t){if(0<r){var e,u,a,c,o,i={a:r,b:t};n:for(;;){r:for(;;){if(!i.b.b)return t;if(!i.b.b.b){if(1===i.a)break n;break}switch(i.a){case 1:break n;case 2:var f=i.b;return $([f.a,f.b.a]);case 3:if(i.b.b.b.b)return $([(f=i.b).a,(e=f.b).a,e.b.a]);break r;default:if(i.b.b.b.b&&i.b.b.b.b.b)return o=(c=(a=(u=(e=i.b).b).b).b).b,s(g,e.a,s(g,u.a,s(g,a.a,s(g,c.a,1e3<n?s(sf,r-4,o):b(df,n+1,r-4,o)))));break r}}return t}return $([i.b.a])}return v}),lf=o(function(n,r){return b(df,0,n,r)}),vf=o(function(n,r){return fi(s(Qi,n,r)).ch}),$f=o(function(n,r){var t=s(lf,s(ff,n,r)-1,af);return t=s(k,uf(s(vf,n,r)),t),b(Ht,Wt,0,t)+s(Yi,n,r)}),pf=o(function(n,r){return s(ff,n,r)/4|0}),hf=o(function(n,r){return n<1?"":b(Ne,-n,Re(r),r)}),gf=o(function(n,r){r=A(r),n-=Re(r);return f(s(Vt,"",s(k,function(n){return"0"},s(ne,1,n))),r)}),yf=function(n){return n.toLowerCase()},xf=o(function(n,r){return s(L,1e3,ei(r))}),mf=o(function(n,r){return s(L,60,s(Qi,n,r))}),wf=o(function(n,r){return s(L,60,s(Gi,ei(r),1e3))}),Af=function(n){return n.toUpperCase()},kf=zu(315576e5),jf=o(function(n,r){return Wu(kf*s(vf,n,r))}),Ef=o(function(n,r){var t=s(ef,n,s(jf,n,r));return 1+((s($f,n,r)+t)/7|0)}),_f=o(function(n,r){return A(s(vf,n,r))}),Lf=n(function(r,n,t,e){switch(e.$){case 0:return A(s(ff,n,t));case 1:return f(A(u=s(ff,n,t)),r.W(u));case 2:return s(gf,2,s(ff,n,t));case 3:return r.df(s(cf,n,t));case 4:return r.dg(s(cf,n,t));case 17:return A(1+s(pf,n,t));case 18:return function(n){return f(A(n),r.W(n))}(1+s(pf,n,t));case 5:return A(s(Yi,n,t));case 6:return function(n){return f(A(n),r.W(n))}(s(Yi,n,t));case 7:return s(gf,2,s(Yi,n,t));case 8:return A(s($f,n,t));case 9:return function(n){return f(A(n),r.W(n))}(s($f,n,t));case 10:return s(gf,3,s($f,n,t));case 11:return A(s(ef,n,t));case 12:return function(n){return f(A(n),r.W(n))}(s(ef,n,t));case 13:return r.di(s(rf,n,t));case 14:return r.dj(s(rf,n,t));case 19:return A(s(Ef,n,t));case 20:return function(n){return f(A(n),r.W(n))}(s(Ef,n,t));case 21:return s(gf,2,s(Ef,n,t));case 15:return s(hf,2,s(_f,n,t));case 16:return s(_f,n,t);case 22:return Af(b(Xi,r,n,t));case 23:return yf(b(Xi,r,n,t));case 24:return A(s(Hi,n,t));case 25:return s(gf,2,s(Hi,n,t));case 26:return A(si(s(Hi,n,t)));case 27:return s(gf,2,si(s(Hi,n,t)));case 28:return A(1+s(Hi,n,t));case 29:return s(gf,2,1+s(Hi,n,t));case 30:return A(s(mf,n,t));case 31:return s(gf,2,s(mf,n,t));case 32:return A(s(wf,n,t));case 33:return s(gf,2,s(wf,n,t));case 34:return A(s(xf,n,t));case 35:return s(gf,3,s(xf,n,t));default:return e.a}var u}),Tf=n(function(n,r,t,e){return s(Vt,"",s(k,b(Lf,n,t,e),r))})(rn),Cf={$:25},Rf={$:35},Nf={$:31},Sf={$:2},Of={$:33},If=function(n){return{$:36,a:n}},Mf=s(o(function(n,r){return{$:0,a:n,b:r}}),0,v),Zf={$:16},Ff=o(function(n,r){var t=r.cy,e=r.ct,r=r.cx;return s(Oo,v,$([s(So,$([N("p-0 pt-2")]),$([s(Pc,$([N("text-red-700 no-underline"),Et(s(ko,n,r))]),$([S(t)]))])),s(So,$([N("p-0 pt-2")]),$([S(r)])),s(So,$([N("p-0 pt-2 text-right")]),$([S((n=e,b(Tf,$([Pi,If("."),Sf,If("."),Zf,If(", "),Cf,If(":"),Nf,If(":"),Of,If("."),Rf]),Mf,n)))]))]))}),qf=o(function(n,r){return r.b?s(Mo,$([N("my-10 w-full text-left table-fixed border-collapse")]),$([s(Jo,$([N("align-bottom leading-tight")]),$([s(Oo,v,$([s(qo,$([N("border-gray-400 border-b text-gray-500 uppercase pb-4 p-0 text-xs")]),$([S("Event name")])),s(qo,$([N("border-gray-400 border-b text-gray-500 uppercase p-0 pb-4 text-xs")]),$([S("Event id")])),s(qo,$([N("border-gray-400 border-b text-gray-500 uppercase p-0 pb-4 text-xs text-right")]),$([S("Created at")]))]))])),s(Zo,$([N("align-top")]),s(k,Ff(n),r))])):s(No,$([N("flex items-center justify-center py-24")]),$([S("No items")]))}),Jf=n(function(n,r,t,e){var u=t.cL,t=t.cz;return s(R,$([N("py-8")]),$([s(R,$([N("flex px-8 justify-between")]),$([s($o,$([N("font-bold text-2xl")]),$([S(r)])),s(R,v,$([ui(u)]))])),s(R,$([N("px-8")]),$([s(qf,n,t)])),s(R,v,$([s(Wi,n,e)]))]))}),Kf=function(n){var r=n.a5,t=n.cz,e=n.c5,u=n.ac,n=n.aA,a="Stream "+r,r="Events in "+r;return u.b?{a:a,b:s(R,$([N("py-8")]),$([s(R,$([N("px-8")]),$([s(Co,$([N("flex items-center justify-center py-24")]),s(k,di,u))]))]))}:{a:a,b:d(Jf,n.aU,r,t,e)}},Uf=s($o,v,$([S("404")])),zf=r(function(n,r,t){r=r(t),t=r.b;return{a:m(r.a),b:s(lo,n,t)}}),X=On({cI:Zr,cY:function(n){return{$:0,a:n}},cZ:function(n){return{$:1,a:n}},da:function(n){n=n.u;return 1===n.$?s(gc,eu,s(gc,xc,_c)):yc},dl:An,dm:function(n){var r,t,e=n.aA;return 1===e.$?{bg:$([s(R,v,$([po]))]),cb:jt(w)}:(e=e.a,r=(t=function(n){switch(n.$){case 2:return b(zf,uu,Kf,n.a);case 1:return b(zf,eu,Fi,n.a);default:return{a:w,b:Uf}}}(n.u)).a,t=t.b,{bg:$([s(R,v,$([b(vo,xt,b(Wc,n,n.Z,e),t)]))]),cb:jt(r)})}});mn={Main:{init:X(s(Ee,function(t){return s(Ee,function(r){return s(Ee,function(n){return _e({bd:n,aR:r,aU:t})},s(ha,"apiUrl",u))},s(ha,"resVersion",u))},s(ha,"rootUrl",u)))(0)}},M.Elm?function n(r,t){for(var e in t)e in r?"init"==e?W(6):n(r[e],t[e]):r[e]=t[e]}(M.Elm,mn):M.Elm=mn}(this);
1
+ !function(F){"use strict";function I(n,r,t){return t.a=n,t.f=r,t}function o(t){return I(2,t,function(r){return function(n){return t(r,n)}})}function r(e){return I(3,e,function(t){return function(r){return function(n){return e(t,r,n)}}})}function n(u){return I(4,u,function(e){return function(t){return function(r){return function(n){return u(e,t,r,n)}}}})}function O(a){return I(5,a,function(u){return function(e){return function(t){return function(r){return function(n){return a(u,e,t,r,n)}}}}})}function z(c){return I(6,c,function(a){return function(u){return function(e){return function(t){return function(r){return function(n){return c(a,u,e,t,r,n)}}}}}})}function B(o){return I(7,o,function(c){return function(a){return function(u){return function(e){return function(t){return function(r){return function(n){return o(c,a,u,e,t,r,n)}}}}}}})}function s(n,r,t){return 2===n.a?n.f(r,t):n(r)(t)}function b(n,r,t,e){return 3===n.a?n.f(r,t,e):n(r)(t)(e)}function d(n,r,t,e,u){return 4===n.a?n.f(r,t,e,u):n(r)(t)(e)(u)}function l(n,r,t,e,u,a){return 5===n.a?n.f(r,t,e,u,a):n(r)(t)(e)(u)(a)}function J(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 U(n,r,t,e,u,a,c,o){return 7===n.a?n.f(r,t,e,u,a,c,o):n(r)(t)(e)(u)(a)(c)(o)}var V=r(function(n,r,t){for(var e=Array(n),u=0;u<n;u++)e[u]=t(r+u);return e}),q=o(function(n,r){for(var t=Array(n),e=0;e<n&&r.b;e++)t[e]=r.a,r=r.b;return t.length=e,{a:t,b:r}});function H(n){throw Error("https://github.com/elm/core/blob/1.0.0/hints/"+n+".md")}function i(n,r){for(var t,e=[],u=W(n,r,0,e);u&&(t=e.pop());u=W(t.a,t.b,0,e));return u}function W(n,r,t,e){if(n!==r){if("object"!=typeof n||null===n||null===r)return"function"==typeof n&&H(5),!1;if(100<t)e.push({a:n,b:r});else for(var u in n.$<0&&(n=zt(n),r=zt(r)),n)if(!W(n[u],r[u],t+1,e))return!1}return!0}function P(n,r,t){if("object"!=typeof n)return n===r?0:n<r?-1:1;if(void 0===n.$)return(t=(t=P(n.a,r.a))||P(n.b,r.b))||P(n.c,r.c);for(;n.b&&r.b&&!(t=P(n.a,r.a));n=n.b,r=r.b);return t||(n.b?1:r.b?-1:0)}var M=o(function(n,r){n=P(n,r);return n<0?Ut:n?Jt:Bt}),Q=0;function c(n,r){var t,e={};for(t in n)e[t]=n[t];for(t in r)e[t]=r[t];return e}function f(n,r){if("string"==typeof n)return n+r;if(!n.b)return r;var t={$:1,a:n.a,b:r};n=n.b;for(var e=t;n.b;n=n.b)e=e.b={$:1,a:n.a,b:r};return t}var v={$:0};function X(n,r){return{$:1,a:n,b:r}}var Y=o(X);function $(n){for(var r=v,t=n.length;t--;)r={$:1,a:n[t],b:r};return r}function Z(n){for(var r=[];n.b;n=n.b)r.push(n.a);return r}var K=r(function(n,r,t){for(var e=[];r.b&&t.b;r=r.b,t=t.b)e.push(s(n,r.a,t.a));return $(e)}),nn=o(function(t,n){return $(Z(n).sort(function(n,r){return P(t(n),t(r))}))}),rn=o(function(n,r){return n+r}),tn=o(function(n,r){r%=n;return 0===n?H(11):0<r&&n<0||r<0&&0<n?r+n:r});var en=Math.ceil,un=Math.floor,an=Math.round,cn=Math.log;var on=o(function(n,r){return n+r});var fn=o(function(n,r){return r.split(n)}),bn=o(function(n,r){return r.join(n)}),sn=r(function(n,r,t){return t.slice(n,r)});var dn=o(function(n,r){for(var t=r.length;t--;){var e=r[t],u=r.charCodeAt(t);if(!n(e=u<56320||57343<u?e:r[--t]+e))return!1}return!0}),ln=o(function(n,r){return!!~r.indexOf(n)}),vn=o(function(n,r){return 0==r.indexOf(n)}),$n=o(function(n,r){var t=n.length;if(t<1)return v;for(var e=0,u=[];-1<(e=r.indexOf(n,e));)u.push(e),e+=t;return $(u)});function pn(n){return n+""}var hn={$:2,b:function(n){return"boolean"==typeof n?m(n):Cn("a BOOL",n)}},gn={$:2,b:function(n){return"number"==typeof n?m(n):Cn("a FLOAT",n)}},xn={$:2,b:function(n){return m(n)}},mn={$:2,b:function(n){return"string"==typeof n?m(n):n instanceof String?m(n+""):Cn("a STRING",n)}};var yn=o(function(n,r){return{$:6,d:n,b:r}});var wn=o(function(n,r){return{$:10,b:r,h:n}});var kn=o(function(n,r){return{$:9,f:n,g:[r]}}),An=r(function(n,r,t){return{$:9,f:n,g:[r,t]}}),En=o(function(n,r){try{return Tn(n,JSON.parse(r))}catch(n){return x(s(Vt,"This is not valid JSON! "+n.message,r))}}),jn=o(Tn);function Tn(n,r){switch(n.$){case 2:return n.b(r);case 5:return null===r?m(n.c):Cn("null",r);case 3:return Nn(r)?_n(n.b,r,$):Cn("a LIST",r);case 4:return Nn(r)?_n(n.b,r,Rn):Cn("an ARRAY",r);case 6:var t=n.d;return"object"==typeof r&&null!==r&&t in r?(a=Tn(n.b,r[t]),je(a)?a:x(s(qt,t,a.a))):Cn("an OBJECT with a field named `"+t+"`",r);case 7:t=n.e;return Nn(r)?t<r.length?(a=Tn(n.b,r[t]),je(a)?a:x(s(Ht,t,a.a))):Cn("a LONGER array. Need index "+t+" but only see "+r.length+" entries",r):Cn("an ARRAY",r);case 8:if("object"!=typeof r||null===r||Nn(r))return Cn("an OBJECT",r);var e,u=v;for(e in r)if(r.hasOwnProperty(e)){var a=Tn(n.b,r[e]);if(!je(a))return x(s(qt,e,a.a));u={$:1,a:{a:e,b:a.a},b:u}}return m(ue(u));case 9:for(var c=n.f,o=n.g,i=0;i<o.length;i++){a=Tn(o[i],r);if(!je(a))return a;c=c(a.a)}return m(c);case 10:a=Tn(n.b,r);return je(a)?Tn(n.h(a.a),r):a;case 11:for(var f=v,b=n.g;b.b;b=b.b){a=Tn(b.a,r);if(je(a))return a;f={$:1,a:a.a,b:f}}return x(Wt(ue(f)));case 1:return x(s(Vt,n.a,r));case 0:return m(n.a)}}function _n(n,r,t){for(var e=r.length,u=Array(e),a=0;a<e;a++){var c=Tn(n,r[a]);if(!je(c))return x(s(Ht,a,c.a));u[a]=c.a}return m(t(u))}function Nn(n){return Array.isArray(n)||"undefined"!=typeof FileList&&n instanceof FileList}function Rn(r){return s(Ee,r.length,function(n){return r[n]})}function Cn(n,r){return x(s(Vt,"Expecting "+n,r))}function Gn(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 Gn(n.b,r.b);case 6:return n.d===r.d&&Gn(n.b,r.b);case 7:return n.e===r.e&&Gn(n.b,r.b);case 9:return n.f===r.f&&Ln(n.g,r.g);case 10:return n.h===r.h&&Gn(n.b,r.b);case 11:return Ln(n.g,r.g)}}function Ln(n,r){var t=n.length;if(t!==r.length)return!1;for(var e=0;e<t;e++)if(!Gn(n[e],r[e]))return!1;return!0}var Sn=o(function(n,r){return JSON.stringify(r,null,n)+""});function Dn(n){return n}function Fn(n){return{$:0,a:n}}var In=o(function(n,r){return{$:3,b:n,d:r}});var On=0;function zn(n){n={$:0,e:On++,f:n,g:null,h:[]};return Hn(n),n}function Bn(r){return{$:2,b:function(n){n({$:0,a:zn(r)})},c:null}}function Jn(n,r){n.h.push(r),Hn(n)}var Un=o(function(r,t){return{$:2,b:function(n){Jn(r,t),n({$:0,a:Q})},c:null}});var Vn=!1,qn=[];function Hn(n){if(qn.push(n),!Vn){for(Vn=!0;n=qn.shift();)!function(r){for(;r.f;){var n=r.f.$;if(0===n||1===n){for(;r.g&&r.g.$!==n;)r.g=r.g.i;if(!r.g)return;r.f=r.g.b(r.f.a),r.g=r.g.i}else{if(2===n)return r.f.c=r.f.b(function(n){r.f=n,Hn(r)});if(5===n){if(0===r.h.length)return;r.f=r.f.b(r.h.shift())}else r.g={$:3===n?0:1,b:r.f.b,i:r.g},r.f=r.f.d}}}(n);Vn=!1}}function Wn(n,r,t,e,u,a){var n=s(jn,n,r?r.flags:void 0),c=(je(n)||H(2),{}),r=t(n.a),o=r.a,i=a(f,o),t=function(n,r){var t,e;for(e in Pn){var u=Pn[e];u.a&&((t=t||{})[e]=u.a(e,r)),n[e]=function(n,r){var e={g:r,h:void 0},u=n.c,a=n.d,c=n.e,o=n.f;function i(t){return s(In,i,{$:5,b:function(n){var r=n.a;return 0===n.$?b(a,e,r,t):c&&o?d(u,e,r.i,r.j,t):b(u,e,c?r.i:r.j,t)}})}return e.h=zn(s(In,i,n.b))}(u,r)}return t}(c,f);function f(n,r){n=s(e,n,o);i(o=n.a,r),rr(c,n.b,u(o))}return rr(c,r.b,u(o)),t?{ports:t}:{}}var Pn={};var Mn=o(function(r,t){return{$:2,b:function(n){r.g(t),n({$:0,a:Q})},c:null}}),Qn=o(function(n,r){return s(Un,n.h,{$:0,a:r})});function Xn(r){return function(n){return{$:1,k:r,l:n}}}function Yn(n){return{$:2,m:n}}var Zn=o(function(n,r){return{$:3,n:n,o:r}}),Kn=[],nr=!1;function rr(n,r,t){if(Kn.push({p:n,q:r,r:t}),!nr){nr=!0;for(var e;e=Kn.shift();)!function(n,r,t){var e,u={};for(e in tr(!0,r,u,null),tr(!1,t,u,null),n)Jn(n[e],{$:"fx",a:u[e]||{i:v,j:v}})}(e.p,e.q,e.r);nr=!1}}function tr(n,r,t,e){switch(r.$){case 1:var u=r.k,a=function(n,r,t,e){function u(n){for(var r=t;r;r=r.t)n=r.s(n);return n}return s(n?Pn[r].e:Pn[r].f,u,e)}(n,u,e,r.l);return void(t[u]=function(n,r,t){return t=t||{i:v,j:v},n?t.i={$:1,a:r,b:t.i}:t.j={$:1,a:r,b:t.j},t}(n,a,t[u]));case 2:for(var c=r.m;c.b;c=c.b)tr(n,c.a,t,e);return;case 3:tr(n,r.o,t,{s:r.n,t:e})}}var er;var ur="undefined"!=typeof document?document:{};function ar(n){return{$:0,a:n}}var p=o(function(a,c){return o(function(n,r){for(var t=[],e=0;r.b;r=r.b){var u=r.a;e+=u.b||0,t.push(u)}return e+=t.length,{$:1,c:c,d:dr(n),e:t,f:a,b:e}})})(void 0);o(function(a,c){return o(function(n,r){for(var t=[],e=0;r.b;r=r.b){var u=r.a;e+=u.b.b||0,t.push(u)}return e+=t.length,{$:2,c:c,d:dr(n),e:t,f:a,b:e}})})(void 0);var cr=o(function(n,r){return{$:4,j:n,k:r,b:1+(r.b||0)}});var or=o(function(n,r){return{$:"a0",n:n,o:r}}),ir=o(function(n,r){return{$:"a1",n:n,o:r}}),fr=o(function(n,r){return{$:"a2",n:n,o:r}}),br=o(function(n,r){return{$:"a3",n:n,o:r}});var sr;function dr(n){for(var r={};n.b;n=n.b){var t,e=n.a,u=e.$,a=e.n,e=e.o;"a2"===u?"className"===a?lr(r,a,e):r[a]=e:(t=r[u]||(r[u]={}),"a3"===u&&"class"===a?lr(t,a,e):t[a]=e)}return r}function lr(n,r,t){var e=n[r];n[r]=e?e+" "+t:t}function vr(n,r){var t=n.$;if(5===t)return vr(n.k||(n.k=n.m()),r);if(0===t)return ur.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};(c=vr(e,a)).elm_event_node_ref=a}else if(3===t)$r(c=n.h(n.g),r,n.d);else{var c=n.f?ur.createElementNS(n.f,n.c):ur.createElement(n.c);er&&"a"==n.c&&c.addEventListener("click",er(c)),$r(c,r,n.d);for(var o=n.e,i=0;i<o.length;i++)c.appendChild(vr(1===t?o[i]:o[i].b,r))}return c}function $r(n,r,t){for(var e in t){var u=t[e];"a1"===e?function(n,r){var t,e=n.style;for(t in r)e[t]=r[t]}(n,u):"a0"===e?function(n,r,t){var e,u=n.elmFs||(n.elmFs={});for(e in t){var a=t[e],c=u[e];if(a){if(c){if(c.q.$===a.$){c.q=a;continue}n.removeEventListener(e,c)}c=function(i,n){function f(n){var r=f.q,t=Tn(r.a,n);if(je(t)){for(var e,r=Ne(r),t=t.a,u=r?r<3?t.a:t.L:t,a=1==r?t.b:3==r&&t.bq,c=(a&&n.stopPropagation(),(2==r?t.b:3==r&&t.a8)&&n.preventDefault(),i);e=c.j;){if("function"==typeof e)u=e(u);else for(var o=e.length;o--;)u=e[o](u);c=c.p}c(u,a)}}return f.q=n,f}(r,a),n.addEventListener(e,c,sr&&{passive:Ne(a)<2}),u[e]=c}else n.removeEventListener(e,c),u[e]=void 0}}(n,r,u):"a3"===e?function(n,r){for(var t in r){var e=r[t];void 0!==e?n.setAttribute(t,e):n.removeAttribute(t)}}(n,u):"a4"===e?function(n,r){for(var t in r){var e=r[t],u=e.f,e=e.o;void 0!==e?n.setAttributeNS(u,t,e):n.removeAttributeNS(u,t)}}(n,u):("value"!==e&&"checked"!==e||n[e]!==u)&&(n[e]=u)}}try{window.addEventListener("t",null,Object.defineProperty({},"passive",{get:function(){sr=!0}}))}catch(n){}function pr(n,r){var t=[];return hr(n,r,t,0),t}function N(n,r,t,e){r={$:r,r:t,s:e,t:void 0,u:void 0};return n.push(r),r}function hr(n,r,t,e){if(n!==r){var u=n.$,a=r.$;if(u!==a){if(1!==u||2!==a)return void N(t,0,e,r);r=function(n){for(var r=n.e,t=r.length,e=Array(t),u=0;u<t;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,o=r.l,i=c.length,f=i===o.length;f&&i--;)f=c[i]===o[i];if(f)return void(r.k=n.k);r.k=r.m();var b=[];return hr(n.k,r.k,b,0),void(0<b.length&&N(t,1,e,b));case 4:for(var s=n.j,d=r.j,l=!1,v=n.k;4===v.$;)l=!0,"object"!=typeof s?s=[s,v.j]:s.push(v.j),v=v.k;for(var $=r.k;4===$.$;)l=!0,"object"!=typeof d?d=[d,$.j]:d.push($.j),$=$.k;return l&&s.length!==d.length?void N(t,0,e,r):((l?function(n,r){for(var t=0;t<n.length;t++)if(n[t]!==r[t])return;return 1}(s,d):s===d)||N(t,2,e,d),void hr(v,$,t,e+1));case 0:return void(n.a!==r.a&&N(t,3,e,r.a));case 1:return void gr(n,r,t,e,mr);case 2:return void gr(n,r,t,e,yr);case 3:if(n.h!==r.h)return void N(t,0,e,r);b=xr(n.d,r.d),b=(b&&N(t,4,e,b),r.i(n.g,r.g));b&&N(t,5,e,b)}}}function gr(n,r,t,e,u){var a;n.c!==r.c||n.f!==r.f?N(t,0,e,r):((a=xr(n.d,r.d))&&N(t,4,e,a),u(n,r,t,e))}function xr(n,r,t){var e,u,a,c,o;for(u in n)"a1"===u||"a0"===u||"a3"===u||"a4"===u?(a=xr(n[u],r[u]||{},u))&&((e=e||{})[u]=a):u in r?(a=n[u])===(c=r[u])&&"value"!==u&&"checked"!==u||"a0"===t&&function(n,r){return n.$==r.$&&Gn(n.a,r.a)}(a,c)||((e=e||{})[u]=c):(e=e||{})[u]=t?"a1"===t?"":"a0"===t||"a3"===t?void 0:{f:n[u].f,o:void 0}:"string"==typeof n[u]?"":null;for(o in r)o in n||((e=e||{})[o]=r[o]);return e}function mr(n,r,t,e){var u=n.e,a=r.e,n=u.length,r=a.length;r<n?N(t,6,e,{v:r,i:n-r}):n<r&&N(t,7,e,{v:n,e:a});for(var c=n<r?n:r,o=0;o<c;o++){var i=u[o];hr(i,a[o],t,++e),e+=i.b||0}}function yr(n,r,t,e){for(var u=[],a={},c=[],o=n.e,i=r.e,f=o.length,b=i.length,s=0,d=0,l=e;s<f&&d<b;){var v=o[s],$=i[d],p=v.a,h=$.a,g=v.b,x=$.b,m=void 0,y=void 0;if(p===h)hr(g,x,u,++l),l+=g.b||0,s++,d++;else{var w,k,A,E,j=o[s+1],T=i[d+1];if(j&&(k=j.b,y=h===(w=j.a)),T&&(E=T.b,m=p===(A=T.a)),m&&y)hr(g,E,u,++l),kr(a,u,p,x,d,c),l+=g.b||0,Ar(a,u,p,k,++l),l+=k.b||0,s+=2,d+=2;else if(m)l++,kr(a,u,h,x,d,c),hr(g,E,u,l),l+=g.b||0,s+=1,d+=2;else if(y)Ar(a,u,p,g,++l),l+=g.b||0,hr(k,x,u,++l),l+=k.b||0,s+=2,d+=1;else{if(!j||w!==A)break;Ar(a,u,p,g,++l),kr(a,u,h,x,d,c),l+=g.b||0,hr(k,E,u,++l),l+=k.b||0,s+=2,d+=2}}}for(;s<f;){g=(v=o[s]).b;Ar(a,u,v.a,g,++l),l+=g.b||0,s++}for(;d<b;){var _=_||[];kr(a,u,($=i[d]).a,$.b,void 0,_),d++}(0<u.length||0<c.length||_)&&N(t,8,e,{w:u,x:c,y:_})}var wr="_elmW6BL";function kr(n,r,t,e,u,a){var c,o=n[t];o?1===o.c?(a.push({r:u,A:o}),o.c=2,hr(o.z,e,c=[],o.r),o.r=u,o.s.s={w:c,A:o}):kr(n,r,t+wr,e,u,a):(a.push({r:u,A:o={c:0,z:e,r:u,s:void 0}}),n[t]=o)}function Ar(n,r,t,e,u){var a,c=n[t];c?0===c.c?(c.c=2,hr(e,c.z,a=[],u),N(r,9,u,{w:a,A:c})):Ar(n,r,t+wr,e,u):(a=N(r,9,u,void 0),n[t]={c:1,z:e,r:u,s:a})}function Er(n,r,t,e){!function n(r,t,e,u,a,c,o){var i=e[u];var f=i.r;for(;f===a;){var b,s=i.$;if(1===s?Er(r,t.k,i.s,o):8===s?(i.t=r,i.u=o,0<(b=i.s.w).length&&n(r,t,b,0,a,c,o)):9===s?(i.t=r,i.u=o,(s=i.s)&&(s.A.s=r,0<(b=s.w).length)&&n(r,t,b,0,a,c,o)):(i.t=r,i.u=o),!(i=e[++u])||(f=i.r)>c)return u}var d=t.$;if(4===d){for(var l=t.k;4===l.$;)l=l.k;return n(r,l,e,u,a+1,c,r.elm_event_node_ref)}var v=t.e;var $=r.childNodes;for(var p=0;p<v.length;p++){var h=1===d?v[p]:v[p].b,g=++a+(h.b||0);if(a<=f&&f<=g&&(u=n($[p],h,e,u,a,g,o),!(i=e[u])||(f=i.r)>c))return u;a=g}return u}(n,r,t,0,0,r.b,e)}function jr(n,r,t,e){return 0===t.length?n:(Er(n,r,t,e),Tr(n,t))}function Tr(n,r){for(var t=0;t<r.length;t++){var e=r[t],u=e.t,e=function(n,r){switch(r.$){case 0:return function(n,r,t){var e=n.parentNode,r=vr(r,t);r.elm_event_node_ref||(r.elm_event_node_ref=n.elm_event_node_ref);e&&r!==n&&e.replaceChild(r,n);return r}(n,r.s,r.u);case 4:return $r(n,r.u,r.s),n;case 3:return n.replaceData(0,n.length,r.s),n;case 1:return Tr(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;e<t.i;e++)n.removeChild(n.childNodes[t.v]);return n;case 7:for(var u=(t=r.s).e,e=t.v,a=n.childNodes[e];e<u.length;e++)n.insertBefore(vr(u[e],r.u),a);return n;case 9:var c;return(t=r.s)?(void 0!==(c=t.A).r&&n.parentNode.removeChild(n),c.s=Tr(n,t.w)):n.parentNode.removeChild(n),n;case 8:return function(n,r){for(var t=r.s,e=function(n,r){if(n){for(var t=ur.createDocumentFragment(),e=0;e<n.length;e++){var u=n[e].A;t.appendChild(2===u.c?u.s:vr(u.z,r.u))}return t}}(t.y,r),u=(n=Tr(n,t.w),t.x),a=0;a<u.length;a++){var c=u[a],o=c.A,o=2===o.c?o.s:vr(o.z,r.u);n.insertBefore(o,n.childNodes[c.r])}e&&n.appendChild(e);return n}(n,r);case 5:return r.s(n);default:H(10)}}(u,e);u===n&&(n=e)}return n}function _r(n){if(3===n.nodeType)return{$:0,a:n.textContent};if(1!==n.nodeType)return{$:0,a:""};for(var r=v,t=n.attributes,e=t.length;e--;)var u=t[e],r={$:1,a:s(br,u.name,u.value),b:r};for(var a=n.tagName.toLowerCase(),c=v,o=n.childNodes,e=o.length;e--;)c={$:1,a:_r(o[e]),b:c};return b(p,a,r,c)}var Nr=n(function(r,n,t,e){return Wn(n,e,r.dh,r.d2,r.dS,function(e,n){var u=r.bh&&r.bh(e),a=r.d3,c=ur.title,o=ur.body,i=_r(o);return Gr(n,function(n){er=u;var n=a(n),r=p("body")(v)(n.bD),t=pr(i,r);o=jr(o,i,t,e),i=r,er=0,c!==n.cF&&(ur.title=c=n.cF)})})}),Rr="undefined"!=typeof cancelAnimationFrame?cancelAnimationFrame:function(n){clearTimeout(n)},Cr="undefined"!=typeof requestAnimationFrame?requestAnimationFrame:function(n){return setTimeout(n,1e3/60)};function Gr(t,e){e(t);var u=0;function a(){u=1===u?0:(Cr(a),e(t),1)}return function(n,r){t=n,r?(e(t),2===u&&(u=1)):(0===u&&Cr(a),u=2)}}function Lr(){return Ve(ur.location.href).a||H(1)}var Sr=o(function(n,r){return s(Ke,qe,{$:2,b:function(){history.pushState({},"",r),n()},c:null})}),Dr={addEventListener:function(){},removeEventListener:function(){}},Fr="undefined"!=typeof window?window:Dr;var Dr=O(function(n,r,t,e,u){for(var a=n.length,c=r+a<=u.length,o=0;c&&o<a;)var i=u.charCodeAt(r),c=n[o++]===u[r++]&&(10==i?(t++,e=1):(e++,55296==(63488&i)?n[o++]===u[r++]:1));return{a:c?r:-1,b:t,c:e}}),Ir=r(function(n,r,t){return r<t.length?55296==(63488&t.charCodeAt(r))?n(t.substr(r,2))?r+2:-1:n(t[r])?"\n"===t[r]?-2:r+1:-1:-1}),Or=r(function(e,u,a){return{$:2,b:function(r){function t(n){r(u(a.aT.a(n)))}var n=new XMLHttpRequest;n.addEventListener("error",function(){t(Da)}),n.addEventListener("timeout",function(){t(Oa)}),n.addEventListener("load",function(){t(function(n,r){return s(200<=r.status&&r.status<300?Sa:Ga,function(n){return{bx:n.responseURL,dP:n.status,dQ:n.statusText,bU:function(n){if(!n)return wu;for(var r=wu,t=n.split("\r\n"),e=t.length;e--;){var u,a,c=t[e],o=c.indexOf(": ");0<o&&(u=c.substring(0,o),a=c.substring(2+o),r=b(mu,u,function(n){return y(za(n)?a+", "+n.a:a)},r))}return r}(n.getAllResponseHeaders())}}(r),n(r.response))}(a.aT.b,n))}),za(a.cH)&&function(r,t,e){t.upload.addEventListener("progress",function(n){t.c||zn(s(Ba,r,{a:e,b:Ia({dO:n.loaded,cy:n.total})}))}),t.addEventListener("progress",function(n){t.c||zn(s(Ba,r,{a:e,b:Fa({dH:n.loaded,cy:n.lengthComputable?y(n.total):w})}))})}(e,n,a.cH.a);try{n.open(a.dn,a.bx,!0)}catch(n){return t(La(a.bx))}return function(n,r){for(var t=r.bU;t.b;t=t.b)n.setRequestHeader(t.a.a,t.a.b);n.timeout=r.dV.a||0,n.responseType=r.aT.d,n.withCredentials=r.cQ}(n,a),a.bD.a&&n.setRequestHeader("Content-Type",a.bD.a),n.send(a.bD.b),function(){n.c=!0,n.abort()}},c:null}});var zr=r(function(n,r,t){return{$:0,d:n,b:r,a:t}}),Br=o(function(r,t){return{$:0,d:t.d,b:t.b,a:function(n){return r(t.a(n))}}});function Jr(n){return s(Xt,"\n ",s(Yt,"\n",n))}function Ur(n){return b(Zt,o(function(n,r){return r+1}),0,n)}function Vr(n){return 97<=(n=ee(n))&&n<=122}function qr(n){return(n=ee(n))<=90&&65<=n}function Hr(n){return(n=ee(n))<=57&&48<=n}function Wr(n){return Vr(n)||qr(n)||Hr(n)}function Pr(n){return n}function Mr(n){return n}function Qr(n){return b(Pe,Qe(g),He(v),n)}function Xr(n){return{$:1,a:n}}function Yr(n){return{$:2,a:n}}function Zr(n){var r,t,e,u,a,c,o,i;return-1===n.$&&-1===n.d.$&&-1===n.e.$?-1!==n.e.d.$||n.e.d.a?(e=(i=n.e).b,u=i.c,a=i.d,i=i.e,l(j,1,n.b,n.c,l(j,0,(r=n.d).b,r.c,r.d,r.e),l(j,0,e,u,a,i))):(e=(t=n.e).b,u=t.c,c=(a=t.d).d,o=a.e,i=t.e,l(j,0,a.b,a.c,l(j,1,n.b,n.c,l(j,0,(r=n.d).b,r.c,r.d,r.e),c),l(j,1,e,u,o,i))):n}function Kr(n){var r,t,e,u,a,c,o,i,f;return-1===n.$&&-1===n.d.$&&-1===n.e.$?-1!==n.d.d.$||n.d.d.a?(c=(f=n.e).b,o=f.c,i=f.d,f=f.e,l(j,1,r=n.b,t=n.c,l(j,0,(u=n.d).b,u.c,u.d,u=u.e),l(j,0,c,o,i,f))):(r=n.b,t=n.c,u=(e=n.d).e,c=(a=n.e).b,o=a.c,i=a.d,f=a.e,l(j,0,e.b,e.c,l(j,1,(a=e.d).b,a.c,a.d,a.e),l(j,1,r,t,u,l(j,0,c,o,i,f)))):n}function nt(n){var r,t,e,u,a,c;return-1===n.$&&-1===n.d.$?(r=n.a,t=n.b,e=n.c,c=(u=n.d).d,a=n.e,1===u.a?-1!==c.$||c.a?-1===(c=Zr(n)).$?(n=c.e,l(lu,c.a,c.b,c.c,nt(c.d),n)):du:l(j,r,t,e,nt(u),a):l(j,r,t,e,nt(u),a)):du}function rt(n){return{$:0,a:n}}function tt(n){return{$:1,a:n}}function et(c){return function(n){var r,t=n.U,e=n.N,u=n.R,a=n.P,n=n.I;return e.b&&(r=e.b,i(e=e.a,c))?$([l(cu,s(g,e,t),r,u,a,n)]):v}}function ut(r){return s(ju,function(n){return n(r)},Ft)}function at(n){return{$:2,a:n}}function ct(f){return function(i){return function(o){return function(c){return function(a){return function(u){return function(e){return function(t){return function(r){return function(n){return{cW:e,c$:u,c0:o,c5:i,c6:f,dE:r,dF:c,dG:a,dR:n,d0:t}}}}}}}}}}}function ot(n){return s(Xt,"",n)}function it(n){return Nu(n.ci)+(" at row "+k(n.cr)+(", col "+k(n.bG)))}function ft(n){return i(Ge(n.b),n.c)?b(Lu,!1,0,n):s(Gu,!1,s(Iu,n,It))}function bt(n){return{$:1,a:n}}function st(n){return n.$?{$:1,a:n.a}:{$:0,a:n.a}}function t(t){return s(ca,"",function(r){var n;return i(Ge(r),t)?(n=Ie(r)).$?Vu('Invalid integer: "'+r+'"'):s(aa,bt,T(n.a)):s(aa,function(n){return{$:0,a:s(na,r,n)}},Uu(s(ta,Hr,ra)))})}function dt(n){return fa(s(oa,n,{$:8,a:n}))}function h(n){return Vu("Invalid day: "+k(n))}function lt(n){return!(s(_,4,n)||!s(_,100,n)&&s(_,400,n))}function vt(n){return((n-=1)/4|0)-(n/100|0)+(n/400|0)}function $t(n){return b(da,n.cr,n.bG,n.ci)}function pt(n){return ga($([s(e,y,n),_e(w)]))}function ht(n){return b(Na,"#",n.bQ,b(Na,"?",n.cl,f(s(_a,n.cg,f(n.ck?"https://":"http://",n.bW)),n.aF)))}function gt(n){return{$:4,a:n}}function xt(n){return function(n){return uc(Qa({cQ:!1,bD:n.bD,aT:n.aT,bU:n.bU,dn:n.dn,dV:n.dV,cH:n.cH,bx:n.bx}))}({bD:Ma,aT:n.aT,bU:v,dn:"GET",dV:w,cH:w,bx:n.bx})}function mt(n){return{$:2,a:n}}function yt(n){return{$:2,a:n}}function wt(n){return n.a+"="+n.b}function kt(n){return{$:3,a:n}}function At(n){return{$:4,a:n}}function Et(n){return{$:1,a:n}}function jt(n){return n.$?"RubyEventStore::Browser":"RubyEventStore::Browser - "+n.a}function Tt(n){return s(Xc,"href",/^javascript:/i.test((n=n).replace(/\s/g,""))?"":n)}function _t(n){return{$:1,a:n}}function Nt(n){return s(to,$([G("flex bg-red-700 px-8 h-16")]),$([s(C,$([G("flex items-center")]),$([s(Mc,$([Tt(ht(n.aV.be)),G("text-gray-100 font-semibold")]),$([L("Ruby Event Store")]))])),s(C,$([G("flex-1")]),v),s(C,$([G("flex items-center")]),$([s(no,$([s(io,"submit",s(e,oo,_e(Kc)))]),$([s(ro,$([G("rounded px-4 py-2"),bo(n.b0.aa),s(ao,"input",s(e,eo,s(e,_t,co))),fo("Go to stream...")]),v)]))]))]))}function Rt(n){return{$:4,a:n}}function Ct(n){return{$:3,a:n}}function Gt(n){return{$:2,a:n}}function Lt(n){return{$:1,a:n}}function St(n){return{$:0,a:n}}function Dt(n){return s(Te,n,_e(0))}var Ft,It,g=Y,Ot=r(function(n,r,t){for(;;){if(-2===t.$)return r;var e=t.d,u=n,a=b(n,t.b,t.c,b(Ot,n,r,t.e));n=u,r=a,t=e}}),zt=function(n){return b(Ot,r(function(n,r,t){return s(g,{a:n,b:r},t)}),v,n)},Bt=1,Jt=2,Ut=0,x=function(n){return{$:1,a:n}},Vt=o(function(n,r){return{$:3,a:n,b:r}}),qt=o(function(n,r){return{$:0,a:n,b:r}}),Ht=o(function(n,r){return{$:1,a:n,b:r}}),m=function(n){return{$:0,a:n}},Wt=function(n){return{$:2,a:n}},Pt=rn,y=function(n){return{$:0,a:n}},w={$:1},Mt=dn,Qt=Sn,k=pn,Xt=o(function(n,r){return s(bn,n,Z(r))}),Yt=o(function(n,r){return $(s(fn,n,r))}),Zt=r(function(n,r,t){for(;;){if(!t.b)return r;var e=t.b,u=n,a=s(n,t.a,r);n=u,r=a,t=e}}),Kt=K,ne=r(function(n,r,t){for(;;){if(1<=P(n,r))return t;var e=n,u=r-1,a=s(g,r,t);n=e,r=u,t=a}}),re=o(function(n,r){return b(ne,n,r,v)}),te=o(function(n,r){return b(Kt,n,s(re,0,Ur(r)-1),r)}),ee=function(n){var r=n.charCodeAt(0);return r<55296||56319<r?r:1024*(r-55296)+n.charCodeAt(1)-56320+65536},ue=function(n){return b(Zt,g,v,n)},ae=function(n){var r=n.charCodeAt(0);return isNaN(r)?w:y(r<55296||56319<r?{a:n[0],b:n.slice(1)}:{a:n[0]+n[1],b:n.slice(2)})},ce=o(function(n,r){return"\n\n("+k(n+1)+(") "+Jr(oe(r)))}),oe=function(n){return s(ie,n,v)},ie=o(function(n,r){for(;;)switch(n.$){case 0:var t=n.a,e=n.b,u=(u=a=void 0,1!==(u=ae(t)).$&&(a=(u=u.a).b,function(n){return Vr(n)||qr(n)}(u.a))&&s(Mt,Wr,a));n=e,r=s(g,u?"."+t:"['"+t+"']",r);continue;case 1:var e=n.b,a="["+k(n.a)+"]";n=e,r=s(g,a,r);continue;case 2:u=n.a;if(u.b){if(u.b.b)return c=(r.b?"The Json.Decode.oneOf at json"+s(Xt,"",ue(r)):"Json.Decode.oneOf")+" failed in the following "+k(Ur(u))+" ways:",s(Xt,"\n\n",s(g,c,s(te,ce,u)));n=e=u.a,r=r;continue}return"Ran into a Json.Decode.oneOf with no possibilities"+(r.b?" at json"+s(Xt,"",ue(r)):"!");default:var c,t=n.a,o=n.b;return(c=r.b?"Problem with the value at json"+s(Xt,"",ue(r))+":\n\n ":"Problem with the given value:\n\n")+(Jr(s(Qt,4,o))+"\n\n")+t}var a,u}),fe=n(function(n,r,t,e){return{$:0,a:n,b:r,c:t,d:e}}),be=[],se=en,de=o(function(n,r){return cn(r)/cn(n)}),le=se(s(de,2,32)),ve=d(fe,0,le,be,be),$e=V,pe=o(function(n,r){return n(r)}),Y=o(function(n,r){return r(n)}),he=un,ge=function(n){return n.length},xe=o(function(n,r){return 0<P(n,r)?n:r}),me=q,ye=o(function(n,r){for(;;){var t=s(me,32,n),e=t.b,t=s(g,{$:0,a:t.a},r);if(!e.b)return ue(t);n=e,r=t}}),we=o(function(n,r){for(;;){var t=se(r/32);if(1===t)return s(me,32,n).a;n=s(ye,n,v),r=t}}),ke=o(function(n,r){var t,e;return r.j?(e=he(s(de,32,(t=32*r.j)-1)),n=n?ue(r.m):r.m,n=s(we,n,r.j),d(fe,ge(r.l)+t,s(xe,5,e*le),n,r.l)):d(fe,ge(r.l),le,be,r.l)}),Ae=O(function(n,r,t,e,u){for(;;){if(r<0)return s(ke,!1,{m:e,j:t/32|0,l:u});var a={$:1,a:b($e,32,r,n)};n=n,r=r-32,t=t,e=s(g,a,e),u=u}}),Ee=o(function(n,r){var t;return 0<n?l(Ae,r,n-(t=n%32)-32,n,v,b($e,t,n-t,r)):ve}),je=function(n){return!n.$},Te=wn,e=kn,rn=An,_e=function(n){return{$:0,a:n}},Ne=function(n){switch(n.$){case 0:return 0;case 1:return 1;case 2:return 2;default:return 3}},Re=z(function(n,r,t,e,u,a){return{bQ:a,bW:r,aF:e,cg:t,ck:n,cl:u}}),Ce=ln,Ge=function(n){return n.length},Le=sn,Se=o(function(n,r){return n<1?r:b(Le,n,Ge(r),r)}),De=$n,Fe=o(function(n,r){return n<1?"":b(Le,0,n,r)}),Ie=function(n){for(var r=0,t=n.charCodeAt(0),e=43==t||45==t?1:0,u=e;u<n.length;++u){var a=n.charCodeAt(u);if(a<48||57<a)return w;r=10*r+a-48}return u==e?w:y(45==t?-r:r)},Oe=O(function(n,r,t,e,u){var a,c;return""===u||s(Ce,"@",u)?w:(a=s(De,":",u)).b?a.b.b||1===(c=Ie(s(Se,(a=a.a)+1,u))).$?w:(c=c,y(J(Re,n,s(Fe,a,u),c,r,t,e))):y(J(Re,n,u,w,r,t,e))}),ze=n(function(n,r,t,e){var u;return""===e?w:(u=s(De,"/",e)).b?l(Oe,n,s(Se,u=u.a,e),r,t,s(Fe,u,e)):l(Oe,n,"/",r,t,e)}),Be=r(function(n,r,t){var e;return""===t?w:(e=s(De,"?",t)).b?d(ze,n,y(s(Se,(e=e.a)+1,t)),r,s(Fe,e,t)):d(ze,n,w,r,t)}),Je=o(function(n,r){var t;return""===r?w:(t=s(De,"#",r)).b?b(Be,n,y(s(Se,(t=t.a)+1,r)),s(Fe,t,r)):b(Be,n,w,r)}),Ue=vn,Ve=function(n){return s(Ue,"http://",n)?s(Je,0,s(Se,7,n)):s(Ue,"https://",n)?s(Je,1,s(Se,8,n)):w},qe=function(n){for(;;)0},He=Fn,dn=He(0),We=n(function(n,r,t,e){var u,a,c,o;return e.b?(u=e.a,(e=e.b).b?(a=e.a,(e=e.b).b?(c=e.a,(e=e.b).b?(o=e.b,s(n,u,s(n,a,s(n,c,s(n,e.a,500<t?b(Zt,n,r,ue(o)):d(We,n,r,t+1,o)))))):s(n,u,s(n,a,s(n,c,r)))):s(n,u,s(n,a,r))):s(n,u,r)):r}),Pe=r(function(n,r,t){return d(We,n,r,0,t)}),A=o(function(t,n){return b(Pe,o(function(n,r){return s(g,t(n),r)}),v,n)}),E=In,Me=o(function(r,n){return s(E,function(n){return He(r(n))},n)}),Qe=r(function(t,n,e){return s(E,function(r){return s(E,function(n){return He(s(t,r,n))},e)},n)}),Xe=Mn,Ye=o(function(n,r){return Bn(s(E,Xe(n),r))}),Ze=(Pn.Task={b:dn,c:r(function(n,r,t){return s(Me,function(n){return 0},Qr(s(A,Ye(n),r)))}),d:r(function(n,r,t){return He(0)}),e:o(function(n,r){return s(Me,n,r)}),f:void 0},Xn("Task")),Ke=o(function(n,r){return Ze(s(Me,n,r))}),Sn=function(r){function t(){t.a(n(Lr()))}var n=r.dA,u=r.dB;return Nr({bh:function(e){return t.a=e,Fr.addEventListener("popstate",t),~Fr.navigator.userAgent.indexOf("Trident")&&Fr.addEventListener("hashchange",t),o(function(n,r){var t;r.ctrlKey||r.metaKey||r.shiftKey||1<=r.button||n.target||n.hasAttribute("download")||(r.preventDefault(),r=n.href,n=Lr(),t=Ve(r).a,e(u(t&&n.ck===t.ck&&n.bW===t.bW&&n.cg.a===t.cg.a?{$:0,a:t}:{$:1,a:r})))})},dh:function(n){return b(r.dh,n,Lr(),t)},d3:r.d3,d2:r.d2,dS:r.dS})},nu={$:0},ru=r(function(n,r,t){return{bA:r,bb:t,be:n}}),tu=n(function(n,r,t,e){return 1===r.$||1===t.$||1===e.$?w:y(b(n,r.a,t.a,e.a))}),eu={aa:""},uu=function(n){return{$:3,a:n}},au=function(n){return{$:4,a:n}},cu=O(function(n,r,t,e,u){return{P:e,R:t,N:r,I:u,U:n}}),ou=function(n){return n.b&&(""!==n.a||n.b.b)?s(g,n.a,ou(n.b)):v},iu=o(function(n,r){return y(1===r.$?$([n]):s(g,n,r.a))}),fu=function(n){try{return y(decodeURIComponent(n))}catch(n){return w}},bu=M,su=o(function(n,r){for(;;){if(-2===r.$)return w;var t=r.c,e=r.d,u=r.e;switch(s(bu,n,r.b)){case 0:n=n,r=e;continue;case 1:return y(t);default:n=n,r=u;continue}}}),j=O(function(n,r,t,e,u){return{$:-1,a:n,b:r,c:t,d:e,e:u}}),du={$:-2},lu=O(function(n,r,t,e,u){var a,c,o,i;return-1!==u.$||u.a?-1!==e.$||e.a||-1!==e.d.$||e.d.a?l(j,n,r,t,e,u):(a=e.d,i=e.e,l(j,0,e.b,e.c,l(j,1,a.b,a.c,a.d,a.e),l(j,1,r,t,i,u))):(a=u.b,c=u.c,o=u.d,u=u.e,-1!==e.$||e.a?l(j,n,a,c,l(j,0,r,t,e,o),u):l(j,0,r,t,l(j,1,e.b,e.c,e.d,i=e.e),l(j,1,a,c,o,u)))}),vu=r(function(n,r,t){if(-2===t.$)return l(j,0,n,r,du,du);var e=t.a,u=t.b,a=t.c,c=t.d,o=t.e;switch(s(bu,n,u)){case 0:return l(lu,e,u,a,b(vu,n,r,c),o);case 1:return l(j,e,u,r,c,o);default:return l(lu,e,u,a,c,b(vu,n,r,o))}}),$u=r(function(n,r,t){n=b(vu,n,r,t);return-1!==n.$||n.a?n:l(j,1,n.b,n.c,n.d,n.e)}),pu=B(function(n,r,t,e,u,a,c){if(-1!==a.$||a.a){for(;;){if(-1!==c.$||1!==c.a)break;if(-1!==c.d.$)return Kr(r);if(1===c.d.a)return Kr(r);break}return r}return l(j,t,a.b,a.c,a.d,l(j,0,e,u,a.e,c))}),hu=o(function(n,r){var t,e,u,a,c,o,i;return-2===r.$?du:(t=r.a,u=r.c,a=r.d,c=r.e,P(n,e=r.b)<0?-1===a.$&&1===a.a?-1!==(o=a.d).$||o.a?-1===(o=Zr(r)).$?(i=o.e,l(lu,o.a,o.b,o.c,s(hu,n,o.d),i)):du:l(j,t,e,u,s(hu,n,a),c):l(j,t,e,u,s(hu,n,a),c):s(gu,n,U(pu,n,r,t,e,u,a,c)))}),gu=o(function(n,r){var t,e,u,a,c;return-1===r.$?(t=r.a,e=r.c,u=r.d,a=r.e,i(n,r=r.b)?-1===(c=function(n){for(;;){if(-1!==n.$||-1!==n.d.$)return n;n=n.d}}(a)).$?l(lu,t,c.b,c.c,u,nt(a)):du:l(lu,t,r,e,u,s(hu,n,a))):du}),xu=o(function(n,r){n=s(hu,n,r);return-1!==n.$||n.a?n:l(j,1,n.b,n.c,n.d,n.e)}),mu=r(function(n,r,t){r=r(s(su,n,t));return r.$?s(xu,n,t):b($u,n,r.a,t)}),yu=o(function(n,r){var t,n=s(Yt,"=",n);return!n.b||!n.b.b||n.b.b.b||(t=n.b.a,1===(n=fu(n.a)).$)||(n=n.a,1===(t=fu(t)).$)?r:b(mu,n,iu(t.a),r)}),wu=du,ku=o(function(n,r){for(var t=n(l(cu,v,function(n){n=s(Yt,"/",n);return ou(n.b&&""===n.a?n.b:n)}(r.aF),1===(n=r.cl).$?wu:b(Pe,yu,wu,s(Yt,"&",n.a)),r.bQ,Mr));;){if(!t.b)return w;var e=t.a,u=t.b,a=e.N;if(!a.b)return y(e.I);if(""===a.a&&!a.b.b)return y(e.I);t=u}}),Au=o(function(n,r){return l(cu,r.U,r.N,r.R,r.P,n(r.I))}),K=o(function(a,n){var c=n;return function(n){var r=n.U,t=n.N,e=n.R,u=n.P;return s(A,Au(n.I),c(l(cu,r,t,e,u,a)))}}),Eu=o(function(n,r){return r.b?b(Pe,g,r,n):n}),ju=o(function(n,r){return b(Pe,Eu,v,s(A,n,r))}),en=o(function(n,r){var t=n,e=r;return function(n){return s(ju,e,t(n))}}),V=s(o(function(n,o){return function(n){var r,t,e=n.U,u=n.N,a=n.R,c=n.P,n=n.I;return!u.b||(r=u.b,(t=o(u=u.a)).$)?v:(t=t.a,$([l(cu,s(g,u,e),r,a,c,n(t))]))}}),"STRING",y),Tu=(Ft=$([s(K,{$:0,a:"all"},function(n){return $([n])}),s(K,rt,s(en,et("streams"),V)),s(K,tt,s(en,et("events"),V))]),o(function(n,r){return c(r,{aF:s(Se,Ge(n.aF),r.aF)})})),_u=o(function(n,r){return s(ku,ut,s(Tu,n,r))}),Nu=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"}},Ru=o(function(t,n){var r;return n.b?(r=n.b,s(g,n.a,b(Pe,o(function(n,r){return s(g,t,s(g,n,r))}),v,r))):v}),Cu=function(n){return{$:1,a:n}},u=mn,Gu=o(function(n,r){return{$:1,a:n,b:r}}),Lu=r(function(n,r,t){return{$:0,a:n,b:r,c:t}}),un=o(function(u,n){var a=n;return function(n){var r,t,e,n=a(n);return 1===n.$?s(Gu,n.a,n.b):(r=n.a,t=n.c,1===(n=u(n.b)(t)).$?(e=n.a,s(Gu,r||e,n.b)):(e=n.a,b(Lu,r||e,n.b,n.c)))}}),Su=o(function(n,r){return{$:1,a:n,b:r}}),Du=n(function(n,r,t,e){return{bG:r,c_:e,ci:t,cr:n}}),Fu={$:0},Iu=o(function(n,r){return s(Su,Fu,d(Du,n.cr,n.bG,r,n.e))}),Ou=(It={$:10},Ir),zu=O(function(n,r,t,e,u){for(;;){var a=b(Ou,n,r,u.b);if(i(a,-1))return b(Lu,P(u.c,r)<0,0,{bG:e,e:u.e,f:u.f,c:r,cr:t,b:u.b});u=(e=i(a,-2)?(n=n,r=r+1,t=t+1,1):(n=n,r=a,t=t,e+1),u)}}),q=function(r){return function(n){return l(zu,r,n.c,n.cr,n.bG,n)}},Bu=o(function(n,r){return n}),Ju=o(function(e,n){var u=n;return function(n){var r,t=u(n);return 1===t.$?s(Gu,t.a,t.b):(r=t.b,b(Lu,t.a,s(e,b(Le,n.c,(t=t.c).c,n.b),r),t))}}),Uu=function(n){return s(Ju,Bu,n)},Vu=function(n){return r={$:12,a:n},function(n){return s(Gu,!1,s(Iu,n,r))};var r},qu=an,T=function(r){return function(n){return b(Lu,!1,r,n)}},Hu=function(n){return 0!==n.length&&!/[\sxbo]/.test(n)&&(n=+n)==n?y(n):w},Wu=s(un,function(n){var r;return 9<Ge(n)?Vu("Expected at most 9 digits, but got "+k(Ge(n))):(r=Hu("0."+n)).$?Vu('Invalid float: "'+n+'"'):T(qu(1e3*r.a))},Uu(q(Hr))),Pu=Mr,Mu=z(function(n,r,t,e,u,a){return Pu(n+60*r*60*1e3+60*(t-a)*1e3+1e3*e+u)}),Qu=r(function(a,n,r){var c=n,o=r;return function(n){var r,t,e,u,n=c(n);return 1===n.$?s(Gu,n.a,n.b):(r=n.a,t=n.b,1===(n=o(n.c)).$?(e=n.a,s(Gu,r||e,n.b)):(e=n.a,u=n.c,b(Lu,r||e,s(a,t,n.b),u)))}}),Xu=o(function(n,r){return b(Qu,Bu,n,r)}),a=o(function(n,r){return b(Qu,pe,n,r)}),Yu=o(function(n,r){return{$:2,a:n,b:r}}),Zu=r(function(n,r,t){for(;;){if(!t.b)return s(Gu,!1,r);var e,u=t.a,a=t.b,u=u(n);if(!u.$)return e=u;if((e=u).a)return e;n=n,r=s(Yu,r,e.b),t=a}}),Ku=function(r){return function(n){return b(Zu,n,Fu,r)}},na=on,ra={$:11},ta=o(function(t,e){return function(n){var r=b(Ou,t,n.c,n.b);return i(r,-1)?s(Gu,!1,s(Iu,n,e)):i(r,-2)?b(Lu,!0,0,{bG:1,e:n.e,f:n.f,c:n.c+1,cr:n.cr+1,b:n.b}):b(Lu,!0,0,{bG:n.bG+1,e:n.e,f:n.f,c:r,cr:n.cr,b:n.b})}}),ea=n(function(n,r,t,e){for(;;){var u=t(r)(e);if(u.$)return a=u.a,s(Gu,n||a,u.b);var a=u.a,c=u.b,u=u.c;if(c.$)return b(Lu,n||a,c.a,u);n=n||a,r=c.a,t=t,e=u}}),ua=o(function(r,t){return function(n){return d(ea,!1,r,t,n)}}),aa=o(function(t,n){var e=n;return function(n){var r,n=e(n);return n.$?s(Gu,n.a,n.b):(r=n.c,b(Lu,n.a,t(n.b),r))}}),ca=o(function(n,r){return s(ua,n,function(n){return s(aa,st,r(n))})}),oa=o(function(n,r){return{$:0,a:n,b:r}}),ia=Dr,fa=function(n){var u=n.a,a=n.b,c=!(""===u);return function(n){var r=l(ia,u,n.c,n.cr,n.bG,n.b),t=r.a,e=r.b,r=r.c;return i(t,-1)?s(Gu,!1,s(Iu,n,a)):b(Lu,c,0,{bG:r,e:n.e,f:n.f,c:t,cr:e,b:n.b})}},_=tn,wn=s(un,function(n){var e=n.a,u=n.b,a=n.c;if(a<0)return h(a);function r(n){var r=31536e6*(e-1970),t=864e5*((u<3||!lt(e)?a-1:a)+(vt(e)-vt(1970)));return T(n+r+t)}switch(u){case 1:return 31<a?h(a):r(0);case 2:return 29<a||29===a&&!lt(e)?h(a):r(26784e5);case 3:return 31<a?h(a):r(50976e5);case 4:return 30<a?h(a):r(7776e6);case 5:return 31<a?h(a):r(10368e6);case 6:return 30<a?h(a):r(130464e5);case 7:return 31<a?h(a):r(156384e5);case 8:return 31<a?h(a):r(183168e5);case 9:return 30<a?h(a):r(209952e5);case 10:return 31<a?h(a):r(235872e5);case 11:return 30<a?h(a):r(262656e5);case 12:return 31<a?h(a):r(288576e5);default:return Vu('Invalid month: "'+k(u)+'"')}},s(a,s(a,s(a,T(r(function(n,r,t){return{a:n,b:r,c:t}})),t(4)),Ku($([s(a,s(Xu,T(Mr),dt("-")),t(2)),t(2)]))),Ku($([s(a,s(Xu,T(Mr),dt("-")),t(2)),t(2)])))),ba=(kn=r(function(n,r,t){return n*(60*r)+t}),s(a,T(Mr),Ku($([s(aa,function(n){return 0},dt("Z")),s(a,s(a,s(a,T(kn),Ku($([s(aa,function(n){return 1},dt("+")),s(aa,function(n){return-1},dt("-"))]))),t(2)),Ku($([s(a,s(Xu,T(Mr),dt(":")),t(2)),t(2),T(0)]))),s(Xu,T(0),ft)])))),sa=s(un,function(n){return Ku($([s(a,s(a,s(a,s(a,s(a,s(Xu,T(Mu(n)),dt("T")),t(2)),Ku($([s(a,s(Xu,T(Mr),dt(":")),t(2)),t(2)]))),Ku($([s(a,s(Xu,T(Mr),dt(":")),t(2)),t(2),T(0)]))),Ku($([s(a,s(Xu,T(Mr),dt(".")),Wu),T(0)]))),s(Xu,ba,ft)),s(Xu,T(J(Mu,n,0,0,0,0,0)),ft)]))},wn),da=r(function(n,r,t){return{bG:r,ci:t,cr:n}}),la=o(function(n,r){for(;;)switch(n.$){case 0:return r;case 1:var t=n.a,e=n.b;n=t,r=s(g,e,r);continue;default:t=n.a,e=n.b;n=t,r=s(la,e,r);continue}}),va=o(function(n,r){n=n({bG:1,e:v,f:1,c:0,cr:1,b:r});return n.$?x(s(la,n.b,v)):m(n.b)}),$a=o(function(n,r){n=s(va,n,r);return n.$?x(s(A,$t,n.a)):m(n.a)}),An=s(Te,function(n){n=s($a,sa,n);return 1===n.$?Cu(function(n){return ot(s(Ru,"; ",s(A,it,n)))}(n.a)):_e(n.a)},u),pa=yn,ha=function(n){return{$:3,b:n}},ga=function(n){return{$:11,g:n}},xa=rn(Y),ma=o(function(n,r){return b(Pe,pa,r,n)}),ya=jn,wa=function(n){return{$:5,c:n}},ka=xn,Aa=r(function(r,t,e){function u(n){return ga($([n,wa(e)]))}return s(Te,function(n){var n=s(ya,s(ma,r,ka),n);return n.$?_e(e):(n=n.a,(n=s(ya,u(t),n)).$?s(ma,r,u(t)):_e(n.a))},ka)}),ln=n(function(n,r,t,e){return s(xa,b(Aa,n,r,t),e)}),sn=r(function(n,r,t){return s(xa,s(ma,n,r),t)}),vn=($n=s(pa,"id",u),d(ln,$(["relationships","streams","data"]),pt(ha($n)),w,d(ln,$(["attributes","parent_event_id"]),pt(u),w,b(sn,$(["attributes","type_stream_name"]),u,d(ln,$(["attributes","causation_stream_name"]),pt(u),w,d(ln,$(["attributes","correlation_stream_name"]),pt(u),w,b(sn,$(["attributes","metadata"]),s(e,Qt(2),ka),b(sn,$(["attributes","data"]),s(e,Qt(2),ka),b(sn,$(["attributes","metadata","timestamp"]),An,b(sn,$(["id"]),u,b(sn,$(["attributes","event_type"]),u,_e(ct)))))))))))),Ea=s(pa,"data",vn),ja=function(n){return encodeURIComponent(n)},Ta=o(function(n,r){return n+("/"+ja(r))}),_a=o(function(n,r){return 1===n.$?r:r+(":"+k(n.a))}),Na=r(function(n,r,t){return 1===r.$?t:f(t,f(n,r.a))}),Ra=o(function(n,r){return s(Ta,ht(n.bA)+"/events",r)}),Ca=En,Ga=o(function(n,r){return{$:3,a:n,b:r}}),La=function(n){return{$:0,a:n}},Sa=o(function(n,r){return{$:4,a:n,b:r}}),Da={$:2},Fa=function(n){return{$:1,a:n}},Ia=function(n){return{$:0,a:n}},Oa={$:1},za=function(n){return!n.$},Ba=Qn,Ja=r(function(n,r,t){return r(n(t))}),Ua=o(function(n,r){return b(zr,"",Mr,s(Ja,r,n))}),Va=o(function(n,r){return r.$?x(n(r.a)):m(r.a)}),qa={$:2},Ha={$:1},Wa=o(function(n,r){switch(r.$){case 0:return x({$:0,a:r.a});case 1:return x(Ha);case 2:return x(qa);case 3:return x({$:3,a:r.a.dP});default:return s(Va,gt,n(r.b))}}),Pa=o(function(n,r){return s(Ua,n,Wa(function(n){return s(Va,oe,s(Ca,r,n))}))}),Ma={$:0},Qa=function(n){return{$:1,a:n}},Xa=o(function(n,r){return{cn:n,cD:r}}),Mn=He(s(Xa,wu,v)),Ya=function(t){return{$:2,b:function(n){var r=t.f;2===r.$&&r.c&&r.c(),t.f=null,n({$:0,a:Q})},c:null}},Za=Bn,Ka=r(function(t,n,e){for(;;){if(!n.b)return He(e);var u,r=n.a,a=n.b;if(r.$)return u=r.a,s(E,function(n){var r=u.cH;return b(Ka,t,a,1===r.$?e:b($u,r.a,n,e))},Za(b(Or,t,Xe(t),u)));var c=r.a,r=s(su,c,e);if(1!==r.$)return s(E,function(n){return b(Ka,t,a,s(xu,c,e))},Ya(r.a));t=t,n=a,e=e}}),dn=n(function(n,r,t,e){return s(E,function(n){return He(s(Xa,n,t))},b(Ka,n,r,e.cn))}),nc=r(function(n,r,t){n=n(r);return n.$?t:s(g,n.a,t)}),rc=o(function(n,r){return b(Pe,nc(n),v,r)}),tc=n(function(n,r,t,e){var u=e.b;return i(r,e.a)?y(s(Xe,n,u(t))):w}),M=r(function(n,r,t){return s(E,function(n){return He(t)},Qr(s(rc,b(tc,n,r.a,r.b),t.cD)))}),K=o(function(n,r){var t;return r.$?Qa({cQ:(t=r.a).cQ,bD:t.bD,aT:s(Br,n,t.aT),bU:t.bU,dn:t.dn,dV:t.dV,cH:t.cH,bx:t.bx}):{$:0,a:r.a}}),ec=o(function(n,r){return{$:0,a:n,b:r}}),uc=(Pn.Http={b:Mn,c:dn,d:M,e:K,f:o(function(n,r){return s(ec,r.a,s(Ja,r.b,n))})},Xn("Http")),ac=(Xn("Http"),r(function(n,r,t){return xt({aT:s(Pa,n,Ea),bx:s(Ra,r,t)})})),cc=o(function(n,r){return b(ac,at,n,r)}),oc=o(function(n,r){return s(cc,n,r)}),en=o(function(n,r){return{c8:n,dJ:r}}),V=d(ln,$(["attributes","related_streams"]),pt(ha(u)),w,b(sn,$(["relationships","events","links","self"]),u,_e(en))),ic=s(pa,"data",V),fc=o(function(n,r){return s(Ta,ht(n.bA)+"/streams",r)}),bc=r(function(n,r,t){return xt({aT:s(Pa,n,ic),bx:s(fc,r,t)})}),sc=o(function(n,r){return b(bc,mt,n,r)}),dc={$:0},lc=Pu(0),vc=o(function(n,r){return{X:dc,B:dc,c5:r,aV:n,au:lc}}),mn=o(function(n,r){return{c7:n,dm:r}}),$c=s(mn,v,{bO:w,b4:w,cc:w,ch:w}),pc=o(function(n,r){return{c7:$c,aV:n,at:v,dJ:w,br:r}}),hc=Zn,R=Yn(v),gc=o(function(n,r){var t,e=n.aV;return 1===e.$?{a:n,b:R}:(r=s(_u,(e=e.a).be,r)).$?{a:c(n,{z:nu}),b:R}:r.a.$?(t=fu(r.a.a)).$?{a:c(n,{z:nu}),b:R}:{a:c(n,{z:{$:1,a:s(vc,e,t=t.a)}}),b:s(hc,uu,s(oc,e,t))}:(t=fu(r.a.a)).$?{a:c(n,{z:nu}),b:R}:{a:c(n,{z:{$:2,a:s(pc,e,r=t.a)}}),b:s(hc,au,s(sc,e,r))}}),Ir=r(function(n,r,t){var e,u,n={aV:(e=n.bA,u=n.bb,d(tu,ru,Ve(n.be),Ve(e),y(u))),dj:t,aq:eu,z:nu};return s(gc,n,r)}),xc=Zn,mc=Yn(v),yc=function(n){return{$:5,a:n}},wc=r(function(n,r,t){return{a6:t,co:r,cD:n}}),kc=He(b(wc,v,w,0)),Ac={$:2,b:function(n){n({$:0,a:Date.now()})},c:null},Ec={$:2,b:function(n){var r=Cr(function(){n({$:0,a:Date.now()})});return function(){Rr(r)}},c:null},an=r(function(n,t,r){var e=r.co,r=r.a6,u={a:e,b:t};return 1===u.a.$?u.b.b?s(E,function(r){return s(E,function(n){return He(b(wc,t,y(r),n))},Ac)},Za(s(E,Ba(n),Ec))):kc:u.b.b?He(b(wc,t,e,r)):s(E,function(n){return kc},Ya(u.a.a))}),q=r(function(r,t,n){function e(n){return s(Xe,r,n.$?(0,n.a)(t-a):(0,n.a)(Pu(t)))}var u=n.cD,a=n.a6;return s(E,function(r){return s(E,function(n){return He(b(wc,u,y(r),t))},Qr(s(A,e,u)))},Za(s(E,Ba(r),Ec)))}),jc=r(function(n,r,t){return n(r(t))}),Tc=(Pn["Browser.AnimationManager"]={b:kc,c:an,d:q,e:0,f:o(function(n,r){return r.$?{$:1,a:s(jc,n,r.a)}:{$:0,a:s(jc,n,r.a)}})},Xn("Browser.AnimationManager")),_c=function(n){return Tc({$:0,a:n})}(function(n){return{$:1,a:n}}),Nc=function(r){return s(Ke,qe,{$:2,b:function(n){try{Fr.location=r}catch(n){ur.location.reload(!1)}},c:null})},Rc=Sr,Cc=o(function(n,r){return"/"+(s(Xt,"/",n)+function(n){return n.b?"?"+s(Xt,"&",s(A,wt,n)):""}(r))}),Gc=o(function(t,n){return b(Pe,o(function(n,r){return t(n)?s(g,n,r):r}),v,n)}),Lc=o(function(n,r){return s(Cc,f(function(n){return s(Gc,function(n){return""!==n},s(Yt,"/",n.aF))}(n),r),v)}),Sc=o(function(n,r){return s(Lc,n,$(["streams",ja(r)]))}),Dc=o(function(n,r){return n.$?{a:{aa:n.a},b:R}:{a:{aa:""},b:s(Rc,r.dj,s(Sc,r.aV.be,r.b0.aa))}}),Fc={$:3},Ic={$:2},on=wu,Oc=o(function(n,r){return b($u,n,0,r)}),zc=b(Zt,Oc,on,v),Bc=o(function(n,r){r=r.cW;return r.$?R:b(bc,At,n,r.a)}),Dr=n(function(n,r,t,e){return{bO:t,b4:e,cc:n,ch:r}}),tn=n(function(n,r,t,e){return s(xa,b(Aa,$([n]),r,t),e)}),kn=d(tn,"last",pt(u),w,d(tn,"first",pt(u),w,d(tn,"prev",pt(u),w,d(tn,"next",pt(u),w,_e(Dr))))),un=r(function(n,r,t){return s(xa,s(pa,n,r),t)}),Jc=b(un,"links",kn,b(un,"data",ha(vn),_e(mn))),Uc=o(function(n,r){return xt({aT:s(Pa,n,Jc),bx:r})}),Vc=o(function(n,r){return n.$?n.a:r}),qc=o(function(n,r){switch(n.$){case 0:var t=n.a,e=r.B;return 1===e.$?{a:c(r,{B:{$:1,a:c(u=e.a,{aA:t})}}),b:R}:{a:r,b:R};case 1:t=n.a,e=r.B;return 1===e.$?{a:c(r,{B:{$:1,a:c(u=e.a,{aE:t})}}),b:R}:{a:r,b:R};case 2:var u;return n.a.$?3===n.a.a.$&&404===n.a.a.a?{a:c(r,{B:Ic}),b:R}:{a:c(r,{B:Fc}),b:R}:{a:c(r,{B:{$:1,a:u={cW:(a=n.a.a).cW,c$:a.c$,aA:zc,c5:a.c5,c6:a.c6,aE:zc,dE:a.dE,dF:a.dF,dG:a.dG,dR:a.dR,d0:a.d0}}}),b:s(Bc,r.aV,u)};case 4:return n.a.$?{a:c(r,{X:Fc}),b:R}:{a:r,b:s(Uc,kt,n.a.a.c8)};case 3:var a;return n.a.$?{a:c(r,{X:Fc}),b:R}:{a:c(r,{X:{$:1,a:(a=n.a.a).c7}}),b:R};default:return{a:c(r,{au:s(Vc,n.a,r.au)}),b:R}}}),Hc=o(function(n,r){switch(n.$){case 0:return{a:r,b:s(Uc,Et,n.a)};case 1:return n.a.$?{a:c(r,{at:$(["Server error, please check backend logs for details"])}),b:R}:{a:c(r,{c7:n.a.a}),b:R};default:var t;return n.a.$?{a:c(r,{at:$(["Server error, please check backend logs for details"])}),b:R}:{a:c(r,{dJ:(t=n.a.a).dJ}),b:s(Uc,Et,t.c8)}}}),Wc=n(function(n,r,t,e){var u=e.b;return{a:c(t,{z:n(e.a)}),b:s(hc,r,u)}}),Pc=r(function(n,r,t){return{aV:t,b0:r,dj:n.dj}}),wn=o(function(n,r){var t={a:n,b:r.z};n:for(;;)switch(t.a.$){case 0:return s(gc,r,t.a.a);case 1:var e=t.a.a;return e.$?{a:r,b:Nc(e.a)}:{a:r,b:s(Rc,r.dj,ht(e.a))};case 4:if(2===t.b.$)return d(Wc,Yr,au,r,s(Hc,t.a.a,t.b.a));break n;case 3:if(1===t.b.$)return d(Wc,Xr,uu,r,s(qc,t.a.a,t.b.a));break n;default:var u,a,e=r.aV;return 1===e.$?{a:r,b:R}:(a=(u=s(Dc,t.a.a,b(Pc,r,r.aq,e.a))).b,{a:c(r,{aq:u.a}),b:s(hc,yt,a)})}return{a:r,b:R}}),C=p("div"),Mc=p("a"),Qc=Dn,Xc=o(function(n,r){return s(fr,n,Qc(r))}),G=Xc("className"),Yc=p("footer"),Zc=p("span"),L=ar,Kc={$:0},no=p("form"),ro=p("input"),to=p("nav"),eo=function(n){return{a:n,b:!0}},uo=or,ao=o(function(n,r){return s(uo,n,{$:1,a:r})}),co=s(ma,$(["target","value"]),u),oo=function(n){return{a:n,b:!0}},io=o(function(n,r){return s(uo,n,{$:2,a:r})}),fo=Xc("placeholder"),bo=Xc("value"),so=p("header"),lo=p("main"),vo=cr,$o=r(function(n,r,t){return s(C,$([G("bg-gray-100 min-h-screen w-full text-gray-800 font-sans leading-relaxed antialiased")]),$([s(so,v,$([s(vo,n,Nt(r))])),s(lo,$([G("bg-white")]),$([t])),s(Yc,v,$([s(vo,n,(t=r.aV,s(Yc,$([G("border-gray-400 border-t py-4")]),$([s(C,$([G("flex justify-center text-gray-500 text-sm")]),$([L("RubyEventStore v"+t.bb),s(Zc,$([G("font-bold text-gray-400 inline-block ml-4")]),$([L("•")])),s(Mc,$([Tt("https://railseventstore.org/docs/install/"),G("text-gray-500 ml-4")]),$([L("Documentation")])),s(Zc,$([G("font-bold text-gray-400 inline-block ml-4")]),$([L("•")])),s(Mc,$([Tt("https://railseventstore.org/support/"),G("text-gray-800 ml-4")]),$([L("Support")]))]))]))))]))]))}),po=p("h1"),ho=s(po,v,$([L("Incorrect RES Browser config")])),go={aP:Bu(d(n(function(n,r,t,e){return{$:0,a:n,b:r,c:t,d:e}}),1,1,1,1)),aQ:1,aS:0,aY:!1,a3:28,G:13,a7:.25,a9:42,bf:0,bg:1,aJ:!0,bo:1,bu:60,bv:50,bw:50,az:14},xo=p("h2"),mo=o(function(n,r){return s(Lc,n,$(["events",ja(r)]))}),yo=o(function(n,r){return s(Mc,$([G("text-red-700 no-underline"),Tt(s(mo,n,r))]),$([L(r)]))}),wo=p("li"),ko=o(function(n,r){return r.$?w:y(n(r.a))}),Ao=o(function(r,n){return s(ko,function(n){return s(wo,v,$([L("Parent event: "),s(yo,r,n)]))},n.dE)}),Eo=s(Pe,o(function(n,r){return n.$?r:s(g,n.a,r)}),v),jo=o(function(n,r){return Eo($([s(Ao,n,r)]))}),To=p("ul"),_o=o(function(n,r){return i(s(jo,n,r),v)?L(""):s(C,$([G("px-8 mt-8")]),$([s(xo,$([G("font-bold text-xl")]),$([L("Related")])),s(To,$([G("list-disc pl-8")]),s(jo,n,r))]))}),No=p("p"),Ro=p("td"),Co=p("tr"),Go=o(function(n,r){var t=r.c6,r=r.c5;return s(Co,v,$([s(Ro,$([G("p-0 pt-2")]),$([s(Mc,$([G("text-red-700 no-underline"),Tt(s(mo,n,r))]),$([L(t)]))])),s(Ro,$([G("p-0 pt-2")]),$([L(r)]))]))}),Lo=p("table"),So=p("tbody"),Do=p("tfoot"),Fo=p("th"),Io=p("thead"),Oo=o(function(n,r){return r.b?s(Lo,$([G("my-10 w-full text-left table-fixed border-collapse")]),$([s(Io,$([G("align-bottom leading-tight")]),$([s(Co,v,$([s(Fo,$([G("border-gray-400 border-b text-gray-500 uppercase p-0 pb-4 text-xs")]),$([L("Event name")])),s(Fo,$([G("border-gray-400 border-b text-gray-500 uppercase p-0 pb-4 text-xs")]),$([L("Event id")]))]))])),s(So,$([G("align-top")]),s(A,Go(n),r)),s(Do,v,$([s(Co,v,$([s(Ro,$([G("text-gray-500 p-0 pb-4 text-xs"),s(br,"colspan",k(2))]),$([20===Ur(r)?L("The results may be truncated, check stream for full information."):L("")]))]))]))])):s(No,$([G("flex items-center justify-center py-24")]),$([L("No items")]))}),zo={W:"firebrick",ac:"gray",ad:"blue",ae:"#fafad2",ah:"green"},Bo=o(function(n,r){return r.$?x(r.a):m(n(r.a))}),Jo=o(function(n,r){return(r.$?x:n)(r.a)}),Uo=o(function(n,r){var t,e,u;return-2===r.$?du:(e=r.d,u=r.e,l(j,r.a,t=r.b,s(n,t,r.c),s(Uo,n,e),s(Uo,n,u)))}),Vo=o(function(t,n){var r=o(function(n,r){return s(Vo,t+("["+k(n))+"]",r)}),e=o(function(n,r){return s(Vo,t+"."+n,r)}),u=n.I;switch(u.$){case 0:case 1:case 2:case 5:return c(n,{s:t});case 3:return c(n,{s:t,I:{$:3,a:s(te,r,u.a)}});default:return c(n,{s:t,I:{$:4,a:s(Uo,e,u.a)}})}}),qo={$:5},Ho=hn,Wo=function(n){return b(Zt,o(function(n,r){return b($u,n.a,n.b,r)}),wu,n)},Po=function(n){return{$:8,b:n}},Mo=gn;function Qo(){function n(n){return{s:"",I:n}}var r;return ga($([s(e,s(jc,n,St),u),s(e,s(jc,n,Lt),Mo),s(e,s(jc,n,Gt),Ho),s(e,s(jc,n,Ct),ha(Dt(function(n){return Qo()}))),s(e,s(jc,n,Rt),(r=Dt(function(n){return Qo()}),s(e,Wo,Po(r)))),wa({s:"",I:qo})]))}function Xo(n){var r=s(e,Vo(""),bi);return s(ya,r,n)}function Yo(n){return p(function(n){return"script"==n?"p":n}(n))}function Zo(n){return s(A,function(n){return s(S,n.a,n.b)},n)}function Ko(n){return s(hi,"click",_e(n))}function ni(n){return n}function ri(n){var r=n.bO,t=n.b4,e=n.cc,n=n.ch;return s(To,$([G("flex")]),$([s(wo,v,$([(r=r,s(zi,s(g,G(Vi),Ui(r)),$([L("first")])))])),s(wo,v,$([function(n){return s(zi,s(g,G(Vi),Ui(n)),$([L("previous")]))}(n)])),s(wo,v,$([function(n){return s(zi,s(g,G(Vi),Ui(n)),$([L("next")]))}(e)])),s(wo,v,$([function(n){return s(zi,s(g,G(Vi),Ui(n)),$([L("last")]))}(t)]))]))}function ti(n){return 11<n?"pm":"am"}function ei(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"}}function ui(n){switch(s(_,100,n)){case 11:case 12:case 13:return"th";default:switch(s(_,10,n)){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}}}function ai(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"}}function ci(n){var r=((n=s(Mi,n,1440)+719468)<0?n-146096:n)/146097|0,t=((n=n-146097*r)-(n/1460|0)+(n/36524|0)-(n/146096|0))/365|0,e=(5*(n=n-(365*t+(t/4|0)-(t/100|0)))+2)/153|0,u=e+(e<10?3:-9);return{bI:n-((153*e+2)/5|0)+1,b7:u,cN:t+400*r+(2<u?0:1)}}function oi(n){return n.b?y(n.a):w}function ii(n){return n?12<n?n-12:n:12}function fi(n){return s(wo,v,$([L(n)]))}var bi=Qo(),si=(Qo=function(){return bi},p("pre")),di={W:function(n){return $([{a:"color",b:n.W}])},aO:$([{a:"position",b:"absolute"},{a:"cursor",b:"pointer"},{a:"top",b:"1px"},{a:"left",b:"-15px"}]),aU:$([{a:"font-weight",b:"bold"}]),aC:$([{a:"position",b:"relative"}]),ac:function(n){return $([{a:"color",b:n.ac}])},ad:function(n){return $([{a:"color",b:n.ad}])},bd:$([{a:"font-family",b:"monospace"},{a:"white-space",b:"pre"}]),ae:function(n){return $([{a:"background-color",b:n.ae},{a:"cursor",b:"pointer"}])},ah:function(n){return $([{a:"color",b:n.ah}])},aL:$([{a:"list-style-type",b:"none"},{a:"margin-left",b:"26px"},{a:"padding-left",b:"0px"}])},S=ir,D=pn,li=o(function(n,r){return!s(su,n,r).$}),vi=o(function(n,r){return s(li,n,r)}),$i=o(function(n,r){return s(vi,n,r)}),pi=o(function(n,r){return s(Oc,n,r)}),hi=o(function(n,r){return s(uo,n,{$:0,a:r})}),gi=o(function(n,r){return s(hi,"click",s(e,s(Ja,function(n){return n(0)},r),_e(n)))}),xi=n(function(n,r,t,e){return n?s(Zc,s(g,s(gi,t,r.dZ),Zo(di.aO)),$([L(e)])):L("")}),mi=n(function(n,r,t,e){return d(xi,n,t,function(n){return s(pi,r,e)},"-")}),yi=o(function(n,r){return s(xu,n,r)}),wi=o(function(n,r){return s(yi,n,r)}),ki=n(function(n,r,t,e){return d(xi,n,t,function(n){return s(wi,r,e)},"+")}),Ai=Xc("id"),Ei=n(function(n,r,t,e){return e=s(Zc,f($([Ai(t.s)]),f(Zo(n),(n=e.dz).$?v:$([Ko((0,n.a)(t.s)),G("selectableJsonTreeNode")]))),$([L(r)])),$([e])}),ji=O(function(r,n,t,e,u){function a(n){return s(wo,Zo(di.aC),s(Eu,d(_i,r+1,e,n,u),$([L(",")])))}t=n.b?$(s($i,t,u)?[d(ki,r,t,e,u),L("…")]:[d(mi,r,t,e,u),s(To,Zo(di.aL),s(A,a,n))]):v;return f($([L("[")]),f(t,$([L("]")])))}),Ti=O(function(t,n,r,e,u){function a(n){var r=n.a,n=n.b;return s(wo,Zo(di.aC),f($([s(Zc,Zo(di.aU),$([L(r)])),L(": ")]),f(d(_i,t+1,e,n,u),$([L(",")]))))}r=-2===n.$?v:$(s($i,r,u)?[d(ki,t,r,e,u),L("…")]:[d(mi,t,r,e,u),s(To,Zo(di.aL),s(A,a,zt(n)))]);return f($([L("{")]),f(r,$([L("}")])))}),_i=n(function(n,r,t,e){var u=r.cZ,a=t.I;switch(a.$){case 0:var c=a.a;return d(Ei,di.ah(u),'"'+c+'"',t,r);case 1:c=a.a;return d(Ei,di.ad(u),D(c),t,r);case 2:c=a.a;return d(Ei,di.W(u),c?"true":"false",t,r);case 5:return d(Ei,di.ac(u),"null",t,r);case 3:return l(ji,n,a.a,t.s,r,e);default:return l(Ti,n,a.a,t.s,r,e)}}),Ni=r(function(n,r,t){return s(C,Zo(di.bd),s(g,function(n){n=s(Xt,"\n",s(A,function(n){return n.a+": "+n.b+";"},di.ae(n.cZ)));return b(Yo,"style",v,$([L(".selectableJsonTreeNode:hover {\n"+n+"\n}\n")]))}(r),d(_i,0,r,n,t)))}),Ri=o(function(n,r){return r.$?n:r.a}),Ci=r(function(n,r,t){return s(Ri,s(si,v,$([L(n)])),s(Bo,function(n){return b(Ni,n,{cZ:zo,dz:w,dZ:t},r)},s(Jo,Xo,s(Ca,ka,n))))}),Gi=nn,Li=o(function(n,r){return s(Mc,$([G("text-red-700 no-underline"),Tt(s(Sc,n,r))]),$([L(r)]))}),Si=o(function(r,n){var n=n.dR;return n.$?L(""):(n=n.a,s(C,$([G("px-8 mt-8")]),$([s(xo,$([G("font-bold text-xl")]),$([L("Event streams")])),s(To,$([G("list-disc pl-8")]),s(A,function(n){return s(wo,v,$([s(Li,r,n)]))},s(Gi,Mr,n)))])))}),Di=r(function(r,n,t){return s(C,$([G("py-12")]),$([s(po,$([G("font-bold px-8 text-2xl")]),$([L(n.c6)])),s(C,$([G("px-8")]),$([s(Lo,$([G("my-10 w-full text-left table-fixed border-collapse")]),$([s(Io,$([G("align-bottom leading-tight")]),$([s(Co,v,$([s(Fo,$([G("border-gray-400 border-b text-gray-500 uppercase p-0 pb-4 text-xs")]),$([L("Event id")])),s(Fo,$([G("border-gray-400 border-b text-gray-500 uppercase p-0 pb-4 text-xs")]),$([L("Raw Data")])),s(Fo,$([G("border-gray-400 border-b text-gray-500 uppercase p-0 pb-4 text-xs")]),$([L("Raw Metadata")]))]))])),s(So,$([G("align-top")]),$([s(Co,v,$([s(Ro,$([G("p-0 pt-2")]),$([L(n.c5)])),s(Ro,$([G("p-0 pt-2")]),$([b(Ci,n.dF,n.aA,function(n){return{$:0,a:n}})])),s(Ro,$([G("p-0 pt-2")]),$([b(Ci,n.dG,n.aE,function(n){return{$:1,a:n}})]))]))]))]))])),s(Si,r,n),s(_o,r,n),function(){switch(t.$){case 0:return s(C,$([G("px-8 mt-8")]),$([s(xo,$([G("font-bold text-xl")]),$([L("Events caused by this event:")])),L("Loading...")]));case 1:var n=t.a;return s(C,$([G("px-8 mt-8")]),$(n.b?[s(xo,$([G("font-bold text-xl")]),$([L("Events caused by this event:")])),s(Oo,r,n)]:[s(xo,$([G("font-bold text-xl")]),$([L("Events caused by this event: none")]))]));default:return L("")}}()]))}),Fi=r(function(n,r,t){var e,u,a,c=se(n.G*n.bu/100),o=1e3/n.bo,r=s(_,0|o,1e3-((0|r)+(t/n.G*o|0)))/1e3,o=s(xe,0,n.G*r-(n.G-c))/c,r=D(360/n.G*(n.aS?t:n.G-t)+n.bf),c=n.aQ*n.az/2,o=D(s(xe,n.a7,o));return $([s(S,"background",(t=n.aP(t),e=t.b,u=t.c,a=t.d,ot($(["rgba(",D(i(t.a)),"%,",D(i(e)),"%,",D(i(u)),"%,",D(qu(1e3*a)/1e3),")"])))),s(S,"height",D(n.az)+"px"),s(S,"width",D(n.a3+n.az)+"px"),s(S,"position","absolute"),s(S,"transform-origin","left"),s(S,"transform","rotate("+r+("deg) translate("+D(n.a9))+"px, 0px)"),s(S,"border-radius",D(c)+"px"),s(S,"opacity",o),s(S,"box-shadow",n.aJ?"0 0 4px #000":"none"),s(S,"-webkit-box-shadow",n.aJ?"0 0 4px #000":"none")]);function i(n){return qu(1e4*n)/100}}),Ii=o(function(r,n){var t=s(A,Pr,s(re,0,he(r.G)-1)),e=ni(n);return s(C,v,s(A,function(n){return s(C,function(n){return $([s(S,"position","absolute"),s(S,"top","calc("+D(n.bw)+"%)"),s(S,"left",D(n.bv)+"%"),s(S,"transform","scale("+D(n.bg)+")"+(n.aY?" translate3d(0px, 0px, 0px)":""))])}(r),$([s(C,b(Fi,r,e,n),v)]))},t))}),Oi=function(n){return{a:"Event "+n.c5,b:function(n){var r=n.B;switch(r.$){case 2:return s(C,$([G("py-12")]),$([s(po,$([G("font-bold px-8 text-2xl")]),$([L("There's no event with given ID")]))]));case 0:return s(C,$([G("min-h-screen")]),$([s(Ii,go,n.au)]));case 1:return b(Di,n.aV.be,r.a,n.X);default:return s(C,$([G("py-12")]),$([s(po,$([G("font-bold px-8 text-2xl")]),$([L("Unexpected request failure happened when fetching the event")]))]))}}(n)}},zi=p("button"),Bi=Dn,Ji=o(function(n,r){return s(fr,n,Bi(r))})("disabled"),Ui=function(n){return $(n.$?[Ji(!0)]:[Tt(n=n.a),Ko({$:0,a:n})])},Vi="text-center text-sm border-red-700 text-red-700 border rounded px-2 py-1 mr-1 disabled:text-red-700/50 disabled:border-red-700/50 disabled:cursor-not-allowed",qi=L(""),Hi=o(function(n,r){return s(Mc,$([G("text-red-700 no-underline"),Tt(s(Sc,n,r))]),$([L(r)]))}),Wi=o(function(r,n){return n.$?qi:(n=n.a,s(C,$([G("px-8")]),$([s(xo,$([G("font-bold text-xl")]),$([L("Related streams:")])),s(To,$([G("list-disc pl-8")]),s(A,function(n){return s(wo,v,$([s(Hi,r,n)]))},n))])))}),Pi={$:7},yn=J(z(function(n,r,t,e,u,a){return{dW:u,dX:r,dY:n,ai:a,d_:e,d$:t}}),ei,s(Ja,ei,Fe(3)),ai,s(Ja,ai,Fe(3)),ti,ui),Mi=o(function(n,r){return he(n/r)}),Qi=r(function(n,r,t){for(;;){if(!t.b)return r+n;var e=t.a,u=t.b;if(P(e.bp,r)<0)return r+e.c;n=n,r=r,t=u}}),Xi=o(function(n,r){var t=n.b;return b(Qi,n.a,s(Mi,ni(r),6e4),t)}),Yi=o(function(n,r){return s(_,24,s(Mi,s(Xi,n,r),60))}),Zi=r(function(n,r,t){return n.dW(s(Yi,r,t))}),Ki=o(function(n,r){return ci(s(Xi,n,r)).bI}),nf=$([6,0,1,2,3,4,5]),rf=o(function(n,r){switch(s(_,7,s(Mi,s(Xi,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}}),tf=o(function(n,r){return r.$?n:r.a}),ef=o(function(r,t){return s(tf,{a:0,b:6},oi(s(Gc,function(n){return i(n.b,s(rf,r,t))},s(te,o(function(n,r){return{a:n,b:r}}),nf)))).a}),uf=o(function(n,r){switch(r){case 0:return 31;case 1:return function(n){return!(s(_,4,n)||!s(_,100,n)&&s(_,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}}),af=$([0,1,2,3,4,5,6,7,8,9,10,11]),cf=o(function(n,r){switch(ci(s(Xi,n,r)).b7){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}}),of=o(function(r,t){return s(tf,{a:0,b:0},oi(s(Gc,function(n){return i(n.b,s(cf,r,t))},s(te,o(function(n,r){return{a:n,b:r}}),af))))}),ff=o(function(n,r){return 1+s(of,n,r).a}),bf=r(function(n,r,t){for(;;){if(n<=0)return t;if(!r.b)return t;var e=r.a;n=n-1,r=r.b,t=s(g,e,t)}}),sf=o(function(n,r){return ue(b(bf,n,r,v))}),df=r(function(n,r,t){if(0<r){var e,u,a,c,o,i={a:r,b:t};n:for(;;){r:for(;;){if(!i.b.b)return t;if(!i.b.b.b){if(1===i.a)break n;break}switch(i.a){case 1:break n;case 2:var f=i.b;return $([f.a,f.b.a]);case 3:if(i.b.b.b.b)return $([(f=i.b).a,(e=f.b).a,e.b.a]);break r;default:if(i.b.b.b.b&&i.b.b.b.b.b)return o=(c=(a=(u=(e=i.b).b).b).b).b,s(g,e.a,s(g,u.a,s(g,a.a,s(g,c.a,1e3<n?s(sf,r-4,o):b(df,n+1,r-4,o)))));break r}}return t}return $([i.b.a])}return v}),lf=o(function(n,r){return b(df,0,n,r)}),vf=o(function(n,r){return ci(s(Xi,n,r)).cN}),$f=o(function(n,r){var t=s(lf,s(ff,n,r)-1,af);return t=s(A,uf(s(vf,n,r)),t),b(Zt,Pt,0,t)+s(Ki,n,r)}),pf=o(function(n,r){return s(ff,n,r)/4|0}),hf=o(function(n,r){return n<1?"":b(Le,-n,Ge(r),r)}),gf=o(function(n,r){r=k(r),n-=Ge(r);return f(s(Xt,"",s(A,function(n){return"0"},s(re,1,n))),r)}),xf=function(n){return n.toLowerCase()},mf=o(function(n,r){return s(_,1e3,ni(r))}),yf=o(function(n,r){return s(_,60,s(Xi,n,r))}),wf=o(function(n,r){return s(_,60,s(Mi,ni(r),1e3))}),kf=function(n){return n.toUpperCase()},Af=qu(315576e5),Ef=o(function(n,r){return Pu(Af*s(vf,n,r))}),jf=o(function(n,r){var t=s(ef,n,s(Ef,n,r));return 1+((s($f,n,r)+t)/7|0)}),Tf=o(function(n,r){return k(s(vf,n,r))}),_f=n(function(r,n,t,e){switch(e.$){case 0:return k(s(ff,n,t));case 1:return f(k(u=s(ff,n,t)),r.ai(u));case 2:return s(gf,2,s(ff,n,t));case 3:return r.dX(s(cf,n,t));case 4:return r.dY(s(cf,n,t));case 17:return k(1+s(pf,n,t));case 18:return function(n){return f(k(n),r.ai(n))}(1+s(pf,n,t));case 5:return k(s(Ki,n,t));case 6:return function(n){return f(k(n),r.ai(n))}(s(Ki,n,t));case 7:return s(gf,2,s(Ki,n,t));case 8:return k(s($f,n,t));case 9:return function(n){return f(k(n),r.ai(n))}(s($f,n,t));case 10:return s(gf,3,s($f,n,t));case 11:return k(s(ef,n,t));case 12:return function(n){return f(k(n),r.ai(n))}(s(ef,n,t));case 13:return r.d_(s(rf,n,t));case 14:return r.d$(s(rf,n,t));case 19:return k(s(jf,n,t));case 20:return function(n){return f(k(n),r.ai(n))}(s(jf,n,t));case 21:return s(gf,2,s(jf,n,t));case 15:return s(hf,2,s(Tf,n,t));case 16:return s(Tf,n,t);case 22:return kf(b(Zi,r,n,t));case 23:return xf(b(Zi,r,n,t));case 24:return k(s(Yi,n,t));case 25:return s(gf,2,s(Yi,n,t));case 26:return k(ii(s(Yi,n,t)));case 27:return s(gf,2,ii(s(Yi,n,t)));case 28:return k(1+s(Yi,n,t));case 29:return s(gf,2,1+s(Yi,n,t));case 30:return k(s(yf,n,t));case 31:return s(gf,2,s(yf,n,t));case 32:return k(s(wf,n,t));case 33:return s(gf,2,s(wf,n,t));case 34:return k(s(mf,n,t));case 35:return s(gf,3,s(mf,n,t));default:return e.a}var u}),Nf=n(function(n,r,t,e){return s(Xt,"",s(A,b(_f,n,t,e),r))})(yn),Rf={$:25},Cf={$:35},Gf={$:31},Lf={$:2},Sf={$:33},Df=function(n){return{$:36,a:n}},Ff=s(o(function(n,r){return{$:0,a:n,b:r}}),0,v),If={$:16},Of=o(function(n,r){var t=r.c6,e=r.c0,r=r.c5;return s(Co,v,$([s(Ro,$([G("p-0 pt-2")]),$([s(Mc,$([G("text-red-700 no-underline"),Tt(s(mo,n,r))]),$([L(t)]))])),s(Ro,$([G("p-0 pt-2")]),$([L(r)])),s(Ro,$([G("p-0 pt-2 text-right")]),$([L((n=e,b(Nf,$([Pi,Df("."),Lf,Df("."),If,Df(", "),Rf,Df(":"),Gf,Df(":"),Sf,Df("."),Cf]),Ff,n)))]))]))}),zf=o(function(n,r){return r.b?s(Lo,$([G("my-10 w-full text-left table-fixed border-collapse")]),$([s(Io,$([G("align-bottom leading-tight")]),$([s(Co,v,$([s(Fo,$([G("border-gray-400 border-b text-gray-500 uppercase pb-4 p-0 text-xs")]),$([L("Event name")])),s(Fo,$([G("border-gray-400 border-b text-gray-500 uppercase p-0 pb-4 text-xs")]),$([L("Event id")])),s(Fo,$([G("border-gray-400 border-b text-gray-500 uppercase p-0 pb-4 text-xs text-right")]),$([L("Created at")]))]))])),s(So,$([G("align-top")]),s(A,Of(n),r))])):s(No,$([G("flex items-center justify-center py-24")]),$([L("No items")]))}),Bf=n(function(n,r,t,e){var u=t.dm,t=t.c7;return s(C,$([G("py-8")]),$([s(C,$([G("flex px-8 justify-between")]),$([s(po,$([G("font-bold text-2xl")]),$([L(r)])),s(C,v,$([ri(u)]))])),s(C,$([G("px-8")]),$([s(zf,n,t)])),s(C,v,$([s(Wi,n,e)]))]))}),Jf=function(n){var r=n.br,t=n.c7,e=n.dJ,u=n.at,n=n.aV,a="Stream "+r,r="Events in "+r;return u.b?{a:a,b:s(C,$([G("py-8")]),$([s(C,$([G("px-8")]),$([s(To,$([G("flex items-center justify-center py-24")]),s(A,fi,u))]))]))}:{a:a,b:d(Bf,n.be,r,t,e)}},Uf=s(po,v,$([L("404")])),Vf=r(function(n,r,t){r=r(t),t=r.b;return{a:y(r.a),b:s(vo,n,t)}}),rn=Sn({dh:Ir,dA:function(n){return{$:0,a:n}},dB:function(n){return{$:1,a:n}},dS:function(n){n=n.z;return 1===n.$?s(xc,uu,s(xc,yc,_c)):mc},d2:wn,d3:function(n){var r,t,e=n.aV;return 1===e.$?{bD:$([s(C,v,$([ho]))]),cF:jt(w)}:(e=e.a,r=(t=function(n){switch(n.$){case 2:return b(Vf,au,Jf,n.a);case 1:return b(Vf,uu,Oi,n.a);default:return{a:w,b:Uf}}}(n.z)).a,t=t.b,{bD:$([s(C,v,$([b($o,yt,b(Pc,n,n.aq,e),t)]))]),cF:jt(r)})}});Y={Main:{init:rn(s(Te,function(t){return s(Te,function(r){return s(Te,function(n){return _e({bA:n,bb:r,be:t})},s(pa,"apiUrl",u))},s(pa,"resVersion",u))},s(pa,"rootUrl",u)))(0)}},F.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]}(F.Elm,Y):F.Elm=Y}(this);
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.5.1
4
+ version: 2.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arkency
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-24 00:00:00.000000000 Z
11
+ date: 2022-11-29 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.5.1
19
+ version: 2.6.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.5.1
26
+ version: 2.6.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rack
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -49,10 +49,12 @@ files:
49
49
  - README.md
50
50
  - lib/ruby_event_store/browser.rb
51
51
  - lib/ruby_event_store/browser/app.rb
52
+ - lib/ruby_event_store/browser/gem_source.rb
52
53
  - lib/ruby_event_store/browser/get_event.rb
53
54
  - lib/ruby_event_store/browser/get_events_from_stream.rb
54
55
  - lib/ruby_event_store/browser/get_stream.rb
55
56
  - lib/ruby_event_store/browser/json_api_event.rb
57
+ - lib/ruby_event_store/browser/json_api_stream.rb
56
58
  - lib/ruby_event_store/browser/router.rb
57
59
  - lib/ruby_event_store/browser/urls.rb
58
60
  - lib/ruby_event_store/browser/version.rb
@@ -83,7 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
83
85
  - !ruby/object:Gem::Version
84
86
  version: '0'
85
87
  requirements: []
86
- rubygems_version: 3.3.7
88
+ rubygems_version: 3.3.26
87
89
  signing_key:
88
90
  specification_version: 4
89
91
  summary: Event browser companion application for RubyEventStore