//  [javascript]
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(t){"use strict";(n["Control.Apply"]=n["Control.Apply"]||{}).arrayApply=function(n){return function(t){for(var r=n.length,e=t.length,a=new Array(r*e),o=0,i=0;i<r;i++)for(var u=n[i],c=0;c<e;c++)a[o++]=u(t[c]);return a}}}(),function(n){"use strict";var t=function(n){this.compose=n},r=new t(function(n){return function(t){return function(r){return n(t(r))}}});n.compose=function(n){return n.compose},n.Semigroupoid=t,n.semigroupoidFn=r}(n["Control.Semigroupoid"]=n["Control.Semigroupoid"]||{}),function(t){"use strict";var r=n["Control.Semigroupoid"],e=function(n,t){this.Semigroupoid0=n,this.identity=t},a=new e(function(){return r.semigroupoidFn},function(n){return n});t.Category=e,t.identity=function(n){return n.identity},t.categoryFn=a}(n["Control.Category"]=n["Control.Category"]||{}),function(t){"use strict";(n["Data.Eq"]=n["Data.Eq"]||{}).refEq=function(n){return function(t){return n===t}}}(),function(t){"use strict";(n["Data.Unit"]=n["Data.Unit"]||{}).unit={}}(),function(t){"use strict";(n["Data.Show"]=n["Data.Show"]||{}).showIntImpl=function(n){return n.toString()}}(),function(t){"use strict";var r=n["Data.Show"],e=(n["Data.Symbol"],n["Record.Unsafe"],n["Type.Data.RowList"],function(n){this.show=n}),a=new e(r.showIntImpl);t.Show=e,t.show=function(n){return n.show},t.showInt=a}(n["Data.Show"]=n["Data.Show"]||{}),function(t){"use strict";var r=n["Data.Unit"];n["Data.Show"];t.unit=r.unit}(n["Data.Unit"]=n["Data.Unit"]||{}),function(t){"use strict";var r=n["Data.Eq"],e=(n["Data.HeytingAlgebra"],n["Data.Symbol"],n["Data.Unit"],n["Data.Void"],n["Record.Unsafe"],n["Type.Data.RowList"],function(n){this.eq=n}),a=new e(r.refEq);t.Eq=e,t.eq=function(n){return n.eq},t.eqInt=a}(n["Data.Eq"]=n["Data.Eq"]||{}),function(t){"use strict";(n["Data.Ord.Unsafe"]=n["Data.Ord.Unsafe"]||{}).unsafeCompareImpl=function(n){return function(t){return function(r){return function(e){return function(a){return e<a?n:e===a?t:r}}}}}}(),function(t){"use strict";n["Data.Semigroup"],n["Data.Symbol"],n["Data.Unit"],n["Data.Void"],n["Record.Unsafe"],n["Type.Data.RowList"];t.Semigroup=function(n){this.append=n},t.append=function(n){return n.append}}(n["Data.Semigroup"]=n["Data.Semigroup"]||{}),function(t){"use strict";n["Data.Eq"],n["Data.Semigroup"],n["Data.Show"];var r=function(){function n(){}return n.value=new n,n}(),e=function(){function n(){}return n.value=new n,n}(),a=function(){function n(){}return n.value=new n,n}();t.LT=r,t.GT=e,t.EQ=a}(n["Data.Ordering"]=n["Data.Ordering"]||{}),function(t){"use strict";var r=n["Data.Ord.Unsafe"],e=n["Data.Ordering"],a=r.unsafeCompareImpl(e.LT.value)(e.EQ.value)(e.GT.value);t.unsafeCompare=a}(n["Data.Ord.Unsafe"]=n["Data.Ord.Unsafe"]||{}),function(t){"use strict";(n["Data.Ring"]=n["Data.Ring"]||{}).intSub=function(n){return function(t){return n-t|0}}}(),function(n){"use strict";n.intAdd=function(n){return function(t){return n+t|0}},n.intMul=function(n){return function(t){return n*t|0}}}(n["Data.Semiring"]=n["Data.Semiring"]||{}),function(t){"use strict";var r=n["Data.Semiring"],e=(n["Data.Symbol"],n["Data.Unit"],n["Record.Unsafe"],n["Type.Data.Row"],n["Type.Data.RowList"],function(n,t,r,e){this.add=n,this.mul=t,this.one=r,this.zero=e}),a=new e(r.intAdd,r.intMul,1,0);t.Semiring=e,t.add=function(n){return n.add},t.zero=function(n){return n.zero},t.mul=function(n){return n.mul},t.one=function(n){return n.one},t.semiringInt=a}(n["Data.Semiring"]=n["Data.Semiring"]||{}),function(t){"use strict";var r=n["Data.Ring"],e=n["Data.Semiring"],a=(n["Data.Symbol"],n["Data.Unit"],n["Record.Unsafe"],n["Type.Data.RowList"],function(n,t){this.Semiring0=n,this.sub=t}),o=new a(function(){return e.semiringInt},r.intSub);t.Ring=a,t.sub=function(n){return n.sub},t.ringInt=o}(n["Data.Ring"]=n["Data.Ring"]||{}),function(t){"use strict";n["Data.Ord"];var r=n["Data.Eq"],e=n["Data.Ord.Unsafe"],a=n["Data.Ordering"],o=(n["Data.Ring"],n["Data.Semiring"],n["Data.Symbol"],n["Data.Unit"],n["Data.Void"],n["Record.Unsafe"],n["Type.Data.RowList"],function(n,t){this.Eq0=n,this.compare=t}),i=new o(function(){return r.eqInt},e.unsafeCompare),u=function(n){return n.compare};t.Ord=o,t.compare=u,t.max=function(n){return function(t){return function(r){var e=u(n)(t)(r);if(e instanceof a.LT)return r;if(e instanceof a.EQ)return t;if(e instanceof a.GT)return t;throw new Error("Failed pattern match at Data.Ord (line 128, column 3 - line 131, column 12): "+[e.constructor.name])}}},t.ordInt=i}(n["Data.Ord"]=n["Data.Ord"]||{}),function(t){"use strict";n["Control.Category"],n["Data.Boolean"],n["Data.Ord"],n["Data.Ring"];t.flip=function(n){return function(t){return function(r){return n(r)(t)}}},t.const=function(n){return function(t){return n}}}(n["Data.Function"]=n["Data.Function"]||{}),function(t){"use strict";(n["Data.Functor"]=n["Data.Functor"]||{}).arrayMap=function(n){return function(t){for(var r=t.length,e=new Array(r),a=0;a<r;a++)e[a]=n(t[a]);return e}}}(),function(t){"use strict";var r=n["Data.Functor"],e=(n["Control.Semigroupoid"],n["Data.Function"]),a=n["Data.Unit"],o=function(n){this.map=n},i=function(n){return n.map},u=new o(r.arrayMap);t.Functor=o,t.map=i,t.void=function(n){return i(n)(e.const(a.unit))},t.functorArray=u}(n["Data.Functor"]=n["Data.Functor"]||{}),function(t){"use strict";var r=n["Control.Apply"],e=n["Control.Category"],a=n["Data.Function"],o=n["Data.Functor"],i=function(n,t){this.Functor0=n,this.apply=t},u=new i(function(){return o.functorArray},r.arrayApply),c=function(n){return n.apply};t.Apply=i,t.apply=c,t.applySecond=function(n){return function(t){return function(r){return c(n)(o.map(n.Functor0())(a.const(e.identity(e.categoryFn)))(t))(r)}}},t.applyArray=u}(n["Control.Apply"]=n["Control.Apply"]||{}),function(t){"use strict";var r=n["Control.Apply"],e=(n["Data.Functor"],n["Data.Unit"],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(a){return r.apply(n.Apply0())(e(n)(t))(a)}}}}(n["Control.Applicative"]=n["Control.Applicative"]||{}),function(t){"use strict";(n["Control.Bind"]=n["Control.Bind"]||{}).arrayBind=function(n){return function(t){for(var r=[],e=0,a=n.length;e<a;e++)Array.prototype.push.apply(r,t(n[e]));return r}}}(),function(t){"use strict";var r=n["Control.Bind"],e=(n["Control.Applicative"],n["Control.Apply"]),a=(n["Control.Category"],n["Data.Function"]),o=(n["Data.Functor"],n["Data.Unit"],function(n,t){this.Apply0=n,this.bind=t}),i=new o(function(){return e.applyArray},r.arrayBind),u=function(n){return n.bind},c=function(n){return a.flip(u(n))};t.Bind=o,t.bind=u,t.bindFlipped=c,t.composeKleisliFlipped=function(n){return function(t){return function(r){return function(e){return c(n)(t)(r(e))}}}},t.bindArray=i}(n["Control.Bind"]=n["Control.Bind"]||{}),function(n){"use strict";n.map_=function(n){return function(t){return function(){return n(t())}}},n.pure_=function(n){return function(){return n}},n.bind_=function(n){return function(t){return function(){return t(n())()}}},n.for=function(n){return function(t){return function(r){return function(){for(var e=n;e<t;e++)r(e)()}}}},n["modify'"]=function(n){return function(t){return function(){var r=n(t.value);return t.value=r.state,r.value}}},n.write=function(n){return function(t){return function(){return t.value=n}}}}(n["Control.Monad.ST.Internal"]=n["Control.Monad.ST.Internal"]||{}),function(t){"use strict";var r=n["Control.Applicative"],e=(n["Control.Apply"],n["Control.Bind"]);n["Data.Functor"],n["Data.Unit"];t.Monad=function(n,t){this.Applicative0=n,this.Bind1=t},t.ap=function(n){return function(t){return function(a){return e.bind(n.Bind1())(t)(function(t){return e.bind(n.Bind1())(a)(function(e){return r.pure(n.Applicative0())(t(e))})})}}}}(n["Control.Monad"]=n["Control.Monad"]||{}),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(t){"use strict";var r=n.Partial;t.crashWith=r.crashWith}(n.Partial=n.Partial||{}),function(t){"use strict";var r=n["Partial.Unsafe"],e=n.Partial;t.unsafeCrashWith=function(n){return r.unsafePartial(function(t){return e.crashWith(t)(n)})}}(n["Partial.Unsafe"]=n["Partial.Unsafe"]||{}),function(t){"use strict";var r=n["Control.Monad.ST.Internal"],e=n["Control.Applicative"],a=n["Control.Apply"],o=n["Control.Bind"],i=n["Control.Monad"],u=(n["Control.Monad.Rec.Class"],n["Data.Functor"]),c=(n["Data.Unit"],n["Partial.Unsafe"],n.Prelude,new u.Functor(r.map_)),f=new i.Monad(function(){return d},function(){return l}),l=new o.Bind(function(){return s},r.bind_),s=new a.Apply(function(){return c},i.ap(f)),d=new e.Applicative(function(){return s},r.pure_);t.modify=function(n){return r["modify'"](function(t){var r=n(t);return{state:r,value:r}})},t.functorST=c,t.applyST=s,t.applicativeST=d,t.bindST=l,t.monadST=f,t.for=r.for,t.write=r.write}(n["Control.Monad.ST.Internal"]=n["Control.Monad.ST.Internal"]||{}),function(n){"use strict";n.replicate="function"==typeof Array.prototype.fill?function(n){return function(t){return n<1?[]:new Array(n).fill(t)}}:function(n){return function(t){for(var r=[],e=0,a=0;a<n;a++)r[e++]=t;return r}},n.length=function(n){return n.length},n.indexImpl=function(n){return function(t){return function(r){return function(e){return e<0||e>=r.length?t:n(r[e])}}}}}(n["Data.Array"]=n["Data.Array"]||{}),function(n){"use strict";n.peekImpl=function(n){return function(t){return function(r){return function(e){return function(){return r>=0&&r<e.length?n(e[r]):t}}}}},n.poke=function(n){return function(t){return function(r){return function(){var e=n>=0&&n<r.length;return e&&(r[n]=t),e}}}}}(n["Data.Array.ST"]=n["Data.Array.ST"]||{}),function(n){"use strict";n.topInt=2147483647,n.bottomInt=-2147483648}(n["Data.Bounded"]=n["Data.Bounded"]||{}),function(t){"use strict";var r=n["Data.Bounded"],e=n["Data.Ord"],a=(n["Data.Ordering"],n["Data.Unit"],function(n,t,r){this.Ord0=n,this.bottom=t,this.top=r}),o=new a(function(){return e.ordInt},r.bottomInt,r.topInt);t.Bounded=a,t.bottom=function(n){return n.bottom},t.top=function(n){return n.top},t.boundedInt=o}(n["Data.Bounded"]=n["Data.Bounded"]||{}),function(n){"use strict";n.intDegree=function(n){return Math.min(Math.abs(n),2147483647)},n.intDiv=function(n){return function(t){return 0===t?0:t>0?Math.floor(n/t):-Math.floor(n/-t)}},n.intMod=function(n){return function(t){if(0===t)return 0;var r=Math.abs(t);return(n%r+r)%r}}}(n["Data.EuclideanRing"]=n["Data.EuclideanRing"]||{}),function(t){"use strict";var r=n["Data.Ring"],e=(n["Data.Semiring"],n["Data.Symbol"],n["Data.Unit"],function(n){this.Ring0=n}),a=new e(function(){return r.ringInt});t.CommutativeRing=e,t.commutativeRingInt=a}(n["Data.CommutativeRing"]=n["Data.CommutativeRing"]||{}),function(t){"use strict";var r=n["Data.EuclideanRing"],e=(n["Data.BooleanAlgebra"],n["Data.CommutativeRing"]),a=n["Data.Eq"],o=(n["Data.HeytingAlgebra"],n["Data.Ring"],n["Data.Semiring"]),i=function(n,t,r,e){this.CommutativeRing0=n,this.degree=t,this.div=r,this.mod=e},u=function(n){return n.mod},c=new i(function(){return e.commutativeRingInt},r.intDegree,r.intDiv,r.intMod);t.EuclideanRing=i,t.degree=function(n){return n.degree},t.div=function(n){return n.div},t.mod=u,t.gcd=function(n){return function(t){return function(r){return function(e){var i,c=n,f=t,l=r,s=!1;function d(n,t,r,i){if(a.eq(n)(i)(o.zero(t.CommutativeRing0().Ring0().Semiring0())))return s=!0,r;c=n,f=t,l=i,e=u(t)(r)(i)}for(;!s;)i=d(c,f,l,e);return i}}}},t.euclideanRingInt=c}(n["Data.EuclideanRing"]=n["Data.EuclideanRing"]||{}),function(t){"use strict";n["Data.Boolean"],n["Data.Eq"],n["Data.EuclideanRing"],n["Data.Ord"],n["Data.Ordering"],n["Data.Semigroup"],n["Data.Symbol"],n["Data.Unit"],n["Record.Unsafe"],n["Type.Data.RowList"];t.Monoid=function(n,t){this.Semigroup0=n,this.mempty=t},t.mempty=function(n){return n.mempty}}(n["Data.Monoid"]=n["Data.Monoid"]||{}),function(t){"use strict";n["Control.Alt"],n["Control.Alternative"],n["Control.Applicative"];var r=n["Control.Apply"],e=n["Control.Bind"],a=n["Control.Category"],o=(n["Control.Extend"],n["Control.Monad"],n["Control.MonadZero"],n["Control.Plus"],n["Data.Bounded"],n["Data.Eq"],n["Data.Function"],n["Data.Functor"]),i=(n["Data.Functor.Invariant"],n["Data.Monoid"],n["Data.Ord"],n["Data.Ordering"],n["Data.Semigroup"],n["Data.Show"],n["Data.Unit"],n.Prelude,function(){function n(){}return n.value=new n,n}()),u=function(){function n(n){this.value0=n}return n.create=function(t){return new n(t)},n}(),c=function(n){return function(t){return function(r){if(r instanceof i)return n;if(r instanceof u)return t(r.value0);throw new Error("Failed pattern match at Data.Maybe (line 217, column 1 - line 217, column 51): "+[n.constructor.name,t.constructor.name,r.constructor.name])}}},f=new o.Functor(function(n){return function(t){return t instanceof u?new u(n(t.value0)):i.value}}),l=new r.Apply(function(){return f},function(n){return function(t){if(n instanceof u)return o.map(f)(n.value0)(t);if(n instanceof i)return i.value;throw new Error("Failed pattern match at Data.Maybe (line 67, column 1 - line 67, column 35): "+[n.constructor.name,t.constructor.name])}}),s=new e.Bind(function(){return l},function(n){return function(t){if(n instanceof u)return t(n.value0);if(n instanceof i)return i.value;throw new Error("Failed pattern match at Data.Maybe (line 125, column 1 - line 125, column 33): "+[n.constructor.name,t.constructor.name])}});t.Nothing=i,t.Just=u,t.maybe=c,t.fromMaybe=function(n){return c(n)(a.identity(a.categoryFn))},t.fromJust=function(n){return function(n){if(n instanceof u)return n.value0;throw new Error("Failed pattern match at Data.Maybe (line 268, column 1 - line 268, column 46): "+[n.constructor.name])}},t.functorMaybe=f,t.applyMaybe=l,t.bindMaybe=s}(n["Data.Maybe"]=n["Data.Maybe"]||{}),function(t){"use strict";(n["Unsafe.Coerce"]=n["Unsafe.Coerce"]||{}).unsafeCoerce=function(n){return n}}(),function(t){"use strict";var r=n["Unsafe.Coerce"];t.unsafeCoerce=r.unsafeCoerce}(n["Unsafe.Coerce"]=n["Unsafe.Coerce"]||{}),function(t){"use strict";var r=n["Data.Array.ST"],e=n["Control.Applicative"],a=(n["Control.Bind"],n["Control.Monad.ST"],n["Control.Monad.ST.Internal"]),o=(n["Control.Semigroupoid"],n["Data.Maybe"]),i=(n["Data.Ord"],n["Data.Ordering"],n["Data.Ring"],n.Prelude,n["Unsafe.Coerce"],r.peekImpl(o.Just.create)(o.Nothing.value));t.peek=i,t.unsafeFreeze=function(n){return e.pure(a.applicativeST)(n)},t.unsafeThaw=function(n){return e.pure(a.applicativeST)(n)},t.poke=r.poke}(n["Data.Array.ST"]=n["Data.Array.ST"]||{}),function(n){"use strict";n.foldrArray=function(n){return function(t){return function(r){for(var e=t,a=r.length-1;a>=0;a--)e=n(r[a])(e);return e}}},n.foldlArray=function(n){return function(t){return function(r){for(var e=t,a=r.length,o=0;o<a;o++)e=n(e)(r[o]);return e}}}}(n["Data.Foldable"]=n["Data.Foldable"]||{}),function(t){"use strict";var r=n["Data.Foldable"],e=(n["Control.Alt"],n["Control.Applicative"]),a=n["Control.Apply"],o=(n["Control.Bind"],n["Control.Category"],n["Control.Plus"],n["Control.Semigroupoid"],n["Data.Eq"],n["Data.Function"],n["Data.Functor"],n["Data.HeytingAlgebra"],n["Data.Maybe"],n["Data.Maybe.First"],n["Data.Maybe.Last"],n["Data.Monoid"]),i=(n["Data.Monoid.Additive"],n["Data.Monoid.Conj"],n["Data.Monoid.Disj"],n["Data.Monoid.Dual"],n["Data.Monoid.Endo"],n["Data.Monoid.Multiplicative"],n["Data.Newtype"],n["Data.Ord"],n["Data.Ordering"],n["Data.Semigroup"]),u=(n["Data.Semiring"],n["Data.Unit"]),c=(n.Prelude,function(n,t,r){this.foldMap=n,this.foldl=t,this.foldr=r}),f=function(n){return n.foldr},l=function(n){return function(t){return function(r){return f(n)(function(n){return function(e){return i.append(t.Semigroup0())(r(n))(e)}})(o.mempty(t))}}},s=new c(function(n){return l(s)(n)},r.foldlArray,r.foldrArray);t.Foldable=c,t.foldr=f,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 f(t)(function(t){return a.applySecond(n.Apply0())(r(t))})(e.pure(n)(u.unit))}}},t.foldableArray=s}(n["Data.Foldable"]=n["Data.Foldable"]||{}),function(t){"use strict";var r=n["Data.Array"],e=(n["Control.Alt"],n["Control.Alternative"],n["Control.Applicative"],n["Control.Apply"],n["Control.Bind"]),a=(n["Control.Category"],n["Control.Lazy"],n["Control.Monad.Rec.Class"],n["Control.Monad.ST"],n["Control.Monad.ST.Internal"],n["Control.Semigroupoid"],n["Data.Array.NonEmpty.Internal"],n["Data.Array.ST"],n["Data.Array.ST.Iterator"],n["Data.Boolean"],n["Data.Eq"],n["Data.Foldable"],n["Data.Function"]),o=(n["Data.Functor"],n["Data.HeytingAlgebra"],n["Data.Maybe"]),i=(n["Data.Ord"],n["Data.Ordering"],n["Data.Ring"],n["Data.Semigroup"],n["Data.Semiring"],n["Data.Traversable"],n["Data.Tuple"],n["Data.Unfoldable"],n["Partial.Unsafe"],n.Prelude,n["Unsafe.Coerce"],function(n){return[n]}),u=r.indexImpl(o.Just.create)(o.Nothing.value),c=a.flip(e.bind(e.bindArray));t.singleton=i,t.head=function(n){return u(n)(0)},t.last=function(n){return u(n)(r.length(n)-1|0)},t.index=u,t.concatMap=c,t.mapMaybe=function(n){return c(function(t){return o.maybe([])(i)(n(t))})},t.replicate=r.replicate}(n["Data.Array"]=n["Data.Array"]||{}),function(t){"use strict";n["Control.Alt"];var r=n["Control.Applicative"],e=n["Control.Apply"],a=n["Control.Bind"],o=(n["Control.Extend"],n["Control.Monad"],n["Control.Semigroupoid"],n["Data.Bifoldable"],n["Data.Bifunctor"],n["Data.Bitraversable"],n["Data.Bounded"],n["Data.Eq"],n["Data.Foldable"],n["Data.FoldableWithIndex"],n["Data.Function"],n["Data.Functor"]),i=(n["Data.Functor.Invariant"],n["Data.FunctorWithIndex"],n["Data.Maybe"]),u=(n["Data.Monoid"],n["Data.Ord"],n["Data.Ordering"],n["Data.Semigroup"],n["Data.Show"],n["Data.Traversable"],n["Data.TraversableWithIndex"],n["Data.Unit"],n.Prelude,function(){function n(n){this.value0=n}return n.create=function(t){return new n(t)},n}()),c=function(){function n(n){this.value0=n}return n.create=function(t){return new n(t)},n}(),f=new o.Functor(function(n){return function(t){if(t instanceof u)return new u(t.value0);if(t instanceof c)return new c(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 u)return n(r.value0);if(r instanceof c)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 f},function(n){return function(t){if(n instanceof u)return new u(n.value0);if(n instanceof c)return o.map(f)(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])}}),d=new a.Bind(function(){return s},l(function(n){return function(t){return new u(n)}})(function(n){return function(t){return t(n)}})),p=new r.Applicative(function(){return s},c.create);t.Left=u,t.Right=c,t.either=l,t.note=function(n){return i.maybe(new u(n))(c.create)},t.functorEither=f,t.applyEither=s,t.applicativeEither=p,t.bindEither=d}(n["Data.Either"]=n["Data.Either"]||{}),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 a=new RegExp("^[\\+\\-]?"+e+"+$","i");return function(e){if(a.test(e)){var o=parseInt(e,r);return(0|o)===o?n(o):t}return t}}}}}(),function(t){"use strict";var r=n["Data.Int"],e=(n["Control.Category"],n["Control.Semigroupoid"],n["Data.Boolean"],n["Data.Bounded"],n["Data.CommutativeRing"],n["Data.DivisionRing"],n["Data.Eq"],n["Data.EuclideanRing"],n["Data.HeytingAlgebra"],n["Data.Int.Bits"],n["Data.Maybe"]),a=(n["Data.Ord"],n["Data.Ordering"],n["Data.Ring"],n["Data.Semiring"],n["Data.Show"],n.Global,n.Math,n.Prelude,r.fromStringAsImpl(e.Just.create)(e.Nothing.value)),o=a(10);t.fromString=o,t.fromStringAs=a}(n["Data.Int"]=n["Data.Int"]||{}),function(n){"use strict";n.split=function(n){return function(t){return t.split(n)}},n.trim=function(n){return n.trim()}}(n["Data.String.Common"]=n["Data.String.Common"]||{}),function(t){"use strict";var r=n["Data.String.Common"];n["Data.Eq"],n["Data.Ordering"],n["Data.String.Pattern"],n.Prelude;t.split=r.split,t.trim=r.trim}(n["Data.String.Common"]=n["Data.String.Common"]||{}),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(t){"use strict";var r=n.Effect,e=n["Control.Applicative"],a=n["Control.Apply"],o=n["Control.Bind"],i=n["Control.Monad"],u=n["Data.Functor"],c=(n["Data.Monoid"],n["Data.Semigroup"],n.Prelude,new i.Monad(function(){return s},function(){return f})),f=new o.Bind(function(){return l},r.bindE),l=new a.Apply(function(){return d},i.ap(c)),s=new e.Applicative(function(){return l},r.pureE),d=new u.Functor(e.liftA1(s));t.functorEffect=d,t.applyEffect=l,t.applicativeEffect=s,t.bindEffect=f,t.monadEffect=c}(n.Effect=n.Effect||{}),function(n){"use strict";var t=function(){var n={},t="Pure",r="Throw",e="Catch",a="Sync",o="Async",i="Bind",u="Bracket",c="Fork",f="Sequential",l="Map",s="Apply",d="Alt",p="Cons",D="Resume",m="Release",h="Finalizer",g="Finalized",v="Forked";function w(n,t,r,e){this.tag=n,this._1=t,this._2=r,this._3=e}function C(n){var t=function(t,r,e){return new w(n,t,r,e)};return t.tag=n,t}function y(n){return new w(t,void 0)}function E(n){try{n()}catch(t){setTimeout(function(){throw t},0)}}function S(n,t,r){try{return t(r())}catch(e){return n(e)}}function A(n,t,r){try{return t(r)()}catch(e){return r(n(e))(),y}}var b=function(){var n=1024,t=0,r=0,e=new Array(n),a=!1;function o(){var o;for(a=!0;0!==t;)t--,o=e[r],e[r]=void 0,r=(r+1)%n,o();a=!1}return{isDraining:function(){return a},enqueue:function(i){var u;t===n&&(u=a,o(),a=u),e[(r+t)%n]=i,t++,a||o()}}}();var _=0,F=1,M=2,R=3,P=4,T=5,I=6;function B(n,l,s){var d=0,v=_,C=s,y=null,U=null,q=null,L=null,O=null,N=0,x=0,W=null,z=!0;function H(s){for(var x,J,j;;)switch(x=null,J=null,j=null,v){case M:v=F,C=q(C),null===L?q=null:(q=L._1,L=L._2);break;case R:n.isLeft(C)?(v=T,y=C,C=null):null===q?v=T:(v=M,C=n.fromRight(C));break;case F:switch(C.tag){case i:q&&(L=new w(p,q,L)),q=C._2,v=F,C=C._1;break;case t:null===q?(v=T,C=n.right(C._1)):(v=M,C=C._1);break;case a:v=R,C=S(n.left,n.right,C._1);break;case o:return v=P,void(C=A(n.left,C._1,function(n){return function(){d===s&&(d++,b.enqueue(function(){d===s+1&&(v=R,C=n,H(d))}))}}));case r:v=T,y=n.left(C._1),C=null;break;case e:O=new w(p,C,null===q?O:new w(p,new w(D,q,L),O,U),U),q=null,L=null,v=F,C=C._1;break;case u:N++,O=new w(p,C,null===q?O:new w(p,new w(D,q,L),O,U),U),q=null,L=null,v=F,C=C._1;break;case c:v=R,x=B(n,l,C._2),l&&l.register(x),C._1&&x.run(),C=n.right(x);break;case f:v=F,C=k(n,l,C._1)}break;case T:if(q=null,L=null,null===O)v=I,C=U||y||C;else switch(x=O._3,j=O._1,O=O._2,j.tag){case e:U&&U!==x?v=T:y&&(v=F,C=j._2(n.fromLeft(y)),y=null);break;case D:U&&U!==x||y?v=T:(q=j._1,L=j._2,v=M,C=n.fromRight(C));break;case u:N--,null===y&&(J=n.fromRight(C),O=new w(p,new w(m,j._2,J),O,x),(U===x||N>0)&&(v=F,C=j._3(J)));break;case m:N++,O=new w(p,new w(g,C,y),O,U),v=F,C=U&&U!==x?j._1.killed(n.fromLeft(U))(j._2):y?j._1.failed(n.fromLeft(y))(j._2):j._1.completed(n.fromRight(C))(j._2),y=null;break;case h:N++,O=new w(p,new w(g,C,y),O,U),v=F,C=j._1;break;case g:N--,v=T,C=j._1,y=j._2}break;case I:for(var G in W)W.hasOwnProperty(G)&&(z=z&&W[G].rethrow,E(W[G].handler(C)));return W=null,void(U&&y?setTimeout(function(){throw n.fromLeft(y)},0):n.isLeft(C)&&z&&setTimeout(function(){if(z)throw n.fromLeft(C)},0));case _:v=F;break;case P:return}}function J(n){return function(){if(v===I)return z=z&&n.rethrow,n.handler(C)(),function(){};var t=x++;return(W=W||{})[t]=n,function(){null!==W&&delete W[t]}}}return{kill:function(t,r){return function(){if(v===I)return r(n.right(void 0))(),function(){};var e=J({rethrow:!1,handler:function(){return r(n.right(void 0))}})();switch(v){case _:U=n.left(t),v=I,C=U,H(d);break;case P:null===U&&(U=n.left(t)),0===N&&(v===P&&(O=new w(p,new w(h,C(t)),O,U)),v=T,C=null,y=null,H(++d));break;default:null===U&&(U=n.left(t)),0===N&&(v=T,C=null,y=null)}return e}},join:function(n){return function(){var t=J({rethrow:!1,handler:n})();return v===_&&H(d),t}},onComplete:J,isSuspended:function(){return v===_},run:function(){v===_&&(b.isDraining()?H(d):b.enqueue(function(){H(d)}))}}}function U(t,r,e,a){var i=0,u={},c=0,f={},D=new Error("[ParAff] Early exit"),m=null,h=n;function g(r,e,a){var o,i,c=e,f=null,D=null,m=0,h={};n:for(;;)switch(o=null,c.tag){case v:if(c._3===n&&(o=u[c._1],h[m++]=o.kill(r,function(n){return function(){0===--m&&a(n)()}})),null===f)break n;c=f._2,null===D?f=null:(f=D._1,D=D._2);break;case l:c=c._2;break;case s:case d:f&&(D=new w(p,f,D)),f=c,c=c._1}if(0===m)a(t.right(void 0))();else for(i=0,o=m;i<o;i++)h[i]=h[i]();return h}function C(r){return function(e){return function(){delete u[r._1],r._3=e,function r(e,o,i){var u,p,h,v,w,C;for(t.isLeft(e)?(u=e,p=null):(p=e,u=null);;){if(h=null,v=null,w=null,C=null,null!==m)return;if(null===o)return void a(u||p)();if(o._3!==n)return;switch(o.tag){case l:null===u?(o._3=t.right(o._1(t.fromRight(p))),p=o._3):o._3=u;break;case s:if(h=o._1._3,v=o._2._3,u){if(o._3=u,w=!0,C=c++,f[C]=g(D,u===h?o._2:o._1,function(){return function(){delete f[C],w?w=!1:null===i?r(u,null,null):r(u,i._1,i._2)}}),w)return void(w=!1)}else{if(h===n||v===n)return;p=t.right(t.fromRight(h)(t.fromRight(v))),o._3=p}break;case d:if(h=o._1._3,v=o._2._3,h===n&&t.isLeft(v)||v===n&&t.isLeft(h))return;if(h!==n&&t.isLeft(h)&&v!==n&&t.isLeft(v))u=p===h?v:h,p=null,o._3=u;else if(o._3=p,w=!0,C=c++,f[C]=g(D,p===h?o._2:o._1,function(){return function(){delete f[C],w?w=!1:null===i?r(p,null,null):r(p,i._1,i._2)}}),w)return void(w=!1)}null===i?o=null:(o=i._1,i=i._2)}}(e,r._2._1,r._2._2)}}}return function(){var a,o,c=F,f=e,D=null,m=null;n:for(;;)switch(a=null,o=null,c){case F:switch(f.tag){case l:D&&(m=new w(p,D,m)),D=new w(l,f._1,n,n),f=f._2;break;case s:D&&(m=new w(p,D,m)),D=new w(s,n,f._2,n),f=f._1;break;case d:D&&(m=new w(p,D,m)),D=new w(d,n,f._2,n),f=f._1;break;default:o=i++,c=T,a=f,f=new w(v,o,new w(p,D,m),n),(a=B(t,r,a)).onComplete({rethrow:!1,handler:C(f)})(),u[o]=a,r&&r.register(a)}break;case T:if(null===D)break n;D._1===n?(D._1=f,c=F,f=D._2,D._2=n):(D._2=f,f=D,null===m?D=null:(D=m._1,m=m._2))}for(h=f,o=0;o<i;o++)u[o].run()}(),function(n){return new w(o,function(r){return function(){return function(n,r){var e;for(var a in m=t.left(n),f)if(f.hasOwnProperty(a))for(a in e=f[a])e.hasOwnProperty(a)&&e[a]();f=null;var i=g(n,h,r);return function(n){return new w(o,function(n){return function(){for(var n in i)i.hasOwnProperty(n)&&i[n]();return y}})}}(n,r)}})}}function k(n,t,r){return new w(o,function(e){return function(){return U(n,t,r,e)}})}return w.EMPTY=n,w.Pure=C(t),w.Throw=C(r),w.Catch=C(e),w.Sync=C(a),w.Async=C(o),w.Bind=C(i),w.Bracket=C(u),w.Fork=C(c),w.Seq=C(f),w.ParMap=C(l),w.ParApply=C(s),w.ParAlt=C(d),w.Fiber=B,w.Supervisor=function(n){var t={},r=0,e=0;return{register:function(n){var a=r++;n.onComplete({rethrow:!0,handler:function(n){return function(){e--,delete t[a]}}}),t[a]=n,e++},isEmpty:function(){return 0===e},killAll:function(o,i){return function(){var u=0,c={};function f(r){c[r]=t[r].kill(o,function(t){return function(){delete c[r],u--,n.isLeft(t)&&n.fromLeft(t)&&setTimeout(function(){throw n.fromLeft(t)},0),0===u&&i()}})()}for(var l in t)t.hasOwnProperty(l)&&(u++,f(l));return t={},r=0,e=0,function(n){return new w(a,function(){for(var n in c)c.hasOwnProperty(n)&&c[n]()})}}}}},w.Scheduler=b,w.nonCanceler=y,w}();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(t){"use strict";n["Control.Category"],n["Control.Monad"],n.Effect;t.liftEffect=function(n){return n.liftEffect},t.MonadEffect=function(n,t){this.Monad0=n,this.liftEffect=t}}(n["Effect.Class"]=n["Effect.Class"]||{}),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(t){"use strict";var r=n["Effect.Ref"];n["Data.Function"],n["Data.Functor"],n.Effect,n.Prelude;t.new=r.new,t.read=r.read,t.write=r.write}(n["Effect.Ref"]=n["Effect.Ref"]||{}),function(t){"use strict";n["Control.Alt"],n["Control.Alternative"],n["Control.Applicative"],n["Control.Apply"],n["Control.Bind"],n["Control.Monad.Cont.Trans"],n["Control.Monad.Except.Trans"],n["Control.Monad.Maybe.Trans"],n["Control.Monad.Reader.Trans"],n["Control.Monad.Writer.Trans"],n["Control.Plus"],n["Control.Semigroupoid"],n["Data.Either"],n["Data.Function"],n["Data.Functor"],n["Data.Functor.Compose"],n["Data.Maybe"],n["Data.Newtype"],n["Data.Unit"],n["Effect.Class"],n["Effect.Ref"],n.Prelude;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["Control.Parallel.Class"]=n["Control.Parallel.Class"]||{}),function(t){"use strict";n["Control.Alternative"],n["Control.Apply"];var r=n["Control.Category"],e=n["Control.Parallel.Class"],a=(n["Control.Semigroupoid"],n["Data.Foldable"]),o=(n["Data.Traversable"],n.Prelude,function(n){return function(t){return function(r){return function(o){return e.sequential(n)(a.traverse_(n.Applicative1())(t)(function(t){return e.parallel(n)(r(t))})(o))}}}});t.parTraverse_=o,t.parSequence_=function(n){return function(t){return o(n)(t)(r.identity(r.categoryFn))}}}(n["Control.Parallel"]=n["Control.Parallel"]||{}),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(t){"use strict";var r=n["Effect.Exception"];n["Control.Applicative"],n["Control.Semigroupoid"],n["Data.Either"],n["Data.Functor"],n["Data.Maybe"],n["Data.Show"],n.Effect,n.Prelude;t.throw=function(n){return r.throwException(r.error(n))}}(n["Effect.Exception"]=n["Effect.Exception"]||{}),function(t){"use strict";var r=n["Effect.Aff"],e=(n["Control.Alt"],n["Control.Alternative"],n["Control.Applicative"]),a=n["Control.Apply"],o=n["Control.Bind"],i=(n["Control.Lazy"],n["Control.Monad"]),u=(n["Control.Monad.Error.Class"],n["Control.Monad.Rec.Class"],n["Control.Parallel"]),c=n["Control.Parallel.Class"],f=(n["Control.Plus"],n["Control.Semigroupoid"],n["Data.Either"]),l=n["Data.Foldable"],s=n["Data.Function"],d=(n["Data.Function.Uncurried"],n["Data.Functor"]),p=n["Data.Monoid"],D=(n["Data.Newtype"],n["Data.Semigroup"]),m=(n["Data.Time.Duration"],n["Data.Unit"]),h=n.Effect,g=n["Effect.Class"],v=(n["Effect.Exception"],n["Effect.Unsafe"],n["Partial.Unsafe"]),w=(n.Prelude,n["Unsafe.Coerce"]),C=new d.Functor(r._parAffMap),y=new d.Functor(r._map),E={isLeft:function(n){if(n instanceof f.Left)return!0;if(n instanceof f.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 f.Left)return n.value0;if(n instanceof f.Right)return v.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 f.Right)return n.value0;if(n instanceof f.Left)return v.unsafeCrashWith("unsafeFromRight: Left");throw new Error("Failed pattern match at Effect.Aff (line 400, column 21 - line 402, column 31): "+[n.constructor.name])},left:f.Left.create,right:f.Right.create},S=function(n){return function(){var t=function(n){return r._makeFiber(E,n)}(n)();return t.run(),t}},A=new a.Apply(function(){return C},r._parAffApply),b=new i.Monad(function(){return M},function(){return _}),_=new o.Bind(function(){return F},r._bind),F=new a.Apply(function(){return y},i.ap(b)),M=new e.Applicative(function(){return F},r._pure),R=new g.MonadEffect(function(){return b},r._liftEffect),P=new c.Parallel(function(){return T},function(){return b},w.unsafeCoerce,r._sequential),T=new e.Applicative(function(){return A},function(n){return c.parallel(P)(e.pure(M)(n))}),I=new D.Semigroup(function(n){return function(t){return function(r){return u.parSequence_(P)(l.foldableArray)([n(r),t(r)])}}}),B=s.const(e.pure(M)(m.unit)),U=new p.Monoid(function(){return I},B);t.launchAff=S,t.launchAff_=function(n){return d.void(h.functorEffect)(S(n))},t.nonCanceler=B,t.functorAff=y,t.applyAff=F,t.applicativeAff=M,t.bindAff=_,t.monadAff=b,t.monadEffectAff=R,t.functorParAff=C,t.applyParAff=A,t.applicativeParAff=T,t.parallelAff=P,t.semigroupCanceler=I,t.monoidCanceler=U,t.makeAff=r.makeAff}(n["Effect.Aff"]=n["Effect.Aff"]||{}),function(t){"use strict";n["Node.Encoding"];var r=n["Data.Show"],e=(n.Prelude,function(){function n(){}return n.value=new n,n}()),a=function(){function n(){}return n.value=new n,n}(),o=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}(),c=function(){function n(){}return n.value=new n,n}(),f=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 a)return"UTF8";if(n instanceof o)return"UTF16LE";if(n instanceof i)return"UCS2";if(n instanceof u)return"Base64";if(n instanceof c)return"Latin1";if(n instanceof f)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=a,t.UTF16LE=o,t.UCS2=i,t.Base64=u,t.Latin1=c,t.Binary=f,t.Hex=l,t.encodingToNode=function(n){if(n instanceof e)return"ascii";if(n instanceof a)return"utf8";if(n instanceof o)return"utf16le";if(n instanceof i)return"ucs2";if(n instanceof u)return"base64";if(n instanceof c)return"latin1";if(n instanceof f)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["Node.Encoding"]=n["Node.Encoding"]||{}),function(t){"use strict";(n["Node.Process"]=n["Node.Process"]||{}).process=process}(),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(t){"use strict";var r=n["Node.Buffer"],e=(n["Control.Semigroupoid"],n["Data.ArrayBuffer.Types"],n["Data.Maybe"],n["Data.Show"],n.Effect,n["Node.Encoding"]);n.Prelude;t.toString=function(n){return r.toStringImpl(e.encodingToNode(n))}}(n["Node.Buffer"]=n["Node.Buffer"]||{}),function(t){"use strict";var r=n["Node.Stream"],e=n["Control.Applicative"],a=n["Control.Bind"],o=n["Data.Either"],i=(n["Data.Functor"],n["Data.Maybe"],n["Data.Show"]),u=n.Effect,c=n["Effect.Exception"],f=n["Node.Buffer"],l=n["Node.Encoding"],s=(n.Prelude,r.readChunkImpl(o.Left.create)(o.Right.create)),d=function(n){return function(t){return r.onDataEitherImpl(s)(n)(t)}},p=function(n){return function(t){return d(n)(a.composeKleisliFlipped(u.bindEffect)(t)(function(n){if(n instanceof o.Left)return c.throw("Stream encoding should not be set");if(n instanceof o.Right)return e.pure(u.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=p,t.onDataString=function(n){return function(t){return function(r){return p(n)(a.composeKleisliFlipped(u.bindEffect)(r)(f.toString(t)))}}},t.onDataEither=d,t.writeString=function(n){return function(t){return r.writeStringImpl(n)(i.show(l.showEncoding)(t))}},t.onEnd=r.onEnd}(n["Node.Stream"]=n["Node.Stream"]||{}),function(t){"use strict";var r=n["Node.Process"],e=(n["Data.Functor"],n["Data.Maybe"],n["Data.Posix"],n["Data.Posix.Signal"],n.Effect,n["Foreign.Object"],n["Node.Platform"],n["Node.Stream"],n.Prelude,n["Unsafe.Coerce"],r.process.stdout),a=r.process.stdin;t.stdin=a,t.stdout=e}(n["Node.Process"]=n["Node.Process"]||{}),function(t){"use strict";var r=n["Control.Applicative"],e=n["Control.Bind"],a=n["Control.Category"],o=(n["Control.Monad.ST"],n["Control.Monad.ST.Internal"]),i=n["Data.Array"],u=n["Data.Array.ST"],c=n["Data.Bounded"],f=n["Data.Either"],l=n["Data.Eq"],s=n["Data.EuclideanRing"],d=n["Data.Functor"],p=n["Data.Int"],D=n["Data.Maybe"],m=n["Data.Monoid"],h=n["Data.Ord"],g=(n["Data.Ring"],n["Data.Semigroup"],n["Data.Semiring"],n["Data.Show"]),v=(n["Data.String"],n["Data.String.Common"]),w=(n["Data.String.Pattern"],n["Data.Unit"]),C=(n["Debug.Trace"],n.Effect),y=n["Effect.Aff"],E=n["Effect.Class"],S=n["Effect.Ref"],A=n["Node.Encoding"],b=n["Node.Process"],_=n["Node.Stream"],F=n["Partial.Unsafe"],M=(n.Prelude,function(n){return f.either(function(n){return F.unsafeCrashWith(n)})(a.identity(a.categoryFn))((t=n,m=v.split("\n")(v.trim(t)),e.bind(f.bindEither)(f.note("n")(e.bind(D.bindMaybe)(i.head(m))(p.fromString)))(function(n){return e.bind(f.bindEither)(f.note("vs")(i.last(m)))(function(t){var e,a,m=i.mapMaybe(p.fromString)((e=t,v.split(" ")(e)));return r.pure(f.applicativeEither)(g.show(g.showInt)((a=n,function(n){return function(){var t=u.unsafeThaw(i.replicate(a)(1))(),r=u.unsafeThaw(i.replicate(a)(1))(),e={value:0};o.for(0)(a)(function(r){return function(){var a=D.fromJust()(i.index(n)(r)),c=s.gcd(l.eqInt)(s.euclideanRingInt)(e.value)(a);return d.void(o.functorST)(o.write(c)(e))(),d.void(o.functorST)(u.poke(r)(c)(t))()}})(),d.void(o.functorST)(o.write(0)(e))(),o.for(0)(a)(function(t){return function(){var c=D.fromJust()(i.index(n)((a-t|0)-1|0)),f=s.gcd(l.eqInt)(s.euclideanRingInt)(e.value)(c);return d.void(o.functorST)(o.write(f)(e))(),d.void(o.functorST)(u.poke((a-t|0)-1|0)(f)(r))()}})(),u.unsafeFreeze(t)(),u.unsafeFreeze(r)();var f={value:c.bottom(c.boundedInt)};return o.for(0)(a)(function(n){return function(){var e=d.map(o.functorST)(D.fromMaybe(0))(u.peek(n-1|0)(t))(),a=d.map(o.functorST)(D.fromMaybe(0))(u.peek(n+1|0)(r))();return d.void(o.functorST)(o.modify(h.max(h.ordInt)(s.gcd(l.eqInt)(s.euclideanRingInt)(e)(a)))(f))()}})(),f.value}()})(m))+"\n")})})));var t,m}),R=y.makeAff(function(n){return function(){var t=S.new("")();return _.onDataString(b.stdin)(A.UTF8.value)(function(n){return function(){var r=S.read(t)();return S.write(r+n)(t)()}})(),_.onEnd(b.stdin)(function(){var e=S.read(t)();return n(r.pure(f.applicativeEither)(e))()})(),m.mempty(y.monoidCanceler)}}),P=y.launchAff_(e.bind(y.bindAff)(R)(function(n){return e.bind(y.bindAff)(r.pure(y.applicativeAff)(M(n)))(function(n){return E.liftEffect(y.monadEffectAff)((t=n,d.void(C.functorEffect)(_.writeString(b.stdout)(A.UTF8.value)(t)(r.pure(C.applicativeEffect)(w.unit)))));var t})}));t.main=P,t.solve=M}(n.ABC125C=n.ABC125C||{}),n.ABC125C.main();
},{}]},{},["Focm"], null)