v-github-activity
Advanced tools
Comparing version 0.1.1 to 1.0.0
@@ -0,1 +1,10 @@ | ||
### v1.0.0 - Akita | ||
- ๐ฎ Replace octicons with SVG | ||
- ๐ Added docs/ demo and documentation | ||
- ๐ Added `npm run serve` to dev enviroment | ||
- โ Removed `octicon` component | ||
- โ Removed default value on `login` prop | ||
- โ Removed unnecessary `wrapper` | ||
#### v0.1.0 | ||
@@ -2,0 +11,0 @@ |
@@ -1,1 +0,1 @@ | ||
var e=function(e){return fetch("https://api.github.com/users/"+e).then(function(e){return e.json()}).then(function(e){return e}).catch(function(e){return e})},t=function(e){return fetch("https://api.github.com/users/"+e+"/events").then(function(e){return e.json()}).then(function(e){return e}).catch(function(e){return e})},n={name:"github-feed",props:{login:{required:!0}},data:function(){return{user:{},events:[],loading:!1,error:!1}},created:function(){var n=this;e(this.login).then(function(e){n.user=e,t(n.login).then(function(e){n.loading=!1,n.error=!1,n.events=e}).catch(function(e){console.warn(e),n.loading=!1,n.error=!0})}).catch(function(e){console.warn(e),n.loading=!1,n.error=!0})}};var a,s=function(e,t,n,a,s,i,o,r,v,l){"boolean"!=typeof o&&(v=r,r=o,o=!1);var c,d="function"==typeof n?n.options:n;if(e&&e.render&&(d.render=e.render,d.staticRenderFns=e.staticRenderFns,d._compiled=!0,s&&(d.functional=!0)),a&&(d._scopeId=a),i?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,v(e)),e&&e._registeredComponents&&e._registeredComponents.add(i)},d._ssrRegister=c):t&&(c=o?function(){t.call(this,l(this.$root.$options.shadowRoot))}:function(e){t.call(this,r(e))}),c)if(d.functional){var _=d.render;d.render=function(e,t){return c.call(t),_(e,t)}}else{var m=d.beforeCreate;d.beforeCreate=m?[].concat(m,c):[c]}return n},i="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());var o={};var r=s({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"feed"},[n("div",{staticClass:"header-wrapper"},[n("div",{staticClass:"header"},[n("octicon",{staticClass:"github-icon",attrs:{name:"mark-github",scale:"3"}}),e._v(" "),n("a",{staticClass:"github-profile",attrs:{href:e.user.html_url,target:"_blank"}},[n("div",{staticStyle:{"font-size":"26px","line-height":"30px"}},[e._v("\n "+e._s(e.user.name)+"\n ")]),e._v(" "),n("div",{staticClass:"github-username"},[e._v("\n "+e._s(e.user.login)+"\n ")])])],1)]),e._v(" "),n("div",{staticClass:"events-wrapper"},[n("div",{staticClass:"feed-list"},[n("div",{staticClass:"event-list"},e._l(e.events,function(t){return n("div",{key:t.id},["PushEvent"===t.type?n("push-event",{attrs:{event:t}}):e._e(),e._v(" "),"PullRequestEvent"===t.type?n("pull-request-event",{attrs:{event:t}}):e._e(),e._v(" "),"CreateEvent"===t.type?n("create-event",{attrs:{event:t}}):e._e(),e._v(" "),"WatchEvent"===t.type?n("watch-event",{attrs:{event:t}}):e._e(),e._v(" "),"DeleteEvent"===t.type?n("delete-event",{attrs:{event:t}}):e._e(),e._v(" "),"IssuesEvent"===t.type?n("issues-event",{attrs:{event:t}}):e._e(),e._v(" "),"IssueCommentEvent"===t.type?n("issue-comment-event",{attrs:{event:t}}):e._e(),e._v(" "),"ForkEvent"===t.type?n("fork-event",{attrs:{event:t}}):e._e(),e._v(" "),"CommitCommentEvent"===t.type?n("commit-comment-event",{attrs:{event:t}}):e._e(),e._v(" "),"PublicEvent"===t.type?n("public-event",{attrs:{event:t}}):e._e()],1)}),0)])])])},staticRenderFns:[]},function(e){e&&e("data-v-413f8d63_0",{source:".feed{position:relative;display:table;height:500px;min-height:200px;width:100%;min-width:100%;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Fira Sans','Droid Sans','Helvetica Neue',Arial,sans-serif;font-size:1rem;color:#373a3c}.header-wrapper{display:table-row;height:1px}.header{display:table-cell;top:1px;left:1px;padding:10px;border-bottom:1px solid #ddd}.github-icon{display:inline-flex;float:left;padding:9px 0 0;width:35px;height:35px}.github-username{font-size:20px;font-style:normal;font-weight:300;line-height:24px;color:#666}.github-profile{display:inline-flexbox;float:left;margin:0 auto;padding:6px 10px 5px;color:#495961;font-size:20px;text-decoration:none;margin-left:10px}.github-profile:hover{color:#495961;text-decoration:none}.events-wrapper{height:100%;display:table-row}.feed-list{overflow-y:auto;position:relative;display:table-cell}.event-list{overflow-y:scroll;max-height:500px;width:100%;min-height:100px}.github-event{border-top:1px solid #f1f1f1;padding:1em 0 0;padding:1.5em 0 1.5em 25px}.event-octicon{color:#bbb;margin-right:10px}.event-time{display:inline-block;font-size:12px;margin-left:3px;color:#bbb}.event-link{color:#1798d8}.event-link:hover{color:#1798d8}.event-text{font-size:13px}.event-detail{color:#666}@media only screen and (min-device-width:320px) and (max-device-width:480px) and (-webkit-min-device-pixel-ratio:2){.event-octicon{display:none!important}}",map:void 0,media:void 0})},n,void 0,!1,void 0,function(e){return function(e,t){return function(e,t){var n=i?t.media||"default":e,s=o[n]||(o[n]={ids:new Set,styles:[]});if(!s.ids.has(e)){s.ids.add(e);var r=t.source;if(t.map&&(r+="\n/*# sourceURL="+t.map.sources[0]+" */",r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t.map))))+" */"),s.element||(s.element=document.createElement("style"),s.element.type="text/css",t.media&&s.element.setAttribute("media",t.media),void 0===a&&(a=document.head||document.getElementsByTagName("head")[0]),a.appendChild(s.element)),"styleSheet"in s.element)s.styles.push(r),s.element.styleSheet.cssText=s.styles.filter(Boolean).join("\n");else{var v=s.ids.size-1,l=document.createTextNode(r),c=s.element.childNodes;c[v]&&s.element.removeChild(c[v]),c.length?s.element.insertBefore(l,c[v]):s.element.appendChild(l)}}}(e,t)}},void 0),v=function(e,t){t=t||{};var n=new Date(e).getTime()-Date.now(),a=Math.abs(n);if(a<6e4)return"just now";var s,i,o={year:a/31536e6,month:a%31536e6/2592e6,day:a%2592e6/864e5,hour:a%864e5/36e5,minute:a%36e5/6e4},r=[],v=t.max||6e4;for(s in o)r.length<v&&((i=Math.floor(o[s]))||t.zero)&&r.push(i+" "+(1==i?s:s+"s"));return v=", ",(s=r.length)>1&&t.and&&(2==s&&(v=" "),r[--s]="and "+r[s]),i=r.join(v),t.suffix&&(i+=n<0?" ago":" from now"),i},l=function(e){return e.substr(e.length-6)},c=s({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[n("octicon",{staticClass:"event-octicon",attrs:{name:"repo-push"}}),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n pushed to\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name+"/tree/"+e.branch(e.event.payload.ref),target:"_blank"}},[e._v(e._s(e.branch(e.event.payload.ref)))]),e._v("\n at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e(),e._v(" "),n("ul",e._l(e.event.payload.commits,function(t){return n("li",{key:t.sha,staticClass:"event-text event-detail",staticStyle:{"list-style":"none"}},[n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name+"/commit/"+t.sha,target:"_blank"}},[e._v(e._s(e.hash(t.sha)))]),e._v("\n "+e._s(t.message)+"\n ")])}),0)],1)},staticRenderFns:[]},void 0,{name:"push-event",props:{event:{required:!0}},methods:{fromNow:v,hash:l,branch:function(e){return e.replace("refs/heads/","")}}},void 0,!1,void 0,void 0,void 0),d=s({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[n("octicon",{staticClass:"event-octicon",attrs:{name:"git-pull-request"}}),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n "+e._s(e.event.payload.action)+" pull request"),n("a",{staticClass:"event-link",attrs:{href:e.event.payload.pull_request.html_url,target:"_blank"}},[e._v("\n #"+e._s(e.event.payload.number))]),e._v("\n at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e(),e._v(" "),n("ul",[n("li",{staticClass:"event-text event-detail",staticStyle:{"list-style":"none"}},[e.event.payload.pull_request.merged?n("b",[e._v("[MERGED]")]):e._e(),e._v("\n "+e._s(e.event.payload.pull_request.title)+"\n ")])])],1)},staticRenderFns:[]},void 0,{name:"pull-request-event",props:{event:{required:!0}},methods:{fromNow:v}},void 0,!1,void 0,void 0,void 0),_=s({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event"},[n("octicon",{staticClass:"event-octicon",attrs:{name:"repository"===e.event.payload.ref_type?"repo":"git-branch"}}),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n created "+e._s(e.event.payload.ref_type)+"\n "),"repository"!==e.event.payload.ref_type?n("span",[n("a",{staticClass:"event-link",attrs:{href:e.link(e.event),target:"_blank"}},[e._v(e._s(e.event.payload.ref))]),e._v("\n at")]):e._e(),e._v(" "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()],1)},staticRenderFns:[]},void 0,{name:"create-event",props:{event:{required:!0}},methods:{fromNow:v,link:function(e){return"branch"===e.payload.ref_type?"https://github.com/"+e.repo.name+"/tree/"+e.payload.ref:"https://github.com/"+e.repo.name+"/releases/tag/"+e.payload.ref}}},void 0,!1,void 0,void 0,void 0),m=s({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event"},[n("octicon",{staticClass:"event-octicon",attrs:{name:"trashcan"}}),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n deleted "+e._s(e.event.payload.ref_type)+"\n "),n("a",{staticClass:"event-link",attrs:{href:"#"}},[e._v(e._s(e.event.payload.ref))]),e._v(" at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()],1)},staticRenderFns:[]},void 0,{name:"delete-event",props:{event:{required:!0}},methods:{fromNow:v}},void 0,!1,void 0,void 0,void 0),p=s({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event"},[n("octicon",{staticClass:"event-octicon octicon octicon-star dashboard-event-icon",attrs:{name:"star"}}),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n starred\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()],1)},staticRenderFns:[]},void 0,{name:"watch-event",props:{event:{required:!0}},methods:{fromNow:v}},void 0,!1,void 0,void 0,void 0),u=s({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[n("octicon",{staticClass:"event-octicon",attrs:{name:"opened"===e.event.payload.action?"octicon-issue-opened":"octicon-issue-closed"}}),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n "+e._s(e.event.payload.action)+" issue\n "),n("a",{staticClass:"event-link",attrs:{href:e.event.payload.issue.html_url,target:"_blank"}},[e._v("\n #"+e._s(e.event.payload.issue.number))]),e._v("\n at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e(),e._v(" "),n("ul",[n("li",{staticClass:"event-text event-detail",staticStyle:{"list-style":"none"}},[e._v("\n "+e._s(e.event.payload.issue.title)+"\n ")])])],1)},staticRenderFns:[]},void 0,{name:"issues-event",props:{event:{required:!0}},methods:{fromNow:v}},void 0,!1,void 0,void 0,void 0),h=s({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[n("octicon",{staticClass:"event-octicon octicon dashboard-event-icon octicon-comment",attrs:{name:"comment"}}),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[n("a",{staticClass:"event-link",attrs:{href:e.event.payload.comment.html_url,target:"_blank"}},[e._v("\n commented\n ")]),e._v("\n on "+e._s(e.event.payload.issue.pull_request?"pull request":"issue")+"\n "),n("a",{staticClass:"event-link",attrs:{href:e.event.payload.issue.html_url,target:"_blank"}},[e._v("\n #"+e._s(e.event.payload.issue.number))]),e._v("\n at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()],1)},staticRenderFns:[]},void 0,{name:"issue-comment-event",props:{event:{required:!0}},methods:{fromNow:v}},void 0,!1,void 0,void 0,void 0),f=s({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event"},[n("octicon",{staticClass:"event-octicon",attrs:{name:"repo-forked"}}),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n forked\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))]),e._v("\n to\n "),n("a",{staticClass:"event-link",attrs:{href:e.event.payload.forkee.html_url,target:"_blank"}},[e._v(e._s(e.event.payload.forkee.full_name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()],1)},staticRenderFns:[]},void 0,{name:"fork-event",props:{event:{required:!0}},methods:{fromNow:v}},void 0,!1,void 0,void 0,void 0),b=s({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[n("octicon",{staticClass:"event-octicon",attrs:{name:"comment"}}),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[n("a",{staticClass:"event-link",attrs:{href:e.event.payload.comment.html_url,target:"_blank"}},[e._v("\n commented\n ")]),e._v("\n on commit\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name+"/commit/"+e.event.payload.comment.commit_id,target:"_blank"}},[e._v("\n "+e._s(e.hash(e.event.payload.comment.commit_id)))]),e._v("\n at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()],1)},staticRenderFns:[]},void 0,{name:"commit-comment-event",props:{event:{required:!0}},methods:{fromNow:v,hash:l}},void 0,!1,void 0,void 0,void 0),g=s({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event"},[n("octicon",{staticClass:"event-octicon",attrs:{name:"radio-tower"}}),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n open sourced\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()],1)},staticRenderFns:[]},void 0,{name:"public-event",props:{event:{required:!0}},methods:{fromNow:v}},void 0,!1,void 0,void 0,void 0);function y(e){e.component("github-feed",r),e.component("push-event",c),e.component("pull-request-event",d),e.component("create-event",_),e.component("watch-event",p),e.component("delete-event",m),e.component("issues-event",u),e.component("issue-comment-event",h),e.component("commit-comment-event",b),e.component("fork-event",f),e.component("public-event",g)}var C={install:y},x=null;"undefined"!=typeof window?x=window.Vue:"undefined"!=typeof global&&(x=global.Vue),x&&x.use(C);export default C;export{b as CommitCommentEvent,_ as CreateEvent,m as DeleteEvent,f as ForkEvent,r as GithubFeed,h as IssueCommentEvent,u as IssuesEvent,g as PublicEvent,d as PullRequestEvent,c as PushEvent,p as WatchEvent,y as install}; | ||
var e=function(e){return fetch("https://api.github.com/users/"+e).then(function(e){return e.json()}).then(function(e){return e}).catch(function(e){return e})},t=function(e){return fetch("https://api.github.com/users/"+e+"/events").then(function(e){return e.json()}).then(function(e){return e}).catch(function(e){return e})},n={name:"github-feed",props:{login:{required:!0}},data:function(){return{user:{},events:[],loading:!1,error:!1}},created:function(){var n=this;e(this.login).then(function(e){n.user=e,t(n.login).then(function(e){n.loading=!1,n.error=!1,n.events=e}).catch(function(e){console.warn(e),n.loading=!1,n.error=!0})}).catch(function(e){console.warn(e),n.loading=!1,n.error=!0})}};var a,s=function(e,t,n,a,s,i,o,v,r,l){"boolean"!=typeof o&&(r=v,v=o,o=!1);var c,d="function"==typeof n?n.options:n;if(e&&e.render&&(d.render=e.render,d.staticRenderFns=e.staticRenderFns,d._compiled=!0,s&&(d.functional=!0)),a&&(d._scopeId=a),i?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,r(e)),e&&e._registeredComponents&&e._registeredComponents.add(i)},d._ssrRegister=c):t&&(c=o?function(){t.call(this,l(this.$root.$options.shadowRoot))}:function(e){t.call(this,v(e))}),c)if(d.functional){var h=d.render;d.render=function(e,t){return c.call(t),h(e,t)}}else{var m=d.beforeCreate;d.beforeCreate=m?[].concat(m,c):[c]}return n},i="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());var o={};var v=s({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"feed"},[n("div",{staticClass:"header-wrapper"},[n("div",{staticClass:"header"},[n("svg",{staticClass:"github-icon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"35",height:"35",viewBox:"0 0 16 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"}})]),e._v(" "),n("a",{staticClass:"github-profile",attrs:{href:e.user.html_url,target:"_blank"}},[n("div",{staticStyle:{"font-size":"26px","line-height":"30px"}},[e._v("\n "+e._s(e.user.name)+"\n ")]),e._v(" "),n("div",{staticClass:"github-username"},[e._v("\n "+e._s(e.user.login)+"\n ")])])])]),e._v(" "),n("div",{staticClass:"events-wrapper"},[n("div",{staticClass:"feed-list"},[n("div",{staticClass:"event-list"},e._l(e.events,function(t){return n("div",{key:t.id},["PushEvent"===t.type?n("push-event",{attrs:{event:t}}):e._e(),e._v(" "),"PullRequestEvent"===t.type?n("pull-request-event",{attrs:{event:t}}):e._e(),e._v(" "),"CreateEvent"===t.type?n("create-event",{attrs:{event:t}}):e._e(),e._v(" "),"WatchEvent"===t.type?n("watch-event",{attrs:{event:t}}):e._e(),e._v(" "),"DeleteEvent"===t.type?n("delete-event",{attrs:{event:t}}):e._e(),e._v(" "),"IssuesEvent"===t.type?n("issues-event",{attrs:{event:t}}):e._e(),e._v(" "),"IssueCommentEvent"===t.type?n("issue-comment-event",{attrs:{event:t}}):e._e(),e._v(" "),"ForkEvent"===t.type?n("fork-event",{attrs:{event:t}}):e._e(),e._v(" "),"CommitCommentEvent"===t.type?n("commit-comment-event",{attrs:{event:t}}):e._e(),e._v(" "),"PublicEvent"===t.type?n("public-event",{attrs:{event:t}}):e._e()],1)}),0)])])])},staticRenderFns:[]},function(e){e&&e("data-v-17a4c7b6_0",{source:".feed{position:relative;display:table;height:500px;min-height:200px;width:100%;min-width:100%;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Fira Sans','Droid Sans','Helvetica Neue',Arial,sans-serif;font-size:1rem;color:#373a3c}.header-wrapper{display:table-row;height:1px}.header{display:table-cell;top:1px;left:1px;padding:10px;border-bottom:1px solid #ddd}.github-icon{display:inline-flex;float:left;padding:9px 0 0;width:35px;height:35px}.github-username{font-size:20px;font-style:normal;font-weight:300;line-height:24px;color:#666}.github-profile{display:inline-flexbox;float:left;margin:0 auto;padding:6px 10px 5px;color:#495961;font-size:20px;text-decoration:none;margin-left:10px}.github-profile:hover{color:#495961;text-decoration:none}.events-wrapper{height:100%;display:table-row}.feed-list{overflow-y:auto;position:relative;display:table-cell}.event-list{overflow-y:scroll;max-height:500px;width:100%;min-height:100px}.github-event{border-top:1px solid #f1f1f1;padding:1em 0 0;padding:1.5em 0 1.5em 25px}.event-octicon{color:#bbb;fill:#bbb;margin-right:10px}.event-time{display:inline-block;font-size:12px;margin-left:3px;color:#bbb}.event-link{color:#1798d8}.event-link:hover{color:#1798d8}.event-text{font-size:13px}.event-detail{color:#666}@media only screen and (min-device-width:320px) and (max-device-width:480px) and (-webkit-min-device-pixel-ratio:2){.event-octicon{display:none!important}}",map:void 0,media:void 0})},n,void 0,!1,void 0,function(e){return function(e,t){return function(e,t){var n=i?t.media||"default":e,s=o[n]||(o[n]={ids:new Set,styles:[]});if(!s.ids.has(e)){s.ids.add(e);var v=t.source;if(t.map&&(v+="\n/*# sourceURL="+t.map.sources[0]+" */",v+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t.map))))+" */"),s.element||(s.element=document.createElement("style"),s.element.type="text/css",t.media&&s.element.setAttribute("media",t.media),void 0===a&&(a=document.head||document.getElementsByTagName("head")[0]),a.appendChild(s.element)),"styleSheet"in s.element)s.styles.push(v),s.element.styleSheet.cssText=s.styles.filter(Boolean).join("\n");else{var r=s.ids.size-1,l=document.createTextNode(v),c=s.element.childNodes;c[r]&&s.element.removeChild(c[r]),c.length?s.element.insertBefore(l,c[r]):s.element.appendChild(l)}}}(e,t)}},void 0),r=function(e,t){t=t||{};var n=new Date(e).getTime()-Date.now(),a=Math.abs(n);if(a<6e4)return"just now";var s,i,o={year:a/31536e6,month:a%31536e6/2592e6,day:a%2592e6/864e5,hour:a%864e5/36e5,minute:a%36e5/6e4},v=[],r=t.max||6e4;for(s in o)v.length<r&&((i=Math.floor(o[s]))||t.zero)&&v.push(i+" "+(1==i?s:s+"s"));return r=", ",(s=v.length)>1&&t.and&&(2==s&&(r=" "),v[--s]="and "+v[s]),i=v.join(r),t.suffix&&(i+=n<0?" ago":" from now"),i},l=function(e){return e.substr(e.length-6)},c=s({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 12 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M4 3H3V2h1v1zM3 5h1V4H3v1zm4 0L4 9h2v7h2V9h2L7 5zm4-5H1C.45 0 0 .45 0 1v12c0 .55.45 1 1 1h4v-1H1v-2h4v-1H2V1h9.02L11 10H9v1h2v2H9v1h2c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n pushed to\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name+"/tree/"+e.branch(e.event.payload.ref),target:"_blank"}},[e._v(e._s(e.branch(e.event.payload.ref)))]),e._v("\n at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e(),e._v(" "),n("ul",e._l(e.event.payload.commits,function(t){return n("li",{key:t.sha,staticClass:"event-text event-detail",staticStyle:{"list-style":"none"}},[n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name+"/commit/"+t.sha,target:"_blank"}},[e._v(e._s(e.hash(t.sha)))]),e._v("\n "+e._s(t.message)+"\n ")])}),0)])},staticRenderFns:[]},void 0,{name:"push-event",props:{event:{required:!0}},methods:{fromNow:r,hash:l,branch:function(e){return e.replace("refs/heads/","")}}},void 0,!1,void 0,void 0,void 0),d=s({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 12 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M11 11.28V5c-.03-.78-.34-1.47-.94-2.06C9.46 2.35 8.78 2.03 8 2H7V0L4 3l3 3V4h1c.27.02.48.11.69.31.21.2.3.42.31.69v6.28A1.993 1.993 0 0 0 10 15a1.993 1.993 0 0 0 1-3.72zm-1 2.92c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zM4 3c0-1.11-.89-2-2-2a1.993 1.993 0 0 0-1 3.72v6.56A1.993 1.993 0 0 0 2 15a1.993 1.993 0 0 0 1-3.72V4.72c.59-.34 1-.98 1-1.72zm-.8 10c0 .66-.55 1.2-1.2 1.2-.65 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2zM2 4.2C1.34 4.2.8 3.65.8 3c0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n "+e._s(e.event.payload.action)+" pull request"),n("a",{staticClass:"event-link",attrs:{href:e.event.payload.pull_request.html_url,target:"_blank"}},[e._v("\n #"+e._s(e.event.payload.number))]),e._v("\n at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e(),e._v(" "),n("ul",[n("li",{staticClass:"event-text event-detail",staticStyle:{"list-style":"none"}},[e.event.payload.pull_request.merged?n("b",[e._v("[MERGED]")]):e._e(),e._v("\n "+e._s(e.event.payload.pull_request.title)+"\n ")])])])},staticRenderFns:[]},void 0,{name:"pull-request-event",props:{event:{required:!0}},methods:{fromNow:r}},void 0,!1,void 0,void 0,void 0),h=s({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event"},["repository"===e.event.payload.ref_type?n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 12 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M4 9H3V8h1v1zm0-3H3v1h1V6zm0-2H3v1h1V4zm0-2H3v1h1V2zm8-1v12c0 .55-.45 1-1 1H6v2l-1.5-1.5L3 16v-2H1c-.55 0-1-.45-1-1V1c0-.55.45-1 1-1h10c.55 0 1 .45 1 1zm-1 10H1v2h2v-1h3v1h5v-2zm0-10H2v9h9V1z"}})]):n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 10 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M10 5c0-1.11-.89-2-2-2a1.993 1.993 0 0 0-1 3.72v.3c-.02.52-.23.98-.63 1.38-.4.4-.86.61-1.38.63-.83.02-1.48.16-2 .45V4.72a1.993 1.993 0 0 0-1-3.72C.88 1 0 1.89 0 3a2 2 0 0 0 1 1.72v6.56c-.59.35-1 .99-1 1.72 0 1.11.89 2 2 2 1.11 0 2-.89 2-2 0-.53-.2-1-.53-1.36.09-.06.48-.41.59-.47.25-.11.56-.17.94-.17 1.05-.05 1.95-.45 2.75-1.25S8.95 7.77 9 6.73h-.02C9.59 6.37 10 5.73 10 5zM2 1.8c.66 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2C1.35 4.2.8 3.65.8 3c0-.65.55-1.2 1.2-1.2zm0 12.41c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zm6-8c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n created "+e._s(e.event.payload.ref_type)+"\n "),"repository"!==e.event.payload.ref_type?n("span",[n("a",{staticClass:"event-link",attrs:{href:e.link(e.event),target:"_blank"}},[e._v(e._s(e.event.payload.ref))]),e._v("\n at")]):e._e(),e._v(" "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()])},staticRenderFns:[]},void 0,{name:"create-event",props:{event:{required:!0}},methods:{fromNow:r,link:function(e){return"branch"===e.payload.ref_type?"https://github.com/"+e.repo.name+"/tree/"+e.payload.ref:"https://github.com/"+e.repo.name+"/releases/tag/"+e.payload.ref}}},void 0,!1,void 0,void 0,void 0),m=s({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event"},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 12 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M11 2H9c0-.55-.45-1-1-1H5c-.55 0-1 .45-1 1H2c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1v9c0 .55.45 1 1 1h7c.55 0 1-.45 1-1V5c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1zm-1 12H3V5h1v8h1V5h1v8h1V5h1v8h1V5h1v9zm1-10H2V3h9v1z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n deleted "+e._s(e.event.payload.ref_type)+"\n "),n("a",{staticClass:"event-link",attrs:{href:"#"}},[e._v(e._s(e.event.payload.ref))]),e._v(" at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()])},staticRenderFns:[]},void 0,{name:"delete-event",props:{event:{required:!0}},methods:{fromNow:r}},void 0,!1,void 0,void 0,void 0),p=s({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event"},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 14 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M14 6l-4.9-.64L7 1 4.9 5.36 0 6l3.6 3.26L2.67 14 7 11.67 11.33 14l-.93-4.74L14 6z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n starred\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()])},staticRenderFns:[]},void 0,{name:"watch-event",props:{event:{required:!0}},methods:{fromNow:r}},void 0,!1,void 0,void 0,void 0),_=s({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},["opened"===e.event.payload.action?n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 14 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"}})]):n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M7 10h2v2H7v-2zm2-6H7v5h2V4zm1.5 1.5l-1 1L12 9l4-4.5-1-1L12 7l-1.5-1.5zM8 13.7A5.71 5.71 0 0 1 2.3 8c0-3.14 2.56-5.7 5.7-5.7 1.83 0 3.45.88 4.5 2.2l.92-.92A6.947 6.947 0 0 0 8 1C4.14 1 1 4.14 1 8s3.14 7 7 7 7-3.14 7-7l-1.52 1.52c-.66 2.41-2.86 4.19-5.48 4.19v-.01z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n "+e._s(e.event.payload.action)+" issue\n "),n("a",{staticClass:"event-link",attrs:{href:e.event.payload.issue.html_url,target:"_blank"}},[e._v("\n #"+e._s(e.event.payload.issue.number))]),e._v("\n at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e(),e._v(" "),n("ul",[n("li",{staticClass:"event-text event-detail",staticStyle:{"list-style":"none"}},[e._v("\n "+e._s(e.event.payload.issue.title)+"\n ")])])])},staticRenderFns:[]},void 0,{name:"issues-event",props:{event:{required:!0}},methods:{fromNow:r}},void 0,!1,void 0,void 0,void 0),u=s({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M14 1H2c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2v3.5L7.5 11H14c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1zm0 9H7l-2 2v-2H2V2h12v8z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[n("a",{staticClass:"event-link",attrs:{href:e.event.payload.comment.html_url,target:"_blank"}},[e._v("\n commented\n ")]),e._v("\n on "+e._s(e.event.payload.issue.pull_request?"pull request":"issue")+"\n "),n("a",{staticClass:"event-link",attrs:{href:e.event.payload.issue.html_url,target:"_blank"}},[e._v("\n #"+e._s(e.event.payload.issue.number))]),e._v("\n at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()])},staticRenderFns:[]},void 0,{name:"issue-comment-event",props:{event:{required:!0}},methods:{fromNow:r}},void 0,!1,void 0,void 0,void 0),f=s({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event"},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 10 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M8 1a1.993 1.993 0 0 0-1 3.72V6L5 8 3 6V4.72A1.993 1.993 0 0 0 2 1a1.993 1.993 0 0 0-1 3.72V6.5l3 3v1.78A1.993 1.993 0 0 0 5 15a1.993 1.993 0 0 0 1-3.72V9.5l3-3V4.72A1.993 1.993 0 0 0 8 1zM2 4.2C1.34 4.2.8 3.65.8 3c0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zm3 10c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zm3-10c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n forked\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))]),e._v("\n to\n "),n("a",{staticClass:"event-link",attrs:{href:e.event.payload.forkee.html_url,target:"_blank"}},[e._v(e._s(e.event.payload.forkee.full_name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()])},staticRenderFns:[]},void 0,{name:"fork-event",props:{event:{required:!0}},methods:{fromNow:r}},void 0,!1,void 0,void 0,void 0),g=s({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M14 1H2c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2v3.5L7.5 11H14c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1zm0 9H7l-2 2v-2H2V2h12v8z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[n("a",{staticClass:"event-link",attrs:{href:e.event.payload.comment.html_url,target:"_blank"}},[e._v("\n commented\n ")]),e._v("\n on commit\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name+"/commit/"+e.event.payload.comment.commit_id,target:"_blank"}},[e._v("\n "+e._s(e.hash(e.event.payload.comment.commit_id)))]),e._v("\n at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()])},staticRenderFns:[]},void 0,{name:"commit-comment-event",props:{event:{required:!0}},methods:{fromNow:r,hash:l}},void 0,!1,void 0,void 0,void 0),w=s({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event"},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M4.79 6.11c.25-.25.25-.67 0-.92-.32-.33-.48-.76-.48-1.19 0-.43.16-.86.48-1.19.25-.26.25-.67 0-.92a.613.613 0 0 0-.45-.19c-.16 0-.33.06-.45.19-.57.58-.85 1.35-.85 2.11 0 .76.29 1.53.85 2.11.25.25.66.25.9 0zM2.33.52a.651.651 0 0 0-.92 0C.48 1.48.01 2.74.01 3.99c0 1.26.47 2.52 1.4 3.48.25.26.66.26.91 0s.25-.68 0-.94c-.68-.7-1.02-1.62-1.02-2.54 0-.92.34-1.84 1.02-2.54a.66.66 0 0 0 .01-.93zm5.69 5.1A1.62 1.62 0 1 0 6.4 4c-.01.89.72 1.62 1.62 1.62zM14.59.53a.628.628 0 0 0-.91 0c-.25.26-.25.68 0 .94.68.7 1.02 1.62 1.02 2.54 0 .92-.34 1.83-1.02 2.54-.25.26-.25.68 0 .94a.651.651 0 0 0 .92 0c.93-.96 1.4-2.22 1.4-3.48A5.048 5.048 0 0 0 14.59.53zM8.02 6.92c-.41 0-.83-.1-1.2-.3l-3.15 8.37h1.49l.86-1h4l.84 1h1.49L9.21 6.62c-.38.2-.78.3-1.19.3zm-.01.48L9.02 11h-2l.99-3.6zm-1.99 5.59l1-1h2l1 1h-4zm5.19-11.1c-.25.25-.25.67 0 .92.32.33.48.76.48 1.19 0 .43-.16.86-.48 1.19-.25.26-.25.67 0 .92a.63.63 0 0 0 .9 0c.57-.58.85-1.35.85-2.11 0-.76-.28-1.53-.85-2.11a.634.634 0 0 0-.9 0z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n open sourced\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()])},staticRenderFns:[]},void 0,{name:"public-event",props:{event:{required:!0}},methods:{fromNow:r}},void 0,!1,void 0,void 0,void 0);function b(e){e.component("github-feed",v),e.component("push-event",c),e.component("pull-request-event",d),e.component("create-event",h),e.component("watch-event",p),e.component("delete-event",m),e.component("issues-event",_),e.component("issue-comment-event",u),e.component("commit-comment-event",g),e.component("fork-event",f),e.component("public-event",w)}var y={install:b},C=null;"undefined"!=typeof window?C=window.Vue:"undefined"!=typeof global&&(C=global.Vue),C&&C.use(y);export default y;export{g as CommitCommentEvent,h as CreateEvent,m as DeleteEvent,f as ForkEvent,v as GithubFeed,u as IssueCommentEvent,_ as IssuesEvent,w as PublicEvent,d as PullRequestEvent,c as PushEvent,p as WatchEvent,b as install}; |
@@ -1,1 +0,1 @@ | ||
var githubFeed=function(e){"use strict";var t=function(e){return fetch("https://api.github.com/users/"+e).then(function(e){return e.json()}).then(function(e){return e}).catch(function(e){return e})},n=function(e){return fetch("https://api.github.com/users/"+e+"/events").then(function(e){return e.json()}).then(function(e){return e}).catch(function(e){return e})},a={name:"github-feed",props:{login:{required:!0}},data:function(){return{user:{},events:[],loading:!1,error:!1}},created:function(){var e=this;t(this.login).then(function(t){e.user=t,n(e.login).then(function(t){e.loading=!1,e.error=!1,e.events=t}).catch(function(t){console.warn(t),e.loading=!1,e.error=!0})}).catch(function(t){console.warn(t),e.loading=!1,e.error=!0})}};var s,i=function(e,t,n,a,s,i,o,r,v,l){"boolean"!=typeof o&&(v=r,r=o,o=!1);var c,d="function"==typeof n?n.options:n;if(e&&e.render&&(d.render=e.render,d.staticRenderFns=e.staticRenderFns,d._compiled=!0,s&&(d.functional=!0)),a&&(d._scopeId=a),i?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,v(e)),e&&e._registeredComponents&&e._registeredComponents.add(i)},d._ssrRegister=c):t&&(c=o?function(){t.call(this,l(this.$root.$options.shadowRoot))}:function(e){t.call(this,r(e))}),c)if(d.functional){var m=d.render;d.render=function(e,t){return c.call(t),m(e,t)}}else{var _=d.beforeCreate;d.beforeCreate=_?[].concat(_,c):[c]}return n},o="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());var r={};var v=i({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"feed"},[n("div",{staticClass:"header-wrapper"},[n("div",{staticClass:"header"},[n("octicon",{staticClass:"github-icon",attrs:{name:"mark-github",scale:"3"}}),e._v(" "),n("a",{staticClass:"github-profile",attrs:{href:e.user.html_url,target:"_blank"}},[n("div",{staticStyle:{"font-size":"26px","line-height":"30px"}},[e._v("\n "+e._s(e.user.name)+"\n ")]),e._v(" "),n("div",{staticClass:"github-username"},[e._v("\n "+e._s(e.user.login)+"\n ")])])],1)]),e._v(" "),n("div",{staticClass:"events-wrapper"},[n("div",{staticClass:"feed-list"},[n("div",{staticClass:"event-list"},e._l(e.events,function(t){return n("div",{key:t.id},["PushEvent"===t.type?n("push-event",{attrs:{event:t}}):e._e(),e._v(" "),"PullRequestEvent"===t.type?n("pull-request-event",{attrs:{event:t}}):e._e(),e._v(" "),"CreateEvent"===t.type?n("create-event",{attrs:{event:t}}):e._e(),e._v(" "),"WatchEvent"===t.type?n("watch-event",{attrs:{event:t}}):e._e(),e._v(" "),"DeleteEvent"===t.type?n("delete-event",{attrs:{event:t}}):e._e(),e._v(" "),"IssuesEvent"===t.type?n("issues-event",{attrs:{event:t}}):e._e(),e._v(" "),"IssueCommentEvent"===t.type?n("issue-comment-event",{attrs:{event:t}}):e._e(),e._v(" "),"ForkEvent"===t.type?n("fork-event",{attrs:{event:t}}):e._e(),e._v(" "),"CommitCommentEvent"===t.type?n("commit-comment-event",{attrs:{event:t}}):e._e(),e._v(" "),"PublicEvent"===t.type?n("public-event",{attrs:{event:t}}):e._e()],1)}),0)])])])},staticRenderFns:[]},function(e){e&&e("data-v-413f8d63_0",{source:".feed{position:relative;display:table;height:500px;min-height:200px;width:100%;min-width:100%;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Fira Sans','Droid Sans','Helvetica Neue',Arial,sans-serif;font-size:1rem;color:#373a3c}.header-wrapper{display:table-row;height:1px}.header{display:table-cell;top:1px;left:1px;padding:10px;border-bottom:1px solid #ddd}.github-icon{display:inline-flex;float:left;padding:9px 0 0;width:35px;height:35px}.github-username{font-size:20px;font-style:normal;font-weight:300;line-height:24px;color:#666}.github-profile{display:inline-flexbox;float:left;margin:0 auto;padding:6px 10px 5px;color:#495961;font-size:20px;text-decoration:none;margin-left:10px}.github-profile:hover{color:#495961;text-decoration:none}.events-wrapper{height:100%;display:table-row}.feed-list{overflow-y:auto;position:relative;display:table-cell}.event-list{overflow-y:scroll;max-height:500px;width:100%;min-height:100px}.github-event{border-top:1px solid #f1f1f1;padding:1em 0 0;padding:1.5em 0 1.5em 25px}.event-octicon{color:#bbb;margin-right:10px}.event-time{display:inline-block;font-size:12px;margin-left:3px;color:#bbb}.event-link{color:#1798d8}.event-link:hover{color:#1798d8}.event-text{font-size:13px}.event-detail{color:#666}@media only screen and (min-device-width:320px) and (max-device-width:480px) and (-webkit-min-device-pixel-ratio:2){.event-octicon{display:none!important}}",map:void 0,media:void 0})},a,void 0,!1,void 0,function(e){return function(e,t){return function(e,t){var n=o?t.media||"default":e,a=r[n]||(r[n]={ids:new Set,styles:[]});if(!a.ids.has(e)){a.ids.add(e);var i=t.source;if(t.map&&(i+="\n/*# sourceURL="+t.map.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t.map))))+" */"),a.element||(a.element=document.createElement("style"),a.element.type="text/css",t.media&&a.element.setAttribute("media",t.media),void 0===s&&(s=document.head||document.getElementsByTagName("head")[0]),s.appendChild(a.element)),"styleSheet"in a.element)a.styles.push(i),a.element.styleSheet.cssText=a.styles.filter(Boolean).join("\n");else{var v=a.ids.size-1,l=document.createTextNode(i),c=a.element.childNodes;c[v]&&a.element.removeChild(c[v]),c.length?a.element.insertBefore(l,c[v]):a.element.appendChild(l)}}}(e,t)}},void 0),l=function(e,t){t=t||{};var n=new Date(e).getTime()-Date.now(),a=Math.abs(n);if(a<6e4)return"just now";var s,i,o={year:a/31536e6,month:a%31536e6/2592e6,day:a%2592e6/864e5,hour:a%864e5/36e5,minute:a%36e5/6e4},r=[],v=t.max||6e4;for(s in o)r.length<v&&((i=Math.floor(o[s]))||t.zero)&&r.push(i+" "+(1==i?s:s+"s"));return v=", ",(s=r.length)>1&&t.and&&(2==s&&(v=" "),r[--s]="and "+r[s]),i=r.join(v),t.suffix&&(i+=n<0?" ago":" from now"),i},c=function(e){return e.substr(e.length-6)},d=i({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[n("octicon",{staticClass:"event-octicon",attrs:{name:"repo-push"}}),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n pushed to\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name+"/tree/"+e.branch(e.event.payload.ref),target:"_blank"}},[e._v(e._s(e.branch(e.event.payload.ref)))]),e._v("\n at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e(),e._v(" "),n("ul",e._l(e.event.payload.commits,function(t){return n("li",{key:t.sha,staticClass:"event-text event-detail",staticStyle:{"list-style":"none"}},[n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name+"/commit/"+t.sha,target:"_blank"}},[e._v(e._s(e.hash(t.sha)))]),e._v("\n "+e._s(t.message)+"\n ")])}),0)],1)},staticRenderFns:[]},void 0,{name:"push-event",props:{event:{required:!0}},methods:{fromNow:l,hash:c,branch:function(e){return e.replace("refs/heads/","")}}},void 0,!1,void 0,void 0,void 0),m=i({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[n("octicon",{staticClass:"event-octicon",attrs:{name:"git-pull-request"}}),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n "+e._s(e.event.payload.action)+" pull request"),n("a",{staticClass:"event-link",attrs:{href:e.event.payload.pull_request.html_url,target:"_blank"}},[e._v("\n #"+e._s(e.event.payload.number))]),e._v("\n at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e(),e._v(" "),n("ul",[n("li",{staticClass:"event-text event-detail",staticStyle:{"list-style":"none"}},[e.event.payload.pull_request.merged?n("b",[e._v("[MERGED]")]):e._e(),e._v("\n "+e._s(e.event.payload.pull_request.title)+"\n ")])])],1)},staticRenderFns:[]},void 0,{name:"pull-request-event",props:{event:{required:!0}},methods:{fromNow:l}},void 0,!1,void 0,void 0,void 0),_=i({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event"},[n("octicon",{staticClass:"event-octicon",attrs:{name:"repository"===e.event.payload.ref_type?"repo":"git-branch"}}),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n created "+e._s(e.event.payload.ref_type)+"\n "),"repository"!==e.event.payload.ref_type?n("span",[n("a",{staticClass:"event-link",attrs:{href:e.link(e.event),target:"_blank"}},[e._v(e._s(e.event.payload.ref))]),e._v("\n at")]):e._e(),e._v(" "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()],1)},staticRenderFns:[]},void 0,{name:"create-event",props:{event:{required:!0}},methods:{fromNow:l,link:function(e){return"branch"===e.payload.ref_type?"https://github.com/"+e.repo.name+"/tree/"+e.payload.ref:"https://github.com/"+e.repo.name+"/releases/tag/"+e.payload.ref}}},void 0,!1,void 0,void 0,void 0),p=i({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event"},[n("octicon",{staticClass:"event-octicon",attrs:{name:"trashcan"}}),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n deleted "+e._s(e.event.payload.ref_type)+"\n "),n("a",{staticClass:"event-link",attrs:{href:"#"}},[e._v(e._s(e.event.payload.ref))]),e._v(" at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()],1)},staticRenderFns:[]},void 0,{name:"delete-event",props:{event:{required:!0}},methods:{fromNow:l}},void 0,!1,void 0,void 0,void 0),u=i({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event"},[n("octicon",{staticClass:"event-octicon octicon octicon-star dashboard-event-icon",attrs:{name:"star"}}),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n starred\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()],1)},staticRenderFns:[]},void 0,{name:"watch-event",props:{event:{required:!0}},methods:{fromNow:l}},void 0,!1,void 0,void 0,void 0),h=i({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[n("octicon",{staticClass:"event-octicon",attrs:{name:"opened"===e.event.payload.action?"octicon-issue-opened":"octicon-issue-closed"}}),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n "+e._s(e.event.payload.action)+" issue\n "),n("a",{staticClass:"event-link",attrs:{href:e.event.payload.issue.html_url,target:"_blank"}},[e._v("\n #"+e._s(e.event.payload.issue.number))]),e._v("\n at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e(),e._v(" "),n("ul",[n("li",{staticClass:"event-text event-detail",staticStyle:{"list-style":"none"}},[e._v("\n "+e._s(e.event.payload.issue.title)+"\n ")])])],1)},staticRenderFns:[]},void 0,{name:"issues-event",props:{event:{required:!0}},methods:{fromNow:l}},void 0,!1,void 0,void 0,void 0),f=i({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[n("octicon",{staticClass:"event-octicon octicon dashboard-event-icon octicon-comment",attrs:{name:"comment"}}),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[n("a",{staticClass:"event-link",attrs:{href:e.event.payload.comment.html_url,target:"_blank"}},[e._v("\n commented\n ")]),e._v("\n on "+e._s(e.event.payload.issue.pull_request?"pull request":"issue")+"\n "),n("a",{staticClass:"event-link",attrs:{href:e.event.payload.issue.html_url,target:"_blank"}},[e._v("\n #"+e._s(e.event.payload.issue.number))]),e._v("\n at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()],1)},staticRenderFns:[]},void 0,{name:"issue-comment-event",props:{event:{required:!0}},methods:{fromNow:l}},void 0,!1,void 0,void 0,void 0),b=i({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event"},[n("octicon",{staticClass:"event-octicon",attrs:{name:"repo-forked"}}),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n forked\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))]),e._v("\n to\n "),n("a",{staticClass:"event-link",attrs:{href:e.event.payload.forkee.html_url,target:"_blank"}},[e._v(e._s(e.event.payload.forkee.full_name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()],1)},staticRenderFns:[]},void 0,{name:"fork-event",props:{event:{required:!0}},methods:{fromNow:l}},void 0,!1,void 0,void 0,void 0),g=i({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[n("octicon",{staticClass:"event-octicon",attrs:{name:"comment"}}),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[n("a",{staticClass:"event-link",attrs:{href:e.event.payload.comment.html_url,target:"_blank"}},[e._v("\n commented\n ")]),e._v("\n on commit\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name+"/commit/"+e.event.payload.comment.commit_id,target:"_blank"}},[e._v("\n "+e._s(e.hash(e.event.payload.comment.commit_id)))]),e._v("\n at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()],1)},staticRenderFns:[]},void 0,{name:"commit-comment-event",props:{event:{required:!0}},methods:{fromNow:l,hash:c}},void 0,!1,void 0,void 0,void 0),y=i({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event"},[n("octicon",{staticClass:"event-octicon",attrs:{name:"radio-tower"}}),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n open sourced\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()],1)},staticRenderFns:[]},void 0,{name:"public-event",props:{event:{required:!0}},methods:{fromNow:l}},void 0,!1,void 0,void 0,void 0);function C(e){e.component("github-feed",v),e.component("push-event",d),e.component("pull-request-event",m),e.component("create-event",_),e.component("watch-event",u),e.component("delete-event",p),e.component("issues-event",h),e.component("issue-comment-event",f),e.component("commit-comment-event",g),e.component("fork-event",b),e.component("public-event",y)}var k={install:C},x=null;return"undefined"!=typeof window?x=window.Vue:"undefined"!=typeof global&&(x=global.Vue),x&&x.use(k),e.CommitCommentEvent=g,e.CreateEvent=_,e.DeleteEvent=p,e.ForkEvent=b,e.GithubFeed=v,e.IssueCommentEvent=f,e.IssuesEvent=h,e.PublicEvent=y,e.PullRequestEvent=m,e.PushEvent=d,e.WatchEvent=u,e.default=k,e.install=C,e}({}); | ||
var githubFeed=function(e){"use strict";var t=function(e){return fetch("https://api.github.com/users/"+e).then(function(e){return e.json()}).then(function(e){return e}).catch(function(e){return e})},n=function(e){return fetch("https://api.github.com/users/"+e+"/events").then(function(e){return e.json()}).then(function(e){return e}).catch(function(e){return e})},a={name:"github-feed",props:{login:{required:!0}},data:function(){return{user:{},events:[],loading:!1,error:!1}},created:function(){var e=this;t(this.login).then(function(t){e.user=t,n(e.login).then(function(t){e.loading=!1,e.error=!1,e.events=t}).catch(function(t){console.warn(t),e.loading=!1,e.error=!0})}).catch(function(t){console.warn(t),e.loading=!1,e.error=!0})}};var s,i=function(e,t,n,a,s,i,o,v,r,l){"boolean"!=typeof o&&(r=v,v=o,o=!1);var c,d="function"==typeof n?n.options:n;if(e&&e.render&&(d.render=e.render,d.staticRenderFns=e.staticRenderFns,d._compiled=!0,s&&(d.functional=!0)),a&&(d._scopeId=a),i?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,r(e)),e&&e._registeredComponents&&e._registeredComponents.add(i)},d._ssrRegister=c):t&&(c=o?function(){t.call(this,l(this.$root.$options.shadowRoot))}:function(e){t.call(this,v(e))}),c)if(d.functional){var h=d.render;d.render=function(e,t){return c.call(t),h(e,t)}}else{var m=d.beforeCreate;d.beforeCreate=m?[].concat(m,c):[c]}return n},o="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());var v={};var r=i({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"feed"},[n("div",{staticClass:"header-wrapper"},[n("div",{staticClass:"header"},[n("svg",{staticClass:"github-icon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"35",height:"35",viewBox:"0 0 16 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"}})]),e._v(" "),n("a",{staticClass:"github-profile",attrs:{href:e.user.html_url,target:"_blank"}},[n("div",{staticStyle:{"font-size":"26px","line-height":"30px"}},[e._v("\n "+e._s(e.user.name)+"\n ")]),e._v(" "),n("div",{staticClass:"github-username"},[e._v("\n "+e._s(e.user.login)+"\n ")])])])]),e._v(" "),n("div",{staticClass:"events-wrapper"},[n("div",{staticClass:"feed-list"},[n("div",{staticClass:"event-list"},e._l(e.events,function(t){return n("div",{key:t.id},["PushEvent"===t.type?n("push-event",{attrs:{event:t}}):e._e(),e._v(" "),"PullRequestEvent"===t.type?n("pull-request-event",{attrs:{event:t}}):e._e(),e._v(" "),"CreateEvent"===t.type?n("create-event",{attrs:{event:t}}):e._e(),e._v(" "),"WatchEvent"===t.type?n("watch-event",{attrs:{event:t}}):e._e(),e._v(" "),"DeleteEvent"===t.type?n("delete-event",{attrs:{event:t}}):e._e(),e._v(" "),"IssuesEvent"===t.type?n("issues-event",{attrs:{event:t}}):e._e(),e._v(" "),"IssueCommentEvent"===t.type?n("issue-comment-event",{attrs:{event:t}}):e._e(),e._v(" "),"ForkEvent"===t.type?n("fork-event",{attrs:{event:t}}):e._e(),e._v(" "),"CommitCommentEvent"===t.type?n("commit-comment-event",{attrs:{event:t}}):e._e(),e._v(" "),"PublicEvent"===t.type?n("public-event",{attrs:{event:t}}):e._e()],1)}),0)])])])},staticRenderFns:[]},function(e){e&&e("data-v-17a4c7b6_0",{source:".feed{position:relative;display:table;height:500px;min-height:200px;width:100%;min-width:100%;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Fira Sans','Droid Sans','Helvetica Neue',Arial,sans-serif;font-size:1rem;color:#373a3c}.header-wrapper{display:table-row;height:1px}.header{display:table-cell;top:1px;left:1px;padding:10px;border-bottom:1px solid #ddd}.github-icon{display:inline-flex;float:left;padding:9px 0 0;width:35px;height:35px}.github-username{font-size:20px;font-style:normal;font-weight:300;line-height:24px;color:#666}.github-profile{display:inline-flexbox;float:left;margin:0 auto;padding:6px 10px 5px;color:#495961;font-size:20px;text-decoration:none;margin-left:10px}.github-profile:hover{color:#495961;text-decoration:none}.events-wrapper{height:100%;display:table-row}.feed-list{overflow-y:auto;position:relative;display:table-cell}.event-list{overflow-y:scroll;max-height:500px;width:100%;min-height:100px}.github-event{border-top:1px solid #f1f1f1;padding:1em 0 0;padding:1.5em 0 1.5em 25px}.event-octicon{color:#bbb;fill:#bbb;margin-right:10px}.event-time{display:inline-block;font-size:12px;margin-left:3px;color:#bbb}.event-link{color:#1798d8}.event-link:hover{color:#1798d8}.event-text{font-size:13px}.event-detail{color:#666}@media only screen and (min-device-width:320px) and (max-device-width:480px) and (-webkit-min-device-pixel-ratio:2){.event-octicon{display:none!important}}",map:void 0,media:void 0})},a,void 0,!1,void 0,function(e){return function(e,t){return function(e,t){var n=o?t.media||"default":e,a=v[n]||(v[n]={ids:new Set,styles:[]});if(!a.ids.has(e)){a.ids.add(e);var i=t.source;if(t.map&&(i+="\n/*# sourceURL="+t.map.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t.map))))+" */"),a.element||(a.element=document.createElement("style"),a.element.type="text/css",t.media&&a.element.setAttribute("media",t.media),void 0===s&&(s=document.head||document.getElementsByTagName("head")[0]),s.appendChild(a.element)),"styleSheet"in a.element)a.styles.push(i),a.element.styleSheet.cssText=a.styles.filter(Boolean).join("\n");else{var r=a.ids.size-1,l=document.createTextNode(i),c=a.element.childNodes;c[r]&&a.element.removeChild(c[r]),c.length?a.element.insertBefore(l,c[r]):a.element.appendChild(l)}}}(e,t)}},void 0),l=function(e,t){t=t||{};var n=new Date(e).getTime()-Date.now(),a=Math.abs(n);if(a<6e4)return"just now";var s,i,o={year:a/31536e6,month:a%31536e6/2592e6,day:a%2592e6/864e5,hour:a%864e5/36e5,minute:a%36e5/6e4},v=[],r=t.max||6e4;for(s in o)v.length<r&&((i=Math.floor(o[s]))||t.zero)&&v.push(i+" "+(1==i?s:s+"s"));return r=", ",(s=v.length)>1&&t.and&&(2==s&&(r=" "),v[--s]="and "+v[s]),i=v.join(r),t.suffix&&(i+=n<0?" ago":" from now"),i},c=function(e){return e.substr(e.length-6)},d=i({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 12 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M4 3H3V2h1v1zM3 5h1V4H3v1zm4 0L4 9h2v7h2V9h2L7 5zm4-5H1C.45 0 0 .45 0 1v12c0 .55.45 1 1 1h4v-1H1v-2h4v-1H2V1h9.02L11 10H9v1h2v2H9v1h2c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n pushed to\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name+"/tree/"+e.branch(e.event.payload.ref),target:"_blank"}},[e._v(e._s(e.branch(e.event.payload.ref)))]),e._v("\n at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e(),e._v(" "),n("ul",e._l(e.event.payload.commits,function(t){return n("li",{key:t.sha,staticClass:"event-text event-detail",staticStyle:{"list-style":"none"}},[n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name+"/commit/"+t.sha,target:"_blank"}},[e._v(e._s(e.hash(t.sha)))]),e._v("\n "+e._s(t.message)+"\n ")])}),0)])},staticRenderFns:[]},void 0,{name:"push-event",props:{event:{required:!0}},methods:{fromNow:l,hash:c,branch:function(e){return e.replace("refs/heads/","")}}},void 0,!1,void 0,void 0,void 0),h=i({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 12 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M11 11.28V5c-.03-.78-.34-1.47-.94-2.06C9.46 2.35 8.78 2.03 8 2H7V0L4 3l3 3V4h1c.27.02.48.11.69.31.21.2.3.42.31.69v6.28A1.993 1.993 0 0 0 10 15a1.993 1.993 0 0 0 1-3.72zm-1 2.92c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zM4 3c0-1.11-.89-2-2-2a1.993 1.993 0 0 0-1 3.72v6.56A1.993 1.993 0 0 0 2 15a1.993 1.993 0 0 0 1-3.72V4.72c.59-.34 1-.98 1-1.72zm-.8 10c0 .66-.55 1.2-1.2 1.2-.65 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2zM2 4.2C1.34 4.2.8 3.65.8 3c0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n "+e._s(e.event.payload.action)+" pull request"),n("a",{staticClass:"event-link",attrs:{href:e.event.payload.pull_request.html_url,target:"_blank"}},[e._v("\n #"+e._s(e.event.payload.number))]),e._v("\n at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e(),e._v(" "),n("ul",[n("li",{staticClass:"event-text event-detail",staticStyle:{"list-style":"none"}},[e.event.payload.pull_request.merged?n("b",[e._v("[MERGED]")]):e._e(),e._v("\n "+e._s(e.event.payload.pull_request.title)+"\n ")])])])},staticRenderFns:[]},void 0,{name:"pull-request-event",props:{event:{required:!0}},methods:{fromNow:l}},void 0,!1,void 0,void 0,void 0),m=i({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event"},["repository"===e.event.payload.ref_type?n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 12 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M4 9H3V8h1v1zm0-3H3v1h1V6zm0-2H3v1h1V4zm0-2H3v1h1V2zm8-1v12c0 .55-.45 1-1 1H6v2l-1.5-1.5L3 16v-2H1c-.55 0-1-.45-1-1V1c0-.55.45-1 1-1h10c.55 0 1 .45 1 1zm-1 10H1v2h2v-1h3v1h5v-2zm0-10H2v9h9V1z"}})]):n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 10 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M10 5c0-1.11-.89-2-2-2a1.993 1.993 0 0 0-1 3.72v.3c-.02.52-.23.98-.63 1.38-.4.4-.86.61-1.38.63-.83.02-1.48.16-2 .45V4.72a1.993 1.993 0 0 0-1-3.72C.88 1 0 1.89 0 3a2 2 0 0 0 1 1.72v6.56c-.59.35-1 .99-1 1.72 0 1.11.89 2 2 2 1.11 0 2-.89 2-2 0-.53-.2-1-.53-1.36.09-.06.48-.41.59-.47.25-.11.56-.17.94-.17 1.05-.05 1.95-.45 2.75-1.25S8.95 7.77 9 6.73h-.02C9.59 6.37 10 5.73 10 5zM2 1.8c.66 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2C1.35 4.2.8 3.65.8 3c0-.65.55-1.2 1.2-1.2zm0 12.41c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zm6-8c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n created "+e._s(e.event.payload.ref_type)+"\n "),"repository"!==e.event.payload.ref_type?n("span",[n("a",{staticClass:"event-link",attrs:{href:e.link(e.event),target:"_blank"}},[e._v(e._s(e.event.payload.ref))]),e._v("\n at")]):e._e(),e._v(" "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()])},staticRenderFns:[]},void 0,{name:"create-event",props:{event:{required:!0}},methods:{fromNow:l,link:function(e){return"branch"===e.payload.ref_type?"https://github.com/"+e.repo.name+"/tree/"+e.payload.ref:"https://github.com/"+e.repo.name+"/releases/tag/"+e.payload.ref}}},void 0,!1,void 0,void 0,void 0),p=i({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event"},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 12 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M11 2H9c0-.55-.45-1-1-1H5c-.55 0-1 .45-1 1H2c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1v9c0 .55.45 1 1 1h7c.55 0 1-.45 1-1V5c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1zm-1 12H3V5h1v8h1V5h1v8h1V5h1v8h1V5h1v9zm1-10H2V3h9v1z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n deleted "+e._s(e.event.payload.ref_type)+"\n "),n("a",{staticClass:"event-link",attrs:{href:"#"}},[e._v(e._s(e.event.payload.ref))]),e._v(" at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()])},staticRenderFns:[]},void 0,{name:"delete-event",props:{event:{required:!0}},methods:{fromNow:l}},void 0,!1,void 0,void 0,void 0),_=i({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event"},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 14 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M14 6l-4.9-.64L7 1 4.9 5.36 0 6l3.6 3.26L2.67 14 7 11.67 11.33 14l-.93-4.74L14 6z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n starred\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()])},staticRenderFns:[]},void 0,{name:"watch-event",props:{event:{required:!0}},methods:{fromNow:l}},void 0,!1,void 0,void 0,void 0),u=i({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},["opened"===e.event.payload.action?n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 14 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"}})]):n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M7 10h2v2H7v-2zm2-6H7v5h2V4zm1.5 1.5l-1 1L12 9l4-4.5-1-1L12 7l-1.5-1.5zM8 13.7A5.71 5.71 0 0 1 2.3 8c0-3.14 2.56-5.7 5.7-5.7 1.83 0 3.45.88 4.5 2.2l.92-.92A6.947 6.947 0 0 0 8 1C4.14 1 1 4.14 1 8s3.14 7 7 7 7-3.14 7-7l-1.52 1.52c-.66 2.41-2.86 4.19-5.48 4.19v-.01z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n "+e._s(e.event.payload.action)+" issue\n "),n("a",{staticClass:"event-link",attrs:{href:e.event.payload.issue.html_url,target:"_blank"}},[e._v("\n #"+e._s(e.event.payload.issue.number))]),e._v("\n at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e(),e._v(" "),n("ul",[n("li",{staticClass:"event-text event-detail",staticStyle:{"list-style":"none"}},[e._v("\n "+e._s(e.event.payload.issue.title)+"\n ")])])])},staticRenderFns:[]},void 0,{name:"issues-event",props:{event:{required:!0}},methods:{fromNow:l}},void 0,!1,void 0,void 0,void 0),f=i({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M14 1H2c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2v3.5L7.5 11H14c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1zm0 9H7l-2 2v-2H2V2h12v8z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[n("a",{staticClass:"event-link",attrs:{href:e.event.payload.comment.html_url,target:"_blank"}},[e._v("\n commented\n ")]),e._v("\n on "+e._s(e.event.payload.issue.pull_request?"pull request":"issue")+"\n "),n("a",{staticClass:"event-link",attrs:{href:e.event.payload.issue.html_url,target:"_blank"}},[e._v("\n #"+e._s(e.event.payload.issue.number))]),e._v("\n at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()])},staticRenderFns:[]},void 0,{name:"issue-comment-event",props:{event:{required:!0}},methods:{fromNow:l}},void 0,!1,void 0,void 0,void 0),g=i({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event"},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 10 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M8 1a1.993 1.993 0 0 0-1 3.72V6L5 8 3 6V4.72A1.993 1.993 0 0 0 2 1a1.993 1.993 0 0 0-1 3.72V6.5l3 3v1.78A1.993 1.993 0 0 0 5 15a1.993 1.993 0 0 0 1-3.72V9.5l3-3V4.72A1.993 1.993 0 0 0 8 1zM2 4.2C1.34 4.2.8 3.65.8 3c0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zm3 10c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zm3-10c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n forked\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))]),e._v("\n to\n "),n("a",{staticClass:"event-link",attrs:{href:e.event.payload.forkee.html_url,target:"_blank"}},[e._v(e._s(e.event.payload.forkee.full_name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()])},staticRenderFns:[]},void 0,{name:"fork-event",props:{event:{required:!0}},methods:{fromNow:l}},void 0,!1,void 0,void 0,void 0),b=i({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M14 1H2c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2v3.5L7.5 11H14c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1zm0 9H7l-2 2v-2H2V2h12v8z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[n("a",{staticClass:"event-link",attrs:{href:e.event.payload.comment.html_url,target:"_blank"}},[e._v("\n commented\n ")]),e._v("\n on commit\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name+"/commit/"+e.event.payload.comment.commit_id,target:"_blank"}},[e._v("\n "+e._s(e.hash(e.event.payload.comment.commit_id)))]),e._v("\n at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()])},staticRenderFns:[]},void 0,{name:"commit-comment-event",props:{event:{required:!0}},methods:{fromNow:l,hash:c}},void 0,!1,void 0,void 0,void 0),w=i({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event"},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M4.79 6.11c.25-.25.25-.67 0-.92-.32-.33-.48-.76-.48-1.19 0-.43.16-.86.48-1.19.25-.26.25-.67 0-.92a.613.613 0 0 0-.45-.19c-.16 0-.33.06-.45.19-.57.58-.85 1.35-.85 2.11 0 .76.29 1.53.85 2.11.25.25.66.25.9 0zM2.33.52a.651.651 0 0 0-.92 0C.48 1.48.01 2.74.01 3.99c0 1.26.47 2.52 1.4 3.48.25.26.66.26.91 0s.25-.68 0-.94c-.68-.7-1.02-1.62-1.02-2.54 0-.92.34-1.84 1.02-2.54a.66.66 0 0 0 .01-.93zm5.69 5.1A1.62 1.62 0 1 0 6.4 4c-.01.89.72 1.62 1.62 1.62zM14.59.53a.628.628 0 0 0-.91 0c-.25.26-.25.68 0 .94.68.7 1.02 1.62 1.02 2.54 0 .92-.34 1.83-1.02 2.54-.25.26-.25.68 0 .94a.651.651 0 0 0 .92 0c.93-.96 1.4-2.22 1.4-3.48A5.048 5.048 0 0 0 14.59.53zM8.02 6.92c-.41 0-.83-.1-1.2-.3l-3.15 8.37h1.49l.86-1h4l.84 1h1.49L9.21 6.62c-.38.2-.78.3-1.19.3zm-.01.48L9.02 11h-2l.99-3.6zm-1.99 5.59l1-1h2l1 1h-4zm5.19-11.1c-.25.25-.25.67 0 .92.32.33.48.76.48 1.19 0 .43-.16.86-.48 1.19-.25.26-.25.67 0 .92a.63.63 0 0 0 .9 0c.57-.58.85-1.35.85-2.11 0-.76-.28-1.53-.85-2.11a.634.634 0 0 0-.9 0z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n open sourced\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()])},staticRenderFns:[]},void 0,{name:"public-event",props:{event:{required:!0}},methods:{fromNow:l}},void 0,!1,void 0,void 0,void 0);function y(e){e.component("github-feed",r),e.component("push-event",d),e.component("pull-request-event",h),e.component("create-event",m),e.component("watch-event",_),e.component("delete-event",p),e.component("issues-event",u),e.component("issue-comment-event",f),e.component("commit-comment-event",b),e.component("fork-event",g),e.component("public-event",w)}var C={install:y},x=null;return"undefined"!=typeof window?x=window.Vue:"undefined"!=typeof global&&(x=global.Vue),x&&x.use(C),e.CommitCommentEvent=b,e.CreateEvent=m,e.DeleteEvent=p,e.ForkEvent=g,e.GithubFeed=r,e.IssueCommentEvent=f,e.IssuesEvent=u,e.PublicEvent=w,e.PullRequestEvent=h,e.PushEvent=d,e.WatchEvent=_,e.default=C,e.install=y,e}({}); |
@@ -190,3 +190,3 @@ 'use strict';Object.defineProperty(exports,'__esModule',{value:true});var service = { | ||
/* template */ | ||
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"feed"},[_vm._ssrNode("<div class=\"header-wrapper\">","</div>",[_vm._ssrNode("<div class=\"header\">","</div>",[_c('octicon',{staticClass:"github-icon",attrs:{"name":"mark-github","scale":"3"}}),_vm._ssrNode(" <a"+(_vm._ssrAttr("href",_vm.user.html_url))+" target=\"_blank\" class=\"github-profile\"><div style=\"font-size: 26px; line-height: 30px\">"+_vm._ssrEscape("\n "+_vm._s(_vm.user.name)+"\n ")+"</div> <div class=\"github-username\">"+_vm._ssrEscape("\n "+_vm._s(_vm.user.login)+"\n ")+"</div></a>")],2)]),_vm._ssrNode(" "),_vm._ssrNode("<div class=\"events-wrapper\">","</div>",[_vm._ssrNode("<div class=\"feed-list\">","</div>",[_vm._ssrNode("<div class=\"event-list\">","</div>",_vm._l((_vm.events),function(event){return _vm._ssrNode("<div>","</div>",[(event.type === 'PushEvent')?_c('push-event',{attrs:{"event":event}}):_vm._e(),_vm._ssrNode(" "),(event.type === 'PullRequestEvent')?_c('pull-request-event',{attrs:{"event":event}}):_vm._e(),_vm._ssrNode(" "),(event.type === 'CreateEvent')?_c('create-event',{attrs:{"event":event}}):_vm._e(),_vm._ssrNode(" "),(event.type === 'WatchEvent')?_c('watch-event',{attrs:{"event":event}}):_vm._e(),_vm._ssrNode(" "),(event.type === 'DeleteEvent')?_c('delete-event',{attrs:{"event":event}}):_vm._e(),_vm._ssrNode(" "),(event.type === 'IssuesEvent')?_c('issues-event',{attrs:{"event":event}}):_vm._e(),_vm._ssrNode(" "),(event.type === 'IssueCommentEvent')?_c('issue-comment-event',{attrs:{"event":event}}):_vm._e(),_vm._ssrNode(" "),(event.type === 'ForkEvent')?_c('fork-event',{attrs:{"event":event}}):_vm._e(),_vm._ssrNode(" "),(event.type === 'CommitCommentEvent')?_c('commit-comment-event',{attrs:{"event":event}}):_vm._e(),_vm._ssrNode(" "),(event.type === 'PublicEvent')?_c('public-event',{attrs:{"event":event}}):_vm._e()],2)}),0)])])],2)}; | ||
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"feed"},[_vm._ssrNode("<div class=\"header-wrapper\"><div class=\"header\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"35\" height=\"35\" viewBox=\"0 0 16 16\" class=\"github-icon\"><path fill-rule=\"evenodd\" d=\"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z\"></path></svg> <a"+(_vm._ssrAttr("href",_vm.user.html_url))+" target=\"_blank\" class=\"github-profile\"><div style=\"font-size: 26px; line-height: 30px\">"+_vm._ssrEscape("\n "+_vm._s(_vm.user.name)+"\n ")+"</div> <div class=\"github-username\">"+_vm._ssrEscape("\n "+_vm._s(_vm.user.login)+"\n ")+"</div></a></div></div> "),_vm._ssrNode("<div class=\"events-wrapper\">","</div>",[_vm._ssrNode("<div class=\"feed-list\">","</div>",[_vm._ssrNode("<div class=\"event-list\">","</div>",_vm._l((_vm.events),function(event){return _vm._ssrNode("<div>","</div>",[(event.type === 'PushEvent')?_c('push-event',{attrs:{"event":event}}):_vm._e(),_vm._ssrNode(" "),(event.type === 'PullRequestEvent')?_c('pull-request-event',{attrs:{"event":event}}):_vm._e(),_vm._ssrNode(" "),(event.type === 'CreateEvent')?_c('create-event',{attrs:{"event":event}}):_vm._e(),_vm._ssrNode(" "),(event.type === 'WatchEvent')?_c('watch-event',{attrs:{"event":event}}):_vm._e(),_vm._ssrNode(" "),(event.type === 'DeleteEvent')?_c('delete-event',{attrs:{"event":event}}):_vm._e(),_vm._ssrNode(" "),(event.type === 'IssuesEvent')?_c('issues-event',{attrs:{"event":event}}):_vm._e(),_vm._ssrNode(" "),(event.type === 'IssueCommentEvent')?_c('issue-comment-event',{attrs:{"event":event}}):_vm._e(),_vm._ssrNode(" "),(event.type === 'ForkEvent')?_c('fork-event',{attrs:{"event":event}}):_vm._e(),_vm._ssrNode(" "),(event.type === 'CommitCommentEvent')?_c('commit-comment-event',{attrs:{"event":event}}):_vm._e(),_vm._ssrNode(" "),(event.type === 'PublicEvent')?_c('public-event',{attrs:{"event":event}}):_vm._e()],2)}),0)])])],2)}; | ||
var __vue_staticRenderFns__ = []; | ||
@@ -197,3 +197,3 @@ | ||
if (!inject) { return } | ||
inject("data-v-413f8d63_0", { source: ".feed{position:relative;display:table;height:500px;min-height:200px;width:100%;min-width:100%;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Fira Sans','Droid Sans','Helvetica Neue',Arial,sans-serif;font-size:1rem;color:#373a3c}.header-wrapper{display:table-row;height:1px}.header{display:table-cell;top:1px;left:1px;padding:10px;border-bottom:1px solid #ddd}.github-icon{display:inline-flex;float:left;padding:9px 0 0;width:35px;height:35px}.github-username{font-size:20px;font-style:normal;font-weight:300;line-height:24px;color:#666}.github-profile{display:inline-flexbox;float:left;margin:0 auto;padding:6px 10px 5px;color:#495961;font-size:20px;text-decoration:none;margin-left:10px}.github-profile:hover{color:#495961;text-decoration:none}.events-wrapper{height:100%;display:table-row}.feed-list{overflow-y:auto;position:relative;display:table-cell}.event-list{overflow-y:scroll;max-height:500px;width:100%;min-height:100px}.github-event{border-top:1px solid #f1f1f1;padding:1em 0 0;padding:1.5em 0 1.5em 25px}.event-octicon{color:#bbb;margin-right:10px}.event-time{display:inline-block;font-size:12px;margin-left:3px;color:#bbb}.event-link{color:#1798d8}.event-link:hover{color:#1798d8}.event-text{font-size:13px}.event-detail{color:#666}@media only screen and (min-device-width:320px) and (max-device-width:480px) and (-webkit-min-device-pixel-ratio:2){.event-octicon{display:none!important}}", map: undefined, media: undefined }); | ||
inject("data-v-17a4c7b6_0", { source: ".feed{position:relative;display:table;height:500px;min-height:200px;width:100%;min-width:100%;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Fira Sans','Droid Sans','Helvetica Neue',Arial,sans-serif;font-size:1rem;color:#373a3c}.header-wrapper{display:table-row;height:1px}.header{display:table-cell;top:1px;left:1px;padding:10px;border-bottom:1px solid #ddd}.github-icon{display:inline-flex;float:left;padding:9px 0 0;width:35px;height:35px}.github-username{font-size:20px;font-style:normal;font-weight:300;line-height:24px;color:#666}.github-profile{display:inline-flexbox;float:left;margin:0 auto;padding:6px 10px 5px;color:#495961;font-size:20px;text-decoration:none;margin-left:10px}.github-profile:hover{color:#495961;text-decoration:none}.events-wrapper{height:100%;display:table-row}.feed-list{overflow-y:auto;position:relative;display:table-cell}.event-list{overflow-y:scroll;max-height:500px;width:100%;min-height:100px}.github-event{border-top:1px solid #f1f1f1;padding:1em 0 0;padding:1.5em 0 1.5em 25px}.event-octicon{color:#bbb;fill:#bbb;margin-right:10px}.event-time{display:inline-block;font-size:12px;margin-left:3px;color:#bbb}.event-link{color:#1798d8}.event-link:hover{color:#1798d8}.event-text{font-size:13px}.event-detail{color:#666}@media only screen and (min-device-width:320px) and (max-device-width:480px) and (-webkit-min-device-pixel-ratio:2){.event-octicon{display:none!important}}", map: undefined, media: undefined }); | ||
@@ -204,3 +204,3 @@ }; | ||
/* module identifier */ | ||
var __vue_module_identifier__ = "data-v-413f8d63"; | ||
var __vue_module_identifier__ = "data-v-17a4c7b6"; | ||
/* functional template */ | ||
@@ -294,3 +294,3 @@ var __vue_is_functional_template__ = false; | ||
/* template */ | ||
var __vue_render__$1 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[_c('octicon',{staticClass:"event-octicon",attrs:{"name":"repo-push"}}),_vm._ssrNode(" "+((_vm.event)?("<div class=\"event-text\" style=\"display: inline-block;\"><a style=\"text-transform: capitalize;\">"+_vm._ssrEscape(_vm._s(_vm.event.actor.login))+"</a> <b>\n pushed to\n <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name + '/tree/' + _vm.branch(_vm.event.payload.ref)))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.branch(_vm.event.payload.ref)))+"</a>\n at\n <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.repo.name))+"</a></b></div>"):"<!---->")+" "+((_vm.event)?("<div class=\"event-time\">"+_vm._ssrEscape("\n "+_vm._s(_vm.fromNow(_vm.event.created_at))+"\n ")+"</div>"):"<!---->")+" <ul>"+(_vm._ssrList((_vm.event.payload.commits),function(commit){return ("<li class=\"event-text event-detail\" style=\"list-style: none\"><a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name + '/commit/' + commit.sha))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.hash(commit.sha)))+"</a>"+_vm._ssrEscape("\n "+_vm._s(commit.message)+"\n ")+"</li>")}))+"</ul>")],2)}; | ||
var __vue_render__$1 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[_vm._ssrNode("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 12 16\" class=\"event-octicon\"><path fill-rule=\"evenodd\" d=\"M4 3H3V2h1v1zM3 5h1V4H3v1zm4 0L4 9h2v7h2V9h2L7 5zm4-5H1C.45 0 0 .45 0 1v12c0 .55.45 1 1 1h4v-1H1v-2h4v-1H2V1h9.02L11 10H9v1h2v2H9v1h2c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1z\"></path></svg> "+((_vm.event)?("<div class=\"event-text\" style=\"display: inline-block;\"><a style=\"text-transform: capitalize;\">"+_vm._ssrEscape(_vm._s(_vm.event.actor.login))+"</a> <b>\n pushed to\n <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name + '/tree/' + _vm.branch(_vm.event.payload.ref)))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.branch(_vm.event.payload.ref)))+"</a>\n at\n <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.repo.name))+"</a></b></div>"):"<!---->")+" "+((_vm.event)?("<div class=\"event-time\">"+_vm._ssrEscape("\n "+_vm._s(_vm.fromNow(_vm.event.created_at))+"\n ")+"</div>"):"<!---->")+" <ul>"+(_vm._ssrList((_vm.event.payload.commits),function(commit){return ("<li class=\"event-text event-detail\" style=\"list-style: none\"><a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name + '/commit/' + commit.sha))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.hash(commit.sha)))+"</a>"+_vm._ssrEscape("\n "+_vm._s(commit.message)+"\n ")+"</li>")}))+"</ul>")])}; | ||
var __vue_staticRenderFns__$1 = []; | ||
@@ -303,3 +303,3 @@ | ||
/* module identifier */ | ||
var __vue_module_identifier__$1 = "data-v-6b728a39"; | ||
var __vue_module_identifier__$1 = "data-v-28cf7da8"; | ||
/* functional template */ | ||
@@ -336,3 +336,3 @@ var __vue_is_functional_template__$1 = false; | ||
/* template */ | ||
var __vue_render__$2 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[_c('octicon',{staticClass:"event-octicon",attrs:{"name":"git-pull-request"}}),_vm._ssrNode(" "+((_vm.event)?("<div class=\"event-text\" style=\"display: inline-block;\"><a style=\"text-transform: capitalize;\">"+_vm._ssrEscape(_vm._s(_vm.event.actor.login))+"</a> <b>"+_vm._ssrEscape("\n "+_vm._s(_vm.event.payload.action)+" pull request")+"<a"+(_vm._ssrAttr("href",_vm.event.payload.pull_request.html_url))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape("\n #"+_vm._s(_vm.event.payload.number))+"</a>\n at\n <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.repo.name))+"</a></b></div>"):"<!---->")+" "+((_vm.event)?("<div class=\"event-time\">"+_vm._ssrEscape("\n "+_vm._s(_vm.fromNow(_vm.event.created_at))+"\n ")+"</div>"):"<!---->")+" <ul><li class=\"event-text event-detail\" style=\"list-style: none\">"+((_vm.event.payload.pull_request.merged)?("<b>[MERGED]</b>"):"<!---->")+_vm._ssrEscape("\n "+_vm._s(_vm.event.payload.pull_request.title)+"\n ")+"</li></ul>")],2)}; | ||
var __vue_render__$2 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[_vm._ssrNode("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 12 16\" class=\"event-octicon\"><path fill-rule=\"evenodd\" d=\"M11 11.28V5c-.03-.78-.34-1.47-.94-2.06C9.46 2.35 8.78 2.03 8 2H7V0L4 3l3 3V4h1c.27.02.48.11.69.31.21.2.3.42.31.69v6.28A1.993 1.993 0 0 0 10 15a1.993 1.993 0 0 0 1-3.72zm-1 2.92c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zM4 3c0-1.11-.89-2-2-2a1.993 1.993 0 0 0-1 3.72v6.56A1.993 1.993 0 0 0 2 15a1.993 1.993 0 0 0 1-3.72V4.72c.59-.34 1-.98 1-1.72zm-.8 10c0 .66-.55 1.2-1.2 1.2-.65 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2zM2 4.2C1.34 4.2.8 3.65.8 3c0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2z\"></path></svg> "+((_vm.event)?("<div class=\"event-text\" style=\"display: inline-block;\"><a style=\"text-transform: capitalize;\">"+_vm._ssrEscape(_vm._s(_vm.event.actor.login))+"</a> <b>"+_vm._ssrEscape("\n "+_vm._s(_vm.event.payload.action)+" pull request")+"<a"+(_vm._ssrAttr("href",_vm.event.payload.pull_request.html_url))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape("\n #"+_vm._s(_vm.event.payload.number))+"</a>\n at\n <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.repo.name))+"</a></b></div>"):"<!---->")+" "+((_vm.event)?("<div class=\"event-time\">"+_vm._ssrEscape("\n "+_vm._s(_vm.fromNow(_vm.event.created_at))+"\n ")+"</div>"):"<!---->")+" <ul><li class=\"event-text event-detail\" style=\"list-style: none\">"+((_vm.event.payload.pull_request.merged)?("<b>[MERGED]</b>"):"<!---->")+_vm._ssrEscape("\n "+_vm._s(_vm.event.payload.pull_request.title)+"\n ")+"</li></ul>")])}; | ||
var __vue_staticRenderFns__$2 = []; | ||
@@ -345,3 +345,3 @@ | ||
/* module identifier */ | ||
var __vue_module_identifier__$2 = "data-v-75a5f371"; | ||
var __vue_module_identifier__$2 = "data-v-844fb8da"; | ||
/* functional template */ | ||
@@ -385,3 +385,3 @@ var __vue_is_functional_template__$2 = false; | ||
/* template */ | ||
var __vue_render__$3 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"github-event"},[_c('octicon',{staticClass:"event-octicon",attrs:{"name":_vm.event.payload.ref_type === 'repository' ? 'repo' : 'git-branch'}}),_vm._ssrNode(" "+((_vm.event)?("<div class=\"event-text\" style=\"display: inline-block;\"><a style=\"text-transform: capitalize;\">"+_vm._ssrEscape(_vm._s(_vm.event.actor.login))+"</a> <b>"+_vm._ssrEscape("\n created "+_vm._s(_vm.event.payload.ref_type)+"\n ")+((_vm.event.payload.ref_type !== 'repository')?("<span><a"+(_vm._ssrAttr("href",_vm.link(_vm.event)))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.payload.ref))+"</a>\n at</span>"):"<!---->")+" <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.repo.name))+"</a></b></div>"):"<!---->")+" "+((_vm.event)?("<div class=\"event-time\">"+_vm._ssrEscape("\n "+_vm._s(_vm.fromNow(_vm.event.created_at))+"\n ")+"</div>"):"<!---->"))],2)}; | ||
var __vue_render__$3 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"github-event"},[_vm._ssrNode(((_vm.event.payload.ref_type === 'repository')?("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 12 16\" class=\"event-octicon\"><path fill-rule=\"evenodd\" d=\"M4 9H3V8h1v1zm0-3H3v1h1V6zm0-2H3v1h1V4zm0-2H3v1h1V2zm8-1v12c0 .55-.45 1-1 1H6v2l-1.5-1.5L3 16v-2H1c-.55 0-1-.45-1-1V1c0-.55.45-1 1-1h10c.55 0 1 .45 1 1zm-1 10H1v2h2v-1h3v1h5v-2zm0-10H2v9h9V1z\"></path></svg>"):("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 10 16\" class=\"event-octicon\"><path fill-rule=\"evenodd\" d=\"M10 5c0-1.11-.89-2-2-2a1.993 1.993 0 0 0-1 3.72v.3c-.02.52-.23.98-.63 1.38-.4.4-.86.61-1.38.63-.83.02-1.48.16-2 .45V4.72a1.993 1.993 0 0 0-1-3.72C.88 1 0 1.89 0 3a2 2 0 0 0 1 1.72v6.56c-.59.35-1 .99-1 1.72 0 1.11.89 2 2 2 1.11 0 2-.89 2-2 0-.53-.2-1-.53-1.36.09-.06.48-.41.59-.47.25-.11.56-.17.94-.17 1.05-.05 1.95-.45 2.75-1.25S8.95 7.77 9 6.73h-.02C9.59 6.37 10 5.73 10 5zM2 1.8c.66 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2C1.35 4.2.8 3.65.8 3c0-.65.55-1.2 1.2-1.2zm0 12.41c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zm6-8c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2z\"></path></svg>"))+" "+((_vm.event)?("<div class=\"event-text\" style=\"display: inline-block;\"><a style=\"text-transform: capitalize;\">"+_vm._ssrEscape(_vm._s(_vm.event.actor.login))+"</a> <b>"+_vm._ssrEscape("\n created "+_vm._s(_vm.event.payload.ref_type)+"\n ")+((_vm.event.payload.ref_type !== 'repository')?("<span><a"+(_vm._ssrAttr("href",_vm.link(_vm.event)))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.payload.ref))+"</a>\n at</span>"):"<!---->")+" <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.repo.name))+"</a></b></div>"):"<!---->")+" "+((_vm.event)?("<div class=\"event-time\">"+_vm._ssrEscape("\n "+_vm._s(_vm.fromNow(_vm.event.created_at))+"\n ")+"</div>"):"<!---->"))])}; | ||
var __vue_staticRenderFns__$3 = []; | ||
@@ -394,3 +394,3 @@ | ||
/* module identifier */ | ||
var __vue_module_identifier__$3 = "data-v-d54fb15a"; | ||
var __vue_module_identifier__$3 = "data-v-bdac5782"; | ||
/* functional template */ | ||
@@ -427,3 +427,3 @@ var __vue_is_functional_template__$3 = false; | ||
/* template */ | ||
var __vue_render__$4 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"github-event"},[_c('octicon',{staticClass:"event-octicon",attrs:{"name":"trashcan"}}),_vm._ssrNode(" "+((_vm.event)?("<div class=\"event-text\" style=\"display: inline-block;\"><a style=\"text-transform: capitalize;\">"+_vm._ssrEscape(_vm._s(_vm.event.actor.login))+"</a> <b>"+_vm._ssrEscape("\n deleted "+_vm._s(_vm.event.payload.ref_type)+"\n ")+"<a href=\"#\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.payload.ref))+"</a> at\n <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.repo.name))+"</a></b></div>"):"<!---->")+" "+((_vm.event)?("<div class=\"event-time\">"+_vm._ssrEscape("\n "+_vm._s(_vm.fromNow(_vm.event.created_at))+"\n ")+"</div>"):"<!---->"))],2)}; | ||
var __vue_render__$4 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"github-event"},[_vm._ssrNode("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 12 16\" class=\"event-octicon\"><path fill-rule=\"evenodd\" d=\"M11 2H9c0-.55-.45-1-1-1H5c-.55 0-1 .45-1 1H2c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1v9c0 .55.45 1 1 1h7c.55 0 1-.45 1-1V5c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1zm-1 12H3V5h1v8h1V5h1v8h1V5h1v8h1V5h1v9zm1-10H2V3h9v1z\"></path></svg> "+((_vm.event)?("<div class=\"event-text\" style=\"display: inline-block;\"><a style=\"text-transform: capitalize;\">"+_vm._ssrEscape(_vm._s(_vm.event.actor.login))+"</a> <b>"+_vm._ssrEscape("\n deleted "+_vm._s(_vm.event.payload.ref_type)+"\n ")+"<a href=\"#\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.payload.ref))+"</a> at\n <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.repo.name))+"</a></b></div>"):"<!---->")+" "+((_vm.event)?("<div class=\"event-time\">"+_vm._ssrEscape("\n "+_vm._s(_vm.fromNow(_vm.event.created_at))+"\n ")+"</div>"):"<!---->"))])}; | ||
var __vue_staticRenderFns__$4 = []; | ||
@@ -436,3 +436,3 @@ | ||
/* module identifier */ | ||
var __vue_module_identifier__$4 = "data-v-a1f8c24a"; | ||
var __vue_module_identifier__$4 = "data-v-e73a7c6a"; | ||
/* functional template */ | ||
@@ -459,3 +459,3 @@ var __vue_is_functional_template__$4 = false; | ||
name: 'watch-event', | ||
props: { | ||
props: { | ||
event: { required: true } | ||
@@ -470,3 +470,3 @@ }, | ||
/* template */ | ||
var __vue_render__$5 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"github-event"},[_c('octicon',{staticClass:"event-octicon octicon octicon-star dashboard-event-icon",attrs:{"name":"star"}}),_vm._ssrNode(" "+((_vm.event)?("<div class=\"event-text\" style=\"display: inline-block;\"><a style=\"text-transform: capitalize;\">"+_vm._ssrEscape(_vm._s(_vm.event.actor.login))+"</a> <b>\n starred\n <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.repo.name))+"</a></b></div>"):"<!---->")+" "+((_vm.event)?("<div class=\"event-time\">"+_vm._ssrEscape("\n "+_vm._s(_vm.fromNow(_vm.event.created_at))+"\n ")+"</div>"):"<!---->"))],2)}; | ||
var __vue_render__$5 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"github-event"},[_vm._ssrNode("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 14 16\" class=\"event-octicon\"><path fill-rule=\"evenodd\" d=\"M14 6l-4.9-.64L7 1 4.9 5.36 0 6l3.6 3.26L2.67 14 7 11.67 11.33 14l-.93-4.74L14 6z\"></path></svg> "+((_vm.event)?("<div class=\"event-text\" style=\"display: inline-block;\"><a style=\"text-transform: capitalize;\">"+_vm._ssrEscape(_vm._s(_vm.event.actor.login))+"</a> <b>\n starred\n <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.repo.name))+"</a></b></div>"):"<!---->")+" "+((_vm.event)?("<div class=\"event-time\">"+_vm._ssrEscape("\n "+_vm._s(_vm.fromNow(_vm.event.created_at))+"\n ")+"</div>"):"<!---->"))])}; | ||
var __vue_staticRenderFns__$5 = []; | ||
@@ -479,3 +479,3 @@ | ||
/* module identifier */ | ||
var __vue_module_identifier__$5 = "data-v-de9f5b9e"; | ||
var __vue_module_identifier__$5 = "data-v-4ba90b32"; | ||
/* functional template */ | ||
@@ -512,3 +512,3 @@ var __vue_is_functional_template__$5 = false; | ||
/* template */ | ||
var __vue_render__$6 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[_c('octicon',{staticClass:"event-octicon",attrs:{"name":_vm.event.payload.action === 'opened' ? 'octicon-issue-opened' : 'octicon-issue-closed'}}),_vm._ssrNode(" "+((_vm.event)?("<div class=\"event-text\" style=\"display: inline-block;\"><a style=\"text-transform: capitalize;\">"+_vm._ssrEscape(_vm._s(_vm.event.actor.login))+"</a> <b>"+_vm._ssrEscape("\n "+_vm._s(_vm.event.payload.action)+" issue\n ")+"<a"+(_vm._ssrAttr("href",_vm.event.payload.issue.html_url))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape("\n #"+_vm._s(_vm.event.payload.issue.number))+"</a>\n at\n <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.repo.name))+"</a></b></div>"):"<!---->")+" "+((_vm.event)?("<div class=\"event-time\">"+_vm._ssrEscape("\n "+_vm._s(_vm.fromNow(_vm.event.created_at))+"\n ")+"</div>"):"<!---->")+" <ul><li class=\"event-text event-detail\" style=\"list-style: none\">"+_vm._ssrEscape("\n "+_vm._s(_vm.event.payload.issue.title)+"\n ")+"</li></ul>")],2)}; | ||
var __vue_render__$6 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[_vm._ssrNode(((_vm.event.payload.action === 'opened')?("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 14 16\" class=\"event-octicon\"><path fill-rule=\"evenodd\" d=\"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z\"></path></svg>"):("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"event-octicon\"><path fill-rule=\"evenodd\" d=\"M7 10h2v2H7v-2zm2-6H7v5h2V4zm1.5 1.5l-1 1L12 9l4-4.5-1-1L12 7l-1.5-1.5zM8 13.7A5.71 5.71 0 0 1 2.3 8c0-3.14 2.56-5.7 5.7-5.7 1.83 0 3.45.88 4.5 2.2l.92-.92A6.947 6.947 0 0 0 8 1C4.14 1 1 4.14 1 8s3.14 7 7 7 7-3.14 7-7l-1.52 1.52c-.66 2.41-2.86 4.19-5.48 4.19v-.01z\"></path></svg>"))+" "+((_vm.event)?("<div class=\"event-text\" style=\"display: inline-block;\"><a style=\"text-transform: capitalize;\">"+_vm._ssrEscape(_vm._s(_vm.event.actor.login))+"</a> <b>"+_vm._ssrEscape("\n "+_vm._s(_vm.event.payload.action)+" issue\n ")+"<a"+(_vm._ssrAttr("href",_vm.event.payload.issue.html_url))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape("\n #"+_vm._s(_vm.event.payload.issue.number))+"</a>\n at\n <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.repo.name))+"</a></b></div>"):"<!---->")+" "+((_vm.event)?("<div class=\"event-time\">"+_vm._ssrEscape("\n "+_vm._s(_vm.fromNow(_vm.event.created_at))+"\n ")+"</div>"):"<!---->")+" <ul><li class=\"event-text event-detail\" style=\"list-style: none\">"+_vm._ssrEscape("\n "+_vm._s(_vm.event.payload.issue.title)+"\n ")+"</li></ul>")])}; | ||
var __vue_staticRenderFns__$6 = []; | ||
@@ -521,3 +521,3 @@ | ||
/* module identifier */ | ||
var __vue_module_identifier__$6 = "data-v-2778bb4a"; | ||
var __vue_module_identifier__$6 = "data-v-c8871f1c"; | ||
/* functional template */ | ||
@@ -554,3 +554,3 @@ var __vue_is_functional_template__$6 = false; | ||
/* template */ | ||
var __vue_render__$7 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[_c('octicon',{staticClass:"event-octicon octicon dashboard-event-icon octicon-comment",attrs:{"name":"comment"}}),_vm._ssrNode(" "+((_vm.event)?("<div class=\"event-text\" style=\"display: inline-block;\"><a style=\"text-transform: capitalize;\">"+_vm._ssrEscape(_vm._s(_vm.event.actor.login))+"</a> <b><a"+(_vm._ssrAttr("href",_vm.event.payload.comment.html_url))+" target=\"_blank\" class=\"event-link\">\n commented\n </a>"+_vm._ssrEscape("\n on "+_vm._s(_vm.event.payload.issue.pull_request ? 'pull request' : 'issue')+"\n ")+"<a"+(_vm._ssrAttr("href",_vm.event.payload.issue.html_url))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape("\n #"+_vm._s(_vm.event.payload.issue.number))+"</a>\n at\n <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.repo.name))+"</a></b></div>"):"<!---->")+" "+((_vm.event)?("<div class=\"event-time\">"+_vm._ssrEscape("\n "+_vm._s(_vm.fromNow(_vm.event.created_at))+"\n ")+"</div>"):"<!---->"))],2)}; | ||
var __vue_render__$7 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[_vm._ssrNode("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"event-octicon\"><path fill-rule=\"evenodd\" d=\"M14 1H2c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2v3.5L7.5 11H14c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1zm0 9H7l-2 2v-2H2V2h12v8z\"></path></svg> "+((_vm.event)?("<div class=\"event-text\" style=\"display: inline-block;\"><a style=\"text-transform: capitalize;\">"+_vm._ssrEscape(_vm._s(_vm.event.actor.login))+"</a> <b><a"+(_vm._ssrAttr("href",_vm.event.payload.comment.html_url))+" target=\"_blank\" class=\"event-link\">\n commented\n </a>"+_vm._ssrEscape("\n on "+_vm._s(_vm.event.payload.issue.pull_request ? 'pull request' : 'issue')+"\n ")+"<a"+(_vm._ssrAttr("href",_vm.event.payload.issue.html_url))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape("\n #"+_vm._s(_vm.event.payload.issue.number))+"</a>\n at\n <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.repo.name))+"</a></b></div>"):"<!---->")+" "+((_vm.event)?("<div class=\"event-time\">"+_vm._ssrEscape("\n "+_vm._s(_vm.fromNow(_vm.event.created_at))+"\n ")+"</div>"):"<!---->"))])}; | ||
var __vue_staticRenderFns__$7 = []; | ||
@@ -563,3 +563,3 @@ | ||
/* module identifier */ | ||
var __vue_module_identifier__$7 = "data-v-22534916"; | ||
var __vue_module_identifier__$7 = "data-v-7cdfed8c"; | ||
/* functional template */ | ||
@@ -596,3 +596,3 @@ var __vue_is_functional_template__$7 = false; | ||
/* template */ | ||
var __vue_render__$8 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"github-event"},[_c('octicon',{staticClass:"event-octicon",attrs:{"name":"repo-forked"}}),_vm._ssrNode(" "+((_vm.event)?("<div class=\"event-text\" style=\"display: inline-block;\"><a style=\"text-transform: capitalize;\">"+_vm._ssrEscape(_vm._s(_vm.event.actor.login))+"</a> <b>\n forked\n <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.repo.name))+"</a>\n to\n <a"+(_vm._ssrAttr("href",_vm.event.payload.forkee.html_url))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.payload.forkee.full_name))+"</a></b></div>"):"<!---->")+" "+((_vm.event)?("<div class=\"event-time\">"+_vm._ssrEscape("\n "+_vm._s(_vm.fromNow(_vm.event.created_at))+"\n ")+"</div>"):"<!---->"))],2)}; | ||
var __vue_render__$8 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"github-event"},[_vm._ssrNode("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 10 16\" class=\"event-octicon\"><path fill-rule=\"evenodd\" d=\"M8 1a1.993 1.993 0 0 0-1 3.72V6L5 8 3 6V4.72A1.993 1.993 0 0 0 2 1a1.993 1.993 0 0 0-1 3.72V6.5l3 3v1.78A1.993 1.993 0 0 0 5 15a1.993 1.993 0 0 0 1-3.72V9.5l3-3V4.72A1.993 1.993 0 0 0 8 1zM2 4.2C1.34 4.2.8 3.65.8 3c0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zm3 10c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zm3-10c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2z\"></path></svg> "+((_vm.event)?("<div class=\"event-text\" style=\"display: inline-block;\"><a style=\"text-transform: capitalize;\">"+_vm._ssrEscape(_vm._s(_vm.event.actor.login))+"</a> <b>\n forked\n <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.repo.name))+"</a>\n to\n <a"+(_vm._ssrAttr("href",_vm.event.payload.forkee.html_url))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.payload.forkee.full_name))+"</a></b></div>"):"<!---->")+" "+((_vm.event)?("<div class=\"event-time\">"+_vm._ssrEscape("\n "+_vm._s(_vm.fromNow(_vm.event.created_at))+"\n ")+"</div>"):"<!---->"))])}; | ||
var __vue_staticRenderFns__$8 = []; | ||
@@ -605,3 +605,3 @@ | ||
/* module identifier */ | ||
var __vue_module_identifier__$8 = "data-v-7a46a3a2"; | ||
var __vue_module_identifier__$8 = "data-v-7e1b7c8f"; | ||
/* functional template */ | ||
@@ -639,3 +639,3 @@ var __vue_is_functional_template__$8 = false; | ||
/* template */ | ||
var __vue_render__$9 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[_c('octicon',{staticClass:"event-octicon",attrs:{"name":"comment"}}),_vm._ssrNode(" "+((_vm.event)?("<div class=\"event-text\" style=\"display: inline-block;\"><a style=\"text-transform: capitalize;\">"+_vm._ssrEscape(_vm._s(_vm.event.actor.login))+"</a> <b><a"+(_vm._ssrAttr("href",_vm.event.payload.comment.html_url))+" target=\"_blank\" class=\"event-link\">\n commented\n </a>\n on commit\n <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name + '/commit/' + _vm.event.payload.comment.commit_id))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape("\n "+_vm._s(_vm.hash(_vm.event.payload.comment.commit_id)))+"</a>\n at\n <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.repo.name))+"</a></b></div>"):"<!---->")+" "+((_vm.event)?("<div class=\"event-time\">"+_vm._ssrEscape("\n "+_vm._s(_vm.fromNow(_vm.event.created_at))+"\n ")+"</div>"):"<!---->"))],2)}; | ||
var __vue_render__$9 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[_vm._ssrNode("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"event-octicon\"><path fill-rule=\"evenodd\" d=\"M14 1H2c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2v3.5L7.5 11H14c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1zm0 9H7l-2 2v-2H2V2h12v8z\"></path></svg> "+((_vm.event)?("<div class=\"event-text\" style=\"display: inline-block;\"><a style=\"text-transform: capitalize;\">"+_vm._ssrEscape(_vm._s(_vm.event.actor.login))+"</a> <b><a"+(_vm._ssrAttr("href",_vm.event.payload.comment.html_url))+" target=\"_blank\" class=\"event-link\">\n commented\n </a>\n on commit\n <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name + '/commit/' + _vm.event.payload.comment.commit_id))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape("\n "+_vm._s(_vm.hash(_vm.event.payload.comment.commit_id)))+"</a>\n at\n <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.repo.name))+"</a></b></div>"):"<!---->")+" "+((_vm.event)?("<div class=\"event-time\">"+_vm._ssrEscape("\n "+_vm._s(_vm.fromNow(_vm.event.created_at))+"\n ")+"</div>"):"<!---->"))])}; | ||
var __vue_staticRenderFns__$9 = []; | ||
@@ -648,3 +648,3 @@ | ||
/* module identifier */ | ||
var __vue_module_identifier__$9 = "data-v-8287a246"; | ||
var __vue_module_identifier__$9 = "data-v-71c27444"; | ||
/* functional template */ | ||
@@ -681,3 +681,3 @@ var __vue_is_functional_template__$9 = false; | ||
/* template */ | ||
var __vue_render__$a = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"github-event"},[_c('octicon',{staticClass:"event-octicon",attrs:{"name":"radio-tower"}}),_vm._ssrNode(" "+((_vm.event)?("<div class=\"event-text\" style=\"display: inline-block;\"><a style=\"text-transform: capitalize;\">"+_vm._ssrEscape(_vm._s(_vm.event.actor.login))+"</a> <b>\n open sourced\n <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.repo.name))+"</a></b></div>"):"<!---->")+" "+((_vm.event)?("<div class=\"event-time\">"+_vm._ssrEscape("\n "+_vm._s(_vm.fromNow(_vm.event.created_at))+"\n ")+"</div>"):"<!---->"))],2)}; | ||
var __vue_render__$a = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"github-event"},[_vm._ssrNode("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"event-octicon\"><path fill-rule=\"evenodd\" d=\"M4.79 6.11c.25-.25.25-.67 0-.92-.32-.33-.48-.76-.48-1.19 0-.43.16-.86.48-1.19.25-.26.25-.67 0-.92a.613.613 0 0 0-.45-.19c-.16 0-.33.06-.45.19-.57.58-.85 1.35-.85 2.11 0 .76.29 1.53.85 2.11.25.25.66.25.9 0zM2.33.52a.651.651 0 0 0-.92 0C.48 1.48.01 2.74.01 3.99c0 1.26.47 2.52 1.4 3.48.25.26.66.26.91 0s.25-.68 0-.94c-.68-.7-1.02-1.62-1.02-2.54 0-.92.34-1.84 1.02-2.54a.66.66 0 0 0 .01-.93zm5.69 5.1A1.62 1.62 0 1 0 6.4 4c-.01.89.72 1.62 1.62 1.62zM14.59.53a.628.628 0 0 0-.91 0c-.25.26-.25.68 0 .94.68.7 1.02 1.62 1.02 2.54 0 .92-.34 1.83-1.02 2.54-.25.26-.25.68 0 .94a.651.651 0 0 0 .92 0c.93-.96 1.4-2.22 1.4-3.48A5.048 5.048 0 0 0 14.59.53zM8.02 6.92c-.41 0-.83-.1-1.2-.3l-3.15 8.37h1.49l.86-1h4l.84 1h1.49L9.21 6.62c-.38.2-.78.3-1.19.3zm-.01.48L9.02 11h-2l.99-3.6zm-1.99 5.59l1-1h2l1 1h-4zm5.19-11.1c-.25.25-.25.67 0 .92.32.33.48.76.48 1.19 0 .43-.16.86-.48 1.19-.25.26-.25.67 0 .92a.63.63 0 0 0 .9 0c.57-.58.85-1.35.85-2.11 0-.76-.28-1.53-.85-2.11a.634.634 0 0 0-.9 0z\"></path></svg> "+((_vm.event)?("<div class=\"event-text\" style=\"display: inline-block;\"><a style=\"text-transform: capitalize;\">"+_vm._ssrEscape(_vm._s(_vm.event.actor.login))+"</a> <b>\n open sourced\n <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.repo.name))+"</a></b></div>"):"<!---->")+" "+((_vm.event)?("<div class=\"event-time\">"+_vm._ssrEscape("\n "+_vm._s(_vm.fromNow(_vm.event.created_at))+"\n ")+"</div>"):"<!---->"))])}; | ||
var __vue_staticRenderFns__$a = []; | ||
@@ -690,3 +690,3 @@ | ||
/* module identifier */ | ||
var __vue_module_identifier__$a = "data-v-536f5718"; | ||
var __vue_module_identifier__$a = "data-v-40b16c12"; | ||
/* functional template */ | ||
@@ -693,0 +693,0 @@ var __vue_is_functional_template__$a = false; |
{ | ||
"name": "v-github-activity", | ||
"version": "0.1.1", | ||
"version": "1.0.0", | ||
"description": "Componente Vue para mostrar la actividad reciente de github", | ||
@@ -5,0 +5,0 @@ "author": "amaury.tobiasqr@gmail.com", |
@@ -9,19 +9,3 @@ # v-github-activity | ||
- ~~Replace `axios` using `fetch`~~ | ||
- Add SGV icons | ||
- ~~Add SGV icons~~ | ||
- Unit testing | ||
## CHANGELOG | ||
#### v0.1.0 | ||
- ๐ Added CHANGELOG | ||
- ๐ Added LICENSE | ||
- ๐ Update README | ||
- ๐ Profile and events request using `fetch()` | ||
- โ Removido `axios` | ||
- โ Removido `vue-octicons` | ||
- ๐ฎ Module build using `Rollup` | ||
#### v0.0.1 | ||
- ๐ Creaciรณn del modulo npm. |
import Vue from 'vue' | ||
import App from './App.vue' | ||
import vGithubActivity from '../dist/v-github-activity.esm' | ||
import vGithubActivity from './index' | ||
Vue.config.productionTip = false | ||
Vue.use(vGithubActivity) | ||
@@ -8,0 +9,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
115309
870
1
23
11