ruby_event_store-browser 2.0.2 → 2.0.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac834b51f2a1db905bc33702f3f620c2f82b0a57e18ef8453550a7320a65d7d7
|
4
|
+
data.tar.gz: c46da5e8792b7ac80eba0b479df76486d9659088e01d6f7d728881e6d9fac065
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3230cc669a3e1af3b5b39495099ac37ba76dbad20dd6275d658452c61b5a4a5e56783e7a876794ff073d6829c46265a9f19ff01b4a2de474868e8a91c58e75a
|
7
|
+
data.tar.gz: 8a994a9ff3f436cd57128e8310ade0700644f9304a63bf1c44d70936fd642e97e369a83ccd718390a9999c1596a541669f795e073c85cbdf1c8b1ebdba85b591
|
@@ -1,6 +1,8 @@
|
|
1
1
|
parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;c<t.length;c++)try{f(t[c])}catch(e){i||(i=e)}if(t.length){var l=f(t[t.length-1]);"object"==typeof exports&&"undefined"!=typeof module?module.exports=l:"function"==typeof define&&define.amd?define(function(){return l}):n&&(this[n]=l)}if(parcelRequire=f,i)throw i;return f}({"Rfvt":[function(require,module,exports) {
|
2
2
|
|
3
|
+
},{}],"asWa":[function(require,module,exports) {
|
4
|
+
!function(n){"use strict";function r(n,r,t){return t.a=n,t.f=r,t}function t(n){return r(2,n,function(r){return function(t){return n(r,t)}})}function e(n){return r(3,n,function(r){return function(t){return function(e){return n(r,t,e)}}})}function u(n){return r(4,n,function(r){return function(t){return function(e){return function(u){return n(r,t,e,u)}}}})}function a(n){return r(5,n,function(r){return function(t){return function(e){return function(u){return function(a){return n(r,t,e,u,a)}}}}})}function i(n){return r(6,n,function(r){return function(t){return function(e){return function(u){return function(a){return function(i){return n(r,t,e,u,a,i)}}}}}})}function c(n){return r(7,n,function(r){return function(t){return function(e){return function(u){return function(a){return function(i){return function(c){return n(r,t,e,u,a,i,c)}}}}}}})}function o(n){return r(9,n,function(r){return function(t){return function(e){return function(u){return function(a){return function(i){return function(c){return function(o){return function(f){return n(r,t,e,u,a,i,c,o,f)}}}}}}}}})}function f(n,r,t){return 2===n.a?n.f(r,t):n(r)(t)}function s(n,r,t,e){return 3===n.a?n.f(r,t,e):n(r)(t)(e)}function b(n,r,t,e,u){return 4===n.a?n.f(r,t,e,u):n(r)(t)(e)(u)}function v(n,r,t,e,u,a){return 5===n.a?n.f(r,t,e,u,a):n(r)(t)(e)(u)(a)}function d(n,r,t,e,u,a,i){return 6===n.a?n.f(r,t,e,u,a,i):n(r)(t)(e)(u)(a)(i)}function l(n,r,t,e,u,a,i,c){return 7===n.a?n.f(r,t,e,u,a,i,c):n(r)(t)(e)(u)(a)(i)(c)}var $=e(function(n,r,t){for(var e=[],u=0;n>u;u++)e[u]=t(r+u);return e}),h=t(function(n,r){for(var t=[],e=0;n>e&&r.b;e++)t[e]=r.a,r=r.b;return t.length=e,w(t,r)});function p(n){throw Error("https://github.com/elm/core/blob/1.0.0/hints/"+n+".md")}function g(n,r){for(var t,e=[],u=m(n,r,0,e);u&&(t=e.pop());u=m(t.a,t.b,0,e));return u}function m(n,r,t,e){if(n===r)return!0;if("object"!=typeof n||null===n||null===r)return"function"==typeof n&&p(5),!1;if(t>100)return e.push(w(n,r)),!0;for(var u in 0>n.$&&(n=Rr(n),r=Rr(r)),n)if(!m(n[u],r[u],t+1,e))return!1;return!0}function _(n,r,t){if("object"!=typeof n)return n===r?0:r>n?-1:1;if(void 0===n.$)return(t=_(n.a,r.a))?t:(t=_(n.b,r.b))?t:_(n.c,r.c);for(;n.b&&r.b&&!(t=_(n.a,r.a));n=n.b,r=r.b);return t||(n.b?1:r.b?-1:0)}var y=t(function(n,r){var t=_(n,r);return 0>t?Sr:t?zr:Dr});function w(n,r){return{a:n,b:r}}function k(n,r,t){return{a:n,b:r,c:t}}function E(n){return n}function A(n,r){var t={};for(var e in n)t[e]=n[e];for(var e in r)t[e]=r[e];return t}function O(n,r){if("string"==typeof n)return n+r;if(!n.b)return r;var t=C(n.a,r);n=n.b;for(var e=t;n.b;n=n.b)e=e.b=C(n.a,r);return t}var T={$:0};function C(n,r){return{$:1,a:n,b:r}}var N=t(C);function j(n){for(var r=T,t=n.length;t--;)r=C(n[t],r);return r}var x=e(function(n,r,t){for(var e=[];r.b&&t.b;r=r.b,t=t.b)e.push(f(n,r.a,t.a));return j(e)}),L=t(function(n,r){return n+r}),R=t(function(n,r){var t=r%n;return 0===n?p(11):t>0&&0>n||0>t&&n>0?t+n:t}),D=Math.ceil,z=Math.floor,S=Math.round,F=Math.log,J=t(function(n,r){return n+r}),M=t(function(n,r){return r.split(n)}),W=t(function(n,r){return r.join(n)}),H=e(function(n,r,t){return t.slice(n,r)}),I=t(function(n,r){for(var t=r.length;t--;){var e=r[t],u=r.charCodeAt(t);if(56320>u||u>57343||(e=r[--t]+e),!n(E(e)))return!1}return!0}),q=t(function(n,r){return r.indexOf(n)>-1}),U=t(function(n,r){return 0===r.indexOf(n)}),B=t(function(n,r){var t=n.length;if(1>t)return T;for(var e=0,u=[];(e=r.indexOf(n,e))>-1;)u.push(e),e+=t;return j(u)});function P(n){return n+""}function Q(n){return{$:2,b:n}}Q(function(n){return"number"!=typeof n?sn("an INT",n):n>-2147483647&&2147483647>n&&(0|n)===n?Hr(n):!isFinite(n)||n%1?sn("an INT",n):Hr(n)});var X=Q(function(n){return"boolean"==typeof n?Hr(n):sn("a BOOL",n)}),G=Q(function(n){return"number"==typeof n?Hr(n):sn("a FLOAT",n)}),K=Q(function(n){return Hr(ln(n))}),Y=Q(function(n){return"string"==typeof n?Hr(n):n instanceof String?Hr(n+""):sn("a STRING",n)}),V=t(function(n,r){return{$:6,d:n,b:r}});function Z(n,r){return{$:9,f:n,g:r}}var nn=t(function(n,r){return{$:10,b:r,h:n}}),rn=t(function(n,r){return Z(n,[r])}),tn=e(function(n,r,t){return Z(n,[r,t])}),en=t(function(n,r){try{return an(n,JSON.parse(r))}catch(n){return Fr(f(Jr,"This is not valid JSON! "+n.message,ln(r)))}}),un=t(function(n,r){return an(n,$n(r))});function an(n,r){switch(n.$){case 2:return n.b(r);case 5:return null===r?Hr(n.c):sn("null",r);case 3:return on(r)?cn(n.b,r,j):sn("a LIST",r);case 4:return on(r)?cn(n.b,r,fn):sn("an ARRAY",r);case 6:var t=n.d;if("object"!=typeof r||null===r||!(t in r))return sn("an OBJECT with a field named `"+t+"`",r);var e=an(n.b,r[t]);return Lt(e)?e:Fr(f(Mr,t,e.a));case 7:var u=n.e;return on(r)?r.length>u?(e=an(n.b,r[u]),Lt(e)?e:Fr(f(Wr,u,e.a))):sn("a LONGER array. Need index "+u+" but only see "+r.length+" entries",r):sn("an ARRAY",r);case 8:if("object"!=typeof r||null===r||on(r))return sn("an OBJECT",r);var a=T;for(var i in r)if(r.hasOwnProperty(i)){if(e=an(n.b,r[i]),!Lt(e))return Fr(f(Mr,i,e.a));a=C(w(i,e.a),a)}return Hr(st(a));case 9:for(var c=n.f,o=n.g,s=0;o.length>s;s++){if(e=an(o[s],r),!Lt(e))return e;c=c(e.a)}return Hr(c);case 10:return e=an(n.b,r),Lt(e)?an(n.h(e.a),r):e;case 11:for(var b=T,v=n.g;v.b;v=v.b){if(e=an(v.a,r),Lt(e))return e;b=C(e.a,b)}return Fr(Ir(st(b)));case 1:return Fr(f(Jr,n.a,ln(r)));case 0:return Hr(n.a)}}function cn(n,r,t){for(var e=r.length,u=[],a=0;e>a;a++){var i=an(n,r[a]);if(!Lt(i))return Fr(f(Wr,a,i.a));u[a]=i.a}return Hr(t(u))}function on(n){return Array.isArray(n)||"undefined"!=typeof FileList&&n instanceof FileList}function fn(n){return f(xt,n.length,function(r){return n[r]})}function sn(n,r){return Fr(f(Jr,"Expecting "+n,ln(r)))}function bn(n,r){if(n===r)return!0;if(n.$!==r.$)return!1;switch(n.$){case 0:case 1:return n.a===r.a;case 2:return n.b===r.b;case 5:return n.c===r.c;case 3:case 4:case 8:return bn(n.b,r.b);case 6:return n.d===r.d&&bn(n.b,r.b);case 7:return n.e===r.e&&bn(n.b,r.b);case 9:return n.f===r.f&&vn(n.g,r.g);case 10:return n.h===r.h&&bn(n.b,r.b);case 11:return vn(n.g,r.g)}}function vn(n,r){var t=n.length;if(t!==r.length)return!1;for(var e=0;t>e;e++)if(!bn(n[e],r[e]))return!1;return!0}var dn=t(function(n,r){return JSON.stringify($n(r),null,n)+""});function ln(n){return n}function $n(n){return n}function hn(n){return{$:0,a:n}}function pn(n){return{$:2,b:n,c:null}}ln(null);var gn=t(function(n,r){return{$:3,b:n,d:r}}),mn=0;function _n(n){var r={$:0,e:mn++,f:n,g:null,h:[]};return On(r),r}function yn(n){return pn(function(r){r(hn(_n(n)))})}function wn(n,r){n.h.push(r),On(n)}var kn=t(function(n,r){return pn(function(t){wn(n,r),t(hn(0))})}),En=!1,An=[];function On(n){if(An.push(n),!En){for(En=!0;n=An.shift();)Tn(n);En=!1}}function Tn(n){for(;n.f;){var r=n.f.$;if(0===r||1===r){for(;n.g&&n.g.$!==r;)n.g=n.g.i;if(!n.g)return;n.f=n.g.b(n.f.a),n.g=n.g.i}else{if(2===r)return void(n.f.c=n.f.b(function(r){n.f=r,On(n)}));if(5===r){if(0===n.h.length)return;n.f=n.f.b(n.h.shift())}else n.g={$:3===r?0:1,b:n.f.b,i:n.g},n.f=n.f.d}}}var Cn={};function Nn(n,r,t,e,u){return{b:n,c:r,d:t,e:e,f:u}}function jn(n,r){var t={g:r,h:void 0},e=n.c,u=n.d,a=n.e,i=n.f;function c(n){return f(gn,c,{$:5,b:function(r){var c=r.a;return 0===r.$?s(u,t,c,n):a&&i?b(e,t,c.i,c.j,n):s(e,t,a?c.i:c.j,n)}})}return t.h=_n(f(gn,c,n.b))}var xn=t(function(n,r){return pn(function(t){n.g(r),t(hn(0))})}),Ln=t(function(n,r){return f(kn,n.h,{$:0,a:r})});function Rn(n){return function(r){return{$:1,k:n,l:r}}}function Dn(n){return{$:2,m:n}}var zn,Sn=t(function(n,r){return{$:3,n:n,o:r}}),Fn=[],Jn=!1;function Mn(n,r,t){if(Fn.push({p:n,q:r,r:t}),!Jn){Jn=!0;for(var e;e=Fn.shift();)Wn(e.p,e.q,e.r);Jn=!1}}function Wn(n,r,t){var e={};for(var u in Hn(!0,r,e,null),Hn(!1,t,e,null),n)wn(n[u],{$:"fx",a:e[u]||{i:T,j:T}})}function Hn(n,r,t,e){switch(r.$){case 1:var u=r.k,a=function(n,t,e){function u(n){for(var r=e;r;r=r.t)n=r.s(n);return n}return f(n?Cn[t].e:Cn[t].f,u,r.l)}(n,u,e);return void(t[u]=function(n,r,t){return t=t||{i:T,j:T},n?t.i=C(r,t.i):t.j=C(r,t.j),t}(n,a,t[u]));case 2:for(var i=r.m;i.b;i=i.b)Hn(n,i.a,t,e);return;case 3:return void Hn(n,r.o,t,{s:r.n,t:e})}}var In="undefined"!=typeof document?document:{};function qn(n,r){n.appendChild(r)}function Un(n){return{$:0,a:n}}var Bn=t(function(n,r){return t(function(t,e){for(var u=[],a=0;e.b;e=e.b){var i=e.a;a+=i.b||0,u.push(i)}return a+=u.length,{$:1,c:r,d:Vn(t),e:u,f:n,b:a}})})(void 0);t(function(n,r){return t(function(t,e){for(var u=[],a=0;e.b;e=e.b){var i=e.a;a+=i.b.b||0,u.push(i)}return a+=u.length,{$:2,c:r,d:Vn(t),e:u,f:n,b:a}})})(void 0);var Pn,Qn=t(function(n,r){return{$:4,j:n,k:r,b:1+(r.b||0)}}),Xn=t(function(n,r){return{$:"a0",n:n,o:r}}),Gn=t(function(n,r){return{$:"a1",n:n,o:r}}),Kn=t(function(n,r){return{$:"a2",n:n,o:r}}),Yn=t(function(n,r){return{$:"a3",n:n,o:r}});function Vn(n){for(var r={};n.b;n=n.b){var t=n.a,e=t.$,u=t.n,a=t.o;if("a2"!==e){var i=r[e]||(r[e]={});"a3"===e&&"class"===u?Zn(i,u,a):i[u]=a}else"className"===u?Zn(r,u,$n(a)):r[u]=$n(a)}return r}function Zn(n,r,t){var e=n[r];n[r]=e?e+" "+t:t}function nr(n,r){var t=n.$;if(5===t)return nr(n.k||(n.k=n.m()),r);if(0===t)return In.createTextNode(n.a);if(4===t){for(var e=n.k,u=n.j;4===e.$;)"object"!=typeof u?u=[u,e.j]:u.push(e.j),e=e.k;var a={j:u,p:r};return(i=nr(e,a)).elm_event_node_ref=a,i}if(3===t)return rr(i=n.h(n.g),r,n.d),i;var i=n.f?In.createElementNS(n.f,n.c):In.createElement(n.c);zn&&"a"==n.c&&i.addEventListener("click",zn(i)),rr(i,r,n.d);for(var c=n.e,o=0;c.length>o;o++)qn(i,nr(1===t?c[o]:c[o].b,r));return i}function rr(n,r,t){for(var e in t){var u=t[e];"a1"===e?tr(n,u):"a0"===e?ar(n,r,u):"a3"===e?er(n,u):"a4"===e?ur(n,u):("value"!==e&&"checked"!==e||n[e]!==u)&&(n[e]=u)}}function tr(n,r){var t=n.style;for(var e in r)t[e]=r[e]}function er(n,r){for(var t in r){var e=r[t];void 0!==e?n.setAttribute(t,e):n.removeAttribute(t)}}function ur(n,r){for(var t in r){var e=r[t],u=e.f,a=e.o;void 0!==a?n.setAttributeNS(u,t,a):n.removeAttributeNS(u,t)}}function ar(n,r,t){var e=n.elmFs||(n.elmFs={});for(var u in t){var a=t[u],i=e[u];if(a){if(i){if(i.q.$===a.$){i.q=a;continue}n.removeEventListener(u,i)}i=ir(r,a),n.addEventListener(u,i,Pn&&{passive:2>Ft(a)}),e[u]=i}else n.removeEventListener(u,i),e[u]=void 0}}try{window.addEventListener("t",null,Object.defineProperty({},"passive",{get:function(){Pn=!0}}))}catch(n){}function ir(n,r){function t(r){var e=t.q,u=an(e.a,r);if(Lt(u)){for(var a,i=Ft(e),c=u.a,o=i?3>i?c.a:c.B:c,f=1==i?c.b:3==i&&c.aL,s=(f&&r.stopPropagation(),(2==i?c.b:3==i&&c.ay)&&r.preventDefault(),n);a=s.j;){if("function"==typeof a)o=a(o);else for(var b=a.length;b--;)o=a[b](o);s=s.p}s(o,f)}}return t.q=r,t}function cr(n,r){return n.$==r.$&&bn(n.a,r.a)}function or(n,r,t,e){var u={$:r,r:t,s:e,t:void 0,u:void 0};return n.push(u),u}function fr(n,r,t,e){if(n!==r){var u=n.$,a=r.$;if(u!==a){if(1!==u||2!==a)return void or(t,0,e,r);r=function(n){for(var r=n.e,t=r.length,e=[],u=0;t>u;u++)e[u]=r[u].b;return{$:1,c:n.c,d:n.d,e:e,f:n.f,b:n.b}}(r),a=1}switch(a){case 5:for(var i=n.l,c=r.l,o=i.length,f=o===c.length;f&&o--;)f=i[o]===c[o];if(f)return void(r.k=n.k);r.k=r.m();var s=[];return fr(n.k,r.k,s,0),void(s.length>0&&or(t,1,e,s));case 4:for(var b=n.j,v=r.j,d=!1,l=n.k;4===l.$;)d=!0,"object"!=typeof b?b=[b,l.j]:b.push(l.j),l=l.k;for(var $=r.k;4===$.$;)d=!0,"object"!=typeof v?v=[v,$.j]:v.push($.j),$=$.k;return d&&b.length!==v.length?void or(t,0,e,r):((d?function(n,r){for(var t=0;n.length>t;t++)if(n[t]!==r[t])return!1;return!0}(b,v):b===v)||or(t,2,e,v),void fr(l,$,t,e+1));case 0:return void(n.a!==r.a&&or(t,3,e,r.a));case 1:return void sr(n,r,t,e,vr);case 2:return void sr(n,r,t,e,dr);case 3:if(n.h!==r.h)return void or(t,0,e,r);var h=br(n.d,r.d);h&&or(t,4,e,h);var p=r.i(n.g,r.g);return void(p&&or(t,5,e,p))}}}function sr(n,r,t,e,u){if(n.c===r.c&&n.f===r.f){var a=br(n.d,r.d);a&&or(t,4,e,a),u(n,r,t,e)}else or(t,0,e,r)}function br(n,r,t){var e;for(var u in n)if("a1"!==u&&"a0"!==u&&"a3"!==u&&"a4"!==u)if(u in r){var a=n[u],i=r[u];a===i&&"value"!==u&&"checked"!==u||"a0"===t&&cr(a,i)||((e=e||{})[u]=i)}else(e=e||{})[u]=t?"a1"===t?"":"a0"===t||"a3"===t?void 0:{f:n[u].f,o:void 0}:"string"==typeof n[u]?"":null;else{var c=br(n[u],r[u]||{},u);c&&((e=e||{})[u]=c)}for(var o in r)o in n||((e=e||{})[o]=r[o]);return e}function vr(n,r,t,e){var u=n.e,a=r.e,i=u.length,c=a.length;i>c?or(t,6,e,{v:c,i:i-c}):c>i&&or(t,7,e,{v:i,e:a});for(var o=c>i?i:c,f=0;o>f;f++){var s=u[f];fr(s,a[f],t,++e),e+=s.b||0}}function dr(n,r,t,e){for(var u=[],a={},i=[],c=n.e,o=r.e,f=c.length,s=o.length,b=0,v=0,d=e;f>b&&s>v;){var l=(O=c[b]).a,$=(T=o[v]).a,h=O.b,p=T.b,g=void 0,m=void 0;if(l!==$){var _=c[b+1],y=o[v+1];if(_){var w=_.a,k=_.b;m=$===w}if(y){var E=y.a,A=y.b;g=l===E}if(g&&m)fr(h,A,u,++d),$r(a,u,l,p,v,i),d+=h.b||0,hr(a,u,l,k,++d),d+=k.b||0,b+=2,v+=2;else if(g)d++,$r(a,u,$,p,v,i),fr(h,A,u,d),d+=h.b||0,b+=1,v+=2;else if(m)hr(a,u,l,h,++d),d+=h.b||0,fr(k,p,u,++d),d+=k.b||0,b+=2,v+=1;else{if(!_||w!==E)break;hr(a,u,l,h,++d),$r(a,u,$,p,v,i),d+=h.b||0,fr(k,A,u,++d),d+=k.b||0,b+=2,v+=2}}else fr(h,p,u,++d),d+=h.b||0,b++,v++}for(;f>b;){var O;hr(a,u,(O=c[b]).a,h=O.b,++d),d+=h.b||0,b++}for(;s>v;){var T,C=C||[];$r(a,u,(T=o[v]).a,T.b,void 0,C),v++}(u.length>0||i.length>0||C)&&or(t,8,e,{w:u,x:i,y:C})}var lr="_elmW6BL";function $r(n,r,t,e,u,a){var i=n[t];if(!i)return a.push({r:u,A:i={c:0,z:e,r:u,s:void 0}}),void(n[t]=i);if(1===i.c){a.push({r:u,A:i}),i.c=2;var c=[];return fr(i.z,e,c,i.r),i.r=u,void(i.s.s={w:c,A:i})}$r(n,r,t+lr,e,u,a)}function hr(n,r,t,e,u){var a=n[t];if(a){if(0===a.c){a.c=2;var i=[];return fr(e,a.z,i,u),void or(r,9,u,{w:i,A:a})}hr(n,r,t+lr,e,u)}else{var c=or(r,9,u,void 0);n[t]={c:1,z:e,r:u,s:c}}}function pr(n,r,t,e){return 0===t.length?n:(function n(r,t,e,u){!function r(t,e,u,a,i,c,o){for(var f=u[a],s=f.r;s===i;){var b=f.$;if(1===b)n(t,e.k,f.s,o);else if(8===b)f.t=t,f.u=o,(v=f.s.w).length>0&&r(t,e,v,0,i,c,o);else if(9===b){f.t=t,f.u=o;var v,d=f.s;d&&(d.A.s=t,(v=d.w).length>0&&r(t,e,v,0,i,c,o))}else f.t=t,f.u=o;if(!(f=u[++a])||(s=f.r)>c)return a}var l=e.$;if(4===l){for(var $=e.k;4===$.$;)$=$.k;return r(t,$,u,a,i+1,c,t.elm_event_node_ref)}for(var h=e.e,p=t.childNodes,g=0;h.length>g;g++){var m=1===l?h[g]:h[g].b,_=++i+(m.b||0);if(!(i>s||s>_||(f=u[a=r(p[g],m,u,a,i,_,o)])&&(s=f.r)<=c))return a;i=_}return a}(r,t,e,0,0,t.b,u)}(n,r,t,e),gr(n,t))}function gr(n,r){for(var t=0;r.length>t;t++){var e=r[t],u=e.t,a=mr(u,e);u===n&&(n=a)}return n}function mr(n,r){switch(r.$){case 0:return function(n){var t=n.parentNode,e=nr(r.s,r.u);return e.elm_event_node_ref||(e.elm_event_node_ref=n.elm_event_node_ref),t&&e!==n&&t.replaceChild(e,n),e}(n);case 4:return rr(n,r.u,r.s),n;case 3:return n.replaceData(0,n.length,r.s),n;case 1:return gr(n,r.s);case 2:return n.elm_event_node_ref?n.elm_event_node_ref.j=r.s:n.elm_event_node_ref={j:r.s,p:r.u},n;case 6:for(var t=r.s,e=0;t.i>e;e++)n.removeChild(n.childNodes[t.v]);return n;case 7:for(var u=(t=r.s).e,a=n.childNodes[e=t.v];u.length>e;e++)n.insertBefore(nr(u[e],r.u),a);return n;case 9:if(!(t=r.s))return n.parentNode.removeChild(n),n;var i=t.A;return void 0!==i.r&&n.parentNode.removeChild(n),i.s=gr(n,t.w),n;case 8:return function(n,r){var t=r.s,e=function(n,r){if(n){for(var t=In.createDocumentFragment(),e=0;n.length>e;e++){var u=n[e].A;qn(t,2===u.c?u.s:nr(u.z,r.u))}return t}}(t.y,r);n=gr(n,t.w);for(var u=t.x,a=0;u.length>a;a++){var i=u[a],c=i.A,o=2===c.c?c.s:nr(c.z,r.u);n.insertBefore(o,n.childNodes[i.r])}return e&&qn(n,e),n}(n,r);case 5:return r.s(n);default:p(10)}}var _r=u(function(n,r,t,e){return function(n,r,t,e,u,a){var i=f(un,n,ln(r?r.flags:void 0));Lt(i)||p(2);var c={},o=t(i.a),s=o.a,b=a(d,s),v=function(n,r){var t;for(var e in Cn){var u=Cn[e];u.a&&((t=t||{})[e]=u.a(e,r)),n[e]=jn(u,r)}return t}(c,d);function d(n,r){var t=f(e,n,s);b(s=t.a,r),Mn(c,t.b,u(s))}return Mn(c,o.b,u(s)),v?{ports:v}:{}}(r,e,n.ci,n.cX,n.cM,function(r,t){var e=n.aD&&n.aD(r),u=n.cY,a=In.title,i=In.body,c=function n(r){if(3===r.nodeType)return Un(r.textContent);if(1!==r.nodeType)return Un("");for(var t=T,e=r.attributes,u=e.length;u--;){var a=e[u];t=C(f(Yn,a.name,a.value),t)}var i=r.tagName.toLowerCase(),c=T,o=r.childNodes;for(u=o.length;u--;)c=C(n(o[u]),c);return s(Bn,i,t,c)}(i);return function(n,r){r(n);var t=0;function e(){t=1===t?0:(yr(e),r(n),1)}return function(u,a){n=u,a?(r(n),2===t&&(t=1)):(0===t&&yr(e),t=2)}}(t,function(n){zn=e;var t=u(n),o=Bn("body")(T)(t.aT),f=function(n,r){var t=[];return fr(n,r,t,0),t}(c,o);i=pr(i,c,f,r),c=o,zn=0,a!==t.bN&&(In.title=a=t.bN)})})}),yr=("undefined"!=typeof cancelAnimationFrame&&cancelAnimationFrame,"undefined"!=typeof requestAnimationFrame?requestAnimationFrame:function(n){return setTimeout(n,1e3/60)});function wr(){return Zt(In.location.href).a||p(1)}var kr=t(function(n,r){return f(pe,ne,pn(function(){history.pushState({},"",r),n()}))}),Er=("undefined"!=typeof document&&document,"undefined"!=typeof window?window:{addEventListener:function(){},removeEventListener:function(){}}),Ar=a(function(n,r,t,e,u){for(var a=n.length,i=u.length>=r+a,c=0;i&&a>c;){var o=u.charCodeAt(r);i=n[c++]===u[r++]&&(10===o?(t++,e=1):(e++,55296==(63488&o)?n[c++]===u[r++]:1))}return k(i?r:-1,t,e)}),Or=e(function(n,r,t){return t.length>r?55296==(63488&t.charCodeAt(r))?n(E(t.substr(r,2)))?r+2:-1:n(E(t[r]))?"\n"===t[r]?-2:r+1:-1:-1}),Tr=e(function(n,r,t){return pn(function(e){function u(n){e(r(t.am.a(n)))}var a=new XMLHttpRequest;a.addEventListener("error",function(){u(xa)}),a.addEventListener("timeout",function(){u(Da)}),a.addEventListener("load",function(){u(function(n,r){return f(r.status>=200&&300>r.status?ja:Ca,function(n){return{aO:n.responseURL,cK:n.status,cL:n.statusText,a5:Cr(n.getAllResponseHeaders())}}(r),n(r.response))}(t.am.b,a))}),za(t.bO)&&function(n,r,t){r.upload.addEventListener("progress",function(e){r.c||_n(f(Sa,n,w(t,Ra({cJ:e.loaded,bG:e.total}))))}),r.addEventListener("progress",function(e){r.c||_n(f(Sa,n,w(t,La({cF:e.loaded,bG:e.lengthComputable?Ur(e.total):Br}))))})}(n,a,t.bO.a);try{a.open(t.cm,t.aO,!0)}catch(n){return u(Na(t.aO))}return function(n,r){for(var t=r.a5;t.b;t=t.b)n.setRequestHeader(t.a.a,t.a.b);n.timeout=r.cP.a||0,n.responseType=r.am.d,n.withCredentials=r.bX}(a,t),t.aT.a&&a.setRequestHeader("Content-Type",t.aT.a),a.send(t.aT.b),function(){a.c=!0,a.abort()}})});function Cr(n){if(!n)return Pe;for(var r=Pe,t=n.split("\r\n"),e=t.length;e--;){var u=t[e],a=u.indexOf(": ");if(a>0){var i=u.substring(0,a),c=u.substring(a+2);r=s(Ue,i,function(n){return Ur(za(n)?c+", "+n.a:c)},r)}}return r}var Nr=e(function(n,r,t){return{$:0,d:n,b:r,a:t}}),jr=t(function(n,r){return{$:0,d:r.d,b:r.b,a:function(t){return n(r.a(t))}}}),xr=N,Lr=e(function(n,r,t){for(;;){if(-2===t.$)return r;var e=t.d,u=n,a=s(n,t.b,t.c,s(Lr,n,r,t.e));n=u,r=a,t=e}}),Rr=function(n){return s(Lr,e(function(n,r,t){return f(xr,w(n,r),t)}),T,n)},Dr=1,zr=2,Sr=0,Fr=function(n){return{$:1,a:n}},Jr=t(function(n,r){return{$:3,a:n,b:r}}),Mr=t(function(n,r){return{$:0,a:n,b:r}}),Wr=t(function(n,r){return{$:1,a:n,b:r}}),Hr=function(n){return{$:0,a:n}},Ir=function(n){return{$:2,a:n}},qr=L,Ur=function(n){return{$:0,a:n}},Br={$:1},Pr=I,Qr=dn,Xr=P,Gr=t(function(n,r){return f(W,n,function(n){for(var r=[];n.b;n=n.b)r.push(n.a);return r}(r))}),Kr=t(function(n,r){return j(f(M,n,r))}),Yr=function(n){return f(Gr,"\n ",f(Kr,"\n",n))},Vr=e(function(n,r,t){for(;;){if(!t.b)return r;var e=t.b,u=n,a=f(n,t.a,r);n=u,r=a,t=e}}),Zr=function(n){return s(Vr,t(function(n,r){return r+1}),0,n)},nt=x,rt=e(function(n,r,t){for(;;){if(_(n,r)>=1)return t;var e=n,u=r-1,a=f(xr,r,t);n=e,r=u,t=a}}),tt=t(function(n,r){return s(rt,n,r,T)}),et=t(function(n,r){return s(nt,n,f(tt,0,Zr(r)-1),r)}),ut=function(n){var r=n.charCodeAt(0);return 55296>r||r>56319?r:1024*(r-55296)+n.charCodeAt(1)-56320+65536},at=function(n){var r=ut(n);return r>=97&&122>=r},it=function(n){var r=ut(n);return 90>=r&&r>=65},ct=function(n){return at(n)||it(n)},ot=function(n){var r=ut(n);return 57>=r&&r>=48},ft=function(n){return at(n)||it(n)||ot(n)},st=function(n){return s(Vr,xr,T,n)},bt=t(function(n,r){return"\n\n("+Xr(n+1)+") "+Yr(vt(r))}),vt=function(n){return f(dt,n,T)},dt=t(function(n,r){n:for(;;)switch(n.$){case 0:var t=n.a,e=n.b,u=function(){var n,r,e=(r=(n=t).charCodeAt(0),isNaN(r)?Br:Ur(55296>r||r>56319?w(E(n[0]),n.slice(1)):w(E(n[0]+n[1]),n.slice(2))));if(1===e.$)return!1;var u=e.a,a=u.b;return ct(u.a)&&f(Pr,ft,a)}();n=e,r=f(xr,u?"."+t:"['"+t+"']",r);continue n;case 1:e=n.b;var a="["+Xr(n.a)+"]";n=e,r=f(xr,a,r);continue n;case 2:var i=n.a;if(i.b){if(i.b.b){var c=(r.b?"The Json.Decode.oneOf at json"+f(Gr,"",st(r)):"Json.Decode.oneOf")+" failed in the following "+Xr(Zr(i))+" ways:";return f(Gr,"\n\n",f(xr,c,f(et,bt,i)))}n=e=i.a,r=r;continue n}return"Ran into a Json.Decode.oneOf with no possibilities"+(r.b?" at json"+f(Gr,"",st(r)):"!");default:var o=n.a,s=n.b;return(c=r.b?"Problem with the value at json"+f(Gr,"",st(r))+":\n\n ":"Problem with the given value:\n\n")+Yr(f(Qr,4,s))+"\n\n"+o}}),lt=u(function(n,r,t,e){return{$:0,a:n,b:r,c:t,d:e}}),$t=[],ht=D,pt=t(function(n,r){return F(r)/F(n)}),gt=ht(f(pt,2,32)),mt=b(lt,0,gt,$t,$t),_t=$,yt=t(function(n,r){return n(r)}),wt=t(function(n,r){return r(n)}),kt=z,Et=function(n){return n.length},At=t(function(n,r){return _(n,r)>0?n:r}),Ot=h,Tt=t(function(n,r){for(;;){var t=f(Ot,32,n),e=t.b,u=f(xr,{$:0,a:t.a},r);if(!e.b)return st(u);n=e,r=u}}),Ct=t(function(n,r){for(;;){var t=ht(r/32);if(1===t)return f(Ot,32,n).a;n=f(Tt,n,T),r=t}}),Nt=t(function(n,r){if(r.f){var t=32*r.f,e=kt(f(pt,32,t-1)),u=n?st(r.i):r.i,a=f(Ct,u,r.f);return b(lt,Et(r.h)+t,f(At,5,e*gt),a,r.h)}return b(lt,Et(r.h),gt,$t,r.h)}),jt=a(function(n,r,t,e,u){for(;;){if(0>r)return f(Nt,!1,{i:e,f:t/32|0,h:u});var a={$:1,a:s(_t,32,r,n)};n=n,r-=32,t=t,e=f(xr,a,e),u=u}}),xt=t(function(n,r){if(n>0){var t=n%32;return v(jt,r,n-t-32,n,T,s(_t,t,n-t,r))}return mt}),Lt=function(n){return!n.$},Rt=nn,Dt=rn,zt=tn,St=function(n){return{$:0,a:n}},Ft=function(n){switch(n.$){case 0:return 0;case 1:return 1;case 2:return 2;default:return 3}},Jt=function(n){return n},Mt=i(function(n,r,t,e,u,a){return{a2:a,a8:r,ag:e,bo:t,bt:n,bu:u}}),Wt=q,Ht=function(n){return n.length},It=H,qt=t(function(n,r){return 1>n?r:s(It,n,Ht(r),r)}),Ut=B,Bt=function(n){return""===n},Pt=t(function(n,r){return 1>n?"":s(It,0,n,r)}),Qt=function(n){for(var r=0,t=n.charCodeAt(0),e=43==t||45==t?1:0,u=e;n.length>u;++u){var a=n.charCodeAt(u);if(48>a||a>57)return Br;r=10*r+a-48}return u==e?Br:Ur(45==t?-r:r)},Xt=a(function(n,r,t,e,u){if(Bt(u)||f(Wt,"@",u))return Br;var a=f(Ut,":",u);if(a.b){if(a.b.b)return Br;var i=a.a,c=Qt(f(qt,i+1,u));if(1===c.$)return Br;var o=c;return Ur(d(Mt,n,f(Pt,i,u),o,r,t,e))}return Ur(d(Mt,n,u,Br,r,t,e))}),Gt=u(function(n,r,t,e){if(Bt(e))return Br;var u=f(Ut,"/",e);if(u.b){var a=u.a;return v(Xt,n,f(qt,a,e),r,t,f(Pt,a,e))}return v(Xt,n,"/",r,t,e)}),Kt=e(function(n,r,t){if(Bt(t))return Br;var e=f(Ut,"?",t);if(e.b){var u=e.a;return b(Gt,n,Ur(f(qt,u+1,t)),r,f(Pt,u,t))}return b(Gt,n,Br,r,t)}),Yt=t(function(n,r){if(Bt(r))return Br;var t=f(Ut,"#",r);if(t.b){var e=t.a;return s(Kt,n,Ur(f(qt,e+1,r)),f(Pt,e,r))}return s(Kt,n,Br,r)}),Vt=U,Zt=function(n){return f(Vt,"http://",n)?f(Yt,0,f(qt,7,n)):f(Vt,"https://",n)?f(Yt,1,f(qt,8,n)):Br},ne=function(n){for(;;)n=n},re=hn,te=re(0),ee=u(function(n,r,t,e){if(e.b){var u=e.a,a=e.b;if(a.b){var i=a.a,c=a.b;if(c.b){var o=c.a,v=c.b;if(v.b){var d=v.b;return f(n,u,f(n,i,f(n,o,f(n,v.a,t>500?s(Vr,n,r,st(d)):b(ee,n,r,t+1,d)))))}return f(n,u,f(n,i,f(n,o,r)))}return f(n,u,f(n,i,r))}return f(n,u,r)}return r}),ue=e(function(n,r,t){return b(ee,n,r,0,t)}),ae=t(function(n,r){return s(ue,t(function(r,t){return f(xr,n(r),t)}),T,r)}),ie=gn,ce=t(function(n,r){return f(ie,function(r){return re(n(r))},r)}),oe=e(function(n,r,t){return f(ie,function(r){return f(ie,function(t){return re(f(n,r,t))},t)},r)}),fe=function(n){return s(ue,oe(xr),re(T),n)},se=xn,be=t(function(n,r){var t=r;return yn(f(ie,se(n),t))});Cn.Task=Nn(te,e(function(n,r){return f(ce,function(){return 0},fe(f(ae,be(n),r)))}),e(function(){return re(0)}),t(function(n,r){return f(ce,n,r)}));var ve,de,le,$e,he=Rn("Task"),pe=t(function(n,r){return he(f(ce,n,r))}),ge={$:0},me=e(function(n,r,t){return{aQ:r,az:t,aC:n}}),_e=u(function(n,r,t,e){return 1===r.$?Br:1===t.$?Br:1===e.$?Br:Ur(s(n,r.a,t.a,e.a))}),ye={L:""},we=function(n){return{$:3,a:n}},ke=function(n){return{$:4,a:n}},Ee=function(n){return{$:1,a:n}},Ae=function(n){return{$:2,a:n}},Oe=a(function(n,r,t,e,u){return{E:e,F:t,D:r,z:u,H:n}}),Te=function(n){return n.b&&(""!==n.a||n.b.b)?f(xr,n.a,Te(n.b)):T},Ce=t(function(n,r){return Ur(1===r.$?j([n]):f(xr,n,r.a))}),Ne=function(n){try{return Ur(decodeURIComponent(n))}catch(n){return Br}},je=y,xe=t(function(n,r){n:for(;;){if(-2===r.$)return Br;var t=r.c,e=r.d,u=r.e;switch(f(je,n,r.b)){case 0:n=n,r=e;continue n;case 1:return Ur(t);default:n=n,r=u;continue n}}}),Le=a(function(n,r,t,e,u){return{$:-1,a:n,b:r,c:t,d:e,e:u}}),Re={$:-2},De=a(function(n,r,t,e,u){if(-1!==u.$||u.a){if(-1!==e.$||e.a||-1!==e.d.$||e.d.a)return v(Le,n,r,t,e,u);var a=e.d;return i=e.e,v(Le,0,e.b,e.c,v(Le,1,a.b,a.c,a.d,a.e),v(Le,1,r,t,i,u))}var i,c=u.b,o=u.c,f=u.d,s=u.e;return-1!==e.$||e.a?v(Le,n,c,o,v(Le,0,r,t,e,f),s):v(Le,0,r,t,v(Le,1,e.b,e.c,e.d,i=e.e),v(Le,1,c,o,f,s))}),ze=e(function(n,r,t){if(-2===t.$)return v(Le,0,n,r,Re,Re);var e=t.a,u=t.b,a=t.c,i=t.d,c=t.e;switch(f(je,n,u)){case 0:return v(De,e,u,a,s(ze,n,r,i),c);case 1:return v(Le,e,u,r,i,c);default:return v(De,e,u,a,i,s(ze,n,r,c))}}),Se=e(function(n,r,t){var e=s(ze,n,r,t);return-1!==e.$||e.a?e:v(Le,1,e.b,e.c,e.d,e.e)}),Fe=function(n){if(-1===n.$&&-1===n.d.$&&-1===n.e.$){if(-1!==n.e.d.$||n.e.d.a){var r=n.d,t=n.e;return i=t.b,c=t.c,e=t.d,s=t.e,v(Le,1,n.b,n.c,v(Le,0,r.b,r.c,r.d,r.e),v(Le,0,i,c,e,s))}var e,u=n.d,a=n.e,i=a.b,c=a.c,o=(e=a.d).d,f=e.e,s=a.e;return v(Le,0,e.b,e.c,v(Le,1,n.b,n.c,v(Le,0,u.b,u.c,u.d,u.e),o),v(Le,1,i,c,f,s))}return n},Je=function(n){if(-1===n.$&&-1===n.d.$&&-1===n.e.$){if(-1!==n.d.d.$||n.d.d.a){var r=n.d,t=n.e;return f=t.b,s=t.c,b=t.d,d=t.e,v(Le,1,e=n.b,u=n.c,v(Le,0,r.b,r.c,r.d,c=r.e),v(Le,0,f,s,b,d))}var e=n.b,u=n.c,a=n.d,i=a.d,c=a.e,o=n.e,f=o.b,s=o.c,b=o.d,d=o.e;return v(Le,0,a.b,a.c,v(Le,1,i.b,i.c,i.d,i.e),v(Le,1,e,u,c,v(Le,0,f,s,b,d)))}return n},Me=c(function(n,r,t,e,u,a,i){if(-1!==a.$||a.a){n:for(;;){if(-1===i.$&&1===i.a){if(-1===i.d.$){if(1===i.d.a)return Je(r);break n}return Je(r)}break n}return r}return v(Le,t,a.b,a.c,a.d,v(Le,0,e,u,a.e,i))}),We=function(n){if(-1===n.$&&-1===n.d.$){var r=n.a,t=n.b,e=n.c,u=n.d,a=u.d,i=n.e;if(1===u.a){if(-1!==a.$||a.a){var c=Fe(n);if(-1===c.$){var o=c.e;return v(De,c.a,c.b,c.c,We(c.d),o)}return Re}return v(Le,r,t,e,We(u),i)}return v(Le,r,t,e,We(u),i)}return Re},He=t(function(n,r){if(-2===r.$)return Re;var t=r.a,e=r.b,u=r.c,a=r.d,i=r.e;if(0>_(n,e)){if(-1===a.$&&1===a.a){var c=a.d;if(-1!==c.$||c.a){var o=Fe(r);if(-1===o.$){var s=o.e;return v(De,o.a,o.b,o.c,f(He,n,o.d),s)}return Re}return v(Le,t,e,u,f(He,n,a),i)}return v(Le,t,e,u,f(He,n,a),i)}return f(Ie,n,l(Me,n,r,t,e,u,a,i))}),Ie=t(function(n,r){if(-1===r.$){var t=r.a,e=r.b,u=r.c,a=r.d,i=r.e;if(g(n,e)){var c=function(n){for(;;){if(-1!==n.$||-1!==n.d.$)return n;n=n.d}}(i);return-1===c.$?v(De,t,c.b,c.c,a,We(i)):Re}return v(De,t,e,u,a,f(He,n,i))}return Re}),qe=t(function(n,r){var t=f(He,n,r);return-1!==t.$||t.a?t:v(Le,1,t.b,t.c,t.d,t.e)}),Ue=e(function(n,r,t){var e=r(f(xe,n,t));return e.$?f(qe,n,t):s(Se,n,e.a,t)}),Be=t(function(n,r){var t=f(Kr,"=",n);if(t.b&&t.b.b&&!t.b.b.b){var e=t.b.a,u=Ne(t.a);if(1===u.$)return r;var a=u.a,i=Ne(e);return 1===i.$?r:s(Ue,a,Ce(i.a),r)}return r}),Pe=Re,Qe=t(function(n,r){var t;return function(n){n:for(;;){if(n.b){var r=n.a,t=r.D;if(t.b){if(""!==t.a||t.b.b){n=n.b;continue n}return Ur(r.z)}return Ur(r.z)}return Br}}(n(v(Oe,T,function(){var n=f(Kr,"/",r.ag);return Te(n.b&&""===n.a?n.b:n)}(),1===(t=r.bu).$?Pe:s(ue,Be,Pe,f(Kr,"&",t.a)),r.a2,Jt)))}),Xe=function(n){return{$:0,a:n}},Ge=function(n){return{$:1,a:n}},Ke=t(function(n,r){return v(Oe,r.H,r.D,r.F,r.E,n(r.z))}),Ye=t(function(n,r){var t=r;return function(r){var e=r.H,u=r.D,a=r.F,i=r.E;return f(ae,Ke(r.z),t(v(Oe,e,u,a,i,n)))}}),Ve=t(function(n,r){return r.b?s(ue,xr,r,n):n}),Ze=t(function(n,r){return s(ue,Ve,T,f(ae,n,r))}),nu=function(n){return function(r){var t=r.H,e=r.D,u=r.F,a=r.E,i=r.z;if(e.b){var c=e.a,o=e.b;return g(c,n)?j([v(Oe,f(xr,c,t),o,u,a,i)]):T}return T}},ru=t(function(n,r){var t=n,e=r;return function(n){return f(Ze,e,t(n))}}),tu=f(t(function(n,r){return function(n){var t=n.H,e=n.D,u=n.F,a=n.E,i=n.z;if(e.b){var c=e.a,o=e.b,s=r(c);if(s.$)return T;var b=s.a;return j([v(Oe,f(xr,c,t),o,u,a,i(b))])}return T}}),"STRING",Ur),eu=function(n){return j([n])},uu=(ve=j([f(Ye,Xe("all"),eu),f(Ye,Xe,f(ru,nu("streams"),tu)),f(Ye,Ge,f(ru,nu("events"),tu))]),function(n){return f(Ze,function(r){return r(n)},ve)}),au=t(function(n,r){return A(r,{ag:f(qt,Ht(n.ag),r.ag)})}),iu=t(function(n,r){return f(Qe,uu,f(au,n,r))}),cu=function(n){return{$:2,a:n}},ou=o(function(n,r,t,e,u,a,i,c,o){return{b_:i,b3:a,b4:t,b8:r,b9:n,cC:o,cD:e,cE:u,cW:c}}),fu=function(n){return{$:1,a:n}},su=Y,bu=t(function(n,r){return{$:1,a:n,b:r}}),vu=e(function(n,r,t){return{$:0,a:n,b:r,c:t}}),du=t(function(n,r){var t=r;return function(r){var e=t(r);if(1===e.$)return f(bu,e.a,e.b);var u=e.a,a=e.c,i=n(e.b)(a);if(1===i.$){var c=i.a;return f(bu,u||c,i.b)}return c=i.a,s(vu,u||c,i.b,i.c)}}),lu=t(function(n,r){return{$:1,a:n,b:r}}),$u=u(function(n,r,t,e){return{aW:r,b2:e,bq:t,bA:n}}),hu={$:0},pu=t(function(n,r){return f(lu,hu,b($u,n.bA,n.aW,r,n.c))}),gu=(de={$:10},function(n){return g(Ht(n.a),n.b)?s(vu,!1,0,n):f(bu,!1,f(pu,n,de))}),mu=Or,_u=a(function(n,r,t,e,u){for(;;){var a=s(mu,n,r,u.a);if(g(a,-1))return s(vu,0>_(u.b,r),0,{aW:e,c:u.c,d:u.d,b:r,bA:t,a:u.a});g(a,-2)?(n=n,r+=1,t+=1,e=1,u=u):(n=n,r=a,t=t,e+=1,u=u)}}),yu=t(function(n){return n}),wu=t(function(n,r){var t=r;return function(r){var e=t(r);if(1===e.$)return f(bu,e.a,e.b);var u=e.b,a=e.c;return s(vu,e.a,f(n,s(It,r.b,a.b,r.a),u),a)}}),ku=function(n){return f(wu,yu,n)},Eu=function(n){return r={$:12,a:n},function(n){return f(bu,!1,f(pu,n,r))};var r},Au=S,Ou=function(n){return function(r){return s(vu,!1,n,r)}},Tu=f(du,function(n){if(Ht(n)>9)return Eu("Expected at most 9 digits, but got "+Xr(Ht(n)));var r=function(n){if(0===n.length||/[\sxbo]/.test(n))return Br;var r=+n;return r==r?Ur(r):Br}("0."+n);return r.$?Eu('Invalid float: "'+n+'"'):Ou(Au(1e3*r.a))},ku(($e=ot,function(n){return v(_u,$e,n.b,n.bA,n.aW,n)}))),Cu=Jt,Nu=i(function(n,r,t,e,u,a){return Cu(n+60*r*60*1e3+60*(t-a)*1e3+1e3*e+u)}),ju=e(function(n,r,t){var e=r,u=t;return function(r){var t=e(r);if(1===t.$)return f(bu,t.a,t.b);var a=t.a,i=t.b,c=u(t.c);if(1===c.$){var o=c.a;return f(bu,a||o,c.b)}o=c.a;var b=c.c;return s(vu,a||o,f(n,i,c.b),b)}}),xu=t(function(n,r){return s(ju,yu,n,r)}),Lu=t(function(n,r){return s(ju,yt,n,r)}),Ru=t(function(n,r){return{$:2,a:n,b:r}}),Du=e(function(n,r,t){n:for(;;){if(t.b){var e=t.b,u=(0,t.a)(n);if(u.$){var a;if((a=u).a)return a;n=n,r=f(Ru,r,a.b),t=e;continue n}return u}return f(bu,!1,r)}}),zu=function(n){return function(r){return s(Du,r,hu,n)}},Su=function(n){return{$:1,a:n}},Fu=J,Ju={$:11},Mu=t(function(n,r){return function(t){var e=s(mu,n,t.b,t.a);return g(e,-1)?f(bu,!1,f(pu,t,r)):g(e,-2)?s(vu,!0,0,{aW:1,c:t.c,d:t.d,b:t.b+1,bA:t.bA+1,a:t.a}):s(vu,!0,0,{aW:t.aW+1,c:t.c,d:t.d,b:e,bA:t.bA,a:t.a})}}),Wu=u(function(n,r,t,e){for(;;){var u=t(r)(e);if(u.$)return a=u.a,f(bu,n||a,u.b);var a=u.a,i=u.b,c=u.c;if(i.$)return s(vu,n||a,i.a,c);n=n||a,r=i.a,t=t,e=c}}),Hu=t(function(n,r){return function(t){return b(Wu,!1,n,r,t)}}),Iu=t(function(n,r){var t=r;return function(r){var e=t(r);if(e.$)return f(bu,e.a,e.b);var u=e.c;return s(vu,e.a,n(e.b),u)}}),qu=function(n){return n.$?{$:1,a:n.a}:{$:0,a:n.a}},Uu=t(function(n,r){return f(Hu,n,function(n){return f(Iu,qu,r(n))})}),Bu=function(n){return f(Uu,"",function(r){if(g(Ht(r),n)){var t=Qt(r);return t.$?Eu('Invalid integer: "'+r+'"'):f(Iu,Su,Ou(t.a))}return f(Iu,function(n){return{$:0,a:f(Fu,r,n)}},ku(f(Mu,ot,Ju)))})},Pu=t(function(n,r){return{$:0,a:n,b:r}}),Qu=Ar,Xu=function(n){return function(n){var r=n.a,t=n.b,e=!Bt(r);return function(n){var u=v(Qu,r,n.b,n.bA,n.aW,n.a),a=u.a,i=u.b,c=u.c;return g(a,-1)?f(bu,!1,f(pu,n,t)):s(vu,e,0,{aW:c,c:n.c,d:n.d,b:a,bA:i,a:n.a})}}(f(Pu,n,{$:8,a:n}))},Gu=function(n){return Eu("Invalid day: "+Xr(n))},Ku=R,Yu=function(n){return!(f(Ku,4,n)||!f(Ku,100,n)&&f(Ku,400,n))},Vu=function(n){var r=n-1;return(r/4|0)-(r/100|0)+(r/400|0)},Zu=f(du,function(n){var r=n.a,t=n.b,e=n.c;if(0>e)return Gu(e);var u=function(n){var u=31536e6*(r-1970),a=864e5*((3>t||!Yu(r)?e-1:e)+(Vu(r)-Vu(1970)));return Ou(n+u+a)};switch(t){case 1:return e>31?Gu(e):u(0);case 2:return e>29||29===e&&!Yu(r)?Gu(e):u(26784e5);case 3:return e>31?Gu(e):u(50976e5);case 4:return e>30?Gu(e):u(7776e6);case 5:return e>31?Gu(e):u(10368e6);case 6:return e>30?Gu(e):u(130464e5);case 7:return e>31?Gu(e):u(156384e5);case 8:return e>31?Gu(e):u(183168e5);case 9:return e>30?Gu(e):u(209952e5);case 10:return e>31?Gu(e):u(235872e5);case 11:return e>30?Gu(e):u(262656e5);case 12:return e>31?Gu(e):u(288576e5);default:return Eu('Invalid month: "'+Xr(t)+'"')}},f(Lu,f(Lu,f(Lu,Ou(e(function(n,r,t){return k(n,r,t)})),Bu(4)),zu(j([f(Lu,f(xu,Ou(Jt),Xu("-")),Bu(2)),Bu(2)]))),zu(j([f(Lu,f(xu,Ou(Jt),Xu("-")),Bu(2)),Bu(2)])))),na=(le=e(function(n,r,t){return n*(60*r)+t}),f(Lu,Ou(Jt),zu(j([f(Iu,function(){return 0},Xu("Z")),f(Lu,f(Lu,f(Lu,Ou(le),zu(j([f(Iu,function(){return 1},Xu("+")),f(Iu,function(){return-1},Xu("-"))]))),Bu(2)),zu(j([f(Lu,f(xu,Ou(Jt),Xu(":")),Bu(2)),Bu(2),Ou(0)]))),f(xu,Ou(0),gu)])))),ra=f(du,function(n){return zu(j([f(Lu,f(Lu,f(Lu,f(Lu,f(Lu,f(xu,Ou(Nu(n)),Xu("T")),Bu(2)),zu(j([f(Lu,f(xu,Ou(Jt),Xu(":")),Bu(2)),Bu(2)]))),zu(j([f(Lu,f(xu,Ou(Jt),Xu(":")),Bu(2)),Bu(2)]))),zu(j([f(Lu,f(xu,Ou(Jt),Xu(".")),Tu),Ou(0)]))),f(xu,na,gu)),f(xu,Ou(d(Nu,n,0,0,0,0,0)),gu)]))},Zu),ta=e(function(n,r,t){return{aW:r,bq:t,bA:n}}),ea=function(n){return s(ta,n.bA,n.aW,n.bq)},ua=t(function(n,r){n:for(;;)switch(n.$){case 0:return r;case 1:var t=n.b;n=n.a,r=f(xr,t,r);continue n;default:var e=n.b;n=n.a,r=f(ua,e,r);continue n}}),aa=t(function(n,r){var t=n({aW:1,c:T,d:1,b:0,bA:1,a:r});return t.$?Fr(f(ua,t.b,T)):Hr(t.b)}),ia=t(function(n,r){var t=f(aa,n,r);return t.$?Fr(f(ae,ea,t.a)):Hr(t.a)}),ca=f(Rt,function(n){var r=function(n){return f(ia,ra,n)}(n);return 1===r.$?fu("TODO deadEndsToString"):St(r.a)},su),oa=function(n){return{$:11,g:n}},fa=function(n){return oa(j([f(Dt,Ur,n),St(Br)]))},sa=V,ba=t(function(n,r){return s(ue,sa,r,n)}),va=zt(wt),da=un,la=function(n){return{$:5,c:n}},$a=K,ha=e(function(n,r,t){return f(Rt,function(e){var u=f(da,n,e);if(u.$)return St(t);var a=u.a,i=f(da,oa(j([r,la(t)])),a);return i.$?fu(vt(i.a)):St(i.a)},$a)}),pa=u(function(n,r,t,e){return f(va,s(ha,f(ba,n,$a),r,t),e)}),ga=e(function(n,r,t){return f(va,f(ba,n,r),t)}),ma=b(pa,j(["attributes","parent_event_id"]),fa(su),Br,s(ga,j(["attributes","type_stream_name"]),su,b(pa,j(["attributes","causation_stream_name"]),fa(su),Br,b(pa,j(["attributes","correlation_stream_name"]),fa(su),Br,s(ga,j(["attributes","metadata"]),f(Dt,Qr(2),$a),s(ga,j(["attributes","data"]),f(Dt,Qr(2),$a),s(ga,j(["attributes","metadata","timestamp"]),ca,s(ga,j(["id"]),su,s(ga,j(["attributes","event_type"]),su,St(ou)))))))))),_a=f(sa,"data",ma),ya=function(n){return encodeURIComponent(n)},wa=t(function(n,r){return n+"/"+ya(r)}),ka=t(function(n,r){return 1===n.$?r:r+":"+Xr(n.a)}),Ea=e(function(n,r,t){return 1===r.$?t:O(t,O(n,r.a))}),Aa=function(n){return s(Ea,"#",n.a2,s(Ea,"?",n.bu,O(f(ka,n.bo,O(n.bt?"https://":"http://",n.a8)),n.ag)))},Oa=t(function(n,r){return f(wa,Aa(n.aQ)+"/events",r)}),Ta=en,Ca=t(function(n,r){return{$:3,a:n,b:r}}),Na=function(n){return{$:0,a:n}},ja=t(function(n,r){return{$:4,a:n,b:r}}),xa={$:2},La=function(n){return{$:1,a:n}},Ra=function(n){return{$:0,a:n}},Da={$:1},za=function(n){return!n.$},Sa=Ln,Fa=e(function(n,r,t){return r(n(t))}),Ja=t(function(n,r){return s(Nr,"",Jt,f(Fa,r,n))}),Ma=t(function(n,r){return r.$?Fr(n(r.a)):Hr(r.a)}),Wa=function(n){return{$:4,a:n}},Ha={$:2},Ia={$:1},qa=t(function(n,r){switch(r.$){case 0:return Fr({$:0,a:r.a});case 1:return Fr(Ia);case 2:return Fr(Ha);case 3:return Fr({$:3,a:r.a.cK});default:return f(Ma,Wa,n(r.b))}}),Ua=t(function(n,r){return f(Ja,n,qa(function(n){return f(Ma,vt,f(Ta,r,n))}))}),Ba={$:0},Pa=function(n){return{$:1,a:n}},Qa=t(function(n,r){return{bw:n,bL:r}}),Xa=re(f(Qa,Pe,T)),Ga=function(n){return pn(function(r){var t=n.f;2===t.$&&t.c&&t.c(),n.f=null,r(hn(0))})},Ka=yn,Ya=e(function(n,r,t){n:for(;;){if(r.b){var e=r.a,u=r.b;if(e.$){var a=e.a;return f(ie,function(r){var e=a.bO;return s(Ya,n,u,1===e.$?t:s(Se,e.a,r,t))},Ka(s(Tr,n,se(n),a)))}var i=e.a,c=f(xe,i,t);if(1===c.$){n=n,r=u,t=t;continue n}return f(ie,function(){return s(Ya,n,u,f(qe,i,t))},Ga(c.a))}return re(t)}}),Va=u(function(n,r,t,e){return f(ie,function(n){return re(f(Qa,n,t))},s(Ya,n,r,e.bw))}),Za=e(function(n,r,t){var e=n(r);return e.$?t:f(xr,e.a,t)}),ni=t(function(n,r){return s(ue,Za(n),T,r)}),ri=u(function(n,r,t,e){var u=e.b;return g(r,e.a)?Ur(f(se,n,u(t))):Br}),ti=e(function(n,r,t){return f(ie,function(){return re(t)},fe(f(ni,s(ri,n,r.a,r.b),t.bL)))}),ei=t(function(n,r){if(r.$){var t=r.a;return Pa({bX:t.bX,aT:t.aT,am:f(jr,n,t.am),a5:t.a5,cm:t.cm,cP:t.cP,bO:t.bO,aO:t.aO})}return{$:0,a:r.a}}),ui=t(function(n,r){return{$:0,a:n,b:r}});Cn.Http=Nn(Xa,Va,ti,ei,t(function(n,r){return f(ui,r.a,f(Fa,r.b,n))}));var ai=Rn("Http"),ii=(Rn("Http"),function(n){return function(n){return ai(Pa({bX:!1,aT:n.aT,am:n.am,a5:n.a5,cm:n.cm,cP:n.cP,bO:n.bO,aO:n.aO}))}({aT:Ba,am:n.am,a5:T,cm:"GET",cP:Br,bO:Br,aO:n.aO})}),ci=e(function(n,r,t){return ii({am:f(Ua,n,_a),aO:f(Oa,r,t)})}),oi=t(function(n,r){return s(ci,cu,n,r)}),fi=t(function(n,r){return f(oi,n,r)}),si=function(n){return{$:2,a:n}},bi=t(function(n,r){return{cb:n,cH:r}}),vi=function(n){return{$:3,b:n}},di=b(pa,j(["attributes","related_streams"]),fa(vi(su)),Br,s(ga,j(["relationships","events","links","self"]),su,St(bi))),li=f(sa,"data",di),$i=t(function(n,r){return f(wa,Aa(n.aQ)+"/streams",r)}),hi=e(function(n,r,t){return ii({am:f(Ua,n,li),aO:f($i,r,t)})}),pi=t(function(n,r){return s(hi,si,n,r)}),gi={$:0},mi=t(function(n,r){return{J:gi,u:gi,b8:r,ao:n}}),_i=t(function(n,r){return{ca:n,cl:r}}),yi=f(_i,T,{a0:Br,bg:Br,bk:Br,bp:Br}),wi=t(function(n,r){return{ca:yi,ao:n,cH:Br,ai:r}}),ki=Sn,Ei=Dn(T),Ai=t(function(n,r){var t=n.ao;if(1===t.$)return w(n,Ei);var e=t.a,u=f(iu,e.aC,r);if(u.$)return w(A(n,{x:ge}),Ei);if(u.a.$){var a=Ne(u.a.a);if(a.$)return w(A(n,{x:ge}),Ei);var i=a.a;return w(A(n,{x:Ee(f(mi,e,i))}),f(ki,we,f(fi,e,i)))}var c=Ne(u.a.a);if(c.$)return w(A(n,{x:ge}),Ei);var o=c.a;return w(A(n,{x:Ae(f(wi,e,o))}),f(ki,ke,f(pi,e,o)))}),Oi=e(function(n,r,t){var e,u,a,i={ao:(e=n,u=e.aQ,a=e.az,b(_e,me,Zt(e.aC),Zt(u),Ur(a))),ck:t,U:ye,x:ge};return f(Ai,i,r)}),Ti=Dn(T),Ci=function(n){return{$:2,a:n}},Ni=function(n){return f(pe,ne,pn(function(){try{Er.location=n}catch(n){In.location.reload(!1)}}))},ji=kr,xi=function(n){return n.a+"="+n.b},Li=t(function(n,r){return"/"+(f(Gr,"/",n)+function(n){return n.b?"?"+f(Gr,"&",f(ae,xi,n)):""}(r))}),Ri=t(function(n,r){return s(ue,t(function(r,t){return n(r)?f(xr,r,t):t}),T,r)}),Di=t(function(n,r){return f(Li,O(function(n){return f(Ri,function(n){return""!==n},f(Kr,"/",n.ag))}(n),r),T)}),zi=t(function(n,r){return f(Di,n,j(["streams",ya(r)]))}),Si=t(function(n,r){return n.$?w({L:n.a},Ei):w({L:""},f(ji,r.ck,f(zi,r.ao.aC,r.bc.L)))}),Fi=function(n){return{$:3,a:n}},Ji={$:3},Mi=function(n){return{$:1,a:n}},Wi={$:2},Hi=Pe,Ii=t(function(n,r){return s(Se,n,0,r)}),qi=s(Vr,Ii,Hi,T),Ui=function(n){return{$:4,a:n}},Bi=t(function(n,r){var t=r.b_;return t.$?Ei:s(hi,Ui,n,t.a)}),Pi=u(function(n,r,t,e){return{a0:t,bg:e,bk:n,bp:r}}),Qi=u(function(n,r,t,e){return f(va,s(ha,f(sa,n,$a),r,t),e)}),Xi=b(Qi,"last",fa(su),Br,b(Qi,"first",fa(su),Br,b(Qi,"prev",fa(su),Br,b(Qi,"next",fa(su),Br,St(Pi))))),Gi=e(function(n,r,t){return f(va,f(sa,n,r),t)}),Ki=s(Gi,"links",Xi,s(Gi,"data",vi(ma),St(_i))),Yi=t(function(n,r){return ii({am:f(Ua,n,Ki),aO:r})}),Vi=t(function(n,r){switch(n.$){case 0:var t=n.a,e=r.u;return w(1===e.$?A(r,{u:Mi(A(a=e.a,{ab:t}))}):r,Ei);case 1:t=n.a;var u=r.u;return w(1===u.$?A(r,{u:Mi(A(a=u.a,{ae:t}))}):r,Ei);case 2:if(n.a.$)return w(A(r,3===n.a.a.$&&404===n.a.a.a?{u:Wi}:{u:Ji}),Ei);var a={b_:(i=n.a.a).b_,b3:i.b3,ab:qi,b8:i.b8,b9:i.b9,ae:qi,cC:i.cC,cD:i.cD,cE:i.cE,cW:i.cW};return w(A(r,{u:Mi(a)}),f(Bi,r.ao,a));case 4:return n.a.$?w(A(r,{J:Ji}),Ei):w(r,f(Yi,Fi,n.a.a.cb));default:return w(n.a.$?A(r,{J:Ji}):A(r,{J:Mi(n.a.a.ca)}),Ei)}var i}),Zi=function(n){return{$:1,a:n}},nc=t(function(n,r){switch(n.$){case 0:return w(r,f(Yi,Zi,n.a));case 1:return w(n.a.$?r:A(r,{ca:n.a.a}),Ei);default:if(n.a.$)return w(r,Ei);var t=n.a.a;return w(A(r,{cH:t.cH}),f(Yi,Zi,t.cb))}}),rc=u(function(n,r,t,e){var u=e.b;return w(A(t,{x:n(e.a)}),f(ki,r,u))}),tc=e(function(n,r,t){return{ao:t,bc:r,ck:n.ck}}),ec=t(function(n,r){var t=w(n,r.x);n:for(;;)switch(t.a.$){case 0:return f(Ai,r,t.a.a);case 1:var e=t.a.a;return w(r,e.$?Ni(e.a):f(ji,r.ck,Aa(e.a)));case 4:if(2===t.b.$)return b(rc,Ae,ke,r,f(nc,t.a.a,t.b.a));break n;case 3:if(1===t.b.$)return b(rc,Ee,we,r,f(Vi,t.a.a,t.b.a));break n;default:var u=t.a.a,a=r.ao;if(1===a.$)return w(r,Ei);var i=f(Si,u,s(tc,r,r.U,a.a)),c=i.b;return w(A(r,{U:i.a}),f(ki,Ci,c))}return w(r,Ei)}),uc=function(n){return n.$?"RubyEventStore::Browser":"RubyEventStore::Browser - "+n.a},ac=Bn("a"),ic=ln,cc=t(function(n,r){return f(Kn,n,ic(r))}),oc=cc("className"),fc=Bn("div"),sc=Bn("footer"),bc=function(n){return f(cc,"href",/^javascript:/i.test((r=n).replace(/\s/g,""))?"":r);var r},vc=Un,dc={$:0},lc=function(n){return{$:1,a:n}},$c=Bn("form"),hc=Bn("input"),pc=Bn("nav"),gc=function(n){return w(n,!0)},mc=Xn,_c=t(function(n,r){return f(mc,n,{$:1,a:r})}),yc=f(ba,j(["target","value"]),su),wc=function(n){return w(n,!0)},kc=t(function(n,r){return f(mc,n,{$:2,a:r})}),Ec=cc("placeholder"),Ac=cc("value"),Oc=function(n){return f(pc,j([oc("navigation")]),j([f(fc,j([oc("navigation__brand")]),j([f(ac,j([bc(Aa(n.ao.aC)),oc("navigation__logo")]),j([vc("Ruby Event Store")]))])),f(fc,j([oc("navigation__links")]),T),f(fc,j([oc("navigation__go-to-stream")]),j([f($c,j([(t=dc,f(kc,"submit",f(Dt,wc,St(t))))]),j([f(hc,j([Ac(n.bc.L),(r=lc,f(_c,"input",f(Dt,gc,f(Dt,r,yc)))),Ec("Go to stream...")]),T)]))]))]));var r,t},Tc=Bn("header"),Cc=Bn("main"),Nc=Qn,jc=e(function(n,r,t){return f(fc,j([oc("frame")]),j([f(Tc,j([oc("frame__header")]),j([f(Nc,n,Oc(r))])),f(Cc,j([oc("frame__body")]),j([t])),f(sc,j([oc("frame__footer")]),j([f(Nc,n,(e=r.ao,f(sc,j([oc("footer")]),j([f(fc,j([oc("footer__links")]),j([vc("RubyEventStore v"+e.az),f(ac,j([bc("https://railseventstore.org/docs/install/"),oc("footer__link")]),j([vc("Documentation")])),f(ac,j([bc("https://railseventstore.org/support/"),oc("footer__link")]),j([vc("Support")]))]))]))))]))]));var e}),xc=Bn("h1"),Lc=f(xc,T,j([vc("Incorrect RES Browser config")])),Rc=f(fc,j([oc("lds-dual-ring")]),T),Dc=f(fc,j([oc("central-spinner")]),j([Rc])),zc=Bn("h2"),Sc=Bn("li"),Fc=t(function(n,r){return r.$?Br:Ur(n(r.a))}),Jc=t(function(n,r){return f(ac,j([oc("event__stream-link"),bc(f(zi,n,r))]),j([vc(r)]))}),Mc=t(function(n,r){return f(Fc,function(r){return f(Sc,T,j([vc("Causation stream: "),f(Jc,n,r)]))},r.b_)}),Wc=t(function(n,r){return f(Fc,function(r){return f(Sc,T,j([vc("Correlation stream: "),f(Jc,n,r)]))},r.b3)}),Hc=t(function(n,r){return f(Di,n,j(["events",ya(r)]))}),Ic=t(function(n,r){return f(ac,j([oc("event__event-link"),bc(f(Hc,n,r))]),j([vc(r)]))}),qc=t(function(n,r){return f(Fc,function(r){return f(Sc,T,j([vc("Parent event: "),f(Ic,n,r)]))},r.cC)}),Uc=t(function(n,r){return f(Sc,T,j([vc("Type stream: "),f(Jc,n,r.cW)]))}),Bc=f(ue,t(function(n,r){return n.$?r:f(xr,n.a,r)}),T),Pc=t(function(n,r){return Bc(j([f(qc,n,r),Ur(f(Uc,n,r)),f(Wc,n,r),f(Mc,n,r)]))}),Qc=Bn("ul"),Xc=t(function(n,r){return g(f(Pc,n,r),T)?vc(""):f(fc,j([oc("event__related-streams")]),j([f(zc,T,j([vc("Related streams / events:")])),f(Qc,T,f(Pc,n,r))]))}),Gc=Bn("p"),Kc=Bn("td"),Yc=Bn("tr"),Vc=t(function(n,r){var t=r.b9,e=r.b8;return f(Yc,T,j([f(Kc,T,j([f(ac,j([oc("results__link"),bc(f(Hc,n,e))]),j([vc(t)]))])),f(Kc,T,j([vc(e)]))]))}),Zc=Bn("table"),no=Bn("tbody"),ro=Bn("tfoot"),to=Bn("th"),eo=Bn("thead"),uo=t(function(n,r){return r.b?f(Zc,T,j([f(eo,T,j([f(Yc,T,j([f(to,T,j([vc("Event name")])),f(to,T,j([vc("Event id")]))]))])),f(no,T,f(ae,Vc(n),r)),f(ro,T,j([f(Yc,T,j([f(Kc,j([(2,f(Yn,"colspan",Xr(2)))]),j([20===Zr(r)?vc("The results may be truncated, check stream for full information."):vc("")]))]))]))])):f(Gc,j([oc("results__empty")]),j([vc("No items")]))}),ao={I:"firebrick",M:"gray",N:"blue",O:"#fafad2",Q:"green"},io=t(function(n,r){return r.$?Fr(r.a):Hr(n(r.a))}),co=t(function(n,r){return r.$?Fr(r.a):n(r.a)}),oo=function(n){return{$:4,a:n}},fo=function(n){return{$:3,a:n}},so=t(function(n,r){if(-2===r.$)return Re;var t=r.b,e=r.d,u=r.e;return v(Le,r.a,t,f(n,t,r.c),f(so,n,e),f(so,n,u))}),bo=t(function(n,r){var e=t(function(r,t){return f(bo,n+"["+Xr(r)+"]",t)}),u=t(function(r,t){return f(bo,n+"."+r,t)}),a=r.z;switch(a.$){case 0:case 1:case 2:case 5:return A(r,{l:n});case 3:return A(r,{l:n,z:fo(f(et,e,a.a))});default:return A(r,{l:n,z:oo(f(so,u,a.a))})}}),vo=function(n){return{$:2,a:n}},lo=function(n){return{$:1,a:n}},$o={$:5},ho=function(n){return{$:0,a:n}},po=X,go=e(function(n,r,t){return n(r(t))}),mo=function(n){return s(Vr,t(function(n,r){return s(Se,n.a,n.b,r)}),Pe,n)},_o=function(n){return f(Dt,mo,function(n){return{$:8,b:n}}(n))},yo=G,wo=function(n){return f(Rt,n,St(0))};function ko(){var n=function(n){return{l:"",z:n}};return oa(j([f(Dt,f(go,n,ho),su),f(Dt,f(go,n,lo),yo),f(Dt,f(go,n,vo),po),f(Dt,f(go,n,fo),vi(wo(function(){return ko()}))),f(Dt,f(go,n,oo),_o(wo(function(){return ko()}))),la(n($o))]))}var Eo=ko();ko=function(){return Eo};var Ao,Oo,To,Co,No,jo=function(n){var r=f(Dt,bo(""),Eo);return f(da,r,n)},xo=Bn("pre"),Lo={I:function(n){return j([w("color",n.I)])},ak:j([w("position","absolute"),w("cursor","pointer"),w("top","1px"),w("left","-15px")]),an:j([w("font-weight","bold")]),ac:j([w("position","relative")]),M:function(n){return j([w("color",n.M)])},N:function(n){return j([w("color",n.N)])},aB:j([w("font-family","monospace"),w("white-space","pre")]),O:function(n){return j([w("background-color",n.O),w("cursor","pointer")])},Q:function(n){return j([w("color",n.Q)])},aj:j([w("list-style-type","none"),w("margin-left","26px"),w("padding-left","0px")])},Ro=function(n){return Bn(function(n){return"script"==n?"p":n}(n))},Do=Gn,zo=function(n){return f(ae,function(n){return f(Do,n.a,n.b)},n)},So=P,Fo=t(function(n,r){return!f(xe,n,r).$}),Jo=t(function(n,r){return f(Fo,n,r)}),Mo=t(function(n,r){return f(Jo,n,r)}),Wo=Bn("span"),Ho=t(function(n,r){return f(Ii,n,r)}),Io=t(function(n,r){return f(mc,n,{$:0,a:r})}),qo=t(function(n,r){return f(Io,"click",f(Dt,f(Fa,function(n){return n(0)},r),St(n)))}),Uo=u(function(n,r,t,e){return n?f(Wo,f(xr,f(qo,t,r.cT),zo(Lo.ak)),j([vc(e)])):vc("")}),Bo=u(function(n,r,t,e){return b(Uo,n,t,function(){return f(Ho,r,e)},"-")}),Po=t(function(n,r){return f(qe,n,r)}),Qo=t(function(n,r){return f(Po,n,r)}),Xo=u(function(n,r,t,e){return b(Uo,n,t,function(){return f(Qo,r,e)},"+")}),Go=cc("id"),Ko=function(n){return f(Io,"click",St(n))},Yo=u(function(n,r,t,e){return u=f(Wo,O(j([Go(t.l)]),O(zo(n),(a=e.cx).$?T:j([Ko((0,a.a)(t.l)),oc("selectableJsonTreeNode")]))),j([vc(r)])),j([u]);var u,a}),Vo=a(function(n,r,t,e,u){var a=function(r){return f(Sc,zo(Lo.ac),f(Ve,b(nf,n+1,e,r,u),j([vc(",")])))},i=r.b?j(f(Mo,t,u)?[b(Xo,n,t,e,u),vc("…")]:[b(Bo,n,t,e,u),f(Qc,zo(Lo.aj),f(ae,a,r))]):T;return O(j([vc("[")]),O(i,j([vc("]")])))}),Zo=a(function(n,r,t,e,u){var a=function(r){var t=r.a,a=r.b;return f(Sc,zo(Lo.ac),O(j([f(Wo,zo(Lo.an),j([vc(t)])),vc(": ")]),O(b(nf,n+1,e,a,u),j([vc(",")]))))},i=function(n){return-2===n.$}(r)?T:j(f(Mo,t,u)?[b(Xo,n,t,e,u),vc("…")]:[b(Bo,n,t,e,u),f(Qc,zo(Lo.aj),f(ae,a,Rr(r)))]);return O(j([vc("{")]),O(i,j([vc("}")])))}),nf=u(function(n,r,t,e){var u=r.b1,a=t.z;switch(a.$){case 0:var i=a.a;return b(Yo,Lo.Q(u),'"'+i+'"',t,r);case 1:var c=a.a;return b(Yo,Lo.N(u),So(c),t,r);case 2:var o=a.a;return b(Yo,Lo.I(u),function(n){return n?"true":"false"}(o),t,r);case 5:return b(Yo,Lo.M(u),"null",t,r);case 3:return v(Vo,n,a.a,t.l,r,e);default:return v(Zo,n,a.a,t.l,r,e)}}),rf=e(function(n,r,t){return f(fc,zo(Lo.aB),f(xr,function(n){var r=f(Gr,"\n",f(ae,function(n){return n.a+": "+n.b+";"},Lo.O(n.b1)));return s(Ro,"style",T,j([vc(".selectableJsonTreeNode:hover {\n"+r+"\n}\n")]))}(r),b(nf,0,r,n,t)))}),tf=t(function(n,r){return r.$?n:r.a}),ef=e(function(n,r,t){return f(tf,f(xo,T,j([vc(n)])),f(io,function(n){return s(rf,n,{b1:ao,cx:Br,cT:t},r)},f(co,jo,f(Ta,$a,n))))}),uf=e(function(n,r,t){return f(fc,j([oc("event")]),j([f(xc,j([oc("event__title")]),j([vc(r.b9)])),f(fc,j([oc("event__body")]),j([f(Zc,T,j([f(eo,T,j([f(Yc,T,j([f(to,T,j([vc("Event id")])),f(to,T,j([vc("Raw Data")])),f(to,T,j([vc("Raw Metadata")]))]))])),f(no,T,j([f(Yc,T,j([f(Kc,T,j([vc(r.b8)])),f(Kc,T,j([s(ef,r.cD,r.ab,function(n){return{$:0,a:n}})])),f(Kc,T,j([s(ef,r.cE,r.ae,function(n){return{$:1,a:n}})]))]))]))]))])),f(Xc,n,r),function(){switch(t.$){case 0:return f(fc,j([oc("event__caused-events")]),j([f(zc,T,j([vc("Events caused by this event:")])),vc("Loading...")]));case 1:var r=t.a;return f(fc,j([oc("event__caused-events")]),j(r.b?[f(zc,T,j([vc("Events caused by this event:")])),f(uo,n,r)]:[f(zc,T,j([vc("Events caused by this event: none")]))]));default:return vc("")}}()]))}),af=function(n){return w("Event "+n.b8,function(n){var r=n.u;switch(r.$){case 2:return f(fc,j([oc("event")]),j([f(xc,j([oc("event__missing")]),j([vc("There's no event with given ID")]))]));case 0:return Dc;case 1:return s(uf,n.ao.aC,r.a,n.J);default:return f(fc,j([oc("event")]),j([f(xc,j([oc("event__missing")]),j([vc("Unexpected request failure happened when fetching the event")]))]))}}(n))},cf=Bn("button"),of=ln,ff=t(function(n,r){return f(Kn,n,of(r))})("disabled"),sf=function(n){if(n.$)return j([ff(!0)]);var r,t=n.a;return j([bc(t),Ko((r=t,{$:0,a:r}))])},bf=function(n){return f(cf,O(j([oc("pagination__page")]),sf(n)),j([vc("last")]))},vf=function(n){return f(cf,O(j([oc("pagination__page")]),sf(n)),j([vc("next")]))},df=function(n){return f(cf,O(j([oc("pagination__page")]),sf(n)),j([vc("previous")]))},lf=function(n){var r,t=n.a0,e=n.bg,u=n.bk,a=n.bp;return f(Qc,j([oc("pagination")]),j([f(Sc,T,j([(r=t,f(cf,O(j([oc("pagination__page")]),sf(r)),j([vc("first")])))])),f(Sc,T,j([df(a)])),f(Sc,T,j([vf(u)])),f(Sc,T,j([bf(e)]))]))},$f=vc(""),hf=t(function(n,r){return f(ac,j([oc("event__stream-link"),bc(f(zi,n,r))]),j([vc(r)]))}),pf=t(function(n,r){if(r.$)return $f;var t=r.a;return f(fc,j([oc("event__related-streams")]),j([f(zc,T,j([vc("Related streams:")])),f(Qc,T,f(ae,function(r){return f(Sc,T,j([f(hf,n,r)]))},t))]))}),gf={$:7},mf=function(n){return n>11?"pm":"am"},_f=function(n){switch(n){case 0:return"January";case 1:return"February";case 2:return"March";case 3:return"April";case 4:return"May";case 5:return"June";case 6:return"July";case 7:return"August";case 8:return"September";case 9:return"October";case 10:return"November";default:return"December"}},yf=function(n){switch(f(Ku,100,n)){case 11:case 12:case 13:return"th";default:switch(f(Ku,10,n)){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}}},wf=function(n){switch(n){case 0:return"Monday";case 1:return"Tuesday";case 2:return"Wednesday";case 3:return"Thursday";case 4:return"Friday";case 5:return"Saturday";default:return"Sunday"}},kf=d(i(function(n,r,t,e,u,a){return{cQ:u,cR:r,cS:n,R:a,cU:e,cV:t}}),_f,f(Fa,_f,Pt(3)),wf,f(Fa,wf,Pt(3)),mf,yf),Ef=t(function(n,r){return kt(n/r)}),Af=function(n){return n},Of=e(function(n,r,t){for(;;){if(!t.b)return r+n;var e=t.a,u=t.b;if(0>_(e.aK,r))return r+e.b;n=n,r=r,t=u}}),Tf=t(function(n,r){var t=n.b;return s(Of,n.a,f(Ef,Af(r),6e4),t)}),Cf=t(function(n,r){return f(Ku,24,f(Ef,f(Tf,n,r),60))}),Nf=e(function(n,r,t){return n.cQ(f(Cf,r,t))}),jf=function(n){var r=f(Ef,n,1440)+719468,t=(0>r?r-146096:r)/146097|0,e=r-146097*t,u=(e-(e/1460|0)+(e/36524|0)-(e/146096|0))/365|0,a=e-(365*u+(u/4|0)-(u/100|0)),i=(5*a+2)/153|0,c=i+(10>i?3:-9);return{aX:a-((153*i+2)/5|0)+1,bi:c,bU:u+400*t+(c>2?0:1)}},xf=t(function(n,r){return jf(f(Tf,n,r)).aX}),Lf=j([6,0,1,2,3,4,5]),Rf=function(n){return n.b?Ur(n.a):Br},Df=t(function(n,r){switch(f(Ku,7,f(Ef,f(Tf,n,r),1440))){case 0:return 3;case 1:return 4;case 2:return 5;case 3:return 6;case 4:return 0;case 5:return 1;default:return 2}}),zf=t(function(n,r){return r.$?n:r.a}),Sf=t(function(n,r){return f(zf,w(0,6),Rf(f(Ri,function(t){return g(t.b,f(Df,n,r))},f(et,t(function(n,r){return w(n,r)}),Lf)))).a}),Ff=t(function(n,r){switch(r){case 0:return 31;case 1:return function(n){return!(f(Ku,4,n)||!f(Ku,100,n)&&f(Ku,400,n))}(n)?29:28;case 2:return 31;case 3:return 30;case 4:return 31;case 5:return 30;case 6:case 7:return 31;case 8:return 30;case 9:return 31;case 10:return 30;default:return 31}}),Jf=j([0,1,2,3,4,5,6,7,8,9,10,11]),Mf=t(function(n,r){switch(jf(f(Tf,n,r)).bi){case 1:return 0;case 2:return 1;case 3:return 2;case 4:return 3;case 5:return 4;case 6:return 5;case 7:return 6;case 8:return 7;case 9:return 8;case 10:return 9;case 11:return 10;default:return 11}}),Wf=t(function(n,r){return f(zf,w(0,0),Rf(f(Ri,function(t){return g(t.b,f(Mf,n,r))},f(et,t(function(n,r){return w(n,r)}),Jf))))}),Hf=t(function(n,r){return 1+f(Wf,n,r).a}),If=e(function(n,r,t){n:for(;;){if(n>0){if(r.b){var e=r.a;n-=1,r=r.b,t=f(xr,e,t);continue n}return t}return t}}),qf=t(function(n,r){return st(s(If,n,r,T))}),Uf=e(function(n,r,t){if(r>0){var e=w(r,t);n:for(;;){r:for(;;){if(!e.b.b)return t;if(!e.b.b.b){if(1===e.a)break n;break r}switch(e.a){case 1:break n;case 2:var u=e.b;return j([u.a,u.b.a]);case 3:if(e.b.b.b.b){var a=e.b,i=a.b;return j([a.a,i.a,i.b.a])}break r;default:if(e.b.b.b.b&&e.b.b.b.b.b){var c=e.b,o=c.b,b=o.b,v=b.b,d=v.b;return f(xr,c.a,f(xr,o.a,f(xr,b.a,f(xr,v.a,n>1e3?f(qf,r-4,d):s(Uf,n+1,r-4,d)))))}break r}}return t}return j([e.b.a])}return T}),Bf=t(function(n,r){return s(Uf,0,n,r)}),Pf=t(function(n,r){return jf(f(Tf,n,r)).bU}),Qf=t(function(n,r){var t,e=f(Bf,f(Hf,n,r)-1,Jf);return t=f(ae,Ff(f(Pf,n,r)),e),s(Vr,qr,0,t)+f(xf,n,r)}),Xf=t(function(n,r){return f(Hf,n,r)/4|0}),Gf=t(function(n,r){return 1>n?"":s(It,-n,Ht(r),r)}),Kf=t(function(n,r){var t=Xr(r),e=n-Ht(t);return O(f(Gr,"",f(ae,function(){return"0"},f(tt,1,e))),t)}),Yf=t(function(n,r){return f(Ku,1e3,Af(r))}),Vf=t(function(n,r){return f(Ku,60,f(Tf,n,r))}),Zf=function(n){return n?n>12?n-12:n:12},ns=t(function(n,r){return f(Ku,60,f(Ef,Af(r),1e3))}),rs=Au(315576e5),ts=t(function(n,r){return Cu(rs*f(Pf,n,r))}),es=t(function(n,r){var t=f(Sf,n,f(ts,n,r));return 1+((f(Qf,n,r)+t)/7|0)}),us=t(function(n,r){return Xr(f(Pf,n,r))}),as=u(function(n,r,t,e){switch(e.$){case 0:return Xr(f(Hf,r,t));case 1:return O(Xr(u=f(Hf,r,t)),n.R(u));case 2:return f(Kf,2,f(Hf,r,t));case 3:return n.cR(f(Mf,r,t));case 4:return n.cS(f(Mf,r,t));case 17:return Xr(1+f(Xf,r,t));case 18:return function(r){return O(Xr(r),n.R(r))}(1+f(Xf,r,t));case 5:return Xr(f(xf,r,t));case 6:return function(r){return O(Xr(r),n.R(r))}(f(xf,r,t));case 7:return f(Kf,2,f(xf,r,t));case 8:return Xr(f(Qf,r,t));case 9:return function(r){return O(Xr(r),n.R(r))}(f(Qf,r,t));case 10:return f(Kf,3,f(Qf,r,t));case 11:return Xr(f(Sf,r,t));case 12:return function(r){return O(Xr(r),n.R(r))}(f(Sf,r,t));case 13:return n.cU(f(Df,r,t));case 14:return n.cV(f(Df,r,t));case 19:return Xr(f(es,r,t));case 20:return function(r){return O(Xr(r),n.R(r))}(f(es,r,t));case 21:return f(Kf,2,f(es,r,t));case 15:return f(Gf,2,f(us,r,t));case 16:return f(us,r,t);case 22:return s(Nf,n,r,t).toUpperCase();case 23:return function(n){return n.toLowerCase()}(s(Nf,n,r,t));case 24:return Xr(f(Cf,r,t));case 25:return f(Kf,2,f(Cf,r,t));case 26:return Xr(Zf(f(Cf,r,t)));case 27:return f(Kf,2,Zf(f(Cf,r,t)));case 28:return Xr(1+f(Cf,r,t));case 29:return f(Kf,2,1+f(Cf,r,t));case 30:return Xr(f(Vf,r,t));case 31:return f(Kf,2,f(Vf,r,t));case 32:return Xr(f(ns,r,t));case 33:return f(Kf,2,f(ns,r,t));case 34:return Xr(f(Yf,r,t));case 35:return f(Kf,3,f(Yf,r,t));default:return e.a}var u}),is=u(function(n,r,t,e){return f(Gr,"",f(ae,s(as,n,t,e),r))})(kf),cs={$:25},os={$:35},fs={$:31},ss={$:2},bs={$:33},vs=function(n){return{$:36,a:n}},ds=f(t(function(n,r){return{$:0,a:n,b:r}}),0,T),ls={$:16},$s=t(function(n,r){var t,e=r.b9,u=r.b4,a=r.b8;return f(Yc,T,j([f(Kc,T,j([f(ac,j([oc("results__link"),bc(f(Hc,n,a))]),j([vc(e)]))])),f(Kc,T,j([vc(a)])),f(Kc,j([oc("text-right")]),j([vc((t=u,s(is,j([gf,vs("."),ss,vs("."),ls,vs(", "),cs,vs(":"),fs,vs(":"),bs,vs("."),os]),ds,t)))]))]))}),hs=t(function(n,r){return r.b?f(Zc,T,j([f(eo,T,j([f(Yc,T,j([f(to,T,j([vc("Event name")])),f(to,T,j([vc("Event id")])),f(to,j([oc("text-right")]),j([vc("Created at")]))]))])),f(no,T,f(ae,$s(n),r))])):f(Gc,j([oc("results__empty")]),j([vc("No items")]))}),ps=u(function(n,r,t,e){var u=t.cl,a=t.ca;return f(fc,j([oc("browser")]),j([f(xc,j([oc("browser__title")]),j([vc(r)])),f(fc,j([oc("browser__pagination")]),j([lf(u)])),f(fc,j([oc("browser__results")]),j([f(hs,n,a)])),f(fc,T,j([f(pf,n,e)]))]))}),gs=function(n){return w("Stream "+n.ai,b(ps,n.ao.aC,"Events in "+n.ai,n.ca,n.cH))},ms=f(xc,T,j([vc("404")])),_s=e(function(n,r,t){var e=r(t),u=e.b;return w(Ur(e.a),f(Nc,n,u))});Ao={Main:{init:(To=(Oo={ci:Oi,cy:function(n){return{$:0,a:n}},cz:function(n){return{$:1,a:n}},cM:function(){return Ti},cX:ec,cY:function(n){var r=n.ao;if(1===r.$)return{aT:j([Lc]),bN:uc(Br)};var t=r.a,e=function(n){switch(n.$){case 2:return s(_s,ke,gs,n.a);case 1:return s(_s,we,af,n.a);default:return w(Br,ms)}}(n.x),u=e.a,a=e.b;return{aT:j([s(jc,Ci,s(tc,n,n.U,t),a)]),bN:uc(u)}}}).cy,Co=Oo.cz,No=function(){No.a(To(wr()))},_r({aD:function(n){return No.a=n,Er.addEventListener("popstate",No),0>Er.navigator.userAgent.indexOf("Trident")||Er.addEventListener("hashchange",No),t(function(r,t){if(!(t.ctrlKey||t.metaKey||t.shiftKey||t.button>=1||r.target||r.hasAttribute("download"))){t.preventDefault();var e=r.href,u=wr(),a=Zt(e).a;n(Co(a&&u.bt===a.bt&&u.a8===a.a8&&u.bo.a===a.bo.a?{$:0,a:a}:function(n){return{$:1,a:n}}(e)))}})},ci:function(n){return s(Oo.ci,n,wr(),No)},cY:Oo.cY,cX:Oo.cX,cM:Oo.cM}))(f(Rt,function(n){return f(Rt,function(r){return f(Rt,function(t){return St({aQ:t,az:r,aC:n})},f(sa,"apiUrl",su))},f(sa,"resVersion",su))},f(sa,"rootUrl",su)))(0)}},n.Elm?function n(r,t){for(var e in t)e in r?"init"==e?p(6):n(r[e],t[e]):r[e]=t[e]}(n.Elm,Ao):n.Elm=Ao}(this);
|
3
5
|
},{}],"Focm":[function(require,module,exports) {
|
4
6
|
require("./style/tailwind.css"),require("./style/style.css"),require("./style/spinner.css"),window.RubyEventStore={},window.RubyEventStore.Browser=require("./Main.elm");
|
5
|
-
},{"./style/tailwind.css":"Rfvt","./style/style.css":"Rfvt","./style/spinner.css":"Rfvt","./Main.elm":"
|
7
|
+
},{"./style/tailwind.css":"Rfvt","./style/style.css":"Rfvt","./style/spinner.css":"Rfvt","./Main.elm":"asWa"}]},{},["Focm"], null)
|
6
8
|
//# sourceMappingURL=/ruby_event_store_browser.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.js"],"names":["require","window","RubyEventStore","Browser"],"mappings":"
|
1
|
+
{"version":3,"sources":["index.js"],"names":["require","window","RubyEventStore","Browser"],"mappings":";;;;;AAAAA,QAAQ,wBACRA,QAAQ,qBACRA,QAAQ,uBAERC,OAAOC,eAAiB,GACxBD,OAAOC,eAAeC,QAAUH,QAAQ","file":"ruby_event_store_browser.js","sourceRoot":"../elm/src","sourcesContent":["require(\"./style/tailwind.css\");\nrequire(\"./style/style.css\");\nrequire(\"./style/spinner.css\");\n\nwindow.RubyEventStore = {};\nwindow.RubyEventStore.Browser = require(\"./Main.elm\");\n"]}
|
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.0.
|
4
|
+
version: 2.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arkency
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-12-01 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.0.
|
19
|
+
version: 2.0.3
|
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.0.
|
26
|
+
version: 2.0.3
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: sinatra
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|