@thednp/shorty 2.0.0-alpha4 → 2.0.0-alpha6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/README.md +8 -3
  2. package/dist/shorty.cjs +1 -1
  3. package/dist/shorty.cjs.map +1 -1
  4. package/dist/shorty.d.ts +59 -53
  5. package/dist/shorty.js +1 -1
  6. package/dist/shorty.js.map +1 -1
  7. package/dist/shorty.mjs +305 -306
  8. package/dist/shorty.mjs.map +1 -1
  9. package/package.json +12 -6
  10. package/src/attr/getAttribute.ts +3 -1
  11. package/src/attr/getAttributeNS.ts +3 -1
  12. package/src/attr/hasAttribute.ts +1 -0
  13. package/src/attr/hasAttributeNS.ts +3 -1
  14. package/src/attr/removeAttribute.ts +1 -0
  15. package/src/attr/removeAttributeNS.ts +3 -1
  16. package/src/attr/setAttribute.ts +3 -1
  17. package/src/attr/setAttributeNS.ts +1 -0
  18. package/src/boolean/isMobile.ts +1 -1
  19. package/src/boolean/support3DTransform.ts +1 -1
  20. package/src/boolean/supportAnimation.ts +1 -1
  21. package/src/boolean/supportPassive.ts +1 -1
  22. package/src/boolean/supportTouch.ts +2 -1
  23. package/src/boolean/supportTransform.ts +1 -1
  24. package/src/boolean/supportTransition.ts +1 -1
  25. package/src/event/off.ts +5 -3
  26. package/src/event/on.ts +5 -3
  27. package/src/event/one.ts +7 -2
  28. package/src/get/getBoundingClientRect.ts +5 -1
  29. package/src/get/getDocument.ts +4 -3
  30. package/src/get/getDocumentBody.ts +1 -1
  31. package/src/get/getElementAnimationDelay.ts +2 -1
  32. package/src/get/getElementAnimationDuration.ts +2 -1
  33. package/src/get/getElementTransitionDelay.ts +4 -1
  34. package/src/get/getElementTransitionDuration.ts +4 -1
  35. package/src/get/getParentNode.ts +2 -1
  36. package/src/get/getRectRelativeToOffsetParent.ts +1 -0
  37. package/src/get/getUID.ts +2 -2
  38. package/src/get/getWindow.ts +1 -0
  39. package/src/index.ts +12 -2
  40. package/src/interface/customElement.ts +1 -1
  41. package/src/interface/originalEvent.ts +2 -1
  42. package/src/is/isArray.ts +1 -1
  43. package/src/is/isCanvas.ts +4 -2
  44. package/src/is/isCustomElement.ts +3 -2
  45. package/src/is/isDocument.ts +4 -1
  46. package/src/is/isElement.ts +5 -2
  47. package/src/is/isElementsArray.ts +2 -1
  48. package/src/is/isFunction.ts +2 -1
  49. package/src/is/isHTMLCollection.ts +4 -2
  50. package/src/is/isHTMLElement.ts +5 -1
  51. package/src/is/isHTMLImageElement.ts +5 -2
  52. package/src/is/isJSON.ts +1 -1
  53. package/src/is/isMap.ts +4 -1
  54. package/src/is/isMedia.ts +8 -4
  55. package/src/is/isNode.ts +9 -3
  56. package/src/is/isNodeList.ts +4 -1
  57. package/src/is/isNumber.ts +1 -1
  58. package/src/is/isObject.ts +2 -1
  59. package/src/is/isRTL.ts +1 -0
  60. package/src/is/isSVGElement.ts +4 -2
  61. package/src/is/isScaledElement.ts +5 -2
  62. package/src/is/isShadowRoot.ts +4 -2
  63. package/src/is/isString.ts +1 -1
  64. package/src/is/isTableElement.ts +4 -2
  65. package/src/is/isWeakMap.ts +4 -1
  66. package/src/is/isWindow.ts +4 -1
  67. package/src/misc/Float32ArrayFrom.ts +1 -0
  68. package/src/misc/Float64ArrayFrom.ts +1 -0
  69. package/src/misc/ObjectAssign.ts +35 -3
  70. package/src/misc/ObjectEntries.ts +3 -1
  71. package/src/misc/ObjectKeys.ts +2 -1
  72. package/src/misc/ObjectValues.ts +3 -1
  73. package/src/misc/{OriginalEvent.ts → createCustomEvent.ts} +9 -5
  74. package/src/misc/createElement.ts +7 -6
  75. package/src/misc/createElementNS.ts +9 -5
  76. package/src/misc/data.ts +22 -15
  77. package/src/misc/distinct.ts +1 -0
  78. package/src/misc/hasOwn.ts +17 -0
  79. package/src/misc/normalizeValue.ts +9 -7
  80. package/src/misc/setElementStyle.ts +3 -2
  81. package/src/misc/timer.ts +16 -13
  82. package/src/selectors/getCustomElements.ts +1 -0
  83. package/src/selectors/getElementsByClassName.ts +7 -2
  84. package/src/selectors/getElementsByTagName.ts +4 -1
  85. package/src/selectors/querySelector.ts +5 -4
  86. package/src/strings/mouseHoverEvents.ts +3 -1
package/README.md CHANGED
@@ -5,8 +5,12 @@
5
5
  [![NPM Version](https://img.shields.io/npm/v/@thednp/shorty.svg)](https://www.npmjs.com/package/@thednp/shorty)
6
6
  [![NPM Downloads](https://img.shields.io/npm/dm/@thednp/shorty.svg)](http://npm-stat.com/charts.html?package=@thednp/shorty)
7
7
  [![jsDelivr hits (npm)](https://img.shields.io/jsdelivr/npm/hw/@thednp/shorty)](https://www.jsdelivr.com/package/npm/@thednp/shorty)
8
- ![cypress version](https://img.shields.io/badge/cypress-10.6.0-brightgreen)
9
- ![typescript version](https://img.shields.io/badge/typescript-4.7.4-brightgreen)
8
+ [![cypress version](https://img.shields.io/badge/cypress-11.2.0-brightgreen)](https://cypress.io/)
9
+ [![typescript version](https://img.shields.io/badge/typescript-4.7.4-brightgreen)](https://www.typescriptlang.org/)
10
+ [![esbuild version](https://img.shields.io/badge/esbuild-0.14.30-brightgreen)](https://esbuild.github.io/)
11
+ [![eslint version](https://img.shields.io/badge/eslint-8.23.0-brightgreen)](https://github.com/eslint)
12
+ [![vite version](https://img.shields.io/badge/vite-3.0.9-brightgreen)](https://github.com/vitejs)
13
+
10
14
 
11
15
  A small TypeScript library with various tools, all ESLint valid and featuring everything useful for creating light libraries or web components. If there is anything that is consistently repeating itself, **shorty** can help you save up to 50% of the code required, with little to no performance cost.
12
16
 
@@ -160,6 +164,7 @@ const duration = getElementAnimationDuration(target);
160
164
  # is
161
165
 
162
166
  - **_isArray_** - check if a given value is an `Array`;
167
+ - **_isCanvas_** - check if a given value is a `HTMLCanvasElement` instance;
163
168
  - **_isCustomElement_** - check if a given value is a `CustomElement` instance;
164
169
  - **_isDocument_** - check if a given value is a `Document` instance;
165
170
  - **_isElement_** - check if a given value is an `Element` instance;
@@ -170,7 +175,7 @@ const duration = getElementAnimationDuration(target);
170
175
  - **_isHTMLCollection_** - check if a given value is an `HTMLCollection` instance;
171
176
  - **_isHTMLElement_** - check if a given value is an `HTMLElement` instance;
172
177
  - **_isHTMLImageElement_** - check if a given value is an `HTMLImageElement` instance;
173
- - **_isMedia_** - check if a given value is an `SVGElement`, `HTMLImageElement` or `HTMLVideoElement` instance;
178
+ - **_isMedia_** - check if a given value is an `SVGElement`, `HTMLImageElement`, `HTMLCanvasElement` or `HTMLVideoElement` instance;
174
179
  - **_isNode_** - check if a given value is a `Node` instance;
175
180
  - **_isNodeList_** - check if a given value is a `NodeList` instance;
176
181
  - **_isNumber_** - check if a given value is string;
package/dist/shorty.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";const de="aria-checked",pe="aria-description",fe="aria-describedby",me="aria-expanded",ge="aria-haspopup",Ee="aria-hidden",ve="aria-label",be="aria-labelledby",he="aria-modal",ye="aria-pressed",we="aria-selected",Ae="aria-valuemin",Se="aria-valuemax",Me="aria-valuenow",ke="aria-valuetext",j="abort",q="beforeunload",G="blur",Y="change",J="contextmenu",I="DOMContentLoaded",K="DOMMouseScroll",X="error",Z="focus",$="focusin",_="focusout",tt="gesturechange",et="gestureend",nt="gesturestart",ot="keydown",st="keypress",ct="keyup",rt="load",it="click",at="dblclick",ut="mousedown",lt="mouseup",dt="hover",pt="mouseenter",ft="mouseleave",mt="mousein",gt="mouseout",Et="mouseover",vt="mousemove",bt="mousewheel",ht="move",yt="orientationchange",wt="pointercancel",At="pointerdown",St="pointerleave",Mt="pointermove",kt="pointerup",Nt="readystatechange",Tt="reset",Dt="resize",Ct="select",Lt="selectend",Ot="selectstart",It="scroll",zt="submit",xt="touchstart",Ht="touchmove",Vt="touchcancel",Bt="touchend",Pt="unload",Ne={DOMContentLoaded:I,DOMMouseScroll:K,abort:j,beforeunload:q,blur:G,change:Y,click:it,contextmenu:J,dblclick:at,error:X,focus:Z,focusin:$,focusout:_,gesturechange:tt,gestureend:et,gesturestart:nt,hover:dt,keydown:ot,keypress:st,keyup:ct,load:rt,mousedown:ut,mousemove:vt,mousein:mt,mouseout:gt,mouseenter:pt,mouseleave:ft,mouseover:Et,mouseup:lt,mousewheel:bt,move:ht,orientationchange:yt,pointercancel:wt,pointerdown:At,pointerleave:St,pointermove:Mt,pointerup:kt,readystatechange:Nt,reset:Tt,resize:Dt,scroll:It,select:Ct,selectend:Lt,selectstart:Ot,submit:zt,touchcancel:Vt,touchend:Bt,touchmove:Ht,touchstart:xt,unload:Pt},Te="loadstart",De={start:"mousedown",end:"mouseup",move:"mousemove",cancel:"mouseleave"},Ce={down:"mousedown",up:"mouseup"},Le="onmouseleave"in document?["mouseenter","mouseleave"]:["mouseover","mouseout"],Oe={start:"touchstart",end:"touchend",move:"touchmove",cancel:"touchcancel"},Ie={in:"focusin",out:"focusout"},ze={Backspace:"Backspace",Tab:"Tab",Enter:"Enter",Shift:"Shift",Control:"Control",Alt:"Alt",Pause:"Pause",CapsLock:"CapsLock",Escape:"Escape",Scape:"Space",ArrowLeft:"ArrowLeft",ArrowUp:"ArrowUp",ArrowRight:"ArrowRight",ArrowDown:"ArrowDown",Insert:"Insert",Delete:"Delete",Meta:"Meta",ContextMenu:"ContextMenu",ScrollLock:"ScrollLock"},xe="Alt",He="ArrowDown",Ve="ArrowUp",Be="ArrowLeft",Pe="ArrowRight",Fe="Backspace",Ue="CapsLock",We="Control",Re="Delete",Qe="Enter",je="Escape",qe="Insert",Ge="Meta",Ye="Pause",Je="ScrollLock",Ke="Shift",Xe="Space",Ze="Tab",Ft="animationDuration",Ut="animationDelay",z="animationName",N="animationend",Wt="transitionDuration",Rt="transitionDelay",T="transitionend",x="transitionProperty",$e="addEventListener",_e="removeEventListener",tn={linear:"linear",easingSinusoidalIn:"cubic-bezier(0.47,0,0.745,0.715)",easingSinusoidalOut:"cubic-bezier(0.39,0.575,0.565,1)",easingSinusoidalInOut:"cubic-bezier(0.445,0.05,0.55,0.95)",easingQuadraticIn:"cubic-bezier(0.550,0.085,0.680,0.530)",easingQuadraticOut:"cubic-bezier(0.250,0.460,0.450,0.940)",easingQuadraticInOut:"cubic-bezier(0.455,0.030,0.515,0.955)",easingCubicIn:"cubic-bezier(0.55,0.055,0.675,0.19)",easingCubicOut:"cubic-bezier(0.215,0.61,0.355,1)",easingCubicInOut:"cubic-bezier(0.645,0.045,0.355,1)",easingQuarticIn:"cubic-bezier(0.895,0.03,0.685,0.22)",easingQuarticOut:"cubic-bezier(0.165,0.84,0.44,1)",easingQuarticInOut:"cubic-bezier(0.77,0,0.175,1)",easingQuinticIn:"cubic-bezier(0.755,0.05,0.855,0.06)",easingQuinticOut:"cubic-bezier(0.23,1,0.32,1)",easingQuinticInOut:"cubic-bezier(0.86,0,0.07,1)",easingExponentialIn:"cubic-bezier(0.95,0.05,0.795,0.035)",easingExponentialOut:"cubic-bezier(0.19,1,0.22,1)",easingExponentialInOut:"cubic-bezier(1,0,0,1)",easingCircularIn:"cubic-bezier(0.6,0.04,0.98,0.335)",easingCircularOut:"cubic-bezier(0.075,0.82,0.165,1)",easingCircularInOut:"cubic-bezier(0.785,0.135,0.15,0.86)",easingBackIn:"cubic-bezier(0.6,-0.28,0.735,0.045)",easingBackOut:"cubic-bezier(0.175,0.885,0.32,1.275)",easingBackInOut:"cubic-bezier(0.68,-0.55,0.265,1.55)"},en="offsetHeight",nn="offsetWidth",on="scrollHeight",sn="scrollWidth",cn="tabindex",rn=navigator.userAgentData,w=rn,{userAgent:an}=navigator,A=an,U=/iPhone|iPad|iPod|Android/i;let L=!1;w?L=w.brands.some(t=>U.test(t.brand)):L=U.test(A);const un=L,W=/(iPhone|iPod|iPad)/,ln=w?w.brands.some(t=>W.test(t.brand)):W.test(A),dn=A?A.includes("Firefox"):!1,{head:C}=document,pn=["webkitPerspective","perspective"].some(t=>t in C.style);function Qt(t,e,n,o){const s=o||!1;t.addEventListener(e,n,s)}function jt(t,e,n,o){const s=o||!1;t.removeEventListener(e,n,s)}const qt=(t,e,n,o)=>{const s=c=>{c.target===t&&(n.apply(t,[c]),jt(t,e,s,o))};Qt(t,e,s,o)},Gt=()=>{},fn=(()=>{let t=!1;try{const e=Object.defineProperty({},"passive",{get(){return t=!0,t}});qt(document,I,Gt,e)}catch{}return t})(),mn=["webkitTransform","transform"].some(t=>t in C.style),gn="ontouchstart"in window||"msMaxTouchPoints"in navigator,En=["webkitAnimation","animation"].some(t=>t in C.style),vn=["webkitTransition","transition"].some(t=>t in C.style),Yt=(t,e)=>t.getAttribute(e),bn=(t,e,n)=>e.getAttributeNS(t,n),hn=(t,e)=>t.hasAttribute(e),yn=(t,e,n)=>e.hasAttributeNS(t,n),H=(t,e,n)=>t.setAttribute(e,n),wn=(t,e,n,o)=>e.setAttributeNS(t,n,o),An=(t,e)=>t.removeAttribute(e),Sn=(t,e,n)=>e.removeAttributeNS(t,n),Mn=(t,...e)=>{t.classList.add(...e)},kn=(t,...e)=>{t.classList.remove(...e)},Nn=(t,e)=>t.classList.contains(e),Tn=t=>Array.from(t),u=t=>t&&t.nodeType===1||!1,h=new Map,D={set:(t,e,n)=>{if(!u(t))return;h.has(e)||h.set(e,new Map),h.get(e).set(t,n)},getAllFor:t=>h.get(t)||null,get:(t,e)=>{if(!u(t)||!e)return null;const n=D.getAllFor(e);return t&&n&&n.get(t)||null},remove:(t,e)=>{const n=D.getAllFor(e);!n||!u(t)||(n.delete(t),n.size===0&&h.delete(e))}},Dn=(t,e)=>D.get(t,e),S=t=>typeof t=="string"||!1,l=t=>t&&[1,2,3,4,5,6,7,8,9,10,11].some(e=>t.nodeType===e)||!1,V=t=>t&&t.constructor.name==="Window"||!1,B=t=>t&&t.nodeType===9||!1,d=t=>B(t)?t:l(t)?t.ownerDocument:V(t)?t.document:window.document,E=t=>Object.entries(t),Jt=t=>{if(!t)return;if(typeof t=="string")return d().createElement(t);const{tagName:e}=t,n=Jt(e);if(!n)return;const o={...t};return delete o.tagName,E(o).forEach(([s,c])=>{S(c)&&H(n,s,c)}),n},Kt=(t,e)=>{if(!t||!e)return;if(typeof e=="string")return d().createElementNS(t,e);const{tagName:n}=e,o=Kt(t,n);if(!o)return;const s={...e};return delete s.tagName,E(s).forEach(([c,i])=>{S(i)&&H(o,c,i)}),o},P=(t,e)=>t.dispatchEvent(e),Cn=(t,e,n)=>n.indexOf(t)===e,p=(t,e)=>{const n=getComputedStyle(t),o=e.replace("webkit","Webkit").replace(/([A-Z])/g,"-$1").toLowerCase();return n.getPropertyValue(o)},Xt=t=>{const e=p(t,z),n=p(t,Ut),o=n.includes("ms")?1:1e3,s=e&&e!=="none"?parseFloat(n)*o:0;return Number.isNaN(s)?0:s},Zt=t=>{const e=p(t,z),n=p(t,Ft),o=n.includes("ms")?1:1e3,s=e&&e!=="none"?parseFloat(n)*o:0;return Number.isNaN(s)?0:s},Ln=(t,e)=>{let n=0;const o=new Event(N),s=Zt(t),c=Xt(t);if(s){const i=a=>{a.target===t&&(e.apply(t,[a]),t.removeEventListener(N,i),n=1)};t.addEventListener(N,i),setTimeout(()=>{n||P(t,o)},s+c+17)}else e.apply(t,[o])},$t=t=>{const e=p(t,x),n=p(t,Rt),o=n.includes("ms")?1:1e3,s=e&&e!=="none"?parseFloat(n)*o:0;return Number.isNaN(s)?0:s},_t=t=>{const e=p(t,x),n=p(t,Wt),o=n.includes("ms")?1:1e3,s=e&&e!=="none"?parseFloat(n)*o:0;return Number.isNaN(s)?0:s},On=(t,e)=>{let n=0;const o=new Event(T),s=_t(t),c=$t(t);if(s){const i=a=>{a.target===t&&(e.apply(t,[a]),t.removeEventListener(T,i),n=1)};t.addEventListener(T,i),setTimeout(()=>{n||P(t,o)},s+c+17)}else e.apply(t,[o])},In=t=>Float32Array.from(Array.from(t)),zn=t=>Float64Array.from(Array.from(t)),xn=(t,e)=>t.focus(e),O=t=>["true",!0].includes(t)?!0:["false",!1].includes(t)?!1:["null","",null].includes(t)?null:t!==""&&!Number.isNaN(+t)?+t:t,te=t=>t.toLowerCase(),Hn=(t,e,n,o)=>{const s={...n},c={...t.dataset},i={...e},a={},f="title";return E(c).forEach(([r,m])=>{const k=o&&typeof r=="string"&&r.includes(o)?r.replace(o,"").replace(/[A-Z]/g,le=>te(le)):r;a[k]=O(m)}),E(s).forEach(([r,m])=>{s[r]=O(m)}),E(e).forEach(([r,m])=>{r in s?i[r]=s[r]:r in a?i[r]=a[r]:i[r]=r===f?Yt(t,f):m}),i},F=(t,...e)=>Object.assign(t,...e),Vn=t=>Object.keys(t),Bn=t=>Object.values(t),ee=t=>typeof t=="object"||!1,Pn=(t,e)=>{const n=new CustomEvent(t,{cancelable:!0,bubbles:!0});return ee(e)&&F(n,e),n},Fn={passive:!0},Un=t=>t.offsetHeight,Wn=(t,e)=>{E(e).forEach(([n,o])=>{if(o&&S(n)&&n.includes("--"))t.style.setProperty(n,o);else{const s={};s[n]=o,F(t.style,s)}})},y=t=>t&&t.constructor.name==="Map"||!1,ne=t=>typeof t=="number"||!1,g=new Map,Rn={set:(t,e,n,o)=>{!u(t)||(o&&o.length?(g.has(t)||g.set(t,new Map),g.get(t).set(o,setTimeout(e,n))):g.set(t,setTimeout(e,n)))},get:(t,e)=>{if(!u(t))return null;const n=g.get(t);return e&&y(n)?n.get(e)||null:ne(n)?n:null},clear:(t,e)=>{if(!u(t))return;const n=g.get(t);e&&e.length&&y(n)?y(n)&&(clearTimeout(n.get(e)),n.delete(e),n.size===0&&g.delete(t)):(clearTimeout(n),g.delete(t))}},Qn=t=>t.toUpperCase(),b=(t,e)=>{const{width:n,height:o,top:s,right:c,bottom:i,left:a}=t.getBoundingClientRect();let f=1,r=1;if(e&&u(t)){const{offsetWidth:m,offsetHeight:k}=t;f=m>0?Math.round(n)/m:1,r=k>0?Math.round(o)/k:1}return{width:n/f,height:o/r,top:s/r,right:c/f,bottom:i/r,left:a/f,x:a/f,y:s/r}},jn=t=>d(t).body,M=t=>d(t).documentElement,qn=t=>d(t).head,Gn=t=>{const e=V(t),n=e?t.scrollX:t.scrollLeft,o=e?t.scrollY:t.scrollTop;return{x:n,y:o}},oe=t=>t&&t.constructor.name==="ShadowRoot"||!1,Yn=t=>t.nodeName==="HTML"?t:u(t)&&t.assignedSlot||l(t)&&t.parentNode||oe(t)&&t.host||M(t);function se(t){if(!u(t))return!1;const{width:e,height:n}=b(t),{offsetWidth:o,offsetHeight:s}=t;return Math.round(e)!==o||Math.round(n)!==s}const Jn=(t,e,n)=>{const o=u(e),s=b(t,o&&se(e)),c={x:0,y:0};if(o){const i=b(e,!0);c.x=i.x+e.clientLeft,c.y=i.y+e.clientTop}return{x:s.left+n.x-c.x,y:s.top+n.y-c.y,width:s.width,height:s.height}};let R=0,Q=0;const v=new Map,ce=(t,e)=>{let n=e?R:Q;if(e){const o=ce(t),s=v.get(o)||new Map;v.has(o)||v.set(o,s),y(s)&&!s.has(e)?(s.set(e,n),R+=1):n=s.get(e)}else{const o=t.id||t;v.has(o)?n=v.get(o):(v.set(o,n),Q+=1)}return n},Kn=t=>{var e;return t?B(t)?t.defaultView:l(t)?(e=t==null?void 0:t.ownerDocument)==null?void 0:e.defaultView:t:window},re=t=>Array.isArray(t)||!1,Xn=t=>t&&t.constructor.name==="HTMLCanvasElement"||!1,ie=t=>t&&!!t.shadowRoot||!1,Zn=t=>t&&[1,2,3,4,5,6,7,8].some(e=>t.nodeType===e)||!1,$n=t=>{if(!l(t))return!1;const{top:e,bottom:n}=b(t),{clientHeight:o}=M(t);return e<=o&&n>=0},_n=t=>{if(!l(t))return!1;const{clientWidth:e,clientHeight:n}=M(t),{top:o,left:s,bottom:c,right:i}=b(t,!0);return o>=0&&s>=0&&c<=n&&i<=e},to=t=>re(t)&&t.every(u)||!1,eo=t=>t&&t.constructor.name==="Function"||!1,no=t=>t&&t.constructor.name==="HTMLCollection"||!1,oo=t=>t&&t.tagName==="IMG"||!1,so=t=>{if(!S(t))return!1;try{JSON.parse(t)}catch{return!1}return!0},co=t=>t&&t.constructor.name==="WeakMap"||!1,ro=t=>t&&t.nodeType===1&&["SVG","Image","Video","Canvas"].some(e=>t.constructor.name.includes(e))||!1,io=t=>t&&t.constructor.name==="NodeList"||!1,ao=t=>M(t).dir==="rtl",uo=t=>t&&t.constructor.name.includes("SVG")||!1,lo=t=>t&&["TABLE","TD","TH"].includes(t.tagName)||!1,ae=(t,e)=>t?t.closest(e)||ae(t.getRootNode().host,e):null,po=(t,e)=>l(t)?t:(e&&l(e)?e:d()).querySelector(t),ue=(t,e)=>(l(e)?e:d()).getElementsByTagName(t),fo=t=>[...ue("*",t)].filter(ie),mo=(t,e)=>d(e).getElementById(t)||null,go=(t,e)=>(l(e)?e:d()).querySelectorAll(t),Eo=(t,e)=>(e&&l(e)?e:d()).getElementsByClassName(t),vo=(t,e)=>t.matches(e),bo={ariaChecked:de,ariaDescription:pe,ariaDescribedBy:fe,ariaExpanded:me,ariaHidden:Ee,ariaHasPopup:ge,ariaLabel:ve,ariaLabelledBy:be,ariaModal:he,ariaPressed:ye,ariaSelected:we,ariaValueMin:Ae,ariaValueMax:Se,ariaValueNow:Me,ariaValueText:ke,nativeEvents:Ne,abortEvent:j,blurEvent:G,moveEvent:ht,changeEvent:Y,errorEvent:X,resetEvent:Tt,resizeEvent:Dt,scrollEvent:It,submitEvent:zt,loadEvent:rt,loadstartEvent:Te,unloadEvent:Pt,readystatechangeEvent:Nt,beforeunloadEvent:q,orientationchangeEvent:yt,contextmenuEvent:J,DOMContentLoadedEvent:I,DOMMouseScrollEvent:K,selectEvent:Ct,selectendEvent:Lt,selectstartEvent:Ot,mouseClickEvents:Ce,mouseclickEvent:it,mousedblclickEvent:at,mousedownEvent:ut,mouseupEvent:lt,mousehoverEvent:dt,mouseHoverEvents:Le,mouseenterEvent:pt,mouseleaveEvent:ft,mouseinEvent:mt,mouseoutEvent:gt,mouseoverEvent:Et,mousemoveEvent:vt,mousewheelEvent:bt,mouseSwipeEvents:De,touchEvents:Oe,touchstartEvent:xt,touchmoveEvent:Ht,touchcancelEvent:Vt,touchendEvent:Bt,pointercancelEvent:wt,pointerdownEvent:At,pointerleaveEvent:St,pointermoveEvent:Mt,pointerupEvent:kt,focusEvents:Ie,focusEvent:Z,focusinEvent:$,focusoutEvent:_,gesturechangeEvent:tt,gestureendEvent:et,gesturestartEvent:nt,bezierEasings:tn,animationDuration:Ft,animationDelay:Ut,animationName:z,animationEndEvent:N,transitionDuration:Wt,transitionDelay:Rt,transitionEndEvent:T,transitionProperty:x,isMobile:un,isApple:ln,isFirefox:dn,support3DTransform:pn,supportPassive:fn,supportTransform:mn,supportTouch:gn,supportAnimation:En,supportTransition:vn,addEventListener:$e,removeEventListener:_e,keyboardEventKeys:ze,keydownEvent:ot,keypressEvent:st,keyupEvent:ct,keyAlt:xe,keyArrowDown:He,keyArrowLeft:Be,keyArrowRight:Pe,keyArrowUp:Ve,keyBackspace:Fe,keyCapsLock:Ue,keyControl:We,keyDelete:Re,keyEnter:Qe,keyEscape:je,keyInsert:qe,keyMeta:Ge,keyPause:Ye,keyScrollLock:Je,keyShift:Ke,keySpace:Xe,keyTab:Ze,offsetHeight:en,offsetWidth:nn,scrollHeight:on,scrollWidth:sn,userAgentData:w,userAgent:A,tabindex:cn,addClass:Mn,removeClass:kn,hasClass:Nn,on:Qt,off:jt,one:qt,dispatchEvent:P,distinct:Cn,Data:D,getInstance:Dn,createElement:Jt,createElementNS:Kt,toUpperCase:Qn,toLowerCase:te,Timer:Rn,emulateAnimationEnd:Ln,emulateTransitionEnd:On,isElementInScrollRange:$n,isElementInViewport:_n,passiveHandler:Fn,getElementAnimationDuration:Zt,getElementAnimationDelay:Xt,getElementTransitionDuration:_t,getElementTransitionDelay:$t,getNodeScroll:Gn,getParentNode:Yn,getRectRelativeToOffsetParent:Jn,getWindow:Kn,isArray:re,isCanvas:Xn,isString:S,isCustomElement:ie,isElement:Zn,isJSON:so,isMap:y,isWeakMap:co,isNode:l,isNumber:ne,isHTMLElement:u,isHTMLImageElement:oo,isSVGElement:uo,isNodeList:io,isHTMLCollection:no,isScaledElement:se,isTableElement:lo,isShadowRoot:oe,isDocument:B,isElementsArray:to,isFunction:eo,isObject:ee,isWindow:V,isMedia:ro,isRTL:ao,closest:ae,querySelector:po,getCustomElements:fo,getElementById:mo,querySelectorAll:go,getElementsByClassName:Eo,getElementsByTagName:ue,matches:vo,normalizeValue:O,normalizeOptions:Hn,reflow:Un,noop:Gt,focus:xn,getUID:ce,ArrayFrom:Tn,Float32ArrayFrom:In,Float64ArrayFrom:zn,ObjectAssign:F,ObjectEntries:E,ObjectKeys:Vn,ObjectValues:Bn,OriginalEvent:Pn,getBoundingClientRect:b,getDocument:d,getDocumentBody:jn,getDocumentElement:M,getDocumentHead:qn,getElementStyle:p,setElementStyle:Wn,hasAttribute:hn,hasAttributeNS:yn,getAttribute:Yt,getAttributeNS:bn,setAttribute:H,setAttributeNS:wn,removeAttribute:An,removeAttributeNS:Sn};module.exports=bo;
1
+ "use strict";const de="aria-checked",pe="aria-description",fe="aria-describedby",me="aria-expanded",ge="aria-haspopup",Ee="aria-hidden",ve="aria-label",be="aria-labelledby",he="aria-modal",ye="aria-pressed",we="aria-selected",Ae="aria-valuemin",Se="aria-valuemax",Me="aria-valuenow",Ne="aria-valuetext",G="abort",Y="beforeunload",j="blur",J="change",K="contextmenu",z="DOMContentLoaded",X="DOMMouseScroll",Z="error",$="focus",_="focusin",tt="focusout",et="gesturechange",nt="gestureend",ot="gesturestart",st="keydown",ct="keypress",rt="keyup",it="load",at="click",ut="dblclick",lt="mousedown",dt="mouseup",pt="hover",ft="mouseenter",mt="mouseleave",gt="mousein",Et="mouseout",vt="mouseover",bt="mousemove",ht="mousewheel",yt="move",wt="orientationchange",At="pointercancel",St="pointerdown",Mt="pointerleave",Nt="pointermove",Tt="pointerup",kt="readystatechange",Dt="reset",Ct="resize",Lt="select",Ot="selectend",It="selectstart",zt="scroll",xt="submit",Vt="touchstart",Bt="touchmove",Ht="touchcancel",Pt="touchend",Ut="unload",Te={DOMContentLoaded:z,DOMMouseScroll:X,abort:G,beforeunload:Y,blur:j,change:J,click:at,contextmenu:K,dblclick:ut,error:Z,focus:$,focusin:_,focusout:tt,gesturechange:et,gestureend:nt,gesturestart:ot,hover:pt,keydown:st,keypress:ct,keyup:rt,load:it,mousedown:lt,mousemove:bt,mousein:gt,mouseout:Et,mouseenter:ft,mouseleave:mt,mouseover:vt,mouseup:dt,mousewheel:ht,move:yt,orientationchange:wt,pointercancel:At,pointerdown:St,pointerleave:Mt,pointermove:Nt,pointerup:Tt,readystatechange:kt,reset:Dt,resize:Ct,scroll:zt,select:Lt,selectend:Ot,selectstart:It,submit:xt,touchcancel:Ht,touchend:Pt,touchmove:Bt,touchstart:Vt,unload:Ut},ke="loadstart",De={start:"mousedown",end:"mouseup",move:"mousemove",cancel:"mouseleave"},Ce={down:"mousedown",up:"mouseup"},Le="onmouseleave"in document?["mouseenter","mouseleave"]:["mouseover","mouseout"],Oe={start:"touchstart",end:"touchend",move:"touchmove",cancel:"touchcancel"},Ie={in:"focusin",out:"focusout"},ze={Backspace:"Backspace",Tab:"Tab",Enter:"Enter",Shift:"Shift",Control:"Control",Alt:"Alt",Pause:"Pause",CapsLock:"CapsLock",Escape:"Escape",Scape:"Space",ArrowLeft:"ArrowLeft",ArrowUp:"ArrowUp",ArrowRight:"ArrowRight",ArrowDown:"ArrowDown",Insert:"Insert",Delete:"Delete",Meta:"Meta",ContextMenu:"ContextMenu",ScrollLock:"ScrollLock"},xe="Alt",Ve="ArrowDown",Be="ArrowUp",He="ArrowLeft",Pe="ArrowRight",Ue="Backspace",Fe="CapsLock",We="Control",Re="Delete",Qe="Enter",qe="Escape",Ge="Insert",Ye="Meta",je="Pause",Je="ScrollLock",Ke="Shift",Xe="Space",Ze="Tab",Ft="animationDuration",Wt="animationDelay",x="animationName",k="animationend",Rt="transitionDuration",Qt="transitionDelay",D="transitionend",V="transitionProperty",$e="addEventListener",_e="removeEventListener",tn={linear:"linear",easingSinusoidalIn:"cubic-bezier(0.47,0,0.745,0.715)",easingSinusoidalOut:"cubic-bezier(0.39,0.575,0.565,1)",easingSinusoidalInOut:"cubic-bezier(0.445,0.05,0.55,0.95)",easingQuadraticIn:"cubic-bezier(0.550,0.085,0.680,0.530)",easingQuadraticOut:"cubic-bezier(0.250,0.460,0.450,0.940)",easingQuadraticInOut:"cubic-bezier(0.455,0.030,0.515,0.955)",easingCubicIn:"cubic-bezier(0.55,0.055,0.675,0.19)",easingCubicOut:"cubic-bezier(0.215,0.61,0.355,1)",easingCubicInOut:"cubic-bezier(0.645,0.045,0.355,1)",easingQuarticIn:"cubic-bezier(0.895,0.03,0.685,0.22)",easingQuarticOut:"cubic-bezier(0.165,0.84,0.44,1)",easingQuarticInOut:"cubic-bezier(0.77,0,0.175,1)",easingQuinticIn:"cubic-bezier(0.755,0.05,0.855,0.06)",easingQuinticOut:"cubic-bezier(0.23,1,0.32,1)",easingQuinticInOut:"cubic-bezier(0.86,0,0.07,1)",easingExponentialIn:"cubic-bezier(0.95,0.05,0.795,0.035)",easingExponentialOut:"cubic-bezier(0.19,1,0.22,1)",easingExponentialInOut:"cubic-bezier(1,0,0,1)",easingCircularIn:"cubic-bezier(0.6,0.04,0.98,0.335)",easingCircularOut:"cubic-bezier(0.075,0.82,0.165,1)",easingCircularInOut:"cubic-bezier(0.785,0.135,0.15,0.86)",easingBackIn:"cubic-bezier(0.6,-0.28,0.735,0.045)",easingBackOut:"cubic-bezier(0.175,0.885,0.32,1.275)",easingBackInOut:"cubic-bezier(0.68,-0.55,0.265,1.55)"},en="offsetHeight",nn="offsetWidth",on="scrollHeight",sn="scrollWidth",cn="tabindex",rn=navigator.userAgentData,A=rn,{userAgent:an}=navigator,S=an,W=/iPhone|iPad|iPod|Android/i;let O=!1;A?O=A.brands.some(t=>W.test(t.brand)):O=W.test(S);const un=O,R=/(iPhone|iPod|iPad)/,ln=A?A.brands.some(t=>R.test(t.brand)):R.test(S),dn=S?S.includes("Firefox"):!1,{head:M}=document,pn=["webkitPerspective","perspective"].some(t=>t in M.style),qt=(t,e,n,o)=>{const s=o||!1;t.addEventListener(e,n,s)},Gt=(t,e,n,o)=>{const s=o||!1;t.removeEventListener(e,n,s)},Yt=(t,e,n,o)=>{const s=c=>{(c.target===t||c.currentTarget===t)&&(n.apply(t,[c]),Gt(t,e,s,o))};qt(t,e,s,o)},jt=()=>{},fn=(()=>{let t=!1;try{const e=Object.defineProperty({},"passive",{get:()=>(t=!0,t)});Yt(document,z,jt,e)}catch{}return t})(),mn=["webkitTransform","transform"].some(t=>t in M.style),gn="ontouchstart"in window||"msMaxTouchPoints"in navigator,En=["webkitAnimation","animation"].some(t=>t in M.style),vn=["webkitTransition","transition"].some(t=>t in M.style),Jt=(t,e)=>t.getAttribute(e),bn=(t,e,n)=>e.getAttributeNS(t,n),hn=(t,e)=>t.hasAttribute(e),yn=(t,e,n)=>e.hasAttributeNS(t,n),B=(t,e,n)=>t.setAttribute(e,n),wn=(t,e,n,o)=>e.setAttributeNS(t,n,o),An=(t,e)=>t.removeAttribute(e),Sn=(t,e,n)=>e.removeAttributeNS(t,n),Mn=(t,...e)=>{t.classList.add(...e)},Nn=(t,...e)=>{t.classList.remove(...e)},Tn=(t,e)=>t.classList.contains(e),{body:kn}=document,{documentElement:Dn}=document,Cn=t=>Array.from(t),m=t=>t!=null&&typeof t=="object"||!1,a=t=>m(t)&&typeof t.nodeType=="number"&&[1,2,3,4,5,6,7,8,9,10,11].some(e=>t.nodeType===e)||!1,u=t=>a(t)&&t.nodeType===1||!1,w=new Map,C={set:(t,e,n)=>{if(!u(t))return;w.has(e)||w.set(e,new Map),w.get(e).set(t,n)},getAllFor:t=>w.get(t)||null,get:(t,e)=>{if(!u(t)||!e)return null;const n=C.getAllFor(e);return t&&n&&n.get(t)||null},remove:(t,e)=>{const n=C.getAllFor(e);!n||!u(t)||(n.delete(t),n.size===0&&w.delete(e))}},Ln=(t,e)=>C.get(t,e),p=t=>typeof t=="string"||!1,H=t=>m(t)&&t.constructor.name==="Window"||!1,P=t=>a(t)&&t.nodeType===9||!1,d=t=>H(t)?t.document:P(t)?t:a(t)?t.ownerDocument:window.document,b=t=>Object.entries(t),Kt=t=>{if(!t)return;if(p(t))return d().createElement(t);const{tagName:e}=t,n=Kt(e);if(!n)return;const o={...t};return delete o.tagName,b(o).forEach(([s,c])=>{p(s)&&p(c)&&B(n,s,c)}),n},Xt=(t,e)=>{if(!t||!e)return;if(p(e))return d().createElementNS(t,e);const{tagName:n}=e,o=Xt(t,n);if(!o)return;const s={...e};return delete s.tagName,b(s).forEach(([c,i])=>{p(c)&&p(i)&&B(o,c,i)}),o},U=(t,e)=>t.dispatchEvent(e),On=(t,e,n)=>n.indexOf(t)===e,f=(t,e)=>{const n=getComputedStyle(t),o=e.replace("webkit","Webkit").replace(/([A-Z])/g,"-$1").toLowerCase();return n.getPropertyValue(o)},Zt=t=>{const e=f(t,x),n=f(t,Wt),o=n.includes("ms")?1:1e3,s=e&&e!=="none"?parseFloat(n)*o:0;return Number.isNaN(s)?0:s},$t=t=>{const e=f(t,x),n=f(t,Ft),o=n.includes("ms")?1:1e3,s=e&&e!=="none"?parseFloat(n)*o:0;return Number.isNaN(s)?0:s},In=(t,e)=>{let n=0;const o=new Event(k),s=$t(t),c=Zt(t);if(s){const i=l=>{l.target===t&&(e.apply(t,[l]),t.removeEventListener(k,i),n=1)};t.addEventListener(k,i),setTimeout(()=>{n||U(t,o)},s+c+17)}else e.apply(t,[o])},_t=t=>{const e=f(t,V),n=f(t,Qt),o=n.includes("ms")?1:1e3,s=e&&e!=="none"?parseFloat(n)*o:0;return Number.isNaN(s)?0:s},te=t=>{const e=f(t,V),n=f(t,Rt),o=n.includes("ms")?1:1e3,s=e&&e!=="none"?parseFloat(n)*o:0;return Number.isNaN(s)?0:s},zn=(t,e)=>{let n=0;const o=new Event(D),s=te(t),c=_t(t);if(s){const i=l=>{l.target===t&&(e.apply(t,[l]),t.removeEventListener(D,i),n=1)};t.addEventListener(D,i),setTimeout(()=>{n||U(t,o)},s+c+17)}else e.apply(t,[o])},xn=t=>Float32Array.from(Array.from(t)),Vn=t=>Float64Array.from(Array.from(t)),Bn=(t,e)=>t.focus(e),Hn=(t,e)=>m(t)&&(Object.hasOwn(t,e)||e in t),I=t=>["true",!0].includes(t)?!0:["false",!1].includes(t)?!1:["null","",null,void 0].includes(t)?null:t!==""&&!Number.isNaN(+t)?+t:t,ee=t=>t.toLowerCase(),Pn=(t,e,n,o)=>{const s={...n},c={...t.dataset},i={...e},l={},g="title";return b(c).forEach(([r,E])=>{const T=o&&typeof r=="string"&&r.includes(o)?r.replace(o,"").replace(/[A-Z]/g,le=>ee(le)):r;l[T]=I(E)}),b(s).forEach(([r,E])=>{s[r]=I(E)}),b(e).forEach(([r,E])=>{r in s?i[r]=s[r]:r in l?i[r]=l[r]:i[r]=r===g?Jt(t,g):E}),i},F=(t,...e)=>Object.assign(t,...e),Un=t=>Object.keys(t),Fn=t=>Object.values(t),Wn=(t,e)=>{const n=new CustomEvent(t,{cancelable:!0,bubbles:!0});return m(e)&&F(n,e),n},Rn={passive:!0},Qn=t=>t.offsetHeight,qn=(t,e)=>{b(e).forEach(([n,o])=>{if(o&&p(n)&&n.includes("--"))t.style.setProperty(n,o);else{const s={};s[n]=o,F(t.style,s)}})},L=t=>m(t)&&t.constructor.name==="Map"||!1,ne=t=>typeof t=="number"||!1,v=new Map,Gn={set:(t,e,n,o)=>{!u(t)||(o&&o.length?(v.has(t)||v.set(t,new Map),v.get(t).set(o,setTimeout(e,n))):v.set(t,setTimeout(e,n)))},get:(t,e)=>{if(!u(t))return null;const n=v.get(t);return e&&n&&L(n)?n.get(e)||null:ne(n)?n:null},clear:(t,e)=>{if(!u(t))return;const n=v.get(t);e&&e.length&&L(n)?(clearTimeout(n.get(e)),n.delete(e),n.size===0&&v.delete(t)):(clearTimeout(n),v.delete(t))}},Yn=t=>t.toUpperCase(),y=(t,e)=>{const{width:n,height:o,top:s,right:c,bottom:i,left:l}=t.getBoundingClientRect();let g=1,r=1;if(e&&u(t)){const{offsetWidth:E,offsetHeight:T}=t;g=E>0?Math.round(n)/E:1,r=T>0?Math.round(o)/T:1}return{width:n/g,height:o/r,top:s/r,right:c/g,bottom:i/r,left:l/g,x:l/g,y:s/r}},jn=t=>d(t).body,N=t=>d(t).documentElement,Jn=t=>d(t).head,Kn=t=>{const e=H(t),n=e?t.scrollX:t.scrollLeft,o=e?t.scrollY:t.scrollTop;return{x:n,y:o}},oe=t=>a(t)&&t.constructor.name==="ShadowRoot"||!1,Xn=t=>t.nodeName==="HTML"?t:u(t)&&t.assignedSlot||a(t)&&t.parentNode||oe(t)&&t.host||N(t),se=t=>{if(!u(t))return!1;const{width:e,height:n}=y(t),{offsetWidth:o,offsetHeight:s}=t;return Math.round(e)!==o||Math.round(n)!==s},Zn=(t,e,n)=>{const o=u(e),s=y(t,o&&se(e)),c={x:0,y:0};if(o){const i=y(e,!0);c.x=i.x+e.clientLeft,c.y=i.y+e.clientTop}return{x:s.left+n.x-c.x,y:s.top+n.y-c.y,width:s.width,height:s.height}};let Q=0,q=0;const h=new Map,ce=(t,e)=>{let n=e?Q:q;if(e){const o=ce(t),s=h.get(o)||new Map;h.has(o)||h.set(o,s),L(s)&&!s.has(e)?(s.set(e,n),Q+=1):n=s.get(e)}else{const o=t.id||t;h.has(o)?n=h.get(o):(h.set(o,n),q+=1)}return n},$n=t=>{var e;return t?P(t)?t.defaultView:a(t)?(e=t==null?void 0:t.ownerDocument)==null?void 0:e.defaultView:t:window},re=t=>Array.isArray(t)||!1,_n=t=>a(t)&&t.nodeName==="CANVAS"||!1,ie=t=>u(t)&&!!t.shadowRoot||!1,to=t=>a(t)&&[1,2,3,4,5,6,7,8].some(e=>t.nodeType===e)||!1,eo=t=>{if(!a(t))return!1;const{top:e,bottom:n}=y(t),{clientHeight:o}=N(t);return e<=o&&n>=0},no=t=>{if(!a(t))return!1;const{clientWidth:e,clientHeight:n}=N(t),{top:o,left:s,bottom:c,right:i}=y(t,!0);return o>=0&&s>=0&&c<=n&&i<=e},oo=t=>re(t)&&t.every(u)||!1,so=t=>typeof t=="function"||!1,co=t=>m(t)&&t.constructor.name==="HTMLCollection"||!1,ro=t=>u(t)&&t.tagName==="IMG"||!1,io=t=>{if(!p(t))return!1;try{JSON.parse(t)}catch{return!1}return!0},ao=t=>m(t)&&t.constructor.name==="WeakMap"||!1,uo=t=>a(t)&&["SVG","Image","Video","Canvas"].some(e=>t.constructor.name.includes(e))||!1,lo=t=>m(t)&&t.constructor.name==="NodeList"||!1,po=t=>N(t).dir==="rtl",fo=t=>a(t)&&t.constructor.name.includes("SVG")||!1,mo=t=>a(t)&&["TABLE","TD","TH"].includes(t.nodeName)||!1,ae=(t,e)=>t?t.closest(e)||ae(t.getRootNode().host,e):null,go=(t,e)=>u(t)?t:(a(e)?e:d()).querySelector(t),ue=(t,e)=>(a(e)?e:d()).getElementsByTagName(t),Eo=t=>[...ue("*",t)].filter(ie),vo=(t,e)=>d(e).getElementById(t)||null,bo=(t,e)=>(a(e)?e:d()).querySelectorAll(t),ho=(t,e)=>(e&&a(e)?e:d()).getElementsByClassName(t),yo=(t,e)=>t.matches(e),wo={ariaChecked:de,ariaDescription:pe,ariaDescribedBy:fe,ariaExpanded:me,ariaHidden:Ee,ariaHasPopup:ge,ariaLabel:ve,ariaLabelledBy:be,ariaModal:he,ariaPressed:ye,ariaSelected:we,ariaValueMin:Ae,ariaValueMax:Se,ariaValueNow:Me,ariaValueText:Ne,nativeEvents:Te,abortEvent:G,blurEvent:j,moveEvent:yt,changeEvent:J,errorEvent:Z,resetEvent:Dt,resizeEvent:Ct,scrollEvent:zt,submitEvent:xt,loadEvent:it,loadstartEvent:ke,unloadEvent:Ut,readystatechangeEvent:kt,beforeunloadEvent:Y,orientationchangeEvent:wt,contextmenuEvent:K,DOMContentLoadedEvent:z,DOMMouseScrollEvent:X,selectEvent:Lt,selectendEvent:Ot,selectstartEvent:It,mouseClickEvents:Ce,mouseclickEvent:at,mousedblclickEvent:ut,mousedownEvent:lt,mouseupEvent:dt,mousehoverEvent:pt,mouseHoverEvents:Le,mouseenterEvent:ft,mouseleaveEvent:mt,mouseinEvent:gt,mouseoutEvent:Et,mouseoverEvent:vt,mousemoveEvent:bt,mousewheelEvent:ht,mouseSwipeEvents:De,touchEvents:Oe,touchstartEvent:Vt,touchmoveEvent:Bt,touchcancelEvent:Ht,touchendEvent:Pt,pointercancelEvent:At,pointerdownEvent:St,pointerleaveEvent:Mt,pointermoveEvent:Nt,pointerupEvent:Tt,focusEvents:Ie,focusEvent:$,focusinEvent:_,focusoutEvent:tt,gesturechangeEvent:et,gestureendEvent:nt,gesturestartEvent:ot,bezierEasings:tn,animationDuration:Ft,animationDelay:Wt,animationName:x,animationEndEvent:k,transitionDuration:Rt,transitionDelay:Qt,transitionEndEvent:D,transitionProperty:V,isMobile:un,isApple:ln,isFirefox:dn,support3DTransform:pn,supportPassive:fn,supportTransform:mn,supportTouch:gn,supportAnimation:En,supportTransition:vn,addEventListener:$e,removeEventListener:_e,keyboardEventKeys:ze,keydownEvent:st,keypressEvent:ct,keyupEvent:rt,keyAlt:xe,keyArrowDown:Ve,keyArrowLeft:He,keyArrowRight:Pe,keyArrowUp:Be,keyBackspace:Ue,keyCapsLock:Fe,keyControl:We,keyDelete:Re,keyEnter:Qe,keyEscape:qe,keyInsert:Ge,keyMeta:Ye,keyPause:je,keyScrollLock:Je,keyShift:Ke,keySpace:Xe,keyTab:Ze,offsetHeight:en,offsetWidth:nn,scrollHeight:on,scrollWidth:sn,userAgentData:A,userAgent:S,tabindex:cn,addClass:Mn,removeClass:Nn,hasClass:Tn,on:qt,off:Gt,one:Yt,documentBody:kn,documentElement:Dn,documentHead:M,dispatchEvent:U,distinct:On,Data:C,getInstance:Ln,createElement:Kt,createElementNS:Xt,createCustomEvent:Wn,toUpperCase:Yn,toLowerCase:ee,Timer:Gn,emulateAnimationEnd:In,emulateTransitionEnd:zn,isElementInScrollRange:eo,isElementInViewport:no,passiveHandler:Rn,getElementAnimationDuration:$t,getElementAnimationDelay:Zt,getElementTransitionDuration:te,getElementTransitionDelay:_t,getNodeScroll:Kn,getParentNode:Xn,getRectRelativeToOffsetParent:Zn,getWindow:$n,isArray:re,isCanvas:_n,isString:p,isCustomElement:ie,isElement:to,isJSON:io,isMap:L,isWeakMap:ao,isNode:a,isNumber:ne,isHTMLElement:u,isHTMLImageElement:ro,isSVGElement:fo,isNodeList:lo,isHTMLCollection:co,isScaledElement:se,isTableElement:mo,isShadowRoot:oe,isDocument:P,isElementsArray:oo,isFunction:so,isObject:m,isWindow:H,isMedia:uo,isRTL:po,closest:ae,querySelector:go,getCustomElements:Eo,getElementById:vo,querySelectorAll:bo,getElementsByClassName:ho,getElementsByTagName:ue,matches:yo,hasOwn:Hn,normalizeValue:I,normalizeOptions:Pn,reflow:Qn,noop:jt,focus:Bn,getUID:ce,ArrayFrom:Cn,Float32ArrayFrom:xn,Float64ArrayFrom:Vn,ObjectAssign:F,ObjectEntries:b,ObjectKeys:Un,ObjectValues:Fn,getBoundingClientRect:y,getDocument:d,getDocumentBody:jn,getDocumentElement:N,getDocumentHead:Jn,getElementStyle:f,setElementStyle:qn,hasAttribute:hn,hasAttributeNS:yn,getAttribute:Jt,getAttributeNS:bn,setAttribute:B,setAttributeNS:wn,removeAttribute:An,removeAttributeNS:Sn};module.exports=wo;
2
2
  //# sourceMappingURL=shorty.cjs.map