"use strict";var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},__assign.apply(this,arguments)},__createBinding=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),__exportStar=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||__createBinding(t,e,r)},__importDefault=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.defineCustomElement=exports.createForwardRef=exports.mergeRefs=exports.setRef=void 0;var react_1=__importDefault(require("react")),setRef=function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)};exports.setRef=setRef;var mergeRefs=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){e.forEach(function(e){(0,exports.setRef)(e,t)})}};exports.mergeRefs=mergeRefs;var createForwardRef=function(e,t){var r=function(t,r){return react_1.default.createElement(e,__assign({},t,{forwardedRef:r}))};return r.displayName=t,react_1.default.forwardRef(r)};exports.createForwardRef=createForwardRef;var defineCustomElement=function(e,t){void 0===t||"undefined"==typeof customElements||customElements.get(e)||customElements.define(e,t)};exports.defineCustomElement=defineCustomElement,__exportStar(require("./attachProps"),exports),__exportStar(require("./case"),exports);