import{g as I}from"./react-CXoDaX02.js";var w,T;function R(){if(T)return w;T=1;var o=!1,n,p,c,f,l,e,i,a,u,d,A,E,v,F,M;function t(){if(!o){o=!0;var s=navigator.userAgent,r=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(s),m=/(Mac OS X)|(Windows)|(Linux)/.exec(s);if(E=/\b(iPhone|iP[ao]d)/.exec(s),v=/\b(iP[ao]d)/.exec(s),d=/Android/i.exec(s),F=/FBAN\/\w+;/i.exec(s),M=/Mobile/i.exec(s),A=!!/Win64/.exec(s),r){n=r[1]?parseFloat(r[1]):r[5]?parseFloat(r[5]):NaN,n&&document&&document.documentMode&&(n=document.documentMode);var W=/(?:Trident\/(\d+.\d+))/.exec(s);e=W?parseFloat(W[1])+4:n,p=r[2]?parseFloat(r[2]):NaN,c=r[3]?parseFloat(r[3]):NaN,f=r[4]?parseFloat(r[4]):NaN,f?(r=/(?:Chrome\/(\d+\.\d+))/.exec(s),l=r&&r[1]?parseFloat(r[1]):NaN):l=NaN}else n=p=c=l=f=NaN;if(m){if(m[1]){var P=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(s);i=P?parseFloat(P[1].replace("_",".")):!0}else i=!1;a=!!m[2],u=!!m[3]}else i=a=u=!1}}var h={ie:function(){return t()||n},ieCompatibilityMode:function(){return t()||e>n},ie64:function(){return h.ie()&&A},firefox:function(){return t()||p},opera:function(){return t()||c},webkit:function(){return t()||f},safari:function(){return h.webkit()},chrome:function(){return t()||l},windows:function(){return t()||a},osx:function(){return t()||i},linux:function(){return t()||u},iphone:function(){return t()||E},mobile:function(){return t()||E||v||d||M},nativeApp:function(){return t()||F},android:function(){return t()||d},ipad:function(){return t()||v}};return w=h,w}var _,U;function S(){if(U)return _;U=1;var o=!!(typeof window<"u"&&window.document&&window.document.createElement),n={canUseDOM:o,canUseWorkers:typeof Worker<"u",canUseEventListeners:o&&!!(window.addEventListener||window.attachEvent),canUseViewport:o&&!!window.screen,isInWorker:!o};return _=n,_}var x,X;function q(){if(X)return x;X=1;var o=S(),n;o.canUseDOM&&(n=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function p(c,f){if(!o.canUseDOM||f&&!("addEventListener"in document))return!1;var l="on"+c,e=l in document;if(!e){var i=document.createElement("div");i.setAttribute(l,"return;"),e=typeof i[l]=="function"}return!e&&n&&c==="wheel"&&(e=document.implementation.hasFeature("Events.wheel","3.0")),e}return x=p,x}var D,b;function O(){if(b)return D;b=1;var o=R(),n=q(),p=10,c=40,f=800;function l(e){var i=0,a=0,u=0,d=0;return"detail"in e&&(a=e.detail),"wheelDelta"in e&&(a=-e.wheelDelta/120),"wheelDeltaY"in e&&(a=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(i=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(i=a,a=0),u=i*p,d=a*p,"deltaY"in e&&(d=e.deltaY),"deltaX"in e&&(u=e.deltaX),(u||d)&&e.deltaMode&&(e.deltaMode==1?(u*=c,d*=c):(u*=f,d*=f)),u&&!i&&(i=u<1?-1:1),d&&!a&&(a=d<1?-1:1),{spinX:i,spinY:a,pixelX:u,pixelY:d}}return l.getEventType=function(){return o.firefox()?"DOMMouseScroll":n("wheel")?"wheel":"mousewheel"},D=l,D}var N,g;function z(){return g||(g=1,N=O()),N}var C=z();const L=I(C);export{L as n};
