-
Notifications
You must be signed in to change notification settings - Fork 0
/
e50e9c162871c1d91fba5ce567a5656e16dc6783-762b96772f5fd2555836.js.map
1 lines (1 loc) · 408 KB
/
e50e9c162871c1d91fba5ce567a5656e16dc6783-762b96772f5fd2555836.js.map
1
{"version":3,"sources":["webpack:///./node_modules/react-particles-js/lib/particles.js","webpack:///./node_modules/react-scroll/modules/mixins/smooth.js","webpack:///./node_modules/exenv/index.js","webpack:///./node_modules/react-scroll/modules/mixins/Helpers.js","webpack:///./node_modules/react-scroll/modules/components/Button.js","webpack:///./node_modules/react-side-effect/lib/index.js","webpack:///./node_modules/react-scroll/modules/mixins/cancel-events.js","webpack:///./src/components/header.js","webpack:///./src/components/contact.js","webpack:///./src/components/layout.js","webpack:///./node_modules/react-scroll/modules/mixins/scroll-hash.js","webpack:///./node_modules/shallowequal/index.js","webpack:///./node_modules/react-scroll/modules/mixins/animate-scroll.js","webpack:///./node_modules/react-scroll/modules/components/Link.js","webpack:///./node_modules/react-scroll/modules/mixins/passive-event-listeners.js","webpack:///./node_modules/react-scroll/modules/mixins/scroll-events.js","webpack:///./node_modules/react-helmet/lib/Helmet.js","webpack:///./src/images/Github.png","webpack:///./src/images/Email.png","webpack:///./node_modules/react-scroll/modules/components/Element.js","webpack:///./node_modules/react-fast-compare/index.js","webpack:///./node_modules/react-helmet/lib/HelmetConstants.js","webpack:///./node_modules/lodash.throttle/index.js","webpack:///./node_modules/react-scroll/modules/index.js","webpack:///./node_modules/react-scroll/modules/mixins/scroll-link.js","webpack:///./node_modules/react-hamburger-menu/dist/HamburgerMenu.js","webpack:///./src/images/Linkedin.png","webpack:///./node_modules/react-helmet/lib/HelmetUtils.js","webpack:///./src/components/seo.js","webpack:///./node_modules/react-scroll/modules/mixins/scroll-element.js","webpack:///./node_modules/react-scroll/modules/mixins/scroll-spy.js","webpack:///./node_modules/react-scroll/modules/mixins/utils.js","webpack:///(webpack)/buildin/global.js","webpack:///./node_modules/react-scroll/modules/mixins/scroller.js"],"names":["e","module","exports","t","i","n","r","l","call","m","c","d","o","Object","defineProperty","enumerable","get","Symbol","toStringTag","value","__esModule","create","bind","default","prototype","hasOwnProperty","p","s","self","a","Function","CIRCLE","EDGE","TRIANGLE","POLYGON","STAR","IMAGE","IMAGES","ShapeType","TOP","TOP_RIGHT","RIGHT","BOTTOM_RIGHT","BOTTOM","BOTTOM_LEFT","LEFT","TOP_LEFT","NONE","MoveDirection","BOUNCE","OUT","MoveOutMode","GRAB","PUSH","REMOVE","BUBBLE","REPULSE","InteractivityMode","INLINE","INSIDE","OUTSIDE","PolygonType","RANDOM_POINT","ONE_PER_POINT","RANDOM_LENGTH","EQUIDISTANT","PolygonInlineArrangementType","PATH","RADIUS","PolygonMoveType","this","__importDefault","Interactivity","Modes","Particle","ParticleManager","ParticlesLibrary","u","Vendors","iterator","constructor","indexOf","hexToRgb","replace","exec","parseInt","g","b","clamp","Math","min","max","isInArray","isEqual","Array","isArray","deepAssign","arguments","length","h","map","y","getColor","floor","random","rgb","hsl","clear","set","delete","has","__data__","configurable","writable","key","MOUSEMOVE","MOUSELEAVE","MouseInteractivityStatus","TypeError","library","mouseMovePosition","x","mouseClickPosition","mouseClickTime","onMouseMove","onMouseLeave","onMouseClick","getParameter","interactivity","detect_on","interactionElement","window","canvas","element","events","onhover","enable","onclick","addEventListener","removeEventListener","clientX","clientY","offsetX","offsetY","retina","pxratio","mouseStatus","particles","polygon","assign","type","polygonMask","isPointInsidePolygon","Date","getTime","mode","move","modes","push","particles_nb","pushParticles","removeParticles","remove","bubble_clicking","repulse_clicking","repulse_count","repulse_finish","setTimeout","repulse","duration","manager","getDistance","line_linked","distance","opacity","color_rgb_line","ctx","save","strokeStyle","concat","lineWidth","width","beginPath","shadow","shadowBlur","blur","shadowColor","color","moveTo","lineTo","stroke","closePath","restore","getDistances","distanceX","distanceY","attract","rotateX","rotateY","vx","vy","radius","toString","f","v","nodeType","Buffer","isBuffer","webpackPolyfill","deprecate","paths","children","isTypedArray","Particles","ReferenceError","Reflect","getOwnPropertyDescriptor","setPrototypeOf","getPrototypeOf","__proto__","__importStar","state","loadCanvas","destroy","setState","buildParticlesLibrary","params","start","props","refresh","height","className","canvasClassName","createElement","ref","style","Component","defaultProps","bubble_duration_end","pushing","number","array","position","particlesDraw","splice","bubble","size","radius_bubble","opacityValue","bubbleOpacity","pow","out_mode","atan2","cos","sin","_","vx_i","vy_i","grab","shape","setupSize","setupPosition","setupColor","setupOpacity","setupAnimation","setupShape","anim","size_status","vs","speed","sync","initialPosition","vendors","inline","arrangement","getRandomPointOnPolygonPath","getRandomPointOnPolygonPathByLength","getEquidistantPoingOnPolygonPathByIndex","getPoingOnPolygonPathByIndex","getRandomPointInsidePolygonPath","getRandomPointOutsidePolygonPath","bounce","checkOverlap","opacity_status","vo","direction","straight","shapeImage","imageManager","getImage","svgData","createSvgImage","then","elementData","loaded","fillStyle","arc","PI","rect","drawShape","nb_sides","drawImage","ratio","fill","particlesCreate","getVerticesNumber","forEach","opacity_min","size_min","x_left","x_right","y_top","y_bottom","grabParticle","bubbleParticle","repulseParticle","linkParticles","attractParticles","bounceParticles","sqrt","clearRect","particlesUpdate","draw","drawPolygon","cancelAnimationFrame","drawAnimFrame","particlesEmpty","canvasClear","ImageManager","onWindowResize","loadParameters","PolygonMask","getDefaultParams","offsetWidth","offsetHeight","attachEventHandlers","detachListeners","detachEventHandlers","devicePixelRatio","retina_detect","setParameters","getContext","resize","fillRect","console","warn","initialize","densityAutoParticles","SINGLE","MULTIPLE","ImageMode","singleImage","multipleImages","Error","parseSingleImage","image","images","Promise","all","resolve","buildImageObject","src","atob","loadImage","downloadImage","response","Image","reject","XMLHttpRequest","open","onreadystatechange","readyState","status","currentTarget","xhr","send","Blob","URL","createObjectURL","revokeObjectURL","initialized","performance","lastDraw","now","density","value_area","abs","translate","rotate","toDataURL","fps_limit","requestAnimationFrame","retinaInit","canvasInit","canvasSize","parseShape","init","scale","url","next","done","return","polygonPathLength","path2DSupported","Path2D","debounceTime","parseSvgPathToPolygon","debounceTimer","clearTimeout","polygonRaw","lastCanvasWidth","lastCanvasHeight","parseSvgPath","polygonData","polygonWidth","svg","getAttribute","polygonHeight","polygonOffsetX","polygonOffsetY","getTotalLength","pathSegList","numberOfItems","getItem","pathSegType","SVGPathSeg","PATHSEG_ARC_ABS","PATHSEG_CURVETO_CUBIC_ABS","PATHSEG_CURVETO_CUBIC_SMOOTH_ABS","PATHSEG_CURVETO_QUADRATIC_ABS","PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS","PATHSEG_LINETO_ABS","PATHSEG_MOVETO_ABS","PATHSEG_LINETO_HORIZONTAL_ABS","PATHSEG_LINETO_VERTICAL_ABS","PATHSEG_ARC_REL","PATHSEG_CURVETO_CUBIC_REL","PATHSEG_CURVETO_CUBIC_SMOOTH_REL","PATHSEG_CURVETO_QUADRATIC_REL","PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL","PATHSEG_LINETO_REL","PATHSEG_MOVETO_REL","PATHSEG_LINETO_HORIZONTAL_REL","PATHSEG_LINETO_VERTICAL_REL","PATHSEG_UNKNOWN","PATHSEG_CLOSEPATH","createPath2D","responseXML","getElementsByTagName","getPointAtLength","polygonPath","isPointInPath","P","w","O","M","E","pop","RegExp","test","keys","IE_PROTO","hash","string","add","valueOf","byteLength","byteOffset","buffer","name","message","Uint8Array","propertyIsEnumerable","getOwnPropertySymbols","String","process","require","types","binding","ArrayBuffer","defaultEasing","linear","easeInQuad","easeOutQuad","easeInOutQuad","easeInCubic","easeOutCubic","easeInOutCubic","easeInQuart","easeOutQuart","easeInOutQuart","easeInQuint","easeOutQuint","easeInOutQuint","canUseDOM","document","ExecutionEnvironment","canUseWorkers","Worker","canUseEventListeners","attachEvent","canUseViewport","screen","_extends","target","source","_createClass","defineProperties","descriptor","Constructor","protoProps","staticProps","_classCallCheck","instance","_possibleConstructorReturn","_inherits","subClass","superClass","React","scrollSpy","defaultScroller","PropTypes","scrollHash","protoTypes","to","isRequired","containerId","container","object","activeClass","spy","bool","smooth","oneOfType","offset","delay","isDynamic","onClick","func","absolute","onSetActive","onSetInactive","ignoreCancelEvents","hashSpy","Helpers","Scroll","customScroller","scroller","_React$Component","_this","_initialiseProps","active","getElementById","scrollSpyContainer","getScrollSpyContainer","isMounted","mount","mapContainer","addStateHandler","stateHandler","addSpyHandler","spyHandler","unmount","trim","prop","handleClick","_this2","scrollTo","event","stopPropagation","preventDefault","getActiveLink","isInitialized","elemTopBound","elemBottomBound","containerTop","getBoundingClientRect","top","cords","isInside","isOutside","activeLink","setActiveLink","getHash","changeHash","updateStates","propTypes","Element","_React$Component2","_this3","childBindings","domNode","registerElems","prevProps","unregister","register","parentBindings","id","_react2","_interopRequireDefault","_scrollLink2","obj","ButtonElement","apply","_interopDefault","ex","React__default","shallowEqual","reducePropsToState","handleStateChangeOnClient","mapStateOnServer","WrappedComponent","mountedInstances","emitChange","SideEffect","_Component","peek","rewind","recordedState","undefined","shouldComponentUpdate","nextProps","componentWillMount","componentDidUpdate","componentWillUnmount","index","render","displayName","getDisplayName","_passiveEventListeners","subscribe","cancelEvent","addPassiveEventListener","Header","siteTitle","effect","useWindow","callBack","useState","isOnTop","setIsOnTop","isHamburgerOpen","setHamburger","currPos","querySelector","innerHeight","toggleActive","current","body","winheight","documentElement","clientHeight","pctScrolled","scrollY","scrollX","left","getScrollPosition","useLayoutEffect","class","isOpen","menuClicked","menu","strokeWidth","borderRadius","animationDuration","cur","nav","mobile","item","childNodes","Contact","SocialMedia","href","LinkedinIcon","GitHubIcon","EmailIcon","Layout","data","useStaticQuery","site","siteMetadata","title","margin","paddingTop","_utils","_utils2","mountFlag","containers","handleHashChange","initStateFromHash","isInit","saveHashHistory","updateHash","objA","objB","compare","compareContext","ret","keysA","keysB","bHasOwnProperty","idx","valueA","valueB","_smooth2","_cancelEvents2","_scrollEvents2","getAnimationType","options","requestAnimationFrameHelper","webkitRequestAnimationFrame","currentWindowProperties","callback","currentPositionX","containerElement","scrollLeft","supportPageOffset","pageXOffset","isCSS1Compat","compatMode","currentPositionY","scrollTop","pageYOffset","animateScroll","easing","timestamp","cancel","delta","round","targetPosition","startPosition","progress","percent","currentPosition","ceil","horizontal","easedAnimate","registered","setContainer","animateTopScroll","scrollOffset","delayTimeout","isNaN","parseFloat","proceedOptions","scrollToTop","scrollToBottom","scrollWidth","html","clientWidth","scrollContainerWidth","scrollHeight","scrollContainerHeight","toPosition","scrollMore","LinkElement","_ref","_temp","_len","args","_key","eventName","listener","supportsPassiveOption","opts","passive","removePassiveEventListener","Events","scrollEvent","evtName","Helmet","_propTypes2","_reactSideEffect2","_reactFastCompare2","_HelmetUtils","_HelmetConstants","_objectWithoutProperties","_class","HelmetSideEffects","handleClientStateChange","HelmetExport","HelmetWrapper","mapNestedChildrenToProps","child","nestedChildren","TAG_NAMES","SCRIPT","NOSCRIPT","innerHTML","STYLE","cssText","flattenArrayTypeChildren","_extends2","arrayTypeChildren","newChildProps","mapObjectTypeChildren","_ref2","_extends3","_extends4","newProps","TITLE","titleAttributes","BODY","bodyAttributes","HTML","htmlAttributes","mapArrayTypeChildrenToProps","newFlattenedProps","arrayChildName","_extends5","warnOnInvalidChildren","mapChildrenToProps","Children","_child$props","childProps","convertReactPropstoHtmlAttributes","LINK","META","_props","base","arrayOf","node","defaultTitle","defer","encodeSpecialCharacters","link","meta","noscript","onChangeClientState","script","titleTemplate","mappedState","baseTag","linkTags","metaTags","noscriptTags","scriptTags","styleTags","renderStatic","_scrollElement2","ElementWrapper","el","keyList","hasProp","hasElementType","equal","arrA","arrB","dateA","dateB","regexpA","regexpB","$$typeof","error","match","ATTRIBUTE_NAMES","BASE","HEAD","REACT_TAG_MAP","VALID_TAG_NAMES","TAG_PROPERTIES","CHARSET","CSS_TEXT","HREF","HTTPEQUIV","INNER_HTML","ITEM_PROP","NAME","PROPERTY","REL","SRC","accesskey","charset","contenteditable","contextmenu","itemprop","tabindex","HELMET_PROPS","DEFAULT_TITLE","DEFER","ENCODE_SPECIAL_CHARACTERS","ON_CHANGE_CLIENT_STATE","TITLE_TEMPLATE","HTML_TAG_MAP","reduce","SELF_CLOSING_TAGS","HELMET_ATTRIBUTE","reTrim","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","freeGlobal","global","freeSelf","root","objectToString","nativeMax","nativeMin","debounce","wait","lastArgs","lastThis","maxWait","result","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","invokeFunc","time","thisArg","leadingEdge","timerExpired","shouldInvoke","timeSinceLastCall","trailingEdge","remainingWait","debounced","isInvoking","toNumber","isObject","flush","isObjectLike","isSymbol","other","isBinary","slice","ScrollElement","ScrollLink","Button","Link","_Link2","_Button2","_Element2","_scroller2","_scrollSpy2","_animateScroll2","_Helpers2","_scrollHash2","_React$PureComponent","PureComponent","elemLeftBound","elemRightBound","containerLeft","_cords","_props$saveHashHistor","_props$saveHashHistor2","_saveHashHistory","HamburgerMenu","_react","_propTypes","halfHeight","halfStrokeWidth","getTransformValue","defaultPos","rotateVal","styles","transform","lineBase","display","background","transitionTimingFunction","transitionDuration","transformOrigin","firstLine","marginTop","secondLine","thirdLine","_typeof","_objectAssign2","clock","str","encode","getTitleFromPropsList","propsList","innermostTitle","getInnermostProperty","innermostTemplate","innermostDefaultTitle","getOnChangeClientState","getAttributesFromPropsList","tagType","filter","tagAttrs","getBaseTagFromPropsList","primaryAttributes","reverse","innermostBaseTag","tag","lowerCaseAttributeKey","toLowerCase","getTagsFromPropsList","tagName","approvedSeenTags","approvedTags","instanceTags","instanceSeenTags","primaryAttributeKey","attributeKey","tagUnion","property","rafPolyfill","currentTime","cafPolyfill","mozRequestAnimationFrame","webkitCancelAnimationFrame","mozCancelAnimationFrame","msg","_helmetCallback","commitTagChanges","newState","cb","updateAttributes","updateTitle","tagUpdates","updateTags","addedTags","removedTags","_tagUpdates$tagType","newTags","oldTags","flattenArray","possibleArray","join","attributes","elementTag","helmetAttributeString","helmetAttributes","split","attributesToRemove","attributeKeys","attribute","setAttribute","indexToSave","_i","removeAttribute","tags","headElement","head","tagNodes","querySelectorAll","indexToDelete","newElement","styleSheet","appendChild","createTextNode","some","existingTag","isEqualNode","parentNode","removeChild","generateElementAttributesAsString","attr","convertElementAttributestoReactProps","initProps","getMethodsForTag","toComponent","_initProps","attributeString","flattenedTitle","generateTitleAsString","_mappedTag","mappedTag","mappedAttribute","content","dangerouslySetInnerHTML","__html","generateTagsAsReactComponent","attributeHtml","tagContent","isSelfClosing","generateTagsAsString","initAttributes","_ref$title","SEO","description","lang","metaDescription","author","_lodash","_lodash2","spyCallbacks","spySetState","scrollSpyContainers","eventHandler","eventThrottler","scrollHandler","handler","update","historyUpdate","hashVal","substring","hashToUpdate","curLoc","location","urlToPush","pathname","search","history","pushState","replaceState","filterElementInContainer","contains","compareDocumentPosition","getComputedStyle","offsetLeft","offsetTop","__mapped","__activeLink","getElementsByName","getElementsByClassName"],"mappings":"gFAEQ,IAAUA,EAD0CC,EAAOC,SACjDF,EAD6D,EAAQ,QAE9E,SAAUA,GACf,IAAIG,EAAI,GAER,SAASC,EAAEC,GACT,GAAIF,EAAEE,GAAI,OAAOF,EAAEE,GAAGH,QACtB,IAAII,EAAIH,EAAEE,GAAK,CACbD,EAAGC,EACHE,GAAG,EACHL,QAAS,IAEX,OAAOF,EAAEK,GAAGG,KAAKF,EAAEJ,QAASI,EAAGA,EAAEJ,QAASE,GAAIE,EAAEC,GAAI,EAAID,EAAEJ,QAG5D,OAAOE,EAAEK,EAAIT,EAAGI,EAAEM,EAAIP,EAAGC,EAAEO,EAAI,SAAUX,EAAGG,EAAGE,GAC7CD,EAAEQ,EAAEZ,EAAGG,IAAMU,OAAOC,eAAed,EAAGG,EAAG,CACvCY,YAAY,EACZC,IAAKX,KAEND,EAAEE,EAAI,SAAUN,GACjB,oBAAsBiB,QAAUA,OAAOC,aAAeL,OAAOC,eAAed,EAAGiB,OAAOC,YAAa,CACjGC,MAAO,WACLN,OAAOC,eAAed,EAAG,aAAc,CACzCmB,OAAO,KAERf,EAAED,EAAI,SAAUH,EAAGG,GACpB,GAAI,EA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AQ6sB,aAAa1B,EAAkBlN,EAAQuO,IAAe3f,EAAMkT,QAAU,GAKzG,IAAKlT,EAAMgT,OAmBT,OAlBI8K,EAAe3qB,QAAQ0sB,WAAkB,OAC3C/B,EAAe3qB,QAAQ0sB,WAAkB,MAAErN,EAAIpB,GAG7CkN,IAAqB3N,SACnB3Q,EAAM2f,WACR5lB,OAAOob,SAAS6K,EAAc,GAE9BjmB,OAAOob,SAAS,EAAG6K,GAGrB1B,EAAiBO,UAAYmB,OAG3BlC,EAAe3qB,QAAQ0sB,WAAgB,KACzC/B,EAAe3qB,QAAQ0sB,WAAgB,IAAErN,EAAIpB,IAUjDmb,EAAgBp5B,QAAQ4sB,iBAAiBC,EAAchgB,EAAOwS,EAAIpB,QApDhEhK,QAAQC,KAAK","file":"e50e9c162871c1d91fba5ce567a5656e16dc6783-762b96772f5fd2555836.js","sourcesContent":["!function (e, t) {\n \"object\" == typeof exports && \"object\" == typeof module ? module.exports = t(require(\"react\")) : \"function\" == typeof define && define.amd ? define([\"react\"], t) : \"object\" == typeof exports ? exports.Particles = t(require(\"react\")) : e.Particles = t(e.React);\n}(this, function (e) {\n return function (e) {\n var t = {};\n\n function i(n) {\n if (t[n]) return t[n].exports;\n var r = t[n] = {\n i: n,\n l: !1,\n exports: {}\n };\n return e[n].call(r.exports, r, r.exports, i), r.l = !0, r.exports;\n }\n\n return i.m = e, i.c = t, i.d = function (e, t, n) {\n i.o(e, t) || Object.defineProperty(e, t, {\n enumerable: !0,\n get: n\n });\n }, i.r = function (e) {\n \"undefined\" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, {\n value: \"Module\"\n }), Object.defineProperty(e, \"__esModule\", {\n value: !0\n });\n }, i.t = function (e, t) {\n if (1 & t && (e = i(e)), 8 & t) return e;\n if (4 & t && \"object\" == typeof e && e && e.__esModule) return e;\n var n = Object.create(null);\n if (i.r(n), Object.defineProperty(n, \"default\", {\n enumerable: !0,\n value: e\n }), 2 & t && \"string\" != typeof e) for (var r in e) {\n i.d(n, r, function (t) {\n return e[t];\n }.bind(null, r));\n }\n return n;\n }, i.n = function (e) {\n var t = e && e.__esModule ? function () {\n return e.default;\n } : function () {\n return e;\n };\n return i.d(t, \"a\", t), t;\n }, i.o = function (e, t) {\n return Object.prototype.hasOwnProperty.call(e, t);\n }, i.p = \"\", i(i.s = 27);\n }([function (e, t, i) {\n var n = i(18),\n r = \"object\" == typeof self && self && self.Object === Object && self,\n a = n || r || Function(\"return this\")();\n e.exports = a;\n }, function (e, t, i) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n }), function (e) {\n e.CIRCLE = \"circle\", e.EDGE = \"edge\", e.TRIANGLE = \"triangle\", e.POLYGON = \"polygon\", e.STAR = \"star\", e.IMAGE = \"image\", e.IMAGES = \"images\";\n }(t.ShapeType || (t.ShapeType = {})), function (e) {\n e.TOP = \"top\", e.TOP_RIGHT = \"top-right\", e.RIGHT = \"right\", e.BOTTOM_RIGHT = \"bottom-right\", e.BOTTOM = \"bottom\", e.BOTTOM_LEFT = \"bottom-left\", e.LEFT = \"left\", e.TOP_LEFT = \"top-left\", e.NONE = \"none\";\n }(t.MoveDirection || (t.MoveDirection = {})), function (e) {\n e.BOUNCE = \"bounce\", e.OUT = \"out\";\n }(t.MoveOutMode || (t.MoveOutMode = {})), function (e) {\n e.GRAB = \"grab\", e.PUSH = \"push\", e.REMOVE = \"remove\", e.BUBBLE = \"bubble\", e.REPULSE = \"repulse\";\n }(t.InteractivityMode || (t.InteractivityMode = {})), function (e) {\n e.INLINE = \"inline\", e.INSIDE = \"inside\", e.OUTSIDE = \"outside\";\n }(t.PolygonType || (t.PolygonType = {})), function (e) {\n e.RANDOM_POINT = \"random-point\", e.ONE_PER_POINT = \"one-per-point\", e.RANDOM_LENGTH = \"random-length\", e.EQUIDISTANT = \"equidistant\";\n }(t.PolygonInlineArrangementType || (t.PolygonInlineArrangementType = {})), function (e) {\n e.PATH = \"path\", e.RADIUS = \"radius\";\n }(t.PolygonMoveType || (t.PolygonMoveType = {}));\n }, function (e, t, i) {\n \"use strict\";\n\n function n(e) {\n for (var i in e) {\n t.hasOwnProperty(i) || (t[i] = e[i]);\n }\n }\n\n var r = this && this.__importDefault || function (e) {\n return e && e.__esModule ? e : {\n default: e\n };\n };\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var a = r(i(15));\n t.Interactivity = a.default;\n var o = r(i(29));\n t.Modes = o.default;\n var s = r(i(30));\n t.Particle = s.default;\n var c = r(i(31));\n t.ParticleManager = c.default;\n var l = r(i(32));\n t.ParticlesLibrary = l.default;\n var u = r(i(34));\n t.Vendors = u.default, n(i(35)), n(i(1)), n(i(36)), n(i(4));\n }, function (e, t, i) {\n var n = i(51),\n r = i(57);\n\n e.exports = function (e, t) {\n var i = r(e, t);\n return n(i) ? i : void 0;\n };\n }, function (e, t, i) {\n \"use strict\";\n\n function n(e) {\n return (n = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (e) {\n return typeof e;\n } : function (e) {\n return e && \"function\" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? \"symbol\" : typeof e;\n })(e);\n }\n\n function r(e, t) {\n return t.indexOf(e) > -1;\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n }), t.hexToRgb = function (e) {\n e = e.replace(/^#?([a-f\\d])([a-f\\d])([a-f\\d])$/i, function (e, t, i, n) {\n return t + t + i + i + n + n;\n });\n var t = /^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.exec(e);\n return t ? {\n r: parseInt(t[1], 16),\n g: parseInt(t[2], 16),\n b: parseInt(t[3], 16)\n } : null;\n }, t.clamp = function (e, t, i) {\n return Math.min(Math.max(e, t), i);\n }, t.isInArray = r, t.isEqual = function (e, t) {\n return Array.isArray(t) ? r(e, t) : t === e;\n }, t.deepAssign = function (e) {\n for (var i = arguments.length, r = new Array(i > 1 ? i - 1 : 0), a = 1; a < i; a++) {\n r[a - 1] = arguments[a];\n }\n\n for (var o = 0, s = r; o < s.length; o++) {\n var c = s[o];\n\n if (null != c) {\n var l = n(c);\n\n if (\"object\" === l) {\n var u = Array.isArray(c);\n u ? \"object\" === n(e) && e && Array.isArray(e) || (e = []) : \"object\" === n(e) && e && !Array.isArray(e) || (e = {});\n\n var h = function h(i) {\n if (\"__proto__\" === i) return \"continue\";\n var r = c[i],\n a = \"object\" === n(r);\n a && Array.isArray(r) ? e[i] = r.map(function (n) {\n return t.deepAssign(e[i], n);\n }) : e[i] = t.deepAssign(e[i], r);\n };\n\n for (var y in c) {\n h(y);\n }\n } else e = c;\n }\n }\n\n return e;\n };\n\n t.getColor = function (e) {\n var i = {};\n\n if (\"object\" == n(e)) {\n if (e instanceof Array) {\n var r = e[Math.floor(Math.random() * e.length)];\n i.rgb = t.hexToRgb(r);\n } else if (function (e) {\n return \"object\" === n(e) && \"r\" in e && \"g\" in e && \"b\" in e;\n }(e)) {\n var a = e.r,\n o = e.g,\n s = e.b;\n i.rgb = {\n r: a,\n g: o,\n b: s\n };\n } else if (function (e) {\n return \"object\" === n(e) && \"h\" in e && \"s\" in e && \"l\" in e;\n }(e)) {\n var c = e.h,\n l = e.s,\n u = e.l;\n i.hsl = {\n h: c,\n s: l,\n l: u\n };\n }\n } else \"random\" == e ? i.rgb = {\n r: Math.floor(255 * Math.random()) + 1,\n g: Math.floor(255 * Math.random()) + 1,\n b: Math.floor(255 * Math.random()) + 1\n } : \"string\" == typeof e && (i.rgb = t.hexToRgb(e));\n\n return i;\n };\n }, function (e, t, i) {\n var n = i(41),\n r = i(42),\n a = i(43),\n o = i(44),\n s = i(45);\n\n function c(e) {\n var t = -1,\n i = null == e ? 0 : e.length;\n\n for (this.clear(); ++t < i;) {\n var n = e[t];\n this.set(n[0], n[1]);\n }\n }\n\n c.prototype.clear = n, c.prototype.delete = r, c.prototype.get = a, c.prototype.has = o, c.prototype.set = s, e.exports = c;\n }, function (e, t, i) {\n var n = i(16);\n\n e.exports = function (e, t) {\n for (var i = e.length; i--;) {\n if (n(e[i][0], t)) return i;\n }\n\n return -1;\n };\n }, function (e, t, i) {\n var n = i(12),\n r = i(53),\n a = i(54),\n o = n ? n.toStringTag : void 0;\n\n e.exports = function (e) {\n return null == e ? void 0 === e ? \"[object Undefined]\" : \"[object Null]\" : o && o in Object(e) ? r(e) : a(e);\n };\n }, function (e, t, i) {\n var n = i(3)(Object, \"create\");\n e.exports = n;\n }, function (e, t, i) {\n var n = i(66);\n\n e.exports = function (e, t) {\n var i = e.__data__;\n return n(t) ? i[\"string\" == typeof t ? \"string\" : \"hash\"] : i.map;\n };\n }, function (e, t) {\n e.exports = function (e) {\n return null != e && \"object\" == typeof e;\n };\n }, function (e, t, i) {\n var n = i(3)(i(0), \"Map\");\n e.exports = n;\n }, function (e, t, i) {\n var n = i(0).Symbol;\n e.exports = n;\n }, function (e, t) {\n var i = Array.isArray;\n e.exports = i;\n }, function (t, i) {\n t.exports = e;\n }, function (e, t, i) {\n \"use strict\";\n\n function n(e, t) {\n for (var i = 0; i < t.length; i++) {\n var n = t[i];\n n.enumerable = n.enumerable || !1, n.configurable = !0, \"value\" in n && (n.writable = !0), Object.defineProperty(e, n.key, n);\n }\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var r,\n a = i(1);\n !function (e) {\n e.MOUSEMOVE = \"mousemove\", e.MOUSELEAVE = \"mouseleave\";\n }(r = t.MouseInteractivityStatus || (t.MouseInteractivityStatus = {}));\n\n var o = function () {\n function e(t) {\n !function (e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }(this, e), this.library = t, this.mouseMovePosition = {\n x: 0,\n y: 0\n }, this.mouseClickPosition = {\n x: 0,\n y: 0\n }, this.mouseClickTime = 0, this.onMouseMove = this.onMouseMove.bind(this), this.onMouseLeave = this.onMouseLeave.bind(this), this.onMouseClick = this.onMouseClick.bind(this);\n }\n\n var t, i, o;\n return t = e, (i = [{\n key: \"attachEventHandlers\",\n value: function value() {\n var e = this.library.getParameter(function (e) {\n return e.interactivity;\n });\n \"window\" === e.detect_on ? this.interactionElement = window : this.interactionElement = this.library.canvas.element, (e.events.onhover.enable || e.events.onclick.enable) && (this.interactionElement.addEventListener(\"mousemove\", this.onMouseMove), this.interactionElement.addEventListener(\"mouseleave\", this.onMouseLeave)), e.events.onclick.enable && this.interactionElement.addEventListener(\"click\", this.onMouseClick);\n }\n }, {\n key: \"detachEventHandlers\",\n value: function value() {\n var e = this.library.getParameter(function (e) {\n return e.interactivity;\n });\n this.interactionElement && ((e.events.onhover.enable || e.events.onclick.enable) && (this.interactionElement.removeEventListener(\"mousemove\", this.onMouseMove), this.interactionElement.removeEventListener(\"mouseleave\", this.onMouseLeave)), e.events.onclick.enable && this.interactionElement.removeEventListener(\"click\", this.onMouseClick));\n }\n }, {\n key: \"onMouseMove\",\n value: function value(e) {\n var t = {\n x: 0,\n y: 0\n };\n this.interactionElement === window ? (t.x = e.clientX, t.y = e.clientY) : (t.x = e.offsetX || e.clientX, t.y = e.offsetY || e.clientY), this.mouseMovePosition = t, this.library.retina && (this.mouseMovePosition.x *= this.library.canvas.pxratio, this.mouseMovePosition.y *= this.library.canvas.pxratio), this.mouseStatus = r.MOUSEMOVE;\n }\n }, {\n key: \"onMouseLeave\",\n value: function value() {\n this.mouseMovePosition.x = 0, this.mouseMovePosition.y = 0, this.mouseStatus = r.MOUSELEAVE;\n }\n }, {\n key: \"onMouseClick\",\n value: function value() {\n var e = this,\n t = this.library.getParameter(function (e) {\n return e.interactivity;\n }),\n i = this.library.getParameter(function (e) {\n return e.particles;\n }),\n n = this.library.getParameter(function (e) {\n return e.polygon;\n });\n\n if (this.mouseClickPosition = Object.assign({}, this.mouseMovePosition), n.enable && [a.PolygonType.INSIDE, a.PolygonType.OUTSIDE].indexOf(n.type) > -1) {\n var r = this.library.polygonMask.isPointInsidePolygon(this.mouseClickPosition);\n if (n.type === a.PolygonType.INSIDE && !r) return;\n if (n.type === a.PolygonType.OUTSIDE && r) return;\n }\n\n if (this.mouseClickTime = new Date().getTime(), t.events.onclick.enable) switch (t.events.onclick.mode) {\n case a.InteractivityMode.PUSH:\n i.move.enable ? this.library.modes.pushParticles(t.modes.push.particles_nb, this.mouseClickPosition) : 1 == t.modes.push.particles_nb ? this.library.modes.pushParticles(t.modes.push.particles_nb, this.mouseClickPosition) : t.modes.push.particles_nb > 1 && this.library.modes.pushParticles(t.modes.push.particles_nb);\n break;\n\n case a.InteractivityMode.REMOVE:\n this.library.modes.removeParticles(t.modes.remove.particles_nb);\n break;\n\n case a.InteractivityMode.BUBBLE:\n this.library.modes.bubble_clicking = !0;\n break;\n\n case a.InteractivityMode.REPULSE:\n this.library.modes.repulse_clicking = !0, this.library.modes.repulse_count = 0, this.library.modes.repulse_finish = !1, setTimeout(function () {\n e.library.modes.repulse_clicking = !1;\n }, 1e3 * t.modes.repulse.duration);\n }\n }\n }, {\n key: \"linkParticles\",\n value: function value(e, t) {\n var i = this.library.manager.getDistance(e, t),\n n = this.library.canvas,\n r = this.library.getParameter(function (e) {\n return e.particles.line_linked;\n });\n\n if (i <= r.distance) {\n var a = r.opacity - i / (1 / r.opacity) / r.distance;\n\n if (a > 0) {\n var o = r.color_rgb_line,\n s = o.r,\n c = o.g,\n l = o.b;\n n.ctx.save(), n.ctx.strokeStyle = \"rgba( \".concat(s, \", \").concat(c, \", \").concat(l, \", \").concat(a, \" )\"), n.ctx.lineWidth = r.width, n.ctx.beginPath(), r.shadow.enable && (n.ctx.shadowBlur = r.shadow.blur, n.ctx.shadowColor = r.shadow.color), n.ctx.moveTo(e.x, e.y), n.ctx.lineTo(t.x, t.y), n.ctx.stroke(), n.ctx.closePath(), n.ctx.restore();\n }\n }\n }\n }, {\n key: \"attractParticles\",\n value: function value(e, t) {\n var i = this.library.manager.getDistances(e, t),\n n = i.distance,\n r = i.distanceX,\n a = i.distanceY,\n o = this.library.getParameter(function (e) {\n return e.particles.line_linked;\n }),\n s = this.library.getParameter(function (e) {\n return e.particles.move.attract;\n });\n\n if (n <= o.distance) {\n var c = r / (1e3 * s.rotateX),\n l = a / (1e3 * s.rotateY);\n e.vx -= c, e.vy -= l, t.vx += c, t.vy += l;\n }\n }\n }, {\n key: \"bounceParticles\",\n value: function value(e, t) {\n this.library.manager.getDistance(e, t) <= e.radius + t.radius && (e.vx = -e.vx, e.vy = -e.vy, t.vx = -t.vx, t.vy = -t.vy);\n }\n }]) && n(t.prototype, i), o && n(t, o), e;\n }();\n\n t.default = o;\n }, function (e, t) {\n e.exports = function (e, t) {\n return e === t || e != e && t != t;\n };\n }, function (e, t, i) {\n var n = i(7),\n r = i(19);\n\n e.exports = function (e) {\n if (!r(e)) return !1;\n var t = n(e);\n return \"[object Function]\" == t || \"[object GeneratorFunction]\" == t || \"[object AsyncFunction]\" == t || \"[object Proxy]\" == t;\n };\n }, function (e, t, i) {\n (function (t) {\n var i = \"object\" == typeof t && t && t.Object === Object && t;\n e.exports = i;\n }).call(this, i(52));\n }, function (e, t) {\n e.exports = function (e) {\n var t = typeof e;\n return null != e && (\"object\" == t || \"function\" == t);\n };\n }, function (e, t) {\n var i = Function.prototype.toString;\n\n e.exports = function (e) {\n if (null != e) {\n try {\n return i.call(e);\n } catch (e) {}\n\n try {\n return e + \"\";\n } catch (e) {}\n }\n\n return \"\";\n };\n }, function (e, t, i) {\n var n = i(58),\n r = i(65),\n a = i(67),\n o = i(68),\n s = i(69);\n\n function c(e) {\n var t = -1,\n i = null == e ? 0 : e.length;\n\n for (this.clear(); ++t < i;) {\n var n = e[t];\n this.set(n[0], n[1]);\n }\n }\n\n c.prototype.clear = n, c.prototype.delete = r, c.prototype.get = a, c.prototype.has = o, c.prototype.set = s, e.exports = c;\n }, function (e, t, i) {\n var n = i(70),\n r = i(73),\n a = i(74);\n\n e.exports = function (e, t, i, o, s, c) {\n var l = 1 & i,\n u = e.length,\n h = t.length;\n if (u != h && !(l && h > u)) return !1;\n var y = c.get(e);\n if (y && c.get(t)) return y == t;\n var p = -1,\n f = !0,\n v = 2 & i ? new n() : void 0;\n\n for (c.set(e, t), c.set(t, e); ++p < u;) {\n var d = e[p],\n b = t[p];\n if (o) var g = l ? o(b, d, p, t, e, c) : o(d, b, p, e, t, c);\n\n if (void 0 !== g) {\n if (g) continue;\n f = !1;\n break;\n }\n\n if (v) {\n if (!r(t, function (e, t) {\n if (!a(v, t) && (d === e || s(d, e, i, o, c))) return v.push(t);\n })) {\n f = !1;\n break;\n }\n } else if (d !== b && !s(d, b, i, o, c)) {\n f = !1;\n break;\n }\n }\n\n return c.delete(e), c.delete(t), f;\n };\n }, function (e, t, i) {\n (function (e) {\n var n = i(0),\n r = i(91),\n a = t && !t.nodeType && t,\n o = a && \"object\" == typeof e && e && !e.nodeType && e,\n s = o && o.exports === a ? n.Buffer : void 0,\n c = (s ? s.isBuffer : void 0) || r;\n e.exports = c;\n }).call(this, i(24)(e));\n }, function (e, t) {\n e.exports = function (e) {\n return e.webpackPolyfill || (e.deprecate = function () {}, e.paths = [], e.children || (e.children = []), Object.defineProperty(e, \"loaded\", {\n enumerable: !0,\n get: function get() {\n return e.l;\n }\n }), Object.defineProperty(e, \"id\", {\n enumerable: !0,\n get: function get() {\n return e.i;\n }\n }), e.webpackPolyfill = 1), e;\n };\n }, function (e, t, i) {\n var n = i(93),\n r = i(94),\n a = i(95),\n o = a && a.isTypedArray,\n s = o ? r(o) : n;\n e.exports = s;\n }, function (e, t) {\n e.exports = function (e) {\n return \"number\" == typeof e && e > -1 && e % 1 == 0 && e <= 9007199254740991;\n };\n }, function (e, t, i) {\n \"use strict\";\n\n var n = this && this.__importDefault || function (e) {\n return e && e.__esModule ? e : {\n default: e\n };\n };\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var r = n(i(28));\n t.Particles = r.default, t.default = r.default;\n }, function (e, t, i) {\n \"use strict\";\n\n function n(e) {\n return (n = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (e) {\n return typeof e;\n } : function (e) {\n return e && \"function\" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? \"symbol\" : typeof e;\n })(e);\n }\n\n function r(e, t) {\n for (var i = 0; i < t.length; i++) {\n var n = t[i];\n n.enumerable = n.enumerable || !1, n.configurable = !0, \"value\" in n && (n.writable = !0), Object.defineProperty(e, n.key, n);\n }\n }\n\n function a(e) {\n if (void 0 === e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return e;\n }\n\n function o(e, t, i) {\n return (o = \"undefined\" != typeof Reflect && Reflect.get ? Reflect.get : function (e, t, i) {\n var n = function (e, t) {\n for (; !Object.prototype.hasOwnProperty.call(e, t) && null !== (e = s(e));) {\n ;\n }\n\n return e;\n }(e, t);\n\n if (n) {\n var r = Object.getOwnPropertyDescriptor(n, t);\n return r.get ? r.get.call(i) : r.value;\n }\n })(e, t, i || e);\n }\n\n function s(e) {\n return (s = Object.setPrototypeOf ? Object.getPrototypeOf : function (e) {\n return e.__proto__ || Object.getPrototypeOf(e);\n })(e);\n }\n\n function c(e, t) {\n return (c = Object.setPrototypeOf || function (e, t) {\n return e.__proto__ = t, e;\n })(e, t);\n }\n\n var l = this && this.__importStar || function (e) {\n if (e && e.__esModule) return e;\n var t = {};\n if (null != e) for (var i in e) {\n Object.hasOwnProperty.call(e, i) && (t[i] = e[i]);\n }\n return t.default = e, t;\n },\n u = this && this.__importDefault || function (e) {\n return e && e.__esModule ? e : {\n default: e\n };\n };\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var h = l(i(14)),\n y = i(14),\n p = i(2),\n f = u(i(37)),\n v = function (e) {\n function t(e) {\n var i;\n return function (e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }(this, t), (i = function (e, t) {\n return !t || \"object\" !== n(t) && \"function\" != typeof t ? a(e) : t;\n }(this, s(t).call(this, e))).state = {\n canvas: void 0,\n library: void 0\n }, i.loadCanvas = i.loadCanvas.bind(a(i)), i;\n }\n\n var i, l, u;\n return function (e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Super expression must either be null or a function\");\n e.prototype = Object.create(t && t.prototype, {\n constructor: {\n value: e,\n writable: !0,\n configurable: !0\n }\n }), t && c(e, t);\n }(t, e), i = t, (l = [{\n key: \"buildParticlesLibrary\",\n value: function value(e) {\n try {\n if (void 0 === window) return null;\n } catch (e) {\n return null;\n }\n\n return new p.ParticlesLibrary(e);\n }\n }, {\n key: \"refresh\",\n value: function value(e) {\n var t = this,\n i = this.state.canvas;\n i && (this.destroy(), this.setState({\n library: this.buildParticlesLibrary(e.params)\n }, function () {\n t.loadCanvas(i);\n }));\n }\n }, {\n key: \"destroy\",\n value: function value() {\n this.state.library && this.state.library.destroy();\n }\n }, {\n key: \"loadCanvas\",\n value: function value(e) {\n var t = this;\n e && this.setState({\n canvas: e\n }, function () {\n var i = t.state.library;\n i && (i.loadCanvas(e), i.start());\n });\n }\n }, {\n key: \"shouldComponentUpdate\",\n value: function value(e) {\n return !f.default(e, this.props);\n }\n }, {\n key: \"componentDidUpdate\",\n value: function value() {\n this.refresh(this.props);\n }\n }, {\n key: \"forceUpdate\",\n value: function value() {\n this.refresh(this.props), o(s(t.prototype), \"forceUpdate\", this).call(this);\n }\n }, {\n key: \"componentDidMount\",\n value: function value() {\n this.setState({\n library: this.buildParticlesLibrary(this.props.params)\n });\n }\n }, {\n key: \"componentWillUnmount\",\n value: function value() {\n this.destroy(), this.setState({\n library: void 0\n });\n }\n }, {\n key: \"render\",\n value: function value() {\n var e = this.props,\n t = e.width,\n i = e.height,\n n = e.className,\n r = e.canvasClassName;\n return h.createElement(\"div\", {\n className: n\n }, h.createElement(\"canvas\", {\n ref: this.loadCanvas,\n className: r,\n style: Object.assign(Object.assign({}, this.props.style), {\n width: t,\n height: i\n })\n }));\n }\n }]) && r(i.prototype, l), u && r(i, u), t;\n }(y.Component);\n\n t.default = v, v.defaultProps = {\n width: \"100%\",\n height: \"100%\",\n params: {},\n style: {}\n };\n }, function (e, t, i) {\n \"use strict\";\n\n function n(e, t) {\n for (var i = 0; i < t.length; i++) {\n var n = t[i];\n n.enumerable = n.enumerable || !1, n.configurable = !0, \"value\" in n && (n.writable = !0), Object.defineProperty(e, n.key, n);\n }\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var r = i(2),\n a = i(1),\n o = i(15),\n s = function () {\n function e(t) {\n !function (e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }(this, e), this.library = t, this.bubble_clicking = !1, this.bubble_duration_end = !1, this.pushing = !1, this.repulse_clicking = !1, this.repulse_count = 0, this.repulse_finish = !1;\n }\n\n var t, i, s;\n return t = e, (i = [{\n key: \"pushParticles\",\n value: function value(e, t) {\n var i = this.library.manager,\n n = this.library.getParameter(function (e) {\n return e.particles;\n });\n this.pushing = !0;\n var a = e;\n n.number.max > 0 && (a = n.array.length + e > n.number.max ? n.number.max - n.array.length : e);\n\n for (var o = 0; o < a; o++) {\n n.array.push(new r.Particle(this.library, {\n position: t\n })), o === e - 1 && (n.move.enable || i.particlesDraw(), this.pushing = !1);\n }\n }\n }, {\n key: \"removeParticles\",\n value: function value(e) {\n var t = this.library.manager,\n i = this.library.getParameter(function (e) {\n return e.particles;\n });\n i.array.splice(0, e), i.move.enable || t.particlesDraw();\n }\n }, {\n key: \"bubbleParticle\",\n value: function value(e) {\n var t = this,\n i = this.library.getParameter(function (e) {\n return e.interactivity;\n }),\n n = this.library.getParameter(function (e) {\n return e.particles;\n });\n\n if (i.events.onhover.enable && r.isInArray(a.InteractivityMode.BUBBLE, i.events.onhover.mode)) {\n var s = this.library.manager.getDistance(e, this.library.interactivity.mouseMovePosition),\n c = i.modes.bubble.distance,\n l = 1 - s / c;\n\n if (s <= c) {\n if (l >= 0 && this.library.interactivity.mouseStatus === o.MouseInteractivityStatus.MOUSEMOVE) {\n var u = i.modes.bubble.size,\n h = n.size.value;\n if (u != h) if (u > h) {\n var y = e.radius + u * l;\n y >= 0 && (e.radius_bubble = y);\n } else {\n var p = e.radius - u,\n f = e.radius - p * l;\n e.radius_bubble = f > 0 ? f : 0;\n }\n if (i.modes.bubble.opacity !== n.opacity.value) if (i.modes.bubble.opacity > n.opacity.value) {\n var v = i.modes.bubble.opacity * l;\n v > e.opacityValue && v <= i.modes.bubble.opacity && (e.bubbleOpacity = v);\n } else {\n var d = e.opacityValue - (n.opacity.value - i.modes.bubble.opacity) * l;\n d < e.opacityValue && d >= i.modes.bubble.opacity && (e.bubbleOpacity = d);\n }\n }\n } else e.bubbleOpacity = e.opacityValue, e.radius_bubble = e.radius;\n\n this.library.interactivity.mouseStatus === o.MouseInteractivityStatus.MOUSELEAVE && (e.bubbleOpacity = e.opacityValue, e.radius_bubble = e.radius);\n } else if (i.events.onclick.enable && r.isInArray(a.InteractivityMode.BUBBLE, i.events.onclick.mode) && this.bubble_clicking) {\n var b = this.library.manager.getDistance(e, this.library.interactivity.mouseClickPosition),\n g = (new Date().getTime() - this.library.interactivity.mouseClickTime) / 1e3;\n g > i.modes.bubble.duration && (this.bubble_duration_end = !0), g > 2 * i.modes.bubble.duration && (this.bubble_clicking = !1, this.bubble_duration_end = !1);\n\n var m = function m(n, r, a, o, s) {\n if (n != r) if (t.bubble_duration_end) {\n if (null != a) {\n var c = n + (n - (o - g * (o - n) / i.modes.bubble.duration));\n \"size\" == s && (e.radius_bubble = c), \"opacity\" == s && (e.bubbleOpacity = c);\n }\n } else if (b <= i.modes.bubble.distance) {\n if ((null != a ? a : o) != n) {\n var l = o - g * (o - n) / i.modes.bubble.duration;\n \"size\" == s && (e.radius_bubble = l), \"opacity\" == s && (e.bubbleOpacity = l);\n }\n } else \"size\" == s && (e.radius_bubble = void 0), \"opacity\" == s && (e.bubbleOpacity = void 0);\n };\n\n this.bubble_clicking && (m(i.modes.bubble.size, n.size.value, e.radius_bubble, e.radius, \"size\"), m(i.modes.bubble.opacity, n.opacity.value, e.bubbleOpacity, e.opacityValue, \"opacity\"));\n }\n }\n }, {\n key: \"repulseParticle\",\n value: function value(e) {\n var t = this.library.canvas,\n i = this.library.getParameter(function (e) {\n return e.interactivity;\n }),\n n = this.library.getParameter(function (e) {\n return e.particles;\n });\n\n if (i.events.onhover.enable && r.isInArray(a.InteractivityMode.REPULSE, i.events.onhover.mode) && this.library.interactivity.mouseStatus === o.MouseInteractivityStatus.MOUSEMOVE) {\n var s = this.library.manager.getDistances(e, this.library.interactivity.mouseMovePosition),\n c = s.distance,\n l = {\n x: s.distanceX / c,\n y: s.distanceY / c\n },\n u = i.modes.repulse.distance,\n h = r.clamp(1 / u * (-1 * Math.pow(c / u, 2) + 1) * u * 100, 0, 50),\n y = {\n x: e.x + l.x * h,\n y: e.y + l.y * h\n };\n n.move.out_mode === a.MoveOutMode.BOUNCE ? (y.x - e.radius > 0 && y.x + e.radius < t.width && (e.x = y.x), y.y - e.radius > 0 && y.y + e.radius < t.height && (e.y = y.y)) : (e.x = y.x, e.y = y.y);\n } else if (i.events.onclick.enable && r.isInArray(a.InteractivityMode.REPULSE, i.events.onclick.mode)) if (this.repulse_finish || (this.repulse_count++, this.repulse_count == n.array.length && (this.repulse_finish = !0)), this.repulse_clicking) {\n var p = Math.pow(i.modes.repulse.distance / 6, 3),\n f = this.library.manager.getDistances(this.library.interactivity.mouseClickPosition, e),\n v = f.distance,\n d = f.distanceX,\n b = f.distanceY,\n g = p / Math.pow(v, 2) * -1;\n\n if (v <= p) {\n var m = Math.atan2(b, d);\n\n if (e.vx = g * Math.cos(m), e.vy = g * Math.sin(m), n.move.out_mode === a.MoveOutMode.BOUNCE) {\n var _ = {\n x: e.x + e.vx,\n y: e.y + e.vy\n };\n _.x + e.radius > t.width ? e.vx = -e.vx : _.x - e.radius < 0 && (e.vx = -e.vx), _.y + e.radius > t.height ? e.vy = -e.vy : _.y - e.radius < 0 && (e.vy = -e.vy);\n }\n }\n } else !1 === this.repulse_clicking && (e.vx = e.vx_i, e.vy = e.vy_i);\n }\n }, {\n key: \"grabParticle\",\n value: function value(e) {\n var t = this.library.canvas,\n i = this.library.getParameter(function (e) {\n return e;\n }),\n n = i.interactivity,\n r = i.particles;\n\n if (n.events.onhover.enable && this.library.interactivity.mouseStatus === o.MouseInteractivityStatus.MOUSEMOVE) {\n var a = this.library.manager.getDistance(e, this.library.interactivity.mouseMovePosition);\n\n if (a <= n.modes.grab.distance) {\n var s = n.modes.grab,\n c = s.line_linked.opacity - a / (1 / s.line_linked.opacity) / s.distance;\n\n if (c > 0) {\n var l = r.line_linked.color_rgb_line,\n u = l.r,\n h = l.g,\n y = l.b;\n t.ctx.strokeStyle = \"rgba( \".concat(u, \", \").concat(h, \", \").concat(y, \", \").concat(c, \" )\"), t.ctx.lineWidth = r.line_linked.width, t.ctx.beginPath(), t.ctx.moveTo(e.x, e.y), t.ctx.lineTo(this.library.interactivity.mouseMovePosition.x, this.library.interactivity.mouseMovePosition.y), t.ctx.stroke(), t.ctx.closePath();\n }\n }\n }\n }\n }]) && n(t.prototype, i), s && n(t, s), e;\n }();\n\n t.default = s;\n }, function (e, t, i) {\n \"use strict\";\n\n function n(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n function r(e, t) {\n for (var i = 0; i < t.length; i++) {\n var n = t[i];\n n.enumerable = n.enumerable || !1, n.configurable = !0, \"value\" in n && (n.writable = !0), Object.defineProperty(e, n.key, n);\n }\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var a = i(2),\n o = i(1),\n s = i(4),\n c = function () {\n function e(t) {\n var i = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {},\n r = i.color,\n a = i.move,\n o = i.opacity,\n s = i.polygon,\n c = i.position,\n l = i.shape,\n u = i.size;\n n(this, e), this.library = t, this.setupSize(u), this.setupPosition(a, s, c), this.setupColor(r), this.setupOpacity(o), this.setupAnimation(a), this.setupShape(l);\n }\n\n var t, i, c;\n return t = e, (i = [{\n key: \"setupSize\",\n value: function value(e) {\n var t = this.library.getParameter(function (e) {\n return e.particles.size;\n });\n e = s.deepAssign({}, t, e), this.radius = (e.random ? Math.random() : 1) * e.value, e.anim.enable && (this.size_status = !1, this.vs = e.anim.speed / 100, e.anim.sync || (this.vs = this.vs * Math.random()));\n }\n }, {\n key: \"setupPosition\",\n value: function value(e, t, i) {\n this.initialPosition = i;\n var n = this.library.getParameter(function (e) {\n return e.particles.move;\n });\n e = s.deepAssign({}, n, e);\n var r = this.library.getParameter(function (e) {\n return e.polygon;\n });\n t = s.deepAssign({}, r, t);\n var a = this.library.getParameter(function (e) {\n return e.particles.array;\n }),\n c = this.library,\n l = c.canvas,\n u = c.vendors;\n if (i) this.x = i.x, this.y = i.y;else if (t.enable) {\n var h;\n\n switch (t.type) {\n case o.PolygonType.INLINE:\n switch (t.inline.arrangement) {\n case o.PolygonInlineArrangementType.RANDOM_POINT:\n h = this.library.polygonMask.getRandomPointOnPolygonPath();\n break;\n\n case o.PolygonInlineArrangementType.RANDOM_LENGTH:\n h = this.library.polygonMask.getRandomPointOnPolygonPathByLength();\n break;\n\n case o.PolygonInlineArrangementType.EQUIDISTANT:\n h = this.library.polygonMask.getEquidistantPoingOnPolygonPathByIndex(a.length);\n break;\n\n case o.PolygonInlineArrangementType.ONE_PER_POINT:\n default:\n h = this.library.polygonMask.getPoingOnPolygonPathByIndex(a.length);\n }\n\n break;\n\n case o.PolygonType.INSIDE:\n h = this.library.polygonMask.getRandomPointInsidePolygonPath();\n break;\n\n case o.PolygonType.OUTSIDE:\n h = this.library.polygonMask.getRandomPointOutsidePolygonPath();\n }\n\n h && (this.x = h.x, this.y = h.y, this.initialPosition = {\n x: this.x,\n y: this.y\n });\n }\n void 0 !== this.x && void 0 !== this.y || (this.x = Math.random() * l.width, this.y = Math.random() * l.height), this.x > l.width - 2 * this.radius ? this.x = this.x - this.radius : this.x < 2 * this.radius && (this.x = this.x + this.radius), this.y > l.height - 2 * this.radius ? this.y = this.y - this.radius : this.y < 2 * this.radius && (this.y = this.y + this.radius), e.bounce && u.checkOverlap(this, {\n x: this.x,\n y: this.y\n });\n }\n }, {\n key: \"setupColor\",\n value: function value(e) {\n var t = this.library.getParameter(function (e) {\n return e.particles.color;\n });\n e = s.deepAssign({}, e, t), this.color = a.getColor(e.value);\n }\n }, {\n key: \"setupOpacity\",\n value: function value(e) {\n var t = this.library.getParameter(function (e) {\n return e.particles.opacity;\n });\n e = s.deepAssign({}, t, e), this.opacityValue = (e.random ? Math.random() : 1) * e.value, e.anim.enable && (this.opacity_status = !1, this.vo = e.anim.speed / 100, e.anim.sync || (this.vo = this.vo * Math.random()));\n }\n }, {\n key: \"setupAnimation\",\n value: function value(e) {\n var t,\n i = this.library.getParameter(function (e) {\n return e.particles.move;\n });\n\n switch ((e = s.deepAssign({}, i, e)).direction) {\n case o.MoveDirection.TOP:\n t = {\n x: 0,\n y: -1\n };\n break;\n\n case o.MoveDirection.TOP_RIGHT:\n t = {\n x: .5,\n y: -.5\n };\n break;\n\n case o.MoveDirection.RIGHT:\n t = {\n x: 1,\n y: 0\n };\n break;\n\n case o.MoveDirection.BOTTOM_RIGHT:\n t = {\n x: .5,\n y: .5\n };\n break;\n\n case o.MoveDirection.BOTTOM:\n t = {\n x: 0,\n y: 1\n };\n break;\n\n case o.MoveDirection.BOTTOM_LEFT:\n t = {\n x: -.5,\n y: 1\n };\n break;\n\n case o.MoveDirection.LEFT:\n t = {\n x: -1,\n y: 0\n };\n break;\n\n case o.MoveDirection.TOP_LEFT:\n t = {\n x: -.5,\n y: -.5\n };\n break;\n\n default:\n t = {\n x: 0,\n y: 0\n };\n }\n\n e.straight ? (this.vx = t.x, this.vy = t.y, e.random && (this.vx = this.vx * Math.random(), this.vy = this.vy * Math.random())) : (this.vx = t.x + Math.random() - .5, this.vy = t.y + Math.random() - .5), this.vx_i = this.vx, this.vy_i = this.vy;\n }\n }, {\n key: \"setupShape\",\n value: function value(e) {\n var t = this,\n i = this.library.getParameter(function (e) {\n return e.particles.shape;\n });\n e = s.deepAssign({}, i, e);\n var n = this.library.getParameter(function (e) {\n return e.particles.array;\n });\n\n if (Array.isArray(e.type)) {\n var r = e.type[Math.floor(Math.random() * e.type.length)];\n e = s.deepAssign({}, e, {\n type: r\n });\n }\n\n this.shape = e, e.type !== o.ShapeType.IMAGE && e.type !== o.ShapeType.IMAGES || (e.type === o.ShapeType.IMAGES ? this.shapeImage = this.library.imageManager.getImage(n.length) : this.shapeImage = this.library.imageManager.getImage(), \"svg\" === this.shapeImage.type && void 0 !== this.shapeImage.svgData && this.library.imageManager.createSvgImage(this.shapeImage.svgData, {\n color: this.color,\n opacity: this.opacityValue\n }).then(function (e) {\n t.shapeImage.elementData = e, t.shapeImage.loaded = !0;\n }));\n }\n }, {\n key: \"draw\",\n value: function value() {\n var e,\n t,\n i,\n n = this.library,\n r = n.canvas,\n a = n.vendors;\n\n if (e = void 0 !== this.radius_bubble ? this.radius_bubble : this.radius, t = void 0 !== this.bubbleOpacity ? this.bubbleOpacity : this.opacityValue, this.color.rgb) {\n var s = this.color.rgb,\n c = s.r,\n l = s.g,\n u = s.b;\n i = \"rgba( \".concat(c, \", \").concat(l, \", \").concat(u, \", \").concat(t, \" )\");\n } else {\n var h = this.color.hsl,\n y = h.h,\n p = h.s,\n f = h.l;\n i = \"hsla( \".concat(y, \", \").concat(p, \", \").concat(f, \", \").concat(t, \" )\");\n }\n\n switch (r.ctx.fillStyle = i, r.ctx.beginPath(), this.shape.type) {\n case o.ShapeType.CIRCLE:\n r.ctx.arc(this.x, this.y, e, 0, 2 * Math.PI, !1);\n break;\n\n case o.ShapeType.EDGE:\n r.ctx.rect(this.x - e, this.y - e, 2 * e, 2 * e);\n break;\n\n case o.ShapeType.TRIANGLE:\n a.drawShape(r.ctx, this.x - e, this.y + e / 1.66, 2 * e, 3, 2);\n break;\n\n case o.ShapeType.POLYGON:\n a.drawShape(r.ctx, this.x - e / (this.shape.polygon.nb_sides / 3.5), this.y - e / .76, 2.66 * e / (this.shape.polygon.nb_sides / 3), this.shape.polygon.nb_sides, 1);\n break;\n\n case o.ShapeType.STAR:\n a.drawShape(r.ctx, this.x - 2 * e / (this.shape.polygon.nb_sides / 4), this.y - e / 1.52, 2 * e * 2.66 / (this.shape.polygon.nb_sides / 3), this.shape.polygon.nb_sides, 2);\n break;\n\n case o.ShapeType.IMAGES:\n case o.ShapeType.IMAGE:\n this.shapeImage.elementData && r.ctx.drawImage(this.shapeImage.elementData, this.x - e, this.y - e, 2 * e, 2 * e / this.shapeImage.ratio);\n }\n\n r.ctx.closePath(), this.shape.stroke.width > 0 && (r.ctx.strokeStyle = this.shape.stroke.color, r.ctx.lineWidth = this.shape.stroke.width, r.ctx.stroke()), r.ctx.fill();\n }\n }]) && r(t.prototype, i), c && r(t, c), e;\n }();\n\n t.default = c;\n }, function (e, t, i) {\n \"use strict\";\n\n function n(e, t) {\n for (var i = 0; i < t.length; i++) {\n var n = t[i];\n n.enumerable = n.enumerable || !1, n.configurable = !0, \"value\" in n && (n.writable = !0), Object.defineProperty(e, n.key, n);\n }\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var r = i(2),\n a = i(1),\n o = function () {\n function e(t) {\n !function (e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }(this, e), this.library = t, this.particlesCreate = this.particlesCreate.bind(this);\n }\n\n var t, i, o;\n return t = e, (i = [{\n key: \"particlesCreate\",\n value: function value() {\n var e = this.library.getParameter(function (e) {\n return e.particles;\n }),\n t = this.library.getParameter(function (e) {\n return e.polygon;\n }),\n i = e.number.value;\n t.enable && t.type === a.PolygonType.INLINE && t.inline.arrangement === a.PolygonInlineArrangementType.ONE_PER_POINT && (i = this.library.polygonMask.getVerticesNumber());\n\n for (var n = 0; n < i; n++) {\n e.array.push(new r.Particle(this.library));\n }\n }\n }, {\n key: \"particlesUpdate\",\n value: function value() {\n var e = this,\n t = this.library,\n i = t.canvas,\n n = t.modes,\n o = this.library.getParameter(function (e) {\n return e.interactivity;\n }),\n s = this.library.getParameter(function (e) {\n return e.particles;\n }),\n c = this.library.getParameter(function (e) {\n return e.polygon;\n });\n s.array.forEach(function (t, l) {\n if (s.move.enable) {\n var u = s.move.speed / 2;\n t.x += t.vx * u, t.y += t.vy * u;\n }\n\n var h;\n\n switch (s.opacity.anim.enable && (1 == t.opacity_status ? (t.opacityValue >= s.opacity.value && (t.opacity_status = !1), t.opacityValue += t.vo) : (t.opacityValue <= s.opacity.anim.opacity_min && (t.opacity_status = !0), t.opacityValue -= t.vo), t.opacityValue < 0 && (t.opacityValue = 0)), s.size.anim.enable && (1 == t.size_status ? (t.radius >= s.size.value && (t.size_status = !1), t.radius += t.vs) : (t.radius <= s.size.anim.size_min && (t.size_status = !0), t.radius -= t.vs), t.radius < 0 && (t.radius = 0)), h = \"bounce\" == s.move.out_mode ? {\n x_left: t.radius,\n x_right: i.width,\n y_top: t.radius,\n y_bottom: i.height\n } : {\n x_left: -t.radius,\n x_right: i.width + t.radius,\n y_top: -t.radius,\n y_bottom: i.height + t.radius\n }, t.x - t.radius > i.width ? (t.x = h.x_left, t.y = Math.random() * i.height) : t.x + t.radius < 0 && (t.x = h.x_right, t.y = Math.random() * i.height), t.y - t.radius > i.height ? (t.y = h.y_top, t.x = Math.random() * i.width) : t.y + t.radius < 0 && (t.y = h.y_bottom, t.x = Math.random() * i.width), s.move.out_mode) {\n case \"bounce\":\n if (c.enable) {\n var y = c.move.radius;\n\n switch (c.type) {\n case a.PolygonType.INLINE:\n e.getDistance(t.initialPosition, t) > y && (t.vx = -t.vx + t.vy / 2, t.vy = -t.vy + t.vx / 2);\n break;\n\n case a.PolygonType.INSIDE:\n case a.PolygonType.OUTSIDE:\n var p = c.move.type;\n if (p === a.PolygonMoveType.RADIUS) e.getDistance(t.initialPosition, t) > y && (t.vx = -t.vx + t.vy / 2, t.vy = -t.vy + t.vx / 2);else if (p === a.PolygonMoveType.PATH) {\n var f = c.type === a.PolygonType.INSIDE,\n v = e.library.polygonMask.isPointInsidePolygon({\n x: t.x,\n y: t.y\n });\n (f && !v || !f && v) && (t.vx = -t.vx + t.vy / 2, t.vy = -t.vy + t.vx / 2);\n }\n }\n } else t.x + t.radius > i.width ? t.vx = -t.vx : t.x - t.radius < 0 && (t.vx = -t.vx), t.y + t.radius > i.height ? t.vy = -t.vy : t.y - t.radius < 0 && (t.vy = -t.vy);\n\n }\n\n if (r.isInArray(\"grab\", o.events.onhover.mode) && n.grabParticle(t), (r.isInArray(\"bubble\", o.events.onhover.mode) || r.isInArray(\"bubble\", o.events.onclick.mode)) && n.bubbleParticle(t), (r.isInArray(\"repulse\", o.events.onhover.mode) || r.isInArray(\"repulse\", o.events.onclick.mode)) && n.repulseParticle(t), s.line_linked.enable || s.move.attract.enable) for (var d = l + 1; d < s.array.length; d++) {\n var b = s.array[d];\n s.line_linked.enable && e.library.interactivity.linkParticles(t, b), s.move.attract.enable && e.library.interactivity.attractParticles(t, b), s.move.bounce && e.library.interactivity.bounceParticles(t, b);\n }\n });\n }\n }, {\n key: \"getDistances\",\n value: function value(e, t) {\n var i = e.x - t.x,\n n = e.y - t.y;\n return {\n distance: Math.sqrt(i * i + n * n),\n distanceX: i,\n distanceY: n\n };\n }\n }, {\n key: \"getDistance\",\n value: function value(e, t) {\n return this.getDistances(e, t).distance;\n }\n }, {\n key: \"particlesDraw\",\n value: function value() {\n var e = this.library,\n t = e.canvas,\n i = e.manager,\n n = this.library.getParameter(function (e) {\n return e.particles;\n }),\n r = this.library.getParameter(function (e) {\n return e.polygon;\n });\n t.ctx.clearRect(0, 0, t.width, t.height), i.particlesUpdate(), n.array.forEach(function (e) {\n e.draw();\n }), r.enable && r.draw.enable && this.library.polygonMask.drawPolygon();\n }\n }, {\n key: \"particlesEmpty\",\n value: function value() {\n this.library.getParameter(function (e) {\n return e.particles;\n }).array = [];\n }\n }, {\n key: \"particlesRefresh\",\n value: function value() {\n cancelAnimationFrame(this.library.drawAnimFrame), this.particlesEmpty(), this.library.canvasClear(), this.library.start();\n }\n }]) && n(t.prototype, i), o && n(t, o), e;\n }();\n\n t.default = o;\n }, function (e, t, i) {\n \"use strict\";\n\n function n(e, t) {\n for (var i = 0; i < t.length; i++) {\n var n = t[i];\n n.enumerable = n.enumerable || !1, n.configurable = !0, \"value\" in n && (n.writable = !0), Object.defineProperty(e, n.key, n);\n }\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var r = i(2),\n a = i(33),\n o = function () {\n function e(t) {\n !function (e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }(this, e), this.imageManager = new a.ImageManager(), this.retina = !1, this.onWindowResize = this.onWindowResize.bind(this), this.loadParameters(t), this.interactivity = new r.Interactivity(this), this.modes = new r.Modes(this), this.vendors = new r.Vendors(this.imageManager, this.params, this), this.manager = new r.ParticleManager(this), this.polygonMask = new r.PolygonMask(this);\n }\n\n var t, i, o;\n return t = e, (i = [{\n key: \"getParameter\",\n value: function value(e) {\n return e(this.params);\n }\n }, {\n key: \"setParameters\",\n value: function value(e) {\n this.params = r.deepAssign(Object.assign({}, this.params), e);\n }\n }, {\n key: \"loadParameters\",\n value: function value(e) {\n var t = r.deepAssign({}, r.getDefaultParams(), e);\n this.params = t;\n }\n }, {\n key: \"loadCanvas\",\n value: function value(e) {\n this.canvas = {\n element: e,\n width: e.offsetWidth,\n height: e.offsetHeight\n };\n }\n }, {\n key: \"start\",\n value: function value() {\n this.interactivity.attachEventHandlers(), this.vendors.start();\n }\n }, {\n key: \"destroy\",\n value: function value() {\n this.detachListeners(), this.interactivity.detachEventHandlers(), cancelAnimationFrame(this.drawAnimFrame), this.canvasClear();\n }\n }, {\n key: \"detachListeners\",\n value: function value() {\n window.removeEventListener(\"resize\", this.onWindowResize);\n }\n }, {\n key: \"retinaInit\",\n value: function value() {\n var e = window.devicePixelRatio;\n\n if (this.params.retina_detect && e > 1) {\n this.canvas.pxratio = e, this.canvas.width = this.canvas.element.offsetWidth * this.canvas.pxratio, this.canvas.height = this.canvas.element.offsetHeight * this.canvas.pxratio, this.retina = !0;\n var t = this.getParameter(function (e) {\n return e;\n });\n this.setParameters({\n interactivity: {\n modes: {\n bubble: {\n distance: t.interactivity.modes.bubble.distance * e,\n size: t.interactivity.modes.bubble.size * e\n },\n grab: {\n distance: t.interactivity.modes.grab.distance * e\n },\n repulse: {\n distance: t.interactivity.modes.repulse.distance * e\n }\n }\n },\n particles: {\n line_linked: {\n distance: t.particles.line_linked.distance * e,\n width: t.particles.line_linked.width * e\n },\n move: {\n speed: t.particles.move.speed * e\n },\n size: {\n value: t.particles.size.value * e,\n anim: {\n speed: t.particles.size.anim.speed * e\n }\n }\n }\n });\n } else this.canvas.pxratio = 1, this.retina = !1;\n }\n }, {\n key: \"canvasInit\",\n value: function value() {\n var e = this.canvas;\n e.ctx = e.element.getContext(\"2d\");\n }\n }, {\n key: \"canvasSize\",\n value: function value() {\n var e = this.canvas;\n e.element.width = e.width, e.element.height = e.height, this.params && this.params.interactivity.events.resize && window.addEventListener(\"resize\", this.onWindowResize);\n }\n }, {\n key: \"canvasPaint\",\n value: function value() {\n var e = this.canvas;\n if (e && e.ctx) try {\n e.ctx.fillRect(0, 0, e.width, e.height);\n } catch (e) {\n console.warn(e);\n }\n }\n }, {\n key: \"canvasClear\",\n value: function value() {\n var e = this.canvas;\n if (e && e.ctx) try {\n e.ctx.clearRect(0, 0, e.width, e.height);\n } catch (e) {\n console.warn(e);\n }\n }\n }, {\n key: \"onWindowResize\",\n value: function value() {\n var e = this.canvas,\n t = this.manager,\n i = this.vendors;\n e.width = e.element.offsetWidth, e.height = e.element.offsetHeight, this.retina && (e.width *= e.pxratio, e.height *= e.pxratio), e.element.width = e.width, e.element.height = e.height, !this.params.particles.move.enable || this.params.polygon.enable ? (t.particlesEmpty(), this.polygonMask.initialize(this.getParameter(function (e) {\n return e.polygon;\n })).then(function () {\n t.particlesCreate(), t.particlesDraw();\n })) : i.densityAutoParticles();\n }\n }]) && n(t.prototype, i), o && n(t, o), e;\n }();\n\n t.default = o;\n }, function (e, t, i) {\n \"use strict\";\n\n function n(e, t) {\n for (var i = 0; i < t.length; i++) {\n var n = t[i];\n n.enumerable = n.enumerable || !1, n.configurable = !0, \"value\" in n && (n.writable = !0), Object.defineProperty(e, n.key, n);\n }\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var r,\n a = i(1),\n o = i(4);\n !function (e) {\n e.SINGLE = \"single\", e.MULTIPLE = \"multiple\";\n }(r = t.ImageMode || (t.ImageMode = {}));\n\n var s = function () {\n function e() {\n !function (e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }(this, e), this.singleImage = null, this.multipleImages = [], this.mode = r.SINGLE;\n }\n\n var t, i, s;\n return t = e, (i = [{\n key: \"getImage\",\n value: function value(e) {\n if (void 0 !== e) {\n if (0 === this.multipleImages.length) throw new Error(\"No images loaded. You may need to define 'shape.type' = 'images'.\");\n return this.multipleImages[e % this.multipleImages.length];\n }\n\n return this.singleImage;\n }\n }, {\n key: \"parseShape\",\n value: function value(e) {\n var t = this;\n if (o.isEqual(a.ShapeType.IMAGE, e.type)) return this.mode = r.SINGLE, this.parseSingleImage(e.image).then(function (i) {\n return t.singleImage = i, Object.assign(Object.assign({}, e), {\n image: i\n });\n });\n\n if (o.isEqual(a.ShapeType.IMAGES, e.type)) {\n this.mode = r.MULTIPLE;\n var i = e.images.map(function (e) {\n return t.parseSingleImage(e);\n });\n return Promise.all(i).then(function (i) {\n return t.multipleImages = i, Object.assign(Object.assign({}, e), {\n images: i\n });\n });\n }\n\n return Promise.resolve(e);\n }\n }, {\n key: \"parseSingleImage\",\n value: function value(e) {\n var t,\n i = this.buildImageObject({\n height: e.height,\n width: e.width,\n src: e.src\n }),\n n = e.width / e.height;\n return n !== 1 / 0 && 0 !== n || (n = 1), i.ratio = n, (t = /^data:image\\/(\\w{3})\\+xml;(.*?)base64,(.*)$/.exec(e.src)) ? (i.type = t[1], i.svgData = atob(t[3])) : (t = /^.*(\\w{3})$/.exec(e.src)) && (i.type = t[1]), this.loadImage(i);\n }\n }, {\n key: \"loadImage\",\n value: function value(e) {\n return \"\" != (e = Object.assign({}, e)).src ? \"svg\" == e.type ? e.svgData ? Promise.resolve(e) : this.downloadImage(e.src).then(function (t) {\n return e.svgData = t.response, e;\n }) : new Promise(function (t) {\n var i = new Image();\n i.addEventListener(\"load\", function () {\n e.elementData = i, t(e);\n }), i.src = e.src;\n }) : Promise.reject(new Error(\"Error react-particles-js - no image.src\"));\n }\n }, {\n key: \"downloadImage\",\n value: function value(e) {\n return new Promise(function (t, i) {\n var n = new XMLHttpRequest();\n n.open(\"GET\", e), n.onreadystatechange = function (e) {\n 4 == n.readyState && (200 == n.status ? t({\n response: e.currentTarget.response,\n xhr: n\n }) : i(new Error(\"Error react-particles-js - Status code \".concat(n.readyState))));\n }, n.send();\n });\n }\n }, {\n key: \"createSvgImage\",\n value: function value(e, t) {\n var i = e.replace(/#([0-9A-F]{3,6})|rgb\\([0-9,]+\\)/gi, function (e, i, n, r) {\n var a;\n\n if (t.color.rgb) {\n var o = t.color.rgb,\n s = o.r,\n c = o.g,\n l = o.b;\n a = \"rgba( \".concat(s, \", \").concat(c, \", \").concat(l, \", \").concat(t.opacity, \" )\");\n } else {\n var u = t.color.hsl,\n h = u.h,\n y = u.s,\n p = u.l;\n a = \"rgba( \".concat(h, \", \").concat(y, \", \").concat(p, \", \").concat(t.opacity, \" )\");\n }\n\n return a;\n }),\n n = new Blob([i], {\n type: \"image/svg+xml;charset=utf-8\"\n }),\n r = window.URL || window,\n a = r.createObjectURL(n);\n return new Promise(function (e) {\n var t = new Image();\n t.addEventListener(\"load\", function () {\n r.revokeObjectURL(a), e(t);\n }), t.src = a;\n });\n }\n }, {\n key: \"buildImageObject\",\n value: function value() {\n var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};\n return Object.assign({\n svgData: null,\n height: 0,\n width: 0,\n ratio: 0,\n src: \"\",\n type: \"\"\n }, e);\n }\n }]) && n(t.prototype, i), s && n(t, s), e;\n }();\n\n t.ImageManager = s;\n }, function (e, t, i) {\n \"use strict\";\n\n function n(e, t) {\n for (var i = 0; i < t.length; i++) {\n var n = t[i];\n n.enumerable = n.enumerable || !1, n.configurable = !0, \"value\" in n && (n.writable = !0), Object.defineProperty(e, n.key, n);\n }\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var r = i(2),\n a = i(1),\n o = function () {\n function e(t, i, n) {\n !function (e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }(this, e), this.imageManager = t, this.initialized = !1, this.params = i, this.library = n, \"undefined\" != typeof performance && (this.lastDraw = performance.now()), this.draw = this.draw.bind(this);\n }\n\n var t, i, o;\n return t = e, (i = [{\n key: \"densityAutoParticles\",\n value: function value() {\n var e = this.library,\n t = e.canvas,\n i = e.modes,\n n = this.params.particles,\n r = n.number.density,\n a = r.value_area;\n\n if (r.enable) {\n var o = t.element.width * t.element.height / 1e3;\n this.library.retina && (o /= 2 * t.pxratio);\n var s = o * n.number.value / a,\n c = n.array.length - s;\n c < 0 ? i.pushParticles(Math.abs(c)) : i.removeParticles(c);\n }\n }\n }, {\n key: \"checkOverlap\",\n value: function value(e, t) {\n var i = this,\n n = this.library,\n r = n.canvas,\n o = n.vendors;\n r.width && r.height && this.params.particles.array.forEach(function (n) {\n var s = n,\n c = e.x - s.x,\n l = e.y - s.y;\n if (Math.sqrt(c * c + l * l) <= e.radius + s.radius) if (i.library.params.polygon.enable) switch (i.library.params.polygon.inline.arrangement) {\n case a.PolygonInlineArrangementType.RANDOM_LENGTH:\n case a.PolygonInlineArrangementType.RANDOM_POINT:\n } else e.x = t ? t.x : Math.random() * r.width, e.y = t ? t.y : Math.random() * r.height, o.checkOverlap(e);\n });\n }\n }, {\n key: \"destroy\",\n value: function value() {\n cancelAnimationFrame(this.library.drawAnimFrame), this.library.canvas.element.remove();\n }\n }, {\n key: \"drawShape\",\n value: function value(e, t, i, n, r, a) {\n var o = r * a,\n s = r / a,\n c = 180 * (s - 2) / s,\n l = Math.PI - Math.PI * c / 180;\n e.save(), e.beginPath(), e.translate(t, i), e.moveTo(0, 0);\n\n for (var u = 0; u < o; u++) {\n e.lineTo(n, 0), e.translate(n, 0), e.rotate(l);\n }\n\n e.fill(), e.restore();\n }\n }, {\n key: \"exportImg\",\n value: function value() {\n var e = this.library.canvas;\n window.open(e.element.toDataURL(\"image/png\"), \"_blank\");\n }\n }, {\n key: \"draw\",\n value: function value() {\n var e = !0,\n t = this.library,\n i = t.manager,\n n = t.vendors,\n r = this.params.particles;\n void 0 !== performance && (performance.now() - this.lastDraw < 1e3 / this.params.fps_limit ? e = !1 : this.lastDraw = performance.now()), e && i.particlesDraw(), r.move.enable ? this.library.drawAnimFrame = requestAnimationFrame(n.draw) : cancelAnimationFrame(this.library.drawAnimFrame);\n }\n }, {\n key: \"init\",\n value: function value() {\n var e = this;\n\n if (!this.initialized) {\n this.initialized = !0;\n var t = this.library,\n i = t.manager,\n n = t.vendors,\n a = this.params.particles;\n t.retinaInit(), t.canvasInit(), t.canvasSize(), t.polygonMask.initialize(this.library.getParameter(function (e) {\n return e.polygon;\n })).then(function () {\n i.particlesCreate(), n.densityAutoParticles(), e.library.setParameters({\n particles: {\n line_linked: {\n color_rgb_line: r.hexToRgb(a.line_linked.color)\n }\n }\n }), e.draw();\n });\n }\n }\n }, {\n key: \"start\",\n value: function value() {\n var e = this,\n t = this.params.particles;\n this.imageManager.parseShape(t.shape).then(function (t) {\n e.init();\n });\n }\n }]) && n(t.prototype, i), o && n(t, o), e;\n }();\n\n t.default = o;\n }, function (e, t, i) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var n = i(1),\n r = i(4),\n a = {\n particles: {\n number: {\n value: 40,\n max: -1,\n density: {\n enable: !1,\n value_area: 1200\n }\n },\n color: {\n value: \"#FFF\"\n },\n shape: {\n type: n.ShapeType.CIRCLE,\n stroke: {\n width: 0,\n color: \"#000000\"\n },\n polygon: {\n nb_sides: 5\n },\n image: {\n src: \"\",\n width: 100,\n height: 100\n },\n images: []\n },\n opacity: {\n value: .5,\n random: !1,\n anim: {\n enable: !0,\n speed: 1,\n opacity_min: .1,\n sync: !1\n }\n },\n size: {\n value: 1,\n random: !1,\n anim: {\n enable: !1,\n speed: 40,\n size_min: 0,\n sync: !1\n }\n },\n line_linked: {\n enable: !0,\n distance: 150,\n color: \"#FFF\",\n opacity: .6,\n width: 1,\n shadow: {\n enable: !1,\n blur: 5,\n color: \"lime\"\n }\n },\n move: {\n enable: !0,\n speed: 3,\n direction: n.MoveDirection.NONE,\n random: !1,\n straight: !1,\n out_mode: n.MoveOutMode.BOUNCE,\n bounce: !0,\n attract: {\n enable: !1,\n rotateX: 3e3,\n rotateY: 3e3\n }\n },\n array: []\n },\n interactivity: {\n detect_on: \"canvas\",\n events: {\n onhover: {\n enable: !1,\n mode: n.InteractivityMode.GRAB\n },\n onclick: {\n enable: !1,\n mode: n.InteractivityMode.REPULSE\n },\n resize: !0\n },\n modes: {\n grab: {\n distance: 180,\n line_linked: {\n opacity: .35\n }\n },\n bubble: {\n distance: 200,\n size: 80,\n duration: .4\n },\n repulse: {\n distance: 100,\n duration: 5\n },\n push: {\n particles_nb: 4\n },\n remove: {\n particles_nb: 2\n }\n }\n },\n retina_detect: !0,\n fps_limit: 999,\n polygon: {\n enable: !1,\n scale: 1,\n type: n.PolygonType.INLINE,\n inline: {\n arrangement: n.PolygonInlineArrangementType.ONE_PER_POINT\n },\n draw: {\n enable: !1,\n stroke: {\n width: .5,\n color: \"rgba(255, 255, 255, .1)\"\n }\n },\n move: {\n radius: 10,\n type: n.PolygonMoveType.PATH\n },\n url: \"\"\n }\n };\n\n t.getDefaultParams = function () {\n return r.deepAssign({}, a);\n };\n }, function (e, t, i) {\n \"use strict\";\n\n function n(e, t) {\n return function (e) {\n if (Array.isArray(e)) return e;\n }(e) || function (e, t) {\n if (!(Symbol.iterator in Object(e) || \"[object Arguments]\" === Object.prototype.toString.call(e))) return;\n var i = [],\n n = !0,\n r = !1,\n a = void 0;\n\n try {\n for (var o, s = e[Symbol.iterator](); !(n = (o = s.next()).done) && (i.push(o.value), !t || i.length !== t); n = !0) {\n ;\n }\n } catch (e) {\n r = !0, a = e;\n } finally {\n try {\n n || null == s.return || s.return();\n } finally {\n if (r) throw a;\n }\n }\n\n return i;\n }(e, t) || function () {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n }();\n }\n\n function r(e, t) {\n for (var i = 0; i < t.length; i++) {\n var n = t[i];\n n.enumerable = n.enumerable || !1, n.configurable = !0, \"value\" in n && (n.writable = !0), Object.defineProperty(e, n.key, n);\n }\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var a = function () {\n function e(t) {\n !function (e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }(this, e), this.library = t, this.polygonPathLength = 0, this.initialized = !1, this.path2DSupported = !!window.Path2D, this.debounceTime = 250, this.parseSvgPathToPolygon = this.parseSvgPathToPolygon.bind(this);\n }\n\n var t, i, a;\n return t = e, (i = [{\n key: \"initialize\",\n value: function value(e) {\n var t = this;\n return this.polygon = e, e.enable ? this.initialized ? new Promise(function (e) {\n t.debounceTimer && clearTimeout(t.debounceTimer), t.debounceTimer = setTimeout(function () {\n t.parseSvgPathToPolygon().then(function (t) {\n e();\n });\n }, t.debounceTime);\n }) : this.parseSvgPathToPolygon().then(function (e) {\n t.initialized = !0;\n }) : Promise.resolve();\n }\n }, {\n key: \"getVerticesNumber\",\n value: function value() {\n return this.initialized ? this.polygonRaw.length : 0;\n }\n }, {\n key: \"parseSvgPathToPolygon\",\n value: function value(e) {\n var t = this;\n e = e || this.polygon.url;\n var i = this.library.canvas.width === this.lastCanvasWidth && this.library.canvas.height === this.lastCanvasHeight;\n return this.polygonRaw && this.polygonRaw.length && i ? Promise.resolve(this.polygonRaw) : this.parseSvgPath(e).then(function (e) {\n return t.polygonData = e, t.polygonWidth = parseInt(t.polygonData.svg.getAttribute(\"width\")) * t.polygon.scale, t.polygonHeight = parseInt(t.polygonData.svg.getAttribute(\"height\")) * t.polygon.scale, t.polygonOffsetX = t.library.canvas.width / 2 - t.polygonWidth / 2, t.polygonOffsetY = t.library.canvas.height / 2 - t.polygonHeight / 2, t.polygonData.paths.length && (t.polygonPathLength = t.polygonData.paths[0].getTotalLength()), t.polygonRaw = [], t.polygonData.paths.forEach(function (e) {\n for (var i = e.pathSegList.numberOfItems, n = 0; n < i; n++) {\n var r = {\n x: 0,\n y: 0\n },\n a = e.pathSegList.getItem(n);\n\n switch (a.pathSegType) {\n case SVGPathSeg.PATHSEG_ARC_ABS:\n case SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS:\n case SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS:\n case SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS:\n case SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS:\n case SVGPathSeg.PATHSEG_LINETO_ABS:\n case SVGPathSeg.PATHSEG_MOVETO_ABS:\n r.x = a.x, r.y = a.y;\n\n case SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS:\n r.x = a.x;\n break;\n\n case SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS:\n r.y = a.y;\n break;\n\n case SVGPathSeg.PATHSEG_ARC_REL:\n case SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL:\n case SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL:\n case SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL:\n case SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL:\n case SVGPathSeg.PATHSEG_LINETO_REL:\n case SVGPathSeg.PATHSEG_MOVETO_REL:\n r.x = a.x, r.y = a.y;\n\n case SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL:\n r.x = a.x;\n break;\n\n case SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL:\n r.y = a.y;\n break;\n\n case SVGPathSeg.PATHSEG_UNKNOWN:\n case SVGPathSeg.PATHSEG_CLOSEPATH:\n default:\n continue;\n }\n\n t.polygonRaw.push([r.x * t.polygon.scale + t.polygonOffsetX, r.y * t.polygon.scale + t.polygonOffsetY]);\n }\n }), t.lastCanvasWidth = t.library.canvas.width, t.lastCanvasHeight = t.library.canvas.height, t.createPath2D(), t.polygonRaw;\n });\n }\n }, {\n key: \"parseSvgPath\",\n value: function value(e) {\n return this.polygonData && this.polygonData.paths && this.polygonData.paths.length && this.polygonData.svg ? Promise.resolve(this.polygonData) : this.library.imageManager.downloadImage(e).then(function (e) {\n return {\n paths: [e.xhr.responseXML.getElementsByTagName(\"path\")[0]],\n svg: e.xhr.responseXML.getElementsByTagName(\"svg\")[0]\n };\n });\n }\n }, {\n key: \"getRandomPointOnPolygonPath\",\n value: function value() {\n if (!this.initialized) throw new Error(\"No polygon data loaded.\");\n var e = n(this.polygonRaw[Math.floor(Math.random() * this.polygonRaw.length)], 2);\n return {\n x: e[0],\n y: e[1]\n };\n }\n }, {\n key: \"getRandomPointOnPolygonPathByLength\",\n value: function value() {\n if (!this.initialized) throw new Error(\"No polygon data loaded.\");\n var e = this.polygonData.paths[0].getPointAtLength(Math.floor(Math.random() * this.polygonPathLength) + 1);\n return {\n x: e.x * this.polygon.scale + this.polygonOffsetX,\n y: e.y * this.polygon.scale + this.polygonOffsetY\n };\n }\n }, {\n key: \"getRandomPointInsidePolygonPath\",\n value: function value() {\n if (!this.initialized) throw new Error(\"No polygon data loaded.\");\n var e = {\n x: Math.random() * this.library.canvas.width,\n y: Math.random() * this.library.canvas.height\n };\n return this.isPointInsidePolygon(e) ? e : this.getRandomPointInsidePolygonPath();\n }\n }, {\n key: \"getRandomPointOutsidePolygonPath\",\n value: function value() {\n if (!this.initialized) throw new Error(\"No polygon data loaded.\");\n var e = {\n x: Math.random() * this.library.canvas.width,\n y: Math.random() * this.library.canvas.height\n };\n return this.isPointInsidePolygon(e) ? this.getRandomPointOutsidePolygonPath() : e;\n }\n }, {\n key: \"isPointInsidePolygon\",\n value: function value(e) {\n if (this.path2DSupported && this.polygonPath) return this.library.canvas.ctx.isPointInPath(this.polygonPath, e.x, e.y);\n\n for (var t = !1, i = 0, n = this.polygonRaw.length - 1; i < this.polygonRaw.length; n = i++) {\n var r = this.polygonRaw[i][0],\n a = this.polygonRaw[i][1],\n o = this.polygonRaw[n][0],\n s = this.polygonRaw[n][1];\n a > e.y != s > e.y && e.x < (o - r) * (e.y - a) / (s - a) + r && (t = !t);\n }\n\n return t;\n }\n }, {\n key: \"getPoingOnPolygonPathByIndex\",\n value: function value(e) {\n if (!this.initialized) throw new Error(\"No polygon data loaded.\");\n var t = n(this.polygonRaw[e % this.polygonRaw.length], 2);\n return {\n x: t[0],\n y: t[1]\n };\n }\n }, {\n key: \"getEquidistantPoingOnPolygonPathByIndex\",\n value: function value(e) {\n if (!this.initialized) throw new Error(\"No polygon data loaded.\");\n var t = this.polygonData.paths[0].getPointAtLength(this.polygonPathLength / this.library.getParameter(function (e) {\n return e.particles.number.value;\n }) * e);\n return {\n x: t.x * this.polygon.scale + this.polygonOffsetX,\n y: t.y * this.polygon.scale + this.polygonOffsetY\n };\n }\n }, {\n key: \"drawPolygon\",\n value: function value() {\n var e = this.library.canvas.ctx;\n\n if (!this.path2DSupported) {\n if (!this.initialized) return;\n e.beginPath(), e.moveTo(this.polygonRaw[0][0], this.polygonRaw[0][1]), this.polygonRaw.forEach(function (t, i) {\n var r = n(t, 2),\n a = r[0],\n o = r[1];\n i > 0 && e.lineTo(a, o);\n }), e.closePath();\n }\n\n e.strokeStyle = this.polygon.draw.stroke.color, e.lineWidth = this.polygon.draw.stroke.width, this.polygonPath ? e.stroke(this.polygonPath) : e.stroke();\n }\n }, {\n key: \"createPath2D\",\n value: function value() {\n var e = this;\n this.path2DSupported && (this.polygonPath = new Path2D(), this.polygonPath.moveTo(this.polygonRaw[0][0], this.polygonRaw[0][1]), this.polygonRaw.forEach(function (t, i) {\n var r = n(t, 2),\n a = r[0],\n o = r[1];\n i > 0 && e.polygonPath.lineTo(a, o);\n }), this.polygonPath.closePath());\n }\n }]) && r(t.prototype, i), a && r(t, a), e;\n }();\n\n t.PolygonMask = a;\n }, function (e, t, i) {\n var n = i(38);\n\n e.exports = function (e, t) {\n return n(e, t);\n };\n }, function (e, t, i) {\n var n = i(39),\n r = i(10);\n\n e.exports = function e(t, i, a, o, s) {\n return t === i || (null == t || null == i || !r(t) && !r(i) ? t != t && i != i : n(t, i, a, o, e, s));\n };\n }, function (e, t, i) {\n var n = i(40),\n r = i(22),\n a = i(75),\n o = i(79),\n s = i(101),\n c = i(13),\n l = i(23),\n u = i(25),\n h = \"[object Object]\",\n y = Object.prototype.hasOwnProperty;\n\n e.exports = function (e, t, i, p, f, v) {\n var d = c(e),\n b = c(t),\n g = d ? \"[object Array]\" : s(e),\n m = b ? \"[object Array]\" : s(t),\n _ = (g = \"[object Arguments]\" == g ? h : g) == h,\n P = (m = \"[object Arguments]\" == m ? h : m) == h,\n x = g == m;\n\n if (x && l(e)) {\n if (!l(t)) return !1;\n d = !0, _ = !1;\n }\n\n if (x && !_) return v || (v = new n()), d || u(e) ? r(e, t, i, p, f, v) : a(e, t, g, i, p, f, v);\n\n if (!(1 & i)) {\n var w = _ && y.call(e, \"__wrapped__\"),\n O = P && y.call(t, \"__wrapped__\");\n\n if (w || O) {\n var M = w ? e.value() : e,\n E = O ? t.value() : t;\n return v || (v = new n()), f(M, E, i, p, v);\n }\n }\n\n return !!x && (v || (v = new n()), o(e, t, i, p, f, v));\n };\n }, function (e, t, i) {\n var n = i(5),\n r = i(46),\n a = i(47),\n o = i(48),\n s = i(49),\n c = i(50);\n\n function l(e) {\n var t = this.__data__ = new n(e);\n this.size = t.size;\n }\n\n l.prototype.clear = r, l.prototype.delete = a, l.prototype.get = o, l.prototype.has = s, l.prototype.set = c, e.exports = l;\n }, function (e, t) {\n e.exports = function () {\n this.__data__ = [], this.size = 0;\n };\n }, function (e, t, i) {\n var n = i(6),\n r = Array.prototype.splice;\n\n e.exports = function (e) {\n var t = this.__data__,\n i = n(t, e);\n return !(i < 0) && (i == t.length - 1 ? t.pop() : r.call(t, i, 1), --this.size, !0);\n };\n }, function (e, t, i) {\n var n = i(6);\n\n e.exports = function (e) {\n var t = this.__data__,\n i = n(t, e);\n return i < 0 ? void 0 : t[i][1];\n };\n }, function (e, t, i) {\n var n = i(6);\n\n e.exports = function (e) {\n return n(this.__data__, e) > -1;\n };\n }, function (e, t, i) {\n var n = i(6);\n\n e.exports = function (e, t) {\n var i = this.__data__,\n r = n(i, e);\n return r < 0 ? (++this.size, i.push([e, t])) : i[r][1] = t, this;\n };\n }, function (e, t, i) {\n var n = i(5);\n\n e.exports = function () {\n this.__data__ = new n(), this.size = 0;\n };\n }, function (e, t) {\n e.exports = function (e) {\n var t = this.__data__,\n i = t.delete(e);\n return this.size = t.size, i;\n };\n }, function (e, t) {\n e.exports = function (e) {\n return this.__data__.get(e);\n };\n }, function (e, t) {\n e.exports = function (e) {\n return this.__data__.has(e);\n };\n }, function (e, t, i) {\n var n = i(5),\n r = i(11),\n a = i(21);\n\n e.exports = function (e, t) {\n var i = this.__data__;\n\n if (i instanceof n) {\n var o = i.__data__;\n if (!r || o.length < 199) return o.push([e, t]), this.size = ++i.size, this;\n i = this.__data__ = new a(o);\n }\n\n return i.set(e, t), this.size = i.size, this;\n };\n }, function (e, t, i) {\n var n = i(17),\n r = i(55),\n a = i(19),\n o = i(20),\n s = /^\\[object .+?Constructor\\]$/,\n c = Function.prototype,\n l = Object.prototype,\n u = c.toString,\n h = l.hasOwnProperty,\n y = RegExp(\"^\" + u.call(h).replace(/[\\\\^$.*+?()[\\]{}|]/g, \"\\\\$&\").replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, \"$1.*?\") + \"$\");\n\n e.exports = function (e) {\n return !(!a(e) || r(e)) && (n(e) ? y : s).test(o(e));\n };\n }, function (e, t) {\n var i;\n\n i = function () {\n return this;\n }();\n\n try {\n i = i || new Function(\"return this\")();\n } catch (e) {\n \"object\" == typeof window && (i = window);\n }\n\n e.exports = i;\n }, function (e, t, i) {\n var n = i(12),\n r = Object.prototype,\n a = r.hasOwnProperty,\n o = r.toString,\n s = n ? n.toStringTag : void 0;\n\n e.exports = function (e) {\n var t = a.call(e, s),\n i = e[s];\n\n try {\n e[s] = void 0;\n var n = !0;\n } catch (e) {}\n\n var r = o.call(e);\n return n && (t ? e[s] = i : delete e[s]), r;\n };\n }, function (e, t) {\n var i = Object.prototype.toString;\n\n e.exports = function (e) {\n return i.call(e);\n };\n }, function (e, t, i) {\n var n,\n r = i(56),\n a = (n = /[^.]+$/.exec(r && r.keys && r.keys.IE_PROTO || \"\")) ? \"Symbol(src)_1.\" + n : \"\";\n\n e.exports = function (e) {\n return !!a && a in e;\n };\n }, function (e, t, i) {\n var n = i(0)[\"__core-js_shared__\"];\n e.exports = n;\n }, function (e, t) {\n e.exports = function (e, t) {\n return null == e ? void 0 : e[t];\n };\n }, function (e, t, i) {\n var n = i(59),\n r = i(5),\n a = i(11);\n\n e.exports = function () {\n this.size = 0, this.__data__ = {\n hash: new n(),\n map: new (a || r)(),\n string: new n()\n };\n };\n }, function (e, t, i) {\n var n = i(60),\n r = i(61),\n a = i(62),\n o = i(63),\n s = i(64);\n\n function c(e) {\n var t = -1,\n i = null == e ? 0 : e.length;\n\n for (this.clear(); ++t < i;) {\n var n = e[t];\n this.set(n[0], n[1]);\n }\n }\n\n c.prototype.clear = n, c.prototype.delete = r, c.prototype.get = a, c.prototype.has = o, c.prototype.set = s, e.exports = c;\n }, function (e, t, i) {\n var n = i(8);\n\n e.exports = function () {\n this.__data__ = n ? n(null) : {}, this.size = 0;\n };\n }, function (e, t) {\n e.exports = function (e) {\n var t = this.has(e) && delete this.__data__[e];\n return this.size -= t ? 1 : 0, t;\n };\n }, function (e, t, i) {\n var n = i(8),\n r = Object.prototype.hasOwnProperty;\n\n e.exports = function (e) {\n var t = this.__data__;\n\n if (n) {\n var i = t[e];\n return \"__lodash_hash_undefined__\" === i ? void 0 : i;\n }\n\n return r.call(t, e) ? t[e] : void 0;\n };\n }, function (e, t, i) {\n var n = i(8),\n r = Object.prototype.hasOwnProperty;\n\n e.exports = function (e) {\n var t = this.__data__;\n return n ? void 0 !== t[e] : r.call(t, e);\n };\n }, function (e, t, i) {\n var n = i(8);\n\n e.exports = function (e, t) {\n var i = this.__data__;\n return this.size += this.has(e) ? 0 : 1, i[e] = n && void 0 === t ? \"__lodash_hash_undefined__\" : t, this;\n };\n }, function (e, t, i) {\n var n = i(9);\n\n e.exports = function (e) {\n var t = n(this, e).delete(e);\n return this.size -= t ? 1 : 0, t;\n };\n }, function (e, t) {\n e.exports = function (e) {\n var t = typeof e;\n return \"string\" == t || \"number\" == t || \"symbol\" == t || \"boolean\" == t ? \"__proto__\" !== e : null === e;\n };\n }, function (e, t, i) {\n var n = i(9);\n\n e.exports = function (e) {\n return n(this, e).get(e);\n };\n }, function (e, t, i) {\n var n = i(9);\n\n e.exports = function (e) {\n return n(this, e).has(e);\n };\n }, function (e, t, i) {\n var n = i(9);\n\n e.exports = function (e, t) {\n var i = n(this, e),\n r = i.size;\n return i.set(e, t), this.size += i.size == r ? 0 : 1, this;\n };\n }, function (e, t, i) {\n var n = i(21),\n r = i(71),\n a = i(72);\n\n function o(e) {\n var t = -1,\n i = null == e ? 0 : e.length;\n\n for (this.__data__ = new n(); ++t < i;) {\n this.add(e[t]);\n }\n }\n\n o.prototype.add = o.prototype.push = r, o.prototype.has = a, e.exports = o;\n }, function (e, t) {\n e.exports = function (e) {\n return this.__data__.set(e, \"__lodash_hash_undefined__\"), this;\n };\n }, function (e, t) {\n e.exports = function (e) {\n return this.__data__.has(e);\n };\n }, function (e, t) {\n e.exports = function (e, t) {\n for (var i = -1, n = null == e ? 0 : e.length; ++i < n;) {\n if (t(e[i], i, e)) return !0;\n }\n\n return !1;\n };\n }, function (e, t) {\n e.exports = function (e, t) {\n return e.has(t);\n };\n }, function (e, t, i) {\n var n = i(12),\n r = i(76),\n a = i(16),\n o = i(22),\n s = i(77),\n c = i(78),\n l = n ? n.prototype : void 0,\n u = l ? l.valueOf : void 0;\n\n e.exports = function (e, t, i, n, l, h, y) {\n switch (i) {\n case \"[object DataView]\":\n if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset) return !1;\n e = e.buffer, t = t.buffer;\n\n case \"[object ArrayBuffer]\":\n return !(e.byteLength != t.byteLength || !h(new r(e), new r(t)));\n\n case \"[object Boolean]\":\n case \"[object Date]\":\n case \"[object Number]\":\n return a(+e, +t);\n\n case \"[object Error]\":\n return e.name == t.name && e.message == t.message;\n\n case \"[object RegExp]\":\n case \"[object String]\":\n return e == t + \"\";\n\n case \"[object Map]\":\n var p = s;\n\n case \"[object Set]\":\n var f = 1 & n;\n if (p || (p = c), e.size != t.size && !f) return !1;\n var v = y.get(e);\n if (v) return v == t;\n n |= 2, y.set(e, t);\n var d = o(p(e), p(t), n, l, h, y);\n return y.delete(e), d;\n\n case \"[object Symbol]\":\n if (u) return u.call(e) == u.call(t);\n }\n\n return !1;\n };\n }, function (e, t, i) {\n var n = i(0).Uint8Array;\n e.exports = n;\n }, function (e, t) {\n e.exports = function (e) {\n var t = -1,\n i = Array(e.size);\n return e.forEach(function (e, n) {\n i[++t] = [n, e];\n }), i;\n };\n }, function (e, t) {\n e.exports = function (e) {\n var t = -1,\n i = Array(e.size);\n return e.forEach(function (e) {\n i[++t] = e;\n }), i;\n };\n }, function (e, t, i) {\n var n = i(80),\n r = Object.prototype.hasOwnProperty;\n\n e.exports = function (e, t, i, a, o, s) {\n var c = 1 & i,\n l = n(e),\n u = l.length;\n if (u != n(t).length && !c) return !1;\n\n for (var h = u; h--;) {\n var y = l[h];\n if (!(c ? y in t : r.call(t, y))) return !1;\n }\n\n var p = s.get(e);\n if (p && s.get(t)) return p == t;\n var f = !0;\n s.set(e, t), s.set(t, e);\n\n for (var v = c; ++h < u;) {\n var d = e[y = l[h]],\n b = t[y];\n if (a) var g = c ? a(b, d, y, t, e, s) : a(d, b, y, e, t, s);\n\n if (!(void 0 === g ? d === b || o(d, b, i, a, s) : g)) {\n f = !1;\n break;\n }\n\n v || (v = \"constructor\" == y);\n }\n\n if (f && !v) {\n var m = e.constructor,\n _ = t.constructor;\n m != _ && \"constructor\" in e && \"constructor\" in t && !(\"function\" == typeof m && m instanceof m && \"function\" == typeof _ && _ instanceof _) && (f = !1);\n }\n\n return s.delete(e), s.delete(t), f;\n };\n }, function (e, t, i) {\n var n = i(81),\n r = i(83),\n a = i(86);\n\n e.exports = function (e) {\n return n(e, a, r);\n };\n }, function (e, t, i) {\n var n = i(82),\n r = i(13);\n\n e.exports = function (e, t, i) {\n var a = t(e);\n return r(e) ? a : n(a, i(e));\n };\n }, function (e, t) {\n e.exports = function (e, t) {\n for (var i = -1, n = t.length, r = e.length; ++i < n;) {\n e[r + i] = t[i];\n }\n\n return e;\n };\n }, function (e, t, i) {\n var n = i(84),\n r = i(85),\n a = Object.prototype.propertyIsEnumerable,\n o = Object.getOwnPropertySymbols,\n s = o ? function (e) {\n return null == e ? [] : (e = Object(e), n(o(e), function (t) {\n return a.call(e, t);\n }));\n } : r;\n e.exports = s;\n }, function (e, t) {\n e.exports = function (e, t) {\n for (var i = -1, n = null == e ? 0 : e.length, r = 0, a = []; ++i < n;) {\n var o = e[i];\n t(o, i, e) && (a[r++] = o);\n }\n\n return a;\n };\n }, function (e, t) {\n e.exports = function () {\n return [];\n };\n }, function (e, t, i) {\n var n = i(87),\n r = i(96),\n a = i(100);\n\n e.exports = function (e) {\n return a(e) ? n(e) : r(e);\n };\n }, function (e, t, i) {\n var n = i(88),\n r = i(89),\n a = i(13),\n o = i(23),\n s = i(92),\n c = i(25),\n l = Object.prototype.hasOwnProperty;\n\n e.exports = function (e, t) {\n var i = a(e),\n u = !i && r(e),\n h = !i && !u && o(e),\n y = !i && !u && !h && c(e),\n p = i || u || h || y,\n f = p ? n(e.length, String) : [],\n v = f.length;\n\n for (var d in e) {\n !t && !l.call(e, d) || p && (\"length\" == d || h && (\"offset\" == d || \"parent\" == d) || y && (\"buffer\" == d || \"byteLength\" == d || \"byteOffset\" == d) || s(d, v)) || f.push(d);\n }\n\n return f;\n };\n }, function (e, t) {\n e.exports = function (e, t) {\n for (var i = -1, n = Array(e); ++i < e;) {\n n[i] = t(i);\n }\n\n return n;\n };\n }, function (e, t, i) {\n var n = i(90),\n r = i(10),\n a = Object.prototype,\n o = a.hasOwnProperty,\n s = a.propertyIsEnumerable,\n c = n(function () {\n return arguments;\n }()) ? n : function (e) {\n return r(e) && o.call(e, \"callee\") && !s.call(e, \"callee\");\n };\n e.exports = c;\n }, function (e, t, i) {\n var n = i(7),\n r = i(10);\n\n e.exports = function (e) {\n return r(e) && \"[object Arguments]\" == n(e);\n };\n }, function (e, t) {\n e.exports = function () {\n return !1;\n };\n }, function (e, t) {\n var i = /^(?:0|[1-9]\\d*)$/;\n\n e.exports = function (e, t) {\n var n = typeof e;\n return !!(t = null == t ? 9007199254740991 : t) && (\"number\" == n || \"symbol\" != n && i.test(e)) && e > -1 && e % 1 == 0 && e < t;\n };\n }, function (e, t, i) {\n var n = i(7),\n r = i(26),\n a = i(10),\n o = {};\n o[\"[object Float32Array]\"] = o[\"[object Float64Array]\"] = o[\"[object Int8Array]\"] = o[\"[object Int16Array]\"] = o[\"[object Int32Array]\"] = o[\"[object Uint8Array]\"] = o[\"[object Uint8ClampedArray]\"] = o[\"[object Uint16Array]\"] = o[\"[object Uint32Array]\"] = !0, o[\"[object Arguments]\"] = o[\"[object Array]\"] = o[\"[object ArrayBuffer]\"] = o[\"[object Boolean]\"] = o[\"[object DataView]\"] = o[\"[object Date]\"] = o[\"[object Error]\"] = o[\"[object Function]\"] = o[\"[object Map]\"] = o[\"[object Number]\"] = o[\"[object Object]\"] = o[\"[object RegExp]\"] = o[\"[object Set]\"] = o[\"[object String]\"] = o[\"[object WeakMap]\"] = !1, e.exports = function (e) {\n return a(e) && r(e.length) && !!o[n(e)];\n };\n }, function (e, t) {\n e.exports = function (e) {\n return function (t) {\n return e(t);\n };\n };\n }, function (e, t, i) {\n (function (e) {\n var n = i(18),\n r = t && !t.nodeType && t,\n a = r && \"object\" == typeof e && e && !e.nodeType && e,\n o = a && a.exports === r && n.process,\n s = function () {\n try {\n var e = a && a.require && a.require(\"util\").types;\n\n return e || o && o.binding && o.binding(\"util\");\n } catch (e) {}\n }();\n\n e.exports = s;\n }).call(this, i(24)(e));\n }, function (e, t, i) {\n var n = i(97),\n r = i(98),\n a = Object.prototype.hasOwnProperty;\n\n e.exports = function (e) {\n if (!n(e)) return r(e);\n var t = [];\n\n for (var i in Object(e)) {\n a.call(e, i) && \"constructor\" != i && t.push(i);\n }\n\n return t;\n };\n }, function (e, t) {\n var i = Object.prototype;\n\n e.exports = function (e) {\n var t = e && e.constructor;\n return e === (\"function\" == typeof t && t.prototype || i);\n };\n }, function (e, t, i) {\n var n = i(99)(Object.keys, Object);\n e.exports = n;\n }, function (e, t) {\n e.exports = function (e, t) {\n return function (i) {\n return e(t(i));\n };\n };\n }, function (e, t, i) {\n var n = i(17),\n r = i(26);\n\n e.exports = function (e) {\n return null != e && r(e.length) && !n(e);\n };\n }, function (e, t, i) {\n var n = i(102),\n r = i(11),\n a = i(103),\n o = i(104),\n s = i(105),\n c = i(7),\n l = i(20),\n u = l(n),\n h = l(r),\n y = l(a),\n p = l(o),\n f = l(s),\n v = c;\n (n && \"[object DataView]\" != v(new n(new ArrayBuffer(1))) || r && \"[object Map]\" != v(new r()) || a && \"[object Promise]\" != v(a.resolve()) || o && \"[object Set]\" != v(new o()) || s && \"[object WeakMap]\" != v(new s())) && (v = function v(e) {\n var t = c(e),\n i = \"[object Object]\" == t ? e.constructor : void 0,\n n = i ? l(i) : \"\";\n if (n) switch (n) {\n case u:\n return \"[object DataView]\";\n\n case h:\n return \"[object Map]\";\n\n case y:\n return \"[object Promise]\";\n\n case p:\n return \"[object Set]\";\n\n case f:\n return \"[object WeakMap]\";\n }\n return t;\n }), e.exports = v;\n }, function (e, t, i) {\n var n = i(3)(i(0), \"DataView\");\n e.exports = n;\n }, function (e, t, i) {\n var n = i(3)(i(0), \"Promise\");\n e.exports = n;\n }, function (e, t, i) {\n var n = i(3)(i(0), \"Set\");\n e.exports = n;\n }, function (e, t, i) {\n var n = i(3)(i(0), \"WeakMap\");\n e.exports = n;\n }]);\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = {\n /*\r\n * https://github.com/oblador/angular-scroll (duScrollDefaultEasing)\r\n */\n defaultEasing: function defaultEasing(x) {\n if (x < 0.5) {\n return Math.pow(x * 2, 2) / 2;\n }\n\n return 1 - Math.pow((1 - x) * 2, 2) / 2;\n },\n\n /*\r\n * https://gist.github.com/gre/1650294\r\n */\n // no easing, no acceleration\n linear: function linear(x) {\n return x;\n },\n // accelerating from zero velocity\n easeInQuad: function easeInQuad(x) {\n return x * x;\n },\n // decelerating to zero velocity\n easeOutQuad: function easeOutQuad(x) {\n return x * (2 - x);\n },\n // acceleration until halfway, then deceleration\n easeInOutQuad: function easeInOutQuad(x) {\n return x < .5 ? 2 * x * x : -1 + (4 - 2 * x) * x;\n },\n // accelerating from zero velocity \n easeInCubic: function easeInCubic(x) {\n return x * x * x;\n },\n // decelerating to zero velocity π\n easeOutCubic: function easeOutCubic(x) {\n return --x * x * x + 1;\n },\n // acceleration until halfway, then deceleration \n easeInOutCubic: function easeInOutCubic(x) {\n return x < .5 ? 4 * x * x * x : (x - 1) * (2 * x - 2) * (2 * x - 2) + 1;\n },\n // accelerating from zero velocity \n easeInQuart: function easeInQuart(x) {\n return x * x * x * x;\n },\n // decelerating to zero velocity \n easeOutQuart: function easeOutQuart(x) {\n return 1 - --x * x * x * x;\n },\n // acceleration until halfway, then deceleration\n easeInOutQuart: function easeInOutQuart(x) {\n return x < .5 ? 8 * x * x * x * x : 1 - 8 * --x * x * x * x;\n },\n // accelerating from zero velocity\n easeInQuint: function easeInQuint(x) {\n return x * x * x * x * x;\n },\n // decelerating to zero velocity\n easeOutQuint: function easeOutQuint(x) {\n return 1 + --x * x * x * x * x;\n },\n // acceleration until halfway, then deceleration \n easeInOutQuint: function easeInOutQuint(x) {\n return x < .5 ? 16 * x * x * x * x * x : 1 + 16 * --x * x * x * x * x;\n }\n};","/*!\n Copyright (c) 2015 Jed Watson.\n Based on code that is Copyright 2013-2015, Facebook, Inc.\n All rights reserved.\n*/\n\n/* global define */\n(function () {\n 'use strict';\n\n var canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\n var ExecutionEnvironment = {\n canUseDOM: canUseDOM,\n canUseWorkers: typeof Worker !== 'undefined',\n canUseEventListeners: canUseDOM && !!(window.addEventListener || window.attachEvent),\n canUseViewport: canUseDOM && !!window.screen\n };\n\n if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n define(function () {\n return ExecutionEnvironment;\n });\n } else if (typeof module !== 'undefined' && module.exports) {\n module.exports = ExecutionEnvironment;\n } else {\n window.ExecutionEnvironment = ExecutionEnvironment;\n }\n})();","\"use strict\";\n/* DEPRECATED */\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 _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\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _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\nfunction _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 React = require('react');\n\nvar ReactDOM = require('react-dom');\n\nvar utils = require('./utils');\n\nvar scrollSpy = require('./scroll-spy');\n\nvar defaultScroller = require('./scroller');\n\nvar PropTypes = require('prop-types');\n\nvar scrollHash = require('./scroll-hash');\n\nvar protoTypes = {\n to: PropTypes.string.isRequired,\n containerId: PropTypes.string,\n container: PropTypes.object,\n activeClass: PropTypes.string,\n spy: PropTypes.bool,\n smooth: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),\n offset: PropTypes.number,\n delay: PropTypes.number,\n isDynamic: PropTypes.bool,\n onClick: PropTypes.func,\n duration: PropTypes.oneOfType([PropTypes.number, PropTypes.func]),\n absolute: PropTypes.bool,\n onSetActive: PropTypes.func,\n onSetInactive: PropTypes.func,\n ignoreCancelEvents: PropTypes.bool,\n hashSpy: PropTypes.bool\n};\nvar Helpers = {\n Scroll: function Scroll(Component, customScroller) {\n console.warn(\"Helpers.Scroll is deprecated since v1.7.0\");\n var scroller = customScroller || defaultScroller;\n\n var Scroll = function (_React$Component) {\n _inherits(Scroll, _React$Component);\n\n function Scroll(props) {\n _classCallCheck(this, Scroll);\n\n var _this = _possibleConstructorReturn(this, (Scroll.__proto__ || Object.getPrototypeOf(Scroll)).call(this, props));\n\n _initialiseProps.call(_this);\n\n _this.state = {\n active: false\n };\n return _this;\n }\n\n _createClass(Scroll, [{\n key: 'getScrollSpyContainer',\n value: function getScrollSpyContainer() {\n var containerId = this.props.containerId;\n var container = this.props.container;\n\n if (containerId) {\n return document.getElementById(containerId);\n }\n\n if (container && container.nodeType) {\n return container;\n }\n\n return document;\n }\n }, {\n key: 'componentDidMount',\n value: function componentDidMount() {\n if (this.props.spy || this.props.hashSpy) {\n var scrollSpyContainer = this.getScrollSpyContainer();\n\n if (!scrollSpy.isMounted(scrollSpyContainer)) {\n scrollSpy.mount(scrollSpyContainer);\n }\n\n if (this.props.hashSpy) {\n if (!scrollHash.isMounted()) {\n scrollHash.mount(scroller);\n }\n\n scrollHash.mapContainer(this.props.to, scrollSpyContainer);\n }\n\n if (this.props.spy) {\n scrollSpy.addStateHandler(this.stateHandler);\n }\n\n scrollSpy.addSpyHandler(this.spyHandler, scrollSpyContainer);\n this.setState({\n container: scrollSpyContainer\n });\n }\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n scrollSpy.unmount(this.stateHandler, this.spyHandler);\n }\n }, {\n key: 'render',\n value: function render() {\n var className = \"\";\n\n if (this.state && this.state.active) {\n className = ((this.props.className || \"\") + \" \" + (this.props.activeClass || \"active\")).trim();\n } else {\n className = this.props.className;\n }\n\n var props = _extends({}, this.props);\n\n for (var prop in protoTypes) {\n if (props.hasOwnProperty(prop)) {\n delete props[prop];\n }\n }\n\n props.className = className;\n props.onClick = this.handleClick;\n return React.createElement(Component, props);\n }\n }]);\n\n return Scroll;\n }(React.Component);\n\n var _initialiseProps = function _initialiseProps() {\n var _this2 = this;\n\n this.scrollTo = function (to, props) {\n scroller.scrollTo(to, _extends({}, _this2.state, props));\n };\n\n this.handleClick = function (event) {\n /*\r\n * give the posibility to override onClick\r\n */\n if (_this2.props.onClick) {\n _this2.props.onClick(event);\n }\n /*\r\n * dont bubble the navigation\r\n */\n\n\n if (event.stopPropagation) event.stopPropagation();\n if (event.preventDefault) event.preventDefault();\n /*\r\n * do the magic!\r\n */\n\n _this2.scrollTo(_this2.props.to, _this2.props);\n };\n\n this.stateHandler = function () {\n if (scroller.getActiveLink() !== _this2.props.to) {\n if (_this2.state !== null && _this2.state.active && _this2.props.onSetInactive) {\n _this2.props.onSetInactive();\n }\n\n _this2.setState({\n active: false\n });\n }\n };\n\n this.spyHandler = function (y) {\n var scrollSpyContainer = _this2.getScrollSpyContainer();\n\n if (scrollHash.isMounted() && !scrollHash.isInitialized()) {\n return;\n }\n\n var to = _this2.props.to;\n var element = null;\n var elemTopBound = 0;\n var elemBottomBound = 0;\n var containerTop = 0;\n\n if (scrollSpyContainer.getBoundingClientRect) {\n var containerCords = scrollSpyContainer.getBoundingClientRect();\n containerTop = containerCords.top;\n }\n\n if (!element || _this2.props.isDynamic) {\n element = scroller.get(to);\n\n if (!element) {\n return;\n }\n\n var cords = element.getBoundingClientRect();\n elemTopBound = cords.top - containerTop + y;\n elemBottomBound = elemTopBound + cords.height;\n }\n\n var offsetY = y - _this2.props.offset;\n var isInside = offsetY >= Math.floor(elemTopBound) && offsetY < Math.floor(elemBottomBound);\n var isOutside = offsetY < Math.floor(elemTopBound) || offsetY >= Math.floor(elemBottomBound);\n var activeLink = scroller.getActiveLink();\n\n if (isOutside) {\n if (to === activeLink) {\n scroller.setActiveLink(void 0);\n }\n\n if (_this2.props.hashSpy && scrollHash.getHash() === to) {\n scrollHash.changeHash();\n }\n\n if (_this2.props.spy && _this2.state.active) {\n _this2.setState({\n active: false\n });\n\n _this2.props.onSetInactive && _this2.props.onSetInactive();\n }\n\n return scrollSpy.updateStates();\n }\n\n if (isInside && activeLink !== to) {\n scroller.setActiveLink(to);\n _this2.props.hashSpy && scrollHash.changeHash(to);\n\n if (_this2.props.spy) {\n _this2.setState({\n active: true\n });\n\n _this2.props.onSetActive && _this2.props.onSetActive(to);\n }\n\n return scrollSpy.updateStates();\n }\n };\n };\n\n ;\n Scroll.propTypes = protoTypes;\n Scroll.defaultProps = {\n offset: 0\n };\n return Scroll;\n },\n Element: function Element(Component) {\n console.warn(\"Helpers.Element is deprecated since v1.7.0\");\n\n var Element = function (_React$Component2) {\n _inherits(Element, _React$Component2);\n\n function Element(props) {\n _classCallCheck(this, Element);\n\n var _this3 = _possibleConstructorReturn(this, (Element.__proto__ || Object.getPrototypeOf(Element)).call(this, props));\n\n _this3.childBindings = {\n domNode: null\n };\n return _this3;\n }\n\n _createClass(Element, [{\n key: 'componentDidMount',\n value: function componentDidMount() {\n if (typeof window === 'undefined') {\n return false;\n }\n\n this.registerElems(this.props.name);\n }\n }, {\n key: 'componentDidUpdate',\n value: function componentDidUpdate(prevProps) {\n if (this.props.name !== prevProps.name) {\n this.registerElems(this.props.name);\n }\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n if (typeof window === 'undefined') {\n return false;\n }\n\n defaultScroller.unregister(this.props.name);\n }\n }, {\n key: 'registerElems',\n value: function registerElems(name) {\n defaultScroller.register(name, this.childBindings.domNode);\n }\n }, {\n key: 'render',\n value: function render() {\n return React.createElement(Component, _extends({}, this.props, {\n parentBindings: this.childBindings\n }));\n }\n }]);\n\n return Element;\n }(React.Component);\n\n ;\n Element.propTypes = {\n name: PropTypes.string,\n id: PropTypes.string\n };\n return Element;\n }\n};\nmodule.exports = Helpers;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\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 _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _scrollLink = require('../mixins/scroll-link');\n\nvar _scrollLink2 = _interopRequireDefault(_scrollLink);\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _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\nfunction _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 ButtonElement = function (_React$Component) {\n _inherits(ButtonElement, _React$Component);\n\n function ButtonElement() {\n _classCallCheck(this, ButtonElement);\n\n return _possibleConstructorReturn(this, (ButtonElement.__proto__ || Object.getPrototypeOf(ButtonElement)).apply(this, arguments));\n }\n\n _createClass(ButtonElement, [{\n key: 'render',\n value: function render() {\n return _react2.default.createElement('input', this.props, this.props.children);\n }\n }]);\n\n return ButtonElement;\n}(_react2.default.Component);\n\n;\nexports.default = (0, _scrollLink2.default)(ButtonElement);","'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\nvar ExecutionEnvironment = _interopDefault(require('exenv'));\n\nvar shallowEqual = _interopDefault(require('shallowequal'));\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _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\nfunction _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\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 = void 0;\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 = function (_Component) {\n _inherits(SideEffect, _Component);\n\n function SideEffect() {\n _classCallCheck(this, SideEffect);\n\n return _possibleConstructorReturn(this, _Component.apply(this, arguments));\n } // Try to use displayName of wrapped component\n\n\n SideEffect.peek = function peek() {\n return state;\n }; // Expose canUseDOM so tests can monkeypatch it\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 SideEffect.prototype.shouldComponentUpdate = function shouldComponentUpdate(nextProps) {\n return !shallowEqual(nextProps, this.props);\n };\n\n SideEffect.prototype.componentWillMount = function componentWillMount() {\n mountedInstances.push(this);\n emitChange();\n };\n\n SideEffect.prototype.componentDidUpdate = function componentDidUpdate() {\n emitChange();\n };\n\n SideEffect.prototype.componentWillUnmount = function componentWillUnmount() {\n var index = mountedInstances.indexOf(this);\n mountedInstances.splice(index, 1);\n emitChange();\n };\n\n SideEffect.prototype.render = function render() {\n return React__default.createElement(WrappedComponent, this.props);\n };\n\n return SideEffect;\n }(React.Component);\n\n SideEffect.displayName = 'SideEffect(' + getDisplayName(WrappedComponent) + ')';\n SideEffect.canUseDOM = ExecutionEnvironment.canUseDOM;\n return SideEffect;\n };\n}\n\nmodule.exports = withSideEffect;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _passiveEventListeners = require('./passive-event-listeners');\n\nvar events = ['mousedown', 'mousewheel', 'touchmove', 'keydown'];\nexports.default = {\n subscribe: function subscribe(cancelEvent) {\n return typeof document !== 'undefined' && events.forEach(function (event) {\n return (0, _passiveEventListeners.addPassiveEventListener)(document, event, cancelEvent);\n });\n }\n};","import { Link } from \"react-scroll\"\nimport PropTypes from \"prop-types\"\nimport React,{useState, useLayoutEffect} from \"react\"\nimport HamburgerMenu from \"react-hamburger-menu\"\n\nimport \"./header.scss\";\n\nconst Header = ({ siteTitle }) => { \n const [isOnTop, setIsOnTop] = useState(true);\n\n const [isHamburgerOpen, setHamburger] = useState(false);\n\n useScrollPosition(( currPos ) => {\n if (currPos.y !== 0) setIsOnTop(false);\n else setIsOnTop(true);\n if(Math.abs(document.querySelector('#home-page').getBoundingClientRect().top) <= window.innerHeight/1.8){\n toggleActive('home-page')\n }\n else if(Math.abs(document.querySelector('#about-me').getBoundingClientRect().top) <= window.innerHeight/1.8){\n toggleActive('about-me')\n }\n else if(Math.abs(document.querySelector('#projects').getBoundingClientRect().top) <= window.innerHeight/1.8){\n toggleActive('projects')\n }\n else if(Math.abs(document.querySelector('#experience').getBoundingClientRect().top) <= window.innerHeight/1.8){\n toggleActive('experience')\n }\n if(Math.abs(document.querySelector('#contact').getBoundingClientRect().top) <= window.innerHeight/1.5){\n toggleActive('contact')\n }\n }, null, null, true)\n \n function handleHambrugerClick(){\n setHamburger(!isHamburgerOpen)\n var menu = document.querySelector(\".mobile-menu\");\n if(menu.className === \"mobile-menu\" || menu.className === \"mobile-menu closed\"){\n menu.className = \"mobile-menu open\"\n } \n else{\n menu.className = \"mobile-menu closed\"\n }\n\n }\n\n return <header className={!isOnTop ? 'active' : ''}>\n <nav>\n <Link smooth={true} duration = {300} to = \"home-page\">\n <div className = \"logo-container\">\n </div>\n </Link>\n <ul className = \"nav-buttons\">\n <li className = \"active\" id=\"home-button\"><Link smooth={true} duration = {300} to = \"home-page\">Home</Link></li>\n <li>|</li>\n <li id=\"about-button\"><Link smooth={true} duration = {300} to = \"about-me\">About</Link></li>\n <li>|</li>\n <li id=\"projects-button\"><Link smooth={true} duration = {300} to = \"projects\">Projects</Link></li>\n <li>|</li>\n <li id=\"experience-button\"><Link smooth={true} duration = {300} to = \"experience\">Experience</Link></li>\n <li>|</li>\n <li id=\"contact-button\"><Link smooth={true} duration = {300} to = \"contact\">Contact</Link></li>\n </ul>\n <div class = \"hamburger\">\n <HamburgerMenu\n isOpen={isHamburgerOpen}\n menuClicked={handleHambrugerClick}\n width={20}\n height={20}\n strokeWidth={1}\n rotate={0}\n color='black'\n borderRadius={0}\n animationDuration={0.2}\n />\n </div>\n </nav>\n <ul className = \"mobile-menu\">\n <li className = \"active\"><Link to = \"home-page\" smooth={true} duration = {300}>Home</Link></li>\n <li><Link to = \"about-me\" smooth={true} duration = {300}>About Me</Link></li>\n <li><Link to = \"projects\" smooth={true} duration = {300}>Projects</Link></li>\n <li><Link to = \"experience\" smooth={true} duration = {300}>Experience</Link></li>\n <li><Link to = \"contact\" smooth={true} duration = {300}>Contact</Link></li>\n </ul>\n </header>\n}\n\nfunction getScrollPosition({ element, useWindow }) {\n const isBrowser = typeof window !== `undefined`\n if (!isBrowser) return { x: 0, y: 0 }\n\n const target = element ? element.current : document.body\n const position = target.getBoundingClientRect()\n var winheight= window.innerHeight || (document.documentElement || document.body).clientHeight\n var pctScrolled = Math.floor(window.scrollY/winheight * 100)\n return useWindow\n ? { x: window.scrollX, y: pctScrolled }\n : { x: position.left, y: position.top }\n}\n\nfunction useScrollPosition(effect, deps, element, useWindow, wait) {\n\n\n const callBack = () => {\n const currPos = getScrollPosition({ element, useWindow })\n effect(currPos)\n }\n useLayoutEffect(() => {\n\n window.addEventListener('scroll', callBack)\n\n return () => window.removeEventListener('scroll', callBack)\n })\n}\n\nHeader.propTypes = {\n siteTitle: PropTypes.string,\n}\n\nHeader.defaultProps = {\n siteTitle: ``,\n}\n\nfunction toggleActive(cur){\n var items = ['home-page', 'about-me', 'projects', 'experience', 'contact'];\n var nav = document.querySelector('.nav-buttons');\n var mobile = document.querySelector('.mobile-menu');\n \n items.forEach((item, index) =>{\n if(item == cur){\n nav.childNodes[index*2].className = 'active'; \n mobile.childNodes[index].className = 'active';\n }\n else{\n nav.childNodes[index*2].className = ''; \n mobile.childNodes[index].className = '';\n }\n });\n}\n\nexport default Header\n","import React from 'react'\nimport Particles from \"react-particles-js\"\n\nimport './contact.scss'\n\nimport LinkedinIcon from '../images/Linkedin.png'\nimport GitHubIcon from '../images/Github.png'\nimport EmailIcon from '../images/Email.png'\nexport default function Contact(){\n return (<div class = \"contact\">\n <Particles \n width = \"100%\"\n height = \"100%\"\n style = {{position: \"absolute\", left: 0, top: 0}}\n params = {{\"particles\": {\n \"number\": {\n \"value\": 150,\n \"density\": {\n \"enable\": true,\n \"value_area\": 800\n }\n },\n \"color\": {\n \"value\": \"#ffffff\"\n },\n \"shape\": {\n \"type\": \"circle\",\n \"stroke\": {\n \"width\": 0,\n \"color\": \"#000000\"\n },\n \"polygon\": {\n \"nb_sides\": 3\n }\n },\n \"opacity\": {\n \"value\": 0.8,\n \"random\": false,\n \"anim\": {\n \"enable\": false,\n \"speed\": 1,\n \"opacity_min\": 0.8,\n \"sync\": false\n }\n },\n \"size\": {\n \"value\": 3,\n \"random\": true,\n \"anim\": {\n \"enable\": false,\n \"speed\": 20,\n \"size_min\": 0.1,\n \"sync\": false\n }\n },\n \"line_linked\": {\n \"enable\": true,\n \"distance\": 150,\n \"color\": \"#ffffff\",\n \"opacity\": 0.5,\n \"width\": 1\n },\n \"move\": {\n \"enable\": true,\n \"speed\": 1,\n \"direction\": \"none\",\n \"random\": false,\n \"straight\": false,\n \"out_mode\": \"out\",\n \"bounce\": false,\n \"attract\": {\n \"enable\": false,\n \"rotateX\": 600,\n \"rotateY\": 1200\n }\n }\n },\n \"interactivity\": {\n \"detect_on\": \"canvas\",\n \"events\": {\n \"onhover\": {\n \"enable\": true,\n \"mode\": \"grab\"\n },\n \"onclick\": {\n \"enable\": true,\n \"mode\": \"push\"\n },\n \"resize\": true\n },\n \"modes\": {\n \"grab\": {\n \"distance\": 140,\n \"line_linked\": {\n \"opacity\": 1\n }\n },\n \"bubble\": {\n \"distance\": 400,\n \"size\": 40,\n \"duration\": 2,\n \"opacity\": 8,\n \"speed\": 3\n },\n \"repulse\": {\n \"distance\": 200,\n \"duration\": 0.4\n },\n \"push\": {\n \"particles_nb\": 4\n },\n \"remove\": {\n \"particles_nb\": 2\n }\n }\n },\n \"retina_detect\": true\n }}\n />\n <div className = \"contact-content\">\n <h1>CONTACT ME</h1>\n <SocialMedia />\n <p>Email: arsenohanyan@gmail.com</p>\n <p>Tel: 818-518-7085</p>\n <br />\n <p>© Arsen Ohanyan</p>\n </div>\n </div>)\n}\n\nfunction SocialMedia(){\n return(<div className = \"social-media\">\n <a href = \"https://www.linkedin.com/in/ohharsen\" target = \"_blank\"><img src = {LinkedinIcon}/></a>\n <a href = \"https://github.com/4R53N\" target = \"_blank\"><img src = {GitHubIcon}/></a>\n <a href = \"mailto:arsenohanyan@gmail.com\"><img src = {EmailIcon}/></a>\n </div>)\n}","/**\n * Layout component that queries for data\n * with Gatsby's useStaticQuery component\n *\n * See: https://www.gatsbyjs.org/docs/use-static-query/\n */\n\nimport React from \"react\"\nimport PropTypes from \"prop-types\"\nimport { useStaticQuery, graphql } from \"gatsby\"\n\nimport Header from \"./header\"\nimport Contact from \"../components/contact\"\nimport \"./layout.scss\"\n\nconst Layout = ({ children }) => {\n const data = useStaticQuery(graphql`\n query SiteTitleQuery {\n site {\n siteMetadata {\n title\n }\n }\n }\n `)\n\n return (\n <>\n <Header siteTitle={data.site.siteMetadata.title} />\n <div\n style={{\n margin: `0 auto`,\n width: \"100%\",\n paddingTop: 0,\n }}\n id=\"home-page\"\n >\n <main>{children}</main>\n <footer>\n <Contact /> \n </footer>\n </div>\n </>\n )\n}\n\nLayout.propTypes = {\n children: PropTypes.node.isRequired,\n}\n\nexport default Layout\n","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _passiveEventListeners = require('./passive-event-listeners');\n\nvar _utils = require('./utils');\n\nvar _utils2 = _interopRequireDefault(_utils);\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\n\nvar scrollHash = {\n mountFlag: false,\n initialized: false,\n scroller: null,\n containers: {},\n mount: function mount(scroller) {\n this.scroller = scroller;\n this.handleHashChange = this.handleHashChange.bind(this);\n window.addEventListener('hashchange', this.handleHashChange);\n this.initStateFromHash();\n this.mountFlag = true;\n },\n mapContainer: function mapContainer(to, container) {\n this.containers[to] = container;\n },\n isMounted: function isMounted() {\n return this.mountFlag;\n },\n isInitialized: function isInitialized() {\n return this.initialized;\n },\n initStateFromHash: function initStateFromHash() {\n var _this = this;\n\n var hash = this.getHash();\n\n if (hash) {\n window.setTimeout(function () {\n _this.scrollTo(hash, true);\n\n _this.initialized = true;\n }, 10);\n } else {\n this.initialized = true;\n }\n },\n scrollTo: function scrollTo(to, isInit) {\n var scroller = this.scroller;\n var element = scroller.get(to);\n\n if (element && (isInit || to !== scroller.getActiveLink())) {\n var container = this.containers[to] || document;\n scroller.scrollTo(to, {\n container: container\n });\n }\n },\n getHash: function getHash() {\n return _utils2.default.getHash();\n },\n changeHash: function changeHash(to, saveHashHistory) {\n if (this.isInitialized() && _utils2.default.getHash() !== to) {\n _utils2.default.updateHash(to, saveHashHistory);\n }\n },\n handleHashChange: function handleHashChange() {\n this.scrollTo(this.getHash());\n },\n unmount: function unmount() {\n this.scroller = null;\n this.containers = null;\n window.removeEventListener('hashchange', this.handleHashChange);\n }\n};\nexports.default = scrollHash;","//\nmodule.exports = function shallowEqual(objA, objB, compare, compareContext) {\n var ret = compare ? compare.call(compareContext, objA, objB) : void 0;\n\n if (ret !== void 0) {\n return !!ret;\n }\n\n if (objA === objB) {\n return true;\n }\n\n if (typeof objA !== \"object\" || !objA || typeof objB !== \"object\" || !objB) {\n return false;\n }\n\n var keysA = Object.keys(objA);\n var keysB = Object.keys(objB);\n\n if (keysA.length !== keysB.length) {\n return false;\n }\n\n var bHasOwnProperty = Object.prototype.hasOwnProperty.bind(objB); // Test for A's keys different from B.\n\n for (var idx = 0; idx < keysA.length; idx++) {\n var key = keysA[idx];\n\n if (!bHasOwnProperty(key)) {\n return false;\n }\n\n var valueA = objA[key];\n var valueB = objB[key];\n ret = compare ? compare.call(compareContext, valueA, valueB, key) : void 0;\n\n if (ret === false || ret === void 0 && valueA !== valueB) {\n return false;\n }\n }\n\n return true;\n};","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\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 _utils = require('./utils');\n\nvar _utils2 = _interopRequireDefault(_utils);\n\nvar _smooth = require('./smooth');\n\nvar _smooth2 = _interopRequireDefault(_smooth);\n\nvar _cancelEvents = require('./cancel-events');\n\nvar _cancelEvents2 = _interopRequireDefault(_cancelEvents);\n\nvar _scrollEvents = require('./scroll-events');\n\nvar _scrollEvents2 = _interopRequireDefault(_scrollEvents);\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\n/*\r\n * Gets the easing type from the smooth prop within options.\r\n */\n\n\nvar getAnimationType = function getAnimationType(options) {\n return _smooth2.default[options.smooth] || _smooth2.default.defaultEasing;\n};\n/*\r\n * Function helper\r\n */\n\n\nvar functionWrapper = function functionWrapper(value) {\n return typeof value === 'function' ? value : function () {\n return value;\n };\n};\n/*\r\n * Wraps window properties to allow server side rendering\r\n */\n\n\nvar currentWindowProperties = function currentWindowProperties() {\n if (typeof window !== 'undefined') {\n return window.requestAnimationFrame || window.webkitRequestAnimationFrame;\n }\n};\n/*\r\n * Helper function to never extend 60fps on the webpage.\r\n */\n\n\nvar requestAnimationFrameHelper = function () {\n return currentWindowProperties() || function (callback, element, delay) {\n window.setTimeout(callback, delay || 1000 / 60, new Date().getTime());\n };\n}();\n\nvar makeData = function makeData() {\n return {\n currentPosition: 0,\n startPosition: 0,\n targetPosition: 0,\n progress: 0,\n duration: 0,\n cancel: false,\n target: null,\n containerElement: null,\n to: null,\n start: null,\n delta: null,\n percent: null,\n delayTimeout: null\n };\n};\n\nvar currentPositionX = function currentPositionX(options) {\n var containerElement = options.data.containerElement;\n\n if (containerElement && containerElement !== document && containerElement !== document.body) {\n return containerElement.scrollLeft;\n } else {\n var supportPageOffset = window.pageXOffset !== undefined;\n var isCSS1Compat = (document.compatMode || \"\") === \"CSS1Compat\";\n return supportPageOffset ? window.pageXOffset : isCSS1Compat ? document.documentElement.scrollLeft : document.body.scrollLeft;\n }\n};\n\nvar currentPositionY = function currentPositionY(options) {\n var containerElement = options.data.containerElement;\n\n if (containerElement && containerElement !== document && containerElement !== document.body) {\n return containerElement.scrollTop;\n } else {\n var supportPageOffset = window.pageXOffset !== undefined;\n var isCSS1Compat = (document.compatMode || \"\") === \"CSS1Compat\";\n return supportPageOffset ? window.pageYOffset : isCSS1Compat ? document.documentElement.scrollTop : document.body.scrollTop;\n }\n};\n\nvar scrollContainerWidth = function scrollContainerWidth(options) {\n var containerElement = options.data.containerElement;\n\n if (containerElement && containerElement !== document && containerElement !== document.body) {\n return containerElement.scrollWidth - containerElement.offsetWidth;\n } else {\n var body = document.body;\n var html = document.documentElement;\n return Math.max(body.scrollWidth, body.offsetWidth, html.clientWidth, html.scrollWidth, html.offsetWidth);\n }\n};\n\nvar scrollContainerHeight = function scrollContainerHeight(options) {\n var containerElement = options.data.containerElement;\n\n if (containerElement && containerElement !== document && containerElement !== document.body) {\n return containerElement.scrollHeight - containerElement.offsetHeight;\n } else {\n var body = document.body;\n var html = document.documentElement;\n return Math.max(body.scrollHeight, body.offsetHeight, html.clientHeight, html.scrollHeight, html.offsetHeight);\n }\n};\n\nvar animateScroll = function animateScroll(easing, options, timestamp) {\n var data = options.data; // Cancel on specific events\n\n if (!options.ignoreCancelEvents && data.cancel) {\n if (_scrollEvents2.default.registered['end']) {\n _scrollEvents2.default.registered['end'](data.to, data.target, data.currentPositionY);\n }\n\n return;\n }\n\n ;\n data.delta = Math.round(data.targetPosition - data.startPosition);\n\n if (data.start === null) {\n data.start = timestamp;\n }\n\n data.progress = timestamp - data.start;\n data.percent = data.progress >= data.duration ? 1 : easing(data.progress / data.duration);\n data.currentPosition = data.startPosition + Math.ceil(data.delta * data.percent);\n\n if (data.containerElement && data.containerElement !== document && data.containerElement !== document.body) {\n if (options.horizontal) {\n data.containerElement.scrollLeft = data.currentPosition;\n } else {\n data.containerElement.scrollTop = data.currentPosition;\n }\n } else {\n if (options.horizontal) {\n window.scrollTo(data.currentPosition, 0);\n } else {\n window.scrollTo(0, data.currentPosition);\n }\n }\n\n if (data.percent < 1) {\n var easedAnimate = animateScroll.bind(null, easing, options);\n requestAnimationFrameHelper.call(window, easedAnimate);\n return;\n }\n\n if (_scrollEvents2.default.registered['end']) {\n _scrollEvents2.default.registered['end'](data.to, data.target, data.currentPosition);\n }\n};\n\nvar setContainer = function setContainer(options) {\n options.data.containerElement = !options ? null : options.containerId ? document.getElementById(options.containerId) : options.container && options.container.nodeType ? options.container : document;\n};\n\nvar animateTopScroll = function animateTopScroll(scrollOffset, options, to, target) {\n options.data = options.data || makeData();\n window.clearTimeout(options.data.delayTimeout);\n\n _cancelEvents2.default.subscribe(function () {\n options.data.cancel = true;\n });\n\n setContainer(options);\n options.data.start = null;\n options.data.cancel = false;\n options.data.startPosition = options.horizontal ? currentPositionX(options) : currentPositionY(options);\n options.data.targetPosition = options.absolute ? scrollOffset : scrollOffset + options.data.startPosition;\n\n if (options.data.startPosition === options.data.targetPosition) {\n if (_scrollEvents2.default.registered['end']) {\n _scrollEvents2.default.registered['end'](options.data.to, options.data.target, options.data.currentPosition);\n }\n\n return;\n }\n\n options.data.delta = Math.round(options.data.targetPosition - options.data.startPosition);\n options.data.duration = functionWrapper(options.duration)(options.data.delta);\n options.data.duration = isNaN(parseFloat(options.data.duration)) ? 1000 : parseFloat(options.data.duration);\n options.data.to = to;\n options.data.target = target;\n var easing = getAnimationType(options);\n var easedAnimate = animateScroll.bind(null, easing, options);\n\n if (options && options.delay > 0) {\n options.data.delayTimeout = window.setTimeout(function () {\n if (_scrollEvents2.default.registered['begin']) {\n _scrollEvents2.default.registered['begin'](options.data.to, options.data.target);\n }\n\n requestAnimationFrameHelper.call(window, easedAnimate);\n }, options.delay);\n return;\n }\n\n if (_scrollEvents2.default.registered['begin']) {\n _scrollEvents2.default.registered['begin'](options.data.to, options.data.target);\n }\n\n requestAnimationFrameHelper.call(window, easedAnimate);\n};\n\nvar proceedOptions = function proceedOptions(options) {\n options = _extends({}, options);\n options.data = options.data || makeData();\n options.absolute = true;\n return options;\n};\n\nvar scrollToTop = function scrollToTop(options) {\n animateTopScroll(0, proceedOptions(options));\n};\n\nvar scrollTo = function scrollTo(toPosition, options) {\n animateTopScroll(toPosition, proceedOptions(options));\n};\n\nvar scrollToBottom = function scrollToBottom(options) {\n options = proceedOptions(options);\n setContainer(options);\n animateTopScroll(options.horizontal ? scrollContainerWidth(options) : scrollContainerHeight(options), options);\n};\n\nvar scrollMore = function scrollMore(toPosition, options) {\n options = proceedOptions(options);\n setContainer(options);\n var currentPosition = options.horizontal ? currentPositionX(options) : currentPositionY(options);\n animateTopScroll(toPosition + currentPosition, options);\n};\n\nexports.default = {\n animateTopScroll: animateTopScroll,\n getAnimationType: getAnimationType,\n scrollToTop: scrollToTop,\n scrollToBottom: scrollToBottom,\n scrollTo: scrollTo,\n scrollMore: scrollMore\n};","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _scrollLink = require('../mixins/scroll-link');\n\nvar _scrollLink2 = _interopRequireDefault(_scrollLink);\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _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\nfunction _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 LinkElement = function (_React$Component) {\n _inherits(LinkElement, _React$Component);\n\n function LinkElement() {\n var _ref;\n\n var _temp, _this, _ret;\n\n _classCallCheck(this, LinkElement);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = LinkElement.__proto__ || Object.getPrototypeOf(LinkElement)).call.apply(_ref, [this].concat(args))), _this), _this.render = function () {\n return _react2.default.createElement('a', _this.props, _this.props.children);\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n return LinkElement;\n}(_react2.default.Component);\n\n;\nexports.default = (0, _scrollLink2.default)(LinkElement);","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n/*\r\n * Tell the browser that the event listener won't prevent a scroll.\r\n * Allowing the browser to continue scrolling without having to\r\n * to wait for the listener to return.\r\n */\n\nvar addPassiveEventListener = exports.addPassiveEventListener = function addPassiveEventListener(target, eventName, listener) {\n var supportsPassiveOption = function () {\n var supportsPassiveOption = false;\n\n try {\n var opts = Object.defineProperty({}, 'passive', {\n get: function get() {\n supportsPassiveOption = true;\n }\n });\n window.addEventListener('test', null, opts);\n } catch (e) {}\n\n return supportsPassiveOption;\n }();\n\n target.addEventListener(eventName, listener, supportsPassiveOption ? {\n passive: true\n } : false);\n};\n\nvar removePassiveEventListener = exports.removePassiveEventListener = function removePassiveEventListener(target, eventName, listener) {\n target.removeEventListener(eventName, listener);\n};","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar Events = {\n registered: {},\n scrollEvent: {\n register: function register(evtName, callback) {\n Events.registered[evtName] = callback;\n },\n remove: function remove(evtName) {\n Events.registered[evtName] = null;\n }\n }\n};\nexports.default = Events;","exports.__esModule = true;\nexports.Helmet = undefined;\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 _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 _react = require(\"react\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = require(\"prop-types\");\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _reactSideEffect = require(\"react-side-effect\");\n\nvar _reactSideEffect2 = _interopRequireDefault(_reactSideEffect);\n\nvar _reactFastCompare = require(\"react-fast-compare\");\n\nvar _reactFastCompare2 = _interopRequireDefault(_reactFastCompare);\n\nvar _HelmetUtils = require(\"./HelmetUtils.js\");\n\nvar _HelmetConstants = require(\"./HelmetConstants.js\");\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\n\nfunction _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\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _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\nfunction _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 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\n return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));\n }\n\n HelmetWrapper.prototype.shouldComponentUpdate = function shouldComponentUpdate(nextProps) {\n return !(0, _reactFastCompare2.default)(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 _HelmetConstants.TAG_NAMES.SCRIPT:\n case _HelmetConstants.TAG_NAMES.NOSCRIPT:\n return {\n innerHTML: nestedChildren\n };\n\n case _HelmetConstants.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 _extends2;\n\n var child = _ref.child,\n arrayTypeChildren = _ref.arrayTypeChildren,\n newChildProps = _ref.newChildProps,\n nestedChildren = _ref.nestedChildren;\n return _extends({}, arrayTypeChildren, (_extends2 = {}, _extends2[child.type] = [].concat(arrayTypeChildren[child.type] || [], [_extends({}, newChildProps, this.mapNestedChildrenToProps(child, nestedChildren))]), _extends2));\n };\n\n HelmetWrapper.prototype.mapObjectTypeChildren = function mapObjectTypeChildren(_ref2) {\n var _extends3, _extends4;\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 _HelmetConstants.TAG_NAMES.TITLE:\n return _extends({}, newProps, (_extends3 = {}, _extends3[child.type] = nestedChildren, _extends3.titleAttributes = _extends({}, newChildProps), _extends3));\n\n case _HelmetConstants.TAG_NAMES.BODY:\n return _extends({}, newProps, {\n bodyAttributes: _extends({}, newChildProps)\n });\n\n case _HelmetConstants.TAG_NAMES.HTML:\n return _extends({}, newProps, {\n htmlAttributes: _extends({}, newChildProps)\n });\n }\n\n return _extends({}, newProps, (_extends4 = {}, _extends4[child.type] = _extends({}, newChildProps), _extends4));\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 _extends5;\n\n newFlattenedProps = _extends({}, newFlattenedProps, (_extends5 = {}, _extends5[arrayChildName] = arrayTypeChildren[arrayChildName], _extends5));\n });\n return newFlattenedProps;\n };\n\n HelmetWrapper.prototype.warnOnInvalidChildren = function warnOnInvalidChildren(child, nestedChildren) {\n if (process.env.NODE_ENV !== \"production\") {\n if (!_HelmetConstants.VALID_TAG_NAMES.some(function (name) {\n return child.type === name;\n })) {\n if (typeof child.type === \"function\") {\n return (0, _HelmetUtils.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 (0, _HelmetUtils.warn)(\"Only elements types \" + _HelmetConstants.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\n _react2.default.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\n var newChildProps = (0, _HelmetUtils.convertReactPropstoHtmlAttributes)(childProps);\n\n _this2.warnOnInvalidChildren(child, nestedChildren);\n\n switch (child.type) {\n case _HelmetConstants.TAG_NAMES.LINK:\n case _HelmetConstants.TAG_NAMES.META:\n case _HelmetConstants.TAG_NAMES.NOSCRIPT:\n case _HelmetConstants.TAG_NAMES.SCRIPT:\n case _HelmetConstants.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\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 _react2.default.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(canUseDOM) {\n Component.canUseDOM = canUseDOM;\n }\n }]);\n\n return HelmetWrapper;\n }(_react2.default.Component), _class.propTypes = {\n base: _propTypes2.default.object,\n bodyAttributes: _propTypes2.default.object,\n children: _propTypes2.default.oneOfType([_propTypes2.default.arrayOf(_propTypes2.default.node), _propTypes2.default.node]),\n defaultTitle: _propTypes2.default.string,\n defer: _propTypes2.default.bool,\n encodeSpecialCharacters: _propTypes2.default.bool,\n htmlAttributes: _propTypes2.default.object,\n link: _propTypes2.default.arrayOf(_propTypes2.default.object),\n meta: _propTypes2.default.arrayOf(_propTypes2.default.object),\n noscript: _propTypes2.default.arrayOf(_propTypes2.default.object),\n onChangeClientState: _propTypes2.default.func,\n script: _propTypes2.default.arrayOf(_propTypes2.default.object),\n style: _propTypes2.default.arrayOf(_propTypes2.default.object),\n title: _propTypes2.default.string,\n titleAttributes: _propTypes2.default.object,\n titleTemplate: _propTypes2.default.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 = (0, _HelmetUtils.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 = (0, _reactSideEffect2.default)(_HelmetUtils.reducePropsToState, _HelmetUtils.handleClientStateChange, _HelmetUtils.mapStateOnServer)(NullComponent);\nvar HelmetExport = Helmet(HelmetSideEffects);\nHelmetExport.renderStatic = HelmetExport.rewind;\nexports.Helmet = HelmetExport;\nexports.default = HelmetExport;","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAgAElEQVR4nO2dfZBcV5mfH7q6piaTyWSimqi0YlY7qIxxVC6jdRSv1whhjFYWxoDCh7HBYBtjHPCyXooA6/K6XIQiDrvrJY4xX8bGX9iYNV6bNcYIRzZe4witotU6Wq1WCGUQikqZ0irKRJmaqLpa+eN3r/vOTH/c233vPffe8z5VXd2ame4+6r7nd97znvfjVadPn8aoJKPAsshtPPgZwBAw0uY5s0ATmA9uJ4Djkfu5bIds5E3d9QCMvhgFVgNTwCTwGmBV5DaBJnnazCMhOAQcDu5/BRwBDgD7gZMZvK+REa8yC6Cw1JBATwFnA68P7s8Gzgh+XzSawDSwL7j9LbAb2AM0gt8bBcIEoDjUgDHgfOANwAbgXFpme5k5iYRgB/Cz4P4QJgjOMQFwRw3tzTcAbwIuAM4hG9O9aISWwjbgOeB54CgmCLljApAvdeAsYDPwNrTaDzsdUTFoAnuBZ4EnkYUwjwlC5pgAZM8IsB54O5r4qynm/r1IHAW2IjHYRut0wkgZE4BsGALOA64AtgAr3Q6n1MwCTwPfRlsFO2VIEROA9KgjD/37gHdRXE99mTkCPAY8AuwCTrkdTvkxARiM0JH3LuA65LW3SZ89TeBl4FvAd4Bj2BahL0wA+qMOrEGT/jJgudvheM0JZBXcg1kFiTEBSMYocAlwPTq+s0jK4tBApwd3AE9hYcuxMAGIxzhwOXAjOsYzis0e4E60PZh1PJZCYwLQnQngQ8AnUEiuUS4OAl8F7kN+AmMRJgDtWQF8BJn6k47HYgzONPAl4AHkMzACTAAWMoZW/M9iE7+K7AO+iJyGFk+ACUDIMIrSuwUd5RnVZjfweRRgNO94LE7xXQDqwDrgVmAj5tX3iQYKN74FxRQ03A7HDT4LwCRwMzL521XHMfzgJ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gSuS5C9iEN34kFoDm6QEWAdeiYiMHC/PHdmAl8ADK4Ot6H38yLACtE6Aqw6Vo1tvcbJfT9YyiIp2HUPbevmyXUywsAJ0xBbkFl6PEImcWpscOVPX5GA7stY0FIB4CZAmcDpwJHIJjBUkwiIJ6T6Ku0F2ZvBMnFoD46UGJRacD30Spxj5KbJ99aLO/hDb/Huzbx4YFIFlqpcinAkejvIKpma6oGOxgbNOvRld6b/oEsACkR4BiBociMViCrAO7CrrKrwHeRhu+dnTnTZ8wFoDsCFAB0hHA4cCC6m0gy0WlQAUd160D3kcJOhtQ0o43fMpYAPJFDzAPWQb/UP26gOK6DbXNvgHYCPwFjcvejjd7LrAA5J8e1MFoLhKHL1a/r/07D+PSh1H/vE+BzcB/Vb//GNid4brMJFgAis8MJBAzkEsxk2RFYQgF6XahUtqdeJMXlv8HMk8fnTQO28gAAAAASUVORK5CYII=\"","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\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 _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 _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _scrollElement = require('../mixins/scroll-element');\n\nvar _scrollElement2 = _interopRequireDefault(_scrollElement);\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _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\nfunction _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 ElementWrapper = function (_React$Component) {\n _inherits(ElementWrapper, _React$Component);\n\n function ElementWrapper() {\n _classCallCheck(this, ElementWrapper);\n\n return _possibleConstructorReturn(this, (ElementWrapper.__proto__ || Object.getPrototypeOf(ElementWrapper)).apply(this, arguments));\n }\n\n _createClass(ElementWrapper, [{\n key: 'render',\n value: function render() {\n var _this2 = this; // Remove `parentBindings` from props\n\n\n var newProps = _extends({}, this.props);\n\n if (newProps.parentBindings) {\n delete newProps.parentBindings;\n }\n\n return _react2.default.createElement('div', _extends({}, newProps, {\n ref: function ref(el) {\n _this2.props.parentBindings.domNode = el;\n }\n }), this.props.children);\n }\n }]);\n\n return ElementWrapper;\n}(_react2.default.Component);\n\n;\nElementWrapper.propTypes = {\n name: _propTypes2.default.string,\n id: _propTypes2.default.string\n};\nexports.default = (0, _scrollElement2.default)(ElementWrapper);","'use strict';\n\nvar isArray = Array.isArray;\nvar keyList = Object.keys;\nvar hasProp = Object.prototype.hasOwnProperty;\nvar hasElementType = typeof Element !== 'undefined';\n\nfunction equal(a, b) {\n // fast-deep-equal index.js 2.0.1\n if (a === b) return true;\n\n if (a && b && typeof a == 'object' && typeof b == 'object') {\n var arrA = isArray(a),\n arrB = isArray(b),\n i,\n length,\n key;\n\n if (arrA && arrB) {\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 }\n\n if (arrA != arrB) return false;\n var dateA = a instanceof Date,\n dateB = b instanceof Date;\n if (dateA != dateB) return false;\n if (dateA && dateB) return a.getTime() == b.getTime();\n var regexpA = a instanceof RegExp,\n regexpB = b instanceof RegExp;\n if (regexpA != regexpB) return false;\n if (regexpA && regexpB) return a.toString() == b.toString();\n var keys = keyList(a);\n length = keys.length;\n if (length !== keyList(b).length) return false;\n\n for (i = length; i-- !== 0;) {\n if (!hasProp.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 && b instanceof Element) return a === b; // custom handling for React\n\n for (i = length; i-- !== 0;) {\n key = keys[i];\n\n if (key === '_owner' && a.$$typeof) {\n // React-specific: avoid traversing React elements' _owner.\n // _owner contains circular references\n // and is not needed when comparing the actual elements (and not their owners)\n // .$$typeof and ._store on just reasonable markers of a react element\n continue;\n } else {\n // all other properties should be traversed as usual\n if (!equal(a[key], b[key])) return false;\n }\n } // end react-fast-compare\n // fast-deep-equal index.js 2.0.1\n\n\n return true;\n }\n\n return a !== a && b !== b;\n} // end fast-deep-equal\n\n\nmodule.exports = function exportedEqual(a, b) {\n try {\n return equal(a, b);\n } catch (error) {\n if (error.message && error.message.match(/stack|recursion/i) || error.number === -2146828260) {\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('Warning: react-fast-compare does not handle circular references.', error.name, error.message);\n return false;\n } // some other error. we should definitely know about these\n\n\n throw error;\n }\n};","exports.__esModule = true;\nvar ATTRIBUTE_NAMES = exports.ATTRIBUTE_NAMES = {\n BODY: \"bodyAttributes\",\n HTML: \"htmlAttributes\",\n TITLE: \"titleAttributes\"\n};\nvar TAG_NAMES = exports.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 = exports.VALID_TAG_NAMES = Object.keys(TAG_NAMES).map(function (name) {\n return TAG_NAMES[name];\n});\nvar TAG_PROPERTIES = exports.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};\nvar REACT_TAG_MAP = exports.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 = exports.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 = exports.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 = exports.SELF_CLOSING_TAGS = [TAG_NAMES.NOSCRIPT, TAG_NAMES.SCRIPT, TAG_NAMES.STYLE];\nvar HELMET_ATTRIBUTE = exports.HELMET_ATTRIBUTE = \"data-react-helmet\";","/**\n * lodash (Custom Build) <https://lodash.com/>\n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors <https://jquery.org/>\n * Released under MIT license <https://lodash.com/license>\n * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the `TypeError` message for \"Functions\" methods. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n/** Used as references for various `Number` constants. */\n\nvar NAN = 0 / 0;\n/** `Object#toString` result references. */\n\nvar symbolTag = '[object Symbol]';\n/** Used to match leading and trailing whitespace. */\n\nvar reTrim = /^\\s+|\\s+$/g;\n/** Used to detect bad signed hexadecimal string values. */\n\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n/** Used to detect binary string values. */\n\nvar reIsBinary = /^0b[01]+$/i;\n/** Used to detect octal string values. */\n\nvar reIsOctal = /^0o[0-7]+$/i;\n/** Built-in method references without a dependency on `root`. */\n\nvar freeParseInt = parseInt;\n/** Detect free variable `global` from Node.js. */\n\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n/** Detect free variable `self`. */\n\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n/** Used as a reference to the global object. */\n\nvar root = freeGlobal || freeSelf || Function('return this')();\n/** Used for built-in method references. */\n\nvar objectProto = Object.prototype;\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\n\nvar objectToString = objectProto.toString;\n/* Built-in method references for those with the same name as other `lodash` methods. */\n\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\n\nvar now = function now() {\n return root.Date.now();\n};\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\n\n\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n\n wait = toNumber(wait) || 0;\n\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time; // Start the timer for the trailing edge.\n\n timerId = setTimeout(timerExpired, wait); // Invoke the leading edge.\n\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n result = wait - timeSinceLastCall;\n return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime; // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n\n return lastCallTime === undefined || timeSinceLastCall >= wait || timeSinceLastCall < 0 || maxing && timeSinceLastInvoke >= maxWait;\n }\n\n function timerExpired() {\n var time = now();\n\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n } // Restart the timer.\n\n\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined; // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n\n if (maxing) {\n // Handle invocations in a tight loop.\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n\n return result;\n }\n\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n/**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n * Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\n\n\nfunction throttle(func, wait, options) {\n var leading = true,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n\n if (isObject(options)) {\n leading = 'leading' in options ? !!options.leading : leading;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n return debounce(func, wait, {\n 'leading': leading,\n 'maxWait': wait,\n 'trailing': trailing\n });\n}\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\n\n\nfunction isObject(value) {\n var type = typeof value;\n return !!value && (type == 'object' || type == 'function');\n}\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\n\n\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\n\n\nfunction isSymbol(value) {\n return typeof value == 'symbol' || isObjectLike(value) && objectToString.call(value) == symbolTag;\n}\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\n\n\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n\n if (isSymbol(value)) {\n return NAN;\n }\n\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? other + '' : other;\n }\n\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n\n value = value.replace(reTrim, '');\n var isBinary = reIsBinary.test(value);\n return isBinary || reIsOctal.test(value) ? freeParseInt(value.slice(2), isBinary ? 2 : 8) : reIsBadHex.test(value) ? NAN : +value;\n}\n\nmodule.exports = throttle;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Helpers = exports.ScrollElement = exports.ScrollLink = exports.animateScroll = exports.scrollSpy = exports.Events = exports.scroller = exports.Element = exports.Button = exports.Link = undefined;\n\nvar _Link = require('./components/Link.js');\n\nvar _Link2 = _interopRequireDefault(_Link);\n\nvar _Button = require('./components/Button.js');\n\nvar _Button2 = _interopRequireDefault(_Button);\n\nvar _Element = require('./components/Element.js');\n\nvar _Element2 = _interopRequireDefault(_Element);\n\nvar _scroller = require('./mixins/scroller.js');\n\nvar _scroller2 = _interopRequireDefault(_scroller);\n\nvar _scrollEvents = require('./mixins/scroll-events.js');\n\nvar _scrollEvents2 = _interopRequireDefault(_scrollEvents);\n\nvar _scrollSpy = require('./mixins/scroll-spy.js');\n\nvar _scrollSpy2 = _interopRequireDefault(_scrollSpy);\n\nvar _animateScroll = require('./mixins/animate-scroll.js');\n\nvar _animateScroll2 = _interopRequireDefault(_animateScroll);\n\nvar _scrollLink = require('./mixins/scroll-link.js');\n\nvar _scrollLink2 = _interopRequireDefault(_scrollLink);\n\nvar _scrollElement = require('./mixins/scroll-element.js');\n\nvar _scrollElement2 = _interopRequireDefault(_scrollElement);\n\nvar _Helpers = require('./mixins/Helpers.js');\n\nvar _Helpers2 = _interopRequireDefault(_Helpers);\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\n\nexports.Link = _Link2.default;\nexports.Button = _Button2.default;\nexports.Element = _Element2.default;\nexports.scroller = _scroller2.default;\nexports.Events = _scrollEvents2.default;\nexports.scrollSpy = _scrollSpy2.default;\nexports.animateScroll = _animateScroll2.default;\nexports.ScrollLink = _scrollLink2.default;\nexports.ScrollElement = _scrollElement2.default;\nexports.Helpers = _Helpers2.default;\nexports.default = {\n Link: _Link2.default,\n Button: _Button2.default,\n Element: _Element2.default,\n scroller: _scroller2.default,\n Events: _scrollEvents2.default,\n scrollSpy: _scrollSpy2.default,\n animateScroll: _animateScroll2.default,\n ScrollLink: _scrollLink2.default,\n ScrollElement: _scrollElement2.default,\n Helpers: _Helpers2.default\n};","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\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 _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 _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _scrollSpy = require('./scroll-spy');\n\nvar _scrollSpy2 = _interopRequireDefault(_scrollSpy);\n\nvar _scroller = require('./scroller');\n\nvar _scroller2 = _interopRequireDefault(_scroller);\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _scrollHash = require('./scroll-hash');\n\nvar _scrollHash2 = _interopRequireDefault(_scrollHash);\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _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\nfunction _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 protoTypes = {\n to: _propTypes2.default.string.isRequired,\n containerId: _propTypes2.default.string,\n container: _propTypes2.default.object,\n activeClass: _propTypes2.default.string,\n spy: _propTypes2.default.bool,\n horizontal: _propTypes2.default.bool,\n smooth: _propTypes2.default.oneOfType([_propTypes2.default.bool, _propTypes2.default.string]),\n offset: _propTypes2.default.number,\n delay: _propTypes2.default.number,\n isDynamic: _propTypes2.default.bool,\n onClick: _propTypes2.default.func,\n duration: _propTypes2.default.oneOfType([_propTypes2.default.number, _propTypes2.default.func]),\n absolute: _propTypes2.default.bool,\n onSetActive: _propTypes2.default.func,\n onSetInactive: _propTypes2.default.func,\n ignoreCancelEvents: _propTypes2.default.bool,\n hashSpy: _propTypes2.default.bool,\n saveHashHistory: _propTypes2.default.bool\n};\n\nexports.default = function (Component, customScroller) {\n var scroller = customScroller || _scroller2.default;\n\n var Link = function (_React$PureComponent) {\n _inherits(Link, _React$PureComponent);\n\n function Link(props) {\n _classCallCheck(this, Link);\n\n var _this = _possibleConstructorReturn(this, (Link.__proto__ || Object.getPrototypeOf(Link)).call(this, props));\n\n _initialiseProps.call(_this);\n\n _this.state = {\n active: false\n };\n return _this;\n }\n\n _createClass(Link, [{\n key: 'getScrollSpyContainer',\n value: function getScrollSpyContainer() {\n var containerId = this.props.containerId;\n var container = this.props.container;\n\n if (containerId && !container) {\n return document.getElementById(containerId);\n }\n\n if (container && container.nodeType) {\n return container;\n }\n\n return document;\n }\n }, {\n key: 'componentDidMount',\n value: function componentDidMount() {\n if (this.props.spy || this.props.hashSpy) {\n var scrollSpyContainer = this.getScrollSpyContainer();\n\n if (!_scrollSpy2.default.isMounted(scrollSpyContainer)) {\n _scrollSpy2.default.mount(scrollSpyContainer);\n }\n\n if (this.props.hashSpy) {\n if (!_scrollHash2.default.isMounted()) {\n _scrollHash2.default.mount(scroller);\n }\n\n _scrollHash2.default.mapContainer(this.props.to, scrollSpyContainer);\n }\n\n _scrollSpy2.default.addSpyHandler(this.spyHandler, scrollSpyContainer);\n\n this.setState({\n container: scrollSpyContainer\n });\n }\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n _scrollSpy2.default.unmount(this.stateHandler, this.spyHandler);\n }\n }, {\n key: 'render',\n value: function render() {\n var className = \"\";\n\n if (this.state && this.state.active) {\n className = ((this.props.className || \"\") + \" \" + (this.props.activeClass || \"active\")).trim();\n } else {\n className = this.props.className;\n }\n\n var props = _extends({}, this.props);\n\n for (var prop in protoTypes) {\n if (props.hasOwnProperty(prop)) {\n delete props[prop];\n }\n }\n\n props.className = className;\n props.onClick = this.handleClick;\n return _react2.default.createElement(Component, props);\n }\n }]);\n\n return Link;\n }(_react2.default.PureComponent);\n\n var _initialiseProps = function _initialiseProps() {\n var _this2 = this;\n\n this.scrollTo = function (to, props) {\n scroller.scrollTo(to, _extends({}, _this2.state, props));\n };\n\n this.handleClick = function (event) {\n /*\r\n * give the posibility to override onClick\r\n */\n if (_this2.props.onClick) {\n _this2.props.onClick(event);\n }\n /*\r\n * dont bubble the navigation\r\n */\n\n\n if (event.stopPropagation) event.stopPropagation();\n if (event.preventDefault) event.preventDefault();\n /*\r\n * do the magic!\r\n */\n\n _this2.scrollTo(_this2.props.to, _this2.props);\n };\n\n this.spyHandler = function (x, y) {\n var scrollSpyContainer = _this2.getScrollSpyContainer();\n\n if (_scrollHash2.default.isMounted() && !_scrollHash2.default.isInitialized()) {\n return;\n }\n\n var horizontal = _this2.props.horizontal;\n var to = _this2.props.to;\n var element = null;\n var isInside = void 0;\n var isOutside = void 0;\n\n if (horizontal) {\n var elemLeftBound = 0;\n var elemRightBound = 0;\n var containerLeft = 0;\n\n if (scrollSpyContainer.getBoundingClientRect) {\n var containerCords = scrollSpyContainer.getBoundingClientRect();\n containerLeft = containerCords.left;\n }\n\n if (!element || _this2.props.isDynamic) {\n element = scroller.get(to);\n\n if (!element) {\n return;\n }\n\n var cords = element.getBoundingClientRect();\n elemLeftBound = cords.left - containerLeft + x;\n elemRightBound = elemLeftBound + cords.width;\n }\n\n var offsetX = x - _this2.props.offset;\n isInside = offsetX >= Math.floor(elemLeftBound) && offsetX < Math.floor(elemRightBound);\n isOutside = offsetX < Math.floor(elemLeftBound) || offsetX >= Math.floor(elemRightBound);\n } else {\n var elemTopBound = 0;\n var elemBottomBound = 0;\n var containerTop = 0;\n\n if (scrollSpyContainer.getBoundingClientRect) {\n var _containerCords = scrollSpyContainer.getBoundingClientRect();\n\n containerTop = _containerCords.top;\n }\n\n if (!element || _this2.props.isDynamic) {\n element = scroller.get(to);\n\n if (!element) {\n return;\n }\n\n var _cords = element.getBoundingClientRect();\n\n elemTopBound = _cords.top - containerTop + y;\n elemBottomBound = elemTopBound + _cords.height;\n }\n\n var offsetY = y - _this2.props.offset;\n isInside = offsetY >= Math.floor(elemTopBound) && offsetY < Math.floor(elemBottomBound);\n isOutside = offsetY < Math.floor(elemTopBound) || offsetY >= Math.floor(elemBottomBound);\n }\n\n var activeLink = scroller.getActiveLink();\n\n if (isOutside) {\n if (to === activeLink) {\n scroller.setActiveLink(void 0);\n }\n\n if (_this2.props.hashSpy && _scrollHash2.default.getHash() === to) {\n var _props$saveHashHistor = _this2.props.saveHashHistory,\n saveHashHistory = _props$saveHashHistor === undefined ? false : _props$saveHashHistor;\n\n _scrollHash2.default.changeHash(\"\", saveHashHistory);\n }\n\n if (_this2.props.spy && _this2.state.active) {\n _this2.setState({\n active: false\n });\n\n _this2.props.onSetInactive && _this2.props.onSetInactive(to, element);\n }\n }\n\n if (isInside && (activeLink !== to || _this2.state.active === false)) {\n scroller.setActiveLink(to);\n\n var _props$saveHashHistor2 = _this2.props.saveHashHistory,\n _saveHashHistory = _props$saveHashHistor2 === undefined ? false : _props$saveHashHistor2;\n\n _this2.props.hashSpy && _scrollHash2.default.changeHash(to, _saveHashHistory);\n\n if (_this2.props.spy) {\n _this2.setState({\n active: true\n });\n\n _this2.props.onSetActive && _this2.props.onSetActive(to, element);\n }\n }\n };\n };\n\n ;\n Link.propTypes = protoTypes;\n Link.defaultProps = {\n offset: 0\n };\n return Link;\n};","\"use strict\";\n\nexports.__esModule = true;\nexports[\"default\"] = HamburgerMenu;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _propTypes = _interopRequireDefault(require(\"prop-types\"));\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n\nfunction HamburgerMenu(props) {\n var width = (props.width || 36) + \"px\",\n height = (props.height || 30) + \"px\",\n halfHeight = parseInt(height.replace(\"px\", \"\")) / 2 + \"px\",\n isOpen = props.isOpen || false,\n strokeWidth = props.strokeWidth || 2,\n halfStrokeWidth = \"-\" + strokeWidth / 2 + \"px\",\n animationDuration = props.animationDuration || \"0.4\";\n\n var getTransformValue = function getTransformValue(isOpen, defaultPos, rotateVal) {\n return \"translate3d(0,\" + (isOpen ? halfHeight : defaultPos) + \",0) rotate(\" + (isOpen ? rotateVal + \"deg\" : \"0\") + \")\";\n };\n\n var styles = {\n container: {\n width: width,\n height: height,\n position: \"relative\",\n transform: \"rotate(\" + (props.rotate || 0) + \"deg)\"\n },\n lineBase: {\n display: \"block\",\n height: strokeWidth + \"px\",\n width: \"100%\",\n background: props.color || \"#000\",\n transitionTimingFunction: \"ease\",\n transitionDuration: animationDuration + \"s\",\n borderRadius: (props.borderRadius || 0) + \"px\",\n transformOrigin: \"center\",\n position: \"absolute\"\n },\n firstLine: {\n transform: getTransformValue(isOpen, 0, 45),\n marginTop: halfStrokeWidth\n },\n secondLine: {\n transitionTimingFunction: \"ease-out\",\n transitionDuration: animationDuration / 4 + \"s\",\n opacity: isOpen ? \"0\" : \"1\",\n top: halfHeight,\n marginTop: halfStrokeWidth\n },\n thirdLine: {\n transform: getTransformValue(isOpen, height, -45),\n marginTop: halfStrokeWidth\n }\n };\n return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n style: styles.container,\n className: props.className,\n onClick: props.menuClicked\n }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n style: Object.assign({}, styles.lineBase, styles.firstLine)\n }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n style: Object.assign({}, styles.lineBase, styles.secondLine)\n }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n style: Object.assign({}, styles.lineBase, styles.thirdLine)\n }));\n}\n\nHamburgerMenu.propTypes = {\n isOpen: _propTypes[\"default\"].bool.isRequired,\n menuClicked: _propTypes[\"default\"].func.isRequired,\n width: _propTypes[\"default\"].number,\n height: _propTypes[\"default\"].number,\n strokeWidth: _propTypes[\"default\"].number,\n rotate: _propTypes[\"default\"].number,\n color: _propTypes[\"default\"].string,\n borderRadius: _propTypes[\"default\"].number,\n animationDuration: _propTypes[\"default\"].number,\n className: _propTypes[\"default\"].string\n};","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAX90lEQVR4nO3dfYxc1XnH8S9Xo9FqtV25K4QsCy0uWBZyHYe4FkEUqEvAIY5JCCEQXgMkQAhxUkQJpRRZFkERUGreUiAkvDQFXEIcTIE6hBDjAnIdiozrWARtXde1LIosa2VtV6vVaugfz152vOzMzsu95+Xe30da+W137mGY89xznnvOc4748MMPkUKpAPOAo4G5QB8wp8n3jwOjwFjd1whwaPJrePJXKaCK7wZI26rAQuBYrJMfAwxOfh2Ndf6s/7/WgINYMDgw+bV/8tf/AfYBQ8BuLKBIJI7QCCBYCdADLAKWAp+a/HUx0OuxXc2MArsmv94BdgA7gQ+wICKBUQAIRwXr7KcBfwKcMPnnqs9GZaCGBYAdwBvAFmAbNtVQUPBMAcCfBBuynw6cCSzHhu9lMIIFgdewgPAWNnpQQHBMAcCdBEvGnYJ1+NOB4yf/vuzSgPBL4HngPRQMnFAAyFcCHAmsBC7Ehvc9XlsUvhqwHdgIPIflEya8tqjAFACylwD9wBlYp1+BPYqT9tWw0cAGLCBsR08ZMqUAkJ1ebB5/AbAKGPDamuKpYaOBJ4D12GNITRO6pADQnQR7Hn8VcBGW1JP8jQAvAT/BkohjfpsTLwWAzlSx+fw12N1e83p/3gV+CjwF7EWjgrYoALQuzeKfi3X8pSiDH5JRLFewDltzoMRhCxQAZlc/zL+E8jyrj9U4sAkLBG+ipGFTCgCNJdj6+huxjt/vtznSpgngdSwQvIKNEGQaBYCPS7C7/GrgaprvpJPw1YC3gbuxRUYKBHUUAA53FNbp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npuixTTCFbK7j4inO/PpEgBAGxEcwIWBJb7bYoUTDrkf5kCFbMtWgBIzQG+DdwI9Htui8Sthi1Aux6bbhZKUQMA2GjgZGAdsMxzWyROHwBrgcex03oLp8gBIHUk9qjmW0CP57ZIHGpYgu9mYBeRJ/qaKUMAAKgAK7AEjgqPSjPvA2uww2sKedevV5YAkDoSGwlcj1YQyuEmsLn+zdha/sLe9euVLQCA5QYWYXO7L2CjAym3ndjn4QVKtpakjAEgVQVWYfsJFnlui/hxAEsSP4RtNCudMgeAVDotWD35eym+MWA9toFnNyUZ7s9EAcAkwNHYQo8rUX6gqNIyc2uxmpOFWdDTKQWAwyXYMWXXA5cAfX6bIxlJi8zeAbxKyeb5zSgAzCwBjscywueh9QOxqu/4rxDplt08KQA0V8HWDazGAoGWFcdBHb9FCgCtSXMEVwGXT/5ewjOKreB7EAsA6vizUABo3xzgfOBaYAnFqKkQu/3Yyr1HKHlWv10KAJ3rAU7HjjU/CyUMXathdfcfBp4Fhv02J04KAN1LsAIk52Knvy5FqwvztBfYADwJ7EDD/K4oAGQrTRpejE0TBv02pzCGsWW6TwObKcEmHVcUAPLTC5wCfBGbIsxH+YJ2DGPP7DdinX8Yze0zpwDgRgUrVXY2Vr34BDRNmK6GJfA2Af+MZfHHUKfPlQKAewk2NVgJnAmcRHmLmB7EDn/9Dfb47l20PNcpBQC/ksmvhdh04dTJXwcp5nRhP3bK879id/idWIfXXd4TBYDwpCOEZcAnsbUGi4krh1AD9mAdfCfwH9gjuyHU2YOiABCPfqxuwRLgE1hAGMRWJQ54aE8NK5q5D3s0txf4Hdbhd1GQuvlFpwBQDP1MBYNB8skpjGJz9r11X9pVF7n/B/F1P6BkXWCuAAAAAElFTkSuQmCC\"","exports.__esModule = true;\nexports.warn = exports.requestAnimationFrame = exports.reducePropsToState = exports.mapStateOnServer = exports.handleClientStateChange = exports.convertReactPropstoHtmlAttributes = undefined;\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 _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 _react = require(\"react\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _objectAssign = require(\"object-assign\");\n\nvar _objectAssign2 = _interopRequireDefault(_objectAssign);\n\nvar _HelmetConstants = require(\"./HelmetConstants.js\");\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\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, _HelmetConstants.TAG_NAMES.TITLE);\n var innermostTemplate = getInnermostProperty(propsList, _HelmetConstants.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 innermostTitle;\n });\n }\n\n var innermostDefaultTitle = getInnermostProperty(propsList, _HelmetConstants.HELMET_PROPS.DEFAULT_TITLE);\n return innermostTitle || innermostDefaultTitle || undefined;\n};\n\nvar getOnChangeClientState = function getOnChangeClientState(propsList) {\n return getInnermostProperty(propsList, _HelmetConstants.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[_HelmetConstants.TAG_NAMES.BASE] !== \"undefined\";\n }).map(function (props) {\n return props[_HelmetConstants.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 === _HelmetConstants.TAG_PROPERTIES.REL && tag[primaryAttributeKey].toLowerCase() === \"canonical\") && !(lowerCaseAttributeKey === _HelmetConstants.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 === _HelmetConstants.TAG_PROPERTIES.INNER_HTML || attributeKey === _HelmetConstants.TAG_PROPERTIES.CSS_TEXT || attributeKey === _HelmetConstants.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 = (0, _objectAssign2.default)({}, 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([_HelmetConstants.TAG_PROPERTIES.HREF], propsList),\n bodyAttributes: getAttributesFromPropsList(_HelmetConstants.ATTRIBUTE_NAMES.BODY, propsList),\n defer: getInnermostProperty(propsList, _HelmetConstants.HELMET_PROPS.DEFER),\n encode: getInnermostProperty(propsList, _HelmetConstants.HELMET_PROPS.ENCODE_SPECIAL_CHARACTERS),\n htmlAttributes: getAttributesFromPropsList(_HelmetConstants.ATTRIBUTE_NAMES.HTML, propsList),\n linkTags: getTagsFromPropsList(_HelmetConstants.TAG_NAMES.LINK, [_HelmetConstants.TAG_PROPERTIES.REL, _HelmetConstants.TAG_PROPERTIES.HREF], propsList),\n metaTags: getTagsFromPropsList(_HelmetConstants.TAG_NAMES.META, [_HelmetConstants.TAG_PROPERTIES.NAME, _HelmetConstants.TAG_PROPERTIES.CHARSET, _HelmetConstants.TAG_PROPERTIES.HTTPEQUIV, _HelmetConstants.TAG_PROPERTIES.PROPERTY, _HelmetConstants.TAG_PROPERTIES.ITEM_PROP], propsList),\n noscriptTags: getTagsFromPropsList(_HelmetConstants.TAG_NAMES.NOSCRIPT, [_HelmetConstants.TAG_PROPERTIES.INNER_HTML], propsList),\n onChangeClientState: getOnChangeClientState(propsList),\n scriptTags: getTagsFromPropsList(_HelmetConstants.TAG_NAMES.SCRIPT, [_HelmetConstants.TAG_PROPERTIES.SRC, _HelmetConstants.TAG_PROPERTIES.INNER_HTML], propsList),\n styleTags: getTagsFromPropsList(_HelmetConstants.TAG_NAMES.STYLE, [_HelmetConstants.TAG_PROPERTIES.CSS_TEXT], propsList),\n title: getTitleFromPropsList(propsList),\n titleAttributes: getAttributesFromPropsList(_HelmetConstants.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.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(_HelmetConstants.TAG_NAMES.BODY, bodyAttributes);\n updateAttributes(_HelmetConstants.TAG_NAMES.HTML, htmlAttributes);\n updateTitle(title, titleAttributes);\n var tagUpdates = {\n baseTag: updateTags(_HelmetConstants.TAG_NAMES.BASE, baseTag),\n linkTags: updateTags(_HelmetConstants.TAG_NAMES.LINK, linkTags),\n metaTags: updateTags(_HelmetConstants.TAG_NAMES.META, metaTags),\n noscriptTags: updateTags(_HelmetConstants.TAG_NAMES.NOSCRIPT, noscriptTags),\n scriptTags: updateTags(_HelmetConstants.TAG_NAMES.SCRIPT, scriptTags),\n styleTags: updateTags(_HelmetConstants.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(_HelmetConstants.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(_HelmetConstants.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(_HelmetConstants.HELMET_ATTRIBUTE);\n } else if (elementTag.getAttribute(_HelmetConstants.HELMET_ATTRIBUTE) !== attributeKeys.join(\",\")) {\n elementTag.setAttribute(_HelmetConstants.HELMET_ATTRIBUTE, attributeKeys.join(\",\"));\n }\n};\n\nvar updateTags = function updateTags(type, tags) {\n var headElement = document.head || document.querySelector(_HelmetConstants.TAG_NAMES.HEAD);\n var tagNodes = headElement.querySelectorAll(type + \"[\" + _HelmetConstants.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 === _HelmetConstants.TAG_PROPERTIES.INNER_HTML) {\n newElement.innerHTML = tag.innerHTML;\n } else if (attribute === _HelmetConstants.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(_HelmetConstants.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 + \" \" + _HelmetConstants.HELMET_ATTRIBUTE + \"=\\\"true\\\" \" + attributeString + \">\" + encodeSpecialCharacters(flattenedTitle, encode) + \"</\" + type + \">\" : \"<\" + type + \" \" + _HelmetConstants.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 === _HelmetConstants.TAG_PROPERTIES.INNER_HTML || attribute === _HelmetConstants.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 = _HelmetConstants.SELF_CLOSING_TAGS.indexOf(type) === -1;\n return str + \"<\" + type + \" \" + _HelmetConstants.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[_HelmetConstants.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[_HelmetConstants.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[_HelmetConstants.HELMET_ATTRIBUTE] = true, _initProps);\n var props = convertElementAttributestoReactProps(attributes, initProps);\n return [_react2.default.createElement(_HelmetConstants.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[_HelmetConstants.HELMET_ATTRIBUTE] = true, _mappedTag);\n Object.keys(tag).forEach(function (attribute) {\n var mappedAttribute = _HelmetConstants.REACT_TAG_MAP[attribute] || attribute;\n\n if (mappedAttribute === _HelmetConstants.TAG_PROPERTIES.INNER_HTML || mappedAttribute === _HelmetConstants.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 _react2.default.createElement(type, mappedTag);\n });\n};\n\nvar getMethodsForTag = function getMethodsForTag(type, tags, encode) {\n switch (type) {\n case _HelmetConstants.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 _HelmetConstants.ATTRIBUTE_NAMES.BODY:\n case _HelmetConstants.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(_HelmetConstants.TAG_NAMES.BASE, baseTag, encode),\n bodyAttributes: getMethodsForTag(_HelmetConstants.ATTRIBUTE_NAMES.BODY, bodyAttributes, encode),\n htmlAttributes: getMethodsForTag(_HelmetConstants.ATTRIBUTE_NAMES.HTML, htmlAttributes, encode),\n link: getMethodsForTag(_HelmetConstants.TAG_NAMES.LINK, linkTags, encode),\n meta: getMethodsForTag(_HelmetConstants.TAG_NAMES.META, metaTags, encode),\n noscript: getMethodsForTag(_HelmetConstants.TAG_NAMES.NOSCRIPT, noscriptTags, encode),\n script: getMethodsForTag(_HelmetConstants.TAG_NAMES.SCRIPT, scriptTags, encode),\n style: getMethodsForTag(_HelmetConstants.TAG_NAMES.STYLE, styleTags, encode),\n title: getMethodsForTag(_HelmetConstants.TAG_NAMES.TITLE, {\n title: title,\n titleAttributes: titleAttributes\n }, encode)\n };\n};\n\nexports.convertReactPropstoHtmlAttributes = convertReactPropstoHtmlAttributes;\nexports.handleClientStateChange = handleClientStateChange;\nexports.mapStateOnServer = mapStateOnServer;\nexports.reducePropsToState = reducePropsToState;\nexports.requestAnimationFrame = requestAnimationFrame;\nexports.warn = warn;","/**\n * SEO component that queries for data with\n * Gatsby's useStaticQuery React hook\n *\n * See: https://www.gatsbyjs.org/docs/use-static-query/\n */\n\nimport React from \"react\"\nimport PropTypes from \"prop-types\"\nimport Helmet from \"react-helmet\"\nimport { useStaticQuery, graphql } from \"gatsby\"\n\nfunction SEO({ description, lang, meta, title }) {\n const { site } = useStaticQuery(\n graphql`\n query {\n site {\n siteMetadata {\n title\n description\n author\n }\n }\n }\n `\n )\n\n const metaDescription = description || site.siteMetadata.description\n\n return (\n <Helmet\n htmlAttributes={{\n lang,\n }}\n title={title}\n titleTemplate={`%s | ${site.siteMetadata.title}`}\n meta={[\n {\n name: `description`,\n content: metaDescription,\n },\n {\n property: `og:title`,\n content: title,\n },\n {\n property: `og:description`,\n content: metaDescription,\n },\n {\n property: `og:type`,\n content: `website`,\n },\n {\n name: `twitter:card`,\n content: `summary`,\n },\n {\n name: `twitter:creator`,\n content: site.siteMetadata.author,\n },\n {\n name: `twitter:title`,\n content: title,\n },\n {\n name: `twitter:description`,\n content: metaDescription,\n },\n ].concat(meta)}\n />\n )\n}\n\nSEO.defaultProps = {\n lang: `en`,\n meta: [],\n description: ``,\n}\n\nSEO.propTypes = {\n description: PropTypes.string,\n lang: PropTypes.string,\n meta: PropTypes.arrayOf(PropTypes.object),\n title: PropTypes.string.isRequired,\n}\n\nexport default SEO\n","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\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 _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 _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _reactDom = require('react-dom');\n\nvar _reactDom2 = _interopRequireDefault(_reactDom);\n\nvar _scroller = require('./scroller');\n\nvar _scroller2 = _interopRequireDefault(_scroller);\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _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\nfunction _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\nexports.default = function (Component) {\n var Element = function (_React$Component) {\n _inherits(Element, _React$Component);\n\n function Element(props) {\n _classCallCheck(this, Element);\n\n var _this = _possibleConstructorReturn(this, (Element.__proto__ || Object.getPrototypeOf(Element)).call(this, props));\n\n _this.childBindings = {\n domNode: null\n };\n return _this;\n }\n\n _createClass(Element, [{\n key: 'componentDidMount',\n value: function componentDidMount() {\n if (typeof window === 'undefined') {\n return false;\n }\n\n this.registerElems(this.props.name);\n }\n }, {\n key: 'componentDidUpdate',\n value: function componentDidUpdate(prevProps) {\n if (this.props.name !== prevProps.name) {\n this.registerElems(this.props.name);\n }\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n if (typeof window === 'undefined') {\n return false;\n }\n\n _scroller2.default.unregister(this.props.name);\n }\n }, {\n key: 'registerElems',\n value: function registerElems(name) {\n _scroller2.default.register(name, this.childBindings.domNode);\n }\n }, {\n key: 'render',\n value: function render() {\n return _react2.default.createElement(Component, _extends({}, this.props, {\n parentBindings: this.childBindings\n }));\n }\n }]);\n\n return Element;\n }(_react2.default.Component);\n\n ;\n Element.propTypes = {\n name: _propTypes2.default.string,\n id: _propTypes2.default.string\n };\n return Element;\n};","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _lodash = require('lodash.throttle');\n\nvar _lodash2 = _interopRequireDefault(_lodash);\n\nvar _passiveEventListeners = require('./passive-event-listeners');\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n} // The eventHandler will execute at a rate of 15fps\n\n\nvar eventThrottler = function eventThrottler(eventHandler) {\n return (0, _lodash2.default)(eventHandler, 66);\n};\n\nvar scrollSpy = {\n spyCallbacks: [],\n spySetState: [],\n scrollSpyContainers: [],\n mount: function mount(scrollSpyContainer) {\n if (scrollSpyContainer) {\n var eventHandler = eventThrottler(function (event) {\n scrollSpy.scrollHandler(scrollSpyContainer);\n });\n scrollSpy.scrollSpyContainers.push(scrollSpyContainer);\n (0, _passiveEventListeners.addPassiveEventListener)(scrollSpyContainer, 'scroll', eventHandler);\n }\n },\n isMounted: function isMounted(scrollSpyContainer) {\n return scrollSpy.scrollSpyContainers.indexOf(scrollSpyContainer) !== -1;\n },\n currentPositionX: function currentPositionX(scrollSpyContainer) {\n if (scrollSpyContainer === document) {\n var supportPageOffset = window.pageYOffset !== undefined;\n var isCSS1Compat = (document.compatMode || \"\") === \"CSS1Compat\";\n return supportPageOffset ? window.pageXOffset : isCSS1Compat ? document.documentElement.scrollLeft : document.body.scrollLeft;\n } else {\n return scrollSpyContainer.scrollLeft;\n }\n },\n currentPositionY: function currentPositionY(scrollSpyContainer) {\n if (scrollSpyContainer === document) {\n var supportPageOffset = window.pageXOffset !== undefined;\n var isCSS1Compat = (document.compatMode || \"\") === \"CSS1Compat\";\n return supportPageOffset ? window.pageYOffset : isCSS1Compat ? document.documentElement.scrollTop : document.body.scrollTop;\n } else {\n return scrollSpyContainer.scrollTop;\n }\n },\n scrollHandler: function scrollHandler(scrollSpyContainer) {\n var callbacks = scrollSpy.scrollSpyContainers[scrollSpy.scrollSpyContainers.indexOf(scrollSpyContainer)].spyCallbacks || [];\n callbacks.forEach(function (c) {\n return c(scrollSpy.currentPositionX(scrollSpyContainer), scrollSpy.currentPositionY(scrollSpyContainer));\n });\n },\n addStateHandler: function addStateHandler(handler) {\n scrollSpy.spySetState.push(handler);\n },\n addSpyHandler: function addSpyHandler(handler, scrollSpyContainer) {\n var container = scrollSpy.scrollSpyContainers[scrollSpy.scrollSpyContainers.indexOf(scrollSpyContainer)];\n\n if (!container.spyCallbacks) {\n container.spyCallbacks = [];\n }\n\n container.spyCallbacks.push(handler);\n handler(scrollSpy.currentPositionX(scrollSpyContainer), scrollSpy.currentPositionY(scrollSpyContainer));\n },\n updateStates: function updateStates() {\n scrollSpy.spySetState.forEach(function (s) {\n return s();\n });\n },\n unmount: function unmount(stateHandler, spyHandler) {\n scrollSpy.scrollSpyContainers.forEach(function (c) {\n return c.spyCallbacks && c.spyCallbacks.length && c.spyCallbacks.splice(c.spyCallbacks.indexOf(spyHandler), 1);\n });\n\n if (scrollSpy.spySetState && scrollSpy.spySetState.length) {\n scrollSpy.spySetState.splice(scrollSpy.spySetState.indexOf(stateHandler), 1);\n }\n\n document.removeEventListener('scroll', scrollSpy.scrollHandler);\n },\n update: function update() {\n return scrollSpy.scrollSpyContainers.forEach(function (c) {\n return scrollSpy.scrollHandler(c);\n });\n }\n};\nexports.default = scrollSpy;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar updateHash = function updateHash(hash, historyUpdate) {\n var hashVal = hash.indexOf(\"#\") === 0 ? hash.substring(1) : hash;\n var hashToUpdate = hashVal ? \"#\" + hashVal : \"\";\n var curLoc = window && window.location;\n var urlToPush = hashToUpdate ? curLoc.pathname + curLoc.search + hashToUpdate : curLoc.pathname + curLoc.search;\n historyUpdate ? history.pushState(null, \"\", urlToPush) : history.replaceState(null, \"\", urlToPush);\n};\n\nvar getHash = function getHash() {\n return window.location.hash.replace(/^#/, \"\");\n};\n\nvar filterElementInContainer = function filterElementInContainer(container) {\n return function (element) {\n return container.contains ? container != element && container.contains(element) : !!(container.compareDocumentPosition(element) & 16);\n };\n};\n\nvar scrollOffset = function scrollOffset(c, t, horizontal) {\n if (horizontal) {\n return c === document ? t.getBoundingClientRect().left + (window.scrollX || window.pageXOffset) : getComputedStyle(c).position !== \"static\" ? t.offsetLeft : t.offsetLeft - c.offsetLeft;\n } else {\n return c === document ? t.getBoundingClientRect().top + (window.scrollY || window.pageYOffset) : getComputedStyle(c).position !== \"static\" ? t.offsetTop : t.offsetTop - c.offsetTop;\n }\n};\n\nexports.default = {\n updateHash: updateHash,\n getHash: getHash,\n filterElementInContainer: filterElementInContainer,\n scrollOffset: scrollOffset\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","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\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 _utils = require('./utils');\n\nvar _utils2 = _interopRequireDefault(_utils);\n\nvar _animateScroll = require('./animate-scroll');\n\nvar _animateScroll2 = _interopRequireDefault(_animateScroll);\n\nvar _scrollEvents = require('./scroll-events');\n\nvar _scrollEvents2 = _interopRequireDefault(_scrollEvents);\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\n\nvar __mapped = {};\n\nvar __activeLink = void 0;\n\nexports.default = {\n unmount: function unmount() {\n __mapped = {};\n },\n register: function register(name, element) {\n __mapped[name] = element;\n },\n unregister: function unregister(name) {\n delete __mapped[name];\n },\n get: function get(name) {\n return __mapped[name] || document.getElementById(name) || document.getElementsByName(name)[0] || document.getElementsByClassName(name)[0];\n },\n setActiveLink: function setActiveLink(link) {\n return __activeLink = link;\n },\n getActiveLink: function getActiveLink() {\n return __activeLink;\n },\n scrollTo: function scrollTo(to, props) {\n var target = this.get(to);\n\n if (!target) {\n console.warn(\"target Element not found\");\n return;\n }\n\n props = _extends({}, props, {\n absolute: false\n });\n var containerId = props.containerId;\n var container = props.container;\n var containerElement = void 0;\n\n if (containerId) {\n containerElement = document.getElementById(containerId);\n } else if (container && container.nodeType) {\n containerElement = container;\n } else {\n containerElement = document;\n }\n\n props.absolute = true;\n var horizontal = props.horizontal;\n var scrollOffset = _utils2.default.scrollOffset(containerElement, target, horizontal) + (props.offset || 0);\n /*\r\n * if animate is not provided just scroll into the view\r\n */\n\n if (!props.smooth) {\n if (_scrollEvents2.default.registered['begin']) {\n _scrollEvents2.default.registered['begin'](to, target);\n }\n\n if (containerElement === document) {\n if (props.horizontal) {\n window.scrollTo(scrollOffset, 0);\n } else {\n window.scrollTo(0, scrollOffset);\n }\n } else {\n containerElement.scrollTop = scrollOffset;\n }\n\n if (_scrollEvents2.default.registered['end']) {\n _scrollEvents2.default.registered['end'](to, target);\n }\n\n return;\n }\n /*\r\n * Animate scrolling\r\n */\n\n\n _animateScroll2.default.animateTopScroll(scrollOffset, props, to, target);\n }\n};"],"sourceRoot":""}