datahub/packages/components/storybook-static/assets/isNativeReflectConstruct-099dc9ad.js
Luccas Mateus de Medeiros Gomes 58b4c1918f [éxamples]
2023-05-24 13:41:11 -03:00

3 lines
1.2 KiB
JavaScript

import{r as u,a as c}from"./index-8db94870.js";var p=function(e){return e()},s=c["useInsertionEffect"]?c["useInsertionEffect"]:!1,y=s||p,O=s||u.useLayoutEffect;function f(){return f=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},f.apply(this,arguments)}function _(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function o(t,e){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},o(t,e)}function b(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,o(t,e)}function a(t){return a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},a(t)}function h(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}export{f as _,b as a,o as b,_ as c,h as d,a as e,O as f,y as u};
//# sourceMappingURL=isNativeReflectConstruct-099dc9ad.js.map