File: //opt/netdata/usr/local/share/netdata/web/v3/5273.8159bdef3df1e237c647.chunk.js
/*! For license information please see 5273.8159bdef3df1e237c647.chunk.js.LICENSE.txt */
try{!function(){var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="a6f6f827-de50-47f6-97d3-52b5a5182f2f",t._sentryDebugIdIdentifier="sentry-dbid-a6f6f827-de50-47f6-97d3-52b5a5182f2f")}()}catch(e){}!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"d29fe0107f7247ab49a8017c886bc1ba13e7faa8"}}catch(e){}}(),(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[5273],{3122:(t,e,n)=>{var i=n(83693);t.exports=function(t){return i(t)?t:[]}},3839:(t,e,n)=>{"use strict";n.d(e,{Ay:()=>rt});var i=n(47168),o=n.n(i),r=n(81692);const s=t=>t&&t.enabled&&t.modifierKey,a=(t,e)=>t&&e[t+"Key"],c=(t,e)=>t&&!e[t+"Key"];function u(t,e,n){return void 0===t||("string"===typeof t?-1!==t.indexOf(e):"function"===typeof t&&-1!==t({chart:n}).indexOf(e))}function l(t,e){return"function"===typeof t&&(t=t({chart:e})),"string"===typeof t?{x:-1!==t.indexOf("x"),y:-1!==t.indexOf("y")}:{x:!1,y:!1}}function h(t,e,n){const{mode:i="xy",scaleMode:o,overScaleMode:s}=t||{},a=function({x:t,y:e},n){const i=n.scales,o=Object.keys(i);for(let r=0;r<o.length;r++){const n=i[o[r]];if(e>=n.top&&e<=n.bottom&&t>=n.left&&t<=n.right)return n}return null}(e,n),c=l(i,n),u=l(o,n);if(s){const t=l(s,n);for(const e of["x","y"])t[e]&&(u[e]=c[e],c[e]=!1)}if(a&&u[a.axis])return[a];const h=[];return(0,r.F)(n.scales,(function(t){c[t.axis]&&h.push(t)})),h}const p=new WeakMap;function f(t){let e=p.get(t);return e||(e={originalScaleLimits:{},updatedScaleLimits:{},handlers:{},panDelta:{},dragging:!1,panning:!1},p.set(t,e)),e}function d(t,e,n,i){const o=Math.max(0,Math.min(1,(t-e)/n||0));return{min:i*o,max:i*(1-o)}}function m(t,e){const n=t.isHorizontal()?e.x:e.y;return t.getValueForPixel(n)}function g(t,e,n){const i=t.max-t.min,o=i*(e-1);return d(m(t,n),t.min,i,o)}function v(t,e,n,i,o){let s=n[i];if("original"===s){const n=t.originalScaleLimits[e.id][i];s=(0,r.v)(n.options,n.scale)}return(0,r.v)(s,o)}function y(t,{min:e,max:n},i,o=!1){const s=f(t.chart),{options:a}=t,c=function(t,e){return e&&(e[t.id]||e[t.axis])||{}}(t,i),{minRange:u=0}=c,l=v(s,t,c,"min",-1/0),h=v(s,t,c,"max",1/0);if("pan"===o&&(e<l||n>h))return!0;const p=t.max-t.min,d=o?Math.max(n-e,u):p;if(o&&d===u&&p<=u)return!0;const m=function(t,{min:e,max:n,minLimit:i,maxLimit:o},s){const a=(t-n+e)/2;e-=a,n+=a;const c=s.min.options??s.min.scale,u=s.max.options??s.max.scale,l=t/1e6;return(0,r.aK)(e,c,l)&&(e=c),(0,r.aK)(n,u,l)&&(n=u),e<i?(e=i,n=Math.min(i+t,o)):n>o&&(n=o,e=Math.max(o-t,i)),{min:e,max:n}}(d,{min:e,max:n,minLimit:l,maxLimit:h},s.originalScaleLimits[t.id]);return a.min=m.min,a.max=m.max,s.updatedScaleLimits[t.id]=m,t.parse(m.min)!==t.min||t.parse(m.max)!==t.max}const x=t=>0===t||isNaN(t)?0:t<0?Math.min(Math.round(t),-1):Math.max(Math.round(t),1);const T={second:500,minute:3e4,hour:18e5,day:432e5,week:3024e5,month:1296e6,quarter:5184e6,year:157248e5};function b(t,e,n,i=!1){const{min:o,max:r,options:s}=t,a=s.time&&s.time.round,c=T[a]||0,u=t.getValueForPixel(t.getPixelForValue(o+c)-e),l=t.getValueForPixel(t.getPixelForValue(r+c)-e);return!(!isNaN(u)&&!isNaN(l))||y(t,{min:u,max:l},n,!!i&&"pan")}function w(t,e,n){return b(t,e,n,!0)}const M={category:function(t,e,n,i){const o=g(t,e,n);return t.min===t.max&&e<1&&function(t){const e=t.getLabels().length-1;t.min>0&&(t.min-=1),t.max<e&&(t.max+=1)}(t),y(t,{min:t.min+x(o.min),max:t.max-x(o.max)},i,!0)},default:function(t,e,n,i){const o=g(t,e,n);return y(t,{min:t.min+o.min,max:t.max-o.max},i,!0)},logarithmic:function(t,e,n,i){const o=function(t,e,n){const i=m(t,n);if(void 0===i)return{min:t.min,max:t.max};const o=Math.log10(t.min),r=Math.log10(t.max),s=r-o,a=d(Math.log10(i),o,s,s*(e-1));return{min:Math.pow(10,o+a.min),max:Math.pow(10,r-a.max)}}(t,e,n);return y(t,o,i,!0)}},E={default:function(t,e,n,i){y(t,function(t,e,n){const i=t.getValueForPixel(e),o=t.getValueForPixel(n);return{min:Math.min(i,o),max:Math.max(i,o)}}(t,e,n),i,!0)}},z={category:function(t,e,n){const i=t.getLabels().length-1;let{min:o,max:r}=t;const s=Math.max(r-o,1),a=Math.round(function(t){return t.isHorizontal()?t.width:t.height}(t)/Math.max(s,10)),c=Math.round(Math.abs(e/a));let u;return e<-a?(r=Math.min(r+c,i),o=1===s?r:r-s,u=r===i):e>a&&(o=Math.max(0,o-c),r=1===s?o:o+s,u=0===o),y(t,{min:o,max:r},n)||u},default:b,logarithmic:w,timeseries:w};function S(t,e){(0,r.F)(t,((n,i)=>{e[i]||delete t[i]}))}function C(t,e){const{scales:n}=t,{originalScaleLimits:i,updatedScaleLimits:o}=e;return(0,r.F)(n,(function(t){(function(t,e,n){const{id:i,options:{min:o,max:r}}=t;if(!e[i]||!n[i])return!0;const s=n[i];return s.min!==o||s.max!==r})(t,i,o)&&(i[t.id]={min:{scale:t.min,options:t.options.min},max:{scale:t.max,options:t.options.max}})})),S(i,n),S(o,n),i}function P(t,e,n,i){const o=M[t.type]||M.default;(0,r.Q)(o,[t,e,n,i])}function D(t,e,n,i){const o=E[t.type]||E.default;(0,r.Q)(o,[t,e,n,i])}function A(t){const e=t.chartArea;return{x:(e.left+e.right)/2,y:(e.top+e.bottom)/2}}function I(t,e,n="none",i="api"){const{x:o=1,y:s=1,focalPoint:a=A(t)}="number"===typeof e?{x:e,y:e}:e,c=f(t),{options:{limits:u,zoom:l}}=c;C(t,c);const p=1!==o,d=1!==s,m=h(l,a,t);(0,r.F)(m||t.scales,(function(t){t.isHorizontal()&&p?P(t,o,a,u):!t.isHorizontal()&&d&&P(t,s,a,u)})),t.update(n),(0,r.Q)(l.onZoom,[{chart:t,trigger:i}])}function k(t,e,n,i="none",o="api"){const s=f(t),{options:{limits:a,zoom:c}}=s,{mode:l="xy"}=c;C(t,s);const h=u(l,"x",t),p=u(l,"y",t);(0,r.F)(t.scales,(function(t){t.isHorizontal()&&h?D(t,e.x,n.x,a):!t.isHorizontal()&&p&&D(t,e.y,n.y,a)})),t.update(i),(0,r.Q)(c.onZoom,[{chart:t,trigger:o}])}function O(t){const e=f(t);let n=1,i=1;return(0,r.F)(t.scales,(function(t){const o=function(t,e){const n=t.originalScaleLimits[e];if(!n)return;const{min:i,max:o}=n;return(0,r.v)(o.options,o.scale)-(0,r.v)(i.options,i.scale)}(e,t.id);if(o){const e=Math.round(o/(t.max-t.min)*100)/100;n=Math.min(n,e),i=Math.max(i,e)}})),n<1?n:i}function _(t,e,n,i){const{panDelta:o}=i,s=o[t.id]||0;(0,r.s)(s)===(0,r.s)(e)&&(e+=s);const a=z[t.type]||z.default;(0,r.Q)(a,[t,e,n])?o[t.id]=0:o[t.id]=e}function R(t,e,n,i="none"){const{x:o=0,y:s=0}="number"===typeof e?{x:e,y:e}:e,a=f(t),{options:{pan:c,limits:u}}=a,{onPan:l}=c||{};C(t,a);const h=0!==o,p=0!==s;(0,r.F)(n||t.scales,(function(t){t.isHorizontal()&&h?_(t,o,u,a):!t.isHorizontal()&&p&&_(t,s,u,a)})),t.update(i),(0,r.Q)(l,[{chart:t}])}function L(t){const e=f(t);C(t,e);const n={};for(const i of Object.keys(t.scales)){const{min:t,max:o}=e.originalScaleLimits[i]||{min:{},max:{}};n[i]={min:t.scale,max:o.scale}}return n}function F(t){const e=f(t);return e.panning||e.dragging}const N=(t,e,n)=>Math.min(n,Math.max(e,t));function Y(t,e){const{handlers:n}=f(t),i=n[e];i&&i.target&&(i.target.removeEventListener(e,i),delete n[e])}function X(t,e,n,i){const{handlers:o,options:r}=f(t),s=o[n];if(s&&s.target===e)return;Y(t,n),o[n]=e=>i(t,e,r),o[n].target=e;const a="wheel"!==n&&void 0;e.addEventListener(n,o[n],{passive:a})}function q(t,e){const n=f(t);n.dragStart&&(n.dragging=!0,n.dragEnd=e,t.update("none"))}function W(t,e){const n=f(t);n.dragStart&&"Escape"===e.key&&(Y(t,"keydown"),n.dragging=!1,n.dragStart=n.dragEnd=null,t.update("none"))}function H(t,e){if(t.target!==e.canvas){const n=e.canvas.getBoundingClientRect();return{x:t.clientX-n.left,y:t.clientY-n.top}}return(0,r.z)(t,e)}function Q(t,e,n){const{onZoomStart:i,onZoomRejected:o}=n;if(i){const n=H(e,t);if(!1===(0,r.Q)(i,[{chart:t,event:e,point:n}]))return(0,r.Q)(o,[{chart:t,event:e}]),!1}}function Z(t,e){if(t.legend){const n=(0,r.z)(e,t);if((0,r.C)(n,t.legend))return}const n=f(t),{pan:i,zoom:o={}}=n.options;if(0!==e.button||a(s(i),e)||c(s(o.drag),e))return(0,r.Q)(o.onZoomRejected,[{chart:t,event:e}]);!1!==Q(t,e,o)&&(n.dragStart=e,X(t,t.canvas.ownerDocument,"mousemove",q),X(t,window.document,"keydown",W))}function j(t,e,n,{min:i,max:o,prop:r}){t[i]=N(Math.min(n.begin[r],n.end[r]),e[i],e[o]),t[o]=N(Math.max(n.begin[r],n.end[r]),e[i],e[o])}function V(t,e,n){const i={begin:H(e.dragStart,t),end:H(e.dragEnd,t)};if(n){!function({begin:t,end:e},n){let i=e.x-t.x,o=e.y-t.y;const r=Math.abs(i/o);r>n?i=Math.sign(i)*Math.abs(o*n):r<n&&(o=Math.sign(o)*Math.abs(i/n)),e.x=t.x+i,e.y=t.y+o}(i,t.chartArea.width/t.chartArea.height)}return i}function U(t,e,n,i){const o=u(e,"x",t),r=u(e,"y",t),{top:s,left:a,right:c,bottom:l,width:h,height:p}=t.chartArea,f={top:s,left:a,right:c,bottom:l},d=V(t,n,i&&o&&r);o&&j(f,t.chartArea,d,{min:"left",max:"right",prop:"x"}),r&&j(f,t.chartArea,d,{min:"top",max:"bottom",prop:"y"});const m=f.right-f.left,g=f.bottom-f.top;return{...f,width:m,height:g,zoomX:o&&m?1+(h-m)/h:1,zoomY:r&&g?1+(p-g)/p:1}}function B(t,e){const n=f(t);if(!n.dragStart)return;Y(t,"mousemove");const{mode:i,onZoomComplete:o,drag:{threshold:s=0,maintainAspectRatio:a}}=n.options.zoom,c=U(t,i,{dragStart:n.dragStart,dragEnd:e},a),l=u(i,"x",t)?c.width:0,h=u(i,"y",t)?c.height:0,p=Math.sqrt(l*l+h*h);if(n.dragStart=n.dragEnd=null,p<=s)return n.dragging=!1,void t.update("none");k(t,{x:c.left,y:c.top},{x:c.right,y:c.bottom},"zoom","drag"),n.dragging=!1,n.filterNextClick=!0,(0,r.Q)(o,[{chart:t}])}function K(t,e){const{handlers:{onZoomComplete:n},options:{zoom:i}}=f(t);if(!function(t,e,n){if(c(s(n.wheel),e))(0,r.Q)(n.onZoomRejected,[{chart:t,event:e}]);else if(!1!==Q(t,e,n)&&(e.cancelable&&e.preventDefault(),void 0!==e.deltaY))return!0}(t,e,i))return;const o=e.target.getBoundingClientRect(),a=i.wheel.speed,u=e.deltaY>=0?2-1/(1-a):1+a;I(t,{x:u,y:u,focalPoint:{x:e.clientX-o.left,y:e.clientY-o.top}},"zoom","wheel"),(0,r.Q)(n,[{chart:t}])}function G(t,e,n,i){n&&(f(t).handlers[e]=function(t,e){let n;return function(){return clearTimeout(n),n=setTimeout(t,e),e}}((()=>(0,r.Q)(n,[{chart:t}])),i))}function $(t,e){return function(n,i){const{pan:o,zoom:u={}}=e.options;if(!o||!o.enabled)return!1;const l=i&&i.srcEvent;return!l||(!(!e.panning&&"mouse"===i.pointerType&&(c(s(o),l)||a(s(u.drag),l)))||((0,r.Q)(o.onPanRejected,[{chart:t,event:i}]),!1))}}function J(t,e,n){if(e.scale){const{center:i,pointers:o}=n,r=1/e.scale*n.scale,s=n.target.getBoundingClientRect(),a=function(t,e){const n=Math.abs(t.clientX-e.clientX),i=Math.abs(t.clientY-e.clientY),o=n/i;let r,s;return o>.3&&o<1.7?r=s=!0:n>i?r=!0:s=!0,{x:r,y:s}}(o[0],o[1]),c=e.options.zoom.mode;I(t,{x:a.x&&u(c,"x",t)?r:1,y:a.y&&u(c,"y",t)?r:1,focalPoint:{x:i.x-s.left,y:i.y-s.top}},"zoom","pinch"),e.scale=n.scale}}function tt(t,e,n){const i=e.delta;i&&(e.panning=!0,R(t,{x:n.deltaX-i.x,y:n.deltaY-i.y},e.panScales),e.delta={x:n.deltaX,y:n.deltaY})}const et=new WeakMap;function nt(t,e){const n=f(t),i=t.canvas,{pan:s,zoom:a}=e,c=new(o().Manager)(i);a&&a.pinch.enabled&&(c.add(new(o().Pinch)),c.on("pinchstart",(e=>function(t,e,n){if(e.options.zoom.pinch.enabled){const i=(0,r.z)(n,t);!1===(0,r.Q)(e.options.zoom.onZoomStart,[{chart:t,event:n,point:i}])?(e.scale=null,(0,r.Q)(e.options.zoom.onZoomRejected,[{chart:t,event:n}])):e.scale=1}}(t,n,e))),c.on("pinch",(e=>J(t,n,e))),c.on("pinchend",(e=>function(t,e,n){e.scale&&(J(t,e,n),e.scale=null,(0,r.Q)(e.options.zoom.onZoomComplete,[{chart:t}]))}(t,n,e)))),s&&s.enabled&&(c.add(new(o().Pan)({threshold:s.threshold,enable:$(t,n)})),c.on("panstart",(e=>function(t,e,n){const{enabled:i,onPanStart:o,onPanRejected:s}=e.options.pan;if(!i)return;const a=n.target.getBoundingClientRect(),c={x:n.center.x-a.left,y:n.center.y-a.top};if(!1===(0,r.Q)(o,[{chart:t,event:n,point:c}]))return(0,r.Q)(s,[{chart:t,event:n}]);e.panScales=h(e.options.pan,c,t),e.delta={x:0,y:0},tt(t,e,n)}(t,n,e))),c.on("panmove",(e=>tt(t,n,e))),c.on("panend",(()=>function(t,e){e.delta=null,e.panning&&(e.panning=!1,e.filterNextClick=!0,(0,r.Q)(e.options.pan.onPanComplete,[{chart:t}]))}(t,n)))),et.set(t,c)}function it(t){const e=et.get(t);e&&(e.remove("pinchstart"),e.remove("pinch"),e.remove("pinchend"),e.remove("panstart"),e.remove("pan"),e.remove("panend"),e.destroy(),et.delete(t))}function ot(t,e,n){const i=n.zoom.drag,{dragStart:o,dragEnd:r}=f(t);if(i.drawTime!==e||!r)return;const{left:s,top:a,width:c,height:u}=U(t,n.zoom.mode,{dragStart:o,dragEnd:r},i.maintainAspectRatio),l=t.ctx;l.save(),l.beginPath(),l.fillStyle=i.backgroundColor||"rgba(225,225,225,0.3)",l.fillRect(s,a,c,u),i.borderWidth>0&&(l.lineWidth=i.borderWidth,l.strokeStyle=i.borderColor||"rgba(225,225,225)",l.strokeRect(s,a,c,u)),l.restore()}var rt={id:"zoom",version:"2.2.0",defaults:{pan:{enabled:!1,mode:"xy",threshold:10,modifierKey:null},zoom:{wheel:{enabled:!1,speed:.1,modifierKey:null},drag:{enabled:!1,drawTime:"beforeDatasetsDraw",modifierKey:null},pinch:{enabled:!1},mode:"xy"}},start:function(t,e,n){f(t).options=n,Object.prototype.hasOwnProperty.call(n.zoom,"enabled")&&console.warn("The option `zoom.enabled` is no longer supported. Please use `zoom.wheel.enabled`, `zoom.drag.enabled`, or `zoom.pinch.enabled`."),(Object.prototype.hasOwnProperty.call(n.zoom,"overScaleMode")||Object.prototype.hasOwnProperty.call(n.pan,"overScaleMode"))&&console.warn("The option `overScaleMode` is deprecated. Please use `scaleMode` instead (and update `mode` as desired)."),o()&&nt(t,n),t.pan=(e,n,i)=>R(t,e,n,i),t.zoom=(e,n)=>I(t,e,n),t.zoomRect=(e,n,i)=>k(t,e,n,i),t.zoomScale=(e,n,i)=>function(t,e,n,i="none",o="api"){const s=f(t);C(t,s),y(t.scales[e],n,void 0,!0),t.update(i),(0,r.Q)(s.options.zoom?.onZoom,[{chart:t,trigger:o}])}(t,e,n,i),t.resetZoom=e=>function(t,e="default"){const n=f(t),i=C(t,n);(0,r.F)(t.scales,(function(t){const e=t.options;i[t.id]?(e.min=i[t.id].min.options,e.max=i[t.id].max.options):(delete e.min,delete e.max),delete n.updatedScaleLimits[t.id]})),t.update(e),(0,r.Q)(n.options.zoom.onZoomComplete,[{chart:t}])}(t,e),t.getZoomLevel=()=>O(t),t.getInitialScaleBounds=()=>L(t),t.getZoomedScaleBounds=()=>function(t){const e=f(t),n={};for(const i of Object.keys(t.scales))n[i]=e.updatedScaleLimits[i];return n}(t),t.isZoomedOrPanned=()=>function(t){const e=L(t);for(const n of Object.keys(t.scales)){const{min:i,max:o}=e[n];if(void 0!==i&&t.scales[n].min!==i)return!0;if(void 0!==o&&t.scales[n].max!==o)return!0}return!1}(t),t.isZoomingOrPanning=()=>F(t)},beforeEvent(t,{event:e}){if(F(t))return!1;if("click"===e.type||"mouseup"===e.type){const e=f(t);if(e.filterNextClick)return e.filterNextClick=!1,!1}},beforeUpdate:function(t,e,n){const i=f(t),o=i.options;i.options=n,function(t,e){const{pan:n,zoom:i}=t,{pan:o,zoom:r}=e;return i?.zoom?.pinch?.enabled!==r?.zoom?.pinch?.enabled||n?.enabled!==o?.enabled||n?.threshold!==o?.threshold}(o,n)&&(it(t),nt(t,n)),function(t,e){const n=t.canvas,{wheel:i,drag:o,onZoomComplete:r}=e.zoom;i.enabled?(X(t,n,"wheel",K),G(t,"onZoomComplete",r,250)):Y(t,"wheel"),o.enabled?(X(t,n,"mousedown",Z),X(t,n.ownerDocument,"mouseup",B)):(Y(t,"mousedown"),Y(t,"mousemove"),Y(t,"mouseup"),Y(t,"keydown"))}(t,n)},beforeDatasetsDraw(t,e,n){ot(t,"beforeDatasetsDraw",n)},afterDatasetsDraw(t,e,n){ot(t,"afterDatasetsDraw",n)},beforeDraw(t,e,n){ot(t,"beforeDraw",n)},afterDraw(t,e,n){ot(t,"afterDraw",n)},stop:function(t){!function(t){Y(t,"mousedown"),Y(t,"mousemove"),Y(t,"mouseup"),Y(t,"wheel"),Y(t,"click"),Y(t,"keydown")}(t),o()&&it(t),function(t){p.delete(t)}(t)},panFunctions:z,zoomFunctions:M,zoomRectFunctions:E}},5287:(t,e,n)=>{var i=n(34932),o=n(27185),r=n(69302),s=n(3122),a=r((function(t){var e=i(t,s);return e.length&&e[0]===t[0]?o(e):[]}));t.exports=a},27185:(t,e,n)=>{var i=n(38859),o=n(15325),r=n(29905),s=n(34932),a=n(27301),c=n(19219),u=Math.min;t.exports=function(t,e,n){for(var l=n?r:o,h=t[0].length,p=t.length,f=p,d=Array(p),m=1/0,g=[];f--;){var v=t[f];f&&e&&(v=s(v,a(e))),m=u(v.length,m),d[f]=!n&&(e||h>=120&&v.length>=120)?new i(f&&v):void 0}v=t[0];var y=-1,x=d[0];t:for(;++y<h&&g.length<m;){var T=v[y],b=e?e(T):T;if(T=n||0!==T?T:0,!(x?c(x,b):l(g,b,n))){for(f=p;--f;){var w=d[f];if(!(w?c(w,b):l(t[f],b,n)))continue t}x&&x.push(b),g.push(T)}}return g}},47154:(t,e,n)=>{"use strict";var i=n(66118);i.t1.register(...i.$L)},47168:(t,e,n)=>{var i;!function(o,r,s,a){"use strict";var c,u=["","webkit","Moz","MS","ms","o"],l=r.createElement("div"),h=Math.round,p=Math.abs,f=Date.now;function d(t,e,n){return setTimeout(b(t,n),e)}function m(t,e,n){return!!Array.isArray(t)&&(g(t,n[e],n),!0)}function g(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 v(t,e,n){var i="DEPRECATED METHOD: "+e+"\n"+n+" AT \n";return function(){var e=new 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",r=o.console&&(o.console.warn||o.console.log);return r&&r.call(o.console,i,n),t.apply(this,arguments)}}c="function"!==typeof Object.assign?function(t){if(t===a||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1;n<arguments.length;n++){var i=arguments[n];if(i!==a&&null!==i)for(var o in i)i.hasOwnProperty(o)&&(e[o]=i[o])}return e}:Object.assign;var y=v((function(t,e,n){for(var i=Object.keys(e),o=0;o<i.length;)(!n||n&&t[i[o]]===a)&&(t[i[o]]=e[i[o]]),o++;return t}),"extend","Use `assign`."),x=v((function(t,e){return y(t,e,!0)}),"merge","Use `assign`.");function T(t,e,n){var i,o=e.prototype;(i=t.prototype=Object.create(o)).constructor=t,i._super=o,n&&c(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 M(t,e){return t===a?e:t}function E(t,e,n){g(P(e),(function(e){t.addEventListener(e,n,!1)}))}function z(t,e,n){g(P(e),(function(e){t.removeEventListener(e,n,!1)}))}function S(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function C(t,e){return t.indexOf(e)>-1}function P(t){return t.trim().split(/\s+/g)}function D(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 A(t){return Array.prototype.slice.call(t,0)}function I(t,e,n){for(var i=[],o=[],r=0;r<t.length;){var s=e?t[r][e]:t[r];D(o,s)<0&&i.push(t[r]),o[r]=s,r++}return n&&(i=e?i.sort((function(t,n){return t[e]>n[e]})):i.sort()),i}function k(t,e){for(var n,i,o=e[0].toUpperCase()+e.slice(1),r=0;r<u.length;){if((i=(n=u[r])?n+o:e)in t)return i;r++}return a}var O=1;function _(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||o}var R="ontouchstart"in o,L=k(o,"PointerEvent")!==a,F=R&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),N="touch",Y="mouse",X=24,q=["x","y"],W=["clientX","clientY"];function H(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 Q(t,e,n){var i=n.pointers.length,o=n.changedPointers.length,r=1&e&&i-o===0,s=12&e&&i-o===0;n.isFirst=!!r,n.isFinal=!!s,r&&(t.session={}),n.eventType=e,function(t,e){var n=t.session,i=e.pointers,o=i.length;n.firstInput||(n.firstInput=Z(e));o>1&&!n.firstMultiple?n.firstMultiple=Z(e):1===o&&(n.firstMultiple=!1);var r=n.firstInput,s=n.firstMultiple,c=s?s.center:r.center,u=e.center=j(i);e.timeStamp=f(),e.deltaTime=e.timeStamp-r.timeStamp,e.angle=K(c,u),e.distance=B(c,u),function(t,e){var n=e.center,i=t.offsetDelta||{},o=t.prevDelta||{},r=t.prevInput||{};1!==e.eventType&&4!==r.eventType||(o=t.prevDelta={x:r.deltaX||0,y:r.deltaY||0},i=t.offsetDelta={x:n.x,y:n.y});e.deltaX=o.x+(n.x-i.x),e.deltaY=o.y+(n.y-i.y)}(n,e),e.offsetDirection=U(e.deltaX,e.deltaY);var l=V(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=l.x,e.overallVelocityY=l.y,e.overallVelocity=p(l.x)>p(l.y)?l.x:l.y,e.scale=s?(h=s.pointers,d=i,B(d[0],d[1],W)/B(h[0],h[1],W)):1,e.rotation=s?function(t,e){return K(e[1],e[0],W)+K(t[1],t[0],W)}(s.pointers,i):0,e.maxPointers=n.prevInput?e.pointers.length>n.prevInput.maxPointers?e.pointers.length:n.prevInput.maxPointers:e.pointers.length,function(t,e){var n,i,o,r,s=t.lastInterval||e,c=e.timeStamp-s.timeStamp;if(8!=e.eventType&&(c>25||s.velocity===a)){var u=e.deltaX-s.deltaX,l=e.deltaY-s.deltaY,h=V(c,u,l);i=h.x,o=h.y,n=p(h.x)>p(h.y)?h.x:h.y,r=U(u,l),t.lastInterval=e}else n=s.velocity,i=s.velocityX,o=s.velocityY,r=s.direction;e.velocity=n,e.velocityX=i,e.velocityY=o,e.direction=r}(n,e);var h,d;var m=t.element;S(e.srcEvent.target,m)&&(m=e.srcEvent.target);e.target=m}(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function Z(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:j(e),deltaX:t.deltaX,deltaY:t.deltaY}}function j(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,o=0;o<e;)n+=t[o].clientX,i+=t[o].clientY,o++;return{x:h(n/e),y:h(i/e)}}function V(t,e,n){return{x:e/t||0,y:n/t||0}}function U(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=q);var i=e[n[0]]-t[n[0]],o=e[n[1]]-t[n[1]];return Math.sqrt(i*i+o*o)}function K(t,e,n){n||(n=q);var i=e[n[0]]-t[n[0]],o=e[n[1]]-t[n[1]];return 180*Math.atan2(o,i)/Math.PI}H.prototype={handler:function(){},init:function(){this.evEl&&E(this.element,this.evEl,this.domHandler),this.evTarget&&E(this.target,this.evTarget,this.domHandler),this.evWin&&E(_(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&z(this.element,this.evEl,this.domHandler),this.evTarget&&z(this.target,this.evTarget,this.domHandler),this.evWin&&z(_(this.element),this.evWin,this.domHandler)}};var G={mousedown:1,mousemove:2,mouseup:4},$="mousedown",J="mousemove mouseup";function tt(){this.evEl=$,this.evWin=J,this.pressed=!1,H.apply(this,arguments)}T(tt,H,{handler:function(t){var e=G[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:Y,srcEvent:t}))}});var et={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},nt={2:N,3:"pen",4:Y,5:"kinect"},it="pointerdown",ot="pointermove pointerup pointercancel";function rt(){this.evEl=it,this.evWin=ot,H.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}o.MSPointerEvent&&!o.PointerEvent&&(it="MSPointerDown",ot="MSPointerMove MSPointerUp MSPointerCancel"),T(rt,H,{handler:function(t){var e=this.store,n=!1,i=t.type.toLowerCase().replace("ms",""),o=et[i],r=nt[t.pointerType]||t.pointerType,s=r==N,a=D(e,t.pointerId,"pointerId");1&o&&(0===t.button||s)?a<0&&(e.push(t),a=e.length-1):12&o&&(n=!0),a<0||(e[a]=t,this.callback(this.manager,o,{pointers:e,changedPointers:[t],pointerType:r,srcEvent:t}),n&&e.splice(a,1))}});var st={touchstart:1,touchmove:2,touchend:4,touchcancel:8};function at(){this.evTarget="touchstart",this.evWin="touchstart touchmove touchend touchcancel",this.started=!1,H.apply(this,arguments)}function ct(t,e){var n=A(t.touches),i=A(t.changedTouches);return 12&e&&(n=I(n.concat(i),"identifier",!0)),[n,i]}T(at,H,{handler:function(t){var e=st[t.type];if(1===e&&(this.started=!0),this.started){var n=ct.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:N,srcEvent:t})}}});var ut={touchstart:1,touchmove:2,touchend:4,touchcancel:8},lt="touchstart touchmove touchend touchcancel";function ht(){this.evTarget=lt,this.targetIds={},H.apply(this,arguments)}function pt(t,e){var n=A(t.touches),i=this.targetIds;if(3&e&&1===n.length)return i[n[0].identifier]=!0,[n,n];var o,r,s=A(t.changedTouches),a=[],c=this.target;if(r=n.filter((function(t){return S(t.target,c)})),1===e)for(o=0;o<r.length;)i[r[o].identifier]=!0,o++;for(o=0;o<s.length;)i[s[o].identifier]&&a.push(s[o]),12&e&&delete i[s[o].identifier],o++;return a.length?[I(r.concat(a),"identifier",!0),a]:void 0}T(ht,H,{handler:function(t){var e=ut[t.type],n=pt.call(this,t,e);n&&this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:N,srcEvent:t})}});function ft(){H.apply(this,arguments);var t=b(this.handler,this);this.touch=new ht(this.manager,t),this.mouse=new tt(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function dt(t,e){1&t?(this.primaryTouch=e.changedPointers[0].identifier,mt.call(this,e)):12&t&&mt.call(this,e)}function mt(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 gt(t){for(var e=t.srcEvent.clientX,n=t.srcEvent.clientY,i=0;i<this.lastTouches.length;i++){var o=this.lastTouches[i],r=Math.abs(e-o.x),s=Math.abs(n-o.y);if(r<=25&&s<=25)return!0}return!1}T(ft,H,{handler:function(t,e,n){var i=n.pointerType==N,o=n.pointerType==Y;if(!(o&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if(i)dt.call(this,e,n);else if(o&>.call(this,n))return;this.callback(t,e,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var vt=k(l.style,"touchAction"),yt=vt!==a,xt="compute",Tt="auto",bt="manipulation",wt="none",Mt="pan-x",Et="pan-y",zt=function(){if(!yt)return!1;var t={},e=o.CSS&&o.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(n){t[n]=!e||o.CSS.supports("touch-action",n)})),t}();function St(t,e){this.manager=t,this.set(e)}St.prototype={set:function(t){t==xt&&(t=this.compute()),yt&&this.manager.element.style&&zt[t]&&(this.manager.element.style[vt]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return g(this.manager.recognizers,(function(e){w(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))})),function(t){if(C(t,wt))return wt;var e=C(t,Mt),n=C(t,Et);if(e&&n)return wt;if(e||n)return e?Mt:Et;if(C(t,bt))return bt;return Tt}(t.join(" "))},preventDefaults:function(t){var e=t.srcEvent,n=t.offsetDirection;if(this.manager.session.prevented)e.preventDefault();else{var i=this.actions,o=C(i,wt)&&!zt[wt],r=C(i,Et)&&!zt[Et],s=C(i,Mt)&&!zt[Mt];if(o){var a=1===t.pointers.length,c=t.distance<2,u=t.deltaTime<250;if(a&&c&&u)return}if(!s||!r)return o||r&&6&n||s&&n&X?this.preventSrc(e):void 0}},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var Ct=32;function Pt(t){this.options=c({},this.defaults,t||{}),this.id=O++,this.manager=null,this.options.enable=M(this.options.enable,!0),this.state=1,this.simultaneous={},this.requireFail=[]}function Dt(t){return 16&t?"cancel":8&t?"end":4&t?"move":2&t?"start":""}function At(t){return 16==t?"down":8==t?"up":2==t?"left":4==t?"right":""}function It(t,e){var n=e.manager;return n?n.get(t):t}function kt(){Pt.apply(this,arguments)}function Ot(){kt.apply(this,arguments),this.pX=null,this.pY=null}function _t(){kt.apply(this,arguments)}function Rt(){Pt.apply(this,arguments),this._timer=null,this._input=null}function Lt(){kt.apply(this,arguments)}function Ft(){kt.apply(this,arguments)}function Nt(){Pt.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function Yt(t,e){return(e=e||{}).recognizers=M(e.recognizers,Yt.defaults.preset),new Xt(t,e)}Pt.prototype={defaults:{},set:function(t){return c(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(m(t,"recognizeWith",this))return this;var e=this.simultaneous;return e[(t=It(t,this)).id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return m(t,"dropRecognizeWith",this)||(t=It(t,this),delete this.simultaneous[t.id]),this},requireFailure:function(t){if(m(t,"requireFailure",this))return this;var e=this.requireFail;return-1===D(e,t=It(t,this))&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(m(t,"dropRequireFailure",this))return this;t=It(t,this);var e=D(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+Dt(n)),i(e.options.event),t.additionalEvent&&i(t.additionalEvent),n>=8&&i(e.options.event+Dt(n))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=Ct},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=c({},t);if(!w(this.options.enable,[this,e]))return this.reset(),void(this.state=Ct);56&this.state&&(this.state=1),this.state=this.process(e),30&this.state&&this.tryEmit(e)},process:function(t){},getTouchAction:function(){},reset:function(){}},T(kt,Pt,{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,o=this.attrTest(t);return i&&(8&n||!o)?16|e:i||o?4&n?8|e:2&e?4|e:2:Ct}}),T(Ot,kt,{defaults:{event:"pan",threshold:10,pointers:1,direction:30},getTouchAction:function(){var t=this.options.direction,e=[];return 6&t&&e.push(Et),t&X&&e.push(Mt),e},directionTest:function(t){var e=this.options,n=!0,i=t.distance,o=t.direction,r=t.deltaX,s=t.deltaY;return o&e.direction||(6&e.direction?(o=0===r?1:r<0?2:4,n=r!=this.pX,i=Math.abs(t.deltaX)):(o=0===s?1:s<0?8:16,n=s!=this.pY,i=Math.abs(t.deltaY))),t.direction=o,n&&i>e.threshold&&o&e.direction},attrTest:function(t){return kt.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=At(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),T(_t,kt,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[wt]},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)}}),T(Rt,Pt,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[Tt]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,o=t.deltaTime>e.time;if(this._input=t,!i||!n||12&t.eventType&&!o)this.reset();else 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;return Ct},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)))}}),T(Lt,kt,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[wt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||2&this.state)}}),T(Ft,kt,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:30,pointers:1},getTouchAction:function(){return Ot.prototype.getTouchAction.call(this)},attrTest:function(t){var e,n=this.options.direction;return 30&n?e=t.overallVelocity:6&n?e=t.overallVelocityX:n&X&&(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=At(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),T(Nt,Pt,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[bt]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,o=t.deltaTime<e.time;if(this.reset(),1&t.eventType&&0===this.count)return this.failTimeout();if(i&&o&&n){if(4!=t.eventType)return this.failTimeout();var r=!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&&r?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 Ct},failTimeout:function(){return this._timer=d((function(){this.state=Ct}),this.options.interval,this),Ct},reset:function(){clearTimeout(this._timer)},emit:function(){8==this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),Yt.VERSION="2.0.7",Yt.defaults={domEvents:!1,touchAction:xt,enable:!0,inputTarget:null,inputClass:null,preset:[[Lt,{enable:!1}],[_t,{enable:!1},["rotate"]],[Ft,{direction:6}],[Ot,{direction:6},["swipe"]],[Nt],[Nt,{event:"doubletap",taps:2},["tap"]],[Rt]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};function Xt(t,e){var n;this.options=c({},Yt.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||(L?rt:F?ht:R?ft:tt))(n,Q),this.touchAction=new St(this,this.options.touchAction),qt(this,!0),g(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 qt(t,e){var n,i=t.element;i.style&&(g(t.options.cssProps,(function(o,r){n=k(i.style,r),e?(t.oldCssProps[n]=i.style[n],i.style[n]=o):i.style[n]=t.oldCssProps[n]||""})),e||(t.oldCssProps={}))}Xt.prototype={set:function(t){return c(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=this.session;if(!e.stopped){var n;this.touchAction.preventDefaults(t);var i=this.recognizers,o=e.curRecognizer;(!o||o&&8&o.state)&&(o=e.curRecognizer=null);for(var r=0;r<i.length;)n=i[r],2===e.stopped||o&&n!=o&&!n.canRecognizeWith(o)?n.reset():n.recognize(t),!o&&14&n.state&&(o=e.curRecognizer=n),r++}},get:function(t){if(t instanceof Pt)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(m(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(m(t,"remove",this))return this;if(t=this.get(t)){var e=this.recognizers,n=D(e,t);-1!==n&&(e.splice(n,1),this.touchAction.update())}return this},on:function(t,e){if(t!==a&&e!==a){var n=this.handlers;return g(P(t),(function(t){n[t]=n[t]||[],n[t].push(e)})),this}},off:function(t,e){if(t!==a){var n=this.handlers;return g(P(t),(function(t){e?n[t]&&n[t].splice(D(n[t],e),1):delete n[t]})),this}},emit:function(t,e){this.options.domEvents&&function(t,e){var n=r.createEvent("Event");n.initEvent(t,!0,!0),n.gesture=e,e.target.dispatchEvent(n)}(t,e);var n=this.handlers[t]&&this.handlers[t].slice();if(n&&n.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var i=0;i<n.length;)n[i](e),i++}},destroy:function(){this.element&&qt(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},c(Yt,{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:Ct,DIRECTION_NONE:1,DIRECTION_LEFT:2,DIRECTION_RIGHT:4,DIRECTION_UP:8,DIRECTION_DOWN:16,DIRECTION_HORIZONTAL:6,DIRECTION_VERTICAL:X,DIRECTION_ALL:30,Manager:Xt,Input:H,TouchAction:St,TouchInput:ht,MouseInput:tt,PointerEventInput:rt,TouchMouseInput:ft,SingleTouchInput:at,Recognizer:Pt,AttrRecognizer:kt,Tap:Nt,Pan:Ot,Swipe:Ft,Pinch:_t,Rotate:Lt,Press:Rt,on:E,off:z,each:g,merge:x,extend:y,assign:c,inherit:T,bindFn:b,prefixed:k}),("undefined"!==typeof o?o:"undefined"!==typeof self?self:{}).Hammer=Yt,(i=function(){return Yt}.call(e,n,e,t))===a||(t.exports=i)}(window,document)},55426:(t,e)=>{"use strict";var n="eye-slash",i=[],o="f070",r="M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zm151 118.3C226 97.7 269.5 80 320 80c65.2 0 118.8 29.6 159.9 67.7C518.4 183.5 545 226 558.6 256c-12.6 28-36.6 66.8-70.9 100.9l-53.8-42.2c9.1-17.6 14.2-37.5 14.2-58.7c0-70.7-57.3-128-128-128c-32.2 0-61.7 11.9-84.2 31.5l-46.1-36.1zM394.9 284.2l-81.5-63.9c4.2-8.5 6.6-18.2 6.6-28.3c0-5.5-.7-10.9-2-16c.7 0 1.3 0 2 0c44.2 0 80 35.8 80 80c0 9.9-1.8 19.4-5.1 28.2zm9.4 130.3C378.8 425.4 350.7 432 320 432c-65.2 0-118.8-29.6-159.9-67.7C121.6 328.5 95 286 81.4 256c8.3-18.4 21.5-41.5 39.4-64.8L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5l-41.9-33zM192 256c0 70.7 57.3 128 128 128c13.3 0 26.1-2 38.2-5.8L302 334c-23.5-5.4-43.1-21.2-53.7-42.3l-56.1-44.2c-.2 2.8-.3 5.6-.3 8.5z";e.mw={prefix:"far",iconName:n,icon:[640,512,i,o,r]},e.k6=e.mw},67140:(t,e,n)=>{"use strict";var i=n(66118),o=n(29407),r=n(58646),s=n(41394),a=n(32370),c=n(85577),u=n(79197),l=n(49914),h=n(38342),p=n(49176),f=n(16172),d=n(79114),m=n(66304),g=n(37122),v=n(95413),y=n(92488),x=n(91349),T=n(49785),b=n(98163),w=n(18373),M=n(14936);function E(t,e,n){const i=(0,w.c)(t,e,n)/7;return(0,M.u)(n?.roundingMethod)(i)}var z=n(10911);function S(t,e,n){const i=(0,z.W)(t,e,n)/3;return(0,M.u)(n?.roundingMethod)(i)}var C=n(26382);function P(t,e){const n=(0,o.a)(t,e?.in);return n.setMilliseconds(0),n}function D(t,e){const n=(0,o.a)(t,e?.in);return n.setSeconds(0,0),n}function A(t,e){const n=(0,o.a)(t,e?.in);return n.setMinutes(0,0,0),n}var I=n(6463),k=n(80337),O=n(27763),_=n(4501),R=n(70228);function L(t,e){const n=(0,o.a)(t,e?.in);return n.setMilliseconds(999),n}function F(t,e){const n=(0,o.a)(t,e?.in);return n.setSeconds(59,999),n}function N(t,e){const n=(0,o.a)(t,e?.in);return n.setMinutes(59,59,999),n}var Y=n(12268),X=n(54352),q=n(11580);function W(t,e){const n=(0,o.a)(t,e?.in),i=n.getMonth(),r=i-i%3+3;return n.setMonth(r,0),n.setHours(23,59,59,999),n}var H=n(64169);const Q={datetime:"MMM d, yyyy, h:mm:ss aaaa",millisecond:"h:mm:ss.SSS aaaa",second:"h:mm:ss aaaa",minute:"h:mm aaaa",hour:"ha",day:"MMM d",week:"PP",month:"MMM yyyy",quarter:"qqq - yyyy",year:"yyyy"};i.ij._date.override({_id:"date-fns",formats:function(){return Q},parse:function(t,e){if(null===t||"undefined"===typeof t)return null;const n=typeof t;return"number"===n||t instanceof Date?t=(0,o.a)(t):"string"===n&&(t="string"===typeof e?(0,r.qg)(t,e,new Date,this.options):(0,s.H)(t,this.options)),(0,a.f)(t)?t.getTime():null},format:function(t,e){return(0,c.GP)(t,e,this.options)},add:function(t,e,n){switch(n){case"millisecond":return(0,u.A)(t,e);case"second":return(0,l.p)(t,e);case"minute":return(0,h.z)(t,e);case"hour":return(0,p.L)(t,e);case"day":return(0,f.f)(t,e);case"week":return(0,d.J)(t,e);case"month":return(0,m.P)(t,e);case"quarter":return(0,g.z)(t,e);case"year":return(0,v.e)(t,e);default:return t}},diff:function(t,e,n){switch(n){case"millisecond":return(0,y.b)(t,e);case"second":return(0,x.O)(t,e);case"minute":return(0,T.o)(t,e);case"hour":return(0,b.M)(t,e);case"day":return(0,w.c)(t,e);case"week":return E(t,e);case"month":return(0,z.W)(t,e);case"quarter":return S(t,e);case"year":return(0,C.V)(t,e);default:return 0}},startOf:function(t,e,n){switch(e){case"second":return P(t);case"minute":return D(t);case"hour":return A(t);case"day":return(0,I.o)(t);case"week":return(0,k.k)(t);case"isoWeek":return(0,k.k)(t,{weekStartsOn:+n});case"month":return(0,O.w)(t);case"quarter":return(0,_.a)(t);case"year":return(0,R.D)(t);default:return t}},endOf:function(t,e){switch(e){case"second":return L(t);case"minute":return F(t);case"hour":return N(t);case"day":return(0,Y.D)(t);case"week":return(0,X.$)(t);case"month":return(0,q.p)(t);case"quarter":return W(t);case"year":return(0,H.Q)(t);default:return t}}})},68383:(t,e)=>{"use strict";var n=[128065],i="f06e",o="M288 80c-65.2 0-118.8 29.6-159.9 67.7C89.6 183.5 63 226 49.4 256c13.6 30 40.2 72.5 78.6 108.3C169.2 402.4 222.8 432 288 432s118.8-29.6 159.9-67.7C486.4 328.5 513 286 526.6 256c-13.6-30-40.2-72.5-78.6-108.3C406.8 109.6 353.2 80 288 80zM95.4 112.6C142.5 68.8 207.2 32 288 32s145.5 36.8 192.6 80.6c46.8 43.5 78.1 95.4 93 131.1c3.3 7.9 3.3 16.7 0 24.6c-14.9 35.7-46.2 87.7-93 131.1C433.5 443.2 368.8 480 288 480s-145.5-36.8-192.6-80.6C48.6 356 17.3 304 2.5 268.3c-3.3-7.9-3.3-16.7 0-24.6C17.3 208 48.6 156 95.4 112.6zM288 336c44.2 0 80-35.8 80-80s-35.8-80-80-80c-.7 0-1.3 0-2 0c1.3 5.1 2 10.5 2 16c0 35.3-28.7 64-64 64c-5.5 0-10.9-.7-16-2c0 .7 0 1.3 0 2c0 44.2 35.8 80 80 80zm0-208a128 128 0 1 1 0 256 128 128 0 1 1 0-256z";e.mw={prefix:"far",iconName:"eye",icon:[576,512,n,i,o]},e.pS=e.mw},99238:t=>{t.exports=function(){return!0}}}]);