@thednp/shorty 2.0.0-alpha5 → 2.0.0-alpha7
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.
- package/README.md +7 -5
- package/dist/shorty.cjs +1 -1
- package/dist/shorty.cjs.map +1 -1
- package/dist/shorty.d.ts +1454 -377
- package/dist/shorty.js +1 -1
- package/dist/shorty.js.map +1 -1
- package/dist/shorty.mjs +364 -365
- package/dist/shorty.mjs.map +1 -1
- package/package.json +10 -9
- package/src/boolean/isApple.ts +1 -1
- package/src/event/one.ts +1 -1
- package/src/get/getBoundingClientRect.ts +1 -1
- package/src/get/getElementTransitionDelay.ts +3 -1
- package/src/get/getElementTransitionDuration.ts +3 -1
- package/src/get/getRectRelativeToOffsetParent.ts +1 -1
- package/src/index.ts +5 -4
- package/src/interface/{boundingClientRect.ts → boundingClientRect.d.ts} +1 -1
- package/src/interface/css4Declaration.d.ts +4 -0
- package/src/interface/{customElement.ts → customElement.d.ts} +2 -2
- package/src/interface/{navigatorUA.ts → navigatorUA.d.ts} +3 -3
- package/src/interface/{offsetRect.ts → offsetRect.d.ts} +1 -1
- package/src/interface/originalEvent.d.ts +4 -0
- package/src/is/isArray.ts +1 -1
- package/src/is/isCanvas.ts +4 -2
- package/src/is/isCustomElement.ts +4 -3
- package/src/is/isDocument.ts +3 -1
- package/src/is/isElement.ts +4 -2
- package/src/is/isElementsArray.ts +1 -1
- package/src/is/isFunction.ts +1 -1
- package/src/is/isHTMLCollection.ts +4 -2
- package/src/is/isHTMLElement.ts +4 -2
- package/src/is/isHTMLImageElement.ts +4 -2
- package/src/is/isMap.ts +4 -2
- package/src/is/isMedia.ts +4 -3
- package/src/is/isNode.ts +9 -3
- package/src/is/isNodeList.ts +4 -2
- package/src/is/isNumber.ts +1 -1
- package/src/is/isObject.ts +2 -1
- package/src/is/isSVGElement.ts +4 -2
- package/src/is/isShadowRoot.ts +4 -2
- package/src/is/isString.ts +1 -1
- package/src/is/isTableElement.ts +4 -4
- package/src/is/isWeakMap.ts +4 -2
- package/src/is/isWindow.ts +4 -2
- package/src/misc/ObjectHasOwn.ts +17 -0
- package/src/misc/createCustomEvent.ts +1 -1
- package/src/misc/createElement.ts +1 -3
- package/src/misc/createElementNS.ts +1 -1
- package/src/misc/data.ts +12 -26
- package/src/misc/getInstance.ts +9 -0
- package/src/misc/setElementStyle.ts +1 -1
- package/src/selectors/getCustomElements.ts +1 -1
- package/src/selectors/querySelector.ts +6 -5
- package/src/strings/userAgentData.ts +1 -1
- package/src/interface/css4Declaration.ts +0 -3
- package/src/interface/originalEvent.ts +0 -4
package/README.md
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
[](https://www.npmjs.com/package/@thednp/shorty)
|
|
6
6
|
[](http://npm-stat.com/charts.html?package=@thednp/shorty)
|
|
7
7
|
[](https://www.jsdelivr.com/package/npm/@thednp/shorty)
|
|
8
|
-
[](https://cypress.io/)
|
|
9
|
+
[](https://www.typescriptlang.org/)
|
|
10
|
+
[](https://esbuild.github.io/)
|
|
11
11
|
[](https://github.com/eslint)
|
|
12
|
-
[](https://github.com/vitejs)
|
|
13
13
|
|
|
14
14
|
|
|
15
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.
|
|
@@ -164,6 +164,7 @@ const duration = getElementAnimationDuration(target);
|
|
|
164
164
|
# is
|
|
165
165
|
|
|
166
166
|
- **_isArray_** - check if a given value is an `Array`;
|
|
167
|
+
- **_isCanvas_** - check if a given value is a `HTMLCanvasElement` instance;
|
|
167
168
|
- **_isCustomElement_** - check if a given value is a `CustomElement` instance;
|
|
168
169
|
- **_isDocument_** - check if a given value is a `Document` instance;
|
|
169
170
|
- **_isElement_** - check if a given value is an `Element` instance;
|
|
@@ -174,7 +175,7 @@ const duration = getElementAnimationDuration(target);
|
|
|
174
175
|
- **_isHTMLCollection_** - check if a given value is an `HTMLCollection` instance;
|
|
175
176
|
- **_isHTMLElement_** - check if a given value is an `HTMLElement` instance;
|
|
176
177
|
- **_isHTMLImageElement_** - check if a given value is an `HTMLImageElement` instance;
|
|
177
|
-
- **_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;
|
|
178
179
|
- **_isNode_** - check if a given value is a `Node` instance;
|
|
179
180
|
- **_isNodeList_** - check if a given value is a `NodeList` instance;
|
|
180
181
|
- **_isNumber_** - check if a given value is string;
|
|
@@ -218,6 +219,7 @@ if (isElementsArray(myValue)) {
|
|
|
218
219
|
- **_normalizeOptions_** - a cool utility to normalize and crosscheck JavaScript options and their DATA API counterparts for various web components; supports namespaced options like `data-NAMESPACE-option="value"`; priority: JavaScript options > DATA API options > default options
|
|
219
220
|
- **_ObjectAssign_** - a shortie for `Object.assign()` method;
|
|
220
221
|
- **_ObjectEntries_** - a shortie for `Object.entries()` method;
|
|
222
|
+
- **_ObjectHasOwn_** - a shortie for `Object.hasOwn()` method;
|
|
221
223
|
- **_ObjectKeys_** - a shortie for `Object.keys()` method;
|
|
222
224
|
- **_ObjectValues_** - a shortie for `Object.values()` method;
|
|
223
225
|
- **_OriginalEvent_** - a small utility that returns a synthetic `CustomEvent` with the added `relatedTarget` and other properties;
|
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",Ne="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",Nt="pointerup",kt="readystatechange",Tt="reset",Dt="resize",Ct="select",Lt="selectend",Ot="selectstart",It="scroll",zt="submit",xt="touchstart",Vt="touchmove",Bt="touchcancel",Ht="touchend",Pt="unload",ke={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:Nt,readystatechange:kt,reset:Tt,resize:Dt,scroll:It,select:Ct,selectend:Lt,selectstart:Ot,submit:zt,touchcancel:Bt,touchend:Ht,touchmove:Vt,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",Ve="ArrowDown",Be="ArrowUp",He="ArrowLeft",Pe="ArrowRight",Ue="Backspace",Fe="CapsLock",We="Control",Re="Delete",Qe="Enter",je="Escape",qe="Insert",Ge="Meta",Ye="Pause",Je="ScrollLock",Ke="Shift",Xe="Space",Ze="Tab",Ut="animationDuration",Ft="animationDelay",z="animationName",k="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,F=/iPhone|iPad|iPod|Android/i;let L=!1;w?L=w.brands.some(t=>F.test(t.brand)):L=F.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:S}=document,pn=["webkitPerspective","perspective"].some(t=>t in S.style),Qt=(t,e,n,o)=>{const s=o||!1;t.addEventListener(e,n,s)},jt=(t,e,n,o)=>{const s=o||!1;t.removeEventListener(e,n,s)},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:()=>(t=!0,t)});qt(document,I,Gt,e)}catch{}return t})(),mn=["webkitTransform","transform"].some(t=>t in S.style),gn="ontouchstart"in window||"msMaxTouchPoints"in navigator,En=["webkitAnimation","animation"].some(t=>t in S.style),vn=["webkitTransition","transition"].some(t=>t in S.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),V=(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)},kn=(t,e)=>t.classList.contains(e),{body:Tn}=document,{documentElement:Dn}=document,Cn=t=>Array.from(t),u=t=>t&&t.nodeType===1||!1,y=new Map,D={set:(t,e,n)=>{if(!u(t))return;y.has(e)||y.set(e,new Map),y.get(e).set(t,n)},getAllFor:t=>y.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&&y.delete(e))}},Ln=(t,e)=>D.get(t,e),p=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,B=t=>t&&t.constructor.name==="Window"||!1,H=t=>t&&t.nodeType===9||!1,d=t=>B(t)?t.document:H(t)?t:l(t)?t.ownerDocument:window.document,v=t=>Object.entries(t),Jt=t=>{if(!t)return;if(p(t))return d().createElement(t);const{tagName:e}=t,n=Jt(e);if(!n)return;const o={...t};return delete o.tagName,v(o).forEach(([s,c])=>{p(s)&&p(c)&&V(n,s,c)}),n},Kt=(t,e)=>{if(!t||!e)return;if(p(e))return d().createElementNS(t,e);const{tagName:n}=e,o=Kt(t,n);if(!o)return;const s={...e};return delete s.tagName,v(s).forEach(([c,i])=>{p(c)&&p(i)&&V(o,c,i)}),o},P=(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)},Xt=t=>{const e=f(t,z),n=f(t,Ft),o=n.includes("ms")?1:1e3,s=e&&e!=="none"?parseFloat(n)*o:0;return Number.isNaN(s)?0:s},Zt=t=>{const e=f(t,z),n=f(t,Ut),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=Zt(t),c=Xt(t);if(s){const i=a=>{a.target===t&&(e.apply(t,[a]),t.removeEventListener(k,i),n=1)};t.addEventListener(k,i),setTimeout(()=>{n||P(t,o)},s+c+17)}else e.apply(t,[o])},$t=t=>{const e=f(t,x),n=f(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=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},zn=(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])},xn=t=>Float32Array.from(Array.from(t)),Vn=t=>Float64Array.from(Array.from(t)),Bn=(t,e)=>t.focus(e),O=t=>["true",!0].includes(t)?!0:["false",!1].includes(t)?!1:["null","",null,void 0].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={},m="title";return v(c).forEach(([r,g])=>{const N=o&&typeof r=="string"&&r.includes(o)?r.replace(o,"").replace(/[A-Z]/g,le=>te(le)):r;a[N]=O(g)}),v(s).forEach(([r,g])=>{s[r]=O(g)}),v(e).forEach(([r,g])=>{r in s?i[r]=s[r]:r in a?i[r]=a[r]:i[r]=r===m?Yt(t,m):g}),i},U=(t,...e)=>Object.assign(t,...e),Pn=t=>Object.keys(t),Un=t=>Object.values(t),ee=t=>typeof t=="object"||!1,Fn=(t,e)=>{const n=new CustomEvent(t,{cancelable:!0,bubbles:!0});return ee(e)&&U(n,e),n},Wn={passive:!0},Rn=t=>t.offsetHeight,Qn=(t,e)=>{v(e).forEach(([n,o])=>{if(o&&p(n)&&n.includes("--"))t.style.setProperty(n,o);else{const s={};s[n]=o,U(t.style,s)}})},C=t=>t&&t.constructor.name==="Map"||!1,ne=t=>typeof t=="number"||!1,E=new Map,jn={set:(t,e,n,o)=>{!u(t)||(o&&o.length?(E.has(t)||E.set(t,new Map),E.get(t).set(o,setTimeout(e,n))):E.set(t,setTimeout(e,n)))},get:(t,e)=>{if(!u(t))return null;const n=E.get(t);return e&&n&&C(n)?n.get(e)||null:ne(n)?n:null},clear:(t,e)=>{if(!u(t))return;const n=E.get(t);e&&e.length&&C(n)?(clearTimeout(n.get(e)),n.delete(e),n.size===0&&E.delete(t)):(clearTimeout(n),E.delete(t))}},qn=t=>t.toUpperCase(),h=(t,e)=>{const{width:n,height:o,top:s,right:c,bottom:i,left:a}=t.getBoundingClientRect();let m=1,r=1;if(e&&u(t)){const{offsetWidth:g,offsetHeight:N}=t;m=g>0?Math.round(n)/g:1,r=N>0?Math.round(o)/N:1}return{width:n/m,height:o/r,top:s/r,right:c/m,bottom:i/r,left:a/m,x:a/m,y:s/r}},Gn=t=>d(t).body,M=t=>d(t).documentElement,Yn=t=>d(t).head,Jn=t=>{const e=B(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,Kn=t=>t.nodeName==="HTML"?t:u(t)&&t.assignedSlot||l(t)&&t.parentNode||oe(t)&&t.host||M(t),se=t=>{if(!u(t))return!1;const{width:e,height:n}=h(t),{offsetWidth:o,offsetHeight:s}=t;return Math.round(e)!==o||Math.round(n)!==s},Xn=(t,e,n)=>{const o=u(e),s=h(t,o&&se(e)),c={x:0,y:0};if(o){const i=h(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 b=new Map,ce=(t,e)=>{let n=e?R:Q;if(e){const o=ce(t),s=b.get(o)||new Map;b.has(o)||b.set(o,s),C(s)&&!s.has(e)?(s.set(e,n),R+=1):n=s.get(e)}else{const o=t.id||t;b.has(o)?n=b.get(o):(b.set(o,n),Q+=1)}return n},Zn=t=>{var e;return t?H(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,$n=t=>t&&t.nodeName==="CANVAS"||!1,ie=t=>t&&!!t.shadowRoot||!1,_n=t=>t&&[1,2,3,4,5,6,7,8].some(e=>t.nodeType===e)||!1,to=t=>{if(!l(t))return!1;const{top:e,bottom:n}=h(t),{clientHeight:o}=M(t);return e<=o&&n>=0},eo=t=>{if(!l(t))return!1;const{clientWidth:e,clientHeight:n}=M(t),{top:o,left:s,bottom:c,right:i}=h(t,!0);return o>=0&&s>=0&&c<=n&&i<=e},no=t=>re(t)&&t.every(u)||!1,oo=t=>typeof t=="function"||!1,so=t=>t&&t.constructor.name==="HTMLCollection"||!1,co=t=>t&&t.tagName==="IMG"||!1,ro=t=>{if(!p(t))return!1;try{JSON.parse(t)}catch{return!1}return!0},io=t=>t&&t.constructor.name==="WeakMap"||!1,ao=t=>t&&t.nodeType===1&&["SVG","Image","Video","Canvas"].some(e=>t.constructor.name.includes(e))||!1,uo=t=>t&&t.constructor.name==="NodeList"||!1,lo=t=>M(t).dir==="rtl",po=t=>t&&t.constructor.name.includes("SVG")||!1,fo=t=>t&&["TABLE","TD","TH"].includes(t.tagName)||!1,ae=(t,e)=>t?t.closest(e)||ae(t.getRootNode().host,e):null,mo=(t,e)=>l(t)?t:(e&&l(e)?e:d()).querySelector(t),ue=(t,e)=>(l(e)?e:d()).getElementsByTagName(t),go=t=>[...ue("*",t)].filter(ie),Eo=(t,e)=>d(e).getElementById(t)||null,vo=(t,e)=>(l(e)?e:d()).querySelectorAll(t),bo=(t,e)=>(e&&l(e)?e:d()).getElementsByClassName(t),ho=(t,e)=>t.matches(e),yo={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:ke,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:kt,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:Vt,touchcancelEvent:Bt,touchendEvent:Ht,pointercancelEvent:wt,pointerdownEvent:At,pointerleaveEvent:St,pointermoveEvent:Mt,pointerupEvent:Nt,focusEvents:Ie,focusEvent:Z,focusinEvent:$,focusoutEvent:_,gesturechangeEvent:tt,gestureendEvent:et,gesturestartEvent:nt,bezierEasings:tn,animationDuration:Ut,animationDelay:Ft,animationName:z,animationEndEvent:k,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:Ve,keyArrowLeft:He,keyArrowRight:Pe,keyArrowUp:Be,keyBackspace:Ue,keyCapsLock:Fe,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:Nn,hasClass:kn,on:Qt,off:jt,one:qt,documentBody:Tn,documentElement:Dn,documentHead:S,dispatchEvent:P,distinct:On,Data:D,getInstance:Ln,createElement:Jt,createElementNS:Kt,createCustomEvent:Fn,toUpperCase:qn,toLowerCase:te,Timer:jn,emulateAnimationEnd:In,emulateTransitionEnd:zn,isElementInScrollRange:to,isElementInViewport:eo,passiveHandler:Wn,getElementAnimationDuration:Zt,getElementAnimationDelay:Xt,getElementTransitionDuration:_t,getElementTransitionDelay:$t,getNodeScroll:Jn,getParentNode:Kn,getRectRelativeToOffsetParent:Xn,getWindow:Zn,isArray:re,isCanvas:$n,isString:p,isCustomElement:ie,isElement:_n,isJSON:ro,isMap:C,isWeakMap:io,isNode:l,isNumber:ne,isHTMLElement:u,isHTMLImageElement:co,isSVGElement:po,isNodeList:uo,isHTMLCollection:so,isScaledElement:se,isTableElement:fo,isShadowRoot:oe,isDocument:H,isElementsArray:no,isFunction:oo,isObject:ee,isWindow:B,isMedia:ao,isRTL:lo,closest:ae,querySelector:mo,getCustomElements:go,getElementById:Eo,querySelectorAll:vo,getElementsByClassName:bo,getElementsByTagName:ue,matches:ho,normalizeValue:O,normalizeOptions:Hn,reflow:Rn,noop:Gt,focus:Bn,getUID:ce,ArrayFrom:Cn,Float32ArrayFrom:xn,Float64ArrayFrom:Vn,ObjectAssign:U,ObjectEntries:v,ObjectKeys:Pn,ObjectValues:Un,getBoundingClientRect:h,getDocument:d,getDocumentBody:Gn,getDocumentElement:M,getDocumentHead:Yn,getElementStyle:f,setElementStyle:Qn,hasAttribute:hn,hasAttributeNS:yn,getAttribute:Yt,getAttributeNS:bn,setAttribute:V,setAttributeNS:wn,removeAttribute:An,removeAttributeNS:Sn};module.exports=yo;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const dt="aria-checked",mt="aria-description",Et="aria-describedby",vt="aria-expanded",pt="aria-haspopup",gt="aria-hidden",ft="aria-label",bt="aria-labelledby",yt="aria-modal",ht="aria-pressed",At="aria-selected",wt="aria-valuemin",St="aria-valuemax",kt="aria-valuenow",Dt="aria-valuetext",q="abort",G="beforeunload",K="blur",J="change",X="contextmenu",z="DOMContentLoaded",Y="DOMMouseScroll",Z="error",$="focus",_="focusin",ee="focusout",te="gesturechange",ne="gestureend",oe="gesturestart",se="keydown",re="keypress",ae="keyup",ce="load",ie="click",ue="dblclick",le="mousedown",de="mouseup",me="hover",Ee="mouseenter",ve="mouseleave",pe="mousein",ge="mouseout",fe="mouseover",be="mousemove",ye="mousewheel",he="move",Ae="orientationchange",we="pointercancel",Se="pointerdown",ke="pointerleave",De="pointermove",Me="pointerup",Ne="readystatechange",Te="reset",Ce="resize",Le="select",Oe="selectend",Ie="selectstart",ze="scroll",xe="submit",He="touchstart",Be="touchmove",Ve="touchcancel",Pe="touchend",Fe="unload",Mt={DOMContentLoaded:z,DOMMouseScroll:Y,abort:q,beforeunload:G,blur:K,change:J,click:ie,contextmenu:X,dblclick:ue,error:Z,focus:$,focusin:_,focusout:ee,gesturechange:te,gestureend:ne,gesturestart:oe,hover:me,keydown:se,keypress:re,keyup:ae,load:ce,mousedown:le,mousemove:be,mousein:pe,mouseout:ge,mouseenter:Ee,mouseleave:ve,mouseover:fe,mouseup:de,mousewheel:ye,move:he,orientationchange:Ae,pointercancel:we,pointerdown:Se,pointerleave:ke,pointermove:De,pointerup:Me,readystatechange:Ne,reset:Te,resize:Ce,scroll:ze,select:Le,selectend:Oe,selectstart:Ie,submit:xe,touchcancel:Ve,touchend:Pe,touchmove:Be,touchstart:He,unload:Fe},Nt="loadstart",Tt={start:"mousedown",end:"mouseup",move:"mousemove",cancel:"mouseleave"},Ct={down:"mousedown",up:"mouseup"},Lt="onmouseleave"in document?["mouseenter","mouseleave"]:["mouseover","mouseout"],Ot={start:"touchstart",end:"touchend",move:"touchmove",cancel:"touchcancel"},It={in:"focusin",out:"focusout"},zt={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"},xt="Alt",Ht="ArrowDown",Bt="ArrowUp",Vt="ArrowLeft",Pt="ArrowRight",Ft="Backspace",Rt="CapsLock",Wt="Control",Ut="Delete",jt="Enter",Qt="Escape",qt="Insert",Gt="Meta",Kt="Pause",Jt="ScrollLock",Xt="Shift",Yt="Space",Zt="Tab",Re="animationDuration",We="animationDelay",x="animationName",N="animationend",Ue="transitionDuration",je="transitionDelay",T="transitionend",H="transitionProperty",$t="addEventListener",_t="removeEventListener",en={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)"},tn="offsetHeight",nn="offsetWidth",on="scrollHeight",sn="scrollWidth",rn="tabindex",an=navigator.userAgentData,w=an,{userAgent:cn}=navigator,S=cn,W=/iPhone|iPad|iPod|Android/i;let O=!1;w?O=w.brands.some(e=>W.test(e.brand)):O=W.test(S);const un=O,U=/(iPhone|iPod|iPad)/,ln=w?w.brands.some(e=>U.test(e.brand)):U.test(S),dn=S?S.includes("Firefox"):!1,{head:k}=document,mn=["webkitPerspective","perspective"].some(e=>e in k.style),Qe=(e,t,n,o)=>{const s=o||!1;e.addEventListener(t,n,s)},qe=(e,t,n,o)=>{const s=o||!1;e.removeEventListener(t,n,s)},Ge=(e,t,n,o)=>{const s=r=>{(r.target===e||r.currentTarget===e)&&(n.apply(e,[r]),qe(e,t,s,o))};Qe(e,t,s,o)},Ke=()=>{},En=(()=>{let e=!1;try{const t=Object.defineProperty({},"passive",{get:()=>(e=!0,e)});Ge(document,z,Ke,t)}catch{}return e})(),vn=["webkitTransform","transform"].some(e=>e in k.style),pn="ontouchstart"in window||"msMaxTouchPoints"in navigator,gn=["webkitAnimation","animation"].some(e=>e in k.style),fn=["webkitTransition","transition"].some(e=>e in k.style),Je=(e,t)=>e.getAttribute(t),bn=(e,t,n)=>t.getAttributeNS(e,n),yn=(e,t)=>e.hasAttribute(t),hn=(e,t,n)=>t.hasAttributeNS(e,n),B=(e,t,n)=>e.setAttribute(t,n),An=(e,t,n,o)=>t.setAttributeNS(e,n,o),wn=(e,t)=>e.removeAttribute(t),Sn=(e,t,n)=>t.removeAttributeNS(e,n),kn=(e,...t)=>{e.classList.add(...t)},Dn=(e,...t)=>{e.classList.remove(...t)},Mn=(e,t)=>e.classList.contains(t),{body:Nn}=document,{documentElement:Tn}=document,Cn=e=>Array.from(e),v=e=>e!=null&&typeof e=="object"||!1,i=e=>v(e)&&typeof e.nodeType=="number"&&[1,2,3,4,5,6,7,8,9,10,11].some(t=>e.nodeType===t)||!1,u=e=>i(e)&&e.nodeType===1||!1,A=new Map,C={set:(e,t,n)=>{if(!u(e))return;A.has(t)||A.set(t,new Map),A.get(t).set(e,n)},getAllFor:e=>A.get(e)||null,get:(e,t)=>{if(!u(e)||!t)return null;const n=C.getAllFor(t);return e&&n&&n.get(e)||null},remove:(e,t)=>{const n=C.getAllFor(t);!n||!u(e)||(n.delete(e),n.size===0&&A.delete(t))}},Ln=(e,t)=>C.get(e,t),m=e=>typeof e=="string"||!1,V=e=>v(e)&&e.constructor.name==="Window"||!1,P=e=>i(e)&&e.nodeType===9||!1,d=e=>V(e)?e.document:P(e)?e:i(e)?e.ownerDocument:window.document,b=e=>Object.entries(e),Xe=e=>{if(!e)return;if(m(e))return d().createElement(e);const{tagName:t}=e,n=Xe(t);if(!n)return;const o={...e};return delete o.tagName,b(o).forEach(([s,r])=>{m(s)&&m(r)&&B(n,s,r)}),n},Ye=(e,t)=>{if(!e||!t)return;if(m(t))return d().createElementNS(e,t);const{tagName:n}=t,o=Ye(e,n);if(!o)return;const s={...t};return delete s.tagName,b(s).forEach(([r,c])=>{m(r)&&m(c)&&B(o,r,c)}),o},F=(e,t)=>e.dispatchEvent(t),On=(e,t,n)=>n.indexOf(e)===t,E=(e,t)=>{const n=getComputedStyle(e),o=t.replace("webkit","Webkit").replace(/([A-Z])/g,"-$1").toLowerCase();return n.getPropertyValue(o)},Ze=e=>{const t=E(e,x),n=E(e,We),o=n.includes("ms")?1:1e3,s=t&&t!=="none"?parseFloat(n)*o:0;return Number.isNaN(s)?0:s},$e=e=>{const t=E(e,x),n=E(e,Re),o=n.includes("ms")?1:1e3,s=t&&t!=="none"?parseFloat(n)*o:0;return Number.isNaN(s)?0:s},In=(e,t)=>{let n=0;const o=new Event(N),s=$e(e),r=Ze(e);if(s){const c=l=>{l.target===e&&(t.apply(e,[l]),e.removeEventListener(N,c),n=1)};e.addEventListener(N,c),setTimeout(()=>{n||F(e,o)},s+r+17)}else t.apply(e,[o])},_e=e=>{const t=E(e,H),n=E(e,je),o=n.includes("ms")?1:1e3,s=t&&t!=="none"?parseFloat(n)*o:0;return Number.isNaN(s)?0:s},et=e=>{const t=E(e,H),n=E(e,Ue),o=n.includes("ms")?1:1e3,s=t&&t!=="none"?parseFloat(n)*o:0;return Number.isNaN(s)?0:s},zn=(e,t)=>{let n=0;const o=new Event(T),s=et(e),r=_e(e);if(s){const c=l=>{l.target===e&&(t.apply(e,[l]),e.removeEventListener(T,c),n=1)};e.addEventListener(T,c),setTimeout(()=>{n||F(e,o)},s+r+17)}else t.apply(e,[o])},xn=e=>Float32Array.from(Array.from(e)),Hn=e=>Float64Array.from(Array.from(e)),Bn=(e,t)=>e.focus(t),I=e=>["true",!0].includes(e)?!0:["false",!1].includes(e)?!1:["null","",null,void 0].includes(e)?null:e!==""&&!Number.isNaN(+e)?+e:e,tt=e=>e.toLowerCase(),Vn=(e,t,n,o)=>{const s={...n},r={...e.dataset},c={...t},l={},p="title";return b(r).forEach(([a,g])=>{const M=o&&typeof a=="string"&&a.includes(o)?a.replace(o,"").replace(/[A-Z]/g,lt=>tt(lt)):a;l[M]=I(g)}),b(s).forEach(([a,g])=>{s[a]=I(g)}),b(t).forEach(([a,g])=>{a in s?c[a]=s[a]:a in l?c[a]=l[a]:c[a]=a===p?Je(e,p):g}),c},R=(e,...t)=>Object.assign(e,...t),Pn=(e,t)=>v(e)&&(Object.hasOwn(e,t)||t in e),Fn=e=>Object.keys(e),Rn=e=>Object.values(e),Wn=(e,t)=>{const n=new CustomEvent(e,{cancelable:!0,bubbles:!0});return v(t)&&R(n,t),n},Un={passive:!0},jn=e=>e.offsetHeight,Qn=(e,t)=>{b(t).forEach(([n,o])=>{if(o&&m(n)&&n.includes("--"))e.style.setProperty(n,o);else{const s={};s[n]=o,R(e.style,s)}})},L=e=>v(e)&&e.constructor.name==="Map"||!1,nt=e=>typeof e=="number"||!1,f=new Map,qn={set:(e,t,n,o)=>{!u(e)||(o&&o.length?(f.has(e)||f.set(e,new Map),f.get(e).set(o,setTimeout(t,n))):f.set(e,setTimeout(t,n)))},get:(e,t)=>{if(!u(e))return null;const n=f.get(e);return t&&n&&L(n)?n.get(t)||null:nt(n)?n:null},clear:(e,t)=>{if(!u(e))return;const n=f.get(e);t&&t.length&&L(n)?(clearTimeout(n.get(t)),n.delete(t),n.size===0&&f.delete(e)):(clearTimeout(n),f.delete(e))}},Gn=e=>e.toUpperCase(),h=(e,t)=>{const{width:n,height:o,top:s,right:r,bottom:c,left:l}=e.getBoundingClientRect();let p=1,a=1;if(t&&u(e)){const{offsetWidth:g,offsetHeight:M}=e;p=g>0?Math.round(n)/g:1,a=M>0?Math.round(o)/M:1}return{width:n/p,height:o/a,top:s/a,right:r/p,bottom:c/a,left:l/p,x:l/p,y:s/a}},Kn=e=>d(e).body,D=e=>d(e).documentElement,Jn=e=>d(e).head,Xn=e=>{const t=V(e),n=t?e.scrollX:e.scrollLeft,o=t?e.scrollY:e.scrollTop;return{x:n,y:o}},ot=e=>i(e)&&e.constructor.name==="ShadowRoot"||!1,Yn=e=>e.nodeName==="HTML"?e:u(e)&&e.assignedSlot||i(e)&&e.parentNode||ot(e)&&e.host||D(e),st=e=>{if(!u(e))return!1;const{width:t,height:n}=h(e),{offsetWidth:o,offsetHeight:s}=e;return Math.round(t)!==o||Math.round(n)!==s},Zn=(e,t,n)=>{const o=u(t),s=h(e,o&&st(t)),r={x:0,y:0};if(o){const c=h(t,!0);r.x=c.x+t.clientLeft,r.y=c.y+t.clientTop}return{x:s.left+n.x-r.x,y:s.top+n.y-r.y,width:s.width,height:s.height}};let j=0,Q=0;const y=new Map,rt=(e,t)=>{let n=t?j:Q;if(t){const o=rt(e),s=y.get(o)||new Map;y.has(o)||y.set(o,s),L(s)&&!s.has(t)?(s.set(t,n),j+=1):n=s.get(t)}else{const o=e.id||e;y.has(o)?n=y.get(o):(y.set(o,n),Q+=1)}return n},$n=e=>{var t;return e?P(e)?e.defaultView:i(e)?(t=e==null?void 0:e.ownerDocument)==null?void 0:t.defaultView:e:window},at=e=>Array.isArray(e)||!1,_n=e=>i(e)&&e.nodeName==="CANVAS"||!1,ct=e=>u(e)&&!!e.shadowRoot||!1,eo=e=>i(e)&&[1,2,3,4,5,6,7,8].some(t=>e.nodeType===t)||!1,to=e=>{if(!i(e))return!1;const{top:t,bottom:n}=h(e),{clientHeight:o}=D(e);return t<=o&&n>=0},no=e=>{if(!i(e))return!1;const{clientWidth:t,clientHeight:n}=D(e),{top:o,left:s,bottom:r,right:c}=h(e,!0);return o>=0&&s>=0&&r<=n&&c<=t},oo=e=>at(e)&&e.every(u)||!1,so=e=>typeof e=="function"||!1,ro=e=>v(e)&&e.constructor.name==="HTMLCollection"||!1,ao=e=>u(e)&&e.tagName==="IMG"||!1,co=e=>{if(!m(e))return!1;try{JSON.parse(e)}catch{return!1}return!0},io=e=>v(e)&&e.constructor.name==="WeakMap"||!1,uo=e=>i(e)&&["SVG","Image","Video","Canvas"].some(t=>e.constructor.name.includes(t))||!1,lo=e=>v(e)&&e.constructor.name==="NodeList"||!1,mo=e=>D(e).dir==="rtl",Eo=e=>i(e)&&e.constructor.name.includes("SVG")||!1,vo=e=>i(e)&&["TABLE","TD","TH"].includes(e.nodeName)||!1,it=(e,t)=>e?e.closest(t)||it(e.getRootNode().host,t):null,po=(e,t)=>u(e)?e:(i(t)?t:d()).querySelector(e),ut=(e,t)=>(i(t)?t:d()).getElementsByTagName(e),go=e=>[...ut("*",e)].filter(ct),fo=(e,t)=>d(t).getElementById(e)||null,bo=(e,t)=>(i(t)?t:d()).querySelectorAll(e),yo=(e,t)=>(t&&i(t)?t:d()).getElementsByClassName(e),ho=(e,t)=>e.matches(t);exports.ArrayFrom=Cn;exports.DOMContentLoadedEvent=z;exports.DOMMouseScrollEvent=Y;exports.Data=C;exports.Float32ArrayFrom=xn;exports.Float64ArrayFrom=Hn;exports.ObjectAssign=R;exports.ObjectEntries=b;exports.ObjectHasOwn=Pn;exports.ObjectKeys=Fn;exports.ObjectValues=Rn;exports.Timer=qn;exports.abortEvent=q;exports.addClass=kn;exports.addEventListener=$t;exports.animationDelay=We;exports.animationDuration=Re;exports.animationEndEvent=N;exports.animationName=x;exports.ariaChecked=dt;exports.ariaDescribedBy=Et;exports.ariaDescription=mt;exports.ariaExpanded=vt;exports.ariaHasPopup=pt;exports.ariaHidden=gt;exports.ariaLabel=ft;exports.ariaLabelledBy=bt;exports.ariaModal=yt;exports.ariaPressed=ht;exports.ariaSelected=At;exports.ariaValueMax=St;exports.ariaValueMin=wt;exports.ariaValueNow=kt;exports.ariaValueText=Dt;exports.beforeunloadEvent=G;exports.bezierEasings=en;exports.blurEvent=K;exports.changeEvent=J;exports.closest=it;exports.contextmenuEvent=X;exports.createCustomEvent=Wn;exports.createElement=Xe;exports.createElementNS=Ye;exports.dispatchEvent=F;exports.distinct=On;exports.documentBody=Nn;exports.documentElement=Tn;exports.documentHead=k;exports.emulateAnimationEnd=In;exports.emulateTransitionEnd=zn;exports.errorEvent=Z;exports.focus=Bn;exports.focusEvent=$;exports.focusEvents=It;exports.focusinEvent=_;exports.focusoutEvent=ee;exports.gesturechangeEvent=te;exports.gestureendEvent=ne;exports.gesturestartEvent=oe;exports.getAttribute=Je;exports.getAttributeNS=bn;exports.getBoundingClientRect=h;exports.getCustomElements=go;exports.getDocument=d;exports.getDocumentBody=Kn;exports.getDocumentElement=D;exports.getDocumentHead=Jn;exports.getElementAnimationDelay=Ze;exports.getElementAnimationDuration=$e;exports.getElementById=fo;exports.getElementStyle=E;exports.getElementTransitionDelay=_e;exports.getElementTransitionDuration=et;exports.getElementsByClassName=yo;exports.getElementsByTagName=ut;exports.getInstance=Ln;exports.getNodeScroll=Xn;exports.getParentNode=Yn;exports.getRectRelativeToOffsetParent=Zn;exports.getUID=rt;exports.getWindow=$n;exports.hasAttribute=yn;exports.hasAttributeNS=hn;exports.hasClass=Mn;exports.isApple=ln;exports.isArray=at;exports.isCanvas=_n;exports.isCustomElement=ct;exports.isDocument=P;exports.isElement=eo;exports.isElementInScrollRange=to;exports.isElementInViewport=no;exports.isElementsArray=oo;exports.isFirefox=dn;exports.isFunction=so;exports.isHTMLCollection=ro;exports.isHTMLElement=u;exports.isHTMLImageElement=ao;exports.isJSON=co;exports.isMap=L;exports.isMedia=uo;exports.isMobile=un;exports.isNode=i;exports.isNodeList=lo;exports.isNumber=nt;exports.isObject=v;exports.isRTL=mo;exports.isSVGElement=Eo;exports.isScaledElement=st;exports.isShadowRoot=ot;exports.isString=m;exports.isTableElement=vo;exports.isWeakMap=io;exports.isWindow=V;exports.keyAlt=xt;exports.keyArrowDown=Ht;exports.keyArrowLeft=Vt;exports.keyArrowRight=Pt;exports.keyArrowUp=Bt;exports.keyBackspace=Ft;exports.keyCapsLock=Rt;exports.keyControl=Wt;exports.keyDelete=Ut;exports.keyEnter=jt;exports.keyEscape=Qt;exports.keyInsert=qt;exports.keyMeta=Gt;exports.keyPause=Kt;exports.keyScrollLock=Jt;exports.keyShift=Xt;exports.keySpace=Yt;exports.keyTab=Zt;exports.keyboardEventKeys=zt;exports.keydownEvent=se;exports.keypressEvent=re;exports.keyupEvent=ae;exports.loadEvent=ce;exports.loadstartEvent=Nt;exports.matches=ho;exports.mouseClickEvents=Ct;exports.mouseHoverEvents=Lt;exports.mouseSwipeEvents=Tt;exports.mouseclickEvent=ie;exports.mousedblclickEvent=ue;exports.mousedownEvent=le;exports.mouseenterEvent=Ee;exports.mousehoverEvent=me;exports.mouseinEvent=pe;exports.mouseleaveEvent=ve;exports.mousemoveEvent=be;exports.mouseoutEvent=ge;exports.mouseoverEvent=fe;exports.mouseupEvent=de;exports.mousewheelEvent=ye;exports.moveEvent=he;exports.nativeEvents=Mt;exports.noop=Ke;exports.normalizeOptions=Vn;exports.normalizeValue=I;exports.off=qe;exports.offsetHeight=tn;exports.offsetWidth=nn;exports.on=Qe;exports.one=Ge;exports.orientationchangeEvent=Ae;exports.passiveHandler=Un;exports.pointercancelEvent=we;exports.pointerdownEvent=Se;exports.pointerleaveEvent=ke;exports.pointermoveEvent=De;exports.pointerupEvent=Me;exports.querySelector=po;exports.querySelectorAll=bo;exports.readystatechangeEvent=Ne;exports.reflow=jn;exports.removeAttribute=wn;exports.removeAttributeNS=Sn;exports.removeClass=Dn;exports.removeEventListener=_t;exports.resetEvent=Te;exports.resizeEvent=Ce;exports.scrollEvent=ze;exports.scrollHeight=on;exports.scrollWidth=sn;exports.selectEvent=Le;exports.selectendEvent=Oe;exports.selectstartEvent=Ie;exports.setAttribute=B;exports.setAttributeNS=An;exports.setElementStyle=Qn;exports.submitEvent=xe;exports.support3DTransform=mn;exports.supportAnimation=gn;exports.supportPassive=En;exports.supportTouch=pn;exports.supportTransform=vn;exports.supportTransition=fn;exports.tabindex=rn;exports.toLowerCase=tt;exports.toUpperCase=Gn;exports.touchEvents=Ot;exports.touchcancelEvent=Ve;exports.touchendEvent=Pe;exports.touchmoveEvent=Be;exports.touchstartEvent=He;exports.transitionDelay=je;exports.transitionDuration=Ue;exports.transitionEndEvent=T;exports.transitionProperty=H;exports.unloadEvent=Fe;exports.userAgent=S;exports.userAgentData=w;
|
|
2
2
|
//# sourceMappingURL=shorty.cjs.map
|