travelm-agency
Version:
Generate type-safe accessors and decoders for your i18n files
1 lines • 410 kB
JavaScript
function F(e,$,t){return t.a=e,t.f=$,t}function F2(t){return F(2,t,function($){return function(e){return t($,e)}})}function F3(r){return F(3,r,function(t){return function($){return function(e){return r(t,$,e)}}})}function F4(n){return F(4,n,function(r){return function(t){return function($){return function(e){return n(r,t,$,e)}}}})}function F5(s){return F(5,s,function(n){return function(r){return function(t){return function($){return function(e){return s(n,r,t,$,e)}}}}})}function F6(a){return F(6,a,function(s){return function(n){return function(r){return function(t){return function($){return function(e){return a(s,n,r,t,$,e)}}}}}})}function F7(o){return F(7,o,function(a){return function(s){return function(n){return function(r){return function(t){return function($){return function(e){return o(a,s,n,r,t,$,e)}}}}}}})}function F8(l){return F(8,l,function(o){return function(a){return function(s){return function(n){return function(r){return function(t){return function($){return function(e){return l(o,a,s,n,r,t,$,e)}}}}}}}})}function F9(_){return F(9,_,function(l){return function(o){return function(a){return function(s){return function(n){return function(r){return function(t){return function($){return function(e){return _(l,o,a,s,n,r,t,$,e)}}}}}}}}})}function A2(e,$,t){return 2===e.a?e.f($,t):e($)(t)}function A3(e,$,t,r){return 3===e.a?e.f($,t,r):e($)(t)(r)}function A4(e,$,t,r,n){return 4===e.a?e.f($,t,r,n):e($)(t)(r)(n)}function A5(e,$,t,r,n,s){return 5===e.a?e.f($,t,r,n,s):e($)(t)(r)(n)(s)}function A6(e,$,t,r,n,s,a){return 6===e.a?e.f($,t,r,n,s,a):e($)(t)(r)(n)(s)(a)}function A7(e,$,t,r,n,s,a,o){return 7===e.a?e.f($,t,r,n,s,a,o):e($)(t)(r)(n)(s)(a)(o)}function A8(e,$,t,r,n,s,a,o,l){return 8===e.a?e.f($,t,r,n,s,a,o,l):e($)(t)(r)(n)(s)(a)(o)(l)}function A9(e,$,t,r,n,s,a,o,l,_){return 9===e.a?e.f($,t,r,n,s,a,o,l,_):e($)(t)(r)(n)(s)(a)(o)(l)(_)}var _List_Nil={$:0},_List_Nil_UNUSED={$:"[]"};function _List_Cons(e,$){return{$:1,a:e,b:$}}function _List_Cons_UNUSED(e,$){return{$:"::",a:e,b:$}}var _List_cons=F2(_List_Cons);function _List_fromArray(e){for(var $=_List_Nil,t=e.length;t--;)$=_List_Cons(e[t],$);return $}function _List_toArray(e){for(var $=[];e.b;e=e.b)$.push(e.a);return $}var _List_map2=F3(function(e,$,t){for(var r=[];$.b&&t.b;$=$.b,t=t.b)r.push(A2(e,$.a,t.a));return _List_fromArray(r)}),_List_map3=F4(function(e,$,t,r){for(var n=[];$.b&&t.b&&r.b;$=$.b,t=t.b,r=r.b)n.push(A3(e,$.a,t.a,r.a));return _List_fromArray(n)}),_List_map4=F5(function(e,$,t,r,n){for(var s=[];$.b&&t.b&&r.b&&n.b;$=$.b,t=t.b,r=r.b,n=n.b)s.push(A4(e,$.a,t.a,r.a,n.a));return _List_fromArray(s)}),_List_map5=F6(function(e,$,t,r,n,s){for(var a=[];$.b&&t.b&&r.b&&n.b&&s.b;$=$.b,t=t.b,r=r.b,n=n.b,s=s.b)a.push(A5(e,$.a,t.a,r.a,n.a,s.a));return _List_fromArray(a)}),_List_sortBy=F2(function(t,e){return _List_fromArray(_List_toArray(e).sort(function(e,$){return _Utils_cmp(t(e),t($))}))}),_List_sortWith=F2(function(t,e){return _List_fromArray(_List_toArray(e).sort(function(e,$){e=A2(t,e,$);return e===$elm$core$Basics$EQ?0:e===$elm$core$Basics$LT?-1:1}))}),_JsArray_empty=[];function _JsArray_singleton(e){return[e]}function _JsArray_length(e){return e.length}var _JsArray_initialize=F3(function(e,$,t){for(var r=Array(e),n=0;n<e;n++)r[n]=t($+n);return r}),_JsArray_initializeFromList=F2(function(e,$){for(var t=Array(e),r=0;r<e&&$.b;r++)t[r]=$.a,$=$.b;return t.length=r,_Utils_Tuple2(t,$)}),_JsArray_unsafeGet=F2(function(e,$){return $[e]}),_JsArray_unsafeSet=F3(function(e,$,t){for(var r=t.length,n=Array(r),s=0;s<r;s++)n[s]=t[s];return n[e]=$,n}),_JsArray_push=F2(function(e,$){for(var t=$.length,r=Array(t+1),n=0;n<t;n++)r[n]=$[n];return r[t]=e,r}),_JsArray_foldl=F3(function(e,$,t){for(var r=t.length,n=0;n<r;n++)$=A2(e,t[n],$);return $}),_JsArray_foldr=F3(function(e,$,t){for(var r=t.length-1;0<=r;r--)$=A2(e,t[r],$);return $}),_JsArray_map=F2(function(e,$){for(var t=$.length,r=Array(t),n=0;n<t;n++)r[n]=e($[n]);return r}),_JsArray_indexedMap=F3(function(e,$,t){for(var r=t.length,n=Array(r),s=0;s<r;s++)n[s]=A2(e,$+s,t[s]);return n}),_JsArray_slice=F3(function(e,$,t){return t.slice(e,$)}),_JsArray_appendN=F3(function(e,$,t){for(var r=$.length,n=e-r,s=Array(r+(n=t.length<n?t.length:n)),a=0;a<r;a++)s[a]=$[a];for(a=0;a<n;a++)s[a+r]=t[a];return s}),_Debug_log=F2(function(e,$){return $}),_Debug_log_UNUSED=F2(function(e,$){return console.log(e+": "+_Debug_toString($)),$});function _Debug_todo($,t){return function(e){_Debug_crash(8,$,t,e)}}function _Debug_todoCase($,t,r){return function(e){_Debug_crash(9,$,t,r,e)}}function _Debug_toString(e){return"<internals>"}function _Debug_toString_UNUSED(e){return _Debug_toAnsiString(!1,e)}function _Debug_toAnsiString(e,$){if("function"==typeof $)return _Debug_internalColor(e,"<function>");if("boolean"==typeof $)return _Debug_ctorColor(e,$?"True":"False");if("number"==typeof $)return _Debug_numberColor(e,$+"");if($ instanceof String)return _Debug_charColor(e,"'"+_Debug_addSlashes($,!0)+"'");if("string"==typeof $)return _Debug_stringColor(e,'"'+_Debug_addSlashes($,!1)+'"');if("object"==typeof $&&"$"in $){var t=$.$;if("number"==typeof t)return _Debug_internalColor(e,"<internals>");if("#"===t[0]){var r,n=[];for(r in $)"$"!==r&&n.push(_Debug_toAnsiString(e,$[r]));return"("+n.join(",")+")"}if("Set_elm_builtin"===t)return _Debug_ctorColor(e,"Set")+_Debug_fadeColor(e,".fromList")+" "+_Debug_toAnsiString(e,$elm$core$Set$toList($));if("RBNode_elm_builtin"===t||"RBEmpty_elm_builtin"===t)return _Debug_ctorColor(e,"Dict")+_Debug_fadeColor(e,".fromList")+" "+_Debug_toAnsiString(e,$elm$core$Dict$toList($));if("Array_elm_builtin"===t)return _Debug_ctorColor(e,"Array")+_Debug_fadeColor(e,".fromList")+" "+_Debug_toAnsiString(e,$elm$core$Array$toList($));if("::"===t||"[]"===t){n="[";for($.b&&(n+=_Debug_toAnsiString(e,$.a),$=$.b);$.b;$=$.b)n+=","+_Debug_toAnsiString(e,$.a);return n+"]"}var s,a,o,n="";for(s in $)"$"!==s&&(n+=" "+("{"===(o=(a=_Debug_toAnsiString(e,$[s]))[0])||"("===o||"["===o||"<"===o||'"'===o||!~a.indexOf(" ")?a:"("+a+")"));return _Debug_ctorColor(e,t)+n}if("function"==typeof DataView&&$ instanceof DataView)return _Debug_stringColor(e,"<"+$.byteLength+" bytes>");if("undefined"!=typeof File&&$ instanceof File)return _Debug_internalColor(e,"<"+$.name+">");if("object"!=typeof $)return _Debug_internalColor(e,"<internals>");var l,n=[];for(l in $){var _="_"===l[0]?l.slice(1):l;n.push(_Debug_fadeColor(e,_)+" = "+_Debug_toAnsiString(e,$[l]))}return 0===n.length?"{}":"{ "+n.join(", ")+" }"}function _Debug_addSlashes(e,$){e=e.replace(/\\/g,"\\\\").replace(/\n/g,"\\n").replace(/\t/g,"\\t").replace(/\r/g,"\\r").replace(/\v/g,"\\v").replace(/\0/g,"\\0");return $?e.replace(/\'/g,"\\'"):e.replace(/\"/g,'\\"')}function _Debug_ctorColor(e,$){return e?"[96m"+$+"[0m":$}function _Debug_numberColor(e,$){return e?"[95m"+$+"[0m":$}function _Debug_stringColor(e,$){return e?"[93m"+$+"[0m":$}function _Debug_charColor(e,$){return e?"[92m"+$+"[0m":$}function _Debug_fadeColor(e,$){return e?"[37m"+$+"[0m":$}function _Debug_internalColor(e,$){return e?"[36m"+$+"[0m":$}function _Debug_toHexDigit(e){return String.fromCharCode(e<10?48+e:55+e)}function _Debug_crash(e){throw Error("https://github.com/elm/core/blob/1.0.0/hints/"+e+".md")}function _Debug_crash_UNUSED(e,$,t,r,n){switch(e){case 0:throw Error('What node should I take over? In JavaScript I need something like:\n\n Elm.Main.init({\n node: document.getElementById("elm-node")\n })\n\nYou need to do this with any Browser.sandbox or Browser.element program.');case 1:throw Error("Browser.application programs cannot handle URLs like this:\n\n "+document.location.href+"\n\nWhat is the root? The root of your file system? Try looking at this program with `elm reactor` or some other server.");case 2:throw Error("Problem with the flags given to your Elm program on initialization.\n\n"+$);case 3:throw Error("There can only be one port named `"+$+"`, but your program has multiple.");case 4:throw Error("Trying to send an unexpected type of value through port `"+$+"`:\n"+t);case 5:throw Error('Trying to use `(==)` on functions.\nThere is no way to know if functions are "the same" in the Elm sense.\nRead more about this at https://package.elm-lang.org/packages/elm/core/latest/Basics#== which describes why it is this way and what the better version will look like.');case 6:throw Error("Your page is loading multiple Elm scripts with a module named "+$+". Maybe a duplicate script is getting loaded accidentally? If not, rename one of them so I know which is which!");case 8:var s=r;throw Error("TODO in module `"+$+"` "+_Debug_regionToString(t)+"\n\n"+s);case 9:var a=r,s=n;throw Error("TODO in module `"+$+"` from the `case` expression "+_Debug_regionToString(t)+"\n\nIt received the following value:\n\n "+_Debug_toString(a).replace("\n","\n ")+"\n\nBut the branch that handles it says:\n\n "+s.replace("\n","\n "));case 10:throw Error("Bug in https://github.com/elm/virtual-dom/issues");case 11:throw Error("Cannot perform mod 0. Division by zero error.")}}function _Debug_regionToString(e){return e.be.aA===e.by.aA?"on line "+e.be.aA:"on lines "+e.be.aA+" through "+e.by.aA}function _Utils_eq(e,$){for(var t,r=[],n=_Utils_eqHelp(e,$,0,r);n&&(t=r.pop());n=_Utils_eqHelp(t.a,t.b,0,r));return n}function _Utils_eqHelp(e,$,t,r){if(e!==$){if("object"!=typeof e||null===e||null===$)return"function"==typeof e&&_Debug_crash(5),!1;if(100<t)r.push(_Utils_Tuple2(e,$));else for(var n in e.$<0&&(e=$elm$core$Dict$toList(e),$=$elm$core$Dict$toList($)),e)if(!_Utils_eqHelp(e[n],$[n],t+1,r))return!1}return!0}var _Utils_equal=F2(_Utils_eq),_Utils_notEqual=F2(function(e,$){return!_Utils_eq(e,$)});function _Utils_cmp(e,$,t){if("object"!=typeof e)return e===$?0:e<$?-1:1;if(void 0===e.$)return(t=(t=_Utils_cmp(e.a,$.a))||_Utils_cmp(e.b,$.b))||_Utils_cmp(e.c,$.c);for(;e.b&&$.b&&!(t=_Utils_cmp(e.a,$.a));e=e.b,$=$.b);return t||(e.b?1:$.b?-1:0)}var _Utils_lt=F2(function(e,$){return _Utils_cmp(e,$)<0}),_Utils_le=F2(function(e,$){return _Utils_cmp(e,$)<1}),_Utils_gt=F2(function(e,$){return 0<_Utils_cmp(e,$)}),_Utils_ge=F2(function(e,$){return 0<=_Utils_cmp(e,$)}),_Utils_compare=F2(function(e,$){e=_Utils_cmp(e,$);return e<0?$elm$core$Basics$LT:e?$elm$core$Basics$GT:$elm$core$Basics$EQ}),_Utils_Tuple0=0,_Utils_Tuple0_UNUSED={$:"#0"};function _Utils_Tuple2(e,$){return{a:e,b:$}}function _Utils_Tuple2_UNUSED(e,$){return{$:"#2",a:e,b:$}}function _Utils_Tuple3(e,$,t){return{a:e,b:$,c:t}}function _Utils_Tuple3_UNUSED(e,$,t){return{$:"#3",a:e,b:$,c:t}}function _Utils_chr(e){return e}function _Utils_chr_UNUSED(e){return new String(e)}function _Utils_update(e,$){var t,r={};for(t in e)r[t]=e[t];for(t in $)r[t]=$[t];return r}var _Utils_append=F2(_Utils_ap);function _Utils_ap(e,$){if("string"==typeof e)return e+$;if(!e.b)return $;var t=_List_Cons(e.a,$);e=e.b;for(var r=t;e.b;e=e.b)r=r.b=_List_Cons(e.a,$);return t}var _Basics_add=F2(function(e,$){return e+$}),_Basics_sub=F2(function(e,$){return e-$}),_Basics_mul=F2(function(e,$){return e*$}),_Basics_fdiv=F2(function(e,$){return e/$}),_Basics_idiv=F2(function(e,$){return e/$|0}),_Basics_pow=F2(Math.pow),_Basics_remainderBy=F2(function(e,$){return $%e}),_Basics_modBy=F2(function(e,$){$%=e;return 0===e?_Debug_crash(11):0<$&&e<0||$<0&&0<e?$+e:$}),_Basics_pi=Math.PI,_Basics_e=Math.E,_Basics_cos=Math.cos,_Basics_sin=Math.sin,_Basics_tan=Math.tan,_Basics_acos=Math.acos,_Basics_asin=Math.asin,_Basics_atan=Math.atan,_Basics_atan2=F2(Math.atan2);function _Basics_toFloat(e){return e}function _Basics_truncate(e){return 0|e}function _Basics_isInfinite(e){return e===1/0||e===-1/0}var _Basics_ceiling=Math.ceil,_Basics_floor=Math.floor,_Basics_round=Math.round,_Basics_sqrt=Math.sqrt,_Basics_log=Math.log,_Basics_isNaN=isNaN;function _Basics_not(e){return!e}var _Basics_and=F2(function(e,$){return e&&$}),_Basics_or=F2(function(e,$){return e||$}),_Basics_xor=F2(function(e,$){return e!==$}),_String_cons=F2(function(e,$){return e+$});function _String_uncons(e){var $=e.charCodeAt(0);return isNaN($)?$elm$core$Maybe$Nothing:$elm$core$Maybe$Just($<55296||56319<$?_Utils_Tuple2(_Utils_chr(e[0]),e.slice(1)):_Utils_Tuple2(_Utils_chr(e[0]+e[1]),e.slice(2)))}var _String_append=F2(function(e,$){return e+$});function _String_length(e){return e.length}var _String_map=F2(function(e,$){for(var t=$.length,r=Array(t),n=0;n<t;){var s=$.charCodeAt(n);55296>s||s>56319?(r[n]=e(_Utils_chr($[n])),n++):(r[n]=e(_Utils_chr($[n]+$[n+1])),n+=2)}return r.join("")}),_String_filter=F2(function(e,$){for(var t=[],r=$.length,n=0;n<r;){var s=$[n],a=$.charCodeAt(n);n++,a<55296||56319<a||(s+=$[n],n++),e(_Utils_chr(s))&&t.push(s)}return t.join("")});function _String_reverse(e){for(var $=e.length,t=Array($),r=0;r<$;){var n=e.charCodeAt(r);n<55296||56319<n?t[$-r]=e[r]:(t[$-r]=e[r+1],t[$-++r]=e[r-1]),r++}return t.join("")}var _String_foldl=F3(function(e,$,t){for(var r=t.length,n=0;n<r;){var s=t[n],a=t.charCodeAt(n);n++,a<55296||56319<a||(s+=t[n],n++),$=A2(e,_Utils_chr(s),$)}return $}),_String_foldr=F3(function(e,$,t){for(var r=t.length;r--;){var n=t[r],s=t.charCodeAt(r);$=A2(e,_Utils_chr(n=s<56320||57343<s?n:t[--r]+n),$)}return $}),_String_split=F2(function(e,$){return $.split(e)}),_String_join=F2(function(e,$){return $.join(e)}),_String_slice=F3(function(e,$,t){return t.slice(e,$)});function _String_trim(e){return e.trim()}function _String_trimLeft(e){return e.replace(/^\s+/,"")}function _String_trimRight(e){return e.replace(/\s+$/,"")}function _String_words(e){return _List_fromArray(e.trim().split(/\s+/g))}function _String_lines(e){return _List_fromArray(e.split(/\r\n|\r|\n/g))}function _String_toUpper(e){return e.toUpperCase()}function _String_toLower(e){return e.toLowerCase()}var _String_any=F2(function(e,$){for(var t=$.length;t--;){var r=$[t],n=$.charCodeAt(t);if(e(_Utils_chr(r=n<56320||57343<n?r:$[--t]+r)))return!0}return!1}),_String_all=F2(function(e,$){for(var t=$.length;t--;){var r=$[t],n=$.charCodeAt(t);if(!e(_Utils_chr(r=n<56320||57343<n?r:$[--t]+r)))return!1}return!0}),_String_contains=F2(function(e,$){return!!~$.indexOf(e)}),_String_startsWith=F2(function(e,$){return 0==$.indexOf(e)}),_String_endsWith=F2(function(e,$){return e.length<=$.length&&$.lastIndexOf(e)==$.length-e.length}),_String_indexes=F2(function(e,$){var t=e.length;if(t<1)return _List_Nil;for(var r=0,n=[];~(r=$.indexOf(e,r));)n.push(r),r+=t;return _List_fromArray(n)});function _String_fromNumber(e){return e+""}function _String_toInt(e){for(var $=0,t=e.charCodeAt(0),r=43==t||45==t?1:0,n=r;n<e.length;++n){var s=e.charCodeAt(n);if(s<48||57<s)return $elm$core$Maybe$Nothing;$=10*$+s-48}return n==r?$elm$core$Maybe$Nothing:$elm$core$Maybe$Just(45==t?-$:$)}function _String_toFloat(e){return 0!==e.length&&!/[\sxbo]/.test(e)&&(e=+e)==e?$elm$core$Maybe$Just(e):$elm$core$Maybe$Nothing}function _String_fromList(e){return _List_toArray(e).join("")}function _Char_toCode(e){var $=e.charCodeAt(0);return $<55296||56319<$?$:1024*($-55296)+e.charCodeAt(1)-56320+65536}function _Char_fromCode(e){return _Utils_chr(e<0||1114111<e?"�":65535<e?String.fromCharCode(55296+Math.floor((e-=65536)/1024),e%1024+56320):String.fromCharCode(e))}function _Char_toUpper(e){return _Utils_chr(e.toUpperCase())}function _Char_toLower(e){return _Utils_chr(e.toLowerCase())}function _Char_toLocaleUpper(e){return _Utils_chr(e.toLocaleUpperCase())}function _Char_toLocaleLower(e){return _Utils_chr(e.toLocaleLowerCase())}function _Json_succeed(e){return{$:0,a:e}}function _Json_fail(e){return{$:1,a:e}}function _Json_decodePrim(e){return{$:2,b:e}}var _Json_decodeInt=_Json_decodePrim(function(e){return"number"!=typeof e||(e<=-2147483647||2147483647<=e||(0|e)!==e)&&(!isFinite(e)||e%1)?_Json_expecting("an INT",e):$elm$core$Result$Ok(e)}),_Json_decodeBool=_Json_decodePrim(function(e){return"boolean"==typeof e?$elm$core$Result$Ok(e):_Json_expecting("a BOOL",e)}),_Json_decodeFloat=_Json_decodePrim(function(e){return"number"==typeof e?$elm$core$Result$Ok(e):_Json_expecting("a FLOAT",e)}),_Json_decodeValue=_Json_decodePrim(function(e){return $elm$core$Result$Ok(_Json_wrap(e))}),_Json_decodeString=_Json_decodePrim(function(e){return"string"==typeof e?$elm$core$Result$Ok(e):e instanceof String?$elm$core$Result$Ok(e+""):_Json_expecting("a STRING",e)});function _Json_decodeList(e){return{$:3,b:e}}function _Json_decodeArray(e){return{$:4,b:e}}function _Json_decodeNull(e){return{$:5,c:e}}var _Json_decodeField=F2(function(e,$){return{$:6,d:e,b:$}}),_Json_decodeIndex=F2(function(e,$){return{$:7,e:e,b:$}});function _Json_decodeKeyValuePairs(e){return{$:8,b:e}}function _Json_mapMany(e,$){return{$:9,f:e,g:$}}var _Json_andThen=F2(function(e,$){return{$:10,b:$,h:e}});function _Json_oneOf(e){return{$:11,g:e}}var _Json_map1=F2(function(e,$){return _Json_mapMany(e,[$])}),_Json_map2=F3(function(e,$,t){return _Json_mapMany(e,[$,t])}),_Json_map3=F4(function(e,$,t,r){return _Json_mapMany(e,[$,t,r])}),_Json_map4=F5(function(e,$,t,r,n){return _Json_mapMany(e,[$,t,r,n])}),_Json_map5=F6(function(e,$,t,r,n,s){return _Json_mapMany(e,[$,t,r,n,s])}),_Json_map6=F7(function(e,$,t,r,n,s,a){return _Json_mapMany(e,[$,t,r,n,s,a])}),_Json_map7=F8(function(e,$,t,r,n,s,a,o){return _Json_mapMany(e,[$,t,r,n,s,a,o])}),_Json_map8=F9(function(e,$,t,r,n,s,a,o,l){return _Json_mapMany(e,[$,t,r,n,s,a,o,l])}),_Json_runOnString=F2(function(e,$){try{return _Json_runHelp(e,JSON.parse($))}catch(e){return $elm$core$Result$Err(A2($elm$json$Json$Decode$Failure,"This is not valid JSON! "+e.message,_Json_wrap($)))}}),_Json_run=F2(function(e,$){return _Json_runHelp(e,_Json_unwrap($))});function _Json_runHelp(e,$){switch(e.$){case 2:return e.b($);case 5:return null===$?$elm$core$Result$Ok(e.c):_Json_expecting("null",$);case 3:return _Json_isArray($)?_Json_runArrayDecoder(e.b,$,_List_fromArray):_Json_expecting("a LIST",$);case 4:return _Json_isArray($)?_Json_runArrayDecoder(e.b,$,_Json_toElmArray):_Json_expecting("an ARRAY",$);case 6:var t=e.d;return"object"==typeof $&&null!==$&&t in $?(s=_Json_runHelp(e.b,$[t]),$elm$core$Result$isOk(s)?s:$elm$core$Result$Err(A2($elm$json$Json$Decode$Field,t,s.a))):_Json_expecting("an OBJECT with a field named `"+t+"`",$);case 7:t=e.e;return _Json_isArray($)?t<$.length?(s=_Json_runHelp(e.b,$[t]),$elm$core$Result$isOk(s)?s:$elm$core$Result$Err(A2($elm$json$Json$Decode$Index,t,s.a))):_Json_expecting("a LONGER array. Need index "+t+" but only see "+$.length+" entries",$):_Json_expecting("an ARRAY",$);case 8:if("object"!=typeof $||null===$||_Json_isArray($))return _Json_expecting("an OBJECT",$);var r,n=_List_Nil;for(r in $)if($.hasOwnProperty(r)){var s=_Json_runHelp(e.b,$[r]);if(!$elm$core$Result$isOk(s))return $elm$core$Result$Err(A2($elm$json$Json$Decode$Field,r,s.a));n=_List_Cons(_Utils_Tuple2(r,s.a),n)}return $elm$core$Result$Ok($elm$core$List$reverse(n));case 9:for(var a=e.f,o=e.g,l=0;l<o.length;l++){s=_Json_runHelp(o[l],$);if(!$elm$core$Result$isOk(s))return s;a=a(s.a)}return $elm$core$Result$Ok(a);case 10:s=_Json_runHelp(e.b,$);return $elm$core$Result$isOk(s)?_Json_runHelp(e.h(s.a),$):s;case 11:for(var _=_List_Nil,m=e.g;m.b;m=m.b){s=_Json_runHelp(m.a,$);if($elm$core$Result$isOk(s))return s;_=_List_Cons(s.a,_)}return $elm$core$Result$Err($elm$json$Json$Decode$OneOf($elm$core$List$reverse(_)));case 1:return $elm$core$Result$Err(A2($elm$json$Json$Decode$Failure,e.a,_Json_wrap($)));case 0:return $elm$core$Result$Ok(e.a)}}function _Json_runArrayDecoder(e,$,t){for(var r=$.length,n=Array(r),s=0;s<r;s++){var a=_Json_runHelp(e,$[s]);if(!$elm$core$Result$isOk(a))return $elm$core$Result$Err(A2($elm$json$Json$Decode$Index,s,a.a));n[s]=a.a}return $elm$core$Result$Ok(t(n))}function _Json_isArray(e){return Array.isArray(e)||"undefined"!=typeof FileList&&e instanceof FileList}function _Json_toElmArray($){return A2($elm$core$Array$initialize,$.length,function(e){return $[e]})}function _Json_expecting(e,$){return $elm$core$Result$Err(A2($elm$json$Json$Decode$Failure,"Expecting "+e,_Json_wrap($)))}function _Json_equality(e,$){if(e===$)return!0;if(e.$!==$.$)return!1;switch(e.$){case 0:case 1:return e.a===$.a;case 2:return e.b===$.b;case 5:return e.c===$.c;case 3:case 4:case 8:return _Json_equality(e.b,$.b);case 6:return e.d===$.d&&_Json_equality(e.b,$.b);case 7:return e.e===$.e&&_Json_equality(e.b,$.b);case 9:return e.f===$.f&&_Json_listEquality(e.g,$.g);case 10:return e.h===$.h&&_Json_equality(e.b,$.b);case 11:return _Json_listEquality(e.g,$.g)}}function _Json_listEquality(e,$){var t=e.length;if(t!==$.length)return!1;for(var r=0;r<t;r++)if(!_Json_equality(e[r],$[r]))return!1;return!0}var _Json_encode=F2(function(e,$){return JSON.stringify(_Json_unwrap($),null,e)+""});function _Json_wrap_UNUSED(e){return{$:0,a:e}}function _Json_unwrap_UNUSED(e){return e.a}function _Json_wrap(e){return e}function _Json_unwrap(e){return e}function _Json_emptyArray(){return[]}function _Json_emptyObject(){return{}}var _Json_addField=F3(function(e,$,t){return t[e]=_Json_unwrap($),t});function _Json_addEntry(t){return F2(function(e,$){return $.push(_Json_unwrap(t(e))),$})}var _Json_encodeNull=_Json_wrap(null);function _Scheduler_succeed(e){return{$:0,a:e}}function _Scheduler_fail(e){return{$:1,a:e}}function _Scheduler_binding(e){return{$:2,b:e,c:null}}var _Scheduler_andThen=F2(function(e,$){return{$:3,b:e,d:$}}),_Scheduler_onError=F2(function(e,$){return{$:4,b:e,d:$}});function _Scheduler_receive(e){return{$:5,b:e}}var _Scheduler_guid=0;function _Scheduler_rawSpawn(e){e={$:0,e:_Scheduler_guid++,f:e,g:null,h:[]};return _Scheduler_enqueue(e),e}function _Scheduler_spawn($){return _Scheduler_binding(function(e){e(_Scheduler_succeed(_Scheduler_rawSpawn($)))})}function _Scheduler_rawSend(e,$){e.h.push($),_Scheduler_enqueue(e)}var _Scheduler_send=F2(function($,t){return _Scheduler_binding(function(e){_Scheduler_rawSend($,t),e(_Scheduler_succeed(_Utils_Tuple0))})});function _Scheduler_kill(t){return _Scheduler_binding(function(e){var $=t.f;2===$.$&&$.c&&$.c(),t.f=null,e(_Scheduler_succeed(_Utils_Tuple0))})}var _Scheduler_working=!1,_Scheduler_queue=[];function _Scheduler_enqueue(e){if(_Scheduler_queue.push(e),!_Scheduler_working){for(_Scheduler_working=!0;e=_Scheduler_queue.shift();)_Scheduler_step(e);_Scheduler_working=!1}}function _Scheduler_step($){for(;$.f;){var e=$.f.$;if(0===e||1===e){for(;$.g&&$.g.$!==e;)$.g=$.g.i;if(!$.g)return;$.f=$.g.b($.f.a),$.g=$.g.i}else{if(2===e)return void($.f.c=$.f.b(function(e){$.f=e,_Scheduler_enqueue($)}));if(5===e){if(0===$.h.length)return;$.f=$.f.b($.h.shift())}else $.g={$:3===e?0:1,b:$.f.b,i:$.g},$.f=$.f.d}}}function _Process_sleep(t){return _Scheduler_binding(function(e){var $=setTimeout(function(){e(_Scheduler_succeed(_Utils_Tuple0))},t);return function(){clearTimeout($)}})}var _Platform_preload,_Platform_worker=F4(function(e,$,t,r){return _Platform_initialize($,r,e.dq,e.eb,e.d4,function(){return function(){}})});function _Platform_initialize(e,$,t,r,n,s){var e=A2(_Json_run,e,_Json_wrap($?$.flags:void 0)),a=($elm$core$Result$isOk(e)||_Debug_crash(2),{}),$=t(e.a),o=$.a,l=s(_,o),t=_Platform_setupEffects(a,_);function _(e,$){e=A2(r,e,o);l(o=e.a,$),_Platform_enqueueEffects(a,e.b,n(o))}return _Platform_enqueueEffects(a,$.b,n(o)),t?{ports:t}:{}}function _Platform_registerPreload(e){_Platform_preload.add(e)}var _Platform_effectManagers={};function _Platform_setupEffects(e,$){var t,r;for(r in _Platform_effectManagers){var n=_Platform_effectManagers[r];n.a&&((t=t||{})[r]=n.a(r,$)),e[r]=_Platform_instantiateManager(n,$)}return t}function _Platform_createManager(e,$,t,r,n){return{b:e,c:$,d:t,e:r,f:n}}function _Platform_instantiateManager(e,$){var r={g:$,h:void 0},n=e.c,s=e.d,a=e.e,o=e.f;return r.h=_Scheduler_rawSpawn(A2(_Scheduler_andThen,function e(t){return A2(_Scheduler_andThen,e,_Scheduler_receive(function(e){var $=e.a;return 0===e.$?A3(s,r,$,t):a&&o?A4(n,r,$.i,$.j,t):A3(n,r,a?$.i:$.j,t)}))},e.b))}var _Platform_sendToApp=F2(function($,t){return _Scheduler_binding(function(e){$.g(t),e(_Scheduler_succeed(_Utils_Tuple0))})}),_Platform_sendToSelf=F2(function(e,$){return A2(_Scheduler_send,e.h,{$:0,a:$})});function _Platform_leaf($){return function(e){return{$:1,k:$,l:e}}}function _Platform_batch(e){return{$:2,m:e}}var _Platform_map=F2(function(e,$){return{$:3,n:e,o:$}}),_Platform_effectsQueue=[],_Platform_effectsActive=!1;function _Platform_enqueueEffects(e,$,t){if(_Platform_effectsQueue.push({p:e,q:$,r:t}),!_Platform_effectsActive){_Platform_effectsActive=!0;for(var r;r=_Platform_effectsQueue.shift();)_Platform_dispatchEffects(r.p,r.q,r.r);_Platform_effectsActive=!1}}function _Platform_dispatchEffects(e,$,t){var r,n={};for(r in _Platform_gatherEffects(!0,$,n,null),_Platform_gatherEffects(!1,t,n,null),e)_Scheduler_rawSend(e[r],{$:"fx",a:n[r]||{i:_List_Nil,j:_List_Nil}})}function _Platform_gatherEffects(e,$,t,r){switch($.$){case 1:var n=$.k,s=_Platform_toEffect(e,n,r,$.l);return void(t[n]=_Platform_insert(e,s,t[n]));case 2:for(var a=$.m;a.b;a=a.b)_Platform_gatherEffects(e,a.a,t,r);return;case 3:return void _Platform_gatherEffects(e,$.o,t,{s:$.n,t:r})}}function _Platform_toEffect(e,$,t,r){return A2(e?_Platform_effectManagers[$].e:_Platform_effectManagers[$].f,function(e){for(var $=t;$;$=$.t)e=$.s(e);return e},r)}function _Platform_insert(e,$,t){return t=t||{i:_List_Nil,j:_List_Nil},e?t.i=_List_Cons($,t.i):t.j=_List_Cons($,t.j),t}function _Platform_checkPortName(e){_Platform_effectManagers[e]&&_Debug_crash(3,e)}function _Platform_outgoingPort(e,$){return _Platform_checkPortName(e),_Platform_effectManagers[e]={e:_Platform_outgoingPortMap,u:$,a:_Platform_setupOutgoingPort},_Platform_leaf(e)}var _Platform_outgoingPortMap=F2(function(e,$){return $});function _Platform_setupOutgoingPort(e){var a=[],o=_Platform_effectManagers[e].u,l=_Process_sleep(0);return _Platform_effectManagers[e].b=l,_Platform_effectManagers[e].c=F3(function(e,$,t){for(;$.b;$=$.b)for(var r=a,n=_Json_unwrap(o($.a)),s=0;s<r.length;s++)r[s](n);return l}),{subscribe:function(e){a.push(e)},unsubscribe:function(e){(e=(a=a.slice()).indexOf(e))<0||a.splice(e,1)}}}function _Platform_incomingPort(e,$){return _Platform_checkPortName(e),_Platform_effectManagers[e]={f:_Platform_incomingPortMap,u:$,a:_Platform_setupIncomingPort},_Platform_leaf(e)}var _Platform_incomingPortMap=F2(function($,t){return function(e){return $(t(e))}});function _Platform_setupIncomingPort(r,n){var s=_List_Nil,a=_Platform_effectManagers[r].u,o=_Scheduler_succeed(null);return _Platform_effectManagers[r].b=o,_Platform_effectManagers[r].c=F3(function(e,$,t){return s=$,o}),{send:function(e){for(var e=A2(_Json_run,a,_Json_wrap(e)),$=($elm$core$Result$isOk(e)||_Debug_crash(4,r,e.a),e.a),t=s;t.b;t=t.b)n(t.a($))}}}var _Regex_never=/.^/,_Regex_fromStringWith=F2(function(e,$){var t="g";e.dC&&(t+="m"),e.cW&&(t+="i");try{return $elm$core$Maybe$Just(RegExp($,t))}catch(e){return $elm$core$Maybe$Nothing}}),_Regex_contains=F2(function(e,$){return null!==$.match(e)}),_Regex_findAtMost=F3(function(e,$,t){for(var r,n=[],s=0,a=t,t=$.lastIndex,o=-1;s++<e&&(r=$.exec(a))&&o!=$.lastIndex;){for(var l=r.length-1,_=Array(l);0<l;){var m=r[l];_[--l]=m?$elm$core$Maybe$Just(m):$elm$core$Maybe$Nothing}n.push(A4($elm$regex$Regex$Match,r[0],r.index,s,_List_fromArray(_))),o=$.lastIndex}return $.lastIndex=t,_List_fromArray(n)}),_Regex_replaceAtMost=F4(function(n,e,s,$){var a=0;return $.replace(e,function(e){if(a++>=n)return e;for(var $=arguments.length-3,t=Array($);0<$;){var r=arguments[$];t[--$]=r?$elm$core$Maybe$Just(r):$elm$core$Maybe$Nothing}return s(A4($elm$regex$Regex$Match,e,arguments[arguments.length-2],a,_List_fromArray(t)))})}),_Regex_splitAtMost=F3(function(e,$,t){for(var r=t,n=[],s=$.lastIndex,t=$.lastIndex;e--;){var a=$.exec(r);if(!a)break;n.push(r.slice(s,a.index)),s=$.lastIndex}return n.push(r.slice(s)),$.lastIndex=t,_List_fromArray(n)}),_Regex_infinity=1/0,_Parser_isSubString=F5(function(e,$,t,r,n){for(var s=e.length,a=$+s<=n.length,o=0;a&&o<s;)var l=n.charCodeAt($),a=e[o++]===n[$++]&&(10==l?(t++,r=1):(r++,55296==(63488&l)?e[o++]===n[$++]:1));return _Utils_Tuple3(a?$:-1,t,r)}),_Parser_isSubChar=F3(function(e,$,t){return $<t.length?55296==(63488&t.charCodeAt($))?e(_Utils_chr(t.substr($,2)))?$+2:-1:e(_Utils_chr(t[$]))?"\n"===t[$]?-2:$+1:-1:-1}),_Parser_isAsciiCode=F3(function(e,$,t){return t.charCodeAt($)===e}),_Parser_chompBase10=F2(function(e,$){for(;e<$.length;e++){var t=$.charCodeAt(e);if(t<48||57<t)return e}return e}),_Parser_consumeBase=F3(function(e,$,t){for(var r=0;$<t.length;$++){var n=t.charCodeAt($)-48;if(n<0||e<=n)break;r=e*r+n}return _Utils_Tuple2($,r)}),_Parser_consumeBase16=F2(function(e,$){for(var t=0;e<$.length;e++){var r=$.charCodeAt(e);if(48>r||r>57)if(65>r||r>70){if(r<97||102<r)break;t=16*t+r-87}else t=16*t+r-55;else t=16*t+r-48}return _Utils_Tuple2(e,t)}),_Parser_findSubString=F5(function(e,$,t,r,n){for(var s=n.indexOf(e,$),a=s<0?n.length:s+e.length;$<a;){var o=n.charCodeAt($++);10==o?(r=1,t++):(r++,55296==(63488&o)&&$++)}return _Utils_Tuple3(s,t,r)}),_Bitwise_and=F2(function(e,$){return e&$}),_Bitwise_or=F2(function(e,$){return e|$}),_Bitwise_xor=F2(function(e,$){return e^$});function _Bitwise_complement(e){return~e}var _Bitwise_shiftLeftBy=F2(function(e,$){return $<<e}),_Bitwise_shiftRightBy=F2(function(e,$){return $>>e}),_Bitwise_shiftRightZfBy=F2(function(e,$){return $>>>e}),$elm$core$Basics$EQ=1,$elm$core$Basics$LT=0,$elm$core$List$cons=_List_cons,$elm$core$Elm$JsArray$foldr=_JsArray_foldr,$elm$core$Array$foldr=F3(function(t,e,$){var r=$.c,$=$.d,n=F2(function(e,$){return A3($elm$core$Elm$JsArray$foldr,e.$?t:n,$,e.a)});return A3($elm$core$Elm$JsArray$foldr,n,A3($elm$core$Elm$JsArray$foldr,t,e,$),r)}),$elm$core$Array$toList=function(e){return A3($elm$core$Array$foldr,$elm$core$List$cons,_List_Nil,e)},$elm$core$Dict$foldr=F3(function(e,$,t){for(;;){if(-2===t.$)return $;var r=t.d,n=e,s=A3(e,t.b,t.c,A3($elm$core$Dict$foldr,e,$,t.e));e=n,$=s,t=r}}),$elm$core$Dict$toList=function(e){return A3($elm$core$Dict$foldr,F3(function(e,$,t){return A2($elm$core$List$cons,_Utils_Tuple2(e,$),t)}),_List_Nil,e)},$elm$core$Dict$keys=function(e){return A3($elm$core$Dict$foldr,F3(function(e,$,t){return A2($elm$core$List$cons,e,t)}),_List_Nil,e)},$elm$core$Set$toList=function(e){return $elm$core$Dict$keys(e)},$elm$core$Basics$GT=2,$elm$core$Result$Err=function(e){return{$:1,a:e}},$elm$json$Json$Decode$Failure=F2(function(e,$){return{$:3,a:e,b:$}}),$elm$json$Json$Decode$Field=F2(function(e,$){return{$:0,a:e,b:$}}),$elm$json$Json$Decode$Index=F2(function(e,$){return{$:1,a:e,b:$}}),$elm$core$Result$Ok=function(e){return{$:0,a:e}},$elm$json$Json$Decode$OneOf=function(e){return{$:2,a:e}},$elm$core$Basics$False=1,$elm$core$Basics$add=_Basics_add,$elm$core$Maybe$Just=function(e){return{$:0,a:e}},$elm$core$Maybe$Nothing={$:1},$elm$core$String$all=_String_all,$elm$core$Basics$and=_Basics_and,$elm$core$Basics$append=_Utils_append,$elm$json$Json$Encode$encode=_Json_encode,$elm$core$String$fromInt=_String_fromNumber,$elm$core$String$join=F2(function(e,$){return A2(_String_join,e,_List_toArray($))}),$elm$core$String$split=F2(function(e,$){return _List_fromArray(A2(_String_split,e,$))}),$elm$json$Json$Decode$indent=function(e){return A2($elm$core$String$join,"\n ",A2($elm$core$String$split,"\n",e))},$elm$core$List$foldl=F3(function(e,$,t){for(;;){if(!t.b)return $;var r=t.b,n=e,s=A2(e,t.a,$);e=n,$=s,t=r}}),$elm$core$List$length=function(e){return A3($elm$core$List$foldl,F2(function(e,$){return $+1}),0,e)},$elm$core$List$map2=_List_map2,$elm$core$Basics$le=_Utils_le,$elm$core$Basics$sub=_Basics_sub,$elm$core$List$rangeHelp=F3(function(e,$,t){for(;;){if(1<=_Utils_cmp(e,$))return t;var r=e,n=$-1,s=A2($elm$core$List$cons,$,t);e=r,$=n,t=s}}),$elm$core$List$range=F2(function(e,$){return A3($elm$core$List$rangeHelp,e,$,_List_Nil)}),$elm$core$List$indexedMap=F2(function(e,$){return A3($elm$core$List$map2,e,A2($elm$core$List$range,0,$elm$core$List$length($)-1),$)}),$elm$core$Char$toCode=_Char_toCode,$elm$core$Char$isLower=function(e){e=$elm$core$Char$toCode(e);return 97<=e&&e<=122},$elm$core$Char$isUpper=function(e){e=$elm$core$Char$toCode(e);return e<=90&&65<=e},$elm$core$Basics$or=_Basics_or,$elm$core$Char$isAlpha=function(e){return $elm$core$Char$isLower(e)||$elm$core$Char$isUpper(e)},$elm$core$Char$isDigit=function(e){e=$elm$core$Char$toCode(e);return e<=57&&48<=e},$elm$core$Char$isAlphaNum=function(e){return $elm$core$Char$isLower(e)||$elm$core$Char$isUpper(e)||$elm$core$Char$isDigit(e)},$elm$core$List$reverse=function(e){return A3($elm$core$List$foldl,$elm$core$List$cons,_List_Nil,e)},$elm$core$String$uncons=_String_uncons,$elm$json$Json$Decode$errorOneOf=F2(function(e,$){return"\n\n("+$elm$core$String$fromInt(e+1)+(") "+$elm$json$Json$Decode$indent($elm$json$Json$Decode$errorToString($)))}),$elm$json$Json$Decode$errorToString=function(e){return A2($elm$json$Json$Decode$errorToStringHelp,e,_List_Nil)},$elm$json$Json$Decode$errorToStringHelp=F2(function(e,$){for(;;)switch(e.$){case 0:var t=e.a,r=e.b,n=(n=s=void 0,1!==(n=$elm$core$String$uncons(t)).$&&(s=(n=n.a).b,$elm$core$Char$isAlpha(n.a))&&A2($elm$core$String$all,$elm$core$Char$isAlphaNum,s)),s=r,n=A2($elm$core$List$cons,n?"."+t:"['"+t+"']",$);e=s,$=n;continue;case 1:var r=e.b,t="["+$elm$core$String$fromInt(e.a)+"]",s=r,n=A2($elm$core$List$cons,t,$);e=s,$=n;continue;case 2:var a=e.a;if(a.b){if(a.b.b)return o=($.b?"The Json.Decode.oneOf at json"+A2($elm$core$String$join,"",$elm$core$List$reverse($)):"Json.Decode.oneOf")+" failed in the following "+$elm$core$String$fromInt($elm$core$List$length(a))+" ways:",A2($elm$core$String$join,"\n\n",A2($elm$core$List$cons,o,A2($elm$core$List$indexedMap,$elm$json$Json$Decode$errorOneOf,a)));e=s=r=a.a,$=n=$;continue}return"Ran into a Json.Decode.oneOf with no possibilities"+($.b?" at json"+A2($elm$core$String$join,"",$elm$core$List$reverse($)):"!");default:var o,a=e.a,l=e.b;return(o=$.b?"Problem with the value at json"+A2($elm$core$String$join,"",$elm$core$List$reverse($))+":\n\n ":"Problem with the given value:\n\n")+($elm$json$Json$Decode$indent(A2($elm$json$Json$Encode$encode,4,l))+"\n\n")+a}var s,n}),$elm$core$Array$branchFactor=32,$elm$core$Array$Array_elm_builtin=F4(function(e,$,t,r){return{$:0,a:e,b:$,c:t,d:r}}),$elm$core$Elm$JsArray$empty=_JsArray_empty,$elm$core$Basics$ceiling=_Basics_ceiling,$elm$core$Basics$fdiv=_Basics_fdiv,$elm$core$Basics$logBase=F2(function(e,$){return _Basics_log($)/_Basics_log(e)}),$elm$core$Basics$toFloat=_Basics_toFloat,$elm$core$Array$shiftStep=$elm$core$Basics$ceiling(A2($elm$core$Basics$logBase,2,$elm$core$Array$branchFactor)),$elm$core$Array$empty=A4($elm$core$Array$Array_elm_builtin,0,$elm$core$Array$shiftStep,$elm$core$Elm$JsArray$empty,$elm$core$Elm$JsArray$empty),$elm$core$Elm$JsArray$initialize=_JsArray_initialize,$elm$core$Array$Leaf=function(e){return{$:1,a:e}},$elm$core$Basics$apL=F2(function(e,$){return e($)}),$elm$core$Basics$apR=F2(function(e,$){return $(e)}),$elm$core$Basics$eq=_Utils_equal,$elm$core$Basics$floor=_Basics_floor,$elm$core$Elm$JsArray$length=_JsArray_length,$elm$core$Basics$gt=_Utils_gt,$elm$core$Basics$max=F2(function(e,$){return 0<_Utils_cmp(e,$)?e:$}),$elm$core$Basics$mul=_Basics_mul,$elm$core$Array$SubTree=function(e){return{$:0,a:e}},$elm$core$Elm$JsArray$initializeFromList=_JsArray_initializeFromList,$elm$core$Array$compressNodes=F2(function(e,$){for(;;){var t=A2($elm$core$Elm$JsArray$initializeFromList,$elm$core$Array$branchFactor,e),r=t.b,t=A2($elm$core$List$cons,$elm$core$Array$SubTree(t.a),$);if(!r.b)return $elm$core$List$reverse(t);e=r,$=t}}),$elm$core$Tuple$first=function(e){return e.a},$elm$core$Array$treeFromBuilder=F2(function(e,$){for(;;){var t=$elm$core$Basics$ceiling($/$elm$core$Array$branchFactor);if(1===t)return A2($elm$core$Elm$JsArray$initializeFromList,$elm$core$Array$branchFactor,e).a;e=A2($elm$core$Array$compressNodes,e,_List_Nil),$=t}}),$elm$core$Array$builderToArray=F2(function(e,$){var t,r;return $.l?(r=$elm$core$Basics$floor(A2($elm$core$Basics$logBase,$elm$core$Array$branchFactor,(t=$.l*$elm$core$Array$branchFactor)-1)),e=e?$elm$core$List$reverse($.o):$.o,e=A2($elm$core$Array$treeFromBuilder,e,$.l),A4($elm$core$Array$Array_elm_builtin,$elm$core$Elm$JsArray$length($.m)+t,A2($elm$core$Basics$max,5,r*$elm$core$Array$shiftStep),e,$.m)):A4($elm$core$Array$Array_elm_builtin,$elm$core$Elm$JsArray$length($.m),$elm$core$Array$shiftStep,$elm$core$Elm$JsArray$empty,$.m)}),$elm$core$Basics$idiv=_Basics_idiv,$elm$core$Basics$lt=_Utils_lt,$elm$core$Array$initializeHelp=F5(function(e,$,t,r,n){for(;;){if($<0)return A2($elm$core$Array$builderToArray,!1,{o:r,l:t/$elm$core$Array$branchFactor|0,m:n});var s=$elm$core$Array$Leaf(A3($elm$core$Elm$JsArray$initialize,$elm$core$Array$branchFactor,$,e));e=e,$=$-$elm$core$Array$branchFactor,t=t,r=A2($elm$core$List$cons,s,r),n=n}}),$elm$core$Basics$remainderBy=_Basics_remainderBy,$elm$core$Array$initialize=F2(function(e,$){var t,r;return 0<e?(r=A3($elm$core$Elm$JsArray$initialize,t=e%$elm$core$Array$branchFactor,e-t,$),A5($elm$core$Array$initializeHelp,$,e-t-$elm$core$Array$branchFactor,e,_List_Nil,r)):$elm$core$Array$empty}),$elm$core$Basics$True=0,$elm$core$Result$isOk=function(e){return!e.$},$elm$json$Json$Decode$andThen=_Json_andThen,$elm$json$Json$Decode$bool=_Json_decodeBool,$elm$json$Json$Decode$field=_Json_decodeField,$elm$core$Dict$RBEmpty_elm_builtin={$:-2},$elm$core$Dict$empty=$elm$core$Dict$RBEmpty_elm_builtin,$author$project$Main$init=F3(function(e,$,t){return{ai:t,dt:$,ct:$elm$core$Dict$empty,cC:e}}),$elm$core$Platform$Cmd$batch=_Platform_batch,$elm$core$Platform$Cmd$none=_Platform_batch(_List_Nil),$elm$json$Json$Decode$string=_Json_decodeString,$author$project$Main$GotRequest=function(e){return{$:0,a:e}},$author$project$Main$UnexpectedRequest=function(e){return{$:1,a:e}},$elm$core$Basics$composeR=F3(function(e,$,t){return $(e(t))}),$elm$json$Json$Decode$decodeValue=_Json_run,$elm$json$Json$Decode$value=_Json_decodeValue,$author$project$Ports$receiveRequest=_Platform_incomingPort("receiveRequest",$elm$json$Json$Decode$value),$author$project$Ports$AddTranslation=function(e){return{$:1,a:e}},$author$project$Ports$FinishModule=function(e){return{$:0,a:e}},$elm$json$Json$Decode$fail=_Json_fail,$author$project$Ports$Dynamic=1,$author$project$Ports$FinishRequest=F7(function(e,$,t,r,n,s,a){return{cL:t,c1:a,c2:s,c9:e,dh:$,dk:r,dQ:n}}),$author$project$Ports$Inline=0,$elm$core$String$toLower=_String_toLower,$author$project$Ports$generatorModeFromString=function(e){switch($elm$core$String$toLower(e)){case"inline":return $elm$core$Maybe$Just(0);case"dynamic":return $elm$core$Maybe$Just(1);default:return $elm$core$Maybe$Nothing}},$elm$json$Json$Decode$succeed=_Json_succeed,$author$project$Ports$generatorModeDecoder=A2($elm$json$Json$Decode$andThen,function(e){var $=$author$project$Ports$generatorModeFromString(e);return $.$?$elm$json$Json$Decode$fail("Unsupported generator mode: "+e):$elm$json$Json$Decode$succeed($.a)},$elm$json$Json$Decode$string),$elm$json$Json$Decode$map2=_Json_map2,$NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$custom=_Json_map2($elm$core$Basics$apR),$elm$core$List$foldrHelper=F4(function(e,$,t,r){var n,s,a,o;return r.b?(n=r.a,(r=r.b).b?(s=r.a,(r=r.b).b?(a=r.a,(r=r.b).b?(o=r.b,A2(e,n,A2(e,s,A2(e,a,A2(e,r.a,500<t?A3($elm$core$List$foldl,e,$,$elm$core$List$reverse(o)):A4($elm$core$List$foldrHelper,e,$,t+1,o)))))):A2(e,n,A2(e,s,A2(e,a,$)))):A2(e,n,A2(e,s,$))):A2(e,n,$)):$}),$elm$core$List$foldr=F3(function(e,$,t){return A4($elm$core$List$foldrHelper,e,$,0,t)}),$elm$json$Json$Decode$at=F2(function(e,$){return A3($elm$core$List$foldr,$elm$json$Json$Decode$field,$,e)}),$elm$json$Json$Decode$null=_Json_decodeNull,$elm$json$Json$Decode$oneOf=_Json_oneOf,$NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$optionalDecoder=F3(function($,t,r){function n(e){return $elm$json$Json$Decode$oneOf(_List_fromArray([e,$elm$json$Json$Decode$null(r)]))}return A2($elm$json$Json$Decode$andThen,function(e){var e=A2($elm$json$Json$Decode$decodeValue,A2($elm$json$Json$Decode$at,$,$elm$json$Json$Decode$value),e);return e.$?$elm$json$Json$Decode$succeed(r):(e=e.a,(e=A2($elm$json$Json$Decode$decodeValue,n(t),e)).$?A2($elm$json$Json$Decode$at,$,n(t)):$elm$json$Json$Decode$succeed(e.a))},$elm$json$Json$Decode$value)}),$NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$optional=F4(function(e,$,t,r){return A2($NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$custom,A3($NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$optionalDecoder,_List_fromArray([e]),$,t),r)}),$NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$required=F3(function(e,$,t){return A2($NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$custom,A2($elm$json$Json$Decode$field,e,$),t)}),$author$project$Ports$finishRequestDecoder=A3($NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$required,"customHtmlAttributesModule",$elm$json$Json$Decode$string,A3($NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$required,"customHtmlModule",$elm$json$Json$Decode$string,A4($NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$optional,"prefixFileIdentifier",$elm$json$Json$Decode$bool,!1,A4($NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$optional,"i18nArgFirst",$elm$json$Json$Decode$bool,!1,A4($NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$optional,"addContentHash",$elm$json$Json$Decode$bool,!1,A4($NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$optional,"generatorMode",$author$project$Ports$generatorModeDecoder,1,A3($NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$required,"elmModuleName",$elm$json$Json$Decode$string,$elm$json$Json$Decode$succeed($author$project$Ports$FinishRequest)))))))),$elm$json$Json$Decode$map=_Json_map1,$author$project$Ports$TranslationRequest=F4(function(e,$,t,r){return{r:e,dd:$,v:t,ay:r}}),$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),$author$project$Ports$InternalRequest=F2(function(e,$){return{bC:e,bD:$}}),$author$project$Ports$internalRequestDecoder=A3($NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$required,"fileName",$elm$json$Json$Decode$string,A3($NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$required,"fileContent",$elm$json$Json$Decode$string,$elm$json$Json$Decode$succeed($author$project$Ports$InternalRequest))),$author$project$Ports$translationRequestDecoder=A2($elm$json$Json$Decode$andThen,function(e){for(var $,t=e.bC,r=A2($elm$core$String$split,".",e.bD);;){if(r.b){if(r.b.b){if(r.b.b.b&&!r.b.b.b.b)return A2($NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$hardcoded,($=r.b).a,A2($NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$hardcoded,r.a,A2($NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$hardcoded,$.b.a,A2($NoRedInk$elm_json_decode_pipeline$Json$Decode$Pipeline$hardcoded,t,$elm$json$Json$Decode$succeed($author$project$Ports$TranslationRequest)))));break}return $elm$json$Json$Decode$fail("Cannot determine extension from file name '"+r.a+"'.")}break}return $elm$json$Json$Decode$fail("Please remove dots from identifier to follow the [identifier].[language].[extension] convention.")},$author$project$Ports$internalRequestDecoder),$author$project$Ports$requestDecoder=A2($elm$json$Json$Decode$andThen,function(e){switch(e){case"translation":return A2($elm$json$Json$Decode$map,$author$project$Ports$AddTranslation,$author$project$Ports$translationRequestDecoder);case"finish":return A2($elm$json$Json$Decode$map,$author$project$Ports$FinishModule,$author$project$Ports$finishRequestDecoder);default:return $elm$json$Json$Decode$fail("Unknown type of request: '"+e+"'")}},A2($elm$json$Json$Decode$field,"type",$elm$json$Json$Decode$string)),$author$project$Ports$subToRequests=function(e){return $author$project$Ports$receiveRequest(A2($elm$core$Basics$composeR,$elm$json$Json$Decode$decodeValue($author$project$Ports$requestDecoder),e))},$author$project$Main$subscriptions=function(e){return $author$project$Ports$subToRequests(function(e){return(e.$?$author$project$Main$UnexpectedRequest:$author$project$Main$GotRequest)(e.a)})},$elm$core$Basics$composeL=F3(function(e,$,t){return e($(t))}),$elm$core$List$map=F2(function(t,e){return A3($elm$core$List$foldr,F2(function(e,$){return A2($elm$core$List$cons,t(e),$)}),_List_Nil,e)}),$author$project$Types$Error$formatContext=A2($elm$core$Basics$composeR,$elm$core$Dict$toList,$elm$core$List$map(function(e){return"- "+e.a+": "+e.b})),$author$project$Types$Error$formatError=function(e){switch(e.$){case 0:return _Utils_Tuple2("Did not receive any translation files yet, cannot finish Elm module.",_List_Nil);case 1:return _Utils_Tuple2("Detected mutually recursive fallbacks. This is not allowed, because it can lead to indefinite recursion at runtime or unresolved keys.",_List_fromArray(["Trace: "+A2($elm$core$String$join," --\x3e ",e.a)]));case 2:return _Utils_Tuple2("Found inconsistent keys in translation files.",_List_fromArray(["Language '"+($=e.a).aK+("' includes the keys [ "+A2($elm$core$String$join,", ",$.bU))+" ] but language '"+$.aP+"' does not.","Either delete the keys in '"+$.aK+"', add the keys in '"+$.aP+"', or opt into a fallback behaviour by adding '# fallback-language: "+$.aK+"' into the '"+$.aP+"' translation file."]));case 3:var $;return _Utils_Tuple2("Found bundles with inconsistent languages.",_List_fromArray(["Bundle does not exist in the following languages [ "+A2($elm$core$String$join,", ",($=e.a).dB)+" ].","You can solve this by creating translation files for the missing languages and adding the required translations."]));case 4:return _Utils_Tuple2("Cannot format the given string '"+e.a+"' as a number.",_List_Nil);case 5:return _Utils_Tuple2("Cannot parse the given string '"+e.a+"' as a number.",_List_Nil);case 6:return _Utils_Tuple2("Cannot parse the given string '"+e.a+"' as a date.",_List_Nil);case 7:return _Utils_Tuple2("Detected mutually recursive term references in translation file.",_List_fromArray(["Trace: "+A2($elm$core$String$join," --\x3e ",e.a)]));case 8:return _Utils_Tuple2("Failed to resolve reference to unknown term '"+e.a+"' in translation file.",_List_Nil);case 9:return _Utils_Tuple2("Failed to decode request: "+$elm$json$Json$Decode$errorToString(e.a),_List_Nil);case 10:return _Utils_Tuple2("Unsupported content type '"+e.a+"'.",_List_fromArray(["Currently .json, .properties and .ftl formats are supported."]));default:return _Utils_Tuple2("Failed to parse translation file: "+e.a,_List_Nil)}},$author$project$Types$Error$indent=$elm$core$Basics$append("\t"),$elm$core$Dict$isEmpty=function(e){return-2===e.$},$author$project$Types$Error$formatErrorWithContext=function(e){var $=e.a,e=e.b,e=$elm$core$Dict$isEmpty(e)?_List_Nil:A2($elm$core$List$cons,"Context:",A2($elm$core$List$map,$author$project$Types$Error$indent,$author$project$Types$Error$formatContext(e))),$=$author$project$Types$Error$formatError($);return A2($elm$core$String$join,"\n",A2($elm$core$List$cons,$.a,A2($elm$core$List$map,$author$project$Types$Error$indent,_Utils_ap($.b,e))))},$elm$core$Result$mapError=F2(function(e,$){return $.$?$elm$core$Result$Err(e($.a)):$elm$core$Result$Ok($.a)}),$author$project$Types$Error$formatFail=$elm$core$Result$mapError(A2($elm$core$Basics$composeL,$elm$core$String$join("\n\n"),$elm$core$List$map($author$project$Types$Error$formatErrorWithContext))),$elm$core$Maybe$destruct=F3(function(e,$,t){return t.$?e:$(t.a)}),$elm$json$Json$Encode$list=F2(function(e,$){return _Json_wrap(A3($elm$core$List$foldl,_Json_addEntry(e),_Json_emptyArray(0),$))}),$elm$json$Json$Encode$null=_Json_encodeNull,$elm$json$Json$Encode$object=function(e){return _Json_wrap(A3($elm$core$List$foldl,F2(function(e,$){return A3(_Json_addField,e.a,e.b,$)}),_Json_emptyObject(0),e))},$elm$json$Json$Encode$string=_Json_wrap,$author$project$Ports$sendResponse=_Platform_outgoingPort("sendResponse",function(e){return $elm$json$Json$Encode$object(_List_fromArray([_Utils_Tuple2("content",A3($elm$core$Maybe$destruct,$elm$json$Json$Encode$null,function(e){return $elm$json$Json$Encode$object(_List_fromArray([_Utils_Tuple2("elmFile",$elm$json$Json$Encode$string(e.bx)),_Utils_Tuple2("optimizedJson",$elm$json$Json$Encode$list(function(e){return $elm$json$Json$Encode$object(_List_fromArray([_Utils_Tuple2("content",$elm$json$Json$Encode$string(e.r)),_Utils_Tuple2("filename",$elm$json$Json$Encode$string(e.a$))]))})(e.b7))]))},e.r)),_Utils_Tuple2("error",A3($elm$core$Maybe$destruct,$elm$json$Json$Encode$null,$elm$json$Json$Encode$string,e.aH))]))}),$author$project$Ports$respond=function(e){return $author$project$Ports$sendResponse(1===(e=$author$project$Types$Error$formatFail(e)).$?{r:$elm$core$Maybe$Nothing,aH:$elm$core$Maybe$Just(e.a)}:{r:$elm$core$Maybe$Just(e.a),aH:$elm$core$Maybe$Nothing})},$elm$core$Basics$compare=_Utils_compare,$elm$core$Dict$get=F2(function(e,$){for(;;){if(-2===$.$)return $elm$core$Maybe$Nothing;var t=$.c,r=$.d,n=$.e;switch(A2($elm$core$Basics$compare,e,$.b)){case 0:e=e,$=r;continue;case 1:return $elm$core$Maybe$Just(t);default:e=e,$=n;continue}}}),$elm$core$Dict$Black=1,$elm$core$Dict$RBNode_elm_builtin=F5(function(e,$,t,r,n){return{$:-1,a:e,b:$,c:t,d:r,e:n}}),$elm$core$Dict$Red=0,$elm$core$Dict$balance=F5(function(e,$,t,r,n){var s,a,o,l;return-1!==n.$||n.a?-1!==r.$||r.a||-1!==r.d.$||r.d.a?A5($elm$core$Dict$RBNode_elm_builtin,e,$,t,r,n):(s=r.d,l=r.e,A5($elm$core$Dict$RBNode_elm_builtin,0,r.b,r.c,A5($elm$core$Dict$RBNode_elm_builtin,1,s.b,s.c,s.d,s.e),A5($elm$core$Dict$RBNode_elm_builtin,1,$,t,l,n))):(s=n.b,a=n.c,o=n.d,n=n.e,-1!==r.$||r.a?A5($elm$core$Dict$RBNode_elm_builtin,e,s,a,A5($elm$core$Dict$RBNode_elm_builtin,0,$,t,r,o),n):A5($elm$core$Dict$RBNode_elm_builtin,0,$,t,A5($elm$core$Dict$RBNode_elm_builtin,1,r.b,r.c,r.d,l=r.e),A5($elm$core$Dict$RBNode_elm_builtin,1,s,a,o,n)))}),$elm$core$Dict$insertHelp=F3(function(e,$,t){if(-2===t.$)return A5($elm$core$Dict$RBNode_elm_builtin,0,e,$,$elm$core$Dict$RBEmpty_elm_builtin,$elm$core$Dict$RBEmpty_elm_builtin);var r=t.a,n=t.b,s=t.c,a=t.d,o=t.e;switch(A2($elm$core$Basics$compare,e,n)){case 0:return A5($elm$core$Dict$balan