(window.webpackJsonp=window.webpackJsonp||[]).push([[30,14],{1085:function(t,e,o){"use strict";o(550)},1086:function(t,e,o){var n=o(107)(!1);n.push([t.i,".question-icon{height:21px;margin:0 5px}.question-link{color:#113343}@media only screen and (max-width:700px){.question-icon{height:19px}}",""]),t.exports=n},1087:function(t,e,o){"use strict";o(551)},1088:function(t,e,o){var n=o(107)(!1);n.push([t.i,".wrapper[data-v-324f9ad2]{max-width:700px;padding:0 30px;margin-left:auto;margin-right:auto;color:#113343}.question[data-v-324f9ad2]{font-size:24px;margin-bottom:20px;margin-top:120px}.result[data-v-324f9ad2]{padding:25px 20px 20px;background:#fff;border-radius:5px;text-align:center;line-height:1.5em;border:1px solid #2f5d72;box-shadow:7px 7px 0 #2f5d72}.result-text[data-v-324f9ad2]{font-size:20px}.options[data-v-324f9ad2]{display:grid;grid-template-columns:1fr 1fr;grid-gap:25px}.option[data-v-324f9ad2]{padding:27px 17px;border:1px solid #2f5d72;box-shadow:5px 5px 0 #2f5d72;text-align:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#fff;cursor:pointer;font-size:20px;border-radius:5px;color:#113343}.option[data-v-324f9ad2]:first-letter{text-transform:uppercase}.option[data-v-324f9ad2]:hover{transform:translateY(2px)}.bar[data-v-324f9ad2]{height:25px;border-radius:5px;margin-top:15px;overflow:hidden;position:relative;border:1px solid #2f5d72;background:#f7f9ff}.bar-inner[data-v-324f9ad2]{height:100%;width:0;background:url(/lets-settle-this/halftone.png);background-size:50px auto;transition:width 1s ease-in-out}.winner[data-v-324f9ad2]{color:#ff26a1}.percent[data-v-324f9ad2]{width:170px;white-space:nowrap}.bar-label[data-v-324f9ad2]{display:flex;justify-content:space-between;padding:0 3px;font-size:15px;margin-top:2px;position:relative}.bar-label .percent[data-v-324f9ad2]:first-child{text-align:left}.bar-label .percent[data-v-324f9ad2]:last-child{text-align:right}.percents[data-v-324f9ad2]{position:absolute;top:0;left:0;width:100%;display:flex;justify-content:space-between;padding:1px 7px 0;color:#fff}.decided[data-v-324f9ad2]{font-weight:700;font-size:20px;margin-bottom:10px;text-transform:uppercase}.icon[data-v-324f9ad2]{height:19px;position:relative;top:3px;left:-6px}@media only screen and (max-width:700px){.wrapper[data-v-324f9ad2]{padding:0 20px}.question[data-v-324f9ad2]{font-size:20px;line-height:1.3em;text-align:center;max-width:300px;margin:85px auto 15px;padding:0 10px}.option[data-v-324f9ad2],.options[data-v-324f9ad2]{display:block}.option[data-v-324f9ad2]{padding:23px 0;width:100%;margin-bottom:15px;font-size:20px}.result[data-v-324f9ad2]{padding:20px 15px 37px}.result-text[data-v-324f9ad2]{font-size:19px;padding:0 15px}.decided[data-v-324f9ad2]{font-size:11px;opacity:.6;margin-bottom:6px;margin-top:1px}.votes[data-v-324f9ad2]{position:absolute;top:23px;left:50%;transform:translateX(-50%);font-size:16px}.bar[data-v-324f9ad2]{height:25px;margin-top:5px}.result-text .icon[data-v-324f9ad2]{height:16px;left:-3px;top:1px}.bar-label[data-v-324f9ad2]{margin-top:0;font-size:13px}}",""]),t.exports=n},1089:function(t,e,o){"use strict";o(552)},1090:function(t,e,o){var n=o(107),r=o(200),d=o(1091),l=n(!1),c=r(d);l.push([t.i,'@font-face{font-family:"Rubik";src:url('+c+')}.container[data-v-00d67778]{background:url(/lets-settle-this/bg.svg);background-size:35px auto;color:#113343;font-family:"Rubik",sans-serif}.site[data-v-00d67778]{position:absolute;top:20px;left:110px;max-width:140px;text-decoration:none;color:#113343;z-index:2;cursor:pointer}.title[data-v-00d67778]{max-width:550px;margin-top:100px;width:100%}.header[data-v-00d67778]{text-align:center;pointer-events:none}.header[data-v-00d67778],.questions[data-v-00d67778]{position:relative;z-index:2}.questions[data-v-00d67778]{margin-bottom:70px}h1[data-v-00d67778]{padding-top:100px;text-transform:uppercase}h2[data-v-00d67778]{font-weight:400;margin-top:40px;line-height:1.45em}.side-img[data-v-00d67778]{position:absolute;z-index:0}.coke[data-v-00d67778]{top:2450px;right:-50px;width:215px}.coke[data-v-00d67778],.jif[data-v-00d67778]{transform:rotate(-10deg)}.jif[data-v-00d67778]{top:300px;right:-75px;width:225px}.toilet-paper[data-v-00d67778]{top:1900px;right:-50px;width:235px}.chicken[data-v-00d67778],.toilet-paper[data-v-00d67778]{transform:rotate(-5deg)}.chicken[data-v-00d67778]{top:900px;left:-160px;width:350px}.egg[data-v-00d67778]{top:1000px;right:-60px;width:220px}.cereal[data-v-00d67778],.egg[data-v-00d67778]{transform:rotate(10deg)}.cereal[data-v-00d67778]{top:1700px;left:-120px;width:330px}.sun[data-v-00d67778]{top:4950px;left:-220px;width:430px;transform:rotate(10deg)}.leo[data-v-00d67778]{top:3700px;left:-150px;width:350px;transform:rotate(30deg)}.ps5[data-v-00d67778]{top:5100px;right:-200px;width:440px;transform:rotate(-70deg)}.hotdog[data-v-00d67778]{top:4100px;right:-120px;width:400px;transform:rotate(-15deg) scaleY(-1)}.vader[data-v-00d67778]{top:3000px;left:-150px;width:350px;transform:rotate(0deg)}.side-wrapper[data-v-00d67778]{position:absolute;top:0;left:0;width:100%;height:1000%;overflow:hidden;pointer-events:none;opacity:.8;display:none}.batman[data-v-00d67778]{top:4250px;left:-150px;width:250px;transform:rotate(8deg)}.captain-america[data-v-00d67778]{top:4500px;right:-150px;width:300px;transform:rotate(-8deg) scaleX(-1)}.ship[data-v-00d67778]{top:3200px;right:-200px;width:550px;transform:rotate(100deg) scaleX(1)}.cup[data-v-00d67778]{top:7300px;left:-70px;width:220px}.brain[data-v-00d67778]{top:5600px;left:-160px;width:410px;transform:rotate(30deg)}.peanut[data-v-00d67778]{top:7500px;right:-100px;width:250px;transform:rotate(10deg)}.android[data-v-00d67778]{top:7000px;right:-120px;width:320px}.android[data-v-00d67778],.iphone[data-v-00d67778]{transform:rotate(-10deg)}.iphone[data-v-00d67778]{top:6700px;left:-100px;width:220px}.border-right[data-v-00d67778]{right:0;background-position:50px 0}.border-left[data-v-00d67778],.border-right[data-v-00d67778]{position:absolute;top:0;width:150px;background-image:url(/lets-settle-this/border.png);background-size:100% auto;background-repeat:repeat-y;opacity:.4;pointer-events:none}.border-left[data-v-00d67778]{left:0;background-position:50px 700px;transform:scaleX(-1)}.endnote[data-v-00d67778]{line-height:1.45em;font-size:2;font-size:1.3em;padding:0 15px;max-width:600px;margin:40px auto;text-align:center}@media only screen and (max-width:700px){.title[data-v-00d67778]{padding:0 30px}h2[data-v-00d67778]{font-size:20px;padding:0 25px;margin-top:20px;line-height:1.3em}h2 br[data-v-00d67778]{display:none}.border-left[data-v-00d67778],.border-right[data-v-00d67778]{width:120px;opacity:.25}.border-left[data-v-00d67778],.border-right[data-v-00d67778]{background-position:60px 700px}.header[data-v-00d67778]{margin-bottom:-15px}.endnote[data-v-00d67778]{margin-top:-10px;font-size:18px;max-width:350px}.site[data-v-00d67778]{top:15px;left:15px;max-width:105px}}',""]),t.exports=l},1091:function(t,e,o){t.exports=o.p+"fonts/Rubik-Regular.0f56ab0.ttf"},1312:function(t,e,o){"use strict";o.r(e);var n,r,d=o(10),l=(o(60),o(15),o(34),o(62),o(65),o(310)),c={props:{text:{type:String,required:!0},options:{type:Array,required:!0},icons:{type:Array,required:!0},results:{type:Array,required:!0},answer:{type:Array,required:!1,default:["",""]},id:{type:String,required:!0}},data:function(){return{showResults:!1,tween:null}},computed:{winnerIndex:function(){return this.results[0]>=this.results[1]?0:1},totalVotes:function(){return this.results[0]+this.results[1]},percent:function(){return Math.round(this.results[0]/this.totalVotes*100)},isEqual:function(){return 50===this.percent}},watch:{showResults:function(){this.showResults&&this.totalVotes>0&&this.animateResults()},results:function(){this.showResults&&this.totalVotes>0&&this.animateResults()}},mounted:function(){localStorage.getItem("lst-".concat(this.id))&&(this.showResults=!0)},methods:{animateResults:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1200,o={percent:0,votes:0},n=!1;this.tween=new l.c.Tween(o).to({percent:this.percent,votes:this.totalVotes},e).easing(l.c.Easing.Cubic.Out).onUpdate((function(){t.$refs.votes.innerText=Math.round(o.votes).toLocaleString(),t.$refs.leftPercent.innerText=Math.round(o.percent),t.$refs.rightPercent.innerText=Math.round(100-o.percent),t.$refs.barInner.style.width="".concat(Math.round(t.percent),"%")})).onComplete((function(){n=!0})).start();var animate=function animate(time){l.c.update(time),n||requestAnimationFrame(animate)};requestAnimationFrame(animate)},replaceLastSpace:function(s){if(s.includes(" "))return s;var t=s.lastIndexOf(" ");return s.substring(0,t)+" "+s.substring(t+1)},selected:(n=Object(d.a)(regeneratorRuntime.mark((function t(i){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.showResults=!0,localStorage.setItem("lst-".concat(this.id),!0),t.next=5,fetch("https://seahorse-app-w2ga6.ondigitalocean.app/vote",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({question:this.id,option:i})});case 5:case"end":return t.stop()}}),t,this)}))),function(t){return n.apply(this,arguments)})}},h=c,f=(o(1085),o(1087),o(28)),x={components:{question:Object(f.a)(h,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"wrapper",class:{"wrapper-results":t.showResults}},[e("div",{staticClass:"question",domProps:{innerHTML:t._s(t.replaceLastSpace(t.text))}}),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.showResults,expression:"showResults"}],staticClass:"result"},[e("div",{staticClass:"result-text"},[e("div",{staticClass:"decided"},[t._v("\n "+t._s(t.isEqual?"The internet has NOT decided.":"The internet has decided.")+"\n ")]),t._v(" "),e("img",{staticClass:"icon",attrs:{src:"/lets-settle-this/".concat(t.isEqual?"hand-shake":t.icons[t.winnerIndex],".svg")}}),t._v(" "),e("span",{domProps:{innerHTML:t._s(t.isEqual?"It's a tie.":t.replaceLastSpace(t.answer[t.winnerIndex]))}})]),t._v(" "),e("div",{staticClass:"bar"},[e("div",{ref:"barInner",staticClass:"bar-inner"})]),t._v(" "),e("div",{staticClass:"bar-label"},[e("div",{staticClass:"percent"},[t._v("\n "+t._s(t.options[0])+" ("),e("span",{ref:"leftPercent"},[t._v("0")]),t._v("%)\n ")]),t._v(" "),e("div",{staticClass:"votes"},[e("span",{ref:"votes"},[t._v("0")]),t._v(" votes")]),t._v(" "),e("div",{staticClass:"percent"},[t._v("\n "+t._s(t.options[1])+" ("),e("span",{ref:"rightPercent"},[t._v("0")]),t._v("%)\n ")])])]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.showResults,expression:"!showResults"}],staticClass:"options"},t._l(t.options,(function(option,i){return e("button",{key:i,staticClass:"option",class:{"option-1":0===i},on:{click:function(){return t.selected(i)}}},[e("img",{staticClass:"icon",attrs:{src:"/lets-settle-this/".concat(t.icons?t.icons[i]:"",".svg")}}),t._v("\n "+t._s(option)+"\n ")])})),0)])}),[],!1,null,"324f9ad2",null).exports},mounted:function(){var t=this;new ResizeObserver((function(e){t.bodyHeight=e[0].target.clientHeight})).observe(document.body);var e=[];this.questions.forEach((function(element){e.push(element.id)}))},created:(r=Object(d.a)(regeneratorRuntime.mark((function t(){var data;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=4,fetch("https://seahorse-app-w2ga6.ondigitalocean.app/getVotes",{method:"GET",headers:{"Content-Type":"application/json"}});case 4:return data=t.sent,t.next=7,data.json();case 7:this.results=t.sent,t.next=12;break;case 10:t.prev=10,t.t0=t.catch(0);case 12:case"end":return t.stop()}}),t,this,[[0,10]])}))),function(){return r.apply(this,arguments)}),data:function(){return{bodyHeight:window.innerHeight,results:[],questions:[{q:"How do you pronounce gif?",options:["Gif","Jif"],icons:["gif","jif"],id:"gif",answer:["It's pronounced gif.","It's pronounced jif."]},{q:"Is the dress blue and black or white and gold?",options:["Blue & black","White & gold"],tooltip:"",id:"dress",icons:["blue-and-black","white-and-gold"],answer:["The dress is blue and black.","The dress is white and gold."]},{q:"What came first, the chicken or the egg?",options:["Chicken","Egg"],icons:["chicken","egg"],id:"chicken",answer:["The chicken came first.","The egg came first."]},{q:"Should a sandwich be cut diagonally or horizontally?",options:["Diagonally","Horizontally"],icons:["diagonal","horizontal"],id:"sandwich",answer:["A sandwich should be cut diagonally.","A sandwich should be cut horizontally."]},{q:"Is cereal a soup?",options:["Yes","No"],icons:["yes","no"],id:"cereal",answer:["Cereal is a soup.","Cereal is not a soup."]},{q:"Toilet paper over or under?",options:["Over","Under"],icons:["toilet-out","toilet-in"],id:"toilet",answer:["The correct way is over.","The correct way is under."]},{q:"Pepsi or Coke?",options:["Pepsi","Coke"],icons:["pepsi","coke"],id:"coke",answer:["Pepsi is better.","Coke is better."]},{q:"Is pineapple on pizza good?",options:["Yes","No"],icons:["yes","no"],id:"pineapple",answer:["Pineapple on pizza is good.","Pineapple on pizza is not good."]},{q:"Star Wars or Star Trek?",options:["Star Wars","Star Trek"],icons:["star-wars","star-trek"],id:"starwars",answer:["Star Wars is better.","Star Trek is better."]},{q:"Would a dog wear pants like this, or like this?",options:["Like this","No, like this"],icons:["dog-first","dog-second"],id:"dogpants",answer:["A dog would wear pants like this.","A dog would wear pants like this."]},{q:"Could Jack have fit on the door in the movie Titanic?",options:["Yes","No"],icons:["yes","no"],id:"titanic",answer:["Jack could have fit on that door.","Jack could not have fit on that door."]},{q:"Are hot dogs a sandwich?",options:["Yes","No"],icons:["yes","no"],id:"hotdog",answer:["Hot dogs are a sandwich.","Hot dogs are not a sandwich."]},{q:"Marvel or DC?",options:["Marvel","DC"],icons:["marvel","dc"],id:"comic",answer:["Marvel wins.","DC wins."]},{q:"Should we get rid of daylight saving?",options:["Yes","No"],icons:["yes","no"],id:"daylight",answer:["We should get rid of daylight saving.","We should not get rid of daylight saving."]},{q:"Xbox or Playstation?",options:["Xbox","Playstation"],icons:["xbox","playstation"],id:"console",answer:["Xbox is better.","Playstation is better."]},{q:"Are we living in a simulation?",options:["Yes","No"],icons:["yes","no"],id:"simulation",answer:["Yes, we are living in a simulation.","No, we are not living a simulation."]},{q:"Is Die Hard a Christmas movie?",options:["Yes","No"],icons:["yes","no"],id:"diehard",answer:["Yes, Die Hard is a Christmas movie.","No, Die Hard is not a Christmas movie."]},{q:"Middle brownie piece, or edge piece?",options:["Middle","Edge"],icons:["middle","edge"],id:"brownie",answer:["The middle piece is tastier.","The edge piece is tastier."]},{q:"Sock shoe sock shoe or sock sock shoe shoe?",options:["First","Second"],icons:["sock-shoe","sock-sock"],id:"sockshoe",answer:["Sock shoe sock shoe is the correct way.","Sock sock shoe shoe is the correct way."]},{q:"iPhone or Android?",options:["iPhone","Android"],icons:["apple","android"],id:"smartphone",answer:["iPhone wins.","Android wins."]},{q:"Does a straw have one hole or two?",options:["One","Two"],icons:["one-hole","two-holes"],id:"straw",answer:["A straw has one hole.","A straw has two holes."]},{q:"Smooth or chunky peanut butter?",options:["Smooth","Chunky"],icons:["smooth","chunky"],id:"peanutbutter",answer:["Smooth peanut butter is better.","Chunky peanut butter is better."]}]}}},v=x,m=(o(1089),Object(f.a)(v,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container"},[e("nuxt-link",{staticClass:"site",attrs:{to:"/"}},[e("logo",{attrs:{color:"#284F61"}})],1),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"questions"},t._l(t.questions,(function(o){return e("question",{key:o.id,attrs:{id:o.id,text:o.q,icons:o.icons,options:o.options,results:t.results[o.id]||[0,0],answer:o.answer}})})),1),t._v(" "),e("div",{staticClass:"border-right",style:{height:t.bodyHeight+"px"}}),t._v(" "),e("div",{staticClass:"border-left",style:{height:t.bodyHeight+"px"}}),t._v(" "),e("div",{staticClass:"endnote"},[t._v("\n Now that the internet has decided the big questions, you are finally free\n from the endless debates.\n ")]),t._v(" "),e("Footer",{attrs:{bg:"none",color:"#113343"}})],1)}),[function(){var t=this,e=t._self._c;return e("div",{staticClass:"header"},[e("img",{staticClass:"title",attrs:{src:"/lets-settle-this/title.svg"}}),t._v(" "),e("h2",[t._v("\n Internet debates have raged for too long."),e("br"),t._v("\n It's time to settle the big questions so we can move on.\n ")])])}],!1,null,"00d67778",null));e.default=m.exports;installComponents(m,{Logo:o(287).default,Footer:o(295).default})},277:function(t,e,o){var content=o(286);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(108).default)("f68e4eaa",content,!0,{sourceMap:!1})},278:function(t,e,o){var content=o(291);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(108).default)("db35a8f0",content,!0,{sourceMap:!1})},279:function(t,e,o){var content=o(294);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(108).default)("c9434642",content,!0,{sourceMap:!1})},280:function(t,e,o){"use strict";o.r(e);o(276);var n={props:{slotId:{type:String,required:!0},adFormat:{type:String,required:!0},isResponsive:{type:Boolean,required:!1,default:!1},adStyle:{type:String,required:!0},minWidth:{type:Number,required:!1,default:-1},maxWidth:{type:Number,required:!1,default:-1}},data:function(){return{hideAd:!1,shouldShow:this.shouldShowAd()}},mounted:function(){var t=this;this.createAds(),this.$addEventListener("resize",(function(){t.hideAd=!t.shouldShowAd()}))},watch:{$route:function(){this.firstLoad=!1,this.createAds()}},methods:{createAds:function(){var t=this;this.$nextTick((function(){t.shouldShowAd()&&(window.adsbygoogle=window.adsbygoogle||[],adsbygoogle.push({}))}))},shouldShowAd:function(){return(-1===this.minWidth||window.innerWidth>=this.minWidth)&&(-1===this.maxWidth||window.innerWidth500?4:3,e=Object(r.a)(this.$store.state.posts),o=this.$route.path;e=e.filter((function(t){return"/".concat(t.path,"/")!==o&&!t.hidden&&!t.hideInRecommended}));for(var n=[],d=0;d