{"version":3,"sources":["webpack:///./src/components/UI/Loader.vue","webpack:///src/components/UI/Loader.vue","webpack:///./src/components/UI/Loader.vue?6e56","webpack:///./src/components/UI/Loader.vue?9492","webpack:///./src/eventbus/event-bus.js","webpack:///./src/components/Services/WebHook/DrawerWebHookLogDetails.vue?d0ff","webpack:///src/components/UI/TransitionExpand.vue","webpack:///./src/components/UI/TransitionExpand.vue","webpack:///./src/components/UI/TransitionExpand.vue?7c9b","webpack:///./node_modules/core-js/modules/es.string.starts-with.js","webpack:///./src/components/Services/WebHook/WebHookLogListViewer.vue","webpack:///./src/components/Services/WebHook/DrawerWebHookLogDetails.vue","webpack:///./src/components/Services/WebHook/WebHookDeliveryTag.vue","webpack:///./src/utils/webHookDelivery.js","webpack:///src/components/Services/WebHook/WebHookDeliveryTag.vue","webpack:///./src/components/Services/WebHook/WebHookDeliveryTag.vue?ad2a","webpack:///./src/components/Services/WebHook/WebHookDeliveryTag.vue?d724","webpack:///src/components/Services/WebHook/DrawerWebHookLogDetails.vue","webpack:///./src/components/Services/WebHook/DrawerWebHookLogDetails.vue?c4dd","webpack:///./src/components/Services/WebHook/DrawerWebHookLogDetails.vue?5038","webpack:///src/components/Services/WebHook/WebHookLogListViewer.vue","webpack:///./src/components/Services/WebHook/WebHookLogListViewer.vue?07ee","webpack:///./src/components/Services/WebHook/WebHookLogListViewer.vue?2f42","webpack:///./src/components/Services/WebHook/BaseWebHookController.vue","webpack:///src/components/Services/WebHook/BaseWebHookController.vue","webpack:///./src/components/Services/WebHook/BaseWebHookController.vue?51b3","webpack:///./node_modules/core-js/internals/not-a-regexp.js","webpack:///./src/components/UI/TransitionExpand.vue?08db","webpack:///./node_modules/core-js/modules/es.string.ends-with.js","webpack:///./node_modules/core-js/internals/correct-is-regexp-logic.js","webpack:///./src/components/UI/TransitionExpand.vue?cdc1","webpack:///./src/providers/webHook.js","webpack:///./src/components/UI/Message.vue","webpack:///src/components/UI/Message.vue","webpack:///./src/components/UI/Message.vue?5d20","webpack:///./src/components/UI/Message.vue?fb09"],"names":["render","_vm","this","_c","_self","staticClass","attrs","color","width","height","staticRenderFns","name","props","type","String","default","Number","component","EventBus","Vue","functional","createElement","context","data","on","afterEnter","element","style","enter","_getComputedStyle","getComputedStyle","position","visibility","_getComputedStyle2","setTimeout","leave","_getComputedStyle3","children","$","uncurryThis","getOwnPropertyDescriptor","f","toLength","toString","notARegExp","requireObjectCoercible","correctIsRegExpLogic","IS_PURE","stringSlice","slice","min","Math","CORRECT_IS_REGEXP_LOGIC","MDN_POLYFILL_BUG","descriptor","prototype","writable","target","proto","forced","startsWith","searchString","that","index","arguments","length","undefined","search","drawer","hideDrawer","getLogs","_e","_v","_s","$t","loadingStatus","isSearching","searchState","startDate","endDate","selectedEntityId","entityOptions","searchLogs","logs","_l","visibleLogKeys","key","$event","sortByIndex","concat","sortBy","keyIndex","direction","log","domProps","transformDateToHtml","CreatedOn","ItemId","Type","Action","SendMethod","Url","StatusCode","setShowDrawerType","pagination","morePages","current","pageSelected","scopedSlots","_u","fn","proxy","showSideDrawer","mWebHookLog","Headers","header","HeaderName","HeaderValue","deliverySummary","canRetry","isRetrying","retryDelivery","class","isDurable","retryResponseStatus","retryBannerText","isSendingWebHook","resendWebHook","resendResponseStatus","Message","isCopyingBody","copyBody","Body","tagClass","summary","state","attemptsText","retryPending","showNextAttempt","nextAttemptText","MAX_AUTOMATIC_ATTEMPTS","baseSummary","attempts","maxAutomaticAttempts","nextAttemptOn","summarizeWebHookDelivery","AttemptCount","webHookId","WebHookId","statusCode","DeliveryState","_objectSpread","tone","NextAttemptOn","unwrapWebHookBody","body","trimmed","trim","endsWith","parsed","JSON","parse","error","webHookLog","Object","required","Boolean","computed","toneClasses","success","warning","info","neutral","count","max","baseDate","Date","date","format","time","components","TransitionExpand","WebHookDeliveryTag","onClickClose","Function","resendTimeout","retryTimeout","created","cleanSource","beforeDestroy","clearTimeout","mapState","methods","_this","$emit","message","navigator","clipboard","writeText","_this2","testWebHook","LocationId","locationState","Id","webHookProvider","sendWebHook","then","_ref","_asyncToGenerator","_regenerator","m","_callee","response","w","_context","n","a","_x","apply","catch","finally","t","_this3","_ref2","_callee2","_context2","_x2","extends","BaseWebHookController","Pagination","DrawerWebHookLogDetails","Loader","itemsPerPage","searchTerm","selectedEntityKey","showModal","options","whitelistedEntityTypes","forEach","option","push","id","text","currentDate","getFullYear","getHours","getMinutes","entityTypeKeysUnWatch","$watch","arrValue","immediate","transformBody","whiteListedObjectKeys","keys","filter","includes","sort","b","indexOf","page","createdOn","multiDay","intraDay","hideModal","setShowWebHookLog","searchQuery","selectedStatusId","whitelistedSaveEntityTypes","entityTypeKeys","actionKeys","enums","Promise","all","getActionTypes","getEntityTypes","v","isRegExp","$TypeError","TypeError","module","exports","it","endPosition","len","end","wellKnownSymbol","MATCH","METHOD_NAME","regexp","error1","error2","getWebHooksToken","getLogsToken","apiUrl","process","apiToken","axios","get","headers","profileToken","store","getters","status","unshift","getWebHooks","locationId","_callee3","_context3","cancel","CancelToken","source","params","webHooks","Item1","Item2","entityKey","_callee4","_context4","q","saveWebHook","webHook","_callee5","_context5","post","_callee6","_context6","logId","_callee7","_context7","deleteWebHook","_callee8","_context8","delete","combindedClass","_t","size","c"],"mappings":"iPAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,iCAAiC,CAACF,EAAG,MAAM,CAACG,MAAM,CAAC,QAAU,aAAa,MAAQ,6BAA6B,KAAOL,EAAIM,MAAM,MAAQN,EAAIO,MAAM,OAASP,EAAIQ,SAAS,CAACN,EAAG,SAAS,CAACG,MAAM,CAAC,GAAK,KAAK,GAAK,KAAK,EAAI,OAAO,CAACH,EAAG,UAAU,CAACG,MAAM,CAAC,cAAgB,IAAI,KAAO,KAAK,GAAK,KAAK,MAAQ,KAAK,IAAM,OAAO,OAAS,UAAU,SAAW,SAAS,YAAc,gBAAgBH,EAAG,UAAU,CAACG,MAAM,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IAAIhN,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,UAAU,CAACE,YAAY,UAAUqH,MAAMzH,EAAI4U,gBAAgB,CAAC1U,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAAEJ,EAAIkM,QAAS,CAAClM,EAAIuE,GAAG,IAAIvE,EAAIwE,GAAGxE,EAAIkM,SAAS,MAAMlM,EAAIsE,KAAKtE,EAAI6U,GAAG,YAAY,MAErPpU,EAAkB,GCaP,GACfE,MAAA,CAIAuL,QAAA,CACAtL,KAAAC,OACAC,QAAA,IAGAgU,KAAA,CACAlU,KAAAC,OACAC,QAAA,IAOAF,KAAA,CACAA,KAAAC,OACAC,QAAA,YAGAQ,KAAA,WACA,UAGAgJ,SAAA,CACAsK,eAAA,WACA,IAAAG,EAAA,KAAAnU,KAMA,OAJA,KAAAkU,KAAA9Q,OAAA,IACA+Q,IAAA,SAAAD,MAGAC,KCnD+V,I,YCO3V/T,EAAY,eACd,EACAjB,EACAU,GACA,EACA,KACA,WACA,MAIa,aAAAO,E","file":"js/chunk-d27c4afa.js?id=ed2150350b4557011ba2","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"has-padding has-text-centered\"},[_c('svg',{attrs:{\"viewBox\":\"0 0 120 30\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":_vm.color,\"width\":_vm.width,\"height\":_vm.height}},[_c('circle',{attrs:{\"cx\":\"15\",\"cy\":\"15\",\"r\":\"15\"}},[_c('animate',{attrs:{\"attributeName\":\"r\",\"from\":\"15\",\"to\":\"15\",\"begin\":\"0s\",\"dur\":\"0.8s\",\"values\":\"15;9;15\",\"calcMode\":\"linear\",\"repeatCount\":\"indefinite\"}}),_c('animate',{attrs:{\"attributeName\":\"fill-opacity\",\"from\":\"1\",\"to\":\"1\",\"begin\":\"0s\",\"dur\":\"0.8s\",\"values\":\"1;.5;1\",\"calcMode\":\"linear\",\"repeatCount\":\"indefinite\"}})]),_c('circle',{attrs:{\"cx\":\"60\",\"cy\":\"15\",\"r\":\"9\",\"fill-opacity\":\"0.3\"}},[_c('animate',{attrs:{\"attributeName\":\"r\",\"from\":\"9\",\"to\":\"9\",\"begin\":\"0s\",\"dur\":\"0.8s\",\"values\":\"9;15;9\",\"calcMode\":\"linear\",\"repeatCount\":\"indefinite\"}}),_c('animate',{attrs:{\"attributeName\":\"fill-opacity\",\"from\":\"0.5\",\"to\":\"0.5\",\"begin\":\"0s\",\"dur\":\"0.8s\",\"values\":\".5;1;.5\",\"calcMode\":\"linear\",\"repeatCount\":\"indefinite\"}})]),_c('circle',{attrs:{\"cx\":\"105\",\"cy\":\"15\",\"r\":\"15\"}},[_c('animate',{attrs:{\"attributeName\":\"r\",\"from\":\"15\",\"to\":\"15\",\"begin\":\"0s\",\"dur\":\"0.8s\",\"values\":\"15;9;15\",\"calcMode\":\"linear\",\"repeatCount\":\"indefinite\"}}),_c('animate',{attrs:{\"attributeName\":\"fill-opacity\",\"from\":\"1\",\"to\":\"1\",\"begin\":\"0s\",\"dur\":\"0.8s\",\"values\":\"1;.5;1\",\"calcMode\":\"linear\",\"repeatCount\":\"indefinite\"}})])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <div class=\"has-padding has-text-centered\">\n    <svg\n      viewBox=\"0 0 120 30\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n      :fill=\"color\"\n      :width=\"width\"\n      :height=\"height\"\n    >\n      <circle cx=\"15\" cy=\"15\" r=\"15\">\n        <animate\n          attributeName=\"r\"\n          from=\"15\"\n          to=\"15\"\n          begin=\"0s\"\n          dur=\"0.8s\"\n          values=\"15;9;15\"\n          calcMode=\"linear\"\n          repeatCount=\"indefinite\"\n        />\n        <animate\n          attributeName=\"fill-opacity\"\n          from=\"1\"\n          to=\"1\"\n          begin=\"0s\"\n          dur=\"0.8s\"\n          values=\"1;.5;1\"\n          calcMode=\"linear\"\n          repeatCount=\"indefinite\"\n        />\n      </circle>\n      <circle cx=\"60\" cy=\"15\" r=\"9\" fill-opacity=\"0.3\">\n        <animate\n          attributeName=\"r\"\n          from=\"9\"\n          to=\"9\"\n          begin=\"0s\"\n          dur=\"0.8s\"\n          values=\"9;15;9\"\n          calcMode=\"linear\"\n          repeatCount=\"indefinite\"\n        />\n        <animate\n          attributeName=\"fill-opacity\"\n          from=\"0.5\"\n          to=\"0.5\"\n          begin=\"0s\"\n          dur=\"0.8s\"\n          values=\".5;1;.5\"\n          calcMode=\"linear\"\n          repeatCount=\"indefinite\"\n        />\n      </circle>\n      <circle cx=\"105\" cy=\"15\" r=\"15\">\n        <animate\n          attributeName=\"r\"\n          from=\"15\"\n          to=\"15\"\n          begin=\"0s\"\n          dur=\"0.8s\"\n          values=\"15;9;15\"\n          calcMode=\"linear\"\n          repeatCount=\"indefinite\"\n        />\n        <animate\n          attributeName=\"fill-opacity\"\n          from=\"1\"\n          to=\"1\"\n          begin=\"0s\"\n          dur=\"0.8s\"\n          values=\"1;.5;1\"\n          calcMode=\"linear\"\n          repeatCount=\"indefinite\"\n        />\n      </circle>\n    </svg>\n  </div>\n</template>\n\n<script>\nexport default {\n  name: \"dots\",\n  props: {\n    color: {\n      type: String,\n      default: \"#000\"\n    },\n    height: {\n      type: Number,\n      default: 240\n    },\n    width: {\n      type: Number,\n      default: 60\n    }\n  }\n};\n</script>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Loader.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Loader.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Loader.vue?vue&type=template&id=2e82bc9d\"\nimport script from \"./Loader.vue?vue&type=script&lang=js\"\nexport * from \"./Loader.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","import Vue from 'vue'\nexport const EventBus = new Vue()\n\nexport default EventBus\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DrawerWebHookLogDetails.vue?vue&type=style&index=0&id=6443bf62&prod&scoped=true&lang=css\"","<script>\nexport default {\n  name: `TransitionExpand`,\n  functional: true,\n  render(createElement, context) {\n    const data = {\n      props: {\n        name: `expand`\n      },\n      on: {\n        afterEnter(element) {\n          // eslint-disable-next-line no-param-reassign\n          element.style.height = `auto`\n        },\n        enter(element) {\n          const { width } = getComputedStyle(element)\n          /* eslint-disable no-param-reassign */\n          element.style.width = width\n          element.style.position = `absolute`\n          element.style.visibility = `hidden`\n          element.style.height = `auto`\n          /* eslint-enable */\n          const { height } = getComputedStyle(element)\n          /* eslint-disable no-param-reassign */\n          element.style.width = null\n          element.style.position = null\n          element.style.visibility = null\n          element.style.height = 0\n          /* eslint-enable */\n          // Force repaint to make sure the\n          // animation is triggered correctly.\n          // eslint-disable-next-line no-unused-expressions\n          getComputedStyle(element).height\n          setTimeout(() => {\n            // eslint-disable-next-line no-param-reassign\n            element.style.height = height\n          })\n        },\n        leave(element) {\n          const { height } = getComputedStyle(element)\n          // eslint-disable-next-line no-param-reassign\n          element.style.height = height\n          // Force repaint to make sure the\n          // animation is triggered correctly.\n          // eslint-disable-next-line no-unused-expressions\n          getComputedStyle(element).height\n          setTimeout(() => {\n            // eslint-disable-next-line no-param-reassign\n            element.style.height = 0\n          })\n        }\n      }\n    }\n    return createElement(`transition`, data, context.children)\n  }\n}\n</script>\n\n<style scoped>\n* {\n  will-change: height;\n  transform: translateZ(0);\n  backface-visibility: hidden;\n  perspective: 1000px;\n}\n</style>\n\n<style>\n.expand-enter-active,\n.expand-leave-active {\n  transition: height 0.3s ease-in-out;\n  overflow: hidden;\n}\n.expand-enter,\n.expand-leave-to {\n  height: 0;\n}\n</style>\n","var render, staticRenderFns\nimport script from \"./TransitionExpand.vue?vue&type=script&lang=js\"\nexport * from \"./TransitionExpand.vue?vue&type=script&lang=js\"\nimport style0 from \"./TransitionExpand.vue?vue&type=style&index=0&id=3deb10ec&prod&scoped=true&lang=css\"\nimport style1 from \"./TransitionExpand.vue?vue&type=style&index=1&id=3deb10ec&prod&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"3deb10ec\",\n  null\n  \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransitionExpand.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransitionExpand.vue?vue&type=script&lang=js\"","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\nvar IS_PURE = require('../internals/is-pure');\n\nvar stringSlice = uncurryThis(''.slice);\nvar min = Math.min;\n\nvar CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('startsWith');\n// https://github.com/zloirock/core-js/pull/702\nvar MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {\n  var descriptor = getOwnPropertyDescriptor(String.prototype, 'startsWith');\n  return descriptor && !descriptor.writable;\n}();\n\n// `String.prototype.startsWith` method\n// https://tc39.es/ecma262/#sec-string.prototype.startswith\n$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {\n  startsWith: function startsWith(searchString /* , position = 0 */) {\n    var that = toString(requireObjectCoercible(this));\n    notARegExp(searchString);\n    var index = toLength(min(arguments.length > 1 ? arguments[1] : undefined, that.length));\n    var search = toString(searchString);\n    return stringSlice(that, index, index + search.length) === search;\n  }\n});\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{},[(_vm.drawer.type === 'LogDetail')?_c('DrawerWebHookLogDetails',{attrs:{\"showSideDrawer\":_vm.drawer.type === 'LogDetail',\"onClickClose\":_vm.hideDrawer,\"webHookLog\":_vm.drawer.data,\"getLogs\":_vm.getLogs}}):_vm._e(),_c('h2',{staticClass:\"title is-3\"},[_vm._v(\" \"+_vm._s(_vm.$t('Components.Services.WebHook.LogsViewer.Main_Title'))+\" \")]),(_vm.loadingStatus!=='Failed')?_c('div',{staticClass:\"filter-column mb-6\"},[_c('ui-search-form',{attrs:{\"dateMode\":\"range\",\"searchTermPlaceholder\":_vm.$t('Components.Services.WebHook.LogsViewer.Placeholder_Search'),\"isLoading\":_vm.isSearching,\"startDate\":_vm.searchState.startDate,\"endDate\":_vm.searchState.endDate,\"selectedStatusId\":_vm.searchState.selectedEntityId,\"statusOptions\":_vm.entityOptions,\"actionSearch\":_vm.searchLogs}})],1):_vm._e(),(_vm.loadingStatus === '' || _vm.isSearching)?_c('Loader'):(_vm.loadingStatus==='Success')?_c('div',[(_vm.logs.length > 0)?_c('table',{staticClass:\"table is-fullwidth is-striped is-hoverable\"},[_c('thead',[_c('tr',[_vm._l((_vm.visibleLogKeys),function(key,index){return _c('th',{key:key},[_c('a',{on:{\"click\":function($event){return _vm.sortByIndex(index)}}},[_vm._v(\" \"+_vm._s(_vm.$t(`Components.Services.WebHook.TableListLabels.${key}_Label`))+\" \"),(_vm.sortBy.keyIndex === index)?_c('span',{staticClass:\"icon\"},[(_vm.sortBy.direction.startsWith('ASC'))?_c('font-awesome-icon',{attrs:{\"icon\":['fas', 'chevron-up']}}):_vm._e(),(_vm.sortBy.direction.startsWith('DESC'))?_c('font-awesome-icon',{attrs:{\"icon\":['fas', 'chevron-down']}}):_vm._e()],1):_vm._e()])])}),_c('th')],2)]),_c('tbody',_vm._l((_vm.logs),function(log,index){return _c('tr',{key:index},[_c('td',{domProps:{\"innerHTML\":_vm._s(_vm.transformDateToHtml(log.CreatedOn))}}),_c('td',[_vm._v(\" \"+_vm._s(log.ItemId)+\" \")]),_c('td',[_vm._v(\" \"+_vm._s(_vm.$t(`General.Entities.${log.Type}`))+\" \")]),_c('td',[_vm._v(\" \"+_vm._s(_vm.$t(`General.WebHookEventTypes.${log.Action}_Action`))+\" \")]),_c('td',[_vm._v(\" \"+_vm._s(log.SendMethod)+\" \")]),_c('td',{staticClass:\"has-word-break\"},[_vm._v(\" \"+_vm._s(log.Url)+\" \")]),_c('td',[_vm._v(\" \"+_vm._s(log.StatusCode)+\" \")]),_c('td',[_c('WebHookDeliveryTag',{attrs:{\"webHookLog\":log}})],1),_c('td',[_c('a',{attrs:{\"data-tooltip\":`${_vm.$t(\n              'Components.Services.WebHook.LogsViewer.ViewDetails_Button'\n            )}`},on:{\"click\":function($event){return _vm.setShowDrawerType('LogDetail', log)}}},[_c('span',{staticClass:\"icon\"},[_c('font-awesome-icon',{attrs:{\"icon\":['fas', 'info-circle']}})],1)])])])}),0)]):_c('p',[_vm._v(\" \"+_vm._s(_vm.$t('Components.Services.WebHook.Common.NoLogsFound'))+\" \")]),(\n      !_vm.isSearching && (_vm.pagination.morePages > 0 || _vm.pagination.current > 1)\n    )?_c('Pagination',{attrs:{\"currentPage\":_vm.pagination.current,\"morePages\":_vm.pagination.morePages},on:{\"pageSelected\":_vm.pageSelected}}):_vm._e()],1):_c('div',[_c('Message',{key:\"Fail\",staticClass:\"is-danger\",scopedSlots:_vm._u([{key:\"content\",fn:function(){return [_vm._v(\" \"+_vm._s(_vm.$t('Components.Services.WebHook.Common.WebHookLogsApiError'))+\" \")]},proxy:true}])})],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.showSideDrawer)?_c('ui-component-drawer',{attrs:{\"drawerTitle\":_vm.$t('Components.Services.WebHook.LogsViewer.View_ModalWebHookLog_Title'),\"showDrawer\":_vm.showSideDrawer,\"onClickClose\":_vm.hideDrawer,\"drawerSize\":\"extra-large\",\"position\":\"right\"},scopedSlots:_vm._u([{key:\"content\",fn:function(){return [_c('div',[_c('div',{staticClass:\"columns is-multiline mb-6\"},[_c('div',{staticClass:\"column is-half\"},[_c('h1',{staticClass:\"title\"},[_vm._v(_vm._s(_vm.$t('Components.Services.WebHook.Common.Request')))]),_c('table',{staticClass:\"table is-fullwidth\"},[_c('tbody',[_c('tr',[_c('td',[_vm._v(_vm._s(_vm.$t(`Components.Services.WebHook.TableListLabels.ItemId_Label`)))]),_c('td',[_vm._v(_vm._s(_vm.mWebHookLog.ItemId))])]),_c('tr',[_c('td',[_vm._v(_vm._s(_vm.$t(`Components.Services.WebHook.TableListLabels.Type_Label`)))]),_c('td',[_vm._v(_vm._s(_vm.$t(`General.Entities.${_vm.mWebHookLog.Type}`)))])]),_c('tr',[_c('td',[_vm._v(_vm._s(_vm.$t(`Components.Services.WebHook.TableListLabels.Action_Label`)))]),_c('td',[_vm._v(\" \"+_vm._s(_vm.$t(`General.WebHookEventTypes.${_vm.mWebHookLog.Action}_Action`))+\" \")])]),_c('tr',[_c('td',[_vm._v(_vm._s(_vm.$t(`Components.Services.WebHook.TableListLabels.Verb_Label`)))]),_c('td',[_vm._v(_vm._s(_vm.mWebHookLog.SendMethod))])]),_c('tr',[_c('td',[_vm._v(_vm._s(_vm.$t(`Components.Services.WebHook.TableListLabels.Url_Label`)))]),_c('td',{staticClass:\"has-word-break\"},[_vm._v(\" \"+_vm._s(_vm.mWebHookLog.Url)+\" \")])])])])]),_c('div',{staticClass:\"column is-half\"},[_c('h1',{staticClass:\"title\"},[_vm._v(\" \"+_vm._s(_vm.$t('Components.Services.WebHook.TableListLabels.Headers_Label'))+\" \")]),_c('table',{staticClass:\"table is-fullwidth\"},[(_vm.mWebHookLog.Headers.length)?_c('thead',[_c('tr',[_c('th',[_vm._v(\" \"+_vm._s(_vm.$t(`Components.Services.WebHook.Headers.HeaderName_Label`))+\" \")]),_c('th',[_vm._v(\" \"+_vm._s(_vm.$t(`Components.Services.WebHook.Headers.HeaderValue_Label`))+\" \")])])]):_vm._e(),_c('tbody',[(!_vm.mWebHookLog.Headers.length)?_c('tr',[_c('td',{staticClass:\"px-0\",attrs:{\"colspan\":\"2\"}},[_vm._v(\" \"+_vm._s(_vm.$t(`Components.Services.WebHook.Headers.NoHeadersSet_Message`))+\" \")])]):_vm._e(),_vm._l((_vm.mWebHookLog.Headers),function(header,index){return _c('tr',{key:index},[_c('td',[_vm._v(_vm._s(header.HeaderName))]),_c('td',[_vm._v(_vm._s(header.HeaderValue))])])})],2)])])]),_c('div',{staticClass:\"mb-6\"},[_c('div',{staticClass:\"title is-flex is-align-items-center\"},[_c('span',{staticClass:\"mr-2\"},[_vm._v(_vm._s(_vm.$t('Components.Services.WebHook.Delivery.Legend_Delivery')))]),(_vm.deliverySummary.canRetry)?_c('a',{staticClass:\"button is-ghost has-icon\",attrs:{\"disabled\":_vm.isRetrying},on:{\"click\":_vm.retryDelivery}},[_c('span',{staticClass:\"icon is-small\",class:{'is-loading': _vm.isRetrying}},[_c('font-awesome-icon',{attrs:{\"icon\":['fas', 'redo']}})],1),_c('span',[_vm._v(_vm._s(_vm.$t('Components.Services.WebHook.Delivery.Button_Retry')))])]):_vm._e()]),_c('WebHookDeliveryTag',{attrs:{\"webHookLog\":_vm.mWebHookLog}}),_c('p',{staticClass:\"is-size-7 has-text-grey mt-2\"},[_vm._v(\" \"+_vm._s(_vm.deliverySummary.isDurable ? _vm.$t('Components.Services.WebHook.Delivery.Text_RetryPolicy') : _vm.$t('Components.Services.WebHook.Delivery.Text_LegacyDelivery'))+\" \")]),_c('transition-expand',[(_vm.retryResponseStatus)?_c('Message',{key:_vm.retryResponseStatus,class:{'is-success': _vm.retryResponseStatus === 'Success', 'is-danger': _vm.retryResponseStatus !== 'Success'},scopedSlots:_vm._u([{key:\"content\",fn:function(){return [_vm._v(\" \"+_vm._s(_vm.retryBannerText)+\" \")]},proxy:true}],null,false,3659016216)}):_vm._e()],1)],1),_c('div',{staticClass:\"mb-6\"},[_c('div',{staticClass:\"title is-flex is-align-items-center\"},[_c('span',{staticClass:\"mr-2\"},[_vm._v(_vm._s(_vm.$t('Components.Services.WebHook.Common.Response')))]),_c('a',{staticClass:\"button is-ghost has-icon\",attrs:{\"disabled\":_vm.isSendingWebHook},on:{\"click\":_vm.resendWebHook}},[_c('span',{staticClass:\"icon is-small\",class:{'is-loading': _vm.isSendingWebHook}},[_c('font-awesome-icon',{attrs:{\"icon\":['fas', 'paper-plane']}})],1),_c('span',[_vm._v(_vm._s(_vm.$t('Form.Control.Resend')))])])]),_c('p',{staticClass:\"is-size-7 has-text-grey mb-2\"},[_vm._v(_vm._s(_vm.$t('Components.Services.WebHook.Delivery.Text_ResendHint')))]),_c('transition-expand',[(_vm.resendResponseStatus === 'Success' || _vm.resendResponseStatus === 'Failed')?_c('Message',{key:_vm.resendResponseStatus,class:{'is-success': _vm.resendResponseStatus === 'Success', 'is-danger': _vm.resendResponseStatus === 'Failed'},scopedSlots:_vm._u([{key:\"content\",fn:function(){return [_vm._v(\" \"+_vm._s(_vm.resendResponseStatus === 'Success' ? _vm.$t('Components.Services.WebHook.ResendWebHook.Success') : _vm.$t('Components.Services.WebHook.ResendWebHook.Failed'))+\" \")]},proxy:true}],null,false,2541776350)}):_vm._e()],1),_c('table',{staticClass:\"table is-fullwidth\"},[_c('thead',[_c('tr',[_c('th',[_vm._v(\" \"+_vm._s(_vm.$t( `Components.Services.WebHook.TableListLabels.CreatedOn_Label` ))+\" \")]),_c('th',[_vm._v(\" \"+_vm._s(_vm.$t( `Components.Services.WebHook.TableListLabels.StatusCode_Label` ))+\" \")]),_c('th',[_vm._v(\" \"+_vm._s(_vm.$t(`Components.Services.WebHook.TableListLabels.Message_Label`))+\" \")]),_c('th')])]),_c('tbody',[_c('tr',[_c('td',[_vm._v(\" \"+_vm._s(_vm.transformDateToHtml())+\" \")]),_c('td',[_vm._v(_vm._s(_vm.mWebHookLog.StatusCode))]),_c('td',[_vm._v(_vm._s(_vm.mWebHookLog.Message))])])])])],1),_c('div',{staticClass:\"body-response\"},[_c('div',{staticClass:\"title is-flex is-align-items-center\"},[_c('span',{staticClass:\"mr-2\"},[_vm._v(\" \"+_vm._s(_vm.$t(`Components.Services.WebHook.TableListLabels.Body_Label`))+\" \")]),_c('a',{staticClass:\"button is-ghost has-icon\",attrs:{\"disabled\":_vm.isCopyingBody},on:{\"click\":_vm.copyBody}},[_c('span',{staticClass:\"icon is-small\"},[_c('font-awesome-icon',{attrs:{\"icon\":['fas', 'copy']}})],1),_c('span',[_vm._v(_vm._s(_vm.$t(`Form.Control.Copy`)))])])]),_c('pre',{staticClass:\"jsonViewer\"},[_c('code',[_vm._v(_vm._s(_vm.mWebHookLog.Body))])])])])]},proxy:true}],null,false,1982905854)}):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('span',{staticClass:\"tag\",class:_vm.tagClass},[_vm._v(_vm._s(_vm.$t(`Components.Services.WebHook.Delivery.State_${_vm.summary.state}`)))]),(_vm.attemptsText)?_c('p',{staticClass:\"is-size-7 has-text-grey\"},[_vm._v(_vm._s(_vm.attemptsText))]):_vm._e(),(_vm.summary.retryPending && _vm.showNextAttempt)?_c('p',{staticClass:\"is-size-7 has-text-grey\"},[_vm._v(_vm._s(_vm.nextAttemptText))]):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/**\n * Pure summary of a webhook log row's durable-delivery state, consumed by\n * `WebHookDeliveryTag` and the log list/details views. Rules:\n * - `Succeeded` -> Delivered / success, attempts = AttemptCount.\n * - `Processing` -> Sending / info.\n * - `Pending` with `AttemptCount === 0` -> Queued / neutral (never yet attempted).\n * - `Pending` with `AttemptCount > 0` -> RetryScheduled / warning, retryPending\n *   true, nextAttemptOn = the row's NextAttemptOn or null (an automatic retry\n *   is still queued for it).\n * - `Failed` -> Failed / error, canRetry = WebHookId > 0 (a saved subscription\n *   backs the row - the manual retry route needs one).\n * - `Legacy`, undefined, or any other value -> Legacy / isDurable false,\n *   attempts 0, tone success when 200 <= StatusCode <= 299, error otherwise\n *   (the pre-retry format never carries attempt/retry data).\n * Missing numeric fields are treated as 0.\n *\n * Also exports `unwrapWebHookBody`, which undoes the JSON-string encoding\n * legacy log rows use for their Body: a durable row carries a raw JSON body\n * (starts with `{`), a legacy row carries that JSON encoded again as a\n * string (starts and ends with `\"`). Only the latter is unwrapped.\n */\n\nexport const MAX_AUTOMATIC_ATTEMPTS = 4\n\nfunction baseSummary() {\n  return {\n    attempts: 0,\n    maxAutomaticAttempts: MAX_AUTOMATIC_ATTEMPTS,\n    retryPending: false,\n    nextAttemptOn: null,\n    canRetry: false,\n    isDurable: true\n  }\n}\n\nexport function summarizeWebHookDelivery(log) {\n  const attempts = log.AttemptCount || 0\n  const webHookId = log.WebHookId || 0\n  const statusCode = log.StatusCode || 0\n\n  switch (log.DeliveryState) {\n    case 'Succeeded':\n      return { ...baseSummary(), state: 'Delivered', tone: 'success', attempts }\n\n    case 'Processing':\n      return { ...baseSummary(), state: 'Sending', tone: 'info', attempts }\n\n    case 'Pending':\n      return attempts > 0\n        ? { ...baseSummary(), state: 'RetryScheduled', tone: 'warning', attempts, retryPending: true, nextAttemptOn: log.NextAttemptOn || null }\n        : { ...baseSummary(), state: 'Queued', tone: 'neutral', attempts }\n\n    case 'Failed':\n      return { ...baseSummary(), state: 'Failed', tone: 'error', attempts, canRetry: webHookId > 0 }\n\n    // Legacy, undefined, or any other value - the pre-retry format never carries attempt/retry data.\n    default:\n      return {\n        ...baseSummary(),\n        state: 'Legacy',\n        tone: statusCode >= 200 && statusCode <= 299 ? 'success' : 'error',\n        attempts: 0,\n        isDurable: false\n      }\n  }\n}\n\nexport function unwrapWebHookBody(body) {\n  if (typeof body === 'string') {\n    const trimmed = body.trim()\n    if (trimmed.startsWith('\"') && trimmed.endsWith('\"')) {\n      try {\n        const parsed = JSON.parse(trimmed)\n        if (typeof parsed === 'string') {\n          return parsed\n        }\n      }\n      catch (error) {\n        // not valid JSON - fall through and return the body unchanged\n      }\n    }\n  }\n  return body\n}\n","<template>\n  <div>\n    <span\n      class=\"tag\"\n      :class=\"tagClass\"\n    >{{ $t(`Components.Services.WebHook.Delivery.State_${summary.state}`) }}</span>\n    <p\n      v-if=\"attemptsText\"\n      class=\"is-size-7 has-text-grey\"\n    >{{ attemptsText }}</p>\n    <p\n      v-if=\"summary.retryPending && showNextAttempt\"\n      class=\"is-size-7 has-text-grey\"\n    >{{ nextAttemptText }}</p>\n  </div>\n</template>\n\n<script>\n/**\n * Small durable-delivery status readout for a webhook log row: a Bulma tag\n * for the delivery state plus a muted attempts / next-attempt line. Reused\n * by WebHookLogListViewer (table cell) and DrawerWebHookLogDetails.\n * Purely presentational - summarizeWebHookDelivery (utils/webHookDelivery)\n * does the state -> tone/label mapping.\n */\nimport { summarizeWebHookDelivery } from '@/utils/webHookDelivery'\nimport { format } from 'date-fns'\n\nexport default {\n  name: 'WebHookDeliveryTag',\n\n  props: {\n    webHookLog: {\n      type: Object,\n      required: true\n    },\n    showNextAttempt: {\n      type: Boolean,\n      default: true\n    }\n  },\n\n  computed: {\n    summary() {\n      return summarizeWebHookDelivery(this.webHookLog)\n    },\n\n    tagClass() {\n      const toneClasses = {\n        success: 'is-success',\n        warning: 'is-warning',\n        error: 'is-danger',\n        info: 'is-info',\n        neutral: 'is-light'\n      }\n      return toneClasses[this.summary.tone]\n    },\n\n    attemptsText() {\n      if (this.summary.state === 'Sending' || this.summary.state === 'RetryScheduled' || (this.summary.state === 'Queued' && this.summary.attempts > 0)) {\n        return this.$t('Components.Services.WebHook.Delivery.Text_AttemptOf', { count: this.summary.attempts, max: this.summary.maxAutomaticAttempts })\n      }\n      if (this.summary.state === 'Delivered' || this.summary.state === 'Failed') {\n        return this.$t('Components.Services.WebHook.Delivery.Text_Attempts', { count: this.summary.attempts })\n      }\n      return ''\n    },\n\n    nextAttemptText() {\n      const baseDate = new Date(this.summary.nextAttemptOn + 'Z')\n      const date = format(baseDate, 'dd-MM-yyyy')\n      const time = format(baseDate, 'HH:mm')\n      return this.$t('Components.Services.WebHook.Delivery.Text_NextAttempt', { date, time })\n    }\n  }\n}\n</script>\n\n<style lang=\"scss\" scoped></style>\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WebHookDeliveryTag.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WebHookDeliveryTag.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./WebHookDeliveryTag.vue?vue&type=template&id=564fe483&scoped=true\"\nimport script from \"./WebHookDeliveryTag.vue?vue&type=script&lang=js\"\nexport * from \"./WebHookDeliveryTag.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"564fe483\",\n  null\n  \n)\n\nexport default component.exports","<template>\n  <ui-component-drawer\n    v-if=\"showSideDrawer\"\n    :drawerTitle=\"\n      $t('Components.Services.WebHook.LogsViewer.View_ModalWebHookLog_Title')\n    \"\n    :showDrawer=\"showSideDrawer\"\n    :onClickClose=\"hideDrawer\"\n    drawerSize=\"extra-large\"\n    position=\"right\"\n  >\n    <template #content>\n      <!-- <Loader v-if=\"isLoading\" /> -->\n      <div>\n        <div class=\"columns is-multiline mb-6\">\n          <div class=\"column is-half\">\n            <h1 class=\"title\">{{ $t('Components.Services.WebHook.Common.Request') }}</h1>\n\n            <table class=\"table is-fullwidth\">\n              <tbody>\n                <tr>\n                  <td>{{ $t(`Components.Services.WebHook.TableListLabels.ItemId_Label`) }}</td>\n                  <td>{{mWebHookLog.ItemId}}</td>\n                </tr>\n                <tr>\n                  <td>{{\n                  $t(`Components.Services.WebHook.TableListLabels.Type_Label`)\n                }}</td>\n                  <td>{{ $t(`General.Entities.${mWebHookLog.Type}`) }}</td>\n                </tr>\n                <tr>\n                  <td>{{\n                  $t(`Components.Services.WebHook.TableListLabels.Action_Label`)\n                }}</td>\n                  <td>\n                    {{ $t(`General.WebHookEventTypes.${mWebHookLog.Action}_Action`) }}\n                  </td>\n                </tr>\n                <tr>\n                  <td>{{\n                  $t(`Components.Services.WebHook.TableListLabels.Verb_Label`)\n                }}</td>\n                  <td>{{ mWebHookLog.SendMethod }}</td>\n                </tr>\n                <tr>\n                  <td>{{\n                  $t(`Components.Services.WebHook.TableListLabels.Url_Label`)\n                }}</td>\n                  <td class=\"has-word-break\">\n                    {{ mWebHookLog.Url }}\n                  </td>\n                </tr>\n              </tbody>\n            </table>\n          </div>\n          <div class=\"column is-half\">\n            <h1 class=\"title\">\n              {{\n              $t('Components.Services.WebHook.TableListLabels.Headers_Label')\n            }}\n            </h1>\n            <table class=\"table is-fullwidth\">\n              <thead v-if=\"mWebHookLog.Headers.length\">\n                <tr>\n                  <th>\n                    {{\n                    $t(`Components.Services.WebHook.Headers.HeaderName_Label`)\n                  }}\n                  </th>\n                  <th>\n                    {{\n                    $t(`Components.Services.WebHook.Headers.HeaderValue_Label`)\n                  }}\n                  </th>\n                </tr>\n              </thead>\n              <tbody>\n                <tr v-if=\"!mWebHookLog.Headers.length\">\n                  <td\n                    colspan=\"2\"\n                    class=\"px-0\"\n                  >\n                    {{ $t(`Components.Services.WebHook.Headers.NoHeadersSet_Message`) }}\n                  </td>\n                </tr>\n                <tr\n                  v-for=\"(header, index) in mWebHookLog.Headers\"\n                  :key=\"index\"\n                >\n                  <td>{{ header.HeaderName }}</td>\n                  <td>{{ header.HeaderValue }}</td>\n                </tr>\n              </tbody>\n            </table>\n          </div>\n        </div>\n\n        <div class=\"mb-6\">\n          <div class=\"title is-flex is-align-items-center\">\n            <span class=\"mr-2\">{{ $t('Components.Services.WebHook.Delivery.Legend_Delivery') }}</span>\n            <a\n              v-if=\"deliverySummary.canRetry\"\n              @click=\"retryDelivery\"\n              class=\"button is-ghost has-icon\"\n              :disabled=\"isRetrying\"\n            >\n              <span\n                class=\"icon is-small\"\n                :class=\"{'is-loading': isRetrying}\"\n              >\n                <font-awesome-icon :icon=\"['fas', 'redo']\" />\n              </span>\n              <span>{{ $t('Components.Services.WebHook.Delivery.Button_Retry') }}</span>\n            </a>\n          </div>\n          <WebHookDeliveryTag :webHookLog=\"mWebHookLog\" />\n          <p class=\"is-size-7 has-text-grey mt-2\">\n            {{ deliverySummary.isDurable ? $t('Components.Services.WebHook.Delivery.Text_RetryPolicy') : $t('Components.Services.WebHook.Delivery.Text_LegacyDelivery') }}\n          </p>\n          <transition-expand>\n            <Message\n              :key=\"retryResponseStatus\"\n              v-if=\"retryResponseStatus\"\n              :class=\"{'is-success': retryResponseStatus === 'Success', 'is-danger': retryResponseStatus !== 'Success'}\"\n            >\n              <template #content>\n                {{ retryBannerText }}\n              </template>\n            </Message>\n          </transition-expand>\n        </div>\n\n        <div class=\"mb-6\">\n          <div class=\"title is-flex is-align-items-center\">\n            <span class=\"mr-2\">{{ $t('Components.Services.WebHook.Common.Response') }}</span>\n            <a\n              @click=\"resendWebHook\"\n              class=\"button is-ghost has-icon\"\n              :disabled=\"isSendingWebHook\"\n            >\n              <span\n                class=\"icon is-small\"\n                :class=\"{'is-loading': isSendingWebHook}\"\n              >\n                <font-awesome-icon :icon=\"['fas', 'paper-plane']\" />\n              </span>\n              <span>{{ $t('Form.Control.Resend') }}</span>\n            </a>\n          </div>\n          <p class=\"is-size-7 has-text-grey mb-2\">{{ $t('Components.Services.WebHook.Delivery.Text_ResendHint') }}</p>\n          <transition-expand>\n            <Message\n              :key=\"resendResponseStatus\"\n              v-if=\"resendResponseStatus === 'Success' || resendResponseStatus === 'Failed'\"\n              :class=\"{'is-success': resendResponseStatus === 'Success', 'is-danger': resendResponseStatus === 'Failed'}\"\n            >\n              <template #content>\n                {{ resendResponseStatus === 'Success' ? $t('Components.Services.WebHook.ResendWebHook.Success') : $t('Components.Services.WebHook.ResendWebHook.Failed')}}\n              </template>\n            </Message>\n          </transition-expand>\n          <table class=\"table is-fullwidth\">\n            <thead>\n              <tr>\n                <th>\n                  {{\n                $t(\n                  `Components.Services.WebHook.TableListLabels.CreatedOn_Label`\n                )\n              }}\n                </th>\n                <th>\n                  {{\n                $t(\n                  `Components.Services.WebHook.TableListLabels.StatusCode_Label`\n                )\n              }}\n                </th>\n                <th>\n                  {{\n                $t(`Components.Services.WebHook.TableListLabels.Message_Label`)\n              }}\n                </th>\n                <th></th>\n              </tr>\n            </thead>\n            <tbody>\n              <tr>\n                <td>\n                  {{transformDateToHtml()}}\n                </td>\n                <td>{{ mWebHookLog.StatusCode }}</td>\n                <td>{{ mWebHookLog.Message }}</td>\n              </tr>\n            </tbody>\n          </table>\n        </div>\n\n        <div class=\"body-response\">\n          <div class=\"title is-flex is-align-items-center\">\n            <span class=\"mr-2\">\n              {{ $t(`Components.Services.WebHook.TableListLabels.Body_Label`) }}\n            </span>\n            <a\n              @click=\"copyBody\"\n              class=\"button is-ghost has-icon\"\n              :disabled=\"isCopyingBody\"\n            >\n              <span class=\"icon is-small\">\n                <font-awesome-icon :icon=\"['fas', 'copy']\" />\n              </span>\n              <span>{{ $t(`Form.Control.Copy`) }}</span>\n            </a>\n          </div>\n          <pre class=\"jsonViewer\"><code>{{ mWebHookLog.Body }}</code></pre>\n        </div>\n      </div>\n    </template>\n  </ui-component-drawer>\n</template>\n\n<script>\nimport webHookProvider from '@/providers/webHook'\nimport { mapState } from 'vuex'\nimport Message from '@/components/UI/Message.vue'\nimport TransitionExpand from '@/components/UI/TransitionExpand.vue'\nimport WebHookDeliveryTag from './WebHookDeliveryTag.vue'\nimport { cleanSource } from '@/utils/objectHelper';\nimport { EventBus } from '@/eventbus/event-bus'\nimport { summarizeWebHookDelivery, unwrapWebHookBody } from '@/utils/webHookDelivery'\nimport { format } from \"date-fns\"\n\nexport default {\n  name: 'DrawerWebHookLogDetails',\n\n  components: {\n    Message,\n    TransitionExpand,\n    WebHookDeliveryTag\n  },\n\n  props: {\n    showSideDrawer: {\n      type: Boolean,\n      default: false,\n    },\n    onClickClose: {\n      type: Function,\n      default: function() { },\n      required: false,\n    },\n    webHookLog: {\n      type: Object,\n      required: true,\n    },\n    getLogs: {\n      type: Function,\n      required: true,\n    }\n  },\n\n  data() {\n    return {\n      isSendingWebHook: false,\n      isCopyingBody: false,\n      isRetrying: false,\n\n      mWebHookLog: null,\n      resendResponseStatus: '',\n      resendTimeout: null,\n      retryResponseStatus: '',\n      retryTimeout: null\n    }\n  },\n\n  created() {\n    this.mWebHookLog = cleanSource(this.webHookLog);\n  },\n\n  beforeDestroy() {\n    this.retryTimeout && clearTimeout(this.retryTimeout)\n  },\n\n  computed: {\n    ...mapState('locationStore', ['locationState']),\n\n    deliverySummary() {\n      return summarizeWebHookDelivery(this.mWebHookLog)\n    },\n\n    retryBannerText() {\n      if (this.retryResponseStatus === 'Success') {\n        return this.$t('Components.Services.WebHook.Delivery.Banner_RetrySuccess')\n      }\n      if (this.retryResponseStatus === 'Failed') {\n        return this.$t('Components.Services.WebHook.Delivery.Banner_RetryFailed')\n      }\n      if (this.retryResponseStatus === 'Unavailable') {\n        return this.$t('Components.Services.WebHook.Delivery.Banner_RetryUnavailable')\n      }\n      return ''\n    },\n  },\n\n  methods: {\n    hideDrawer() {\n      this.onClickClose()\n    },\n    copyBody() {\n      if (this.isCopyingBody) return;\n\n      this.isCopyingBody = true\n      EventBus.$emit('showToast', {\n        type: 'info',\n        message: this.$t(`Components.Services.WebHook.LogsViewer.CopiedBody`),\n      })\n      navigator.clipboard.writeText(this.mWebHookLog.Body)\n\n      this.resendTimeout && clearTimeout(this.resendTimeout)\n      this.resendTimeout = setTimeout(() => {\n        this.isCopyingBody = false\n        clearTimeout(this.resendTimeout)\n      }, 1500)\n    },\n    transformDateToHtml() {\n      const baseDate = new Date(this.mWebHookLog.CreatedOn + \"Z\");\n      return format(baseDate, 'dd-MM-yyyy HH:mm')\n    },\n    resendWebHook() {\n      if (this.isSendingWebHook) { return }\n\n      this.isSendingWebHook = true\n      const testWebHook = {\n        ...this.mWebHookLog,\n        LocationId: this.locationState.Id,\n      }\n\n      webHookProvider.methods\n        .sendWebHook(testWebHook)\n        .then(async (response) => {\n          this.resendResponseStatus = 'Success'\n\n          await this.getLogs();\n          response.data.Body = unwrapWebHookBody(response.data.Body)\n          this.mWebHookLog = response.data\n        })\n        .catch(() => {\n          this.resendResponseStatus = 'Failed'\n        })\n        .finally(() => {\n          let t = setTimeout(() => {\n            this.isSendingWebHook = false\n            this.resendResponseStatus = ''\n            clearTimeout(t)\n          }, 2000)\n        })\n    },\n    retryDelivery() {\n      if (this.isRetrying) { return }\n      this.isRetrying = true\n      webHookProvider.methods\n        .retryDelivery(this.mWebHookLog.Id)\n        .then(async (response) => {\n          const log = response.data\n          log.Body = unwrapWebHookBody(log.Body)\n          this.mWebHookLog = log\n          this.retryResponseStatus = log.DeliveryState === 'Succeeded' ? 'Success' : 'Failed'\n          await this.getLogs()\n        })\n        .catch(() => {\n          this.retryResponseStatus = 'Unavailable'\n        })\n        .finally(() => {\n          this.isRetrying = false\n          this.retryTimeout && clearTimeout(this.retryTimeout)\n          this.retryTimeout = setTimeout(() => {\n            this.retryResponseStatus = ''\n          }, 4000)\n        })\n    },\n  },\n}\n</script>\n\n<style scoped>\n.jsonViewer {\n  overflow-y: scroll;\n  height: 250px;\n  border: 0.5px solid lightgray;\n  padding: 5px;\n  white-space: pre-wrap;\n}\n</style>\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DrawerWebHookLogDetails.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DrawerWebHookLogDetails.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./DrawerWebHookLogDetails.vue?vue&type=template&id=6443bf62&scoped=true\"\nimport script from \"./DrawerWebHookLogDetails.vue?vue&type=script&lang=js\"\nexport * from \"./DrawerWebHookLogDetails.vue?vue&type=script&lang=js\"\nimport style0 from \"./DrawerWebHookLogDetails.vue?vue&type=style&index=0&id=6443bf62&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"6443bf62\",\n  null\n  \n)\n\nexport default component.exports","<template>\n  <div class=\"\">\n    <DrawerWebHookLogDetails\n      v-if=\"drawer.type === 'LogDetail'\"\n      :showSideDrawer=\"drawer.type === 'LogDetail'\"\n      :onClickClose=\"hideDrawer\"\n      :webHookLog=\"drawer.data\"\n      :getLogs=\"getLogs\"\n    />\n    <h2 class=\"title is-3\">\n      {{ $t('Components.Services.WebHook.LogsViewer.Main_Title') }}\n    </h2>\n    <div\n      class=\"filter-column mb-6\"\n      v-if=\"loadingStatus!=='Failed'\"\n    >\n      <ui-search-form\n        dateMode=\"range\"\n        :searchTermPlaceholder=\"\n          $t('Components.Services.WebHook.LogsViewer.Placeholder_Search')\n        \"\n        :isLoading=\"isSearching\"\n        :startDate=\"searchState.startDate\"\n        :endDate=\"searchState.endDate\"\n        :selectedStatusId=\"searchState.selectedEntityId\"\n        :statusOptions=\"entityOptions\"\n        :actionSearch=\"searchLogs\"\n      />\n    </div>\n    <Loader v-if=\"loadingStatus === '' || isSearching\" />\n    <div v-else-if=\"loadingStatus==='Success'\">\n      <table\n        v-if=\"logs.length > 0\"\n        class=\"table is-fullwidth is-striped is-hoverable\"\n      >\n        <thead>\n          <tr>\n            <th\n              v-for=\"(key, index) in visibleLogKeys\"\n              :key=\"key\"\n            >\n              <a @click=\"sortByIndex(index)\">\n                {{\n                $t(`Components.Services.WebHook.TableListLabels.${key}_Label`)\n              }}\n                <span\n                  class=\"icon\"\n                  v-if=\"sortBy.keyIndex === index\"\n                >\n                  <font-awesome-icon\n                    v-if=\"sortBy.direction.startsWith('ASC')\"\n                    :icon=\"['fas', 'chevron-up']\"\n                  />\n                  <font-awesome-icon\n                    v-if=\"sortBy.direction.startsWith('DESC')\"\n                    :icon=\"['fas', 'chevron-down']\"\n                  />\n                </span>\n              </a>\n            </th>\n            <th></th>\n          </tr>\n        </thead>\n        <tbody>\n          <tr\n            v-for=\"(log, index) in logs\"\n            :key=\"index\"\n          >\n            <td v-html=\"transformDateToHtml(log.CreatedOn)\">\n            </td>\n            <td>\n              {{ log.ItemId }}\n            </td>\n            <td>\n              {{ $t(`General.Entities.${log.Type}`) }}\n            </td>\n            <td>\n              {{ $t(`General.WebHookEventTypes.${log.Action}_Action`) }}\n            </td>\n            <td>\n              {{ log.SendMethod }}\n            </td>\n            <td class=\"has-word-break\">\n              {{ log.Url }}\n            </td>\n            <td>\n              {{ log.StatusCode }}\n            </td>\n            <td>\n              <WebHookDeliveryTag :webHookLog=\"log\" />\n            </td>\n            <td>\n              <a\n                @click=\"setShowDrawerType('LogDetail', log)\"\n                :data-tooltip=\"`${$t(\n                'Components.Services.WebHook.LogsViewer.ViewDetails_Button'\n              )}`\"\n              >\n                <span class=\"icon\">\n                  <font-awesome-icon :icon=\"['fas', 'info-circle']\" />\n                </span>\n              </a>\n            </td>\n          </tr>\n        </tbody>\n      </table>\n      <p v-else>\n        {{ $t('Components.Services.WebHook.Common.NoLogsFound') }}\n      </p>\n\n      <Pagination\n        v-if=\"\n        !isSearching && (pagination.morePages > 0 || pagination.current > 1)\n      \"\n        :currentPage=\"pagination.current\"\n        :morePages=\"pagination.morePages\"\n        @pageSelected=\"pageSelected\"\n      />\n    </div>\n    <div v-else>\n      <Message\n        key=\"Fail\"\n        class=\"is-danger\"\n      >\n        <template #content>\n          {{ $t('Components.Services.WebHook.Common.WebHookLogsApiError') }}\n        </template>\n      </Message>\n    </div>\n  </div>\n</template>\n\n<script>\nimport { mapState } from 'vuex'\nimport webHookProvider from '@/providers/webHook'\nimport Loader from '@/components/UI/Loader.vue'\nimport DrawerWebHookLogDetails from './DrawerWebHookLogDetails.vue'\nimport WebHookDeliveryTag from './WebHookDeliveryTag.vue'\nimport BaseWebHookController from '@/components/Services/WebHook/BaseWebHookController.vue'\nimport Message from '@/components/UI/Message.vue'\nimport { unwrapWebHookBody } from '@/utils/webHookDelivery'\nimport { format } from \"date-fns\"\n\nexport default {\n  extends: BaseWebHookController,\n\n  components: {\n    Pagination: () => import('@/components/UI/Pagination'),\n    DrawerWebHookLogDetails,\n    WebHookDeliveryTag,\n    Loader,\n    Message,\n  },\n\n  props: {},\n\n  data() {\n    return {\n      logs: [],\n      visibleLogKeys: [],\n\n      sortBy: {\n        direction: 'DESC',\n        keyIndex: 0,\n      },\n      pagination: {\n        current: 1,\n        morePages: 0,\n        itemsPerPage: 50,\n      },\n\n      searchState: {\n        searchTerm: '',\n        startDate: null,\n        endDate: null,\n        selectedEntityId: 0,\n        selectedEntityKey: '',\n      },\n\n      loadingStatus: '',\n      isSearching: false,\n      showModal: false,\n      drawer: {\n        type: '',\n        data: null,\n      },\n    }\n  },\n\n  computed: {\n    ...mapState('locationStore', ['locationState']),\n\n    entityOptions() {\n      const options = []\n      this.whitelistedEntityTypes.forEach((option, index) => {\n        options.push({\n          id: index,\n          text: this.$t(`General.Entities.${option}`),\n        })\n      })\n      return options\n    },\n  },\n\n  created() {\n    let currentDate = new Date()\n    this.searchState.startDate = new Date(\n      currentDate.getFullYear(),\n      0,\n      1,\n      currentDate.getHours(),\n      currentDate.getMinutes()\n    )\n    this.searchState.endDate = new Date(\n      currentDate.getFullYear(),\n      11,\n      31,\n      currentDate.getHours(),\n      currentDate.getMinutes()\n    )\n    this.searchState.selectedEntityId = 0\n    this.searchState.selectedEntityKey = ''\n\n    let entityTypeKeysUnWatch = this.$watch('entityTypeKeys', function(arrValue) {\n      if (arrValue.length === 0) { return false }\n      this.getLogs()\n      if (entityTypeKeysUnWatch) {\n        entityTypeKeysUnWatch()\n      }\n    },\n      {\n        immediate: true,\n      }\n    )\n  },\n\n  methods: {\n    // durable rows carry raw JSON; only a JSON-encoded string is unwrapped\n    transformBody(body) {\n      return unwrapWebHookBody(body)\n    },\n\n    getLogs() {\n      this.isSearching = true\n      this.loadingStatus = ''\n\n      webHookProvider.methods.getLogs(\n        this.locationState.Id,\n        this.searchState.startDate,\n        this.searchState.endDate,\n        this.searchState.searchTerm,\n        this.searchState.selectedEntityKey,\n        this.pagination.current,\n        this.pagination.itemsPerPage,\n        this.sortBy.direction,\n        this.visibleLogKeys[this.sortBy.keyIndex]\n      ).then((response) => {\n        response.data.logs.forEach((log) => {\n          log.Body = this.transformBody(log.Body)\n        })\n\n        this.pagination.morePages = response.data.morePages\n        this.logs = response.data.logs\n\n        if (this.logs.length > 0) {\n          const whiteListedObjectKeys = [\n            'CreatedOn',\n            'ItemId',\n            'Type',\n            'Action',\n            'SendMethod',\n            'Url',\n            'StatusCode',\n            'DeliveryState',\n          ]\n\n          this.visibleLogKeys = Object.keys(this.logs[0])\n            .filter((key) => whiteListedObjectKeys.includes(key))\n            .sort((a, b) => {\n              return whiteListedObjectKeys.indexOf(a) - whiteListedObjectKeys.indexOf(b)\n            })\n        }\n\n        this.loadingStatus = 'Success'\n      }).catch(() => {\n        this.loadingStatus = 'Failed'\n      }).finally(() => {\n        this.isSearching = false\n      })\n    },\n\n    sortByIndex(keyIndex) {\n      if (this.sortBy.keyIndex === keyIndex) {\n        if (this.sortBy.direction === 'ASC') {\n          this.sortBy.direction = 'DESC'\n        } else if (this.sortBy.direction === 'DESC') {\n          this.sortBy.direction = 'NONE'\n        } else {\n          this.sortBy.direction = 'ASC'\n        }\n      } else {\n        this.sortBy.keyIndex = keyIndex\n        this.sortBy.direction = 'ASC'\n      }\n\n      this.sortBy.keyIndex = keyIndex\n      this.pagination.current = 1\n      this.getLogs()\n    },\n\n    pageSelected(page) {\n      this.logs = []\n      this.pagination.current = page\n\n      this.getLogs()\n    },\n\n    transformDateToHtml(createdOn) {\n      const baseDate = new Date(createdOn + \"Z\");\n      const multiDay = format(baseDate, 'dd-MM-yyyy')\n      const intraDay = format(baseDate, 'HH:mm')\n      return `<p>${multiDay}</p><p>${intraDay}</p>`\n    },\n\n    hideModal() {\n      this.webHookLog = null\n      this.showModal = false\n    },\n\n    setShowWebHookLog(webHookLog) {\n      this.showModal = true\n      this.webHookLog = webHookLog\n    },\n\n    searchLogs(searchQuery) {\n      this.searchState.searchTerm = searchQuery.searchTerm\n      this.searchState.startDate = searchQuery.startDate\n      this.searchState.endDate = searchQuery.endDate\n\n      if (searchQuery.selectedStatusId === 0) {\n        this.searchState.selectedEntityKey = ''\n      } else {\n        this.searchState.selectedEntityKey =\n          this.whitelistedEntityTypes[searchQuery.selectedStatusId]\n      }\n\n      this.getLogs()\n    },\n\n    setShowDrawerType(type = '', data) {\n      this.drawer = {\n        type,\n        data,\n      }\n    },\n    hideDrawer() {\n      this.drawer = {\n        type: '',\n        data: null,\n      }\n    },\n  },\n}\n</script>\n\n<style lang=\"scss\" scoped></style>\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WebHookLogListViewer.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WebHookLogListViewer.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./WebHookLogListViewer.vue?vue&type=template&id=4b2f458a&scoped=true\"\nimport script from \"./WebHookLogListViewer.vue?vue&type=script&lang=js\"\nexport * from \"./WebHookLogListViewer.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"4b2f458a\",\n  null\n  \n)\n\nexport default component.exports","var render, staticRenderFns\nimport script from \"./BaseWebHookController.vue?vue&type=script&lang=js\"\nexport * from \"./BaseWebHookController.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","<script>\nimport webHookProvider from '@/providers/webHook'\n\nexport default {\n  data() {\n    const whitelistedEntityTypes = ['All', 'Invoice', 'Reservation', 'Proposal', 'LeadSource', 'Company', 'Customer', 'ProposalRequest'];\n    const whitelistedSaveEntityTypes = whitelistedEntityTypes.filter((type) => type !== 'All');\n\n    return {\n      whitelistedEntityTypes,\n      whitelistedSaveEntityTypes,\n      entityTypeKeys: [],\n      actionKeys: []\n    }\n  },\n\n  async created() {\n    const enums = await Promise.all([webHookProvider.methods.getActionTypes(), webHookProvider.methods.getEntityTypes()]);\n    this.actionKeys = enums[0]\n    this.entityTypeKeys = enums[1]\n  },\n}\n</script>\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BaseWebHookController.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BaseWebHookController.vue?vue&type=script&lang=js\"","'use strict';\nvar isRegExp = require('../internals/is-regexp');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (it) {\n  if (isRegExp(it)) {\n    throw new $TypeError(\"The method doesn't accept regular expressions\");\n  } return it;\n};\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransitionExpand.vue?vue&type=style&index=1&id=3deb10ec&prod&lang=css\"","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\nvar IS_PURE = require('../internals/is-pure');\n\nvar slice = uncurryThis(''.slice);\nvar min = Math.min;\n\nvar CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('endsWith');\n// https://github.com/zloirock/core-js/pull/702\nvar MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {\n  var descriptor = getOwnPropertyDescriptor(String.prototype, 'endsWith');\n  return descriptor && !descriptor.writable;\n}();\n\n// `String.prototype.endsWith` method\n// https://tc39.es/ecma262/#sec-string.prototype.endswith\n$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {\n  endsWith: function endsWith(searchString /* , endPosition = @length */) {\n    var that = toString(requireObjectCoercible(this));\n    notARegExp(searchString);\n    var endPosition = arguments.length > 1 ? arguments[1] : undefined;\n    var len = that.length;\n    var end = endPosition === undefined ? len : min(toLength(endPosition), len);\n    var search = toString(searchString);\n    return slice(that, end - search.length, end) === search;\n  }\n});\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\nmodule.exports = function (METHOD_NAME) {\n  var regexp = /./;\n  try {\n    '/./'[METHOD_NAME](regexp);\n  } catch (error1) {\n    try {\n      regexp[MATCH] = false;\n      return '/./'[METHOD_NAME](regexp);\n    } catch (error2) { /* empty */ }\n  } return false;\n};\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransitionExpand.vue?vue&type=style&index=0&id=3deb10ec&prod&scoped=true&lang=css\"","import axios from 'axios'\nimport store from '../store'\n\nlet getWebHooksToken = null\nlet getLogsToken = null\n\nconst apiUrl = process.env.VUE_APP_API_BASE_URL + '/api'\nconst apiToken = process.env.VUE_APP_API_KEY\n\nexport default {\n  methods: {\n    async getActionTypes() {\n      const response = await axios.get(`${apiUrl}/v1/webhook/actionTypes`, {\n        headers: {\n          'Content-type': 'application/json',\n          apiToken: apiToken,\n          profileToken: store.getters['profileStore/getProfileToken']\n        }\n      })\n\n      const data = response.data\n      if (response.status === 200) {\n        return data\n      }\n      else {\n        return [\n        ]\n      }\n    },\n\n    async getEntityTypes() {\n      const response = await axios.get(`${apiUrl}/v1/webhook/entityTypes`, {\n        headers: {\n          'Content-type': 'application/json',\n          apiToken: apiToken,\n          profileToken: store.getters['profileStore/getProfileToken']\n        }\n      })\n\n      const data = response.data\n      if (response.status === 200) {\n        data.unshift(\"All\")\n        return data\n      }\n      else {\n        return [\n          \"All\"\n        ]\n      }\n    },\n\n    async getWebHooks(locationId, page, itemsPerPage, direction, key) {\n      getWebHooksToken && getWebHooksToken.cancel()\n      getWebHooksToken = axios.CancelToken.source()\n\n      if (direction === \"NONE\") {\n        direction = undefined;\n        key = undefined;\n      }\n\n      const response = await axios.get(`${apiUrl}/v1/webhook/location/${locationId}`, {\n        params: {\n          page,\n          itemsPerPage,\n          direction,\n          key\n        },\n\n        headers: {\n          'Content-type': 'application/json',\n          apiToken: apiToken,\n          profileToken: store.getters['profileStore/getProfileToken']\n        }\n      })\n\n      if (response.data) {\n        response.data = {\n          webHooks: response.data.Item1,\n          morePages: response.data.Item2\n        }\n      }\n      return response\n    },\n\n    async getLogs(locationId, startDate, endDate, searchTerm, entityKey, page, itemsPerPage, direction, key) {\n      getLogsToken && getLogsToken.cancel()\n      getLogsToken = axios.CancelToken.source()\n\n      if (direction === \"NONE\") {\n        direction = undefined;\n        key = undefined;\n      }\n\n      const response = await axios.get(`${apiUrl}/v1/webhook/log/location/${locationId}`, {\n        params: {\n          q: searchTerm,\n          page,\n          itemsPerPage,\n          entityKey,\n          startDate,\n          endDate,\n          direction,\n          key\n        },\n\n        headers: {\n          'Content-type': 'application/json',\n          apiToken: apiToken,\n          profileToken: store.getters['profileStore/getProfileToken']\n        }\n      })\n\n      if (response.data) {\n        response.data = {\n          logs: response.data.Item1,\n          morePages: response.data.Item2\n        }\n      }\n      return response\n    },\n\n    async saveWebHook(webHook) {\n      const response = await axios.post(`${apiUrl}/v1/webhook`, webHook, {\n        headers: {\n          'Content-type': 'application/json',\n          apiToken: apiToken,\n          profileToken: store.getters['profileStore/getProfileToken']\n        },\n      })\n      return response\n    },\n    async sendWebHook(webHook) {\n      const response = await axios.post(`${apiUrl}/v1/webhook/resend`, webHook, {\n        headers: {\n          'Content-type': 'application/json',\n          apiToken: apiToken,\n          profileToken: store.getters['profileStore/getProfileToken']\n        },\n      })\n      return response\n    },\n    // Manual retry of a Failed durable delivery; the server authorizes against the row's own venue.\n    async retryDelivery(logId) {\n      const response = await axios.post(`${apiUrl}/v2/webhook/log/${logId}/retry`, null, {\n        headers: {\n          'Content-type': 'application/json',\n          apiToken: apiToken,\n          profileToken: store.getters['profileStore/getProfileToken']\n        }\n      })\n      return response\n    },\n\n    async deleteWebHook(webHookId) {\n      const response = await axios.delete(`${apiUrl}/v1/webhook/${webHookId}`, {\n        headers: {\n          'Content-type': 'application/json',\n          apiToken: apiToken,\n          profileToken: store.getters['profileStore/getProfileToken']\n        }\n      })\n      return response\n    }\n  }\n}\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('article',{staticClass:\"message\",class:_vm.combindedClass},[_c('div',{staticClass:\"message-body\"},[(_vm.message)?[_vm._v(\" \"+_vm._s(_vm.message)+\" \")]:_vm._e(),_vm._t(\"content\")],2)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <article\n    class=\"message\"\n    :class=\"combindedClass\"\n  >\n    <div class=\"message-body\">\n      <template v-if=\"message\">\n        {{ message }}\n      </template>\n      <slot name=\"content\"></slot>\n    </div>\n  </article>\n</template>\n\n<script>\nexport default {\n  props: {\n    /**\n     * For what'll be shown inside of the message box.\n     */\n    message: {\n      type: String,\n      default: ''\n    },\n\n    size: {\n      type: String,\n      default: ''\n    },\n\n    /**\n     * type bepaalt het type weergave\n     * eq. is-info = for information style. It defines the style of the message\n     */\n    type: {\n      type: String,\n      default: 'is-info'\n    }\n  },\n  data() {\n    return {};\n  },\n\n  computed: {\n    combindedClass() {\n      let c = this.type;\n\n      if (this.size.length > 0) {\n        c = c + ' ' + this.size;\n      }\n\n      return c;\n    }\n  }\n};\n</script>\n\n<style lang=\"scss\" scoped></style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Message.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Message.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Message.vue?vue&type=template&id=509443f1&scoped=true\"\nimport script from \"./Message.vue?vue&type=script&lang=js\"\nexport * from \"./Message.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"509443f1\",\n  null\n  \n)\n\nexport default component.exports"],"sourceRoot":""}