-
Notifications
You must be signed in to change notification settings - Fork 0
/
component---src-pages-index-jsx-2436dd097be9e76670d1.js.map
1 lines (1 loc) · 102 KB
/
component---src-pages-index-jsx-2436dd097be9e76670d1.js.map
1
{"version":3,"sources":["webpack:///./src/styles/utils.jsx","webpack:///./src/components/SVG.jsx","webpack:///./node_modules/gatsby/node_modules/core-js/modules/es6.string.blink.js","webpack:///./node_modules/react-typist/dist/Typist.js","webpack:///./src/views/Hero.jsx","webpack:///./src/pages/index.jsx","webpack:///./src/images/triangle.svg","webpack:///./src/elements/Content.jsx","webpack:///./src/elements/Titles.jsx","webpack:///./src/elements/Dividers.jsx","webpack:///./node_modules/gatsby/node_modules/core-js/modules/_string-html.js","webpack:///./src/styles/animations.jsx"],"names":["hidden","css","Wrapper","styled","svg","props","hiddenMobile","stroke","svgWidth","fill","left","top","icons","triangle","shape","strokeWidth","strokeLinejoin","strokeMiterlimit","points","viewBox","circle","d","arrowUp","upDown","box","hexa","SVG","width","icon","twWidth","defaultProps","createHTML","this","module","exports","modules","installedModules","__webpack_require__","moduleId","id","loaded","call","m","c","p","Object","defineProperty","value","_extends","assign","target","i","arguments","length","source","key","prototype","hasOwnProperty","_createClass","defineProperties","descriptor","enumerable","configurable","writable","Constructor","protoProps","staticProps","_react","_react2","_interopRequireDefault","_propTypes2","_Cursor2","_Backspace2","_Delay2","utils","obj","__esModule","newObj","_interopRequireWildcard","ACTION_CHARS","Typist","_Component","instance","TypeError","_classCallCheck","_this","self","ReferenceError","_possibleConstructorReturn","__proto__","getPrototypeOf","state","textLines","isDone","onTypingDone","mounted","setState","delayGenerator","line","lineIdx","character","charIdx","mean","avgTypingDelay","std","stdTypingDelay","defDelayGenerator","mn","undefined","st","gaussianRnd","typeLine","Promise","resolve","decoratedLine","onLineTyped","isBackspaceElement","delay","introducedDelay","String","repeat","count","isDelayElement","ms","reject","concat","eachPromise","typeCharacter","then","onCharacterTyped","slice","sleep","isBackspace","prevLineIdx","prevLine","idx","includes","substr","setTimeout","linesToType","children","extractTextFromElement","subClass","superClass","create","constructor","setPrototypeOf","_inherits","_props","startDelay","window","typeAllLines","bind","nextProps","nextState","_this2","lines","_props2","className","cursor","innerTree","cloneElementWithSpecifiedText","element","createElement","Component","propTypes","node","string","number","object","func","Backspace","Delay","emptyFunction","invariant","warning","ReactPropTypesSecret","checkPropTypes","isValidElement","throwOnDirectAccess","ITERATOR_SYMBOL","Symbol","iterator","FAUX_ITERATOR_SYMBOL","ANONYMOUS","ReactPropTypes","array","createPrimitiveTypeChecker","bool","symbol","any","createChainableTypeChecker","thatReturnsNull","arrayOf","typeChecker","propName","componentName","location","propFullName","PropTypeError","propValue","Array","isArray","getPropType","error","Error","instanceOf","expectedClass","expectedClassName","name","getClassName","isNode","objectOf","propType","oneOf","expectedValues","is","JSON","stringify","oneOfType","arrayOfTypeCheckers","checker","getPostfixForTypeWarning","shapeTypes","x","y","message","stack","validate","checkType","isRequired","secret","chainedCheckType","expectedType","getPreciseType","every","iteratorFn","maybeIterable","getIteratorFn","step","entries","next","done","entry","RegExp","isSymbol","Date","type","PropTypes","makeEmptyFunction","arg","thatReturns","thatReturnsFalse","thatReturnsTrue","thatReturnsThis","thatReturnsArgument","validateFormat","format","condition","a","b","e","f","args","argIndex","replace","framesToPop","typeSpecs","values","getStack","shim","getShim","Cursor","_isReRenderingCursor","shouldRender","show","hideWhenDone","hideWhenDoneDelay","_reRenderCursor","_this3","blink","_slicedToArray","arr","_arr","_n","_d","_e","_s","_i","push","err","sliceIterator","sum","Math","random","times","round","_len","extraArgs","_key","from","reduce","prev","current","apply","exclude","pop","unshift","Children","forEach","child","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_step","_iterator","el","cloneElement","_ref","cloneElementWithSpecifiedTextAtIndex","textIdx","recurse","_cloneElementWithSpec","_cloneElementWithSpec2","advIdx","clonedChildren","map","val","keys","res","indexOf","tag","randomStamp","getUTCMilliseconds","arr2","_toConsumableArray","div","Hero","offset","speed","colors","orange","red","white","purple","Content","simpleCursor","blinkingCursor","Index","Layout","pages","to","ParallaxLayer","Title","h1","rotateAnimation","BigTitle","Subtitle","h4","Divider","bg","clipPath","DividerMiddle","$export","fails","defined","quot","attribute","S","p1","NAME","exec","O","P","F","test","toLowerCase","split","rotate","keyframes","wave","upDownWide","upDownAnimation","upDownWideAnimation","UpDown","UpDownWide","waveAnimation"],"mappings":"wJAGaA,EAASC,YAAH,0ECIbC,EAAUC,IAAOC,IAAV,+DAAGD,CAAH,sGAGT,SAAAE,GAAK,OAAIA,EAAMC,cAAgBN,KACxB,SAAAK,GAAK,OAAIA,EAAME,UACf,SAAAF,GAAK,OAAIA,EAAMG,YAChB,SAAAH,GAAK,OAAIA,EAAMI,QACf,SAAAJ,GAAK,OAAIA,EAAMK,QAChB,SAAAL,GAAK,OAAIA,EAAMM,OAGlBC,EAAQ,CACZC,SAAU,CACRC,MACE,6BACEC,YAAY,MACZC,eAAe,QACfC,iBAAiB,KACjBC,OAAO,wCAGXC,QAAS,aAEXC,OAAQ,CACNN,MACE,0BAAMO,EAAE,0GAEVF,QAAS,aAEXG,QAAS,CACPR,MACE,oCACE,0BAAMO,EAAE,4JAA6J,IACrK,0BAAMA,EAAE,sNAGZF,QAAS,aAEXI,OAAQ,CACNT,MACE,oCACE,0BAAMO,EAAE,2KACR,0BAAMA,EAAE,2JAGZF,QAAS,gBAEXK,IAAK,CACHV,MACE,0BAAMO,EAAE,iJAEVF,QAAS,aAEXM,KAAM,CACJX,MACE,6BACEE,eAAe,QACfC,iBAAiB,KACjBC,OAAO,oEAGXC,QAAS,cAIPO,EAAM,SAAC,GAAD,IAAGnB,EAAH,EAAGA,OAAQE,EAAX,EAAWA,KAAMkB,EAAjB,EAAiBA,MAAOC,EAAxB,EAAwBA,KAAMlB,EAA9B,EAA8BA,KAAMC,EAApC,EAAoCA,IAAKL,EAAzC,EAAyCA,aAAzC,OACV,kBAACJ,EAAD,CACEiB,QAASP,EAAMgB,GAAMT,QACrBZ,OAAQA,EACRE,KAAMA,EACND,SAA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O,GAAGL,GAAM,KACpB,OAAOK,IAASA,EAAKC,eAAiBD,EAAKE,MAAM,KAAKpU,OAAS,KAC7D,SAAU+T,K,kCChBhB,wJAEMM,EAASC,YAAH,gEASNC,EAAOD,YAAH,6PAYJpW,EAASoW,YAAH,mEASNE,EAAaF,YAAH,oEASVG,EAAkB7X,YAAH,2CACjBsB,GAGEwW,EAAsB9X,YAAH,4CACrB4X,GAGSG,EAAS7X,IAAO6U,IAAV,qEAAG7U,CAAH,uBACJ2X,EADI,qDAKNG,EAAa9X,IAAO6U,IAAV,yEAAG7U,CAAH,uBACR4X,EADQ,qDAKVG,EAAgB,SAAA7U,GAAM,OAAIpD,YAAJ,iDACpB2X,EAAQvU,IAGV8S,EAAkB,SAAA9S,GAAM,OAAIpD,YAAJ,uCACtByX,EAAUrU","file":"component---src-pages-index-jsx-2436dd097be9e76670d1.js","sourcesContent":["import tw from 'tailwind.macro'\r\nimport { css } from 'styled-components'\r\n\r\nexport const hidden = css`\r\n ${tw`hidden xl:block`};\r\n`\r\n","import React from 'react'\r\nimport PropTypes from 'prop-types'\r\nimport styled from 'styled-components'\r\nimport tw from 'tailwind.macro'\r\nimport { width as twWidth } from '../../tailwind'\r\nimport { hidden } from '../styles/utils'\r\n\r\nconst Wrapper = styled.svg`\r\n ${tw`absolute`};\r\n stroke: currentColor;\r\n ${props => props.hiddenMobile && hidden};\r\n color: ${props => props.stroke};\r\n width: ${props => props.svgWidth};\r\n fill: ${props => props.fill};\r\n left: ${props => props.left};\r\n top: ${props => props.top};\r\n`\r\n\r\nconst icons = {\r\n triangle: {\r\n shape: (\r\n <polygon\r\n strokeWidth=\"1px\"\r\n strokeLinejoin=\"round\"\r\n strokeMiterlimit=\"10\"\r\n points=\"14.921,2.27 28.667,25.5 1.175,25.5 \"\r\n />\r\n ),\r\n viewBox: '0 0 30 30',\r\n },\r\n circle: {\r\n shape: (\r\n <path d=\"M15,30A15,15,0,1,1,30,15,15,15,0,0,1,15,30ZM15,6.23A8.77,8.77,0,1,0,23.77,15,8.77,8.77,0,0,0,15,6.23Z\" />\r\n ),\r\n viewBox: '0 0 30 30',\r\n },\r\n arrowUp: {\r\n shape: (\r\n <>\r\n <path d=\"M28.74,20.81H1.26a1.26,1.26,0,0,1-1-2L14.16.5a1.25,1.25,0,0,1,1-.5h0a1.24,1.24,0,0,1,1,.51L29.75,18.8a1.25,1.25,0,0,1-1,2ZM3.81,18.29H26.22L15.16,3.37Z\" />{' '}\r\n <path d=\"M28.74,42H1.26a1.28,1.28,0,0,1-1.13-.71A1.26,1.26,0,0,1,.26,40l13.9-18.29a1.28,1.28,0,0,1,1-.5h0a1.24,1.24,0,0,1,1,.51L29.75,40a1.26,1.26,0,0,1,.12,1.32A1.28,1.28,0,0,1,28.74,42ZM3.81,39.47H26.22L15.16,24.55Z\" />\r\n </>\r\n ),\r\n viewBox: '0 0 30 42',\r\n },\r\n upDown: {\r\n shape: (\r\n <>\r\n <path d=\"M28.74,44.58a1.28,1.28,0,0,1-1-.51L15.16,27.13l-12.89,17a1.26,1.26,0,1,1-2-1.53l13.9-18.29a1.34,1.34,0,0,1,1-.5,1.24,1.24,0,0,1,1,.51L29.75,42.56a1.27,1.27,0,0,1-1,2Z\" />\r\n <path d=\"M14.83,20.82h0a1.28,1.28,0,0,1-1-.52L.25,2a1.27,1.27,0,0,1,2-1.51L14.84,17.45,27.73.5a1.26,1.26,0,0,1,2,1.53L15.84,20.32A1.28,1.28,0,0,1,14.83,20.82Z\" />\r\n </>\r\n ),\r\n viewBox: '0 0 30 44.58',\r\n },\r\n box: {\r\n shape: (\r\n <path d=\"M28,2V28H2V2H28m.13-2H1.88A1.88,1.88,0,0,0,0,1.88V28.13A1.88,1.88,0,0,0,1.88,30H28.13A1.87,1.87,0,0,0,30,28.13V1.88A1.88,1.88,0,0,0,28.13,0Z\" />\r\n ),\r\n viewBox: '0 0 30 30',\r\n },\r\n hexa: {\r\n shape: (\r\n <polygon\r\n strokeLinejoin=\"round\"\r\n strokeMiterlimit=\"10\"\r\n points=\"27.5,21.904 15,28.809 2.5,21.904 2.5,8.095 15,1.19 27.5,8.095 \"\r\n />\r\n ),\r\n viewBox: '0 0 30 30',\r\n },\r\n}\r\n\r\nconst SVG = ({ stroke, fill, width, icon, left, top, hiddenMobile }) => (\r\n <Wrapper\r\n viewBox={icons[icon].viewBox}\r\n stroke={stroke}\r\n fill={fill}\r\n svgWidth={twWidth[`${width}`]}\r\n left={left}\r\n top={top}\r\n hiddenMobile={hiddenMobile}\r\n >\r\n {icons[icon].shape}\r\n </Wrapper>\r\n)\r\n\r\nexport default SVG\r\n\r\nSVG.propTypes = {\r\n stroke: PropTypes.string,\r\n fill: PropTypes.string,\r\n width: PropTypes.number,\r\n icon: PropTypes.oneOf(['triangle', 'circle', 'arrowUp', 'upDown', 'box', 'hexa']).isRequired,\r\n left: PropTypes.string,\r\n top: PropTypes.string,\r\n hiddenMobile: PropTypes.bool,\r\n}\r\n\r\nSVG.defaultProps = {\r\n stroke: 'transparent',\r\n width: 8,\r\n fill: 'none',\r\n left: '0%',\r\n top: '0%',\r\n hiddenMobile: false,\r\n}\r\n","'use strict';\n// B.2.3.4 String.prototype.blink()\nrequire('./_string-html')('blink', function (createHTML) {\n return function blink() {\n return createHTML(this, 'blink', '', '');\n };\n});\n","require(\"core-js/modules/es6.array.map\");\n\nrequire(\"core-js/modules/es6.array.for-each\");\n\nrequire(\"core-js/modules/es6.array.reduce\");\n\nrequire(\"core-js/modules/es6.string.iterator\");\n\nrequire(\"core-js/modules/es6.array.from\");\n\nrequire(\"core-js/modules/es6.string.blink\");\n\nrequire(\"core-js/modules/es6.array.index-of\");\n\nrequire(\"core-js/modules/es6.regexp.replace\");\n\nrequire(\"core-js/modules/es6.regexp.constructor\");\n\nrequire(\"core-js/modules/web.dom.iterable\");\n\nrequire(\"core-js/modules/es6.array.iterator\");\n\nrequire(\"core-js/modules/es6.function.name\");\n\nrequire(\"core-js/modules/es6.array.is-array\");\n\nrequire(\"core-js/modules/es7.symbol.async-iterator\");\n\nrequire(\"core-js/modules/es6.symbol\");\n\nrequire(\"core-js/modules/es6.function.bind\");\n\nrequire(\"core-js/modules/es7.array.includes\");\n\nrequire(\"core-js/modules/es6.string.repeat\");\n\nrequire(\"core-js/modules/es6.promise\");\n\nrequire(\"core-js/modules/es6.object.to-string\");\n\nrequire(\"core-js/modules/es6.object.set-prototype-of\");\n\nrequire(\"core-js/modules/es6.object.create\");\n\nrequire(\"core-js/modules/es6.object.assign\");\n\nrequire(\"core-js/modules/es6.object.define-property\");\n\nmodule.exports =\n/******/\nfunction (modules) {\n // webpackBootstrap\n\n /******/\n // The module cache\n\n /******/\n var installedModules = {};\n /******/\n // The require function\n\n /******/\n\n function __webpack_require__(moduleId) {\n /******/\n // Check if module is in cache\n\n /******/\n if (installedModules[moduleId])\n /******/\n return installedModules[moduleId].exports;\n /******/\n // Create a new module (and put it into the cache)\n\n /******/\n\n var module = installedModules[moduleId] = {\n /******/\n exports: {},\n\n /******/\n id: moduleId,\n\n /******/\n loaded: false\n /******/\n\n };\n /******/\n // Execute the module function\n\n /******/\n\n modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n /******/\n // Flag the module as loaded\n\n /******/\n\n module.loaded = true;\n /******/\n // Return the exports of the module\n\n /******/\n\n return module.exports;\n /******/\n }\n /******/\n // expose the modules object (__webpack_modules__)\n\n /******/\n\n\n __webpack_require__.m = modules;\n /******/\n // expose the module cache\n\n /******/\n\n __webpack_require__.c = installedModules;\n /******/\n // __webpack_public_path__\n\n /******/\n\n __webpack_require__.p = \"\";\n /******/\n // Load entry module and return exports\n\n /******/\n\n return __webpack_require__(0);\n /******/\n}(\n/************************************************************************/\n\n/******/\n[\n/* 0 */\n\n/***/\nfunction (module, exports, __webpack_require__) {\n 'use strict';\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n\n var _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n var _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n }();\n\n var _react = __webpack_require__(1);\n\n var _react2 = _interopRequireDefault(_react);\n\n var _propTypes = __webpack_require__(2);\n\n var _propTypes2 = _interopRequireDefault(_propTypes);\n\n var _Cursor = __webpack_require__(10);\n\n var _Cursor2 = _interopRequireDefault(_Cursor);\n\n var _Backspace = __webpack_require__(12);\n\n var _Backspace2 = _interopRequireDefault(_Backspace);\n\n var _Delay = __webpack_require__(13);\n\n var _Delay2 = _interopRequireDefault(_Delay);\n\n var _utils = __webpack_require__(14);\n\n var utils = _interopRequireWildcard(_utils);\n\n function _interopRequireWildcard(obj) {\n if (obj && obj.__esModule) {\n return obj;\n } else {\n var newObj = {};\n\n if (obj != null) {\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key];\n }\n }\n\n newObj[\"default\"] = obj;\n return newObj;\n }\n }\n\n function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n }\n\n function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n }\n\n function _possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self;\n }\n\n function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass);\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n }\n\n var ACTION_CHARS = ['🔙', '⏰'];\n\n var Typist = function (_Component) {\n _inherits(Typist, _Component);\n\n function Typist(props) {\n _classCallCheck(this, Typist);\n\n var _this = _possibleConstructorReturn(this, (Typist.__proto__ || Object.getPrototypeOf(Typist)).call(this, props));\n\n _this.state = {\n textLines: [],\n isDone: false\n };\n\n _this.onTypingDone = function () {\n if (!_this.mounted) {\n return;\n }\n\n _this.setState({\n isDone: true\n });\n\n _this.props.onTypingDone();\n };\n\n _this.delayGenerator = function (line, lineIdx, character, charIdx) {\n var mean = _this.props.avgTypingDelay;\n var std = _this.props.stdTypingDelay;\n return _this.props.delayGenerator(mean, std, {\n line: line,\n lineIdx: lineIdx,\n character: character,\n charIdx: charIdx,\n defDelayGenerator: function defDelayGenerator() {\n var mn = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : mean;\n var st = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : std;\n return utils.gaussianRnd(mn, st);\n }\n });\n };\n\n _this.typeLine = function (line, lineIdx) {\n if (!_this.mounted) {\n return Promise.resolve();\n }\n\n var decoratedLine = line;\n var onLineTyped = _this.props.onLineTyped;\n\n if (utils.isBackspaceElement(line)) {\n if (line.props.delay > 0) {\n _this.introducedDelay = line.props.delay;\n }\n\n decoratedLine = String('🔙').repeat(line.props.count);\n } else if (utils.isDelayElement(line)) {\n _this.introducedDelay = line.props.ms;\n decoratedLine = '⏰';\n }\n\n return new Promise(function (resolve, reject) {\n _this.setState({\n textLines: _this.state.textLines.concat([''])\n }, function () {\n utils.eachPromise(decoratedLine, _this.typeCharacter, decoratedLine, lineIdx).then(function () {\n return onLineTyped(decoratedLine, lineIdx);\n }).then(resolve)[\"catch\"](reject);\n });\n });\n };\n\n _this.typeCharacter = function (character, charIdx, line, lineIdx) {\n if (!_this.mounted) {\n return Promise.resolve();\n }\n\n var onCharacterTyped = _this.props.onCharacterTyped;\n return new Promise(function (resolve) {\n var textLines = _this.state.textLines.slice();\n\n utils.sleep(_this.introducedDelay).then(function () {\n _this.introducedDelay = null;\n var isBackspace = character === '🔙';\n var isDelay = character === '⏰';\n\n if (isDelay) {\n resolve();\n return;\n }\n\n if (isBackspace && lineIdx > 0) {\n var prevLineIdx = lineIdx - 1;\n var prevLine = textLines[prevLineIdx];\n\n for (var idx = prevLineIdx; idx >= 0; idx--) {\n if (prevLine.length > 0 && !ACTION_CHARS.includes(prevLine[0])) {\n break;\n }\n\n prevLineIdx = idx;\n prevLine = textLines[prevLineIdx];\n }\n\n textLines[prevLineIdx] = prevLine.substr(0, prevLine.length - 1);\n } else {\n textLines[lineIdx] += character;\n }\n\n _this.setState({\n textLines: textLines\n }, function () {\n var delay = _this.delayGenerator(line, lineIdx, character, charIdx);\n\n onCharacterTyped(character, charIdx);\n setTimeout(resolve, delay);\n });\n });\n });\n };\n\n _this.mounted = false;\n _this.linesToType = [];\n _this.introducedDelay = null;\n\n if (props.children) {\n _this.linesToType = utils.extractTextFromElement(props.children);\n }\n\n return _this;\n }\n\n _createClass(Typist, [{\n key: 'componentDidMount',\n value: function componentDidMount() {\n this.mounted = true;\n var _props = this.props,\n children = _props.children,\n startDelay = _props.startDelay;\n\n if (children) {\n if (startDelay > 0 && typeof window !== 'undefined') {\n setTimeout(this.typeAllLines.bind(this), startDelay);\n } else {\n this.typeAllLines();\n }\n } else {\n this.onTypingDone();\n }\n }\n }, {\n key: 'shouldComponentUpdate',\n value: function shouldComponentUpdate(nextProps, nextState) {\n if (nextState.textLines.length !== this.state.textLines.length) {\n return true;\n }\n\n for (var idx = 0; idx < nextState.textLines.length; idx++) {\n var line = this.state.textLines[idx];\n var nextLine = nextState.textLines[idx];\n\n if (line !== nextLine) {\n return true;\n }\n }\n\n return this.state.isDone !== nextState.isDone;\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n this.mounted = false;\n }\n }, {\n key: 'typeAllLines',\n value: function typeAllLines() {\n var _this2 = this;\n\n var lines = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.linesToType;\n return utils.eachPromise(lines, this.typeLine).then(function () {\n return _this2.onTypingDone();\n });\n }\n }, {\n key: 'render',\n value: function render() {\n var _props2 = this.props,\n className = _props2.className,\n cursor = _props2.cursor;\n var isDone = this.state.isDone;\n var innerTree = utils.cloneElementWithSpecifiedText({\n element: this.props.children,\n textLines: this.state.textLines\n });\n return _react2[\"default\"].createElement('div', {\n className: 'Typist ' + className\n }, innerTree, _react2[\"default\"].createElement(_Cursor2[\"default\"], _extends({\n isDone: isDone\n }, cursor)));\n }\n }]);\n\n return Typist;\n }(_react.Component);\n\n Typist.propTypes = {\n children: _propTypes2[\"default\"].node,\n className: _propTypes2[\"default\"].string,\n avgTypingDelay: _propTypes2[\"default\"].number,\n stdTypingDelay: _propTypes2[\"default\"].number,\n startDelay: _propTypes2[\"default\"].number,\n cursor: _propTypes2[\"default\"].object,\n onCharacterTyped: _propTypes2[\"default\"].func,\n onLineTyped: _propTypes2[\"default\"].func,\n onTypingDone: _propTypes2[\"default\"].func,\n delayGenerator: _propTypes2[\"default\"].func\n };\n Typist.defaultProps = {\n className: '',\n avgTypingDelay: 70,\n stdTypingDelay: 25,\n startDelay: 0,\n cursor: {},\n onCharacterTyped: function onCharacterTyped() {},\n onLineTyped: function onLineTyped() {},\n onTypingDone: function onTypingDone() {},\n delayGenerator: utils.gaussianRnd\n };\n exports[\"default\"] = Typist;\n Typist.Backspace = _Backspace2[\"default\"];\n Typist.Delay = _Delay2[\"default\"];\n /***/\n},\n/* 1 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"react\");\n /***/\n},\n/* 2 */\n\n/***/\nfunction (module, exports, __webpack_require__) {\n /**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n if (process.env.NODE_ENV !== 'production') {\n var REACT_ELEMENT_TYPE = typeof Symbol === 'function' && Symbol[\"for\"] && Symbol[\"for\"]('react.element') || 0xeac7;\n\n var isValidElement = function isValidElement(object) {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n }; // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n\n\n var throwOnDirectAccess = true;\n module.exports = __webpack_require__(3)(isValidElement, throwOnDirectAccess);\n } else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = __webpack_require__(9)();\n }\n /***/\n\n},\n/* 3 */\n\n/***/\nfunction (module, exports, __webpack_require__) {\n /**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n 'use strict';\n\n var emptyFunction = __webpack_require__(4);\n\n var invariant = __webpack_require__(5);\n\n var warning = __webpack_require__(6);\n\n var ReactPropTypesSecret = __webpack_require__(7);\n\n var checkPropTypes = __webpack_require__(8);\n\n module.exports = function (isValidElement, throwOnDirectAccess) {\n /* global Symbol */\n var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;\n var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.\n\n /**\n * Returns the iterator method function contained on the iterable object.\n *\n * Be sure to invoke the function with the iterable as context:\n *\n * var iteratorFn = getIteratorFn(myIterable);\n * if (iteratorFn) {\n * var iterator = iteratorFn.call(myIterable);\n * ...\n * }\n *\n * @param {?object} maybeIterable\n * @return {?function}\n */\n\n function getIteratorFn(maybeIterable) {\n var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);\n\n if (typeof iteratorFn === 'function') {\n return iteratorFn;\n }\n }\n /**\n * Collection of methods that allow declaration and validation of props that are\n * supplied to React components. Example usage:\n *\n * var Props = require('ReactPropTypes');\n * var MyArticle = React.createClass({\n * propTypes: {\n * // An optional string prop named \"description\".\n * description: Props.string,\n *\n * // A required enum prop named \"category\".\n * category: Props.oneOf(['News','Photos']).isRequired,\n *\n * // A prop named \"dialog\" that requires an instance of Dialog.\n * dialog: Props.instanceOf(Dialog).isRequired\n * },\n * render: function() { ... }\n * });\n *\n * A more formal specification of how these methods are used:\n *\n * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)\n * decl := ReactPropTypes.{type}(.isRequired)?\n *\n * Each and every declaration produces a function with the same signature. This\n * allows the creation of custom validation functions. For example:\n *\n * var MyLink = React.createClass({\n * propTypes: {\n * // An optional string or URI prop named \"href\".\n * href: function(props, propName, componentName) {\n * var propValue = props[propName];\n * if (propValue != null && typeof propValue !== 'string' &&\n * !(propValue instanceof URI)) {\n * return new Error(\n * 'Expected a string or an URI for ' + propName + ' in ' +\n * componentName\n * );\n * }\n * }\n * },\n * render: function() {...}\n * });\n *\n * @internal\n */\n\n\n var ANONYMOUS = '<<anonymous>>'; // Important!\n // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.\n\n var ReactPropTypes = {\n array: createPrimitiveTypeChecker('array'),\n bool: createPrimitiveTypeChecker('boolean'),\n func: createPrimitiveTypeChecker('function'),\n number: createPrimitiveTypeChecker('number'),\n object: createPrimitiveTypeChecker('object'),\n string: createPrimitiveTypeChecker('string'),\n symbol: createPrimitiveTypeChecker('symbol'),\n any: createAnyTypeChecker(),\n arrayOf: createArrayOfTypeChecker,\n element: createElementTypeChecker(),\n instanceOf: createInstanceTypeChecker,\n node: createNodeChecker(),\n objectOf: createObjectOfTypeChecker,\n oneOf: createEnumTypeChecker,\n oneOfType: createUnionTypeChecker,\n shape: createShapeTypeChecker\n };\n /**\n * inlined Object.is polyfill to avoid requiring consumers ship their own\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n */\n\n /*eslint-disable no-self-compare*/\n\n function is(x, y) {\n // SameValue algorithm\n if (x === y) {\n // Steps 1-5, 7-10\n // Steps 6.b-6.e: +0 != -0\n return x !== 0 || 1 / x === 1 / y;\n } else {\n // Step 6.a: NaN == NaN\n return x !== x && y !== y;\n }\n }\n /*eslint-enable no-self-compare*/\n\n /**\n * We use an Error-like object for backward compatibility as people may call\n * PropTypes directly and inspect their output. However, we don't use real\n * Errors anymore. We don't inspect their stack anyway, and creating them\n * is prohibitively expensive if they are created too often, such as what\n * happens in oneOfType() for any type before the one that matched.\n */\n\n\n function PropTypeError(message) {\n this.message = message;\n this.stack = '';\n } // Make `instanceof Error` still work for returned errors.\n\n\n PropTypeError.prototype = Error.prototype;\n\n function createChainableTypeChecker(validate) {\n if (process.env.NODE_ENV !== 'production') {\n var manualPropTypeCallCache = {};\n var manualPropTypeWarningCount = 0;\n }\n\n function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {\n componentName = componentName || ANONYMOUS;\n propFullName = propFullName || propName;\n\n if (secret !== ReactPropTypesSecret) {\n if (throwOnDirectAccess) {\n // New behavior only for users of `prop-types` package\n invariant(false, 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' + 'Use `PropTypes.checkPropTypes()` to call them. ' + 'Read more at http://fb.me/use-check-prop-types');\n } else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {\n // Old behavior for people using React.PropTypes\n var cacheKey = componentName + ':' + propName;\n\n if (!manualPropTypeCallCache[cacheKey] && // Avoid spamming the console because they are often not actionable except for lib authors\n manualPropTypeWarningCount < 3) {\n warning(false, 'You are manually calling a React.PropTypes validation ' + 'function for the `%s` prop on `%s`. This is deprecated ' + 'and will throw in the standalone `prop-types` package. ' + 'You may be seeing this warning due to a third-party PropTypes ' + 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.', propFullName, componentName);\n manualPropTypeCallCache[cacheKey] = true;\n manualPropTypeWarningCount++;\n }\n }\n }\n\n if (props[propName] == null) {\n if (isRequired) {\n if (props[propName] === null) {\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));\n }\n\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));\n }\n\n return null;\n } else {\n return validate(props, propName, componentName, location, propFullName);\n }\n }\n\n var chainedCheckType = checkType.bind(null, false);\n chainedCheckType.isRequired = checkType.bind(null, true);\n return chainedCheckType;\n }\n\n function createPrimitiveTypeChecker(expectedType) {\n function validate(props, propName, componentName, location, propFullName, secret) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n\n if (propType !== expectedType) {\n // `propValue` being instance of, say, date/regexp, pass the 'object'\n // check, but we can offer a more precise error message here rather than\n // 'of type `object`'.\n var preciseType = getPreciseType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'));\n }\n\n return null;\n }\n\n return createChainableTypeChecker(validate);\n }\n\n function createAnyTypeChecker() {\n return createChainableTypeChecker(emptyFunction.thatReturnsNull);\n }\n\n function createArrayOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');\n }\n\n var propValue = props[propName];\n\n if (!Array.isArray(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));\n }\n\n for (var i = 0; i < propValue.length; i++) {\n var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);\n\n if (error instanceof Error) {\n return error;\n }\n }\n\n return null;\n }\n\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n\n if (!isValidElement(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));\n }\n\n return null;\n }\n\n return createChainableTypeChecker(validate);\n }\n\n function createInstanceTypeChecker(expectedClass) {\n function validate(props, propName, componentName, location, propFullName) {\n if (!(props[propName] instanceof expectedClass)) {\n var expectedClassName = expectedClass.name || ANONYMOUS;\n var actualClassName = getClassName(props[propName]);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));\n }\n\n return null;\n }\n\n return createChainableTypeChecker(validate);\n }\n\n function createEnumTypeChecker(expectedValues) {\n if (!Array.isArray(expectedValues)) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'Invalid argument supplied to oneOf, expected an instance of array.') : void 0;\n return emptyFunction.thatReturnsNull;\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n\n for (var i = 0; i < expectedValues.length; i++) {\n if (is(propValue, expectedValues[i])) {\n return null;\n }\n }\n\n var valuesString = JSON.stringify(expectedValues);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + propValue + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));\n }\n\n return createChainableTypeChecker(validate);\n }\n\n function createObjectOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');\n }\n\n var propValue = props[propName];\n var propType = getPropType(propValue);\n\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));\n }\n\n for (var key in propValue) {\n if (propValue.hasOwnProperty(key)) {\n var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n\n if (error instanceof Error) {\n return error;\n }\n }\n }\n\n return null;\n }\n\n return createChainableTypeChecker(validate);\n }\n\n function createUnionTypeChecker(arrayOfTypeCheckers) {\n if (!Array.isArray(arrayOfTypeCheckers)) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;\n return emptyFunction.thatReturnsNull;\n }\n\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n\n if (typeof checker !== 'function') {\n warning(false, 'Invalid argument supplid to oneOfType. Expected an array of check functions, but ' + 'received %s at index %s.', getPostfixForTypeWarning(checker), i);\n return emptyFunction.thatReturnsNull;\n }\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n\n if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret) == null) {\n return null;\n }\n }\n\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.'));\n }\n\n return createChainableTypeChecker(validate);\n }\n\n function createNodeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n if (!isNode(props[propName])) {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));\n }\n\n return null;\n }\n\n return createChainableTypeChecker(validate);\n }\n\n function createShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n\n for (var key in shapeTypes) {\n var checker = shapeTypes[key];\n\n if (!checker) {\n continue;\n }\n\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n\n if (error) {\n return error;\n }\n }\n\n return null;\n }\n\n return createChainableTypeChecker(validate);\n }\n\n function isNode(propValue) {\n switch (typeof propValue) {\n case 'number':\n case 'string':\n case 'undefined':\n return true;\n\n case 'boolean':\n return !propValue;\n\n case 'object':\n if (Array.isArray(propValue)) {\n return propValue.every(isNode);\n }\n\n if (propValue === null || isValidElement(propValue)) {\n return true;\n }\n\n var iteratorFn = getIteratorFn(propValue);\n\n if (iteratorFn) {\n var iterator = iteratorFn.call(propValue);\n var step;\n\n if (iteratorFn !== propValue.entries) {\n while (!(step = iterator.next()).done) {\n if (!isNode(step.value)) {\n return false;\n }\n }\n } else {\n // Iterator will provide entry [k,v] tuples rather than values.\n while (!(step = iterator.next()).done) {\n var entry = step.value;\n\n if (entry) {\n if (!isNode(entry[1])) {\n return false;\n }\n }\n }\n }\n } else {\n return false;\n }\n\n return true;\n\n default:\n return false;\n }\n }\n\n function isSymbol(propType, propValue) {\n // Native Symbol.\n if (propType === 'symbol') {\n return true;\n } // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'\n\n\n if (propValue['@@toStringTag'] === 'Symbol') {\n return true;\n } // Fallback for non-spec compliant Symbols which are polyfilled.\n\n\n if (typeof Symbol === 'function' && propValue instanceof Symbol) {\n return true;\n }\n\n return false;\n } // Equivalent of `typeof` but with special handling for array and regexp.\n\n\n function getPropType(propValue) {\n var propType = typeof propValue;\n\n if (Array.isArray(propValue)) {\n return 'array';\n }\n\n if (propValue instanceof RegExp) {\n // Old webkits (at least until Android 4.0) return 'function' rather than\n // 'object' for typeof a RegExp. We'll normalize this here so that /bla/\n // passes PropTypes.object.\n return 'object';\n }\n\n if (isSymbol(propType, propValue)) {\n return 'symbol';\n }\n\n return propType;\n } // This handles more types than `getPropType`. Only used for error messages.\n // See `createPrimitiveTypeChecker`.\n\n\n function getPreciseType(propValue) {\n if (typeof propValue === 'undefined' || propValue === null) {\n return '' + propValue;\n }\n\n var propType = getPropType(propValue);\n\n if (propType === 'object') {\n if (propValue instanceof Date) {\n return 'date';\n } else if (propValue instanceof RegExp) {\n return 'regexp';\n }\n }\n\n return propType;\n } // Returns a string that is postfixed to a warning about an invalid type.\n // For example, \"undefined\" or \"of type array\"\n\n\n function getPostfixForTypeWarning(value) {\n var type = getPreciseType(value);\n\n switch (type) {\n case 'array':\n case 'object':\n return 'an ' + type;\n\n case 'boolean':\n case 'date':\n case 'regexp':\n return 'a ' + type;\n\n default:\n return type;\n }\n } // Returns class name of the object, if any.\n\n\n function getClassName(propValue) {\n if (!propValue.constructor || !propValue.constructor.name) {\n return ANONYMOUS;\n }\n\n return propValue.constructor.name;\n }\n\n ReactPropTypes.checkPropTypes = checkPropTypes;\n ReactPropTypes.PropTypes = ReactPropTypes;\n return ReactPropTypes;\n };\n /***/\n\n},\n/* 4 */\n\n/***/\nfunction (module, exports) {\n \"use strict\";\n /**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n function makeEmptyFunction(arg) {\n return function () {\n return arg;\n };\n }\n /**\n * This function accepts and discards inputs; it has no side effects. This is\n * primarily useful idiomatically for overridable function endpoints which\n * always need to be callable, since JS lacks a null-call idiom ala Cocoa.\n */\n\n\n var emptyFunction = function emptyFunction() {};\n\n emptyFunction.thatReturns = makeEmptyFunction;\n emptyFunction.thatReturnsFalse = makeEmptyFunction(false);\n emptyFunction.thatReturnsTrue = makeEmptyFunction(true);\n emptyFunction.thatReturnsNull = makeEmptyFunction(null);\n\n emptyFunction.thatReturnsThis = function () {\n return this;\n };\n\n emptyFunction.thatReturnsArgument = function (arg) {\n return arg;\n };\n\n module.exports = emptyFunction;\n /***/\n},\n/* 5 */\n\n/***/\nfunction (module, exports) {\n /**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n 'use strict';\n /**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments\n * to provide information about what broke and what you were\n * expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */\n\n var validateFormat = function validateFormat(format) {};\n\n if (process.env.NODE_ENV !== 'production') {\n validateFormat = function validateFormat(format) {\n if (format === undefined) {\n throw new Error('invariant requires an error message argument');\n }\n };\n }\n\n function invariant(condition, format, a, b, c, d, e, f) {\n validateFormat(format);\n\n if (!condition) {\n var error;\n\n if (format === undefined) {\n error = new Error('Minified exception occurred; use the non-minified dev environment ' + 'for the full error message and additional helpful warnings.');\n } else {\n var args = [a, b, c, d, e, f];\n var argIndex = 0;\n error = new Error(format.replace(/%s/g, function () {\n return args[argIndex++];\n }));\n error.name = 'Invariant Violation';\n }\n\n error.framesToPop = 1; // we don't care about invariant's own frame\n\n throw error;\n }\n }\n\n module.exports = invariant;\n /***/\n},\n/* 6 */\n\n/***/\nfunction (module, exports, __webpack_require__) {\n /**\n * Copyright 2014-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n 'use strict';\n\n var emptyFunction = __webpack_require__(4);\n /**\n * Similar to invariant but only logs a warning if the condition is not met.\n * This can be used to log issues in development environments in critical\n * paths. Removing the logging code for production environments will keep the\n * same logic and follow the same code paths.\n */\n\n\n var warning = emptyFunction;\n\n if (process.env.NODE_ENV !== 'production') {\n (function () {\n var printWarning = function printWarning(format) {\n for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n var argIndex = 0;\n var message = 'Warning: ' + format.replace(/%s/g, function () {\n return args[argIndex++];\n });\n\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n\n warning = function warning(condition, format) {\n if (format === undefined) {\n throw new Error('`warning(condition, format, ...args)` requires a warning ' + 'message argument');\n }\n\n if (format.indexOf('Failed Composite propType: ') === 0) {\n return; // Ignore CompositeComponent proptype check.\n }\n\n if (!condition) {\n for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {\n args[_key2 - 2] = arguments[_key2];\n }\n\n printWarning.apply(undefined, [format].concat(args));\n }\n };\n })();\n }\n\n module.exports = warning;\n /***/\n},\n/* 7 */\n\n/***/\nfunction (module, exports) {\n /**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n 'use strict';\n\n var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n module.exports = ReactPropTypesSecret;\n /***/\n},\n/* 8 */\n\n/***/\nfunction (module, exports, __webpack_require__) {\n /**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n 'use strict';\n\n if (process.env.NODE_ENV !== 'production') {\n var invariant = __webpack_require__(5);\n\n var warning = __webpack_require__(6);\n\n var ReactPropTypesSecret = __webpack_require__(7);\n\n var loggedTypeFailures = {};\n }\n /**\n * Assert that the values match with the type specs.\n * Error messages are memorized and will only be shown once.\n *\n * @param {object} typeSpecs Map of name to a ReactPropType\n * @param {object} values Runtime values that need to be type-checked\n * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n * @param {string} componentName Name of the component for error messages.\n * @param {?Function} getStack Returns the component stack.\n * @private\n */\n\n\n function checkPropTypes(typeSpecs, values, location, componentName, getStack) {\n if (process.env.NODE_ENV !== 'production') {\n for (var typeSpecName in typeSpecs) {\n if (typeSpecs.hasOwnProperty(typeSpecName)) {\n var error; // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n invariant(typeof typeSpecs[typeSpecName] === 'function', '%s: %s type `%s` is invalid; it must be a function, usually from ' + 'React.PropTypes.', componentName || 'React class', location, typeSpecName);\n error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);\n } catch (ex) {\n error = ex;\n }\n\n warning(!error || error instanceof Error, '%s: type specification of %s `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error);\n\n if (error instanceof Error && !(error.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error.message] = true;\n var stack = getStack ? getStack() : '';\n warning(false, 'Failed %s type: %s%s', location, error.message, stack != null ? stack : '');\n }\n }\n }\n }\n }\n\n module.exports = checkPropTypes;\n /***/\n},\n/* 9 */\n\n/***/\nfunction (module, exports, __webpack_require__) {\n /**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n 'use strict';\n\n var emptyFunction = __webpack_require__(4);\n\n var invariant = __webpack_require__(5);\n\n var ReactPropTypesSecret = __webpack_require__(7);\n\n module.exports = function () {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n\n invariant(false, 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' + 'Use PropTypes.checkPropTypes() to call them. ' + 'Read more at http://fb.me/use-check-prop-types');\n }\n\n ;\n shim.isRequired = shim;\n\n function getShim() {\n return shim;\n }\n\n ; // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n\n var ReactPropTypes = {\n array: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n any: shim,\n arrayOf: getShim,\n element: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim\n };\n ReactPropTypes.checkPropTypes = emptyFunction;\n ReactPropTypes.PropTypes = ReactPropTypes;\n return ReactPropTypes;\n };\n /***/\n\n},\n/* 10 */\n\n/***/\nfunction (module, exports, __webpack_require__) {\n 'use strict';\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n\n var _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n }();\n\n var _react = __webpack_require__(1);\n\n var _react2 = _interopRequireDefault(_react);\n\n var _propTypes = __webpack_require__(2);\n\n var _propTypes2 = _interopRequireDefault(_propTypes);\n\n __webpack_require__(11);\n\n function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n }\n\n function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n }\n\n function _possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self;\n }\n\n function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass);\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n }\n\n var Cursor = function (_Component) {\n _inherits(Cursor, _Component);\n\n function Cursor(props) {\n _classCallCheck(this, Cursor);\n\n var _this = _possibleConstructorReturn(this, (Cursor.__proto__ || Object.getPrototypeOf(Cursor)).call(this, props));\n\n _this._isReRenderingCursor = false;\n _this.state = {\n shouldRender: _this.props.show\n };\n return _this;\n }\n\n _createClass(Cursor, [{\n key: 'componentWillReceiveProps',\n value: function componentWillReceiveProps(nextProps) {\n var _this2 = this;\n\n var shouldHide = !this.props.isDone && nextProps.isDone && this.props.hideWhenDone;\n\n if (shouldHide) {\n setTimeout(function () {\n return _this2.setState({\n shouldRender: false\n });\n }, this.props.hideWhenDoneDelay);\n }\n }\n }, {\n key: 'componentDidUpdate',\n value: function componentDidUpdate() {\n var _props = this.props,\n show = _props.show,\n isDone = _props.isDone;\n\n if (!show) {\n return;\n }\n\n if (isDone) {\n return;\n }\n\n if (this._isReRenderingCursor) {\n return;\n } // In webkit and blink, rendering the cursor alongside the text as it\n // animates sometimes causes the text to stop rendering when it reaches\n // a new line break, even though the underlying DOM /does/ contain\n // the text. This seems to happen when the space available for the text is\n // at a specific width that makes it so the line break happens within a\n // word.\n // Using dev tools, when in this state, if you modify the dom or any style,\n // it immediately renders all of the text in its correct position.\n // Given that observation, this is a hackish solutions that re-renders the\n // cursor every time a character is rendered, just to ensure that the text\n // is rendered correctly.\n // See #13 and #15 for more details\n\n\n this._reRenderCursor();\n }\n }, {\n key: '_reRenderCursor',\n value: function _reRenderCursor() {\n var _this3 = this;\n\n this._isReRenderingCursor = true;\n this.setState({\n shouldRender: false\n }, function () {\n _this3.setState({\n shouldRender: true\n }, function () {\n _this3._isReRenderingCursor = false;\n });\n });\n }\n }, {\n key: 'render',\n value: function render() {\n if (this.state.shouldRender) {\n var className = this.props.blink ? ' Cursor--blinking' : '';\n return _react2[\"default\"].createElement('span', {\n className: 'Cursor' + className\n }, this.props.element);\n }\n\n return null;\n }\n }]);\n\n return Cursor;\n }(_react.Component);\n\n Cursor.propTypes = {\n blink: _propTypes2[\"default\"].bool,\n show: _propTypes2[\"default\"].bool,\n element: _propTypes2[\"default\"].node,\n hideWhenDone: _propTypes2[\"default\"].bool,\n hideWhenDoneDelay: _propTypes2[\"default\"].number,\n isDone: _propTypes2[\"default\"].bool\n };\n Cursor.defaultProps = {\n blink: true,\n show: true,\n element: '|',\n hideWhenDone: false,\n hideWhenDoneDelay: 1000,\n isDone: false\n };\n exports[\"default\"] = Cursor;\n /***/\n},\n/* 11 */\n\n/***/\nfunction (module, exports) {// removed by extract-text-webpack-plugin\n\n /***/\n},\n/* 12 */\n\n/***/\nfunction (module, exports, __webpack_require__) {\n 'use strict';\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n\n var _react = __webpack_require__(1);\n\n var _react2 = _interopRequireDefault(_react);\n\n var _propTypes = __webpack_require__(2);\n\n var _propTypes2 = _interopRequireDefault(_propTypes);\n\n function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n }\n\n var Backspace = function Backspace() {\n return _react2[\"default\"].createElement('noscript', null);\n };\n\n Backspace.componentName = 'Backspace';\n Backspace.propTypes = {\n count: _propTypes2[\"default\"].number,\n delay: _propTypes2[\"default\"].number\n };\n Backspace.defaultProps = {\n count: 1,\n delay: 0\n };\n exports[\"default\"] = Backspace;\n /***/\n},\n/* 13 */\n\n/***/\nfunction (module, exports, __webpack_require__) {\n 'use strict';\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n\n var _react = __webpack_require__(1);\n\n var _react2 = _interopRequireDefault(_react);\n\n var _propTypes = __webpack_require__(2);\n\n var _propTypes2 = _interopRequireDefault(_propTypes);\n\n function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n }\n\n var Delay = function Delay() {\n return _react2[\"default\"].createElement('noscript', null);\n };\n\n Delay.componentName = 'Delay';\n Delay.propTypes = {\n ms: _propTypes2[\"default\"].number.isRequired\n };\n exports[\"default\"] = Delay;\n /***/\n},\n/* 14 */\n\n/***/\nfunction (module, exports, __webpack_require__) {\n 'use strict';\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.sleep = undefined;\n\n var _slicedToArray = function () {\n function sliceIterator(arr, i) {\n var _arr = [];\n var _n = true;\n var _d = false;\n var _e = undefined;\n\n try {\n for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"]) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n }\n\n return function (arr, i) {\n if (Array.isArray(arr)) {\n return arr;\n } else if (Symbol.iterator in Object(arr)) {\n return sliceIterator(arr, i);\n } else {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n }\n };\n }();\n\n exports.gaussianRnd = gaussianRnd;\n exports.eachPromise = eachPromise;\n exports.exclude = exclude;\n exports.isBackspaceElement = isBackspaceElement;\n exports.isDelayElement = isDelayElement;\n exports.extractTextFromElement = extractTextFromElement;\n exports.cloneElement = cloneElement;\n exports.cloneElementWithSpecifiedText = cloneElementWithSpecifiedText;\n\n var _react = __webpack_require__(1);\n\n var _react2 = _interopRequireDefault(_react);\n\n function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n }\n\n function _toConsumableArray(arr) {\n if (Array.isArray(arr)) {\n for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n } else {\n return Array.from(arr);\n }\n }\n\n var sleep = exports.sleep = function sleep(val) {\n return new Promise(function (resolve) {\n return val != null ? setTimeout(resolve, val) : resolve();\n });\n };\n\n function gaussianRnd(mean, std) {\n var times = 12;\n var sum = 0;\n\n for (var idx = 0; idx < times; idx++) {\n sum += Math.random();\n }\n\n sum -= times / 2;\n return Math.round(sum * std) + mean;\n }\n\n function eachPromise(arr, iterator) {\n for (var _len = arguments.length, extraArgs = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n extraArgs[_key - 2] = arguments[_key];\n }\n\n var promiseReducer = function promiseReducer(prev, current, idx) {\n return prev.then(function () {\n return iterator.apply(undefined, [current, idx].concat(extraArgs));\n });\n };\n\n return Array.from(arr).reduce(promiseReducer, Promise.resolve());\n }\n\n function exclude(obj, keys) {\n var res = {};\n\n for (var key in obj) {\n if (keys.indexOf(key) === -1) {\n res[key] = obj[key];\n }\n }\n\n return res;\n }\n\n function isBackspaceElement(element) {\n return element && element.type && element.type.componentName === 'Backspace';\n }\n\n function isDelayElement(element) {\n return element && element.type && element.type.componentName === 'Delay';\n }\n\n function extractTextFromElement(element) {\n var stack = element ? [element] : [];\n var lines = [];\n\n while (stack.length > 0) {\n var current = stack.pop();\n\n if (_react2[\"default\"].isValidElement(current)) {\n if (isBackspaceElement(current) || isDelayElement(current)) {\n // If it is a `Backspace` or `Delay` element, we want to keep it in our\n // `textLines` state. These will serve as markers when updating the\n // state of the text\n lines.unshift(current);\n } else {\n _react2[\"default\"].Children.forEach(current.props.children, function (child) {\n stack.push(child);\n });\n }\n } else if (Array.isArray(current)) {\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = current[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var el = _step.value;\n stack.push(el);\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator[\"return\"]) {\n _iterator[\"return\"]();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n } else {\n lines.unshift(current);\n }\n }\n\n return lines;\n }\n\n function cloneElement(element, children) {\n var tag = element.type;\n var props = exclude(element.props, ['children']);\n var getMilliseconds = new Date().getUTCMilliseconds();\n var randomStamp = getMilliseconds + Math.random() + Math.random(); // eslint-disable-next-line\n\n props.key = 'Typist-element-' + tag + '-' + randomStamp;\n return _react2[\"default\"].createElement.apply(_react2[\"default\"], [tag, props].concat(_toConsumableArray(children)));\n }\n\n function cloneElementWithSpecifiedTextAtIndex(element, textLines, textIdx) {\n if (textIdx >= textLines.length) {\n return [null, textIdx];\n }\n\n var idx = textIdx;\n\n var recurse = function recurse(el) {\n var _cloneElementWithSpec = cloneElementWithSpecifiedTextAtIndex(el, textLines, idx),\n _cloneElementWithSpec2 = _slicedToArray(_cloneElementWithSpec, 2),\n child = _cloneElementWithSpec2[0],\n advIdx = _cloneElementWithSpec2[1];\n\n idx = advIdx;\n return child;\n };\n\n var isNonTypistElement = _react2[\"default\"].isValidElement(element) && !(isBackspaceElement(element) || isDelayElement(element));\n\n if (isNonTypistElement) {\n var clonedChildren = _react2[\"default\"].Children.map(element.props.children, recurse) || [];\n return [cloneElement(element, clonedChildren), idx];\n }\n\n if (Array.isArray(element)) {\n var children = element.map(recurse);\n return [children, idx];\n } // Anything that isn't a React element or an Array is interpreted as text\n\n\n return [textLines[idx], idx + 1];\n }\n\n function cloneElementWithSpecifiedText(_ref) {\n var element = _ref.element,\n textLines = _ref.textLines;\n\n if (!element) {\n return undefined;\n }\n\n return cloneElementWithSpecifiedTextAtIndex(element, textLines, 0)[0];\n }\n /***/\n\n}\n/******/\n]);","import React from 'react'\r\nimport PropTypes from 'prop-types'\r\nimport styled from 'styled-components'\r\nimport tw from 'tailwind.macro'\r\nimport { colors } from '../../tailwind'\r\nimport { Divider } from '../elements/Dividers'\r\nimport Content from '../elements/Content'\r\nimport { UpDown, UpDownWide } from '../styles/animations'\r\nimport SVG from '../components/SVG'\r\n\r\nconst Wrapper = styled.div`\r\n ${tw`w-full xl:w-2/3`};\r\n`\r\n\r\nconst Hero = ({ children, offset }) => (\r\n <>\r\n <Divider speed={0.2} offset={offset}>\r\n <UpDown>\r\n <SVG icon=\"triangle\" hiddenMobile width={48} stroke={colors.orange} left=\"10%\" top=\"10%\" />\r\n <SVG icon=\"hexa\" width={48} stroke={colors.red} left=\"60%\" top=\"70%\" />\r\n <SVG icon=\"box\" width={6} fill={colors['grey-darker']} left=\"60%\" top=\"15%\" />\r\n </UpDown>\r\n <UpDownWide>\r\n <SVG icon=\"arrowUp\" hiddenMobile width={16} fill={colors['blue-dark']} left=\"80%\" top=\"10%\" />\r\n <SVG icon=\"triangle\" width={12} stroke={colors.white} left=\"90%\" top=\"50%\" />\r\n <SVG icon=\"circle\" width={16} fill={colors['grey-darker']} left=\"70%\" top=\"90%\" />\r\n <SVG icon=\"triangle\" width={16} stroke={colors['grey-darkest']} left=\"30%\" top=\"65%\" />\r\n <SVG icon=\"circle\" width={6} fill={colors['grey-darkest']} left=\"75%\" top=\"10%\" />\r\n <SVG icon=\"upDown\" hiddenMobile width={8} fill={colors['grey-darkest']} left=\"45%\" top=\"10%\" />\r\n </UpDownWide>\r\n <SVG icon=\"circle\" hiddenMobile width={24} fill={colors['grey-darker']} left=\"5%\" top=\"70%\" />\r\n <SVG icon=\"circle\" width={6} fill={colors['grey-darkest']} left=\"4%\" top=\"20%\" />\r\n <SVG icon=\"circle\" width={12} fill={colors['grey-darkest']} left=\"50%\" top=\"60%\" />\r\n <SVG icon=\"upDown\" width={8} fill={colors['grey-darkest']} left=\"95%\" top=\"90%\" />\r\n <SVG icon=\"upDown\" hiddenMobile width={24} fill={colors['grey-darker']} left=\"40%\" top=\"80%\" />\r\n <SVG icon=\"triangle\" width={8} stroke={colors['grey-darker']} left=\"25%\" top=\"5%\" />\r\n <SVG icon=\"box\" hiddenMobile width={64} fill={colors.purple} left=\"5%\" top=\"90%\" />\r\n <SVG icon=\"box\" width={6} fill={colors['grey-darkest']} left=\"10%\" top=\"10%\" />\r\n <SVG icon=\"box\" width={12} fill={colors['grey-darkest']} left=\"40%\" top=\"30%\" />\r\n <SVG icon=\"hexa\" width={16} stroke={colors['grey-darker']} left=\"10%\" top=\"50%\" />\r\n <SVG icon=\"hexa\" width={8} stroke={colors['grey-darker']} left=\"80%\" top=\"70%\" />\r\n </Divider>\r\n <Content speed={0.4} offset={offset}>\r\n <Wrapper>{children}</Wrapper>\r\n </Content>\r\n </>\r\n)\r\n\r\nexport default Hero\r\n\r\nHero.propTypes = {\r\n children: PropTypes.node.isRequired,\r\n offset: PropTypes.number.isRequired,\r\n}\r\n","import React from 'react'\r\nimport { Link } from 'gatsby'\r\nimport { Parallax } from 'react-spring/renderprops-addons.cjs'\r\nimport Typist from 'react-typist'\r\n\r\n// Components\r\nimport Layout from '../components/Layout'\r\n\r\n// Elements\r\nimport { BigTitle, Subtitle } from '../elements/Titles'\r\n\r\n// Views\r\nimport Hero from '../views/Hero'\r\n\r\nimport '../../static/main.scss'\r\n\r\nconst simpleCursor = {\r\n show: true,\r\n hideWhenDone: true,\r\n hideWhenDoneDelay: 250,\r\n}\r\n\r\nconst blinkingCursor = {\r\n show: true,\r\n hideWhenDone: false,\r\n blink: true,\r\n}\r\n\r\nconst Index = () => (\r\n <>\r\n <Layout />\r\n <Parallax pages={1}>\r\n <Hero offset={0}>\r\n <BigTitle>\r\n <Typist stdTypingDelay={15} className=\"typist-class\" avgTypingDelay={25} cursor={simpleCursor}>\r\n Hello World! <br /> I'm Eugen,\r\n </Typist>\r\n </BigTitle>\r\n <Subtitle>\r\n <Typist\r\n stdTypingDelay={15}\r\n startDelay={1000}\r\n className=\"typist-class\"\r\n avgTypingDelay={25}\r\n cursor={blinkingCursor}\r\n >\r\n a web and software developer.\r\n </Typist>\r\n </Subtitle>\r\n <div className=\"container\">\r\n <Link to=\"/projectAbout\">\r\n <div className=\"card\">\r\n <h2>Projects</h2>\r\n <i className=\"fas fa-arrow-right\" />\r\n <p>My Contributions</p>\r\n <div className=\"pic\" />\r\n <ul>\r\n <li />\r\n <li />\r\n <li />\r\n <li />\r\n <li />\r\n <li />\r\n <li />\r\n <li />\r\n <li />\r\n <li />\r\n <li />\r\n <li />\r\n <li />\r\n <li />\r\n <li />\r\n <li />\r\n <li />\r\n <li />\r\n <li />\r\n <li />\r\n <li />\r\n <li />\r\n <li />\r\n </ul>\r\n <button type=\"button\" />\r\n </div>\r\n </Link>\r\n <Link to=\"/profile\">\r\n <div className=\"card card2\">\r\n <h2>Profile</h2>\r\n <i className=\"fas fa-arrow-right\" />\r\n <p>Get to know me</p>\r\n <div className=\"pic\" />\r\n <ul>\r\n <li />\r\n <li />\r\n <li />\r\n <li />\r\n <li />\r\n <li />\r\n <li />\r\n <li />\r\n <li />\r\n <li />\r\n <li />\r\n <li />\r\n <li />\r\n <li />\r\n <li />\r\n <li />\r\n <li />\r\n <li />\r\n <li />\r\n <li />\r\n <li />\r\n <li />\r\n <li />\r\n </ul>\r\n <button type=\"button\" />\r\n </div>\r\n </Link>\r\n </div>\r\n {/* <div className=\"link-menu\"> */}\r\n {/* <Link to=\"/projectAbout\">Projects</Link> */}\r\n {/* <Link to=\"/profile\">Profile</Link> */}\r\n {/* </div> */}\r\n </Hero>\r\n </Parallax>\r\n </>\r\n)\r\n\r\nexport default Index\r\n","module.exports = \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMTAwMCIgaGVpZ2h0PSIxMDAwIiB2aWV3Qm94PSIwIDAgMzAgMzUiPg0KICAgIDxwYXRoDQogICAgICAgICAgICBmaWxsPSJub25lIg0KICAgICAgICAgICAgc3Ryb2tlPSJ3aGl0ZSINCiAgICAgICAgICAgIGQ9Ik0xNC45MjEsMi4yNyAyOC42NjcsMjUuNSAxLjE3NSwyNS41IHoiDQogICAgLz4NCjwvc3ZnPg==\"","import styled from 'styled-components'\r\nimport tw from 'tailwind.macro'\r\nimport { ParallaxLayer } from 'react-spring/renderprops-addons.cjs'\r\n\r\nconst Content = styled(ParallaxLayer)`\r\n ${tw`p-6 md:p-12 lg:p-24 justify-center items-center flex z-50`};\r\n`\r\n\r\nexport default Content\r\n","import styled from 'styled-components'\r\nimport tw from 'tailwind.macro'\r\nimport { rotateAnimation } from '../styles/animations'\r\nimport triangle from '../images/triangle.svg'\r\n\r\nexport const Title = styled.h1`\r\n ${tw`text-4xl lg:text-4xl font-mono text-white mb-8 tracking-wide relative inline-block`};\r\n text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);\r\n &:before {\r\n content: '';\r\n width: 40px;\r\n height: 40px;\r\n background: url(${triangle});\r\n position: absolute;\r\n background-size: 40px;\r\n ${rotateAnimation('4s')};\r\n left: -60px;\r\n top: 5px;\r\n }\r\n`\r\n\r\nexport const BigTitle = styled.h1`\r\n ${tw`text-5xl lg:text-6xl font-mono text-white mb-6 tracking-wide`};\r\n text-shadow: 0 5px 35px rgba(255, 255, 255, 0.15);\r\n`\r\n\r\nexport const Subtitle = styled.h4`\r\n ${tw`text-2xl lg:text-4xl font-mono text-white mt-8 xxl:w-3/4`};\r\n text-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);\r\n`\r\n","import styled from 'styled-components'\r\nimport tw from 'tailwind.macro'\r\nimport { ParallaxLayer } from 'react-spring/renderprops-addons.cjs'\r\n\r\nexport const Divider = styled(ParallaxLayer)`\r\n ${tw`absolute w-full h-full`};\r\n background: ${props => props.bg};\r\n svg {\r\n fill: ${props => props.fill};\r\n }\r\n clip-path: ${props => props.clipPath};\r\n`\r\n\r\nexport const DividerMiddle = styled(Divider)`\r\n clip-path: polygon(0 15%, 100% 25%, 100% 85%, 0 75%);\r\n`\r\n","var $export = require('./_export');\nvar fails = require('./_fails');\nvar defined = require('./_defined');\nvar quot = /\"/g;\n// B.2.3.2.1 CreateHTML(string, tag, attribute, value)\nvar createHTML = function (string, tag, attribute, value) {\n var S = String(defined(string));\n var p1 = '<' + tag;\n if (attribute !== '') p1 += ' ' + attribute + '=\"' + String(value).replace(quot, '"') + '\"';\n return p1 + '>' + S + '</' + tag + '>';\n};\nmodule.exports = function (NAME, exec) {\n var O = {};\n O[NAME] = exec(createHTML);\n $export($export.P + $export.F * fails(function () {\n var test = ''[NAME]('\"');\n return test !== test.toLowerCase() || test.split('\"').length > 3;\n }), 'String', O);\n};\n","import tw from 'tailwind.macro'\r\nimport styled, { keyframes, css } from 'styled-components'\r\n\r\nconst rotate = keyframes`\r\n from {\r\n transform: rotate(0deg);\r\n }\r\n to {\r\n transform: rotate(360deg);\r\n }\r\n`\r\n\r\nconst wave = keyframes`\r\n 0% {\r\n d: path(\"M 0 100 Q 250 50 400 200 Q 550 350 800 300 L 800 0 L 0 0 L 0 100 Z\");\r\n }\r\n 50% {\r\n d: path(\"M 0 100 Q 200 150 400 200 Q 600 250 800 300 L 800 0 L 0 0 L 0 100 Z\");\r\n }\r\n 100% {\r\n d: path(\"M 0 100 Q 150 350 400 200 Q 650 50 800 300 L 800 0 L 0 0 L 0 100 Z\");\r\n }\r\n`\r\n\r\nconst upDown = keyframes`\r\n from {\r\n transform: translateY(0);\r\n }\r\n to {\r\n transform: translateY(30px);\r\n }\r\n`\r\n\r\nconst upDownWide = keyframes`\r\n from {\r\n transform: translateY(0);\r\n }\r\n to {\r\n transform: translateY(200px);\r\n }\r\n`\r\n\r\nconst upDownAnimation = css`\r\n ${upDown} 4s ease-in-out infinite alternate;\r\n`\r\n\r\nconst upDownWideAnimation = css`\r\n ${upDownWide} 18s ease-in-out infinite alternate;\r\n`\r\n\r\nexport const UpDown = styled.div`\r\n animation: ${upDownAnimation};\r\n ${tw`pin absolute`};\r\n`\r\n\r\nexport const UpDownWide = styled.div`\r\n animation: ${upDownWideAnimation};\r\n ${tw`pin absolute`};\r\n`\r\n\r\nexport const waveAnimation = length => css`\r\n animation: ${wave} ${length} linear infinite alternate;\r\n`\r\n\r\nexport const rotateAnimation = length => css`\r\n animation: ${rotate} ${length} linear infinite;\r\n`\r\n"],"sourceRoot":""}