diff --git a/prod.min.js b/prod.min.js index d98f04b..558cca7 100644 --- a/prod.min.js +++ b/prod.min.js @@ -1 +1 @@ -!function(c){function x(n,r,t){return t.a=n,t.f=r,t}function _(t){return x(2,t,function(r){return function(n){return t(r,n)}})}function r(e){return x(3,e,function(t){return function(r){return function(n){return e(t,r,n)}}})}function n(u){return x(4,u,function(e){return function(t){return function(r){return function(n){return u(e,t,r,n)}}}})}function j(a){return x(5,a,function(u){return function(e){return function(t){return function(r){return function(n){return a(u,e,t,r,n)}}}}})}function J(o){return x(6,o,function(a){return function(u){return function(e){return function(t){return function(r){return function(n){return o(a,u,e,t,r,n)}}}}}})}function P(i){return x(7,i,function(o){return function(a){return function(u){return function(e){return function(t){return function(r){return function(n){return i(o,a,u,e,t,r,n)}}}}}}})}function I(c){return x(8,c,function(i){return function(o){return function(a){return function(u){return function(e){return function(t){return function(r){return function(n){return c(i,o,a,u,e,t,r,n)}}}}}}}})}function M(f){return x(9,f,function(c){return function(i){return function(o){return function(a){return function(u){return function(e){return function(t){return function(r){return function(n){return f(c,i,o,a,u,e,t,r,n)}}}}}}}}})}function A(n,r,t){return 2===n.a?n.f(r,t):n(r)(t)}function C(n,r,t,e){return 3===n.a?n.f(r,t,e):n(r)(t)(e)}function s(n,r,t,e,u){return 4===n.a?n.f(r,t,e,u):n(r)(t)(e)(u)}function b(n,r,t,e,u,a){return 5===n.a?n.f(r,t,e,u,a):n(r)(t)(e)(u)(a)}function z(n,r,t,e,u,a,o){return 6===n.a?n.f(r,t,e,u,a,o):n(r)(t)(e)(u)(a)(o)}function H(n,r,t,e,u,a,o,i){return 7===n.a?n.f(r,t,e,u,a,o,i):n(r)(t)(e)(u)(a)(o)(i)}var t=r(function(n,r,t){for(var e=Array(n),u=0;u"),r});function G(n){throw Error("https://github.com/elm/core/blob/1.0.0/hints/"+n+".md")}function T(n,r){for(var t,e=[],u=Y(n,r,0,e);u&&(t=e.pop());u=Y(t.a,t.b,0,e));return u}function Y(n,r,t,e){if(100a||a>56319?(e[u]=n(r[u]),u++):(e[u]=n(r[u]+r[u+1]),u+=2)}return e.join("")}),_(function(n,r){for(var t=[],e=r.length,u=0;uo)return u}var d=t.$;if(4===d){for(var l=t.k;4===l.$;)l=l.k;return n(r,l,e,u,a+1,o,r.elm_event_node_ref)}var v=t.e;var $=r.childNodes;for(var h=0;ho))return u;a=m}return u}(n,r,t,0,0,r.b,e)}function pr(n,r,t,e){return 0===t.length?n:(mr(n,r,t,e),wr(n,t))}function wr(n,r){for(var t=0;t"),r});function G(n){throw Error("https://github.com/elm/core/blob/1.0.0/hints/"+n+".md")}function T(n,r){for(var t,e=[],u=Y(n,r,0,e);u&&(t=e.pop());u=Y(t.a,t.b,0,e));return u}function Y(n,r,t,e){if(100a||a>56319?(e[u]=n(r[u]),u++):(e[u]=n(r[u]+r[u+1]),u+=2)}return e.join("")}),_(function(n,r){for(var t=[],e=r.length,u=0;uo)return u}var d=t.$;if(4===d){for(var l=t.k;4===l.$;)l=l.k;return n(r,l,e,u,a+1,o,r.elm_event_node_ref)}var v=t.e;var $=r.childNodes;for(var h=0;ho))return u;a=m}return u}(n,r,t,0,0,r.b,e)}function pr(n,r,t,e){return 0===t.length?n:(mr(n,r,t,e),wr(n,t))}function wr(n,r){for(var t=0;t required "first_hammer" bool |> optional "time_remaining" (nullable string) Nothing |> optional "lsd" (nullable string) Nothing - |> optional "cumulative_lsd" (nullable string) Nothing + |> optional "lsd_cumulative" (nullable string) Nothing |> optional "score" (nullable int) Nothing |> optional "result" decodeSideResult NoResult |> optional "end_scores" (list (nullable int)) [] @@ -359,12 +359,12 @@ encodeSide side = Nothing -> Encode.null ) - , ( "cumulative_lsd" - , case side.cumulativeLsd of - Just cumulativeLsd -> - case String.toFloat cumulativeLsd of - Just cumulativeLsd_ -> - Encode.string cumulativeLsd + , ( "lsd_cumulative" + , case side.lsdCumulative of + Just lsdCumulative -> + case String.toFloat lsdCumulative of + Just lsdCumulative_ -> + Encode.string lsdCumulative Nothing -> Encode.null @@ -1178,7 +1178,7 @@ update msg model = let updatedSide side = if side.id == onSide.id then - { side | cumulativeLsd = Just newCumulativeLsd } + { side | lsdCumulative = Just newCumulativeLsd } else side @@ -2015,7 +2015,7 @@ viewSidesWithEndScores model data game sides = , input [ class "form-control" , style "width" "70px" - , value (Maybe.withDefault "" side.cumulativeLsd) + , value (Maybe.withDefault "" side.lsdCumulative) , onInput (UpdateSideCumulativeLsd side) ] []