-
Notifications
You must be signed in to change notification settings - Fork 0
/
qcheckers.min.js
1 lines (1 loc) · 31.9 KB
/
qcheckers.min.js
1
!function(n){"use strict";function r(n,r,t){return t.a=n,t.f=r,t}function c(t){return r(2,t,function(r){return function(n){return t(r,n)}})}function t(u){return r(3,u,function(t){return function(r){return function(n){return u(t,r,n)}}})}function u(e){return r(4,e,function(u){return function(t){return function(r){return function(n){return e(u,t,r,n)}}}})}function e(i){return r(5,i,function(e){return function(u){return function(t){return function(r){return function(n){return i(e,u,t,r,n)}}}}})}function g(n,r,t){return 2===n.a?n.f(r,t):n(r)(t)}function $(n,r,t,u){return 3===n.a?n.f(r,t,u):n(r)(t)(u)}function s(n,r,t,u,e){return 4===n.a?n.f(r,t,u,e):n(r)(t)(u)(e)}function v(n,r,t,u,e,i){return 5===n.a?n.f(r,t,u,e,i):n(r)(t)(u)(e)(i)}function b(n,r){for(var t,u=[],e=i(n,r,0,u);e&&(t=u.pop());e=i(t.a,t.b,0,u));return e}function i(n,r,t,u){if(n===r)return!0;if("object"!=typeof n||null===n||null===r)return"function"==typeof n&&z(5),!1;if(100<t)return u.push(l(n,r)),!0;for(var e in n.$<0&&(n=vr(n),r=vr(r)),n)if(!i(n[e],r[e],t+1,u))return!1;return!0}function m(n,r,t){if("object"!=typeof n)return n===r?0:n<r?-1:1;if(void 0===n.$)return(t=m(n.a,r.a))?t:(t=m(n.b,r.b))?t:m(n.c,r.c);for(;n.b&&r.b&&!(t=m(n.a,r.a));n=n.b,r=r.b);return t||(n.b?1:r.b?-1:0)}var f=0;function l(n,r){return{a:n,b:r}}function o(n){return n}function d(n,r){var t={};for(var u in n)t[u]=n[u];for(var u in r)t[u]=r[u];return t}function p(n,r){if("string"==typeof n)return n+r;if(!n.b)return r;var t=k(n.a,r);n=n.b;for(var u=t;n.b;n=n.b)u=u.b=k(n.a,r);return t}var h={$:0};function k(n,r){return{$:1,a:n,b:r}}var a=c(k);function y(n){for(var r=h,t=n.length;t--;)r=k(n[t],r);return r}function w(n){for(var r=[];n.b;n=n.b)r.push(n.a);return r}var A=c(function(t,n){return y(w(n).sort(function(n,r){return m(t(n),t(r))}))});var j=t(function(n,r,t){for(var u=Array(n),e=0;e<n;e++)u[e]=t(r+e);return u}),N=c(function(n,r){for(var t=Array(n),u=0;u<n&&r.b;u++)t[u]=r.a,r=r.b;return t.length=u,l(t,r)});function z(n){throw Error("https://github.com/elm/core/blob/1.0.0/hints/"+n+".md")}var _=c(function(n,r){return n+r}),x=c(function(n,r){var t=r%n;return 0===n?z(11):0<t&&n<0||t<0&&0<n?t+n:t});var C=Math.ceil,E=Math.floor,L=Math.round,T=Math.log,M=isNaN;var S=c(function(n,r){return n+r});var q=t(function(n,r,t){for(var u=t.length;u--;){var e=t[u],i=t.charCodeAt(u);i<56320||57343<i||(e=t[--u]+e),r=g(n,o(e),r)}return r}),B=c(function(n,r){return r.split(n)}),F=t(function(n,r,t){return t.slice(n,r)});var I=c(function(n,r){return 0==r.indexOf(n)});function R(n){return n+""}function O(n){return{$:2,b:n}}O(function(n){return"number"!=typeof n?H("an INT",n):-2147483647<n&&n<2147483647&&(0|n)===n?hr(n):!isFinite(n)||n%1?H("an INT",n):hr(n)}),O(function(n){return"boolean"==typeof n?hr(n):H("a BOOL",n)}),O(function(n){return"number"==typeof n?hr(n):H("a FLOAT",n)}),O(function(n){return hr(Y(n))}),O(function(n){return"string"==typeof n?hr(n):n instanceof String?hr(n+""):H("a STRING",n)});var W=c(function(n,r){return D(n,Q(r))});function D(n,r){switch(n.$){case 2:return n.b(r);case 5:return null===r?hr(n.c):H("null",r);case 3:return K(r)?G(n.b,r,y):H("a LIST",r);case 4:return K(r)?G(n.b,r,P):H("an ARRAY",r);case 6:var t=n.d;if("object"!=typeof r||null===r||!(t in r))return H("an OBJECT with a field named `"+t+"`",r);var u=D(n.b,r[t]);return Kr(u)?u:sr(g(lr,t,u.a));case 7:var e=n.e;if(!K(r))return H("an ARRAY",r);if(r.length<=e)return H("a LONGER array. Need index "+e+" but only see "+r.length+" entries",r);u=D(n.b,r[e]);return Kr(u)?u:sr(g(dr,e,u.a));case 8:if("object"!=typeof r||null===r||K(r))return H("an OBJECT",r);var i=h;for(var f in r)if(r.hasOwnProperty(f)){u=D(n.b,r[f]);if(!Kr(u))return sr(g(lr,f,u.a));i=k(l(f,u.a),i)}return hr(zr(i));case 9:for(var o=n.f,a=n.g,c=0;c<a.length;c++){u=D(a[c],r);if(!Kr(u))return u;o=o(u.a)}return hr(o);case 10:u=D(n.b,r);return Kr(u)?D(n.h(u.a),r):u;case 11:for(var v=h,s=n.g;s.b;s=s.b){u=D(s.a,r);if(Kr(u))return u;v=k(u.a,v)}return sr(gr(zr(v)));case 1:return sr(g(br,n.a,Y(r)));case 0:return hr(n.a)}}function G(n,r,t){for(var u=r.length,e=Array(u),i=0;i<u;i++){var f=D(n,r[i]);if(!Kr(f))return sr(g(dr,i,f.a));e[i]=f.a}return hr(t(e))}function K(n){return Array.isArray(n)||"undefined"!=typeof FileList&&n instanceof FileList}function P(r){return g(Gr,r.length,function(n){return r[n]})}function H(n,r){return sr(g(br,"Expecting "+n,Y(r)))}function J(n,r){if(n===r)return!0;if(n.$!==r.$)return!1;switch(n.$){case 0:case 1:return n.a===r.a;case 2:return n.b===r.b;case 5:return n.c===r.c;case 3:case 4:case 8:return J(n.b,r.b);case 6:return n.d===r.d&&J(n.b,r.b);case 7:return n.e===r.e&&J(n.b,r.b);case 9:return n.f===r.f&&U(n.g,r.g);case 10:return n.h===r.h&&J(n.b,r.b);case 11:return U(n.g,r.g)}}function U(n,r){var t=n.length;if(t!==r.length)return!1;for(var u=0;u<t;u++)if(!J(n[u],r[u]))return!1;return!0}function Y(n){return n}function Q(n){return n}Y(null);function V(n){return{$:0,a:n}}function X(n){return{$:2,b:n,c:null}}var Z=c(function(n,r){return{$:3,b:n,d:r}});var nn=0;function rn(n){var r={$:0,e:nn++,f:n,g:null,h:[]};return on(r),r}function tn(r){return X(function(n){n(V(rn(r)))})}function un(n,r){n.h.push(r),on(n)}var en=!1,fn=[];function on(n){if(fn.push(n),!en){for(en=!0;n=fn.shift();)an(n);en=!1}}function an(r){for(;r.f;){var n=r.f.$;if(0===n||1===n){for(;r.g&&r.g.$!==n;)r.g=r.g.i;if(!r.g)return;r.f=r.g.b(r.f.a),r.g=r.g.i}else{if(2===n)return void(r.f.c=r.f.b(function(n){r.f=n,on(r)}));if(5===n){if(0===r.h.length)return;r.f=r.f.b(r.h.shift())}else r.g={$:3===n?0:1,b:r.f.b,i:r.g},r.f=r.f.d}}}function cn(n,r,t,u,e,i){var f=g(W,n,Y(r?r.flags:void 0));Kr(f)||z(2);var o={},a=t(f.a),c=a.a,v=i(b,c),s=function(n,r){var t;for(var u in vn){var e=vn[u];e.a&&((t=t||{})[u]=e.a(u,r)),n[u]=bn(e,r)}return t}(o,b);function b(n,r){var t=g(u,n,c);v(c=t.a,r),mn(o,t.b,e(c))}return mn(o,a.b,e(c)),s?{ports:s}:{}}var vn={};function sn(n,r,t,u,e){return{b:n,c:r,d:t,e:u,f:e}}function bn(n,r){var u={g:r,h:void 0},e=n.c,i=n.d,f=n.e,o=n.f;function a(t){return g(Z,a,function(n){return{$:5,b:n}}(function(n){var r=n.a;return 0===n.$?$(i,u,r,t):f&&o?s(e,u,r.i,r.j,t):$(e,u,f?r.i:r.j,t)}))}return u.h=rn(g(Z,a,n.b))}var ln=c(function(r,t){return X(function(n){r.g(t),n(V(f))})});function dn(r){return function(n){return{$:1,k:r,l:n}}}function hn(n){return{$:2,m:n}}var gn=[],$n=!1;function mn(n,r,t){if(gn.push({p:n,q:r,r:t}),!$n){$n=!0;for(var u;u=gn.shift();)pn(u.p,u.q,u.r);$n=!1}}function pn(n,r,t){var u={};for(var e in kn(!0,r,u,null),kn(!1,t,u,null),n)un(n[e],{$:"fx",a:u[e]||{i:h,j:h}})}function kn(n,r,t,u){switch(r.$){case 1:var e=r.k,i=function(n,r,t,u){function e(n){for(var r=t;r;r=r.t)n=r.s(n);return n}return g(n?vn[r].e:vn[r].f,e,u)}(n,e,u,r.l);return void(t[e]=function(n,r,t){return t=t||{i:h,j:h},n?t.i=k(r,t.i):t.j=k(r,t.j),t}(n,i,t[e]));case 2:for(var f=r.m;f.b;f=f.b)kn(n,f.a,t,u);return;case 3:return void kn(n,r.o,t,{s:r.n,t:u})}}var yn;var wn="undefined"!=typeof document?document:{};function An(n,r){n.appendChild(r)}function jn(n){return{$:0,a:n}}var Nn=c(function(i,f){return c(function(n,r){for(var t=[],u=0;r.b;r=r.b){var e=r.a;u+=e.b||0,t.push(e)}return u+=t.length,{$:1,c:f,d:Ln(n),e:t,f:i,b:u}})})(void 0);c(function(i,f){return c(function(n,r){for(var t=[],u=0;r.b;r=r.b){var e=r.a;u+=e.b.b||0,t.push(e)}return u+=t.length,{$:2,c:f,d:Ln(n),e:t,f:i,b:u}})})(void 0);var zn=c(function(n,r){return{$:"a0",n:n,o:r}}),_n=c(function(n,r){return{$:"a1",n:n,o:r}}),xn=c(function(n,r){return{$:"a2",n:n,o:r}}),Cn=c(function(n,r){return{$:"a3",n:n,o:r}});var En;function Ln(n){for(var r={};n.b;n=n.b){var t=n.a,u=t.$,e=t.n,i=t.o;if("a2"!==u){var f=r[u]||(r[u]={});"a3"===u&&"class"===e?Tn(f,e,i):f[e]=i}else"className"===e?Tn(r,e,Q(i)):r[e]=Q(i)}return r}function Tn(n,r,t){var u=n[r];n[r]=u?u+" "+t:t}function Mn(n,r){var t=n.$;if(5===t)return Mn(n.k||(n.k=n.m()),r);if(0===t)return wn.createTextNode(n.a);if(4===t){for(var u=n.k,e=n.j;4===u.$;)"object"!=typeof e?e=[e,u.j]:e.push(u.j),u=u.k;var i={j:e,p:r};return(f=Mn(u,i)).elm_event_node_ref=i,f}if(3===t)return Sn(f=n.h(n.g),r,n.d),f;var f=n.f?wn.createElementNS(n.f,n.c):wn.createElement(n.c);yn&&"a"==n.c&&f.addEventListener("click",yn(f)),Sn(f,r,n.d);for(var o=n.e,a=0;a<o.length;a++)An(f,Mn(1===t?o[a]:o[a].b,r));return f}function Sn(n,r,t){for(var u in t){var e=t[u];"a1"===u?qn(n,e):"a0"===u?In(n,r,e):"a3"===u?Bn(n,e):"a4"===u?Fn(n,e):("value"!==u&&"checked"!==u||n[u]!==e)&&(n[u]=e)}}function qn(n,r){var t=n.style;for(var u in r)t[u]=r[u]}function Bn(n,r){for(var t in r){var u=r[t];void 0!==u?n.setAttribute(t,u):n.removeAttribute(t)}}function Fn(n,r){for(var t in r){var u=r[t],e=u.f,i=u.o;void 0!==i?n.setAttributeNS(e,t,i):n.removeAttributeNS(e,t)}}function In(n,r,t){var u=n.elmFs||(n.elmFs={});for(var e in t){var i=t[e],f=u[e];if(i){if(f){if(f.q.$===i.$){f.q=i;continue}n.removeEventListener(e,f)}f=Rn(r,i),n.addEventListener(e,f,En&&{passive:Hr(i)<2}),u[e]=f}else n.removeEventListener(e,f),u[e]=void 0}}try{window.addEventListener("t",null,Object.defineProperty({},"passive",{get:function(){En=!0}}))}catch(n){}function Rn(v,n){function s(n){var r=s.q,t=D(r.a,n);if(Kr(t)){for(var u,e=Hr(r),i=t.a,f=e?e<3?i.a:i.t:i,o=1==e?i.b:3==e&&i.S,a=(o&&n.stopPropagation(),(2==e?i.b:3==e&&i.P)&&n.preventDefault(),v);u=a.j;){if("function"==typeof u)f=u(f);else for(var c=u.length;c--;)f=u[c](f);a=a.p}a(f,o)}}return s.q=n,s}function On(n,r){return n.$==r.$&&J(n.a,r.a)}function Wn(n,r){var t=[];return Gn(n,r,t,0),t}function Dn(n,r,t,u){var e={$:r,r:t,s:u,t:void 0,u:void 0};return n.push(e),e}function Gn(n,r,t,u){if(n!==r){var e=n.$,i=r.$;if(e!==i){if(1!==e||2!==i)return void Dn(t,0,u,r);r=function(n){for(var r=n.e,t=r.length,u=Array(t),e=0;e<t;e++)u[e]=r[e].b;return{$:1,c:n.c,d:n.d,e:u,f:n.f,b:n.b}}(r),i=1}switch(i){case 5:for(var f=n.l,o=r.l,a=f.length,c=a===o.length;c&&a--;)c=f[a]===o[a];if(c)return void(r.k=n.k);r.k=r.m();var v=[];return Gn(n.k,r.k,v,0),void(0<v.length&&Dn(t,1,u,v));case 4:for(var s=n.j,b=r.j,l=!1,d=n.k;4===d.$;)l=!0,"object"!=typeof s?s=[s,d.j]:s.push(d.j),d=d.k;for(var h=r.k;4===h.$;)l=!0,"object"!=typeof b?b=[b,h.j]:b.push(h.j),h=h.k;return l&&s.length!==b.length?void Dn(t,0,u,r):((l?function(n,r){for(var t=0;t<n.length;t++)if(n[t]!==r[t])return!1;return!0}(s,b):s===b)||Dn(t,2,u,b),void Gn(d,h,t,u+1));case 0:return void(n.a!==r.a&&Dn(t,3,u,r.a));case 1:return void Kn(n,r,t,u,Hn);case 2:return void Kn(n,r,t,u,Jn);case 3:if(n.h!==r.h)return void Dn(t,0,u,r);var g=Pn(n.d,r.d);g&&Dn(t,4,u,g);var $=r.i(n.g,r.g);return void($&&Dn(t,5,u,$))}}}function Kn(n,r,t,u,e){if(n.c===r.c&&n.f===r.f){var i=Pn(n.d,r.d);i&&Dn(t,4,u,i),e(n,r,t,u)}else Dn(t,0,u,r)}function Pn(n,r,t){var u;for(var e in n)if("a1"!==e&&"a0"!==e&&"a3"!==e&&"a4"!==e)if(e in r){var i=n[e],f=r[e];i===f&&"value"!==e&&"checked"!==e||"a0"===t&&On(i,f)||((u=u||{})[e]=f)}else(u=u||{})[e]=t?"a1"===t?"":"a0"===t||"a3"===t?void 0:{f:n[e].f,o:void 0}:"string"==typeof n[e]?"":null;else{var o=Pn(n[e],r[e]||{},e);o&&((u=u||{})[e]=o)}for(var a in r)a in n||((u=u||{})[a]=r[a]);return u}function Hn(n,r,t,u){var e=n.e,i=r.e,f=e.length,o=i.length;o<f?Dn(t,6,u,{v:o,i:f-o}):f<o&&Dn(t,7,u,{v:f,e:i});for(var a=f<o?f:o,c=0;c<a;c++){var v=e[c];Gn(v,i[c],t,++u),u+=v.b||0}}function Jn(n,r,t,u){for(var e=[],i={},f=[],o=n.e,a=r.e,c=o.length,v=a.length,s=0,b=0,l=u;s<c&&b<v;){var d=(z=o[s]).a,h=(_=a[b]).a,g=z.b,$=_.b,m=void 0,p=void 0;if(d!==h){var k=o[s+1],y=a[b+1];if(k){var w=k.a,A=k.b;p=h===w}if(y){var j=y.a,N=y.b;m=d===j}if(m&&p)Gn(g,N,e,++l),Yn(i,e,d,$,b,f),l+=g.b||0,Qn(i,e,d,A,++l),l+=A.b||0,s+=2,b+=2;else if(m)l++,Yn(i,e,h,$,b,f),Gn(g,N,e,l),l+=g.b||0,s+=1,b+=2;else if(p)Qn(i,e,d,g,++l),l+=g.b||0,Gn(A,$,e,++l),l+=A.b||0,s+=2,b+=1;else{if(!k||w!==j)break;Qn(i,e,d,g,++l),Yn(i,e,h,$,b,f),l+=g.b||0,Gn(A,N,e,++l),l+=A.b||0,s+=2,b+=2}}else Gn(g,$,e,++l),l+=g.b||0,s++,b++}for(;s<c;){var z;Qn(i,e,(z=o[s]).a,g=z.b,++l),l+=g.b||0,s++}for(;b<v;){var _,x=x||[];Yn(i,e,(_=a[b]).a,_.b,void 0,x),b++}(0<e.length||0<f.length||x)&&Dn(t,8,u,{w:e,x:f,y:x})}var Un="_elmW6BL";function Yn(n,r,t,u,e,i){var f=n[t];if(!f)return i.push({r:e,A:f={c:0,z:u,r:e,s:void 0}}),void(n[t]=f);if(1===f.c){i.push({r:e,A:f}),f.c=2;var o=[];return Gn(f.z,u,o,f.r),f.r=e,void(f.s.s={w:o,A:f})}Yn(n,r,t+Un,u,e,i)}function Qn(n,r,t,u,e){var i=n[t];if(i){if(0===i.c){i.c=2;var f=[];return Gn(u,i.z,f,e),void Dn(r,9,e,{w:f,A:i})}Qn(n,r,t+Un,u,e)}else{var o=Dn(r,9,e,void 0);n[t]={c:1,z:u,r:e,s:o}}}function Vn(n,r,t,u){!function n(r,t,u,e,i,f,o){var a=u[e];var c=a.r;for(;c===i;){var v=a.$;if(1===v)Vn(r,t.k,a.s,o);else if(8===v){a.t=r,a.u=o;var s=a.s.w;0<s.length&&n(r,t,s,0,i,f,o)}else if(9===v){a.t=r,a.u=o;var b=a.s;if(b){b.A.s=r;var s=b.w;0<s.length&&n(r,t,s,0,i,f,o)}}else a.t=r,a.u=o;if(!(a=u[++e])||(c=a.r)>f)return e}var l=t.$;if(4===l){for(var d=t.k;4===d.$;)d=d.k;return n(r,d,u,e,i+1,f,r.elm_event_node_ref)}var h=t.e;var g=r.childNodes;for(var $=0;$<h.length;$++){var m=1===l?h[$]:h[$].b,p=++i+(m.b||0);if(i<=c&&c<=p&&(e=n(g[$],m,u,e,i,p,o),!(a=u[e])||(c=a.r)>f))return e;i=p}return e}(n,r,t,0,0,r.b,u)}function Xn(n,r,t,u){return 0===t.length?n:(Vn(n,r,t,u),Zn(n,t))}function Zn(n,r){for(var t=0;t<r.length;t++){var u=r[t],e=u.t,i=nr(e,u);e===n&&(n=i)}return n}function nr(n,r){switch(r.$){case 0:return function(n,r,t){var u=n.parentNode,e=Mn(r,t);e.elm_event_node_ref||(e.elm_event_node_ref=n.elm_event_node_ref);u&&e!==n&&u.replaceChild(e,n);return e}(n,r.s,r.u);case 4:return Sn(n,r.u,r.s),n;case 3:return n.replaceData(0,n.length,r.s),n;case 1:return Zn(n,r.s);case 2:return n.elm_event_node_ref?n.elm_event_node_ref.j=r.s:n.elm_event_node_ref={j:r.s,p:r.u},n;case 6:for(var t=r.s,u=0;u<t.i;u++)n.removeChild(n.childNodes[t.v]);return n;case 7:for(var e=(t=r.s).e,i=n.childNodes[u=t.v];u<e.length;u++)n.insertBefore(Mn(e[u],r.u),i);return n;case 9:if(!(t=r.s))return n.parentNode.removeChild(n),n;var f=t.A;return void 0!==f.r&&n.parentNode.removeChild(n),f.s=Zn(n,t.w),n;case 8:return function(n,r){var t=r.s,u=function(n,r){if(!n)return;for(var t=wn.createDocumentFragment(),u=0;u<n.length;u++){var e=n[u].A;An(t,2===e.c?e.s:Mn(e.z,r.u))}return t}(t.y,r);n=Zn(n,t.w);for(var e=t.x,i=0;i<e.length;i++){var f=e[i],o=f.A,a=2===o.c?o.s:Mn(o.z,r.u);n.insertBefore(a,n.childNodes[f.r])}u&&An(n,u);return n}(n,r);case 5:return r.s(n);default:z(10)}}function rr(n){if(3===n.nodeType)return jn(n.textContent);if(1!==n.nodeType)return jn("");for(var r=h,t=n.attributes,u=t.length;u--;){var e=t[u];r=k(g(Cn,e.name,e.value),r)}var i=n.tagName.toLowerCase(),f=h,o=n.childNodes;for(u=o.length;u--;)f=k(rr(o[u]),f);return $(Nn,i,r,f)}var tr=u(function(r,n,t,o){return cn(n,o,r.aB,r.aK,r.aI,function(u,n){var e=r.aL,i=o.node,f=rr(i);return er(n,function(n){var r=e(n),t=Wn(f,r);i=Xn(i,f,t,u),f=r})})}),ur=("undefined"!=typeof cancelAnimationFrame&&cancelAnimationFrame,"undefined"!=typeof requestAnimationFrame?requestAnimationFrame:function(n){return setTimeout(n,1e3/60)});function er(t,u){u(t);var e=0;function i(){e=1===e?0:(ur(i),u(t),1)}return function(n,r){t=n,r?(u(t),2===e&&(e=1)):(0===e&&ur(i),e=2)}}var ir={addEventListener:function(){},removeEventListener:function(){}};"undefined"!=typeof document&&document,"undefined"!=typeof window&&window;function fr(n){return $(wr,c(function(n,r){return r+1}),0,n)}function or(n){return n}var ar=a,cr=t(function(n,r,t){for(;;){if(-2===t.$)return r;var u=t.d,e=n,i=$(n,t.b,t.c,$(cr,n,r,t.e));n=e,r=i,t=u}}),vr=function(n){return $(cr,t(function(n,r,t){return g(ar,l(n,r),t)}),h,n)},sr=function(n){return{$:1,a:n}},br=c(function(n,r){return{$:3,a:n,b:r}}),lr=c(function(n,r){return{$:0,a:n,b:r}}),dr=c(function(n,r){return{$:1,a:n,b:r}}),hr=function(n){return{$:0,a:n}},gr=function(n){return{$:2,a:n}},$r=_,mr=function(n){return{$:0,a:n}},pr={$:1},kr=R,yr=c(function(n,r){return y(g(B,n,r))}),wr=t(function(n,r,t){for(;;){if(!t.b)return r;var u=t.b,e=n,i=g(n,t.a,r);n=e,r=i,t=u}}),Ar=t(function(n,r,t){for(;;){if(1<=m(n,r))return t;var u=n,e=r-1,i=g(ar,r,t);n=u,r=e,t=i}}),jr=c(function(n,r){return $(Ar,n,r,h)}),Nr=function(n){var r=n.charCodeAt(0);return r<55296||56319<r?r:1024*(r-55296)+n.charCodeAt(1)-56320+65536},zr=function(n){return $(wr,ar,h,n)},_r=function(n){var r=n.charCodeAt(0);return isNaN(r)?pr:mr(r<55296||56319<r?l(o(n[0]),n.slice(1)):l(o(n[0]+n[1]),n.slice(2)))},xr=u(function(n,r,t,u){return{$:0,a:n,b:r,c:t,d:u}}),Cr=[],Er=C,Lr=c(function(n,r){return T(r)/T(n)}),Tr=Er(g(Lr,2,32)),Mr=s(xr,0,Tr,Cr,Cr),Sr=j,qr=E,Br=function(n){return n.length},Fr=c(function(n,r){return 0<m(n,r)?n:r}),Ir=N,Rr=c(function(n,r){for(;;){var t=g(Ir,32,n),u=t.b,e=g(ar,{$:0,a:t.a},r);if(!u.b)return zr(e);n=u,r=e}}),Or=c(function(n,r){for(;;){var t=Er(r/32);if(1===t)return g(Ir,32,n).a;n=g(Rr,n,h),r=t}}),Wr=c(function(n,r){if(r.a){var t=32*r.a,u=qr(g(Lr,32,t-1)),e=n?zr(r.d):r.d,i=g(Or,e,r.a);return s(xr,Br(r.c)+t,g(Fr,5,u*Tr),i,r.c)}return s(xr,Br(r.c),Tr,Cr,r.c)}),Dr=e(function(n,r,t,u,e){for(;;){if(r<0)return g(Wr,!1,{d:u,a:t/32|0,c:e});var i={$:1,a:$(Sr,32,r,n)};n=n,r=r-32,t=t,u=g(ar,i,u),e=e}}),Gr=c(function(n,r){if(0<n){var t=n%32;return v(Dr,r,n-t-32,n,h,$(Sr,t,n-t,r))}return Mr}),Kr=function(n){return!n.$},Pr=function(n){return{$:0,a:n}},Hr=function(n){switch(n.$){case 0:return 0;case 1:return 1;case 2:return 2;default:return 3}},Jr=function(n){return n.length},Ur=F,Yr=c(function(n,r){return n<1?r:$(Ur,n,Jr(r),r)}),Qr=function(n){for(var r=0,t=n.charCodeAt(0),u=43==t||45==t?1:0,e=u;e<n.length;++e){var i=n.charCodeAt(e);if(i<48||57<i)return pr;r=10*r+i-48}return e==u?pr:mr(45==t?-r:r)},Vr=I,Xr=V,Zr=Xr(0),nt=u(function(n,r,t,u){if(u.b){var e=u.a,i=u.b;if(i.b){var f=i.a,o=i.b;if(o.b){var a=o.a,c=o.b;if(c.b){var v=c.b;return g(n,e,g(n,f,g(n,a,g(n,c.a,500<t?$(wr,n,r,zr(v)):s(nt,n,r,t+1,v)))))}return g(n,e,g(n,f,g(n,a,r)))}return g(n,e,g(n,f,r))}return g(n,e,r)}return r}),rt=t(function(n,r,t){return s(nt,n,r,0,t)}),tt=c(function(t,n){return $(rt,c(function(n,r){return g(ar,t(n),r)}),h,n)}),ut=Z,et=c(function(r,n){return g(ut,function(n){return Xr(r(n))},n)}),it=t(function(t,n,u){return g(ut,function(r){return g(ut,function(n){return Xr(g(t,r,n))},u)},n)}),ft=ln,ot=c(function(n,r){var t=r;return tn(g(ut,ft(n),t))});vn.Task=sn(Zr,t(function(n,r){return g(et,function(){return 0},function(n){return $(rt,it(ar),Xr(h),n)}(g(tt,ot(n),r)))}),t(function(){return Xr(0)}),c(function(n,r){return g(et,n,r)}));dn("Task");function at(n){return $(rt,Bt,h,n)}function ct(n){if(n.b){return mr(n.a)}return pr}function vt(n){return $(wr,$r,0,n)}function st(n){return g(c(function(n,r){for(;;){if(!n.b)return r;var t=n.a,u=n.b;if(g(Jt,t,r))n=u,r=r;else n=u,r=p(r,y([t]))}}),n,h)}function bt(t){return g(tt,function(n){return l(n,function(r){return vt(g(tt,function(n){return n.b},g(Ft,function(n){return b(n.a,r)},t)))}(n))},st(g(tt,function(n){return n.a},t)))}function lt(n){var t=$(rt,c(function(n,r){return r+n.n}),0,n);return g(tt,function(n){var r=n.a;return v(Yt,r.z,r.M,r.k,r.h,function(n){return 100*n/t}(n.b))},bt(at(g(tt,function(r){return g(tt,function(n){return l(n,r.n)},r.f)},n))))}function dt(n){return{$:1,a:n}}function ht(n){return n<0?-n:n}function gt(n){var r=n.a,t=n.b;return 1<=r&&m(r,10)<1&&1<=t&&m(t,10)<1}function $t(n){return!n.b}function mt(n){return{z:n.z,M:n.M,k:n.k,h:n.h}}function pt(n){return!n}function kt(n){return n?0:1}function yt(n){return{$:0,a:n}}function wt(n){return{$:1,a:n}}function At(n){var t=c(function(n,r){return b(n.f,r.f)?d(r,{n:n.n+r.n}):r});return Nu($(rt,c(function(n,r){return g(Jt,n.f,g(tt,function(n){return n.f},r))?g(tt,t(n),r):p(r,y([n]))}),h,n))}function jt(n){return g(tt,function(n){return b(n.h,n.z?10:1)?d(n,{M:1}):n},n)}function Nt(n){return{$:2,a:n}}function zt(n){var r=n.b;return g(Tu,1664525*n.a+r>>>0,r)}function _t(n){var r=n.a,t=277803737*(r^r>>>4+(r>>>28));return(t>>>22^t)>>>0}function xt(n){return n.b?g(Bu,n.a,n.b):function(r){return function(n){return l(r,n)}}($(Lu,0,0,pr))}var Ct,Et,Lt,Tt,Mt=tr,St={$:0},qt=u(function(n,r,t,u){return{z:n,M:r,k:t,h:u}}),Bt=c(function(n,r){return r.b?$(rt,ar,r,n):n}),Ft=c(function(t,n){return $(rt,c(function(n,r){return t(n)?g(ar,n,r):r}),h,n)}),It=x,Rt={f:y([{f:(Ct=4,Et=c(function(r,t){return g(tt,function(n){return s(qt,r,0,n,t)},g(Ft,function(n){return!g(It,2,n+t)},g(jr,1,10)))}),at(y([$(Lt=t(function(n,r,t){return at(g(tt,Et(t),g(jr,n,r)))}),1,Ct,1),$(Lt,11-Ct,10,0)]))),n:1}]),y:pr,m:St,v:1},Ot=hn(h),Wt=l(Rt,Ot),Dt=hn(h),Gt=t(function(n,r,t){return ct(g(Ft,function(n){return b(n.h,t)},g(Ft,function(n){return b(n.k,r)},n)))}),Kt=t(function(n,r,t){return g(Ft,function(n){return b($(Gt,n.f,r,t),pr)},n)}),Pt=c(function(r,n){return g(Ft,function(n){return r(n.f)},n)}),Ht=c(function(n,r){for(;;){if(!r.b)return!1;var t=r.b;if(n(r.a))return!0;n=n,r=t}}),Jt=c(function(r,n){return g(Ht,function(n){return b(n,r)},n)}),Ut=c(function(n,r){return g(Pt,Jt(r),n)}),Yt=e(function(n,r,t,u,e){return{ac:e,z:n,M:r,k:t,h:u}}),Qt=c(function(n,r){var t=r.aG;return 1===t.$?l(d(n,{f:$(Kt,n.f,r.k,r.h),y:pr,m:St}),Ot):function(n){var r=n.a,t=n.b,u=r.m;return 1!==u.$?l(r,t):g(Jt,u.a,lt(r.f))?l(r,t):l(d(r,{y:pr,m:St}),t)}(l(d(n,{f:g(Ut,n.f,t.a)}),Ot))}),Vt=t(function(n,r,t){var u=n(r);return u.$?t:g(ar,u.a,t)}),Xt=c(function(n,r){return $(rt,Vt(n),h,r)}),Zt=e(function(r,t,u,n,e){var i=ht(n-t),f=(n-t)/i|0,o=(e-u)/i|0;return g(Xt,function(n){return $(Gt,r,n.a,n.b)},g(tt,function(n){return l(t+n*f,u+n*o)},g(jr,1,i)))}),nu=c(function(e,i){var r=c(function(n,r){return l(e.k+n,e.h+r)});return g(Ft,function(n){var r=n.a,t=n.b,u=v(Zt,i,e.k,e.h,r,t);return!!b(ht(e.k-r),ht(e.h-t))&&(1===fr(u)&&(!!b($(Gt,i,r,t),pr)&&(!!u.b&&!b(u.a.z,e.z))))},g(Ft,gt,at(g(tt,function(n){return y([g(r,-1*n,-1*n),g(r,-1*n,1*n),g(r,1*n,-1*n),g(r,1*n,1*n)])},g(jr,2,e.M?10:2)))))}),ru=c(function(t,r){function n(n){return t.M?y([g(e,-1*n,-1*n),g(e,-1*n,1*n),g(e,1*n,-1*n),g(e,1*n,1*n)]):1===n?y([g(e,1,u),g(e,-1,u)]):h}var u=t.z?1:-1,e=c(function(n,r){return l(t.k+n,t.h+r)});return b($(Gt,r,t.k,t.h),mr(t))?g(Ft,function(n){return $t(v(Zt,r,t.k,t.h,n.a,n.b))},g(Ft,gt,at(g(tt,n,g(jr,1,10))))):h}),tu=c(function(n,r){return 0<fr(g(nu,r,n))}),uu=c(function(n,r){return g(Ht,tu(n),g(Ft,function(n){return b(n.z,r)},n))}),eu=c(function(r,n){return g(tt,function(n){return r(n.f)},n)}),iu=c(function(n,r){return g(Ht,function(n){return n},g(eu,function(n){return g(uu,n,r)},n))}),fu=c(function(n,r){var t=mt(r);return g(Ut,n,t)}),ou=t(function(n,r,t){var u=mt(t);return st(at(g(eu,g(iu,n,r)?nu(u):ru(u),g(fu,n,t))))}),au=t(function(n,r,t){return!$t($(ou,n,r,t))}),cu={$:1},vu=c(function(n,r){return g(Ht,g(au,n,r),g(Ft,function(n){return b(n.z,r)},lt(n)))}),su=c(function(n,r){return!$t(g(Ft,function(n){return b(n.z,r)},lt(n)))}),bu=c(function(n,r){return g(vu,n,r)?pr:mr(g(su,n,r)?cu:function(n){return{$:0,a:n}}(kt(r)))}),lu=t(function(n,r,t){var u=g(Ft,function(n){return b(n.h,t)},g(Ft,function(n){return b(n.k,r)},lt(n)));return ct(u)}),du={$:2},hu=c(function(n,r){return{$:1,a:n,b:r}}),gu=c(function(n,r){return 2<=fr(g(ru,n,r))}),$u=c(function(r,n){return g(tt,function(n){return d(n,{f:r(n.f)})},n)}),mu={$:2},pu=c(function(n,r){return{$:0,a:n,b:r}}),ku=u(function(n,r,t,u){return g(Jt,l(t,u),g(nu,r,n))}),yu=u(function(n,r,t,u){return g(Jt,l(t,u),g(ru,r,n))}),wu=e(function(n,r,t,u,e){function i(n){return b(n,t)?d(n,{k:u,h:e}):n}if(gt(l(u,e))){if(b(r,t.z)){if(g(uu,n,r)){if(b($(Gt,n,t.k,t.h),mr(t))){if(s(ku,n,t,u,e)){var f=v(Zt,n,t.k,t.h,u,e),o=d(t,{k:u,h:e}),a=g(Ft,function(n){return!g(Jt,n,f)},g(tt,i,n));return g(tu,a,o)?g(pu,a,o):wt(a)}return mu}return mu}return s(yu,n,t,u,e)?wt(g(tt,i,n)):mu}return mu}return mu}),Au=t(function(n,r,t){return n(r(t))}),ju=c(function(n,r){return!g(Ht,g(Au,pt,n),r)}),Nu=function(n){var r=c(function(n,r){return d(r,{n:r.n/n|0})}),t=y([2,3,5,7,11,13,17,19,23,29]),u=c(function(n,r){return!g(It,n,r.n)}),e=g(Xt,c(function(n,r){return g(ju,u(r),n)?mr(r):pr})(n),t);return e.b?Nu(g(tt,r(e.a),n)):n},zu=c(function(n,r){return r.$?n:r.a}),_u=c(function(n,r){return g(zu,v(Yt,0,0,0,0,0),ct(g(Ft,function(n){return b(r.M,n.M)},g(Ft,function(n){return b(r.z,n.z)},g(Ft,function(n){return b(r.h,n.h)},g(Ft,function(n){return b(r.k,n.k)},lt(n)))))))}),xu=t(function(n,r,t){return!g(iu,n,r)&&(!!g(Ht,gu(mt(t)),g(tt,function(n){return n.f},n))&&!function(n){return 0<m(fr(n),256)}($(Cu,n,r,t)))}),Cu=t(function(r,t,u){return at(g(tt,function(n){switch(n.$){case 2:return r;case 1:default:return n.a}},g(tt,function(n){return v(Eu,r,t,u,n.a,n.b)},$(ou,r,t,u))))}),Eu=e(function(n,t,r,u,e){if(b(r.k,u)&&b(r.h,e)&&$(xu,n,t,r))return yt(At($(Cu,n,t,r)));function i(n){var r=v(wu,n,t,a,u,e);switch(r.$){case 0:case 1:return r.a;default:return n}}function f(n){var r=v(wu,n,t,a,u,e);return r.$?pr:mr(r.b)}function o(n){return 1===v(wu,n,t,a,u,e).$}var a=mt(r);return g(c(function(n,r){var t=g(tt,function(n){return n.f},n),u=g(Xt,f,t);return u.b?g(hu,r,g(_u,r,u.a)):g(Ht,o,t)?yt(r):du}),n,At(g($u,jt,g($u,i,n))))}),Lu=t(function(n,r,t){return{aG:t,k:n,h:r}}),Tu=c(function(n,r){return{$:0,a:n,b:r}}),Mu=c(function(e,i){return function(n){var r=zt(n),t=ht(i-e),u=_t(r);return l((134217728*(1*(67108863&_t(n)))+1*(134217727&u))/9007199254740992*t+e,zt(r))}}),Su=t(function(n,r,t){for(;;){var u=n.a,e=n.b;if(!r.b)return e;var i=r.a,f=r.b;if(m(t,ht(u))<1)return e;n=i,r=f,t=t-ht(u)}}),qu=c(function(u,n){var e=n;return function(n){var r=e(n),t=r.b;return l(u(r.a),t)}}),Bu=c(function(n,r){function t(n){return ht(n.a)}var u=t(n)+vt(g(tt,t,r));return g(qu,g(Su,n,r),g(Mu,0,u))}),Fu=(Tt=or,X(function(n){n(V(Tt(Date.now())))})),Iu=g(ut,function(n){return Xr(function(n){var r=zt(g(Tu,0,1013904223));return zt(g(Tu,r.a+n>>>0,r.b))}(function(n){return n}(n)))},Fu),Ru=c(function(n,r){return n(r)}),Ou=t(function(n,r,t){if(r.b){var u=r.b,e=g(Ru,r.a,t),i=e.b;return g(ut,function(){return $(Ou,n,u,i)},g(ft,n,e.a))}return Xr(t)});vn.Random=sn(Iu,Ou,t(function(n,r,t){return Xr(t)}),c(function(n,r){return g(qu,n,r)}));function Wu(n){var r=function(n){n:for(;;){if(n.b){var r=n.a,t=n.b;if(t.b){if(b(r,t.a))return mr(r);n=t;continue n}return pr}return pr}}(function(n){return g(Xu,or,n)}(g(tt,function(n){return l(n.k,n.h)},lt(n))));if(1===r.$)return h;var t=r.a,u=t.a,e=t.b;return g(tt,function(n){return l(n.n,$(Lu,u,e,$(Gt,n.f,u,e)))},n)}function Du(n){var r=Wu(n);return fr(r)?g(Vu,Nt,xt(r)):Ot}function Gu(n){return g(se,n,"")}function Ku(n){var r=g(yr,".",n);return r.b?l(r.a,r.b.b?r.b.a:"0"):l("0","0")}function Pu(n){return g(_e,"click",Pr(n))}function Hu(n){var r=g(re,y([g(Ae,"background-color","gray"),g(Ae,"border","5px solid rgb(181, 154, 4)"),g(Ae,"padding","20px"),g(Ae,"color","rgb(255, 239, 153)"),g(Ae,"min-width","40%"),g(Ae,"max-width","80%"),g(Ae,"text-align","center")]),n);return function(n){return y([n])}(g(re,y([g(Ae,"position","absolute"),g(Ae,"top","0"),g(Ae,"bottom","0"),g(Ae,"left","0"),g(Ae,"right","0"),g(Ae,"display","flex"),g(Ae,"justify-content","center"),g(Ae,"align-items","center")]),y([r])))}function Ju(n){return v(xe,n.k,n.h,"darkgray",1,y([function(n){var r=ae(g(Fr,n.ac,10))+"%",t=n.z?"black":"white",u=1===n.M?y([g(Ae,"box-shadow","3px 3px "+t)]):h;return g(re,p(y([g(Ae,"background-color",n.z?"White":"Black"),g(Ae,"width","80%"),g(Ae,"height","80%"),g(Ae,"border-radius","100%"),g(Ae,"margin","10%"),g(Ae,"opacity",r),g(Ae,"color",t),g(Ae,"display","flex"),g(Ae,"justify-content","center"),g(Ae,"align-items","center"),g(Ae,"font-size","200%"),g(Ae,"user-select","none")]),u),y([g(Me,h,y([g(ie,h,y([je(kr(Te(n.ac)))]))]))]))}(n)]))}var Uu,Yu,Qu=dn("Random"),Vu=c(function(n,r){return Qu(g(qu,n,r))}),Xu=A,Zu=t(function(n,r,t){n:for(;;){var u=function(n){var r,t=g(bu,n.f,n.v);return 1===t.$?n:d(n,{m:(r=t.a,{$:2,a:r})})},e=n.m;switch(e.$){case 0:var i=$(lu,n.f,r,t);return 1===i.$?l(n,Ot):b((f=i.a).z,n.v)?l($(au,n.f,n.v,f)?d(n,{m:dt(f)}):n,Ot):l(n,Ot);case 1:var f,o=v(Eu,n.f,n.v,f=e.a,r,t);switch(o.$){case 2:if(b(n.y,pr)){n=d(n,{m:St}),r=r,t=t;continue n}return l(n,Ot);case 0:return l(u(d(n,{f:a=o.a,y:pr,m:St,v:kt(n.v)})),Du(a));default:var a,c=o.b;return l(u(d(n,{f:a=o.a,y:mr(c),m:dt(c)})),Du(a))}default:return l(n,Ot)}}}),ne=c(function(n,r){switch(n.$){case 0:return $(Zu,r,n.a,n.b);case 1:return Wt;case 2:return g(Qt,r,n.a);default:return l(r,Ot)}}),re=Nn("div"),te=Y,ue=c(function(n,r){return g(xn,n,te(r))}),ee=ue("id"),ie=Nn("b"),fe=Nn("br"),oe=ue("className"),ae=R,ce=q,ve=c(function(n,r){var t=g(Ht,function(n){return"0"!==n&&"."!==n},function(n){return $(ce,ar,h,n)}(r));return p(n&&t?"-":"",r)}),se=S,be=function(n){return o(n<0||1114111<n?"�":65535<n?String.fromCharCode(55296+Math.floor((n-=65536)/1024),n%1024+56320):String.fromCharCode(n))},le=function(n){var r=n.a,t=n.b;if("9"===r){var u=_r(t);return 1===u.$?"01":g(se,"0",le(u.a))}var e=Nr(r);return 48<=e&&e<57?g(se,be(e+1),t):"0"},de=function(n){return n===1/0||n===-1/0},he=M,ge=c(function(n,r){return r.$?pr:mr(n(r.a))}),$e=t(function(n,r,t){return 0<n?$($e,n>>1,p(r,r),1&n?p(t,r):t):t}),me=c(function(n,r){return $($e,n,r,"")}),pe=t(function(n,r,t){return p(t,g(me,n-Jr(t),Gu(r)))}),ke=function(n){for(var r=n.length,t=Array(r),u=0;u<r;){var e=n.charCodeAt(u);e<55296||56319<e?t[r-u]=n[u]:(t[r-u]=n[u+1],t[r-++u]=n[u-1]),u++}return t.join("")},ye=c(function(n,r){var t=r.b;return l(n(r.a),t)}),we=t(function(n,r,t){if(de(t)||he(t))return ae(t);var u=t<0,e=Ku(function(n){var r=g(yr,"e",ae(ht(n)));if(r.b){if(r.b.b){var t=r.a,u=r.b.a,e=g(zu,0,Qr(g(Vr,"+",u)?g(Yr,1,u):u)),i=Ku(t),f=p(i.a,i.b);return p(n<0?"-":"",e<0?g(zu,"0",g(ge,function(n){return n.a+"."+n.b},g(ge,ye(Gu),_r(p(g(me,ht(e),"0"),f))))):$(pe,e+1,"0",f))}return p(n<0?"-":"",t=r.a)}return""}(ht(t))),i=e.a,f=e.b,o=Jr(i)+r,a=p(g(me,1-o,"0"),$(pe,o,"0",p(i,f))),c=Jr(a),v=g(Fr,1,o),s=g(n,u,$(Ur,v,c,a)),b=$(Ur,0,v,a),l=s?ke(g(zu,"1",g(ge,le,_r(ke(b))))):b,d=Jr(l),h="0"===l?l:0<r?m(r,Jr(f))<0?$(Ur,0,d-r,l)+"."+$(Ur,d-r,d,l):p(i+".",$(pe,r,"0",f)):p(l,g(me,ht(r),"0"));return g(ve,u,h)})(c(function(n,r){var t=_r(r);if(1===t.$)return!1;if("5"!==t.a.a)return 53<(u=Nr(t.a.a))&&n||53<=u&&!n;if(""===t.a.b){return!n}var u;return!0})),Ae=_n,je=jn,Ne=c(function(n,r){return{$:0,a:n,b:r}}),ze=zn,_e=c(function(n,r){return g(ze,n,function(n){return{$:0,a:n}}(r))}),xe=e(function(n,r,t,u,e){return g(re,y([g(Ae,"grid-row",kr(11-r)),g(Ae,"grid-column",kr(n)),g(Ae,"background-color",t),g(Ae,"order",kr(u)),Pu(g(Ne,n,r))]),e)}),Ce=(Uu=c(function(n,r){return l(n,r)}),g(tt,function(n){var r=n.a,t=n.b,u=function(n){return 1===g(It,2,n.a+n.b)}(l(r,t))?"black":"darkgray";return v(xe,r,t,u,0,h)},at(g(tt,function(n){return g(tt,Uu(n),g(jr,1,10))},g(jr,1,10))))),Ee=Nn("h1"),Le=c(function(n,r){var t=r.a,u=r.b;return g(re,y([g(Ae,"grid-row",kr(11-u)),g(Ae,"grid-column",kr(t)),g(Ae,"background-color",n),g(Ae,"order","2"),Pu(g(Ne,t,u)),g(Ae,"opacity","50%")]),h)}),Te=L,Me=Nn("span"),Se=Mt({aB:function(){return Wt},aI:function(){return Dt},aK:ne,aL:function(n){return g(re,y([ee("checkers"),g(Ae,"display","flex"),g(Ae,"flex-flow","column nowrap"),g(Ae,"align-items","center")]),y([g(re,h,y([function(t){var n,r=function(){var n=t.m;if(1!==n.$)return h;var r=n.a;return $(xu,t.f,t.v,r)?y([g(Le,"blue",l(r.k,r.h))]):h}(),u=function(){var n=t.m;if(2!==n.$)return h;var r=n.a;return Hu(y(1===r.$?[g(Ee,h,y([je("TIE")]))]:r.a?[g(Ee,h,y([je("WHITE WINS")]))]:[g(Ee,h,y([je("BLACK WINS")]))]))}(),e="repeat("+kr(10)+", 1fr)",i=b(t.m,St)&&g(iu,t.f,t.v)?g(tt,function(n){return g(Le,"orange",l(n.k,n.h))},g(Ft,function(n){return b(n.z,t.v)},g(Ft,g(au,t.f,t.v),lt(t.f)))):h,f=function(){var n=t.m;switch(n.$){case 0:return t.f;case 1:return g(fu,t.f,n.a);default:return t.f}}(),o=function(){var n=t.m;if(1!==n.$)return h;var r=n.a;return g(tt,Le("green"),$(ou,f,t.v,r))}(),a=g(tt,Ju,lt(f));return n=p(Ce,p(a,p(o,p(r,p(i,u))))),g(re,y([g(Ae,"display","grid"),g(Ae,"grid-template",e+" / "+e),g(Ae,"aspect-ratio","1 / 1"),g(Ae,"min-width",kr(450)+"px"),g(Ae,"max-width","75vh"),g(Ae,"position","relative")]),n)}(n),function(n){var r=g(Lr,2,fr(n.f)),t=g(Lr,2,256),u=r/t*100;return g(re,y([oe("progress")]),y([g(re,y([oe("progress-bar"),g(Ae,"width",ae(u)+"%")]),y([g(re,y([oe("qubit-label")]),y([g(re,y([oe("qubit-tooltip"),g(Ae,"position","absolute")]),y([je("How many qubits are needed for this game: (maximum "+g(we,1,t)+")")])),g(fe,h,h),g(ie,y([g(Ae,"margin","auto")]),y([je(g(we,1,r))]))]))])),g(re,y([oe("antiprogress-bar"),g(Ae,"width",ae(100-u)+"%")]),h)]))}(n),function(n){var r=n.v?"WHITE'S TURN":"BLACK'S TURN",t=n.v?"white":"black",u=n.v?"black":"white";return g(re,y([oe("style-block"),g(Ae,"height","50px"),g(Ae,"width","100%"),g(Ae,"background-color",t),g(Ae,"display","flex"),g(Ae,"color",u)]),y([g(Ee,y([g(Ae,"margin","auto")]),y([je(r)]))]))}(n)]))]))}});Yu={Main:{init:Se(Pr(0))(0)}},n.Elm?function n(r,t){for(var u in t)u in r?"init"==u?z(6):n(r[u],t[u]):r[u]=t[u]}(n.Elm,Yu):n.Elm=Yu}(this);