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,u=new Array(r*e),o=0,i=0;i<r;i++)for(var a=n[i],c=0;c<e;c++)u[o++]=a(t[c]);return u}}}(),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},u=new e(function(){return r.semigroupoidFn},function(n){return n});t.Category=e,t.identity=function(n){return n.identity},t.categoryFn=u}(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.Functor"]=n["Data.Functor"]||{}).arrayMap=function(n){return function(t){for(var r=t.length,e=new Array(r),u=0;u<r;u++)e[u]=n(t[u]);return e}}}(),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.Functor"],e=n["Data.Function"],u=n["Data.Unit"],o=function(n){this.map=n},i=function(n){return n.map},a=new o(r.arrayMap);t.Functor=o,t.map=i,t.void=function(n){return i(n)(e.const(u.unit))},t.functorArray=a}(n),function(n){"use strict";n["Control.Apply"]=n["Control.Apply"]||{};var t=n["Control.Apply"],r=n["Control.Apply"],e=n["Control.Category"],u=n["Data.Function"],o=n["Data.Functor"],i=function(n,t){this.Functor0=n,this.apply=t},a=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())(u.const(e.identity(e.categoryFn)))(t))(r)}}},t.applyArray=a}(n),function(n){"use strict";n["Control.Applicative"]=n["Control.Applicative"]||{};var t=n["Control.Applicative"],r=n["Control.Apply"],e=n["Data.Unit"],u=function(n){return n.pure};t.Applicative=function(n,t){this.Apply0=n,this.pure=t},t.pure=u,t.liftA1=function(n){return function(t){return function(e){return r.apply(n.Apply0())(u(n)(t))(e)}}},t.when=function(n){return function(t){return function(r){if(t)return r;if(!t)return u(n)(e.unit);throw new Error("Failed pattern match at Control.Applicative (line 57, column 1 - line 57, column 63): "+[t.constructor.name,r.constructor.name])}}}}(n),function(t){"use strict";(n["Control.Bind"]=n["Control.Bind"]||{}).arrayBind=function(n){return function(t){for(var r=[],e=0,u=n.length;e<u;e++)Array.prototype.push.apply(r,t(n[e]));return r}}}(),function(n){"use strict";n["Control.Bind"]=n["Control.Bind"]||{};var t=n["Control.Bind"],r=n["Control.Bind"],e=n["Control.Apply"],u=n["Data.Function"],o=function(n,t){this.Apply0=n,this.bind=t},i=new o(function(){return e.applyArray},r.arrayBind),a=function(n){return n.bind},c=function(n){return u.flip(a(n))};t.Bind=o,t.bind=a,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),function(n){"use strict";n.range=function(n){return function(t){for(var r=n>t?-1:1,e=new Array(r*(t-n)+1),u=n,o=0;u!==t;)e[o++]=u,u+=r;return e[o]=u,e}},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.sortImpl=function(n){return function(t){return t.slice().sort(function(t,r){return n(t)(r)})}},n.slice=function(n){return function(t){return function(r){return r.slice(n,t)}}},n.zipWith=function(n){return function(t){return function(r){for(var e=t.length<r.length?t.length:r.length,u=new Array(e),o=0;o<e;o++)u[o]=n(t[o])(r[o]);return u}}}}(n["Data.Array"]=n["Data.Array"]||{}),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.foreach=function(n){return function(t){return function(){for(var r=0,e=n.length;r<e;r++)t(n[r])()}}}}(n["Control.Monad.ST.Internal"]=n["Control.Monad.ST.Internal"]||{}),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(u){return e.bind(n.Bind1())(t)(function(t){return e.bind(n.Bind1())(u)(function(e){return r.pure(n.Applicative0())(t(e))})})}}}}(n),function(n){"use strict";n["Control.Monad.ST.Internal"]=n["Control.Monad.ST.Internal"]||{};var t=n["Control.Monad.ST.Internal"],r=n["Control.Monad.ST.Internal"],e=n["Control.Applicative"],u=n["Control.Apply"],o=n["Control.Bind"],i=n["Control.Monad"],a=new n["Data.Functor"].Functor(r.map_),c=new i.Monad(function(){return s},function(){return f}),f=new o.Bind(function(){return l},r.bind_),l=new u.Apply(function(){return a},i.ap(c)),s=new e.Applicative(function(){return l},r.pure_);t.functorST=a,t.applyST=l,t.applicativeST=s,t.bindST=f,t.monadST=c,t.foreach=r.foreach}(n),function(t){"use strict";(n["Data.Array.ST"]=n["Data.Array.ST"]||{}).pushAll=function(n){return function(t){return function(){return t.push.apply(t,n)}}}}(),function(n){"use strict";n["Data.Array.ST"]=n["Data.Array.ST"]||{};var t=n["Data.Array.ST"],r=n["Data.Array.ST"],e=n["Control.Applicative"],u=n["Control.Monad.ST.Internal"];t.push=function(n){return r.pushAll([n])},t.unsafeFreeze=function(n){return e.pure(u.applicativeST)(n)},t.unsafeThaw=function(n){return e.pure(u.applicativeST)(n)}}(n),function(t){"use strict";(n["Data.Eq"]=n["Data.Eq"]||{}).refEq=function(n){return function(t){return n===t}}}(),function(n){"use strict";n["Data.Eq"]=n["Data.Eq"]||{};var t=n["Data.Eq"],r=n["Data.Eq"],e=function(n){this.eq=n},u=new e(r.refEq),o=new e(r.refEq),i=function(n){return n.eq};t.Eq=e,t.eq=i,t.notEq=function(n){return function(t){return function(r){return i(o)(i(n)(t)(r))(!1)}}},t.eqBoolean=o,t.eqInt=u}(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(u){if(u instanceof r)return n;if(u instanceof e)return t(u.value0);throw new Error("Failed pattern match at Data.Maybe (line 217, column 1 - line 217, column 51): "+[n.constructor.name,t.constructor.name,u.constructor.name])}}},t.fromJust=function(n){return function(n){if(n instanceof e)return n.value0;throw new Error("Failed pattern match at Data.Maybe (line 268, column 1 - line 268, column 46): "+[n.constructor.name])}}}(n),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(u){return e<u?n:e===u?t:r}}}}}}(),function(n){"use strict";n["Data.Ordering"]=n["Data.Ordering"]||{};var t=n["Data.Ordering"],r=n["Data.Eq"],e=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}(),i=new r.Eq(function(n){return function(t){return n instanceof e&&t instanceof e||(n instanceof u&&t instanceof u||n instanceof o&&t instanceof o)}});t.LT=e,t.GT=u,t.EQ=o,t.eqOrdering=i}(n),function(n){"use strict";n["Data.Ord.Unsafe"]=n["Data.Ord.Unsafe"]||{};var t=n["Data.Ord.Unsafe"],r=n["Data.Ord.Unsafe"],e=n["Data.Ordering"],u=r.unsafeCompareImpl(e.LT.value)(e.EQ.value)(e.GT.value);t.unsafeCompare=u}(n),function(n){"use strict";n["Data.Ord"]=n["Data.Ord"]||{};var t=n["Data.Ord"],r=n["Data.Eq"],e=n["Data.Ord.Unsafe"],u=n["Data.Ordering"],o=function(n,t){this.Eq0=n,this.compare=t},i=new o(function(){return r.eqInt},e.unsafeCompare),a=function(n){return n.compare};t.Ord=o,t.compare=a,t.comparing=function(n){return function(t){return function(r){return function(e){return a(n)(t(r))(t(e))}}}},t.min=function(n){return function(t){return function(r){var e=a(n)(t)(r);if(e instanceof u.LT)return t;if(e instanceof u.EQ)return t;if(e instanceof u.GT)return r;throw new Error("Failed pattern match at Data.Ord (line 119, column 3 - line 122, column 12): "+[e.constructor.name])}}},t.max=function(n){return function(t){return function(r){var e=a(n)(t)(r);if(e instanceof u.LT)return r;if(e instanceof u.EQ)return t;if(e instanceof u.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),function(n){"use strict";n["Data.Tuple"]=n["Data.Tuple"]||{};var t=n["Data.Tuple"],r=function(){function n(n,t){this.value0=n,this.value1=t}return n.create=function(t){return function(r){return new n(t,r)}},n}();t.Tuple=r,t.fst=function(n){return n.value0},t.snd=function(n){return n.value1}}(n),function(n){"use strict";n["Data.Array"]=n["Data.Array"]||{};var t=n["Data.Array"],r=n["Data.Array"],e=n["Control.Applicative"],u=n["Control.Bind"],o=n["Control.Monad.ST.Internal"],i=n["Data.Array.ST"],a=n["Data.Eq"],c=n["Data.Function"],f=n["Data.Functor"],l=n["Data.Maybe"],s=n["Data.Ord"],p=n["Data.Ordering"],d=n["Data.Tuple"],h=function(n){return function(t){return r.sortImpl(function(t){return function(r){var e=n(t)(r);if(e instanceof p.GT)return 1;if(e instanceof p.EQ)return 0;if(e instanceof p.LT)return-1;throw new Error("Failed pattern match at Data.Array (line 702, column 15 - line 707, column 1): "+[e.constructor.name])}})(t)}},m=function(n){return function(t){return h(s.comparing(n)(t))}},w=function(n){return[n]},v=function(n){return function(t){return r.zipWith(n)(r.range(0)(r.length(t)-1|0))(t)}},g=r.indexImpl(l.Just.create)(l.Nothing.value),E=function(n){return g(n)(r.length(n)-1|0)},D=function(n){return g(n)(0)},y=function(n){return function(t){var r,u=h(function(t){return function(r){return n(d.snd(t))(d.snd(r))}})(v(d.Tuple.create)(t)),c=D(u);if(c instanceof l.Nothing)return[];if(c instanceof l.Just)return f.map(f.functorArray)(d.snd)(m(s.ordInt)(d.fst)((r=i.unsafeThaw(w(c.value0))(),o.foreach(u)(function(t){return function(){var u=f.map(o.functorST)(function(n){return d.snd((t=n,l.fromJust()(E(t))));var t})(i.unsafeFreeze(r))();return e.when(o.applicativeST)(a.notEq(p.eqOrdering)(n(u)(t.value1))(p.EQ.value))(f.void(o.functorST)(i.push(t)(r)))()}})(),i.unsafeFreeze(r)())));throw new Error("Failed pattern match at Data.Array (line 903, column 17 - line 911, column 29): "+[c.constructor.name])}},A=c.flip(u.bind(u.bindArray));t.singleton=w,t.head=D,t.last=E,t.index=g,t.concatMap=A,t.mapMaybe=function(n){return A(function(t){return l.maybe([])(w)(n(t))})},t.mapWithIndex=v,t.sort=function(n){return function(t){return h(s.compare(n))(t)}},t.sortBy=h,t.sortWith=m,t.nub=function(n){return y(s.compare(n))},t.nubBy=y,t.range=r.range}(n),function(n){"use strict";n["Data.Either"]=n["Data.Either"]||{};var t=n["Data.Either"],r=n["Control.Applicative"],e=n["Control.Apply"],u=n["Control.Bind"],o=n["Data.Functor"],i=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 o.Functor(function(n){return function(t){if(t instanceof i)return new i(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])}}),f=function(n){return function(t){return function(r){if(r instanceof i)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])}}},l=new e.Apply(function(){return c},function(n){return function(t){if(n instanceof i)return new i(n.value0);if(n instanceof a)return o.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])}}),s=new u.Bind(function(){return l},f(function(n){return function(t){return new i(n)}})(function(n){return function(t){return t(n)}})),p=new r.Applicative(function(){return l},a.create);t.Left=i,t.Right=a,t.either=f,t.functorEither=c,t.applyEither=l,t.applicativeEither=p,t.bindEither=s}(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 u=new RegExp("^[\\+\\-]?"+e+"+$","i");return function(e){if(u.test(e)){var o=parseInt(e,r);return(0|o)===o?n(o):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"],u=r.fromStringAsImpl(e.Just.create)(e.Nothing.value),o=u(10);t.fromString=o,t.fromStringAs=u}(n),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(t){"use strict";(n["Data.Semigroup"]=n["Data.Semigroup"]||{}).concatArray=function(n){return function(t){return 0===n.length?t:0===t.length?n:n.concat(t)}}}(),function(n){"use strict";n["Data.Semigroup"]=n["Data.Semigroup"]||{};var t=n["Data.Semigroup"],r=function(n){this.append=n},e=new r(n["Data.Semigroup"].concatArray);t.Semigroup=r,t.append=function(n){return n.append},t.semigroupArray=e}(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(n){"use strict";n.split=function(n){return function(t){return t.split(n)}},n.trim=function(n){return n.trim()},n.joinWith=function(n){return function(t){return t.join(n)}}}(n["Data.String.Common"]=n["Data.String.Common"]||{}),function(n){"use strict";n["Data.String.Common"]=n["Data.String.Common"]||{};var t=n["Data.String.Common"],r=n["Data.String.Common"];t.split=r.split,t.trim=r.trim,t.joinWith=r.joinWith}(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"],u=n["Control.Apply"],o=n["Control.Bind"],i=n["Control.Monad"],a=n["Data.Functor"],c=new i.Monad(function(){return s},function(){return f}),f=new o.Bind(function(){return l},r.bindE),l=new u.Apply(function(){return p},i.ap(c)),s=new e.Applicative(function(){return l},r.pureE),p=new a.Functor(e.liftA1(s));t.functorEffect=p,t.applyEffect=l,t.applicativeEffect=s,t.bindEffect=f,t.monadEffect=c}(n),function(n){"use strict";var t=function(){var n={},t="Pure",r="Throw",e="Catch",u="Sync",o="Async",i="Bind",a="Bracket",c="Fork",f="Sequential",l="Map",s="Apply",p="Alt",d="Cons",h="Resume",m="Release",w="Finalizer",v="Finalized",g="Forked";function E(n,t,r,e){this.tag=n,this._1=t,this._2=r,this._3=e}function D(n){var t=function(t,r,e){return new E(n,t,r,e)};return t.tag=n,t}function y(n){return new E(t,void 0)}function A(n){try{n()}catch(t){setTimeout(function(){throw t},0)}}function C(n,t,r){try{return t(r())}catch(e){return n(e)}}function _(n,t,r){try{return t(r)()}catch(e){return r(n(e))(),y}}var S=function(){var n=1024,t=0,r=0,e=new Array(n),u=!1;function o(){var o;for(u=!0;0!==t;)t--,o=e[r],e[r]=void 0,r=(r+1)%n,o();u=!1}return{isDraining:function(){return u},enqueue:function(i){var a;t===n&&(a=u,o(),u=a),e[(r+t)%n]=i,t++,u||o()}}}();var b=0,F=1,T=2,P=3,B=4,k=5,I=6;function M(n,l,s){var p=0,g=b,D=s,y=null,U=null,N=null,L=null,O=null,R=0,x=0,W=null,z=!0;function j(s){for(var x,J,Q;;)switch(x=null,J=null,Q=null,g){case T:g=F,D=N(D),null===L?N=null:(N=L._1,L=L._2);break;case P:n.isLeft(D)?(g=k,y=D,D=null):null===N?g=k:(g=T,D=n.fromRight(D));break;case F:switch(D.tag){case i:N&&(L=new E(d,N,L)),N=D._2,g=F,D=D._1;break;case t:null===N?(g=k,D=n.right(D._1)):(g=T,D=D._1);break;case u:g=P,D=C(n.left,n.right,D._1);break;case o:return g=B,void(D=_(n.left,D._1,function(n){return function(){p===s&&(p++,S.enqueue(function(){p===s+1&&(g=P,D=n,j(p))}))}}));case r:g=k,y=n.left(D._1),D=null;break;case e:O=new E(d,D,null===N?O:new E(d,new E(h,N,L),O,U),U),N=null,L=null,g=F,D=D._1;break;case a:R++,O=new E(d,D,null===N?O:new E(d,new E(h,N,L),O,U),U),N=null,L=null,g=F,D=D._1;break;case c:g=P,x=M(n,l,D._2),l&&l.register(x),D._1&&x.run(),D=n.right(x);break;case f:g=F,D=q(n,l,D._1)}break;case k:if(N=null,L=null,null===O)g=I,D=U||y||D;else switch(x=O._3,Q=O._1,O=O._2,Q.tag){case e:U&&U!==x&&0===R?g=k:y&&(g=F,D=Q._2(n.fromLeft(y)),y=null);break;case h:U&&U!==x&&0===R||y?g=k:(N=Q._1,L=Q._2,g=T,D=n.fromRight(D));break;case a:R--,null===y&&(J=n.fromRight(D),O=new E(d,new E(m,Q._2,J),O,x),(U===x||R>0)&&(g=F,D=Q._3(J)));break;case m:O=new E(d,new E(v,D,y),O,U),g=F,D=U&&U!==x&&0===R?Q._1.killed(n.fromLeft(U))(Q._2):y?Q._1.failed(n.fromLeft(y))(Q._2):Q._1.completed(n.fromRight(D))(Q._2),y=null,R++;break;case w:R++,O=new E(d,new E(v,D,y),O,U),g=F,D=Q._1;break;case v:R--,g=k,D=Q._1,y=Q._2}break;case I:for(var G in W)W.hasOwnProperty(G)&&(z=z&&W[G].rethrow,A(W[G].handler(D)));return W=null,void(U&&y?setTimeout(function(){throw n.fromLeft(y)},0):n.isLeft(D)&&z&&setTimeout(function(){if(z)throw n.fromLeft(D)},0));case b:g=F;break;case B:return}}function J(n){return function(){if(g===I)return z=z&&n.rethrow,n.handler(D)(),function(){};var t=x++;return(W=W||{})[t]=n,function(){null!==W&&delete W[t]}}}return{kill:function(t,r){return function(){if(g===I)return r(n.right(void 0))(),function(){};var e=J({rethrow:!1,handler:function(){return r(n.right(void 0))}})();switch(g){case b:U=n.left(t),g=I,D=U,j(p);break;case B:null===U&&(U=n.left(t)),0===R&&(g===B&&(O=new E(d,new E(w,D(t)),O,U)),g=k,D=null,y=null,j(++p));break;default:null===U&&(U=n.left(t)),0===R&&(g=k,D=null,y=null)}return e}},join:function(n){return function(){var t=J({rethrow:!1,handler:n})();return g===b&&j(p),t}},onComplete:J,isSuspended:function(){return g===b},run:function(){g===b&&(S.isDraining()?j(p):S.enqueue(function(){j(p)}))}}}function U(t,r,e,u){var i=0,a={},c=0,f={},h=new Error("[ParAff] Early exit"),m=null,w=n;function v(r,e,u){var o,i,c=e,f=null,h=null,m=0,w={};n:for(;;)switch(o=null,c.tag){case g:if(c._3===n&&(o=a[c._1],w[m++]=o.kill(r,function(n){return function(){0===--m&&u(n)()}})),null===f)break n;c=f._2,null===h?f=null:(f=h._1,h=h._2);break;case l:c=c._2;break;case s:case p:f&&(h=new E(d,f,h)),f=c,c=c._1}if(0===m)u(t.right(void 0))();else for(i=0,o=m;i<o;i++)w[i]=w[i]();return w}function D(r){return function(e){return function(){delete a[r._1],r._3=e,function r(e,o,i){var a,d,w,g,E,D;for(t.isLeft(e)?(a=e,d=null):(d=e,a=null);;){if(w=null,g=null,E=null,D=null,null!==m)return;if(null===o)return void u(a||d)();if(o._3!==n)return;switch(o.tag){case l:null===a?(o._3=t.right(o._1(t.fromRight(d))),d=o._3):o._3=a;break;case s:if(w=o._1._3,g=o._2._3,a){if(o._3=a,E=!0,D=c++,f[D]=v(h,a===w?o._2:o._1,function(){return function(){delete f[D],E?E=!1:null===i?r(a,null,null):r(a,i._1,i._2)}}),E)return void(E=!1)}else{if(w===n||g===n)return;d=t.right(t.fromRight(w)(t.fromRight(g))),o._3=d}break;case p:if(w=o._1._3,g=o._2._3,w===n&&t.isLeft(g)||g===n&&t.isLeft(w))return;if(w!==n&&t.isLeft(w)&&g!==n&&t.isLeft(g))a=d===w?g:w,d=null,o._3=a;else if(o._3=d,E=!0,D=c++,f[D]=v(h,d===w?o._2:o._1,function(){return function(){delete f[D],E?E=!1:null===i?r(d,null,null):r(d,i._1,i._2)}}),E)return void(E=!1)}null===i?o=null:(o=i._1,i=i._2)}}(e,r._2._1,r._2._2)}}}return function(){var u,o,c=F,f=e,h=null,m=null;n:for(;;)switch(u=null,o=null,c){case F:switch(f.tag){case l:h&&(m=new E(d,h,m)),h=new E(l,f._1,n,n),f=f._2;break;case s:h&&(m=new E(d,h,m)),h=new E(s,n,f._2,n),f=f._1;break;case p:h&&(m=new E(d,h,m)),h=new E(p,n,f._2,n),f=f._1;break;default:o=i++,c=k,u=f,f=new E(g,o,new E(d,h,m),n),(u=M(t,r,u)).onComplete({rethrow:!1,handler:D(f)})(),a[o]=u,r&&r.register(u)}break;case k:if(null===h)break n;h._1===n?(h._1=f,c=F,f=h._2,h._2=n):(h._2=f,f=h,null===m?h=null:(h=m._1,m=m._2))}for(w=f,o=0;o<i;o++)a[o].run()}(),function(n){return new E(o,function(r){return function(){return function(n,r){var e;for(var u in m=t.left(n),f)if(f.hasOwnProperty(u))for(u in e=f[u])e.hasOwnProperty(u)&&e[u]();f=null;var i=v(n,w,r);return function(n){return new E(o,function(n){return function(){for(var n in i)i.hasOwnProperty(n)&&i[n]();return y}})}}(n,r)}})}}function q(n,t,r){return new E(o,function(e){return function(){return U(n,t,r,e)}})}return E.EMPTY=n,E.Pure=D(t),E.Throw=D(r),E.Catch=D(e),E.Sync=D(u),E.Async=D(o),E.Bind=D(i),E.Bracket=D(a),E.Fork=D(c),E.Seq=D(f),E.ParMap=D(l),E.ParApply=D(s),E.ParAlt=D(p),E.Fiber=M,E.Supervisor=function(n){var t={},r=0,e=0;return{register:function(n){var u=r++;n.onComplete({rethrow:!0,handler:function(n){return function(){e--,delete t[u]}}}),t[u]=n,e++},isEmpty:function(){return 0===e},killAll:function(o,i){return function(){if(0===e)return i();var a=0,c={};function f(r){c[r]=t[r].kill(o,function(t){return function(){delete c[r],a--,n.isLeft(t)&&n.fromLeft(t)&&setTimeout(function(){throw n.fromLeft(t)},0),0===a&&i()}})()}for(var l in t)t.hasOwnProperty(l)&&(a++,f(l));return t={},r=0,e=0,function(n){return new E(u,function(){for(var n in c)c.hasOwnProperty(n)&&c[n]()})}}}}},E.Scheduler=S,E.nonCanceler=y,E}();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["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,u=r.length-1;u>=0;u--)e=n(r[u])(e);return e}}},n.foldlArray=function(n){return function(t){return function(r){for(var e=t,u=r.length,o=0;o<u;o++)e=n(e)(r[o]);return e}}}}(n["Data.Foldable"]=n["Data.Foldable"]||{}),function(n){"use strict";n["Data.Foldable"]=n["Data.Foldable"]||{};var t=n["Data.Foldable"],r=n["Data.Foldable"],e=n["Control.Applicative"],u=n["Control.Apply"],o=n["Data.Monoid"],i=n["Data.Semigroup"],a=n["Data.Unit"],c=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 u.applySecond(n.Apply0())(r(t))})(e.pure(n)(a.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"],u=n["Data.Foldable"],o=function(n){return function(t){return function(r){return function(o){return e.sequential(n)(u.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),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"],u=n["Control.Apply"],o=n["Control.Bind"],i=n["Control.Monad"],a=n["Control.Parallel"],c=n["Control.Parallel.Class"],f=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"],g=n["Partial.Unsafe"],E=n["Unsafe.Coerce"],D=new p.Functor(r._parAffMap),y=new p.Functor(r._map),A={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 g.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 g.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},C=function(n){return function(){var t=function(n){return r._makeFiber(A,n)}(n)();return t.run(),t}},_=new u.Apply(function(){return D},r._parAffApply),S=new i.Monad(function(){return T},function(){return b}),b=new o.Bind(function(){return F},r._bind),F=new u.Apply(function(){return y},i.ap(S)),T=new e.Applicative(function(){return F},r._pure),P=new v.MonadEffect(function(){return S},r._liftEffect),B=new c.Parallel(function(){return k},function(){return S},E.unsafeCoerce,r._sequential),k=new e.Applicative(function(){return _},function(n){return c.parallel(B)(e.pure(T)(n))}),I=new h.Semigroup(function(n){return function(t){return function(r){return a.parSequence_(B)(l.foldableArray)([n(r),t(r)])}}}),M=s.const(e.pure(T)(m.unit)),U=new d.Monoid(function(){return I},M);t.launchAff=C,t.launchAff_=function(n){return p.void(w.functorEffect)(C(n))},t.nonCanceler=M,t.functorAff=y,t.applyAff=F,t.applicativeAff=T,t.bindAff=b,t.monadAff=S,t.monadEffectAff=P,t.functorParAff=D,t.applyParAff=_,t.applicativeParAff=k,t.parallelAff=B,t.semigroupCanceler=I,t.monoidCanceler=U,t.makeAff=r.makeAff}(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}(),u=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}(),a=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 u)return"UTF8";if(n instanceof o)return"UTF16LE";if(n instanceof i)return"UCS2";if(n instanceof a)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=u,t.UTF16LE=o,t.UCS2=i,t.Base64=a,t.Latin1=c,t.Binary=f,t.Hex=l,t.encodingToNode=function(n){if(n instanceof e)return"ascii";if(n instanceof u)return"utf8";if(n instanceof o)return"utf16le";if(n instanceof i)return"ucs2";if(n instanceof a)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),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,u=r.process.stdin;t.stdin=u,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(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(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"],u=n["Control.Bind"],o=n["Data.Either"],i=n["Data.Show"],a=n.Effect,c=n["Effect.Exception"],f=n["Node.Buffer"],l=n["Node.Encoding"],s=r.readChunkImpl(o.Left.create)(o.Right.create),p=function(n){return function(t){return r.onDataEitherImpl(s)(n)(t)}},d=function(n){return function(t){return p(n)(u.composeKleisliFlipped(a.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(a.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)(u.composeKleisliFlipped(a.bindEffect)(r)(f.toString(t)))}}},t.onDataEither=p,t.writeString=function(n){return function(t){return r.writeStringImpl(n)(i.show(l.showEncoding)(t))}},t.onEnd=r.onEnd}(n),function(n){"use strict";n.ABC093B=n.ABC093B||{};var t=n.ABC093B,r=n["Control.Applicative"],e=n["Control.Bind"],u=n["Control.Category"],o=n["Data.Array"],i=n["Data.Either"],a=n["Data.Functor"],c=n["Data.Int"],f=n["Data.Monoid"],l=n["Data.Ord"],s=n["Data.Semigroup"],p=n["Data.Show"],d=n["Data.String.Common"],h=n["Data.Unit"],m=n.Effect,w=n["Effect.Aff"],v=n["Effect.Class"],g=n["Effect.Ref"],E=n["Node.Encoding"],D=n["Node.Process"],y=n["Node.Stream"],A=n["Partial.Unsafe"],C=function(n){return i.either(function(n){return A.unsafeCrashWith(n)})(u.identity(u.categoryFn))(e.bind(i.bindEither)(3===(f=o.mapMaybe(c.fromString)((t=d.trim(n),d.split(" ")(t)))).length?new i.Right({a:f[0],b:f[1],k:f[2]}):new i.Left("a b k"))(function(n){return r.pure(i.applicativeEither)(d.joinWith("\n")(a.map(a.functorArray)(p.show(p.showInt))((t=n.a,function(n){return function(r){var e=o.range(l.max(l.ordInt)(t)(1+(n-r|0)|0))(n),u=o.range(t)(l.min(l.ordInt)((t+r|0)-1|0)(n));return o.sort(l.ordInt)(o.nub(l.ordInt)(s.append(s.semigroupArray)(u)(e)))}})(n.b)(n.k)))+"\n");var t}));var t,f},_=w.makeAff(function(n){return function(){var t=g.new("")();return y.onDataString(D.stdin)(E.UTF8.value)(function(n){return function(){var r=g.read(t)();return g.write(r+n)(t)()}})(),y.onEnd(D.stdin)(function(){var e=g.read(t)();return n(r.pure(i.applicativeEither)(e))()})(),f.mempty(w.monoidCanceler)}}),S=w.launchAff_(e.bind(w.bindAff)(_)(function(n){return e.bind(w.bindAff)(r.pure(w.applicativeAff)(C(n)))(function(n){return v.liftEffect(w.monadEffectAff)((t=n,a.void(m.functorEffect)(y.writeString(D.stdout)(E.UTF8.value)(t)(r.pure(m.applicativeEffect)(h.unit)))));var t})}));t.main=S,t.solve=C}(n),n.ABC093B.main();
},{}]},{},["Focm"], null)

Measured memory_bytes: 11280