Spaces:
Running
Running
(window.webpackJsonp=window.webpackJsonp||[]).push([[42,10,11,14],{1175:function(t,e,o){"use strict";o(720)},1176:function(t,e,o){var r=o(107)(!1);r.push([t.i,".belt[data-v-ce57eb84]{background-position:0 0;animation:beltAnim-ce57eb84 var(--speed) infinite linear}.belt-info-wrapper[data-v-ce57eb84]{display:block;text-align:center}.belt-info[data-v-ce57eb84]{display:inline-block;font-size:16px;background:hsla(0,0%,100%,.4);padding:7px;border-radius:5px;min-width:0;text-align:center;margin-top:5px}@keyframes beltAnim-ce57eb84{0%{transform:translateX(0)}to{transform:translateX(calc(var(--width)*-1))}}",""]),t.exports=r},1177:function(t,e,o){!function(){"use strict";t.exports={polyfill:function(){var t=window,e=document;if(!("scrollBehavior"in e.documentElement.style)||!0===t.__forceSmoothScrollPolyfill__){var o,r=t.HTMLElement||t.Element,n={scroll:t.scroll||t.scrollTo,scrollBy:t.scrollBy,elementScroll:r.prototype.scroll||c,scrollIntoView:r.prototype.scrollIntoView},l=t.performance&&t.performance.now?t.performance.now.bind(t.performance):Date.now,d=(o=t.navigator.userAgent,new RegExp(["MSIE ","Trident/","Edge/"].join("|")).test(o)?1:0);t.scroll=t.scrollTo=function(){void 0!==arguments[0]&&(!0!==f(arguments[0])?y.call(t,e.body,void 0!==arguments[0].left?~~arguments[0].left:t.scrollX||t.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:t.scrollY||t.pageYOffset):n.scroll.call(t,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:t.scrollX||t.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:t.scrollY||t.pageYOffset))},t.scrollBy=function(){void 0!==arguments[0]&&(f(arguments[0])?n.scrollBy.call(t,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0):y.call(t,e.body,~~arguments[0].left+(t.scrollX||t.pageXOffset),~~arguments[0].top+(t.scrollY||t.pageYOffset)))},r.prototype.scroll=r.prototype.scrollTo=function(){if(void 0!==arguments[0])if(!0!==f(arguments[0])){var t=arguments[0].left,e=arguments[0].top;y.call(this,this,void 0===t?this.scrollLeft:~~t,void 0===e?this.scrollTop:~~e)}else{if("number"==typeof arguments[0]&&void 0===arguments[1])throw new SyntaxError("Value could not be converted");n.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:"object"!=typeof arguments[0]?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop)}},r.prototype.scrollBy=function(){void 0!==arguments[0]&&(!0!==f(arguments[0])?this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior}):n.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop))},r.prototype.scrollIntoView=function(){if(!0!==f(arguments[0])){var o=x(this),r=o.getBoundingClientRect(),l=this.getBoundingClientRect();o!==e.body?(y.call(this,o,o.scrollLeft+l.left-r.left,o.scrollTop+l.top-r.top),"fixed"!==t.getComputedStyle(o).position&&t.scrollBy({left:r.left,top:r.top,behavior:"smooth"})):t.scrollBy({left:l.left,top:l.top,behavior:"smooth"})}else n.scrollIntoView.call(this,void 0===arguments[0]||arguments[0])}}function c(t,e){this.scrollLeft=t,this.scrollTop=e}function f(t){if(null===t||"object"!=typeof t||void 0===t.behavior||"auto"===t.behavior||"instant"===t.behavior)return!0;if("object"==typeof t&&"smooth"===t.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+t.behavior+" is not a valid value for enumeration ScrollBehavior.")}function h(t,e){return"Y"===e?t.clientHeight+d<t.scrollHeight:"X"===e?t.clientWidth+d<t.scrollWidth:void 0}function m(e,o){var r=t.getComputedStyle(e,null)["overflow"+o];return"auto"===r||"scroll"===r}function v(t){var e=h(t,"Y")&&m(t,"Y"),o=h(t,"X")&&m(t,"X");return e||o}function x(t){for(;t!==e.body&&!1===v(t);)t=t.parentNode||t.host;return t}function w(e){var o,r,n,d,c=(l()-e.startTime)/468;d=c=c>1?1:c,o=.5*(1-Math.cos(Math.PI*d)),r=e.startX+(e.x-e.startX)*o,n=e.startY+(e.y-e.startY)*o,e.method.call(e.scrollable,r,n),r===e.x&&n===e.y||t.requestAnimationFrame(w.bind(t,e))}function y(o,r,d){var f,h,m,v,x=l();o===e.body?(f=t,h=t.scrollX||t.pageXOffset,m=t.scrollY||t.pageYOffset,v=n.scroll):(f=o,h=o.scrollLeft,m=o.scrollTop,v=c),w({scrollable:f,method:v,startTime:x,startX:h,startY:m,x:r,y:d})}}}}()},1178:function(t,e,o){"use strict";o(721)},1179:function(t,e,o){var r=o(107)(!1);r.push([t.i,".container[data-v-765197ce]{background:linear-gradient(90deg,#d9a7c7,#fffcdc);overflow-x:hidden}.sell-right[data-v-765197ce]{animation:moveSellRight-765197ce 3s linear infinite}.sell-left[data-v-765197ce],.sell-right[data-v-765197ce]{width:calc(100% + 100px);height:26px;background-image:url(/sell-sell-sell/sell-back.png);background-size:100px auto}.sell-left[data-v-765197ce]{animation:moveSellLeft-765197ce 3s linear infinite}.desc[data-v-765197ce]{max-width:min(475px,90%);font-size:22px;line-height:150%;margin:100px auto 20px;border-radius:10px;padding:0 20px;color:#1f1f1f;text-align:center}.site-title[data-v-765197ce]{max-width:140px;color:#fff;position:absolute;top:15px;left:15px;text-decoration:none;z-index:2;filter:drop-shadow(0 0 5px rgba(0,0,0,.5))}.first-desc[data-v-765197ce]{max-width:min(500px,70%);font-size:22px;line-height:150%;margin:40px auto -20px;border-radius:10px;padding:25px 20px;color:#1f1f1f;text-align:center;background:hsla(0,0%,100%,.5)}.header[data-v-765197ce]{height:100vh;overflow:hidden}.jeff[data-v-765197ce]{display:block;max-width:200px;margin:70px auto;animation:jeffMove-765197ce .08s ease-in-out infinite alternate-reverse}@keyframes arrowMove-765197ce{0%{transform:translateX(-50%) translateY(0)}0%{transform:translateX(-50%) translateY(4px)}}@keyframes jeffMove-765197ce{0%{transform:translateX(-5px)}0%{transform:translateX(5px)}}@keyframes moveSellRight-765197ce{0%{transform:translateX(0)}to{transform:translateX(-100px)}}@keyframes moveSellLeft-765197ce{0%{transform:translateX(-100px)}to{transform:translateX(0)}}.arrow[data-v-765197ce]{width:40px;bottom:50px;transform:translateX(-50%);opacity:.75;cursor:pointer;animation:arrowMove-765197ce 1s ease-in-out infinite alternate-reverse}.arrow[data-v-765197ce],.header-img[data-v-765197ce]{position:absolute;left:50%;z-index:2}.header-img[data-v-765197ce]{max-width:min(500px,90%,65vh);top:50%;transform:translate(-50%,-50%)}@media only screen and (max-width:600px){.desc[data-v-765197ce]{font-size:20px;line-height:27px;margin-bottom:20px;margin-top:90px;max-width:83%}.site-title[data-v-765197ce]{max-width:115px}.first-desc[data-v-765197ce]{font-size:18px;margin-bottom:-20px;margin-top:45px}}",""]),t.exports=r},1315:function(t,e,o){"use strict";o.r(e);var r={props:{width:{type:String,required:!0},height:{type:String,required:!0},speed:{type:String,required:!0},img:{type:String,required:!0},stat:{type:String,required:!0}}},n=(o(1175),o(28)),l=Object(n.a)(r,(function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"belt",style:{width:"calc(100% + ".concat(t.width,")"),height:t.height,backgroundImage:"url(".concat(t.img,")"),backgroundSize:"".concat(t.width," auto"),"--width":t.width,"--speed":t.speed}}),t._v(" "),e("div",{staticClass:"belt-info-wrapper"},[t.stat?e("div",{staticClass:"belt-info"},[t._v(t._s(t.stat))]):t._e()])])}),[],!1,null,"ce57eb84",null).exports,d=o(1177),c=o.n(d),f={components:{Product:l},mounted:function(){c.a.polyfill()},methods:{scrollDown:function(){window.scrollTo({top:window.innerHeight,left:0,behavior:"smooth"})}}},h=(o(1178),Object(n.a)(f,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container"},[e("nuxt-link",{staticClass:"site-title",attrs:{to:"/"}},[e("logo",{attrs:{color:"white"}})],1),t._v(" "),e("img",{staticClass:"arrow",attrs:{src:"/sell-sell-sell/arrow.svg"},on:{click:t.scrollDown}}),t._v(" "),e("div",{staticClass:"header"},[e("img",{staticClass:"header-img",attrs:{src:"/sell-sell-sell/sell-title.svg"}}),t._v(" "),t._l(20,(function(o,i){return e("div",{key:i},[e("div",{staticClass:"sell-right"}),t._v(" "),e("div",{staticClass:"sell-left"})])}))],2),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"desc"},[t._v("\n Toyota is king of the automobile world with 11 million cars sold per year.\n ")]),t._v(" "),e("product",{attrs:{img:"/sell-sell-sell/minified/toyota.png",height:"100px",width:"300px",speed:"3s",title:"Toyota",stat:"20 Toyotas sold/min"}}),t._v(" "),e("div",{staticClass:"desc"},[t._v("\n First released in 2009, Minecraft is still one of the best selling video\n games.\n ")]),t._v(" "),e("product",{attrs:{img:"/sell-sell-sell/minified/minecraft.png",height:"150px",width:"125px",speed:"1.3s",title:"M",stat:"45 Minecraft copies sold/min"}}),t._v(" "),e("div",{staticClass:"desc"},[t._v("Samsung sells over 40 million TVs a year.")]),t._v(" "),e("product",{attrs:{img:"/sell-sell-sell/minified/samsung-tv.png",height:"145px",width:"230px",speed:".73s",stat:"81 Samsung TVs sold/min"}}),t._v(" "),e("div",{staticClass:"desc"},[t._v("\n Remember when everyone was making fun of AirPods? Whoops.\n ")]),t._v(" "),e("product",{attrs:{img:"/sell-sell-sell/minified/airpods.png",height:"140px",width:"120px",speed:".52s",stat:"114 AirPods sold/min"}}),t._v(" "),t._m(1),t._v(" "),e("product",{attrs:{img:"/sell-sell-sell/minified/advil.png",height:"150px",width:"100px",speed:".47s",stat:"2 Advils sold/sec"}}),t._v(" "),e("div",{staticClass:"desc"},[t._v("\n Cheerios is the most popular cereal with over 100 million boxes sold per\n year.\n ")]),t._v(" "),e("product",{attrs:{img:"/sell-sell-sell/minified/cheerios.png",height:"520px",width:"100px",speed:".9s",stat:"4 Cheerios boxes sold/sec"}}),t._v(" "),e("div",{staticClass:"desc"},[t._v("\n Campbell's Soup has owned the soup market since the 1800s.\n ")]),t._v(" "),e("product",{attrs:{img:"/sell-sell-sell/minified/cambell.png",height:"510px",width:"80px",speed:".63s",stat:"6 Campbell's Chicken Noodle Soups sold/sec"}}),t._v(" "),e("div",{staticClass:"desc"},[t._v("Here is Apple printing money again.")]),t._v(" "),e("product",{attrs:{img:"/sell-sell-sell/minified/iphone.png",height:"678px",width:"90px",speed:".57s",stat:"7 iPhones sold/sec"}}),t._v(" "),e("div",{staticClass:"desc"},[t._v("Adidas produces more than 400 million shoes a year.")]),t._v(" "),e("product",{attrs:{img:"/sell-sell-sell/minified/shoes.png",height:"553px",width:"160px",speed:".49s",stat:"14 pairs of Adidas sold/sec"}}),t._v(" "),t._m(2),t._v(" "),e("product",{attrs:{img:"/sell-sell-sell/minified/pizza.png",height:"880px",width:"90px",speed:".29s",stat:"34 Domino's pizzas sold/sec"}}),t._v(" "),e("div",{staticClass:"desc"},[t._v("\n Wow the pizzas don't look healthy. At least that's the worst thing we\n consume.\n ")]),t._v(" "),e("product",{attrs:{img:"/sell-sell-sell/minified/big-mac.png",height:"1190px",width:"70px",speed:".26s",stat:"75 McDonald's burgers sold/sec"}}),t._v(" "),e("div",{staticClass:"desc"},[t._v("\n Oh well, anyway those are some of the products that have won capitalism.\n ")]),t._v(" "),e("div",{staticClass:"desc"},[t._v("Congratulations to the winners.")]),t._v(" "),e("div",{staticClass:"desc"},[t._v("Wait, what's that? Oh no...")]),t._v(" "),e("img",{staticClass:"jeff",attrs:{src:"/sell-sell-sell/jeff.png"}}),t._v(" "),e("product",{attrs:{img:"/sell-sell-sell/minified/amazon.png",height:"1452px",width:"90px",speed:".24s",stat:""}}),t._v(" "),e("product",{attrs:{img:"/sell-sell-sell/minified/amazon.png",height:"1452px",width:"90px",speed:".24s",stat:"222 Amazon packages delivered/sec"}}),t._v(" "),e("Footer",{attrs:{bg:"none"}})],1)}),[function(){var t=this,e=t._self._c;return e("div",{staticClass:"first-desc"},[t._v("\n Capitalism ramped up in the 21st century, and if you're not selling,\n you're\n "),e("i",[t._v("losing")]),t._v(". Here are some products that won capitalism.\n ")])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"desc"},[t._v("\n Is capitalism giving you a headache?"),e("br"),e("br"),t._v("\n Buy some Advil!\n ")])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"desc"},[t._v("\n The world "),e("i",[t._v("really")]),t._v(" loves pizza, and Domino's is happy to oblige.\n ")])}],!1,null,"765197ce",null));e.default=h.exports;installComponents(h,{Logo:o(287).default,Footer:o(295).default})},276:function(t,e,o){"use strict";var r=o(2),n=o(19),l=o(9),d=o(6),path=o(204),c=o(4),f=o(109),h=o(12),m=o(201),v=o(39),x=o(81),w=o(202),y=o(3),_=o(80).f,k=o(29).f,C=o(21).f,S=o(281),A=o(282).trim,z="Number",T=d[z],E=path[z],I=T.prototype,M=d.TypeError,L=c("".slice),j=c("".charCodeAt),X=function(t){var e=w(t,"number");return"bigint"==typeof e?e:N(e)},N=function(t){var e,o,r,n,l,d,c,code,f=w(t,"number");if(x(f))throw M("Cannot convert a Symbol value to a number");if("string"==typeof f&&f.length>2)if(f=A(f),43===(e=j(f,0))||45===e){if(88===(o=j(f,2))||120===o)return NaN}else if(48===e){switch(j(f,1)){case 66:case 98:r=2,n=49;break;case 79:case 111:r=8,n=55;break;default:return+f}for(d=(l=L(f,2)).length,c=0;c<d;c++)if((code=j(l,c))<48||code>n)return NaN;return parseInt(l,r)}return+f},O=f(z,!T(" 0o1")||!T("0b1")||T("+0x1")),R=function(t){return v(I,t)&&y((function(){S(t)}))},Y=function(t){var e=arguments.length<1?0:T(X(t));return R(this)?m(Object(e),this,Y):e};Y.prototype=I,O&&!n&&(I.constructor=Y),r({global:!0,constructor:!0,wrap:!0,forced:O},{Number:Y});var W=function(t,source){for(var e,o=l?_(source):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),r=0;o.length>r;r++)h(source,e=o[r])&&!h(t,e)&&C(t,e,k(source,e))};n&&E&&W(path[z],E),(O||n)&&W(path[z],T)},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 r={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.innerWidth<this.maxWidth)}},beforeDestroy:function(){window.top.__vm_remove=window.top.__vm_remove||[],window.top.__vm_remove.push(this.$refs.adPlacement)}},n=(o(285),o(28)),component=Object(n.a)(r,(function(){var t=this,e=t._self._c;return e("client-only",[t.shouldShow?e("ins",{staticClass:"adsbygoogle",class:{hide:t.hideAd},style:t.adStyle,attrs:{"data-ad-client":"ca-pub-4556406968269041","data-ad-slot":t.slotId,"data-ad-format":t.adFormat,"data-full-width-responsive":t.isResponsive}}):e("div")])}),[],!1,null,"8af1cc2e",null);e.default=component.exports},281:function(t,e,o){var r=o(4);t.exports=r(1..valueOf)},282:function(t,e,o){var r=o(4),n=o(24),l=o(13),d=o(283),c=r("".replace),f=RegExp("^["+d+"]+"),h=RegExp("(^|[^"+d+"])["+d+"]+$"),m=function(t){return function(e){var o=l(n(e));return 1&t&&(o=c(o,f,"")),2&t&&(o=c(o,h,"$1")),o}};t.exports={start:m(1),end:m(2),trim:m(3)}},283:function(t,e){t.exports="\t\n\v\f\r Β αββββββ ββββββ―βγ\u2028\u2029\ufeff"},284:function(t,e,o){"use strict";o.d(e,"a",(function(){return d}));var r=o(111);var n=o(137),l=o(82);function d(t){return function(t){if(Array.isArray(t))return Object(r.a)(t)}(t)||Object(n.a)(t)||Object(l.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},285:function(t,e,o){"use strict";o(277)},286:function(t,e,o){var r=o(107)(!1);r.push([t.i,".hide[data-v-8af1cc2e]{display:none!important}",""]),t.exports=r},288:function(t,e,o){t.exports=o.p+"fonts/RobotoCondensed-Light.f982e4a.woff2"},289:function(t,e,o){"use strict";var r=/^[-!#$%&'*+\/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/;e.validate=function(t){if(!t)return!1;if(t.length>254)return!1;if(!r.test(t))return!1;var e=t.split("@");return!(e[0].length>64)&&!e[1].split(".").some((function(t){return t.length>63}))}},290:function(t,e,o){"use strict";o(278)},291:function(t,e,o){var r=o(107)(!1);r.push([t.i,".link{border-radius:19px;aspect-ratio:391/145;display:block;position:relative;z-index:2}.link-img{max-width:100%;cursor:pointer;transition:transform .07s linear,filter .1s ease-out,opacity .15s linear;opacity:0}.link-img:hover{transform:scale(1.02);filter:drop-shadow(3px 3px 5px rgba(0,0,0,.17))}",""]),t.exports=r},292:function(t,e,o){"use strict";o.r(e);var r={props:{title:{required:!0,type:String},path:{required:!0,type:String},preload:{required:!1,type:Boolean,default:!1}},data:function(){return{imageLoaded:!1}}},n=(o(290),o(28)),component=Object(n.a)(r,(function(){var t=this,e=t._self._c;return e("nuxt-link",{staticClass:"link",style:{background:t.imageLoaded?"none":"#f1f2f6"},attrs:{prefetch:t.preload,to:"/".concat(t.path,"/")}},[e("img",{staticClass:"link-img",style:{opacity:t.imageLoaded?1:0},attrs:{onload:t.imageLoaded=!0,alt:t.title,src:"/link-images/".concat(t.path,".svg"),loading:"lazy"}})])}),[],!1,null,null,null);e.default=component.exports},293:function(t,e,o){"use strict";o(279)},294:function(t,e,o){var r=o(107),n=o(200),l=o(288),d=r(!1),c=n(l);d.push([t.i,"@font-face{font-family:RobotoCondensedLight;src:url("+c+")}.footer-wrapper[data-v-2b1aca38]{margin-top:15px;padding:30px 20px 45px;text-align:center;font-size:22px;font-family:RobotoCondensedLight,sans-serif}.related-text[data-v-2b1aca38]{font-size:22px}.site-title[data-v-2b1aca38]{margin-top:18px;max-width:140px}.related-posts[data-v-2b1aca38],.site-title[data-v-2b1aca38]{margin-left:auto;margin-right:auto}.related-posts[data-v-2b1aca38]{display:grid;max-width:870px;grid-template-columns:repeat(2,1fr);grid-gap:16px 18px;margin-top:15px;font-size:0}.made-by[data-v-2b1aca38]{font-size:16px;margin-top:15px;opacity:.6;display:none}.made-by a[data-v-2b1aca38]{color:#000}.heart[data-v-2b1aca38]{width:17px;height:17px;position:relative;top:4px}.site-title-logo[data-v-2b1aca38]{height:25px}.newsletter-text[data-v-2b1aca38]{font-size:19px;margin-bottom:8px}.newsletter-img[data-v-2b1aca38]{height:16px;position:relative;top:3px;margin-right:7px}.newsletter-input[data-v-2b1aca38]{font-size:17px;padding:7px 5px 7px 40px;border-radius:5px;border:1px solid #000;max-width:220px;width:100%;background-color:#fff;background-image:url(/general/mail.svg);background-repeat:no-repeat;background-size:auto 15px;background-position:10px;font-family:RobotoCondensedLight;outline:none;color:#000}.newsletter-input[data-v-2b1aca38]::-moz-placeholder{color:rgba(0,0,0,.8)}.newsletter-input[data-v-2b1aca38]::placeholder{color:rgba(0,0,0,.8)}.newsletter-subscribe[data-v-2b1aca38]{background:#fff5d9;font-size:17px;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-shadow:none;border:1px solid #000;border-radius:5px;padding:7px 12px;margin-left:5px;height:100%;cursor:pointer;color:#000;font-family:RobotoCondensedLight}.newsletter-subscribe[data-v-2b1aca38]:hover{transform:scale(1.03)}.newsletter-box[data-v-2b1aca38]{padding:20px 10px;border-radius:5px;margin-left:auto;margin-right:auto;margin-top:10px}.newsletter-inner[data-v-2b1aca38]{display:flex;justify-content:center;height:42px}@media only screen and (max-width:700px){.footer-wrapper[data-v-2b1aca38]{padding-left:12px;padding-right:12px}.related-posts[data-v-2b1aca38]{grid-template-columns:repeat(1,1fr)}.site-title[data-v-2b1aca38]{max-width:145px;margin-top:25px}}",""]),t.exports=d},295:function(t,e,o){"use strict";o.r(e);var r,n=o(284),l=o(10),d=(o(45),o(15),o(203),o(60),o(297)),c=o.n(d),f=o(289),h={props:{color:{type:String,required:!1,default:"black"},bg:{type:String,required:!1,default:"white"}},data:function(){return{related:[],submittedEmail:!1,email:""}},mounted:function(){this.getRelated()},computed:{isValidEmail:function(){return f.validate(this.email)}},methods:{onEmailSubmit:(r=Object(l.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.isValidEmail){t.next=4;break}return this.submittedEmail=!0,t.next=4,c()({url:"https://neal.fun/api/newsletter/subscribe",method:"POST",data:{email:this.email}});case 4:case"end":return t.stop()}}),t,this)}))),function(){return r.apply(this,arguments)}),getRelated:function(){var t=window.innerWidth>500?4:3,e=Object(n.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 r=[],l=0;l<t;l++){var d=Math.floor(Math.random()*e.length);r.push(e[d]),e.splice(d,1)}this.related=r}}},m=h,v=(o(293),o(28)),component=Object(v.a)(m,(function(){var t=this,e=t._self._c;return e("div",[e("Ad",{attrs:{slotId:"2834998355",adStyle:"display: block; margin-left: auto; margin-right: auto; max-width: min(970px, calc(100% - 60px)); margin-top: 15px;",adFormat:"auto",isResponsive:!0,minWidth:800}}),t._v(" "),e("Ad",{attrs:{slotId:"2834998355",adStyle:"display: block; margin-left: auto; margin-right: auto; margin-top: 15px;",adFormat:"auto",isResponsive:!0,maxWidth:800}}),t._v(" "),e("div",{staticClass:"footer-wrapper",style:{color:t.color,background:t.bg}},[e("div",{staticClass:"related-text"},[t._v("You may also like")]),t._v(" "),e("div",{staticClass:"related-posts"},t._l(t.related,(function(t){return e("page-link",{key:t.title,attrs:{bg:"#f1f2f6",path:t.path,title:t.title,preload:t.preload}})})),1),t._v(" "),e("div",{staticClass:"newsletter-box"},[e("div",{staticClass:"newsletter-text"},[t._v("\n "+t._s(t.submittedEmail?"Thanks for subscribing :)":"Get new posts!")+"\n ")]),t._v(" "),t.submittedEmail?t._e():e("form",{staticClass:"newsletter-inner",on:{submit:function(e){return e.preventDefault(),t.onEmailSubmit.apply(null,arguments)}}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.email,expression:"email"}],staticClass:"newsletter-input",attrs:{type:"email",placeholder:"Your email"},domProps:{value:t.email},on:{input:function(e){e.target.composing||(t.email=e.target.value)}}}),t._v(" "),e("button",{staticClass:"newsletter-subscribe"},[t._v("Subscribe")])])]),t._v(" "),e("div",{staticClass:"made-by"},[t._v("\n Made with\n "),e("svg",{staticClass:"heart",staticStyle:{"enable-background":"new 0 0 512 512"},attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:svgjs":"http://svgjs.com/svgjs",version:"1.1",width:"512",height:"512",x:"0",y:"0",viewBox:"0 0 512.001 512","xml:space":"preserve"}},[e("g",[e("path",{attrs:{xmlns:"http://www.w3.org/2000/svg",d:"m256 455.515625c-7.289062 0-14.316406-2.640625-19.792969-7.4375-20.683593-18.085937-40.625-35.082031-58.21875-50.074219l-.089843-.078125c-51.582032-43.957031-96.125-81.917969-127.117188-119.3125-34.644531-41.804687-50.78125-81.441406-50.78125-124.742187 0-42.070313 14.425781-80.882813 40.617188-109.292969 26.503906-28.746094 62.871093-44.578125 102.414062-44.578125 29.554688 0 56.621094 9.34375 80.445312 27.769531 12.023438 9.300781 22.921876 20.683594 32.523438 33.960938 9.605469-13.277344 20.5-24.660157 32.527344-33.960938 23.824218-18.425781 50.890625-27.769531 80.445312-27.769531 39.539063 0 75.910156 15.832031 102.414063 44.578125 26.191406 28.410156 40.613281 67.222656 40.613281 109.292969 0 43.300781-16.132812 82.9375-50.777344 124.738281-30.992187 37.398437-75.53125 75.355469-127.105468 119.308594-17.625 15.015625-37.597657 32.039062-58.328126 50.167969-5.472656 4.789062-12.503906 7.429687-19.789062 7.429687zm-112.96875-425.523437c-31.066406 0-59.605469 12.398437-80.367188 34.914062-21.070312 22.855469-32.675781 54.449219-32.675781 88.964844 0 36.417968 13.535157 68.988281 43.882813 105.605468 29.332031 35.394532 72.960937 72.574219 123.476562 115.625l.09375.078126c17.660156 15.050781 37.679688 32.113281 58.515625 50.332031 20.960938-18.253907 41.011719-35.34375 58.707031-50.417969 50.511719-43.050781 94.136719-80.222656 123.46875-115.617188 30.34375-36.617187 43.878907-69.1875 43.878907-105.605468 0-34.515625-11.605469-66.109375-32.675781-88.964844-20.757813-22.515625-49.300782-34.914062-80.363282-34.914062-22.757812 0-43.652344 7.234374-62.101562 21.5-16.441406 12.71875-27.894532 28.796874-34.609375 40.046874-3.453125 5.785157-9.53125 9.238282-16.261719 9.238282s-12.808594-3.453125-16.261719-9.238282c-6.710937-11.25-18.164062-27.328124-34.609375-40.046874-18.449218-14.265626-39.34375-21.5-62.097656-21.5zm0 0",fill:t.color,"data-original":"#000000"}})])]),t._v("\n by Neal Agarwal\n ")]),t._v(" "),e("div",{staticClass:"site-title"},[e("nuxt-link",{attrs:{to:"/"}},[e("logo",{attrs:{color:t.color}})],1)],1)])],1)}),[],!1,null,"2b1aca38",null);e.default=component.exports;installComponents(component,{Ad:o(280).default,PageLink:o(292).default,Logo:o(287).default})},720:function(t,e,o){var content=o(1176);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(108).default)("eae4e3f6",content,!0,{sourceMap:!1})},721:function(t,e,o){var content=o(1179);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(108).default)("3f860d83",content,!0,{sourceMap:!1})}}]); |