{"version":3,"file":"sharedFrameEvents-QbzNe3xp.js","sources":["../../../node_modules/date-fns/esm/addHours/index.js","../../../app/javascript/widget/constants/sdkEvents.js","../../../app/javascript/widget/constants/errorTypes.js","../../../app/javascript/shared/constants/sharedFrameEvents.js"],"sourcesContent":["import toInteger from \"../_lib/toInteger/index.js\";\nimport addMilliseconds from \"../addMilliseconds/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\nvar MILLISECONDS_IN_HOUR = 3600000;\n/**\n * @name addHours\n * @category Hour Helpers\n * @summary Add the specified number of hours to the given date.\n *\n * @description\n * Add the specified number of hours to the given date.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of hours to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.\n * @returns {Date} the new date with the hours added\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Add 2 hours to 10 July 2014 23:00:00:\n * const result = addHours(new Date(2014, 6, 10, 23, 0), 2)\n * //=> Fri Jul 11 2014 01:00:00\n */\n\nexport default function addHours(dirtyDate, dirtyAmount) {\n requiredArgs(2, arguments);\n var amount = toInteger(dirtyAmount);\n return addMilliseconds(dirtyDate, amount * MILLISECONDS_IN_HOUR);\n}","export const VORDESK_ERROR = 'vordesk:error';\nexport const VORDESK_ON_MESSAGE = 'vordesk:on-message';\nexport const VORDESK_ON_START_CONVERSATION = 'vordesk:on-start-conversation';\nexport const VORDESK_READY = 'vordesk:ready';\n","export const SET_USER_ERROR = 'SET_USER_ERROR';\n","export const SDK_SET_BUBBLE_VISIBILITY = 'sdk-set-bubble-visibility';\n"],"names":["MILLISECONDS_IN_HOUR","addHours","dirtyDate","dirtyAmount","requiredArgs","amount","toInteger","addMilliseconds","VORDESK_ERROR","VORDESK_ON_MESSAGE","VORDESK_ON_START_CONVERSATION","VORDESK_READY","SET_USER_ERROR","SDK_SET_BUBBLE_VISIBILITY"],"mappings":"8FAGA,IAAIA,EAAuB,KAwBZ,SAASC,EAASC,EAAWC,EAAa,CACvDC,EAAa,EAAG,SAAS,EACzB,IAAIC,EAASC,EAAUH,CAAW,EAClC,OAAOI,EAAgBL,EAAWG,EAASL,CAAoB,CACjE,CC/BY,MAACQ,EAAgB,gBAChBC,EAAqB,qBACrBC,EAAgC,gCAChCC,EAAgB,gBCHhBC,EAAiB,iBCAjBC,EAA4B","x_google_ignoreList":[0]}