!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="868b3621-c85c-45aa-8980-b901d942e941",t._sentryDebugIdIdentifier="sentry-dbid-868b3621-c85c-45aa-8980-b901d942e941")}catch(t){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1034],{50840:(t,e,n)=>{var i;!function(r,o,s,a){"use strict";var u,c=["","webkit","Moz","MS","ms","o"],l=o.createElement("div"),h=Math.round,p=Math.abs,f=Date.now;function d(t,e,n){return setTimeout(b(t,n),e)}function v(t,e,n){return!!Array.isArray(t)&&(m(t,n[e],n),!0)}function m(t,e,n){var i;if(t){if(t.forEach)t.forEach(e,n);else if(t.length!==a)for(i=0;i<t.length;)e.call(n,t[i],i,t),i++;else for(i in t)t.hasOwnProperty(i)&&e.call(n,t[i],i,t)}}function g(t,e,n){var i="DEPRECATED METHOD: "+e+"\n"+n+" AT \n";return function(){var e=Error("get-stack-trace"),n=e&&e.stack?e.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",o=r.console&&(r.console.warn||r.console.log);return o&&o.call(r.console,i,n),t.apply(this,arguments)}}u="function"!=typeof Object.assign?function(t){if(null==t)throw TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1;n<arguments.length;n++){var i=arguments[n];if(null!=i)for(var r in i)i.hasOwnProperty(r)&&(e[r]=i[r])}return e}:Object.assign;var y=g(function(t,e,n){for(var i=Object.keys(e),r=0;r<i.length;)(!n||n&&t[i[r]]===a)&&(t[i[r]]=e[i[r]]),r++;return t},"extend","Use `assign`."),T=g(function(t,e){return y(t,e,!0)},"merge","Use `assign`.");function E(t,e,n){var i,r=e.prototype;(i=t.prototype=Object.create(r)).constructor=t,i._super=r,n&&u(i,n)}function b(t,e){return function(){return t.apply(e,arguments)}}function w(t,e){return"function"==typeof t?t.apply(e&&e[0]||a,e):t}function P(t,e,n){m(I(e),function(e){t.addEventListener(e,n,!1)})}function C(t,e,n){m(I(e),function(e){t.removeEventListener(e,n,!1)})}function O(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function S(t,e){return t.indexOf(e)>-1}function I(t){return t.trim().split(/\s+/g)}function x(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var i=0;i<t.length;){if(n&&t[i][n]==e||!n&&t[i]===e)return i;i++}return -1}function R(t){return Array.prototype.slice.call(t,0)}function _(t,e,n){for(var i=[],r=[],o=0;o<t.length;){var s=e?t[o][e]:t[o];0>x(r,s)&&i.push(t[o]),r[o]=s,o++}return n&&(i=e?i.sort(function(t,n){return t[e]>n[e]}):i.sort()),i}function D(t,e){for(var n,i,r=e[0].toUpperCase()+e.slice(1),o=0;o<c.length;){if((i=(n=c[o])?n+r:e)in t)return i;o++}return a}var A=1;function k(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||r}var M="ontouchstart"in r,z=D(r,"PointerEvent")!==a,N=M&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),L="touch",X="mouse",F=["x","y"],Y=["clientX","clientY"];function W(t,e){var n=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){w(t.options.enable,[t])&&n.handler(e)},this.init()}function j(t,e,n){var i,r,o,s,u,c,l,h,d,v,m,g,y,T,E,b=n.pointers.length,w=n.changedPointers.length,P=1&e&&b-w==0,C=12&e&&b-w==0;n.isFirst=!!P,n.isFinal=!!C,P&&(t.session={}),n.eventType=e,i=t.session,o=(r=n.pointers).length,i.firstInput||(i.firstInput=H(n)),o>1&&!i.firstMultiple?i.firstMultiple=H(n):1===o&&(i.firstMultiple=!1),s=i.firstInput,c=(u=i.firstMultiple)?u.center:s.center,l=n.center=q(r),n.timeStamp=f(),n.deltaTime=n.timeStamp-s.timeStamp,n.angle=Z(c,l),n.distance=B(c,l),h=n.center,d=i.offsetDelta||{},v=i.prevDelta||{},m=i.prevInput||{},(1===n.eventType||4===m.eventType)&&(v=i.prevDelta={x:m.deltaX||0,y:m.deltaY||0},d=i.offsetDelta={x:h.x,y:h.y}),n.deltaX=v.x+(h.x-d.x),n.deltaY=v.y+(h.y-d.y),n.offsetDirection=V(n.deltaX,n.deltaY),g=U(n.deltaTime,n.deltaX,n.deltaY),n.overallVelocityX=g.x,n.overallVelocityY=g.y,n.overallVelocity=p(g.x)>p(g.y)?g.x:g.y,n.scale=u?(y=u.pointers,B(r[0],r[1],Y)/B(y[0],y[1],Y)):1,n.rotation=u?(T=u.pointers,Z(r[1],r[0],Y)+Z(T[1],T[0],Y)):0,n.maxPointers=i.prevInput?n.pointers.length>i.prevInput.maxPointers?n.pointers.length:i.prevInput.maxPointers:n.pointers.length,function(t,e){var n,i,r,o,s=t.lastInterval||e,u=e.timeStamp-s.timeStamp;if(8!=e.eventType&&(u>25||s.velocity===a)){var c=e.deltaX-s.deltaX,l=e.deltaY-s.deltaY,h=U(u,c,l);i=h.x,r=h.y,n=p(h.x)>p(h.y)?h.x:h.y,o=V(c,l),t.lastInterval=e}else n=s.velocity,i=s.velocityX,r=s.velocityY,o=s.direction;e.velocity=n,e.velocityX=i,e.velocityY=r,e.direction=o}(i,n),E=t.element,O(n.srcEvent.target,E)&&(E=n.srcEvent.target),n.target=E,t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function H(t){for(var e=[],n=0;n<t.pointers.length;)e[n]={clientX:h(t.pointers[n].clientX),clientY:h(t.pointers[n].clientY)},n++;return{timeStamp:f(),pointers:e,center:q(e),deltaX:t.deltaX,deltaY:t.deltaY}}function q(t){var e=t.length;if(1===e)return{x:h(t[0].clientX),y:h(t[0].clientY)};for(var n=0,i=0,r=0;r<e;)n+=t[r].clientX,i+=t[r].clientY,r++;return{x:h(n/e),y:h(i/e)}}function U(t,e,n){return{x:e/t||0,y:n/t||0}}function V(t,e){return t===e?1:p(t)>=p(e)?t<0?2:4:e<0?8:16}function B(t,e,n){n||(n=F);var i=e[n[0]]-t[n[0]],r=e[n[1]]-t[n[1]];return Math.sqrt(i*i+r*r)}function Z(t,e,n){n||(n=F);var i=e[n[0]]-t[n[0]];return 180*Math.atan2(e[n[1]]-t[n[1]],i)/Math.PI}W.prototype={handler:function(){},init:function(){this.evEl&&P(this.element,this.evEl,this.domHandler),this.evTarget&&P(this.target,this.evTarget,this.domHandler),this.evWin&&P(k(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&C(this.element,this.evEl,this.domHandler),this.evTarget&&C(this.target,this.evTarget,this.domHandler),this.evWin&&C(k(this.element),this.evWin,this.domHandler)}};var $={mousedown:1,mousemove:2,mouseup:4};function J(){this.evEl="mousedown",this.evWin="mousemove mouseup",this.pressed=!1,W.apply(this,arguments)}E(J,W,{handler:function(t){var e=$[t.type];1&e&&0===t.button&&(this.pressed=!0),2&e&&1!==t.which&&(e=4),this.pressed&&(4&e&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:X,srcEvent:t}))}});var G={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},K={2:L,3:"pen",4:X,5:"kinect"},Q="pointerdown",tt="pointermove pointerup pointercancel";function te(){this.evEl=Q,this.evWin=tt,W.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}r.MSPointerEvent&&!r.PointerEvent&&(Q="MSPointerDown",tt="MSPointerMove MSPointerUp MSPointerCancel"),E(te,W,{handler:function(t){var e=this.store,n=!1,i=G[t.type.toLowerCase().replace("ms","")],r=K[t.pointerType]||t.pointerType,o=r==L,s=x(e,t.pointerId,"pointerId");1&i&&(0===t.button||o)?s<0&&(e.push(t),s=e.length-1):12&i&&(n=!0),!(s<0)&&(e[s]=t,this.callback(this.manager,i,{pointers:e,changedPointers:[t],pointerType:r,srcEvent:t}),n&&e.splice(s,1))}});var tn={touchstart:1,touchmove:2,touchend:4,touchcancel:8};function ti(){this.evTarget="touchstart",this.evWin="touchstart touchmove touchend touchcancel",this.started=!1,W.apply(this,arguments)}function tr(t,e){var n=R(t.touches),i=R(t.changedTouches);return 12&e&&(n=_(n.concat(i),"identifier",!0)),[n,i]}E(ti,W,{handler:function(t){var e=tn[t.type];if(1===e&&(this.started=!0),this.started){var n=tr.call(this,t,e);12&e&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:L,srcEvent:t})}}});var to={touchstart:1,touchmove:2,touchend:4,touchcancel:8};function ts(){this.evTarget="touchstart touchmove touchend touchcancel",this.targetIds={},W.apply(this,arguments)}function ta(t,e){var n=R(t.touches),i=this.targetIds;if(3&e&&1===n.length)return i[n[0].identifier]=!0,[n,n];var r,o,s=R(t.changedTouches),a=[],u=this.target;if(o=n.filter(function(t){return O(t.target,u)}),1===e)for(r=0;r<o.length;)i[o[r].identifier]=!0,r++;for(r=0;r<s.length;)i[s[r].identifier]&&a.push(s[r]),12&e&&delete i[s[r].identifier],r++;if(a.length)return[_(o.concat(a),"identifier",!0),a]}function tu(){W.apply(this,arguments);var t=b(this.handler,this);this.touch=new ts(this.manager,t),this.mouse=new J(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function tc(t,e){1&t?(this.primaryTouch=e.changedPointers[0].identifier,tl.call(this,e)):12&t&&tl.call(this,e)}function tl(t){var e=t.changedPointers[0];if(e.identifier===this.primaryTouch){var n={x:e.clientX,y:e.clientY};this.lastTouches.push(n);var i=this.lastTouches;setTimeout(function(){var t=i.indexOf(n);t>-1&&i.splice(t,1)},2500)}}function th(t){for(var e=t.srcEvent.clientX,n=t.srcEvent.clientY,i=0;i<this.lastTouches.length;i++){var r=this.lastTouches[i],o=Math.abs(e-r.x),s=Math.abs(n-r.y);if(o<=25&&s<=25)return!0}return!1}E(ts,W,{handler:function(t){var e=to[t.type],n=ta.call(this,t,e);n&&this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:L,srcEvent:t})}}),E(tu,W,{handler:function(t,e,n){var i=n.pointerType==L,r=n.pointerType==X;if(!r||!n.sourceCapabilities||!n.sourceCapabilities.firesTouchEvents){if(i)tc.call(this,e,n);else if(r&&th.call(this,n))return;this.callback(t,e,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var tp=D(l.style,"touchAction"),tf=a!==tp,td="compute",tv="auto",tm="manipulation",tg="none",ty="pan-x",tT="pan-y",tE=function(){if(!tf)return!1;var t={},e=r.CSS&&r.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(n){t[n]=!e||r.CSS.supports("touch-action",n)}),t}();function tb(t,e){this.manager=t,this.set(e)}function tw(t){var e;this.options=u({},this.defaults,t||{}),this.id=A++,this.manager=null,this.options.enable=a===(e=this.options.enable)||e,this.state=1,this.simultaneous={},this.requireFail=[]}function tP(t){return 16&t?"cancel":8&t?"end":4&t?"move":2&t?"start":""}function tC(t){return 16==t?"down":8==t?"up":2==t?"left":4==t?"right":""}function tO(t,e){var n=e.manager;return n?n.get(t):t}function tS(){tw.apply(this,arguments)}function tI(){tS.apply(this,arguments),this.pX=null,this.pY=null}function tx(){tS.apply(this,arguments)}function tR(){tw.apply(this,arguments),this._timer=null,this._input=null}function t_(){tS.apply(this,arguments)}function tD(){tS.apply(this,arguments)}function tA(){tw.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function tk(t,e){var n,i;return(e=e||{}).recognizers=(n=e.recognizers,i=tk.defaults.preset,a===n?i:n),new tM(t,e)}function tM(t,e){var n;this.options=u({},tk.defaults,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=new((n=this.options.inputClass)?n:z?te:N?ts:M?tu:J)(this,j),this.touchAction=new tb(this,this.options.touchAction),tz(this,!0),m(this.options.recognizers,function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])},this)}function tz(t,e){var n,i=t.element;i.style&&(m(t.options.cssProps,function(r,o){n=D(i.style,o),e?(t.oldCssProps[n]=i.style[n],i.style[n]=r):i.style[n]=t.oldCssProps[n]||""}),e||(t.oldCssProps={}))}tb.prototype={set:function(t){t==td&&(t=this.compute()),tf&&this.manager.element.style&&tE[t]&&(this.manager.element.style[tp]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return m(this.manager.recognizers,function(e){w(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))}),function(t){if(S(t,tg))return tg;var e=S(t,ty),n=S(t,tT);return e&&n?tg:e||n?e?ty:tT:S(t,tm)?tm:tv}(t.join(" "))},preventDefaults:function(t){var e=t.srcEvent,n=t.offsetDirection;if(this.manager.session.prevented){e.preventDefault();return}var i=this.actions,r=S(i,tg)&&!tE[tg],o=S(i,tT)&&!tE[tT],s=S(i,ty)&&!tE[ty];if(r){var a=1===t.pointers.length,u=t.distance<2,c=t.deltaTime<250;if(a&&u&&c)return}if((!s||!o)&&(r||o&&6&n||s&&24&n))return this.preventSrc(e)},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}},tw.prototype={defaults:{},set:function(t){return u(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(v(t,"recognizeWith",this))return this;var e=this.simultaneous;return e[(t=tO(t,this)).id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return v(t,"dropRecognizeWith",this)||(t=tO(t,this),delete this.simultaneous[t.id]),this},requireFailure:function(t){if(v(t,"requireFailure",this))return this;var e=this.requireFail;return -1===x(e,t=tO(t,this))&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(v(t,"dropRequireFailure",this))return this;t=tO(t,this);var e=x(this.requireFail,t);return e>-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){var e=this,n=this.state;function i(n){e.manager.emit(n,t)}n<8&&i(e.options.event+tP(n)),i(e.options.event),t.additionalEvent&&i(t.additionalEvent),n>=8&&i(e.options.event+tP(n))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=32},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(33&this.requireFail[t].state))return!1;t++}return!0},recognize:function(t){var e=u({},t);if(!w(this.options.enable,[this,e])){this.reset(),this.state=32;return}56&this.state&&(this.state=1),this.state=this.process(e),30&this.state&&this.tryEmit(e)},process:function(t){},getTouchAction:function(){},reset:function(){}},E(tS,tw,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},process:function(t){var e=this.state,n=t.eventType,i=6&e,r=this.attrTest(t);return i&&(8&n||!r)?16|e:i||r?4&n?8|e:2&e?4|e:2:32}}),E(tI,tS,{defaults:{event:"pan",threshold:10,pointers:1,direction:30},getTouchAction:function(){var t=this.options.direction,e=[];return 6&t&&e.push(tT),24&t&&e.push(ty),e},directionTest:function(t){var e=this.options,n=!0,i=t.distance,r=t.direction,o=t.deltaX,s=t.deltaY;return r&e.direction||(6&e.direction?(r=0===o?1:o<0?2:4,n=o!=this.pX,i=Math.abs(t.deltaX)):(r=0===s?1:s<0?8:16,n=s!=this.pY,i=Math.abs(t.deltaY))),t.direction=r,n&&i>e.threshold&&r&e.direction},attrTest:function(t){return tS.prototype.attrTest.call(this,t)&&(2&this.state||!(2&this.state)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=tC(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),E(tx,tS,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[tg]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||2&this.state)},emit:function(t){if(1!==t.scale){var e=t.scale<1?"in":"out";t.additionalEvent=this.options.event+e}this._super.emit.call(this,t)}}),E(tR,tw,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[tv]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,r=t.deltaTime>e.time;if(this._input=t,i&&n&&(!(12&t.eventType)||r)){if(1&t.eventType)this.reset(),this._timer=d(function(){this.state=8,this.tryEmit()},e.time,this);else if(4&t.eventType)return 8}else this.reset();return 32},reset:function(){clearTimeout(this._timer)},emit:function(t){8===this.state&&(t&&4&t.eventType?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=f(),this.manager.emit(this.options.event,this._input)))}}),E(t_,tS,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[tg]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||2&this.state)}}),E(tD,tS,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:30,pointers:1},getTouchAction:function(){return tI.prototype.getTouchAction.call(this)},attrTest:function(t){var e,n=this.options.direction;return 30&n?e=t.overallVelocity:6&n?e=t.overallVelocityX:24&n&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&n&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&p(e)>this.options.velocity&&4&t.eventType},emit:function(t){var e=tC(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),E(tA,tw,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[tm]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,r=t.deltaTime<e.time;if(this.reset(),1&t.eventType&&0===this.count)return this.failTimeout();if(i&&r&&n){if(4!=t.eventType)return this.failTimeout();var o=!this.pTime||t.timeStamp-this.pTime<e.interval,s=!this.pCenter||B(this.pCenter,t.center)<e.posThreshold;if(this.pTime=t.timeStamp,this.pCenter=t.center,s&&o?this.count+=1:this.count=1,this._input=t,0==this.count%e.taps)return this.hasRequireFailures()?(this._timer=d(function(){this.state=8,this.tryEmit()},e.interval,this),2):8}return 32},failTimeout:function(){return this._timer=d(function(){this.state=32},this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){8==this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),tk.VERSION="2.0.7",tk.defaults={domEvents:!1,touchAction:td,enable:!0,inputTarget:null,inputClass:null,preset:[[t_,{enable:!1}],[tx,{enable:!1},["rotate"]],[tD,{direction:6}],[tI,{direction:6},["swipe"]],[tA],[tA,{event:"doubletap",taps:2},["tap"]],[tR]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},tM.prototype={set:function(t){return u(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?2:1},recognize:function(t){var e,n=this.session;if(!n.stopped){this.touchAction.preventDefaults(t);var i=this.recognizers,r=n.curRecognizer;(!r||r&&8&r.state)&&(r=n.curRecognizer=null);for(var o=0;o<i.length;)e=i[o],2!==n.stopped&&(!r||e==r||e.canRecognizeWith(r))?e.recognize(t):e.reset(),!r&&14&e.state&&(r=n.curRecognizer=e),o++}},get:function(t){if(t instanceof tw)return t;for(var e=this.recognizers,n=0;n<e.length;n++)if(e[n].options.event==t)return e[n];return null},add:function(t){if(v(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(v(t,"remove",this))return this;if(t=this.get(t)){var e=this.recognizers,n=x(e,t);-1!==n&&(e.splice(n,1),this.touchAction.update())}return this},on:function(t,e){if(a!==t&&a!==e){var n=this.handlers;return m(I(t),function(t){n[t]=n[t]||[],n[t].push(e)}),this}},off:function(t,e){if(a!==t){var n=this.handlers;return m(I(t),function(t){e?n[t]&&n[t].splice(x(n[t],e),1):delete n[t]}),this}},emit:function(t,e){this.options.domEvents&&((n=o.createEvent("Event")).initEvent(t,!0,!0),n.gesture=e,e.target.dispatchEvent(n));var n,i=this.handlers[t]&&this.handlers[t].slice();if(i&&i.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var r=0;r<i.length;)i[r](e),r++}},destroy:function(){this.element&&tz(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},u(tk,{INPUT_START:1,INPUT_MOVE:2,INPUT_END:4,INPUT_CANCEL:8,STATE_POSSIBLE:1,STATE_BEGAN:2,STATE_CHANGED:4,STATE_ENDED:8,STATE_RECOGNIZED:8,STATE_CANCELLED:16,STATE_FAILED:32,DIRECTION_NONE:1,DIRECTION_LEFT:2,DIRECTION_RIGHT:4,DIRECTION_UP:8,DIRECTION_DOWN:16,DIRECTION_HORIZONTAL:6,DIRECTION_VERTICAL:24,DIRECTION_ALL:30,Manager:tM,Input:W,TouchAction:tb,TouchInput:ts,MouseInput:J,PointerEventInput:te,TouchMouseInput:tu,SingleTouchInput:ti,Recognizer:tw,AttrRecognizer:tS,Tap:tA,Pan:tI,Swipe:tD,Pinch:tx,Rotate:t_,Press:tR,on:P,off:C,each:m,merge:T,extend:y,assign:u,inherit:E,bindFn:b,prefixed:D}),(void 0!==r?r:"undefined"!=typeof self?self:{}).Hammer=tk,a!==(i=(function(){return tk}).call(e,n,e,t))&&(t.exports=i)}(window,document,0)},27561:(t,e,n)=>{var i=n(67990),r=/^\s+/;t.exports=function(t){return t?t.slice(0,i(t)+1).replace(r,""):t}},67990:t=>{var e=/\s/;t.exports=function(t){for(var n=t.length;n--&&e.test(t.charAt(n)););return n}},23279:(t,e,n)=>{var i=n(13218),r=n(7771),o=n(14841),s=Math.max,a=Math.min;t.exports=function(t,e,n){var u,c,l,h,p,f,d=0,v=!1,m=!1,g=!0;if("function"!=typeof t)throw TypeError("Expected a function");function y(e){var n=u,i=c;return u=c=void 0,d=e,h=t.apply(i,n)}function T(t){var n=t-f,i=t-d;return void 0===f||n>=e||n<0||m&&i>=l}function E(){var t,n,i,o=r();if(T(o))return b(o);p=setTimeout(E,(t=o-f,n=o-d,i=e-t,m?a(i,l-n):i))}function b(t){return(p=void 0,g&&u)?y(t):(u=c=void 0,h)}function w(){var t,n=r(),i=T(n);if(u=arguments,c=this,f=n,i){if(void 0===p)return d=t=f,p=setTimeout(E,e),v?y(t):h;if(m)return clearTimeout(p),p=setTimeout(E,e),y(f)}return void 0===p&&(p=setTimeout(E,e)),h}return e=o(e)||0,i(n)&&(v=!!n.leading,l=(m="maxWait"in n)?s(o(n.maxWait)||0,e):l,g="trailing"in n?!!n.trailing:g),w.cancel=function(){void 0!==p&&clearTimeout(p),d=0,u=f=c=p=void 0},w.flush=function(){return void 0===p?h:b(r())},w}},7771:(t,e,n)=>{var i=n(55639);t.exports=function(){return i.Date.now()}},14841:(t,e,n)=>{var i=n(27561),r=n(13218),o=n(33448),s=0/0,a=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(o(t))return s;if(r(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=r(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=i(t);var n=u.test(t);return n||c.test(t)?l(t.slice(2),n?2:8):a.test(t)?s:+t}},12532:(t,e,n)=>{"use strict";n.d(e,{Z:()=>p});var i=n(45697),r=n.n(i),o=n(67294),s=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),a="undefined"!=typeof window?n(50840):void 0,u={children:!0,direction:!0,options:!0,recognizeWith:!0,vertical:!0},c={action:"tap press",onDoubleTap:"doubletap",onPan:"pan",onPanCancel:"pancancel",onPanEnd:"panend",onPanStart:"panstart",onPinch:"pinch",onPinchCancel:"pinchcancel",onPinchEnd:"pinchend",onPinchIn:"pinchin",onPinchOut:"pinchout",onPinchStart:"pinchstart",onPress:"press",onPressUp:"pressup",onRotate:"rotate",onRotateCancel:"rotatecancel",onRotateEnd:"rotateend",onRotateMove:"rotatemove",onRotateStart:"rotatestart",onSwipe:"swipe",onSwipeRight:"swiperight",onSwipeLeft:"swipeleft",onSwipeUp:"swipeup",onSwipeDown:"swipedown",onTap:"tap"};function l(t,e){e.hasOwnProperty("vertical")&&console.warn("vertical is deprecated, please use `direction` instead");var n=e.direction;if(n||e.hasOwnProperty("vertical")){var i=n||(e.vertical?"DIRECTION_ALL":"DIRECTION_HORIZONTAL");t.get("pan").set({direction:a[i]}),t.get("swipe").set({direction:a[i]})}e.options&&Object.keys(e.options).forEach(function(n){if("recognizers"===n)Object.keys(e.options.recognizers).forEach(function(n){var i=t.get(n);i.set(e.options.recognizers[n]),e.options.recognizers[n].requireFailure&&i.requireFailure(e.options.recognizers[n].requireFailure)},this);else{var i={};i[n]=e.options[n],t.set(i)}},this),e.recognizeWith&&Object.keys(e.recognizeWith).forEach(function(n){t.get(n).recognizeWith(e.recognizeWith[n])},this),Object.keys(e).forEach(function(n){var i=c[n];i&&(t.off(i),t.on(i,e[n]))})}Object.keys(c).forEach(function(t){u[t]=!0});var h=function(t){function e(){return function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&("object"==typeof e||"function"==typeof e)?e:t}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),s(e,[{key:"componentDidMount",value:function(){this.hammer=new a(this.domElement),l(this.hammer,this.props)}},{key:"componentDidUpdate",value:function(){this.hammer&&l(this.hammer,this.props)}},{key:"componentWillUnmount",value:function(){this.hammer&&(this.hammer.stop(),this.hammer.destroy()),this.hammer=null}},{key:"render",value:function(){var t={};Object.keys(this.props).forEach(function(e){u[e]||(t[e]=this.props[e])},this);var e=this;return t.ref=function(t){e.props.ref&&e.props.ref(t),e.domElement=t},o.cloneElement(o.Children.only(this.props.children),t)}}]),e}(o.Component);h.displayName="Hammer",h.propTypes={className:r().string};let p=h},46472:(t,e,n)=>{"use strict";n.d(e,{b:()=>s});var i=n(67294),r=n(90918);let o=()=>{let t=(0,i.useRef)(!1),e=(0,i.useCallback)(()=>t.current,[]);return(0,i.useEffect)(()=>(t.current=!0,()=>{t.current=!1}),[]),e};function s(t,e,n){let s=(0,i.useRef)(0),a=o(),u=(0,r.f)(t),c=(0,i.useCallback)(async()=>{let t=++s.current;try{return await u.current(()=>a()&&t===s.current)}catch(t){throw t}},[a,...e]);(0,i.useEffect)(()=>{let t;return c().then(e=>{t=e}),()=>{null==n||n(t)}},[c,n])}},80007:(t,e,n)=>{"use strict";n.d(e,{X:()=>s});var i=n(67294),r=n(77777);let o={root:null,rootMargin:"0px 0px 0px 0px",threshold:[0,1]};function s(t,e){let n="function"==typeof t?t:r.Z,s="object"==typeof t?t:e||o,{root:a=null,rootMargin:u,threshold:c}=s,[l,h]=(0,i.useState)(null),[p,f]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{if(l){let t=new IntersectionObserver((t,e)=>{for(let{isIntersecting:e}of t)f(e);n(t,e)},s);return t.observe(l),()=>{t.disconnect()}}return r.Z},[l,n,a,u,c,s]),[(0,i.useCallback)(t=>{h(t)},[]),p]}},56092:(t,e,n)=>{"use strict";n.d(e,{V:()=>o});var i=n(67294),r=n(90918);function o(t,e){let[n,o]=(0,i.useState)(()=>(function(t,e){let n=function(t){var e;if("undefined"==typeof localStorage)return null;let n=null!==(e=localStorage.getItem(t))&&void 0!==e?e:"null";try{return JSON.parse(n)}catch(t){console.error(t)}return n}(t);return null===n?"function"==typeof e?e():e:n})(t,e)),s=(0,i.useRef)(!1),a=(0,i.useRef)(!1),u=(0,i.useMemo)(()=>`rooks-${t}-localstorage-update`,[t]);(0,i.useEffect)(()=>{(!s.current||!a.current)&&("undefined"==typeof localStorage||(void 0===n?localStorage.removeItem(t):localStorage.setItem(t,JSON.stringify(n))))},[t,n]);let c=(0,i.useCallback)(e=>{var i;if(e.storageArea===localStorage&&e.key===t)try{s.current=!0;let t=JSON.parse(null!==(i=e.newValue)&&void 0!==i?i:"null");n!==t&&o(t)}catch(t){console.log(t)}},[t,n]);(0,i.useEffect)(()=>"undefined"!=typeof window?(window.addEventListener("storage",c),()=>{window.removeEventListener("storage",c)}):(console.warn("useLocalstorageState: window is undefined."),()=>{}),[c]);let l=(0,i.useCallback)(t=>{try{a.current=!0;let{newValue:e}=t.detail;n!==e&&o(e)}catch(t){console.log(t)}},[n]);(0,i.useEffect)(()=>"undefined"!=typeof document?(document.addEventListener(u,l),()=>{document.removeEventListener(u,l)}):(console.warn("[useLocalstorageState] document is undefined."),()=>{}),[u,l]);let h=(0,i.useCallback)(t=>{if("undefined"!=typeof document){let e=new CustomEvent(u,{detail:{newValue:t}});document.dispatchEvent(e)}else console.warn("[useLocalstorageState] document is undefined.")},[u]),p=(0,r.f)(n,!0);return[n,(0,i.useCallback)(t=>{let e="function"==typeof t?t(p.current):t;s.current=!1,a.current=!1,o(e),h(e)},[h,p]),(0,i.useCallback)(()=>{localStorage.removeItem(t)},[t])]}},78753:(t,e,n)=>{"use strict";n.d(e,{o:()=>r});var i=n(16393);function r(t){var e;let n=(e=null==t?void 0:t.in,(0,i.L)(e,Date.now())),r=n.getFullYear(),o=n.getMonth(),s=n.getDate(),a=(0,i.L)(null==t?void 0:t.in,0);return a.setFullYear(r,o,s+1),a.setHours(0,0,0,0),a}},85072:(t,e,n)=>{"use strict";n.d(e,{u:()=>D,aJ:()=>_});var i=n(43024),r=n(27025),o=n(9975),s=n(18419),a=n(9188),u=n(91177),c=n(67294),l=n(41080),h=n(73935),p=n(37385);let f=c.createContext(null);function d(t){let{children:e}=t,n=(0,c.useContext)(f),[i,r]=(0,c.useState)(0),o=(0,c.useMemo)(()=>({parent:n,modalCount:i,addModal(){r(t=>t+1),n&&n.addModal()},removeModal(){r(t=>t-1),n&&n.removeModal()}}),[n,i]);return c.createElement(f.Provider,{value:o},e)}function v(t){let e;let{modalProviderProps:n}={modalProviderProps:{"aria-hidden":!!(e=(0,c.useContext)(f))&&e.modalCount>0||null}};return c.createElement("div",{"data-overlay-container":!0,...t,...n})}function m(t){return c.createElement(d,null,c.createElement(v,t))}function g(t){let e=(0,p.Av)(),{portalContainer:n=e?null:document.body,...i}=t;if(c.useEffect(()=>{if(null==n?void 0:n.closest("[data-overlay-container]"))throw Error("An OverlayContainer must not be inside another container. Please change the portalContainer prop.")},[n]),!n)return null;let r=c.createElement(m,i);return h.createPortal(r,n)}var y=n(90583),T=n(3136),E=n(16551);let b={},w=0,P=!1,C=null,O=null;function S(t={}){let{delay:e=1500,closeDelay:n=500}=t,{isOpen:i,open:r,close:o}=(0,E.d)(t),s=(0,c.useMemo)(()=>`${++w}`,[]),a=(0,c.useRef)(void 0),u=(0,c.useRef)(o),l=()=>{b[s]=f},h=()=>{for(let t in b)t!==s&&(b[t](!0),delete b[t])},p=()=>{clearTimeout(a.current),a.current=null,h(),l(),P=!0,r(),C&&(clearTimeout(C),C=null),O&&(clearTimeout(O),O=null)},f=t=>{t||n<=0?(clearTimeout(a.current),a.current=null,u.current()):a.current||(a.current=setTimeout(()=>{a.current=null,u.current()},n)),C&&(clearTimeout(C),C=null),P&&(O&&clearTimeout(O),O=setTimeout(()=>{delete b[s],O=null,P=!1},Math.max(500,n)))},d=()=>{h(),l(),i||C||P?i||p():C=setTimeout(()=>{C=null,P=!0,p()},e)};return(0,c.useEffect)(()=>{u.current=o},[o]),(0,c.useEffect)(()=>()=>{clearTimeout(a.current),b[s]&&delete b[s]},[s]),{isOpen:i,open:t=>{t||!(e>0)||a.current?p():d()},close:f}}var I=n(69786);let x=(0,c.createContext)(null),R=(0,c.createContext)(null);function _(t){let e=S(t),n=(0,c.useRef)(null),{triggerProps:r,tooltipProps:h}=function(t,e,n){let{isDisabled:i,trigger:r}=t,h=(0,a.Me)(),p=(0,c.useRef)(!1),f=(0,c.useRef)(!1),d=()=>{(p.current||f.current)&&e.open(f.current)},v=t=>{p.current||f.current||e.close(t)};(0,c.useEffect)(()=>{let t=t=>{n&&n.current&&"Escape"===t.key&&(t.stopPropagation(),e.close(!0))};if(e.isOpen)return document.addEventListener("keydown",t,!0),()=>{document.removeEventListener("keydown",t,!0)}},[n,e]);let m=()=>{f.current=!1,p.current=!1,v(!0)},{hoverProps:g}=(0,s.X)({isDisabled:i,onHoverStart:()=>{"focus"!==r&&("pointer"===(0,o.Jz)()?p.current=!0:p.current=!1,d())},onHoverEnd:()=>{"focus"!==r&&(f.current=!1,p.current=!1,v())}}),{focusableProps:y}=(0,l.k)({isDisabled:i,onFocus:()=>{(0,o.E)()&&(f.current=!0,d())},onBlur:()=>{f.current=!1,p.current=!1,v(!0)}},n);return{triggerProps:{"aria-describedby":e.isOpen?h:void 0,...(0,u.d)(y,g,{onPointerDown:m,onKeyDown:m})},tooltipProps:{id:h}}}(t,e,n);return c.createElement(i.zt,{values:[[x,e],[R,{...h,triggerRef:n}]]},c.createElement(l.t,{...r,ref:n},t.children))}let D=(0,c.forwardRef)(function({UNSTABLE_portalContainer:t,...e},n){[e,n]=(0,i.pE)(e,n,R);let r=(0,c.useContext)(x),o=S(e),s=null==e.isOpen&&null==e.defaultOpen&&r?r:o,a=(0,i.xB)(n,s.isOpen)||e.isExiting||!1;return s.isOpen||a?c.createElement(g,{portalContainer:t},c.createElement(A,{...e,tooltipRef:n,isExiting:a})):null});function A(t){let e=(0,c.useContext)(x),n=(0,c.useRef)(null),[o,a]=(0,c.useState)(0);(0,I.b)(()=>{n.current&&e.isOpen&&a(n.current.getBoundingClientRect().width)},[e.isOpen,n]);let{overlayProps:l,arrowProps:h,placement:p}=(0,y.t)({placement:t.placement||"top",targetRef:t.triggerRef,overlayRef:t.tooltipRef,offset:t.offset,crossOffset:t.crossOffset,isOpen:e.isOpen,arrowSize:o,arrowBoundaryOffset:t.arrowBoundaryOffset,shouldFlip:t.shouldFlip}),f=(0,i.iW)(t.tooltipRef,!!p)||t.isEntering||!1,d=(0,i.aX)({...t,defaultClassName:"react-aria-Tooltip",values:{placement:p,isEntering:f,isExiting:t.isExiting,state:e}}),{tooltipProps:v}=function(t,e){let n=(0,T.z)(t,{labelable:!0}),{hoverProps:i}=(0,s.X)({onHoverStart:()=>null==e?void 0:e.open(!0),onHoverEnd:()=>null==e?void 0:e.close()});return{tooltipProps:(0,u.d)(n,i,{role:"tooltip"})}}(t=(0,u.d)(t,l),e);return c.createElement("div",{...v,ref:t.tooltipRef,...d,style:{...l.style,...d.style},"data-placement":p,"data-entering":f||void 0,"data-exiting":t.isExiting||void 0},c.createElement(r.O.Provider,{value:{...h,placement:p,ref:n}},d.children))}}}]);