text: webpackJsonp([4],{"/Zya":function(t,e,n){"use strict";var o=n("Dd8w"),r=n.n(o),s=n("NYxO"),i=n("vbt2"),a=n("0XSc"),c=n("C/un"),l=n("u1Qv"),u=n("5YJS");e.a={components:{CommentEdit:i.a,ReportDialog:a.a},name:"post-comment",props:["post","comment","pinned","hide"],computed:r()({},Object(s.mapGetters)(["getUsersKarma","userId","userPostCommentVotes"])),methods:{isHidden:function(t){return this.hide&&this.hide.indexOf(t)>=0},commentDone:function(t){this.replyId=this.editId=null,t&&this.$store.dispatch("loadPost",this.post.id)},childComments:function(){var t=this;return Object(c.x)(this.post.comments.filter(function(e){return e.replyId===t.comment.id}))},pinComment:function(t,e){return this.$store.dispatch("pinPostComment",{postId:this.post.id,commentId:t.id,pin:e})},handleCtrlClick:function(t){!this.editId&&t.ctrlKey&&this.canUpdateComment(this.post,this.comment)&&(this.editId=this.comment.id)},canReplyComment:c.g,canUpdateComment:c.j,canReportComment:c.h,canPinComment:c.e,canVoteComment:c.l,votedCommentClass:c.C,commentKarmaLabel:c.n,votePostComment:c.A,fromNow:u.h},data:function(){return{routes:l.a,replyId:null,reportCommentId:null,editId:null}}}},"0XSc":function(t,e,n){"use strict";var o=n("BJtK"),r=n("6Uta"),s=n("VU/8")(o.a,r.a,!1,null,null,null);s.options.__file="src\\components\\ReportDialog.vue",e.a=s.exports},"2zef":function(t,e,n){(t.exports=n("FZ+f")(!1)).push([t.i,'.post-announcement{width:750px}blockquote.post-quote{font-family:Georgia,serif;font-size:18px;font-style:italic;max-width:1000px;margin:0;padding:.4em 20px .4em 50px;line-height:1.45;position:relative;color:#383838;border:none;background:none}blockquote.post-quote a{color:#383838}blockquote.post-quote:before{display:block;padding-left:0;content:"\\201C";font-size:80px;position:absolute;left:0;top:-20px;color:#7a7a7a}blockquote.post-quote cite{color:#999;font-size:14px;display:block;margin-top:5px;text-transform:lowercase}blockquote.post-quote cite:before{content:"\\2014   \\2009"}',""])},"6Uta":function(t,e,n){"use strict";var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-dialog",{attrs:{"max-width":"700px"},model:{value:t.open,callback:function(e){t.open=e},expression:"open"}},[n("v-card",[n("v-card-title",[t._v("\n        Please tell us what's wrong with this post?\n    ")]),n("v-card-text",[n("v-form",{ref:"form",staticStyle:{padding:"0 0 0 2em"},attrs:{"lazy-validation":""},model:{value:t.valid,callback:function(e){t.valid=e},expression:"valid"}},[n("v-alert",{attrs:{outline:"",color:"error",icon:"warning",value:t.errorResponse()}},[t._v(t._s(t.errorResponse()))]),n("v-radio-group",{attrs:{rules:[function(t){return!!t||"Required"}],"error-messages":t.errorResponse("type")},model:{value:t.type,callback:function(e){t.type=e},expression:"type"}},t._l(t.flagTypeSelectItems,function(t){return n("v-radio",{key:t.text,attrs:{label:t.text,value:t.value}})})),n("v-text-field",{attrs:{label:"Notes",counter:400,"multi-line":"",rows:3,"error-messages":t.errorResponse("notes")},model:{value:t.notes,callback:function(e){t.notes=e},expression:"notes"}})],1)],1),n("v-card-actions",[n("v-layout",[n("v-flex",{staticStyle:{"text-align":"center"}},[n("v-btn",{attrs:{flat:""},on:{click:function(e){return e.stopPropagation(),t.close(e)}}},[t._v("Close")]),n("v-btn",{attrs:{flat:"",large:"",disabled:!t.valid,color:"primary"},on:{click:t.submit}},[t._v("\n                Submit\n            ")])],1)],1)],1)],1)],1)};o._withStripped=!0;var r={render:o,staticRenderFns:[]};e.a=r},"82c5":function(t,e,n){"use strict";var o=n("JD+8"),r=n("xRMh"),s=n("VU/8")(o.a,r.a,!1,null,null,null);s.options.__file="src\\components\\PostAlerts.vue",e.a=s.exports},"8fo5":function(t,e,n){(t.exports=n("FZ+f")(!1)).push([t.i,".tech-info{padding:0 2em}.tech-info h2{font-size:24px;font-weight:400;color:#8eacbb;padding:1em 0}.vendor{line-height:2em;font-size:24px;color:gray}.stack-page .stack-description{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-negative:1;flex-shrink:1}.stack-page .stack-screenshot{text-align:center}.stack-page .stack-screenshot img{max-width:400px;max-height:300px}@media only screen and (max-width:768px){.stack-page .hero .card .layout{-ms-flex-wrap:wrap;flex-wrap:wrap}.stack-page .stack-description{-ms-flex-preferred-size:100%;flex-basis:100%;max-width:100%}.stack-page .stack-screenshot img{max-height:200px;padding-top:10px}}",""])},BJtK:function(t,e,n){"use strict";var o=n("Xxa5"),r=n.n(o),s=n("exGp"),i=n.n(s),a=n("NYxO"),c=n("kRG6"),l=(n.n(c),n("J9uk"));e.a={props:{postId:{type:Number},commentId:{type:Number}},computed:Object(a.mapGetters)(["flagTypeSelectItems"]),methods:{submit:function(){var t=i()(r.a.mark(function t(){return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.$refs.form.validate()){t.next=21;break}if(t.prev=1,this.$store.commit("loading",!0),!this.commentId){t.next=8;break}return t.next=6,Object(l._5)(this.postId,this.commentId,this.type,this.notes);case 6:t.next=11;break;case 8:if(!this.postId){t.next=11;break}return t.next=11,Object(l._4)(this.postId,this.type,this.notes);case 11:this.type=this.notes=null,this.close(),t.next=18;break;case 15:t.prev=15,t.t0=t.catch(1),this.responseStatus=t.t0.responseStatus||t.t0;case 18:return t.prev=18,this.$store.commit("loading",!1),t.finish(18);case 21:case"end":return t.stop()}},t,this,[[1,15,18,21]])}));return function(){return t.apply(this,arguments)}}(),close:function(){this.$emit("close")},errorResponse:c.errorResponse},mounted:function(){},data:function(){return{open:!0,valid:!1,type:null,notes:null}}}},GTy2:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n("KjIp"),r=n("sP+1"),s=!1;var i=function(t){s||n("mLyl")},a=n("VU/8")(o.a,r.a,!1,i,null,null);a.options.__file="src\\pages\\stacks\\_slug\\index.vue",e.default=a.exports},HmOE:function(t,e,n){!function(){var e=["black-white-city.jpg","photo-1421789665209-c9b2a435e3dc.jpg","photo-1422207134147-65fb81f59e38.jpg","photo-1422360902398-0a91ff2c1a1f.jpg","photo-1427087302890-2f05ee3bee12.jpg","photo-1429552054921-018e433d7d34.jpg","photo-1431538510849-b719825bf08b.jpg","photo-1431576901776-e539bd916ba2.jpg","photo-1432821579285-1b649e5b1ce3.jpg","photo-1437419764061-2473afe69fc2.jpg","photo-1437422061949-f6efbde0a471.jpg","photo-1443890923422-7819ed4101c0.jpg","photo-1446329813274-7c9036bd9a1f.jpg","photo-1446776653964-20c1d3a81b06.jpg","photo-1448357019934-caa4696bb949.jpg","photo-1449157291145-7efd050a4d0e.jpg","photo-1449942120512-7a6f1ea6b0c4.jpg","photo-1451187580459-43490279c0fa.jpg","photo-1453090927415-5f45085b65c0.jpg","photo-1454817481404-7e84c1b73b4a.jpg","photo-1455383333344-451b6147021b.jpg","photo-1455656678494-4d1b5f3e7ad4.jpg","photo-1456244440184-1d494704a505.jpg","photo-1457459686225-c7db79d4e59f.jpg","photo-1457685373807-8c4d8be4c560.jpg","photo-1458668383970-8ddd3927deed.jpg","photo-1460574283810-2aab119d8511.jpg","photo-1461353789837-8eb180f968d2.jpg","photo-1462331321792-cc44368b8894.jpg","photo-1462331940025-496dfbfc7564.jpg","photo-1462332420958-a05d1e002413.jpg","photo-1462899006636-339e08d1844e.jpg","photo-1462903004115-f8e27d6a3985.jpg","photo-1464621922360-27f3bf0eca75.jpg","photo-1464817739973-0128fe77aaa1.jpg","photo-1465438503376-a2a921c57ffa.jpg","photo-1465935343323-d742334bcbda.jpg","photo-1467358895199-cd5d1847a7e4.jpg","photo-1467810563316-b5476525c0f9.jpg","photo-1468325089340-2ec20e175048.jpg","photo-1468436139062-f60a71c5c892.jpg","photo-1468536029150-d16666b345a1.jpg","photo-1471644518115-1f02e9819854.jpg","photo-1471769321038-24f4db35b24d.jpg","photo-1471872973917-3e115886ed07.jpg","photo-1473197411253-0151b2882b52.jpg","photo-1473308822086-710304d7d30c.jpg","photo-1473800447596-01729482b8eb.jpg","photo-1475241404975-c3ae90fdd9e6.jpg","photo-1475754857078-5c15de17844c.jpg","photo-1475778057357-d35f37fa89dd.jpg","photo-1476067897447-d0c5df27b5df.jpg","photo-1476362555312-ab9e108a0b7e.jpg","photo-1476483547798-bf769a2cbba5.jpg","photo-1476514525535-07fb3b4ae5f1.jpg","photo-1476522183715-d1a7af59419f.jpg","photo-1476820865390-c52aeebb9891.jpg","photo-1476891626313-2cecb3820a69.jpg","photo-1477244075012-5cc28286e465.jpg","photo-1477489875296-423abee7bade.jpg","photo-1477501502166-8c6f76b18a1b.jpg","photo-1477951233099-d2c5fbd878ee.jpg","photo-1478031706604-bb4b7b0b4e9e.jpg","photo-1478428036186-d435e23988ea.jpg","photo-1479030160180-b1860951d696.jpg","photo-1479147014836-dda42d84c1a9.jpg","photo-1479839672679-a46483c0e7c8.jpg","photo-1480241352829-e1573ff2414e.jpg","photo-1480506132288-68f7705954bd.jpg","photo-1480618757544-81c31930008e.jpg","photo-1481026469463-66327c86e544.jpg","photo-1482003297000-b7663a1673f1.jpg","photo-1482855549413-2a6c9b1955a7.jpg","photo-1483094035713-218a81c0d971.jpg","photo-1483653085484-eb63c9f02547.jpg","photo-1483804728039-acddc304e9cc.jpg","photo-1483992233021-1801812fdacb.jpg","photo-1484100356142-db6ab6244067.jpg","photo-1484420269607-41d8060e9779.jpg","photo-1484882918957-e9f6567be3c8.jpg","photo-1485889397316-8393dd065127.jpg","photo-1486230057997-a68a7fe3b16e.jpg","photo-1486692957922-ea51ea8472bc.jpg","photo-1487023269153-8ab6d0e24173.jpg","photo-1487111023822-2e903e12f6f0.jpg","photo-1487525219605-eadb39ae229c.jpg","photo-1487621167305-5d248087c724.jpg","photo-1488190211105-8b0e65b80b4e.jpg","photo-1488489153583-89ce18dd4968.jpg","photo-1489343511429-5482f78c15cf.jpg","photo-1489537235181-fc05daed5805.jpg","photo-1491514104444-e033f313a5fc.jpg","photo-1493441883526-0ed85220dc0c.jpg","photo-1493704074932-e1c9d6ccd131.jpg","photo-1494253188410-ff0cdea5499e.jpg","photo-1494822493217-c9840aba840c.jpg","photo-1494891848038-7bd202a2afeb.jpg","photo-1495045197504-5128e3c8469f.jpg","photo-1495195129352-aeb325a55b65.jpg","photo-1495250357898-6822052ef5b8.jpg","photo-1495431088732-09e59535d241.jpg","photo-1495603491717-3d3374928dc6.jpg","photo-1495743853775-60402c6c643e.jpg","photo-1496060169243-453fde45943b.jpg","photo-1496148353342-96817d85ea40.jpg","photo-1496170804262-975019a5cd34.jpg","photo-1496208612508-eb52fba7d94e.jpg","photo-1496259947555-d77e1140f6c5.jpg","photo-1496264057429-6a331647b69e.jpg","photo-1496282413736-d42bd1e239b8.jpg","photo-1496483353456-90997957cf99.jpg","photo-1496688519089-de7d4b5c05d7.jpg","photo-1497010905071-cba70e163811.jpg","photo-1498036882173-b41c28a8ba34.jpg","photo-1498713301984-508015049dc1.jpg","photo-1499744937866-d7e566a20a61.jpg","photo-1499865375034-7cccc6d92a18.jpg","photo-1500393734221-584dd6dbf92a.jpg","photo-1500412830877-c77d92c33203.jpg","photo-1500531279542-fc8490c8ea4d.jpg","photo-1501820434261-5bb046afcf6b.jpg","photo-1502133639165-ea20bc43e157.jpg","photo-1502517787199-e68205b0c811.jpg","photo-1503206557829-9a9979ad1227.jpg","photo-1503435980610-a51f3ddfee50.jpg","photo-1504888302758-9adb6780e7c8.jpg","photo-1505348288055-07fa73d30043.jpg","photo-1505562130589-9879683e72da.jpg","photo-1505644605728-ea5ecbfef171.jpg","photo-1505682499293-233fb141754c.jpg","photo-1505682634904-d7c8d95cdc50.jpg","photo-1506020647804-b04ee956dc04.jpg","photo-1506155475929-a146afddd515.jpg","photo-1506268919522-a927511962a9.jpg","photo-1506305269769-53a5714a93be.jpg","photo-1506440905961-0ab11f2ed5bc.jpg","photo-1507646278763-8b57d6bf6369.jpg","photo-1507706132643-4b3dabbca8b3.jpg","photo-1507980062492-714282f31ee0.jpg","photo-1508138221679-760a23a2285b.jpg","photo-1508141610389-6253d977b87e.jpg","photo-1508233620467-f79f1e317a05.jpg","photo-1509664158680-07c5032b51e5.jpg","photo-1510279770292-4b34de9f5c23.jpg","photo-1510382739061-d3f7bb547302.jpg","photo-1510849090660-6c8e1908c3c9.jpg","photo-1510861320402-285a6c7639ea.jpg"],n="https://servicestack.github.io/images/",o=[0,31,59,90,120,151,181,212,243,273,304,334];function r(t){return o[t.getMonth()]+t.getDate()}function s(t){return n+"hero/"+e[t%e.length]}var i={baseUrl:n,images:e,get:s,random:function(){return s(Math.floor(Math.random()*e.length))},daily:function(t,e){return s(r(t||new Date)+(e||0))},hourly:function(t,e){return s(function(t){return 24*r(t)+t.getHours()}(t||new Date)+(e||0))},static:function(t,e){return s(function(t){if(!t)return 0;"string"!=typeof t&&(t=t.toString());for(var e=0,n=0;n<t.length;n++)e=(e<<5)-e+t.charCodeAt(n),e&=e;return Math.abs(e)}(t)+(e||0))}};void 0!==t&&t.exports&&(t.exports=i),i}()},"JD+8":function(t,e,n){"use strict";var o=n("woOf"),r=n.n(o),s=n("u1Qv"),i=n("5YJS"),a=n("C/un");e.a={props:["organization","post"],methods:{toUrl:function(t){var e={types:this.post.type};return this.category&&(e.c=this.category.slug),t&&r()(e,t),s.a.organizationNews(this.organization.slug,e)},isOrganizationModerator:a.t,isOrganizationMember:a.s,memberCannotComment:a.v,organizationMember:a.w,getUserId:a.y,labelStyle:a.u,fromNow:i.h},data:function(){return{routes:s.a}}}},KjIp:function(t,e,n){"use strict";var o=n("Xxa5"),r=n.n(o),s=n("exGp"),i=n.n(s),a=n("Dd8w"),c=n.n(a),l=n("eAqw"),u=n("pqfc"),p=n("NYxO"),f=n("kRG6"),d=(n.n(f),n("PMAo")),h=(n.n(d),n("5YJS")),m=n("u1Qv");n("ct3O");e.a={components:{TechnologyPost:l.a,TechnologyComments:u.a},computed:c()({slug:function(){return this.$route.params.slug},heroUrl:function(){return d.heroes.static(this.slug)},techstack:function(){return this.getTechnologyStack(this.slug)},canChange:function(){return this.canChangeTechStack(this.techstack)},hasFavorited:function(){return this.isFavoriteTechStack(this.slug)},pageStats:function(){return this.getPageStats("stack",this.slug)},stackTiers:function(){var t=this,e=[];return this.allTiers.forEach(function(n){var o=t.techstack.technologyChoices.filter(function(t){return t.tier===n.name});o.length>0&&e.push({title:n.title,techChoices:o})}),e}},Object(p.mapGetters)(["loading","canChangeTechStack","allTiers","getTechnologyStack","getPageStats","isFavoriteTechStack","isAuthenticated"])),methods:{loadTechStack:function(){var t=i()(r.a.mark(function t(){return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.$store.dispatch("loadTechnologyStack",this.slug);case 2:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}(),refreshPageStats:function(){this.$store.dispatch("getPageStats",{type:"stack",slug:this.slug,id:this.techstack&&this.techstack.id})},addFavorite:function(){var t=i()(r.a.mark(function t(){return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.isAuthenticated){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,this.$store.dispatch("addFavorite",{type:"stack",id:this.techstack.id});case 4:this.refreshPageStats();case 5:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}(),removeFavorite:function(){var t=i()(r.a.mark(function t(){return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.isAuthenticated){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,this.$store.dispatch("removeFavorite",{type:"stack",id:this.techstack.id});case 4:this.refreshPageStats();case 5:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}(),handleCtrlClick:function(t){t.ctrlKey&&this.canChange&&this.$router.push(m.a.editStack(this.techstack.slug))},handleKeyUp:function(t){if(this.isAuthenticated&&!Object(h.k)(t)){var e=String.fromCharCode(t.keyCode).toLowerCase();if("e"===e)this.$router.push(m.a.editStack(this.techstack.slug));else if("f"===e)this.hasFavorited?this.removeFavorite():this.addFavorite();else if("c"===e){var n=this.$refs.techComments.$refs.txtComments;n.$refs.editor.$refs.txt.focus(),n.$el.scrollIntoView()}}},dateFmt:f.dateFmt},mounted:function(){var t=i()(r.a.mark(function t(){return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.$store.dispatch("loadTechnologyStackIfNotExists",this.slug);case 2:this.notFound=null==this.techstack,this.refreshPageStats(),window.addEventListener("keyup",this.handleKeyUp);case 5:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}(),destroyed:function(){window.removeEventListener("keyup",this.handleKeyUp)},data:function(){return{routes:m.a,notFound:!1}}}},LWNl:function(t,e,n){var o=n("2zef");"string"==typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);n("rjj0")("4ceb19fa",o,!1,{sourceMap:!1})},NWSh:function(t,e,n){var o;"undefined"!=typeof self&&self,o=function(){return function(t){function e(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,o){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:o})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=11)}([function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){t.exports=!n(3)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(t){return t&&t.__esModule?t:{default:t}}(n(17)),r=[],s=[],i={input:function(){return this.$refs.txt.$refs.input},hasSelection:function(){return this.input().selectionStart!==this.input().selectionEnd},selection:function(){var t=this.input();return t.value.substring(t.selectionStart,t.selectionEnd)||""},selectionInfo:function(){var t=this.input(),e=t.value,n=t.selectionStart,o=e.substring(n,t.selectionEnd)||"",r=e.substring(0,n),s=r.lastIndexOf("\n");return{value:e,sel:o,selPos:n,beforeSel:r,afterSel:e.substring(n),prevCRPos:s,beforeCR:s>=0?r.substring(0,s+1):"",afterCR:s>=0?r.substring(s+1):""}},replace:function(t){var e=t.value,n=t.selectionStart,o=t.selectionEnd;null==o&&(o=n);var r=this.input();this.$emit("input",e),this.$nextTick(function(){r.focus(),r.setSelectionRange(n,o)})},insert:function(t,e,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=o.selectionAtEnd,a=o.offsetStart,c=o.offsetEnd,l=o.filterValue,u=o.filterSelection,p=this.input(),f=p.value,d=p.selectionEnd;r.push({value:f,selectionStart:p.selectionStart,selectionEnd:p.selectionEnd}),s=[];var h=p.selectionStart,m=p.selectionEnd,v=f.substring(0,h),g=f.substring(m),b=t&&v.endsWith(t)&&g.startsWith(e);if(h==m){if(b?(f=v.substring(0,v.length-t.length)+g.substring(e.length),d+=-e.length):(f=v+t+n+e+g,d+=t.length,a=0,c=n.length,i&&(d+=c,c=0)),l){var y={pos:d};f=l(f,y),d=y.pos}}else{var x=f.substring(h,m);u&&(x=u(x)),b?(f=v.substring(0,v.length-t.length)+x+g.substring(e.length),a=-x.length-t.length,c=x.length):(f=v+t+x+e+g,a?d+=(t+e).length:(d=h,a=t.length,c=x.length))}this.$emit("input",f),this.$nextTick(function(){p.focus(),c=(a=d+(a||0))+(c||0),p.setSelectionRange(a,c)})},bold:function(){this.insert("**","**","bold")},italic:function(){this.insert("_","_","italics")},strikethrough:function(){this.insert("~~","~~","strikethrough")},link:function(){this.insert("[","](http://)","",{offsetStart:-8,offsetEnd:7})},quote:function(){this.insert("\n> ","\n","Blockquote",{})},image:function(){this.insert("![","](http://)","alt text",{offsetStart:-8,offsetEnd:7})},code:function(t){var e=this.selection();if(e&&!t.shiftKey)this.insert("`","`","code");else{var n=this.lang||"js";-1===e.indexOf("\n")?this.insert("\n```"+n+"\n","\n```\n","// code"):this.insert("```"+n+"\n","```\n","")}},ol:function(){if(this.hasSelection()){var t=this.selectionInfo(),e=t.sel,n=(t.selPos,t.beforeSel),o=t.afterSel,r=t.prevCRPos,s=t.beforeCR,i=t.afterCR;if(-1===e.indexOf("\n"))this.insert("\n 1. ","\n");else if(e.startsWith(" 1. "))this.insert("","","",{filterValue:function(t,e){if(r>=0){var a=i.replace(/^ - /,"");n=s+a,e.pos-=i.length-a.length}return n+o},filterSelection:function(t){return t.replace(/^ 1. /g,"").replace(/\n \d+. /g,"\n")}});else{var a=1;this.insert("",""," - ",{selectionAtEnd:!0,filterSelection:function(t){return" 1. "+t.replace(/\n$/,"").replace(/\n/g,function(t){return"\n "+ ++a+". "})+"\n"}})}}else this.insert("\n 1. ","\n","List Item",{offsetStart:-10,offsetEnd:9})},ul:function(){if(this.hasSelection()){var t=this.selectionInfo(),e=t.sel,n=(t.selPos,t.beforeSel),o=t.afterSel,r=t.prevCRPos,s=t.beforeCR,i=t.afterCR;-1===e.indexOf("\n")?this.insert("\n - ","\n"):e.startsWith(" - ")?this.insert("","","",{filterValue:function(t,e){if(r>=0){var a=i.replace(/^ - /,"");n=s+a,e.pos-=i.length-a.length}return n+o},filterSelection:function(t){return t.replace(/^ - /g,"").replace(/\n - /g,"\n")}}):this.insert("",""," - ",{selectionAtEnd:!0,filterSelection:function(t){return" - "+t.replace(/\n$/,"").replace(/\n/g,"\n - ")+"\n"}})}else this.insert("\n - ","\n","List Item",{offsetStart:-10,offsetEnd:9})},heading:function(){var t=this.selection(),e=-1===t.indexOf("\n");t?e?this.insert("\n## ","\n",""):this.insert("## ","",""):this.insert("\n## ","\n","Heading",{offsetStart:-8,offsetEnd:7})},comment:function(){var t=this.selectionInfo(),e=t.sel,n=t.selPos,o=t.beforeSel,r=t.afterSel,s=t.prevCRPos,i=t.beforeCR,a=t.afterCR;e.startsWith("//")||a.startsWith("//")?this.insert("","","",{filterValue:function(t,e){if(s>=0){var n=a.replace(/^\/\//,"");o=i+n,e.pos-=a.length-n.length}return o+r},filterSelection:function(t){return t.replace(/^\/\//g,"").replace(/\n\/\//g,"\n")}}):e?this.insert("","","//",{selectionAtEnd:!0,filterSelection:function(t){return"//"+t.replace(/\n$/,"").replace(/\n/g,"\n//")+"\n"}}):this.replace({value:i+"//"+a+r,selectionStart:n+"//".length})},blockComment:function(){this.insert("/*\n","*/\n","")},undo:function(){if(0===r.length)return!1;var t=this.input(),e=r.pop();return s.push({value:t.value,selectionStart:t.selectionStart,selectionEnd:t.selectionEnd}),this.replace(e),!0},redo:function(){if(0===s.length)return!1;var t=this.input(),e=s.pop();return r.push({value:t.value,selectionStart:t.selectionStart,selectionEnd:t.selectionEnd}),this.replace(e),!0}};e.default={props:["label","value","counter","rows","rules","errorMessages","lang","autofocus","disabled"],methods:(0,o.default)({save:function(){this.$emit("save")}},i),mounted:function(){var t=this;r=[],s=[],this.$refs.txt.$refs.input.onkeydown=function(e){if("Escape"!==e.key&&27!==e.keyCode){var n=String.fromCharCode(e.keyCode).toLowerCase();"\t"===n?(e.shiftKey?t.insert("","","",{filterValue:function(e,n){var o=t.selectionInfo(),r=(o.selPos,o.beforeSel),s=o.afterSel,i=o.prevCRPos,a=o.beforeCR,c=o.afterCR;if(i>=0){var l=c.replace(/\t/g,"    ").replace(/^ ? ? ? ?/,"");r=a+l,n.pos-=c.length-l.length}return r+s},filterSelection:function(t){return t.replace(/\t/g,"    ").replace(/^ ? ? ? ?/g,"").replace(/\n    /g,"\n")}}):t.insert("","","    ",{selectionAtEnd:!0,filterSelection:function(t){return"    "+t.replace(/\n$/,"").replace(/\n/g,"\n    ")+"\n"}}),e.preventDefault()):e.ctrlKey?"z"===n?e.shiftKey?t.redo()&&e.preventDefault():t.undo()&&e.preventDefault():"b"!==n||e.shiftKey?"h"!==n||e.shiftKey?"i"!==n||e.shiftKey?"q"!==n||e.shiftKey?"l"===n?e.shiftKey?(t.image(),e.preventDefault()):(t.link(),e.preventDefault()):","===n||"<"===e.key||">"===e.key||188===e.keyCode?(t.code(e),e.preventDefault()):"s"!==n||e.shiftKey?"/"===n||"/"===e.key?(t.comment(),e.preventDefault()):"?"!==n&&"?"!==e.key||!e.shiftKey||(t.blockComment(),e.preventDefault()):(t.save(),e.preventDefault()):(t.quote(),e.preventDefault()):(t.italic(),e.preventDefault()):(t.heading(),e.preventDefault()):(t.bold(),e.preventDefault()):e.altKey&&("1"===e.key||"0"===e.key?(t.ol(),e.preventDefault()):"-"===e.key?(t.ul(),e.preventDefault()):"s"===e.key&&(t.strikethrough(),e.preventDefault()))}else t.$emit("close")}},data:function(){return{}}}},function(t,e){var n=t.exports={version:"2.5.4"};"number"==typeof __e&&(__e=n)},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var o=n(8),r=n(9);t.exports=function(t){return o(r(t))}},function(t,e,n){var o=n(34);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==o(t)?t.split(""):Object(t)}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on  "+t);return t}},function(t,e){var n=Math.ceil,o=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?o:n)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(4),r=n.n(o);for(var s in o)"default"!==s&&function(t){n.d(e,t,function(){return o[t]})}(s);var i=n(45),a=n(46),c=!1,l=function(t){c||n(12)},u=Object(a.a)(r.a,i.a,i.b,!1,l,null,null);u.options.__file="src\\Editor.vue",e.default=u.exports},function(t,e,n){var o=n(13);"string"==typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals),(0,n(15).default)("2782e648",o,!1,{})},function(t,e,n){(t.exports=n(14)(!1)).push([t.i,'\n.editor-toolbar {\r\n  margin-top: 10px;\r\n  border: 1px solid rgba(0,0,0,.2);\n}\n.editor textarea, .monospace {\r\n  font-size: 15px;\r\n  font-family: Consolas, Monaco, Inconsolata, Menlo, monospace, "Lucida Console"\n}\r\n',""])},function(t,e){function n(t,e){var n=t[1]||"",o=t[3];if(!o)return n;if(e&&"function"==typeof btoa){var r=function(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}(o);return[n].concat(o.sources.map(function(t){return"/*# sourceURL="+o.sourceRoot+t+" */"})).concat([r]).join("\n")}return[n].join("\n")}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var o=n(e,t);return e[2]?"@media "+e[2]+"{"+o+"}":o}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var o={},r=0;r<this.length;r++){var s=this[r][0];"number"==typeof s&&(o[s]=!0)}for(r=0;r<t.length;r++){var i=t[r];"number"==typeof i[0]&&o[i[0]]||(n&&!i[2]?i[2]=n:n&&(i[2]="("+i[2]+") and ("+n+")"),e.push(i))}},e}},function(t,e,n){"use strict";function o(t){for(var e=0;e<t.length;e++){var n=t[e],o=l[n.id];if(o){o.refs++;for(var r=0;r<o.parts.length;r++)o.parts[r](n.parts[r]);for(;r<n.parts.length;r++)o.parts.push(s(n.parts[r]));o.parts.length>n.parts.length&&(o.parts.length=n.parts.length)}else{var i=[];for(r=0;r<n.parts.length;r++)i.push(s(n.parts[r]));l[n.id]={id:n.id,refs:1,parts:i}}}}function r(){var t=document.createElement("style");return t.type="text/css",u.appendChild(t),t}function s(t){var e,n,o=document.querySelector("style["+v+'~="'+t.id+'"]');if(o){if(d)return h;o.parentNode.removeChild(o)}if(g){var s=f++;o=p||(p=r()),e=i.bind(null,o,s,!1),n=i.bind(null,o,s,!0)}else o=r(),e=function(t,e){var n=e.css,o=e.media,r=e.sourceMap;if(o&&t.setAttribute("media",o),m.ssrId&&t.setAttribute(v,e.id),r&&(n+="\n/*# sourceURL="+r.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}.bind(null,o),n=function(){o.parentNode.removeChild(o)};return e(t),function(o){if(o){if(o.css===t.css&&o.media===t.media&&o.sourceMap===t.sourceMap)return;e(t=o)}else n()}}function i(t,e,n,o){var r=n?"":o.css;if(t.styleSheet)t.styleSheet.cssText=b(e,r);else{var s=document.createTextNode(r),i=t.childNodes;i[e]&&t.removeChild(i[e]),i.length?t.insertBefore(s,i[e]):t.appendChild(s)}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n,r){d=n,m=r||{};var s=Object(a.a)(t,e);return o(s),function(e){for(var n=[],r=0;r<s.length;r++){var i=s[r];(c=l[i.id]).refs--,n.push(c)}for(e?o(s=Object(a.a)(t,e)):s=[],r=0;r<n.length;r++){var c;if(0===(c=n[r]).refs){for(var u=0;u<c.parts.length;u++)c.parts[u]();delete l[c.id]}}}};var a=n(16),c="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!c)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var l={},u=c&&(document.head||document.getElementsByTagName("head")[0]),p=null,f=0,d=!1,h=function(){},m=null,v="data-vue-ssr-id",g="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase()),b=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}()},function(t,e,n){"use strict";e.a=function(t,e){for(var n=[],o={},r=0;r<e.length;r++){var s=e[r],i=s[0],a={id:t+":"+r,css:s[1],media:s[2],sourceMap:s[3]};o[i]?o[i].parts.push(a):n.push(o[i]={id:i,parts:[a]})}return n}},function(t,e,n){"use strict";e.__esModule=!0;var o=function(t){return t&&t.__esModule?t:{default:t}}(n(18));e.default=o.default||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t}},function(t,e,n){t.exports={default:n(19),__esModule:!0}},function(t,e,n){n(20),t.exports=n(5).Object.assign},function(t,e,n){var o=n(21);o(o.S+o.F,"Object",{assign:n(31)})},function(t,e,n){var o=n(0),r=n(5),s=n(22),i=n(24),a=n(6),c=function(t,e,n){var l,u,p,f=t&c.F,d=t&c.G,h=t&c.S,m=t&c.P,v=t&c.B,g=t&c.W,b=d?r:r[e]||(r[e]={}),y=b.prototype,x=d?o:h?o[e]:(o[e]||{}).prototype;for(l in d&&(n=e),n)(u=!f&&x&&void 0!==x[l])&&a(b,l)||(p=u?x[l]:n[l],b[l]=d&&"function"!=typeof x[l]?n[l]:v&&u?s(p,o):g&&x[l]==p?function(t){var e=function(e,n,o){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,o)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(p):m&&"function"==typeof p?s(Function.call,p):p,m&&((b.virtual||(b.virtual={}))[l]=p,t&c.R&&y&&!y[l]&&i(y,l,p)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e,n){var o=n(23);t.exports=function(t,e,n){if(o(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,o){return t.call(e,n,o)};case 3:return function(n,o,r){return t.call(e,n,o,r)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var o=n(25),r=n(30);t.exports=n(2)?function(t,e,n){return o.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var o=n(26),r=n(27),s=n(29),i=Object.defineProperty;e.f=n(2)?Object.defineProperty:function(t,e,n){if(o(t),e=s(e,!0),o(n),r)try{return i(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var o=n(1);t.exports=function(t){if(!o(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){t.exports=!n(2)&&!n(3)(function(){return 7!=Object.defineProperty(n(28)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var o=n(1),r=n(0).document,s=o(r)&&o(r.createElement);t.exports=function(t){return s?r.createElement(t):{}}},function(t,e,n){var o=n(1);t.exports=function(t,e){if(!o(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!o(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!o(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!o(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){"use strict";var o=n(32),r=n(42),s=n(43),i=n(44),a=n(8),c=Object.assign;t.exports=!c||n(3)(function(){var t={},e={},n=Symbol(),o="abcdefghijklmnopqrst";return t[n]=7,o.split("").forEach(function(t){e[t]=t}),7!=c({},t)[n]||Object.keys(c({},e)).join("")!=o})?function(t,e){for(var n=i(t),c=arguments.length,l=1,u=r.f,p=s.f;c>l;)for(var f,d=a(arguments[l++]),h=u?o(d).concat(u(d)):o(d),m=h.length,v=0;m>v;)p.call(d,f=h[v++])&&(n[f]=d[f]);return n}:c},function(t,e,n){var o=n(33),r=n(41);t.exports=Object.keys||function(t){return o(t,r)}},function(t,e,n){var o=n(6),r=n(7),s=n(35)(!1),i=n(38)("IE_PROTO");t.exports=function(t,e){var n,a=r(t),c=0,l=[];for(n in a)n!=i&&o(a,n)&&l.push(n);for(;e.length>c;)o(a,n=e[c++])&&(~s(l,n)||l.push(n));return l}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var o=n(7),r=n(36),s=n(37);t.exports=function(t){return function(e,n,i){var a,c=o(e),l=r(c.length),u=s(i,l);if(t&&n!=n){for(;l>u;)if((a=c[u++])!=a)return!0}else for(;l>u;u++)if((t||u in c)&&c[u]===n)return t||u||0;return!t&&-1}}},function(t,e,n){var o=n(10),r=Math.min;t.exports=function(t){return t>0?r(o(t),9007199254740991):0}},function(t,e,n){var o=n(10),r=Math.max,s=Math.min;t.exports=function(t,e){return(t=o(t))<0?r(t+e,0):s(t,e)}},function(t,e,n){var o=n(39)("keys"),r=n(40);t.exports=function(t){return o[t]||(o[t]=r(t))}},function(t,e,n){var o=n(0),r=o["__core-js_shared__"]||(o["__core-js_shared__"]={});t.exports=function(t){return r[t]||(r[t]={})}},function(t,e){var n=0,o=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+o).toString(36))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var o=n(9);t.exports=function(t){return Object(o(t))}},function(t,e,n){"use strict";n.d(e,"a",function(){return o}),n.d(e,"b",function(){return r});var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"editor"},[t.disabled?t._e():n("div",{staticClass:"editor-toolbar"},[n("v-btn",{attrs:{small:"",icon:"",title:"Bold text (CTRL+B)"},on:{click:t.bold}},[n("v-icon",[t._v("format_bold")])],1),t._v(" "),n("v-btn",{attrs:{small:"",icon:"",title:"Italics (CTRL+I)"},on:{click:t.italic}},[n("v-icon",[t._v("format_italic")])],1),t._v(" "),n("v-btn",{attrs:{small:"",icon:"",title:"Insert Link (CTRL+L)"},on:{click:t.link}},[n("v-icon",[t._v("insert_link")])],1),t._v(" "),n("v-btn",{attrs:{small:"",icon:"",title:"Blockquote (CTRL+Q)"},on:{click:t.quote}},[n("v-icon",[t._v("format_quote")])],1),t._v(" "),n("v-btn",{attrs:{small:"",icon:"",title:"Insert Image (CTRL+SHIFT+L)"},on:{click:t.image}},[n("v-icon",[t._v("insert_photo")])],1),t._v(" "),n("v-btn",{attrs:{small:"",icon:"",title:"Insert Code (CTRL+<)"},on:{click:t.code}},[n("v-icon",[t._v("code")])],1),t._v(" "),n("v-btn",{attrs:{small:"",icon:"",title:"H2 Heading (CTRL+H)"},on:{click:t.heading}},[n("v-icon",[t._v("format_size")])],1),t._v(" "),n("v-btn",{attrs:{small:"",icon:"",title:"Numbered List (ALT+1)"},on:{click:t.ol}},[n("v-icon",[t._v("format_list_numbered")])],1),t._v(" "),n("v-btn",{attrs:{small:"",icon:"",title:"Bulleted List (ALT+-)"},on:{click:t.ul}},[n("v-icon",[t._v("format_list_bulleted")])],1),t._v(" "),n("v-btn",{attrs:{small:"",icon:"",title:"Strike Through (ALT+S)"},on:{click:t.strikethrough}},[n("v-icon",[t._v("format_strikethrough")])],1),t._v(" "),n("v-btn",{attrs:{small:"",icon:"",title:"undo (CTRL+Z)"},on:{click:t.undo}},[n("v-icon",[t._v("undo")])],1),t._v(" "),n("v-btn",{attrs:{small:"",icon:"",title:"redo (CTRL+SHIFT+Z)"},on:{click:t.redo}},[n("v-icon",[t._v("redo")])],1),t._v(" "),n("v-btn",{attrs:{small:"",icon:"",title:"Save (CTRL+S)"},on:{click:t.save}},[n("v-icon",[t._v("save")])],1),t._v(" "),n("a",{staticClass:"btn btn--icon btn--small",staticStyle:{float:"right"},attrs:{title:"formatting help",target:"_blank",href:"https://guides.github.com/features/mastering-markdown/"}},[n("v-icon",[t._v("help_outline")])],1)],1),t._v(" "),n("v-text-field",{ref:"txt",attrs:{label:t.label,value:t.value,spellcheck:!t.value||-1===t.value.indexOf("```"),counter:t.counter,"multi-line":"","auto-grow":"",rows:t.rows||6,disabled:t.disabled,rules:t.rules,"error-messages":t.errorMessages},on:{input:function(e){return t.$emit("input",e)},keydown:function(e){return"button"in e||!t._k(e.keyCode,"tab",9,e.key,"Tab")?t.tab(e):null}}})],1)},r=[];o._withStripped=!0},function(t,e,n){"use strict";e.a=function(t,e,n,o,r,s,i,a){var c=typeof(t=t||{}).default;"object"!==c&&"function"!==c||(t=t.default);var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),o&&(u.functional=!0),s&&(u._scopeId=s),i?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(i)},u._ssrRegister=l):r&&(l=a?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var p=u.render;u.render=function(t,e){return l.call(e),p(t,e)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,l):[l]}return{exports:t,options:u}}}])},t.exports=o()},PGfp:function(t,e,n){"use strict";var o=n("Xxa5"),r=n.n(o),s=n("exGp"),i=n.n(s),a=n("fZjL"),c=n.n(a),l=n("Dd8w"),u=n.n(l),p=n("0XSc"),f=n("ecuk"),d=n("vbt2"),h=n("82c5"),m=n("NWSh"),v=n.n(m),g=n("NYxO"),b=n("u1Qv"),y=n("kRG6"),x=(n.n(y),n("J9uk")),_=n("C/un"),k=n("5YJS"),j={content:null};e.a={components:{PostComment:f.a,ReportDialog:p.a,CommentEdit:d.a,PostAlerts:h.a,Editor:v.a},props:["technology","techstack"],computed:u()({errorSummary:function(){return y.errorResponseExcept.call(this,c()(j))},tech:function(){return this.technology||this.techstack},post:function(){return this.getPost(this.postId)},parentComments:function(){return Object(_.x)(this.post.comments.filter(function(t){return null==t.replyId}))}},Object(g.mapGetters)(["loading","isAuthenticated","getPost","organization"])),methods:{commentDone:function(){var t=i()(r.a.mark(function t(e){return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.loadPost();case 2:case"end":return t.stop()}},t,this)}));return function(e){return t.apply(this,arguments)}}(),loadOrganization:function(){var t=i()(r.a.mark(function t(){return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.tech||!this.tech.organizationId){t.next=7;break}return this.postId=this.tech.commentsPostId,this.$store.dispatch("loadUserPostCommentVotes",this.postId),t.next=5,this.$store.dispatch("loadOrganizationByIdIfNotExists",this.tech.organizationId);case 5:return t.next=7,this.loadPost();case 7:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}(),loadPost:function(){var t=i()(r.a.mark(function t(){return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.$store.dispatch("loadPost",this.postId);case 3:t.next=8;break;case 5:t.prev=5,t.t0=t.catch(0),this.notFound=!0;case 8:case"end":return t.stop()}},t,this,[[0,5]])}));return function(){return t.apply(this,arguments)}}(),reset:function(){var t=i()(r.a.mark(function t(){return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.content=null,t.next=3,this.loadOrganization();case 3:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}(),submit:function(){var t=i()(r.a.mark(function t(){var e;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.$refs.form.validate()){t.next=31;break}if(t.prev=1,this.$store.commit("loading",!0),null!=this.organizationId){t.next=17;break}if(!this.technology){t.next=10;break}return t.next=7,Object(x.j)(this.technology.id);case 7:t.t0=t.sent,t.next=13;break;case 10:return t.next=12,Object(x.i)(this.techstack.id);case 12:t.t0=t.sent;case 13:e=t.t0,this.organizationId=e.organizationId,this.postId=e.commentsPostId,this.$emit("organizationCreated",e);case 17:return t.next=19,Object(x.l)(this.postId,this.content);case 19:return t.sent,t.next=22,this.reset(!0);case 22:t.next=28;break;case 24:t.prev=24,t.t1=t.catch(1),this.valid=!1,this.responseStatus=t.t1.responseStatus||t.t1;case 28:return t.prev=28,this.$store.commit("loading",!1),t.finish(28);case 31:case"end":return t.stop()}},t,this,[[1,24,28,31]])}));return function(){return t.apply(this,arguments)}}(),canCommentPost:_.b,errorResponse:y.errorResponse},watch:{tech:function(){var t=i()(r.a.mark(function t(e){return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.loadOrganization();case 2:case"end":return t.stop()}},t,this)}));return function(e){return t.apply(this,arguments)}}()},mounted:function(){var t=i()(r.a.mark(function t(){return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.loadOrganization();case 2:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}(),data:function(){return u()({routes:b.a},j,{postId:null,valid:!0,contentCounter:k.b,contentRules:k.c,notFound:!1,responseStatus:null})}}},PMAo:function(t,e,n){var o=n("HmOE");t.exports={heroes:o}},S4Uo:function(t,e,n){"use strict";var o=n("Xxa5"),r=n.n(o),s=n("exGp"),i=n.n(s),a=n("Dd8w"),c=n.n(a),l=n("NWSh"),u=n.n(l),p=n("kRG6"),f=(n.n(p),n("NYxO")),d=n("J9uk"),h=n("5YJS"),m={postId:null,content:null};e.a={components:{Editor:u.a},props:["post","comment","replyId","rows","autofocus"],computed:c()({},Object(f.mapGetters)(["getLangByOrganizationId"])),methods:{errorMessage:function(){return this.errorResponse()||this.errorResponse("postId")},reset:function(t){this.responseStatus=this.content=null,this.valid=!0,this.$emit("done",t)},submit:function(){var t=i()(r.a.mark(function t(){return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.$refs.form.validate()){t.next=23;break}if(t.prev=1,this.$store.commit("loading",!0),null==this.comment){t.next=9;break}return t.next=6,Object(d._14)(this.comment.id,this.post.id,this.content);case 6:t.t0=t.sent,t.next=12;break;case 9:return t.next=11,Object(d.l)(this.postId,this.content,this.replyId);case 11:t.t0=t.sent;case 12:t.t0,this.reset(!0),t.next=20;break;case 16:t.prev=16,t.t1=t.catch(1),this.valid=!1,this.responseStatus=t.t1.responseStatus||t.t1;case 20:return t.prev=20,this.$store.commit("loading",!1),t.finish(20);case 23:case"end":return t.stop()}},t,this,[[1,16,20,23]])}));return function(){return t.apply(this,arguments)}}(),errorResponse:p.errorResponse},mounted:function(){this.rows&&(this.commentRows=this.rows),this.post&&(this.postId=this.post.id),this.comment&&(this.content=this.comment.content)},data:function(){return c()({},m,{commentRows:6,valid:!0,contentCounter:h.b,contentRulesOptional:h.d,responseStatus:null})}}},YlOF:function(t,e,n){"use strict";var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.tech&&t.isAuthenticated?n("v-layout",{attrs:{column:"","align-center":""}},[t.organizationId?n("v-flex",{staticStyle:{"min-height":"92px"}},[t.latestPost?n("div",[n("blockquote",{staticClass:"post-quote"},[n("nuxt-link",{attrs:{to:t.routes.post(t.latestPost.id,t.latestPost.slug)}},[t._v(t._s(t.latestPost.title))]),t.organizationSlug?n("cite",[n("nuxt-link",{attrs:{to:t.routes.organizationNews(t.organizationSlug,{types:t.type})}},[t._v("more "+t._s(t.type)+"s")])],1):t._e()],1)]):n("div",[n("blockquote",{staticClass:"post-quote"},[n("nuxt-link",{attrs:{to:t.routes.organizationNews(t.organizationSlug)}},[t._v(t._s(t.tech.name)+" "+t._s(t.type)+"s")])],1)])]):t.add?n("v-flex",[n("v-card",{staticClass:"post-announcement"},[n("v-card-title",[n("v-form",{ref:"form",staticStyle:{width:"100%"},attrs:{"lazy-validation":""},model:{value:t.valid,callback:function(e){t.valid=e},expression:"valid"}},[n("v-container",[n("v-alert",{attrs:{outline:"",color:"error",icon:"warning",value:t.errorSummary}},[t._v(t._s(t.errorSummary))]),n("v-layout",[n("v-flex",[n("v-text-field",{attrs:{label:"Title",required:"",rules:t.titleRules,counter:t.titleCounter,autofocus:!0,"error-messages":t.errorResponse("title")},model:{value:t.title,callback:function(e){t.title=e},expression:"title"}}),n("Editor",{attrs:{label:"",counter:t.contentCounter,rules:t.contentRules,"error-messages":t.errorResponse("content")},on:{save:t.submit,close:function(e){t.reset(!1)}},model:{value:t.content,callback:function(e){t.content=e},expression:"content"}}),n("v-text-field",{attrs:{label:"URL",spellcheck:!1,rules:t.urlRulesOptional,counter:t.urlCounter,"error-messages":t.errorResponse("url")},model:{value:t.url,callback:function(e){t.url=e},expression:"url"}})],1)],1)],1)],1)],1),n("v-card-actions",[n("v-layout",{attrs:{column:"","align-center":""}},[n("v-flex",[n("v-btn",{attrs:{flat:"",large:"",disabled:!t.valid||t.loading},on:{click:t.submit}},[t._v("\n                Submit\n            ")]),n("v-btn",{attrs:{flat:"",large:""},on:{click:function(e){t.reset(!1)}}},[t._v("\n                Close\n            ")])],1)],1)],1)],1)],1):n("v-flex",{staticStyle:{"text-align":"center"}},[n("v-btn",{attrs:{color:"primary"},on:{click:function(e){t.add=!0}}},[t._v("Post "+t._s(t.type))])],1)],1):t._e()};o._withStripped=!0;var r={render:o,staticRenderFns:[]};e.a=r},eAqw:function(t,e,n){"use strict";var o=n("uhOz"),r=n("YlOF"),s=!1;var i=function(t){s||n("LWNl")},a=n("VU/8")(o.a,r.a,!1,i,null,null);a.options.__file="src\\components\\TechnologyPost.vue",e.a=a.exports},ecuk:function(t,e,n){"use strict";var o=n("/Zya"),r=n("r3Uj"),s=n("VU/8")(o.a,r.a,!1,null,null,null);s.options.__file="src\\components\\PostComment.vue",e.a=s.exports},mLyl:function(t,e,n){var o=n("8fo5");"string"==typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);n("rjj0")("4a893730",o,!1,{sourceMap:!1})},pqfc:function(t,e,n){"use strict";var o=n("PGfp"),r=n("vnTt"),s=n("VU/8")(o.a,r.a,!1,null,null,null);s.options.__file="src\\components\\TechnologyComments.vue",e.a=s.exports},quHo:function(t,e,n){"use strict";var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-form",{ref:"form",attrs:{"lazy-validation":""},model:{value:t.valid,callback:function(e){t.valid=e},expression:"valid"}},[n("v-card",{staticStyle:{"margin-top":".5em"},attrs:{flat:!!t.comment}},[n("v-card-text",{staticStyle:{"padding-top":"0"}},[n("v-alert",{attrs:{outline:"",color:"error",icon:"warning",value:t.errorMessage()}},[t._v(t._s(t.errorMessage()))]),n("Editor",{ref:"editor",staticStyle:{"padding-top":"10px"},attrs:{label:"Comment",rows:t.commentRows,counter:t.contentCounter,rules:t.contentRulesOptional,"error-messages":t.errorResponse("content"),lang:t.getLangByOrganizationId(t.post.organizationId),autofocus:t.autofocus},on:{save:t.submit,close:function(e){t.reset()}},model:{value:t.content,callback:function(e){t.content=e},expression:"content"}})],1),n("v-card-actions",[n("v-layout",[n("v-btn",{attrs:{flat:""},on:{click:t.submit}},[t._v("Submit")]),t.replyId||t.comment?n("v-btn",{attrs:{flat:""},on:{click:function(e){t.reset(!1)}}},[t._v("Close")]):t._e()],1)],1)],1)],1)};o._withStripped=!0;var r={render:o,staticRenderFns:[]};e.a=r},r3Uj:function(t,e,n){"use strict";var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"comment"},[n("v-card",{staticClass:"comment-parent"},[n("v-card-title",[n("v-layout",{on:{click:t.handleCtrlClick}},[n("v-flex",{staticClass:"comment-info"},[t.pinned?n("v-icon",{staticStyle:{"font-size":"50px",color:"#4caf50","margin-bottom":"10px"},attrs:{title:"Pinned Comment"}},[t._v("place")]):t._e(),n("nuxt-link",{attrs:{to:t.routes.user(t.comment.createdBy)}},[n("img",{staticClass:"comment-avatar",attrs:{src:t.routes.userAvatar(t.comment.createdBy),alt:t.comment.createdBy+" profile"}})]),n("div",{staticClass:"comment-karma"},[n("b",[t._v(t._s(t.getUsersKarma(t.comment.userId)))])])],1),n("v-flex",[t.editId?t._e():n("div",{staticClass:"comment-content",domProps:{innerHTML:t._s(t.comment.contentHtml)}}),t.editId?n("div",{staticClass:"comment-edit"},[n("CommentEdit",{attrs:{post:t.post,comment:t.comment,autofocus:!0},on:{done:t.commentDone}})],1):t._e(),t.replyId?n("div",{staticClass:"comment-reply"},[n("CommentEdit",{attrs:{post:t.post,replyId:t.replyId,autofocus:!0},on:{done:t.commentDone}})],1):t._e(),t.reportCommentId?n("div",[t.reportCommentId?n("ReportDialog",{attrs:{postId:t.post.id,commentId:t.reportCommentId},on:{close:function(e){t.reportCommentId=null}}}):t._e()],1):t._e(),t.editId||t.replyId?t._e():n("v-layout",{class:["comment-actions",t.votedCommentClass(t.comment.id)]},[t.canVoteComment(t.post,t.comment)?n("div",{staticClass:"comment-vote"},[n("a",{staticClass:"vote-comment up",attrs:{title:"vote up"},on:{click:function(e){t.votePostComment(t.post.id,t.comment,1)}}}),n("a",{staticClass:"vote-comment down",attrs:{title:"vote down"},on:{click:function(e){t.votePostComment(t.post.id,t.comment,-1)}}})]):t._e(),n("span",{staticClass:"points"},[t._v(t._s(t.commentKarmaLabel(t.comment)))]),n("nuxt-link",{staticClass:"submitted",attrs:{to:t.routes.comment(t.post.id,t.comment.id)}},[t._v(t._s(t.fromNow(t.comment.created)))]),!t.pinned&&t.canReplyComment(t.post,t.comment)?n("a",{on:{click:function(e){e.preventDefault(),t.replyId=t.comment.id}}},[t._v("reply")]):t._e(),t.canReportComment(t.post,t.comment)?n("a",{on:{click:function(e){e.preventDefault(),t.reportCommentId=t.comment.id}}},[t._v("report")]):t._e(),t.canUpdateComment(t.post,t.comment)?n("a",{on:{click:function(e){e.preventDefault(),t.editId=t.comment.id}}},[t._v("edit")]):t._e(),t.isHidden("pin")||t.post.pinCommentId||!t.canPinComment(t.post,t.comment)?t._e():n("a",{on:{click:function(e){e.preventDefault(),t.pinComment(t.comment,!0)}}},[t._v("pin")]),!t.isHidden("pin")&&t.post.pinCommentId==t.comment.id&&t.canPinComment(t.post,t.comment)?n("a",{on:{click:function(e){e.preventDefault(),t.pinComment(t.comment,!1)}}},[t._v("unpin")]):t._e()],1)],1)],1)],1)],1),t.pinned?t._e():n("div",{staticClass:"comment-children"},t._l(t.childComments(),function(e){return n("div",{key:e.id,staticClass:"comment-child"},[n("post-comment",{attrs:{post:t.post,comment:e,hide:t.hide},on:{votePostCommentDone:function(n){t.$emit("votePostCommentDone",e.id)}}})],1)}))],1)};o._withStripped=!0;var r={render:o,staticRenderFns:[]};e.a=r},"sP+1":function(t,e,n){"use strict";var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"stack-page",staticStyle:{width:"100%"}},[n("div",{staticClass:"hero"},[n("v-parallax",{attrs:{src:t.heroUrl}},[n("v-layout",{attrs:{"align-center":""}},[n("v-layout",{attrs:{column:"","align-center":""},on:{click:t.handleCtrlClick}},[n("v-flex",{staticStyle:{"min-height":"0"},attrs:{fluid:"","grid-list-lg":""}},[n("v-card",[n("v-card-title",{attrs:{"primary-title":""}},[!t.techstack&&t.loading?n("h2",{staticClass:"svg-icon loading"},[t._v("Loading Technology Stack "+t._s(t.slug)+" ...")]):t._e(),t.notFound?n("div",{staticClass:"no-prerender"},[n("h2",[n("v-icon",{attrs:{color:"red"}},[t._v("error_outline")]),t._v(" Technology Stack '"+t._s(t.slug)+"' was not found")],1),n("v-btn",{attrs:{large:"",to:t.routes.newStack}},[t._v("Add New TechStack")])],1):t.techstack?n("v-layout",[n("v-flex",{staticClass:"stack-description"},[n("h1",[t._v(t._s(t.techstack.name))]),t.techstack.vendorName!=t.techstack.name?n("div",{staticClass:"vendor"},[t._v(t._s(t.techstack.vendorName))]):t._e(),t.techstack?n("div",{staticClass:"description"},[t._v(t._s(t.techstack.description))]):t._e()]),t.techstack.screenshotUrl&&t.techstack.appUrl?n("v-flex",{staticClass:"stack-screenshot"},[n("a",{attrs:{href:t.techstack.appUrl}},[n("img",{attrs:{src:t.techstack.screenshotUrl}}),n("div",[t._v(t._s(t.techstack.appUrl))])])]):t._e()],1):t._e()],1),t.techstack?n("v-card-actions",{staticClass:"no-prerender",staticStyle:{"min-height":"52px"}},[n("v-flex",{staticClass:"viewcounts",attrs:{xs11:""}},[t.pageStats&&t.pageStats.viewCount>1?n("div",[n("span",[t.hasFavorited?t._e():n("v-btn",{attrs:{icon:"",title:t.isAuthenticated?"add to favorites (F)":"Sign In to add to favorites"},on:{click:function(e){t.addFavorite()}}},[n("v-icon",[t._v("favorite_border")])],1),t.hasFavorited?n("v-btn",{attrs:{icon:"",title:"remove from favorites (F)"},on:{click:function(e){t.removeFavorite()}}},[n("v-icon",{attrs:{color:"pink"}},[t._v("favorite")])],1):t._e(),t.pageStats.favCount>0?n("b",[t._v(t._s(t.pageStats.favCount))]):t._e(),t._v(" /\n                    ")],1),n("span",[n("b",[t._v(t._s(t.pageStats.viewCount))]),t._v(" views")])]):t._e()]),n("v-flex",{attrs:{xs1:""}},[t.canChange?n("v-btn",{attrs:{color:"pink",dark:"",absolute:"",bottom:"",center:"",fab:"",large:"",to:t.routes.editStack(t.techstack.slug),title:"Edit "+t.techstack.name+" (E)"}},[n("v-icon",[t._v("edit")])],1):t._e()],1),n("v-flex",{staticStyle:{"text-align":"right","margin-right":"1em",color:"gray","font-size":"smaller","vertical-align":"middle"},attrs:{xs12:""}},[t.techstack.lastModifiedBy&&t.techstack.lastModifiedBy!=t.techstack.createdBy?n("span",[t._v("\n                    updated "+t._s(t.dateFmt(new Date(t.techstack.lastModified)))+" by "),n("nuxt-link",{attrs:{to:t.routes.user(t.techstack.lastModifiedBy)}},[t._v(t._s(t.techstack.lastModifiedBy))])],1):t._e(),n("span",[t._v("\n                    added by "),n("nuxt-link",{attrs:{to:t.routes.user(t.techstack.createdBy)}},[t._v(t._s(t.techstack.createdBy))])],1)])],1):t._e()],1)],1)],1)],1)],1)],1),t.techstack?n("v-container",{staticClass:"body",attrs:{"grid-list-md":""}},[n("v-layout",{attrs:{row:"",wrap:""}},[n("v-flex",[n("TechnologyPost",{staticStyle:{"margin-bottom":"1em"},attrs:{type:"Announcement",techstack:t.techstack},on:{organizationCreated:t.loadTechStack}}),n("v-toolbar",[n("v-toolbar-title",[t._v("Technologies used by "+t._s(t.techstack.name))])],1),n("v-card",t._l(t.stackTiers,function(e){return n("v-layout",{key:e.name,staticClass:"tech-info"},[n("v-flex",[n("v-flex",[n("h2",[t._v(t._s(e.title))])]),n("v-container",{attrs:{fluid:"","grid-list-sm":""}},[n("v-layout",{attrs:{row:"",wrap:"","align-center":""}},t._l(e.techChoices,function(e){return n("v-flex",{key:e.id,staticStyle:{"max-width":"300px"}},[n("nuxt-link",{attrs:{to:t.routes.tech(e.slug),title:e.name}},[e.logoApproved?n("img",{staticStyle:{"max-width":"300px","max-height":"80px",padding:"0 1em 0 .5em"},attrs:{src:e.logoUrl}}):t._e()])],1)}))],1)],1)],1)}))],1)],1)],1):t._e(),t.techstack&&t.techstack.detailsHtml?n("section",{staticClass:"block block1"},[n("v-container",{staticClass:"body",staticStyle:{"padding-bottom":"2em"},attrs:{id:"stack-details","grid-list-md":""}},[n("v-card",[n("v-card-title",[n("div",{staticClass:"details-html",staticStyle:{padding:"1em"},domProps:{innerHTML:t._s(t.techstack.detailsHtml)}})])],1)],1)],1):t._e(),t.techstack?n("v-container",{staticClass:"body",attrs:{"grid-list-md":""}},[n("TechnologyComments",{ref:"techComments",attrs:{techstack:t.techstack},on:{organizationCreated:t.loadTechStack}})],1):t._e()],1)};o._withStripped=!0;var r={render:o,staticRenderFns:[]};e.a=r},uhOz:function(t,e,n){"use strict";var o=n("Xxa5"),r=n.n(o),s=n("exGp"),i=n.n(s),a=n("fZjL"),c=n.n(a),l=n("Dd8w"),u=n.n(l),p=n("NWSh"),f=n.n(p),d=n("NYxO"),h=n("kRG6"),m=(n.n(h),n("u1Qv")),v=n("J9uk"),g=n("5YJS"),b={title:"",content:"",url:""};e.a={components:{Editor:f.a},props:["type","technology","techstack"],computed:u()({errorSummary:function(){return h.errorResponseExcept.call(this,c()(b))},tech:function(){return this.technology||this.techstack},organizationSlug:function(){return this.organization&&this.organization.slug}},Object(d.mapGetters)(["loading","isAuthenticated","organization"])),methods:{loadOrganization:function(){var t=i()(r.a.mark(function t(){return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.organizationId=this.tech&&this.tech.organizationId,!this.organizationId){t.next=6;break}return t.next=4,this.$store.dispatch("loadOrganizationByIdIfNotExists",this.tech.organizationId);case 4:return t.next=6,this.loadLatestPost();case 6:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}(),loadLatestPost:function(){var t=i()(r.a.mark(function t(){var e;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(v.U)({organizationId:this.organizationId,types:this.type,skip:0,take:1});case 2:e=t.sent,this.latestPost=e[0];case 4:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}(),reset:function(t){this.title=this.content=this.url=null,this.add=!1},submit:function(){var t=i()(r.a.mark(function t(){var e,n;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.$refs.form.validate()){t.next=38;break}if(t.prev=1,this.$store.commit("loading",!0),null!=this.organizationId){t.next=18;break}if(!this.technology){t.next=10;break}return t.next=7,Object(v.j)(this.technology.id);case 7:t.t0=t.sent,t.next=13;break;case 10:return t.next=12,Object(v.i)(this.techstack.id);case 12:t.t0=t.sent;case 13:e=t.t0,this.organizationId=e.organizationId,this.$store.dispatch("loadOrganizationBySlugIfNotExists",e.organizationSlug),this.$store.commit("latestOrganizationPostsQuery",null),this.$emit("organizationCreated",e);case 18:return(n=h.toObject.call(this,c()(b))).organizationId=this.organizationId,n.type=this.type,n.refId=this.tech.id,n.refSource=this.technology?"Technology":"TechnologyStack",n.refUrn="urn:"+n.refSource+":"+n.refId,t.next=26,Object(v.k)(n);case 26:return t.sent,this.reset(!0),t.next=30,this.loadLatestPost();case 30:t.next=35;break;case 32:t.prev=32,t.t1=t.catch(1),this.responseStatus=t.t1.responseStatus||t.t1;case 35:return t.prev=35,this.$store.commit("loading",!1),t.finish(35);case 38:case"end":return t.stop()}},t,this,[[1,32,35,38]])}));return function(){return t.apply(this,arguments)}}(),errorResponse:h.errorResponse},watch:{tech:function(){var t=i()(r.a.mark(function t(e){return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.loadOrganization();case 2:case"end":return t.stop()}},t,this)}));return function(e){return t.apply(this,arguments)}}()},mounted:function(){var t=i()(r.a.mark(function t(){return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.loadOrganization();case 2:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}(),data:function(){return u()({routes:m.a},b,{organizationId:null,add:!1,valid:!0,responseStatus:null,latestPost:null,titleRules:g.u,titleCounter:g.t,contentRules:g.c,contentCounter:g.b,urlRulesOptional:g.y,urlCounter:g.w})}}},vbt2:function(t,e,n){"use strict";var o=n("S4Uo"),r=n("quHo"),s=n("VU/8")(o.a,r.a,!1,null,null,null);s.options.__file="src\\components\\CommentEdit.vue",e.a=s.exports},vnTt:function(t,e,n){"use strict";var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-layout",{attrs:{column:""}},[t.post?n("v-flex",{staticClass:"post-features"},[n("v-flex",{staticClass:"post-features"},[t.post.comments.length>1?n("h2",{staticClass:"comments-title"},[t._v("All "+t._s(t.post.comments.length||"")+" comments")]):t.isAuthenticated?n("div",{staticClass:"comments-title"},[t._v("Leave a comment")]):n("div",{staticClass:"comments-signin"},[t._v("Please "),n("a",{attrs:{href:t.routes.authGitHub}},[t._v("Sign In")]),t._v(" to comment")]),t.canCommentPost(t.post)?n("CommentEdit",{ref:"txtComments",attrs:{post:t.post},on:{done:t.commentDone}}):t._e()],1),n("v-flex",{staticClass:"post-comments"},t._l(t.parentComments,function(e){return n("PostComment",{key:e.id,attrs:{post:t.post,comment:e,hide:["pin"]}})}))],1):t.loading||t.notFound?t._e():n("v-flex",{staticClass:"post-features"},[t.isAuthenticated?n("div",[n("h2",{staticClass:"comments-title"},[t._v("Leave a comment")]),n("v-form",{ref:"form",attrs:{"lazy-validation":""},model:{value:t.valid,callback:function(e){t.valid=e},expression:"valid"}},[n("v-card",{staticStyle:{"margin-top":".5em"}},[n("v-card-text",{staticStyle:{"padding-top":"0"}},[n("v-alert",{attrs:{outline:"",color:"error",icon:"warning",value:t.errorSummary}},[t._v(t._s(t.errorSummary))]),n("Editor",{ref:"editor",staticStyle:{"padding-top":"10px"},attrs:{label:"Comment",rows:6,counter:t.contentCounter,rules:t.contentRules,"error-messages":t.errorResponse("content")},on:{save:t.submit},model:{value:t.content,callback:function(e){t.content=e},expression:"content"}})],1),n("v-card-actions",[n("v-layout",[n("v-btn",{attrs:{flat:""},on:{click:t.submit}},[t._v("Submit")])],1)],1)],1)],1)],1):n("div",{staticClass:"comments-signin"},[t._v("Please "),n("a",{attrs:{href:t.routes.authGitHub}},[t._v("Sign In")]),t._v(" to comment")])])],1)};o._withStripped=!0;var r={render:o,staticRenderFns:[]};e.a=r},xRMh:function(t,e,n){"use strict";var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.organization&&t.post?n("div",{staticClass:"post-alerts"},[t.post.labels&&t.post.labels.length>0?n("div",{staticClass:"post-labels"},[t.post.status?n("nuxt-link",{class:"label "+t.post.status,attrs:{to:t.toUrl({is:t.post.status})}},[t._v("\n            "+t._s(t.post.status)+"\n        ")]):t._e(),t._l(t.post.labels,function(e){return n("nuxt-link",{key:e,staticClass:"label",style:t.labelStyle(e,t.organization),attrs:{to:t.toUrl({is:e})}},[t._v("\n            "+t._s(e)+"\n        ")])})],2):t._e(),t.post.archived?n("v-alert",{attrs:{outline:"",color:"grey",icon:"archive",value:!0}},[t._v("\n        This is an archived post. You won't be able to vote or comment. Posts are automatically archived after 6 months.\n    ")]):null!=t.post.locked?n("v-alert",{attrs:{outline:"",color:"info",icon:"lock",value:!0}},[t._v("\n        This post is locked and contributions is limited to "+t._s(t.organization.name)+" moderators. "+t._s(t.fromNow(t.post.locked))+"\n    ")]):null==t.organization.locked||t.isOrganizationMember()?t.memberCannotComment()?n("v-alert",{attrs:{outline:"",color:"error",icon:"lock",value:!0}},[t._v("\n        You are not permitted add comments\n    ")]):t._e():n("v-alert",{attrs:{outline:"",color:"info",icon:"lock",value:!0}},[t._v("\n        Contributions to "+t._s(t.organization.name)+" is limited to members only\n    ")]),null!=t.post.hidden?n("v-alert",{attrs:{outline:"",color:"info",icon:"remove_red_eye",value:!0}},[t._v("\n        This post is hidden and will not be displayed in search results or news feeds. "+t._s(t.fromNow(t.post.hidden))+"\n    ")]):t._e()],1):t._e()};o._withStripped=!0;var r={render:o,staticRenderFns:[]};e.a=r}});