diff --git a/explorer/elm.json b/explorer/elm.json index 22c8ad01..bd0a6005 100644 --- a/explorer/elm.json +++ b/explorer/elm.json @@ -7,7 +7,6 @@ "dependencies": { "direct": { "Janiczek/cmd-extra": "1.1.0", - "PaackEng/elm-ui-dropdown": "3.3.0", "coinop-logan/elm-format-number": "1.0.0", "elm/browser": "1.0.2", "elm/core": "1.0.5", diff --git a/explorer/index.html b/explorer/index.html index f8148ddc..6ca03c4b 100644 --- a/explorer/index.html +++ b/explorer/index.html @@ -798,11 +798,11 @@ function _Debug_regionToString(region) { - if (region.cL.bg === region.c6.bg) + if (region.cu.a_ === region.cS.a_) { - return 'on line ' + region.cL.bg; + return 'on line ' + region.cu.a_; } - return 'on lines ' + region.cL.bg + ' through ' + region.c6.bg; + return 'on lines ' + region.cu.a_ + ' through ' + region.cS.a_; } @@ -1871,9 +1871,9 @@ return _Platform_initialize( flagDecoder, args, - impl.fv, - impl.g_, - impl.gr, + impl.fi, + impl.gJ, + impl.gb, function() { return function() {} } ); }); @@ -2718,9 +2718,9 @@ var _VirtualDom_mapEventRecord = F2(function(func, record) { return { - ax: func(record.ax), - cM: record.cM, - cy: record.cy + an: func(record.an), + cv: record.cv, + cg: record.cg } }); @@ -2988,11 +2988,11 @@ // 3 = Custom var value = result.a; - var message = !tag ? value : tag < 3 ? value.a : value.ax; - var stopPropagation = tag == 1 ? value.b : tag == 3 && value.cM; + var message = !tag ? value : tag < 3 ? value.a : value.an; + var stopPropagation = tag == 1 ? value.b : tag == 3 && value.cv; var currentEventNode = ( stopPropagation && event.stopPropagation(), - (tag == 2 ? value.b : tag == 3 && value.cy) && event.preventDefault(), + (tag == 2 ? value.b : tag == 3 && value.cg) && event.preventDefault(), eventNode ); var tagger; @@ -3942,11 +3942,11 @@ return _Platform_initialize( flagDecoder, args, - impl.fv, - impl.g_, - impl.gr, + impl.fi, + impl.gJ, + impl.gb, function(sendToApp, initialModel) { - var view = impl.bZ; + var view = impl.bH; /**/ var domNode = args['node']; //*/ @@ -3978,12 +3978,12 @@ return _Platform_initialize( flagDecoder, args, - impl.fv, - impl.g_, - impl.gr, + impl.fi, + impl.gJ, + impl.gb, function(sendToApp, initialModel) { - var divertHrefToApp = impl.cE && impl.cE(sendToApp) - var view = impl.bZ; + var divertHrefToApp = impl.cm && impl.cm(sendToApp) + var view = impl.bH; var title = _VirtualDom_doc.title; var bodyNode = _VirtualDom_doc.body; var currNode = _VirtualDom_virtualize(bodyNode); @@ -3991,12 +3991,12 @@ { _VirtualDom_divertHrefToApp = divertHrefToApp; var doc = view(model); - var nextNode = _VirtualDom_node('body')(_List_Nil)(doc.eE); + var nextNode = _VirtualDom_node('body')(_List_Nil)(doc.er); var patches = _VirtualDom_diff(currNode, nextNode); bodyNode = _VirtualDom_applyPatches(bodyNode, currNode, patches, sendToApp); currNode = nextNode; _VirtualDom_divertHrefToApp = 0; - (title !== doc.gL) && (_VirtualDom_doc.title = title = doc.gL); + (title !== doc.gu) && (_VirtualDom_doc.title = title = doc.gu); }); } ); @@ -4052,12 +4052,12 @@ function _Browser_application(impl) { - var onUrlChange = impl.fT; - var onUrlRequest = impl.fU; + var onUrlChange = impl.fE; + var onUrlRequest = impl.fF; var key = function() { key.a(onUrlChange(_Browser_getUrl())); }; return _Browser_document({ - cE: function(sendToApp) + cm: function(sendToApp) { key.a = sendToApp; _Browser_window.addEventListener('popstate', key); @@ -4073,9 +4073,9 @@ var next = $elm$url$Url$fromString(href).a; sendToApp(onUrlRequest( (next - && curr.dO === next.dO - && curr.dm === next.dm - && curr.dK.a === next.dK.a + && curr.dz === next.dz + && curr.c6 === next.c6 + && curr.dv.a === next.dv.a ) ? $elm$browser$Browser$Internal(next) : $elm$browser$Browser$External(href) @@ -4083,13 +4083,13 @@ } }); }, - fv: function(flags) + fi: function(flags) { - return A3(impl.fv, flags, _Browser_getUrl(), key); + return A3(impl.fi, flags, _Browser_getUrl(), key); }, - bZ: impl.bZ, - g_: impl.g_, - gr: impl.gr + bH: impl.bH, + gJ: impl.gJ, + gb: impl.gb }); } @@ -4155,17 +4155,17 @@ function _Browser_visibilityInfo() { return (typeof _VirtualDom_doc.hidden !== 'undefined') - ? { fl: 'hidden', eO: 'visibilitychange' } + ? { e8: 'hidden', eB: 'visibilitychange' } : (typeof _VirtualDom_doc.mozHidden !== 'undefined') - ? { fl: 'mozHidden', eO: 'mozvisibilitychange' } + ? { e8: 'mozHidden', eB: 'mozvisibilitychange' } : (typeof _VirtualDom_doc.msHidden !== 'undefined') - ? { fl: 'msHidden', eO: 'msvisibilitychange' } + ? { e8: 'msHidden', eB: 'msvisibilitychange' } : (typeof _VirtualDom_doc.webkitHidden !== 'undefined') - ? { fl: 'webkitHidden', eO: 'webkitvisibilitychange' } - : { fl: 'hidden', eO: 'visibilitychange' }; + ? { e8: 'webkitHidden', eB: 'webkitvisibilitychange' } + : { e8: 'hidden', eB: 'visibilitychange' }; } @@ -4246,12 +4246,12 @@ function _Browser_getViewport() { return { - dX: _Browser_getScene(), - ea: { - ef: _Browser_window.pageXOffset, - eg: _Browser_window.pageYOffset, - cQ: _Browser_doc.documentElement.clientWidth, - di: _Browser_doc.documentElement.clientHeight + dI: _Browser_getScene(), + dZ: { + d2: _Browser_window.pageXOffset, + d3: _Browser_window.pageYOffset, + cA: _Browser_doc.documentElement.clientWidth, + c2: _Browser_doc.documentElement.clientHeight } }; } @@ -4261,8 +4261,8 @@ var body = _Browser_doc.body; var elem = _Browser_doc.documentElement; return { - cQ: Math.max(body.scrollWidth, body.offsetWidth, elem.scrollWidth, elem.offsetWidth, elem.clientWidth), - di: Math.max(body.scrollHeight, body.offsetHeight, elem.scrollHeight, elem.offsetHeight, elem.clientHeight) + cA: Math.max(body.scrollWidth, body.offsetWidth, elem.scrollWidth, elem.offsetWidth, elem.clientWidth), + c2: Math.max(body.scrollHeight, body.offsetHeight, elem.scrollHeight, elem.offsetHeight, elem.clientHeight) }; } @@ -4285,15 +4285,15 @@ return _Browser_withNode(id, function(node) { return { - dX: { - cQ: node.scrollWidth, - di: node.scrollHeight + dI: { + cA: node.scrollWidth, + c2: node.scrollHeight }, - ea: { - ef: node.scrollLeft, - eg: node.scrollTop, - cQ: node.clientWidth, - di: node.clientHeight + dZ: { + d2: node.scrollLeft, + d3: node.scrollTop, + cA: node.clientWidth, + c2: node.clientHeight } }; }); @@ -4323,18 +4323,18 @@ var x = _Browser_window.pageXOffset; var y = _Browser_window.pageYOffset; return { - dX: _Browser_getScene(), - ea: { - ef: x, - eg: y, - cQ: _Browser_doc.documentElement.clientWidth, - di: _Browser_doc.documentElement.clientHeight + dI: _Browser_getScene(), + dZ: { + d2: x, + d3: y, + cA: _Browser_doc.documentElement.clientWidth, + c2: _Browser_doc.documentElement.clientHeight }, - e9: { - ef: x + rect.left, - eg: y + rect.top, - cQ: rect.width, - di: rect.height + eY: { + d2: x + rect.left, + d3: y + rect.top, + cA: rect.width, + c2: rect.height } }; }); @@ -4557,25 +4557,25 @@ return _Scheduler_binding(function(callback) { function done(response) { - callback(toTask(request.c8.a(response))); + callback(toTask(request.cU.a(response))); } var xhr = new XMLHttpRequest(); xhr.addEventListener('error', function() { done($elm$http$Http$NetworkError_); }); xhr.addEventListener('timeout', function() { done($elm$http$Http$Timeout_); }); - xhr.addEventListener('load', function() { done(_Http_toResponse(request.c8.b, xhr)); }); - $elm$core$Maybe$isJust(request.d4) && _Http_track(router, xhr, request.d4.a); + xhr.addEventListener('load', function() { done(_Http_toResponse(request.cU.b, xhr)); }); + $elm$core$Maybe$isJust(request.dS) && _Http_track(router, xhr, request.dS.a); try { - xhr.open(request.fK, request.d7, true); + xhr.open(request.fw, request.dV, true); } catch (e) { - return done($elm$http$Http$BadUrl_(request.d7)); + return done($elm$http$Http$BadUrl_(request.dV)); } _Http_configureRequest(xhr, request); - request.eE.a && xhr.setRequestHeader('Content-Type', request.eE.a); - xhr.send(request.eE.b); + request.er.a && xhr.setRequestHeader('Content-Type', request.er.a); + xhr.send(request.er.b); return function() { xhr.c = true; xhr.abort(); }; }); @@ -4586,13 +4586,13 @@ function _Http_configureRequest(xhr, request) { - for (var headers = request.dh; headers.b; headers = headers.b) // WHILE_CONS + for (var headers = request.c1; headers.b; headers = headers.b) // WHILE_CONS { xhr.setRequestHeader(headers.a.a, headers.a.b); } - xhr.timeout = request.gJ.a || 0; - xhr.responseType = request.c8.d; - xhr.withCredentials = request.es; + xhr.timeout = request.gs.a || 0; + xhr.responseType = request.cU.d; + xhr.withCredentials = request.ef; } @@ -4613,10 +4613,10 @@ function _Http_toMetadata(xhr) { return { - d7: xhr.responseURL, - gl: xhr.status, - gm: xhr.statusText, - dh: _Http_parseHeaders(xhr.getAllResponseHeaders()) + dV: xhr.responseURL, + f6: xhr.status, + f7: xhr.statusText, + c1: _Http_parseHeaders(xhr.getAllResponseHeaders()) }; } @@ -4711,15 +4711,15 @@ xhr.upload.addEventListener('progress', function(event) { if (xhr.c) { return; } _Scheduler_rawSpawn(A2($elm$core$Platform$sendToSelf, router, _Utils_Tuple2(tracker, $elm$http$Http$Sending({ - gc: event.loaded, - gf: event.total + fZ: event.loaded, + f0: event.total })))); }); xhr.addEventListener('progress', function(event) { if (xhr.c) { return; } _Scheduler_rawSpawn(A2($elm$core$Platform$sendToSelf, router, _Utils_Tuple2(tracker, $elm$http$Http$Receiving({ - f1: event.loaded, - gf: event.lengthComputable ? $elm$core$Maybe$Just(event.total) : $elm$core$Maybe$Nothing + fO: event.loaded, + f0: event.lengthComputable ? $elm$core$Maybe$Just(event.total) : $elm$core$Maybe$Nothing })))); }); } @@ -5176,7 +5176,7 @@ var treeLen = builder.m * $elm$core$Array$branchFactor; var depth = $elm$core$Basics$floor( A2($elm$core$Basics$logBase, $elm$core$Array$branchFactor, treeLen - 1)); - var correctNodeList = reverseNodeList ? $elm$core$List$reverse(builder.t) : builder.t; + var correctNodeList = reverseNodeList ? $elm$core$List$reverse(builder.s) : builder.s; var tree = A2($elm$core$Array$treeFromBuilder, correctNodeList, builder.m); return A4( $elm$core$Array$Array_elm_builtin, @@ -5196,7 +5196,7 @@ return A2( $elm$core$Array$builderToArray, false, - {t: nodeList, m: (len / $elm$core$Array$branchFactor) | 0, r: tail}); + {s: nodeList, m: (len / $elm$core$Array$branchFactor) | 0, r: tail}); } else { var leaf = $elm$core$Array$Leaf( A3($elm$core$Elm$JsArray$initialize, $elm$core$Array$branchFactor, fromIndex, fn)); @@ -5263,7 +5263,7 @@ var $elm$url$Url$Https = 1; var $elm$url$Url$Url = F6( function (protocol, host, port_, path, query, fragment) { - return {de: fragment, dm: host, dI: path, dK: port_, dO: protocol, dP: query}; + return {c_: fragment, c6: host, dt: path, dv: port_, dz: protocol, dA: query}; }); var $elm$core$String$contains = _String_contains; var $elm$core$String$length = _String_length; @@ -5549,9 +5549,9 @@ var $elm$core$Set$empty = $elm$core$Dict$empty; var $author$project$CollapseStatus$allCollapsed = $elm$core$Set$empty; var $author$project$AllRuns$AllRuns = $elm$core$Basics$identity; -var $author$project$AllRuns$empty = {bN: 0, C: $elm$core$Dict$empty}; +var $author$project$AllRuns$empty = {by: 1, B: $elm$core$Dict$empty}; var $author$project$InterestList$InterestList = $elm$core$Basics$identity; -var $author$project$InterestList$empty = {bI: $elm$core$Dict$empty, a1: 'data', ae: $elm$core$Set$empty, a6: false}; +var $author$project$InterestList$empty = {bs: $elm$core$Dict$empty, aM: 'data', aa: $elm$core$Set$empty, aR: false}; var $elm$core$Platform$Cmd$batch = _Platform_batch; var $elm$core$Platform$Cmd$none = $elm$core$Platform$Cmd$batch(_List_Nil); var $yotamDvir$elm_pivot$Pivot$Types$Pivot = F2( @@ -5572,14 +5572,17 @@ var $author$project$Main$init = function (_v0) { return _Utils_Tuple2( { - aj: $elm$core$Maybe$Nothing, - ak: $elm$core$Maybe$Nothing, - bw: _List_Nil, - bd: $author$project$CollapseStatus$allCollapsed, - bE: false, - x: $yotamDvir$elm_pivot$Pivot$singleton($author$project$InterestList$empty), - C: $author$project$AllRuns$empty, - ah: $elm$core$Maybe$Nothing + ae: $elm$core$Maybe$Nothing, + af: $elm$core$Maybe$Nothing, + bg: _List_Nil, + aK: $author$project$CollapseStatus$allCollapsed, + I: $elm$core$Dict$empty, + bo: false, + v: $yotamDvir$elm_pivot$Pivot$singleton($author$project$InterestList$empty), + bv: 600, + B: $author$project$AllRuns$empty, + aC: $elm$core$Maybe$Nothing, + ac: $elm$core$Maybe$Nothing }, $elm$core$Platform$Cmd$none); }; @@ -5719,10 +5722,10 @@ return _Utils_update( model, { - x: A2( + v: A2( $yotamDvir$elm_pivot$Pivot$withRollback, $yotamDvir$elm_pivot$Pivot$goTo(id), - model.x) + model.v) }); }); var $elm$core$Dict$Black = 1; @@ -5837,9 +5840,9 @@ var $author$project$AllRuns$add = F2( function (ir, _v0) { var a = _v0; - var newNextId = a.bN + 1; - var _new = A3($elm$core$Dict$insert, a.bN, ir, a.C); - return {bN: newNextId, C: _new}; + var newNextId = a.by + 1; + var _new = A3($elm$core$Dict$insert, a.by, ir, a.B); + return {by: newNextId, B: _new}; }); var $elm$core$Basics$always = F2( function (a, _v0) { @@ -5912,11 +5915,11 @@ }); var $author$project$Run$Run = $elm$core$Basics$identity; var $author$project$Run$create = function (_v0) { - var inputs = _v0.fB; - var entries = _v0.fa; - var result = _v0.bi; - var overrides = _v0.fX; - return {fa: entries, fB: inputs, fX: overrides, bi: result}; + var inputs = _v0.fo; + var entries = _v0.eZ; + var result = _v0.a0; + var overrides = _v0.fI; + return {eZ: entries, fo: inputs, fI: overrides, a0: result}; }; var $elm$json$Json$Decode$decodeString = _Json_runOnString; var $elm$json$Json$Decode$andThen = _Json_andThen; @@ -6180,7 +6183,7 @@ }); var $author$project$InterestList$guessShortPathLabels = function (_v0) { var il = _v0; - var _v1 = $elm$core$Set$toList(il.ae); + var _v1 = $elm$core$Set$toList(il.aa); if (_v1.b && (!_v1.b.b)) { var onlyOne = _v1.a; return A2( @@ -6230,7 +6233,7 @@ return _Utils_update( il, { - bI: $author$project$InterestList$guessShortPathLabels(i) + bs: $author$project$InterestList$guessShortPathLabels(i) }); }; var $author$project$InterestList$decoder = A4( @@ -6238,7 +6241,7 @@ F3( function (label, showGraph, paths) { return $author$project$InterestList$updateShortPathLabels( - {bI: $elm$core$Dict$empty, a1: label, ae: paths, a6: showGraph}); + {bs: $elm$core$Dict$empty, aM: label, aa: paths, aR: showGraph}); }), A2($elm$json$Json$Decode$field, 'label', $elm$json$Json$Decode$string), A2($elm$json$Json$Decode$field, 'showGraph', $elm$json$Json$Decode$bool), @@ -6253,7 +6256,7 @@ var $author$project$Storage$v1Decoder = A2( $elm$json$Json$Decode$map, function (l) { - return {x: l}; + return {v: l}; }, A2( $elm$json$Json$Decode$field, @@ -6270,28 +6273,31 @@ } }, A2($elm$json$Json$Decode$field, 'version', $elm$json$Json$Decode$int)); -var $elm$json$Json$Encode$bool = _Json_wrap; -var $elm$json$Json$Encode$list = F2( - function (func, entries) { - return _Json_wrap( - A3( - $elm$core$List$foldl, - _Json_addEntry(func), - _Json_emptyArray(0), - entries)); +var $author$project$Value$minimumTolerance = 1.0e-2; +var $author$project$Value$defaultTolerance = $author$project$Value$minimumTolerance; +var $author$project$Run$WithOverrides = 0; +var $author$project$Tree$Leaf = function (a) { + return {$: 1, a: a}; +}; +var $author$project$Diff$Left = function (a) { + return {$: 0, a: a}; +}; +var $author$project$Diff$Right = function (a) { + return {$: 1, a: a}; +}; +var $author$project$Tree$Tree = function (a) { + return {$: 0, a: a}; +}; +var $author$project$Diff$Unequal = F2( + function (a, b) { + return {$: 2, a: a, b: b}; }); -var $elm$json$Json$Encode$object = function (pairs) { - return _Json_wrap( - A3( - $elm$core$List$foldl, - F2( - function (_v0, obj) { - var k = _v0.a; - var v = _v0.b; - return A3(_Json_addField, k, v, obj); - }), - _Json_emptyObject(0), - pairs)); +var $elm$core$Dict$isEmpty = function (dict) { + if (dict.$ === -2) { + return true; + } else { + return false; + } }; var $elm$core$Dict$foldl = F3( function (func, acc, dict) { @@ -6318,6 +6324,366 @@ } } }); +var $elm$core$Dict$merge = F6( + function (leftStep, bothStep, rightStep, leftDict, rightDict, initialResult) { + var stepState = F3( + function (rKey, rValue, _v0) { + stepState: + while (true) { + var list = _v0.a; + var result = _v0.b; + if (!list.b) { + return _Utils_Tuple2( + list, + A3(rightStep, rKey, rValue, result)); + } else { + var _v2 = list.a; + var lKey = _v2.a; + var lValue = _v2.b; + var rest = list.b; + if (_Utils_cmp(lKey, rKey) < 0) { + var $temp$rKey = rKey, + $temp$rValue = rValue, + $temp$_v0 = _Utils_Tuple2( + rest, + A3(leftStep, lKey, lValue, result)); + rKey = $temp$rKey; + rValue = $temp$rValue; + _v0 = $temp$_v0; + continue stepState; + } else { + if (_Utils_cmp(lKey, rKey) > 0) { + return _Utils_Tuple2( + list, + A3(rightStep, rKey, rValue, result)); + } else { + return _Utils_Tuple2( + rest, + A4(bothStep, lKey, lValue, rValue, result)); + } + } + } + } + }); + var _v3 = A3( + $elm$core$Dict$foldl, + stepState, + _Utils_Tuple2( + $elm$core$Dict$toList(leftDict), + initialResult), + rightDict); + var leftovers = _v3.a; + var intermediateResult = _v3.b; + return A3( + $elm$core$List$foldl, + F2( + function (_v4, result) { + var k = _v4.a; + var v = _v4.b; + return A3(leftStep, k, v, result); + }), + intermediateResult, + leftovers); + }); +var $author$project$Diff$diff = F3( + function (valueIsEqual, a, b) { + return A6( + $elm$core$Dict$merge, + F3( + function (key, value, acc) { + return A3( + $elm$core$Dict$insert, + key, + $author$project$Tree$Leaf( + $author$project$Diff$Left(value)), + acc); + }), + F4( + function (key, value1, value2, acc) { + var _v0 = _Utils_Tuple2(value1, value2); + if (!_v0.a.$) { + if (!_v0.b.$) { + var t1 = _v0.a.a; + var t2 = _v0.b.a; + var t = A3($author$project$Diff$diff, valueIsEqual, t1, t2); + return $elm$core$Dict$isEmpty(t) ? acc : A3( + $elm$core$Dict$insert, + key, + $author$project$Tree$Tree(t), + acc); + } else { + return A3( + $elm$core$Dict$insert, + key, + $author$project$Tree$Leaf( + A2($author$project$Diff$Unequal, value1, value2)), + acc); + } + } else { + if (!_v0.b.$) { + return A3( + $elm$core$Dict$insert, + key, + $author$project$Tree$Leaf( + A2($author$project$Diff$Unequal, value1, value2)), + acc); + } else { + var l1 = _v0.a.a; + var l2 = _v0.b.a; + return A2(valueIsEqual, l1, l2) ? acc : A3( + $elm$core$Dict$insert, + key, + $author$project$Tree$Leaf( + A2($author$project$Diff$Unequal, value1, value2)), + acc); + } + } + }), + F3( + function (key, value, acc) { + return A3( + $elm$core$Dict$insert, + key, + $author$project$Tree$Leaf( + $author$project$Diff$Right(value)), + acc); + }), + a, + b, + $elm$core$Dict$empty); + }); +var $elm$core$Dict$get = F2( + function (targetKey, dict) { + get: + while (true) { + if (dict.$ === -2) { + return $elm$core$Maybe$Nothing; + } else { + var key = dict.b; + var value = dict.c; + var left = dict.d; + var right = dict.e; + var _v1 = A2($elm$core$Basics$compare, targetKey, key); + switch (_v1) { + case 0: + var $temp$targetKey = targetKey, + $temp$dict = left; + targetKey = $temp$targetKey; + dict = $temp$dict; + continue get; + case 1: + return $elm$core$Maybe$Just(value); + default: + var $temp$targetKey = targetKey, + $temp$dict = right; + targetKey = $temp$targetKey; + dict = $temp$dict; + continue get; + } + } + } + }); +var $author$project$AllRuns$get = F2( + function (id, _v0) { + var a = _v0; + return A2($elm$core$Dict$get, id, a.B); + }); +var $author$project$Value$Float = function (a) { + return {$: 0, a: a}; +}; +var $elm$core$Dict$map = F2( + function (func, dict) { + if (dict.$ === -2) { + return $elm$core$Dict$RBEmpty_elm_builtin; + } else { + var color = dict.a; + var key = dict.b; + var value = dict.c; + var left = dict.d; + var right = dict.e; + return A5( + $elm$core$Dict$RBNode_elm_builtin, + color, + key, + A2(func, key, value), + A2($elm$core$Dict$map, func, left), + A2($elm$core$Dict$map, func, right)); + } + }); +var $elm$core$Dict$union = F2( + function (t1, t2) { + return A3($elm$core$Dict$foldl, $elm$core$Dict$insert, t2, t1); + }); +var $author$project$Tree$merge = F2( + function (t1, t2) { + return A2($elm$core$Dict$union, t1, t2); + }); +var $author$project$Tree$wrap = F2( + function (name, tree) { + return $elm$core$Dict$fromList( + _List_fromArray( + [ + _Utils_Tuple2( + name, + $author$project$Tree$Tree(tree)) + ])); + }); +var $author$project$Run$getTree = F2( + function (h, _v0) { + var r = _v0; + var entries = function () { + if (h === 1) { + return A2( + $elm$core$Dict$map, + F2( + function (_v2, v) { + return $author$project$Tree$Leaf(v); + }), + r.eZ); + } else { + return A2( + $elm$core$Dict$map, + F2( + function (k, v) { + var _v3 = A2($elm$core$Dict$get, k, r.fI); + if (_v3.$ === 1) { + return $author$project$Tree$Leaf(v); + } else { + var o = _v3.a; + return $author$project$Tree$Leaf( + $author$project$Value$Float(o)); + } + }), + r.eZ); + } + }(); + return A2( + $author$project$Tree$merge, + A2($author$project$Tree$wrap, 'entries', entries), + A2($author$project$Tree$wrap, 'result', r.a0)); + }); +var $elm$core$Basics$negate = function (n) { + return -n; +}; +var $elm$core$Basics$abs = function (n) { + return (n < 0) ? (-n) : n; +}; +var $elm$core$Basics$isNaN = _Basics_isNaN; +var $author$project$Value$isEqual = F3( + function (tolerance, a, b) { + var _v0 = _Utils_Tuple2(a, b); + switch (_v0.a.$) { + case 0: + switch (_v0.b.$) { + case 0: + var fa = _v0.a.a; + var fb = _v0.b.a; + var _v3 = _Utils_Tuple2( + $elm$core$Basics$isNaN(fa), + $elm$core$Basics$isNaN(fb)); + if (_v3.a) { + if (_v3.b) { + return true; + } else { + return false; + } + } else { + if (_v3.b) { + return false; + } else { + var d = $elm$core$Basics$abs(fb - fa); + return _Utils_cmp( + d, + A2( + $elm$core$Basics$max, + tolerance * A2( + $elm$core$Basics$max, + $elm$core$Basics$abs(fa), + $elm$core$Basics$abs(fb)), + 1.0e-12)) < 1; + } + } + case 1: + var _v4 = _v0.b; + return false; + default: + return false; + } + case 2: + switch (_v0.b.$) { + case 2: + var sa = _v0.a.a; + var sb = _v0.b.a; + return _Utils_eq(sa, sb); + case 0: + return false; + default: + var _v5 = _v0.b; + return false; + } + default: + switch (_v0.b.$) { + case 1: + var _v1 = _v0.a; + var _v2 = _v0.b; + return true; + case 0: + var _v6 = _v0.a; + return false; + default: + var _v7 = _v0.a; + return false; + } + } + }); +var $author$project$Main$diffRunsById = F4( + function (idA, idB, tolerance, model) { + var _v0 = _Utils_Tuple2( + A2($author$project$AllRuns$get, idA, model.B), + A2($author$project$AllRuns$get, idB, model.B)); + if (_v0.a.$ === 1) { + var _v1 = _v0.a; + return $elm$core$Maybe$Nothing; + } else { + if (_v0.b.$ === 1) { + var _v2 = _v0.b; + return $elm$core$Maybe$Nothing; + } else { + var runA = _v0.a.a; + var runB = _v0.b.a; + var diff = A3( + $author$project$Diff$diff, + $author$project$Value$isEqual(tolerance / 100.0), + A2($author$project$Run$getTree, 0, runA), + A2($author$project$Run$getTree, 0, runB)); + var diffData = {bS: diff, a4: tolerance}; + return $elm$core$Maybe$Just(diffData); + } + } + }); +var $elm$json$Json$Encode$bool = _Json_wrap; +var $elm$json$Json$Encode$list = F2( + function (func, entries) { + return _Json_wrap( + A3( + $elm$core$List$foldl, + _Json_addEntry(func), + _Json_emptyArray(0), + entries)); + }); +var $elm$json$Json$Encode$object = function (pairs) { + return _Json_wrap( + A3( + $elm$core$List$foldl, + F2( + function (_v0, obj) { + var k = _v0.a; + var v = _v0.b; + return A3(_Json_addField, k, v, obj); + }), + _Json_emptyObject(0), + pairs)); +}; var $elm$core$Set$foldl = F3( function (func, initialState, _v0) { var dict = _v0; @@ -6347,21 +6713,21 @@ [ _Utils_Tuple2( 'label', - $elm$json$Json$Encode$string(i.a1)), + $elm$json$Json$Encode$string(i.aM)), _Utils_Tuple2( 'showGraph', - $elm$json$Json$Encode$bool(i.a6)), + $elm$json$Json$Encode$bool(i.aR)), _Utils_Tuple2( 'paths', A2( $elm$json$Json$Encode$set, $elm$json$Json$Encode$list($elm$json$Json$Encode$string), - i.ae)) + i.aa)) ])); }; var $elm$json$Json$Encode$int = _Json_wrap; var $author$project$Storage$encodeV1 = function (_v0) { - var interestLists = _v0.x; + var interestLists = _v0.v; return $elm$json$Json$Encode$object( _List_fromArray( [ @@ -6420,7 +6786,7 @@ 0, $author$project$Storage$encode( { - x: $yotamDvir$elm_pivot$Pivot$toList(model.x) + v: $yotamDvir$elm_pivot$Pivot$toList(model.v) })); return A3($elm$file$File$Download$string, 'explorer.json', 'text/json', content); }; @@ -6440,7 +6806,7 @@ return $elm$core$List$concat( A2($elm$core$List$map, f, list)); }); -var $author$project$ValueTree$expandHelper = F2( +var $author$project$Tree$expandHelper = F2( function (path, t) { return A2( $elm$core$List$concatMap, @@ -6458,7 +6824,7 @@ } else { var childTree = child.a; return A2( - $author$project$ValueTree$expandHelper, + $author$project$Tree$expandHelper, _Utils_ap( path, _List_fromArray( @@ -6468,7 +6834,7 @@ }, $elm$core$Dict$toList(t)); }); -var $author$project$ValueTree$expand = $author$project$ValueTree$expandHelper(_List_Nil); +var $author$project$Tree$expand = $author$project$Tree$expandHelper(_List_Nil); var $elm$file$File$Select$file = F2( function (mimes, toMsg) { return A2( @@ -6476,9 +6842,6 @@ toMsg, _File_uploadOne(mimes)); }); -var $author$project$ValueTree$Tree = function (a) { - return {$: 0, a: a}; -}; var $elm$core$List$maybeCons = F3( function (f, mx, xs) { var _v0 = f(mx); @@ -6497,13 +6860,6 @@ _List_Nil, xs); }); -var $elm$core$Dict$isEmpty = function (dict) { - if (dict.$ === -2) { - return true; - } else { - return false; - } -}; var $author$project$Glob$matchHelper = F2( function (pattern, text) { matchHelper: @@ -6511,46 +6867,53 @@ var _v0 = _Utils_Tuple2( $elm$core$String$uncons(pattern), $elm$core$String$uncons(text)); - if (_v0.a.$ === 1) { - if (_v0.b.$ === 1) { - var _v1 = _v0.a; - var _v2 = _v0.b; - return true; - } else { - var _v3 = _v0.a; - return false; - } - } else { - if (_v0.b.$ === 1) { - if (('*' === _v0.a.a.a) && (_v0.a.a.b === '')) { - var _v4 = _v0.a.a; - var _v5 = _v0.b; + _v0$2: + while (true) { + if (_v0.a.$ === 1) { + if (_v0.b.$ === 1) { + var _v1 = _v0.a; + var _v2 = _v0.b; return true; } else { - var _v6 = _v0.b; + var _v3 = _v0.a; return false; } } else { - var _v7 = _v0.a.a; - var p = _v7.a; - var ps = _v7.b; - var _v8 = _v0.b.a; - var t = _v8.a; - var ts = _v8.b; - switch (p) { - case '?': - var $temp$pattern = ps, - $temp$text = ts; - pattern = $temp$pattern; - text = $temp$text; - continue matchHelper; - case '*': - return A2($author$project$Glob$matchHelper, pattern, ts) || A2($author$project$Glob$matchHelper, ps, text); - default: - return _Utils_eq(p, t) && A2($author$project$Glob$matchHelper, ps, ts); + if (_v0.b.$ === 1) { + if (('*' === _v0.a.a.a) && (_v0.a.a.b === '')) { + break _v0$2; + } else { + var _v5 = _v0.b; + return false; + } + } else { + if (('*' === _v0.a.a.a) && (_v0.a.a.b === '')) { + break _v0$2; + } else { + var _v6 = _v0.a.a; + var p = _v6.a; + var ps = _v6.b; + var _v7 = _v0.b.a; + var t = _v7.a; + var ts = _v7.b; + switch (p) { + case '?': + var $temp$pattern = ps, + $temp$text = ts; + pattern = $temp$pattern; + text = $temp$text; + continue matchHelper; + case '*': + return A2($author$project$Glob$matchHelper, pattern, ts) || A2($author$project$Glob$matchHelper, ps, text); + default: + return _Utils_eq(p, t) && A2($author$project$Glob$matchHelper, ps, ts); + } + } } } } + var _v4 = _v0.a.a; + return true; } }); var $elm$core$String$toLower = _String_toLower; @@ -6580,7 +6943,7 @@ return $elm$core$Dict$isEmpty(newChildTree) ? $elm$core$Maybe$Nothing : $elm$core$Maybe$Just( _Utils_Tuple2( name, - $author$project$ValueTree$Tree(newChildTree))); + $author$project$Tree$Tree(newChildTree))); } } }, @@ -6601,145 +6964,32 @@ return $elm$core$Maybe$Nothing; } }); -var $author$project$Main$filterFieldId = 'filter'; -var $elm$browser$Browser$Dom$focus = _Browser_call('focus'); -var $yotamDvir$elm_pivot$Pivot$Create$fromList = function (l) { - if (!l.b) { - return $elm$core$Maybe$Nothing; - } else { - var hd = l.a; - var tl = l.b; - return $elm$core$Maybe$Just( - A2($yotamDvir$elm_pivot$Pivot$Create$fromCons, hd, tl)); - } -}; -var $yotamDvir$elm_pivot$Pivot$fromList = $yotamDvir$elm_pivot$Pivot$Create$fromList; -var $elm$core$Dict$get = F2( - function (targetKey, dict) { - get: - while (true) { - if (dict.$ === -2) { - return $elm$core$Maybe$Nothing; - } else { - var key = dict.b; - var value = dict.c; - var left = dict.d; - var right = dict.e; - var _v1 = A2($elm$core$Basics$compare, targetKey, key); - switch (_v1) { - case 0: - var $temp$targetKey = targetKey, - $temp$dict = left; - targetKey = $temp$targetKey; - dict = $temp$dict; - continue get; - case 1: - return $elm$core$Maybe$Just(value); - default: - var $temp$targetKey = targetKey, - $temp$dict = right; - targetKey = $temp$targetKey; - dict = $temp$dict; - continue get; - } - } - } - }); -var $author$project$AllRuns$get = F2( - function (id, _v0) { - var a = _v0; - return A2($elm$core$Dict$get, id, a.C); - }); -var $yotamDvir$elm_pivot$Pivot$Get$getC = function (_v0) { - var c = _v0.a; - return c; -}; -var $yotamDvir$elm_pivot$Pivot$getC = $yotamDvir$elm_pivot$Pivot$Get$getC; -var $author$project$Run$getInputs = function (_v0) { - var r = _v0; - return r.fB; -}; -var $author$project$Run$getOverrides = function (_v0) { - var r = _v0; - return r.fX; -}; -var $author$project$ValueTree$Float = function (a) { - return {$: 0, a: a}; -}; -var $author$project$ValueTree$Leaf = function (a) { - return {$: 1, a: a}; -}; -var $elm$core$Dict$map = F2( - function (func, dict) { - if (dict.$ === -2) { - return $elm$core$Dict$RBEmpty_elm_builtin; - } else { - var color = dict.a; - var key = dict.b; - var value = dict.c; - var left = dict.d; - var right = dict.e; - return A5( - $elm$core$Dict$RBNode_elm_builtin, - color, - key, - A2(func, key, value), - A2($elm$core$Dict$map, func, left), - A2($elm$core$Dict$map, func, right)); - } - }); -var $elm$core$Dict$union = F2( - function (t1, t2) { - return A3($elm$core$Dict$foldl, $elm$core$Dict$insert, t2, t1); - }); -var $author$project$ValueTree$merge = F2( - function (t1, t2) { - return A2($elm$core$Dict$union, t1, t2); - }); -var $author$project$ValueTree$wrap = F2( - function (name, tree) { - return $elm$core$Dict$fromList( - _List_fromArray( - [ - _Utils_Tuple2( - name, - $author$project$ValueTree$Tree(tree)) - ])); - }); -var $author$project$Run$getTree = F2( - function (h, _v0) { - var r = _v0; - var entries = function () { - if (h === 1) { - return A2( - $elm$core$Dict$map, - F2( - function (_v2, v) { - return $author$project$ValueTree$Leaf(v); - }), - r.fa); - } else { - return A2( - $elm$core$Dict$map, - F2( - function (k, v) { - var _v3 = A2($elm$core$Dict$get, k, r.fX); - if (_v3.$ === 1) { - return $author$project$ValueTree$Leaf(v); - } else { - var o = _v3.a; - return $author$project$ValueTree$Leaf( - $author$project$ValueTree$Float(o)); - } - }), - r.fa); - } - }(); - return A2( - $author$project$ValueTree$merge, - A2($author$project$ValueTree$wrap, 'entries', entries), - A2($author$project$ValueTree$wrap, 'result', r.bi)); - }); +var $author$project$Main$filterFieldId = 'filter'; +var $elm$browser$Browser$Dom$focus = _Browser_call('focus'); +var $yotamDvir$elm_pivot$Pivot$Create$fromList = function (l) { + if (!l.b) { + return $elm$core$Maybe$Nothing; + } else { + var hd = l.a; + var tl = l.b; + return $elm$core$Maybe$Just( + A2($yotamDvir$elm_pivot$Pivot$Create$fromCons, hd, tl)); + } +}; +var $yotamDvir$elm_pivot$Pivot$fromList = $yotamDvir$elm_pivot$Pivot$Create$fromList; +var $yotamDvir$elm_pivot$Pivot$Get$getC = function (_v0) { + var c = _v0.a; + return c; +}; +var $yotamDvir$elm_pivot$Pivot$getC = $yotamDvir$elm_pivot$Pivot$Get$getC; +var $author$project$Run$getInputs = function (_v0) { + var r = _v0; + return r.fo; +}; +var $author$project$Run$getOverrides = function (_v0) { + var r = _v0; + return r.fI; +}; var $author$project$Main$GotGeneratorResult = F5( function (a, b, c, d, e) { return {$: 0, a: a, b: b, c: c, d: d, e: e}; @@ -6759,40 +7009,41 @@ $elm$json$Json$Decode$succeed(0)); }; var $elm$json$Json$Decode$oneOf = _Json_oneOf; -var $author$project$ValueTree$Null = {$: 1}; -var $author$project$ValueTree$String = function (a) { - return {$: 2, a: a}; -}; -var $elm$json$Json$Decode$float = _Json_decodeFloat; -var $elm$json$Json$Decode$null = _Json_decodeNull; -var $author$project$ValueTree$valueDecoder = $elm$json$Json$Decode$oneOf( - _List_fromArray( - [ - A2($elm$json$Json$Decode$map, $author$project$ValueTree$Float, $elm$json$Json$Decode$float), - A2($elm$json$Json$Decode$map, $author$project$ValueTree$String, $elm$json$Json$Decode$string), - $elm$json$Json$Decode$null($author$project$ValueTree$Null) - ])); -function $author$project$ValueTree$cyclic$nodeDecoder() { +var $author$project$Tree$nodeDecoder = function (valueDecoder) { return $elm$json$Json$Decode$oneOf( _List_fromArray( [ - A2($elm$json$Json$Decode$map, $author$project$ValueTree$Leaf, $author$project$ValueTree$valueDecoder), + A2($elm$json$Json$Decode$map, $author$project$Tree$Leaf, valueDecoder), A2( $elm$json$Json$Decode$map, - $author$project$ValueTree$Tree, + $author$project$Tree$Tree, $elm$json$Json$Decode$dict( $elm$json$Json$Decode$lazy( function (_v0) { - return $author$project$ValueTree$cyclic$nodeDecoder(); + return $author$project$Tree$nodeDecoder(valueDecoder); }))) ])); -} -var $author$project$ValueTree$nodeDecoder = $author$project$ValueTree$cyclic$nodeDecoder(); -$author$project$ValueTree$cyclic$nodeDecoder = function () { - return $author$project$ValueTree$nodeDecoder; }; -var $author$project$ValueTree$treeDecoder = $elm$json$Json$Decode$dict($author$project$ValueTree$nodeDecoder); -var $author$project$ValueTree$decoder = $author$project$ValueTree$treeDecoder; +var $author$project$Tree$treeDecoder = function (valueDecoder) { + return $elm$json$Json$Decode$dict( + $author$project$Tree$nodeDecoder(valueDecoder)); +}; +var $author$project$Tree$decoder = function (valueDecoder) { + return $author$project$Tree$treeDecoder(valueDecoder); +}; +var $author$project$Value$Null = {$: 1}; +var $author$project$Value$String = function (a) { + return {$: 2, a: a}; +}; +var $elm$json$Json$Decode$float = _Json_decodeFloat; +var $elm$json$Json$Decode$null = _Json_decodeNull; +var $author$project$Value$decoder = $elm$json$Json$Decode$oneOf( + _List_fromArray( + [ + A2($elm$json$Json$Decode$map, $author$project$Value$Float, $elm$json$Json$Decode$float), + A2($elm$json$Json$Decode$map, $author$project$Value$String, $elm$json$Json$Decode$string), + $elm$json$Json$Decode$null($author$project$Value$Null) + ])); var $elm$json$Json$Encode$dict = F3( function (toKey, toValue, dictionary) { return _Json_wrap( @@ -7257,7 +7508,7 @@ case 3: var metadata = response.a; return $elm$core$Result$Err( - $elm$http$Http$BadStatus(metadata.gl)); + $elm$http$Http$BadStatus(metadata.f6)); default: var body = response.b; return A2( @@ -7290,7 +7541,7 @@ }; var $elm$http$Http$State = F2( function (reqs, subs) { - return {dR: reqs, d1: subs}; + return {dC: reqs, dO: subs}; }); var $elm$http$Http$init = $elm$core$Task$succeed( A2($elm$http$Http$State, $elm$core$Dict$empty, _List_Nil)); @@ -7334,7 +7585,7 @@ return A2( $elm$core$Task$andThen, function (pid) { - var _v4 = req.d4; + var _v4 = req.dS; if (_v4.$ === 1) { return A3($elm$http$Http$updateReqs, router, otherCmds, reqs); } else { @@ -7364,7 +7615,7 @@ return $elm$core$Task$succeed( A2($elm$http$Http$State, reqs, subs)); }, - A3($elm$http$Http$updateReqs, router, cmds, state.dR)); + A3($elm$http$Http$updateReqs, router, cmds, state.dC)); }); var $elm$http$Http$maybeSend = F4( function (router, desiredTracker, progress, _v0) { @@ -7389,7 +7640,7 @@ A2( $elm$core$List$filterMap, A3($elm$http$Http$maybeSend, router, tracker, progress), - state.d1))); + state.dO))); }); var $elm$http$Http$Cancel = function (a) { return {$: 0, a: a}; @@ -7403,14 +7654,14 @@ var r = cmd.a; return $elm$http$Http$Request( { - es: r.es, - eE: r.eE, - c8: A2(_Http_mapExpect, func, r.c8), - dh: r.dh, - fK: r.fK, - gJ: r.gJ, - d4: r.d4, - d7: r.d7 + ef: r.ef, + er: r.er, + cU: A2(_Http_mapExpect, func, r.cU), + c1: r.c1, + fw: r.fw, + gs: r.gs, + dS: r.dS, + dV: r.dV }); } }); @@ -7433,11 +7684,11 @@ var $elm$http$Http$request = function (r) { return $elm$http$Http$command( $elm$http$Http$Request( - {es: false, eE: r.eE, c8: r.c8, dh: r.dh, fK: r.fK, gJ: r.gJ, d4: r.d4, d7: r.d7})); + {ef: false, er: r.er, cU: r.cU, c1: r.c1, fw: r.fw, gs: r.gs, dS: r.dS, dV: r.dV})); }; var $elm$http$Http$post = function (r) { return $elm$http$Http$request( - {eE: r.eE, c8: r.c8, dh: _List_Nil, fK: 'POST', gJ: $elm$core$Maybe$Nothing, d4: $elm$core$Maybe$Nothing, d7: r.d7}); + {er: r.er, cU: r.cU, c1: _List_Nil, fw: 'POST', gs: $elm$core$Maybe$Nothing, dS: $elm$core$Maybe$Nothing, dV: r.dV}); }; var $author$project$Main$initiateCalculate = F5( function (maybeNdx, inputs, entries, overrides, model) { @@ -7445,28 +7696,28 @@ _Utils_update( model, { - ah: $elm$core$Maybe$Just($author$project$Main$Loading) + ac: $elm$core$Maybe$Just($author$project$Main$Loading) }), $elm$http$Http$post( { - eE: $elm$http$Http$jsonBody( + er: $elm$http$Http$jsonBody( $author$project$Main$encodeOverrides(overrides)), - c8: A2( + cU: A2( $elm$http$Http$expectJson, A4($author$project$Main$GotGeneratorResult, maybeNdx, inputs, entries, overrides), - $author$project$ValueTree$decoder), - d7: 'http://localhost:4070/calculate/' + (inputs.a_ + ('/' + $elm$core$String$fromInt(inputs.aZ))) + $author$project$Tree$decoder($author$project$Value$decoder)), + dV: 'http://localhost:4070/calculate/' + (inputs.aI + ('/' + $elm$core$String$fromInt(inputs.aH))) })); }); var $author$project$Main$GotEntries = F4( function (a, b, c, d) { return {$: 1, a: a, b: b, c: c, d: d}; }); -var $author$project$Run$entriesDecoder = $elm$json$Json$Decode$dict($author$project$ValueTree$valueDecoder); +var $author$project$Run$entriesDecoder = $elm$json$Json$Decode$dict($author$project$Value$decoder); var $elm$http$Http$emptyBody = _Http_emptyBody; var $elm$http$Http$get = function (r) { return $elm$http$Http$request( - {eE: $elm$http$Http$emptyBody, c8: r.c8, dh: _List_Nil, fK: 'GET', gJ: $elm$core$Maybe$Nothing, d4: $elm$core$Maybe$Nothing, d7: r.d7}); + {er: $elm$http$Http$emptyBody, cU: r.cU, c1: _List_Nil, fw: 'GET', gs: $elm$core$Maybe$Nothing, dS: $elm$core$Maybe$Nothing, dV: r.dV}); }; var $author$project$Main$initiateMakeEntries = F4( function (maybeNdx, inputs, overrides, model) { @@ -7474,15 +7725,15 @@ _Utils_update( model, { - ah: $elm$core$Maybe$Just($author$project$Main$Loading) + ac: $elm$core$Maybe$Just($author$project$Main$Loading) }), $elm$http$Http$get( { - c8: A2( + cU: A2( $elm$http$Http$expectJson, A3($author$project$Main$GotEntries, maybeNdx, inputs, overrides), $author$project$Run$entriesDecoder), - d7: 'http://localhost:4070/make-entries/' + (inputs.a_ + ('/' + $elm$core$String$fromInt(inputs.aZ))) + dV: 'http://localhost:4070/make-entries/' + (inputs.aI + ('/' + $elm$core$String$fromInt(inputs.aH))) })); }); var $author$project$InterestList$insert = F2( @@ -7492,9 +7743,21 @@ _Utils_update( i, { - ae: A2($elm$core$Set$insert, p, i.ae) + aa: A2($elm$core$Set$insert, p, i.aa) })); }); +var $author$project$Main$insertDiff = F4( + function (runA, runB, diffData, model) { + return _Utils_update( + model, + { + I: A3( + $elm$core$Dict$insert, + _Utils_Tuple2(runA, runB), + diffData, + model.I) + }); + }); var $elm$core$Platform$Cmd$map = _Platform_map; var $yotamDvir$elm_pivot$Pivot$Map$mapCLR = F4( function (onC, onL, onR, _v0) { @@ -7522,7 +7785,7 @@ return _Utils_update( m, { - x: f(m.x) + v: f(m.v) }); }); var $author$project$Main$mapActiveInterestList = function (f) { @@ -7543,7 +7806,7 @@ return _Utils_update( l, { - a1: f(l.a1) + aM: f(l.aM) }); }); var $author$project$Run$mapOverrides = F2( @@ -7552,7 +7815,7 @@ return _Utils_update( r, { - fX: f(r.fX) + fI: f(r.fI) }); }); var $elm$core$Tuple$mapSecond = F2( @@ -7580,15 +7843,6 @@ '.', A3($elm$core$String$replace, '.', '', s))); }; -var $author$project$AllRuns$remove = F2( - function (id, _v0) { - var a = _v0; - return _Utils_update( - a, - { - C: A2($elm$core$Dict$remove, id, a.C) - }); - }); var $elm$core$Set$remove = F2( function (key, _v0) { var dict = _v0; @@ -7601,9 +7855,20 @@ _Utils_update( i, { - ae: A2($elm$core$Set$remove, p, i.ae) + aa: A2($elm$core$Set$remove, p, i.aa) })); }); +var $author$project$Main$removeDiff = F3( + function (aId, bId, model) { + return _Utils_update( + model, + { + I: A2( + $elm$core$Dict$remove, + _Utils_Tuple2(aId, bId), + model.I) + }); + }); var $yotamDvir$elm_pivot$Pivot$Modify$removeGoL = function (_v0) { var c = _v0.a; var _v1 = _v0.b; @@ -7624,25 +7889,87 @@ var $yotamDvir$elm_pivot$Pivot$removeGoL = $yotamDvir$elm_pivot$Pivot$Modify$removeGoL; var $yotamDvir$elm_pivot$Pivot$Modify$removeGoR = $yotamDvir$elm_pivot$Pivot$Utilities$mirrorM($yotamDvir$elm_pivot$Pivot$Modify$removeGoL); var $yotamDvir$elm_pivot$Pivot$removeGoR = $yotamDvir$elm_pivot$Pivot$Modify$removeGoR; +var $elm$core$Dict$filter = F2( + function (isGood, dict) { + return A3( + $elm$core$Dict$foldl, + F3( + function (k, v, d) { + return A2(isGood, k, v) ? A3($elm$core$Dict$insert, k, v, d) : d; + }), + $elm$core$Dict$empty, + dict); + }); +var $author$project$AllRuns$remove = F2( + function (id, _v0) { + var a = _v0; + return _Utils_update( + a, + { + B: A2($elm$core$Dict$remove, id, a.B) + }); + }); +var $author$project$Main$removeRunAndDiffsThatDependOnIt = F2( + function (runId, model) { + var newDiffs = A2( + $elm$core$Dict$filter, + F2( + function (_v0, _v1) { + var runA = _v0.a; + var runB = _v0.b; + return (!_Utils_eq(runA, runId)) && (!_Utils_eq(runB, runId)); + }), + model.I); + return _Utils_update( + model, + { + I: newDiffs, + B: A2($author$project$AllRuns$remove, runId, model.B) + }); + }); var $author$project$AllRuns$set = F3( function (id, ir, _v0) { var a = _v0; return _Utils_update( a, { - C: A3($elm$core$Dict$insert, id, ir, a.C) + B: A3($elm$core$Dict$insert, id, ir, a.B) }); }); var $elm$file$File$toString = _File_toString; -var $author$project$CollapseStatus$collapse = F2( - function (ap, _v0) { +var $elm$core$Bitwise$or = _Bitwise_or; +var $elm$core$Bitwise$shiftLeftBy = _Bitwise_shiftLeftBy; +var $author$project$Explorable$toComparable = function (e) { + if (!e.$) { + var r = e.a; + return r; + } else { + var r1 = e.a; + var r2 = e.b; + return (r1 << 16) | r2; + } +}; +var $author$project$CollapseStatus$absolutePath = F2( + function (i, p) { + return _Utils_Tuple2( + $author$project$Explorable$toComparable(i), + p); + }); +var $author$project$CollapseStatus$collapse = F3( + function (i, p, _v0) { var s = _v0; - return A2($elm$core$Set$remove, ap, s); + return A2( + $elm$core$Set$remove, + A2($author$project$CollapseStatus$absolutePath, i, p), + s); }); -var $author$project$CollapseStatus$expand = F2( - function (ap, _v0) { +var $author$project$CollapseStatus$expand = F3( + function (i, p, _v0) { var s = _v0; - return A2($elm$core$Set$insert, ap, s); + return A2( + $elm$core$Set$insert, + A2($author$project$CollapseStatus$absolutePath, i, p), + s); }); var $elm$core$Dict$member = F2( function (key, dict) { @@ -7658,25 +7985,28 @@ var dict = _v0; return A2($elm$core$Dict$member, key, dict); }); -var $author$project$CollapseStatus$isCollapsed = F2( - function (ap, _v0) { +var $author$project$CollapseStatus$isCollapsed = F3( + function (i, p, _v0) { var s = _v0; - return !A2($elm$core$Set$member, ap, s); + return !A2( + $elm$core$Set$member, + A2($author$project$CollapseStatus$absolutePath, i, p), + s); }); -var $author$project$CollapseStatus$toggle = F2( - function (ap, s) { - return A2($author$project$CollapseStatus$isCollapsed, ap, s) ? A2($author$project$CollapseStatus$expand, ap, s) : A2($author$project$CollapseStatus$collapse, ap, s); +var $author$project$CollapseStatus$toggle = F3( + function (i, p, s) { + return A3($author$project$CollapseStatus$isCollapsed, i, p, s) ? A3($author$project$CollapseStatus$expand, i, p, s) : A3($author$project$CollapseStatus$collapse, i, p, s); }); var $author$project$InterestList$toggleShowGraph = function (_v0) { var il = _v0; return _Utils_update( il, - {a6: !il.a6}); + {aR: !il.aR}); }; var $author$project$AllRuns$update = F3( function (id, f, _v0) { var a = _v0; - var _v1 = A2($elm$core$Dict$get, id, a.C); + var _v1 = A2($elm$core$Dict$get, id, a.B); if (_v1.$ === 1) { return a; } else { @@ -7684,11 +8014,11 @@ return _Utils_update( a, { - C: A3( + B: A3( $elm$core$Dict$insert, id, f(r), - a.C) + a.B) }); } }); @@ -7718,7 +8048,7 @@ ndx, _Utils_update( inputs, - {a_: a}), + {aI: a}), overrides))); } else { var y = msg.a; @@ -7729,7 +8059,7 @@ ndx, _Utils_update( inputs, - {aZ: y}), + {aH: y}), overrides))); } case 1: @@ -7752,7 +8082,7 @@ function (b, m) { return _Utils_update( m, - {bE: b}); + {bo: b}); }); var $author$project$Main$withLoadFailure = F2( function (msg, model) { @@ -7760,7 +8090,7 @@ _Utils_update( model, { - ah: $elm$core$Maybe$Just( + ac: $elm$core$Maybe$Just( $author$project$Main$LoadFailure(msg)) }), $elm$core$Platform$Cmd$none); @@ -7801,9 +8131,9 @@ } else { var storage = _v1.a; var ils = function () { - var _v2 = $yotamDvir$elm_pivot$Pivot$fromList(storage.x); + var _v2 = $yotamDvir$elm_pivot$Pivot$fromList(storage.v); if (_v2.$ === 1) { - return model.x; + return model.v; } else { var i = _v2.a; return i; @@ -7812,20 +8142,20 @@ return $Janiczek$cmd_extra$Cmd$Extra$withNoCmd( _Utils_update( model, - {x: ils})); + {v: ils})); } case 1: if (!msg.d.$) { - var maybeNdx = msg.a; + var maybeRunId = msg.a; var inputs = msg.b; var overrides = msg.c; var entries = msg.d.a; - return A5($author$project$Main$initiateCalculate, maybeNdx, inputs, entries, overrides, model); + return A5($author$project$Main$initiateCalculate, maybeRunId, inputs, entries, overrides, model); } else { return $Janiczek$cmd_extra$Cmd$Extra$withNoCmd(model); } case 0: - var maybeNdx = msg.a; + var maybeRunId = msg.a; var inputs = msg.b; var entries = msg.c; var overrides = msg.d; @@ -7833,29 +8163,59 @@ if (!resultOrError.$) { var result = resultOrError.a; var run = $author$project$Run$create( - {fa: entries, fB: inputs, fX: overrides, bi: result}); - var newResults = function () { - if (maybeNdx.$ === 1) { - return A2($author$project$AllRuns$add, run, model.C); + {eZ: entries, fo: inputs, fI: overrides, a0: result}); + var modelWithRun = _Utils_update( + model, + { + B: function () { + if (maybeRunId.$ === 1) { + return A2($author$project$AllRuns$add, run, model.B); + } else { + var runId = maybeRunId.a; + return A3($author$project$AllRuns$set, runId, run, model.B); + } + }() + }); + var newDiffs = function () { + if (maybeRunId.$ === 1) { + return modelWithRun.I; } else { - var ndx = maybeNdx.a; - return A3($author$project$AllRuns$set, ndx, run, model.C); + var runId = maybeRunId.a; + return A2( + $elm$core$Dict$map, + F2( + function (_v5, diffData) { + var runA = _v5.a; + var runB = _v5.b; + if (_Utils_eq(runA, runId) || _Utils_eq(runB, runId)) { + var _v6 = A4($author$project$Main$diffRunsById, runA, runB, diffData.a4, modelWithRun); + if (_v6.$ === 1) { + return diffData; + } else { + var d = _v6.a; + return d; + } + } else { + return diffData; + } + }), + modelWithRun.I); } }(); return $Janiczek$cmd_extra$Cmd$Extra$withNoCmd( _Utils_update( - model, - {C: newResults, ah: $elm$core$Maybe$Nothing})); + modelWithRun, + {I: newDiffs, ac: $elm$core$Maybe$Nothing})); } else { switch (resultOrError.a.$) { case 0: var s = resultOrError.a.a; return A2($author$project$Main$withLoadFailure, 'BAD URL: ' + s, model); case 1: - var _v5 = resultOrError.a; + var _v8 = resultOrError.a; return A2($author$project$Main$withLoadFailure, 'TIMEOUT', model); case 2: - var _v6 = resultOrError.a; + var _v9 = resultOrError.a; return A2($author$project$Main$withLoadFailure, 'NETWORK ERROR', model); case 3: var code = resultOrError.a.a; @@ -7869,21 +8229,26 @@ } } case 11: - var path = msg.a; + var i = msg.a; + var path = msg.b; return $Janiczek$cmd_extra$Cmd$Extra$withNoCmd( _Utils_update( model, { - bd: A2($author$project$CollapseStatus$toggle, path, model.bd) + aK: A3($author$project$CollapseStatus$toggle, i, path, model.aK) })); case 15: - var ndx = msg.a; - return $Janiczek$cmd_extra$Cmd$Extra$withNoCmd( - _Utils_update( - model, - { - C: A2($author$project$AllRuns$remove, ndx, model.C) - })); + var id = msg.a; + if (!id.$) { + var runId = id.a; + return $Janiczek$cmd_extra$Cmd$Extra$withNoCmd( + A2($author$project$Main$removeRunAndDiffsThatDependOnIt, runId, model)); + } else { + var runA = id.a; + var runB = id.b; + return $Janiczek$cmd_extra$Cmd$Extra$withNoCmd( + A3($author$project$Main$removeDiff, runA, runB, model)); + } case 12: var modalMsg = msg.a; return A2( @@ -7894,9 +8259,9 @@ function (md) { return _Utils_update( model, - {ah: md}); + {ac: md}); }, - A2($author$project$Main$updateModal, modalMsg, model.ah))); + A2($author$project$Main$updateModal, modalMsg, model.ac))); case 13: var maybeNdx = msg.a; var inputs = msg.b; @@ -7906,12 +8271,13 @@ _Utils_update( model, { - ah: $elm$core$Maybe$Just(modal) + ac: $elm$core$Maybe$Just(modal) })); case 14: var maybeNdx = msg.a; var inputs = msg.b; - return A4($author$project$Main$initiateMakeEntries, maybeNdx, inputs, $elm$core$Dict$empty, model); + var overrides = msg.c; + return A4($author$project$Main$initiateMakeEntries, maybeNdx, inputs, overrides, model); case 4: var ndx = msg.a; var name = msg.b; @@ -7920,43 +8286,43 @@ _Utils_update( model, { - C: A3( + B: A3( $author$project$AllRuns$update, ndx, $author$project$Run$mapOverrides( A2($elm$core$Dict$insert, name, f)), - model.C) + model.B) })); case 8: var runId = msg.a; var pattern = msg.b; var newActiveSearch = function () { - var _v11 = A2($author$project$AllRuns$get, runId, model.C); - if (_v11.$ === 1) { - return model.ak; + var _v15 = A2($author$project$AllRuns$get, runId, model.B); + if (_v15.$ === 1) { + return model.af; } else { - var run = _v11.a; + var run = _v15.a; var result = A2( $author$project$Filter$filter, pattern, A2($author$project$Run$getTree, 1, run)); return $elm$core$Maybe$Just( - {cw: pattern, bi: result, N: runId}); + {ce: pattern, a0: result, M: runId}); } }(); var activeSearchFieldChanged = function () { - var _v8 = _Utils_Tuple2(model.ak, newActiveSearch); - if (_v8.b.$ === 1) { - var _v9 = _v8.b; + var _v12 = _Utils_Tuple2(model.af, newActiveSearch); + if (_v12.b.$ === 1) { + var _v13 = _v12.b; return false; } else { - if (_v8.a.$ === 1) { - var _v10 = _v8.a; + if (_v12.a.$ === 1) { + var _v14 = _v12.a; return true; } else { - var a = _v8.a.a; - var b = _v8.b.a; - return !_Utils_eq(a.N, b.N); + var a = _v12.a.a; + var b = _v12.b.a; + return !_Utils_eq(a.M, b.M); } } }(); @@ -7964,20 +8330,20 @@ $Janiczek$cmd_extra$Cmd$Extra$withCmd, A2( $elm$core$Task$attempt, - function (_v7) { + function (_v11) { return $author$project$Main$Noop; }, $elm$browser$Browser$Dom$focus($author$project$Main$filterFieldId)), _Utils_update( model, - {ak: newActiveSearch})); + {af: newActiveSearch})); case 10: - var _v12 = model.ak; - if (_v12.$ === 1) { + var _v16 = model.af; + if (_v16.$ === 1) { return $Janiczek$cmd_extra$Cmd$Extra$withNoCmd(model); } else { - var a = _v12.a; - var paths = $author$project$ValueTree$expand(a.bi); + var a = _v16.a; + var paths = $author$project$Tree$expand(a.a0); return $Janiczek$cmd_extra$Cmd$Extra$withNoCmd( A2( $author$project$Main$mapActiveInterestList, @@ -7993,70 +8359,70 @@ }, _Utils_update( model, - {ak: $elm$core$Maybe$Nothing}))); + {af: $elm$core$Maybe$Nothing}))); } case 9: return $Janiczek$cmd_extra$Cmd$Extra$withNoCmd( _Utils_update( model, - {ak: $elm$core$Maybe$Nothing})); + {af: $elm$core$Maybe$Nothing})); case 6: var runId = msg.a; var name = msg.b; var newText = msg.c; var isFocusChanged = function () { - var _v14 = model.aj; - if (_v14.$ === 1) { + var _v18 = model.ae; + if (_v18.$ === 1) { return true; } else { - var e = _v14.a; - return (!_Utils_eq(e.N, runId)) || (!_Utils_eq(e.a2, name)); + var e = _v18.a; + return (!_Utils_eq(e.M, runId)) || (!_Utils_eq(e.aN, name)); } }(); return _Utils_Tuple2( _Utils_update( model, { - aj: $elm$core$Maybe$Just( + ae: $elm$core$Maybe$Just( { - bt: $author$project$Styling$parseGermanNumber(newText), - a2: name, - N: runId, - bX: newText + bd: $author$project$Styling$parseGermanNumber(newText), + aN: name, + M: runId, + a8: newText }) }), isFocusChanged ? A2( $elm$core$Task$attempt, - function (_v13) { + function (_v17) { return $author$project$Main$Noop; }, $elm$browser$Browser$Dom$focus('overrideEditor')) : $elm$core$Platform$Cmd$none); case 7: - var _v15 = model.aj; - if (_v15.$ === 1) { + var _v19 = model.ae; + if (_v19.$ === 1) { return _Utils_Tuple2(model, $elm$core$Platform$Cmd$none); } else { - var editor = _v15.a; + var editor = _v19.a; var modelEditorClosed = _Utils_update( model, - {aj: $elm$core$Maybe$Nothing}); - var _v16 = editor.bt; - if (_v16.$ === 1) { + {ae: $elm$core$Maybe$Nothing}); + var _v20 = editor.bd; + if (_v20.$ === 1) { return _Utils_Tuple2(modelEditorClosed, $elm$core$Platform$Cmd$none); } else { - var f = _v16.a; - var _v17 = A2($author$project$AllRuns$get, editor.N, model.C); - if (_v17.$ === 1) { + var f = _v20.a; + var _v21 = A2($author$project$AllRuns$get, editor.M, model.B); + if (_v21.$ === 1) { return _Utils_Tuple2(modelEditorClosed, $elm$core$Platform$Cmd$none); } else { - var run = _v17.a; + var run = _v21.a; return A4( $author$project$Main$initiateMakeEntries, - $elm$core$Maybe$Just(editor.N), + $elm$core$Maybe$Just(editor.M), $author$project$Run$getInputs(run), A3( $elm$core$Dict$insert, - editor.a2, + editor.aN, f, $author$project$Run$getOverrides(run)), modelEditorClosed); @@ -8066,23 +8432,30 @@ case 5: var runId = msg.a; var name = msg.b; - return $Janiczek$cmd_extra$Cmd$Extra$withNoCmd( - _Utils_update( - model, - { - aj: A2( - $elm_community$maybe_extra$Maybe$Extra$filter, - function (e) { - return (!_Utils_eq(e.N, runId)) || (!_Utils_eq(e.a2, name)); - }, - model.aj), - C: A3( - $author$project$AllRuns$update, - runId, - $author$project$Run$mapOverrides( - $elm$core$Dict$remove(name)), - model.C) - })); + var _v22 = A2($author$project$AllRuns$get, runId, model.B); + if (_v22.$ === 1) { + return _Utils_Tuple2(model, $elm$core$Platform$Cmd$none); + } else { + var run = _v22.a; + return A4( + $author$project$Main$initiateMakeEntries, + $elm$core$Maybe$Just(runId), + $author$project$Run$getInputs(run), + A2( + $elm$core$Dict$remove, + name, + $author$project$Run$getOverrides(run)), + _Utils_update( + model, + { + ae: A2( + $elm_community$maybe_extra$Maybe$Extra$filter, + function (e) { + return (!_Utils_eq(e.M, runId)) || (!_Utils_eq(e.aN, name)); + }, + model.ae) + })); + } case 2: var path = msg.a; return $Janiczek$cmd_extra$Cmd$Extra$withNoCmd( @@ -8134,14 +8507,14 @@ A2( $author$project$Main$mapInterestLists, function (ils) { - var _v18 = $yotamDvir$elm_pivot$Pivot$removeGoR(ils); - if (_v18.$ === 1) { + var _v23 = $yotamDvir$elm_pivot$Pivot$removeGoR(ils); + if (_v23.$ === 1) { return A2( $elm$core$Maybe$withDefault, $yotamDvir$elm_pivot$Pivot$singleton($author$project$InterestList$empty), $yotamDvir$elm_pivot$Pivot$removeGoL(ils)); } else { - var without = _v18.a; + var without = _v23.a; return without; } }, @@ -8157,7 +8530,7 @@ $Janiczek$cmd_extra$Cmd$Extra$withCmd, A2( $elm$core$Task$attempt, - function (_v19) { + function (_v24) { return $author$project$Main$Noop; }, $elm$browser$Browser$Dom$focus('interestlabel')), @@ -8172,12 +8545,63 @@ case 17: return $Janiczek$cmd_extra$Cmd$Extra$withNoCmd( A2($author$project$Main$withEditingActiveInterestListLabel, false, model)); - default: + case 27: var hovering = msg.a; return $Janiczek$cmd_extra$Cmd$Extra$withNoCmd( _Utils_update( model, - {bw: hovering})); + {bg: hovering})); + case 31: + var aId = msg.a; + var bId = msg.b; + var newTolerance = msg.c; + var _v25 = A4($author$project$Main$diffRunsById, aId, bId, newTolerance, model); + if (_v25.$ === 1) { + return $Janiczek$cmd_extra$Cmd$Extra$withNoCmd(model); + } else { + var d = _v25.a; + return $Janiczek$cmd_extra$Cmd$Extra$withNoCmd( + A4($author$project$Main$insertDiff, aId, bId, d, model)); + } + case 29: + var runId = msg.a; + var _v26 = model.aC; + if (_v26.$ === 1) { + return $Janiczek$cmd_extra$Cmd$Extra$withNoCmd( + _Utils_update( + model, + { + aC: $elm$core$Maybe$Just(runId) + })); + } else { + var r = _v26.a; + if (_Utils_eq(r, runId)) { + return $Janiczek$cmd_extra$Cmd$Extra$withNoCmd( + _Utils_update( + model, + {aC: $elm$core$Maybe$Nothing})); + } else { + var withoutComparison = _Utils_update( + model, + {aC: $elm$core$Maybe$Nothing}); + var idB = runId; + var idA = r; + var _v27 = A4($author$project$Main$diffRunsById, idA, idB, $author$project$Value$defaultTolerance, withoutComparison); + if (_v27.$ === 1) { + return $Janiczek$cmd_extra$Cmd$Extra$withNoCmd(withoutComparison); + } else { + var d = _v27.a; + return $Janiczek$cmd_extra$Cmd$Extra$withNoCmd( + A4($author$project$Main$insertDiff, idA, idB, d, withoutComparison)); + } + } + } + default: + var w = msg.a; + return $Janiczek$cmd_extra$Cmd$Extra$withNoCmd( + _Utils_update( + model, + {bv: w})); } }); var $mdgriffith$elm_ui$Internal$Model$Fill = function (a) { @@ -8205,7 +8629,7 @@ var $mdgriffith$elm_ui$Element$inFront = function (element) { return A2($mdgriffith$elm_ui$Element$createNearby, 4, element); }; -var $mdgriffith$elm_ui$Internal$Style$classes = {ei: 'a', b$: 'atv', ek: 'ab', el: 'cx', em: 'cy', en: 'acb', eo: 'accx', ep: 'accy', eq: 'acr', cY: 'al', cZ: 'ar', er: 'at', b0: 'ah', b1: 'av', eu: 's', eA: 'bh', eB: 'b', eF: 'w7', eH: 'bd', eI: 'bdt', bu: 'bn', eJ: 'bs', bv: 'cpe', eP: 'cp', eQ: 'cpx', eR: 'cpy', as: 'c', bz: 'ctr', bA: 'cb', bB: 'ccx', at: 'ccy', be: 'cl', bC: 'cr', eV: 'ct', eX: 'cptr', eY: 'ctxt', fh: 'fcs', dc: 'focus-within', fi: 'fs', fj: 'g', cc: 'hbh', ce: 'hc', dj: 'he', cf: 'hf', dk: 'hfp', fp: 'hv', fr: 'ic', ft: 'fr', bK: 'lbl', fw: 'iml', fx: 'imlf', fy: 'imlp', fz: 'implw', fA: 'it', fF: 'i', dw: 'lnk', a3: 'nb', dB: 'notxt', fR: 'ol', fS: 'or', aQ: 'oq', fW: 'oh', dG: 'pg', dH: 'p', fY: 'ppe', f4: 'ui', dW: 'r', f8: 'sb', f9: 'sbx', ga: 'sby', gb: 'sbt', ge: 'e', gg: 'cap', gh: 'sev', gp: 'sk', bU: 't', gs: 'tc', gt: 'w8', gu: 'w2', gv: 'w9', gw: 'tj', bV: 'tja', gx: 'tl', gy: 'w3', gz: 'w5', gA: 'w4', gB: 'tr', gC: 'w6', gD: 'w1', gE: 'tun', d6: 'ts', aW: 'clr', gY: 'u', cR: 'wc', ed: 'we', cS: 'wf', ee: 'wfp', cU: 'wrp'}; +var $mdgriffith$elm_ui$Internal$Style$classes = {d5: 'a', bJ: 'atv', d7: 'ab', d8: 'cx', d9: 'cy', ea: 'acb', eb: 'accx', ec: 'accy', ed: 'acr', cI: 'al', cJ: 'ar', ee: 'at', bK: 'ah', bL: 'av', eh: 's', en: 'bh', eo: 'b', es: 'w7', eu: 'bd', ev: 'bdt', be: 'bn', ew: 'bs', bf: 'cpe', eC: 'cp', eD: 'cpx', eE: 'cpy', ak: 'c', bj: 'ctr', bk: 'cb', bl: 'ccx', al: 'ccy', aY: 'cl', bm: 'cr', eI: 'ct', eK: 'cptr', eL: 'ctxt', e4: 'fcs', cY: 'focus-within', e5: 'fs', e6: 'g', bY: 'hbh', b_: 'hc', c3: 'he', b$: 'hf', c4: 'hfp', fc: 'hv', fe: 'ic', fg: 'fr', bu: 'lbl', fj: 'iml', fk: 'imlf', fl: 'imlp', fm: 'implw', fn: 'it', fs: 'i', dg: 'lnk', aO: 'nb', dm: 'notxt', fC: 'ol', fD: 'or', az: 'oq', fH: 'oh', dr: 'pg', ds: 'p', fJ: 'ppe', fR: 'ui', dH: 'r', fV: 'sb', fW: 'sbx', fX: 'sby', fY: 'sbt', f$: 'e', f1: 'cap', f2: 'sev', f9: 'sk', bE: 't', gc: 'tc', gd: 'w8', ge: 'w2', gf: 'w9', gg: 'tj', bF: 'tja', gh: 'tl', gi: 'w3', gj: 'w5', gk: 'w4', gl: 'tr', gm: 'w6', gn: 'w1', go: 'tun', dU: 'ts', aE: 'clr', gH: 'u', cB: 'wc', d0: 'we', cC: 'wf', d1: 'wfp', cE: 'wrp'}; var $mdgriffith$elm_ui$Internal$Model$Attr = function (a) { return {$: 1, a: a}; }; @@ -8237,12 +8661,12 @@ var $mdgriffith$elm_ui$Internal$Model$Generic = {$: 0}; var $mdgriffith$elm_ui$Internal$Model$div = $mdgriffith$elm_ui$Internal$Model$Generic; var $mdgriffith$elm_ui$Internal$Model$NoNearbyChildren = {$: 0}; -var $mdgriffith$elm_ui$Internal$Model$columnClass = $mdgriffith$elm_ui$Internal$Style$classes.eu + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.as); -var $mdgriffith$elm_ui$Internal$Model$gridClass = $mdgriffith$elm_ui$Internal$Style$classes.eu + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.fj); -var $mdgriffith$elm_ui$Internal$Model$pageClass = $mdgriffith$elm_ui$Internal$Style$classes.eu + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.dG); -var $mdgriffith$elm_ui$Internal$Model$paragraphClass = $mdgriffith$elm_ui$Internal$Style$classes.eu + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.dH); -var $mdgriffith$elm_ui$Internal$Model$rowClass = $mdgriffith$elm_ui$Internal$Style$classes.eu + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.dW); -var $mdgriffith$elm_ui$Internal$Model$singleClass = $mdgriffith$elm_ui$Internal$Style$classes.eu + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.ge); +var $mdgriffith$elm_ui$Internal$Model$columnClass = $mdgriffith$elm_ui$Internal$Style$classes.eh + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.ak); +var $mdgriffith$elm_ui$Internal$Model$gridClass = $mdgriffith$elm_ui$Internal$Style$classes.eh + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.e6); +var $mdgriffith$elm_ui$Internal$Model$pageClass = $mdgriffith$elm_ui$Internal$Style$classes.eh + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.dr); +var $mdgriffith$elm_ui$Internal$Model$paragraphClass = $mdgriffith$elm_ui$Internal$Style$classes.eh + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.ds); +var $mdgriffith$elm_ui$Internal$Model$rowClass = $mdgriffith$elm_ui$Internal$Style$classes.eh + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.dH); +var $mdgriffith$elm_ui$Internal$Model$singleClass = $mdgriffith$elm_ui$Internal$Style$classes.eh + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.f$); var $mdgriffith$elm_ui$Internal$Model$contextClasses = function (context) { switch (context) { case 0: @@ -8341,7 +8765,6 @@ var $mdgriffith$elm_ui$Internal$Flag$Second = function (a) { return {$: 1, a: a}; }; -var $elm$core$Bitwise$shiftLeftBy = _Bitwise_shiftLeftBy; var $mdgriffith$elm_ui$Internal$Flag$flag = function (i) { return (i > 31) ? $mdgriffith$elm_ui$Internal$Flag$Second(1 << (i - 32)) : $mdgriffith$elm_ui$Internal$Flag$Flag(1 << i); }; @@ -8456,13 +8879,13 @@ return 'grid-rows-' + (A2( $elm$core$String$join, '-', - A2($elm$core$List$map, $mdgriffith$elm_ui$Internal$Model$lengthClassName, template.f7)) + ('-cols-' + (A2( + A2($elm$core$List$map, $mdgriffith$elm_ui$Internal$Model$lengthClassName, template.fU)) + ('-cols-' + (A2( $elm$core$String$join, '-', - A2($elm$core$List$map, $mdgriffith$elm_ui$Internal$Model$lengthClassName, template.eT)) + ('-space-x-' + ($mdgriffith$elm_ui$Internal$Model$lengthClassName(template.gi.a) + ('-space-y-' + $mdgriffith$elm_ui$Internal$Model$lengthClassName(template.gi.b))))))); + A2($elm$core$List$map, $mdgriffith$elm_ui$Internal$Model$lengthClassName, template.eG)) + ('-space-x-' + ($mdgriffith$elm_ui$Internal$Model$lengthClassName(template.f3.a) + ('-space-y-' + $mdgriffith$elm_ui$Internal$Model$lengthClassName(template.f3.b))))))); case 9: var pos = style.a; - return 'gp grid-pos-' + ($elm$core$String$fromInt(pos.dW) + ('-' + ($elm$core$String$fromInt(pos.c3) + ('-' + ($elm$core$String$fromInt(pos.cQ) + ('-' + $elm$core$String$fromInt(pos.di))))))); + return 'gp grid-pos-' + ($elm$core$String$fromInt(pos.dH) + ('-' + ($elm$core$String$fromInt(pos.cP) + ('-' + ($elm$core$String$fromInt(pos.cA) + ('-' + $elm$core$String$fromInt(pos.c2))))))); case 11: var selector = style.a; var subStyle = style.b; @@ -8539,17 +8962,17 @@ $elm$core$Basics$identity, _List_fromArray( [ - shadow.dq ? $elm$core$Maybe$Just('inset') : $elm$core$Maybe$Nothing, + shadow.da ? $elm$core$Maybe$Just('inset') : $elm$core$Maybe$Nothing, $elm$core$Maybe$Just( - $elm$core$String$fromFloat(shadow.fQ.a) + 'px'), + $elm$core$String$fromFloat(shadow.fB.a) + 'px'), $elm$core$Maybe$Just( - $elm$core$String$fromFloat(shadow.fQ.b) + 'px'), + $elm$core$String$fromFloat(shadow.fB.b) + 'px'), $elm$core$Maybe$Just( - $elm$core$String$fromFloat(shadow.eD) + 'px'), + $elm$core$String$fromFloat(shadow.eq) + 'px'), $elm$core$Maybe$Just( - $elm$core$String$fromFloat(shadow.gf) + 'px'), + $elm$core$String$fromFloat(shadow.f0) + 'px'), $elm$core$Maybe$Just( - $mdgriffith$elm_ui$Internal$Model$formatColor(shadow.eS)) + $mdgriffith$elm_ui$Internal$Model$formatColor(shadow.eF)) ]))); }; var $mdgriffith$elm_ui$Internal$Model$renderFocusStyle = function (focus) { @@ -8557,7 +8980,7 @@ [ A2( $mdgriffith$elm_ui$Internal$Model$Style, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dc) + ':focus-within', + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cY) + ':focus-within', A2( $elm$core$List$filterMap, $elm$core$Basics$identity, @@ -8571,7 +8994,7 @@ 'border-color', $mdgriffith$elm_ui$Internal$Model$formatColor(color)); }, - focus.eG), + focus.et), A2( $elm$core$Maybe$map, function (color) { @@ -8580,7 +9003,7 @@ 'background-color', $mdgriffith$elm_ui$Internal$Model$formatColor(color)); }, - focus.ey), + focus.el), A2( $elm$core$Maybe$map, function (shadow) { @@ -8589,23 +9012,23 @@ 'box-shadow', $mdgriffith$elm_ui$Internal$Model$formatBoxShadow( { - eD: shadow.eD, - eS: shadow.eS, - dq: false, - fQ: A2( + eq: shadow.eq, + eF: shadow.eF, + da: false, + fB: A2( $elm$core$Tuple$mapSecond, $elm$core$Basics$toFloat, - A2($elm$core$Tuple$mapFirst, $elm$core$Basics$toFloat, shadow.fQ)), - gf: shadow.gf + A2($elm$core$Tuple$mapFirst, $elm$core$Basics$toFloat, shadow.fB)), + f0: shadow.f0 })); }, - focus.gd), + focus.f_), $elm$core$Maybe$Just( A2($mdgriffith$elm_ui$Internal$Model$Property, 'outline', 'none')) ]))), A2( $mdgriffith$elm_ui$Internal$Model$Style, - ($mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eu) + ':focus .focusable, ') + (($mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eu) + '.focusable:focus, ') + ('.ui-slide-bar:focus + ' + ($mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eu) + ' .focusable-thumb'))), + ($mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eh) + ':focus .focusable, ') + (($mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eh) + '.focusable:focus, ') + ('.ui-slide-bar:focus + ' + ($mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eh) + ' .focusable-thumb'))), A2( $elm$core$List$filterMap, $elm$core$Basics$identity, @@ -8619,7 +9042,7 @@ 'border-color', $mdgriffith$elm_ui$Internal$Model$formatColor(color)); }, - focus.eG), + focus.et), A2( $elm$core$Maybe$map, function (color) { @@ -8628,7 +9051,7 @@ 'background-color', $mdgriffith$elm_ui$Internal$Model$formatColor(color)); }, - focus.ey), + focus.el), A2( $elm$core$Maybe$map, function (shadow) { @@ -8637,17 +9060,17 @@ 'box-shadow', $mdgriffith$elm_ui$Internal$Model$formatBoxShadow( { - eD: shadow.eD, - eS: shadow.eS, - dq: false, - fQ: A2( + eq: shadow.eq, + eF: shadow.eF, + da: false, + fB: A2( $elm$core$Tuple$mapSecond, $elm$core$Basics$toFloat, - A2($elm$core$Tuple$mapFirst, $elm$core$Basics$toFloat, shadow.fQ)), - gf: shadow.gf + A2($elm$core$Tuple$mapFirst, $elm$core$Basics$toFloat, shadow.fB)), + f0: shadow.f0 })); }, - focus.gd), + focus.f_), $elm$core$Maybe$Just( A2($mdgriffith$elm_ui$Internal$Model$Property, 'outline', 'none')) ]))) @@ -8705,44 +9128,44 @@ switch (desc) { case 0: var _v1 = desc; - return $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eV); + return $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eI); case 1: var _v2 = desc; - return $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.bA); + return $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.bk); case 2: var _v3 = desc; - return $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.bC); + return $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.bm); case 3: var _v4 = desc; - return $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.be); + return $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.aY); case 4: var _v5 = desc; - return $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.bB); + return $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.bl); default: var _v6 = desc; - return $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.at); + return $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.al); } }; var $mdgriffith$elm_ui$Internal$Style$selfName = function (desc) { switch (desc) { case 0: var _v1 = desc; - return $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.er); + return $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.ee); case 1: var _v2 = desc; - return $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.ek); + return $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.d7); case 2: var _v3 = desc; - return $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cZ); + return $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cJ); case 3: var _v4 = desc; - return $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cY); + return $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cI); case 4: var _v5 = desc; - return $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.el); + return $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.d8); default: var _v6 = desc; - return $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.em); + return $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.d9); } }; var $mdgriffith$elm_ui$Internal$Style$describeAlignment = function (values) { @@ -8758,7 +9181,7 @@ content), A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eu), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eh), _List_fromArray( [ A2( @@ -8778,13 +9201,13 @@ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'white-space', 'pre'), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cc), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.bY), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'z-index', '0'), A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eA), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.en), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'z-index', '-1') @@ -8792,24 +9215,24 @@ ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.gb), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.fY), _List_fromArray( [ A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.bU), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.bE), _List_fromArray( [ A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cf), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.b$), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'flex-grow', '0') ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cS), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cC), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'align-self', 'auto !important') @@ -8818,35 +9241,35 @@ ])), A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.ce), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.b_), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'height', 'auto') ])), A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cf), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.b$), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'flex-grow', '100000') ])), A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cS), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cC), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'width', '100%') ])), A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.ee), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.d1), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'width', '100%') ])), A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cR), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cB), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'align-self', 'flex-start') @@ -8912,7 +9335,7 @@ [ A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eu), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eh), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'margin-top', 'auto'), @@ -8933,7 +9356,7 @@ [ A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eu), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eh), _List_fromArray( [ A2( @@ -8987,16 +9410,16 @@ A2( $mdgriffith$elm_ui$Internal$Style$Class, _Utils_ap( - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eu), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eh), _Utils_ap( - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.ge), - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.fr))), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.f$), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.fe))), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'display', 'block'), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cf), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.b$), _List_fromArray( [ A2( @@ -9010,7 +9433,7 @@ ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cS), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cC), _List_fromArray( [ A2( @@ -9025,14 +9448,14 @@ ])), A2( $mdgriffith$elm_ui$Internal$Style$Class, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eu) + ':focus', + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eh) + ':focus', _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'outline', 'none') ])), A2( $mdgriffith$elm_ui$Internal$Style$Class, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.f4), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.fR), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'width', '100%'), @@ -9042,14 +9465,14 @@ A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, _Utils_ap( - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eu), - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cf)), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eh), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.b$)), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'height', '100%'), A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cf), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.b$), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'height', '100%') @@ -9057,12 +9480,12 @@ ])), A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.ft), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.fg), _List_fromArray( [ A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.a3), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.aO), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'position', 'fixed'), @@ -9072,7 +9495,7 @@ ])), A2( $mdgriffith$elm_ui$Internal$Style$Class, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.a3), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.aO), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'position', 'relative'), @@ -9082,7 +9505,7 @@ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'flex-basis', 'auto'), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.ge), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.f$), $mdgriffith$elm_ui$Internal$Style$elDescription), $mdgriffith$elm_ui$Internal$Style$Batch( function (fn) { @@ -9093,7 +9516,7 @@ case 0: return A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.ei), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.d5), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'position', 'absolute'), @@ -9104,14 +9527,14 @@ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'margin', '0 !important'), A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cf), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.b$), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'height', 'auto') ])), A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cS), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cC), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'width', '100%') @@ -9128,7 +9551,7 @@ case 1: return A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eB), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eo), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'position', 'absolute'), @@ -9148,7 +9571,7 @@ ])), A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cf), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.b$), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'height', 'auto') @@ -9157,7 +9580,7 @@ case 2: return A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.fS), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.fD), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'position', 'absolute'), @@ -9178,7 +9601,7 @@ case 3: return A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.fR), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.fC), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'position', 'absolute'), @@ -9199,7 +9622,7 @@ case 4: return A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.ft), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.fg), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'position', 'absolute'), @@ -9220,7 +9643,7 @@ default: return A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eA), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.en), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'position', 'absolute'), @@ -9244,7 +9667,7 @@ ])), A2( $mdgriffith$elm_ui$Internal$Style$Class, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eu), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eh), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'position', 'relative'), @@ -9269,14 +9692,14 @@ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'font-style', 'inherit'), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cU), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cE), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'flex-wrap', 'wrap') ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dB), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dm), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, '-moz-user-select', 'none'), @@ -9286,42 +9709,42 @@ ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eX), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eK), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'cursor', 'pointer') ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eY), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eL), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'cursor', 'text') ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.fY), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.fJ), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'pointer-events', 'none !important') ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.bv), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.bf), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'pointer-events', 'auto !important') ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.aW), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.aE), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'opacity', '0') ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.aQ), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.az), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'opacity', '1') @@ -9329,7 +9752,7 @@ A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, $mdgriffith$elm_ui$Internal$Style$dot( - _Utils_ap($mdgriffith$elm_ui$Internal$Style$classes.fp, $mdgriffith$elm_ui$Internal$Style$classes.aW)) + ':hover', + _Utils_ap($mdgriffith$elm_ui$Internal$Style$classes.fc, $mdgriffith$elm_ui$Internal$Style$classes.aE)) + ':hover', _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'opacity', '0') @@ -9337,7 +9760,7 @@ A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, $mdgriffith$elm_ui$Internal$Style$dot( - _Utils_ap($mdgriffith$elm_ui$Internal$Style$classes.fp, $mdgriffith$elm_ui$Internal$Style$classes.aQ)) + ':hover', + _Utils_ap($mdgriffith$elm_ui$Internal$Style$classes.fc, $mdgriffith$elm_ui$Internal$Style$classes.az)) + ':hover', _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'opacity', '1') @@ -9345,7 +9768,7 @@ A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, $mdgriffith$elm_ui$Internal$Style$dot( - _Utils_ap($mdgriffith$elm_ui$Internal$Style$classes.fh, $mdgriffith$elm_ui$Internal$Style$classes.aW)) + ':focus', + _Utils_ap($mdgriffith$elm_ui$Internal$Style$classes.e4, $mdgriffith$elm_ui$Internal$Style$classes.aE)) + ':focus', _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'opacity', '0') @@ -9353,7 +9776,7 @@ A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, $mdgriffith$elm_ui$Internal$Style$dot( - _Utils_ap($mdgriffith$elm_ui$Internal$Style$classes.fh, $mdgriffith$elm_ui$Internal$Style$classes.aQ)) + ':focus', + _Utils_ap($mdgriffith$elm_ui$Internal$Style$classes.e4, $mdgriffith$elm_ui$Internal$Style$classes.az)) + ':focus', _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'opacity', '1') @@ -9361,7 +9784,7 @@ A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, $mdgriffith$elm_ui$Internal$Style$dot( - _Utils_ap($mdgriffith$elm_ui$Internal$Style$classes.b$, $mdgriffith$elm_ui$Internal$Style$classes.aW)) + ':active', + _Utils_ap($mdgriffith$elm_ui$Internal$Style$classes.bJ, $mdgriffith$elm_ui$Internal$Style$classes.aE)) + ':active', _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'opacity', '0') @@ -9369,14 +9792,14 @@ A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, $mdgriffith$elm_ui$Internal$Style$dot( - _Utils_ap($mdgriffith$elm_ui$Internal$Style$classes.b$, $mdgriffith$elm_ui$Internal$Style$classes.aQ)) + ':active', + _Utils_ap($mdgriffith$elm_ui$Internal$Style$classes.bJ, $mdgriffith$elm_ui$Internal$Style$classes.az)) + ':active', _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'opacity', '1') ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.d6), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dU), _List_fromArray( [ A2( @@ -9395,7 +9818,7 @@ ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.f8), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.fV), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'overflow', 'auto'), @@ -9403,13 +9826,13 @@ ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.f9), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.fW), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'overflow-x', 'auto'), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dW), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dH), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'flex-shrink', '1') @@ -9417,20 +9840,20 @@ ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.ga), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.fX), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'overflow-y', 'auto'), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.as), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.ak), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'flex-shrink', '1') ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.ge), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.f$), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'flex-shrink', '1') @@ -9438,63 +9861,63 @@ ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eP), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eC), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'overflow', 'hidden') ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eQ), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eD), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'overflow-x', 'hidden') ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eR), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eE), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'overflow-y', 'hidden') ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cR), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cB), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'width', 'auto') ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.bu), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.be), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'border-width', '0') ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eH), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eu), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'border-style', 'dashed') ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eI), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.ev), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'border-style', 'dotted') ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eJ), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.ew), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'border-style', 'solid') ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.bU), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.bE), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'white-space', 'pre'), @@ -9502,7 +9925,7 @@ ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.fA), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.fn), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'line-height', '1.05'), @@ -9511,31 +9934,31 @@ ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.ge), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.f$), $mdgriffith$elm_ui$Internal$Style$elDescription), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dW), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dH), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'display', 'flex'), A2($mdgriffith$elm_ui$Internal$Style$Prop, 'flex-direction', 'row'), A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eu), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eh), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'flex-basis', '0%'), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.ed), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.d0), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'flex-basis', 'auto') ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dw), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dg), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'flex-basis', 'auto') @@ -9543,28 +9966,28 @@ ])), A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cf), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.b$), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'align-self', 'stretch !important') ])), A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dk), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.c4), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'align-self', 'stretch !important') ])), A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cS), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cC), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'flex-grow', '100000') ])), A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.bz), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.bj), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'flex-grow', '0'), @@ -9573,20 +9996,20 @@ ])), A2( $mdgriffith$elm_ui$Internal$Style$Child, - 'u:first-of-type.' + $mdgriffith$elm_ui$Internal$Style$classes.eq, + 'u:first-of-type.' + $mdgriffith$elm_ui$Internal$Style$classes.ed, _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'flex-grow', '1') ])), A2( $mdgriffith$elm_ui$Internal$Style$Child, - 's:first-of-type.' + $mdgriffith$elm_ui$Internal$Style$classes.eo, + 's:first-of-type.' + $mdgriffith$elm_ui$Internal$Style$classes.eb, _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'flex-grow', '1'), A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.el), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.d8), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'margin-left', 'auto !important') @@ -9594,13 +10017,13 @@ ])), A2( $mdgriffith$elm_ui$Internal$Style$Child, - 's:last-of-type.' + $mdgriffith$elm_ui$Internal$Style$classes.eo, + 's:last-of-type.' + $mdgriffith$elm_ui$Internal$Style$classes.eb, _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'flex-grow', '1'), A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.el), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.d8), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'margin-right', 'auto !important') @@ -9608,13 +10031,13 @@ ])), A2( $mdgriffith$elm_ui$Internal$Style$Child, - 's:only-of-type.' + $mdgriffith$elm_ui$Internal$Style$classes.eo, + 's:only-of-type.' + $mdgriffith$elm_ui$Internal$Style$classes.eb, _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'flex-grow', '1'), A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.em), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.d9), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'margin-top', 'auto !important'), @@ -9623,14 +10046,14 @@ ])), A2( $mdgriffith$elm_ui$Internal$Style$Child, - 's:last-of-type.' + ($mdgriffith$elm_ui$Internal$Style$classes.eo + ' ~ u'), + 's:last-of-type.' + ($mdgriffith$elm_ui$Internal$Style$classes.eb + ' ~ u'), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'flex-grow', '0') ])), A2( $mdgriffith$elm_ui$Internal$Style$Child, - 'u:first-of-type.' + ($mdgriffith$elm_ui$Internal$Style$classes.eq + (' ~ s.' + $mdgriffith$elm_ui$Internal$Style$classes.eo)), + 'u:first-of-type.' + ($mdgriffith$elm_ui$Internal$Style$classes.ed + (' ~ s.' + $mdgriffith$elm_ui$Internal$Style$classes.eb)), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'flex-grow', '0') @@ -9693,14 +10116,14 @@ }), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.gh), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.f2), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'justify-content', 'space-between') ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.bK), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.bu), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'align-items', 'baseline') @@ -9708,21 +10131,21 @@ ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.as), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.ak), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'display', 'flex'), A2($mdgriffith$elm_ui$Internal$Style$Prop, 'flex-direction', 'column'), A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eu), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eh), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'flex-basis', '0px'), A2($mdgriffith$elm_ui$Internal$Style$Prop, 'min-height', 'min-content'), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dj), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.c3), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'flex-basis', 'auto') @@ -9730,48 +10153,48 @@ ])), A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cf), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.b$), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'flex-grow', '100000') ])), A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cS), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cC), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'width', '100%') ])), A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.ee), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.d1), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'width', '100%') ])), A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cR), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cB), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'align-self', 'flex-start') ])), A2( $mdgriffith$elm_ui$Internal$Style$Child, - 'u:first-of-type.' + $mdgriffith$elm_ui$Internal$Style$classes.en, + 'u:first-of-type.' + $mdgriffith$elm_ui$Internal$Style$classes.ea, _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'flex-grow', '1') ])), A2( $mdgriffith$elm_ui$Internal$Style$Child, - 's:first-of-type.' + $mdgriffith$elm_ui$Internal$Style$classes.ep, + 's:first-of-type.' + $mdgriffith$elm_ui$Internal$Style$classes.ec, _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'flex-grow', '1'), A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.em), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.d9), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'margin-top', 'auto !important'), @@ -9780,13 +10203,13 @@ ])), A2( $mdgriffith$elm_ui$Internal$Style$Child, - 's:last-of-type.' + $mdgriffith$elm_ui$Internal$Style$classes.ep, + 's:last-of-type.' + $mdgriffith$elm_ui$Internal$Style$classes.ec, _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'flex-grow', '1'), A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.em), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.d9), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'margin-bottom', 'auto !important'), @@ -9795,13 +10218,13 @@ ])), A2( $mdgriffith$elm_ui$Internal$Style$Child, - 's:only-of-type.' + $mdgriffith$elm_ui$Internal$Style$classes.ep, + 's:only-of-type.' + $mdgriffith$elm_ui$Internal$Style$classes.ec, _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'flex-grow', '1'), A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.em), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.d9), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'margin-top', 'auto !important'), @@ -9810,14 +10233,14 @@ ])), A2( $mdgriffith$elm_ui$Internal$Style$Child, - 's:last-of-type.' + ($mdgriffith$elm_ui$Internal$Style$classes.ep + ' ~ u'), + 's:last-of-type.' + ($mdgriffith$elm_ui$Internal$Style$classes.ec + ' ~ u'), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'flex-grow', '0') ])), A2( $mdgriffith$elm_ui$Internal$Style$Child, - 'u:first-of-type.' + ($mdgriffith$elm_ui$Internal$Style$classes.en + (' ~ s.' + $mdgriffith$elm_ui$Internal$Style$classes.ep)), + 'u:first-of-type.' + ($mdgriffith$elm_ui$Internal$Style$classes.ea + (' ~ s.' + $mdgriffith$elm_ui$Internal$Style$classes.ec)), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'flex-grow', '0') @@ -9886,7 +10309,7 @@ }), A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.bz), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.bj), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'flex-grow', '0'), @@ -9896,7 +10319,7 @@ ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.gh), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.f2), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'justify-content', 'space-between') @@ -9904,7 +10327,7 @@ ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.fj), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.e6), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'display', '-ms-grid'), @@ -9915,7 +10338,7 @@ [ A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eu), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eh), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'width', '100%') @@ -9966,13 +10389,13 @@ ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dG), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dr), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'display', 'block'), A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eu + ':first-child'), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eh + ':first-child'), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'margin', '0 !important') @@ -9980,7 +10403,7 @@ A2( $mdgriffith$elm_ui$Internal$Style$Child, $mdgriffith$elm_ui$Internal$Style$dot( - $mdgriffith$elm_ui$Internal$Style$classes.eu + ($mdgriffith$elm_ui$Internal$Style$selfName(3) + (':first-child + .' + $mdgriffith$elm_ui$Internal$Style$classes.eu))), + $mdgriffith$elm_ui$Internal$Style$classes.eh + ($mdgriffith$elm_ui$Internal$Style$selfName(3) + (':first-child + .' + $mdgriffith$elm_ui$Internal$Style$classes.eh))), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'margin', '0 !important') @@ -9988,7 +10411,7 @@ A2( $mdgriffith$elm_ui$Internal$Style$Child, $mdgriffith$elm_ui$Internal$Style$dot( - $mdgriffith$elm_ui$Internal$Style$classes.eu + ($mdgriffith$elm_ui$Internal$Style$selfName(2) + (':first-child + .' + $mdgriffith$elm_ui$Internal$Style$classes.eu))), + $mdgriffith$elm_ui$Internal$Style$classes.eh + ($mdgriffith$elm_ui$Internal$Style$selfName(2) + (':first-child + .' + $mdgriffith$elm_ui$Internal$Style$classes.eh))), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'margin', '0 !important') @@ -10041,7 +10464,7 @@ ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.fw), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.fj), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'white-space', 'pre-wrap !important'), @@ -10051,12 +10474,12 @@ ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.fz), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.fm), _List_fromArray( [ A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.ge), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.f$), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'flex-basis', 'auto') @@ -10064,14 +10487,14 @@ ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.fy), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.fl), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'white-space', 'pre-wrap !important'), A2($mdgriffith$elm_ui$Internal$Style$Prop, 'cursor', 'text'), A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.fx), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.fk), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'white-space', 'pre-wrap !important'), @@ -10080,7 +10503,7 @@ ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dH), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.ds), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'display', 'block'), @@ -10088,13 +10511,13 @@ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'overflow-wrap', 'break-word'), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cc), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.bY), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'z-index', '0'), A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eA), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.en), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'z-index', '-1') @@ -10102,7 +10525,7 @@ ])), A2( $mdgriffith$elm_ui$Internal$Style$AllChildren, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.bU), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.bE), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'display', 'inline'), @@ -10110,7 +10533,7 @@ ])), A2( $mdgriffith$elm_ui$Internal$Style$AllChildren, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dH), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.ds), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'display', 'inline'), @@ -10131,63 +10554,63 @@ ])), A2( $mdgriffith$elm_ui$Internal$Style$AllChildren, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.ge), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.f$), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'display', 'inline'), A2($mdgriffith$elm_ui$Internal$Style$Prop, 'white-space', 'normal'), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.ed), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.d0), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'display', 'inline-block') ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.ft), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.fg), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'display', 'flex') ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eA), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.en), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'display', 'flex') ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.ei), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.d5), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'display', 'flex') ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eB), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eo), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'display', 'flex') ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.fS), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.fD), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'display', 'flex') ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.fR), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.fC), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'display', 'flex') ])), A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.bU), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.bE), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'display', 'inline'), @@ -10196,21 +10619,21 @@ ])), A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dW), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dH), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'display', 'inline') ])), A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.as), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.ak), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'display', 'inline-flex') ])), A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.fj), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.e6), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'display', 'inline-grid') @@ -10252,84 +10675,84 @@ ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.gD), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.gn), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'font-weight', '100') ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.gu), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.ge), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'font-weight', '200') ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.gy), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.gi), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'font-weight', '300') ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.gA), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.gk), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'font-weight', '400') ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.gz), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.gj), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'font-weight', '500') ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.gC), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.gm), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'font-weight', '600') ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eF), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.es), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'font-weight', '700') ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.gt), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.gd), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'font-weight', '800') ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.gv), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.gf), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'font-weight', '900') ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.fF), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.fs), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'font-style', 'italic') ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.gp), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.f9), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'text-decoration', 'line-through') ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.gY), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.gH), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'text-decoration', 'underline'), @@ -10339,8 +10762,8 @@ A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, _Utils_ap( - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.gY), - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.gp)), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.gH), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.f9)), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'text-decoration', 'line-through underline'), @@ -10349,42 +10772,42 @@ ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.gE), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.go), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'font-style', 'normal') ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.gw), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.gg), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'text-align', 'justify') ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.bV), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.bF), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'text-align', 'justify-all') ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.gs), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.gc), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'text-align', 'center') ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.gB), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.gl), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'text-align', 'right') ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.gx), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.gh), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'text-align', 'left') @@ -10496,19 +10919,19 @@ $mdgriffith$elm_ui$Internal$Style$fontVariant('afrc'), $mdgriffith$elm_ui$Internal$Style$fontVariant('frac') ])); -var $mdgriffith$elm_ui$Internal$Style$explainer = '\n.explain {\n border: 6px solid rgb(174, 121, 15) !important;\n}\n.explain > .' + ($mdgriffith$elm_ui$Internal$Style$classes.eu + (' {\n border: 4px dashed rgb(0, 151, 167) !important;\n}\n\n.ctr {\n border: none !important;\n}\n.explain > .ctr > .' + ($mdgriffith$elm_ui$Internal$Style$classes.eu + ' {\n border: 4px dashed rgb(0, 151, 167) !important;\n}\n\n'))); +var $mdgriffith$elm_ui$Internal$Style$explainer = '\n.explain {\n border: 6px solid rgb(174, 121, 15) !important;\n}\n.explain > .' + ($mdgriffith$elm_ui$Internal$Style$classes.eh + (' {\n border: 4px dashed rgb(0, 151, 167) !important;\n}\n\n.ctr {\n border: none !important;\n}\n.explain > .ctr > .' + ($mdgriffith$elm_ui$Internal$Style$classes.eh + ' {\n border: 4px dashed rgb(0, 151, 167) !important;\n}\n\n'))); var $mdgriffith$elm_ui$Internal$Style$inputTextReset = '\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'; var $mdgriffith$elm_ui$Internal$Style$sliderReset = '\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'; var $mdgriffith$elm_ui$Internal$Style$thumbReset = '\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'; var $mdgriffith$elm_ui$Internal$Style$trackReset = '\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'; -var $mdgriffith$elm_ui$Internal$Style$overrides = '@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {' + ($mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eu) + ($mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dW) + (' > ' + ($mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eu) + (' { flex-basis: auto !important; } ' + ($mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eu) + ($mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dW) + (' > ' + ($mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eu) + ($mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.bz) + (' { flex-basis: auto !important; }}' + ($mdgriffith$elm_ui$Internal$Style$inputTextReset + ($mdgriffith$elm_ui$Internal$Style$sliderReset + ($mdgriffith$elm_ui$Internal$Style$trackReset + ($mdgriffith$elm_ui$Internal$Style$thumbReset + $mdgriffith$elm_ui$Internal$Style$explainer))))))))))))))); +var $mdgriffith$elm_ui$Internal$Style$overrides = '@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {' + ($mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eh) + ($mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dH) + (' > ' + ($mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eh) + (' { flex-basis: auto !important; } ' + ($mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eh) + ($mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dH) + (' > ' + ($mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eh) + ($mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.bj) + (' { flex-basis: auto !important; }}' + ($mdgriffith$elm_ui$Internal$Style$inputTextReset + ($mdgriffith$elm_ui$Internal$Style$sliderReset + ($mdgriffith$elm_ui$Internal$Style$trackReset + ($mdgriffith$elm_ui$Internal$Style$thumbReset + $mdgriffith$elm_ui$Internal$Style$explainer))))))))))))))); var $elm$core$String$concat = function (strings) { return A2($elm$core$String$join, '', strings); }; var $mdgriffith$elm_ui$Internal$Style$Intermediate = $elm$core$Basics$identity; var $mdgriffith$elm_ui$Internal$Style$emptyIntermediate = F2( function (selector, closing) { - return {by: closing, w: _List_Nil, aB: _List_Nil, ag: selector}; + return {bi: closing, u: _List_Nil, ap: _List_Nil, ab: selector}; }); var $mdgriffith$elm_ui$Internal$Style$renderRules = F2( function (_v0, rulesToRender) { @@ -10522,10 +10945,10 @@ return _Utils_update( rendered, { - aB: A2( + ap: A2( $elm$core$List$cons, _Utils_Tuple2(name, val), - rendered.aB) + rendered.ap) }); case 3: var _v2 = rule.a; @@ -10535,10 +10958,10 @@ return _Utils_update( rendered, { - w: A2( + u: A2( $elm$core$List$cons, - {by: '\n}', w: _List_Nil, aB: props, ag: '@supports (' + (prop + (':' + (value + (') {' + parent.ag))))}, - rendered.w) + {bi: '\n}', u: _List_Nil, ap: props, ab: '@supports (' + (prop + (':' + (value + (') {' + parent.ab))))}, + rendered.u) }); case 5: var selector = rule.a; @@ -10546,13 +10969,13 @@ return _Utils_update( rendered, { - w: A2( + u: A2( $elm$core$List$cons, A2( $mdgriffith$elm_ui$Internal$Style$renderRules, - A2($mdgriffith$elm_ui$Internal$Style$emptyIntermediate, parent.ag + (' + ' + selector), ''), + A2($mdgriffith$elm_ui$Internal$Style$emptyIntermediate, parent.ab + (' + ' + selector), ''), adjRules), - rendered.w) + rendered.u) }); case 1: var child = rule.a; @@ -10560,13 +10983,13 @@ return _Utils_update( rendered, { - w: A2( + u: A2( $elm$core$List$cons, A2( $mdgriffith$elm_ui$Internal$Style$renderRules, - A2($mdgriffith$elm_ui$Internal$Style$emptyIntermediate, parent.ag + (' > ' + child), ''), + A2($mdgriffith$elm_ui$Internal$Style$emptyIntermediate, parent.ab + (' > ' + child), ''), childRules), - rendered.w) + rendered.u) }); case 2: var child = rule.a; @@ -10574,13 +10997,13 @@ return _Utils_update( rendered, { - w: A2( + u: A2( $elm$core$List$cons, A2( $mdgriffith$elm_ui$Internal$Style$renderRules, - A2($mdgriffith$elm_ui$Internal$Style$emptyIntermediate, parent.ag + (' ' + child), ''), + A2($mdgriffith$elm_ui$Internal$Style$emptyIntermediate, parent.ab + (' ' + child), ''), childRules), - rendered.w) + rendered.u) }); case 4: var descriptor = rule.a; @@ -10588,29 +11011,29 @@ return _Utils_update( rendered, { - w: A2( + u: A2( $elm$core$List$cons, A2( $mdgriffith$elm_ui$Internal$Style$renderRules, A2( $mdgriffith$elm_ui$Internal$Style$emptyIntermediate, - _Utils_ap(parent.ag, descriptor), + _Utils_ap(parent.ab, descriptor), ''), descriptorRules), - rendered.w) + rendered.u) }); default: var batched = rule.a; return _Utils_update( rendered, { - w: A2( + u: A2( $elm$core$List$cons, A2( $mdgriffith$elm_ui$Internal$Style$renderRules, - A2($mdgriffith$elm_ui$Internal$Style$emptyIntermediate, parent.ag, ''), + A2($mdgriffith$elm_ui$Internal$Style$emptyIntermediate, parent.ab, ''), batched), - rendered.w) + rendered.u) }); } }); @@ -10629,11 +11052,11 @@ values)); }; var renderClass = function (rule) { - var _v2 = rule.aB; + var _v2 = rule.ap; if (!_v2.b) { return ''; } else { - return rule.ag + ('{' + (renderValues(rule.aB) + (rule.by + '}'))); + return rule.ab + ('{' + (renderValues(rule.ap) + (rule.bi + '}'))); } }; var renderIntermediate = function (_v0) { @@ -10641,7 +11064,7 @@ return _Utils_ap( renderClass(rule), $elm$core$String$concat( - A2($elm$core$List$map, renderIntermediate, rule.w))); + A2($elm$core$List$map, renderIntermediate, rule.u))); }; return $elm$core$String$concat( A2( @@ -10670,7 +11093,7 @@ _Utils_ap($mdgriffith$elm_ui$Internal$Style$baseSheet, $mdgriffith$elm_ui$Internal$Style$commonValues))); var $elm$virtual_dom$VirtualDom$text = _VirtualDom_text; var $mdgriffith$elm_ui$Internal$Model$staticRoot = function (opts) { - var _v0 = opts.fM; + var _v0 = opts.fx; switch (_v0) { case 0: return A3( @@ -10720,7 +11143,7 @@ var url = font.b; return '\"' + (name + '\"'); default: - var name = font.a.a2; + var name = font.a.aN; return '\"' + (name + '\"'); } }; @@ -10741,7 +11164,7 @@ var $mdgriffith$elm_ui$Internal$Model$hasSmallCaps = function (typeface) { if (typeface.$ === 5) { var font = typeface.a; - return A2($elm$core$List$any, $mdgriffith$elm_ui$Internal$Model$isSmallCaps, font.d8); + return A2($elm$core$List$any, $mdgriffith$elm_ui$Internal$Model$isSmallCaps, font.dX); } else { return false; } @@ -10750,9 +11173,6 @@ function (x, y) { return (_Utils_cmp(x, y) < 0) ? x : y; }); -var $elm$core$Basics$negate = function (n) { - return -n; -}; var $mdgriffith$elm_ui$Internal$Model$renderProps = F3( function (force, _v0, existing) { var key = _v0.a; @@ -10774,7 +11194,7 @@ var pseudo = maybePseudo.a; switch (pseudo) { case 1: - var _v2 = options.fp; + var _v2 = options.fc; switch (_v2) { case 0: return _List_Nil; @@ -10806,9 +11226,9 @@ return _List_fromArray( [ selector + ('-fs:focus {' + (renderedProps + '\n}')), - ('.' + ($mdgriffith$elm_ui$Internal$Style$classes.eu + (':focus ' + (selector + '-fs {')))) + (renderedProps + '\n}'), + ('.' + ($mdgriffith$elm_ui$Internal$Style$classes.eh + (':focus ' + (selector + '-fs {')))) + (renderedProps + '\n}'), (selector + '-fs:focus-within {') + (renderedProps + '\n}'), - ('.ui-slide-bar:focus + ' + ($mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eu) + (' .focusable-thumb' + (selector + '-fs {')))) + (renderedProps + '\n}') + ('.ui-slide-bar:focus + ' + ($mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.eh) + (' .focusable-thumb' + (selector + '-fs {')))) + (renderedProps + '\n}') ]); default: return _List_fromArray( @@ -10843,7 +11263,7 @@ A2( $elm$core$String$join, ', ', - A2($elm$core$List$map, $mdgriffith$elm_ui$Internal$Model$renderVariant, font.d8))); + A2($elm$core$List$map, $mdgriffith$elm_ui$Internal$Model$renderVariant, font.dX))); } else { return $elm$core$Maybe$Nothing; } @@ -10989,18 +11409,18 @@ var y = rule.c; var yPx = $elm$core$String$fromInt(y) + 'px'; var xPx = $elm$core$String$fromInt(x) + 'px'; - var single = '.' + $mdgriffith$elm_ui$Internal$Style$classes.ge; - var row = '.' + $mdgriffith$elm_ui$Internal$Style$classes.dW; - var wrappedRow = '.' + ($mdgriffith$elm_ui$Internal$Style$classes.cU + row); - var right = '.' + $mdgriffith$elm_ui$Internal$Style$classes.cZ; - var paragraph = '.' + $mdgriffith$elm_ui$Internal$Style$classes.dH; - var page = '.' + $mdgriffith$elm_ui$Internal$Style$classes.dG; - var left = '.' + $mdgriffith$elm_ui$Internal$Style$classes.cY; + var single = '.' + $mdgriffith$elm_ui$Internal$Style$classes.f$; + var row = '.' + $mdgriffith$elm_ui$Internal$Style$classes.dH; + var wrappedRow = '.' + ($mdgriffith$elm_ui$Internal$Style$classes.cE + row); + var right = '.' + $mdgriffith$elm_ui$Internal$Style$classes.cJ; + var paragraph = '.' + $mdgriffith$elm_ui$Internal$Style$classes.ds; + var page = '.' + $mdgriffith$elm_ui$Internal$Style$classes.dr; + var left = '.' + $mdgriffith$elm_ui$Internal$Style$classes.cI; var halfY = $elm$core$String$fromFloat(y / 2) + 'px'; var halfX = $elm$core$String$fromFloat(x / 2) + 'px'; - var column = '.' + $mdgriffith$elm_ui$Internal$Style$classes.as; + var column = '.' + $mdgriffith$elm_ui$Internal$Style$classes.ak; var _class = '.' + cls; - var any = '.' + $mdgriffith$elm_ui$Internal$Style$classes.eu; + var any = '.' + $mdgriffith$elm_ui$Internal$Style$classes.eh; return $elm$core$List$concat( _List_fromArray( [ @@ -11258,45 +11678,45 @@ var toGridLength = function (x) { return A3(toGridLengthHelper, $elm$core$Maybe$Nothing, $elm$core$Maybe$Nothing, x); }; - var xSpacing = toGridLength(template.gi.a); - var ySpacing = toGridLength(template.gi.b); + var xSpacing = toGridLength(template.f3.a); + var ySpacing = toGridLength(template.f3.b); var rows = function (x) { return 'grid-template-rows: ' + (x + ';'); }( A2( $elm$core$String$join, ' ', - A2($elm$core$List$map, toGridLength, template.f7))); + A2($elm$core$List$map, toGridLength, template.fU))); var msRows = function (x) { return '-ms-grid-rows: ' + (x + ';'); }( A2( $elm$core$String$join, ySpacing, - A2($elm$core$List$map, toGridLength, template.eT))); + A2($elm$core$List$map, toGridLength, template.eG))); var msColumns = function (x) { return '-ms-grid-columns: ' + (x + ';'); }( A2( $elm$core$String$join, ySpacing, - A2($elm$core$List$map, toGridLength, template.eT))); - var gapY = 'grid-row-gap:' + (toGridLength(template.gi.b) + ';'); - var gapX = 'grid-column-gap:' + (toGridLength(template.gi.a) + ';'); + A2($elm$core$List$map, toGridLength, template.eG))); + var gapY = 'grid-row-gap:' + (toGridLength(template.f3.b) + ';'); + var gapX = 'grid-column-gap:' + (toGridLength(template.f3.a) + ';'); var columns = function (x) { return 'grid-template-columns: ' + (x + ';'); }( A2( $elm$core$String$join, ' ', - A2($elm$core$List$map, toGridLength, template.eT))); + A2($elm$core$List$map, toGridLength, template.eG))); var _class = '.grid-rows-' + (A2( $elm$core$String$join, '-', - A2($elm$core$List$map, $mdgriffith$elm_ui$Internal$Model$lengthClassName, template.f7)) + ('-cols-' + (A2( + A2($elm$core$List$map, $mdgriffith$elm_ui$Internal$Model$lengthClassName, template.fU)) + ('-cols-' + (A2( $elm$core$String$join, '-', - A2($elm$core$List$map, $mdgriffith$elm_ui$Internal$Model$lengthClassName, template.eT)) + ('-space-x-' + ($mdgriffith$elm_ui$Internal$Model$lengthClassName(template.gi.a) + ('-space-y-' + $mdgriffith$elm_ui$Internal$Model$lengthClassName(template.gi.b))))))); + A2($elm$core$List$map, $mdgriffith$elm_ui$Internal$Model$lengthClassName, template.eG)) + ('-space-x-' + ($mdgriffith$elm_ui$Internal$Model$lengthClassName(template.f3.a) + ('-space-y-' + $mdgriffith$elm_ui$Internal$Model$lengthClassName(template.f3.b))))))); var modernGrid = _class + ('{' + (columns + (rows + (gapX + (gapY + '}'))))); var supports = '@supports (display:grid) {' + (modernGrid + '}'); var base = _class + ('{' + (msColumns + (msRows + '}'))); @@ -11309,20 +11729,20 @@ ' ', _List_fromArray( [ - '-ms-grid-row: ' + ($elm$core$String$fromInt(position.dW) + ';'), - '-ms-grid-row-span: ' + ($elm$core$String$fromInt(position.di) + ';'), - '-ms-grid-column: ' + ($elm$core$String$fromInt(position.c3) + ';'), - '-ms-grid-column-span: ' + ($elm$core$String$fromInt(position.cQ) + ';') + '-ms-grid-row: ' + ($elm$core$String$fromInt(position.dH) + ';'), + '-ms-grid-row-span: ' + ($elm$core$String$fromInt(position.c2) + ';'), + '-ms-grid-column: ' + ($elm$core$String$fromInt(position.cP) + ';'), + '-ms-grid-column-span: ' + ($elm$core$String$fromInt(position.cA) + ';') ])); var modernPosition = A2( $elm$core$String$join, ' ', _List_fromArray( [ - 'grid-row: ' + ($elm$core$String$fromInt(position.dW) + (' / ' + ($elm$core$String$fromInt(position.dW + position.di) + ';'))), - 'grid-column: ' + ($elm$core$String$fromInt(position.c3) + (' / ' + ($elm$core$String$fromInt(position.c3 + position.cQ) + ';'))) + 'grid-row: ' + ($elm$core$String$fromInt(position.dH) + (' / ' + ($elm$core$String$fromInt(position.dH + position.c2) + ';'))), + 'grid-column: ' + ($elm$core$String$fromInt(position.cP) + (' / ' + ($elm$core$String$fromInt(position.cP + position.cA) + ';'))) ])); - var _class = '.grid-pos-' + ($elm$core$String$fromInt(position.dW) + ('-' + ($elm$core$String$fromInt(position.c3) + ('-' + ($elm$core$String$fromInt(position.cQ) + ('-' + $elm$core$String$fromInt(position.di))))))); + var _class = '.grid-pos-' + ($elm$core$String$fromInt(position.dH) + ('-' + ($elm$core$String$fromInt(position.cP) + ('-' + ($elm$core$String$fromInt(position.cA) + ('-' + $elm$core$String$fromInt(position.c2))))))); var modernGrid = _class + ('{' + (modernPosition + '}')); var supports = '@supports (display:grid) {' + (modernGrid + '}'); var base = _class + ('{' + (msPosition + '}')); @@ -11393,7 +11813,7 @@ return _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Model$bracket, '.' + (name + ('.' + (modifier + (', ' + ('.' + (name + (' .' + modifier))))))), parentAdj), - A2($mdgriffith$elm_ui$Internal$Model$bracket, '.' + (name + ('.' + (modifier + ('> .' + ($mdgriffith$elm_ui$Internal$Style$classes.bU + (', .' + (name + (' .' + (modifier + (' > .' + $mdgriffith$elm_ui$Internal$Style$classes.bU)))))))))), textAdjustment) + A2($mdgriffith$elm_ui$Internal$Model$bracket, '.' + (name + ('.' + (modifier + ('> .' + ($mdgriffith$elm_ui$Internal$Style$classes.bE + (', .' + (name + (' .' + (modifier + (' > .' + $mdgriffith$elm_ui$Internal$Style$classes.bE)))))))))), textAdjustment) ]); }); var $mdgriffith$elm_ui$Internal$Model$renderFontAdjustmentRule = F3( @@ -11405,8 +11825,8 @@ $elm$core$String$join, ' ', _Utils_ap( - A3($mdgriffith$elm_ui$Internal$Model$fontRule, name, $mdgriffith$elm_ui$Internal$Style$classes.gg, capital), - A3($mdgriffith$elm_ui$Internal$Model$fontRule, name, $mdgriffith$elm_ui$Internal$Style$classes.fi, full))); + A3($mdgriffith$elm_ui$Internal$Model$fontRule, name, $mdgriffith$elm_ui$Internal$Style$classes.f1, capital), + A3($mdgriffith$elm_ui$Internal$Model$fontRule, name, $mdgriffith$elm_ui$Internal$Style$classes.e5, full))); }); var $mdgriffith$elm_ui$Internal$Model$renderNullAdjustmentRule = F2( function (fontToAdjust, otherFontName) { @@ -11418,14 +11838,14 @@ [ A2( $mdgriffith$elm_ui$Internal$Model$bracket, - '.' + (name + ('.' + ($mdgriffith$elm_ui$Internal$Style$classes.gg + (', ' + ('.' + (name + (' .' + $mdgriffith$elm_ui$Internal$Style$classes.gg))))))), + '.' + (name + ('.' + ($mdgriffith$elm_ui$Internal$Style$classes.f1 + (', ' + ('.' + (name + (' .' + $mdgriffith$elm_ui$Internal$Style$classes.f1))))))), _List_fromArray( [ _Utils_Tuple2('line-height', '1') ])), A2( $mdgriffith$elm_ui$Internal$Model$bracket, - '.' + (name + ('.' + ($mdgriffith$elm_ui$Internal$Style$classes.gg + ('> .' + ($mdgriffith$elm_ui$Internal$Style$classes.bU + (', .' + (name + (' .' + ($mdgriffith$elm_ui$Internal$Style$classes.gg + (' > .' + $mdgriffith$elm_ui$Internal$Style$classes.bU)))))))))), + '.' + (name + ('.' + ($mdgriffith$elm_ui$Internal$Style$classes.f1 + ('> .' + ($mdgriffith$elm_ui$Internal$Style$classes.bE + (', .' + (name + (' .' + ($mdgriffith$elm_ui$Internal$Style$classes.f1 + (' > .' + $mdgriffith$elm_ui$Internal$Style$classes.bE)))))))))), _List_fromArray( [ _Utils_Tuple2('vertical-align', '0'), @@ -11435,7 +11855,7 @@ }); var $mdgriffith$elm_ui$Internal$Model$adjust = F3( function (size, height, vertical) { - return {di: height / size, gf: size, d9: vertical}; + return {c2: height / size, f0: size, dY: vertical}; }); var $elm$core$List$filter = F2( function (isGood, list) { @@ -11470,17 +11890,17 @@ }; var $mdgriffith$elm_ui$Internal$Model$convertAdjustment = function (adjustment) { var lines = _List_fromArray( - [adjustment.eN, adjustment.ez, adjustment.e4, adjustment.fH]); + [adjustment.eA, adjustment.em, adjustment.eT, adjustment.ft]); var lineHeight = 1.5; var normalDescender = (lineHeight - 1) / 2; var oldMiddle = lineHeight / 2; var descender = A2( $elm$core$Maybe$withDefault, - adjustment.e4, + adjustment.eT, $elm$core$List$minimum(lines)); var newBaseline = A2( $elm$core$Maybe$withDefault, - adjustment.ez, + adjustment.em, $elm$core$List$minimum( A2( $elm$core$List$filter, @@ -11491,7 +11911,7 @@ var base = lineHeight; var ascender = A2( $elm$core$Maybe$withDefault, - adjustment.eN, + adjustment.eA, $elm$core$List$maximum(lines)); var capitalSize = 1 / (ascender - newBaseline); var capitalVertical = 1 - ascender; @@ -11500,8 +11920,8 @@ var newCapitalMiddle = ((ascender - newBaseline) / 2) + newBaseline; var newFullMiddle = ((ascender - descender) / 2) + descender; return { - eN: A3($mdgriffith$elm_ui$Internal$Model$adjust, capitalSize, ascender - newBaseline, capitalVertical), - df: A3($mdgriffith$elm_ui$Internal$Model$adjust, fullSize, ascender - descender, fullVertical) + eA: A3($mdgriffith$elm_ui$Internal$Model$adjust, capitalSize, ascender - newBaseline, capitalVertical), + c$: A3($mdgriffith$elm_ui$Internal$Model$adjust, fullSize, ascender - descender, fullVertical) }; }; var $mdgriffith$elm_ui$Internal$Model$fontAdjustmentRules = function (converted) { @@ -11515,13 +11935,13 @@ _Utils_Tuple2('display', 'inline-block'), _Utils_Tuple2( 'line-height', - $elm$core$String$fromFloat(converted.di)), + $elm$core$String$fromFloat(converted.c2)), _Utils_Tuple2( 'vertical-align', - $elm$core$String$fromFloat(converted.d9) + 'em'), + $elm$core$String$fromFloat(converted.dY) + 'em'), _Utils_Tuple2( 'font-size', - $elm$core$String$fromFloat(converted.gf) + 'em') + $elm$core$String$fromFloat(converted.f0) + 'em') ])); }; var $mdgriffith$elm_ui$Internal$Model$typefaceAdjustment = function (typefaces) { @@ -11532,7 +11952,7 @@ if (found.$ === 1) { if (face.$ === 5) { var _with = face.a; - var _v2 = _with.ej; + var _v2 = _with.d6; if (_v2.$ === 1) { return found; } else { @@ -11541,12 +11961,12 @@ _Utils_Tuple2( $mdgriffith$elm_ui$Internal$Model$fontAdjustmentRules( function ($) { - return $.df; + return $.c$; }( $mdgriffith$elm_ui$Internal$Model$convertAdjustment(adjustment))), $mdgriffith$elm_ui$Internal$Model$fontAdjustmentRules( function ($) { - return $.eN; + return $.eA; }( $mdgriffith$elm_ui$Internal$Model$convertAdjustment(adjustment))))); } @@ -11627,16 +12047,16 @@ var combine = F2( function (style, rendered) { return { - bR: _Utils_ap( - rendered.bR, + bB: _Utils_ap( + rendered.bB, A3($mdgriffith$elm_ui$Internal$Model$renderStyleRule, options, style, $elm$core$Maybe$Nothing)), - bm: function () { + a5: function () { var _v1 = $mdgriffith$elm_ui$Internal$Model$topLevelValue(style); if (_v1.$ === 1) { - return rendered.bm; + return rendered.a5; } else { var topLevel = _v1.a; - return A2($elm$core$List$cons, topLevel, rendered.bm); + return A2($elm$core$List$cons, topLevel, rendered.a5); } }() }; @@ -11644,17 +12064,17 @@ var _v0 = A3( $elm$core$List$foldl, combine, - {bR: _List_Nil, bm: _List_Nil}, + {bB: _List_Nil, a5: _List_Nil}, stylesheet); - var topLevel = _v0.bm; - var rules = _v0.bR; + var topLevel = _v0.a5; + var rules = _v0.bB; return _Utils_ap( $mdgriffith$elm_ui$Internal$Model$renderTopLevelValues(topLevel), $elm$core$String$concat(rules)); }); var $mdgriffith$elm_ui$Internal$Model$toStyleSheet = F2( function (options, styleSheet) { - var _v0 = options.fM; + var _v0 = options.fx; switch (_v0) { case 0: return A3( @@ -11714,7 +12134,7 @@ $mdgriffith$elm_ui$Internal$Model$reduceStyles, _Utils_Tuple2( $elm$core$Set$empty, - $mdgriffith$elm_ui$Internal$Model$renderFocusStyle(opts.fh)), + $mdgriffith$elm_ui$Internal$Model$renderFocusStyle(opts.e4)), styles).b); return _static ? A2( $elm$core$List$cons, @@ -11739,7 +12159,7 @@ $mdgriffith$elm_ui$Internal$Model$reduceStyles, _Utils_Tuple2( $elm$core$Set$empty, - $mdgriffith$elm_ui$Internal$Model$renderFocusStyle(opts.fh)), + $mdgriffith$elm_ui$Internal$Model$renderFocusStyle(opts.e4)), styles).b); return _static ? A2( $elm$core$List$cons, @@ -11845,7 +12265,7 @@ internal, _List_fromArray( [ - $elm$html$Html$Attributes$class($mdgriffith$elm_ui$Internal$Style$classes.eu + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.ge)) + $elm$html$Html$Attributes$class($mdgriffith$elm_ui$Internal$Style$classes.eh + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.f$)) ])) ])); } @@ -11861,7 +12281,7 @@ $elm$core$String$join, ' ', _List_fromArray( - [$mdgriffith$elm_ui$Internal$Style$classes.eu, $mdgriffith$elm_ui$Internal$Style$classes.ge, $mdgriffith$elm_ui$Internal$Style$classes.bz, $mdgriffith$elm_ui$Internal$Style$classes.at, $mdgriffith$elm_ui$Internal$Style$classes.eq]))) + [$mdgriffith$elm_ui$Internal$Style$classes.eh, $mdgriffith$elm_ui$Internal$Style$classes.f$, $mdgriffith$elm_ui$Internal$Style$classes.bj, $mdgriffith$elm_ui$Internal$Style$classes.al, $mdgriffith$elm_ui$Internal$Style$classes.ed]))) ]), _List_fromArray( [html])) : (A2($mdgriffith$elm_ui$Internal$Flag$present, $mdgriffith$elm_ui$Internal$Flag$centerX, has) ? A2( @@ -11873,7 +12293,7 @@ $elm$core$String$join, ' ', _List_fromArray( - [$mdgriffith$elm_ui$Internal$Style$classes.eu, $mdgriffith$elm_ui$Internal$Style$classes.ge, $mdgriffith$elm_ui$Internal$Style$classes.bz, $mdgriffith$elm_ui$Internal$Style$classes.at, $mdgriffith$elm_ui$Internal$Style$classes.eo]))) + [$mdgriffith$elm_ui$Internal$Style$classes.eh, $mdgriffith$elm_ui$Internal$Style$classes.f$, $mdgriffith$elm_ui$Internal$Style$classes.bj, $mdgriffith$elm_ui$Internal$Style$classes.al, $mdgriffith$elm_ui$Internal$Style$classes.eb]))) ]), _List_fromArray( [html])) : html)); @@ -11887,7 +12307,7 @@ $elm$core$String$join, ' ', _List_fromArray( - [$mdgriffith$elm_ui$Internal$Style$classes.eu, $mdgriffith$elm_ui$Internal$Style$classes.ge, $mdgriffith$elm_ui$Internal$Style$classes.bz, $mdgriffith$elm_ui$Internal$Style$classes.ep]))) + [$mdgriffith$elm_ui$Internal$Style$classes.eh, $mdgriffith$elm_ui$Internal$Style$classes.f$, $mdgriffith$elm_ui$Internal$Style$classes.bj, $mdgriffith$elm_ui$Internal$Style$classes.ec]))) ]), _List_fromArray( [html])) : (A2($mdgriffith$elm_ui$Internal$Flag$present, $mdgriffith$elm_ui$Internal$Flag$alignBottom, has) ? A2( @@ -11899,7 +12319,7 @@ $elm$core$String$join, ' ', _List_fromArray( - [$mdgriffith$elm_ui$Internal$Style$classes.eu, $mdgriffith$elm_ui$Internal$Style$classes.ge, $mdgriffith$elm_ui$Internal$Style$classes.bz, $mdgriffith$elm_ui$Internal$Style$classes.en]))) + [$mdgriffith$elm_ui$Internal$Style$classes.eh, $mdgriffith$elm_ui$Internal$Style$classes.f$, $mdgriffith$elm_ui$Internal$Style$classes.bj, $mdgriffith$elm_ui$Internal$Style$classes.ea]))) ]), _List_fromArray( [html])) : html)); @@ -11908,7 +12328,7 @@ } }); var $elm$html$Html$text = $elm$virtual_dom$VirtualDom$text; -var $mdgriffith$elm_ui$Internal$Model$textElementClasses = $mdgriffith$elm_ui$Internal$Style$classes.eu + (' ' + ($mdgriffith$elm_ui$Internal$Style$classes.bU + (' ' + ($mdgriffith$elm_ui$Internal$Style$classes.cR + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.ce))))); +var $mdgriffith$elm_ui$Internal$Model$textElementClasses = $mdgriffith$elm_ui$Internal$Style$classes.eh + (' ' + ($mdgriffith$elm_ui$Internal$Style$classes.bE + (' ' + ($mdgriffith$elm_ui$Internal$Style$classes.cB + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.b_))))); var $mdgriffith$elm_ui$Internal$Model$textElement = function (str) { return A2( $elm$html$Html$div, @@ -11921,7 +12341,7 @@ $elm$html$Html$text(str) ])); }; -var $mdgriffith$elm_ui$Internal$Model$textElementFillClasses = $mdgriffith$elm_ui$Internal$Style$classes.eu + (' ' + ($mdgriffith$elm_ui$Internal$Style$classes.bU + (' ' + ($mdgriffith$elm_ui$Internal$Style$classes.cS + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.cf))))); +var $mdgriffith$elm_ui$Internal$Model$textElementFillClasses = $mdgriffith$elm_ui$Internal$Style$classes.eh + (' ' + ($mdgriffith$elm_ui$Internal$Style$classes.bE + (' ' + ($mdgriffith$elm_ui$Internal$Style$classes.cC + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.b$))))); var $mdgriffith$elm_ui$Internal$Model$textElementFill = function (str) { return A2( $elm$html$Html$div, @@ -11967,16 +12387,16 @@ $elm$core$List$cons, _Utils_Tuple2( key, - A2(styled.fq, $mdgriffith$elm_ui$Internal$Model$NoStyleSheet, context)), + A2(styled.fd, $mdgriffith$elm_ui$Internal$Model$NoStyleSheet, context)), htmls), - $elm$core$List$isEmpty(existingStyles) ? styled.gq : _Utils_ap(styled.gq, existingStyles)) : _Utils_Tuple2( + $elm$core$List$isEmpty(existingStyles) ? styled.ga : _Utils_ap(styled.ga, existingStyles)) : _Utils_Tuple2( A2( $elm$core$List$cons, _Utils_Tuple2( key, - A2(styled.fq, $mdgriffith$elm_ui$Internal$Model$NoStyleSheet, context)), + A2(styled.fd, $mdgriffith$elm_ui$Internal$Model$NoStyleSheet, context)), htmls), - $elm$core$List$isEmpty(existingStyles) ? styled.gq : _Utils_ap(styled.gq, existingStyles)); + $elm$core$List$isEmpty(existingStyles) ? styled.ga : _Utils_ap(styled.ga, existingStyles)); case 2: var str = child.a; return _Utils_Tuple2( @@ -12014,14 +12434,14 @@ return _Utils_eq(context, $mdgriffith$elm_ui$Internal$Model$asParagraph) ? _Utils_Tuple2( A2( $elm$core$List$cons, - A2(styled.fq, $mdgriffith$elm_ui$Internal$Model$NoStyleSheet, context), + A2(styled.fd, $mdgriffith$elm_ui$Internal$Model$NoStyleSheet, context), htmls), - $elm$core$List$isEmpty(existingStyles) ? styled.gq : _Utils_ap(styled.gq, existingStyles)) : _Utils_Tuple2( + $elm$core$List$isEmpty(existingStyles) ? styled.ga : _Utils_ap(styled.ga, existingStyles)) : _Utils_Tuple2( A2( $elm$core$List$cons, - A2(styled.fq, $mdgriffith$elm_ui$Internal$Model$NoStyleSheet, context), + A2(styled.fd, $mdgriffith$elm_ui$Internal$Model$NoStyleSheet, context), htmls), - $elm$core$List$isEmpty(existingStyles) ? styled.gq : _Utils_ap(styled.gq, existingStyles)); + $elm$core$List$isEmpty(existingStyles) ? styled.ga : _Utils_ap(styled.ga, existingStyles)); case 2: var str = child.a; return _Utils_Tuple2( @@ -12043,29 +12463,29 @@ keyedChildren); var keyed = _v1.a; var styles = _v1.b; - var newStyles = $elm$core$List$isEmpty(styles) ? rendered.gq : _Utils_ap(rendered.gq, styles); + var newStyles = $elm$core$List$isEmpty(styles) ? rendered.ga : _Utils_ap(rendered.ga, styles); if (!newStyles.b) { return $mdgriffith$elm_ui$Internal$Model$Unstyled( A5( $mdgriffith$elm_ui$Internal$Model$finalizeNode, - rendered.aM, - rendered.aO, - rendered.aE, + rendered.aw, + rendered.ay, + rendered.as, $mdgriffith$elm_ui$Internal$Model$Keyed( - A3($mdgriffith$elm_ui$Internal$Model$addKeyedChildren, 'nearby-element-pls', keyed, rendered.aF)), + A3($mdgriffith$elm_ui$Internal$Model$addKeyedChildren, 'nearby-element-pls', keyed, rendered.at)), $mdgriffith$elm_ui$Internal$Model$NoStyleSheet)); } else { var allStyles = newStyles; return $mdgriffith$elm_ui$Internal$Model$Styled( { - fq: A4( + fd: A4( $mdgriffith$elm_ui$Internal$Model$finalizeNode, - rendered.aM, - rendered.aO, - rendered.aE, + rendered.aw, + rendered.ay, + rendered.as, $mdgriffith$elm_ui$Internal$Model$Keyed( - A3($mdgriffith$elm_ui$Internal$Model$addKeyedChildren, 'nearby-element-pls', keyed, rendered.aF))), - gq: allStyles + A3($mdgriffith$elm_ui$Internal$Model$addKeyedChildren, 'nearby-element-pls', keyed, rendered.at))), + ga: allStyles }); } } else { @@ -12077,29 +12497,29 @@ unkeyedChildren); var unkeyed = _v3.a; var styles = _v3.b; - var newStyles = $elm$core$List$isEmpty(styles) ? rendered.gq : _Utils_ap(rendered.gq, styles); + var newStyles = $elm$core$List$isEmpty(styles) ? rendered.ga : _Utils_ap(rendered.ga, styles); if (!newStyles.b) { return $mdgriffith$elm_ui$Internal$Model$Unstyled( A5( $mdgriffith$elm_ui$Internal$Model$finalizeNode, - rendered.aM, - rendered.aO, - rendered.aE, + rendered.aw, + rendered.ay, + rendered.as, $mdgriffith$elm_ui$Internal$Model$Unkeyed( - A2($mdgriffith$elm_ui$Internal$Model$addChildren, unkeyed, rendered.aF)), + A2($mdgriffith$elm_ui$Internal$Model$addChildren, unkeyed, rendered.at)), $mdgriffith$elm_ui$Internal$Model$NoStyleSheet)); } else { var allStyles = newStyles; return $mdgriffith$elm_ui$Internal$Model$Styled( { - fq: A4( + fd: A4( $mdgriffith$elm_ui$Internal$Model$finalizeNode, - rendered.aM, - rendered.aO, - rendered.aE, + rendered.aw, + rendered.ay, + rendered.as, $mdgriffith$elm_ui$Internal$Model$Unkeyed( - A2($mdgriffith$elm_ui$Internal$Model$addChildren, unkeyed, rendered.aF))), - gq: allStyles + A2($mdgriffith$elm_ui$Internal$Model$addChildren, unkeyed, rendered.at))), + ga: allStyles }); } } @@ -12115,7 +12535,6 @@ function (a, b) { return {$: 0, a: a, b: b}; }); -var $elm$core$Bitwise$or = _Bitwise_or; var $mdgriffith$elm_ui$Internal$Flag$add = F2( function (myFlag, _v0) { var one = _v0.a; @@ -12152,37 +12571,37 @@ $elm$core$String$join, ' ', _List_fromArray( - [$mdgriffith$elm_ui$Internal$Style$classes.a3, $mdgriffith$elm_ui$Internal$Style$classes.ge, $mdgriffith$elm_ui$Internal$Style$classes.ei])); + [$mdgriffith$elm_ui$Internal$Style$classes.aO, $mdgriffith$elm_ui$Internal$Style$classes.f$, $mdgriffith$elm_ui$Internal$Style$classes.d5])); case 1: return A2( $elm$core$String$join, ' ', _List_fromArray( - [$mdgriffith$elm_ui$Internal$Style$classes.a3, $mdgriffith$elm_ui$Internal$Style$classes.ge, $mdgriffith$elm_ui$Internal$Style$classes.eB])); + [$mdgriffith$elm_ui$Internal$Style$classes.aO, $mdgriffith$elm_ui$Internal$Style$classes.f$, $mdgriffith$elm_ui$Internal$Style$classes.eo])); case 2: return A2( $elm$core$String$join, ' ', _List_fromArray( - [$mdgriffith$elm_ui$Internal$Style$classes.a3, $mdgriffith$elm_ui$Internal$Style$classes.ge, $mdgriffith$elm_ui$Internal$Style$classes.fS])); + [$mdgriffith$elm_ui$Internal$Style$classes.aO, $mdgriffith$elm_ui$Internal$Style$classes.f$, $mdgriffith$elm_ui$Internal$Style$classes.fD])); case 3: return A2( $elm$core$String$join, ' ', _List_fromArray( - [$mdgriffith$elm_ui$Internal$Style$classes.a3, $mdgriffith$elm_ui$Internal$Style$classes.ge, $mdgriffith$elm_ui$Internal$Style$classes.fR])); + [$mdgriffith$elm_ui$Internal$Style$classes.aO, $mdgriffith$elm_ui$Internal$Style$classes.f$, $mdgriffith$elm_ui$Internal$Style$classes.fC])); case 4: return A2( $elm$core$String$join, ' ', _List_fromArray( - [$mdgriffith$elm_ui$Internal$Style$classes.a3, $mdgriffith$elm_ui$Internal$Style$classes.ge, $mdgriffith$elm_ui$Internal$Style$classes.ft])); + [$mdgriffith$elm_ui$Internal$Style$classes.aO, $mdgriffith$elm_ui$Internal$Style$classes.f$, $mdgriffith$elm_ui$Internal$Style$classes.fg])); default: return A2( $elm$core$String$join, ' ', _List_fromArray( - [$mdgriffith$elm_ui$Internal$Style$classes.a3, $mdgriffith$elm_ui$Internal$Style$classes.ge, $mdgriffith$elm_ui$Internal$Style$classes.eA])); + [$mdgriffith$elm_ui$Internal$Style$classes.aO, $mdgriffith$elm_ui$Internal$Style$classes.f$, $mdgriffith$elm_ui$Internal$Style$classes.en])); } }()) ]), @@ -12200,7 +12619,7 @@ return html($mdgriffith$elm_ui$Internal$Model$asEl); default: var styled = elem.a; - return A2(styled.fq, $mdgriffith$elm_ui$Internal$Model$NoStyleSheet, $mdgriffith$elm_ui$Internal$Model$asEl); + return A2(styled.fd, $mdgriffith$elm_ui$Internal$Model$NoStyleSheet, $mdgriffith$elm_ui$Internal$Model$asEl); } }() ])); @@ -12283,21 +12702,21 @@ var $mdgriffith$elm_ui$Internal$Model$alignXName = function (align) { switch (align) { case 0: - return $mdgriffith$elm_ui$Internal$Style$classes.b0 + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.cY); + return $mdgriffith$elm_ui$Internal$Style$classes.bK + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.cI); case 2: - return $mdgriffith$elm_ui$Internal$Style$classes.b0 + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.cZ); + return $mdgriffith$elm_ui$Internal$Style$classes.bK + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.cJ); default: - return $mdgriffith$elm_ui$Internal$Style$classes.b0 + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.el); + return $mdgriffith$elm_ui$Internal$Style$classes.bK + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.d8); } }; var $mdgriffith$elm_ui$Internal$Model$alignYName = function (align) { switch (align) { case 0: - return $mdgriffith$elm_ui$Internal$Style$classes.b1 + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.er); + return $mdgriffith$elm_ui$Internal$Style$classes.bL + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.ee); case 2: - return $mdgriffith$elm_ui$Internal$Style$classes.b1 + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.ek); + return $mdgriffith$elm_ui$Internal$Style$classes.bL + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.d7); default: - return $mdgriffith$elm_ui$Internal$Style$classes.b1 + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.em); + return $mdgriffith$elm_ui$Internal$Style$classes.bL + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.d9); } }; var $elm$virtual_dom$VirtualDom$attribute = F2( @@ -12456,7 +12875,7 @@ var name = 'height-px-' + val; return _Utils_Tuple3( $mdgriffith$elm_ui$Internal$Flag$none, - $mdgriffith$elm_ui$Internal$Style$classes.dj + (' ' + name), + $mdgriffith$elm_ui$Internal$Style$classes.c3 + (' ' + name), _List_fromArray( [ A3($mdgriffith$elm_ui$Internal$Model$Single, name, 'height', val + 'px') @@ -12464,21 +12883,21 @@ case 1: return _Utils_Tuple3( A2($mdgriffith$elm_ui$Internal$Flag$add, $mdgriffith$elm_ui$Internal$Flag$heightContent, $mdgriffith$elm_ui$Internal$Flag$none), - $mdgriffith$elm_ui$Internal$Style$classes.ce, + $mdgriffith$elm_ui$Internal$Style$classes.b_, _List_Nil); case 2: var portion = h.a; return (portion === 1) ? _Utils_Tuple3( A2($mdgriffith$elm_ui$Internal$Flag$add, $mdgriffith$elm_ui$Internal$Flag$heightFill, $mdgriffith$elm_ui$Internal$Flag$none), - $mdgriffith$elm_ui$Internal$Style$classes.cf, + $mdgriffith$elm_ui$Internal$Style$classes.b$, _List_Nil) : _Utils_Tuple3( A2($mdgriffith$elm_ui$Internal$Flag$add, $mdgriffith$elm_ui$Internal$Flag$heightFill, $mdgriffith$elm_ui$Internal$Flag$none), - $mdgriffith$elm_ui$Internal$Style$classes.dk + (' height-fill-' + $elm$core$String$fromInt(portion)), + $mdgriffith$elm_ui$Internal$Style$classes.c4 + (' height-fill-' + $elm$core$String$fromInt(portion)), _List_fromArray( [ A3( $mdgriffith$elm_ui$Internal$Model$Single, - $mdgriffith$elm_ui$Internal$Style$classes.eu + ('.' + ($mdgriffith$elm_ui$Internal$Style$classes.as + (' > ' + $mdgriffith$elm_ui$Internal$Style$dot( + $mdgriffith$elm_ui$Internal$Style$classes.eh + ('.' + ($mdgriffith$elm_ui$Internal$Style$classes.ak + (' > ' + $mdgriffith$elm_ui$Internal$Style$dot( 'height-fill-' + $elm$core$String$fromInt(portion))))), 'flex-grow', $elm$core$String$fromInt(portion * 100000)) @@ -12526,7 +12945,7 @@ var px = w.a; return _Utils_Tuple3( $mdgriffith$elm_ui$Internal$Flag$none, - $mdgriffith$elm_ui$Internal$Style$classes.ed + (' width-px-' + $elm$core$String$fromInt(px)), + $mdgriffith$elm_ui$Internal$Style$classes.d0 + (' width-px-' + $elm$core$String$fromInt(px)), _List_fromArray( [ A3( @@ -12538,21 +12957,21 @@ case 1: return _Utils_Tuple3( A2($mdgriffith$elm_ui$Internal$Flag$add, $mdgriffith$elm_ui$Internal$Flag$widthContent, $mdgriffith$elm_ui$Internal$Flag$none), - $mdgriffith$elm_ui$Internal$Style$classes.cR, + $mdgriffith$elm_ui$Internal$Style$classes.cB, _List_Nil); case 2: var portion = w.a; return (portion === 1) ? _Utils_Tuple3( A2($mdgriffith$elm_ui$Internal$Flag$add, $mdgriffith$elm_ui$Internal$Flag$widthFill, $mdgriffith$elm_ui$Internal$Flag$none), - $mdgriffith$elm_ui$Internal$Style$classes.cS, + $mdgriffith$elm_ui$Internal$Style$classes.cC, _List_Nil) : _Utils_Tuple3( A2($mdgriffith$elm_ui$Internal$Flag$add, $mdgriffith$elm_ui$Internal$Flag$widthFill, $mdgriffith$elm_ui$Internal$Flag$none), - $mdgriffith$elm_ui$Internal$Style$classes.ee + (' width-fill-' + $elm$core$String$fromInt(portion)), + $mdgriffith$elm_ui$Internal$Style$classes.d1 + (' width-fill-' + $elm$core$String$fromInt(portion)), _List_fromArray( [ A3( $mdgriffith$elm_ui$Internal$Model$Single, - $mdgriffith$elm_ui$Internal$Style$classes.eu + ('.' + ($mdgriffith$elm_ui$Internal$Style$classes.dW + (' > ' + $mdgriffith$elm_ui$Internal$Style$dot( + $mdgriffith$elm_ui$Internal$Style$classes.eh + ('.' + ($mdgriffith$elm_ui$Internal$Style$classes.dH + (' > ' + $mdgriffith$elm_ui$Internal$Style$dot( 'width-fill-' + $elm$core$String$fromInt(portion))))), 'flex-grow', $elm$core$String$fromInt(portion * 100000)) @@ -12649,26 +13068,26 @@ var _v1 = $mdgriffith$elm_ui$Internal$Model$transformClass(transform); if (_v1.$ === 1) { return { - aE: A2( + as: A2( $elm$core$List$cons, $elm$html$Html$Attributes$class(classes), attrs), - aF: children, - aM: has, - aO: node, - gq: styles + at: children, + aw: has, + ay: node, + ga: styles }; } else { var _class = _v1.a; return { - aE: A2( + as: A2( $elm$core$List$cons, $elm$html$Html$Attributes$class(classes + (' ' + _class)), attrs), - aF: children, - aM: has, - aO: node, - gq: A2( + at: children, + aw: has, + ay: node, + ga: A2( $elm$core$List$cons, $mdgriffith$elm_ui$Internal$Model$Transform(transform), styles) @@ -12859,7 +13278,7 @@ switch (width.$) { case 0: var px = width.a; - var $temp$classes = ($mdgriffith$elm_ui$Internal$Style$classes.ed + (' width-px-' + $elm$core$String$fromInt(px))) + (' ' + classes), + var $temp$classes = ($mdgriffith$elm_ui$Internal$Style$classes.d0 + (' width-px-' + $elm$core$String$fromInt(px))) + (' ' + classes), $temp$node = node, $temp$has = A2($mdgriffith$elm_ui$Internal$Flag$add, $mdgriffith$elm_ui$Internal$Flag$width, has), $temp$transform = transform, @@ -12884,7 +13303,7 @@ elementAttrs = $temp$elementAttrs; continue gatherAttrRecursive; case 1: - var $temp$classes = classes + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.cR), + var $temp$classes = classes + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.cB), $temp$node = node, $temp$has = A2( $mdgriffith$elm_ui$Internal$Flag$add, @@ -12907,7 +13326,7 @@ case 2: var portion = width.a; if (portion === 1) { - var $temp$classes = classes + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.cS), + var $temp$classes = classes + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.cC), $temp$node = node, $temp$has = A2( $mdgriffith$elm_ui$Internal$Flag$add, @@ -12928,7 +13347,7 @@ elementAttrs = $temp$elementAttrs; continue gatherAttrRecursive; } else { - var $temp$classes = classes + (' ' + ($mdgriffith$elm_ui$Internal$Style$classes.ee + (' width-fill-' + $elm$core$String$fromInt(portion)))), + var $temp$classes = classes + (' ' + ($mdgriffith$elm_ui$Internal$Style$classes.d1 + (' width-fill-' + $elm$core$String$fromInt(portion)))), $temp$node = node, $temp$has = A2( $mdgriffith$elm_ui$Internal$Flag$add, @@ -12939,7 +13358,7 @@ $elm$core$List$cons, A3( $mdgriffith$elm_ui$Internal$Model$Single, - $mdgriffith$elm_ui$Internal$Style$classes.eu + ('.' + ($mdgriffith$elm_ui$Internal$Style$classes.dW + (' > ' + $mdgriffith$elm_ui$Internal$Style$dot( + $mdgriffith$elm_ui$Internal$Style$classes.eh + ('.' + ($mdgriffith$elm_ui$Internal$Style$classes.dH + (' > ' + $mdgriffith$elm_ui$Internal$Style$dot( 'width-fill-' + $elm$core$String$fromInt(portion))))), 'flex-grow', $elm$core$String$fromInt(portion * 100000)), @@ -13010,7 +13429,7 @@ var px = height.a; var val = $elm$core$String$fromInt(px) + 'px'; var name = 'height-px-' + val; - var $temp$classes = $mdgriffith$elm_ui$Internal$Style$classes.dj + (' ' + (name + (' ' + classes))), + var $temp$classes = $mdgriffith$elm_ui$Internal$Style$classes.c3 + (' ' + (name + (' ' + classes))), $temp$node = node, $temp$has = A2($mdgriffith$elm_ui$Internal$Flag$add, $mdgriffith$elm_ui$Internal$Flag$height, has), $temp$transform = transform, @@ -13031,7 +13450,7 @@ elementAttrs = $temp$elementAttrs; continue gatherAttrRecursive; case 1: - var $temp$classes = $mdgriffith$elm_ui$Internal$Style$classes.ce + (' ' + classes), + var $temp$classes = $mdgriffith$elm_ui$Internal$Style$classes.b_ + (' ' + classes), $temp$node = node, $temp$has = A2( $mdgriffith$elm_ui$Internal$Flag$add, @@ -13054,7 +13473,7 @@ case 2: var portion = height.a; if (portion === 1) { - var $temp$classes = $mdgriffith$elm_ui$Internal$Style$classes.cf + (' ' + classes), + var $temp$classes = $mdgriffith$elm_ui$Internal$Style$classes.b$ + (' ' + classes), $temp$node = node, $temp$has = A2( $mdgriffith$elm_ui$Internal$Flag$add, @@ -13075,7 +13494,7 @@ elementAttrs = $temp$elementAttrs; continue gatherAttrRecursive; } else { - var $temp$classes = classes + (' ' + ($mdgriffith$elm_ui$Internal$Style$classes.dk + (' height-fill-' + $elm$core$String$fromInt(portion)))), + var $temp$classes = classes + (' ' + ($mdgriffith$elm_ui$Internal$Style$classes.c4 + (' height-fill-' + $elm$core$String$fromInt(portion)))), $temp$node = node, $temp$has = A2( $mdgriffith$elm_ui$Internal$Flag$add, @@ -13086,7 +13505,7 @@ $elm$core$List$cons, A3( $mdgriffith$elm_ui$Internal$Model$Single, - $mdgriffith$elm_ui$Internal$Style$classes.eu + ('.' + ($mdgriffith$elm_ui$Internal$Style$classes.as + (' > ' + $mdgriffith$elm_ui$Internal$Style$dot( + $mdgriffith$elm_ui$Internal$Style$classes.eh + ('.' + ($mdgriffith$elm_ui$Internal$Style$classes.ak + (' > ' + $mdgriffith$elm_ui$Internal$Style$dot( 'height-fill-' + $elm$core$String$fromInt(portion))))), 'flex-grow', $elm$core$String$fromInt(portion * 100000)), @@ -13387,7 +13806,7 @@ return styles; default: var styled = elem.a; - return _Utils_ap(styles, styled.gq); + return _Utils_ap(styles, styled.ga); } }(); var $temp$classes = classes, @@ -13535,14 +13954,14 @@ return {$: 0, a: a, b: b, c: c, d: d}; }); var $mdgriffith$elm_ui$Internal$Model$focusDefaultStyle = { - ey: $elm$core$Maybe$Nothing, - eG: $elm$core$Maybe$Nothing, - gd: $elm$core$Maybe$Just( + el: $elm$core$Maybe$Nothing, + et: $elm$core$Maybe$Nothing, + f_: $elm$core$Maybe$Just( { - eD: 0, - eS: A4($mdgriffith$elm_ui$Internal$Model$Rgba, 155 / 255, 203 / 255, 1, 1), - fQ: _Utils_Tuple2(0, 0), - gf: 3 + eq: 0, + eF: A4($mdgriffith$elm_ui$Internal$Model$Rgba, 155 / 255, 203 / 255, 1, 1), + fB: _Utils_Tuple2(0, 0), + f0: 3 }) }; var $mdgriffith$elm_ui$Internal$Model$optionsToRecord = function (options) { @@ -13551,36 +13970,36 @@ switch (opt.$) { case 0: var hoverable = opt.a; - var _v4 = record.fp; + var _v4 = record.fc; if (_v4.$ === 1) { return _Utils_update( record, { - fp: $elm$core$Maybe$Just(hoverable) + fc: $elm$core$Maybe$Just(hoverable) }); } else { return record; } case 1: var focusStyle = opt.a; - var _v5 = record.fh; + var _v5 = record.e4; if (_v5.$ === 1) { return _Utils_update( record, { - fh: $elm$core$Maybe$Just(focusStyle) + e4: $elm$core$Maybe$Just(focusStyle) }); } else { return record; } default: var renderMode = opt.a; - var _v6 = record.fM; + var _v6 = record.fx; if (_v6.$ === 1) { return _Utils_update( record, { - fM: $elm$core$Maybe$Just(renderMode) + fx: $elm$core$Maybe$Just(renderMode) }); } else { return record; @@ -13589,8 +14008,8 @@ }); var andFinally = function (record) { return { - fh: function () { - var _v0 = record.fh; + e4: function () { + var _v0 = record.e4; if (_v0.$ === 1) { return $mdgriffith$elm_ui$Internal$Model$focusDefaultStyle; } else { @@ -13598,8 +14017,8 @@ return focusable; } }(), - fp: function () { - var _v1 = record.fp; + fc: function () { + var _v1 = record.fc; if (_v1.$ === 1) { return 1; } else { @@ -13607,8 +14026,8 @@ return hoverable; } }(), - fM: function () { - var _v2 = record.fM; + fx: function () { + var _v2 = record.fx; if (_v2.$ === 1) { return 0; } else { @@ -13622,7 +14041,7 @@ A3( $elm$core$List$foldr, combine, - {fh: $elm$core$Maybe$Nothing, fp: $elm$core$Maybe$Nothing, fM: $elm$core$Maybe$Nothing}, + {e4: $elm$core$Maybe$Nothing, fc: $elm$core$Maybe$Nothing, fx: $elm$core$Maybe$Nothing}, options)); }; var $mdgriffith$elm_ui$Internal$Model$toHtml = F2( @@ -13632,8 +14051,8 @@ var html = el.a; return html($mdgriffith$elm_ui$Internal$Model$asEl); case 1: - var styles = el.a.gq; - var html = el.a.fq; + var styles = el.a.ga; + var html = el.a.fd; return A2( html, mode(styles), @@ -13649,7 +14068,7 @@ function (optionList, attributes, child) { var options = $mdgriffith$elm_ui$Internal$Model$optionsToRecord(optionList); var embedStyle = function () { - var _v0 = options.fM; + var _v0 = options.fx; if (_v0 === 1) { return $mdgriffith$elm_ui$Internal$Model$OnlyDynamic(options); } else { @@ -13726,7 +14145,7 @@ $elm$core$String$words( $elm$core$String$toLower(name))); default: - var name = font.a.a2; + var name = font.a.aN; return A2( $elm$core$String$join, '-', @@ -13778,7 +14197,7 @@ }(); var $mdgriffith$elm_ui$Element$layoutWith = F3( function (_v0, attrs, child) { - var options = _v0.dD; + var options = _v0.$7; return A3( $mdgriffith$elm_ui$Internal$Model$renderRoot, options, @@ -13789,12 +14208,12 @@ $elm$core$String$join, ' ', _List_fromArray( - [$mdgriffith$elm_ui$Internal$Style$classes.f4, $mdgriffith$elm_ui$Internal$Style$classes.eu, $mdgriffith$elm_ui$Internal$Style$classes.ge]))), + [$mdgriffith$elm_ui$Internal$Style$classes.fR, $mdgriffith$elm_ui$Internal$Style$classes.eh, $mdgriffith$elm_ui$Internal$Style$classes.f$]))), _Utils_ap($mdgriffith$elm_ui$Internal$Model$rootStyle, attrs)), child); }); var $mdgriffith$elm_ui$Element$layout = $mdgriffith$elm_ui$Element$layoutWith( - {dD: _List_Nil}); + {$7: _List_Nil}); var $mdgriffith$elm_ui$Internal$Model$Empty = {$: 3}; var $mdgriffith$elm_ui$Element$none = $mdgriffith$elm_ui$Internal$Model$Empty; var $mdgriffith$elm_ui$Internal$Model$Describe = function (a) { @@ -13851,9 +14270,9 @@ var $author$project$Main$CalculateModalAgsUpdated = function (a) { return {$: 1, a: a}; }; -var $author$project$Main$CalculateModalOkClicked = F2( - function (a, b) { - return {$: 14, a: a, b: b}; +var $author$project$Main$CalculateModalOkClicked = F3( + function (a, b, c) { + return {$: 14, a: a, b: b, c: c}; }); var $author$project$Main$CalculateModalTargetYearUpdated = function (a) { return {$: 0, a: a}; @@ -13863,7 +14282,7 @@ return {$: 3, a: a, b: b}; }); var $mdgriffith$elm_ui$Internal$Flag$fontAlignment = $mdgriffith$elm_ui$Internal$Flag$flag(12); -var $mdgriffith$elm_ui$Element$Font$alignRight = A2($mdgriffith$elm_ui$Internal$Model$Class, $mdgriffith$elm_ui$Internal$Flag$fontAlignment, $mdgriffith$elm_ui$Internal$Style$classes.gB); +var $mdgriffith$elm_ui$Element$Font$alignRight = A2($mdgriffith$elm_ui$Internal$Model$Class, $mdgriffith$elm_ui$Internal$Flag$fontAlignment, $mdgriffith$elm_ui$Internal$Style$classes.gl); var $mdgriffith$elm_ui$Internal$Model$Behind = 5; var $mdgriffith$elm_ui$Element$behindContent = function (element) { return A2($mdgriffith$elm_ui$Element$createNearby, 5, element); @@ -13876,17 +14295,17 @@ var $feathericons$elm_feather$FeatherIcons$Icon = $elm$core$Basics$identity; var $feathericons$elm_feather$FeatherIcons$defaultAttributes = function (name) { return { - bx: $elm$core$Maybe$Just('feather feather-' + name), - gf: 24, - bj: '', - bT: 2, - b_: '0 0 24 24' + bh: $elm$core$Maybe$Just('feather feather-' + name), + f0: 24, + a1: '', + bD: 2, + bI: '0 0 24 24' }; }; var $feathericons$elm_feather$FeatherIcons$makeBuilder = F2( function (name, src) { return { - E: $feathericons$elm_feather$FeatherIcons$defaultAttributes(name), + D: $feathericons$elm_feather$FeatherIcons$defaultAttributes(name), a: src }; }); @@ -13928,7 +14347,7 @@ $mdgriffith$elm_ui$Internal$Model$div, A2( $elm$core$List$cons, - $mdgriffith$elm_ui$Internal$Model$htmlClass($mdgriffith$elm_ui$Internal$Style$classes.eV + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.be)), + $mdgriffith$elm_ui$Internal$Model$htmlClass($mdgriffith$elm_ui$Internal$Style$classes.eI + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.aY)), A2( $elm$core$List$cons, $mdgriffith$elm_ui$Element$height($mdgriffith$elm_ui$Element$shrink), @@ -14051,14 +14470,14 @@ var styled = el.a; return $mdgriffith$elm_ui$Internal$Model$Styled( { - fq: F2( + fd: F2( function (add, context) { return A2( $elm$virtual_dom$VirtualDom$map, fn, - A2(styled.fq, add, context)); + A2(styled.fd, add, context)); }), - gq: styled.gq + ga: styled.ga }); case 0: var html = el.a; @@ -14268,7 +14687,7 @@ isKey))); }; var $mdgriffith$elm_ui$Internal$Flag$cursor = $mdgriffith$elm_ui$Internal$Flag$flag(21); -var $mdgriffith$elm_ui$Element$pointer = A2($mdgriffith$elm_ui$Internal$Model$Class, $mdgriffith$elm_ui$Internal$Flag$cursor, $mdgriffith$elm_ui$Internal$Style$classes.eX); +var $mdgriffith$elm_ui$Element$pointer = A2($mdgriffith$elm_ui$Internal$Model$Class, $mdgriffith$elm_ui$Internal$Flag$cursor, $mdgriffith$elm_ui$Internal$Style$classes.eK); var $mdgriffith$elm_ui$Element$Input$space = ' '; var $elm$html$Html$Attributes$tabindex = function (n) { return A2( @@ -14278,8 +14697,8 @@ }; var $mdgriffith$elm_ui$Element$Input$button = F2( function (attrs, _v0) { - var onPress = _v0.bO; - var label = _v0.a1; + var onPress = _v0.a$; + var label = _v0.aM; return A4( $mdgriffith$elm_ui$Internal$Model$element, $mdgriffith$elm_ui$Internal$Model$asEl, @@ -14292,7 +14711,7 @@ $mdgriffith$elm_ui$Element$height($mdgriffith$elm_ui$Element$shrink), A2( $elm$core$List$cons, - $mdgriffith$elm_ui$Internal$Model$htmlClass($mdgriffith$elm_ui$Internal$Style$classes.bB + (' ' + ($mdgriffith$elm_ui$Internal$Style$classes.at + (' ' + ($mdgriffith$elm_ui$Internal$Style$classes.gb + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.dB)))))), + $mdgriffith$elm_ui$Internal$Model$htmlClass($mdgriffith$elm_ui$Internal$Style$classes.bl + (' ' + ($mdgriffith$elm_ui$Internal$Style$classes.al + (' ' + ($mdgriffith$elm_ui$Internal$Style$classes.fY + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.dm)))))), A2( $elm$core$List$cons, $mdgriffith$elm_ui$Element$pointer, @@ -14347,25 +14766,25 @@ var $feathericons$elm_feather$FeatherIcons$toHtml = F2( function (attributes, _v0) { var src = _v0.a; - var attrs = _v0.E; - var strSize = $elm$core$String$fromFloat(attrs.gf); + var attrs = _v0.D; + var strSize = $elm$core$String$fromFloat(attrs.f0); var baseAttributes = _List_fromArray( [ $elm$svg$Svg$Attributes$fill('none'), $elm$svg$Svg$Attributes$height( - _Utils_ap(strSize, attrs.bj)), + _Utils_ap(strSize, attrs.a1)), $elm$svg$Svg$Attributes$width( - _Utils_ap(strSize, attrs.bj)), + _Utils_ap(strSize, attrs.a1)), $elm$svg$Svg$Attributes$stroke('currentColor'), $elm$svg$Svg$Attributes$strokeLinecap('round'), $elm$svg$Svg$Attributes$strokeLinejoin('round'), $elm$svg$Svg$Attributes$strokeWidth( - $elm$core$String$fromFloat(attrs.bT)), - $elm$svg$Svg$Attributes$viewBox(attrs.b_) + $elm$core$String$fromFloat(attrs.bD)), + $elm$svg$Svg$Attributes$viewBox(attrs.bI) ]); var combinedAttributes = _Utils_ap( function () { - var _v1 = attrs.bx; + var _v1 = attrs.bh; if (!_v1.$) { var c = _v1.a; return A2( @@ -14395,8 +14814,8 @@ $mdgriffith$elm_ui$Element$Input$button, style, { - a1: $author$project$Styling$icon(i), - bO: $elm$core$Maybe$Just(onPress) + aM: $author$project$Styling$icon(i), + a$: $elm$core$Maybe$Just(onPress) }); }); var $author$project$Styling$iconButton = F2( @@ -14419,17 +14838,17 @@ }); var $feathericons$elm_feather$FeatherIcons$withSize = F2( function (size, _v0) { - var attrs = _v0.E; + var attrs = _v0.D; var src = _v0.a; return { - E: _Utils_update( + D: _Utils_update( attrs, - {gf: size}), + {f0: size}), a: src }; }); var $author$project$Styling$size32 = $feathericons$elm_feather$FeatherIcons$withSize(32); -var $author$project$Styling$sizes = {S: 12, M: 8, d$: 4}; +var $author$project$Styling$sizes = {P: 12, z: 8, cn: 4}; var $mdgriffith$elm_ui$Internal$Flag$active = $mdgriffith$elm_ui$Internal$Flag$flag(32); var $mdgriffith$elm_ui$Internal$Model$LivePolite = {$: 6}; var $mdgriffith$elm_ui$Element$Region$announce = $mdgriffith$elm_ui$Internal$Model$Describe($mdgriffith$elm_ui$Internal$Model$LivePolite); @@ -14467,7 +14886,7 @@ $mdgriffith$elm_ui$Internal$Model$NodeName('label'), A2( $elm$core$List$cons, - $mdgriffith$elm_ui$Internal$Model$htmlClass($mdgriffith$elm_ui$Internal$Style$classes.bK), + $mdgriffith$elm_ui$Internal$Model$htmlClass($mdgriffith$elm_ui$Internal$Style$classes.bu), attrs), $mdgriffith$elm_ui$Internal$Model$Unkeyed( _List_fromArray( @@ -14479,7 +14898,7 @@ $mdgriffith$elm_ui$Internal$Model$NodeName('label'), A2( $elm$core$List$cons, - $mdgriffith$elm_ui$Internal$Model$htmlClass($mdgriffith$elm_ui$Internal$Style$classes.bK), + $mdgriffith$elm_ui$Internal$Model$htmlClass($mdgriffith$elm_ui$Internal$Style$classes.bu), attrs), $mdgriffith$elm_ui$Internal$Model$Unkeyed( _List_fromArray( @@ -14491,7 +14910,7 @@ $mdgriffith$elm_ui$Internal$Model$NodeName('label'), A2( $elm$core$List$cons, - $mdgriffith$elm_ui$Internal$Model$htmlClass($mdgriffith$elm_ui$Internal$Style$classes.bK), + $mdgriffith$elm_ui$Internal$Model$htmlClass($mdgriffith$elm_ui$Internal$Style$classes.bu), attrs), $mdgriffith$elm_ui$Internal$Model$Unkeyed( _List_fromArray( @@ -14503,7 +14922,7 @@ $mdgriffith$elm_ui$Internal$Model$NodeName('label'), A2( $elm$core$List$cons, - $mdgriffith$elm_ui$Internal$Model$htmlClass($mdgriffith$elm_ui$Internal$Style$classes.bK), + $mdgriffith$elm_ui$Internal$Model$htmlClass($mdgriffith$elm_ui$Internal$Style$classes.bu), attrs), $mdgriffith$elm_ui$Internal$Model$Unkeyed( _List_fromArray( @@ -14639,7 +15058,7 @@ $mdgriffith$elm_ui$Internal$Model$div, A2( $elm$core$List$cons, - $mdgriffith$elm_ui$Internal$Model$htmlClass($mdgriffith$elm_ui$Internal$Style$classes.be + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.at)), + $mdgriffith$elm_ui$Internal$Model$htmlClass($mdgriffith$elm_ui$Internal$Style$classes.aY + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.al)), A2( $elm$core$List$cons, $mdgriffith$elm_ui$Element$width($mdgriffith$elm_ui$Element$shrink), @@ -14665,9 +15084,6 @@ }; var $elm$html$Html$Attributes$type_ = $elm$html$Html$Attributes$stringProperty('type'); var $elm$html$Html$Attributes$value = $elm$html$Html$Attributes$stringProperty('value'); -var $elm$core$Basics$abs = function (n) { - return (n < 0) ? (-n) : n; -}; var $mdgriffith$elm_ui$Element$fillPortion = $mdgriffith$elm_ui$Internal$Model$Fill; var $mdgriffith$elm_ui$Internal$Model$mapAttr = F2( function (fn, attr) { @@ -14839,8 +15255,8 @@ } return false; }(); - var factor = (input.bX - input.fL) / (input.cp - input.fL); - var _v0 = input.gG; + var factor = (input.a8 - input.di) / (input.bw - input.di); + var _v0 = input.dQ; var thumbAttributes = _v0; var height = $mdgriffith$elm_ui$Internal$Model$getHeight(thumbAttributes); var thumbHeightString = function () { @@ -14884,7 +15300,7 @@ $mdgriffith$elm_ui$Element$Input$applyLabel, _List_fromArray( [ - $mdgriffith$elm_ui$Element$Input$isHiddenLabel(input.a1) ? $mdgriffith$elm_ui$Internal$Model$NoAttribute : A2($mdgriffith$elm_ui$Element$spacingXY, spacingX, spacingY), + $mdgriffith$elm_ui$Element$Input$isHiddenLabel(input.aM) ? $mdgriffith$elm_ui$Internal$Model$NoAttribute : A2($mdgriffith$elm_ui$Element$spacingXY, spacingX, spacingY), $mdgriffith$elm_ui$Element$Region$announce, $mdgriffith$elm_ui$Element$width( function () { @@ -14913,7 +15329,7 @@ } }()) ]), - input.a1, + input.aM, A2( $mdgriffith$elm_ui$Element$row, _List_fromArray( @@ -14934,7 +15350,7 @@ $mdgriffith$elm_ui$Internal$Model$NodeName('input'), _List_fromArray( [ - $mdgriffith$elm_ui$Element$Input$hiddenLabelAttribute(input.a1), + $mdgriffith$elm_ui$Element$Input$hiddenLabelAttribute(input.aM), A2( $mdgriffith$elm_ui$Internal$Model$StyleClass, $mdgriffith$elm_ui$Internal$Flag$active, @@ -14954,10 +15370,10 @@ function (str) { var _v4 = $elm$core$String$toFloat(str); if (_v4.$ === 1) { - return input.bh(0); + return input.aP(0); } else { var val = _v4.a; - return input.bh(val); + return input.aP(val); } })), $mdgriffith$elm_ui$Internal$Model$Attr( @@ -14965,7 +15381,7 @@ $mdgriffith$elm_ui$Internal$Model$Attr( $elm$html$Html$Attributes$step( function () { - var _v5 = input.gn; + var _v5 = input.dN; if (_v5.$ === 1) { return 'any'; } else { @@ -14975,13 +15391,13 @@ }())), $mdgriffith$elm_ui$Internal$Model$Attr( $elm$html$Html$Attributes$min( - $elm$core$String$fromFloat(input.fL))), + $elm$core$String$fromFloat(input.di))), $mdgriffith$elm_ui$Internal$Model$Attr( $elm$html$Html$Attributes$max( - $elm$core$String$fromFloat(input.cp))), + $elm$core$String$fromFloat(input.bw))), $mdgriffith$elm_ui$Internal$Model$Attr( $elm$html$Html$Attributes$value( - $elm$core$String$fromFloat(input.bX))), + $elm$core$String$fromFloat(input.a8))), vertical ? $mdgriffith$elm_ui$Internal$Model$Attr( A2($elm$html$Html$Attributes$attribute, 'orient', 'vertical')) : $mdgriffith$elm_ui$Internal$Model$NoAttribute, $mdgriffith$elm_ui$Element$width( @@ -15077,7 +15493,7 @@ } }; var $mdgriffith$elm_ui$Internal$Flag$overflow = $mdgriffith$elm_ui$Internal$Flag$flag(20); -var $mdgriffith$elm_ui$Element$clip = A2($mdgriffith$elm_ui$Internal$Model$Class, $mdgriffith$elm_ui$Internal$Flag$overflow, $mdgriffith$elm_ui$Internal$Style$classes.eP); +var $mdgriffith$elm_ui$Element$clip = A2($mdgriffith$elm_ui$Internal$Model$Class, $mdgriffith$elm_ui$Internal$Flag$overflow, $mdgriffith$elm_ui$Internal$Style$classes.eC); var $mdgriffith$elm_ui$Element$Input$darkGrey = A3($mdgriffith$elm_ui$Element$rgb, 186 / 255, 189 / 255, 182 / 255); var $mdgriffith$elm_ui$Internal$Model$PaddingStyle = F5( function (a, b, c, d, e) { @@ -15173,17 +15589,17 @@ } }; var $mdgriffith$elm_ui$Element$Input$negateBox = function (box) { - return {c0: -box.c0, dv: -box.dv, dV: -box.dV, d3: -box.d3}; + return {cM: -box.cM, df: -box.df, dG: -box.dG, dR: -box.dR}; }; var $mdgriffith$elm_ui$Internal$Model$paddingName = F4( function (top, right, bottom, left) { return 'pad-' + ($elm$core$String$fromInt(top) + ('-' + ($elm$core$String$fromInt(right) + ('-' + ($elm$core$String$fromInt(bottom) + ('-' + $elm$core$String$fromInt(left))))))); }); var $mdgriffith$elm_ui$Element$paddingEach = function (_v0) { - var top = _v0.d3; - var right = _v0.dV; - var bottom = _v0.c0; - var left = _v0.dv; + var top = _v0.dR; + var right = _v0.dG; + var bottom = _v0.cM; + var left = _v0.df; if (_Utils_eq(top, right) && (_Utils_eq(top, bottom) && _Utils_eq(top, left))) { var topFloat = top; return A2( @@ -15277,7 +15693,7 @@ els, { f: A2($elm$core$List$cons, attr, els.f), - v: A2($elm$core$List$cons, attr, els.v), + t: A2($elm$core$List$cons, attr, els.t), b: A2($elm$core$List$cons, attr, els.b) }) : (stacked ? _Utils_update( els, @@ -15329,9 +15745,9 @@ els, { f: A2($elm$core$List$cons, attr, els.f), - v: A2($elm$core$List$cons, attr, els.v), + t: A2($elm$core$List$cons, attr, els.t), b: A2($elm$core$List$cons, attr, els.b), - ba: A2($elm$core$List$cons, attr, els.ba) + aV: A2($elm$core$List$cons, attr, els.aV) }); case 7: var cls = attr.a; @@ -15345,7 +15761,7 @@ return _Utils_update( els, { - I: A2($elm$core$List$cons, attr, els.I), + H: A2($elm$core$List$cons, attr, els.H), b: A2($elm$core$List$cons, attr, els.b) }); } else { @@ -15376,11 +15792,11 @@ return _Utils_update( els, { - I: A2($elm$core$List$cons, attr, els.I), - v: A2( + H: A2($elm$core$List$cons, attr, els.H), + t: A2( $elm$core$List$cons, newHeight, - A2($elm$core$List$cons, newLineHeight, els.v)), + A2($elm$core$List$cons, newLineHeight, els.t)), b: A2($elm$core$List$cons, reducedVerticalPadding, els.b) }); } @@ -15389,14 +15805,14 @@ return _Utils_update( els, { - I: A2($elm$core$List$cons, attr, els.I), + H: A2($elm$core$List$cons, attr, els.H), b: A2($elm$core$List$cons, attr, els.b) }); case 10: return _Utils_update( els, { - I: A2($elm$core$List$cons, attr, els.I), + H: A2($elm$core$List$cons, attr, els.H), b: A2($elm$core$List$cons, attr, els.b) }); case 2: @@ -15428,13 +15844,13 @@ return _Utils_update( els, { - v: A2($elm$core$List$cons, attr, els.v) + t: A2($elm$core$List$cons, attr, els.t) }); case 2: return _Utils_update( els, { - v: A2($elm$core$List$cons, attr, els.v) + t: A2($elm$core$List$cons, attr, els.t) }); case 3: return _Utils_update( @@ -15446,7 +15862,7 @@ return _Utils_update( els, { - v: A2($elm$core$List$cons, attr, els.v) + t: A2($elm$core$List$cons, attr, els.t) }); } }); @@ -15454,24 +15870,24 @@ function (isMultiline, stacked, attrs) { return function (redist) { return { - I: $elm$core$List$reverse(redist.I), + H: $elm$core$List$reverse(redist.H), f: $elm$core$List$reverse(redist.f), - v: $elm$core$List$reverse(redist.v), + t: $elm$core$List$reverse(redist.t), b: $elm$core$List$reverse(redist.b), - ba: $elm$core$List$reverse(redist.ba) + aV: $elm$core$List$reverse(redist.aV) }; }( A3( $elm$core$List$foldl, A2($mdgriffith$elm_ui$Element$Input$redistributeOver, isMultiline, stacked), - {I: _List_Nil, f: _List_Nil, v: _List_Nil, b: _List_Nil, ba: _List_Nil}, + {H: _List_Nil, f: _List_Nil, t: _List_Nil, b: _List_Nil, aV: _List_Nil}, attrs)); }); var $mdgriffith$elm_ui$Element$Input$renderBox = function (_v0) { - var top = _v0.d3; - var right = _v0.dV; - var bottom = _v0.c0; - var left = _v0.dv; + var top = _v0.dR; + var right = _v0.dG; + var bottom = _v0.cM; + var left = _v0.df; return $elm$core$String$fromInt(top) + ('px ' + ($elm$core$String$fromInt(right) + ('px ' + ($elm$core$String$fromInt(bottom) + ('px ' + ($elm$core$String$fromInt(left) + 'px')))))); }; var $mdgriffith$elm_ui$Internal$Model$Transparency = F2( @@ -15509,7 +15925,7 @@ _List_fromArray( [ $mdgriffith$elm_ui$Element$Font$color($mdgriffith$elm_ui$Element$Input$charcoal), - $mdgriffith$elm_ui$Internal$Model$htmlClass($mdgriffith$elm_ui$Internal$Style$classes.dB + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.fY)), + $mdgriffith$elm_ui$Internal$Model$htmlClass($mdgriffith$elm_ui$Internal$Style$classes.dm + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.fJ)), $mdgriffith$elm_ui$Element$clip, $mdgriffith$elm_ui$Element$Border$color( A4($mdgriffith$elm_ui$Element$rgba, 0, 0, 0, 0)), @@ -15523,7 +15939,7 @@ placeholderAttrs)), placeholderEl); }); -var $mdgriffith$elm_ui$Element$scrollbarY = A2($mdgriffith$elm_ui$Internal$Model$Class, $mdgriffith$elm_ui$Internal$Flag$overflow, $mdgriffith$elm_ui$Internal$Style$classes.ga); +var $mdgriffith$elm_ui$Element$scrollbarY = A2($mdgriffith$elm_ui$Internal$Model$Class, $mdgriffith$elm_ui$Internal$Flag$overflow, $mdgriffith$elm_ui$Internal$Style$classes.fX); var $elm$html$Html$span = _VirtualDom_node('span'); var $elm$html$Html$Attributes$spellcheck = $elm$html$Html$Attributes$boolProperty('spellcheck'); var $mdgriffith$elm_ui$Element$Input$spellcheck = A2($elm$core$Basics$composeL, $mdgriffith$elm_ui$Internal$Model$Attr, $elm$html$Html$Attributes$spellcheck); @@ -15533,8 +15949,8 @@ var withDefaults = _Utils_ap($mdgriffith$elm_ui$Element$Input$defaultTextBoxStyle, attrs); var redistributed = A3( $mdgriffith$elm_ui$Element$Input$redistribute, - _Utils_eq(textInput.D, $mdgriffith$elm_ui$Element$Input$TextArea), - $mdgriffith$elm_ui$Element$Input$isStacked(textOptions.a1), + _Utils_eq(textInput.C, $mdgriffith$elm_ui$Element$Input$TextArea), + $mdgriffith$elm_ui$Element$Input$isStacked(textOptions.aM), withDefaults); var onlySpacing = function (attr) { if ((attr.$ === 4) && (attr.b.$ === 5)) { @@ -15545,7 +15961,7 @@ } }; var heightConstrained = function () { - var _v7 = textInput.D; + var _v7 = textInput.C; if (!_v7.$) { var inputType = _v7.a; return false; @@ -15572,19 +15988,19 @@ var l = _v6.e; return $elm$core$Maybe$Just( { - c0: A2( + cM: A2( $elm$core$Basics$max, 0, $elm$core$Basics$floor(b - 3)), - dv: A2( + df: A2( $elm$core$Basics$max, 0, $elm$core$Basics$floor(l - 3)), - dV: A2( + dG: A2( $elm$core$Basics$max, 0, $elm$core$Basics$floor(r - 3)), - d3: A2( + dR: A2( $elm$core$Basics$max, 0, $elm$core$Basics$floor(t - 3)) @@ -15595,7 +16011,7 @@ }; var parentPadding = A2( $elm$core$Maybe$withDefault, - {c0: 0, dv: 0, dV: 0, d3: 0}, + {cM: 0, df: 0, dG: 0, dR: 0}, $elm$core$List$head( $elm$core$List$reverse( A2($elm$core$List$filterMap, getPadding, withDefaults)))); @@ -15603,7 +16019,7 @@ $mdgriffith$elm_ui$Internal$Model$element, $mdgriffith$elm_ui$Internal$Model$asEl, function () { - var _v3 = textInput.D; + var _v3 = textInput.C; if (!_v3.$) { var inputType = _v3.a; return $mdgriffith$elm_ui$Internal$Model$NodeName('input'); @@ -15613,21 +16029,21 @@ }(), _Utils_ap( function () { - var _v4 = textInput.D; + var _v4 = textInput.C; if (!_v4.$) { var inputType = _v4.a; return _List_fromArray( [ $mdgriffith$elm_ui$Internal$Model$Attr( $elm$html$Html$Attributes$type_(inputType)), - $mdgriffith$elm_ui$Internal$Model$htmlClass($mdgriffith$elm_ui$Internal$Style$classes.fA) + $mdgriffith$elm_ui$Internal$Model$htmlClass($mdgriffith$elm_ui$Internal$Style$classes.fn) ]); } else { return _List_fromArray( [ $mdgriffith$elm_ui$Element$clip, $mdgriffith$elm_ui$Element$height($mdgriffith$elm_ui$Element$fill), - $mdgriffith$elm_ui$Internal$Model$htmlClass($mdgriffith$elm_ui$Internal$Style$classes.fw), + $mdgriffith$elm_ui$Internal$Model$htmlClass($mdgriffith$elm_ui$Internal$Style$classes.fj), $mdgriffith$elm_ui$Element$Input$calcMoveToCompensateForPadding(withDefaults), $mdgriffith$elm_ui$Element$paddingEach(parentPadding), $mdgriffith$elm_ui$Internal$Model$Attr( @@ -15644,20 +16060,20 @@ _Utils_ap( _List_fromArray( [ - $mdgriffith$elm_ui$Element$Input$value(textOptions.bU), + $mdgriffith$elm_ui$Element$Input$value(textOptions.bE), $mdgriffith$elm_ui$Internal$Model$Attr( - $elm$html$Html$Events$onInput(textOptions.bh)), - $mdgriffith$elm_ui$Element$Input$hiddenLabelAttribute(textOptions.a1), - $mdgriffith$elm_ui$Element$Input$spellcheck(textInput.ai), + $elm$html$Html$Events$onInput(textOptions.aP)), + $mdgriffith$elm_ui$Element$Input$hiddenLabelAttribute(textOptions.aM), + $mdgriffith$elm_ui$Element$Input$spellcheck(textInput.ad), A2( $elm$core$Maybe$withDefault, $mdgriffith$elm_ui$Internal$Model$NoAttribute, - A2($elm$core$Maybe$map, $mdgriffith$elm_ui$Element$Input$autofill, textInput.W)) + A2($elm$core$Maybe$map, $mdgriffith$elm_ui$Element$Input$autofill, textInput.S)) ]), - redistributed.v)), + redistributed.t)), $mdgriffith$elm_ui$Internal$Model$Unkeyed(_List_Nil)); var wrappedInput = function () { - var _v0 = textInput.D; + var _v0 = textInput.C; if (_v0.$ === 1) { return A4( $mdgriffith$elm_ui$Internal$Model$element, @@ -15668,8 +16084,8 @@ _List_fromArray( [ $mdgriffith$elm_ui$Element$width($mdgriffith$elm_ui$Element$fill), - A2($elm$core$List$any, $mdgriffith$elm_ui$Element$Input$hasFocusStyle, withDefaults) ? $mdgriffith$elm_ui$Internal$Model$NoAttribute : $mdgriffith$elm_ui$Internal$Model$htmlClass($mdgriffith$elm_ui$Internal$Style$classes.dc), - $mdgriffith$elm_ui$Internal$Model$htmlClass($mdgriffith$elm_ui$Internal$Style$classes.fz) + A2($elm$core$List$any, $mdgriffith$elm_ui$Element$Input$hasFocusStyle, withDefaults) ? $mdgriffith$elm_ui$Internal$Model$NoAttribute : $mdgriffith$elm_ui$Internal$Model$htmlClass($mdgriffith$elm_ui$Internal$Style$classes.cY), + $mdgriffith$elm_ui$Internal$Model$htmlClass($mdgriffith$elm_ui$Internal$Style$classes.fm) ])), redistributed.b), $mdgriffith$elm_ui$Internal$Model$Unkeyed( @@ -15690,12 +16106,12 @@ $mdgriffith$elm_ui$Element$inFront(inputElement), A2( $elm$core$List$cons, - $mdgriffith$elm_ui$Internal$Model$htmlClass($mdgriffith$elm_ui$Internal$Style$classes.fy), - redistributed.ba)))), + $mdgriffith$elm_ui$Internal$Model$htmlClass($mdgriffith$elm_ui$Internal$Style$classes.fl), + redistributed.aV)))), $mdgriffith$elm_ui$Internal$Model$Unkeyed( function () { - if (textOptions.bU === '') { - var _v1 = textOptions.bP; + if (textOptions.bE === '') { + var _v1 = textOptions.bz; if (_v1.$ === 1) { return _List_fromArray( [ @@ -15705,7 +16121,7 @@ var place = _v1.a; return _List_fromArray( [ - A3($mdgriffith$elm_ui$Element$Input$renderPlaceholder, place, _List_Nil, textOptions.bU === '') + A3($mdgriffith$elm_ui$Element$Input$renderPlaceholder, place, _List_Nil, textOptions.bE === '') ]); } } else { @@ -15716,11 +16132,11 @@ $elm$html$Html$span, _List_fromArray( [ - $elm$html$Html$Attributes$class($mdgriffith$elm_ui$Internal$Style$classes.fx) + $elm$html$Html$Attributes$class($mdgriffith$elm_ui$Internal$Style$classes.fk) ]), _List_fromArray( [ - $elm$html$Html$text(textOptions.bU + '\u00A0') + $elm$html$Html$text(textOptions.bE + '\u00A0') ]))) ]); } @@ -15737,13 +16153,13 @@ $mdgriffith$elm_ui$Element$width($mdgriffith$elm_ui$Element$fill), A2( $elm$core$List$cons, - A2($elm$core$List$any, $mdgriffith$elm_ui$Element$Input$hasFocusStyle, withDefaults) ? $mdgriffith$elm_ui$Internal$Model$NoAttribute : $mdgriffith$elm_ui$Internal$Model$htmlClass($mdgriffith$elm_ui$Internal$Style$classes.dc), + A2($elm$core$List$any, $mdgriffith$elm_ui$Element$Input$hasFocusStyle, withDefaults) ? $mdgriffith$elm_ui$Internal$Model$NoAttribute : $mdgriffith$elm_ui$Internal$Model$htmlClass($mdgriffith$elm_ui$Internal$Style$classes.cY), $elm$core$List$concat( _List_fromArray( [ redistributed.b, function () { - var _v2 = textOptions.bP; + var _v2 = textOptions.bz; if (_v2.$ === 1) { return _List_Nil; } else { @@ -15751,7 +16167,7 @@ return _List_fromArray( [ $mdgriffith$elm_ui$Element$behindContent( - A3($mdgriffith$elm_ui$Element$Input$renderPlaceholder, place, redistributed.I, textOptions.bU === '')) + A3($mdgriffith$elm_ui$Element$Input$renderPlaceholder, place, redistributed.H, textOptions.bE === '')) ]); } }() @@ -15765,19 +16181,19 @@ $mdgriffith$elm_ui$Element$Input$applyLabel, A2( $elm$core$List$cons, - A2($mdgriffith$elm_ui$Internal$Model$Class, $mdgriffith$elm_ui$Internal$Flag$cursor, $mdgriffith$elm_ui$Internal$Style$classes.eY), + A2($mdgriffith$elm_ui$Internal$Model$Class, $mdgriffith$elm_ui$Internal$Flag$cursor, $mdgriffith$elm_ui$Internal$Style$classes.eL), A2( $elm$core$List$cons, - $mdgriffith$elm_ui$Element$Input$isHiddenLabel(textOptions.a1) ? $mdgriffith$elm_ui$Internal$Model$NoAttribute : $mdgriffith$elm_ui$Element$spacing(5), + $mdgriffith$elm_ui$Element$Input$isHiddenLabel(textOptions.aM) ? $mdgriffith$elm_ui$Internal$Model$NoAttribute : $mdgriffith$elm_ui$Element$spacing(5), A2($elm$core$List$cons, $mdgriffith$elm_ui$Element$Region$announce, redistributed.f))), - textOptions.a1, + textOptions.aM, wrappedInput); }); var $mdgriffith$elm_ui$Element$Input$text = $mdgriffith$elm_ui$Element$Input$textHelper( { - W: $elm$core$Maybe$Nothing, - ai: false, - D: $mdgriffith$elm_ui$Element$Input$TextInputNode('text') + S: $elm$core$Maybe$Nothing, + ad: false, + C: $mdgriffith$elm_ui$Element$Input$TextInputNode('text') }); var $author$project$Main$viewCalculateModal = F3( function (maybeNdx, inputs, overrides) { @@ -15793,7 +16209,7 @@ [ $mdgriffith$elm_ui$Element$width($mdgriffith$elm_ui$Element$fill), $mdgriffith$elm_ui$Element$height($mdgriffith$elm_ui$Element$fill), - $mdgriffith$elm_ui$Element$spacing($author$project$Styling$sizes.M) + $mdgriffith$elm_ui$Element$spacing($author$project$Styling$sizes.z) ]), _List_fromArray( [ @@ -15801,13 +16217,13 @@ $mdgriffith$elm_ui$Element$Input$text, _List_Nil, { - a1: A2( + aM: A2( $mdgriffith$elm_ui$Element$Input$labelLeft, labelStyle, $mdgriffith$elm_ui$Element$text('AGS')), - bh: A2($elm$core$Basics$composeL, $author$project$Main$ModalMsg, $author$project$Main$CalculateModalAgsUpdated), - bP: $elm$core$Maybe$Nothing, - bU: inputs.a_ + aP: A2($elm$core$Basics$composeL, $author$project$Main$ModalMsg, $author$project$Main$CalculateModalAgsUpdated), + bz: $elm$core$Maybe$Nothing, + bE: inputs.aI }), A2( $mdgriffith$elm_ui$Element$Input$slider, @@ -15830,25 +16246,25 @@ $mdgriffith$elm_ui$Element$none)) ]), { - a1: A2( + aM: A2( $mdgriffith$elm_ui$Element$Input$labelLeft, labelStyle, $mdgriffith$elm_ui$Element$text( - $elm$core$String$fromInt(inputs.aZ))), - cp: 2050, - fL: 2025, - bh: A2( + $elm$core$String$fromInt(inputs.aH))), + bw: 2050, + di: 2025, + aP: A2( $elm$core$Basics$composeL, A2($elm$core$Basics$composeL, $author$project$Main$ModalMsg, $author$project$Main$CalculateModalTargetYearUpdated), $elm$core$Basics$round), - gn: $elm$core$Maybe$Just(1.0), - gG: $mdgriffith$elm_ui$Element$Input$defaultThumb, - bX: inputs.aZ + dN: $elm$core$Maybe$Just(1.0), + dQ: $mdgriffith$elm_ui$Element$Input$defaultThumb, + a8: inputs.aH }), A2( $author$project$Styling$iconButton, $author$project$Styling$size32($feathericons$elm_feather$FeatherIcons$check), - A2($author$project$Main$CalculateModalOkClicked, maybeNdx, inputs)) + A3($author$project$Main$CalculateModalOkClicked, maybeNdx, inputs, overrides)) ])); }); var $mdgriffith$elm_ui$Element$rgba255 = F4( @@ -15915,7 +16331,7 @@ A2($mdgriffith$elm_ui$Element$minimum, 600, $mdgriffith$elm_ui$Element$fill)), $mdgriffith$elm_ui$Element$height( A2($mdgriffith$elm_ui$Element$minimum, 400, $mdgriffith$elm_ui$Element$fill)), - $mdgriffith$elm_ui$Element$padding($author$project$Styling$sizes.S) + $mdgriffith$elm_ui$Element$padding($author$project$Styling$sizes.P) ]), _List_fromArray( [ @@ -15937,7 +16353,7 @@ $mdgriffith$elm_ui$Element$Background$color($author$project$Styling$white), $mdgriffith$elm_ui$Element$width($mdgriffith$elm_ui$Element$fill), $mdgriffith$elm_ui$Element$height($mdgriffith$elm_ui$Element$fill), - $mdgriffith$elm_ui$Element$padding($author$project$Styling$sizes.M) + $mdgriffith$elm_ui$Element$padding($author$project$Styling$sizes.z) ]), content) ])), @@ -15955,7 +16371,7 @@ $mdgriffith$elm_ui$Element$row, _List_fromArray( [ - A2($mdgriffith$elm_ui$Element$spacingXY, $author$project$Styling$sizes.M, 0) + A2($mdgriffith$elm_ui$Element$spacingXY, $author$project$Styling$sizes.z, 0) ]), l); }; @@ -16014,17 +16430,17 @@ return $elm$core$String$concat( _List_fromArray( [ - shadow.dq ? 'box-inset' : 'box-', - $mdgriffith$elm_ui$Internal$Model$floatClass(shadow.fQ.a) + 'px', - $mdgriffith$elm_ui$Internal$Model$floatClass(shadow.fQ.b) + 'px', - $mdgriffith$elm_ui$Internal$Model$floatClass(shadow.eD) + 'px', - $mdgriffith$elm_ui$Internal$Model$floatClass(shadow.gf) + 'px', - $mdgriffith$elm_ui$Internal$Model$formatColorClass(shadow.eS) + shadow.da ? 'box-inset' : 'box-', + $mdgriffith$elm_ui$Internal$Model$floatClass(shadow.fB.a) + 'px', + $mdgriffith$elm_ui$Internal$Model$floatClass(shadow.fB.b) + 'px', + $mdgriffith$elm_ui$Internal$Model$floatClass(shadow.eq) + 'px', + $mdgriffith$elm_ui$Internal$Model$floatClass(shadow.f0) + 'px', + $mdgriffith$elm_ui$Internal$Model$formatColorClass(shadow.eF) ])); }; var $mdgriffith$elm_ui$Internal$Flag$shadows = $mdgriffith$elm_ui$Internal$Flag$flag(19); var $mdgriffith$elm_ui$Element$Border$shadow = function (almostShade) { - var shade = {eD: almostShade.eD, eS: almostShade.eS, dq: false, fQ: almostShade.fQ, gf: almostShade.gf}; + var shade = {eq: almostShade.eq, eF: almostShade.eF, da: false, fB: almostShade.fB, f0: almostShade.f0}; return A2( $mdgriffith$elm_ui$Internal$Model$StyleClass, $mdgriffith$elm_ui$Internal$Flag$shadows, @@ -16059,10 +16475,10 @@ $mdgriffith$elm_ui$Element$Border$rounded((size / 2) | 0), $mdgriffith$elm_ui$Element$Border$shadow( { - eD: 1, - eS: $author$project$Styling$shadowColor, - fQ: _Utils_Tuple2(1, 1), - gf: 2 + eq: 1, + eF: $author$project$Styling$shadowColor, + fB: _Utils_Tuple2(1, 1), + f0: 2 }), $mdgriffith$elm_ui$Element$alignBottom, $mdgriffith$elm_ui$Element$alignRight, @@ -16085,19 +16501,19 @@ var $mdgriffith$elm_ui$Internal$Model$Monospace = {$: 2}; var $mdgriffith$elm_ui$Element$Font$monospace = $mdgriffith$elm_ui$Internal$Model$Monospace; var $author$project$Styling$fonts = { - fb: _List_fromArray( + e_: _List_fromArray( [ $mdgriffith$elm_ui$Element$Font$size(24) ]), - fc: _List_fromArray( + e$: _List_fromArray( [ $mdgriffith$elm_ui$Element$Font$size(16) ]), - fd: _List_fromArray( + e0: _List_fromArray( [ $mdgriffith$elm_ui$Element$Font$size(16) ]), - au: _List_fromArray( + U: _List_fromArray( [ $mdgriffith$elm_ui$Element$Font$size(16), $mdgriffith$elm_ui$Element$Font$family( @@ -16218,8 +16634,37 @@ var $author$project$Main$ToggleShowGraphClicked = function (a) { return {$: 18, a: a}; }; -var $author$project$Run$WithOverrides = 0; -var $author$project$ValueTree$getHelper = F2( +var $elm$svg$Svg$rect = $elm$svg$Svg$trustedNode('rect'); +var $elm$svg$Svg$Attributes$rx = _VirtualDom_attribute('rx'); +var $elm$svg$Svg$Attributes$ry = _VirtualDom_attribute('ry'); +var $elm$svg$Svg$Attributes$x = _VirtualDom_attribute('x'); +var $elm$svg$Svg$Attributes$y = _VirtualDom_attribute('y'); +var $feathericons$elm_feather$FeatherIcons$copy = A2( + $feathericons$elm_feather$FeatherIcons$makeBuilder, + 'copy', + _List_fromArray( + [ + A2( + $elm$svg$Svg$rect, + _List_fromArray( + [ + $elm$svg$Svg$Attributes$x('9'), + $elm$svg$Svg$Attributes$y('9'), + $elm$svg$Svg$Attributes$width('13'), + $elm$svg$Svg$Attributes$height('13'), + $elm$svg$Svg$Attributes$rx('2'), + $elm$svg$Svg$Attributes$ry('2') + ]), + _List_Nil), + A2( + $elm$svg$Svg$path, + _List_fromArray( + [ + $elm$svg$Svg$Attributes$d('M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1') + ]), + _List_Nil) + ])); +var $author$project$Tree$getHelper = F2( function (path, node) { if (!path.b) { return $elm$core$Maybe$Just(node); @@ -16232,27 +16677,27 @@ var t = node.a; return A2( $elm$core$Maybe$andThen, - $author$project$ValueTree$getHelper(pathRest), + $author$project$Tree$getHelper(pathRest), A2($elm$core$Dict$get, name, t)); } } }); -var $author$project$ValueTree$get = F2( +var $author$project$Tree$get = F2( function (p, t) { return A2( - $author$project$ValueTree$getHelper, + $author$project$Tree$getHelper, p, - $author$project$ValueTree$Tree(t)); + $author$project$Tree$Tree(t)); }); var $author$project$AllRuns$toList = function (_v0) { var a = _v0; - return $elm$core$Dict$toList(a.C); + return $elm$core$Dict$toList(a.B); }; var $author$project$InterestList$toList = function (_v0) { var i = _v0; - return $elm$core$Set$toList(i.ae); + return $elm$core$Set$toList(i.aa); }; -var $author$project$Main$applyInterestListToRuns = F2( +var $author$project$InterestListTable$create = F2( function (interestList, allRuns) { var runList = $author$project$AllRuns$toList(allRuns); var runs = A2($elm$core$List$map, $elm$core$Tuple$first, runList); @@ -16267,18 +16712,18 @@ $elm$core$List$map, function (path) { var _v1 = A2( - $author$project$ValueTree$get, + $author$project$Tree$get, path, A2($author$project$Run$getTree, 0, run)); if (_v1.$ === 1) { return _Utils_Tuple2( _Utils_Tuple2(runId, path), - $author$project$ValueTree$String('NOTHING')); + $author$project$Value$String('NOTHING')); } else { if (!_v1.a.$) { return _Utils_Tuple2( _Utils_Tuple2(runId, path), - $author$project$ValueTree$String('TREE')); + $author$project$Value$String('TREE')); } else { var v = _v1.a.a; return _Utils_Tuple2( @@ -16287,41 +16732,11 @@ } } }, - paths); - }, - runList)); - return {ae: paths, C: runs, bY: values}; - }); -var $elm$svg$Svg$rect = $elm$svg$Svg$trustedNode('rect'); -var $elm$svg$Svg$Attributes$rx = _VirtualDom_attribute('rx'); -var $elm$svg$Svg$Attributes$ry = _VirtualDom_attribute('ry'); -var $elm$svg$Svg$Attributes$x = _VirtualDom_attribute('x'); -var $elm$svg$Svg$Attributes$y = _VirtualDom_attribute('y'); -var $feathericons$elm_feather$FeatherIcons$copy = A2( - $feathericons$elm_feather$FeatherIcons$makeBuilder, - 'copy', - _List_fromArray( - [ - A2( - $elm$svg$Svg$rect, - _List_fromArray( - [ - $elm$svg$Svg$Attributes$x('9'), - $elm$svg$Svg$Attributes$y('9'), - $elm$svg$Svg$Attributes$width('13'), - $elm$svg$Svg$Attributes$height('13'), - $elm$svg$Svg$Attributes$rx('2'), - $elm$svg$Svg$Attributes$ry('2') - ]), - _List_Nil), - A2( - $elm$svg$Svg$path, - _List_fromArray( - [ - $elm$svg$Svg$Attributes$d('M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1') - ]), - _List_Nil) - ])); + paths); + }, + runList)); + return {aa: paths, B: runs, dW: values}; + }); var $author$project$Styling$red = A3($mdgriffith$elm_ui$Element$rgb255, 197, 40, 61); var $author$project$Styling$dangerousIconButtonStyle = _List_fromArray( [ @@ -16392,15 +16807,15 @@ ])); var $author$project$InterestList$getLabel = function (_v0) { var l = _v0; - return l.a1; + return l.aM; }; var $author$project$InterestList$getShortPathLabels = function (_v0) { var il = _v0; - return il.bI; + return il.bs; }; var $author$project$InterestList$getShowGraph = function (_v0) { var il = _v0; - return il.a6; + return il.aR; }; var $elm$html$Html$Attributes$id = $elm$html$Html$Attributes$stringProperty('id'); var $mdgriffith$elm_ui$Element$Input$HiddenLabel = function (a) { @@ -16505,8 +16920,8 @@ function (value, inter, attrs) { return $terezka$elm_charts$Internal$Property$Property( { - E: attrs, - da: F5( + D: attrs, + cW: F5( function (_v0, _v1, _v2, _v3, _v4) { return _List_Nil; }), @@ -16517,10 +16932,10 @@ $elm$core$Basics$composeR, $elm$core$Maybe$map($elm$core$String$fromFloat), $elm$core$Maybe$withDefault('N/A'))), - fC: inter, - dx: $elm$core$Maybe$Nothing, - bX: value, - bp: value + fp: inter, + dh: $elm$core$Maybe$Nothing, + a8: value, + a9: value }); }); var $terezka$elm_charts$Chart$bar = function (y) { @@ -16561,30 +16976,30 @@ return _Utils_update( group_, { - gP: function (c) { + gy: function (c) { return function (_v1) { var x = _v1.a; var xs = _v1.b; return A2( edit, x, - group_.gP(c)); - }(c.Q); + group_.gy(c)); + }(c.O); } }); }); var $terezka$elm_charts$Internal$Item$getPosition = F2( function (plane, _v0) { var item = _v0; - return A2(item.gS, plane, item.eU); + return A2(item.gB, plane, item.eH); }); var $terezka$elm_charts$Internal$Item$getX1 = function (_v0) { var item = _v0; - return item.eU.bY.bb; + return item.eH.dW.aW; }; var $terezka$elm_charts$Internal$Item$getX2 = function (_v0) { var item = _v0; - return item.eU.bY.bq; + return item.eH.dW.ba; }; var $elm$core$List$partition = F2( function (pred, list) { @@ -16632,7 +17047,7 @@ }); var $terezka$elm_charts$Internal$Coordinates$Position = F4( function (x1, x2, y1, y2) { - return {bb: x1, bq: x2, g2: y1, cV: y2}; + return {aW: x1, ba: x2, gN: y1, cF: y2}; }); var $terezka$elm_charts$Internal$Coordinates$foldPosition = F2( function (func, data) { @@ -16642,22 +17057,22 @@ var pos = posM.a; return $elm$core$Maybe$Just( { - bb: A2( + aW: A2( $elm$core$Basics$min, - func(datum).bb, - pos.bb), - bq: A2( + func(datum).aW, + pos.aW), + ba: A2( $elm$core$Basics$max, - func(datum).bq, - pos.bq), - g2: A2( + func(datum).ba, + pos.ba), + gN: A2( $elm$core$Basics$min, - func(datum).g2, - pos.g2), - cV: A2( + func(datum).gN, + pos.gN), + cF: A2( $elm$core$Basics$max, - func(datum).cV, - pos.cV) + func(datum).cF, + pos.cF) }); } else { return $elm$core$Maybe$Just( @@ -16672,21 +17087,21 @@ var $elm$svg$Svg$g = $elm$svg$Svg$trustedNode('g'); var $terezka$elm_charts$Internal$Item$getLimits = function (_v0) { var item = _v0; - return item.gP(item.eU); + return item.gy(item.eH); }; var $elm$html$Html$table = _VirtualDom_node('table'); var $terezka$elm_charts$Internal$Item$toHtml = function (_v0) { var item = _v0; - return item.gO(item.eU); + return item.gx(item.eH); }; var $terezka$elm_charts$Internal$Item$toSvg = F2( function (plane, _v0) { var item = _v0; return A3( - item.gT, + item.gC, plane, - item.eU, - A2(item.gS, plane, item.eU)); + item.eH, + A2(item.gB, plane, item.eH)); }); var $terezka$elm_charts$Internal$Many$toGroup = F2( function (first, rest) { @@ -16696,10 +17111,10 @@ return A2($elm$core$List$cons, x, xs); }; return { - eU: { - Q: _Utils_Tuple2(first, rest) + eH: { + O: _Utils_Tuple2(first, rest) }, - gO: function (c) { + gx: function (c) { return _List_fromArray( [ A2( @@ -16708,23 +17123,23 @@ A2( $elm$core$List$concatMap, $terezka$elm_charts$Internal$Item$toHtml, - concatTuple(c.Q))) + concatTuple(c.O))) ]); }, - gP: function (c) { + gy: function (c) { return A2( $terezka$elm_charts$Internal$Coordinates$foldPosition, $terezka$elm_charts$Internal$Item$getLimits, - concatTuple(c.Q)); + concatTuple(c.O)); }, - gS: F2( + gB: F2( function (p, c) { return A2( $terezka$elm_charts$Internal$Coordinates$foldPosition, $terezka$elm_charts$Internal$Item$getPosition(p), - concatTuple(c.Q)); + concatTuple(c.O)); }), - gT: F3( + gC: F3( function (p, c, _v0) { return A2( $elm$svg$Svg$g, @@ -16735,18 +17150,18 @@ A2( $elm$core$List$map, $terezka$elm_charts$Internal$Item$toSvg(p), - concatTuple(c.Q))); + concatTuple(c.O))); }) }; }); var $terezka$elm_charts$Internal$Many$groupingHelp = F2( function (_v0, items) { - var shared = _v0.bS; - var equality = _v0.bG; - var edits = _v0.bF; + var shared = _v0.bC; + var equality = _v0.bq; + var edits = _v0.bp; var toShared = function (_v2) { var item = _v2; - return shared(item.eU); + return shared(item.eH); }; var toNewGroup = function (_v1) { var i = _v1.a; @@ -16771,47 +17186,47 @@ $terezka$elm_charts$Internal$Item$getPosition, $terezka$elm_charts$Internal$Many$groupingHelp( { - bF: $terezka$elm_charts$Internal$Many$editLimits( + bp: $terezka$elm_charts$Internal$Many$editLimits( F2( function (item, pos) { return _Utils_update( pos, { - bb: $terezka$elm_charts$Internal$Item$getX1(item), - bq: $terezka$elm_charts$Internal$Item$getX2(item) + aW: $terezka$elm_charts$Internal$Item$getX1(item), + ba: $terezka$elm_charts$Internal$Item$getX2(item) }); })), - bG: F2( + bq: F2( function (a, b) { - return _Utils_eq(a.bb, b.bb) && (_Utils_eq(a.bq, b.bq) && (_Utils_eq(a.e8, b.e8) && _Utils_eq(a.b4, b.b4))); + return _Utils_eq(a.aW, b.aW) && (_Utils_eq(a.ba, b.ba) && (_Utils_eq(a.eX, b.eX) && _Utils_eq(a.bP, b.bP))); }), - bS: function (config) { - return {b4: config.bW.eZ, e8: config.bW.e8, bb: config.bY.bb, bq: config.bY.bq}; + bC: function (config) { + return {bP: config.bG.eM, eX: config.bG.eX, aW: config.dW.aW, ba: config.dW.ba}; } })); var $terezka$elm_charts$Chart$Item$bins = $terezka$elm_charts$Internal$Many$bins; -var $terezka$elm_charts$Internal$Produce$defaultBars = {fj: false, fk: true, aN: 0.1, f5: 0, f6: 0, gi: 0.05, bb: $elm$core$Maybe$Nothing, bq: $elm$core$Maybe$Nothing}; +var $terezka$elm_charts$Internal$Produce$defaultBars = {e6: false, e7: true, ax: 0.1, fS: 0, fT: 0, f3: 0.05, aW: $elm$core$Maybe$Nothing, ba: $elm$core$Maybe$Nothing}; var $terezka$elm_charts$Internal$Item$generalize = F2( function (toAny, _v0) { var item = _v0; return { - eU: { - f$: toAny(item.eU.f$), - gN: $elm$core$Basics$identity, - bW: item.eU.bW, - bY: item.eU.bY + eH: { + fM: toAny(item.eH.fM), + gw: $elm$core$Basics$identity, + bG: item.eH.bG, + dW: item.eH.dW }, - gO: function (c) { + gx: function (c) { return $terezka$elm_charts$Internal$Item$toHtml(item); }, - gP: function (_v1) { - return item.gP(item.eU); + gy: function (_v1) { + return item.gy(item.eH); }, - gS: F2( + gB: F2( function (plane, _v2) { - return A2(item.gS, plane, item.eU); + return A2(item.gB, plane, item.eH); }), - gT: F3( + gC: F3( function (plane, _v3, _v4) { return A2($terezka$elm_charts$Internal$Item$toSvg, plane, item); }) @@ -16823,12 +17238,12 @@ var x = _v1.a; var xs = _v1.b; return A2($elm$core$List$cons, x, xs); - }(group_.eU.Q); + }(group_.eH.O); }; var $terezka$elm_charts$Internal$Many$getGenerals = function (group_) { var generalize = function (_v0) { var item = _v0; - return A2($terezka$elm_charts$Internal$Item$generalize, item.eU.gN, item); + return A2($terezka$elm_charts$Internal$Item$generalize, item.eH.gw, item); }; return A2( $elm$core$List$map, @@ -16840,29 +17255,29 @@ function (func, _v0) { var item = _v0; return { - eU: { - f$: item.eU.f$, - gN: item.eU.gN, - bW: item.eU.bW, - bY: { - e0: func(item.eU.bY.e0), - fE: item.eU.bY.fE, - bb: item.eU.bY.bb, - bq: item.eU.bY.bq, - eg: item.eU.bY.eg + eH: { + fM: item.eH.fM, + gw: item.eH.gw, + bG: item.eH.bG, + dW: { + eP: func(item.eH.dW.eP), + fr: item.eH.dW.fr, + aW: item.eH.dW.aW, + ba: item.eH.dW.ba, + d3: item.eH.dW.d3 } }, - gO: function (_v1) { + gx: function (_v1) { return $terezka$elm_charts$Internal$Item$toHtml(item); }, - gP: function (_v2) { - return item.gP(item.eU); + gy: function (_v2) { + return item.gy(item.eH); }, - gS: F2( + gB: F2( function (plane, _v3) { - return A2(item.gS, plane, item.eU); + return A2(item.gB, plane, item.eH); }), - gT: F3( + gC: F3( function (plane, _v4, _v5) { return A2($terezka$elm_charts$Internal$Item$toSvg, plane, item); }) @@ -16876,27 +17291,27 @@ function (v, config) { return _Utils_update( config, - {A: v}); + {y: v}); }); var $terezka$elm_charts$Chart$Attributes$color = F2( function (v, config) { return (v === '') ? config : _Utils_update( config, - {eS: v}); + {eF: v}); }); var $terezka$elm_charts$Internal$Helpers$pink = '#ea60df'; -var $terezka$elm_charts$Internal$Svg$defaultBar = {E: _List_Nil, A: 'white', F: 0, eS: $terezka$elm_charts$Internal$Helpers$pink, b6: $elm$core$Maybe$Nothing, fm: 0, fn: '', fo: 10, ab: 1, f5: 0, f6: 0}; +var $terezka$elm_charts$Internal$Svg$defaultBar = {D: _List_Nil, y: 'white', E: 0, eF: $terezka$elm_charts$Internal$Helpers$pink, bR: $elm$core$Maybe$Nothing, e9: 0, fa: '', fb: 10, Y: 1, fS: 0, fT: 0}; var $terezka$elm_charts$Chart$Attributes$roundBottom = F2( function (v, config) { return _Utils_update( config, - {f5: v}); + {fS: v}); }); var $terezka$elm_charts$Chart$Attributes$roundTop = F2( function (v, config) { return _Utils_update( config, - {f6: v}); + {fT: v}); }); var $terezka$elm_charts$Internal$Property$toConfigs = function (prop) { if (!prop.$) { @@ -16961,7 +17376,7 @@ var barsConfig = A2($terezka$elm_charts$Internal$Helpers$apply, barsAttrs, $terezka$elm_charts$Internal$Produce$defaultBars); var toBarLegend = F2( function (colorIndex, prop) { - var rounding = A2($elm$core$Basics$max, barsConfig.f6, barsConfig.f5); + var rounding = A2($elm$core$Basics$max, barsConfig.fT, barsConfig.fS); var defaultName = 'Property #' + $elm$core$String$fromInt(colorIndex + 1); var defaultColor = $terezka$elm_charts$Internal$Helpers$toDefaultColor(colorIndex); var defaultAttrs = _List_fromArray( @@ -16971,17 +17386,17 @@ $terezka$elm_charts$Chart$Attributes$color(defaultColor), $terezka$elm_charts$Chart$Attributes$border(defaultColor) ]); - var attrsOrg = _Utils_ap(defaultAttrs, prop.E); + var attrsOrg = _Utils_ap(defaultAttrs, prop.D); var productOrg = toBarConfig(attrsOrg); - var attrs = _Utils_eq(productOrg.A, defaultColor) ? _Utils_ap( + var attrs = _Utils_eq(productOrg.y, defaultColor) ? _Utils_ap( attrsOrg, _List_fromArray( [ - $terezka$elm_charts$Chart$Attributes$border(productOrg.eS) + $terezka$elm_charts$Chart$Attributes$border(productOrg.eF) ])) : attrsOrg; return A2( $terezka$elm_charts$Internal$Legend$BarLegend, - A2($elm$core$Maybe$withDefault, defaultName, prop.dx), + A2($elm$core$Maybe$withDefault, defaultName, prop.dh), attrs); }); return A2( @@ -17121,33 +17536,33 @@ return {$: 5, a: a, b: b}; }); var $terezka$elm_charts$Internal$Coordinates$innerLength = function (axis) { - return A2($elm$core$Basics$max, 1, (axis._ - axis.fJ) - axis.fI); + return A2($elm$core$Basics$max, 1, (axis.W - axis.fv) - axis.fu); }; var $terezka$elm_charts$Internal$Coordinates$innerWidth = function (plane) { - return $terezka$elm_charts$Internal$Coordinates$innerLength(plane.ef); + return $terezka$elm_charts$Internal$Coordinates$innerLength(plane.d2); }; var $terezka$elm_charts$Internal$Coordinates$range = function (axis) { - var diff = axis.cp - axis.fL; + var diff = axis.bw - axis.di; return (diff > 0) ? diff : 1; }; var $terezka$elm_charts$Internal$Coordinates$scaleSVGX = F2( function (plane, value) { - return (value * $terezka$elm_charts$Internal$Coordinates$innerWidth(plane)) / $terezka$elm_charts$Internal$Coordinates$range(plane.ef); + return (value * $terezka$elm_charts$Internal$Coordinates$innerWidth(plane)) / $terezka$elm_charts$Internal$Coordinates$range(plane.d2); }); var $terezka$elm_charts$Internal$Coordinates$toSVGX = F2( function (plane, value) { - return A2($terezka$elm_charts$Internal$Coordinates$scaleSVGX, plane, value - plane.ef.fL) + plane.ef.fJ; + return A2($terezka$elm_charts$Internal$Coordinates$scaleSVGX, plane, value - plane.d2.di) + plane.d2.fv; }); var $terezka$elm_charts$Internal$Coordinates$innerHeight = function (plane) { - return $terezka$elm_charts$Internal$Coordinates$innerLength(plane.eg); + return $terezka$elm_charts$Internal$Coordinates$innerLength(plane.d3); }; var $terezka$elm_charts$Internal$Coordinates$scaleSVGY = F2( function (plane, value) { - return (value * $terezka$elm_charts$Internal$Coordinates$innerHeight(plane)) / $terezka$elm_charts$Internal$Coordinates$range(plane.eg); + return (value * $terezka$elm_charts$Internal$Coordinates$innerHeight(plane)) / $terezka$elm_charts$Internal$Coordinates$range(plane.d3); }); var $terezka$elm_charts$Internal$Coordinates$toSVGY = F2( function (plane, value) { - return A2($terezka$elm_charts$Internal$Coordinates$scaleSVGY, plane, plane.eg.cp - value) + plane.eg.fJ; + return A2($terezka$elm_charts$Internal$Coordinates$scaleSVGY, plane, plane.d3.bw - value) + plane.d3.fv; }); var $terezka$elm_charts$Internal$Commands$translate = F2( function (plane, command) { @@ -17245,11 +17660,11 @@ var $elm$svg$Svg$Attributes$fillOpacity = _VirtualDom_attribute('fill-opacity'); var $terezka$elm_charts$Internal$Coordinates$scaleCartesianX = F2( function (plane, value) { - return (value * $terezka$elm_charts$Internal$Coordinates$range(plane.ef)) / $terezka$elm_charts$Internal$Coordinates$innerWidth(plane); + return (value * $terezka$elm_charts$Internal$Coordinates$range(plane.d2)) / $terezka$elm_charts$Internal$Coordinates$innerWidth(plane); }); var $terezka$elm_charts$Internal$Coordinates$scaleCartesianY = F2( function (plane, value) { - return (value * $terezka$elm_charts$Internal$Coordinates$range(plane.eg)) / $terezka$elm_charts$Internal$Coordinates$innerHeight(plane); + return (value * $terezka$elm_charts$Internal$Coordinates$range(plane.d3)) / $terezka$elm_charts$Internal$Coordinates$innerHeight(plane); }); var $elm$svg$Svg$Attributes$strokeOpacity = _VirtualDom_attribute('stroke-opacity'); var $terezka$elm_charts$Internal$Svg$apply = F2( @@ -17343,20 +17758,20 @@ var config = A2( $terezka$elm_charts$Internal$Svg$apply, edits, - {eS: defaultColor, o: 45, gi: 4, cQ: 3}); + {eF: defaultColor, o: 45, f3: 4, cA: 3}); var theId = toPatternId( _List_fromArray( [ - config.eS, - $elm$core$String$fromFloat(config.cQ), - $elm$core$String$fromFloat(config.gi), + config.eF, + $elm$core$String$fromFloat(config.cA), + $elm$core$String$fromFloat(config.f3), $elm$core$String$fromFloat(config.o) ])); return _Utils_Tuple2( A4( toPatternDefs, theId, - config.gi, + config.f3, config.o, A2( $elm$svg$Svg$line, @@ -17366,10 +17781,10 @@ $elm$svg$Svg$Attributes$y('0'), $elm$svg$Svg$Attributes$x2('0'), $elm$svg$Svg$Attributes$y2( - $elm$core$String$fromFloat(config.gi)), - $elm$svg$Svg$Attributes$stroke(config.eS), + $elm$core$String$fromFloat(config.f3)), + $elm$svg$Svg$Attributes$stroke(config.eF), $elm$svg$Svg$Attributes$strokeWidth( - $elm$core$String$fromFloat(config.cQ)) + $elm$core$String$fromFloat(config.cA)) ]), _List_Nil)), theId); @@ -17378,32 +17793,32 @@ var config = A2( $terezka$elm_charts$Internal$Svg$apply, edits, - {eS: defaultColor, o: 45, gi: 4, cQ: 3}); + {eF: defaultColor, o: 45, f3: 4, cA: 3}); var theId = toPatternId( _List_fromArray( [ - config.eS, - $elm$core$String$fromFloat(config.cQ), - $elm$core$String$fromFloat(config.gi), + config.eF, + $elm$core$String$fromFloat(config.cA), + $elm$core$String$fromFloat(config.f3), $elm$core$String$fromFloat(config.o) ])); return _Utils_Tuple2( A4( toPatternDefs, theId, - config.gi, + config.f3, config.o, A2( $elm$svg$Svg$circle, _List_fromArray( [ - $elm$svg$Svg$Attributes$fill(config.eS), + $elm$svg$Svg$Attributes$fill(config.eF), $elm$svg$Svg$Attributes$cx( - $elm$core$String$fromFloat(config.cQ / 3)), + $elm$core$String$fromFloat(config.cA / 3)), $elm$svg$Svg$Attributes$cy( - $elm$core$String$fromFloat(config.cQ / 3)), + $elm$core$String$fromFloat(config.cA / 3)), $elm$svg$Svg$Attributes$r( - $elm$core$String$fromFloat(config.cQ / 3)) + $elm$core$String$fromFloat(config.cA / 3)) ]), _List_Nil)), theId); @@ -17477,16 +17892,16 @@ _List_fromArray( [ 'elm-charts__id', - numToStr(plane.ef._), - numToStr(plane.ef.fL), - numToStr(plane.ef.cp), - numToStr(plane.ef.fJ), - numToStr(plane.ef.fI), - numToStr(plane.eg._), - numToStr(plane.eg.fL), - numToStr(plane.eg.cp), - numToStr(plane.eg.fJ), - numToStr(plane.eg.fI) + numToStr(plane.d2.W), + numToStr(plane.d2.di), + numToStr(plane.d2.bw), + numToStr(plane.d2.fv), + numToStr(plane.d2.fu), + numToStr(plane.d3.W), + numToStr(plane.d3.di), + numToStr(plane.d3.bw), + numToStr(plane.d3.fv), + numToStr(plane.d3.fu) ])); }; var $terezka$elm_charts$Internal$Svg$withinChartArea = function (plane) { @@ -17499,7 +17914,7 @@ function (fill, fillOpacity, border, borderWidth, strokeOpacity, cmds) { return A4( $terezka$elm_charts$Internal$Svg$withAttrs, - config.E, + config.D, $elm$svg$Svg$path, _List_fromArray( [ @@ -17518,31 +17933,31 @@ ]), _List_Nil); }); - var highlightColor = (config.fn === '') ? config.eS : config.fn; - var borderWidthCarY = A2($terezka$elm_charts$Internal$Coordinates$scaleCartesianY, plane, config.F / 2); - var highlightWidthCarY = borderWidthCarY + A2($terezka$elm_charts$Internal$Coordinates$scaleCartesianY, plane, config.fo / 2); - var borderWidthCarX = A2($terezka$elm_charts$Internal$Coordinates$scaleCartesianX, plane, config.F / 2); - var highlightWidthCarX = borderWidthCarX + A2($terezka$elm_charts$Internal$Coordinates$scaleCartesianX, plane, config.fo / 2); + var highlightColor = (config.fa === '') ? config.eF : config.fa; + var borderWidthCarY = A2($terezka$elm_charts$Internal$Coordinates$scaleCartesianY, plane, config.E / 2); + var highlightWidthCarY = borderWidthCarY + A2($terezka$elm_charts$Internal$Coordinates$scaleCartesianY, plane, config.fb / 2); + var borderWidthCarX = A2($terezka$elm_charts$Internal$Coordinates$scaleCartesianX, plane, config.E / 2); + var highlightWidthCarX = borderWidthCarX + A2($terezka$elm_charts$Internal$Coordinates$scaleCartesianX, plane, config.fb / 2); var pos = { - bb: A2($elm$core$Basics$min, point.bb, point.bq) + borderWidthCarX, - bq: A2($elm$core$Basics$max, point.bb, point.bq) - borderWidthCarX, - g2: A2($elm$core$Basics$min, point.g2, point.cV) + borderWidthCarY, - cV: A2($elm$core$Basics$max, point.g2, point.cV) - borderWidthCarY + aW: A2($elm$core$Basics$min, point.aW, point.ba) + borderWidthCarX, + ba: A2($elm$core$Basics$max, point.aW, point.ba) - borderWidthCarX, + gN: A2($elm$core$Basics$min, point.gN, point.cF) + borderWidthCarY, + cF: A2($elm$core$Basics$max, point.gN, point.cF) - borderWidthCarY }; - var height = $elm$core$Basics$abs(pos.cV - pos.g2); - var highlightPos = {bb: pos.bb - highlightWidthCarX, bq: pos.bq + highlightWidthCarX, g2: pos.g2 - highlightWidthCarY, cV: pos.cV + highlightWidthCarY}; - var width = $elm$core$Basics$abs(pos.bq - pos.bb); - var roundingBottom = (A2($terezka$elm_charts$Internal$Coordinates$scaleSVGX, plane, width) * 0.5) * A3($elm$core$Basics$clamp, 0, 1, config.f5); + var height = $elm$core$Basics$abs(pos.cF - pos.gN); + var highlightPos = {aW: pos.aW - highlightWidthCarX, ba: pos.ba + highlightWidthCarX, gN: pos.gN - highlightWidthCarY, cF: pos.cF + highlightWidthCarY}; + var width = $elm$core$Basics$abs(pos.ba - pos.aW); + var roundingBottom = (A2($terezka$elm_charts$Internal$Coordinates$scaleSVGX, plane, width) * 0.5) * A3($elm$core$Basics$clamp, 0, 1, config.fS); var radiusBottomX = A2($terezka$elm_charts$Internal$Coordinates$scaleCartesianX, plane, roundingBottom); var radiusBottomY = A2($terezka$elm_charts$Internal$Coordinates$scaleCartesianY, plane, roundingBottom); - var roundingTop = (A2($terezka$elm_charts$Internal$Coordinates$scaleSVGX, plane, width) * 0.5) * A3($elm$core$Basics$clamp, 0, 1, config.f6); + var roundingTop = (A2($terezka$elm_charts$Internal$Coordinates$scaleSVGX, plane, width) * 0.5) * A3($elm$core$Basics$clamp, 0, 1, config.fT); var radiusTopX = A2($terezka$elm_charts$Internal$Coordinates$scaleCartesianX, plane, roundingTop); var radiusTopY = A2($terezka$elm_charts$Internal$Coordinates$scaleCartesianY, plane, roundingTop); - var _v0 = ((((height - (radiusTopY * 0.8)) - (radiusBottomY * 0.8)) <= 0) || (((width - (radiusTopX * 0.8)) - (radiusBottomX * 0.8)) <= 0)) ? _Utils_Tuple2(0, 0) : _Utils_Tuple2(config.f6, config.f5); + var _v0 = ((((height - (radiusTopY * 0.8)) - (radiusBottomY * 0.8)) <= 0) || (((width - (radiusTopX * 0.8)) - (radiusBottomX * 0.8)) <= 0)) ? _Utils_Tuple2(0, 0) : _Utils_Tuple2(config.fT, config.fS); var roundTop = _v0.a; var roundBottom = _v0.b; var _v1 = function () { - if (_Utils_eq(pos.g2, pos.cV)) { + if (_Utils_eq(pos.gN, pos.cF)) { return _Utils_Tuple2(_List_Nil, _List_Nil); } else { var _v2 = _Utils_Tuple2(roundTop > 0, roundBottom > 0); @@ -17551,50 +17966,50 @@ return _Utils_Tuple2( _List_fromArray( [ - A2($terezka$elm_charts$Internal$Commands$Move, pos.bb, pos.g2), - A2($terezka$elm_charts$Internal$Commands$Line, pos.bb, pos.cV), - A2($terezka$elm_charts$Internal$Commands$Line, pos.bq, pos.cV), - A2($terezka$elm_charts$Internal$Commands$Line, pos.bq, pos.g2), - A2($terezka$elm_charts$Internal$Commands$Line, pos.bb, pos.g2) + A2($terezka$elm_charts$Internal$Commands$Move, pos.aW, pos.gN), + A2($terezka$elm_charts$Internal$Commands$Line, pos.aW, pos.cF), + A2($terezka$elm_charts$Internal$Commands$Line, pos.ba, pos.cF), + A2($terezka$elm_charts$Internal$Commands$Line, pos.ba, pos.gN), + A2($terezka$elm_charts$Internal$Commands$Line, pos.aW, pos.gN) ]), _List_fromArray( [ - A2($terezka$elm_charts$Internal$Commands$Move, highlightPos.bb, pos.g2), - A2($terezka$elm_charts$Internal$Commands$Line, highlightPos.bb, highlightPos.cV), - A2($terezka$elm_charts$Internal$Commands$Line, highlightPos.bq, highlightPos.cV), - A2($terezka$elm_charts$Internal$Commands$Line, highlightPos.bq, pos.g2), - A2($terezka$elm_charts$Internal$Commands$Line, pos.bq, pos.g2), - A2($terezka$elm_charts$Internal$Commands$Line, pos.bq, pos.cV), - A2($terezka$elm_charts$Internal$Commands$Line, pos.bb, pos.cV), - A2($terezka$elm_charts$Internal$Commands$Line, pos.bb, pos.g2) + A2($terezka$elm_charts$Internal$Commands$Move, highlightPos.aW, pos.gN), + A2($terezka$elm_charts$Internal$Commands$Line, highlightPos.aW, highlightPos.cF), + A2($terezka$elm_charts$Internal$Commands$Line, highlightPos.ba, highlightPos.cF), + A2($terezka$elm_charts$Internal$Commands$Line, highlightPos.ba, pos.gN), + A2($terezka$elm_charts$Internal$Commands$Line, pos.ba, pos.gN), + A2($terezka$elm_charts$Internal$Commands$Line, pos.ba, pos.cF), + A2($terezka$elm_charts$Internal$Commands$Line, pos.aW, pos.cF), + A2($terezka$elm_charts$Internal$Commands$Line, pos.aW, pos.gN) ])); } else { return _Utils_Tuple2( _List_fromArray( [ - A2($terezka$elm_charts$Internal$Commands$Move, pos.bb + radiusBottomX, pos.g2), - A7($terezka$elm_charts$Internal$Commands$Arc, roundingBottom, roundingBottom, -45, false, true, pos.bb, pos.g2 + radiusBottomY), - A2($terezka$elm_charts$Internal$Commands$Line, pos.bb, pos.cV), - A2($terezka$elm_charts$Internal$Commands$Line, pos.bq, pos.cV), - A2($terezka$elm_charts$Internal$Commands$Line, pos.bq, pos.g2 + radiusBottomY), - A7($terezka$elm_charts$Internal$Commands$Arc, roundingBottom, roundingBottom, -45, false, true, pos.bq - radiusBottomX, pos.g2), - A2($terezka$elm_charts$Internal$Commands$Line, pos.bb + radiusBottomX, pos.g2) + A2($terezka$elm_charts$Internal$Commands$Move, pos.aW + radiusBottomX, pos.gN), + A7($terezka$elm_charts$Internal$Commands$Arc, roundingBottom, roundingBottom, -45, false, true, pos.aW, pos.gN + radiusBottomY), + A2($terezka$elm_charts$Internal$Commands$Line, pos.aW, pos.cF), + A2($terezka$elm_charts$Internal$Commands$Line, pos.ba, pos.cF), + A2($terezka$elm_charts$Internal$Commands$Line, pos.ba, pos.gN + radiusBottomY), + A7($terezka$elm_charts$Internal$Commands$Arc, roundingBottom, roundingBottom, -45, false, true, pos.ba - radiusBottomX, pos.gN), + A2($terezka$elm_charts$Internal$Commands$Line, pos.aW + radiusBottomX, pos.gN) ]), _List_fromArray( [ - A2($terezka$elm_charts$Internal$Commands$Move, highlightPos.bb + radiusBottomX, highlightPos.g2), - A7($terezka$elm_charts$Internal$Commands$Arc, roundingBottom, roundingBottom, -45, false, true, highlightPos.bb, highlightPos.g2 + radiusBottomY), - A2($terezka$elm_charts$Internal$Commands$Line, highlightPos.bb, highlightPos.cV), - A2($terezka$elm_charts$Internal$Commands$Line, highlightPos.bq, highlightPos.cV), - A2($terezka$elm_charts$Internal$Commands$Line, highlightPos.bq, highlightPos.g2 + radiusBottomY), - A7($terezka$elm_charts$Internal$Commands$Arc, roundingBottom, roundingBottom, -45, false, true, highlightPos.bq - radiusBottomX, highlightPos.g2), - A2($terezka$elm_charts$Internal$Commands$Line, highlightPos.bb + radiusBottomX, highlightPos.g2), - A2($terezka$elm_charts$Internal$Commands$Line, pos.bq - radiusBottomX, pos.g2), - A7($terezka$elm_charts$Internal$Commands$Arc, roundingBottom, roundingBottom, -45, false, false, pos.bq, pos.g2 + radiusBottomY), - A2($terezka$elm_charts$Internal$Commands$Line, pos.bq, pos.cV), - A2($terezka$elm_charts$Internal$Commands$Line, pos.bb, pos.cV), - A2($terezka$elm_charts$Internal$Commands$Line, pos.bb, pos.g2 + radiusBottomY), - A2($terezka$elm_charts$Internal$Commands$Line, pos.bq, pos.g2) + A2($terezka$elm_charts$Internal$Commands$Move, highlightPos.aW + radiusBottomX, highlightPos.gN), + A7($terezka$elm_charts$Internal$Commands$Arc, roundingBottom, roundingBottom, -45, false, true, highlightPos.aW, highlightPos.gN + radiusBottomY), + A2($terezka$elm_charts$Internal$Commands$Line, highlightPos.aW, highlightPos.cF), + A2($terezka$elm_charts$Internal$Commands$Line, highlightPos.ba, highlightPos.cF), + A2($terezka$elm_charts$Internal$Commands$Line, highlightPos.ba, highlightPos.gN + radiusBottomY), + A7($terezka$elm_charts$Internal$Commands$Arc, roundingBottom, roundingBottom, -45, false, true, highlightPos.ba - radiusBottomX, highlightPos.gN), + A2($terezka$elm_charts$Internal$Commands$Line, highlightPos.aW + radiusBottomX, highlightPos.gN), + A2($terezka$elm_charts$Internal$Commands$Line, pos.ba - radiusBottomX, pos.gN), + A7($terezka$elm_charts$Internal$Commands$Arc, roundingBottom, roundingBottom, -45, false, false, pos.ba, pos.gN + radiusBottomY), + A2($terezka$elm_charts$Internal$Commands$Line, pos.ba, pos.cF), + A2($terezka$elm_charts$Internal$Commands$Line, pos.aW, pos.cF), + A2($terezka$elm_charts$Internal$Commands$Line, pos.aW, pos.gN + radiusBottomY), + A2($terezka$elm_charts$Internal$Commands$Line, pos.ba, pos.gN) ])); } } else { @@ -17602,62 +18017,62 @@ return _Utils_Tuple2( _List_fromArray( [ - A2($terezka$elm_charts$Internal$Commands$Move, pos.bb, pos.g2), - A2($terezka$elm_charts$Internal$Commands$Line, pos.bb, pos.cV - radiusTopY), - A7($terezka$elm_charts$Internal$Commands$Arc, roundingTop, roundingTop, -45, false, true, pos.bb + radiusTopX, pos.cV), - A2($terezka$elm_charts$Internal$Commands$Line, pos.bq - radiusTopX, pos.cV), - A7($terezka$elm_charts$Internal$Commands$Arc, roundingTop, roundingTop, -45, false, true, pos.bq, pos.cV - radiusTopY), - A2($terezka$elm_charts$Internal$Commands$Line, pos.bq, pos.g2), - A2($terezka$elm_charts$Internal$Commands$Line, pos.bb, pos.g2) + A2($terezka$elm_charts$Internal$Commands$Move, pos.aW, pos.gN), + A2($terezka$elm_charts$Internal$Commands$Line, pos.aW, pos.cF - radiusTopY), + A7($terezka$elm_charts$Internal$Commands$Arc, roundingTop, roundingTop, -45, false, true, pos.aW + radiusTopX, pos.cF), + A2($terezka$elm_charts$Internal$Commands$Line, pos.ba - radiusTopX, pos.cF), + A7($terezka$elm_charts$Internal$Commands$Arc, roundingTop, roundingTop, -45, false, true, pos.ba, pos.cF - radiusTopY), + A2($terezka$elm_charts$Internal$Commands$Line, pos.ba, pos.gN), + A2($terezka$elm_charts$Internal$Commands$Line, pos.aW, pos.gN) ]), _List_fromArray( [ - A2($terezka$elm_charts$Internal$Commands$Move, highlightPos.bb, pos.g2), - A2($terezka$elm_charts$Internal$Commands$Line, highlightPos.bb, highlightPos.cV - radiusTopY), - A7($terezka$elm_charts$Internal$Commands$Arc, roundingTop, roundingTop, -45, false, true, highlightPos.bb + radiusTopX, highlightPos.cV), - A2($terezka$elm_charts$Internal$Commands$Line, highlightPos.bq - radiusTopX, highlightPos.cV), - A7($terezka$elm_charts$Internal$Commands$Arc, roundingTop, roundingTop, -45, false, true, highlightPos.bq, highlightPos.cV - radiusTopY), - A2($terezka$elm_charts$Internal$Commands$Line, highlightPos.bq, pos.g2), - A2($terezka$elm_charts$Internal$Commands$Line, pos.bq, pos.g2), - A2($terezka$elm_charts$Internal$Commands$Line, pos.bq, pos.cV - radiusTopY), - A7($terezka$elm_charts$Internal$Commands$Arc, roundingTop, roundingTop, -45, false, false, pos.bq - radiusTopX, pos.cV), - A2($terezka$elm_charts$Internal$Commands$Line, pos.bb + radiusTopX, pos.cV), - A7($terezka$elm_charts$Internal$Commands$Arc, roundingTop, roundingTop, -45, false, false, pos.bb, pos.cV - radiusTopY), - A2($terezka$elm_charts$Internal$Commands$Line, pos.bb, pos.g2) + A2($terezka$elm_charts$Internal$Commands$Move, highlightPos.aW, pos.gN), + A2($terezka$elm_charts$Internal$Commands$Line, highlightPos.aW, highlightPos.cF - radiusTopY), + A7($terezka$elm_charts$Internal$Commands$Arc, roundingTop, roundingTop, -45, false, true, highlightPos.aW + radiusTopX, highlightPos.cF), + A2($terezka$elm_charts$Internal$Commands$Line, highlightPos.ba - radiusTopX, highlightPos.cF), + A7($terezka$elm_charts$Internal$Commands$Arc, roundingTop, roundingTop, -45, false, true, highlightPos.ba, highlightPos.cF - radiusTopY), + A2($terezka$elm_charts$Internal$Commands$Line, highlightPos.ba, pos.gN), + A2($terezka$elm_charts$Internal$Commands$Line, pos.ba, pos.gN), + A2($terezka$elm_charts$Internal$Commands$Line, pos.ba, pos.cF - radiusTopY), + A7($terezka$elm_charts$Internal$Commands$Arc, roundingTop, roundingTop, -45, false, false, pos.ba - radiusTopX, pos.cF), + A2($terezka$elm_charts$Internal$Commands$Line, pos.aW + radiusTopX, pos.cF), + A7($terezka$elm_charts$Internal$Commands$Arc, roundingTop, roundingTop, -45, false, false, pos.aW, pos.cF - radiusTopY), + A2($terezka$elm_charts$Internal$Commands$Line, pos.aW, pos.gN) ])); } else { return _Utils_Tuple2( _List_fromArray( [ - A2($terezka$elm_charts$Internal$Commands$Move, pos.bb + radiusBottomX, pos.g2), - A7($terezka$elm_charts$Internal$Commands$Arc, roundingBottom, roundingBottom, -45, false, true, pos.bb, pos.g2 + radiusBottomY), - A2($terezka$elm_charts$Internal$Commands$Line, pos.bb, pos.cV - radiusTopY), - A7($terezka$elm_charts$Internal$Commands$Arc, roundingTop, roundingTop, -45, false, true, pos.bb + radiusTopX, pos.cV), - A2($terezka$elm_charts$Internal$Commands$Line, pos.bq - radiusTopX, pos.cV), - A7($terezka$elm_charts$Internal$Commands$Arc, roundingTop, roundingTop, -45, false, true, pos.bq, pos.cV - radiusTopY), - A2($terezka$elm_charts$Internal$Commands$Line, pos.bq, pos.g2 + radiusBottomY), - A7($terezka$elm_charts$Internal$Commands$Arc, roundingBottom, roundingBottom, -45, false, true, pos.bq - radiusBottomX, pos.g2), - A2($terezka$elm_charts$Internal$Commands$Line, pos.bb + radiusBottomX, pos.g2) + A2($terezka$elm_charts$Internal$Commands$Move, pos.aW + radiusBottomX, pos.gN), + A7($terezka$elm_charts$Internal$Commands$Arc, roundingBottom, roundingBottom, -45, false, true, pos.aW, pos.gN + radiusBottomY), + A2($terezka$elm_charts$Internal$Commands$Line, pos.aW, pos.cF - radiusTopY), + A7($terezka$elm_charts$Internal$Commands$Arc, roundingTop, roundingTop, -45, false, true, pos.aW + radiusTopX, pos.cF), + A2($terezka$elm_charts$Internal$Commands$Line, pos.ba - radiusTopX, pos.cF), + A7($terezka$elm_charts$Internal$Commands$Arc, roundingTop, roundingTop, -45, false, true, pos.ba, pos.cF - radiusTopY), + A2($terezka$elm_charts$Internal$Commands$Line, pos.ba, pos.gN + radiusBottomY), + A7($terezka$elm_charts$Internal$Commands$Arc, roundingBottom, roundingBottom, -45, false, true, pos.ba - radiusBottomX, pos.gN), + A2($terezka$elm_charts$Internal$Commands$Line, pos.aW + radiusBottomX, pos.gN) ]), _List_fromArray( [ - A2($terezka$elm_charts$Internal$Commands$Move, highlightPos.bb + radiusBottomX, highlightPos.g2), - A7($terezka$elm_charts$Internal$Commands$Arc, roundingBottom, roundingBottom, -45, false, true, highlightPos.bb, highlightPos.g2 + radiusBottomY), - A2($terezka$elm_charts$Internal$Commands$Line, highlightPos.bb, highlightPos.cV - radiusTopY), - A7($terezka$elm_charts$Internal$Commands$Arc, roundingTop, roundingTop, -45, false, true, highlightPos.bb + radiusTopX, highlightPos.cV), - A2($terezka$elm_charts$Internal$Commands$Line, highlightPos.bq - radiusTopX, highlightPos.cV), - A7($terezka$elm_charts$Internal$Commands$Arc, roundingTop, roundingTop, -45, false, true, highlightPos.bq, highlightPos.cV - radiusTopY), - A2($terezka$elm_charts$Internal$Commands$Line, highlightPos.bq, highlightPos.g2 + radiusBottomY), - A7($terezka$elm_charts$Internal$Commands$Arc, roundingBottom, roundingBottom, -45, false, true, highlightPos.bq - radiusBottomX, highlightPos.g2), - A2($terezka$elm_charts$Internal$Commands$Line, highlightPos.bb + radiusBottomX, highlightPos.g2), - A2($terezka$elm_charts$Internal$Commands$Line, pos.bq - radiusBottomX, pos.g2), - A7($terezka$elm_charts$Internal$Commands$Arc, roundingBottom, roundingBottom, -45, false, false, pos.bq, pos.g2 + radiusBottomY), - A2($terezka$elm_charts$Internal$Commands$Line, pos.bq, pos.cV - radiusTopY), - A7($terezka$elm_charts$Internal$Commands$Arc, roundingTop, roundingTop, -45, false, false, pos.bq - radiusTopX, pos.cV), - A2($terezka$elm_charts$Internal$Commands$Line, pos.bb + radiusTopX, pos.cV), - A7($terezka$elm_charts$Internal$Commands$Arc, roundingTop, roundingTop, -45, false, false, pos.bb, pos.cV - radiusTopY), - A2($terezka$elm_charts$Internal$Commands$Line, pos.bb, pos.g2 + radiusBottomY), - A2($terezka$elm_charts$Internal$Commands$Line, pos.bq, pos.g2) + A2($terezka$elm_charts$Internal$Commands$Move, highlightPos.aW + radiusBottomX, highlightPos.gN), + A7($terezka$elm_charts$Internal$Commands$Arc, roundingBottom, roundingBottom, -45, false, true, highlightPos.aW, highlightPos.gN + radiusBottomY), + A2($terezka$elm_charts$Internal$Commands$Line, highlightPos.aW, highlightPos.cF - radiusTopY), + A7($terezka$elm_charts$Internal$Commands$Arc, roundingTop, roundingTop, -45, false, true, highlightPos.aW + radiusTopX, highlightPos.cF), + A2($terezka$elm_charts$Internal$Commands$Line, highlightPos.ba - radiusTopX, highlightPos.cF), + A7($terezka$elm_charts$Internal$Commands$Arc, roundingTop, roundingTop, -45, false, true, highlightPos.ba, highlightPos.cF - radiusTopY), + A2($terezka$elm_charts$Internal$Commands$Line, highlightPos.ba, highlightPos.gN + radiusBottomY), + A7($terezka$elm_charts$Internal$Commands$Arc, roundingBottom, roundingBottom, -45, false, true, highlightPos.ba - radiusBottomX, highlightPos.gN), + A2($terezka$elm_charts$Internal$Commands$Line, highlightPos.aW + radiusBottomX, highlightPos.gN), + A2($terezka$elm_charts$Internal$Commands$Line, pos.ba - radiusBottomX, pos.gN), + A7($terezka$elm_charts$Internal$Commands$Arc, roundingBottom, roundingBottom, -45, false, false, pos.ba, pos.gN + radiusBottomY), + A2($terezka$elm_charts$Internal$Commands$Line, pos.ba, pos.cF - radiusTopY), + A7($terezka$elm_charts$Internal$Commands$Arc, roundingTop, roundingTop, -45, false, false, pos.ba - radiusTopX, pos.cF), + A2($terezka$elm_charts$Internal$Commands$Line, pos.aW + radiusTopX, pos.cF), + A7($terezka$elm_charts$Internal$Commands$Arc, roundingTop, roundingTop, -45, false, false, pos.aW, pos.cF - radiusTopY), + A2($terezka$elm_charts$Internal$Commands$Line, pos.aW, pos.gN + radiusBottomY), + A2($terezka$elm_charts$Internal$Commands$Line, pos.ba, pos.gN) ])); } } @@ -17666,7 +18081,7 @@ var commands = _v1.a; var highlightCommands = _v1.b; var viewAuraBar = function (fill) { - return (!config.fm) ? A6(viewBar, fill, config.ab, config.A, config.F, 1, commands) : A2( + return (!config.e9) ? A6(viewBar, fill, config.Y, config.y, config.E, 1, commands) : A2( $elm$svg$Svg$g, _List_fromArray( [ @@ -17674,16 +18089,16 @@ ]), _List_fromArray( [ - A6(viewBar, highlightColor, config.fm, 'transparent', 0, 0, highlightCommands), - A6(viewBar, fill, config.ab, config.A, config.F, 1, commands) + A6(viewBar, highlightColor, config.e9, 'transparent', 0, 0, highlightCommands), + A6(viewBar, fill, config.Y, config.y, config.E, 1, commands) ])); }; - var _v3 = config.b6; + var _v3 = config.bR; if (_v3.$ === 1) { - return viewAuraBar(config.eS); + return viewAuraBar(config.eF); } else { var design = _v3.a; - var _v4 = A2($terezka$elm_charts$Internal$Svg$toPattern, config.eS, design); + var _v4 = A2($terezka$elm_charts$Internal$Svg$toPattern, config.eF, design); var patternDefs = _v4.a; var fill = _v4.b; return A2( @@ -17795,11 +18210,11 @@ var barsConfig = A2($terezka$elm_charts$Internal$Helpers$apply, barsAttrs, $terezka$elm_charts$Internal$Produce$defaultBars); var toBarItem = F7( function (sections, barIndex, sectionIndex, section, colorIndex, dataIndex, bin) { - var visual = section.bp(bin.e0); - var value = section.bX(bin.e0); - var start = bin.cL; + var visual = section.a9(bin.eP); + var value = section.a8(bin.eP); + var start = bin.cu; var numOfSections = $elm$core$List$length(sections); - var numOfBars = barsConfig.fk ? $elm$core$List$length(properties) : 1; + var numOfBars = barsConfig.e7 ? $elm$core$List$length(properties) : 1; var minY = (numOfSections > 1) ? $elm$core$Basics$max(0) : $elm$core$Basics$identity; var y1 = minY( A2($elm$core$Maybe$withDefault, 0, visual) - A2($elm$core$Maybe$withDefault, 0, value)); @@ -17807,15 +18222,15 @@ A2($elm$core$Maybe$withDefault, 0, visual)); var isSingle = numOfSections === 1; var isLast = _Utils_eq(sectionIndex, numOfSections - 1); - var roundTop = (isSingle || isLast) ? barsConfig.f6 : 0; + var roundTop = (isSingle || isLast) ? barsConfig.fT : 0; var isFirst = !sectionIndex; - var roundBottom = (isSingle || isFirst) ? barsConfig.f5 : 0; - var end = bin.c6; + var roundBottom = (isSingle || isFirst) ? barsConfig.fS : 0; + var end = bin.cS; var length = end - start; - var margin = length * barsConfig.aN; - var spacing = length * barsConfig.gi; + var margin = length * barsConfig.ax; + var spacing = length * barsConfig.f3; var width = ((length - (margin * 2)) - ((numOfBars - 1) * spacing)) / numOfBars; - var offset = barsConfig.fk ? ((barIndex * width) + (barIndex * spacing)) : 0; + var offset = barsConfig.e7 ? ((barIndex * width) + (barIndex * spacing)) : 0; var x1 = (start + margin) + offset; var x2 = ((start + margin) + offset) + width; var defaultColor = $terezka$elm_charts$Internal$Helpers$toDefaultColor(colorIndex); @@ -17829,79 +18244,79 @@ var attrs = _Utils_ap( defaultAttrs, _Utils_ap( - section.E, - A5(section.da, barIndex, sectionIndex, dataIndex, section.dx, bin.e0))); + section.D, + A5(section.cW, barIndex, sectionIndex, dataIndex, section.dh, bin.eP))); var productOrg = toBarConfig(attrs); var product = function (p) { - return _Utils_eq(p.A, defaultColor) ? _Utils_update( + return _Utils_eq(p.y, defaultColor) ? _Utils_update( p, - {A: p.eS}) : p; + {y: p.eF}) : p; }( function (p) { - var _v21 = p.b6; + var _v21 = p.bR; if (((!_v21.$) && (_v21.a.$ === 2)) && _v21.a.a.b) { var _v22 = _v21.a.a; var color = _v22.a; - return _Utils_eq(p.eS, defaultColor) ? _Utils_update( + return _Utils_eq(p.eF, defaultColor) ? _Utils_update( p, - {eS: color}) : p; + {eF: color}) : p; } else { return p; } }(productOrg)); return { - eU: { - f$: product, - gN: $terezka$elm_charts$Internal$Item$Bar, - bW: { - A: product.A, - F: product.F, - eS: product.eS, - eZ: dataIndex, - e8: elIndex, - dd: section.L(bin.e0), - fu: colorIndex, - a2: section.dx, - f0: barIndex, - gk: sectionIndex + eH: { + fM: product, + gw: $terezka$elm_charts$Internal$Item$Bar, + bG: { + y: product.y, + E: product.E, + eF: product.eF, + eM: dataIndex, + eX: elIndex, + cZ: section.L(bin.eP), + fh: colorIndex, + aN: section.dh, + fN: barIndex, + f5: sectionIndex }, - bY: { - e0: bin.e0, - fE: function () { + dW: { + eP: bin.eP, + fr: function () { if (!value.$) { return true; } else { return false; } }(), - bb: start, - bq: end, - eg: A2($elm$core$Maybe$withDefault, 0, value) + aW: start, + ba: end, + d3: A2($elm$core$Maybe$withDefault, 0, value) } }, - gO: function (c) { + gx: function (c) { return _List_fromArray( [ A3( $terezka$elm_charts$Internal$Produce$tooltipRow, - c.bW.eS, - A2($terezka$elm_charts$Internal$Produce$toDefaultName, colorIndex, c.bW.a2), - section.L(bin.e0)) + c.bG.eF, + A2($terezka$elm_charts$Internal$Produce$toDefaultName, colorIndex, c.bG.aN), + section.L(bin.eP)) ]); }, - gP: function (config) { + gy: function (config) { return { - bb: x1, - bq: x2, - g2: A2($elm$core$Basics$min, y1, y2), - cV: A2($elm$core$Basics$max, y1, y2) + aW: x1, + ba: x2, + gN: A2($elm$core$Basics$min, y1, y2), + cF: A2($elm$core$Basics$max, y1, y2) }; }, - gS: F2( + gB: F2( function (_v20, config) { - return {bb: x1, bq: x2, g2: y1, cV: y2}; + return {aW: x1, ba: x2, gN: y1, cF: y2}; }), - gT: F3( + gC: F3( function (plane, config, position) { return A3($terezka$elm_charts$Internal$Svg$bar, plane, product, position); }) @@ -17920,10 +18335,10 @@ var rest = _v13.b; return $elm$core$Maybe$Just( { - eU: { - Q: _Utils_Tuple2(first, rest) + eH: { + O: _Utils_Tuple2(first, rest) }, - gO: function (c) { + gx: function (c) { return _List_fromArray( [ A2( @@ -17939,10 +18354,10 @@ var x = _v14.a; var xs = _v14.b; return A2($elm$core$List$cons, x, xs); - }(c.Q))) + }(c.O))) ]); }, - gP: function (c) { + gy: function (c) { return A2( $terezka$elm_charts$Internal$Coordinates$foldPosition, $terezka$elm_charts$Internal$Item$getLimits, @@ -17950,9 +18365,9 @@ var x = _v15.a; var xs = _v15.b; return A2($elm$core$List$cons, x, xs); - }(c.Q)); + }(c.O)); }, - gS: F2( + gB: F2( function (plane, c) { return A2( $terezka$elm_charts$Internal$Coordinates$foldPosition, @@ -17961,9 +18376,9 @@ var x = _v16.a; var xs = _v16.b; return A2($elm$core$List$cons, x, xs); - }(c.Q)); + }(c.O)); }), - gT: F3( + gC: F3( function (plane, c, _v17) { return A2( $elm$svg$Svg$g, @@ -17978,19 +18393,19 @@ var x = _v18.a; var xs = _v18.b; return A2($elm$core$List$cons, x, xs); - }(c.Q))); + }(c.O))); }) }); } }); var toBin = F4( function (index, prevM, curr, nextM) { - var _v0 = _Utils_Tuple2(barsConfig.bb, barsConfig.bq); + var _v0 = _Utils_Tuple2(barsConfig.aW, barsConfig.ba); if (_v0.a.$ === 1) { if (_v0.b.$ === 1) { var _v1 = _v0.a; var _v2 = _v0.b; - return {e0: curr, c6: (index + 1) + 0.5, cL: (index + 1) - 0.5}; + return {eP: curr, cS: (index + 1) + 0.5, cu: (index + 1) - 0.5}; } else { var _v8 = _v0.a; var toEnd = _v0.b.a; @@ -17998,26 +18413,26 @@ if (!_v9.a.$) { var prev = _v9.a.a; return { - e0: curr, - c6: toEnd(curr), - cL: toEnd(prev) + eP: curr, + cS: toEnd(curr), + cu: toEnd(prev) }; } else { if (!_v9.b.$) { var _v10 = _v9.a; var next = _v9.b.a; return { - e0: curr, - c6: toEnd(curr), - cL: toEnd(curr) - (toEnd(next) - toEnd(curr)) + eP: curr, + cS: toEnd(curr), + cu: toEnd(curr) - (toEnd(next) - toEnd(curr)) }; } else { var _v11 = _v9.a; var _v12 = _v9.b; return { - e0: curr, - c6: toEnd(curr), - cL: toEnd(curr) - 1 + eP: curr, + cS: toEnd(curr), + cu: toEnd(curr) - 1 }; } } @@ -18030,26 +18445,26 @@ if (!_v4.b.$) { var next = _v4.b.a; return { - e0: curr, - c6: toStart(next), - cL: toStart(curr) + eP: curr, + cS: toStart(next), + cu: toStart(curr) }; } else { if (!_v4.a.$) { var prev = _v4.a.a; var _v5 = _v4.b; return { - e0: curr, - c6: toStart(curr) + (toStart(curr) - toStart(prev)), - cL: toStart(curr) + eP: curr, + cS: toStart(curr) + (toStart(curr) - toStart(prev)), + cu: toStart(curr) }; } else { var _v6 = _v4.a; var _v7 = _v4.b; return { - e0: curr, - c6: toStart(curr) + 1, - cL: toStart(curr) + eP: curr, + cS: toStart(curr) + 1, + cu: toStart(curr) }; } } @@ -18057,9 +18472,9 @@ var toStart = _v0.a.a; var toEnd = _v0.b.a; return { - e0: curr, - c6: toEnd(curr), - cL: toStart(curr) + eP: curr, + cS: toEnd(curr), + cu: toStart(curr) }; } } @@ -18106,16 +18521,16 @@ return _Utils_update( acc, { - H: _Utils_ap( - acc.H, - barsConfig.fj ? A2( + G: _Utils_ap( + acc.G, + barsConfig.e6 ? A2( $elm$core$List$concatMap, A2( $elm$core$Basics$composeR, $terezka$elm_charts$Chart$Item$getLimits, function (pos) { return _List_fromArray( - [pos.bb, pos.bq]); + [pos.aW, pos.ba]); }), bins) : _List_Nil) }); @@ -18167,25 +18582,25 @@ var $terezka$elm_charts$Chart$Item$andThen = $terezka$elm_charts$Internal$Many$andThen; var $terezka$elm_charts$Internal$Item$isBar = function (_v0) { var item = _v0; - var _v1 = item.eU.f$; + var _v1 = item.eH.fM; if (_v1.$ === 1) { var bar = _v1.a; return $elm$core$Maybe$Just( { - eU: {f$: bar, gN: $terezka$elm_charts$Internal$Item$Bar, bW: item.eU.bW, bY: item.eU.bY}, - gO: function (c) { - return item.gO(item.eU); + eH: {fM: bar, gw: $terezka$elm_charts$Internal$Item$Bar, bG: item.eH.bG, dW: item.eH.dW}, + gx: function (c) { + return item.gx(item.eH); }, - gP: function (_v2) { - return item.gP(item.eU); + gy: function (_v2) { + return item.gy(item.eH); }, - gS: F2( + gB: F2( function (plane, _v3) { - return A2(item.gS, plane, item.eU); + return A2(item.gB, plane, item.eH); }), - gT: F2( + gC: F2( function (plane, config) { - return A2($terezka$elm_charts$Internal$Svg$bar, plane, config.f$); + return A2($terezka$elm_charts$Internal$Svg$bar, plane, config.fM); }) }); } else { @@ -18197,9 +18612,9 @@ $terezka$elm_charts$Internal$Item$getPosition, $elm$core$List$filterMap($terezka$elm_charts$Internal$Item$isBar)); var $terezka$elm_charts$Chart$Item$bars = $terezka$elm_charts$Internal$Many$bars; -var $terezka$elm_charts$Internal$Svg$defaultLabel = {i: $elm$core$Maybe$Nothing, E: _List_Nil, A: 'white', F: 0, eS: '#808BAB', j: $elm$core$Maybe$Nothing, k: $elm$core$Maybe$Nothing, l: false, o: 0, q: false, g: 0, h: 0}; +var $terezka$elm_charts$Internal$Svg$defaultLabel = {i: $elm$core$Maybe$Nothing, D: _List_Nil, y: 'white', E: 0, eF: '#808BAB', j: $elm$core$Maybe$Nothing, k: $elm$core$Maybe$Nothing, l: false, o: 0, q: false, g: 0, h: 0}; var $terezka$elm_charts$Internal$Coordinates$bottom = function (pos) { - return {ef: pos.bb + ((pos.bq - pos.bb) / 2), eg: pos.g2}; + return {d2: pos.aW + ((pos.ba - pos.aW) / 2), d3: pos.gN}; }; var $terezka$elm_charts$Chart$Item$getBottom = function (p) { return A2( @@ -18207,7 +18622,7 @@ $terezka$elm_charts$Internal$Item$getPosition(p), $terezka$elm_charts$Internal$Coordinates$bottom); }; -var $terezka$elm_charts$Chart$defaultLabel = {i: $terezka$elm_charts$Internal$Svg$defaultLabel.i, E: $terezka$elm_charts$Internal$Svg$defaultLabel.E, A: $terezka$elm_charts$Internal$Svg$defaultLabel.A, F: $terezka$elm_charts$Internal$Svg$defaultLabel.F, eS: $terezka$elm_charts$Internal$Svg$defaultLabel.eS, j: $terezka$elm_charts$Internal$Svg$defaultLabel.j, k: $terezka$elm_charts$Internal$Svg$defaultLabel.k, L: $elm$core$Maybe$Nothing, l: $terezka$elm_charts$Internal$Svg$defaultLabel.l, B: $terezka$elm_charts$Chart$Item$getBottom, o: $terezka$elm_charts$Internal$Svg$defaultLabel.o, q: $terezka$elm_charts$Internal$Svg$defaultLabel.q, g: $terezka$elm_charts$Internal$Svg$defaultLabel.g, h: $terezka$elm_charts$Internal$Svg$defaultLabel.h}; +var $terezka$elm_charts$Chart$defaultLabel = {i: $terezka$elm_charts$Internal$Svg$defaultLabel.i, D: $terezka$elm_charts$Internal$Svg$defaultLabel.D, y: $terezka$elm_charts$Internal$Svg$defaultLabel.y, E: $terezka$elm_charts$Internal$Svg$defaultLabel.E, eF: $terezka$elm_charts$Internal$Svg$defaultLabel.eF, j: $terezka$elm_charts$Internal$Svg$defaultLabel.j, k: $terezka$elm_charts$Internal$Svg$defaultLabel.k, L: $elm$core$Maybe$Nothing, l: $terezka$elm_charts$Internal$Svg$defaultLabel.l, A: $terezka$elm_charts$Chart$Item$getBottom, o: $terezka$elm_charts$Internal$Svg$defaultLabel.o, q: $terezka$elm_charts$Internal$Svg$defaultLabel.q, g: $terezka$elm_charts$Internal$Svg$defaultLabel.g, h: $terezka$elm_charts$Internal$Svg$defaultLabel.h}; var $terezka$elm_charts$Chart$SubElements = function (a) { return {$: 10, a: a}; }; @@ -18225,7 +18640,7 @@ }); var $terezka$elm_charts$Internal$Item$getDatum = function (_v0) { var item = _v0; - return item.eU.bY.e0; + return item.eH.dW.eP; }; var $terezka$elm_charts$Internal$Many$getData = function (_v0) { var group_ = _v0; @@ -18233,7 +18648,7 @@ var x = _v1.a; var xs = _v1.b; return $terezka$elm_charts$Internal$Item$getDatum(x); - }(group_.eU.Q); + }(group_.eH.O); }; var $terezka$elm_charts$Chart$Item$getOneData = $terezka$elm_charts$Internal$Many$getData; var $elm$svg$Svg$foreignObject = $elm$svg$Svg$trustedNode('foreignObject'); @@ -18293,16 +18708,16 @@ return withOverflowWrap( A4( $terezka$elm_charts$Internal$Svg$withAttrs, - config.E, + config.D, $elm$svg$Svg$text_, _List_fromArray( [ $elm$svg$Svg$Attributes$class('elm-charts__label'), - $elm$svg$Svg$Attributes$stroke(config.A), + $elm$svg$Svg$Attributes$stroke(config.y), $elm$svg$Svg$Attributes$strokeWidth( - $elm$core$String$fromFloat(config.F)), - $elm$svg$Svg$Attributes$fill(config.eS), - A6($terezka$elm_charts$Internal$Svg$position, plane, -config.o, point.ef, point.eg, config.g, config.h), + $elm$core$String$fromFloat(config.E)), + $elm$svg$Svg$Attributes$fill(config.eF), + A6($terezka$elm_charts$Internal$Svg$position, plane, -config.o, point.d2, point.d3, config.g, config.h), $elm$svg$Svg$Attributes$style( A2( $elm$core$String$join, @@ -18319,18 +18734,18 @@ var xOffWithAnchor = function () { var _v11 = config.i; if (_v11.$ === 1) { - return config.g - (ellipsis.cQ / 2); + return config.g - (ellipsis.cA / 2); } else { switch (_v11.a) { case 0: var _v12 = _v11.a; - return config.g - ellipsis.cQ; + return config.g - ellipsis.cA; case 1: var _v13 = _v11.a; return config.g; default: var _v14 = _v11.a; - return config.g - (ellipsis.cQ / 2); + return config.g - (ellipsis.cA / 2); } } }(); @@ -18378,17 +18793,17 @@ return withOverflowWrap( A4( $terezka$elm_charts$Internal$Svg$withAttrs, - config.E, + config.D, $elm$svg$Svg$foreignObject, _List_fromArray( [ $elm$svg$Svg$Attributes$class('elm-charts__label'), $elm$svg$Svg$Attributes$class('elm-charts__html-label'), $elm$svg$Svg$Attributes$width( - $elm$core$String$fromFloat(ellipsis.cQ)), + $elm$core$String$fromFloat(ellipsis.cA)), $elm$svg$Svg$Attributes$height( - $elm$core$String$fromFloat(ellipsis.di)), - A6($terezka$elm_charts$Internal$Svg$position, plane, -config.o, point.ef, point.eg, xOffWithAnchor, config.h - 10) + $elm$core$String$fromFloat(ellipsis.c2)), + A6($terezka$elm_charts$Internal$Svg$position, plane, -config.o, point.d2, point.d3, xOffWithAnchor, config.h - 10) ]), _List_fromArray( [ @@ -18402,7 +18817,7 @@ A2($elm$html$Html$Attributes$style, 'text-overflow', 'ellipsis'), A2($elm$html$Html$Attributes$style, 'height', '100%'), A2($elm$html$Html$Attributes$style, 'pointer-events', 'none'), - A2($elm$html$Html$Attributes$style, 'color', config.eS), + A2($elm$html$Html$Attributes$style, 'color', config.eF), fontStyle, uppercaseStyle, anchorStyle @@ -18422,7 +18837,7 @@ }; var $elm$svg$Svg$text = $elm$virtual_dom$VirtualDom$text; var $terezka$elm_charts$Chart$toLabelFromItemLabel = function (config) { - return {i: config.i, E: config.E, A: config.A, F: config.F, eS: config.eS, j: config.j, k: config.k, l: config.l, o: config.o, q: config.q, g: config.g, h: config.h}; + return {i: config.i, D: config.D, y: config.y, E: config.E, eF: config.eF, j: config.j, k: config.k, l: config.l, o: config.o, q: config.q, g: config.g, h: config.h}; }; var $terezka$elm_charts$Chart$binLabels = F2( function (toLabel, edits) { @@ -18454,14 +18869,14 @@ [ $elm$svg$Svg$text(text) ]), - A2(config.B, p, item)); + A2(config.A, p, item)); }) ]); })); }); var $terezka$elm_charts$Internal$Svg$Event = F2( function (name, handler) { - return {dg: handler, a2: name}; + return {c0: handler, aN: name}; }); var $elm$svg$Svg$clipPath = $elm$svg$Svg$trustedNode('clipPath'); var $debois$elm_dom$DOM$offsetHeight = A2($elm$json$Json$Decode$field, 'offsetHeight', $elm$json$Json$Decode$float); @@ -18512,7 +18927,7 @@ function (_v0, width, height) { var x = _v0.a; var y = _v0.b; - return {di: height, dv: x, d3: y, cQ: width}; + return {c2: height, df: x, dR: y, cA: width}; }), A2($debois$elm_dom$DOM$position, 0, 0), $debois$elm_dom$DOM$offsetWidth, @@ -18538,17 +18953,17 @@ }; var $terezka$elm_charts$Internal$Coordinates$toCartesianX = F2( function (plane, value) { - return A2($terezka$elm_charts$Internal$Coordinates$scaleCartesianX, plane, value - plane.ef.fJ) + plane.ef.fL; + return A2($terezka$elm_charts$Internal$Coordinates$scaleCartesianX, plane, value - plane.d2.fv) + plane.d2.di; }); var $terezka$elm_charts$Internal$Coordinates$toCartesianY = F2( function (plane, value) { - return ($terezka$elm_charts$Internal$Coordinates$range(plane.eg) - A2($terezka$elm_charts$Internal$Coordinates$scaleCartesianY, plane, value - plane.eg.fJ)) + plane.eg.fL; + return ($terezka$elm_charts$Internal$Coordinates$range(plane.d3) - A2($terezka$elm_charts$Internal$Coordinates$scaleCartesianY, plane, value - plane.d3.fv)) + plane.d3.di; }); var $terezka$elm_charts$Internal$Svg$fromSvg = F2( function (plane, point) { return { - ef: A2($terezka$elm_charts$Internal$Coordinates$toCartesianX, plane, point.ef), - eg: A2($terezka$elm_charts$Internal$Coordinates$toCartesianY, plane, point.eg) + d2: A2($terezka$elm_charts$Internal$Coordinates$toCartesianX, plane, point.d2), + d3: A2($terezka$elm_charts$Internal$Coordinates$toCartesianY, plane, point.d3) }; }); var $debois$elm_dom$DOM$target = function (decoder) { @@ -18558,24 +18973,24 @@ function (plane, toMsg) { var handle = F3( function (mouseX, mouseY, box) { - var yPrev = plane.eg; - var xPrev = plane.ef; - var widthPercent = box.cQ / plane.ef._; - var heightPercent = box.di / plane.eg._; + var yPrev = plane.d3; + var xPrev = plane.d2; + var widthPercent = box.cA / plane.d2.W; + var heightPercent = box.c2 / plane.d3.W; var newPlane = _Utils_update( plane, { - ef: _Utils_update( + d2: _Utils_update( xPrev, - {_: box.cQ, fI: plane.ef.fI * widthPercent, fJ: plane.ef.fJ * widthPercent}), - eg: _Utils_update( + {W: box.cA, fu: plane.d2.fu * widthPercent, fv: plane.d2.fv * widthPercent}), + d3: _Utils_update( yPrev, - {_: box.di, fI: plane.eg.fI * heightPercent, fJ: plane.eg.fJ * heightPercent}) + {W: box.c2, fu: plane.d3.fu * heightPercent, fv: plane.d3.fv * heightPercent}) }); var searched = A2( $terezka$elm_charts$Internal$Svg$fromSvg, newPlane, - {ef: mouseX - box.dv, eg: mouseY - box.d3}); + {d2: mouseX - box.df, d3: mouseY - box.dR}); return A2(toMsg, newPlane, searched); }); return A4( @@ -18591,23 +19006,23 @@ var toEvent = function (event) { return A2( $elm$svg$Svg$Events$on, - event.a2, - A2($terezka$elm_charts$Internal$Svg$decoder, plane, event.dg)); + event.aN, + A2($terezka$elm_charts$Internal$Svg$decoder, plane, event.c0)); }; - var svgAttrsSize = config.bQ ? _List_fromArray( + var svgAttrsSize = config.bA ? _List_fromArray( [ $elm$svg$Svg$Attributes$viewBox( - '0 0 ' + ($elm$core$String$fromFloat(plane.ef._) + (' ' + $elm$core$String$fromFloat(plane.eg._)))), + '0 0 ' + ($elm$core$String$fromFloat(plane.d2.W) + (' ' + $elm$core$String$fromFloat(plane.d3.W)))), A2($elm$html$Html$Attributes$style, 'display', 'block') ]) : _List_fromArray( [ $elm$svg$Svg$Attributes$width( - $elm$core$String$fromFloat(plane.ef._)), + $elm$core$String$fromFloat(plane.d2.W)), $elm$svg$Svg$Attributes$height( - $elm$core$String$fromFloat(plane.eg._)), + $elm$core$String$fromFloat(plane.d3.W)), A2($elm$html$Html$Attributes$style, 'display', 'block') ]); - var htmlAttrsSize = config.bQ ? _List_fromArray( + var htmlAttrsSize = config.bA ? _List_fromArray( [ A2($elm$html$Html$Attributes$style, 'width', '100%'), A2($elm$html$Html$Attributes$style, 'height', '100%') @@ -18616,25 +19031,25 @@ A2( $elm$html$Html$Attributes$style, 'width', - $elm$core$String$fromFloat(plane.ef._) + 'px'), + $elm$core$String$fromFloat(plane.d2.W) + 'px'), A2( $elm$html$Html$Attributes$style, 'height', - $elm$core$String$fromFloat(plane.eg._) + 'px') + $elm$core$String$fromFloat(plane.d3.W) + 'px') ]); var htmlAttrsDef = _List_fromArray( [ $elm$html$Html$Attributes$class('elm-charts__container-inner') ]); var htmlAttrs = _Utils_ap( - config.bJ, + config.bt, _Utils_ap(htmlAttrsDef, htmlAttrsSize)); var chartPosition = _List_fromArray( [ $elm$svg$Svg$Attributes$x( - $elm$core$String$fromFloat(plane.ef.fJ)), + $elm$core$String$fromFloat(plane.d2.fv)), $elm$svg$Svg$Attributes$y( - $elm$core$String$fromFloat(plane.eg.fJ)), + $elm$core$String$fromFloat(plane.d3.fv)), $elm$svg$Svg$Attributes$width( $elm$core$String$fromFloat( $terezka$elm_charts$Internal$Coordinates$innerWidth(plane))), @@ -18664,11 +19079,11 @@ $elm$svg$Svg$rect, _Utils_ap( chartPosition, - A2($elm$core$List$map, toEvent, config.bH)), + A2($elm$core$List$map, toEvent, config.br)), _List_Nil); var chart = A2( $elm$svg$Svg$svg, - _Utils_ap(svgAttrsSize, config.E), + _Utils_ap(svgAttrsSize, config.D), _Utils_ap( _List_fromArray( [clipPathDefs]), @@ -18701,7 +19116,7 @@ return _Utils_update( b, { - fL: A3(edit, v, b.fL, b.e$) + di: A3(edit, v, b.di, b.eO) }); }); var $terezka$elm_charts$Chart$Attributes$orLower = F3( @@ -18710,16 +19125,16 @@ }); var $terezka$elm_charts$Chart$definePlane = F2( function (config, elements) { - var width = A2($elm$core$Basics$max, 1, (config.cQ - config.ad.dv) - config.ad.dV); + var width = A2($elm$core$Basics$max, 1, (config.cA - config._.df) - config._.dG); var toLimit = F5( function (length, marginMin, marginMax, min, max) { - return {e_: max, e$: min, _: length, fI: marginMax, fJ: marginMin, cp: max, fL: min}; + return {eN: max, eO: min, W: length, fu: marginMax, fv: marginMin, bw: max, di: min}; }); - var height = A2($elm$core$Basics$max, 1, (config.di - config.ad.c0) - config.ad.d3); + var height = A2($elm$core$Basics$max, 1, (config.c2 - config._.cM) - config._.dR); var fixSingles = function (bs) { - return _Utils_eq(bs.fL, bs.cp) ? _Utils_update( + return _Utils_eq(bs.di, bs.bw) ? _Utils_update( bs, - {cp: bs.fL + 10}) : bs; + {bw: bs.di + 10}) : bs; }; var collectLimits = F2( function (el, acc) { @@ -18759,16 +19174,16 @@ }); var limits_ = function (pos) { return function (_v3) { - var x = _v3.ef; - var y = _v3.eg; + var x = _v3.d2; + var y = _v3.d3; return { - ef: fixSingles(x), - eg: fixSingles(y) + d2: fixSingles(x), + d3: fixSingles(y) }; }( { - ef: A5(toLimit, width, config.aN.dv, config.aN.dV, pos.bb, pos.bq), - eg: A5(toLimit, height, config.aN.d3, config.aN.c0, pos.g2, pos.cV) + d2: A5(toLimit, width, config.ax.df, config.ax.dG, pos.aW, pos.ba), + d3: A5(toLimit, height, config.ax.dR, config.ax.cM, pos.gN, pos.cF) }); }( A2( @@ -18776,9 +19191,9 @@ $elm$core$Basics$identity, A3($elm$core$List$foldl, collectLimits, _List_Nil, elements))); var calcRange = function () { - var _v2 = config.cz; + var _v2 = config.ch; if (!_v2.b) { - return limits_.ef; + return limits_.d2; } else { var some = _v2; return A3( @@ -18787,14 +19202,14 @@ function (f, b) { return f(b); }), - limits_.ef, + limits_.d2, some); } }(); var calcDomain = function () { - var _v1 = config.b7; + var _v1 = config.bT; if (!_v1.b) { - return A3($terezka$elm_charts$Chart$Attributes$lowest, 0, $terezka$elm_charts$Chart$Attributes$orLower, limits_.eg); + return A3($terezka$elm_charts$Chart$Attributes$lowest, 0, $terezka$elm_charts$Chart$Attributes$orLower, limits_.d3); } else { var some = _v1; return A3( @@ -18803,31 +19218,31 @@ function (f, b) { return f(b); }), - limits_.eg, + limits_.d3, some); } }(); - var unpadded = {ef: calcRange, eg: calcDomain}; + var unpadded = {d2: calcRange, d3: calcDomain}; var scalePadX = $terezka$elm_charts$Internal$Coordinates$scaleCartesianX(unpadded); - var xMax = calcRange.cp + scalePadX(config.ad.dV); - var xMin = calcRange.fL - scalePadX(config.ad.dv); + var xMax = calcRange.bw + scalePadX(config._.dG); + var xMin = calcRange.di - scalePadX(config._.df); var scalePadY = $terezka$elm_charts$Internal$Coordinates$scaleCartesianY(unpadded); - var yMax = calcDomain.cp + scalePadY(config.ad.d3); - var yMin = calcDomain.fL - scalePadY(config.ad.c0); + var yMax = calcDomain.bw + scalePadY(config._.dR); + var yMin = calcDomain.di - scalePadY(config._.cM); return { - ef: _Utils_update( + d2: _Utils_update( calcRange, { - _: config.cQ, - cp: A2($elm$core$Basics$max, xMin, xMax), - fL: A2($elm$core$Basics$min, xMin, xMax) + W: config.cA, + bw: A2($elm$core$Basics$max, xMin, xMax), + di: A2($elm$core$Basics$min, xMin, xMax) }), - eg: _Utils_update( + d3: _Utils_update( calcDomain, { - _: config.di, - cp: A2($elm$core$Basics$max, yMin, yMax), - fL: A2($elm$core$Basics$min, yMin, yMax) + W: config.c2, + bw: A2($elm$core$Basics$max, yMin, yMax), + di: A2($elm$core$Basics$min, yMin, yMax) }) }; }); @@ -18917,7 +19332,7 @@ }; var $terezka$elm_charts$Chart$TickValues = F4( function (xAxis, yAxis, xs, ys) { - return {br: xAxis, H: xs, bs: yAxis, U: ys}; + return {bb: xAxis, G: xs, bc: yAxis, Q: ys}; }); var $terezka$elm_charts$Chart$getTickValues = F3( function (plane, items, elements) { @@ -18996,7 +19411,7 @@ return _Utils_update( config, { - a5: $elm$core$Maybe$Just(0) + aQ: $elm$core$Maybe$Just(0) }); }; var $terezka$elm_charts$Internal$Helpers$darkGray = 'rgb(200 200 200)'; @@ -19004,15 +19419,15 @@ function (value, config) { return _Utils_update( config, - {bD: value}); + {bn: value}); }); -var $terezka$elm_charts$Internal$Svg$defaultDot = {A: '', F: 0, eS: $terezka$elm_charts$Internal$Helpers$pink, l: false, fm: 0, fn: '', fo: 5, ab: 1, a5: $elm$core$Maybe$Nothing, gf: 6}; +var $terezka$elm_charts$Internal$Svg$defaultDot = {y: '', E: 0, eF: $terezka$elm_charts$Internal$Helpers$pink, l: false, e9: 0, fa: '', fb: 5, Y: 1, aQ: $elm$core$Maybe$Nothing, f0: 6}; var $terezka$elm_charts$Internal$Svg$isWithinPlane = F3( function (plane, x, y) { return _Utils_eq( - A3($elm$core$Basics$clamp, plane.ef.fL, plane.ef.cp, x), + A3($elm$core$Basics$clamp, plane.d2.di, plane.d2.bw, x), x) && _Utils_eq( - A3($elm$core$Basics$clamp, plane.eg.fL, plane.eg.cp, y), + A3($elm$core$Basics$clamp, plane.d3.di, plane.d3.bw, y), y); }); var $elm$core$Basics$pi = _Basics_pi; @@ -19074,30 +19489,30 @@ var styleAttrs = _List_fromArray( [ $elm$svg$Svg$Attributes$stroke( - (config.A === '') ? config.eS : config.A), + (config.y === '') ? config.eF : config.y), $elm$svg$Svg$Attributes$strokeWidth( - $elm$core$String$fromFloat(config.F)), + $elm$core$String$fromFloat(config.E)), $elm$svg$Svg$Attributes$fillOpacity( - $elm$core$String$fromFloat(config.ab)), - $elm$svg$Svg$Attributes$fill(config.eS), + $elm$core$String$fromFloat(config.Y)), + $elm$svg$Svg$Attributes$fill(config.eF), $elm$svg$Svg$Attributes$class('elm-charts__dot'), config.l ? $terezka$elm_charts$Internal$Svg$withinChartArea(plane) : $elm$svg$Svg$Attributes$class('') ]); var showDot = A3($terezka$elm_charts$Internal$Svg$isWithinPlane, plane, xOrg, yOrg) || config.l; - var highlightColor = (config.fn === '') ? config.eS : config.fn; + var highlightColor = (config.fa === '') ? config.eF : config.fa; var highlightAttrs = _List_fromArray( [ $elm$svg$Svg$Attributes$stroke(highlightColor), $elm$svg$Svg$Attributes$strokeWidth( - $elm$core$String$fromFloat(config.fo)), + $elm$core$String$fromFloat(config.fb)), $elm$svg$Svg$Attributes$strokeOpacity( - $elm$core$String$fromFloat(config.fm)), + $elm$core$String$fromFloat(config.e9)), $elm$svg$Svg$Attributes$fill('transparent'), $elm$svg$Svg$Attributes$class('elm-charts__dot-highlight') ]); var view = F3( function (toEl, highlightOff, toAttrs) { - return (config.fm > 0) ? A2( + return (config.e9 > 0) ? A2( $elm$svg$Svg$g, _List_fromArray( [ @@ -19124,11 +19539,11 @@ styleAttrs), _List_Nil); }); - var area_ = (2 * $elm$core$Basics$pi) * config.gf; + var area_ = (2 * $elm$core$Basics$pi) * config.f0; if (!showDot) { return $elm$svg$Svg$text(''); } else { - var _v0 = config.a5; + var _v0 = config.aQ; if (_v0.$ === 1) { return $elm$svg$Svg$text(''); } else { @@ -19138,7 +19553,7 @@ return A3( view, $elm$svg$Svg$circle, - config.fo / 2, + config.fb / 2, function (off) { var radius = $elm$core$Basics$sqrt(area_ / $elm$core$Basics$pi); return _List_fromArray( @@ -19156,7 +19571,7 @@ return A3( view, $elm$svg$Svg$path, - config.fo, + config.fb, function (off) { return _List_fromArray( [ @@ -19169,7 +19584,7 @@ return A3( view, $elm$svg$Svg$rect, - config.fo, + config.fb, function (off) { var side = $elm$core$Basics$sqrt(area_); var sideOff = side + off; @@ -19190,7 +19605,7 @@ return A3( view, $elm$svg$Svg$rect, - config.fo, + config.fb, function (off) { var side = $elm$core$Basics$sqrt(area_); var sideOff = side + off; @@ -19213,7 +19628,7 @@ return A3( view, $elm$svg$Svg$path, - config.fo, + config.fb, function (off) { return _List_fromArray( [ @@ -19228,7 +19643,7 @@ return A3( view, $elm$svg$Svg$path, - config.fo, + config.fb, function (off) { return _List_fromArray( [ @@ -19250,7 +19665,7 @@ A2($terezka$elm_charts$Internal$Helpers$apply, edits, $terezka$elm_charts$Internal$Svg$defaultDot)); }); var $terezka$elm_charts$Internal$Helpers$gray = '#EFF2FA'; -var $terezka$elm_charts$Internal$Svg$defaultLine = {E: _List_Nil, eM: false, eS: 'rgb(210, 210, 210)', bD: _List_Nil, e: false, l: false, ab: 1, gH: -90, gI: 0, cQ: 1, bb: $elm$core$Maybe$Nothing, bq: $elm$core$Maybe$Nothing, g1: $elm$core$Maybe$Nothing, g: 0, g2: $elm$core$Maybe$Nothing, cV: $elm$core$Maybe$Nothing, g3: $elm$core$Maybe$Nothing, h: 0}; +var $terezka$elm_charts$Internal$Svg$defaultLine = {D: _List_Nil, ez: false, eF: 'rgb(210, 210, 210)', bn: _List_Nil, e: false, l: false, Y: 1, gq: -90, gr: 0, cA: 1, aW: $elm$core$Maybe$Nothing, ba: $elm$core$Maybe$Nothing, gM: $elm$core$Maybe$Nothing, g: 0, gN: $elm$core$Maybe$Nothing, cF: $elm$core$Maybe$Nothing, gO: $elm$core$Maybe$Nothing, h: 0}; var $elm$core$Basics$cos = _Basics_cos; var $terezka$elm_charts$Internal$Svg$lengthInCartesianX = $terezka$elm_charts$Internal$Coordinates$scaleCartesianX; var $terezka$elm_charts$Internal$Svg$lengthInCartesianY = $terezka$elm_charts$Internal$Coordinates$scaleCartesianY; @@ -19258,12 +19673,12 @@ var $elm$svg$Svg$Attributes$strokeDasharray = _VirtualDom_attribute('stroke-dasharray'); var $terezka$elm_charts$Internal$Svg$line = F2( function (plane, config) { - var angle = $elm$core$Basics$degrees(config.gH); + var angle = $elm$core$Basics$degrees(config.gq); var _v0 = function () { var _v3 = _Utils_Tuple3( - _Utils_Tuple2(config.bb, config.bq), - _Utils_Tuple2(config.g2, config.cV), - _Utils_Tuple2(config.g1, config.g3)); + _Utils_Tuple2(config.aW, config.ba), + _Utils_Tuple2(config.gN, config.cF), + _Utils_Tuple2(config.gM, config.gO)); if (!_v3.a.a.$) { if (!_v3.a.b.$) { if (_v3.b.a.$ === 1) { @@ -19276,7 +19691,7 @@ var _v7 = _v5.b; return _Utils_Tuple2( _Utils_Tuple2(a, b), - _Utils_Tuple2(plane.eg.fL, plane.eg.fL)); + _Utils_Tuple2(plane.d3.di, plane.d3.di)); } else { var _v38 = _v3.a; var a = _v38.a.a; @@ -19302,11 +19717,11 @@ } else { return _Utils_Tuple2( _Utils_Tuple2( - A2($elm$core$Maybe$withDefault, plane.ef.fL, config.bb), - A2($elm$core$Maybe$withDefault, plane.ef.cp, config.bq)), + A2($elm$core$Maybe$withDefault, plane.d2.di, config.aW), + A2($elm$core$Maybe$withDefault, plane.d2.bw, config.ba)), _Utils_Tuple2( - A2($elm$core$Maybe$withDefault, plane.eg.fL, config.g2), - A2($elm$core$Maybe$withDefault, plane.eg.cp, config.cV))); + A2($elm$core$Maybe$withDefault, plane.d3.di, config.gN), + A2($elm$core$Maybe$withDefault, plane.d3.bw, config.cF))); } } } else { @@ -19320,7 +19735,7 @@ var _v12 = _v10.b; return _Utils_Tuple2( _Utils_Tuple2(a, a), - _Utils_Tuple2(plane.eg.fL, plane.eg.cp)); + _Utils_Tuple2(plane.d3.di, plane.d3.bw)); } else { if (!_v3.c.a.$) { if (!_v3.c.b.$) { @@ -19368,7 +19783,7 @@ var _v49 = _v48.a; var _v50 = _v48.b; return _Utils_Tuple2( - _Utils_Tuple2(a, plane.ef.cp), + _Utils_Tuple2(a, plane.d2.bw), _Utils_Tuple2(b, b)); } else { var _v62 = _v3.a; @@ -19446,7 +19861,7 @@ var _v73 = _v72.a; var _v74 = _v72.b; return _Utils_Tuple2( - _Utils_Tuple2(a, plane.ef.cp), + _Utils_Tuple2(a, plane.d2.bw), _Utils_Tuple2(b, b)); } else { var _v86 = _v3.a; @@ -19480,7 +19895,7 @@ var _v17 = _v15.b; return _Utils_Tuple2( _Utils_Tuple2(b, b), - _Utils_Tuple2(plane.eg.fL, plane.eg.cp)); + _Utils_Tuple2(plane.d3.di, plane.d3.bw)); } else { if (!_v3.c.a.$) { if (!_v3.c.b.$) { @@ -19528,7 +19943,7 @@ var _v97 = _v96.a; var _v98 = _v96.b; return _Utils_Tuple2( - _Utils_Tuple2(a, plane.ef.cp), + _Utils_Tuple2(a, plane.d2.bw), _Utils_Tuple2(b, b)); } else { var _v110 = _v3.a; @@ -19606,7 +20021,7 @@ var _v121 = _v120.a; var _v122 = _v120.b; return _Utils_Tuple2( - _Utils_Tuple2(a, plane.ef.cp), + _Utils_Tuple2(a, plane.d2.bw), _Utils_Tuple2(b, b)); } else { var _v134 = _v3.a; @@ -19637,7 +20052,7 @@ var a = _v21.a.a; var b = _v21.b.a; return _Utils_Tuple2( - _Utils_Tuple2(plane.ef.fL, plane.ef.fL), + _Utils_Tuple2(plane.d2.di, plane.d2.di), _Utils_Tuple2(a, b)); } else { var _v22 = _v3.a; @@ -19647,7 +20062,7 @@ var a = _v25.a.a; var _v26 = _v25.b; return _Utils_Tuple2( - _Utils_Tuple2(plane.ef.fL, plane.ef.cp), + _Utils_Tuple2(plane.d2.di, plane.d2.bw), _Utils_Tuple2(a, a)); } } else { @@ -19659,7 +20074,7 @@ var _v31 = _v30.a; var b = _v30.b.a; return _Utils_Tuple2( - _Utils_Tuple2(plane.ef.fL, plane.ef.cp), + _Utils_Tuple2(plane.d2.di, plane.d2.bw), _Utils_Tuple2(b, b)); } else { var _v140 = _v3.a; @@ -19669,8 +20084,8 @@ var _v144 = _v143.a; var _v145 = _v143.b; return _Utils_Tuple2( - _Utils_Tuple2(plane.ef.fL, plane.ef.cp), - _Utils_Tuple2(plane.eg.fL, plane.eg.cp)); + _Utils_Tuple2(plane.d2.di, plane.d2.bw), + _Utils_Tuple2(plane.d3.di, plane.d3.bw)); } } } @@ -19686,19 +20101,19 @@ var x2_ = x2 + A2($terezka$elm_charts$Internal$Svg$lengthInCartesianX, plane, config.g); var y1_ = y1 - A2($terezka$elm_charts$Internal$Svg$lengthInCartesianY, plane, config.h); var y2_ = y2 - A2($terezka$elm_charts$Internal$Svg$lengthInCartesianY, plane, config.h); - var _v146 = (config.gI > 0) ? _Utils_Tuple2( + var _v146 = (config.gr > 0) ? _Utils_Tuple2( A2( $terezka$elm_charts$Internal$Svg$lengthInCartesianX, plane, - $elm$core$Basics$cos(angle) * config.gI), + $elm$core$Basics$cos(angle) * config.gr), A2( $terezka$elm_charts$Internal$Svg$lengthInCartesianY, plane, - $elm$core$Basics$sin(angle) * config.gI)) : _Utils_Tuple2(0, 0); + $elm$core$Basics$sin(angle) * config.gr)) : _Utils_Tuple2(0, 0); var tickOffsetX = _v146.a; var tickOffsetY = _v146.b; var cmds = config.e ? _Utils_ap( - (config.gI > 0) ? _List_fromArray( + (config.gr > 0) ? _List_fromArray( [ A2($terezka$elm_charts$Internal$Commands$Move, x2_ + tickOffsetX, y2_ + tickOffsetY), A2($terezka$elm_charts$Internal$Commands$Line, x2_, y2_) @@ -19707,7 +20122,7 @@ A2($terezka$elm_charts$Internal$Commands$Move, x2_, y2_) ]), _Utils_ap( - config.eM ? _List_fromArray( + config.ez ? _List_fromArray( [ A2($terezka$elm_charts$Internal$Commands$Line, x2_, y1_), A2($terezka$elm_charts$Internal$Commands$Line, x1_, y1_) @@ -19715,11 +20130,11 @@ [ A2($terezka$elm_charts$Internal$Commands$Line, x1_, y1_) ]), - (config.gI > 0) ? _List_fromArray( + (config.gr > 0) ? _List_fromArray( [ A2($terezka$elm_charts$Internal$Commands$Line, x1_ + tickOffsetX, y1_ + tickOffsetY) ]) : _List_Nil)) : _Utils_ap( - (config.gI > 0) ? _List_fromArray( + (config.gr > 0) ? _List_fromArray( [ A2($terezka$elm_charts$Internal$Commands$Move, x1_ + tickOffsetX, y1_ + tickOffsetY), A2($terezka$elm_charts$Internal$Commands$Line, x1_, y1_) @@ -19728,7 +20143,7 @@ A2($terezka$elm_charts$Internal$Commands$Move, x1_, y1_) ]), _Utils_ap( - config.eM ? _List_fromArray( + config.ez ? _List_fromArray( [ A2($terezka$elm_charts$Internal$Commands$Line, x1_, y2_), A2($terezka$elm_charts$Internal$Commands$Line, x2_, y2_) @@ -19736,28 +20151,28 @@ [ A2($terezka$elm_charts$Internal$Commands$Line, x2_, y2_) ]), - (config.gI > 0) ? _List_fromArray( + (config.gr > 0) ? _List_fromArray( [ A2($terezka$elm_charts$Internal$Commands$Line, x2_ + tickOffsetX, y2_ + tickOffsetY) ]) : _List_Nil)); return A4( $terezka$elm_charts$Internal$Svg$withAttrs, - config.E, + config.D, $elm$svg$Svg$path, _List_fromArray( [ $elm$svg$Svg$Attributes$class('elm-charts__line'), $elm$svg$Svg$Attributes$fill('transparent'), - $elm$svg$Svg$Attributes$stroke(config.eS), + $elm$svg$Svg$Attributes$stroke(config.eF), $elm$svg$Svg$Attributes$strokeWidth( - $elm$core$String$fromFloat(config.cQ)), + $elm$core$String$fromFloat(config.cA)), $elm$svg$Svg$Attributes$strokeOpacity( - $elm$core$String$fromFloat(config.ab)), + $elm$core$String$fromFloat(config.Y)), $elm$svg$Svg$Attributes$strokeDasharray( A2( $elm$core$String$join, ' ', - A2($elm$core$List$map, $elm$core$String$fromFloat, config.bD))), + A2($elm$core$List$map, $elm$core$String$fromFloat, config.bn))), $elm$svg$Svg$Attributes$d( A2($terezka$elm_charts$Internal$Commands$description, plane, cmds)), config.l ? $terezka$elm_charts$Internal$Svg$withinChartArea(plane) : $elm$svg$Svg$Attributes$class('') @@ -19784,20 +20199,20 @@ function (v, config) { return _Utils_update( config, - {gf: v}); + {f0: v}); }); var $terezka$elm_charts$Chart$Attributes$width = F2( function (v, config) { return _Utils_update( config, - {cQ: v}); + {cA: v}); }); var $terezka$elm_charts$Chart$Attributes$x1 = F2( function (v, config) { return _Utils_update( config, { - bb: $elm$core$Maybe$Just(v) + aW: $elm$core$Maybe$Just(v) }); }); var $terezka$elm_charts$Chart$Attributes$y1 = F2( @@ -19805,27 +20220,27 @@ return _Utils_update( config, { - g2: $elm$core$Maybe$Just(v) + gN: $elm$core$Maybe$Just(v) }); }); var $terezka$elm_charts$Chart$grid = function (edits) { var config = A2( $terezka$elm_charts$Internal$Helpers$apply, edits, - {eS: '', bD: _List_Nil, bf: false, cQ: 0}); - var width = (!config.cQ) ? (config.bf ? 0.5 : 1) : config.cQ; - var color = $elm$core$String$isEmpty(config.eS) ? (config.bf ? $terezka$elm_charts$Internal$Helpers$darkGray : $terezka$elm_charts$Internal$Helpers$gray) : config.eS; + {eF: '', bn: _List_Nil, aZ: false, cA: 0}); + var width = (!config.cA) ? (config.aZ ? 0.5 : 1) : config.cA; + var color = $elm$core$String$isEmpty(config.eF) ? (config.aZ ? $terezka$elm_charts$Internal$Helpers$darkGray : $terezka$elm_charts$Internal$Helpers$gray) : config.eF; var toDot = F4( function (vs, p, x, y) { - return (A2($elm$core$List$member, x, vs.br) || A2($elm$core$List$member, y, vs.bs)) ? $elm$core$Maybe$Nothing : $elm$core$Maybe$Just( + return (A2($elm$core$List$member, x, vs.bb) || A2($elm$core$List$member, y, vs.bc)) ? $elm$core$Maybe$Nothing : $elm$core$Maybe$Just( A5( $terezka$elm_charts$Chart$Svg$dot, p, function ($) { - return $.ef; + return $.d2; }, function ($) { - return $.eg; + return $.d3; }, _List_fromArray( [ @@ -19833,11 +20248,11 @@ $terezka$elm_charts$Chart$Attributes$size(width), $terezka$elm_charts$Chart$Attributes$circle ]), - {ef: x, eg: y})); + {d2: x, d3: y})); }); var toXGrid = F3( function (vs, p, v) { - return A2($elm$core$List$member, v, vs.br) ? $elm$core$Maybe$Nothing : $elm$core$Maybe$Just( + return A2($elm$core$List$member, v, vs.bb) ? $elm$core$Maybe$Nothing : $elm$core$Maybe$Just( A2( $terezka$elm_charts$Chart$Svg$line, p, @@ -19846,12 +20261,12 @@ $terezka$elm_charts$Chart$Attributes$color(color), $terezka$elm_charts$Chart$Attributes$width(width), $terezka$elm_charts$Chart$Attributes$x1(v), - $terezka$elm_charts$Chart$Attributes$dashed(config.bD) + $terezka$elm_charts$Chart$Attributes$dashed(config.bn) ]))); }); var toYGrid = F3( function (vs, p, v) { - return A2($elm$core$List$member, v, vs.bs) ? $elm$core$Maybe$Nothing : $elm$core$Maybe$Just( + return A2($elm$core$List$member, v, vs.bc) ? $elm$core$Maybe$Nothing : $elm$core$Maybe$Just( A2( $terezka$elm_charts$Chart$Svg$line, p, @@ -19860,7 +20275,7 @@ $terezka$elm_charts$Chart$Attributes$color(color), $terezka$elm_charts$Chart$Attributes$width(width), $terezka$elm_charts$Chart$Attributes$y1(v), - $terezka$elm_charts$Chart$Attributes$dashed(config.bD) + $terezka$elm_charts$Chart$Attributes$dashed(config.bn) ]))); }); return $terezka$elm_charts$Chart$GridElement( @@ -19872,15 +20287,15 @@ [ $elm$svg$Svg$Attributes$class('elm-charts__grid') ]), - config.bf ? A2( + config.aZ ? A2( $elm$core$List$concatMap, function (x) { return A2( $elm$core$List$filterMap, A3(toDot, vs, p, x), - vs.U); + vs.Q); }, - vs.H) : _List_fromArray( + vs.G) : _List_fromArray( [ A2( $elm$svg$Svg$g, @@ -19891,7 +20306,7 @@ A2( $elm$core$List$filterMap, A2(toXGrid, vs, p), - vs.H)), + vs.G)), A2( $elm$svg$Svg$g, _List_fromArray( @@ -19901,7 +20316,7 @@ A2( $elm$core$List$filterMap, A2(toYGrid, vs, p), - vs.U)) + vs.Q)) ])); })); }; @@ -20110,29 +20525,29 @@ $terezka$elm_charts$Internal$Helpers$apply, edits, { - E: _List_fromArray( + D: _List_fromArray( [ $elm$svg$Svg$Attributes$style('overflow: visible;') ]), - b7: _List_Nil, - bH: _List_Nil, - di: 300, - bJ: _List_Nil, - aN: {c0: 0, dv: 0, dV: 0, d3: 0}, - ad: {c0: 0, dv: 0, dV: 0, d3: 0}, - cz: _List_Nil, - bQ: true, - cQ: 300 + bT: _List_Nil, + br: _List_Nil, + c2: 300, + bt: _List_Nil, + ax: {cM: 0, df: 0, dG: 0, dR: 0}, + _: {cM: 0, df: 0, dG: 0, dR: 0}, + ch: _List_Nil, + bA: true, + cA: 300 }); var plane = A2($terezka$elm_charts$Chart$definePlane, config, elements); var items = A2($terezka$elm_charts$Chart$getItems, plane, elements); var toEvent = function (_v2) { var event_ = _v2; - var _v1 = event_.e3; + var _v1 = event_.eS; var decoder = _v1; return A2( $terezka$elm_charts$Internal$Svg$Event, - event_.a2, + event_.aN, decoder(items)); }; var tickValues = A3($terezka$elm_charts$Chart$getTickValues, plane, items, elements); @@ -20144,10 +20559,10 @@ $terezka$elm_charts$Internal$Svg$container, plane, { - E: config.E, - bH: A2($elm$core$List$map, toEvent, config.bH), - bJ: config.bJ, - bQ: config.bQ + D: config.D, + br: A2($elm$core$List$map, toEvent, config.br), + bt: config.bt, + bA: config.bA }, beforeEls, chartEls, @@ -20157,7 +20572,7 @@ var $terezka$elm_charts$Chart$Attributes$column = function (config) { return _Utils_update( config, - {c_: 1}); + {cK: 1}); }; var $terezka$elm_charts$Chart$each = F2( function (items, func) { @@ -20181,7 +20596,7 @@ _Utils_update( con, { - L: A2($elm$core$Basics$composeR, con.bX, value) + L: A2($elm$core$Basics$composeR, con.a8, value) })); } else { var cons = prop.a; @@ -20192,7 +20607,7 @@ return _Utils_update( con, { - L: A2($elm$core$Basics$composeR, con.bX, value) + L: A2($elm$core$Basics$composeR, con.a8, value) }); }, cons)); @@ -20211,7 +20626,7 @@ }; var $coinop_logan$elm_format_number$Parser$FormattedNumber = F5( function (original, integers, decimals, prefix, suffix) { - return {e2: decimals, ds: integers, dF: original, cx: prefix, cN: suffix}; + return {eR: decimals, dc: integers, dq: original, cf: prefix, cw: suffix}; }); var $coinop_logan$elm_format_number$Parser$Negative = 2; var $coinop_logan$elm_format_number$Parser$Positive = 0; @@ -20229,9 +20644,9 @@ $elm$core$String$concat( A2( $elm$core$List$append, - formatted.ds, - $elm$core$List$singleton(formatted.e2)))); - return onlyZeros ? 1 : ((formatted.dF < 0) ? 2 : 0); + formatted.dc, + $elm$core$List$singleton(formatted.eR)))); + return onlyZeros ? 1 : ((formatted.dq < 0) ? 2 : 0); }; var $elm$core$String$filter = _String_filter; var $elm$core$String$foldr = _String_foldr; @@ -20275,7 +20690,6 @@ } }; var $elm$core$Basics$isInfinite = _Basics_isInfinite; -var $elm$core$Basics$isNaN = _Basics_isNaN; var $elm$core$String$fromChar = function (_char) { return A2($elm$core$String$cons, _char, ''); }; @@ -20474,7 +20888,7 @@ var parts = A2( $elm$core$String$split, '.', - A2($myrho$elm_round$Round$round, locale.e2, original)); + A2($myrho$elm_round$Round$round, locale.eR, original)); var integers = $coinop_logan$elm_format_number$Parser$splitThousands( A2( $elm$core$String$filter, @@ -20494,18 +20908,18 @@ case 2: return _Utils_update( partial, - {cx: locale.fO, cN: locale.fP}); + {cf: locale.fz, cw: locale.fA}); case 0: return _Utils_update( partial, - {cx: locale.fZ, cN: locale.f_}); + {cf: locale.fK, cw: locale.fL}); default: return partial; } }); var $coinop_logan$elm_format_number$Stringfy$formatDecimals = F2( function (locale, decimals) { - return (decimals === '') ? '' : _Utils_ap(locale.e1, decimals); + return (decimals === '') ? '' : _Utils_ap(locale.eQ, decimals); }); var $coinop_logan$elm_format_number$Stringfy$removeZeros = function (decimals) { return (A2($elm$core$String$right, 1, decimals) !== '0') ? decimals : $coinop_logan$elm_format_number$Stringfy$removeZeros( @@ -20514,12 +20928,12 @@ var $coinop_logan$elm_format_number$Stringfy$humanizeDecimals = F3( function (locale, strategy, decimals) { if ((decimals === '') || _Utils_eq( - A2($elm$core$String$repeat, locale.e2, '0'), + A2($elm$core$String$repeat, locale.eR, '0'), decimals)) { return ''; } else { if (!strategy) { - return _Utils_ap(locale.e1, decimals); + return _Utils_ap(locale.eQ, decimals); } else { return A2( $coinop_logan$elm_format_number$Stringfy$formatDecimals, @@ -20538,11 +20952,11 @@ return $coinop_logan$elm_format_number$Stringfy$formatDecimals(locale); } }(); - var integers = A2($elm$core$String$join, locale.gF, formatted.ds); - var decimals = stringfyDecimals(formatted.e2); + var integers = A2($elm$core$String$join, locale.gp, formatted.dc); + var decimals = stringfyDecimals(formatted.eR); return $elm$core$String$concat( _List_fromArray( - [formatted.cx, integers, decimals, formatted.cN])); + [formatted.cf, integers, decimals, formatted.cw])); }); var $coinop_logan$elm_format_number$FormatNumber$format = F2( function (locale, number_) { @@ -20554,12 +20968,12 @@ }); var $coinop_logan$elm_format_number$FormatNumber$Locales$Locale = F7( function (decimals, thousandSeparator, decimalSeparator, negativePrefix, negativeSuffix, positivePrefix, positiveSuffix) { - return {e1: decimalSeparator, e2: decimals, fO: negativePrefix, fP: negativeSuffix, fZ: positivePrefix, f_: positiveSuffix, gF: thousandSeparator}; + return {eQ: decimalSeparator, eR: decimals, fz: negativePrefix, fA: negativeSuffix, fK: positivePrefix, fL: positiveSuffix, gp: thousandSeparator}; }); var $coinop_logan$elm_format_number$FormatNumber$Locales$spanishLocale = A7($coinop_logan$elm_format_number$FormatNumber$Locales$Locale, 3, '.', ',', '−', '', '', ''); var $author$project$Styling$germanLocale = _Utils_update( $coinop_logan$elm_format_number$FormatNumber$Locales$spanishLocale, - {e2: 2}); + {eR: 2}); var $author$project$Styling$formatGermanNumber = function (f) { return A2($coinop_logan$elm_format_number$FormatNumber$format, $author$project$Styling$germanLocale, f); }; @@ -20567,19 +20981,19 @@ var $terezka$elm_charts$Internal$Svg$closestPoint = F2( function (pos, searched) { return { - ef: A3($elm$core$Basics$clamp, pos.bb, pos.bq, searched.ef), - eg: A3($elm$core$Basics$clamp, pos.g2, pos.cV, searched.eg) + d2: A3($elm$core$Basics$clamp, pos.aW, pos.ba, searched.d2), + d3: A3($elm$core$Basics$clamp, pos.gN, pos.cF, searched.d3) }; }); var $terezka$elm_charts$Internal$Svg$distanceX = F3( function (plane, searched, point) { return $elm$core$Basics$abs( - A2($terezka$elm_charts$Internal$Coordinates$toSVGX, plane, point.ef) - A2($terezka$elm_charts$Internal$Coordinates$toSVGX, plane, searched.ef)); + A2($terezka$elm_charts$Internal$Coordinates$toSVGX, plane, point.d2) - A2($terezka$elm_charts$Internal$Coordinates$toSVGX, plane, searched.d2)); }); var $terezka$elm_charts$Internal$Svg$distanceY = F3( function (plane, searched, point) { return $elm$core$Basics$abs( - A2($terezka$elm_charts$Internal$Coordinates$toSVGY, plane, point.eg) - A2($terezka$elm_charts$Internal$Coordinates$toSVGY, plane, searched.eg)); + A2($terezka$elm_charts$Internal$Coordinates$toSVGY, plane, point.d3) - A2($terezka$elm_charts$Internal$Coordinates$toSVGY, plane, searched.d3)); }); var $elm$core$Basics$pow = _Basics_pow; var $terezka$elm_charts$Internal$Svg$distanceSquared = F3( @@ -20595,7 +21009,7 @@ var $terezka$elm_charts$Internal$Svg$keepOne = function (toPosition) { var toArea = function (a) { return function (pos) { - return (pos.bb - pos.bq) * (pos.g2 - pos.cV); + return (pos.aW - pos.ba) * (pos.gN - pos.cF); }( toPosition(a)); }; @@ -20670,23 +21084,23 @@ function (v, config) { return _Utils_update( config, - {di: v}); + {c2: v}); }); var $terezka$elm_charts$Chart$HtmlElement = function (a) { return {$: 13, a: a}; }; var $terezka$elm_charts$Internal$Coordinates$Axis = F7( function (length, marginMin, marginMax, dataMin, dataMax, min, max) { - return {e_: dataMax, e$: dataMin, _: length, fI: marginMax, fJ: marginMin, cp: max, fL: min}; + return {eN: dataMax, eO: dataMin, W: length, fu: marginMax, fv: marginMin, bw: max, di: min}; }); var $terezka$elm_charts$Internal$Svg$defaultContainer = { - E: _List_fromArray( + D: _List_fromArray( [ $elm$svg$Svg$Attributes$style('overflow: visible;') ]), - bH: _List_Nil, - bJ: _List_Nil, - bQ: true + br: _List_Nil, + bt: _List_Nil, + bA: true }; var $terezka$elm_charts$Internal$Svg$barLegend = F2( function (config, barConfig) { @@ -20703,8 +21117,8 @@ } }(); var fakePlane = { - ef: A7($terezka$elm_charts$Internal$Coordinates$Axis, config.cQ, 0, 0, 0, 10, 0, 10), - eg: A7($terezka$elm_charts$Internal$Coordinates$Axis, config.di, 0, 0, 0, 10, 0, 10) + d2: A7($terezka$elm_charts$Internal$Coordinates$Axis, config.cA, 0, 0, 0, 10, 0, 10), + d3: A7($terezka$elm_charts$Internal$Coordinates$Axis, config.c2, 0, 0, 0, 10, 0, 10) }; return A2( $elm$html$Html$div, @@ -20715,7 +21129,7 @@ A2($elm$html$Html$Attributes$style, 'display', 'flex'), A2($elm$html$Html$Attributes$style, 'align-items', 'center') ]), - config.bJ), + config.bt), _List_fromArray( [ A5( @@ -20723,7 +21137,7 @@ fakePlane, _Utils_update( $terezka$elm_charts$Internal$Svg$defaultContainer, - {bQ: false}), + {bA: false}), _List_Nil, _List_fromArray( [ @@ -20731,7 +21145,7 @@ $terezka$elm_charts$Internal$Svg$bar, fakePlane, barConfig, - {bb: 0, bq: 10, g2: 0, cV: 10}) + {aW: 0, ba: 10, gN: 0, cF: 10}) ]), _List_Nil), A2( @@ -20742,15 +21156,15 @@ A2( $elm$html$Html$Attributes$style, 'margin-left', - $elm$core$String$fromFloat(config.gi) + 'px') + $elm$core$String$fromFloat(config.f3) + 'px') ]), _List_fromArray( [ - $elm$html$Html$text(config.gL) + $elm$html$Html$text(config.gu) ])) ])); }); -var $terezka$elm_charts$Internal$Svg$defaultBarLegend = {eS: '#808BAB', k: $elm$core$Maybe$Nothing, di: 10, bJ: _List_Nil, gi: 10, gL: '', cQ: 10, g: 0, h: 0}; +var $terezka$elm_charts$Internal$Svg$defaultBarLegend = {eF: '#808BAB', k: $elm$core$Maybe$Nothing, c2: 10, bt: _List_Nil, f3: 10, gu: '', cA: 10, g: 0, h: 0}; var $terezka$elm_charts$Chart$Svg$barLegend = F2( function (edits, barAttrs) { return A2( @@ -20759,12 +21173,12 @@ A2($terezka$elm_charts$Internal$Helpers$apply, barAttrs, $terezka$elm_charts$Internal$Svg$defaultBar)); }); var $terezka$elm_charts$Internal$Svg$Row = 0; -var $terezka$elm_charts$Internal$Svg$defaultLegends = {c_: 0, i: $elm$core$Maybe$Nothing, ex: '', A: '', F: 0, bJ: _List_Nil, gi: 10, g: 0, h: 0}; +var $terezka$elm_charts$Internal$Svg$defaultLegends = {cK: 0, i: $elm$core$Maybe$Nothing, ek: '', y: '', E: 0, bt: _List_Nil, f3: 10, g: 0, h: 0}; var $elm$html$Html$node = $elm$virtual_dom$VirtualDom$node; var $terezka$elm_charts$Internal$Svg$positionHtml = F7( function (plane, x, y, xOff, yOff, attrs, content) { - var yPercentage = ((A2($terezka$elm_charts$Internal$Coordinates$toSVGY, plane, y) - yOff) * 100) / plane.eg._; - var xPercentage = ((A2($terezka$elm_charts$Internal$Coordinates$toSVGX, plane, x) + xOff) * 100) / plane.ef._; + var yPercentage = ((A2($terezka$elm_charts$Internal$Coordinates$toSVGY, plane, y) - yOff) * 100) / plane.d3.W; + var xPercentage = ((A2($terezka$elm_charts$Internal$Coordinates$toSVGX, plane, x) + xOff) * 100) / plane.d2.W; var posititonStyles = _List_fromArray( [ A2( @@ -20788,12 +21202,12 @@ var otherAttrs = _List_fromArray( [ $elm$html$Html$Attributes$class('elm-charts__legends'), - A2($elm$html$Html$Attributes$style, 'background', config.ex), - A2($elm$html$Html$Attributes$style, 'border-color', config.A), + A2($elm$html$Html$Attributes$style, 'background', config.ek), + A2($elm$html$Html$Attributes$style, 'border-color', config.y), A2( $elm$html$Html$Attributes$style, 'border-width', - $elm$core$String$fromFloat(config.F) + 'px'), + $elm$core$String$fromFloat(config.E) + 'px'), A2($elm$html$Html$Attributes$style, 'border-style', 'solid') ]); var anchorAttrs = function () { @@ -20827,7 +21241,7 @@ } }(); var _v0 = function () { - var _v1 = config.c_; + var _v1 = config.cK; if (!_v1) { return _Utils_Tuple2( _List_fromArray( @@ -20849,7 +21263,7 @@ }(); var alignmentAttrs = _v0.a; var direction = _v0.b; - var paddingStyle = ' .elm-charts__legends .elm-charts__legend {\n margin-' + (direction + (':' + ($elm$core$String$fromFloat(config.gi) + ('px;\n }\n\n .elm-charts__legends .elm-charts__legend:last-child {\n margin-' + (direction + ': 0px;\n }\n '))))); + var paddingStyle = ' .elm-charts__legends .elm-charts__legend {\n margin-' + (direction + (':' + ($elm$core$String$fromFloat(config.f3) + ('px;\n }\n\n .elm-charts__legends .elm-charts__legend:last-child {\n margin-' + (direction + ': 0px;\n }\n '))))); return A7( $terezka$elm_charts$Internal$Svg$positionHtml, plane, @@ -20861,7 +21275,7 @@ anchorAttrs, _Utils_ap( alignmentAttrs, - _Utils_ap(otherAttrs, config.bJ))), + _Utils_ap(otherAttrs, config.bt))), A2( $elm$core$List$cons, A3( @@ -20883,18 +21297,18 @@ y, A2($terezka$elm_charts$Internal$Helpers$apply, edits, $terezka$elm_charts$Internal$Svg$defaultLegends)); }); -var $terezka$elm_charts$Internal$Svg$defaultInterpolation = {E: _List_Nil, eS: $terezka$elm_charts$Internal$Helpers$pink, bD: _List_Nil, b6: $elm$core$Maybe$Nothing, fK: $elm$core$Maybe$Nothing, ab: 0, cQ: 1}; -var $terezka$elm_charts$Internal$Svg$defaultLineLegend = {eS: '#808BAB', k: $elm$core$Maybe$Nothing, di: 16, bJ: _List_Nil, gi: 10, gL: '', cQ: 30, g: 0, h: 0}; +var $terezka$elm_charts$Internal$Svg$defaultInterpolation = {D: _List_Nil, eF: $terezka$elm_charts$Internal$Helpers$pink, bn: _List_Nil, bR: $elm$core$Maybe$Nothing, fw: $elm$core$Maybe$Nothing, Y: 0, cA: 1}; +var $terezka$elm_charts$Internal$Svg$defaultLineLegend = {eF: '#808BAB', k: $elm$core$Maybe$Nothing, c2: 16, bt: _List_Nil, f3: 10, gu: '', cA: 30, g: 0, h: 0}; var $terezka$elm_charts$Internal$Svg$Point = F2( function (x, y) { - return {ef: x, eg: y}; + return {d2: x, d3: y}; }); var $elm$svg$Svg$Attributes$fillRule = _VirtualDom_attribute('fill-rule'); var $terezka$elm_charts$Internal$Interpolation$linear = $elm$core$List$map( $elm$core$List$map( function (_v0) { - var x = _v0.ef; - var y = _v0.eg; + var x = _v0.d2; + var y = _v0.d3; return A2($terezka$elm_charts$Internal$Commands$Line, x, y); })); var $terezka$elm_charts$Internal$Interpolation$First = {$: 0}; @@ -20903,13 +21317,13 @@ }; var $terezka$elm_charts$Internal$Interpolation$monotoneCurve = F4( function (point0, point1, tangent0, tangent1) { - var dx = (point1.ef - point0.ef) / 3; - return A6($terezka$elm_charts$Internal$Commands$CubicBeziers, point0.ef + dx, point0.eg + (dx * tangent0), point1.ef - dx, point1.eg - (dx * tangent1), point1.ef, point1.eg); + var dx = (point1.d2 - point0.d2) / 3; + return A6($terezka$elm_charts$Internal$Commands$CubicBeziers, point0.d2 + dx, point0.d3 + (dx * tangent0), point1.d2 - dx, point1.d3 - (dx * tangent1), point1.d2, point1.d3); }); var $terezka$elm_charts$Internal$Interpolation$slope2 = F3( function (point0, point1, t) { - var h = point1.ef - point0.ef; - return (!(!h)) ? ((((3 * (point1.eg - point0.eg)) / h) - t) / 2) : t; + var h = point1.d2 - point0.d2; + return (!(!h)) ? ((((3 * (point1.d3 - point0.d3)) / h) - t) / 2) : t; }); var $terezka$elm_charts$Internal$Interpolation$sign = function (x) { return (x < 0) ? (-1) : 1; @@ -20920,12 +21334,12 @@ }); var $terezka$elm_charts$Internal$Interpolation$slope3 = F3( function (point0, point1, point2) { - var h1 = point2.ef - point1.ef; - var h0 = point1.ef - point0.ef; + var h1 = point2.d2 - point1.d2; + var h0 = point1.d2 - point0.d2; var s0h = A2($terezka$elm_charts$Internal$Interpolation$toH, h0, h1); - var s0 = (point1.eg - point0.eg) / s0h; + var s0 = (point1.d3 - point0.d3) / s0h; var s1h = A2($terezka$elm_charts$Internal$Interpolation$toH, h1, h0); - var s1 = (point2.eg - point1.eg) / s1h; + var s1 = (point2.d3 - point1.d3) / s1h; var p = ((s0 * h1) + (s1 * h0)) / (h0 + h1); var slope = ($terezka$elm_charts$Internal$Interpolation$sign(s0) + $terezka$elm_charts$Internal$Interpolation$sign(s1)) * A2( $elm$core$Basics$min, @@ -20984,7 +21398,7 @@ _List_fromArray( [ A4($terezka$elm_charts$Internal$Interpolation$monotoneCurve, p0, p1, t1, t1), - A2($terezka$elm_charts$Internal$Commands$Line, p1.ef, p1.eg) + A2($terezka$elm_charts$Internal$Commands$Line, p1.d2, p1.d3) ]))); } } else { @@ -21030,7 +21444,7 @@ _List_fromArray( [ A4($terezka$elm_charts$Internal$Interpolation$monotoneCurve, p0, p1, t0, t1), - A2($terezka$elm_charts$Internal$Commands$Line, p1.ef, p1.eg) + A2($terezka$elm_charts$Internal$Commands$Line, p1.d2, p1.d3) ]))); } } else { @@ -21055,7 +21469,7 @@ tangent, _List_fromArray( [ - A2($terezka$elm_charts$Internal$Commands$Line, p0.ef, p0.eg) + A2($terezka$elm_charts$Internal$Commands$Line, p0.d2, p0.d3) ]))); } else { return _Utils_Tuple2(tangent, _List_Nil); @@ -21076,14 +21490,14 @@ }; var $terezka$elm_charts$Internal$Interpolation$Point = F2( function (x, y) { - return {ef: x, eg: y}; + return {d2: x, d3: y}; }); var $terezka$elm_charts$Internal$Interpolation$after = F2( function (a, b) { return _List_fromArray( [ a, - A2($terezka$elm_charts$Internal$Interpolation$Point, b.ef, a.eg), + A2($terezka$elm_charts$Internal$Interpolation$Point, b.d2, a.d3), b ]); }); @@ -21121,8 +21535,8 @@ expand(_List_Nil), $elm$core$List$map( function (_v2) { - var x = _v2.ef; - var y = _v2.eg; + var x = _v2.d2; + var y = _v2.d3; return A2($terezka$elm_charts$Internal$Commands$Line, x, y); })), sections); @@ -21178,8 +21592,8 @@ _List_fromArray( [ { - ef: toX(datum_), - eg: y_ + d2: toX(datum_), + d3: y_ } ])), rest); @@ -21189,8 +21603,8 @@ _List_fromArray( [ { - ef: toX(datum_), - eg: y_ + d2: toX(datum_), + d3: y_ } ]), acc); @@ -21219,14 +21633,14 @@ var $terezka$elm_charts$Internal$Svg$area = F6( function (plane, toX, toY2M, toY, config, data) { var _v0 = function () { - var _v1 = config.b6; + var _v1 = config.bR; if (_v1.$ === 1) { return _Utils_Tuple2( $elm$svg$Svg$text(''), - config.eS); + config.eF); } else { var design = _v1.a; - return A2($terezka$elm_charts$Internal$Svg$toPattern, config.eS, design); + return A2($terezka$elm_charts$Internal$Svg$toPattern, config.eF, design); } }(); var patternDefs = _v0.a; @@ -21234,14 +21648,14 @@ var view = function (cmds) { return A4( $terezka$elm_charts$Internal$Svg$withAttrs, - config.E, + config.D, $elm$svg$Svg$path, _List_fromArray( [ $elm$svg$Svg$Attributes$class('elm-charts__area-section'), $elm$svg$Svg$Attributes$fill(fill), $elm$svg$Svg$Attributes$fillOpacity( - $elm$core$String$fromFloat(config.ab)), + $elm$core$String$fromFloat(config.Y)), $elm$svg$Svg$Attributes$strokeWidth('0'), $elm$svg$Svg$Attributes$fillRule('evenodd'), $elm$svg$Svg$Attributes$d( @@ -21262,21 +21676,21 @@ _Utils_ap( _List_fromArray( [ - A2($terezka$elm_charts$Internal$Commands$Move, firstBottom.ef, firstBottom.eg), - A2($terezka$elm_charts$Internal$Commands$Line, firstTop.ef, firstTop.eg) + A2($terezka$elm_charts$Internal$Commands$Move, firstBottom.d2, firstBottom.d3), + A2($terezka$elm_charts$Internal$Commands$Line, firstTop.d2, firstTop.d3) ]), _Utils_ap( cmdsTop, _Utils_ap( _List_fromArray( [ - A2($terezka$elm_charts$Internal$Commands$Move, firstBottom.ef, firstBottom.eg) + A2($terezka$elm_charts$Internal$Commands$Move, firstBottom.d2, firstBottom.d3) ]), _Utils_ap( cmdsBottom, _List_fromArray( [ - A2($terezka$elm_charts$Internal$Commands$Line, endTop.ef, endTop.eg) + A2($terezka$elm_charts$Internal$Commands$Line, endTop.d2, endTop.d3) ])))))); }); var withoutUnder = function (_v4) { @@ -21287,20 +21701,20 @@ _Utils_ap( _List_fromArray( [ - A2($terezka$elm_charts$Internal$Commands$Move, first.ef, 0), - A2($terezka$elm_charts$Internal$Commands$Line, first.ef, first.eg) + A2($terezka$elm_charts$Internal$Commands$Move, first.d2, 0), + A2($terezka$elm_charts$Internal$Commands$Line, first.d2, first.d3) ]), _Utils_ap( cmds, _List_fromArray( [ - A2($terezka$elm_charts$Internal$Commands$Line, end.ef, 0) + A2($terezka$elm_charts$Internal$Commands$Line, end.d2, 0) ])))); }; - if (config.ab <= 0) { + if (config.Y <= 0) { return $elm$svg$Svg$text(''); } else { - var _v2 = config.fK; + var _v2 = config.fw; if (_v2.$ === 1) { return $elm$svg$Svg$text(''); } else { @@ -21342,33 +21756,33 @@ var cmds = _v1.b; return A4( $terezka$elm_charts$Internal$Svg$withAttrs, - config.E, + config.D, $elm$svg$Svg$path, _List_fromArray( [ $elm$svg$Svg$Attributes$class('elm-charts__interpolation-section'), $elm$svg$Svg$Attributes$fill('transparent'), - $elm$svg$Svg$Attributes$stroke(config.eS), + $elm$svg$Svg$Attributes$stroke(config.eF), $elm$svg$Svg$Attributes$strokeDasharray( A2( $elm$core$String$join, ' ', - A2($elm$core$List$map, $elm$core$String$fromFloat, config.bD))), + A2($elm$core$List$map, $elm$core$String$fromFloat, config.bn))), $elm$svg$Svg$Attributes$strokeWidth( - $elm$core$String$fromFloat(config.cQ)), + $elm$core$String$fromFloat(config.cA)), $elm$svg$Svg$Attributes$d( A2( $terezka$elm_charts$Internal$Commands$description, plane, A2( $elm$core$List$cons, - A2($terezka$elm_charts$Internal$Commands$Move, first.ef, first.eg), + A2($terezka$elm_charts$Internal$Commands$Move, first.d2, first.d3), cmds))), $terezka$elm_charts$Internal$Svg$withinChartArea(plane) ]), _List_Nil); }; - var _v0 = config.fK; + var _v0 = config.fw; if (_v0.$ === 1) { return $elm$svg$Svg$text(''); } else { @@ -21408,10 +21822,10 @@ var $terezka$elm_charts$Internal$Svg$lineLegend = F3( function (config, interConfig, dotConfig) { var topMargin = function () { - var _v1 = dotConfig.a5; + var _v1 = dotConfig.aQ; if (!_v1.$) { var shape = _v1.a; - return A2($terezka$elm_charts$Internal$Svg$toRadius, dotConfig.gf, shape); + return A2($terezka$elm_charts$Internal$Svg$toRadius, dotConfig.f0, shape); } else { return 0; } @@ -21429,10 +21843,10 @@ } }(); var fakePlane = { - ef: A7($terezka$elm_charts$Internal$Coordinates$Axis, config.cQ, 0, 0, 0, 10, 0, 10), - eg: A7($terezka$elm_charts$Internal$Coordinates$Axis, config.di, 0, 0, 0, 10, 0, 10) + d2: A7($terezka$elm_charts$Internal$Coordinates$Axis, config.cA, 0, 0, 0, 10, 0, 10), + d3: A7($terezka$elm_charts$Internal$Coordinates$Axis, config.c2, 0, 0, 0, 10, 0, 10) }; - var bottomMargin = (!interConfig.ab) ? topMargin : 0; + var bottomMargin = (!interConfig.Y) ? topMargin : 0; return A2( $elm$html$Html$div, _Utils_ap( @@ -21442,7 +21856,7 @@ A2($elm$html$Html$Attributes$style, 'display', 'flex'), A2($elm$html$Html$Attributes$style, 'align-items', 'center') ]), - config.bJ), + config.bt), _List_fromArray( [ A5( @@ -21450,7 +21864,7 @@ fakePlane, _Utils_update( $terezka$elm_charts$Internal$Svg$defaultContainer, - {bQ: false}), + {bA: false}), _List_Nil, _List_fromArray( [ @@ -21458,12 +21872,12 @@ $terezka$elm_charts$Internal$Svg$interpolation, fakePlane, function ($) { - return $.ef; + return $.d2; }, A2( $elm$core$Basics$composeR, function ($) { - return $.eg; + return $.d3; }, $elm$core$Maybe$Just), interConfig, @@ -21476,13 +21890,13 @@ $terezka$elm_charts$Internal$Svg$area, fakePlane, function ($) { - return $.ef; + return $.d2; }, $elm$core$Maybe$Nothing, A2( $elm$core$Basics$composeR, function ($) { - return $.eg; + return $.d3; }, $elm$core$Maybe$Just), interConfig, @@ -21495,10 +21909,10 @@ $terezka$elm_charts$Internal$Svg$dot, fakePlane, function ($) { - return $.ef; + return $.d2; }, function ($) { - return $.eg; + return $.d3; }, dotConfig, A2($terezka$elm_charts$Internal$Svg$Point, 5, 5)) @@ -21512,11 +21926,11 @@ A2( $elm$html$Html$Attributes$style, 'margin-left', - $elm$core$String$fromFloat(config.gi) + 'px') + $elm$core$String$fromFloat(config.f3) + 'px') ]), _List_fromArray( [ - $elm$html$Html$text(config.gL) + $elm$html$Html$text(config.gu) ])) ])); }); @@ -21525,14 +21939,14 @@ return _Utils_update( config, { - fK: $elm$core$Maybe$Just(0) + fw: $elm$core$Maybe$Just(0) }); }; var $terezka$elm_charts$Chart$Attributes$opacity = F2( function (v, config) { return _Utils_update( config, - {ab: v}); + {Y: v}); }); var $terezka$elm_charts$Chart$Svg$lineLegend = F3( function (edits, interAttrsOrg, dotAttrsOrg) { @@ -21541,10 +21955,10 @@ var adjustWidth = function (config) { return _Utils_update( config, - {cQ: 10}); + {cA: 10}); }; var _v0 = function () { - var _v1 = _Utils_Tuple2(interpolationConfigOrg.fK, dotConfigOrg.a5); + var _v1 = _Utils_Tuple2(interpolationConfigOrg.fw, dotConfigOrg.aQ); if (!_v1.a.$) { if (_v1.b.$ === 1) { var _v2 = _v1.b; @@ -21600,7 +22014,7 @@ function (value, config) { return _Utils_update( config, - {gL: value}); + {gu: value}); }); var $terezka$elm_charts$Chart$legendsAt = F4( function (toX, toY, attrs, children) { @@ -21635,8 +22049,8 @@ return A5( $terezka$elm_charts$Chart$Svg$legendsAt, p, - toX(p.ef), - toY(p.eg), + toX(p.d2), + toY(p.d3), attrs, A2($elm$core$List$map, viewLegend, legends_)); })); @@ -21661,7 +22075,7 @@ _Utils_update( con, { - dx: $elm$core$Maybe$Just(value) + dh: $elm$core$Maybe$Just(value) })); } else { var cons = prop.a; @@ -21672,7 +22086,7 @@ return _Utils_update( con, { - dx: $elm$core$Maybe$Just(value) + dh: $elm$core$Maybe$Just(value) }); }, cons)); @@ -21702,10 +22116,10 @@ return _Utils_update( config, { - bH: A2( + br: A2( $elm$core$List$cons, - {e3: decoder, a2: name}, - config.bH) + {eS: decoder, aN: name}, + config.br) }); }); var $terezka$elm_charts$Chart$Events$on = $terezka$elm_charts$Internal$Events$on; @@ -21729,7 +22143,7 @@ function (v, config) { return _Utils_update( config, - {gi: v}); + {f3: v}); }); var $terezka$elm_charts$Chart$html = function (func) { return $terezka$elm_charts$Chart$HtmlElement( @@ -21738,57 +22152,57 @@ return func(p); })); }; -var $terezka$elm_charts$Internal$Svg$defaultTooltip = {a$: true, ex: 'white', A: '#D8D8D8', e6: $elm$core$Maybe$Nothing, fg: $elm$core$Maybe$Nothing, di: 0, fQ: 8, cQ: 0}; +var $terezka$elm_charts$Internal$Svg$defaultTooltip = {aJ: true, ek: 'white', y: '#D8D8D8', eV: $elm$core$Maybe$Nothing, e3: $elm$core$Maybe$Nothing, c2: 0, fB: 8, cA: 0}; var $terezka$elm_charts$Internal$Svg$Bottom = 3; var $terezka$elm_charts$Internal$Svg$Left = 1; var $terezka$elm_charts$Internal$Svg$Right = 2; var $terezka$elm_charts$Internal$Svg$Top = 0; var $terezka$elm_charts$Internal$Coordinates$left = function (pos) { - return {ef: pos.bb, eg: pos.g2 + ((pos.cV - pos.g2) / 2)}; + return {d2: pos.aW, d3: pos.gN + ((pos.cF - pos.gN) / 2)}; }; var $elm$html$Html$map = $elm$virtual_dom$VirtualDom$map; var $terezka$elm_charts$Internal$Coordinates$right = function (pos) { - return {ef: pos.bq, eg: pos.g2 + ((pos.cV - pos.g2) / 2)}; + return {d2: pos.ba, d3: pos.gN + ((pos.cF - pos.gN) / 2)}; }; var $terezka$elm_charts$Internal$Svg$tooltipPointerStyle = F4( function (direction, className, background, borderColor) { var config = function () { switch (direction) { case 0: - return {aD: 'right', X: 'top', al: 'left'}; + return {ar: 'right', T: 'top', ag: 'left'}; case 3: - return {aD: 'right', X: 'bottom', al: 'left'}; + return {ar: 'right', T: 'bottom', ag: 'left'}; case 1: - return {aD: 'bottom', X: 'left', al: 'top'}; + return {ar: 'bottom', T: 'left', ag: 'top'}; case 2: - return {aD: 'bottom', X: 'right', al: 'top'}; + return {ar: 'bottom', T: 'right', ag: 'top'}; case 4: - return {aD: 'bottom', X: 'left', al: 'top'}; + return {ar: 'bottom', T: 'left', ag: 'top'}; default: - return {aD: 'right', X: 'top', al: 'left'}; + return {ar: 'right', T: 'top', ag: 'left'}; } }(); - return '\n .' + (className + (':before, .' + (className + (':after {\n content: "";\n position: absolute;\n border-' + (config.al + (': 5px solid transparent;\n border-' + (config.aD + (': 5px solid transparent;\n ' + (config.X + (': 100%;\n ' + (config.al + (': 50%;\n margin-' + (config.al + (': -5px;\n }\n\n .' + (className + (':after {\n border-' + (config.X + (': 5px solid ' + (background + (';\n margin-' + (config.X + (': -1px;\n z-index: 1;\n height: 0px;\n }\n\n .' + (className + (':before {\n border-' + (config.X + (': 5px solid ' + (borderColor + ';\n height: 0px;\n }\n '))))))))))))))))))))))))))); + return '\n .' + (className + (':before, .' + (className + (':after {\n content: "";\n position: absolute;\n border-' + (config.ag + (': 5px solid transparent;\n border-' + (config.ar + (': 5px solid transparent;\n ' + (config.T + (': 100%;\n ' + (config.ag + (': 50%;\n margin-' + (config.ag + (': -5px;\n }\n\n .' + (className + (':after {\n border-' + (config.T + (': 5px solid ' + (background + (';\n margin-' + (config.T + (': -1px;\n z-index: 1;\n height: 0px;\n }\n\n .' + (className + (':before {\n border-' + (config.T + (': 5px solid ' + (borderColor + ';\n height: 0px;\n }\n '))))))))))))))))))))))))))); }); var $terezka$elm_charts$Internal$Coordinates$top = function (pos) { - return {ef: pos.bb + ((pos.bq - pos.bb) / 2), eg: pos.cV}; + return {d2: pos.aW + ((pos.ba - pos.aW) / 2), d3: pos.cF}; }; var $terezka$elm_charts$Internal$Svg$tooltip = F5( function (plane, pos, config, htmlAttrs, content) { - var distanceTop = A2($terezka$elm_charts$Internal$Coordinates$toSVGY, plane, pos.cV); - var distanceRight = plane.ef._ - A2($terezka$elm_charts$Internal$Coordinates$toSVGX, plane, pos.bb); - var distanceLeft = A2($terezka$elm_charts$Internal$Coordinates$toSVGX, plane, pos.bq); - var distanceBottom = plane.eg._ - A2($terezka$elm_charts$Internal$Coordinates$toSVGY, plane, pos.g2); + var distanceTop = A2($terezka$elm_charts$Internal$Coordinates$toSVGY, plane, pos.cF); + var distanceRight = plane.d2.W - A2($terezka$elm_charts$Internal$Coordinates$toSVGX, plane, pos.aW); + var distanceLeft = A2($terezka$elm_charts$Internal$Coordinates$toSVGX, plane, pos.ba); + var distanceBottom = plane.d3.W - A2($terezka$elm_charts$Internal$Coordinates$toSVGY, plane, pos.gN); var direction = function () { - var _v5 = config.e6; + var _v5 = config.eV; if (!_v5.$) { switch (_v5.a) { case 4: var _v6 = _v5.a; - return (config.cQ > 0) ? ((_Utils_cmp(distanceLeft, config.cQ + config.fQ) > 0) ? 1 : 2) : ((_Utils_cmp(distanceLeft, distanceRight) > 0) ? 1 : 2); + return (config.cA > 0) ? ((_Utils_cmp(distanceLeft, config.cA + config.fB) > 0) ? 1 : 2) : ((_Utils_cmp(distanceLeft, distanceRight) > 0) ? 1 : 2); case 5: var _v7 = _v5.a; - return (config.di > 0) ? ((_Utils_cmp(distanceTop, config.di + config.fQ) > 0) ? 0 : 3) : ((_Utils_cmp(distanceTop, distanceBottom) > 0) ? 0 : 3); + return (config.c2 > 0) ? ((_Utils_cmp(distanceTop, config.c2 + config.fB) > 0) ? 0 : 3) : ((_Utils_cmp(distanceTop, distanceBottom) > 0) ? 0 : 3); default: var dir = _v5.a; return dir; @@ -21816,7 +22230,7 @@ } }(); var focalPoint = function () { - var _v2 = config.fg; + var _v2 = config.e3; if (!_v2.$) { var focal = _v2.a; switch (direction) { @@ -21856,28 +22270,28 @@ } } }(); - var arrowWidth = config.a$ ? 4 : 0; + var arrowWidth = config.aJ ? 4 : 0; var _v0 = function () { switch (direction) { case 0: - return {aG: 'elm-charts__tooltip-top', aV: 'translate(-50%, -100%)', g: 0, h: config.fQ + arrowWidth}; + return {au: 'elm-charts__tooltip-top', aD: 'translate(-50%, -100%)', g: 0, h: config.fB + arrowWidth}; case 3: - return {aG: 'elm-charts__tooltip-bottom', aV: 'translate(-50%, 0%)', g: 0, h: (-config.fQ) - arrowWidth}; + return {au: 'elm-charts__tooltip-bottom', aD: 'translate(-50%, 0%)', g: 0, h: (-config.fB) - arrowWidth}; case 1: - return {aG: 'elm-charts__tooltip-left', aV: 'translate(-100%, -50%)', g: (-config.fQ) - arrowWidth, h: 0}; + return {au: 'elm-charts__tooltip-left', aD: 'translate(-100%, -50%)', g: (-config.fB) - arrowWidth, h: 0}; case 2: - return {aG: 'elm-charts__tooltip-right', aV: 'translate(0, -50%)', g: config.fQ + arrowWidth, h: 0}; + return {au: 'elm-charts__tooltip-right', aD: 'translate(0, -50%)', g: config.fB + arrowWidth, h: 0}; case 4: - return {aG: 'elm-charts__tooltip-leftOrRight', aV: 'translate(0, -50%)', g: (-config.fQ) - arrowWidth, h: 0}; + return {au: 'elm-charts__tooltip-leftOrRight', aD: 'translate(0, -50%)', g: (-config.fB) - arrowWidth, h: 0}; default: - return {aG: 'elm-charts__tooltip-topOrBottom', aV: 'translate(-50%, -100%)', g: 0, h: config.fQ + arrowWidth}; + return {au: 'elm-charts__tooltip-topOrBottom', aD: 'translate(-50%, -100%)', g: 0, h: config.fB + arrowWidth}; } }(); var xOff = _v0.g; var yOff = _v0.h; - var transformation = _v0.aV; - var className = _v0.aG; - var children = config.a$ ? A2( + var transformation = _v0.aD; + var className = _v0.au; + var children = config.aJ ? A2( $elm$core$List$cons, A3( $elm$html$Html$node, @@ -21886,7 +22300,7 @@ _List_fromArray( [ $elm$html$Html$text( - A4($terezka$elm_charts$Internal$Svg$tooltipPointerStyle, direction, className, config.ex, config.A)) + A4($terezka$elm_charts$Internal$Svg$tooltipPointerStyle, direction, className, config.ek, config.y)) ])), content) : content; var attributes = _Utils_ap( @@ -21895,8 +22309,8 @@ $elm$html$Html$Attributes$class(className), A2($elm$html$Html$Attributes$style, 'transform', transformation), A2($elm$html$Html$Attributes$style, 'padding', '5px 8px'), - A2($elm$html$Html$Attributes$style, 'background', config.ex), - A2($elm$html$Html$Attributes$style, 'border', '1px solid ' + config.A), + A2($elm$html$Html$Attributes$style, 'background', config.ek), + A2($elm$html$Html$Attributes$style, 'border', '1px solid ' + config.y), A2($elm$html$Html$Attributes$style, 'border-radius', '3px'), A2($elm$html$Html$Attributes$style, 'pointer-events', 'none') ]), @@ -21904,7 +22318,7 @@ return A2( $elm$html$Html$map, $elm$core$Basics$never, - A7($terezka$elm_charts$Internal$Svg$positionHtml, plane, focalPoint.ef, focalPoint.eg, xOff, yOff, attributes, children)); + A7($terezka$elm_charts$Internal$Svg$positionHtml, plane, focalPoint.d2, focalPoint.d3, xOff, yOff, attributes, children)); }); var $terezka$elm_charts$Chart$Svg$tooltip = F3( function (plane, pos, edits) { @@ -21920,7 +22334,7 @@ function (p) { var pos = $terezka$elm_charts$Internal$Item$getLimits(i); var content_ = _Utils_eq(content, _List_Nil) ? $terezka$elm_charts$Internal$Item$toHtml(i) : content; - return A3($terezka$elm_charts$Internal$Svg$isWithinPlane, p, pos.bb, pos.cV) ? A5( + return A3($terezka$elm_charts$Internal$Svg$isWithinPlane, p, pos.aW, pos.cF) ? A5( $terezka$elm_charts$Chart$Svg$tooltip, p, A2($terezka$elm_charts$Internal$Item$getPosition, p, i), @@ -21936,31 +22350,31 @@ var $elm$svg$Svg$polygon = $elm$svg$Svg$trustedNode('polygon'); var $terezka$elm_charts$Internal$Svg$arrow = F3( function (plane, config, point) { - var points_ = '0,0 ' + ($elm$core$String$fromFloat(config._) + (',' + ($elm$core$String$fromFloat(config.cQ) + (' 0, ' + $elm$core$String$fromFloat(config.cQ * 2))))); - var commands = 'rotate(' + ($elm$core$String$fromFloat(config.o) + (') translate(0 ' + ($elm$core$String$fromFloat(-config.cQ) + ') '))); + var points_ = '0,0 ' + ($elm$core$String$fromFloat(config.W) + (',' + ($elm$core$String$fromFloat(config.cA) + (' 0, ' + $elm$core$String$fromFloat(config.cA * 2))))); + var commands = 'rotate(' + ($elm$core$String$fromFloat(config.o) + (') translate(0 ' + ($elm$core$String$fromFloat(-config.cA) + ') '))); return A2( $elm$svg$Svg$g, _List_fromArray( [ $elm$svg$Svg$Attributes$class('elm-charts__arrow'), - A6($terezka$elm_charts$Internal$Svg$position, plane, 0, point.ef, point.eg, config.g, config.h) + A6($terezka$elm_charts$Internal$Svg$position, plane, 0, point.d2, point.d3, config.g, config.h) ]), _List_fromArray( [ A4( $terezka$elm_charts$Internal$Svg$withAttrs, - config.E, + config.D, $elm$svg$Svg$polygon, _List_fromArray( [ - $elm$svg$Svg$Attributes$fill(config.eS), + $elm$svg$Svg$Attributes$fill(config.eF), $elm$svg$Svg$Attributes$points(points_), $elm$svg$Svg$Attributes$transform(commands) ]), _List_Nil) ])); }); -var $terezka$elm_charts$Internal$Svg$defaultArrow = {E: _List_Nil, eS: 'rgb(210, 210, 210)', _: 7, o: 0, cQ: 4, g: 0, h: 0}; +var $terezka$elm_charts$Internal$Svg$defaultArrow = {D: _List_Nil, eF: 'rgb(210, 210, 210)', W: 7, o: 0, cA: 4, g: 0, h: 0}; var $terezka$elm_charts$Chart$Svg$arrow = F2( function (plane, edits) { return A2( @@ -21973,26 +22387,26 @@ return _Utils_update( config, { - bq: $elm$core$Maybe$Just(v) + ba: $elm$core$Maybe$Just(v) }); }); var $terezka$elm_charts$Chart$Attributes$zero = function (b) { - return A3($elm$core$Basics$clamp, b.fL, b.cp, 0); + return A3($elm$core$Basics$clamp, b.di, b.bw, 0); }; var $terezka$elm_charts$Chart$xAxis = function (edits) { var config = A2( $terezka$elm_charts$Internal$Helpers$apply, edits, - {a$: true, eS: '', z: _List_Nil, n: $terezka$elm_charts$Chart$Attributes$zero, cQ: 1}); + {aJ: true, eF: '', x: _List_Nil, n: $terezka$elm_charts$Chart$Attributes$zero, cA: 1}); var addTickValues = F2( function (p, ts) { return _Utils_update( ts, { - bs: A2( + bc: A2( $elm$core$List$cons, - config.n(p.eg), - ts.bs) + config.n(p.d3), + ts.bc) }); }); return A2( @@ -22005,8 +22419,8 @@ function (f, x) { return f(x); }), - p.ef, - config.z); + p.d2, + config.x); return A2( $elm$svg$Svg$g, _List_fromArray( @@ -22020,25 +22434,25 @@ p, _List_fromArray( [ - $terezka$elm_charts$Chart$Attributes$color(config.eS), - $terezka$elm_charts$Chart$Attributes$width(config.cQ), + $terezka$elm_charts$Chart$Attributes$color(config.eF), + $terezka$elm_charts$Chart$Attributes$width(config.cA), $terezka$elm_charts$Chart$Attributes$y1( - config.n(p.eg)), + config.n(p.d3)), $terezka$elm_charts$Chart$Attributes$x1( - A2($elm$core$Basics$max, p.ef.fL, xLimit.fL)), + A2($elm$core$Basics$max, p.d2.di, xLimit.di)), $terezka$elm_charts$Chart$Attributes$x2( - A2($elm$core$Basics$min, p.ef.cp, xLimit.cp)) + A2($elm$core$Basics$min, p.d2.bw, xLimit.bw)) ])), - config.a$ ? A3( + config.aJ ? A3( $terezka$elm_charts$Chart$Svg$arrow, p, _List_fromArray( [ - $terezka$elm_charts$Chart$Attributes$color(config.eS) + $terezka$elm_charts$Chart$Attributes$color(config.eF) ]), { - ef: xLimit.cp, - eg: config.n(p.eg) + d2: xLimit.bw, + d3: config.n(p.d3) }) : $elm$svg$Svg$text('') ])); }); @@ -22192,7 +22606,7 @@ $terezka$intervals$Intervals$correctFloat, $terezka$intervals$Intervals$getPrecision(interval), beginning + (m * interval)); - if (_Utils_cmp(nextPosition, range.cp) > 0) { + if (_Utils_cmp(nextPosition, range.bw) > 0) { return acc; } else { var $temp$range = range, @@ -22214,10 +22628,10 @@ }); var $terezka$intervals$Intervals$values = F4( function (allowDecimals, exact, amountRough, range) { - var intervalRough = (range.cp - range.fL) / amountRough; + var intervalRough = (range.bw - range.di) / amountRough; var interval = A3($terezka$intervals$Intervals$getInterval, intervalRough, allowDecimals, exact); var intervalSafe = (!interval) ? 1 : interval; - var beginning = A2($terezka$intervals$Intervals$getBeginning, range.fL, intervalSafe); + var beginning = A2($terezka$intervals$Intervals$getBeginning, range.di, intervalSafe); var amountRoughSafe = (!amountRough) ? 1 : amountRough; return A5($terezka$intervals$Intervals$positions, range, beginning, intervalSafe, 0, _List_Nil); }); @@ -22235,12 +22649,12 @@ return A2( $terezka$intervals$Intervals$floats, $terezka$intervals$Intervals$around(i), - {cp: b.cp, fL: b.fL}); + {bw: b.bw, di: b.di}); }); var $terezka$elm_charts$Chart$Svg$floats = $terezka$elm_charts$Internal$Svg$floats; var $ryannhg$date_format$DateFormat$Language$Language = F6( function (toMonthName, toMonthAbbreviation, toWeekdayName, toWeekdayAbbreviation, toAmPm, toOrdinalSuffix) { - return {gM: toAmPm, gQ: toMonthAbbreviation, gR: toMonthName, a8: toOrdinalSuffix, gU: toWeekdayAbbreviation, gV: toWeekdayName}; + return {gv: toAmPm, gz: toMonthAbbreviation, gA: toMonthName, aT: toOrdinalSuffix, gD: toWeekdayAbbreviation, gE: toWeekdayName}; }); var $ryannhg$date_format$DateFormat$Language$toEnglishAmPm = function (hour) { return (hour > 11) ? 'pm' : 'am'; @@ -22346,8 +22760,8 @@ } else { var era = eras.a; var olderEras = eras.b; - if (_Utils_cmp(era.cL, posixMinutes) < 0) { - return posixMinutes + era.fQ; + if (_Utils_cmp(era.cu, posixMinutes) < 0) { + return posixMinutes + era.fB; } else { var $temp$defaultOffset = defaultOffset, $temp$posixMinutes = posixMinutes, @@ -22385,7 +22799,7 @@ }); var $ryannhg$date_format$DateFormat$amPm = F3( function (language, zone, posix) { - return language.gM( + return language.gv( A2($elm$time$Time$toHour, zone, posix)); }); var $elm$time$Time$toCivil = function (minutes) { @@ -22398,15 +22812,15 @@ var month = mp + ((mp < 10) ? 3 : (-9)); var year = yearOfEra + (era * 400); return { - c4: (dayOfYear - ((((153 * mp) + 2) / 5) | 0)) + 1, - dz: month, - aZ: year + ((month <= 2) ? 1 : 0) + cQ: (dayOfYear - ((((153 * mp) + 2) / 5) | 0)) + 1, + dk: month, + aH: year + ((month <= 2) ? 1 : 0) }; }; var $elm$time$Time$toDay = F2( function (zone, time) { return $elm$time$Time$toCivil( - A2($elm$time$Time$toAdjustedMinutes, zone, time)).c4; + A2($elm$time$Time$toAdjustedMinutes, zone, time)).cQ; }); var $ryannhg$date_format$DateFormat$dayOfMonth = $elm$time$Time$toDay; var $elm$time$Time$Sun = 6; @@ -22519,7 +22933,7 @@ var $elm$time$Time$toMonth = F2( function (zone, time) { var _v0 = $elm$time$Time$toCivil( - A2($elm$time$Time$toAdjustedMinutes, zone, time)).dz; + A2($elm$time$Time$toAdjustedMinutes, zone, time)).dk; switch (_v0) { case 1: return 0; @@ -22711,7 +23125,7 @@ var $elm$time$Time$toYear = F2( function (zone, time) { return $elm$time$Time$toCivil( - A2($elm$time$Time$toAdjustedMinutes, zone, time)).aZ; + A2($elm$time$Time$toAdjustedMinutes, zone, time)).aH; }); var $ryannhg$date_format$DateFormat$dayOfYear = F2( function (zone, posix) { @@ -22802,7 +23216,7 @@ return function (num) { return _Utils_ap( $elm$core$String$fromInt(num), - language.a8(num)); + language.aT(num)); }( A2($ryannhg$date_format$DateFormat$monthNumber_, zone, posix)); case 2: @@ -22811,10 +23225,10 @@ 2, A2($ryannhg$date_format$DateFormat$monthNumber_, zone, posix)); case 3: - return language.gQ( + return language.gz( A2($elm$time$Time$toMonth, zone, posix)); case 4: - return language.gR( + return language.gA( A2($elm$time$Time$toMonth, zone, posix)); case 17: return $elm$core$String$fromInt( @@ -22823,7 +23237,7 @@ return function (num) { return _Utils_ap( $elm$core$String$fromInt(num), - language.a8(num)); + language.aT(num)); }( 1 + A2($ryannhg$date_format$DateFormat$quarter, zone, posix)); case 5: @@ -22833,7 +23247,7 @@ return function (num) { return _Utils_ap( $elm$core$String$fromInt(num), - language.a8(num)); + language.aT(num)); }( A2($ryannhg$date_format$DateFormat$dayOfMonth, zone, posix)); case 7: @@ -22848,7 +23262,7 @@ return function (num) { return _Utils_ap( $elm$core$String$fromInt(num), - language.a8(num)); + language.aT(num)); }( A2($ryannhg$date_format$DateFormat$dayOfYear, zone, posix)); case 10: @@ -22863,14 +23277,14 @@ return function (num) { return _Utils_ap( $elm$core$String$fromInt(num), - language.a8(num)); + language.aT(num)); }( A2($ryannhg$date_format$DateFormat$dayOfWeek, zone, posix)); case 13: - return language.gU( + return language.gD( A2($elm$time$Time$toWeekday, zone, posix)); case 14: - return language.gV( + return language.gE( A2($elm$time$Time$toWeekday, zone, posix)); case 19: return $elm$core$String$fromInt( @@ -22879,7 +23293,7 @@ return function (num) { return _Utils_ap( $elm$core$String$fromInt(num), - language.a8(num)); + language.aT(num)); }( A2($ryannhg$date_format$DateFormat$weekOfYear, zone, posix)); case 21: @@ -23033,22 +23447,22 @@ [$ryannhg$date_format$DateFormat$yearNumber])); var $terezka$elm_charts$Internal$Svg$formatTime = F2( function (zone, time) { - var _v0 = A2($elm$core$Maybe$withDefault, time.gZ, time.eO); + var _v0 = A2($elm$core$Maybe$withDefault, time.gI, time.eB); switch (_v0) { case 0: - return A2($terezka$elm_charts$Internal$Svg$formatClockMillis, zone, time.gK); + return A2($terezka$elm_charts$Internal$Svg$formatClockMillis, zone, time.gt); case 1: - return A2($terezka$elm_charts$Internal$Svg$formatClockSecond, zone, time.gK); + return A2($terezka$elm_charts$Internal$Svg$formatClockSecond, zone, time.gt); case 2: - return A2($terezka$elm_charts$Internal$Svg$formatClock, zone, time.gK); + return A2($terezka$elm_charts$Internal$Svg$formatClock, zone, time.gt); case 3: - return A2($terezka$elm_charts$Internal$Svg$formatClock, zone, time.gK); + return A2($terezka$elm_charts$Internal$Svg$formatClock, zone, time.gt); case 4: - return (time.fN === 7) ? A2($terezka$elm_charts$Internal$Svg$formatWeekday, zone, time.gK) : A2($terezka$elm_charts$Internal$Svg$formatDate, zone, time.gK); + return (time.fy === 7) ? A2($terezka$elm_charts$Internal$Svg$formatWeekday, zone, time.gt) : A2($terezka$elm_charts$Internal$Svg$formatDate, zone, time.gt); case 5: - return A2($terezka$elm_charts$Internal$Svg$formatMonth, zone, time.gK); + return A2($terezka$elm_charts$Internal$Svg$formatMonth, zone, time.gt); default: - return A2($terezka$elm_charts$Internal$Svg$formatYear, zone, time.gK); + return A2($terezka$elm_charts$Internal$Svg$formatYear, zone, time.gt); } }); var $terezka$elm_charts$Chart$Svg$formatTime = $terezka$elm_charts$Internal$Svg$formatTime; @@ -23078,7 +23492,7 @@ return A2( $terezka$intervals$Intervals$ints, $terezka$intervals$Intervals$around(i), - {cp: b.cp, fL: b.fL}); + {bw: b.bw, di: b.di}); }); var $terezka$elm_charts$Chart$Svg$ints = $terezka$elm_charts$Internal$Svg$ints; var $terezka$intervals$Intervals$Day = 4; @@ -23237,7 +23651,7 @@ d = $temp$d; continue toCalendarDateHelp; } else { - return {c4: d, dz: m, aZ: y}; + return {cQ: d, dk: m, aH: y}; } } }); @@ -23268,14 +23682,14 @@ var rd = _v0; var y = $justinmimbs$date$Date$year(rd); return { - cv: rd - $justinmimbs$date$Date$daysBeforeYear(y), - aZ: y + cd: rd - $justinmimbs$date$Date$daysBeforeYear(y), + aH: y }; }; var $justinmimbs$date$Date$toCalendarDate = function (_v0) { var rd = _v0; var date = $justinmimbs$date$Date$toOrdinalDate(rd); - return A3($justinmimbs$date$Date$toCalendarDateHelp, date.aZ, 0, date.cv); + return A3($justinmimbs$date$Date$toCalendarDateHelp, date.aH, 0, date.cd); }; var $justinmimbs$date$Date$add = F3( function (unit, n, _v0) { @@ -23285,13 +23699,13 @@ return A3($justinmimbs$date$Date$add, 1, 12 * n, rd); case 1: var date = $justinmimbs$date$Date$toCalendarDate(rd); - var wholeMonths = ((12 * (date.aZ - 1)) + ($justinmimbs$date$Date$monthToNumber(date.dz) - 1)) + n; + var wholeMonths = ((12 * (date.aH - 1)) + ($justinmimbs$date$Date$monthToNumber(date.dk) - 1)) + n; var m = $justinmimbs$date$Date$numberToMonth( A2($elm$core$Basics$modBy, 12, wholeMonths) + 1); var y = A2($justinmimbs$date$Date$floorDiv, wholeMonths, 12) + 1; return ($justinmimbs$date$Date$daysBeforeYear(y) + A2($justinmimbs$date$Date$daysBeforeMonth, y, m)) + A2( $elm$core$Basics$min, - date.c4, + date.cQ, A2($justinmimbs$date$Date$daysInMonth, y, m)); case 2: return rd + (7 * n); @@ -23521,7 +23935,7 @@ $elm$core$Basics$composeR, $justinmimbs$date$Date$toCalendarDate, function ($) { - return $.dz; + return $.dk; }); var $justinmimbs$date$Date$monthToQuarter = function (m) { return (($justinmimbs$date$Date$monthToNumber(m) + 2) / 3) | 0; @@ -23655,13 +24069,13 @@ var $justinmimbs$time_extra$Time$Extra$Hour = 12; var $justinmimbs$time_extra$Time$Extra$partsToPosix = F2( function (zone, _v0) { - var year = _v0.aZ; - var month = _v0.dz; - var day = _v0.c4; - var hour = _v0.cg; - var minute = _v0.cs; - var second = _v0.cC; - var millisecond = _v0.cr; + var year = _v0.aH; + var month = _v0.dk; + var day = _v0.cQ; + var hour = _v0.b0; + var minute = _v0.ca; + var second = _v0.ck; + var millisecond = _v0.b9; return A3( $justinmimbs$time_extra$Time$Extra$posixFromDateTime, zone, @@ -23676,13 +24090,13 @@ var $justinmimbs$time_extra$Time$Extra$posixToParts = F2( function (zone, posix) { return { - c4: A2($elm$time$Time$toDay, zone, posix), - cg: A2($elm$time$Time$toHour, zone, posix), - cr: A2($elm$time$Time$toMillis, zone, posix), - cs: A2($elm$time$Time$toMinute, zone, posix), - dz: A2($elm$time$Time$toMonth, zone, posix), - cC: A2($elm$time$Time$toSecond, zone, posix), - aZ: A2($elm$time$Time$toYear, zone, posix) + cQ: A2($elm$time$Time$toDay, zone, posix), + b0: A2($elm$time$Time$toHour, zone, posix), + b9: A2($elm$time$Time$toMillis, zone, posix), + ca: A2($elm$time$Time$toMinute, zone, posix), + dk: A2($elm$time$Time$toMonth, zone, posix), + ck: A2($elm$time$Time$toSecond, zone, posix), + aH: A2($elm$time$Time$toYear, zone, posix) }; }); var $terezka$intervals$Intervals$Time$ceilingHour = F3( @@ -23691,7 +24105,7 @@ $justinmimbs$time_extra$Time$Extra$posixToParts, zone, A3($justinmimbs$time_extra$Time$Extra$ceiling, 12, zone, stamp)); - var rem = parts.cg % mult; + var rem = parts.b0 % mult; var _new = A2($justinmimbs$time_extra$Time$Extra$partsToPosix, zone, parts); return (!rem) ? _new : A4($justinmimbs$time_extra$Time$Extra$add, 12, mult - rem, zone, _new); }); @@ -23702,7 +24116,7 @@ $justinmimbs$time_extra$Time$Extra$posixToParts, zone, A3($justinmimbs$time_extra$Time$Extra$ceiling, 13, zone, stamp)); - var rem = parts.cs % mult; + var rem = parts.ca % mult; var _new = A2($justinmimbs$time_extra$Time$Extra$partsToPosix, zone, parts); return (!rem) ? _new : A4($justinmimbs$time_extra$Time$Extra$add, 13, mult - rem, zone, _new); }); @@ -23770,7 +24184,7 @@ $justinmimbs$time_extra$Time$Extra$posixToParts, zone, A3($justinmimbs$time_extra$Time$Extra$ceiling, 2, zone, stamp)); - var monthInt = $terezka$intervals$Intervals$Time$monthAsInt(parts.dz); + var monthInt = $terezka$intervals$Intervals$Time$monthAsInt(parts.dk); var rem = (monthInt - 1) % mult; var newMonth = (!rem) ? monthInt : ((monthInt - rem) + mult); return A2( @@ -23779,18 +24193,18 @@ (newMonth > 12) ? _Utils_update( parts, { - dz: $terezka$intervals$Intervals$Time$intAsMonth(newMonth - 12), - aZ: parts.aZ + 1 + dk: $terezka$intervals$Intervals$Time$intAsMonth(newMonth - 12), + aH: parts.aH + 1 }) : _Utils_update( parts, { - dz: $terezka$intervals$Intervals$Time$intAsMonth(newMonth) + dk: $terezka$intervals$Intervals$Time$intAsMonth(newMonth) })); }); var $terezka$intervals$Intervals$Time$ceilingMs = F3( function (zone, mult, stamp) { var parts = A2($justinmimbs$time_extra$Time$Extra$posixToParts, zone, stamp); - var rem = parts.cr % mult; + var rem = parts.b9 % mult; return (!rem) ? A2($justinmimbs$time_extra$Time$Extra$partsToPosix, zone, parts) : A4($justinmimbs$time_extra$Time$Extra$add, 15, mult - rem, zone, stamp); }); var $justinmimbs$time_extra$Time$Extra$Second = 14; @@ -23800,7 +24214,7 @@ $justinmimbs$time_extra$Time$Extra$posixToParts, zone, A3($justinmimbs$time_extra$Time$Extra$ceiling, 14, zone, stamp)); - var rem = parts.cC % mult; + var rem = parts.ck % mult; var _new = A2($justinmimbs$time_extra$Time$Extra$partsToPosix, zone, parts); return (!rem) ? _new : A4($justinmimbs$time_extra$Time$Extra$add, 14, mult - rem, zone, _new); }); @@ -23811,14 +24225,14 @@ $justinmimbs$time_extra$Time$Extra$posixToParts, zone, A3($justinmimbs$time_extra$Time$Extra$ceiling, 0, zone, stamp)); - var rem = parts.aZ % mult; - var newYear = (!rem) ? parts.aZ : ((parts.aZ - rem) + mult); + var rem = parts.aH % mult; + var newYear = (!rem) ? parts.aH : ((parts.aH - rem) + mult); return A2( $justinmimbs$time_extra$Time$Extra$partsToPosix, zone, _Utils_update( parts, - {aZ: newYear})); + {aH: newYear})); }); var $terezka$intervals$Intervals$Time$ceilingUnit = F3( function (zone, unit, mult) { @@ -23850,7 +24264,7 @@ function (zone, a, b) { var bP = A2($justinmimbs$time_extra$Time$Extra$posixToParts, zone, b); var aP = A2($justinmimbs$time_extra$Time$Extra$posixToParts, zone, a); - return (!_Utils_eq(aP.aZ, bP.aZ)) ? 6 : ((!_Utils_eq(aP.dz, bP.dz)) ? 5 : ((!_Utils_eq(aP.c4, bP.c4)) ? 4 : ((!_Utils_eq(aP.cg, bP.cg)) ? 3 : ((!_Utils_eq(aP.cs, bP.cs)) ? 2 : ((!_Utils_eq(aP.cC, bP.cC)) ? 1 : 0))))); + return (!_Utils_eq(aP.aH, bP.aH)) ? 6 : ((!_Utils_eq(aP.dk, bP.dk)) ? 5 : ((!_Utils_eq(aP.cQ, bP.cQ)) ? 4 : ((!_Utils_eq(aP.b0, bP.b0)) ? 3 : ((!_Utils_eq(aP.ca, bP.ca)) ? 2 : ((!_Utils_eq(aP.ck, bP.ck)) ? 1 : 0))))); }); var $danhandrea$elm_time_extra$Util$isLeapYear = function (year) { return (!A2($elm$core$Basics$modBy, 400, year)) || ((!(!A2($elm$core$Basics$modBy, 100, year))) && (!A2($elm$core$Basics$modBy, 4, year))); @@ -23897,21 +24311,21 @@ A2($justinmimbs$time_extra$Time$Extra$posixToParts, zone, a)); var aP = _v0.a; var bP = _v0.b; - var dMsX = bP.cr - aP.cr; + var dMsX = bP.b9 - aP.b9; var dMs = (dMsX < 0) ? (1000 + dMsX) : dMsX; - var dSecondX = (bP.cC - aP.cC) + ((dMsX < 0) ? (-1) : 0); - var dMinuteX = (bP.cs - aP.cs) + ((dSecondX < 0) ? (-1) : 0); - var dHourX = (bP.cg - aP.cg) + ((dMinuteX < 0) ? (-1) : 0); - var dDayX = (bP.c4 - aP.c4) + ((dHourX < 0) ? (-1) : 0); - var dDay = (dDayX < 0) ? (A2($danhandrea$elm_time_extra$TimeExtra$daysInMonth, bP.aZ, bP.dz) + dDayX) : dDayX; - var dMonthX = ($terezka$intervals$Intervals$Time$monthAsInt(bP.dz) - $terezka$intervals$Intervals$Time$monthAsInt(aP.dz)) + ((dDayX < 0) ? (-1) : 0); + var dSecondX = (bP.ck - aP.ck) + ((dMsX < 0) ? (-1) : 0); + var dMinuteX = (bP.ca - aP.ca) + ((dSecondX < 0) ? (-1) : 0); + var dHourX = (bP.b0 - aP.b0) + ((dMinuteX < 0) ? (-1) : 0); + var dDayX = (bP.cQ - aP.cQ) + ((dHourX < 0) ? (-1) : 0); + var dDay = (dDayX < 0) ? (A2($danhandrea$elm_time_extra$TimeExtra$daysInMonth, bP.aH, bP.dk) + dDayX) : dDayX; + var dMonthX = ($terezka$intervals$Intervals$Time$monthAsInt(bP.dk) - $terezka$intervals$Intervals$Time$monthAsInt(aP.dk)) + ((dDayX < 0) ? (-1) : 0); var dMonth = (dMonthX < 0) ? (12 + dMonthX) : dMonthX; var dHour = (dHourX < 0) ? (24 + dHourX) : dHourX; var dMinute = (dMinuteX < 0) ? (60 + dMinuteX) : dMinuteX; var dSecond = (dSecondX < 0) ? (60 + dSecondX) : dSecondX; - var dYearX = (bP.aZ - aP.aZ) + ((dMonthX < 0) ? (-1) : 0); - var dYear = (dYearX < 0) ? ($terezka$intervals$Intervals$Time$monthAsInt(bP.dz) + dYearX) : dYearX; - return {c4: dDay, cg: dHour, cr: dMs, cs: dMinute, dz: dMonth, cC: dSecond, aZ: dYear}; + var dYearX = (bP.aH - aP.aH) + ((dMonthX < 0) ? (-1) : 0); + var dYear = (dYearX < 0) ? ($terezka$intervals$Intervals$Time$monthAsInt(bP.dk) + dYearX) : dYearX; + return {cQ: dDay, b0: dHour, b9: dMs, ca: dMinute, dk: dMonth, ck: dSecond, aH: dYear}; }); var $terezka$intervals$Intervals$Time$oneSecond = 1000; var $terezka$intervals$Intervals$Time$oneMinute = $terezka$intervals$Intervals$Time$oneSecond * 60; @@ -23960,12 +24374,12 @@ case 5: return diff( function (d) { - return d.dz + (d.aZ * 12); + return d.dk + (d.aH * 12); }) + 1; default: return diff( function ($) { - return $.aZ; + return $.aH; }) + 1; } }); @@ -24096,14 +24510,14 @@ var toTick = F3( function (x, timestamp, change) { return { - eO: (_Utils_cmp( + eB: (_Utils_cmp( $terezka$intervals$Intervals$Time$unitToInt(change), $terezka$intervals$Intervals$Time$unitToInt(unit)) > 0) ? $elm$core$Maybe$Just(change) : $elm$core$Maybe$Nothing, - cn: !x, - fN: mult, - gK: timestamp, - gZ: unit, - cW: zone + b7: !x, + fy: mult, + gt: timestamp, + gI: unit, + cG: zone }; }); var toTicks = F2( @@ -24157,12 +24571,12 @@ }; var translateUnit = function (time) { return { - eO: A2($elm$core$Maybe$map, toUnit, time.eO), - cn: time.cn, - fN: time.fN, - gK: time.gK, - gZ: toUnit(time.gZ), - cW: time.cW + eB: A2($elm$core$Maybe$map, toUnit, time.eB), + b7: time.b7, + fy: time.fy, + gt: time.gt, + gI: toUnit(time.gI), + cG: time.cG }; }; var fromMs = function (ts) { @@ -24176,8 +24590,8 @@ $terezka$intervals$Intervals$Time$values, zone, amount, - fromMs(range.fL), - fromMs(range.cp))); + fromMs(range.di), + fromMs(range.bw))); }); var $terezka$elm_charts$Internal$Svg$times = function (zone) { return F2( @@ -24186,7 +24600,7 @@ $terezka$intervals$Intervals$times, zone, i, - {cp: b.cp, fL: b.fL}); + {bw: b.bw, di: b.di}); }); }; var $terezka$elm_charts$Chart$Svg$times = $terezka$elm_charts$Internal$Svg$times; @@ -24197,7 +24611,7 @@ return $elm$core$List$map( function (i) { return { - a1: function () { + aM: function () { if (!maybeFormat.$) { var formatter = maybeFormat.a; return formatter( @@ -24206,7 +24620,7 @@ return toString(i); } }(), - bX: toValue(i) + a8: toValue(i) }; }); }); @@ -24231,7 +24645,7 @@ $elm$core$Basics$composeL, A2($elm$core$Basics$composeL, $elm$core$Basics$toFloat, $elm$time$Time$posixToMillis), function ($) { - return $.gK; + return $.gt; }), $terezka$elm_charts$Chart$Svg$formatTime(zone), A3( @@ -24245,33 +24659,33 @@ function (v, config) { return _Utils_update( config, - {_: v}); + {W: v}); }); -var $terezka$elm_charts$Internal$Svg$defaultTick = {E: _List_Nil, eS: 'rgb(210, 210, 210)', _: 5, cQ: 1}; +var $terezka$elm_charts$Internal$Svg$defaultTick = {D: _List_Nil, eF: 'rgb(210, 210, 210)', W: 5, cA: 1}; var $terezka$elm_charts$Internal$Svg$tick = F4( function (plane, config, isX, point) { return A4( $terezka$elm_charts$Internal$Svg$withAttrs, - config.E, + config.D, $elm$svg$Svg$line, _List_fromArray( [ $elm$svg$Svg$Attributes$class('elm-charts__tick'), - $elm$svg$Svg$Attributes$stroke(config.eS), + $elm$svg$Svg$Attributes$stroke(config.eF), $elm$svg$Svg$Attributes$strokeWidth( - $elm$core$String$fromFloat(config.cQ)), + $elm$core$String$fromFloat(config.cA)), $elm$svg$Svg$Attributes$x1( $elm$core$String$fromFloat( - A2($terezka$elm_charts$Internal$Coordinates$toSVGX, plane, point.ef))), + A2($terezka$elm_charts$Internal$Coordinates$toSVGX, plane, point.d2))), $elm$svg$Svg$Attributes$x2( $elm$core$String$fromFloat( - A2($terezka$elm_charts$Internal$Coordinates$toSVGX, plane, point.ef) + (isX ? 0 : (-config._)))), + A2($terezka$elm_charts$Internal$Coordinates$toSVGX, plane, point.d2) + (isX ? 0 : (-config.W)))), $elm$svg$Svg$Attributes$y1( $elm$core$String$fromFloat( - A2($terezka$elm_charts$Internal$Coordinates$toSVGY, plane, point.eg))), + A2($terezka$elm_charts$Internal$Coordinates$toSVGY, plane, point.d3))), $elm$svg$Svg$Attributes$y2( $elm$core$String$fromFloat( - A2($terezka$elm_charts$Internal$Coordinates$toSVGY, plane, point.eg) + (isX ? config._ : 0))) + A2($terezka$elm_charts$Internal$Coordinates$toSVGY, plane, point.d3) + (isX ? config.W : 0))) ]), _List_Nil); }); @@ -24290,17 +24704,17 @@ var config = A2( $terezka$elm_charts$Internal$Helpers$apply, edits, - {V: 5, eS: '', e: false, Y: $terezka$elm_charts$Internal$Svg$Floats, fj: true, di: 5, z: _List_Nil, n: $terezka$elm_charts$Chart$Attributes$zero, cQ: 1}); + {R: 5, eF: '', e: false, V: $terezka$elm_charts$Internal$Svg$Floats, e6: true, c2: 5, x: _List_Nil, n: $terezka$elm_charts$Chart$Attributes$zero, cA: 1}); var toTicks = function (p) { return A2( $elm$core$List$map, function ($) { - return $.bX; + return $.a8; }, A4( $terezka$elm_charts$Chart$generateValues, + config.R, config.V, - config.Y, $elm$core$Maybe$Nothing, A3( $elm$core$List$foldl, @@ -24308,16 +24722,16 @@ function (f, x) { return f(x); }), - p.ef, - config.z))); + p.d2, + config.x))); }; var addTickValues = F2( function (p, ts) { - return (!config.fj) ? ts : _Utils_update( + return (!config.e6) ? ts : _Utils_update( ts, { - H: _Utils_ap( - ts.H, + G: _Utils_ap( + ts.G, toTicks(p)) }); }); @@ -24331,14 +24745,14 @@ p, _List_fromArray( [ - $terezka$elm_charts$Chart$Attributes$color(config.eS), + $terezka$elm_charts$Chart$Attributes$color(config.eF), $terezka$elm_charts$Chart$Attributes$length( - config.e ? (-config.di) : config.di), - $terezka$elm_charts$Chart$Attributes$width(config.cQ) + config.e ? (-config.c2) : config.c2), + $terezka$elm_charts$Chart$Attributes$width(config.cA) ]), { - ef: x, - eg: config.n(p.eg) + d2: x, + d3: config.n(p.d3) }); }; return A2( @@ -24364,23 +24778,23 @@ return _Utils_update( config, { - cV: $elm$core$Maybe$Just(v) + cF: $elm$core$Maybe$Just(v) }); }); var $terezka$elm_charts$Chart$yAxis = function (edits) { var config = A2( $terezka$elm_charts$Internal$Helpers$apply, edits, - {a$: true, eS: '', z: _List_Nil, n: $terezka$elm_charts$Chart$Attributes$zero, cQ: 1}); + {aJ: true, eF: '', x: _List_Nil, n: $terezka$elm_charts$Chart$Attributes$zero, cA: 1}); var addTickValues = F2( function (p, ts) { return _Utils_update( ts, { - br: A2( + bb: A2( $elm$core$List$cons, - config.n(p.ef), - ts.br) + config.n(p.d2), + ts.bb) }); }); return A2( @@ -24393,8 +24807,8 @@ function (f, y) { return f(y); }), - p.eg, - config.z); + p.d3, + config.x); return A2( $elm$svg$Svg$g, _List_fromArray( @@ -24408,26 +24822,26 @@ p, _List_fromArray( [ - $terezka$elm_charts$Chart$Attributes$color(config.eS), - $terezka$elm_charts$Chart$Attributes$width(config.cQ), + $terezka$elm_charts$Chart$Attributes$color(config.eF), + $terezka$elm_charts$Chart$Attributes$width(config.cA), $terezka$elm_charts$Chart$Attributes$x1( - config.n(p.ef)), + config.n(p.d2)), $terezka$elm_charts$Chart$Attributes$y1( - A2($elm$core$Basics$max, p.eg.fL, yLimit.fL)), + A2($elm$core$Basics$max, p.d3.di, yLimit.di)), $terezka$elm_charts$Chart$Attributes$y2( - A2($elm$core$Basics$min, p.eg.cp, yLimit.cp)) + A2($elm$core$Basics$min, p.d3.bw, yLimit.bw)) ])), - config.a$ ? A3( + config.aJ ? A3( $terezka$elm_charts$Chart$Svg$arrow, p, _List_fromArray( [ - $terezka$elm_charts$Chart$Attributes$color(config.eS), + $terezka$elm_charts$Chart$Attributes$color(config.eF), $terezka$elm_charts$Chart$Attributes$rotate(-90) ]), { - ef: config.n(p.ef), - eg: yLimit.cp + d2: config.n(p.d2), + d3: yLimit.bw }) : $elm$svg$Svg$text('') ])); }); @@ -24442,8 +24856,8 @@ function (p, config) { return A4( $terezka$elm_charts$Chart$generateValues, + config.R, config.V, - config.Y, config.L, A3( $elm$core$List$foldl, @@ -24451,20 +24865,20 @@ function (f, y) { return f(y); }), - p.eg, - config.z)); + p.d3, + config.x)); }); var toTickValues = F3( function (p, config, ts) { - return (!config.fj) ? ts : _Utils_update( + return (!config.e6) ? ts : _Utils_update( ts, { - U: _Utils_ap( - ts.U, + Q: _Utils_ap( + ts.Q, A2( $elm$core$List$map, function ($) { - return $.bX; + return $.a8; }, A2(toTicks, p, config))) }); @@ -24473,7 +24887,7 @@ return A2( $terezka$elm_charts$Internal$Helpers$apply, edits, - {V: 5, i: $elm$core$Maybe$Nothing, E: _List_Nil, eS: '#808BAB', j: $elm$core$Maybe$Nothing, e: false, k: $elm$core$Maybe$Nothing, L: $elm$core$Maybe$Nothing, Y: $terezka$elm_charts$Internal$Svg$Floats, fj: false, l: false, z: _List_Nil, n: $terezka$elm_charts$Chart$Attributes$zero, o: 0, q: false, g: -10, h: 3}); + {R: 5, i: $elm$core$Maybe$Nothing, D: _List_Nil, eF: '#808BAB', j: $elm$core$Maybe$Nothing, e: false, k: $elm$core$Maybe$Nothing, L: $elm$core$Maybe$Nothing, V: $terezka$elm_charts$Internal$Svg$Floats, e6: false, l: false, x: _List_Nil, n: $terezka$elm_charts$Chart$Attributes$zero, o: 0, q: false, g: -10, h: 3}); }; return A3( $terezka$elm_charts$Chart$LabelsElement, @@ -24499,8 +24913,8 @@ return $elm$core$Maybe$Just(anchor); } }(), - E: config.E, - eS: config.eS, + D: config.D, + eF: config.eF, j: config.j, k: config.k, l: config.l, @@ -24511,11 +24925,11 @@ }), _List_fromArray( [ - $elm$svg$Svg$text(item.a1) + $elm$svg$Svg$text(item.aM) ]), { - ef: config.n(p.ef), - eg: item.bX + d2: config.n(p.d2), + d3: item.a8 }); }; return A2( @@ -24545,17 +24959,17 @@ var config = A2( $terezka$elm_charts$Internal$Helpers$apply, edits, - {V: 5, eS: '', e: false, Y: $terezka$elm_charts$Internal$Svg$Floats, fj: true, di: 5, z: _List_Nil, n: $terezka$elm_charts$Chart$Attributes$zero, cQ: 1}); + {R: 5, eF: '', e: false, V: $terezka$elm_charts$Internal$Svg$Floats, e6: true, c2: 5, x: _List_Nil, n: $terezka$elm_charts$Chart$Attributes$zero, cA: 1}); var toTicks = function (p) { return A2( $elm$core$List$map, function ($) { - return $.bX; + return $.a8; }, A4( $terezka$elm_charts$Chart$generateValues, + config.R, config.V, - config.Y, $elm$core$Maybe$Nothing, A3( $elm$core$List$foldl, @@ -24563,16 +24977,16 @@ function (f, y) { return f(y); }), - p.eg, - config.z))); + p.d3, + config.x))); }; var addTickValues = F2( function (p, ts) { return _Utils_update( ts, { - U: _Utils_ap( - ts.U, + Q: _Utils_ap( + ts.Q, toTicks(p)) }); }); @@ -24586,14 +25000,14 @@ p, _List_fromArray( [ - $terezka$elm_charts$Chart$Attributes$color(config.eS), + $terezka$elm_charts$Chart$Attributes$color(config.eF), $terezka$elm_charts$Chart$Attributes$length( - config.e ? (-config.di) : config.di), - $terezka$elm_charts$Chart$Attributes$width(config.cQ) + config.e ? (-config.c2) : config.c2), + $terezka$elm_charts$Chart$Attributes$width(config.cA) ]), { - ef: config.n(p.ef), - eg: y + d2: config.n(p.d2), + d3: y }); }; return A2( @@ -24628,7 +25042,7 @@ var _v0 = A2( $elm$core$Dict$get, _Utils_Tuple2(runId, path), - interestListTable.bY); + interestListTable.dW); if (!_v0.$) { switch (_v0.a.$) { case 0: @@ -24654,7 +25068,7 @@ $elm$core$String$fromInt(runId), A2($terezka$elm_charts$Chart$bar, get, _List_Nil))); }, - interestListTable.C); + interestListTable.B); var chart = A2( $terezka$elm_charts$Chart$chart, _List_fromArray( @@ -24675,7 +25089,7 @@ $terezka$elm_charts$Chart$yLabels(_List_Nil), $terezka$elm_charts$Chart$xAxis(_List_Nil), $terezka$elm_charts$Chart$yAxis(_List_Nil), - A3($terezka$elm_charts$Chart$bars, _List_Nil, bars, interestListTable.ae), + A3($terezka$elm_charts$Chart$bars, _List_Nil, bars, interestListTable.aa), A2( $terezka$elm_charts$Chart$binLabels, getLabel, @@ -24686,10 +25100,10 @@ A4( $terezka$elm_charts$Chart$legendsAt, function ($) { - return $.cp; + return $.bw; }, function ($) { - return $.cp; + return $.bw; }, _List_fromArray( [ @@ -24718,7 +25132,7 @@ $mdgriffith$elm_ui$Element$px(widthChart)), $mdgriffith$elm_ui$Element$height( $mdgriffith$elm_ui$Element$px(heightChart)), - $mdgriffith$elm_ui$Element$padding(2 * $author$project$Styling$sizes.S), + $mdgriffith$elm_ui$Element$padding(2 * $author$project$Styling$sizes.P), $mdgriffith$elm_ui$Element$alignTop, $mdgriffith$elm_ui$Element$centerX ]), @@ -24729,7 +25143,7 @@ return {$: 3, a: a, b: b}; }); var $mdgriffith$elm_ui$Internal$Flag$fontWeight = $mdgriffith$elm_ui$Internal$Flag$flag(13); -var $mdgriffith$elm_ui$Element$Font$bold = A2($mdgriffith$elm_ui$Internal$Model$Class, $mdgriffith$elm_ui$Internal$Flag$fontWeight, $mdgriffith$elm_ui$Internal$Style$classes.eF); +var $mdgriffith$elm_ui$Element$Font$bold = A2($mdgriffith$elm_ui$Internal$Model$Class, $mdgriffith$elm_ui$Internal$Flag$fontWeight, $mdgriffith$elm_ui$Internal$Style$classes.es); var $author$project$Styling$size16 = $feathericons$elm_feather$FeatherIcons$withSize(16); var $mdgriffith$elm_ui$Element$InternalColumn = function (a) { return {$: 1, a: a}; @@ -24779,7 +25193,7 @@ $mdgriffith$elm_ui$Internal$Model$StyleClass, $mdgriffith$elm_ui$Internal$Flag$gridPosition, $mdgriffith$elm_ui$Internal$Model$GridPosition( - {c3: columnLevel, di: 1, dW: rowLevel, cQ: 1})) + {cP: columnLevel, c2: 1, dH: rowLevel, cA: 1})) ]), $mdgriffith$elm_ui$Internal$Model$Unkeyed( _List_fromArray( @@ -24788,19 +25202,19 @@ var columnWidth = function (col) { if (!col.$) { var colConfig = col.a; - return colConfig.cQ; + return colConfig.cA; } else { var colConfig = col.a; - return colConfig.cQ; + return colConfig.cA; } }; var columnHeader = function (col) { if (!col.$) { var colConfig = col.a; - return colConfig.cd; + return colConfig.bZ; } else { var colConfig = col.a; - return colConfig.cd; + return colConfig.bZ; } }; var maybeHeaders = function (headers) { @@ -24816,7 +25230,7 @@ }), headers)); }( - A2($elm$core$List$map, columnHeader, config.eT)); + A2($elm$core$List$map, columnHeader, config.eG)); var add = F3( function (cell, columnConfig, cursor) { if (!columnConfig.$) { @@ -24824,32 +25238,32 @@ return _Utils_update( cursor, { - as: cursor.as + 1, - am: A2( + ak: cursor.ak + 1, + ah: A2( $elm$core$List$cons, A3( onGrid, - cursor.dW, - cursor.as, + cursor.dH, + cursor.ak, A2( - col.bZ, - _Utils_eq(maybeHeaders, $elm$core$Maybe$Nothing) ? (cursor.dW - 1) : (cursor.dW - 2), + col.bH, + _Utils_eq(maybeHeaders, $elm$core$Maybe$Nothing) ? (cursor.dH - 1) : (cursor.dH - 2), cell)), - cursor.am) + cursor.ah) }); } else { var col = columnConfig.a; return { - as: cursor.as + 1, - am: A2( + ak: cursor.ak + 1, + ah: A2( $elm$core$List$cons, A3( onGrid, - cursor.dW, - cursor.as, - col.bZ(cell)), - cursor.am), - dW: cursor.dW + cursor.dH, + cursor.ak, + col.bH(cell)), + cursor.ah), + dH: cursor.dH }; } }); @@ -24860,17 +25274,17 @@ add(rowData), cursor, columns); - return {as: 1, am: newCursor.am, dW: cursor.dW + 1}; + return {ak: 1, ah: newCursor.ah, dH: cursor.dH + 1}; }); var children = A3( $elm$core$List$foldl, - build(config.eT), + build(config.eG), { - as: 1, - am: _List_Nil, - dW: _Utils_eq(maybeHeaders, $elm$core$Maybe$Nothing) ? 1 : 2 + ak: 1, + ah: _List_Nil, + dH: _Utils_eq(maybeHeaders, $elm$core$Maybe$Nothing) ? 1 : 2 }, - config.eZ); + config.eM); var _v0 = A2( $mdgriffith$elm_ui$Internal$Model$getSpacing, attrs, @@ -24882,12 +25296,12 @@ $mdgriffith$elm_ui$Internal$Flag$gridTemplate, $mdgriffith$elm_ui$Internal$Model$GridTemplateStyle( { - eT: A2($elm$core$List$map, columnWidth, config.eT), - f7: A2( + eG: A2($elm$core$List$map, columnWidth, config.eG), + fU: A2( $elm$core$List$repeat, - $elm$core$List$length(config.eZ), + $elm$core$List$length(config.eM), $mdgriffith$elm_ui$Internal$Model$Content), - gi: _Utils_Tuple2( + f3: _Utils_Tuple2( $mdgriffith$elm_ui$Element$px(sX), $mdgriffith$elm_ui$Element$px(sY)) })); @@ -24902,12 +25316,12 @@ $mdgriffith$elm_ui$Internal$Model$Unkeyed( function () { if (maybeHeaders.$ === 1) { - return children.am; + return children.ah; } else { var renderedHeaders = maybeHeaders.a; return _Utils_ap( renderedHeaders, - $elm$core$List$reverse(children.am)); + $elm$core$List$reverse(children.ah)); } }())); }); @@ -24917,15 +25331,15 @@ $mdgriffith$elm_ui$Element$tableHelper, attrs, { - eT: A2($elm$core$List$map, $mdgriffith$elm_ui$Element$InternalColumn, config.eT), - eZ: config.eZ + eG: A2($elm$core$List$map, $mdgriffith$elm_ui$Element$InternalColumn, config.eG), + eM: config.eM }); }); var $author$project$Main$viewInterestListTableAsTable = F3( function (shortPathLabels, interestListId, interestListTable) { var shortPathLabelColumn = { - cd: $mdgriffith$elm_ui$Element$none, - bZ: function (path) { + bZ: $mdgriffith$elm_ui$Element$none, + bH: function (path) { return A2( $mdgriffith$elm_ui$Element$column, _List_Nil, @@ -24946,48 +25360,48 @@ A2($elm$core$String$join, '.', path))) ])); }, - cQ: $mdgriffith$elm_ui$Element$shrink + cA: $mdgriffith$elm_ui$Element$shrink }; var deleteColumn = { - cd: $mdgriffith$elm_ui$Element$none, - bZ: function (path) { + bZ: $mdgriffith$elm_ui$Element$none, + bH: function (path) { return A2( $author$project$Styling$dangerousIconButton, $author$project$Styling$size16($feathericons$elm_feather$FeatherIcons$trash2), A2($author$project$Main$RemoveFromInterestListClicked, interestListId, path)); }, - cQ: $mdgriffith$elm_ui$Element$shrink + cA: $mdgriffith$elm_ui$Element$shrink }; var dataColumns = A2( $elm$core$List$map, function (runId) { return { - cd: A2( + bZ: A2( $mdgriffith$elm_ui$Element$el, _List_fromArray( [$mdgriffith$elm_ui$Element$Font$bold, $mdgriffith$elm_ui$Element$Font$alignRight]), $mdgriffith$elm_ui$Element$text( $elm$core$String$fromInt(runId))), - bZ: function (path) { + bH: function (path) { var value = function () { var _v0 = A2( $elm$core$Dict$get, _Utils_Tuple2(runId, path), - interestListTable.bY); + interestListTable.dW); if (!_v0.$) { switch (_v0.a.$) { case 0: var f = _v0.a.a; return A2( $mdgriffith$elm_ui$Element$el, - A2($elm$core$List$cons, $mdgriffith$elm_ui$Element$Font$alignRight, $author$project$Styling$fonts.au), + A2($elm$core$List$cons, $mdgriffith$elm_ui$Element$Font$alignRight, $author$project$Styling$fonts.U), $mdgriffith$elm_ui$Element$text( $author$project$Styling$formatGermanNumber(f))); case 2: var s = _v0.a.a; return A2( $mdgriffith$elm_ui$Element$el, - A2($elm$core$List$cons, $mdgriffith$elm_ui$Element$Font$alignRight, $author$project$Styling$fonts.au), + A2($elm$core$List$cons, $mdgriffith$elm_ui$Element$Font$alignRight, $author$project$Styling$fonts.U), $mdgriffith$elm_ui$Element$text(s)); default: var _v1 = _v0.a; @@ -24996,7 +25410,7 @@ A2( $elm$core$List$cons, $mdgriffith$elm_ui$Element$Font$alignRight, - A2($elm$core$List$cons, $mdgriffith$elm_ui$Element$Font$bold, $author$project$Styling$fonts.au)), + A2($elm$core$List$cons, $mdgriffith$elm_ui$Element$Font$bold, $author$project$Styling$fonts.U)), $mdgriffith$elm_ui$Element$text('bold')); } } else { @@ -25005,28 +25419,28 @@ }(); return value; }, - cQ: $mdgriffith$elm_ui$Element$shrink + cA: $mdgriffith$elm_ui$Element$shrink }; }, - interestListTable.C); + interestListTable.B); return A2( $mdgriffith$elm_ui$Element$table, _List_fromArray( [ $mdgriffith$elm_ui$Element$width($mdgriffith$elm_ui$Element$fill), $mdgriffith$elm_ui$Element$height($mdgriffith$elm_ui$Element$shrink), - $mdgriffith$elm_ui$Element$spacing($author$project$Styling$sizes.S), - $mdgriffith$elm_ui$Element$padding($author$project$Styling$sizes.S) + $mdgriffith$elm_ui$Element$spacing($author$project$Styling$sizes.P), + $mdgriffith$elm_ui$Element$padding($author$project$Styling$sizes.P) ]), { - eT: A2( + eG: A2( $elm$core$List$cons, shortPathLabelColumn, _Utils_ap( dataColumns, _List_fromArray( [deleteColumn]))), - eZ: interestListTable.ae + eM: interestListTable.aa }); }); var $author$project$Main$viewInterestList = F6( @@ -25034,7 +25448,7 @@ var showGraph = $author$project$InterestList$getShowGraph(interestList); var shortPathLabels = $author$project$InterestList$getShortPathLabels(interestList); var labelText = $author$project$InterestList$getLabel(interestList); - var interestListTable = A2($author$project$Main$applyInterestListToRuns, interestList, allRuns); + var interestListTable = A2($author$project$InterestListTable$create, interestList, allRuns); var _v0 = isActive ? _Utils_Tuple2($author$project$Styling$germanZeroYellow, 2) : _Utils_Tuple2($author$project$Styling$germanZeroGreen, 1); var borderColor = _v0.a; var borderWidth = _v0.b; @@ -25052,7 +25466,7 @@ ])), $mdgriffith$elm_ui$Element$Border$color(borderColor), $mdgriffith$elm_ui$Element$Border$width(borderWidth), - $mdgriffith$elm_ui$Element$padding($author$project$Styling$sizes.M) + $mdgriffith$elm_ui$Element$padding($author$project$Styling$sizes.z) ]), _List_fromArray( [ @@ -25062,7 +25476,7 @@ [ $mdgriffith$elm_ui$Element$width($mdgriffith$elm_ui$Element$fill), $mdgriffith$elm_ui$Element$Font$size(24), - A2($mdgriffith$elm_ui$Element$paddingXY, $author$project$Styling$sizes.S, $author$project$Styling$sizes.M) + A2($mdgriffith$elm_ui$Element$paddingXY, $author$project$Styling$sizes.P, $author$project$Styling$sizes.z) ]), _List_fromArray( [ @@ -25076,14 +25490,14 @@ $elm$html$Html$Attributes$id('interestlabel')) ]), { - a1: $mdgriffith$elm_ui$Element$Input$labelHidden('interest list'), - bh: $author$project$Main$InterestListLabelEdited(id), - bP: $elm$core$Maybe$Just( + aM: $mdgriffith$elm_ui$Element$Input$labelHidden('interest list'), + aP: $author$project$Main$InterestListLabelEdited(id), + bz: $elm$core$Maybe$Just( A2( $mdgriffith$elm_ui$Element$Input$placeholder, _List_Nil, $mdgriffith$elm_ui$Element$text('label'))), - bU: labelText + bE: labelText }) : A2( $mdgriffith$elm_ui$Element$el, _List_fromArray( @@ -25138,122 +25552,445 @@ ])) ])); }); -var $author$project$Main$DisplayCalculateModalClicked = F3( - function (a, b, c) { - return {$: 13, a: a, b: b, c: c}; - }); -var $author$project$Main$defaultInputs = {a_: '', aZ: 2035}; +var $author$project$Main$DisplayCalculateModalClicked = F3( + function (a, b, c) { + return {$: 13, a: a, b: b, c: c}; + }); +var $author$project$Main$defaultInputs = {aI: '', aH: 2035}; +var $author$project$Explorable$Diff = F2( + function (a, b) { + return {$: 1, a: a, b: b}; + }); +var $author$project$Main$DiffToleranceUpdated = F3( + function (a, b, c) { + return {$: 31, a: a, b: b, c: c}; + }); +var $author$project$Main$RemoveExplorableClicked = function (a) { + return {$: 15, a: a}; +}; +var $author$project$Main$ToggleCollapseTreeClicked = F2( + function (a, b) { + return {$: 11, a: a, b: b}; + }); +var $mdgriffith$elm_ui$Element$Font$center = A2($mdgriffith$elm_ui$Internal$Model$Class, $mdgriffith$elm_ui$Internal$Flag$fontAlignment, $mdgriffith$elm_ui$Internal$Style$classes.gc); +var $feathericons$elm_feather$FeatherIcons$chevronDown = A2( + $feathericons$elm_feather$FeatherIcons$makeBuilder, + 'chevron-down', + _List_fromArray( + [ + A2( + $elm$svg$Svg$polyline, + _List_fromArray( + [ + $elm$svg$Svg$Attributes$points('6 9 12 15 18 9') + ]), + _List_Nil) + ])); +var $feathericons$elm_feather$FeatherIcons$chevronRight = A2( + $feathericons$elm_feather$FeatherIcons$makeBuilder, + 'chevron-right', + _List_fromArray( + [ + A2( + $elm$svg$Svg$polyline, + _List_fromArray( + [ + $elm$svg$Svg$Attributes$points('9 18 15 12 9 6') + ]), + _List_Nil) + ])); +var $author$project$Main$collapsedStatusIcon = function (collapsed) { + var i = collapsed ? $feathericons$elm_feather$FeatherIcons$chevronRight : $feathericons$elm_feather$FeatherIcons$chevronDown; + return A2( + $mdgriffith$elm_ui$Element$el, + $author$project$Styling$iconButtonStyle, + $author$project$Styling$icon( + $author$project$Styling$size16(i))); +}; +var $author$project$Styling$treeElementStyle = _List_fromArray( + [ + $mdgriffith$elm_ui$Element$padding($author$project$Styling$sizes.cn), + $mdgriffith$elm_ui$Element$focused(_List_Nil), + $mdgriffith$elm_ui$Element$mouseOver(_List_Nil) + ]); +var $mdgriffith$elm_ui$Element$Keyed$column = F2( + function (attrs, children) { + return A4( + $mdgriffith$elm_ui$Internal$Model$element, + $mdgriffith$elm_ui$Internal$Model$asColumn, + $mdgriffith$elm_ui$Internal$Model$div, + A2( + $elm$core$List$cons, + $mdgriffith$elm_ui$Internal$Model$htmlClass($mdgriffith$elm_ui$Internal$Style$classes.eI + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.aY)), + A2( + $elm$core$List$cons, + $mdgriffith$elm_ui$Element$height($mdgriffith$elm_ui$Element$shrink), + A2( + $elm$core$List$cons, + $mdgriffith$elm_ui$Element$width($mdgriffith$elm_ui$Element$shrink), + attrs))), + $mdgriffith$elm_ui$Internal$Model$Keyed(children)); + }); +var $mdgriffith$elm_ui$Element$Font$italic = $mdgriffith$elm_ui$Internal$Model$htmlClass($mdgriffith$elm_ui$Internal$Style$classes.fs); +var $author$project$Main$viewTree = F3( + function (cfg, path, tree) { + return cfg.am(path) ? $mdgriffith$elm_ui$Element$none : A2( + $mdgriffith$elm_ui$Element$Keyed$column, + _Utils_ap( + _List_fromArray( + [ + $mdgriffith$elm_ui$Element$paddingEach( + {cM: $author$project$Styling$sizes.z, df: $author$project$Styling$sizes.z, dG: 0, dR: $author$project$Styling$sizes.z}), + $mdgriffith$elm_ui$Element$spacing($author$project$Styling$sizes.cn), + $mdgriffith$elm_ui$Element$width($mdgriffith$elm_ui$Element$fill) + ]), + $author$project$Styling$fonts.e$), + A2( + $elm$core$List$map, + function (_v0) { + var name = _v0.a; + var val = _v0.b; + var itemRow = function (content) { + return A2( + $mdgriffith$elm_ui$Element$row, + _Utils_ap( + _List_fromArray( + [ + $mdgriffith$elm_ui$Element$spacing($author$project$Styling$sizes.P), + $mdgriffith$elm_ui$Element$width($mdgriffith$elm_ui$Element$fill) + ]), + $author$project$Styling$treeElementStyle), + content); + }; + var childPath = _Utils_ap( + path, + _List_fromArray( + [name])); + var element = function () { + if (!val.$) { + var child = val.a; + return A2( + $mdgriffith$elm_ui$Element$column, + _List_fromArray( + [ + $mdgriffith$elm_ui$Element$width($mdgriffith$elm_ui$Element$fill) + ]), + _List_fromArray( + [ + A2( + $mdgriffith$elm_ui$Element$Input$button, + _List_fromArray( + [ + $mdgriffith$elm_ui$Element$width($mdgriffith$elm_ui$Element$fill), + $mdgriffith$elm_ui$Element$focused(_List_Nil) + ]), + { + aM: itemRow( + _List_fromArray( + [ + $author$project$Main$collapsedStatusIcon( + cfg.am(childPath)), + A2( + $mdgriffith$elm_ui$Element$el, + _List_fromArray( + [ + $mdgriffith$elm_ui$Element$width($mdgriffith$elm_ui$Element$fill) + ]), + $mdgriffith$elm_ui$Element$text(name)), + A2( + $mdgriffith$elm_ui$Element$el, + A2( + $elm$core$List$cons, + $mdgriffith$elm_ui$Element$Font$italic, + A2($elm$core$List$cons, $mdgriffith$elm_ui$Element$Font$alignRight, $author$project$Styling$fonts.e0)), + $mdgriffith$elm_ui$Element$text( + $elm$core$String$fromInt( + $elm$core$Dict$size(child)))) + ])), + a$: $elm$core$Maybe$Just( + cfg.bO(childPath)) + }), + A3($author$project$Main$viewTree, cfg, childPath, child) + ])); + } else { + var leaf = val.a; + return itemRow( + A3(cfg.cy, path, name, leaf)); + } + }(); + return _Utils_Tuple2(name, element); + }, + $elm$core$Dict$toList(tree))); + }); +var $author$project$Main$viewDiffTree = F3( + function (id, collapseStatus, tree) { + var viewLeaf = F3( + function (pathToParent, name, leaf) { + switch (leaf.$) { + case 0: + return _List_fromArray( + [ + $mdgriffith$elm_ui$Element$text('TODO left') + ]); + case 1: + return _List_fromArray( + [ + $mdgriffith$elm_ui$Element$text('TODO right') + ]); + default: + if (leaf.a.$ === 1) { + if (leaf.b.$ === 1) { + if ((!leaf.a.a.$) && (!leaf.b.a.$)) { + var f1 = leaf.a.a.a; + var f2 = leaf.b.a.a; + return _List_fromArray( + [ + A2( + $mdgriffith$elm_ui$Element$el, + _List_fromArray( + [ + $mdgriffith$elm_ui$Element$width($mdgriffith$elm_ui$Element$fill) + ]), + $mdgriffith$elm_ui$Element$text(name)), + A2( + $mdgriffith$elm_ui$Element$el, + A2($elm$core$List$cons, $mdgriffith$elm_ui$Element$Font$alignRight, $author$project$Styling$fonts.U), + $mdgriffith$elm_ui$Element$text( + $author$project$Styling$formatGermanNumber(f1))), + A2( + $mdgriffith$elm_ui$Element$el, + A2($elm$core$List$cons, $mdgriffith$elm_ui$Element$Font$alignRight, $author$project$Styling$fonts.U), + $mdgriffith$elm_ui$Element$text( + $author$project$Styling$formatGermanNumber(f2))) + ]); + } else { + return _List_fromArray( + [ + $mdgriffith$elm_ui$Element$text('TODO unequal non floats') + ]); + } + } else { + return _List_fromArray( + [ + $mdgriffith$elm_ui$Element$text('TODO unequal leaf vs tree') + ]); + } + } else { + if (!leaf.b.$) { + return _List_fromArray( + [ + $mdgriffith$elm_ui$Element$text('TODO unequal tree') + ]); + } else { + return _List_fromArray( + [ + $mdgriffith$elm_ui$Element$text('TODO unequal tree vs leaf') + ]); + } + } + } + }); + return A3( + $author$project$Main$viewTree, + { + bO: $author$project$Main$ToggleCollapseTreeClicked(id), + am: function (p) { + return A3($author$project$CollapseStatus$isCollapsed, id, p, collapseStatus); + }, + cy: viewLeaf + }, + _List_Nil, + tree); + }); +var $author$project$Main$viewComparison = F4( + function (aId, bId, collapseStatus, diffData) { + var id = A2($author$project$Explorable$Diff, aId, bId); + return A2( + $mdgriffith$elm_ui$Element$column, + _List_fromArray( + [ + $mdgriffith$elm_ui$Element$width($mdgriffith$elm_ui$Element$fill), + $mdgriffith$elm_ui$Element$spacing($author$project$Styling$sizes.z), + $mdgriffith$elm_ui$Element$padding($author$project$Styling$sizes.cn), + $mdgriffith$elm_ui$Element$Border$width(1), + $mdgriffith$elm_ui$Element$Border$color($author$project$Styling$black), + $mdgriffith$elm_ui$Element$Border$rounded(4) + ]), + _List_fromArray( + [ + A2( + $mdgriffith$elm_ui$Element$row, + _List_fromArray( + [ + $mdgriffith$elm_ui$Element$width($mdgriffith$elm_ui$Element$fill) + ]), + _List_fromArray( + [ + A2( + $mdgriffith$elm_ui$Element$Input$button, + $author$project$Styling$treeElementStyle, + { + aM: A2( + $mdgriffith$elm_ui$Element$row, + _List_fromArray( + [ + $mdgriffith$elm_ui$Element$spacing($author$project$Styling$sizes.z) + ]), + _List_fromArray( + [ + $author$project$Main$collapsedStatusIcon( + A3($author$project$CollapseStatus$isCollapsed, id, _List_Nil, collapseStatus)), + A2( + $mdgriffith$elm_ui$Element$el, + _List_fromArray( + [$mdgriffith$elm_ui$Element$Font$bold]), + $mdgriffith$elm_ui$Element$text( + $elm$core$String$fromInt(aId) + (' ≈ ' + $elm$core$String$fromInt(bId)))) + ])), + a$: $elm$core$Maybe$Just( + A2($author$project$Main$ToggleCollapseTreeClicked, id, _List_Nil)) + }), + A2( + $mdgriffith$elm_ui$Element$Input$slider, + _List_fromArray( + [ + $mdgriffith$elm_ui$Element$height( + $mdgriffith$elm_ui$Element$px(20)), + $mdgriffith$elm_ui$Element$behindContent( + A2( + $mdgriffith$elm_ui$Element$el, + _List_fromArray( + [ + $mdgriffith$elm_ui$Element$width($mdgriffith$elm_ui$Element$fill), + $mdgriffith$elm_ui$Element$Font$center, + $mdgriffith$elm_ui$Element$behindContent( + A2( + $mdgriffith$elm_ui$Element$el, + _List_fromArray( + [ + $mdgriffith$elm_ui$Element$width($mdgriffith$elm_ui$Element$fill), + $mdgriffith$elm_ui$Element$height( + $mdgriffith$elm_ui$Element$px(2)), + $mdgriffith$elm_ui$Element$centerY, + $mdgriffith$elm_ui$Element$Background$color($author$project$Styling$germanZeroGreen), + $mdgriffith$elm_ui$Element$Border$rounded(2) + ]), + $mdgriffith$elm_ui$Element$none)) + ]), + $mdgriffith$elm_ui$Element$text( + '>' + ($author$project$Styling$formatGermanNumber(diffData.a4) + '%')))) + ]), + { + aM: $mdgriffith$elm_ui$Element$Input$labelHidden('tolerance'), + bw: 100.0, + di: 0.001, + aP: A2($author$project$Main$DiffToleranceUpdated, aId, bId), + dN: $elm$core$Maybe$Just(0.001), + dQ: $mdgriffith$elm_ui$Element$Input$defaultThumb, + a8: diffData.a4 + }), + $author$project$Main$buttons( + _List_fromArray( + [ + A2( + $author$project$Styling$dangerousIconButton, + $feathericons$elm_feather$FeatherIcons$trash2, + $author$project$Main$RemoveExplorableClicked(id)) + ])) + ])), + A3($author$project$Main$viewDiffTree, id, collapseStatus, diffData.bS) + ])); + }); var $author$project$Main$FilterEdited = F2( function (a, b) { return {$: 8, a: a, b: b}; }); var $author$project$Main$FilterFinished = {$: 9}; var $author$project$Main$FilterQuickAddRequested = {$: 10}; -var $author$project$Main$RemoveRunClicked = function (a) { - return {$: 15, a: a}; +var $author$project$Explorable$Run = function (a) { + return {$: 0, a: a}; }; -var $author$project$Main$ToggleCollapseTreeClicked = function (a) { - return {$: 11, a: a}; +var $author$project$Main$ToggleSelectForCompareClicked = function (a) { + return {$: 29, a: a}; }; -var $feathericons$elm_feather$FeatherIcons$chevronDown = A2( +var $feathericons$elm_feather$FeatherIcons$edit = A2( $feathericons$elm_feather$FeatherIcons$makeBuilder, - 'chevron-down', + 'edit', _List_fromArray( [ A2( - $elm$svg$Svg$polyline, + $elm$svg$Svg$path, _List_fromArray( [ - $elm$svg$Svg$Attributes$points('6 9 12 15 18 9') + $elm$svg$Svg$Attributes$d('M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7') + ]), + _List_Nil), + A2( + $elm$svg$Svg$path, + _List_fromArray( + [ + $elm$svg$Svg$Attributes$d('M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z') ]), _List_Nil) ])); -var $feathericons$elm_feather$FeatherIcons$chevronRight = A2( +var $feathericons$elm_feather$FeatherIcons$filter = A2( $feathericons$elm_feather$FeatherIcons$makeBuilder, - 'chevron-right', + 'filter', _List_fromArray( [ A2( - $elm$svg$Svg$polyline, + $elm$svg$Svg$polygon, _List_fromArray( [ - $elm$svg$Svg$Attributes$points('9 18 15 12 9 6') + $elm$svg$Svg$Attributes$points('22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3') ]), _List_Nil) ])); -var $author$project$Main$collapsedStatusIcon = function (collapsed) { - var i = collapsed ? $feathericons$elm_feather$FeatherIcons$chevronRight : $feathericons$elm_feather$FeatherIcons$chevronDown; - return A2( - $mdgriffith$elm_ui$Element$el, - $author$project$Styling$iconButtonStyle, - $author$project$Styling$icon( - $author$project$Styling$size16(i))); -}; -var $feathericons$elm_feather$FeatherIcons$edit = A2( +var $feathericons$elm_feather$FeatherIcons$trello = A2( $feathericons$elm_feather$FeatherIcons$makeBuilder, - 'edit', + 'trello', _List_fromArray( [ A2( - $elm$svg$Svg$path, + $elm$svg$Svg$rect, _List_fromArray( [ - $elm$svg$Svg$Attributes$d('M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7') + $elm$svg$Svg$Attributes$x('3'), + $elm$svg$Svg$Attributes$y('3'), + $elm$svg$Svg$Attributes$width('18'), + $elm$svg$Svg$Attributes$height('18'), + $elm$svg$Svg$Attributes$rx('2'), + $elm$svg$Svg$Attributes$ry('2') ]), _List_Nil), A2( - $elm$svg$Svg$path, + $elm$svg$Svg$rect, _List_fromArray( [ - $elm$svg$Svg$Attributes$d('M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z') + $elm$svg$Svg$Attributes$x('7'), + $elm$svg$Svg$Attributes$y('7'), + $elm$svg$Svg$Attributes$width('3'), + $elm$svg$Svg$Attributes$height('9') ]), - _List_Nil) - ])); -var $feathericons$elm_feather$FeatherIcons$filter = A2( - $feathericons$elm_feather$FeatherIcons$makeBuilder, - 'filter', - _List_fromArray( - [ + _List_Nil), A2( - $elm$svg$Svg$polygon, + $elm$svg$Svg$rect, _List_fromArray( [ - $elm$svg$Svg$Attributes$points('22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3') + $elm$svg$Svg$Attributes$x('14'), + $elm$svg$Svg$Attributes$y('7'), + $elm$svg$Svg$Attributes$width('3'), + $elm$svg$Svg$Attributes$height('5') ]), _List_Nil) ])); -var $author$project$Styling$treeElementStyle = _List_fromArray( - [ - $mdgriffith$elm_ui$Element$padding($author$project$Styling$sizes.d$), - $mdgriffith$elm_ui$Element$focused(_List_Nil), - $mdgriffith$elm_ui$Element$mouseOver(_List_Nil) - ]); var $author$project$Main$AddToInterestListClicked = function (a) { return {$: 2, a: a}; }; -var $mdgriffith$elm_ui$Element$Keyed$column = F2( - function (attrs, children) { - return A4( - $mdgriffith$elm_ui$Internal$Model$element, - $mdgriffith$elm_ui$Internal$Model$asColumn, - $mdgriffith$elm_ui$Internal$Model$div, - A2( - $elm$core$List$cons, - $mdgriffith$elm_ui$Internal$Model$htmlClass($mdgriffith$elm_ui$Internal$Style$classes.eV + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.be)), - A2( - $elm$core$List$cons, - $mdgriffith$elm_ui$Element$height($mdgriffith$elm_ui$Element$shrink), - A2( - $elm$core$List$cons, - $mdgriffith$elm_ui$Element$width($mdgriffith$elm_ui$Element$shrink), - attrs))), - $mdgriffith$elm_ui$Internal$Model$Keyed(children)); - }); -var $mdgriffith$elm_ui$Element$Font$italic = $mdgriffith$elm_ui$Internal$Model$htmlClass($mdgriffith$elm_ui$Internal$Style$classes.fF); var $author$project$InterestList$member = F2( function (p, _v0) { var i = _v0; - return A2($elm$core$Set$member, p, i.ae); + return A2($elm$core$Set$member, p, i.aa); }); var $author$project$Main$OverrideEditFinished = {$: 7}; var $author$project$Main$OverrideEdited = F3( @@ -25264,13 +26001,13 @@ function (a, b) { return {$: 5, a: a, b: b}; }); -var $mdgriffith$elm_ui$Element$Font$strike = $mdgriffith$elm_ui$Internal$Model$htmlClass($mdgriffith$elm_ui$Internal$Style$classes.gp); +var $mdgriffith$elm_ui$Element$Font$strike = $mdgriffith$elm_ui$Internal$Model$htmlClass($mdgriffith$elm_ui$Internal$Style$classes.f9); var $author$project$Main$viewEntryAndOverride = F5( function (runId, name, overrides, activeOverrideEditor, f) { var thisOverrideEditor = A2( $elm_community$maybe_extra$Maybe$Extra$filter, function (e) { - return _Utils_eq(e.N, runId) && _Utils_eq(e.a2, name); + return _Utils_eq(e.M, runId) && _Utils_eq(e.aN, name); }, activeOverrideEditor); var override = A2($elm$core$Dict$get, name, overrides); @@ -25320,17 +26057,17 @@ [ $mdgriffith$elm_ui$Element$Font$color($author$project$Styling$germanZeroYellow) ])), - $author$project$Styling$fonts.au))), + $author$project$Styling$fonts.U))), { - a1: $mdgriffith$elm_ui$Element$text(newFormattedF), - bO: $elm$core$Maybe$Just( + aM: $mdgriffith$elm_ui$Element$text(newFormattedF), + a$: $elm$core$Maybe$Just( A3($author$project$Main$OverrideEdited, runId, name, newFormattedF)) })); } } else { var editor = thisOverrideEditor.a; var textStyle = function () { - var _v3 = editor.bt; + var _v3 = editor.bd; if (_v3.$ === 1) { return _List_fromArray( [ @@ -25368,10 +26105,10 @@ $mdgriffith$elm_ui$Element$Input$text, textAttributes, { - a1: $mdgriffith$elm_ui$Element$Input$labelHidden('override'), - bh: A2($author$project$Main$OverrideEdited, runId, name), - bP: $elm$core$Maybe$Nothing, - bU: editor.bX + aM: $mdgriffith$elm_ui$Element$Input$labelHidden('override'), + aP: A2($author$project$Main$OverrideEdited, runId, name), + bz: $elm$core$Maybe$Nothing, + bE: editor.a8 })); } }(); @@ -25384,230 +26121,168 @@ A2( $elm$core$List$cons, $mdgriffith$elm_ui$Element$Font$alignRight, - _Utils_ap($author$project$Styling$fonts.au, originalStyle)), + _Utils_ap($author$project$Styling$fonts.U, originalStyle)), { - a1: $mdgriffith$elm_ui$Element$text(formattedF), - bO: $elm$core$Maybe$Just(action) + aM: $mdgriffith$elm_ui$Element$text(formattedF), + a$: $elm$core$Maybe$Just(action) }), o); }); -var $author$project$Main$viewTree = F8( +var $author$project$Main$viewValueTree = F8( function (runId, interestListId, path, checkIsCollapsed, interestList, overrides, activeOverrideEditor, tree) { - return A2(checkIsCollapsed, runId, path) ? $mdgriffith$elm_ui$Element$none : A2( - $mdgriffith$elm_ui$Element$Keyed$column, - _Utils_ap( - _List_fromArray( - [ - $mdgriffith$elm_ui$Element$paddingEach( - {c0: $author$project$Styling$sizes.M, dv: $author$project$Styling$sizes.M, dV: 0, d3: $author$project$Styling$sizes.M}), - $mdgriffith$elm_ui$Element$spacing($author$project$Styling$sizes.d$), - $mdgriffith$elm_ui$Element$width($mdgriffith$elm_ui$Element$fill) - ]), - $author$project$Styling$fonts.fc), - A2( - $elm$core$List$map, - function (_v0) { - var name = _v0.a; - var val = _v0.b; - var itemRow = function (content) { - return A2( - $mdgriffith$elm_ui$Element$row, - _Utils_ap( + var viewLeaf = F3( + function (pathToParent, name, value) { + switch (value.$) { + case 1: + return _List_fromArray( + [ + A2( + $mdgriffith$elm_ui$Element$el, + _List_fromArray( + [ + $mdgriffith$elm_ui$Element$width( + $mdgriffith$elm_ui$Element$px(16)) + ]), + $mdgriffith$elm_ui$Element$none), + A2( + $mdgriffith$elm_ui$Element$el, _List_fromArray( [ - $mdgriffith$elm_ui$Element$spacing($author$project$Styling$sizes.S), $mdgriffith$elm_ui$Element$width($mdgriffith$elm_ui$Element$fill) ]), - $author$project$Styling$treeElementStyle), - content); - }; - var isEntry = _Utils_eq( - path, - _List_fromArray( - ['entries'])); - var childPath = _Utils_ap( - path, - _List_fromArray( - [name])); - var element = function () { - if (!val.$) { - var child = val.a; - return A2( - $mdgriffith$elm_ui$Element$column, + $mdgriffith$elm_ui$Element$text(name)), + A2( + $mdgriffith$elm_ui$Element$el, + A2( + $elm$core$List$cons, + $mdgriffith$elm_ui$Element$Font$alignRight, + A2($elm$core$List$cons, $mdgriffith$elm_ui$Element$Font$bold, $author$project$Styling$fonts.U)), + $mdgriffith$elm_ui$Element$text('null')) + ]); + case 2: + var s = value.a; + return _List_fromArray( + [ + A2( + $mdgriffith$elm_ui$Element$el, + _List_fromArray( + [ + $mdgriffith$elm_ui$Element$width( + $mdgriffith$elm_ui$Element$px(16)) + ]), + $mdgriffith$elm_ui$Element$none), + A2( + $mdgriffith$elm_ui$Element$el, _List_fromArray( [ $mdgriffith$elm_ui$Element$width($mdgriffith$elm_ui$Element$fill) ]), + $mdgriffith$elm_ui$Element$text(name)), + A2( + $mdgriffith$elm_ui$Element$el, + A2($elm$core$List$cons, $mdgriffith$elm_ui$Element$Font$alignRight, $author$project$Styling$fonts.U), + $mdgriffith$elm_ui$Element$text(s)) + ]); + default: + var f = value.a; + var thisPath = _Utils_ap( + pathToParent, + _List_fromArray( + [name])); + var isEntry = _Utils_eq( + pathToParent, + _List_fromArray( + ['entries'])); + var button = A2($author$project$InterestList$member, thisPath, interestList) ? A2( + $author$project$Styling$dangerousIconButton, + $author$project$Styling$size16($feathericons$elm_feather$FeatherIcons$trash2), + A2($author$project$Main$RemoveFromInterestListClicked, interestListId, thisPath)) : A2( + $author$project$Styling$iconButton, + $author$project$Styling$size16($feathericons$elm_feather$FeatherIcons$plus), + $author$project$Main$AddToInterestListClicked(thisPath)); + var _v1 = isEntry ? A5($author$project$Main$viewEntryAndOverride, runId, name, overrides, activeOverrideEditor, f) : _Utils_Tuple2( + A2( + $mdgriffith$elm_ui$Element$el, + A2($elm$core$List$cons, $mdgriffith$elm_ui$Element$Font$alignRight, $author$project$Styling$fonts.U), + $mdgriffith$elm_ui$Element$text( + $author$project$Styling$formatGermanNumber(f))), + $mdgriffith$elm_ui$Element$none); + var originalValue = _v1.a; + var maybeOverride = _v1.b; + return _List_fromArray( + [ + button, + A2( + $mdgriffith$elm_ui$Element$el, _List_fromArray( [ - A2( - $mdgriffith$elm_ui$Element$Input$button, - _List_fromArray( - [ - $mdgriffith$elm_ui$Element$width($mdgriffith$elm_ui$Element$fill), - $mdgriffith$elm_ui$Element$focused(_List_Nil) - ]), - { - a1: itemRow( - _List_fromArray( - [ - $author$project$Main$collapsedStatusIcon( - A2(checkIsCollapsed, runId, childPath)), - A2( - $mdgriffith$elm_ui$Element$el, - _List_fromArray( - [ - $mdgriffith$elm_ui$Element$width($mdgriffith$elm_ui$Element$fill) - ]), - $mdgriffith$elm_ui$Element$text(name)), - A2( - $mdgriffith$elm_ui$Element$el, - A2( - $elm$core$List$cons, - $mdgriffith$elm_ui$Element$Font$italic, - A2($elm$core$List$cons, $mdgriffith$elm_ui$Element$Font$alignRight, $author$project$Styling$fonts.fd)), - $mdgriffith$elm_ui$Element$text( - $elm$core$String$fromInt( - $elm$core$Dict$size(child)))) - ])), - bO: $elm$core$Maybe$Just( - $author$project$Main$ToggleCollapseTreeClicked( - _Utils_Tuple2( - runId, - _Utils_ap( - path, - _List_fromArray( - [name]))))) - }), - A8($author$project$Main$viewTree, runId, interestListId, childPath, checkIsCollapsed, interestList, overrides, activeOverrideEditor, child) - ])); - } else { - switch (val.a.$) { - case 1: - var _v2 = val.a; - return itemRow( - _List_fromArray( - [ - A2( - $mdgriffith$elm_ui$Element$el, - _List_fromArray( - [ - $mdgriffith$elm_ui$Element$width( - $mdgriffith$elm_ui$Element$px(16)) - ]), - $mdgriffith$elm_ui$Element$none), - A2( - $mdgriffith$elm_ui$Element$el, - _List_fromArray( - [ - $mdgriffith$elm_ui$Element$width($mdgriffith$elm_ui$Element$fill) - ]), - $mdgriffith$elm_ui$Element$text(name)), - A2( - $mdgriffith$elm_ui$Element$el, - A2( - $elm$core$List$cons, - $mdgriffith$elm_ui$Element$Font$alignRight, - A2($elm$core$List$cons, $mdgriffith$elm_ui$Element$Font$bold, $author$project$Styling$fonts.au)), - $mdgriffith$elm_ui$Element$text('null')) - ])); - case 2: - var s = val.a.a; - return itemRow( - _List_fromArray( - [ - A2( - $mdgriffith$elm_ui$Element$el, - _List_fromArray( - [ - $mdgriffith$elm_ui$Element$width( - $mdgriffith$elm_ui$Element$px(16)) - ]), - $mdgriffith$elm_ui$Element$none), - A2( - $mdgriffith$elm_ui$Element$el, - _List_fromArray( - [ - $mdgriffith$elm_ui$Element$width($mdgriffith$elm_ui$Element$fill) - ]), - $mdgriffith$elm_ui$Element$text(name)), - A2( - $mdgriffith$elm_ui$Element$el, - A2($elm$core$List$cons, $mdgriffith$elm_ui$Element$Font$alignRight, $author$project$Styling$fonts.au), - $mdgriffith$elm_ui$Element$text(s)) - ])); - default: - var f = val.a.a; - var formattedF = $author$project$Styling$formatGermanNumber(f); - var button = A2($author$project$InterestList$member, childPath, interestList) ? A2( - $author$project$Styling$dangerousIconButton, - $author$project$Styling$size16($feathericons$elm_feather$FeatherIcons$trash2), - A2($author$project$Main$RemoveFromInterestListClicked, interestListId, childPath)) : A2( - $author$project$Styling$iconButton, - $author$project$Styling$size16($feathericons$elm_feather$FeatherIcons$plus), - $author$project$Main$AddToInterestListClicked(childPath)); - var _v3 = isEntry ? A5($author$project$Main$viewEntryAndOverride, runId, name, overrides, activeOverrideEditor, f) : _Utils_Tuple2( - A2( - $mdgriffith$elm_ui$Element$el, - A2($elm$core$List$cons, $mdgriffith$elm_ui$Element$Font$alignRight, $author$project$Styling$fonts.au), - $mdgriffith$elm_ui$Element$text( - $author$project$Styling$formatGermanNumber(f))), - $mdgriffith$elm_ui$Element$none); - var originalValue = _v3.a; - var maybeOverride = _v3.b; - return itemRow( - _List_fromArray( - [ - button, - A2( - $mdgriffith$elm_ui$Element$el, - _List_fromArray( - [ - $mdgriffith$elm_ui$Element$width($mdgriffith$elm_ui$Element$fill) - ]), - $mdgriffith$elm_ui$Element$text(name)), - originalValue, - maybeOverride - ])); - } - } - }(); - return _Utils_Tuple2(name, element); - }, - $elm$core$Dict$toList(tree))); + $mdgriffith$elm_ui$Element$width($mdgriffith$elm_ui$Element$fill) + ]), + $mdgriffith$elm_ui$Element$text(name)), + originalValue, + maybeOverride + ]); + } + }); + return A3( + $author$project$Main$viewTree, + { + bO: $author$project$Main$ToggleCollapseTreeClicked( + $author$project$Explorable$Run(runId)), + am: checkIsCollapsed(runId), + cy: viewLeaf + }, + path, + tree); }); -var $author$project$Main$viewInputsAndResult = F7( - function (runId, interestListId, collapseStatus, interestList, activeOverrideEditor, activeSearch, run) { +var $author$project$Main$viewRun = F8( + function (runId, interestListId, interestList, collapseStatus, activeOverrideEditor, activeSearch, selectedForComparison, run) { var overrides = $author$project$Run$getOverrides(run); + var isSelectedForComparison = function () { + if (selectedForComparison.$ === 1) { + return false; + } else { + var ri = selectedForComparison.a; + return _Utils_eq(ri, runId); + } + }(); + var selectForComparisonButton = isSelectedForComparison ? A2( + $author$project$Styling$dangerousIconButton, + $feathericons$elm_feather$FeatherIcons$trello, + $author$project$Main$ToggleSelectForCompareClicked(runId)) : A2( + $author$project$Styling$iconButton, + $feathericons$elm_feather$FeatherIcons$trello, + $author$project$Main$ToggleSelectForCompareClicked(runId)); var inputs = $author$project$Run$getInputs(run); var differentIfFilterActive = function () { var _v0 = A2( $elm_community$maybe_extra$Maybe$Extra$filter, function (s) { - return _Utils_eq(s.N, runId); + return _Utils_eq(s.M, runId); }, activeSearch); if (_v0.$ === 1) { return { - b8: A2( + bU: A2( $author$project$Styling$iconButton, $feathericons$elm_feather$FeatherIcons$filter, A2($author$project$Main$FilterEdited, runId, '')), - b9: $mdgriffith$elm_ui$Element$none, - bL: F2( + bV: $mdgriffith$elm_ui$Element$none, + am: F2( function (r, p) { - return A2( + return A3( $author$project$CollapseStatus$isCollapsed, - _Utils_Tuple2(r, p), + $author$project$Explorable$Run(r), + p, collapseStatus); }), - cO: A2($author$project$Run$getTree, 1, run) + cx: A2($author$project$Run$getTree, 1, run) }; } else { var s = _v0.a; return { - b8: A2($author$project$Styling$dangerousIconButton, $feathericons$elm_feather$FeatherIcons$filter, $author$project$Main$FilterFinished), - b9: A2( + bU: A2($author$project$Styling$dangerousIconButton, $feathericons$elm_feather$FeatherIcons$filter, $author$project$Main$FilterFinished), + bV: A2( $mdgriffith$elm_ui$Element$column, _List_fromArray( [ @@ -25632,14 +26307,14 @@ ])) ]), { - a1: $mdgriffith$elm_ui$Element$Input$labelHidden('search'), - bh: $author$project$Main$FilterEdited(runId), - bP: $elm$core$Maybe$Just( + aM: $mdgriffith$elm_ui$Element$Input$labelHidden('search'), + aP: $author$project$Main$FilterEdited(runId), + bz: $elm$core$Maybe$Just( A2( $mdgriffith$elm_ui$Element$Input$placeholder, _List_Nil, $mdgriffith$elm_ui$Element$text('Pattern, e.g: a18 CO2e_total'))), - bU: s.cw + bE: s.ce }), A2( $mdgriffith$elm_ui$Element$el, @@ -25649,11 +26324,11 @@ ]), $mdgriffith$elm_ui$Element$text('Escape to cancel, Enter to add all')) ])), - bL: F2( + am: F2( function (_v1, _v2) { return false; }), - cO: s.bi + cx: s.a0 }; } }(); @@ -25662,8 +26337,8 @@ _List_fromArray( [ $mdgriffith$elm_ui$Element$width($mdgriffith$elm_ui$Element$fill), - $mdgriffith$elm_ui$Element$spacing($author$project$Styling$sizes.M), - $mdgriffith$elm_ui$Element$padding($author$project$Styling$sizes.d$), + $mdgriffith$elm_ui$Element$spacing($author$project$Styling$sizes.z), + $mdgriffith$elm_ui$Element$padding($author$project$Styling$sizes.cn), $mdgriffith$elm_ui$Element$Border$width(1), $mdgriffith$elm_ui$Element$Border$color($author$project$Styling$black), $mdgriffith$elm_ui$Element$Border$rounded(4) @@ -25685,17 +26360,17 @@ $mdgriffith$elm_ui$Element$width($mdgriffith$elm_ui$Element$fill), $author$project$Styling$treeElementStyle), { - a1: A2( + aM: A2( $mdgriffith$elm_ui$Element$row, _List_fromArray( [ $mdgriffith$elm_ui$Element$width($mdgriffith$elm_ui$Element$fill), - $mdgriffith$elm_ui$Element$spacing($author$project$Styling$sizes.M) + $mdgriffith$elm_ui$Element$spacing($author$project$Styling$sizes.z) ]), _List_fromArray( [ $author$project$Main$collapsedStatusIcon( - A2(differentIfFilterActive.bL, runId, _List_Nil)), + A2(differentIfFilterActive.am, runId, _List_Nil)), A2( $mdgriffith$elm_ui$Element$el, _List_fromArray( @@ -25703,16 +26378,19 @@ $mdgriffith$elm_ui$Element$text( $elm$core$String$fromInt(runId) + ':')), $mdgriffith$elm_ui$Element$text( - inputs.a_ + (' ' + $elm$core$String$fromInt(inputs.aZ))) + inputs.aI + (' ' + $elm$core$String$fromInt(inputs.aH))) ])), - bO: $elm$core$Maybe$Just( - $author$project$Main$ToggleCollapseTreeClicked( - _Utils_Tuple2(runId, _List_Nil))) + a$: $elm$core$Maybe$Just( + A2( + $author$project$Main$ToggleCollapseTreeClicked, + $author$project$Explorable$Run(runId), + _List_Nil)) }), $author$project$Main$buttons( _List_fromArray( [ - differentIfFilterActive.b8, + differentIfFilterActive.bU, + selectForComparisonButton, A2( $author$project$Styling$iconButton, $feathericons$elm_feather$FeatherIcons$edit, @@ -25728,25 +26406,26 @@ A2( $author$project$Styling$dangerousIconButton, $feathericons$elm_feather$FeatherIcons$trash2, - $author$project$Main$RemoveRunClicked(runId)) + $author$project$Main$RemoveExplorableClicked( + $author$project$Explorable$Run(runId))) ])) ])), - differentIfFilterActive.b9, - A8($author$project$Main$viewTree, runId, interestListId, _List_Nil, differentIfFilterActive.bL, interestList, overrides, activeOverrideEditor, differentIfFilterActive.cO) + differentIfFilterActive.bV, + A8($author$project$Main$viewValueTree, runId, interestListId, _List_Nil, differentIfFilterActive.am, interestList, overrides, activeOverrideEditor, differentIfFilterActive.cx) ])); }); -var $author$project$Main$viewResultsPane = function (model) { +var $author$project$Main$viewRunsAndComparisons = function (model) { return A2( $mdgriffith$elm_ui$Element$column, _List_fromArray( [ $mdgriffith$elm_ui$Element$height($mdgriffith$elm_ui$Element$fill), - $mdgriffith$elm_ui$Element$spacing($author$project$Styling$sizes.S), - $mdgriffith$elm_ui$Element$padding($author$project$Styling$sizes.S), + $mdgriffith$elm_ui$Element$spacing($author$project$Styling$sizes.P), + $mdgriffith$elm_ui$Element$padding($author$project$Styling$sizes.P), $mdgriffith$elm_ui$Element$height( A2($mdgriffith$elm_ui$Element$minimum, 0, $mdgriffith$elm_ui$Element$fill)), $mdgriffith$elm_ui$Element$width( - A2($mdgriffith$elm_ui$Element$minimum, 500, $mdgriffith$elm_ui$Element$shrink)), + $mdgriffith$elm_ui$Element$px(model.bv)), $mdgriffith$elm_ui$Element$inFront( A2( $author$project$Styling$floatingActionButton, @@ -25767,26 +26446,38 @@ $mdgriffith$elm_ui$Element$column, _List_fromArray( [ - $mdgriffith$elm_ui$Element$spacing($author$project$Styling$sizes.S), + $mdgriffith$elm_ui$Element$spacing($author$project$Styling$sizes.P), $mdgriffith$elm_ui$Element$width($mdgriffith$elm_ui$Element$fill), $mdgriffith$elm_ui$Element$height($mdgriffith$elm_ui$Element$fill) ]), - A2( - $elm$core$List$map, - function (_v0) { - var resultNdx = _v0.a; - var ir = _v0.b; - return A7( - $author$project$Main$viewInputsAndResult, - resultNdx, - $yotamDvir$elm_pivot$Pivot$lengthL(model.x), - model.bd, - $yotamDvir$elm_pivot$Pivot$getC(model.x), - model.aj, - model.ak, - ir); - }, - $author$project$AllRuns$toList(model.C)))) + _Utils_ap( + A2( + $elm$core$List$map, + function (_v0) { + var resultNdx = _v0.a; + var ir = _v0.b; + return A8( + $author$project$Main$viewRun, + resultNdx, + $yotamDvir$elm_pivot$Pivot$lengthL(model.v), + $yotamDvir$elm_pivot$Pivot$getC(model.v), + model.aK, + model.ae, + model.af, + model.aC, + ir); + }, + $author$project$AllRuns$toList(model.B)), + A2( + $elm$core$List$map, + function (_v1) { + var _v2 = _v1.a; + var a = _v2.a; + var b = _v2.b; + var diffData = _v1.b; + return A4($author$project$Main$viewComparison, a, b, model.aK, diffData); + }, + $elm$core$Dict$toList(model.I))))) ])); }; var $mdgriffith$elm_ui$Element$Border$widthXY = F2( @@ -25803,10 +26494,10 @@ x)); }); var $mdgriffith$elm_ui$Element$Border$widthEach = function (_v0) { - var bottom = _v0.c0; - var top = _v0.d3; - var left = _v0.dv; - var right = _v0.dV; + var bottom = _v0.cM; + var top = _v0.dR; + var left = _v0.df; + var right = _v0.dG; return (_Utils_eq(top, bottom) && _Utils_eq(left, right)) ? (_Utils_eq(top, right) ? $mdgriffith$elm_ui$Element$Border$width(top) : A2($mdgriffith$elm_ui$Element$Border$widthXY, left, top)) : A2( $mdgriffith$elm_ui$Internal$Model$StyleClass, $mdgriffith$elm_ui$Internal$Flag$borderWidth, @@ -25825,12 +26516,12 @@ _List_fromArray( [ $mdgriffith$elm_ui$Element$width($mdgriffith$elm_ui$Element$fill), - $mdgriffith$elm_ui$Element$padding($author$project$Styling$sizes.S), + $mdgriffith$elm_ui$Element$padding($author$project$Styling$sizes.P), $mdgriffith$elm_ui$Element$Border$color($author$project$Styling$black), $mdgriffith$elm_ui$Element$Border$widthEach( - {c0: 2, dv: 0, dV: 0, d3: 0}) + {cM: 2, df: 0, dG: 0, dR: 0}) ]), - $author$project$Styling$fonts.fb), + $author$project$Styling$fonts.e_), _List_fromArray( [ $mdgriffith$elm_ui$Element$text('LocalZero Explorer'), @@ -25853,18 +26544,18 @@ function (_v0) { var pos = _v0.a; var il = _v0.b; - var activePos = $yotamDvir$elm_pivot$Pivot$lengthL(model.x); + var activePos = $yotamDvir$elm_pivot$Pivot$lengthL(model.v); return A6( $author$project$Main$viewInterestList, pos, - model.bE, + model.bo, _Utils_eq(pos, activePos), il, - model.bw, - model.C); + model.bg, + model.B); }, $yotamDvir$elm_pivot$Pivot$toList( - $yotamDvir$elm_pivot$Pivot$indexAbsolute(model.x))); + $yotamDvir$elm_pivot$Pivot$indexAbsolute(model.v))); return A2( $mdgriffith$elm_ui$Element$column, _List_fromArray( @@ -25883,11 +26574,21 @@ $mdgriffith$elm_ui$Element$width($mdgriffith$elm_ui$Element$fill), $mdgriffith$elm_ui$Element$height( A2($mdgriffith$elm_ui$Element$minimum, 0, $mdgriffith$elm_ui$Element$fill)), - $mdgriffith$elm_ui$Element$spacing($author$project$Styling$sizes.S) + $mdgriffith$elm_ui$Element$spacing($author$project$Styling$sizes.P) ]), _List_fromArray( [ - $author$project$Main$viewResultsPane(model), + $author$project$Main$viewRunsAndComparisons(model), + A2( + $mdgriffith$elm_ui$Element$el, + _List_fromArray( + [ + $mdgriffith$elm_ui$Element$width( + $mdgriffith$elm_ui$Element$px(2)), + $mdgriffith$elm_ui$Element$Background$color($author$project$Styling$black), + $mdgriffith$elm_ui$Element$height($mdgriffith$elm_ui$Element$fill) + ]), + $mdgriffith$elm_ui$Element$none), A2( $mdgriffith$elm_ui$Element$el, _List_fromArray( @@ -25906,8 +26607,8 @@ $mdgriffith$elm_ui$Element$height( A2($mdgriffith$elm_ui$Element$minimum, 0, $mdgriffith$elm_ui$Element$fill)), $mdgriffith$elm_ui$Element$scrollbarY, - $mdgriffith$elm_ui$Element$spacing($author$project$Styling$sizes.M), - $mdgriffith$elm_ui$Element$padding($author$project$Styling$sizes.M) + $mdgriffith$elm_ui$Element$spacing($author$project$Styling$sizes.z), + $mdgriffith$elm_ui$Element$padding($author$project$Styling$sizes.z) ]), interestLists)) ])) @@ -25915,7 +26616,7 @@ }; var $author$project$Main$view = function (model) { var dialog = function () { - var _v0 = model.ah; + var _v0 = model.ac; if (_v0.$ === 1) { return $mdgriffith$elm_ui$Element$none; } else { @@ -25973,7 +26674,7 @@ $author$project$Main$viewModel(model)); }; var $author$project$Main$main = $elm$browser$Browser$element( - {fv: $author$project$Main$init, gr: $author$project$Main$subscriptions, g_: $author$project$Main$update, bZ: $author$project$Main$view}); + {fi: $author$project$Main$init, gb: $author$project$Main$subscriptions, gJ: $author$project$Main$update, bH: $author$project$Main$view}); _Platform_export({'Main':{'init':$author$project$Main$main( $elm$json$Json$Decode$succeed(0))(0)}});}(this)); diff --git a/explorer/src/AllRuns.elm b/explorer/src/AllRuns.elm index ed5dbff5..5f0932e6 100644 --- a/explorer/src/AllRuns.elm +++ b/explorer/src/AllRuns.elm @@ -1,6 +1,5 @@ module AllRuns exposing - ( AbsolutePath - , AllRuns + ( AllRuns , RunId , add , empty @@ -16,7 +15,8 @@ module AllRuns exposing import Dict exposing (Dict) import Run exposing (Path, Run) -import ValueTree exposing (Value) +import Tree +import Value exposing (Value) type alias RunId = @@ -28,12 +28,6 @@ stringFromRunId runId = String.fromInt runId -{-| A Path to a value inside a given GeneratorResult --} -type alias AbsolutePath = - ( Int, Path ) - - {-| One run of the generator. Uses a dictionary so that ids still refer to the same generator run after deletion of another run. @@ -44,7 +38,7 @@ type AllRuns empty : AllRuns empty = - AllRuns { runs = Dict.empty, nextId = 0 } + AllRuns { runs = Dict.empty, nextId = 1 } add : Run -> AllRuns -> AllRuns @@ -92,14 +86,14 @@ getValue handling ndx path (AllRuns a) = Dict.get ndx a.runs |> Maybe.andThen (\r -> - ValueTree.get path (Run.getTree handling r) + Tree.get path (Run.getTree handling r) |> Maybe.andThen (\node -> case node of - ValueTree.Tree _ -> + Tree.Tree _ -> Nothing - ValueTree.Leaf n -> + Tree.Leaf n -> Just n ) ) diff --git a/explorer/src/CollapseStatus.elm b/explorer/src/CollapseStatus.elm index 3ee73c1a..b28cde41 100644 --- a/explorer/src/CollapseStatus.elm +++ b/explorer/src/CollapseStatus.elm @@ -7,12 +7,13 @@ module CollapseStatus exposing , toggle ) -import AllRuns exposing (AbsolutePath) +import Explorable +import Run exposing (Path) import Set exposing (Set) type CollapseStatus - = CollapseStatus (Set AbsolutePath) + = CollapseStatus (Set ( Explorable.Comparable, Path )) allCollapsed : CollapseStatus @@ -20,25 +21,30 @@ allCollapsed = CollapseStatus Set.empty -expand : AbsolutePath -> CollapseStatus -> CollapseStatus -expand ap (CollapseStatus s) = - CollapseStatus (Set.insert ap s) +absolutePath : Explorable.Id -> Path -> ( Explorable.Comparable, Path ) +absolutePath i p = + ( Explorable.toComparable i, p ) -collapse : AbsolutePath -> CollapseStatus -> CollapseStatus -collapse ap (CollapseStatus s) = - CollapseStatus (Set.remove ap s) +expand : Explorable.Id -> Path -> CollapseStatus -> CollapseStatus +expand i p (CollapseStatus s) = + CollapseStatus (Set.insert (absolutePath i p) s) -isCollapsed : AbsolutePath -> CollapseStatus -> Bool -isCollapsed ap (CollapseStatus s) = - not (Set.member ap s) +collapse : Explorable.Id -> Path -> CollapseStatus -> CollapseStatus +collapse i p (CollapseStatus s) = + CollapseStatus (Set.remove (absolutePath i p) s) -toggle : AbsolutePath -> CollapseStatus -> CollapseStatus -toggle ap s = - if isCollapsed ap s then - expand ap s +isCollapsed : Explorable.Id -> Path -> CollapseStatus -> Bool +isCollapsed i p (CollapseStatus s) = + not (Set.member (absolutePath i p) s) + + +toggle : Explorable.Id -> Path -> CollapseStatus -> CollapseStatus +toggle i p s = + if isCollapsed i p s then + expand i p s else - collapse ap s + collapse i p s diff --git a/explorer/src/Diff.elm b/explorer/src/Diff.elm new file mode 100644 index 00000000..d2022ebf --- /dev/null +++ b/explorer/src/Diff.elm @@ -0,0 +1,46 @@ +module Diff exposing (Diff(..), diff) + +import Dict +import Tree exposing (Node(..), Tree) + + +type Diff value + = Left (Node value) + | Right (Node value) + | Unequal (Node value) (Node value) + + +diff : (v -> v -> Bool) -> Tree v -> Tree v -> Tree (Diff v) +diff valueIsEqual a b = + Dict.merge + (\key value acc -> Dict.insert key (Leaf (Left value)) acc) + (\key value1 value2 acc -> + case ( value1, value2 ) of + ( Tree t1, Tree t2 ) -> + let + t = + diff valueIsEqual t1 t2 + in + if Dict.isEmpty t then + acc + + else + Dict.insert key (Tree t) acc + + ( Tree _, Leaf _ ) -> + Dict.insert key (Leaf (Unequal value1 value2)) acc + + ( Leaf _, Tree _ ) -> + Dict.insert key (Leaf (Unequal value1 value2)) acc + + ( Leaf l1, Leaf l2 ) -> + if valueIsEqual l1 l2 then + acc + + else + Dict.insert key (Leaf (Unequal value1 value2)) acc + ) + (\key value acc -> Dict.insert key (Leaf (Right value)) acc) + a + b + Dict.empty diff --git a/explorer/src/Explorable.elm b/explorer/src/Explorable.elm new file mode 100644 index 00000000..f52dfe1b --- /dev/null +++ b/explorer/src/Explorable.elm @@ -0,0 +1,29 @@ +module Explorable exposing (Comparable, Id(..), toComparable) + +{-| There are two kinds of things explorable as Trees in the left panel of +the UI. Run's and Diffs of runs. +-} + +import AllRuns +import Bitwise + + +type Id + = Run AllRuns.RunId + | Diff AllRuns.RunId AllRuns.RunId + + +type alias Comparable = + Int + + +{-| For comparison +-} +toComparable : Id -> Comparable +toComparable e = + case e of + Run r -> + r + + Diff r1 r2 -> + Bitwise.or (Bitwise.shiftLeftBy 16 r1) r2 diff --git a/explorer/src/Filter.elm b/explorer/src/Filter.elm index 4ea7eae3..2ceafc53 100644 --- a/explorer/src/Filter.elm +++ b/explorer/src/Filter.elm @@ -4,10 +4,10 @@ import Dict import Glob import Html.Attributes exposing (pattern) import Run exposing (Path) -import ValueTree exposing (Node(..), Tree) +import Tree exposing (Node(..), Tree) -filterWord : String -> Tree -> Tree +filterWord : String -> Tree value -> Tree value filterWord pattern tree = Dict.toList tree |> List.filterMap @@ -34,7 +34,7 @@ filterWord pattern tree = |> Dict.fromList -filter : String -> Tree -> Tree +filter : String -> Tree value -> Tree value filter pattern tree = let words = diff --git a/explorer/src/InterestListTable.elm b/explorer/src/InterestListTable.elm index 612ae01b..4e7d6b21 100644 --- a/explorer/src/InterestListTable.elm +++ b/explorer/src/InterestListTable.elm @@ -1,10 +1,15 @@ module InterestListTable exposing (InterestListTable, create) +{-| A InterestListTable is the result of applying an InterestList +to all the runs. +-} + import AllRuns exposing (AllRuns, RunId) import Dict exposing (Dict) import InterestList exposing (InterestList) import Run -import ValueTree exposing (Value(..)) +import Tree +import Value exposing (Value(..)) type alias InterestListTable = @@ -41,15 +46,15 @@ create interestList allRuns = (\path -> case Run.getTree Run.WithOverrides run - |> ValueTree.get path + |> Tree.get path of Nothing -> ( ( runId, path ), String "NOTHING" ) - Just (ValueTree.Tree _) -> + Just (Tree.Tree _) -> ( ( runId, path ), String "TREE" ) - Just (ValueTree.Leaf v) -> + Just (Tree.Leaf v) -> ( ( runId, path ), v ) ) ) diff --git a/explorer/src/Main.elm b/explorer/src/Main.elm index f8a2f721..066fd6e4 100644 --- a/explorer/src/Main.elm +++ b/explorer/src/Main.elm @@ -4,11 +4,9 @@ module Main exposing (Model, Msg(..), init, main, subscriptions, update, view) import AllRuns exposing - ( AbsolutePath - , AllRuns + ( AllRuns , RunId ) -import Array exposing (Array) import Browser import Browser.Dom import Chart as C @@ -18,7 +16,7 @@ import Chart.Item import Cmd.Extra exposing (withCmd, withNoCmd) import CollapseStatus exposing (CollapseStatus, allCollapsed, isCollapsed) import Dict exposing (Dict) -import Dropdown +import Diff exposing (Diff(..)) import Element exposing ( Element @@ -28,7 +26,6 @@ import Element , el , fill , height - , maximum , minimum , padding , paragraph @@ -46,6 +43,7 @@ import Element.Events as Events import Element.Font as Font import Element.Input as Input import Element.Keyed +import Explorable import FeatherIcons import File exposing (File) import File.Download as Download @@ -59,12 +57,10 @@ import InterestList exposing (InterestList) import InterestListTable exposing (InterestListTable) import Json.Decode as Decode import Json.Encode as Encode -import List.Extra import Maybe.Extra import Pivot exposing (Pivot) -import Run exposing (OverrideHandling(..), Run) -import Set exposing (Set) -import Storage exposing (Storage) +import Run exposing (OverrideHandling(..), Path, Run) +import Storage import Styling exposing ( black @@ -87,7 +83,8 @@ import Styling , white ) import Task -import ValueTree exposing (Node(..), Tree, Value(..)) +import Tree exposing (Node(..), Tree) +import Value exposing (Value(..)) @@ -112,7 +109,10 @@ type alias ActiveOverrideEditor = type alias ActiveSearch = - { runId : RunId, pattern : String, result : ValueTree.Tree } + { runId : RunId + , pattern : String + , result : Tree.Tree Value + } {-| Position of interestlist in pivot @@ -125,6 +125,16 @@ type alias ChartHovering = List (Chart.Item.Many (List String) Chart.Item.Any) +type alias DiffId = + ( RunId, RunId ) + + +type alias DiffData = + { diff : Tree (Diff Value) + , tolerance : Float -- 0 to 100.0 + } + + type alias Model = { runs : AllRuns , collapseStatus : CollapseStatus @@ -134,6 +144,9 @@ type alias Model = , activeOverrideEditor : Maybe ActiveOverrideEditor , activeSearch : Maybe ActiveSearch , chartHovering : ChartHovering + , diffs : Dict DiffId DiffData + , selectedForComparison : Maybe RunId + , leftPaneWidth : Int } @@ -161,7 +174,7 @@ initiateCalculate maybeNdx inputs entries overrides model = ( { model | showModal = Just Loading } , Http.post { url = "http://localhost:4070/calculate/" ++ inputs.ags ++ "/" ++ String.fromInt inputs.year - , expect = Http.expectJson (GotGeneratorResult maybeNdx inputs entries overrides) ValueTree.decoder + , expect = Http.expectJson (GotGeneratorResult maybeNdx inputs entries overrides) (Tree.decoder Value.decoder) , body = Http.jsonBody (encodeOverrides overrides) } ) @@ -194,6 +207,9 @@ init _ = , activeOverrideEditor = Nothing , activeSearch = Nothing , chartHovering = [] + , diffs = Dict.empty + , selectedForComparison = Nothing + , leftPaneWidth = 600 } , Cmd.none ) @@ -204,7 +220,7 @@ init _ = type Msg - = GotGeneratorResult (Maybe RunId) Run.Inputs Run.Entries Run.Overrides (Result Http.Error Tree) + = GotGeneratorResult (Maybe RunId) Run.Inputs Run.Entries Run.Overrides (Result Http.Error (Tree Value)) | GotEntries (Maybe RunId) Run.Inputs Run.Overrides (Result Http.Error Run.Entries) | AddToInterestListClicked Run.Path | RemoveFromInterestListClicked InterestListId Run.Path @@ -215,11 +231,11 @@ type Msg | FilterEdited RunId String | FilterFinished | FilterQuickAddRequested - | ToggleCollapseTreeClicked AbsolutePath + | ToggleCollapseTreeClicked Explorable.Id Path | ModalMsg ModalMsg | DisplayCalculateModalClicked (Maybe RunId) Run.Inputs Run.Overrides - | CalculateModalOkClicked (Maybe RunId) Run.Inputs - | RemoveRunClicked RunId + | CalculateModalOkClicked (Maybe RunId) Run.Inputs Run.Overrides + | RemoveExplorableClicked Explorable.Id | InterestListLabelEdited InterestListId String | InterestListLabelEditFinished | ToggleShowGraphClicked InterestListId @@ -233,6 +249,9 @@ type Msg | FileContentLoaded String | OnChartHover ChartHovering | Noop + | ToggleSelectForCompareClicked RunId + | LeftPaneMoved Int + | DiffToleranceUpdated RunId RunId Float type ModalMsg @@ -270,6 +289,25 @@ downloadCmd model = Download.string "explorer.json" "text/json" content +removeRunAndDiffsThatDependOnIt : RunId -> Model -> Model +removeRunAndDiffsThatDependOnIt runId model = + let + newDiffs = + Dict.filter (\( runA, runB ) _ -> runA /= runId && runB /= runId) model.diffs + in + { model | runs = AllRuns.remove runId model.runs, diffs = newDiffs } + + +removeDiff : RunId -> RunId -> Model -> Model +removeDiff aId bId model = + { model | diffs = Dict.remove ( aId, bId ) model.diffs } + + +insertDiff : RunId -> RunId -> DiffData -> Model -> Model +insertDiff runA runB diffData model = + { model | diffs = Dict.insert ( runA, runB ) diffData model.diffs } + + update : Msg -> Model -> ( Model, Cmd Msg ) update msg model = case msg of @@ -308,15 +346,15 @@ update msg model = { model | interestLists = ils } |> withNoCmd - GotEntries maybeNdx inputs overrides (Ok entries) -> + GotEntries maybeRunId inputs overrides (Ok entries) -> model - |> initiateCalculate maybeNdx inputs entries overrides + |> initiateCalculate maybeRunId inputs entries overrides GotEntries _ _ _ (Err _) -> model |> withNoCmd - GotGeneratorResult maybeNdx inputs entries overrides resultOrError -> + GotGeneratorResult maybeRunId inputs entries overrides resultOrError -> case resultOrError of Ok result -> let @@ -328,16 +366,42 @@ update msg model = , overrides = overrides } - newResults = - case maybeNdx of - Nothing -> - AllRuns.add run model.runs + modelWithRun = + { model + | runs = + case maybeRunId of + Nothing -> + AllRuns.add run model.runs - Just ndx -> - AllRuns.set ndx run model.runs + Just runId -> + AllRuns.set runId run model.runs + } + + newDiffs = + case maybeRunId of + Nothing -> + modelWithRun.diffs + + Just runId -> + modelWithRun.diffs + |> Dict.map + (\( runA, runB ) diffData -> + if runA == runId || runB == runId then + -- A input into the diff was recomputed. Recompute the diff + case diffRunsById runA runB diffData.tolerance modelWithRun of + Nothing -> + -- If elm had panic I should panic + diffData + + Just d -> + d + + else + diffData + ) in - { model - | runs = newResults + { modelWithRun + | diffs = newDiffs , showModal = Nothing } |> withNoCmd @@ -362,13 +426,19 @@ update msg model = model |> withLoadFailure ("Failed to decode: " ++ error) - ToggleCollapseTreeClicked path -> - { model | collapseStatus = CollapseStatus.toggle path model.collapseStatus } + ToggleCollapseTreeClicked i path -> + { model | collapseStatus = CollapseStatus.toggle i path model.collapseStatus } |> withNoCmd - RemoveRunClicked ndx -> - { model | runs = AllRuns.remove ndx model.runs } - |> withNoCmd + RemoveExplorableClicked id -> + case id of + Explorable.Run runId -> + removeRunAndDiffsThatDependOnIt runId model + |> withNoCmd + + Explorable.Diff runA runB -> + removeDiff runA runB model + |> withNoCmd ModalMsg modalMsg -> updateModal modalMsg model.showModal @@ -383,10 +453,9 @@ update msg model = { model | showModal = Just modal } |> withNoCmd - CalculateModalOkClicked maybeNdx inputs -> - -- TODO: Actually lookup any existing overrides + CalculateModalOkClicked maybeNdx inputs overrides -> model - |> initiateMakeEntries maybeNdx inputs Dict.empty + |> initiateMakeEntries maybeNdx inputs overrides AddOrUpdateOverrideClicked ndx name f -> { model @@ -439,7 +508,7 @@ update msg model = Just a -> let paths = - ValueTree.expand a.result + Tree.expand a.result in { model | activeSearch = Nothing } |> mapActiveInterestList @@ -507,15 +576,21 @@ update msg model = ) RemoveOverrideClicked runId name -> - { model - | runs = - model.runs - |> AllRuns.update runId (Run.mapOverrides (Dict.remove name)) - , activeOverrideEditor = - model.activeOverrideEditor - |> Maybe.Extra.filter (\e -> e.runId /= runId || e.name /= name) - } - |> withNoCmd + case AllRuns.get runId model.runs of + Nothing -> + ( model, Cmd.none ) + + Just run -> + { model + | activeOverrideEditor = + model.activeOverrideEditor + |> Maybe.Extra.filter (\e -> e.runId /= runId || e.name /= name) + } + |> initiateMakeEntries (Just runId) + (Run.getInputs run) + (Run.getOverrides run + |> Dict.remove name + ) AddToInterestListClicked path -> model @@ -590,6 +665,75 @@ update msg model = { model | chartHovering = hovering } |> withNoCmd + DiffToleranceUpdated aId bId newTolerance -> + case diffRunsById aId bId newTolerance model of + Nothing -> + model + |> withNoCmd + + Just d -> + model + |> insertDiff aId bId d + |> withNoCmd + + ToggleSelectForCompareClicked runId -> + case model.selectedForComparison of + Nothing -> + { model | selectedForComparison = Just runId } + |> withNoCmd + + Just r -> + if r == runId then + { model | selectedForComparison = Nothing } + |> withNoCmd + + else + let + idA = + r + + idB = + runId + + withoutComparison = + { model | selectedForComparison = Nothing } + in + case diffRunsById idA idB Value.defaultTolerance withoutComparison of + Nothing -> + withoutComparison + |> withNoCmd + + Just d -> + withoutComparison + |> insertDiff idA idB d + |> withNoCmd + + LeftPaneMoved w -> + { model | leftPaneWidth = w } + |> withNoCmd + + +diffRunsById : RunId -> RunId -> Float -> Model -> Maybe DiffData +diffRunsById idA idB tolerance model = + case ( AllRuns.get idA model.runs, AllRuns.get idB model.runs ) of + ( Nothing, _ ) -> + Nothing + + ( _, Nothing ) -> + Nothing + + ( Just runA, Just runB ) -> + let + diff = + Diff.diff (Value.isEqual (tolerance / 100.0)) + (Run.getTree WithOverrides runA) + (Run.getTree WithOverrides runB) + + diffData = + { diff = diff, tolerance = tolerance } + in + Just diffData + updateModal : ModalMsg -> Maybe ModalState -> ( Maybe ModalState, Cmd ModalMsg ) updateModal msg model = @@ -710,7 +854,7 @@ viewChart chartHovering shortPathLabels interestListTable = (Element.html chart) -collapsedStatusIcon : Bool -> Element Msg +collapsedStatusIcon : Bool -> Element msg collapsedStatusIcon collapsed = let i = @@ -835,17 +979,15 @@ viewEntryAndOverride runId name overrides activeOverrideEditor f = viewTree : - RunId - -> InterestListId + { isCollapsed : Run.Path -> Bool + , collapsedToggledMsg : Run.Path -> msg + , viewLeaf : Run.Path -> String -> leaf -> List (Element msg) + } -> Run.Path - -> (RunId -> Run.Path -> Bool) - -> InterestList - -> Run.Overrides - -> Maybe ActiveOverrideEditor - -> Tree - -> Element Msg -viewTree runId interestListId path checkIsCollapsed interestList overrides activeOverrideEditor tree = - if checkIsCollapsed runId path then + -> Tree leaf + -> Element msg +viewTree cfg path tree = + if cfg.isCollapsed path then Element.none else @@ -853,9 +995,6 @@ viewTree runId interestListId path checkIsCollapsed interestList overrides activ |> List.map (\( name, val ) -> let - isEntry = - path == [ "entries" ] - itemRow content = row ([ spacing sizes.large, width fill ] ++ treeElementStyle) @@ -871,69 +1010,20 @@ viewTree runId interestListId path checkIsCollapsed interestList overrides activ [ Input.button [ width fill, Element.focused [] ] { label = itemRow - [ collapsedStatusIcon (checkIsCollapsed runId childPath) + [ collapsedStatusIcon (cfg.isCollapsed childPath) , el [ width fill ] (text name) , el (Font.italic :: Font.alignRight :: fonts.explorerNodeSize) <| text (String.fromInt (Dict.size child)) ] - , onPress = Just (ToggleCollapseTreeClicked ( runId, path ++ [ name ] )) + , onPress = Just (cfg.collapsedToggledMsg childPath) } - , viewTree runId - interestListId + , viewTree cfg childPath - checkIsCollapsed - interestList - overrides - activeOverrideEditor child ] - Leaf Null -> - itemRow - [ el [ width (px 16) ] Element.none - , el [ width fill ] (text name) - , el (Font.alignRight :: Font.bold :: fonts.explorerValues) <| text "null" - ] - - Leaf (String s) -> - itemRow - [ el [ width (px 16) ] Element.none - , el [ width fill ] (text name) - , el (Font.alignRight :: fonts.explorerValues) <| text s - ] - - Leaf (Float f) -> - let - formattedF : String - formattedF = - formatGermanNumber f - - button = - if InterestList.member childPath interestList then - dangerousIconButton (size16 FeatherIcons.trash2) - (RemoveFromInterestListClicked interestListId childPath) - - else - iconButton (size16 FeatherIcons.plus) (AddToInterestListClicked childPath) - - ( originalValue, maybeOverride ) = - -- Clicking on original value should start or revert - -- an override - if isEntry then - viewEntryAndOverride runId name overrides activeOverrideEditor f - - else - ( el (Font.alignRight :: fonts.explorerValues) <| - text (formatGermanNumber f) - , Element.none - ) - in - itemRow - [ button - , el [ width fill ] (text name) - , originalValue - , maybeOverride - ] + Leaf leaf -> + itemRow <| cfg.viewLeaf path name leaf in ( name, element ) ) @@ -946,13 +1036,190 @@ viewTree runId interestListId path checkIsCollapsed interestList overrides activ ) +viewValueTree : + RunId + -> InterestListId + -> Run.Path + -> (RunId -> Run.Path -> Bool) + -> InterestList + -> Run.Overrides + -> Maybe ActiveOverrideEditor + -> Tree Value + -> Element Msg +viewValueTree runId interestListId path checkIsCollapsed interestList overrides activeOverrideEditor tree = + let + viewLeaf : Run.Path -> String -> Value -> List (Element Msg) + viewLeaf pathToParent name value = + case value of + Null -> + [ el [ width (px 16) ] Element.none + , el [ width fill ] (text name) + , el (Font.alignRight :: Font.bold :: fonts.explorerValues) <| text "null" + ] + + String s -> + [ el [ width (px 16) ] Element.none + , el [ width fill ] (text name) + , el (Font.alignRight :: fonts.explorerValues) <| text s + ] + + Float f -> + let + isEntry = + pathToParent == [ "entries" ] + + thisPath = + pathToParent ++ [ name ] + + button = + if InterestList.member thisPath interestList then + dangerousIconButton (size16 FeatherIcons.trash2) + (RemoveFromInterestListClicked interestListId thisPath) + + else + iconButton (size16 FeatherIcons.plus) (AddToInterestListClicked thisPath) + + ( originalValue, maybeOverride ) = + -- Clicking on original value should start or revert + -- an override + if isEntry then + viewEntryAndOverride runId name overrides activeOverrideEditor f + + else + ( el (Font.alignRight :: fonts.explorerValues) <| + text (formatGermanNumber f) + , Element.none + ) + in + [ button + , el [ width fill ] (text name) + , originalValue + , maybeOverride + ] + in + viewTree + { isCollapsed = checkIsCollapsed runId + , collapsedToggledMsg = ToggleCollapseTreeClicked (Explorable.Run runId) + , viewLeaf = viewLeaf + } + path + tree + + buttons : List (Element Msg) -> Element Msg buttons l = row [ Element.spacingXY sizes.medium 0 ] l -viewInputsAndResult : RunId -> InterestListId -> CollapseStatus -> InterestList -> Maybe ActiveOverrideEditor -> Maybe ActiveSearch -> Run -> Element Msg -viewInputsAndResult runId interestListId collapseStatus interestList activeOverrideEditor activeSearch run = +viewDiffTree : Explorable.Id -> CollapseStatus -> Tree (Diff.Diff Value) -> Element Msg +viewDiffTree id collapseStatus tree = + let + viewLeaf : Run.Path -> String -> Diff.Diff Value -> List (Element Msg) + viewLeaf pathToParent name leaf = + -- TODO: Make the diff display something useful in more cases + case leaf of + Left _ -> + [ text "TODO left" ] + + Right _ -> + [ text "TODO right" ] + + Unequal (Tree _) (Tree _) -> + [ text "TODO unequal tree" ] + + Unequal (Leaf (Float f1)) (Leaf (Float f2)) -> + [ el [ width fill ] (text name) + , el (Font.alignRight :: fonts.explorerValues) <| + text (formatGermanNumber f1) + , el (Font.alignRight :: fonts.explorerValues) <| + text (formatGermanNumber f2) + ] + + Unequal (Leaf _) (Leaf _) -> + [ text "TODO unequal non floats" ] + + Unequal (Leaf _) (Tree _) -> + [ text "TODO unequal leaf vs tree" ] + + Unequal (Tree _) (Leaf _) -> + [ text "TODO unequal tree vs leaf" ] + in + viewTree + { isCollapsed = \p -> isCollapsed id p collapseStatus + , collapsedToggledMsg = ToggleCollapseTreeClicked id + , viewLeaf = viewLeaf + } + [] + tree + + +viewComparison : RunId -> RunId -> CollapseStatus -> DiffData -> Element Msg +viewComparison aId bId collapseStatus diffData = + let + id = + Explorable.Diff aId bId + in + column + [ width fill + , spacing sizes.medium + , padding sizes.small + , Border.width 1 + , Border.color black + , Border.rounded 4 + ] + [ row [ width fill ] + [ Input.button treeElementStyle + { label = + row [ spacing sizes.medium ] + [ collapsedStatusIcon (isCollapsed id [] collapseStatus) + , el [ Font.bold ] (text (String.fromInt aId ++ " ≈ " ++ String.fromInt bId)) + ] + , onPress = Just (ToggleCollapseTreeClicked id []) + } + , Input.slider + [ height (px 20) + , Element.behindContent + (el + [ width fill + , Font.center + , Element.behindContent + (el + [ width fill + , height (px 2) + , Element.centerY + , Background.color germanZeroGreen + , Border.rounded 2 + ] + Element.none + ) + ] + (text (">" ++ formatGermanNumber diffData.tolerance ++ "%")) + ) + ] + { label = Input.labelHidden "tolerance" + , min = 0.001 + , max = 100.0 + , step = Just 0.001 + , onChange = DiffToleranceUpdated aId bId + , value = diffData.tolerance + , thumb = Input.defaultThumb + } + , buttons + [ -- differentIfFilterActive.filterButton + dangerousIconButton FeatherIcons.trash2 (RemoveExplorableClicked id) + ] + ] + + --, differentIfFilterActive.filterPatternField + , viewDiffTree + id + collapseStatus + diffData.diff + ] + + +viewRun : RunId -> InterestListId -> InterestList -> CollapseStatus -> Maybe ActiveOverrideEditor -> Maybe ActiveSearch -> Maybe RunId -> Run -> Element Msg +viewRun runId interestListId interestList collapseStatus activeOverrideEditor activeSearch selectedForComparison run = let inputs = Run.getInputs run @@ -960,12 +1227,31 @@ viewInputsAndResult runId interestListId collapseStatus interestList activeOverr overrides = Run.getOverrides run + isSelectedForComparison = + case selectedForComparison of + Nothing -> + False + + Just ri -> + ri == runId + + selectForComparisonButton = + if isSelectedForComparison then + dangerousIconButton + FeatherIcons.trello + (ToggleSelectForCompareClicked runId) + + else + iconButton + FeatherIcons.trello + (ToggleSelectForCompareClicked runId) + differentIfFilterActive = case activeSearch |> Maybe.Extra.filter (\s -> s.runId == runId) of Nothing -> { filterButton = iconButton FeatherIcons.filter (FilterEdited runId "") , treeToDisplay = Run.getTree WithoutOverrides run - , isCollapsed = \r p -> isCollapsed ( r, p ) collapseStatus + , isCollapsed = \r p -> isCollapsed (Explorable.Run r) p collapseStatus , filterPatternField = Element.none } @@ -1011,17 +1297,18 @@ viewInputsAndResult runId interestListId collapseStatus interestList activeOverr , el [ Font.bold ] (text (String.fromInt runId ++ ":")) , text (inputs.ags ++ " " ++ String.fromInt inputs.year) ] - , onPress = Just (ToggleCollapseTreeClicked ( runId, [] )) + , onPress = Just (ToggleCollapseTreeClicked (Explorable.Run runId) []) } , buttons [ differentIfFilterActive.filterButton + , selectForComparisonButton , iconButton FeatherIcons.edit (DisplayCalculateModalClicked (Just runId) inputs overrides) , iconButton FeatherIcons.copy (DisplayCalculateModalClicked Nothing inputs overrides) - , dangerousIconButton FeatherIcons.trash2 (RemoveRunClicked runId) + , dangerousIconButton FeatherIcons.trash2 (RemoveExplorableClicked (Explorable.Run runId)) ] ] , differentIfFilterActive.filterPatternField - , viewTree + , viewValueTree runId interestListId [] @@ -1042,14 +1329,14 @@ defaultInputs = {-| The pane on the left hand side containing the results -} -viewResultsPane : Model -> Element Msg -viewResultsPane model = +viewRunsAndComparisons : Model -> Element Msg +viewRunsAndComparisons model = column [ height fill , spacing sizes.large , padding sizes.large , height (minimum 0 fill) - , width (minimum 500 shrink) + , width (px model.leftPaneWidth) , Element.inFront (floatingActionButton FeatherIcons.plus (DisplayCalculateModalClicked Nothing defaultInputs Dict.empty)) ] @@ -1063,17 +1350,26 @@ viewResultsPane model = , width fill , height fill ] - (AllRuns.toList model.runs + ((AllRuns.toList model.runs |> List.map (\( resultNdx, ir ) -> - viewInputsAndResult resultNdx + viewRun resultNdx (Pivot.lengthL model.interestLists) - model.collapseStatus (Pivot.getC model.interestLists) + model.collapseStatus model.activeOverrideEditor model.activeSearch + model.selectedForComparison ir ) + ) + ++ (model.diffs + |> Dict.toList + |> List.map + (\( ( a, b ), diffData ) -> + viewComparison a b model.collapseStatus diffData + ) + ) ) ) ] @@ -1278,7 +1574,13 @@ viewModel model = , height (minimum 0 fill) , spacing sizes.large ] - [ viewResultsPane model + [ viewRunsAndComparisons model + , el + [ width (px 2) + , Background.color black + , height fill + ] + Element.none , el [ width fill , height (minimum 0 fill) @@ -1377,7 +1679,9 @@ viewCalculateModal maybeNdx inputs overrides = , value = toFloat inputs.year , thumb = Input.defaultThumb } - , iconButton (size32 FeatherIcons.check) (CalculateModalOkClicked maybeNdx inputs) + , iconButton + (size32 FeatherIcons.check) + (CalculateModalOkClicked maybeNdx inputs overrides) ] diff --git a/explorer/src/Run.elm b/explorer/src/Run.elm index 13931aba..0beb97c5 100644 --- a/explorer/src/Run.elm +++ b/explorer/src/Run.elm @@ -18,7 +18,8 @@ module Run exposing import Dict exposing (Dict) import Json.Decode as Decode -import ValueTree exposing (Tree) +import Tree exposing (Tree) +import Value exposing (Value) {-| A Path to a value inside a run. @@ -32,12 +33,12 @@ type alias Overrides = type alias Entries = - Dict String ValueTree.Value + Dict String Value type Run = Run - { result : Tree + { result : Tree Value , entries : Entries , overrides : Overrides , inputs : Inputs @@ -48,7 +49,13 @@ type alias Inputs = { ags : String, year : Int } -create : { inputs : Inputs, entries : Entries, overrides : Overrides, result : Tree } -> Run +create : + { inputs : Inputs + , entries : Entries + , overrides : Overrides + , result : Tree Value + } + -> Run create { inputs, entries, result, overrides } = Run { inputs = inputs @@ -78,31 +85,31 @@ type OverrideHandling | WithoutOverrides -getTree : OverrideHandling -> Run -> Tree +getTree : OverrideHandling -> Run -> Tree Value getTree h (Run r) = let entries = case h of WithoutOverrides -> - Dict.map (\_ v -> ValueTree.Leaf v) r.entries + Dict.map (\_ v -> Tree.Leaf v) r.entries WithOverrides -> Dict.map (\k v -> case Dict.get k r.overrides of Nothing -> - ValueTree.Leaf v + Tree.Leaf v Just o -> - ValueTree.Leaf (ValueTree.Float o) + Tree.Leaf (Value.Float o) ) r.entries in - ValueTree.merge - (ValueTree.wrap "entries" entries) - (ValueTree.wrap "result" r.result) + Tree.merge + (Tree.wrap "entries" entries) + (Tree.wrap "result" r.result) entriesDecoder : Decode.Decoder Entries entriesDecoder = - Decode.dict ValueTree.valueDecoder + Decode.dict Value.decoder diff --git a/explorer/src/Tree.elm b/explorer/src/Tree.elm new file mode 100644 index 00000000..f940cb3a --- /dev/null +++ b/explorer/src/Tree.elm @@ -0,0 +1,82 @@ +module Tree exposing (Node(..), Tree, decoder, expand, get, merge, wrap) + +import Dict exposing (Dict) +import Json.Decode as Decode +import Value exposing (Value) + + +type Node value + = Tree (Tree value) + | Leaf value + + +type alias Tree value = + Dict String (Node value) + + +wrap : String -> Tree value -> Tree value +wrap name tree = + Dict.fromList [ ( name, Tree tree ) ] + + +merge : Tree value -> Tree value -> Tree value +merge t1 t2 = + Dict.union t1 t2 + + +getHelper : List String -> Node value -> Maybe (Node value) +getHelper path node = + case path of + [] -> + Just node + + name :: pathRest -> + case node of + Leaf _ -> + Nothing + + Tree t -> + Dict.get name t + |> Maybe.andThen (getHelper pathRest) + + +expandHelper : List String -> Tree value -> List (List String) +expandHelper path t = + Dict.toList t + |> List.concatMap + (\( name, child ) -> + case child of + Leaf _ -> + [ path ++ [ name ] ] + + Tree childTree -> + expandHelper (path ++ [ name ]) childTree + ) + + +expand : Tree value -> List (List String) +expand = + expandHelper [] + + +get : List String -> Tree value -> Maybe (Node value) +get p t = + getHelper p (Tree t) + + +treeDecoder : Decode.Decoder value -> Decode.Decoder (Tree value) +treeDecoder valueDecoder = + Decode.dict (nodeDecoder valueDecoder) + + +nodeDecoder : Decode.Decoder value -> Decode.Decoder (Node value) +nodeDecoder valueDecoder = + Decode.oneOf + [ valueDecoder |> Decode.map Leaf + , Decode.dict (Decode.lazy (\() -> nodeDecoder valueDecoder)) |> Decode.map Tree + ] + + +decoder : Decode.Decoder value -> Decode.Decoder (Tree value) +decoder valueDecoder = + treeDecoder valueDecoder diff --git a/explorer/src/Value.elm b/explorer/src/Value.elm new file mode 100644 index 00000000..d20e2c60 --- /dev/null +++ b/explorer/src/Value.elm @@ -0,0 +1,74 @@ +module Value exposing (Value(..), decoder, defaultTolerance, isEqual, minimumTolerance) + +import Json.Decode as Decode + + +type Value + = Float Float + | Null + | String String + + +minimumTolerance : Float +minimumTolerance = + 1.0e-2 + + +defaultTolerance : Float +defaultTolerance = + minimumTolerance + + +isEqual : Float -> Value -> Value -> Bool +isEqual tolerance a b = + case ( a, b ) of + ( Null, Null ) -> + True + + ( String sa, String sb ) -> + sa == sb + + ( Float fa, Float fb ) -> + case ( isNaN fa, isNaN fb ) of + ( True, True ) -> + True + + ( False, True ) -> + False + + ( True, False ) -> + False + + ( False, False ) -> + let + d = + abs (fb - fa) + in + d <= max (tolerance * max (abs fa) (abs fb)) 1.0e-12 + + ( Float _, Null ) -> + False + + ( Float _, String _ ) -> + False + + ( String _, Float _ ) -> + False + + ( String _, Null ) -> + False + + ( Null, Float _ ) -> + False + + ( Null, String _ ) -> + False + + +decoder : Decode.Decoder Value +decoder = + Decode.oneOf + [ Decode.float |> Decode.map Float + , Decode.string |> Decode.map String + , Decode.null Null + ] diff --git a/explorer/src/ValueTree.elm b/explorer/src/ValueTree.elm deleted file mode 100644 index 8f9ddd26..00000000 --- a/explorer/src/ValueTree.elm +++ /dev/null @@ -1,96 +0,0 @@ -module ValueTree exposing (Node(..), Tree, Value(..), decoder, expand, get, merge, valueDecoder, wrap) - -import Dict exposing (Dict) -import Json.Decode as Decode - - -type Node - = Tree Tree - | Leaf Value - - -type Value - = Float Float - | Null - | String String - - -type alias Tree = - Dict String Node - - -wrap : String -> Tree -> Tree -wrap name tree = - Dict.fromList [ ( name, Tree tree ) ] - - -merge : Tree -> Tree -> Tree -merge t1 t2 = - Dict.union t1 t2 - - -getHelper : List String -> Node -> Maybe Node -getHelper path node = - case path of - [] -> - Just node - - name :: pathRest -> - case node of - Leaf _ -> - Nothing - - Tree t -> - Dict.get name t - |> Maybe.andThen (getHelper pathRest) - - -expandHelper : List String -> Tree -> List (List String) -expandHelper path t = - Dict.toList t - |> List.concatMap - (\( name, child ) -> - case child of - Leaf _ -> - [ path ++ [ name ] ] - - Tree childTree -> - expandHelper (path ++ [ name ]) childTree - ) - - -expand : Tree -> List (List String) -expand = - expandHelper [] - - -get : List String -> Tree -> Maybe Node -get p t = - getHelper p (Tree t) - - -treeDecoder : Decode.Decoder Tree -treeDecoder = - Decode.dict nodeDecoder - - -valueDecoder : Decode.Decoder Value -valueDecoder = - Decode.oneOf - [ Decode.float |> Decode.map Float - , Decode.string |> Decode.map String - , Decode.null Null - ] - - -nodeDecoder : Decode.Decoder Node -nodeDecoder = - Decode.oneOf - [ valueDecoder |> Decode.map Leaf - , Decode.dict (Decode.lazy (\() -> nodeDecoder)) |> Decode.map Tree - ] - - -decoder : Decode.Decoder Tree -decoder = - treeDecoder