Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

v-github-activity

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

v-github-activity - npm Package Compare versions

Comparing version 1.0.2 to 2.0.0-beta

2

dist/v-github-activity.esm.js

@@ -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,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-41efcc8d_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}.github-icon{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);var b={install:function e(t){e.installed||(e.installed=!0,t.component("github-feed",v),t.component("push-event",c),t.component("pull-request-event",d),t.component("create-event",h),t.component("watch-event",p),t.component("delete-event",m),t.component("issues-event",_),t.component("issue-comment-event",u),t.component("commit-comment-event",g),t.component("fork-event",f),t.component("public-event",w))}},y=null;"undefined"!=typeof window?y=window.Vue:"undefined"!=typeof global&&(y=global.Vue),y&&y.use(b);export default b;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};
import e from"axios";var t=function(t,n){return e.get("https://api.github.com/users/"+t,{headers:{Authorization:"token "+n}}).then(function(e){return e.data}).catch(function(e){return e})},n=function(t,n){return e.get("https://api.github.com/users/"+t+"/events",{headers:{Authorization:"token "+n}}).then(function(e){return e.data}).catch(function(e){return e})},a={name:"github-feed",props:{login:{required:!0},token:{required:!0}},data:function(){return{user:{},events:[],loading:!1,error:!1}},created:function(){var e=this;t(this.login,this.token).then(function(t){e.user=t,n(e.login,e.token).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-8f3191aa_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}.github-icon{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),w=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),b=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);var y={install:function e(t){e.installed||(e.installed=!0,t.component("github-feed",r),t.component("push-event",d),t.component("pull-request-event",h),t.component("create-event",m),t.component("watch-event",_),t.component("delete-event",p),t.component("issues-event",u),t.component("issue-comment-event",f),t.component("commit-comment-event",w),t.component("fork-event",g),t.component("public-event",b))}},C=null;"undefined"!=typeof window?C=window.Vue:"undefined"!=typeof global&&(C=global.Vue),C&&C.use(y);export default y;export{w as CommitCommentEvent,m as CreateEvent,p as DeleteEvent,g as ForkEvent,r as GithubFeed,f as IssueCommentEvent,u as IssuesEvent,b as PublicEvent,h as PullRequestEvent,d as PushEvent,_ as WatchEvent};

@@ -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,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-41efcc8d_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}.github-icon{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);var y={install:function e(t){e.installed||(e.installed=!0,t.component("github-feed",r),t.component("push-event",d),t.component("pull-request-event",h),t.component("create-event",m),t.component("watch-event",_),t.component("delete-event",p),t.component("issues-event",u),t.component("issue-comment-event",f),t.component("commit-comment-event",b),t.component("fork-event",g),t.component("public-event",w))}},C=null;return"undefined"!=typeof window?C=window.Vue:"undefined"!=typeof global&&(C=global.Vue),C&&C.use(y),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=y,e}({});
var githubFeed=function(e,t){"use strict";t=t&&t.hasOwnProperty("default")?t.default:t;var n=function(e,n){return t.get("https://api.github.com/users/"+e,{headers:{Authorization:"token "+n}}).then(function(e){return e.data}).catch(function(e){return e})},a=function(e,n){return t.get("https://api.github.com/users/"+e+"/events",{headers:{Authorization:"token "+n}}).then(function(e){return e.data}).catch(function(e){return e})},s={name:"github-feed",props:{login:{required:!0},token:{required:!0}},data:function(){return{user:{},events:[],loading:!1,error:!1}},created:function(){var e=this;n(this.login,this.token).then(function(t){e.user=t,a(e.login,e.token).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 i,o=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},v="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());var r={};var l=o({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-8f3191aa_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}.github-icon{display:none!important}}",map:void 0,media:void 0})},s,void 0,!1,void 0,function(e){return function(e,t){return function(e,t){var n=v?t.media||"default":e,a=r[n]||(r[n]={ids:new Set,styles:[]});if(!a.ids.has(e)){a.ids.add(e);var s=t.source;if(t.map&&(s+="\n/*# sourceURL="+t.map.sources[0]+" */",s+="\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===i&&(i=document.head||document.getElementsByTagName("head")[0]),i.appendChild(a.element)),"styleSheet"in a.element)a.styles.push(s),a.element.styleSheet.cssText=a.styles.filter(Boolean).join("\n");else{var o=a.ids.size-1,l=document.createTextNode(s),c=a.element.childNodes;c[o]&&a.element.removeChild(c[o]),c.length?a.element.insertBefore(l,c[o]):a.element.appendChild(l)}}}(e,t)}},void 0),c=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},d=function(e){return e.substr(e.length-6)},h=o({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:c,hash:d,branch:function(e){return e.replace("refs/heads/","")}}},void 0,!1,void 0,void 0,void 0),m=o({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:c}},void 0,!1,void 0,void 0,void 0),p=o({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:c,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),_=o({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:c}},void 0,!1,void 0,void 0,void 0),u=o({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:c}},void 0,!1,void 0,void 0,void 0),f=o({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:c}},void 0,!1,void 0,void 0,void 0),g=o({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:c}},void 0,!1,void 0,void 0,void 0),b=o({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:c}},void 0,!1,void 0,void 0,void 0),w=o({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:c,hash:d}},void 0,!1,void 0,void 0,void 0),y=o({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:c}},void 0,!1,void 0,void 0,void 0);var C={install:function e(t){e.installed||(e.installed=!0,t.component("github-feed",l),t.component("push-event",h),t.component("pull-request-event",m),t.component("create-event",p),t.component("watch-event",u),t.component("delete-event",_),t.component("issues-event",f),t.component("issue-comment-event",g),t.component("commit-comment-event",w),t.component("fork-event",b),t.component("public-event",y))}},x=null;return"undefined"!=typeof window?x=window.Vue:"undefined"!=typeof global&&(x=global.Vue),x&&x.use(C),e.CommitCommentEvent=w,e.CreateEvent=p,e.DeleteEvent=_,e.ForkEvent=b,e.GithubFeed=l,e.IssueCommentEvent=g,e.IssuesEvent=f,e.PublicEvent=y,e.PullRequestEvent=m,e.PushEvent=h,e.WatchEvent=u,e.default=C,e}({},axios);

@@ -1,12 +0,20 @@

'use strict';Object.defineProperty(exports,'__esModule',{value:true});var service = {
user: function (login) {
return fetch(("https://api.github.com/users/" + login))
.then(function (res) { return res.json(); })
.then(function (response) { return response; })
'use strict';Object.defineProperty(exports,'__esModule',{value:true});function _interopDefault(e){return(e&&(typeof e==='object')&&'default'in e)?e['default']:e}var axios=_interopDefault(require('axios'));var service = {
user: function (login, token) {
return axios
.get(("https://api.github.com/users/" + login), {
headers: {
Authorization: ("token " + token)
}
})
.then(function (response) { return response.data; })
.catch(function (e) { return e; })
},
events: function (login) {
return fetch(("https://api.github.com/users/" + login + "/events"))
.then(function (res) { return res.json(); })
.then(function (response) { return response; })
events: function (login, token) {
return axios
.get(("https://api.github.com/users/" + login + "/events"), {
headers: {
Authorization: ("token " + token)
}
})
.then(function (response) { return response.data; })
.catch(function (e) { return e; })

@@ -19,3 +27,4 @@ }

props: {
login: { required: true }
login: { required: true },
token: { required: true }
},

@@ -32,7 +41,7 @@ data: function () { return ({

service
.user(this.login)
.user(this.login, this.token)
.then(function (response) {
this$1.user = response;
service
.events(this$1.login)
.events(this$1.login, this$1.token)
.then(function (events) {

@@ -198,3 +207,3 @@ this$1.loading = false;

if (!inject) { return }
inject("data-v-41efcc8d_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}.github-icon{display:none!important}}", map: undefined, media: undefined });
inject("data-v-8f3191aa_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}.github-icon{display:none!important}}", map: undefined, media: undefined });

@@ -205,3 +214,3 @@ };

/* module identifier */
var __vue_module_identifier__ = "data-v-41efcc8d";
var __vue_module_identifier__ = "data-v-8f3191aa";
/* functional template */

@@ -208,0 +217,0 @@ var __vue_is_functional_template__ = false;

{
"name": "v-github-activity",
"version": "1.0.2",
"version": "2.0.0-beta",
"description": "Componente Vue para mostrar la actividad reciente de github",

@@ -39,14 +39,16 @@ "author": "amaury.tobiasqr@gmail.com",

},
"dependencies": {},
"peerDependencies": {
"axios": "^0.19.0"
},
"devDependencies": {
"@vue/cli-plugin-babel": "^3.10.0",
"@vue/cli-plugin-eslint": "^3.10.0",
"@vue/cli-plugin-unit-mocha": "^3.10.0",
"@vue/cli-service": "^3.10.0",
"@vue/cli-plugin-babel": "^3.11.0",
"@vue/cli-plugin-eslint": "^3.11.0",
"@vue/cli-plugin-unit-mocha": "^3.11.0",
"@vue/cli-service": "^3.11.0",
"@vue/eslint-config-prettier": "^5.0.0",
"@vue/test-utils": "1.0.0-beta.29",
"babel-eslint": "^10.0.2",
"babel-eslint": "^10.0.3",
"chai": "^4.2.0",
"cross-env": "^5.2.0",
"eslint": "^6.2.0",
"cross-env": "^6.0.0",
"eslint": "^6.4.0",
"eslint-plugin-prettier": "^3.1.0",

@@ -56,7 +58,7 @@ "eslint-plugin-vue": "^5.2.3",

"prettier": "^1.18.2",
"rollup": "^1.19.4",
"rollup": "^1.21.4",
"rollup-plugin-buble": "^0.19.8",
"rollup-plugin-commonjs": "^10.0.2",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-terser": "^5.1.1",
"rollup-plugin-terser": "^5.1.2",
"rollup-plugin-vue": "^5.0.1",

@@ -63,0 +65,0 @@ "vue": "^2.6.10",

'use strict'
import axios from 'axios'
export default {
user: login => {
return fetch(`https://api.github.com/users/${login}`)
.then(res => res.json())
.then(response => response)
user: (login, token) => {
return axios
.get(`https://api.github.com/users/${login}`, {
headers: {
Authorization: `token ${token}`
}
})
.then(response => response.data)
.catch(e => e)
},
events: login => {
return fetch(`https://api.github.com/users/${login}/events`)
.then(res => res.json())
.then(response => response)
events: (login, token) => {
return axios
.get(`https://api.github.com/users/${login}/events`, {
headers: {
Authorization: `token ${token}`
}
})
.then(response => response.data)
.catch(e => e)
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc