(window.webpackJsonp=window.webpackJsonp||[]).push([[293],{2056:function(e,t,n){"use strict";n.r(t);var r=n(2),o=n(1),c=n(27),l=(n(82),n(43),n(32),n(31),n(12),n(10),n(8),n(4),n(14),n(13),n(15),n(147)),v=n.n(l),O=n(56),f=n(776);function d(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,n)}return t}function j(e){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?d(Object(source),!0).forEach((function(t){Object(o.a)(e,t,source[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(source)):d(Object(source)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(source,t))}))}return e}var m={};m.props={value:[Object,Array]},m.setup=function(e,t){var n=e,o=t.emit,l=Object(r.J)(!0),d=Object(r.J)([]),m=function(){var e=Object(c.a)(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v.a.get("/api/registries/alerts",{headers:{authorization:"Bearer ".concat(localStorage.accessToken)}});case 2:t=e.sent,d.value=t.data,l.value=!1,setTimeout((function(){return m()}),5e3);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),y=Object(r.b)((function(){return d.value.map((function(e){return{value:e.id,text:e.name}}))}));Object(r.A)((function(){m()}));var w=Object(r.J)(0),x=Object(r.J)(Object(f.a)(n.value.opts,"alertsRegistry"));return Object(r.Y)(x,(function(e){Object(O.isEqual)(n.value,j(j({},n.value),{},{opts:e}))||o("input",e)}),{deep:!0,immediate:!0}),{loading:l,itemsOptions:y,model:w,options:x}};var y=m,w=n(46),x=n(44),P=n.n(x),h=n(762),E=n(263),component=Object(w.a)(y,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-expansion-panels",{model:{value:e.model,callback:function(t){e.model=t},expression:"model"}},[e._t("default"),e._v(" "),n("v-expansion-panel",{attrs:{readonly:void 0===e.$slots.default}},[n("v-expansion-panel-header",[e._v("Settings")]),e._v(" "),n("v-expansion-panel-content",[n("v-select",{attrs:{loading:e.loading,items:e.itemsOptions,label:"Alert Registry to use"},model:{value:e.options.id,callback:function(t){e.$set(e.options,"id",t)},expression:"options.id"}})],1)],1)],2)}),[],!1,null,null,null);t.default=component.exports;P()(component,{VExpansionPanel:h.a,VExpansionPanelContent:h.b,VExpansionPanelHeader:h.c,VExpansionPanels:h.d,VSelect:E.a})}}]);