"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=dispatchAnalyticsEvent;var _package=_interopRequireDefault(require("./package.json"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var version=_package.default.version;function dispatchAnalyticsEvent(e){var t=e.componentName,a=e.action,n=e.details,i=new CustomEvent("component-library-analytics",{detail:{componentName:t,action:a,details:n,version:version}});document.body.dispatchEvent(i)}