1 line
11 KiB
JavaScript
1 line
11 KiB
JavaScript
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[686],{4245:function(n,e,t){var r={"./acid-explained.md":8974,"./all-about-http-caching.md":3730,"./arrays-and-objects-in-javascript.md":7589,"./async-javascript.md":8001,"./big-o-notation.md":6736,"./content-delivery-networks.md":5489,"./dns-explained.md":9029,"./dns-records.md":4046,"./floating-point-arithmetic.md":7327,"./freeze-and-seal-objects-in-javascript.md":6527,"./how-to-use-css-variables.md":5512,"./how-to-use-github-actions.md":8688,"./javascript-fetch-api.md":965,"./load-balancers-101.md":2012,"./osi-model.md":5495,"./practical-intro-to-react.md":4913,"./promises-in-javascript.md":7e3,"./random-number-generators.md":1516,"./scaling-the-unscalable.md":7850,"./ssh-ssl-tls.md":9345,"./system-design-101.md":5069,"./tcp-ip-model.md":1559,"./transport-protocols-tcp-vs-udp.md":2382,"./what-is-cap-theorem.md":5875,"./what-is-dependency-injection.md":2635,"./what-is-dom-shadow-dom-virtual-dom.md":6095,"./what-is-eventual-consistency.md":2068,"./yaml-in-depth.md":6372};function i(n){var e=o(n);return t(e)}function o(n){if(!t.o(r,n)){var e=new Error("Cannot find module '"+n+"'");throw e.code="MODULE_NOT_FOUND",e}return r[n]}i.keys=function(){return Object.keys(r)},i.resolve=o,n.exports=i,i.id=4245},730:function(n,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/watch/[video]",function(){return t(2942)}])},3905:function(n,e,t){"use strict";t.d(e,{D:function(){return a}});var r=t(5893),i=t(5115),o=t(4651);t(7294);function a(n){var e=n.title,t=n.subtitle,a=n.author,c=void 0===a?null:a,u=n.formattedDate,s=n.subLink,l=void 0===s?null:s;return(0,r.jsx)(i.xu,{pt:["35px","35px","70px"],pb:["35px","35px","55px"],borderBottomWidth:1,mb:"30px",children:(0,r.jsxs)(i.W2,{maxW:"container.md",position:"relative",textAlign:["left","left","center"],children:[(0,r.jsxs)(i.kC,{alignItems:"center",justifyContent:["flex-start","flex-start","center"],fontSize:["12px","12px","14px"],children:[(null===c||void 0===c?void 0:c.name)&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(i.rU,{d:["none","flex","flex"],target:"_blank",href:"https://twitter.com/".concat(c.twitter),alignItems:"center",fontWeight:600,color:"gray.500",children:[(0,r.jsx)(o.Ee,{alt:"",rounded:"full",mr:"7px",w:"22px",src:c.picture}),c.name]}),(0,r.jsx)(i.xv,{d:["none","inline","inline"],mx:"7px",color:"gray.500",as:"span",children:"\xb7"})]}),(0,r.jsx)(i.xv,{color:"gray.500",as:"span",children:u}),(null===l||void 0===l?void 0:l.text)&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.xv,{d:["none","none","inline"],mx:"7px",color:"gray.500",as:"span",children:"\xb7"}),(0,r.jsx)(i.rU,{d:["none","none","inline"],color:"blue.500",fontWeight:500,href:l.url,target:"_blank",children:l.text})]})]}),(0,r.jsx)(i.X6,{as:"h1",color:"black",fontSize:["30px","30px","45px"],lineHeight:["40px","40px","53px"],fontWeight:700,my:["5px","5px","10px"],children:e}),(0,r.jsx)(i.xv,{fontSize:["14px","14px","16px"],color:"gray.700",children:t})]})})}},2348:function(n,e,t){"use strict";t.d(e,{Z:function(){return H}});var r=t(5893),i=(t(7294),t(4137)),o=t(3606),a=t(5115),c=t(8797);function u(){var n,e,t=(n=["\n line-height: 27px;\n font-size: 16px;\n color: black;\n margin-bottom: 18px;\n"],e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}})));return u=function(){return t},t}var s=c.ZP.p(u());function l(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}function p(){var n=l(["\n position: absolute;\n top: 0;\n left: -25px;\n width: 25px;\n display: none;\n height: 100%;\n align-items: center;\n justify-content: flex-start;\n"]);return p=function(){return n},n}function d(){var n=l(["\n position: relative;\n font-size: 32px;\n line-height: 40px;\n font-weight: 700;\n margin: 20px 0 10px !important;\n\n &:hover "," {\n display: flex;\n }\n"]);return d=function(){return n},n}function x(){var n=l(["\n font-size: 30px;\n"]);return x=function(){return n},n}function f(){var n=l(["\n margin: 22px 0 8px;\n font-size: 28px;\n"]);return f=function(){return n},n}function h(){var n=l(["\n margin: 18px 0 8px;\n font-size: 24px;\n"]);return h=function(){return n},n}function m(){var n=l(["\n margin: 14px 0 8px;\n font-size: 18px;\n"]);return m=function(){return n},n}function b(){var n=l(["\n margin: 12px 0 8px;\n font-size: 18px;\n"]);return b=function(){return n},n}var v=c.ZP.a(p()),g=c.ZP.h1(d(),v),j={h1:g,h2:(0,c.ZP)(g).attrs({as:"h2"})(x()),h3:(0,c.ZP)(g).attrs({as:"h3"})(f()),h4:(0,c.ZP)(g).attrs({as:"h4"})(h()),h5:(0,c.ZP)(g).attrs({as:"h5"})(m()),h6:(0,c.ZP)(g).attrs({as:"h6"})(b())};function w(){var n,e,t=(n=["\n margin: 25px -25px 25px -25px !important;\n padding: 20px 25px !important;\n border-radius: 10px;\n line-height: 1.5 !important;\n \n code {\n background: transparent;\n }\n"],e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}})));return w=function(){return t},t}var y=c.ZP.pre(w());function O(){var n,e,t=(n=["\n padding: 16px 20px;\n position: relative;\n background: #e8e8e8;\n border-radius: 5px;\n margin-bottom: 18px;\n\n h1, h2, h3, h4, h5, h6 {\n margin-top: 0;\n }\n\n p + h4 {\n margin-top: 15px;\n }\n\n p {\n margin: 0;\n\n & + p {\n margin-top: 10px;\n }\n }\n"],e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}})));return O=function(){return t},t}var z=c.ZP.blockquote(O());function k(){var n,e,t=(n=["\n border-collapse: separate;\n width: 100%;\n border-spacing: 0;\n margin: 20px 0;\n\n th {\n color: #666;\n font-size: 12px;\n font-weight: 400;\n background: #FAFAFA;\n text-transform: uppercase;\n height: 40px;\n vertical-align: middle;\n padding: 5px 10px;\n }\n\n td {\n font-size: 14px;\n padding: 10px;\n border-bottom: 1px solid #EAEAEA;\n }\n"],e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}})));return k=function(){return t},t}var P=c.ZP.table(k());function _(){var n,e,t=(n=['\n position: relative;\n max-width: 100%;\n margin-bottom: 18px;\n\n &:before {\n height: 0;\n content: "";\n display: block;\n padding-bottom: 50%;\n }\n\n & > iframe {\n overflow: hidden;\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100%;\n }\n'],e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}})));return _=function(){return t},t}var Z=c.ZP.div(_());function S(){var n,e,t=(n=["\n max-width: 100%;\n margin: 25px auto;\n display: block;\n"],e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}})));return S=function(){return t},t}var W=c.ZP.img(S());function E(){var n,e,t=(n=["\n font-weight: 600;\n text-decoration: underline;\n"],e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}})));return E=function(){return t},t}var D=c.ZP.a(E()),A=function(n){var e=/(^http(s)?:\/\/)|(\.(png|svg|jpeg|jpg)$)/.test(n.href);return(0,r.jsx)(D,{href:n.href,target:e?"_blank":"_self",children:n.children})};function L(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}function N(){var n=L(["\n margin-left: 40px;\n margin-bottom: 18px;\n \n ul {\n margin-top: 18px;\n }\n"]);return N=function(){return n},n}function T(){var n=L(["\n margin-bottom: 7px;\n"]);return T=function(){return n},n}var B=c.ZP.ul(N()),C=c.ZP.li(T()),F=t(5193),U=t(1277);function X(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}var q=function(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{},r=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})))),r.forEach((function(e){X(n,e,t[e])}))}return n}({p:s},j,{pre:y,blockquote:z,a:A,table:P,iframe:function(n){return(0,r.jsx)(Z,{children:(0,r.jsx)("iframe",{frameBorder:0,title:n.title,src:n.src,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0})})},img:W,code:a.EK,BadgeLink:function(n){var e=n.target,t=void 0===e?"_blank":e,i=n.colorScheme,o=void 0===i?"purple":i,c=n.badgeText,u=n.href,s=n.children;return(0,r.jsx)(a.xv,{mb:"0px",children:(0,r.jsxs)(a.rU,{fontSize:"14px",color:"blue.700",fontWeight:500,textDecoration:"none",href:u,target:t,_hover:{textDecoration:"none",color:"purple.400"},children:[(0,r.jsx)(a.Ct,{fontSize:"11px",mr:"7px",colorScheme:o,children:c}),s]})})},ResourceGroupTitle:function(n){var e=n.children;return(0,r.jsx)(a.X6,{mt:"20px",color:"gray.800",fontSize:"14px",pb:"5px",borderBottomWidth:1,textTransform:"uppercase",as:"h2",mb:"10px",children:e})},PremiumBlock:function(n){return(0,r.jsxs)(a.xu,{p:"40px",textAlign:"center",rounded:"5px",mb:"18px",bg:"gray.50",borderWidth:1,children:[(0,r.jsx)(U.mB,{color:"gray.300",height:"45px",w:"45px",mb:"18px"}),(0,r.jsx)(a.X6,{as:"h3",fontSize:"30px",mb:"10px",children:n.title}),(0,r.jsx)(a.xv,{mb:"18px",children:n.description}),(0,r.jsx)(F.zx,{colorScheme:"green",children:"Become a Member"})]})},ul:B,li:C}),G=t(8909);function H(n){return(0,r.jsx)(o.xjn,{theme:G.y,resetCSS:!0,children:(0,r.jsx)(i.Zo,{components:q,children:n.children})})}},2942:function(n,e,t){"use strict";t.r(e),t.d(e,{__N_SSG:function(){return d},default:function(){return x}});var r=t(5893),i=t(5115),o=t(2438),a=t(1832),c=t(600),u=t(6673),s=t(3905),l=t(2348),p=t(202),d=!0;function x(n){var e,d,x,f=n.video,h=t(4245)("./".concat(f.id,".md")).default;return(0,r.jsxs)(i.xu,{bg:"white",minH:"100vh",children:[(0,r.jsx)(o.e,{}),(0,r.jsx)(p.Z,{title:f.title,description:f.description}),(0,r.jsxs)(i.xu,{mb:"60px",children:[(0,r.jsx)(s.D,{title:f.title,subtitle:f.description,formattedDate:f.formattedUpdatedAt,subLink:f.youtubeLink?{text:"Watch on YouTube",url:f.youtubeLink}:void 0,author:{twitter:null===(e=f.author)||void 0===e?void 0:e.twitter,name:null===(d=f.author)||void 0===d?void 0:d.name,picture:null===(x=f.author)||void 0===x?void 0:x.picture}}),(0,r.jsxs)(i.W2,{maxW:"container.md",position:"relative",children:[f.youtubeLink&&(0,r.jsxs)(i.xv,{mb:"18px",children:["We are working on a better watch page \u2014 for now this ",(0,r.jsx)(i.rU,{fontWeight:600,textDecoration:"underline",href:f.youtubeLink,target:"_blank",children:"video is best viewed on YouTube"}),"."]}),(0,r.jsx)(l.Z,{children:(0,r.jsx)(h,{})})]})]}),(0,r.jsx)(a.z,{}),(0,r.jsx)(c.q,{}),(0,r.jsx)(u.$,{})]})}}},function(n){n.O(0,[680,22,515,568,774,888,179],(function(){return e=730,n(n.s=e);var e}));var e=n.O();_N_E=e}]); |