(window.webpackJsonp=window.webpackJsonp||[]).push([[174],{2197:function(t,e,n){"use strict";n.r(e);var r,o=n(2),l=n(191),c=n(27),d=(n(35),n(47),n(82),n(146)),v=n(193),h={setup:function(t,e){var n=Object(o.J)(!0),h=Object(o.J)([]),m=function(){var t=Object(c.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,$graphql.default.request(Object(v.a)(r||(r=Object(l.a)(["\n      query { widgeSocialGet { id type hashtag text username displayname url timestamp }\n    "]))));case 2:h.value=t.sent.widgeSocialGet,n.value=!1;case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();Object(o.A)((function(){m()}));var f=Object(o.b)((function(){return location.href.includes("popout")}));return{dayjs:d.dayjs,loading:n,items:h,isPopout:f}}},m=h,f=n(46),w=n(44),_=n.n(w),y=n(52),j=n(45),x=n(37),V=n(24),L=n(72),component=Object(f.a)(m,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-card",{staticStyle:{overflow:"inherit"},attrs:{id:"5b90af97-ad95-4776-89e3-9a59c67510e6",width:"100%",height:t.isPopout?"100%":void 0,loading:t.loading,flat:""}},[n("v-slide-y-transition",[0===t.items.length?n("v-card-text",{style:{height:t.height+"px"}},[n("div",{staticClass:"font-weight-light"},[t._v("\n        To fill social widget, you need to add tweet events with hashtags. Then all new posts will be added to this widget.\n      ")])]):t._e()],1),t._v(" "),n("v-slide-y-transition",[t.items.length>0?n("v-card-text",{staticClass:"pa-0",style:{height:t.height+"px",overflow:"auto"}},[n("v-list",t._l(t.items,(function(e){return n("v-list-item",{key:e.id,attrs:{"two-line":""}},[n("v-list-item-action",[n("v-icon",{attrs:{"x-large":"",color:"#08a0e9"}},[t._v("\n              mdi-twitter\n            ")])],1),t._v(" "),n("v-list-item-content",[t._v("\n            "+t._s(e.text)+"\n            "),n("v-list-item-subtitle",[t._v(t._s(e.username)+", "+t._s(t.dayjs(e.timestamp).format("LL"))+" "+t._s(t.dayjs(e.timestamp).format("LTS")))])],1),t._v(" "),n("v-list-item-action",[n("v-btn",{attrs:{href:e.url,icon:"",target:"_blank"}},[n("v-icon",[t._v("mdi-link")])],1)],1)],1)})),1)],1):t._e()],1)],1)}),[],!1,null,null,null);e.default=component.exports;_()(component,{VBtn:y.a,VCard:j.a,VCardText:j.d,VIcon:x.a,VList:V.a,VListItem:V.c,VListItemAction:V.d,VListItemContent:V.f,VListItemSubtitle:V.i,VSlideYTransition:L.i})}}]);