2 lines
1.1 KiB
JavaScript
2 lines
1.1 KiB
JavaScript
import{cL as f,cM as i,cN as l,bH as d}from"./index-6eb64f08.js";var u=f(Object.getPrototypeOf,Object);const y=u;function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,i(n.key),n)}}function b(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function E(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e){return function(t){return t==null?void 0:t[e]}}var c=1/0,p=17976931348623157e292;function h(e){if(!e)return e===0?e:0;if(e=l(e),e===c||e===-c){var t=e<0?-1:1;return t*p}return e===e?e:0}var m=function(){return d()&&window.document.documentElement},a,x=function(){if(!m())return!1;if(a!==void 0)return a;var t=document.createElement("div");return t.style.display="flex",t.style.flexDirection="column",t.style.rowGap="1px",t.appendChild(document.createElement("div")),t.appendChild(document.createElement("div")),document.body.appendChild(t),a=t.scrollHeight===1,document.body.removeChild(t),a};export{b as _,E as a,g as b,m as c,x as d,y as g,h as t};
|