From 685162cf2c5d580175f879aa2c010f825eaa26bb Mon Sep 17 00:00:00 2001 From: Dave Rapin Date: Thu, 5 Oct 2023 08:29:30 -0400 Subject: [PATCH] Added spares --- example.html | 2 +- prod.min.js | 2 +- src/Results.elm | 109 ++++++++++++++++++++++++++++++++++++++---------- 3 files changed, 89 insertions(+), 24 deletions(-) diff --git a/example.html b/example.html index b495ba8..f8b0ea7 100644 --- a/example.html +++ b/example.html @@ -28,7 +28,7 @@ // section: "leagues", // OPTIONAL. Can be "leagues", "competition", or "products". Will default to "leagues" if omitted or an invalid value is passed. registration: true, // OPTIONAL. Set to false if you don't want prices and the add to cart / register / waitlist buttons to show up. // eventId: 3742, // OPTIONAL. If you only want to show one specific event, enter it's ID here. - // excludeEventSections: ["details", "registrations"], // OPTIONAL. Event sections you don't want to show up. Possible values: "details", "registrations", "draws", "stages", "teams", "reports" + // excludeEventSections: ["details", "registrations", "spares"], // OPTIONAL. Event sections you don't want to show up. Possible values: "details", "registrations", "spares", "draws", "stages", "teams", "reports" // defaultEventSection: "draws", // OPTIONAL. If you want a default event section other than the details view. Possible values: "registrations", "spares", "draws", "stages", "teams", "reports" // theme: { // OPTIONAL. You can customize the colors used. // primary: "#ed1940", // OPTIONAL. The primary color in hexadecimal (important buttons / links / backgrounds). Default is red: #ed1940 diff --git a/prod.min.js b/prod.min.js index 526cfbc..ec18643 100644 --- a/prod.min.js +++ b/prod.min.js @@ -1 +1 @@ -!function(e){"use strict";function s(n,t,r){return r.a=n,r.f=t,r}function m(r){return s(2,r,function(t){return function(n){return r(t,n)}})}function x(e){return s(3,e,function(r){return function(t){return function(n){return e(r,t,n)}}})}function U(a){return s(4,a,function(e){return function(r){return function(t){return function(n){return a(e,r,t,n)}}}})}function o(u){return s(5,u,function(a){return function(e){return function(r){return function(t){return function(n){return u(a,e,r,t,n)}}}}})}function f(c){return s(6,c,function(u){return function(a){return function(e){return function(r){return function(t){return function(n){return c(u,a,e,r,t,n)}}}}}})}function b(i){return s(7,i,function(c){return function(u){return function(a){return function(e){return function(r){return function(t){return function(n){return i(c,u,a,e,r,t,n)}}}}}}})}function d(o){return s(8,o,function(i){return function(c){return function(u){return function(a){return function(e){return function(r){return function(t){return function(n){return o(i,c,u,a,e,r,t,n)}}}}}}}})}function l(f){return s(9,f,function(o){return function(i){return function(c){return function(u){return function(a){return function(e){return function(r){return function(t){return function(n){return f(o,i,c,u,a,e,r,t,n)}}}}}}}}})}function H(n,t,r){return 2===n.a?n.f(t,r):n(t)(r)}function T(n,t,r,e){return 3===n.a?n.f(t,r,e):n(t)(r)(e)}function y(n,t,r,e,a){return 4===n.a?n.f(t,r,e,a):n(t)(r)(e)(a)}function h(n,t,r,e,a,u){return 5===n.a?n.f(t,r,e,a,u):n(t)(r)(e)(a)(u)}function $(n,t,r,e,a,u,c){return 6===n.a?n.f(t,r,e,a,u,c):n(t)(r)(e)(a)(u)(c)}function v(n,t,r,e,a,u,c,i){return 7===n.a?n.f(t,r,e,a,u,c,i):n(t)(r)(e)(a)(u)(c)(i)}function p(n,t,r,e,a,u,c,i,o){return 8===n.a?n.f(t,r,e,a,u,c,i,o):n(t)(r)(e)(a)(u)(c)(i)(o)}function _(n,t){for(var r,e=[],a=g(n,t,0,e);a&&(r=e.pop());a=g(r.a,r.b,0,e));return a}function g(n,t,r,e){if(100"),t});function cn(n){throw Error("https://github.com/elm/core/blob/1.0.0/hints/"+n+".md")}var on=m(function(n,t){return n+t}),fn=(m(function(n,t){return n-t}),m(function(n,t){return n*t}),m(function(n,t){return n/t}),m(function(n,t){return n/t|0}),m(Math.pow)),sn=(m(function(n,t){return t%n}),m(function(n,t){t%=n;return 0===n?cn(11):0u||u>56319?(e[a]=n(t[a]),a++):(e[a]=n(t[a]+t[a+1]),a+=2)}return e.join("")}),m(function(n,t){for(var r=[],e=t.length,a=0;ac)return a}var d=r.$;if(4===d){for(var l=r.k;4===l.$;)l=l.k;return n(t,l,e,a,u+1,c,t.elm_event_node_ref)}var $=r.e;var v=t.childNodes;for(var p=0;p<$.length;p++){var h=1===d?$[p]:$[p].b,g=++u+(h.b||0);if(u<=f&&f<=g&&(a=n(v[p],h,e,a,u,g,i),!(o=e[a])||(f=o.r)>c))return a;u=g}return a}(n,t,r,0,0,t.b,e)}function Kt(n,t,r,e){return 0===r.length?n:(Jt(n,t,r,e),Ut(n,r))}function Ut(n,t){for(var r=0;r>n}),m(function(n,t){return t>>>n});function fr(n){return H(C,"\n ",H(je,"\n",n))}function sr(n){return 97<=(n=Ne(n))&&n<=122}function br(n){return(n=Ne(n))<=90&&65<=n}function dr(n){return sr(n)||br(n)||function(n){n=Ne(n);return n<=57&&48<=n}(n)}function lr(n){return n}function $r(n){return n.a}function vr(n){return T(ya,Ea(R),wa(k),n)}function pr(n){return{$:1,a:n}}function hr(n){return{ab:(t=H(za,n.b,n.bC),r=H(We,n.b,n.bC),t<600?0:1200 .ctr > ."+I.dZ+" {\n border: 4px dashed rgb(0, 151, 167) !important;\n}\n\n",Zn="@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {"+G(I.dZ)+(G(I.bc)+(" > "+G(I.dZ)+(" { flex-basis: auto !important; } "+G(I.dZ)+(G(I.bc)+(" > "+G(I.dZ)+(G(I.bw)+' { flex-basis: auto !important; }}\ninput[type="search"],\ninput[type="search"]::-webkit-search-decoration,\ninput[type="search"]::-webkit-search-cancel-button,\ninput[type="search"]::-webkit-search-results-button,\ninput[type="search"]::-webkit-search-results-decoration {\n -webkit-appearance:none;\n}\n\ninput[type=range] {\n -webkit-appearance: none; \n background: transparent;\n position:absolute;\n left:0;\n top:0;\n z-index:10;\n width: 100%;\n outline: dashed 1px;\n height: 100%;\n opacity: 0;\n}\n\ninput[type=range]::-moz-range-track {\n background: transparent;\n cursor: pointer;\n}\ninput[type=range]::-ms-track {\n background: transparent;\n cursor: pointer;\n}\ninput[type=range]::-webkit-slider-runnable-track {\n background: transparent;\n cursor: pointer;\n}\n\ninput[type=range]::-webkit-slider-thumb {\n -webkit-appearance: none;\n opacity: 0.5;\n width: 80px;\n height: 80px;\n background-color: black;\n border:none;\n border-radius: 5px;\n}\ninput[type=range]::-moz-range-thumb {\n opacity: 0.5;\n width: 80px;\n height: 80px;\n background-color: black;\n border:none;\n border-radius: 5px;\n}\ninput[type=range]::-ms-thumb {\n opacity: 0.5;\n width: 80px;\n height: 80px;\n background-color: black;\n border:none;\n border-radius: 5px;\n}\ninput[type=range][orient=vertical]{\n writing-mode: bt-lr; /* IE */\n -webkit-appearance: slider-vertical; /* WebKit */\n}\n'))))))+En,uo=m(function(n,t){return{bs:t,I:k,as:k,_:n}}),co=m(function(n,t){var u=n,n=m(function(n,t){switch(n.$){case 0:return w(t,{as:H(R,{a:n.a,b:n.b},t.as)});case 3:var r=n.a;return w(t,{I:H(R,{bs:"\n}",I:k,as:n.b,_:"@supports ("+r.a+":"+r.b+") {"+u._},t.I)});case 5:r=n.b;return w(t,{I:H(R,H(co,H(uo,u._+" + "+n.a,""),r),t.I)});case 1:var e=n.a,a=n.b;return w(t,{I:H(R,H(co,H(uo,u._+" > "+e,""),a),t.I)});case 2:e=n.a,a=n.b;return w(t,{I:H(R,H(co,H(uo,u._+" "+e,""),a),t.I)});case 4:r=n.b;return w(t,{I:H(R,H(co,H(uo,D(u._,n.a),""),r),t.I)});default:e=n.a;return w(t,{I:H(R,H(co,H(uo,u._,""),e),t.I)})}});return T(ya,n,u,t)}),io=D(Zn,(An=D(jn,Sn),fe=function(n){return ce(H(S,function(n){return n.a+":"+n.b+";"},n))},ce(H(S,oo,T(ya,m(function(n,t){var r=n.b;return H(R,H(co,H(uo,n.a,""),r),t)}),k,An)))));function oo(n){return D(function(n){return n.as.b?n._+("{"+fe(n.as))+(n.bs+"}"):""}(n),ce(H(S,oo,n.I)))}function fo(n){switch(n.eM){case 0:return T(re,"div",k,j([T(re,"style",k,j([af(io)]))]));case 1:return af("");default:return T(re,"elm-ui-static-rules",j([H(ro,"rules",di(io))]),k)}}function so(n){switch(n.$){case 0:return"serif";case 1:return"sans-serif";case 2:return"monospace";case 3:return'"'+(t=n.a)+'"';case 4:var t=n.a;return'"'+t+'"';default:return'"'+(t=n.a.k)+'"'}}function bo(n){switch(n.$){case 0:return"smcp"===n.a;case 1:return!1;default:return"smcp"===n.a&&1===n.b}}function lo(n){return 5===n.$&&H($i,bo,n.a.dH)}function $o(n){switch(n.$){case 0:return'"'+n.a+'"';case 1:return'"'+n.a+'" 0';default:return'"'+n.a+('" '+M(n.b))}}function vo(n){return 5===n.$?A(H(C,", ",H(S,$o,n.a.dH))):L}function po(n){return n.b?A(T(Ee,We,n.a,n.b)):L}function ho(n){return n.b?A(T(Ee,za,n.a,n.b)):L}function go(n){function t(n){return 4===n.$?A("@import url('"+n.b+"');"):L}var r=H(S,$r,n);return D(H(C,"\n",H(S,function(n){return H(C,"\n",H(du,t,n.b))},n)),H(C,"\n",H(S,function(n){var t=n.a,n=function(n){return T(Ee,m(function(n,t){return 1!==t.$||5!==n.$||1===(n=n.a.dO).$?t:A({a:gf(hf(t=n.a).cN),b:gf(hf(t).eb)})}),L,n)}(n.b);return H(C,"",H(S,1===n.$?$f(t):H(lf,t,n.a),r))},n)))}function mo(n){return mt(jt(n))}function _o(n){return H(Ii,j([P(qf)]),j([Nf(n)]))}function wo(n){return H(Ii,j([P(zf)]),j([Nf(n)]))}function xo(n){switch(n.$){case 0:var t=M(n.a),r="height-px-"+t;return{a:Yf,b:I.cR+" "+r,c:j([T(Hf,r,"height",t+"px")])};case 1:return{a:H(Rf,Ff,Yf),b:I.b3,c:k};case 2:r=n.a;return 1===r?{a:H(Rf,kf,Yf),b:I.b4,c:k}:{a:H(Rf,kf,Yf),b:I.cS+(" height-fill-"+M(r)),c:j([T(Hf,I.dZ+("."+I.aj+(" > "+G("height-fill-"+M(r)))),"flex-grow",M(1e5*r))])};case 3:var t=n.a,e=n.b,a="min-height-"+M(t),u=T(Hf,a,"min-height",M(t)+"px !important"),r=xo(e),c=r.a,i=r.b,o=r.c;return{a:H(Rf,yf,c),b:a+" "+i,c:H(R,u,o)};default:t=n.a,e=n.b,a="max-height-"+M(t),u=T(Hf,a,"max-height",M(t)+"px"),r=xo(e),c=r.a,i=r.b,o=r.c;return{a:H(Rf,yf,c),b:a+" "+i,c:H(R,u,o)}}}function yo(n){switch(n.$){case 0:var t=n.a;return{a:Yf,b:I.dJ+(" width-px-"+M(t)),c:j([T(Hf,"width-px-"+M(t),"width",M(t)+"px")])};case 1:return{a:H(Rf,Vf,Yf),b:I.cr,c:k};case 2:t=n.a;return 1===t?{a:H(Rf,Sf,Yf),b:I.cs,c:k}:{a:H(Rf,Sf,Yf),b:I.dK+(" width-fill-"+M(t)),c:j([T(Hf,I.dZ+("."+I.bc+(" > "+G("width-fill-"+M(t)))),"flex-grow",M(1e5*t))])};case 3:var t=n.a,r=n.b,e="min-width-"+M(t),a=T(Hf,e,"min-width",M(t)+"px"),t=yo(r),u=t.a,c=t.b,i=t.c;return{a:H(Rf,Cf,u),b:e+" "+c,c:H(R,a,i)};default:t=n.a,r=n.b,e="max-width-"+M(t),a=T(Hf,e,"max-width",M(t)+"px"),t=yo(r),u=t.a,c=t.b,i=t.c;return{a:H(Rf,Cf,u),b:e+" "+c,c:H(R,a,i)}}}function ko(n){return{$:8,a:n}}function jo(n){return{$:7,a:n}}function Eo(n){switch(n.$){case 0:return"Bad URL used: "+n.a;case 1:return"Network timeout. Please check your internet connection.";case 2:return"Network error. Please check your internet connection.";case 3:return"Bad status response from server. Please contact Curling I/O support if the issue persists for more than a few minutes.";default:return'Bad body response from server. Please contact Curling I/O support if the issue persists for more than a few minutes. Details: "'+n.a+'"'}}function Ao(n){return{$:2,a:n}}function Lo(n){return{$:1,a:n}}function Co(n){return H(hs,4,n)}function So(n){return{$:1,a:P(n)}}function Zo(n){return{$:3,a:n}}function No(n){var t=n;return H(yi,Ss,h(Cs,"p-"+M(n),t,t,t,t))}function qo(n){return H(yi,ys,{$:2,a:n})}function N(n){return H(yi,Ts,T(Hs,H(Ds,n,n),n,n))}function zo(n){return 4===n.$&&11===n.b.$&&!n.b.a}function Bo(n){return H(yi,Xs,H(Vs,0,(n=T(Ee,ub,{a:k,b:us},n=n),t=n.a,H(R,Tf(n.b),t))));var t}function Ho(n){return H(yi,cb,T(Hf,"br-"+M(n),"border-radius",M(n)+"px"))}function To(n){return H(pb,j([gb("32"),$b("32"),hb("0 0 24 24")]),j([H(vb,j([lb(n)]),k)]))}function Do(n){return wc(H(S,function(n){return n.Y},n))}function Ro(n){return n.b?A(n.a):L}function Mo(n){var t,r=n.i,e=n.h,a=n.f,n=n.g;return _(r,e)&&_(r,a)&&_(r,n)?H(yi,Ss,h(Cs,"p-"+M(t=r),t,t,t,t)):H(yi,Ss,h(Cs,y(zb,r,e,a,n),r,e,a,n))}function Po(n){return H(Ps,j([N(10),q(B),gi,O(P("cio__sponsor"))]),j([(t=n.dG).$?H(Db,k,{ax:H(Ja,"",n.k),ck:n.b5}):(t=t.a,H(z,j([q(B),Qs,Us({$:4,a:t})]),H(Db,j([hi]),{ax:H(Ja,"",n.k),ck:n.b5}))),(t=n.k).$?J:(t=t.a,H(z,j([hi]),{$:2,a:t}))]));var t}function Io(n){return H(yi,Mb,T(xi,"bc-"+Fr(n),"border-color",n))}function Go(n){return T(Ee,xe,0,n)}function Oo(n){return{$:1,a:n}}function Jo(n){return{$:0,a:n}}function Ko(n){return H(hs,2,n)}function Uo(n){return H(yi,Xf,h($0,"b-"+M(n),n,n,n,n))}function Wo(n){var t=n.f,r=n.i,e=n.g,n=n.h;return _(r,t)&&_(e,n)?_(r,n)?Uo(r):H(v0,e,r):H(yi,Xf,h($0,"b-"+M(r)+("-"+M(n)+("-"+M(t)+("-"+M(e)))),r,n,t,e))}function Fo(n){return H(z,k,{$:2,a:H(K,n,"no_data_for_route")})}function Qo(n){return T(ya,m(function(n,t){var r,e=t.a,t=t.b;return{a:e.$?4===n.$&&7===n.b.$?A(h(Z0,(r=n.b).a,r.b,r.c,r.d,r.e)):L:e,b:t.$?4===n.$&&5===n.b.$?A(T(N0,(r=n.b).a,r.b,r.c)):L:t}}),{a:L,b:L},n)}function Yo(n){return!(!n.M.b&&_(n.bu,L)&&_(n.bt,L)&&_(n.bv,L))}function Vo(n){return{$:12,a:n}}function Xo(n){var t=m(function(n,t){return 4===n.$&&5===n.b.$&&(n=n.b,1===t.$)?A(n.c):t});return 1===(t=T(ya,t,L,n)).$?ps:(n=Ke(t.a/2),H(nb,pd,vd(-n)))}function nf(n){return 8===n.$?A(n.a):L}function tf(n){for(;;)switch(n.$){case 1:return!1;case 0:case 2:return!0;case 3:n=n.b;continue;default:return!0}}function rf(n){return{a:n,b:!0}}function ef(n){for(;;)switch(n.$){case 2:return 1;case 1:case 0:return;default:n=n.b;continue}}var af=pt,uf=m(function(n,t){return T(Ee,function(r){return m(function(n,t){return t.push(r(n)),t})}(n),[],t)}),cf=x(function(n,t,r){var e=t.a,t=t.b;return n?r+"\n "+e+": "+t+" !important;":r+"\n "+e+": "+t+";"}),of=U(function(n,t,r,e){if(1===t.$)return j([r+("{"+T(Ee,cf(!1),"",e))+"\n}"]);switch(t.a){case 1:switch(n.ev){case 0:return k;case 2:return j([r+("-hv {"+T(Ee,cf(!0),"",e))+"\n}"]);default:return j([r+("-hv:hover {"+T(Ee,cf(!1),"",e))+"\n}"])}case 0:var a=T(Ee,cf(!1),"",e);return j([r+"-fs:focus {"+a+"\n}","."+I.dZ+":focus "+r+"-fs {"+a+"\n}",r+"-fs:focus-within {"+a+"\n}",".ui-slide-bar:focus + "+G(I.dZ)+" .focusable-thumb"+r+"-fs {"+a+"\n}"]);default:return j([r+("-act:active {"+T(Ee,cf(!1),"",e))+"\n}"])}}),ff=x(function(t,n,r){switch(n.$){case 0:return y(of,t,r,n.a,n.b);case 13:return y(of,t,r,"."+(e=n.a),j([H(Fi,"box-shadow",n.b)]));case 12:var e=n.a,a=H(We,0,H(za,1,1-n.b));return y(of,t,r,"."+e,j([H(Fi,"opacity",Yi(a))]));case 2:a=n.a;return y(of,t,r,".font-size-"+M(a),j([H(Fi,"font-size",M(a)+"px")]));case 1:var e=n.a,a=n.b,u=H(C,", ",H(du,vo,a)),u=j([H(Fi,"font-family",H(C,", ",H(S,so,a))),H(Fi,"font-feature-settings",u),H(Fi,"font-variant",H($i,lo,a)?"small-caps":"normal")]);return y(of,t,r,"."+e,u);case 3:return y(of,t,r,"."+(p=n.a),j([H(Fi,n.b,w=n.c)]));case 4:return y(of,t,r,"."+(p=n.a),j([H(Fi,n.b,Vi(n.c))]));case 5:var c=n.a,a=n.b,e=n.c,u=M(e)+"px",i=M(a)+"px",o="."+I.bc,f="."+I.cv+o,s="."+I.cz,b="."+I.c9,d="."+I.bb,l="."+I.cy,$=Yi(e/2)+"px",a=Yi(a/2)+"px",v="."+I.aj,p="."+c,h="."+I.dZ;return wc(j([y(of,t,r,p+o+" > "+h+" + "+h,j([H(Fi,"margin-left",i)])),y(of,t,r,p+f+" > "+h,j([H(Fi,"margin",$+" "+a)])),y(of,t,r,p+v+" > "+h+" + "+h,j([H(Fi,"margin-top",u)])),y(of,t,r,p+d+" > "+h+" + "+h,j([H(Fi,"margin-top",u)])),y(of,t,r,p+d+" > "+l,j([H(Fi,"margin-right",i)])),y(of,t,r,p+d+" > "+s,j([H(Fi,"margin-left",i)])),y(of,t,r,D(p,b),j([H(Fi,"line-height","calc(1em + "+M(e)+"px)")])),y(of,t,r,"textarea"+h+p,j([H(Fi,"line-height","calc(1em + "+M(e)+"px)"),H(Fi,"height","calc(100% + "+M(e)+"px)")])),y(of,t,r,p+b+" > "+l,j([H(Fi,"margin-right",i)])),y(of,t,r,p+b+" > "+s,j([H(Fi,"margin-left",i)])),y(of,t,r,p+b+"::after",j([H(Fi,"content","''"),H(Fi,"display","block"),H(Fi,"height","0"),H(Fi,"width","0"),H(Fi,"margin-top",M(-1*(e/2|0))+"px")])),y(of,t,r,p+b+"::before",j([H(Fi,"content","''"),H(Fi,"display","block"),H(Fi,"height","0"),H(Fi,"width","0"),H(Fi,"margin-bottom",M(-1*(e/2|0))+"px")]))]));case 7:var c=n.a,g=n.b,s=n.c,m=n.d,l=n.e;return y(of,t,r,p="."+c,j([H(Fi,"padding",Yi(g)+("px "+Yi(s)+("px "+Yi(m)+("px "+Yi(l))))+"px")]));case 6:c=n.a,g=n.b,s=n.c,m=n.d,l=n.e;return y(of,t,r,p="."+c,j([H(Fi,"border-width",M(g)+("px "+M(s)+("px "+M(m)+("px "+M(l))))+"px")]));case 8:var o=n.a,_=x(function(n,t,r){for(;;)switch(r.$){case 0:return M(r.a)+"px";case 1:var e={a:n,b:t};return 1===e.a.$?1===e.b.$?"max-content":"minmax(max-content, "+M(a=e.b.a)+"px)":1===e.b.$?"minmax("+M(e.a.a)+"px, max-content)":(a=e.b.a,"minmax("+M(e.a.a)+("px, "+M(a))+"px)");case 2:var a,e=r.a,u={a:n,b:t};return 1===u.a.$?1===u.b.$?M(e)+"fr":"minmax(max-content, "+M(a=u.b.a)+"px)":1===u.b.$?"minmax("+M(u.a.a)+("px, "+M(e))+"frfr)":(a=u.b.a,"minmax("+M(u.a.a)+("px, "+M(a))+"px)");case 3:var c=r.a,i=r.b;n=A(c),t=t,r=i;continue;default:c=r.a,i=r.b;n=n,t=A(c),r=i;continue}}),f=function(n){return T(_,L,L,n)},$=(f(o.ff.a),f(o.ff.b)),a="grid-template-rows: "+H(C," ",H(S,f,o.e4))+";",v="-ms-grid-rows: "+H(C,$,H(S,f,o.P))+";",u="-ms-grid-columns: "+H(C,$,H(S,f,o.P))+";",d="grid-row-gap:"+f(o.ff.b)+";",h="grid-column-gap:"+f(o.ff.a)+";",i="grid-template-columns: "+H(C," ",H(S,f,o.P))+";";return j([(p=".grid-rows-"+H(C,"-",H(S,Oi,o.e4))+("-cols-"+H(C,"-",H(S,Oi,o.P))+("-space-x-"+Oi(o.ff.a)+("-space-y-"+Oi(o.ff.b)))))+"{"+u+v+"}","@supports (display:grid) {"+(p+"{"+i+a+h+d+"}")+"}"]);case 9:b=n.a,e=H(C," ",j(["-ms-grid-row: "+M(b.bc)+";","-ms-grid-row-span: "+M(b.bC)+";","-ms-grid-column: "+M(b.a5)+";","-ms-grid-column-span: "+M(b.b)+";"])),g=H(C," ",j(["grid-row: "+M(b.bc)+(" / "+M(b.bc+b.bC))+";","grid-column: "+M(b.a5)+(" / "+M(b.a5+b.b))+";"]));return j([(p=".grid-pos-"+M(b.bc)+("-"+M(b.a5)+("-"+M(b.b)+("-"+M(b.bC)))))+"{"+e+"}","@supports (display:grid) {"+(p+"{"+g+"}")+"}"]);case 11:p=n.a;return H(xc,function(n){return T(ff,t,n,A(p))},n.b);default:var s=n.a,w=function(n){switch(n.$){case 0:return L;case 1:var t=n.a,r=t.b,e=t.c;return A("translate3d("+Yi(t.a)+("px, "+Yi(r)+("px, "+Yi(e)))+"px)");default:var t=n.a,r=t.b,e=t.c,a=n.b,u=a.a,c=a.b,a=a.c,i=n.c,o=i.a,f=i.b,i=i.c,s=n.d,t="translate3d("+Yi(t.a)+("px, "+Yi(r)+("px, "+Yi(e)))+"px)",r="scale3d("+Yi(u)+(", "+Yi(c)+(", "+Yi(a)))+")",e="rotate3d("+Yi(o)+(", "+Yi(f)+(", "+Yi(i)+(", "+Yi(s))))+"rad)";return A(t+" "+r+" "+e)}}(s),m={a:p=Vr(s),b:w};return m.a.$||m.b.$?k:y(of,t,r,"."+(c=m.a.a),j([H(Fi,"transform",m.b.a)]))}}),sf=m(function(r,n){return n=H(S,function(n){var t=T(ff,r,n,L);return{a:Xr(n),b:H(uf,di,t)}},n),T(Ee,m(function(n,t){return T(On,n.a,n.b,t)}),{},n)}),bf=m(function(n,t){return n+(" {"+H(C,"",H(S,function(n){return n.a+": "+n.b+";"},t)))+"}"}),df=x(function(n,t,r){var e=r.b;return j([H(bf,"."+n+"."+t+", ."+n+" ."+t,r.a),H(bf,"."+n+"."+t+"> ."+I.fo+", ."+n+" ."+t+" > ."+I.fo,e)])}),lf=x(function(n,t,r){var e=t.a,t=t.b,r=_(n,r)?n:r+" ."+n;return H(C," ",D(T(df,r,I.fd,t),T(df,r,I.er,e)))}),$f=m(function(n,t){t=_(n,t)?n:t+" ."+n;return H(C," ",j([H(bf,"."+t+"."+I.fd+", ."+t+" ."+I.fd,j([{a:"line-height",b:"1"}])),H(bf,"."+t+"."+I.fd+"> ."+I.fo+", ."+t+" ."+I.fd+" > ."+I.fo,j([{a:"vertical-align",b:"0"},{a:"line-height",b:"1"}]))]))}),vf=x(function(n,t,r){return{bC:t/n,dv:n,dI:r}}),pf=m(function(r,n){return T(ya,m(function(n,t){return r(n)?H(R,n,t):t}),k,n)}),hf=function(n){var t=j([n.eb,n.d0,n.ek,n.eK]),r=H(Ja,n.ek,ho(t)),e=H(Ja,n.d0,ho(H(pf,function(n){return!_(n,r)},t))),n=H(Ja,n.eb,po(t)),t=1/(n-r),a=1-n;return{eb:T(vf,1/(n-e),n-e,1-n),cN:T(vf,t,n-r,a)}},gf=function(n){return{a:j([{a:"display",b:"block"}]),b:j([{a:"display",b:"inline-block"},{a:"line-height",b:Yi(n.bC)},{a:"vertical-align",b:Yi(n.dI)+"em"},{a:"font-size",b:Yi(n.dv)+"em"}])}},mf=m(function(r,n){var t=m(function(n,t){return{bH:D(t.bH,T(ff,r,n,L)),bm:1===(n=1===(n=n).$?A({a:n.a,b:n.b}):L).$?t.bm:H(R,n.a,t.bm)}}),t=T(Ee,t,{bH:k,bm:k},n),n=t.bH;return D(go(t.bm),ce(n))}),_f=m(function(n,t){switch(n.eM){case 0:case 1:return T(re,"div",k,j([T(re,"style",k,j([af(H(mf,n,t))]))]));default:return T(re,"elm-ui-rules",j([H(ro,"rules",H(sf,n,t))]),k)}}),wf=U(function(n,t,r,e){r=H(_f,t,T(Ee,Wi,{a:Gi,b:te(t.eo)},r).b);return n?H(R,{a:"static-stylesheet",b:fo(t)},H(R,{a:"dynamic-stylesheet",b:r},e)):H(R,{a:"dynamic-stylesheet",b:r},e)}),xf=U(function(n,t,r,e){r=H(_f,t,T(Ee,Wi,{a:Gi,b:te(t.eo)},r).b);return n?H(R,fo(t),H(R,r,e)):H(R,r,e)}),yf=Wr(45),kf=Wr(37),jf=gt("p"),Ef=m(function(n,t){var r,e=t.a;return n.$?_((r=n.a)&t.b,r):_((t=n.a)&e,t)}),Af=gt("s"),Lf=gt("u"),Cf=Wr(44),Sf=Wr(39),Zf=f(function(n,t,r,a,u,e){var c=m(function(n,t){var r,e;return 1===a.$?(r=a.a,T(mo,n,t,function(){switch(u.$){case 0:return r;case 2:return y(wf,!1,u.a,u.b,r);default:return y(wf,!0,u.a,u.b,r)}}())):(e=a.a,H(function(){switch(n){case"div":return Ii;case"p":return jf;default:return re(n)}}(),t,function(){switch(u.$){case 0:return e;case 2:return y(xf,!1,u.a,u.b,e);default:return y(xf,!0,u.a,u.b,e)}}()))}),i=function(){switch(t.$){case 0:return H(c,"div",r);case 1:return H(c,t.a,r);default:return T(re,t.a,r,j([H(c,t.b,j([P(I.dZ+" "+I.fc)]))]))}}();switch(e){case 0:return H(Ef,Sf,n)&&!H(Ef,Cf,n)?i:H(Ef,Ri,n)?H(Lf,j([P(H(C," ",j([I.dZ,I.fc,I.bw,I.ak,I.dV])))]),j([i])):H(Ef,Mi,n)?H(Af,j([P(H(C," ",j([I.dZ,I.fc,I.bw,I.ak,I.dT])))]),j([i])):i;case 1:return H(Ef,kf,n)&&!H(Ef,yf,n)?i:H(Ef,Pi,n)?H(Af,j([P(H(C," ",j([I.dZ,I.fc,I.bw,I.dU])))]),j([i])):H(Ef,Di,n)?H(Lf,j([P(H(C," ",j([I.dZ,I.fc,I.bw,I.dS])))]),j([i])):i;default:return i}}),Nf=af,qf=I.dZ+" "+I.fo+" "+I.cr+" "+I.b3,zf=I.dZ+" "+I.fo+" "+I.cs+" "+I.b4,Bf=x(function(i,n,t){var r,e,a,u,c=m(function(n,t){var r=n.a,e=n.b,a=t.a,u=t.b;switch(e.$){case 0:var c=e.a;return _(i,4),{a:H(R,{a:r,b:c(i)},a),b:u};case 1:c=e.a;return _(i,4),{a:H(R,{a:r,b:H(c.ew,Bi,i)},a),b:u.b?D(c.fm,u):c.fm};case 2:c=e.a;return{a:H(R,{a:r,b:(_(i,2)?wo:_o)(c)},a),b:u};default:return{a:a,b:u}}}),o=m(function(n,t){var r=t.a,e=t.b;switch(n.$){case 0:var a=n.a;return _(i,4),{a:H(R,a(i),r),b:e};case 1:a=n.a;return _(i,4),{a:H(R,H(a.ew,Bi,i),r),b:e.b?D(a.fm,e):a.fm};case 2:a=n.a;return{a:H(R,(_(i,2)?wo:_o)(a),r),b:e};default:return{a:r,b:e}}});return 1===n.$?(r=(c=T(ya,c,{a:k,b:k},n.a)).a,(a=(e=c.b).b?D(t.fm,e):t.fm).b?(u=a,{$:1,a:{ew:y(Zf,t.aA,t.aE,t.av,{$:1,a:T(Ti,"nearby-element-pls",r,t.aw)}),fm:u}}):{$:0,a:h(Zf,t.aA,t.aE,t.av,{$:1,a:T(Ti,"nearby-element-pls",r,t.aw)},Bi)}):(r=(c=T(ya,o,{a:k,b:k},n.a)).a,(a=(e=c.b).b?D(t.fm,e):t.fm).b?(u=a,{$:1,a:{ew:y(Zf,t.aA,t.aE,t.av,{$:0,a:H(Hi,r,t.aw)}),fm:u}}):{$:0,a:h(Zf,t.aA,t.aE,t.av,{$:0,a:H(Hi,r,t.aw)},Bi)})}),Hf=x(function(n,t,r){return{$:3,a:n,b:t,c:r}}),Tf=function(n){return{$:10,a:n}},Df=m(function(n,t){return{$:0,a:n,b:t}}),Rf=m(function(n,t){var r=t.a,t=t.b;return n.$?H(Df,r,n.a|t):H(Df,n.a|r,t)}),Mf=m(function(n,t){return{$:3,a:n,b:t}}),Pf=m(function(n,t){return H(Ii,j([P(function(){switch(n){case 0:return H(C," ",j([I.aS,I.fc,I.dN]));case 1:return H(C," ",j([I.aS,I.fc,I.d2]));case 2:return H(C," ",j([I.aS,I.fc,I.eQ]));case 3:return H(C," ",j([I.aS,I.fc,I.eP]));case 4:return H(C," ",j([I.aS,I.fc,I.eA]));default:return H(C," ",j([I.aS,I.fc,I.d1]))}}())]),j([function(){switch(t.$){case 3:return af("");case 2:return _o(t.a);case 0:return(0,t.a)(2);default:return H(t.a.ew,Bi,2)}}()]))}),If=x(function(n,t,r){var e=H(Pf,n,t);switch(r.$){case 0:return 5===n?{$:1,a:j([e])}:{$:2,a:j([e])};case 1:var a=r.a;return 5===n?{$:1,a:H(R,e,a)}:H(Mf,a,j([e]));case 2:var u=r.a;return 5===n?H(Mf,j([e]),u):{$:2,a:H(R,e,u)};default:a=r.a,u=r.b;return 5===n?H(Mf,H(R,e,a),u):H(Mf,a,H(R,e,u))}}),Gf=m(function(n,t){return{$:2,a:n,b:t}}),Of=m(function(n,t){switch(t.$){case 0:return{$:1,a:n};case 1:return H(Gf,t.a,n);default:return H(Gf,t.a,t.b)}}),Jf=m(function(n,t){return H(kt,function(n){return/^(on|formAction$)/i.test(n)?"data-"+n:n}(n),Et(t))}),Kf=U(function(n,t,r,e){return{$:2,a:n,b:t,c:r,d:e}}),Uf=m(function(n,t){switch(n.$){case 0:switch(t.$){case 0:return{$:1,a:{a:r=t.a,b:0,c:0}};case 1:return{$:1,a:{a:0,b:e=t.a,c:0}};case 2:return{$:1,a:{a:0,b:0,c:a=t.a}};case 3:return{$:1,a:t.a};case 4:return y(Kf,{a:0,b:0,c:0},{a:1,b:1,c:1},t.a,o=t.b);default:return y(Kf,{a:0,b:0,c:0},t.a,{a:0,b:0,c:1},0)}case 1:var r=(u=n.a).a,e=u.b,a=u.c;switch(t.$){case 0:return{$:1,a:{a:t.a,b:e,c:a}};case 1:return{$:1,a:{a:r,b:t.a,c:a}};case 2:return{$:1,a:{a:r,b:e,c:t.a}};case 3:return{$:1,a:t.a};case 4:return y(Kf,u,{a:1,b:1,c:1},t.a,o=t.b);default:return y(Kf,u,t.a,{a:0,b:0,c:1},0)}default:var u,r=(u=n.a).a,e=u.b,a=u.c,c=n.b,i=n.c,o=n.d;switch(t.$){case 0:return y(Kf,{a:t.a,b:e,c:a},c,i,o);case 1:return y(Kf,{a:r,b:t.a,c:a},c,i,o);case 2:return y(Kf,{a:r,b:e,c:t.a},c,i,o);case 3:return y(Kf,t.a,c,i,o);case 4:return y(Kf,u,c,t.a,t.b);default:return y(Kf,u,t.a,i,o)}}}),Wf=Wr(7),Ff=Wr(36),Qf=m(function(n,t){return H(Df,n.a|t.a,n.b|t.b)}),Yf=H(Df,0,0),Vf=Wr(38),Xf=Wr(27),ns=m(function(n,t){if(_(n,Xf)){if(3!==t.$)return!1;switch(t.c){case"0px":case"1px":case"2px":case"3px":case"4px":case"5px":case"6px":return!0;default:return!1}}else switch(t.$){case 2:var r=t.a;return 8<=r&&r<=32;case 7:var r=t.b,e=t.c,a=t.e;return _(r,t.d)&&_(r,e)&&_(r,a)&&0<=r&&r<=24;default:return!1}}),ts=Wr(6),rs=Wr(30),es=Wr(29),as=d(function(n,t,r,e,a,u,c,i){for(;;){var o;if(!i.b)return 1===(o=Vr(e)).$?{av:H(R,P(n),u),aw:c,aA:r,aE:t,fm:a}:{av:H(R,P(n+" "+o.a),u),aw:c,aA:r,aE:t,fm:H(R,Tf(e),a)};var f=i.a,s=i.b;switch(f.$){case 0:n=l=n,t=$=t,r=v=r,e=p=e,a=h=a,u=g=u,c=q=c,i=s;continue;case 3:var b=f.a,d=f.b;if(H(Ef,b,r)){n=l=n,t=$=t,r=v=r,e=p=e,a=h=a,u=g=u,c=q=c,i=s;continue}n=l=d+" "+n,t=$=t,r=v=H(Rf,b,r),e=p=e,a=h=a,u=g=u,c=q=c,i=s;continue;case 1:var l=n,$=t,v=r,p=e,h=a,g=H(R,f.a,u);n=l,t=$,r=v,e=p,a=h,u=g,c=q=c,i=s;continue;case 4:b=f.a,d=f.b;if(H(Ef,b,r)){n=l=n,t=$=t,r=v=r,e=p=e,a=h=a,u=g=u,c=q=c,i=s;continue}if(H(ns,b,d)){n=l=Xr(d)+" "+n,t=$=t,r=v=H(Rf,b,r),e=p=e,a=h=a,u=g=u,c=q=c,i=s;continue}l=Xr(d)+" "+n,$=t,v=H(Rf,b,r),p=e,h=H(R,d,a);n=l,t=$,r=v,e=p,a=h,u=g=u,c=q=c,i=s;continue;case 10:var b=f.a,m=f.b;n=l=n,t=$=t,r=v=H(Rf,b,r),e=p=H(Uf,e,m),a=h=a,u=g=u,c=q=c,i=s;continue;case 7:var _=f.a;if(H(Ef,ts,r)){n=l=n,t=$=t,r=v=r,e=p=e,a=h=a,u=g=u,c=q=c,i=s;continue}switch(_.$){case 0:var w=_.a,l=I.dJ+(" width-px-"+M(w))+" "+n,$=t,v=H(Rf,ts,r),p=e,h=H(R,T(Hf,"width-px-"+M(w),"width",M(w)+"px"),a);n=l,t=$,r=v,e=p,a=h,u=g=u,c=q=c,i=s;continue;case 1:n=l=n+" "+I.cr,t=$=t,r=v=H(Rf,Vf,H(Rf,ts,r)),e=p=e,a=h=a,u=g=u,c=q=c,i=s;continue;case 2:if(1===(E=_.a)){n=l=n+" "+I.cs,t=$=t,r=v=H(Rf,Sf,H(Rf,ts,r)),e=p=e,a=h=a,u=g=u,c=q=c,i=s;continue}l=n+(" "+I.dK+(" width-fill-"+M(E))),$=t,v=H(Rf,Sf,H(Rf,ts,r)),p=e,h=H(R,T(Hf,I.dZ+("."+I.bc+(" > "+G("width-fill-"+M(E)))),"flex-grow",M(1e5*E)),a);n=l,t=$,r=v,e=p,a=h,u=g=u,c=q=c,i=s;continue;default:var x=yo(_),y=x.a,k=x.b,j=x.c,l=n+" "+k,$=t,v=H(Qf,y,H(Rf,ts,r)),p=e,h=D(j,a);n=l,t=$,r=v,e=p,a=h,u=g=u,c=q=c,i=s;continue}case 8:var E,A=f.a;if(H(Ef,Wf,r)){n=l=n,t=$=t,r=v=r,e=p=e,a=h=a,u=g=u,c=q=c,i=s;continue}switch(A.$){case 0:var L=M(w=A.a)+"px",C="height-px-"+L,l=I.cR+" "+C+" "+n,$=t,v=H(Rf,Wf,r),p=e,h=H(R,T(Hf,C,"height ",L),a);n=l,t=$,r=v,e=p,a=h,u=g=u,c=q=c,i=s;continue;case 1:n=l=I.b3+" "+n,t=$=t,r=v=H(Rf,Ff,H(Rf,Wf,r)),e=p=e,a=h=a,u=g=u,c=q=c,i=s;continue;case 2:if(1===(E=A.a)){n=l=I.b4+" "+n,t=$=t,r=v=H(Rf,kf,H(Rf,Wf,r)),e=p=e,a=h=a,u=g=u,c=q=c,i=s;continue}l=n+(" "+I.cS+(" height-fill-"+M(E))),$=t,v=H(Rf,kf,H(Rf,Wf,r)),p=e,h=H(R,T(Hf,I.dZ+("."+I.aj+(" > "+G("height-fill-"+M(E)))),"flex-grow",M(1e5*E)),a);n=l,t=$,r=v,e=p,a=h,u=g=u,c=q=c,i=s;continue;default:var C=xo(A),y=C.a,k=C.b,j=C.c,l=n+" "+k,$=t,v=H(Qf,y,H(Rf,Wf,r)),p=e,h=D(j,a);n=l,t=$,r=v,e=p,a=h,u=g=u,c=q=c,i=s;continue}case 2:var S=f.a;switch(S.$){case 0:n=l=n,t=$=H(Of,"main",t),r=v=r,e=p=e,a=h=a,u=g=u,c=q=c,i=s;continue;case 1:n=l=n,t=$=H(Of,"nav",t),r=v=r,e=p=e,a=h=a,u=g=u,c=q=c,i=s;continue;case 2:n=l=n,t=$=H(Of,"footer",t),r=v=r,e=p=e,a=h=a,u=g=u,c=q=c,i=s;continue;case 3:n=l=n,t=$=H(Of,"aside",t),r=v=r,e=p=e,a=h=a,u=g=u,c=q=c,i=s;continue;case 4:var Z=S.a;if(1 ",e):F(H(Ja,0,Ro(t)),H(Ja,0,H(Zb,1,t)))<0?H(C," < ",e):H(C," = ",e):"";return""===n?L:A(n)}),Z0=o(function(n,t,r,e,a){return{$:0,a:n,b:t,c:r,d:e,e:a}}),N0=x(function(n,t,r){return{$:0,a:n,b:t,c:r}}),q0=U(function(n,t,r,e){return"pad-"+ji(n)+("-"+ji(t)+("-"+ji(r)+("-"+ji(e))))}),z0=xt,B0=m(function(n,t){var r,e,a,u,c,i=Qo(n),o=i.a,i=i.b;return 1===i.$?y(is,0,Ai,H(R,So(I.a6+" "+I.ak+" "+I.cv),H(R,q(ss),H(R,os(ss),n))),{$:0,a:t}):(r=(i=i.a).a,e=i.b,i=i.c,(a=!o.$&&(a=(o=o.a).b,c=o.d,u=o.e,-1",{$:10,a:1}),1"),t});function cn(n){throw Error("https://github.com/elm/core/blob/1.0.0/hints/"+n+".md")}var on=m(function(n,t){return n+t}),fn=(m(function(n,t){return n-t}),m(function(n,t){return n*t}),m(function(n,t){return n/t}),m(function(n,t){return n/t|0}),m(Math.pow)),sn=(m(function(n,t){return t%n}),m(function(n,t){t%=n;return 0===n?cn(11):0u||u>56319?(e[a]=n(t[a]),a++):(e[a]=n(t[a]+t[a+1]),a+=2)}return e.join("")}),m(function(n,t){for(var r=[],e=t.length,a=0;ac)return a}var d=r.$;if(4===d){for(var l=r.k;4===l.$;)l=l.k;return n(t,l,e,a,u+1,c,t.elm_event_node_ref)}var $=r.e;var p=t.childNodes;for(var v=0;v<$.length;v++){var h=1===d?$[v]:$[v].b,g=++u+(h.b||0);if(u<=f&&f<=g&&(a=n(p[v],h,e,a,u,g,i),!(o=e[a])||(f=o.r)>c))return a;u=g}return a}(n,t,r,0,0,t.b,e)}function Jt(n,t,r,e){return 0===r.length?n:(Dt(n,t,r,e),Kt(n,r))}function Kt(n,t){for(var r=0;r>n}),m(function(n,t){return t>>>n});function fr(n){return T(C,"\n ",T(je,"\n",n))}function sr(n){return 97<=(n=Ne(n))&&n<=122}function br(n){return(n=Ne(n))<=90&&65<=n}function dr(n){return sr(n)||br(n)||function(n){n=Ne(n);return n<=57&&48<=n}(n)}function lr(n){return n}function $r(n){return n.a}function pr(n){return H(ya,La(M),wa(k),n)}function vr(n){return{$:1,a:n}}function hr(n){return{ab:(t=T(za,n.b,n.bC),r=T(Ye,n.b,n.bC),t<600?0:1200 .ctr > ."+G.d$+" {\n border: 4px dashed rgb(0, 151, 167) !important;\n}\n\n",Sn="@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {"+U(G.d$)+(U(G.bc)+(" > "+U(G.d$)+(" { flex-basis: auto !important; } "+U(G.d$)+(U(G.bc)+(" > "+U(G.d$)+(U(G.bw)+' { flex-basis: auto !important; }}\ninput[type="search"],\ninput[type="search"]::-webkit-search-decoration,\ninput[type="search"]::-webkit-search-cancel-button,\ninput[type="search"]::-webkit-search-results-button,\ninput[type="search"]::-webkit-search-results-decoration {\n -webkit-appearance:none;\n}\n\ninput[type=range] {\n -webkit-appearance: none; \n background: transparent;\n position:absolute;\n left:0;\n top:0;\n z-index:10;\n width: 100%;\n outline: dashed 1px;\n height: 100%;\n opacity: 0;\n}\n\ninput[type=range]::-moz-range-track {\n background: transparent;\n cursor: pointer;\n}\ninput[type=range]::-ms-track {\n background: transparent;\n cursor: pointer;\n}\ninput[type=range]::-webkit-slider-runnable-track {\n background: transparent;\n cursor: pointer;\n}\n\ninput[type=range]::-webkit-slider-thumb {\n -webkit-appearance: none;\n opacity: 0.5;\n width: 80px;\n height: 80px;\n background-color: black;\n border:none;\n border-radius: 5px;\n}\ninput[type=range]::-moz-range-thumb {\n opacity: 0.5;\n width: 80px;\n height: 80px;\n background-color: black;\n border:none;\n border-radius: 5px;\n}\ninput[type=range]::-ms-thumb {\n opacity: 0.5;\n width: 80px;\n height: 80px;\n background-color: black;\n border:none;\n border-radius: 5px;\n}\ninput[type=range][orient=vertical]{\n writing-mode: bt-lr; /* IE */\n -webkit-appearance: slider-vertical; /* WebKit */\n}\n'))))))+qn,co=m(function(n,t){return{bs:t,I:k,as:k,_:n}}),io=m(function(n,t){var u=n,n=m(function(n,t){switch(n.$){case 0:return w(t,{as:T(M,{a:n.a,b:n.b},t.as)});case 3:var r=n.a;return w(t,{I:T(M,{bs:"\n}",I:k,as:n.b,_:"@supports ("+r.a+":"+r.b+") {"+u._},t.I)});case 5:r=n.b;return w(t,{I:T(M,T(io,T(co,u._+" + "+n.a,""),r),t.I)});case 1:var e=n.a,a=n.b;return w(t,{I:T(M,T(io,T(co,u._+" > "+e,""),a),t.I)});case 2:e=n.a,a=n.b;return w(t,{I:T(M,T(io,T(co,u._+" "+e,""),a),t.I)});case 4:r=n.b;return w(t,{I:T(M,T(io,T(co,O(u._,n.a),""),r),t.I)});default:e=n.a;return w(t,{I:T(M,T(io,T(co,u._,""),e),t.I)})}});return H(ya,n,u,t)}),oo=O(Sn,(Y=O(jn,gn),fe=function(n){return ce(T(E,function(n){return n.a+":"+n.b+";"},n))},ce(T(E,fo,H(ya,m(function(n,t){var r=n.b;return T(M,T(io,T(co,n.a,""),r),t)}),k,Y)))));function fo(n){return O(function(n){return n.as.b?n._+("{"+fe(n.as))+(n.bs+"}"):""}(n),ce(T(E,fo,n.I)))}function so(n){switch(n.eO){case 0:return H(re,"div",k,j([H(re,"style",k,j([uf(oo)]))]));case 1:return uf("");default:return H(re,"elm-ui-static-rules",j([T(eo,"rules",li(oo))]),k)}}function bo(n){switch(n.$){case 0:return"serif";case 1:return"sans-serif";case 2:return"monospace";case 3:return'"'+(t=n.a)+'"';case 4:var t=n.a;return'"'+t+'"';default:return'"'+(t=n.a.k)+'"'}}function lo(n){switch(n.$){case 0:return"smcp"===n.a;case 1:return!1;default:return"smcp"===n.a&&1===n.b}}function $o(n){return 5===n.$&&T(pi,lo,n.a.dJ)}function po(n){switch(n.$){case 0:return'"'+n.a+'"';case 1:return'"'+n.a+'" 0';default:return'"'+n.a+('" '+R(n.b))}}function vo(n){return 5===n.$?A(T(C,", ",T(E,po,n.a.dJ))):q}function ho(n){return n.b?A(H(Le,Ye,n.a,n.b)):q}function go(n){return n.b?A(H(Le,za,n.a,n.b)):q}function mo(n){function t(n){return 4===n.$?A("@import url('"+n.b+"');"):q}var r=T(E,$r,n);return O(T(C,"\n",T(E,function(n){return T(C,"\n",T(du,t,n.b))},n)),T(C,"\n",T(E,function(n){var t=n.a,n=function(n){return H(Le,m(function(n,t){return 1!==t.$||5!==n.$||1===(n=n.a.dQ).$?t:A({a:mf(gf(t=n.a).cP),b:mf(gf(t).ed)})}),q,n)}(n.b);return T(C,"",T(E,1===n.$?pf(t):T($f,t,n.a),r))},n)))}function _o(n){return mt(jt(n))}function wo(n){return T(Ui,j([F(zf)]),j([Bf(n)]))}function xo(n){return T(Ui,j([F(If)]),j([Bf(n)]))}function yo(n){switch(n.$){case 0:var t=R(n.a),r="height-px-"+t;return{a:Xf,b:G.cT+" "+r,c:j([H(Hf,r,"height",t+"px")])};case 1:return{a:T(Rf,Zf,Xf),b:G.b3,c:k};case 2:r=n.a;return 1===r?{a:T(Rf,jf,Xf),b:G.b4,c:k}:{a:T(Rf,jf,Xf),b:G.cU+(" height-fill-"+R(r)),c:j([H(Hf,G.d$+("."+G.aj+(" > "+U("height-fill-"+R(r)))),"flex-grow",R(1e5*r))])};case 3:var t=n.a,e=n.b,a="min-height-"+R(t),u=H(Hf,a,"min-height",R(t)+"px !important"),r=yo(e),c=r.a,i=r.b,o=r.c;return{a:T(Rf,kf,c),b:a+" "+i,c:T(M,u,o)};default:t=n.a,e=n.b,a="max-height-"+R(t),u=H(Hf,a,"max-height",R(t)+"px"),r=yo(e),c=r.a,i=r.b,o=r.c;return{a:T(Rf,kf,c),b:a+" "+i,c:T(M,u,o)}}}function ko(n){switch(n.$){case 0:var t=n.a;return{a:Xf,b:G.dL+(" width-px-"+R(t)),c:j([H(Hf,"width-px-"+R(t),"width",R(t)+"px")])};case 1:return{a:T(Rf,Qf,Xf),b:G.ct,c:k};case 2:t=n.a;return 1===t?{a:T(Rf,Sf,Xf),b:G.cu,c:k}:{a:T(Rf,Sf,Xf),b:G.dM+(" width-fill-"+R(t)),c:j([H(Hf,G.d$+("."+G.bc+(" > "+U("width-fill-"+R(t)))),"flex-grow",R(1e5*t))])};case 3:var t=n.a,r=n.b,e="min-width-"+R(t),a=H(Hf,e,"min-width",R(t)+"px"),t=ko(r),u=t.a,c=t.b,i=t.c;return{a:T(Rf,Ef,u),b:e+" "+c,c:T(M,a,i)};default:t=n.a,r=n.b,e="max-width-"+R(t),a=H(Hf,e,"max-width",R(t)+"px"),t=ko(r),u=t.a,c=t.b,i=t.c;return{a:T(Rf,Ef,u),b:e+" "+c,c:T(M,a,i)}}}function jo(n){return{$:8,a:n}}function Lo(n){return{$:7,a:n}}function Ao(n){switch(n.$){case 0:return"Bad URL used: "+n.a;case 1:return"Network timeout. Please check your internet connection.";case 2:return"Network error. Please check your internet connection.";case 3:return"Bad status response from server. Please contact Curling I/O support if the issue persists for more than a few minutes.";default:return'Bad body response from server. Please contact Curling I/O support if the issue persists for more than a few minutes. Details: "'+n.a+'"'}}function qo(n){return{$:2,a:n}}function Co(n){return{$:1,a:n}}function Eo(n){return T(gs,4,n)}function So(n){return{$:1,a:F(n)}}function No(n){return{$:3,a:n}}function Bo(n){var t=n;return T(ki,Ss,h(Es,"p-"+R(n),t,t,t,t))}function zo(n){return T(ki,ks,{$:2,a:n})}function N(n){return T(ki,Os,H(Hs,T(Ms,n,n),n,n))}function Io(n){return 4===n.$&&11===n.b.$&&!n.b.a}function To(n){return T(ki,nb,T(Qs,0,(n=H(Le,cb,{a:k,b:cs},n=n),t=n.a,T(M,Of(n.b),t))));var t}function Ho(n){return T(ki,ib,H(Hf,"br-"+R(n),"border-radius",R(n)+"px"))}function Oo(n){return T(hb,j([mb("32"),pb("32"),gb("0 0 24 24")]),j([T(vb,j([$b(n)]),k)]))}function Mo(n){return xc(T(E,function(n){return n.Y},n))}function Ro(n){return n.b?A(n.a):q}function Fo(n){var t,r=n.i,e=n.h,a=n.f,n=n.g;return _(r,e)&&_(r,a)&&_(r,n)?T(ki,Ss,h(Es,"p-"+R(t=r),t,t,t,t)):T(ki,Ss,h(Es,y(Ib,r,e,a,n),r,e,a,n))}function Go(n){return T(Gs,j([N(10),B(I),mi,W(F("cio__sponsor"))]),j([(t=n.dI).$?T(Mb,k,{ax:T(Da,"",n.k),cm:n.b5}):(t=t.a,T(z,j([B(I),Vs,Ys({$:4,a:t})]),T(Mb,j([gi]),{ax:T(Da,"",n.k),cm:n.b5}))),(t=n.k).$?D:(t=t.a,T(z,j([gi]),{$:2,a:t}))]));var t}function Uo(n){return T(ki,Fb,H(yi,"bc-"+Pr(n),"border-color",n))}function Wo(n){return H(Le,xe,0,n)}function Do(n){return{$:1,a:n}}function Jo(n){return{$:0,a:n}}function Ko(n){return T(gs,2,n)}function Yo(n){return T(ki,ns,h(p0,"b-"+R(n),n,n,n,n))}function Po(n){var t=n.f,r=n.i,e=n.g,n=n.h;return _(r,t)&&_(e,n)?_(r,n)?Yo(r):T(v0,e,r):T(ki,ns,h(p0,"b-"+R(r)+("-"+R(n)+("-"+R(t)+("-"+R(e)))),r,n,t,e))}function Zo(n){return T(z,k,{$:2,a:T(J,n,"no_data_for_route")})}function Vo(n){return H(ya,m(function(n,t){var r,e=t.a,t=t.b;return{a:e.$?4===n.$&&7===n.b.$?A(h(N0,(r=n.b).a,r.b,r.c,r.d,r.e)):q:e,b:t.$?4===n.$&&5===n.b.$?A(H(B0,(r=n.b).a,r.b,r.c)):q:t}}),{a:q,b:q},n)}function Xo(n){return!(!n.N.b&&_(n.bu,q)&&_(n.bt,q)&&_(n.bv,q))}function Qo(n){return{$:12,a:n}}function nf(n){var t=m(function(n,t){return 4===n.$&&5===n.b.$&&(n=n.b,1===t.$)?A(n.c):t});return 1===(t=H(ya,t,q,n)).$?hs:(n=Je(t.a/2),T(tb,gd,hd(-n)))}function tf(n){return 8===n.$?A(n.a):q}function rf(n){for(;;)switch(n.$){case 1:return!1;case 0:case 2:return!0;case 3:n=n.b;continue;default:return!0}}function ef(n){return{a:n,b:!0}}function af(n){for(;;)switch(n.$){case 2:return 1;case 1:case 0:return;default:n=n.b;continue}}var uf=vt,cf=m(function(n,t){return H(Le,function(r){return m(function(n,t){return t.push(r(n)),t})}(n),[],t)}),of=x(function(n,t,r){var e=t.a,t=t.b;return n?r+"\n "+e+": "+t+" !important;":r+"\n "+e+": "+t+";"}),ff=K(function(n,t,r,e){if(1===t.$)return j([r+("{"+H(Le,of(!1),"",e))+"\n}"]);switch(t.a){case 1:switch(n.ex){case 0:return k;case 2:return j([r+("-hv {"+H(Le,of(!0),"",e))+"\n}"]);default:return j([r+("-hv:hover {"+H(Le,of(!1),"",e))+"\n}"])}case 0:var a=H(Le,of(!1),"",e);return j([r+"-fs:focus {"+a+"\n}","."+G.d$+":focus "+r+"-fs {"+a+"\n}",r+"-fs:focus-within {"+a+"\n}",".ui-slide-bar:focus + "+U(G.d$)+" .focusable-thumb"+r+"-fs {"+a+"\n}"]);default:return j([r+("-act:active {"+H(Le,of(!1),"",e))+"\n}"])}}),sf=x(function(t,n,r){switch(n.$){case 0:return y(ff,t,r,n.a,n.b);case 13:return y(ff,t,r,"."+(e=n.a),j([T(Zi,"box-shadow",n.b)]));case 12:var e=n.a,a=T(Ye,0,T(za,1,1-n.b));return y(ff,t,r,"."+e,j([T(Zi,"opacity",Xi(a))]));case 2:a=n.a;return y(ff,t,r,".font-size-"+R(a),j([T(Zi,"font-size",R(a)+"px")]));case 1:var e=n.a,a=n.b,u=T(C,", ",T(du,vo,a)),u=j([T(Zi,"font-family",T(C,", ",T(E,bo,a))),T(Zi,"font-feature-settings",u),T(Zi,"font-variant",T(pi,$o,a)?"small-caps":"normal")]);return y(ff,t,r,"."+e,u);case 3:return y(ff,t,r,"."+(v=n.a),j([T(Zi,n.b,w=n.c)]));case 4:return y(ff,t,r,"."+(v=n.a),j([T(Zi,n.b,Qi(n.c))]));case 5:var c=n.a,a=n.b,e=n.c,u=R(e)+"px",i=R(a)+"px",o="."+G.bc,f="."+G.cx+o,s="."+G.cB,b="."+G.db,d="."+G.bb,l="."+G.cA,$=Xi(e/2)+"px",a=Xi(a/2)+"px",p="."+G.aj,v="."+c,h="."+G.d$;return xc(j([y(ff,t,r,v+o+" > "+h+" + "+h,j([T(Zi,"margin-left",i)])),y(ff,t,r,v+f+" > "+h,j([T(Zi,"margin",$+" "+a)])),y(ff,t,r,v+p+" > "+h+" + "+h,j([T(Zi,"margin-top",u)])),y(ff,t,r,v+d+" > "+h+" + "+h,j([T(Zi,"margin-top",u)])),y(ff,t,r,v+d+" > "+l,j([T(Zi,"margin-right",i)])),y(ff,t,r,v+d+" > "+s,j([T(Zi,"margin-left",i)])),y(ff,t,r,O(v,b),j([T(Zi,"line-height","calc(1em + "+R(e)+"px)")])),y(ff,t,r,"textarea"+h+v,j([T(Zi,"line-height","calc(1em + "+R(e)+"px)"),T(Zi,"height","calc(100% + "+R(e)+"px)")])),y(ff,t,r,v+b+" > "+l,j([T(Zi,"margin-right",i)])),y(ff,t,r,v+b+" > "+s,j([T(Zi,"margin-left",i)])),y(ff,t,r,v+b+"::after",j([T(Zi,"content","''"),T(Zi,"display","block"),T(Zi,"height","0"),T(Zi,"width","0"),T(Zi,"margin-top",R(-1*(e/2|0))+"px")])),y(ff,t,r,v+b+"::before",j([T(Zi,"content","''"),T(Zi,"display","block"),T(Zi,"height","0"),T(Zi,"width","0"),T(Zi,"margin-bottom",R(-1*(e/2|0))+"px")]))]));case 7:var c=n.a,g=n.b,s=n.c,m=n.d,l=n.e;return y(ff,t,r,v="."+c,j([T(Zi,"padding",Xi(g)+("px "+Xi(s)+("px "+Xi(m)+("px "+Xi(l))))+"px")]));case 6:c=n.a,g=n.b,s=n.c,m=n.d,l=n.e;return y(ff,t,r,v="."+c,j([T(Zi,"border-width",R(g)+("px "+R(s)+("px "+R(m)+("px "+R(l))))+"px")]));case 8:var o=n.a,_=x(function(n,t,r){for(;;)switch(r.$){case 0:return R(r.a)+"px";case 1:var e={a:n,b:t};return 1===e.a.$?1===e.b.$?"max-content":"minmax(max-content, "+R(a=e.b.a)+"px)":1===e.b.$?"minmax("+R(e.a.a)+"px, max-content)":(a=e.b.a,"minmax("+R(e.a.a)+("px, "+R(a))+"px)");case 2:var a,e=r.a,u={a:n,b:t};return 1===u.a.$?1===u.b.$?R(e)+"fr":"minmax(max-content, "+R(a=u.b.a)+"px)":1===u.b.$?"minmax("+R(u.a.a)+("px, "+R(e))+"frfr)":(a=u.b.a,"minmax("+R(u.a.a)+("px, "+R(a))+"px)");case 3:var c=r.a,i=r.b;n=A(c),t=t,r=i;continue;default:c=r.a,i=r.b;n=n,t=A(c),r=i;continue}}),f=function(n){return H(_,q,q,n)},$=(f(o.fh.a),f(o.fh.b)),a="grid-template-rows: "+T(C," ",T(E,f,o.e6))+";",p="-ms-grid-rows: "+T(C,$,T(E,f,o.L))+";",u="-ms-grid-columns: "+T(C,$,T(E,f,o.L))+";",d="grid-row-gap:"+f(o.fh.b)+";",h="grid-column-gap:"+f(o.fh.a)+";",i="grid-template-columns: "+T(C," ",T(E,f,o.L))+";";return j([(v=".grid-rows-"+T(C,"-",T(E,Di,o.e6))+("-cols-"+T(C,"-",T(E,Di,o.L))+("-space-x-"+Di(o.fh.a)+("-space-y-"+Di(o.fh.b)))))+"{"+u+p+"}","@supports (display:grid) {"+(v+"{"+i+a+h+d+"}")+"}"]);case 9:b=n.a,e=T(C," ",j(["-ms-grid-row: "+R(b.bc)+";","-ms-grid-row-span: "+R(b.bC)+";","-ms-grid-column: "+R(b.a5)+";","-ms-grid-column-span: "+R(b.b)+";"])),g=T(C," ",j(["grid-row: "+R(b.bc)+(" / "+R(b.bc+b.bC))+";","grid-column: "+R(b.a5)+(" / "+R(b.a5+b.b))+";"]));return j([(v=".grid-pos-"+R(b.bc)+("-"+R(b.a5)+("-"+R(b.b)+("-"+R(b.bC)))))+"{"+e+"}","@supports (display:grid) {"+(v+"{"+g+"}")+"}"]);case 11:v=n.a;return T(yc,function(n){return H(sf,t,n,A(v))},n.b);default:var s=n.a,w=function(n){switch(n.$){case 0:return q;case 1:var t=n.a,r=t.b,e=t.c;return A("translate3d("+Xi(t.a)+("px, "+Xi(r)+("px, "+Xi(e)))+"px)");default:var t=n.a,r=t.b,e=t.c,a=n.b,u=a.a,c=a.b,a=a.c,i=n.c,o=i.a,f=i.b,i=i.c,s=n.d,t="translate3d("+Xi(t.a)+("px, "+Xi(r)+("px, "+Xi(e)))+"px)",r="scale3d("+Xi(u)+(", "+Xi(c)+(", "+Xi(a)))+")",e="rotate3d("+Xi(o)+(", "+Xi(f)+(", "+Xi(i)+(", "+Xi(s))))+"rad)";return A(t+" "+r+" "+e)}}(s),m={a:v=Xr(s),b:w};return m.a.$||m.b.$?k:y(ff,t,r,"."+(c=m.a.a),j([T(Zi,"transform",m.b.a)]))}}),bf=m(function(r,n){return n=T(E,function(n){var t=H(sf,r,n,q);return{a:Qr(n),b:T(cf,li,t)}},n),H(Le,m(function(n,t){return H(Wn,n.a,n.b,t)}),{},n)}),df=m(function(n,t){return n+(" {"+T(C,"",T(E,function(n){return n.a+": "+n.b+";"},t)))+"}"}),lf=x(function(n,t,r){var e=r.b;return j([T(df,"."+n+"."+t+", ."+n+" ."+t,r.a),T(df,"."+n+"."+t+"> ."+G.fq+", ."+n+" ."+t+" > ."+G.fq,e)])}),$f=x(function(n,t,r){var e=t.a,t=t.b,r=_(n,r)?n:r+" ."+n;return T(C," ",O(H(lf,r,G.ff,t),H(lf,r,G.et,e)))}),pf=m(function(n,t){t=_(n,t)?n:t+" ."+n;return T(C," ",j([T(df,"."+t+"."+G.ff+", ."+t+" ."+G.ff,j([{a:"line-height",b:"1"}])),T(df,"."+t+"."+G.ff+"> ."+G.fq+", ."+t+" ."+G.ff+" > ."+G.fq,j([{a:"vertical-align",b:"0"},{a:"line-height",b:"1"}]))]))}),vf=x(function(n,t,r){return{bC:t/n,dx:n,dK:r}}),hf=m(function(r,n){return H(ya,m(function(n,t){return r(n)?T(M,n,t):t}),k,n)}),gf=function(n){var t=j([n.ed,n.d2,n.em,n.eM]),r=T(Da,n.em,go(t)),e=T(Da,n.d2,go(T(hf,function(n){return!_(n,r)},t))),n=T(Da,n.ed,ho(t)),t=1/(n-r),a=1-n;return{ed:H(vf,1/(n-e),n-e,1-n),cP:H(vf,t,n-r,a)}},mf=function(n){return{a:j([{a:"display",b:"block"}]),b:j([{a:"display",b:"inline-block"},{a:"line-height",b:Xi(n.bC)},{a:"vertical-align",b:Xi(n.dK)+"em"},{a:"font-size",b:Xi(n.dx)+"em"}])}},_f=m(function(r,n){var t=m(function(n,t){return{bH:O(t.bH,H(sf,r,n,q)),bm:1===(n=1===(n=n).$?A({a:n.a,b:n.b}):q).$?t.bm:T(M,n.a,t.bm)}}),t=H(Le,t,{bH:k,bm:k},n),n=t.bH;return O(mo(t.bm),ce(n))}),wf=m(function(n,t){switch(n.eO){case 0:case 1:return H(re,"div",k,j([H(re,"style",k,j([uf(T(_f,n,t))]))]));default:return H(re,"elm-ui-rules",j([T(eo,"rules",T(bf,n,t))]),k)}}),xf=K(function(n,t,r,e){r=T(wf,t,H(Le,Pi,{a:Wi,b:te(t.eq)},r).b);return n?T(M,{a:"static-stylesheet",b:so(t)},T(M,{a:"dynamic-stylesheet",b:r},e)):T(M,{a:"dynamic-stylesheet",b:r},e)}),yf=K(function(n,t,r,e){r=T(wf,t,H(Le,Pi,{a:Wi,b:te(t.eq)},r).b);return n?T(M,so(t),T(M,r,e)):T(M,r,e)}),kf=Yr(45),jf=Yr(37),Lf=gt("p"),Af=m(function(n,t){var r,e=t.a;return n.$?_((r=n.a)&t.b,r):_((t=n.a)&e,t)}),qf=gt("s"),Cf=gt("u"),Ef=Yr(44),Sf=Yr(39),Nf=f(function(n,t,r,a,u,e){var c=m(function(n,t){var r,e;return 1===a.$?(r=a.a,H(_o,n,t,function(){switch(u.$){case 0:return r;case 2:return y(xf,!1,u.a,u.b,r);default:return y(xf,!0,u.a,u.b,r)}}())):(e=a.a,T(function(){switch(n){case"div":return Ui;case"p":return Lf;default:return re(n)}}(),t,function(){switch(u.$){case 0:return e;case 2:return y(yf,!1,u.a,u.b,e);default:return y(yf,!0,u.a,u.b,e)}}()))}),i=function(){switch(t.$){case 0:return T(c,"div",r);case 1:return T(c,t.a,r);default:return H(re,t.a,r,j([T(c,t.b,j([F(G.d$+" "+G.fe)]))]))}}();switch(e){case 0:return T(Af,Sf,n)&&!T(Af,Ef,n)?i:T(Af,Ri,n)?T(Cf,j([F(T(C," ",j([G.d$,G.fe,G.bw,G.ak,G.dX])))]),j([i])):T(Af,Fi,n)?T(qf,j([F(T(C," ",j([G.d$,G.fe,G.bw,G.ak,G.dV])))]),j([i])):i;case 1:return T(Af,jf,n)&&!T(Af,kf,n)?i:T(Af,Gi,n)?T(qf,j([F(T(C," ",j([G.d$,G.fe,G.bw,G.dW])))]),j([i])):T(Af,Mi,n)?T(Cf,j([F(T(C," ",j([G.d$,G.fe,G.bw,G.dU])))]),j([i])):i;default:return i}}),Bf=uf,zf=G.d$+" "+G.fq+" "+G.ct+" "+G.b3,If=G.d$+" "+G.fq+" "+G.cu+" "+G.b4,Tf=x(function(i,n,t){var r,e,a,u,c=m(function(n,t){var r=n.a,e=n.b,a=t.a,u=t.b;switch(e.$){case 0:var c=e.a;return _(i,4),{a:T(M,{a:r,b:c(i)},a),b:u};case 1:c=e.a;return _(i,4),{a:T(M,{a:r,b:T(c.ey,Ti,i)},a),b:u.b?O(c.fo,u):c.fo};case 2:c=e.a;return{a:T(M,{a:r,b:(_(i,2)?xo:wo)(c)},a),b:u};default:return{a:a,b:u}}}),o=m(function(n,t){var r=t.a,e=t.b;switch(n.$){case 0:var a=n.a;return _(i,4),{a:T(M,a(i),r),b:e};case 1:a=n.a;return _(i,4),{a:T(M,T(a.ey,Ti,i),r),b:e.b?O(a.fo,e):a.fo};case 2:a=n.a;return{a:T(M,(_(i,2)?xo:wo)(a),r),b:e};default:return{a:r,b:e}}});return 1===n.$?(r=(c=H(ya,c,{a:k,b:k},n.a)).a,(a=(e=c.b).b?O(t.fo,e):t.fo).b?(u=a,{$:1,a:{ey:y(Nf,t.aA,t.aE,t.av,{$:1,a:H(Oi,"nearby-element-pls",r,t.aw)}),fo:u}}):{$:0,a:h(Nf,t.aA,t.aE,t.av,{$:1,a:H(Oi,"nearby-element-pls",r,t.aw)},Ti)}):(r=(c=H(ya,o,{a:k,b:k},n.a)).a,(a=(e=c.b).b?O(t.fo,e):t.fo).b?(u=a,{$:1,a:{ey:y(Nf,t.aA,t.aE,t.av,{$:0,a:T(Hi,r,t.aw)}),fo:u}}):{$:0,a:h(Nf,t.aA,t.aE,t.av,{$:0,a:T(Hi,r,t.aw)},Ti)})}),Hf=x(function(n,t,r){return{$:3,a:n,b:t,c:r}}),Of=function(n){return{$:10,a:n}},Mf=m(function(n,t){return{$:0,a:n,b:t}}),Rf=m(function(n,t){var r=t.a,t=t.b;return n.$?T(Mf,r,n.a|t):T(Mf,n.a|r,t)}),Ff=m(function(n,t){return{$:3,a:n,b:t}}),Gf=m(function(n,t){return T(Ui,j([F(function(){switch(n){case 0:return T(C," ",j([G.aS,G.fe,G.dP]));case 1:return T(C," ",j([G.aS,G.fe,G.d4]));case 2:return T(C," ",j([G.aS,G.fe,G.eS]));case 3:return T(C," ",j([G.aS,G.fe,G.eR]));case 4:return T(C," ",j([G.aS,G.fe,G.eC]));default:return T(C," ",j([G.aS,G.fe,G.d3]))}}())]),j([function(){switch(t.$){case 3:return uf("");case 2:return wo(t.a);case 0:return(0,t.a)(2);default:return T(t.a.ey,Ti,2)}}()]))}),Uf=x(function(n,t,r){var e=T(Gf,n,t);switch(r.$){case 0:return 5===n?{$:1,a:j([e])}:{$:2,a:j([e])};case 1:var a=r.a;return 5===n?{$:1,a:T(M,e,a)}:T(Ff,a,j([e]));case 2:var u=r.a;return 5===n?T(Ff,j([e]),u):{$:2,a:T(M,e,u)};default:a=r.a,u=r.b;return 5===n?T(Ff,T(M,e,a),u):T(Ff,a,T(M,e,u))}}),Wf=m(function(n,t){return{$:2,a:n,b:t}}),Df=m(function(n,t){switch(t.$){case 0:return{$:1,a:n};case 1:return T(Wf,t.a,n);default:return T(Wf,t.a,t.b)}}),Jf=m(function(n,t){return T(kt,function(n){return/^(on|formAction$)/i.test(n)?"data-"+n:n}(n),Lt(t))}),Kf=K(function(n,t,r,e){return{$:2,a:n,b:t,c:r,d:e}}),Yf=m(function(n,t){switch(n.$){case 0:switch(t.$){case 0:return{$:1,a:{a:r=t.a,b:0,c:0}};case 1:return{$:1,a:{a:0,b:e=t.a,c:0}};case 2:return{$:1,a:{a:0,b:0,c:a=t.a}};case 3:return{$:1,a:t.a};case 4:return y(Kf,{a:0,b:0,c:0},{a:1,b:1,c:1},t.a,o=t.b);default:return y(Kf,{a:0,b:0,c:0},t.a,{a:0,b:0,c:1},0)}case 1:var r=(u=n.a).a,e=u.b,a=u.c;switch(t.$){case 0:return{$:1,a:{a:t.a,b:e,c:a}};case 1:return{$:1,a:{a:r,b:t.a,c:a}};case 2:return{$:1,a:{a:r,b:e,c:t.a}};case 3:return{$:1,a:t.a};case 4:return y(Kf,u,{a:1,b:1,c:1},t.a,o=t.b);default:return y(Kf,u,t.a,{a:0,b:0,c:1},0)}default:var u,r=(u=n.a).a,e=u.b,a=u.c,c=n.b,i=n.c,o=n.d;switch(t.$){case 0:return y(Kf,{a:t.a,b:e,c:a},c,i,o);case 1:return y(Kf,{a:r,b:t.a,c:a},c,i,o);case 2:return y(Kf,{a:r,b:e,c:t.a},c,i,o);case 3:return y(Kf,t.a,c,i,o);case 4:return y(Kf,u,c,t.a,t.b);default:return y(Kf,u,t.a,i,o)}}}),Pf=Yr(7),Zf=Yr(36),Vf=m(function(n,t){return T(Mf,n.a|t.a,n.b|t.b)}),Xf=T(Mf,0,0),Qf=Yr(38),ns=Yr(27),ts=m(function(n,t){if(_(n,ns)){if(3!==t.$)return!1;switch(t.c){case"0px":case"1px":case"2px":case"3px":case"4px":case"5px":case"6px":return!0;default:return!1}}else switch(t.$){case 2:var r=t.a;return 8<=r&&r<=32;case 7:var r=t.b,e=t.c,a=t.e;return _(r,t.d)&&_(r,e)&&_(r,a)&&0<=r&&r<=24;default:return!1}}),rs=Yr(6),es=Yr(30),as=Yr(29),us=d(function(n,t,r,e,a,u,c,i){for(;;){var o;if(!i.b)return 1===(o=Xr(e)).$?{av:T(M,F(n),u),aw:c,aA:r,aE:t,fo:a}:{av:T(M,F(n+" "+o.a),u),aw:c,aA:r,aE:t,fo:T(M,Of(e),a)};var f=i.a,s=i.b;switch(f.$){case 0:n=l=n,t=$=t,r=p=r,e=v=e,a=h=a,u=g=u,c=B=c,i=s;continue;case 3:var b=f.a,d=f.b;if(T(Af,b,r)){n=l=n,t=$=t,r=p=r,e=v=e,a=h=a,u=g=u,c=B=c,i=s;continue}n=l=d+" "+n,t=$=t,r=p=T(Rf,b,r),e=v=e,a=h=a,u=g=u,c=B=c,i=s;continue;case 1:var l=n,$=t,p=r,v=e,h=a,g=T(M,f.a,u);n=l,t=$,r=p,e=v,a=h,u=g,c=B=c,i=s;continue;case 4:b=f.a,d=f.b;if(T(Af,b,r)){n=l=n,t=$=t,r=p=r,e=v=e,a=h=a,u=g=u,c=B=c,i=s;continue}if(T(ts,b,d)){n=l=Qr(d)+" "+n,t=$=t,r=p=T(Rf,b,r),e=v=e,a=h=a,u=g=u,c=B=c,i=s;continue}l=Qr(d)+" "+n,$=t,p=T(Rf,b,r),v=e,h=T(M,d,a);n=l,t=$,r=p,e=v,a=h,u=g=u,c=B=c,i=s;continue;case 10:var b=f.a,m=f.b;n=l=n,t=$=t,r=p=T(Rf,b,r),e=v=T(Yf,e,m),a=h=a,u=g=u,c=B=c,i=s;continue;case 7:var _=f.a;if(T(Af,rs,r)){n=l=n,t=$=t,r=p=r,e=v=e,a=h=a,u=g=u,c=B=c,i=s;continue}switch(_.$){case 0:var w=_.a,l=G.dL+(" width-px-"+R(w))+" "+n,$=t,p=T(Rf,rs,r),v=e,h=T(M,H(Hf,"width-px-"+R(w),"width",R(w)+"px"),a);n=l,t=$,r=p,e=v,a=h,u=g=u,c=B=c,i=s;continue;case 1:n=l=n+" "+G.ct,t=$=t,r=p=T(Rf,Qf,T(Rf,rs,r)),e=v=e,a=h=a,u=g=u,c=B=c,i=s;continue;case 2:if(1===(L=_.a)){n=l=n+" "+G.cu,t=$=t,r=p=T(Rf,Sf,T(Rf,rs,r)),e=v=e,a=h=a,u=g=u,c=B=c,i=s;continue}l=n+(" "+G.dM+(" width-fill-"+R(L))),$=t,p=T(Rf,Sf,T(Rf,rs,r)),v=e,h=T(M,H(Hf,G.d$+("."+G.bc+(" > "+U("width-fill-"+R(L)))),"flex-grow",R(1e5*L)),a);n=l,t=$,r=p,e=v,a=h,u=g=u,c=B=c,i=s;continue;default:var x=ko(_),y=x.a,k=x.b,j=x.c,l=n+" "+k,$=t,p=T(Vf,y,T(Rf,rs,r)),v=e,h=O(j,a);n=l,t=$,r=p,e=v,a=h,u=g=u,c=B=c,i=s;continue}case 8:var L,A=f.a;if(T(Af,Pf,r)){n=l=n,t=$=t,r=p=r,e=v=e,a=h=a,u=g=u,c=B=c,i=s;continue}switch(A.$){case 0:var q=R(w=A.a)+"px",C="height-px-"+q,l=G.cT+" "+C+" "+n,$=t,p=T(Rf,Pf,r),v=e,h=T(M,H(Hf,C,"height ",q),a);n=l,t=$,r=p,e=v,a=h,u=g=u,c=B=c,i=s;continue;case 1:n=l=G.b3+" "+n,t=$=t,r=p=T(Rf,Zf,T(Rf,Pf,r)),e=v=e,a=h=a,u=g=u,c=B=c,i=s;continue;case 2:if(1===(L=A.a)){n=l=G.b4+" "+n,t=$=t,r=p=T(Rf,jf,T(Rf,Pf,r)),e=v=e,a=h=a,u=g=u,c=B=c,i=s;continue}l=n+(" "+G.cU+(" height-fill-"+R(L))),$=t,p=T(Rf,jf,T(Rf,Pf,r)),v=e,h=T(M,H(Hf,G.d$+("."+G.aj+(" > "+U("height-fill-"+R(L)))),"flex-grow",R(1e5*L)),a);n=l,t=$,r=p,e=v,a=h,u=g=u,c=B=c,i=s;continue;default:var C=yo(A),y=C.a,k=C.b,j=C.c,l=n+" "+k,$=t,p=T(Vf,y,T(Rf,Pf,r)),v=e,h=O(j,a);n=l,t=$,r=p,e=v,a=h,u=g=u,c=B=c,i=s;continue}case 2:var E=f.a;switch(E.$){case 0:n=l=n,t=$=T(Df,"main",t),r=p=r,e=v=e,a=h=a,u=g=u,c=B=c,i=s;continue;case 1:n=l=n,t=$=T(Df,"nav",t),r=p=r,e=v=e,a=h=a,u=g=u,c=B=c,i=s;continue;case 2:n=l=n,t=$=T(Df,"footer",t),r=p=r,e=v=e,a=h=a,u=g=u,c=B=c,i=s;continue;case 3:n=l=n,t=$=T(Df,"aside",t),r=p=r,e=v=e,a=h=a,u=g=u,c=B=c,i=s;continue;case 4:var S=E.a;if(1 ",e):P(T(Da,0,Ro(t)),T(Da,0,T(Nb,1,t)))<0?T(C," < ",e):T(C," = ",e):"";return""===n?q:A(n)}),N0=o(function(n,t,r,e,a){return{$:0,a:n,b:t,c:r,d:e,e:a}}),B0=x(function(n,t,r){return{$:0,a:n,b:t,c:r}}),z0=K(function(n,t,r,e){return"pad-"+Li(n)+("-"+Li(t)+("-"+Li(r)+("-"+Li(e))))}),I0=xt,T0=m(function(n,t){var r,e,a,u,c,i=Vo(n),o=i.a,i=i.b;return 1===i.$?y(os,0,qi,T(M,So(G.a6+" "+G.ak+" "+G.cx),T(M,B(bs),T(M,fs(bs),n))),{$:0,a:t}):(r=(i=i.a).a,e=i.b,i=i.c,(a=!o.$&&(a=(o=o.a).b,c=o.d,u=o.e,-1",{$:10,a:1}),1 Decode.succeed EventStateComplete ) + + decodeSpare : Decoder Spare + decodeSpare = + Decode.succeed Spare + |> required "name" string + |> required "positions" (list string) in Decode.succeed Event |> required "id" int @@ -507,6 +521,7 @@ decodeEvent = |> optional "sheet_names" (list string) [] |> optional "teams" (list decodeTeam) [] |> optional "registrations" (list decodeRegistration) [] + |> optional "spares" (list decodeSpare) [] |> optional "stages" (list decodeStage) [] |> optional "draws" (list decodeDraw) [] @@ -786,30 +801,10 @@ matchRoute defaultEventSection = matchNestedEventRoute : Maybe String -> Parser (NestedEventRoute -> a) a matchNestedEventRoute defaultEventSection = Url.Parser.oneOf - -- [ Url.Parser.map - -- (case defaultEventSection of - -- Just "registrations" -> - -- RegistrationsRoute - -- - -- Just "draws" -> - -- DrawsRoute - -- - -- Just "stages" -> - -- StagesRoute - -- - -- Just "teams" -> - -- TeamsRoute - -- - -- Just "reports" -> - -- ReportsRoute - -- - -- _ -> - -- DetailsRoute - -- ) - -- Url.Parser.top [ Url.Parser.map DetailsRoute Url.Parser.top , Url.Parser.map DetailsRoute (Url.Parser.s "details") , Url.Parser.map RegistrationsRoute (Url.Parser.s "registrations") + , Url.Parser.map SparesRoute (Url.Parser.s "spares") , Url.Parser.map DrawsRoute (Url.Parser.s "draws") , Url.Parser.map StagesRoute (Url.Parser.s "stages") , Url.Parser.map TeamsRoute (Url.Parser.s "teams") @@ -1304,6 +1299,9 @@ eventSections excludeEventSections event = hasRegistrations = not (List.isEmpty event.registrations) + hasSpares = + not (List.isEmpty event.spares) + hasDraws = not (List.isEmpty event.draws) @@ -1323,6 +1321,9 @@ eventSections excludeEventSections event = "registrations" -> hasRegistrations + "spares" -> + hasSpares + "draws" -> hasDraws @@ -1339,7 +1340,7 @@ eventSections excludeEventSections event = _ -> True in - [ "details", "registrations", "draws", "stages", "teams", "reports" ] + [ "details", "registrations", "spares", "draws", "stages", "teams", "reports" ] |> List.filter included |> List.filter hasData @@ -1353,6 +1354,9 @@ eventSectionForRoute route = RegistrationsRoute -> "registrations" + SparesRoute -> + "spares" + DrawsRoute -> "draws" @@ -2505,6 +2509,9 @@ viewEvent theme translations { flags, device, scoringHilight, fullScreen } neste RegistrationsRoute -> viewRegistrations theme translations event.registrations + SparesRoute -> + viewSpares theme translations event.spares + DrawsRoute -> viewDraws theme translations scoringHilight event @@ -2787,6 +2794,64 @@ viewRegistrations theme translations registrations = ) +viewSpares : Theme -> List Translation -> List Spare -> Element Msg +viewSpares theme translations spares = + let + tableHeader content = + el + [ Font.bold + , Border.widthEach { bottom = 1, left = 0, right = 0, top = 0 } + , Border.color theme.grey + , El.padding 12 + ] + (text (translate translations content)) + + tableCell i content = + el + [ El.padding 12 + , Background.color + (if modBy 2 i == 0 then + theme.greyLight + + else + theme.transparent + ) + ] + (text content) + + nameColumn = + { header = tableHeader "curler" + , width = El.fill + , view = \i spare -> tableCell i spare.name + } + + positionsColumn = + { header = tableHeader "position" + , width = El.fill + , view = + \i spare -> + tableCell i + (if List.isEmpty spare.positions then + "-" + + else + List.map (\pos -> translate translations pos) spare.positions + |> String.join ", " + ) + } + in + el [ El.width El.fill, El.htmlAttribute (class "cio__event_spares") ] + (if List.isEmpty spares then + El.paragraph [] [ text (translate translations "no_spares") ] + + else + El.indexedTable [ El.htmlAttribute (class "cio__event_spares_table") ] + { data = spares + , columns = [ nameColumn, positionsColumn ] + } + ) + + viewDraws : Theme -> List Translation -> Maybe ScoringHilight -> Event -> Element Msg viewDraws theme translations scoringHilight event = let