MOON
Server: Apache
System: Linux server1.studioinfinity.com.br 2.6.32-954.3.5.lve1.4.90.el6.x86_64 #1 SMP Tue Feb 21 12:26:30 UTC 2023 x86_64
User: artinside (517)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //proc/self/root/opt/netdata/usr/share/netdata/web/v3/5647.bd8a73e57aa2b0cc12d9.chunk.js
/*! For license information please see 5647.bd8a73e57aa2b0cc12d9.chunk.js.LICENSE.txt */
!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};t.SENTRY_RELEASE={id:"b06348a4787b660201b18f5fa878e4faccd4b679"};var e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="dbd4ff57-f0a9-4615-9236-313ef4f474c8",t._sentryDebugIdIdentifier="sentry-dbid-dbd4ff57-f0a9-4615-9236-313ef4f474c8")}catch(t){}}(),(globalThis.webpackChunkcloud_frontend=globalThis.webpackChunkcloud_frontend||[]).push([[5647],{26220(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 f=new WeakMap;function p(t){let e=f.get(t);return e||(e={originalScaleLimits:{},updatedScaleLimits:{},handlers:{},panDelta:{},dragging:!1,panning:!1},f.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=p(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 f=t.max-t.min,d=o?Math.max(n-e,u):f;if(o&&d===u&&f<=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)}},_={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 k(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 z(t,e,n,i){const o=M[t.type]||M.default;(0,r.Q)(o,[t,e,n,i])}function P(t,e,n,i){const o=E[t.type]||E.default;(0,r.Q)(o,[t,e,n,i])}function L(t){const e=t.chartArea;return{x:(e.left+e.right)/2,y:(e.top+e.bottom)/2}}function D(t,e,n="none",i="api"){const{x:o=1,y:s=1,focalPoint:a=L(t)}="number"===typeof e?{x:e,y:e}:e,c=p(t),{options:{limits:u,zoom:l}}=c;k(t,c);const f=1!==o,d=1!==s,m=h(l,a,t);(0,r.F)(m||t.scales,function(t){t.isHorizontal()&&f?z(t,o,a,u):!t.isHorizontal()&&d&&z(t,s,a,u)}),t.update(n),(0,r.Q)(l.onZoom,[{chart:t,trigger:i}])}function A(t,e,n,i="none",o="api"){const s=p(t),{options:{limits:a,zoom:c}}=s,{mode:l="xy"}=c;k(t,s);const h=u(l,"x",t),f=u(l,"y",t);(0,r.F)(t.scales,function(t){t.isHorizontal()&&h?P(t,e.x,n.x,a):!t.isHorizontal()&&f&&P(t,e.y,n.y,a)}),t.update(i),(0,r.Q)(c.onZoom,[{chart:t,trigger:o}])}function C(t){const e=p(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 I(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=_[t.type]||_.default;(0,r.Q)(a,[t,e,n])?o[t.id]=0:o[t.id]=e}function O(t,e,n,i="none"){const{x:o=0,y:s=0}="number"===typeof e?{x:e,y:e}:e,a=p(t),{options:{pan:c,limits:u}}=a,{onPan:l}=c||{};k(t,a);const h=0!==o,f=0!==s;(0,r.F)(n||t.scales,function(t){t.isHorizontal()&&h?I(t,o,u,a):!t.isHorizontal()&&f&&I(t,s,u,a)}),t.update(i),(0,r.Q)(l,[{chart:t}])}function R(t){const e=p(t);k(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=p(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}=p(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}=p(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=p(t);n.dragStart&&(n.dragging=!0,n.dragEnd=e,t.update("none"))}function W(t,e){const n=p(t);n.dragStart&&"Escape"===e.key&&(Y(t,"keydown"),n.dragging=!1,n.dragStart=n.dragEnd=null,t.update("none"))}function Z(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 j(t,e,n){const{onZoomStart:i,onZoomRejected:o}=n;if(i){const n=Z(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 Q(t,e){if(t.legend){const n=(0,r.z)(e,t);if((0,r.C)(n,t.legend))return}const n=p(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!==j(t,e,o)&&(n.dragStart=e,X(t,t.canvas.ownerDocument,"mousemove",q),X(t,window.document,"keydown",W))}function H(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:Z(e.dragStart,t),end:Z(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:f}=t.chartArea,p={top:s,left:a,right:c,bottom:l},d=V(t,n,i&&o&&r);o&&H(p,t.chartArea,d,{min:"left",max:"right",prop:"x"}),r&&H(p,t.chartArea,d,{min:"top",max:"bottom",prop:"y"});const m=p.right-p.left,g=p.bottom-p.top;return{...p,width:m,height:g,zoomX:o&&m?1+(h-m)/h:1,zoomY:r&&g?1+(f-g)/f:1}}function B(t,e){const n=p(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,f=Math.sqrt(l*l+h*h);if(n.dragStart=n.dragEnd=null,f<=s)return n.dragging=!1,void t.update("none");A(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}}=p(t);if(!function(t,e,n){if(c(s(n.wheel),e))(0,r.Q)(n.onZoomRejected,[{chart:t,event:e}]);else if(!1!==j(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;D(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&&(p(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;D(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,O(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=p(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}=p(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){p(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)=>O(t,e,n,i),t.zoom=(e,n)=>D(t,e,n),t.zoomRect=(e,n,i)=>A(t,e,n,i),t.zoomScale=(e,n,i)=>function(t,e,n,i="none",o="api"){const s=p(t);k(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=p(t),i=k(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=()=>C(t),t.getInitialScaleBounds=()=>R(t),t.getZoomedScaleBounds=()=>function(t){const e=p(t),n={};for(const i of Object.keys(t.scales))n[i]=e.updatedScaleLimits[i];return n}(t),t.isZoomedOrPanned=()=>function(t){const e=R(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=p(t);if(e.filterNextClick)return e.filterNextClick=!1,!1}},beforeUpdate:function(t,e,n){const i=p(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",Q),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){f.delete(t)}(t)},panFunctions:_,zoomFunctions:M,zoomRectFunctions:E}},19818(t,e,n){"use strict";function i(t){return t.depth}function o(t,e){return t.sourceLinks.length?t.depth:e-1}n.d(e,{kb:()=>i,pD:()=>o})},72704(t,e,n){"use strict";function i(t,e){let n=0;if(void 0===e)for(let i of t)(i=+i)&&(n+=i);else{let i=-1;for(let o of t)(o=+e(o,++i,t))&&(n+=o)}return n}function o(t,e){let n;if(void 0===e)for(const i of t)null!=i&&(n<i||void 0===n&&i>=i)&&(n=i);else{let i=-1;for(let o of t)null!=(o=e(o,++i,t))&&(n<o||void 0===n&&o>=o)&&(n=o)}return n}n.d(e,{A:()=>g});var r=n(19818);function s(t){return function(){return t}}function a(t,e){return u(t.source,e.source)||t.index-e.index}function c(t,e){return u(t.target,e.target)||t.index-e.index}function u(t,e){return t.y0-e.y0}function l(t){return t.value}function h(t){return t.index}function f(t){return t.nodes}function p(t){return t.links}function d(t,e){const n=t.get(e);if(!n)throw new Error("missing: "+e);return n}function m({nodes:t}){for(const e of t){let t=e.y0,n=t;for(const i of e.sourceLinks)i.y0=t+i.width/2,t+=i.width;for(const i of e.targetLinks)i.y1=n+i.width/2,n+=i.width}}function g(){let t,e,n,g=0,v=0,y=1,x=1,T=24,b=8,w=h,M=r.pD,E=f,_=p,S=6;function k(){const r={nodes:E.apply(null,arguments),links:_.apply(null,arguments)};return function({nodes:t,links:e}){for(const[n,o]of t.entries())o.index=n,o.sourceLinks=[],o.targetLinks=[];const i=new Map(t.map((e,n)=>[w(e,n,t),e]));for(const[n,o]of e.entries()){o.index=n;let{source:t,target:e}=o;"object"!==typeof t&&(t=o.source=d(i,t)),"object"!==typeof e&&(e=o.target=d(i,e)),t.sourceLinks.push(o),e.targetLinks.push(o)}if(null!=n)for(const{sourceLinks:o,targetLinks:r}of t)o.sort(n),r.sort(n)}(r),function({nodes:t}){for(const e of t)e.value=void 0===e.fixedValue?Math.max(i(e.sourceLinks,l),i(e.targetLinks,l)):e.fixedValue}(r),function({nodes:t}){const e=t.length;let n=new Set(t),i=new Set,o=0;for(;n.size;){for(const t of n){t.depth=o;for(const{target:e}of t.sourceLinks)i.add(e)}if(++o>e)throw new Error("circular link");n=i,i=new Set}}(r),function({nodes:t}){const e=t.length;let n=new Set(t),i=new Set,o=0;for(;n.size;){for(const t of n){t.height=o;for(const{source:e}of t.targetLinks)i.add(e)}if(++o>e)throw new Error("circular link");n=i,i=new Set}}(r),function(n){const r=function({nodes:t}){const n=o(t,t=>t.depth)+1,i=(y-g-T)/(n-1),r=new Array(n);for(const e of t){const t=Math.max(0,Math.min(n-1,Math.floor(M.call(null,e,n))));e.layer=t,e.x0=g+t*i,e.x1=e.x0+T,r[t]?r[t].push(e):r[t]=[e]}if(e)for(const o of r)o.sort(e);return r}(n);t=Math.min(b,(x-v)/(o(r,t=>t.length)-1)),function(e){const n=function(t,e){let n;if(void 0===e)for(const i of t)null!=i&&(n>i||void 0===n&&i>=i)&&(n=i);else{let i=-1;for(let o of t)null!=(o=e(o,++i,t))&&(n>o||void 0===n&&o>=o)&&(n=o)}return n}(e,e=>(x-v-(e.length-1)*t)/i(e,l));for(const i of e){let e=v;for(const o of i){o.y0=e,o.y1=e+o.value*n,e=o.y1+t;for(const t of o.sourceLinks)t.width=t.value*n}e=(x-e+t)/(i.length+1);for(let t=0;t<i.length;++t){const n=i[t];n.y0+=e*(t+1),n.y1+=e*(t+1)}I(i)}}(r);for(let t=0;t<S;++t){const e=Math.pow(.99,t),n=Math.max(1-e,(t+1)/S);P(r,e,n),z(r,e,n)}}(r),m(r),r}function z(t,n,i){for(let o=1,r=t.length;o<r;++o){const r=t[o];for(const t of r){let e=0,i=0;for(const{source:n,value:r}of t.targetLinks){let o=r*(t.layer-n.layer);e+=O(n,t)*o,i+=o}if(!(i>0))continue;let o=(e/i-t.y0)*n;t.y0+=o,t.y1+=o,C(t)}void 0===e&&r.sort(u),L(r,i)}}function P(t,n,i){for(let o=t.length-2;o>=0;--o){const r=t[o];for(const t of r){let e=0,i=0;for(const{target:n,value:r}of t.sourceLinks){let o=r*(n.layer-t.layer);e+=R(t,n)*o,i+=o}if(!(i>0))continue;let o=(e/i-t.y0)*n;t.y0+=o,t.y1+=o,C(t)}void 0===e&&r.sort(u),L(r,i)}}function L(e,n){const i=e.length>>1,o=e[i];A(e,o.y0-t,i-1,n),D(e,o.y1+t,i+1,n),A(e,x,e.length-1,n),D(e,v,0,n)}function D(e,n,i,o){for(;i<e.length;++i){const r=e[i],s=(n-r.y0)*o;s>1e-6&&(r.y0+=s,r.y1+=s),n=r.y1+t}}function A(e,n,i,o){for(;i>=0;--i){const r=e[i],s=(r.y1-n)*o;s>1e-6&&(r.y0-=s,r.y1-=s),n=r.y0-t}}function C({sourceLinks:t,targetLinks:e}){if(void 0===n){for(const{source:{sourceLinks:t}}of e)t.sort(c);for(const{target:{targetLinks:e}}of t)e.sort(a)}}function I(t){if(void 0===n)for(const{sourceLinks:e,targetLinks:n}of t)e.sort(c),n.sort(a)}function O(e,n){let i=e.y0-(e.sourceLinks.length-1)*t/2;for(const{target:o,width:r}of e.sourceLinks){if(o===n)break;i+=r+t}for(const{source:t,width:o}of n.targetLinks){if(t===e)break;i-=o}return i}function R(e,n){let i=n.y0-(n.targetLinks.length-1)*t/2;for(const{source:o,width:r}of n.targetLinks){if(o===e)break;i+=r+t}for(const{target:t,width:o}of e.sourceLinks){if(t===n)break;i-=o}return i}return k.update=function(t){return m(t),t},k.nodeId=function(t){return arguments.length?(w="function"===typeof t?t:s(t),k):w},k.nodeAlign=function(t){return arguments.length?(M="function"===typeof t?t:s(t),k):M},k.nodeSort=function(t){return arguments.length?(e=t,k):e},k.nodeWidth=function(t){return arguments.length?(T=+t,k):T},k.nodePadding=function(e){return arguments.length?(b=t=+e,k):b},k.nodes=function(t){return arguments.length?(E="function"===typeof t?t:s(t),k):E},k.links=function(t){return arguments.length?(_="function"===typeof t?t:s(t),k):_},k.linkSort=function(t){return arguments.length?(n=t,k):n},k.size=function(t){return arguments.length?(g=v=0,y=+t[0],x=+t[1],k):[y-g,x-v]},k.extent=function(t){return arguments.length?(g=+t[0][0],y=+t[1][0],v=+t[0][1],x=+t[1][1],k):[[g,v],[y,x]]},k.iterations=function(t){return arguments.length?(S=+t,k):S},k}},18754(t,e,n){"use strict";n.d(e,{A:()=>T});var i=Math.PI,o=2*i,r=1e-6,s=o-r;function a(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function c(){return new a}a.prototype=c.prototype={constructor:a,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,n,i){this._+="Q"+ +t+","+ +e+","+(this._x1=+n)+","+(this._y1=+i)},bezierCurveTo:function(t,e,n,i,o,r){this._+="C"+ +t+","+ +e+","+ +n+","+ +i+","+(this._x1=+o)+","+(this._y1=+r)},arcTo:function(t,e,n,o,s){t=+t,e=+e,n=+n,o=+o,s=+s;var a=this._x1,c=this._y1,u=n-t,l=o-e,h=a-t,f=c-e,p=h*h+f*f;if(s<0)throw new Error("negative radius: "+s);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(p>r)if(Math.abs(f*u-l*h)>r&&s){var d=n-a,m=o-c,g=u*u+l*l,v=d*d+m*m,y=Math.sqrt(g),x=Math.sqrt(p),T=s*Math.tan((i-Math.acos((g+p-v)/(2*y*x)))/2),b=T/x,w=T/y;Math.abs(b-1)>r&&(this._+="L"+(t+b*h)+","+(e+b*f)),this._+="A"+s+","+s+",0,0,"+ +(f*d>h*m)+","+(this._x1=t+w*u)+","+(this._y1=e+w*l)}else this._+="L"+(this._x1=t)+","+(this._y1=e);else;},arc:function(t,e,n,a,c,u){t=+t,e=+e,u=!!u;var l=(n=+n)*Math.cos(a),h=n*Math.sin(a),f=t+l,p=e+h,d=1^u,m=u?a-c:c-a;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+f+","+p:(Math.abs(this._x1-f)>r||Math.abs(this._y1-p)>r)&&(this._+="L"+f+","+p),n&&(m<0&&(m=m%o+o),m>s?this._+="A"+n+","+n+",0,1,"+d+","+(t-l)+","+(e-h)+"A"+n+","+n+",0,1,"+d+","+(this._x1=f)+","+(this._y1=p):m>r&&(this._+="A"+n+","+n+",0,"+ +(m>=i)+","+d+","+(this._x1=t+n*Math.cos(c))+","+(this._y1=e+n*Math.sin(c))))},rect:function(t,e,n,i){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +i+"h"+-n+"Z"},toString:function(){return this._}};const u=c;var l=Array.prototype.slice;function h(t){return function(){return t}}function f(t){return t[0]}function p(t){return t[1]}function d(t){return t.source}function m(t){return t.target}function g(t){var e=d,n=m,i=f,o=p,r=null;function s(){var s,a=l.call(arguments),c=e.apply(this,a),h=n.apply(this,a);if(r||(r=s=u()),t(r,+i.apply(this,(a[0]=c,a)),+o.apply(this,a),+i.apply(this,(a[0]=h,a)),+o.apply(this,a)),s)return r=null,s+""||null}return s.source=function(t){return arguments.length?(e=t,s):e},s.target=function(t){return arguments.length?(n=t,s):n},s.x=function(t){return arguments.length?(i="function"===typeof t?t:h(+t),s):i},s.y=function(t){return arguments.length?(o="function"===typeof t?t:h(+t),s):o},s.context=function(t){return arguments.length?(r=null==t?null:t,s):r},s}function v(t,e,n,i,o){t.moveTo(e,n),t.bezierCurveTo(e=(e+i)/2,n,e,o,i,o)}function y(t){return[t.source.x1,t.y0]}function x(t){return[t.target.x0,t.y1]}function T(){return g(v).source(y).target(x)}},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,f=Math.abs,p=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(z(e),function(e){t.addEventListener(e,n,!1)})}function _(t,e,n){g(z(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 k(t,e){return t.indexOf(e)>-1}function z(t){return t.trim().split(/\s+/g)}function P(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 L(t){return Array.prototype.slice.call(t,0)}function D(t,e,n){for(var i=[],o=[],r=0;r<t.length;){var s=e?t[r][e]:t[r];P(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 A(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 C=1;function I(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||o}var O="ontouchstart"in o,R=A(o,"PointerEvent")!==a,F=O&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),N="touch",Y="mouse",X=24,q=["x","y"],W=["clientX","clientY"];function Z(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=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=Q(e));o>1&&!n.firstMultiple?n.firstMultiple=Q(e):1===o&&(n.firstMultiple=!1);var r=n.firstInput,s=n.firstMultiple,c=s?s.center:r.center,u=e.center=H(i);e.timeStamp=p(),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=f(l.x)>f(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=f(h.x)>f(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 Q(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:p(),pointers:e,center:H(e),deltaX:t.deltaX,deltaY:t.deltaY}}function H(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:f(t)>=f(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}Z.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(I(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&_(this.element,this.evEl,this.domHandler),this.evTarget&&_(this.target,this.evTarget,this.domHandler),this.evWin&&_(I(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,Z.apply(this,arguments)}T(tt,Z,{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,Z.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}o.MSPointerEvent&&!o.PointerEvent&&(it="MSPointerDown",ot="MSPointerMove MSPointerUp MSPointerCancel"),T(rt,Z,{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=P(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,Z.apply(this,arguments)}function ct(t,e){var n=L(t.touches),i=L(t.changedTouches);return 12&e&&(n=D(n.concat(i),"identifier",!0)),[n,i]}T(at,Z,{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={},Z.apply(this,arguments)}function ft(t,e){var n=L(t.touches),i=this.targetIds;if(3&e&&1===n.length)return i[n[0].identifier]=!0,[n,n];var o,r,s=L(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?[D(r.concat(a),"identifier",!0),a]:void 0}T(ht,Z,{handler:function(t){var e=ut[t.type],n=ft.call(this,t,e);n&&this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:N,srcEvent:t})}});function pt(){Z.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(pt,Z,{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&&gt.call(this,n))return;this.callback(t,e,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var vt=A(l.style,"touchAction"),yt=vt!==a,xt="compute",Tt="auto",bt="manipulation",wt="none",Mt="pan-x",Et="pan-y",_t=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&&_t[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(k(t,wt))return wt;var e=k(t,Mt),n=k(t,Et);if(e&&n)return wt;if(e||n)return e?Mt:Et;if(k(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=k(i,wt)&&!_t[wt],r=k(i,Et)&&!_t[Et],s=k(i,Mt)&&!_t[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 kt=32;function zt(t){this.options=c({},this.defaults,t||{}),this.id=C++,this.manager=null,this.options.enable=M(this.options.enable,!0),this.state=1,this.simultaneous={},this.requireFail=[]}function Pt(t){return 16&t?"cancel":8&t?"end":4&t?"move":2&t?"start":""}function Lt(t){return 16==t?"down":8==t?"up":2==t?"left":4==t?"right":""}function Dt(t,e){var n=e.manager;return n?n.get(t):t}function At(){zt.apply(this,arguments)}function Ct(){At.apply(this,arguments),this.pX=null,this.pY=null}function It(){At.apply(this,arguments)}function Ot(){zt.apply(this,arguments),this._timer=null,this._input=null}function Rt(){At.apply(this,arguments)}function Ft(){At.apply(this,arguments)}function Nt(){zt.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)}zt.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=Dt(t,this)).id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return m(t,"dropRecognizeWith",this)||(t=Dt(t,this),delete this.simultaneous[t.id]),this},requireFailure:function(t){if(m(t,"requireFailure",this))return this;var e=this.requireFail;return-1===P(e,t=Dt(t,this))&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(m(t,"dropRequireFailure",this))return this;t=Dt(t,this);var e=P(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+Pt(n)),i(e.options.event),t.additionalEvent&&i(t.additionalEvent),n>=8&&i(e.options.event+Pt(n))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=kt},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=kt);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(At,zt,{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:kt}}),T(Ct,At,{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 At.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=Lt(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),T(It,At,{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(Ot,zt,{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 kt},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=p(),this.manager.emit(this.options.event,this._input)))}}),T(Rt,At,{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,At,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:30,pointers:1},getTouchAction:function(){return Ct.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&&f(e)>this.options.velocity&&4&t.eventType},emit:function(t){var e=Lt(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),T(Nt,zt,{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 kt},failTimeout:function(){return this._timer=d(function(){this.state=kt},this.options.interval,this),kt},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:[[Rt,{enable:!1}],[It,{enable:!1},["rotate"]],[Ft,{direction:6}],[Ct,{direction:6},["swipe"]],[Nt],[Nt,{event:"doubletap",taps:2},["tap"]],[Ot]],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||(R?rt:F?ht:O?pt:tt))(n,j),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=A(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 zt)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=P(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(z(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(z(t),function(t){e?n[t]&&n[t].splice(P(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:kt,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:Z,TouchAction:St,TouchInput:ht,MouseInput:tt,PointerEventInput:rt,TouchMouseInput:pt,SingleTouchInput:at,Recognizer:zt,AttrRecognizer:At,Tap:Nt,Pan:Ct,Swipe:Ft,Pinch:It,Rotate:Rt,Press:Ot,on:E,off:_,each:g,merge:x,extend:y,assign:c,inherit:T,bindFn:b,prefixed:A}),("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)},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,f=t.length,p=f,d=Array(f),m=1/0,g=[];p--;){var v=t[p];p&&e&&(v=s(v,a(e))),m=u(v.length,m),d[p]=!n&&(e||h>=120&&v.length>=120)?new i(p&&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(p=f;--p;){var w=d[p];if(!(w?c(w,b):l(t[p],b,n)))continue t}x&&x.push(b),g.push(T)}}return g}},3122(t,e,n){var i=n(83693);t.exports=function(t){return i(t)?t:[]}},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},99238(t){t.exports=function(){return!0}},47154(t,e,n){"use strict";var i=n(66118);i.t1.register(...i.$L)},85773(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),f=n(49176),p=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(92555);function E(t,e,n){const i=(0,w.c)(t,e,n)/7;return(0,M.u)(n?.roundingMethod)(i)}var _=n(10911);function S(t,e,n){const i=(0,_.W)(t,e,n)/3;return(0,M.u)(n?.roundingMethod)(i)}var k=n(26382);function z(t,e){const n=(0,o.a)(t,e?.in);return n.setMilliseconds(0),n}var P=n(99574);function L(t,e){const n=(0,o.a)(t,e?.in);return n.setMinutes(0,0,0),n}var D=n(6463),A=n(80337),C=n(27763),I=n(4501),O=n(70228);function R(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 Z=n(64169);const j={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 j},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,f.L)(t,e);case"day":return(0,p.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,_.W)(t,e);case"quarter":return S(t,e);case"year":return(0,k.V)(t,e);default:return 0}},startOf:function(t,e,n){switch(e){case"second":return z(t);case"minute":return(0,P.c)(t);case"hour":return L(t);case"day":return(0,D.o)(t);case"week":return(0,A.k)(t);case"isoWeek":return(0,A.k)(t,{weekStartsOn:+n});case"month":return(0,C.w)(t);case"quarter":return(0,I.a)(t);case"year":return(0,O.D)(t);default:return t}},endOf:function(t,e){switch(e){case"second":return R(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,Z.Q)(t);default:return t}}})}}]);