{"version":3,"sources":["webpack:////workdir/node_modules/@gtm-support/core/lib/assert-is-gtm-id.js","webpack:////workdir/node_modules/@gtm-support/core/lib/index.js","webpack:////workdir/node_modules/@dansmaculotte/vue-zendesk/src/index.js","webpack:////workdir/node_modules/@gtm-support/vue2-gtm/dist/index.js","webpack:////workdir/node_modules/@gtm-support/core/lib/utils.js","webpack:////workdir/node_modules/@gtm-support/core/lib/gtm-support.js"],"names":["assertIsGtmId","id","exports","GTM_ID_PATTERN","test","Error","Object","defineProperty","value","loadScript","hasScript","GtmSupport","assert_is_gtm_id_1","enumerable","get","gtm_support_1","utils_1","module","install","Vue","options","disabled","key","length","console","warn","disabledLogger","method","args","log","window","zE","zESettings","settings","root","isLoaded","load","zendeskKey","script","document","createElement","type","async","actualZendeskKey","src","first","getElementsByTagName","parentNode","insertBefore","onload","event","hideOnLoad","hide","$emit","show","logout","identify","user","prefill","setLocale","locale","updateSettings","clear","updatePath","toggle","reset","close","open","prototype","$zendesk","__assign","this","assign","t","s","i","n","arguments","p","hasOwnProperty","call","apply","__awaiter","thisArg","_arguments","P","generator","adopt","resolve","Promise","reject","fulfilled","step","next","e","rejected","result","done","then","__generator","body","f","y","g","_","label","sent","trys","ops","verb","Symbol","iterator","v","op","TypeError","pop","push","useGtm","GtmPlugin","gtmPlugin","core_1","trackOnNextTick","$gtm","gtm","isInBrowserContext","vueRouter","initVueRouterGuard","ignoredViews","enabled","Array","isArray","forEach","newConf","queryParams","deriveAdditionalEventData","_this","afterEach","to","from","name","additionalEventData","_a","baseUrl","fullUrl","_b","_c","_d","includes","meta","concat","gtmAdditionalEventData","base","endsWith","fullPath","startsWith","substr","nextTick","trackView","_default","core_2","default","config","_e","doc","scriptLoadListener","onReady","removeEventListener","addEventListener","dataLayer","Date","getTime","defer","Boolean","compatibility","nonce","queryString","URLSearchParams","source","parentElement","appendChild","some","scriptElements","idOrObject","debug","scriptElement","enable","screenName","path","trigger","category","action","noninteraction","rest","target"],"mappings":"gHAYA,SAASA,EA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iB,EAAKtE,KAAKnD,QAAQ4G,eAA4B,IAAPa,GAAgBA,EAItG,GAHItE,KAAKnD,QAAQmK,OACb/J,QAAQK,IAAI,eAAe+J,EAAU,GAAK,uCAAwC,CAAEF,aAAYC,SAEhGC,EAAS,CACT,MAAMpB,EAAa1I,OAAO0I,UACM,QAA3BxB,EAAKlH,OAAO0I,iBAA8B,IAAPxB,EAAgBA,EAAK,GAC7DwB,EAAUpD,KAAK,IACRwB,EACH1F,MAAO,eACP,eAAgByI,EAChB,oBAAqBD,KAoBjC,YAAW,MAAExI,EAAK,SAAE2I,EAAW,KAAI,OAAEC,EAAS,KAAI,MAAErF,EAAQ,KAAI,MAAEjG,EAAQ,KAAI,eAAEuL,GAAiB,KAAUC,GAAS,IAChH,IAAInD,EAAIG,EACR,MAAM4C,EAAUrH,KAAKqD,sBAAyD,QAA/BiB,EAAKtE,KAAKnD,QAAQ4G,eAA4B,IAAPa,GAAgBA,EAWtG,GAVItE,KAAKnD,QAAQmK,OACb/J,QAAQK,IAAI,eAAe+J,EAAU,GAAK,mCAAoC,CAC1E1I,QACA2I,WACAC,SACArF,QACAjG,WACGwL,IAGPJ,EAAS,CACT,MAAMpB,EAAa1I,OAAO0I,UACM,QAA3BxB,EAAKlH,OAAO0I,iBAA8B,IAAPxB,EAAgBA,EAAK,GAC7DwB,EAAUpD,KAAK,CACXlE,MAAiB,OAAVA,QAA4B,IAAVA,EAAmBA,EAAQ,cACpD+I,OAAQJ,EACRC,OAAQA,EACR,oBAAqBrF,EACrBjG,MAAOA,EACP,mBAAoBuL,KACjBC,MAKnB9L,EAAQS,WAAaA","file":"static/js/app-568b17f5.js","sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.assertIsGtmId = exports.GTM_ID_PATTERN = void 0;\n/** GTM Container ID pattern. */\nexports.GTM_ID_PATTERN = /^GTM-[0-9A-Z]+$/;\n/**\n * Assert that the given id is a valid GTM Container ID.\n *\n * Tested against pattern: `/^GTM-[0-9A-Z]+$/`.\n *\n * @param id A GTM Container ID.\n */\nfunction assertIsGtmId(id) {\n if (typeof id !== 'string' || !exports.GTM_ID_PATTERN.test(id)) {\n throw new Error(`GTM-ID '${id}' is not valid`);\n }\n}\nexports.assertIsGtmId = assertIsGtmId;\n//# sourceMappingURL=assert-is-gtm-id.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.loadScript = exports.hasScript = exports.GtmSupport = exports.GTM_ID_PATTERN = exports.assertIsGtmId = void 0;\nvar assert_is_gtm_id_1 = require(\"./assert-is-gtm-id\");\nObject.defineProperty(exports, \"assertIsGtmId\", { enumerable: true, get: function () { return assert_is_gtm_id_1.assertIsGtmId; } });\nObject.defineProperty(exports, \"GTM_ID_PATTERN\", { enumerable: true, get: function () { return assert_is_gtm_id_1.GTM_ID_PATTERN; } });\nvar gtm_support_1 = require(\"./gtm-support\");\nObject.defineProperty(exports, \"GtmSupport\", { enumerable: true, get: function () { return gtm_support_1.GtmSupport; } });\nvar utils_1 = require(\"./utils\");\nObject.defineProperty(exports, \"hasScript\", { enumerable: true, get: function () { return utils_1.hasScript; } });\nObject.defineProperty(exports, \"loadScript\", { enumerable: true, get: function () { return utils_1.loadScript; } });\n//# sourceMappingURL=index.js.map","module.exports = {\n install: function install(Vue, options = {}) {\n if (!options.disabled && (!options.key || options.key.length === 0)) {\n console.warn(\"Please enter a Zendesk Web Widget Key\");\n }\n\n const disabledLogger = function(method, ...args) {\n console.log(\"Zendesk is disabled, you called:\", { method, args });\n };\n\n if (options.disabled) {\n window.zE = disabledLogger;\n }\n\n window.zESettings = options.settings;\n\n const root = new Vue();\n\n let isLoaded = false;\n\n root.isLoaded = () => isLoaded;\n root.load = zendeskKey => {\n if (isLoaded) {\n return;\n }\n\n const script = document.createElement(\"script\");\n script.type = \"text/javascript\";\n script.async = true;\n script.id = \"ze-snippet\";\n const actualZendeskKey = zendeskKey || options.key;\n script.src =\n \"https://static.zdassets.com/ekr/snippet.js?key=\" + actualZendeskKey;\n\n delete window.zE;\n const first = document.getElementsByTagName(\"script\")[0];\n first.parentNode.insertBefore(script, first);\n\n script.onload = event => {\n isLoaded = true;\n\n if (options.hideOnLoad) {\n root.hide();\n }\n\n root.$emit(\"loaded\", event);\n\n window.zE(\"webWidget:on\", \"open\", () => {\n root.$emit(\"open\");\n });\n\n window.zE(\"webWidget:on\", \"close\", () => {\n root.$emit(\"close\");\n });\n };\n };\n\n if (!options.disabled) {\n root.load(options.key);\n }\n\n root.hide = () => window.zE(\"webWidget\", \"hide\");\n root.show = () => window.zE(\"webWidget\", \"show\");\n root.logout = () => window.zE(\"webWidget\", \"logout\");\n root.identify = user => window.zE(\"webWidget\", \"identify\", user);\n root.prefill = user => window.zE(\"webWidget\", \"prefill\", user);\n root.setLocale = locale => window.zE(\"webWidget\", \"setLocale\", locale);\n root.updateSettings = settings =>\n window.zE(\"webWidget\", \"updateSettings\", settings);\n root.clear = () => window.zE(\"webWidget\", \"clear\");\n root.updatePath = options => window.zE(\"updatePath\", \"clear\", options);\n root.toggle = () => window.zE(\"webWidget\", \"toggle\");\n root.reset = () => window.zE(\"webWidget\", \"reset\");\n root.close = () => window.zE(\"webWidget\", \"close\");\n root.open = () => window.zE(\"webWidget\", \"open\");\n\n Object.defineProperty(root, \"zE\", {\n get: function get() {\n return window.zE;\n }\n });\n\n Vue.prototype.$zendesk = root;\n }\n};\n","\"use strict\";\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.useGtm = exports.GtmPlugin = exports.loadScript = exports.hasScript = exports.GtmSupport = exports.assertIsGtmId = void 0;\nvar core_1 = require(\"@gtm-support/core\");\nObject.defineProperty(exports, \"GtmPlugin\", { enumerable: true, get: function () { return core_1.GtmSupport; } });\nvar gtmPlugin;\n/**\n * Installation procedure.\n *\n * @param Vue The Vue instance.\n * @param options Configuration options.\n */\nfunction install(Vue, options) {\n if (options === void 0) { options = { id: '' }; }\n // Apply default configuration\n options = __assign({ trackOnNextTick: false }, options);\n // Add to vue prototype and also from globals\n gtmPlugin = new core_1.GtmSupport(options);\n Vue.prototype.$gtm = Vue.gtm = gtmPlugin;\n // Check if plugin is running in a real browser or e.g. in SSG mode\n if (gtmPlugin.isInBrowserContext()) {\n // Handle vue-router if defined\n if (options.vueRouter) {\n initVueRouterGuard(Vue, options.vueRouter, options.ignoredViews, options.trackOnNextTick);\n }\n // Load GTM script when enabled\n if (gtmPlugin.options.enabled && gtmPlugin.options.loadScript) {\n if (Array.isArray(options.id)) {\n options.id.forEach(function (id) {\n if (typeof id === 'string') {\n (0, core_1.loadScript)(id, options);\n }\n else {\n var newConf = __assign({}, options);\n if (id.queryParams != null) {\n newConf.queryParams = __assign(__assign({}, newConf.queryParams), id.queryParams);\n }\n (0, core_1.loadScript)(id.id, newConf);\n }\n });\n }\n else {\n (0, core_1.loadScript)(options.id, options);\n }\n }\n }\n}\n/**\n * Initialize the router guard.\n *\n * @param Vue The Vue instance.\n * @param vueRouter The Vue router instance to attach the guard.\n * @param ignoredViews An array of route name that will be ignored.\n * @param trackOnNextTick Whether or not to call `trackView` in `Vue.nextTick`.\n * @param deriveAdditionalEventData Callback to derive additional event data.\n */\nfunction initVueRouterGuard(Vue, vueRouter, ignoredViews, trackOnNextTick, deriveAdditionalEventData) {\n var _this = this;\n if (ignoredViews === void 0) { ignoredViews = []; }\n if (deriveAdditionalEventData === void 0) { deriveAdditionalEventData = function () { return ({}); }; }\n if (!vueRouter) {\n console.warn(\"[VueGtm]: You tried to register 'vueRouter' for vue-gtm, but 'vue-router' was not found.\");\n return;\n }\n vueRouter.afterEach(function (to, from) { return __awaiter(_this, void 0, void 0, function () {\n var name, additionalEventData, _a, baseUrl, fullUrl;\n var _b, _c;\n return __generator(this, function (_d) {\n switch (_d.label) {\n case 0:\n // Ignore some routes\n if (typeof to.name !== 'string' ||\n (Array.isArray(ignoredViews) && ignoredViews.includes(to.name)) ||\n (typeof ignoredViews === 'function' && ignoredViews(to, from))) {\n return [2 /*return*/];\n }\n name = to.meta && typeof to.meta.gtm === 'string' && !!to.meta.gtm\n ? to.meta.gtm\n : to.name;\n _a = [{}];\n return [4 /*yield*/, deriveAdditionalEventData(to, from)];\n case 1:\n additionalEventData = __assign.apply(void 0, [__assign.apply(void 0, _a.concat([(_d.sent())])), (_b = to.meta) === null || _b === void 0 ? void 0 : _b.gtmAdditionalEventData]);\n baseUrl = (_c = vueRouter.options.base) !== null && _c !== void 0 ? _c : '';\n fullUrl = baseUrl;\n if (!fullUrl.endsWith('/')) {\n fullUrl += '/';\n }\n fullUrl += to.fullPath.startsWith('/')\n ? to.fullPath.substr(1)\n : to.fullPath;\n if (trackOnNextTick) {\n Vue.nextTick(function () {\n gtmPlugin === null || gtmPlugin === void 0 ? void 0 : gtmPlugin.trackView(name, fullUrl, additionalEventData);\n });\n }\n else {\n gtmPlugin === null || gtmPlugin === void 0 ? void 0 : gtmPlugin.trackView(name, fullUrl, additionalEventData);\n }\n return [2 /*return*/];\n }\n });\n }); });\n}\nvar _default = { install: install };\nvar core_2 = require(\"@gtm-support/core\");\nObject.defineProperty(exports, \"assertIsGtmId\", { enumerable: true, get: function () { return core_2.assertIsGtmId; } });\nObject.defineProperty(exports, \"GtmSupport\", { enumerable: true, get: function () { return core_2.GtmSupport; } });\nObject.defineProperty(exports, \"hasScript\", { enumerable: true, get: function () { return core_2.hasScript; } });\nObject.defineProperty(exports, \"loadScript\", { enumerable: true, get: function () { return core_2.loadScript; } });\nexports.default = _default;\n/**\n * Returns GTM plugin instance to be used via Composition API inside setup method.\n *\n * @returns The Vue GTM instance if the it was installed, otherwise `undefined`.\n */\nfunction useGtm() {\n return gtmPlugin;\n}\nexports.useGtm = useGtm;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.hasScript = exports.loadScript = void 0;\n/**\n * Load GTM script tag.\n *\n * @param id GTM ID.\n * @param config The config object.\n * @returns The script element.\n */\nfunction loadScript(id, config) {\n var _a, _b, _c, _d, _e;\n const doc = document;\n const script = doc.createElement('script');\n const scriptLoadListener = (event) => {\n var _a;\n (_a = config.onReady) === null || _a === void 0 ? void 0 : _a.call(config, { id, script });\n script.removeEventListener('load', scriptLoadListener);\n };\n script.addEventListener('load', scriptLoadListener);\n window.dataLayer = (_a = window.dataLayer) !== null && _a !== void 0 ? _a : [];\n (_b = window.dataLayer) === null || _b === void 0 ? void 0 : _b.push({\n event: 'gtm.js',\n 'gtm.start': new Date().getTime(),\n });\n if (!id) {\n return script;\n }\n script.async = !config.defer;\n // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing\n script.defer = Boolean(config.defer || config.compatibility);\n if (config.nonce) {\n script.nonce = config.nonce;\n }\n const queryString = new URLSearchParams({\n id,\n ...((_c = config.queryParams) !== null && _c !== void 0 ? _c : {}),\n });\n const source = (_d = config.source) !== null && _d !== void 0 ? _d : 'https://www.googletagmanager.com/gtm.js';\n script.src = `${source}?${queryString}`;\n const parentElement = (_e = config.parentElement) !== null && _e !== void 0 ? _e : doc.body;\n if (typeof (parentElement === null || parentElement === void 0 ? void 0 : parentElement.appendChild) !== 'function') {\n throw new Error('parentElement must be a DOM element');\n }\n parentElement.appendChild(script);\n return script;\n}\nexports.loadScript = loadScript;\n/**\n * Check if GTM script is in the document.\n *\n * @param source The URL of the script, if it differs from the default. Default: 'https://www.googletagmanager.com/gtm.js'.\n * @returns `true` if in the `document` is a `script` with `src` containing `'https://www.googletagmanager.com/gtm.js'` (or `source` if specified), otherwise `false`.\n */\nfunction hasScript(source = 'https://www.googletagmanager.com/gtm.js') {\n return Array.from(document.getElementsByTagName('script')).some((script) => script.src.includes(source));\n}\nexports.hasScript = hasScript;\n//# sourceMappingURL=utils.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.GtmSupport = void 0;\nconst assert_is_gtm_id_1 = require(\"./assert-is-gtm-id\");\nconst utils_1 = require(\"./utils\");\n/**\n * The GTM Support main class.\n */\nclass GtmSupport {\n /**\n * Constructs a new `GtmSupport` instance.\n *\n * @param options Options.\n */\n constructor(options) {\n this.scriptElements = [];\n /**\n * Whether the script is running in a browser or not.\n *\n * You can override this function if you need to.\n *\n * @returns `true` if the script runs in browser context.\n */\n this.isInBrowserContext = () => typeof window !== 'undefined';\n if (Array.isArray(options.id)) {\n for (const idOrObject of options.id) {\n if (typeof idOrObject === 'string') {\n (0, assert_is_gtm_id_1.assertIsGtmId)(idOrObject);\n }\n else {\n (0, assert_is_gtm_id_1.assertIsGtmId)(idOrObject.id);\n }\n }\n }\n else {\n (0, assert_is_gtm_id_1.assertIsGtmId)(options.id);\n }\n this.id = options.id;\n this.options = {\n enabled: true,\n debug: false,\n loadScript: true,\n defer: false,\n compatibility: false,\n ...options,\n };\n // @ts-expect-error: Just remove the id from options\n delete this.options.id;\n }\n /**\n * Check if plugin is enabled.\n *\n * @returns `true` if the plugin is enabled, otherwise `false`.\n */\n enabled() {\n var _a;\n return (_a = this.options.enabled) !== null && _a !== void 0 ? _a : true;\n }\n /**\n * Enable or disable plugin.\n *\n * When enabling with this function, the script will be attached to the `document` if:\n *\n * - the script runs in browser context\n * - the `document` doesn't have the script already attached\n * - the `loadScript` option is set to `true`\n *\n * @param enabled `true` to enable, `false` to disable. Default: `true`.\n * @param source The URL of the script, if it differs from the default. Default: 'https://www.googletagmanager.com/gtm.js'.\n */\n enable(enabled = true, source) {\n this.options.enabled = enabled;\n if (this.isInBrowserContext() &&\n enabled &&\n !(0, utils_1.hasScript)(source) &&\n this.options.loadScript) {\n if (Array.isArray(this.id)) {\n this.id.forEach((id) => {\n let scriptElement;\n if (typeof id === 'string') {\n scriptElement = (0, utils_1.loadScript)(id, {\n ...this.options,\n });\n }\n else {\n scriptElement = (0, utils_1.loadScript)(id.id, {\n ...this.options,\n queryParams: id.queryParams,\n });\n }\n this.scriptElements.push(scriptElement);\n });\n }\n else {\n const scriptElement = (0, utils_1.loadScript)(this.id, {\n ...this.options,\n });\n this.scriptElements.push(scriptElement);\n }\n }\n }\n /**\n * Check if plugin is in debug mode.\n *\n * @returns `true` if the plugin is in debug mode, otherwise `false`.\n */\n debugEnabled() {\n var _a;\n return (_a = this.options.debug) !== null && _a !== void 0 ? _a : false;\n }\n /**\n * Enable or disable debug mode.\n *\n * @param enable `true` to enable, `false` to disable.\n */\n debug(enable) {\n this.options.debug = enable;\n }\n /**\n * Returns the `window.dataLayer` array if the script is running in browser context and the plugin is enabled,\n * otherwise `false`.\n *\n * @returns The `window.dataLayer` if script is running in browser context and plugin is enabled, otherwise `false`.\n */\n dataLayer() {\n var _a;\n if (this.isInBrowserContext() && this.options.enabled) {\n return (window.dataLayer = (_a = window.dataLayer) !== null && _a !== void 0 ? _a : []);\n }\n return false;\n }\n /**\n * Track a view event with `event: \"content-view\"`.\n *\n * The event will only be send if the script runs in browser context and the if plugin is enabled.\n *\n * If debug mode is enabled, a \"Dispatching TrackView\" is logged,\n * regardless of whether the plugin is enabled or the plugin is being executed in browser context.\n *\n * @param screenName Name of the screen passed as `\"content-view-name\"`.\n * @param path Path passed as `\"content-name\"`.\n * @param additionalEventData Additional data for the event object. `event`, `\"content-name\"` and `\"content-view-name\"` will always be overridden.\n */\n trackView(screenName, path, additionalEventData = {}) {\n var _a, _b;\n const trigger = this.isInBrowserContext() && ((_a = this.options.enabled) !== null && _a !== void 0 ? _a : false);\n if (this.options.debug) {\n console.log(`[GTM-Support${trigger ? '' : '(disabled)'}]: Dispatching TrackView`, { screenName, path });\n }\n if (trigger) {\n const dataLayer = (window.dataLayer =\n (_b = window.dataLayer) !== null && _b !== void 0 ? _b : []);\n dataLayer.push({\n ...additionalEventData,\n event: 'content-view',\n 'content-name': path,\n 'content-view-name': screenName,\n });\n }\n }\n /**\n * Track an event.\n *\n * The event will only be send if the script runs in browser context and the if plugin is enabled.\n *\n * If debug mode is enabled, a \"Dispatching event\" is logged,\n * regardless of whether the plugin is enabled or the plugin is being executed in browser context.\n *\n * @param param0 Object that will be used for configuring the event object passed to GTM.\n * @param param0.event `event`, default to `\"interaction\"` when pushed to `window.dataLayer`.\n * @param param0.category Optional `category`, passed as `target`.\n * @param param0.action Optional `action`, passed as `action`.\n * @param param0.label Optional `label`, passed as `\"target-properties\"`.\n * @param param0.value Optional `value`, passed as `value`.\n * @param param0.noninteraction Optional `noninteraction`, passed as `\"interaction-type\"`.\n */\n trackEvent({ event, category = null, action = null, label = null, value = null, noninteraction = false, ...rest } = {}) {\n var _a, _b;\n const trigger = this.isInBrowserContext() && ((_a = this.options.enabled) !== null && _a !== void 0 ? _a : false);\n if (this.options.debug) {\n console.log(`[GTM-Support${trigger ? '' : '(disabled)'}]: Dispatching event`, {\n event,\n category,\n action,\n label,\n value,\n ...rest,\n });\n }\n if (trigger) {\n const dataLayer = (window.dataLayer =\n (_b = window.dataLayer) !== null && _b !== void 0 ? _b : []);\n dataLayer.push({\n event: event !== null && event !== void 0 ? event : 'interaction',\n target: category,\n action: action,\n 'target-properties': label,\n value: value,\n 'interaction-type': noninteraction,\n ...rest,\n });\n }\n }\n}\nexports.GtmSupport = GtmSupport;\n//# sourceMappingURL=gtm-support.js.map"],"sourceRoot":""}