!function(){"use strict";varo=function(){for(vare=[],t=0;t<arguments.length;t++)e[t]=arguments[t]},H=function(n,r){returnfunction(){for(vare=[],t=0;t<arguments.length;t++)e[t]=arguments[t];returnn(r.apply(null,e))}},q=function(e){returnfunction(){returne}},$=function(e){returne};functiond(r){for(varo=[],e=1;e<arguments.length;e++)o[e-1]=arguments[e];returnfunction(){for(vare=[],t=0;t<arguments.length;t++)e[t]=arguments[t];varn=o.concat(e);returnr.apply(null,n)}}vare,t,n,r,i,a,u,s,c,l,f,m,g,p,h,v,b,y=function(n){returnfunction(){for(vare=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return!n.apply(null,e)}},C=q(!1),x=q(!0),w=C,N=x,E=function(){returnS},S=(r={fold:function(e,t){returne()},is:w,isSome:w,isNone:N,getOr:n=function(e){returne},getOrThunk:t=function(e){returne()},getOrDie:function(e){thrownewError(e||"error: getOrDie called on none.")},getOrNull:function(){returnnull},getOrUndefined:function(){returnundefined},or:n,orThunk:t,map:E,ap:E,each:function(){},bind:E,flatten:E,exists:w,forall:N,filter:E,equals:e=function(e){returne.isNone()},equals_:e,toArray:function(){return[]},toString:q("none()")},Object.freeze&&Object.freeze(r),r),k=function(n){vare=function(){returnn},t=function(){returno},r=function(e){returne(n)},o={fold:function(e,t){returnt(n)},is:function(e){returnn===e},isSome:N,isNone:w,getOr:e,getOrThunk:e,getOrDie:e,getOrNull:e,getOrUndefined:e,or:t,orThunk:t,map:function(e){returnk(e(n))},ap:function(e){returne.fold(E,function(e){returnk(e(n))})},each:function(e){e(n)},bind:r,flatten:e,exists:r,forall:r,filter:function(e){returne(n)?o:S},equals:function(e){returne.is(n)},equals_:function(e,t){returne.fold(w,function(e){returnt(n,e)})},toArray:function(){return[n]},toString:function(){return"some("+n+")"}};returno},A={some:k,none:E,from:function(e){returnnull===e||e===undefined?S:k(e)}},T=function(t){returnfunction(e){returnfunction(e){if(null===e)return"null";vart=typeofe;return"object"===t&&Array.prototype.isPrototypeOf(e)?"array":"object"===t&&String.prototype.isPrototypeOf(e)?"string":t}(e)===t}},R=T("string"),D=T("object"),B=T("array"),O=T("null"),_=T("boolean"),P=T("function"),I=T("number"),L=(i=Array.prototype.indexOf)===undefined?function(e,t){returnX(e,t)}:function(e,t){returni.call(e,t)},M=function(e,t){return-1<L(e,t)},W=function(e,t){for(varn=e.length,r=newArray(n),o=0;o<n;o++){vari=e[o];r[o]=t(i,o,e)}returnr},F=function(e,t){for(varn=0,r=e.length;n<r;n++)t(e[n],n,e)},K=function(e,t){for(varn=[],r=[],o=0,i=e.length;o<i;o++){vara=e[o];(t(a,o,e)?n:r).push(a)}return{pass:n,fail:r}},U=function(e,t){for(varn=[],r=0,o=e.length;r<o;r++){vari=e[r];t(i,r,e)&&n.push(i)}returnn},z=function(e,t,n){returnF(e,function(e){n=t(n,e)}),n},V=function(e,t){for(varn=0,r=e.length;n<r;n++){varo=e[n];if(t(o,n,e))returnA.some(o)}returnA.none()},j=function(e,t){for(varn=0,r=e.length;n<r;n++)if(t(e[n],n,e))returnA.some(n);returnA.none()},X=function(e,t){for(varn=0,r=e.length;n<r;++n)if(e[n]===t)returnn;return-1},Y=Array.prototype.push,G=function(e,t){returnfunction(e){for(vart=[],n=0,r=e.length;n<r;++n){if(!Array.prototype.isPrototypeOf(e[n]))thrownewError("Arr.flatten item "+n+" was not an array, input: "+e);Y.apply(t,e[n])}returnt}(W(e,t))},J=function(e,t){for(varn=0,r=e.length;n<r;++n)if(!0!==t(e[n],n,e))return!1;return!0},Q=Array.prototype.slice,Z=function(e,t){returnU(e,function(e){return!M(t,e)})},ee=function(e){return0===e.length?A.none():A.some(e[0])},te=function(e){return0===e.length?A.none():A.some(e[e.length-1])},ne=P(Array.from)?Array.from:function(e){returnQ.call(e)},re="undefined"!=typeofwindow?window:Function("return this;")(),oe=function(e,t){returnfunction(e,t){for(varn=t!==undefined&&null!==t?t:re,r=0;r<e.length&&n!==undefined&&null!==n;++r)n=n[e[r]];returnn}(e.split("."),t)},ie={getOrDie:function(e,t){varn=oe(e,t);if(n===undefined||null===n)throwe+" not available on this browser";returnn}},ae=function(){returnie.getOrDie("URL")},ue={createObjectURL:function(e){returnae().createObjectURL(e)},revokeObjectURL:funct