-
Notifications
You must be signed in to change notification settings - Fork 0
/
1c6c460d2798f625d7d33655e99bbbc462724012-773ca862f057506b82a2.js.map
1 lines (1 loc) · 733 KB
/
1c6c460d2798f625d7d33655e99bbbc462724012-773ca862f057506b82a2.js.map
1
{"version":3,"sources":["webpack:///./node_modules/react-transition-group/esm/TransitionGroupContext.js","webpack:///./src/fonts/SFMono/SFMono-SemiboldItalic.woff","webpack:///./src/config.js","webpack:///./src/fonts/Calibre/Calibre-Medium.woff2","webpack:///./src/fonts/Calibre/Calibre-RegularItalic.woff","webpack:///./src/utils/index.js","webpack:///./node_modules/react-side-effect/lib/index.js","webpack:///./node_modules/react-typist/dist/Typist.js","webpack:///./node_modules/process/browser.js","webpack:///./node_modules/gatsby-image/index.js","webpack:///./src/fonts/SFMono/SFMono-RegularItalic.woff","webpack:///./node_modules/@emotion/memoize/dist/memoize.browser.esm.js","webpack:///./node_modules/@emotion/is-prop-valid/dist/is-prop-valid.browser.esm.js","webpack:///./node_modules/is-what/dist/index.esm.js","webpack:///./node_modules/merge-anything/dist/index.esm.js","webpack:///./src/fonts/Calibre/Calibre-RegularItalic.woff2","webpack:///./src/fonts/Calibre/Calibre-Semibold.woff","webpack:///./src/components/head.js","webpack:///./src/styles/mixins.js","webpack:///./src/styles/theme.js","webpack:///./src/styles/fonts.js","webpack:///./src/styles/TransitionStyles.js","webpack:///./src/styles/PrismStyles.js","webpack:///./node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js","webpack:///./src/styles/GlobalStyle.js","webpack:///./src/components/layout.js","webpack:///./node_modules/animejs/lib/anime.es.js","webpack:///./src/components/loader.js","webpack:///./src/hooks/useOnClickOutside.js","webpack:///./src/hooks/useScrollDirection.js","webpack:///./src/components/nav.js","webpack:///./src/components/menu.js","webpack:///./src/components/side.js","webpack:///./src/components/social.js","webpack:///./src/components/email.js","webpack:///./src/components/footer.js","webpack:///./src/components/sections/hero.js","webpack:///./node_modules/is-dom-node/dist/is-dom-node.es.js","webpack:///./node_modules/is-dom-node-list/dist/is-dom-node-list.es.js","webpack:///./node_modules/tealight/dist/tealight.es.js","webpack:///./node_modules/rematrix/dist/rematrix.es.js","webpack:///./node_modules/miniraf/dist/miniraf.es.js","webpack:///./node_modules/scrollreveal/dist/scrollreveal.es.js","webpack:///./src/utils/sr.js","webpack:///./src/components/sections/about.js","webpack:///./src/components/sections/jobs.js","webpack:///./src/components/sections/featured.js","webpack:///./src/components/sections/projects.js","webpack:///./src/components/sections/contact.js","webpack:///./src/fonts/Calibre/Calibre-Regular.woff2","webpack:///./node_modules/@emotion/unitless/dist/unitless.browser.esm.js","webpack:///./src/fonts/Calibre/Calibre-Semibold.woff2","webpack:///./src/fonts/SFMono/SFMono-Semibold.woff2","webpack:///./node_modules/smooth-scroll/dist/smooth-scroll.polyfills.min.js","webpack:///./node_modules/stylis-rule-sheet/index.js","webpack:///./node_modules/react-is/index.js","webpack:///./src/fonts/Calibre/Calibre-SemiboldItalic.woff","webpack:///./node_modules/react-transition-group/esm/utils/ChildMapping.js","webpack:///./node_modules/react-transition-group/esm/TransitionGroup.js","webpack:///./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","webpack:///./node_modules/memoize-one/dist/memoize-one.esm.js","webpack:///./node_modules/stylis/stylis.min.js","webpack:///./node_modules/react-fast-compare/index.js","webpack:///./src/fonts/SFMono/SFMono-Semibold.woff","webpack:///./src/components/icons/appstore.js","webpack:///./src/components/icons/codepen.js","webpack:///./src/components/icons/external.js","webpack:///./src/components/icons/folder.js","webpack:///./src/components/icons/fork.js","webpack:///./src/components/icons/icon.js","webpack:///./src/components/icons/github.js","webpack:///./src/components/icons/instagram.js","webpack:///./src/components/icons/linkedin.js","webpack:///./src/components/icons/loader.js","webpack:///./src/components/icons/location.js","webpack:///./src/components/icons/logo.js","webpack:///./src/components/icons/playstore.js","webpack:///./src/components/icons/star.js","webpack:///./src/components/icons/twitter.js","webpack:///./src/components/icons/zap.js","webpack:///./src/fonts/SFMono/SFMono-SemiboldItalic.woff2","webpack:///./src/fonts/Calibre/Calibre-SemiboldItalic.woff2","webpack:///./src/fonts/Calibre/Calibre-Medium.woff","webpack:///./src/fonts/Calibre/Calibre-MediumItalic.woff","webpack:///./src/fonts/Calibre/Calibre-Regular.woff","webpack:///./node_modules/dom-helpers/esm/removeClass.js","webpack:///./node_modules/react-transition-group/esm/config.js","webpack:///./node_modules/react-transition-group/esm/Transition.js","webpack:///./node_modules/react-transition-group/esm/CSSTransition.js","webpack:///./node_modules/dom-helpers/esm/addClass.js","webpack:///./node_modules/dom-helpers/esm/hasClass.js","webpack:///./node_modules/react-is/cjs/react-is.production.min.js","webpack:///./node_modules/react-helmet/es/Helmet.js","webpack:///./src/fonts/SFMono/SFMono-Regular.woff","webpack:///./src/fonts/SFMono/SFMono-Regular.woff2","webpack:///./src/fonts/SFMono/SFMono-RegularItalic.woff2","webpack:///./src/fonts/Calibre/Calibre-MediumItalic.woff2","webpack:///./node_modules/styled-components/dist/styled-components.browser.esm.js","webpack:///./node_modules/@babel/runtime/helpers/esm/extends.js","webpack:///(webpack)/buildin/global.js","webpack:///./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js"],"names":["createContext","module","exports","email","socialMedia","name","url","navLinks","colors","green","navy","darkNavy","srConfig","delay","viewFactor","origin","distance","duration","rotate","x","y","z","opacity","scale","easing","mobile","reset","useDelay","viewOffset","top","right","bottom","left","navDelay","loaderDelay","KEY_CODES","ARROW_LEFT","ARROW_LEFT_IE11","ARROW_RIGHT","ARROW_RIGHT_IE11","ESCAPE","ESCAPE_IE11","TAB","SPACE","SPACE_IE11","ENTER","ex","React","React__default","_defineProperty","obj","key","value","Object","defineProperty","enumerable","configurable","writable","canUseDOM","window","document","createElement","reducePropsToState","handleStateChangeOnClient","mapStateOnServer","Error","WrappedComponent","state","mountedInstances","emitChange","map","instance","props","SideEffect","_PureComponent","subClass","superClass","apply","this","arguments","prototype","create","constructor","__proto__","peek","rewind","recordedState","undefined","_proto","UNSAFE_componentWillMount","push","componentDidUpdate","componentWillUnmount","index","indexOf","splice","render","PureComponent","displayName","getDisplayName","modules","installedModules","__webpack_require__","moduleId","id","loaded","call","m","c","p","_extends","assign","target","i","length","source","hasOwnProperty","_createClass","defineProperties","descriptor","Constructor","protoProps","staticProps","_react","_react2","_interopRequireDefault","_propTypes2","_Cursor2","_Backspace2","_Delay2","utils","__esModule","newObj","default","_interopRequireWildcard","ACTION_CHARS","Typist","_Component","TypeError","_classCallCheck","_this","self","ReferenceError","_possibleConstructorReturn","getPrototypeOf","textLines","isDone","onTypingDone","mounted","setState","delayGenerator","line","lineIdx","character","charIdx","mean","avgTypingDelay","std","stdTypingDelay","defDelayGenerator","mn","st","gaussianRnd","typeLine","Promise","resolve","decoratedLine","onLineTyped","isBackspaceElement","introducedDelay","String","repeat","count","isDelayElement","ms","reject","concat","eachPromise","typeCharacter","then","catch","onCharacterTyped","slice","sleep","isBackspace","prevLineIdx","prevLine","idx","includes","substr","setTimeout","linesToType","children","extractTextFromElement","setPrototypeOf","_inherits","_props","startDelay","typeAllLines","bind","nextProps","nextState","_this2","lines","_props2","className","cursor","innerTree","cloneElementWithSpecifiedText","element","Component","propTypes","node","string","number","object","func","defaultProps","Backspace","Delay","emptyFunction","invariant","warning","ReactPropTypesSecret","checkPropTypes","isValidElement","throwOnDirectAccess","ITERATOR_SYMBOL","Symbol","iterator","ReactPropTypes","array","createPrimitiveTypeChecker","bool","symbol","any","createChainableTypeChecker","thatReturnsNull","arrayOf","typeChecker","propName","componentName","location","propFullName","PropTypeError","propValue","Array","isArray","getPropType","error","instanceOf","expectedClass","expectedClassName","getClassName","isNode","objectOf","propType","oneOf","expectedValues","is","JSON","stringify","oneOfType","arrayOfTypeCheckers","checker","getPostfixForTypeWarning","shape","shapeTypes","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","condition","format","a","b","d","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","err","sliceIterator","sum","Math","random","times","round","_len","extraArgs","_key","promiseReducer","prev","current","from","reduce","exclude","pop","unshift","Children","forEach","child","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_step","_iterator","el","return","cloneElement","_ref","cloneElementWithSpecifiedTextAtIndex","textIdx","recurse","_cloneElementWithSpec","_cloneElementWithSpec2","advIdx","clonedChildren","val","keys","res","tag","randomStamp","getUTCMilliseconds","arr2","_toConsumableArray","cachedSetTimeout","cachedClearTimeout","process","defaultSetTimout","defaultClearTimeout","runTimeout","fun","clearTimeout","currentQueue","queue","draining","queueIndex","cleanUpNextTick","drainQueue","timeout","len","run","marker","runClearTimeout","Item","noop","nextTick","title","browser","env","argv","version","versions","on","addListener","once","off","removeListener","removeAllListeners","emit","prependListener","prependOnceListener","listeners","binding","cwd","chdir","dir","umask","require","io","_assertThisInitialized2","_inheritsLoose2","_objectWithoutPropertiesLoose2","_extends2","_propTypes","convertProps","convertedProps","resolutions","sizes","critical","fixed","fluid","loading","groupByMedia","matchesMedia","media","isBrowser","matchMedia","matches","getImageCacheKey","_ref2","srcData","getCurrentSrcData","src","currentData","some","image","hasArtDirectionSupport","foundMedia","findIndex","noMedia","imageCache","inImageCache","cacheKey","hasNativeLazyLoadSupport","HTMLImageElement","hasIOSupport","IntersectionObserver","WeakMap","generateImageSources","imageVariants","_ref3","srcSet","srcSetWebp","Fragment","withMedia","without","variant","generateTracedSVGSources","_ref4","tracedSVG","generateBase64Sources","_ref5","base64","generateNoscriptSource","_ref6","isWebp","listenToIntersections","cb","observer","has","get","isIntersecting","intersectionRatio","unobserve","delete","rootMargin","observe","set","noscriptImg","alt","width","height","crossOrigin","draggable","join","Placeholder","forwardRef","ref","generateSources","spreadProps","ariaHidden","baseImage","Img","style","onLoad","onError","otherProps","position","objectFit","objectPosition","Image","_React$Component","seenBefore","isCritical","addNoScript","fadeIn","useIOSupport","isVisible","imgLoaded","imgCached","isHydrated","imageRef","createRef","placeholderRef","handleImageLoaded","handleRef","componentDidMount","onStartLoad","wasCached","img","complete","cleanUpListeners","imageInCache","currentSrc","_convertProps","_convertProps$style","_convertProps$imgStyl","imgStyle","_convertProps$placeho","placeholderStyle","placeholderClassName","backgroundColor","durationFadeIn","Tag","itemProp","shouldReveal","shouldFadeIn","imageStyle","transition","bgColor","delayHideStyle","transitionDelay","imagePlaceholderStyle","placeholderImageProps","overflow","maxWidth","maxHeight","paddingBottom","aspectRatio","dangerouslySetInnerHTML","__html","divStyle","display","fixedObject","srcWebp","fluidObject","requireFixedOrFluid","originalPropTypes","_PropTypes$checkPropT","_default","reactPropsRegex","fn","cache","prop","test","charCodeAt","getType","payload","toString","isPlainObject","__spreadArrays","s","il","r","k","j","jl","assignProp","carry","newVal","originalObject","propertyIsEnumerable","mergeRecursively","newComer","extensions","extend","newObject","getOwnPropertyNames","getOwnPropertySymbols","targetVal","newComers","base","result","Head","description","pathname","useLocation","useStaticQuery","site","siteMetadata","defaultTitle","defaultDescription","siteUrl","defaultImage","twitterUsername","seo","Helmet","titleTemplate","lang","content","property","button","css","theme","bp","mobileS","mobileM","mobileL","tabletS","tabletL","desktopXS","desktopS","desktopM","desktopL","mixins","flexCenter","flexBetween","link","inlineLink","smallButton","bigButton","boxShadow","fancyList","calibre","normal","400","CalibreRegularWoff","CalibreRegularWoff2","500","CalibreMediumWoff","CalibreMediumWoff2","600","CalibreSemiboldWoff","CalibreSemiboldWoff2","italic","CalibreRegularItalicWoff","CalibreRegularItalicWoff2","CalibreMediumItalicWoff","CalibreMediumItalicWoff2","CalibreSemiboldItalicWoff","CalibreSemiboldItalicWoff2","sfMono","SFMonoRegularWoff","SFMonoRegularWoff2","SFMonoSemiboldWoff","SFMonoSemiboldWoff2","SFMonoRegularItalicWoff","SFMonoRegularItalicWoff2","SFMonoSemiboldItalicWoff","SFMonoSemiboldItalicWoff2","createFontFaces","family","styles","weight","formats","woff","woff2","calibreNormal","calibreItalic","sfMonoNormal","sfMonoItalic","Fonts","TransitionStyles","prismColors","bg","lineHighlight","blue","purple","yellow","orange","red","grey","comment","PrismStyles","variable","strings","raw","GlobalStyle","createGlobalStyle","SkipToContentLink","styled","StyledContent","div","Layout","isHome","useState","isLoading","setIsLoading","useEffect","hash","substring","getElementById","scrollIntoView","focus","allLinks","querySelectorAll","host","setAttribute","href","finishLoading","defaultInstanceSettings","update","begin","loopBegin","changeBegin","change","changeComplete","loopComplete","loop","direction","autoplay","timelineOffset","defaultTweenSettings","endDelay","validTransforms","CSS","springs","minMax","min","max","stringContains","str","text","applyArguments","pth","svg","SVGElement","inp","HTMLInputElement","dom","nodeType","fnc","und","nil","hex","rgb","hsl","col","parseEasingParameters","match","exec","split","parseFloat","spring","params","mass","stiffness","damping","velocity","w0","sqrt","zeta","wd","solver","t","progress","exp","cos","sin","cached","elapsed","rest","steps","ceil","eases","functionEasings","bezier","A","aA1","aA2","B","C","calcBezier","aT","getSlope","mX1","mY1","mX2","mY2","sampleValues","Float32Array","getTForX","aX","intervalStart","currentSample","kSplineTableSize","guessForT","initialSlope","aGuessT","currentSlope","newtonRaphsonIterate","aA","aB","currentX","currentT","abs","binarySubdivide","penner","linear","Sine","PI","Circ","Back","Bounce","pow2","pow","Elastic","amplitude","period","asin","easeIn","parseEasings","ease","selectString","filterArray","callback","thisArg","flattenArray","toArray","o","NodeList","HTMLCollection","arrayContains","cloneObject","clone","replaceObjectProps","o1","o2","mergeObjects","colorToRgb","rgbValue","hexValue","g","parseInt","hexToRgba","hslValue","h","l","hue2rgb","q","hslToRgba","getUnit","getFunctionValue","animatable","total","getAttribute","convertPxToUnit","unit","tempEl","tagName","parentEl","parentNode","body","appendChild","factor","offsetWidth","removeChild","convertedUnit","getCSSValue","uppercasePropName","toLowerCase","getComputedStyle","getPropertyValue","getAnimationType","getElementTransforms","transform","reg","transforms","Map","getTransformValue","defaultVal","getTransformUnit","list","getOriginalTargetValue","getRelativeValue","to","operator","u","validateValue","originalUnit","unitLess","getDistance","p1","p2","getPolylineLength","previousPos","points","totalLength","numberOfItems","currentPos","getItem","getTotalLength","getCircleLength","getRectLength","getLineLength","getPolygonLength","getParentSvg","pathEl","svgData","parentSvgEl","getParentSvgEl","rect","getBoundingClientRect","viewBoxAttr","viewBox","w","vW","vH","getPathProgress","path","isPathTargetInsideSVG","point","offset","getPointAtLength","p0","scaleX","scaleY","atan2","decomposeValue","rgx","original","numbers","Number","parseTargets","targets","item","pos","getAnimatables","parsed","normalizePropertyTweens","tweenSettings","settings","propArray","v","getProperties","properties","keyframes","propertyNames","newKey","flattenKeyframes","tweens","normalizeTweens","previousTween","tween","normalizeTweenValues","tweenValue","toUnit","originalValue","previousValue","fromUnit","start","end","isPath","isColor","setProgressValue","attribute","manual","last","setTargetsValue","valueUnit","animType","getAnimations","animatables","lastTween","createAnimation","getInstanceTimings","animations","animLength","getTlOffset","anim","timings","instanceID","activeInstances","engine","raf","activeInstancesLength","activeInstance","paused","tick","requestAnimationFrame","addEventListener","anime","suspendWhenDocumentHidden","isDocumentHidden","cancelAnimationFrame","_onDocumentVisibility","hidden","startTime","lastTime","now","childrenLength","makePromise","promise","_resolve","finished","instanceSettings","createNewInstance","toggleInstanceDirection","reversed","adjustTime","time","resetTime","currentTime","speed","seekChild","seek","setAnimationsProgress","insTime","animationsLength","tweenLength","eased","isNaN","toNumbersLength","n","toNumber","fromNumber","stringsLength","n$1","currentValue","setCallback","passThrough","setInstanceProgress","engineTime","insDuration","insDelay","insEndDelay","reversePlayback","i$1","syncInstanceChildren","began","loopBegan","changeBegan","changeCompleted","remaining","completed","pause","play","reverse","restart","remove","removeTargetsFromInstance","removeTargetsFromAnimations","targetsArray","childAnimations","running","convertPx","percent","setDashoffset","pathLength","stagger","grid","axis","fromIndex","fromFirst","fromCenter","fromLast","isRange","val1","val2","maxValue","fromX","fromY","floor","distanceX","distanceY","timeline","tl","add","instanceParams","tlIndex","ins","insParams","tlDuration","StyledLoader","isMounted","Loader","setIsMounted","strokeDashoffset","zIndex","bodyAttributes","class","useOnClickOutside","handler","listener","event","contains","removeEventListener","useScrollDirection","initialDirection","thresholdPixels","scrollDir","setScrollDir","threshold","lastScrollY","pageYOffset","ticking","updateScrollDir","scrollY","onScroll","StyledHeader","header","scrollDirection","scrolledToTop","StyledNav","nav","StyledLinks","Nav","setScrolledToTop","handleScroll","fadeClass","fadeDownClass","TransitionGroup","component","CSSTransition","classNames","tabIndex","aria-label","StyledMenu","StyledHamburgerButton","menuOpen","StyledSidebar","aside","Menu","menuFocusables","firstFocusableEl","lastFocusableEl","setMenuOpen","buttonRef","useRef","navRef","onKeyDown","preventDefault","shiftKey","activeElement","handleBackwardTab","handleForwardTab","onResize","currentTarget","innerWidth","wrapperRef","onClick","aria-hidden","StyledSideElement","orientation","Side","StyledSocialList","ul","Social","StyledLinkWrapper","Email","StyledFooter","footer","StyledSocialLinks","StyledCredit","Footer","stars","forks","githubInfo","tabindex","toLocaleString","StyledHeroSection","section","Hero","items","align","Node","nodeName","prototypeToString","context","filter","query","matrix","identity","RangeError","multiply","fm","fx","product","row","parse","rotateZ","angle","theta","scalar","scalarY","clock","polyfill","webkitRequestAnimationFrame","mozRequestAnimationFrame","defaults","interval","cleanup","container","documentElement","desktop","afterReset","afterReveal","beforeReset","beforeReveal","mount","success","classList","failure","clean","destroy","reveal","sync","isObject","each","collection","logger","details","debug","console","report","detail","log","rinse","this$1","elementIds","active","stale","sequenceIds","containerIds","store","elements","staleId","containerId","sequence","containers","delegate","sequences","dirty","callbackTimer","inline","generated","removeAttribute","history","getPrefixedCssProp","getPrefixedCssProperty","clearCache","computed","config","inlineMatch","trim","computedOpacity","configOpacity","transformations","fontSize","translateY","translateX","rotateY","initial","final","fragments","delayed","instant","composed","composition","fragment","force","pristine","seen","visible","revealed","shouldReset","triggerReveal","triggerReset","registerCallbacks","isDelayed","beforeCallback","afterCallback","uid","nextUniqueId","seq","SequenceModel","models","nextId","members","nextElement","cue","blocked","head","shift","foot","Sequence","initialize","initTimeout","isMobile","agent","navigator","userAgent","deepAssign","sources","data","options","syncing","sequence$$1","containerBuffer","nodes","elementBuffer","elementNode","existingId","containerNode","collections","getContainerId","record","mathSign","sign","getGeometry","isContainer","clientHeight","offsetHeight","clientWidth","offsetTop","offsetLeft","offsetParent","bounds","getScrolled","pageXOffset","scrollTop","scrollLeft","isElementVisible","elementBounds","geometry","containerBounds","scroll","boundDelegate","boundDestroy","boundReveal","boundClean","boundSync","ScrollReveal","buffer","isSupported","isTransformSupported","isTransitionSupported","sr","StyledAboutSection","StyledText","StyledPic","About","revealContainer","skills","skill","avatar","childImageSharp","StyledJobsSection","StyledTabList","StyledTabButton","isActive","StyledHighlight","activeTabId","StyledTabContent","Jobs","jobsData","jobs","edges","setActiveTabId","tabFocus","setTabFocus","tabs","role","ARROW_UP","ARROW_DOWN","company","frontmatter","aria-selected","aria-controls","html","range","in","aria-labelledby","StyledProject","Featured","featuredProjects","featured","revealTitle","revealProjects","external","tech","github","cover","StyledProjectsSection","Projects","showMore","revealArchiveLink","projects","firstSix","projectsToShow","exit","StyledContactSection","Contact","animationIterationCount","borderImageOutset","borderImageSlice","borderImageWidth","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","columns","flex","flexGrow","flexPositive","flexShrink","flexNegative","flexOrder","gridRow","gridRowEnd","gridRowSpan","gridRowStart","gridColumn","gridColumnEnd","gridColumnSpan","gridColumnStart","msGridRow","msGridRowSpan","msGridColumn","msGridColumnSpan","fontWeight","lineHeight","order","orphans","tabSize","widows","zoom","WebkitLineClamp","fillOpacity","floodOpacity","stopOpacity","strokeDasharray","strokeMiterlimit","strokeOpacity","strokeWidth","Element","closest","ownerDocument","parentElement","bubbles","cancelable","createEvent","initCustomEvent","CustomEvent","Event","getTime","global","M","ignore","topOnEmptyHash","speedAsDuration","durationMax","durationMin","clip","customEasing","updateURL","popstate","emitEvents","I","charAt","InvalidCharacterError","F","scrollHeight","outline","scrollTo","H","anchor","toggle","dispatchEvent","O","cancelScroll","querySelector","L","innerHeight","S","pushState","smoothScroll","E","defaultPrevented","metaKey","ctrlKey","hostname","decodeURIComponent","replaceState","animateScroll","insertRule","toSheet","block","selectors","parents","column","ns","depth","at","delimiter","factory","getChildMapping","mapFn","mapper","getProp","getNextChildMapping","prevChildMapping","onExited","nextChildMapping","getValueForKey","nextKeysPending","pendingKeys","prevKey","childMapping","nextKey","pendingNextKey","mergeChildMappings","hasPrev","hasNext","prevChild","isLeaving","enter","handleExited","_assertThisInitialized","contextValue","isMounting","firstRender","getDerivedStateFromProps","appear","currentChildMapping","_this$props","childFactory","TransitionGroupContext","Provider","areInputsEqual","newInputs","lastInputs","resultFn","isEqual","lastThis","lastResult","lastArgs","calledOnce","newArgs","$","N","W","D","J","Q","T","U","V","Z","be","pe","ke","ge","Ae","Ce","we","ve","me","xe","$e","ye","Oe","qe","Be","De","Ee","Ge","He","R","je","ze","Je","Re","Te","Ue","Ve","Xe","Ye","Qe","Pe","Ie","Me","Le","Ke","use","hasElementType","hasMap","hasSet","Set","hasArrayBuffer","ArrayBuffer","isView","equal","it","size","flags","valueOf","$$typeof","warn","IconAppStore","xmlns","xmlSpace","IconCodepen","IconExternal","IconFolder","IconFork","fillRule","Icon","IconGitHub","IconInstagram","cx","cy","IconLinkedin","IconLoader","stroke","text-anchor","font-family","font-size","stroke-width","fill","strokeLinecap","strokeLinejoin","IconLocation","IconLogo","IconPlayStore","IconStar","IconTwitter","IconZap","enableBackground","replaceClassName","origClass","classToRemove","Transition","initialStatus","appearStatus","unmountOnExit","mountOnEnter","status","nextCallback","prevState","updateStatus","prevProps","nextStatus","cancelNextCallback","getTimeouts","mounting","performEnter","performExit","appearing","nodeRef","findDOMNode","maybeNode","maybeAppearing","timeouts","enterTimeout","safeSetState","onEntered","onEnter","onEntering","onTransitionEnd","onExit","onExiting","cancel","setNextCallback","_this4","doesNotHaveTimeoutOrListener","addEndListener","maybeNextCallback","childProps","only","contextType","UNMOUNTED","EXITED","ENTERING","ENTERED","EXITING","classes","baseVal","appliedClasses","_this$resolveArgument","resolveArguments","removeClasses","addClass","_this$resolveArgument2","_this$resolveArgument3","getClassNames","isStringClassNames","baseClassName","activeClassName","doneClassName","phase","hasClass","_addClass","_this$appliedClasses$","for","AsyncMode","ConcurrentMode","ContextConsumer","ContextProvider","ForwardRef","Lazy","Memo","Portal","Profiler","StrictMode","Suspense","isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","isValidElementType","typeOf","_class","_temp","ATTRIBUTE_NAMES","TAG_NAMES","BASE","BODY","HEAD","HTML","LINK","META","NOSCRIPT","SCRIPT","STYLE","TITLE","TAG_PROPERTIES","REACT_TAG_MAP","accesskey","charset","contenteditable","contextmenu","itemprop","HELMET_PROPS","HTML_TAG_MAP","SELF_CLOSING_TAGS","_typeof","classCallCheck","createClass","objectWithoutProperties","possibleConstructorReturn","encodeSpecialCharacters","encode","getTitleFromPropsList","propsList","innermostTitle","getInnermostProperty","innermostTemplate","innermostDefaultTitle","getOnChangeClientState","getAttributesFromPropsList","tagType","tagAttrs","getBaseTagFromPropsList","primaryAttributes","innermostBaseTag","lowerCaseAttributeKey","getTagsFromPropsList","approvedSeenTags","approvedTags","instanceTags","instanceSeenTags","primaryAttributeKey","attributeKey","tagUnion","rafPolyfill","cafPolyfill","webkitCancelAnimationFrame","mozCancelAnimationFrame","msg","_helmetCallback","commitTagChanges","newState","baseTag","htmlAttributes","linkTags","metaTags","noscriptTags","onChangeClientState","scriptTags","styleTags","titleAttributes","updateAttributes","updateTitle","tagUpdates","updateTags","addedTags","removedTags","_tagUpdates$tagType","newTags","oldTags","possibleArray","attributes","elementTag","getElementsByTagName","helmetAttributeString","helmetAttributes","attributesToRemove","attributeKeys","indexToSave","tags","headElement","tagNodes","indexToDelete","newElement","innerHTML","styleSheet","cssText","createTextNode","existingTag","isEqualNode","generateElementAttributesAsString","attr","convertElementAttributestoReactProps","initProps","getMethodsForTag","toComponent","_initProps","attributeString","flattenedTitle","generateTitleAsString","_mappedTag","mappedTag","mappedAttribute","generateTagsAsReactComponent","attributeHtml","tagContent","isSelfClosing","generateTagsAsString","_ref$title","meta","noscript","script","HelmetSideEffects","defer","HelmetExport","HelmetWrapper","inherits","shouldComponentUpdate","mapNestedChildrenToProps","nestedChildren","flattenArrayTypeChildren","_babelHelpers$extends","arrayTypeChildren","newChildProps","mapObjectTypeChildren","_babelHelpers$extends2","_babelHelpers$extends3","newProps","mapArrayTypeChildrenToProps","newFlattenedProps","arrayChildName","_babelHelpers$extends4","warnOnInvalidChildren","mapChildrenToProps","_child$props","initAttributes","convertReactPropstoHtmlAttributes","mappedState","renderStatic","interleave","interpolations","EMPTY_ARRAY","freeze","EMPTY_OBJECT","isFunction","getComponentName","isStyledComponent","styledComponentId","SC_ATTR","REACT_APP_SC_ATTR","IS_BROWSER","DISABLE_SPEEDY","SC_DISABLE_SPEEDY","REACT_APP_SC_DISABLE_SPEEDY","STATIC_EXECUTION_CONTEXT","StyledComponentsError","_Error","code","SC_COMPONENT_ID","extractComps","maybeCSS","existingComponents","componentId","matchIndex","nextComp","cssFromDOM","COMMENT_REGEX","stylisSplitter","cascade","keyframe","prefix","compress","semicolon","stylis","parsingRules","returnRulesPlugin","parsedRules","parseRulesPlugin","rule","_componentId","_selector","_selectorRegexp","selfReferenceReplacer","_","lastIndexOf","splitByRules","stringifyRules","rules","selector","flatCSS","cssStr","getNonce","addNameForId","names","resetIdNames","hasNameForId","stringifyNames","sheetForTag","sheet","styleSheets","ownerNode","safeInsertRule","cssRule","maxIndex","cssRules","makeTextMarker","addUpUntilIndex","totalUpToIndex","wrapAsHtmlTag","additionalAttrs","nonce","SC_VERSION_ATTR","Boolean","wrapAsElement","getIdsFromMarkersFactory","markers","makeTextNode","targetDocument","makeServerTag","namesArg","markersArg","insertMarker","cssForId","namesClone","cloneNames","markersClone","getIds","insertRules","removeRules","sealed","styleTag","toElement","toHTML","makeTag","tagEl","forceServer","insertBefore","getImportRuleTag","nextSibling","makeStyleTag","extractImport","usedImportRuleTag","importRules","cssRulesSize","mayHaveImport","separator","appendData","newMarker","replaceChild","makeBrowserTag","insertIndex","injectedRules","isConnected","removalIndex","lowerBound","deleteRule","deleteRules","makeSpeedyTag","SPLIT_REGEX","MAX_SIZE","sheetRunningId","master","StyleSheet","importRuleTag","firstTag","tagMap","deferred","rehydratedNames","ignoreRehydratedNames","capacity","clones","rehydrate","els","extracted","isStreamed","nodesSize","elNames","elNamesSize","textContent","extractedSize","_extracted$i","_j","ids","newTag","sealAllTags","lastEl","getTagForId","hasId","deferredInject","inject","toReactElements","Keyframes","getName","uppercasePattern","msPattern","hyphenateStyleName","isFalsish","chunk","objToCssArray","flatten","executionContext","ruleSet","isReactComponent","murmurhash","getAlphabeticChar","fromCharCode","generateAlphabeticName","isStaticRules","attrs","hasFunctionObjectKey","_TYPE_STATICS","hasher","ComponentStyle","isStatic","generateAndInjectStyles","lastClassName","generateName","determineTheme","fallbackTheme","isDefaultTheme","escapeRegex","dashesAtEnds","escape","isTag","REACT_STATICS","childContextTypes","contextTypes","KNOWN_STATICS","caller","callee","arity","TYPE_STATICS","defineProperty$1","_Object$getOwnPropert","getOwnPropertyDescriptor","objectPrototype","arrayPrototype","hoistNonReactStatics","targetComponent","sourceComponent","blacklist","inheritedComponent","targetStatics","sourceStatics","ThemeContext","ThemeConsumer","Consumer","ThemeProvider","getContext","renderInner","outerTheme","getTheme","StyleSheetContext","ServerStyleSheet","masterSheet","seal","collectStyles","StyleSheetManager","getStyleTags","getStyleElement","interleaveWithNodeStream","readableStream","StyleSheetConsumer","identifiers","StyledComponent","renderOuter","forwardedComponent","componentStyle","_props$forwardedCompo","foldedComponentIds","generatedClassName","elementToBeCreated","as","isTargetTag","propsForElement","computedProps","buildExecutionContext","attrDef","resolvedAttrDef","attrDefWasFn","_props$forwardedCompo2","warnTooManyClasses","createStyledComponent","isTargetStyledComp","isClass","_options$displayName","generateDisplayName","_options$componentId","_ComponentStyle","_displayName","parentComponentId","nr","generateId","_options$ParentCompon","ParentComponent","_options$attrs","finalAttrs","WrappedStyledComponent","forwardedRef","withComponent","previousComponentId","optionsToCopy","newComponentId","_foldedDefaultProps","constructWithOptions","componentConstructor","templateFunction","withConfig","domElement","createStyles","removeStyles","renderStyles","GlobalStyleComponent","_this$constructor","globalStyle","scCGSHMRCache","Function","_objectWithoutPropertiesLoose","excluded","sourceKeys"],"mappings":";6FAAA,yBACe,QAAMA,cAAc,O,uBCDnCC,EAAOC,QAAU,IAA0B,sE,qBCA3CD,EAAOC,QAAU,CACfC,MAAO,2BAEPC,YAAa,CACX,CACEC,KAAM,SACNC,IAAK,iCAEP,CACED,KAAM,WACNC,IAAK,6CAEP,CACED,KAAM,WACNC,IAAK,0CAEP,CACED,KAAM,YACNC,IAAK,6CAKTC,SAAU,CACR,CACEF,KAAM,QACNC,IAAK,WAEP,CACED,KAAM,aACNC,IAAK,UAEP,CACED,KAAM,OACNC,IAAK,cAEP,CACED,KAAM,UACNC,IAAK,cAITE,OAAQ,CACNC,MAAO,UACPC,KAAM,UACNC,SAAU,WAGZC,SAAU,SAACC,EAAaC,GAAd,gBAACD,MAAQ,UAAT,IAAcC,MAAa,KAAU,CAC7CC,OAAQ,SACRC,SAAU,OACVC,SAAU,IACVJ,QACAK,OAAQ,CAAEC,EAAG,EAAGC,EAAG,EAAGC,EAAG,GACzBC,QAAS,EACTC,MAAO,EACPC,OAAQ,uCACRC,QAAQ,EACRC,OAAO,EACPC,SAAU,SACVb,aACAc,WAAY,CAAEC,IAAK,EAAGC,MAAO,EAAGC,OAAQ,EAAGC,KAAM,O,uBC7DrD/B,EAAOC,QAAU,IAA0B,gE,uBCA3CD,EAAOC,QAAU,IAA0B,sE,oCCA3C,sG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mC,mBCAA,IAAIuwB,EAGJA,EAAI,WACH,OAAOxwB,KADJ,GAIJ,IAECwwB,EAAIA,GAAK,IAAIkyC,SAAS,cAAb,GACR,MAAOz0D,GAEc,iBAAXpP,SAAqB2xB,EAAI3xB,QAOrC1D,EAAOC,QAAUo1B,G,kCCnBF,SAASmyC,EAA8BtgE,EAAQugE,GAC5D,GAAc,MAAVvgE,EAAgB,MAAO,GAC3B,IAEIhE,EAAK8D,EAFLD,EAAS,GACT2gE,EAAatkE,OAAO4T,KAAK9P,GAG7B,IAAKF,EAAI,EAAGA,EAAI0gE,EAAWzgE,OAAQD,IACjC9D,EAAMwkE,EAAW1gE,GACbygE,EAAS5hE,QAAQ3C,IAAQ,IAC7B6D,EAAO7D,GAAOgE,EAAOhE,IAGvB,OAAO6D,EAZT","file":"1c6c460d2798f625d7d33655e99bbbc462724012-773ca862f057506b82a2.js","sourcesContent":["import React from 'react';\nexport default React.createContext(null);","module.exports = __webpack_public_path__ + \"static/SFMono-SemiboldItalic-41da0311eaa7077546785a822a6ba21a.woff\";","module.exports = {\r\n email: '[email protected]',\r\n\r\n socialMedia: [\r\n {\r\n name: 'GitHub',\r\n url: 'https://github.com/pradyot-09',\r\n },\r\n {\r\n name: 'Linkedin',\r\n url: 'https://www.linkedin.com/in/pradyotpatil/',\r\n },\r\n {\r\n name: 'Facebook',\r\n url: 'https://www.facebook.com/pradyotpatil/',\r\n },\r\n {\r\n name: 'Instagram',\r\n url: 'https://www.instagram.com/itzpradyot_09/',\r\n },\r\n \r\n ],\r\n\r\n navLinks: [\r\n {\r\n name: 'About',\r\n url: '/#about',\r\n },\r\n {\r\n name: 'Experience',\r\n url: '/#jobs',\r\n },\r\n {\r\n name: 'Work',\r\n url: '/#projects',\r\n },\r\n {\r\n name: 'Contact',\r\n url: '/#contact',\r\n },\r\n ],\r\n\r\n colors: {\r\n green: '#64ffda',\r\n navy: '#0a192f',\r\n darkNavy: '#020c1b',\r\n },\r\n\r\n srConfig: (delay = 200, viewFactor = 0.25) => ({\r\n origin: 'bottom',\r\n distance: '20px',\r\n duration: 500,\r\n delay,\r\n rotate: { x: 0, y: 0, z: 0 },\r\n opacity: 0,\r\n scale: 1,\r\n easing: 'cubic-bezier(0.645, 0.045, 0.355, 1)',\r\n mobile: true,\r\n reset: false,\r\n useDelay: 'always',\r\n viewFactor,\r\n viewOffset: { top: 0, right: 0, bottom: 0, left: 0 },\r\n }),\r\n};\r\n","module.exports = __webpack_public_path__ + \"static/Calibre-Medium-46b36969c7bb1d7ed4c8253e8f274788.woff2\";","module.exports = __webpack_public_path__ + \"static/Calibre-RegularItalic-3a445970c7bcd6b102ac6bd60178b0bc.woff\";","export const hex2rgba = (hex, alpha = 1) => {\r\n const [r, g, b] = hex.match(/\\w\\w/g).map(x => parseInt(x, 16));\r\n return `rgba(${r},${g},${b},${alpha})`;\r\n};\r\n\r\nexport const navDelay = 1000;\r\nexport const loaderDelay = 2000;\r\n\r\nexport const KEY_CODES = {\r\n ARROW_LEFT: 'ArrowLeft',\r\n ARROW_LEFT_IE11: 'Left',\r\n ARROW_RIGHT: 'ArrowRight',\r\n ARROW_RIGHT_IE11: 'Right',\r\n ESCAPE: 'Escape',\r\n ESCAPE_IE11: 'Esc',\r\n TAB: 'Tab',\r\n SPACE: ' ',\r\n SPACE_IE11: 'Spacebar',\r\n ENTER: 'Enter',\r\n};\r\n","'use strict';\n\nfunction _interopDefault(ex) {\n return ex && typeof ex === 'object' && 'default' in ex ? ex['default'] : ex;\n}\n\nvar React = require('react');\n\nvar React__default = _interopDefault(React);\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nfunction _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n subClass.__proto__ = superClass;\n}\n\nvar canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\n\nfunction withSideEffect(reducePropsToState, handleStateChangeOnClient, mapStateOnServer) {\n if (typeof reducePropsToState !== 'function') {\n throw new Error('Expected reducePropsToState to be a function.');\n }\n\n if (typeof handleStateChangeOnClient !== 'function') {\n throw new Error('Expected handleStateChangeOnClient to be a function.');\n }\n\n if (typeof mapStateOnServer !== 'undefined' && typeof mapStateOnServer !== 'function') {\n throw new Error('Expected mapStateOnServer to either be undefined or a function.');\n }\n\n function getDisplayName(WrappedComponent) {\n return WrappedComponent.displayName || WrappedComponent.name || 'Component';\n }\n\n return function wrap(WrappedComponent) {\n if (typeof WrappedComponent !== 'function') {\n throw new Error('Expected WrappedComponent to be a React component.');\n }\n\n var mountedInstances = [];\n var state;\n\n function emitChange() {\n state = reducePropsToState(mountedInstances.map(function (instance) {\n return instance.props;\n }));\n\n if (SideEffect.canUseDOM) {\n handleStateChangeOnClient(state);\n } else if (mapStateOnServer) {\n state = mapStateOnServer(state);\n }\n }\n\n var SideEffect = /*#__PURE__*/function (_PureComponent) {\n _inheritsLoose(SideEffect, _PureComponent);\n\n function SideEffect() {\n return _PureComponent.apply(this, arguments) || this;\n } // Try to use displayName of wrapped component\n // Expose canUseDOM so tests can monkeypatch it\n\n\n SideEffect.peek = function peek() {\n return state;\n };\n\n SideEffect.rewind = function rewind() {\n if (SideEffect.canUseDOM) {\n throw new Error('You may only call rewind() on the server. Call peek() to read the current state.');\n }\n\n var recordedState = state;\n state = undefined;\n mountedInstances = [];\n return recordedState;\n };\n\n var _proto = SideEffect.prototype;\n\n _proto.UNSAFE_componentWillMount = function UNSAFE_componentWillMount() {\n mountedInstances.push(this);\n emitChange();\n };\n\n _proto.componentDidUpdate = function componentDidUpdate() {\n emitChange();\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n var index = mountedInstances.indexOf(this);\n mountedInstances.splice(index, 1);\n emitChange();\n };\n\n _proto.render = function render() {\n return React__default.createElement(WrappedComponent, this.props);\n };\n\n return SideEffect;\n }(React.PureComponent);\n\n _defineProperty(SideEffect, \"displayName\", \"SideEffect(\" + getDisplayName(WrappedComponent) + \")\");\n\n _defineProperty(SideEffect, \"canUseDOM\", canUseDOM);\n\n return SideEffect;\n };\n}\n\nmodule.exports = withSideEffect;","module.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]);","// shim for using process in browser\nvar process = module.exports = {}; // cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\n\nfunction defaultClearTimeout() {\n throw new Error('clearTimeout has not been defined');\n}\n\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n})();\n\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n } // if setTimeout wasn't available but was latter defined\n\n\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch (e) {\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch (e) {\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n}\n\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n } // if clearTimeout wasn't available but was latter defined\n\n\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e) {\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e) {\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n}\n\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n\n draining = false;\n\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n var len = queue.length;\n\n while (len) {\n currentQueue = queue;\n queue = [];\n\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n\n queueIndex = -1;\n len = queue.length;\n }\n\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n\n queue.push(new Item(fun, args));\n\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n}; // v8 likes predictible objects\n\n\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\n\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\n\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\n\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) {\n return [];\n};\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () {\n return '/';\n};\n\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\n\nprocess.umask = function () {\n return 0;\n};","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nexports.__esModule = true;\nexports.default = void 0;\n\nvar _assertThisInitialized2 = _interopRequireDefault(require(\"@babel/runtime/helpers/assertThisInitialized\"));\n\nvar _inheritsLoose2 = _interopRequireDefault(require(\"@babel/runtime/helpers/inheritsLoose\"));\n\nvar _objectWithoutPropertiesLoose2 = _interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutPropertiesLoose\"));\n\nvar _extends2 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _propTypes = _interopRequireDefault(require(\"prop-types\"));\n\nvar logDeprecationNotice = function logDeprecationNotice(prop, replacement) {\n if (process.env.NODE_ENV === \"production\") {\n return;\n }\n\n console.log(\"\\n The \\\"\" + prop + \"\\\" prop is now deprecated and will be removed in the next major version\\n of \\\"gatsby-image\\\".\\n \");\n\n if (replacement) {\n console.log(\"Please use \" + replacement + \" instead of \\\"\" + prop + \"\\\".\");\n }\n}; // Handle legacy props during their deprecation phase\n\n\nvar convertProps = function convertProps(props) {\n var convertedProps = (0, _extends2.default)({}, props);\n var resolutions = convertedProps.resolutions,\n sizes = convertedProps.sizes,\n critical = convertedProps.critical;\n\n if (resolutions) {\n convertedProps.fixed = resolutions;\n logDeprecationNotice(\"resolutions\", \"the gatsby-image v2 prop \\\"fixed\\\"\");\n delete convertedProps.resolutions;\n }\n\n if (sizes) {\n convertedProps.fluid = sizes;\n logDeprecationNotice(\"sizes\", \"the gatsby-image v2 prop \\\"fluid\\\"\");\n delete convertedProps.sizes;\n }\n\n if (critical) {\n logDeprecationNotice(\"critical\", \"the native \\\"loading\\\" attribute\");\n convertedProps.loading = \"eager\";\n } // convert fluid & fixed to arrays so we only have to work with arrays\n\n\n if (convertedProps.fluid) {\n convertedProps.fluid = groupByMedia([].concat(convertedProps.fluid));\n }\n\n if (convertedProps.fixed) {\n convertedProps.fixed = groupByMedia([].concat(convertedProps.fixed));\n }\n\n return convertedProps;\n};\n/**\n * Checks if fluid or fixed are art-direction arrays.\n *\n * @param currentData {{media?: string}[]} The props to check for images.\n * @return {boolean}\n */\n\n\nvar hasArtDirectionSupport = function hasArtDirectionSupport(currentData) {\n return !!currentData && Array.isArray(currentData) && currentData.some(function (image) {\n return typeof image.media !== \"undefined\";\n });\n};\n/**\n * Tries to detect if a media query matches the current viewport.\n * @property media {{media?: string}} A media query string.\n * @return {boolean}\n */\n\n\nvar matchesMedia = function matchesMedia(_ref) {\n var media = _ref.media;\n return media ? isBrowser && !!window.matchMedia(media).matches : false;\n};\n/**\n * Find the source of an image to use as a key in the image cache.\n * Use `the first image in either `fixed` or `fluid`\n * @param {{fluid: {src: string, media?: string}[], fixed: {src: string, media?: string}[]}} args\n * @return {string?} Returns image src or undefined it not given.\n */\n\n\nvar getImageCacheKey = function getImageCacheKey(_ref2) {\n var fluid = _ref2.fluid,\n fixed = _ref2.fixed;\n var srcData = getCurrentSrcData(fluid || fixed || []);\n return srcData && srcData.src;\n};\n/**\n * Returns the current src - Preferably with art-direction support.\n * @param currentData {{media?: string}[], maxWidth?: Number, maxHeight?: Number} The fluid or fixed image array.\n * @return {{src: string, media?: string, maxWidth?: Number, maxHeight?: Number}}\n */\n\n\nvar getCurrentSrcData = function getCurrentSrcData(currentData) {\n if (isBrowser && hasArtDirectionSupport(currentData)) {\n // Do we have an image for the current Viewport?\n var foundMedia = currentData.findIndex(matchesMedia);\n\n if (foundMedia !== -1) {\n return currentData[foundMedia];\n } // No media matches, select first element without a media condition\n\n\n var noMedia = currentData.findIndex(function (image) {\n return typeof image.media === \"undefined\";\n });\n\n if (noMedia !== -1) {\n return currentData[noMedia];\n }\n } // Else return the first image.\n\n\n return currentData[0];\n}; // Cache if we've seen an image before so we don't bother with\n// lazy-loading & fading in on subsequent mounts.\n\n\nvar imageCache = Object.create({});\n\nvar inImageCache = function inImageCache(props) {\n var convertedProps = convertProps(props);\n var cacheKey = getImageCacheKey(convertedProps);\n return imageCache[cacheKey] || false;\n};\n\nvar activateCacheForImage = function activateCacheForImage(props) {\n var convertedProps = convertProps(props);\n var cacheKey = getImageCacheKey(convertedProps);\n\n if (cacheKey) {\n imageCache[cacheKey] = true;\n }\n}; // Native lazy-loading support: https://addyosmani.com/blog/lazy-loading/\n\n\nvar hasNativeLazyLoadSupport = typeof HTMLImageElement !== \"undefined\" && \"loading\" in HTMLImageElement.prototype;\nvar isBrowser = typeof window !== \"undefined\";\nvar hasIOSupport = isBrowser && window.IntersectionObserver;\nvar io;\nvar listeners = new WeakMap();\n\nfunction getIO() {\n if (typeof io === \"undefined\" && typeof window !== \"undefined\" && window.IntersectionObserver) {\n io = new window.IntersectionObserver(function (entries) {\n entries.forEach(function (entry) {\n if (listeners.has(entry.target)) {\n var cb = listeners.get(entry.target); // Edge doesn't currently support isIntersecting, so also test for an intersectionRatio > 0\n\n if (entry.isIntersecting || entry.intersectionRatio > 0) {\n io.unobserve(entry.target);\n listeners.delete(entry.target);\n cb();\n }\n }\n });\n }, {\n rootMargin: \"200px\"\n });\n }\n\n return io;\n}\n\nfunction generateImageSources(imageVariants) {\n return imageVariants.map(function (_ref3) {\n var src = _ref3.src,\n srcSet = _ref3.srcSet,\n srcSetWebp = _ref3.srcSetWebp,\n media = _ref3.media,\n sizes = _ref3.sizes;\n return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, {\n key: src\n }, srcSetWebp && /*#__PURE__*/_react.default.createElement(\"source\", {\n type: \"image/webp\",\n media: media,\n srcSet: srcSetWebp,\n sizes: sizes\n }), srcSet && /*#__PURE__*/_react.default.createElement(\"source\", {\n media: media,\n srcSet: srcSet,\n sizes: sizes\n }));\n });\n} // Return an array ordered by elements having a media prop, does not use\n// native sort, as a stable sort is not guaranteed by all browsers/versions\n\n\nfunction groupByMedia(imageVariants) {\n var withMedia = [];\n var without = [];\n imageVariants.forEach(function (variant) {\n return (variant.media ? withMedia : without).push(variant);\n });\n\n if (without.length > 1 && process.env.NODE_ENV !== \"production\") {\n console.warn(\"We've found \" + without.length + \" sources without a media property. They might be ignored by the browser, see: https://www.gatsbyjs.org/packages/gatsby-image/#art-directing-multiple-images\");\n }\n\n return [].concat(withMedia, without);\n}\n\nfunction generateTracedSVGSources(imageVariants) {\n return imageVariants.map(function (_ref4) {\n var src = _ref4.src,\n media = _ref4.media,\n tracedSVG = _ref4.tracedSVG;\n return /*#__PURE__*/_react.default.createElement(\"source\", {\n key: src,\n media: media,\n srcSet: tracedSVG\n });\n });\n}\n\nfunction generateBase64Sources(imageVariants) {\n return imageVariants.map(function (_ref5) {\n var src = _ref5.src,\n media = _ref5.media,\n base64 = _ref5.base64;\n return /*#__PURE__*/_react.default.createElement(\"source\", {\n key: src,\n media: media,\n srcSet: base64\n });\n });\n}\n\nfunction generateNoscriptSource(_ref6, isWebp) {\n var srcSet = _ref6.srcSet,\n srcSetWebp = _ref6.srcSetWebp,\n media = _ref6.media,\n sizes = _ref6.sizes;\n var src = isWebp ? srcSetWebp : srcSet;\n var mediaAttr = media ? \"media=\\\"\" + media + \"\\\" \" : \"\";\n var typeAttr = isWebp ? \"type='image/webp' \" : \"\";\n var sizesAttr = sizes ? \"sizes=\\\"\" + sizes + \"\\\" \" : \"\";\n return \"<source \" + typeAttr + mediaAttr + \"srcset=\\\"\" + src + \"\\\" \" + sizesAttr + \"/>\";\n}\n\nfunction generateNoscriptSources(imageVariants) {\n return imageVariants.map(function (variant) {\n return (variant.srcSetWebp ? generateNoscriptSource(variant, true) : \"\") + generateNoscriptSource(variant);\n }).join(\"\");\n}\n\nvar listenToIntersections = function listenToIntersections(el, cb) {\n var observer = getIO();\n\n if (observer) {\n observer.observe(el);\n listeners.set(el, cb);\n }\n\n return function () {\n observer.unobserve(el);\n listeners.delete(el);\n };\n};\n\nvar noscriptImg = function noscriptImg(props) {\n // Check if prop exists before adding each attribute to the string output below to prevent\n // HTML validation issues caused by empty values like width=\"\" and height=\"\"\n var src = props.src ? \"src=\\\"\" + props.src + \"\\\" \" : \"src=\\\"\\\" \"; // required attribute\n\n var sizes = props.sizes ? \"sizes=\\\"\" + props.sizes + \"\\\" \" : \"\";\n var srcSet = props.srcSet ? \"srcset=\\\"\" + props.srcSet + \"\\\" \" : \"\";\n var title = props.title ? \"title=\\\"\" + props.title + \"\\\" \" : \"\";\n var alt = props.alt ? \"alt=\\\"\" + props.alt + \"\\\" \" : \"alt=\\\"\\\" \"; // required attribute\n\n var width = props.width ? \"width=\\\"\" + props.width + \"\\\" \" : \"\";\n var height = props.height ? \"height=\\\"\" + props.height + \"\\\" \" : \"\";\n var crossOrigin = props.crossOrigin ? \"crossorigin=\\\"\" + props.crossOrigin + \"\\\" \" : \"\";\n var loading = props.loading ? \"loading=\\\"\" + props.loading + \"\\\" \" : \"\";\n var draggable = props.draggable ? \"draggable=\\\"\" + props.draggable + \"\\\" \" : \"\";\n var sources = generateNoscriptSources(props.imageVariants);\n return \"<picture>\" + sources + \"<img \" + loading + width + height + sizes + srcSet + src + alt + title + crossOrigin + draggable + \"style=\\\"position:absolute;top:0;left:0;opacity:1;width:100%;height:100%;object-fit:cover;object-position:center\\\"/></picture>\";\n}; // Earlier versions of gatsby-image during the 2.x cycle did not wrap\n// the `Img` component in a `picture` element. This maintains compatibility\n// until a breaking change can be introduced in the next major release\n\n\nvar Placeholder = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {\n var src = props.src,\n imageVariants = props.imageVariants,\n generateSources = props.generateSources,\n spreadProps = props.spreadProps,\n ariaHidden = props.ariaHidden;\n\n var baseImage = /*#__PURE__*/_react.default.createElement(Img, (0, _extends2.default)({\n ref: ref,\n src: src\n }, spreadProps, {\n ariaHidden: ariaHidden\n }));\n\n return imageVariants.length > 1 ? /*#__PURE__*/_react.default.createElement(\"picture\", null, generateSources(imageVariants), baseImage) : baseImage;\n});\n\nvar Img = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {\n var sizes = props.sizes,\n srcSet = props.srcSet,\n src = props.src,\n style = props.style,\n onLoad = props.onLoad,\n onError = props.onError,\n loading = props.loading,\n draggable = props.draggable,\n ariaHidden = props.ariaHidden,\n otherProps = (0, _objectWithoutPropertiesLoose2.default)(props, [\"sizes\", \"srcSet\", \"src\", \"style\", \"onLoad\", \"onError\", \"loading\", \"draggable\", \"ariaHidden\"]);\n return /*#__PURE__*/_react.default.createElement(\"img\", (0, _extends2.default)({\n \"aria-hidden\": ariaHidden,\n sizes: sizes,\n srcSet: srcSet,\n src: src\n }, otherProps, {\n onLoad: onLoad,\n onError: onError,\n ref: ref,\n loading: loading,\n draggable: draggable,\n style: (0, _extends2.default)({\n position: \"absolute\",\n top: 0,\n left: 0,\n width: \"100%\",\n height: \"100%\",\n objectFit: \"cover\",\n objectPosition: \"center\"\n }, style)\n }));\n});\n\nImg.propTypes = {\n style: _propTypes.default.object,\n onError: _propTypes.default.func,\n onLoad: _propTypes.default.func\n};\n\nvar Image = /*#__PURE__*/function (_React$Component) {\n (0, _inheritsLoose2.default)(Image, _React$Component);\n\n function Image(props) {\n var _this;\n\n _this = _React$Component.call(this, props) || this; // If this image has already been loaded before then we can assume it's\n // already in the browser cache so it's cheap to just show directly.\n\n _this.seenBefore = isBrowser && inImageCache(props);\n _this.isCritical = props.loading === \"eager\" || props.critical;\n _this.addNoScript = !(_this.isCritical && !props.fadeIn);\n _this.useIOSupport = !hasNativeLazyLoadSupport && hasIOSupport && !_this.isCritical && !_this.seenBefore;\n var isVisible = _this.isCritical || isBrowser && (hasNativeLazyLoadSupport || !_this.useIOSupport);\n _this.state = {\n isVisible: isVisible,\n imgLoaded: false,\n imgCached: false,\n fadeIn: !_this.seenBefore && props.fadeIn,\n isHydrated: false\n };\n _this.imageRef = /*#__PURE__*/_react.default.createRef();\n _this.placeholderRef = props.placeholderRef || /*#__PURE__*/_react.default.createRef();\n _this.handleImageLoaded = _this.handleImageLoaded.bind((0, _assertThisInitialized2.default)(_this));\n _this.handleRef = _this.handleRef.bind((0, _assertThisInitialized2.default)(_this));\n return _this;\n }\n\n var _proto = Image.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.setState({\n isHydrated: isBrowser\n });\n\n if (this.state.isVisible && typeof this.props.onStartLoad === \"function\") {\n this.props.onStartLoad({\n wasCached: inImageCache(this.props)\n });\n }\n\n if (this.isCritical) {\n var img = this.imageRef.current;\n\n if (img && img.complete) {\n this.handleImageLoaded();\n }\n }\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n if (this.cleanUpListeners) {\n this.cleanUpListeners();\n }\n } // Specific to IntersectionObserver based lazy-load support\n ;\n\n _proto.handleRef = function handleRef(ref) {\n var _this2 = this;\n\n if (this.useIOSupport && ref) {\n this.cleanUpListeners = listenToIntersections(ref, function () {\n var imageInCache = inImageCache(_this2.props);\n\n if (!_this2.state.isVisible && typeof _this2.props.onStartLoad === \"function\") {\n _this2.props.onStartLoad({\n wasCached: imageInCache\n });\n } // imgCached and imgLoaded must update after isVisible,\n // Once isVisible is true, imageRef becomes accessible, which imgCached needs access to.\n // imgLoaded and imgCached are in a 2nd setState call to be changed together,\n // avoiding initiating unnecessary animation frames from style changes.\n\n\n _this2.setState({\n isVisible: true\n }, function () {\n _this2.setState({\n imgLoaded: imageInCache,\n // `currentSrc` should be a string, but can be `undefined` in IE,\n // !! operator validates the value is not undefined/null/\"\"\n // for lazyloaded components this might be null\n // TODO fix imgCached behaviour as it's now false when it's lazyloaded\n imgCached: !!(_this2.imageRef.current && _this2.imageRef.current.currentSrc)\n });\n });\n });\n }\n };\n\n _proto.handleImageLoaded = function handleImageLoaded() {\n activateCacheForImage(this.props);\n this.setState({\n imgLoaded: true\n });\n\n if (this.props.onLoad) {\n this.props.onLoad();\n }\n };\n\n _proto.render = function render() {\n var _convertProps = convertProps(this.props),\n title = _convertProps.title,\n alt = _convertProps.alt,\n className = _convertProps.className,\n _convertProps$style = _convertProps.style,\n style = _convertProps$style === void 0 ? {} : _convertProps$style,\n _convertProps$imgStyl = _convertProps.imgStyle,\n imgStyle = _convertProps$imgStyl === void 0 ? {} : _convertProps$imgStyl,\n _convertProps$placeho = _convertProps.placeholderStyle,\n placeholderStyle = _convertProps$placeho === void 0 ? {} : _convertProps$placeho,\n placeholderClassName = _convertProps.placeholderClassName,\n fluid = _convertProps.fluid,\n fixed = _convertProps.fixed,\n backgroundColor = _convertProps.backgroundColor,\n durationFadeIn = _convertProps.durationFadeIn,\n Tag = _convertProps.Tag,\n itemProp = _convertProps.itemProp,\n loading = _convertProps.loading,\n draggable = _convertProps.draggable;\n\n var imageVariants = fluid || fixed; // Abort early if missing image data (#25371)\n\n if (!imageVariants) {\n return null;\n }\n\n var shouldReveal = this.state.fadeIn === false || this.state.imgLoaded;\n var shouldFadeIn = this.state.fadeIn === true && !this.state.imgCached;\n var imageStyle = (0, _extends2.default)({\n opacity: shouldReveal ? 1 : 0,\n transition: shouldFadeIn ? \"opacity \" + durationFadeIn + \"ms\" : \"none\"\n }, imgStyle);\n var bgColor = typeof backgroundColor === \"boolean\" ? \"lightgray\" : backgroundColor;\n var delayHideStyle = {\n transitionDelay: durationFadeIn + \"ms\"\n };\n var imagePlaceholderStyle = (0, _extends2.default)({\n opacity: this.state.imgLoaded ? 0 : 1\n }, shouldFadeIn && delayHideStyle, imgStyle, placeholderStyle);\n var placeholderImageProps = {\n title: title,\n alt: !this.state.isVisible ? alt : \"\",\n style: imagePlaceholderStyle,\n className: placeholderClassName,\n itemProp: itemProp\n }; // Initial client render state needs to match SSR until hydration finishes.\n // Once hydration completes, render again to update to the correct image.\n // `imageVariants` is always an Array type at this point due to `convertProps()`\n\n var image = !this.state.isHydrated ? imageVariants[0] : getCurrentSrcData(imageVariants);\n\n if (fluid) {\n return /*#__PURE__*/_react.default.createElement(Tag, {\n className: (className ? className : \"\") + \" gatsby-image-wrapper\",\n style: (0, _extends2.default)({\n position: \"relative\",\n overflow: \"hidden\",\n maxWidth: image.maxWidth ? image.maxWidth + \"px\" : null,\n maxHeight: image.maxHeight ? image.maxHeight + \"px\" : null\n }, style),\n ref: this.handleRef,\n key: \"fluid-\" + JSON.stringify(image.srcSet)\n }, /*#__PURE__*/_react.default.createElement(Tag, {\n \"aria-hidden\": true,\n style: {\n width: \"100%\",\n paddingBottom: 100 / image.aspectRatio + \"%\"\n }\n }), bgColor && /*#__PURE__*/_react.default.createElement(Tag, {\n \"aria-hidden\": true,\n title: title,\n style: (0, _extends2.default)({\n backgroundColor: bgColor,\n position: \"absolute\",\n top: 0,\n bottom: 0,\n opacity: !this.state.imgLoaded ? 1 : 0,\n right: 0,\n left: 0\n }, shouldFadeIn && delayHideStyle)\n }), image.base64 && /*#__PURE__*/_react.default.createElement(Placeholder, {\n ariaHidden: true,\n ref: this.placeholderRef,\n src: image.base64,\n spreadProps: placeholderImageProps,\n imageVariants: imageVariants,\n generateSources: generateBase64Sources\n }), image.tracedSVG && /*#__PURE__*/_react.default.createElement(Placeholder, {\n ariaHidden: true,\n ref: this.placeholderRef,\n src: image.tracedSVG,\n spreadProps: placeholderImageProps,\n imageVariants: imageVariants,\n generateSources: generateTracedSVGSources\n }), this.state.isVisible && /*#__PURE__*/_react.default.createElement(\"picture\", null, generateImageSources(imageVariants), /*#__PURE__*/_react.default.createElement(Img, {\n alt: alt,\n title: title,\n sizes: image.sizes,\n src: image.src,\n crossOrigin: this.props.crossOrigin,\n srcSet: image.srcSet,\n style: imageStyle,\n ref: this.imageRef,\n onLoad: this.handleImageLoaded,\n onError: this.props.onError,\n itemProp: itemProp,\n loading: loading,\n draggable: draggable\n })), this.addNoScript && /*#__PURE__*/_react.default.createElement(\"noscript\", {\n dangerouslySetInnerHTML: {\n __html: noscriptImg((0, _extends2.default)({\n alt: alt,\n title: title,\n loading: loading\n }, image, {\n imageVariants: imageVariants\n }))\n }\n }));\n }\n\n if (fixed) {\n var divStyle = (0, _extends2.default)({\n position: \"relative\",\n overflow: \"hidden\",\n display: \"inline-block\",\n width: image.width,\n height: image.height\n }, style);\n\n if (style.display === \"inherit\") {\n delete divStyle.display;\n }\n\n return /*#__PURE__*/_react.default.createElement(Tag, {\n className: (className ? className : \"\") + \" gatsby-image-wrapper\",\n style: divStyle,\n ref: this.handleRef,\n key: \"fixed-\" + JSON.stringify(image.srcSet)\n }, bgColor && /*#__PURE__*/_react.default.createElement(Tag, {\n \"aria-hidden\": true,\n title: title,\n style: (0, _extends2.default)({\n backgroundColor: bgColor,\n width: image.width,\n opacity: !this.state.imgLoaded ? 1 : 0,\n height: image.height\n }, shouldFadeIn && delayHideStyle)\n }), image.base64 && /*#__PURE__*/_react.default.createElement(Placeholder, {\n ariaHidden: true,\n ref: this.placeholderRef,\n src: image.base64,\n spreadProps: placeholderImageProps,\n imageVariants: imageVariants,\n generateSources: generateBase64Sources\n }), image.tracedSVG && /*#__PURE__*/_react.default.createElement(Placeholder, {\n ariaHidden: true,\n ref: this.placeholderRef,\n src: image.tracedSVG,\n spreadProps: placeholderImageProps,\n imageVariants: imageVariants,\n generateSources: generateTracedSVGSources\n }), this.state.isVisible && /*#__PURE__*/_react.default.createElement(\"picture\", null, generateImageSources(imageVariants), /*#__PURE__*/_react.default.createElement(Img, {\n alt: alt,\n title: title,\n width: image.width,\n height: image.height,\n sizes: image.sizes,\n src: image.src,\n crossOrigin: this.props.crossOrigin,\n srcSet: image.srcSet,\n style: imageStyle,\n ref: this.imageRef,\n onLoad: this.handleImageLoaded,\n onError: this.props.onError,\n itemProp: itemProp,\n loading: loading,\n draggable: draggable\n })), this.addNoScript && /*#__PURE__*/_react.default.createElement(\"noscript\", {\n dangerouslySetInnerHTML: {\n __html: noscriptImg((0, _extends2.default)({\n alt: alt,\n title: title,\n loading: loading\n }, image, {\n imageVariants: imageVariants\n }))\n }\n }));\n }\n\n return null;\n };\n\n return Image;\n}(_react.default.Component);\n\nImage.defaultProps = {\n fadeIn: true,\n durationFadeIn: 500,\n alt: \"\",\n Tag: \"div\",\n // We set it to `lazy` by default because it's best to default to a performant\n // setting and let the user \"opt out\" to `eager`\n loading: \"lazy\"\n};\n\nvar fixedObject = _propTypes.default.shape({\n width: _propTypes.default.number.isRequired,\n height: _propTypes.default.number.isRequired,\n src: _propTypes.default.string.isRequired,\n srcSet: _propTypes.default.string.isRequired,\n base64: _propTypes.default.string,\n tracedSVG: _propTypes.default.string,\n srcWebp: _propTypes.default.string,\n srcSetWebp: _propTypes.default.string,\n media: _propTypes.default.string\n});\n\nvar fluidObject = _propTypes.default.shape({\n aspectRatio: _propTypes.default.number.isRequired,\n src: _propTypes.default.string.isRequired,\n srcSet: _propTypes.default.string.isRequired,\n sizes: _propTypes.default.string.isRequired,\n base64: _propTypes.default.string,\n tracedSVG: _propTypes.default.string,\n srcWebp: _propTypes.default.string,\n srcSetWebp: _propTypes.default.string,\n media: _propTypes.default.string,\n maxWidth: _propTypes.default.number,\n maxHeight: _propTypes.default.number\n});\n\nfunction requireFixedOrFluid(originalPropTypes) {\n return function (props, propName, componentName) {\n var _PropTypes$checkPropT;\n\n if (!props.fixed && !props.fluid) {\n throw new Error(\"The prop `fluid` or `fixed` is marked as required in `\" + componentName + \"`, but their values are both `undefined`.\");\n }\n\n _propTypes.default.checkPropTypes((_PropTypes$checkPropT = {}, _PropTypes$checkPropT[propName] = originalPropTypes, _PropTypes$checkPropT), props, \"prop\", componentName);\n };\n} // If you modify these propTypes, please don't forget to update following files as well:\n// https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-image/index.d.ts\n// https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-image/README.md#gatsby-image-props\n// https://github.com/gatsbyjs/gatsby/blob/master/docs/docs/gatsby-image.md#gatsby-image-props\n\n\nImage.propTypes = {\n resolutions: fixedObject,\n sizes: fluidObject,\n fixed: requireFixedOrFluid(_propTypes.default.oneOfType([fixedObject, _propTypes.default.arrayOf(fixedObject)])),\n fluid: requireFixedOrFluid(_propTypes.default.oneOfType([fluidObject, _propTypes.default.arrayOf(fluidObject)])),\n fadeIn: _propTypes.default.bool,\n durationFadeIn: _propTypes.default.number,\n title: _propTypes.default.string,\n alt: _propTypes.default.string,\n className: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object]),\n // Support Glamor's css prop.\n critical: _propTypes.default.bool,\n crossOrigin: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.bool]),\n style: _propTypes.default.object,\n imgStyle: _propTypes.default.object,\n placeholderStyle: _propTypes.default.object,\n placeholderClassName: _propTypes.default.string,\n backgroundColor: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.bool]),\n onLoad: _propTypes.default.func,\n onError: _propTypes.default.func,\n onStartLoad: _propTypes.default.func,\n Tag: _propTypes.default.string,\n itemProp: _propTypes.default.string,\n loading: _propTypes.default.oneOf([\"auto\", \"lazy\", \"eager\"]),\n draggable: _propTypes.default.bool\n};\nvar _default = Image;\nexports.default = _default;","module.exports = __webpack_public_path__ + \"static/SFMono-RegularItalic-502441ff6ee56a1df1558e8461050a46.woff\";","function memoize(fn) {\n var cache = {};\n return function (arg) {\n if (cache[arg] === undefined) cache[arg] = fn(arg);\n return cache[arg];\n };\n}\n\nexport default memoize;","import memoize from '@emotion/memoize';\nvar reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23\n\nvar index = memoize(function (prop) {\n return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111\n /* o */\n && prop.charCodeAt(1) === 110\n /* n */\n && prop.charCodeAt(2) < 91;\n}\n/* Z+1 */\n);\nexport default index;","/**\r\n * Returns the object type of the given payload\r\n *\r\n * @param {*} payload\r\n * @returns {string}\r\n */\nfunction getType(payload) {\n return Object.prototype.toString.call(payload).slice(8, -1);\n}\n/**\r\n * Returns whether the payload is undefined\r\n *\r\n * @param {*} payload\r\n * @returns {payload is undefined}\r\n */\n\n\nfunction isUndefined(payload) {\n return getType(payload) === 'Undefined';\n}\n/**\r\n * Returns whether the payload is null\r\n *\r\n * @param {*} payload\r\n * @returns {payload is null}\r\n */\n\n\nfunction isNull(payload) {\n return getType(payload) === 'Null';\n}\n/**\r\n * Returns whether the payload is a plain JavaScript object (excluding special classes or objects with other prototypes)\r\n *\r\n * @param {*} payload\r\n * @returns {payload is Record<string, any>}\r\n */\n\n\nfunction isPlainObject(payload) {\n if (getType(payload) !== 'Object') return false;\n return payload.constructor === Object && Object.getPrototypeOf(payload) === Object.prototype;\n}\n/**\r\n * Returns whether the payload is a plain JavaScript object (excluding special classes or objects with other prototypes)\r\n *\r\n * @param {*} payload\r\n * @returns {payload is Record<string, any>}\r\n */\n\n\nfunction isObject(payload) {\n return isPlainObject(payload);\n}\n/**\r\n * Returns whether the payload is a an empty object (excluding special classes or objects with other prototypes)\r\n *\r\n * @param {*} payload\r\n * @returns {payload is { [K in any]: never }}\r\n */\n\n\nfunction isEmptyObject(payload) {\n return isPlainObject(payload) && Object.keys(payload).length === 0;\n}\n/**\r\n * Returns whether the payload is an any kind of object (including special classes or objects with different prototypes)\r\n *\r\n * @param {*} payload\r\n * @returns {payload is Record<string, any>}\r\n */\n\n\nfunction isAnyObject(payload) {\n return getType(payload) === 'Object';\n}\n/**\r\n * Returns whether the payload is an object like a type passed in < >\r\n *\r\n * Usage: isObjectLike<{id: any}>(payload) // will make sure it's an object and has an `id` prop.\r\n *\r\n * @template T this must be passed in < >\r\n * @param {*} payload\r\n * @returns {payload is T}\r\n */\n\n\nfunction isObjectLike(payload) {\n return isAnyObject(payload);\n}\n/**\r\n * Returns whether the payload is a function\r\n *\r\n * @param {*} payload\r\n * @returns {payload is AnyFunction}\r\n */\n\n\nfunction isFunction(payload) {\n return getType(payload) === 'Function';\n}\n/**\r\n * Returns whether the payload is an array\r\n *\r\n * @param {any} payload\r\n * @returns {payload is any[]}\r\n */\n\n\nfunction isArray(payload) {\n return getType(payload) === 'Array';\n}\n/**\r\n * Returns whether the payload is a an empty array\r\n *\r\n * @param {*} payload\r\n * @returns {payload is []}\r\n */\n\n\nfunction isEmptyArray(payload) {\n return isArray(payload) && payload.length === 0;\n}\n/**\r\n * Returns whether the payload is a string\r\n *\r\n * @param {*} payload\r\n * @returns {payload is string}\r\n */\n\n\nfunction isString(payload) {\n return getType(payload) === 'String';\n}\n/**\r\n * Returns whether the payload is a string, BUT returns false for ''\r\n *\r\n * @param {*} payload\r\n * @returns {payload is string}\r\n */\n\n\nfunction isFullString(payload) {\n return isString(payload) && payload !== '';\n}\n/**\r\n * Returns whether the payload is ''\r\n *\r\n * @param {*} payload\r\n * @returns {payload is string}\r\n */\n\n\nfunction isEmptyString(payload) {\n return payload === '';\n}\n/**\r\n * Returns whether the payload is a number (but not NaN)\r\n *\r\n * This will return `false` for `NaN`!!\r\n *\r\n * @param {*} payload\r\n * @returns {payload is number}\r\n */\n\n\nfunction isNumber(payload) {\n return getType(payload) === 'Number' && !isNaN(payload);\n}\n/**\r\n * Returns whether the payload is a boolean\r\n *\r\n * @param {*} payload\r\n * @returns {payload is boolean}\r\n */\n\n\nfunction isBoolean(payload) {\n return getType(payload) === 'Boolean';\n}\n/**\r\n * Returns whether the payload is a regular expression (RegExp)\r\n *\r\n * @param {*} payload\r\n * @returns {payload is RegExp}\r\n */\n\n\nfunction isRegExp(payload) {\n return getType(payload) === 'RegExp';\n}\n/**\r\n * Returns whether the payload is a Map\r\n *\r\n * @param {*} payload\r\n * @returns {payload is Map<any, any>}\r\n */\n\n\nfunction isMap(payload) {\n return getType(payload) === 'Map';\n}\n/**\r\n * Returns whether the payload is a WeakMap\r\n *\r\n * @param {*} payload\r\n * @returns {payload is WeakMap<any, any>}\r\n */\n\n\nfunction isWeakMap(payload) {\n return getType(payload) === 'WeakMap';\n}\n/**\r\n * Returns whether the payload is a Set\r\n *\r\n * @param {*} payload\r\n * @returns {payload is Set<any>}\r\n */\n\n\nfunction isSet(payload) {\n return getType(payload) === 'Set';\n}\n/**\r\n * Returns whether the payload is a WeakSet\r\n *\r\n * @param {*} payload\r\n * @returns {payload is WeakSet<any>}\r\n */\n\n\nfunction isWeakSet(payload) {\n return getType(payload) === 'WeakSet';\n}\n/**\r\n * Returns whether the payload is a Symbol\r\n *\r\n * @param {*} payload\r\n * @returns {payload is symbol}\r\n */\n\n\nfunction isSymbol(payload) {\n return getType(payload) === 'Symbol';\n}\n/**\r\n * Returns whether the payload is a Date, and that the date is valid\r\n *\r\n * @param {*} payload\r\n * @returns {payload is Date}\r\n */\n\n\nfunction isDate(payload) {\n return getType(payload) === 'Date' && !isNaN(payload);\n}\n/**\r\n * Returns whether the payload is a Blob\r\n *\r\n * @param {*} payload\r\n * @returns {payload is Blob}\r\n */\n\n\nfunction isBlob(payload) {\n return getType(payload) === 'Blob';\n}\n/**\r\n * Returns whether the payload is a File\r\n *\r\n * @param {*} payload\r\n * @returns {payload is File}\r\n */\n\n\nfunction isFile(payload) {\n return getType(payload) === 'File';\n}\n/**\r\n * Returns whether the payload is a Promise\r\n *\r\n * @param {*} payload\r\n * @returns {payload is Promise<any>}\r\n */\n\n\nfunction isPromise(payload) {\n return getType(payload) === 'Promise';\n}\n/**\r\n * Returns whether the payload is an Error\r\n *\r\n * @param {*} payload\r\n * @returns {payload is Error}\r\n */\n\n\nfunction isError(payload) {\n return getType(payload) === 'Error';\n}\n/**\r\n * Returns whether the payload is literally the value `NaN` (it's `NaN` and also a `number`)\r\n *\r\n * @param {*} payload\r\n * @returns {payload is typeof NaN}\r\n */\n\n\nfunction isNaNValue(payload) {\n return getType(payload) === 'Number' && isNaN(payload);\n}\n/**\r\n * Returns whether the payload is a primitive type (eg. Boolean | Null | Undefined | Number | String | Symbol)\r\n *\r\n * @param {*} payload\r\n * @returns {(payload is boolean | null | undefined | number | string | symbol)}\r\n */\n\n\nfunction isPrimitive(payload) {\n return isBoolean(payload) || isNull(payload) || isUndefined(payload) || isNumber(payload) || isString(payload) || isSymbol(payload);\n}\n/**\r\n * Returns true whether the payload is null or undefined\r\n *\r\n * @param {*} payload\r\n * @returns {(payload is null | undefined)}\r\n */\n\n\nfunction isNullOrUndefined(payload) {\n return isNull(payload) || isUndefined(payload);\n}\n/**\r\n * Does a generic check to check that the given payload is of a given type.\r\n * In cases like Number, it will return true for NaN as NaN is a Number (thanks javascript!);\r\n * It will, however, differentiate between object and null\r\n *\r\n * @template T\r\n * @param {*} payload\r\n * @param {T} type\r\n * @throws {TypeError} Will throw type error if type is an invalid type\r\n * @returns {payload is T}\r\n */\n\n\nfunction isType(payload, type) {\n if (!(type instanceof Function)) {\n throw new TypeError('Type must be a function');\n }\n\n if (!Object.prototype.hasOwnProperty.call(type, 'prototype')) {\n throw new TypeError('Type is not a class');\n } // Classes usually have names (as functions usually have names)\n\n\n var name = type.name;\n return getType(payload) === name || Boolean(payload && payload.constructor === type);\n}\n\nexport { getType, isAnyObject, isArray, isBlob, isBoolean, isDate, isEmptyArray, isEmptyObject, isEmptyString, isError, isFile, isFullString, isFunction, isMap, isNaNValue, isNull, isNullOrUndefined, isNumber, isObject, isObjectLike, isPlainObject, isPrimitive, isPromise, isRegExp, isSet, isString, isSymbol, isType, isUndefined, isWeakMap, isWeakSet };","import { isPlainObject, isArray, isSymbol } from 'is-what';\n/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\n\nfunction __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) {\n s += arguments[i].length;\n }\n\n for (var r = Array(s), k = 0, i = 0; i < il; i++) {\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) {\n r[k] = a[j];\n }\n }\n\n return r;\n}\n\nfunction assignProp(carry, key, newVal, originalObject) {\n var propType = originalObject.propertyIsEnumerable(key) ? 'enumerable' : 'nonenumerable';\n if (propType === 'enumerable') carry[key] = newVal;\n\n if (propType === 'nonenumerable') {\n Object.defineProperty(carry, key, {\n value: newVal,\n enumerable: false,\n writable: true,\n configurable: true\n });\n }\n}\n\nfunction mergeRecursively(origin, newComer, extensions) {\n // work directly on newComer if its not an object\n if (!isPlainObject(newComer)) {\n // extend merge rules\n if (extensions && isArray(extensions)) {\n extensions.forEach(function (extend) {\n newComer = extend(origin, newComer);\n });\n }\n\n return newComer;\n } // define newObject to merge all values upon\n\n\n var newObject = {};\n\n if (isPlainObject(origin)) {\n var props_1 = Object.getOwnPropertyNames(origin);\n var symbols_1 = Object.getOwnPropertySymbols(origin);\n newObject = __spreadArrays(props_1, symbols_1).reduce(function (carry, key) {\n // @ts-ignore\n var targetVal = origin[key];\n\n if (!isSymbol(key) && !Object.getOwnPropertyNames(newComer).includes(key) || isSymbol(key) && !Object.getOwnPropertySymbols(newComer).includes(key)) {\n assignProp(carry, key, targetVal, origin);\n }\n\n return carry;\n }, {});\n }\n\n var props = Object.getOwnPropertyNames(newComer);\n var symbols = Object.getOwnPropertySymbols(newComer);\n\n var result = __spreadArrays(props, symbols).reduce(function (carry, key) {\n // re-define the origin and newComer as targetVal and newVal\n var newVal = newComer[key];\n var targetVal = isPlainObject(origin) ? // @ts-ignore\n origin[key] : undefined; // extend merge rules\n\n if (extensions && isArray(extensions)) {\n extensions.forEach(function (extend) {\n newVal = extend(targetVal, newVal);\n });\n } // When newVal is an object do the merge recursively\n\n\n if (targetVal !== undefined && isPlainObject(newVal)) {\n newVal = mergeRecursively(targetVal, newVal, extensions);\n }\n\n assignProp(carry, key, newVal, newComer);\n return carry;\n }, newObject);\n\n return result;\n}\n/**\r\n * Merge anything recursively.\r\n * Objects get merged, special objects (classes etc.) are re-assigned \"as is\".\r\n * Basic types overwrite objects or other basic types.\r\n *\r\n * @param {(IConfig | any)} origin\r\n * @param {...any[]} newComers\r\n * @returns the result\r\n */\n\n\nfunction merge(origin) {\n var newComers = [];\n\n for (var _i = 1; _i < arguments.length; _i++) {\n newComers[_i - 1] = arguments[_i];\n }\n\n var extensions = null;\n var base = origin;\n\n if (isPlainObject(origin) && origin.extensions && Object.keys(origin).length === 1) {\n base = {};\n extensions = origin.extensions;\n }\n\n return newComers.reduce(function (result, newComer) {\n return mergeRecursively(result, newComer, extensions);\n }, base);\n}\n\nfunction concatArrays(originVal, newVal) {\n if (isArray(originVal) && isArray(newVal)) {\n // concat logic\n return originVal.concat(newVal);\n }\n\n return newVal; // always return newVal as fallback!!\n}\n\nexport default merge;\nexport { concatArrays, merge };","module.exports = __webpack_public_path__ + \"static/Calibre-RegularItalic-35657aa2d12ff78e3d8a8a5ba28c2c35.woff2\";","module.exports = __webpack_public_path__ + \"static/Calibre-Semibold-347808401d7a6607ff9a86897aec0a39.woff\";","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { Helmet } from 'react-helmet';\r\nimport { useLocation } from '@reach/router';\r\nimport { useStaticQuery, graphql } from 'gatsby';\r\n\r\n// https://www.gatsbyjs.com/docs/add-seo-component/\r\n\r\nconst Head = ({ title, description, image }) => {\r\n const { pathname } = useLocation();\r\n\r\n const { site } = useStaticQuery(\r\n graphql`\r\n query {\r\n site {\r\n siteMetadata {\r\n defaultTitle: title\r\n defaultDescription: description\r\n siteUrl\r\n defaultImage: image\r\n twitterUsername\r\n }\r\n }\r\n }\r\n `,\r\n );\r\n\r\n const {\r\n defaultTitle,\r\n defaultDescription,\r\n siteUrl,\r\n defaultImage,\r\n twitterUsername,\r\n } = site.siteMetadata;\r\n\r\n const seo = {\r\n title: title || defaultTitle,\r\n description: description || defaultDescription,\r\n image: `${siteUrl}${image || defaultImage}`,\r\n url: `${siteUrl}${pathname}`,\r\n };\r\n\r\n return (\r\n <Helmet title={title} defaultTitle={seo.title} titleTemplate={`%s | ${defaultTitle}`}>\r\n <html lang=\"en\" />\r\n\r\n <meta name=\"description\" content={seo.description} />\r\n <meta name=\"image\" content={seo.image} />\r\n\r\n <meta property=\"og:title\" content={seo.title} />\r\n <meta property=\"og:description\" content={seo.description} />\r\n <meta property=\"og:image\" content={seo.image} />\r\n <meta property=\"og:url\" content={seo.url} />\r\n <meta property=\"og:type\" content=\"website\" />\r\n\r\n <meta name=\"twitter:card\" content=\"summary_large_image\" />\r\n <meta name=\"twitter:creator\" content={twitterUsername} />\r\n <meta name=\"twitter:title\" content={seo.title} />\r\n <meta name=\"twitter:description\" content={seo.description} />\r\n <meta name=\"twitter:image\" content={seo.image} />\r\n\r\n <meta name=\"google-site-verification\" content=\"DCl7VAf9tcz6eD9gb67NfkNnJ1PKRNcg8qQiwpbx9Lk\" />\r\n </Helmet>\r\n );\r\n};\r\n\r\nexport default Head;\r\n\r\nHead.propTypes = {\r\n title: PropTypes.string,\r\n description: PropTypes.string,\r\n image: PropTypes.string,\r\n};\r\n\r\nHead.defaultProps = {\r\n title: null,\r\n description: null,\r\n image: null,\r\n};\r\n","import { css } from 'styled-components';\r\n\r\nconst button = css`\r\n color: var(--green);\r\n background-color: transparent;\r\n border: 1px solid var(--green);\r\n border-radius: var(--border-radius);\r\n font-size: var(--fz-xs);\r\n font-family: var(--font-mono);\r\n line-height: 1;\r\n text-decoration: none;\r\n cursor: pointer;\r\n transition: var(--transition);\r\n padding: 1.25rem 1.75rem;\r\n\r\n &:hover,\r\n &:focus,\r\n &:active {\r\n background-color: var(--green-tint);\r\n outline: none;\r\n }\r\n &:after {\r\n display: none !important;\r\n }\r\n`;\r\n\r\nconst mixins = {\r\n flexCenter: css`\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n `,\r\n\r\n flexBetween: css`\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n `,\r\n\r\n link: css`\r\n display: inline-block;\r\n text-decoration: none;\r\n text-decoration-skip-ink: auto;\r\n color: inherit;\r\n position: relative;\r\n transition: var(--transition);\r\n cursor: pointer;\r\n &:hover,\r\n &:active,\r\n &:focus {\r\n color: var(--green);\r\n outline: 0;\r\n }\r\n `,\r\n\r\n inlineLink: css`\r\n display: inline-block;\r\n text-decoration: none;\r\n text-decoration-skip-ink: auto;\r\n position: relative;\r\n transition: var(--transition);\r\n cursor: pointer;\r\n color: var(--green);\r\n &:hover,\r\n &:focus,\r\n &:active {\r\n color: var(--green);\r\n outline: 0;\r\n &:after {\r\n width: 100%;\r\n }\r\n & > * {\r\n color: var(--green) !important;\r\n transition: var(--transition);\r\n }\r\n }\r\n &:after {\r\n content: '';\r\n display: block;\r\n width: 0;\r\n height: 1px;\r\n position: relative;\r\n bottom: 0.37em;\r\n background-color: var(--green);\r\n transition: var(--transition);\r\n opacity: 0.5;\r\n }\r\n `,\r\n\r\n button,\r\n\r\n smallButton: css`\r\n color: var(--green);\r\n background-color: transparent;\r\n border: 1px solid var(--green);\r\n border-radius: var(--border-radius);\r\n padding: 0.75rem 1rem;\r\n font-size: var(--fz-xs);\r\n font-family: var(--font-mono);\r\n line-height: 1;\r\n text-decoration: none;\r\n cursor: pointer;\r\n transition: var(--transition);\r\n &:hover,\r\n &:focus,\r\n &:active {\r\n background-color: var(--green-tint);\r\n }\r\n &:after {\r\n display: none !important;\r\n }\r\n `,\r\n\r\n bigButton: css`\r\n color: var(--green);\r\n background-color: transparent;\r\n border: 1px solid var(--green);\r\n border-radius: var(--border-radius);\r\n padding: 1.25rem 1.75rem;\r\n font-size: var(--fz-sm);\r\n font-family: var(--font-mono);\r\n line-height: 1;\r\n text-decoration: none;\r\n cursor: pointer;\r\n transition: var(--transition);\r\n &:hover,\r\n &:focus,\r\n &:active {\r\n background-color: var(--green-tint);\r\n }\r\n &:after {\r\n display: none !important;\r\n }\r\n `,\r\n\r\n boxShadow: css`\r\n box-shadow: 0 10px 30px -15px var(--navy-shadow);\r\n transition: var(--transition);\r\n\r\n &:hover,\r\n &:focus {\r\n box-shadow: 0 20px 30px -15px var(--navy-shadow);\r\n }\r\n `,\r\n\r\n fancyList: css`\r\n padding: 0;\r\n margin: 0;\r\n list-style: none;\r\n font-size: var(--fz-lg);\r\n li {\r\n position: relative;\r\n padding-left: 30px;\r\n margin-bottom: 10px;\r\n &:before {\r\n content: '▹';\r\n position: absolute;\r\n left: 0;\r\n color: var(--green);\r\n }\r\n }\r\n `,\r\n};\r\n\r\nexport default mixins;\r\n","import mixins from './mixins';\r\n\r\nconst theme = {\r\n bp: {\r\n mobileS: `max-width: 330px`,\r\n mobileM: `max-width: 400px`,\r\n mobileL: `max-width: 480px`,\r\n tabletS: `max-width: 600px`,\r\n tabletL: `max-width: 768px`,\r\n desktopXS: `max-width: 900px`,\r\n desktopS: `max-width: 1080px`,\r\n desktopM: `max-width: 1200px`,\r\n desktopL: `max-width: 1400px`,\r\n },\r\n\r\n mixins,\r\n};\r\n\r\nexport default theme;\r\n","import { css } from 'styled-components';\r\n\r\nimport CalibreRegularWoff from '@fonts/Calibre/Calibre-Regular.woff';\r\nimport CalibreRegularWoff2 from '@fonts/Calibre/Calibre-Regular.woff2';\r\nimport CalibreMediumWoff from '@fonts/Calibre/Calibre-Medium.woff';\r\nimport CalibreMediumWoff2 from '@fonts/Calibre/Calibre-Medium.woff2';\r\nimport CalibreSemiboldWoff from '@fonts/Calibre/Calibre-Semibold.woff';\r\nimport CalibreSemiboldWoff2 from '@fonts/Calibre/Calibre-Semibold.woff2';\r\n\r\nimport CalibreRegularItalicWoff from '@fonts/Calibre/Calibre-RegularItalic.woff';\r\nimport CalibreRegularItalicWoff2 from '@fonts/Calibre/Calibre-RegularItalic.woff2';\r\nimport CalibreMediumItalicWoff from '@fonts/Calibre/Calibre-MediumItalic.woff';\r\nimport CalibreMediumItalicWoff2 from '@fonts/Calibre/Calibre-MediumItalic.woff2';\r\nimport CalibreSemiboldItalicWoff from '@fonts/Calibre/Calibre-SemiboldItalic.woff';\r\nimport CalibreSemiboldItalicWoff2 from '@fonts/Calibre/Calibre-SemiboldItalic.woff2';\r\n\r\nimport SFMonoRegularWoff from '@fonts/SFMono/SFMono-Regular.woff';\r\nimport SFMonoRegularWoff2 from '@fonts/SFMono/SFMono-Regular.woff2';\r\nimport SFMonoSemiboldWoff from '@fonts/SFMono/SFMono-Semibold.woff';\r\nimport SFMonoSemiboldWoff2 from '@fonts/SFMono/SFMono-Semibold.woff2';\r\n\r\nimport SFMonoRegularItalicWoff from '@fonts/SFMono/SFMono-RegularItalic.woff';\r\nimport SFMonoRegularItalicWoff2 from '@fonts/SFMono/SFMono-RegularItalic.woff2';\r\nimport SFMonoSemiboldItalicWoff from '@fonts/SFMono/SFMono-SemiboldItalic.woff';\r\nimport SFMonoSemiboldItalicWoff2 from '@fonts/SFMono/SFMono-SemiboldItalic.woff2';\r\n\r\nconst calibreNormalWeights = {\r\n 400: [CalibreRegularWoff, CalibreRegularWoff2],\r\n 500: [CalibreMediumWoff, CalibreMediumWoff2],\r\n 600: [CalibreSemiboldWoff, CalibreSemiboldWoff2],\r\n};\r\n\r\nconst calibreItalicWeights = {\r\n 400: [CalibreRegularItalicWoff, CalibreRegularItalicWoff2],\r\n 500: [CalibreMediumItalicWoff, CalibreMediumItalicWoff2],\r\n 600: [CalibreSemiboldItalicWoff, CalibreSemiboldItalicWoff2],\r\n};\r\n\r\nconst sfMonoNormalWeights = {\r\n 400: [SFMonoRegularWoff, SFMonoRegularWoff2],\r\n 600: [SFMonoSemiboldWoff, SFMonoSemiboldWoff2],\r\n};\r\n\r\nconst sfMonoItalicWeights = {\r\n 400: [SFMonoRegularItalicWoff, SFMonoRegularItalicWoff2],\r\n 600: [SFMonoSemiboldItalicWoff, SFMonoSemiboldItalicWoff2],\r\n};\r\n\r\nconst calibre = {\r\n name: 'Calibre',\r\n normal: calibreNormalWeights,\r\n italic: calibreItalicWeights,\r\n};\r\n\r\nconst sfMono = {\r\n name: 'SF Mono',\r\n normal: sfMonoNormalWeights,\r\n italic: sfMonoItalicWeights,\r\n};\r\n\r\nconst createFontFaces = (family, style = 'normal') => {\r\n let styles = '';\r\n\r\n for (const [weight, formats] of Object.entries(family[style])) {\r\n const woff = formats[0];\r\n const woff2 = formats[1];\r\n\r\n styles += `\r\n @font-face {\r\n font-family: '${family.name}';\r\n src: url(${woff2}) format('woff2'),\r\n url(${woff}) format('woff');\r\n font-weight: ${weight};\r\n font-style: ${style};\r\n font-display: auto;\r\n }\r\n `;\r\n }\r\n\r\n return styles;\r\n};\r\n\r\nconst calibreNormal = createFontFaces(calibre);\r\nconst calibreItalic = createFontFaces(calibre, 'italic');\r\n\r\nconst sfMonoNormal = createFontFaces(sfMono);\r\nconst sfMonoItalic = createFontFaces(sfMono, 'italic');\r\n\r\nconst Fonts = css`\r\n ${calibreNormal + calibreItalic + sfMonoNormal + sfMonoItalic}\r\n`;\r\n\r\nexport default Fonts;\r\n","import { css } from 'styled-components';\r\n\r\n// https://reactcommunity.org/react-transition-group/css-transition\r\n\r\nconst TransitionStyles = css`\r\n /* Fade up */\r\n .fadeup-enter {\r\n opacity: 0.01;\r\n transform: translateY(20px);\r\n transition: opacity 300ms var(--easing), transform 300ms var(--easing);\r\n }\r\n\r\n .fadeup-enter-active {\r\n opacity: 1;\r\n transform: translateY(0px);\r\n transition: opacity 300ms var(--easing), transform 300ms var(--easing);\r\n }\r\n\r\n /* Fade down */\r\n .fadedown-enter {\r\n opacity: 0.01;\r\n transform: translateY(-20px);\r\n transition: opacity 300ms var(--easing), transform 300ms var(--easing);\r\n }\r\n\r\n .fadedown-enter-active {\r\n opacity: 1;\r\n transform: translateY(0px);\r\n transition: opacity 300ms var(--easing), transform 300ms var(--easing);\r\n }\r\n\r\n /* Fade */\r\n .fade-enter {\r\n opacity: 0;\r\n }\r\n .fade-enter-active {\r\n opacity: 1;\r\n transition: opacity 300ms var(--easing);\r\n }\r\n .fade-exit {\r\n opacity: 1;\r\n }\r\n .fade-exit-active {\r\n opacity: 0;\r\n transition: opacity 300ms var(--easing);\r\n }\r\n`;\r\n\r\nexport default TransitionStyles;\r\n","import { css } from 'styled-components';\r\n\r\nconst prismColors = {\r\n bg: `#112340`,\r\n lineHighlight: `#1d2d50`,\r\n blue: `#5ccfe6`,\r\n purple: `#c3a6ff`,\r\n green: `#bae67e`,\r\n yellow: `#ffd580`,\r\n orange: `#ffae57`,\r\n red: `#ef6b73`,\r\n grey: `#a2aabc`,\r\n comment: `#8695b799`,\r\n};\r\n\r\n// https://www.gatsbyjs.org/packages/gatsby-remark-prismjs\r\n\r\nconst PrismStyles = css`\r\n /**\r\n * Add back the container background-color, border-radius, padding, margin\r\n * and overflow that we removed from <pre>.\r\n */\r\n .gatsby-highlight {\r\n background-color: ${prismColors.bg};\r\n color: ${prismColors.variable};\r\n border-radius: var(--border-radius);\r\n margin: 2em 0;\r\n padding: 1.25em;\r\n overflow: auto;\r\n position: relative;\r\n font-family: var(--font-mono);\r\n font-size: var(--fz-md);\r\n }\r\n\r\n .gatsby-highlight code[class*='language-'],\r\n .gatsby-highlight pre[class*='language-'] {\r\n height: auto !important;\r\n font-size: var(--fz-sm);\r\n line-height: 1.5;\r\n white-space: pre;\r\n word-spacing: normal;\r\n word-break: normal;\r\n word-wrap: normal;\r\n tab-size: 2;\r\n hyphens: none;\r\n }\r\n\r\n /**\r\n * Remove the default PrismJS theme background-color, border-radius, margin,\r\n * padding and overflow.\r\n * 1. Make the element just wide enough to fit its content.\r\n * 2. Always fill the visible space in .gatsby-highlight.\r\n * 3. Adjust the position of the line numbers\r\n */\r\n .gatsby-highlight pre[class*='language-'] {\r\n background-color: transparent;\r\n margin: 0;\r\n padding: 0;\r\n overflow: initial;\r\n float: left; /* 1 */\r\n min-width: 100%; /* 2 */\r\n padding-top: 2em;\r\n }\r\n\r\n /* File names */\r\n .gatsby-code-title {\r\n padding: 1em 1.5em;\r\n font-family: var(--font-mono);\r\n font-size: var(--fz-xs);\r\n background-color: ${prismColors.bg};\r\n color: ${prismColors.grey};\r\n border-top-left-radius: var(--border-radius);\r\n border-top-right-radius: var(--border-radius);\r\n border-bottom: 1px solid ${prismColors.lineHighlight};\r\n\r\n & + .gatsby-highlight {\r\n margin-top: 0;\r\n border-top-left-radius: 0;\r\n border-top-right-radius: 0;\r\n }\r\n }\r\n\r\n /* Line highlighting */\r\n .gatsby-highlight-code-line {\r\n display: block;\r\n background-color: ${prismColors.lineHighlight};\r\n border-left: 2px solid var(--green);\r\n padding-left: calc(1em + 2px);\r\n padding-right: 1em;\r\n margin-right: -1.35em;\r\n margin-left: -1.35em;\r\n }\r\n\r\n /* Language badges */\r\n .gatsby-highlight pre[class*='language-']::before {\r\n background: var(--lightest-navy);\r\n color: var(--white);\r\n font-size: var(--fz-xxs);\r\n font-family: var(--font-mono);\r\n line-height: 1.5;\r\n letter-spacing: 0.1em;\r\n text-transform: uppercase;\r\n border-radius: 0 0 3px 3px;\r\n position: absolute;\r\n top: 0;\r\n left: 1.25rem;\r\n padding: 0.25rem 0.5rem;\r\n }\r\n .gatsby-highlight pre[class='language-javascript']::before {\r\n content: 'js';\r\n }\r\n .gatsby-highlight pre[class='language-js']::before {\r\n content: 'js';\r\n }\r\n .gatsby-highlight pre[class='language-jsx']::before {\r\n content: 'jsx';\r\n }\r\n .gatsby-highlight pre[class='language-graphql']::before {\r\n content: 'GraphQL';\r\n }\r\n .gatsby-highlight pre[class='language-html']::before {\r\n content: 'html';\r\n }\r\n .gatsby-highlight pre[class='language-css']::before {\r\n content: 'css';\r\n }\r\n .gatsby-highlight pre[class='language-mdx']::before {\r\n content: 'mdx';\r\n }\r\n .gatsby-highlight pre[class='language-shell']::before {\r\n content: 'shell';\r\n }\r\n .gatsby-highlight pre[class='language-sh']::before {\r\n content: 'sh';\r\n }\r\n .gatsby-highlight pre[class='language-bash']::before {\r\n content: 'bash';\r\n }\r\n .gatsby-highlight pre[class='language-yaml']::before {\r\n content: 'yaml';\r\n }\r\n .gatsby-highlight pre[class='language-markdown']::before {\r\n content: 'md';\r\n }\r\n .gatsby-highlight pre[class='language-json']::before,\r\n .gatsby-highlight pre[class='language-json5']::before {\r\n content: 'json';\r\n }\r\n .gatsby-highlight pre[class='language-diff']::before {\r\n content: 'diff';\r\n }\r\n .gatsby-highlight pre[class='language-text']::before {\r\n content: 'text';\r\n }\r\n .gatsby-highlight pre[class='language-flow']::before {\r\n content: 'flow';\r\n }\r\n\r\n /* Prism Styles */\r\n .token {\r\n display: inline;\r\n }\r\n .token.comment,\r\n .token.block-comment,\r\n .token.prolog,\r\n .token.doctype,\r\n .token.cdata {\r\n color: ${prismColors.comment};\r\n }\r\n .token.punctuation {\r\n color: ${prismColors.grey};\r\n }\r\n .token.namespace,\r\n .token.deleted {\r\n color: ${prismColors.red};\r\n }\r\n .token.function-name,\r\n .token.function,\r\n .token.class-name,\r\n .token.constant,\r\n .token.symbol {\r\n color: ${prismColors.yellow};\r\n }\r\n .token.attr-name,\r\n .token.operator,\r\n .token.rule {\r\n color: ${prismColors.orange};\r\n }\r\n .token.keyword,\r\n .token.boolean,\r\n .token.number,\r\n .token.property {\r\n color: ${prismColors.purple};\r\n }\r\n .token.tag,\r\n .token.selector,\r\n .token.important,\r\n .token.atrule,\r\n .token.builtin,\r\n .token.entity,\r\n .token.url {\r\n color: ${prismColors.blue};\r\n }\r\n .token.string,\r\n .token.char,\r\n .token.attr-value,\r\n .token.regex,\r\n .token.variable,\r\n .token.inserted {\r\n color: ${prismColors.green};\r\n }\r\n .token.important,\r\n .token.bold {\r\n font-weight: 600;\r\n }\r\n .token.italic {\r\n font-style: italic;\r\n }\r\n .token.entity {\r\n cursor: help;\r\n }\r\n .namespace {\r\n opacity: 0.7;\r\n }\r\n`;\r\n\r\nexport default PrismStyles;\r\n","export default function _taggedTemplateLiteralLoose(strings, raw) {\n if (!raw) {\n raw = strings.slice(0);\n }\n\n strings.raw = raw;\n return strings;\n}","import { createGlobalStyle } from 'styled-components';\r\nimport Fonts from './fonts';\r\nimport TransitionStyles from './TransitionStyles';\r\nimport PrismStyles from './PrismStyles';\r\n\r\nconst GlobalStyle = createGlobalStyle`\r\n ${Fonts};\r\n\r\n :root {\r\n --dark-navy: #020c1b;\r\n --navy: #0a192f;\r\n --light-navy: #172a45;\r\n --lightest-navy: #303C55;\r\n --navy-shadow: rgba(2, 12, 27, 0.7);\r\n --slate: #8892b0;\r\n --light-slate: #a8b2d1;\r\n --lightest-slate: #ccd6f6;\r\n --white: #e6f1ff;\r\n --green: #64ffda;\r\n --green-tint: rgba(100, 255, 218, 0.1);\r\n\r\n --font-sans: 'Calibre', 'San Francisco', 'SF Pro Text', -apple-system, system-ui, sans-serif;\r\n --font-mono: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', monospace;\r\n\r\n --fz-xxs: 12px;\r\n --fz-xs: 13px;\r\n --fz-sm: 14px;\r\n --fz-md: 16px;\r\n --fz-lg: 18px;\r\n --fz-xl: 20px;\r\n --fz-xxl: 22px;\r\n --fz-heading: 32px;\r\n\r\n --border-radius: 4px;\r\n --nav-height: 100px;\r\n --nav-scroll-height: 70px;\r\n\r\n --tab-height: 42px;\r\n --tab-width: 120px;\r\n\r\n --easing: cubic-bezier(0.645, 0.045, 0.355, 1);\r\n --transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);\r\n\r\n --hamburger-width: 30px;\r\n\r\n --ham-before: top 0.1s ease-in 0.25s, opacity 0.1s ease-in;\r\n --ham-before-active: top 0.1s ease-out, opacity 0.1s ease-out 0.12s;\r\n --ham-after: bottom 0.1s ease-in 0.25s, transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19);\r\n --ham-after-active: bottom 0.1s ease-out, transform 0.22s cubic-bezier(0.215, 0.61, 0.355, 1) 0.12s;\r\n }\r\n\r\n html {\r\n box-sizing: border-box;\r\n width: 100%;\r\n }\r\n\r\n *,\r\n *:before,\r\n *:after {\r\n box-sizing: inherit;\r\n }\r\n\r\n ::selection {\r\n background-color: var(--slate);\r\n color: var(--lightest-slate);\r\n }\r\n\r\n body {\r\n margin: 0;\r\n width: 100%;\r\n min-height: 100%;\r\n overflow-x: hidden;\r\n -moz-osx-font-smoothing: grayscale;\r\n -webkit-font-smoothing: antialiased;\r\n background-color: var(--navy);\r\n color: var(--slate);\r\n font-family: var(--font-sans);\r\n font-size: var(--fz-xl);\r\n line-height: 1.3;\r\n\r\n @media (max-width: 480px) {\r\n font-size: var(--fz-lg);\r\n }\r\n\r\n &.hidden {\r\n overflow: hidden;\r\n }\r\n\r\n &.blur {\r\n overflow: hidden;\r\n\r\n header {\r\n background-color: transparent;\r\n }\r\n\r\n #content > * {\r\n filter: blur(5px) brightness(0.7);\r\n transition: var(--transition);\r\n pointer-events: none;\r\n user-select: none;\r\n }\r\n }\r\n }\r\n\r\n #root {\r\n min-height: 100vh;\r\n display: grid;\r\n grid-template-rows: 1fr auto;\r\n grid-template-columns: 100%;\r\n }\r\n\r\n main {\r\n margin: 0 auto;\r\n width: 100%;\r\n max-width: 1600px;\r\n min-height: 100vh;\r\n padding: 200px 150px;\r\n\r\n @media (max-width: 1080px) {\r\n padding: 200px 100px;\r\n }\r\n @media (max-width: 768px) {\r\n padding: 150px 50px;\r\n }\r\n @media (max-width: 480px) {\r\n padding: 125px 25px;\r\n }\r\n\r\n &.fillHeight {\r\n padding: 0 150px;\r\n\r\n @media (max-width: 1080px) {\r\n padding: 0 100px;\r\n }\r\n @media (max-width: 768px) {\r\n padding: 0 50px;\r\n }\r\n @media (max-width: 480px) {\r\n padding: 0 25px;\r\n }\r\n }\r\n }\r\n\r\n section {\r\n margin: 0 auto;\r\n padding: 100px 0;\r\n max-width: 1000px;\r\n\r\n @media (max-width: 768px) {\r\n padding: 80px 0;\r\n }\r\n\r\n @media (max-width: 480px) {\r\n padding: 60px 0;\r\n }\r\n }\r\n\r\n h1,\r\n h2,\r\n h3,\r\n h4,\r\n h5,\r\n h6 {\r\n margin: 0 0 10px 0;\r\n font-weight: 600;\r\n color: var(--lightest-slate);\r\n line-height: 1.1;\r\n }\r\n\r\n .big-heading {\r\n margin: 0;\r\n font-size: clamp(40px, 8vw, 80px);\r\n }\r\n\r\n .medium-heading {\r\n margin: 0;\r\n font-size: clamp(40px, 8vw, 60px);\r\n }\r\n\r\n .numbered-heading {\r\n display: flex;\r\n align-items: center;\r\n position: relative;\r\n margin: 10px 0 40px;\r\n width: 100%;\r\n font-size: clamp(26px, 5vw, var(--fz-heading));\r\n white-space: nowrap;\r\n\r\n &:before {\r\n position: relative;\r\n bottom: 4px;\r\n counter-increment: section;\r\n content: '0' counter(section) '.';\r\n margin-right: 10px;\r\n color: var(--green);\r\n font-family: var(--font-mono);\r\n font-size: clamp(var(--fz-md), 3vw, var(--fz-xl));\r\n font-weight: 400;\r\n\r\n @media (max-width: 480px) {\r\n margin-bottom: -3px;\r\n margin-right: 5px;\r\n }\r\n }\r\n\r\n &:after {\r\n content: '';\r\n display: block;\r\n position: relative;\r\n top: -5px;\r\n width: 300px;\r\n height: 1px;\r\n margin-left: 20px;\r\n background-color: var(--lightest-navy);\r\n\r\n @media (max-width: 1080px) {\r\n width: 200px;\r\n }\r\n @media (max-width: 768px) {\r\n width: 100%;\r\n }\r\n @media (max-width: 600px) {\r\n margin-left: 10px;\r\n }\r\n }\r\n }\r\n\r\n img,\r\n svg,\r\n .gatsby-image-wrapper {\r\n width: 100%;\r\n max-width: 100%;\r\n vertical-align: middle;\r\n }\r\n\r\n img[alt=\"\"],\r\n img:not([alt]) {\r\n filter: blur(5px);\r\n }\r\n\r\n svg {\r\n width: 100%;\r\n height: 100%;\r\n fill: currentColor;\r\n vertical-align: middle;\r\n }\r\n\r\n a {\r\n display: inline-block;\r\n text-decoration: none;\r\n text-decoration-skip-ink: auto;\r\n color: inherit;\r\n position: relative;\r\n transition: var(--transition);\r\n cursor: pointer;\r\n\r\n &:hover,\r\n &:focus {\r\n color: var(--green);\r\n }\r\n\r\n &.inline-link {\r\n ${({ theme }) => theme.mixins.inlineLink};\r\n }\r\n }\r\n\r\n button {\r\n cursor: pointer;\r\n border: 0;\r\n border-radius: 0;\r\n }\r\n\r\n input, textarea {\r\n border-radius: 0;\r\n outline: 0;\r\n\r\n &:focus {\r\n outline: 0;\r\n }\r\n &:focus,\r\n &:active {\r\n &::placeholder {\r\n opacity: 0.5;\r\n }\r\n }\r\n }\r\n\r\n p {\r\n margin: 0 0 15px 0;\r\n\r\n &:last-child,\r\n &:last-of-type {\r\n margin: 0;\r\n }\r\n\r\n & > a {\r\n ${({ theme }) => theme.mixins.inlineLink};\r\n }\r\n\r\n & > code {\r\n background-color: var(--light-navy);\r\n color: var(--white);\r\n font-size: var(--fz-sm);\r\n border-radius: var(--border-radius);\r\n padding: 0.3em 0.5em;\r\n }\r\n }\r\n\r\n ul {\r\n &.fancy-list {\r\n padding: 0;\r\n margin: 0;\r\n list-style: none;\r\n font-size: var(--fz-lg);\r\n li {\r\n position: relative;\r\n padding-left: 30px;\r\n margin-bottom: 10px;\r\n &:before {\r\n content: '▹';\r\n position: absolute;\r\n left: 0;\r\n color: var(--green);\r\n }\r\n }\r\n }\r\n }\r\n\r\n blockquote {\r\n border-left-color: var(--green);\r\n border-left-style: solid;\r\n border-left-width: 1px;\r\n margin-left: 0px;\r\n margin-right: 0px;\r\n padding-left: 1.5rem;\r\n\r\n p {\r\n font-style: italic;\r\n font-size: 24px;\r\n }\r\n }\r\n\r\n hr {\r\n background-color: var(--lightest-navy);\r\n height: 1px;\r\n border-width: 0px;\r\n border-style: initial;\r\n border-color: initial;\r\n border-image: initial;\r\n margin: 1rem;\r\n }\r\n\r\n code {\r\n font-family: var(--font-mono);\r\n font-size: var(--fz-md);\r\n }\r\n\r\n #logo {\r\n color: var(--green);\r\n }\r\n\r\n .overline {\r\n color: var(--green);\r\n font-family: var(--font-mono);\r\n font-size: var(--fz-md);\r\n font-weight: 400;\r\n }\r\n\r\n .subtitle {\r\n color: var(--green);\r\n margin: 0 0 20px 0;\r\n font-size: var(--fz-md);\r\n font-family: var(--font-mono);\r\n font-weight: 400;\r\n line-height: 1.5;\r\n @media (max-width: 1080px) {\r\n font-size: var(--fz-sm);\r\n }\r\n @media (max-width: 768px) {\r\n font-size: var(--fz-xs);\r\n }\r\n\r\n a {\r\n ${({ theme }) => theme.mixins.inlineLink};\r\n line-height: 1.5;\r\n }\r\n }\r\n\r\n .breadcrumb {\r\n display: flex;\r\n align-items: center;\r\n margin-bottom: 50px;\r\n color: var(--green);\r\n\r\n .arrow {\r\n display: block;\r\n margin-right: 10px;\r\n padding-top: 4px;\r\n }\r\n\r\n a {\r\n ${({ theme }) => theme.mixins.inlineLink};\r\n font-family: var(--font-mono);\r\n font-size: var(--fz-sm);\r\n font-weight: 600;\r\n line-height: 1.5;\r\n text-transform: uppercase;\r\n letter-spacing: 0.1em;\r\n }\r\n }\r\n\r\n .gatsby-image-outer-wrapper {\r\n height: 100%;\r\n }\r\n\r\n ${TransitionStyles};\r\n\r\n ${PrismStyles};\r\n`;\r\n\r\nexport default GlobalStyle;\r\n","import React, { useState, useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport styled, { ThemeProvider } from 'styled-components';\r\nimport { Head, Loader, Nav, Social, Email, Footer } from '@components';\r\nimport { GlobalStyle, theme } from '@styles';\r\n\r\n// https://medium.com/@chrisfitkin/how-to-smooth-scroll-links-in-gatsby-3dc445299558\r\nif (typeof window !== 'undefined') {\r\n // eslint-disable-next-line global-require\r\n require('smooth-scroll')('a[href*=\"#\"]');\r\n}\r\n\r\nconst SkipToContentLink = styled.a`\r\n position: absolute;\r\n top: auto;\r\n left: -999px;\r\n width: 1px;\r\n height: 1px;\r\n overflow: hidden;\r\n z-index: -99;\r\n &:focus,\r\n &:active {\r\n top: 0;\r\n left: 0;\r\n width: auto;\r\n height: auto;\r\n padding: 18px 23px;\r\n outline: 0;\r\n border-radius: var(--border-radius);\r\n background-color: var(--light-navy);\r\n color: var(--green);\r\n font-family: var(--font-mono);\r\n font-size: var(--fz-sm);\r\n line-height: 1;\r\n text-decoration: none;\r\n cursor: pointer;\r\n overflow: auto;\r\n transition: var(--transition);\r\n z-index: 99;\r\n }\r\n`;\r\nconst StyledContent = styled.div`\r\n display: flex;\r\n flex-direction: column;\r\n min-height: 100vh;\r\n`;\r\n\r\nconst Layout = ({ children, location }) => {\r\n const isHome = location.pathname === '/';\r\n const [isLoading, setIsLoading] = useState(isHome);\r\n\r\n useEffect(() => {\r\n if (isLoading) {\r\n return;\r\n }\r\n if (location.hash) {\r\n const id = location.hash.substring(1); // location.hash without the '#'\r\n setTimeout(() => {\r\n const el = document.getElementById(id);\r\n if (el) {\r\n el.scrollIntoView();\r\n el.focus();\r\n }\r\n }, 0);\r\n }\r\n }, [isLoading]);\r\n\r\n // Sets target=\"_blank\" rel=\"noopener noreferrer\" on external links\r\n const handleExternalLinks = () => {\r\n const allLinks = Array.from(document.querySelectorAll('a'));\r\n if (allLinks.length > 0) {\r\n allLinks.forEach(link => {\r\n if (link.host !== window.location.host) {\r\n link.setAttribute('rel', 'noopener noreferrer');\r\n link.setAttribute('target', '_blank');\r\n }\r\n });\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n handleExternalLinks();\r\n }, []);\r\n\r\n return (\r\n <>\r\n <Head />\r\n\r\n <div id=\"root\">\r\n <ThemeProvider theme={theme}>\r\n <GlobalStyle />\r\n\r\n <SkipToContentLink href=\"#content\">Skip to Content</SkipToContentLink>\r\n\r\n {isLoading && isHome ? (\r\n <Loader finishLoading={() => setIsLoading(false)} />\r\n ) : (\r\n <StyledContent>\r\n <Nav isHome={isHome} />\r\n <Social isHome={isHome} />\r\n <Email isHome={isHome} />\r\n\r\n <div id=\"content\">\r\n {children}\r\n <Footer />\r\n </div>\r\n </StyledContent>\r\n )}\r\n </ThemeProvider>\r\n </div>\r\n </>\r\n );\r\n};\r\n\r\nLayout.propTypes = {\r\n children: PropTypes.node.isRequired,\r\n location: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default Layout;\r\n","/*\n * anime.js v3.2.1\n * (c) 2020 Julian Garnier\n * Released under the MIT license\n * animejs.com\n */\n// Defaults\nvar defaultInstanceSettings = {\n update: null,\n begin: null,\n loopBegin: null,\n changeBegin: null,\n change: null,\n changeComplete: null,\n loopComplete: null,\n complete: null,\n loop: 1,\n direction: 'normal',\n autoplay: true,\n timelineOffset: 0\n};\nvar defaultTweenSettings = {\n duration: 1000,\n delay: 0,\n endDelay: 0,\n easing: 'easeOutElastic(1, .5)',\n round: 0\n};\nvar validTransforms = ['translateX', 'translateY', 'translateZ', 'rotate', 'rotateX', 'rotateY', 'rotateZ', 'scale', 'scaleX', 'scaleY', 'scaleZ', 'skew', 'skewX', 'skewY', 'perspective', 'matrix', 'matrix3d']; // Caching\n\nvar cache = {\n CSS: {},\n springs: {}\n}; // Utils\n\nfunction minMax(val, min, max) {\n return Math.min(Math.max(val, min), max);\n}\n\nfunction stringContains(str, text) {\n return str.indexOf(text) > -1;\n}\n\nfunction applyArguments(func, args) {\n return func.apply(null, args);\n}\n\nvar is = {\n arr: function arr(a) {\n return Array.isArray(a);\n },\n obj: function obj(a) {\n return stringContains(Object.prototype.toString.call(a), 'Object');\n },\n pth: function pth(a) {\n return is.obj(a) && a.hasOwnProperty('totalLength');\n },\n svg: function svg(a) {\n return a instanceof SVGElement;\n },\n inp: function inp(a) {\n return a instanceof HTMLInputElement;\n },\n dom: function dom(a) {\n return a.nodeType || is.svg(a);\n },\n str: function str(a) {\n return typeof a === 'string';\n },\n fnc: function fnc(a) {\n return typeof a === 'function';\n },\n und: function und(a) {\n return typeof a === 'undefined';\n },\n nil: function nil(a) {\n return is.und(a) || a === null;\n },\n hex: function hex(a) {\n return /(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(a);\n },\n rgb: function rgb(a) {\n return /^rgb/.test(a);\n },\n hsl: function hsl(a) {\n return /^hsl/.test(a);\n },\n col: function col(a) {\n return is.hex(a) || is.rgb(a) || is.hsl(a);\n },\n key: function key(a) {\n return !defaultInstanceSettings.hasOwnProperty(a) && !defaultTweenSettings.hasOwnProperty(a) && a !== 'targets' && a !== 'keyframes';\n }\n}; // Easings\n\nfunction parseEasingParameters(string) {\n var match = /\\(([^)]+)\\)/.exec(string);\n return match ? match[1].split(',').map(function (p) {\n return parseFloat(p);\n }) : [];\n} // Spring solver inspired by Webkit Copyright © 2016 Apple Inc. All rights reserved. https://webkit.org/demos/spring/spring.js\n\n\nfunction spring(string, duration) {\n var params = parseEasingParameters(string);\n var mass = minMax(is.und(params[0]) ? 1 : params[0], .1, 100);\n var stiffness = minMax(is.und(params[1]) ? 100 : params[1], .1, 100);\n var damping = minMax(is.und(params[2]) ? 10 : params[2], .1, 100);\n var velocity = minMax(is.und(params[3]) ? 0 : params[3], .1, 100);\n var w0 = Math.sqrt(stiffness / mass);\n var zeta = damping / (2 * Math.sqrt(stiffness * mass));\n var wd = zeta < 1 ? w0 * Math.sqrt(1 - zeta * zeta) : 0;\n var a = 1;\n var b = zeta < 1 ? (zeta * w0 + -velocity) / wd : -velocity + w0;\n\n function solver(t) {\n var progress = duration ? duration * t / 1000 : t;\n\n if (zeta < 1) {\n progress = Math.exp(-progress * zeta * w0) * (a * Math.cos(wd * progress) + b * Math.sin(wd * progress));\n } else {\n progress = (a + b * progress) * Math.exp(-progress * w0);\n }\n\n if (t === 0 || t === 1) {\n return t;\n }\n\n return 1 - progress;\n }\n\n function getDuration() {\n var cached = cache.springs[string];\n\n if (cached) {\n return cached;\n }\n\n var frame = 1 / 6;\n var elapsed = 0;\n var rest = 0;\n\n while (true) {\n elapsed += frame;\n\n if (solver(elapsed) === 1) {\n rest++;\n\n if (rest >= 16) {\n break;\n }\n } else {\n rest = 0;\n }\n }\n\n var duration = elapsed * frame * 1000;\n cache.springs[string] = duration;\n return duration;\n }\n\n return duration ? solver : getDuration;\n} // Basic steps easing implementation https://developer.mozilla.org/fr/docs/Web/CSS/transition-timing-function\n\n\nfunction steps(steps) {\n if (steps === void 0) steps = 10;\n return function (t) {\n return Math.ceil(minMax(t, 0.000001, 1) * steps) * (1 / steps);\n };\n} // BezierEasing https://github.com/gre/bezier-easing\n\n\nvar bezier = function () {\n var kSplineTableSize = 11;\n var kSampleStepSize = 1.0 / (kSplineTableSize - 1.0);\n\n function A(aA1, aA2) {\n return 1.0 - 3.0 * aA2 + 3.0 * aA1;\n }\n\n function B(aA1, aA2) {\n return 3.0 * aA2 - 6.0 * aA1;\n }\n\n function C(aA1) {\n return 3.0 * aA1;\n }\n\n function calcBezier(aT, aA1, aA2) {\n return ((A(aA1, aA2) * aT + B(aA1, aA2)) * aT + C(aA1)) * aT;\n }\n\n function getSlope(aT, aA1, aA2) {\n return 3.0 * A(aA1, aA2) * aT * aT + 2.0 * B(aA1, aA2) * aT + C(aA1);\n }\n\n function binarySubdivide(aX, aA, aB, mX1, mX2) {\n var currentX,\n currentT,\n i = 0;\n\n do {\n currentT = aA + (aB - aA) / 2.0;\n currentX = calcBezier(currentT, mX1, mX2) - aX;\n\n if (currentX > 0.0) {\n aB = currentT;\n } else {\n aA = currentT;\n }\n } while (Math.abs(currentX) > 0.0000001 && ++i < 10);\n\n return currentT;\n }\n\n function newtonRaphsonIterate(aX, aGuessT, mX1, mX2) {\n for (var i = 0; i < 4; ++i) {\n var currentSlope = getSlope(aGuessT, mX1, mX2);\n\n if (currentSlope === 0.0) {\n return aGuessT;\n }\n\n var currentX = calcBezier(aGuessT, mX1, mX2) - aX;\n aGuessT -= currentX / currentSlope;\n }\n\n return aGuessT;\n }\n\n function bezier(mX1, mY1, mX2, mY2) {\n if (!(0 <= mX1 && mX1 <= 1 && 0 <= mX2 && mX2 <= 1)) {\n return;\n }\n\n var sampleValues = new Float32Array(kSplineTableSize);\n\n if (mX1 !== mY1 || mX2 !== mY2) {\n for (var i = 0; i < kSplineTableSize; ++i) {\n sampleValues[i] = calcBezier(i * kSampleStepSize, mX1, mX2);\n }\n }\n\n function getTForX(aX) {\n var intervalStart = 0;\n var currentSample = 1;\n var lastSample = kSplineTableSize - 1;\n\n for (; currentSample !== lastSample && sampleValues[currentSample] <= aX; ++currentSample) {\n intervalStart += kSampleStepSize;\n }\n\n --currentSample;\n var dist = (aX - sampleValues[currentSample]) / (sampleValues[currentSample + 1] - sampleValues[currentSample]);\n var guessForT = intervalStart + dist * kSampleStepSize;\n var initialSlope = getSlope(guessForT, mX1, mX2);\n\n if (initialSlope >= 0.001) {\n return newtonRaphsonIterate(aX, guessForT, mX1, mX2);\n } else if (initialSlope === 0.0) {\n return guessForT;\n } else {\n return binarySubdivide(aX, intervalStart, intervalStart + kSampleStepSize, mX1, mX2);\n }\n }\n\n return function (x) {\n if (mX1 === mY1 && mX2 === mY2) {\n return x;\n }\n\n if (x === 0 || x === 1) {\n return x;\n }\n\n return calcBezier(getTForX(x), mY1, mY2);\n };\n }\n\n return bezier;\n}();\n\nvar penner = function () {\n // Based on jQuery UI's implemenation of easing equations from Robert Penner (http://www.robertpenner.com/easing)\n var eases = {\n linear: function linear() {\n return function (t) {\n return t;\n };\n }\n };\n var functionEasings = {\n Sine: function Sine() {\n return function (t) {\n return 1 - Math.cos(t * Math.PI / 2);\n };\n },\n Circ: function Circ() {\n return function (t) {\n return 1 - Math.sqrt(1 - t * t);\n };\n },\n Back: function Back() {\n return function (t) {\n return t * t * (3 * t - 2);\n };\n },\n Bounce: function Bounce() {\n return function (t) {\n var pow2,\n b = 4;\n\n while (t < ((pow2 = Math.pow(2, --b)) - 1) / 11) {}\n\n return 1 / Math.pow(4, 3 - b) - 7.5625 * Math.pow((pow2 * 3 - 2) / 22 - t, 2);\n };\n },\n Elastic: function Elastic(amplitude, period) {\n if (amplitude === void 0) amplitude = 1;\n if (period === void 0) period = .5;\n var a = minMax(amplitude, 1, 10);\n var p = minMax(period, .1, 2);\n return function (t) {\n return t === 0 || t === 1 ? t : -a * Math.pow(2, 10 * (t - 1)) * Math.sin((t - 1 - p / (Math.PI * 2) * Math.asin(1 / a)) * (Math.PI * 2) / p);\n };\n }\n };\n var baseEasings = ['Quad', 'Cubic', 'Quart', 'Quint', 'Expo'];\n baseEasings.forEach(function (name, i) {\n functionEasings[name] = function () {\n return function (t) {\n return Math.pow(t, i + 2);\n };\n };\n });\n Object.keys(functionEasings).forEach(function (name) {\n var easeIn = functionEasings[name];\n eases['easeIn' + name] = easeIn;\n\n eases['easeOut' + name] = function (a, b) {\n return function (t) {\n return 1 - easeIn(a, b)(1 - t);\n };\n };\n\n eases['easeInOut' + name] = function (a, b) {\n return function (t) {\n return t < 0.5 ? easeIn(a, b)(t * 2) / 2 : 1 - easeIn(a, b)(t * -2 + 2) / 2;\n };\n };\n\n eases['easeOutIn' + name] = function (a, b) {\n return function (t) {\n return t < 0.5 ? (1 - easeIn(a, b)(1 - t * 2)) / 2 : (easeIn(a, b)(t * 2 - 1) + 1) / 2;\n };\n };\n });\n return eases;\n}();\n\nfunction parseEasings(easing, duration) {\n if (is.fnc(easing)) {\n return easing;\n }\n\n var name = easing.split('(')[0];\n var ease = penner[name];\n var args = parseEasingParameters(easing);\n\n switch (name) {\n case 'spring':\n return spring(easing, duration);\n\n case 'cubicBezier':\n return applyArguments(bezier, args);\n\n case 'steps':\n return applyArguments(steps, args);\n\n default:\n return applyArguments(ease, args);\n }\n} // Strings\n\n\nfunction selectString(str) {\n try {\n var nodes = document.querySelectorAll(str);\n return nodes;\n } catch (e) {\n return;\n }\n} // Arrays\n\n\nfunction filterArray(arr, callback) {\n var len = arr.length;\n var thisArg = arguments.length >= 2 ? arguments[1] : void 0;\n var result = [];\n\n for (var i = 0; i < len; i++) {\n if (i in arr) {\n var val = arr[i];\n\n if (callback.call(thisArg, val, i, arr)) {\n result.push(val);\n }\n }\n }\n\n return result;\n}\n\nfunction flattenArray(arr) {\n return arr.reduce(function (a, b) {\n return a.concat(is.arr(b) ? flattenArray(b) : b);\n }, []);\n}\n\nfunction toArray(o) {\n if (is.arr(o)) {\n return o;\n }\n\n if (is.str(o)) {\n o = selectString(o) || o;\n }\n\n if (o instanceof NodeList || o instanceof HTMLCollection) {\n return [].slice.call(o);\n }\n\n return [o];\n}\n\nfunction arrayContains(arr, val) {\n return arr.some(function (a) {\n return a === val;\n });\n} // Objects\n\n\nfunction cloneObject(o) {\n var clone = {};\n\n for (var p in o) {\n clone[p] = o[p];\n }\n\n return clone;\n}\n\nfunction replaceObjectProps(o1, o2) {\n var o = cloneObject(o1);\n\n for (var p in o1) {\n o[p] = o2.hasOwnProperty(p) ? o2[p] : o1[p];\n }\n\n return o;\n}\n\nfunction mergeObjects(o1, o2) {\n var o = cloneObject(o1);\n\n for (var p in o2) {\n o[p] = is.und(o1[p]) ? o2[p] : o1[p];\n }\n\n return o;\n} // Colors\n\n\nfunction rgbToRgba(rgbValue) {\n var rgb = /rgb\\((\\d+,\\s*[\\d]+,\\s*[\\d]+)\\)/g.exec(rgbValue);\n return rgb ? \"rgba(\" + rgb[1] + \",1)\" : rgbValue;\n}\n\nfunction hexToRgba(hexValue) {\n var rgx = /^#?([a-f\\d])([a-f\\d])([a-f\\d])$/i;\n var hex = hexValue.replace(rgx, function (m, r, g, b) {\n return r + r + g + g + b + b;\n });\n var rgb = /^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.exec(hex);\n var r = parseInt(rgb[1], 16);\n var g = parseInt(rgb[2], 16);\n var b = parseInt(rgb[3], 16);\n return \"rgba(\" + r + \",\" + g + \",\" + b + \",1)\";\n}\n\nfunction hslToRgba(hslValue) {\n var hsl = /hsl\\((\\d+),\\s*([\\d.]+)%,\\s*([\\d.]+)%\\)/g.exec(hslValue) || /hsla\\((\\d+),\\s*([\\d.]+)%,\\s*([\\d.]+)%,\\s*([\\d.]+)\\)/g.exec(hslValue);\n var h = parseInt(hsl[1], 10) / 360;\n var s = parseInt(hsl[2], 10) / 100;\n var l = parseInt(hsl[3], 10) / 100;\n var a = hsl[4] || 1;\n\n function hue2rgb(p, q, t) {\n if (t < 0) {\n t += 1;\n }\n\n if (t > 1) {\n t -= 1;\n }\n\n if (t < 1 / 6) {\n return p + (q - p) * 6 * t;\n }\n\n if (t < 1 / 2) {\n return q;\n }\n\n if (t < 2 / 3) {\n return p + (q - p) * (2 / 3 - t) * 6;\n }\n\n return p;\n }\n\n var r, g, b;\n\n if (s == 0) {\n r = g = b = l;\n } else {\n var q = l < 0.5 ? l * (1 + s) : l + s - l * s;\n var p = 2 * l - q;\n r = hue2rgb(p, q, h + 1 / 3);\n g = hue2rgb(p, q, h);\n b = hue2rgb(p, q, h - 1 / 3);\n }\n\n return \"rgba(\" + r * 255 + \",\" + g * 255 + \",\" + b * 255 + \",\" + a + \")\";\n}\n\nfunction colorToRgb(val) {\n if (is.rgb(val)) {\n return rgbToRgba(val);\n }\n\n if (is.hex(val)) {\n return hexToRgba(val);\n }\n\n if (is.hsl(val)) {\n return hslToRgba(val);\n }\n} // Units\n\n\nfunction getUnit(val) {\n var split = /[+-]?\\d*\\.?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(val);\n\n if (split) {\n return split[1];\n }\n}\n\nfunction getTransformUnit(propName) {\n if (stringContains(propName, 'translate') || propName === 'perspective') {\n return 'px';\n }\n\n if (stringContains(propName, 'rotate') || stringContains(propName, 'skew')) {\n return 'deg';\n }\n} // Values\n\n\nfunction getFunctionValue(val, animatable) {\n if (!is.fnc(val)) {\n return val;\n }\n\n return val(animatable.target, animatable.id, animatable.total);\n}\n\nfunction getAttribute(el, prop) {\n return el.getAttribute(prop);\n}\n\nfunction convertPxToUnit(el, value, unit) {\n var valueUnit = getUnit(value);\n\n if (arrayContains([unit, 'deg', 'rad', 'turn'], valueUnit)) {\n return value;\n }\n\n var cached = cache.CSS[value + unit];\n\n if (!is.und(cached)) {\n return cached;\n }\n\n var baseline = 100;\n var tempEl = document.createElement(el.tagName);\n var parentEl = el.parentNode && el.parentNode !== document ? el.parentNode : document.body;\n parentEl.appendChild(tempEl);\n tempEl.style.position = 'absolute';\n tempEl.style.width = baseline + unit;\n var factor = baseline / tempEl.offsetWidth;\n parentEl.removeChild(tempEl);\n var convertedUnit = factor * parseFloat(value);\n cache.CSS[value + unit] = convertedUnit;\n return convertedUnit;\n}\n\nfunction getCSSValue(el, prop, unit) {\n if (prop in el.style) {\n var uppercasePropName = prop.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();\n var value = el.style[prop] || getComputedStyle(el).getPropertyValue(uppercasePropName) || '0';\n return unit ? convertPxToUnit(el, value, unit) : value;\n }\n}\n\nfunction getAnimationType(el, prop) {\n if (is.dom(el) && !is.inp(el) && (!is.nil(getAttribute(el, prop)) || is.svg(el) && el[prop])) {\n return 'attribute';\n }\n\n if (is.dom(el) && arrayContains(validTransforms, prop)) {\n return 'transform';\n }\n\n if (is.dom(el) && prop !== 'transform' && getCSSValue(el, prop)) {\n return 'css';\n }\n\n if (el[prop] != null) {\n return 'object';\n }\n}\n\nfunction getElementTransforms(el) {\n if (!is.dom(el)) {\n return;\n }\n\n var str = el.style.transform || '';\n var reg = /(\\w+)\\(([^)]*)\\)/g;\n var transforms = new Map();\n var m;\n\n while (m = reg.exec(str)) {\n transforms.set(m[1], m[2]);\n }\n\n return transforms;\n}\n\nfunction getTransformValue(el, propName, animatable, unit) {\n var defaultVal = stringContains(propName, 'scale') ? 1 : 0 + getTransformUnit(propName);\n var value = getElementTransforms(el).get(propName) || defaultVal;\n\n if (animatable) {\n animatable.transforms.list.set(propName, value);\n animatable.transforms['last'] = propName;\n }\n\n return unit ? convertPxToUnit(el, value, unit) : value;\n}\n\nfunction getOriginalTargetValue(target, propName, unit, animatable) {\n switch (getAnimationType(target, propName)) {\n case 'transform':\n return getTransformValue(target, propName, animatable, unit);\n\n case 'css':\n return getCSSValue(target, propName, unit);\n\n case 'attribute':\n return getAttribute(target, propName);\n\n default:\n return target[propName] || 0;\n }\n}\n\nfunction getRelativeValue(to, from) {\n var operator = /^(\\*=|\\+=|-=)/.exec(to);\n\n if (!operator) {\n return to;\n }\n\n var u = getUnit(to) || 0;\n var x = parseFloat(from);\n var y = parseFloat(to.replace(operator[0], ''));\n\n switch (operator[0][0]) {\n case '+':\n return x + y + u;\n\n case '-':\n return x - y + u;\n\n case '*':\n return x * y + u;\n }\n}\n\nfunction validateValue(val, unit) {\n if (is.col(val)) {\n return colorToRgb(val);\n }\n\n if (/\\s/g.test(val)) {\n return val;\n }\n\n var originalUnit = getUnit(val);\n var unitLess = originalUnit ? val.substr(0, val.length - originalUnit.length) : val;\n\n if (unit) {\n return unitLess + unit;\n }\n\n return unitLess;\n} // getTotalLength() equivalent for circle, rect, polyline, polygon and line shapes\n// adapted from https://gist.github.com/SebLambla/3e0550c496c236709744\n\n\nfunction getDistance(p1, p2) {\n return Math.sqrt(Math.pow(p2.x - p1.x, 2) + Math.pow(p2.y - p1.y, 2));\n}\n\nfunction getCircleLength(el) {\n return Math.PI * 2 * getAttribute(el, 'r');\n}\n\nfunction getRectLength(el) {\n return getAttribute(el, 'width') * 2 + getAttribute(el, 'height') * 2;\n}\n\nfunction getLineLength(el) {\n return getDistance({\n x: getAttribute(el, 'x1'),\n y: getAttribute(el, 'y1')\n }, {\n x: getAttribute(el, 'x2'),\n y: getAttribute(el, 'y2')\n });\n}\n\nfunction getPolylineLength(el) {\n var points = el.points;\n var totalLength = 0;\n var previousPos;\n\n for (var i = 0; i < points.numberOfItems; i++) {\n var currentPos = points.getItem(i);\n\n if (i > 0) {\n totalLength += getDistance(previousPos, currentPos);\n }\n\n previousPos = currentPos;\n }\n\n return totalLength;\n}\n\nfunction getPolygonLength(el) {\n var points = el.points;\n return getPolylineLength(el) + getDistance(points.getItem(points.numberOfItems - 1), points.getItem(0));\n} // Path animation\n\n\nfunction getTotalLength(el) {\n if (el.getTotalLength) {\n return el.getTotalLength();\n }\n\n switch (el.tagName.toLowerCase()) {\n case 'circle':\n return getCircleLength(el);\n\n case 'rect':\n return getRectLength(el);\n\n case 'line':\n return getLineLength(el);\n\n case 'polyline':\n return getPolylineLength(el);\n\n case 'polygon':\n return getPolygonLength(el);\n }\n}\n\nfunction setDashoffset(el) {\n var pathLength = getTotalLength(el);\n el.setAttribute('stroke-dasharray', pathLength);\n return pathLength;\n} // Motion path\n\n\nfunction getParentSvgEl(el) {\n var parentEl = el.parentNode;\n\n while (is.svg(parentEl)) {\n if (!is.svg(parentEl.parentNode)) {\n break;\n }\n\n parentEl = parentEl.parentNode;\n }\n\n return parentEl;\n}\n\nfunction getParentSvg(pathEl, svgData) {\n var svg = svgData || {};\n var parentSvgEl = svg.el || getParentSvgEl(pathEl);\n var rect = parentSvgEl.getBoundingClientRect();\n var viewBoxAttr = getAttribute(parentSvgEl, 'viewBox');\n var width = rect.width;\n var height = rect.height;\n var viewBox = svg.viewBox || (viewBoxAttr ? viewBoxAttr.split(' ') : [0, 0, width, height]);\n return {\n el: parentSvgEl,\n viewBox: viewBox,\n x: viewBox[0] / 1,\n y: viewBox[1] / 1,\n w: width,\n h: height,\n vW: viewBox[2],\n vH: viewBox[3]\n };\n}\n\nfunction getPath(path, percent) {\n var pathEl = is.str(path) ? selectString(path)[0] : path;\n var p = percent || 100;\n return function (property) {\n return {\n property: property,\n el: pathEl,\n svg: getParentSvg(pathEl),\n totalLength: getTotalLength(pathEl) * (p / 100)\n };\n };\n}\n\nfunction getPathProgress(path, progress, isPathTargetInsideSVG) {\n function point(offset) {\n if (offset === void 0) offset = 0;\n var l = progress + offset >= 1 ? progress + offset : 0;\n return path.el.getPointAtLength(l);\n }\n\n var svg = getParentSvg(path.el, path.svg);\n var p = point();\n var p0 = point(-1);\n var p1 = point(+1);\n var scaleX = isPathTargetInsideSVG ? 1 : svg.w / svg.vW;\n var scaleY = isPathTargetInsideSVG ? 1 : svg.h / svg.vH;\n\n switch (path.property) {\n case 'x':\n return (p.x - svg.x) * scaleX;\n\n case 'y':\n return (p.y - svg.y) * scaleY;\n\n case 'angle':\n return Math.atan2(p1.y - p0.y, p1.x - p0.x) * 180 / Math.PI;\n }\n} // Decompose value\n\n\nfunction decomposeValue(val, unit) {\n // const rgx = /-?\\d*\\.?\\d+/g; // handles basic numbers\n // const rgx = /[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?/g; // handles exponents notation\n var rgx = /[+-]?\\d*\\.?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?/g; // handles exponents notation\n\n var value = validateValue(is.pth(val) ? val.totalLength : val, unit) + '';\n return {\n original: value,\n numbers: value.match(rgx) ? value.match(rgx).map(Number) : [0],\n strings: is.str(val) || unit ? value.split(rgx) : []\n };\n} // Animatables\n\n\nfunction parseTargets(targets) {\n var targetsArray = targets ? flattenArray(is.arr(targets) ? targets.map(toArray) : toArray(targets)) : [];\n return filterArray(targetsArray, function (item, pos, self) {\n return self.indexOf(item) === pos;\n });\n}\n\nfunction getAnimatables(targets) {\n var parsed = parseTargets(targets);\n return parsed.map(function (t, i) {\n return {\n target: t,\n id: i,\n total: parsed.length,\n transforms: {\n list: getElementTransforms(t)\n }\n };\n });\n} // Properties\n\n\nfunction normalizePropertyTweens(prop, tweenSettings) {\n var settings = cloneObject(tweenSettings); // Override duration if easing is a spring\n\n if (/^spring/.test(settings.easing)) {\n settings.duration = spring(settings.easing);\n }\n\n if (is.arr(prop)) {\n var l = prop.length;\n var isFromTo = l === 2 && !is.obj(prop[0]);\n\n if (!isFromTo) {\n // Duration divided by the number of tweens\n if (!is.fnc(tweenSettings.duration)) {\n settings.duration = tweenSettings.duration / l;\n }\n } else {\n // Transform [from, to] values shorthand to a valid tween value\n prop = {\n value: prop\n };\n }\n }\n\n var propArray = is.arr(prop) ? prop : [prop];\n return propArray.map(function (v, i) {\n var obj = is.obj(v) && !is.pth(v) ? v : {\n value: v\n }; // Default delay value should only be applied to the first tween\n\n if (is.und(obj.delay)) {\n obj.delay = !i ? tweenSettings.delay : 0;\n } // Default endDelay value should only be applied to the last tween\n\n\n if (is.und(obj.endDelay)) {\n obj.endDelay = i === propArray.length - 1 ? tweenSettings.endDelay : 0;\n }\n\n return obj;\n }).map(function (k) {\n return mergeObjects(k, settings);\n });\n}\n\nfunction flattenKeyframes(keyframes) {\n var propertyNames = filterArray(flattenArray(keyframes.map(function (key) {\n return Object.keys(key);\n })), function (p) {\n return is.key(p);\n }).reduce(function (a, b) {\n if (a.indexOf(b) < 0) {\n a.push(b);\n }\n\n return a;\n }, []);\n var properties = {};\n\n var loop = function loop(i) {\n var propName = propertyNames[i];\n properties[propName] = keyframes.map(function (key) {\n var newKey = {};\n\n for (var p in key) {\n if (is.key(p)) {\n if (p == propName) {\n newKey.value = key[p];\n }\n } else {\n newKey[p] = key[p];\n }\n }\n\n return newKey;\n });\n };\n\n for (var i = 0; i < propertyNames.length; i++) {\n loop(i);\n }\n\n return properties;\n}\n\nfunction getProperties(tweenSettings, params) {\n var properties = [];\n var keyframes = params.keyframes;\n\n if (keyframes) {\n params = mergeObjects(flattenKeyframes(keyframes), params);\n }\n\n for (var p in params) {\n if (is.key(p)) {\n properties.push({\n name: p,\n tweens: normalizePropertyTweens(params[p], tweenSettings)\n });\n }\n }\n\n return properties;\n} // Tweens\n\n\nfunction normalizeTweenValues(tween, animatable) {\n var t = {};\n\n for (var p in tween) {\n var value = getFunctionValue(tween[p], animatable);\n\n if (is.arr(value)) {\n value = value.map(function (v) {\n return getFunctionValue(v, animatable);\n });\n\n if (value.length === 1) {\n value = value[0];\n }\n }\n\n t[p] = value;\n }\n\n t.duration = parseFloat(t.duration);\n t.delay = parseFloat(t.delay);\n return t;\n}\n\nfunction normalizeTweens(prop, animatable) {\n var previousTween;\n return prop.tweens.map(function (t) {\n var tween = normalizeTweenValues(t, animatable);\n var tweenValue = tween.value;\n var to = is.arr(tweenValue) ? tweenValue[1] : tweenValue;\n var toUnit = getUnit(to);\n var originalValue = getOriginalTargetValue(animatable.target, prop.name, toUnit, animatable);\n var previousValue = previousTween ? previousTween.to.original : originalValue;\n var from = is.arr(tweenValue) ? tweenValue[0] : previousValue;\n var fromUnit = getUnit(from) || getUnit(originalValue);\n var unit = toUnit || fromUnit;\n\n if (is.und(to)) {\n to = previousValue;\n }\n\n tween.from = decomposeValue(from, unit);\n tween.to = decomposeValue(getRelativeValue(to, from), unit);\n tween.start = previousTween ? previousTween.end : 0;\n tween.end = tween.start + tween.delay + tween.duration + tween.endDelay;\n tween.easing = parseEasings(tween.easing, tween.duration);\n tween.isPath = is.pth(tweenValue);\n tween.isPathTargetInsideSVG = tween.isPath && is.svg(animatable.target);\n tween.isColor = is.col(tween.from.original);\n\n if (tween.isColor) {\n tween.round = 1;\n }\n\n previousTween = tween;\n return tween;\n });\n} // Tween progress\n\n\nvar setProgressValue = {\n css: function css(t, p, v) {\n return t.style[p] = v;\n },\n attribute: function attribute(t, p, v) {\n return t.setAttribute(p, v);\n },\n object: function object(t, p, v) {\n return t[p] = v;\n },\n transform: function transform(t, p, v, transforms, manual) {\n transforms.list.set(p, v);\n\n if (p === transforms.last || manual) {\n var str = '';\n transforms.list.forEach(function (value, prop) {\n str += prop + \"(\" + value + \") \";\n });\n t.style.transform = str;\n }\n }\n}; // Set Value helper\n\nfunction setTargetsValue(targets, properties) {\n var animatables = getAnimatables(targets);\n animatables.forEach(function (animatable) {\n for (var property in properties) {\n var value = getFunctionValue(properties[property], animatable);\n var target = animatable.target;\n var valueUnit = getUnit(value);\n var originalValue = getOriginalTargetValue(target, property, valueUnit, animatable);\n var unit = valueUnit || getUnit(originalValue);\n var to = getRelativeValue(validateValue(value, unit), originalValue);\n var animType = getAnimationType(target, property);\n setProgressValue[animType](target, property, to, animatable.transforms, true);\n }\n });\n} // Animations\n\n\nfunction createAnimation(animatable, prop) {\n var animType = getAnimationType(animatable.target, prop.name);\n\n if (animType) {\n var tweens = normalizeTweens(prop, animatable);\n var lastTween = tweens[tweens.length - 1];\n return {\n type: animType,\n property: prop.name,\n animatable: animatable,\n tweens: tweens,\n duration: lastTween.end,\n delay: tweens[0].delay,\n endDelay: lastTween.endDelay\n };\n }\n}\n\nfunction getAnimations(animatables, properties) {\n return filterArray(flattenArray(animatables.map(function (animatable) {\n return properties.map(function (prop) {\n return createAnimation(animatable, prop);\n });\n })), function (a) {\n return !is.und(a);\n });\n} // Create Instance\n\n\nfunction getInstanceTimings(animations, tweenSettings) {\n var animLength = animations.length;\n\n var getTlOffset = function getTlOffset(anim) {\n return anim.timelineOffset ? anim.timelineOffset : 0;\n };\n\n var timings = {};\n timings.duration = animLength ? Math.max.apply(Math, animations.map(function (anim) {\n return getTlOffset(anim) + anim.duration;\n })) : tweenSettings.duration;\n timings.delay = animLength ? Math.min.apply(Math, animations.map(function (anim) {\n return getTlOffset(anim) + anim.delay;\n })) : tweenSettings.delay;\n timings.endDelay = animLength ? timings.duration - Math.max.apply(Math, animations.map(function (anim) {\n return getTlOffset(anim) + anim.duration - anim.endDelay;\n })) : tweenSettings.endDelay;\n return timings;\n}\n\nvar instanceID = 0;\n\nfunction createNewInstance(params) {\n var instanceSettings = replaceObjectProps(defaultInstanceSettings, params);\n var tweenSettings = replaceObjectProps(defaultTweenSettings, params);\n var properties = getProperties(tweenSettings, params);\n var animatables = getAnimatables(params.targets);\n var animations = getAnimations(animatables, properties);\n var timings = getInstanceTimings(animations, tweenSettings);\n var id = instanceID;\n instanceID++;\n return mergeObjects(instanceSettings, {\n id: id,\n children: [],\n animatables: animatables,\n animations: animations,\n duration: timings.duration,\n delay: timings.delay,\n endDelay: timings.endDelay\n });\n} // Core\n\n\nvar activeInstances = [];\n\nvar engine = function () {\n var raf;\n\n function play() {\n if (!raf && (!isDocumentHidden() || !anime.suspendWhenDocumentHidden) && activeInstances.length > 0) {\n raf = requestAnimationFrame(step);\n }\n }\n\n function step(t) {\n // memo on algorithm issue:\n // dangerous iteration over mutable `activeInstances`\n // (that collection may be updated from within callbacks of `tick`-ed animation instances)\n var activeInstancesLength = activeInstances.length;\n var i = 0;\n\n while (i < activeInstancesLength) {\n var activeInstance = activeInstances[i];\n\n if (!activeInstance.paused) {\n activeInstance.tick(t);\n i++;\n } else {\n activeInstances.splice(i, 1);\n activeInstancesLength--;\n }\n }\n\n raf = i > 0 ? requestAnimationFrame(step) : undefined;\n }\n\n function handleVisibilityChange() {\n if (!anime.suspendWhenDocumentHidden) {\n return;\n }\n\n if (isDocumentHidden()) {\n // suspend ticks\n raf = cancelAnimationFrame(raf);\n } else {\n // is back to active tab\n // first adjust animations to consider the time that ticks were suspended\n activeInstances.forEach(function (instance) {\n return instance._onDocumentVisibility();\n });\n engine();\n }\n }\n\n if (typeof document !== 'undefined') {\n document.addEventListener('visibilitychange', handleVisibilityChange);\n }\n\n return play;\n}();\n\nfunction isDocumentHidden() {\n return !!document && document.hidden;\n} // Public Instance\n\n\nfunction anime(params) {\n if (params === void 0) params = {};\n var startTime = 0,\n lastTime = 0,\n now = 0;\n var children,\n childrenLength = 0;\n var resolve = null;\n\n function makePromise(instance) {\n var promise = window.Promise && new Promise(function (_resolve) {\n return resolve = _resolve;\n });\n instance.finished = promise;\n return promise;\n }\n\n var instance = createNewInstance(params);\n var promise = makePromise(instance);\n\n function toggleInstanceDirection() {\n var direction = instance.direction;\n\n if (direction !== 'alternate') {\n instance.direction = direction !== 'normal' ? 'normal' : 'reverse';\n }\n\n instance.reversed = !instance.reversed;\n children.forEach(function (child) {\n return child.reversed = instance.reversed;\n });\n }\n\n function adjustTime(time) {\n return instance.reversed ? instance.duration - time : time;\n }\n\n function resetTime() {\n startTime = 0;\n lastTime = adjustTime(instance.currentTime) * (1 / anime.speed);\n }\n\n function seekChild(time, child) {\n if (child) {\n child.seek(time - child.timelineOffset);\n }\n }\n\n function syncInstanceChildren(time) {\n if (!instance.reversePlayback) {\n for (var i = 0; i < childrenLength; i++) {\n seekChild(time, children[i]);\n }\n } else {\n for (var i$1 = childrenLength; i$1--;) {\n seekChild(time, children[i$1]);\n }\n }\n }\n\n function setAnimationsProgress(insTime) {\n var i = 0;\n var animations = instance.animations;\n var animationsLength = animations.length;\n\n while (i < animationsLength) {\n var anim = animations[i];\n var animatable = anim.animatable;\n var tweens = anim.tweens;\n var tweenLength = tweens.length - 1;\n var tween = tweens[tweenLength]; // Only check for keyframes if there is more than one tween\n\n if (tweenLength) {\n tween = filterArray(tweens, function (t) {\n return insTime < t.end;\n })[0] || tween;\n }\n\n var elapsed = minMax(insTime - tween.start - tween.delay, 0, tween.duration) / tween.duration;\n var eased = isNaN(elapsed) ? 1 : tween.easing(elapsed);\n var strings = tween.to.strings;\n var round = tween.round;\n var numbers = [];\n var toNumbersLength = tween.to.numbers.length;\n var progress = void 0;\n\n for (var n = 0; n < toNumbersLength; n++) {\n var value = void 0;\n var toNumber = tween.to.numbers[n];\n var fromNumber = tween.from.numbers[n] || 0;\n\n if (!tween.isPath) {\n value = fromNumber + eased * (toNumber - fromNumber);\n } else {\n value = getPathProgress(tween.value, eased * toNumber, tween.isPathTargetInsideSVG);\n }\n\n if (round) {\n if (!(tween.isColor && n > 2)) {\n value = Math.round(value * round) / round;\n }\n }\n\n numbers.push(value);\n } // Manual Array.reduce for better performances\n\n\n var stringsLength = strings.length;\n\n if (!stringsLength) {\n progress = numbers[0];\n } else {\n progress = strings[0];\n\n for (var s = 0; s < stringsLength; s++) {\n var a = strings[s];\n var b = strings[s + 1];\n var n$1 = numbers[s];\n\n if (!isNaN(n$1)) {\n if (!b) {\n progress += n$1 + ' ';\n } else {\n progress += n$1 + b;\n }\n }\n }\n }\n\n setProgressValue[anim.type](animatable.target, anim.property, progress, animatable.transforms);\n anim.currentValue = progress;\n i++;\n }\n }\n\n function setCallback(cb) {\n if (instance[cb] && !instance.passThrough) {\n instance[cb](instance);\n }\n }\n\n function countIteration() {\n if (instance.remaining && instance.remaining !== true) {\n instance.remaining--;\n }\n }\n\n function setInstanceProgress(engineTime) {\n var insDuration = instance.duration;\n var insDelay = instance.delay;\n var insEndDelay = insDuration - instance.endDelay;\n var insTime = adjustTime(engineTime);\n instance.progress = minMax(insTime / insDuration * 100, 0, 100);\n instance.reversePlayback = insTime < instance.currentTime;\n\n if (children) {\n syncInstanceChildren(insTime);\n }\n\n if (!instance.began && instance.currentTime > 0) {\n instance.began = true;\n setCallback('begin');\n }\n\n if (!instance.loopBegan && instance.currentTime > 0) {\n instance.loopBegan = true;\n setCallback('loopBegin');\n }\n\n if (insTime <= insDelay && instance.currentTime !== 0) {\n setAnimationsProgress(0);\n }\n\n if (insTime >= insEndDelay && instance.currentTime !== insDuration || !insDuration) {\n setAnimationsProgress(insDuration);\n }\n\n if (insTime > insDelay && insTime < insEndDelay) {\n if (!instance.changeBegan) {\n instance.changeBegan = true;\n instance.changeCompleted = false;\n setCallback('changeBegin');\n }\n\n setCallback('change');\n setAnimationsProgress(insTime);\n } else {\n if (instance.changeBegan) {\n instance.changeCompleted = true;\n instance.changeBegan = false;\n setCallback('changeComplete');\n }\n }\n\n instance.currentTime = minMax(insTime, 0, insDuration);\n\n if (instance.began) {\n setCallback('update');\n }\n\n if (engineTime >= insDuration) {\n lastTime = 0;\n countIteration();\n\n if (!instance.remaining) {\n instance.paused = true;\n\n if (!instance.completed) {\n instance.completed = true;\n setCallback('loopComplete');\n setCallback('complete');\n\n if (!instance.passThrough && 'Promise' in window) {\n resolve();\n promise = makePromise(instance);\n }\n }\n } else {\n startTime = now;\n setCallback('loopComplete');\n instance.loopBegan = false;\n\n if (instance.direction === 'alternate') {\n toggleInstanceDirection();\n }\n }\n }\n }\n\n instance.reset = function () {\n var direction = instance.direction;\n instance.passThrough = false;\n instance.currentTime = 0;\n instance.progress = 0;\n instance.paused = true;\n instance.began = false;\n instance.loopBegan = false;\n instance.changeBegan = false;\n instance.completed = false;\n instance.changeCompleted = false;\n instance.reversePlayback = false;\n instance.reversed = direction === 'reverse';\n instance.remaining = instance.loop;\n children = instance.children;\n childrenLength = children.length;\n\n for (var i = childrenLength; i--;) {\n instance.children[i].reset();\n }\n\n if (instance.reversed && instance.loop !== true || direction === 'alternate' && instance.loop === 1) {\n instance.remaining++;\n }\n\n setAnimationsProgress(instance.reversed ? instance.duration : 0);\n }; // internal method (for engine) to adjust animation timings before restoring engine ticks (rAF)\n\n\n instance._onDocumentVisibility = resetTime; // Set Value helper\n\n instance.set = function (targets, properties) {\n setTargetsValue(targets, properties);\n return instance;\n };\n\n instance.tick = function (t) {\n now = t;\n\n if (!startTime) {\n startTime = now;\n }\n\n setInstanceProgress((now + (lastTime - startTime)) * anime.speed);\n };\n\n instance.seek = function (time) {\n setInstanceProgress(adjustTime(time));\n };\n\n instance.pause = function () {\n instance.paused = true;\n resetTime();\n };\n\n instance.play = function () {\n if (!instance.paused) {\n return;\n }\n\n if (instance.completed) {\n instance.reset();\n }\n\n instance.paused = false;\n activeInstances.push(instance);\n resetTime();\n engine();\n };\n\n instance.reverse = function () {\n toggleInstanceDirection();\n instance.completed = instance.reversed ? false : true;\n resetTime();\n };\n\n instance.restart = function () {\n instance.reset();\n instance.play();\n };\n\n instance.remove = function (targets) {\n var targetsArray = parseTargets(targets);\n removeTargetsFromInstance(targetsArray, instance);\n };\n\n instance.reset();\n\n if (instance.autoplay) {\n instance.play();\n }\n\n return instance;\n} // Remove targets from animation\n\n\nfunction removeTargetsFromAnimations(targetsArray, animations) {\n for (var a = animations.length; a--;) {\n if (arrayContains(targetsArray, animations[a].animatable.target)) {\n animations.splice(a, 1);\n }\n }\n}\n\nfunction removeTargetsFromInstance(targetsArray, instance) {\n var animations = instance.animations;\n var children = instance.children;\n removeTargetsFromAnimations(targetsArray, animations);\n\n for (var c = children.length; c--;) {\n var child = children[c];\n var childAnimations = child.animations;\n removeTargetsFromAnimations(targetsArray, childAnimations);\n\n if (!childAnimations.length && !child.children.length) {\n children.splice(c, 1);\n }\n }\n\n if (!animations.length && !children.length) {\n instance.pause();\n }\n}\n\nfunction removeTargetsFromActiveInstances(targets) {\n var targetsArray = parseTargets(targets);\n\n for (var i = activeInstances.length; i--;) {\n var instance = activeInstances[i];\n removeTargetsFromInstance(targetsArray, instance);\n }\n} // Stagger helpers\n\n\nfunction stagger(val, params) {\n if (params === void 0) params = {};\n var direction = params.direction || 'normal';\n var easing = params.easing ? parseEasings(params.easing) : null;\n var grid = params.grid;\n var axis = params.axis;\n var fromIndex = params.from || 0;\n var fromFirst = fromIndex === 'first';\n var fromCenter = fromIndex === 'center';\n var fromLast = fromIndex === 'last';\n var isRange = is.arr(val);\n var val1 = isRange ? parseFloat(val[0]) : parseFloat(val);\n var val2 = isRange ? parseFloat(val[1]) : 0;\n var unit = getUnit(isRange ? val[1] : val) || 0;\n var start = params.start || 0 + (isRange ? val1 : 0);\n var values = [];\n var maxValue = 0;\n return function (el, i, t) {\n if (fromFirst) {\n fromIndex = 0;\n }\n\n if (fromCenter) {\n fromIndex = (t - 1) / 2;\n }\n\n if (fromLast) {\n fromIndex = t - 1;\n }\n\n if (!values.length) {\n for (var index = 0; index < t; index++) {\n if (!grid) {\n values.push(Math.abs(fromIndex - index));\n } else {\n var fromX = !fromCenter ? fromIndex % grid[0] : (grid[0] - 1) / 2;\n var fromY = !fromCenter ? Math.floor(fromIndex / grid[0]) : (grid[1] - 1) / 2;\n var toX = index % grid[0];\n var toY = Math.floor(index / grid[0]);\n var distanceX = fromX - toX;\n var distanceY = fromY - toY;\n var value = Math.sqrt(distanceX * distanceX + distanceY * distanceY);\n\n if (axis === 'x') {\n value = -distanceX;\n }\n\n if (axis === 'y') {\n value = -distanceY;\n }\n\n values.push(value);\n }\n\n maxValue = Math.max.apply(Math, values);\n }\n\n if (easing) {\n values = values.map(function (val) {\n return easing(val / maxValue) * maxValue;\n });\n }\n\n if (direction === 'reverse') {\n values = values.map(function (val) {\n return axis ? val < 0 ? val * -1 : -val : Math.abs(maxValue - val);\n });\n }\n }\n\n var spacing = isRange ? (val2 - val1) / maxValue : val1;\n return start + spacing * (Math.round(values[i] * 100) / 100) + unit;\n };\n} // Timeline\n\n\nfunction timeline(params) {\n if (params === void 0) params = {};\n var tl = anime(params);\n tl.duration = 0;\n\n tl.add = function (instanceParams, timelineOffset) {\n var tlIndex = activeInstances.indexOf(tl);\n var children = tl.children;\n\n if (tlIndex > -1) {\n activeInstances.splice(tlIndex, 1);\n }\n\n function passThrough(ins) {\n ins.passThrough = true;\n }\n\n for (var i = 0; i < children.length; i++) {\n passThrough(children[i]);\n }\n\n var insParams = mergeObjects(instanceParams, replaceObjectProps(defaultTweenSettings, params));\n insParams.targets = insParams.targets || params.targets;\n var tlDuration = tl.duration;\n insParams.autoplay = false;\n insParams.direction = tl.direction;\n insParams.timelineOffset = is.und(timelineOffset) ? tlDuration : getRelativeValue(timelineOffset, tlDuration);\n passThrough(tl);\n tl.seek(insParams.timelineOffset);\n var ins = anime(insParams);\n passThrough(ins);\n children.push(ins);\n var timings = getInstanceTimings(children, params);\n tl.delay = timings.delay;\n tl.endDelay = timings.endDelay;\n tl.duration = timings.duration;\n tl.seek(0);\n tl.reset();\n\n if (tl.autoplay) {\n tl.play();\n }\n\n return tl;\n };\n\n return tl;\n}\n\nanime.version = '3.2.1';\nanime.speed = 1; // TODO:#review: naming, documentation\n\nanime.suspendWhenDocumentHidden = true;\nanime.running = activeInstances;\nanime.remove = removeTargetsFromActiveInstances;\nanime.get = getOriginalTargetValue;\nanime.set = setTargetsValue;\nanime.convertPx = convertPxToUnit;\nanime.path = getPath;\nanime.setDashoffset = setDashoffset;\nanime.stagger = stagger;\nanime.timeline = timeline;\nanime.easing = parseEasings;\nanime.penner = penner;\n\nanime.random = function (min, max) {\n return Math.floor(Math.random() * (max - min + 1)) + min;\n};\n\nexport default anime;","import React, { useState, useEffect } from 'react';\r\nimport { Helmet } from 'react-helmet';\r\nimport PropTypes from 'prop-types';\r\nimport anime from 'animejs';\r\nimport styled from 'styled-components';\r\nimport { IconLoader } from '@components/icons';\r\n\r\nconst StyledLoader = styled.div`\r\n ${({ theme }) => theme.mixins.flexCenter};\r\n position: fixed;\r\n top: 0;\r\n bottom: 0;\r\n left: 0;\r\n right: 0;\r\n width: 100%;\r\n height: 100%;\r\n background-color: var(--dark-navy);\r\n z-index: 99;\r\n\r\n .logo-wrapper {\r\n width: max-content;\r\n max-width: 100px;\r\n transition: var(--transition);\r\n opacity: ${props => (props.isMounted ? 1 : 0)};\r\n svg {\r\n display: block;\r\n width: 100%;\r\n height: 100%;\r\n margin: 0 auto;\r\n fill: none;\r\n user-select: none;\r\n #B {\r\n opacity: 0;\r\n }\r\n }\r\n }\r\n`;\r\n\r\nconst Loader = ({ finishLoading }) => {\r\n const animate = () => {\r\n const loader = anime.timeline({\r\n complete: () => finishLoading(),\r\n });\r\n\r\n loader\r\n .add({\r\n targets: '#logo path',\r\n delay: 300,\r\n duration: 1500,\r\n easing: 'easeInOutQuart',\r\n strokeDashoffset: [anime.setDashoffset, 0],\r\n })\r\n .add({\r\n targets: '#logo #B',\r\n duration: 700,\r\n easing: 'easeInOutQuart',\r\n opacity: 1,\r\n })\r\n .add({\r\n targets: '#logo',\r\n delay: 500,\r\n duration: 300,\r\n easing: 'easeInOutQuart',\r\n opacity: 0,\r\n scale: 0.1,\r\n })\r\n .add({\r\n targets: '.loader',\r\n duration: 200,\r\n easing: 'easeInOutQuart',\r\n opacity: 0,\r\n zIndex: -1,\r\n });\r\n };\r\n\r\n const [isMounted, setIsMounted] = useState(false);\r\n\r\n useEffect(() => {\r\n const timeout = setTimeout(() => setIsMounted(true), 10);\r\n animate();\r\n return () => clearTimeout(timeout);\r\n }, []);\r\n\r\n return (\r\n <StyledLoader className=\"loader\" isMounted={isMounted}>\r\n <Helmet bodyAttributes={{ class: `hidden` }} />\r\n\r\n <div className=\"logo-wrapper\">\r\n <IconLoader />\r\n </div>\r\n </StyledLoader>\r\n );\r\n};\r\n\r\nLoader.propTypes = {\r\n finishLoading: PropTypes.func.isRequired,\r\n};\r\n\r\nexport default Loader;\r\n","import { useEffect } from 'react';\r\n\r\n// https://usehooks.com/useOnClickOutside/\r\n\r\nconst useOnClickOutside = (ref, handler) => {\r\n useEffect(\r\n () => {\r\n const listener = event => {\r\n // Do nothing if clicking ref's element or descendent elements\r\n if (!ref.current || ref.current.contains(event.target)) {\r\n return;\r\n }\r\n\r\n handler(event);\r\n };\r\n\r\n document.addEventListener('mousedown', listener);\r\n document.addEventListener('touchstart', listener);\r\n\r\n return () => {\r\n document.removeEventListener('mousedown', listener);\r\n document.removeEventListener('touchstart', listener);\r\n };\r\n },\r\n // Add ref and handler to effect dependencies\r\n // It's worth noting that because passed in handler is a new ...\r\n // ... function on every render that will cause this effect ...\r\n // ... callback/cleanup to run every render. It's not a big deal ...\r\n // ... but to optimize you can wrap handler in useCallback before ...\r\n // ... passing it into this hook.\r\n [ref, handler],\r\n );\r\n};\r\n\r\nexport default useOnClickOutside;\r\n","const SCROLL_UP = 'up';\r\nconst SCROLL_DOWN = 'down';\r\n\r\nimport { useState, useEffect } from 'react';\r\n\r\nconst useScrollDirection = ({ initialDirection, thresholdPixels, off } = {}) => {\r\n const [scrollDir, setScrollDir] = useState(initialDirection);\r\n\r\n useEffect(() => {\r\n const threshold = thresholdPixels || 0;\r\n let lastScrollY = window.pageYOffset;\r\n let ticking = false;\r\n\r\n const updateScrollDir = () => {\r\n const scrollY = window.pageYOffset;\r\n\r\n if (Math.abs(scrollY - lastScrollY) < threshold) {\r\n // We haven't exceeded the threshold\r\n ticking = false;\r\n return;\r\n }\r\n\r\n setScrollDir(scrollY > lastScrollY ? SCROLL_DOWN : SCROLL_UP);\r\n lastScrollY = scrollY > 0 ? scrollY : 0;\r\n ticking = false;\r\n };\r\n\r\n const onScroll = () => {\r\n if (!ticking) {\r\n window.requestAnimationFrame(updateScrollDir);\r\n ticking = true;\r\n }\r\n };\r\n\r\n /**\r\n * Bind the scroll handler if `off` is set to false.\r\n * If `off` is set to true reset the scroll direction.\r\n */\r\n !off ? window.addEventListener('scroll', onScroll) : setScrollDir(initialDirection);\r\n\r\n return () => window.removeEventListener('scroll', onScroll);\r\n }, [initialDirection, thresholdPixels, off]);\r\n\r\n return scrollDir;\r\n};\r\n\r\nexport default useScrollDirection;\r\n","import React, { useState, useEffect } from 'react';\r\nimport { Link } from 'gatsby';\r\nimport PropTypes from 'prop-types';\r\nimport { CSSTransition, TransitionGroup } from 'react-transition-group';\r\nimport styled, { css } from 'styled-components';\r\nimport { navLinks } from '@config';\r\nimport { loaderDelay } from '@utils';\r\nimport { useScrollDirection } from '@hooks';\r\nimport { Menu } from '@components';\r\nimport { IconLogo } from '@components/icons';\r\n\r\nconst StyledHeader = styled.header`\r\n ${({ theme }) => theme.mixins.flexBetween};\r\n position: fixed;\r\n top: 0;\r\n z-index: 11;\r\n padding: 0px 50px;\r\n width: 100%;\r\n height: var(--nav-height);\r\n background-color: var(--navy);\r\n filter: none !important;\r\n pointer-events: auto !important;\r\n user-select: auto !important;\r\n backdrop-filter: blur(10px);\r\n transition: var(--transition);\r\n\r\n ${props =>\r\n props.scrollDirection === 'up' &&\r\n !props.scrolledToTop &&\r\n css`\r\n height: var(--nav-scroll-height);\r\n transform: translateY(0px);\r\n background-color: rgba(10, 25, 47, 0.85);\r\n box-shadow: 0 10px 30px -10px var(--navy-shadow);\r\n `};\r\n\r\n ${props =>\r\n props.scrollDirection === 'down' &&\r\n !props.scrolledToTop &&\r\n css`\r\n height: var(--nav-scroll-height);\r\n transform: translateY(calc(var(--nav-scroll-height) * -1));\r\n box-shadow: 0 10px 30px -10px var(--navy-shadow);\r\n `};\r\n\r\n @media (max-width: 1080px) {\r\n padding: 0 40px;\r\n }\r\n @media (max-width: 768px) {\r\n padding: 0 25px;\r\n }\r\n`;\r\n\r\nconst StyledNav = styled.nav`\r\n ${({ theme }) => theme.mixins.flexBetween};\r\n position: relative;\r\n width: 100%;\r\n color: var(--lightest-slate);\r\n font-family: var(--font-mono);\r\n counter-reset: item 0;\r\n z-index: 12;\r\n\r\n .logo {\r\n ${({ theme }) => theme.mixins.flexCenter};\r\n\r\n a {\r\n color: var(--green);\r\n width: 42px;\r\n height: 42px;\r\n\r\n &:hover,\r\n &:focus {\r\n svg {\r\n fill: var(--green-tint);\r\n }\r\n }\r\n\r\n svg {\r\n fill: none;\r\n transition: var(--transition);\r\n user-select: none;\r\n }\r\n }\r\n }\r\n`;\r\n\r\nconst StyledLinks = styled.div`\r\n display: flex;\r\n align-items: center;\r\n\r\n @media (max-width: 768px) {\r\n display: none;\r\n }\r\n\r\n ol {\r\n ${({ theme }) => theme.mixins.flexBetween};\r\n padding: 0;\r\n margin: 0;\r\n list-style: none;\r\n\r\n li {\r\n margin: 0 5px;\r\n position: relative;\r\n counter-increment: item 1;\r\n font-size: var(--fz-xs);\r\n\r\n a {\r\n padding: 10px;\r\n\r\n &:before {\r\n content: '0' counter(item) '.';\r\n margin-right: 5px;\r\n color: var(--green);\r\n font-size: var(--fz-xxs);\r\n text-align: right;\r\n }\r\n }\r\n }\r\n }\r\n\r\n .resume-button {\r\n ${({ theme }) => theme.mixins.smallButton};\r\n margin-left: 15px;\r\n font-size: var(--fz-xs);\r\n }\r\n`;\r\n\r\nconst Nav = ({ isHome }) => {\r\n const [isMounted, setIsMounted] = useState(!isHome);\r\n const scrollDirection = useScrollDirection('down');\r\n const [scrolledToTop, setScrolledToTop] = useState(true);\r\n\r\n const handleScroll = () => {\r\n setScrolledToTop(window.pageYOffset < 50);\r\n };\r\n\r\n useEffect(() => {\r\n const timeout = setTimeout(() => {\r\n setIsMounted(true);\r\n }, 100);\r\n\r\n window.addEventListener('scroll', handleScroll);\r\n\r\n return () => {\r\n clearTimeout(timeout);\r\n window.removeEventListener('scroll', handleScroll);\r\n };\r\n }, []);\r\n\r\n const timeout = isHome ? loaderDelay : 0;\r\n const fadeClass = isHome ? 'fade' : '';\r\n const fadeDownClass = isHome ? 'fadedown' : '';\r\n\r\n return (\r\n <StyledHeader scrollDirection={scrollDirection} scrolledToTop={scrolledToTop}>\r\n <StyledNav>\r\n <TransitionGroup component={null}>\r\n {isMounted && (\r\n <CSSTransition classNames={fadeClass} timeout={timeout}>\r\n <div className=\"logo\" tabIndex=\"-1\">\r\n {isHome ? (\r\n <a href=\"/\" aria-label=\"home\">\r\n <IconLogo />\r\n </a>\r\n ) : (\r\n <Link to=\"/\" aria-label=\"home\">\r\n <IconLogo />\r\n </Link>\r\n )}\r\n </div>\r\n </CSSTransition>\r\n )}\r\n </TransitionGroup>\r\n\r\n <StyledLinks>\r\n <ol>\r\n <TransitionGroup component={null}>\r\n {isMounted &&\r\n navLinks &&\r\n navLinks.map(({ url, name }, i) => (\r\n <CSSTransition key={i} classNames={fadeDownClass} timeout={timeout}>\r\n <li key={i} style={{ transitionDelay: `${isHome ? i * 100 : 0}ms` }}>\r\n <Link to={url}>{name}</Link>\r\n </li>\r\n </CSSTransition>\r\n ))}\r\n </TransitionGroup>\r\n </ol>\r\n\r\n <TransitionGroup component={null}>\r\n {isMounted && (\r\n <CSSTransition classNames={fadeDownClass} timeout={timeout}>\r\n <div style={{ transitionDelay: `${isHome ? navLinks.length * 100 : 0}ms` }}>\r\n <a href=\"/resume.pdf\" className=\"resume-button\">\r\n Resume\r\n </a>\r\n </div>\r\n </CSSTransition>\r\n )}\r\n </TransitionGroup>\r\n </StyledLinks>\r\n\r\n <TransitionGroup component={null}>\r\n {isMounted && (\r\n <CSSTransition classNames={fadeClass} timeout={timeout}>\r\n <Menu />\r\n </CSSTransition>\r\n )}\r\n </TransitionGroup>\r\n </StyledNav>\r\n </StyledHeader>\r\n );\r\n};\r\n\r\nNav.propTypes = {\r\n isHome: PropTypes.bool,\r\n};\r\n\r\nexport default Nav;\r\n","import React, { useState, useEffect, useRef } from 'react';\r\nimport { Helmet } from 'react-helmet';\r\nimport { Link } from 'gatsby';\r\nimport styled from 'styled-components';\r\nimport { navLinks } from '@config';\r\nimport { KEY_CODES } from '@utils';\r\nimport { useOnClickOutside } from '@hooks';\r\n\r\nconst StyledMenu = styled.div`\r\n display: none;\r\n\r\n @media (max-width: 768px) {\r\n display: block;\r\n }\r\n`;\r\n\r\nconst StyledHamburgerButton = styled.button`\r\n display: none;\r\n\r\n @media (max-width: 768px) {\r\n ${({ theme }) => theme.mixins.flexCenter};\r\n position: relative;\r\n z-index: 10;\r\n margin-right: -15px;\r\n padding: 15px;\r\n border: 0;\r\n background-color: transparent;\r\n color: inherit;\r\n text-transform: none;\r\n transition-timing-function: linear;\r\n transition-duration: 0.15s;\r\n transition-property: opacity, filter;\r\n }\r\n\r\n .ham-box {\r\n display: inline-block;\r\n position: relative;\r\n width: var(--hamburger-width);\r\n height: 24px;\r\n }\r\n\r\n .ham-box-inner {\r\n position: absolute;\r\n top: 50%;\r\n right: 0;\r\n width: var(--hamburger-width);\r\n height: 2px;\r\n border-radius: var(--border-radius);\r\n background-color: var(--green);\r\n transition-duration: 0.22s;\r\n transition-property: transform;\r\n transition-delay: ${props => (props.menuOpen ? `0.12s` : `0s`)};\r\n transform: rotate(${props => (props.menuOpen ? `225deg` : `0deg`)});\r\n transition-timing-function: cubic-bezier(\r\n ${props => (props.menuOpen ? `0.215, 0.61, 0.355, 1` : `0.55, 0.055, 0.675, 0.19`)}\r\n );\r\n &:before,\r\n &:after {\r\n content: '';\r\n display: block;\r\n position: absolute;\r\n left: auto;\r\n right: 0;\r\n width: var(--hamburger-width);\r\n height: 2px;\r\n border-radius: 4px;\r\n background-color: var(--green);\r\n transition-timing-function: ease;\r\n transition-duration: 0.15s;\r\n transition-property: transform;\r\n }\r\n &:before {\r\n width: ${props => (props.menuOpen ? `100%` : `120%`)};\r\n top: ${props => (props.menuOpen ? `0` : `-10px`)};\r\n opacity: ${props => (props.menuOpen ? 0 : 1)};\r\n transition: ${({ menuOpen }) =>\r\n menuOpen ? 'var(--ham-before-active)' : 'var(--ham-before)'};\r\n }\r\n &:after {\r\n width: ${props => (props.menuOpen ? `100%` : `80%`)};\r\n bottom: ${props => (props.menuOpen ? `0` : `-10px`)};\r\n transform: rotate(${props => (props.menuOpen ? `-90deg` : `0`)});\r\n transition: ${({ menuOpen }) => (menuOpen ? 'var(--ham-after-active)' : 'var(--ham-after)')};\r\n }\r\n }\r\n`;\r\n\r\nconst StyledSidebar = styled.aside`\r\n display: none;\r\n\r\n @media (max-width: 768px) {\r\n ${({ theme }) => theme.mixins.flexCenter};\r\n position: fixed;\r\n top: 0;\r\n bottom: 0;\r\n right: 0;\r\n padding: 50px 10px;\r\n width: min(75vw, 400px);\r\n height: 100vh;\r\n outline: 0;\r\n background-color: var(--light-navy);\r\n box-shadow: -10px 0px 30px -15px var(--navy-shadow);\r\n z-index: 9;\r\n transform: translateX(${props => (props.menuOpen ? 0 : 100)}vw);\r\n visibility: ${props => (props.menuOpen ? 'visible' : 'hidden')};\r\n transition: var(--transition);\r\n }\r\n\r\n nav {\r\n ${({ theme }) => theme.mixins.flexBetween};\r\n width: 100%;\r\n flex-direction: column;\r\n color: var(--lightest-slate);\r\n font-family: var(--font-mono);\r\n text-align: center;\r\n }\r\n\r\n ol {\r\n padding: 0;\r\n margin: 0;\r\n list-style: none;\r\n width: 100%;\r\n\r\n li {\r\n position: relative;\r\n margin: 0 auto 20px;\r\n counter-increment: item 1;\r\n font-size: clamp(var(--fz-sm), 4vw, var(--fz-lg));\r\n\r\n @media (max-width: 600px) {\r\n margin: 0 auto 10px;\r\n }\r\n\r\n &:before {\r\n content: '0' counter(item) '.';\r\n display: block;\r\n margin-bottom: 5px;\r\n color: var(--green);\r\n font-size: var(--fz-sm);\r\n }\r\n }\r\n\r\n a {\r\n ${({ theme }) => theme.mixins.link};\r\n width: 100%;\r\n padding: 3px 20px 20px;\r\n }\r\n }\r\n\r\n .resume-link {\r\n ${({ theme }) => theme.mixins.bigButton};\r\n padding: 18px 50px;\r\n margin: 10% auto 0;\r\n width: max-content;\r\n }\r\n`;\r\n\r\nconst Menu = () => {\r\n const [menuOpen, setMenuOpen] = useState(false);\r\n\r\n const toggleMenu = () => setMenuOpen(!menuOpen);\r\n\r\n const buttonRef = useRef(null);\r\n const navRef = useRef(null);\r\n\r\n let menuFocusables;\r\n let firstFocusableEl;\r\n let lastFocusableEl;\r\n\r\n const setFocusables = () => {\r\n menuFocusables = [buttonRef.current, ...Array.from(navRef.current.querySelectorAll('a'))];\r\n firstFocusableEl = menuFocusables[0];\r\n lastFocusableEl = menuFocusables[menuFocusables.length - 1];\r\n };\r\n\r\n const handleBackwardTab = e => {\r\n if (document.activeElement === firstFocusableEl) {\r\n e.preventDefault();\r\n lastFocusableEl.focus();\r\n }\r\n };\r\n\r\n const handleForwardTab = e => {\r\n if (document.activeElement === lastFocusableEl) {\r\n e.preventDefault();\r\n firstFocusableEl.focus();\r\n }\r\n };\r\n\r\n const onKeyDown = e => {\r\n switch (e.key) {\r\n case KEY_CODES.ESCAPE:\r\n case KEY_CODES.ESCAPE_IE11: {\r\n setMenuOpen(false);\r\n break;\r\n }\r\n\r\n case KEY_CODES.TAB: {\r\n if (menuFocusables && menuFocusables.length === 1) {\r\n e.preventDefault();\r\n break;\r\n }\r\n if (e.shiftKey) {\r\n handleBackwardTab(e);\r\n } else {\r\n handleForwardTab(e);\r\n }\r\n break;\r\n }\r\n\r\n default: {\r\n break;\r\n }\r\n }\r\n };\r\n\r\n const onResize = e => {\r\n if (e.currentTarget.innerWidth > 768) {\r\n setMenuOpen(false);\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n document.addEventListener('keydown', onKeyDown);\r\n window.addEventListener('resize', onResize);\r\n\r\n setFocusables();\r\n\r\n return () => {\r\n document.removeEventListener('keydown', onKeyDown);\r\n window.removeEventListener('resize', onResize);\r\n };\r\n }, []);\r\n\r\n const wrapperRef = useRef();\r\n useOnClickOutside(wrapperRef, () => setMenuOpen(false));\r\n\r\n return (\r\n <StyledMenu>\r\n <Helmet>\r\n <body className={menuOpen ? 'blur' : ''} />\r\n </Helmet>\r\n\r\n <div ref={wrapperRef}>\r\n <StyledHamburgerButton onClick={toggleMenu} menuOpen={menuOpen} ref={buttonRef}>\r\n <div className=\"ham-box\">\r\n <div className=\"ham-box-inner\" />\r\n </div>\r\n </StyledHamburgerButton>\r\n\r\n <StyledSidebar menuOpen={menuOpen} aria-hidden={!menuOpen} tabIndex={menuOpen ? 1 : -1}>\r\n <nav ref={navRef}>\r\n {navLinks && (\r\n <ol>\r\n {navLinks.map(({ url, name }, i) => (\r\n <li key={i}>\r\n <Link to={url}>{name}</Link>\r\n </li>\r\n ))}\r\n </ol>\r\n )}\r\n\r\n <a href=\"/resume.pdf\" className=\"resume-link\">\r\n Resume\r\n </a>\r\n </nav>\r\n </StyledSidebar>\r\n </div>\r\n </StyledMenu>\r\n );\r\n};\r\n\r\nexport default Menu;\r\n","import React, { useState, useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { CSSTransition, TransitionGroup } from 'react-transition-group';\r\nimport styled from 'styled-components';\r\nimport { loaderDelay } from '@utils';\r\n\r\nconst StyledSideElement = styled.div`\r\n width: 40px;\r\n position: fixed;\r\n bottom: 0;\r\n left: ${props => (props.orientation === 'left' ? '40px' : 'auto')};\r\n right: ${props => (props.orientation === 'left' ? 'auto' : '40px')};\r\n z-index: 10;\r\n color: var(--light-slate);\r\n\r\n @media (max-width: 1080px) {\r\n left: ${props => (props.orientation === 'left' ? '20px' : 'auto')};\r\n right: ${props => (props.orientation === 'left' ? 'auto' : '20px')};\r\n }\r\n\r\n @media (max-width: 768px) {\r\n display: none;\r\n }\r\n`;\r\n\r\nconst Side = ({ children, isHome, orientation }) => {\r\n const [isMounted, setIsMounted] = useState(!isHome);\r\n\r\n useEffect(() => {\r\n if (!isHome) {\r\n return;\r\n }\r\n const timeout = setTimeout(() => setIsMounted(true), loaderDelay);\r\n return () => clearTimeout(timeout);\r\n }, []);\r\n\r\n return (\r\n <StyledSideElement orientation={orientation}>\r\n <TransitionGroup component={null}>\r\n {isMounted && (\r\n <CSSTransition classNames={isHome ? 'fade' : ''} timeout={isHome ? loaderDelay : 0}>\r\n {children}\r\n </CSSTransition>\r\n )}\r\n </TransitionGroup>\r\n </StyledSideElement>\r\n );\r\n};\r\n\r\nSide.propTypes = {\r\n children: PropTypes.node.isRequired,\r\n isHome: PropTypes.bool,\r\n orientation: PropTypes.string,\r\n};\r\n\r\nexport default Side;\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport styled from 'styled-components';\r\nimport { socialMedia } from '@config';\r\nimport { Side } from '@components';\r\nimport { Icon } from '@components/icons';\r\n\r\nconst StyledSocialList = styled.ul`\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n margin: 0;\r\n padding: 0;\r\n list-style: none;\r\n\r\n &:after {\r\n content: '';\r\n display: block;\r\n width: 1px;\r\n height: 90px;\r\n margin: 0 auto;\r\n background-color: var(--light-slate);\r\n }\r\n\r\n li {\r\n padding: 10px;\r\n\r\n &:last-of-type {\r\n margin-bottom: 20px;\r\n }\r\n\r\n a {\r\n &:hover,\r\n &:focus {\r\n transform: translateY(-3px);\r\n }\r\n\r\n svg {\r\n width: 18px;\r\n height: 18px;\r\n }\r\n }\r\n }\r\n`;\r\n\r\nconst Social = ({ isHome }) => (\r\n <Side isHome={isHome} orientation=\"left\">\r\n <StyledSocialList>\r\n {socialMedia &&\r\n socialMedia.map(({ url, name }, i) => (\r\n <li key={i}>\r\n <a href={url} aria-label={name}>\r\n <Icon name={name} />\r\n </a>\r\n </li>\r\n ))}\r\n </StyledSocialList>\r\n </Side>\r\n);\r\n\r\nSocial.propTypes = {\r\n isHome: PropTypes.bool,\r\n};\r\n\r\nexport default Social;\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport styled from 'styled-components';\r\nimport { email } from '@config';\r\nimport { Side } from '@components';\r\n\r\nconst StyledLinkWrapper = styled.div`\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n position: relative;\r\n\r\n &:after {\r\n content: '';\r\n display: block;\r\n width: 1px;\r\n height: 90px;\r\n margin: 0 auto;\r\n background-color: var(--light-slate);\r\n }\r\n\r\n a {\r\n margin: 20px auto;\r\n padding: 10px;\r\n font-family: var(--font-mono);\r\n font-size: var(--fz-xxs);\r\n letter-spacing: 0.1em;\r\n writing-mode: vertical-rl;\r\n\r\n &:hover,\r\n &:focus {\r\n transform: translateY(-3px);\r\n }\r\n }\r\n`;\r\n\r\nconst Email = ({ isHome }) => (\r\n <Side isHome={isHome} orientation=\"right\">\r\n <StyledLinkWrapper>\r\n <a href={`mailto:${email}`}>{email}</a>\r\n </StyledLinkWrapper>\r\n </Side>\r\n);\r\n\r\nEmail.propTypes = {\r\n isHome: PropTypes.bool,\r\n};\r\n\r\nexport default Email;\r\n","import React, { useState, useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport styled from 'styled-components';\r\nimport { Icon } from '@components/icons';\r\nimport { socialMedia } from '@config';\r\n\r\nconst StyledFooter = styled.footer`\r\n ${({ theme }) => theme.mixins.flexCenter};\r\n flex-direction: column;\r\n height: auto;\r\n min-height: 70px;\r\n padding: 15px;\r\n text-align: center;\r\n`;\r\n\r\nconst StyledSocialLinks = styled.div`\r\n display: none;\r\n\r\n @media (max-width: 768px) {\r\n display: block;\r\n width: 100%;\r\n max-width: 270px;\r\n margin: 0 auto 10px;\r\n color: var(--light-slate);\r\n }\r\n\r\n ul {\r\n ${({ theme }) => theme.mixins.flexBetween};\r\n padding: 0;\r\n margin: 0;\r\n list-style: none;\r\n\r\n a {\r\n padding: 10px;\r\n svg {\r\n width: 20px;\r\n height: 20px;\r\n }\r\n }\r\n }\r\n`;\r\n\r\nconst StyledCredit = styled.div`\r\n color: var(--light-slate);\r\n font-family: var(--font-mono);\r\n font-size: var(--fz-xxs);\r\n line-height: 1;\r\n\r\n a {\r\n padding: 10px;\r\n }\r\n\r\n .github-stats {\r\n margin-top: 10px;\r\n\r\n & > span {\r\n display: inline-flex;\r\n align-items: center;\r\n margin: 0 7px;\r\n }\r\n svg {\r\n display: inline-block;\r\n width: auto;\r\n height: 15px;\r\n margin-right: 5px;\r\n }\r\n }\r\n`;\r\n\r\nconst Footer = () => {\r\n const [githubInfo, setGitHubInfo] = useState({\r\n stars: null,\r\n forks: null,\r\n });\r\n\r\n useEffect(() => {\r\n if (process.env.NODE_ENV == 'production') {\r\n return;\r\n }\r\n fetch('https://github.com/pradyot-09/pradyot-09.github.io')\r\n .then(response => response.json())\r\n .then(json => {\r\n const { stargazers_count, forks_count } = json;\r\n setGitHubInfo({\r\n stars: stargazers_count,\r\n forks: forks_count,\r\n });\r\n })\r\n .catch(e => console.error(e));\r\n }, []);\r\n\r\n return (\r\n <StyledFooter>\r\n <StyledSocialLinks>\r\n <ul>\r\n {socialMedia &&\r\n socialMedia.map(({ name, url }, i) => (\r\n <li key={i}>\r\n <a href={url} aria-label={name}>\r\n <Icon name={name} />\r\n </a>\r\n </li>\r\n ))}\r\n </ul>\r\n </StyledSocialLinks>\r\n\r\n <StyledCredit tabindex=\"-1\">\r\n <a href=\"https://github.com/bchiang7\">\r\n <div>Designed & Built by Britanny Chiang</div>\r\n\r\n {githubInfo.stars && githubInfo.forks && (\r\n <div className=\"github-stats\">\r\n <span>\r\n <Icon name=\"Star\" />\r\n <span>{githubInfo.stars.toLocaleString()}</span>\r\n </span>\r\n <span>\r\n <Icon name=\"Fork\" />\r\n <span>{githubInfo.forks.toLocaleString()}</span>\r\n </span>\r\n </div>\r\n )}\r\n </a>\r\n </StyledCredit>\r\n </StyledFooter>\r\n );\r\n};\r\n\r\nFooter.propTypes = {\r\n githubInfo: PropTypes.object,\r\n};\r\n\r\nexport default Footer;\r\n","import React, { useState, useEffect } from 'react';\r\nimport { CSSTransition, TransitionGroup } from 'react-transition-group';\r\nimport styled from 'styled-components';\r\nimport Typist from \"react-typist\";\r\nimport { email } from '@config';\r\nimport { navDelay, loaderDelay } from '@utils';\r\n\r\nconst StyledHeroSection = styled.section`\r\n ${({ theme }) => theme.mixins.flexCenter};\r\n flex-direction: column;\r\n align-items: flex-start;\r\n min-height: 100vh;\r\n\r\n h1 {\r\n margin: 0 0 30px 4px;\r\n color: var(--green);\r\n font-family: var(--font-mono);\r\n font-size: clamp(var(--fz-sm), 5vw, var(--fz-md));\r\n font-weight: 400;\r\n\r\n @media (max-width: 480px) {\r\n margin: 0 0 20px 2px;\r\n }\r\n }\r\n\r\n h3 {\r\n margin-top: 10px;\r\n color: var(--slate);\r\n line-height: 0.9;\r\n }\r\n\r\n p {\r\n margin: 20px 0 0;\r\n max-width: 500px;\r\n }\r\n\r\n .email-link {\r\n ${({ theme }) => theme.mixins.bigButton};\r\n margin-top: 50px;\r\n }\r\n`;\r\n\r\n\r\nconst Hero = () => {\r\n const [isMounted, setIsMounted] = useState(false);\r\n\r\n useEffect(() => {\r\n const timeout = setTimeout(() => setIsMounted(true), navDelay);\r\n return () => clearTimeout(timeout);\r\n }, []);\r\n\r\n const one = <h1>Hi, my name is</h1>;\r\n const two = <h2 className=\"big-heading\"><Typist cursor={{ hideWhenDone: true}}>Pradyot Patil.</Typist></h2>;\r\n const three = <h3><Typist cursor={{ hideWhenDone: true}}> Engineer | Data Scientist | Programmer | Athlete | Passionate about teaching machines how to think.</Typist></h3>;\r\n const four = (\r\n <p align=\"justify\">\r\n I'm a M.Sc. Computer Science student at Delft University of Technology, Netherlands specializing in \r\n\t data science. I'm interested in AI/ML, software development, software analytics, and everything in between.\r\n </p>\r\n );\r\n const five = (\r\n <a href={`mailto:${email}`} className=\"email-link\">\r\n Get In Touch\r\n </a>\r\n );\r\n\r\n const items = [one, two, three, four, five];\r\n\r\n return (\r\n <StyledHeroSection>\r\n <TransitionGroup component={null}>\r\n {isMounted &&\r\n items.map((item, i) => (\r\n <CSSTransition key={i} classNames=\"fadeup\" timeout={loaderDelay}>\r\n <div style={{ transitionDelay: `${i + 1}00ms` }}>{item}</div>\r\n </CSSTransition>\r\n ))}\r\n </TransitionGroup>\r\n </StyledHeroSection>\r\n );\r\n};\r\n\r\nexport default Hero;\r\n","/*! @license is-dom-node v1.0.4\n\n\tCopyright 2018 Fisssion LLC.\n\n\tPermission is hereby granted, free of charge, to any person obtaining a copy\n\tof this software and associated documentation files (the \"Software\"), to deal\n\tin the Software without restriction, including without limitation the rights\n\tto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\tcopies of the Software, and to permit persons to whom the Software is\n\tfurnished to do so, subject to the following conditions:\n\n\tThe above copyright notice and this permission notice shall be included in all\n\tcopies or substantial portions of the Software.\n\n\tTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\tIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\tFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\tAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\tLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\tOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n\tSOFTWARE.\n\n*/\nfunction isDomNode(x) {\n return typeof window.Node === 'object' ? x instanceof window.Node : x !== null && typeof x === 'object' && typeof x.nodeType === 'number' && typeof x.nodeName === 'string';\n}\n\nexport default isDomNode;","/*! @license is-dom-node-list v1.2.1\n\n\tCopyright 2018 Fisssion LLC.\n\n\tPermission is hereby granted, free of charge, to any person obtaining a copy\n\tof this software and associated documentation files (the \"Software\"), to deal\n\tin the Software without restriction, including without limitation the rights\n\tto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\tcopies of the Software, and to permit persons to whom the Software is\n\tfurnished to do so, subject to the following conditions:\n\n\tThe above copyright notice and this permission notice shall be included in all\n\tcopies or substantial portions of the Software.\n\n\tTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\tIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\tFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\tAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\tLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\tOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n\tSOFTWARE.\n\n*/\nimport isDomNode from 'is-dom-node';\n\nfunction isDomNodeList(x) {\n var prototypeToString = Object.prototype.toString.call(x);\n var regex = /^\\[object (HTMLCollection|NodeList|Object)\\]$/;\n return typeof window.NodeList === 'object' ? x instanceof window.NodeList : x !== null && typeof x === 'object' && typeof x.length === 'number' && regex.test(prototypeToString) && (x.length === 0 || isDomNode(x[0]));\n}\n\nexport default isDomNodeList;","/*! @license Tealight v0.3.6\n\n\tCopyright 2018 Fisssion LLC.\n\n\tPermission is hereby granted, free of charge, to any person obtaining a copy\n\tof this software and associated documentation files (the \"Software\"), to deal\n\tin the Software without restriction, including without limitation the rights\n\tto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\tcopies of the Software, and to permit persons to whom the Software is\n\tfurnished to do so, subject to the following conditions:\n\n\tThe above copyright notice and this permission notice shall be included in all\n\tcopies or substantial portions of the Software.\n\n\tTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\tIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\tFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\tAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\tLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\tOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n\tSOFTWARE.\n\n*/\nimport isDomNode from 'is-dom-node';\nimport isDomNodeList from 'is-dom-node-list';\n\nfunction tealight(target, context) {\n if (context === void 0) context = document;\n\n if (target instanceof Array) {\n return target.filter(isDomNode);\n }\n\n if (isDomNode(target)) {\n return [target];\n }\n\n if (isDomNodeList(target)) {\n return Array.prototype.slice.call(target);\n }\n\n if (typeof target === \"string\") {\n try {\n var query = context.querySelectorAll(target);\n return Array.prototype.slice.call(query);\n } catch (err) {\n return [];\n }\n }\n\n return [];\n}\n\nexport default tealight;","/*! @license Rematrix v0.3.0\n\n\tCopyright 2018 Julian Lloyd.\n\n\tPermission is hereby granted, free of charge, to any person obtaining a copy\n\tof this software and associated documentation files (the \"Software\"), to deal\n\tin the Software without restriction, including without limitation the rights\n\tto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\tcopies of the Software, and to permit persons to whom the Software is\n\tfurnished to do so, subject to the following conditions:\n\n\tThe above copyright notice and this permission notice shall be included in\n\tall copies or substantial portions of the Software.\n\n\tTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\tIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\tFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\tAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\tLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\tOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\tTHE SOFTWARE.\n*/\n\n/**\n * @module Rematrix\n */\n\n/**\n * Transformation matrices in the browser come in two flavors:\n *\n * - `matrix` using 6 values (short)\n * - `matrix3d` using 16 values (long)\n *\n * This utility follows this [conversion guide](https://goo.gl/EJlUQ1)\n * to expand short form matrices to their equivalent long form.\n *\n * @param {array} source - Accepts both short and long form matrices.\n * @return {array}\n */\nfunction format(source) {\n if (source.constructor !== Array) {\n throw new TypeError('Expected array.');\n }\n\n if (source.length === 16) {\n return source;\n }\n\n if (source.length === 6) {\n var matrix = identity();\n matrix[0] = source[0];\n matrix[1] = source[1];\n matrix[4] = source[2];\n matrix[5] = source[3];\n matrix[12] = source[4];\n matrix[13] = source[5];\n return matrix;\n }\n\n throw new RangeError('Expected array with either 6 or 16 values.');\n}\n/**\n * Returns a matrix representing no transformation. The product of any matrix\n * multiplied by the identity matrix will be the original matrix.\n *\n * > **Tip:** Similar to how `5 * 1 === 5`, where `1` is the identity.\n *\n * @return {array}\n */\n\n\nfunction identity() {\n var matrix = [];\n\n for (var i = 0; i < 16; i++) {\n i % 5 == 0 ? matrix.push(1) : matrix.push(0);\n }\n\n return matrix;\n}\n/**\n * Returns a matrix describing the inverse transformation of the source\n * matrix. The product of any matrix multiplied by its inverse will be the\n * identity matrix.\n *\n * > **Tip:** Similar to how `5 * (1/5) === 1`, where `1/5` is the inverse.\n *\n * @param {array} source - Accepts both short and long form matrices.\n * @return {array}\n */\n\n\nfunction inverse(source) {\n var m = format(source);\n var s0 = m[0] * m[5] - m[4] * m[1];\n var s1 = m[0] * m[6] - m[4] * m[2];\n var s2 = m[0] * m[7] - m[4] * m[3];\n var s3 = m[1] * m[6] - m[5] * m[2];\n var s4 = m[1] * m[7] - m[5] * m[3];\n var s5 = m[2] * m[7] - m[6] * m[3];\n var c5 = m[10] * m[15] - m[14] * m[11];\n var c4 = m[9] * m[15] - m[13] * m[11];\n var c3 = m[9] * m[14] - m[13] * m[10];\n var c2 = m[8] * m[15] - m[12] * m[11];\n var c1 = m[8] * m[14] - m[12] * m[10];\n var c0 = m[8] * m[13] - m[12] * m[9];\n var determinant = 1 / (s0 * c5 - s1 * c4 + s2 * c3 + s3 * c2 - s4 * c1 + s5 * c0);\n\n if (isNaN(determinant) || determinant === Infinity) {\n throw new Error('Inverse determinant attempted to divide by zero.');\n }\n\n return [(m[5] * c5 - m[6] * c4 + m[7] * c3) * determinant, (-m[1] * c5 + m[2] * c4 - m[3] * c3) * determinant, (m[13] * s5 - m[14] * s4 + m[15] * s3) * determinant, (-m[9] * s5 + m[10] * s4 - m[11] * s3) * determinant, (-m[4] * c5 + m[6] * c2 - m[7] * c1) * determinant, (m[0] * c5 - m[2] * c2 + m[3] * c1) * determinant, (-m[12] * s5 + m[14] * s2 - m[15] * s1) * determinant, (m[8] * s5 - m[10] * s2 + m[11] * s1) * determinant, (m[4] * c4 - m[5] * c2 + m[7] * c0) * determinant, (-m[0] * c4 + m[1] * c2 - m[3] * c0) * determinant, (m[12] * s4 - m[13] * s2 + m[15] * s0) * determinant, (-m[8] * s4 + m[9] * s2 - m[11] * s0) * determinant, (-m[4] * c3 + m[5] * c1 - m[6] * c0) * determinant, (m[0] * c3 - m[1] * c1 + m[2] * c0) * determinant, (-m[12] * s3 + m[13] * s1 - m[14] * s0) * determinant, (m[8] * s3 - m[9] * s1 + m[10] * s0) * determinant];\n}\n/**\n * Returns a 4x4 matrix describing the combined transformations\n * of both arguments.\n *\n * > **Note:** Order is very important. For example, rotating 45°\n * along the Z-axis, followed by translating 500 pixels along the\n * Y-axis... is not the same as translating 500 pixels along the\n * Y-axis, followed by rotating 45° along on the Z-axis.\n *\n * @param {array} m - Accepts both short and long form matrices.\n * @param {array} x - Accepts both short and long form matrices.\n * @return {array}\n */\n\n\nfunction multiply(m, x) {\n var fm = format(m);\n var fx = format(x);\n var product = [];\n\n for (var i = 0; i < 4; i++) {\n var row = [fm[i], fm[i + 4], fm[i + 8], fm[i + 12]];\n\n for (var j = 0; j < 4; j++) {\n var k = j * 4;\n var col = [fx[k], fx[k + 1], fx[k + 2], fx[k + 3]];\n var result = row[0] * col[0] + row[1] * col[1] + row[2] * col[2] + row[3] * col[3];\n product[i + k] = result;\n }\n }\n\n return product;\n}\n/**\n * Attempts to return a 4x4 matrix describing the CSS transform\n * matrix passed in, but will return the identity matrix as a\n * fallback.\n *\n * > **Tip:** This method is used to convert a CSS matrix (retrieved as a\n * `string` from computed styles) to its equivalent array format.\n *\n * @param {string} source - `matrix` or `matrix3d` CSS Transform value.\n * @return {array}\n */\n\n\nfunction parse(source) {\n if (typeof source === 'string') {\n var match = source.match(/matrix(3d)?\\(([^)]+)\\)/);\n\n if (match) {\n var raw = match[2].split(', ').map(parseFloat);\n return format(raw);\n }\n }\n\n return identity();\n}\n/**\n * Returns a 4x4 matrix describing Z-axis rotation.\n *\n * > **Tip:** This is just an alias for `Rematrix.rotateZ` for parity with CSS\n *\n * @param {number} angle - Measured in degrees.\n * @return {array}\n */\n\n\nfunction rotate(angle) {\n return rotateZ(angle);\n}\n/**\n * Returns a 4x4 matrix describing X-axis rotation.\n *\n * @param {number} angle - Measured in degrees.\n * @return {array}\n */\n\n\nfunction rotateX(angle) {\n var theta = Math.PI / 180 * angle;\n var matrix = identity();\n matrix[5] = matrix[10] = Math.cos(theta);\n matrix[6] = matrix[9] = Math.sin(theta);\n matrix[9] *= -1;\n return matrix;\n}\n/**\n * Returns a 4x4 matrix describing Y-axis rotation.\n *\n * @param {number} angle - Measured in degrees.\n * @return {array}\n */\n\n\nfunction rotateY(angle) {\n var theta = Math.PI / 180 * angle;\n var matrix = identity();\n matrix[0] = matrix[10] = Math.cos(theta);\n matrix[2] = matrix[8] = Math.sin(theta);\n matrix[2] *= -1;\n return matrix;\n}\n/**\n * Returns a 4x4 matrix describing Z-axis rotation.\n *\n * @param {number} angle - Measured in degrees.\n * @return {array}\n */\n\n\nfunction rotateZ(angle) {\n var theta = Math.PI / 180 * angle;\n var matrix = identity();\n matrix[0] = matrix[5] = Math.cos(theta);\n matrix[1] = matrix[4] = Math.sin(theta);\n matrix[4] *= -1;\n return matrix;\n}\n/**\n * Returns a 4x4 matrix describing 2D scaling. The first argument\n * is used for both X and Y-axis scaling, unless an optional\n * second argument is provided to explicitly define Y-axis scaling.\n *\n * @param {number} scalar - Decimal multiplier.\n * @param {number} [scalarY] - Decimal multiplier.\n * @return {array}\n */\n\n\nfunction scale(scalar, scalarY) {\n var matrix = identity();\n matrix[0] = scalar;\n matrix[5] = typeof scalarY === 'number' ? scalarY : scalar;\n return matrix;\n}\n/**\n * Returns a 4x4 matrix describing X-axis scaling.\n *\n * @param {number} scalar - Decimal multiplier.\n * @return {array}\n */\n\n\nfunction scaleX(scalar) {\n var matrix = identity();\n matrix[0] = scalar;\n return matrix;\n}\n/**\n * Returns a 4x4 matrix describing Y-axis scaling.\n *\n * @param {number} scalar - Decimal multiplier.\n * @return {array}\n */\n\n\nfunction scaleY(scalar) {\n var matrix = identity();\n matrix[5] = scalar;\n return matrix;\n}\n/**\n * Returns a 4x4 matrix describing Z-axis scaling.\n *\n * @param {number} scalar - Decimal multiplier.\n * @return {array}\n */\n\n\nfunction scaleZ(scalar) {\n var matrix = identity();\n matrix[10] = scalar;\n return matrix;\n}\n/**\n * Returns a 4x4 matrix describing shear. The first argument\n * defines X-axis shearing, and an optional second argument\n * defines Y-axis shearing.\n *\n * @param {number} angleX - Measured in degrees.\n * @param {number} [angleY] - Measured in degrees.\n * @return {array}\n */\n\n\nfunction skew(angleX, angleY) {\n var thetaX = Math.PI / 180 * angleX;\n var matrix = identity();\n matrix[4] = Math.tan(thetaX);\n\n if (angleY) {\n var thetaY = Math.PI / 180 * angleY;\n matrix[1] = Math.tan(thetaY);\n }\n\n return matrix;\n}\n/**\n * Returns a 4x4 matrix describing X-axis shear.\n *\n * @param {number} angle - Measured in degrees.\n * @return {array}\n */\n\n\nfunction skewX(angle) {\n var theta = Math.PI / 180 * angle;\n var matrix = identity();\n matrix[4] = Math.tan(theta);\n return matrix;\n}\n/**\n * Returns a 4x4 matrix describing Y-axis shear.\n *\n * @param {number} angle - Measured in degrees\n * @return {array}\n */\n\n\nfunction skewY(angle) {\n var theta = Math.PI / 180 * angle;\n var matrix = identity();\n matrix[1] = Math.tan(theta);\n return matrix;\n}\n/**\n * Returns a CSS Transform property value equivalent to the source matrix.\n *\n * @param {array} source - Accepts both short and long form matrices.\n * @return {string}\n */\n\n\nfunction toString(source) {\n return \"matrix3d(\" + format(source).join(', ') + \")\";\n}\n/**\n * Returns a 4x4 matrix describing 2D translation. The first\n * argument defines X-axis translation, and an optional second\n * argument defines Y-axis translation.\n *\n * @param {number} distanceX - Measured in pixels.\n * @param {number} [distanceY] - Measured in pixels.\n * @return {array}\n */\n\n\nfunction translate(distanceX, distanceY) {\n var matrix = identity();\n matrix[12] = distanceX;\n\n if (distanceY) {\n matrix[13] = distanceY;\n }\n\n return matrix;\n}\n/**\n * Returns a 4x4 matrix describing X-axis translation.\n *\n * @param {number} distance - Measured in pixels.\n * @return {array}\n */\n\n\nfunction translateX(distance) {\n var matrix = identity();\n matrix[12] = distance;\n return matrix;\n}\n/**\n * Returns a 4x4 matrix describing Y-axis translation.\n *\n * @param {number} distance - Measured in pixels.\n * @return {array}\n */\n\n\nfunction translateY(distance) {\n var matrix = identity();\n matrix[13] = distance;\n return matrix;\n}\n/**\n * Returns a 4x4 matrix describing Z-axis translation.\n *\n * @param {number} distance - Measured in pixels.\n * @return {array}\n */\n\n\nfunction translateZ(distance) {\n var matrix = identity();\n matrix[14] = distance;\n return matrix;\n}\n\nexport { format, identity, inverse, multiply, parse, rotate, rotateX, rotateY, rotateZ, scale, scaleX, scaleY, scaleZ, skew, skewX, skewY, toString, translate, translateX, translateY, translateZ };","/*! @license miniraf v1.0.0\n\n\tCopyright 2018 Fisssion LLC.\n\n\tPermission is hereby granted, free of charge, to any person obtaining a copy\n\tof this software and associated documentation files (the \"Software\"), to deal\n\tin the Software without restriction, including without limitation the rights\n\tto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\tcopies of the Software, and to permit persons to whom the Software is\n\tfurnished to do so, subject to the following conditions:\n\n\tThe above copyright notice and this permission notice shall be included in all\n\tcopies or substantial portions of the Software.\n\n\tTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\tIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\tFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\tAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\tLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\tOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n\tSOFTWARE.\n\n*/\nvar polyfill = function () {\n var clock = Date.now();\n return function (callback) {\n var currentTime = Date.now();\n\n if (currentTime - clock > 16) {\n clock = currentTime;\n callback(currentTime);\n } else {\n setTimeout(function () {\n return polyfill(callback);\n }, 0);\n }\n };\n}();\n\nvar index = window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || polyfill;\nexport default index;","/*! @license ScrollReveal v4.0.7\n\n\tCopyright 2020 Fisssion LLC.\n\n\tLicensed under the GNU General Public License 3.0 for\n\tcompatible open source projects and non-commercial use.\n\n\tFor commercial sites, themes, projects, and applications,\n\tkeep your source code private/proprietary by purchasing\n\ta commercial license from https://scrollrevealjs.org/\n*/\nimport $ from 'tealight';\nimport { translateY, translateX, rotateX, rotateY, rotateZ, scale, parse, multiply } from 'rematrix';\nimport raf from 'miniraf';\nvar defaults = {\n delay: 0,\n distance: '0',\n duration: 600,\n easing: 'cubic-bezier(0.5, 0, 0, 1)',\n interval: 0,\n opacity: 0,\n origin: 'bottom',\n rotate: {\n x: 0,\n y: 0,\n z: 0\n },\n scale: 1,\n cleanup: false,\n container: document.documentElement,\n desktop: true,\n mobile: true,\n reset: false,\n useDelay: 'always',\n viewFactor: 0.0,\n viewOffset: {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0\n },\n afterReset: function afterReset() {},\n afterReveal: function afterReveal() {},\n beforeReset: function beforeReset() {},\n beforeReveal: function beforeReveal() {}\n};\n\nfunction failure() {\n document.documentElement.classList.remove('sr');\n return {\n clean: function clean() {},\n destroy: function destroy() {},\n reveal: function reveal() {},\n sync: function sync() {},\n\n get noop() {\n return true;\n }\n\n };\n}\n\nfunction success() {\n document.documentElement.classList.add('sr');\n\n if (document.body) {\n document.body.style.height = '100%';\n } else {\n document.addEventListener('DOMContentLoaded', function () {\n document.body.style.height = '100%';\n });\n }\n}\n\nvar mount = {\n success: success,\n failure: failure\n};\n\nfunction isObject(x) {\n return x !== null && x instanceof Object && (x.constructor === Object || Object.prototype.toString.call(x) === '[object Object]');\n}\n\nfunction each(collection, callback) {\n if (isObject(collection)) {\n var keys = Object.keys(collection);\n return keys.forEach(function (key) {\n return callback(collection[key], key, collection);\n });\n }\n\n if (collection instanceof Array) {\n return collection.forEach(function (item, i) {\n return callback(item, i, collection);\n });\n }\n\n throw new TypeError('Expected either an array or object literal.');\n}\n\nfunction logger(message) {\n var details = [],\n len = arguments.length - 1;\n\n while (len-- > 0) {\n details[len] = arguments[len + 1];\n }\n\n if (this.constructor.debug && console) {\n var report = \"%cScrollReveal: \" + message;\n details.forEach(function (detail) {\n return report += \"\\n — \" + detail;\n });\n console.log(report, 'color: #ea654b;'); // eslint-disable-line no-console\n }\n}\n\nfunction rinse() {\n var this$1 = this;\n\n var struct = function struct() {\n return {\n active: [],\n stale: []\n };\n };\n\n var elementIds = struct();\n var sequenceIds = struct();\n var containerIds = struct();\n /**\n * Take stock of active element IDs.\n */\n\n try {\n each($('[data-sr-id]'), function (node) {\n var id = parseInt(node.getAttribute('data-sr-id'));\n elementIds.active.push(id);\n });\n } catch (e) {\n throw e;\n }\n /**\n * Destroy stale elements.\n */\n\n\n each(this.store.elements, function (element) {\n if (elementIds.active.indexOf(element.id) === -1) {\n elementIds.stale.push(element.id);\n }\n });\n each(elementIds.stale, function (staleId) {\n return delete this$1.store.elements[staleId];\n });\n /**\n * Take stock of active container and sequence IDs.\n */\n\n each(this.store.elements, function (element) {\n if (containerIds.active.indexOf(element.containerId) === -1) {\n containerIds.active.push(element.containerId);\n }\n\n if (element.hasOwnProperty('sequence')) {\n if (sequenceIds.active.indexOf(element.sequence.id) === -1) {\n sequenceIds.active.push(element.sequence.id);\n }\n }\n });\n /**\n * Destroy stale containers.\n */\n\n each(this.store.containers, function (container) {\n if (containerIds.active.indexOf(container.id) === -1) {\n containerIds.stale.push(container.id);\n }\n });\n each(containerIds.stale, function (staleId) {\n var stale = this$1.store.containers[staleId].node;\n stale.removeEventListener('scroll', this$1.delegate);\n stale.removeEventListener('resize', this$1.delegate);\n delete this$1.store.containers[staleId];\n });\n /**\n * Destroy stale sequences.\n */\n\n each(this.store.sequences, function (sequence) {\n if (sequenceIds.active.indexOf(sequence.id) === -1) {\n sequenceIds.stale.push(sequence.id);\n }\n });\n each(sequenceIds.stale, function (staleId) {\n return delete this$1.store.sequences[staleId];\n });\n}\n\nfunction clean(target) {\n var this$1 = this;\n var dirty;\n\n try {\n each($(target), function (node) {\n var id = node.getAttribute('data-sr-id');\n\n if (id !== null) {\n dirty = true;\n var element = this$1.store.elements[id];\n\n if (element.callbackTimer) {\n window.clearTimeout(element.callbackTimer.clock);\n }\n\n node.setAttribute('style', element.styles.inline.generated);\n node.removeAttribute('data-sr-id');\n delete this$1.store.elements[id];\n }\n });\n } catch (e) {\n return logger.call(this, 'Clean failed.', e.message);\n }\n\n if (dirty) {\n try {\n rinse.call(this);\n } catch (e) {\n return logger.call(this, 'Clean failed.', e.message);\n }\n }\n}\n\nfunction destroy() {\n var this$1 = this;\n /**\n * Remove all generated styles and element ids\n */\n\n each(this.store.elements, function (element) {\n element.node.setAttribute('style', element.styles.inline.generated);\n element.node.removeAttribute('data-sr-id');\n });\n /**\n * Remove all event listeners.\n */\n\n each(this.store.containers, function (container) {\n var target = container.node === document.documentElement ? window : container.node;\n target.removeEventListener('scroll', this$1.delegate);\n target.removeEventListener('resize', this$1.delegate);\n });\n /**\n * Clear all data from the store\n */\n\n this.store = {\n containers: {},\n elements: {},\n history: [],\n sequences: {}\n };\n}\n\nvar getPrefixedCssProp = function () {\n var properties = {};\n var style = document.documentElement.style;\n\n function getPrefixedCssProperty(name, source) {\n if (source === void 0) source = style;\n\n if (name && typeof name === 'string') {\n if (properties[name]) {\n return properties[name];\n }\n\n if (typeof source[name] === 'string') {\n return properties[name] = name;\n }\n\n if (typeof source[\"-webkit-\" + name] === 'string') {\n return properties[name] = \"-webkit-\" + name;\n }\n\n throw new RangeError(\"Unable to find \\\"\" + name + \"\\\" style property.\");\n }\n\n throw new TypeError('Expected a string.');\n }\n\n getPrefixedCssProperty.clearCache = function () {\n return properties = {};\n };\n\n return getPrefixedCssProperty;\n}();\n\nfunction style(element) {\n var computed = window.getComputedStyle(element.node);\n var position = computed.position;\n var config = element.config;\n /**\n * Generate inline styles\n */\n\n var inline = {};\n var inlineStyle = element.node.getAttribute('style') || '';\n var inlineMatch = inlineStyle.match(/[\\w-]+\\s*:\\s*[^;]+\\s*/gi) || [];\n inline.computed = inlineMatch ? inlineMatch.map(function (m) {\n return m.trim();\n }).join('; ') + ';' : '';\n inline.generated = inlineMatch.some(function (m) {\n return m.match(/visibility\\s?:\\s?visible/i);\n }) ? inline.computed : inlineMatch.concat(['visibility: visible']).map(function (m) {\n return m.trim();\n }).join('; ') + ';';\n /**\n * Generate opacity styles\n */\n\n var computedOpacity = parseFloat(computed.opacity);\n var configOpacity = !isNaN(parseFloat(config.opacity)) ? parseFloat(config.opacity) : parseFloat(computed.opacity);\n var opacity = {\n computed: computedOpacity !== configOpacity ? \"opacity: \" + computedOpacity + \";\" : '',\n generated: computedOpacity !== configOpacity ? \"opacity: \" + configOpacity + \";\" : ''\n };\n /**\n * Generate transformation styles\n */\n\n var transformations = [];\n\n if (parseFloat(config.distance)) {\n var axis = config.origin === 'top' || config.origin === 'bottom' ? 'Y' : 'X';\n /**\n * Let’s make sure our our pixel distances are negative for top and left.\n * e.g. { origin: 'top', distance: '25px' } starts at `top: -25px` in CSS.\n */\n\n var distance = config.distance;\n\n if (config.origin === 'top' || config.origin === 'left') {\n distance = /^-/.test(distance) ? distance.substr(1) : \"-\" + distance;\n }\n\n var ref = distance.match(/(^-?\\d+\\.?\\d?)|(em$|px$|%$)/g);\n var value = ref[0];\n var unit = ref[1];\n\n switch (unit) {\n case 'em':\n distance = parseInt(computed.fontSize) * value;\n break;\n\n case 'px':\n distance = value;\n break;\n\n case '%':\n /**\n * Here we use `getBoundingClientRect` instead of\n * the existing data attached to `element.geometry`\n * because only the former includes any transformations\n * current applied to the element.\n *\n * If that behavior ends up being unintuitive, this\n * logic could instead utilize `element.geometry.height`\n * and `element.geoemetry.width` for the distance calculation\n */\n distance = axis === 'Y' ? element.node.getBoundingClientRect().height * value / 100 : element.node.getBoundingClientRect().width * value / 100;\n break;\n\n default:\n throw new RangeError('Unrecognized or missing distance unit.');\n }\n\n if (axis === 'Y') {\n transformations.push(translateY(distance));\n } else {\n transformations.push(translateX(distance));\n }\n }\n\n if (config.rotate.x) {\n transformations.push(rotateX(config.rotate.x));\n }\n\n if (config.rotate.y) {\n transformations.push(rotateY(config.rotate.y));\n }\n\n if (config.rotate.z) {\n transformations.push(rotateZ(config.rotate.z));\n }\n\n if (config.scale !== 1) {\n if (config.scale === 0) {\n /**\n * The CSS Transforms matrix interpolation specification\n * basically disallows transitions of non-invertible\n * matrixes, which means browsers won't transition\n * elements with zero scale.\n *\n * That’s inconvenient for the API and developer\n * experience, so we simply nudge their value\n * slightly above zero; this allows browsers\n * to transition our element as expected.\n *\n * `0.0002` was the smallest number\n * that performed across browsers.\n */\n transformations.push(scale(0.0002));\n } else {\n transformations.push(scale(config.scale));\n }\n }\n\n var transform = {};\n\n if (transformations.length) {\n transform.property = getPrefixedCssProp('transform');\n /**\n * The default computed transform value should be one of:\n * undefined || 'none' || 'matrix()' || 'matrix3d()'\n */\n\n transform.computed = {\n raw: computed[transform.property],\n matrix: parse(computed[transform.property])\n };\n transformations.unshift(transform.computed.matrix);\n var product = transformations.reduce(multiply);\n transform.generated = {\n initial: transform.property + \": matrix3d(\" + product.join(', ') + \");\",\n final: transform.property + \": matrix3d(\" + transform.computed.matrix.join(', ') + \");\"\n };\n } else {\n transform.generated = {\n initial: '',\n final: ''\n };\n }\n /**\n * Generate transition styles\n */\n\n\n var transition = {};\n\n if (opacity.generated || transform.generated.initial) {\n transition.property = getPrefixedCssProp('transition');\n transition.computed = computed[transition.property];\n transition.fragments = [];\n var delay = config.delay;\n var duration = config.duration;\n var easing = config.easing;\n\n if (opacity.generated) {\n transition.fragments.push({\n delayed: \"opacity \" + duration / 1000 + \"s \" + easing + \" \" + delay / 1000 + \"s\",\n instant: \"opacity \" + duration / 1000 + \"s \" + easing + \" 0s\"\n });\n }\n\n if (transform.generated.initial) {\n transition.fragments.push({\n delayed: transform.property + \" \" + duration / 1000 + \"s \" + easing + \" \" + delay / 1000 + \"s\",\n instant: transform.property + \" \" + duration / 1000 + \"s \" + easing + \" 0s\"\n });\n }\n /**\n * The default computed transition property should be undefined, or one of:\n * '' || 'none 0s ease 0s' || 'all 0s ease 0s' || 'all 0s 0s cubic-bezier()'\n */\n\n\n var hasCustomTransition = transition.computed && !transition.computed.match(/all 0s|none 0s/);\n\n if (hasCustomTransition) {\n transition.fragments.unshift({\n delayed: transition.computed,\n instant: transition.computed\n });\n }\n\n var composed = transition.fragments.reduce(function (composition, fragment, i) {\n composition.delayed += i === 0 ? fragment.delayed : \", \" + fragment.delayed;\n composition.instant += i === 0 ? fragment.instant : \", \" + fragment.instant;\n return composition;\n }, {\n delayed: '',\n instant: ''\n });\n transition.generated = {\n delayed: transition.property + \": \" + composed.delayed + \";\",\n instant: transition.property + \": \" + composed.instant + \";\"\n };\n } else {\n transition.generated = {\n delayed: '',\n instant: ''\n };\n }\n\n return {\n inline: inline,\n opacity: opacity,\n position: position,\n transform: transform,\n transition: transition\n };\n}\n\nfunction animate(element, force) {\n if (force === void 0) force = {};\n var pristine = force.pristine || this.pristine;\n var delayed = element.config.useDelay === 'always' || element.config.useDelay === 'onload' && pristine || element.config.useDelay === 'once' && !element.seen;\n var shouldReveal = element.visible && !element.revealed;\n var shouldReset = !element.visible && element.revealed && element.config.reset;\n\n if (force.reveal || shouldReveal) {\n return triggerReveal.call(this, element, delayed);\n }\n\n if (force.reset || shouldReset) {\n return triggerReset.call(this, element);\n }\n}\n\nfunction triggerReveal(element, delayed) {\n var styles = [element.styles.inline.generated, element.styles.opacity.computed, element.styles.transform.generated.final];\n\n if (delayed) {\n styles.push(element.styles.transition.generated.delayed);\n } else {\n styles.push(element.styles.transition.generated.instant);\n }\n\n element.revealed = element.seen = true;\n element.node.setAttribute('style', styles.filter(function (s) {\n return s !== '';\n }).join(' '));\n registerCallbacks.call(this, element, delayed);\n}\n\nfunction triggerReset(element) {\n var styles = [element.styles.inline.generated, element.styles.opacity.generated, element.styles.transform.generated.initial, element.styles.transition.generated.instant];\n element.revealed = false;\n element.node.setAttribute('style', styles.filter(function (s) {\n return s !== '';\n }).join(' '));\n registerCallbacks.call(this, element);\n}\n\nfunction registerCallbacks(element, isDelayed) {\n var this$1 = this;\n var duration = isDelayed ? element.config.duration + element.config.delay : element.config.duration;\n var beforeCallback = element.revealed ? element.config.beforeReveal : element.config.beforeReset;\n var afterCallback = element.revealed ? element.config.afterReveal : element.config.afterReset;\n var elapsed = 0;\n\n if (element.callbackTimer) {\n elapsed = Date.now() - element.callbackTimer.start;\n window.clearTimeout(element.callbackTimer.clock);\n }\n\n beforeCallback(element.node);\n element.callbackTimer = {\n start: Date.now(),\n clock: window.setTimeout(function () {\n afterCallback(element.node);\n element.callbackTimer = null;\n\n if (element.revealed && !element.config.reset && element.config.cleanup) {\n clean.call(this$1, element.node);\n }\n }, duration - elapsed)\n };\n}\n\nvar nextUniqueId = function () {\n var uid = 0;\n return function () {\n return uid++;\n };\n}();\n\nfunction sequence(element, pristine) {\n if (pristine === void 0) pristine = this.pristine;\n /**\n * We first check if the element should reset.\n */\n\n if (!element.visible && element.revealed && element.config.reset) {\n return animate.call(this, element, {\n reset: true\n });\n }\n\n var seq = this.store.sequences[element.sequence.id];\n var i = element.sequence.index;\n\n if (seq) {\n var visible = new SequenceModel(seq, 'visible', this.store);\n var revealed = new SequenceModel(seq, 'revealed', this.store);\n seq.models = {\n visible: visible,\n revealed: revealed\n };\n /**\n * If the sequence has no revealed members,\n * then we reveal the first visible element\n * within that sequence.\n *\n * The sequence then cues a recursive call\n * in both directions.\n */\n\n if (!revealed.body.length) {\n var nextId = seq.members[visible.body[0]];\n var nextElement = this.store.elements[nextId];\n\n if (nextElement) {\n cue.call(this, seq, visible.body[0], -1, pristine);\n cue.call(this, seq, visible.body[0], +1, pristine);\n return animate.call(this, nextElement, {\n reveal: true,\n pristine: pristine\n });\n }\n }\n /**\n * If our element isn’t resetting, we check the\n * element sequence index against the head, and\n * then the foot of the sequence.\n */\n\n\n if (!seq.blocked.head && i === [].concat(revealed.head).pop() && i >= [].concat(visible.body).shift()) {\n cue.call(this, seq, i, -1, pristine);\n return animate.call(this, element, {\n reveal: true,\n pristine: pristine\n });\n }\n\n if (!seq.blocked.foot && i === [].concat(revealed.foot).shift() && i <= [].concat(visible.body).pop()) {\n cue.call(this, seq, i, +1, pristine);\n return animate.call(this, element, {\n reveal: true,\n pristine: pristine\n });\n }\n }\n}\n\nfunction Sequence(interval) {\n var i = Math.abs(interval);\n\n if (!isNaN(i)) {\n this.id = nextUniqueId();\n this.interval = Math.max(i, 16);\n this.members = [];\n this.models = {};\n this.blocked = {\n head: false,\n foot: false\n };\n } else {\n throw new RangeError('Invalid sequence interval.');\n }\n}\n\nfunction SequenceModel(seq, prop, store) {\n var this$1 = this;\n this.head = [];\n this.body = [];\n this.foot = [];\n each(seq.members, function (id, index) {\n var element = store.elements[id];\n\n if (element && element[prop]) {\n this$1.body.push(index);\n }\n });\n\n if (this.body.length) {\n each(seq.members, function (id, index) {\n var element = store.elements[id];\n\n if (element && !element[prop]) {\n if (index < this$1.body[0]) {\n this$1.head.push(index);\n } else {\n this$1.foot.push(index);\n }\n }\n });\n }\n}\n\nfunction cue(seq, i, direction, pristine) {\n var this$1 = this;\n var blocked = ['head', null, 'foot'][1 + direction];\n var nextId = seq.members[i + direction];\n var nextElement = this.store.elements[nextId];\n seq.blocked[blocked] = true;\n setTimeout(function () {\n seq.blocked[blocked] = false;\n\n if (nextElement) {\n sequence.call(this$1, nextElement, pristine);\n }\n }, seq.interval);\n}\n\nfunction initialize() {\n var this$1 = this;\n rinse.call(this);\n each(this.store.elements, function (element) {\n var styles = [element.styles.inline.generated];\n\n if (element.visible) {\n styles.push(element.styles.opacity.computed);\n styles.push(element.styles.transform.generated.final);\n element.revealed = true;\n } else {\n styles.push(element.styles.opacity.generated);\n styles.push(element.styles.transform.generated.initial);\n element.revealed = false;\n }\n\n element.node.setAttribute('style', styles.filter(function (s) {\n return s !== '';\n }).join(' '));\n });\n each(this.store.containers, function (container) {\n var target = container.node === document.documentElement ? window : container.node;\n target.addEventListener('scroll', this$1.delegate);\n target.addEventListener('resize', this$1.delegate);\n });\n /**\n * Manually invoke delegate once to capture\n * element and container dimensions, container\n * scroll position, and trigger any valid reveals\n */\n\n this.delegate();\n /**\n * Wipe any existing `setTimeout` now\n * that initialization has completed.\n */\n\n this.initTimeout = null;\n}\n\nfunction isMobile(agent) {\n if (agent === void 0) agent = navigator.userAgent;\n return /Android|iPhone|iPad|iPod/i.test(agent);\n}\n\nfunction deepAssign(target) {\n var sources = [],\n len = arguments.length - 1;\n\n while (len-- > 0) {\n sources[len] = arguments[len + 1];\n }\n\n if (isObject(target)) {\n each(sources, function (source) {\n each(source, function (data, key) {\n if (isObject(data)) {\n if (!target[key] || !isObject(target[key])) {\n target[key] = {};\n }\n\n deepAssign(target[key], data);\n } else {\n target[key] = data;\n }\n });\n });\n return target;\n } else {\n throw new TypeError('Target must be an object literal.');\n }\n}\n\nfunction reveal(target, options, syncing) {\n var this$1 = this;\n if (options === void 0) options = {};\n if (syncing === void 0) syncing = false;\n var containerBuffer = [];\n var sequence$$1;\n var interval = options.interval || defaults.interval;\n\n try {\n if (interval) {\n sequence$$1 = new Sequence(interval);\n }\n\n var nodes = $(target);\n\n if (!nodes.length) {\n throw new Error('Invalid reveal target.');\n }\n\n var elements = nodes.reduce(function (elementBuffer, elementNode) {\n var element = {};\n var existingId = elementNode.getAttribute('data-sr-id');\n\n if (existingId) {\n deepAssign(element, this$1.store.elements[existingId]);\n /**\n * In order to prevent previously generated styles\n * from throwing off the new styles, the style tag\n * has to be reverted to its pre-reveal state.\n */\n\n element.node.setAttribute('style', element.styles.inline.computed);\n } else {\n element.id = nextUniqueId();\n element.node = elementNode;\n element.seen = false;\n element.revealed = false;\n element.visible = false;\n }\n\n var config = deepAssign({}, element.config || this$1.defaults, options);\n\n if (!config.mobile && isMobile() || !config.desktop && !isMobile()) {\n if (existingId) {\n clean.call(this$1, element);\n }\n\n return elementBuffer; // skip elements that are disabled\n }\n\n var containerNode = $(config.container)[0];\n\n if (!containerNode) {\n throw new Error('Invalid container.');\n }\n\n if (!containerNode.contains(elementNode)) {\n return elementBuffer; // skip elements found outside the container\n }\n\n var containerId;\n {\n containerId = getContainerId(containerNode, containerBuffer, this$1.store.containers);\n\n if (containerId === null) {\n containerId = nextUniqueId();\n containerBuffer.push({\n id: containerId,\n node: containerNode\n });\n }\n }\n element.config = config;\n element.containerId = containerId;\n element.styles = style(element);\n\n if (sequence$$1) {\n element.sequence = {\n id: sequence$$1.id,\n index: sequence$$1.members.length\n };\n sequence$$1.members.push(element.id);\n }\n\n elementBuffer.push(element);\n return elementBuffer;\n }, []);\n /**\n * Modifying the DOM via setAttribute needs to be handled\n * separately from reading computed styles in the map above\n * for the browser to batch DOM changes (limiting reflows)\n */\n\n each(elements, function (element) {\n this$1.store.elements[element.id] = element;\n element.node.setAttribute('data-sr-id', element.id);\n });\n } catch (e) {\n return logger.call(this, 'Reveal failed.', e.message);\n }\n /**\n * Now that element set-up is complete...\n * Let’s commit any container and sequence data we have to the store.\n */\n\n\n each(containerBuffer, function (container) {\n this$1.store.containers[container.id] = {\n id: container.id,\n node: container.node\n };\n });\n\n if (sequence$$1) {\n this.store.sequences[sequence$$1.id] = sequence$$1;\n }\n /**\n * If reveal wasn't invoked by sync, we want to\n * make sure to add this call to the history.\n */\n\n\n if (syncing !== true) {\n this.store.history.push({\n target: target,\n options: options\n });\n /**\n * Push initialization to the event queue, giving\n * multiple reveal calls time to be interpreted.\n */\n\n if (this.initTimeout) {\n window.clearTimeout(this.initTimeout);\n }\n\n this.initTimeout = window.setTimeout(initialize.bind(this), 0);\n }\n}\n\nfunction getContainerId(node) {\n var collections = [],\n len = arguments.length - 1;\n\n while (len-- > 0) {\n collections[len] = arguments[len + 1];\n }\n\n var id = null;\n each(collections, function (collection) {\n each(collection, function (container) {\n if (id === null && container.node === node) {\n id = container.id;\n }\n });\n });\n return id;\n}\n/**\n * Re-runs the reveal method for each record stored in history,\n * for capturing new content asynchronously loaded into the DOM.\n */\n\n\nfunction sync() {\n var this$1 = this;\n each(this.store.history, function (record) {\n reveal.call(this$1, record.target, record.options, true);\n });\n initialize.call(this);\n}\n\nvar polyfill = function polyfill(x) {\n return (x > 0) - (x < 0) || +x;\n};\n\nvar mathSign = Math.sign || polyfill;\n\nfunction getGeometry(target, isContainer) {\n /**\n * We want to ignore padding and scrollbars for container elements.\n * More information here: https://goo.gl/vOZpbz\n */\n var height = isContainer ? target.node.clientHeight : target.node.offsetHeight;\n var width = isContainer ? target.node.clientWidth : target.node.offsetWidth;\n var offsetTop = 0;\n var offsetLeft = 0;\n var node = target.node;\n\n do {\n if (!isNaN(node.offsetTop)) {\n offsetTop += node.offsetTop;\n }\n\n if (!isNaN(node.offsetLeft)) {\n offsetLeft += node.offsetLeft;\n }\n\n node = node.offsetParent;\n } while (node);\n\n return {\n bounds: {\n top: offsetTop,\n right: offsetLeft + width,\n bottom: offsetTop + height,\n left: offsetLeft\n },\n height: height,\n width: width\n };\n}\n\nfunction getScrolled(container) {\n var top, left;\n\n if (container.node === document.documentElement) {\n top = window.pageYOffset;\n left = window.pageXOffset;\n } else {\n top = container.node.scrollTop;\n left = container.node.scrollLeft;\n }\n\n return {\n top: top,\n left: left\n };\n}\n\nfunction isElementVisible(element) {\n if (element === void 0) element = {};\n var container = this.store.containers[element.containerId];\n\n if (!container) {\n return;\n }\n\n var viewFactor = Math.max(0, Math.min(1, element.config.viewFactor));\n var viewOffset = element.config.viewOffset;\n var elementBounds = {\n top: element.geometry.bounds.top + element.geometry.height * viewFactor,\n right: element.geometry.bounds.right - element.geometry.width * viewFactor,\n bottom: element.geometry.bounds.bottom - element.geometry.height * viewFactor,\n left: element.geometry.bounds.left + element.geometry.width * viewFactor\n };\n var containerBounds = {\n top: container.geometry.bounds.top + container.scroll.top + viewOffset.top,\n right: container.geometry.bounds.right + container.scroll.left - viewOffset.right,\n bottom: container.geometry.bounds.bottom + container.scroll.top - viewOffset.bottom,\n left: container.geometry.bounds.left + container.scroll.left + viewOffset.left\n };\n return elementBounds.top < containerBounds.bottom && elementBounds.right > containerBounds.left && elementBounds.bottom > containerBounds.top && elementBounds.left < containerBounds.right || element.styles.position === 'fixed';\n}\n\nfunction delegate(event, elements) {\n var this$1 = this;\n if (event === void 0) event = {\n type: 'init'\n };\n if (elements === void 0) elements = this.store.elements;\n raf(function () {\n var stale = event.type === 'init' || event.type === 'resize';\n each(this$1.store.containers, function (container) {\n if (stale) {\n container.geometry = getGeometry.call(this$1, container, true);\n }\n\n var scroll = getScrolled.call(this$1, container);\n\n if (container.scroll) {\n container.direction = {\n x: mathSign(scroll.left - container.scroll.left),\n y: mathSign(scroll.top - container.scroll.top)\n };\n }\n\n container.scroll = scroll;\n });\n /**\n * Due to how the sequencer is implemented, it’s\n * important that we update the state of all\n * elements, before any animation logic is\n * evaluated (in the second loop below).\n */\n\n each(elements, function (element) {\n if (stale || element.geometry === undefined) {\n element.geometry = getGeometry.call(this$1, element);\n }\n\n element.visible = isElementVisible.call(this$1, element);\n });\n each(elements, function (element) {\n if (element.sequence) {\n sequence.call(this$1, element);\n } else {\n animate.call(this$1, element);\n }\n });\n this$1.pristine = false;\n });\n}\n\nfunction isTransformSupported() {\n var style = document.documentElement.style;\n return 'transform' in style || 'WebkitTransform' in style;\n}\n\nfunction isTransitionSupported() {\n var style = document.documentElement.style;\n return 'transition' in style || 'WebkitTransition' in style;\n}\n\nvar version = \"4.0.7\";\nvar boundDelegate;\nvar boundDestroy;\nvar boundReveal;\nvar boundClean;\nvar boundSync;\nvar config;\nvar debug;\nvar instance;\n\nfunction ScrollReveal(options) {\n if (options === void 0) options = {};\n var invokedWithoutNew = typeof this === 'undefined' || Object.getPrototypeOf(this) !== ScrollReveal.prototype;\n\n if (invokedWithoutNew) {\n return new ScrollReveal(options);\n }\n\n if (!ScrollReveal.isSupported()) {\n logger.call(this, 'Instantiation failed.', 'This browser is not supported.');\n return mount.failure();\n }\n\n var buffer;\n\n try {\n buffer = config ? deepAssign({}, config, options) : deepAssign({}, defaults, options);\n } catch (e) {\n logger.call(this, 'Invalid configuration.', e.message);\n return mount.failure();\n }\n\n try {\n var container = $(buffer.container)[0];\n\n if (!container) {\n throw new Error('Invalid container.');\n }\n } catch (e) {\n logger.call(this, e.message);\n return mount.failure();\n }\n\n config = buffer;\n\n if (!config.mobile && isMobile() || !config.desktop && !isMobile()) {\n logger.call(this, 'This device is disabled.', \"desktop: \" + config.desktop, \"mobile: \" + config.mobile);\n return mount.failure();\n }\n\n mount.success();\n this.store = {\n containers: {},\n elements: {},\n history: [],\n sequences: {}\n };\n this.pristine = true;\n boundDelegate = boundDelegate || delegate.bind(this);\n boundDestroy = boundDestroy || destroy.bind(this);\n boundReveal = boundReveal || reveal.bind(this);\n boundClean = boundClean || clean.bind(this);\n boundSync = boundSync || sync.bind(this);\n Object.defineProperty(this, 'delegate', {\n get: function get() {\n return boundDelegate;\n }\n });\n Object.defineProperty(this, 'destroy', {\n get: function get() {\n return boundDestroy;\n }\n });\n Object.defineProperty(this, 'reveal', {\n get: function get() {\n return boundReveal;\n }\n });\n Object.defineProperty(this, 'clean', {\n get: function get() {\n return boundClean;\n }\n });\n Object.defineProperty(this, 'sync', {\n get: function get() {\n return boundSync;\n }\n });\n Object.defineProperty(this, 'defaults', {\n get: function get() {\n return config;\n }\n });\n Object.defineProperty(this, 'version', {\n get: function get() {\n return version;\n }\n });\n Object.defineProperty(this, 'noop', {\n get: function get() {\n return false;\n }\n });\n return instance ? instance : instance = this;\n}\n\nScrollReveal.isSupported = function () {\n return isTransformSupported() && isTransitionSupported();\n};\n\nObject.defineProperty(ScrollReveal, 'debug', {\n get: function get() {\n return debug || false;\n },\n set: function set(value) {\n return debug = typeof value === 'boolean' ? value : debug;\n }\n});\nScrollReveal();\nexport default ScrollReveal;","import ScrollReveal from 'scrollreveal';\r\n\r\nconst isSSR = typeof window === 'undefined';\r\nconst sr = isSSR ? null : ScrollReveal();\r\n\r\nexport default sr;\r\n","import React, { useEffect, useRef } from 'react';\r\nimport { useStaticQuery, graphql } from 'gatsby';\r\nimport Img from 'gatsby-image';\r\nimport styled from 'styled-components';\r\nimport { srConfig } from '@config';\r\nimport sr from '@utils/sr';\r\n\r\nconst StyledAboutSection = styled.section`\r\n max-width: 900px;\r\n\r\n .inner {\r\n display: grid;\r\n grid-template-columns: 3fr 2fr;\r\n grid-gap: 50px;\r\n\r\n @media (max-width: 768px) {\r\n display: block;\r\n }\r\n }\r\n`;\r\nconst StyledText = styled.div`\r\n ul.skills-list {\r\n display: grid;\r\n grid-template-columns: repeat(2, minmax(140px, 200px));\r\n padding: 0;\r\n margin: 20px 0 0 0;\r\n overflow: hidden;\r\n list-style: none;\r\n\r\n li {\r\n position: relative;\r\n margin-bottom: 10px;\r\n padding-left: 20px;\r\n font-family: var(--font-mono);\r\n font-size: var(--fz-xs);\r\n\r\n &:before {\r\n content: '▹';\r\n position: absolute;\r\n left: 0;\r\n color: var(--green);\r\n font-size: var(--fz-sm);\r\n line-height: 12px;\r\n }\r\n }\r\n }\r\n`;\r\nconst StyledPic = styled.div`\r\n position: relative;\r\n max-width: 300px;\r\n\r\n @media (max-width: 768px) {\r\n margin: 50px auto 0;\r\n width: 70%;\r\n }\r\n\r\n .wrapper {\r\n ${({ theme }) => theme.mixins.boxShadow};\r\n display: block;\r\n position: relative;\r\n width: 100%;\r\n border-radius: var(--border-radius);\r\n background-color: var(--green);\r\n\r\n &:hover,\r\n &:focus {\r\n background: transparent;\r\n outline: 0;\r\n\r\n &:after {\r\n top: 15px;\r\n left: 15px;\r\n }\r\n\r\n .img {\r\n filter: none;\r\n mix-blend-mode: normal;\r\n }\r\n }\r\n\r\n .img {\r\n position: relative;\r\n border-radius: var(--border-radius);\r\n mix-blend-mode: multiply;\r\n filter: grayscale(100%) contrast(1);\r\n transition: var(--transition);\r\n }\r\n\r\n &:before,\r\n &:after {\r\n content: '';\r\n display: block;\r\n position: absolute;\r\n width: 100%;\r\n height: 100%;\r\n border-radius: var(--border-radius);\r\n transition: var(--transition);\r\n }\r\n\r\n &:before {\r\n top: 0;\r\n left: 0;\r\n background-color: var(--navy);\r\n mix-blend-mode: screen;\r\n }\r\n\r\n &:after {\r\n border: 2px solid var(--green);\r\n top: 20px;\r\n left: 20px;\r\n z-index: -1;\r\n }\r\n }\r\n`;\r\n\r\nconst About = () => {\r\n const data = useStaticQuery(graphql`\r\n query {\r\n avatar: file(sourceInstanceName: { eq: \"images\" }, relativePath: { eq: \"me.jpg\" }) {\r\n childImageSharp {\r\n fluid(maxWidth: 500, traceSVG: { color: \"#64ffda\" }) {\r\n ...GatsbyImageSharpFluid_withWebp_tracedSVG\r\n }\r\n }\r\n }\r\n }\r\n `);\r\n\r\n const revealContainer = useRef(null);\r\n\r\n useEffect(() => {\r\n sr.reveal(revealContainer.current, srConfig());\r\n }, []);\r\n\r\n const skills = ['C/C++', 'Java', 'Python', 'SQL'];\r\n\r\n return (\r\n <StyledAboutSection id=\"about\" ref={revealContainer}>\r\n <h2 className=\"numbered-heading\">About Me</h2>\r\n\r\n <div className=\"inner\">\r\n <StyledText>\r\n <div>\r\n <p align=\"justify\">\r\n\t\t\t Hello! I'm Pradyot, a M.Sc. Computer Science student in data science track at Delft University of Technology{' '}\r\n\t\t\t <a href=\"https://www.tudelft.nl/en/\">(TU Delft)</a>.\r\n\t\t\t</p>\r\n\r\n <p align=\"justify\">\r\n I'm also currently a software engineering research intern at{' '} <a href=\"https://www.tudelft.nl/en/\">ING</a>. \r\n\t\t\t I have keen interest in statistics, time series modeling and solving real life problems with code on a large scale. \r\n\t\t\t I'm passionate about learning, teaching and I believe in open flow of knowledge.\r\n\t\t\t Also, an avid supporter of open source projects.\r\n </p>\r\n\r\n <p align=\"justify\">\r\n If I'm not busy studying or doing my research work you can find me at my gaming console or local football field. \r\n\t\t\t I love traveling, especially going on long treks.\r\n </p>\r\n\r\n <p>Here are a few technologies I've worked with :</p>\r\n </div>\r\n\r\n <ul className=\"skills-list\">\r\n {skills && skills.map((skill, i) => <li key={i}>{skill}</li>)}\r\n </ul>\r\n </StyledText>\r\n\r\n <StyledPic>\r\n <div className=\"wrapper\">\r\n <Img fluid={data.avatar.childImageSharp.fluid} alt=\"Avatar\" className=\"img\" />\r\n </div>\r\n </StyledPic>\r\n </div>\r\n </StyledAboutSection>\r\n );\r\n};\r\n\r\nexport default About;\r\n","import React, { useState, useEffect, useRef } from 'react';\r\nimport { useStaticQuery, graphql } from 'gatsby';\r\nimport { CSSTransition } from 'react-transition-group';\r\nimport styled from 'styled-components';\r\nimport { srConfig } from '@config';\r\nimport { KEY_CODES } from '@utils';\r\nimport sr from '@utils/sr';\r\n\r\nconst StyledJobsSection = styled.section`\r\n max-width: 700px;\r\n\r\n .inner {\r\n display: flex;\r\n\r\n @media (max-width: 600px) {\r\n display: block;\r\n }\r\n }\r\n`;\r\n\r\nconst StyledTabList = styled.ul`\r\n position: relative;\r\n z-index: 3;\r\n width: max-content;\r\n padding: 0;\r\n margin: 0;\r\n list-style: none;\r\n\r\n @media (max-width: 600px) {\r\n display: flex;\r\n overflow-x: auto;\r\n width: calc(100% + 100px);\r\n margin-left: -50px;\r\n margin-bottom: 30px;\r\n }\r\n @media (max-width: 480px) {\r\n width: calc(100% + 50px);\r\n margin-left: -25px;\r\n }\r\n\r\n li {\r\n &:first-of-type {\r\n @media (max-width: 600px) {\r\n margin-left: 50px;\r\n }\r\n @media (max-width: 480px) {\r\n margin-left: 25px;\r\n }\r\n }\r\n &:last-of-type {\r\n @media (max-width: 600px) {\r\n padding-right: 50px;\r\n }\r\n @media (max-width: 480px) {\r\n padding-right: 25px;\r\n }\r\n }\r\n }\r\n`;\r\n\r\nconst StyledTabButton = styled.button`\r\n ${({ theme }) => theme.mixins.link};\r\n display: flex;\r\n align-items: center;\r\n width: 100%;\r\n height: var(--tab-height);\r\n padding: 0 20px 2px;\r\n border-left: 2px solid var(--lightest-navy);\r\n background-color: transparent;\r\n color: ${({ isActive }) => (isActive ? 'var(--green)' : 'var(--slate)')};\r\n font-family: var(--font-mono);\r\n font-size: var(--fz-xs);\r\n text-align: left;\r\n white-space: nowrap;\r\n\r\n @media (max-width: 768px) {\r\n padding: 0 15px 2px;\r\n }\r\n @media (max-width: 600px) {\r\n ${({ theme }) => theme.mixins.flexCenter};\r\n min-width: 120px;\r\n padding: 0 15px;\r\n border-left: 0;\r\n border-bottom: 2px solid var(--lightest-navy);\r\n text-align: center;\r\n }\r\n\r\n &:hover,\r\n &:focus {\r\n background-color: var(--light-navy);\r\n }\r\n`;\r\n\r\nconst StyledHighlight = styled.div`\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n z-index: 10;\r\n width: 2px;\r\n height: var(--tab-height);\r\n border-radius: var(--border-radius);\r\n background: var(--green);\r\n transform: translateY(calc(${({ activeTabId }) => activeTabId} * var(--tab-height)));\r\n transition: transform 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);\r\n transition-delay: 0.1s;\r\n\r\n @media (max-width: 600px) {\r\n top: auto;\r\n bottom: 0;\r\n width: 100%;\r\n max-width: var(--tab-width);\r\n height: 2px;\r\n margin-left: 50px;\r\n transform: translateX(calc(${({ activeTabId }) => activeTabId} * var(--tab-width)));\r\n }\r\n @media (max-width: 480px) {\r\n margin-left: 25px;\r\n }\r\n`;\r\n\r\nconst StyledTabContent = styled.div`\r\n width: 100%;\r\n height: auto;\r\n padding-top: 10px;\r\n padding-left: 30px;\r\n\r\n @media (max-width: 768px) {\r\n padding-left: 20px;\r\n }\r\n @media (max-width: 600px) {\r\n padding-left: 0;\r\n }\r\n\r\n ul {\r\n ${({ theme }) => theme.mixins.fancyList};\r\n }\r\n\r\n h3 {\r\n margin-bottom: 5px;\r\n font-size: var(--fz-xxl);\r\n font-weight: 500;\r\n\r\n .company {\r\n color: var(--green);\r\n }\r\n }\r\n\r\n .range {\r\n margin-bottom: 30px;\r\n color: var(--light-slate);\r\n font-family: var(--font-mono);\r\n font-size: var(--fz-xs);\r\n }\r\n`;\r\n\r\nconst Jobs = () => {\r\n const data = useStaticQuery(graphql`\r\n query {\r\n jobs: allMarkdownRemark(\r\n filter: { fileAbsolutePath: { regex: \"/jobs/\" } }\r\n sort: { fields: [frontmatter___date], order: DESC }\r\n ) {\r\n edges {\r\n node {\r\n frontmatter {\r\n title\r\n company\r\n location\r\n range\r\n url\r\n }\r\n html\r\n }\r\n }\r\n }\r\n }\r\n `);\r\n\r\n const jobsData = data.jobs.edges;\r\n\r\n const [activeTabId, setActiveTabId] = useState(0);\r\n const [tabFocus, setTabFocus] = useState(null);\r\n const tabs = useRef([]);\r\n\r\n const revealContainer = useRef(null);\r\n useEffect(() => sr.reveal(revealContainer.current, srConfig()), []);\r\n\r\n const focusTab = () => {\r\n if (tabs.current[tabFocus]) {\r\n tabs.current[tabFocus].focus();\r\n return;\r\n }\r\n // If we're at the end, go to the start\r\n if (tabFocus >= tabs.current.length) {\r\n setTabFocus(0);\r\n }\r\n // If we're at the start, move to the end\r\n if (tabFocus < 0) {\r\n setTabFocus(tabs.current.length - 1);\r\n }\r\n };\r\n\r\n // Only re-run the effect if tabFocus changes\r\n useEffect(() => focusTab(), [tabFocus]);\r\n\r\n // Focus on tabs when using up & down arrow keys\r\n const onKeyDown = e => {\r\n if (e.key === KEY_CODES.ARROW_UP || e.key === KEY_CODES.ARROW_DOWN) {\r\n e.preventDefault();\r\n // Move up\r\n if (e.key === KEY_CODES.ARROW_UP) {\r\n setTabFocus(tabFocus - 1);\r\n }\r\n // Move down\r\n if (e.key === KEY_CODES.ARROW_DOWN) {\r\n setTabFocus(tabFocus + 1);\r\n }\r\n }\r\n };\r\n\r\n return (\r\n <StyledJobsSection id=\"jobs\" ref={revealContainer}>\r\n <h2 className=\"numbered-heading\">Where I’ve Worked</h2>\r\n\r\n <div className=\"inner\">\r\n <StyledTabList role=\"tablist\" aria-label=\"Job tabs\" onKeyDown={onKeyDown}>\r\n {jobsData &&\r\n jobsData.map(({ node }, i) => {\r\n const { company } = node.frontmatter;\r\n return (\r\n <li key={i}>\r\n <StyledTabButton\r\n isActive={activeTabId === i}\r\n onClick={() => setActiveTabId(i)}\r\n ref={el => (tabs.current[i] = el)}\r\n id={`tab-${i}`}\r\n role=\"tab\"\r\n aria-selected={activeTabId === i ? true : false}\r\n aria-controls={`panel-${i}`}\r\n tabIndex={activeTabId === i ? '0' : '-1'}>\r\n <span>{company}</span>\r\n </StyledTabButton>\r\n </li>\r\n );\r\n })}\r\n <StyledHighlight activeTabId={activeTabId} />\r\n </StyledTabList>\r\n\r\n {jobsData &&\r\n jobsData.map(({ node }, i) => {\r\n const { frontmatter, html } = node;\r\n const { title, url, company, range } = frontmatter;\r\n\r\n return (\r\n <CSSTransition key={i} in={activeTabId === i} timeout={250} classNames=\"fade\">\r\n <StyledTabContent\r\n id={`panel-${i}`}\r\n role=\"tabpanel\"\r\n tabIndex={activeTabId === i ? '0' : '-1'}\r\n aria-labelledby={`tab-${i}`}\r\n aria-hidden={activeTabId !== i}\r\n hidden={activeTabId !== i}>\r\n <h3>\r\n <span>{title}</span>\r\n <span className=\"company\">\r\n @ \r\n <a href={url} className=\"inline-link\">\r\n {company}\r\n </a>\r\n </span>\r\n </h3>\r\n\r\n <p className=\"range\">{range}</p>\r\n\r\n <div align=\"justify\" dangerouslySetInnerHTML={{ __html: html }} />\r\n </StyledTabContent>\r\n </CSSTransition>\r\n );\r\n })}\r\n </div>\r\n </StyledJobsSection>\r\n );\r\n};\r\n\r\nexport default Jobs;\r\n","import React, { useEffect, useRef } from 'react';\r\nimport { useStaticQuery, graphql } from 'gatsby';\r\nimport Img from 'gatsby-image';\r\nimport styled from 'styled-components';\r\nimport sr from '@utils/sr';\r\nimport { srConfig } from '@config';\r\nimport { Icon } from '@components/icons';\r\n\r\nconst StyledProject = styled.div`\r\n display: grid;\r\n grid-gap: 10px;\r\n grid-template-columns: repeat(12, 1fr);\r\n align-items: center;\r\n\r\n &:not(:last-of-type) {\r\n margin-bottom: 100px;\r\n\r\n @media (max-width: 768px) {\r\n margin-bottom: 70px;\r\n }\r\n\r\n @media (max-width: 480px) {\r\n margin-bottom: 30px;\r\n }\r\n }\r\n\r\n &:nth-of-type(odd) {\r\n .project-content {\r\n grid-column: 7 / -1;\r\n text-align: right;\r\n\r\n @media (max-width: 1080px) {\r\n grid-column: 5 / -1;\r\n }\r\n @media (max-width: 768px) {\r\n grid-column: 1 / -1;\r\n padding: 40px 40px 30px;\r\n }\r\n @media (max-width: 480px) {\r\n padding: 25px 25px 20px;\r\n }\r\n }\r\n .project-tech-list {\r\n justify-content: flex-end;\r\n\r\n li {\r\n margin: 0 0 5px 20px;\r\n\r\n @media (max-width: 768px) {\r\n margin: 0 0 5px 10px;\r\n }\r\n }\r\n }\r\n .project-links {\r\n justify-content: flex-end;\r\n margin-left: 0;\r\n margin-right: -10px;\r\n }\r\n .project-image {\r\n grid-column: 1 / 8;\r\n\r\n @media (max-width: 768px) {\r\n grid-column: 1 / -1;\r\n }\r\n }\r\n }\r\n\r\n .project-content {\r\n position: relative;\r\n grid-column: 1 / 7;\r\n grid-row: 1 / -1;\r\n\r\n @media (max-width: 1080px) {\r\n grid-column: 1 / 9;\r\n }\r\n\r\n @media (max-width: 768px) {\r\n grid-column: 1 / -1;\r\n padding: 40px 40px 30px;\r\n z-index: 5;\r\n }\r\n\r\n @media (max-width: 480px) {\r\n padding: 30px 25px 20px;\r\n }\r\n }\r\n\r\n .project-overline {\r\n margin: 10px 0;\r\n color: var(--green);\r\n font-family: var(--font-mono);\r\n font-size: var(--fz-xs);\r\n font-weight: 400;\r\n }\r\n\r\n .project-title {\r\n color: var(--lightest-slate);\r\n font-size: clamp(24px, 5vw, 28px);\r\n\r\n @media (min-width: 768px) {\r\n margin: 0 0 20px;\r\n }\r\n\r\n @media (max-width: 768px) {\r\n color: var(--white);\r\n }\r\n }\r\n\r\n .project-description {\r\n ${({ theme }) => theme.mixins.boxShadow};\r\n position: relative;\r\n z-index: 2;\r\n padding: 25px;\r\n border-radius: var(--border-radius);\r\n background-color: var(--light-navy);\r\n color: var(--light-slate);\r\n font-size: var(--fz-lg);\r\n\r\n @media (max-width: 768px) {\r\n padding: 20px 0;\r\n background-color: transparent;\r\n box-shadow: none;\r\n\r\n &:hover {\r\n box-shadow: none;\r\n }\r\n }\r\n\r\n a {\r\n ${({ theme }) => theme.mixins.inlineLink};\r\n }\r\n }\r\n\r\n .project-tech-list {\r\n display: flex;\r\n flex-wrap: wrap;\r\n position: relative;\r\n z-index: 2;\r\n margin: 25px 0 10px;\r\n padding: 0;\r\n list-style: none;\r\n\r\n li {\r\n margin: 0 20px 5px 0;\r\n color: var(--light-slate);\r\n font-family: var(--font-mono);\r\n font-size: var(--fz-xs);\r\n white-space: nowrap;\r\n }\r\n\r\n @media (max-width: 768px) {\r\n margin: 10px 0;\r\n\r\n li {\r\n margin: 0 10px 5px 0;\r\n color: var(--lightest-slate);\r\n }\r\n }\r\n }\r\n\r\n .project-links {\r\n display: flex;\r\n align-items: center;\r\n position: relative;\r\n margin-top: 10px;\r\n margin-left: -10px;\r\n color: var(--lightest-slate);\r\n a {\r\n padding: 10px;\r\n svg {\r\n width: 20px;\r\n height: 20px;\r\n }\r\n }\r\n }\r\n\r\n .project-image {\r\n ${({ theme }) => theme.mixins.boxShadow};\r\n grid-column: 6 / -1;\r\n grid-row: 1 / -1;\r\n position: relative;\r\n z-index: 1;\r\n\r\n @media (max-width: 768px) {\r\n grid-column: 1 / -1;\r\n height: 100%;\r\n opacity: 0.25;\r\n }\r\n\r\n a {\r\n width: 100%;\r\n background-color: var(--green);\r\n border-radius: var(--border-radius);\r\n vertical-align: middle;\r\n\r\n &:hover,\r\n &:focus {\r\n background: transparent;\r\n\r\n &:before,\r\n .img {\r\n background: transparent;\r\n filter: none;\r\n }\r\n }\r\n\r\n &:before {\r\n content: '';\r\n position: absolute;\r\n width: 100%;\r\n height: 100%;\r\n top: 0;\r\n left: 0;\r\n right: 0;\r\n bottom: 0;\r\n z-index: 3;\r\n transition: var(--transition);\r\n background-color: var(--navy);\r\n mix-blend-mode: screen;\r\n }\r\n }\r\n\r\n .img {\r\n border-radius: var(--border-radius);\r\n mix-blend-mode: multiply;\r\n filter: grayscale(100%) contrast(1) brightness(90%);\r\n\r\n @media (max-width: 768px) {\r\n object-fit: cover;\r\n width: auto;\r\n height: 100%;\r\n filter: grayscale(100%) contrast(1) brightness(80%);\r\n }\r\n }\r\n }\r\n`;\r\n\r\nconst Featured = () => {\r\n const data = useStaticQuery(graphql`\r\n query {\r\n featured: allMarkdownRemark(\r\n filter: { fileAbsolutePath: { regex: \"/featured/\" } }\r\n sort: { fields: [frontmatter___date], order: DESC }\r\n ) {\r\n edges {\r\n node {\r\n frontmatter {\r\n title\r\n cover {\r\n childImageSharp {\r\n fluid(maxWidth: 700, traceSVG: { color: \"#64ffda\" }) {\r\n ...GatsbyImageSharpFluid_withWebp_tracedSVG\r\n }\r\n }\r\n }\r\n tech\r\n github\r\n external\r\n }\r\n html\r\n }\r\n }\r\n }\r\n }\r\n `);\r\n\r\n const featuredProjects = data.featured.edges.filter(({ node }) => node);\r\n\r\n const revealTitle = useRef(null);\r\n const revealProjects = useRef([]);\r\n useEffect(() => {\r\n sr.reveal(revealTitle.current, srConfig());\r\n revealProjects.current.forEach((ref, i) => sr.reveal(ref, srConfig(i * 100)));\r\n }, []);\r\n\r\n return (\r\n <section id=\"projects\">\r\n <h2 className=\"numbered-heading\" ref={revealTitle}>\r\n Some Things I’ve Worked On\r\n </h2>\r\n\r\n <div>\r\n {featuredProjects &&\r\n featuredProjects.map(({ node }, i) => {\r\n const { frontmatter, html } = node;\r\n const { external, title, tech, github, cover } = frontmatter;\r\n\r\n return (\r\n <StyledProject key={i} ref={el => (revealProjects.current[i] = el)}>\r\n <div className=\"project-content\">\r\n <p className=\"project-overline\">Featured Project</p>\r\n <h3 className=\"project-title\">{title}</h3>\r\n <div align=\"justify\" className=\"project-description\" dangerouslySetInnerHTML={{ __html: html }} />\r\n\r\n {tech.length && (\r\n <ul className=\"project-tech-list\">\r\n {tech.map((tech, i) => (\r\n <li key={i}>{tech}</li>\r\n ))}\r\n </ul>\r\n )}\r\n\r\n <div className=\"project-links\">\r\n {github && (\r\n <a href={github} aria-label=\"GitHub Link\">\r\n <Icon name=\"GitHub\" />\r\n </a>\r\n )}\r\n {external && (\r\n <a href={external} aria-label=\"External Link\">\r\n <Icon name=\"External\" />\r\n </a>\r\n )}\r\n </div>\r\n </div>\r\n\r\n <div className=\"project-image\">\r\n <a href={external ? external : github ? github : '#'}>\r\n <Img fluid={cover.childImageSharp.fluid} alt={title} className=\"img\" />\r\n </a>\r\n </div>\r\n </StyledProject>\r\n );\r\n })}\r\n </div>\r\n </section>\r\n );\r\n};\r\n\r\nexport default Featured;\r\n","import React, { useState, useEffect, useRef } from 'react';\r\nimport { Link, useStaticQuery, graphql } from 'gatsby';\r\nimport { CSSTransition, TransitionGroup } from 'react-transition-group';\r\nimport styled from 'styled-components';\r\nimport { srConfig } from '@config';\r\nimport sr from '@utils/sr';\r\nimport { Icon } from '@components/icons';\r\n\r\nconst StyledProjectsSection = styled.section`\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n\r\n h2 {\r\n font-size: clamp(24px, 5vw, var(--fz-heading));\r\n }\r\n\r\n .archive-link {\r\n font-family: var(--font-mono);\r\n font-size: var(--fz-sm);\r\n &:after {\r\n bottom: 0.1em;\r\n }\r\n }\r\n\r\n .projects-grid {\r\n display: grid;\r\n grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));\r\n grid-gap: 15px;\r\n position: relative;\r\n margin-top: 50px;\r\n\r\n @media (max-width: 1080px) {\r\n grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));\r\n }\r\n }\r\n\r\n .more-button {\r\n ${({ theme }) => theme.mixins.button};\r\n margin: 80px auto 0;\r\n }\r\n`;\r\n\r\nconst StyledProject = styled.div`\r\n cursor: default;\r\n transition: var(--transition);\r\n\r\n &:hover,\r\n &:focus {\r\n outline: 0;\r\n .project-inner {\r\n transform: translateY(-5px);\r\n }\r\n }\r\n\r\n .project-inner {\r\n ${({ theme }) => theme.mixins.boxShadow};\r\n ${({ theme }) => theme.mixins.flexBetween};\r\n flex-direction: column;\r\n align-items: flex-start;\r\n position: relative;\r\n height: 100%;\r\n padding: 2rem 1.75rem;\r\n border-radius: var(--border-radius);\r\n background-color: var(--light-navy);\r\n transition: var(--transition);\r\n }\r\n\r\n .project-top {\r\n ${({ theme }) => theme.mixins.flexBetween};\r\n margin-bottom: 30px;\r\n\r\n .folder {\r\n color: var(--green);\r\n svg {\r\n width: 40px;\r\n height: 40px;\r\n }\r\n }\r\n\r\n .project-links {\r\n margin-right: -10px;\r\n color: var(--light-slate);\r\n\r\n a {\r\n padding: 5px 10px;\r\n\r\n svg {\r\n width: 20px;\r\n height: 20px;\r\n }\r\n }\r\n }\r\n }\r\n\r\n .project-title {\r\n margin: 0 0 10px;\r\n color: var(--lightest-slate);\r\n font-size: var(--fz-xxl);\r\n }\r\n\r\n .project-description {\r\n color: var(--light-slate);\r\n font-size: 17px;\r\n\r\n a {\r\n ${({ theme }) => theme.mixins.inlineLink};\r\n }\r\n }\r\n\r\n .project-tech-list {\r\n display: flex;\r\n align-items: flex-end;\r\n flex-grow: 1;\r\n flex-wrap: wrap;\r\n padding: 0;\r\n margin: 20px 0 0 0;\r\n list-style: none;\r\n\r\n li {\r\n font-family: var(--font-mono);\r\n font-size: var(--fz-xxs);\r\n line-height: 1.75;\r\n\r\n &:not(:last-of-type) {\r\n margin-right: 15px;\r\n }\r\n }\r\n }\r\n`;\r\n\r\nconst Projects = () => {\r\n const data = useStaticQuery(graphql`\r\n query {\r\n projects: allMarkdownRemark(\r\n filter: {\r\n fileAbsolutePath: { regex: \"/projects/\" }\r\n frontmatter: { showInProjects: { ne: false } }\r\n }\r\n sort: { fields: [frontmatter___date], order: DESC }\r\n ) {\r\n edges {\r\n node {\r\n frontmatter {\r\n title\r\n tech\r\n github\r\n external\r\n }\r\n html\r\n }\r\n }\r\n }\r\n }\r\n `);\r\n\r\n const [showMore, setShowMore] = useState(false);\r\n const revealTitle = useRef(null);\r\n const revealArchiveLink = useRef(null);\r\n const revealProjects = useRef([]);\r\n\r\n useEffect(() => {\r\n sr.reveal(revealTitle.current, srConfig());\r\n sr.reveal(revealArchiveLink.current, srConfig());\r\n revealProjects.current.forEach((ref, i) => sr.reveal(ref, srConfig(i * 100)));\r\n }, []);\r\n\r\n const GRID_LIMIT = 6;\r\n const projects = data.projects.edges.filter(({ node }) => node);\r\n const firstSix = projects.slice(0, GRID_LIMIT);\r\n const projectsToShow = showMore ? projects : firstSix;\r\n\r\n return (\r\n <StyledProjectsSection>\r\n <h2 ref={revealTitle}>Other Noteworthy Projects</h2>\r\n\r\n\r\n <TransitionGroup className=\"projects-grid\">\r\n {projectsToShow &&\r\n projectsToShow.map(({ node }, i) => {\r\n const { frontmatter, html } = node;\r\n const { github, external, title, tech } = frontmatter;\r\n\r\n return (\r\n <CSSTransition\r\n key={i}\r\n classNames=\"fadeup\"\r\n timeout={i >= GRID_LIMIT ? (i - GRID_LIMIT) * 300 : 300}\r\n exit={false}>\r\n <StyledProject\r\n key={i}\r\n ref={el => (revealProjects.current[i] = el)}\r\n tabIndex=\"0\"\r\n style={{\r\n transitionDelay: `${i >= GRID_LIMIT ? (i - GRID_LIMIT) * 100 : 0}ms`,\r\n }}>\r\n <div className=\"project-inner\">\r\n <header>\r\n <div className=\"project-top\">\r\n <div className=\"folder\">\r\n <Icon name=\"Folder\" />\r\n </div>\r\n <div className=\"project-links\">\r\n {github && (\r\n <a href={github} aria-label=\"GitHub Link\">\r\n <Icon name=\"GitHub\" />\r\n </a>\r\n )}\r\n {external && (\r\n <a href={external} aria-label=\"External Link\">\r\n <Icon name=\"External\" />\r\n </a>\r\n )}\r\n </div>\r\n </div>\r\n\r\n <h3 className=\"project-title\">{title}</h3>\r\n\r\n <div\r\n\t\t\t\t\t\talign=\"justify\"\r\n className=\"project-description\"\r\n dangerouslySetInnerHTML={{ __html: html }}\r\n />\r\n </header>\r\n\r\n <footer>\r\n {tech && (\r\n <ul className=\"project-tech-list\">\r\n {tech.map((tech, i) => (\r\n <li key={i}>{tech}</li>\r\n ))}\r\n </ul>\r\n )}\r\n </footer>\r\n </div>\r\n </StyledProject>\r\n </CSSTransition>\r\n );\r\n })}\r\n </TransitionGroup>\r\n\r\n \r\n </StyledProjectsSection>\r\n );\r\n};\r\n\r\nexport default Projects;\r\n","import React, { useEffect, useRef } from 'react';\r\nimport styled from 'styled-components';\r\nimport { srConfig, email } from '@config';\r\nimport sr from '@utils/sr';\r\n\r\nconst StyledContactSection = styled.section`\r\n max-width: 600px;\r\n margin: 0 auto 100px;\r\n text-align: center;\r\n\r\n @media (max-width: 768px) {\r\n margin: 0 auto 50px;\r\n }\r\n\r\n .overline {\r\n display: block;\r\n margin-bottom: 20px;\r\n color: var(--green);\r\n font-family: var(--font-mono);\r\n font-size: var(--fz-md);\r\n font-weight: 400;\r\n\r\n &:before {\r\n bottom: 0;\r\n font-size: var(--fz-sm);\r\n }\r\n\r\n &:after {\r\n display: none;\r\n }\r\n }\r\n\r\n .title {\r\n font-size: clamp(40px, 5vw, 60px);\r\n }\r\n\r\n .email-link {\r\n ${({ theme }) => theme.mixins.bigButton};\r\n margin-top: 50px;\r\n }\r\n`;\r\n\r\nconst Contact = () => {\r\n const revealContainer = useRef(null);\r\n useEffect(() => sr.reveal(revealContainer.current, srConfig()), []);\r\n\r\n return (\r\n <StyledContactSection id=\"contact\" ref={revealContainer}>\r\n <h2 className=\"numbered-heading overline\">What’s Next?</h2>\r\n\r\n <h2 className=\"title\">Get In Touch</h2>\r\n\r\n <p>\r\n If you have a relevant opportunity for me in data analytics, AI/ML and Software Development Roles, my inbox is always open.\r\n Whether you have a question or just want to say hi, I'll try my best to get back to you!\r\n </p>\r\n\r\n <a className=\"email-link\" href={`mailto:${email}`}>\r\n Say Hello\r\n </a>\r\n </StyledContactSection>\r\n );\r\n};\r\n\r\nexport default Contact;\r\n","module.exports = __webpack_public_path__ + \"static/Calibre-Regular-b63c62e591d0c8fbe2c8f009883346d5.woff2\";","var unitlessKeys = {\n animationIterationCount: 1,\n borderImageOutset: 1,\n borderImageSlice: 1,\n borderImageWidth: 1,\n boxFlex: 1,\n boxFlexGroup: 1,\n boxOrdinalGroup: 1,\n columnCount: 1,\n columns: 1,\n flex: 1,\n flexGrow: 1,\n flexPositive: 1,\n flexShrink: 1,\n flexNegative: 1,\n flexOrder: 1,\n gridRow: 1,\n gridRowEnd: 1,\n gridRowSpan: 1,\n gridRowStart: 1,\n gridColumn: 1,\n gridColumnEnd: 1,\n gridColumnSpan: 1,\n gridColumnStart: 1,\n msGridRow: 1,\n msGridRowSpan: 1,\n msGridColumn: 1,\n msGridColumnSpan: 1,\n fontWeight: 1,\n lineHeight: 1,\n opacity: 1,\n order: 1,\n orphans: 1,\n tabSize: 1,\n widows: 1,\n zIndex: 1,\n zoom: 1,\n WebkitLineClamp: 1,\n // SVG-related properties\n fillOpacity: 1,\n floodOpacity: 1,\n stopOpacity: 1,\n strokeDasharray: 1,\n strokeDashoffset: 1,\n strokeMiterlimit: 1,\n strokeOpacity: 1,\n strokeWidth: 1\n};\nexport default unitlessKeys;","module.exports = __webpack_public_path__ + \"static/Calibre-Semibold-d8b856473a51d7eec2a9bccf2fbea54c.woff2\";","module.exports = __webpack_public_path__ + \"static/SFMono-Semibold-cebe2bfbe8a283427e3c5ad8a1b8ae2f.woff2\";","/*! smooth-scroll v16.1.3 | (c) 2020 Chris Ferdinandi | MIT License | http://github.com/cferdinandi/smooth-scroll */\nwindow.Element && !Element.prototype.closest && (Element.prototype.closest = function (e) {\n var t,\n n = (this.document || this.ownerDocument).querySelectorAll(e),\n o = this;\n\n do {\n for (t = n.length; 0 <= --t && n.item(t) !== o;) {\n ;\n }\n } while (t < 0 && (o = o.parentElement));\n\n return o;\n}), function () {\n if (\"function\" == typeof window.CustomEvent) return;\n\n function e(e, t) {\n t = t || {\n bubbles: !1,\n cancelable: !1,\n detail: void 0\n };\n var n = document.createEvent(\"CustomEvent\");\n return n.initCustomEvent(e, t.bubbles, t.cancelable, t.detail), n;\n }\n\n e.prototype = window.Event.prototype, window.CustomEvent = e;\n}(), function () {\n for (var r = 0, e = [\"ms\", \"moz\", \"webkit\", \"o\"], t = 0; t < e.length && !window.requestAnimationFrame; ++t) {\n window.requestAnimationFrame = window[e[t] + \"RequestAnimationFrame\"], window.cancelAnimationFrame = window[e[t] + \"CancelAnimationFrame\"] || window[e[t] + \"CancelRequestAnimationFrame\"];\n }\n\n window.requestAnimationFrame || (window.requestAnimationFrame = function (e, t) {\n var n = new Date().getTime(),\n o = Math.max(0, 16 - (n - r)),\n a = window.setTimeout(function () {\n e(n + o);\n }, o);\n return r = n + o, a;\n }), window.cancelAnimationFrame || (window.cancelAnimationFrame = function (e) {\n clearTimeout(e);\n });\n}(), function (e, t) {\n \"function\" == typeof define && define.amd ? define([], function () {\n return t(e);\n }) : \"object\" == typeof exports ? module.exports = t(e) : e.SmoothScroll = t(e);\n}(\"undefined\" != typeof global ? global : \"undefined\" != typeof window ? window : this, function (M) {\n \"use strict\";\n\n var q = {\n ignore: \"[data-scroll-ignore]\",\n header: null,\n topOnEmptyHash: !0,\n speed: 500,\n speedAsDuration: !1,\n durationMax: null,\n durationMin: null,\n clip: !0,\n offset: 0,\n easing: \"easeInOutCubic\",\n customEasing: null,\n updateURL: !0,\n popstate: !0,\n emitEvents: !0\n },\n I = function I() {\n var n = {};\n return Array.prototype.forEach.call(arguments, function (e) {\n for (var t in e) {\n if (!e.hasOwnProperty(t)) return;\n n[t] = e[t];\n }\n }), n;\n },\n r = function r(e) {\n \"#\" === e.charAt(0) && (e = e.substr(1));\n\n for (var t, n = String(e), o = n.length, a = -1, r = \"\", i = n.charCodeAt(0); ++a < o;) {\n if (0 === (t = n.charCodeAt(a))) throw new InvalidCharacterError(\"Invalid character: the input contains U+0000.\");\n 1 <= t && t <= 31 || 127 == t || 0 === a && 48 <= t && t <= 57 || 1 === a && 48 <= t && t <= 57 && 45 === i ? r += \"\\\\\" + t.toString(16) + \" \" : r += 128 <= t || 45 === t || 95 === t || 48 <= t && t <= 57 || 65 <= t && t <= 90 || 97 <= t && t <= 122 ? n.charAt(a) : \"\\\\\" + n.charAt(a);\n }\n\n return \"#\" + r;\n },\n F = function F() {\n return Math.max(document.body.scrollHeight, document.documentElement.scrollHeight, document.body.offsetHeight, document.documentElement.offsetHeight, document.body.clientHeight, document.documentElement.clientHeight);\n },\n L = function L(e) {\n return e ? (t = e, parseInt(M.getComputedStyle(t).height, 10) + e.offsetTop) : 0;\n var t;\n },\n x = function x(e, t, n) {\n 0 === e && document.body.focus(), n || (e.focus(), document.activeElement !== e && (e.setAttribute(\"tabindex\", \"-1\"), e.focus(), e.style.outline = \"none\"), M.scrollTo(0, t));\n },\n H = function H(e, t, n, o) {\n if (t.emitEvents && \"function\" == typeof M.CustomEvent) {\n var a = new CustomEvent(e, {\n bubbles: !0,\n detail: {\n anchor: n,\n toggle: o\n }\n });\n document.dispatchEvent(a);\n }\n };\n\n return function (o, e) {\n var b,\n a,\n A,\n O,\n C = {};\n C.cancelScroll = function (e) {\n cancelAnimationFrame(O), O = null, e || H(\"scrollCancel\", b);\n }, C.animateScroll = function (a, r, e) {\n C.cancelScroll();\n var i = I(b || q, e || {}),\n c = \"[object Number]\" === Object.prototype.toString.call(a),\n t = c || !a.tagName ? null : a;\n\n if (c || t) {\n var s = M.pageYOffset;\n i.header && !A && (A = document.querySelector(i.header));\n\n var n,\n o,\n u,\n l,\n m,\n d,\n f,\n h,\n p = L(A),\n g = c ? a : function (e, t, n, o) {\n var a = 0;\n if (e.offsetParent) for (; a += e.offsetTop, e = e.offsetParent;) {\n ;\n }\n return a = Math.max(a - t - n, 0), o && (a = Math.min(a, F() - M.innerHeight)), a;\n }(t, p, parseInt(\"function\" == typeof i.offset ? i.offset(a, r) : i.offset, 10), i.clip),\n y = g - s,\n v = F(),\n w = 0,\n S = (n = y, u = (o = i).speedAsDuration ? o.speed : Math.abs(n / 1e3 * o.speed), o.durationMax && u > o.durationMax ? o.durationMax : o.durationMin && u < o.durationMin ? o.durationMin : parseInt(u, 10)),\n E = function E(e) {\n var t, n, o;\n l || (l = e), w += e - l, d = s + y * (n = m = 1 < (m = 0 === S ? 0 : w / S) ? 1 : m, \"easeInQuad\" === (t = i).easing && (o = n * n), \"easeOutQuad\" === t.easing && (o = n * (2 - n)), \"easeInOutQuad\" === t.easing && (o = n < .5 ? 2 * n * n : (4 - 2 * n) * n - 1), \"easeInCubic\" === t.easing && (o = n * n * n), \"easeOutCubic\" === t.easing && (o = --n * n * n + 1), \"easeInOutCubic\" === t.easing && (o = n < .5 ? 4 * n * n * n : (n - 1) * (2 * n - 2) * (2 * n - 2) + 1), \"easeInQuart\" === t.easing && (o = n * n * n * n), \"easeOutQuart\" === t.easing && (o = 1 - --n * n * n * n), \"easeInOutQuart\" === t.easing && (o = n < .5 ? 8 * n * n * n * n : 1 - 8 * --n * n * n * n), \"easeInQuint\" === t.easing && (o = n * n * n * n * n), \"easeOutQuint\" === t.easing && (o = 1 + --n * n * n * n * n), \"easeInOutQuint\" === t.easing && (o = n < .5 ? 16 * n * n * n * n * n : 1 + 16 * --n * n * n * n * n), t.customEasing && (o = t.customEasing(n)), o || n), M.scrollTo(0, Math.floor(d)), function (e, t) {\n var n = M.pageYOffset;\n if (e == t || n == t || (s < t && M.innerHeight + n) >= v) return C.cancelScroll(!0), x(a, t, c), H(\"scrollStop\", i, a, r), !(O = l = null);\n }(d, g) || (O = M.requestAnimationFrame(E), l = e);\n };\n\n 0 === M.pageYOffset && M.scrollTo(0, 0), f = a, h = i, c || history.pushState && h.updateURL && history.pushState({\n smoothScroll: JSON.stringify(h),\n anchor: f.id\n }, document.title, f === document.documentElement ? \"#top\" : \"#\" + f.id), \"matchMedia\" in M && M.matchMedia(\"(prefers-reduced-motion)\").matches ? x(a, Math.floor(g), !1) : (H(\"scrollStart\", i, a, r), C.cancelScroll(!0), M.requestAnimationFrame(E));\n }\n };\n\n var t = function t(e) {\n if (!e.defaultPrevented && !(0 !== e.button || e.metaKey || e.ctrlKey || e.shiftKey) && \"closest\" in e.target && (a = e.target.closest(o)) && \"a\" === a.tagName.toLowerCase() && !e.target.closest(b.ignore) && a.hostname === M.location.hostname && a.pathname === M.location.pathname && /#/.test(a.href)) {\n var t, n;\n\n try {\n t = r(decodeURIComponent(a.hash));\n } catch (e) {\n t = r(a.hash);\n }\n\n if (\"#\" === t) {\n if (!b.topOnEmptyHash) return;\n n = document.documentElement;\n } else n = document.querySelector(t);\n\n (n = n || \"#top\" !== t ? n : document.documentElement) && (e.preventDefault(), function (e) {\n if (history.replaceState && e.updateURL && !history.state) {\n var t = M.location.hash;\n t = t || \"\", history.replaceState({\n smoothScroll: JSON.stringify(e),\n anchor: t || M.pageYOffset\n }, document.title, t || M.location.href);\n }\n }(b), C.animateScroll(n, a));\n }\n },\n n = function n(e) {\n if (null !== history.state && history.state.smoothScroll && history.state.smoothScroll === JSON.stringify(b)) {\n var t = history.state.anchor;\n \"string\" == typeof t && t && !(t = document.querySelector(r(history.state.anchor))) || C.animateScroll(t, null, {\n updateURL: !1\n });\n }\n };\n\n C.destroy = function () {\n b && (document.removeEventListener(\"click\", t, !1), M.removeEventListener(\"popstate\", n, !1), C.cancelScroll(), O = A = a = b = null);\n };\n\n return function () {\n if (!(\"querySelector\" in document && \"addEventListener\" in M && \"requestAnimationFrame\" in M && \"closest\" in M.Element.prototype)) throw \"Smooth Scroll: This browser does not support the required JavaScript methods and browser APIs.\";\n C.destroy(), b = I(q, e || {}), A = b.header ? document.querySelector(b.header) : null, document.addEventListener(\"click\", t, !1), b.updateURL && b.popstate && M.addEventListener(\"popstate\", n, !1);\n }(), C;\n };\n});","(function (factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? module['exports'] = factory() : typeof define === 'function' && define['amd'] ? define(factory()) : window['stylisRuleSheet'] = factory();\n})(function () {\n 'use strict';\n\n return function (insertRule) {\n var delimiter = '/*|*/';\n var needle = delimiter + '}';\n\n function toSheet(block) {\n if (block) try {\n insertRule(block + '}');\n } catch (e) {}\n }\n\n return function ruleSheet(context, content, selectors, parents, line, column, length, ns, depth, at) {\n switch (context) {\n // property\n case 1:\n // @import\n if (depth === 0 && content.charCodeAt(0) === 64) return insertRule(content + ';'), '';\n break;\n // selector\n\n case 2:\n if (ns === 0) return content + delimiter;\n break;\n // at-rule\n\n case 3:\n switch (ns) {\n // @font-face, @page\n case 102:\n case 112:\n return insertRule(selectors[0] + content), '';\n\n default:\n return content + (at === 0 ? delimiter : '');\n }\n\n case -2:\n content.split(needle).forEach(toSheet);\n }\n };\n };\n});","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}","module.exports = __webpack_public_path__ + \"static/Calibre-SemiboldItalic-6473be72d5216d0ec21d273af09b9fa3.woff\";","import { Children, cloneElement, isValidElement } from 'react';\n/**\n * Given `this.props.children`, return an object mapping key to child.\n *\n * @param {*} children `this.props.children`\n * @return {object} Mapping of key to child\n */\n\nexport function getChildMapping(children, mapFn) {\n var mapper = function mapper(child) {\n return mapFn && isValidElement(child) ? mapFn(child) : child;\n };\n\n var result = Object.create(null);\n if (children) Children.map(children, function (c) {\n return c;\n }).forEach(function (child) {\n // run the map function here instead so that the key is the computed one\n result[child.key] = mapper(child);\n });\n return result;\n}\n/**\n * When you're adding or removing children some may be added or removed in the\n * same render pass. We want to show *both* since we want to simultaneously\n * animate elements in and out. This function takes a previous set of keys\n * and a new set of keys and merges them with its best guess of the correct\n * ordering. In the future we may expose some of the utilities in\n * ReactMultiChild to make this easy, but for now React itself does not\n * directly have this concept of the union of prevChildren and nextChildren\n * so we implement it here.\n *\n * @param {object} prev prev children as returned from\n * `ReactTransitionChildMapping.getChildMapping()`.\n * @param {object} next next children as returned from\n * `ReactTransitionChildMapping.getChildMapping()`.\n * @return {object} a key set that contains all keys in `prev` and all keys\n * in `next` in a reasonable order.\n */\n\nexport function mergeChildMappings(prev, next) {\n prev = prev || {};\n next = next || {};\n\n function getValueForKey(key) {\n return key in next ? next[key] : prev[key];\n } // For each key of `next`, the list of keys to insert before that key in\n // the combined list\n\n\n var nextKeysPending = Object.create(null);\n var pendingKeys = [];\n\n for (var prevKey in prev) {\n if (prevKey in next) {\n if (pendingKeys.length) {\n nextKeysPending[prevKey] = pendingKeys;\n pendingKeys = [];\n }\n } else {\n pendingKeys.push(prevKey);\n }\n }\n\n var i;\n var childMapping = {};\n\n for (var nextKey in next) {\n if (nextKeysPending[nextKey]) {\n for (i = 0; i < nextKeysPending[nextKey].length; i++) {\n var pendingNextKey = nextKeysPending[nextKey][i];\n childMapping[nextKeysPending[nextKey][i]] = getValueForKey(pendingNextKey);\n }\n }\n\n childMapping[nextKey] = getValueForKey(nextKey);\n } // Finally, add the keys which didn't appear before any key in `next`\n\n\n for (i = 0; i < pendingKeys.length; i++) {\n childMapping[pendingKeys[i]] = getValueForKey(pendingKeys[i]);\n }\n\n return childMapping;\n}\n\nfunction getProp(child, prop, props) {\n return props[prop] != null ? props[prop] : child.props[prop];\n}\n\nexport function getInitialChildMapping(props, onExited) {\n return getChildMapping(props.children, function (child) {\n return cloneElement(child, {\n onExited: onExited.bind(null, child),\n in: true,\n appear: getProp(child, 'appear', props),\n enter: getProp(child, 'enter', props),\n exit: getProp(child, 'exit', props)\n });\n });\n}\nexport function getNextChildMapping(nextProps, prevChildMapping, onExited) {\n var nextChildMapping = getChildMapping(nextProps.children);\n var children = mergeChildMappings(prevChildMapping, nextChildMapping);\n Object.keys(children).forEach(function (key) {\n var child = children[key];\n if (!isValidElement(child)) return;\n var hasPrev = (key in prevChildMapping);\n var hasNext = (key in nextChildMapping);\n var prevChild = prevChildMapping[key];\n var isLeaving = isValidElement(prevChild) && !prevChild.props.in; // item is new (entering)\n\n if (hasNext && (!hasPrev || isLeaving)) {\n // console.log('entering', key)\n children[key] = cloneElement(child, {\n onExited: onExited.bind(null, child),\n in: true,\n exit: getProp(child, 'exit', nextProps),\n enter: getProp(child, 'enter', nextProps)\n });\n } else if (!hasNext && hasPrev && !isLeaving) {\n // item is old (exiting)\n // console.log('leaving', key)\n children[key] = cloneElement(child, {\n in: false\n });\n } else if (hasNext && hasPrev && isValidElement(prevChild)) {\n // item hasn't changed transition states\n // copy over the last transition props;\n // console.log('unchanged', key)\n children[key] = cloneElement(child, {\n onExited: onExited.bind(null, child),\n in: prevChild.props.in,\n exit: getProp(child, 'exit', nextProps),\n enter: getProp(child, 'enter', nextProps)\n });\n }\n });\n return children;\n}","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport React from 'react';\nimport TransitionGroupContext from './TransitionGroupContext';\nimport { getChildMapping, getInitialChildMapping, getNextChildMapping } from './utils/ChildMapping';\n\nvar values = Object.values || function (obj) {\n return Object.keys(obj).map(function (k) {\n return obj[k];\n });\n};\n\nvar defaultProps = {\n component: 'div',\n childFactory: function childFactory(child) {\n return child;\n }\n};\n/**\n * The `<TransitionGroup>` component manages a set of transition components\n * (`<Transition>` and `<CSSTransition>`) in a list. Like with the transition\n * components, `<TransitionGroup>` is a state machine for managing the mounting\n * and unmounting of components over time.\n *\n * Consider the example below. As items are removed or added to the TodoList the\n * `in` prop is toggled automatically by the `<TransitionGroup>`.\n *\n * Note that `<TransitionGroup>` does not define any animation behavior!\n * Exactly _how_ a list item animates is up to the individual transition\n * component. This means you can mix and match animations across different list\n * items.\n */\n\nvar TransitionGroup = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(TransitionGroup, _React$Component);\n\n function TransitionGroup(props, context) {\n var _this;\n\n _this = _React$Component.call(this, props, context) || this;\n\n var handleExited = _this.handleExited.bind(_assertThisInitialized(_this)); // Initial children should all be entering, dependent on appear\n\n\n _this.state = {\n contextValue: {\n isMounting: true\n },\n handleExited: handleExited,\n firstRender: true\n };\n return _this;\n }\n\n var _proto = TransitionGroup.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.mounted = true;\n this.setState({\n contextValue: {\n isMounting: false\n }\n });\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this.mounted = false;\n };\n\n TransitionGroup.getDerivedStateFromProps = function getDerivedStateFromProps(nextProps, _ref) {\n var prevChildMapping = _ref.children,\n handleExited = _ref.handleExited,\n firstRender = _ref.firstRender;\n return {\n children: firstRender ? getInitialChildMapping(nextProps, handleExited) : getNextChildMapping(nextProps, prevChildMapping, handleExited),\n firstRender: false\n };\n } // node is `undefined` when user provided `nodeRef` prop\n ;\n\n _proto.handleExited = function handleExited(child, node) {\n var currentChildMapping = getChildMapping(this.props.children);\n if (child.key in currentChildMapping) return;\n\n if (child.props.onExited) {\n child.props.onExited(node);\n }\n\n if (this.mounted) {\n this.setState(function (state) {\n var children = _extends({}, state.children);\n\n delete children[child.key];\n return {\n children: children\n };\n });\n }\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n Component = _this$props.component,\n childFactory = _this$props.childFactory,\n props = _objectWithoutPropertiesLoose(_this$props, [\"component\", \"childFactory\"]);\n\n var contextValue = this.state.contextValue;\n var children = values(this.state.children).map(childFactory);\n delete props.appear;\n delete props.enter;\n delete props.exit;\n\n if (Component === null) {\n return /*#__PURE__*/React.createElement(TransitionGroupContext.Provider, {\n value: contextValue\n }, children);\n }\n\n return /*#__PURE__*/React.createElement(TransitionGroupContext.Provider, {\n value: contextValue\n }, /*#__PURE__*/React.createElement(Component, props, children));\n };\n\n return TransitionGroup;\n}(React.Component);\n\nTransitionGroup.defaultProps = defaultProps;\nexport default TransitionGroup;","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return self;\n}","function areInputsEqual(newInputs, lastInputs) {\n if (newInputs.length !== lastInputs.length) {\n return false;\n }\n\n for (var i = 0; i < newInputs.length; i++) {\n if (newInputs[i] !== lastInputs[i]) {\n return false;\n }\n }\n\n return true;\n}\n\nfunction memoizeOne(resultFn, isEqual) {\n if (isEqual === void 0) {\n isEqual = areInputsEqual;\n }\n\n var lastThis;\n var lastArgs = [];\n var lastResult;\n var calledOnce = false;\n\n function memoized() {\n var newArgs = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n newArgs[_i] = arguments[_i];\n }\n\n if (calledOnce && lastThis === this && isEqual(newArgs, lastArgs)) {\n return lastResult;\n }\n\n lastResult = resultFn.apply(this, newArgs);\n calledOnce = true;\n lastThis = this;\n lastArgs = newArgs;\n return lastResult;\n }\n\n return memoized;\n}\n\nexport default memoizeOne;","!function (e) {\n \"object\" == typeof exports && \"undefined\" != typeof module ? module.exports = e(null) : \"function\" == typeof define && define.amd ? define(e(null)) : window.stylis = e(null);\n}(function e(a) {\n \"use strict\";\n\n var r = /^\\0+/g,\n c = /[\\0\\r\\f]/g,\n s = /: */g,\n t = /zoo|gra/,\n i = /([,: ])(transform)/g,\n f = /,+\\s*(?![^(]*[)])/g,\n n = / +\\s*(?![^(]*[)])/g,\n l = / *[\\0] */g,\n o = /,\\r+?/g,\n h = /([\\t\\r\\n ])*\\f?&/g,\n u = /:global\\(((?:[^\\(\\)\\[\\]]*|\\[.*\\]|\\([^\\(\\)]*\\))*)\\)/g,\n d = /\\W+/g,\n b = /@(k\\w+)\\s*(\\S*)\\s*/,\n p = /::(place)/g,\n k = /:(read-only)/g,\n g = /\\s+(?=[{\\];=:>])/g,\n A = /([[}=:>])\\s+/g,\n C = /(\\{[^{]+?);(?=\\})/g,\n w = /\\s{2,}/g,\n v = /([^\\(])(:+) */g,\n m = /[svh]\\w+-[tblr]{2}/,\n x = /\\(\\s*(.*)\\s*\\)/g,\n $ = /([\\s\\S]*?);/g,\n y = /-self|flex-/g,\n O = /[^]*?(:[rp][el]a[\\w-]+)[^]*/,\n j = /stretch|:\\s*\\w+\\-(?:conte|avail)/,\n z = /([^-])(image-set\\()/,\n N = \"-webkit-\",\n S = \"-moz-\",\n F = \"-ms-\",\n W = 59,\n q = 125,\n B = 123,\n D = 40,\n E = 41,\n G = 91,\n H = 93,\n I = 10,\n J = 13,\n K = 9,\n L = 64,\n M = 32,\n P = 38,\n Q = 45,\n R = 95,\n T = 42,\n U = 44,\n V = 58,\n X = 39,\n Y = 34,\n Z = 47,\n _ = 62,\n ee = 43,\n ae = 126,\n re = 0,\n ce = 12,\n se = 11,\n te = 107,\n ie = 109,\n fe = 115,\n ne = 112,\n le = 111,\n oe = 105,\n he = 99,\n ue = 100,\n de = 112,\n be = 1,\n pe = 1,\n ke = 0,\n ge = 1,\n Ae = 1,\n Ce = 1,\n we = 0,\n ve = 0,\n me = 0,\n xe = [],\n $e = [],\n ye = 0,\n Oe = null,\n je = -2,\n ze = -1,\n Ne = 0,\n Se = 1,\n Fe = 2,\n We = 3,\n qe = 0,\n Be = 1,\n De = \"\",\n Ee = \"\",\n Ge = \"\";\n\n function He(e, a, s, t, i) {\n for (var f, n, o = 0, h = 0, u = 0, d = 0, g = 0, A = 0, C = 0, w = 0, m = 0, $ = 0, y = 0, O = 0, j = 0, z = 0, R = 0, we = 0, $e = 0, Oe = 0, je = 0, ze = s.length, Je = ze - 1, Re = \"\", Te = \"\", Ue = \"\", Ve = \"\", Xe = \"\", Ye = \"\"; R < ze;) {\n if (C = s.charCodeAt(R), R === Je) if (h + d + u + o !== 0) {\n if (0 !== h) C = h === Z ? I : Z;\n d = u = o = 0, ze++, Je++;\n }\n\n if (h + d + u + o === 0) {\n if (R === Je) {\n if (we > 0) Te = Te.replace(c, \"\");\n\n if (Te.trim().length > 0) {\n switch (C) {\n case M:\n case K:\n case W:\n case J:\n case I:\n break;\n\n default:\n Te += s.charAt(R);\n }\n\n C = W;\n }\n }\n\n if (1 === $e) switch (C) {\n case B:\n case q:\n case W:\n case Y:\n case X:\n case D:\n case E:\n case U:\n $e = 0;\n\n case K:\n case J:\n case I:\n case M:\n break;\n\n default:\n for ($e = 0, je = R, g = C, R--, C = W; je < ze;) {\n switch (s.charCodeAt(je++)) {\n case I:\n case J:\n case W:\n ++R, C = g, je = ze;\n break;\n\n case V:\n if (we > 0) ++R, C = g;\n\n case B:\n je = ze;\n }\n }\n\n }\n\n switch (C) {\n case B:\n for (g = (Te = Te.trim()).charCodeAt(0), y = 1, je = ++R; R < ze;) {\n switch (C = s.charCodeAt(R)) {\n case B:\n y++;\n break;\n\n case q:\n y--;\n break;\n\n case Z:\n switch (A = s.charCodeAt(R + 1)) {\n case T:\n case Z:\n R = Qe(A, R, Je, s);\n }\n\n break;\n\n case G:\n C++;\n\n case D:\n C++;\n\n case Y:\n case X:\n for (; R++ < Je && s.charCodeAt(R) !== C;) {\n ;\n }\n\n }\n\n if (0 === y) break;\n R++;\n }\n\n if (Ue = s.substring(je, R), g === re) g = (Te = Te.replace(r, \"\").trim()).charCodeAt(0);\n\n switch (g) {\n case L:\n if (we > 0) Te = Te.replace(c, \"\");\n\n switch (A = Te.charCodeAt(1)) {\n case ue:\n case ie:\n case fe:\n case Q:\n f = a;\n break;\n\n default:\n f = xe;\n }\n\n if (je = (Ue = He(a, f, Ue, A, i + 1)).length, me > 0 && 0 === je) je = Te.length;\n if (ye > 0) if (f = Ie(xe, Te, Oe), n = Pe(We, Ue, f, a, pe, be, je, A, i, t), Te = f.join(\"\"), void 0 !== n) if (0 === (je = (Ue = n.trim()).length)) A = 0, Ue = \"\";\n if (je > 0) switch (A) {\n case fe:\n Te = Te.replace(x, Me);\n\n case ue:\n case ie:\n case Q:\n Ue = Te + \"{\" + Ue + \"}\";\n break;\n\n case te:\n if (Ue = (Te = Te.replace(b, \"$1 $2\" + (Be > 0 ? De : \"\"))) + \"{\" + Ue + \"}\", 1 === Ae || 2 === Ae && Le(\"@\" + Ue, 3)) Ue = \"@\" + N + Ue + \"@\" + Ue;else Ue = \"@\" + Ue;\n break;\n\n default:\n if (Ue = Te + Ue, t === de) Ve += Ue, Ue = \"\";\n } else Ue = \"\";\n break;\n\n default:\n Ue = He(a, Ie(a, Te, Oe), Ue, t, i + 1);\n }\n\n Xe += Ue, O = 0, $e = 0, z = 0, we = 0, Oe = 0, j = 0, Te = \"\", Ue = \"\", C = s.charCodeAt(++R);\n break;\n\n case q:\n case W:\n if ((je = (Te = (we > 0 ? Te.replace(c, \"\") : Te).trim()).length) > 1) {\n if (0 === z) if ((g = Te.charCodeAt(0)) === Q || g > 96 && g < 123) je = (Te = Te.replace(\" \", \":\")).length;\n if (ye > 0) if (void 0 !== (n = Pe(Se, Te, a, e, pe, be, Ve.length, t, i, t))) if (0 === (je = (Te = n.trim()).length)) Te = \"\\0\\0\";\n\n switch (g = Te.charCodeAt(0), A = Te.charCodeAt(1), g) {\n case re:\n break;\n\n case L:\n if (A === oe || A === he) {\n Ye += Te + s.charAt(R);\n break;\n }\n\n default:\n if (Te.charCodeAt(je - 1) === V) break;\n Ve += Ke(Te, g, A, Te.charCodeAt(2));\n }\n }\n\n O = 0, $e = 0, z = 0, we = 0, Oe = 0, Te = \"\", C = s.charCodeAt(++R);\n }\n }\n\n switch (C) {\n case J:\n case I:\n if (h + d + u + o + ve === 0) switch ($) {\n case E:\n case X:\n case Y:\n case L:\n case ae:\n case _:\n case T:\n case ee:\n case Z:\n case Q:\n case V:\n case U:\n case W:\n case B:\n case q:\n break;\n\n default:\n if (z > 0) $e = 1;\n }\n if (h === Z) h = 0;else if (ge + O === 0 && t !== te && Te.length > 0) we = 1, Te += \"\\0\";\n if (ye * qe > 0) Pe(Ne, Te, a, e, pe, be, Ve.length, t, i, t);\n be = 1, pe++;\n break;\n\n case W:\n case q:\n if (h + d + u + o === 0) {\n be++;\n break;\n }\n\n default:\n switch (be++, Re = s.charAt(R), C) {\n case K:\n case M:\n if (d + o + h === 0) switch (w) {\n case U:\n case V:\n case K:\n case M:\n Re = \"\";\n break;\n\n default:\n if (C !== M) Re = \" \";\n }\n break;\n\n case re:\n Re = \"\\\\0\";\n break;\n\n case ce:\n Re = \"\\\\f\";\n break;\n\n case se:\n Re = \"\\\\v\";\n break;\n\n case P:\n if (d + h + o === 0 && ge > 0) Oe = 1, we = 1, Re = \"\\f\" + Re;\n break;\n\n case 108:\n if (d + h + o + ke === 0 && z > 0) switch (R - z) {\n case 2:\n if (w === ne && s.charCodeAt(R - 3) === V) ke = w;\n\n case 8:\n if (m === le) ke = m;\n }\n break;\n\n case V:\n if (d + h + o === 0) z = R;\n break;\n\n case U:\n if (h + u + d + o === 0) we = 1, Re += \"\\r\";\n break;\n\n case Y:\n case X:\n if (0 === h) d = d === C ? 0 : 0 === d ? C : d;\n break;\n\n case G:\n if (d + h + u === 0) o++;\n break;\n\n case H:\n if (d + h + u === 0) o--;\n break;\n\n case E:\n if (d + h + o === 0) u--;\n break;\n\n case D:\n if (d + h + o === 0) {\n if (0 === O) switch (2 * w + 3 * m) {\n case 533:\n break;\n\n default:\n y = 0, O = 1;\n }\n u++;\n }\n\n break;\n\n case L:\n if (h + u + d + o + z + j === 0) j = 1;\n break;\n\n case T:\n case Z:\n if (d + o + u > 0) break;\n\n switch (h) {\n case 0:\n switch (2 * C + 3 * s.charCodeAt(R + 1)) {\n case 235:\n h = Z;\n break;\n\n case 220:\n je = R, h = T;\n }\n\n break;\n\n case T:\n if (C === Z && w === T && je + 2 !== R) {\n if (33 === s.charCodeAt(je + 2)) Ve += s.substring(je, R + 1);\n Re = \"\", h = 0;\n }\n\n }\n\n }\n\n if (0 === h) {\n if (ge + d + o + j === 0 && t !== te && C !== W) switch (C) {\n case U:\n case ae:\n case _:\n case ee:\n case E:\n case D:\n if (0 === O) {\n switch (w) {\n case K:\n case M:\n case I:\n case J:\n Re += \"\\0\";\n break;\n\n default:\n Re = \"\\0\" + Re + (C === U ? \"\" : \"\\0\");\n }\n\n we = 1;\n } else switch (C) {\n case D:\n if (z + 7 === R && 108 === w) z = 0;\n O = ++y;\n break;\n\n case E:\n if (0 == (O = --y)) we = 1, Re += \"\\0\";\n }\n\n break;\n\n case K:\n case M:\n switch (w) {\n case re:\n case B:\n case q:\n case W:\n case U:\n case ce:\n case K:\n case M:\n case I:\n case J:\n break;\n\n default:\n if (0 === O) we = 1, Re += \"\\0\";\n }\n\n }\n if (Te += Re, C !== M && C !== K) $ = C;\n }\n\n }\n\n m = w, w = C, R++;\n }\n\n if (je = Ve.length, me > 0) if (0 === je && 0 === Xe.length && 0 === a[0].length == false) if (t !== ie || 1 === a.length && (ge > 0 ? Ee : Ge) === a[0]) je = a.join(\",\").length + 2;\n\n if (je > 0) {\n if (f = 0 === ge && t !== te ? function (e) {\n for (var a, r, s = 0, t = e.length, i = Array(t); s < t; ++s) {\n for (var f = e[s].split(l), n = \"\", o = 0, h = 0, u = 0, d = 0, b = f.length; o < b; ++o) {\n if (0 === (h = (r = f[o]).length) && b > 1) continue;\n if (u = n.charCodeAt(n.length - 1), d = r.charCodeAt(0), a = \"\", 0 !== o) switch (u) {\n case T:\n case ae:\n case _:\n case ee:\n case M:\n case D:\n break;\n\n default:\n a = \" \";\n }\n\n switch (d) {\n case P:\n r = a + Ee;\n\n case ae:\n case _:\n case ee:\n case M:\n case E:\n case D:\n break;\n\n case G:\n r = a + r + Ee;\n break;\n\n case V:\n switch (2 * r.charCodeAt(1) + 3 * r.charCodeAt(2)) {\n case 530:\n if (Ce > 0) {\n r = a + r.substring(8, h - 1);\n break;\n }\n\n default:\n if (o < 1 || f[o - 1].length < 1) r = a + Ee + r;\n }\n\n break;\n\n case U:\n a = \"\";\n\n default:\n if (h > 1 && r.indexOf(\":\") > 0) r = a + r.replace(v, \"$1\" + Ee + \"$2\");else r = a + r + Ee;\n }\n\n n += r;\n }\n\n i[s] = n.replace(c, \"\").trim();\n }\n\n return i;\n }(a) : a, ye > 0) if (void 0 !== (n = Pe(Fe, Ve, f, e, pe, be, je, t, i, t)) && 0 === (Ve = n).length) return Ye + Ve + Xe;\n\n if (Ve = f.join(\",\") + \"{\" + Ve + \"}\", Ae * ke != 0) {\n if (2 === Ae && !Le(Ve, 2)) ke = 0;\n\n switch (ke) {\n case le:\n Ve = Ve.replace(k, \":\" + S + \"$1\") + Ve;\n break;\n\n case ne:\n Ve = Ve.replace(p, \"::\" + N + \"input-$1\") + Ve.replace(p, \"::\" + S + \"$1\") + Ve.replace(p, \":\" + F + \"input-$1\") + Ve;\n }\n\n ke = 0;\n }\n }\n\n return Ye + Ve + Xe;\n }\n\n function Ie(e, a, r) {\n var c = a.trim().split(o),\n s = c,\n t = c.length,\n i = e.length;\n\n switch (i) {\n case 0:\n case 1:\n for (var f = 0, n = 0 === i ? \"\" : e[0] + \" \"; f < t; ++f) {\n s[f] = Je(n, s[f], r, i).trim();\n }\n\n break;\n\n default:\n f = 0;\n var l = 0;\n\n for (s = []; f < t; ++f) {\n for (var h = 0; h < i; ++h) {\n s[l++] = Je(e[h] + \" \", c[f], r, i).trim();\n }\n }\n\n }\n\n return s;\n }\n\n function Je(e, a, r, c) {\n var s = a,\n t = s.charCodeAt(0);\n if (t < 33) t = (s = s.trim()).charCodeAt(0);\n\n switch (t) {\n case P:\n switch (ge + c) {\n case 0:\n case 1:\n if (0 === e.trim().length) break;\n\n default:\n return s.replace(h, \"$1\" + e.trim());\n }\n\n break;\n\n case V:\n switch (s.charCodeAt(1)) {\n case 103:\n if (Ce > 0 && ge > 0) return s.replace(u, \"$1\").replace(h, \"$1\" + Ge);\n break;\n\n default:\n return e.trim() + s.replace(h, \"$1\" + e.trim());\n }\n\n default:\n if (r * ge > 0 && s.indexOf(\"\\f\") > 0) return s.replace(h, (e.charCodeAt(0) === V ? \"\" : \"$1\") + e.trim());\n }\n\n return e + s;\n }\n\n function Ke(e, a, r, c) {\n var l,\n o = 0,\n h = e + \";\",\n u = 2 * a + 3 * r + 4 * c;\n if (944 === u) return function (e) {\n var a = e.length,\n r = e.indexOf(\":\", 9) + 1,\n c = e.substring(0, r).trim(),\n s = e.substring(r, a - 1).trim();\n\n switch (e.charCodeAt(9) * Be) {\n case 0:\n break;\n\n case Q:\n if (110 !== e.charCodeAt(10)) break;\n\n default:\n for (var t = s.split((s = \"\", f)), i = 0, r = 0, a = t.length; i < a; r = 0, ++i) {\n for (var l = t[i], o = l.split(n); l = o[r];) {\n var h = l.charCodeAt(0);\n if (1 === Be && (h > L && h < 90 || h > 96 && h < 123 || h === R || h === Q && l.charCodeAt(1) !== Q)) switch (isNaN(parseFloat(l)) + (-1 !== l.indexOf(\"(\"))) {\n case 1:\n switch (l) {\n case \"infinite\":\n case \"alternate\":\n case \"backwards\":\n case \"running\":\n case \"normal\":\n case \"forwards\":\n case \"both\":\n case \"none\":\n case \"linear\":\n case \"ease\":\n case \"ease-in\":\n case \"ease-out\":\n case \"ease-in-out\":\n case \"paused\":\n case \"reverse\":\n case \"alternate-reverse\":\n case \"inherit\":\n case \"initial\":\n case \"unset\":\n case \"step-start\":\n case \"step-end\":\n break;\n\n default:\n l += De;\n }\n\n }\n o[r++] = l;\n }\n\n s += (0 === i ? \"\" : \",\") + o.join(\" \");\n }\n\n }\n\n if (s = c + s + \";\", 1 === Ae || 2 === Ae && Le(s, 1)) return N + s + s;\n return s;\n }(h);else if (0 === Ae || 2 === Ae && !Le(h, 1)) return h;\n\n switch (u) {\n case 1015:\n return 97 === h.charCodeAt(10) ? N + h + h : h;\n\n case 951:\n return 116 === h.charCodeAt(3) ? N + h + h : h;\n\n case 963:\n return 110 === h.charCodeAt(5) ? N + h + h : h;\n\n case 1009:\n if (100 !== h.charCodeAt(4)) break;\n\n case 969:\n case 942:\n return N + h + h;\n\n case 978:\n return N + h + S + h + h;\n\n case 1019:\n case 983:\n return N + h + S + h + F + h + h;\n\n case 883:\n if (h.charCodeAt(8) === Q) return N + h + h;\n if (h.indexOf(\"image-set(\", 11) > 0) return h.replace(z, \"$1\" + N + \"$2\") + h;\n return h;\n\n case 932:\n if (h.charCodeAt(4) === Q) switch (h.charCodeAt(5)) {\n case 103:\n return N + \"box-\" + h.replace(\"-grow\", \"\") + N + h + F + h.replace(\"grow\", \"positive\") + h;\n\n case 115:\n return N + h + F + h.replace(\"shrink\", \"negative\") + h;\n\n case 98:\n return N + h + F + h.replace(\"basis\", \"preferred-size\") + h;\n }\n return N + h + F + h + h;\n\n case 964:\n return N + h + F + \"flex-\" + h + h;\n\n case 1023:\n if (99 !== h.charCodeAt(8)) break;\n return l = h.substring(h.indexOf(\":\", 15)).replace(\"flex-\", \"\").replace(\"space-between\", \"justify\"), N + \"box-pack\" + l + N + h + F + \"flex-pack\" + l + h;\n\n case 1005:\n return t.test(h) ? h.replace(s, \":\" + N) + h.replace(s, \":\" + S) + h : h;\n\n case 1e3:\n switch (o = (l = h.substring(13).trim()).indexOf(\"-\") + 1, l.charCodeAt(0) + l.charCodeAt(o)) {\n case 226:\n l = h.replace(m, \"tb\");\n break;\n\n case 232:\n l = h.replace(m, \"tb-rl\");\n break;\n\n case 220:\n l = h.replace(m, \"lr\");\n break;\n\n default:\n return h;\n }\n\n return N + h + F + l + h;\n\n case 1017:\n if (-1 === h.indexOf(\"sticky\", 9)) return h;\n\n case 975:\n switch (o = (h = e).length - 10, u = (l = (33 === h.charCodeAt(o) ? h.substring(0, o) : h).substring(e.indexOf(\":\", 7) + 1).trim()).charCodeAt(0) + (0 | l.charCodeAt(7))) {\n case 203:\n if (l.charCodeAt(8) < 111) break;\n\n case 115:\n h = h.replace(l, N + l) + \";\" + h;\n break;\n\n case 207:\n case 102:\n h = h.replace(l, N + (u > 102 ? \"inline-\" : \"\") + \"box\") + \";\" + h.replace(l, N + l) + \";\" + h.replace(l, F + l + \"box\") + \";\" + h;\n }\n\n return h + \";\";\n\n case 938:\n if (h.charCodeAt(5) === Q) switch (h.charCodeAt(6)) {\n case 105:\n return l = h.replace(\"-items\", \"\"), N + h + N + \"box-\" + l + F + \"flex-\" + l + h;\n\n case 115:\n return N + h + F + \"flex-item-\" + h.replace(y, \"\") + h;\n\n default:\n return N + h + F + \"flex-line-pack\" + h.replace(\"align-content\", \"\").replace(y, \"\") + h;\n }\n break;\n\n case 973:\n case 989:\n if (h.charCodeAt(3) !== Q || 122 === h.charCodeAt(4)) break;\n\n case 931:\n case 953:\n if (true === j.test(e)) if (115 === (l = e.substring(e.indexOf(\":\") + 1)).charCodeAt(0)) return Ke(e.replace(\"stretch\", \"fill-available\"), a, r, c).replace(\":fill-available\", \":stretch\");else return h.replace(l, N + l) + h.replace(l, S + l.replace(\"fill-\", \"\")) + h;\n break;\n\n case 962:\n if (h = N + h + (102 === h.charCodeAt(5) ? F + h : \"\") + h, r + c === 211 && 105 === h.charCodeAt(13) && h.indexOf(\"transform\", 10) > 0) return h.substring(0, h.indexOf(\";\", 27) + 1).replace(i, \"$1\" + N + \"$2\") + h;\n }\n\n return h;\n }\n\n function Le(e, a) {\n var r = e.indexOf(1 === a ? \":\" : \"{\"),\n c = e.substring(0, 3 !== a ? r : 10),\n s = e.substring(r + 1, e.length - 1);\n return Oe(2 !== a ? c : c.replace(O, \"$1\"), s, a);\n }\n\n function Me(e, a) {\n var r = Ke(a, a.charCodeAt(0), a.charCodeAt(1), a.charCodeAt(2));\n return r !== a + \";\" ? r.replace($, \" or ($1)\").substring(4) : \"(\" + a + \")\";\n }\n\n function Pe(e, a, r, c, s, t, i, f, n, l) {\n for (var o, h = 0, u = a; h < ye; ++h) {\n switch (o = $e[h].call(Te, e, u, r, c, s, t, i, f, n, l)) {\n case void 0:\n case false:\n case true:\n case null:\n break;\n\n default:\n u = o;\n }\n }\n\n if (u !== a) return u;\n }\n\n function Qe(e, a, r, c) {\n for (var s = a + 1; s < r; ++s) {\n switch (c.charCodeAt(s)) {\n case Z:\n if (e === T) if (c.charCodeAt(s - 1) === T && a + 2 !== s) return s + 1;\n break;\n\n case I:\n if (e === Z) return s + 1;\n }\n }\n\n return s;\n }\n\n function Re(e) {\n for (var a in e) {\n var r = e[a];\n\n switch (a) {\n case \"keyframe\":\n Be = 0 | r;\n break;\n\n case \"global\":\n Ce = 0 | r;\n break;\n\n case \"cascade\":\n ge = 0 | r;\n break;\n\n case \"compress\":\n we = 0 | r;\n break;\n\n case \"semicolon\":\n ve = 0 | r;\n break;\n\n case \"preserve\":\n me = 0 | r;\n break;\n\n case \"prefix\":\n if (Oe = null, !r) Ae = 0;else if (\"function\" != typeof r) Ae = 1;else Ae = 2, Oe = r;\n }\n }\n\n return Re;\n }\n\n function Te(a, r) {\n if (void 0 !== this && this.constructor === Te) return e(a);\n var s = a,\n t = s.charCodeAt(0);\n if (t < 33) t = (s = s.trim()).charCodeAt(0);\n if (Be > 0) De = s.replace(d, t === G ? \"\" : \"-\");\n if (t = 1, 1 === ge) Ge = s;else Ee = s;\n var i,\n f = [Ge];\n if (ye > 0) if (void 0 !== (i = Pe(ze, r, f, f, pe, be, 0, 0, 0, 0)) && \"string\" == typeof i) r = i;\n var n = He(xe, f, r, 0, 0);\n if (ye > 0) if (void 0 !== (i = Pe(je, n, f, f, pe, be, n.length, 0, 0, 0)) && \"string\" != typeof (n = i)) t = 0;\n return De = \"\", Ge = \"\", Ee = \"\", ke = 0, pe = 1, be = 1, we * t == 0 ? n : n.replace(c, \"\").replace(g, \"\").replace(A, \"$1\").replace(C, \"$1\").replace(w, \" \");\n }\n\n if (Te.use = function e(a) {\n switch (a) {\n case void 0:\n case null:\n ye = $e.length = 0;\n break;\n\n default:\n if (\"function\" == typeof a) $e[ye++] = a;else if (\"object\" == typeof a) for (var r = 0, c = a.length; r < c; ++r) {\n e(a[r]);\n } else qe = 0 | !!a;\n }\n\n return e;\n }, Te.set = Re, void 0 !== a) Re(a);\n return Te;\n});","/* global Map:readonly, Set:readonly, ArrayBuffer:readonly */\nvar hasElementType = typeof Element !== 'undefined';\nvar hasMap = typeof Map === 'function';\nvar hasSet = typeof Set === 'function';\nvar hasArrayBuffer = typeof ArrayBuffer === 'function' && !!ArrayBuffer.isView; // Note: We **don't** need `envHasBigInt64Array` in fde es6/index.js\n\nfunction equal(a, b) {\n // START: fast-deep-equal es6/index.js 3.1.1\n if (a === b) return true;\n\n if (a && b && typeof a == 'object' && typeof b == 'object') {\n if (a.constructor !== b.constructor) return false;\n var length, i, keys;\n\n if (Array.isArray(a)) {\n length = a.length;\n if (length != b.length) return false;\n\n for (i = length; i-- !== 0;) {\n if (!equal(a[i], b[i])) return false;\n }\n\n return true;\n } // START: Modifications:\n // 1. Extra `has<Type> &&` helpers in initial condition allow es6 code\n // to co-exist with es5.\n // 2. Replace `for of` with es5 compliant iteration using `for`.\n // Basically, take:\n //\n // ```js\n // for (i of a.entries())\n // if (!b.has(i[0])) return false;\n // ```\n //\n // ... and convert to:\n //\n // ```js\n // it = a.entries();\n // while (!(i = it.next()).done)\n // if (!b.has(i.value[0])) return false;\n // ```\n //\n // **Note**: `i` access switches to `i.value`.\n\n\n var it;\n\n if (hasMap && a instanceof Map && b instanceof Map) {\n if (a.size !== b.size) return false;\n it = a.entries();\n\n while (!(i = it.next()).done) {\n if (!b.has(i.value[0])) return false;\n }\n\n it = a.entries();\n\n while (!(i = it.next()).done) {\n if (!equal(i.value[1], b.get(i.value[0]))) return false;\n }\n\n return true;\n }\n\n if (hasSet && a instanceof Set && b instanceof Set) {\n if (a.size !== b.size) return false;\n it = a.entries();\n\n while (!(i = it.next()).done) {\n if (!b.has(i.value[0])) return false;\n }\n\n return true;\n } // END: Modifications\n\n\n if (hasArrayBuffer && ArrayBuffer.isView(a) && ArrayBuffer.isView(b)) {\n length = a.length;\n if (length != b.length) return false;\n\n for (i = length; i-- !== 0;) {\n if (a[i] !== b[i]) return false;\n }\n\n return true;\n }\n\n if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;\n if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();\n if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();\n keys = Object.keys(a);\n length = keys.length;\n if (length !== Object.keys(b).length) return false;\n\n for (i = length; i-- !== 0;) {\n if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;\n } // END: fast-deep-equal\n // START: react-fast-compare\n // custom handling for DOM elements\n\n\n if (hasElementType && a instanceof Element) return false; // custom handling for React/Preact\n\n for (i = length; i-- !== 0;) {\n if ((keys[i] === '_owner' || keys[i] === '__v' || keys[i] === '__o') && a.$$typeof) {\n // React-specific: avoid traversing React elements' _owner\n // Preact-specific: avoid traversing Preact elements' __v and __o\n // __v = $_original / $_vnode\n // __o = $_owner\n // These properties contain circular references and are not needed when\n // comparing the actual elements (and not their owners)\n // .$$typeof and ._store on just reasonable markers of elements\n continue;\n } // all other properties should be traversed as usual\n\n\n if (!equal(a[keys[i]], b[keys[i]])) return false;\n } // END: react-fast-compare\n // START: fast-deep-equal\n\n\n return true;\n }\n\n return a !== a && b !== b;\n} // end fast-deep-equal\n\n\nmodule.exports = function isEqual(a, b) {\n try {\n return equal(a, b);\n } catch (error) {\n if ((error.message || '').match(/stack|recursion/i)) {\n // warn on circular references, don't crash\n // browsers give this different errors name and messages:\n // chrome/safari: \"RangeError\", \"Maximum call stack size exceeded\"\n // firefox: \"InternalError\", too much recursion\"\n // edge: \"Error\", \"Out of stack space\"\n console.warn('react-fast-compare cannot handle circular refs');\n return false;\n } // some other error. we should definitely know about these\n\n\n throw error;\n }\n};","module.exports = __webpack_public_path__ + \"static/SFMono-Semibold-2d4bff46a7a9ba9dc7701f75726a7815.woff\";","import React from 'react';\r\n\r\nconst IconAppStore = () => (\r\n <svg\r\n version=\"1.1\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n x=\"0px\"\r\n y=\"0px\"\r\n viewBox=\"0 0 512 512\"\r\n xmlSpace=\"preserve\">\r\n <title>Apple App Store</title>\r\n <g>\r\n <g>\r\n <path\r\n d=\"M407,0H105C47.103,0,0,47.103,0,105v302c0,57.897,47.103,105,105,105h302c57.897,0,105-47.103,105-105V105\r\n C512,47.103,464.897,0,407,0z M482,407c0,41.355-33.645,75-75,75H105c-41.355,0-75-33.645-75-75V105c0-41.355,33.645-75,75-75h302\r\n c41.355,0,75,33.645,75,75V407z\"\r\n />\r\n </g>\r\n </g>\r\n <g>\r\n <g>\r\n <path\r\n d=\"M305.646,123.531c-1.729-6.45-5.865-11.842-11.648-15.18c-11.936-6.892-27.256-2.789-34.15,9.151L256,124.166\r\n l-3.848-6.665c-6.893-11.937-22.212-16.042-34.15-9.151h-0.001c-11.938,6.893-16.042,22.212-9.15,34.151l18.281,31.664\r\n L159.678,291H110.5c-13.785,0-25,11.215-25,25c0,13.785,11.215,25,25,25h189.86l-28.868-50h-54.079l85.735-148.498\r\n C306.487,136.719,307.375,129.981,305.646,123.531z\"\r\n />\r\n </g>\r\n </g>\r\n <g>\r\n <g>\r\n <path\r\n d=\"M401.5,291h-49.178l-55.907-96.834l-28.867,50l86.804,150.348c3.339,5.784,8.729,9.921,15.181,11.65\r\n c2.154,0.577,4.339,0.863,6.511,0.863c4.332,0,8.608-1.136,12.461-3.361c11.938-6.893,16.042-22.213,9.149-34.15L381.189,341\r\n H401.5c13.785,0,25-11.215,25-25C426.5,302.215,415.285,291,401.5,291z\"\r\n />\r\n </g>\r\n </g>\r\n <g>\r\n <g>\r\n <path\r\n d=\"M119.264,361l-4.917,8.516c-6.892,11.938-2.787,27.258,9.151,34.15c3.927,2.267,8.219,3.345,12.458,3.344\r\n c8.646,0,17.067-4.484,21.693-12.495L176.999,361H119.264z\"\r\n />\r\n </g>\r\n </g>\r\n </svg>\r\n);\r\n\r\nexport default IconAppStore;\r\n","import React from 'react';\r\n\r\nconst IconCodepen = () => (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" role=\"img\" viewBox=\"0 0 31.665 31.665\">\r\n <title>Codepen</title>\r\n <path\r\n d=\"M16.878,0.415c-0.854-0.565-1.968-0.552-2.809,0.034L1.485,9.214c-0.671,0.468-1.071,1.233-1.071,2.052v9.444\r\n c0,0.84,0.421,1.623,1.122,2.086l12.79,8.455c0.836,0.553,1.922,0.553,2.758,0l13.044-8.618c0.7-0.463,1.122-1.246,1.122-2.086\r\n v-9.279c0-0.839-0.421-1.622-1.121-2.085L16.878,0.415z M26.621,10.645l-4.821,3.237l-4.521-3.288L17.25,4.127L26.621,10.645z\r\n M13.979,4.133v6.329l-4.633,3.24l-4.621-3.099L13.979,4.133z M3.458,13.722l2.991,2.004l-2.991,2.093V13.722z M14.058,27.215\r\n l-9.331-6.258l4.661-3.258l4.67,3.133V27.215z M12.286,15.674l3.021-2.113l3.519,2.313l-3.119,2.095L12.286,15.674z M17.354,27.215\r\n V20.83l4.463-2.991l4.805,3.159L17.354,27.215z M27.954,17.927l-3.168-2.082l3.168-2.125V17.927z\"\r\n />\r\n </svg>\r\n);\r\n\r\nexport default IconCodepen;\r\n","import React from 'react';\r\n\r\nconst IconExternal = () => (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" role=\"img\" viewBox=\"0 0 194.818 194.818\">\r\n <title>External</title>\r\n <g>\r\n <path\r\n d=\"M185.818,2.161h-57.04c-4.971,0-9,4.029-9,9s4.029,9,9,9h35.312l-86.3,86.3c-3.515,3.515-3.515,9.213,0,12.728\r\n c1.758,1.757,4.061,2.636,6.364,2.636s4.606-0.879,6.364-2.636l86.3-86.3v35.313c0,4.971,4.029,9,9,9s9-4.029,9-9v-57.04\r\n C194.818,6.19,190.789,2.161,185.818,2.161z\"\r\n />\r\n <path\r\n d=\"M149,77.201c-4.971,0-9,4.029-9,9v88.456H18v-122h93.778c4.971,0,9-4.029,9-9s-4.029-9-9-9H9c-4.971,0-9,4.029-9,9v140\r\n c0,4.971,4.029,9,9,9h140c4.971,0,9-4.029,9-9V86.201C158,81.23,153.971,77.201,149,77.201z\"\r\n />\r\n </g>\r\n </svg>\r\n);\r\n\r\nexport default IconExternal;\r\n","import React from 'react';\r\n\r\nconst IconFolder = () => (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" role=\"img\" viewBox=\"0 0 60 60\">\r\n <title>Folder</title>\r\n <path\r\n d=\"M57.49,21.5H54v-6.268c0-1.507-1.226-2.732-2.732-2.732H26.515l-5-7H2.732C1.226,5.5,0,6.726,0,8.232v43.687l0.006,0\r\n c-0.005,0.563,0.17,1.114,0.522,1.575C1.018,54.134,1.76,54.5,2.565,54.5h44.759c1.156,0,2.174-0.779,2.45-1.813L60,24.649v-0.177\r\n C60,22.75,58.944,21.5,57.49,21.5z M2,8.232C2,7.828,2.329,7.5,2.732,7.5h17.753l5,7h25.782c0.404,0,0.732,0.328,0.732,0.732V21.5\r\n H12.731c-0.144,0-0.287,0.012-0.426,0.036c-0.973,0.163-1.782,0.873-2.023,1.776L2,45.899V8.232z M47.869,52.083\r\n c-0.066,0.245-0.291,0.417-0.545,0.417H2.565c-0.243,0-0.385-0.139-0.448-0.222c-0.063-0.082-0.16-0.256-0.123-0.408l10.191-27.953\r\n c0.066-0.245,0.291-0.417,0.545-0.417H54h3.49c0.38,0,0.477,0.546,0.502,0.819L47.869,52.083z\"\r\n />\r\n </svg>\r\n);\r\n\r\nexport default IconFolder;\r\n","import React from 'react';\r\n\r\nconst IconFork = () => (\r\n <svg aria-label=\"forks\" viewBox=\"0 0 10 16\" version=\"1.1\" width=\"10\" height=\"16\" role=\"img\">\r\n <path\r\n fillRule=\"evenodd\"\r\n d=\"M8 1a1.993 1.993 0 0 0-1 3.72V6L5 8 3 6V4.72A1.993 1.993 0 0 0 2 1a1.993 1.993 0 0 0-1 3.72V6.5l3 3v1.78A1.993 1.993 0 0 0 5 15a1.993 1.993 0 0 0 1-3.72V9.5l3-3V4.72A1.993 1.993 0 0 0 8 1zM2 4.2C1.34 4.2.8 3.65.8 3c0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zm3 10c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zm3-10c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2z\"\r\n />\r\n </svg>\r\n);\r\n\r\nexport default IconFork;\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport {\r\n IconAppStore,\r\n IconCodepen,\r\n IconExternal,\r\n IconFolder,\r\n IconFork,\r\n IconGitHub,\r\n IconInstagram,\r\n IconLinkedin,\r\n IconLoader,\r\n IconLocation,\r\n IconLogo,\r\n IconPlayStore,\r\n IconStar,\r\n IconTwitter,\r\n IconZap,\r\n} from '@components/icons';\r\n\r\nconst Icon = ({ name }) => {\r\n switch (name) {\r\n case 'AppStore':\r\n return <IconAppStore />;\r\n case 'Codepen':\r\n return <IconCodepen />;\r\n case 'External':\r\n return <IconExternal />;\r\n case 'Folder':\r\n return <IconFolder />;\r\n case 'Fork':\r\n return <IconFork />;\r\n case 'GitHub':\r\n return <IconGitHub />;\r\n case 'Instagram':\r\n return <IconInstagram />;\r\n case 'Linkedin':\r\n return <IconLinkedin />;\r\n case 'Loader':\r\n return <IconLoader />;\r\n case 'Location':\r\n return <IconLocation />;\r\n case 'Logo':\r\n return <IconLogo />;\r\n case 'PlayStore':\r\n return <IconPlayStore />;\r\n case 'Star':\r\n return <IconStar />;\r\n case 'Twitter':\r\n return <IconTwitter />;\r\n case 'Zap':\r\n return <IconZap />;\r\n default:\r\n return <IconExternal />;\r\n }\r\n};\r\n\r\nIcon.propTypes = {\r\n name: PropTypes.string.isRequired,\r\n};\r\n\r\nexport default Icon;\r\n","import React from 'react';\r\n\r\nconst IconGitHub = () => (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" role=\"img\" viewBox=\"0 0 438.549 438.549\">\r\n <title>GitHub</title>\r\n <path\r\n d=\"M409.132,114.573c-19.608-33.596-46.205-60.194-79.798-79.8C295.736,15.166,259.057,5.365,219.271,5.365\r\n c-39.781,0-76.472,9.804-110.063,29.408c-33.596,19.605-60.192,46.204-79.8,79.8C9.803,148.168,0,184.854,0,224.63 c0,47.78,13.94,90.745,41.827,128.906c27.884,38.164,63.906,64.572,108.063,79.227c5.14,0.954,8.945,0.283,11.419-1.996\r\n c2.475-2.282,3.711-5.14,3.711-8.562c0-0.571-0.049-5.708-0.144-15.417c-0.098-9.709-0.144-18.179-0.144-25.406l-6.567,1.136\r\n c-4.187,0.767-9.469,1.092-15.846,1c-6.374-0.089-12.991-0.757-19.842-1.999c-6.854-1.231-13.229-4.086-19.13-8.559\r\n c-5.898-4.473-10.085-10.328-12.56-17.556l-2.855-6.57c-1.903-4.374-4.899-9.233-8.992-14.559\r\n c-4.093-5.331-8.232-8.945-12.419-10.848l-1.999-1.431c-1.332-0.951-2.568-2.098-3.711-3.429c-1.142-1.331-1.997-2.663-2.568-3.997\r\n c-0.572-1.335-0.098-2.43,1.427-3.289c1.525-0.859,4.281-1.276,8.28-1.276l5.708,0.853c3.807,0.763,8.516,3.042,14.133,6.851\r\n c5.614,3.806,10.229,8.754,13.846,14.842c4.38,7.806,9.657,13.754,15.846,17.847c6.184,4.093,12.419,6.136,18.699,6.136\r\n c6.28,0,11.704-0.476,16.274-1.423c4.565-0.952,8.848-2.383,12.847-4.285c1.713-12.758,6.377-22.559,13.988-29.41\r\n c-10.848-1.14-20.601-2.857-29.264-5.14c-8.658-2.286-17.605-5.996-26.835-11.14c-9.235-5.137-16.896-11.516-22.985-19.126\r\n c-6.09-7.614-11.088-17.61-14.987-29.979c-3.901-12.374-5.852-26.648-5.852-42.826c0-23.035,7.52-42.637,22.557-58.817\r\n c-7.044-17.318-6.379-36.732,1.997-58.24c5.52-1.715,13.706-0.428,24.554,3.853c10.85,4.283,18.794,7.952,23.84,10.994\r\n c5.046,3.041,9.089,5.618,12.135,7.708c17.705-4.947,35.976-7.421,54.818-7.421s37.117,2.474,54.823,7.421l10.849-6.849\r\n c7.419-4.57,16.18-8.758,26.262-12.565c10.088-3.805,17.802-4.853,23.134-3.138c8.562,21.509,9.325,40.922,2.279,58.24\r\n c15.036,16.18,22.559,35.787,22.559,58.817c0,16.178-1.958,30.497-5.853,42.966c-3.9,12.471-8.941,22.457-15.125,29.979\r\n c-6.191,7.521-13.901,13.85-23.131,18.986c-9.232,5.14-18.182,8.85-26.84,11.136c-8.662,2.286-18.415,4.004-29.263,5.146\r\n c9.894,8.562,14.842,22.077,14.842,40.539v60.237c0,3.422,1.19,6.279,3.572,8.562c2.379,2.279,6.136,2.95,11.276,1.995\r\n c44.163-14.653,80.185-41.062,108.068-79.226c27.88-38.161,41.825-81.126,41.825-128.906\r\n C438.536,184.851,428.728,148.168,409.132,114.573z\"\r\n />\r\n </svg>\r\n);\r\n\r\nexport default IconGitHub;\r\n","import React from 'react';\r\n\r\nconst IconInstagram = () => (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" role=\"img\" viewBox=\"0 0 512 512\">\r\n <title>Instagram</title>\r\n <g>\r\n <g>\r\n <path d=\"M352,0H160C71.648,0,0,71.648,0,160v192c0,88.352,71.648,160,160,160h192c88.352,0,160-71.648,160-160V160 C512,71.648,440.352,0,352,0z M464,352c0,61.76-50.24,112-112,112H160c-61.76,0-112-50.24-112-112V160C48,98.24,98.24,48,160,48 h192c61.76,0,112,50.24,112,112V352z\" />\r\n </g>\r\n </g>\r\n <g>\r\n <g>\r\n <path d=\"M256,128c-70.688,0-128,57.312-128,128s57.312,128,128,128s128-57.312,128-128S326.688,128,256,128z M256,336 c-44.096,0-80-35.904-80-80c0-44.128,35.904-80,80-80s80,35.872,80,80C336,300.096,300.096,336,256,336z\" />\r\n </g>\r\n </g>\r\n <g>\r\n <g>\r\n <circle cx=\"393.6\" cy=\"118.4\" r=\"17.056\" />\r\n </g>\r\n </g>\r\n </svg>\r\n);\r\n\r\nexport default IconInstagram;\r\n","import React from 'react';\r\n\r\nconst IconLinkedin = () => (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" role=\"img\" viewBox=\"0 0 430.117 430.117\">\r\n <title>LinkedIn</title>\r\n <path\r\n d=\"M430.117,261.543V420.56h-92.188V272.193c0-37.271-13.334-62.707-46.703-62.707\r\n c-25.473,0-40.632,17.142-47.301,33.724c-2.432,5.928-3.058,14.179-3.058,22.477V420.56h-92.219c0,0,1.242-251.285,0-277.32h92.21\r\n v39.309c-0.187,0.294-0.43,0.611-0.606,0.896h0.606v-0.896c12.251-18.869,34.13-45.824,83.102-45.824\r\n C384.633,136.724,430.117,176.361,430.117,261.543z M52.183,9.558C20.635,9.558,0,30.251,0,57.463\r\n c0,26.619,20.038,47.94,50.959,47.94h0.616c32.159,0,52.159-21.317,52.159-47.94C103.128,30.251,83.734,9.558,52.183,9.558z\r\n M5.477,420.56h92.184v-277.32H5.477V420.56z\"\r\n />\r\n </svg>\r\n);\r\n\r\nexport default IconLinkedin;\r\n","import React from 'react';\r\n\r\nconst IconLoader = () => (\r\n <svg id=\"logo\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 100 100\">\r\n <title>Loader Logo</title>\r\n <g>\r\n <g id=\"B\" transform=\"translate(11.000000, 5.000000)\">\r\n <text stroke=\"null\" transform=\"matrix(1.7092870420828916,0,0,1.2992252436636136,-31.179078673348698,-12.272430665215303) \" text-anchor=\"start\" font-family=\"Helvetica, Arial, sans-serif\" font-size=\"24\" id=\"svg_5\" y=\"55.3008\" x=\"34.13147\" stroke-width=\"0\" fill=\"currentColor\">P</text>\r\n </g>\r\n <path\r\n stroke=\"currentColor\"\r\n strokeWidth=\"5\"\r\n strokeLinecap=\"round\"\r\n strokeLinejoin=\"round\"\r\n d=\"M 50, 5\r\n L 11, 27\r\n L 11, 72\r\n L 50, 95\r\n L 89, 73\r\n L 89, 28 z\"\r\n />\r\n </g>\r\n </svg>\r\n);\r\n\r\nexport default IconLoader;\r\n","import React from 'react';\r\n\r\nconst IconLocation = () => (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" role=\"img\" viewBox=\"0 0 512 512\">\r\n <title>Location</title>\r\n <g>\r\n <g>\r\n <path d=\"M256,0C156.748,0,76,80.748,76,180c0,33.534,9.289,66.26,26.869,94.652l142.885,230.257 c2.737,4.411,7.559,7.091,12.745,7.091c0.04,0,0.079,0,0.119,0c5.231-0.041,10.063-2.804,12.75-7.292L410.611,272.22 C427.221,244.428,436,212.539,436,180C436,80.748,355.252,0,256,0z M384.866,256.818L258.272,468.186l-129.905-209.34 C113.734,235.214,105.8,207.95,105.8,180c0-82.71,67.49-150.2,150.2-150.2S406.1,97.29,406.1,180 C406.1,207.121,398.689,233.688,384.866,256.818z\" />\r\n </g>\r\n </g>\r\n <g>\r\n <g>\r\n <path d=\"M256,90c-49.626,0-90,40.374-90,90c0,49.309,39.717,90,90,90c50.903,0,90-41.233,90-90C346,130.374,305.626,90,256,90z M256,240.2c-33.257,0-60.2-27.033-60.2-60.2c0-33.084,27.116-60.2,60.2-60.2s60.1,27.116,60.1,60.2 C316.1,212.683,289.784,240.2,256,240.2z\" />\r\n </g>\r\n </g>\r\n </svg>\r\n);\r\n\r\nexport default IconLocation;\r\n","import React from 'react';\r\n\r\nconst IconLogo = () => (\r\n <svg id=\"logo\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\" viewBox=\"0 0 84 96\">\r\n <title>Logo</title>\r\n <g transform=\"translate(-8.000000, -2.000000)\">\r\n <g transform=\"translate(11.000000, 5.000000)\">\r\n <text stroke=\"null\" transform=\"matrix(1.7092870420828916,0,0,1.2992252436636136,-31.179078673348698,-12.272430665215303) \" text-anchor=\"start\" font-family=\"Helvetica, Arial, sans-serif\" font-size=\"24\" id=\"svg_5\" y=\"55.3008\" x=\"34.13147\" stroke-width=\"0\" fill=\"currentColor\">P</text>\r\n <polygon\r\n id=\"Shape\"\r\n stroke=\"currentColor\"\r\n strokeWidth=\"5\"\r\n strokeLinecap=\"round\"\r\n strokeLinejoin=\"round\"\r\n points=\"39 0 0 22 0 67 39 90 78 68 78 23\"\r\n />\r\n </g>\r\n </g>\r\n </svg>\r\n);\r\n\r\nexport default IconLogo;\r\n","import React from 'react';\r\n\r\nconst IconPlayStore = () => (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" role=\"img\" x=\"0px\" y=\"0px\" viewBox=\"0 0 512.001 512.001\">\r\n <title>Google Play Store</title>\r\n <path\r\n d=\"M464.252,212.09L99.624,8.07C84.247-1.873,64.754-2.691,48.574,5.967C32.183,14.74,22,31.737,22,50.329v411.342\r\n c0,18.592,10.183,35.59,26.573,44.361c16.097,8.617,35.593,7.891,51.052-2.101l364.628-204.022\r\n c16.121-9.02,25.747-25.435,25.747-43.908C490,237.527,480.374,221.111,464.252,212.09z M341.677,181.943l-50.339,50.339\r\n L113.108,54.051L341.677,181.943z M55.544,467.323V44.676L267.621,256L55.544,467.323z M113.108,457.949l178.232-178.231\r\n l50.339,50.339L113.108,457.949z M447.874,270.637l-75.779,42.401l-57.038-57.037l57.037-57.037l75.778,42.4\r\n c7.746,4.335,8.583,11.68,8.583,14.637C456.455,258.958,455.62,266.302,447.874,270.637z\"\r\n />\r\n </svg>\r\n);\r\n\r\nexport default IconPlayStore;\r\n","import React from 'react';\r\n\r\nconst IconStar = () => (\r\n <svg aria-label=\"stars\" viewBox=\"0 0 14 16\" version=\"1.1\" width=\"14\" height=\"16\" role=\"img\">\r\n <path\r\n fillRule=\"evenodd\"\r\n d=\"M14 6l-4.9-.64L7 1 4.9 5.36 0 6l3.6 3.26L2.67 14 7 11.67 11.33 14l-.93-4.74L14 6z\"\r\n />\r\n </svg>\r\n);\r\n\r\nexport default IconStar;\r\n","import React from 'react';\r\n\r\nconst IconTwitter = () => (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" role=\"img\" viewBox=\"0 0 612 612\">\r\n <title>Twitter</title>\r\n <path\r\n d=\"M612,116.258c-22.525,9.981-46.694,16.75-72.088,19.772c25.929-15.527,45.777-40.155,55.184-69.411\r\n c-24.322,14.379-51.169,24.82-79.775,30.48c-22.907-24.437-55.49-39.658-91.63-39.658c-69.334,0-125.551,56.217-125.551,125.513\r\n c0,9.828,1.109,19.427,3.251,28.606C197.065,206.32,104.556,156.337,42.641,80.386c-10.823,18.51-16.98,40.078-16.98,63.101\r\n c0,43.559,22.181,81.993,55.835,104.479c-20.575-0.688-39.926-6.348-56.867-15.756v1.568c0,60.806,43.291,111.554,100.693,123.104\r\n c-10.517,2.83-21.607,4.398-33.08,4.398c-8.107,0-15.947-0.803-23.634-2.333c15.985,49.907,62.336,86.199,117.253,87.194\r\n c-42.947,33.654-97.099,53.655-155.916,53.655c-10.134,0-20.116-0.612-29.944-1.721c55.567,35.681,121.536,56.485,192.438,56.485\r\n c230.948,0,357.188-191.291,357.188-357.188l-0.421-16.253C573.872,163.526,595.211,141.422,612,116.258z\"\r\n />\r\n </svg>\r\n);\r\n\r\nexport default IconTwitter;\r\n","import React from 'react';\r\n\r\nconst IconZap = () => (\r\n <svg\r\n version=\"1.1\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n viewBox=\"0 0 512.001 512.001\"\r\n enableBackground=\"new 0 0 512.001 512.001\">\r\n <path d=\"m413.951,200.174c-2.828-5.047-8.164-8.174-13.953-8.174h-110.608l14.555-174.668c0.609-7.312-3.836-14.1-10.781-16.467-6.914-2.383-14.609,0.282-18.594,6.446l-175.998,271.997c-3.188,4.922-3.43,11.194-0.625,16.342 2.805,5.148 8.195,8.35 14.054,8.35h110.718l-14.672,190.773c-0.57,7.375 3.992,14.18 11.031,16.454 1.625,0.523 3.281,0.774 4.922,0.774 5.453,0 10.687-2.804 13.656-7.656l175.998-287.998c3.016-4.937 3.133-11.126 0.297-16.173zm-168.896,230.685l10.898-141.63c0.344-4.445-1.187-8.829-4.211-12.103-3.031-3.265-7.289-5.126-11.742-5.126h-98.585l125.335-193.707-10.695,128.382c-0.367,4.461 1.141,8.865 4.172,12.162 3.031,3.29 7.296,5.163 11.773,5.163h99.468l-126.413,206.859z\" />\r\n </svg>\r\n);\r\n\r\nexport default IconZap;\r\n","module.exports = __webpack_public_path__ + \"static/SFMono-SemiboldItalic-2fd68bed64aeaceadc6402efc4d82767.woff2\";","module.exports = __webpack_public_path__ + \"static/Calibre-SemiboldItalic-8f3e4b3eaed73e67bbc4fc81f308a35f.woff2\";","module.exports = __webpack_public_path__ + \"static/Calibre-Medium-115d37180a9c07e2f480ca81b032babe.woff\";","module.exports = __webpack_public_path__ + \"static/Calibre-MediumItalic-4afe8032c647b57de924543c052e0ee4.woff\";","module.exports = __webpack_public_path__ + \"static/Calibre-Regular-e08232148510aade507c2af9bb66acd0.woff\";","function replaceClassName(origClass, classToRemove) {\n return origClass.replace(new RegExp(\"(^|\\\\s)\" + classToRemove + \"(?:\\\\s|$)\", 'g'), '$1').replace(/\\s+/g, ' ').replace(/^\\s*|\\s*$/g, '');\n}\n\nexport default function removeClass(element, className) {\n if (element.classList) {\n element.classList.remove(className);\n } else if (typeof element.className === 'string') {\n ;\n element.className = replaceClassName(element.className, className);\n } else {\n element.setAttribute('class', replaceClassName(element.className && element.className.baseVal || '', className));\n }\n}","export default {\n disabled: false\n};","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport config from './config';\nimport { timeoutsShape } from './utils/PropTypes';\nimport TransitionGroupContext from './TransitionGroupContext';\nexport var UNMOUNTED = 'unmounted';\nexport var EXITED = 'exited';\nexport var ENTERING = 'entering';\nexport var ENTERED = 'entered';\nexport var EXITING = 'exiting';\n/**\n * The Transition component lets you describe a transition from one component\n * state to another _over time_ with a simple declarative API. Most commonly\n * it's used to animate the mounting and unmounting of a component, but can also\n * be used to describe in-place transition states as well.\n *\n * ---\n *\n * **Note**: `Transition` is a platform-agnostic base component. If you're using\n * transitions in CSS, you'll probably want to use\n * [`CSSTransition`](https://reactcommunity.org/react-transition-group/css-transition)\n * instead. It inherits all the features of `Transition`, but contains\n * additional features necessary to play nice with CSS transitions (hence the\n * name of the component).\n *\n * ---\n *\n * By default the `Transition` component does not alter the behavior of the\n * component it renders, it only tracks \"enter\" and \"exit\" states for the\n * components. It's up to you to give meaning and effect to those states. For\n * example we can add styles to a component when it enters or exits:\n *\n * ```jsx\n * import { Transition } from 'react-transition-group';\n *\n * const duration = 300;\n *\n * const defaultStyle = {\n * transition: `opacity ${duration}ms ease-in-out`,\n * opacity: 0,\n * }\n *\n * const transitionStyles = {\n * entering: { opacity: 1 },\n * entered: { opacity: 1 },\n * exiting: { opacity: 0 },\n * exited: { opacity: 0 },\n * };\n *\n * const Fade = ({ in: inProp }) => (\n * <Transition in={inProp} timeout={duration}>\n * {state => (\n * <div style={{\n * ...defaultStyle,\n * ...transitionStyles[state]\n * }}>\n * I'm a fade Transition!\n * </div>\n * )}\n * </Transition>\n * );\n * ```\n *\n * There are 4 main states a Transition can be in:\n * - `'entering'`\n * - `'entered'`\n * - `'exiting'`\n * - `'exited'`\n *\n * Transition state is toggled via the `in` prop. When `true` the component\n * begins the \"Enter\" stage. During this stage, the component will shift from\n * its current transition state, to `'entering'` for the duration of the\n * transition and then to the `'entered'` stage once it's complete. Let's take\n * the following example (we'll use the\n * [useState](https://reactjs.org/docs/hooks-reference.html#usestate) hook):\n *\n * ```jsx\n * function App() {\n * const [inProp, setInProp] = useState(false);\n * return (\n * <div>\n * <Transition in={inProp} timeout={500}>\n * {state => (\n * // ...\n * )}\n * </Transition>\n * <button onClick={() => setInProp(true)}>\n * Click to Enter\n * </button>\n * </div>\n * );\n * }\n * ```\n *\n * When the button is clicked the component will shift to the `'entering'` state\n * and stay there for 500ms (the value of `timeout`) before it finally switches\n * to `'entered'`.\n *\n * When `in` is `false` the same thing happens except the state moves from\n * `'exiting'` to `'exited'`.\n */\n\nvar Transition = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(Transition, _React$Component);\n\n function Transition(props, context) {\n var _this;\n\n _this = _React$Component.call(this, props, context) || this;\n var parentGroup = context; // In the context of a TransitionGroup all enters are really appears\n\n var appear = parentGroup && !parentGroup.isMounting ? props.enter : props.appear;\n var initialStatus;\n _this.appearStatus = null;\n\n if (props.in) {\n if (appear) {\n initialStatus = EXITED;\n _this.appearStatus = ENTERING;\n } else {\n initialStatus = ENTERED;\n }\n } else {\n if (props.unmountOnExit || props.mountOnEnter) {\n initialStatus = UNMOUNTED;\n } else {\n initialStatus = EXITED;\n }\n }\n\n _this.state = {\n status: initialStatus\n };\n _this.nextCallback = null;\n return _this;\n }\n\n Transition.getDerivedStateFromProps = function getDerivedStateFromProps(_ref, prevState) {\n var nextIn = _ref.in;\n\n if (nextIn && prevState.status === UNMOUNTED) {\n return {\n status: EXITED\n };\n }\n\n return null;\n } // getSnapshotBeforeUpdate(prevProps) {\n // let nextStatus = null\n // if (prevProps !== this.props) {\n // const { status } = this.state\n // if (this.props.in) {\n // if (status !== ENTERING && status !== ENTERED) {\n // nextStatus = ENTERING\n // }\n // } else {\n // if (status === ENTERING || status === ENTERED) {\n // nextStatus = EXITING\n // }\n // }\n // }\n // return { nextStatus }\n // }\n ;\n\n var _proto = Transition.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.updateStatus(true, this.appearStatus);\n };\n\n _proto.componentDidUpdate = function componentDidUpdate(prevProps) {\n var nextStatus = null;\n\n if (prevProps !== this.props) {\n var status = this.state.status;\n\n if (this.props.in) {\n if (status !== ENTERING && status !== ENTERED) {\n nextStatus = ENTERING;\n }\n } else {\n if (status === ENTERING || status === ENTERED) {\n nextStatus = EXITING;\n }\n }\n }\n\n this.updateStatus(false, nextStatus);\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this.cancelNextCallback();\n };\n\n _proto.getTimeouts = function getTimeouts() {\n var timeout = this.props.timeout;\n var exit, enter, appear;\n exit = enter = appear = timeout;\n\n if (timeout != null && typeof timeout !== 'number') {\n exit = timeout.exit;\n enter = timeout.enter; // TODO: remove fallback for next major\n\n appear = timeout.appear !== undefined ? timeout.appear : enter;\n }\n\n return {\n exit: exit,\n enter: enter,\n appear: appear\n };\n };\n\n _proto.updateStatus = function updateStatus(mounting, nextStatus) {\n if (mounting === void 0) {\n mounting = false;\n }\n\n if (nextStatus !== null) {\n // nextStatus will always be ENTERING or EXITING.\n this.cancelNextCallback();\n\n if (nextStatus === ENTERING) {\n this.performEnter(mounting);\n } else {\n this.performExit();\n }\n } else if (this.props.unmountOnExit && this.state.status === EXITED) {\n this.setState({\n status: UNMOUNTED\n });\n }\n };\n\n _proto.performEnter = function performEnter(mounting) {\n var _this2 = this;\n\n var enter = this.props.enter;\n var appearing = this.context ? this.context.isMounting : mounting;\n\n var _ref2 = this.props.nodeRef ? [appearing] : [ReactDOM.findDOMNode(this), appearing],\n maybeNode = _ref2[0],\n maybeAppearing = _ref2[1];\n\n var timeouts = this.getTimeouts();\n var enterTimeout = appearing ? timeouts.appear : timeouts.enter; // no enter animation skip right to ENTERED\n // if we are mounting and running this it means appear _must_ be set\n\n if (!mounting && !enter || config.disabled) {\n this.safeSetState({\n status: ENTERED\n }, function () {\n _this2.props.onEntered(maybeNode);\n });\n return;\n }\n\n this.props.onEnter(maybeNode, maybeAppearing);\n this.safeSetState({\n status: ENTERING\n }, function () {\n _this2.props.onEntering(maybeNode, maybeAppearing);\n\n _this2.onTransitionEnd(enterTimeout, function () {\n _this2.safeSetState({\n status: ENTERED\n }, function () {\n _this2.props.onEntered(maybeNode, maybeAppearing);\n });\n });\n });\n };\n\n _proto.performExit = function performExit() {\n var _this3 = this;\n\n var exit = this.props.exit;\n var timeouts = this.getTimeouts();\n var maybeNode = this.props.nodeRef ? undefined : ReactDOM.findDOMNode(this); // no exit animation skip right to EXITED\n\n if (!exit || config.disabled) {\n this.safeSetState({\n status: EXITED\n }, function () {\n _this3.props.onExited(maybeNode);\n });\n return;\n }\n\n this.props.onExit(maybeNode);\n this.safeSetState({\n status: EXITING\n }, function () {\n _this3.props.onExiting(maybeNode);\n\n _this3.onTransitionEnd(timeouts.exit, function () {\n _this3.safeSetState({\n status: EXITED\n }, function () {\n _this3.props.onExited(maybeNode);\n });\n });\n });\n };\n\n _proto.cancelNextCallback = function cancelNextCallback() {\n if (this.nextCallback !== null) {\n this.nextCallback.cancel();\n this.nextCallback = null;\n }\n };\n\n _proto.safeSetState = function safeSetState(nextState, callback) {\n // This shouldn't be necessary, but there are weird race conditions with\n // setState callbacks and unmounting in testing, so always make sure that\n // we can cancel any pending setState callbacks after we unmount.\n callback = this.setNextCallback(callback);\n this.setState(nextState, callback);\n };\n\n _proto.setNextCallback = function setNextCallback(callback) {\n var _this4 = this;\n\n var active = true;\n\n this.nextCallback = function (event) {\n if (active) {\n active = false;\n _this4.nextCallback = null;\n callback(event);\n }\n };\n\n this.nextCallback.cancel = function () {\n active = false;\n };\n\n return this.nextCallback;\n };\n\n _proto.onTransitionEnd = function onTransitionEnd(timeout, handler) {\n this.setNextCallback(handler);\n var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this);\n var doesNotHaveTimeoutOrListener = timeout == null && !this.props.addEndListener;\n\n if (!node || doesNotHaveTimeoutOrListener) {\n setTimeout(this.nextCallback, 0);\n return;\n }\n\n if (this.props.addEndListener) {\n var _ref3 = this.props.nodeRef ? [this.nextCallback] : [node, this.nextCallback],\n maybeNode = _ref3[0],\n maybeNextCallback = _ref3[1];\n\n this.props.addEndListener(maybeNode, maybeNextCallback);\n }\n\n if (timeout != null) {\n setTimeout(this.nextCallback, timeout);\n }\n };\n\n _proto.render = function render() {\n var status = this.state.status;\n\n if (status === UNMOUNTED) {\n return null;\n }\n\n var _this$props = this.props,\n children = _this$props.children,\n _in = _this$props.in,\n _mountOnEnter = _this$props.mountOnEnter,\n _unmountOnExit = _this$props.unmountOnExit,\n _appear = _this$props.appear,\n _enter = _this$props.enter,\n _exit = _this$props.exit,\n _timeout = _this$props.timeout,\n _addEndListener = _this$props.addEndListener,\n _onEnter = _this$props.onEnter,\n _onEntering = _this$props.onEntering,\n _onEntered = _this$props.onEntered,\n _onExit = _this$props.onExit,\n _onExiting = _this$props.onExiting,\n _onExited = _this$props.onExited,\n _nodeRef = _this$props.nodeRef,\n childProps = _objectWithoutPropertiesLoose(_this$props, [\"children\", \"in\", \"mountOnEnter\", \"unmountOnExit\", \"appear\", \"enter\", \"exit\", \"timeout\", \"addEndListener\", \"onEnter\", \"onEntering\", \"onEntered\", \"onExit\", \"onExiting\", \"onExited\", \"nodeRef\"]);\n\n return (\n /*#__PURE__*/\n // allows for nested Transitions\n React.createElement(TransitionGroupContext.Provider, {\n value: null\n }, typeof children === 'function' ? children(status, childProps) : React.cloneElement(React.Children.only(children), childProps))\n );\n };\n\n return Transition;\n}(React.Component);\n\nTransition.contextType = TransitionGroupContext;\n\n// Name the function so it is clearer in the documentation\nfunction noop() {}\n\nTransition.defaultProps = {\n in: false,\n mountOnEnter: false,\n unmountOnExit: false,\n appear: false,\n enter: true,\n exit: true,\n onEnter: noop,\n onEntering: noop,\n onEntered: noop,\n onExit: noop,\n onExiting: noop,\n onExited: noop\n};\nTransition.UNMOUNTED = UNMOUNTED;\nTransition.EXITED = EXITED;\nTransition.ENTERING = ENTERING;\nTransition.ENTERED = ENTERED;\nTransition.EXITING = EXITING;\nexport default Transition;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport addOneClass from 'dom-helpers/addClass';\nimport removeOneClass from 'dom-helpers/removeClass';\nimport React from 'react';\nimport Transition from './Transition';\nimport { classNamesShape } from './utils/PropTypes';\n\nvar _addClass = function addClass(node, classes) {\n return node && classes && classes.split(' ').forEach(function (c) {\n return addOneClass(node, c);\n });\n};\n\nvar removeClass = function removeClass(node, classes) {\n return node && classes && classes.split(' ').forEach(function (c) {\n return removeOneClass(node, c);\n });\n};\n/**\n * A transition component inspired by the excellent\n * [ng-animate](https://docs.angularjs.org/api/ngAnimate) library, you should\n * use it if you're using CSS transitions or animations. It's built upon the\n * [`Transition`](https://reactcommunity.org/react-transition-group/transition)\n * component, so it inherits all of its props.\n *\n * `CSSTransition` applies a pair of class names during the `appear`, `enter`,\n * and `exit` states of the transition. The first class is applied and then a\n * second `*-active` class in order to activate the CSS transition. After the\n * transition, matching `*-done` class names are applied to persist the\n * transition state.\n *\n * ```jsx\n * function App() {\n * const [inProp, setInProp] = useState(false);\n * return (\n * <div>\n * <CSSTransition in={inProp} timeout={200} classNames=\"my-node\">\n * <div>\n * {\"I'll receive my-node-* classes\"}\n * </div>\n * </CSSTransition>\n * <button type=\"button\" onClick={() => setInProp(true)}>\n * Click to Enter\n * </button>\n * </div>\n * );\n * }\n * ```\n *\n * When the `in` prop is set to `true`, the child component will first receive\n * the class `example-enter`, then the `example-enter-active` will be added in\n * the next tick. `CSSTransition` [forces a\n * reflow](https://github.com/reactjs/react-transition-group/blob/5007303e729a74be66a21c3e2205e4916821524b/src/CSSTransition.js#L208-L215)\n * between before adding the `example-enter-active`. This is an important trick\n * because it allows us to transition between `example-enter` and\n * `example-enter-active` even though they were added immediately one after\n * another. Most notably, this is what makes it possible for us to animate\n * _appearance_.\n *\n * ```css\n * .my-node-enter {\n * opacity: 0;\n * }\n * .my-node-enter-active {\n * opacity: 1;\n * transition: opacity 200ms;\n * }\n * .my-node-exit {\n * opacity: 1;\n * }\n * .my-node-exit-active {\n * opacity: 0;\n * transition: opacity 200ms;\n * }\n * ```\n *\n * `*-active` classes represent which styles you want to animate **to**, so it's\n * important to add `transition` declaration only to them, otherwise transitions\n * might not behave as intended! This might not be obvious when the transitions\n * are symmetrical, i.e. when `*-enter-active` is the same as `*-exit`, like in\n * the example above (minus `transition`), but it becomes apparent in more\n * complex transitions.\n *\n * **Note**: If you're using the\n * [`appear`](http://reactcommunity.org/react-transition-group/transition#Transition-prop-appear)\n * prop, make sure to define styles for `.appear-*` classes as well.\n */\n\n\nvar CSSTransition = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(CSSTransition, _React$Component);\n\n function CSSTransition() {\n var _this;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;\n _this.appliedClasses = {\n appear: {},\n enter: {},\n exit: {}\n };\n\n _this.onEnter = function (maybeNode, maybeAppearing) {\n var _this$resolveArgument = _this.resolveArguments(maybeNode, maybeAppearing),\n node = _this$resolveArgument[0],\n appearing = _this$resolveArgument[1];\n\n _this.removeClasses(node, 'exit');\n\n _this.addClass(node, appearing ? 'appear' : 'enter', 'base');\n\n if (_this.props.onEnter) {\n _this.props.onEnter(maybeNode, maybeAppearing);\n }\n };\n\n _this.onEntering = function (maybeNode, maybeAppearing) {\n var _this$resolveArgument2 = _this.resolveArguments(maybeNode, maybeAppearing),\n node = _this$resolveArgument2[0],\n appearing = _this$resolveArgument2[1];\n\n var type = appearing ? 'appear' : 'enter';\n\n _this.addClass(node, type, 'active');\n\n if (_this.props.onEntering) {\n _this.props.onEntering(maybeNode, maybeAppearing);\n }\n };\n\n _this.onEntered = function (maybeNode, maybeAppearing) {\n var _this$resolveArgument3 = _this.resolveArguments(maybeNode, maybeAppearing),\n node = _this$resolveArgument3[0],\n appearing = _this$resolveArgument3[1];\n\n var type = appearing ? 'appear' : 'enter';\n\n _this.removeClasses(node, type);\n\n _this.addClass(node, type, 'done');\n\n if (_this.props.onEntered) {\n _this.props.onEntered(maybeNode, maybeAppearing);\n }\n };\n\n _this.onExit = function (maybeNode) {\n var _this$resolveArgument4 = _this.resolveArguments(maybeNode),\n node = _this$resolveArgument4[0];\n\n _this.removeClasses(node, 'appear');\n\n _this.removeClasses(node, 'enter');\n\n _this.addClass(node, 'exit', 'base');\n\n if (_this.props.onExit) {\n _this.props.onExit(maybeNode);\n }\n };\n\n _this.onExiting = function (maybeNode) {\n var _this$resolveArgument5 = _this.resolveArguments(maybeNode),\n node = _this$resolveArgument5[0];\n\n _this.addClass(node, 'exit', 'active');\n\n if (_this.props.onExiting) {\n _this.props.onExiting(maybeNode);\n }\n };\n\n _this.onExited = function (maybeNode) {\n var _this$resolveArgument6 = _this.resolveArguments(maybeNode),\n node = _this$resolveArgument6[0];\n\n _this.removeClasses(node, 'exit');\n\n _this.addClass(node, 'exit', 'done');\n\n if (_this.props.onExited) {\n _this.props.onExited(maybeNode);\n }\n };\n\n _this.resolveArguments = function (maybeNode, maybeAppearing) {\n return _this.props.nodeRef ? [_this.props.nodeRef.current, maybeNode] // here `maybeNode` is actually `appearing`\n : [maybeNode, maybeAppearing];\n };\n\n _this.getClassNames = function (type) {\n var classNames = _this.props.classNames;\n var isStringClassNames = typeof classNames === 'string';\n var prefix = isStringClassNames && classNames ? classNames + \"-\" : '';\n var baseClassName = isStringClassNames ? \"\" + prefix + type : classNames[type];\n var activeClassName = isStringClassNames ? baseClassName + \"-active\" : classNames[type + \"Active\"];\n var doneClassName = isStringClassNames ? baseClassName + \"-done\" : classNames[type + \"Done\"];\n return {\n baseClassName: baseClassName,\n activeClassName: activeClassName,\n doneClassName: doneClassName\n };\n };\n\n return _this;\n }\n\n var _proto = CSSTransition.prototype;\n\n _proto.addClass = function addClass(node, type, phase) {\n var className = this.getClassNames(type)[phase + \"ClassName\"];\n\n var _this$getClassNames = this.getClassNames('enter'),\n doneClassName = _this$getClassNames.doneClassName;\n\n if (type === 'appear' && phase === 'done' && doneClassName) {\n className += \" \" + doneClassName;\n } // This is for to force a repaint,\n // which is necessary in order to transition styles when adding a class name.\n\n\n if (phase === 'active') {\n /* eslint-disable no-unused-expressions */\n node && node.scrollTop;\n }\n\n if (className) {\n this.appliedClasses[type][phase] = className;\n\n _addClass(node, className);\n }\n };\n\n _proto.removeClasses = function removeClasses(node, type) {\n var _this$appliedClasses$ = this.appliedClasses[type],\n baseClassName = _this$appliedClasses$.base,\n activeClassName = _this$appliedClasses$.active,\n doneClassName = _this$appliedClasses$.done;\n this.appliedClasses[type] = {};\n\n if (baseClassName) {\n removeClass(node, baseClassName);\n }\n\n if (activeClassName) {\n removeClass(node, activeClassName);\n }\n\n if (doneClassName) {\n removeClass(node, doneClassName);\n }\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n _ = _this$props.classNames,\n props = _objectWithoutPropertiesLoose(_this$props, [\"classNames\"]);\n\n return /*#__PURE__*/React.createElement(Transition, _extends({}, props, {\n onEnter: this.onEnter,\n onEntered: this.onEntered,\n onEntering: this.onEntering,\n onExit: this.onExit,\n onExiting: this.onExiting,\n onExited: this.onExited\n }));\n };\n\n return CSSTransition;\n}(React.Component);\n\nCSSTransition.defaultProps = {\n classNames: ''\n};\nexport default CSSTransition;","import hasClass from './hasClass';\nexport default function addClass(element, className) {\n if (element.classList) element.classList.add(className);else if (!hasClass(element, className)) if (typeof element.className === 'string') element.className = element.className + \" \" + className;else element.setAttribute('class', (element.className && element.className.baseVal || '') + \" \" + className);\n}","export default function hasClass(element, className) {\n if (element.classList) return !!className && element.classList.contains(className);\n return (\" \" + (element.className.baseVal || element.className) + \" \").indexOf(\" \" + className + \" \") !== -1;\n}","/** @license React v16.13.1\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';\n\nvar b = \"function\" === typeof Symbol && Symbol.for,\n c = b ? Symbol.for(\"react.element\") : 60103,\n d = b ? Symbol.for(\"react.portal\") : 60106,\n e = b ? Symbol.for(\"react.fragment\") : 60107,\n f = b ? Symbol.for(\"react.strict_mode\") : 60108,\n g = b ? Symbol.for(\"react.profiler\") : 60114,\n h = b ? Symbol.for(\"react.provider\") : 60109,\n k = b ? Symbol.for(\"react.context\") : 60110,\n l = b ? Symbol.for(\"react.async_mode\") : 60111,\n m = b ? Symbol.for(\"react.concurrent_mode\") : 60111,\n n = b ? Symbol.for(\"react.forward_ref\") : 60112,\n p = b ? Symbol.for(\"react.suspense\") : 60113,\n q = b ? Symbol.for(\"react.suspense_list\") : 60120,\n r = b ? Symbol.for(\"react.memo\") : 60115,\n t = b ? Symbol.for(\"react.lazy\") : 60116,\n v = b ? Symbol.for(\"react.block\") : 60121,\n w = b ? Symbol.for(\"react.fundamental\") : 60117,\n x = b ? Symbol.for(\"react.responder\") : 60118,\n y = b ? Symbol.for(\"react.scope\") : 60119;\n\nfunction z(a) {\n if (\"object\" === typeof a && null !== a) {\n var u = a.$$typeof;\n\n switch (u) {\n case c:\n switch (a = a.type, a) {\n case l:\n case m:\n case e:\n case g:\n case f:\n case p:\n return a;\n\n default:\n switch (a = a && a.$$typeof, a) {\n case k:\n case n:\n case t:\n case r:\n case h:\n return a;\n\n default:\n return u;\n }\n\n }\n\n case d:\n return u;\n }\n }\n}\n\nfunction A(a) {\n return z(a) === m;\n}\n\nexports.AsyncMode = l;\nexports.ConcurrentMode = m;\nexports.ContextConsumer = k;\nexports.ContextProvider = h;\nexports.Element = c;\nexports.ForwardRef = n;\nexports.Fragment = e;\nexports.Lazy = t;\nexports.Memo = r;\nexports.Portal = d;\nexports.Profiler = g;\nexports.StrictMode = f;\nexports.Suspense = p;\n\nexports.isAsyncMode = function (a) {\n return A(a) || z(a) === l;\n};\n\nexports.isConcurrentMode = A;\n\nexports.isContextConsumer = function (a) {\n return z(a) === k;\n};\n\nexports.isContextProvider = function (a) {\n return z(a) === h;\n};\n\nexports.isElement = function (a) {\n return \"object\" === typeof a && null !== a && a.$$typeof === c;\n};\n\nexports.isForwardRef = function (a) {\n return z(a) === n;\n};\n\nexports.isFragment = function (a) {\n return z(a) === e;\n};\n\nexports.isLazy = function (a) {\n return z(a) === t;\n};\n\nexports.isMemo = function (a) {\n return z(a) === r;\n};\n\nexports.isPortal = function (a) {\n return z(a) === d;\n};\n\nexports.isProfiler = function (a) {\n return z(a) === g;\n};\n\nexports.isStrictMode = function (a) {\n return z(a) === f;\n};\n\nexports.isSuspense = function (a) {\n return z(a) === p;\n};\n\nexports.isValidElementType = function (a) {\n return \"string\" === typeof a || \"function\" === typeof a || a === e || a === m || a === g || a === f || a === p || a === q || \"object\" === typeof a && null !== a && (a.$$typeof === t || a.$$typeof === r || a.$$typeof === h || a.$$typeof === k || a.$$typeof === n || a.$$typeof === w || a.$$typeof === x || a.$$typeof === y || a.$$typeof === v);\n};\n\nexports.typeOf = z;","import PropTypes from 'prop-types';\nimport withSideEffect from 'react-side-effect';\nimport isEqual from 'react-fast-compare';\nimport React from 'react';\nimport objectAssign from 'object-assign';\nvar ATTRIBUTE_NAMES = {\n BODY: \"bodyAttributes\",\n HTML: \"htmlAttributes\",\n TITLE: \"titleAttributes\"\n};\nvar TAG_NAMES = {\n BASE: \"base\",\n BODY: \"body\",\n HEAD: \"head\",\n HTML: \"html\",\n LINK: \"link\",\n META: \"meta\",\n NOSCRIPT: \"noscript\",\n SCRIPT: \"script\",\n STYLE: \"style\",\n TITLE: \"title\"\n};\nvar VALID_TAG_NAMES = Object.keys(TAG_NAMES).map(function (name) {\n return TAG_NAMES[name];\n});\nvar TAG_PROPERTIES = {\n CHARSET: \"charset\",\n CSS_TEXT: \"cssText\",\n HREF: \"href\",\n HTTPEQUIV: \"http-equiv\",\n INNER_HTML: \"innerHTML\",\n ITEM_PROP: \"itemprop\",\n NAME: \"name\",\n PROPERTY: \"property\",\n REL: \"rel\",\n SRC: \"src\",\n TARGET: \"target\"\n};\nvar REACT_TAG_MAP = {\n accesskey: \"accessKey\",\n charset: \"charSet\",\n class: \"className\",\n contenteditable: \"contentEditable\",\n contextmenu: \"contextMenu\",\n \"http-equiv\": \"httpEquiv\",\n itemprop: \"itemProp\",\n tabindex: \"tabIndex\"\n};\nvar HELMET_PROPS = {\n DEFAULT_TITLE: \"defaultTitle\",\n DEFER: \"defer\",\n ENCODE_SPECIAL_CHARACTERS: \"encodeSpecialCharacters\",\n ON_CHANGE_CLIENT_STATE: \"onChangeClientState\",\n TITLE_TEMPLATE: \"titleTemplate\"\n};\nvar HTML_TAG_MAP = Object.keys(REACT_TAG_MAP).reduce(function (obj, key) {\n obj[REACT_TAG_MAP[key]] = key;\n return obj;\n}, {});\nvar SELF_CLOSING_TAGS = [TAG_NAMES.NOSCRIPT, TAG_NAMES.SCRIPT, TAG_NAMES.STYLE];\nvar HELMET_ATTRIBUTE = \"data-react-helmet\";\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n return typeof obj;\n} : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n};\n\nvar classCallCheck = function classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n};\n\nvar 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\nvar _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\nvar inherits = 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\nvar objectWithoutProperties = function objectWithoutProperties(obj, keys) {\n var target = {};\n\n for (var i in obj) {\n if (keys.indexOf(i) >= 0) continue;\n if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;\n target[i] = obj[i];\n }\n\n return target;\n};\n\nvar possibleConstructorReturn = 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\nvar encodeSpecialCharacters = function encodeSpecialCharacters(str) {\n var encode = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n\n if (encode === false) {\n return String(str);\n }\n\n return String(str).replace(/&/g, \"&\").replace(/</g, \"<\").replace(/>/g, \">\").replace(/\"/g, \""\").replace(/'/g, \"'\");\n};\n\nvar getTitleFromPropsList = function getTitleFromPropsList(propsList) {\n var innermostTitle = getInnermostProperty(propsList, TAG_NAMES.TITLE);\n var innermostTemplate = getInnermostProperty(propsList, HELMET_PROPS.TITLE_TEMPLATE);\n\n if (innermostTemplate && innermostTitle) {\n // use function arg to avoid need to escape $ characters\n return innermostTemplate.replace(/%s/g, function () {\n return Array.isArray(innermostTitle) ? innermostTitle.join(\"\") : innermostTitle;\n });\n }\n\n var innermostDefaultTitle = getInnermostProperty(propsList, HELMET_PROPS.DEFAULT_TITLE);\n return innermostTitle || innermostDefaultTitle || undefined;\n};\n\nvar getOnChangeClientState = function getOnChangeClientState(propsList) {\n return getInnermostProperty(propsList, HELMET_PROPS.ON_CHANGE_CLIENT_STATE) || function () {};\n};\n\nvar getAttributesFromPropsList = function getAttributesFromPropsList(tagType, propsList) {\n return propsList.filter(function (props) {\n return typeof props[tagType] !== \"undefined\";\n }).map(function (props) {\n return props[tagType];\n }).reduce(function (tagAttrs, current) {\n return _extends({}, tagAttrs, current);\n }, {});\n};\n\nvar getBaseTagFromPropsList = function getBaseTagFromPropsList(primaryAttributes, propsList) {\n return propsList.filter(function (props) {\n return typeof props[TAG_NAMES.BASE] !== \"undefined\";\n }).map(function (props) {\n return props[TAG_NAMES.BASE];\n }).reverse().reduce(function (innermostBaseTag, tag) {\n if (!innermostBaseTag.length) {\n var keys = Object.keys(tag);\n\n for (var i = 0; i < keys.length; i++) {\n var attributeKey = keys[i];\n var lowerCaseAttributeKey = attributeKey.toLowerCase();\n\n if (primaryAttributes.indexOf(lowerCaseAttributeKey) !== -1 && tag[lowerCaseAttributeKey]) {\n return innermostBaseTag.concat(tag);\n }\n }\n }\n\n return innermostBaseTag;\n }, []);\n};\n\nvar getTagsFromPropsList = function getTagsFromPropsList(tagName, primaryAttributes, propsList) {\n // Calculate list of tags, giving priority innermost component (end of the propslist)\n var approvedSeenTags = {};\n return propsList.filter(function (props) {\n if (Array.isArray(props[tagName])) {\n return true;\n }\n\n if (typeof props[tagName] !== \"undefined\") {\n warn(\"Helmet: \" + tagName + \" should be of type \\\"Array\\\". Instead found type \\\"\" + _typeof(props[tagName]) + \"\\\"\");\n }\n\n return false;\n }).map(function (props) {\n return props[tagName];\n }).reverse().reduce(function (approvedTags, instanceTags) {\n var instanceSeenTags = {};\n instanceTags.filter(function (tag) {\n var primaryAttributeKey = void 0;\n var keys = Object.keys(tag);\n\n for (var i = 0; i < keys.length; i++) {\n var attributeKey = keys[i];\n var lowerCaseAttributeKey = attributeKey.toLowerCase(); // Special rule with link tags, since rel and href are both primary tags, rel takes priority\n\n if (primaryAttributes.indexOf(lowerCaseAttributeKey) !== -1 && !(primaryAttributeKey === TAG_PROPERTIES.REL && tag[primaryAttributeKey].toLowerCase() === \"canonical\") && !(lowerCaseAttributeKey === TAG_PROPERTIES.REL && tag[lowerCaseAttributeKey].toLowerCase() === \"stylesheet\")) {\n primaryAttributeKey = lowerCaseAttributeKey;\n } // Special case for innerHTML which doesn't work lowercased\n\n\n if (primaryAttributes.indexOf(attributeKey) !== -1 && (attributeKey === TAG_PROPERTIES.INNER_HTML || attributeKey === TAG_PROPERTIES.CSS_TEXT || attributeKey === TAG_PROPERTIES.ITEM_PROP)) {\n primaryAttributeKey = attributeKey;\n }\n }\n\n if (!primaryAttributeKey || !tag[primaryAttributeKey]) {\n return false;\n }\n\n var value = tag[primaryAttributeKey].toLowerCase();\n\n if (!approvedSeenTags[primaryAttributeKey]) {\n approvedSeenTags[primaryAttributeKey] = {};\n }\n\n if (!instanceSeenTags[primaryAttributeKey]) {\n instanceSeenTags[primaryAttributeKey] = {};\n }\n\n if (!approvedSeenTags[primaryAttributeKey][value]) {\n instanceSeenTags[primaryAttributeKey][value] = true;\n return true;\n }\n\n return false;\n }).reverse().forEach(function (tag) {\n return approvedTags.push(tag);\n }); // Update seen tags with tags from this instance\n\n var keys = Object.keys(instanceSeenTags);\n\n for (var i = 0; i < keys.length; i++) {\n var attributeKey = keys[i];\n var tagUnion = objectAssign({}, approvedSeenTags[attributeKey], instanceSeenTags[attributeKey]);\n approvedSeenTags[attributeKey] = tagUnion;\n }\n\n return approvedTags;\n }, []).reverse();\n};\n\nvar getInnermostProperty = function getInnermostProperty(propsList, property) {\n for (var i = propsList.length - 1; i >= 0; i--) {\n var props = propsList[i];\n\n if (props.hasOwnProperty(property)) {\n return props[property];\n }\n }\n\n return null;\n};\n\nvar reducePropsToState = function reducePropsToState(propsList) {\n return {\n baseTag: getBaseTagFromPropsList([TAG_PROPERTIES.HREF, TAG_PROPERTIES.TARGET], propsList),\n bodyAttributes: getAttributesFromPropsList(ATTRIBUTE_NAMES.BODY, propsList),\n defer: getInnermostProperty(propsList, HELMET_PROPS.DEFER),\n encode: getInnermostProperty(propsList, HELMET_PROPS.ENCODE_SPECIAL_CHARACTERS),\n htmlAttributes: getAttributesFromPropsList(ATTRIBUTE_NAMES.HTML, propsList),\n linkTags: getTagsFromPropsList(TAG_NAMES.LINK, [TAG_PROPERTIES.REL, TAG_PROPERTIES.HREF], propsList),\n metaTags: getTagsFromPropsList(TAG_NAMES.META, [TAG_PROPERTIES.NAME, TAG_PROPERTIES.CHARSET, TAG_PROPERTIES.HTTPEQUIV, TAG_PROPERTIES.PROPERTY, TAG_PROPERTIES.ITEM_PROP], propsList),\n noscriptTags: getTagsFromPropsList(TAG_NAMES.NOSCRIPT, [TAG_PROPERTIES.INNER_HTML], propsList),\n onChangeClientState: getOnChangeClientState(propsList),\n scriptTags: getTagsFromPropsList(TAG_NAMES.SCRIPT, [TAG_PROPERTIES.SRC, TAG_PROPERTIES.INNER_HTML], propsList),\n styleTags: getTagsFromPropsList(TAG_NAMES.STYLE, [TAG_PROPERTIES.CSS_TEXT], propsList),\n title: getTitleFromPropsList(propsList),\n titleAttributes: getAttributesFromPropsList(ATTRIBUTE_NAMES.TITLE, propsList)\n };\n};\n\nvar rafPolyfill = function () {\n var clock = Date.now();\n return function (callback) {\n var currentTime = Date.now();\n\n if (currentTime - clock > 16) {\n clock = currentTime;\n callback(currentTime);\n } else {\n setTimeout(function () {\n rafPolyfill(callback);\n }, 0);\n }\n };\n}();\n\nvar cafPolyfill = function cafPolyfill(id) {\n return clearTimeout(id);\n};\n\nvar requestAnimationFrame = typeof window !== \"undefined\" ? window.requestAnimationFrame && window.requestAnimationFrame.bind(window) || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || rafPolyfill : global.requestAnimationFrame || rafPolyfill;\nvar cancelAnimationFrame = typeof window !== \"undefined\" ? window.cancelAnimationFrame || window.webkitCancelAnimationFrame || window.mozCancelAnimationFrame || cafPolyfill : global.cancelAnimationFrame || cafPolyfill;\n\nvar warn = function warn(msg) {\n return console && typeof console.warn === \"function\" && console.warn(msg);\n};\n\nvar _helmetCallback = null;\n\nvar handleClientStateChange = function handleClientStateChange(newState) {\n if (_helmetCallback) {\n cancelAnimationFrame(_helmetCallback);\n }\n\n if (newState.defer) {\n _helmetCallback = requestAnimationFrame(function () {\n commitTagChanges(newState, function () {\n _helmetCallback = null;\n });\n });\n } else {\n commitTagChanges(newState);\n _helmetCallback = null;\n }\n};\n\nvar commitTagChanges = function commitTagChanges(newState, cb) {\n var baseTag = newState.baseTag,\n bodyAttributes = newState.bodyAttributes,\n htmlAttributes = newState.htmlAttributes,\n linkTags = newState.linkTags,\n metaTags = newState.metaTags,\n noscriptTags = newState.noscriptTags,\n onChangeClientState = newState.onChangeClientState,\n scriptTags = newState.scriptTags,\n styleTags = newState.styleTags,\n title = newState.title,\n titleAttributes = newState.titleAttributes;\n updateAttributes(TAG_NAMES.BODY, bodyAttributes);\n updateAttributes(TAG_NAMES.HTML, htmlAttributes);\n updateTitle(title, titleAttributes);\n var tagUpdates = {\n baseTag: updateTags(TAG_NAMES.BASE, baseTag),\n linkTags: updateTags(TAG_NAMES.LINK, linkTags),\n metaTags: updateTags(TAG_NAMES.META, metaTags),\n noscriptTags: updateTags(TAG_NAMES.NOSCRIPT, noscriptTags),\n scriptTags: updateTags(TAG_NAMES.SCRIPT, scriptTags),\n styleTags: updateTags(TAG_NAMES.STYLE, styleTags)\n };\n var addedTags = {};\n var removedTags = {};\n Object.keys(tagUpdates).forEach(function (tagType) {\n var _tagUpdates$tagType = tagUpdates[tagType],\n newTags = _tagUpdates$tagType.newTags,\n oldTags = _tagUpdates$tagType.oldTags;\n\n if (newTags.length) {\n addedTags[tagType] = newTags;\n }\n\n if (oldTags.length) {\n removedTags[tagType] = tagUpdates[tagType].oldTags;\n }\n });\n cb && cb();\n onChangeClientState(newState, addedTags, removedTags);\n};\n\nvar flattenArray = function flattenArray(possibleArray) {\n return Array.isArray(possibleArray) ? possibleArray.join(\"\") : possibleArray;\n};\n\nvar updateTitle = function updateTitle(title, attributes) {\n if (typeof title !== \"undefined\" && document.title !== title) {\n document.title = flattenArray(title);\n }\n\n updateAttributes(TAG_NAMES.TITLE, attributes);\n};\n\nvar updateAttributes = function updateAttributes(tagName, attributes) {\n var elementTag = document.getElementsByTagName(tagName)[0];\n\n if (!elementTag) {\n return;\n }\n\n var helmetAttributeString = elementTag.getAttribute(HELMET_ATTRIBUTE);\n var helmetAttributes = helmetAttributeString ? helmetAttributeString.split(\",\") : [];\n var attributesToRemove = [].concat(helmetAttributes);\n var attributeKeys = Object.keys(attributes);\n\n for (var i = 0; i < attributeKeys.length; i++) {\n var attribute = attributeKeys[i];\n var value = attributes[attribute] || \"\";\n\n if (elementTag.getAttribute(attribute) !== value) {\n elementTag.setAttribute(attribute, value);\n }\n\n if (helmetAttributes.indexOf(attribute) === -1) {\n helmetAttributes.push(attribute);\n }\n\n var indexToSave = attributesToRemove.indexOf(attribute);\n\n if (indexToSave !== -1) {\n attributesToRemove.splice(indexToSave, 1);\n }\n }\n\n for (var _i = attributesToRemove.length - 1; _i >= 0; _i--) {\n elementTag.removeAttribute(attributesToRemove[_i]);\n }\n\n if (helmetAttributes.length === attributesToRemove.length) {\n elementTag.removeAttribute(HELMET_ATTRIBUTE);\n } else if (elementTag.getAttribute(HELMET_ATTRIBUTE) !== attributeKeys.join(\",\")) {\n elementTag.setAttribute(HELMET_ATTRIBUTE, attributeKeys.join(\",\"));\n }\n};\n\nvar updateTags = function updateTags(type, tags) {\n var headElement = document.head || document.querySelector(TAG_NAMES.HEAD);\n var tagNodes = headElement.querySelectorAll(type + \"[\" + HELMET_ATTRIBUTE + \"]\");\n var oldTags = Array.prototype.slice.call(tagNodes);\n var newTags = [];\n var indexToDelete = void 0;\n\n if (tags && tags.length) {\n tags.forEach(function (tag) {\n var newElement = document.createElement(type);\n\n for (var attribute in tag) {\n if (tag.hasOwnProperty(attribute)) {\n if (attribute === TAG_PROPERTIES.INNER_HTML) {\n newElement.innerHTML = tag.innerHTML;\n } else if (attribute === TAG_PROPERTIES.CSS_TEXT) {\n if (newElement.styleSheet) {\n newElement.styleSheet.cssText = tag.cssText;\n } else {\n newElement.appendChild(document.createTextNode(tag.cssText));\n }\n } else {\n var value = typeof tag[attribute] === \"undefined\" ? \"\" : tag[attribute];\n newElement.setAttribute(attribute, value);\n }\n }\n }\n\n newElement.setAttribute(HELMET_ATTRIBUTE, \"true\"); // Remove a duplicate tag from domTagstoRemove, so it isn't cleared.\n\n if (oldTags.some(function (existingTag, index) {\n indexToDelete = index;\n return newElement.isEqualNode(existingTag);\n })) {\n oldTags.splice(indexToDelete, 1);\n } else {\n newTags.push(newElement);\n }\n });\n }\n\n oldTags.forEach(function (tag) {\n return tag.parentNode.removeChild(tag);\n });\n newTags.forEach(function (tag) {\n return headElement.appendChild(tag);\n });\n return {\n oldTags: oldTags,\n newTags: newTags\n };\n};\n\nvar generateElementAttributesAsString = function generateElementAttributesAsString(attributes) {\n return Object.keys(attributes).reduce(function (str, key) {\n var attr = typeof attributes[key] !== \"undefined\" ? key + \"=\\\"\" + attributes[key] + \"\\\"\" : \"\" + key;\n return str ? str + \" \" + attr : attr;\n }, \"\");\n};\n\nvar generateTitleAsString = function generateTitleAsString(type, title, attributes, encode) {\n var attributeString = generateElementAttributesAsString(attributes);\n var flattenedTitle = flattenArray(title);\n return attributeString ? \"<\" + type + \" \" + HELMET_ATTRIBUTE + \"=\\\"true\\\" \" + attributeString + \">\" + encodeSpecialCharacters(flattenedTitle, encode) + \"</\" + type + \">\" : \"<\" + type + \" \" + HELMET_ATTRIBUTE + \"=\\\"true\\\">\" + encodeSpecialCharacters(flattenedTitle, encode) + \"</\" + type + \">\";\n};\n\nvar generateTagsAsString = function generateTagsAsString(type, tags, encode) {\n return tags.reduce(function (str, tag) {\n var attributeHtml = Object.keys(tag).filter(function (attribute) {\n return !(attribute === TAG_PROPERTIES.INNER_HTML || attribute === TAG_PROPERTIES.CSS_TEXT);\n }).reduce(function (string, attribute) {\n var attr = typeof tag[attribute] === \"undefined\" ? attribute : attribute + \"=\\\"\" + encodeSpecialCharacters(tag[attribute], encode) + \"\\\"\";\n return string ? string + \" \" + attr : attr;\n }, \"\");\n var tagContent = tag.innerHTML || tag.cssText || \"\";\n var isSelfClosing = SELF_CLOSING_TAGS.indexOf(type) === -1;\n return str + \"<\" + type + \" \" + HELMET_ATTRIBUTE + \"=\\\"true\\\" \" + attributeHtml + (isSelfClosing ? \"/>\" : \">\" + tagContent + \"</\" + type + \">\");\n }, \"\");\n};\n\nvar convertElementAttributestoReactProps = function convertElementAttributestoReactProps(attributes) {\n var initProps = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return Object.keys(attributes).reduce(function (obj, key) {\n obj[REACT_TAG_MAP[key] || key] = attributes[key];\n return obj;\n }, initProps);\n};\n\nvar convertReactPropstoHtmlAttributes = function convertReactPropstoHtmlAttributes(props) {\n var initAttributes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return Object.keys(props).reduce(function (obj, key) {\n obj[HTML_TAG_MAP[key] || key] = props[key];\n return obj;\n }, initAttributes);\n};\n\nvar generateTitleAsReactComponent = function generateTitleAsReactComponent(type, title, attributes) {\n var _initProps; // assigning into an array to define toString function on it\n\n\n var initProps = (_initProps = {\n key: title\n }, _initProps[HELMET_ATTRIBUTE] = true, _initProps);\n var props = convertElementAttributestoReactProps(attributes, initProps);\n return [React.createElement(TAG_NAMES.TITLE, props, title)];\n};\n\nvar generateTagsAsReactComponent = function generateTagsAsReactComponent(type, tags) {\n return tags.map(function (tag, i) {\n var _mappedTag;\n\n var mappedTag = (_mappedTag = {\n key: i\n }, _mappedTag[HELMET_ATTRIBUTE] = true, _mappedTag);\n Object.keys(tag).forEach(function (attribute) {\n var mappedAttribute = REACT_TAG_MAP[attribute] || attribute;\n\n if (mappedAttribute === TAG_PROPERTIES.INNER_HTML || mappedAttribute === TAG_PROPERTIES.CSS_TEXT) {\n var content = tag.innerHTML || tag.cssText;\n mappedTag.dangerouslySetInnerHTML = {\n __html: content\n };\n } else {\n mappedTag[mappedAttribute] = tag[attribute];\n }\n });\n return React.createElement(type, mappedTag);\n });\n};\n\nvar getMethodsForTag = function getMethodsForTag(type, tags, encode) {\n switch (type) {\n case TAG_NAMES.TITLE:\n return {\n toComponent: function toComponent() {\n return generateTitleAsReactComponent(type, tags.title, tags.titleAttributes, encode);\n },\n toString: function toString() {\n return generateTitleAsString(type, tags.title, tags.titleAttributes, encode);\n }\n };\n\n case ATTRIBUTE_NAMES.BODY:\n case ATTRIBUTE_NAMES.HTML:\n return {\n toComponent: function toComponent() {\n return convertElementAttributestoReactProps(tags);\n },\n toString: function toString() {\n return generateElementAttributesAsString(tags);\n }\n };\n\n default:\n return {\n toComponent: function toComponent() {\n return generateTagsAsReactComponent(type, tags);\n },\n toString: function toString() {\n return generateTagsAsString(type, tags, encode);\n }\n };\n }\n};\n\nvar mapStateOnServer = function mapStateOnServer(_ref) {\n var baseTag = _ref.baseTag,\n bodyAttributes = _ref.bodyAttributes,\n encode = _ref.encode,\n htmlAttributes = _ref.htmlAttributes,\n linkTags = _ref.linkTags,\n metaTags = _ref.metaTags,\n noscriptTags = _ref.noscriptTags,\n scriptTags = _ref.scriptTags,\n styleTags = _ref.styleTags,\n _ref$title = _ref.title,\n title = _ref$title === undefined ? \"\" : _ref$title,\n titleAttributes = _ref.titleAttributes;\n return {\n base: getMethodsForTag(TAG_NAMES.BASE, baseTag, encode),\n bodyAttributes: getMethodsForTag(ATTRIBUTE_NAMES.BODY, bodyAttributes, encode),\n htmlAttributes: getMethodsForTag(ATTRIBUTE_NAMES.HTML, htmlAttributes, encode),\n link: getMethodsForTag(TAG_NAMES.LINK, linkTags, encode),\n meta: getMethodsForTag(TAG_NAMES.META, metaTags, encode),\n noscript: getMethodsForTag(TAG_NAMES.NOSCRIPT, noscriptTags, encode),\n script: getMethodsForTag(TAG_NAMES.SCRIPT, scriptTags, encode),\n style: getMethodsForTag(TAG_NAMES.STYLE, styleTags, encode),\n title: getMethodsForTag(TAG_NAMES.TITLE, {\n title: title,\n titleAttributes: titleAttributes\n }, encode)\n };\n};\n\nvar Helmet = function Helmet(Component) {\n var _class, _temp;\n\n return _temp = _class = function (_React$Component) {\n inherits(HelmetWrapper, _React$Component);\n\n function HelmetWrapper() {\n classCallCheck(this, HelmetWrapper);\n return possibleConstructorReturn(this, _React$Component.apply(this, arguments));\n }\n\n HelmetWrapper.prototype.shouldComponentUpdate = function shouldComponentUpdate(nextProps) {\n return !isEqual(this.props, nextProps);\n };\n\n HelmetWrapper.prototype.mapNestedChildrenToProps = function mapNestedChildrenToProps(child, nestedChildren) {\n if (!nestedChildren) {\n return null;\n }\n\n switch (child.type) {\n case TAG_NAMES.SCRIPT:\n case TAG_NAMES.NOSCRIPT:\n return {\n innerHTML: nestedChildren\n };\n\n case TAG_NAMES.STYLE:\n return {\n cssText: nestedChildren\n };\n }\n\n throw new Error(\"<\" + child.type + \" /> elements are self-closing and can not contain children. Refer to our API for more information.\");\n };\n\n HelmetWrapper.prototype.flattenArrayTypeChildren = function flattenArrayTypeChildren(_ref) {\n var _babelHelpers$extends;\n\n var child = _ref.child,\n arrayTypeChildren = _ref.arrayTypeChildren,\n newChildProps = _ref.newChildProps,\n nestedChildren = _ref.nestedChildren;\n return _extends({}, arrayTypeChildren, (_babelHelpers$extends = {}, _babelHelpers$extends[child.type] = [].concat(arrayTypeChildren[child.type] || [], [_extends({}, newChildProps, this.mapNestedChildrenToProps(child, nestedChildren))]), _babelHelpers$extends));\n };\n\n HelmetWrapper.prototype.mapObjectTypeChildren = function mapObjectTypeChildren(_ref2) {\n var _babelHelpers$extends2, _babelHelpers$extends3;\n\n var child = _ref2.child,\n newProps = _ref2.newProps,\n newChildProps = _ref2.newChildProps,\n nestedChildren = _ref2.nestedChildren;\n\n switch (child.type) {\n case TAG_NAMES.TITLE:\n return _extends({}, newProps, (_babelHelpers$extends2 = {}, _babelHelpers$extends2[child.type] = nestedChildren, _babelHelpers$extends2.titleAttributes = _extends({}, newChildProps), _babelHelpers$extends2));\n\n case TAG_NAMES.BODY:\n return _extends({}, newProps, {\n bodyAttributes: _extends({}, newChildProps)\n });\n\n case TAG_NAMES.HTML:\n return _extends({}, newProps, {\n htmlAttributes: _extends({}, newChildProps)\n });\n }\n\n return _extends({}, newProps, (_babelHelpers$extends3 = {}, _babelHelpers$extends3[child.type] = _extends({}, newChildProps), _babelHelpers$extends3));\n };\n\n HelmetWrapper.prototype.mapArrayTypeChildrenToProps = function mapArrayTypeChildrenToProps(arrayTypeChildren, newProps) {\n var newFlattenedProps = _extends({}, newProps);\n\n Object.keys(arrayTypeChildren).forEach(function (arrayChildName) {\n var _babelHelpers$extends4;\n\n newFlattenedProps = _extends({}, newFlattenedProps, (_babelHelpers$extends4 = {}, _babelHelpers$extends4[arrayChildName] = arrayTypeChildren[arrayChildName], _babelHelpers$extends4));\n });\n return newFlattenedProps;\n };\n\n HelmetWrapper.prototype.warnOnInvalidChildren = function warnOnInvalidChildren(child, nestedChildren) {\n if (process.env.NODE_ENV !== \"production\") {\n if (!VALID_TAG_NAMES.some(function (name) {\n return child.type === name;\n })) {\n if (typeof child.type === \"function\") {\n return warn(\"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.\");\n }\n\n return warn(\"Only elements types \" + VALID_TAG_NAMES.join(\", \") + \" are allowed. Helmet does not support rendering <\" + child.type + \"> elements. Refer to our API for more information.\");\n }\n\n if (nestedChildren && typeof nestedChildren !== \"string\" && (!Array.isArray(nestedChildren) || nestedChildren.some(function (nestedChild) {\n return typeof nestedChild !== \"string\";\n }))) {\n throw new Error(\"Helmet expects a string as a child of <\" + child.type + \">. Did you forget to wrap your children in braces? ( <\" + child.type + \">{``}</\" + child.type + \"> ) Refer to our API for more information.\");\n }\n }\n\n return true;\n };\n\n HelmetWrapper.prototype.mapChildrenToProps = function mapChildrenToProps(children, newProps) {\n var _this2 = this;\n\n var arrayTypeChildren = {};\n React.Children.forEach(children, function (child) {\n if (!child || !child.props) {\n return;\n }\n\n var _child$props = child.props,\n nestedChildren = _child$props.children,\n childProps = objectWithoutProperties(_child$props, [\"children\"]);\n var newChildProps = convertReactPropstoHtmlAttributes(childProps);\n\n _this2.warnOnInvalidChildren(child, nestedChildren);\n\n switch (child.type) {\n case TAG_NAMES.LINK:\n case TAG_NAMES.META:\n case TAG_NAMES.NOSCRIPT:\n case TAG_NAMES.SCRIPT:\n case TAG_NAMES.STYLE:\n arrayTypeChildren = _this2.flattenArrayTypeChildren({\n child: child,\n arrayTypeChildren: arrayTypeChildren,\n newChildProps: newChildProps,\n nestedChildren: nestedChildren\n });\n break;\n\n default:\n newProps = _this2.mapObjectTypeChildren({\n child: child,\n newProps: newProps,\n newChildProps: newChildProps,\n nestedChildren: nestedChildren\n });\n break;\n }\n });\n newProps = this.mapArrayTypeChildrenToProps(arrayTypeChildren, newProps);\n return newProps;\n };\n\n HelmetWrapper.prototype.render = function render() {\n var _props = this.props,\n children = _props.children,\n props = objectWithoutProperties(_props, [\"children\"]);\n\n var newProps = _extends({}, props);\n\n if (children) {\n newProps = this.mapChildrenToProps(children, newProps);\n }\n\n return React.createElement(Component, newProps);\n };\n\n createClass(HelmetWrapper, null, [{\n key: \"canUseDOM\",\n // Component.peek comes from react-side-effect:\n // For testing, you may use a static peek() method available on the returned component.\n // It lets you get the current state without resetting the mounted instance stack.\n // Don’t use it for anything other than testing.\n\n /**\n * @param {Object} base: {\"target\": \"_blank\", \"href\": \"http://mysite.com/\"}\n * @param {Object} bodyAttributes: {\"className\": \"root\"}\n * @param {String} defaultTitle: \"Default Title\"\n * @param {Boolean} defer: true\n * @param {Boolean} encodeSpecialCharacters: true\n * @param {Object} htmlAttributes: {\"lang\": \"en\", \"amp\": undefined}\n * @param {Array} link: [{\"rel\": \"canonical\", \"href\": \"http://mysite.com/example\"}]\n * @param {Array} meta: [{\"name\": \"description\", \"content\": \"Test description\"}]\n * @param {Array} noscript: [{\"innerHTML\": \"<img src='http://mysite.com/js/test.js'\"}]\n * @param {Function} onChangeClientState: \"(newState) => console.log(newState)\"\n * @param {Array} script: [{\"type\": \"text/javascript\", \"src\": \"http://mysite.com/js/test.js\"}]\n * @param {Array} style: [{\"type\": \"text/css\", \"cssText\": \"div { display: block; color: blue; }\"}]\n * @param {String} title: \"Title\"\n * @param {Object} titleAttributes: {\"itemprop\": \"name\"}\n * @param {String} titleTemplate: \"MySite.com - %s\"\n */\n set: function set$$1(canUseDOM) {\n Component.canUseDOM = canUseDOM;\n }\n }]);\n return HelmetWrapper;\n }(React.Component), _class.propTypes = {\n base: PropTypes.object,\n bodyAttributes: PropTypes.object,\n children: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.node), PropTypes.node]),\n defaultTitle: PropTypes.string,\n defer: PropTypes.bool,\n encodeSpecialCharacters: PropTypes.bool,\n htmlAttributes: PropTypes.object,\n link: PropTypes.arrayOf(PropTypes.object),\n meta: PropTypes.arrayOf(PropTypes.object),\n noscript: PropTypes.arrayOf(PropTypes.object),\n onChangeClientState: PropTypes.func,\n script: PropTypes.arrayOf(PropTypes.object),\n style: PropTypes.arrayOf(PropTypes.object),\n title: PropTypes.string,\n titleAttributes: PropTypes.object,\n titleTemplate: PropTypes.string\n }, _class.defaultProps = {\n defer: true,\n encodeSpecialCharacters: true\n }, _class.peek = Component.peek, _class.rewind = function () {\n var mappedState = Component.rewind();\n\n if (!mappedState) {\n // provide fallback if mappedState is undefined\n mappedState = mapStateOnServer({\n baseTag: [],\n bodyAttributes: {},\n encodeSpecialCharacters: true,\n htmlAttributes: {},\n linkTags: [],\n metaTags: [],\n noscriptTags: [],\n scriptTags: [],\n styleTags: [],\n title: \"\",\n titleAttributes: {}\n });\n }\n\n return mappedState;\n }, _temp;\n};\n\nvar NullComponent = function NullComponent() {\n return null;\n};\n\nvar HelmetSideEffects = withSideEffect(reducePropsToState, handleClientStateChange, mapStateOnServer)(NullComponent);\nvar HelmetExport = Helmet(HelmetSideEffects);\nHelmetExport.renderStatic = HelmetExport.rewind;\nexport default HelmetExport;\nexport { HelmetExport as Helmet };","module.exports = __webpack_public_path__ + \"static/SFMono-Regular-d59c1702c527525e9939ba06166a3750.woff\";","module.exports = __webpack_public_path__ + \"static/SFMono-Regular-7faa66605357721067fe1b07d9103015.woff2\";","module.exports = __webpack_public_path__ + \"static/SFMono-RegularItalic-bb1fc3ab1772befac3587b30ca876a09.woff2\";","module.exports = __webpack_public_path__ + \"static/Calibre-MediumItalic-3df14639dd2cb07c83bd39707d70910f.woff2\";","import Stylis from 'stylis/stylis.min';\nimport _insertRulePlugin from 'stylis-rule-sheet';\nimport React, { cloneElement, createContext, Component, createElement } from 'react';\nimport unitless from '@emotion/unitless';\nimport { isElement, isValidElementType, ForwardRef } from 'react-is';\nimport memoize from 'memoize-one';\nimport validAttr from '@emotion/is-prop-valid';\nimport merge from 'merge-anything'; // \n\nvar interleave = function interleave(strings, interpolations) {\n var result = [strings[0]];\n\n for (var i = 0, len = interpolations.length; i < len; i += 1) {\n result.push(interpolations[i], strings[i + 1]);\n }\n\n return result;\n};\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n return typeof obj;\n} : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n};\n\nvar classCallCheck = function classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n};\n\nvar 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\nvar _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\nvar inherits = 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\nvar objectWithoutProperties = function objectWithoutProperties(obj, keys) {\n var target = {};\n\n for (var i in obj) {\n if (keys.indexOf(i) >= 0) continue;\n if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;\n target[i] = obj[i];\n }\n\n return target;\n};\n\nvar possibleConstructorReturn = 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\nvar isPlainObject = function isPlainObject(x) {\n return (typeof x === 'undefined' ? 'undefined' : _typeof(x)) === 'object' && x.constructor === Object;\n}; // \n\n\nvar EMPTY_ARRAY = Object.freeze([]);\nvar EMPTY_OBJECT = Object.freeze({}); // \n\nfunction isFunction(test) {\n return typeof test === 'function';\n} // \n\n\nfunction getComponentName(target) {\n return (process.env.NODE_ENV !== 'production' ? typeof target === 'string' && target : false) || target.displayName || target.name || 'Component';\n} // \n\n\nfunction isStatelessFunction(test) {\n return typeof test === 'function' && !(test.prototype && test.prototype.isReactComponent);\n} // \n\n\nfunction isStyledComponent(target) {\n return target && typeof target.styledComponentId === 'string';\n} // \n\n\nvar SC_ATTR = typeof process !== 'undefined' && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || 'data-styled';\nvar SC_VERSION_ATTR = 'data-styled-version';\nvar SC_STREAM_ATTR = 'data-styled-streamed';\nvar IS_BROWSER = typeof window !== 'undefined' && 'HTMLElement' in window;\nvar DISABLE_SPEEDY = typeof SC_DISABLE_SPEEDY === 'boolean' && SC_DISABLE_SPEEDY || typeof process !== 'undefined' && (process.env.REACT_APP_SC_DISABLE_SPEEDY || process.env.SC_DISABLE_SPEEDY) || process.env.NODE_ENV !== 'production'; // Shared empty execution context when generating static styles\n\nvar STATIC_EXECUTION_CONTEXT = {}; // \n\n/**\n * Parse errors.md and turn it into a simple hash of code: message\n */\n\nvar ERRORS = process.env.NODE_ENV !== 'production' ? {\n \"1\": \"Cannot create styled-component for component: %s.\\n\\n\",\n \"2\": \"Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\\n\\n- Are you trying to reuse it across renders?\\n- Are you accidentally calling collectStyles twice?\\n\\n\",\n \"3\": \"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\\n\\n\",\n \"4\": \"The `StyleSheetManager` expects a valid target or sheet prop!\\n\\n- Does this error occur on the client and is your target falsy?\\n- Does this error occur on the server and is the sheet falsy?\\n\\n\",\n \"5\": \"The clone method cannot be used on the client!\\n\\n- Are you running in a client-like environment on the server?\\n- Are you trying to run SSR on the client?\\n\\n\",\n \"6\": \"Trying to insert a new style tag, but the given Node is unmounted!\\n\\n- Are you using a custom target that isn't mounted?\\n- Does your document not have a valid head element?\\n- Have you accidentally removed a style tag manually?\\n\\n\",\n \"7\": \"ThemeProvider: Please return an object from your \\\"theme\\\" prop function, e.g.\\n\\n```js\\ntheme={() => ({})}\\n```\\n\\n\",\n \"8\": \"ThemeProvider: Please make your \\\"theme\\\" prop an object.\\n\\n\",\n \"9\": \"Missing document `<head>`\\n\\n\",\n \"10\": \"Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\\n\\n\",\n \"11\": \"_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\\n\\n\",\n \"12\": \"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\\\`\\\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\\n\\n\",\n \"13\": \"%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\\n\"\n} : {};\n/**\n * super basic version of sprintf\n */\n\nfunction format() {\n var a = arguments.length <= 0 ? undefined : arguments[0];\n var b = [];\n\n for (var c = 1, len = arguments.length; c < len; c += 1) {\n b.push(arguments.length <= c ? undefined : arguments[c]);\n }\n\n b.forEach(function (d) {\n a = a.replace(/%[a-z]/, d);\n });\n return a;\n}\n/**\n * Create an error file out of errors.md for development and a simple web link to the full errors\n * in production mode.\n */\n\n\nvar StyledComponentsError = function (_Error) {\n inherits(StyledComponentsError, _Error);\n\n function StyledComponentsError(code) {\n classCallCheck(this, StyledComponentsError);\n\n for (var _len = arguments.length, interpolations = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n interpolations[_key - 1] = arguments[_key];\n }\n\n if (process.env.NODE_ENV === 'production') {\n var _this = possibleConstructorReturn(this, _Error.call(this, 'An error occurred. See https://github.com/styled-components/styled-components/blob/master/packages/styled-components/src/utils/errors.md#' + code + ' for more information.' + (interpolations.length > 0 ? ' Additional arguments: ' + interpolations.join(', ') : '')));\n } else {\n var _this = possibleConstructorReturn(this, _Error.call(this, format.apply(undefined, [ERRORS[code]].concat(interpolations)).trim()));\n }\n\n return possibleConstructorReturn(_this);\n }\n\n return StyledComponentsError;\n}(Error); // \n\n\nvar SC_COMPONENT_ID = /^[^\\S\\n]*?\\/\\* sc-component-id:\\s*(\\S+)\\s+\\*\\//gm;\n\nvar extractComps = function extractComps(maybeCSS) {\n var css = '' + (maybeCSS || ''); // Definitely a string, and a clone\n\n var existingComponents = [];\n css.replace(SC_COMPONENT_ID, function (match, componentId, matchIndex) {\n existingComponents.push({\n componentId: componentId,\n matchIndex: matchIndex\n });\n return match;\n });\n return existingComponents.map(function (_ref, i) {\n var componentId = _ref.componentId,\n matchIndex = _ref.matchIndex;\n var nextComp = existingComponents[i + 1];\n var cssFromDOM = nextComp ? css.slice(matchIndex, nextComp.matchIndex) : css.slice(matchIndex);\n return {\n componentId: componentId,\n cssFromDOM: cssFromDOM\n };\n });\n}; // \n\n\nvar COMMENT_REGEX = /^\\s*\\/\\/.*$/gm; // NOTE: This stylis instance is only used to split rules from SSR'd style tags\n\nvar stylisSplitter = new Stylis({\n global: false,\n cascade: true,\n keyframe: false,\n prefix: false,\n compress: false,\n semicolon: true\n});\nvar stylis = new Stylis({\n global: false,\n cascade: true,\n keyframe: false,\n prefix: true,\n compress: false,\n semicolon: false // NOTE: This means \"autocomplete missing semicolons\"\n\n}); // Wrap `insertRulePlugin to build a list of rules,\n// and then make our own plugin to return the rules. This\n// makes it easier to hook into the existing SSR architecture\n\nvar parsingRules = []; // eslint-disable-next-line consistent-return\n\nvar returnRulesPlugin = function returnRulesPlugin(context) {\n if (context === -2) {\n var parsedRules = parsingRules;\n parsingRules = [];\n return parsedRules;\n }\n};\n\nvar parseRulesPlugin = _insertRulePlugin(function (rule) {\n parsingRules.push(rule);\n});\n\nvar _componentId = void 0;\n\nvar _selector = void 0;\n\nvar _selectorRegexp = void 0;\n\nvar selfReferenceReplacer = function selfReferenceReplacer(match, offset, string) {\n if ( // the first self-ref is always untouched\n offset > 0 && // there should be at least two self-refs to do a replacement (.b > .b)\n string.slice(0, offset).indexOf(_selector) !== -1 && // no consecutive self refs (.b.b); that is a precedence boost and treated differently\n string.slice(offset - _selector.length, offset) !== _selector) {\n return '.' + _componentId;\n }\n\n return match;\n};\n/**\n * When writing a style like\n *\n * & + & {\n * color: red;\n * }\n *\n * The second ampersand should be a reference to the static component class. stylis\n * has no knowledge of static class so we have to intelligently replace the base selector.\n */\n\n\nvar selfReferenceReplacementPlugin = function selfReferenceReplacementPlugin(context, _, selectors) {\n if (context === 2 && selectors.length && selectors[0].lastIndexOf(_selector) > 0) {\n // eslint-disable-next-line no-param-reassign\n selectors[0] = selectors[0].replace(_selectorRegexp, selfReferenceReplacer);\n }\n};\n\nstylis.use([selfReferenceReplacementPlugin, parseRulesPlugin, returnRulesPlugin]);\nstylisSplitter.use([parseRulesPlugin, returnRulesPlugin]);\n\nvar splitByRules = function splitByRules(css) {\n return stylisSplitter('', css);\n};\n\nfunction stringifyRules(rules, selector, prefix) {\n var componentId = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : '&';\n var flatCSS = rules.join('').replace(COMMENT_REGEX, ''); // replace JS comments\n\n var cssStr = selector && prefix ? prefix + ' ' + selector + ' { ' + flatCSS + ' }' : flatCSS; // stylis has no concept of state to be passed to plugins\n // but since JS is single=threaded, we can rely on that to ensure\n // these properties stay in sync with the current stylis run\n\n _componentId = componentId;\n _selector = selector;\n _selectorRegexp = new RegExp('\\\\' + _selector + '\\\\b', 'g');\n return stylis(prefix || !selector ? '' : selector, cssStr);\n} // \n\n/* eslint-disable camelcase, no-undef */\n\n\nvar getNonce = function getNonce() {\n return typeof __webpack_nonce__ !== 'undefined' ? __webpack_nonce__ : null;\n}; // \n\n/* These are helpers for the StyleTags to keep track of the injected\n * rule names for each (component) ID that they're keeping track of.\n * They're crucial for detecting whether a name has already been\n * injected.\n * (This excludes rehydrated names) */\n\n/* adds a new ID:name pairing to a names dictionary */\n\n\nvar addNameForId = function addNameForId(names, id, name) {\n if (name) {\n // eslint-disable-next-line no-param-reassign\n var namesForId = names[id] || (names[id] = Object.create(null));\n namesForId[name] = true;\n }\n};\n/* resets an ID entirely by overwriting it in the dictionary */\n\n\nvar resetIdNames = function resetIdNames(names, id) {\n // eslint-disable-next-line no-param-reassign\n names[id] = Object.create(null);\n};\n/* factory for a names dictionary checking the existance of an ID:name pairing */\n\n\nvar hasNameForId = function hasNameForId(names) {\n return function (id, name) {\n return names[id] !== undefined && names[id][name];\n };\n};\n/* stringifies names for the html/element output */\n\n\nvar stringifyNames = function stringifyNames(names) {\n var str = ''; // eslint-disable-next-line guard-for-in\n\n for (var id in names) {\n str += Object.keys(names[id]).join(' ') + ' ';\n }\n\n return str.trim();\n};\n/* clones the nested names dictionary */\n\n\nvar cloneNames = function cloneNames(names) {\n var clone = Object.create(null); // eslint-disable-next-line guard-for-in\n\n for (var id in names) {\n clone[id] = _extends({}, names[id]);\n }\n\n return clone;\n}; // \n\n/* These are helpers that deal with the insertRule (aka speedy) API\n * They are used in the StyleTags and specifically the speedy tag\n */\n\n/* retrieve a sheet for a given style tag */\n\n\nvar sheetForTag = function sheetForTag(tag) {\n // $FlowFixMe\n if (tag.sheet) return tag.sheet;\n /* Firefox quirk requires us to step through all stylesheets to find one owned by the given tag */\n\n var size = tag.ownerDocument.styleSheets.length;\n\n for (var i = 0; i < size; i += 1) {\n var sheet = tag.ownerDocument.styleSheets[i]; // $FlowFixMe\n\n if (sheet.ownerNode === tag) return sheet;\n }\n /* we should always be able to find a tag */\n\n\n throw new StyledComponentsError(10);\n};\n/* insert a rule safely and return whether it was actually injected */\n\n\nvar safeInsertRule = function safeInsertRule(sheet, cssRule, index) {\n /* abort early if cssRule string is falsy */\n if (!cssRule) return false;\n var maxIndex = sheet.cssRules.length;\n\n try {\n /* use insertRule and cap passed index with maxIndex (no of cssRules) */\n sheet.insertRule(cssRule, index <= maxIndex ? index : maxIndex);\n } catch (err) {\n /* any error indicates an invalid rule */\n return false;\n }\n\n return true;\n};\n/* deletes `size` rules starting from `removalIndex` */\n\n\nvar deleteRules = function deleteRules(sheet, removalIndex, size) {\n var lowerBound = removalIndex - size;\n\n for (var i = removalIndex; i > lowerBound; i -= 1) {\n sheet.deleteRule(i);\n }\n}; // \n\n/* this marker separates component styles and is important for rehydration */\n\n\nvar makeTextMarker = function makeTextMarker(id) {\n return '\\n/* sc-component-id: ' + id + ' */\\n';\n};\n/* add up all numbers in array up until and including the index */\n\n\nvar addUpUntilIndex = function addUpUntilIndex(sizes, index) {\n var totalUpToIndex = 0;\n\n for (var i = 0; i <= index; i += 1) {\n totalUpToIndex += sizes[i];\n }\n\n return totalUpToIndex;\n};\n/* create a new style tag after lastEl */\n\n\nvar makeStyleTag = function makeStyleTag(target, tagEl, insertBefore) {\n var targetDocument = document;\n if (target) targetDocument = target.ownerDocument;else if (tagEl) targetDocument = tagEl.ownerDocument;\n var el = targetDocument.createElement('style');\n el.setAttribute(SC_ATTR, '');\n el.setAttribute(SC_VERSION_ATTR, \"4.4.1\");\n var nonce = getNonce();\n\n if (nonce) {\n el.setAttribute('nonce', nonce);\n }\n /* Work around insertRule quirk in EdgeHTML */\n\n\n el.appendChild(targetDocument.createTextNode(''));\n\n if (target && !tagEl) {\n /* Append to target when no previous element was passed */\n target.appendChild(el);\n } else {\n if (!tagEl || !target || !tagEl.parentNode) {\n throw new StyledComponentsError(6);\n }\n /* Insert new style tag after the previous one */\n\n\n tagEl.parentNode.insertBefore(el, insertBefore ? tagEl : tagEl.nextSibling);\n }\n\n return el;\n};\n/* takes a css factory function and outputs an html styled tag factory */\n\n\nvar wrapAsHtmlTag = function wrapAsHtmlTag(css, names) {\n return function (additionalAttrs) {\n var nonce = getNonce();\n var attrs = [nonce && 'nonce=\"' + nonce + '\"', SC_ATTR + '=\"' + stringifyNames(names) + '\"', SC_VERSION_ATTR + '=\"' + \"4.4.1\" + '\"', additionalAttrs];\n var htmlAttr = attrs.filter(Boolean).join(' ');\n return '<style ' + htmlAttr + '>' + css() + '</style>';\n };\n};\n/* takes a css factory function and outputs an element factory */\n\n\nvar wrapAsElement = function wrapAsElement(css, names) {\n return function () {\n var _props;\n\n var props = (_props = {}, _props[SC_ATTR] = stringifyNames(names), _props[SC_VERSION_ATTR] = \"4.4.1\", _props);\n var nonce = getNonce();\n\n if (nonce) {\n // $FlowFixMe\n props.nonce = nonce;\n } // eslint-disable-next-line react/no-danger\n\n\n return React.createElement('style', _extends({}, props, {\n dangerouslySetInnerHTML: {\n __html: css()\n }\n }));\n };\n};\n\nvar getIdsFromMarkersFactory = function getIdsFromMarkersFactory(markers) {\n return function () {\n return Object.keys(markers);\n };\n};\n/* speedy tags utilise insertRule */\n\n\nvar makeSpeedyTag = function makeSpeedyTag(el, getImportRuleTag) {\n var names = Object.create(null);\n var markers = Object.create(null);\n var sizes = [];\n var extractImport = getImportRuleTag !== undefined;\n /* indicates whether getImportRuleTag was called */\n\n var usedImportRuleTag = false;\n\n var insertMarker = function insertMarker(id) {\n var prev = markers[id];\n\n if (prev !== undefined) {\n return prev;\n }\n\n markers[id] = sizes.length;\n sizes.push(0);\n resetIdNames(names, id);\n return markers[id];\n };\n\n var insertRules = function insertRules(id, cssRules, name) {\n var marker = insertMarker(id);\n var sheet = sheetForTag(el);\n var insertIndex = addUpUntilIndex(sizes, marker);\n var injectedRules = 0;\n var importRules = [];\n var cssRulesSize = cssRules.length;\n\n for (var i = 0; i < cssRulesSize; i += 1) {\n var cssRule = cssRules[i];\n var mayHaveImport = extractImport;\n /* @import rules are reordered to appear first */\n\n if (mayHaveImport && cssRule.indexOf('@import') !== -1) {\n importRules.push(cssRule);\n } else if (safeInsertRule(sheet, cssRule, insertIndex + injectedRules)) {\n mayHaveImport = false;\n injectedRules += 1;\n }\n }\n\n if (extractImport && importRules.length > 0) {\n usedImportRuleTag = true; // $FlowFixMe\n\n getImportRuleTag().insertRules(id + '-import', importRules);\n }\n\n sizes[marker] += injectedRules;\n /* add up no of injected rules */\n\n addNameForId(names, id, name);\n };\n\n var removeRules = function removeRules(id) {\n var marker = markers[id];\n if (marker === undefined) return; // $FlowFixMe\n\n if (el.isConnected === false) return;\n var size = sizes[marker];\n var sheet = sheetForTag(el);\n var removalIndex = addUpUntilIndex(sizes, marker) - 1;\n deleteRules(sheet, removalIndex, size);\n sizes[marker] = 0;\n resetIdNames(names, id);\n\n if (extractImport && usedImportRuleTag) {\n // $FlowFixMe\n getImportRuleTag().removeRules(id + '-import');\n }\n };\n\n var css = function css() {\n var _sheetForTag = sheetForTag(el),\n cssRules = _sheetForTag.cssRules;\n\n var str = ''; // eslint-disable-next-line guard-for-in\n\n for (var id in markers) {\n str += makeTextMarker(id);\n var marker = markers[id];\n var end = addUpUntilIndex(sizes, marker);\n var size = sizes[marker];\n\n for (var i = end - size; i < end; i += 1) {\n var rule = cssRules[i];\n\n if (rule !== undefined) {\n str += rule.cssText;\n }\n }\n }\n\n return str;\n };\n\n return {\n clone: function clone() {\n throw new StyledComponentsError(5);\n },\n css: css,\n getIds: getIdsFromMarkersFactory(markers),\n hasNameForId: hasNameForId(names),\n insertMarker: insertMarker,\n insertRules: insertRules,\n removeRules: removeRules,\n sealed: false,\n styleTag: el,\n toElement: wrapAsElement(css, names),\n toHTML: wrapAsHtmlTag(css, names)\n };\n};\n\nvar makeTextNode = function makeTextNode(targetDocument, id) {\n return targetDocument.createTextNode(makeTextMarker(id));\n};\n\nvar makeBrowserTag = function makeBrowserTag(el, getImportRuleTag) {\n var names = Object.create(null);\n var markers = Object.create(null);\n var extractImport = getImportRuleTag !== undefined;\n /* indicates whether getImportRuleTag was called */\n\n var usedImportRuleTag = false;\n\n var insertMarker = function insertMarker(id) {\n var prev = markers[id];\n\n if (prev !== undefined) {\n return prev;\n }\n\n markers[id] = makeTextNode(el.ownerDocument, id);\n el.appendChild(markers[id]);\n names[id] = Object.create(null);\n return markers[id];\n };\n\n var insertRules = function insertRules(id, cssRules, name) {\n var marker = insertMarker(id);\n var importRules = [];\n var cssRulesSize = cssRules.length;\n\n for (var i = 0; i < cssRulesSize; i += 1) {\n var rule = cssRules[i];\n var mayHaveImport = extractImport;\n\n if (mayHaveImport && rule.indexOf('@import') !== -1) {\n importRules.push(rule);\n } else {\n mayHaveImport = false;\n var separator = i === cssRulesSize - 1 ? '' : ' ';\n marker.appendData('' + rule + separator);\n }\n }\n\n addNameForId(names, id, name);\n\n if (extractImport && importRules.length > 0) {\n usedImportRuleTag = true; // $FlowFixMe\n\n getImportRuleTag().insertRules(id + '-import', importRules);\n }\n };\n\n var removeRules = function removeRules(id) {\n var marker = markers[id];\n if (marker === undefined) return;\n /* create new empty text node and replace the current one */\n\n var newMarker = makeTextNode(el.ownerDocument, id);\n el.replaceChild(newMarker, marker);\n markers[id] = newMarker;\n resetIdNames(names, id);\n\n if (extractImport && usedImportRuleTag) {\n // $FlowFixMe\n getImportRuleTag().removeRules(id + '-import');\n }\n };\n\n var css = function css() {\n var str = ''; // eslint-disable-next-line guard-for-in\n\n for (var id in markers) {\n str += markers[id].data;\n }\n\n return str;\n };\n\n return {\n clone: function clone() {\n throw new StyledComponentsError(5);\n },\n css: css,\n getIds: getIdsFromMarkersFactory(markers),\n hasNameForId: hasNameForId(names),\n insertMarker: insertMarker,\n insertRules: insertRules,\n removeRules: removeRules,\n sealed: false,\n styleTag: el,\n toElement: wrapAsElement(css, names),\n toHTML: wrapAsHtmlTag(css, names)\n };\n};\n\nvar makeServerTag = function makeServerTag(namesArg, markersArg) {\n var names = namesArg === undefined ? Object.create(null) : namesArg;\n var markers = markersArg === undefined ? Object.create(null) : markersArg;\n\n var insertMarker = function insertMarker(id) {\n var prev = markers[id];\n\n if (prev !== undefined) {\n return prev;\n }\n\n return markers[id] = [''];\n };\n\n var insertRules = function insertRules(id, cssRules, name) {\n var marker = insertMarker(id);\n marker[0] += cssRules.join(' ');\n addNameForId(names, id, name);\n };\n\n var removeRules = function removeRules(id) {\n var marker = markers[id];\n if (marker === undefined) return;\n marker[0] = '';\n resetIdNames(names, id);\n };\n\n var css = function css() {\n var str = ''; // eslint-disable-next-line guard-for-in\n\n for (var id in markers) {\n var cssForId = markers[id][0];\n\n if (cssForId) {\n str += makeTextMarker(id) + cssForId;\n }\n }\n\n return str;\n };\n\n var clone = function clone() {\n var namesClone = cloneNames(names);\n var markersClone = Object.create(null); // eslint-disable-next-line guard-for-in\n\n for (var id in markers) {\n markersClone[id] = [markers[id][0]];\n }\n\n return makeServerTag(namesClone, markersClone);\n };\n\n var tag = {\n clone: clone,\n css: css,\n getIds: getIdsFromMarkersFactory(markers),\n hasNameForId: hasNameForId(names),\n insertMarker: insertMarker,\n insertRules: insertRules,\n removeRules: removeRules,\n sealed: false,\n styleTag: null,\n toElement: wrapAsElement(css, names),\n toHTML: wrapAsHtmlTag(css, names)\n };\n return tag;\n};\n\nvar makeTag = function makeTag(target, tagEl, forceServer, insertBefore, getImportRuleTag) {\n if (IS_BROWSER && !forceServer) {\n var el = makeStyleTag(target, tagEl, insertBefore);\n\n if (DISABLE_SPEEDY) {\n return makeBrowserTag(el, getImportRuleTag);\n } else {\n return makeSpeedyTag(el, getImportRuleTag);\n }\n }\n\n return makeServerTag();\n};\n\nvar rehydrate = function rehydrate(tag, els, extracted) {\n /* add all extracted components to the new tag */\n for (var i = 0, len = extracted.length; i < len; i += 1) {\n var _extracted$i = extracted[i],\n componentId = _extracted$i.componentId,\n cssFromDOM = _extracted$i.cssFromDOM;\n var cssRules = splitByRules(cssFromDOM);\n tag.insertRules(componentId, cssRules);\n }\n /* remove old HTMLStyleElements, since they have been rehydrated */\n\n\n for (var _i = 0, _len = els.length; _i < _len; _i += 1) {\n var el = els[_i];\n\n if (el.parentNode) {\n el.parentNode.removeChild(el);\n }\n }\n}; // \n\n\nvar SPLIT_REGEX = /\\s+/;\n/* determine the maximum number of components before tags are sharded */\n\nvar MAX_SIZE = void 0;\n\nif (IS_BROWSER) {\n /* in speedy mode we can keep a lot more rules in a sheet before a slowdown can be expected */\n MAX_SIZE = DISABLE_SPEEDY ? 40 : 1000;\n} else {\n /* for servers we do not need to shard at all */\n MAX_SIZE = -1;\n}\n\nvar sheetRunningId = 0;\nvar master = void 0;\n\nvar StyleSheet = function () {\n /* a map from ids to tags */\n\n /* deferred rules for a given id */\n\n /* this is used for not reinjecting rules via hasNameForId() */\n\n /* when rules for an id are removed using remove() we have to ignore rehydratedNames for it */\n\n /* a list of tags belonging to this StyleSheet */\n\n /* a tag for import rules */\n\n /* current capacity until a new tag must be created */\n\n /* children (aka clones) of this StyleSheet inheriting all and future injections */\n function StyleSheet() {\n var _this = this;\n\n var target = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : IS_BROWSER ? document.head : null;\n var forceServer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n classCallCheck(this, StyleSheet);\n\n this.getImportRuleTag = function () {\n var importRuleTag = _this.importRuleTag;\n\n if (importRuleTag !== undefined) {\n return importRuleTag;\n }\n\n var firstTag = _this.tags[0];\n var insertBefore = true;\n return _this.importRuleTag = makeTag(_this.target, firstTag ? firstTag.styleTag : null, _this.forceServer, insertBefore);\n };\n\n sheetRunningId += 1;\n this.id = sheetRunningId;\n this.forceServer = forceServer;\n this.target = forceServer ? null : target;\n this.tagMap = {};\n this.deferred = {};\n this.rehydratedNames = {};\n this.ignoreRehydratedNames = {};\n this.tags = [];\n this.capacity = 1;\n this.clones = [];\n }\n /* rehydrate all SSR'd style tags */\n\n\n StyleSheet.prototype.rehydrate = function rehydrate$$1() {\n if (!IS_BROWSER || this.forceServer) return this;\n var els = [];\n var extracted = [];\n var isStreamed = false;\n /* retrieve all of our SSR style elements from the DOM */\n\n var nodes = document.querySelectorAll('style[' + SC_ATTR + '][' + SC_VERSION_ATTR + '=\"' + \"4.4.1\" + '\"]');\n var nodesSize = nodes.length;\n /* abort rehydration if no previous style tags were found */\n\n if (!nodesSize) return this;\n\n for (var i = 0; i < nodesSize; i += 1) {\n var el = nodes[i];\n /* check if style tag is a streamed tag */\n\n if (!isStreamed) isStreamed = !!el.getAttribute(SC_STREAM_ATTR);\n /* retrieve all component names */\n\n var elNames = (el.getAttribute(SC_ATTR) || '').trim().split(SPLIT_REGEX);\n var elNamesSize = elNames.length;\n\n for (var j = 0, name; j < elNamesSize; j += 1) {\n name = elNames[j];\n /* add rehydrated name to sheet to avoid re-adding styles */\n\n this.rehydratedNames[name] = true;\n }\n /* extract all components and their CSS */\n\n\n extracted.push.apply(extracted, extractComps(el.textContent));\n /* store original HTMLStyleElement */\n\n els.push(el);\n }\n /* abort rehydration if nothing was extracted */\n\n\n var extractedSize = extracted.length;\n if (!extractedSize) return this;\n /* create a tag to be used for rehydration */\n\n var tag = this.makeTag(null);\n rehydrate(tag, els, extracted);\n /* reset capacity and adjust MAX_SIZE by the initial size of the rehydration */\n\n this.capacity = Math.max(1, MAX_SIZE - extractedSize);\n this.tags.push(tag);\n /* retrieve all component ids */\n\n for (var _j = 0; _j < extractedSize; _j += 1) {\n this.tagMap[extracted[_j].componentId] = tag;\n }\n\n return this;\n };\n /* retrieve a \"master\" instance of StyleSheet which is typically used when no other is available\n * The master StyleSheet is targeted by createGlobalStyle, keyframes, and components outside of any\n * StyleSheetManager's context */\n\n /* reset the internal \"master\" instance */\n\n\n StyleSheet.reset = function reset() {\n var forceServer = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n master = new StyleSheet(undefined, forceServer).rehydrate();\n };\n /* adds \"children\" to the StyleSheet that inherit all of the parents' rules\n * while their own rules do not affect the parent */\n\n\n StyleSheet.prototype.clone = function clone() {\n var sheet = new StyleSheet(this.target, this.forceServer);\n /* add to clone array */\n\n this.clones.push(sheet);\n /* clone all tags */\n\n sheet.tags = this.tags.map(function (tag) {\n var ids = tag.getIds();\n var newTag = tag.clone();\n /* reconstruct tagMap */\n\n for (var i = 0; i < ids.length; i += 1) {\n sheet.tagMap[ids[i]] = newTag;\n }\n\n return newTag;\n });\n /* clone other maps */\n\n sheet.rehydratedNames = _extends({}, this.rehydratedNames);\n sheet.deferred = _extends({}, this.deferred);\n return sheet;\n };\n /* force StyleSheet to create a new tag on the next injection */\n\n\n StyleSheet.prototype.sealAllTags = function sealAllTags() {\n this.capacity = 1;\n this.tags.forEach(function (tag) {\n // eslint-disable-next-line no-param-reassign\n tag.sealed = true;\n });\n };\n\n StyleSheet.prototype.makeTag = function makeTag$$1(tag) {\n var lastEl = tag ? tag.styleTag : null;\n var insertBefore = false;\n return makeTag(this.target, lastEl, this.forceServer, insertBefore, this.getImportRuleTag);\n };\n /* get a tag for a given componentId, assign the componentId to one, or shard */\n\n\n StyleSheet.prototype.getTagForId = function getTagForId(id) {\n /* simply return a tag, when the componentId was already assigned one */\n var prev = this.tagMap[id];\n\n if (prev !== undefined && !prev.sealed) {\n return prev;\n }\n\n var tag = this.tags[this.tags.length - 1];\n /* shard (create a new tag) if the tag is exhausted (See MAX_SIZE) */\n\n this.capacity -= 1;\n\n if (this.capacity === 0) {\n this.capacity = MAX_SIZE;\n tag = this.makeTag(tag);\n this.tags.push(tag);\n }\n\n return this.tagMap[id] = tag;\n };\n /* mainly for createGlobalStyle to check for its id */\n\n\n StyleSheet.prototype.hasId = function hasId(id) {\n return this.tagMap[id] !== undefined;\n };\n /* caching layer checking id+name to already have a corresponding tag and injected rules */\n\n\n StyleSheet.prototype.hasNameForId = function hasNameForId(id, name) {\n /* exception for rehydrated names which are checked separately */\n if (this.ignoreRehydratedNames[id] === undefined && this.rehydratedNames[name]) {\n return true;\n }\n\n var tag = this.tagMap[id];\n return tag !== undefined && tag.hasNameForId(id, name);\n };\n /* registers a componentId and registers it on its tag */\n\n\n StyleSheet.prototype.deferredInject = function deferredInject(id, cssRules) {\n /* don't inject when the id is already registered */\n if (this.tagMap[id] !== undefined) return;\n var clones = this.clones;\n\n for (var i = 0; i < clones.length; i += 1) {\n clones[i].deferredInject(id, cssRules);\n }\n\n this.getTagForId(id).insertMarker(id);\n this.deferred[id] = cssRules;\n };\n /* injects rules for a given id with a name that will need to be cached */\n\n\n StyleSheet.prototype.inject = function inject(id, cssRules, name) {\n var clones = this.clones;\n\n for (var i = 0; i < clones.length; i += 1) {\n clones[i].inject(id, cssRules, name);\n }\n\n var tag = this.getTagForId(id);\n /* add deferred rules for component */\n\n if (this.deferred[id] !== undefined) {\n // Combine passed cssRules with previously deferred CSS rules\n // NOTE: We cannot mutate the deferred array itself as all clones\n // do the same (see clones[i].inject)\n var rules = this.deferred[id].concat(cssRules);\n tag.insertRules(id, rules, name);\n this.deferred[id] = undefined;\n } else {\n tag.insertRules(id, cssRules, name);\n }\n };\n /* removes all rules for a given id, which doesn't remove its marker but resets it */\n\n\n StyleSheet.prototype.remove = function remove(id) {\n var tag = this.tagMap[id];\n if (tag === undefined) return;\n var clones = this.clones;\n\n for (var i = 0; i < clones.length; i += 1) {\n clones[i].remove(id);\n }\n /* remove all rules from the tag */\n\n\n tag.removeRules(id);\n /* ignore possible rehydrated names */\n\n this.ignoreRehydratedNames[id] = true;\n /* delete possible deferred rules */\n\n this.deferred[id] = undefined;\n };\n\n StyleSheet.prototype.toHTML = function toHTML() {\n return this.tags.map(function (tag) {\n return tag.toHTML();\n }).join('');\n };\n\n StyleSheet.prototype.toReactElements = function toReactElements() {\n var id = this.id;\n return this.tags.map(function (tag, i) {\n var key = 'sc-' + id + '-' + i;\n return cloneElement(tag.toElement(), {\n key: key\n });\n });\n };\n\n createClass(StyleSheet, null, [{\n key: 'master',\n get: function get$$1() {\n return master || (master = new StyleSheet().rehydrate());\n }\n /* NOTE: This is just for backwards-compatibility with jest-styled-components */\n\n }, {\n key: 'instance',\n get: function get$$1() {\n return StyleSheet.master;\n }\n }]);\n return StyleSheet;\n}(); // \n\n\nvar Keyframes = function () {\n function Keyframes(name, rules) {\n var _this = this;\n\n classCallCheck(this, Keyframes);\n\n this.inject = function (styleSheet) {\n if (!styleSheet.hasNameForId(_this.id, _this.name)) {\n styleSheet.inject(_this.id, _this.rules, _this.name);\n }\n };\n\n this.toString = function () {\n throw new StyledComponentsError(12, String(_this.name));\n };\n\n this.name = name;\n this.rules = rules;\n this.id = 'sc-keyframes-' + name;\n }\n\n Keyframes.prototype.getName = function getName() {\n return this.name;\n };\n\n return Keyframes;\n}(); // \n\n/**\n * inlined version of\n * https://github.com/facebook/fbjs/blob/master/packages/fbjs/src/core/hyphenateStyleName.js\n */\n\n\nvar uppercasePattern = /([A-Z])/g;\nvar msPattern = /^ms-/;\n/**\n * Hyphenates a camelcased CSS property name, for example:\n *\n * > hyphenateStyleName('backgroundColor')\n * < \"background-color\"\n * > hyphenateStyleName('MozTransition')\n * < \"-moz-transition\"\n * > hyphenateStyleName('msTransition')\n * < \"-ms-transition\"\n *\n * As Modernizr suggests (http://modernizr.com/docs/#prefixed), an `ms` prefix\n * is converted to `-ms-`.\n *\n * @param {string} string\n * @return {string}\n */\n\nfunction hyphenateStyleName(string) {\n return string.replace(uppercasePattern, '-$1').toLowerCase().replace(msPattern, '-ms-');\n} // \n// Taken from https://github.com/facebook/react/blob/b87aabdfe1b7461e7331abb3601d9e6bb27544bc/packages/react-dom/src/shared/dangerousStyleValue.js\n\n\nfunction addUnitIfNeeded(name, value) {\n // https://github.com/amilajack/eslint-plugin-flowtype-errors/issues/133\n // $FlowFixMe\n if (value == null || typeof value === 'boolean' || value === '') {\n return '';\n }\n\n if (typeof value === 'number' && value !== 0 && !(name in unitless)) {\n return value + 'px'; // Presumes implicit 'px' suffix for unitless numbers\n }\n\n return String(value).trim();\n} // \n\n/**\n * It's falsish not falsy because 0 is allowed.\n */\n\n\nvar isFalsish = function isFalsish(chunk) {\n return chunk === undefined || chunk === null || chunk === false || chunk === '';\n};\n\nvar objToCssArray = function objToCssArray(obj, prevKey) {\n var rules = [];\n var keys = Object.keys(obj);\n keys.forEach(function (key) {\n if (!isFalsish(obj[key])) {\n if (isPlainObject(obj[key])) {\n rules.push.apply(rules, objToCssArray(obj[key], key));\n return rules;\n } else if (isFunction(obj[key])) {\n rules.push(hyphenateStyleName(key) + ':', obj[key], ';');\n return rules;\n }\n\n rules.push(hyphenateStyleName(key) + ': ' + addUnitIfNeeded(key, obj[key]) + ';');\n }\n\n return rules;\n });\n return prevKey ? [prevKey + ' {'].concat(rules, ['}']) : rules;\n};\n\nfunction flatten(chunk, executionContext, styleSheet) {\n if (Array.isArray(chunk)) {\n var ruleSet = [];\n\n for (var i = 0, len = chunk.length, result; i < len; i += 1) {\n result = flatten(chunk[i], executionContext, styleSheet);\n if (result === null) continue;else if (Array.isArray(result)) ruleSet.push.apply(ruleSet, result);else ruleSet.push(result);\n }\n\n return ruleSet;\n }\n\n if (isFalsish(chunk)) {\n return null;\n }\n /* Handle other components */\n\n\n if (isStyledComponent(chunk)) {\n return '.' + chunk.styledComponentId;\n }\n /* Either execute or defer the function */\n\n\n if (isFunction(chunk)) {\n if (isStatelessFunction(chunk) && executionContext) {\n var _result = chunk(executionContext);\n\n if (process.env.NODE_ENV !== 'production' && isElement(_result)) {\n // eslint-disable-next-line no-console\n console.warn(getComponentName(chunk) + ' is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.');\n }\n\n return flatten(_result, executionContext, styleSheet);\n } else return chunk;\n }\n\n if (chunk instanceof Keyframes) {\n if (styleSheet) {\n chunk.inject(styleSheet);\n return chunk.getName();\n } else return chunk;\n }\n /* Handle objects */\n\n\n return isPlainObject(chunk) ? objToCssArray(chunk) : chunk.toString();\n} // \n\n\nfunction css(styles) {\n for (var _len = arguments.length, interpolations = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n interpolations[_key - 1] = arguments[_key];\n }\n\n if (isFunction(styles) || isPlainObject(styles)) {\n // $FlowFixMe\n return flatten(interleave(EMPTY_ARRAY, [styles].concat(interpolations)));\n } // $FlowFixMe\n\n\n return flatten(interleave(styles, interpolations));\n} // \n\n\nfunction constructWithOptions(componentConstructor, tag) {\n var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : EMPTY_OBJECT;\n\n if (!isValidElementType(tag)) {\n throw new StyledComponentsError(1, String(tag));\n }\n /* This is callable directly as a template function */\n // $FlowFixMe: Not typed to avoid destructuring arguments\n\n\n var templateFunction = function templateFunction() {\n return componentConstructor(tag, options, css.apply(undefined, arguments));\n };\n /* If config methods are called, wrap up a new template function and merge options */\n\n\n templateFunction.withConfig = function (config) {\n return constructWithOptions(componentConstructor, tag, _extends({}, options, config));\n };\n /* Modify/inject new props at runtime */\n\n\n templateFunction.attrs = function (attrs) {\n return constructWithOptions(componentConstructor, tag, _extends({}, options, {\n attrs: Array.prototype.concat(options.attrs, attrs).filter(Boolean)\n }));\n };\n\n return templateFunction;\n} // \n// Source: https://github.com/garycourt/murmurhash-js/blob/master/murmurhash2_gc.js\n\n\nfunction murmurhash(c) {\n for (var e = c.length | 0, a = e | 0, d = 0, b; e >= 4;) {\n b = c.charCodeAt(d) & 255 | (c.charCodeAt(++d) & 255) << 8 | (c.charCodeAt(++d) & 255) << 16 | (c.charCodeAt(++d) & 255) << 24, b = 1540483477 * (b & 65535) + ((1540483477 * (b >>> 16) & 65535) << 16), b ^= b >>> 24, b = 1540483477 * (b & 65535) + ((1540483477 * (b >>> 16) & 65535) << 16), a = 1540483477 * (a & 65535) + ((1540483477 * (a >>> 16) & 65535) << 16) ^ b, e -= 4, ++d;\n }\n\n switch (e) {\n case 3:\n a ^= (c.charCodeAt(d + 2) & 255) << 16;\n\n case 2:\n a ^= (c.charCodeAt(d + 1) & 255) << 8;\n\n case 1:\n a ^= c.charCodeAt(d) & 255, a = 1540483477 * (a & 65535) + ((1540483477 * (a >>> 16) & 65535) << 16);\n }\n\n a ^= a >>> 13;\n a = 1540483477 * (a & 65535) + ((1540483477 * (a >>> 16) & 65535) << 16);\n return (a ^ a >>> 15) >>> 0;\n} // \n\n/* eslint-disable no-bitwise */\n\n/* This is the \"capacity\" of our alphabet i.e. 2x26 for all letters plus their capitalised\n * counterparts */\n\n\nvar charsLength = 52;\n/* start at 75 for 'a' until 'z' (25) and then start at 65 for capitalised letters */\n\nvar getAlphabeticChar = function getAlphabeticChar(code) {\n return String.fromCharCode(code + (code > 25 ? 39 : 97));\n};\n/* input a number, usually a hash and convert it to base-52 */\n\n\nfunction generateAlphabeticName(code) {\n var name = '';\n var x = void 0;\n /* get a char and divide by alphabet-length */\n\n for (x = code; x > charsLength; x = Math.floor(x / charsLength)) {\n name = getAlphabeticChar(x % charsLength) + name;\n }\n\n return getAlphabeticChar(x % charsLength) + name;\n} // \n\n\nfunction hasFunctionObjectKey(obj) {\n // eslint-disable-next-line guard-for-in, no-restricted-syntax\n for (var key in obj) {\n if (isFunction(obj[key])) {\n return true;\n }\n }\n\n return false;\n}\n\nfunction isStaticRules(rules, attrs) {\n for (var i = 0; i < rules.length; i += 1) {\n var rule = rules[i]; // recursive case\n\n if (Array.isArray(rule) && !isStaticRules(rule, attrs)) {\n return false;\n } else if (isFunction(rule) && !isStyledComponent(rule)) {\n // functions are allowed to be static if they're just being\n // used to get the classname of a nested styled component\n return false;\n }\n }\n\n if (attrs.some(function (x) {\n return isFunction(x) || hasFunctionObjectKey(x);\n })) return false;\n return true;\n} // \n\n/* combines hashStr (murmurhash) and nameGenerator for convenience */\n\n\nvar hasher = function hasher(str) {\n return generateAlphabeticName(murmurhash(str));\n};\n/*\n ComponentStyle is all the CSS-specific stuff, not\n the React-specific stuff.\n */\n\n\nvar ComponentStyle = function () {\n function ComponentStyle(rules, attrs, componentId) {\n classCallCheck(this, ComponentStyle);\n this.rules = rules;\n this.isStatic = process.env.NODE_ENV === 'production' && isStaticRules(rules, attrs);\n this.componentId = componentId;\n\n if (!StyleSheet.master.hasId(componentId)) {\n StyleSheet.master.deferredInject(componentId, []);\n }\n }\n /*\n * Flattens a rule set into valid CSS\n * Hashes it, wraps the whole chunk in a .hash1234 {}\n * Returns the hash to be injected on render()\n * */\n\n\n ComponentStyle.prototype.generateAndInjectStyles = function generateAndInjectStyles(executionContext, styleSheet) {\n var isStatic = this.isStatic,\n componentId = this.componentId,\n lastClassName = this.lastClassName;\n\n if (IS_BROWSER && isStatic && typeof lastClassName === 'string' && styleSheet.hasNameForId(componentId, lastClassName)) {\n return lastClassName;\n }\n\n var flatCSS = flatten(this.rules, executionContext, styleSheet);\n var name = hasher(this.componentId + flatCSS.join(''));\n\n if (!styleSheet.hasNameForId(componentId, name)) {\n styleSheet.inject(this.componentId, stringifyRules(flatCSS, '.' + name, undefined, componentId), name);\n }\n\n this.lastClassName = name;\n return name;\n };\n\n ComponentStyle.generateName = function generateName(str) {\n return hasher(str);\n };\n\n return ComponentStyle;\n}(); // \n\n\nvar LIMIT = 200;\n\nvar createWarnTooManyClasses = function createWarnTooManyClasses(displayName) {\n var generatedClasses = {};\n var warningSeen = false;\n return function (className) {\n if (!warningSeen) {\n generatedClasses[className] = true;\n\n if (Object.keys(generatedClasses).length >= LIMIT) {\n // Unable to find latestRule in test environment.\n\n /* eslint-disable no-console, prefer-template */\n console.warn('Over ' + LIMIT + ' classes were generated for component ' + displayName + '. \\n' + 'Consider using the attrs method, together with a style object for frequently changed styles.\\n' + 'Example:\\n' + ' const Component = styled.div.attrs(props => ({\\n' + ' style: {\\n' + ' background: props.background,\\n' + ' },\\n' + ' }))`width: 100%;`\\n\\n' + ' <Component />');\n warningSeen = true;\n generatedClasses = {};\n }\n }\n };\n}; // \n\n\nvar determineTheme = function determineTheme(props, fallbackTheme) {\n var defaultProps = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : EMPTY_OBJECT; // Props should take precedence over ThemeProvider, which should take precedence over\n // defaultProps, but React automatically puts defaultProps on props.\n\n /* eslint-disable react/prop-types, flowtype-errors/show-errors */\n\n var isDefaultTheme = defaultProps ? props.theme === defaultProps.theme : false;\n var theme = props.theme && !isDefaultTheme ? props.theme : fallbackTheme || defaultProps.theme;\n /* eslint-enable */\n\n return theme;\n}; // \n\n\nvar escapeRegex = /[[\\].#*$><+~=|^:(),\"'`-]+/g;\nvar dashesAtEnds = /(^-|-$)/g;\n/**\n * TODO: Explore using CSS.escape when it becomes more available\n * in evergreen browsers.\n */\n\nfunction escape(str) {\n return str // Replace all possible CSS selectors\n .replace(escapeRegex, '-') // Remove extraneous hyphens at the start and end\n .replace(dashesAtEnds, '');\n} // \n\n\nfunction isTag(target) {\n return typeof target === 'string' && (process.env.NODE_ENV !== 'production' ? target.charAt(0) === target.charAt(0).toLowerCase() : true);\n} // \n\n\nfunction generateDisplayName(target) {\n // $FlowFixMe\n return isTag(target) ? 'styled.' + target : 'Styled(' + getComponentName(target) + ')';\n}\n\nvar _TYPE_STATICS;\n\nvar REACT_STATICS = {\n childContextTypes: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDerivedStateFromProps: true,\n propTypes: true,\n type: true\n};\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n callee: true,\n arguments: true,\n arity: true\n};\nvar TYPE_STATICS = (_TYPE_STATICS = {}, _TYPE_STATICS[ForwardRef] = {\n $$typeof: true,\n render: true\n}, _TYPE_STATICS);\nvar defineProperty$1 = Object.defineProperty,\n getOwnPropertyNames = Object.getOwnPropertyNames,\n _Object$getOwnPropert = Object.getOwnPropertySymbols,\n getOwnPropertySymbols = _Object$getOwnPropert === undefined ? function () {\n return [];\n} : _Object$getOwnPropert,\n getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor,\n getPrototypeOf = Object.getPrototypeOf,\n objectPrototype = Object.prototype;\nvar arrayPrototype = Array.prototype;\n\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n if (typeof sourceComponent !== 'string') {\n // don't hoist over string (html) components\n var inheritedComponent = getPrototypeOf(sourceComponent);\n\n if (inheritedComponent && inheritedComponent !== objectPrototype) {\n hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n }\n\n var keys = arrayPrototype.concat(getOwnPropertyNames(sourceComponent), // $FlowFixMe\n getOwnPropertySymbols(sourceComponent));\n var targetStatics = TYPE_STATICS[targetComponent.$$typeof] || REACT_STATICS;\n var sourceStatics = TYPE_STATICS[sourceComponent.$$typeof] || REACT_STATICS;\n var i = keys.length;\n var descriptor = void 0;\n var key = void 0; // eslint-disable-next-line no-plusplus\n\n while (i--) {\n key = keys[i];\n\n if ( // $FlowFixMe\n !KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && // $FlowFixMe\n !(targetStatics && targetStatics[key])) {\n descriptor = getOwnPropertyDescriptor(sourceComponent, key);\n\n if (descriptor) {\n try {\n // Avoid failures from read-only properties\n defineProperty$1(targetComponent, key, descriptor);\n } catch (e) {\n /* fail silently */\n }\n }\n }\n }\n\n return targetComponent;\n }\n\n return targetComponent;\n} // \n\n\nfunction isDerivedReactComponent(fn) {\n return !!(fn && fn.prototype && fn.prototype.isReactComponent);\n} // \n// Helper to call a given function, only once\n\n\nvar once = function once(cb) {\n var called = false;\n return function () {\n if (!called) {\n called = true;\n cb.apply(undefined, arguments);\n }\n };\n}; // \n\n\nvar ThemeContext = createContext();\nvar ThemeConsumer = ThemeContext.Consumer;\n/**\n * Provide a theme to an entire react component tree via context\n */\n\nvar ThemeProvider = function (_Component) {\n inherits(ThemeProvider, _Component);\n\n function ThemeProvider(props) {\n classCallCheck(this, ThemeProvider);\n\n var _this = possibleConstructorReturn(this, _Component.call(this, props));\n\n _this.getContext = memoize(_this.getContext.bind(_this));\n _this.renderInner = _this.renderInner.bind(_this);\n return _this;\n }\n\n ThemeProvider.prototype.render = function render() {\n if (!this.props.children) return null;\n return React.createElement(ThemeContext.Consumer, null, this.renderInner);\n };\n\n ThemeProvider.prototype.renderInner = function renderInner(outerTheme) {\n var context = this.getContext(this.props.theme, outerTheme);\n return React.createElement(ThemeContext.Provider, {\n value: context\n }, this.props.children);\n };\n /**\n * Get the theme from the props, supporting both (outerTheme) => {}\n * as well as object notation\n */\n\n\n ThemeProvider.prototype.getTheme = function getTheme(theme, outerTheme) {\n if (isFunction(theme)) {\n var mergedTheme = theme(outerTheme);\n\n if (process.env.NODE_ENV !== 'production' && (mergedTheme === null || Array.isArray(mergedTheme) || (typeof mergedTheme === 'undefined' ? 'undefined' : _typeof(mergedTheme)) !== 'object')) {\n throw new StyledComponentsError(7);\n }\n\n return mergedTheme;\n }\n\n if (theme === null || Array.isArray(theme) || (typeof theme === 'undefined' ? 'undefined' : _typeof(theme)) !== 'object') {\n throw new StyledComponentsError(8);\n }\n\n return _extends({}, outerTheme, theme);\n };\n\n ThemeProvider.prototype.getContext = function getContext(theme, outerTheme) {\n return this.getTheme(theme, outerTheme);\n };\n\n return ThemeProvider;\n}(Component); // \n\n\nvar CLOSING_TAG_R = /^\\s*<\\/[a-z]/i;\n\nvar ServerStyleSheet = function () {\n function ServerStyleSheet() {\n classCallCheck(this, ServerStyleSheet);\n /* The master sheet might be reset, so keep a reference here */\n\n this.masterSheet = StyleSheet.master;\n this.instance = this.masterSheet.clone();\n this.sealed = false;\n }\n /**\n * Mark the ServerStyleSheet as being fully emitted and manually GC it from the\n * StyleSheet singleton.\n */\n\n\n ServerStyleSheet.prototype.seal = function seal() {\n if (!this.sealed) {\n /* Remove sealed StyleSheets from the master sheet */\n var index = this.masterSheet.clones.indexOf(this.instance);\n this.masterSheet.clones.splice(index, 1);\n this.sealed = true;\n }\n };\n\n ServerStyleSheet.prototype.collectStyles = function collectStyles(children) {\n if (this.sealed) {\n throw new StyledComponentsError(2);\n }\n\n return React.createElement(StyleSheetManager, {\n sheet: this.instance\n }, children);\n };\n\n ServerStyleSheet.prototype.getStyleTags = function getStyleTags() {\n this.seal();\n return this.instance.toHTML();\n };\n\n ServerStyleSheet.prototype.getStyleElement = function getStyleElement() {\n this.seal();\n return this.instance.toReactElements();\n };\n\n ServerStyleSheet.prototype.interleaveWithNodeStream = function interleaveWithNodeStream(readableStream) {\n var _this = this;\n\n {\n throw new StyledComponentsError(3);\n }\n /* the tag index keeps track of which tags have already been emitted */\n\n var instance = this.instance;\n var instanceTagIndex = 0;\n var streamAttr = SC_STREAM_ATTR + '=\"true\"';\n var transformer = new stream.Transform({\n transform: function appendStyleChunks(chunk,\n /* encoding */\n _, callback) {\n var tags = instance.tags;\n var html = '';\n /* retrieve html for each new style tag */\n\n for (; instanceTagIndex < tags.length; instanceTagIndex += 1) {\n var tag = tags[instanceTagIndex];\n html += tag.toHTML(streamAttr);\n }\n /* force our StyleSheets to emit entirely new tags */\n\n\n instance.sealAllTags();\n var renderedHtml = chunk.toString();\n /* prepend style html to chunk, unless the start of the chunk is a closing tag in which case append right after that */\n\n if (CLOSING_TAG_R.test(renderedHtml)) {\n var endOfClosingTag = renderedHtml.indexOf('>');\n this.push(renderedHtml.slice(0, endOfClosingTag + 1) + html + renderedHtml.slice(endOfClosingTag + 1));\n } else this.push(html + renderedHtml);\n\n callback();\n }\n });\n readableStream.on('end', function () {\n return _this.seal();\n });\n readableStream.on('error', function (err) {\n _this.seal(); // forward the error to the transform stream\n\n\n transformer.emit('error', err);\n });\n return readableStream.pipe(transformer);\n };\n\n return ServerStyleSheet;\n}(); // \n\n\nvar StyleSheetContext = createContext();\nvar StyleSheetConsumer = StyleSheetContext.Consumer;\n\nvar StyleSheetManager = function (_Component) {\n inherits(StyleSheetManager, _Component);\n\n function StyleSheetManager(props) {\n classCallCheck(this, StyleSheetManager);\n\n var _this = possibleConstructorReturn(this, _Component.call(this, props));\n\n _this.getContext = memoize(_this.getContext);\n return _this;\n }\n\n StyleSheetManager.prototype.getContext = function getContext(sheet, target) {\n if (sheet) {\n return sheet;\n } else if (target) {\n return new StyleSheet(target);\n } else {\n throw new StyledComponentsError(4);\n }\n };\n\n StyleSheetManager.prototype.render = function render() {\n var _props = this.props,\n children = _props.children,\n sheet = _props.sheet,\n target = _props.target;\n return React.createElement(StyleSheetContext.Provider, {\n value: this.getContext(sheet, target)\n }, process.env.NODE_ENV !== 'production' ? React.Children.only(children) : children);\n };\n\n return StyleSheetManager;\n}(Component);\n\nprocess.env.NODE_ENV !== \"production\" ? void 0 : void 0; // \n\nvar identifiers = {};\n/* We depend on components having unique IDs */\n\nfunction generateId(_ComponentStyle, _displayName, parentComponentId) {\n var displayName = typeof _displayName !== 'string' ? 'sc' : escape(_displayName);\n /**\n * This ensures uniqueness if two components happen to share\n * the same displayName.\n */\n\n var nr = (identifiers[displayName] || 0) + 1;\n identifiers[displayName] = nr;\n\n var componentId = displayName + '-' + _ComponentStyle.generateName(displayName + nr);\n\n return parentComponentId ? parentComponentId + '-' + componentId : componentId;\n} // $FlowFixMe\n\n\nvar StyledComponent = function (_Component) {\n inherits(StyledComponent, _Component);\n\n function StyledComponent() {\n classCallCheck(this, StyledComponent);\n\n var _this = possibleConstructorReturn(this, _Component.call(this));\n\n _this.attrs = {};\n _this.renderOuter = _this.renderOuter.bind(_this);\n _this.renderInner = _this.renderInner.bind(_this);\n\n if (process.env.NODE_ENV !== 'production') {\n _this.warnInnerRef = once(function (displayName) {\n return (// eslint-disable-next-line no-console\n console.warn('The \"innerRef\" API has been removed in styled-components v4 in favor of React 16 ref forwarding, use \"ref\" instead like a typical component. \"innerRef\" was detected on component \"' + displayName + '\".')\n );\n });\n _this.warnAttrsFnObjectKeyDeprecated = once(function (key, displayName) {\n return (// eslint-disable-next-line no-console\n console.warn('Functions as object-form attrs({}) keys are now deprecated and will be removed in a future version of styled-components. Switch to the new attrs(props => ({})) syntax instead for easier and more powerful composition. The attrs key in question is \"' + key + '\" on component \"' + displayName + '\".', '\\n ' + new Error().stack)\n );\n });\n _this.warnNonStyledComponentAttrsObjectKey = once(function (key, displayName) {\n return (// eslint-disable-next-line no-console\n console.warn('It looks like you\\'ve used a non styled-component as the value for the \"' + key + '\" prop in an object-form attrs constructor of \"' + displayName + '\".\\n' + 'You should use the new function-form attrs constructor which avoids this issue: attrs(props => ({ yourStuff }))\\n' + \"To continue using the deprecated object syntax, you'll need to wrap your component prop in a function to make it available inside the styled component (you'll still get the deprecation warning though.)\\n\" + ('For example, { ' + key + ': () => InnerComponent } instead of { ' + key + ': InnerComponent }'))\n );\n });\n }\n\n return _this;\n }\n\n StyledComponent.prototype.render = function render() {\n return React.createElement(StyleSheetConsumer, null, this.renderOuter);\n };\n\n StyledComponent.prototype.renderOuter = function renderOuter() {\n var styleSheet = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : StyleSheet.master;\n this.styleSheet = styleSheet; // No need to subscribe a static component to theme changes, it won't change anything\n\n if (this.props.forwardedComponent.componentStyle.isStatic) return this.renderInner();\n return React.createElement(ThemeConsumer, null, this.renderInner);\n };\n\n StyledComponent.prototype.renderInner = function renderInner(theme) {\n var _props$forwardedCompo = this.props.forwardedComponent,\n componentStyle = _props$forwardedCompo.componentStyle,\n defaultProps = _props$forwardedCompo.defaultProps,\n displayName = _props$forwardedCompo.displayName,\n foldedComponentIds = _props$forwardedCompo.foldedComponentIds,\n styledComponentId = _props$forwardedCompo.styledComponentId,\n target = _props$forwardedCompo.target;\n var generatedClassName = void 0;\n\n if (componentStyle.isStatic) {\n generatedClassName = this.generateAndInjectStyles(EMPTY_OBJECT, this.props);\n } else {\n generatedClassName = this.generateAndInjectStyles(determineTheme(this.props, theme, defaultProps) || EMPTY_OBJECT, this.props);\n }\n\n var elementToBeCreated = this.props.as || this.attrs.as || target;\n var isTargetTag = isTag(elementToBeCreated);\n var propsForElement = {};\n\n var computedProps = _extends({}, this.props, this.attrs);\n\n var key = void 0; // eslint-disable-next-line guard-for-in\n\n for (key in computedProps) {\n if (process.env.NODE_ENV !== 'production' && key === 'innerRef' && isTargetTag) {\n this.warnInnerRef(displayName);\n }\n\n if (key === 'forwardedComponent' || key === 'as') {\n continue;\n } else if (key === 'forwardedRef') propsForElement.ref = computedProps[key];else if (key === 'forwardedAs') propsForElement.as = computedProps[key];else if (!isTargetTag || validAttr(key)) {\n // Don't pass through non HTML tags through to HTML elements\n propsForElement[key] = computedProps[key];\n }\n }\n\n if (this.props.style && this.attrs.style) {\n propsForElement.style = _extends({}, this.attrs.style, this.props.style);\n }\n\n propsForElement.className = Array.prototype.concat(foldedComponentIds, styledComponentId, generatedClassName !== styledComponentId ? generatedClassName : null, this.props.className, this.attrs.className).filter(Boolean).join(' ');\n return createElement(elementToBeCreated, propsForElement);\n };\n\n StyledComponent.prototype.buildExecutionContext = function buildExecutionContext(theme, props, attrs) {\n var _this2 = this;\n\n var context = _extends({}, props, {\n theme: theme\n });\n\n if (!attrs.length) return context;\n this.attrs = {};\n attrs.forEach(function (attrDef) {\n var resolvedAttrDef = attrDef;\n var attrDefWasFn = false;\n var attr = void 0;\n var key = void 0;\n\n if (isFunction(resolvedAttrDef)) {\n // $FlowFixMe\n resolvedAttrDef = resolvedAttrDef(context);\n attrDefWasFn = true;\n }\n /* eslint-disable guard-for-in */\n // $FlowFixMe\n\n\n for (key in resolvedAttrDef) {\n attr = resolvedAttrDef[key];\n\n if (!attrDefWasFn) {\n if (isFunction(attr) && !isDerivedReactComponent(attr) && !isStyledComponent(attr)) {\n if (process.env.NODE_ENV !== 'production') {\n _this2.warnAttrsFnObjectKeyDeprecated(key, props.forwardedComponent.displayName);\n }\n\n attr = attr(context);\n\n if (process.env.NODE_ENV !== 'production' && React.isValidElement(attr)) {\n _this2.warnNonStyledComponentAttrsObjectKey(key, props.forwardedComponent.displayName);\n }\n }\n }\n\n _this2.attrs[key] = attr;\n context[key] = attr;\n }\n /* eslint-enable */\n\n });\n return context;\n };\n\n StyledComponent.prototype.generateAndInjectStyles = function generateAndInjectStyles(theme, props) {\n var _props$forwardedCompo2 = props.forwardedComponent,\n attrs = _props$forwardedCompo2.attrs,\n componentStyle = _props$forwardedCompo2.componentStyle,\n warnTooManyClasses = _props$forwardedCompo2.warnTooManyClasses; // statically styled-components don't need to build an execution context object,\n // and shouldn't be increasing the number of class names\n\n if (componentStyle.isStatic && !attrs.length) {\n return componentStyle.generateAndInjectStyles(EMPTY_OBJECT, this.styleSheet);\n }\n\n var className = componentStyle.generateAndInjectStyles(this.buildExecutionContext(theme, props, attrs), this.styleSheet);\n if (process.env.NODE_ENV !== 'production' && warnTooManyClasses) warnTooManyClasses(className);\n return className;\n };\n\n return StyledComponent;\n}(Component);\n\nfunction createStyledComponent(target, options, rules) {\n var isTargetStyledComp = isStyledComponent(target);\n var isClass = !isTag(target);\n var _options$displayName = options.displayName,\n displayName = _options$displayName === undefined ? generateDisplayName(target) : _options$displayName,\n _options$componentId = options.componentId,\n componentId = _options$componentId === undefined ? generateId(ComponentStyle, options.displayName, options.parentComponentId) : _options$componentId,\n _options$ParentCompon = options.ParentComponent,\n ParentComponent = _options$ParentCompon === undefined ? StyledComponent : _options$ParentCompon,\n _options$attrs = options.attrs,\n attrs = _options$attrs === undefined ? EMPTY_ARRAY : _options$attrs;\n var styledComponentId = options.displayName && options.componentId ? escape(options.displayName) + '-' + options.componentId : options.componentId || componentId; // fold the underlying StyledComponent attrs up (implicit extend)\n\n var finalAttrs = // $FlowFixMe\n isTargetStyledComp && target.attrs ? Array.prototype.concat(target.attrs, attrs).filter(Boolean) : attrs;\n var componentStyle = new ComponentStyle(isTargetStyledComp ? // fold the underlying StyledComponent rules up (implicit extend)\n // $FlowFixMe\n target.componentStyle.rules.concat(rules) : rules, finalAttrs, styledComponentId);\n /**\n * forwardRef creates a new interim component, which we'll take advantage of\n * instead of extending ParentComponent to create _another_ interim class\n */\n\n var WrappedStyledComponent = void 0;\n\n var forwardRef = function forwardRef(props, ref) {\n return React.createElement(ParentComponent, _extends({}, props, {\n forwardedComponent: WrappedStyledComponent,\n forwardedRef: ref\n }));\n };\n\n forwardRef.displayName = displayName;\n WrappedStyledComponent = React.forwardRef(forwardRef);\n WrappedStyledComponent.displayName = displayName; // $FlowFixMe\n\n WrappedStyledComponent.attrs = finalAttrs; // $FlowFixMe\n\n WrappedStyledComponent.componentStyle = componentStyle; // $FlowFixMe\n\n WrappedStyledComponent.foldedComponentIds = isTargetStyledComp ? // $FlowFixMe\n Array.prototype.concat(target.foldedComponentIds, target.styledComponentId) : EMPTY_ARRAY; // $FlowFixMe\n\n WrappedStyledComponent.styledComponentId = styledComponentId; // fold the underlying StyledComponent target up since we folded the styles\n // $FlowFixMe\n\n WrappedStyledComponent.target = isTargetStyledComp ? target.target : target; // $FlowFixMe\n\n WrappedStyledComponent.withComponent = function withComponent(tag) {\n var previousComponentId = options.componentId,\n optionsToCopy = objectWithoutProperties(options, ['componentId']);\n var newComponentId = previousComponentId && previousComponentId + '-' + (isTag(tag) ? tag : escape(getComponentName(tag)));\n\n var newOptions = _extends({}, optionsToCopy, {\n attrs: finalAttrs,\n componentId: newComponentId,\n ParentComponent: ParentComponent\n });\n\n return createStyledComponent(tag, newOptions, rules);\n }; // $FlowFixMe\n\n\n Object.defineProperty(WrappedStyledComponent, 'defaultProps', {\n get: function get$$1() {\n return this._foldedDefaultProps;\n },\n set: function set$$1(obj) {\n // $FlowFixMe\n this._foldedDefaultProps = isTargetStyledComp ? merge(target.defaultProps, obj) : obj;\n }\n });\n\n if (process.env.NODE_ENV !== 'production') {\n // $FlowFixMe\n WrappedStyledComponent.warnTooManyClasses = createWarnTooManyClasses(displayName);\n } // $FlowFixMe\n\n\n WrappedStyledComponent.toString = function () {\n return '.' + WrappedStyledComponent.styledComponentId;\n };\n\n if (isClass) {\n hoistNonReactStatics(WrappedStyledComponent, target, {\n // all SC-specific things should not be hoisted\n attrs: true,\n componentStyle: true,\n displayName: true,\n foldedComponentIds: true,\n styledComponentId: true,\n target: true,\n withComponent: true\n });\n }\n\n return WrappedStyledComponent;\n} // \n// Thanks to ReactDOMFactories for this handy list!\n\n\nvar domElements = ['a', 'abbr', 'address', 'area', 'article', 'aside', 'audio', 'b', 'base', 'bdi', 'bdo', 'big', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'cite', 'code', 'col', 'colgroup', 'data', 'datalist', 'dd', 'del', 'details', 'dfn', 'dialog', 'div', 'dl', 'dt', 'em', 'embed', 'fieldset', 'figcaption', 'figure', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'iframe', 'img', 'input', 'ins', 'kbd', 'keygen', 'label', 'legend', 'li', 'link', 'main', 'map', 'mark', 'marquee', 'menu', 'menuitem', 'meta', 'meter', 'nav', 'noscript', 'object', 'ol', 'optgroup', 'option', 'output', 'p', 'param', 'picture', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'script', 'section', 'select', 'small', 'source', 'span', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'textarea', 'tfoot', 'th', 'thead', 'time', 'title', 'tr', 'track', 'u', 'ul', 'var', 'video', 'wbr', // SVG\n'circle', 'clipPath', 'defs', 'ellipse', 'foreignObject', 'g', 'image', 'line', 'linearGradient', 'marker', 'mask', 'path', 'pattern', 'polygon', 'polyline', 'radialGradient', 'rect', 'stop', 'svg', 'text', 'tspan']; // \n\nvar styled = function styled(tag) {\n return constructWithOptions(createStyledComponent, tag);\n}; // Shorthands for all valid HTML Elements\n\n\ndomElements.forEach(function (domElement) {\n styled[domElement] = styled(domElement);\n}); // \n\nvar GlobalStyle = function () {\n function GlobalStyle(rules, componentId) {\n classCallCheck(this, GlobalStyle);\n this.rules = rules;\n this.componentId = componentId;\n this.isStatic = isStaticRules(rules, EMPTY_ARRAY);\n\n if (!StyleSheet.master.hasId(componentId)) {\n StyleSheet.master.deferredInject(componentId, []);\n }\n }\n\n GlobalStyle.prototype.createStyles = function createStyles(executionContext, styleSheet) {\n var flatCSS = flatten(this.rules, executionContext, styleSheet);\n var css = stringifyRules(flatCSS, '');\n styleSheet.inject(this.componentId, css);\n };\n\n GlobalStyle.prototype.removeStyles = function removeStyles(styleSheet) {\n var componentId = this.componentId;\n\n if (styleSheet.hasId(componentId)) {\n styleSheet.remove(componentId);\n }\n }; // TODO: overwrite in-place instead of remove+create?\n\n\n GlobalStyle.prototype.renderStyles = function renderStyles(executionContext, styleSheet) {\n this.removeStyles(styleSheet);\n this.createStyles(executionContext, styleSheet);\n };\n\n return GlobalStyle;\n}(); // \n// place our cache into shared context so it'll persist between HMRs\n\n\nif (IS_BROWSER) {\n window.scCGSHMRCache = {};\n}\n\nfunction createGlobalStyle(strings) {\n for (var _len = arguments.length, interpolations = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n interpolations[_key - 1] = arguments[_key];\n }\n\n var rules = css.apply(undefined, [strings].concat(interpolations));\n var id = 'sc-global-' + murmurhash(JSON.stringify(rules));\n var style = new GlobalStyle(rules, id);\n\n var GlobalStyleComponent = function (_React$Component) {\n inherits(GlobalStyleComponent, _React$Component);\n\n function GlobalStyleComponent(props) {\n classCallCheck(this, GlobalStyleComponent);\n\n var _this = possibleConstructorReturn(this, _React$Component.call(this, props));\n\n var _this$constructor = _this.constructor,\n globalStyle = _this$constructor.globalStyle,\n styledComponentId = _this$constructor.styledComponentId;\n\n if (IS_BROWSER) {\n window.scCGSHMRCache[styledComponentId] = (window.scCGSHMRCache[styledComponentId] || 0) + 1;\n }\n /**\n * This fixes HMR compatibility. Don't ask me why, but this combination of\n * caching the closure variables via statics and then persisting the statics in\n * state works across HMR where no other combination did. ¯\\_(ツ)_/¯\n */\n\n\n _this.state = {\n globalStyle: globalStyle,\n styledComponentId: styledComponentId\n };\n return _this;\n }\n\n GlobalStyleComponent.prototype.componentWillUnmount = function componentWillUnmount() {\n if (window.scCGSHMRCache[this.state.styledComponentId]) {\n window.scCGSHMRCache[this.state.styledComponentId] -= 1;\n }\n /**\n * Depending on the order \"render\" is called this can cause the styles to be lost\n * until the next render pass of the remaining instance, which may\n * not be immediate.\n */\n\n\n if (window.scCGSHMRCache[this.state.styledComponentId] === 0) {\n this.state.globalStyle.removeStyles(this.styleSheet);\n }\n };\n\n GlobalStyleComponent.prototype.render = function render() {\n var _this2 = this;\n\n if (process.env.NODE_ENV !== 'production' && React.Children.count(this.props.children)) {\n // eslint-disable-next-line no-console\n console.warn('The global style component ' + this.state.styledComponentId + ' was given child JSX. createGlobalStyle does not render children.');\n }\n\n return React.createElement(StyleSheetConsumer, null, function (styleSheet) {\n _this2.styleSheet = styleSheet || StyleSheet.master;\n var globalStyle = _this2.state.globalStyle;\n\n if (globalStyle.isStatic) {\n globalStyle.renderStyles(STATIC_EXECUTION_CONTEXT, _this2.styleSheet);\n return null;\n } else {\n return React.createElement(ThemeConsumer, null, function (theme) {\n // $FlowFixMe\n var defaultProps = _this2.constructor.defaultProps;\n\n var context = _extends({}, _this2.props);\n\n if (typeof theme !== 'undefined') {\n context.theme = determineTheme(_this2.props, theme, defaultProps);\n }\n\n globalStyle.renderStyles(context, _this2.styleSheet);\n return null;\n });\n }\n });\n };\n\n return GlobalStyleComponent;\n }(React.Component);\n\n GlobalStyleComponent.globalStyle = style;\n GlobalStyleComponent.styledComponentId = id;\n return GlobalStyleComponent;\n} // \n\n\nvar replaceWhitespace = function replaceWhitespace(str) {\n return str.replace(/\\s|\\\\n/g, '');\n};\n\nfunction keyframes(strings) {\n /* Warning if you've used keyframes on React Native */\n if (process.env.NODE_ENV !== 'production' && typeof navigator !== 'undefined' && navigator.product === 'ReactNative') {\n // eslint-disable-next-line no-console\n console.warn('`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.');\n }\n\n for (var _len = arguments.length, interpolations = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n interpolations[_key - 1] = arguments[_key];\n }\n\n var rules = css.apply(undefined, [strings].concat(interpolations));\n var name = generateAlphabeticName(murmurhash(replaceWhitespace(JSON.stringify(rules))));\n return new Keyframes(name, stringifyRules(rules, name, '@keyframes'));\n} // \n\n\nvar withTheme = function withTheme(Component$$1) {\n var WithTheme = React.forwardRef(function (props, ref) {\n return React.createElement(ThemeConsumer, null, function (theme) {\n // $FlowFixMe\n var defaultProps = Component$$1.defaultProps;\n var themeProp = determineTheme(props, theme, defaultProps);\n\n if (process.env.NODE_ENV !== 'production' && themeProp === undefined) {\n // eslint-disable-next-line no-console\n console.warn('[withTheme] You are not using a ThemeProvider nor passing a theme prop or a theme in defaultProps in component class \"' + getComponentName(Component$$1) + '\"');\n }\n\n return React.createElement(Component$$1, _extends({}, props, {\n theme: themeProp,\n ref: ref\n }));\n });\n });\n hoistNonReactStatics(WithTheme, Component$$1);\n WithTheme.displayName = 'WithTheme(' + getComponentName(Component$$1) + ')';\n return WithTheme;\n}; // \n\n/* eslint-disable */\n\n\nvar __DO_NOT_USE_OR_YOU_WILL_BE_HAUNTED_BY_SPOOKY_GHOSTS = {\n StyleSheet: StyleSheet\n}; // \n\n/* Warning if you've imported this file on React Native */\n\nif (process.env.NODE_ENV !== 'production' && typeof navigator !== 'undefined' && navigator.product === 'ReactNative') {\n // eslint-disable-next-line no-console\n console.warn(\"It looks like you've imported 'styled-components' on React Native.\\n\" + \"Perhaps you're looking to import 'styled-components/native'?\\n\" + 'Read more about this at https://www.styled-components.com/docs/basics#react-native');\n}\n/* Warning if there are several instances of styled-components */\n\n\nif (process.env.NODE_ENV !== 'production' && process.env.NODE_ENV !== 'test' && typeof window !== 'undefined' && typeof navigator !== 'undefined' && typeof navigator.userAgent === 'string' && navigator.userAgent.indexOf('Node.js') === -1 && navigator.userAgent.indexOf('jsdom') === -1) {\n window['__styled-components-init__'] = window['__styled-components-init__'] || 0;\n\n if (window['__styled-components-init__'] === 1) {\n // eslint-disable-next-line no-console\n console.warn(\"It looks like there are several instances of 'styled-components' initialized in this application. \" + 'This may cause dynamic styles not rendering properly, errors happening during rehydration process ' + 'and makes your application bigger without a good reason.\\n\\n' + 'See https://s-c.sh/2BAXzed for more info.');\n }\n\n window['__styled-components-init__'] += 1;\n} //\n\n\nexport default styled;\nexport { createGlobalStyle, css, isStyledComponent, keyframes, ServerStyleSheet, StyleSheetConsumer, StyleSheetContext, StyleSheetManager, ThemeConsumer, ThemeContext, ThemeProvider, withTheme, __DO_NOT_USE_OR_YOU_WILL_BE_HAUNTED_BY_SPOOKY_GHOSTS };","export default function _extends() {\n _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 return _extends.apply(this, arguments);\n}","var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || new Function(\"return this\")();\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n","export default function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}"],"sourceRoot":""}