!function(p){"use strict";varI=function(){for(varn=[],e=0;e<arguments.length;e++)n[e]=arguments[e]},v=function(t,r){returnfunction(){for(varn=[],e=0;e<arguments.length;e++)n[e]=arguments[e];returnt(r.apply(null,n))}},A=function(n){returnfunction(){returnn}},h=function(n){returnn};functionl(r){for(varo=[],n=1;n<arguments.length;n++)o[n-1]=arguments[n];returnfunction(){for(varn=[],e=0;e<arguments.length;e++)n[e]=arguments[e];vart=o.concat(n);returnr.apply(null,t)}}varn,e,t,r,o,i,u,a,S=function(t){returnfunction(){for(varn=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return!t.apply(null,n)}},c=function(n){returnfunction(){thrownewError(n)}},s=function(n){returnn()},f=A(!1),d=A(!0),m=function(e){returnfunction(n){returnfunction(n){if(null===n)return"null";vare=typeofn;return"object"===e&&Array.prototype.isPrototypeOf(n)?"array":"object"===e&&String.prototype.isPrototypeOf(n)?"string":e}(n)===e}},b=m("string"),g=m("object"),y=m("array"),w=m("boolean"),x=m("function"),T=m("number"),O=Object.prototype.hasOwnProperty,k=function(u){returnfunction(){for(varn=newArray(arguments.length),e=0;e<n.length;e++)n[e]=arguments[e];if(0===n.length)thrownewError("Can't merge zero objects");for(vart={},r=0;r<n.length;r++){varo=n[r];for(variino)O.call(o,i)&&(t[i]=u(t[i],o[i]))}returnt}},C=k(function(n,e){returng(n)&&g(e)?C(n,e):e}),E=k(function(n,e){returne}),D=f,M=d,B=function(){returnR},R=(r={fold:function(n,e){returnn()},is:D,isSome:D,isNone:M,getOr:t=function(n){returnn},getOrThunk:e=function(n){returnn()},getOrDie:function(n){thrownewError(n||"error: getOrDie called on none.")},getOrNull:function(){returnnull},getOrUndefined:function(){returnundefined},or:t,orThunk:e,map:B,ap:B,each:function(){},bind:B,flatten:B,exists:D,forall:M,filter:B,equals:n=function(n){returnn.isNone()},equals_:n,toArray:function(){return[]},toString:A("none()")},Object.freeze&&Object.freeze(r),r),F=function(t){varn=function(){returnt},e=function(){returno},r=function(n){returnn(t)},o={fold:function(n,e){returne(t)},is:function(n){returnt===n},isSome:M,isNone:D,getOr:n,getOrThunk:n,getOrDie:n,getOrNull:n,getOrUndefined:n,or:e,orThunk:e,map:function(n){returnF(n(t))},ap:function(n){returnn.fold(B,function(n){returnF(n(t))})},each:function(n){n(t)},bind:r,flatten:n,exists:r,forall:r,filter:function(n){returnn(t)?o:R},equals:function(n){returnn.is(t)},equals_:function(n,e){returnn.fold(D,function(n){returne(t,n)})},toArray:function(){return[t]},toString:function(){return"some("+t+")"}};returno},V={some:F,none:B,from:function(n){returnnull===n||n===undefined?R:F(n)}},N=Object.keys,H=function(n,e){for(vart=N(n),r=0,o=t.length;r<o;r++){vari=t[r];e(n[i],i,n)}},z=function(n,r){returnj(n,function(n,e,t){return{k:e,v:r(n,e,t)}})},j=function(r,o){vari={};returnH(r,function(n,e){vart=o(n,e,r);i[t.k]=t.v}),i},L=function(n,t){varr=[];returnH(n,function(n,e){r.push(t(n,e))}),r},U=A("touchstart"),P=A("touchmove"),$=A("touchend"),W=A("mousedown"),G=A("mousemove"),_=A("mouseup"),q=A("mouseover"),Y=A("keydown"),K=A("input"),X=A("change"),J=A("click"),Q=A("transitionend"),Z=A("selectstart"),nn=function(t){varr,o=!1;returnfunction(){for(varn=[],e=0;e<arguments.length;e++)n[e]=arguments[e];returno||(o=!0,r=t.apply(null,n)),r}},en=function(n,e){vart=function(n,e){for(vart=0;t<n.length;t++){varr=n[t];if(r.test(e))returnr}returnundefined}(n,e);if(!t)return{major:0,minor:0};varr=function(n){returnNumber(e.replace(t,"$"+n))};returnrn(r(1),r(2))},tn=function(){returnrn(0,0)},rn=function(n,e){return{major:n,minor:e}},on={nu:rn,detect:function(n,e){vart=String(e).toLowerCase();return0===n.length?tn():en(n,t)},unknown:tn},un="Firefox",an=function(n,e){returnfunction(){returne===n}},cn=function(n){vare=n.current;return{current:e,version:n.version,isEdge:an("Edge",e),isChrome:an("Chrome",e),isIE:an("IE",e),isOpera:an("Opera",e),isFirefox:an(un,e),isSafari:an("Safari",e)}},sn={unknown:function(){returncn({current:undefined,version:on.unknown()})},nu:cn,edge:A("Edge"),chrome:A("Chrome"),ie:A("IE"),opera:A("Op