-
Notifications
You must be signed in to change notification settings - Fork 0
/
component---src-layouts-index-js-501b89809637b5c43e0c.js
6 lines (6 loc) · 147 KB
/
component---src-layouts-index-js-501b89809637b5c43e0c.js
1
2
3
4
5
6
webpackJsonp([0x67ef26645b2a,60335399758886],{226:function(t,e){t.exports={data:{site:{siteMetadata:{title:"Portfolio | Dave Pack"}}},layoutContext:{}}},268:function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},r=n(1),a=o(r),s=n(271),l=o(s),u=n(226),c=o(u);e.default=function(t){return a.default.createElement(l.default,i({},t,c.default))},t.exports=e.default},159:function(t,e,n){"use strict";function o(t){return t}function i(t,e,n){function i(t,e){var n=v.hasOwnProperty(e)?v[e]:null;S.hasOwnProperty(e)&&l("OVERRIDE_BASE"===n,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",e),t&&l("DEFINE_MANY"===n||"DEFINE_MANY_MERGED"===n,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",e)}function r(t,n){if(n){l("function"!=typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),l(!e(n),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var o=t.prototype,r=o.__reactAutoBindPairs;n.hasOwnProperty(u)&&g.mixins(t,n.mixins);for(var a in n)if(n.hasOwnProperty(a)&&a!==u){var s=n[a],c=o.hasOwnProperty(a);if(i(c,a),g.hasOwnProperty(a))g[a](t,s);else{var f=v.hasOwnProperty(a),h="function"==typeof s,_=h&&!f&&!c&&n.autobind!==!1;if(_)r.push(a,s),o[a]=s;else if(c){var y=v[a];l(f&&("DEFINE_MANY_MERGED"===y||"DEFINE_MANY"===y),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",y,a),"DEFINE_MANY_MERGED"===y?o[a]=p(o[a],s):"DEFINE_MANY"===y&&(o[a]=d(o[a],s))}else o[a]=s}}}else;}function c(t,e){if(e)for(var n in e){var o=e[n];if(e.hasOwnProperty(n)){var i=n in g;l(!i,'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',n);var r=n in t;if(r){var a=E.hasOwnProperty(n)?E[n]:null;return l("DEFINE_MANY_MERGED"===a,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n),void(t[n]=p(t[n],o))}t[n]=o}}}function f(t,e){l(t&&e&&"object"==typeof t&&"object"==typeof e,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.");for(var n in e)e.hasOwnProperty(n)&&(l(void 0===t[n],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",n),t[n]=e[n]);return t}function p(t,e){return function(){var n=t.apply(this,arguments),o=e.apply(this,arguments);if(null==n)return o;if(null==o)return n;var i={};return f(i,n),f(i,o),i}}function d(t,e){return function(){t.apply(this,arguments),e.apply(this,arguments)}}function h(t,e){var n=e.bind(t);return n}function _(t){for(var e=t.__reactAutoBindPairs,n=0;n<e.length;n+=2){var o=e[n],i=e[n+1];t[o]=h(t,i)}}function y(t){var e=o(function(t,o,i){this.__reactAutoBindPairs.length&&_(this),this.props=t,this.context=o,this.refs=s,this.updater=i||n,this.state=null;var r=this.getInitialState?this.getInitialState():null;l("object"==typeof r&&!Array.isArray(r),"%s.getInitialState(): must return an object or null",e.displayName||"ReactCompositeComponent"),this.state=r});e.prototype=new R,e.prototype.constructor=e,e.prototype.__reactAutoBindPairs=[],m.forEach(r.bind(null,e)),r(e,b),r(e,t),r(e,T),e.getDefaultProps&&(e.defaultProps=e.getDefaultProps()),l(e.prototype.render,"createClass(...): Class specification must implement a `render` method.");for(var i in v)e.prototype[i]||(e.prototype[i]=null);return e}var m=[],v={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",UNSAFE_componentWillMount:"DEFINE_MANY",UNSAFE_componentWillReceiveProps:"DEFINE_MANY",UNSAFE_componentWillUpdate:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},E={getDerivedStateFromProps:"DEFINE_MANY_MERGED"},g={displayName:function(t,e){t.displayName=e},mixins:function(t,e){if(e)for(var n=0;n<e.length;n++)r(t,e[n])},childContextTypes:function(t,e){t.childContextTypes=a({},t.childContextTypes,e)},contextTypes:function(t,e){t.contextTypes=a({},t.contextTypes,e)},getDefaultProps:function(t,e){t.getDefaultProps?t.getDefaultProps=p(t.getDefaultProps,e):t.getDefaultProps=e},propTypes:function(t,e){t.propTypes=a({},t.propTypes,e)},statics:function(t,e){c(t,e)},autobind:function(){}},b={componentDidMount:function(){this.__isMounted=!0}},T={componentWillUnmount:function(){this.__isMounted=!1}},S={replaceState:function(t,e){this.updater.enqueueReplaceState(this,t,e)},isMounted:function(){return!!this.__isMounted}},R=function(){};return a(R.prototype,t.prototype,S),y}var r,a=n(38),s=n(161),l=n(3),u="mixins";r={},t.exports=i},32:function(t,e,n){"use strict";var o=n(1),i=n(159);if("undefined"==typeof o)throw Error("create-react-class could not find the React object. If you are using script tags, make sure that React is being loaded before create-react-class.");var r=(new o.Component).updater;t.exports=i(o.Component,o.isValidElement,r)},357:function(t,e,n){function o(t){return null===t||void 0===t}function i(t){return!(!t||"object"!=typeof t||"number"!=typeof t.length)&&("function"==typeof t.copy&&"function"==typeof t.slice&&!(t.length>0&&"number"!=typeof t[0]))}function r(t,e,n){var r,c;if(o(t)||o(e))return!1;if(t.prototype!==e.prototype)return!1;if(l(t))return!!l(e)&&(t=a.call(t),e=a.call(e),u(t,e,n));if(i(t)){if(!i(e))return!1;if(t.length!==e.length)return!1;for(r=0;r<t.length;r++)if(t[r]!==e[r])return!1;return!0}try{var f=s(t),p=s(e)}catch(t){return!1}if(f.length!=p.length)return!1;for(f.sort(),p.sort(),r=f.length-1;r>=0;r--)if(f[r]!=p[r])return!1;for(r=f.length-1;r>=0;r--)if(c=f[r],!u(t[c],e[c],n))return!1;return typeof t==typeof e}var a=Array.prototype.slice,s=n(359),l=n(358),u=t.exports=function(t,e,n){return n||(n={}),t===e||(t instanceof Date&&e instanceof Date?t.getTime()===e.getTime():!t||!e||"object"!=typeof t&&"object"!=typeof e?n.strict?t===e:t==e:r(t,e,n))}},358:function(t,e){function n(t){return"[object Arguments]"==Object.prototype.toString.call(t)}function o(t){return t&&"object"==typeof t&&"number"==typeof t.length&&Object.prototype.hasOwnProperty.call(t,"callee")&&!Object.prototype.propertyIsEnumerable.call(t,"callee")||!1}var i="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();e=t.exports=i?n:o,e.supported=n,e.unsupported=o},359:function(t,e){function n(t){var e=[];for(var n in t)e.push(n);return e}e=t.exports="function"==typeof Object.keys?Object.keys:n,e.shim=n},366:function(t,e,n){var o;!function(){"use strict";var i=!("undefined"==typeof window||!window.document||!window.document.createElement),r={canUseDOM:i,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:i&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:i&&!!window.screen};o=function(){return r}.call(e,n,e,t),!(void 0!==o&&(t.exports=o))}()},398:function(t,e,n){function o(t){return t&&t.__esModule?t:{default:t}}function i(t,e){var n={};for(var o in t)e.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o]);return n}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0,e.Helmet=void 0;var l=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},u=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),c=n(1),f=o(c),p=n(2),d=o(p),h=n(417),_=o(h),y=n(357),m=o(y),v=n(399),E=n(260),g=function(t){var e,n;return n=e=function(e){function n(){return r(this,n),a(this,e.apply(this,arguments))}return s(n,e),n.prototype.shouldComponentUpdate=function(t){return!(0,m.default)(this.props,t)},n.prototype.mapNestedChildrenToProps=function(t,e){if(!e)return null;switch(t.type){case E.TAG_NAMES.SCRIPT:case E.TAG_NAMES.NOSCRIPT:return{innerHTML:e};case E.TAG_NAMES.STYLE:return{cssText:e}}throw new Error("<"+t.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},n.prototype.flattenArrayTypeChildren=function(t){var e,n=t.child,o=t.arrayTypeChildren,i=t.newChildProps,r=t.nestedChildren;return l({},o,(e={},e[n.type]=[].concat(o[n.type]||[],[l({},i,this.mapNestedChildrenToProps(n,r))]),e))},n.prototype.mapObjectTypeChildren=function(t){var e,n,o=t.child,i=t.newProps,r=t.newChildProps,a=t.nestedChildren;switch(o.type){case E.TAG_NAMES.TITLE:return l({},i,(e={},e[o.type]=a,e.titleAttributes=l({},r),e));case E.TAG_NAMES.BODY:return l({},i,{bodyAttributes:l({},r)});case E.TAG_NAMES.HTML:return l({},i,{htmlAttributes:l({},r)})}return l({},i,(n={},n[o.type]=l({},r),n))},n.prototype.mapArrayTypeChildrenToProps=function(t,e){var n=l({},e);return Object.keys(t).forEach(function(e){var o;n=l({},n,(o={},o[e]=t[e],o))}),n},n.prototype.warnOnInvalidChildren=function(t,e){return!0},n.prototype.mapChildrenToProps=function(t,e){var n=this,o={};return f.default.Children.forEach(t,function(t){if(t&&t.props){var r=t.props,a=r.children,s=i(r,["children"]),l=(0,v.convertReactPropstoHtmlAttributes)(s);switch(n.warnOnInvalidChildren(t,a),t.type){case E.TAG_NAMES.LINK:case E.TAG_NAMES.META:case E.TAG_NAMES.NOSCRIPT:case E.TAG_NAMES.SCRIPT:case E.TAG_NAMES.STYLE:o=n.flattenArrayTypeChildren({child:t,arrayTypeChildren:o,newChildProps:l,nestedChildren:a});break;default:e=n.mapObjectTypeChildren({child:t,newProps:e,newChildProps:l,nestedChildren:a})}}}),e=this.mapArrayTypeChildrenToProps(o,e)},n.prototype.render=function(){var e=this.props,n=e.children,o=i(e,["children"]),r=l({},o);return n&&(r=this.mapChildrenToProps(n,r)),f.default.createElement(t,r)},u(n,null,[{key:"canUseDOM",set:function(e){t.canUseDOM=e}}]),n}(f.default.Component),e.propTypes={base:d.default.object,bodyAttributes:d.default.object,children:d.default.oneOfType([d.default.arrayOf(d.default.node),d.default.node]),defaultTitle:d.default.string,defer:d.default.bool,encodeSpecialCharacters:d.default.bool,htmlAttributes:d.default.object,link:d.default.arrayOf(d.default.object),meta:d.default.arrayOf(d.default.object),noscript:d.default.arrayOf(d.default.object),onChangeClientState:d.default.func,script:d.default.arrayOf(d.default.object),style:d.default.arrayOf(d.default.object),title:d.default.string,titleAttributes:d.default.object,titleTemplate:d.default.string},e.defaultProps={defer:!0,encodeSpecialCharacters:!0},e.peek=t.peek,e.rewind=function(){var e=t.rewind();return e||(e=(0,v.mapStateOnServer)({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),e},n},b=function(){return null},T=(0,_.default)(v.reducePropsToState,v.handleClientStateChange,v.mapStateOnServer)(b),S=g(T);S.renderStatic=S.rewind,e.Helmet=S,e.default=S},260:function(t,e){e.__esModule=!0;var n=(e.ATTRIBUTE_NAMES={BODY:"bodyAttributes",HTML:"htmlAttributes",TITLE:"titleAttributes"},e.TAG_NAMES={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"}),o=(e.VALID_TAG_NAMES=Object.keys(n).map(function(t){return n[t]}),e.TAG_PROPERTIES={CHARSET:"charset",CSS_TEXT:"cssText",HREF:"href",HTTPEQUIV:"http-equiv",INNER_HTML:"innerHTML",ITEM_PROP:"itemprop",NAME:"name",PROPERTY:"property",REL:"rel",SRC:"src"},e.REACT_TAG_MAP={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"});e.HELMET_PROPS={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate"},e.HTML_TAG_MAP=Object.keys(o).reduce(function(t,e){return t[o[e]]=e,t},{}),e.SELF_CLOSING_TAGS=[n.NOSCRIPT,n.SCRIPT,n.STYLE],e.HELMET_ATTRIBUTE="data-react-helmet"},399:function(t,e,n){(function(t){function o(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0,e.warn=e.requestAnimationFrame=e.reducePropsToState=e.mapStateOnServer=e.handleClientStateChange=e.convertReactPropstoHtmlAttributes=void 0;var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},a=n(1),s=o(a),l=n(38),u=o(l),c=n(260),f=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e===!1?String(t):String(t).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},p=function(t){var e=m(t,c.TAG_NAMES.TITLE),n=m(t,c.HELMET_PROPS.TITLE_TEMPLATE);if(n&&e)return n.replace(/%s/g,function(){return e});var o=m(t,c.HELMET_PROPS.DEFAULT_TITLE);return e||o||void 0},d=function(t){return m(t,c.HELMET_PROPS.ON_CHANGE_CLIENT_STATE)||function(){}},h=function(t,e){return e.filter(function(e){return"undefined"!=typeof e[t]}).map(function(e){return e[t]}).reduce(function(t,e){return r({},t,e)},{})},_=function(t,e){return e.filter(function(t){return"undefined"!=typeof t[c.TAG_NAMES.BASE]}).map(function(t){return t[c.TAG_NAMES.BASE]}).reverse().reduce(function(e,n){if(!e.length)for(var o=Object.keys(n),i=0;i<o.length;i++){var r=o[i],a=r.toLowerCase();if(t.indexOf(a)!==-1&&n[a])return e.concat(n)}return e},[])},y=function(t,e,n){var o={};return n.filter(function(e){return!!Array.isArray(e[t])||("undefined"!=typeof e[t]&&S("Helmet: "+t+' should be of type "Array". Instead found type "'+i(e[t])+'"'),!1)}).map(function(e){return e[t]}).reverse().reduce(function(t,n){var i={};n.filter(function(t){for(var n=void 0,r=Object.keys(t),a=0;a<r.length;a++){var s=r[a],l=s.toLowerCase();e.indexOf(l)===-1||n===c.TAG_PROPERTIES.REL&&"canonical"===t[n].toLowerCase()||l===c.TAG_PROPERTIES.REL&&"stylesheet"===t[l].toLowerCase()||(n=l),e.indexOf(s)===-1||s!==c.TAG_PROPERTIES.INNER_HTML&&s!==c.TAG_PROPERTIES.CSS_TEXT&&s!==c.TAG_PROPERTIES.ITEM_PROP||(n=s)}if(!n||!t[n])return!1;var u=t[n].toLowerCase();return o[n]||(o[n]={}),i[n]||(i[n]={}),!o[n][u]&&(i[n][u]=!0,!0)}).reverse().forEach(function(e){return t.push(e)});for(var r=Object.keys(i),a=0;a<r.length;a++){var s=r[a],l=(0,u.default)({},o[s],i[s]);o[s]=l}return t},[]).reverse()},m=function(t,e){for(var n=t.length-1;n>=0;n--){var o=t[n];if(o.hasOwnProperty(e))return o[e]}return null},v=function(t){return{baseTag:_([c.TAG_PROPERTIES.HREF],t),bodyAttributes:h(c.ATTRIBUTE_NAMES.BODY,t),defer:m(t,c.HELMET_PROPS.DEFER),encode:m(t,c.HELMET_PROPS.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:h(c.ATTRIBUTE_NAMES.HTML,t),linkTags:y(c.TAG_NAMES.LINK,[c.TAG_PROPERTIES.REL,c.TAG_PROPERTIES.HREF],t),metaTags:y(c.TAG_NAMES.META,[c.TAG_PROPERTIES.NAME,c.TAG_PROPERTIES.CHARSET,c.TAG_PROPERTIES.HTTPEQUIV,c.TAG_PROPERTIES.PROPERTY,c.TAG_PROPERTIES.ITEM_PROP],t),noscriptTags:y(c.TAG_NAMES.NOSCRIPT,[c.TAG_PROPERTIES.INNER_HTML],t),onChangeClientState:d(t),scriptTags:y(c.TAG_NAMES.SCRIPT,[c.TAG_PROPERTIES.SRC,c.TAG_PROPERTIES.INNER_HTML],t),styleTags:y(c.TAG_NAMES.STYLE,[c.TAG_PROPERTIES.CSS_TEXT],t),title:p(t),titleAttributes:h(c.ATTRIBUTE_NAMES.TITLE,t)}},E=function(){var t=Date.now();return function(e){var n=Date.now();n-t>16?(t=n,e(n)):setTimeout(function(){E(e)},0)}}(),g=function(t){return clearTimeout(t)},b="undefined"!=typeof window?window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||E:t.requestAnimationFrame||E,T="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||g:t.cancelAnimationFrame||g,S=function(t){return console&&"function"==typeof console.warn&&console.warn(t)},R=null,O=function(t){R&&T(R),t.defer?R=b(function(){P(t,function(){R=null})}):(P(t),R=null)},P=function(t,e){var n=t.baseTag,o=t.bodyAttributes,i=t.htmlAttributes,r=t.linkTags,a=t.metaTags,s=t.noscriptTags,l=t.onChangeClientState,u=t.scriptTags,f=t.styleTags,p=t.title,d=t.titleAttributes;A(c.TAG_NAMES.BODY,o),A(c.TAG_NAMES.HTML,i),w(p,d);var h={baseTag:I(c.TAG_NAMES.BASE,n),linkTags:I(c.TAG_NAMES.LINK,r),metaTags:I(c.TAG_NAMES.META,a),noscriptTags:I(c.TAG_NAMES.NOSCRIPT,s),scriptTags:I(c.TAG_NAMES.SCRIPT,u),styleTags:I(c.TAG_NAMES.STYLE,f)},_={},y={};Object.keys(h).forEach(function(t){var e=h[t],n=e.newTags,o=e.oldTags;n.length&&(_[t]=n),o.length&&(y[t]=h[t].oldTags)}),e&&e(),l(t,_,y)},N=function(t){return Array.isArray(t)?t.join(""):t},w=function(t,e){"undefined"!=typeof t&&document.title!==t&&(document.title=N(t)),A(c.TAG_NAMES.TITLE,e)},A=function(t,e){var n=document.getElementsByTagName(t)[0];if(n){for(var o=n.getAttribute(c.HELMET_ATTRIBUTE),i=o?o.split(","):[],r=[].concat(i),a=Object.keys(e),s=0;s<a.length;s++){var l=a[s],u=e[l]||"";n.getAttribute(l)!==u&&n.setAttribute(l,u),i.indexOf(l)===-1&&i.push(l);var f=r.indexOf(l);f!==-1&&r.splice(f,1)}for(var p=r.length-1;p>=0;p--)n.removeAttribute(r[p]);i.length===r.length?n.removeAttribute(c.HELMET_ATTRIBUTE):n.getAttribute(c.HELMET_ATTRIBUTE)!==a.join(",")&&n.setAttribute(c.HELMET_ATTRIBUTE,a.join(","))}},I=function(t,e){var n=document.head||document.querySelector(c.TAG_NAMES.HEAD),o=n.querySelectorAll(t+"["+c.HELMET_ATTRIBUTE+"]"),i=Array.prototype.slice.call(o),r=[],a=void 0;return e&&e.length&&e.forEach(function(e){var n=document.createElement(t);for(var o in e)if(e.hasOwnProperty(o))if(o===c.TAG_PROPERTIES.INNER_HTML)n.innerHTML=e.innerHTML;else if(o===c.TAG_PROPERTIES.CSS_TEXT)n.styleSheet?n.styleSheet.cssText=e.cssText:n.appendChild(document.createTextNode(e.cssText));else{var s="undefined"==typeof e[o]?"":e[o];n.setAttribute(o,s)}n.setAttribute(c.HELMET_ATTRIBUTE,"true"),i.some(function(t,e){return a=e,n.isEqualNode(t)})?i.splice(a,1):r.push(n)}),i.forEach(function(t){return t.parentNode.removeChild(t)}),r.forEach(function(t){return n.appendChild(t)}),{oldTags:i,newTags:r}},C=function(t){return Object.keys(t).reduce(function(e,n){var o="undefined"!=typeof t[n]?n+'="'+t[n]+'"':""+n;return e?e+" "+o:o},"")},D=function(t,e,n,o){var i=C(n),r=N(e);return i?"<"+t+" "+c.HELMET_ATTRIBUTE+'="true" '+i+">"+f(r,o)+"</"+t+">":"<"+t+" "+c.HELMET_ATTRIBUTE+'="true">'+f(r,o)+"</"+t+">"},M=function(t,e,n){return e.reduce(function(e,o){var i=Object.keys(o).filter(function(t){return!(t===c.TAG_PROPERTIES.INNER_HTML||t===c.TAG_PROPERTIES.CSS_TEXT)}).reduce(function(t,e){var i="undefined"==typeof o[e]?e:e+'="'+f(o[e],n)+'"';return t?t+" "+i:i},""),r=o.innerHTML||o.cssText||"",a=c.SELF_CLOSING_TAGS.indexOf(t)===-1;return e+"<"+t+" "+c.HELMET_ATTRIBUTE+'="true" '+i+(a?"/>":">"+r+"</"+t+">")},"")},x=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).reduce(function(e,n){return e[c.REACT_TAG_MAP[n]||n]=t[n],e},e)},L=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).reduce(function(e,n){return e[c.HTML_TAG_MAP[n]||n]=t[n],e},e)},j=function(t,e,n){var o,i=(o={key:e},o[c.HELMET_ATTRIBUTE]=!0,o),r=x(n,i);return[s.default.createElement(c.TAG_NAMES.TITLE,r,e)]},V=function(t,e){return e.map(function(e,n){var o,i=(o={key:n},o[c.HELMET_ATTRIBUTE]=!0,o);return Object.keys(e).forEach(function(t){var n=c.REACT_TAG_MAP[t]||t;if(n===c.TAG_PROPERTIES.INNER_HTML||n===c.TAG_PROPERTIES.CSS_TEXT){var o=e.innerHTML||e.cssText;i.dangerouslySetInnerHTML={__html:o}}else i[n]=e[t]}),s.default.createElement(t,i)})},k=function(t,e,n){switch(t){case c.TAG_NAMES.TITLE:return{toComponent:function(){return j(t,e.title,e.titleAttributes,n)},toString:function(){return D(t,e.title,e.titleAttributes,n)}};case c.ATTRIBUTE_NAMES.BODY:case c.ATTRIBUTE_NAMES.HTML:return{toComponent:function(){return x(e)},toString:function(){return C(e)}};default:return{toComponent:function(){return V(t,e)},toString:function(){return M(t,e,n)}}}},H=function(t){var e=t.baseTag,n=t.bodyAttributes,o=t.encode,i=t.htmlAttributes,r=t.linkTags,a=t.metaTags,s=t.noscriptTags,l=t.scriptTags,u=t.styleTags,f=t.title,p=void 0===f?"":f,d=t.titleAttributes;return{base:k(c.TAG_NAMES.BASE,e,o),bodyAttributes:k(c.ATTRIBUTE_NAMES.BODY,n,o),htmlAttributes:k(c.ATTRIBUTE_NAMES.HTML,i,o),link:k(c.TAG_NAMES.LINK,r,o),meta:k(c.TAG_NAMES.META,a,o),noscript:k(c.TAG_NAMES.NOSCRIPT,s,o),script:k(c.TAG_NAMES.SCRIPT,l,o),style:k(c.TAG_NAMES.STYLE,u,o),title:k(c.TAG_NAMES.TITLE,{title:p,titleAttributes:d},o)}};e.convertReactPropstoHtmlAttributes=L,e.handleClientStateChange=O,e.mapStateOnServer=H,e.reducePropsToState=v,e.requestAnimationFrame=b,e.warn=S}).call(e,function(){return this}())},417:function(t,e,n){"use strict";function o(t){return t&&"object"==typeof t&&"default"in t?t.default:t}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function s(t,e,n){function o(t){return t.displayName||t.name||"Component"}if("function"!=typeof t)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof e)throw new Error("Expected handleStateChangeOnClient to be a function.");if("undefined"!=typeof n&&"function"!=typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(s){function p(){h=t(d.map(function(t){return t.props})),_.canUseDOM?e(h):n&&(h=n(h))}if("function"!=typeof s)throw new Error("Expected WrappedComponent to be a React component.");var d=[],h=void 0,_=function(t){function e(){return i(this,e),r(this,t.apply(this,arguments))}return a(e,t),e.peek=function(){return h},e.rewind=function(){if(e.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var t=h;return h=void 0,d=[],t},e.prototype.shouldComponentUpdate=function(t){return!f(t,this.props)},e.prototype.componentWillMount=function(){d.push(this),p()},e.prototype.componentDidUpdate=function(){p()},e.prototype.componentWillUnmount=function(){var t=d.indexOf(this);d.splice(t,1),p()},e.prototype.render=function(){return u.createElement(s,this.props)},e}(l.Component);return _.displayName="SideEffect("+o(s)+")",_.canUseDOM=c.canUseDOM,_}}var l=n(1),u=o(l),c=o(n(366)),f=o(n(422));t.exports=s},178:function(t,e){(function(e){"use strict";var n="undefined"==typeof window?e:window,o=function(t,e,n){return function(o,i){var r=t(function(){e.call(this,r),o.apply(this,arguments)}.bind(this),i);return this[n]?this[n].push(r):this[n]=[r],r}},i=function(t,e){return function(n){if(this[e]){var o=this[e].indexOf(n);o!==-1&&this[e].splice(o,1)}t(n)}},r="TimerMixin_timeouts",a=i(n.clearTimeout,r),s=o(n.setTimeout,a,r),l="TimerMixin_intervals",u=i(n.clearInterval,l),c=o(n.setInterval,function(){},l),f="TimerMixin_immediates",p=i(n.clearImmediate,f),d=o(n.setImmediate,p,f),h="TimerMixin_rafs",_=i(n.cancelAnimationFrame,h),y=o(n.requestAnimationFrame,_,h),m={componentWillUnmount:function(){this[r]&&this[r].forEach(function(t){n.clearTimeout(t)}),this[r]=null,this[l]&&this[l].forEach(function(t){n.clearInterval(t)}),this[l]=null,this[f]&&this[f].forEach(function(t){n.clearImmediate(t)}),this[f]=null,this[h]&&this[h].forEach(function(t){n.cancelAnimationFrame(t)}),this[h]=null},setTimeout:s,clearTimeout:a,setInterval:c,clearInterval:u,setImmediate:d,clearImmediate:p,requestAnimationFrame:y,cancelAnimationFrame:_};t.exports=m}).call(e,function(){return this}())},422:function(t,e){t.exports=function(t,e,n,o){var i=n?n.call(o,t,e):void 0;if(void 0!==i)return!!i;if(t===e)return!0;if("object"!=typeof t||!t||"object"!=typeof e||!e)return!1;var r=Object.keys(t),a=Object.keys(e);if(r.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(e),l=0;l<r.length;l++){var u=r[l];if(!s(u))return!1;var c=t[u],f=e[u];if(i=n?n.call(o,c,f,u):void 0,i===!1||void 0===i&&c!==f)return!1}return!0}},92:function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function i(t,e){var n={};for(var o in t)e.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o]);return n}e.__esModule=!0;var r=n(1),a=o(r),s=n(4),l=o(s),u=n(15),c=function(t){var e=t.to,n=t.children;i(t,["to","children"]);return a.default.createElement(u.Text,{style:f.link},a.default.createElement("a",{href:e,target:"blank"},n))},f=l.default.create({link:{fontWeight:"100"}});e.default=c,t.exports=e.default},93:function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var i=n(1),r=o(i),a=n(76),s=o(a),l=n(4),u=o(l),c=n(7),f=o(c),p=n(15),d=function(t){var e=t.siteTitle,n=t.subtitle,o=t.location;return r.default.createElement(f.default,{style:h.container},r.default.createElement(f.default,{style:h.titleContainer},r.default.createElement(p.Text,{type:"h1",style:h.titleText},r.default.createElement(s.default,{to:"/",style:{color:"whitesmoke",textDecoration:"none"}},e)),r.default.createElement(p.Text,{type:"h3",style:h.subtitleText},n),r.default.createElement(p.Text,{type:"h5",style:h.locationText},o)))},h=u.default.create({container:{backgroundColor:"steelblue"},titleContainer:{alignSelf:"center",width:"100%",maxWidth:960,paddingVertical:"1.45rem",paddingHorizontal:"1.0875rem"},titleText:{fontWeight:"100",letterSpacing:2,marginBottom:0,marginTop:0},subtitleText:{color:"whitesmoke",fontWeight:"100",letterSpacing:1,marginBottom:0,marginTop:0},locationText:{color:"whitesmoke",fontWeight:"100",letterSpacing:1,marginBottom:0,marginTop:5}});e.default=d,t.exports=e.default},94:function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function i(t,e){var n={};for(var o in t)e.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o]);return n}e.__esModule=!0;var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},a=n(1),s=o(a),l=n(39),u=o(l),c=n(76),f=200,p=400,d=800,h=function(t){var e=t.fileName,n=t.width,o=t.height,a=t.style,l=i(t,["fileName","width","height","style"]);o<=f&&n<=f?e+="-tiny.jpg":o<=p&&n<=p?e+="-small.jpg":o<=d&&n<=d&&(e+="-medium.jpg");var h=(0,c.withPrefix)("/images/"+e);return s.default.createElement(u.default.Image,r({source:{uri:h},style:a},l))};e.default=h,t.exports=e.default},15:function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var i=n(92);Object.defineProperty(e,"ExLink",{enumerable:!0,get:function(){return o(i).default}});var r=n(93);Object.defineProperty(e,"Header",{enumerable:!0,get:function(){return o(r).default}});var a=n(94);Object.defineProperty(e,"Image",{enumerable:!0,get:function(){return o(a).default}});var s=n(95);Object.defineProperty(e,"Projects",{enumerable:!0,get:function(){return o(s).default}});var l=n(96);Object.defineProperty(e,"Section",{enumerable:!0,get:function(){return o(l).default}});var u=n(97);Object.defineProperty(e,"Text",{enumerable:!0,get:function(){return o(u).default}})},95:function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0;var s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},l=n(1),u=o(l),c=n(39),f=o(c),p=n(43),d=o(p),h=n(4),_=o(h),y=n(79),m=o(y),v=n(7),E=o(v),g=n(15),b=280,T=19.2,S=200,R=960,O=function(t,e,n){var o;return function(){var i=this,r=arguments,a=function(){o=null,n||t.apply(i,r)},s=n&&!o;clearTimeout(o),o=setTimeout(a,e),s&&t.apply(i,r)}},P=function(t){var e=t.project,n=t.onProjectPress,o=t.onProjectLayout,i=t.projectLayout,r=t.projectRef,a=t.disablePress,s=t.skills,l=t.projectIsOpen,c=e.title,p=e.mainImage,h=e.blurb,_=e.tags,y=e.roles,v=e.links,S=(e.timeFrame,i.containerStyle),O=i.animatedPosition,P=i.animatedSize,N=i.animatedStyle,w=i.cardPosition,A=i.cardSize,C=i.cardOpacity,D=i.cardStyle,M=i.genericValue,x=M.interpolate({inputRange:[0,1],outputRange:["20px","30px"]});return u.default.createElement(E.default,{ref:r,onLayout:o,style:[I.projectContainer,S,{height:b+2*T,width:b+2*T}]},u.default.createElement(f.default.View,{style:[{height:P.height,width:P.width,top:O.top,left:O.left,padding:T,alignItems:"center",justifyContent:"center"},N]},u.default.createElement(f.default.View,{style:[I.projectCard,{width:A.width,height:A.height,opacity:C,top:w.top,left:w.left,maxHeight:R,maxWidth:R},D]},u.default.createElement(m.default,{onPress:n,activeOpacity:.7,disabled:a,style:{height:"100%"}},u.default.createElement(g.Image,{fileName:p,width:b,height:b,style:{height:A.width,width:A.width},resizeMode:"cover"}),u.default.createElement(E.default,{style:I.blurbContainer},u.default.createElement(d.default,{style:I.scrollView,contentContainerStyle:{overflow:l?void 0:"hidden"}},u.default.createElement(f.default.Text,{title:c,style:{lineHeight:"1.1",fontSize:x,marginBottom:15,marginTop:20}},c),u.default.createElement(f.default.Text,{style:{lineHeight:"1.1",fontSize:16}},h),u.default.createElement(f.default.View,{style:{opacity:M,marginBottom:15,height:l?void 0:0}},u.default.createElement(g.Text,{type:"h4"},"Roles"),u.default.createElement(g.Text,null,y.join(", ")),u.default.createElement(g.Text,{type:"h4"},"Skills"),u.default.createElement(g.Text,null,_.map(function(t){return s[t]}).join(", ")),u.default.createElement(g.Text,{type:"h4"},"Links"),v.map(function(t){var e=t.title,n=t.url,o=t.desc;return u.default.createElement(u.default.Fragment,{key:n},u.default.createElement(g.ExLink,{
to:n},e),o&&u.default.createElement(g.Text,null,o))}),u.default.createElement(g.Text,null),u.default.createElement(m.default,{onPress:n,disabled:!a,style:{marginVertical:20}},u.default.createElement(g.Text,null,"Close")))))))))},N={projectContainer:{},projectCard:{backgroundColor:"white",borderRadius:30,overflow:"hidden",height:"100%"},titleText:{fontSize:"100%"},blurbContainer:{position:"absolute",bottom:0,left:0,right:0,height:"65%",backgroundColor:"white",boxShadow:"1px 1px 5px gray"},scrollView:{paddingHorizontal:20,boxSizing:"border-box",marginBottom:15}},w=function(t){function e(n){i(this,e);var o=r(this,t.call(this,n));A.call(o);var a=[],s=n.projects.map(function(t,e){return a.push(e),{xW:null,yW:null,xP:null,yP:null,animatedSize:{width:new f.default.Value(b+2*T),height:new f.default.Value(b+2*T)},animatedPosition:{top:new f.default.Value(0),left:new f.default.Value(0)},cardPosition:{top:new f.default.Value(0),left:new f.default.Value(0)},cardSize:{width:new f.default.Value(b),height:new f.default.Value(b)},cardOpacity:new f.default.Value(1),genericValue:new f.default.Value(0),animatedStyle:{position:"relative"},containerStyle:{zIndex:0},cardStyle:{boxShadow:"3px 3px 15px gray"}}});return o.state={visibleCards:a,projectIndex:null,projectsLayout:s,animatedValue:new f.default.Value(0)},o}return a(e,t),e.prototype.componentWillReceiveProps=function(t){var e=t.selectedTag;this.arrangeCards(e)},e.prototype.render=function(){var t=this,e=this.props,n=e.projects,o=e.skills,i=this.state,r=i.animatedValue,a=i.projectsLayout,s=i.projectIndex,l=i.visibleCards,c=r.interpolate({inputRange:[0,1],outputRange:["rgba(105,105,105,0)","rgba(25, 25, 25, 0.9)"]});r.interpolate({inputRange:[0,1],outputRange:[0,99]});return u.default.createElement(E.default,{style:I.projectsContainer,ref:function(e){return t.projectsContainerRef=e}},u.default.createElement(f.default.View,{pointerEvents:"box-none",style:{position:"fixed",left:0,top:0,right:0,bottom:0,zIndex:s>=0?99:0,backgroundColor:c}}),n.map(function(e,n){var i=s===n;return u.default.createElement(P,{key:"project-"+n,projectRef:function(e){return t.projectRefs[n]=e},onProjectPress:t.onProjectPress(n),onProjectLayout:O(t.onProjectLayout(n),250),projectLayout:a[n],project:e,disablePress:i||!l.includes(n),skills:o,projectIsOpen:i})}))},e}(l.Component),A=function(){var t=this;this.projectsContainerRef=null,this.projectRefs=[],this.measureProject=function(e,n){var o=t.projectRefs[e];o&&o.measureInWindow(function(o,i){var r=[].concat(t.state.projectsLayout);r[e]=s({},r[e],{xW:o,yW:i}),t.setState({projectsLayout:r},n)})},this.openCard=function(e,n){var o=[].concat(t.state.projectsLayout);o[e]=s({},o[e],{animatedStyle:{position:"absolute"},containerStyle:{zIndex:9999},cardStyle:{boxShadow:"unset"}}),t.setState({projectsLayout:o},function(){var i=o[e],r=i.animatedSize,a=i.animatedPosition,s=i.cardPosition,l=i.cardSize,u=i.xW,c=i.yW,p=i.genericValue,d=Math.min(R,window.innerHeight,window.innerWidth)-2*T,h=Math.min(R,window.innerHeight)-2*T,_=S;f.default.sequence([f.default.parallel([f.default.timing(t.state.animatedValue,{toValue:1,duration:_}),f.default.timing(r.height,{toValue:window.innerHeight,duration:_}),f.default.timing(r.width,{toValue:window.innerWidth,duration:_}),f.default.timing(s.top,{toValue:0,duration:_}),f.default.timing(s.left,{toValue:0,duration:_}),f.default.timing(l.width,{toValue:d,duration:_}),f.default.timing(l.height,{toValue:h,duration:_}),f.default.timing(a.left,{toValue:-u,duration:_}),f.default.timing(a.top,{toValue:-c,duration:_}),f.default.timing(p,{toValue:1,duration:_})]),f.default.parallel([f.default.timing(a.left,{toValue:0,duration:0}),f.default.timing(a.top,{toValue:0,duration:0})])]).start(n)})},this.closeCard=function(e,n){var o=[].concat(t.state.projectsLayout);o[e]=s({},o[e],{animatedStyle:{position:"absolute"},cardStyle:{boxShadow:"3px 3px 15px gray"}}),t.setState({projectsLayout:o},function(){var i=o[e],r=i.animatedSize,a=i.animatedPosition,s=i.cardSize,l=i.xW,u=i.yW,c=i.genericValue,p=b+2*T,d=S;f.default.sequence([f.default.parallel([f.default.timing(a.left,{toValue:-l,duration:0}),f.default.timing(a.top,{toValue:-u,duration:0})]),f.default.parallel([f.default.timing(t.state.animatedValue,{toValue:0,duration:d}),f.default.timing(r.height,{toValue:p,duration:d}),f.default.timing(r.width,{toValue:p,duration:d}),f.default.timing(s.width,{toValue:b,duration:d}),f.default.timing(s.height,{toValue:b,duration:d}),f.default.timing(a.left,{toValue:0,duration:d}),f.default.timing(a.top,{toValue:0,duration:d}),f.default.timing(c,{toValue:0,duration:d}),t.moveCards(t.state.visibleCards)])]).start(n)})},this.fixCardOpen=function(e,n){var o=[].concat(t.state.projectsLayout);Math.min(window.innerWidth,window.innerHeight);o[e]=s({},o[e],{animatedStyle:{position:"fixed"}}),t.setState({projectsLayout:o},function(){n&&n()})},this.onProjectPress=function(e){return function(){t.measureProject(e,function(){var n=t.state.projectIndex,o=n===e?null:e;if(n===e){var i=[].concat(t.state.projectsLayout);i[e]=s({},i[e],{animatedStyle:{position:"relative",top:0,left:0},containerStyle:{zIndex:0},cardStyle:{boxShadow:"3px 3px 15px gray"}}),t.closeCard(e,function(){t.setState({projectIndex:o,projectsLayout:i})})}else t.setState({projectIndex:o},function(){t.openCard(e,function(){t.fixCardOpen(e)})})})}},this.onProjectLayout=function(e){return function(n){var o=n.nativeEvent.layout,i=o.x,r=o.y,a=(o.width,o.height,[].concat(t.state.projectsLayout));a[e]=s({},a[e],{xP:i,yP:r}),t.setState({projectsLayout:a})}},this.disappearCards=function(e){var n=[];return e.forEach(function(e){var o=t.state.projectsLayout[e].cardOpacity;n.push(f.default.timing(o,{toValue:0,duration:S}))}),f.default.parallel(n)},this.appearCards=function(e){var n=[];return e.forEach(function(e){var o=t.state.projectsLayout[e].cardOpacity;n.push(f.default.timing(o,{toValue:1,duration:S}))}),f.default.parallel(n)},this.moveCards=function(e){var n=[];return e.forEach(function(e,o){var i=t.state.projectsLayout,r=i[e],a=r.cardPosition,s=r.xP,l=r.yP,u=i[o],c=u.xP,p=u.yP,d=p-l,h=c-s;n.push(f.default.timing(a.top,{toValue:d,duration:S}),f.default.timing(a.left,{toValue:h,duration:S}))}),f.default.parallel(n)},this.arrangeCards=function(e){var n=t.props.projects,o=t.state,i=o.visibleCards,r=(o.projectsLayout,[]),a=[],s=[];n.forEach(function(t,n){var o=t.tags;return e?void(o.includes(e)?(i.includes(n)||r.push(n),a.push(n)):s.push(n)):(i.includes(n)||r.push(n),void a.push(n))}),f.default.parallel([t.disappearCards(s),t.appearCards(r),t.moveCards(a)]).start(),t.setState({visibleCards:a})}};e.default=w;var I=_.default.create(s({},N,{projectsContainer:{flexDirection:"row",flexWrap:"wrap",justifyContent:"center",margin:-T}}));t.exports=e.default},96:function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0;var s=n(1),l=o(s),u=n(4),c=o(u),f=n(7),p=o(f),d=function(t){function e(){return i(this,e),r(this,t.apply(this,arguments))}return a(e,t),e.prototype.render=function(){return l.default.createElement(p.default,{style:h.container},l.default.createElement(p.default,{style:h.section},this.props.children))},e}(s.Component);e.default=d;var h=c.default.create({container:{},section:{alignSelf:"center",width:"100%",maxWidth:960,paddingVertical:"1.45rem",paddingHorizontal:"1.0875rem"}});t.exports=e.default},97:function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function i(t,e){var n={};for(var o in t)e.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o]);return n}e.__esModule=!0;var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},a=n(1),s=o(a),l=n(4),u=o(l),c=n(49),f=o(c),p=n(7),d=(o(p),function(t){var e=t.style,n=(t.textStyle,t.type),o=void 0===n?"p":n,a=(t.headingLine,t.children),l=i(t,["style","textStyle","type","headingLine","children"]);return s.default.createElement(f.default,r({style:[h.base,h[o],e]},l),a)}),h=u.default.create({h1:{fontSize:"2.25rem"},h2:{fontSize:"1.62671rem"},h3:{fontSize:"1.38316rem"},h4:{fontSize:"1.2rem"},h5:{fontSize:"1rem"},p:{fontSize:16,marginTop:0,marginBottom:0},base:{lineHeight:"1.1",marginTop:15,marginBottom:5}});e.default=d,t.exports=e.default},193:function(t,e){"use strict";e.__esModule=!0;e.profile={name:{first:"Dave",last:"Pack"},title:"Front End Engineer",location:"Mountain View, CA",blurb:"Strong front-end engineer, experience building mobile apps with React Native and web apps with React. Comfortable in the back-end working on the server, databases, or API design.\n\nI’m a big picture thinker. I love ideas and problem solving, learning about everything, finding connections and deep insights, and thinking outside the box.",status:"Currently looking for jobs in or near Mountain View, open to commuting to SF or San Jose.",ideals:["Work on an interdisciplinary team.","Collaborate in designing and implementing new products and features.","Contribute meaningfully to product strategy, design, and development.","Grow my current skills, learn new skills, mentor and teach others.","Give back through open source contribution."],goals:[{title:"1 year",blurb:"Give my first conference talk."},{title:"3 years",blurb:"Cofound a successfully funded startup."},{title:"5 years",blurb:"Speak in 5 different countries."},{title:"10 years",blurb:"Live in a tiny house and travel the world."}],profilePic:"Profile-square",links:[["https://twitter.com/dave_pack","Twitter"],["https://github.com/davepack","GitHub"],["https://www.linkedin.com/in/dpack","LinkedIn"]]},e.skills={"react-native":"React Native",react:"React",javascript:"JavaScript","front-end":"Front End","open-source":"Open Source","api-design":"API Design","ui-design":"UI Design","mobile-design":"Mobile Design",ux:"UX",firebase:"Firebase","realm-db":"Realm Mobile DB","react-native-web":"react-native-web",animation:"UI Animation","web-development":"Web Development","mobile-development":"Mobile Development"},e.projects=[{title:"Personal Portfolio (this website)",mainImage:"Portfolio",blurb:"My personal site for showcasing my work and skills. Built with Gatsby static site generator and react-native-web.",tags:["react-native-web","react-native","react","javascript","ui-design","animation","front-end","web-development"],roles:["creator","designer","developer"],links:[{title:"Source code",url:"https://github.com/davepack/davepack.github.io/tree/source"},{title:"React Native Web project",url:"https://github.com/necolas/react-native-web"}],timeFrame:[[2018,4],[2018,5]]},{title:"SafeAreaView for React Native",mainImage:"SafeArea-square",blurb:"Library for supporting Safe Area insets on iPhone X. Originally written for react-navigation.",tags:["react-native","react","javascript","open-source","api-design","front-end","mobile-design"],roles:["creator","active maintainer"],links:[{title:"Project source on GitHub",url:"https://github.com/react-community/react-native-safe-area-view"}],timeFrame:[[2017,8],[2017,11]]},{title:"KnoWhy by Book of Mormon Central",mainImage:"KnoWhy-square",blurb:"Cross platform app written in React Native (JavaScript).",tags:["react-native","react","javascript","firebase","realm-db","front-end","ui-design","ux","mobile-design","mobile-development"],roles:["designer","developer"],links:[{title:"Run the app on your phone",url:"https://expo.io/@davepack/knowhy",desc:"I modified the code to run in Expo, though it runs a bit slower than it originally did."}],timeFrame:[[2016,4],[2017,6]]}]},367:function(t,e){},271:function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0,e.query=void 0;var i=n(1),r=o(i),a=n(2),s=o(a),l=n(398),u=o(l),c=n(7);o(c);n(367);var f=n(15),p=n(193),d=function(t){var e=t.children,n=t.data;return r.default.createElement(r.default.Fragment,null,r.default.createElement(u.default,{title:n.site.siteMetadata.title,meta:[{name:"description",content:"Sample"},{name:"keywords",content:"sample, something"}]}),r.default.createElement(f.Header,{siteTitle:"Dave Pack",subtitle:p.profile.title,location:p.profile.location}),e())};d.propTypes={children:s.default.func},e.default=d;e.query="** extracted graphql fragment **"},39:function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}var i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t};e.__esModule=!0;var r=n(134),a=o(r),s=n(78),l=o(s),u=n(43),c=o(u),f=n(49),p=o(f),d=n(7),h=o(d),_=i({},a.default,{Image:a.default.createAnimatedComponent(l.default),ScrollView:a.default.createAnimatedComponent(c.default),View:a.default.createAnimatedComponent(h.default),Text:a.default.createAnimatedComponent(p.default)});e.default=_},98:function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}e.__esModule=!0;var r=n(10),a=n(33),s=o(a),l=n(3),u=o(l),c=r.canUseDOM?window:{devicePixelRatio:void 0,innerHeight:void 0,innerWidth:void 0,screen:{height:void 0,width:void 0}},f={},p={},d=function(){function t(){i(this,t)}return t.get=function(t){return(0,u.default)(f[t],"No dimension set for key "+t),f[t]},t.set=function(t){t&&(r.canUseDOM?(0,u.default)(!1,"Dimensions cannot be set in the browser"):(f.screen=t.screen,f.window=t.window))},t._update=function(){f.window={fontScale:1,height:c.innerHeight,scale:c.devicePixelRatio||1,width:c.innerWidth},f.screen={fontScale:1,height:c.screen.height,scale:c.devicePixelRatio||1,width:c.screen.width},Array.isArray(p.change)&&p.change.forEach(function(t){return t(f)})},t.addEventListener=function(t,e){p[t]=p[t]||[],p[t].push(e)},t.removeEventListener=function(t,e){Array.isArray(p[t])&&(p[t]=p[t].filter(function(t){return t!==e}))},t}();e.default=d,d._update(),r.canUseDOM&&window.addEventListener("resize",(0,s.default)(d._update,16),!1)},42:function(t,e){"use strict";e.__esModule=!0;var n={center:"center",contain:"contain",cover:"cover",none:"none",repeat:"repeat",stretch:"stretch"};e.default=n},99:function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}var i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t};e.__esModule=!0;var r=n(54),a=o(r),s=n(55),l=o(s),u=n(13),c=o(u),f=n(42),p=o(f),d=n(56),h=o(d),_=n(57),y=o(_),m=n(59),v=o(m),E=n(61),g=o(E),b=n(2),T=i({},a.default,l.default,h.default,y.default,v.default,g.default,{backgroundColor:c.default,opacity:b.number,resizeMode:(0,b.oneOf)(Object.keys(p.default)),overlayColor:b.string,tintColor:c.default,boxShadow:b.string,filter:b.string});e.default=T},100:function(t,e){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}e.__esModule=!0;var o=/^data:/,i=function(){function t(){n(this,t)}return t.has=function(e){var n=t._entries,i=o.test(e);return i||Boolean(n[e])},t.add=function(e){var n=t._entries,o=Date.now();n[e]?(n[e].lastUsedTimestamp=o,n[e].refCount+=1):n[e]={lastUsedTimestamp:o,refCount:1}},t.remove=function(e){var n=t._entries;n[e]&&(n[e].refCount-=1),t._cleanUpIfNeeded()},t._cleanUpIfNeeded=function(){var e=t._entries,n=Object.keys(e);if(n.length+1>t._maximumEntries){var o=void 0,i=void 0;n.forEach(function(t){var n=e[t];(!i||n.lastUsedTimestamp<i.lastUsedTimestamp)&&0===n.refCount&&(o=t,i=n)}),o&&delete e[o]}},t}();i._maximumEntries=256,i._entries={},e.default=i},78:function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function i(t,e){var n={};for(var o in t)e.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o]);return n}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var l=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t};e.__esModule=!0;var u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},c=n(18),f=o(c),p=n(25),d=o(p),h=n(121),_=n(122),y=o(_),m=n(42),v=o(m),E=n(99),g=(o(E),n(100)),b=o(g),T=n(133),S=o(T),R=n(4),O=o(R),P=n(28),N=(o(P),n(7)),w=o(N),A=n(17),I=(o(A),n(2)),C=n(1),D=o(C),M={},x="ERRORED",L="LOADED",j="LOADING",V="PENDING",k="IDLE",H=((0,I.oneOfType)([I.number,(0,I.shape)({height:I.number,uri:I.string.isRequired,width:I.number}),I.string]),function(t,e){return e?L:t?V:k}),G=function(t){if("number"==typeof t){var e=(0,h.getAssetByID)(t),n=e.height,o=e.width;return{height:n,width:o}}if("object"==typeof t){var i=t.height,r=t.width;return{height:i,width:r}}},F=/^(data:image\/svg\+xml;utf8,)(.*)/,U=function(t){var e=void 0;if("number"==typeof t){var n=(0,h.getAssetByID)(t),o=n.scales[0],i=1!==o?"@"+o+"x":"";e=n?n.httpServerLocation+"/"+n.name+i+"."+n.type:""}else e=t&&t.uri?t.uri:t||"";var r=e.match(F);if(r){var a=r[1],s=r[2],l=encodeURIComponent(s);return""+a+l}return e},B=function(t){return"object"==typeof t&&t.timeout?t.timeout:1e3},W=function(t){function e(n,o){r(this,e);var i=a(this,t.call(this,n,o));i._imageRequestId=null,i._imageState=null,i._isMounted=!1,i._loadRequest=null,i._onError=function(){var t=i.props,e=t.onError,n=t.source;i._updateImageState(x),e&&e({nativeEvent:{error:"Failed to load resource "+U(n)+" (404)"}}),i._onLoadEnd()},i._onLoad=function(t){var e=i.props,n=e.onLoad,o=e.source,r={nativeEvent:t};b.default.add(U(o)),i._updateImageState(L),n&&n(r),i._onLoadEnd()};var s=U(n.source),l=b.default.has(s);return i.state={shouldDisplaySource:l},i._imageState=H(s,l),l&&b.default.add(s),i}return s(e,t),e.getSize=function(t,e,n){y.default.getSize(t,e,n)},e.prefetch=function(t){return y.default.prefetch(t)},e.prototype.componentDidMount=function(){if(this._isMounted=!0,this._imageState===V)this._createImageLoader();else if(this._imageState===L){var t=this.props.onLoad;t&&t()}},e.prototype.componentDidUpdate=function(){this._imageState===V&&this._createImageLoader()},e.prototype.componentWillReceiveProps=function(t){var e=U(this.props.source),n=U(t.source);if(e!==n){b.default.remove(e);var o=b.default.has(n);o&&b.default.add(n),this._updateImageState(H(n,o))}},e.prototype.componentWillUnmount=function(){b.default.remove(U(this.props.source)),this._destroyImageLoader(),this._isMounted=!1},e.prototype.render=function(){var t=this.state.shouldDisplaySource,e=this.props,n=e.accessibilityLabel,o=e.accessible,r=e.defaultSource,a=e.draggable,s=e.onLayout,l=e.source,c=e.testID,f=(e.blurRadius,e.capInsets,e.onError,e.onLoad,e.onLoadEnd,e.onLoadStart,e.resizeMethod,e.resizeMode),p=i(e,["accessibilityLabel","accessible","defaultSource","draggable","onLayout","source","testID","blurRadius","capInsets","onError","onLoad","onLoadEnd","onLoadStart","resizeMethod","resizeMode"]),h=U(t?l:r),_=G(t?l:r),y=h?'url("'+h+'")':null,m=O.default.flatten(this.props.style),E=f||m.resizeMode||v.default.cover,g=O.default.flatten([z.initial,_,m,Y[E],this.context.isInAParentText&&z.inline,y&&{backgroundImage:y}]);delete g.overlayColor,delete g.resizeMode,delete g.tintColor;var b=h?(0,d.default)("img",{alt:n||"",draggable:a,src:h,style:z.img}):null;return D.default.createElement(w.default,u({},p,{accessibilityLabel:n,accessible:o,onLayout:s,style:g,testID:c}),b)},e.prototype._createImageLoader=function(){var t=this,e=this.props.source;this._destroyImageLoader(),this._loadRequest=(0,S.default)(function(){var n=U(e);t._imageRequestId=y.default.load(n,t._onLoad,t._onError),t._onLoadStart()},{timeout:B(e)})},e.prototype._destroyImageLoader=function(){this._loadRequest&&((0,T.cancelIdleCallback)(this._loadRequest),this._loadRequest=null),this._imageRequestId&&(y.default.abort(this._imageRequestId),this._imageRequestId=null)},e.prototype._onLoadEnd=function(){var t=this.props.onLoadEnd;t&&t()},e.prototype._onLoadStart=function(){var t=this.props.onLoadStart;this._updateImageState(j),t&&t()},e.prototype._updateImageState=function(t){this._imageState=t;var e=this._imageState===L||this._imageState===j;e!==this.state.shouldDisplaySource&&this._isMounted&&this.setState(function(){return{shouldDisplaySource:e}})},e}(C.Component);W.displayName="Image",W.contextTypes={isInAParentText:I.bool},W.defaultProps={style:M},W.resizeMode=v.default,W.propTypes={};var z=O.default.create({initial:{backgroundColor:"transparent",backgroundPosition:"center",backgroundRepeat:"no-repeat",backgroundSize:"cover",zIndex:0},inline:{display:"inline-flex"},img:l({},O.default.absoluteFillObject,{height:"100%",opacity:0,width:"100%",zIndex:-1})}),Y=O.default.create({center:{backgroundSize:"auto",backgroundPosition:"center"},contain:{backgroundSize:"contain"},cover:{backgroundSize:"cover"},none:{backgroundSize:"auto"},repeat:{backgroundSize:"auto",backgroundRepeat:"repeat"},stretch:{backgroundSize:"100% 100%"}});e.default=(0,f.default)(W)},101:function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var i=n(3),r=o(i),a={Events:{interactionStart:"interactionStart",interactionComplete:"interactionComplete"},runAfterInteractions:function(t){console.warn("InteractionManager is not supported on web");var e=new Promise(function(e){t&&e(t())});return{then:e.then.bind(e),done:function(){},cancel:function(){}}},createInteractionHandle:function(){return 1},clearInteractionHandle:function(t){(0,r.default)(!!t,"Must provide a handle to clear.")},addListener:function(){}};e.default=a},102:function(t,e){"use strict";var n={};t.exports=n},103:function(t,e){"use strict";e.__esModule=!0;var n={OS:"web",select:function(t){return"web"in t?t.web:t.default}};e.default=n},104:function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function i(t,e){var n={};for(var o in t)e.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o]);return n}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t};e.__esModule=!0;var l=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},u=n(33),c=o(u),f=n(4),p=o(f),d=n(7),h=o(d),_=n(17),y=(o(_),n(1)),m=o(y),v=(n(2),function(t){return{nativeEvent:{contentOffset:{get x(){return t.target.scrollLeft},get y(){return t.target.scrollTop}},contentSize:{get height(){return t.target.scrollHeight},get width(){return t.target.scrollWidth}},layoutMeasurement:{get height(){return t.target.offsetHeight},get width(){return t.target.offsetWidth}}},timeStamp:Date.now()}}),E=function(t){function e(){var n,o,i;r(this,e);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=o=a(this,t.call.apply(t,[this].concat(l))),o._debouncedOnScrollEnd=(0,c.default)(o._handleScrollEnd,100),o._state={isScrolling:!1,scrollLastTick:0},o._createPreventableScrollHandler=function(t){return function(e){o.props.scrollEnabled?t&&t(e):e.preventDefault()}},o._handleScroll=function(t){t.persist(),t.stopPropagation();var e=o.props.scrollEventThrottle;o._debouncedOnScrollEnd(t),o._state.isScrolling?o._shouldEmitScrollEvent(o._state.scrollLastTick,e)&&o._handleScrollTick(t):o._handleScrollStart(t)},o._setViewRef=function(t){o._viewRef=t},i=n,a(o,i)}return s(e,t),e.prototype.setNativeProps=function(t){this._viewRef&&this._viewRef.setNativeProps(t)},e.prototype.render=function(){var t=this.props,e=t.scrollEnabled,n=t.style,o=(t.alwaysBounceHorizontal,t.alwaysBounceVertical,t.automaticallyAdjustContentInsets,t.bounces,t.bouncesZoom,t.canCancelContentTouches,t.centerContent,t.contentInset,t.contentInsetAdjustmentBehavior,t.contentOffset,t.decelerationRate,t.directionalLockEnabled,t.endFillColor,t.indicatorStyle,t.keyboardShouldPersistTaps,t.maximumZoomScale,t.minimumZoomScale,t.onMomentumScrollBegin,t.onMomentumScrollEnd,t.onScrollBeginDrag,t.onScrollEndDrag,t.overScrollMode,t.pinchGestureEnabled,t.removeClippedSubviews,t.scrollEventThrottle,t.scrollIndicatorInsets,t.scrollPerfTag,t.scrollsToTop,t.showsHorizontalScrollIndicator,t.showsVerticalScrollIndicator,t.snapToInterval,t.snapToAlignment,t.zoomScale,i(t,["scrollEnabled","style","alwaysBounceHorizontal","alwaysBounceVertical","automaticallyAdjustContentInsets","bounces","bouncesZoom","canCancelContentTouches","centerContent","contentInset","contentInsetAdjustmentBehavior","contentOffset","decelerationRate","directionalLockEnabled","endFillColor","indicatorStyle","keyboardShouldPersistTaps","maximumZoomScale","minimumZoomScale","onMomentumScrollBegin","onMomentumScrollEnd","onScrollBeginDrag","onScrollEndDrag","overScrollMode","pinchGestureEnabled","removeClippedSubviews","scrollEventThrottle","scrollIndicatorInsets","scrollPerfTag","scrollsToTop","showsHorizontalScrollIndicator","showsVerticalScrollIndicator","snapToInterval","snapToAlignment","zoomScale"]));return m.default.createElement(h.default,l({},o,{onScroll:this._handleScroll,onTouchMove:this._createPreventableScrollHandler(this.props.onTouchMove),onWheel:this._createPreventableScrollHandler(this.props.onWheel),ref:this._setViewRef,style:[n,!e&&g.scrollDisabled]}))},e.prototype._handleScrollStart=function(t){this._state.isScrolling=!0,this._state.scrollLastTick=Date.now()},e.prototype._handleScrollTick=function(t){var e=this.props.onScroll;this._state.scrollLastTick=Date.now(),e&&e(v(t))},e.prototype._handleScrollEnd=function(t){var e=this.props.onScroll;this._state.isScrolling=!1,e&&e(v(t))},e.prototype._shouldEmitScrollEvent=function(t,e){var n=Date.now()-t;return e>0&&n>=e},e}(y.Component);E.defaultProps={scrollEnabled:!0,scrollEventThrottle:0},e.default=E,E.propTypes={};var g=p.default.create({scrollDisabled:{touchAction:"none"}})},43:function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function i(t,e){var n={};for(var o in t)e.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o]);return n}var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t};e.__esModule=!0;var a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},s=n(32),l=o(s),u=n(126),c=o(u),f=n(11),p=o(f),d=n(3),h=o(d),_=n(125),y=o(_),m=n(104),v=o(m),E=n(4),g=o(E),b=n(7),T=o(b),S=n(17),R=o(S),O=n(1),P=o(O),N=n(2),w={},A=(0,l.default)({displayName:"ScrollView",propTypes:r({},R.default,{contentContainerStyle:R.default.style,horizontal:N.bool,keyboardDismissMode:(0,N.oneOf)(["none","interactive","on-drag"]),onContentSizeChange:N.func,onScroll:N.func,pagingEnabled:N.bool,refreshControl:N.element,scrollEnabled:N.bool,scrollEventThrottle:N.number,style:R.default.style}),mixins:[y.default.Mixin],getInitialState:function(){return this.scrollResponderMixinGetInitialState()},setNativeProps:function(t){this._scrollViewRef&&this._scrollViewRef.setNativeProps(t)},getScrollResponder:function(){return this},getScrollableNode:function(){return(0,p.default)(this._scrollViewRef)},getInnerViewNode:function(){return(0,p.default)(this._innerViewRef)},scrollTo:function(t,e,n){if("number"==typeof t)console.warn("`scrollTo(y, x, animated)` is deprecated. Use `scrollTo({x: 5, y: 5, animated: true})` instead.");else{var o=t||w;e=o.x,t=o.y,n=o.animated}this.getScrollResponder().scrollResponderScrollTo({x:e||0,y:t||0,animated:n!==!1})},scrollToEnd:function(t){var e=(t&&t.animated)!==!1,n=this.props.horizontal,o=this.getScrollResponder(),i=o.scrollResponderGetScrollableNode(),r=n?i.scrollWidth:0,a=n?0:i.scrollHeight;o.scrollResponderScrollTo({x:r,y:a,animated:e})},scrollWithoutAnimationTo:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;console.warn("`scrollWithoutAnimationTo` is deprecated. Use `scrollTo` instead"),this.scrollTo({x:e,y:t,animated:!1})},render:function(){var t=this.props,e=t.contentContainerStyle,n=t.horizontal,o=t.onContentSizeChange,s=t.refreshControl,l=(t.keyboardDismissMode,t.onScroll,t.pagingEnabled,t.stickyHeaderIndices,i(t,["contentContainerStyle","horizontal","onContentSizeChange","refreshControl","keyboardDismissMode","onScroll","pagingEnabled","stickyHeaderIndices"])),u={};o&&(u={onLayout:this._handleContentOnLayout});var c=P.default.createElement(T.default,a({},u,{children:this.props.children,collapsable:!1,ref:this._setInnerViewRef,style:[n&&I.contentContainerHorizontal,e]})),f=r({},l,{style:[I.base,n&&I.baseHorizontal,this.props.style],onTouchStart:this.scrollResponderHandleTouchStart,onTouchMove:this.scrollResponderHandleTouchMove,onTouchEnd:this.scrollResponderHandleTouchEnd,onScrollBeginDrag:this.scrollResponderHandleScrollBeginDrag,onScrollEndDrag:this.scrollResponderHandleScrollEndDrag,onMomentumScrollBegin:this.scrollResponderHandleMomentumScrollBegin,onMomentumScrollEnd:this.scrollResponderHandleMomentumScrollEnd,onStartShouldSetResponder:this.scrollResponderHandleStartShouldSetResponder,onStartShouldSetResponderCapture:this.scrollResponderHandleStartShouldSetResponderCapture,onScrollShouldSetResponder:this.scrollResponderHandleScrollShouldSetResponder,onScroll:this._handleScroll,onResponderGrant:this.scrollResponderHandleResponderGrant,onResponderTerminationRequest:this.scrollResponderHandleTerminationRequest,onResponderTerminate:this.scrollResponderHandleTerminate,onResponderRelease:this.scrollResponderHandleResponderRelease,onResponderReject:this.scrollResponderHandleResponderReject}),p=v.default;return(0,h.default)(void 0!==p,"ScrollViewClass must not be undefined"),s?P.default.cloneElement(s,{style:f.style},P.default.createElement(p,a({},f,{ref:this._setScrollViewRef,style:I.base}),c)):P.default.createElement(p,a({},f,{ref:this._setScrollViewRef,style:f.style}),c)},_handleContentOnLayout:function(t){var e=t.nativeEvent.layout,n=e.width,o=e.height;this.props.onContentSizeChange(n,o)},_handleScroll:function(t){"on-drag"===this.props.keyboardDismissMode&&(0,c.default)(),this.scrollResponderHandleScroll(t)},_setInnerViewRef:function(t){this._innerViewRef=t},_setScrollViewRef:function(t){this._scrollViewRef=t;
}}),I=g.default.create({base:{flex:1,overflowX:"hidden",overflowY:"auto",WebkitOverflowScrolling:"touch",transform:[{translateZ:0}]},baseHorizontal:{flexDirection:"row",overflowX:"auto",overflowY:"hidden"},contentContainerHorizontal:{flexDirection:"row"}});e.default=A},113:function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var i=n(28),r=o(i),a=n(114),s=o(a),l=n(2),u={accessibilityComponentType:l.string,accessibilityLabel:l.string,accessibilityLiveRegion:(0,l.oneOf)(["assertive","none","polite"]),accessibilityRole:(0,l.oneOf)(["button","heading","label","link","listitem"]),accessibilityTraits:(0,l.oneOfType)([l.array,l.string]),accessible:l.bool,children:l.any,importantForAccessibility:(0,l.oneOf)(["auto","no","no-hide-descendants","yes"]),numberOfLines:l.number,onBlur:l.func,onContextMenu:l.func,onFocus:l.func,onLayout:l.func,onPress:l.func,selectable:l.bool,style:(0,r.default)(s.default),testID:l.string};e.default=u},114:function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}var i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t};e.__esModule=!0;var r=n(13),a=o(r),s=n(24),l=o(s),u=n(2),c=(0,u.oneOfType)([u.number,u.string]),f=i({},l.default,{color:a.default,fontFamily:u.string,fontFeatureSettings:u.string,fontSize:c,fontStyle:u.string,fontWeight:u.string,fontVariant:u.array,letterSpacing:c,lineHeight:c,textAlign:(0,u.oneOf)(["center","end","inherit","justify","justify-all","left","right","start"]),textAlignVertical:u.string,textDecorationColor:a.default,textDecorationLine:u.string,textDecorationStyle:u.string,textShadowColor:a.default,textShadowOffset:(0,u.shape)({width:u.number,height:u.number}),textShadowRadius:u.number,writingDirection:(0,u.oneOf)(["auto","ltr","rtl"]),textIndent:c,textOverflow:u.string,textRendering:(0,u.oneOf)(["auto","geometricPrecision","optimizeLegibility","optimizeSpeed"]),textTransform:(0,u.oneOf)(["capitalize","lowercase","none","uppercase"]),unicodeBidi:(0,u.oneOf)(["normal","bidi-override","embed","isolate","isolate-override","plaintext"]),whiteSpace:u.string,wordWrap:u.string,MozOsxFontSmoothing:u.string,WebkitFontSmoothing:u.string});e.default=f},49:function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function i(t,e){var n={};for(var o in t)e.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o]);return n}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0;var l=n(62),u=o(l),c=n(18),f=o(c),p=n(2),d=n(1),h=n(25),_=o(h),y=n(4),m=o(y),v=n(113),E=(o(v),function(t){function e(){return r(this,e),a(this,t.apply(this,arguments))}return s(e,t),e.prototype.getChildContext=function(){return{isInAParentText:!0}},e.prototype.render=function(){var t=this.props,e=t.dir,n=t.numberOfLines,o=t.onPress,r=t.selectable,a=t.style,s=(t.adjustsFontSizeToFit,t.allowFontScaling,t.ellipsizeMode,t.lineBreakMode,t.minimumFontScale,t.onLayout,t.onLongPress,t.pressRetentionOffset,t.selectionColor,t.suppressHighlighting,t.textBreakStrategy,t.tvParallaxProperties,i(t,["dir","numberOfLines","onPress","selectable","style","adjustsFontSizeToFit","allowFontScaling","ellipsizeMode","lineBreakMode","minimumFontScale","onLayout","onLongPress","pressRetentionOffset","selectionColor","suppressHighlighting","textBreakStrategy","tvParallaxProperties"])),l=this.context.isInAParentText;o&&(s.accessible=!0,s.onClick=this._createPressHandler(o),s.onKeyDown=this._createEnterHandler(o)),s.dir=void 0!==e?e:"auto",s.style=[g.initial,this.context.isInAParentText===!0&&g.isInAParentText,a,r===!1&&g.notSelectable,1===n&&g.singleLineStyle,o&&g.pressable];var u=l?"span":"div";return(0,_.default)(u,s)},e.prototype._createEnterHandler=function(t){return function(e){13===e.keyCode&&t&&t(e)}},e.prototype._createPressHandler=function(t){return function(e){e.stopPropagation(),t&&t(e)}},e}(d.Component));E.displayName="Text",E.childContextTypes={isInAParentText:p.bool},E.contextTypes={isInAParentText:p.bool},E.propTypes={};var g=m.default.create({initial:{borderWidth:0,boxSizing:"border-box",color:"inherit",display:"inline",fontFamily:"System",fontSize:14,fontStyle:"inherit",fontVariant:["inherit"],fontWeight:"inherit",lineHeight:"inherit",margin:0,padding:0,textDecorationLine:"none",whiteSpace:"pre-wrap",wordWrap:"break-word"},isInAParentText:{fontFamily:"inherit",fontSize:"inherit",whiteSpace:"inherit"},notSelectable:{userSelect:"none"},pressable:{cursor:"pointer"},singleLineStyle:{maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}});e.default=(0,u.default)((0,f.default)(E))},115:function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function i(t,e){this.width=t,this.height=e}e.__esModule=!0;var r=n(69),a=o(r),s=a.default.twoArgumentPooler;i.prototype.destructor=function(){this.width=null,this.height=null},i.getPooledFromElement=function(t){return i.getPooled(t.offsetWidth,t.offsetHeight)},a.default.addPoolingTo(i,s),e.default=i},116:function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function i(t,e){this.left=t,this.top=e}e.__esModule=!0;var r=n(69),a=o(r),s=a.default.twoArgumentPooler;i.prototype.destructor=function(){this.left=null,this.top=null},a.default.addPoolingTo(i,s),e.default=i},50:function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var i=n(3),r=o(i),a=function(t){(0,r.default)(!(t.delayPressIn<0||t.delayPressOut<0||t.delayLongPress<0),"Touchable components cannot have negative delay properties")};e.default=a},51:function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t};e.__esModule=!0;var i=n(26),r=o(i),a=n(115),s=o(a),l=n(11),u=o(l),c=n(19),f=(o(c),n(116)),p=o(f),d=n(1),h=(o(d),n(220)),_=o(h),y=n(16),m=o(y),v=n(7),E=(o(v),{NOT_RESPONDER:"NOT_RESPONDER",RESPONDER_INACTIVE_PRESS_IN:"RESPONDER_INACTIVE_PRESS_IN",RESPONDER_INACTIVE_PRESS_OUT:"RESPONDER_INACTIVE_PRESS_OUT",RESPONDER_ACTIVE_PRESS_IN:"RESPONDER_ACTIVE_PRESS_IN",RESPONDER_ACTIVE_PRESS_OUT:"RESPONDER_ACTIVE_PRESS_OUT",RESPONDER_ACTIVE_LONG_PRESS_IN:"RESPONDER_ACTIVE_LONG_PRESS_IN",RESPONDER_ACTIVE_LONG_PRESS_OUT:"RESPONDER_ACTIVE_LONG_PRESS_OUT",ERROR:"ERROR"}),g={RESPONDER_ACTIVE_PRESS_OUT:!0,RESPONDER_ACTIVE_PRESS_IN:!0},b={RESPONDER_INACTIVE_PRESS_IN:!0,RESPONDER_ACTIVE_PRESS_IN:!0,RESPONDER_ACTIVE_LONG_PRESS_IN:!0},T={RESPONDER_ACTIVE_LONG_PRESS_IN:!0},S={DELAY:"DELAY",RESPONDER_GRANT:"RESPONDER_GRANT",RESPONDER_RELEASE:"RESPONDER_RELEASE",RESPONDER_TERMINATED:"RESPONDER_TERMINATED",ENTER_PRESS_RECT:"ENTER_PRESS_RECT",LEAVE_PRESS_RECT:"LEAVE_PRESS_RECT",LONG_PRESS_DETECTED:"LONG_PRESS_DETECTED"},R={NOT_RESPONDER:{DELAY:E.ERROR,RESPONDER_GRANT:E.RESPONDER_INACTIVE_PRESS_IN,RESPONDER_RELEASE:E.ERROR,RESPONDER_TERMINATED:E.ERROR,ENTER_PRESS_RECT:E.ERROR,LEAVE_PRESS_RECT:E.ERROR,LONG_PRESS_DETECTED:E.ERROR},RESPONDER_INACTIVE_PRESS_IN:{DELAY:E.RESPONDER_ACTIVE_PRESS_IN,RESPONDER_GRANT:E.ERROR,RESPONDER_RELEASE:E.NOT_RESPONDER,RESPONDER_TERMINATED:E.NOT_RESPONDER,ENTER_PRESS_RECT:E.RESPONDER_INACTIVE_PRESS_IN,LEAVE_PRESS_RECT:E.RESPONDER_INACTIVE_PRESS_OUT,LONG_PRESS_DETECTED:E.ERROR},RESPONDER_INACTIVE_PRESS_OUT:{DELAY:E.RESPONDER_ACTIVE_PRESS_OUT,RESPONDER_GRANT:E.ERROR,RESPONDER_RELEASE:E.NOT_RESPONDER,RESPONDER_TERMINATED:E.NOT_RESPONDER,ENTER_PRESS_RECT:E.RESPONDER_INACTIVE_PRESS_IN,LEAVE_PRESS_RECT:E.RESPONDER_INACTIVE_PRESS_OUT,LONG_PRESS_DETECTED:E.ERROR},RESPONDER_ACTIVE_PRESS_IN:{DELAY:E.ERROR,RESPONDER_GRANT:E.ERROR,RESPONDER_RELEASE:E.NOT_RESPONDER,RESPONDER_TERMINATED:E.NOT_RESPONDER,ENTER_PRESS_RECT:E.RESPONDER_ACTIVE_PRESS_IN,LEAVE_PRESS_RECT:E.RESPONDER_ACTIVE_PRESS_OUT,LONG_PRESS_DETECTED:E.RESPONDER_ACTIVE_LONG_PRESS_IN},RESPONDER_ACTIVE_PRESS_OUT:{DELAY:E.ERROR,RESPONDER_GRANT:E.ERROR,RESPONDER_RELEASE:E.NOT_RESPONDER,RESPONDER_TERMINATED:E.NOT_RESPONDER,ENTER_PRESS_RECT:E.RESPONDER_ACTIVE_PRESS_IN,LEAVE_PRESS_RECT:E.RESPONDER_ACTIVE_PRESS_OUT,LONG_PRESS_DETECTED:E.ERROR},RESPONDER_ACTIVE_LONG_PRESS_IN:{DELAY:E.ERROR,RESPONDER_GRANT:E.ERROR,RESPONDER_RELEASE:E.NOT_RESPONDER,RESPONDER_TERMINATED:E.NOT_RESPONDER,ENTER_PRESS_RECT:E.RESPONDER_ACTIVE_LONG_PRESS_IN,LEAVE_PRESS_RECT:E.RESPONDER_ACTIVE_LONG_PRESS_OUT,LONG_PRESS_DETECTED:E.RESPONDER_ACTIVE_LONG_PRESS_IN},RESPONDER_ACTIVE_LONG_PRESS_OUT:{DELAY:E.ERROR,RESPONDER_GRANT:E.ERROR,RESPONDER_RELEASE:E.NOT_RESPONDER,RESPONDER_TERMINATED:E.NOT_RESPONDER,ENTER_PRESS_RECT:E.RESPONDER_ACTIVE_LONG_PRESS_IN,LEAVE_PRESS_RECT:E.RESPONDER_ACTIVE_LONG_PRESS_OUT,LONG_PRESS_DETECTED:E.ERROR},error:{DELAY:E.NOT_RESPONDER,RESPONDER_GRANT:E.RESPONDER_INACTIVE_PRESS_IN,RESPONDER_RELEASE:E.NOT_RESPONDER,RESPONDER_TERMINATED:E.NOT_RESPONDER,ENTER_PRESS_RECT:E.NOT_RESPONDER,LEAVE_PRESS_RECT:E.NOT_RESPONDER,LONG_PRESS_DETECTED:E.NOT_RESPONDER}},O=130,P=20,N=500,w=N-O,A=10,I={componentDidMount:function(){var t=this;this._touchableNode=(0,u.default)(this),this._touchableNode&&this._touchableNode.addEventListener&&(this._touchableBlurListener=function(e){t._isTouchableKeyboardActive&&(t.state.touchable.touchState&&t.state.touchable.touchState!==E.NOT_RESPONDER&&t.touchableHandleResponderTerminate({nativeEvent:e}),t._isTouchableKeyboardActive=!1)},this._touchableNode.addEventListener("blur",this._touchableBlurListener))},componentWillUnmount:function(){this._touchableNode&&this._touchableNode.addEventListener&&this._touchableNode.removeEventListener("blur",this._touchableBlurListener),this.touchableDelayTimeout&&clearTimeout(this.touchableDelayTimeout),this.longPressDelayTimeout&&clearTimeout(this.longPressDelayTimeout),this.pressOutDelayTimeout&&clearTimeout(this.pressOutDelayTimeout)},touchableGetInitialState:function(){return{touchable:{touchState:void 0,responderID:null}}},touchableHandleResponderTerminationRequest:function(){return!this.props.rejectResponderTermination},touchableHandleStartShouldSetResponder:function(){return!this.props.disabled},touchableLongPressCancelsPress:function(){return!0},touchableHandleResponderGrant:function(t){var e=t.currentTarget;t.persist(),this.pressOutDelayTimeout&&clearTimeout(this.pressOutDelayTimeout),this.pressOutDelayTimeout=null,this.state.touchable.touchState=E.NOT_RESPONDER,this.state.touchable.responderID=e,this._receiveSignal(S.RESPONDER_GRANT,t);var n=void 0!==this.touchableGetHighlightDelayMS?Math.max(this.touchableGetHighlightDelayMS(),0):O;n=isNaN(n)?O:n,0!==n?this.touchableDelayTimeout=setTimeout(this._handleDelay.bind(this,t),n):(this.state.touchable.positionOnActivate=null,this._handleDelay(t));var o=void 0!==this.touchableGetLongPressDelayMS?Math.max(this.touchableGetLongPressDelayMS(),10):w;o=isNaN(o)?w:o,this.longPressDelayTimeout=setTimeout(this._handleLongDelay.bind(this,t),o+n)},touchableHandleResponderRelease:function(t){this._receiveSignal(S.RESPONDER_RELEASE,t)},touchableHandleResponderTerminate:function(t){this._receiveSignal(S.RESPONDER_TERMINATED,t)},touchableHandleResponderMove:function(t){if(this.state.touchable.touchState!==E.RESPONDER_INACTIVE_PRESS_IN&&this.state.touchable.positionOnActivate){var e=this.state.touchable.positionOnActivate,n=this.state.touchable.dimensionsOnActivate,o=this.touchableGetPressRectOffset?this.touchableGetPressRectOffset():{left:P,right:P,top:P,bottom:P},i=o.left,r=o.top,a=o.right,s=o.bottom,l=this.touchableGetHitSlop?this.touchableGetHitSlop():null;l&&(i+=l.left,r+=l.top,a+=l.right,s+=l.bottom);var u=_.default.extractSingleTouch(t.nativeEvent),c=u&&u.pageX,f=u&&u.pageY;if(this.pressInLocation){var p=this._getDistanceBetweenPoints(c,f,this.pressInLocation.pageX,this.pressInLocation.pageY);p>A&&this._cancelLongPressDelayTimeout()}var d=c>e.left-i&&f>e.top-r&&c<e.left+n.width+a&&f<e.top+n.height+s;if(d){this._receiveSignal(S.ENTER_PRESS_RECT,t);var h=this.state.touchable.touchState;h===E.RESPONDER_INACTIVE_PRESS_IN&&this._cancelLongPressDelayTimeout()}else this._cancelLongPressDelayTimeout(),this._receiveSignal(S.LEAVE_PRESS_RECT,t)}},_remeasureMetricsOnActivation:function(){var t=this.state.touchable.responderID;null!=t&&m.default.measure(t,this._handleQueryLayout)},_handleQueryLayout:function(t,e,n,o,i,r){(t||e||n||o||i||r)&&(this.state.touchable.positionOnActivate&&p.default.release(this.state.touchable.positionOnActivate),this.state.touchable.dimensionsOnActivate&&s.default.release(this.state.touchable.dimensionsOnActivate),this.state.touchable.positionOnActivate=p.default.getPooled(i,r),this.state.touchable.dimensionsOnActivate=s.default.getPooled(n,o))},_handleDelay:function(t){this.touchableDelayTimeout=null,this._receiveSignal(S.DELAY,t)},_handleLongDelay:function(t){this.longPressDelayTimeout=null;var e=this.state.touchable.touchState;e!==E.RESPONDER_ACTIVE_PRESS_IN&&e!==E.RESPONDER_ACTIVE_LONG_PRESS_IN?console.error("Attempted to transition from state `"+e+"` to `"+E.RESPONDER_ACTIVE_LONG_PRESS_IN+"`, which is not supported. This is most likely due to `Touchable.longPressDelayTimeout` not being cancelled."):this._receiveSignal(S.LONG_PRESS_DETECTED,t)},_receiveSignal:function(t,e){var n=this.state.touchable.responderID,o=this.state.touchable.touchState,i=R[o]&&R[o][t];if(n||t!==S.RESPONDER_RELEASE){if(!i)throw new Error("Unrecognized signal `"+t+"` or state `"+o+"` for Touchable responder `"+n+"`");if(i===E.ERROR)throw new Error("Touchable cannot transition from `"+o+"` to `"+t+"` for responder `"+n+"`");o!==i&&(this._performSideEffectsForTransition(o,i,t,e),this.state.touchable.touchState=i)}},_cancelLongPressDelayTimeout:function(){this.longPressDelayTimeout&&clearTimeout(this.longPressDelayTimeout),this.longPressDelayTimeout=null},_isHighlight:function(t){return t===E.RESPONDER_ACTIVE_PRESS_IN||t===E.RESPONDER_ACTIVE_LONG_PRESS_IN},_savePressInLocation:function(t){var e=_.default.extractSingleTouch(t.nativeEvent),n=e&&e.pageX,o=e&&e.pageY,i=e&&e.locationX,r=e&&e.locationY;this.pressInLocation={pageX:n,pageY:o,locationX:i,locationY:r}},_getDistanceBetweenPoints:function(t,e,n,o){var i=t-n,r=e-o;return Math.sqrt(i*i+r*r)},_performSideEffectsForTransition:function(t,e,n,o){var i=this._isHighlight(t),r=this._isHighlight(e),a=n===S.RESPONDER_TERMINATED||n===S.RESPONDER_RELEASE;if(a&&this._cancelLongPressDelayTimeout(),!g[t]&&g[e]&&this._remeasureMetricsOnActivation(),b[t]&&n===S.LONG_PRESS_DETECTED&&this.touchableHandleLongPress&&this.touchableHandleLongPress(o),r&&!i?this._startHighlight(o):!r&&i&&this._endHighlight(o),b[t]&&n===S.RESPONDER_RELEASE){var s=!!this.props.onLongPress,l=T[t]&&(!s||!this.touchableLongPressCancelsPress()),u=!T[t]||l;u&&this.touchableHandlePress&&(r||i||(this._startHighlight(o),this._endHighlight(o)),this.touchableHandlePress(o))}this.touchableDelayTimeout&&clearTimeout(this.touchableDelayTimeout),this.touchableDelayTimeout=null},_startHighlight:function(t){this._savePressInLocation(t),this.touchableHandleActivePressIn&&this.touchableHandleActivePressIn(t)},_endHighlight:function(t){var e=this;this.touchableHandleActivePressOut&&(this.touchableGetPressOutDelayMS&&this.touchableGetPressOutDelayMS()?this.pressOutDelayTimeout=setTimeout(function(){e.touchableHandleActivePressOut(t)},this.touchableGetPressOutDelayMS()):this.touchableHandleActivePressOut(t))},touchableHandleKeyEvent:function(t){var e=13,n=32,o=t.type,i=t.which;i!==e&&i!==n||("keydown"===o?this._isTouchableKeyboardActive||this.state.touchable.touchState&&this.state.touchable.touchState!==E.NOT_RESPONDER||(this.touchableHandleResponderGrant(t),this._isTouchableKeyboardActive=!0):"keyup"===o&&this._isTouchableKeyboardActive&&this.state.touchable.touchState&&this.state.touchable.touchState!==E.NOT_RESPONDER&&(this.touchableHandleResponderRelease(t),this._isTouchableKeyboardActive=!1),t.stopPropagation(),i===e&&"link"===r.default.propsToAriaRole(this.props)||t.preventDefault())}},C={Mixin:I,TOUCH_TARGET_DEBUG:!1,renderDebugView:function(t){t.color,t.hitSlop}};e.default=C},79:function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function i(t,e){var n={};for(var o in t)e.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o]);return n}var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t};e.__esModule=!0;var a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},s=n(18),l=o(s),u=n(32),c=o(u),f=n(50),p=o(f),d=n(2),h=n(1),_=o(h),y=n(4),m=o(y),v=n(51),E=o(v),g=n(117),b=o(g),T=n(7),S=o(T),R=m.default.flatten,O={top:20,left:20,right:20,bottom:30},P=(0,c.default)({displayName:"TouchableOpacity",mixins:[E.default.Mixin],propTypes:r({},b.default.propTypes,{activeOpacity:d.number,focusedOpacity:d.number}),getDefaultProps:function(){return{activeOpacity:.2,focusedOpacity:.7}},getInitialState:function(){return this.touchableGetInitialState()},componentDidMount:function(){(0,p.default)(this.props)},componentWillReceiveProps:function(t){(0,p.default)(t)},setOpacityTo:function(t,e){this.setNativeProps({style:{opacity:t,transitionDuration:e?e/1e3+"s":"0s"}})},touchableHandleActivePressIn:function(t){"onResponderGrant"===t.dispatchConfig.registrationName?this._opacityActive(0):this._opacityActive(150),this.props.onPressIn&&this.props.onPressIn(t)},touchableHandleActivePressOut:function(t){this._opacityInactive(250),this.props.onPressOut&&this.props.onPressOut(t)},touchableHandlePress:function(t){this.props.onPress&&this.props.onPress(t)},touchableHandleLongPress:function(t){this.props.onLongPress&&this.props.onLongPress(t)},touchableGetPressRectOffset:function(){return this.props.pressRetentionOffset||O},touchableGetHitSlop:function(){return this.props.hitSlop},touchableGetHighlightDelayMS:function(){return this.props.delayPressIn||0},touchableGetLongPressDelayMS:function(){return 0===this.props.delayLongPress?0:this.props.delayLongPress||500},touchableGetPressOutDelayMS:function(){return this.props.delayPressOut},_opacityActive:function(t){this.setOpacityTo(this.props.activeOpacity,t)},_opacityInactive:function(t){this.setOpacityTo(this._getChildStyleOpacityWithDefault(),t)},_opacityFocused:function(){this.setOpacityTo(this.props.focusedOpacity)},_getChildStyleOpacityWithDefault:function(){var t=R(this.props.style)||{};return void 0===t.opacity?1:t.opacity},render:function(){var t=this.props,e=(t.activeOpacity,t.focusedOpacity,t.delayLongPress,t.delayPressIn,t.delayPressOut,t.onLongPress,t.onPress,t.onPressIn,t.onPressOut,t.pressRetentionOffset,i(t,["activeOpacity","focusedOpacity","delayLongPress","delayPressIn","delayPressOut","onLongPress","onPress","onPressIn","onPressOut","pressRetentionOffset"]));return _.default.createElement(S.default,a({},e,{accessible:this.props.accessible!==!1,onKeyDown:this.touchableHandleKeyEvent,onKeyUp:this.touchableHandleKeyEvent,onResponderGrant:this.touchableHandleResponderGrant,onResponderMove:this.touchableHandleResponderMove,onResponderRelease:this.touchableHandleResponderRelease,onResponderTerminate:this.touchableHandleResponderTerminate,onResponderTerminationRequest:this.touchableHandleResponderTerminationRequest,onStartShouldSetResponder:this.touchableHandleStartShouldSetResponder,style:[N.root,!this.props.disabled&&N.actionable,this.props.style]}),this.props.children,E.default.renderDebugView({color:"blue",hitSlop:this.props.hitSlop}))}}),N=m.default.create({root:{transitionProperty:"opacity",transitionDuration:"0.15s",userSelect:"none"},actionable:{cursor:"pointer",touchAction:"manipulation"}});e.default=(0,l.default)(P)},117:function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function i(t,e){var n={};for(var o in t)e.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o]);return n}var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t};e.__esModule=!0;var a=n(32),s=o(a),l=n(40),u=o(l),c=n(50),f=o(c),p=n(1),d=o(p),h=n(4),_=o(h),y=n(178),m=o(y),v=n(51),E=o(v),g=n(17),b=o(g),T=n(90),S=o(T),R=n(2),O={top:20,left:20,right:20,bottom:30},P=(0,s.default)({displayName:"TouchableWithoutFeedback",mixins:[m.default,E.default.Mixin],propTypes:{accessibilityComponentType:b.default.accessibilityComponentType,accessibilityLabel:R.string,accessibilityRole:b.default.accessibilityRole,accessibilityTraits:b.default.accessibilityTraits,accessible:R.bool,children:R.any,delayLongPress:R.number,delayPressIn:R.number,delayPressOut:R.number,disabled:R.bool,hitSlop:u.default,onLayout:R.func,onLongPress:R.func,onPress:R.func,onPressIn:R.func,onPressOut:R.func,pressRetentionOffset:u.default,testID:R.string},getInitialState:function(){return this.touchableGetInitialState()},componentDidMount:function(){(0,f.default)(this.props)},componentWillReceiveProps:function(t){(0,f.default)(t)},touchableHandlePress:function(t){this.props.onPress&&this.props.onPress(t)},touchableHandleActivePressIn:function(t){this.props.onPressIn&&this.props.onPressIn(t)},touchableHandleActivePressOut:function(t){this.props.onPressOut&&this.props.onPressOut(t)},touchableHandleLongPress:function(t){this.props.onLongPress&&this.props.onLongPress(t)},touchableGetPressRectOffset:function(){return this.props.pressRetentionOffset||O},touchableGetHitSlop:function(){return this.props.hitSlop},touchableGetHighlightDelayMS:function(){return this.props.delayPressIn||0},touchableGetLongPressDelayMS:function(){return 0===this.props.delayLongPress?0:this.props.delayLongPress||500},touchableGetPressOutDelayMS:function(){return this.props.delayPressOut||0},render:function(){var t=this.props,e=(t.delayLongPress,t.delayPressIn,t.delayPressOut,t.onLongPress,t.onPress,t.onPressIn,t.onPressOut,t.pressRetentionOffset,i(t,["delayLongPress","delayPressIn","delayPressOut","onLongPress","onPress","onPressIn","onPressOut","pressRetentionOffset"])),n=d.default.Children.only(this.props.children),o=n.props.children;(0,S.default)(!n.type||"Text"!==n.type.displayName,"TouchableWithoutFeedback does not work well with Text children. Wrap children in a View instead. See "+(n._owner&&n._owner.getName&&n._owner.getName()||"<unknown>"));var a=E.default.TOUCH_TARGET_DEBUG&&n.type&&"Text"===n.type.displayName?[!this.props.disabled&&N.actionable,n.props.style,{color:"red"}]:[!this.props.disabled&&N.actionable,n.props.style];return d.default.cloneElement(n,r({},e,{accessible:this.props.accessible!==!1,children:o,onKeyDown:this.touchableHandleKeyEvent,onKeyUp:this.touchableHandleKeyEvent,onResponderGrant:this.touchableHandleResponderGrant,onResponderMove:this.touchableHandleResponderMove,onResponderRelease:this.touchableHandleResponderRelease,onResponderTerminate:this.touchableHandleResponderTerminate,onResponderTerminationRequest:this.touchableHandleResponderTerminationRequest,onStartShouldSetResponder:this.touchableHandleStartShouldSetResponder,style:a}))}}),N=_.default.create({actionable:{cursor:"pointer",touchAction:"manipulation"}});e.default=P},17:function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var i=n(52),r=o(i);e.default=r.default},121:function(t,e){"use strict";function n(t){return i.push(t)}function o(t){return i[t-1]}e.__esModule=!0,e.registerAsset=n,e.getAssetByID=o;var i=[]},122:function(t,e){"use strict";e.__esModule=!0;var n=0,o={},i={abort:function(t){var e=o[""+t];e&&(e.onerror=e.onload=e=null,delete o[""+t])},getSize:function(t,e,n){function r(){var t=o[""+u];if(t){var n=t.naturalHeight,r=t.naturalWidth;n&&r&&(e(r,n),s=!0)}s&&(i.abort(u),clearInterval(l))}function a(){"function"==typeof n&&n(),i.abort(u),clearInterval(l)}var s=!1,l=setInterval(r,16),u=i.load(t,r,a)},load:function(t,e,i){n+=1;var r=new window.Image;return r.onerror=i,r.onload=e,r.src=t,o[""+n]=r,n},prefetch:function(t){return new Promise(function(e,n){i.load(t,e,n)})}};e.default=i},123:function(t,e){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var o=function(){function t(){n(this,t)}return t.prototype.addListener=function(){},t.prototype.emit=function(){},t.prototype.listeners=function(){},t.prototype.once=function(){},t.prototype.removeAllListeners=function(){},t.prototype.removeCurrentListener=function(){},t.prototype.removeListener=function(){},t.prototype.removeSubscription=function(){},t}();t.exports=o},125:function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var i=n(98),r=o(i),a=n(11),s=o(a),l=n(3),u=o(l),c=n(103),f=o(c),p=n(60),d=o(p),h=n(16),_=o(h),y=n(90),m=o(y),v={},E=16,g={scrollResponderMixinGetInitialState:function(){return{isTouching:!1,lastMomentumScrollBeginTime:0,lastMomentumScrollEndTime:0,observedScrollSinceBecomingResponder:!1,becameResponderWhileAnimating:!1}},scrollResponderHandleScrollShouldSetResponder:function(){return this.state.isTouching},scrollResponderHandleStartShouldSetResponder:function(){return!1},scrollResponderHandleStartShouldSetResponderCapture:function(t){return this.scrollResponderIsAnimating()},scrollResponderHandleResponderReject:function(){(0,m.default)(!1,"ScrollView doesn't take rejection well - scrolls anyway")},scrollResponderHandleTerminationRequest:function(){return!this.state.observedScrollSinceBecomingResponder},scrollResponderHandleTouchEnd:function(t){var e=t.nativeEvent;this.state.isTouching=0!==e.touches.length,this.props.onTouchEnd&&this.props.onTouchEnd(t)},scrollResponderHandleResponderRelease:function(t){this.props.onResponderRelease&&this.props.onResponderRelease(t);var e=d.default.currentlyFocusedField();this.props.keyboardShouldPersistTaps||null==e||t.target===e||this.state.observedScrollSinceBecomingResponder||this.state.becameResponderWhileAnimating||(this.props.onScrollResponderKeyboardDismissed&&this.props.onScrollResponderKeyboardDismissed(t),d.default.blurTextInput(e))},scrollResponderHandleScroll:function(t){this.state.observedScrollSinceBecomingResponder=!0,this.props.onScroll&&this.props.onScroll(t)},scrollResponderHandleResponderGrant:function(t){this.state.observedScrollSinceBecomingResponder=!1,this.props.onResponderGrant&&this.props.onResponderGrant(t),this.state.becameResponderWhileAnimating=this.scrollResponderIsAnimating()},scrollResponderHandleScrollBeginDrag:function(t){this.props.onScrollBeginDrag&&this.props.onScrollBeginDrag(t)},scrollResponderHandleScrollEndDrag:function(t){this.props.onScrollEndDrag&&this.props.onScrollEndDrag(t)},scrollResponderHandleMomentumScrollBegin:function(t){this.state.lastMomentumScrollBeginTime=Date.now(),this.props.onMomentumScrollBegin&&this.props.onMomentumScrollBegin(t)},scrollResponderHandleMomentumScrollEnd:function(t){this.state.lastMomentumScrollEndTime=Date.now(),this.props.onMomentumScrollEnd&&this.props.onMomentumScrollEnd(t)},scrollResponderHandleTouchStart:function(t){this.state.isTouching=!0,this.props.onTouchStart&&this.props.onTouchStart(t)},scrollResponderHandleTouchMove:function(t){this.props.onTouchMove&&this.props.onTouchMove(t)},scrollResponderIsAnimating:function(){var t=Date.now(),e=t-this.state.lastMomentumScrollEndTime,n=e<E||this.state.lastMomentumScrollEndTime<this.state.lastMomentumScrollBeginTime;return n},scrollResponderGetScrollableNode:function(){return this.getScrollableNode?this.getScrollableNode():(0,s.default)(this)},scrollResponderScrollTo:function(t,e,n){if("number"==typeof t)console.warn("`scrollResponderScrollTo(x, y, animated)` is deprecated. Use `scrollResponderScrollTo({x: 5, y: 5, animated: true})` instead.");else{var o=t||v;t=o.x,e=o.y,n=o.animated}var i=this.scrollResponderGetScrollableNode();_.default.updateView(i,{style:{scrollBehavior:n?"smooth":"auto"}},this),i.scrollLeft=t||0,i.scrollTop=e||0},scrollResponderScrollWithoutAnimationTo:function(t,e){console.warn("`scrollResponderScrollWithoutAnimationTo` is deprecated. Use `scrollResponderScrollTo` instead"),this.scrollResponderScrollTo({x:t,y:e,animated:!1})},scrollResponderZoomTo:function(t,e){"ios"!==f.default.OS&&(0,u.default)("zoomToRect is not implemented")},scrollResponderScrollNativeHandleToKeyboard:function(t,e,n){this.additionalScrollOffset=e||0,this.preventNegativeScrollOffset=!!n,_.default.measureLayout(t,(0,s.default)(this.getInnerViewNode()),this.scrollResponderTextInputFocusError,this.scrollResponderInputMeasureAndScrollToKeyboard)},scrollResponderInputMeasureAndScrollToKeyboard:function(t,e,n,o){var i=r.default.get("window").height;this.keyboardWillOpenTo&&(i=this.keyboardWillOpenTo.endCoordinates.screenY);var a=e-i+o+this.additionalScrollOffset;this.preventNegativeScrollOffset&&(a=Math.max(0,a)),this.scrollResponderScrollTo({x:0,y:a,animated:!0}),this.additionalOffset=0,this.preventNegativeScrollOffset=!1},scrollResponderTextInputFocusError:function(t){console.error("Error measuring text field: ",t)},componentWillMount:function(){this.keyboardWillOpenTo=null,this.additionalScrollOffset=0},scrollResponderKeyboardWillShow:function(t){this.keyboardWillOpenTo=t,this.props.onKeyboardWillShow&&this.props.onKeyboardWillShow(t)},scrollResponderKeyboardWillHide:function(t){this.keyboardWillOpenTo=null,this.props.onKeyboardWillHide&&this.props.onKeyboardWillHide(t)},scrollResponderKeyboardDidShow:function(t){t&&(this.keyboardWillOpenTo=t),this.props.onKeyboardDidShow&&this.props.onKeyboardDidShow(t)},scrollResponderKeyboardDidHide:function(t){this.keyboardWillOpenTo=null,this.props.onKeyboardDidHide&&this.props.onKeyboardDidHide(t)}},b={Mixin:g};e.default=b},60:function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var i=n(16),r=o(i),a={_currentlyFocusedNode:null,currentlyFocusedField:function(){return document.activeElement!==this._currentlyFocusedNode&&(this._currentlyFocusedNode=null),this._currentlyFocusedNode},focusTextInput:function(t){null!==t&&(this._currentlyFocusedNode=t,document.activeElement!==t&&r.default.focus(t))},blurTextInput:function(t){null!==t&&(this._currentlyFocusedNode=null,document.activeElement===t&&r.default.blur(t))}};e.default=a},126:function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var i=n(60),r=o(i),a=function(){r.default.blurTextInput(r.default.currentlyFocusedField())};e.default=a},133:function(t,e,n){"use strict";e.__esModule=!0,e.cancelIdleCallback=void 0;var o=n(10),i=function(t,e){return setTimeout(function(){var e=Date.now();t({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-e))}})},1)},r=function(t){clearTimeout(t)},a=o.canUseDOM&&"undefined"!=typeof window.requestIdleCallback,s=a?window.requestIdleCallback:i,l=a?window.cancelIdleCallback:r;e.default=s,e.cancelIdleCallback=l},29:function(t,e,n){"use strict";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e,n){var o=[],i=function t(e,n){if(e instanceof r)e.__makeNative(),o.push({nativeEventPath:n,animatedValueTag:e.__getNativeTag()});else if("object"==typeof e)for(var i in e)t(e[i],n.concat(i))};l(n[0]&&n[0].nativeEvent,"Native driven events only support animated values contained inside `nativeEvent`."),i(n[0].nativeEvent,[]);var u=s(t);return o.forEach(function(t){a.API.addAnimatedEventToView(u,e,t)}),{detach:function(){o.forEach(function(t){
a.API.removeAnimatedEventFromView(u,e,t.animatedValueTag)})}}}var r=n(9),a=n(5),s=n(11).default,l=n(3),u=n(5),c=u.shouldUseNativeDriver,f=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o(this,t),this._listeners=[],this._argMapping=e,n.listener&&this.__addListener(n.listener),this._callListeners=this._callListeners.bind(this),this._attachedEvent=null,this.__isNative=c(n)}return t.prototype.__addListener=function(t){this._listeners.push(t)},t.prototype.__removeListener=function(t){this._listeners=this._listeners.filter(function(e){return e!==t})},t.prototype.__attach=function(t,e){l(this.__isNative,"Only native driven events need to be attached."),this._attachedEvent=i(t,e,this._argMapping)},t.prototype.__detach=function(t,e){l(this.__isNative,"Only native driven events need to be detached."),this._attachedEvent&&this._attachedEvent.detach()},t.prototype.__getHandler=function(){var t=this;return this.__isNative?this._callListeners:function(){for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];var i=function t(e,n,o){if("number"==typeof n&&e instanceof r)e.setValue(n);else if("object"==typeof e)for(var i in e)t(e[i],n[i],i)};t.__isNative||t._argMapping.forEach(function(t,e){i(t,n[e],"arg"+e)}),t._callListeners.apply(t,n)}},t.prototype._callListeners=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];this._listeners.forEach(function(t){return t.apply(void 0,e)})},t.prototype._validateMapping=function(){},t}();t.exports={AnimatedEvent:f,attachNativeEvent:i}},134:function(t,e,n){"use strict";function o(t,e){return t?t instanceof s?(t.__addListener(e),t):function(){"function"==typeof t&&t.apply(void 0,arguments),e.apply(void 0,arguments)}:e}function i(t,e){t&&t instanceof s&&t.__removeListener(e)}var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},a=n(29),s=a.AnimatedEvent,l=a.attachNativeEvent,u=n(142),c=n(143),f=n(144),p=n(12),d=n(145),h=n(146),_=n(6),y=n(68),m=n(148),v=n(9),E=n(31),g=n(137),b=n(138),T=n(139),S=n(141),R=function(t,e){return new u(t,e)},O=function(t,e){return new f(t,e)},P=function(t,e){return new h(t,e)},N=function(t,e){return new d(t,e)},w=function(t,e,n){return new c(t,e,n)},A=function(t,e){return t&&e.onComplete?function(){e.onComplete&&e.onComplete.apply(e,arguments),t&&t.apply(void 0,arguments)}:t||e.onComplete},I=function(t,e,n){if(t instanceof E){var o=r({},e),i=r({},e);for(var a in e){var s=e[a],l=s.x,u=s.y;void 0!==l&&void 0!==u&&(o[a]=l,i[a]=u)}var c=n(t.x,o),f=n(t.y,i);return L([c,f],{stopTogether:!1})}return null},C=function t(e,n){var o=function(t,e,n){n=A(n,e);var o=t,i=e;o.stopTracking(),e.toValue instanceof _?o.track(new m(o,e.toValue,b,i,n)):o.animate(new b(i),n)};return I(e,n,t)||{start:function(t){function e(e){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}(function(t){o(e,n,t)}),stop:function(){e.stopAnimation()},reset:function(){e.resetAnimation()},_startNativeLoop:function(t){var i=r({},n,{iterations:t});o(e,i)},_isUsingNativeDriver:function(){return n.useNativeDriver||!1}}},D=function t(e,n){var o=function(t,e,n){n=A(n,e);var o=t,i=e;o.stopTracking(),e.toValue instanceof _?o.track(new m(o,e.toValue,T,i,n)):o.animate(new T(i),n)};return I(e,n,t)||{start:function(t){function e(e){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}(function(t){o(e,n,t)}),stop:function(){e.stopAnimation()},reset:function(){e.resetAnimation()},_startNativeLoop:function(t){var i=r({},n,{iterations:t});o(e,i)},_isUsingNativeDriver:function(){return n.useNativeDriver||!1}}},M=function t(e,n){var o=function(t,e,n){n=A(n,e);var o=t,i=e;o.stopTracking(),o.animate(new g(i),n)};return I(e,n,t)||{start:function(t){function e(e){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}(function(t){o(e,n,t)}),stop:function(){e.stopAnimation()},reset:function(){e.resetAnimation()},_startNativeLoop:function(t){var i=r({},n,{iterations:t});o(e,i)},_isUsingNativeDriver:function(){return n.useNativeDriver||!1}}},x=function(t){var e=0;return{start:function(n){var o=function o(i){return i.finished?(e++,e===t.length?void(n&&n(i)):void t[e].start(o)):void(n&&n(i))};0===t.length?n&&n({finished:!0}):t[e].start(o)},stop:function(){e<t.length&&t[e].stop()},reset:function(){t.forEach(function(t,n){n<=e&&t.reset()}),e=0},_startNativeLoop:function(){throw new Error("Loops run using the native driver cannot contain Animated.sequence animations")},_isUsingNativeDriver:function(){return!1}}},L=function(t,e){var n=0,o={},i=!(e&&e.stopTogether===!1),r={start:function(e){return n===t.length?void(e&&e({finished:!0})):void t.forEach(function(a,s){var l=function(a){return o[s]=!0,n++,n===t.length?(n=0,void(e&&e(a))):void(!a.finished&&i&&r.stop())};a?a.start(l):l({finished:!0})})},stop:function(){t.forEach(function(t,e){!o[e]&&t.stop(),o[e]=!0})},reset:function(){t.forEach(function(t,e){t.reset(),o[e]=!1,n=0})},_startNativeLoop:function(){throw new Error("Loops run using the native driver cannot contain Animated.parallel animations")},_isUsingNativeDriver:function(){return!1}};return r},j=function(t){return D(new v(0),{toValue:0,delay:t,duration:0})},V=function(t,e){return L(e.map(function(e,n){return x([j(t*n),e])}))},k=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.iterations,o=void 0===n?-1:n,i=!1,r=0;return{start:function(e){var n=function n(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{finished:!0};i||r===o||a.finished===!1?e&&e(a):(r++,t.reset(),t.start(n))};t&&0!==o?t._isUsingNativeDriver()?t._startNativeLoop(o):n():e&&e({finished:!0})},stop:function(){i=!0,t.stop()},reset:function(){r=0,i=!1,t.reset()},_startNativeLoop:function(){throw new Error("Loops run using the native driver cannot contain Animated.loop animations")},_isUsingNativeDriver:function(){return t._isUsingNativeDriver()}}},H=function(t,e){var n=new s(t,e);return n.__isNative?n:n.__getHandler()};t.exports={Value:v,ValueXY:E,Interpolation:p,Node:_,decay:M,timing:D,spring:C,add:R,divide:O,multiply:P,modulo:N,diffClamp:w,delay:j,sequence:x,parallel:L,stagger:V,loop:k,event:H,createAnimatedComponent:S,attachNativeEvent:l,forkEvent:o,unforkEvent:i,__PropsOnlyForTests:y}},135:function(t,e,n){"use strict";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var i=void 0,r=function(){function t(){o(this,t)}return t.step0=function(t){return t>0?1:0},t.step1=function(t){return t>=1?1:0},t.linear=function(t){return t},t.ease=function(e){return i||(i=t.bezier(.42,0,1,1)),i(e)},t.quad=function(t){return t*t},t.cubic=function(t){return t*t*t},t.poly=function(t){return function(e){return Math.pow(e,t)}},t.sin=function(t){return 1-Math.cos(t*Math.PI/2)},t.circle=function(t){return 1-Math.sqrt(1-t*t)},t.exp=function(t){return Math.pow(2,10*(t-1))},t.elastic=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,e=t*Math.PI;return function(t){return 1-Math.pow(Math.cos(t*Math.PI/2),3)*Math.cos(t*e)}},t.back=function(t){return void 0===t&&(t=1.70158),function(e){return e*e*((t+1)*e-t)}},t.bounce=function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?(t-=1.5/2.75,7.5625*t*t+.75):t<2.5/2.75?(t-=2.25/2.75,7.5625*t*t+.9375):(t-=2.625/2.75,7.5625*t*t+.984375)},t.bezier=function(t,e,o,i){var r=n(140);return r(t,e,o,i)},t.in=function(t){return t},t.out=function(t){return function(e){return 1-t(1-e)}},t.inOut=function(t){return function(e){return e<.5?t(2*e)/2:1-t(2*(1-e))/2}},t}();t.exports=r},5:function(t,e,n){"use strict";function o(t){t.forEach(function(t){if(!E.hasOwnProperty(t.property))throw new Error("Property '"+t.property+"' is not supported by native animated module")})}function i(t){for(var e in t)if(!v.hasOwnProperty(e))throw new Error("Style property '"+e+"' is not supported by native animated module")}function r(t){var e={inputRange:!0,outputRange:!0,extrapolate:!0,extrapolateRight:!0,extrapolateLeft:!0};for(var n in t)if(!e.hasOwnProperty(n))throw new Error("Interpolation property '"+n+"' is not supported by native animated module")}function a(){return h++}function s(){return _++}function l(){c(d,"Native animated module is not available")}function u(t){return t.useNativeDriver&&!d?(g||(console.warn("Animated: `useNativeDriver` is not supported because the native animated module is missing. Falling back to JS-based animation. To resolve this, add `RCTAnimation` module to this app, or remove `useNativeDriver`. More info: https://github.com/facebook/react-native/issues/11094#issuecomment-263240420"),g=!0),!1):t.useNativeDriver||!1}var c=n(3),f=n(102),p=n(123),d=f.NativeAnimatedModule,h=1,_=1,y=void 0,m={createAnimatedNode:function(t,e){l(),d.createAnimatedNode(t,e)},startListeningToAnimatedNodeValue:function(t){l(),d.startListeningToAnimatedNodeValue(t)},stopListeningToAnimatedNodeValue:function(t){l(),d.stopListeningToAnimatedNodeValue(t)},connectAnimatedNodes:function(t,e){l(),d.connectAnimatedNodes(t,e)},disconnectAnimatedNodes:function(t,e){l(),d.disconnectAnimatedNodes(t,e)},startAnimatingNode:function(t,e,n,o){l(),d.startAnimatingNode(t,e,n,o)},stopAnimation:function(t){l(),d.stopAnimation(t)},setAnimatedNodeValue:function(t,e){l(),d.setAnimatedNodeValue(t,e)},setAnimatedNodeOffset:function(t,e){l(),d.setAnimatedNodeOffset(t,e)},flattenAnimatedNodeOffset:function(t){l(),d.flattenAnimatedNodeOffset(t)},extractAnimatedNodeOffset:function(t){l(),d.extractAnimatedNodeOffset(t)},connectAnimatedNodeToView:function(t,e){l(),d.connectAnimatedNodeToView(t,e)},disconnectAnimatedNodeFromView:function(t,e){l(),d.disconnectAnimatedNodeFromView(t,e)},dropAnimatedNode:function(t){l(),d.dropAnimatedNode(t)},addAnimatedEventToView:function(t,e,n){l(),d.addAnimatedEventToView(t,e,n)},removeAnimatedEventFromView:function(t,e,n){l(),d.removeAnimatedEventFromView(t,e,n)}},v={opacity:!0,transform:!0,shadowOpacity:!0,shadowRadius:!0,scaleX:!0,scaleY:!0,translateX:!0,translateY:!0},E={translateX:!0,translateY:!0,scale:!0,scaleX:!0,scaleY:!0,rotate:!0,rotateX:!0,rotateY:!0,perspective:!0},g=!1,b={API:m,validateStyles:i,validateTransform:o,validateInterpolation:r,generateNewNodeTag:a,generateNewAnimationId:s,assertNativeAnimatedModule:l,shouldUseNativeDriver:u,get nativeEventEmitter(){return y||(y=new p(d)),y}};t.exports=b},136:function(t,e){"use strict";function n(t){return 3.62*(t-30)+194}function o(t){return 3*(t-8)+25}function i(t,e){return{stiffness:n(t),damping:o(e)}}function r(t,e){function i(t,e,n){return(t-e)/(n-e)}function r(t,e,n){return e+t*(n-e)}function a(t,e,n){return t*n+(1-t)*e}function s(t,e,n){return a(2*t-t*t,e,n)}function l(t){return 7e-4*Math.pow(t,3)-.031*Math.pow(t,2)+.64*t+1.28}function u(t){return 44e-6*Math.pow(t,3)-.006*Math.pow(t,2)+.36*t+2}function c(t){return 4.5e-7*Math.pow(t,3)-332e-6*Math.pow(t,2)+.1078*t+5.84}function f(t){return t<=18?l(t):t>18&&t<=44?u(t):c(t)}var p=i(t/1.7,0,20);p=r(p,0,.8);var d=i(e/1.7,0,20),h=r(d,.5,200),_=s(p,f(h),.01);return{stiffness:n(h),damping:o(_)}}t.exports={fromOrigamiTensionAndFriction:i,fromBouncinessAndSpeed:r}},30:function(t,e,n){"use strict";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var i=n(5),r=function(){function t(){o(this,t)}return t.prototype.start=function(t,e,n,o,i){},t.prototype.stop=function(){this.__nativeId&&i.API.stopAnimation(this.__nativeId)},t.prototype.__getNativeAnimationConfig=function(){throw new Error("This animation type cannot be offloaded to native")},t.prototype.__debouncedOnEnd=function(t){var e=this.__onEnd;this.__onEnd=null,e&&e(t)},t.prototype.__startNativeAnimation=function(t){t.__makeNative(),this.__nativeId=i.generateNewAnimationId(),i.API.startAnimatingNode(this.__nativeId,t.__getNativeTag(),this.__getNativeAnimationConfig(),this.__debouncedOnEnd.bind(this))},t}();t.exports=r},137:function(t,e,n){(function(e){"use strict";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(30),s=n(5),l=s.shouldUseNativeDriver,u=function(t){function n(e){o(this,n);var r=i(this,t.call(this));return r._deceleration=void 0!==e.deceleration?e.deceleration:.998,r._velocity=e.velocity,r._useNativeDriver=l(e),r.__isInteraction=void 0===e.isInteraction||e.isInteraction,r.__iterations=void 0!==e.iterations?e.iterations:1,r}return r(n,t),n.prototype.__getNativeAnimationConfig=function(){return{type:"decay",deceleration:this._deceleration,velocity:this._velocity,iterations:this.__iterations}},n.prototype.start=function(t,e,n,o,i){this.__active=!0,this._lastValue=t,this._fromValue=t,this._onUpdate=e,this.__onEnd=n,this._startTime=Date.now(),this._useNativeDriver?this.__startNativeAnimation(i):this._animationFrame=requestAnimationFrame(this.onUpdate.bind(this))},n.prototype.onUpdate=function(){var t=Date.now(),e=this._fromValue+this._velocity/(1-this._deceleration)*(1-Math.exp(-(1-this._deceleration)*(t-this._startTime)));return this._onUpdate(e),Math.abs(this._lastValue-e)<.1?void this.__debouncedOnEnd({finished:!0}):(this._lastValue=e,void(this.__active&&(this._animationFrame=requestAnimationFrame(this.onUpdate.bind(this)))))},n.prototype.stop=function(){t.prototype.stop.call(this),this.__active=!1,e.cancelAnimationFrame(this._animationFrame),this.__debouncedOnEnd({finished:!1})},n}(a);t.exports=u}).call(e,function(){return this}())},138:function(t,e,n){(function(e){"use strict";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t,e){return void 0===t||null===t?e:t}var s=(n(9),n(31),n(30)),l=n(136),u=n(3),c=n(5),f=c.shouldUseNativeDriver,p=function(t){function n(e){o(this,n);var r=i(this,t.call(this));if(r._overshootClamping=a(e.overshootClamping,!1),r._restDisplacementThreshold=a(e.restDisplacementThreshold,.001),r._restSpeedThreshold=a(e.restSpeedThreshold,.001),r._initialVelocity=a(e.velocity,0),r._lastVelocity=a(e.velocity,0),r._toValue=e.toValue,r._delay=a(e.delay,0),r._useNativeDriver=f(e),r.__isInteraction=void 0===e.isInteraction||e.isInteraction,r.__iterations=void 0!==e.iterations?e.iterations:1,void 0!==e.stiffness||void 0!==e.damping||void 0!==e.mass)u(void 0===e.bounciness&&void 0===e.speed&&void 0===e.tension&&void 0===e.friction,"You can define one of bounciness/speed, tension/friction, or stiffness/damping/mass, but not more than one"),r._stiffness=a(e.stiffness,100),r._damping=a(e.damping,10),r._mass=a(e.mass,1);else if(void 0!==e.bounciness||void 0!==e.speed){u(void 0===e.tension&&void 0===e.friction&&void 0===e.stiffness&&void 0===e.damping&&void 0===e.mass,"You can define one of bounciness/speed, tension/friction, or stiffness/damping/mass, but not more than one");var s=l.fromBouncinessAndSpeed(a(e.bounciness,8),a(e.speed,12));r._stiffness=s.stiffness,r._damping=s.damping,r._mass=1}else{var c=l.fromOrigamiTensionAndFriction(a(e.tension,40),a(e.friction,7));r._stiffness=c.stiffness,r._damping=c.damping,r._mass=1}return u(r._stiffness>0,"Stiffness value must be greater than 0"),u(r._damping>0,"Damping value must be greater than 0"),u(r._mass>0,"Mass value must be greater than 0"),r}return r(n,t),n.prototype.__getNativeAnimationConfig=function(){return{type:"spring",overshootClamping:this._overshootClamping,restDisplacementThreshold:this._restDisplacementThreshold,restSpeedThreshold:this._restSpeedThreshold,stiffness:this._stiffness,damping:this._damping,mass:this._mass,initialVelocity:a(this._initialVelocity,this._lastVelocity),toValue:this._toValue,iterations:this.__iterations}},n.prototype.start=function t(e,o,i,r,a){var s=this;if(this.__active=!0,this._startPosition=e,this._lastPosition=this._startPosition,this._onUpdate=o,this.__onEnd=i,this._lastTime=Date.now(),this._frameTime=0,r instanceof n){var l=r.getInternalState();this._lastPosition=l.lastPosition,this._lastVelocity=l.lastVelocity,this._initialVelocity=this._lastVelocity,this._lastTime=l.lastTime}var t=function(){s._useNativeDriver?s.__startNativeAnimation(a):s.onUpdate()};this._delay?this._timeout=setTimeout(t,this._delay):t()},n.prototype.getInternalState=function(){return{lastPosition:this._lastPosition,lastVelocity:this._lastVelocity,lastTime:this._lastTime}},n.prototype.onUpdate=function(){var t=64,e=Date.now();e>this._lastTime+t&&(e=this._lastTime+t);var n=(e-this._lastTime)/1e3;this._frameTime+=n;var o=this._damping,i=this._mass,r=this._stiffness,a=-this._initialVelocity,s=o/(2*Math.sqrt(r*i)),l=Math.sqrt(r/i),u=l*Math.sqrt(1-s*s),c=this._toValue-this._startPosition,f=0,p=0,d=this._frameTime;if(s<1){var h=Math.exp(-s*l*d);f=this._toValue-h*((a+s*l*c)/u*Math.sin(u*d)+c*Math.cos(u*d)),p=s*l*h*(Math.sin(u*d)*(a+s*l*c)/u+c*Math.cos(u*d))-h*(Math.cos(u*d)*(a+s*l*c)-u*c*Math.sin(u*d))}else{var _=Math.exp(-l*d);f=this._toValue-_*(c+(a+l*c)*d),p=_*(a*(d*l-1)+d*c*(l*l))}if(this._lastTime=e,this._lastPosition=f,this._lastVelocity=p,this._onUpdate(f),this.__active){var y=!1;this._overshootClamping&&0!==this._stiffness&&(y=this._startPosition<this._toValue?f>this._toValue:f<this._toValue);var m=Math.abs(p)<=this._restSpeedThreshold,v=!0;return 0!==this._stiffness&&(v=Math.abs(this._toValue-f)<=this._restDisplacementThreshold),y||m&&v?(0!==this._stiffness&&(this._lastPosition=this._toValue,this._lastVelocity=0,this._onUpdate(this._toValue)),void this.__debouncedOnEnd({finished:!0})):void(this._animationFrame=requestAnimationFrame(this.onUpdate.bind(this)))}},n.prototype.stop=function(){t.prototype.stop.call(this),this.__active=!1,clearTimeout(this._timeout),e.cancelAnimationFrame(this._animationFrame),this.__debouncedOnEnd({finished:!1})},n}(s);t.exports=p}).call(e,function(){return this}())},139:function(t,e,n){(function(e){"use strict";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(){if(!c){var t=n(135);c=t.inOut(t.ease)}return c}var s=(n(9),n(31),n(30)),l=n(5),u=l.shouldUseNativeDriver,c=void 0,f=function(t){function n(e){o(this,n);var r=i(this,t.call(this));return r._toValue=e.toValue,r._easing=void 0!==e.easing?e.easing:a(),r._duration=void 0!==e.duration?e.duration:500,r._delay=void 0!==e.delay?e.delay:0,r.__iterations=void 0!==e.iterations?e.iterations:1,r.__isInteraction=void 0===e.isInteraction||e.isInteraction,r._useNativeDriver=u(e),r}return r(n,t),n.prototype.__getNativeAnimationConfig=function(){for(var t=1e3/60,e=[],n=0;n<this._duration;n+=t)e.push(this._easing(n/this._duration));return e.push(this._easing(1)),{type:"frames",frames:e,toValue:this._toValue,iterations:this.__iterations}},n.prototype.start=function t(e,n,o,i,r){var a=this;this.__active=!0,this._fromValue=e,this._onUpdate=n,this.__onEnd=o;var t=function(){0!==a._duration||a._useNativeDriver?(a._startTime=Date.now(),a._useNativeDriver?a.__startNativeAnimation(r):a._animationFrame=requestAnimationFrame(a.onUpdate.bind(a))):(a._onUpdate(a._toValue),a.__debouncedOnEnd({finished:!0}))};this._delay?this._timeout=setTimeout(t,this._delay):t()},n.prototype.onUpdate=function(){var t=Date.now();return t>=this._startTime+this._duration?(0===this._duration?this._onUpdate(this._toValue):this._onUpdate(this._fromValue+this._easing(1)*(this._toValue-this._fromValue)),void this.__debouncedOnEnd({finished:!0})):(this._onUpdate(this._fromValue+this._easing((t-this._startTime)/this._duration)*(this._toValue-this._fromValue)),void(this.__active&&(this._animationFrame=requestAnimationFrame(this.onUpdate.bind(this)))))},n.prototype.stop=function(){t.prototype.stop.call(this),this.__active=!1,clearTimeout(this._timeout),e.cancelAnimationFrame(this._animationFrame),this.__debouncedOnEnd({finished:!1})},n}(s);t.exports=f}).call(e,function(){return this}())},140:function(t,e){"use strict";function n(t,e){return 1-3*e+3*t}function o(t,e){return 3*e-6*t}function i(t){return 3*t}function r(t,e,r){return((n(e,r)*t+o(e,r))*t+i(e))*t}function a(t,e,r){return 3*n(e,r)*t*t+2*o(e,r)*t+i(e)}function s(t,e,n,o,i){var a,s,l=0;do s=e+(n-e)/2,a=r(s,o,i)-t,a>0?n=s:e=s;while(Math.abs(a)>f&&++l<p);return s}function l(t,e,n,o){for(var i=0;i<u;++i){var s=a(e,n,o);if(0===s)return e;var l=r(e,n,o)-t;e-=l/s}return e}var u=4,c=.001,f=1e-7,p=10,d=11,h=1/(d-1),_="function"==typeof Float32Array;t.exports=function(t,e,n,o){function i(e){for(var o=0,i=1,r=d-1;i!==r&&u[i]<=e;++i)o+=h;--i;var f=(e-u[i])/(u[i+1]-u[i]),p=o+f*h,_=a(p,t,n);return _>=c?l(e,p,t,n):0===_?p:s(e,o,o+h,t,n)}if(!(0<=t&&t<=1&&0<=n&&n<=1))throw new Error("bezier x values must be in [0, 1] range");var u=_?new Float32Array(d):new Array(d);if(t!==e||n!==o)for(var f=0;f<d;++f)u[f]=r(f*h,t,n);return function(a){return t===e&&n===o?a:0===a?0:1===a?1:r(i(a),e,o)}}},141:function(t,e,n){"use strict";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t){var e=function(e){function n(t){o(this,n);var r=i(this,e.call(this,t));return r._invokeAnimatedPropsCallbackOnMount=!1,r._eventDetachers=[],r._animatedPropsCallback=function(){if(null==r._component)r._invokeAnimatedPropsCallbackOnMount=!0;else if(n.__skipSetNativeProps_FOR_TESTS_ONLY||"function"!=typeof r._component.setNativeProps)r.forceUpdate();else{if(r._propsAnimated.__isNative)throw new Error('Attempting to run JS driven animation on animated node that has been moved to "native" earlier by starting an animation with `useNativeDriver: true`');r._component.setNativeProps(r._propsAnimated.__getAnimatedValue())}},r._setComponentRef=r._setComponentRef.bind(r),r}return r(n,e),n.prototype.componentWillUnmount=function(){this._propsAnimated&&this._propsAnimated.__detach(),this._detachNativeEvents()},n.prototype.setNativeProps=function(t){this._component.setNativeProps(t)},n.prototype.componentWillMount=function(){this._attachProps(this.props)},n.prototype.componentDidMount=function(){this._invokeAnimatedPropsCallbackOnMount&&(this._invokeAnimatedPropsCallbackOnMount=!1,this._animatedPropsCallback()),this._propsAnimated.setNativeView(this._component),this._attachNativeEvents()},n.prototype._attachNativeEvents=function(){var t=this,e=this._component.getScrollableNode?this._component.getScrollableNode():this._component,n=function(n){var o=t.props[n];o instanceof u&&o.__isNative&&(o.__attach(e,n),t._eventDetachers.push(function(){return o.__detach(e,n)}))};for(var o in this.props)n(o)},n.prototype._detachNativeEvents=function(){this._eventDetachers.forEach(function(t){return t()}),this._eventDetachers=[]},n.prototype._attachProps=function(t){var e=this._propsAnimated;this._propsAnimated=new c(t,this._animatedPropsCallback),e&&e.__detach()},n.prototype.componentWillReceiveProps=function(t){this._attachProps(t)},n.prototype.componentDidUpdate=function(t){this._component!==this._prevComponent&&this._propsAnimated.setNativeView(this._component),this._component===this._prevComponent&&t===this.props||(this._detachNativeEvents(),this._attachNativeEvents())},n.prototype.render=function(){var e=this._propsAnimated.__getValue();return f.createElement(t,s({},e,{ref:this._setComponentRef,collapsable:!this._propsAnimated.__isNative&&e.collapsable}))},n.prototype._setComponentRef=function(t){this._prevComponent=this._component,this._component=t},n.prototype.getNode=function(){return this._component},n}(f.Component);e.__skipSetNativeProps_FOR_TESTS_ONLY=!1;t.propTypes;return e.propTypes={},e}var s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},l=n(29),u=l.AnimatedEvent,c=n(68),f=n(1);n(24).default;t.exports=a},142:function(t,e,n){"use strict";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(12),s=(n(6),n(9)),l=n(8),u=function(t){function e(n,r){o(this,e);var a=i(this,t.call(this));return a._a="number"==typeof n?new s(n):n,a._b="number"==typeof r?new s(r):r,a}return r(e,t),e.prototype.__makeNative=function(){this._a.__makeNative(),this._b.__makeNative(),t.prototype.__makeNative.call(this)},e.prototype.__getValue=function(){return this._a.__getValue()+this._b.__getValue()},e.prototype.interpolate=function(t){return new a(this,t)},e.prototype.__attach=function(){this._a.__addChild(this),this._b.__addChild(this)},e.prototype.__detach=function(){this._a.__removeChild(this),this._b.__removeChild(this),t.prototype.__detach.call(this)},e.prototype.__getNativeConfig=function(){return{type:"addition",input:[this._a.__getNativeTag(),this._b.__getNativeTag()]}},e}(l);t.exports=u},143:function(t,e,n){"use strict";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(12),s=(n(6),n(8)),l=function(t){function e(n,r,a){o(this,e);var s=i(this,t.call(this));return s._a=n,s._min=r,s._max=a,s._value=s._lastValue=s._a.__getValue(),s}return r(e,t),e.prototype.__makeNative=function(){this._a.__makeNative(),t.prototype.__makeNative.call(this)},e.prototype.interpolate=function(t){return new a(this,t)},e.prototype.__getValue=function(){var t=this._a.__getValue(),e=t-this._lastValue;return this._lastValue=t,this._value=Math.min(Math.max(this._value+e,this._min),this._max),this._value},e.prototype.__attach=function(){this._a.__addChild(this)},e.prototype.__detach=function(){this._a.__removeChild(this),t.prototype.__detach.call(this)},e.prototype.__getNativeConfig=function(){return{type:"diffclamp",input:this._a.__getNativeTag(),min:this._min,max:this._max}},e}(s);t.exports=l},144:function(t,e,n){"use strict";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(12),s=(n(6),n(9)),l=n(8),u=function(t){function e(n,r){o(this,e);var a=i(this,t.call(this));return a._a="number"==typeof n?new s(n):n,a._b="number"==typeof r?new s(r):r,a}return r(e,t),e.prototype.__makeNative=function(){this._a.__makeNative(),this._b.__makeNative(),t.prototype.__makeNative.call(this)},e.prototype.__getValue=function(){var t=this._a.__getValue(),e=this._b.__getValue();return 0===e&&console.error("Detected division by zero in AnimatedDivision"),t/e},e.prototype.interpolate=function(t){return new a(this,t)},e.prototype.__attach=function(){this._a.__addChild(this),this._b.__addChild(this)},e.prototype.__detach=function(){this._a.__removeChild(this),this._b.__removeChild(this),t.prototype.__detach.call(this)},e.prototype.__getNativeConfig=function(){return{type:"division",input:[this._a.__getNativeTag(),this._b.__getNativeTag()]}},e}(l);t.exports=u},12:function(t,e,n){"use strict";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t){if(t.outputRange&&"string"==typeof t.outputRange[0])return u(t);var e=t.outputRange;h("outputRange",e);var n=t.inputRange;h("inputRange",n),d(n),m(n.length===e.length,"inputRange ("+n.length+") and outputRange ("+e.length+") must have the same length");var o=t.easing||E,i="extend";void 0!==t.extrapolateLeft?i=t.extrapolateLeft:void 0!==t.extrapolate&&(i=t.extrapolate);var r="extend";return void 0!==t.extrapolateRight?r=t.extrapolateRight:void 0!==t.extrapolate&&(r=t.extrapolate),function(t){m("number"==typeof t,"Cannot interpolation an input which is not a number");var a=p(t,n);return s(t,n[a],n[a+1],e[a],e[a+1],o,i,r)}}function s(t,e,n,o,i,r,a,s){var l=t;if(l<e){if("identity"===a)return l;"clamp"===a&&(l=e)}if(l>n){if("identity"===s)return l;"clamp"===s&&(l=n)}return o===i?o:e===n?t<=e?o:i:(e===-(1/0)?l=-l:n===1/0?l-=e:l=(l-e)/(n-e),l=r(l),o===-(1/0)?l=-l:i===1/0?l+=o:l=l*(i-o)+o,l)}function l(t){var e=v(t);if(null===e)return t;e=e||0;var n=(4278190080&e)>>>24,o=(16711680&e)>>>16,i=(65280&e)>>>8,r=(255&e)/255;return"rgba("+n+", "+o+", "+i+", "+r+")"}function u(t){var e=t.outputRange;m(e.length>=2,"Bad output range"),e=e.map(l),f(e);var n=e[0].match(g).map(function(){return[]});e.forEach(function(t){t.match(g).forEach(function(t,e){n[e].push(+t)})});var o=e[0].match(g).map(function(e,o){return a(_({},t,{outputRange:n[o]}))}),i=c(e[0]);return function(t){var n=0;return e[0].replace(g,function(){var e=+o[n++](t),r=i&&n<4?Math.round(e):Math.round(1e3*e)/1e3;return String(r)})}}function c(t){return"string"==typeof t&&t.startsWith("rgb");
}function f(t){for(var e=t[0].replace(g,""),n=1;n<t.length;++n)m(e===t[n].replace(g,""),"invalid pattern "+t[0]+" and "+t[n])}function p(t,e){var n=void 0;for(n=1;n<e.length-1&&!(e[n]>=t);++n);return n-1}function d(t){m(t.length>=2,"inputRange must have at least 2 elements");for(var e=1;e<t.length;++e)m(t[e]>=t[e-1],"inputRange must be monotonically increasing "+t)}function h(t,e){m(e.length>=2,t+" must have at least 2 elements"),m(2!==e.length||e[0]!==-(1/0)||e[1]!==1/0,t+"cannot be ]-infinity;+infinity[ "+e)}var _=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},y=(n(6),n(8)),m=(n(5),n(3)),v=n(19),E=function(t){return t},g=/[0-9\.-]+/g,b=function(t){function e(n,r){o(this,e);var s=i(this,t.call(this));return s._parent=n,s._config=r,s._interpolation=a(r),s}return r(e,t),e.prototype.__makeNative=function(){this._parent.__makeNative(),t.prototype.__makeNative.call(this)},e.prototype.__getValue=function(){var t=this._parent.__getValue();return m("number"==typeof t,"Cannot interpolate an input which is not a number."),this._interpolation(t)},e.prototype.interpolate=function(t){return new e(this,t)},e.prototype.__attach=function(){this._parent.__addChild(this)},e.prototype.__detach=function(){this._parent.__removeChild(this),t.prototype.__detach.call(this)},e.prototype.__transformDataType=function(t){return t.map(function(t){if("string"!=typeof t)return t;if(/deg$/.test(t)){var e=parseFloat(t)||0,n=e*Math.PI/180;return n}return parseFloat(t)||0})},e.prototype.__getNativeConfig=function(){return{inputRange:this._config.inputRange,outputRange:this.__transformDataType(this._config.outputRange),extrapolateLeft:this._config.extrapolateLeft||this._config.extrapolate||"extend",extrapolateRight:this._config.extrapolateRight||this._config.extrapolate||"extend",type:"interpolation"}},e}(y);b.__createInterpolation=a,t.exports=b},145:function(t,e,n){"use strict";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(12),s=(n(6),n(8)),l=function(t){function e(n,r){o(this,e);var a=i(this,t.call(this));return a._a=n,a._modulus=r,a}return r(e,t),e.prototype.__makeNative=function(){this._a.__makeNative(),t.prototype.__makeNative.call(this)},e.prototype.__getValue=function(){return(this._a.__getValue()%this._modulus+this._modulus)%this._modulus},e.prototype.interpolate=function(t){return new a(this,t)},e.prototype.__attach=function(){this._a.__addChild(this)},e.prototype.__detach=function(){this._a.__removeChild(this),t.prototype.__detach.call(this)},e.prototype.__getNativeConfig=function(){return{type:"modulus",input:this._a.__getNativeTag(),modulus:this._modulus}},e}(s);t.exports=l},146:function(t,e,n){"use strict";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(12),s=(n(6),n(9)),l=n(8),u=function(t){function e(n,r){o(this,e);var a=i(this,t.call(this));return a._a="number"==typeof n?new s(n):n,a._b="number"==typeof r?new s(r):r,a}return r(e,t),e.prototype.__makeNative=function(){this._a.__makeNative(),this._b.__makeNative(),t.prototype.__makeNative.call(this)},e.prototype.__getValue=function(){return this._a.__getValue()*this._b.__getValue()},e.prototype.interpolate=function(t){return new a(this,t)},e.prototype.__attach=function(){this._a.__addChild(this),this._b.__addChild(this)},e.prototype.__detach=function(){this._a.__removeChild(this),this._b.__removeChild(this),t.prototype.__detach.call(this)},e.prototype.__getNativeConfig=function(){return{type:"multiplication",input:[this._a.__getNativeTag(),this._b.__getNativeTag()]}},e}(l);t.exports=u},6:function(t,e,n){"use strict";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var i=n(5),r=n(3),a=function(){function t(){o(this,t)}return t.prototype.__attach=function(){},t.prototype.__detach=function(){this.__isNative&&null!=this.__nativeTag&&(i.API.dropAnimatedNode(this.__nativeTag),this.__nativeTag=void 0)},t.prototype.__getValue=function(){},t.prototype.__getAnimatedValue=function(){return this.__getValue()},t.prototype.__addChild=function(t){},t.prototype.__removeChild=function(t){},t.prototype.__getChildren=function(){return[]},t.prototype.__makeNative=function(){if(!this.__isNative)throw new Error('This node cannot be made a "native" animated node')},t.prototype.__getNativeTag=function(){if(i.assertNativeAnimatedModule(),r(this.__isNative,'Attempt to get native tag from node not marked as "native"'),null==this.__nativeTag){var t=i.generateNewNodeTag();i.API.createAnimatedNode(t,this.__getNativeConfig()),this.__nativeTag=t}return this.__nativeTag},t.prototype.__getNativeConfig=function(){throw new Error("This JS animated node type cannot be used as native animated node")},t.prototype.toJSON=function(){return this.__getValue()},t}();t.exports=a},68:function(t,e,n){"use strict";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},s=n(29),l=s.AnimatedEvent,u=n(6),c=n(147),f=n(5),p=n(11).default,d=n(3),h=function(t){function e(n,r){o(this,e);var s=i(this,t.call(this));return n.style&&(n=a({},n,{style:new c(n.style)})),s._props=n,s._callback=r,s.__attach(),s}return r(e,t),e.prototype.__getValue=function(){var t={};for(var e in this._props){var n=this._props[e];n instanceof u?(!n.__isNative||n instanceof c)&&(t[e]=n.__getValue()):n instanceof l?t[e]=n.__getHandler():t[e]=n}return t},e.prototype.__getAnimatedValue=function(){var t={};for(var e in this._props){var n=this._props[e];n instanceof u&&(t[e]=n.__getAnimatedValue())}return t},e.prototype.__attach=function(){for(var t in this._props){var e=this._props[t];e instanceof u&&e.__addChild(this)}},e.prototype.__detach=function(){this.__isNative&&this._animatedView&&this.__disconnectAnimatedView();for(var e in this._props){var n=this._props[e];n instanceof u&&n.__removeChild(this)}t.prototype.__detach.call(this)},e.prototype.update=function(){this._callback()},e.prototype.__makeNative=function(){if(!this.__isNative){this.__isNative=!0;for(var t in this._props){var e=this._props[t];e instanceof u&&e.__makeNative()}this._animatedView&&this.__connectAnimatedView()}},e.prototype.setNativeView=function(t){this._animatedView!==t&&(this._animatedView=t,this.__isNative&&this.__connectAnimatedView())},e.prototype.__connectAnimatedView=function(){d(this.__isNative,'Expected node to be marked as "native"');var t=p(this._animatedView);d(null!=t,"Unable to locate attached view in the native tree"),f.API.connectAnimatedNodeToView(this.__getNativeTag(),t)},e.prototype.__disconnectAnimatedView=function(){d(this.__isNative,'Expected node to be marked as "native"');var t=p(this._animatedView);d(null!=t,"Unable to locate attached view in the native tree"),f.API.disconnectAnimatedNodeFromView(this.__getNativeTag(),t)},e.prototype.__getNativeConfig=function(){var t={};for(var e in this._props){var n=this._props[e];n instanceof u&&(t[e]=n.__getNativeTag())}return{type:"props",props:t}},e}(u);t.exports=h},147:function(t,e,n){"use strict";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},s=n(6),l=n(149),u=n(8),c=n(5),f=n(4).default,p=f.flatten,d=function(t){function e(n){o(this,e);var r=i(this,t.call(this));return n=p(n)||{},n.transform&&(n=a({},n,{transform:new l(n.transform)})),r._style=n,r}return r(e,t),e.prototype._walkStyleAndGetValues=function(t){var e={};for(var n in t){var o=t[n];o instanceof s?o.__isNative||(e[n]=o.__getValue()):o&&!Array.isArray(o)&&"object"==typeof o?e[n]=this._walkStyleAndGetValues(o):e[n]=o}return e},e.prototype.__getValue=function(){return this._walkStyleAndGetValues(this._style)},e.prototype._walkStyleAndGetAnimatedValues=function(t){var e={};for(var n in t){var o=t[n];o instanceof s?e[n]=o.__getAnimatedValue():o&&!Array.isArray(o)&&"object"==typeof o&&(e[n]=this._walkStyleAndGetAnimatedValues(o))}return e},e.prototype.__getAnimatedValue=function(){return this._walkStyleAndGetAnimatedValues(this._style)},e.prototype.__attach=function(){for(var t in this._style){var e=this._style[t];e instanceof s&&e.__addChild(this)}},e.prototype.__detach=function(){for(var e in this._style){var n=this._style[e];n instanceof s&&n.__removeChild(this)}t.prototype.__detach.call(this)},e.prototype.__makeNative=function(){t.prototype.__makeNative.call(this);for(var e in this._style){var n=this._style[e];n instanceof s&&n.__makeNative()}},e.prototype.__getNativeConfig=function(){var t={};for(var e in this._style)this._style[e]instanceof s&&(t[e]=this._style[e].__getNativeTag());return c.validateStyles(t),{type:"style",style:t}},e}(u);t.exports=d},148:function(t,e,n){"use strict";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},s=(n(9),n(6)),l=function(t){function e(n,r,a,s,l){o(this,e);var u=i(this,t.call(this));return u._value=n,u._parent=r,u._animationClass=a,u._animationConfig=s,u._callback=l,u.__attach(),u}return r(e,t),e.prototype.__getValue=function(){return this._parent.__getValue()},e.prototype.__attach=function(){this._parent.__addChild(this)},e.prototype.__detach=function(){this._parent.__removeChild(this),t.prototype.__detach.call(this)},e.prototype.update=function(){this._value.animate(new this._animationClass(a({},this._animationConfig,{toValue:this._animationConfig.toValue.__getValue()})),this._callback)},e}(s);t.exports=l},149:function(t,e,n){"use strict";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(6),s=n(8),l=n(5),u=function(t){function e(n){o(this,e);var r=i(this,t.call(this));return r._transforms=n,r}return r(e,t),e.prototype.__makeNative=function(){t.prototype.__makeNative.call(this),this._transforms.forEach(function(t){for(var e in t){var n=t[e];n instanceof a&&n.__makeNative()}})},e.prototype.__getValue=function(){return this._transforms.map(function(t){var e={};for(var n in t){var o=t[n];o instanceof a?e[n]=o.__getValue():e[n]=o}return e})},e.prototype.__getAnimatedValue=function(){return this._transforms.map(function(t){var e={};for(var n in t){var o=t[n];o instanceof a?e[n]=o.__getAnimatedValue():e[n]=o}return e})},e.prototype.__attach=function(){var t=this;this._transforms.forEach(function(e){for(var n in e){var o=e[n];o instanceof a&&o.__addChild(t)}})},e.prototype.__detach=function(){var e=this;this._transforms.forEach(function(t){for(var n in t){var o=t[n];o instanceof a&&o.__removeChild(e)}}),t.prototype.__detach.call(this)},e.prototype.__getNativeConfig=function(){var t=[];return this._transforms.forEach(function(e){for(var n in e){var o=e[n];o instanceof a?t.push({type:"animated",property:n,nodeTag:o.__getNativeTag()}):t.push({type:"static",property:n,value:o})}}),l.validateTransform(t),{type:"transform",transforms:t}},e}(s);t.exports=u},9:function(t,e,n){"use strict";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t){function e(t){"function"==typeof t.update?n.add(t):t.__getChildren().forEach(e)}var n=new Set;e(t),n.forEach(function(t){return t.update()})}var s=n(12),l=(n(6),n(8)),u=n(101).default,c=n(5),f=c.API,p=1,d=function(t){function e(n){o(this,e);var r=i(this,t.call(this));return r._startingValue=r._value=n,r._offset=0,r._animation=null,r._listeners={},r}return r(e,t),e.prototype.__detach=function(){this.stopAnimation(),t.prototype.__detach.call(this)},e.prototype.__getValue=function(){return this._value+this._offset},e.prototype.__makeNative=function(){t.prototype.__makeNative.call(this),Object.keys(this._listeners).length&&this._startListeningToNativeValueUpdates()},e.prototype.setValue=function(t){this._animation&&(this._animation.stop(),this._animation=null),this._updateValue(t,!this.__isNative),this.__isNative&&f.setAnimatedNodeValue(this.__getNativeTag(),t)},e.prototype.setOffset=function(t){this._offset=t,this.__isNative&&f.setAnimatedNodeOffset(this.__getNativeTag(),t)},e.prototype.flattenOffset=function(){this._value+=this._offset,this._offset=0,this.__isNative&&f.flattenAnimatedNodeOffset(this.__getNativeTag())},e.prototype.extractOffset=function(){this._offset+=this._value,this._value=0,this.__isNative&&f.extractAnimatedNodeOffset(this.__getNativeTag())},e.prototype.addListener=function(t){var e=String(p++);return this._listeners[e]=t,this.__isNative&&this._startListeningToNativeValueUpdates(),e},e.prototype.removeListener=function(t){delete this._listeners[t],this.__isNative&&0===Object.keys(this._listeners).length&&this._stopListeningForNativeValueUpdates()},e.prototype.removeAllListeners=function(){this._listeners={},this.__isNative&&this._stopListeningForNativeValueUpdates()},e.prototype._startListeningToNativeValueUpdates=function(){var t=this;this.__nativeAnimatedValueListener||(f.startListeningToAnimatedNodeValue(this.__getNativeTag()),this.__nativeAnimatedValueListener=c.nativeEventEmitter.addListener("onAnimatedValueUpdate",function(e){e.tag===t.__getNativeTag()&&t._updateValue(e.value,!1)}))},e.prototype._stopListeningForNativeValueUpdates=function(){this.__nativeAnimatedValueListener&&(this.__nativeAnimatedValueListener.remove(),this.__nativeAnimatedValueListener=null,f.stopListeningToAnimatedNodeValue(this.__getNativeTag()))},e.prototype.stopAnimation=function(t){this.stopTracking(),this._animation&&this._animation.stop(),this._animation=null,t&&t(this.__getValue())},e.prototype.resetAnimation=function(t){this.stopAnimation(t),this._value=this._startingValue},e.prototype.interpolate=function(t){return new s(this,t)},e.prototype.animate=function(t,e){var n=this,o=null;t.__isInteraction&&(o=u.createInteractionHandle());var i=this._animation;this._animation&&this._animation.stop(),this._animation=t,t.start(this._value,function(t){n._updateValue(t,!0)},function(t){n._animation=null,null!==o&&u.clearInteractionHandle(o),e&&e(t)},i,this)},e.prototype.stopTracking=function(){this._tracking&&this._tracking.__detach(),this._tracking=null},e.prototype.track=function(t){this.stopTracking(),this._tracking=t},e.prototype._updateValue=function(t,e){this._value=t,e&&a(this);for(var n in this._listeners)this._listeners[n]({value:this.__getValue()})},e.prototype.__getNativeConfig=function(){return{type:"value",value:this._value,offset:this._offset}},e}(l);t.exports=d},31:function(t,e,n){"use strict";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(9),s=n(8),l=n(3),u=1,c=function(t){function e(n){o(this,e);var r=i(this,t.call(this)),s=n||{x:0,y:0};return"number"==typeof s.x&&"number"==typeof s.y?(r.x=new a(s.x),r.y=new a(s.y)):(l(s.x instanceof a&&s.y instanceof a,"AnimatedValueXY must be initalized with an object of numbers or AnimatedValues."),r.x=s.x,r.y=s.y),r._listeners={},r}return r(e,t),e.prototype.setValue=function(t){this.x.setValue(t.x),this.y.setValue(t.y)},e.prototype.setOffset=function(t){this.x.setOffset(t.x),this.y.setOffset(t.y)},e.prototype.flattenOffset=function(){this.x.flattenOffset(),this.y.flattenOffset()},e.prototype.extractOffset=function(){this.x.extractOffset(),this.y.extractOffset()},e.prototype.__getValue=function(){return{x:this.x.__getValue(),y:this.y.__getValue()}},e.prototype.resetAnimation=function(t){this.x.resetAnimation(),this.y.resetAnimation(),t&&t(this.__getValue())},e.prototype.stopAnimation=function(t){this.x.stopAnimation(),this.y.stopAnimation(),t&&t(this.__getValue())},e.prototype.addListener=function(t){var e=this,n=String(u++),o=function(n){n.value;t(e.__getValue())};return this._listeners[n]={x:this.x.addListener(o),y:this.y.addListener(o)},n},e.prototype.removeListener=function(t){this.x.removeListener(this._listeners[t].x),this.y.removeListener(this._listeners[t].y),delete this._listeners[t]},e.prototype.removeAllListeners=function(){this.x.removeAllListeners(),this.y.removeAllListeners(),this._listeners={}},e.prototype.getLayout=function(){return{left:this.x,top:this.y}},e.prototype.getTranslateTransform=function(){return[{translateX:this.x},{translateY:this.y}]},e}(s);t.exports=c},8:function(t,e,n){"use strict";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(6),s=n(5),l=function(t){function e(){o(this,e);var n=i(this,t.call(this));return n._children=[],n}return r(e,t),e.prototype.__makeNative=function(){if(!this.__isNative){this.__isNative=!0;for(var t=this._children,e=Array.isArray(t),n=0,t=e?t:t[Symbol.iterator]();;){var o;if(e){if(n>=t.length)break;o=t[n++]}else{if(n=t.next(),n.done)break;o=n.value}var i=o;i.__makeNative(),s.API.connectAnimatedNodes(this.__getNativeTag(),i.__getNativeTag())}}},e.prototype.__addChild=function(t){0===this._children.length&&this.__attach(),this._children.push(t),this.__isNative&&(t.__makeNative(),s.API.connectAnimatedNodes(this.__getNativeTag(),t.__getNativeTag()))},e.prototype.__removeChild=function(t){var e=this._children.indexOf(t);return e===-1?void console.warn("Trying to remove a child that doesn't exist"):(this.__isNative&&t.__isNative&&s.API.disconnectAnimatedNodes(this.__getNativeTag(),t.__getNativeTag()),this._children.splice(e,1),void(0===this._children.length&&this.__detach()))},e.prototype.__getChildren=function(){return this._children},e}(a);t.exports=l},69:function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var i=n(3),r=(o(i),function(t,e){var n=this;if(n.instancePool.length){var o=n.instancePool.pop();return n.call(o,t,e),o}return new n(t,e)}),a=function(t){var e=this;t.destructor(),e.instancePool.length<e.poolSize&&e.instancePool.push(t)},s=10,l=r,u=function(t,e){var n=t;return n.instancePool=[],n.getPooled=e||l,n.poolSize||(n.poolSize=s),n.release=a,n},c={addPoolingTo:u,twoArgumentPooler:r};e.default=c}});
//# sourceMappingURL=component---src-layouts-index-js-501b89809637b5c43e0c.js.map