From e34735b12729e343492681b753e462852177f6d6 Mon Sep 17 00:00:00 2001 From: Dave Rapin Date: Wed, 4 Oct 2023 15:04:39 -0400 Subject: [PATCH] Added the ability to pass in a primary and secondary theme color to be used and refactored how our colors are applied. --- draws-dev.html => current-games-dev.html | 16 +- draws-dev.js => current-games-dev.js | 1277 +++++++++- ...example.html => current-games-example.html | 11 +- draws-prod.js => current-games-prod.js | 2145 ++++++++++++----- current-games-prod.min.js | 1 + dev.html | 4 +- draws-prod.min.js | 1 - elm.json | 3 +- example.html | 10 +- package.json | 2 +- prod.min.js | 2 +- prod.sh | 14 +- src/CurrentDraws.elm | 329 --- src/CurrentGames.elm | 519 ++++ src/Results.elm | 203 +- src/Theme.elm | 78 + 16 files changed, 3460 insertions(+), 1155 deletions(-) rename draws-dev.html => current-games-dev.html (62%) rename draws-dev.js => current-games-dev.js (92%) rename draws-example.html => current-games-example.html (67%) rename draws-prod.js => current-games-prod.js (85%) create mode 100644 current-games-prod.min.js delete mode 100644 draws-prod.min.js delete mode 100644 src/CurrentDraws.elm create mode 100644 src/CurrentGames.elm create mode 100644 src/Theme.elm diff --git a/draws-dev.html b/current-games-dev.html similarity index 62% rename from draws-dev.html rename to current-games-dev.html index b616a8d..c6518ed 100644 --- a/draws-dev.html +++ b/current-games-dev.html @@ -3,20 +3,24 @@ - Curling I/O - Current Draws + Curling I/O - Current Games Dev - + -
+
+
@@ -24,8 +24,11 @@ node: document.getElementById("curlingio_current_draws"), // REQUIRED. Must match the ID of the div we're replacing, which is "results" in this example. flags: { subdomain: "demo", // REQUIRED. This is your club's Curling I/O subdomain. For example, if your Curling I/O URL begins with "demo.curling.io" then the "demo" part would be your subdomain. - section: "leagues", // OPTIONAL. Can be "leagues", "competition", or "products". Will default to "leagues" if omitted or an invalid value is passed. - lang: "en", // OPTIONAL. Options are "en" or "fr". Defaults to "en" if nothing is passed. If your using wordpress, it should expose a 2 letter language code that can be passed here. + // lang: "en", // OPTIONAL. Options are "en" or "fr". Defaults to "en" if nothing is passed. If your using wordpress, it should expose a 2 letter language code that can be passed here. + // theme: { // OPTIONAL. You can customize the colors used. + // primary: "#ed1940", // OPTIONAL. The primary color in hexadecimal (important buttons / links / backgrounds). Default is red: #ed1940 + // secondary: "#5c5c5c" // OPTIONAL. The secondary color in hexadecimal (minor buttons / links / backgrounds). Default is a dark grey: #5c5c5c + // }, host: document.location.host // REQUIRED - DO NOT MODIFY. Let's us make slight behavioural changes when hosted offsite versus within your curling.io site. } } diff --git a/draws-prod.js b/current-games-prod.js similarity index 85% rename from draws-prod.js rename to current-games-prod.js index f3ccd30..a4b06a3 100644 --- a/draws-prod.js +++ b/current-games-prod.js @@ -784,11 +784,11 @@ function _Debug_crash_UNUSED(identifier, fact1, fact2, fact3, fact4) function _Debug_regionToString(region) { - if (region.aY.ag === region.be.ag) + if (region.a1.ah === region.bl.ah) { - return 'on line ' + region.aY.ag; + return 'on line ' + region.a1.ah; } - return 'on lines ' + region.aY.ag + ' through ' + region.be.ag; + return 'on lines ' + region.a1.ah + ' through ' + region.bl.ah; } @@ -1857,9 +1857,9 @@ var _Platform_worker = F4(function(impl, flagDecoder, debugMetadata, args) return _Platform_initialize( flagDecoder, args, - impl.c1, - impl.d8, - impl.dO, + impl.de, + impl.eg, + impl.dX, function() { return function() {} } ); }); @@ -2660,8 +2660,8 @@ var _VirtualDom_mapEventRecord = F2(function(func, record) { return { E: func(record.E), - aZ: record.aZ, - aT: record.aT + a2: record.a2, + aY: record.aY } }); @@ -2930,10 +2930,10 @@ function _VirtualDom_makeCallback(eventNode, initialHandler) var value = result.a; var message = !tag ? value : tag < 3 ? value.a : value.E; - var stopPropagation = tag == 1 ? value.b : tag == 3 && value.aZ; + var stopPropagation = tag == 1 ? value.b : tag == 3 && value.a2; var currentEventNode = ( stopPropagation && event.stopPropagation(), - (tag == 2 ? value.b : tag == 3 && value.aT) && event.preventDefault(), + (tag == 2 ? value.b : tag == 3 && value.aY) && event.preventDefault(), eventNode ); var tagger; @@ -3883,11 +3883,11 @@ var _Browser_element = _Debugger_element || F4(function(impl, flagDecoder, debug return _Platform_initialize( flagDecoder, args, - impl.c1, - impl.d8, - impl.dO, + impl.de, + impl.eg, + impl.dX, function(sendToApp, initialModel) { - var view = impl.d9; + var view = impl.eh; /**/ var domNode = args['node']; //*/ @@ -3919,12 +3919,12 @@ var _Browser_document = _Debugger_document || F4(function(impl, flagDecoder, deb return _Platform_initialize( flagDecoder, args, - impl.c1, - impl.d8, - impl.dO, + impl.de, + impl.eg, + impl.dX, function(sendToApp, initialModel) { - var divertHrefToApp = impl.aX && impl.aX(sendToApp) - var view = impl.d9; + var divertHrefToApp = impl.a$ && impl.a$(sendToApp) + var view = impl.eh; var title = _VirtualDom_doc.title; var bodyNode = _VirtualDom_doc.body; var currNode = _VirtualDom_virtualize(bodyNode); @@ -3932,12 +3932,12 @@ var _Browser_document = _Debugger_document || F4(function(impl, flagDecoder, deb { _VirtualDom_divertHrefToApp = divertHrefToApp; var doc = view(model); - var nextNode = _VirtualDom_node('body')(_List_Nil)(doc.cq); + var nextNode = _VirtualDom_node('body')(_List_Nil)(doc.cE); var patches = _VirtualDom_diff(currNode, nextNode); bodyNode = _VirtualDom_applyPatches(bodyNode, currNode, patches, sendToApp); currNode = nextNode; _VirtualDom_divertHrefToApp = 0; - (title !== doc.d2) && (_VirtualDom_doc.title = title = doc.d2); + (title !== doc.eb) && (_VirtualDom_doc.title = title = doc.eb); }); } ); @@ -3993,12 +3993,12 @@ function _Browser_makeAnimator(model, draw) function _Browser_application(impl) { - var onUrlChange = impl.dh; - var onUrlRequest = impl.di; + var onUrlChange = impl.du; + var onUrlRequest = impl.dv; var key = function() { key.a(onUrlChange(_Browser_getUrl())); }; return _Browser_document({ - aX: function(sendToApp) + a$: function(sendToApp) { key.a = sendToApp; _Browser_window.addEventListener('popstate', key); @@ -4014,9 +4014,9 @@ function _Browser_application(impl) var next = $elm$url$Url$fromString(href).a; sendToApp(onUrlRequest( (next - && curr.bL === next.bL - && curr.aN === next.aN - && curr.bH.a === next.bH.a + && curr.bW === next.bW + && curr.aT === next.aT + && curr.bR.a === next.bR.a ) ? $elm$browser$Browser$Internal(next) : $elm$browser$Browser$External(href) @@ -4024,13 +4024,13 @@ function _Browser_application(impl) } }); }, - c1: function(flags) + de: function(flags) { - return A3(impl.c1, flags, _Browser_getUrl(), key); + return A3(impl.de, flags, _Browser_getUrl(), key); }, - d9: impl.d9, - d8: impl.d8, - dO: impl.dO + eh: impl.eh, + eg: impl.eg, + dX: impl.dX }); } @@ -4096,17 +4096,17 @@ var _Browser_decodeEvent = F2(function(decoder, event) function _Browser_visibilityInfo() { return (typeof _VirtualDom_doc.hidden !== 'undefined') - ? { cX: 'hidden', cA: 'visibilitychange' } + ? { c7: 'hidden', cO: 'visibilitychange' } : (typeof _VirtualDom_doc.mozHidden !== 'undefined') - ? { cX: 'mozHidden', cA: 'mozvisibilitychange' } + ? { c7: 'mozHidden', cO: 'mozvisibilitychange' } : (typeof _VirtualDom_doc.msHidden !== 'undefined') - ? { cX: 'msHidden', cA: 'msvisibilitychange' } + ? { c7: 'msHidden', cO: 'msvisibilitychange' } : (typeof _VirtualDom_doc.webkitHidden !== 'undefined') - ? { cX: 'webkitHidden', cA: 'webkitvisibilitychange' } - : { cX: 'hidden', cA: 'visibilitychange' }; + ? { c7: 'webkitHidden', cO: 'webkitvisibilitychange' } + : { c7: 'hidden', cO: 'visibilitychange' }; } @@ -4187,10 +4187,10 @@ var _Browser_call = F2(function(functionName, id) function _Browser_getViewport() { return { - bT: _Browser_getScene(), - b3: { - az: _Browser_window.pageXOffset, - aA: _Browser_window.pageYOffset, + b3: _Browser_getScene(), + ci: { + aE: _Browser_window.pageXOffset, + aF: _Browser_window.pageYOffset, ab: _Browser_doc.documentElement.clientWidth, V: _Browser_doc.documentElement.clientHeight } @@ -4226,13 +4226,13 @@ function _Browser_getViewportOf(id) return _Browser_withNode(id, function(node) { return { - bT: { + b3: { ab: node.scrollWidth, V: node.scrollHeight }, - b3: { - az: node.scrollLeft, - aA: node.scrollTop, + ci: { + aE: node.scrollLeft, + aF: node.scrollTop, ab: node.clientWidth, V: node.clientHeight } @@ -4264,16 +4264,16 @@ function _Browser_getElement(id) var x = _Browser_window.pageXOffset; var y = _Browser_window.pageYOffset; return { - bT: _Browser_getScene(), - b3: { - az: x, - aA: y, + b3: _Browser_getScene(), + ci: { + aE: x, + aF: y, ab: _Browser_doc.documentElement.clientWidth, V: _Browser_doc.documentElement.clientHeight }, - cL: { - az: x + rect.left, - aA: y + rect.top, + cZ: { + aE: x + rect.left, + aF: y + rect.top, ab: rect.width, V: rect.height } @@ -4320,25 +4320,25 @@ var _Http_toTask = F3(function(router, toTask, request) return _Scheduler_binding(function(callback) { function done(response) { - callback(toTask(request.aG.a(response))); + callback(toTask(request.aK.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.aG.b, xhr)); }); - $elm$core$Maybe$isJust(request.b_) && _Http_track(router, xhr, request.b_.a); + xhr.addEventListener('load', function() { done(_Http_toResponse(request.aK.b, xhr)); }); + $elm$core$Maybe$isJust(request.cd) && _Http_track(router, xhr, request.cd.a); try { - xhr.open(request.db, request.a$, true); + xhr.open(request.$7, request.a5, true); } catch (e) { - return done($elm$http$Http$BadUrl_(request.a$)); + return done($elm$http$Http$BadUrl_(request.a5)); } _Http_configureRequest(xhr, request); - request.cq.a && xhr.setRequestHeader('Content-Type', request.cq.a); - xhr.send(request.cq.b); + request.cE.a && xhr.setRequestHeader('Content-Type', request.cE.a); + xhr.send(request.cE.b); return function() { xhr.c = true; xhr.abort(); }; }); @@ -4349,13 +4349,13 @@ var _Http_toTask = F3(function(router, toTask, request) function _Http_configureRequest(xhr, request) { - for (var headers = request.bl; headers.b; headers = headers.b) // WHILE_CONS + for (var headers = request.bv; headers.b; headers = headers.b) // WHILE_CONS { xhr.setRequestHeader(headers.a.a, headers.a.b); } - xhr.timeout = request.d1.a || 0; - xhr.responseType = request.aG.d; - xhr.withCredentials = request.ch; + xhr.timeout = request.ea.a || 0; + xhr.responseType = request.aK.d; + xhr.withCredentials = request.cw; } @@ -4376,10 +4376,10 @@ function _Http_toResponse(toBody, xhr) function _Http_toMetadata(xhr) { return { - a$: xhr.responseURL, - dI: xhr.status, - dJ: xhr.statusText, - bl: _Http_parseHeaders(xhr.getAllResponseHeaders()) + a5: xhr.responseURL, + dR: xhr.status, + dS: xhr.statusText, + bv: _Http_parseHeaders(xhr.getAllResponseHeaders()) }; } @@ -4474,15 +4474,15 @@ function _Http_track(router, xhr, tracker) 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({ - dA: event.loaded, - bW: event.total + dK: event.loaded, + b7: 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({ - $7: event.loaded, - bW: event.lengthComputable ? $elm$core$Maybe$Just(event.total) : $elm$core$Maybe$Nothing + dz: event.loaded, + b7: event.lengthComputable ? $elm$core$Maybe$Just(event.total) : $elm$core$Maybe$Nothing })))); }); } @@ -5026,7 +5026,7 @@ var $elm$url$Url$Http = 0; var $elm$url$Url$Https = 1; var $elm$url$Url$Url = F6( function (protocol, host, port_, path, query, fragment) { - return {bj: fragment, aN: host, bF: path, bH: port_, bL: protocol, bM: query}; + return {bs: fragment, aT: host, bP: path, bR: port_, bW: protocol, bX: query}; }); var $elm$core$String$contains = _String_contains; var $elm$core$String$length = _String_length; @@ -5307,25 +5307,316 @@ var $elm$core$Task$perform = F2( var $elm$browser$Browser$element = _Browser_element; var $krisajenkins$remotedata$RemoteData$NotAsked = {$: 0}; var $elm$core$Platform$Cmd$batch = _Platform_batch; -var $author$project$CurrentDraws$Flags = F4( - function (host, lang, subdomain, section) { - return {aN: host, aP: lang, aV: section, a_: subdomain}; +var $author$project$CurrentGames$Flags = F5( + function (subdomain, lang, host, showEndScores, theme) { + return {aT: host, aU: lang, a0: showEndScores, a3: subdomain, aD: theme}; }); -var $elm$json$Json$Decode$null = _Json_decodeNull; -var $elm$json$Json$Decode$oneOf = _Json_oneOf; -var $elm$json$Json$Decode$nullable = function (decoder) { - return $elm$json$Json$Decode$oneOf( - _List_fromArray( - [ - $elm$json$Json$Decode$null($elm$core$Maybe$Nothing), - A2($elm$json$Json$Decode$map, $elm$core$Maybe$Just, decoder) - ])); +var $elm$json$Json$Decode$bool = _Json_decodeBool; +var $author$project$Theme$Theme = F8( + function (defaultText, white, transparent, grey, greyLight, greyDark, primary, secondary) { + return {bk: defaultText, c5: grey, aO: greyDark, aP: greyLight, bS: primary, aZ: secondary, a4: transparent, a6: white}; + }); +var $elm$json$Json$Decode$andThen = _Json_andThen; +var $elm$core$String$cons = _String_cons; +var $elm$core$String$fromChar = function (_char) { + return A2($elm$core$String$cons, _char, ''); +}; +var $elm$core$Basics$pow = _Basics_pow; +var $rtfeldman$elm_hex$Hex$fromStringHelp = F3( + function (position, chars, accumulated) { + fromStringHelp: + while (true) { + if (!chars.b) { + return $elm$core$Result$Ok(accumulated); + } else { + var _char = chars.a; + var rest = chars.b; + switch (_char) { + case '0': + var $temp$position = position - 1, + $temp$chars = rest, + $temp$accumulated = accumulated; + position = $temp$position; + chars = $temp$chars; + accumulated = $temp$accumulated; + continue fromStringHelp; + case '1': + var $temp$position = position - 1, + $temp$chars = rest, + $temp$accumulated = accumulated + A2($elm$core$Basics$pow, 16, position); + position = $temp$position; + chars = $temp$chars; + accumulated = $temp$accumulated; + continue fromStringHelp; + case '2': + var $temp$position = position - 1, + $temp$chars = rest, + $temp$accumulated = accumulated + (2 * A2($elm$core$Basics$pow, 16, position)); + position = $temp$position; + chars = $temp$chars; + accumulated = $temp$accumulated; + continue fromStringHelp; + case '3': + var $temp$position = position - 1, + $temp$chars = rest, + $temp$accumulated = accumulated + (3 * A2($elm$core$Basics$pow, 16, position)); + position = $temp$position; + chars = $temp$chars; + accumulated = $temp$accumulated; + continue fromStringHelp; + case '4': + var $temp$position = position - 1, + $temp$chars = rest, + $temp$accumulated = accumulated + (4 * A2($elm$core$Basics$pow, 16, position)); + position = $temp$position; + chars = $temp$chars; + accumulated = $temp$accumulated; + continue fromStringHelp; + case '5': + var $temp$position = position - 1, + $temp$chars = rest, + $temp$accumulated = accumulated + (5 * A2($elm$core$Basics$pow, 16, position)); + position = $temp$position; + chars = $temp$chars; + accumulated = $temp$accumulated; + continue fromStringHelp; + case '6': + var $temp$position = position - 1, + $temp$chars = rest, + $temp$accumulated = accumulated + (6 * A2($elm$core$Basics$pow, 16, position)); + position = $temp$position; + chars = $temp$chars; + accumulated = $temp$accumulated; + continue fromStringHelp; + case '7': + var $temp$position = position - 1, + $temp$chars = rest, + $temp$accumulated = accumulated + (7 * A2($elm$core$Basics$pow, 16, position)); + position = $temp$position; + chars = $temp$chars; + accumulated = $temp$accumulated; + continue fromStringHelp; + case '8': + var $temp$position = position - 1, + $temp$chars = rest, + $temp$accumulated = accumulated + (8 * A2($elm$core$Basics$pow, 16, position)); + position = $temp$position; + chars = $temp$chars; + accumulated = $temp$accumulated; + continue fromStringHelp; + case '9': + var $temp$position = position - 1, + $temp$chars = rest, + $temp$accumulated = accumulated + (9 * A2($elm$core$Basics$pow, 16, position)); + position = $temp$position; + chars = $temp$chars; + accumulated = $temp$accumulated; + continue fromStringHelp; + case 'a': + var $temp$position = position - 1, + $temp$chars = rest, + $temp$accumulated = accumulated + (10 * A2($elm$core$Basics$pow, 16, position)); + position = $temp$position; + chars = $temp$chars; + accumulated = $temp$accumulated; + continue fromStringHelp; + case 'b': + var $temp$position = position - 1, + $temp$chars = rest, + $temp$accumulated = accumulated + (11 * A2($elm$core$Basics$pow, 16, position)); + position = $temp$position; + chars = $temp$chars; + accumulated = $temp$accumulated; + continue fromStringHelp; + case 'c': + var $temp$position = position - 1, + $temp$chars = rest, + $temp$accumulated = accumulated + (12 * A2($elm$core$Basics$pow, 16, position)); + position = $temp$position; + chars = $temp$chars; + accumulated = $temp$accumulated; + continue fromStringHelp; + case 'd': + var $temp$position = position - 1, + $temp$chars = rest, + $temp$accumulated = accumulated + (13 * A2($elm$core$Basics$pow, 16, position)); + position = $temp$position; + chars = $temp$chars; + accumulated = $temp$accumulated; + continue fromStringHelp; + case 'e': + var $temp$position = position - 1, + $temp$chars = rest, + $temp$accumulated = accumulated + (14 * A2($elm$core$Basics$pow, 16, position)); + position = $temp$position; + chars = $temp$chars; + accumulated = $temp$accumulated; + continue fromStringHelp; + case 'f': + var $temp$position = position - 1, + $temp$chars = rest, + $temp$accumulated = accumulated + (15 * A2($elm$core$Basics$pow, 16, position)); + position = $temp$position; + chars = $temp$chars; + accumulated = $temp$accumulated; + continue fromStringHelp; + default: + var nonHex = _char; + return $elm$core$Result$Err( + $elm$core$String$fromChar(nonHex) + ' is not a valid hexadecimal character.'); + } + } + } + }); +var $elm$core$Result$map = F2( + function (func, ra) { + if (!ra.$) { + var a = ra.a; + return $elm$core$Result$Ok( + func(a)); + } else { + var e = ra.a; + return $elm$core$Result$Err(e); + } + }); +var $elm$core$Result$mapError = F2( + function (f, result) { + if (!result.$) { + var v = result.a; + return $elm$core$Result$Ok(v); + } else { + var e = result.a; + return $elm$core$Result$Err( + f(e)); + } + }); +var $elm$core$Basics$negate = function (n) { + return -n; +}; +var $elm$core$List$tail = function (list) { + if (list.b) { + var x = list.a; + var xs = list.b; + return $elm$core$Maybe$Just(xs); + } else { + return $elm$core$Maybe$Nothing; + } +}; +var $elm$core$String$foldr = _String_foldr; +var $elm$core$String$toList = function (string) { + return A3($elm$core$String$foldr, $elm$core$List$cons, _List_Nil, string); }; +var $elm$core$Maybe$withDefault = F2( + function (_default, maybe) { + if (!maybe.$) { + var value = maybe.a; + return value; + } else { + return _default; + } + }); +var $rtfeldman$elm_hex$Hex$fromString = function (str) { + if ($elm$core$String$isEmpty(str)) { + return $elm$core$Result$Err('Empty strings are not valid hexadecimal strings.'); + } else { + var result = function () { + if (A2($elm$core$String$startsWith, '-', str)) { + var list = A2( + $elm$core$Maybe$withDefault, + _List_Nil, + $elm$core$List$tail( + $elm$core$String$toList(str))); + return A2( + $elm$core$Result$map, + $elm$core$Basics$negate, + A3( + $rtfeldman$elm_hex$Hex$fromStringHelp, + $elm$core$List$length(list) - 1, + list, + 0)); + } else { + return A3( + $rtfeldman$elm_hex$Hex$fromStringHelp, + $elm$core$String$length(str) - 1, + $elm$core$String$toList(str), + 0); + } + }(); + var formatError = function (err) { + return A2( + $elm$core$String$join, + ' ', + _List_fromArray( + ['\"' + (str + '\"'), 'is not a valid hexadecimal string because', err])); + }; + return A2($elm$core$Result$mapError, formatError, result); + } +}; +var $mdgriffith$elm_ui$Internal$Model$Rgba = F4( + function (a, b, c, d) { + return {$: 0, a: a, b: b, c: c, d: d}; + }); +var $mdgriffith$elm_ui$Element$rgb255 = F3( + function (red, green, blue) { + return A4($mdgriffith$elm_ui$Internal$Model$Rgba, red / 255, green / 255, blue / 255, 1); + }); +var $elm$core$String$toLower = _String_toLower; +var $elm$core$Result$withDefault = F2( + function (def, result) { + if (!result.$) { + var a = result.a; + return a; + } else { + return def; + } + }); +var $author$project$Theme$hexToColor = function (value) { + var val = $elm$core$String$toLower(value); + var hexRecord = { + ap: A3($elm$core$String$slice, 5, 7, val), + ax: A3($elm$core$String$slice, 3, 5, val), + aA: A3($elm$core$String$slice, 1, 3, val) + }; + var rgbRecord = { + ap: A2( + $elm$core$Result$withDefault, + 0, + $rtfeldman$elm_hex$Hex$fromString(hexRecord.ap)), + ax: A2( + $elm$core$Result$withDefault, + 0, + $rtfeldman$elm_hex$Hex$fromString(hexRecord.ax)), + aA: A2( + $elm$core$Result$withDefault, + 0, + $rtfeldman$elm_hex$Hex$fromString(hexRecord.aA)) + }; + var color = A3($mdgriffith$elm_ui$Element$rgb255, rgbRecord.aA, rgbRecord.ax, rgbRecord.ap); + return color; +}; +var $mdgriffith$elm_ui$Element$rgba = $mdgriffith$elm_ui$Internal$Model$Rgba; +var $author$project$Theme$defaultTheme = { + bk: A3($mdgriffith$elm_ui$Element$rgb255, 33, 37, 41), + c5: A3($mdgriffith$elm_ui$Element$rgb255, 210, 210, 210), + aO: A3($mdgriffith$elm_ui$Element$rgb255, 52, 58, 64), + aP: A3($mdgriffith$elm_ui$Element$rgb255, 248, 248, 248), + bS: $author$project$Theme$hexToColor('#ed1940'), + aZ: $author$project$Theme$hexToColor('#5c5c5c'), + a4: A4($mdgriffith$elm_ui$Element$rgba, 1, 1, 1, 0), + a6: A3($mdgriffith$elm_ui$Element$rgb255, 255, 255, 255) +}; +var $elm$core$Basics$composeR = F3( + function (f, g, x) { + return g( + f(x)); + }); var $NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$custom = $elm$json$Json$Decode$map2($elm$core$Basics$apR); +var $NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$hardcoded = A2($elm$core$Basics$composeR, $elm$json$Json$Decode$succeed, $NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$custom); var $elm$json$Json$Decode$field = _Json_decodeField; -var $elm$json$Json$Decode$andThen = _Json_andThen; var $elm$json$Json$Decode$decodeValue = _Json_run; var $elm$json$Json$Decode$fail = _Json_fail; +var $elm$json$Json$Decode$null = _Json_decodeNull; +var $elm$json$Json$Decode$oneOf = _Json_oneOf; var $elm$json$Json$Decode$value = _Json_decodeValue; var $NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$optionalDecoder = F3( function (pathDecoder, valDecoder, fallback) { @@ -5370,6 +5661,53 @@ var $NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$optional = F4( fallback), decoder); }); +var $elm$json$Json$Decode$string = _Json_decodeString; +var $author$project$Theme$decodeTheme = function () { + var decodeStringColor = A2( + $elm$json$Json$Decode$andThen, + function (str) { + return $elm$json$Json$Decode$succeed( + $author$project$Theme$hexToColor(str)); + }, + $elm$json$Json$Decode$string); + return A4( + $NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$optional, + 'secondary', + decodeStringColor, + $author$project$Theme$defaultTheme.aZ, + A4( + $NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$optional, + 'primary', + decodeStringColor, + $author$project$Theme$defaultTheme.bS, + A2( + $NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$hardcoded, + $author$project$Theme$defaultTheme.aO, + A2( + $NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$hardcoded, + $author$project$Theme$defaultTheme.aP, + A2( + $NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$hardcoded, + $author$project$Theme$defaultTheme.c5, + A2( + $NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$hardcoded, + $author$project$Theme$defaultTheme.a4, + A2( + $NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$hardcoded, + $author$project$Theme$defaultTheme.a6, + A2( + $NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$hardcoded, + $author$project$Theme$defaultTheme.bk, + $elm$json$Json$Decode$succeed($author$project$Theme$Theme))))))))); +}(); +var $elm$json$Json$Decode$nullable = function (decoder) { + return $elm$json$Json$Decode$oneOf( + _List_fromArray( + [ + $elm$json$Json$Decode$null($elm$core$Maybe$Nothing), + A2($elm$json$Json$Decode$map, $elm$core$Maybe$Just, decoder) + ])); +}; var $NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$required = F3( function (key, valDecoder, decoder) { return A2( @@ -5377,33 +5715,37 @@ var $NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$required = F3( A2($elm$json$Json$Decode$field, key, valDecoder), decoder); }); -var $elm$json$Json$Decode$string = _Json_decodeString; -var $author$project$CurrentDraws$decodeFlags = A4( +var $author$project$CurrentGames$decodeFlags = A4( $NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$optional, - 'section', - $elm$json$Json$Decode$string, - 'leagues', - A3( - $NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$required, - 'subdomain', - $elm$json$Json$Decode$string, + 'theme', + $author$project$Theme$decodeTheme, + $author$project$Theme$defaultTheme, + A4( + $NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$optional, + 'showEndScores', + $elm$json$Json$Decode$bool, + true, A4( $NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$optional, - 'lang', - $elm$json$Json$Decode$string, - 'en', + 'host', + $elm$json$Json$Decode$nullable($elm$json$Json$Decode$string), + $elm$core$Maybe$Nothing, A4( $NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$optional, - 'host', - $elm$json$Json$Decode$nullable($elm$json$Json$Decode$string), - $elm$core$Maybe$Nothing, - $elm$json$Json$Decode$succeed($author$project$CurrentDraws$Flags))))); -var $author$project$CurrentDraws$GotDraws = function (a) { + 'lang', + $elm$json$Json$Decode$string, + 'en', + A3( + $NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$required, + 'subdomain', + $elm$json$Json$Decode$string, + $elm$json$Json$Decode$succeed($author$project$CurrentGames$Flags)))))); +var $author$project$CurrentGames$GotSides = function (a) { return {$: 3, a: a}; }; -var $author$project$CurrentDraws$baseUrl = function (_v0) { - var host = _v0.aN; - var lang = _v0.aP; +var $author$project$CurrentGames$baseUrl = function (_v0) { + var host = _v0.aT; + var lang = _v0.aU; var productionCachedUrl = 'https://api-curlingio.global.ssl.fastly.net/' + lang; var devUrl = 'http://api.curling.test:3000/' + lang; if (!host.$) { @@ -5413,40 +5755,154 @@ var $author$project$CurrentDraws$baseUrl = function (_v0) { return productionCachedUrl; } }; -var $author$project$CurrentDraws$baseClubUrl = function (flags) { - return $author$project$CurrentDraws$baseUrl(flags) + ('/clubs/' + (flags.a_ + '/')); +var $author$project$CurrentGames$baseClubUrl = function (flags) { + return $author$project$CurrentGames$baseUrl(flags) + ('/clubs/' + (flags.a3 + '/')); +}; +var $author$project$CurrentGames$GameActive = 1; +var $author$project$CurrentGames$GameComplete = 2; +var $author$project$CurrentGames$GamePending = 0; +var $author$project$CurrentGames$Side = function (id) { + return function (gameId) { + return function (drawId) { + return function (eventId) { + return function (startsAt) { + return function (gameName) { + return function (rockColor) { + return function (result) { + return function (score) { + return function (teamShortName) { + return function (gameState) { + return function (eventName) { + return function (firstHammer) { + return function (endScores) { + return {cY: drawId, bm: endScores, c_: eventId, bo: eventName, c1: firstHammer, aM: gameId, bu: gameName, aN: gameState, da: id, b1: result, dD: rockColor, b4: score, b9: startsAt, cc: teamShortName}; + }; + }; + }; + }; + }; + }; + }; + }; + }; + }; + }; + }; + }; }; -var $author$project$CurrentDraws$Draw = F5( - function (id, startsAt, label, attendance, drawSheets) { - return {cl: attendance, cK: drawSheets, bq: id, aO: label, dH: startsAt}; - }); +var $author$project$CurrentGames$SideResultConceded = 3; +var $author$project$CurrentGames$SideResultForfeited = 4; +var $author$project$CurrentGames$SideResultLost = 1; +var $author$project$CurrentGames$SideResultTied = 2; +var $author$project$CurrentGames$SideResultTimePenalized = 5; +var $author$project$CurrentGames$SideResultWon = 0; var $elm$json$Json$Decode$int = _Json_decodeInt; var $elm$json$Json$Decode$list = _Json_decodeList; -var $author$project$CurrentDraws$decodeDraws = function () { - var decodeDraw = A3( - $NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$required, - 'draw_sheets', - $elm$json$Json$Decode$list( - $elm$json$Json$Decode$nullable($elm$json$Json$Decode$string)), - A4( +var $author$project$CurrentGames$decodeSides = function () { + var decodeSide = function () { + var decodeSideResult = A2( + $elm$json$Json$Decode$andThen, + function (str) { + switch (str) { + case 'won': + return $elm$json$Json$Decode$succeed( + $elm$core$Maybe$Just(0)); + case 'lost': + return $elm$json$Json$Decode$succeed( + $elm$core$Maybe$Just(1)); + case 'tied': + return $elm$json$Json$Decode$succeed( + $elm$core$Maybe$Just(2)); + case 'conceded': + return $elm$json$Json$Decode$succeed( + $elm$core$Maybe$Just(3)); + case 'forfeited': + return $elm$json$Json$Decode$succeed( + $elm$core$Maybe$Just(4)); + case 'time_penalized': + return $elm$json$Json$Decode$succeed( + $elm$core$Maybe$Just(5)); + default: + return $elm$json$Json$Decode$succeed($elm$core$Maybe$Nothing); + } + }, + $elm$json$Json$Decode$string); + var decodeGameState = A2( + $elm$json$Json$Decode$andThen, + function (str) { + switch (str) { + case 'active': + return $elm$json$Json$Decode$succeed(1); + case 'complete': + return $elm$json$Json$Decode$succeed(2); + default: + return $elm$json$Json$Decode$succeed(0); + } + }, + $elm$json$Json$Decode$string); + return A4( $NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$optional, - 'attendance', - $elm$json$Json$Decode$int, - 0, - A3( - $NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$required, - 'label', - $elm$json$Json$Decode$string, + 'end_scores', + $elm$json$Json$Decode$list($elm$json$Json$Decode$int), + _List_Nil, + A4( + $NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$optional, + 'first_hammer', + $elm$json$Json$Decode$bool, + false, A3( $NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$required, - 'starts_at', + 'event_name', $elm$json$Json$Decode$string, A3( $NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$required, - 'id', - $elm$json$Json$Decode$int, - $elm$json$Json$Decode$succeed($author$project$CurrentDraws$Draw)))))); - return $elm$json$Json$Decode$list(decodeDraw); + 'game_state', + decodeGameState, + A3( + $NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$required, + 'team_short_name', + $elm$json$Json$Decode$string, + A3( + $NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$required, + 'score', + $elm$json$Json$Decode$nullable($elm$json$Json$Decode$int), + A4( + $NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$optional, + 'result', + decodeSideResult, + $elm$core$Maybe$Nothing, + A3( + $NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$required, + 'rock_color', + $elm$json$Json$Decode$string, + A4( + $NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$optional, + 'game_name', + $elm$json$Json$Decode$nullable($elm$json$Json$Decode$string), + $elm$core$Maybe$Nothing, + A3( + $NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$required, + 'starts_at', + $elm$json$Json$Decode$string, + A3( + $NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$required, + 'event_id', + $elm$json$Json$Decode$int, + A3( + $NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$required, + 'draw_id', + $elm$json$Json$Decode$int, + A3( + $NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$required, + 'game_id', + $elm$json$Json$Decode$string, + A3( + $NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$required, + 'id', + $elm$json$Json$Decode$int, + $elm$json$Json$Decode$succeed($author$project$CurrentGames$Side))))))))))))))); + }(); + return $elm$json$Json$Decode$list(decodeSide); }(); var $elm$http$Http$BadStatus_ = F2( function (a, b) { @@ -5991,11 +6447,6 @@ var $elm$core$Dict$update = F3( } }); var $elm$http$Http$emptyBody = _Http_emptyBody; -var $elm$core$Basics$composeR = F3( - function (f, g, x) { - return g( - f(x)); - }); var $elm$json$Json$Decode$decodeString = _Json_runOnString; var $elm$http$Http$expectStringResponse = F2( function (toMsg, toResult) { @@ -6005,17 +6456,6 @@ var $elm$http$Http$expectStringResponse = F2( $elm$core$Basics$identity, A2($elm$core$Basics$composeR, toResult, toMsg)); }); -var $elm$core$Result$mapError = F2( - function (f, result) { - if (!result.$) { - var v = result.a; - return $elm$core$Result$Ok(v); - } else { - var e = result.a; - return $elm$core$Result$Err( - f(e)); - } - }); var $elm$http$Http$BadBody = function (a) { return {$: 4, a: a}; }; @@ -6041,7 +6481,7 @@ var $elm$http$Http$resolve = F2( case 3: var metadata = response.a; return $elm$core$Result$Err( - $elm$http$Http$BadStatus(metadata.dI)); + $elm$http$Http$BadStatus(metadata.dR)); default: var body = response.b; return A2( @@ -6083,7 +6523,7 @@ var $elm$http$Http$Request = function (a) { }; var $elm$http$Http$State = F2( function (reqs, subs) { - return {bO: reqs, bY: subs}; + return {bZ: reqs, ca: subs}; }); var $elm$http$Http$init = $elm$core$Task$succeed( A2($elm$http$Http$State, $elm$core$Dict$empty, _List_Nil)); @@ -6127,7 +6567,7 @@ var $elm$http$Http$updateReqs = F3( return A2( $elm$core$Task$andThen, function (pid) { - var _v4 = req.b_; + var _v4 = req.cd; if (_v4.$ === 1) { return A3($elm$http$Http$updateReqs, router, otherCmds, reqs); } else { @@ -6157,7 +6597,7 @@ var $elm$http$Http$onEffects = F4( return $elm$core$Task$succeed( A2($elm$http$Http$State, reqs, subs)); }, - A3($elm$http$Http$updateReqs, router, cmds, state.bO)); + A3($elm$http$Http$updateReqs, router, cmds, state.bZ)); }); var $elm$core$List$maybeCons = F3( function (f, mx, xs) { @@ -6200,7 +6640,7 @@ var $elm$http$Http$onSelfMsg = F3( A2( $elm$core$List$filterMap, A3($elm$http$Http$maybeSend, router, tracker, progress), - state.bY))); + state.ca))); }); var $elm$http$Http$Cancel = function (a) { return {$: 0, a: a}; @@ -6214,14 +6654,14 @@ var $elm$http$Http$cmdMap = F2( var r = cmd.a; return $elm$http$Http$Request( { - ch: r.ch, - cq: r.cq, - aG: A2(_Http_mapExpect, func, r.aG), - bl: r.bl, - db: r.db, - d1: r.d1, - b_: r.b_, - a$: r.a$ + cw: r.cw, + cE: r.cE, + aK: A2(_Http_mapExpect, func, r.aK), + bv: r.bv, + $7: r.$7, + ea: r.ea, + cd: r.cd, + a5: r.a5 }); } }); @@ -6244,12 +6684,12 @@ var $elm$http$Http$subscription = _Platform_leaf('Http'); var $elm$http$Http$request = function (r) { return $elm$http$Http$command( $elm$http$Http$Request( - {ch: false, cq: r.cq, aG: r.aG, bl: r.bl, db: r.db, d1: r.d1, b_: r.b_, a$: r.a$})); + {cw: false, cE: r.cE, aK: r.aK, bv: r.bv, $7: r.$7, ea: r.ea, cd: r.cd, a5: r.a5})); }; var $elm$http$Http$riskyRequest = function (r) { return $elm$http$Http$command( $elm$http$Http$Request( - {ch: true, cq: r.cq, aG: r.aG, bl: r.bl, db: r.db, d1: r.d1, b_: r.b_, a$: r.a$})); + {cw: true, cE: r.cE, aK: r.aK, bv: r.bv, $7: r.$7, ea: r.ea, cd: r.cd, a5: r.a5})); }; var $ohanhi$remotedata_http$RemoteData$Http$performRequest = function (_v0) { var risky = _v0.Z; @@ -6261,16 +6701,16 @@ var $ohanhi$remotedata_http$RemoteData$Http$request = F6( $ohanhi$remotedata_http$RemoteData$Http$performRequest, config, { - cq: body, - aG: A2( + cE: body, + aK: A2( $elm$http$Http$expectJson, A2($elm$core$Basics$composeR, $krisajenkins$remotedata$RemoteData$fromResult, tagger), decoder), - bl: config.bl, - db: method, - d1: config.d1, - b_: config.b_, - a$: url + bv: config.bv, + $7: method, + ea: config.ea, + cd: config.cd, + a5: url }); }); var $ohanhi$remotedata_http$RemoteData$Http$getWithConfig = F4( @@ -6284,33 +6724,31 @@ var $elm$http$Http$Header = F2( var $elm$http$Http$header = $elm$http$Http$Header; var $ohanhi$remotedata_http$RemoteData$Http$acceptJson = A2($elm$http$Http$header, 'Accept', 'application/json'); var $ohanhi$remotedata_http$RemoteData$Http$defaultConfig = { - bl: _List_fromArray( + bv: _List_fromArray( [$ohanhi$remotedata_http$RemoteData$Http$acceptJson]), Z: false, - d1: $elm$core$Maybe$Nothing, - b_: $elm$core$Maybe$Nothing + ea: $elm$core$Maybe$Nothing, + cd: $elm$core$Maybe$Nothing }; var $ohanhi$remotedata_http$RemoteData$Http$noCache = A2($elm$http$Http$header, 'Cache-Control', 'no-store, must-revalidate, no-cache, max-age=0'); var $ohanhi$remotedata_http$RemoteData$Http$noCacheConfig = _Utils_update( $ohanhi$remotedata_http$RemoteData$Http$defaultConfig, { - bl: A2($elm$core$List$cons, $ohanhi$remotedata_http$RemoteData$Http$noCache, $ohanhi$remotedata_http$RemoteData$Http$defaultConfig.bl) + bv: A2($elm$core$List$cons, $ohanhi$remotedata_http$RemoteData$Http$noCache, $ohanhi$remotedata_http$RemoteData$Http$defaultConfig.bv) }); var $ohanhi$remotedata_http$RemoteData$Http$get = $ohanhi$remotedata_http$RemoteData$Http$getWithConfig($ohanhi$remotedata_http$RemoteData$Http$noCacheConfig); -var $author$project$CurrentDraws$getDraws = function (flags) { - var url = _Utils_ap( - $author$project$CurrentDraws$baseClubUrl(flags), - flags.aV); - return A3($ohanhi$remotedata_http$RemoteData$Http$get, url, $author$project$CurrentDraws$GotDraws, $author$project$CurrentDraws$decodeDraws); +var $author$project$CurrentGames$getSides = function (flags) { + var url = $author$project$CurrentGames$baseClubUrl(flags) + 'current_game_positions'; + return A3($ohanhi$remotedata_http$RemoteData$Http$get, url, $author$project$CurrentGames$GotSides, $author$project$CurrentGames$decodeSides); }; -var $author$project$CurrentDraws$GotTranslations = function (a) { +var $author$project$CurrentGames$GotTranslations = function (a) { return {$: 2, a: a}; }; -var $author$project$CurrentDraws$Translation = F2( +var $author$project$CurrentGames$Translation = F2( function (key, label) { - return {bv: key, aO: label}; + return {bE: key, bF: label}; }); -var $author$project$CurrentDraws$decodeTranslations = function () { +var $author$project$CurrentGames$decodeTranslations = function () { var decodeTranslation = A3( $NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$required, 'label', @@ -6319,38 +6757,38 @@ var $author$project$CurrentDraws$decodeTranslations = function () { $NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$required, 'key', $elm$json$Json$Decode$string, - $elm$json$Json$Decode$succeed($author$project$CurrentDraws$Translation))); + $elm$json$Json$Decode$succeed($author$project$CurrentGames$Translation))); return $elm$json$Json$Decode$list(decodeTranslation); }(); -var $author$project$CurrentDraws$getTranslations = function (flags) { - var url = $author$project$CurrentDraws$baseUrl(flags) + '/translations'; - return A3($ohanhi$remotedata_http$RemoteData$Http$get, url, $author$project$CurrentDraws$GotTranslations, $author$project$CurrentDraws$decodeTranslations); +var $author$project$CurrentGames$getTranslations = function (flags) { + var url = $author$project$CurrentGames$baseUrl(flags) + '/translations'; + return A3($ohanhi$remotedata_http$RemoteData$Http$get, url, $author$project$CurrentGames$GotTranslations, $author$project$CurrentGames$decodeTranslations); }; var $elm$core$Platform$Cmd$none = $elm$core$Platform$Cmd$batch(_List_Nil); -var $author$project$CurrentDraws$init = function (flags_) { - var _v0 = A2($elm$json$Json$Decode$decodeValue, $author$project$CurrentDraws$decodeFlags, flags_); +var $author$project$CurrentGames$init = function (flags_) { + var _v0 = A2($elm$json$Json$Decode$decodeValue, $author$project$CurrentGames$decodeFlags, flags_); if (!_v0.$) { var flags = _v0.a; return _Utils_Tuple2( - {at: $krisajenkins$remotedata$RemoteData$NotAsked, af: $elm$core$Maybe$Nothing, aH: flags, ay: $krisajenkins$remotedata$RemoteData$NotAsked}, + {af: $elm$core$Maybe$Nothing, ag: flags, ai: $krisajenkins$remotedata$RemoteData$NotAsked, am: $krisajenkins$remotedata$RemoteData$NotAsked}, $elm$core$Platform$Cmd$batch( _List_fromArray( [ - $author$project$CurrentDraws$getTranslations(flags), - $author$project$CurrentDraws$getDraws(flags) + $author$project$CurrentGames$getTranslations(flags), + $author$project$CurrentGames$getSides(flags) ]))); } else { var error = _v0.a; - var flags = {aN: $elm$core$Maybe$Nothing, aP: 'en', aV: 'leagues', a_: ''}; + var flags = {aT: $elm$core$Maybe$Nothing, aU: 'en', a0: false, a3: '', aD: $author$project$Theme$defaultTheme}; return _Utils_Tuple2( - {at: $krisajenkins$remotedata$RemoteData$NotAsked, af: $elm$core$Maybe$Nothing, aH: flags, ay: $krisajenkins$remotedata$RemoteData$NotAsked}, + {af: $elm$core$Maybe$Nothing, ag: flags, ai: $krisajenkins$remotedata$RemoteData$NotAsked, am: $krisajenkins$remotedata$RemoteData$NotAsked}, $elm$core$Platform$Cmd$none); } }; var $elm$core$Platform$Sub$batch = _Platform_batch; var $elm$core$Platform$Sub$none = $elm$core$Platform$Sub$batch(_List_Nil); var $elm$browser$Browser$Navigation$load = _Browser_load; -var $author$project$CurrentDraws$update = F2( +var $author$project$CurrentGames$update = F2( function (msg, model) { switch (msg.$) { case 0: @@ -6365,14 +6803,14 @@ var $author$project$CurrentDraws$update = F2( return _Utils_Tuple2( _Utils_update( model, - {af: $elm$core$Maybe$Nothing, ay: response}), + {af: $elm$core$Maybe$Nothing, am: response}), $elm$core$Platform$Cmd$none); default: var response = msg.a; return _Utils_Tuple2( _Utils_update( model, - {at: response, af: $elm$core$Maybe$Nothing}), + {af: $elm$core$Maybe$Nothing, ai: response}), $elm$core$Platform$Cmd$none); } }); @@ -6425,13 +6863,13 @@ var $mdgriffith$elm_ui$Internal$Model$asEl = 2; 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$Style$classes = {b7: 'a', aB: 'atv', b9: 'ab', ca: 'cx', cb: 'cy', cc: 'acb', cd: 'accx', ce: 'accy', cf: 'acr', a5: 'al', a6: 'ar', cg: 'at', aC: 'ah', aD: 'av', cj: 's', co: 'bh', cp: 'b', cr: 'w7', ct: 'bd', cu: 'bdt', am: 'bn', cv: 'bs', an: 'cpe', cB: 'cp', cC: 'cpx', cD: 'cpy', C: 'c', ap: 'ctr', aq: 'cb', ar: 'ccx', D: 'ccy', ae: 'cl', as: 'cr', cE: 'ct', cG: 'cptr', cH: 'ctxt', cO: 'fcs', bi: 'focus-within', cP: 'fs', cW: 'g', aK: 'hbh', aL: 'hc', bm: 'he', aM: 'hf', bn: 'hfp', cY: 'hv', c_: 'ic', c0: 'fr', av: 'lbl', c2: 'iml', c3: 'imlf', c4: 'imlp', c5: 'implw', c6: 'it', c8: 'i', bw: 'lnk', W: 'nb', bz: 'notxt', de: 'ol', dg: 'or', P: 'oq', dk: 'oh', bD: 'pg', bE: 'p', dl: 'ppe', ds: 'ui', bS: 'r', du: 'sb', dv: 'sbx', dw: 'sby', dx: 'sbt', dC: 'e', dD: 'cap', dE: 'sev', dM: 'sk', r: 't', dP: 'tc', dQ: 'w8', dR: 'w2', dS: 'w9', dT: 'tj', ax: 'tja', dU: 'tl', dV: 'w3', dW: 'w5', dX: 'w4', dY: 'tr', dZ: 'w6', d_: 'w1', d$: 'tun', b0: 'ts', d6: 'clr', d7: 'u', a0: 'wc', b4: 'we', a1: 'wf', b5: 'wfp', a3: 'wrp'}; -var $mdgriffith$elm_ui$Internal$Model$columnClass = $mdgriffith$elm_ui$Internal$Style$classes.cj + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.C); -var $mdgriffith$elm_ui$Internal$Model$gridClass = $mdgriffith$elm_ui$Internal$Style$classes.cj + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.cW); -var $mdgriffith$elm_ui$Internal$Model$pageClass = $mdgriffith$elm_ui$Internal$Style$classes.cj + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.bD); -var $mdgriffith$elm_ui$Internal$Model$paragraphClass = $mdgriffith$elm_ui$Internal$Style$classes.cj + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.bE); -var $mdgriffith$elm_ui$Internal$Model$rowClass = $mdgriffith$elm_ui$Internal$Style$classes.cj + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.bS); -var $mdgriffith$elm_ui$Internal$Model$singleClass = $mdgriffith$elm_ui$Internal$Style$classes.cj + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.dC); +var $mdgriffith$elm_ui$Internal$Style$classes = {cm: 'a', aG: 'atv', co: 'ab', cp: 'cx', cq: 'cy', cr: 'acb', cs: 'accx', ct: 'accy', cu: 'acr', bc: 'al', bd: 'ar', cv: 'at', aH: 'ah', aI: 'av', cy: 's', cC: 'bh', cD: 'b', cF: 'w7', cH: 'bd', cI: 'bdt', aq: 'bn', cJ: 'bs', ar: 'cpe', cP: 'cp', cQ: 'cpx', cR: 'cpy', C: 'c', at: 'ctr', au: 'cb', av: 'ccx', D: 'ccy', ae: 'cl', aw: 'cr', cS: 'ct', cU: 'cptr', cV: 'ctxt', c2: 'fcs', br: 'focus-within', c3: 'fs', c6: 'g', aQ: 'hbh', aR: 'hc', bw: 'he', aS: 'hf', bx: 'hfp', c8: 'hv', db: 'ic', dd: 'fr', az: 'lbl', df: 'iml', dg: 'imlf', dh: 'imlp', di: 'implw', dj: 'it', dl: 'i', bG: 'lnk', W: 'nb', bJ: 'notxt', dr: 'ol', dt: 'or', P: 'oq', dx: 'oh', bN: 'pg', bO: 'p', dy: 'ppe', dE: 'ui', b2: 'r', dG: 'sb', dH: 'sbx', dI: 'sby', dJ: 'sbt', dM: 'e', dN: 'cap', dO: 'sev', dV: 'sk', r: 't', dY: 'tc', dZ: 'w8', d_: 'w2', d$: 'w9', d0: 'tj', aC: 'tja', d1: 'tl', d2: 'w3', d3: 'w5', d4: 'w4', d5: 'tr', d6: 'w6', d7: 'w1', d8: 'tun', cf: 'ts', a4: 'clr', ef: 'u', a7: 'wc', cj: 'we', a8: 'wf', ck: 'wfp', ba: 'wrp'}; +var $mdgriffith$elm_ui$Internal$Model$columnClass = $mdgriffith$elm_ui$Internal$Style$classes.cy + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.C); +var $mdgriffith$elm_ui$Internal$Model$gridClass = $mdgriffith$elm_ui$Internal$Style$classes.cy + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.c6); +var $mdgriffith$elm_ui$Internal$Model$pageClass = $mdgriffith$elm_ui$Internal$Style$classes.cy + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.bN); +var $mdgriffith$elm_ui$Internal$Model$paragraphClass = $mdgriffith$elm_ui$Internal$Style$classes.cy + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.bO); +var $mdgriffith$elm_ui$Internal$Model$rowClass = $mdgriffith$elm_ui$Internal$Style$classes.cy + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.b2); +var $mdgriffith$elm_ui$Internal$Model$singleClass = $mdgriffith$elm_ui$Internal$Style$classes.cy + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.dM); var $mdgriffith$elm_ui$Internal$Model$contextClasses = function (context) { switch (context) { case 0: @@ -6593,15 +7031,6 @@ var $mdgriffith$elm_ui$Internal$Model$transformClass = function (transform) { 'tfrm-' + ($mdgriffith$elm_ui$Internal$Model$floatClass(tx) + ('-' + ($mdgriffith$elm_ui$Internal$Model$floatClass(ty) + ('-' + ($mdgriffith$elm_ui$Internal$Model$floatClass(tz) + ('-' + ($mdgriffith$elm_ui$Internal$Model$floatClass(sx) + ('-' + ($mdgriffith$elm_ui$Internal$Model$floatClass(sy) + ('-' + ($mdgriffith$elm_ui$Internal$Model$floatClass(sz) + ('-' + ($mdgriffith$elm_ui$Internal$Model$floatClass(ox) + ('-' + ($mdgriffith$elm_ui$Internal$Model$floatClass(oy) + ('-' + ($mdgriffith$elm_ui$Internal$Model$floatClass(oz) + ('-' + $mdgriffith$elm_ui$Internal$Model$floatClass(angle)))))))))))))))))))); } }; -var $elm$core$Maybe$withDefault = F2( - function (_default, maybe) { - if (!maybe.$) { - var value = maybe.a; - return value; - } else { - return _default; - } - }); var $mdgriffith$elm_ui$Internal$Model$getStyleName = function (style) { switch (style.$) { case 13: @@ -6650,13 +7079,13 @@ var $mdgriffith$elm_ui$Internal$Model$getStyleName = function (style) { return 'grid-rows-' + (A2( $elm$core$String$join, '-', - A2($elm$core$List$map, $mdgriffith$elm_ui$Internal$Model$lengthClassName, template.dt)) + ('-cols-' + (A2( + A2($elm$core$List$map, $mdgriffith$elm_ui$Internal$Model$lengthClassName, template.dF)) + ('-cols-' + (A2( $elm$core$String$join, '-', - A2($elm$core$List$map, $mdgriffith$elm_ui$Internal$Model$lengthClassName, template.w)) + ('-space-x-' + ($mdgriffith$elm_ui$Internal$Model$lengthClassName(template.dF.a) + ('-space-y-' + $mdgriffith$elm_ui$Internal$Model$lengthClassName(template.dF.b))))))); + A2($elm$core$List$map, $mdgriffith$elm_ui$Internal$Model$lengthClassName, template.w)) + ('-space-x-' + ($mdgriffith$elm_ui$Internal$Model$lengthClassName(template.dP.a) + ('-space-y-' + $mdgriffith$elm_ui$Internal$Model$lengthClassName(template.dP.b))))))); case 9: var pos = style.a; - return 'gp grid-pos-' + ($elm$core$String$fromInt(pos.bS) + ('-' + ($elm$core$String$fromInt(pos.bb) + ('-' + ($elm$core$String$fromInt(pos.ab) + ('-' + $elm$core$String$fromInt(pos.V))))))); + return 'gp grid-pos-' + ($elm$core$String$fromInt(pos.b2) + ('-' + ($elm$core$String$fromInt(pos.bi) + ('-' + ($elm$core$String$fromInt(pos.ab) + ('-' + $elm$core$String$fromInt(pos.V))))))); case 11: var selector = style.a; var subStyle = style.b; @@ -6752,7 +7181,7 @@ var $mdgriffith$elm_ui$Internal$Model$formatBoxShadow = function (shadow) { $elm$core$Basics$identity, _List_fromArray( [ - shadow.bs ? $elm$core$Maybe$Just('inset') : $elm$core$Maybe$Nothing, + shadow.bB ? $elm$core$Maybe$Just('inset') : $elm$core$Maybe$Nothing, $elm$core$Maybe$Just( $elm$core$String$fromFloat(shadow.b.a) + 'px'), $elm$core$Maybe$Just( @@ -6760,7 +7189,7 @@ var $mdgriffith$elm_ui$Internal$Model$formatBoxShadow = function (shadow) { $elm$core$Maybe$Just( $elm$core$String$fromFloat(shadow.S) + 'px'), $elm$core$Maybe$Just( - $elm$core$String$fromFloat(shadow.bW) + 'px'), + $elm$core$String$fromFloat(shadow.b7) + 'px'), $elm$core$Maybe$Just( $mdgriffith$elm_ui$Internal$Model$formatColor(shadow.T)) ]))); @@ -6796,7 +7225,7 @@ var $mdgriffith$elm_ui$Internal$Model$renderFocusStyle = function (focus) { [ A2( $mdgriffith$elm_ui$Internal$Model$Style, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.bi) + ':focus-within', + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.br) + ':focus-within', A2( $elm$core$List$filterMap, $elm$core$Basics$identity, @@ -6810,7 +7239,7 @@ var $mdgriffith$elm_ui$Internal$Model$renderFocusStyle = function (focus) { 'border-color', $mdgriffith$elm_ui$Internal$Model$formatColor(color)); }, - focus.cs), + focus.cG), A2( $elm$core$Maybe$map, function (color) { @@ -6819,7 +7248,7 @@ var $mdgriffith$elm_ui$Internal$Model$renderFocusStyle = function (focus) { 'background-color', $mdgriffith$elm_ui$Internal$Model$formatColor(color)); }, - focus.cm), + focus.cA), A2( $elm$core$Maybe$map, function (shadow) { @@ -6830,21 +7259,21 @@ var $mdgriffith$elm_ui$Internal$Model$renderFocusStyle = function (focus) { { S: shadow.S, T: shadow.T, - bs: false, + bB: false, b: A2( $elm$core$Tuple$mapSecond, $elm$core$Basics$toFloat, A2($elm$core$Tuple$mapFirst, $elm$core$Basics$toFloat, shadow.b)), - bW: shadow.bW + b7: shadow.b7 })); }, - focus.dB), + focus.dL), $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.cj) + ':focus .focusable, ') + (($mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cj) + '.focusable:focus, ') + ('.ui-slide-bar:focus + ' + ($mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cj) + ' .focusable-thumb'))), + ($mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cy) + ':focus .focusable, ') + (($mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cy) + '.focusable:focus, ') + ('.ui-slide-bar:focus + ' + ($mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cy) + ' .focusable-thumb'))), A2( $elm$core$List$filterMap, $elm$core$Basics$identity, @@ -6858,7 +7287,7 @@ var $mdgriffith$elm_ui$Internal$Model$renderFocusStyle = function (focus) { 'border-color', $mdgriffith$elm_ui$Internal$Model$formatColor(color)); }, - focus.cs), + focus.cG), A2( $elm$core$Maybe$map, function (color) { @@ -6867,7 +7296,7 @@ var $mdgriffith$elm_ui$Internal$Model$renderFocusStyle = function (focus) { 'background-color', $mdgriffith$elm_ui$Internal$Model$formatColor(color)); }, - focus.cm), + focus.cA), A2( $elm$core$Maybe$map, function (shadow) { @@ -6878,15 +7307,15 @@ var $mdgriffith$elm_ui$Internal$Model$renderFocusStyle = function (focus) { { S: shadow.S, T: shadow.T, - bs: false, + bB: false, b: A2( $elm$core$Tuple$mapSecond, $elm$core$Basics$toFloat, A2($elm$core$Tuple$mapFirst, $elm$core$Basics$toFloat, shadow.b)), - bW: shadow.bW + b7: shadow.b7 })); }, - focus.dB), + focus.dL), $elm$core$Maybe$Just( A2($mdgriffith$elm_ui$Internal$Model$Property, 'outline', 'none')) ]))) @@ -6960,19 +7389,19 @@ var $mdgriffith$elm_ui$Internal$Style$contentName = function (desc) { switch (desc) { case 0: var _v1 = desc; - return $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cE); + return $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cS); case 1: var _v2 = desc; - return $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.aq); + return $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.au); case 2: var _v3 = desc; - return $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.as); + return $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.aw); case 3: var _v4 = desc; return $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.ae); case 4: var _v5 = desc; - return $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.ar); + return $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.av); default: var _v6 = desc; return $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.D); @@ -6982,22 +7411,22 @@ 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.cg); + return $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cv); case 1: var _v2 = desc; - return $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.b9); + return $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.co); case 2: var _v3 = desc; - return $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.a6); + return $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.bd); case 3: var _v4 = desc; - return $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.a5); + return $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.bc); case 4: var _v5 = desc; - return $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.ca); + return $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cp); default: var _v6 = desc; - return $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cb); + return $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cq); } }; var $mdgriffith$elm_ui$Internal$Style$describeAlignment = function (values) { @@ -7013,7 +7442,7 @@ var $mdgriffith$elm_ui$Internal$Style$describeAlignment = function (values) { content), A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cj), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cy), _List_fromArray( [ A2( @@ -7033,13 +7462,13 @@ var $mdgriffith$elm_ui$Internal$Style$elDescription = _List_fromArray( 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.aK), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.aQ), _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.co), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cC), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'z-index', '-1') @@ -7047,7 +7476,7 @@ var $mdgriffith$elm_ui$Internal$Style$elDescription = _List_fromArray( ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dx), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dJ), _List_fromArray( [ A2( @@ -7057,14 +7486,14 @@ var $mdgriffith$elm_ui$Internal$Style$elDescription = _List_fromArray( [ A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.aM), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.aS), _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.a1), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.a8), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'align-self', 'auto !important') @@ -7073,35 +7502,35 @@ var $mdgriffith$elm_ui$Internal$Style$elDescription = _List_fromArray( ])), A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.aL), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.aR), _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.aM), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.aS), _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.a1), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.a8), _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.b5), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.ck), _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.a0), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.a7), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'align-self', 'flex-start') @@ -7167,7 +7596,7 @@ var $mdgriffith$elm_ui$Internal$Style$elDescription = _List_fromArray( [ A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cj), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cy), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'margin-top', 'auto'), @@ -7188,7 +7617,7 @@ var $mdgriffith$elm_ui$Internal$Style$gridAlignments = function (values) { [ A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cj), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cy), _List_fromArray( [ A2( @@ -7242,16 +7671,16 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( A2( $mdgriffith$elm_ui$Internal$Style$Class, _Utils_ap( - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cj), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cy), _Utils_ap( - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dC), - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.c_))), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dM), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.db))), _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.aM), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.aS), _List_fromArray( [ A2( @@ -7265,7 +7694,7 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.a1), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.a8), _List_fromArray( [ A2( @@ -7280,14 +7709,14 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( ])), A2( $mdgriffith$elm_ui$Internal$Style$Class, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cj) + ':focus', + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cy) + ':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.ds), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dE), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'width', '100%'), @@ -7297,14 +7726,14 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, _Utils_ap( - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cj), - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.aM)), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cy), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.aS)), _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.aM), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.aS), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'height', '100%') @@ -7312,7 +7741,7 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( ])), A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.c0), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dd), _List_fromArray( [ A2( @@ -7337,7 +7766,7 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _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.dC), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dM), $mdgriffith$elm_ui$Internal$Style$elDescription), $mdgriffith$elm_ui$Internal$Style$Batch( function (fn) { @@ -7348,7 +7777,7 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( case 0: return A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.b7), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cm), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'position', 'absolute'), @@ -7359,14 +7788,14 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( 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.aM), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.aS), _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.a1), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.a8), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'width', '100%') @@ -7383,7 +7812,7 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( case 1: return A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cp), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cD), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'position', 'absolute'), @@ -7403,7 +7832,7 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( ])), A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.aM), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.aS), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'height', 'auto') @@ -7412,7 +7841,7 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( case 2: return 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.dt), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'position', 'absolute'), @@ -7433,7 +7862,7 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( case 3: return A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.de), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dr), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'position', 'absolute'), @@ -7454,7 +7883,7 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( case 4: return A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.c0), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dd), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'position', 'absolute'), @@ -7475,7 +7904,7 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( default: return A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.co), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cC), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'position', 'absolute'), @@ -7499,7 +7928,7 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( ])), A2( $mdgriffith$elm_ui$Internal$Style$Class, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cj), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cy), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'position', 'relative'), @@ -7524,14 +7953,14 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( 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.a3), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.ba), _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.bz), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.bJ), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, '-moz-user-select', 'none'), @@ -7541,35 +7970,35 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cG), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cU), _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.cH), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cV), _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.dl), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dy), _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.an), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.ar), _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.d6), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.a4), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'opacity', '0') @@ -7584,7 +8013,7 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, $mdgriffith$elm_ui$Internal$Style$dot( - _Utils_ap($mdgriffith$elm_ui$Internal$Style$classes.cY, $mdgriffith$elm_ui$Internal$Style$classes.d6)) + ':hover', + _Utils_ap($mdgriffith$elm_ui$Internal$Style$classes.c8, $mdgriffith$elm_ui$Internal$Style$classes.a4)) + ':hover', _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'opacity', '0') @@ -7592,7 +8021,7 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, $mdgriffith$elm_ui$Internal$Style$dot( - _Utils_ap($mdgriffith$elm_ui$Internal$Style$classes.cY, $mdgriffith$elm_ui$Internal$Style$classes.P)) + ':hover', + _Utils_ap($mdgriffith$elm_ui$Internal$Style$classes.c8, $mdgriffith$elm_ui$Internal$Style$classes.P)) + ':hover', _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'opacity', '1') @@ -7600,7 +8029,7 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, $mdgriffith$elm_ui$Internal$Style$dot( - _Utils_ap($mdgriffith$elm_ui$Internal$Style$classes.cO, $mdgriffith$elm_ui$Internal$Style$classes.d6)) + ':focus', + _Utils_ap($mdgriffith$elm_ui$Internal$Style$classes.c2, $mdgriffith$elm_ui$Internal$Style$classes.a4)) + ':focus', _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'opacity', '0') @@ -7608,7 +8037,7 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, $mdgriffith$elm_ui$Internal$Style$dot( - _Utils_ap($mdgriffith$elm_ui$Internal$Style$classes.cO, $mdgriffith$elm_ui$Internal$Style$classes.P)) + ':focus', + _Utils_ap($mdgriffith$elm_ui$Internal$Style$classes.c2, $mdgriffith$elm_ui$Internal$Style$classes.P)) + ':focus', _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'opacity', '1') @@ -7616,7 +8045,7 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, $mdgriffith$elm_ui$Internal$Style$dot( - _Utils_ap($mdgriffith$elm_ui$Internal$Style$classes.aB, $mdgriffith$elm_ui$Internal$Style$classes.d6)) + ':active', + _Utils_ap($mdgriffith$elm_ui$Internal$Style$classes.aG, $mdgriffith$elm_ui$Internal$Style$classes.a4)) + ':active', _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'opacity', '0') @@ -7624,14 +8053,14 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, $mdgriffith$elm_ui$Internal$Style$dot( - _Utils_ap($mdgriffith$elm_ui$Internal$Style$classes.aB, $mdgriffith$elm_ui$Internal$Style$classes.P)) + ':active', + _Utils_ap($mdgriffith$elm_ui$Internal$Style$classes.aG, $mdgriffith$elm_ui$Internal$Style$classes.P)) + ':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.b0), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cf), _List_fromArray( [ A2( @@ -7650,7 +8079,7 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.du), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dG), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'overflow', 'auto'), @@ -7658,13 +8087,13 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dv), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dH), _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.bS), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.b2), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'flex-shrink', '1') @@ -7672,7 +8101,7 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( ])), 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.dI), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'overflow-y', 'auto'), @@ -7685,7 +8114,7 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dC), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dM), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'flex-shrink', '1') @@ -7693,56 +8122,56 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cB), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cP), _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.cC), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cQ), _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.cD), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cR), _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.a0), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.a7), _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.am), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.aq), _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.ct), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cH), _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.cu), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cI), _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.cv), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cJ), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'border-style', 'solid') @@ -7757,7 +8186,7 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.c6), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dj), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'line-height', '1.05'), @@ -7766,31 +8195,31 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dC), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dM), $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.bS), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.b2), _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.cj), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cy), _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.b4), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cj), _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.bw), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.bG), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'flex-basis', 'auto') @@ -7798,28 +8227,28 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( ])), A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.aM), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.aS), _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.bn), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.bx), _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.a1), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.a8), _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.ap), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.at), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'flex-grow', '0'), @@ -7828,20 +8257,20 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( ])), A2( $mdgriffith$elm_ui$Internal$Style$Child, - 'u:first-of-type.' + $mdgriffith$elm_ui$Internal$Style$classes.cf, + 'u:first-of-type.' + $mdgriffith$elm_ui$Internal$Style$classes.cu, _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.cd, + 's:first-of-type.' + $mdgriffith$elm_ui$Internal$Style$classes.cs, _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.ca), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cp), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'margin-left', 'auto !important') @@ -7849,13 +8278,13 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( ])), A2( $mdgriffith$elm_ui$Internal$Style$Child, - 's:last-of-type.' + $mdgriffith$elm_ui$Internal$Style$classes.cd, + 's:last-of-type.' + $mdgriffith$elm_ui$Internal$Style$classes.cs, _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.ca), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cp), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'margin-right', 'auto !important') @@ -7863,13 +8292,13 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( ])), A2( $mdgriffith$elm_ui$Internal$Style$Child, - 's:only-of-type.' + $mdgriffith$elm_ui$Internal$Style$classes.cd, + 's:only-of-type.' + $mdgriffith$elm_ui$Internal$Style$classes.cs, _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.cb), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cq), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'margin-top', 'auto !important'), @@ -7878,14 +8307,14 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( ])), A2( $mdgriffith$elm_ui$Internal$Style$Child, - 's:last-of-type.' + ($mdgriffith$elm_ui$Internal$Style$classes.cd + ' ~ u'), + 's:last-of-type.' + ($mdgriffith$elm_ui$Internal$Style$classes.cs + ' ~ 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.cf + (' ~ s.' + $mdgriffith$elm_ui$Internal$Style$classes.cd)), + 'u:first-of-type.' + ($mdgriffith$elm_ui$Internal$Style$classes.cu + (' ~ s.' + $mdgriffith$elm_ui$Internal$Style$classes.cs)), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'flex-grow', '0') @@ -7948,14 +8377,14 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( }), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dE), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dO), _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.av), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.az), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'align-items', 'baseline') @@ -7970,14 +8399,14 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( 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.cj), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cy), _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.bm), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.bw), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'flex-basis', 'auto') @@ -7985,48 +8414,48 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( ])), A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.aM), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.aS), _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.a1), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.a8), _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.b5), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.ck), _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.a0), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.a7), _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.cc, + 'u:first-of-type.' + $mdgriffith$elm_ui$Internal$Style$classes.cr, _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.ce, + 's:first-of-type.' + $mdgriffith$elm_ui$Internal$Style$classes.ct, _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.cb), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cq), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'margin-top', 'auto !important'), @@ -8035,13 +8464,13 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( ])), A2( $mdgriffith$elm_ui$Internal$Style$Child, - 's:last-of-type.' + $mdgriffith$elm_ui$Internal$Style$classes.ce, + 's:last-of-type.' + $mdgriffith$elm_ui$Internal$Style$classes.ct, _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.cb), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cq), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'margin-bottom', 'auto !important'), @@ -8050,13 +8479,13 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( ])), A2( $mdgriffith$elm_ui$Internal$Style$Child, - 's:only-of-type.' + $mdgriffith$elm_ui$Internal$Style$classes.ce, + 's:only-of-type.' + $mdgriffith$elm_ui$Internal$Style$classes.ct, _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.cb), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cq), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'margin-top', 'auto !important'), @@ -8065,14 +8494,14 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( ])), A2( $mdgriffith$elm_ui$Internal$Style$Child, - 's:last-of-type.' + ($mdgriffith$elm_ui$Internal$Style$classes.ce + ' ~ u'), + 's:last-of-type.' + ($mdgriffith$elm_ui$Internal$Style$classes.ct + ' ~ 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.cc + (' ~ s.' + $mdgriffith$elm_ui$Internal$Style$classes.ce)), + 'u:first-of-type.' + ($mdgriffith$elm_ui$Internal$Style$classes.cr + (' ~ s.' + $mdgriffith$elm_ui$Internal$Style$classes.ct)), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'flex-grow', '0') @@ -8141,7 +8570,7 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( }), A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.ap), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.at), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'flex-grow', '0'), @@ -8151,7 +8580,7 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dE), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dO), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'justify-content', 'space-between') @@ -8159,7 +8588,7 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cW), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.c6), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'display', '-ms-grid'), @@ -8170,7 +8599,7 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( [ A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cj), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cy), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'width', '100%') @@ -8221,13 +8650,13 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.bD), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.bN), _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.cj + ':first-child'), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cy + ':first-child'), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'margin', '0 !important') @@ -8235,7 +8664,7 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( A2( $mdgriffith$elm_ui$Internal$Style$Child, $mdgriffith$elm_ui$Internal$Style$dot( - $mdgriffith$elm_ui$Internal$Style$classes.cj + ($mdgriffith$elm_ui$Internal$Style$selfName(3) + (':first-child + .' + $mdgriffith$elm_ui$Internal$Style$classes.cj))), + $mdgriffith$elm_ui$Internal$Style$classes.cy + ($mdgriffith$elm_ui$Internal$Style$selfName(3) + (':first-child + .' + $mdgriffith$elm_ui$Internal$Style$classes.cy))), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'margin', '0 !important') @@ -8243,7 +8672,7 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( A2( $mdgriffith$elm_ui$Internal$Style$Child, $mdgriffith$elm_ui$Internal$Style$dot( - $mdgriffith$elm_ui$Internal$Style$classes.cj + ($mdgriffith$elm_ui$Internal$Style$selfName(2) + (':first-child + .' + $mdgriffith$elm_ui$Internal$Style$classes.cj))), + $mdgriffith$elm_ui$Internal$Style$classes.cy + ($mdgriffith$elm_ui$Internal$Style$selfName(2) + (':first-child + .' + $mdgriffith$elm_ui$Internal$Style$classes.cy))), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'margin', '0 !important') @@ -8296,7 +8725,7 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.c2), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.df), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'white-space', 'pre-wrap !important'), @@ -8306,12 +8735,12 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.c5), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.di), _List_fromArray( [ A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dC), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dM), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'flex-basis', 'auto') @@ -8319,14 +8748,14 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.c4), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dh), _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.c3), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dg), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'white-space', 'pre-wrap !important'), @@ -8335,7 +8764,7 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.bE), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.bO), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'display', 'block'), @@ -8343,13 +8772,13 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( 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.aK), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.aQ), _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.co), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cC), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'z-index', '-1') @@ -8365,7 +8794,7 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( ])), A2( $mdgriffith$elm_ui$Internal$Style$AllChildren, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.bE), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.bO), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'display', 'inline'), @@ -8386,56 +8815,56 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( ])), A2( $mdgriffith$elm_ui$Internal$Style$AllChildren, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dC), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dM), _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.b4), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cj), _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.c0), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dd), _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.co), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cC), _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.b7), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cm), _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.cp), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cD), _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.dg), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dt), _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.de), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dr), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'display', 'flex') @@ -8451,7 +8880,7 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( ])), A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.bS), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.b2), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'display', 'inline') @@ -8465,7 +8894,7 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( ])), A2( $mdgriffith$elm_ui$Internal$Style$Child, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cW), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.c6), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'display', 'inline-grid') @@ -8507,84 +8936,84 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.d_), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.d7), _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.dR), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.d_), _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.dV), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.d2), _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.dX), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.d4), _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.dW), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.d3), _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.dZ), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.d6), _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.cr), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cF), _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.dQ), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dZ), _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.dS), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.d$), _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.c8), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dl), _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.dM), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dV), _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.d7), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.ef), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'text-decoration', 'underline'), @@ -8594,8 +9023,8 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, _Utils_ap( - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.d7), - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dM)), + $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.dV)), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'text-decoration', 'line-through underline'), @@ -8604,42 +9033,42 @@ var $mdgriffith$elm_ui$Internal$Style$baseSheet = _List_fromArray( ])), A2( $mdgriffith$elm_ui$Internal$Style$Descriptor, - $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.d$), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.d8), _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.dT), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.d0), _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.ax), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.aC), _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.dP), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.dY), _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.dY), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.d5), _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.dU), + $mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.d1), _List_fromArray( [ A2($mdgriffith$elm_ui$Internal$Style$Prop, 'text-align', 'left') @@ -8751,19 +9180,19 @@ var $mdgriffith$elm_ui$Internal$Style$commonValues = $elm$core$List$concat( $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.cj + (' {\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.cj + ' {\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.cy + (' {\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.cy + ' {\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.cj) + ($mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.bS) + (' > ' + ($mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cj) + (' { flex-basis: auto !important; } ' + ($mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cj) + ($mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.bS) + (' > ' + ($mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cj) + ($mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.ap) + (' { 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.cy) + ($mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.b2) + (' > ' + ($mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cy) + (' { flex-basis: auto !important; } ' + ($mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cy) + ($mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.b2) + (' > ' + ($mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cy) + ($mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.at) + (' { 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 {ao: closing, m: _List_Nil, G: _List_Nil, u: selector}; + return {as: closing, m: _List_Nil, G: _List_Nil, u: selector}; }); var $mdgriffith$elm_ui$Internal$Style$renderRules = F2( function (_v0, rulesToRender) { @@ -8792,7 +9221,7 @@ var $mdgriffith$elm_ui$Internal$Style$renderRules = F2( { m: A2( $elm$core$List$cons, - {ao: '\n}', m: _List_Nil, G: props, u: '@supports (' + (prop + (':' + (value + (') {' + parent.u))))}, + {as: '\n}', m: _List_Nil, G: props, u: '@supports (' + (prop + (':' + (value + (') {' + parent.u))))}, rendered.m) }); case 5: @@ -8888,7 +9317,7 @@ var $mdgriffith$elm_ui$Internal$Style$renderCompact = function (styleClasses) { if (!_v2.b) { return ''; } else { - return rule.u + ('{' + (renderValues(rule.G) + (rule.ao + '}'))); + return rule.u + ('{' + (renderValues(rule.G) + (rule.as + '}'))); } }; var renderIntermediate = function (_v0) { @@ -8925,7 +9354,7 @@ var $mdgriffith$elm_ui$Internal$Style$rules = _Utils_ap( _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.dc; + var _v0 = opts.dp; switch (_v0) { case 0: return A3( @@ -9018,7 +9447,7 @@ var $mdgriffith$elm_ui$Internal$Model$fontName = function (font) { var url = font.b; return '\"' + (name + '\"'); default: - var name = font.a.dd; + var name = font.a.dq; return '\"' + (name + '\"'); } }; @@ -9039,7 +9468,7 @@ var $mdgriffith$elm_ui$Internal$Model$isSmallCaps = function (_var) { 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.b1); + return A2($elm$core$List$any, $mdgriffith$elm_ui$Internal$Model$isSmallCaps, font.cg); } else { return false; } @@ -9048,9 +9477,6 @@ var $elm$core$Basics$min = F2( 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; @@ -9072,7 +9498,7 @@ var $mdgriffith$elm_ui$Internal$Model$renderStyle = F4( var pseudo = maybePseudo.a; switch (pseudo) { case 1: - var _v2 = options.cY; + var _v2 = options.c8; switch (_v2) { case 0: return _List_Nil; @@ -9104,9 +9530,9 @@ var $mdgriffith$elm_ui$Internal$Model$renderStyle = F4( return _List_fromArray( [ selector + ('-fs:focus {' + (renderedProps + '\n}')), - ('.' + ($mdgriffith$elm_ui$Internal$Style$classes.cj + (':focus ' + (selector + '-fs {')))) + (renderedProps + '\n}'), + ('.' + ($mdgriffith$elm_ui$Internal$Style$classes.cy + (':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.cj) + (' .focusable-thumb' + (selector + '-fs {')))) + (renderedProps + '\n}') + ('.ui-slide-bar:focus + ' + ($mdgriffith$elm_ui$Internal$Style$dot($mdgriffith$elm_ui$Internal$Style$classes.cy) + (' .focusable-thumb' + (selector + '-fs {')))) + (renderedProps + '\n}') ]); default: return _List_fromArray( @@ -9141,7 +9567,7 @@ var $mdgriffith$elm_ui$Internal$Model$renderVariants = function (typeface) { A2( $elm$core$String$join, ', ', - A2($elm$core$List$map, $mdgriffith$elm_ui$Internal$Model$renderVariant, font.b1))); + A2($elm$core$List$map, $mdgriffith$elm_ui$Internal$Model$renderVariant, font.cg))); } else { return $elm$core$Maybe$Nothing; } @@ -9287,18 +9713,18 @@ var $mdgriffith$elm_ui$Internal$Model$renderStyleRule = F3( 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.dC; - var row = '.' + $mdgriffith$elm_ui$Internal$Style$classes.bS; - var wrappedRow = '.' + ($mdgriffith$elm_ui$Internal$Style$classes.a3 + row); - var right = '.' + $mdgriffith$elm_ui$Internal$Style$classes.a6; - var paragraph = '.' + $mdgriffith$elm_ui$Internal$Style$classes.bE; - var page = '.' + $mdgriffith$elm_ui$Internal$Style$classes.bD; - var left = '.' + $mdgriffith$elm_ui$Internal$Style$classes.a5; + var single = '.' + $mdgriffith$elm_ui$Internal$Style$classes.dM; + var row = '.' + $mdgriffith$elm_ui$Internal$Style$classes.b2; + var wrappedRow = '.' + ($mdgriffith$elm_ui$Internal$Style$classes.ba + row); + var right = '.' + $mdgriffith$elm_ui$Internal$Style$classes.bd; + var paragraph = '.' + $mdgriffith$elm_ui$Internal$Style$classes.bO; + var page = '.' + $mdgriffith$elm_ui$Internal$Style$classes.bN; + var left = '.' + $mdgriffith$elm_ui$Internal$Style$classes.bc; 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.C; var _class = '.' + cls; - var any = '.' + $mdgriffith$elm_ui$Internal$Style$classes.cj; + var any = '.' + $mdgriffith$elm_ui$Internal$Style$classes.cy; return $elm$core$List$concat( _List_fromArray( [ @@ -9556,15 +9982,15 @@ var $mdgriffith$elm_ui$Internal$Model$renderStyleRule = F3( var toGridLength = function (x) { return A3(toGridLengthHelper, $elm$core$Maybe$Nothing, $elm$core$Maybe$Nothing, x); }; - var xSpacing = toGridLength(template.dF.a); - var ySpacing = toGridLength(template.dF.b); + var xSpacing = toGridLength(template.dP.a); + var ySpacing = toGridLength(template.dP.b); var rows = function (x) { return 'grid-template-rows: ' + (x + ';'); }( A2( $elm$core$String$join, ' ', - A2($elm$core$List$map, toGridLength, template.dt))); + A2($elm$core$List$map, toGridLength, template.dF))); var msRows = function (x) { return '-ms-grid-rows: ' + (x + ';'); }( @@ -9579,8 +10005,8 @@ var $mdgriffith$elm_ui$Internal$Model$renderStyleRule = F3( $elm$core$String$join, ySpacing, A2($elm$core$List$map, toGridLength, template.w))); - var gapY = 'grid-row-gap:' + (toGridLength(template.dF.b) + ';'); - var gapX = 'grid-column-gap:' + (toGridLength(template.dF.a) + ';'); + var gapY = 'grid-row-gap:' + (toGridLength(template.dP.b) + ';'); + var gapX = 'grid-column-gap:' + (toGridLength(template.dP.a) + ';'); var columns = function (x) { return 'grid-template-columns: ' + (x + ';'); }( @@ -9591,10 +10017,10 @@ var $mdgriffith$elm_ui$Internal$Model$renderStyleRule = F3( var _class = '.grid-rows-' + (A2( $elm$core$String$join, '-', - A2($elm$core$List$map, $mdgriffith$elm_ui$Internal$Model$lengthClassName, template.dt)) + ('-cols-' + (A2( + A2($elm$core$List$map, $mdgriffith$elm_ui$Internal$Model$lengthClassName, template.dF)) + ('-cols-' + (A2( $elm$core$String$join, '-', - A2($elm$core$List$map, $mdgriffith$elm_ui$Internal$Model$lengthClassName, template.w)) + ('-space-x-' + ($mdgriffith$elm_ui$Internal$Model$lengthClassName(template.dF.a) + ('-space-y-' + $mdgriffith$elm_ui$Internal$Model$lengthClassName(template.dF.b))))))); + A2($elm$core$List$map, $mdgriffith$elm_ui$Internal$Model$lengthClassName, template.w)) + ('-space-x-' + ($mdgriffith$elm_ui$Internal$Model$lengthClassName(template.dP.a) + ('-space-y-' + $mdgriffith$elm_ui$Internal$Model$lengthClassName(template.dP.b))))))); var modernGrid = _class + ('{' + (columns + (rows + (gapX + (gapY + '}'))))); var supports = '@supports (display:grid) {' + (modernGrid + '}'); var base = _class + ('{' + (msColumns + (msRows + '}'))); @@ -9607,9 +10033,9 @@ var $mdgriffith$elm_ui$Internal$Model$renderStyleRule = F3( ' ', _List_fromArray( [ - '-ms-grid-row: ' + ($elm$core$String$fromInt(position.bS) + ';'), + '-ms-grid-row: ' + ($elm$core$String$fromInt(position.b2) + ';'), '-ms-grid-row-span: ' + ($elm$core$String$fromInt(position.V) + ';'), - '-ms-grid-column: ' + ($elm$core$String$fromInt(position.bb) + ';'), + '-ms-grid-column: ' + ($elm$core$String$fromInt(position.bi) + ';'), '-ms-grid-column-span: ' + ($elm$core$String$fromInt(position.ab) + ';') ])); var modernPosition = A2( @@ -9617,10 +10043,10 @@ var $mdgriffith$elm_ui$Internal$Model$renderStyleRule = F3( ' ', _List_fromArray( [ - 'grid-row: ' + ($elm$core$String$fromInt(position.bS) + (' / ' + ($elm$core$String$fromInt(position.bS + position.V) + ';'))), - 'grid-column: ' + ($elm$core$String$fromInt(position.bb) + (' / ' + ($elm$core$String$fromInt(position.bb + position.ab) + ';'))) + 'grid-row: ' + ($elm$core$String$fromInt(position.b2) + (' / ' + ($elm$core$String$fromInt(position.b2 + position.V) + ';'))), + 'grid-column: ' + ($elm$core$String$fromInt(position.bi) + (' / ' + ($elm$core$String$fromInt(position.bi + position.ab) + ';'))) ])); - var _class = '.grid-pos-' + ($elm$core$String$fromInt(position.bS) + ('-' + ($elm$core$String$fromInt(position.bb) + ('-' + ($elm$core$String$fromInt(position.ab) + ('-' + $elm$core$String$fromInt(position.V))))))); + var _class = '.grid-pos-' + ($elm$core$String$fromInt(position.b2) + ('-' + ($elm$core$String$fromInt(position.bi) + ('-' + ($elm$core$String$fromInt(position.ab) + ('-' + $elm$core$String$fromInt(position.V))))))); var modernGrid = _class + ('{' + (modernPosition + '}')); var supports = '@supports (display:grid) {' + (modernGrid + '}'); var base = _class + ('{' + (msPosition + '}')); @@ -9703,8 +10129,8 @@ var $mdgriffith$elm_ui$Internal$Model$renderFontAdjustmentRule = F3( $elm$core$String$join, ' ', _Utils_ap( - A3($mdgriffith$elm_ui$Internal$Model$fontRule, name, $mdgriffith$elm_ui$Internal$Style$classes.dD, capital), - A3($mdgriffith$elm_ui$Internal$Model$fontRule, name, $mdgriffith$elm_ui$Internal$Style$classes.cP, full))); + A3($mdgriffith$elm_ui$Internal$Model$fontRule, name, $mdgriffith$elm_ui$Internal$Style$classes.dN, capital), + A3($mdgriffith$elm_ui$Internal$Model$fontRule, name, $mdgriffith$elm_ui$Internal$Style$classes.c3, full))); }); var $mdgriffith$elm_ui$Internal$Model$renderNullAdjustmentRule = F2( function (fontToAdjust, otherFontName) { @@ -9716,14 +10142,14 @@ var $mdgriffith$elm_ui$Internal$Model$renderNullAdjustmentRule = F2( [ A2( $mdgriffith$elm_ui$Internal$Model$bracket, - '.' + (name + ('.' + ($mdgriffith$elm_ui$Internal$Style$classes.dD + (', ' + ('.' + (name + (' .' + $mdgriffith$elm_ui$Internal$Style$classes.dD))))))), + '.' + (name + ('.' + ($mdgriffith$elm_ui$Internal$Style$classes.dN + (', ' + ('.' + (name + (' .' + $mdgriffith$elm_ui$Internal$Style$classes.dN))))))), _List_fromArray( [ _Utils_Tuple2('line-height', '1') ])), A2( $mdgriffith$elm_ui$Internal$Model$bracket, - '.' + (name + ('.' + ($mdgriffith$elm_ui$Internal$Style$classes.dD + ('> .' + ($mdgriffith$elm_ui$Internal$Style$classes.r + (', .' + (name + (' .' + ($mdgriffith$elm_ui$Internal$Style$classes.dD + (' > .' + $mdgriffith$elm_ui$Internal$Style$classes.r)))))))))), + '.' + (name + ('.' + ($mdgriffith$elm_ui$Internal$Style$classes.dN + ('> .' + ($mdgriffith$elm_ui$Internal$Style$classes.r + (', .' + (name + (' .' + ($mdgriffith$elm_ui$Internal$Style$classes.dN + (' > .' + $mdgriffith$elm_ui$Internal$Style$classes.r)))))))))), _List_fromArray( [ _Utils_Tuple2('vertical-align', '0'), @@ -9733,7 +10159,7 @@ var $mdgriffith$elm_ui$Internal$Model$renderNullAdjustmentRule = F2( }); var $mdgriffith$elm_ui$Internal$Model$adjust = F3( function (size, height, vertical) { - return {V: height / size, bW: size, b2: vertical}; + return {V: height / size, b7: size, ch: vertical}; }); var $elm$core$List$filter = F2( function (isGood, list) { @@ -9769,17 +10195,17 @@ var $elm$core$List$minimum = function (list) { var $elm$core$Basics$neq = _Utils_notEqual; var $mdgriffith$elm_ui$Internal$Model$convertAdjustment = function (adjustment) { var lines = _List_fromArray( - [adjustment.cz, adjustment.cn, adjustment.cI, adjustment.da]); + [adjustment.cN, adjustment.cB, adjustment.cW, adjustment.dn]); var lineHeight = 1.5; var normalDescender = (lineHeight - 1) / 2; var oldMiddle = lineHeight / 2; var descender = A2( $elm$core$Maybe$withDefault, - adjustment.cI, + adjustment.cW, $elm$core$List$minimum(lines)); var newBaseline = A2( $elm$core$Maybe$withDefault, - adjustment.cn, + adjustment.cB, $elm$core$List$minimum( A2( $elm$core$List$filter, @@ -9790,7 +10216,7 @@ var $mdgriffith$elm_ui$Internal$Model$convertAdjustment = function (adjustment) var base = lineHeight; var ascender = A2( $elm$core$Maybe$withDefault, - adjustment.cz, + adjustment.cN, $elm$core$List$maximum(lines)); var capitalSize = 1 / (ascender - newBaseline); var capitalVertical = 1 - ascender; @@ -9799,8 +10225,8 @@ var $mdgriffith$elm_ui$Internal$Model$convertAdjustment = function (adjustment) var newCapitalMiddle = ((ascender - newBaseline) / 2) + newBaseline; var newFullMiddle = ((ascender - descender) / 2) + descender; return { - cz: A3($mdgriffith$elm_ui$Internal$Model$adjust, capitalSize, ascender - newBaseline, capitalVertical), - bk: A3($mdgriffith$elm_ui$Internal$Model$adjust, fullSize, ascender - descender, fullVertical) + cN: A3($mdgriffith$elm_ui$Internal$Model$adjust, capitalSize, ascender - newBaseline, capitalVertical), + bt: A3($mdgriffith$elm_ui$Internal$Model$adjust, fullSize, ascender - descender, fullVertical) }; }; var $mdgriffith$elm_ui$Internal$Model$fontAdjustmentRules = function (converted) { @@ -9817,10 +10243,10 @@ var $mdgriffith$elm_ui$Internal$Model$fontAdjustmentRules = function (converted) $elm$core$String$fromFloat(converted.V)), _Utils_Tuple2( 'vertical-align', - $elm$core$String$fromFloat(converted.b2) + 'em'), + $elm$core$String$fromFloat(converted.ch) + 'em'), _Utils_Tuple2( 'font-size', - $elm$core$String$fromFloat(converted.bW) + 'em') + $elm$core$String$fromFloat(converted.b7) + 'em') ])); }; var $mdgriffith$elm_ui$Internal$Model$typefaceAdjustment = function (typefaces) { @@ -9831,7 +10257,7 @@ var $mdgriffith$elm_ui$Internal$Model$typefaceAdjustment = function (typefaces) if (found.$ === 1) { if (face.$ === 5) { var _with = face.a; - var _v2 = _with.b8; + var _v2 = _with.cn; if (_v2.$ === 1) { return found; } else { @@ -9840,12 +10266,12 @@ var $mdgriffith$elm_ui$Internal$Model$typefaceAdjustment = function (typefaces) _Utils_Tuple2( $mdgriffith$elm_ui$Internal$Model$fontAdjustmentRules( function ($) { - return $.bk; + return $.bt; }( $mdgriffith$elm_ui$Internal$Model$convertAdjustment(adjustment))), $mdgriffith$elm_ui$Internal$Model$fontAdjustmentRules( function ($) { - return $.cz; + return $.cN; }( $mdgriffith$elm_ui$Internal$Model$convertAdjustment(adjustment))))); } @@ -9926,16 +10352,16 @@ var $mdgriffith$elm_ui$Internal$Model$toStyleSheetString = F2( var combine = F2( function (style, rendered) { return { - aw: _Utils_ap( - rendered.aw, + aB: _Utils_ap( + rendered.aB, A3($mdgriffith$elm_ui$Internal$Model$renderStyleRule, options, style, $elm$core$Maybe$Nothing)), - aj: function () { + al: function () { var _v1 = $mdgriffith$elm_ui$Internal$Model$topLevelValue(style); if (_v1.$ === 1) { - return rendered.aj; + return rendered.al; } else { var topLevel = _v1.a; - return A2($elm$core$List$cons, topLevel, rendered.aj); + return A2($elm$core$List$cons, topLevel, rendered.al); } }() }; @@ -9943,17 +10369,17 @@ var $mdgriffith$elm_ui$Internal$Model$toStyleSheetString = F2( var _v0 = A3( $elm$core$List$foldl, combine, - {aw: _List_Nil, aj: _List_Nil}, + {aB: _List_Nil, al: _List_Nil}, stylesheet); - var topLevel = _v0.aj; - var rules = _v0.aw; + var topLevel = _v0.al; + var rules = _v0.aB; 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.dc; + var _v0 = options.dp; switch (_v0) { case 0: return A3( @@ -10013,7 +10439,7 @@ var $mdgriffith$elm_ui$Internal$Model$embedKeyed = F4( $mdgriffith$elm_ui$Internal$Model$reduceStyles, _Utils_Tuple2( $elm$core$Set$empty, - $mdgriffith$elm_ui$Internal$Model$renderFocusStyle(opts.cO)), + $mdgriffith$elm_ui$Internal$Model$renderFocusStyle(opts.c2)), styles).b); return _static ? A2( $elm$core$List$cons, @@ -10038,7 +10464,7 @@ var $mdgriffith$elm_ui$Internal$Model$embedWith = F4( $mdgriffith$elm_ui$Internal$Model$reduceStyles, _Utils_Tuple2( $elm$core$Set$empty, - $mdgriffith$elm_ui$Internal$Model$renderFocusStyle(opts.cO)), + $mdgriffith$elm_ui$Internal$Model$renderFocusStyle(opts.c2)), styles).b); return _static ? A2( $elm$core$List$cons, @@ -10145,7 +10571,7 @@ var $mdgriffith$elm_ui$Internal$Model$finalizeNode = F6( internal, _List_fromArray( [ - $elm$html$Html$Attributes$class($mdgriffith$elm_ui$Internal$Style$classes.cj + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.dC)) + $elm$html$Html$Attributes$class($mdgriffith$elm_ui$Internal$Style$classes.cy + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.dM)) ])) ])); } @@ -10161,7 +10587,7 @@ var $mdgriffith$elm_ui$Internal$Model$finalizeNode = F6( $elm$core$String$join, ' ', _List_fromArray( - [$mdgriffith$elm_ui$Internal$Style$classes.cj, $mdgriffith$elm_ui$Internal$Style$classes.dC, $mdgriffith$elm_ui$Internal$Style$classes.ap, $mdgriffith$elm_ui$Internal$Style$classes.D, $mdgriffith$elm_ui$Internal$Style$classes.cf]))) + [$mdgriffith$elm_ui$Internal$Style$classes.cy, $mdgriffith$elm_ui$Internal$Style$classes.dM, $mdgriffith$elm_ui$Internal$Style$classes.at, $mdgriffith$elm_ui$Internal$Style$classes.D, $mdgriffith$elm_ui$Internal$Style$classes.cu]))) ]), _List_fromArray( [html])) : (A2($mdgriffith$elm_ui$Internal$Flag$present, $mdgriffith$elm_ui$Internal$Flag$centerX, has) ? A2( @@ -10173,7 +10599,7 @@ var $mdgriffith$elm_ui$Internal$Model$finalizeNode = F6( $elm$core$String$join, ' ', _List_fromArray( - [$mdgriffith$elm_ui$Internal$Style$classes.cj, $mdgriffith$elm_ui$Internal$Style$classes.dC, $mdgriffith$elm_ui$Internal$Style$classes.ap, $mdgriffith$elm_ui$Internal$Style$classes.D, $mdgriffith$elm_ui$Internal$Style$classes.cd]))) + [$mdgriffith$elm_ui$Internal$Style$classes.cy, $mdgriffith$elm_ui$Internal$Style$classes.dM, $mdgriffith$elm_ui$Internal$Style$classes.at, $mdgriffith$elm_ui$Internal$Style$classes.D, $mdgriffith$elm_ui$Internal$Style$classes.cs]))) ]), _List_fromArray( [html])) : html)); @@ -10187,7 +10613,7 @@ var $mdgriffith$elm_ui$Internal$Model$finalizeNode = F6( $elm$core$String$join, ' ', _List_fromArray( - [$mdgriffith$elm_ui$Internal$Style$classes.cj, $mdgriffith$elm_ui$Internal$Style$classes.dC, $mdgriffith$elm_ui$Internal$Style$classes.ap, $mdgriffith$elm_ui$Internal$Style$classes.ce]))) + [$mdgriffith$elm_ui$Internal$Style$classes.cy, $mdgriffith$elm_ui$Internal$Style$classes.dM, $mdgriffith$elm_ui$Internal$Style$classes.at, $mdgriffith$elm_ui$Internal$Style$classes.ct]))) ]), _List_fromArray( [html])) : (A2($mdgriffith$elm_ui$Internal$Flag$present, $mdgriffith$elm_ui$Internal$Flag$alignBottom, has) ? A2( @@ -10199,7 +10625,7 @@ var $mdgriffith$elm_ui$Internal$Model$finalizeNode = F6( $elm$core$String$join, ' ', _List_fromArray( - [$mdgriffith$elm_ui$Internal$Style$classes.cj, $mdgriffith$elm_ui$Internal$Style$classes.dC, $mdgriffith$elm_ui$Internal$Style$classes.ap, $mdgriffith$elm_ui$Internal$Style$classes.cc]))) + [$mdgriffith$elm_ui$Internal$Style$classes.cy, $mdgriffith$elm_ui$Internal$Style$classes.dM, $mdgriffith$elm_ui$Internal$Style$classes.at, $mdgriffith$elm_ui$Internal$Style$classes.cr]))) ]), _List_fromArray( [html])) : html)); @@ -10215,7 +10641,7 @@ var $elm$core$List$isEmpty = function (xs) { } }; var $elm$html$Html$text = $elm$virtual_dom$VirtualDom$text; -var $mdgriffith$elm_ui$Internal$Model$textElementClasses = $mdgriffith$elm_ui$Internal$Style$classes.cj + (' ' + ($mdgriffith$elm_ui$Internal$Style$classes.r + (' ' + ($mdgriffith$elm_ui$Internal$Style$classes.a0 + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.aL))))); +var $mdgriffith$elm_ui$Internal$Model$textElementClasses = $mdgriffith$elm_ui$Internal$Style$classes.cy + (' ' + ($mdgriffith$elm_ui$Internal$Style$classes.r + (' ' + ($mdgriffith$elm_ui$Internal$Style$classes.a7 + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.aR))))); var $mdgriffith$elm_ui$Internal$Model$textElement = function (str) { return A2( $elm$html$Html$div, @@ -10228,7 +10654,7 @@ var $mdgriffith$elm_ui$Internal$Model$textElement = function (str) { $elm$html$Html$text(str) ])); }; -var $mdgriffith$elm_ui$Internal$Model$textElementFillClasses = $mdgriffith$elm_ui$Internal$Style$classes.cj + (' ' + ($mdgriffith$elm_ui$Internal$Style$classes.r + (' ' + ($mdgriffith$elm_ui$Internal$Style$classes.a1 + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.aM))))); +var $mdgriffith$elm_ui$Internal$Model$textElementFillClasses = $mdgriffith$elm_ui$Internal$Style$classes.cy + (' ' + ($mdgriffith$elm_ui$Internal$Style$classes.r + (' ' + ($mdgriffith$elm_ui$Internal$Style$classes.a8 + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.aS))))); var $mdgriffith$elm_ui$Internal$Model$textElementFill = function (str) { return A2( $elm$html$Html$div, @@ -10274,16 +10700,16 @@ var $mdgriffith$elm_ui$Internal$Model$createElement = F3( $elm$core$List$cons, _Utils_Tuple2( key, - A2(styled.cZ, $mdgriffith$elm_ui$Internal$Model$NoStyleSheet, context)), + A2(styled.c9, $mdgriffith$elm_ui$Internal$Model$NoStyleSheet, context)), htmls), - $elm$core$List$isEmpty(existingStyles) ? styled.dN : _Utils_ap(styled.dN, existingStyles)) : _Utils_Tuple2( + $elm$core$List$isEmpty(existingStyles) ? styled.dW : _Utils_ap(styled.dW, existingStyles)) : _Utils_Tuple2( A2( $elm$core$List$cons, _Utils_Tuple2( key, - A2(styled.cZ, $mdgriffith$elm_ui$Internal$Model$NoStyleSheet, context)), + A2(styled.c9, $mdgriffith$elm_ui$Internal$Model$NoStyleSheet, context)), htmls), - $elm$core$List$isEmpty(existingStyles) ? styled.dN : _Utils_ap(styled.dN, existingStyles)); + $elm$core$List$isEmpty(existingStyles) ? styled.dW : _Utils_ap(styled.dW, existingStyles)); case 2: var str = child.a; return _Utils_Tuple2( @@ -10321,14 +10747,14 @@ var $mdgriffith$elm_ui$Internal$Model$createElement = F3( return _Utils_eq(context, $mdgriffith$elm_ui$Internal$Model$asParagraph) ? _Utils_Tuple2( A2( $elm$core$List$cons, - A2(styled.cZ, $mdgriffith$elm_ui$Internal$Model$NoStyleSheet, context), + A2(styled.c9, $mdgriffith$elm_ui$Internal$Model$NoStyleSheet, context), htmls), - $elm$core$List$isEmpty(existingStyles) ? styled.dN : _Utils_ap(styled.dN, existingStyles)) : _Utils_Tuple2( + $elm$core$List$isEmpty(existingStyles) ? styled.dW : _Utils_ap(styled.dW, existingStyles)) : _Utils_Tuple2( A2( $elm$core$List$cons, - A2(styled.cZ, $mdgriffith$elm_ui$Internal$Model$NoStyleSheet, context), + A2(styled.c9, $mdgriffith$elm_ui$Internal$Model$NoStyleSheet, context), htmls), - $elm$core$List$isEmpty(existingStyles) ? styled.dN : _Utils_ap(styled.dN, existingStyles)); + $elm$core$List$isEmpty(existingStyles) ? styled.dW : _Utils_ap(styled.dW, existingStyles)); case 2: var str = child.a; return _Utils_Tuple2( @@ -10350,7 +10776,7 @@ var $mdgriffith$elm_ui$Internal$Model$createElement = F3( keyedChildren); var keyed = _v1.a; var styles = _v1.b; - var newStyles = $elm$core$List$isEmpty(styles) ? rendered.dN : _Utils_ap(rendered.dN, styles); + var newStyles = $elm$core$List$isEmpty(styles) ? rendered.dW : _Utils_ap(rendered.dW, styles); if (!newStyles.b) { return $mdgriffith$elm_ui$Internal$Model$Unstyled( A5( @@ -10365,14 +10791,14 @@ var $mdgriffith$elm_ui$Internal$Model$createElement = F3( var allStyles = newStyles; return $mdgriffith$elm_ui$Internal$Model$Styled( { - cZ: A4( + c9: A4( $mdgriffith$elm_ui$Internal$Model$finalizeNode, rendered.M, rendered.O, rendered.I, $mdgriffith$elm_ui$Internal$Model$Keyed( A3($mdgriffith$elm_ui$Internal$Model$addKeyedChildren, 'nearby-element-pls', keyed, rendered.J))), - dN: allStyles + dW: allStyles }); } } else { @@ -10384,7 +10810,7 @@ var $mdgriffith$elm_ui$Internal$Model$createElement = F3( unkeyedChildren); var unkeyed = _v3.a; var styles = _v3.b; - var newStyles = $elm$core$List$isEmpty(styles) ? rendered.dN : _Utils_ap(rendered.dN, styles); + var newStyles = $elm$core$List$isEmpty(styles) ? rendered.dW : _Utils_ap(rendered.dW, styles); if (!newStyles.b) { return $mdgriffith$elm_ui$Internal$Model$Unstyled( A5( @@ -10399,14 +10825,14 @@ var $mdgriffith$elm_ui$Internal$Model$createElement = F3( var allStyles = newStyles; return $mdgriffith$elm_ui$Internal$Model$Styled( { - cZ: A4( + c9: A4( $mdgriffith$elm_ui$Internal$Model$finalizeNode, rendered.M, rendered.O, rendered.I, $mdgriffith$elm_ui$Internal$Model$Unkeyed( A2($mdgriffith$elm_ui$Internal$Model$addChildren, unkeyed, rendered.J))), - dN: allStyles + dW: allStyles }); } } @@ -10459,37 +10885,37 @@ var $mdgriffith$elm_ui$Internal$Model$nearbyElement = F2( $elm$core$String$join, ' ', _List_fromArray( - [$mdgriffith$elm_ui$Internal$Style$classes.W, $mdgriffith$elm_ui$Internal$Style$classes.dC, $mdgriffith$elm_ui$Internal$Style$classes.b7])); + [$mdgriffith$elm_ui$Internal$Style$classes.W, $mdgriffith$elm_ui$Internal$Style$classes.dM, $mdgriffith$elm_ui$Internal$Style$classes.cm])); case 1: return A2( $elm$core$String$join, ' ', _List_fromArray( - [$mdgriffith$elm_ui$Internal$Style$classes.W, $mdgriffith$elm_ui$Internal$Style$classes.dC, $mdgriffith$elm_ui$Internal$Style$classes.cp])); + [$mdgriffith$elm_ui$Internal$Style$classes.W, $mdgriffith$elm_ui$Internal$Style$classes.dM, $mdgriffith$elm_ui$Internal$Style$classes.cD])); case 2: return A2( $elm$core$String$join, ' ', _List_fromArray( - [$mdgriffith$elm_ui$Internal$Style$classes.W, $mdgriffith$elm_ui$Internal$Style$classes.dC, $mdgriffith$elm_ui$Internal$Style$classes.dg])); + [$mdgriffith$elm_ui$Internal$Style$classes.W, $mdgriffith$elm_ui$Internal$Style$classes.dM, $mdgriffith$elm_ui$Internal$Style$classes.dt])); case 3: return A2( $elm$core$String$join, ' ', _List_fromArray( - [$mdgriffith$elm_ui$Internal$Style$classes.W, $mdgriffith$elm_ui$Internal$Style$classes.dC, $mdgriffith$elm_ui$Internal$Style$classes.de])); + [$mdgriffith$elm_ui$Internal$Style$classes.W, $mdgriffith$elm_ui$Internal$Style$classes.dM, $mdgriffith$elm_ui$Internal$Style$classes.dr])); case 4: return A2( $elm$core$String$join, ' ', _List_fromArray( - [$mdgriffith$elm_ui$Internal$Style$classes.W, $mdgriffith$elm_ui$Internal$Style$classes.dC, $mdgriffith$elm_ui$Internal$Style$classes.c0])); + [$mdgriffith$elm_ui$Internal$Style$classes.W, $mdgriffith$elm_ui$Internal$Style$classes.dM, $mdgriffith$elm_ui$Internal$Style$classes.dd])); default: return A2( $elm$core$String$join, ' ', _List_fromArray( - [$mdgriffith$elm_ui$Internal$Style$classes.W, $mdgriffith$elm_ui$Internal$Style$classes.dC, $mdgriffith$elm_ui$Internal$Style$classes.co])); + [$mdgriffith$elm_ui$Internal$Style$classes.W, $mdgriffith$elm_ui$Internal$Style$classes.dM, $mdgriffith$elm_ui$Internal$Style$classes.cC])); } }()) ]), @@ -10507,7 +10933,7 @@ var $mdgriffith$elm_ui$Internal$Model$nearbyElement = F2( return html($mdgriffith$elm_ui$Internal$Model$asEl); default: var styled = elem.a; - return A2(styled.cZ, $mdgriffith$elm_ui$Internal$Model$NoStyleSheet, $mdgriffith$elm_ui$Internal$Model$asEl); + return A2(styled.c9, $mdgriffith$elm_ui$Internal$Model$NoStyleSheet, $mdgriffith$elm_ui$Internal$Model$asEl); } }() ])); @@ -10590,21 +11016,21 @@ var $mdgriffith$elm_ui$Internal$Model$addNodeName = F2( var $mdgriffith$elm_ui$Internal$Model$alignXName = function (align) { switch (align) { case 0: - return $mdgriffith$elm_ui$Internal$Style$classes.aC + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.a5); + return $mdgriffith$elm_ui$Internal$Style$classes.aH + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.bc); case 2: - return $mdgriffith$elm_ui$Internal$Style$classes.aC + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.a6); + return $mdgriffith$elm_ui$Internal$Style$classes.aH + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.bd); default: - return $mdgriffith$elm_ui$Internal$Style$classes.aC + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.ca); + return $mdgriffith$elm_ui$Internal$Style$classes.aH + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.cp); } }; var $mdgriffith$elm_ui$Internal$Model$alignYName = function (align) { switch (align) { case 0: - return $mdgriffith$elm_ui$Internal$Style$classes.aD + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.cg); + return $mdgriffith$elm_ui$Internal$Style$classes.aI + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.cv); case 2: - return $mdgriffith$elm_ui$Internal$Style$classes.aD + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.b9); + return $mdgriffith$elm_ui$Internal$Style$classes.aI + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.co); default: - return $mdgriffith$elm_ui$Internal$Style$classes.aD + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.cb); + return $mdgriffith$elm_ui$Internal$Style$classes.aI + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.cq); } }; var $elm$virtual_dom$VirtualDom$attribute = F2( @@ -10763,7 +11189,7 @@ var $mdgriffith$elm_ui$Internal$Model$renderHeight = function (h) { var name = 'height-px-' + val; return _Utils_Tuple3( $mdgriffith$elm_ui$Internal$Flag$none, - $mdgriffith$elm_ui$Internal$Style$classes.bm + (' ' + name), + $mdgriffith$elm_ui$Internal$Style$classes.bw + (' ' + name), _List_fromArray( [ A3($mdgriffith$elm_ui$Internal$Model$Single, name, 'height', val + 'px') @@ -10771,21 +11197,21 @@ var $mdgriffith$elm_ui$Internal$Model$renderHeight = function (h) { 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.aL, + $mdgriffith$elm_ui$Internal$Style$classes.aR, _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.aM, + $mdgriffith$elm_ui$Internal$Style$classes.aS, _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.bn + (' height-fill-' + $elm$core$String$fromInt(portion)), + $mdgriffith$elm_ui$Internal$Style$classes.bx + (' height-fill-' + $elm$core$String$fromInt(portion)), _List_fromArray( [ A3( $mdgriffith$elm_ui$Internal$Model$Single, - $mdgriffith$elm_ui$Internal$Style$classes.cj + ('.' + ($mdgriffith$elm_ui$Internal$Style$classes.C + (' > ' + $mdgriffith$elm_ui$Internal$Style$dot( + $mdgriffith$elm_ui$Internal$Style$classes.cy + ('.' + ($mdgriffith$elm_ui$Internal$Style$classes.C + (' > ' + $mdgriffith$elm_ui$Internal$Style$dot( 'height-fill-' + $elm$core$String$fromInt(portion))))), 'flex-grow', $elm$core$String$fromInt(portion * 100000)) @@ -10833,7 +11259,7 @@ var $mdgriffith$elm_ui$Internal$Model$renderWidth = function (w) { var px = w.a; return _Utils_Tuple3( $mdgriffith$elm_ui$Internal$Flag$none, - $mdgriffith$elm_ui$Internal$Style$classes.b4 + (' width-px-' + $elm$core$String$fromInt(px)), + $mdgriffith$elm_ui$Internal$Style$classes.cj + (' width-px-' + $elm$core$String$fromInt(px)), _List_fromArray( [ A3( @@ -10845,21 +11271,21 @@ var $mdgriffith$elm_ui$Internal$Model$renderWidth = function (w) { 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.a0, + $mdgriffith$elm_ui$Internal$Style$classes.a7, _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.a1, + $mdgriffith$elm_ui$Internal$Style$classes.a8, _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.b5 + (' width-fill-' + $elm$core$String$fromInt(portion)), + $mdgriffith$elm_ui$Internal$Style$classes.ck + (' width-fill-' + $elm$core$String$fromInt(portion)), _List_fromArray( [ A3( $mdgriffith$elm_ui$Internal$Model$Single, - $mdgriffith$elm_ui$Internal$Style$classes.cj + ('.' + ($mdgriffith$elm_ui$Internal$Style$classes.bS + (' > ' + $mdgriffith$elm_ui$Internal$Style$dot( + $mdgriffith$elm_ui$Internal$Style$classes.cy + ('.' + ($mdgriffith$elm_ui$Internal$Style$classes.b2 + (' > ' + $mdgriffith$elm_ui$Internal$Style$dot( 'width-fill-' + $elm$core$String$fromInt(portion))))), 'flex-grow', $elm$core$String$fromInt(portion * 100000)) @@ -10963,7 +11389,7 @@ var $mdgriffith$elm_ui$Internal$Model$gatherAttrRecursive = F8( J: children, M: has, O: node, - dN: styles + dW: styles }; } else { var _class = _v1.a; @@ -10975,7 +11401,7 @@ var $mdgriffith$elm_ui$Internal$Model$gatherAttrRecursive = F8( J: children, M: has, O: node, - dN: A2( + dW: A2( $elm$core$List$cons, $mdgriffith$elm_ui$Internal$Model$Transform(transform), styles) @@ -11166,7 +11592,7 @@ var $mdgriffith$elm_ui$Internal$Model$gatherAttrRecursive = F8( switch (width.$) { case 0: var px = width.a; - var $temp$classes = ($mdgriffith$elm_ui$Internal$Style$classes.b4 + (' width-px-' + $elm$core$String$fromInt(px))) + (' ' + classes), + var $temp$classes = ($mdgriffith$elm_ui$Internal$Style$classes.cj + (' 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, @@ -11191,7 +11617,7 @@ var $mdgriffith$elm_ui$Internal$Model$gatherAttrRecursive = F8( elementAttrs = $temp$elementAttrs; continue gatherAttrRecursive; case 1: - var $temp$classes = classes + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.a0), + var $temp$classes = classes + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.a7), $temp$node = node, $temp$has = A2( $mdgriffith$elm_ui$Internal$Flag$add, @@ -11214,7 +11640,7 @@ var $mdgriffith$elm_ui$Internal$Model$gatherAttrRecursive = F8( case 2: var portion = width.a; if (portion === 1) { - var $temp$classes = classes + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.a1), + var $temp$classes = classes + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.a8), $temp$node = node, $temp$has = A2( $mdgriffith$elm_ui$Internal$Flag$add, @@ -11235,7 +11661,7 @@ var $mdgriffith$elm_ui$Internal$Model$gatherAttrRecursive = F8( elementAttrs = $temp$elementAttrs; continue gatherAttrRecursive; } else { - var $temp$classes = classes + (' ' + ($mdgriffith$elm_ui$Internal$Style$classes.b5 + (' width-fill-' + $elm$core$String$fromInt(portion)))), + var $temp$classes = classes + (' ' + ($mdgriffith$elm_ui$Internal$Style$classes.ck + (' width-fill-' + $elm$core$String$fromInt(portion)))), $temp$node = node, $temp$has = A2( $mdgriffith$elm_ui$Internal$Flag$add, @@ -11246,7 +11672,7 @@ var $mdgriffith$elm_ui$Internal$Model$gatherAttrRecursive = F8( $elm$core$List$cons, A3( $mdgriffith$elm_ui$Internal$Model$Single, - $mdgriffith$elm_ui$Internal$Style$classes.cj + ('.' + ($mdgriffith$elm_ui$Internal$Style$classes.bS + (' > ' + $mdgriffith$elm_ui$Internal$Style$dot( + $mdgriffith$elm_ui$Internal$Style$classes.cy + ('.' + ($mdgriffith$elm_ui$Internal$Style$classes.b2 + (' > ' + $mdgriffith$elm_ui$Internal$Style$dot( 'width-fill-' + $elm$core$String$fromInt(portion))))), 'flex-grow', $elm$core$String$fromInt(portion * 100000)), @@ -11317,7 +11743,7 @@ var $mdgriffith$elm_ui$Internal$Model$gatherAttrRecursive = F8( 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.bm + (' ' + (name + (' ' + classes))), + var $temp$classes = $mdgriffith$elm_ui$Internal$Style$classes.bw + (' ' + (name + (' ' + classes))), $temp$node = node, $temp$has = A2($mdgriffith$elm_ui$Internal$Flag$add, $mdgriffith$elm_ui$Internal$Flag$height, has), $temp$transform = transform, @@ -11338,7 +11764,7 @@ var $mdgriffith$elm_ui$Internal$Model$gatherAttrRecursive = F8( elementAttrs = $temp$elementAttrs; continue gatherAttrRecursive; case 1: - var $temp$classes = $mdgriffith$elm_ui$Internal$Style$classes.aL + (' ' + classes), + var $temp$classes = $mdgriffith$elm_ui$Internal$Style$classes.aR + (' ' + classes), $temp$node = node, $temp$has = A2( $mdgriffith$elm_ui$Internal$Flag$add, @@ -11361,7 +11787,7 @@ var $mdgriffith$elm_ui$Internal$Model$gatherAttrRecursive = F8( case 2: var portion = height.a; if (portion === 1) { - var $temp$classes = $mdgriffith$elm_ui$Internal$Style$classes.aM + (' ' + classes), + var $temp$classes = $mdgriffith$elm_ui$Internal$Style$classes.aS + (' ' + classes), $temp$node = node, $temp$has = A2( $mdgriffith$elm_ui$Internal$Flag$add, @@ -11382,7 +11808,7 @@ var $mdgriffith$elm_ui$Internal$Model$gatherAttrRecursive = F8( elementAttrs = $temp$elementAttrs; continue gatherAttrRecursive; } else { - var $temp$classes = classes + (' ' + ($mdgriffith$elm_ui$Internal$Style$classes.bn + (' height-fill-' + $elm$core$String$fromInt(portion)))), + var $temp$classes = classes + (' ' + ($mdgriffith$elm_ui$Internal$Style$classes.bx + (' height-fill-' + $elm$core$String$fromInt(portion)))), $temp$node = node, $temp$has = A2( $mdgriffith$elm_ui$Internal$Flag$add, @@ -11393,7 +11819,7 @@ var $mdgriffith$elm_ui$Internal$Model$gatherAttrRecursive = F8( $elm$core$List$cons, A3( $mdgriffith$elm_ui$Internal$Model$Single, - $mdgriffith$elm_ui$Internal$Style$classes.cj + ('.' + ($mdgriffith$elm_ui$Internal$Style$classes.C + (' > ' + $mdgriffith$elm_ui$Internal$Style$dot( + $mdgriffith$elm_ui$Internal$Style$classes.cy + ('.' + ($mdgriffith$elm_ui$Internal$Style$classes.C + (' > ' + $mdgriffith$elm_ui$Internal$Style$dot( 'height-fill-' + $elm$core$String$fromInt(portion))))), 'flex-grow', $elm$core$String$fromInt(portion * 100000)), @@ -11694,7 +12120,7 @@ var $mdgriffith$elm_ui$Internal$Model$gatherAttrRecursive = F8( return styles; default: var styled = elem.a; - return _Utils_ap(styles, styled.dN); + return _Utils_ap(styles, styled.dW); } }(); var $temp$classes = classes, @@ -11867,7 +12293,6 @@ var $mdgriffith$elm_ui$Internal$Model$FontFamily = F2( return {$: 1, a: a, b: b}; }); var $mdgriffith$elm_ui$Internal$Flag$fontFamily = $mdgriffith$elm_ui$Internal$Flag$flag(5); -var $elm$core$String$toLower = _String_toLower; var $elm$core$String$words = _String_words; var $mdgriffith$elm_ui$Internal$Model$renderFontClassName = F2( function (font, current) { @@ -11897,7 +12322,7 @@ var $mdgriffith$elm_ui$Internal$Model$renderFontClassName = F2( $elm$core$String$words( $elm$core$String$toLower(name))); default: - var name = font.a.dd; + var name = font.a.dq; return A2( $elm$core$String$join, '-', @@ -11936,19 +12361,15 @@ var $mdgriffith$elm_ui$Internal$Model$StaticRootAndDynamic = F2( }); var $mdgriffith$elm_ui$Internal$Model$AllowHover = 1; var $mdgriffith$elm_ui$Internal$Model$Layout = 0; -var $mdgriffith$elm_ui$Internal$Model$Rgba = F4( - function (a, b, c, d) { - return {$: 0, a: a, b: b, c: c, d: d}; - }); var $mdgriffith$elm_ui$Internal$Model$focusDefaultStyle = { - cm: $elm$core$Maybe$Nothing, - cs: $elm$core$Maybe$Nothing, - dB: $elm$core$Maybe$Just( + cA: $elm$core$Maybe$Nothing, + cG: $elm$core$Maybe$Nothing, + dL: $elm$core$Maybe$Just( { S: 0, T: A4($mdgriffith$elm_ui$Internal$Model$Rgba, 155 / 255, 203 / 255, 1, 1), b: _Utils_Tuple2(0, 0), - bW: 3 + b7: 3 }) }; var $mdgriffith$elm_ui$Internal$Model$optionsToRecord = function (options) { @@ -11957,36 +12378,36 @@ var $mdgriffith$elm_ui$Internal$Model$optionsToRecord = function (options) { switch (opt.$) { case 0: var hoverable = opt.a; - var _v4 = record.cY; + var _v4 = record.c8; if (_v4.$ === 1) { return _Utils_update( record, { - cY: $elm$core$Maybe$Just(hoverable) + c8: $elm$core$Maybe$Just(hoverable) }); } else { return record; } case 1: var focusStyle = opt.a; - var _v5 = record.cO; + var _v5 = record.c2; if (_v5.$ === 1) { return _Utils_update( record, { - cO: $elm$core$Maybe$Just(focusStyle) + c2: $elm$core$Maybe$Just(focusStyle) }); } else { return record; } default: var renderMode = opt.a; - var _v6 = record.dc; + var _v6 = record.dp; if (_v6.$ === 1) { return _Utils_update( record, { - dc: $elm$core$Maybe$Just(renderMode) + dp: $elm$core$Maybe$Just(renderMode) }); } else { return record; @@ -11995,8 +12416,8 @@ var $mdgriffith$elm_ui$Internal$Model$optionsToRecord = function (options) { }); var andFinally = function (record) { return { - cO: function () { - var _v0 = record.cO; + c2: function () { + var _v0 = record.c2; if (_v0.$ === 1) { return $mdgriffith$elm_ui$Internal$Model$focusDefaultStyle; } else { @@ -12004,8 +12425,8 @@ var $mdgriffith$elm_ui$Internal$Model$optionsToRecord = function (options) { return focusable; } }(), - cY: function () { - var _v1 = record.cY; + c8: function () { + var _v1 = record.c8; if (_v1.$ === 1) { return 1; } else { @@ -12013,8 +12434,8 @@ var $mdgriffith$elm_ui$Internal$Model$optionsToRecord = function (options) { return hoverable; } }(), - dc: function () { - var _v2 = record.dc; + dp: function () { + var _v2 = record.dp; if (_v2.$ === 1) { return 0; } else { @@ -12028,7 +12449,7 @@ var $mdgriffith$elm_ui$Internal$Model$optionsToRecord = function (options) { A3( $elm$core$List$foldr, combine, - {cO: $elm$core$Maybe$Nothing, cY: $elm$core$Maybe$Nothing, dc: $elm$core$Maybe$Nothing}, + {c2: $elm$core$Maybe$Nothing, c8: $elm$core$Maybe$Nothing, dp: $elm$core$Maybe$Nothing}, options)); }; var $mdgriffith$elm_ui$Internal$Model$toHtml = F2( @@ -12038,8 +12459,8 @@ var $mdgriffith$elm_ui$Internal$Model$toHtml = F2( var html = el.a; return html($mdgriffith$elm_ui$Internal$Model$asEl); case 1: - var styles = el.a.dN; - var html = el.a.cZ; + var styles = el.a.dW; + var html = el.a.c9; return A2( html, mode(styles), @@ -12055,7 +12476,7 @@ var $mdgriffith$elm_ui$Internal$Model$renderRoot = F3( function (optionList, attributes, child) { var options = $mdgriffith$elm_ui$Internal$Model$optionsToRecord(optionList); var embedStyle = function () { - var _v0 = options.dc; + var _v0 = options.dp; if (_v0 === 1) { return $mdgriffith$elm_ui$Internal$Model$OnlyDynamic(options); } else { @@ -12126,7 +12547,7 @@ var $mdgriffith$elm_ui$Internal$Model$rootStyle = function () { }(); var $mdgriffith$elm_ui$Element$layoutWith = F3( function (_v0, attrs, child) { - var options = _v0.bB; + var options = _v0.bL; return A3( $mdgriffith$elm_ui$Internal$Model$renderRoot, options, @@ -12137,12 +12558,12 @@ var $mdgriffith$elm_ui$Element$layoutWith = F3( $elm$core$String$join, ' ', _List_fromArray( - [$mdgriffith$elm_ui$Internal$Style$classes.ds, $mdgriffith$elm_ui$Internal$Style$classes.cj, $mdgriffith$elm_ui$Internal$Style$classes.dC]))), + [$mdgriffith$elm_ui$Internal$Style$classes.dE, $mdgriffith$elm_ui$Internal$Style$classes.cy, $mdgriffith$elm_ui$Internal$Style$classes.dM]))), _Utils_ap($mdgriffith$elm_ui$Internal$Model$rootStyle, attrs)), child); }); var $mdgriffith$elm_ui$Element$layout = $mdgriffith$elm_ui$Element$layoutWith( - {bB: _List_Nil}); + {bL: _List_Nil}); var $mdgriffith$elm_ui$Internal$Model$PaddingStyle = F5( function (a, b, c, d, e) { return {$: 7, a: a, b: b, c: c, d: d, e: e}; @@ -12161,6 +12582,10 @@ var $mdgriffith$elm_ui$Element$padding = function (x) { f, f)); }; +var $mdgriffith$elm_ui$Internal$Model$Px = function (a) { + return {$: 0, a: a}; +}; +var $mdgriffith$elm_ui$Element$px = $mdgriffith$elm_ui$Internal$Model$Px; var $mdgriffith$elm_ui$Element$Font$sansSerif = $mdgriffith$elm_ui$Internal$Model$SansSerif; var $mdgriffith$elm_ui$Element$Font$size = function (i) { return A2( @@ -12174,34 +12599,621 @@ var $mdgriffith$elm_ui$Internal$Model$Text = function (a) { var $mdgriffith$elm_ui$Element$text = function (content) { return $mdgriffith$elm_ui$Internal$Model$Text(content); }; -var $mdgriffith$elm_ui$Element$rgb255 = F3( - function (red, green, blue) { - return A4($mdgriffith$elm_ui$Internal$Model$Rgba, red / 255, green / 255, blue / 255, 1); +var $mdgriffith$elm_ui$Element$Font$typeface = $mdgriffith$elm_ui$Internal$Model$Typeface; +var $mdgriffith$elm_ui$Internal$Model$AlignX = function (a) { + return {$: 6, a: a}; +}; +var $mdgriffith$elm_ui$Internal$Model$Right = 2; +var $mdgriffith$elm_ui$Element$alignRight = $mdgriffith$elm_ui$Internal$Model$AlignX(2); +var $mdgriffith$elm_ui$Internal$Model$Class = F2( + function (a, b) { + return {$: 3, a: a, b: b}; }); -var $mdgriffith$elm_ui$Element$rgba = $mdgriffith$elm_ui$Internal$Model$Rgba; -var $author$project$CurrentDraws$theme = { - bd: A3($mdgriffith$elm_ui$Element$rgb255, 33, 37, 41), - cR: A4($mdgriffith$elm_ui$Element$rgba, 0, 0, 0, 0.1), - cS: A4($mdgriffith$elm_ui$Element$rgba, 0, 0, 0, 0.6), - cT: A4($mdgriffith$elm_ui$Element$rgba, 0, 0, 0, 0.05), - cU: A4($mdgriffith$elm_ui$Element$rgba, 0, 0, 0, 0.2), - cV: A4($mdgriffith$elm_ui$Element$rgba, 0, 0, 0, 0.4), - dm: A3($mdgriffith$elm_ui$Element$rgb255, 237, 25, 64), - dn: A3($mdgriffith$elm_ui$Element$rgb255, 197, 10, 49), - dy: A3($mdgriffith$elm_ui$Element$rgb255, 108, 117, 125), - dz: A3($mdgriffith$elm_ui$Element$rgb255, 128, 137, 155), - d6: A4($mdgriffith$elm_ui$Element$rgba, 1, 1, 1, 0), - ea: A3($mdgriffith$elm_ui$Element$rgb255, 255, 255, 255) +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.cF); +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.cP); +var $mdgriffith$elm_ui$Internal$Flag$borderColor = $mdgriffith$elm_ui$Internal$Flag$flag(28); +var $mdgriffith$elm_ui$Element$Border$color = function (clr) { + return A2( + $mdgriffith$elm_ui$Internal$Model$StyleClass, + $mdgriffith$elm_ui$Internal$Flag$borderColor, + A3( + $mdgriffith$elm_ui$Internal$Model$Colored, + 'bc-' + $mdgriffith$elm_ui$Internal$Model$formatColorClass(clr), + 'border-color', + clr)); +}; +var $mdgriffith$elm_ui$Internal$Model$AsColumn = 1; +var $mdgriffith$elm_ui$Internal$Model$asColumn = 1; +var $mdgriffith$elm_ui$Element$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.cS + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.ae)), + 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$Unkeyed(children)); + }); +var $elm_community$list_extra$List$Extra$find = F2( + function (predicate, list) { + find: + while (true) { + if (!list.b) { + return $elm$core$Maybe$Nothing; + } else { + var first = list.a; + var rest = list.b; + if (predicate(first)) { + return $elm$core$Maybe$Just(first); + } else { + var $temp$predicate = predicate, + $temp$list = rest; + predicate = $temp$predicate; + list = $temp$list; + continue find; + } + } + } + }); +var $author$project$CurrentGames$translate = F2( + function (translations, key) { + var _v0 = A2( + $elm_community$list_extra$List$Extra$find, + function (translation) { + return _Utils_eq( + $elm$core$String$toLower(translation.bE), + $elm$core$String$toLower(key)); + }, + translations); + if (!_v0.$) { + var translation = _v0.a; + return translation.bF; + } else { + return key; + } + }); +var $author$project$CurrentGames$gameStateToString = F2( + function (translations, gameState) { + return A2( + $author$project$CurrentGames$translate, + translations, + function () { + switch (gameState) { + case 0: + return 'pending'; + case 1: + return 'active'; + default: + return 'complete'; + } + }()); + }); +var $elm_community$list_extra$List$Extra$groupWhile = F2( + function (isSameGroup, items) { + return A3( + $elm$core$List$foldr, + F2( + function (x, acc) { + if (!acc.b) { + return _List_fromArray( + [ + _Utils_Tuple2(x, _List_Nil) + ]); + } else { + var _v1 = acc.a; + var y = _v1.a; + var restOfGroup = _v1.b; + var groups = acc.b; + return A2(isSameGroup, x, y) ? A2( + $elm$core$List$cons, + _Utils_Tuple2( + x, + A2($elm$core$List$cons, y, restOfGroup)), + groups) : A2( + $elm$core$List$cons, + _Utils_Tuple2(x, _List_Nil), + acc); + } + }), + _List_Nil, + items); + }); +var $author$project$CurrentGames$groupWhile = F2( + function (isSameGroup, items) { + return A2( + $elm$core$List$map, + function (_v0) { + var x = _v0.a; + var xs = _v0.b; + return A2($elm$core$List$cons, x, xs); + }, + A2($elm_community$list_extra$List$Extra$groupWhile, isSameGroup, items)); + }); +var $elm$core$List$head = function (list) { + if (list.b) { + var x = list.a; + var xs = list.b; + return $elm$core$Maybe$Just(x); + } else { + return $elm$core$Maybe$Nothing; + } }; -var $mdgriffith$elm_ui$Element$Font$typeface = $mdgriffith$elm_ui$Internal$Model$Typeface; -var $author$project$CurrentDraws$view = function (model) { +var $mdgriffith$elm_ui$Internal$Model$Empty = {$: 3}; +var $mdgriffith$elm_ui$Element$none = $mdgriffith$elm_ui$Internal$Model$Empty; +var $mdgriffith$elm_ui$Element$paddingXY = F2( + function (x, y) { + if (_Utils_eq(x, y)) { + var f = x; + return A2( + $mdgriffith$elm_ui$Internal$Model$StyleClass, + $mdgriffith$elm_ui$Internal$Flag$padding, + A5( + $mdgriffith$elm_ui$Internal$Model$PaddingStyle, + 'p-' + $elm$core$String$fromInt(x), + f, + f, + f, + f)); + } else { + var yFloat = y; + var xFloat = x; + return A2( + $mdgriffith$elm_ui$Internal$Model$StyleClass, + $mdgriffith$elm_ui$Internal$Flag$padding, + A5( + $mdgriffith$elm_ui$Internal$Model$PaddingStyle, + 'p-' + ($elm$core$String$fromInt(x) + ('-' + $elm$core$String$fromInt(y))), + yFloat, + xFloat, + yFloat, + xFloat)); + } + }); +var $mdgriffith$elm_ui$Internal$Model$AsRow = 0; +var $mdgriffith$elm_ui$Internal$Model$asRow = 0; +var $mdgriffith$elm_ui$Element$row = F2( + function (attrs, children) { + return A4( + $mdgriffith$elm_ui$Internal$Model$element, + $mdgriffith$elm_ui$Internal$Model$asRow, + $mdgriffith$elm_ui$Internal$Model$div, + A2( + $elm$core$List$cons, + $mdgriffith$elm_ui$Internal$Model$htmlClass($mdgriffith$elm_ui$Internal$Style$classes.ae + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.D)), + A2( + $elm$core$List$cons, + $mdgriffith$elm_ui$Element$width($mdgriffith$elm_ui$Element$shrink), + A2( + $elm$core$List$cons, + $mdgriffith$elm_ui$Element$height($mdgriffith$elm_ui$Element$shrink), + attrs))), + $mdgriffith$elm_ui$Internal$Model$Unkeyed(children)); + }); +var $mdgriffith$elm_ui$Internal$Model$SpacingStyle = F3( + function (a, b, c) { + return {$: 5, a: a, b: b, c: c}; + }); +var $mdgriffith$elm_ui$Internal$Flag$spacing = $mdgriffith$elm_ui$Internal$Flag$flag(3); +var $mdgriffith$elm_ui$Internal$Model$spacingName = F2( + function (x, y) { + return 'spacing-' + ($elm$core$String$fromInt(x) + ('-' + $elm$core$String$fromInt(y))); + }); +var $mdgriffith$elm_ui$Element$spacing = function (x) { + return A2( + $mdgriffith$elm_ui$Internal$Model$StyleClass, + $mdgriffith$elm_ui$Internal$Flag$spacing, + A3( + $mdgriffith$elm_ui$Internal$Model$SpacingStyle, + A2($mdgriffith$elm_ui$Internal$Model$spacingName, x, x), + x, + x)); +}; +var $mdgriffith$elm_ui$Internal$Model$BorderWidth = F5( + function (a, b, c, d, e) { + return {$: 6, a: a, b: b, c: c, d: d, e: e}; + }); +var $mdgriffith$elm_ui$Element$Border$width = function (v) { + return A2( + $mdgriffith$elm_ui$Internal$Model$StyleClass, + $mdgriffith$elm_ui$Internal$Flag$borderWidth, + A5( + $mdgriffith$elm_ui$Internal$Model$BorderWidth, + 'b-' + $elm$core$String$fromInt(v), + v, + v, + v, + v)); +}; +var $mdgriffith$elm_ui$Internal$Model$Padding = F5( + function (a, b, c, d, e) { + return {$: 0, a: a, b: b, c: c, d: d, e: e}; + }); +var $mdgriffith$elm_ui$Internal$Model$Spaced = F3( + function (a, b, c) { + return {$: 0, a: a, b: b, c: c}; + }); +var $mdgriffith$elm_ui$Internal$Model$extractSpacingAndPadding = function (attrs) { + return A3( + $elm$core$List$foldr, + F2( + function (attr, _v0) { + var pad = _v0.a; + var spacing = _v0.b; + return _Utils_Tuple2( + function () { + if (!pad.$) { + var x = pad.a; + return pad; + } else { + if ((attr.$ === 4) && (attr.b.$ === 7)) { + var _v3 = attr.b; + var name = _v3.a; + var t = _v3.b; + var r = _v3.c; + var b = _v3.d; + var l = _v3.e; + return $elm$core$Maybe$Just( + A5($mdgriffith$elm_ui$Internal$Model$Padding, name, t, r, b, l)); + } else { + return $elm$core$Maybe$Nothing; + } + } + }(), + function () { + if (!spacing.$) { + var x = spacing.a; + return spacing; + } else { + if ((attr.$ === 4) && (attr.b.$ === 5)) { + var _v6 = attr.b; + var name = _v6.a; + var x = _v6.b; + var y = _v6.c; + return $elm$core$Maybe$Just( + A3($mdgriffith$elm_ui$Internal$Model$Spaced, name, x, y)); + } else { + return $elm$core$Maybe$Nothing; + } + } + }()); + }), + _Utils_Tuple2($elm$core$Maybe$Nothing, $elm$core$Maybe$Nothing), + attrs); +}; +var $mdgriffith$elm_ui$Internal$Model$paddingNameFloat = F4( + function (top, right, bottom, left) { + return 'pad-' + ($mdgriffith$elm_ui$Internal$Model$floatClass(top) + ('-' + ($mdgriffith$elm_ui$Internal$Model$floatClass(right) + ('-' + ($mdgriffith$elm_ui$Internal$Model$floatClass(bottom) + ('-' + $mdgriffith$elm_ui$Internal$Model$floatClass(left))))))); + }); +var $elm$virtual_dom$VirtualDom$style = _VirtualDom_style; +var $elm$html$Html$Attributes$style = $elm$virtual_dom$VirtualDom$style; +var $mdgriffith$elm_ui$Element$wrappedRow = F2( + function (attrs, children) { + var _v0 = $mdgriffith$elm_ui$Internal$Model$extractSpacingAndPadding(attrs); + var padded = _v0.a; + var spaced = _v0.b; + if (spaced.$ === 1) { + return A4( + $mdgriffith$elm_ui$Internal$Model$element, + $mdgriffith$elm_ui$Internal$Model$asRow, + $mdgriffith$elm_ui$Internal$Model$div, + A2( + $elm$core$List$cons, + $mdgriffith$elm_ui$Internal$Model$htmlClass($mdgriffith$elm_ui$Internal$Style$classes.ae + (' ' + ($mdgriffith$elm_ui$Internal$Style$classes.D + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.ba)))), + A2( + $elm$core$List$cons, + $mdgriffith$elm_ui$Element$width($mdgriffith$elm_ui$Element$shrink), + A2( + $elm$core$List$cons, + $mdgriffith$elm_ui$Element$height($mdgriffith$elm_ui$Element$shrink), + attrs))), + $mdgriffith$elm_ui$Internal$Model$Unkeyed(children)); + } else { + var _v2 = spaced.a; + var spaceName = _v2.a; + var x = _v2.b; + var y = _v2.c; + var newPadding = function () { + if (!padded.$) { + var _v5 = padded.a; + var name = _v5.a; + var t = _v5.b; + var r = _v5.c; + var b = _v5.d; + var l = _v5.e; + if ((_Utils_cmp(r, x / 2) > -1) && (_Utils_cmp(b, y / 2) > -1)) { + var newTop = t - (y / 2); + var newRight = r - (x / 2); + var newLeft = l - (x / 2); + var newBottom = b - (y / 2); + return $elm$core$Maybe$Just( + A2( + $mdgriffith$elm_ui$Internal$Model$StyleClass, + $mdgriffith$elm_ui$Internal$Flag$padding, + A5( + $mdgriffith$elm_ui$Internal$Model$PaddingStyle, + A4($mdgriffith$elm_ui$Internal$Model$paddingNameFloat, newTop, newRight, newBottom, newLeft), + newTop, + newRight, + newBottom, + newLeft))); + } else { + return $elm$core$Maybe$Nothing; + } + } else { + return $elm$core$Maybe$Nothing; + } + }(); + if (!newPadding.$) { + var pad = newPadding.a; + return A4( + $mdgriffith$elm_ui$Internal$Model$element, + $mdgriffith$elm_ui$Internal$Model$asRow, + $mdgriffith$elm_ui$Internal$Model$div, + A2( + $elm$core$List$cons, + $mdgriffith$elm_ui$Internal$Model$htmlClass($mdgriffith$elm_ui$Internal$Style$classes.ae + (' ' + ($mdgriffith$elm_ui$Internal$Style$classes.D + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.ba)))), + A2( + $elm$core$List$cons, + $mdgriffith$elm_ui$Element$width($mdgriffith$elm_ui$Element$shrink), + A2( + $elm$core$List$cons, + $mdgriffith$elm_ui$Element$height($mdgriffith$elm_ui$Element$shrink), + _Utils_ap( + attrs, + _List_fromArray( + [pad]))))), + $mdgriffith$elm_ui$Internal$Model$Unkeyed(children)); + } else { + var halfY = -(y / 2); + var halfX = -(x / 2); + return A4( + $mdgriffith$elm_ui$Internal$Model$element, + $mdgriffith$elm_ui$Internal$Model$asEl, + $mdgriffith$elm_ui$Internal$Model$div, + attrs, + $mdgriffith$elm_ui$Internal$Model$Unkeyed( + _List_fromArray( + [ + A4( + $mdgriffith$elm_ui$Internal$Model$element, + $mdgriffith$elm_ui$Internal$Model$asRow, + $mdgriffith$elm_ui$Internal$Model$div, + A2( + $elm$core$List$cons, + $mdgriffith$elm_ui$Internal$Model$htmlClass($mdgriffith$elm_ui$Internal$Style$classes.ae + (' ' + ($mdgriffith$elm_ui$Internal$Style$classes.D + (' ' + $mdgriffith$elm_ui$Internal$Style$classes.ba)))), + A2( + $elm$core$List$cons, + $mdgriffith$elm_ui$Internal$Model$Attr( + A2( + $elm$html$Html$Attributes$style, + 'margin', + $elm$core$String$fromFloat(halfY) + ('px' + (' ' + ($elm$core$String$fromFloat(halfX) + 'px'))))), + A2( + $elm$core$List$cons, + $mdgriffith$elm_ui$Internal$Model$Attr( + A2( + $elm$html$Html$Attributes$style, + 'width', + 'calc(100% + ' + ($elm$core$String$fromInt(x) + 'px)'))), + A2( + $elm$core$List$cons, + $mdgriffith$elm_ui$Internal$Model$Attr( + A2( + $elm$html$Html$Attributes$style, + 'height', + 'calc(100% + ' + ($elm$core$String$fromInt(y) + 'px)'))), + A2( + $elm$core$List$cons, + A2( + $mdgriffith$elm_ui$Internal$Model$StyleClass, + $mdgriffith$elm_ui$Internal$Flag$spacing, + A3($mdgriffith$elm_ui$Internal$Model$SpacingStyle, spaceName, x, y)), + _List_Nil))))), + $mdgriffith$elm_ui$Internal$Model$Unkeyed(children)) + ]))); + } + } + }); +var $author$project$CurrentGames$viewGames = F3( + function (_v0, translations, sides) { + var theme = _v0.aD; + var showEndScores = _v0.a0; + var viewGame = function (gameSides) { + var viewSide = function (side) { + var viewTeamName = A2( + $mdgriffith$elm_ui$Element$el, + _List_fromArray( + [ + $mdgriffith$elm_ui$Element$width($mdgriffith$elm_ui$Element$fill), + $mdgriffith$elm_ui$Element$clip + ]), + $mdgriffith$elm_ui$Element$text(side.cc)); + var viewScore = A2( + $mdgriffith$elm_ui$Element$el, + _List_fromArray( + [ + $mdgriffith$elm_ui$Element$alignRight, + $mdgriffith$elm_ui$Element$width( + $mdgriffith$elm_ui$Element$px(20)), + $mdgriffith$elm_ui$Element$Font$bold + ]), + A2( + $mdgriffith$elm_ui$Element$el, + _List_fromArray( + [$mdgriffith$elm_ui$Element$alignRight]), + $mdgriffith$elm_ui$Element$text( + function () { + var _v8 = side.b4; + if (!_v8.$) { + var score = _v8.a; + return $elm$core$String$fromInt(score); + } else { + return '-'; + } + }()))); + var viewEndScores = function () { + var viewEndScore = function (endScore) { + return A2( + $mdgriffith$elm_ui$Element$el, + _List_fromArray( + [ + $mdgriffith$elm_ui$Element$alignRight, + $mdgriffith$elm_ui$Element$width( + $mdgriffith$elm_ui$Element$px(10)) + ]), + $mdgriffith$elm_ui$Element$text( + $elm$core$String$fromInt(endScore))); + }; + return showEndScores ? A2( + $mdgriffith$elm_ui$Element$row, + _List_fromArray( + [ + $mdgriffith$elm_ui$Element$alignRight, + $mdgriffith$elm_ui$Element$spacing(5) + ]), + A2($elm$core$List$map, viewEndScore, side.bm)) : $mdgriffith$elm_ui$Element$none; + }(); + return A2( + $mdgriffith$elm_ui$Element$row, + _List_fromArray( + [ + $mdgriffith$elm_ui$Element$width($mdgriffith$elm_ui$Element$fill), + $mdgriffith$elm_ui$Element$spacing(10), + A2($mdgriffith$elm_ui$Element$paddingXY, 0, 5), + $mdgriffith$elm_ui$Element$Font$color( + function () { + var _v6 = side.b1; + if ((!_v6.$) && (!_v6.a)) { + var _v7 = _v6.a; + return theme.bS; + } else { + return theme.bk; + } + }()) + ]), + _List_fromArray( + [viewTeamName, viewEndScores, viewScore])); + }; + var title = function () { + var _v4 = $elm$core$List$head(gameSides); + if (!_v4.$) { + var top = _v4.a; + return _Utils_ap( + top.bo, + function () { + var _v5 = top.bu; + if (!_v5.$) { + var gameName = _v5.a; + return ' - ' + gameName; + } else { + return ''; + } + }()); + } else { + return ''; + } + }(); + var subTitle = function () { + var _v3 = $elm$core$List$head(gameSides); + if (!_v3.$) { + var top = _v3.a; + return top.b9 + (' - ' + A2($author$project$CurrentGames$gameStateToString, translations, top.aN)); + } else { + return ''; + } + }(); + return A2( + $mdgriffith$elm_ui$Element$column, + _List_fromArray( + [ + $mdgriffith$elm_ui$Element$width($mdgriffith$elm_ui$Element$fill), + $mdgriffith$elm_ui$Element$spacing(10), + $mdgriffith$elm_ui$Element$padding(10), + $mdgriffith$elm_ui$Element$Border$width(1), + function () { + var _v1 = A2( + $elm$core$Maybe$map, + function ($) { + return $.aN; + }, + $elm$core$List$head(gameSides)); + if ((!_v1.$) && (_v1.a === 1)) { + var _v2 = _v1.a; + return $mdgriffith$elm_ui$Element$Border$color(theme.bS); + } else { + return $mdgriffith$elm_ui$Element$Border$color(theme.c5); + } + }() + ]), + _List_fromArray( + [ + A2( + $mdgriffith$elm_ui$Element$wrappedRow, + _List_fromArray( + [ + $mdgriffith$elm_ui$Element$Font$size(12) + ]), + _List_fromArray( + [ + $mdgriffith$elm_ui$Element$text(title) + ])), + A2( + $mdgriffith$elm_ui$Element$el, + _List_fromArray( + [ + $mdgriffith$elm_ui$Element$Font$size(12) + ]), + $mdgriffith$elm_ui$Element$text(subTitle)), + A2( + $mdgriffith$elm_ui$Element$column, + _List_fromArray( + [ + $mdgriffith$elm_ui$Element$width($mdgriffith$elm_ui$Element$fill) + ]), + A2($elm$core$List$map, viewSide, gameSides)) + ])); + }; + return $elm$core$List$isEmpty(sides) ? A2( + $mdgriffith$elm_ui$Element$el, + _List_Nil, + $mdgriffith$elm_ui$Element$text( + A2($author$project$CurrentGames$translate, translations, 'no_current_games'))) : A2( + $mdgriffith$elm_ui$Element$column, + _List_fromArray( + [ + $mdgriffith$elm_ui$Element$width($mdgriffith$elm_ui$Element$fill), + $mdgriffith$elm_ui$Element$spacing(20) + ]), + A2( + $elm$core$List$map, + viewGame, + A2( + $author$project$CurrentGames$groupWhile, + F2( + function (a, b) { + return _Utils_eq(a.aM, b.aM); + }), + sides))); + }); +var $author$project$CurrentGames$view = function (model) { return A2( $mdgriffith$elm_ui$Element$layout, _List_fromArray( [ $mdgriffith$elm_ui$Element$Font$size(16), - $mdgriffith$elm_ui$Element$Font$color($author$project$CurrentDraws$theme.bd), - $mdgriffith$elm_ui$Element$width($mdgriffith$elm_ui$Element$fill), + $mdgriffith$elm_ui$Element$Font$color(model.ag.aD.bk), + $mdgriffith$elm_ui$Element$width( + $mdgriffith$elm_ui$Element$px(300)), $mdgriffith$elm_ui$Element$height($mdgriffith$elm_ui$Element$fill), $mdgriffith$elm_ui$Element$padding(10), $mdgriffith$elm_ui$Element$Font$family( @@ -12223,18 +13235,27 @@ var $author$project$CurrentDraws$view = function (model) { $mdgriffith$elm_ui$Element$Font$sansSerif ])) ]), - A2( - $mdgriffith$elm_ui$Element$el, - _List_Nil, - $mdgriffith$elm_ui$Element$text('Current Draws'))); + function () { + var _v0 = _Utils_Tuple2(model.am, model.ai); + if ((_v0.a.$ === 3) && (_v0.b.$ === 3)) { + var translations = _v0.a.a; + var sides = _v0.b.a; + return A3($author$project$CurrentGames$viewGames, model.ag, translations, sides); + } else { + return A2( + $mdgriffith$elm_ui$Element$el, + _List_Nil, + $mdgriffith$elm_ui$Element$text('Nothing')); + } + }()); }; -var $author$project$CurrentDraws$main = $elm$browser$Browser$element( +var $author$project$CurrentGames$main = $elm$browser$Browser$element( { - c1: $author$project$CurrentDraws$init, - dO: function (_v0) { + de: $author$project$CurrentGames$init, + dX: function (_v0) { return $elm$core$Platform$Sub$none; }, - d8: $author$project$CurrentDraws$update, - d9: $author$project$CurrentDraws$view + eg: $author$project$CurrentGames$update, + eh: $author$project$CurrentGames$view }); -_Platform_export({'CurrentDraws':{'init':$author$project$CurrentDraws$main($elm$json$Json$Decode$value)(0)}});}(this)); \ No newline at end of file +_Platform_export({'CurrentGames':{'init':$author$project$CurrentGames$main($elm$json$Json$Decode$value)(0)}});}(this)); \ No newline at end of file diff --git a/current-games-prod.min.js b/current-games-prod.min.js new file mode 100644 index 0000000..fcf4693 --- /dev/null +++ b/current-games-prod.min.js @@ -0,0 +1 @@ +!function(i){"use strict";function g(n,t,r){return r.a=n,r.f=t,r}function f(r){return g(2,r,function(t){return function(n){return r(t,n)}})}function y(e){return g(3,e,function(r){return function(t){return function(n){return e(r,t,n)}}})}function n(a){return g(4,a,function(e){return function(r){return function(t){return function(n){return a(e,r,t,n)}}}})}function $(u){return g(5,u,function(a){return function(e){return function(r){return function(t){return function(n){return u(a,e,r,t,n)}}}}})}function m(c){return g(6,c,function(u){return function(a){return function(e){return function(r){return function(t){return function(n){return c(u,a,e,r,t,n)}}}}}})}function w(i){return g(7,i,function(c){return function(u){return function(a){return function(e){return function(r){return function(t){return function(n){return i(c,u,a,e,r,t,n)}}}}}}})}function x(o){return g(8,o,function(i){return function(c){return function(u){return function(a){return function(e){return function(r){return function(t){return function(n){return o(i,c,u,a,e,r,t,n)}}}}}}}})}function L(f){return g(9,f,function(o){return function(i){return function(c){return function(u){return function(a){return function(e){return function(r){return function(t){return function(n){return f(o,i,c,u,a,e,r,t,n)}}}}}}}}})}function W(n,t,r){return 2===n.a?n.f(t,r):n(t)(r)}function P(n,t,r,e){return 3===n.a?n.f(t,r,e):n(t)(r)(e)}function k(n,t,r,e,a){return 4===n.a?n.f(t,r,e,a):n(t)(r)(e)(a)}function s(n,t,r,e,a,u){return 5===n.a?n.f(t,r,e,a,u):n(t)(r)(e)(a)(u)}function T(n,t,r,e,a,u,c){return 6===n.a?n.f(t,r,e,a,u,c):n(t)(r)(e)(a)(u)(c)}function B(n,t,r,e,a,u,c,i){return 7===n.a?n.f(t,r,e,a,u,c,i):n(t)(r)(e)(a)(u)(c)(i)}function H(n,t,r,e,a,u,c,i,o){return 8===n.a?n.f(t,r,e,a,u,c,i,o):n(t)(r)(e)(a)(u)(c)(i)(o)}function b(n,t){for(var r,e=[],a=F(n,t,0,e);a&&(r=e.pop());a=F(r.a,r.b,0,e));return a}function F(n,t,r,e){if(100"),t});function en(n){throw Error("https://github.com/elm/core/blob/1.0.0/hints/"+n+".md")}f(function(n,t){return n+t}),f(function(n,t){return n-t}),f(function(n,t){return n*t}),f(function(n,t){return n/t}),f(function(n,t){return n/t|0});var an=f(Math.pow);f(function(n,t){return t%n}),f(function(n,t){t%=n;return 0===n?en(11):0u||u>56319?(e[a]=n(t[a]),a++):(e[a]=n(t[a]+t[a+1]),a+=2)}return e.join("")}),f(function(n,t){for(var r=[],e=t.length,a=0;ac)return a}var d=r.$;if(4===d){for(var l=r.k;4===l.$;)l=l.k;return n(t,l,e,a,u+1,c,t.elm_event_node_ref)}var p=r.e;var h=t.childNodes;for(var v=0;vc))return a;u=$}return a}(n,t,r,0,0,t.b,e)}function Mt(n,t,r,e){return 0===r.length?n:(_t(n,t,r,e),zt(n,r))}function zt(n,t){for(var r=0;r>n}),f(function(n,t){return t>>>n});function Jt(n){return W(C,"\n ",W(Lr,"\n",n))}function Bt(n){return 97<=(n=Ir(n))&&n<=122}function Ht(n){return(n=Ir(n))<=90&&65<=n}function Ft(n){return Bt(n)||Ht(n)||function(n){n=Ir(n);return n<=57&&48<=n}(n)}function Kt(n){return n}function Vt(n){return n.a}function Ut(n){return P(_e,Oe(D),Ce(j),n)}function Zt(t){var n;return we(t)?l("Empty strings are not valid hexadecimal strings."):(n=W(Ee,"-",t)?(n=W(Ue,j,Fe(Ve(t))),W(Je,He,P(Ge,Tr(n)-1,n,0))):P(Ge,ve(t)-1,Ve(t),0),W(Be,function(n){return W(C," ",A(['"'+t+'"',"is not a valid hexadecimal string because",n]))},n))}function Yt(n){return n=Xe(n),n={ap:P(ge,5,7,n),ax:P(ge,3,5,n),aA:P(ge,1,3,n)},n={ap:W(Qe,0,Zt(n.ap)),ax:W(Qe,0,Zt(n.ax)),aA:W(Qe,0,Zt(n.aA))},P(Ye,n.aA,n.ax,n.ap)}function Xt(n){return ia(A([ca(S),W(fe,E,n)]))}function Qt(l){return function(d){return function(b){return function(s){return function(f){return function(o){return function(i){return function(c){return function(u){return function(a){return function(e){return function(r){return function(t){return function(n){return{cY:b,bm:n,c_:s,bo:r,c1:t,aM:d,bu:o,aN:e,da:l,b1:c,dD:i,b4:u,b9:f,cc:a}}}}}}}}}}}}}}}function nr(n){var t,r,e,a,u,c,i,o;return-1===n.$&&-1===n.d.$&&-1===n.e.$?-1!==n.e.d.$||n.e.d.a?(e=(o=n.e).b,a=o.c,u=o.d,o=o.e,s(h,1,n.b,n.c,s(h,0,(t=n.d).b,t.c,t.d,t.e),s(h,0,e,a,u,o))):(e=(r=n.e).b,a=r.c,c=(u=r.d).d,i=u.e,o=r.e,s(h,0,u.b,u.c,s(h,1,n.b,n.c,s(h,0,(t=n.d).b,t.c,t.d,t.e),c),s(h,1,e,a,i,o))):n}function tr(n){var t,r,e,a,u,c,i,o,f;return-1===n.$&&-1===n.d.$&&-1===n.e.$?-1!==n.d.d.$||n.d.d.a?(c=(f=n.e).b,i=f.c,o=f.d,f=f.e,s(h,1,t=n.b,r=n.c,s(h,0,(a=n.d).b,a.c,a.d,a=a.e),s(h,0,c,i,o,f))):(t=n.b,r=n.c,a=(e=n.d).e,c=(u=n.e).b,i=u.c,o=u.d,f=u.e,s(h,0,e.b,e.c,s(h,1,(u=e.d).b,u.c,u.d,u.e),s(h,1,t,r,a,s(h,0,c,i,o,f)))):n}function rr(n){var t,r,e,a,u,c;return-1===n.$&&-1===n.d.$?(t=n.a,r=n.b,e=n.c,c=(a=n.d).d,u=n.e,1===a.a?-1!==c.$||c.a?-1===(c=nr(n)).$?(n=c.e,s(Ca,c.a,c.b,c.c,rr(c.d),n)):ya:s(h,t,r,e,rr(a),u):s(h,t,r,e,rr(a),u)):ya}function er(n){return{$:4,a:n}}function ar(n){return 1===n.$?{$:2,a:n.a}:{$:3,a:n.a}}function ur(n){return Xa(Ja({cw:!1,cE:n.cE,aK:n.aK,bv:n.bv,$7:n.$7,ea:n.ea,cd:n.cd,a5:n.a5}))}function cr(n){return Xa(Ja({cw:!0,cE:n.cE,aK:n.aK,bv:n.bv,$7:n.$7,ea:n.ea,cd:n.cd,a5:n.a5}))}function ir(n){return n.Z?cr:ur}function r(n){return 31 .ctr > ."+R.cy+" {\n border: 4px dashed rgb(0, 151, 167) !important;\n}\n\n",rn="@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {"+G(R.cy)+(G(R.b2)+(" > "+G(R.cy)+(" { flex-basis: auto !important; } "+G(R.cy)+(G(R.b2)+(" > "+G(R.cy)+(G(R.at)+' { flex-basis: auto !important; }}\ninput[type="search"],\ninput[type="search"]::-webkit-search-decoration,\ninput[type="search"]::-webkit-search-cancel-button,\ninput[type="search"]::-webkit-search-results-button,\ninput[type="search"]::-webkit-search-results-decoration {\n -webkit-appearance:none;\n}\n\ninput[type=range] {\n -webkit-appearance: none; \n background: transparent;\n position:absolute;\n left:0;\n top:0;\n z-index:10;\n width: 100%;\n outline: dashed 1px;\n height: 100%;\n opacity: 0;\n}\n\ninput[type=range]::-moz-range-track {\n background: transparent;\n cursor: pointer;\n}\ninput[type=range]::-ms-track {\n background: transparent;\n cursor: pointer;\n}\ninput[type=range]::-webkit-slider-runnable-track {\n background: transparent;\n cursor: pointer;\n}\n\ninput[type=range]::-webkit-slider-thumb {\n -webkit-appearance: none;\n opacity: 0.5;\n width: 80px;\n height: 80px;\n background-color: black;\n border:none;\n border-radius: 5px;\n}\ninput[type=range]::-moz-range-thumb {\n opacity: 0.5;\n width: 80px;\n height: 80px;\n background-color: black;\n border:none;\n border-radius: 5px;\n}\ninput[type=range]::-ms-thumb {\n opacity: 0.5;\n width: 80px;\n height: 80px;\n background-color: black;\n border:none;\n border-radius: 5px;\n}\ninput[type=range][orient=vertical]{\n writing-mode: bt-lr; /* IE */\n -webkit-appearance: slider-vertical; /* WebKit */\n}\n'))))))+nn,Hu=f(function(n,t){return{as:t,m:j,G:j,u:n}}),Fu=f(function(n,t){var u=n,n=f(function(n,t){switch(n.$){case 0:return U(t,{G:W(D,{a:n.a,b:n.b},t.G)});case 3:var r=n.a;return U(t,{m:W(D,{as:"\n}",m:j,G:n.b,u:"@supports ("+r.a+":"+r.b+") {"+u.u},t.m)});case 5:r=n.b;return U(t,{m:W(D,W(Fu,W(Hu,u.u+" + "+n.a,""),r),t.m)});case 1:var e=n.a,a=n.b;return U(t,{m:W(D,W(Fu,W(Hu,u.u+" > "+e,""),a),t.m)});case 2:e=n.a,a=n.b;return U(t,{m:W(D,W(Fu,W(Hu,u.u+" "+e,""),a),t.m)});case 4:r=n.b;return U(t,{m:W(D,W(Fu,W(Hu,q(u.u,n.a),""),r),t.m)});default:e=n.a;return U(t,{m:W(D,W(Fu,W(Hu,u.u,""),e),t.m)})}});return P(_e,n,u,t)}),Ku=q(rn,(En=q(un,mn),wr=function(n){return $r(W(_,function(n){return n.a+":"+n.b+";"},n))},$r(W(_,Vu,P(_e,f(function(n,t){var r=n.b;return W(D,W(Fu,W(Hu,n.a,""),r),t)}),j,En)))));function Vu(n){return q(function(n){return n.G.b?n.u+("{"+wr(n.G))+(n.as+"}"):""}(n),$r(W(_,Vu,n.m)))}function Uu(n){switch(n.dp){case 0:return P(lr,"div",j,A([P(lr,"style",j,A([vc(Ku)]))]));case 1:return vc("");default:return P(lr,"elm-ui-static-rules",A([W(Iu,"rules",Eu(Ku))]),j)}}function Zu(n){switch(n.$){case 0:return"serif";case 1:return"sans-serif";case 2:return"monospace";case 3:return'"'+(t=n.a)+'"';case 4:var t=n.a;return'"'+t+'"';default:return'"'+(t=n.a.dq)+'"'}}function Yu(n){switch(n.$){case 0:return"smcp"===n.a;case 1:return!1;default:return"smcp"===n.a&&1===n.b}}function Xu(n){return 5===n.$&&W($c,Yu,n.a.cg)}function Qu(n){switch(n.$){case 0:return'"'+n.a+'"';case 1:return'"'+n.a+'" 0';default:return'"'+n.a+('" '+I(n.b))}}function nc(n){return 5===n.$?E(W(C,", ",W(_,Qu,n.a.cg))):S}function tc(n){return n.b?E(P(o,mc,n.a,n.b)):S}function rc(n){function t(n){return 4===n.$?E("@import url('"+n.b+"');"):S}var r=W(_,Vt,n);return q(W(C,"\n",W(_,function(n){return W(C,"\n",W(Ua,t,n.b))},n)),W(C,"\n",W(_,function(n){var t=n.a,n=function(n){return P(o,f(function(n,t){return 1!==t.$||5!==n.$||1===(n=n.a.cn).$?t:E({a:_c(Nc(t=n.a).bt),b:_c(Nc(t).cN)})}),S,n)}(n.b);return W(C,"",W(_,1===n.$?Ec(t):W(Ac,t,n.a),r))},n)))}function ec(n){return it(dt(n))}function ac(n){return W(Cu,A([Su(Hc)]),A([Bc(n)]))}function uc(n){return W(Cu,A([Su(Fc)]),A([Bc(n)]))}function cc(n){switch(n.$){case 0:var t=I(n.a),r="height-px-"+t;return{a:ii,b:R.bw+" "+r,c:A([P(Vc,r,"height",t+"px")])};case 1:return{a:W(J,ui,ii),b:R.aR,c:j};case 2:r=n.a;return 1===r?{a:W(J,Wc,ii),b:R.aS,c:j}:{a:W(J,Wc,ii),b:R.bx+(" height-fill-"+I(r)),c:A([P(Vc,R.cy+("."+R.C+(" > "+G("height-fill-"+I(r)))),"flex-grow",I(1e5*r))])};case 3:var t=n.a,e=n.b,a="min-height-"+I(t),u=P(Vc,a,"min-height",I(t)+"px !important"),r=cc(e),c=r.a,i=r.b,o=r.c;return{a:W(J,Tc,c),b:a+" "+i,c:W(D,u,o)};default:t=n.a,e=n.b,a="max-height-"+I(t),u=P(Vc,a,"max-height",I(t)+"px"),r=cc(e),c=r.a,i=r.b,o=r.c;return{a:W(J,Tc,c),b:a+" "+i,c:W(D,u,o)}}}function ic(n){switch(n.$){case 0:var t=n.a;return{a:ii,b:R.cj+(" width-px-"+I(t)),c:A([P(Vc,"width-px-"+I(t),"width",I(t)+"px")])};case 1:return{a:W(J,oi,ii),b:R.a7,c:j};case 2:t=n.a;return 1===t?{a:W(J,Gc,ii),b:R.a8,c:j}:{a:W(J,Gc,ii),b:R.ck+(" width-fill-"+I(t)),c:A([P(Vc,R.cy+("."+R.b2+(" > "+G("width-fill-"+I(t)))),"flex-grow",I(1e5*t))])};case 3:var t=n.a,r=n.b,e="min-width-"+I(t),a=P(Vc,e,"min-width",I(t)+"px"),t=ic(r),u=t.a,c=t.b,i=t.c;return{a:W(J,Rc,u),b:e+" "+c,c:W(D,a,i)};default:t=n.a,r=n.b,e="max-width-"+I(t),a=P(Vc,e,"max-width",I(t)+"px"),t=ic(r),u=t.a,c=t.b,i=t.c;return{a:W(J,Rc,u),b:e+" "+c,c:W(D,a,i)}}}function oc(n){return{$:1,a:Su(n)}}function fc(n){return{$:3,a:n}}function sc(n){var t=n;return W(iu,Wi,s(Ti,"p-"+I(n),t,t,t,t))}function bc(n){return W(iu,zi,Mi(n))}function dc(n){return W(iu,Ji,P(cu,"bc-"+su(n),"border-color",n))}function lc(n){return n.b?E(n.a):S}function pc(n){return W(iu,no,P(Qi,W(to,n,n),n,n))}function hc(n){return P(_e,f(function(n,t){var r,e=t.a,t=t.b;return{a:e.$?4===n.$&&7===n.b.$?E(s(eo,(r=n.b).a,r.b,r.c,r.d,r.e)):S:e,b:t.$?4===n.$&&5===n.b.$?E(P(ao,(r=n.b).a,r.b,r.c)):S:t}}),{a:S,b:S},n)}var vc=ut,gc=f(function(n,t){return P(o,function(r){return f(function(n,t){return t.push(r(n)),t})}(n),[],t)}),$c=f(function(n,t){for(;;){if(!t.b)return!1;var r=t.b;if(n(t.a))return!0;n=n,t=r}}),mc=f(function(n,t){return d(n,t)<0?n:t}),wc=y(function(n,t,r){var e=t.a,t=t.b;return n?r+"\n "+e+": "+t+" !important;":r+"\n "+e+": "+t+";"}),O=n(function(n,t,r,e){if(1===t.$)return A([r+("{"+P(o,wc(!1),"",e))+"\n}"]);switch(t.a){case 1:switch(n.c8){case 0:return j;case 2:return A([r+("-hv {"+P(o,wc(!0),"",e))+"\n}"]);default:return A([r+("-hv:hover {"+P(o,wc(!1),"",e))+"\n}"])}case 0:var a=P(o,wc(!1),"",e);return A([r+"-fs:focus {"+a+"\n}","."+R.cy+":focus "+r+"-fs {"+a+"\n}",r+"-fs:focus-within {"+a+"\n}",".ui-slide-bar:focus + "+G(R.cy)+" .focusable-thumb"+r+"-fs {"+a+"\n}"]);default:return A([r+("-act:active {"+P(o,wc(!1),"",e))+"\n}"])}}),xc=y(function(t,n,r){switch(n.$){case 0:return k(O,t,r,n.a,n.b);case 13:return k(O,t,r,"."+(e=n.a),A([W(M,"box-shadow",n.b)]));case 12:var e=n.a,a=W(te,0,W(mc,1,1-n.b));return k(O,t,r,"."+e,A([W(M,"opacity",z(a))]));case 2:a=n.a;return k(O,t,r,".font-size-"+I(a),A([W(M,"font-size",I(a)+"px")]));case 1:var e=n.a,a=n.b,u=W(C,", ",W(Ua,nc,a)),u=A([W(M,"font-family",W(C,", ",W(_,Zu,a))),W(M,"font-feature-settings",u),W(M,"font-variant",W($c,Xu,a)?"small-caps":"normal")]);return k(O,t,r,"."+e,u);case 3:return k(O,t,r,"."+(v=n.a),A([W(M,n.b,x=n.c)]));case 4:return k(O,t,r,"."+(v=n.a),A([W(M,n.b,Wu(n.c))]));case 5:var c=n.a,a=n.b,e=n.c,u=I(e)+"px",i=I(a)+"px",o="."+R.b2,f="."+R.ba+o,s="."+R.bd,b="."+R.bO,d="."+R.bN,l="."+R.bc,p=z(e/2)+"px",a=z(a/2)+"px",h="."+R.C,v="."+c,g="."+R.cy;return pr(A([k(O,t,r,v+o+" > "+g+" + "+g,A([W(M,"margin-left",i)])),k(O,t,r,v+f+" > "+g,A([W(M,"margin",p+" "+a)])),k(O,t,r,v+h+" > "+g+" + "+g,A([W(M,"margin-top",u)])),k(O,t,r,v+d+" > "+g+" + "+g,A([W(M,"margin-top",u)])),k(O,t,r,v+d+" > "+l,A([W(M,"margin-right",i)])),k(O,t,r,v+d+" > "+s,A([W(M,"margin-left",i)])),k(O,t,r,q(v,b),A([W(M,"line-height","calc(1em + "+I(e)+"px)")])),k(O,t,r,"textarea"+g+v,A([W(M,"line-height","calc(1em + "+I(e)+"px)"),W(M,"height","calc(100% + "+I(e)+"px)")])),k(O,t,r,v+b+" > "+l,A([W(M,"margin-right",i)])),k(O,t,r,v+b+" > "+s,A([W(M,"margin-left",i)])),k(O,t,r,v+b+"::after",A([W(M,"content","''"),W(M,"display","block"),W(M,"height","0"),W(M,"width","0"),W(M,"margin-top",I(-1*(e/2|0))+"px")])),k(O,t,r,v+b+"::before",A([W(M,"content","''"),W(M,"display","block"),W(M,"height","0"),W(M,"width","0"),W(M,"margin-bottom",I(-1*(e/2|0))+"px")]))]));case 7:var c=n.a,$=n.b,s=n.c,m=n.d,l=n.e;return k(O,t,r,v="."+c,A([W(M,"padding",z($)+("px "+z(s)+("px "+z(m)+("px "+z(l))))+"px")]));case 6:c=n.a,$=n.b,s=n.c,m=n.d,l=n.e;return k(O,t,r,v="."+c,A([W(M,"border-width",I($)+("px "+I(s)+("px "+I(m)+("px "+I(l))))+"px")]));case 8:var o=n.a,w=y(function(n,t,r){for(;;)switch(r.$){case 0:return I(r.a)+"px";case 1:var e={a:n,b:t};return 1===e.a.$?1===e.b.$?"max-content":"minmax(max-content, "+I(a=e.b.a)+"px)":1===e.b.$?"minmax("+I(e.a.a)+"px, max-content)":(a=e.b.a,"minmax("+I(e.a.a)+("px, "+I(a))+"px)");case 2:var a,e=r.a,u={a:n,b:t};return 1===u.a.$?1===u.b.$?I(e)+"fr":"minmax(max-content, "+I(a=u.b.a)+"px)":1===u.b.$?"minmax("+I(u.a.a)+("px, "+I(e))+"frfr)":(a=u.b.a,"minmax("+I(u.a.a)+("px, "+I(a))+"px)");case 3:var c=r.a,i=r.b;n=E(c),t=t,r=i;continue;default:c=r.a,i=r.b;n=n,t=E(c),r=i;continue}}),f=function(n){return P(w,S,S,n)},p=(f(o.dP.a),f(o.dP.b)),a="grid-template-rows: "+W(C," ",W(_,f,o.dF))+";",h="-ms-grid-rows: "+W(C,p,W(_,f,o.w))+";",u="-ms-grid-columns: "+W(C,p,W(_,f,o.w))+";",d="grid-row-gap:"+f(o.dP.b)+";",g="grid-column-gap:"+f(o.dP.a)+";",i="grid-template-columns: "+W(C," ",W(_,f,o.w))+";";return A([(v=".grid-rows-"+W(C,"-",W(_,_u,o.dF))+("-cols-"+W(C,"-",W(_,_u,o.w))+("-space-x-"+_u(o.dP.a)+("-space-y-"+_u(o.dP.b)))))+"{"+u+h+"}","@supports (display:grid) {"+(v+"{"+i+a+g+d+"}")+"}"]);case 9:b=n.a,e=W(C," ",A(["-ms-grid-row: "+I(b.b2)+";","-ms-grid-row-span: "+I(b.V)+";","-ms-grid-column: "+I(b.bi)+";","-ms-grid-column-span: "+I(b.ab)+";"])),$=W(C," ",A(["grid-row: "+I(b.b2)+(" / "+I(b.b2+b.V))+";","grid-column: "+I(b.bi)+(" / "+I(b.bi+b.ab))+";"]));return A([(v=".grid-pos-"+I(b.b2)+("-"+I(b.bi)+("-"+I(b.ab)+("-"+I(b.V)))))+"{"+e+"}","@supports (display:grid) {"+(v+"{"+$+"}")+"}"]);case 11:v=n.a;return W(Bu,function(n){return P(xc,t,n,E(v))},n.b);default:var s=n.a,x=function(n){switch(n.$){case 0:return S;case 1:var t=n.a,r=t.b,e=t.c;return E("translate3d("+z(t.a)+("px, "+z(r)+("px, "+z(e)))+"px)");default:var t=n.a,r=t.b,e=t.c,a=n.b,u=a.a,c=a.b,a=a.c,i=n.c,o=i.a,f=i.b,i=i.c,s=n.d,t="translate3d("+z(t.a)+("px, "+z(r)+("px, "+z(e)))+"px)",r="scale3d("+z(u)+(", "+z(c)+(", "+z(a)))+")",e="rotate3d("+z(o)+(", "+z(f)+(", "+z(i)+(", "+z(s))))+"rad)";return E(t+" "+r+" "+e)}}(s),m={a:v=fr(s),b:x};return m.a.$||m.b.$?j:k(O,t,r,"."+(c=m.a.a),A([W(M,"transform",m.b.a)]))}}),yc=f(function(r,n){return n=W(_,function(n){var t=P(xc,r,n,S);return{a:sr(n),b:W(gc,Eu,t)}},n),P(o,f(function(n,t){return P(qn,n.a,n.b,t)}),{},n)}),kc=f(function(n,t){return n+(" {"+W(C,"",W(_,function(n){return n.a+": "+n.b+";"},t)))+"}"}),jc=y(function(n,t,r){var e=r.b;return A([W(kc,"."+n+"."+t+", ."+n+" ."+t,r.a),W(kc,"."+n+"."+t+"> ."+R.r+", ."+n+" ."+t+" > ."+R.r,e)])}),Ac=y(function(n,t,r){var e=t.a,t=t.b,r=b(n,r)?n:r+" ."+n;return W(C," ",q(P(jc,r,R.dN,t),P(jc,r,R.c3,e)))}),Ec=f(function(n,t){t=b(n,t)?n:t+" ."+n;return W(C," ",A([W(kc,"."+t+"."+R.dN+", ."+t+" ."+R.dN,A([{a:"line-height",b:"1"}])),W(kc,"."+t+"."+R.dN+"> ."+R.r+", ."+t+" ."+R.dN+" > ."+R.r,A([{a:"vertical-align",b:"0"},{a:"line-height",b:"1"}]))]))}),Sc=y(function(n,t,r){return{V:t/n,b7:n,ch:r}}),Cc=f(function(r,n){return P(_e,f(function(n,t){return r(n)?W(D,n,t):t}),j,n)}),Nc=function(n){var t=A([n.cN,n.cB,n.cW,n.dn]),r=W(Ue,n.cW,tc(t)),e=W(Ue,n.cB,tc(W(Cc,function(n){return!b(n,r)},t))),t=W(Ue,n.cN,(n=t).b?E(P(o,te,n.a,n.b)):S),n=1/(t-r),a=1-t;return{cN:P(Sc,1/(t-e),t-e,1-t),bt:P(Sc,n,t-r,a)}},_c=function(n){return{a:A([{a:"display",b:"block"}]),b:A([{a:"display",b:"inline-block"},{a:"line-height",b:z(n.V)},{a:"vertical-align",b:z(n.ch)+"em"},{a:"font-size",b:z(n.b7)+"em"}])}},Mc=f(function(r,n){var t=f(function(n,t){return{aB:q(t.aB,P(xc,r,n,S)),al:1===(n=1===(n=n).$?E({a:n.a,b:n.b}):S).$?t.al:W(D,n.a,t.al)}}),t=P(o,t,{aB:j,al:j},n),n=t.aB;return q(rc(t.al),$r(n))}),zc=f(function(n,t){switch(n.dp){case 0:case 1:return P(lr,"div",j,A([P(lr,"style",j,A([vc(W(Mc,n,t))]))]));default:return P(lr,"elm-ui-rules",A([W(Iu,"rules",W(yc,n,t))]),j)}}),Oc=n(function(n,t,r,e){r=W(zc,t,P(o,Lu,{a:Nu,b:dr(t.c2)},r).b);return n?W(D,{a:"static-stylesheet",b:Uu(t)},W(D,{a:"dynamic-stylesheet",b:r},e)):W(D,{a:"dynamic-stylesheet",b:r},e)}),Lc=n(function(n,t,r,e){r=W(zc,t,P(o,Lu,{a:Nu,b:dr(t.c2)},r).b);return n?W(D,Uu(t),W(D,r,e)):W(D,r,e)}),Tc=r(45),Wc=r(37),Pc=ct("p"),qc=f(function(n,t){var r,e=t.a;return n.$?b((r=n.a)&t.b,r):b((t=n.a)&e,t)}),Dc=ct("s"),Ic=ct("u"),Rc=r(44),Gc=r(39),Jc=m(function(n,t,r,a,u,e){var c=f(function(n,t){var r,e;return 1===a.$?(r=a.a,P(ec,n,t,function(){switch(u.$){case 0:return r;case 2:return k(Oc,!1,u.a,u.b,r);default:return k(Oc,!0,u.a,u.b,r)}}())):(e=a.a,W(function(){switch(n){case"div":return Cu;case"p":return Pc;default:return lr(n)}}(),t,function(){switch(u.$){case 0:return e;case 2:return k(Lc,!1,u.a,u.b,e);default:return k(Lc,!0,u.a,u.b,e)}}()))}),i=function(){switch(t.$){case 0:return W(c,"div",r);case 1:return W(c,t.a,r);default:return P(lr,t.a,r,A([W(c,t.b,A([Su(R.cy+" "+R.dM)]))]))}}();switch(e){case 0:return W(qc,Gc,n)&&!W(qc,Rc,n)?i:W(qc,ku,n)?W(Ic,A([Su(W(C," ",A([R.cy,R.dM,R.at,R.D,R.cu])))]),A([i])):W(qc,ju,n)?W(Dc,A([Su(W(C," ",A([R.cy,R.dM,R.at,R.D,R.cs])))]),A([i])):i;case 1:return W(qc,Wc,n)&&!W(qc,Tc,n)?i:W(qc,Au,n)?W(Dc,A([Su(W(C," ",A([R.cy,R.dM,R.at,R.ct])))]),A([i])):W(qc,yu,n)?W(Ic,A([Su(W(C," ",A([R.cy,R.dM,R.at,R.cr])))]),A([i])):i;default:return i}}),Bc=vc,Hc=R.cy+" "+R.r+" "+R.a7+" "+R.aR,Fc=R.cy+" "+R.r+" "+R.a8+" "+R.aS,Kc=y(function(i,n,t){var r,e,a,u,c=f(function(n,t){var r=n.a,e=n.b,a=t.a,u=t.b;switch(e.$){case 0:var c=e.a;return b(i,4),{a:W(D,{a:r,b:c(i)},a),b:u};case 1:c=e.a;return b(i,4),{a:W(D,{a:r,b:W(c.c9,mu,i)},a),b:u.b?q(c.dW,u):c.dW};case 2:c=e.a;return{a:W(D,{a:r,b:(b(i,2)?uc:ac)(c)},a),b:u};default:return{a:a,b:u}}}),o=f(function(n,t){var r=t.a,e=t.b;switch(n.$){case 0:var a=n.a;return b(i,4),{a:W(D,a(i),r),b:e};case 1:a=n.a;return b(i,4),{a:W(D,W(a.c9,mu,i),r),b:e.b?q(a.dW,e):a.dW};case 2:a=n.a;return{a:W(D,(b(i,2)?uc:ac)(a),r),b:e};default:return{a:r,b:e}}});return 1===n.$?(r=(c=P(_e,c,{a:j,b:j},n.a)).a,(a=(e=c.b).b?q(t.dW,e):t.dW).b?(u=a,{$:1,a:{c9:k(Jc,t.M,t.O,t.I,{$:1,a:P(xu,"nearby-element-pls",r,t.J)}),dW:u}}):{$:0,a:s(Jc,t.M,t.O,t.I,{$:1,a:P(xu,"nearby-element-pls",r,t.J)},mu)}):(r=(c=P(_e,o,{a:j,b:j},n.a)).a,(a=(e=c.b).b?q(t.dW,e):t.dW).b?(u=a,{$:1,a:{c9:k(Jc,t.M,t.O,t.I,{$:0,a:W(wu,r,t.J)}),dW:u}}):{$:0,a:s(Jc,t.M,t.O,t.I,{$:0,a:W(wu,r,t.J)},mu)})}),Vc=y(function(n,t,r){return{$:3,a:n,b:t,c:r}}),Uc=f(function(n,t){return{$:0,a:n,b:t}}),J=f(function(n,t){var r=t.a,t=t.b;return n.$?W(Uc,r,n.a|t):W(Uc,n.a|r,t)}),Zc=f(function(n,t){return{$:3,a:n,b:t}}),Yc=f(function(n,t){return W(Cu,A([Su(function(){switch(n){case 0:return W(C," ",A([R.W,R.dM,R.cm]));case 1:return W(C," ",A([R.W,R.dM,R.cD]));case 2:return W(C," ",A([R.W,R.dM,R.dt]));case 3:return W(C," ",A([R.W,R.dM,R.dr]));case 4:return W(C," ",A([R.W,R.dM,R.dd]));default:return W(C," ",A([R.W,R.dM,R.cC]))}}())]),A([function(){switch(t.$){case 3:return vc("");case 2:return ac(t.a);case 0:return(0,t.a)(2);default:return W(t.a.c9,mu,2)}}()]))}),Xc=y(function(n,t,r){var e=W(Yc,n,t);switch(r.$){case 0:return 5===n?{$:1,a:A([e])}:{$:2,a:A([e])};case 1:var a=r.a;return 5===n?{$:1,a:W(D,e,a)}:W(Zc,a,A([e]));case 2:var u=r.a;return 5===n?W(Zc,A([e]),u):{$:2,a:W(D,e,u)};default:a=r.a,u=r.b;return 5===n?W(Zc,W(D,e,a),u):W(Zc,a,W(D,e,u))}}),Qc=f(function(n,t){return{$:2,a:n,b:t}}),ni=f(function(n,t){switch(t.$){case 0:return{$:1,a:n};case 1:return W(Qc,t.a,n);default:return W(Qc,t.a,t.b)}}),ti=f(function(n,t){return W(bt,function(n){return/^(on|formAction$)/i.test(n)?"data-"+n:n}(n),lt(t))}),ri=n(function(n,t,r,e){return{$:2,a:n,b:t,c:r,d:e}}),ei=f(function(n,t){switch(n.$){case 0:switch(t.$){case 0:return{$:1,a:{a:r=t.a,b:0,c:0}};case 1:return{$:1,a:{a:0,b:e=t.a,c:0}};case 2:return{$:1,a:{a:0,b:0,c:a=t.a}};case 3:return{$:1,a:t.a};case 4:return k(ri,{a:0,b:0,c:0},{a:1,b:1,c:1},t.a,o=t.b);default:return k(ri,{a:0,b:0,c:0},t.a,{a:0,b:0,c:1},0)}case 1:var r=(u=n.a).a,e=u.b,a=u.c;switch(t.$){case 0:return{$:1,a:{a:t.a,b:e,c:a}};case 1:return{$:1,a:{a:r,b:t.a,c:a}};case 2:return{$:1,a:{a:r,b:e,c:t.a}};case 3:return{$:1,a:t.a};case 4:return k(ri,u,{a:1,b:1,c:1},t.a,o=t.b);default:return k(ri,u,t.a,{a:0,b:0,c:1},0)}default:var u,r=(u=n.a).a,e=u.b,a=u.c,c=n.b,i=n.c,o=n.d;switch(t.$){case 0:return k(ri,{a:t.a,b:e,c:a},c,i,o);case 1:return k(ri,{a:r,b:t.a,c:a},c,i,o);case 2:return k(ri,{a:r,b:e,c:t.a},c,i,o);case 3:return k(ri,t.a,c,i,o);case 4:return k(ri,u,c,t.a,t.b);default:return k(ri,u,t.a,i,o)}}}),ai=r(7),ui=r(36),ci=f(function(n,t){return W(Uc,n.a|t.a,n.b|t.b)}),ii=W(Uc,0,0),oi=r(38),fi=r(27),si=f(function(n,t){if(b(n,fi)){if(3!==t.$)return!1;switch(t.c){case"0px":case"1px":case"2px":case"3px":case"4px":case"5px":case"6px":return!0;default:return!1}}else switch(t.$){case 2:var r=t.a;return 8<=r&&r<=32;case 7:var r=t.b,e=t.c,a=t.e;return b(r,t.d)&&b(r,e)&&b(r,a)&&0<=r&&r<=24;default:return!1}}),bi=r(6),di=r(30),li=r(29),pi=x(function(n,t,r,e,a,u,c,i){for(;;){var o;if(!i.b)return 1===(o=fr(e)).$?{I:W(D,Su(n),u),J:c,M:r,O:t,dW:a}:{I:W(D,Su(n+" "+o.a),u),J:c,M:r,O:t,dW:W(D,{$:10,a:e},a)};var f=i.a,s=i.b;switch(f.$){case 0:n=l=n,t=p=t,r=h=r,e=v=e,a=g=a,u=$=u,c=O=c,i=s;continue;case 3:var b=f.a,d=f.b;if(W(qc,b,r)){n=l=n,t=p=t,r=h=r,e=v=e,a=g=a,u=$=u,c=O=c,i=s;continue}n=l=d+" "+n,t=p=t,r=h=W(J,b,r),e=v=e,a=g=a,u=$=u,c=O=c,i=s;continue;case 1:var l=n,p=t,h=r,v=e,g=a,$=W(D,f.a,u);n=l,t=p,r=h,e=v,a=g,u=$,c=O=c,i=s;continue;case 4:b=f.a,d=f.b;if(W(qc,b,r)){n=l=n,t=p=t,r=h=r,e=v=e,a=g=a,u=$=u,c=O=c,i=s;continue}if(W(si,b,d)){n=l=sr(d)+" "+n,t=p=t,r=h=W(J,b,r),e=v=e,a=g=a,u=$=u,c=O=c,i=s;continue}l=sr(d)+" "+n,p=t,h=W(J,b,r),v=e,g=W(D,d,a);n=l,t=p,r=h,e=v,a=g,u=$=u,c=O=c,i=s;continue;case 10:var b=f.a,m=f.b;n=l=n,t=p=t,r=h=W(J,b,r),e=v=W(ei,e,m),a=g=a,u=$=u,c=O=c,i=s;continue;case 7:var w=f.a;if(W(qc,bi,r)){n=l=n,t=p=t,r=h=r,e=v=e,a=g=a,u=$=u,c=O=c,i=s;continue}switch(w.$){case 0:var x=w.a,l=R.cj+(" width-px-"+I(x))+" "+n,p=t,h=W(J,bi,r),v=e,g=W(D,P(Vc,"width-px-"+I(x),"width",I(x)+"px"),a);n=l,t=p,r=h,e=v,a=g,u=$=u,c=O=c,i=s;continue;case 1:n=l=n+" "+R.a7,t=p=t,r=h=W(J,oi,W(J,bi,r)),e=v=e,a=g=a,u=$=u,c=O=c,i=s;continue;case 2:if(1===(E=w.a)){n=l=n+" "+R.a8,t=p=t,r=h=W(J,Gc,W(J,bi,r)),e=v=e,a=g=a,u=$=u,c=O=c,i=s;continue}l=n+(" "+R.ck+(" width-fill-"+I(E))),p=t,h=W(J,Gc,W(J,bi,r)),v=e,g=W(D,P(Vc,R.cy+("."+R.b2+(" > "+G("width-fill-"+I(E)))),"flex-grow",I(1e5*E)),a);n=l,t=p,r=h,e=v,a=g,u=$=u,c=O=c,i=s;continue;default:var y=ic(w),k=y.a,j=y.b,A=y.c,l=n+" "+j,p=t,h=W(ci,k,W(J,bi,r)),v=e,g=q(A,a);n=l,t=p,r=h,e=v,a=g,u=$=u,c=O=c,i=s;continue}case 8:var E,S=f.a;if(W(qc,ai,r)){n=l=n,t=p=t,r=h=r,e=v=e,a=g=a,u=$=u,c=O=c,i=s;continue}switch(S.$){case 0:var C=I(x=S.a)+"px",N="height-px-"+C,l=R.bw+" "+N+" "+n,p=t,h=W(J,ai,r),v=e,g=W(D,P(Vc,N,"height ",C),a);n=l,t=p,r=h,e=v,a=g,u=$=u,c=O=c,i=s;continue;case 1:n=l=R.aR+" "+n,t=p=t,r=h=W(J,ui,W(J,ai,r)),e=v=e,a=g=a,u=$=u,c=O=c,i=s;continue;case 2:if(1===(E=S.a)){n=l=R.aS+" "+n,t=p=t,r=h=W(J,Wc,W(J,ai,r)),e=v=e,a=g=a,u=$=u,c=O=c,i=s;continue}l=n+(" "+R.bx+(" height-fill-"+I(E))),p=t,h=W(J,Wc,W(J,ai,r)),v=e,g=W(D,P(Vc,R.cy+("."+R.C+(" > "+G("height-fill-"+I(E)))),"flex-grow",I(1e5*E)),a);n=l,t=p,r=h,e=v,a=g,u=$=u,c=O=c,i=s;continue;default:var N=cc(S),k=N.a,j=N.b,A=N.c,l=n+" "+j,p=t,h=W(ci,k,W(J,ai,r)),v=e,g=q(A,a);n=l,t=p,r=h,e=v,a=g,u=$=u,c=O=c,i=s;continue}case 2:var _=f.a;switch(_.$){case 0:n=l=n,t=p=W(ni,"main",t),r=h=r,e=v=e,a=g=a,u=$=u,c=O=c,i=s;continue;case 1:n=l=n,t=p=W(ni,"nav",t),r=h=r,e=v=e,a=g=a,u=$=u,c=O=c,i=s;continue;case 2:n=l=n,t=p=W(ni,"footer",t),r=h=r,e=v=e,a=g=a,u=$=u,c=O=c,i=s;continue;case 3:n=l=n,t=p=W(ni,"aside",t),r=h=r,e=v=e,a=g=a,u=$=u,c=O=c,i=s;continue;case 4:var M=_.a;if(1"),t});function rn(n){throw Error("https://github.com/elm/core/blob/1.0.0/hints/"+n+".md")}f(function(n,t){return n+t}),f(function(n,t){return n-t}),f(function(n,t){return n*t}),f(function(n,t){return n/t}),f(function(n,t){return n/t|0}),f(Math.pow),f(function(n,t){return t%n}),f(function(n,t){t%=n;return 0===n?rn(11):0u||u>56319?(e[a]=n(t[a]),a++):(e[a]=n(t[a]+t[a+1]),a+=2)}return e.join("")}),f(function(n,t){for(var r=[],e=t.length,a=0;ac)return a}var l=r.$;if(4===l){for(var d=r.k;4===d.$;)d=d.k;return n(t,d,e,a,u+1,c,t.elm_event_node_ref)}var p=r.e;var h=t.childNodes;for(var v=0;vc))return a;u=$}return a}(n,t,r,0,0,t.b,e)}function Ct(n,t,r,e){return 0===r.length?n:(kt(n,t,r,e),At(n,r))}function At(n,t){for(var r=0;r>n}),f(function(n,t){return t>>>n});function Wt(n){return D(N,"\n ",D(Cr,"\n",n))}function qt(n){return W(o,f(function(n,t){return t+1}),0,n)}function Gt(n){return 97<=(n=Er(n))&&n<=122}function It(n){return(n=Er(n))<=90&&65<=n}function Bt(n){return Gt(n)||It(n)||function(n){n=Er(n);return n<=57&&48<=n}(n)}function Ft(n){return n}function Pt(n){return n.a}function Ht(n){return W(me,ye(G),ge(k),n)}function Rt(n){return Ee(C([Se(_),D(Qr,A,n)]))}function Jt(n){var t,r,e,a,u,c,i,o;return-1===n.$&&-1===n.d.$&&-1===n.e.$?-1!==n.e.d.$||n.e.d.a?(e=(o=n.e).b,a=o.c,u=o.d,o=o.e,s(p,1,n.b,n.c,s(p,0,(t=n.d).b,t.c,t.d,t.e),s(p,0,e,a,u,o))):(e=(r=n.e).b,a=r.c,c=(u=r.d).d,i=u.e,o=r.e,s(p,0,u.b,u.c,s(p,1,n.b,n.c,s(p,0,(t=n.d).b,t.c,t.d,t.e),c),s(p,1,e,a,i,o))):n}function Yt(n){var t,r,e,a,u,c,i,o,f;return-1===n.$&&-1===n.d.$&&-1===n.e.$?-1!==n.d.d.$||n.d.d.a?(c=(f=n.e).b,i=f.c,o=f.d,f=f.e,s(p,1,t=n.b,r=n.c,s(p,0,(a=n.d).b,a.c,a.d,a=a.e),s(p,0,c,i,o,f))):(t=n.b,r=n.c,a=(e=n.d).e,c=(u=n.e).b,i=u.c,o=u.d,f=u.e,s(p,0,e.b,e.c,s(p,1,(u=e.d).b,u.c,u.d,u.e),s(p,1,t,r,a,s(p,0,c,i,o,f)))):n}function Vt(n){var t,r,e,a,u,c;return-1===n.$&&-1===n.d.$?(t=n.a,r=n.b,e=n.c,c=(a=n.d).d,u=n.e,1===a.a?-1!==c.$||c.a?-1===(c=Jt(n)).$?(n=c.e,s(ra,c.a,c.b,c.c,Vt(c.d),n)):Ue:s(p,t,r,e,Vt(a),u):s(p,t,r,e,Vt(a),u)):Ue}function Zt(n){return{$:4,a:n}}function Ut(n){return 1===n.$?{$:2,a:n.a}:{$:3,a:n.a}}function Kt(n){return Na(ma({ch:!1,cq:n.cq,aG:n.aG,bl:n.bl,db:n.db,d1:n.d1,b_:n.b_,a$:n.a$}))}function Xt(n){return Na(ma({ch:!0,cq:n.cq,aG:n.aG,bl:n.bl,db:n.db,d1:n.d1,b_:n.b_,a$:n.a$}))}function Qt(n){return n.Z?Xt:Kt}function t(n){return 31 .ctr > ."+B.cj+" {\n border: 4px dashed rgb(0, 151, 167) !important;\n}\n\n",Y="@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {"+F(B.cj)+(F(B.bS)+(" > "+F(B.cj)+(" { flex-basis: auto !important; } "+F(B.cj)+(F(B.bS)+(" > "+F(B.cj)+(F(B.ap)+' { flex-basis: auto !important; }}\ninput[type="search"],\ninput[type="search"]::-webkit-search-decoration,\ninput[type="search"]::-webkit-search-cancel-button,\ninput[type="search"]::-webkit-search-results-button,\ninput[type="search"]::-webkit-search-results-decoration {\n -webkit-appearance:none;\n}\n\ninput[type=range] {\n -webkit-appearance: none; \n background: transparent;\n position:absolute;\n left:0;\n top:0;\n z-index:10;\n width: 100%;\n outline: dashed 1px;\n height: 100%;\n opacity: 0;\n}\n\ninput[type=range]::-moz-range-track {\n background: transparent;\n cursor: pointer;\n}\ninput[type=range]::-ms-track {\n background: transparent;\n cursor: pointer;\n}\ninput[type=range]::-webkit-slider-runnable-track {\n background: transparent;\n cursor: pointer;\n}\n\ninput[type=range]::-webkit-slider-thumb {\n -webkit-appearance: none;\n opacity: 0.5;\n width: 80px;\n height: 80px;\n background-color: black;\n border:none;\n border-radius: 5px;\n}\ninput[type=range]::-moz-range-thumb {\n opacity: 0.5;\n width: 80px;\n height: 80px;\n background-color: black;\n border:none;\n border-radius: 5px;\n}\ninput[type=range]::-ms-thumb {\n opacity: 0.5;\n width: 80px;\n height: 80px;\n background-color: black;\n border:none;\n border-radius: 5px;\n}\ninput[type=range][orient=vertical]{\n writing-mode: bt-lr; /* IE */\n -webkit-appearance: slider-vertical; /* WebKit */\n}\n'))))))+Yn,xu=f(function(n,t){return{ao:t,m:k,G:k,u:n}}),yu=f(function(n,t){var u=n,n=f(function(n,t){switch(n.$){case 0:return c(t,{G:D(G,{a:n.a,b:n.b},t.G)});case 3:var r=n.a;return c(t,{m:D(G,{ao:"\n}",m:k,G:n.b,u:"@supports ("+r.a+":"+r.b+") {"+u.u},t.m)});case 5:r=n.b;return c(t,{m:D(G,D(yu,D(xu,u.u+" + "+n.a,""),r),t.m)});case 1:var e=n.a,a=n.b;return c(t,{m:D(G,D(yu,D(xu,u.u+" > "+e,""),a),t.m)});case 2:e=n.a,a=n.b;return c(t,{m:D(G,D(yu,D(xu,u.u+" "+e,""),a),t.m)});case 4:r=n.b;return c(t,{m:D(G,D(yu,D(xu,q(u.u,n.a),""),r),t.m)});default:e=n.a;return c(t,{m:D(G,D(yu,D(xu,u.u,""),e),t.m)})}});return W(me,n,u,t)}),ju=q(Y,(yn=q(wn,sn),br=function(n){return fr(D(E,function(n){return n.a+":"+n.b+";"},n))},fr(D(E,ku,W(me,f(function(n,t){var r=n.b;return D(G,D(yu,D(xu,n.a,""),r),t)}),k,yn)))));function ku(n){return q(function(n){return n.G.b?n.u+("{"+br(n.G))+(n.ao+"}"):""}(n),fr(D(E,ku,n.m)))}function Cu(n){switch(n.dc){case 0:return W(ar,"div",k,C([W(ar,"style",k,C([Gu(ju)]))]));case 1:return Gu("");default:return W(ar,"elm-ui-static-rules",C([D(gu,"rules",ru(ju))]),k)}}function Au(n){switch(n.$){case 0:return"serif";case 1:return"sans-serif";case 2:return"monospace";case 3:return'"'+(t=n.a)+'"';case 4:var t=n.a;return'"'+t+'"';default:return'"'+(t=n.a.dd)+'"'}}function _u(n){switch(n.$){case 0:return"smcp"===n.a;case 1:return!1;default:return"smcp"===n.a&&1===n.b}}function Nu(n){return 5===n.$&&D(Bu,_u,n.a.b1)}function Su(n){switch(n.$){case 0:return'"'+n.a+'"';case 1:return'"'+n.a+'" 0';default:return'"'+n.a+('" '+I(n.b))}}function Eu(n){return 5===n.$?A(D(N,", ",D(E,Su,n.a.b1))):_}function Ou(n){return n.b?A(W(o,Fu,n.a,n.b)):_}function zu(n){function t(n){return 4===n.$?A("@import url('"+n.b+"');"):_}var r=D(E,Pt,n);return q(D(N,"\n",D(E,function(n){return D(N,"\n",D(Ca,t,n.b))},n)),D(N,"\n",D(E,function(n){var t=n.a,n=function(n){return W(o,f(function(n,t){return 1!==t.$||5!==n.$||1===(n=n.a.b8).$?t:A({a:Qu(Xu(t=n.a).bk),b:Qu(Xu(t).cz)})}),_,n)}(n.b);return D(N,"",D(E,1===n.$?Zu(t):D(Vu,t,n.a),r))},n)))}function Lu(n){return rt(ct(n))}function Mu(n){return D(au,C([eu(dc)]),C([lc(n)]))}function Tu(n){return D(au,C([eu(pc)]),C([lc(n)]))}function Du(n){switch(n.$){case 0:var t=I(n.a),r="height-px-"+t;return{a:Sc,b:B.bm+" "+r,c:C([W(vc,r,"height",t+"px")])};case 1:return{a:D(H,_c,Sc),b:B.aL,c:k};case 2:r=n.a;return 1===r?{a:D(H,uc,Sc),b:B.aM,c:k}:{a:D(H,uc,Sc),b:B.bn+(" height-fill-"+I(r)),c:C([W(vc,B.cj+("."+B.C+(" > "+F("height-fill-"+I(r)))),"flex-grow",I(1e5*r))])};case 3:var t=n.a,e=n.b,a="min-height-"+I(t),u=W(vc,a,"min-height",I(t)+"px !important"),r=Du(e),c=r.a,i=r.b,o=r.c;return{a:D(H,ac,c),b:a+" "+i,c:D(G,u,o)};default:t=n.a,e=n.b,a="max-height-"+I(t),u=W(vc,a,"max-height",I(t)+"px"),r=Du(e),c=r.a,i=r.b,o=r.c;return{a:D(H,ac,c),b:a+" "+i,c:D(G,u,o)}}}function Wu(n){switch(n.$){case 0:var t=n.a;return{a:Sc,b:B.b4+(" width-px-"+I(t)),c:C([W(vc,"width-px-"+I(t),"width",I(t)+"px")])};case 1:return{a:D(H,Ec,Sc),b:B.a0,c:k};case 2:t=n.a;return 1===t?{a:D(H,sc,Sc),b:B.a1,c:k}:{a:D(H,sc,Sc),b:B.b5+(" width-fill-"+I(t)),c:C([W(vc,B.cj+("."+B.bS+(" > "+F("width-fill-"+I(t)))),"flex-grow",I(1e5*t))])};case 3:var t=n.a,r=n.b,e="min-width-"+I(t),a=W(vc,e,"min-width",I(t)+"px"),t=Wu(r),u=t.a,c=t.b,i=t.c;return{a:D(H,fc,u),b:e+" "+c,c:D(G,a,i)};default:t=n.a,r=n.b,e="max-width-"+I(t),a=W(vc,e,"max-width",I(t)+"px"),t=Wu(r),u=t.a,c=t.b,i=t.c;return{a:D(H,fc,u),b:e+" "+c,c:D(G,a,i)}}}function qu(n){return{$:3,a:n}}var Gu=nt,Iu=f(function(n,t){return W(o,function(r){return f(function(n,t){return t.push(r(n)),t})}(n),[],t)}),Bu=f(function(n,t){for(;;){if(!t.b)return!1;var r=t.b;if(n(t.a))return!0;n=n,t=r}}),Fu=f(function(n,t){return l(n,t)<0?n:t}),Pu=y(function(n,t,r){var e=t.a,t=t.b;return n?r+"\n "+e+": "+t+" !important;":r+"\n "+e+": "+t+";"}),L=n(function(n,t,r,e){if(1===t.$)return C([r+("{"+W(o,Pu(!1),"",e))+"\n}"]);switch(t.a){case 1:switch(n.cY){case 0:return k;case 2:return C([r+("-hv {"+W(o,Pu(!0),"",e))+"\n}"]);default:return C([r+("-hv:hover {"+W(o,Pu(!1),"",e))+"\n}"])}case 0:var a=W(o,Pu(!1),"",e);return C([r+"-fs:focus {"+a+"\n}","."+B.cj+":focus "+r+"-fs {"+a+"\n}",r+"-fs:focus-within {"+a+"\n}",".ui-slide-bar:focus + "+F(B.cj)+" .focusable-thumb"+r+"-fs {"+a+"\n}"]);default:return C([r+("-act:active {"+W(o,Pu(!1),"",e))+"\n}"])}}),Hu=y(function(t,n,r){switch(n.$){case 0:return j(L,t,r,n.a,n.b);case 13:return j(L,t,r,"."+(e=n.a),C([D(O,"box-shadow",n.b)]));case 12:var e=n.a,a=D(Rr,0,D(Fu,1,1-n.b));return j(L,t,r,"."+e,C([D(O,"opacity",z(a))]));case 2:a=n.a;return j(L,t,r,".font-size-"+I(a),C([D(O,"font-size",I(a)+"px")]));case 1:var e=n.a,a=n.b,u=D(N,", ",D(Ca,Eu,a)),u=C([D(O,"font-family",D(N,", ",D(E,Au,a))),D(O,"font-feature-settings",u),D(O,"font-variant",D(Bu,Nu,a)?"small-caps":"normal")]);return j(L,t,r,"."+e,u);case 3:return j(L,t,r,"."+(v=n.a),C([D(O,n.b,x=n.c)]));case 4:return j(L,t,r,"."+(v=n.a),C([D(O,n.b,du(n.c))]));case 5:var c=n.a,a=n.b,e=n.c,u=I(e)+"px",i=I(a)+"px",o="."+B.bS,f="."+B.a3+o,s="."+B.a6,b="."+B.bE,l="."+B.bD,d="."+B.a5,p=z(e/2)+"px",a=z(a/2)+"px",h="."+B.C,v="."+c,g="."+B.cj;return ur(C([j(L,t,r,v+o+" > "+g+" + "+g,C([D(O,"margin-left",i)])),j(L,t,r,v+f+" > "+g,C([D(O,"margin",p+" "+a)])),j(L,t,r,v+h+" > "+g+" + "+g,C([D(O,"margin-top",u)])),j(L,t,r,v+l+" > "+g+" + "+g,C([D(O,"margin-top",u)])),j(L,t,r,v+l+" > "+d,C([D(O,"margin-right",i)])),j(L,t,r,v+l+" > "+s,C([D(O,"margin-left",i)])),j(L,t,r,q(v,b),C([D(O,"line-height","calc(1em + "+I(e)+"px)")])),j(L,t,r,"textarea"+g+v,C([D(O,"line-height","calc(1em + "+I(e)+"px)"),D(O,"height","calc(100% + "+I(e)+"px)")])),j(L,t,r,v+b+" > "+d,C([D(O,"margin-right",i)])),j(L,t,r,v+b+" > "+s,C([D(O,"margin-left",i)])),j(L,t,r,v+b+"::after",C([D(O,"content","''"),D(O,"display","block"),D(O,"height","0"),D(O,"width","0"),D(O,"margin-top",I(-1*(e/2|0))+"px")])),j(L,t,r,v+b+"::before",C([D(O,"content","''"),D(O,"display","block"),D(O,"height","0"),D(O,"width","0"),D(O,"margin-bottom",I(-1*(e/2|0))+"px")]))]));case 7:var c=n.a,$=n.b,s=n.c,m=n.d,d=n.e;return j(L,t,r,v="."+c,C([D(O,"padding",z($)+("px "+z(s)+("px "+z(m)+("px "+z(d))))+"px")]));case 6:c=n.a,$=n.b,s=n.c,m=n.d,d=n.e;return j(L,t,r,v="."+c,C([D(O,"border-width",I($)+("px "+I(s)+("px "+I(m)+("px "+I(d))))+"px")]));case 8:var o=n.a,w=y(function(n,t,r){for(;;)switch(r.$){case 0:return I(r.a)+"px";case 1:var e={a:n,b:t};return 1===e.a.$?1===e.b.$?"max-content":"minmax(max-content, "+I(a=e.b.a)+"px)":1===e.b.$?"minmax("+I(e.a.a)+"px, max-content)":(a=e.b.a,"minmax("+I(e.a.a)+("px, "+I(a))+"px)");case 2:var a,e=r.a,u={a:n,b:t};return 1===u.a.$?1===u.b.$?I(e)+"fr":"minmax(max-content, "+I(a=u.b.a)+"px)":1===u.b.$?"minmax("+I(u.a.a)+("px, "+I(e))+"frfr)":(a=u.b.a,"minmax("+I(u.a.a)+("px, "+I(a))+"px)");case 3:var c=r.a,i=r.b;n=A(c),t=t,r=i;continue;default:c=r.a,i=r.b;n=n,t=A(c),r=i;continue}}),f=function(n){return W(w,_,_,n)},p=(f(o.dF.a),f(o.dF.b)),a="grid-template-rows: "+D(N," ",D(E,f,o.dt))+";",h="-ms-grid-rows: "+D(N,p,D(E,f,o.w))+";",u="-ms-grid-columns: "+D(N,p,D(E,f,o.w))+";",l="grid-row-gap:"+f(o.dF.b)+";",g="grid-column-gap:"+f(o.dF.a)+";",i="grid-template-columns: "+D(N," ",D(E,f,o.w))+";";return C([(v=".grid-rows-"+D(N,"-",D(E,cu,o.dt))+("-cols-"+D(N,"-",D(E,cu,o.w))+("-space-x-"+cu(o.dF.a)+("-space-y-"+cu(o.dF.b)))))+"{"+u+h+"}","@supports (display:grid) {"+(v+"{"+i+a+g+l+"}")+"}"]);case 9:b=n.a,e=D(N," ",C(["-ms-grid-row: "+I(b.bS)+";","-ms-grid-row-span: "+I(b.V)+";","-ms-grid-column: "+I(b.bb)+";","-ms-grid-column-span: "+I(b.ab)+";"])),$=D(N," ",C(["grid-row: "+I(b.bS)+(" / "+I(b.bS+b.V))+";","grid-column: "+I(b.bb)+(" / "+I(b.bb+b.ab))+";"]));return C([(v=".grid-pos-"+I(b.bS)+("-"+I(b.bb)+("-"+I(b.ab)+("-"+I(b.V)))))+"{"+e+"}","@supports (display:grid) {"+(v+"{"+$+"}")+"}"]);case 11:v=n.a;return D(wu,function(n){return W(Hu,t,n,A(v))},n.b);default:var s=n.a,x=function(n){switch(n.$){case 0:return _;case 1:var t=n.a,r=t.b,e=t.c;return A("translate3d("+z(t.a)+("px, "+z(r)+("px, "+z(e)))+"px)");default:var t=n.a,r=t.b,e=t.c,a=n.b,u=a.a,c=a.b,a=a.c,i=n.c,o=i.a,f=i.b,i=i.c,s=n.d,t="translate3d("+z(t.a)+("px, "+z(r)+("px, "+z(e)))+"px)",r="scale3d("+z(u)+(", "+z(c)+(", "+z(a)))+")",e="rotate3d("+z(o)+(", "+z(f)+(", "+z(i)+(", "+z(s))))+"rad)";return A(t+" "+r+" "+e)}}(s),m={a:v=nr(s),b:x};return m.a.$||m.b.$?k:j(L,t,r,"."+(c=m.a.a),C([D(O,"transform",m.b.a)]))}}),Ru=f(function(r,n){return n=D(E,function(n){var t=W(Hu,r,n,_);return{a:tr(n),b:D(Iu,ru,t)}},n),W(o,f(function(n,t){return W(Ln,n.a,n.b,t)}),{},n)}),Ju=f(function(n,t){return n+(" {"+D(N,"",D(E,function(n){return n.a+": "+n.b+";"},t)))+"}"}),Yu=y(function(n,t,r){var e=r.b;return C([D(Ju,"."+n+"."+t+", ."+n+" ."+t,r.a),D(Ju,"."+n+"."+t+"> ."+B.r+", ."+n+" ."+t+" > ."+B.r,e)])}),Vu=y(function(n,t,r){var e=t.a,t=t.b,r=b(n,r)?n:r+" ."+n;return D(N," ",q(W(Yu,r,B.dD,t),W(Yu,r,B.cP,e)))}),Zu=f(function(n,t){t=b(n,t)?n:t+" ."+n;return D(N," ",C([D(Ju,"."+t+"."+B.dD+", ."+t+" ."+B.dD,C([{a:"line-height",b:"1"}])),D(Ju,"."+t+"."+B.dD+"> ."+B.r+", ."+t+" ."+B.dD+" > ."+B.r,C([{a:"vertical-align",b:"0"},{a:"line-height",b:"1"}]))]))}),Uu=y(function(n,t,r){return{V:t/n,bW:n,b2:r}}),Ku=f(function(r,n){return W(me,f(function(n,t){return r(n)?D(G,n,t):t}),k,n)}),Xu=function(n){var t=C([n.cz,n.cn,n.cI,n.da]),r=D(iu,n.cI,Ou(t)),e=D(iu,n.cn,Ou(D(Ku,function(n){return!b(n,r)},t))),t=D(iu,n.cz,(n=t).b?A(W(o,Rr,n.a,n.b)):_),n=1/(t-r),a=1-t;return{cz:W(Uu,1/(t-e),t-e,1-t),bk:W(Uu,n,t-r,a)}},Qu=function(n){return{a:C([{a:"display",b:"block"}]),b:C([{a:"display",b:"inline-block"},{a:"line-height",b:z(n.V)},{a:"vertical-align",b:z(n.b2)+"em"},{a:"font-size",b:z(n.bW)+"em"}])}},nc=f(function(r,n){var t=f(function(n,t){return{aw:q(t.aw,W(Hu,r,n,_)),aj:1===(n=1===(n=n).$?A({a:n.a,b:n.b}):_).$?t.aj:D(G,n.a,t.aj)}}),t=W(o,t,{aw:k,aj:k},n),n=t.aw;return q(zu(t.aj),fr(n))}),tc=f(function(n,t){switch(n.dc){case 0:case 1:return W(ar,"div",k,C([W(ar,"style",k,C([Gu(D(nc,n,t))]))]));default:return W(ar,"elm-ui-rules",C([D(gu,"rules",D(Ru,n,t))]),k)}}),rc=n(function(n,t,r,e){r=D(tc,t,W(o,bu,{a:uu,b:er(t.cO)},r).b);return n?D(G,{a:"static-stylesheet",b:Cu(t)},D(G,{a:"dynamic-stylesheet",b:r},e)):D(G,{a:"dynamic-stylesheet",b:r},e)}),ec=n(function(n,t,r,e){r=D(tc,t,W(o,bu,{a:uu,b:er(t.cO)},r).b);return n?D(G,Cu(t),D(G,r,e)):D(G,r,e)}),ac=t(45),uc=t(37),cc=tt("p"),P=f(function(n,t){var r,e=t.a;return n.$?b((r=n.a)&t.b,r):b((t=n.a)&e,t)}),ic=tt("s"),oc=tt("u"),fc=t(44),sc=t(39),bc=$(function(n,t,r,a,u,e){var c=f(function(n,t){var r,e;return 1===a.$?(r=a.a,W(Lu,n,t,function(){switch(u.$){case 0:return r;case 2:return j(rc,!1,u.a,u.b,r);default:return j(rc,!0,u.a,u.b,r)}}())):(e=a.a,D(function(){switch(n){case"div":return au;case"p":return cc;default:return ar(n)}}(),t,function(){switch(u.$){case 0:return e;case 2:return j(ec,!1,u.a,u.b,e);default:return j(ec,!0,u.a,u.b,e)}}()))}),i=function(){switch(t.$){case 0:return D(c,"div",r);case 1:return D(c,t.a,r);default:return W(ar,t.a,r,C([D(c,t.b,C([eu(B.cj+" "+B.dC)]))]))}}();switch(e){case 0:return D(P,sc,n)&&!D(P,fc,n)?i:D(P,Qa,n)?D(oc,C([eu(D(N," ",C([B.cj,B.dC,B.ap,B.D,B.cf])))]),C([i])):D(P,nu,n)?D(ic,C([eu(D(N," ",C([B.cj,B.dC,B.ap,B.D,B.cd])))]),C([i])):i;case 1:return D(P,uc,n)&&!D(P,ac,n)?i:D(P,tu,n)?D(ic,C([eu(D(N," ",C([B.cj,B.dC,B.ap,B.ce])))]),C([i])):D(P,Xa,n)?D(oc,C([eu(D(N," ",C([B.cj,B.dC,B.ap,B.cc])))]),C([i])):i;default:return i}}),lc=Gu,dc=B.cj+" "+B.r+" "+B.a0+" "+B.aL,pc=B.cj+" "+B.r+" "+B.a1+" "+B.aM,hc=y(function(i,n,t){var r,e,a,u,c=f(function(n,t){var r=n.a,e=n.b,a=t.a,u=t.b;switch(e.$){case 0:var c=e.a;return b(i,4),{a:D(G,{a:r,b:c(i)},a),b:u};case 1:c=e.a;return b(i,4),{a:D(G,{a:r,b:D(c.cZ,Za,i)},a),b:u.b?q(c.dN,u):c.dN};case 2:c=e.a;return{a:D(G,{a:r,b:(b(i,2)?Tu:Mu)(c)},a),b:u};default:return{a:a,b:u}}}),o=f(function(n,t){var r=t.a,e=t.b;switch(n.$){case 0:var a=n.a;return b(i,4),{a:D(G,a(i),r),b:e};case 1:a=n.a;return b(i,4),{a:D(G,D(a.cZ,Za,i),r),b:e.b?q(a.dN,e):a.dN};case 2:a=n.a;return{a:D(G,(b(i,2)?Tu:Mu)(a),r),b:e};default:return{a:r,b:e}}});return 1===n.$?(r=(c=W(me,c,{a:k,b:k},n.a)).a,(a=(e=c.b).b?q(t.dN,e):t.dN).b?(u=a,{$:1,a:{cZ:j(bc,t.M,t.O,t.I,{$:1,a:W(Ka,"nearby-element-pls",r,t.J)}),dN:u}}):{$:0,a:s(bc,t.M,t.O,t.I,{$:1,a:W(Ka,"nearby-element-pls",r,t.J)},Za)}):(r=(c=W(me,o,{a:k,b:k},n.a)).a,(a=(e=c.b).b?q(t.dN,e):t.dN).b?(u=a,{$:1,a:{cZ:j(bc,t.M,t.O,t.I,{$:0,a:D(Ua,r,t.J)}),dN:u}}):{$:0,a:s(bc,t.M,t.O,t.I,{$:0,a:D(Ua,r,t.J)},Za)})}),vc=y(function(n,t,r){return{$:3,a:n,b:t,c:r}}),gc=f(function(n,t){return{$:0,a:n,b:t}}),H=f(function(n,t){var r=t.a,t=t.b;return n.$?D(gc,r,n.a|t):D(gc,n.a|r,t)}),$c=f(function(n,t){return{$:3,a:n,b:t}}),mc=f(function(n,t){return D(au,C([eu(function(){switch(n){case 0:return D(N," ",C([B.W,B.dC,B.b7]));case 1:return D(N," ",C([B.W,B.dC,B.cp]));case 2:return D(N," ",C([B.W,B.dC,B.dg]));case 3:return D(N," ",C([B.W,B.dC,B.de]));case 4:return D(N," ",C([B.W,B.dC,B.c0]));default:return D(N," ",C([B.W,B.dC,B.co]))}}())]),C([function(){switch(t.$){case 3:return Gu("");case 2:return Mu(t.a);case 0:return(0,t.a)(2);default:return D(t.a.cZ,Za,2)}}()]))}),wc=y(function(n,t,r){var e=D(mc,n,t);switch(r.$){case 0:return 5===n?{$:1,a:C([e])}:{$:2,a:C([e])};case 1:var a=r.a;return 5===n?{$:1,a:D(G,e,a)}:D($c,a,C([e]));case 2:var u=r.a;return 5===n?D($c,C([e]),u):{$:2,a:D(G,e,u)};default:a=r.a,u=r.b;return 5===n?D($c,D(G,e,a),u):D($c,a,D(G,e,u))}}),xc=f(function(n,t){return{$:2,a:n,b:t}}),yc=f(function(n,t){switch(t.$){case 0:return{$:1,a:n};case 1:return D(xc,t.a,n);default:return D(xc,t.a,t.b)}}),jc=f(function(n,t){return D(ut,function(n){return/^(on|formAction$)/i.test(n)?"data-"+n:n}(n),it(t))}),kc=n(function(n,t,r,e){return{$:2,a:n,b:t,c:r,d:e}}),Cc=f(function(n,t){switch(n.$){case 0:switch(t.$){case 0:return{$:1,a:{a:r=t.a,b:0,c:0}};case 1:return{$:1,a:{a:0,b:e=t.a,c:0}};case 2:return{$:1,a:{a:0,b:0,c:a=t.a}};case 3:return{$:1,a:t.a};case 4:return j(kc,{a:0,b:0,c:0},{a:1,b:1,c:1},t.a,o=t.b);default:return j(kc,{a:0,b:0,c:0},t.a,{a:0,b:0,c:1},0)}case 1:var r=(u=n.a).a,e=u.b,a=u.c;switch(t.$){case 0:return{$:1,a:{a:t.a,b:e,c:a}};case 1:return{$:1,a:{a:r,b:t.a,c:a}};case 2:return{$:1,a:{a:r,b:e,c:t.a}};case 3:return{$:1,a:t.a};case 4:return j(kc,u,{a:1,b:1,c:1},t.a,o=t.b);default:return j(kc,u,t.a,{a:0,b:0,c:1},0)}default:var u,r=(u=n.a).a,e=u.b,a=u.c,c=n.b,i=n.c,o=n.d;switch(t.$){case 0:return j(kc,{a:t.a,b:e,c:a},c,i,o);case 1:return j(kc,{a:r,b:t.a,c:a},c,i,o);case 2:return j(kc,{a:r,b:e,c:t.a},c,i,o);case 3:return j(kc,t.a,c,i,o);case 4:return j(kc,u,c,t.a,t.b);default:return j(kc,u,t.a,i,o)}}}),Ac=t(7),_c=t(36),Nc=f(function(n,t){return D(gc,n.a|t.a,n.b|t.b)}),Sc=D(gc,0,0),Ec=t(38),Oc=t(27),zc=f(function(n,t){if(b(n,Oc)){if(3!==t.$)return!1;switch(t.c){case"0px":case"1px":case"2px":case"3px":case"4px":case"5px":case"6px":return!0;default:return!1}}else switch(t.$){case 2:var r=t.a;return 8<=r&&r<=32;case 7:var r=t.b,e=t.c,a=t.e;return b(r,t.d)&&b(r,e)&&b(r,a)&&0<=r&&r<=24;default:return!1}}),Lc=t(6),Mc=t(30),Tc=t(29),Dc=w(function(n,t,r,e,a,u,c,i){for(;;){var o;if(!i.b)return 1===(o=nr(e)).$?{I:D(G,eu(n),u),J:c,M:r,O:t,dN:a}:{I:D(G,eu(n+" "+o.a),u),J:c,M:r,O:t,dN:D(G,{$:10,a:e},a)};var f=i.a,s=i.b;switch(f.$){case 0:n=d=n,t=p=t,r=h=r,e=v=e,a=g=a,u=$=u,c=L=c,i=s;continue;case 3:var b=f.a,l=f.b;if(D(P,b,r)){n=d=n,t=p=t,r=h=r,e=v=e,a=g=a,u=$=u,c=L=c,i=s;continue}n=d=l+" "+n,t=p=t,r=h=D(H,b,r),e=v=e,a=g=a,u=$=u,c=L=c,i=s;continue;case 1:var d=n,p=t,h=r,v=e,g=a,$=D(G,f.a,u);n=d,t=p,r=h,e=v,a=g,u=$,c=L=c,i=s;continue;case 4:b=f.a,l=f.b;if(D(P,b,r)){n=d=n,t=p=t,r=h=r,e=v=e,a=g=a,u=$=u,c=L=c,i=s;continue}if(D(zc,b,l)){n=d=tr(l)+" "+n,t=p=t,r=h=D(H,b,r),e=v=e,a=g=a,u=$=u,c=L=c,i=s;continue}d=tr(l)+" "+n,p=t,h=D(H,b,r),v=e,g=D(G,l,a);n=d,t=p,r=h,e=v,a=g,u=$=u,c=L=c,i=s;continue;case 10:var b=f.a,m=f.b;n=d=n,t=p=t,r=h=D(H,b,r),e=v=D(Cc,e,m),a=g=a,u=$=u,c=L=c,i=s;continue;case 7:var w=f.a;if(D(P,Lc,r)){n=d=n,t=p=t,r=h=r,e=v=e,a=g=a,u=$=u,c=L=c,i=s;continue}switch(w.$){case 0:var x=w.a,d=B.b4+(" width-px-"+I(x))+" "+n,p=t,h=D(H,Lc,r),v=e,g=D(G,W(vc,"width-px-"+I(x),"width",I(x)+"px"),a);n=d,t=p,r=h,e=v,a=g,u=$=u,c=L=c,i=s;continue;case 1:n=d=n+" "+B.a0,t=p=t,r=h=D(H,Ec,D(H,Lc,r)),e=v=e,a=g=a,u=$=u,c=L=c,i=s;continue;case 2:if(1===(A=w.a)){n=d=n+" "+B.a1,t=p=t,r=h=D(H,sc,D(H,Lc,r)),e=v=e,a=g=a,u=$=u,c=L=c,i=s;continue}d=n+(" "+B.b5+(" width-fill-"+I(A))),p=t,h=D(H,sc,D(H,Lc,r)),v=e,g=D(G,W(vc,B.cj+("."+B.bS+(" > "+F("width-fill-"+I(A)))),"flex-grow",I(1e5*A)),a);n=d,t=p,r=h,e=v,a=g,u=$=u,c=L=c,i=s;continue;default:var y=Wu(w),j=y.a,k=y.b,C=y.c,d=n+" "+k,p=t,h=D(Nc,j,D(H,Lc,r)),v=e,g=q(C,a);n=d,t=p,r=h,e=v,a=g,u=$=u,c=L=c,i=s;continue}case 8:var A,_=f.a;if(D(P,Ac,r)){n=d=n,t=p=t,r=h=r,e=v=e,a=g=a,u=$=u,c=L=c,i=s;continue}switch(_.$){case 0:var N=I(x=_.a)+"px",S="height-px-"+N,d=B.bm+" "+S+" "+n,p=t,h=D(H,Ac,r),v=e,g=D(G,W(vc,S,"height ",N),a);n=d,t=p,r=h,e=v,a=g,u=$=u,c=L=c,i=s;continue;case 1:n=d=B.aL+" "+n,t=p=t,r=h=D(H,_c,D(H,Ac,r)),e=v=e,a=g=a,u=$=u,c=L=c,i=s;continue;case 2:if(1===(A=_.a)){n=d=B.aM+" "+n,t=p=t,r=h=D(H,uc,D(H,Ac,r)),e=v=e,a=g=a,u=$=u,c=L=c,i=s;continue}d=n+(" "+B.bn+(" height-fill-"+I(A))),p=t,h=D(H,uc,D(H,Ac,r)),v=e,g=D(G,W(vc,B.cj+("."+B.C+(" > "+F("height-fill-"+I(A)))),"flex-grow",I(1e5*A)),a);n=d,t=p,r=h,e=v,a=g,u=$=u,c=L=c,i=s;continue;default:var S=Du(_),j=S.a,k=S.b,C=S.c,d=n+" "+k,p=t,h=D(Nc,j,D(H,Ac,r)),v=e,g=q(C,a);n=d,t=p,r=h,e=v,a=g,u=$=u,c=L=c,i=s;continue}case 2:var E=f.a;switch(E.$){case 0:n=d=n,t=p=D(yc,"main",t),r=h=r,e=v=e,a=g=a,u=$=u,c=L=c,i=s;continue;case 1:n=d=n,t=p=D(yc,"nav",t),r=h=r,e=v=e,a=g=a,u=$=u,c=L=c,i=s;continue;case 2:n=d=n,t=p=D(yc,"footer",t),r=h=r,e=v=e,a=g=a,u=$=u,c=L=c,i=s;continue;case 3:n=d=n,t=p=D(yc,"aside",t),r=h=r,e=v=e,a=g=a,u=$=u,c=L=c,i=s;continue;case 4:var O=E.a;if(1"),t});function un(n){throw Error("https://github.com/elm/core/blob/1.0.0/hints/"+n+".md")}var cn=g(function(n,t){return n+t}),on=(g(function(n,t){return n-t}),g(function(n,t){return n*t}),g(function(n,t){return n/t}),g(function(n,t){return n/t|0}),g(Math.pow),g(function(n,t){return t%n}),g(function(n,t){t%=n;return 0===n?un(11):0u||u>56319?(e[a]=n(t[a]),a++):(e[a]=n(t[a]+t[a+1]),a+=2)}return e.join("")}),g(function(n,t){for(var r=[],e=t.length,a=0;ac)return a}var d=r.$;if(4===d){for(var l=r.k;4===l.$;)l=l.k;return n(t,l,e,a,u+1,c,t.elm_event_node_ref)}var p=r.e;var $=t.childNodes;for(var v=0;vc))return a;u=g}return a}(n,t,r,0,0,t.b,e)}function Jt(n,t,r,e){return 0===r.length?n:(Gt(n,t,r,e),Ft(n,r))}function Ft(n,t){for(var r=0;r>n}),g(function(n,t){return t>>>n});function ur(n){return O(L,"\n ",O(ge,"\n",n))}function cr(n){return T(me,g(function(n,t){return t+1}),0,n)}function ir(n){return 97<=(n=ke(n))&&n<=122}function or(n){return(n=ke(n))<=90&&65<=n}function fr(n){return ir(n)||or(n)||function(n){n=ke(n);return n<=57&&48<=n}(n)}function sr(n){return n}function br(n){return n.a}function dr(n){return T(la,va(M),ba(k),n)}function lr(n){return{$:1,a:n}}function pr(n){return{ab:(t=O(ka,n.b,n.bD),r=O(Ie,n.b,n.bD),t<600?0:1200 .ctr > ."+J.d0+" {\n border: 4px dashed rgb(0, 151, 167) !important;\n}\n\n",Ut="@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {"+F(J.d0)+(F(J.be)+(" > "+F(J.d0)+(" { flex-basis: auto !important; } "+F(J.d0)+(F(J.be)+(" > "+F(J.d0)+(F(J.bw)+' { flex-basis: auto !important; }}\ninput[type="search"],\ninput[type="search"]::-webkit-search-decoration,\ninput[type="search"]::-webkit-search-cancel-button,\ninput[type="search"]::-webkit-search-results-button,\ninput[type="search"]::-webkit-search-results-decoration {\n -webkit-appearance:none;\n}\n\ninput[type=range] {\n -webkit-appearance: none; \n background: transparent;\n position:absolute;\n left:0;\n top:0;\n z-index:10;\n width: 100%;\n outline: dashed 1px;\n height: 100%;\n opacity: 0;\n}\n\ninput[type=range]::-moz-range-track {\n background: transparent;\n cursor: pointer;\n}\ninput[type=range]::-ms-track {\n background: transparent;\n cursor: pointer;\n}\ninput[type=range]::-webkit-slider-runnable-track {\n background: transparent;\n cursor: pointer;\n}\n\ninput[type=range]::-webkit-slider-thumb {\n -webkit-appearance: none;\n opacity: 0.5;\n width: 80px;\n height: 80px;\n background-color: black;\n border:none;\n border-radius: 5px;\n}\ninput[type=range]::-moz-range-thumb {\n opacity: 0.5;\n width: 80px;\n height: 80px;\n background-color: black;\n border:none;\n border-radius: 5px;\n}\ninput[type=range]::-ms-thumb {\n opacity: 0.5;\n width: 80px;\n height: 80px;\n background-color: black;\n border:none;\n border-radius: 5px;\n}\ninput[type=range][orient=vertical]{\n writing-mode: bt-lr; /* IE */\n -webkit-appearance: slider-vertical; /* WebKit */\n}\n'))))))+fn,Ci=g(function(n,t){return{bs:t,H:k,as:k,_:n}}),Mi=g(function(n,t){var u=n,n=g(function(n,t){switch(n.$){case 0:return _(t,{as:O(M,{a:n.a,b:n.b},t.as)});case 3:var r=n.a;return _(t,{H:O(M,{bs:"\n}",H:k,as:n.b,_:"@supports ("+r.a+":"+r.b+") {"+u._},t.H)});case 5:r=n.b;return _(t,{H:O(M,O(Mi,O(Ci,u._+" + "+n.a,""),r),t.H)});case 1:var e=n.a,a=n.b;return _(t,{H:O(M,O(Mi,O(Ci,u._+" > "+e,""),a),t.H)});case 2:e=n.a,a=n.b;return _(t,{H:O(M,O(Mi,O(Ci,u._+" "+e,""),a),t.H)});case 4:r=n.b;return _(t,{H:O(M,O(Mi,O(Ci,C(u._,n.a),""),r),t.H)});default:e=n.a;return _(t,{H:O(M,O(Mi,O(Ci,u._,""),e),t.H)})}});return T(la,n,u,t)}),Ii=C(Ut,(cn=C(yn,en),re=function(n){return Vr(O(z,function(n){return n.a+":"+n.b+";"},n))},Vr(O(z,Gi,T(la,g(function(n,t){var r=n.b;return O(M,O(Mi,O(Ci,n.a,""),r),t)}),k,cn)))));function Gi(n){return C(function(n){return n.as.b?n._+("{"+re(n.as))+(n.bs+"}"):""}(n),Vr(O(z,Gi,n.H)))}function Ji(n){switch(n.eP){case 0:return T(Kr,"div",k,j([T(Kr,"style",k,j([Oo(Ii)]))]));case 1:return Oo("");default:return T(Kr,"elm-ui-static-rules",j([O(Bi,"rules",Fc(Ii))]),k)}}function Fi(n){switch(n.$){case 0:return"serif";case 1:return"sans-serif";case 2:return"monospace";case 3:return'"'+(t=n.a)+'"';case 4:var t=n.a;return'"'+t+'"';default:return'"'+(t=n.a.k)+'"'}}function Qi(n){switch(n.$){case 0:return"smcp"===n.a;case 1:return!1;default:return"smcp"===n.a&&1===n.b}}function Ui(n){return 5===n.$&&O(Uc,Qi,n.a.dK)}function Pi(n){switch(n.$){case 0:return'"'+n.a+'"';case 1:return'"'+n.a+'" 0';default:return'"'+n.a+('" '+I(n.b))}}function Wi(n){return 5===n.$?A(O(L,", ",O(z,Pi,n.a.dK))):S}function Yi(n){return n.b?A(T(me,Ie,n.a,n.b)):S}function Ki(n){return n.b?A(T(me,ka,n.a,n.b)):S}function Ri(n){function t(n){return 4===n.$?A("@import url('"+n.b+"');"):S}var r=O(z,br,n);return C(O(L,"\n",O(z,function(n){return O(L,"\n",O(Ia,t,n.b))},n)),O(L,"\n",O(z,function(n){var t=n.a,n=function(n){return T(me,g(function(n,t){return 1!==t.$||5!==n.$||1===(n=n.a.dR).$?t:A({a:Ko(Yo(t=n.a).cO),b:Ko(Yo(t).ee)})}),S,n)}(n.b);return O(L,"",O(z,1===n.$?Uo(t):O(Qo,t,n.a),r))},n)))}function Zi(n){return $t(wt(n))}function Xi(n){return O(wi,j([G(bf)]),j([sf(n)]))}function Vi(n){return O(wi,j([G(df)]),j([sf(n)]))}function no(n){switch(n.$){case 0:var t=I(n.a),r="height-px-"+t;return{a:zf,b:J.cT+" "+r,c:j([T(pf,r,"height",t+"px")])};case 1:return{a:O(hf,Sf,zf),b:J.b3,c:k};case 2:r=n.a;return 1===r?{a:O(hf,tf,zf),b:J.b4,c:k}:{a:O(hf,tf,zf),b:J.cU+(" height-fill-"+I(r)),c:j([T(pf,J.d0+("."+J.aj+(" > "+F("height-fill-"+I(r)))),"flex-grow",I(1e5*r))])};case 3:var t=n.a,e=n.b,a="min-height-"+I(t),u=T(pf,a,"min-height",I(t)+"px !important"),r=no(e),c=r.a,i=r.b,o=r.c;return{a:O(hf,nf,c),b:a+" "+i,c:O(M,u,o)};default:t=n.a,e=n.b,a="max-height-"+I(t),u=T(pf,a,"max-height",I(t)+"px"),r=no(e),c=r.a,i=r.b,o=r.c;return{a:O(hf,nf,c),b:a+" "+i,c:O(M,u,o)}}}function to(n){switch(n.$){case 0:var t=n.a;return{a:zf,b:J.dM+(" width-px-"+I(t)),c:j([T(pf,"width-px-"+I(t),"width",I(t)+"px")])};case 1:return{a:O(hf,Nf,zf),b:J.cs,c:k};case 2:t=n.a;return 1===t?{a:O(hf,of,zf),b:J.ct,c:k}:{a:O(hf,of,zf),b:J.dN+(" width-fill-"+I(t)),c:j([T(pf,J.d0+("."+J.be+(" > "+F("width-fill-"+I(t)))),"flex-grow",I(1e5*t))])};case 3:var t=n.a,r=n.b,e="min-width-"+I(t),a=T(pf,e,"min-width",I(t)+"px"),t=to(r),u=t.a,c=t.b,i=t.c;return{a:O(hf,cf,u),b:e+" "+c,c:O(M,a,i)};default:t=n.a,r=n.b,e="max-width-"+I(t),a=T(pf,e,"max-width",I(t)+"px"),t=to(r),u=t.a,c=t.b,i=t.c;return{a:O(hf,cf,u),b:e+" "+c,c:O(M,a,i)}}}function ro(n){return{$:8,a:n}}function eo(n){return{$:7,a:n}}function ao(n){switch(n.$){case 0:return"Bad URL used: "+n.a;case 1:return"Network timeout. Please check your internet connection.";case 2:return"Network error. Please check your internet connection.";case 3:return"Bad status response from server. Please contact Curling I/O support if the issue persists for more than a few minutes.";default:return'Bad body response from server. Please contact Curling I/O support if the issue persists for more than a few minutes. Details: "'+n.a+'"'}}function uo(n){return{$:2,a:n}}function co(n){return{$:1,a:n}}function io(n){return O(Kf,4,n)}function oo(n){return{$:1,a:G(n)}}function fo(n){return{$:3,a:n}}function so(n){var t=n;return O(ti,ss,d(fs,"p-"+I(n),t,t,t,t))}function bo(n){return O(ti,gs,T(hs,O(ms,n,n),n,n))}function lo(n){return 4===n.$&&11===n.b.$&&!n.b.a}function po(n){return O(ti,Qs,T(pf,"br-"+I(n),"border-radius",I(n)+"px"))}function $o(n){return O(nb,j([rb("32"),Xs("32"),tb("0 0 24 24")]),j([O(Vs,j([Zs(n)]),k)]))}function vo(n){return Zu(O(z,function(n){return n.Y},n))}function ho(n){return n.b?A(n.a):S}function go(n){var t,r=n.i,e=n.h,a=n.f,n=n.g;return m(r,e)&&m(r,a)&&m(r,n)?O(ti,ss,d(fs,"p-"+I(t=r),t,t,t,t)):O(ti,ss,d(fs,y(vb,r,e,a,n),r,e,a,n))}function mo(n){return O(ks,j([bo(10),D(H),Rc,q(G("cio__sponsor"))]),j([(t=n.dJ).$?O(_b,k,{ay:O(fc,"",n.k),cl:n.b5}):(t=t.a,O(E,j([D(H),Hs,Ns({$:4,a:t})]),O(_b,j([Kc]),{ay:O(fc,"",n.k),cl:n.b5}))),(t=n.k).$?os:(t=t.a,O(E,j([Kc]),Q(t)))]));var t}function _o(n){return O(ti,xb,T(ni,"bc-"+Fr(n),"border-color",n))}function wo(n){return T(me,$e,0,n)}function xo(n){return{$:1,a:n}}function yo(n){return{$:0,a:n}}function ko(n){return O(Kf,2,n)}function jo(n){return O(ti,Df,d(Rb,"b-"+I(n),n,n,n,n))}function Ao(n){var t=n.f,r=n.i,e=n.g,n=n.h;return m(r,t)&&m(e,n)?m(r,n)?jo(r):O(Zb,e,r):O(ti,Df,d(Rb,"b-"+I(r)+("-"+I(n)+("-"+I(t)+("-"+I(e)))),r,n,t,e))}function So(n){return O(E,k,Q(O(U,n,"no_data_for_route")))}function Lo(n){return T(la,g(function(n,t){var r,e=t.a,t=t.b;return{a:e.$?4===n.$&&7===n.b.$?A(d(l0,(r=n.b).a,r.b,r.c,r.d,r.e)):S:e,b:t.$?4===n.$&&5===n.b.$?A(T(p0,(r=n.b).a,r.b,r.c)):S:t}}),{a:S,b:S},n)}function zo(n){return!(!n.N.b&&m(n.bu,S)&&m(n.bt,S)&&m(n.bv,S))}function No(n){return{$:12,a:n}}function Do(n){var t=g(function(n,t){return 4===n.$&&5===n.b.$&&(n=n.b,1===t.$)?A(n.c):t});return 1===(t=T(la,t,S,n)).$?Yf:(n=Ce(t.a/2),O(Ts,X0,Z0(-n)))}function Eo(n){return 8===n.$?A(n.a):S}function Ho(n){for(;;)switch(n.$){case 1:return!1;case 0:case 2:return!0;case 3:n=n.b;continue;default:return!0}}function qo(n){return{a:n,b:!0}}function Bo(n){for(;;)switch(n.$){case 2:return 1;case 1:case 0:return;default:n=n.b;continue}}var Oo=dt,To=g(function(n,t){return T(me,function(r){return g(function(n,t){return t.push(r(n)),t})}(n),[],t)}),Co=x(function(n,t,r){var e=t.a,t=t.b;return n?r+"\n "+e+": "+t+" !important;":r+"\n "+e+": "+t+";"}),Mo=P(function(n,t,r,e){if(1===t.$)return j([r+("{"+T(me,Co(!1),"",e))+"\n}"]);switch(t.a){case 1:switch(n.ey){case 0:return k;case 2:return j([r+("-hv {"+T(me,Co(!0),"",e))+"\n}"]);default:return j([r+("-hv:hover {"+T(me,Co(!1),"",e))+"\n}"])}case 0:var a=T(me,Co(!1),"",e);return j([r+"-fs:focus {"+a+"\n}","."+J.d0+":focus "+r+"-fs {"+a+"\n}",r+"-fs:focus-within {"+a+"\n}",".ui-slide-bar:focus + "+F(J.d0)+" .focusable-thumb"+r+"-fs {"+a+"\n}"]);default:return j([r+("-act:active {"+T(me,Co(!1),"",e))+"\n}"])}}),Io=x(function(t,n,r){switch(n.$){case 0:return y(Mo,t,r,n.a,n.b);case 13:return y(Mo,t,r,"."+(e=n.a),j([O(Li,"box-shadow",n.b)]));case 12:var e=n.a,a=O(Ie,0,O(ka,1,1-n.b));return y(Mo,t,r,"."+e,j([O(Li,"opacity",Ni(a))]));case 2:a=n.a;return y(Mo,t,r,".font-size-"+I(a),j([O(Li,"font-size",I(a)+"px")]));case 1:var e=n.a,a=n.b,u=O(L,", ",O(Ia,Wi,a)),u=j([O(Li,"font-family",O(L,", ",O(z,Fi,a))),O(Li,"font-feature-settings",u),O(Li,"font-variant",O(Uc,Ui,a)?"small-caps":"normal")]);return y(Mo,t,r,"."+e,u);case 3:return y(Mo,t,r,"."+(v=n.a),j([O(Li,n.b,w=n.c)]));case 4:return y(Mo,t,r,"."+(v=n.a),j([O(Li,n.b,Di(n.c))]));case 5:var c=n.a,a=n.b,e=n.c,u=I(e)+"px",i=I(a)+"px",o="."+J.be,f="."+J.cw+o,s="."+J.cA,b="."+J.db,d="."+J.bc,l="."+J.cz,p=Ni(e/2)+"px",a=Ni(a/2)+"px",$="."+J.aj,v="."+c,h="."+J.d0;return Zu(j([y(Mo,t,r,v+o+" > "+h+" + "+h,j([O(Li,"margin-left",i)])),y(Mo,t,r,v+f+" > "+h,j([O(Li,"margin",p+" "+a)])),y(Mo,t,r,v+$+" > "+h+" + "+h,j([O(Li,"margin-top",u)])),y(Mo,t,r,v+d+" > "+h+" + "+h,j([O(Li,"margin-top",u)])),y(Mo,t,r,v+d+" > "+l,j([O(Li,"margin-right",i)])),y(Mo,t,r,v+d+" > "+s,j([O(Li,"margin-left",i)])),y(Mo,t,r,C(v,b),j([O(Li,"line-height","calc(1em + "+I(e)+"px)")])),y(Mo,t,r,"textarea"+h+v,j([O(Li,"line-height","calc(1em + "+I(e)+"px)"),O(Li,"height","calc(100% + "+I(e)+"px)")])),y(Mo,t,r,v+b+" > "+l,j([O(Li,"margin-right",i)])),y(Mo,t,r,v+b+" > "+s,j([O(Li,"margin-left",i)])),y(Mo,t,r,v+b+"::after",j([O(Li,"content","''"),O(Li,"display","block"),O(Li,"height","0"),O(Li,"width","0"),O(Li,"margin-top",I(-1*(e/2|0))+"px")])),y(Mo,t,r,v+b+"::before",j([O(Li,"content","''"),O(Li,"display","block"),O(Li,"height","0"),O(Li,"width","0"),O(Li,"margin-bottom",I(-1*(e/2|0))+"px")]))]));case 7:var c=n.a,g=n.b,s=n.c,m=n.d,l=n.e;return y(Mo,t,r,v="."+c,j([O(Li,"padding",Ni(g)+("px "+Ni(s)+("px "+Ni(m)+("px "+Ni(l))))+"px")]));case 6:c=n.a,g=n.b,s=n.c,m=n.d,l=n.e;return y(Mo,t,r,v="."+c,j([O(Li,"border-width",I(g)+("px "+I(s)+("px "+I(m)+("px "+I(l))))+"px")]));case 8:var o=n.a,_=x(function(n,t,r){for(;;)switch(r.$){case 0:return I(r.a)+"px";case 1:var e={a:n,b:t};return 1===e.a.$?1===e.b.$?"max-content":"minmax(max-content, "+I(a=e.b.a)+"px)":1===e.b.$?"minmax("+I(e.a.a)+"px, max-content)":(a=e.b.a,"minmax("+I(e.a.a)+("px, "+I(a))+"px)");case 2:var a,e=r.a,u={a:n,b:t};return 1===u.a.$?1===u.b.$?I(e)+"fr":"minmax(max-content, "+I(a=u.b.a)+"px)":1===u.b.$?"minmax("+I(u.a.a)+("px, "+I(e))+"frfr)":(a=u.b.a,"minmax("+I(u.a.a)+("px, "+I(a))+"px)");case 3:var c=r.a,i=r.b;n=A(c),t=t,r=i;continue;default:c=r.a,i=r.b;n=n,t=A(c),r=i;continue}}),f=function(n){return T(_,S,S,n)},p=(f(o.fi.a),f(o.fi.b)),a="grid-template-rows: "+O(L," ",O(z,f,o.e7))+";",$="-ms-grid-rows: "+O(L,p,O(z,f,o.Q))+";",u="-ms-grid-columns: "+O(L,p,O(z,f,o.Q))+";",d="grid-row-gap:"+f(o.fi.b)+";",h="grid-column-gap:"+f(o.fi.a)+";",i="grid-template-columns: "+O(L," ",O(z,f,o.Q))+";";return j([(v=".grid-rows-"+O(L,"-",O(z,yi,o.e7))+("-cols-"+O(L,"-",O(z,yi,o.Q))+("-space-x-"+yi(o.fi.a)+("-space-y-"+yi(o.fi.b)))))+"{"+u+$+"}","@supports (display:grid) {"+(v+"{"+i+a+h+d+"}")+"}"]);case 9:b=n.a,e=O(L," ",j(["-ms-grid-row: "+I(b.be)+";","-ms-grid-row-span: "+I(b.bD)+";","-ms-grid-column: "+I(b.a6)+";","-ms-grid-column-span: "+I(b.b)+";"])),g=O(L," ",j(["grid-row: "+I(b.be)+(" / "+I(b.be+b.bD))+";","grid-column: "+I(b.a6)+(" / "+I(b.a6+b.b))+";"]));return j([(v=".grid-pos-"+I(b.be)+("-"+I(b.a6)+("-"+I(b.b)+("-"+I(b.bD)))))+"{"+e+"}","@supports (display:grid) {"+(v+"{"+g+"}")+"}"]);case 11:v=n.a;return O(Xu,function(n){return T(Io,t,n,A(v))},n.b);default:var s=n.a,w=function(n){switch(n.$){case 0:return S;case 1:var t=n.a,r=t.b,e=t.c;return A("translate3d("+Ni(t.a)+("px, "+Ni(r)+("px, "+Ni(e)))+"px)");default:var t=n.a,r=t.b,e=t.c,a=n.b,u=a.a,c=a.b,a=a.c,i=n.c,o=i.a,f=i.b,i=i.c,s=n.d,t="translate3d("+Ni(t.a)+("px, "+Ni(r)+("px, "+Ni(e)))+"px)",r="scale3d("+Ni(u)+(", "+Ni(c)+(", "+Ni(a)))+")",e="rotate3d("+Ni(o)+(", "+Ni(f)+(", "+Ni(i)+(", "+Ni(s))))+"rad)";return A(t+" "+r+" "+e)}}(s),m={a:v=Ur(s),b:w};return m.a.$||m.b.$?k:y(Mo,t,r,"."+(c=m.a.a),j([O(Li,"transform",m.b.a)]))}}),Go=g(function(r,n){return n=O(z,function(n){var t=T(Io,r,n,S);return{a:Pr(n),b:O(To,Fc,t)}},n),T(me,g(function(n,t){return T(In,n.a,n.b,t)}),{},n)}),Jo=g(function(n,t){return n+(" {"+O(L,"",O(z,function(n){return n.a+": "+n.b+";"},t)))+"}"}),Fo=x(function(n,t,r){var e=r.b;return j([O(Jo,"."+n+"."+t+", ."+n+" ."+t,r.a),O(Jo,"."+n+"."+t+"> ."+J.fr+", ."+n+" ."+t+" > ."+J.fr,e)])}),Qo=x(function(n,t,r){var e=t.a,t=t.b,r=m(n,r)?n:r+" ."+n;return O(L," ",C(T(Fo,r,J.fg,t),T(Fo,r,J.eu,e)))}),Uo=g(function(n,t){t=m(n,t)?n:t+" ."+n;return O(L," ",j([O(Jo,"."+t+"."+J.fg+", ."+t+" ."+J.fg,j([{a:"line-height",b:"1"}])),O(Jo,"."+t+"."+J.fg+"> ."+J.fr+", ."+t+" ."+J.fg+" > ."+J.fr,j([{a:"vertical-align",b:"0"},{a:"line-height",b:"1"}]))]))}),Po=x(function(n,t,r){return{bD:t/n,dy:n,dL:r}}),Wo=g(function(r,n){return T(la,g(function(n,t){return r(n)?O(M,n,t):t}),k,n)}),Yo=function(n){var t=j([n.ee,n.d3,n.en,n.eN]),r=O(fc,n.en,Ki(t)),e=O(fc,n.d3,Ki(O(Wo,function(n){return!m(n,r)},t))),n=O(fc,n.ee,Yi(t)),t=1/(n-r),a=1-n;return{ee:T(Po,1/(n-e),n-e,1-n),cO:T(Po,t,n-r,a)}},Ko=function(n){return{a:j([{a:"display",b:"block"}]),b:j([{a:"display",b:"inline-block"},{a:"line-height",b:Ni(n.bD)},{a:"vertical-align",b:Ni(n.dL)+"em"},{a:"font-size",b:Ni(n.dy)+"em"}])}},Ro=g(function(r,n){var t=g(function(n,t){return{bH:C(t.bH,T(Io,r,n,S)),bn:1===(n=1===(n=n).$?A({a:n.a,b:n.b}):S).$?t.bn:O(M,n.a,t.bn)}}),t=T(me,t,{bH:k,bn:k},n),n=t.bH;return C(Ri(t.bn),Vr(n))}),Zo=g(function(n,t){switch(n.eP){case 0:case 1:return T(Kr,"div",k,j([T(Kr,"style",k,j([Oo(O(Ro,n,t))]))]));default:return T(Kr,"elm-ui-rules",j([O(Bi,"rules",O(Go,n,t))]),k)}}),Xo=P(function(n,t,r,e){r=O(Zo,t,T(me,Si,{a:xi,b:Yr(t.er)},r).b);return n?O(M,{a:"static-stylesheet",b:Ji(t)},O(M,{a:"dynamic-stylesheet",b:r},e)):O(M,{a:"dynamic-stylesheet",b:r},e)}),Vo=P(function(n,t,r,e){r=O(Zo,t,T(me,Si,{a:xi,b:Yr(t.er)},r).b);return n?O(M,Ji(t),O(M,r,e)):O(M,r,e)}),nf=Jr(45),tf=Jr(37),rf=pt("p"),ef=g(function(n,t){var r,e=t.a;return n.$?m((r=n.a)&t.b,r):m((t=n.a)&e,t)}),af=pt("s"),uf=pt("u"),cf=Jr(44),of=Jr(39),ff=f(function(n,t,r,a,u,e){var c=g(function(n,t){var r,e;return 1===a.$?(r=a.a,T(Zi,n,t,function(){switch(u.$){case 0:return r;case 2:return y(Xo,!1,u.a,u.b,r);default:return y(Xo,!0,u.a,u.b,r)}}())):(e=a.a,O(function(){switch(n){case"div":return wi;case"p":return rf;default:return Kr(n)}}(),t,function(){switch(u.$){case 0:return e;case 2:return y(Vo,!1,u.a,u.b,e);default:return y(Vo,!0,u.a,u.b,e)}}()))}),i=function(){switch(t.$){case 0:return O(c,"div",r);case 1:return O(c,t.a,r);default:return T(Kr,t.a,r,j([O(c,t.b,j([G(J.d0+" "+J.ff)]))]))}}();switch(e){case 0:return O(ef,of,n)&&!O(ef,cf,n)?i:O(ef,gi,n)?O(uf,j([G(O(L," ",j([J.d0,J.ff,J.bw,J.ak,J.dY])))]),j([i])):O(ef,mi,n)?O(af,j([G(O(L," ",j([J.d0,J.ff,J.bw,J.ak,J.dW])))]),j([i])):i;case 1:return O(ef,tf,n)&&!O(ef,nf,n)?i:O(ef,_i,n)?O(af,j([G(O(L," ",j([J.d0,J.ff,J.bw,J.dX])))]),j([i])):O(ef,hi,n)?O(uf,j([G(O(L," ",j([J.d0,J.ff,J.bw,J.dV])))]),j([i])):i;default:return i}}),sf=Oo,bf=J.d0+" "+J.fr+" "+J.cs+" "+J.b3,df=J.d0+" "+J.fr+" "+J.ct+" "+J.b4,lf=x(function(i,n,t){var r,e,a,u,c=g(function(n,t){var r=n.a,e=n.b,a=t.a,u=t.b;switch(e.$){case 0:var c=e.a;return m(i,4),{a:O(M,{a:r,b:c(i)},a),b:u};case 1:c=e.a;return m(i,4),{a:O(M,{a:r,b:O(c.ez,pi,i)},a),b:u.b?C(c.fp,u):c.fp};case 2:c=e.a;return{a:O(M,{a:r,b:(m(i,2)?Vi:Xi)(c)},a),b:u};default:return{a:a,b:u}}}),o=g(function(n,t){var r=t.a,e=t.b;switch(n.$){case 0:var a=n.a;return m(i,4),{a:O(M,a(i),r),b:e};case 1:a=n.a;return m(i,4),{a:O(M,O(a.ez,pi,i),r),b:e.b?C(a.fp,e):a.fp};case 2:a=n.a;return{a:O(M,(m(i,2)?Vi:Xi)(a),r),b:e};default:return{a:r,b:e}}});return 1===n.$?(r=(c=T(la,c,{a:k,b:k},n.a)).a,(a=(e=c.b).b?C(t.fp,e):t.fp).b?(u=a,{$:1,a:{ez:y(ff,t.aB,t.aF,t.av,{$:1,a:T(vi,"nearby-element-pls",r,t.aw)}),fp:u}}):{$:0,a:d(ff,t.aB,t.aF,t.av,{$:1,a:T(vi,"nearby-element-pls",r,t.aw)},pi)}):(r=(c=T(la,o,{a:k,b:k},n.a)).a,(a=(e=c.b).b?C(t.fp,e):t.fp).b?(u=a,{$:1,a:{ez:y(ff,t.aB,t.aF,t.av,{$:0,a:O($i,r,t.aw)}),fp:u}}):{$:0,a:d(ff,t.aB,t.aF,t.av,{$:0,a:O($i,r,t.aw)},pi)})}),pf=x(function(n,t,r){return{$:3,a:n,b:t,c:r}}),$f=function(n){return{$:10,a:n}},vf=g(function(n,t){return{$:0,a:n,b:t}}),hf=g(function(n,t){var r=t.a,t=t.b;return n.$?O(vf,r,n.a|t):O(vf,n.a|r,t)}),gf=g(function(n,t){return{$:3,a:n,b:t}}),mf=g(function(n,t){return O(wi,j([G(function(){switch(n){case 0:return O(L," ",j([J.aS,J.ff,J.dQ]));case 1:return O(L," ",j([J.aS,J.ff,J.d5]));case 2:return O(L," ",j([J.aS,J.ff,J.eT]));case 3:return O(L," ",j([J.aS,J.ff,J.eS]));case 4:return O(L," ",j([J.aS,J.ff,J.eD]));default:return O(L," ",j([J.aS,J.ff,J.d4]))}}())]),j([function(){switch(t.$){case 3:return Oo("");case 2:return Xi(t.a);case 0:return(0,t.a)(2);default:return O(t.a.ez,pi,2)}}()]))}),_f=x(function(n,t,r){var e=O(mf,n,t);switch(r.$){case 0:return 5===n?{$:1,a:j([e])}:{$:2,a:j([e])};case 1:var a=r.a;return 5===n?{$:1,a:O(M,e,a)}:O(gf,a,j([e]));case 2:var u=r.a;return 5===n?O(gf,j([e]),u):{$:2,a:O(M,e,u)};default:a=r.a,u=r.b;return 5===n?O(gf,O(M,e,a),u):O(gf,a,O(M,e,u))}}),wf=g(function(n,t){return{$:2,a:n,b:t}}),xf=g(function(n,t){switch(t.$){case 0:return{$:1,a:n};case 1:return O(wf,t.a,n);default:return O(wf,t.a,t.b)}}),yf=g(function(n,t){return O(_t,function(n){return/^(on|formAction$)/i.test(n)?"data-"+n:n}(n),xt(t))}),kf=P(function(n,t,r,e){return{$:2,a:n,b:t,c:r,d:e}}),jf=g(function(n,t){switch(n.$){case 0:switch(t.$){case 0:return{$:1,a:{a:r=t.a,b:0,c:0}};case 1:return{$:1,a:{a:0,b:e=t.a,c:0}};case 2:return{$:1,a:{a:0,b:0,c:a=t.a}};case 3:return{$:1,a:t.a};case 4:return y(kf,{a:0,b:0,c:0},{a:1,b:1,c:1},t.a,o=t.b);default:return y(kf,{a:0,b:0,c:0},t.a,{a:0,b:0,c:1},0)}case 1:var r=(u=n.a).a,e=u.b,a=u.c;switch(t.$){case 0:return{$:1,a:{a:t.a,b:e,c:a}};case 1:return{$:1,a:{a:r,b:t.a,c:a}};case 2:return{$:1,a:{a:r,b:e,c:t.a}};case 3:return{$:1,a:t.a};case 4:return y(kf,u,{a:1,b:1,c:1},t.a,o=t.b);default:return y(kf,u,t.a,{a:0,b:0,c:1},0)}default:var u,r=(u=n.a).a,e=u.b,a=u.c,c=n.b,i=n.c,o=n.d;switch(t.$){case 0:return y(kf,{a:t.a,b:e,c:a},c,i,o);case 1:return y(kf,{a:r,b:t.a,c:a},c,i,o);case 2:return y(kf,{a:r,b:e,c:t.a},c,i,o);case 3:return y(kf,t.a,c,i,o);case 4:return y(kf,u,c,t.a,t.b);default:return y(kf,u,t.a,i,o)}}}),Af=Jr(7),Sf=Jr(36),Lf=g(function(n,t){return O(vf,n.a|t.a,n.b|t.b)}),zf=O(vf,0,0),Nf=Jr(38),Df=Jr(27),Ef=g(function(n,t){if(m(n,Df)){if(3!==t.$)return!1;switch(t.c){case"0px":case"1px":case"2px":case"3px":case"4px":case"5px":case"6px":return!0;default:return!1}}else switch(t.$){case 2:var r=t.a;return 8<=r&&r<=32;case 7:var r=t.b,e=t.c,a=t.e;return m(r,t.d)&&m(r,e)&&m(r,a)&&0<=r&&r<=24;default:return!1}}),Hf=Jr(6),qf=Jr(30),Bf=Jr(29),Of=l(function(n,t,r,e,a,u,c,i){for(;;){var o;if(!i.b)return 1===(o=Ur(e)).$?{av:O(M,G(n),u),aw:c,aB:r,aF:t,fp:a}:{av:O(M,G(n+" "+o.a),u),aw:c,aB:r,aF:t,fp:O(M,$f(e),a)};var f=i.a,s=i.b;switch(f.$){case 0:n=l=n,t=p=t,r=$=r,e=v=e,a=h=a,u=g=u,c=H=c,i=s;continue;case 3:var b=f.a,d=f.b;if(O(ef,b,r)){n=l=n,t=p=t,r=$=r,e=v=e,a=h=a,u=g=u,c=H=c,i=s;continue}n=l=d+" "+n,t=p=t,r=$=O(hf,b,r),e=v=e,a=h=a,u=g=u,c=H=c,i=s;continue;case 1:var l=n,p=t,$=r,v=e,h=a,g=O(M,f.a,u);n=l,t=p,r=$,e=v,a=h,u=g,c=H=c,i=s;continue;case 4:b=f.a,d=f.b;if(O(ef,b,r)){n=l=n,t=p=t,r=$=r,e=v=e,a=h=a,u=g=u,c=H=c,i=s;continue}if(O(Ef,b,d)){n=l=Pr(d)+" "+n,t=p=t,r=$=O(hf,b,r),e=v=e,a=h=a,u=g=u,c=H=c,i=s;continue}l=Pr(d)+" "+n,p=t,$=O(hf,b,r),v=e,h=O(M,d,a);n=l,t=p,r=$,e=v,a=h,u=g=u,c=H=c,i=s;continue;case 10:var b=f.a,m=f.b;n=l=n,t=p=t,r=$=O(hf,b,r),e=v=O(jf,e,m),a=h=a,u=g=u,c=H=c,i=s;continue;case 7:var _=f.a;if(O(ef,Hf,r)){n=l=n,t=p=t,r=$=r,e=v=e,a=h=a,u=g=u,c=H=c,i=s;continue}switch(_.$){case 0:var w=_.a,l=J.dM+(" width-px-"+I(w))+" "+n,p=t,$=O(hf,Hf,r),v=e,h=O(M,T(pf,"width-px-"+I(w),"width",I(w)+"px"),a);n=l,t=p,r=$,e=v,a=h,u=g=u,c=H=c,i=s;continue;case 1:n=l=n+" "+J.cs,t=p=t,r=$=O(hf,Nf,O(hf,Hf,r)),e=v=e,a=h=a,u=g=u,c=H=c,i=s;continue;case 2:if(1===(A=_.a)){n=l=n+" "+J.ct,t=p=t,r=$=O(hf,of,O(hf,Hf,r)),e=v=e,a=h=a,u=g=u,c=H=c,i=s;continue}l=n+(" "+J.dN+(" width-fill-"+I(A))),p=t,$=O(hf,of,O(hf,Hf,r)),v=e,h=O(M,T(pf,J.d0+("."+J.be+(" > "+F("width-fill-"+I(A)))),"flex-grow",I(1e5*A)),a);n=l,t=p,r=$,e=v,a=h,u=g=u,c=H=c,i=s;continue;default:var x=to(_),y=x.a,k=x.b,j=x.c,l=n+" "+k,p=t,$=O(Lf,y,O(hf,Hf,r)),v=e,h=C(j,a);n=l,t=p,r=$,e=v,a=h,u=g=u,c=H=c,i=s;continue}case 8:var A,S=f.a;if(O(ef,Af,r)){n=l=n,t=p=t,r=$=r,e=v=e,a=h=a,u=g=u,c=H=c,i=s;continue}switch(S.$){case 0:var L=I(w=S.a)+"px",z="height-px-"+L,l=J.cT+" "+z+" "+n,p=t,$=O(hf,Af,r),v=e,h=O(M,T(pf,z,"height ",L),a);n=l,t=p,r=$,e=v,a=h,u=g=u,c=H=c,i=s;continue;case 1:n=l=J.b3+" "+n,t=p=t,r=$=O(hf,Sf,O(hf,Af,r)),e=v=e,a=h=a,u=g=u,c=H=c,i=s;continue;case 2:if(1===(A=S.a)){n=l=J.b4+" "+n,t=p=t,r=$=O(hf,tf,O(hf,Af,r)),e=v=e,a=h=a,u=g=u,c=H=c,i=s;continue}l=n+(" "+J.cU+(" height-fill-"+I(A))),p=t,$=O(hf,tf,O(hf,Af,r)),v=e,h=O(M,T(pf,J.d0+("."+J.aj+(" > "+F("height-fill-"+I(A)))),"flex-grow",I(1e5*A)),a);n=l,t=p,r=$,e=v,a=h,u=g=u,c=H=c,i=s;continue;default:var z=no(S),y=z.a,k=z.b,j=z.c,l=n+" "+k,p=t,$=O(Lf,y,O(hf,Af,r)),v=e,h=C(j,a);n=l,t=p,r=$,e=v,a=h,u=g=u,c=H=c,i=s;continue}case 2:var N=f.a;switch(N.$){case 0:n=l=n,t=p=O(xf,"main",t),r=$=r,e=v=e,a=h=a,u=g=u,c=H=c,i=s;continue;case 1:n=l=n,t=p=O(xf,"nav",t),r=$=r,e=v=e,a=h=a,u=g=u,c=H=c,i=s;continue;case 2:n=l=n,t=p=O(xf,"footer",t),r=$=r,e=v=e,a=h=a,u=g=u,c=H=c,i=s;continue;case 3:n=l=n,t=p=O(xf,"aside",t),r=$=r,e=v=e,a=h=a,u=g=u,c=H=c,i=s;continue;case 4:var D=N.a;if(1 ",e):Y(O(fc,0,ho(t)),O(fc,0,O(lb,1,t)))<0?O(L," < ",e):O(L," = ",e):"";return""===n?S:A(n)}),l0=o(function(n,t,r,e,a){return{$:0,a:n,b:t,c:r,d:e,e:a}}),p0=x(function(n,t,r){return{$:0,a:n,b:t,c:r}}),$0=P(function(n,t,r,e){return"pad-"+ei(n)+("-"+ei(t)+("-"+ei(r)+("-"+ei(e))))}),v0=gt,h0=g(function(n,t){var r,e,a,u,c,i=Lo(n),o=i.a,i=i.b;return 1===i.$?y(Mf,0,ci,O(M,oo(J.a7+" "+J.ak+" "+J.cw),O(M,D(Jf),O(M,If(Jf),n))),{$:0,a:t}):(r=(i=i.a).a,e=i.b,i=i.c,(a=!o.$&&(a=(o=o.a).b,c=o.d,u=o.e,-1",{$:10,a:1}),1"),t});function cn(n){throw Error("https://github.com/elm/core/blob/1.0.0/hints/"+n+".md")}var on=m(function(n,t){return n+t}),fn=(m(function(n,t){return n-t}),m(function(n,t){return n*t}),m(function(n,t){return n/t}),m(function(n,t){return n/t|0}),m(Math.pow)),sn=(m(function(n,t){return t%n}),m(function(n,t){t%=n;return 0===n?cn(11):0u||u>56319?(e[a]=n(t[a]),a++):(e[a]=n(t[a]+t[a+1]),a+=2)}return e.join("")}),m(function(n,t){for(var r=[],e=t.length,a=0;ac)return a}var d=r.$;if(4===d){for(var l=r.k;4===l.$;)l=l.k;return n(t,l,e,a,u+1,c,t.elm_event_node_ref)}var $=r.e;var v=t.childNodes;for(var p=0;p<$.length;p++){var h=1===d?$[p]:$[p].b,g=++u+(h.b||0);if(u<=f&&f<=g&&(a=n(v[p],h,e,a,u,g,i),!(o=e[a])||(f=o.r)>c))return a;u=g}return a}(n,t,r,0,0,t.b,e)}function Kt(n,t,r,e){return 0===r.length?n:(Jt(n,t,r,e),Ut(n,r))}function Ut(n,t){for(var r=0;r>n}),m(function(n,t){return t>>>n});function fr(n){return H(C,"\n ",H(je,"\n",n))}function sr(n){return 97<=(n=Ne(n))&&n<=122}function br(n){return(n=Ne(n))<=90&&65<=n}function dr(n){return sr(n)||br(n)||function(n){n=Ne(n);return n<=57&&48<=n}(n)}function lr(n){return n}function $r(n){return n.a}function vr(n){return T(ya,Ea(R),wa(k),n)}function pr(n){return{$:1,a:n}}function hr(n){return{ab:(t=H(za,n.b,n.bC),r=H(We,n.b,n.bC),t<600?0:1200 .ctr > ."+I.dZ+" {\n border: 4px dashed rgb(0, 151, 167) !important;\n}\n\n",Zn="@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {"+G(I.dZ)+(G(I.bc)+(" > "+G(I.dZ)+(" { flex-basis: auto !important; } "+G(I.dZ)+(G(I.bc)+(" > "+G(I.dZ)+(G(I.bw)+' { flex-basis: auto !important; }}\ninput[type="search"],\ninput[type="search"]::-webkit-search-decoration,\ninput[type="search"]::-webkit-search-cancel-button,\ninput[type="search"]::-webkit-search-results-button,\ninput[type="search"]::-webkit-search-results-decoration {\n -webkit-appearance:none;\n}\n\ninput[type=range] {\n -webkit-appearance: none; \n background: transparent;\n position:absolute;\n left:0;\n top:0;\n z-index:10;\n width: 100%;\n outline: dashed 1px;\n height: 100%;\n opacity: 0;\n}\n\ninput[type=range]::-moz-range-track {\n background: transparent;\n cursor: pointer;\n}\ninput[type=range]::-ms-track {\n background: transparent;\n cursor: pointer;\n}\ninput[type=range]::-webkit-slider-runnable-track {\n background: transparent;\n cursor: pointer;\n}\n\ninput[type=range]::-webkit-slider-thumb {\n -webkit-appearance: none;\n opacity: 0.5;\n width: 80px;\n height: 80px;\n background-color: black;\n border:none;\n border-radius: 5px;\n}\ninput[type=range]::-moz-range-thumb {\n opacity: 0.5;\n width: 80px;\n height: 80px;\n background-color: black;\n border:none;\n border-radius: 5px;\n}\ninput[type=range]::-ms-thumb {\n opacity: 0.5;\n width: 80px;\n height: 80px;\n background-color: black;\n border:none;\n border-radius: 5px;\n}\ninput[type=range][orient=vertical]{\n writing-mode: bt-lr; /* IE */\n -webkit-appearance: slider-vertical; /* WebKit */\n}\n'))))))+En,uo=m(function(n,t){return{bs:t,I:k,as:k,_:n}}),co=m(function(n,t){var u=n,n=m(function(n,t){switch(n.$){case 0:return w(t,{as:H(R,{a:n.a,b:n.b},t.as)});case 3:var r=n.a;return w(t,{I:H(R,{bs:"\n}",I:k,as:n.b,_:"@supports ("+r.a+":"+r.b+") {"+u._},t.I)});case 5:r=n.b;return w(t,{I:H(R,H(co,H(uo,u._+" + "+n.a,""),r),t.I)});case 1:var e=n.a,a=n.b;return w(t,{I:H(R,H(co,H(uo,u._+" > "+e,""),a),t.I)});case 2:e=n.a,a=n.b;return w(t,{I:H(R,H(co,H(uo,u._+" "+e,""),a),t.I)});case 4:r=n.b;return w(t,{I:H(R,H(co,H(uo,D(u._,n.a),""),r),t.I)});default:e=n.a;return w(t,{I:H(R,H(co,H(uo,u._,""),e),t.I)})}});return T(ya,n,u,t)}),io=D(Zn,(An=D(jn,Sn),fe=function(n){return ce(H(S,function(n){return n.a+":"+n.b+";"},n))},ce(H(S,oo,T(ya,m(function(n,t){var r=n.b;return H(R,H(co,H(uo,n.a,""),r),t)}),k,An)))));function oo(n){return D(function(n){return n.as.b?n._+("{"+fe(n.as))+(n.bs+"}"):""}(n),ce(H(S,oo,n.I)))}function fo(n){switch(n.eM){case 0:return T(re,"div",k,j([T(re,"style",k,j([af(io)]))]));case 1:return af("");default:return T(re,"elm-ui-static-rules",j([H(ro,"rules",di(io))]),k)}}function so(n){switch(n.$){case 0:return"serif";case 1:return"sans-serif";case 2:return"monospace";case 3:return'"'+(t=n.a)+'"';case 4:var t=n.a;return'"'+t+'"';default:return'"'+(t=n.a.k)+'"'}}function bo(n){switch(n.$){case 0:return"smcp"===n.a;case 1:return!1;default:return"smcp"===n.a&&1===n.b}}function lo(n){return 5===n.$&&H($i,bo,n.a.dH)}function $o(n){switch(n.$){case 0:return'"'+n.a+'"';case 1:return'"'+n.a+'" 0';default:return'"'+n.a+('" '+M(n.b))}}function vo(n){return 5===n.$?A(H(C,", ",H(S,$o,n.a.dH))):L}function po(n){return n.b?A(T(Ee,We,n.a,n.b)):L}function ho(n){return n.b?A(T(Ee,za,n.a,n.b)):L}function go(n){function t(n){return 4===n.$?A("@import url('"+n.b+"');"):L}var r=H(S,$r,n);return D(H(C,"\n",H(S,function(n){return H(C,"\n",H(du,t,n.b))},n)),H(C,"\n",H(S,function(n){var t=n.a,n=function(n){return T(Ee,m(function(n,t){return 1!==t.$||5!==n.$||1===(n=n.a.dO).$?t:A({a:gf(hf(t=n.a).cN),b:gf(hf(t).eb)})}),L,n)}(n.b);return H(C,"",H(S,1===n.$?$f(t):H(lf,t,n.a),r))},n)))}function mo(n){return mt(jt(n))}function _o(n){return H(Ii,j([P(qf)]),j([Nf(n)]))}function wo(n){return H(Ii,j([P(zf)]),j([Nf(n)]))}function xo(n){switch(n.$){case 0:var t=M(n.a),r="height-px-"+t;return{a:Yf,b:I.cR+" "+r,c:j([T(Hf,r,"height",t+"px")])};case 1:return{a:H(Rf,Ff,Yf),b:I.b3,c:k};case 2:r=n.a;return 1===r?{a:H(Rf,kf,Yf),b:I.b4,c:k}:{a:H(Rf,kf,Yf),b:I.cS+(" height-fill-"+M(r)),c:j([T(Hf,I.dZ+("."+I.aj+(" > "+G("height-fill-"+M(r)))),"flex-grow",M(1e5*r))])};case 3:var t=n.a,e=n.b,a="min-height-"+M(t),u=T(Hf,a,"min-height",M(t)+"px !important"),r=xo(e),c=r.a,i=r.b,o=r.c;return{a:H(Rf,yf,c),b:a+" "+i,c:H(R,u,o)};default:t=n.a,e=n.b,a="max-height-"+M(t),u=T(Hf,a,"max-height",M(t)+"px"),r=xo(e),c=r.a,i=r.b,o=r.c;return{a:H(Rf,yf,c),b:a+" "+i,c:H(R,u,o)}}}function yo(n){switch(n.$){case 0:var t=n.a;return{a:Yf,b:I.dJ+(" width-px-"+M(t)),c:j([T(Hf,"width-px-"+M(t),"width",M(t)+"px")])};case 1:return{a:H(Rf,Vf,Yf),b:I.cr,c:k};case 2:t=n.a;return 1===t?{a:H(Rf,Sf,Yf),b:I.cs,c:k}:{a:H(Rf,Sf,Yf),b:I.dK+(" width-fill-"+M(t)),c:j([T(Hf,I.dZ+("."+I.bc+(" > "+G("width-fill-"+M(t)))),"flex-grow",M(1e5*t))])};case 3:var t=n.a,r=n.b,e="min-width-"+M(t),a=T(Hf,e,"min-width",M(t)+"px"),t=yo(r),u=t.a,c=t.b,i=t.c;return{a:H(Rf,Cf,u),b:e+" "+c,c:H(R,a,i)};default:t=n.a,r=n.b,e="max-width-"+M(t),a=T(Hf,e,"max-width",M(t)+"px"),t=yo(r),u=t.a,c=t.b,i=t.c;return{a:H(Rf,Cf,u),b:e+" "+c,c:H(R,a,i)}}}function ko(n){return{$:8,a:n}}function jo(n){return{$:7,a:n}}function Eo(n){switch(n.$){case 0:return"Bad URL used: "+n.a;case 1:return"Network timeout. Please check your internet connection.";case 2:return"Network error. Please check your internet connection.";case 3:return"Bad status response from server. Please contact Curling I/O support if the issue persists for more than a few minutes.";default:return'Bad body response from server. Please contact Curling I/O support if the issue persists for more than a few minutes. Details: "'+n.a+'"'}}function Ao(n){return{$:2,a:n}}function Lo(n){return{$:1,a:n}}function Co(n){return H(hs,4,n)}function So(n){return{$:1,a:P(n)}}function Zo(n){return{$:3,a:n}}function No(n){var t=n;return H(yi,Ss,h(Cs,"p-"+M(n),t,t,t,t))}function qo(n){return H(yi,ys,{$:2,a:n})}function N(n){return H(yi,Ts,T(Hs,H(Ds,n,n),n,n))}function zo(n){return 4===n.$&&11===n.b.$&&!n.b.a}function Bo(n){return H(yi,Xs,H(Vs,0,(n=T(Ee,ub,{a:k,b:us},n=n),t=n.a,H(R,Tf(n.b),t))));var t}function Ho(n){return H(yi,cb,T(Hf,"br-"+M(n),"border-radius",M(n)+"px"))}function To(n){return H(pb,j([gb("32"),$b("32"),hb("0 0 24 24")]),j([H(vb,j([lb(n)]),k)]))}function Do(n){return wc(H(S,function(n){return n.Y},n))}function Ro(n){return n.b?A(n.a):L}function Mo(n){var t,r=n.i,e=n.h,a=n.f,n=n.g;return _(r,e)&&_(r,a)&&_(r,n)?H(yi,Ss,h(Cs,"p-"+M(t=r),t,t,t,t)):H(yi,Ss,h(Cs,y(zb,r,e,a,n),r,e,a,n))}function Po(n){return H(Ps,j([N(10),q(B),gi,O(P("cio__sponsor"))]),j([(t=n.dG).$?H(Db,k,{ax:H(Ja,"",n.k),ck:n.b5}):(t=t.a,H(z,j([q(B),Qs,Us({$:4,a:t})]),H(Db,j([hi]),{ax:H(Ja,"",n.k),ck:n.b5}))),(t=n.k).$?J:(t=t.a,H(z,j([hi]),{$:2,a:t}))]));var t}function Io(n){return H(yi,Mb,T(xi,"bc-"+Fr(n),"border-color",n))}function Go(n){return T(Ee,xe,0,n)}function Oo(n){return{$:1,a:n}}function Jo(n){return{$:0,a:n}}function Ko(n){return H(hs,2,n)}function Uo(n){return H(yi,Xf,h($0,"b-"+M(n),n,n,n,n))}function Wo(n){var t=n.f,r=n.i,e=n.g,n=n.h;return _(r,t)&&_(e,n)?_(r,n)?Uo(r):H(v0,e,r):H(yi,Xf,h($0,"b-"+M(r)+("-"+M(n)+("-"+M(t)+("-"+M(e)))),r,n,t,e))}function Fo(n){return H(z,k,{$:2,a:H(K,n,"no_data_for_route")})}function Qo(n){return T(ya,m(function(n,t){var r,e=t.a,t=t.b;return{a:e.$?4===n.$&&7===n.b.$?A(h(Z0,(r=n.b).a,r.b,r.c,r.d,r.e)):L:e,b:t.$?4===n.$&&5===n.b.$?A(T(N0,(r=n.b).a,r.b,r.c)):L:t}}),{a:L,b:L},n)}function Yo(n){return!(!n.M.b&&_(n.bu,L)&&_(n.bt,L)&&_(n.bv,L))}function Vo(n){return{$:12,a:n}}function Xo(n){var t=m(function(n,t){return 4===n.$&&5===n.b.$&&(n=n.b,1===t.$)?A(n.c):t});return 1===(t=T(ya,t,L,n)).$?ps:(n=Ke(t.a/2),H(nb,pd,vd(-n)))}function nf(n){return 8===n.$?A(n.a):L}function tf(n){for(;;)switch(n.$){case 1:return!1;case 0:case 2:return!0;case 3:n=n.b;continue;default:return!0}}function rf(n){return{a:n,b:!0}}function ef(n){for(;;)switch(n.$){case 2:return 1;case 1:case 0:return;default:n=n.b;continue}}var af=pt,uf=m(function(n,t){return T(Ee,function(r){return m(function(n,t){return t.push(r(n)),t})}(n),[],t)}),cf=x(function(n,t,r){var e=t.a,t=t.b;return n?r+"\n "+e+": "+t+" !important;":r+"\n "+e+": "+t+";"}),of=U(function(n,t,r,e){if(1===t.$)return j([r+("{"+T(Ee,cf(!1),"",e))+"\n}"]);switch(t.a){case 1:switch(n.ev){case 0:return k;case 2:return j([r+("-hv {"+T(Ee,cf(!0),"",e))+"\n}"]);default:return j([r+("-hv:hover {"+T(Ee,cf(!1),"",e))+"\n}"])}case 0:var a=T(Ee,cf(!1),"",e);return j([r+"-fs:focus {"+a+"\n}","."+I.dZ+":focus "+r+"-fs {"+a+"\n}",r+"-fs:focus-within {"+a+"\n}",".ui-slide-bar:focus + "+G(I.dZ)+" .focusable-thumb"+r+"-fs {"+a+"\n}"]);default:return j([r+("-act:active {"+T(Ee,cf(!1),"",e))+"\n}"])}}),ff=x(function(t,n,r){switch(n.$){case 0:return y(of,t,r,n.a,n.b);case 13:return y(of,t,r,"."+(e=n.a),j([H(Fi,"box-shadow",n.b)]));case 12:var e=n.a,a=H(We,0,H(za,1,1-n.b));return y(of,t,r,"."+e,j([H(Fi,"opacity",Yi(a))]));case 2:a=n.a;return y(of,t,r,".font-size-"+M(a),j([H(Fi,"font-size",M(a)+"px")]));case 1:var e=n.a,a=n.b,u=H(C,", ",H(du,vo,a)),u=j([H(Fi,"font-family",H(C,", ",H(S,so,a))),H(Fi,"font-feature-settings",u),H(Fi,"font-variant",H($i,lo,a)?"small-caps":"normal")]);return y(of,t,r,"."+e,u);case 3:return y(of,t,r,"."+(p=n.a),j([H(Fi,n.b,w=n.c)]));case 4:return y(of,t,r,"."+(p=n.a),j([H(Fi,n.b,Vi(n.c))]));case 5:var c=n.a,a=n.b,e=n.c,u=M(e)+"px",i=M(a)+"px",o="."+I.bc,f="."+I.cv+o,s="."+I.cz,b="."+I.c9,d="."+I.bb,l="."+I.cy,$=Yi(e/2)+"px",a=Yi(a/2)+"px",v="."+I.aj,p="."+c,h="."+I.dZ;return wc(j([y(of,t,r,p+o+" > "+h+" + "+h,j([H(Fi,"margin-left",i)])),y(of,t,r,p+f+" > "+h,j([H(Fi,"margin",$+" "+a)])),y(of,t,r,p+v+" > "+h+" + "+h,j([H(Fi,"margin-top",u)])),y(of,t,r,p+d+" > "+h+" + "+h,j([H(Fi,"margin-top",u)])),y(of,t,r,p+d+" > "+l,j([H(Fi,"margin-right",i)])),y(of,t,r,p+d+" > "+s,j([H(Fi,"margin-left",i)])),y(of,t,r,D(p,b),j([H(Fi,"line-height","calc(1em + "+M(e)+"px)")])),y(of,t,r,"textarea"+h+p,j([H(Fi,"line-height","calc(1em + "+M(e)+"px)"),H(Fi,"height","calc(100% + "+M(e)+"px)")])),y(of,t,r,p+b+" > "+l,j([H(Fi,"margin-right",i)])),y(of,t,r,p+b+" > "+s,j([H(Fi,"margin-left",i)])),y(of,t,r,p+b+"::after",j([H(Fi,"content","''"),H(Fi,"display","block"),H(Fi,"height","0"),H(Fi,"width","0"),H(Fi,"margin-top",M(-1*(e/2|0))+"px")])),y(of,t,r,p+b+"::before",j([H(Fi,"content","''"),H(Fi,"display","block"),H(Fi,"height","0"),H(Fi,"width","0"),H(Fi,"margin-bottom",M(-1*(e/2|0))+"px")]))]));case 7:var c=n.a,g=n.b,s=n.c,m=n.d,l=n.e;return y(of,t,r,p="."+c,j([H(Fi,"padding",Yi(g)+("px "+Yi(s)+("px "+Yi(m)+("px "+Yi(l))))+"px")]));case 6:c=n.a,g=n.b,s=n.c,m=n.d,l=n.e;return y(of,t,r,p="."+c,j([H(Fi,"border-width",M(g)+("px "+M(s)+("px "+M(m)+("px "+M(l))))+"px")]));case 8:var o=n.a,_=x(function(n,t,r){for(;;)switch(r.$){case 0:return M(r.a)+"px";case 1:var e={a:n,b:t};return 1===e.a.$?1===e.b.$?"max-content":"minmax(max-content, "+M(a=e.b.a)+"px)":1===e.b.$?"minmax("+M(e.a.a)+"px, max-content)":(a=e.b.a,"minmax("+M(e.a.a)+("px, "+M(a))+"px)");case 2:var a,e=r.a,u={a:n,b:t};return 1===u.a.$?1===u.b.$?M(e)+"fr":"minmax(max-content, "+M(a=u.b.a)+"px)":1===u.b.$?"minmax("+M(u.a.a)+("px, "+M(e))+"frfr)":(a=u.b.a,"minmax("+M(u.a.a)+("px, "+M(a))+"px)");case 3:var c=r.a,i=r.b;n=A(c),t=t,r=i;continue;default:c=r.a,i=r.b;n=n,t=A(c),r=i;continue}}),f=function(n){return T(_,L,L,n)},$=(f(o.ff.a),f(o.ff.b)),a="grid-template-rows: "+H(C," ",H(S,f,o.e4))+";",v="-ms-grid-rows: "+H(C,$,H(S,f,o.P))+";",u="-ms-grid-columns: "+H(C,$,H(S,f,o.P))+";",d="grid-row-gap:"+f(o.ff.b)+";",h="grid-column-gap:"+f(o.ff.a)+";",i="grid-template-columns: "+H(C," ",H(S,f,o.P))+";";return j([(p=".grid-rows-"+H(C,"-",H(S,Oi,o.e4))+("-cols-"+H(C,"-",H(S,Oi,o.P))+("-space-x-"+Oi(o.ff.a)+("-space-y-"+Oi(o.ff.b)))))+"{"+u+v+"}","@supports (display:grid) {"+(p+"{"+i+a+h+d+"}")+"}"]);case 9:b=n.a,e=H(C," ",j(["-ms-grid-row: "+M(b.bc)+";","-ms-grid-row-span: "+M(b.bC)+";","-ms-grid-column: "+M(b.a5)+";","-ms-grid-column-span: "+M(b.b)+";"])),g=H(C," ",j(["grid-row: "+M(b.bc)+(" / "+M(b.bc+b.bC))+";","grid-column: "+M(b.a5)+(" / "+M(b.a5+b.b))+";"]));return j([(p=".grid-pos-"+M(b.bc)+("-"+M(b.a5)+("-"+M(b.b)+("-"+M(b.bC)))))+"{"+e+"}","@supports (display:grid) {"+(p+"{"+g+"}")+"}"]);case 11:p=n.a;return H(xc,function(n){return T(ff,t,n,A(p))},n.b);default:var s=n.a,w=function(n){switch(n.$){case 0:return L;case 1:var t=n.a,r=t.b,e=t.c;return A("translate3d("+Yi(t.a)+("px, "+Yi(r)+("px, "+Yi(e)))+"px)");default:var t=n.a,r=t.b,e=t.c,a=n.b,u=a.a,c=a.b,a=a.c,i=n.c,o=i.a,f=i.b,i=i.c,s=n.d,t="translate3d("+Yi(t.a)+("px, "+Yi(r)+("px, "+Yi(e)))+"px)",r="scale3d("+Yi(u)+(", "+Yi(c)+(", "+Yi(a)))+")",e="rotate3d("+Yi(o)+(", "+Yi(f)+(", "+Yi(i)+(", "+Yi(s))))+"rad)";return A(t+" "+r+" "+e)}}(s),m={a:p=Vr(s),b:w};return m.a.$||m.b.$?k:y(of,t,r,"."+(c=m.a.a),j([H(Fi,"transform",m.b.a)]))}}),sf=m(function(r,n){return n=H(S,function(n){var t=T(ff,r,n,L);return{a:Xr(n),b:H(uf,di,t)}},n),T(Ee,m(function(n,t){return T(On,n.a,n.b,t)}),{},n)}),bf=m(function(n,t){return n+(" {"+H(C,"",H(S,function(n){return n.a+": "+n.b+";"},t)))+"}"}),df=x(function(n,t,r){var e=r.b;return j([H(bf,"."+n+"."+t+", ."+n+" ."+t,r.a),H(bf,"."+n+"."+t+"> ."+I.fo+", ."+n+" ."+t+" > ."+I.fo,e)])}),lf=x(function(n,t,r){var e=t.a,t=t.b,r=_(n,r)?n:r+" ."+n;return H(C," ",D(T(df,r,I.fd,t),T(df,r,I.er,e)))}),$f=m(function(n,t){t=_(n,t)?n:t+" ."+n;return H(C," ",j([H(bf,"."+t+"."+I.fd+", ."+t+" ."+I.fd,j([{a:"line-height",b:"1"}])),H(bf,"."+t+"."+I.fd+"> ."+I.fo+", ."+t+" ."+I.fd+" > ."+I.fo,j([{a:"vertical-align",b:"0"},{a:"line-height",b:"1"}]))]))}),vf=x(function(n,t,r){return{bC:t/n,dv:n,dI:r}}),pf=m(function(r,n){return T(ya,m(function(n,t){return r(n)?H(R,n,t):t}),k,n)}),hf=function(n){var t=j([n.eb,n.d0,n.ek,n.eK]),r=H(Ja,n.ek,ho(t)),e=H(Ja,n.d0,ho(H(pf,function(n){return!_(n,r)},t))),n=H(Ja,n.eb,po(t)),t=1/(n-r),a=1-n;return{eb:T(vf,1/(n-e),n-e,1-n),cN:T(vf,t,n-r,a)}},gf=function(n){return{a:j([{a:"display",b:"block"}]),b:j([{a:"display",b:"inline-block"},{a:"line-height",b:Yi(n.bC)},{a:"vertical-align",b:Yi(n.dI)+"em"},{a:"font-size",b:Yi(n.dv)+"em"}])}},mf=m(function(r,n){var t=m(function(n,t){return{bH:D(t.bH,T(ff,r,n,L)),bm:1===(n=1===(n=n).$?A({a:n.a,b:n.b}):L).$?t.bm:H(R,n.a,t.bm)}}),t=T(Ee,t,{bH:k,bm:k},n),n=t.bH;return D(go(t.bm),ce(n))}),_f=m(function(n,t){switch(n.eM){case 0:case 1:return T(re,"div",k,j([T(re,"style",k,j([af(H(mf,n,t))]))]));default:return T(re,"elm-ui-rules",j([H(ro,"rules",H(sf,n,t))]),k)}}),wf=U(function(n,t,r,e){r=H(_f,t,T(Ee,Wi,{a:Gi,b:te(t.eo)},r).b);return n?H(R,{a:"static-stylesheet",b:fo(t)},H(R,{a:"dynamic-stylesheet",b:r},e)):H(R,{a:"dynamic-stylesheet",b:r},e)}),xf=U(function(n,t,r,e){r=H(_f,t,T(Ee,Wi,{a:Gi,b:te(t.eo)},r).b);return n?H(R,fo(t),H(R,r,e)):H(R,r,e)}),yf=Wr(45),kf=Wr(37),jf=gt("p"),Ef=m(function(n,t){var r,e=t.a;return n.$?_((r=n.a)&t.b,r):_((t=n.a)&e,t)}),Af=gt("s"),Lf=gt("u"),Cf=Wr(44),Sf=Wr(39),Zf=f(function(n,t,r,a,u,e){var c=m(function(n,t){var r,e;return 1===a.$?(r=a.a,T(mo,n,t,function(){switch(u.$){case 0:return r;case 2:return y(wf,!1,u.a,u.b,r);default:return y(wf,!0,u.a,u.b,r)}}())):(e=a.a,H(function(){switch(n){case"div":return Ii;case"p":return jf;default:return re(n)}}(),t,function(){switch(u.$){case 0:return e;case 2:return y(xf,!1,u.a,u.b,e);default:return y(xf,!0,u.a,u.b,e)}}()))}),i=function(){switch(t.$){case 0:return H(c,"div",r);case 1:return H(c,t.a,r);default:return T(re,t.a,r,j([H(c,t.b,j([P(I.dZ+" "+I.fc)]))]))}}();switch(e){case 0:return H(Ef,Sf,n)&&!H(Ef,Cf,n)?i:H(Ef,Ri,n)?H(Lf,j([P(H(C," ",j([I.dZ,I.fc,I.bw,I.ak,I.dV])))]),j([i])):H(Ef,Mi,n)?H(Af,j([P(H(C," ",j([I.dZ,I.fc,I.bw,I.ak,I.dT])))]),j([i])):i;case 1:return H(Ef,kf,n)&&!H(Ef,yf,n)?i:H(Ef,Pi,n)?H(Af,j([P(H(C," ",j([I.dZ,I.fc,I.bw,I.dU])))]),j([i])):H(Ef,Di,n)?H(Lf,j([P(H(C," ",j([I.dZ,I.fc,I.bw,I.dS])))]),j([i])):i;default:return i}}),Nf=af,qf=I.dZ+" "+I.fo+" "+I.cr+" "+I.b3,zf=I.dZ+" "+I.fo+" "+I.cs+" "+I.b4,Bf=x(function(i,n,t){var r,e,a,u,c=m(function(n,t){var r=n.a,e=n.b,a=t.a,u=t.b;switch(e.$){case 0:var c=e.a;return _(i,4),{a:H(R,{a:r,b:c(i)},a),b:u};case 1:c=e.a;return _(i,4),{a:H(R,{a:r,b:H(c.ew,Bi,i)},a),b:u.b?D(c.fm,u):c.fm};case 2:c=e.a;return{a:H(R,{a:r,b:(_(i,2)?wo:_o)(c)},a),b:u};default:return{a:a,b:u}}}),o=m(function(n,t){var r=t.a,e=t.b;switch(n.$){case 0:var a=n.a;return _(i,4),{a:H(R,a(i),r),b:e};case 1:a=n.a;return _(i,4),{a:H(R,H(a.ew,Bi,i),r),b:e.b?D(a.fm,e):a.fm};case 2:a=n.a;return{a:H(R,(_(i,2)?wo:_o)(a),r),b:e};default:return{a:r,b:e}}});return 1===n.$?(r=(c=T(ya,c,{a:k,b:k},n.a)).a,(a=(e=c.b).b?D(t.fm,e):t.fm).b?(u=a,{$:1,a:{ew:y(Zf,t.aA,t.aE,t.av,{$:1,a:T(Ti,"nearby-element-pls",r,t.aw)}),fm:u}}):{$:0,a:h(Zf,t.aA,t.aE,t.av,{$:1,a:T(Ti,"nearby-element-pls",r,t.aw)},Bi)}):(r=(c=T(ya,o,{a:k,b:k},n.a)).a,(a=(e=c.b).b?D(t.fm,e):t.fm).b?(u=a,{$:1,a:{ew:y(Zf,t.aA,t.aE,t.av,{$:0,a:H(Hi,r,t.aw)}),fm:u}}):{$:0,a:h(Zf,t.aA,t.aE,t.av,{$:0,a:H(Hi,r,t.aw)},Bi)})}),Hf=x(function(n,t,r){return{$:3,a:n,b:t,c:r}}),Tf=function(n){return{$:10,a:n}},Df=m(function(n,t){return{$:0,a:n,b:t}}),Rf=m(function(n,t){var r=t.a,t=t.b;return n.$?H(Df,r,n.a|t):H(Df,n.a|r,t)}),Mf=m(function(n,t){return{$:3,a:n,b:t}}),Pf=m(function(n,t){return H(Ii,j([P(function(){switch(n){case 0:return H(C," ",j([I.aS,I.fc,I.dN]));case 1:return H(C," ",j([I.aS,I.fc,I.d2]));case 2:return H(C," ",j([I.aS,I.fc,I.eQ]));case 3:return H(C," ",j([I.aS,I.fc,I.eP]));case 4:return H(C," ",j([I.aS,I.fc,I.eA]));default:return H(C," ",j([I.aS,I.fc,I.d1]))}}())]),j([function(){switch(t.$){case 3:return af("");case 2:return _o(t.a);case 0:return(0,t.a)(2);default:return H(t.a.ew,Bi,2)}}()]))}),If=x(function(n,t,r){var e=H(Pf,n,t);switch(r.$){case 0:return 5===n?{$:1,a:j([e])}:{$:2,a:j([e])};case 1:var a=r.a;return 5===n?{$:1,a:H(R,e,a)}:H(Mf,a,j([e]));case 2:var u=r.a;return 5===n?H(Mf,j([e]),u):{$:2,a:H(R,e,u)};default:a=r.a,u=r.b;return 5===n?H(Mf,H(R,e,a),u):H(Mf,a,H(R,e,u))}}),Gf=m(function(n,t){return{$:2,a:n,b:t}}),Of=m(function(n,t){switch(t.$){case 0:return{$:1,a:n};case 1:return H(Gf,t.a,n);default:return H(Gf,t.a,t.b)}}),Jf=m(function(n,t){return H(kt,function(n){return/^(on|formAction$)/i.test(n)?"data-"+n:n}(n),Et(t))}),Kf=U(function(n,t,r,e){return{$:2,a:n,b:t,c:r,d:e}}),Uf=m(function(n,t){switch(n.$){case 0:switch(t.$){case 0:return{$:1,a:{a:r=t.a,b:0,c:0}};case 1:return{$:1,a:{a:0,b:e=t.a,c:0}};case 2:return{$:1,a:{a:0,b:0,c:a=t.a}};case 3:return{$:1,a:t.a};case 4:return y(Kf,{a:0,b:0,c:0},{a:1,b:1,c:1},t.a,o=t.b);default:return y(Kf,{a:0,b:0,c:0},t.a,{a:0,b:0,c:1},0)}case 1:var r=(u=n.a).a,e=u.b,a=u.c;switch(t.$){case 0:return{$:1,a:{a:t.a,b:e,c:a}};case 1:return{$:1,a:{a:r,b:t.a,c:a}};case 2:return{$:1,a:{a:r,b:e,c:t.a}};case 3:return{$:1,a:t.a};case 4:return y(Kf,u,{a:1,b:1,c:1},t.a,o=t.b);default:return y(Kf,u,t.a,{a:0,b:0,c:1},0)}default:var u,r=(u=n.a).a,e=u.b,a=u.c,c=n.b,i=n.c,o=n.d;switch(t.$){case 0:return y(Kf,{a:t.a,b:e,c:a},c,i,o);case 1:return y(Kf,{a:r,b:t.a,c:a},c,i,o);case 2:return y(Kf,{a:r,b:e,c:t.a},c,i,o);case 3:return y(Kf,t.a,c,i,o);case 4:return y(Kf,u,c,t.a,t.b);default:return y(Kf,u,t.a,i,o)}}}),Wf=Wr(7),Ff=Wr(36),Qf=m(function(n,t){return H(Df,n.a|t.a,n.b|t.b)}),Yf=H(Df,0,0),Vf=Wr(38),Xf=Wr(27),ns=m(function(n,t){if(_(n,Xf)){if(3!==t.$)return!1;switch(t.c){case"0px":case"1px":case"2px":case"3px":case"4px":case"5px":case"6px":return!0;default:return!1}}else switch(t.$){case 2:var r=t.a;return 8<=r&&r<=32;case 7:var r=t.b,e=t.c,a=t.e;return _(r,t.d)&&_(r,e)&&_(r,a)&&0<=r&&r<=24;default:return!1}}),ts=Wr(6),rs=Wr(30),es=Wr(29),as=d(function(n,t,r,e,a,u,c,i){for(;;){var o;if(!i.b)return 1===(o=Vr(e)).$?{av:H(R,P(n),u),aw:c,aA:r,aE:t,fm:a}:{av:H(R,P(n+" "+o.a),u),aw:c,aA:r,aE:t,fm:H(R,Tf(e),a)};var f=i.a,s=i.b;switch(f.$){case 0:n=l=n,t=$=t,r=v=r,e=p=e,a=h=a,u=g=u,c=q=c,i=s;continue;case 3:var b=f.a,d=f.b;if(H(Ef,b,r)){n=l=n,t=$=t,r=v=r,e=p=e,a=h=a,u=g=u,c=q=c,i=s;continue}n=l=d+" "+n,t=$=t,r=v=H(Rf,b,r),e=p=e,a=h=a,u=g=u,c=q=c,i=s;continue;case 1:var l=n,$=t,v=r,p=e,h=a,g=H(R,f.a,u);n=l,t=$,r=v,e=p,a=h,u=g,c=q=c,i=s;continue;case 4:b=f.a,d=f.b;if(H(Ef,b,r)){n=l=n,t=$=t,r=v=r,e=p=e,a=h=a,u=g=u,c=q=c,i=s;continue}if(H(ns,b,d)){n=l=Xr(d)+" "+n,t=$=t,r=v=H(Rf,b,r),e=p=e,a=h=a,u=g=u,c=q=c,i=s;continue}l=Xr(d)+" "+n,$=t,v=H(Rf,b,r),p=e,h=H(R,d,a);n=l,t=$,r=v,e=p,a=h,u=g=u,c=q=c,i=s;continue;case 10:var b=f.a,m=f.b;n=l=n,t=$=t,r=v=H(Rf,b,r),e=p=H(Uf,e,m),a=h=a,u=g=u,c=q=c,i=s;continue;case 7:var _=f.a;if(H(Ef,ts,r)){n=l=n,t=$=t,r=v=r,e=p=e,a=h=a,u=g=u,c=q=c,i=s;continue}switch(_.$){case 0:var w=_.a,l=I.dJ+(" width-px-"+M(w))+" "+n,$=t,v=H(Rf,ts,r),p=e,h=H(R,T(Hf,"width-px-"+M(w),"width",M(w)+"px"),a);n=l,t=$,r=v,e=p,a=h,u=g=u,c=q=c,i=s;continue;case 1:n=l=n+" "+I.cr,t=$=t,r=v=H(Rf,Vf,H(Rf,ts,r)),e=p=e,a=h=a,u=g=u,c=q=c,i=s;continue;case 2:if(1===(E=_.a)){n=l=n+" "+I.cs,t=$=t,r=v=H(Rf,Sf,H(Rf,ts,r)),e=p=e,a=h=a,u=g=u,c=q=c,i=s;continue}l=n+(" "+I.dK+(" width-fill-"+M(E))),$=t,v=H(Rf,Sf,H(Rf,ts,r)),p=e,h=H(R,T(Hf,I.dZ+("."+I.bc+(" > "+G("width-fill-"+M(E)))),"flex-grow",M(1e5*E)),a);n=l,t=$,r=v,e=p,a=h,u=g=u,c=q=c,i=s;continue;default:var x=yo(_),y=x.a,k=x.b,j=x.c,l=n+" "+k,$=t,v=H(Qf,y,H(Rf,ts,r)),p=e,h=D(j,a);n=l,t=$,r=v,e=p,a=h,u=g=u,c=q=c,i=s;continue}case 8:var E,A=f.a;if(H(Ef,Wf,r)){n=l=n,t=$=t,r=v=r,e=p=e,a=h=a,u=g=u,c=q=c,i=s;continue}switch(A.$){case 0:var L=M(w=A.a)+"px",C="height-px-"+L,l=I.cR+" "+C+" "+n,$=t,v=H(Rf,Wf,r),p=e,h=H(R,T(Hf,C,"height ",L),a);n=l,t=$,r=v,e=p,a=h,u=g=u,c=q=c,i=s;continue;case 1:n=l=I.b3+" "+n,t=$=t,r=v=H(Rf,Ff,H(Rf,Wf,r)),e=p=e,a=h=a,u=g=u,c=q=c,i=s;continue;case 2:if(1===(E=A.a)){n=l=I.b4+" "+n,t=$=t,r=v=H(Rf,kf,H(Rf,Wf,r)),e=p=e,a=h=a,u=g=u,c=q=c,i=s;continue}l=n+(" "+I.cS+(" height-fill-"+M(E))),$=t,v=H(Rf,kf,H(Rf,Wf,r)),p=e,h=H(R,T(Hf,I.dZ+("."+I.aj+(" > "+G("height-fill-"+M(E)))),"flex-grow",M(1e5*E)),a);n=l,t=$,r=v,e=p,a=h,u=g=u,c=q=c,i=s;continue;default:var C=xo(A),y=C.a,k=C.b,j=C.c,l=n+" "+k,$=t,v=H(Qf,y,H(Rf,Wf,r)),p=e,h=D(j,a);n=l,t=$,r=v,e=p,a=h,u=g=u,c=q=c,i=s;continue}case 2:var S=f.a;switch(S.$){case 0:n=l=n,t=$=H(Of,"main",t),r=v=r,e=p=e,a=h=a,u=g=u,c=q=c,i=s;continue;case 1:n=l=n,t=$=H(Of,"nav",t),r=v=r,e=p=e,a=h=a,u=g=u,c=q=c,i=s;continue;case 2:n=l=n,t=$=H(Of,"footer",t),r=v=r,e=p=e,a=h=a,u=g=u,c=q=c,i=s;continue;case 3:n=l=n,t=$=H(Of,"aside",t),r=v=r,e=p=e,a=h=a,u=g=u,c=q=c,i=s;continue;case 4:var Z=S.a;if(1 ",e):F(H(Ja,0,Ro(t)),H(Ja,0,H(Zb,1,t)))<0?H(C," < ",e):H(C," = ",e):"";return""===n?L:A(n)}),Z0=o(function(n,t,r,e,a){return{$:0,a:n,b:t,c:r,d:e,e:a}}),N0=x(function(n,t,r){return{$:0,a:n,b:t,c:r}}),q0=U(function(n,t,r,e){return"pad-"+ji(n)+("-"+ji(t)+("-"+ji(r)+("-"+ji(e))))}),z0=xt,B0=m(function(n,t){var r,e,a,u,c,i=Qo(n),o=i.a,i=i.b;return 1===i.$?y(is,0,Ai,H(R,So(I.a6+" "+I.ak+" "+I.cv),H(R,q(ss),H(R,os(ss),n))),{$:0,a:t}):(r=(i=i.a).a,e=i.b,i=i.c,(a=!o.$&&(a=(o=o.a).b,c=o.d,u=o.e,-1",{$:10,a:1}),1 optional "host" (nullable string) Nothing - |> optional "lang" string "en" - |> required "subdomain" string - |> optional "section" string "leagues" - - -decodeTranslations : Decoder (List Translation) -decodeTranslations = - let - decodeTranslation : Decoder Translation - decodeTranslation = - Decode.succeed Translation - |> required "key" string - |> required "label" string - in - list decodeTranslation - - -decodeDraws : Decoder (List Draw) -decodeDraws = - let - decodeDraw : Decoder Draw - decodeDraw = - Decode.succeed Draw - |> required "id" int - |> required "starts_at" string - |> required "label" string - |> optional "attendance" int 0 - |> required "draw_sheets" (list (nullable string)) - in - list decodeDraw - - - --- HELPERS - - -drawUrl : Int -> Draw -> String -drawUrl eventId draw = - "/events/" ++ String.fromInt eventId ++ "/draws/" ++ String.fromInt draw.id - - -translate : List Translation -> String -> String -translate translations key = - -- Translates the passed key to the current labels (server determines locale by url). - case List.Extra.find (\translation -> String.toLower translation.key == String.toLower key) translations of - Just translation -> - translation.label - - Nothing -> - key - - -colorNameToRGB : String -> El.Color -colorNameToRGB color = - case color of - "red" -> - El.rgb255 204 0 0 - - "yellow" -> - El.rgb255 204 204 0 - - _ -> - El.rgb255 204 204 0 - - -errorMessage : Http.Error -> String -errorMessage error = - case error of - Http.BadUrl string -> - "Bad URL used: " ++ string - - Http.Timeout -> - "Network timeout. Please check your internet connection." - - Http.NetworkError -> - "Network error. Please check your internet connection." - - Http.BadStatus int -> - "Bad status response from server. Please contact Curling I/O support if the issue persists for more than a few minutes." - - Http.BadBody string -> - "Bad body response from server. Please contact Curling I/O support if the issue persists for more than a few minutes. Details: \"" ++ string ++ "\"" - - -baseUrl : Flags -> String -baseUrl { host, lang } = - let - devUrl = - -- Development - "http://api.curling.test:3000/" ++ lang - - -- productionUrl = - -- -- Production without caching - -- "https://api.curling.io/" ++ Maybe.withDefault "en" lang - -- - productionCachedUrl = - -- Production cached via CDN (Fastly) - "https://api-curlingio.global.ssl.fastly.net/" ++ lang - in - case host of - Just h -> - if String.contains "localhost" h || String.contains ".curling.test" h then - devUrl - -- - -- else if String.contains ".curling.io" h then - -- productionUrl - - else - productionCachedUrl - - Nothing -> - productionCachedUrl - - -baseClubUrl : Flags -> String -baseClubUrl flags = - baseUrl flags ++ "/clubs/" ++ flags.subdomain ++ "/" - - -getTranslations : Flags -> Cmd Msg -getTranslations flags = - let - url = - baseUrl flags ++ "/translations" - in - RemoteData.Http.get url GotTranslations decodeTranslations - - -getDraws : Flags -> Cmd Msg -getDraws flags = - let - url = - baseClubUrl flags ++ flags.section - in - RemoteData.Http.get url GotDraws decodeDraws - - -init : Decode.Value -> ( Model, Cmd Msg ) -init flags_ = - case Decode.decodeValue decodeFlags flags_ of - Ok flags -> - ( { flags = flags - , translations = NotAsked - , draws = NotAsked - , errorMsg = Nothing - } - , Cmd.batch - [ getTranslations flags - , getDraws flags - ] - ) - - Err error -> - let - flags = - { host = Nothing - , lang = "en" - , subdomain = "" - , section = "leagues" - } - in - ( { flags = flags - , translations = NotAsked - , draws = NotAsked - , errorMsg = Nothing - } - , Cmd.none - ) - - - --- UPDATE - - -type Msg - = NoOp - | NavigateOut String - | GotTranslations (WebData (List Translation)) - | GotDraws (WebData (List Draw)) - - -update : Msg -> Model -> ( Model, Cmd Msg ) -update msg model = - case msg of - NoOp -> - ( model, Cmd.none ) - - NavigateOut url -> - ( model, Navigation.load url ) - - GotTranslations response -> - ( { model | translations = response, errorMsg = Nothing }, Cmd.none ) - - GotDraws response -> - ( { model | draws = response, errorMsg = Nothing }, Cmd.none ) - - - --- COLORS - - -theme = - { primary = El.rgb255 237 25 64 - , primaryFocused = El.rgb255 197 10 49 - , secondary = El.rgb255 108 117 125 - , secondaryFocused = El.rgb255 128 137 155 - , white = El.rgb255 255 255 255 - , greyLight = El.rgba 0 0 0 0.05 - , grey = El.rgba 0 0 0 0.1 - , greyMedium = El.rgba 0 0 0 0.2 - , greyStrong = El.rgba 0 0 0 0.4 - , greyDark = El.rgba 0 0 0 0.6 - , defaultText = El.rgb255 33 37 41 - , transparent = El.rgba 1 1 1 0 - } - - - --- VIEWS - - -view : Model -> Html Msg -view model = - El.layout - [ Font.size 16 - , Font.color theme.defaultText - , El.width El.fill - , El.height El.fill - , El.padding 10 - , Font.family - [ Font.typeface "-apple-system" - , Font.typeface "BlinkMacSystemFont" - , Font.typeface "Segoe UI" - , Font.typeface "Roboto" - , Font.typeface "Helvetica Neue" - , Font.typeface "Arial" - , Font.typeface "Noto Sans" - , Font.typeface "Noto Sans" - , Font.typeface "Liberation Sans" - , Font.typeface "Apple Color Emoji" - , Font.typeface "Segoe UI Emoji" - , Font.typeface "Segoe UI Symbol" - , Font.typeface "Noto Color Emoji" - , Font.sansSerif - ] - ] - (el [] (text "Current Draws")) - - - --- MAIN - - -main = - Browser.element - { init = init - , update = update - , subscriptions = \_ -> Sub.none - , view = view - } diff --git a/src/CurrentGames.elm b/src/CurrentGames.elm new file mode 100644 index 0000000..e5eaa49 --- /dev/null +++ b/src/CurrentGames.elm @@ -0,0 +1,519 @@ +module CurrentGames exposing (init) + +import Browser +import Browser.Navigation as Navigation +import Element as El exposing (Device, Element, column, el, row, text) +import Element.Background as Background +import Element.Border as Border +import Element.Events as Events +import Element.Font as Font +import Html exposing (Html) +import Http +import Json.Decode as Decode exposing (Decoder, bool, float, int, list, nullable, string) +import Json.Decode.Pipeline exposing (hardcoded, optional, required) +import List.Extra +import RemoteData exposing (RemoteData(..), WebData) +import RemoteData.Http +import Theme exposing (Theme, decodeTheme, defaultTheme) + + + +-- MODEL + + +type alias Model = + { flags : Flags + , translations : WebData (List Translation) + , sides : WebData (List Side) + , errorMsg : Maybe String + } + + +type alias Flags = + { subdomain : String + , lang : String + , host : Maybe String + , showEndScores : Bool + , theme : Theme + } + + +type alias Translation = + { key : String + , label : String + } + + +type alias Side = + { id : Int + , gameId : String + , drawId : Int + , eventId : Int + , startsAt : String + , gameName : Maybe String + , rockColor : String + , result : Maybe SideResult + , score : Maybe Int + , teamShortName : String + , gameState : GameState + , eventName : String + , firstHammer : Bool + , endScores : List Int + } + + +type GameState + = GamePending + | GameActive + | GameComplete + + +type SideResult + = SideResultWon + | SideResultLost + | SideResultTied + | SideResultConceded + | SideResultForfeited + | SideResultTimePenalized + + + +-- DECODERS + + +decodeFlags : Decoder Flags +decodeFlags = + Decode.succeed Flags + |> required "subdomain" string + |> optional "lang" string "en" + |> optional "host" (nullable string) Nothing + |> optional "showEndScores" bool True + |> optional "theme" decodeTheme defaultTheme + + +decodeTranslations : Decoder (List Translation) +decodeTranslations = + let + decodeTranslation : Decoder Translation + decodeTranslation = + Decode.succeed Translation + |> required "key" string + |> required "label" string + in + list decodeTranslation + + +decodeSides : Decoder (List Side) +decodeSides = + let + decodeSide : Decoder Side + decodeSide = + let + decodeGameState : Decoder GameState + decodeGameState = + string + |> Decode.andThen + (\str -> + case str of + "active" -> + Decode.succeed GameActive + + "complete" -> + Decode.succeed GameComplete + + _ -> + Decode.succeed GamePending + ) + + decodeSideResult : Decoder (Maybe SideResult) + decodeSideResult = + string + |> Decode.andThen + (\str -> + case str of + "won" -> + Decode.succeed (Just SideResultWon) + + "lost" -> + Decode.succeed (Just SideResultLost) + + "tied" -> + Decode.succeed (Just SideResultTied) + + "conceded" -> + Decode.succeed (Just SideResultConceded) + + "forfeited" -> + Decode.succeed (Just SideResultForfeited) + + "time_penalized" -> + Decode.succeed (Just SideResultTimePenalized) + + _ -> + Decode.succeed Nothing + ) + in + Decode.succeed Side + |> required "id" int + |> required "game_id" string + |> required "draw_id" int + |> required "event_id" int + |> required "starts_at" string + |> optional "game_name" (nullable string) Nothing + |> required "rock_color" string + |> optional "result" decodeSideResult Nothing + |> required "score" (nullable int) + |> required "team_short_name" string + |> required "game_state" decodeGameState + |> required "event_name" string + |> optional "first_hammer" bool False + |> optional "end_scores" (list int) [] + in + list decodeSide + + + +-- HELPERS + + +drawUrl : Int -> Int -> String +drawUrl eventId drawId = + "/events/" ++ String.fromInt eventId ++ "/draws/" ++ String.fromInt drawId + + +translate : List Translation -> String -> String +translate translations key = + -- Translates the passed key to the current labels (server determines locale by url). + case List.Extra.find (\translation -> String.toLower translation.key == String.toLower key) translations of + Just translation -> + translation.label + + Nothing -> + key + + +gameStateToString : List Translation -> GameState -> String +gameStateToString translations gameState = + translate translations + (case gameState of + GamePending -> + "pending" + + GameActive -> + "active" + + GameComplete -> + "complete" + ) + + +colorNameToRGB : String -> El.Color +colorNameToRGB color = + case color of + "red" -> + El.rgb255 204 0 0 + + "yellow" -> + El.rgb255 204 204 0 + + _ -> + El.rgb255 204 204 0 + + +errorMessage : Http.Error -> String +errorMessage error = + case error of + Http.BadUrl string -> + "Bad URL used: " ++ string + + Http.Timeout -> + "Network timeout. Please check your internet connection." + + Http.NetworkError -> + "Network error. Please check your internet connection." + + Http.BadStatus int -> + "Bad status response from server. Please contact Curling I/O support if the issue persists for more than a few minutes." + + Http.BadBody string -> + "Bad body response from server. Please contact Curling I/O support if the issue persists for more than a few minutes. Details: \"" ++ string ++ "\"" + + +baseUrl : Flags -> String +baseUrl { host, lang } = + let + devUrl = + -- Development + "http://api.curling.test:3000/" ++ lang + + productionCachedUrl = + -- Production cached via CDN (Fastly) + "https://api-curlingio.global.ssl.fastly.net/" ++ lang + in + case host of + Just h -> + if String.contains "localhost" h || String.contains ".curling.test" h then + devUrl + + else + productionCachedUrl + + Nothing -> + productionCachedUrl + + +baseClubUrl : Flags -> String +baseClubUrl flags = + baseUrl flags ++ "/clubs/" ++ flags.subdomain ++ "/" + + +getTranslations : Flags -> Cmd Msg +getTranslations flags = + let + url = + baseUrl flags ++ "/translations" + in + RemoteData.Http.get url GotTranslations decodeTranslations + + +getSides : Flags -> Cmd Msg +getSides flags = + let + url = + baseClubUrl flags ++ "current_game_positions" + in + RemoteData.Http.get url GotSides decodeSides + + +groupWhile : (a -> a -> Bool) -> List a -> List (List a) +groupWhile isSameGroup items = + -- It's kind of strange, but the List.Extra.groupWhile function return the first matching record as the + -- first item in a tuple, and all other matching records in a list as the second item in the tuple. + -- This saves us from dealing with the Maybe returned from List.head, but at the cost of breaking our brains. + -- IMO not worth, so we're making it more intuitive by returning an inclusive list of the groupings (list of lists) + -- instead of a tuple. + List.Extra.groupWhile isSameGroup items + -- Convert the tuple to just a list by moving the head item over + |> List.map (\( x, xs ) -> x :: xs) + + +init : Decode.Value -> ( Model, Cmd Msg ) +init flags_ = + case Decode.decodeValue decodeFlags flags_ of + Ok flags -> + ( { flags = flags + , translations = NotAsked + , sides = NotAsked + , errorMsg = Nothing + } + , Cmd.batch + [ getTranslations flags + , getSides flags + ] + ) + + Err error -> + let + flags = + { subdomain = "" + , lang = "en" + , host = Nothing + , showEndScores = False + , theme = defaultTheme + } + in + ( { flags = flags + , translations = NotAsked + , sides = NotAsked + , errorMsg = Nothing + } + , Cmd.none + ) + + + +-- UPDATE + + +type Msg + = NoOp + | NavigateOut String + | GotTranslations (WebData (List Translation)) + | GotSides (WebData (List Side)) + + +update : Msg -> Model -> ( Model, Cmd Msg ) +update msg model = + case msg of + NoOp -> + ( model, Cmd.none ) + + NavigateOut url -> + ( model, Navigation.load url ) + + GotTranslations response -> + ( { model | translations = response, errorMsg = Nothing }, Cmd.none ) + + GotSides response -> + ( { model | sides = response, errorMsg = Nothing }, Cmd.none ) + + + +-- VIEWS + + +view : Model -> Html Msg +view model = + El.layout + [ Font.size 16 + , Font.color model.flags.theme.defaultText + , El.width (El.px 300) + , El.height El.fill + , El.padding 10 + , Font.family + [ Font.typeface "-apple-system" + , Font.typeface "BlinkMacSystemFont" + , Font.typeface "Segoe UI" + , Font.typeface "Roboto" + , Font.typeface "Helvetica Neue" + , Font.typeface "Arial" + , Font.typeface "Noto Sans" + , Font.typeface "Noto Sans" + , Font.typeface "Liberation Sans" + , Font.typeface "Apple Color Emoji" + , Font.typeface "Segoe UI Emoji" + , Font.typeface "Segoe UI Symbol" + , Font.typeface "Noto Color Emoji" + , Font.sansSerif + ] + ] + (case ( model.translations, model.sides ) of + ( Success translations, Success sides ) -> + viewGames model.flags translations sides + + _ -> + -- TODO: Handle other states and errors. + el [] (text "Nothing") + ) + + +viewGames : Flags -> List Translation -> List Side -> Element Msg +viewGames { theme, showEndScores } translations sides = + let + viewGame : List Side -> Element Msg + viewGame gameSides = + let + title = + case List.head gameSides of + Just top -> + top.eventName + ++ (case top.gameName of + Just gameName -> + " - " ++ gameName + + Nothing -> + "" + ) + + Nothing -> + -- This should never happen + "" + + subTitle = + case List.head gameSides of + Just top -> + top.startsAt ++ " - " ++ gameStateToString translations top.gameState + + Nothing -> + -- This should never happen + "" + + viewSide : Side -> Element Msg + viewSide side = + let + viewTeamName = + el [ El.width El.fill, El.clip ] (text side.teamShortName) + + viewScore = + el + [ El.alignRight + , El.width (El.px 20) + , Font.bold + ] + (el [ El.alignRight ] + (text + (case side.score of + Just score -> + String.fromInt score + + Nothing -> + "-" + ) + ) + ) + + viewEndScores = + let + viewEndScore endScore = + el [ El.alignRight, El.width (El.px 10) ] (text (String.fromInt endScore)) + in + if showEndScores then + row [ El.alignRight, El.spacing 5 ] + (List.map viewEndScore side.endScores) + + else + El.none + in + row + [ El.width El.fill + , El.spacing 10 + , El.paddingXY 0 5 + , Font.color + (case side.result of + Just SideResultWon -> + theme.primary + + _ -> + theme.defaultText + ) + ] + [ viewTeamName, viewEndScores, viewScore ] + in + column + [ El.width El.fill + , El.spacing 10 + , El.padding 10 + , Border.width 1 + , case Maybe.map .gameState (List.head gameSides) of + Just GameActive -> + Border.color theme.primary + + _ -> + Border.color theme.grey + ] + [ El.wrappedRow [ Font.size 12 ] [ text title ] + , el [ Font.size 12 ] (text subTitle) + , column [ El.width El.fill ] (List.map viewSide gameSides) + ] + in + if List.isEmpty sides then + el [] (text (translate translations "no_current_games")) + + else + column [ El.width El.fill, El.spacing 20 ] + (groupWhile (\a b -> a.gameId == b.gameId) sides + |> List.map viewGame + ) + + + +-- MAIN + + +main = + Browser.element + { init = init + , update = update + , subscriptions = \_ -> Sub.none + , view = view + } diff --git a/src/Results.elm b/src/Results.elm index ea21f65..3ed22c0 100644 --- a/src/Results.elm +++ b/src/Results.elm @@ -1,5 +1,7 @@ port module Results exposing (init) +-- import Element.HexColor as HexColor + import Browser import Browser.Dom import Browser.Events @@ -16,11 +18,12 @@ import Html exposing (Html) import Html.Attributes exposing (class, style) import Http import Json.Decode as Decode exposing (Decoder, bool, float, int, list, nullable, string) -import Json.Decode.Pipeline exposing (hardcoded, optional, required) +import Json.Decode.Pipeline exposing (optional, required) import List.Extra import RemoteData exposing (RemoteData(..), WebData) import RemoteData.Http import Task +import Theme exposing (Theme, decodeTheme, defaultTheme) import Time import Url import Url.Parser exposing ((), Parser) @@ -99,6 +102,7 @@ type alias Flags = , excludeEventSections : List String , defaultEventSection : Maybe String , eventId : Maybe Int + , theme : Theme , loggedInCurlerIds : List Int } @@ -399,6 +403,7 @@ decodeFlags = |> optional "excludeEventSections" (list string) [] |> optional "defaultEventSection" (nullable string) Nothing |> optional "eventId" (nullable int) Nothing + |> optional "theme" decodeTheme defaultTheme |> optional "loggedInCurlerIds" (list int) [] @@ -1038,6 +1043,7 @@ init flags_ = , excludeEventSections = [] , defaultEventSection = Nothing , eventId = Nothing + , theme = defaultTheme , loggedInCurlerIds = [] } in @@ -1913,48 +1919,24 @@ update msg model = --- COLORS - - -theme = - { primary = El.rgb255 237 25 64 - , primaryFocused = El.rgb255 197 10 49 - , secondary = El.rgb255 108 117 125 - , secondaryFocused = El.rgb255 128 137 155 - , white = El.rgb255 255 255 255 - , greyLight = El.rgba 0 0 0 0.05 - , grey = El.rgba 0 0 0 0.1 - , greyMedium = El.rgba 0 0 0 0.2 - , greyStrong = El.rgba 0 0 0 0.4 - , greyDark = El.rgba 0 0 0 0.6 - , defaultText = El.rgb255 33 37 41 - , transparent = El.rgba 1 1 1 0 - } - - - -- VIEWS -viewButton textColor bgColor bgColorFocused content msg = +viewButton textColor bgColor content msg = button [ Background.color bgColor , Font.color textColor , El.paddingXY 12 10 , Border.rounded 4 - , El.focused [ Background.color bgColorFocused ] + , El.focused [ Background.color bgColor ] ] { onPress = Just msg , label = text content } -viewButtonPrimary content msg = - viewButton theme.white theme.primary theme.primaryFocused content msg - - -viewButtonSecondary content msg = - viewButton theme.white theme.secondary theme.secondaryFocused content msg +viewButtonPrimary theme content msg = + viewButton theme.white theme.primary content msg view : Model -> Html Msg @@ -1986,9 +1968,9 @@ view model = , El.clipY , El.inFront (row [ El.alignRight, El.spacing 10, El.paddingXY 0 10 ] - [ el [ El.alignTop ] (viewReloadButton model) + [ el [ El.alignTop ] (viewReloadButton theme model) , if model.flags.fullScreenToggle then - el [] (viewFullScreenButton model.fullScreen) + el [] (viewFullScreenButton theme model.fullScreen) else El.none @@ -2002,7 +1984,7 @@ view model = Nothing -> case model.translations of Success translations -> - viewRoute model translations + viewRoute theme translations model Failure error -> viewFetchError model (errorMessage error) @@ -2010,6 +1992,9 @@ view model = _ -> viewNotReady model.fullScreen "Loading..." ] + + theme = + model.flags.theme in El.layout [ Font.size 16 @@ -2049,8 +2034,8 @@ view model = viewMain -viewRoute : Model -> List Translation -> Element Msg -viewRoute model translations = +viewRoute : Theme -> List Translation -> Model -> Element Msg +viewRoute theme translations model = let viewLoading = viewNotReady model.fullScreen "Loading..." @@ -2059,7 +2044,7 @@ viewRoute model translations = ItemsRoute -> case model.items of Success items -> - viewItems model translations items + viewItems theme translations model items Failure error -> viewFetchError model (errorMessage error) @@ -2070,7 +2055,7 @@ viewRoute model translations = ProductRoute id -> case model.product of Success product -> - viewProduct model.fullScreen translations product + viewProduct theme translations model.fullScreen product Failure error -> viewFetchError model (errorMessage error) @@ -2081,7 +2066,7 @@ viewRoute model translations = EventRoute id nestedRoute -> case model.event of Success event -> - viewEvent model translations nestedRoute event + viewEvent theme translations model nestedRoute event Failure error -> viewFetchError model (errorMessage error) @@ -2090,8 +2075,8 @@ viewRoute model translations = viewLoading -viewReloadButton : Model -> Element Msg -viewReloadButton model = +viewReloadButton : Theme -> Model -> Element Msg +viewReloadButton theme model = if reloadEnabled model && model.device.class /= El.Phone then el [ El.paddingXY 8 0 @@ -2106,8 +2091,8 @@ viewReloadButton model = El.none -viewFullScreenButton : Bool -> Element Msg -viewFullScreenButton fullScreen = +viewFullScreenButton : Theme -> Bool -> Element Msg +viewFullScreenButton theme fullScreen = button [ El.focused [ Background.color theme.transparent ] ] { onPress = Just ToggleFullScreen , label = @@ -2125,18 +2110,18 @@ viewNotReady fullScreen message = viewFetchError : Model -> String -> Element Msg -viewFetchError { fullScreen, hash } message = +viewFetchError { flags, fullScreen, hash } message = row [ El.htmlAttribute (class "cio__fetch_error") ] [ column [ El.spacing 10 ] [ el [] (text message) - , viewButtonPrimary "Reload" Reload + , viewButtonPrimary flags.theme "Reload" Reload ] ] -viewItems : Model -> List Translation -> List Item -> Element Msg -viewItems { flags, fullScreen, itemFilter } translations items = +viewItems : Theme -> List Translation -> Model -> List Item -> Element Msg +viewItems theme translations { flags, fullScreen, itemFilter } items = let viewPaging = let @@ -2147,7 +2132,7 @@ viewItems { flags, fullScreen, itemFilter } translations items = , Border.rounded 3 , Font.color theme.white , Background.color theme.primary - , El.focused [ Background.color theme.primaryFocused ] + , El.focused [ Background.color theme.primary ] ] { onPress = Just msg , label = text content @@ -2182,7 +2167,7 @@ viewItems { flags, fullScreen, itemFilter } translations items = , El.padding 10 , Events.onClick (UpdateSeasonDelta delta) , if delta == itemFilter.seasonDelta then - Background.color theme.grey + Background.color theme.greyLight else Background.color theme.transparent @@ -2250,7 +2235,7 @@ viewItems { flags, fullScreen, itemFilter } translations items = in List.filter matches items in - column [ El.spacing 10, El.width El.fill, El.height El.fill ] + column [ El.spacing 10, El.width El.fill, El.height (El.fill |> El.minimum 210) ] [ row [ El.spacing 20 ] [ Input.text [ El.width (El.px 200), El.padding 10, El.htmlAttribute (class "cio__search") ] { placeholder = Just (Input.placeholder [] (text (translate translations "search"))) @@ -2327,7 +2312,7 @@ viewItems { flags, fullScreen, itemFilter } translations items = , El.alignRight , El.padding 8 , Border.rounded 3 - , El.focused [ Background.color theme.primaryFocused ] + , El.focused [ Background.color theme.primary ] ] { onPress = Just (NavigateOut addToCartUrl) , label = text addToCartText @@ -2391,8 +2376,8 @@ viewSponsor sponsor = ] -viewProduct : Bool -> List Translation -> Product -> Element Msg -viewProduct fullScreen translations product = +viewProduct : Theme -> List Translation -> Bool -> Product -> Element Msg +viewProduct theme translations fullScreen product = row [ El.spacing 20 , El.width El.fill @@ -2426,7 +2411,7 @@ viewProduct fullScreen translations product = , case ( product.addToCartUrl, product.addToCartText ) of ( Just addToCartUrl, Just addToCartText ) -> El.paragraph [ El.htmlAttribute (class "cio__product_add_to_cart") ] - [ viewButtonPrimary addToCartText (NavigateOut addToCartUrl) + [ viewButtonPrimary theme addToCartText (NavigateOut addToCartUrl) ] _ -> @@ -2449,8 +2434,8 @@ viewProduct fullScreen translations product = ] -viewEvent : Model -> List Translation -> NestedEventRoute -> Event -> Element Msg -viewEvent { flags, device, scoringHilight, fullScreen } translations nestedRoute event = +viewEvent : Theme -> List Translation -> Model -> NestedEventRoute -> Event -> Element Msg +viewEvent theme translations { flags, device, scoringHilight, fullScreen } nestedRoute event = let viewNavItem eventSection = let @@ -2515,18 +2500,18 @@ viewEvent { flags, device, scoringHilight, fullScreen } translations nestedRoute ) , case nestedRoute of DetailsRoute -> - viewDetails device translations event + viewDetails theme device translations event RegistrationsRoute -> - viewRegistrations translations event.registrations + viewRegistrations theme translations event.registrations DrawsRoute -> - viewDraws translations scoringHilight event + viewDraws theme translations scoringHilight event DrawRoute drawId -> case List.Extra.find (\d -> d.id == drawId) event.draws of Just draw -> - viewDraw translations scoringHilight event draw + viewDraw theme translations scoringHilight event draw Nothing -> viewNoDataForRoute translations @@ -2545,7 +2530,7 @@ viewEvent { flags, device, scoringHilight, fullScreen } translations nestedRoute sheetLabel = sheetNameForGame event (Just game) in - viewGame translations scoringHilight event sheetLabel True draw game + viewGame theme translations scoringHilight event sheetLabel True draw game _ -> viewNoDataForRoute translations @@ -2553,7 +2538,7 @@ viewEvent { flags, device, scoringHilight, fullScreen } translations nestedRoute StagesRoute -> case List.head event.stages of Just stage -> - viewStages device translations event stage + viewStages theme device translations event stage Nothing -> viewNoDataForRoute translations @@ -2561,32 +2546,32 @@ viewEvent { flags, device, scoringHilight, fullScreen } translations nestedRoute StageRoute id -> case List.Extra.find (\s -> s.id == id) event.stages of Just stage -> - viewStages device translations event stage + viewStages theme device translations event stage Nothing -> viewNoDataForRoute translations TeamsRoute -> - viewTeams translations event + viewTeams theme translations event TeamRoute id -> case List.Extra.find (\t -> t.id == id) event.teams of Just team -> - viewTeam translations flags event team + viewTeam theme translations flags event team Nothing -> viewNoDataForRoute translations ReportsRoute -> - viewReports translations event + viewReports theme translations event ReportRoute report -> - viewReport translations scoringHilight event report + viewReport theme translations scoringHilight event report ] -viewDetails : Device -> List Translation -> Event -> Element Msg -viewDetails device translations event = +viewDetails : Theme -> Device -> List Translation -> Event -> Element Msg +viewDetails theme device translations event = row [ El.spacing 20, El.htmlAttribute (class "cio__event_details") ] [ column [ El.spacing 20, El.width El.fill, El.alignTop ] [ case ( event.description, event.summary ) of @@ -2610,7 +2595,7 @@ viewDetails device translations event = , case ( event.addToCartUrl, event.addToCartText ) of ( Just addToCartUrl, Just addToCartText ) -> El.paragraph [ El.paddingEach { top = 10, right = 0, bottom = 20, left = 0 }, El.htmlAttribute (class "cio__event_add_to_cart") ] - [ viewButtonPrimary addToCartText (NavigateOut addToCartUrl) + [ viewButtonPrimary theme addToCartText (NavigateOut addToCartUrl) ] _ -> @@ -2667,8 +2652,8 @@ viewDetails device translations event = ] -viewRegistrations : List Translation -> List Registration -> Element Msg -viewRegistrations translations registrations = +viewRegistrations : Theme -> List Translation -> List Registration -> Element Msg +viewRegistrations theme translations registrations = let hasCurlers = List.any (\r -> r.curlerName /= Nothing) registrations @@ -2802,8 +2787,8 @@ viewRegistrations translations registrations = ) -viewDraws : List Translation -> Maybe ScoringHilight -> Event -> Element Msg -viewDraws translations scoringHilight event = +viewDraws : Theme -> List Translation -> Maybe ScoringHilight -> Event -> Element Msg +viewDraws theme translations scoringHilight event = let isDrawActive : Draw -> Bool isDrawActive draw = @@ -3005,8 +2990,8 @@ viewDraws translations scoringHilight event = ) -viewTeams : List Translation -> Event -> Element Msg -viewTeams translations event = +viewTeams : Theme -> List Translation -> Event -> Element Msg +viewTeams theme translations event = let hasCoaches = List.any (\t -> t.coach /= Nothing) event.teams @@ -3108,8 +3093,8 @@ viewTeams translations event = ) -viewStages : El.Device -> List Translation -> Event -> Stage -> Element Msg -viewStages device translations event onStage = +viewStages : Theme -> El.Device -> List Translation -> Event -> Stage -> Element Msg +viewStages theme device translations event onStage = let teams = teamsWithGames event.teams onStage.games @@ -3118,7 +3103,7 @@ viewStages device translations event onStage = button [ El.paddingXY 18 10 , El.focused [ Background.color theme.transparent ] - , Border.color theme.greyMedium + , Border.color theme.grey , Font.color (if stage.id == onStage.id then theme.defaultText @@ -3355,7 +3340,7 @@ viewStages device translations event onStage = else Border.width 0 - , Border.color theme.greyMedium + , Border.color theme.grey ] (text label) @@ -3378,9 +3363,9 @@ viewStages device translations event onStage = , label = column [ El.width (El.px 178) - , Background.color theme.grey + , Background.color theme.greyLight , Border.width 1 - , Border.color theme.greyMedium + , Border.color theme.grey , El.htmlAttribute (style "position" "absolute") , El.htmlAttribute (style "left" (String.fromInt (coords.col * gridSize) ++ "px")) , El.htmlAttribute (style "top" (String.fromInt (coords.row * gridSize) ++ "px")) @@ -3397,7 +3382,7 @@ viewStages device translations event onStage = theme.primary else - theme.greyStrong + theme.secondary ) ] (el [] (text game.name)) @@ -3516,8 +3501,8 @@ viewStages device translations event onStage = -- REPORTS -viewReports : List Translation -> Event -> Element Msg -viewReports translations event = +viewReports : Theme -> List Translation -> Event -> Element Msg +viewReports theme translations event = let hasAttendance = (List.map .attendance event.draws |> List.sum) > 0 @@ -3573,8 +3558,8 @@ viewReports translations event = ] -viewDraw : List Translation -> Maybe ScoringHilight -> Event -> Draw -> Element Msg -viewDraw translations scoringHilight event draw = +viewDraw : Theme -> List Translation -> Maybe ScoringHilight -> Event -> Draw -> Element Msg +viewDraw theme translations scoringHilight event draw = let viewDrawSheet gameId = let @@ -3587,7 +3572,7 @@ viewDraw translations scoringHilight event draw = in case game of Just game_ -> - viewGame translations scoringHilight event sheetLabel False draw game_ + viewGame theme translations scoringHilight event sheetLabel False draw game_ Nothing -> El.none @@ -3600,8 +3585,8 @@ viewDraw translations scoringHilight event draw = ] -viewGame : List Translation -> Maybe ScoringHilight -> Event -> String -> Bool -> Draw -> Game -> Element Msg -viewGame translations scoringHilight event sheetLabel detailed draw game = +viewGame : Theme -> List Translation -> Maybe ScoringHilight -> Event -> String -> Bool -> Draw -> Game -> Element Msg +viewGame theme translations scoringHilight event sheetLabel detailed draw game = let maxNumberOfEnds = List.map (\s -> List.length s.endScores) game.sides @@ -3663,7 +3648,7 @@ viewGame translations scoringHilight event sheetLabel detailed draw game = [ Font.color theme.primary , Font.italic , El.padding 8 - , El.focused [ Background.color theme.primaryFocused ] + , El.focused [ Background.color theme.primary ] ] { onPress = Just (NavigateTo gamePath), label = label } @@ -3951,7 +3936,7 @@ viewGame translations scoringHilight event sheetLabel detailed draw game = column [ El.width El.fill, El.paddingXY 0 10 ] [ List.map (findTeamForSide event.teams) game.sides |> List.filterMap identity - |> viewReportScoringAnalysis translations scoringHilight event + |> viewReportScoringAnalysis theme translations scoringHilight event ] else @@ -3959,8 +3944,8 @@ viewGame translations scoringHilight event sheetLabel detailed draw game = ] -viewTeam : List Translation -> Flags -> Event -> Team -> Element Msg -viewTeam translations flags event team = +viewTeam : Theme -> List Translation -> Flags -> Event -> Team -> Element Msg +viewTeam theme translations flags event team = let viewTeamLineup : Element Msg viewTeamLineup = @@ -4351,34 +4336,34 @@ viewTeam translations flags event team = ] -viewReport : List Translation -> Maybe ScoringHilight -> Event -> String -> Element Msg -viewReport translations scoringHilight event report = +viewReport : Theme -> List Translation -> Maybe ScoringHilight -> Event -> String -> Element Msg +viewReport theme translations scoringHilight event report = case report of "attendance" -> - viewReportAttendance translations event.draws + viewReportAttendance theme translations event.draws "scoring_analysis" -> let games = gamesFromStages event.stages in - viewReportScoringAnalysis translations scoringHilight event (teamsWithGames event.teams games) + viewReportScoringAnalysis theme translations scoringHilight event (teamsWithGames event.teams games) "scoring_analysis_by_hammer" -> - viewReportScoringAnalysisByHammer translations event + viewReportScoringAnalysisByHammer theme translations event "team_rosters" -> - viewReportTeamRosters translations event.teams + viewReportTeamRosters theme translations event.teams "competition_matrix" -> - viewReportCompetitionMatrix translations event + viewReportCompetitionMatrix theme translations event _ -> viewNoDataForRoute translations -viewReportScoringAnalysis : List Translation -> Maybe ScoringHilight -> Event -> List Team -> Element Msg -viewReportScoringAnalysis translations scoringHilight event teams = +viewReportScoringAnalysis : Theme -> List Translation -> Maybe ScoringHilight -> Event -> List Team -> Element Msg +viewReportScoringAnalysis theme translations scoringHilight event teams = let rows = -- TODO: Structure the data so that for and against are just rows, but when rendering we know due to missing data or a flag which is which. @@ -4792,8 +4777,8 @@ viewReportScoringAnalysis translations scoringHilight event teams = ] -viewReportScoringAnalysisByHammer : List Translation -> Event -> Element Msg -viewReportScoringAnalysisByHammer translations event = +viewReportScoringAnalysisByHammer : Theme -> List Translation -> Event -> Element Msg +viewReportScoringAnalysisByHammer theme translations event = let games : List Game games = @@ -4954,8 +4939,8 @@ viewReportScoringAnalysisByHammer translations event = ] -viewReportTeamRosters : List Translation -> List Team -> Element Msg -viewReportTeamRosters translations teams = +viewReportTeamRosters : Theme -> List Translation -> List Team -> Element Msg +viewReportTeamRosters theme translations teams = let hasDelivery = let @@ -5048,8 +5033,8 @@ viewReportTeamRosters translations teams = ] -viewReportCompetitionMatrix : List Translation -> Event -> Element Msg -viewReportCompetitionMatrix translations event = +viewReportCompetitionMatrix : Theme -> List Translation -> Event -> Element Msg +viewReportCompetitionMatrix theme translations event = let viewStageMatrix stage = let @@ -5181,8 +5166,8 @@ viewReportCompetitionMatrix translations event = ] -viewReportAttendance : List Translation -> List Draw -> Element Msg -viewReportAttendance translations draws = +viewReportAttendance : Theme -> List Translation -> List Draw -> Element Msg +viewReportAttendance theme translations draws = let viewAttendanceRow idx draw = let diff --git a/src/Theme.elm b/src/Theme.elm new file mode 100644 index 0000000..d528024 --- /dev/null +++ b/src/Theme.elm @@ -0,0 +1,78 @@ +module Theme exposing (Theme, decodeTheme, defaultTheme) + +import Element exposing (Color, rgb255, rgba) +import Hex +import Json.Decode as Decode exposing (Decoder, string) +import Json.Decode.Pipeline exposing (hardcoded, optional) + + +type alias Theme = + { defaultText : Color + , white : Color + , transparent : Color + , grey : Color + , greyLight : Color + , greyDark : Color + , primary : Color + , secondary : Color + } + + +defaultTheme : Theme +defaultTheme = + { defaultText = rgb255 33 37 41 + , white = rgb255 255 255 255 + , transparent = rgba 1 1 1 0 + , grey = rgb255 210 210 210 + , greyLight = rgb255 248 248 248 + , greyDark = rgb255 52 58 64 + , primary = hexToColor "#ed1940" + , secondary = hexToColor "#5c5c5c" + } + + +decodeTheme : Decoder Theme +decodeTheme = + let + decodeStringColor : Decoder Color + decodeStringColor = + string + |> Decode.andThen + (\str -> + hexToColor str + |> Decode.succeed + ) + in + Decode.succeed Theme + |> hardcoded defaultTheme.defaultText + |> hardcoded defaultTheme.white + |> hardcoded defaultTheme.transparent + |> hardcoded defaultTheme.grey + |> hardcoded defaultTheme.greyLight + |> hardcoded defaultTheme.greyDark + |> optional "primary" decodeStringColor defaultTheme.primary + |> optional "secondary" decodeStringColor defaultTheme.secondary + + +hexToColor : String -> Color +hexToColor value = + let + val = + String.toLower value + + hexRecord = + { red = String.slice 1 3 val + , green = String.slice 3 5 val + , blue = String.slice 5 7 val + } + + rgbRecord = + { red = hexRecord.red |> Hex.fromString |> Result.withDefault 0 + , green = hexRecord.green |> Hex.fromString |> Result.withDefault 0 + , blue = hexRecord.blue |> Hex.fromString |> Result.withDefault 0 + } + + color = + rgb255 rgbRecord.red rgbRecord.green rgbRecord.blue + in + color