parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;c<t.length;c++)try{f(t[c])}catch(e){i||(i=e)}if(t.length){var l=f(t[t.length-1]);"object"==typeof exports&&"undefined"!=typeof module?module.exports=l:"function"==typeof define&&define.amd?define(function(){return l}):n&&(this[n]=l)}if(parcelRequire=f,i)throw i;return f}({"Focm":[function(require,module,exports) {
var n={};!function(n){"use strict";n["Control.Semigroupoid"]=n["Control.Semigroupoid"]||{};var t=n["Control.Semigroupoid"],r=function(n){this.compose=n},e=new r(function(n){return function(t){return function(r){return n(t(r))}}});t.compose=function(n){return n.compose},t.Semigroupoid=r,t.semigroupoidFn=e}(n),function(n){"use strict";n["Control.Category"]=n["Control.Category"]||{};var t=n["Control.Category"],r=n["Control.Semigroupoid"],e=function(n,t){this.Semigroupoid0=n,this.identity=t},i=new e(function(){return r.semigroupoidFn},function(n){return n});t.Category=e,t.identity=function(n){return n.identity},t.categoryFn=i}(n),function(n){"use strict";n["Data.Function"]=n["Data.Function"]||{};var t=n["Data.Function"];t.flip=function(n){return function(t){return function(r){return n(r)(t)}}},t.const=function(n){return function(t){return n}}}(n),function(t){"use strict";(n["Data.Unit"]=n["Data.Unit"]||{}).unit={}}(),function(n){"use strict";n["Data.Unit"]=n["Data.Unit"]||{};var t=n["Data.Unit"],r=n["Data.Unit"];t.unit=r.unit}(n),function(n){"use strict";n["Data.Functor"]=n["Data.Functor"]||{};var t=n["Data.Functor"],r=n["Data.Function"],e=n["Data.Unit"],i=function(n){return n.map};t.Functor=function(n){this.map=n},t.map=i,t.void=function(n){return i(n)(r.const(e.unit))}}(n),function(n){"use strict";n["Control.Apply"]=n["Control.Apply"]||{};var t=n["Control.Apply"],r=n["Control.Category"],e=n["Data.Function"],i=n["Data.Functor"],u=function(n){return n.apply};t.Apply=function(n,t){this.Functor0=n,this.apply=t},t.apply=u,t.applySecond=function(n){return function(t){return function(o){return u(n)(i.map(n.Functor0())(e.const(r.identity(r.categoryFn)))(t))(o)}}}}(n),function(n){"use strict";n["Control.Applicative"]=n["Control.Applicative"]||{};var t=n["Control.Applicative"],r=n["Control.Apply"],e=function(n){return n.pure};t.Applicative=function(n,t){this.Apply0=n,this.pure=t},t.pure=e,t.liftA1=function(n){return function(t){return function(i){return r.apply(n.Apply0())(e(n)(t))(i)}}}}(n),function(n){"use strict";n["Control.Bind"]=n["Control.Bind"]||{};var t=n["Control.Bind"],r=n["Data.Function"],e=function(n){return n.bind},i=function(n){return r.flip(e(n))};t.Bind=function(n,t){this.Apply0=n,this.bind=t},t.bind=e,t.bindFlipped=i,t.composeKleisliFlipped=function(n){return function(t){return function(r){return function(e){return i(n)(t)(r(e))}}}}}(n),function(n){"use strict";n["Control.Monad"]=n["Control.Monad"]||{};var t=n["Control.Monad"],r=n["Control.Applicative"],e=n["Control.Bind"];t.Monad=function(n,t){this.Applicative0=n,this.Bind1=t},t.ap=function(n){return function(t){return function(i){return e.bind(n.Bind1())(t)(function(t){return e.bind(n.Bind1())(i)(function(e){return r.pure(n.Applicative0())(t(e))})})}}}}(n),function(n){"use strict";n["Control.Parallel.Class"]=n["Control.Parallel.Class"]||{};var t=n["Control.Parallel.Class"];t.parallel=function(n){return n.parallel},t.sequential=function(n){return n.sequential},t.Parallel=function(n,t,r,e){this.Applicative1=n,this.Monad0=t,this.parallel=r,this.sequential=e}}(n),function(n){"use strict";n.foldrArray=function(n){return function(t){return function(r){for(var e=t,i=r.length-1;i>=0;i--)e=n(r[i])(e);return e}}},n.foldlArray=function(n){return function(t){return function(r){for(var e=t,i=r.length,u=0;u<i;u++)e=n(e)(r[u]);return e}}}}(n["Data.Foldable"]=n["Data.Foldable"]||{}),function(n){"use strict";n["Data.Monoid"]=n["Data.Monoid"]||{};var t=n["Data.Monoid"];t.Monoid=function(n,t){this.Semigroup0=n,this.mempty=t},t.mempty=function(n){return n.mempty}}(n),function(n){"use strict";n["Data.Semigroup"]=n["Data.Semigroup"]||{};var t=n["Data.Semigroup"];t.Semigroup=function(n){this.append=n},t.append=function(n){return n.append}}(n),function(n){"use strict";n["Data.Foldable"]=n["Data.Foldable"]||{};var t=n["Data.Foldable"],r=n["Data.Foldable"],e=n["Control.Applicative"],i=n["Control.Apply"],u=n["Data.Monoid"],o=n["Data.Semigroup"],f=n["Data.Unit"],a=function(n,t,r){this.foldMap=n,this.foldl=t,this.foldr=r},c=function(n){return n.foldr},l=function(n){return function(t){return function(r){return c(n)(function(n){return function(e){return o.append(t.Semigroup0())(r(n))(e)}})(u.mempty(t))}}},s=new a(function(n){return l(s)(n)},r.foldlArray,r.foldrArray);t.Foldable=a,t.foldr=c,t.foldl=function(n){return n.foldl},t.foldMap=function(n){return n.foldMap},t.foldMapDefaultR=l,t.traverse_=function(n){return function(t){return function(r){return c(t)(function(t){return i.applySecond(n.Apply0())(r(t))})(e.pure(n)(f.unit))}}},t.foldableArray=s}(n),function(n){"use strict";n["Control.Parallel"]=n["Control.Parallel"]||{};var t=n["Control.Parallel"],r=n["Control.Category"],e=n["Control.Parallel.Class"],i=n["Data.Foldable"],u=function(n){return function(t){return function(r){return function(u){return e.sequential(n)(i.traverse_(n.Applicative1())(t)(function(t){return e.parallel(n)(r(t))})(u))}}}};t.parTraverse_=u,t.parSequence_=function(n){return function(t){return u(n)(t)(r.identity(r.categoryFn))}}}(n),function(n){"use strict";n["Data.Maybe"]=n["Data.Maybe"]||{};var t=n["Data.Maybe"],r=function(){function n(){}return n.value=new n,n}(),e=function(){function n(n){this.value0=n}return n.create=function(t){return new n(t)},n}();t.Nothing=r,t.Just=e,t.maybe=function(n){return function(t){return function(i){if(i instanceof r)return n;if(i instanceof e)return t(i.value0);throw new Error("Failed pattern match at Data.Maybe (line 217, column 1 - line 217, column 51): "+[n.constructor.name,t.constructor.name,i.constructor.name])}}}}(n),function(n){"use strict";n["Data.Either"]=n["Data.Either"]||{};var t=n["Data.Either"],r=n["Control.Applicative"],e=n["Control.Apply"],i=n["Control.Bind"],u=n["Data.Functor"],o=n["Data.Maybe"],f=function(){function n(n){this.value0=n}return n.create=function(t){return new n(t)},n}(),a=function(){function n(n){this.value0=n}return n.create=function(t){return new n(t)},n}(),c=new u.Functor(function(n){return function(t){if(t instanceof f)return new f(t.value0);if(t instanceof a)return new a(n(t.value0));throw new Error("Failed pattern match at Data.Either (line 38, column 8 - line 38, column 52): "+[t.constructor.name])}}),l=function(n){return function(t){return function(r){if(r instanceof f)return n(r.value0);if(r instanceof a)return t(r.value0);throw new Error("Failed pattern match at Data.Either (line 238, column 1 - line 238, column 64): "+[n.constructor.name,t.constructor.name,r.constructor.name])}}},s=new e.Apply(function(){return c},function(n){return function(t){if(n instanceof f)return new f(n.value0);if(n instanceof a)return u.map(c)(n.value0)(t);throw new Error("Failed pattern match at Data.Either (line 82, column 1 - line 82, column 41): "+[n.constructor.name,t.constructor.name])}}),p=new i.Bind(function(){return s},l(function(n){return function(t){return new f(n)}})(function(n){return function(t){return t(n)}})),d=new r.Applicative(function(){return s},a.create);t.Left=f,t.Right=a,t.either=l,t.note=function(n){return o.maybe(new f(n))(a.create)},t.functorEither=c,t.applyEither=s,t.applicativeEither=d,t.bindEither=p}(n),function(t){"use strict";(n["Data.Int"]=n["Data.Int"]||{}).fromStringAsImpl=function(n){return function(t){return function(r){var e;e=r<11?"[0-"+(r-1).toString()+"]":11===r?"[0-9a]":"[0-9a-"+String.fromCharCode(86+r)+"]";var i=new RegExp("^[\\+\\-]?"+e+"+$","i");return function(e){if(i.test(e)){var u=parseInt(e,r);return(0|u)===u?n(u):t}return t}}}}}(),function(n){"use strict";n["Data.Int"]=n["Data.Int"]||{};var t=n["Data.Int"],r=n["Data.Int"],e=n["Data.Maybe"],i=r.fromStringAsImpl(e.Just.create)(e.Nothing.value),u=i(10);t.fromString=u,t.fromStringAs=i}(n),function(t){"use strict";(n["Data.Show"]=n["Data.Show"]||{}).showIntImpl=function(n){return n.toString()}}(),function(n){"use strict";n["Data.Show"]=n["Data.Show"]||{};var t=n["Data.Show"],r=function(n){this.show=n},e=new r(n["Data.Show"].showIntImpl);t.Show=r,t.show=function(n){return n.show},t.showInt=e}(n),function(t){"use strict";(n["Data.String.Common"]=n["Data.String.Common"]||{}).trim=function(n){return n.trim()}}(),function(n){"use strict";n["Data.String.Common"]=n["Data.String.Common"]||{};var t=n["Data.String.Common"],r=n["Data.String.Common"];t.trim=r.trim}(n),function(n){"use strict";n.pureE=function(n){return function(){return n}},n.bindE=function(n){return function(t){return function(){return t(n())()}}}}(n.Effect=n.Effect||{}),function(n){"use strict";n.Effect=n.Effect||{};var t=n.Effect,r=n.Effect,e=n["Control.Applicative"],i=n["Control.Apply"],u=n["Control.Bind"],o=n["Control.Monad"],f=n["Data.Functor"],a=new o.Monad(function(){return s},function(){return c}),c=new u.Bind(function(){return l},r.bindE),l=new i.Apply(function(){return p},o.ap(a)),s=new e.Applicative(function(){return l},r.pureE),p=new f.Functor(e.liftA1(s));t.functorEffect=p,t.applyEffect=l,t.applicativeEffect=s,t.bindEffect=c,t.monadEffect=a}(n),function(n){"use strict";var t=function(){var n={},t="Pure",r="Throw",e="Catch",i="Sync",u="Async",o="Bind",f="Bracket",a="Fork",c="Sequential",l="Map",s="Apply",p="Alt",d="Cons",h="Resume",m="Release",w="Finalizer",v="Finalized",E="Forked";function g(n,t,r,e){this.tag=n,this._1=t,this._2=r,this._3=e}function _(n){var t=function(t,r,e){return new g(n,t,r,e)};return t.tag=n,t}function C(n){return new g(t,void 0)}function A(n){try{n()}catch(t){setTimeout(function(){throw t},0)}}function y(n,t,r){try{return t(r())}catch(e){return n(e)}}function D(n,t,r){try{return t(r)()}catch(e){return r(n(e))(),C}}var S=function(){var n=1024,t=0,r=0,e=new Array(n),i=!1;function u(){var u;for(i=!0;0!==t;)t--,u=e[r],e[r]=void 0,r=(r+1)%n,u();i=!1}return{isDraining:function(){return i},enqueue:function(o){var f;t===n&&(f=i,u(),i=f),e[(r+t)%n]=o,t++,i||u()}}}();var b=0,F=1,P=2,k=3,M=4,N=5,U=6;function B(n,l,s){var p=0,E=b,_=s,C=null,L=null,R=null,T=null,x=null,q=0,O=0,W=null,K=!0;function z(s){for(var O,H,J;;)switch(O=null,H=null,J=null,E){case P:E=F,_=R(_),null===T?R=null:(R=T._1,T=T._2);break;case k:n.isLeft(_)?(E=N,C=_,_=null):null===R?E=N:(E=P,_=n.fromRight(_));break;case F:switch(_.tag){case o:R&&(T=new g(d,R,T)),R=_._2,E=F,_=_._1;break;case t:null===R?(E=N,_=n.right(_._1)):(E=P,_=_._1);break;case i:E=k,_=y(n.left,n.right,_._1);break;case u:return E=M,void(_=D(n.left,_._1,function(n){return function(){p===s&&(p++,S.enqueue(function(){p===s+1&&(E=k,_=n,z(p))}))}}));case r:E=N,C=n.left(_._1),_=null;break;case e:x=new g(d,_,null===R?x:new g(d,new g(h,R,T),x,L),L),R=null,T=null,E=F,_=_._1;break;case f:q++,x=new g(d,_,null===R?x:new g(d,new g(h,R,T),x,L),L),R=null,T=null,E=F,_=_._1;break;case a:E=k,O=B(n,l,_._2),l&&l.register(O),_._1&&O.run(),_=n.right(O);break;case c:E=F,_=I(n,l,_._1)}break;case N:if(R=null,T=null,null===x)E=U,_=L||C||_;else switch(O=x._3,J=x._1,x=x._2,J.tag){case e:L&&L!==O?E=N:C&&(E=F,_=J._2(n.fromLeft(C)),C=null);break;case h:L&&L!==O||C?E=N:(R=J._1,T=J._2,E=P,_=n.fromRight(_));break;case f:q--,null===C&&(H=n.fromRight(_),x=new g(d,new g(m,J._2,H),x,O),(L===O||q>0)&&(E=F,_=J._3(H)));break;case m:q++,x=new g(d,new g(v,_,C),x,L),E=F,_=L&&L!==O?J._1.killed(n.fromLeft(L))(J._2):C?J._1.failed(n.fromLeft(C))(J._2):J._1.completed(n.fromRight(_))(J._2),C=null;break;case w:q++,x=new g(d,new g(v,_,C),x,L),E=F,_=J._1;break;case v:q--,E=N,_=J._1,C=J._2}break;case U:for(var j in W)W.hasOwnProperty(j)&&(K=K&&W[j].rethrow,A(W[j].handler(_)));return W=null,void(L&&C?setTimeout(function(){throw n.fromLeft(C)},0):n.isLeft(_)&&K&&setTimeout(function(){if(K)throw n.fromLeft(_)},0));case b:E=F;break;case M:return}}function H(n){return function(){if(E===U)return K=K&&n.rethrow,n.handler(_)(),function(){};var t=O++;return(W=W||{})[t]=n,function(){null!==W&&delete W[t]}}}return{kill:function(t,r){return function(){if(E===U)return r(n.right(void 0))(),function(){};var e=H({rethrow:!1,handler:function(){return r(n.right(void 0))}})();switch(E){case b:L=n.left(t),E=U,_=L,z(p);break;case M:null===L&&(L=n.left(t)),0===q&&(E===M&&(x=new g(d,new g(w,_(t)),x,L)),E=N,_=null,C=null,z(++p));break;default:null===L&&(L=n.left(t)),0===q&&(E=N,_=null,C=null)}return e}},join:function(n){return function(){var t=H({rethrow:!1,handler:n})();return E===b&&z(p),t}},onComplete:H,isSuspended:function(){return E===b},run:function(){E===b&&(S.isDraining()?z(p):S.enqueue(function(){z(p)}))}}}function L(t,r,e,i){var o=0,f={},a=0,c={},h=new Error("[ParAff] Early exit"),m=null,w=n;function v(r,e,i){var u,o,a=e,c=null,h=null,m=0,w={};n:for(;;)switch(u=null,a.tag){case E:if(a._3===n&&(u=f[a._1],w[m++]=u.kill(r,function(n){return function(){0===--m&&i(n)()}})),null===c)break n;a=c._2,null===h?c=null:(c=h._1,h=h._2);break;case l:a=a._2;break;case s:case p:c&&(h=new g(d,c,h)),c=a,a=a._1}if(0===m)i(t.right(void 0))();else for(o=0,u=m;o<u;o++)w[o]=w[o]();return w}function _(r){return function(e){return function(){delete f[r._1],r._3=e,function r(e,u,o){var f,d,w,E,g,_;for(t.isLeft(e)?(f=e,d=null):(d=e,f=null);;){if(w=null,E=null,g=null,_=null,null!==m)return;if(null===u)return void i(f||d)();if(u._3!==n)return;switch(u.tag){case l:null===f?(u._3=t.right(u._1(t.fromRight(d))),d=u._3):u._3=f;break;case s:if(w=u._1._3,E=u._2._3,f){if(u._3=f,g=!0,_=a++,c[_]=v(h,f===w?u._2:u._1,function(){return function(){delete c[_],g?g=!1:null===o?r(f,null,null):r(f,o._1,o._2)}}),g)return void(g=!1)}else{if(w===n||E===n)return;d=t.right(t.fromRight(w)(t.fromRight(E))),u._3=d}break;case p:if(w=u._1._3,E=u._2._3,w===n&&t.isLeft(E)||E===n&&t.isLeft(w))return;if(w!==n&&t.isLeft(w)&&E!==n&&t.isLeft(E))f=d===w?E:w,d=null,u._3=f;else if(u._3=d,g=!0,_=a++,c[_]=v(h,d===w?u._2:u._1,function(){return function(){delete c[_],g?g=!1:null===o?r(d,null,null):r(d,o._1,o._2)}}),g)return void(g=!1)}null===o?u=null:(u=o._1,o=o._2)}}(e,r._2._1,r._2._2)}}}return function(){var i,u,a=F,c=e,h=null,m=null;n:for(;;)switch(i=null,u=null,a){case F:switch(c.tag){case l:h&&(m=new g(d,h,m)),h=new g(l,c._1,n,n),c=c._2;break;case s:h&&(m=new g(d,h,m)),h=new g(s,n,c._2,n),c=c._1;break;case p:h&&(m=new g(d,h,m)),h=new g(p,n,c._2,n),c=c._1;break;default:u=o++,a=N,i=c,c=new g(E,u,new g(d,h,m),n),(i=B(t,r,i)).onComplete({rethrow:!1,handler:_(c)})(),f[u]=i,r&&r.register(i)}break;case N:if(null===h)break n;h._1===n?(h._1=c,a=F,c=h._2,h._2=n):(h._2=c,c=h,null===m?h=null:(h=m._1,m=m._2))}for(w=c,u=0;u<o;u++)f[u].run()}(),function(n){return new g(u,function(r){return function(){return function(n,r){var e;for(var i in m=t.left(n),c)if(c.hasOwnProperty(i))for(i in e=c[i])e.hasOwnProperty(i)&&e[i]();c=null;var o=v(n,w,r);return function(n){return new g(u,function(n){return function(){for(var n in o)o.hasOwnProperty(n)&&o[n]();return C}})}}(n,r)}})}}function I(n,t,r){return new g(u,function(e){return function(){return L(n,t,r,e)}})}return g.EMPTY=n,g.Pure=_(t),g.Throw=_(r),g.Catch=_(e),g.Sync=_(i),g.Async=_(u),g.Bind=_(o),g.Bracket=_(f),g.Fork=_(a),g.Seq=_(c),g.ParMap=_(l),g.ParApply=_(s),g.ParAlt=_(p),g.Fiber=B,g.Supervisor=function(n){var t={},r=0,e=0;return{register:function(n){var i=r++;n.onComplete({rethrow:!0,handler:function(n){return function(){e--,delete t[i]}}}),t[i]=n,e++},isEmpty:function(){return 0===e},killAll:function(u,o){return function(){var f=0,a={};function c(r){a[r]=t[r].kill(u,function(t){return function(){delete a[r],f--,n.isLeft(t)&&n.fromLeft(t)&&setTimeout(function(){throw n.fromLeft(t)},0),0===f&&o()}})()}for(var l in t)t.hasOwnProperty(l)&&(f++,c(l));return t={},r=0,e=0,function(n){return new g(i,function(){for(var n in a)a.hasOwnProperty(n)&&a[n]()})}}}}},g.Scheduler=S,g.nonCanceler=C,g}();n._pure=t.Pure,n._map=function(n){return function(r){return r.tag===t.Pure.tag?t.Pure(n(r._1)):t.Bind(r,function(r){return t.Pure(n(r))})}},n._bind=function(n){return function(r){return t.Bind(n,r)}},n._liftEffect=t.Sync,n._parAffMap=function(n){return function(r){return t.ParMap(n,r)}},n._parAffApply=function(n){return function(r){return t.ParApply(n,r)}},n.makeAff=t.Async,n._makeFiber=function(n,r){return function(){return t.Fiber(n,null,r)}},n._sequential=t.Seq}(n["Effect.Aff"]=n["Effect.Aff"]||{}),function(n){"use strict";n["Effect.Class"]=n["Effect.Class"]||{};var t=n["Effect.Class"];t.liftEffect=function(n){return n.liftEffect},t.MonadEffect=function(n,t){this.Monad0=n,this.liftEffect=t}}(n),function(t){"use strict";(n["Partial.Unsafe"]=n["Partial.Unsafe"]||{}).unsafePartial=function(n){return n()}}(),function(t){"use strict";(n["Partial"]=n["Partial"]||{}).crashWith=function(){return function(n){throw new Error(n)}}}(),function(n){"use strict";n.Partial=n.Partial||{};var t=n.Partial,r=n.Partial;t.crashWith=r.crashWith}(n),function(n){"use strict";n["Partial.Unsafe"]=n["Partial.Unsafe"]||{};var t=n["Partial.Unsafe"],r=n["Partial.Unsafe"],e=n.Partial;t.unsafeCrashWith=function(n){return r.unsafePartial(function(t){return e.crashWith(t)(n)})}}(n),function(t){"use strict";(n["Unsafe.Coerce"]=n["Unsafe.Coerce"]||{}).unsafeCoerce=function(n){return n}}(),function(n){"use strict";n["Unsafe.Coerce"]=n["Unsafe.Coerce"]||{};var t=n["Unsafe.Coerce"],r=n["Unsafe.Coerce"];t.unsafeCoerce=r.unsafeCoerce}(n),function(n){"use strict";n["Effect.Aff"]=n["Effect.Aff"]||{};var t=n["Effect.Aff"],r=n["Effect.Aff"],e=n["Control.Applicative"],i=n["Control.Apply"],u=n["Control.Bind"],o=n["Control.Monad"],f=n["Control.Parallel"],a=n["Control.Parallel.Class"],c=n["Data.Either"],l=n["Data.Foldable"],s=n["Data.Function"],p=n["Data.Functor"],d=n["Data.Monoid"],h=n["Data.Semigroup"],m=n["Data.Unit"],w=n.Effect,v=n["Effect.Class"],E=n["Partial.Unsafe"],g=n["Unsafe.Coerce"],_=new p.Functor(r._parAffMap),C=new p.Functor(r._map),A={isLeft:function(n){if(n instanceof c.Left)return!0;if(n instanceof c.Right)return!1;throw new Error("Failed pattern match at Effect.Aff (line 390, column 12 - line 392, column 20): "+[n.constructor.name])},fromLeft:function(n){if(n instanceof c.Left)return n.value0;if(n instanceof c.Right)return E.unsafeCrashWith("unsafeFromLeft: Right");throw new Error("Failed pattern match at Effect.Aff (line 395, column 20 - line 399, column 3): "+[n.constructor.name])},fromRight:function(n){if(n instanceof c.Right)return n.value0;if(n instanceof c.Left)return E.unsafeCrashWith("unsafeFromRight: Left");throw new Error("Failed pattern match at Effect.Aff (line 400, column 21 - line 402, column 31): "+[n.constructor.name])},left:c.Left.create,right:c.Right.create},y=function(n){return function(){var t=function(n){return r._makeFiber(A,n)}(n)();return t.run(),t}},D=new i.Apply(function(){return _},r._parAffApply),S=new o.Monad(function(){return P},function(){return b}),b=new u.Bind(function(){return F},r._bind),F=new i.Apply(function(){return C},o.ap(S)),P=new e.Applicative(function(){return F},r._pure),k=new v.MonadEffect(function(){return S},r._liftEffect),M=new a.Parallel(function(){return N},function(){return S},g.unsafeCoerce,r._sequential),N=new e.Applicative(function(){return D},function(n){return a.parallel(M)(e.pure(P)(n))}),U=new h.Semigroup(function(n){return function(t){return function(r){return f.parSequence_(M)(l.foldableArray)([n(r),t(r)])}}}),B=s.const(e.pure(P)(m.unit)),L=new d.Monoid(function(){return U},B);t.launchAff=y,t.launchAff_=function(n){return p.void(w.functorEffect)(y(n))},t.nonCanceler=B,t.functorAff=C,t.applyAff=F,t.applicativeAff=P,t.bindAff=b,t.monadAff=S,t.monadEffectAff=k,t.functorParAff=_,t.applyParAff=D,t.applicativeParAff=N,t.parallelAff=M,t.semigroupCanceler=U,t.monoidCanceler=L,t.makeAff=r.makeAff}(n),function(n){"use strict";n.error=function(n){return new Error(n)},n.throwException=function(n){return function(){throw n}}}(n["Effect.Exception"]=n["Effect.Exception"]||{}),function(n){"use strict";n["Effect.Exception"]=n["Effect.Exception"]||{};var t=n["Effect.Exception"],r=n["Effect.Exception"];t.throw=function(n){return r.throwException(r.error(n))}}(n),function(n){"use strict";n.new=function(n){return function(){return{value:n}}},n.read=function(n){return function(){return n.value}},n.write=function(n){return function(t){return function(){return t.value=n,{}}}}}(n["Effect.Ref"]=n["Effect.Ref"]||{}),function(n){"use strict";n["Effect.Ref"]=n["Effect.Ref"]||{};var t=n["Effect.Ref"],r=n["Effect.Ref"];t.new=r.new,t.read=r.read,t.write=r.write}(n),function(n){"use strict";n["Node.Encoding"]=n["Node.Encoding"]||{};var t=n["Node.Encoding"],r=n["Data.Show"],e=function(){function n(){}return n.value=new n,n}(),i=function(){function n(){}return n.value=new n,n}(),u=function(){function n(){}return n.value=new n,n}(),o=function(){function n(){}return n.value=new n,n}(),f=function(){function n(){}return n.value=new n,n}(),a=function(){function n(){}return n.value=new n,n}(),c=function(){function n(){}return n.value=new n,n}(),l=function(){function n(){}return n.value=new n,n}(),s=new r.Show(function(n){if(n instanceof e)return"ASCII";if(n instanceof i)return"UTF8";if(n instanceof u)return"UTF16LE";if(n instanceof o)return"UCS2";if(n instanceof f)return"Base64";if(n instanceof a)return"Latin1";if(n instanceof c)return"Binary";if(n instanceof l)return"Hex";throw new Error("Failed pattern match at Node.Encoding (line 19, column 1 - line 19, column 39): "+[n.constructor.name])});t.ASCII=e,t.UTF8=i,t.UTF16LE=u,t.UCS2=o,t.Base64=f,t.Latin1=a,t.Binary=c,t.Hex=l,t.encodingToNode=function(n){if(n instanceof e)return"ascii";if(n instanceof i)return"utf8";if(n instanceof u)return"utf16le";if(n instanceof o)return"ucs2";if(n instanceof f)return"base64";if(n instanceof a)return"latin1";if(n instanceof c)return"binary";if(n instanceof l)return"hex";throw new Error("Failed pattern match at Node.Encoding (line 31, column 1 - line 31, column 37): "+[n.constructor.name])},t.showEncoding=s}(n),function(t){"use strict";(n["Node.Process"]=n["Node.Process"]||{}).process=process}(),function(n){"use strict";n["Node.Process"]=n["Node.Process"]||{};var t=n["Node.Process"],r=n["Node.Process"],e=r.process.stdout,i=r.process.stdin;t.stdin=i,t.stdout=e}(n),function(n){"use strict";n.readChunkImpl=function(n){return function(t){return function(r){if(r instanceof Buffer)return t(r);if("string"==typeof r)return n(r);throw new Error("Node.Stream.readChunkImpl: Unrecognised chunk type; expected String or Buffer, got: "+r)}}},n.onDataEitherImpl=function(n){return function(t){return function(r){return function(){t.on("data",function(t){r(n(t))()})}}}},n.onEnd=function(n){return function(t){return function(){n.on("end",t)}}},n.write=function(n){return function(t){return function(r){return function(){return n.write(t,null,r)}}}},n.writeStringImpl=function(n){return function(t){return function(r){return function(e){return function(){return n.write(r,t,e)}}}}}}(n["Node.Stream"]=n["Node.Stream"]||{}),function(t){"use strict";(n["Node.Buffer"]=n["Node.Buffer"]||{}).toStringImpl=function(n){return function(t){return function(){return t.toString(n)}}}}(),function(n){"use strict";n["Node.Buffer"]=n["Node.Buffer"]||{};var t=n["Node.Buffer"],r=n["Node.Buffer"],e=n["Node.Encoding"];t.toString=function(n){return r.toStringImpl(e.encodingToNode(n))}}(n),function(n){"use strict";n["Node.Stream"]=n["Node.Stream"]||{};var t=n["Node.Stream"],r=n["Node.Stream"],e=n["Control.Applicative"],i=n["Control.Bind"],u=n["Data.Either"],o=n["Data.Show"],f=n.Effect,a=n["Effect.Exception"],c=n["Node.Buffer"],l=n["Node.Encoding"],s=r.readChunkImpl(u.Left.create)(u.Right.create),p=function(n){return function(t){return r.onDataEitherImpl(s)(n)(t)}},d=function(n){return function(t){return p(n)(i.composeKleisliFlipped(f.bindEffect)(t)(function(n){if(n instanceof u.Left)return a.throw("Stream encoding should not be set");if(n instanceof u.Right)return e.pure(f.applicativeEffect)(n.value0);throw new Error("Failed pattern match at Node.Stream (line 94, column 5 - line 98, column 17): "+[n.constructor.name])}))}};t.onData=d,t.onDataString=function(n){return function(t){return function(r){return d(n)(i.composeKleisliFlipped(f.bindEffect)(r)(c.toString(t)))}}},t.onDataEither=p,t.writeString=function(n){return function(t){return r.writeStringImpl(n)(o.show(l.showEncoding)(t))}},t.onEnd=r.onEnd}(n),function(n){"use strict";n.MSOLUTIONS2019A=n.MSOLUTIONS2019A||{};var t=n.MSOLUTIONS2019A,r=n["Control.Applicative"],e=n["Control.Bind"],i=n["Control.Category"],u=n["Data.Either"],o=n["Data.Functor"],f=n["Data.Int"],a=n["Data.Monoid"],c=n["Data.Show"],l=n["Data.String.Common"],s=n["Data.Unit"],p=n.Effect,d=n["Effect.Aff"],h=n["Effect.Class"],m=n["Effect.Ref"],w=n["Node.Encoding"],v=n["Node.Process"],E=n["Node.Stream"],g=n["Partial.Unsafe"],_=function(n){return u.either(function(n){return g.unsafeCrashWith(n)})(i.identity(i.categoryFn))(e.bind(u.bindEither)(u.note("n")(f.fromString(l.trim(n))))(function(n){return r.pure(u.applicativeEither)(c.show(c.showInt)(180*(n-2|0)|0)+"\n")}))},C=d.makeAff(function(n){return function(){var t=m.new("")();return E.onDataString(v.stdin)(w.UTF8.value)(function(n){return function(){var r=m.read(t)();return m.write(r+n)(t)()}})(),E.onEnd(v.stdin)(function(){var e=m.read(t)();return n(r.pure(u.applicativeEither)(e))()})(),a.mempty(d.monoidCanceler)}}),A=d.launchAff_(e.bind(d.bindAff)(C)(function(n){return e.bind(d.bindAff)(r.pure(d.applicativeAff)(_(n)))(function(n){return h.liftEffect(d.monadEffectAff)((t=n,o.void(p.functorEffect)(E.writeString(v.stdout)(w.UTF8.value)(t)(r.pure(p.applicativeEffect)(s.unit)))));var t})}));t.main=A,t.solve=_}(n),n.MSOLUTIONS2019A.main();
},{}]},{},["Focm"], null)