(window.webpackJsonp=window.webpackJsonp||[]).push([[42],{516:function(t,e,n){"use strict";n.r(e);n(32),n(27),n(24),n(9),n(45),n(31),n(46);var c=n(16),r=(n(37),n(20));function o(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function l(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?o(Object(source),!0).forEach((function(e){Object(c.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):o(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var v={name:"EmbedEvent",mixins:[n(158).a],props:{event:{type:Object,default:function(){return{}}}},computed:l(l({},Object(r.c)(["settings"])),{},{code:function(){return"<script src='".concat(this.settings.baseurl,"/gancio-events.es.js'><\/script>\n<gancio-event baseurl='").concat(this.settings.baseurl,"' id=").concat(this.event.id,"></gancio-event>\n\n")}})},m=n(11),component=Object(m.a)(v,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-card",[n("v-card-title",{domProps:{textContent:t._s(t.$t("common.embed_title"))}}),n("v-card-text",[n("v-alert",{staticClass:"mb-3 mt-1",attrs:{type:"info","show-icon":""}},[t._v(t._s(t.$t("common.embed_help")))]),n("v-alert",{staticClass:"pa-5 my-4 blue-grey darken-4 text-body-1 lime--text text--lighten-3"},[n("pre",[t._v(t._s(t.code))]),n("v-btn",{staticClass:"float-end",attrs:{text:"",color:"primary"},on:{click:function(e){return t.clipboard(t.code)}}},[t._v(t._s(t.$t("common.copy"))),n("v-icon",{staticClass:"ml-1"},[t._v("mdi-content-copy")])],1)],1),n("p",{staticClass:"mx-auto"}),n("div",{staticClass:"mx-auto"},[n("gancio-event",{attrs:{id:t.event.id,baseurl:t.settings.baseurl}})],1),n("p")],1),n("v-card-actions",[n("v-spacer"),n("v-btn",{attrs:{text:"",color:"warning"},on:{click:function(e){return t.$emit("close")}}},[t._v(t._s(t.$t("common.cancel")))]),n("v-btn",{attrs:{text:"",color:"primary"},on:{click:function(e){return t.clipboard(t.code)}}},[t._v(t._s(t.$t("common.copy")))])],1)],1)}),[],!1,null,null,null);e.default=component.exports}}]);