__DEV__=!1,__BUNDLE_START_TIME__=Date.now(),function(e){function t(e){for(var t,n,r,o,i=Array.prototype.slice.call(e),a={};i.length;)if(n=i.shift(),!a[n]&&(a[n]=!0,r=d[n],r&&r.waiting))for(t=0;t<r.dependencies.length;t++)o=r.dependencies[t],(!d[o]||d[o].waiting)&&i.push(o);for(n in a)_.call(a,n)&&i.push(n);var s=[];for(t=0;t<i.length;t++){n=i[t];var u=n;if(r=d[n])if(r.waiting){for(var c=[],l=0;l<r.dependencies.length;l++)o=r.dependencies[l],(!d[o]||d[o].waiting)&&c.push(o);u+=" is waiting for "+c.join(", ")}else u+=" is ready";else u+=" is not defined";s.push(u)}return s.join("\n")}function n(e){this.name="ModuleError",this.message=e,this.stack=Error(e).stack,this.framesToPop=2}function r(o){var i,a,s,u=d[o];if(u&&u.exports)return 1===u.refcount--&&delete d[o],u.exports;if(e.ErrorUtils&&!T){T=!0;try{var c=r.apply(this,arguments)}catch(l){e.ErrorUtils.reportFatalError(l)}return T=!1,c}if(!u)throw s='Requiring unknown module "'+o+'"',p&&(s+=". If you are sure the module is there, try restarting the packager."),new n(s);if(u.hasError)throw new n('Requiring module "'+o+'" which threw an exception');if(u.waiting)throw new n('Requiring module "'+o+'" with unresolved dependencies: '+t([o]));var h=u.exports={},m=u.factory;if("[object Function]"===f.call(m)){var c,v=[],g=u.dependencies,_=g.length;u.special&y&&(_=Math.min(_,m.length));try{for(a=0;v.length<_;a++)i=g[a],u.inlineRequires[i]||v.push("module"===i?u:"exports"===i?h:r.call(null,i));++x,0===R++&&(E-=S());try{c=m.apply(u.context||e,v)}catch(l){if(d.ex&&d.erx){var b=r.call(null,"ex"),w=r.call(null,"erx"),C=w(l.message);C[0].indexOf(' from module "%s"')<0&&(C[0]+=' from module "%s"',C[C.length]=o),l.message=b.apply(null,C)}throw l}finally{0===--R&&(E+=S())}}catch(l){throw u.hasError=!0,u.exports=null,l}if(c){if(p&&"object"!=typeof c&&"function"!=typeof c)throw new n('Factory for module "'+o+'" returned an invalid value "'+c+'". Returned value should be either a function or an object.');u.exports=c}}else u.exports=m;return 1===u.refcount--&&delete d[o],u.exports}function o(e,t,r,o,a,u,l){void 0===t?(t=[],r=e,e=s()):void 0===r&&(r=t,"[object Array]"===f.call(e)?(t=e,e=s()):t=[]);var h={cancel:i.bind(this,e)},v=d[e];if(v)return u&&(v.refcount+=u),h;if(!t&&!r&&u)return m[e]=(m[e]||0)+u,h;if(v={id:e},v.refcount=(m[e]||0)+(u||0),delete m[e],p){if(!r||"object"!=typeof r&&"function"!=typeof r&&"string"!=typeof r)throw new n('Invalid factory "'+r+'" for module "'+e+'". Factory should be either a function or an object.');if("[object Array]"!==f.call(t))throw new n('Invalid dependencies for module "'+e+'". Dependencies must be passed as an array.')}return v.factory=r,v.dependencies=t,v.context=a,v.special=o,v.inlineRequires=l||{},v.waitingMap={},v.waiting=0,v.hasError=!1,d[e]=v,c(e),h}function i(e){if(d[e]){var t=d[e];delete d[e];for(var n in t.waitingMap)t.waitingMap[n]&&delete h[n][e];for(var r=0;r<t.dependencies.length;r++)n=t.dependencies[r],d[n]?1===d[n].refcount--&&i(n):m[n]&&m[n]--}}function a(e,t,n){return o(e,t,void 0,g,n,1)}function s(){return"__mod__"+v++}function u(e,t){e.waitingMap[t]||e.id===t||(e.waiting++,e.waitingMap[t]=1,h[t]||(h[t]={}),h[t][e.id]=1)}function c(e){var t,n,o,i=[],a=d[e];for(n=0;n<a.dependencies.length;n++)if(t=a.dependencies[n],d[t]){if(d[t].waiting)for(o in d[t].waitingMap)d[t].waitingMap[o]&&u(a,o)}else u(a,t);if(0===a.waiting&&a.special&g&&i.push(e),h[e]){var s,c=h[e];h[e]=void 0;for(t in c){s=d[t];for(o in a.waitingMap)a.waitingMap[o]&&u(s,o);s.waitingMap[e]&&(s.waitingMap[e]=void 0,s.waiting--),0===s.waiting&&s.special&g&&i.push(t)}}for(n=0;n<i.length;n++)r.call(null,i[n])}function l(e,t){var n=d[e]={id:e};n.exports=t,n.refcount=0}if(!e.require){var p=e.__DEV__,f=Object.prototype.toString,d={},h={},m={},v=0,g=1,y=2,_=Object.prototype.hasOwnProperty;n.prototype=Object.create(Error.prototype),n.prototype.constructor=n;var b=e.performance||e.msPerformance||e.webkitPerformance||{};b.now||(b=e.Date);var S=b?b.now.bind(b):function(){return 0},R=0,E=0,x=0,T=!1;r.__getFactoryTime=function(){return(R?S():0)+E},r.__getTotalFactories=function(){return x},l("module",0),l("exports",0),l("global",e),l("require",r),l("requireDynamic",r),l("requireLazy",a),e.require=r,e.requireDynamic=r,e.requireLazy=a,r.__debug={modules:d,deps:h,printDependencyInfo:function(){if(e.console){var n=Object.keys(r.__debug.deps);e.console.log(t(n))}}},e.__d=function(e,t,n,r,i){var a=["global","require","requireDynamic","requireLazy","module","exports"];o(e,a.concat(t),n,r||y,null,null,i)}}}(this),Object.assign=function(e){if(__DEV__){if(null==e)throw new TypeError("Object.assign target cannot be null or undefined");if("object"!=typeof e&&"function"!=typeof e)throw new TypeError("In this environment the target of assign MUST be an object.This error is a performance optimization and not spec compliant.")}for(var t=1;t<arguments.length;t++){var n=arguments[t];if(null!=n){if(__DEV__&&"object"!=typeof n&&"function"!=typeof n)throw new TypeError("In this environment the target of assign MUST be an object.This error is a performance optimization and not spec compliant.");for(var r in n){if(__DEV__){var o=Object.prototype.hasOwnProperty;if(!o.call(n,r))throw new TypeError("One of the sources to assign has an enumerable key on the prototype chain. This is an edge case that we do not support. This error is a performance optimization and not spec compliant.")}e[r]=n[r]}}}return e},function(e){"use strict";function t(e){function t(t){return function(){var r=Array.prototype.map.call(arguments,function(e){return n(e,{depth:10})}).join(", ");e.nativeLoggingHook(r,t)}}function i(t){if(!Array.isArray(t)){var n=t;t=[];for(var i in n)if(n.hasOwnProperty(i)){var s=n[i];s[r]=i,t.push(s)}}if(0===t.length)return void e.nativeLoggingHook("",o.log);var u=Object.keys(t[0]).sort(),c=[],l=[];u.forEach(function(e,n){l[n]=e.length;for(var r=0;r<t.length;r++){var o=t[r][e].toString();c[r]=c[r]||[],c[r][n]=o,l[n]=Math.max(l[n],o.length)}});for(var p=function(e,t){var n=e.map(function(e,t){var n=a(" ",l[t]-e.length).join("");return e+n});return t=t||" ",n.join(t+"|"+t)},f=l.map(function(e){return a("-",e).join("")}),d=p(f,"-"),h=p(u),m=[h,d],v=0;v<t.length;v++)m.push(p(c[v]));e.nativeLoggingHook("\n"+m.join("\n"),o.log)}if(e.nativeLoggingHook){var a=function(e,t){return Array.apply(null,Array(t)).map(function(){return e})};e.console={error:t(o.error),info:t(o.info),log:t(o.log),warn:t(o.warn),trace:t(o.trace),table:i}}}var n=function(){function e(e,n){var o={seen:[],stylize:t};return r(o,e,n.depth)}function t(e){return e}function n(e){var t={};return e.forEach(function(e){t[e]=!0}),t}function r(e,t,r){var l=o(e,t);if(l)return l;var p=Object.keys(t),f=n(p);if(y(t)&&(p.indexOf("message")>=0||p.indexOf("description")>=0))return i(t);if(0===p.length){if(_(t)){var d=t.name?": "+t.name:"";return e.stylize("[Function"+d+"]","special")}if(m(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(g(t))return e.stylize(Date.prototype.toString.call(t),"date");if(y(t))return i(t)}var h="",v=!1,b=["{","}"];if(c(t)&&(v=!0,b=["[","]"]),_(t)){var S=t.name?": "+t.name:"";h=" [Function"+S+"]"}if(m(t)&&(h=" "+RegExp.prototype.toString.call(t)),g(t)&&(h=" "+Date.prototype.toUTCString.call(t)),y(t)&&(h=" "+i(t)),0===p.length&&(!v||0==t.length))return b[0]+h+b[1];if(0>r)return m(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special");e.seen.push(t);var R;return R=v?a(e,t,r,f,p):p.map(function(n){return s(e,t,r,f,n,v)}),e.seen.pop(),u(R,h,b)}function o(e,t){if(h(t))return e.stylize("undefined","undefined");if(d(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return f(t)?e.stylize(""+t,"number"):l(t)?e.stylize(""+t,"boolean"):p(t)?e.stylize("null","null"):void 0}function i(e){return"["+Error.prototype.toString.call(e)+"]"}function a(e,t,n,r,o){for(var i=[],a=0,u=t.length;u>a;++a)i.push(S(t,String(a))?s(e,t,n,r,String(a),!0):"");return o.forEach(function(o){o.match(/^\d+$/)||i.push(s(e,t,n,r,o,!0))}),i}function s(e,t,n,o,i,a){var s,u,c;if(c=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]},c.get?u=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(u=e.stylize("[Setter]","special")),S(o,i)||(s="["+i+"]"),u||(e.seen.indexOf(c.value)<0?(u=p(n)?r(e,c.value,null):r(e,c.value,n-1),u.indexOf("\n")>-1&&(u=a?u.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+u.split("\n").map(function(e){return" "+e}).join("\n"))):u=e.stylize("[Circular]","special")),h(s)){if(a&&i.match(/^\d+$/))return u;s=JSON.stringify(""+i),s.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+u}function u(e,t,n){var r=0,o=e.reduce(function(e,t){return r++,t.indexOf("\n")>=0&&r++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0);return o>60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}function c(e){return Array.isArray(e)}function l(e){return"boolean"==typeof e}function p(e){return null===e}function f(e){return"number"==typeof e}function d(e){return"string"==typeof e}function h(e){return void 0===e}function m(e){return v(e)&&"[object RegExp]"===b(e)}function v(e){return"object"==typeof e&&null!==e}function g(e){return v(e)&&"[object Date]"===b(e)}function y(e){return v(e)&&("[object Error]"===b(e)||e instanceof Error)}function _(e){return"function"==typeof e}function b(e){return Object.prototype.toString.call(e)}function S(e,t){return Object.prototype.hasOwnProperty.call(e,t)}return e}(),r="(index)",o={trace:0,log:1,info:2,warn:3,error:4};"undefined"!=typeof module?module.exports=t:t(e)}(this),function(e){function t(){var t=function(t){e.console.error("Error: \n stack: "+t.stack+"\n line: "+t.line+"\n message: "+t.message,t)};e.ErrorUtils.setGlobalHandler(t)}var n={_inGuard:0,_globalHandler:null,setGlobalHandler:function(e){n._globalHandler=e},reportError:function(e){n._globalHandler&&n._globalHandler(e)},reportFatalError:function(e){n._globalHandler&&n._globalHandler(e,!0)},applyWithGuard:function(e,t,r){try{return n._inGuard++,e.apply(t,r)}catch(o){n.reportError(o)}finally{n._inGuard--}},applyWithGuardIfNeeded:function(e,t,r){return n.inGuard()?e.apply(t,r):void n.applyWithGuard(e,t,r)},inGuard:function(){return n._inGuard},guard:function(e,t,r){function o(){return n.applyWithGuard(e,r||this,arguments,null,t)}return"function"!=typeof e?(console.warn("A function must be passed to ErrorUtils.guard, got ",e),null):(t=t||e.name||"<generated guard>",o)}};e.ErrorUtils=n,t()}(this),String.prototype.startsWith||(String.prototype.startsWith=function(e){"use strict";if(null==this)throw TypeError();var t=String(this),n=arguments.length>1?Number(arguments[1])||0:0,r=Math.min(Math.max(n,0),t.length);return t.indexOf(String(e),n)===r}),String.prototype.endsWith||(String.prototype.endsWith=function(e){"use strict";if(null==this)throw TypeError();var t=String(this),n=t.length,r=String(e),o=arguments.length>1?Number(arguments[1])||0:n,i=Math.min(Math.max(o,0),n),a=i-r.length;return 0>a?!1:t.lastIndexOf(r,a)===a}),String.prototype.contains||(String.prototype.contains=function(e){"use strict";if(null==this)throw TypeError();var t=String(this),n=arguments.length>1?Number(arguments[1])||0:0;return-1!==t.indexOf(String(e),n)}),String.prototype.repeat||(String.prototype.repeat=function(e){"use strict";if(null==this)throw TypeError();var t=String(this);if(e=Number(e)||0,0>e||1/0===e)throw RangeError();if(1===e)return t;for(var n="";e;)1&e&&(n+=t),(e>>=1)&&(t+=t);return n}),function(e){function t(e,t){if(null==this)throw new TypeError("Array.prototype.findIndex called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var n=Object(this),r=n.length>>>0,o=0;r>o;o++)if(e.call(t,n[o],o,n))return o;return-1}Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{enumerable:!1,writable:!0,configurable:!0,value:t}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{enumerable:!1,writable:!0,configurable:!0,value:function(n,r){if(null==this)throw new TypeError("Array.prototype.find called on null or undefined");var o=t.call(this,n,r);return-1===o?e:this[o]}})}(),__d("AdvancedEffects/index.ios.js",["react-native/Libraries/react-native/react-native.js","AdvancedEffects/src/index.js"],function(e,t){var n=t("react-native/Libraries/react-native/react-native.js");const r=n.AppRegistry,o=t("AdvancedEffects/src/index.js");r.registerComponent("AdvancedEffects",function(){return o})}),__d("react-native/Libraries/react-native/react-native.js",["React","ActivityIndicatorIOS","DatePickerIOS","Image","ListView","MapView","Modal","Navigator","NavigatorIOS","PickerIOS","ProgressViewIOS","ScrollView","SegmentedControlIOS","SliderIOS","SwitchIOS","TabBarIOS","Text","TextInput","TouchableHighlight","TouchableOpacity","TouchableWithoutFeedback","View","WebView","ActionSheetIOS","AdSupportIOS","AlertIOS","Animated","AppRegistry","AppStateIOS","AsyncStorage","CameraRoll","Dimensions","Easing","ImagePickerIOS","InteractionManager","LayoutAnimation","LinkingIOS","NetInfo","PanResponder","PixelRatio","PushNotificationIOS","Settings","StatusBarIOS","StyleSheet","VibrationIOS","RCTDeviceEventEmitter","RCTNativeAppEventEmitter","NativeModules","Platform","requireNativeComponent","EdgeInsetsPropType","PointPropType","LinkedStateMixin","ReactComponentWithPureRenderMixin","NativeModules","ReactUpdates","cloneWithProps","ReactFragment","update","ReactDefaultPerf","ReactTestUtils"],function(e,t,n,r,o){"use strict";var i=Object.assign(Object.create(t("React")),{ActivityIndicatorIOS:t("ActivityIndicatorIOS"),DatePickerIOS:t("DatePickerIOS"),Image:t("Image"),ListView:t("ListView"),MapView:t("MapView"),Modal:t("Modal"),Navigator:t("Navigator"),NavigatorIOS:t("NavigatorIOS"),PickerIOS:t("PickerIOS"),ProgressViewIOS:t("ProgressViewIOS"),ScrollView:t("ScrollView"),SegmentedControlIOS:t("SegmentedControlIOS"),SliderIOS:t("SliderIOS"),SwitchIOS:t("SwitchIOS"),TabBarIOS:t("TabBarIOS"),Text:t("Text"),TextInput:t("TextInput"),TouchableHighlight:t("TouchableHighlight"),TouchableOpacity:t("TouchableOpacity"),TouchableWithoutFeedback:t("TouchableWithoutFeedback"),View:t("View"),WebView:t("WebView"),ActionSheetIOS:t("ActionSheetIOS"),AdSupportIOS:t("AdSupportIOS"),AlertIOS:t("AlertIOS"),Animated:t("Animated"),AppRegistry:t("AppRegistry"),AppStateIOS:t("AppStateIOS"),AsyncStorage:t("AsyncStorage"),CameraRoll:t("CameraRoll"),Dimensions:t("Dimensions"),Easing:t("Easing"),ImagePickerIOS:t("ImagePickerIOS"),InteractionManager:t("InteractionManager"),LayoutAnimation:t("LayoutAnimation"),LinkingIOS:t("LinkingIOS"),NetInfo:t("NetInfo"),PanResponder:t("PanResponder"),PixelRatio:t("PixelRatio"),PushNotificationIOS:t("PushNotificationIOS"),Settings:t("Settings"),StatusBarIOS:t("StatusBarIOS"),StyleSheet:t("StyleSheet"),VibrationIOS:t("VibrationIOS"),DeviceEventEmitter:t("RCTDeviceEventEmitter"),NativeAppEventEmitter:t("RCTNativeAppEventEmitter"),NativeModules:t("NativeModules"),Platform:t("Platform"),requireNativeComponent:t("requireNativeComponent"),EdgeInsetsPropType:t("EdgeInsetsPropType"),PointPropType:t("PointPropType"),addons:{LinkedStateMixin:t("LinkedStateMixin"),Perf:void 0,PureRenderMixin:t("ReactComponentWithPureRenderMixin"),TestModule:t("NativeModules").TestModule,TestUtils:void 0,batchedUpdates:t("ReactUpdates").batchedUpdates,cloneWithProps:t("cloneWithProps"),createFragment:t("ReactFragment").create,update:t("update")}});__DEV__&&(i.addons.Perf=t("ReactDefaultPerf"),i.addons.TestUtils=t("ReactTestUtils")),o.exports=i}),__d("React",["ReactNative"],function(e,t,n,r,o){"use strict";o.exports=t("ReactNative")}),__d("ReactNative",["ReactChildren","ReactClass","ReactComponent","ReactCurrentOwner","ReactElement","ReactElementValidator","ReactInstanceHandles","ReactNativeDefaultInjection","ReactNativeMount","ReactPropTypes","deprecated","findNodeHandle","invariant","onlyChild","warning","ReactReconciler","ReactNativeTextComponent"],function(e,t,n,r,o){"use strict";var i=t("ReactChildren"),a=t("ReactClass"),s=t("ReactComponent"),u=t("ReactCurrentOwner"),c=t("ReactElement"),l=t("ReactElementValidator"),p=t("ReactInstanceHandles"),f=t("ReactNativeDefaultInjection"),d=t("ReactNativeMount"),h=t("ReactPropTypes"),m=(t("deprecated"),t("findNodeHandle")),v=t("invariant"),g=t("onlyChild"),y=t("warning");f.inject();var _=c.createElement,b=c.createFactory,S=c.cloneElement;__DEV__&&(_=l.createElement,b=l.createFactory,S=l.cloneElement);var R=function(e){var t=e.type.defaultProps,n=e.props;for(var r in t)void 0===n[r]&&(n[r]=t[r])},E=function(e){return __DEV__&&v(!1,"This optimized path should never be used in DEV mode because it does not provide validation. Check your JSX transform."),e._owner=u.current,e.type.defaultProps&&R(e),e},x=function(e,t,n){return d.renderComponent(e,t,n)},T={hasReactNativeInitialized:!1,Children:{map:i.map,forEach:i.forEach,count:i.count,only:g},Component:s,PropTypes:h,createClass:a.createClass,createElement:_,createFactory:b,cloneElement:S,_augmentElement:E,findNodeHandle:m,render:x,unmountComponentAtNode:d.unmountComponentAtNode,__spread:Object.assign,unmountComponentAtNodeAndRemoveContainer:d.unmountComponentAtNodeAndRemoveContainer,isValidClass:c.isValidFactory,isValidElement:c.isValidElement,renderComponent:function(e,t,n){return y("Use React.render instead of React.renderComponent"),T.render(e,t,n)}};"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject&&__REACT_DEVTOOLS_GLOBAL_HOOK__.inject({CurrentOwner:u,InstanceHandles:p,Mount:d,Reconciler:t("ReactReconciler"),TextComponent:t("ReactNativeTextComponent")}),o.exports=T}),__d("ReactChildren",["PooledClass","ReactFragment","traverseAllChildren","warning"],function(e,t,n,r,o){"use strict";function i(e,t){this.func=e,this.context=t,this.count=0}function a(e,t){var n=e;n.func.call(n.context,t,n.count++)}function s(e,t,n){if(null==e)return e;var r=i.getPooled(t,n);m(e,a,r),i.release(r)}function u(e,t,n){this.result=e,this.func=t,this.context=n,this.count=0}function c(e,t,n){var r=e,o=r.result,i=void 0===o[n];if(__DEV__&&v(i,"ReactChildren.map(...): Encountered two children with the same key, `%s`. Child keys must be unique; when two children share a key, only the first child will be used.",n),i){var a=r.func.call(r.context,t,r.count++);o[n]=a}}function l(e,t,n){if(null==e)return e;var r={},o=u.getPooled(r,t,n);return m(e,c,o),u.release(o),h.create(r)}function p(){return null}function f(e){return m(e,p,null)}var d=t("PooledClass"),h=t("ReactFragment"),m=t("traverseAllChildren"),v=t("warning"),g=d.twoArgumentPooler,y=d.threeArgumentPooler;d.addPoolingTo(i,g),d.addPoolingTo(u,y);var _={forEach:s,map:l,count:f};o.exports=_}),__d("PooledClass",["invariant"],function(e,t,n,r,o){"use strict";var i=t("invariant"),a=function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)},s=function(e,t){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,e,t),r}return new n(e,t)},u=function(e,t,n){var r=this;if(r.instancePool.length){var o=r.instancePool.pop();return r.call(o,e,t,n),o}return new r(e,t,n)},c=function(e,t,n,r){var o=this;if(o.instancePool.length){var i=o.instancePool.pop();return o.call(i,e,t,n,r),i}return new o(e,t,n,r)},l=function(e,t,n,r,o){var i=this;if(i.instancePool.length){var a=i.instancePool.pop();return i.call(a,e,t,n,r,o),a}return new i(e,t,n,r,o)},p=function(e){var t=this;i(e instanceof t,"Trying to release an instance into a pool of a different type."),e.destructor&&e.destructor(),t.instancePool.length<t.poolSize&&t.instancePool.push(e)},f=10,d=a,h=function(e,t){var n=e;return n.instancePool=[],n.getPooled=t||d,n.poolSize||(n.poolSize=f),n.release=p,n},m={addPoolingTo:h,oneArgumentPooler:a,twoArgumentPooler:s,threeArgumentPooler:u,fourArgumentPooler:c,fiveArgumentPooler:l};o.exports=m}),__d("invariant",[],function(e,t,n,r,o){"use strict";var i=function(e,t,n,r,o,i,a,s){if(__DEV__&&void 0===t)throw new Error("invariant requires an error message argument");if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],l=0;u=new Error("Invariant Violation: "+t.replace(/%s/g,function(){return c[l++]}))}throw u.framesToPop=1,u}};o.exports=i}),__d("ReactFragment",["ReactElement","warning"],function(e,t,n,r,o){"use strict";var i,a,s,u=t("ReactElement"),c=t("warning");if(__DEV__){i="_reactFragment",a="_reactDidWarn";try{var l=function(){return 1};Object.defineProperty({},i,{enumerable:!1,value:!0}),Object.defineProperty({},"key",{enumerable:!0,get:l}),s=!0}catch(p){s=!1}var f=function(e,t){Object.defineProperty(e,t,{enumerable:!0,get:function(){return c(this[a],"A ReactFragment is an opaque type. Accessing any of its properties is deprecated. Pass it to one of the React.Children helpers."),this[a]=!0,this[i][t]},set:function(e){c(this[a],"A ReactFragment is an immutable opaque type. Mutating its properties is deprecated."),this[a]=!0,this[i][t]=e}})},d={},h=function(e){var t="";for(var n in e)t+=n+":"+typeof e[n]+",";var r=!!d[t];return d[t]=!0,r}}var m={create:function(e){if(__DEV__){if("object"!=typeof e||!e||Array.isArray(e))return c(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(u.isValidElement(e))return c(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;if(s){var t={};Object.defineProperty(t,i,{enumerable:!1,value:e}),Object.defineProperty(t,a,{writable:!0,enumerable:!1,value:!1});for(var n in e)f(t,n);return Object.preventExtensions(t),t}}return e},extract:function(e){return __DEV__&&s?e[i]?e[i]:(c(h(e),"Any use of a keyed object should be wrapped in React.addons.createFragment(object) before being passed as a child."),e):e},extractIfFragment:function(e){if(__DEV__&&s){if(e[i])return e[i];for(var t in e)if(e.hasOwnProperty(t)&&u.isValidElement(e[t]))return m.extract(e)}return e}};o.exports=m}),__d("ReactElement",["ReactCurrentOwner","Object.assign"],function(e,t,n,r,o){"use strict";var i=t("ReactCurrentOwner"),a=t("Object.assign"),s={key:!0,ref:!0},u=function(e,t,n,r,o){if(this.type=e,this.key=t,this.ref=n,this._owner=r,this.props=o,__DEV__){this._store={};try{Object.defineProperty(this._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1})}catch(i){this._store.validated=!1}Object.freeze(this.props),Object.freeze(this)}};u.prototype={_isReactElement:!0},u.createElement=function(e,t,n){var r,o={},a=null,c=null;if(null!=t){c=void 0===t.ref?null:t.ref,a=void 0===t.key?null:""+t.key;for(r in t)t.hasOwnProperty(r)&&!s.hasOwnProperty(r)&&(o[r]=t[r])}var l=arguments.length-2;if(1===l)o.children=n;else if(l>1){for(var p=Array(l),f=0;l>f;f++)p[f]=arguments[f+2];o.children=p}if(e&&e.defaultProps){var d=e.defaultProps;for(r in d)"undefined"==typeof o[r]&&(o[r]=d[r])}return new u(e,a,c,i.current,o)},u.createFactory=function(e){var t=u.createElement.bind(null,e);return t.type=e,t},u.cloneAndReplaceProps=function(e,t){var n=new u(e.type,e.key,e.ref,e._owner,t);return __DEV__&&(n._store.validated=e._store.validated),n},u.cloneElement=function(e,t,n){var r,o=a({},e.props),c=e.key,l=e.ref,p=e._owner;if(null!=t){void 0!==t.ref&&(l=t.ref,p=i.current),void 0!==t.key&&(c=""+t.key);for(r in t)t.hasOwnProperty(r)&&!s.hasOwnProperty(r)&&(o[r]=t[r])}var f=arguments.length-2;if(1===f)o.children=n;else if(f>1){for(var d=Array(f),h=0;f>h;h++)d[h]=arguments[h+2];o.children=d}return new u(e.type,c,l,p,o)},u.isValidElement=function(e){var t=!(!e||!e._isReactElement);return t},o.exports=u}),__d("ReactCurrentOwner",[],function(e,t,n,r,o){"use strict";var i={current:null};o.exports=i}),__d("Object.assign",[],function(e,t,n,r,o){"use strict";function i(e){if(null==e)throw new TypeError("Object.assign target cannot be null or undefined");for(var t=Object(e),n=Object.prototype.hasOwnProperty,r=1;r<arguments.length;r++){var o=arguments[r];if(null!=o){var i=Object(o);for(var a in i)n.call(i,a)&&(t[a]=i[a])}}return t}o.exports=i}),__d("warning",["emptyFunction"],function(e,t,n,r,o){"use strict";var i=t("emptyFunction"),a=i;__DEV__&&(a=function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;n>o;o++)r[o-2]=arguments[o];if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==t.indexOf("Failed Composite propType: ")&&!e){var i=0,a="Warning: "+t.replace(/%s/g,function(){return r[i++]});"undefined"!=typeof console&&console.error(a);try{throw new Error(a)}catch(s){}}}),o.exports=a}),__d("emptyFunction",[],function(e,t,n,r,o){function i(e){return function(){return e}}function a(){}a.thatReturns=i,a.thatReturnsFalse=i(!1),a.thatReturnsTrue=i(!0),a.thatReturnsNull=i(null),a.thatReturnsThis=function(){return this},a.thatReturnsArgument=function(e){return e},o.exports=a}),__d("traverseAllChildren",["ReactElement","ReactFragment","ReactInstanceHandles","getIteratorFn","invariant","warning"],function(e,t,n,r,o){"use strict";function i(e){return _[e]}function a(e,t){return e&&null!=e.key?u(e.key):t.toString(36)}function s(e){return(""+e).replace(b,i)}function u(e){return"$"+s(e)}function c(e,t,n,r){var o=typeof e;if(("undefined"===o||"boolean"===o)&&(e=null),null===e||"string"===o||"number"===o||p.isValidElement(e))return n(r,e,""===t?g+a(e,0):t),1;var i,s,l=0;if(Array.isArray(e))for(var d=0;d<e.length;d++)i=e[d],s=(""!==t?t+y:g)+a(i,d),l+=c(i,s,n,r);else{var _=h(e);if(_){var b,R=_.call(e);if(_!==e.entries)for(var E=0;!(b=R.next()).done;)i=b.value,s=(""!==t?t+y:g)+a(i,E++),l+=c(i,s,n,r);else for(__DEV__&&(v(S,"Using Maps as children is not yet fully supported. It is an experimental feature that might be removed. Convert it to a sequence / iterable of keyed ReactElements instead."),S=!0);!(b=R.next()).done;){var x=b.value;x&&(i=x[1],s=(""!==t?t+y:g)+u(x[0])+y+a(i,0),l+=c(i,s,n,r))}}else if("object"===o){m(1!==e.nodeType,"traverseAllChildren(...): Encountered an invalid child; DOM elements are not valid children of React components.");var T=f.extract(e);for(var w in T)T.hasOwnProperty(w)&&(i=T[w],s=(""!==t?t+y:g)+u(w)+y+a(i,0),l+=c(i,s,n,r))}}return l}function l(e,t,n){return null==e?0:c(e,"",t,n)}var p=t("ReactElement"),f=t("ReactFragment"),d=t("ReactInstanceHandles"),h=t("getIteratorFn"),m=t("invariant"),v=t("warning"),g=d.SEPARATOR,y=":",_={"=":"=0",".":"=1",":":"=2"},b=/[=.:]/g,S=!1;o.exports=l}),__d("ReactInstanceHandles",["ReactRootIndex","invariant"],function(e,t,n,r,o){"use strict";function i(e){return m+e.toString(36)}function a(e,t){return e.charAt(t)===m||t===e.length}function s(e){return""===e||e.charAt(0)===m&&e.charAt(e.length-1)!==m}function u(e,t){return 0===t.indexOf(e)&&a(t,e.length)}function c(e){return e?e.substr(0,e.lastIndexOf(m)):""}function l(e,t){if(h(s(e)&&s(t),"getNextDescendantID(%s, %s): Received an invalid React DOM ID.",e,t),h(u(e,t),"getNextDescendantID(...): React has made an invalid assumption about the DOM hierarchy. Expected `%s` to be an ancestor of `%s`.",e,t),e===t)return e;var n,r=e.length+v;for(n=r;n<t.length&&!a(t,n);n++);return t.substr(0,n)}function p(e,t){var n=Math.min(e.length,t.length);if(0===n)return"";for(var r=0,o=0;n>=o;o++)if(a(e,o)&&a(t,o))r=o;else if(e.charAt(o)!==t.charAt(o))break;var i=e.substr(0,r);return h(s(i),"getFirstCommonAncestorID(%s, %s): Expected a valid React DOM ID: %s",e,t,i),i}function f(e,t,n,r,o,i){e=e||"",t=t||"",h(e!==t,"traverseParentPath(...): Cannot traverse from and to the same ID, `%s`.",e);var a=u(t,e);h(a||u(e,t),"traverseParentPath(%s, %s, ...): Cannot traverse from two IDs that do not have a parent path.",e,t);for(var s=0,p=a?c:l,f=e;;f=p(f,t)){var d;if(o&&f===e||i&&f===t||(d=n(f,a,r)),d===!1||f===t)break;h(s++<g,"traverseParentPath(%s, %s, ...): Detected an infinite loop while traversing the React DOM ID tree. This may be due to malformed IDs: %s",e,t,f)}}var d=t("ReactRootIndex"),h=t("invariant"),m=".",v=m.length,g=1e4,y={createReactRootID:function(){return i(d.createReactRootIndex())},createReactID:function(e,t){return e+t},getReactRootIDFromNodeID:function(e){if(e&&e.charAt(0)===m&&e.length>1){var t=e.indexOf(m,1);return t>-1?e.substr(0,t):e}return null},traverseEnterLeave:function(e,t,n,r,o){var i=p(e,t);i!==e&&f(e,i,n,r,!1,!0),i!==t&&f(i,t,n,o,!0,!1)},traverseTwoPhase:function(e,t,n){e&&(f("",e,t,n,!0,!1),f(e,"",t,n,!1,!0))},traverseTwoPhaseSkipTarget:function(e,t,n){e&&(f("",e,t,n,!0,!0),f(e,"",t,n,!0,!0))},traverseAncestors:function(e,t,n){f("",e,t,n,!0,!1)},getFirstCommonAncestorID:p,_getNextDescendantID:l,isAncestorIDOf:u,SEPARATOR:m};o.exports=y}),__d("ReactRootIndex",[],function(e,t,n,r,o){"use strict";var i={injectCreateReactRootIndex:function(e){a.createReactRootIndex=e}},a={createReactRootIndex:null,injection:i};o.exports=a}),__d("getIteratorFn",[],function(e,t,n,r,o){"use strict";function i(e){var t=e&&(a&&e[a]||e[s]);return"function"==typeof t?t:void 0}var a="function"==typeof Symbol&&Symbol.iterator,s="@@iterator";o.exports=i}),__d("ReactClass",["ReactComponent","ReactElement","ReactErrorUtils","ReactPropTypeLocations","ReactPropTypeLocationNames","ReactNoopUpdateQueue","Object.assign","emptyObject","invariant","keyMirror","keyOf","warning"],function(e,t,n,r,o){"use strict";function i(){P||(P=!0,w(!1,"setProps(...) and replaceProps(...) are deprecated. Instead, call React.render again at the top level."))}function a(e,t,n){for(var r in t)t.hasOwnProperty(r)&&w("function"==typeof t[r],"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",e.displayName||"ReactClass",_[n],r)}function s(e,t){var n=D.hasOwnProperty(t)?D[t]:null;M.hasOwnProperty(t)&&E(n===I.OVERRIDE_BASE,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t),e.hasOwnProperty(t)&&E(n===I.DEFINE_MANY||n===I.DEFINE_MANY_MERGED,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",t)}function u(e,t){if(t){E("function"!=typeof t,"ReactClass: You're attempting to use a component class as a mixin. Instead, just use a regular object."),E(!v.isValidElement(t),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var n=e.prototype;t.hasOwnProperty(C)&&N.mixins(e,t.mixins);for(var r in t)if(t.hasOwnProperty(r)&&r!==C){var o=t[r];if(s(n,r),N.hasOwnProperty(r))N[r](e,o);else{var i=D.hasOwnProperty(r),a=n.hasOwnProperty(r),u="function"==typeof o,c=u&&!i&&!a;if(c)n.__reactAutoBindMap||(n.__reactAutoBindMap={}),n.__reactAutoBindMap[r]=o,n[r]=o;else if(a){var l=D[r];E(i&&(l===I.DEFINE_MANY_MERGED||l===I.DEFINE_MANY),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",l,r),l===I.DEFINE_MANY_MERGED?n[r]=p(n[r],o):l===I.DEFINE_MANY&&(n[r]=f(n[r],o))}else n[r]=o,__DEV__&&"function"==typeof o&&t.displayName&&(n[r].displayName=t.displayName+"_"+r)}}}}function c(e,t){if(t)for(var n in t){var r=t[n];if(t.hasOwnProperty(n)){var o=n in N;E(!o,'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 i=n in e;E(!i,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n),e[n]=r}}}function l(e,t){E(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.");for(var n in t)t.hasOwnProperty(n)&&(E(void 0===e[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),e[n]=t[n]);return e}function p(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);if(null==n)return r;if(null==r)return n;var o={};return l(o,n),l(o,r),o}}function f(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function d(e,t){var n=t.bind(e);if(__DEV__){n.__reactBoundContext=e,n.__reactBoundMethod=t,n.__reactBoundArguments=null;var r=e.constructor.displayName,o=n.bind;n.bind=function(i){for(var a=arguments.length,s=Array(a>1?a-1:0),u=1;a>u;u++)s[u-1]=arguments[u];if(i!==e&&null!==i)w(!1,"bind(): React component methods may only be bound to the component instance. See %s",r);else if(!s.length)return w(!1,"bind(): You are binding a component method to the component. React does this for you automatically in a high-performance way, so you can safely remove this call. See %s",r),n;var c=o.apply(n,arguments);return c.__reactBoundContext=e,c.__reactBoundMethod=t,c.__reactBoundArguments=s,c}}return n}function h(e){for(var t in e.__reactAutoBindMap)if(e.__reactAutoBindMap.hasOwnProperty(t)){var n=e.__reactAutoBindMap[t];e[t]=d(e,g.guard(n,e.constructor.displayName+"."+t))}}var m=t("ReactComponent"),v=t("ReactElement"),g=t("ReactErrorUtils"),y=t("ReactPropTypeLocations"),_=t("ReactPropTypeLocationNames"),b=t("ReactNoopUpdateQueue"),S=t("Object.assign"),R=t("emptyObject"),E=t("invariant"),x=t("keyMirror"),T=t("keyOf"),w=t("warning"),C=T({mixins:null}),I=x({DEFINE_ONCE:null,DEFINE_MANY:null,OVERRIDE_BASE:null,DEFINE_MANY_MERGED:null}),O=[],P=!1,D={mixins:I.DEFINE_MANY,statics:I.DEFINE_MANY,propTypes:I.DEFINE_MANY,contextTypes:I.DEFINE_MANY,childContextTypes:I.DEFINE_MANY,getDefaultProps:I.DEFINE_MANY_MERGED,getInitialState:I.DEFINE_MANY_MERGED,getChildContext:I.DEFINE_MANY_MERGED,render:I.DEFINE_ONCE,componentWillMount:I.DEFINE_MANY,componentDidMount:I.DEFINE_MANY,componentWillReceiveProps:I.DEFINE_MANY,shouldComponentUpdate:I.DEFINE_ONCE,componentWillUpdate:I.DEFINE_MANY,componentDidUpdate:I.DEFINE_MANY,componentWillUnmount:I.DEFINE_MANY,updateComponent:I.OVERRIDE_BASE},N={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)u(e,t[n])},childContextTypes:function(e,t){__DEV__&&a(e,t,y.childContext),e.childContextTypes=S({},e.childContextTypes,t)},contextTypes:function(e,t){__DEV__&&a(e,t,y.context),e.contextTypes=S({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps=e.getDefaultProps?p(e.getDefaultProps,t):t},propTypes:function(e,t){__DEV__&&a(e,t,y.prop),e.propTypes=S({},e.propTypes,t)},statics:function(e,t){c(e,t)}},M={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e),t&&this.updater.enqueueCallback(this,t)},isMounted:function(){return this.updater.isMounted(this)},setProps:function(e,t){__DEV__&&i(),this.updater.enqueueSetProps(this,e),t&&this.updater.enqueueCallback(this,t)},replaceProps:function(e,t){__DEV__&&i(),this.updater.enqueueReplaceProps(this,e),t&&this.updater.enqueueCallback(this,t)}},A=function(){};S(A.prototype,m.prototype,M);var k={createClass:function(e){var t=function(e,n,r){__DEV__&&w(this instanceof t,"Something is calling a React component directly. Use a factory or JSX instead. See: https://fb.me/react-legacyfactory"),this.__reactAutoBindMap&&h(this),this.props=e,this.context=n,this.refs=R,this.updater=r||b,this.state=null;var o=this.getInitialState?this.getInitialState():null;__DEV__&&"undefined"==typeof o&&this.getInitialState._isMockFunction&&(o=null),E("object"==typeof o&&!Array.isArray(o),"%s.getInitialState(): must return an object or null",t.displayName||"ReactCompositeComponent"),this.state=o};t.prototype=new A,t.prototype.constructor=t,O.forEach(u.bind(null,t)),u(t,e),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),__DEV__&&(t.getDefaultProps&&(t.getDefaultProps.isReactClassApproved={}),t.prototype.getInitialState&&(t.prototype.getInitialState.isReactClassApproved={})),E(t.prototype.render,"createClass(...): Class specification must implement a `render` method."),__DEV__&&(w(!t.prototype.componentShouldUpdate,"%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",e.displayName||"A component"),w(!t.prototype.componentWillRecieveProps,"%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",e.displayName||"A component"));for(var n in D)t.prototype[n]||(t.prototype[n]=null);return t},injection:{injectMixin:function(e){O.push(e)}}};o.exports=k}),__d("ReactComponent",["ReactNoopUpdateQueue","emptyObject","invariant","warning"],function(e,t,n,r,o){"use strict";function i(e,t,n){this.props=e,this.context=t,this.refs=s,this.updater=n||a}var a=t("ReactNoopUpdateQueue"),s=t("emptyObject"),u=t("invariant"),c=t("warning");if(i.prototype.setState=function(e,t){u("object"==typeof e||"function"==typeof e||null==e,"setState(...): takes an object of state variables to update or a function which returns an object of state variables."),__DEV__&&c(null!=e,"setState(...): You passed an undefined or null state object; instead, use forceUpdate()."),this.updater.enqueueSetState(this,e),t&&this.updater.enqueueCallback(this,t)},i.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this),e&&this.updater.enqueueCallback(this,e)},__DEV__){var l={getDOMNode:["getDOMNode","Use React.findDOMNode(component) instead."],isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceProps:["replaceProps","Instead, call React.render again at the top level."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."],setProps:["setProps","Instead, call React.render again at the top level."]},p=function(e,t){try{Object.defineProperty(i.prototype,e,{get:function(){return void c(!1,"%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1])}})}catch(n){}};for(var f in l)l.hasOwnProperty(f)&&p(f,l[f])}o.exports=i}),__d("ReactNoopUpdateQueue",["warning"],function(e,t,n,r,o){"use strict";function i(e,t){__DEV__&&a(!1,"%s(...): Can only update a mounted or mounting component. This usually means you called %s() on an unmounted component. This is a no-op. Please check the code for the %s component.",t,t,e.constructor&&e.constructor.displayName||"")}var a=t("warning"),s={isMounted:function(){return!1},enqueueCallback:function(){},enqueueForceUpdate:function(e){i(e,"forceUpdate")},enqueueReplaceState:function(e){i(e,"replaceState")},enqueueSetState:function(e){i(e,"setState")},enqueueSetProps:function(e){i(e,"setProps")},enqueueReplaceProps:function(e){i(e,"replaceProps")}};o.exports=s}),__d("emptyObject",[],function(e,t,n,r,o){"use strict";var i={};__DEV__&&Object.freeze(i),o.exports=i}),__d("ReactErrorUtils",[],function(e,t,n,r,o){"use strict";var i={guard:function(e){return e}};o.exports=i}),__d("ReactPropTypeLocations",["keyMirror"],function(e,t,n,r,o){"use strict";var i=t("keyMirror"),a=i({prop:null,context:null,childContext:null});o.exports=a}),__d("keyMirror",["invariant"],function(e,t,n,r,o){"use strict";var i=t("invariant"),a=function(e){var t,n={};i(e instanceof Object&&!Array.isArray(e),"keyMirror(...): Argument must be an object.");for(t in e)e.hasOwnProperty(t)&&(n[t]=t);return n};o.exports=a}),__d("ReactPropTypeLocationNames",[],function(e,t,n,r,o){"use strict";var i={};__DEV__&&(i={prop:"prop",context:"context",childContext:"child context"}),o.exports=i}),__d("keyOf",[],function(e,t,n,r,o){var i=function(e){var t;for(t in e)if(e.hasOwnProperty(t))return t;return null};o.exports=i}),__d("ReactElementValidator",["ReactElement","ReactFragment","ReactPropTypeLocations","ReactPropTypeLocationNames","ReactCurrentOwner","getIteratorFn","invariant","warning"],function(e,t,n,r,o){"use strict";function i(){if(y.current){var e=y.current.getName();if(e)return" Check the render method of `"+e+"`."}return""}function a(e){var t=e&&e.getPublicInstance();if(!t)return void 0;var n=t.constructor;return n?n.displayName||n.name||void 0:void 0}function s(){var e=y.current;return e&&a(e)||void 0}function u(e,t){if(!e._store.validated&&null==e.key){e._store.validated=!0;var n=l("uniqueKey",e,t);null!==n&&S(!1,'Each child in an array or iterator should have a unique "key" prop.%s%s%s',n.parentOrOwner||"",n.childOwner||"",n.url||"")}}function c(e,t,n){if(x.test(e)){var r=l("numericKeys",t,n);null!==r&&S(!1,"Child objects should have non-numeric keys so ordering is preserved.%s%s%s",r.parentOrOwner||"",r.childOwner||"",r.url||"")}}function l(e,t,n){var r=s(),o="string"==typeof n?n:n.displayName||n.name,i=r||o,u=R[e]||(R[e]={});if(u[i])return null;u[i]=!0;var c={parentOrOwner:r?" Check the render method of "+r+".":o?" Check the React.render call using <"+o+">.":null,url:" See https://fb.me/react-warning-keys for more information.",childOwner:null};return t&&t._owner&&t._owner!==y.current&&(c.childOwner=" It was passed a child from "+a(t._owner)+"."),c}function p(e,t){if(Array.isArray(e))for(var n=0;n<e.length;n++){var r=e[n];h.isValidElement(r)&&u(r,t)}else if(h.isValidElement(e))e._store.validated=!0;else if(e){var o=_(e);if(o){if(o!==e.entries)for(var i,a=o.call(e);!(i=a.next()).done;)h.isValidElement(i.value)&&u(i.value,t)}else if("object"==typeof e){var s=m.extractIfFragment(e);for(var l in s)s.hasOwnProperty(l)&&c(l,s[l],t)}}}function f(e,t,n,r){for(var o in t)if(t.hasOwnProperty(o)){var a;try{b("function"==typeof t[o],"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",e||"React class",g[r],o),a=t[o](n,o,e,r)}catch(s){a=s}if(S(!a||a instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",e||"React class",g[r],o,typeof a),a instanceof Error&&!(a.message in E)){E[a.message]=!0;var u=i();S(!1,"Failed propType: %s%s",a.message,u)}}}function d(e){var t=e.type;if("function"==typeof t){var n=t.displayName||t.name;t.propTypes&&f(n,t.propTypes,e.props,v.prop),"function"==typeof t.getDefaultProps&&S(t.getDefaultProps.isReactClassApproved,"getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}var h=t("ReactElement"),m=t("ReactFragment"),v=t("ReactPropTypeLocations"),g=t("ReactPropTypeLocationNames"),y=t("ReactCurrentOwner"),_=t("getIteratorFn"),b=t("invariant"),S=t("warning"),R={},E={},x=/^\d+$/,T={createElement:function(e){S("string"==typeof e||"function"==typeof e,"React.createElement: type should not be null, undefined, boolean, or number. It should be a string (for DOM elements) or a ReactClass (for composite components).%s",i());var t=h.createElement.apply(this,arguments);if(null==t)return t;for(var n=2;n<arguments.length;n++)p(arguments[n],e);return d(t),t},createFactory:function(e){var t=T.createElement.bind(null,e);if(t.type=e,__DEV__)try{Object.defineProperty(t,"type",{enumerable:!1,get:function(){return S(!1,"Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:e}),e}})}catch(n){}return t},cloneElement:function(){for(var e=h.cloneElement.apply(this,arguments),t=2;t<arguments.length;t++)p(arguments[t],e.type);return d(e),e}};o.exports=T}),__d("ReactNativeDefaultInjection",["InitializeJavaScriptAppEngine","EventPluginHub","EventPluginUtils","IOSDefaultEventPluginOrder","IOSNativeBridgeEventPlugin","NodeHandle","ReactComponentEnvironment","ReactDefaultBatchingStrategy","ReactEmptyComponent","ReactInstanceHandles","ReactNativeComponentEnvironment","ReactNativeGlobalInteractionHandler","ReactNativeGlobalResponderHandler","ReactNativeMount","ReactNativeTextComponent","ReactNativeComponent","ReactUpdates","ResponderEventPlugin","UniversalWorkerNodeHandle","createReactNativeComponentClass","invariant","RCTEventEmitter","RCTLog","JSTimersExecution"],function(e,t,n,r,o){"use strict";function i(){a.injection.injectEventPluginOrder(u),a.injection.injectInstanceHandle(h),R.injection.injectGlobalResponderHandler(g),R.injection.injectGlobalInteractionHandler(v),a.injection.injectEventPluginsByName({ResponderEventPlugin:R,IOSNativeBridgeEventPlugin:c}),S.injection.injectReconcileTransaction(m.ReactReconcileTransaction),S.injection.injectBatchingStrategy(f),p.injection.injectEnvironment(m);var e=x({validAttributes:{},uiViewClassName:"RCTView"});d.injection.injectEmptyComponent(e),s.injection.injectMount(y),b.injection.injectTextComponentClass(_),b.injection.injectGenericComponentClass(function(e){var t="";"string"==typeof e&&/^[a-z]/.test(e)&&(t+=" Each component name should start with an uppercase letter."),T(!1,"Expected a component class, got %s.%s",e,t)}),l.injection.injectImplementation(E)}t("InitializeJavaScriptAppEngine");var a=t("EventPluginHub"),s=t("EventPluginUtils"),u=t("IOSDefaultEventPluginOrder"),c=t("IOSNativeBridgeEventPlugin"),l=t("NodeHandle"),p=t("ReactComponentEnvironment"),f=t("ReactDefaultBatchingStrategy"),d=t("ReactEmptyComponent"),h=t("ReactInstanceHandles"),m=t("ReactNativeComponentEnvironment"),v=t("ReactNativeGlobalInteractionHandler"),g=t("ReactNativeGlobalResponderHandler"),y=t("ReactNativeMount"),_=t("ReactNativeTextComponent"),b=t("ReactNativeComponent"),S=t("ReactUpdates"),R=t("ResponderEventPlugin"),E=t("UniversalWorkerNodeHandle"),x=t("createReactNativeComponentClass"),T=t("invariant");t("RCTEventEmitter"),t("RCTLog"),t("JSTimersExecution"),o.exports={inject:i}}),__d("InitializeJavaScriptAppEngine",["RCTDebugComponentOwnership","RCTDeviceEventEmitter","PerformanceLogger","ExceptionsManager","ErrorUtils","ExceptionsManager","Platform","JSTimers","NativeModules","Promise","XMLHttpRequest","FormData","fetch","Geolocation","WebSocket","BridgeProfiling","regenerator/runtime.js"],function(e,t){function n(e,n){try{t("ExceptionsManager").handleException(e,n)}catch(r){console.log("Failed to print error: ",r.message)}}function r(){var e=t("ErrorUtils");e.setGlobalHandler(n)}function o(){var e=t("ExceptionsManager"),n=t("Platform");__DEV__&&"ios"===n.OS&&e.installConsoleErrorReporter()}function i(){var e=t("JSTimers");GLOBAL.setTimeout=e.setTimeout,GLOBAL.setInterval=e.setInterval,GLOBAL.setImmediate=e.setImmediate,GLOBAL.clearTimeout=e.clearTimeout,GLOBAL.clearInterval=e.clearInterval,GLOBAL.clearImmediate=e.clearImmediate,GLOBAL.cancelAnimationFrame=e.clearInterval,GLOBAL.requestAnimationFrame=function(t){return e.requestAnimationFrame(t)}}function a(){var e=t("NativeModules").AlertManager;GLOBAL.alert||(GLOBAL.alert=function(t){var n={title:"Alert",message:""+t,buttons:[{cancel:"OK"}]};e.alertWithArgs(n,function(){})})}function s(){GLOBAL.Promise=t("Promise")}function u(){GLOBAL.XMLHttpRequest=t("XMLHttpRequest"),GLOBAL.FormData=t("FormData");var e=t("fetch");GLOBAL.fetch=e.fetch,GLOBAL.Headers=e.Headers,GLOBAL.Request=e.Request,GLOBAL.Response=e.Response}function c(){GLOBAL.navigator=GLOBAL.navigator||{},GLOBAL.navigator.geolocation=t("Geolocation")}function l(){GLOBAL.WebSocket=t("WebSocket")}function p(){console.profile=console.profile||GLOBAL.consoleProfile||function(){},console.profileEnd=console.profileEnd||GLOBAL.consoleProfileEnd||function(){},t("BridgeProfiling").swizzleReactPerf()}function f(){GLOBAL.process={env:{NODE_ENV:__DEV__?"development":"production"}}}t("RCTDebugComponentOwnership"),t("RCTDeviceEventEmitter"),t("PerformanceLogger"),t("regenerator/runtime.js"),"undefined"==typeof GLOBAL&&(GLOBAL=this),"undefined"==typeof window&&(window=GLOBAL),r(),i(),a(),s(),u(),o(),c(),l(),p(),f()}),__d("RCTDebugComponentOwnership",["NativeModules","InspectorUtils","ReactNativeTagHandles"],function(e,t,n,r,o){"use strict";function i(e){return e.getName?e.getName():"Unknown"}function a(e){var t=c.tagToRootNodeID[e];if(!t)return null;var n=c.getNativeTopRootIDFromNodeID(t);return n?c.rootNodeIDToTag[n]:null}var s=t("NativeModules").DebugComponentOwnershipModule,u=t("InspectorUtils"),c=t("ReactNativeTagHandles");o.exports={getOwnerHierarchy:function(e,t){var n=a(t),r=u.findInstanceByNativeTag(n,t),o=r?u.getOwnerHierarchy(r).map(i):null;s.receiveOwnershipHierarchy(e,t,o)}}}),__d("NativeModules",["BatchedBridge","nativeModulePrefixNormalizer"],function(e,t,n,r,o){"use strict";var i=t("BatchedBridge").RemoteModules,a=t("nativeModulePrefixNormalizer");a(i),o.exports=i}),__d("BatchedBridge",["MessageQueue"],function(e,t,n,r,o){"use strict";var i=t("MessageQueue"),a=new i(__fbBatchedBridgeConfig.remoteModuleConfig,__fbBatchedBridgeConfig.localModulesConfig);o.exports=a}),__d("MessageQueue",["BridgeProfiling","ErrorUtils","JSTimersExecution","ReactUpdates","invariant","keyMirror","stringifySafe"],function(e,t,n,r,o){"use strict";function i(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e){var t=e.message,n=i(e,["message"]),r=new Error(t);return r.framesToPop=1,Object.assign(r,n)}var u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=t("BridgeProfiling"),l=t("ErrorUtils"),p=t("JSTimersExecution"),f=t("ReactUpdates"),d=t("invariant"),h=t("keyMirror"),m=t("stringifySafe"),v=0,g=1,y=2,_=!1,b=h({local:null,remote:null,remoteAsync:null}),S=function(e){try{e()}catch(t){l.reportFatalError(t)}},R=function(){function e(n,r,o){var i=this;a(this,e),this.RemoteModules={},this._require=o||t,this._queue=[[],[],[]],this._moduleTable={},this._methodTable={},this._callbacks=[],this._callbackID=0,["processBatch","invokeCallbackAndReturnFlushedQueue","callFunctionReturnFlushedQueue","flushedQueue"].forEach(function(e){return i[e]=i[e].bind(i)}),this._genModules(n),r&&this._genLookupTables(r,this._moduleTable,this._methodTable),__DEV__&&(this._debugInfo={},this._remoteModuleTable={},this._remoteMethodTable={},this._genLookupTables(n,this._remoteModuleTable,this._remoteMethodTable))}return u(e,[{key:"processBatch",value:function(e){var t=this;return S(function(){f.batchedUpdates(function(){e.forEach(function(e){var n="callFunctionReturnFlushedQueue"===e.method?"__callFunction":"__invokeCallback";S(function(){return t[n].apply(t,e.args)})}),c.profile("ReactUpdates.batchedUpdates()")}),c.profileEnd()}),this.flushedQueue()}},{key:"callFunctionReturnFlushedQueue",value:function(e,t,n){var r=this;return S(function(){return r.__callFunction(e,t,n)}),this.flushedQueue()}},{key:"invokeCallbackAndReturnFlushedQueue",value:function(e,t){var n=this;return S(function(){return n.__invokeCallback(e,t)}),this.flushedQueue()}},{key:"flushedQueue",value:function(){c.profile("JSTimersExecution.callImmediates()"),S(function(){return p.callImmediates()}),c.profileEnd();var e=this._queue;return this._queue=[[],[],[]],e[0].length?e:null}},{key:"__nativeCall",value:function(e,t,n,r,o){(r||o)&&(__DEV__&&(this._callbackID>32&&(this._debugInfo[this._callbackID>>5]=null),this._debugInfo[this._callbackID>>1]=[e,t]),r&&n.push(this._callbackID),this._callbacks[this._callbackID++]=r,o&&n.push(this._callbackID),this._callbacks[this._callbackID++]=o),this._queue[v].push(e),this._queue[g].push(t),this._queue[y].push(n),__DEV__&&_&&isFinite(e)&&console.log("JS->N : "+this._remoteModuleTable[e]+"."+this._remoteMethodTable[e][t]+"("+JSON.stringify(n)+")")}},{key:"__callFunction",value:function(e,t,n){c.profile(function(){return e+"."+t+"("+m(n)+")"}),isFinite(e)&&(t=this._methodTable[e][t],e=this._moduleTable[e]),__DEV__&&_&&console.log("N->JS : "+e+"."+t+"("+JSON.stringify(n)+")"),e=this._require(e),e[t].apply(e,n),c.profileEnd()}},{key:"__invokeCallback",value:function(e,t){c.profile(function(){return"MessageQueue.invokeCallback("+e+", "+m(t)+")"});var n=this._callbacks[e];if(__DEV__){var r=this._debugInfo[e>>1],o=r&&this._remoteModuleTable[r[0]],i=r&&this._remoteMethodTable[r[0]][r[1]];n?_&&console.log("N->JS : <callback for "+o+"."+i+">("+JSON.stringify(t)+")"):console.error("Callback with id "+e+": "+o+"."+i+"() not found")}this._callbacks[-2&e]=null,this._callbacks[1|e]=null,n.apply(null,t),c.profileEnd()}},{key:"_genLookupTables",value:function(e,t,n){for(var r=Object.keys(e),o=0,i=r.length;i>o;o++){var a=r[o],s=e[a].methods,u=e[a].moduleID;t[u]=a,n[u]={};for(var c=Object.keys(s),l=0,p=c.length;p>l;l++){var f=c[l],d=s[f];n[u][d.methodID]=f}}}},{key:"_genModules",value:function(e){for(var t=Object.keys(e),n=0,r=t.length;r>n;n++){var o=t[n],i=e[o];this.RemoteModules[o]=this._genModule({},i)}}},{key:"_genModule",value:function(e,t){for(var n=Object.keys(t.methods),r=0,o=n.length;o>r;r++){var i=n[r],a=t.methods[i];e[i]=this._genMethod(t.moduleID,a.methodID,a.type)}return Object.assign(e,t.constants),e}},{key:"_genMethod",value:function(e,t,n){if(n===b.local)return null;var r=this;return n===b.remoteAsync?function(){for(var n=arguments.length,o=Array(n),i=0;n>i;i++)o[i]=arguments[i];return new Promise(function(n,i){r.__nativeCall(e,t,o,n,function(e){var t=s(e);i(t)})})}:function(){for(var n=arguments.length,o=Array(n),i=0;n>i;i++)o[i]=arguments[i];var a=o.length>0?o[o.length-1]:null,s=o.length>1?o[o.length-2]:null,u="function"==typeof a,c="function"==typeof s;c&&d(u,"Cannot have a non-function arg after a function arg.");var l=u+c,p=u?a:null,f=c?s:null;return o=o.slice(0,o.length-l),r.__nativeCall(e,t,o,f,p)}}}]),e}();o.exports=R}),__d("BridgeProfiling",["ReactPerf"],function(e,t,n,r,o){"use strict";var i=i||this,a={profile:function(e,t){if(i.__BridgeProfilingIsProfiling){if(t)try{t=JSON.stringify(t)}catch(n){t=n.message}e="function"==typeof e?e():e,console.profile(e,t)}},profileEnd:function(e){i.__BridgeProfilingIsProfiling&&console.profileEnd(e)},swizzleReactPerf:function(){var e=t("ReactPerf"),n=e.measure;e.measure=function(t,r,o){return o=n.call(e,t,r,o),function(){a.profile();var e=o.apply(this,arguments);if(i.__BridgeProfilingIsProfiling){var n=this._instance&&this._instance.constructor&&(this._instance.constructor.displayName||this._instance.constructor.name);a.profileEnd(t+"."+r+"("+n+")")}return e}}}};o.exports=a}),__d("ReactPerf",[],function(e,t,n,r,o){"use strict";function i(e,t,n){return n}var a={enableMeasure:!1,storedMeasure:i,measureMethods:function(e,t,n){if(__DEV__)for(var r in n)n.hasOwnProperty(r)&&(e[r]=a.measure(t,n[r],e[r]))},measure:function(e,t,n){if(__DEV__){var r=null,o=function(){return a.enableMeasure?(r||(r=a.storedMeasure(e,t,n)),r.apply(this,arguments)):n.apply(this,arguments)};return o.displayName=e+"_"+t,o}return n},injection:{injectMeasure:function(e){a.storedMeasure=e}}};o.exports=a}),__d("ErrorUtils",[],function(e,t,n,r,o){var i=this;o.exports=i.ErrorUtils}),__d("JSTimersExecution",["invariant","keyMirror","performanceNow","warning","JSTimers","JSTimers"],function(e,t,n,r,o){"use strict";var i=t("invariant"),a=t("keyMirror"),s=t("performanceNow"),u=t("warning"),c={GUID:1,Type:a({setTimeout:null,setInterval:null,requestAnimationFrame:null,setImmediate:null}),callbacks:[],types:[],timerIDs:[],immediates:[],callTimer:function(e){u(e<=c.GUID,"Tried to call timer with ID "+e+" but no such timer exists");var t=c.timerIDs.indexOf(e);if(-1!==t){var n=c.types[t],r=c.callbacks[t];(n===c.Type.setTimeout||n===c.Type.setImmediate||n===c.Type.requestAnimationFrame)&&c._clearIndex(t);try{if(n===c.Type.setTimeout||n===c.Type.setInterval||n===c.Type.setImmediate)r();else{if(n!==c.Type.requestAnimationFrame)return void console.error("Tried to call a callback with invalid type: "+n);var o=s();r(o)}}catch(i){c.errors=c.errors||[],c.errors.push(i)}}},callTimers:function(e){i(0!==e.length,'Probably shouldn\'t call "callTimers" with no timerIDs'),c.errors=null,e.forEach(c.callTimer);var n=c.errors;if(n){var r=n.length;if(r>1)for(var o=1;r>o;o++)t("JSTimers").setTimeout(function(e){throw e}.bind(null,n[o]),0);throw n[0]}},callImmediates:function(){for(c.errors=null;0!==c.immediates.length;)c.callTimer(c.immediates.shift());c.errors&&c.errors.forEach(function(e){return t("JSTimers").setTimeout(function(){throw e},0)})},_clearIndex:function(e){c.timerIDs[e]=null,c.callbacks[e]=null,c.types[e]=null}};o.exports=c}),__d("performanceNow",["performance"],function(e,t,n,r,o){var i=t("performance");i&&i.now||(i=Date);var a=i.now.bind(i);o.exports=a}),__d("performance",["ExecutionEnvironment"],function(e,t,n,r,o){"use strict";var i,a=t("ExecutionEnvironment");a.canUseDOM&&(i=window.performance||window.msPerformance||window.webkitPerformance),o.exports=i||{}}),__d("ExecutionEnvironment",[],function(e,t,n,r,o){"use strict";var i=!1,a={canUseDOM:i,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:i&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:i&&!!window.screen,isInWorker:!i};o.exports=a}),__d("JSTimers",["NativeModules","JSTimersExecution"],function(e,t,n,r,o){"use strict";var i=t("NativeModules").Timing,a=t("JSTimersExecution"),s={Types:a.Types,_getFreeIndex:function(){var e=a.timerIDs.indexOf(null);return-1===e&&(e=a.timerIDs.length),e},setTimeout:function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;n>o;o++)r[o-2]=arguments[o];var u=a.GUID++,c=s._getFreeIndex();return a.timerIDs[c]=u,a.callbacks[c]=function(){return e.apply(void 0,r)},a.types[c]=a.Type.setTimeout,i.createTimer(u,t||0,Date.now(),!1),u},setInterval:function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;n>o;o++)r[o-2]=arguments[o];var u=a.GUID++,c=s._getFreeIndex();return a.timerIDs[c]=u,a.callbacks[c]=function(){return e.apply(void 0,r)},a.types[c]=a.Type.setInterval,i.createTimer(u,t||0,Date.now(),!0),u},setImmediate:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;t>r;r++)n[r-1]=arguments[r];var o=a.GUID++,i=s._getFreeIndex();return a.timerIDs[i]=o,a.callbacks[i]=function(){return e.apply(void 0,n)},a.types[i]=a.Type.setImmediate,a.immediates.push(o),o},requestAnimationFrame:function(e){var t=a.GUID++,n=s._getFreeIndex();return a.timerIDs[n]=t,a.callbacks[n]=e,a.types[n]=a.Type.requestAnimationFrame,i.createTimer(t,1,Date.now(),!1),t},clearTimeout:function(e){s._clearTimerID(e)},clearInterval:function(e){s._clearTimerID(e)},clearImmediate:function(e){s._clearTimerID(e),a.immediates.splice(a.immediates.indexOf(e),1)},cancelAnimationFrame:function(e){s._clearTimerID(e)},_clearTimerID:function(e){if(null!=e){var t=a.timerIDs.indexOf(e);-1!==t&&(a._clearIndex(t),a.types[t]!==a.Type.setImmediate&&i.deleteTimer(e))}}};o.exports=s}),__d("ReactUpdates",["CallbackQueue","PooledClass","ReactPerf","ReactReconciler","Transaction","Object.assign","invariant"],function(e,t,n,r,o){"use strict";function i(){y(I.ReactReconcileTransaction&&R,"ReactUpdates: must inject a reconcile transaction class and batching strategy")}function a(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=f.getPooled(),this.reconcileTransaction=I.ReactReconcileTransaction.getPooled()}function s(e,t,n,r,o,a){i(),R.batchedUpdates(e,t,n,r,o,a)}function u(e,t){return e._mountOrder-t._mountOrder}function c(e){var t=e.dirtyComponentsLength;y(t===_.length,"Expected flush transaction's stored dirty-components length (%s) to match dirty-components array length (%s).",t,_.length),_.sort(u);for(var n=0;t>n;n++){var r=_[n],o=r._pendingCallbacks;if(r._pendingCallbacks=null,m.performUpdateIfNecessary(r,e.reconcileTransaction),o)for(var i=0;i<o.length;i++)e.callbackQueue.enqueue(o[i],r.getPublicInstance())}}function l(e){return i(),R.isBatchingUpdates?void _.push(e):void R.batchedUpdates(l,e)}function p(e,t){y(R.isBatchingUpdates,"ReactUpdates.asap: Can't enqueue an asap callback in a context whereupdates are not being batched."),b.enqueue(e,t),S=!0}var f=t("CallbackQueue"),d=t("PooledClass"),h=t("ReactPerf"),m=t("ReactReconciler"),v=t("Transaction"),g=t("Object.assign"),y=t("invariant"),_=[],b=f.getPooled(),S=!1,R=null,E={initialize:function(){this.dirtyComponentsLength=_.length},close:function(){this.dirtyComponentsLength!==_.length?(_.splice(0,this.dirtyComponentsLength),w()):_.length=0}},x={initialize:function(){this.callbackQueue.reset()},close:function(){this.callbackQueue.notifyAll()}},T=[E,x];g(a.prototype,v.Mixin,{getTransactionWrappers:function(){return T},destructor:function(){this.dirtyComponentsLength=null,f.release(this.callbackQueue),this.callbackQueue=null,I.ReactReconcileTransaction.release(this.reconcileTransaction),this.reconcileTransaction=null},perform:function(e,t,n){return v.Mixin.perform.call(this,this.reconcileTransaction.perform,this.reconcileTransaction,e,t,n)}}),d.addPoolingTo(a);var w=function(){for(;_.length||S;){if(_.length){var e=a.getPooled();e.perform(c,null,e),a.release(e)}if(S){S=!1;var t=b;b=f.getPooled(),t.notifyAll(),f.release(t)}}};w=h.measure("ReactUpdates","flushBatchedUpdates",w);var C={injectReconcileTransaction:function(e){y(e,"ReactUpdates: must provide a reconcile transaction class"),I.ReactReconcileTransaction=e},injectBatchingStrategy:function(e){y(e,"ReactUpdates: must provide a batching strategy"),y("function"==typeof e.batchedUpdates,"ReactUpdates: must provide a batchedUpdates() function"),y("boolean"==typeof e.isBatchingUpdates,"ReactUpdates: must provide an isBatchingUpdates boolean attribute"),R=e}},I={ReactReconcileTransaction:null,batchedUpdates:s,enqueueUpdate:l,flushBatchedUpdates:w,injection:C,asap:p};o.exports=I}),__d("CallbackQueue",["PooledClass","Object.assign","invariant"],function(e,t,n,r,o){"use strict";function i(){this._callbacks=null,this._contexts=null}var a=t("PooledClass"),s=t("Object.assign"),u=t("invariant");s(i.prototype,{enqueue:function(e,t){this._callbacks=this._callbacks||[],this._contexts=this._contexts||[],this._callbacks.push(e),this._contexts.push(t)},notifyAll:function(){var e=this._callbacks,t=this._contexts;if(e){u(e.length===t.length,"Mismatched list of contexts in callback queue"),this._callbacks=null,this._contexts=null;for(var n=0;n<e.length;n++)e[n].call(t[n]);e.length=0,t.length=0}},reset:function(){this._callbacks=null,this._contexts=null},destructor:function(){this.reset()}}),a.addPoolingTo(i),o.exports=i}),__d("ReactReconciler",["ReactRef"],function(e,t,n,r,o){"use strict";function i(){a.attachRefs(this,this._currentElement)}var a=t("ReactRef"),s={mountComponent:function(e,t,n,r){var o=e.mountComponent(t,n,r);return null!=e._currentElement.ref&&n.getReactMountReady().enqueue(i,e),o},unmountComponent:function(e){a.detachRefs(e,e._currentElement),e.unmountComponent()},receiveComponent:function(e,t,n,r){var o=e._currentElement;if(t!==o||null==t._owner){var s=a.shouldUpdateRefs(o,t);s&&a.detachRefs(e,o),e.receiveComponent(t,n,r),s&&n.getReactMountReady().enqueue(i,e)}},performUpdateIfNecessary:function(e,t){e.performUpdateIfNecessary(t)}};o.exports=s}),__d("ReactRef",["ReactOwner"],function(e,t,n,r,o){"use strict";function i(e,t,n){"function"==typeof e?e(t.getPublicInstance()):s.addComponentAsRefTo(t,e,n)}function a(e,t,n){"function"==typeof e?e(null):s.removeComponentAsRefFrom(t,e,n)}var s=t("ReactOwner"),u={};u.attachRefs=function(e,t){var n=t.ref;null!=n&&i(n,e,t._owner)},u.shouldUpdateRefs=function(e,t){return t._owner!==e._owner||t.ref!==e.ref},u.detachRefs=function(e,t){var n=t.ref;null!=n&&a(n,e,t._owner)},o.exports=u}),__d("ReactOwner",["invariant"],function(e,t,n,r,o){"use strict";var i=t("invariant"),a={isValidOwner:function(e){return!(!e||"function"!=typeof e.attachRef||"function"!=typeof e.detachRef)},addComponentAsRefTo:function(e,t,n){i(a.isValidOwner(n),"addComponentAsRefTo(...): Only a ReactOwner can have refs. This usually means that you're trying to add a ref to a component that doesn't have an owner (that is, was not created inside of another component's `render` method). Try rendering this component inside of a new top-level component which will hold the ref."),n.attachRef(t,e)},removeComponentAsRefFrom:function(e,t,n){i(a.isValidOwner(n),"removeComponentAsRefFrom(...): Only a ReactOwner can have refs. This usually means that you're trying to remove a ref to a component that doesn't have an owner (that is, was not created inside of another component's `render` method). Try rendering this component inside of a new top-level component which will hold the ref."),n.getPublicInstance().refs[t]===e.getPublicInstance()&&n.detachRef(t)}};o.exports=a}),__d("Transaction",["invariant"],function(e,t,n,r,o){"use strict";var i=t("invariant"),a={reinitializeTransaction:function(){this.transactionWrappers=this.getTransactionWrappers(),this.wrapperInitData?this.wrapperInitData.length=0:this.wrapperInitData=[],this._isInTransaction=!1},_isInTransaction:!1,getTransactionWrappers:null,isInTransaction:function(){return!!this._isInTransaction},perform:function(e,t,n,r,o,a,s,u){i(!this.isInTransaction(),"Transaction.perform(...): Cannot initialize a transaction when there is already an outstanding transaction.");var c,l;try{this._isInTransaction=!0,c=!0,this.initializeAll(0),l=e.call(t,n,r,o,a,s,u),c=!1}finally{try{if(c)try{this.closeAll(0)}catch(p){}else this.closeAll(0)}finally{this._isInTransaction=!1}}return l},initializeAll:function(e){for(var t=this.transactionWrappers,n=e;n<t.length;n++){var r=t[n];try{this.wrapperInitData[n]=s.OBSERVED_ERROR,this.wrapperInitData[n]=r.initialize?r.initialize.call(this):null}finally{if(this.wrapperInitData[n]===s.OBSERVED_ERROR)try{this.initializeAll(n+1)}catch(o){}}}},closeAll:function(e){i(this.isInTransaction(),"Transaction.closeAll(): Cannot close transaction when none are open.");for(var t=this.transactionWrappers,n=e;n<t.length;n++){var r,o=t[n],a=this.wrapperInitData[n];try{r=!0,a!==s.OBSERVED_ERROR&&o.close&&o.close.call(this,a),r=!1}finally{if(r)try{this.closeAll(n+1)}catch(u){}}}this.wrapperInitData.length=0}},s={Mixin:a,OBSERVED_ERROR:{}};o.exports=s}),__d("stringifySafe",[],function(e,t,n,r,o){"use strict";function i(e){var t,n=typeof e;if(void 0===e)t="undefined";else if(null===e)t="null";else if("string"===n)t='"'+e+'"';else if("function"===n)try{t=e.toString()}catch(r){t="[function unknown]"}else try{t=JSON.stringify(e)}catch(r){if("function"==typeof e.toString)try{t=e.toString()}catch(o){}}return t||'["'+n+'" failed to stringify]'}o.exports=i}),__d("nativeModulePrefixNormalizer",[],function(e,t,n,r,o){"use strict";function i(e){Object.keys(e).forEach(function(t){var n=t.replace(/^(RCT|RK)/,"");if(e["RCT"+n]&&e["RK"+n])throw new Error("Module cannot be registered as both RCT and RK: "+t);n!==t&&(e[n]=e[t],delete e[t])})}o.exports=i}),__d("InspectorUtils",["ReactInstanceHandles","ReactInstanceMap","ReactNativeMount","ReactNativeTagHandles"],function(e,t,n,r,o){"use strict";function i(e,t){t&&(e.unshift(t),i(e,t._currentElement._owner))}function a(e,t){if(t===s(e))return e;if(e._renderedComponent)return a(e._renderedComponent,t);for(var n in e._renderedChildren){var r=e._renderedChildren[n];if(l.isAncestorIDOf(s(r),t)){var o=a(r,t);if(o)return o}}}function s(e){var t=p.get(e);return t?t._rootNodeID:e._rootNodeID}function u(e,t){var n=d.tagToRootNodeID[e],r=f._instancesByContainerID[n],o=d.tagToRootNodeID[t];return o?a(r,o):void 0}function c(e){var t=[];return i(t,e),t}var l=t("ReactInstanceHandles"),p=t("ReactInstanceMap"),f=t("ReactNativeMount"),d=t("ReactNativeTagHandles");o.exports={findInstanceByNativeTag:u,getOwnerHierarchy:c}}),__d("ReactInstanceMap",[],function(e,t,n,r,o){"use strict";var i={remove:function(e){e._reactInternalInstance=void 0},get:function(e){return e._reactInternalInstance},has:function(e){return void 0!==e._reactInternalInstance},set:function(e,t){e._reactInternalInstance=t}};o.exports=i}),__d("ReactNativeMount",["NativeModules","ReactElement","ReactNativeTagHandles","ReactPerf","ReactReconciler","ReactUpdateQueue","ReactUpdates","emptyObject","instantiateReactComponent","shouldUpdateReactComponent","findNodeHandle"],function(e,t,n,r,o){"use strict";function i(e,t){return e+"["+t+"]"}function a(e,t,n,r){var o=f.mountComponent(e,t,r,m);e._renderedComponent._topLevelWrapper=e,_._mountImageIntoNode(o,n)}function s(e,t,n){var r=h.ReactReconcileTransaction.getPooled();r.perform(a,null,e,t,n,r),h.ReactReconcileTransaction.release(r)}var u=t("NativeModules").UIManager,c=t("ReactElement"),l=t("ReactNativeTagHandles"),p=t("ReactPerf"),f=t("ReactReconciler"),d=t("ReactUpdateQueue"),h=t("ReactUpdates"),m=t("emptyObject"),v=t("instantiateReactComponent"),g=t("shouldUpdateReactComponent"),y=function(){};y.prototype.render=function(){return this.props};var _={instanceCount:0,_instancesByContainerID:{},findNodeHandle:t("findNodeHandle"),nativeTagToRootNodeID:function(e){return l.tagToRootNodeID[e]},renderComponent:function(e,t,n){var r=new c(y,null,null,null,e),o=l.tagToRootNodeID[t];if(o){var a=_._instancesByContainerID[o];if(a){var u=a._currentElement,p=u.props;if(g(p,e))return d.enqueueElementInternal(a,r),n&&d.enqueueCallbackInternal(a,n),a;_.unmountComponentAtNode(t)}}if(!l.reactTagIsNativeTopRootID(t))return void console.error("You cannot render into anything but a top root");var o=l.allocateRootNodeIDForTag(t);l.associateRootNodeIDWithMountedNodeHandle(o,t);var f=v(r);_._instancesByContainerID[o]=f;var m=i(o,_.instanceCount++);h.batchedUpdates(s,f,m,o);var b=f.getPublicInstance();return n&&n.call(b),b},_mountImageIntoNode:p.measure("ReactComponentBrowserEnvironment","mountImageIntoNode",function(e,t){l.associateRootNodeIDWithMountedNodeHandle(e.rootNodeID,e.tag);var n=[e.tag],r=[0];u.manageChildren(l.mostRecentMountedNodeHandleForRootNodeID(t),null,null,n,r,null)}),unmountComponentAtNodeAndRemoveContainer:function(e){_.unmountComponentAtNode(e),u.removeRootView(e)},unmountComponentAtNode:function(e){if(!l.reactTagIsNativeTopRootID(e))return console.error("You cannot render into anything but a top root"),!1;var t=l.tagToRootNodeID[e],n=_._instancesByContainerID[t];return n?(_.unmountComponentFromNode(n,t),delete _._instancesByContainerID[t],!0):!1},unmountComponentFromNode:function(e,t){f.unmountComponent(e);var n=l.mostRecentMountedNodeHandleForRootNodeID(t);u.removeSubviewsFromContainerWithID(n)},getNode:function(e){return l.rootNodeIDToTag[e]},getID:function(e){return l.tagToRootNodeID[e]}};_.renderComponent=p.measure("ReactMount","_renderNewRootComponent",_.renderComponent),o.exports=_}),__d("ReactNativeTagHandles",["invariant","warning"],function(e,t,n,r,o){"use strict";var i=t("invariant"),a=t("warning"),s=1,u="{TOP_LEVEL}",c={tagsStartAt:s,tagCount:s,allocateTag:function(){for(;this.reactTagIsNativeTopRootID(c.tagCount);)c.tagCount++;var e=c.tagCount;return c.tagCount++,e},associateRootNodeIDWithMountedNodeHandle:function(e,t){a(e&&t,"Root node or tag is null when associating"),e&&t&&(c.tagToRootNodeID[t]=e,c.rootNodeIDToTag[e]=t)},allocateRootNodeIDForTag:function(e){return i(this.reactTagIsNativeTopRootID(e),"Expect a native root tag, instead got ",e),".r["+e+"]"+u},reactTagIsNativeTopRootID:function(e){return e%10===1},getNativeTopRootIDFromNodeID:function(e){if(!e)return null;var t=e.indexOf(u);return-1===t?null:e.substr(0,t+u.length)},mostRecentMountedNodeHandleForRootNodeID:function(e){return c.rootNodeIDToTag[e]},tagToRootNodeID:[],rootNodeIDToTag:{}};o.exports=c}),__d("ReactUpdateQueue",["ReactCurrentOwner","ReactElement","ReactInstanceMap","ReactUpdates","Object.assign","invariant","warning"],function(e,t,n,r,o){"use strict";function i(e){l.enqueueUpdate(e)}function a(e,t){__DEV__&&d(null==s.current,"%s(...): Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state.",t);var n=c.get(e);return n?n:(__DEV__&&d(!t,"%s(...): Can only update a mounted or mounting component. This usually means you called %s() on an unmounted component. This is a no-op. Please check the code for the %s component.",t,t,e.constructor.displayName),null)}var s=t("ReactCurrentOwner"),u=t("ReactElement"),c=t("ReactInstanceMap"),l=t("ReactUpdates"),p=t("Object.assign"),f=t("invariant"),d=t("warning"),h={isMounted:function(e){if(__DEV__){var t=s.current;null!==t&&(d(t._warnedAboutRefsInRender,"%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",t.getName()||"A component"),t._warnedAboutRefsInRender=!0)}var n=c.get(e);return n?!!n._renderedComponent:!1},enqueueCallback:function(e,t){f("function"==typeof t,"enqueueCallback(...): You called `setProps`, `replaceProps`, `setState`, `replaceState`, or `forceUpdate` with a callback that isn't callable.");var n=a(e);return n?(n._pendingCallbacks?n._pendingCallbacks.push(t):n._pendingCallbacks=[t],void i(n)):null},enqueueCallbackInternal:function(e,t){f("function"==typeof t,"enqueueCallback(...): You called `setProps`, `replaceProps`, `setState`, `replaceState`, or `forceUpdate` with a callback that isn't callable."),e._pendingCallbacks?e._pendingCallbacks.push(t):e._pendingCallbacks=[t],i(e)},enqueueForceUpdate:function(e){var t=a(e,"forceUpdate");t&&(t._pendingForceUpdate=!0,i(t))},enqueueReplaceState:function(e,t){var n=a(e,"replaceState");n&&(n._pendingStateQueue=[t],n._pendingReplaceState=!0,i(n))},enqueueSetState:function(e,t){var n=a(e,"setState");if(n){var r=n._pendingStateQueue||(n._pendingStateQueue=[]);r.push(t),i(n)}},enqueueSetProps:function(e,t){var n=a(e,"setProps");n&&h.enqueueSetPropsInternal(n,t)},enqueueSetPropsInternal:function(e,t){var n=e._topLevelWrapper;f(n,"setProps(...): You called `setProps` on a component with a parent. This is an anti-pattern since props will get reactively updated when rendered. Instead, change the owner's `render` method to pass the correct value as props to the component where it is created.");var r=n._pendingElement||n._currentElement,o=r.props,a=p({},o.props,t);n._pendingElement=u.cloneAndReplaceProps(r,u.cloneAndReplaceProps(o,a)),i(n)},enqueueReplaceProps:function(e,t){var n=a(e,"replaceProps");n&&h.enqueueReplacePropsInternal(n,t)},enqueueReplacePropsInternal:function(e,t){var n=e._topLevelWrapper;f(n,"replaceProps(...): You called `replaceProps` on a component with a parent. This is an anti-pattern since props will get reactively updated when rendered. Instead, change the owner's `render` method to pass the correct value as props to the component where it is created.");var r=n._pendingElement||n._currentElement,o=r.props;n._pendingElement=u.cloneAndReplaceProps(r,u.cloneAndReplaceProps(o,t)),i(n)},enqueueElementInternal:function(e,t){e._pendingElement=t,i(e)}};o.exports=h}),__d("instantiateReactComponent",["ReactCompositeComponent","ReactEmptyComponent","ReactNativeComponent","Object.assign","invariant","warning"],function(e,t,n,r,o){"use strict";function i(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}function a(e){return"function"==typeof e&&"undefined"!=typeof e.prototype&&"function"==typeof e.prototype.mountComponent&&"function"==typeof e.prototype.receiveComponent}function s(e){var t;if((null===e||e===!1)&&(e=c.emptyElement),"object"==typeof e){var n=e;f(n&&("function"==typeof n.type||"string"==typeof n.type),"Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",null==n.type?n.type:typeof n.type,i(n._owner)),t="string"==typeof n.type?l.createInternalComponent(n):a(n.type)?new n.type(n):new h}else"string"==typeof e||"number"==typeof e?t=l.createInstanceForText(e):f(!1,"Encountered invalid React node of type %s",typeof e);return __DEV__&&d("function"==typeof t.construct&&"function"==typeof t.mountComponent&&"function"==typeof t.receiveComponent&&"function"==typeof t.unmountComponent,"Only React Components can be mounted."),t.construct(e),t._mountIndex=0,t._mountImage=null,__DEV__&&(t._isOwnerNecessary=!1,t._warnedAboutRefsInRender=!1),__DEV__&&Object.preventExtensions&&Object.preventExtensions(t),t}var u=t("ReactCompositeComponent"),c=t("ReactEmptyComponent"),l=t("ReactNativeComponent"),p=t("Object.assign"),f=t("invariant"),d=t("warning"),h=function(){};p(h.prototype,u.Mixin,{_instantiateReactComponent:s}),o.exports=s}),__d("ReactCompositeComponent",["ReactComponentEnvironment","ReactCurrentOwner","ReactElement","ReactInstanceMap","ReactPerf","ReactPropTypeLocations","ReactPropTypeLocationNames","ReactReconciler","ReactUpdateQueue","Object.assign","emptyObject","invariant","shouldUpdateReactComponent","warning"],function(e,t,n,r,o){"use strict";function i(e){var t=e._currentElement._owner||null;if(t){var n=t.getName();if(n)return" Check the render method of `"+n+"`."}return""}var a=t("ReactComponentEnvironment"),s=t("ReactCurrentOwner"),u=t("ReactElement"),c=t("ReactInstanceMap"),l=t("ReactPerf"),p=t("ReactPropTypeLocations"),f=t("ReactPropTypeLocationNames"),d=t("ReactReconciler"),h=t("ReactUpdateQueue"),m=t("Object.assign"),v=t("emptyObject"),g=t("invariant"),y=t("shouldUpdateReactComponent"),_=t("warning"),b=1,S={construct:function(e){this._currentElement=e,this._rootNodeID=null,this._instance=null,this._pendingElement=null,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._renderedComponent=null,this._context=null,this._mountOrder=0,this._topLevelWrapper=null,this._pendingCallbacks=null},mountComponent:function(e,t,n){this._context=n,this._mountOrder=b++,this._rootNodeID=e;var r=this._processProps(this._currentElement.props),o=this._processContext(n),i=this._currentElement.type,a=new i(r,o,h);__DEV__&&_(null!=a.render,"%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render` in your component or you may have accidentally tried to render an element whose type is a function that isn't a React component.",i.displayName||i.name||"Component"),a.props=r,a.context=o,a.refs=v,a.updater=h,this._instance=a,c.set(a,this),__DEV__&&(_(!a.getInitialState||a.getInitialState.isReactClassApproved,"getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",this.getName()||"a component"),_(!a.getDefaultProps||a.getDefaultProps.isReactClassApproved,"getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",this.getName()||"a component"),_(!a.propTypes,"propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",this.getName()||"a component"),_(!a.contextTypes,"contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",this.getName()||"a component"),_("function"!=typeof a.componentShouldUpdate,"%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",this.getName()||"A component"),_("function"!=typeof a.componentDidUnmount,"%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",this.getName()||"A component"),_("function"!=typeof a.componentWillRecieveProps,"%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",this.getName()||"A component"));var s=a.state;void 0===s&&(a.state=s=null),g("object"==typeof s&&!Array.isArray(s),"%s.state: must be set to an object or null",this.getName()||"ReactCompositeComponent"),this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,a.componentWillMount&&(a.componentWillMount(),this._pendingStateQueue&&(a.state=this._processPendingState(a.props,a.context)));var u=this._renderValidatedComponent();this._renderedComponent=this._instantiateReactComponent(u);var l=d.mountComponent(this._renderedComponent,e,t,this._processChildContext(n));return a.componentDidMount&&t.getReactMountReady().enqueue(a.componentDidMount,a),l},unmountComponent:function(){var e=this._instance;e.componentWillUnmount&&e.componentWillUnmount(),d.unmountComponent(this._renderedComponent),this._renderedComponent=null,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._pendingCallbacks=null,this._pendingElement=null,this._context=null,this._rootNodeID=null,this._topLevelWrapper=null,c.remove(e)},_maskContext:function(e){var t=null,n=this._currentElement.type,r=n.contextTypes;if(!r)return v;t={};for(var o in r)t[o]=e[o];return t},_processContext:function(e){var t=this._maskContext(e);if(__DEV__){var n=this._currentElement.type;n.contextTypes&&this._checkPropTypes(n.contextTypes,t,p.context)}return t},_processChildContext:function(e){var t=this._currentElement.type,n=this._instance,r=n.getChildContext&&n.getChildContext();if(r){g("object"==typeof t.childContextTypes,"%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",this.getName()||"ReactCompositeComponent"),__DEV__&&this._checkPropTypes(t.childContextTypes,r,p.childContext);for(var o in r)g(o in t.childContextTypes,'%s.getChildContext(): key "%s" is not defined in childContextTypes.',this.getName()||"ReactCompositeComponent",o);return m({},e,r)}return e},_processProps:function(e){if(__DEV__){var t=this._currentElement.type;t.propTypes&&this._checkPropTypes(t.propTypes,e,p.prop)}return e},_checkPropTypes:function(e,t,n){var r=this.getName();for(var o in e)if(e.hasOwnProperty(o)){var a;try{g("function"==typeof e[o],"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",r||"React class",f[n],o),a=e[o](t,o,r,n)}catch(s){a=s}if(a instanceof Error){var u=i(this);n===p.prop?_(!1,"Failed Composite propType: %s%s",a.message,u):_(!1,"Failed Context Types: %s%s",a.message,u)}}},receiveComponent:function(e,t,n){var r=this._currentElement,o=this._context;this._pendingElement=null,this.updateComponent(t,r,e,o,n)},performUpdateIfNecessary:function(e){null!=this._pendingElement&&d.receiveComponent(this,this._pendingElement||this._currentElement,e,this._context),(null!==this._pendingStateQueue||this._pendingForceUpdate)&&this.updateComponent(e,this._currentElement,this._currentElement,this._context,this._context)},updateComponent:function(e,t,n,r,o){var i,a=this._instance,s=this._context===o?a.context:this._processContext(o);t===n?i=n.props:(i=this._processProps(n.props),a.componentWillReceiveProps&&a.componentWillReceiveProps(i,s));var u=this._processPendingState(i,s),c=this._pendingForceUpdate||!a.shouldComponentUpdate||a.shouldComponentUpdate(i,u,s);__DEV__&&_("undefined"!=typeof c,"%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",this.getName()||"ReactCompositeComponent"),c?(this._pendingForceUpdate=!1,this._performComponentUpdate(n,i,u,s,e,o)):(this._currentElement=n,this._context=o,a.props=i,a.state=u,a.context=s)},_processPendingState:function(e,t){var n=this._instance,r=this._pendingStateQueue,o=this._pendingReplaceState;if(this._pendingReplaceState=!1,this._pendingStateQueue=null,!r)return n.state;if(o&&1===r.length)return r[0];for(var i=m({},o?r[0]:n.state),a=o?1:0;a<r.length;a++){var s=r[a];m(i,"function"==typeof s?s.call(n,i,e,t):s)}return i},_performComponentUpdate:function(e,t,n,r,o,i){var a,s,u,c=this._instance,l=Boolean(c.componentDidUpdate);l&&(a=c.props,s=c.state,u=c.context),c.componentWillUpdate&&c.componentWillUpdate(t,n,r),this._currentElement=e,this._context=i,c.props=t,c.state=n,c.context=r,this._updateRenderedComponent(o,i),l&&o.getReactMountReady().enqueue(c.componentDidUpdate.bind(c,a,s,u),c)},_updateRenderedComponent:function(e,t){var n=this._renderedComponent,r=n._currentElement,o=this._renderValidatedComponent();if(y(r,o))d.receiveComponent(n,o,e,this._processChildContext(t));else{var i=this._rootNodeID,a=n._rootNodeID;d.unmountComponent(n),this._renderedComponent=this._instantiateReactComponent(o);var s=d.mountComponent(this._renderedComponent,i,e,this._processChildContext(t));this._replaceNodeWithMarkupByID(a,s)}},_replaceNodeWithMarkupByID:function(e,t){a.replaceNodeWithMarkupByID(e,t)},_renderValidatedComponentWithoutOwnerOrContext:function(){var e=this._instance,t=e.render();return __DEV__&&"undefined"==typeof t&&e.render._isMockFunction&&(t=null),t},_renderValidatedComponent:function(){var e;s.current=this;try{e=this._renderValidatedComponentWithoutOwnerOrContext()}finally{s.current=null}return g(null===e||e===!1||u.isValidElement(e),"%s.render(): A valid ReactComponent must be returned. You may have returned undefined, an array or some other invalid object.",this.getName()||"ReactCompositeComponent"),e},attachRef:function(e,t){var n=this.getPublicInstance(),r=n.refs===v?n.refs={}:n.refs;r[e]=t.getPublicInstance()},detachRef:function(e){var t=this.getPublicInstance().refs;delete t[e]},getName:function(){var e=this._currentElement.type,t=this._instance&&this._instance.constructor;return e.displayName||t&&t.displayName||e.name||t&&t.name||null},getPublicInstance:function(){return this._instance},_instantiateReactComponent:null};l.measureMethods(S,"ReactCompositeComponent",{mountComponent:"mountComponent",updateComponent:"updateComponent",_renderValidatedComponent:"_renderValidatedComponent"});var R={Mixin:S};o.exports=R}),__d("ReactComponentEnvironment",["invariant"],function(e,t,n,r,o){"use strict";var i=t("invariant"),a=!1,s={unmountIDFromEnvironment:null,replaceNodeWithMarkupByID:null,processChildrenUpdates:null,injection:{injectEnvironment:function(e){i(!a,"ReactCompositeComponent: injectEnvironment() can only be called once."),s.unmountIDFromEnvironment=e.unmountIDFromEnvironment,s.replaceNodeWithMarkupByID=e.replaceNodeWithMarkupByID,s.processChildrenUpdates=e.processChildrenUpdates,a=!0}}};o.exports=s}),__d("shouldUpdateReactComponent",[],function(e,t,n,r,o){"use strict";function i(e,t){if(null!=e&&null!=t){var n=typeof e,r=typeof t;return"string"===n||"number"===n?"string"===r||"number"===r:"object"===r&&e.type===t.type&&e.key===t.key}return!1}o.exports=i}),__d("ReactEmptyComponent",["ReactElement","ReactInstanceMap","invariant"],function(e,t,n,r,o){"use strict";function i(e){f[e]=!0}function a(e){delete f[e]}function s(e){return!!f[e]}var u,c=t("ReactElement"),l=t("ReactInstanceMap"),p=t("invariant"),f={},d={injectEmptyComponent:function(e){u=c.createFactory(e)}},h=function(){};h.prototype.componentDidMount=function(){var e=l.get(this);e&&i(e._rootNodeID)},h.prototype.componentWillUnmount=function(){var e=l.get(this);e&&a(e._rootNodeID)},h.prototype.render=function(){return p(u,"Trying to return null from a render, but no null placeholder component was injected."),u()};var m=c.createElement(h),v={emptyElement:m,injection:d,isNullComponentID:s};o.exports=v}),__d("ReactNativeComponent",["Object.assign","invariant"],function(e,t,n,r,o){"use strict";function i(e){if("function"==typeof e.type)return e.type;var t=e.type,n=d[t];return null==n&&(d[t]=n=p(t)),n}function a(e){return l(f,"There is no registered component for the tag %s",e.type),new f(e.type,e.props)}function s(e){return new h(e)}function u(e){return e instanceof h}var c=t("Object.assign"),l=t("invariant"),p=null,f=null,d={},h=null,m={injectGenericComponentClass:function(e){f=e},injectTextComponentClass:function(e){h=e},injectComponentClasses:function(e){c(d,e)}},v={getComponentClassForElement:i,createInternalComponent:a,createInstanceForText:s,isTextComponent:u,injection:m};o.exports=v}),__d("findNodeHandle",["ReactCurrentOwner","ReactInstanceMap","ReactNativeTagHandles","invariant","warning"],function(e,t,n,r,o){"use strict";function i(e){if(__DEV__){var t=a.current;null!==t&&(l(t._warnedAboutRefsInRender,"%s is accessing findNodeHandle inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",t.getName()||"A component"),t._warnedAboutRefsInRender=!0)}if(null==e)return null;if("number"==typeof e)return e;var n=e,r=s.get(n);if(r)return u.rootNodeIDToTag[r._rootNodeID];var o=n._rootNodeID;return o?u.rootNodeIDToTag[o]:(c("object"==typeof n&&"_rootNodeID"in n||null!=n.render&&"function"==typeof n.render,"findNodeHandle(...): Argument is not a component (type: %s, keys: %s)",typeof n,Object.keys(n)),void c(!1,"findNodeHandle(...): Unable to find node handle for unmounted component."))}var a=t("ReactCurrentOwner"),s=t("ReactInstanceMap"),u=t("ReactNativeTagHandles"),c=t("invariant"),l=t("warning");o.exports=i}),__d("RCTDeviceEventEmitter",["EventEmitter"],function(e,t,n,r,o){"use strict";var i=t("EventEmitter"),a=new i;o.exports=a}),__d("EventEmitter",["EmitterSubscription","ErrorUtils","EventSubscriptionVendor","emptyFunction","invariant"],function(e,t,n,r,o){function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=t("EmitterSubscription"),u=t("ErrorUtils"),c=t("EventSubscriptionVendor"),l=t("emptyFunction"),p=t("invariant"),f=function(){function e(){i(this,e),this._subscriber=new c}return a(e,[{key:"addListener",value:function(e,t,n){return this._subscriber.addSubscription(e,new s(this._subscriber,t,n))}},{key:"once",value:function(e,t,n){var r=this;return this.addListener(e,function(){r.removeCurrentListener(),t.apply(n,arguments)})}},{key:"removeAllListeners",value:function(e){this._subscriber.removeAllSubscriptions(e)}},{key:"removeCurrentListener",value:function(){p(!!this._currentSubscription,"Not in an emitting cycle; there is no current subscription"),this._subscriber.removeSubscription(this._currentSubscription)}},{key:"listeners",value:function(e){var t=this._subscriber.getSubscriptionsForType(e);return t?t.filter(l.thatReturnsTrue).map(function(e){return e.listener}):[]}},{key:"emit",value:function(e){var t=this._subscriber.getSubscriptionsForType(e);if(t){for(var n=Object.keys(t),r=0;r<n.length;r++){var o=n[r],i=t[o];i&&(this._currentSubscription=i,u.applyWithGuard(i.listener,i.context,Array.prototype.slice.call(arguments,1),null,"EventEmitter:"+e))}this._currentSubscription=null}}}]),e}();o.exports=f}),__d("EmitterSubscription",["EventSubscription"],function(e,t,n,r,o){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=function l(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:l(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)},u=t("EventSubscription"),c=function(e){function t(e,n,r){i(this,t),s(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,e),this.listener=n,this.context=r}return a(t,e),t}(u);o.exports=c}),__d("EventSubscription",[],function(e,t,n,r,o){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=function(){function e(t){i(this,e),this.subscriber=t}return a(e,[{key:"remove",value:function(){this.subscriber.removeSubscription(this)}}]),e}();o.exports=s}),__d("EventSubscriptionVendor",["invariant"],function(e,t,n,r,o){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=t("invariant"),u=function(){function e(){i(this,e),this._subscriptionsForType={},this._currentSubscription=null}return a(e,[{key:"addSubscription",value:function(e,t){s(t.subscriber===this,"The subscriber of the subscription is incorrectly set."),this._subscriptionsForType[e]||(this._subscriptionsForType[e]=[]);var n=this._subscriptionsForType[e].length;return this._subscriptionsForType[e].push(t),t.eventType=e,t.key=n,t}},{key:"removeAllSubscriptions",value:function(e){void 0===e?this._subscriptionsForType={}:delete this._subscriptionsForType[e]}},{key:"removeSubscription",value:function(e){var t=e.eventType,n=e.key,r=this._subscriptionsForType[t];r&&delete r[n]}},{key:"getSubscriptionsForType",value:function(e){return this._subscriptionsForType[e]}}]),e}();o.exports=u}),__d("PerformanceLogger",["performanceNow"],function(e,t,n,r,o){"use strict";var i=t("performanceNow"),a={},s={addTimespan:function(e,t,n){return a[e]?void(__DEV__&&console.log("PerformanceLogger: Attempting to add a timespan that already exists ",e)):void(a[e]={description:n,totalTime:t})},startTimespan:function(e,t){return a[e]?void(__DEV__&&console.log("PerformanceLogger: Attempting to start a timespan that already exists ",e)):void(a[e]={description:t,startTime:i()})},stopTimespan:function(e){return a[e]&&a[e].startTime?(a[e].endTime=i(),void(a[e].totalTime=a[e].endTime-a[e].startTime)):void(__DEV__&&console.log("PerformanceLogger: Attempting to end a timespan that has not started ",e))},clearTimespans:function(){a={}},getTimespans:function(){return a},hasTimespan:function(e){return!!a[e]},logTimespans:function(){for(var e in a)a[e].totalTime&&console.log(e+": "+a[e].totalTime+"ms")},addTimespans:function(e,t){for(var n=0,r=e.length;r>n;n+=2){var o=t[n/2];s.addTimespan(o,e[n+1]-e[n],o)}}};o.exports=s}),__d("regenerator/runtime.js",[],function(e,t,n,r,o){!function(e){"use strict";function t(e,t,n,o){var i=Object.create((t||r).prototype);return i._invoke=l(e,n||null,new d(o||[])),i}function n(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(r){return{type:"throw",arg:r}}}function r(){}function i(){}function a(){}function s(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function u(e){this.arg=e}function c(e){function t(t,n){var r=e[t](n),a=r.value;return a instanceof u?Promise.resolve(a.arg).then(o,i):Promise.resolve(a).then(function(e){return r.value=e,r})}function n(e,n){var o=r?r.then(function(){return t(e,n)}):new Promise(function(r){r(t(e,n))});return r=o["catch"](function(){}),o}"object"==typeof process&&process.domain&&(t=process.domain.bind(t));{var r,o=t.bind(e,"next"),i=t.bind(e,"throw");t.bind(e,"return")}this._invoke=n}function l(e,t,r){var o=S;return function(i,a){if(o===E)throw new Error("Generator is already running");if(o===x){if("throw"===i)throw a;return m()}for(;;){var s=r.delegate;if(s){if("return"===i||"throw"===i&&s.iterator[i]===v){r.delegate=null;var u=s.iterator["return"];if(u){var c=n(u,s.iterator,a);if("throw"===c.type){i="throw",a=c.arg;continue}}if("return"===i)continue}var c=n(s.iterator[i],s.iterator,a);if("throw"===c.type){r.delegate=null,i="throw",a=c.arg;continue}i="next",a=v;var l=c.arg;if(!l.done)return o=R,l;r[s.resultName]=l.value,r.next=s.nextLoc,r.delegate=null}if("next"===i)r.sent=o===R?a:v;else if("throw"===i){if(o===S)throw o=x,a;r.dispatchException(a)&&(i="next",a=v)}else"return"===i&&r.abrupt("return",a);o=E;var c=n(e,t,r);if("normal"===c.type){o=r.done?x:R;var l={value:c.arg,done:r.done};if(c.arg!==T)return l;r.delegate&&"next"===i&&(a=v)}else"throw"===c.type&&(o=x,i="throw",a=c.arg)}}}function p(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function f(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function d(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(p,this),this.reset(!0)}function h(e){if(e){var t=e[y];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function o(){for(;++n<e.length;)if(g.call(e,n))return o.value=e[n],o.done=!1,o;return o.value=v,o.done=!0,o};return r.next=r}}return{next:m}}function m(){return{value:v,done:!0}}var v,g=Object.prototype.hasOwnProperty,y="function"==typeof Symbol&&Symbol.iterator||"@@iterator",_="object"==typeof o,b=e.regeneratorRuntime;if(b)return void(_&&(o.exports=b));b=e.regeneratorRuntime=_?o.exports:{},b.wrap=t;var S="suspendedStart",R="suspendedYield",E="executing",x="completed",T={},w=a.prototype=r.prototype;i.prototype=w.constructor=a,a.constructor=i,i.displayName="GeneratorFunction",b.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return t?t===i||"GeneratorFunction"===(t.displayName||t.name):!1},b.mark=function(e){return e.__proto__=a,e.prototype=Object.create(w),e},b.awrap=function(e){return new u(e)},s(c.prototype),b.async=function(e,n,r,o){var i=new c(t(e,n,r,o));return b.isGeneratorFunction(n)?i:i.next().then(function(e){return e.done?e.value:i.next()})},s(w),w[y]=function(){return this},w.toString=function(){return"[object Generator]"},b.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},b.values=h,d.prototype={constructor:d,reset:function(e){if(this.prev=0,this.next=0,this.sent=v,this.done=!1,this.delegate=null,this.tryEntries.forEach(f),!e)for(var t in this)"t"===t.charAt(0)&&g.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=v)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){function t(t,r){return i.type="throw",i.arg=e,n.next=t,!!r}if(this.done)throw e;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var a=g.call(o,"catchLoc"),s=g.call(o,"finallyLoc");if(a&&s){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&g.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?this.next=o.finallyLoc:this.complete(i),T},complete:function(e,t){if("throw"===e.type)throw e.arg;"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=e.arg,this.next="end"):"normal"===e.type&&t&&(this.next=t)},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),f(n),T}},"catch":function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;f(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:h(e),resultName:t,nextLoc:n},T}}}("object"==typeof e?e:"object"==typeof window?window:"object"==typeof self?self:this)}),__d("ExceptionsManager",["NativeModules","loadSourceMap","parseErrorStack","stringifySafe"],function(e,t,n,r,o){"use strict";function i(e,t,n){var r=++v;f&&(n||(n=h(e)),t?f.reportFatalException(e.message,n,r):f.reportSoftException(e.message,n),__DEV__&&(p=p||d()).then(function(t){var n=h(e,t);f.updateExceptionMessage(e.message,n,r)})["catch"](function(e){console.warn("Unable to load source map: "+e.message)}))}function a(e,t){var n=h(e),r="Error: "+e.message+"\n stack: \n"+u(n)+"\n URL: "+e.sourceURL+"\n line: "+e.line+"\n message: "+e.message;console.errorOriginal?console.errorOriginal(r):console.error(r),i(e,t,n)}function s(){console.reportException||(console.reportException=i,console.errorOriginal=console.error.bind(console),console.error=function(){if(console.errorOriginal.apply(null,arguments),console.reportErrorsAsExceptions){var e=Array.prototype.map.call(arguments,m).join(", ");if('"Warning: '!==e.slice(0,10)){var t=new Error("console.error: "+e);t.framesToPop=1,i(t,!1)}}},void 0===console.reportErrorsAsExceptions&&(console.reportErrorsAsExceptions=!0))}function u(e){var t=Math.max.apply(null,e.map(function(e){return e.methodName.length}));return e.map(function(e){return c(e,t)}).join("\n")}function c(e,t){var n=e.file.split("/"),r=n[n.length-1];r.length>18&&(r=r.substr(0,17)+"…");var o=l(t-e.methodName.length);return" "+e.methodName+o+" "+r+":"+e.lineNumber}function l(e){return new Array(e+1).join(" ")}var p,f=t("NativeModules").ExceptionsManager,d=t("loadSourceMap"),h=t("parseErrorStack"),m=t("stringifySafe"),v=0;o.exports={handleException:a,installConsoleErrorReporter:s}}),__d("loadSourceMap",["Promise","NativeModules","SourceMap","react-native/Libraries/JavaScriptAppEngine/Initialization/source-map-url.js"],function(e,t,n,r,o){"use strict";function i(){return a().then(function(e){return new l(e)})}function a(){return e.RAW_SOURCE_MAP?u.resolve(e.RAW_SOURCE_MAP):f?d?new u(f.getScriptText).then(s).then(function(e){return null===e?u.reject(new Error("No source map URL found. May be running from bundled file.")):u.resolve(e)}).then(fetch).then(function(e){return e.text()}):u.reject(new Error("RCTNetworking module is not available")):u.reject(new Error("RCTSourceCode module is not available"))}function s(e){var t=e.url,n=e.text,r=e.fullSourceMappingURL;if(r)return r;var o=p.getFrom(n);if(!o)return null;var i=t.match(/(.+:\/\/.*?)\//)[1];return i+o}var u=t("Promise"),c=t("NativeModules"),l=t("SourceMap").SourceMapConsumer,p=t("react-native/Libraries/JavaScriptAppEngine/Initialization/source-map-url.js"),f=c.SourceCode,d=c.Networking;o.exports=i}),__d("Promise",["setImmediate","promise/setimmediate/es6-extensions.js","promise/setimmediate/done.js"],function(e,t,n,r,o){"use strict";e.setImmediate=t("setImmediate");var i=t("promise/setimmediate/es6-extensions.js");t("promise/setimmediate/done.js"),i.prototype["finally"]=function(e){return this.then(e,e)},o.exports=i}),__d("setImmediate",["ImmediateImplementation"],function(e,t,n,r,o){o.exports=e.setImmediate||t("ImmediateImplementation").setImmediate}),__d("ImmediateImplementation",[],function(e,t,n,r,o,i){!function(e,t){"use strict";function n(e){var n=e[0];return e=Array.prototype.slice.call(e,1),d[f]=function(){n.apply(t,e)},m=m.next={handle:f++},m.handle}function r(){for(var e,t;!v&&(e=h.next);)if(h=e,t=d[e.handle]){v=!0;try{t(),v=!1}finally{o(e.handle),v&&(v=!1,h.next&&p(r))}}}function o(e){delete d[e]}function a(){if(e.postMessage&&!e.importScripts){var t=!0,n=function(){t=!1,e.removeEventListener?e.removeEventListener("message",n,!1):e.detachEvent("onmessage",n)};if(e.addEventListener)e.addEventListener("message",n,!1);else{if(!e.attachEvent)return!1;e.attachEvent("onmessage",n)}return e.postMessage("","*"),t}}function s(){var t="setImmediate$"+Math.random()+"$",o=function(n){n.source===e&&"string"==typeof n.data&&0===n.data.indexOf(t)&&r()};e.addEventListener?e.addEventListener("message",o,!1):e.attachEvent("onmessage",o),p=function(){var r=n(arguments);return e.postMessage(t+r,"*"),r}}function u(){var e=new MessageChannel;e.port1.onmessage=r,p=function(){var t=n(arguments);return e.port2.postMessage(t),t}}function c(){var e=g.documentElement;p=function(){var t=n(arguments),o=g.createElement("script");return o.onreadystatechange=function(){o.onreadystatechange=null,e.removeChild(o),o=null,r()},e.appendChild(o),t}}function l(){p=function(){return setTimeout(r,0),n(arguments)}}var p,f=1,d={},h={},m=h,v=!1,g=e.document;a()?s():e.MessageChannel?u():g&&"onreadystatechange"in g.createElement("script")?c():l(),i.setImmediate=p,i.clearImmediate=o}(Function("return this")())}),__d("promise/setimmediate/es6-extensions.js",["promise/setimmediate/core.js"],function(e,t,n,r,o){"use strict";function i(e){var t=new a(a._99);return t._37=1,t._12=e,t}var a=t("promise/setimmediate/core.js");o.exports=a;var s=i(!0),u=i(!1),c=i(null),l=i(void 0),p=i(0),f=i("");a.resolve=function(e){if(e instanceof a)return e;if(null===e)return c;if(void 0===e)return l;if(e===!0)return s;if(e===!1)return u;if(0===e)return p;if(""===e)return f;if("object"==typeof e||"function"==typeof e)try{var t=e.then;if("function"==typeof t)return new a(t.bind(e))}catch(n){return new a(function(e,t){t(n)})}return i(e)},a.all=function(e){var t=Array.prototype.slice.call(e);return new a(function(e,n){function r(i,s){if(s&&("object"==typeof s||"function"==typeof s)){if(s instanceof a&&s.then===a.prototype.then){for(;3===s._37;)s=s._12;return 1===s._37?r(i,s._12):(2===s._37&&n(s._12),void s.then(function(e){r(i,e)},n))}var u=s.then;if("function"==typeof u){var c=new a(u.bind(s));return void c.then(function(e){r(i,e)},n)}}t[i]=s,0===--o&&e(t)}if(0===t.length)return e([]);for(var o=t.length,i=0;i<t.length;i++)r(i,t[i])})},a.reject=function(e){return new a(function(t,n){n(e)})},a.race=function(e){return new a(function(t,n){e.forEach(function(e){a.resolve(e).then(t,n)})})},a.prototype["catch"]=function(e){return this.then(null,e)}}),__d("promise/setimmediate/core.js",[],function(e,t,n,r,o){"use strict";function i(){}function a(e){try{return e.then}catch(t){return g=t,y}}function s(e,t){try{return e(t)}catch(n){return g=n,y}}function u(e,t,n){try{e(t,n)}catch(r){return g=r,y}}function c(e){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._37=0,this._12=null,this._59=[],e!==i&&v(e,this)}function l(e,t,n){return new e.constructor(function(r,o){var a=new c(i);a.then(r,o),p(e,new m(t,n,a))})}function p(e,t){for(;3===e._37;)e=e._12;return 0===e._37?void e._59.push(t):void setImmediate(function(){var n=1===e._37?t.onFulfilled:t.onRejected;if(null===n)return void(1===e._37?f(t.promise,e._12):d(t.promise,e._12));var r=s(n,e._12);r===y?d(t.promise,g):f(t.promise,r)})}function f(e,t){if(t===e)return d(e,new TypeError("A promise cannot be resolved with itself."));if(t&&("object"==typeof t||"function"==typeof t)){var n=a(t);if(n===y)return d(e,g);if(n===e.then&&t instanceof c)return e._37=3,e._12=t,void h(e);if("function"==typeof n)return void v(n.bind(t),e)}e._37=1,e._12=t,h(e)}function d(e,t){e._37=2,e._12=t,h(e)}function h(e){for(var t=0;t<e._59.length;t++)p(e,e._59[t]);e._59=null}function m(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}function v(e,t){var n=!1,r=u(e,function(e){n||(n=!0,f(t,e))},function(e){n||(n=!0,d(t,e))});n||r!==y||(n=!0,d(t,g))}var g=null,y={};o.exports=c,c._99=i,c.prototype.then=function(e,t){if(this.constructor!==c)return l(this,e,t);var n=new c(i);return p(this,new m(e,t,n)),n}}),__d("promise/setimmediate/done.js",["promise/setimmediate/core.js"],function(e,t,n,r,o){"use strict";var i=t("promise/setimmediate/core.js");o.exports=i,i.prototype.done=function(){var e=arguments.length?this.then.apply(this,arguments):this;e.then(null,function(e){setTimeout(function(){throw e},0)})}}),__d("SourceMap",[],function(e,t,n,r,o){function i(){function e(t,n,r){if("string"!=typeof t)throw new TypeError("Expected string, got: "+t);if(2==arguments.length&&(r=n),t in e.modules)throw new Error("Module already defined: "+t);e.modules[t]=r}function t(){this.modules={},this._currentModule=null}e.modules={},function(){function n(e){for(var t=e.split("/"),n=1;n<t.length;)".."===t[n]?t.splice(n-1,1):"."===t[n]?t.splice(n,1):n++;return t.join("/")}function r(e,t){return e=e.trim(),t=t.trim(),/^\//.test(t)?t:e.replace(/\/*$/,"/")+t}function o(e){var t=e.split("/");return t.pop(),t.join("/")}t.prototype.require=function(e,t){if(Array.isArray(e)){var n=e.map(function(e){return this.lookup(e)},this);return void(t&&t.apply(null,n))}return this.lookup(e)},t.prototype.lookup=function(t){if(/^\./.test(t)&&(t=n(r(o(this._currentModule),t))),t in this.modules){var i=this.modules[t];return i}if(!(t in e.modules))throw new Error("Module not defined: "+t);var i=e.modules[t];if("function"==typeof i){var a={},s=this._currentModule;this._currentModule=t,i(this.require.bind(this),a,{id:t,uri:""}),this._currentModule=s,i=a}return this.modules[t]=i,i}}(),e.Domain=t,e.globalDomain=new t;var n=e.globalDomain.require.bind(e.globalDomain);e("source-map/source-map-generator",["require","exports","module","source-map/base64-vlq","source-map/util","source-map/array-set"],function(e,t){function n(e){this._file=o.getArg(e,"file"),this._sourceRoot=o.getArg(e,"sourceRoot",null),this._sources=new i,this._names=new i,this._mappings=[],this._sourcesContents=null}var r=e("./base64-vlq"),o=e("./util"),i=e("./array-set").ArraySet;n.prototype._version=3,n.fromSourceMap=function(e){var t=e.sourceRoot,r=new n({file:e.file,sourceRoot:t});return e.eachMapping(function(e){var n={generated:{line:e.generatedLine,column:e.generatedColumn}};e.source&&(n.source=e.source,t&&(n.source=o.relative(t,n.source)),n.original={line:e.originalLine,column:e.originalColumn},e.name&&(n.name=e.name)),r.addMapping(n)}),e.sources.forEach(function(t){var n=e.sourceContentFor(t);n&&r.setSourceContent(t,n)}),r},n.prototype.addMapping=function(e){var t=o.getArg(e,"generated"),n=o.getArg(e,"original",null),r=o.getArg(e,"source",null),i=o.getArg(e,"name",null);this._validateMapping(t,n,r,i),r&&!this._sources.has(r)&&this._sources.add(r),i&&!this._names.has(i)&&this._names.add(i),this._mappings.push({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=n&&n.line,originalColumn:null!=n&&n.column,source:r,name:i})},n.prototype.setSourceContent=function(e,t){var n=e;this._sourceRoot&&(n=o.relative(this._sourceRoot,n)),null!==t?(this._sourcesContents||(this._sourcesContents={}),this._sourcesContents[o.toSetString(n)]=t):(delete this._sourcesContents[o.toSetString(n)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},n.prototype.applySourceMap=function(e,t){t||(t=e.file);var n=this._sourceRoot;n&&(t=o.relative(n,t));var r=new i,a=new i;this._mappings.forEach(function(i){if(i.source===t&&i.originalLine){var s=e.originalPositionFor({line:i.originalLine,column:i.originalColumn});null!==s.source&&(i.source=n?o.relative(n,s.source):s.source,i.originalLine=s.line,i.originalColumn=s.column,null!==s.name&&null!==i.name&&(i.name=s.name))}var u=i.source;u&&!r.has(u)&&r.add(u);var c=i.name;c&&!a.has(c)&&a.add(c)},this),this._sources=r,this._names=a,e.sources.forEach(function(t){var r=e.sourceContentFor(t);r&&(n&&(t=o.relative(n,t)),this.setSourceContent(t,r))},this)},n.prototype._validateMapping=function(e,t,n,r){if(!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!t&&!n&&!r||e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,orginal:t,name:r}))},n.prototype._serializeMappings=function(){var e,t=0,n=1,i=0,a=0,s=0,u=0,c="";this._mappings.sort(o.compareByGeneratedPositions);for(var l=0,p=this._mappings.length;p>l;l++){if(e=this._mappings[l],e.generatedLine!==n)for(t=0;e.generatedLine!==n;)c+=";",n++;else if(l>0){if(!o.compareByGeneratedPositions(e,this._mappings[l-1]))continue;c+=","}c+=r.encode(e.generatedColumn-t),t=e.generatedColumn,e.source&&(c+=r.encode(this._sources.indexOf(e.source)-u),u=this._sources.indexOf(e.source),c+=r.encode(e.originalLine-1-a),a=e.originalLine-1,c+=r.encode(e.originalColumn-i),i=e.originalColumn,e.name&&(c+=r.encode(this._names.indexOf(e.name)-s),s=this._names.indexOf(e.name)))}return c},n.prototype._generateSourcesContent=function(e,t){return e.map(function(e){if(!this._sourcesContents)return null;t&&(e=o.relative(t,e));var n=o.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null},this)},n.prototype.toJSON=function(){var e={version:this._version,file:this._file,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},n.prototype.toString=function(){return JSON.stringify(this)},t.SourceMapGenerator=n}),e("source-map/base64-vlq",["require","exports","module","source-map/base64"],function(e,t){function n(e){return 0>e?(-e<<1)+1:(e<<1)+0}function r(e){var t=1===(1&e),n=e>>1;return t?-n:n}var o=e("./base64"),i=5,a=1<<i,s=a-1,u=a;t.encode=function(e){var t,r="",a=n(e);do t=a&s,a>>>=i,a>0&&(t|=u),r+=o.encode(t);while(a>0);return r},t.decode=function(e){var t,n,a=0,c=e.length,l=0,p=0;do{if(a>=c)throw new Error("Expected more digits in base 64 VLQ value.");n=o.decode(e.charAt(a++)),t=!!(n&u),n&=s,l+=n<<p,p+=i}while(t);return{value:r(l),rest:e.slice(a)}}}),e("source-map/base64",["require","exports","module"],function(e,t){var n={},r={};"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("").forEach(function(e,t){n[e]=t,r[t]=e}),t.encode=function(e){if(e in r)return r[e];throw new TypeError("Must be between 0 and 63: "+e)},t.decode=function(e){if(e in n)return n[e];throw new TypeError("Not a valid base 64 digit: "+e)}}),e("source-map/util",["require","exports","module"],function(e,t){function n(e,t,n){if(t in e)return e[t];if(3===arguments.length)return n;throw new Error('"'+t+'" is a required argument.')}function r(e){var t=e.match(f);return t?{scheme:t[1],auth:t[3],host:t[4],port:t[6],path:t[7]}:null}function o(e){var t=e.scheme+"://";return e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}function i(e,t){var n;return t.match(f)||t.match(d)?t:"/"===t.charAt(0)&&(n=r(e))?(n.path=t,o(n)):e.replace(/\/$/,"")+"/"+t}function a(e){return"$"+e}function s(e){return e.substr(1)}function u(e,t){e=e.replace(/\/$/,"");var n=r(e);return"/"==t.charAt(0)&&n&&"/"==n.path?t.slice(1):0===t.indexOf(e+"/")?t.substr(e.length+1):t}function c(e,t){var n=e||"",r=t||"";return(n>r)-(r>n)}function l(e,t,n){var r;return(r=c(e.source,t.source))?r:(r=e.originalLine-t.originalLine)?r:(r=e.originalColumn-t.originalColumn,r||n?r:(r=c(e.name,t.name))?r:(r=e.generatedLine-t.generatedLine,r?r:e.generatedColumn-t.generatedColumn))}function p(e,t,n){var r;return(r=e.generatedLine-t.generatedLine)?r:(r=e.generatedColumn-t.generatedColumn,r||n?r:(r=c(e.source,t.source))?r:(r=e.originalLine-t.originalLine)?r:(r=e.originalColumn-t.originalColumn,r?r:c(e.name,t.name)))}t.getArg=n;var f=/([\w+\-.]+):\/\/((\w+:\w+)@)?([\w.]+)?(:(\d+))?(\S+)?/,d=/^data:.+\,.+/;t.urlParse=r,t.urlGenerate=o,t.join=i,t.toSetString=a,t.fromSetString=s,t.relative=u,t.compareByOriginalPositions=l,t.compareByGeneratedPositions=p}),e("source-map/array-set",["require","exports","module","source-map/util"],function(e,t){function n(){this._array=[],this._set={}}var r=e("./util");n.fromArray=function(e,t){for(var r=new n,o=0,i=e.length;i>o;o++)r.add(e[o],t);return r},n.prototype.add=function(e,t){var n=this.has(e),o=this._array.length;(!n||t)&&this._array.push(e),n||(this._set[r.toSetString(e)]=o)},n.prototype.has=function(e){return Object.prototype.hasOwnProperty.call(this._set,r.toSetString(e))},n.prototype.indexOf=function(e){if(this.has(e))return this._set[r.toSetString(e)];throw new Error('"'+e+'" is not in the set.')},n.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},n.prototype.toArray=function(){return this._array.slice()},t.ArraySet=n}),e("source-map/source-map-consumer",["require","exports","module","source-map/util","source-map/binary-search","source-map/array-set","source-map/base64-vlq"],function(e,t){function n(e){var t=e;"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var n=r.getArg(t,"version"),o=r.getArg(t,"sources"),a=r.getArg(t,"names",[]),s=r.getArg(t,"sourceRoot",null),u=r.getArg(t,"sourcesContent",null),c=r.getArg(t,"mappings"),l=r.getArg(t,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);this._names=i.fromArray(a,!0),this._sources=i.fromArray(o,!0),this.sourceRoot=s,this.sourcesContent=u,this._mappings=c,this.file=l}var r=e("./util"),o=e("./binary-search"),i=e("./array-set").ArraySet,a=e("./base64-vlq");n.fromSourceMap=function(e){var t=Object.create(n.prototype);return t._names=i.fromArray(e._names.toArray(),!0),t._sources=i.fromArray(e._sources.toArray(),!0),t.sourceRoot=e._sourceRoot,t.sourcesContent=e._generateSourcesContent(t._sources.toArray(),t.sourceRoot),t.file=e._file,t.__generatedMappings=e._mappings.slice().sort(r.compareByGeneratedPositions),t.__originalMappings=e._mappings.slice().sort(r.compareByOriginalPositions),t},n.prototype._version=3,Object.defineProperty(n.prototype,"sources",{get:function(){return this._sources.toArray().map(function(e){return this.sourceRoot?r.join(this.sourceRoot,e):e},this)}}),n.prototype.__generatedMappings=null,Object.defineProperty(n.prototype,"_generatedMappings",{get:function(){return this.__generatedMappings||(this.__generatedMappings=[],this.__originalMappings=[],this._parseMappings(this._mappings,this.sourceRoot)),this.__generatedMappings}}),n.prototype.__originalMappings=null,Object.defineProperty(n.prototype,"_originalMappings",{get:function(){return this.__originalMappings||(this.__generatedMappings=[],this.__originalMappings=[],this._parseMappings(this._mappings,this.sourceRoot)),this.__originalMappings}}),n.prototype._parseMappings=function(e){for(var t,n,o=1,i=0,s=0,u=0,c=0,l=0,p=/^[,;]/,f=e;f.length>0;)if(";"===f.charAt(0))o++,f=f.slice(1),i=0;else if(","===f.charAt(0))f=f.slice(1);else{if(t={},t.generatedLine=o,n=a.decode(f),t.generatedColumn=i+n.value,i=t.generatedColumn,f=n.rest,f.length>0&&!p.test(f.charAt(0))){if(n=a.decode(f),t.source=this._sources.at(c+n.value),c+=n.value,f=n.rest,0===f.length||p.test(f.charAt(0)))throw new Error("Found a source, but no line and column");if(n=a.decode(f),t.originalLine=s+n.value,s=t.originalLine,t.originalLine+=1,f=n.rest,0===f.length||p.test(f.charAt(0)))throw new Error("Found a source and line, but no column");n=a.decode(f),t.originalColumn=u+n.value,u=t.originalColumn,f=n.rest,f.length>0&&!p.test(f.charAt(0))&&(n=a.decode(f),t.name=this._names.at(l+n.value),l+=n.value,f=n.rest)}this.__generatedMappings.push(t),"number"==typeof t.originalLine&&this.__originalMappings.push(t)}this.__originalMappings.sort(r.compareByOriginalPositions)},n.prototype._findMapping=function(e,t,n,r,i){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[r]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[r]);return o.search(e,t,i)},n.prototype.originalPositionFor=function(e){var t={generatedLine:r.getArg(e,"line"),generatedColumn:r.getArg(e,"column")},n=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",r.compareByGeneratedPositions);if(n){var o=r.getArg(n,"source",null);return o&&this.sourceRoot&&(o=r.join(this.sourceRoot,o)),{source:o,line:r.getArg(n,"originalLine",null),column:r.getArg(n,"originalColumn",null),name:r.getArg(n,"name",null)}}return{source:null,line:null,column:null,name:null}},n.prototype.sourceContentFor=function(e){if(!this.sourcesContent)return null;if(this.sourceRoot&&(e=r.relative(this.sourceRoot,e)),this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];var t;if(this.sourceRoot&&(t=r.urlParse(this.sourceRoot))){var n=e.replace(/^file:\/\//,"");if("file"==t.scheme&&this._sources.has(n))return this.sourcesContent[this._sources.indexOf(n)];if((!t.path||"/"==t.path)&&this._sources.has("/"+e))return this.sourcesContent[this._sources.indexOf("/"+e)]}throw new Error('"'+e+'" is not in the SourceMap.')},n.prototype.generatedPositionFor=function(e){var t={source:r.getArg(e,"source"),originalLine:r.getArg(e,"line"),originalColumn:r.getArg(e,"column")};this.sourceRoot&&(t.source=r.relative(this.sourceRoot,t.source));var n=this._findMapping(t,this._originalMappings,"originalLine","originalColumn",r.compareByOriginalPositions);return n?{line:r.getArg(n,"generatedLine",null),column:r.getArg(n,"generatedColumn",null)}:{line:null,column:null}},n.GENERATED_ORDER=1,n.ORIGINAL_ORDER=2,n.prototype.eachMapping=function(e,t,o){var i,a=t||null,s=o||n.GENERATED_ORDER;switch(s){case n.GENERATED_ORDER:i=this._generatedMappings;break;case n.ORIGINAL_ORDER:i=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var u=this.sourceRoot;i.map(function(e){var t=e.source;return t&&u&&(t=r.join(u,t)),{source:t,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:e.name}}).forEach(e,a)},t.SourceMapConsumer=n}),e("source-map/binary-search",["require","exports","module"],function(e,t){function n(e,t,r,o,i){var a=Math.floor((t-e)/2)+e,s=i(r,o[a],!0);return 0===s?o[a]:s>0?t-a>1?n(a,t,r,o,i):o[a]:a-e>1?n(e,a,r,o,i):0>e?null:o[e]}t.search=function(e,t,r){return t.length>0?n(-1,t.length,e,t,r):null}}),e("source-map/source-node",["require","exports","module","source-map/source-map-generator","source-map/util"],function(e,t){function n(e,t,n,r,o){this.children=[],this.sourceContents={},this.line=void 0===e?null:e,this.column=void 0===t?null:t,this.source=void 0===n?null:n,this.name=void 0===o?null:o,null!=r&&this.add(r)}var r=e("./source-map-generator").SourceMapGenerator,o=e("./util");n.fromStringWithSourceMap=function(e,t){function r(e,t){o.add(null===e||void 0===e.source?t:new n(e.originalLine,e.originalColumn,e.source,t,e.name))}var o=new n,i=e.split("\n"),a=1,s=0,u=null;return t.eachMapping(function(e){if(null===u){for(;a<e.generatedLine;)o.add(i.shift()+"\n"),a++;if(s<e.generatedColumn){var t=i[0];o.add(t.substr(0,e.generatedColumn)),i[0]=t.substr(e.generatedColumn),s=e.generatedColumn}}else if(a<e.generatedLine){var n="";do n+=i.shift()+"\n",a++,s=0;while(a<e.generatedLine);if(s<e.generatedColumn){var t=i[0];n+=t.substr(0,e.generatedColumn),i[0]=t.substr(e.generatedColumn),s=e.generatedColumn}r(u,n)}else{var t=i[0],n=t.substr(0,e.generatedColumn-s);i[0]=t.substr(e.generatedColumn-s),s=e.generatedColumn,r(u,n)}u=e},this),r(u,i.join("\n")),t.sources.forEach(function(e){var n=t.sourceContentFor(e);n&&o.setSourceContent(e,n)}),o},n.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(e){this.add(e)},this);else{if(!(e instanceof n||"string"==typeof e))throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},n.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!(e instanceof n||"string"==typeof e))throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},n.prototype.walk=function(e){for(var t,r=0,o=this.children.length;o>r;r++)t=this.children[r],t instanceof n?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},n.prototype.join=function(e){var t,n,r=this.children.length;if(r>0){for(t=[],n=0;r-1>n;n++)t.push(this.children[n]),t.push(e);t.push(this.children[n]),this.children=t}return this},n.prototype.replaceRight=function(e,t){var r=this.children[this.children.length-1];return r instanceof n?r.replaceRight(e,t):"string"==typeof r?this.children[this.children.length-1]=r.replace(e,t):this.children.push("".replace(e,t)),this},n.prototype.setSourceContent=function(e,t){this.sourceContents[o.toSetString(e)]=t},n.prototype.walkSourceContents=function(e){for(var t=0,r=this.children.length;r>t;t++)this.children[t]instanceof n&&this.children[t].walkSourceContents(e);for(var i=Object.keys(this.sourceContents),t=0,r=i.length;r>t;t++)e(o.fromSetString(i[t]),this.sourceContents[i[t]])},n.prototype.toString=function(){var e="";return this.walk(function(t){e+=t}),e},n.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},n=new r(e),o=!1,i=null,a=null,s=null,u=null;return this.walk(function(e,r){t.code+=e,null!==r.source&&null!==r.line&&null!==r.column?((i!==r.source||a!==r.line||s!==r.column||u!==r.name)&&n.addMapping({source:r.source,original:{line:r.line,column:r.column},generated:{line:t.line,column:t.column},name:r.name}),i=r.source,a=r.line,s=r.column,u=r.name,o=!0):o&&(n.addMapping({generated:{line:t.line,column:t.column}}),i=null,o=!1),e.split("").forEach(function(e){"\n"===e?(t.line++,t.column=0):t.column++})}),this.walkSourceContents(function(e,t){n.setSourceContent(e,t)}),{code:t.code,map:n}},t.SourceNode=n}),this.sourceMap={SourceMapConsumer:n("source-map/source-map-consumer").SourceMapConsumer,SourceMapGenerator:n("source-map/source-map-generator").SourceMapGenerator,SourceNode:n("source-map/source-node").SourceNode}}var a={};i.call(a),o.exports=a.sourceMap}),__d("react-native/Libraries/JavaScriptAppEngine/Initialization/source-map-url.js",[],function(e,t,n,r,o,i){!function(){var e=null;void function(t,n){"function"==typeof e&&e.amd?e(n):"object"==typeof i?o.exports=n():t.sourceMappingURL=n()}(this,function(){var e=/[#@] sourceMappingURL=([^\s'"]*)/,t=RegExp("(?:/\\*(?:\\s*\r?\n(?://)?)?(?:"+e.source+")\\s*\\*/|//(?:"+e.source+"))\\s*$");return{regex:t,_innerRegex:e,getFrom:function(e){var n=e.match(t);return n?n[1]||n[2]||"":null},existsIn:function(e){return t.test(e)},removeFrom:function(e){return e.replace(t,"")},insertBefore:function(e,n){var r=e.match(t);return r?e.slice(0,r.index)+n+e.slice(r.index):e+n}}})}()}),__d("parseErrorStack",["stacktrace-parser/index.js"],function(e,t,n,r,o){"use strict";function i(e,t){try{var n=e.originalPositionFor({line:t.lineNumber,column:t.column});n&&(t.file=n.source,t.lineNumber=n.line,t.column=n.column)}catch(r){}}function a(e,t){if(!e||!e.stack)return[];for(var n=s.parse(e.stack),r=e.framesToPop||0;r--;)n.shift();return t&&n.forEach(i.bind(null,t)),n}var s=t("stacktrace-parser/index.js");o.exports=a}),__d("stacktrace-parser/index.js",["stacktrace-parser/lib/stacktrace-parser.js"],function(e,t,n,r,o){o.exports=t("stacktrace-parser/lib/stacktrace-parser.js")}),__d("stacktrace-parser/lib/stacktrace-parser.js",[],function(e,t,n,r,o){var i="<unknown>",a={parse:function(e){for(var t,n,r=/^\s*at (?:(?:(?:Anonymous function)?|((?:\[object object\])?\S+(?: \[as \S+\])?)) )?\(?((?:file|http|https):.*?):(\d+)(?::(\d+))?\)?\s*$/i,o=/^(?:\s*(\S*)(?:\((.*?)\))?@)?(\S.*?):(\d+)(?::(\d+))?\s*$/i,a=/^\s*at (?:((?:\[object object\])?\S+(?: \[as \S+\])?) )?\(?(.*?):(\d+)(?::(\d+))?\)?\s*$/i,s=e.split("\n"),u=[],c=0,l=s.length;l>c;++c){if(t=o.exec(s[c]))n={file:t[3],methodName:t[1]||i,lineNumber:+t[4],column:t[5]?+t[5]:null};else if(t=r.exec(s[c]))n={file:t[2],methodName:t[1]||i,lineNumber:+t[3],column:t[4]?+t[4]:null};else{if(!(t=a.exec(s[c])))continue;n={file:t[2],methodName:t[1]||i,lineNumber:+t[3],column:t[4]?+t[4]:null}}u.push(n)}return u}};o.exports=a}),__d("Platform",[],function(e,t,n,r,o){"use strict";var i={OS:"ios"};o.exports=i}),__d("XMLHttpRequest",["FormData","NativeModules","RCTDeviceEventEmitter","XMLHttpRequestBase"],function(e,t,n,r,o){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=function h(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:h(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)},c=t("FormData"),l=t("NativeModules").Networking,p=t("RCTDeviceEventEmitter"),f=t("XMLHttpRequestBase"),d=function(e){function t(){i(this,t),u(Object.getPrototypeOf(t.prototype),"constructor",this).call(this),this._requestId=null,this._subscriptions=[],this.upload={}}return a(t,e),s(t,[{key:"_didCreateRequest",value:function(e){var t=this;this._requestId=e,this._subscriptions.push(p.addListener("didSendNetworkData",function(e){return t._didUploadProgress.call(t,e[0],e[1],e[2])})),this._subscriptions.push(p.addListener("didReceiveNetworkResponse",function(e){return t._didReceiveResponse.call(t,e[0],e[1],e[2])})),this._subscriptions.push(p.addListener("didReceiveNetworkData",function(e){return t._didReceiveData.call(t,e[0],e[1])})),this._subscriptions.push(p.addListener("didCompleteNetworkResponse",function(e){return t._didCompleteResponse.call(t,e[0],e[1])}))}},{key:"_didUploadProgress",value:function(e,t,n){if(e===this._requestId&&this.upload.onprogress){var r={lengthComputable:!0,loaded:t,total:n};this.upload.onprogress(r)}}},{key:"_didReceiveResponse",value:function(e,t,n){e===this._requestId&&(this.status=t,this.setResponseHeaders(n),this.setReadyState(this.HEADERS_RECEIVED))}},{key:"_didReceiveData",value:function(e,t){e===this._requestId&&(this.responseText?this.responseText+=t:this.responseText=t,this.setReadyState(this.LOADING))}},{key:"_didCompleteResponse",value:function(e,t){e===this._requestId&&(t&&(this.responseText=t),this._clearSubscriptions(),this._requestId=null,this.setReadyState(this.DONE))}},{key:"_clearSubscriptions",value:function(){for(var e=0;e<this._subscriptions.length;e++){var t=this._subscriptions[e];t.remove()}this._subscriptions=[]}},{key:"sendImpl",value:function(e,t,n,r){"string"==typeof r?r={string:r}:r instanceof c&&(r={formData:r.getParts()}),l.sendRequest({method:e,url:t,data:r,headers:n,incrementalUpdates:this.onreadystatechange?!0:!1},this._didCreateRequest.bind(this))}},{key:"abortImpl",value:function(){this._requestId&&(l.cancelRequest(this._requestId),this._clearSubscriptions(),this._requestId=null)}}]),t}(f);o.exports=d}),__d("FormData",[],function(e,t,n,r,o){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{!r&&s["return"]&&s["return"]()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=function(){function e(){i(this,e),this._parts=[],this._partsByKey={}}return u(e,[{key:"append",value:function(e,t){var n=this._partsByKey[e];return n?void(n[1]=t):(n=[e,t],this._parts.push(n),void(this._partsByKey[e]=n))}},{key:"getParts",value:function(){return this._parts.map(function(e){var t=a(e,2),n=t[0],r=t[1],o='form-data; name="'+n+'"',i={"content-disposition":o};return"string"==typeof r?{string:r,headers:i}:("string"==typeof r.name&&(i["content-disposition"]+='; filename="'+r.name+'"'),"string"==typeof r.type&&(i["content-type"]=r.type),s({},r,{headers:i}))})}}]),e}();o.exports=c}),__d("XMLHttpRequestBase",[],function(e,t,n,r,o){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=function(){function e(){i(this,e),this.UNSENT=0,this.OPENED=1,this.HEADERS_RECEIVED=2,this.LOADING=3,this.DONE=4,this.onreadystatechange=null,this.onload=null,this.upload=void 0,this._reset(),this._method=null,this._url=null,this._aborted=!1}return a(e,[{key:"_reset",value:function(){this.readyState=this.UNSENT,this.responseHeaders=void 0,this.responseText="",this.status=0,this._headers={},this._sent=!1,this._lowerCaseResponseHeaders={}}},{key:"getAllResponseHeaders",value:function(){if(!this.responseHeaders)return null;var e=this.responseHeaders||{};return Object.keys(e).map(function(t){return t+": "+e[t]}).join("\n")}},{key:"getResponseHeader",value:function(e){var t=this._lowerCaseResponseHeaders[e.toLowerCase()];return void 0!==t?t:null}},{key:"setRequestHeader",value:function(e,t){if(this.readyState!==this.OPENED)throw new Error("Request has not been opened");this._headers[e.toLowerCase()]=t}},{key:"open",value:function(e,t,n){if(this.readyState!==this.UNSENT)throw new Error("Cannot open, already sending");if(void 0!==n&&!n)throw new Error("Synchronous http requests are not supported");this._reset(),this._method=e,this._url=t,this._aborted=!1,this.setReadyState(this.OPENED)}},{key:"sendImpl",value:function(){throw new Error("Subclass must define sendImpl method")}},{key:"abortImpl",value:function(){throw new Error("Subclass must define abortImpl method")}},{key:"send",value:function(e){if(this.readyState!==this.OPENED)throw new Error("Request has not been opened");if(this._sent)throw new Error("Request has already been sent");this._sent=!0,this.sendImpl(this._method,this._url,this._headers,e)}},{key:"abort",value:function(){this._aborted=!0,this.abortImpl(),this.readyState===this.UNSENT||this.readyState===this.OPENED&&!this._sent||this.readyState===this.DONE||(this._reset(),this.setReadyState(this.DONE)),this._reset()}},{key:"callback",value:function(e,t,n){this._aborted||(this.status=e,this.setResponseHeaders(t||{}),this.responseText=n,this.setReadyState(this.DONE))}},{key:"setResponseHeaders",value:function(e){this.responseHeaders=e||null;var t=e||{};this._lowerCaseResponseHeaders=Object.keys(t).reduce(function(e,n){return e[n.toLowerCase()]=t[n],e},{})}},{key:"setReadyState",value:function(e){this.readyState=e;var t=this.onreadystatechange;t&&t(null),e!==this.DONE||this._aborted||this._sendLoad()}},{key:"_sendLoad",value:function(){var e=this.onload;e&&e(null)}}]),e}();o.exports=s}),__d("fetch",[],function(e,t,n,r,o){"use strict";var i={};!function(){function e(e){if("string"!=typeof e&&(e=e.toString()),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function t(e){return"string"!=typeof e&&(e=e.toString()),e}function n(e){this.map={};var t=this;e instanceof n?e.forEach(function(e,n){n.forEach(function(n){t.append(e,n)})}):e&&Object.getOwnPropertyNames(e).forEach(function(n){t.append(n,e[n])})}function r(e){return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function o(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function a(e){var t=new FileReader;return t.readAsArrayBuffer(e),o(t)}function s(e){var t=new FileReader;return t.readAsText(e),o(t)}function u(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,"string"==typeof e)this._bodyText=e;else if(h.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(h.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else{if(e)throw new Error("unsupported BodyInit type");this._bodyText=""}},h.blob?(this.blob=function(){var e=r(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this.blob().then(a)},this.text=function(){var e=r(this);if(e)return e;if(this._bodyBlob)return s(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)}):this.text=function(){var e=r(this);return e?e:Promise.resolve(this._bodyText)},h.formData&&(this.formData=function(){return this.text().then(p)}),this.json=function(){return this.text().then(JSON.parse)},this}function c(e){var t=e.toUpperCase();return m.indexOf(t)>-1?t:e}function l(e,t){if(t=t||{},this.url=e,this.credentials=t.credentials||"omit",this.headers=new n(t.headers),this.method=c(t.method||"GET"),this.mode=t.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&t.body)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(t.body)}function p(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}}),t}function f(e){var t=new n,r=e.getAllResponseHeaders().trim().split("\n");return r.forEach(function(e){var n=e.trim().split(":"),r=n.shift().trim(),o=n.join(":").trim();t.append(r,o)}),t}function d(e,t){t||(t={}),this._initBody(e),this.type="default",this.url=null,this.status=t.status,this.ok=this.status>=200&&this.status<300,this.statusText=t.statusText,this.headers=t.headers instanceof n?t.headers:new n(t.headers),this.url=t.url||""}if(!i.fetch){n.prototype.append=function(n,r){n=e(n),r=t(r);var o=this.map[n];o||(o=[],this.map[n]=o),o.push(r)},n.prototype["delete"]=function(t){delete this.map[e(t)]},n.prototype.get=function(t){var n=this.map[e(t)];return n?n[0]:null},n.prototype.getAll=function(t){return this.map[e(t)]||[]},n.prototype.has=function(t){return this.map.hasOwnProperty(e(t))},n.prototype.set=function(n,r){this.map[e(n)]=[t(r)]},n.prototype.forEach=function(e){var t=this;Object.getOwnPropertyNames(this.map).forEach(function(n){e(n,t.map[n])})};var h={blob:"FileReader"in i&&"Blob"in i&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in i},m=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];u.call(l.prototype),u.call(d.prototype),i.Headers=n,i.Request=l,i.Response=d,i.fetch=function(e,t){var n;return n=l.prototype.isPrototypeOf(e)&&!t?e:new l(e,t),new Promise(function(e,t){function r(){return"responseURL"in o?o.responseURL:/^X-Request-URL:/m.test(o.getAllResponseHeaders())?o.getResponseHeader("X-Request-URL"):void 0}var o=new XMLHttpRequest;"cors"===n.credentials&&(o.withCredentials=!0),o.onload=function(){var n=1223===o.status?204:o.status;if(100>n||n>599)return void t(new TypeError("Network request failed"));var i={status:n,statusText:o.statusText,headers:f(o),url:r()},a="response"in o?o.response:o.responseText;e(new d(a,i))},o.onerror=function(){t(new TypeError("Network request failed"))},o.open(n.method,n.url,!0),"responseType"in o&&h.blob&&(o.responseType="blob"),n.headers.forEach(function(e,t){t.forEach(function(t){o.setRequestHeader(e,t)})}),o.send("undefined"==typeof n._bodyInit?null:n._bodyInit)})},i.fetch.polyfill=!0}}(),o.exports=i}),__d("Geolocation",["RCTDeviceEventEmitter","NativeModules","invariant","logError","warning"],function(e,t,n,r,o){"use strict";var i=t("RCTDeviceEventEmitter"),a=t("NativeModules").LocationObserver,s=t("invariant"),u=t("logError"),c=t("warning"),l=[],p=!1,f={getCurrentPosition:function(e,t,n){s("function"==typeof e,"Must provide a valid geo_success callback."),a.getCurrentPosition(n||{},e,t||u)},watchPosition:function(e,t,n){p||(a.startObserving(n||{}),p=!0);var r=l.length;return l.push([i.addListener("geolocationDidChange",e),t?i.addListener("geolocationError",t):null]),r},clearWatch:function(e){var t=l[e];if(t){t[0].remove();var n=t[1];n&&n.remove(),l[e]=void 0;for(var r=!0,o=0;o<l.length;o++)l[o]&&(r=!1);r&&f.stopObserving()}},stopObserving:function(){if(p){a.stopObserving(),p=!1;for(var e=0;e<l.length;e++){var t=l[e];if(t){c("Called stopObserving with existing subscriptions."),t[0].remove();var n=t[1];n&&n.remove()}}l=[]}}};o.exports=f}),__d("logError",[],function(e,t,n,r,o){"use strict";var i=function(){if(1===arguments.length&&arguments[0]instanceof Error){var e=arguments[0];console.error('Error: "'+e.message+'". Stack:\n'+e.stack)}else console.error.apply(console,arguments)};o.exports=i}),__d("WebSocket",["RCTDeviceEventEmitter","NativeModules","WebSocketBase"],function(e,t,n,r,o){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=function h(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:h(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)},c=t("RCTDeviceEventEmitter"),l=t("NativeModules").WebSocketManager,p=t("WebSocketBase"),f=0,d=function(e){function t(){i(this,t),u(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return a(t,e),s(t,[{key:"connectToSocketImpl",value:function(e){this._socketId=f++,l.connect(e,this._socketId),this._registerEvents(this._socketId)}},{key:"closeConnectionImpl",value:function(){l.close(this._socketId)}},{key:"cancelConnectionImpl",value:function(){l.close(this._socketId)}},{key:"sendStringImpl",value:function(e){l.send(e,this._socketId)}},{key:"sendArrayBufferImpl",value:function(){console.warn("Sending ArrayBuffers is not yet supported")}},{key:"_unregisterEvents",value:function(){this._subs.forEach(function(e){return e.remove()}),this._subs=[]}},{key:"_registerEvents",value:function(e){this._subs=[c.addListener("websocketMessage",function(t){t.id===e&&this.onmessage&&this.onmessage({data:t.data})}.bind(this)),c.addListener("websocketOpen",function(t){t.id===e&&(this.readyState=this.OPEN,this.onopen&&this.onopen())}.bind(this)),c.addListener("websocketClosed",function(t){t.id===e&&(this.readyState=this.CLOSED,this.onclose&&this.onclose(t),this._unregisterEvents(),l.close(e))}.bind(this)),c.addListener("websocketFailed",function(t){t.id===e&&(this.onerror&&this.onerror(new Error(t.message)),this._unregisterEvents(),l.close(e))}.bind(this))]}}]),t}(p);o.exports=d}),__d("WebSocketBase",[],function(e,t,n,r,o){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=function(){function e(t,n){i(this,e),this.CONNECTING=0,this.OPEN=1,this.CLOSING=2,this.CLOSED=3,n||(n=[]),this.connectToSocketImpl(t)}return a(e,[{key:"close",value:function(){this.readyState!==e.CLOSING&&this.readyState!==e.CLOSED&&(this.readyState===e.CONNECTING&&this.cancelConnectionImpl(),this.closeConnectionImpl())}},{key:"send",value:function(t){if(this.readyState===e.CONNECTING)throw new Error("INVALID_STATE_ERR");if("string"==typeof t)this.sendStringImpl(t);else{if(!(t instanceof ArrayBuffer))throw new Error("Not supported data type");this.sendArrayBufferImpl(t)}}},{key:"closeConnectionImpl",value:function(){throw new Error("Subclass must define closeConnectionImpl method")}},{key:"connectToSocketImpl",value:function(){throw new Error("Subclass must define connectToSocketImpl method")}},{key:"cancelConnectionImpl",value:function(){throw new Error("Subclass must define cancelConnectionImpl method")}},{key:"sendStringImpl",value:function(){throw new Error("Subclass must define sendStringImpl method")}},{key:"sendArrayBufferImpl",value:function(){throw new Error("Subclass must define sendArrayBufferImpl method")}}]),e}();o.exports=s}),__d("EventPluginHub",["EventPluginRegistry","EventPluginUtils","accumulateInto","forEachAccumulated","invariant","warning"],function(e,t,n,r,o){"use strict";function i(){var e=m&&m.traverseTwoPhase&&m.traverseEnterLeave;p(e,"InstanceHandle not injected before use!")}var a=t("EventPluginRegistry"),s=t("EventPluginUtils"),u=t("accumulateInto"),c=t("forEachAccumulated"),l=t("invariant"),p=t("warning"),f={},d=null,h=function(e){if(e){var t=s.executeDispatch,n=a.getPluginModuleForEvent(e);n&&n.executeDispatch&&(t=n.executeDispatch),s.executeDispatchesInOrder(e,t),e.isPersistent()||e.constructor.release(e)}},m=null,v={injection:{injectMount:s.injection.injectMount,injectInstanceHandle:function(e){m=e,__DEV__&&i()},getInstanceHandle:function(){return __DEV__&&i(),m},injectEventPluginOrder:a.injectEventPluginOrder,injectEventPluginsByName:a.injectEventPluginsByName},eventNameDispatchConfigs:a.eventNameDispatchConfigs,registrationNameModules:a.registrationNameModules,putListener:function(e,t,n){l("function"==typeof n,"Expected %s listener to be a function, instead got type %s",t,typeof n);var r=f[t]||(f[t]={});r[e]=n;var o=a.registrationNameModules[t];o&&o.didPutListener&&o.didPutListener(e,t,n)},getListener:function(e,t){var n=f[t];return n&&n[e]},deleteListener:function(e,t){var n=a.registrationNameModules[t];n&&n.willDeleteListener&&n.willDeleteListener(e,t);var r=f[t];r&&delete r[e]},deleteAllListeners:function(e){for(var t in f)if(f[t][e]){var n=a.registrationNameModules[t];n&&n.willDeleteListener&&n.willDeleteListener(e,t),delete f[t][e]}},extractEvents:function(e,t,n,r,o){for(var i,s=a.plugins,c=0;c<s.length;c++){var l=s[c];if(l){var p=l.extractEvents(e,t,n,r,o);p&&(i=u(i,p))}}return i},enqueueEvents:function(e){e&&(d=u(d,e))},processEventQueue:function(){var e=d;d=null,c(e,h),l(!d,"processEventQueue(): Additional events were enqueued while processing an event queue. Support for this has not yet been implemented.")},__purge:function(){f={}},__getListenerBank:function(){return f}};o.exports=v}),__d("EventPluginRegistry",["invariant"],function(e,t,n,r,o){"use strict";function i(){if(c)for(var e in l){var t=l[e],n=c.indexOf(e);if(u(n>-1,"EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `%s`.",e),!p.plugins[n]){u(t.extractEvents,"EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `%s` does not.",e),p.plugins[n]=t;var r=t.eventTypes;for(var o in r)u(a(r[o],t,o),"EventPluginRegistry: Failed to publish event `%s` for plugin `%s`.",o,e)}}}function a(e,t,n){u(!p.eventNameDispatchConfigs.hasOwnProperty(n),"EventPluginHub: More than one plugin attempted to publish the same event name, `%s`.",n),p.eventNameDispatchConfigs[n]=e;var r=e.phasedRegistrationNames;if(r){for(var o in r)if(r.hasOwnProperty(o)){var i=r[o];s(i,t,n)}return!0}return e.registrationName?(s(e.registrationName,t,n),!0):!1}function s(e,t,n){u(!p.registrationNameModules[e],"EventPluginHub: More than one plugin attempted to publish the same registration name, `%s`.",e),p.registrationNameModules[e]=t,p.registrationNameDependencies[e]=t.eventTypes[n].dependencies}var u=t("invariant"),c=null,l={},p={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},injectEventPluginOrder:function(e){u(!c,"EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React."),c=Array.prototype.slice.call(e),i()},injectEventPluginsByName:function(e){var t=!1;for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];l.hasOwnProperty(n)&&l[n]===r||(u(!l[n],"EventPluginRegistry: Cannot inject two different event plugins using the same name, `%s`.",n),l[n]=r,t=!0)}t&&i()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return p.registrationNameModules[t.registrationName]||null;for(var n in t.phasedRegistrationNames)if(t.phasedRegistrationNames.hasOwnProperty(n)){var r=p.registrationNameModules[t.phasedRegistrationNames[n]];if(r)return r}return null},_resetEventPlugins:function(){c=null;for(var e in l)l.hasOwnProperty(e)&&delete l[e];p.plugins.length=0;var t=p.eventNameDispatchConfigs;for(var n in t)t.hasOwnProperty(n)&&delete t[n];var r=p.registrationNameModules;for(var o in r)r.hasOwnProperty(o)&&delete r[o]}};o.exports=p}),__d("EventPluginUtils",["EventConstants","invariant","warning"],function(e,t,n,r,o){"use strict";function i(e){return e===b.topMouseUp||e===b.topTouchEnd||e===b.topTouchCancel}function a(e){return e===b.topMouseMove||e===b.topTouchMove}function s(e){return e===b.topMouseDown||e===b.topTouchStart}function u(e,t){var n=e._dispatchListeners,r=e._dispatchIDs;if(__DEV__&&m(e),Array.isArray(n))for(var o=0;o<n.length&&!e.isPropagationStopped();o++)t(e,n[o],r[o]);else n&&t(e,n,r)}function c(e,t,n){e.currentTarget=_.Mount.getNode(n);var r=t(e,n);return e.currentTarget=null,r}function l(e,t){u(e,t),e._dispatchListeners=null,e._dispatchIDs=null}function p(e){var t=e._dispatchListeners,n=e._dispatchIDs;if(__DEV__&&m(e),Array.isArray(t)){for(var r=0;r<t.length&&!e.isPropagationStopped();r++)if(t[r](e,n[r]))return n[r]}else if(t&&t(e,n))return n;return null}function f(e){var t=p(e);return e._dispatchIDs=null,e._dispatchListeners=null,t}function d(e){__DEV__&&m(e);var t=e._dispatchListeners,n=e._dispatchIDs;g(!Array.isArray(t),"executeDirectDispatch(...): Invalid `event`.");var r=t?t(e,n):null;return e._dispatchListeners=null,e._dispatchIDs=null,r}function h(e){return!!e._dispatchListeners}var m,v=t("EventConstants"),g=t("invariant"),y=t("warning"),_={Mount:null,injectMount:function(e){_.Mount=e,__DEV__&&y(e&&e.getNode&&e.getID,"EventPluginUtils.injection.injectMount(...): Injected Mount module is missing getNode or getID.")}},b=v.topLevelTypes;__DEV__&&(m=function(e){var t=e._dispatchListeners,n=e._dispatchIDs,r=Array.isArray(t),o=Array.isArray(n),i=o?n.length:n?1:0,a=r?t.length:t?1:0;y(o===r&&i===a,"EventPluginUtils: Invalid `event`.")});var S={isEndish:i,isMoveish:a,isStartish:s,executeDirectDispatch:d,executeDispatch:c,executeDispatchesInOrder:l,executeDispatchesInOrderStopAtTrue:f,hasDispatches:h,getNode:function(e){return _.Mount.getNode(e)},getID:function(e){return _.Mount.getID(e)},injection:_};o.exports=S}),__d("EventConstants",["keyMirror"],function(e,t,n,r,o){"use strict";var i=t("keyMirror"),a=i({bubbled:null,captured:null}),s=i({topBlur:null,topChange:null,topClick:null,topCompositionEnd:null,topCompositionStart:null,topCompositionUpdate:null,topContextMenu:null,topCopy:null,topCut:null,topDoubleClick:null,topDrag:null,topDragEnd:null,topDragEnter:null,topDragExit:null,topDragLeave:null,topDragOver:null,topDragStart:null,topDrop:null,topError:null,topFocus:null,topInput:null,topKeyDown:null,topKeyPress:null,topKeyUp:null,topLoad:null,topMouseDown:null,topMouseMove:null,topMouseOut:null,topMouseOver:null,topMouseUp:null,topPaste:null,topReset:null,topScroll:null,topSelectionChange:null,topSubmit:null,topTextInput:null,topTouchCancel:null,topTouchEnd:null,topTouchMove:null,topTouchStart:null,topWheel:null}),u={topLevelTypes:s,PropagationPhases:a};o.exports=u}),__d("accumulateInto",["invariant"],function(e,t,n,r,o){"use strict";function i(e,t){if(a(null!=t,"accumulateInto(...): Accumulated items must not be null or undefined."),null==e)return t;var n=Array.isArray(e),r=Array.isArray(t);return n&&r?(e.push.apply(e,t),e):n?(e.push(t),e):r?[e].concat(t):[e,t]}var a=t("invariant");o.exports=i}),__d("forEachAccumulated",[],function(e,t,n,r,o){"use strict";var i=function(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)};o.exports=i}),__d("IOSDefaultEventPluginOrder",[],function(e,t,n,r,o){"use strict";var i=["ResponderEventPlugin","IOSNativeBridgeEventPlugin"];o.exports=i}),__d("IOSNativeBridgeEventPlugin",["EventPropagators","NativeModules","SyntheticEvent","merge","warning"],function(e,t,n,r,o){"use strict";var i=t("EventPropagators"),a=t("NativeModules"),s=t("SyntheticEvent"),u=t("merge"),c=t("warning"),l=a.UIManager,p=l.customBubblingEventTypes,f=l.customDirectEventTypes,d={};for(var h in p)d[h]=p[h];for(var m in f)c(!p[m],"Event cannot be both direct and bubbling: %s",m),d[m]=f[m];var v={eventTypes:u(p,f),extractEvents:function(e,t,n,r){var o=p[e],a=f[e],u=s.getPooled(o||a,n,r);if(o)i.accumulateTwoPhaseDispatches(u);else{if(!a)return null;i.accumulateDirectDispatches(u)}return u}};o.exports=v}),__d("EventPropagators",["EventConstants","EventPluginHub","accumulateInto","forEachAccumulated"],function(e,t,n,r,o){"use strict";function i(e,t,n){var r=t.dispatchConfig.phasedRegistrationNames[n];return b(e,r)}function a(e,t,n){if(__DEV__&&!e)throw new Error("Dispatching id must not be null");var r=t?_.bubbled:_.captured,o=i(e,n,r);o&&(n._dispatchListeners=g(n._dispatchListeners,o),n._dispatchIDs=g(n._dispatchIDs,e))}function s(e){e&&e.dispatchConfig.phasedRegistrationNames&&v.injection.getInstanceHandle().traverseTwoPhase(e.dispatchMarker,a,e)}function u(e){e&&e.dispatchConfig.phasedRegistrationNames&&v.injection.getInstanceHandle().traverseTwoPhaseSkipTarget(e.dispatchMarker,a,e)}function c(e,t,n){if(n&&n.dispatchConfig.registrationName){var r=n.dispatchConfig.registrationName,o=b(e,r);o&&(n._dispatchListeners=g(n._dispatchListeners,o),n._dispatchIDs=g(n._dispatchIDs,e))}}function l(e){e&&e.dispatchConfig.registrationName&&c(e.dispatchMarker,null,e)}function p(e){y(e,s)}function f(e){y(e,u)}function d(e,t,n,r){v.injection.getInstanceHandle().traverseEnterLeave(n,r,c,e,t)}function h(e){y(e,l)}var m=t("EventConstants"),v=t("EventPluginHub"),g=t("accumulateInto"),y=t("forEachAccumulated"),_=m.PropagationPhases,b=v.getListener,S={accumulateTwoPhaseDispatches:p,accumulateTwoPhaseDispatchesSkipTarget:f,accumulateDirectDispatches:h,accumulateEnterLeaveDispatches:d};o.exports=S}),__d("SyntheticEvent",["PooledClass","Object.assign","emptyFunction"],function(e,t,n,r,o){"use strict";function i(e,t,n,r){this.dispatchConfig=e,this.dispatchMarker=t,this.nativeEvent=n,this.target=r,this.currentTarget=r;var o=this.constructor.Interface;for(var i in o)if(o.hasOwnProperty(i)){var a=o[i];this[i]=a?a(n):n[i]}var s=null!=n.defaultPrevented?n.defaultPrevented:n.returnValue===!1;this.isDefaultPrevented=s?u.thatReturnsTrue:u.thatReturnsFalse,this.isPropagationStopped=u.thatReturnsFalse}var a=t("PooledClass"),s=t("Object.assign"),u=t("emptyFunction"),c={path:null,type:null,currentTarget:u.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};s(i.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e.preventDefault?e.preventDefault():e.returnValue=!1,this.isDefaultPrevented=u.thatReturnsTrue},stopPropagation:function(){var e=this.nativeEvent;e.stopPropagation?e.stopPropagation():e.cancelBubble=!0,this.isPropagationStopped=u.thatReturnsTrue},persist:function(){this.isPersistent=u.thatReturnsTrue},isPersistent:u.thatReturnsFalse,destructor:function(){var e=this.constructor.Interface;for(var t in e)this[t]=null;this.dispatchConfig=null,this.dispatchMarker=null,this.nativeEvent=null}}),i.Interface=c,i.augmentClass=function(e,t){var n=this,r=Object.create(n.prototype);s(r,e.prototype),e.prototype=r,e.prototype.constructor=e,e.Interface=s({},n.Interface,t),e.augmentClass=n.augmentClass,a.addPoolingTo(e,a.fourArgumentPooler)},a.addPoolingTo(i,a.fourArgumentPooler),o.exports=i}),__d("merge",["mergeInto"],function(e,t,n,r,o){"use strict";var i=t("mergeInto"),a=function(e,t){var n={};return i(n,e),i(n,t),n};o.exports=a}),__d("mergeInto",["mergeHelpers"],function(e,t,n,r,o){"use strict";function i(e,t){if(u(e),null!=t){s(t);for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])}}var a=t("mergeHelpers"),s=a.checkMergeObjectArg,u=a.checkMergeIntoObjectArg;o.exports=i}),__d("mergeHelpers",["invariant","keyMirror"],function(e,t,n,r,o){"use strict";var i=t("invariant"),a=t("keyMirror"),s=36,u=function(e){return"object"!=typeof e||null===e},c={MAX_MERGE_DEPTH:s,isTerminal:u,normalizeMergeArg:function(e){return void 0===e||null===e?{}:e},checkMergeArrayArgs:function(e,t){i(Array.isArray(e)&&Array.isArray(t),"Tried to merge arrays, instead got %s and %s.",e,t)},checkMergeObjectArgs:function(e,t){c.checkMergeObjectArg(e),c.checkMergeObjectArg(t)},checkMergeObjectArg:function(e){i(!u(e)&&!Array.isArray(e),"Tried to merge an object, instead got %s.",e)},checkMergeIntoObjectArg:function(e){i(!(u(e)&&"function"!=typeof e||Array.isArray(e)),"Tried to merge into an object, instead got %s.",e)},checkMergeLevel:function(e){i(s>e,"Maximum deep merge depth exceeded. You may be attempting to merge circular structures in an unsupported way.")},checkArrayStrategy:function(e){i(void 0===e||e in c.ArrayStrategies,"You must provide an array strategy to deep merge functions to instruct the deep merge how to resolve merging two arrays.")},ArrayStrategies:a({Clobber:!0,IndexByIndex:!0})};o.exports=c}),__d("NodeHandle",[],function(e,t,n,r,o){var i={injection:{injectImplementation:function(e){i._Implementation=e}},_Implementation:null,getRootNodeID:function(e){return i._Implementation.getRootNodeID(e)}};o.exports=i}),__d("ReactDefaultBatchingStrategy",["ReactUpdates","Transaction","Object.assign","emptyFunction"],function(e,t,n,r,o){"use strict";function i(){this.reinitializeTransaction()}var a=t("ReactUpdates"),s=t("Transaction"),u=t("Object.assign"),c=t("emptyFunction"),l={initialize:c,close:function(){h.isBatchingUpdates=!1}},p={initialize:c,close:a.flushBatchedUpdates.bind(a)},f=[p,l];u(i.prototype,s.Mixin,{getTransactionWrappers:function(){return f}});var d=new i,h={isBatchingUpdates:!1,batchedUpdates:function(e,t,n,r,o,i){var a=h.isBatchingUpdates;h.isBatchingUpdates=!0,a?e(t,n,r,o,i):d.perform(e,null,t,n,r,o,i)}};o.exports=h}),__d("ReactNativeComponentEnvironment",["ReactNativeDOMIDOperations","ReactNativeReconcileTransaction"],function(e,t,n,r,o){"use strict";var i=t("ReactNativeDOMIDOperations"),a=t("ReactNativeReconcileTransaction"),s={processChildrenUpdates:i.dangerouslyProcessChildrenUpdates,replaceNodeWithMarkupByID:i.dangerouslyReplaceNodeWithMarkupByID,unmountIDFromEnvironment:function(){},clearNode:function(){},ReactReconcileTransaction:a};o.exports=s}),__d("ReactNativeDOMIDOperations",["ReactNativeTagHandles","ReactMultiChildUpdateTypes","NativeModules","ReactPerf"],function(e,t,n,r,o){"use strict";var i=t("ReactNativeTagHandles"),a=t("ReactMultiChildUpdateTypes"),s=t("NativeModules").UIManager,u=t("ReactPerf"),c=function(e,t){if(e.length){for(var n={},r=0;r<e.length;r++){var o=e[r],u=i.mostRecentMountedNodeHandleForRootNodeID(o.parentID),c=n[u]||(n[u]={});if(o.type===a.MOVE_EXISTING)(c.moveFromIndices||(c.moveFromIndices=[])).push(o.fromIndex),(c.moveToIndices||(c.moveToIndices=[])).push(o.toIndex);else if(o.type===a.REMOVE_NODE)(c.removeAtIndices||(c.removeAtIndices=[])).push(o.fromIndex);else if(o.type===a.INSERT_MARKUP){var l=t[o.markupIndex],p=l.tag,f=l.rootNodeID;i.associateRootNodeIDWithMountedNodeHandle(f,p),(c.addAtIndices||(c.addAtIndices=[])).push(o.toIndex),(c.addChildTags||(c.addChildTags=[])).push(p)}}for(var d in n){var h=+d,m=n[h];s.manageChildren(h,m.moveFromIndices,m.moveToIndices,m.addChildTags,m.addAtIndices,m.removeAtIndices)}}},l={dangerouslyProcessChildrenUpdates:u.measure("ReactDOMIDOperations","dangerouslyProcessChildrenUpdates",c),dangerouslyReplaceNodeWithMarkupByID:u.measure("ReactDOMIDOperations","dangerouslyReplaceNodeWithMarkupByID",function(e,t){var n=i.mostRecentMountedNodeHandleForRootNodeID(e);s.replaceExistingNonRootView(n,t.tag),i.associateRootNodeIDWithMountedNodeHandle(e,t.tag)})};o.exports=l}),__d("ReactMultiChildUpdateTypes",["keyMirror"],function(e,t,n,r,o){"use strict";var i=t("keyMirror"),a=i({INSERT_MARKUP:null,MOVE_EXISTING:null,REMOVE_NODE:null,TEXT_CONTENT:null});o.exports=a}),__d("ReactNativeReconcileTransaction",["CallbackQueue","PooledClass","Transaction"],function(e,t,n,r,o){"use strict";function i(){this.reinitializeTransaction(),this.reactMountReady=a.getPooled(null)}var a=t("CallbackQueue"),s=t("PooledClass"),u=t("Transaction"),c={initialize:function(){this.reactMountReady.reset()},close:function(){this.reactMountReady.notifyAll()}},l=[c],p={getTransactionWrappers:function(){return l},getReactMountReady:function(){return this.reactMountReady},destructor:function(){a.release(this.reactMountReady),this.reactMountReady=null}};Object.assign(i.prototype,u.Mixin,i,p),s.addPoolingTo(i),o.exports=i}),__d("ReactNativeGlobalInteractionHandler",["InteractionManager"],function(e,t,n,r,o){"use strict";var i=t("InteractionManager"),a=null,s={onChange:function(e){0===e?a&&(i.clearInteractionHandle(a),a=null):a||(a=i.createInteractionHandle())}};o.exports=s}),__d("InteractionManager",["ErrorUtils","EventEmitter","Set","invariant","keyMirror","setImmediate"],function(e,t,n,r,o){"use strict";function i(){g||(g=f(a))}function a(){g=null;var e=h.size;m.forEach(function(e){return h.add(e)}),v.forEach(function(e){return h["delete"](e)});var t=h.size;if(0!==e&&0===t?d.emit(b.Events.interactionComplete):0===e&&0!==t&&d.emit(b.Events.interactionStart),0===t){var n=y;y=[],n.forEach(function(e){s.applyWithGuard(e)})}m.clear(),v.clear()}var s=t("ErrorUtils"),u=t("EventEmitter"),c=t("Set"),l=t("invariant"),p=t("keyMirror"),f=t("setImmediate"),d=new u,h=new c,m=new c,v=new c,g=null,y=[],_=0,b={Events:p({interactionStart:!0,interactionComplete:!0}),runAfterInteractions:function(e){l("function"==typeof e,"Must specify a function to schedule."),i(),y.push(e)},createInteractionHandle:function(){i();var e=++_;return m.add(e),e},clearInteractionHandle:function(e){l(!!e,"Must provide a handle to clear."),i(),m["delete"](e),v.add(e)},addListener:d.addListener.bind(d)};o.exports=b}),__d("Set",["Map","toIterator","_shouldPolyfillES6Collection"],function(e,t,n,r,o){function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=t("Map"),u=t("toIterator"),c=t("_shouldPolyfillES6Collection");o.exports=function(e){function t(e){e._map=new s,e.size=e._map.size}if(!c("Set"))return e.Set;var n=function(){function e(n){if(i(this,e),null==this||"object"!=typeof this&&"function"!=typeof this)throw new TypeError("Wrong set object type.");if(t(this),null!=n)for(var r,o=u(n);!(r=o.next()).done;)this.add(r.value)}return a(e,[{key:"add",value:function(e){return this._map.set(e,e),this.size=this._map.size,this}},{key:"clear",value:function(){t(this)}},{key:"delete",value:function(e){var t=this._map["delete"](e);return this.size=this._map.size,t}},{key:"entries",value:function(){return this._map.entries()}},{key:"forEach",value:function(e){for(var t,n=arguments[1],r=this._map.keys();!(t=r.next()).done;)e.call(n,t.value,t.value,this)}},{key:"has",value:function(e){return this._map.has(e)}},{key:"values",value:function(){return this._map.values()}}]),e}();return n.prototype[u.ITERATOR_SYMBOL]=n.prototype.values,n.prototype.keys=n.prototype.values,n}(Function("return this")())}),__d("Map",["guid","isNode","toIterator","_shouldPolyfillES6Collection"],function(e,t,n,r,o){function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=t("guid"),u=t("isNode"),c=t("toIterator"),l=t("_shouldPolyfillES6Collection");o.exports=function(e,t){function n(e,t){if(p(t)){var n=x(t);return e._objectIndex[n]}var r=_+t;return"string"==typeof t?e._stringIndex[r]:e._otherIndex[r]}function r(e,t,n){var r=null==n;if(p(t)){var o=x(t);r?delete e._objectIndex[o]:e._objectIndex[o]=n}else{var i=_+t;"string"==typeof t?r?delete e._stringIndex[i]:e._stringIndex[i]=n:r?delete e._otherIndex[i]:e._otherIndex[i]=n}}function o(e){return e._mapData=[],e._objectIndex={},e._stringIndex={},e._otherIndex={},__DEV__&&E?void(e.hasOwnProperty(m)?e[m]=0:(Object.defineProperty(e,m,{value:0,writable:!0}),Object.defineProperty(e,"size",{set:function(){throw console.error("PLEASE FIX ME: You are changing the map size property which should not be writable and will break in production."),new Error("The map size property is not writable.")},get:function(){return e[m]}}))):void(e.size=0)}function p(e){return null!=e&&("object"==typeof e||"function"==typeof e)}function f(e,t){return{value:e,done:t}}function d(e){return E?Object.isExtensible(e):!0}function h(e){var t;switch(e.nodeType){case 1:t=e.uniqueID;break;case 9:t=e.documentElement.uniqueID;break;default:return null}return t?b+t:null}if(!l("Map"))return e.Map;var m,v="key",g="value",y="key+value",_="$map_";__DEV__&&(m="$size"+s());var b="IE_HASH_",S=function(){function e(t){if(i(this,e),!p(this))throw new TypeError("Wrong map object type.");if(o(this),null!=t)for(var n,r=c(t);!(n=r.next()).done;){if(!p(n.value))throw new TypeError("Expected iterable items to be pair objects.");this.set(n.value[0],n.value[1])}}return a(e,[{key:"clear",value:function(){o(this)}},{key:"has",value:function(e){var t=n(this,e);return!(null==t||!this._mapData[t])}},{key:"set",value:function(e,t){var o=n(this,e);return null!=o&&this._mapData[o]?this._mapData[o][1]=t:(o=this._mapData.push([e,t])-1,r(this,e,o),__DEV__?this[m]+=1:this.size+=1),this}},{key:"get",value:function(e){var r=n(this,e);return null==r?t:this._mapData[r][1]}},{key:"delete",value:function(e){var o=n(this,e);return null!=o&&this._mapData[o]?(r(this,e,t),this._mapData[o]=t,__DEV__?this[m]-=1:this.size-=1,!0):!1}},{key:"entries",value:function(){return new R(this,y)}},{key:"keys",value:function(){return new R(this,v)}},{key:"values",value:function(){return new R(this,g)}},{key:"forEach",value:function(e,n){if("function"!=typeof e)throw new TypeError("Callback must be callable.");for(var r=e.bind(n||t),o=this._mapData,i=0;i<o.length;i++){var a=o[i];null!=a&&r(a[1],a[0],this)}}}]),e}();S.prototype[c.ITERATOR_SYMBOL]=S.prototype.entries;var R=function(){function e(t,n){if(i(this,e),!p(t)||!t._mapData)throw new TypeError("Object is not a map.");if(-1===[v,y,g].indexOf(n))throw new Error("Invalid iteration kind.");this._map=t,this._nextIndex=0,this._kind=n}return a(e,[{key:"next",value:function(){if(!this instanceof S)throw new TypeError("Expected to be called on a MapIterator.");var e=this._map,n=this._nextIndex,r=this._kind;if(null==e)return f(t,!0);for(var o=e._mapData;n<o.length;){var i=o[n];if(n+=1,this._nextIndex=n,i){if(r===v)return f(i[0],!1);if(r===g)return f(i[1],!1);if(r)return f(i,!1)}}return this._map=t,f(t,!0)}}]),e}();R.prototype[c.ITERATOR_SYMBOL]=function(){return this};var E=function(){try{return Object.defineProperty({},"x",{}),!0}catch(e){return!1}}(),x=function(){var e=Object.prototype.propertyIsEnumerable,t=s(),n=0;return function(r){if(r[t])return r[t];if(!E&&r.propertyIsEnumerable&&r.propertyIsEnumerable[t])return r.propertyIsEnumerable[t];if(!E&&u(r)&&h(r))return h(r);if(!E&&r[t])return r[t];if(d(r)){if(n+=1,E)Object.defineProperty(r,t,{enumerable:!1,writable:!1,configurable:!1,value:n});else if(r.propertyIsEnumerable)r.propertyIsEnumerable=function(){return e.apply(this,arguments)},r.propertyIsEnumerable[t]=n;else{if(!u(r))throw new Error("Unable to set a non-enumerable property on object.");r[t]=n}return n}throw new Error("Non-extensible objects are not allowed as keys.")}}();return S}(Function("return this")())}),__d("guid",[],function(e,t,n,r,o){function i(){return"f"+(Math.random()*(1<<30)).toString(16).replace(".","")}o.exports=i}),__d("isNode",[],function(e,t,n,r,o){function i(e){return!(!e||!("function"==typeof Node?e instanceof Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}o.exports=i}),__d("toIterator",[],function(e,t,n,r,o){function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s="key",u="value",c="key+value",l="function"==typeof Symbol?Symbol.iterator:"@@iterator",p=function(){return Array.prototype[l]&&String.prototype[l]?function(e){return e[l]()}:function(){function e(e,t){return{value:e,done:t}}var t=function(){function t(e,n){if(i(this,t),!Array.isArray(e))throw new TypeError("Object is not an Array");this._iteratedObject=e,this._kind=n,this._nextIndex=0}return a(t,[{key:"next",value:function(){if(!this instanceof t)throw new TypeError("Object is not an ArrayIterator");if(null==this._iteratedObject)return e(void 0,!0);var n=this._iteratedObject,r=this._iteratedObject.length,o=this._nextIndex,i=this._kind;return o>=r?(this._iteratedObject=void 0,e(void 0,!0)):(this._nextIndex=o+1,i===s?e(o,!1):i===u?e(n[o],!1):i===c?e([o,n[o]],!1):void 0)}},{key:"@@iterator",value:function(){return this}}]),t}(),n=function(){function t(e){if(i(this,t),"string"!=typeof e)throw new TypeError("Object is not a string");this._iteratedString=e,this._nextIndex=0}return a(t,[{key:"next",value:function(){if(!this instanceof t)throw new TypeError("Object is not a StringIterator");if(null==this._iteratedString)return e(void 0,!0);var n=this._nextIndex,r=this._iteratedString,o=r.length;if(n>=o)return this._iteratedString=void 0,e(void 0,!0);var i,a=r.charCodeAt(n);if(55296>a||a>56319||n+1===o)i=r[n];else{var s=r.charCodeAt(n+1);i=56320>s||s>57343?r[n]:r[n]+r[n+1]}return this._nextIndex=n+i.length,e(i,!1)}},{key:"@@iterator",value:function(){return this}}]),t}();return function(e,r){return"string"==typeof e?new n(e):Array.isArray(e)?new t(e,r||u):e[l]()}}()}();Object.assign(p,{KIND_KEY:s,KIND_VALUE:u,KIND_KEY_VAL:c,ITERATOR_SYMBOL:l}),o.exports=p}),__d("_shouldPolyfillES6Collection",[],function(e,t,n,r,o){function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(t){var n=e[t];if(null==n)return!0;var r=n.prototype;return null==n||"function"!=typeof n||"function"!=typeof r.clear||0!==(new n).size||"function"!=typeof r.keys||"function"!=typeof r.forEach||c(n)||!u(n)}function u(e){var t=function(e){function t(){i(this,t),l(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return a(t,e),t}(e);try{var n=new t([]);return n.size,n instanceof e}catch(r){return!1}}function c(e){try{e()}catch(t){return!1}return!0}var l=function p(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:p(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)};o.exports=s}),__d("ReactNativeGlobalResponderHandler",["NativeModules","ReactNativeTagHandles"],function(e,t,n,r,o){"use strict";var i=t("NativeModules").UIManager,a=t("ReactNativeTagHandles"),s={onChange:function(e,t,n){null!==t?i.setJSResponder(a.mostRecentMountedNodeHandleForRootNodeID(t),n):i.clearJSResponder()}};o.exports=s}),__d("ReactNativeTextComponent",["ReactNativeTagHandles","NativeModules","Object.assign"],function(e,t,n,r,o){"use strict";var i=t("ReactNativeTagHandles"),a=t("NativeModules").UIManager,s=t("Object.assign"),u=function(){};s(u.prototype,{construct:function(e){this._currentElement=e,this._stringText=""+e,this._rootNodeID=null},mountComponent:function(e){this._rootNodeID=e;var t=i.allocateTag(),n=i.getNativeTopRootIDFromNodeID(e);return a.createView(t,"RCTRawText",n?i.rootNodeIDToTag[n]:null,{text:this._stringText}),{rootNodeID:e,tag:t}},receiveComponent:function(e){if(e!==this._currentElement){this._currentElement=e;var t=""+e;t!==this._stringText&&(this._stringText=t,a.updateView(i.mostRecentMountedNodeHandleForRootNodeID(this._rootNodeID),"RCTRawText",{text:this._stringText}))}},unmountComponent:function(){this._currentElement=null,this._stringText=null,this._rootNodeID=null}}),o.exports=u}),__d("ResponderEventPlugin",["EventConstants","EventPluginUtils","EventPropagators","ReactInstanceHandles","ResponderSyntheticEvent","ResponderTouchHistoryStore","accumulate","invariant","keyOf"],function(e,t,n,r,o){"use strict";function i(e,t,n,r){var o=g(e)?C.startShouldSetResponder:y(e)?C.moveShouldSetResponder:e===u.topLevelTypes.topSelectionChange?C.selectionChangeShouldSetResponder:C.scrollShouldSetResponder,i=E?p.getFirstCommonAncestorID(E,t):t,a=i===E,s=f.getPooled(o,i,n,r);s.touchHistory=d.touchHistory,a?l.accumulateTwoPhaseDispatchesSkipTarget(s):l.accumulateTwoPhaseDispatches(s);var c=R(s);if(s.isPersistent()||s.constructor.release(s),!c||c===E)return null;var m,v=f.getPooled(C.responderGrant,c,n,r);v.touchHistory=d.touchHistory,l.accumulateDirectDispatches(v);var _=b(v)===!0;if(E){var x=f.getPooled(C.responderTerminationRequest,E,n,r);x.touchHistory=d.touchHistory,l.accumulateDirectDispatches(x);var T=!S(x)||b(x);if(x.isPersistent()||x.constructor.release(x),T){var I=C.responderTerminate,O=f.getPooled(I,E,n,r);O.touchHistory=d.touchHistory,l.accumulateDirectDispatches(O),m=h(m,[v,O]),w(c,_)}else{var P=f.getPooled(C.responderReject,c,n,r);P.touchHistory=d.touchHistory,l.accumulateDirectDispatches(P),m=h(m,P)}}else m=h(m,v),w(c,_);return m}function a(e,t){return t&&(e===u.topLevelTypes.topScroll||x>0&&e===u.topLevelTypes.topSelectionChange||g(e)||y(e))}function s(e){var t=e.touches;if(!t||0===t.length)return!0;for(var n=0;n<t.length;n++){var r=t[n],o=r.target;if(null!==o&&void 0!==o&&0!==o){var i=p.isAncestorIDOf(E,c.getID(o));if(i)return!1}}return!0}var u=t("EventConstants"),c=t("EventPluginUtils"),l=t("EventPropagators"),p=t("ReactInstanceHandles"),f=t("ResponderSyntheticEvent"),d=t("ResponderTouchHistoryStore"),h=t("accumulate"),m=t("invariant"),v=t("keyOf"),g=c.isStartish,y=c.isMoveish,_=c.isEndish,b=c.executeDirectDispatch,S=c.hasDispatches,R=c.executeDispatchesInOrderStopAtTrue,E=null,x=0,T=0,w=function(e,t){var n=E;E=e,null!==I.GlobalResponderHandler&&I.GlobalResponderHandler.onChange(n,e,t)},C={startShouldSetResponder:{phasedRegistrationNames:{bubbled:v({onStartShouldSetResponder:null}),captured:v({onStartShouldSetResponderCapture:null})}},scrollShouldSetResponder:{phasedRegistrationNames:{bubbled:v({onScrollShouldSetResponder:null}),captured:v({onScrollShouldSetResponderCapture:null})}},selectionChangeShouldSetResponder:{phasedRegistrationNames:{bubbled:v({onSelectionChangeShouldSetResponder:null}),captured:v({onSelectionChangeShouldSetResponderCapture:null})}},moveShouldSetResponder:{phasedRegistrationNames:{bubbled:v({onMoveShouldSetResponder:null}),captured:v({onMoveShouldSetResponderCapture:null})}},responderStart:{registrationName:v({onResponderStart:null})},responderMove:{registrationName:v({onResponderMove:null})},responderEnd:{registrationName:v({onResponderEnd:null})},responderRelease:{registrationName:v({onResponderRelease:null})},responderTerminationRequest:{registrationName:v({onResponderTerminationRequest:null})},responderGrant:{registrationName:v({onResponderGrant:null})},responderReject:{registrationName:v({onResponderReject:null})},responderTerminate:{registrationName:v({onResponderTerminate:null})}},I={getResponderID:function(){return E},eventTypes:C,extractEvents:function(e,t,n,r,o){g(e)?x+=1:_(e)&&(x-=1,m(x>=0,"Ended a touch event which was not counted in trackedTouchCount.")),d.recordTouchTrack(e,r,o);var c=a(e,n)?i(e,n,r,o):null,p=E&&g(e),v=E&&y(e),b=E&&_(e),S=p?C.responderStart:v?C.responderMove:b?C.responderEnd:null;if(S){var R=f.getPooled(S,E,r,o);R.touchHistory=d.touchHistory,l.accumulateDirectDispatches(R),c=h(c,R)}var O=E&&e===u.topLevelTypes.topTouchCancel,P=E&&!O&&_(e)&&s(r),D=O?C.responderTerminate:P?C.responderRelease:null;if(D){var N=f.getPooled(D,E,r,o);N.touchHistory=d.touchHistory,l.accumulateDirectDispatches(N),c=h(c,N),w(null)}var M=d.touchHistory.numberActiveTouches;return I.GlobalInteractionHandler&&M!==T&&I.GlobalInteractionHandler.onChange(M),T=M,c},GlobalResponderHandler:null,GlobalInteractionHandler:null,injection:{injectGlobalResponderHandler:function(e){I.GlobalResponderHandler=e},injectGlobalInteractionHandler:function(e){I.GlobalInteractionHandler=e}}};o.exports=I}),__d("ResponderSyntheticEvent",["SyntheticEvent"],function(e,t,n,r,o){"use strict";function i(e,t,n,r){a.call(this,e,t,n,r)}var a=t("SyntheticEvent"),s={touchHistory:function(){return null}};a.augmentClass(i,s),o.exports=i}),__d("ResponderTouchHistoryStore",["EventPluginUtils","invariant"],function(e,t,n,r,o){"use strict";var i=t("EventPluginUtils"),a=t("invariant"),s=i.isMoveish,u=i.isStartish,c=i.isEndish,l=20,p={touchBank:[],numberActiveTouches:0,indexOfSingleActiveTouch:-1,mostRecentTimeStamp:0},f=function(e){return e.timeStamp||e.timestamp},d=function(e){return{touchActive:!0,startTimeStamp:f(e),startPageX:e.pageX,startPageY:e.pageY,currentPageX:e.pageX,currentPageY:e.pageY,currentTimeStamp:f(e),previousPageX:e.pageX,previousPageY:e.pageY,previousTimeStamp:f(e)}},h=function(e,t){e.touchActive=!0,e.startTimeStamp=f(t),e.startPageX=t.pageX,e.startPageY=t.pageY,e.currentPageX=t.pageX,e.currentPageY=t.pageY,e.currentTimeStamp=f(t),e.previousPageX=t.pageX,e.previousPageY=t.pageY,e.previousTimeStamp=f(t)},m=function(e){var t=e.identifier;a(null!=t,"Touch object is missing identifier"),t>l&&console.warn("Touch identifier "+t+" is greater than maximum supported "+l+" which causes performance issues backfilling array locations for all of the indices.")},v=function(e){var t=p.touchBank,n=e.identifier,r=t[n];__DEV__&&m(e),r?h(r,e):t[e.identifier]=d(e),p.mostRecentTimeStamp=f(e)},g=function(e){var t=p.touchBank,n=t[e.identifier];__DEV__&&(m(e),a(n,"Touch data should have been recorded on start")),n.touchActive=!0,n.previousPageX=n.currentPageX,n.previousPageY=n.currentPageY,n.previousTimeStamp=n.currentTimeStamp,n.currentPageX=e.pageX,n.currentPageY=e.pageY,n.currentTimeStamp=f(e),p.mostRecentTimeStamp=f(e)},y=function(e){var t=p.touchBank,n=t[e.identifier];__DEV__&&(m(e),a(n,"Touch data should have been recorded on start")),n.previousPageX=n.currentPageX,n.previousPageY=n.currentPageY,n.previousTimeStamp=n.currentTimeStamp,n.currentPageX=e.pageX,n.currentPageY=e.pageY,n.currentTimeStamp=f(e),n.touchActive=!1,p.mostRecentTimeStamp=f(e)},_={recordTouchTrack:function(e,t){var n=p.touchBank;if(s(e))t.changedTouches.forEach(g);else if(u(e))t.changedTouches.forEach(v),p.numberActiveTouches=t.touches.length,1===p.numberActiveTouches&&(p.indexOfSingleActiveTouch=t.touches[0].identifier);else if(c(e)&&(t.changedTouches.forEach(y),p.numberActiveTouches=t.touches.length,1===p.numberActiveTouches)){for(var r=0;r<n.length;r++){var o=n[r];if(null!=o&&o.touchActive){p.indexOfSingleActiveTouch=r;break}}if(__DEV__){var i=n[p.indexOfSingleActiveTouch],l=null!=i&&!!i.touchActive;a(l,"Cannot find single active touch")}}},touchHistory:p};o.exports=_}),__d("accumulate",["invariant"],function(e,t,n,r,o){"use strict";function i(e,t){if(a(null!=t,"accumulate(...): Accumulated items must be not be null or undefined."),null==e)return t;var n=Array.isArray(e),r=Array.isArray(t);return n?e.concat(t):r?[e].concat(t):[e,t]}var a=t("invariant");o.exports=i}),__d("UniversalWorkerNodeHandle",["ReactNativeTagHandles","invariant"],function(e,t,n,r,o){var i=t("ReactNativeTagHandles"),a=t("invariant"),s={getRootNodeID:function(e){return a(void 0!==e&&null!==e&&0!==e,"No node handle defined"),i.tagToRootNodeID[e]}};o.exports=s}),__d("createReactNativeComponentClass",["ReactNativeBaseComponent"],function(e,t,n,r,o){"use strict";var i=t("ReactNativeBaseComponent"),a=function(e){var t=function(e){this._currentElement=e,this._rootNodeID=null,this._renderedChildren=null,this.previousFlattenedStyle=null};return t.displayName=e.uiViewClassName,t.viewConfig=e,t.propTypes=e.propTypes,t.prototype=new i(e),t.prototype.constructor=t,t};o.exports=a}),__d("ReactNativeBaseComponent",["NativeMethodsMixin","ReactNativeEventEmitter","ReactNativeStyleAttributes","ReactNativeTagHandles","ReactMultiChild","NativeModules","styleDiffer","deepFreezeAndThrowOnMutationInDev","diffRawProperties","flattenStyle","precomputeStyle","warning"],function(e,t,n,r,o){"use strict";var i=t("NativeMethodsMixin"),a=t("ReactNativeEventEmitter"),s=t("ReactNativeStyleAttributes"),u=t("ReactNativeTagHandles"),c=t("ReactMultiChild"),l=t("NativeModules").UIManager,p=t("styleDiffer"),f=t("deepFreezeAndThrowOnMutationInDev"),d=t("diffRawProperties"),h=t("flattenStyle"),m=t("precomputeStyle"),v=t("warning"),g=a.registrationNames,y=a.putListener,_=a.deleteListener,b=a.deleteAllListeners,S=function(e){this.viewConfig=e},R=function(e){var t=R._cache[e];if(t)return t;for(var n=[],r=0;e>r;r++)n[r]=r;return R._cache[e]=n,n};R._cache={},S.Mixin={getPublicInstance:function(){return this},construct:function(e){this._currentElement=e},unmountComponent:function(){b(this._rootNodeID),this.unmountChildren(),this._rootNodeID=null},initializeChildren:function(e,t,n,r){var o=this.mountChildren(e,n,r);if(o.length){for(var i=R(o.length),a=[],s=0;s<o.length;s++){var c=o[s],p=c.tag,f=c.rootNodeID;v(c&&c.rootNodeID&&c.tag,"Mount image returned does not have required data"),u.associateRootNodeIDWithMountedNodeHandle(f,p),a[s]=c.tag}l.manageChildren(t,null,null,a,i,null)}},computeUpdatedProperties:function(e,t,n){if(__DEV__)for(var r in t)t.hasOwnProperty(r)&&t[r]&&n[r]&&f(t[r]);var o=d(null,e,t,n);if(p(t.style,e.style)){var i=m(h(t.style));o=d(o,this.previousFlattenedStyle,i,s),this.previousFlattenedStyle=i}return o},receiveComponent:function(e,t,n){var r=this._currentElement;this._currentElement=e;var o=this.computeUpdatedProperties(r.props,e.props,this.viewConfig.validAttributes);o&&l.updateView(u.mostRecentMountedNodeHandleForRootNodeID(this._rootNodeID),this.viewConfig.uiViewClassName,o),this._reconcileListenersUponUpdate(r.props,e.props),this.updateChildren(e.props.children,t,n)},_registerListenersUponCreation:function(e){for(var t in e)if(g[t]&&e[t]){var n=e[t];y(this._rootNodeID,t,n)}},_reconcileListenersUponUpdate:function(e,t){for(var n in t)g[n]&&t[n]!==e[n]&&(t[n]?y(this._rootNodeID,n,t[n]):_(this._rootNodeID,n))},mountComponent:function(e,t,n){this._rootNodeID=e;var r=u.allocateTag();this.previousFlattenedStyle={};var o=this.computeUpdatedProperties({},this._currentElement.props,this.viewConfig.validAttributes),i=u.getNativeTopRootIDFromNodeID(e);return l.createView(r,this.viewConfig.uiViewClassName,i?u.rootNodeIDToTag[i]:null,o),this._registerListenersUponCreation(this._currentElement.props),this.initializeChildren(this._currentElement.props.children,r,t,n),{rootNodeID:e,tag:r}}},Object.assign(S.prototype,c.Mixin,S.Mixin,i),o.exports=S}),__d("NativeMethodsMixin",["NativeModules","TextInputState","findNodeHandle","flattenStyle","invariant","mergeFast","precomputeStyle"],function(e,t,n,r,o){"use strict";function i(e,t){if(void 0!==t.styles){var n=e._owner||null,r=e.constructor.displayName,o="`styles` is not a supported property of `"+r+"`, did you mean `style` (singular)?";throw n&&n.constructor&&n.constructor.displayName&&(o+="\n\nCheck the `"+n.constructor.displayName+"` parent component."),new Error(o)}}var a=t("NativeModules"),s=a.POPAnimationManager,u=a.UIManager,c=t("TextInputState"),l=t("findNodeHandle"),p=t("flattenStyle"),f=t("invariant"),d=t("mergeFast"),h=t("precomputeStyle"),m=function(e,t){f(t,e+' must be called with a valid animation ID returned from POPAnimation.createAnimation, received: "'+t+'"')},v={addAnimation:function(e,t){m("addAnimation",e),s.addAnimation(l(this),e,y(this,t))},removeAnimation:function(e){m("removeAnimation",e),s.removeAnimation(l(this),e)},measure:function(e){u.measure(l(this),y(this,e))},measureLayout:function(e,t,n){u.measureLayout(l(this),e,y(this,n),y(this,t))},setNativeProps:function(e){var t=!0;for(var n in e)if("style"!==n){t=!1;break}var r=h(p(e.style)),o=null;o=t?r:r?d(e,r):e,u.updateView(l(this),this.viewConfig.uiViewClassName,o)},focus:function(){c.focusTextInput(l(this))},blur:function(){c.blurTextInput(l(this))}};if(__DEV__){var g=v;f(!g.componentWillMount&&!g.componentWillReceiveProps,"Do not override existing functions."),g.componentWillMount=function(){i(this,this.props)},g.componentWillReceiveProps=function(e){i(this,e)}}var y=function(e,t){return function(){return!t||e.isMounted&&!e.isMounted()?void 0:t.apply(e,arguments)}};o.exports=v}),__d("TextInputState",["Platform","NativeModules"],function(e,t,n,r,o){"use strict";var i=t("Platform"),a=t("NativeModules").UIManager,s={_currentlyFocusedID:null,currentlyFocusedField:function(){return this._currentlyFocusedID},focusTextInput:function(e){this._currentlyFocusedID!==e&&null!==e&&(this._currentlyFocusedID=e,"ios"===i.OS?a.focus(e):"android"===i.OS&&a.dispatchViewManagerCommand(e,a.AndroidTextInput.Commands.focusTextInput,null))},blurTextInput:function(e){this._currentlyFocusedID===e&&null!==e&&(this._currentlyFocusedID=null,"ios"===i.OS?a.blur(e):"android"===i.OS&&a.dispatchViewManagerCommand(e,a.AndroidTextInput.Commands.blurTextInput,null))}};o.exports=s}),__d("flattenStyle",["StyleSheetRegistry","invariant"],function(e,t,n,r,o){"use strict";function i(e){return"number"==typeof e?s.getStyleByID(e):e}function a(e){if(!e)return void 0;if(u(e!==!0,"style may be false but not true"),!Array.isArray(e))return i(e);for(var t={},n=0;n<e.length;++n){var r=a(e[n]);if(r)for(var o in r)if(t[o]=r[o],__DEV__){r[o]}}return t}var s=t("StyleSheetRegistry"),u=t("invariant");o.exports=a}),__d("StyleSheetRegistry",[],function(e,t,n,r,o){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s={},u=1,c={},l=function(){function e(){i(this,e)}return a(e,null,[{key:"registerStyle",value:function(e){var t=++u;return __DEV__&&Object.freeze(e),s[t]=e,t}},{key:"getStyleByID",value:function(e){if(!e)return c;var t=s[e];return t?t:(console.warn("Invalid style with id `"+e+"`. Skipping ..."),c)}}]),e}();o.exports=l}),__d("mergeFast",[],function(e,t,n,r,o){"use strict";var i=function(e,t){var n={};for(var r in e)n[r]=e[r];for(var o in t)n[o]=t[o];return n};o.exports=i}),__d("precomputeStyle",["MatrixMath","Platform","deepFreezeAndThrowOnMutationInDev","invariant","stringifySafe"],function(e,t,n,r,o){"use strict";function i(e){if(!e||!e.transform)return e;h(!e.transformMatrix,"transformMatrix and transform styles cannot be used on the same component");var t=a(l({},e));return d(t),t}function a(e){var t=e.transform,n=p.createIdentityMatrix();return t.forEach(function(e){var t=Object.keys(e)[0],r=e[t];switch(__DEV__&&c(t,r,e),t){case"matrix":p.multiplyInto(n,n,r);break;case"perspective":s(n,p.reusePerspectiveCommand,[r]);break;case"rotateX":s(n,p.reuseRotateXCommand,[u(r)]);break;case"rotateY":s(n,p.reuseRotateYCommand,[u(r)]);break;case"rotate":case"rotateZ":s(n,p.reuseRotateZCommand,[u(r)]);break;case"scale":s(n,p.reuseScaleCommand,[r]);break;case"scaleX":s(n,p.reuseScaleXCommand,[r]);break;case"scaleY":s(n,p.reuseScaleYCommand,[r]);break;case"translate":s(n,p.reuseTranslate3dCommand,[r[0],r[1],r[2]||0]);break;case"translateX":s(n,p.reuseTranslate2dCommand,[r,0]);break;case"translateY":s(n,p.reuseTranslate2dCommand,[0,r]);break;default:throw new Error("Invalid transform name: "+t)}}),"android"===f.OS?l({},e,{transformMatrix:n,decomposedMatrix:p.decomposeMatrix(n)}):l({},e,{transformMatrix:n})}function s(e,t,n){var r=p.createIdentityMatrix(),o=[r].concat(n);t.apply(this,o),p.multiplyInto(e,e,r)}function u(e){var t=parseFloat(e,10);return e.indexOf("rad")>-1?t:t*Math.PI/180}function c(e,t,n){h(!t.getValue,"You passed an Animated.Value to a normal component. You need to wrap that component in an Animated. For example, replace <View /> by <Animated.View />.");var r=["matrix","translate"];switch(-1!==r.indexOf(e)&&h(Array.isArray(t),"Transform with key of %s must have an array as the value: %s",e,m(n)),e){case"matrix":h(9===t.length||16===t.length,"Matrix transform must have a length of 9 (2d) or 16 (3d). Provided matrix has a length of %s: %s",t.length,m(n));break;case"translate":break;case"rotateX":case"rotateY":case"rotateZ":case"rotate":h("string"==typeof t,'Transform with key of "%s" must be a string: %s',e,m(n)),h(t.indexOf("deg")>-1||t.indexOf("rad")>-1,"Rotate transform must be expressed in degrees (deg) or radians (rad): %s",m(n));break;default:h("number"==typeof t,'Transform with key of "%s" must be a number: %s',e,m(n))}}var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p=t("MatrixMath"),f=t("Platform"),d=t("deepFreezeAndThrowOnMutationInDev"),h=t("invariant"),m=t("stringifySafe");o.exports=i}),__d("MatrixMath",["invariant"],function(e,t,n,r,o){"use strict";var i=t("invariant"),a={createIdentityMatrix:function(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]},createCopy:function(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]]},createFrustum:function(e,t,n,r,o,i){var a=1/(t-e),s=1/(r-n),u=1/(o-i),c=2*o*a,l=2*o*s,p=(t+e)*a,f=(r+n)*s,d=(i+o)*u,h=2*i*o*u;return[c,0,0,0,0,l,0,0,p,f,d,-1,0,0,h,0]},createTranslate2d:function(e,t){var n=a.createIdentityMatrix();return a.reuseTranslate2dCommand(n,e,t),n},reuseTranslate2dCommand:function(e,t,n){e[12]=t,e[13]=n},reuseTranslate3dCommand:function(e,t,n,r){e[12]=t,e[13]=n,e[14]=r},createScale:function(e){var t=a.createIdentityMatrix();return a.reuseScaleCommand(t,e),t},reuseScaleCommand:function(e,t){e[0]=t,e[5]=t},reuseScale3dCommand:function(e,t,n,r){e[0]=t,e[5]=n,e[10]=r},reusePerspectiveCommand:function(e,t){e[11]=-1/t},reuseScaleXCommand:function(e,t){e[0]=t},reuseScaleYCommand:function(e,t){e[5]=t},reuseScaleZCommand:function(e,t){e[10]=t},reuseRotateXCommand:function(e,t){e[5]=Math.cos(t),e[6]=Math.sin(t),e[9]=-Math.sin(t),e[10]=Math.cos(t)},reuseRotateYCommand:function(e,t){e[0]=Math.cos(t),e[2]=-Math.sin(t),e[8]=Math.sin(t),e[10]=Math.cos(t)},reuseRotateZCommand:function(e,t){e[0]=Math.cos(t),e[1]=Math.sin(t),e[4]=-Math.sin(t),e[5]=Math.cos(t)},createRotateZ:function(e){var t=a.createIdentityMatrix();return a.reuseRotateZCommand(t,e),t},multiplyInto:function(e,t,n){var r=t[0],o=t[1],i=t[2],a=t[3],s=t[4],u=t[5],c=t[6],l=t[7],p=t[8],f=t[9],d=t[10],h=t[11],m=t[12],v=t[13],g=t[14],y=t[15],_=n[0],b=n[1],S=n[2],R=n[3];e[0]=_*r+b*s+S*p+R*m,e[1]=_*o+b*u+S*f+R*v,e[2]=_*i+b*c+S*d+R*g,e[3]=_*a+b*l+S*h+R*y,_=n[4],b=n[5],S=n[6],R=n[7],e[4]=_*r+b*s+S*p+R*m,e[5]=_*o+b*u+S*f+R*v,e[6]=_*i+b*c+S*d+R*g,e[7]=_*a+b*l+S*h+R*y,_=n[8],b=n[9],S=n[10],R=n[11],e[8]=_*r+b*s+S*p+R*m,e[9]=_*o+b*u+S*f+R*v,e[10]=_*i+b*c+S*d+R*g,e[11]=_*a+b*l+S*h+R*y,_=n[12],b=n[13],S=n[14],R=n[15],e[12]=_*r+b*s+S*p+R*m,e[13]=_*o+b*u+S*f+R*v,e[14]=_*i+b*c+S*d+R*g,e[15]=_*a+b*l+S*h+R*y},determinant:function(e){var t=e[0],n=e[1],r=e[2],o=e[3],i=e[4],a=e[5],s=e[6],u=e[7],c=e[8],l=e[9],p=e[10],f=e[11],d=e[12],h=e[13],m=e[14],v=e[15];return o*s*l*d-r*u*l*d-o*a*p*d+n*u*p*d+r*a*f*d-n*s*f*d-o*s*c*h+r*u*c*h+o*i*p*h-t*u*p*h-r*i*f*h+t*s*f*h+o*a*c*m-n*u*c*m-o*i*l*m+t*u*l*m+n*i*f*m-t*a*f*m-r*a*c*v+n*s*c*v+r*i*l*v-t*s*l*v-n*i*p*v+t*a*p*v},inverse:function(e){var t=a.determinant(e);if(!t)return e;var n=e[0],r=e[1],o=e[2],i=e[3],s=e[4],u=e[5],c=e[6],l=e[7],p=e[8],f=e[9],d=e[10],h=e[11],m=e[12],v=e[13],g=e[14],y=e[15];return[(c*h*v-l*d*v+l*f*g-u*h*g-c*f*y+u*d*y)/t,(i*d*v-o*h*v-i*f*g+r*h*g+o*f*y-r*d*y)/t,(o*l*v-i*c*v+i*u*g-r*l*g-o*u*y+r*c*y)/t,(i*c*f-o*l*f-i*u*d+r*l*d+o*u*h-r*c*h)/t,(l*d*m-c*h*m-l*p*g+s*h*g+c*p*y-s*d*y)/t,(o*h*m-i*d*m+i*p*g-n*h*g-o*p*y+n*d*y)/t,(i*c*m-o*l*m-i*s*g+n*l*g+o*s*y-n*c*y)/t,(o*l*p-i*c*p+i*s*d-n*l*d-o*s*h+n*c*h)/t,(u*h*m-l*f*m+l*p*v-s*h*v-u*p*y+s*f*y)/t,(i*f*m-r*h*m-i*p*v+n*h*v+r*p*y-n*f*y)/t,(r*l*m-i*u*m+i*s*v-n*l*v-r*s*y+n*u*y)/t,(i*u*p-r*l*p-i*s*f+n*l*f+r*s*h-n*u*h)/t,(c*f*m-u*d*m-c*p*v+s*d*v+u*p*g-s*f*g)/t,(r*d*m-o*f*m+o*p*v-n*d*v-r*p*g+n*f*g)/t,(o*u*m-r*c*m-o*s*v+n*c*v+r*s*g-n*u*g)/t,(r*c*p-o*u*p+o*s*f-n*c*f-r*s*d+n*u*d)/t]},transpose:function(e){return[e[0],e[4],e[8],e[12],e[1],e[5],e[9],e[13],e[2],e[6],e[10],e[14],e[3],e[7],e[11],e[15]]},multiplyVectorByMatrix:function(e,t){var n=e[0],r=e[1],o=e[2],i=e[3];return[n*t[0]+r*t[4]+o*t[8]+i*t[12],n*t[1]+r*t[5]+o*t[9]+i*t[13],n*t[2]+r*t[6]+o*t[10]+i*t[14],n*t[3]+r*t[7]+o*t[11]+i*t[15]]},v3Length:function(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1]+e[2]*e[2])},v3Normalize:function(e,t){var n=1/(t||a.v3Length(e));return[e[0]*n,e[1]*n,e[2]*n]},v3Dot:function(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]},v3Combine:function(e,t,n,r){return[n*e[0]+r*t[0],n*e[1]+r*t[1],n*e[2]+r*t[2]]},v3Cross:function(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]},quaternionToDegreesXYZ:function(e){var t=e[0],n=e[1],r=e[2],o=e[3],i=o*o,s=t*t,u=n*n,c=r*r,l=t*n+r*o,p=i+s+u+c,f=180/Math.PI;return l>.49999*p?[0,2*Math.atan2(t,o)*f,90]:-.49999*p>l?[0,-2*Math.atan2(t,o)*f,-90]:[a.roundTo3Places(Math.atan2(2*t*o-2*n*r,1-2*s-2*c)*f),a.roundTo3Places(Math.atan2(2*n*o-2*t*r,1-2*u-2*c)*f),a.roundTo3Places(Math.asin(2*t*n+2*r*o)*f)]},roundTo3Places:function(e){var t=e.toString().split("e");return.001*Math.round(t[0]+"e"+(t[1]?+t[1]-3:3))},decomposeMatrix:function(e){i(16===e.length,"Matrix decomposition needs a list of 3d matrix values, received %s",e);var t=[],n=[],r=[],o=[],s=[];if(e[15]){for(var u=[],c=[],l=0;4>l;l++){u.push([]);for(var p=0;4>p;p++){var f=e[4*l+p]/e[15];u[l].push(f),c.push(3===p?0:f)}}if(c[15]=1,a.determinant(c)){if(0!==u[0][3]||0!==u[1][3]||0!==u[2][3])var d=[u[0][3],u[1][3],u[2][3],u[3][3]],h=a.inverse3x3(c),m=a.transpose4x4(h),t=a.multiplyVectorByMatrix(d,m);else t[0]=t[1]=t[2]=0,t[3]=1;for(var l=0;3>l;l++)s[l]=u[3][l];var v=[];for(l=0;3>l;l++)v[l]=[u[l][0],u[l][1],u[l][2]];r[0]=a.v3Length(v[0]),v[0]=a.v3Normalize(v[0],r[0]),o[0]=a.v3Dot(v[0],v[1]),v[1]=a.v3Combine(v[1],v[0],1,-o[0]),o[0]=a.v3Dot(v[0],v[1]),v[1]=a.v3Combine(v[1],v[0],1,-o[0]),r[1]=a.v3Length(v[1]),v[1]=a.v3Normalize(v[1],r[1]),o[0]/=r[1],o[1]=a.v3Dot(v[0],v[2]),v[2]=a.v3Combine(v[2],v[0],1,-o[1]),o[2]=a.v3Dot(v[1],v[2]),v[2]=a.v3Combine(v[2],v[1],1,-o[2]),r[2]=a.v3Length(v[2]),v[2]=a.v3Normalize(v[2],r[2]),o[1]/=r[2],o[2]/=r[2];var g=a.v3Cross(v[1],v[2]);if(a.v3Dot(v[0],g)<0)for(l=0;3>l;l++)r[l]*=-1,v[l][0]*=-1,v[l][1]*=-1,v[l][2]*=-1;n[0]=.5*Math.sqrt(Math.max(1+v[0][0]-v[1][1]-v[2][2],0)),n[1]=.5*Math.sqrt(Math.max(1-v[0][0]+v[1][1]-v[2][2],0)),n[2]=.5*Math.sqrt(Math.max(1-v[0][0]-v[1][1]+v[2][2],0)),n[3]=.5*Math.sqrt(Math.max(1+v[0][0]+v[1][1]+v[2][2],0)),v[2][1]>v[1][2]&&(n[0]=-n[0]),v[0][2]>v[2][0]&&(n[1]=-n[1]),v[1][0]>v[0][1]&&(n[2]=-n[2]);var y;return y=n[0]<.001&&n[0]>=0&&n[1]<.001&&n[1]>=0?[0,0,a.roundTo3Places(180*Math.atan2(v[0][1],v[0][0])/Math.PI)]:a.quaternionToDegreesXYZ(n,u,v),{rotationDegrees:y,perspective:t,quaternion:n,scale:r,skew:o,translation:s,rotate:y[2],scaleX:r[0],scaleY:r[1],translateX:s[0],translateY:s[1]}}}}};o.exports=a}),__d("deepFreezeAndThrowOnMutationInDev",[],function(e,t,n,r,o){"use strict";function i(e){if(__DEV__){if("object"!=typeof e||null===e||Object.isFrozen(e)||Object.isSealed(e))return;for(var t in e)e.hasOwnProperty(t)&&(e.__defineGetter__(t,s.bind(null,e[t])),e.__defineSetter__(t,a.bind(null,t)),i(e[t]));Object.freeze(e),Object.seal(e)}}function a(e,t){throw Error("You attempted to set the key `"+e+"` with the value `"+JSON.stringify(t)+"` on an object that is meant to be immutable and has been frozen.")}function s(e){return e}o.exports=i}),__d("ReactNativeEventEmitter",["EventPluginHub","ReactEventEmitterMixin","ReactNativeTagHandles","NodeHandle","EventConstants","merge","warning"],function(e,t,n,r,o){"use strict";var i=t("EventPluginHub"),a=t("ReactEventEmitterMixin"),s=t("ReactNativeTagHandles"),u=t("NodeHandle"),c=t("EventConstants"),l=t("merge"),p=t("warning"),f=c.topLevelTypes,d={},h=function(e,t){for(var n=[],r=0;r<t.length;r++)n.push(e[t[r]]);return n},m=function(e,t){for(var n=[],r=e,o=0;o<t.length;o++){var i=t[o];n.push(e[i]),r[i]=null}for(var a=0,s=0;s<r.length;s++){var u=r[s];null!==u&&(r[a++]=u)}return r.length=a,n},v=l(a,{registrationNames:i.registrationNameModules,putListener:i.putListener,getListener:i.getListener,deleteListener:i.deleteListener,deleteAllListeners:i.deleteAllListeners,_receiveRootNodeIDEvent:function(e,t,n){var r=n||d;v.handleTopLevel(t,e,e,r,r.target)},receiveEvent:function(e,t,n){var r=s.tagToRootNodeID[e];v._receiveRootNodeIDEvent(r,t,n)},receiveTouches:function(e,t,n){for(var r=e===f.topTouchEnd||e===f.topTouchCancel?m(t,n):h(t,n),o=0;o<r.length;o++){var i=r[o];i.changedTouches=r,i.touches=t;var a=i,c=null,l=a.target;null!==l&&void 0!==l&&(l<s.tagsStartAt?__DEV__&&p(!1,"A view is reporting that a touch occured on tag zero."):c=u.getRootNodeID(l)),v._receiveRootNodeIDEvent(c,e,a)}}});o.exports=v}),__d("ReactEventEmitterMixin",["EventPluginHub"],function(e,t,n,r,o){"use strict";function i(e){a.enqueueEvents(e),a.processEventQueue()}var a=t("EventPluginHub"),s={handleTopLevel:function(e,t,n,r,o){var s=a.extractEvents(e,t,n,r,o);i(s)}};o.exports=s}),__d("ReactNativeStyleAttributes",["ImageStylePropTypes","TextStylePropTypes","ViewStylePropTypes","keyMirror","matricesDiffer","sizesDiffer"],function(e,t,n,r,o){"use strict";var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=t("ImageStylePropTypes"),s=t("TextStylePropTypes"),u=t("ViewStylePropTypes"),c=t("keyMirror"),l=t("matricesDiffer"),p=t("sizesDiffer"),f=i({},c(u),c(s),c(a));f.transformMatrix={diff:l},f.shadowOffset={diff:p},f.decomposedMatrix="decomposedMatrix",o.exports=f}),__d("ImageStylePropTypes",["ImageResizeMode","LayoutPropTypes","ReactPropTypes","TransformPropTypes"],function(e,t,n,r,o){"use strict";var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=t("ImageResizeMode"),s=t("LayoutPropTypes"),u=t("ReactPropTypes"),c=t("TransformPropTypes"),l=i({},s,c,{resizeMode:u.oneOf(Object.keys(a)),backgroundColor:u.string,borderColor:u.string,borderWidth:u.number,borderRadius:u.number,overflow:u.oneOf(["visible","hidden"]),tintColor:u.string,opacity:u.number});o.exports=l}),__d("ImageResizeMode",["keyMirror"],function(e,t,n,r,o){"use strict";var i=t("keyMirror"),a=i({contain:null,cover:null,stretch:null});o.exports=a}),__d("LayoutPropTypes",["ReactPropTypes"],function(e,t,n,r,o){"use strict";var i=t("ReactPropTypes"),a={width:i.number,height:i.number,top:i.number,left:i.number,right:i.number,bottom:i.number,margin:i.number,marginVertical:i.number,marginHorizontal:i.number,marginTop:i.number,marginBottom:i.number,marginLeft:i.number,marginRight:i.number,padding:i.number,paddingVertical:i.number,paddingHorizontal:i.number,paddingTop:i.number,paddingBottom:i.number,paddingLeft:i.number,paddingRight:i.number,borderWidth:i.number,borderTopWidth:i.number,borderRightWidth:i.number,borderBottomWidth:i.number,borderLeftWidth:i.number,position:i.oneOf(["absolute","relative"]),flexDirection:i.oneOf(["row","column"]),flexWrap:i.oneOf(["wrap","nowrap"]),justifyContent:i.oneOf(["flex-start","flex-end","center","space-between","space-around"]),alignItems:i.oneOf(["flex-start","flex-end","center","stretch"]),alignSelf:i.oneOf(["auto","flex-start","flex-end","center","stretch"]),flex:i.number};o.exports=a}),__d("ReactPropTypes",["ReactElement","ReactFragment","ReactPropTypeLocationNames","emptyFunction"],function(e,t,n,r,o){"use strict";function i(e){function t(t,n,r,o,i,a){if(o=o||E,a=a||r,null==n[r]){var s=S[i];return t?new Error("Required "+s+" `"+a+"` was not specified in "+("`"+o+"`.")):null}return e(n,r,o,i,a)}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}function a(e){function t(t,n,r,o,i){var a=t[n],s=g(a);if(s!==e){var u=S[o],c=y(a);return new Error("Invalid "+u+" `"+i+"` of type "+("`"+c+"` supplied to `"+r+"`, expected ")+("`"+e+"`."))}return null}return i(t)}function s(){return i(R.thatReturns(null))}function u(e){function t(t,n,r,o,i){var a=t[n];if(!Array.isArray(a)){var s=S[o],u=g(a);return new Error("Invalid "+s+" `"+i+"` of type "+("`"+u+"` supplied to `"+r+"`, expected an array."))}for(var c=0;c<a.length;c++){var l=e(a,c,r,o,i+"["+c+"]");if(l instanceof Error)return l}return null}return i(t)}function c(){function e(e,t,n,r,o){if(!_.isValidElement(e[t])){var i=S[r];return new Error("Invalid "+i+" `"+o+"` supplied to "+("`"+n+"`, expected a single ReactElement."))}return null}return i(e)}function l(e){function t(t,n,r,o,i){if(!(t[n]instanceof e)){var a=S[o],s=e.name||E;return new Error("Invalid "+a+" `"+i+"` supplied to "+("`"+r+"`, expected instance of `"+s+"`."))}return null}return i(t)}function p(e){function t(t,n,r,o,i){for(var a=t[n],s=0;s<e.length;s++)if(a===e[s])return null;var u=S[o],c=JSON.stringify(e);return new Error("Invalid "+u+" `"+i+"` of value `"+a+"` "+("supplied to `"+r+"`, expected one of "+c+"."))}return i(Array.isArray(e)?t:function(){return new Error("Invalid argument supplied to oneOf, expected an instance of array.")})}function f(e){function t(t,n,r,o,i){var a=t[n],s=g(a);if("object"!==s){var u=S[o];return new Error("Invalid "+u+" `"+i+"` of type "+("`"+s+"` supplied to `"+r+"`, expected an object."))}for(var c in a)if(a.hasOwnProperty(c)){var l=e(a,c,r,o,i+"."+c);if(l instanceof Error)return l}return null}return i(t)}function d(e){function t(t,n,r,o,i){for(var a=0;a<e.length;a++){var s=e[a];if(null==s(t,n,r,o,i))return null}var u=S[o];return new Error("Invalid "+u+" `"+i+"` supplied to "+("`"+r+"`."))}return i(Array.isArray(e)?t:function(){return new Error("Invalid argument supplied to oneOfType, expected an instance of array.")})}function h(){function e(e,t,n,r,o){if(!v(e[t])){var i=S[r];return new Error("Invalid "+i+" `"+o+"` supplied to "+("`"+n+"`, expected a ReactNode."))}return null}return i(e)}function m(e){function t(t,n,r,o,i){var a=t[n],s=g(a);if("object"!==s){var u=S[o];return new Error("Invalid "+u+" `"+i+"` of type `"+s+"` "+("supplied to `"+r+"`, expected `object`."))}for(var c in e){var l=e[c];if(l){var p=l(a,c,r,o,i+"."+c);if(p)return p}}return null}return i(t)}function v(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(v);if(null===e||_.isValidElement(e))return!0;e=b.extractIfFragment(e);for(var t in e)if(!v(e[t]))return!1;return!0;default:return!1}}function g(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":t}function y(e){var t=g(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}var _=t("ReactElement"),b=t("ReactFragment"),S=t("ReactPropTypeLocationNames"),R=t("emptyFunction"),E="<<anonymous>>",x={array:a("array"),bool:a("boolean"),func:a("function"),number:a("number"),object:a("object"),string:a("string"),any:s(),arrayOf:u,element:c(),instanceOf:l,node:h(),objectOf:f,oneOf:p,oneOfType:d,shape:m};o.exports=x}),__d("TransformPropTypes",["ReactPropTypes"],function(e,t,n,r,o){"use strict";var i=t("ReactPropTypes"),a={transform:i.arrayOf(i.oneOfType([i.shape({perspective:i.number}),i.shape({rotate:i.string}),i.shape({rotateX:i.string}),i.shape({rotateY:i.string}),i.shape({rotateZ:i.string}),i.shape({scale:i.number}),i.shape({scaleX:i.number}),i.shape({scaleY:i.number}),i.shape({translateX:i.number}),i.shape({translateY:i.number})])),transformMatrix:i.arrayOf(i.number),rotation:i.number,scaleX:i.number,scaleY:i.number,translateX:i.number,translateY:i.number};o.exports=a}),__d("TextStylePropTypes",["ReactPropTypes","ViewStylePropTypes"],function(e,t,n,r,o){"use strict";for(var i=t("ReactPropTypes"),a=t("ViewStylePropTypes"),s=Object.assign(Object.create(a),{color:i.string,fontFamily:i.string,fontSize:i.number,fontStyle:i.oneOf(["normal","italic"]),fontWeight:i.oneOf(["normal","bold","100","200","300","400","500","600","700","800","900"]),letterSpacing:i.number,lineHeight:i.number,textAlign:i.oneOf(["auto","left","right","center","justify"]),textDecorationLine:i.oneOf(["none","underline","line-through","underline line-through"]),textDecorationStyle:i.oneOf(["solid","double","dotted","dashed"]),textDecorationColor:i.string,writingDirection:i.oneOf(["auto","ltr","rtl"])}),u=Object.keys({padding:null,paddingTop:null,paddingLeft:null,paddingRight:null,paddingBottom:null,paddingVertical:null,paddingHorizontal:null}),c=0;c<u.length;c++)delete s[u[c]];o.exports=s}),__d("ViewStylePropTypes",["LayoutPropTypes","ReactPropTypes","TransformPropTypes"],function(e,t,n,r,o){"use strict";var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=t("LayoutPropTypes"),s=t("ReactPropTypes"),u=t("TransformPropTypes"),c=i({},a,u,{backfaceVisibility:s.oneOf(["visible","hidden"]),backgroundColor:s.string,borderColor:s.string,borderTopColor:s.string,borderRightColor:s.string,borderBottomColor:s.string,borderLeftColor:s.string,borderRadius:s.number,borderTopLeftRadius:s.number,borderTopRightRadius:s.number,borderBottomLeftRadius:s.number,borderBottomRightRadius:s.number,borderStyle:s.oneOf(["solid","dotted","dashed"]),opacity:s.number,overflow:s.oneOf(["visible","hidden"]),shadowColor:s.string,shadowOffset:s.shape({width:s.number,height:s.number}),shadowOpacity:s.number,shadowRadius:s.number});o.exports=c}),__d("matricesDiffer",[],function(e,t,n,r,o){"use strict";var i=function(e,t){return e===t?!1:!e||!t||e[12]!==t[12]||e[13]!==t[13]||e[14]!==t[14]||e[5]!==t[5]||e[10]!==t[10]||e[1]!==t[1]||e[2]!==t[2]||e[3]!==t[3]||e[4]!==t[4]||e[6]!==t[6]||e[7]!==t[7]||e[8]!==t[8]||e[9]!==t[9]||e[11]!==t[11]||e[15]!==t[15]};o.exports=i}),__d("sizesDiffer",[],function(e,t,n,r,o){"use strict";var i={width:void 0,height:void 0},a=function(e,t){return e=e||i,t=t||i,e!==t&&(e.width!==t.width||e.height!==t.height)};o.exports=a}),__d("ReactMultiChild",["ReactComponentEnvironment","ReactMultiChildUpdateTypes","ReactReconciler","ReactChildReconciler"],function(e,t,n,r,o){"use strict";function i(e,t,n){v.push({parentID:e,parentNode:null,type:f.INSERT_MARKUP,markupIndex:g.push(t)-1,textContent:null,fromIndex:null,toIndex:n})}function a(e,t,n){v.push({parentID:e,parentNode:null,type:f.MOVE_EXISTING,markupIndex:null,textContent:null,fromIndex:t,toIndex:n})}function s(e,t){v.push({parentID:e,parentNode:null,type:f.REMOVE_NODE,markupIndex:null,textContent:null,fromIndex:t,toIndex:null})}function u(e,t){v.push({parentID:e,parentNode:null,type:f.TEXT_CONTENT,markupIndex:null,textContent:t,fromIndex:null,toIndex:null})}function c(){v.length&&(p.processChildrenUpdates(v,g),l())}function l(){v.length=0,g.length=0}var p=t("ReactComponentEnvironment"),f=t("ReactMultiChildUpdateTypes"),d=t("ReactReconciler"),h=t("ReactChildReconciler"),m=0,v=[],g=[],y={Mixin:{mountChildren:function(e,t,n){var r=h.instantiateChildren(e,t,n);this._renderedChildren=r;var o=[],i=0;for(var a in r)if(r.hasOwnProperty(a)){var s=r[a],u=this._rootNodeID+a,c=d.mountComponent(s,u,t,n);s._mountIndex=i,o.push(c),i++}return o},updateTextContent:function(e){m++;var t=!0;try{var n=this._renderedChildren;h.unmountChildren(n);for(var r in n)n.hasOwnProperty(r)&&this._unmountChildByName(n[r],r);this.setTextContent(e),t=!1}finally{m--,m||(t?l():c())}},updateChildren:function(e,t,n){m++;var r=!0;try{this._updateChildren(e,t,n),r=!1}finally{m--,m||(r?l():c())}},_updateChildren:function(e,t,n){var r=this._renderedChildren,o=h.updateChildren(r,e,t,n);if(this._renderedChildren=o,o||r){var i,a=0,s=0;for(i in o)if(o.hasOwnProperty(i)){var u=r&&r[i],c=o[i];u===c?(this.moveChild(u,s,a),a=Math.max(u._mountIndex,a),u._mountIndex=s):(u&&(a=Math.max(u._mountIndex,a),this._unmountChildByName(u,i)),this._mountChildByNameAtIndex(c,i,s,t,n)),s++}for(i in r)!r.hasOwnProperty(i)||o&&o.hasOwnProperty(i)||this._unmountChildByName(r[i],i)}},unmountChildren:function(){var e=this._renderedChildren;h.unmountChildren(e),this._renderedChildren=null},moveChild:function(e,t,n){e._mountIndex<n&&a(this._rootNodeID,e._mountIndex,t)},createChild:function(e,t){i(this._rootNodeID,t,e._mountIndex)},removeChild:function(e){s(this._rootNodeID,e._mountIndex)},setTextContent:function(e){u(this._rootNodeID,e)},_mountChildByNameAtIndex:function(e,t,n,r,o){var i=this._rootNodeID+t,a=d.mountComponent(e,i,r,o);e._mountIndex=n,this.createChild(e,a)},_unmountChildByName:function(e){this.removeChild(e),e._mountIndex=null}}};o.exports=y}),__d("ReactChildReconciler",["ReactReconciler","flattenChildren","instantiateReactComponent","shouldUpdateReactComponent"],function(e,t,n,r,o){"use strict";var i=t("ReactReconciler"),a=t("flattenChildren"),s=t("instantiateReactComponent"),u=t("shouldUpdateReactComponent"),c={instantiateChildren:function(e){var t=a(e);for(var n in t)if(t.hasOwnProperty(n)){var r=t[n],o=s(r,null);t[n]=o}return t},updateChildren:function(e,t,n,r){var o=a(t);if(!o&&!e)return null;var c;for(c in o)if(o.hasOwnProperty(c)){var l=e&&e[c],p=l&&l._currentElement,f=o[c];if(u(p,f))i.receiveComponent(l,f,n,r),o[c]=l;else{l&&i.unmountComponent(l,c);var d=s(f,null);o[c]=d}}for(c in e)!e.hasOwnProperty(c)||o&&o.hasOwnProperty(c)||i.unmountComponent(e[c]);return o},unmountChildren:function(e){for(var t in e)if(e.hasOwnProperty(t)){var n=e[t];i.unmountComponent(n)}}};o.exports=c}),__d("flattenChildren",["traverseAllChildren","warning"],function(e,t,n,r,o){"use strict";function i(e,t,n){var r=e,o=void 0===r[n];__DEV__&&u(o,"flattenChildren(...): Encountered two children with the same key, `%s`. Child keys must be unique; when two children share a key, only the first child will be used.",n),o&&null!=t&&(r[n]=t)}function a(e){if(null==e)return e;var t={};return s(e,i,t),t}var s=t("traverseAllChildren"),u=t("warning");o.exports=a}),__d("styleDiffer",["deepDiffer"],function(e,t,n,r,o){"use strict";function i(e,t){return!a(e,t)}function a(e,t){if(!e)return!t;if(!t)return!e;if(typeof e!=typeof t)return!1;if("number"==typeof e)return e===t;if(Array.isArray(e)){if(!Array.isArray(t)||e.length!==t.length)return!1;for(var n=0;n<e.length;++n)if(!a(e[n],t[n]))return!1;return!0}for(var r in e)if(s(e[r],t[r]))return!1;for(var r in t)if(!e.hasOwnProperty(r))return!1;return!0}var s=t("deepDiffer");o.exports=i}),__d("deepDiffer",[],function(e,t,n,r,o){"use strict";var i=function(e,t){if(e===t)return!1;if("function"==typeof e&&"function"==typeof t)return!1;if("object"!=typeof e||null===e)return e!==t;if("object"!=typeof t||null===t)return!0;if(e.constructor!==t.constructor)return!0;if(Array.isArray(e)){var n=e.length;if(t.length!==n)return!0;for(var r=0;n>r;r++)if(i(e[r],t[r]))return!0}else{for(var o in e)if(i(e[o],t[o]))return!0;for(var a in t)if(void 0===e[a]&&void 0!==t[a])return!0}return!1};o.exports=i}),__d("diffRawProperties",["deepDiffer"],function(e,t,n,r,o){"use strict";function i(e,t,n,r){var o,i,s,u,c,l;if(n)for(var p in n)o=r[p],o&&(s=t&&t[p],i=n[p],"function"==typeof s&&(s=!0),"function"==typeof i&&(i=!0),s!==i&&(l=o.diff||a,u="object"!=typeof i||null===i,c=u||!s||l(s,i),c&&(e=e||{},e[p]=i)));if(t)for(var p in t)o=r[p],o&&(e&&void 0!==e[p]||(s=t[p],i=n&&n[p],"function"==typeof s&&(s=!0),"function"==typeof i&&(i=!0),s!==i&&(void 0===i&&(i=null),l=o.diff||a,u="object"!=typeof i||null===i,c=u&&s!==i||l(s,i),c&&(e=e||{},e[p]=i))));return e}var a=t("deepDiffer");o.exports=i}),__d("RCTEventEmitter",["ReactNativeEventEmitter"],function(e,t,n,r,o){"use strict";var i=t("ReactNativeEventEmitter");o.exports=i}),__d("RCTLog",["invariant"],function(e,t,n,r,o){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=t("invariant"),u={log:"log",info:"info",warn:"warn",error:"error",mustfix:"error"},c=function(){function t(){i(this,t)}return a(t,null,[{key:"logIfNoNativeHook",value:function(){var t=Array.prototype.slice.call(arguments),n=t.shift(),r=u[n];return s(r,'Level "'+n+'" not one of '+Object.keys(u)),"undefined"==typeof e.nativeLoggingHook&&console[r].apply(console,t),!0}}]),t}();o.exports=c}),__d("deprecated",["Object.assign","warning"],function(e,t,n,r,o){"use strict";function i(e,t,n,r){var o=!1;if(__DEV__){var i=function(){return s(o,'`require("react").%s` is deprecated. Please use `require("%s").%s` instead.',e,t,e),o=!0,r.apply(n,arguments)};return a(i,r)}return r}var a=t("Object.assign"),s=t("warning");o.exports=i}),__d("onlyChild",["ReactElement","invariant"],function(e,t,n,r,o){"use strict";function i(e){return s(a.isValidElement(e),"onlyChild must be passed a children with exactly one child."),e}var a=t("ReactElement"),s=t("invariant");o.exports=i}),__d("ActivityIndicatorIOS",["NativeMethodsMixin","ReactPropTypes","React","StyleSheet","View","requireNativeComponent"],function(e,t,n,r,o){"use strict";function i(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var a=t("NativeMethodsMixin"),s=t("ReactPropTypes"),u=t("React"),c=t("StyleSheet"),l=t("View"),p=t("requireNativeComponent"),f="#999999",d=u.createClass({mixins:[a],propTypes:{animating:s.bool,color:s.string,hidesWhenStopped:s.bool,size:s.oneOf(["small","large"]),onLayout:s.func},getDefaultProps:function(){return{animating:!0,color:f,hidesWhenStopped:!0,size:"small"}},render:function(){var e=this.props,t=e.onLayout,n=e.style,r=i(e,["onLayout","style"]),o="large"===this.props.size?h.sizeLarge:h.sizeSmall;return u.createElement(l,{onLayout:t,style:[h.container,o,n]},u.createElement(m,r))}}),h=c.create({container:{alignItems:"center",justifyContent:"center"},sizeSmall:{width:20,height:20},sizeLarge:{width:36,height:36}}),m=p("RCTActivityIndicatorView",d,{nativeOnly:{activityIndicatorViewStyle:!0}});o.exports=d}),__d("StyleSheet",["StyleSheetRegistry","StyleSheetValidation"],function(e,t,n,r,o){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=t("StyleSheetRegistry"),u=t("StyleSheetValidation"),c=function(){function e(){i(this,e)}return a(e,null,[{key:"create",value:function(e){var t={};for(var n in e)u.validateStyle(n,e),t[n]=s.registerStyle(e[n]);return t}}]),e}();o.exports=c}),__d("StyleSheetValidation",["ImageStylePropTypes","ReactPropTypeLocations","TextStylePropTypes","ViewStylePropTypes","invariant"],function(e,t,n,r,o){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=t("ImageStylePropTypes"),u=t("ReactPropTypeLocations"),c=t("TextStylePropTypes"),l=t("ViewStylePropTypes"),p=t("invariant"),f=function(){function e(){i(this,e)}return a(e,null,[{key:"validateStyleProp",value:function(e,t,n){if(__DEV__){if(void 0===h[e]){var r='"'+e+'" is not a valid style property.',o="\nValid style props: "+JSON.stringify(Object.keys(h).sort(),null," ");d(r,t,n,o)}var i=h[e](t,e,n,u.prop);i&&d(i.message,t,n)}}},{key:"validateStyle",value:function(t,n){if(__DEV__)for(var r in n[t])e.validateStyleProp(r,n[t],"StyleSheet "+t)}},{key:"addValidStylePropTypes",value:function(e){for(var t in e)h[t]=e[t]}}]),e}(),d=function(e,t,n,r){p(!1,e+"\n"+(n||"<<unknown>>")+": "+JSON.stringify(t,null," ")+(r||""))},h={};f.addValidStylePropTypes(s),f.addValidStylePropTypes(c),f.addValidStylePropTypes(l),o.exports=f}),__d("View",["NativeMethodsMixin","ReactPropTypes","NativeModules","React","ReactNativeStyleAttributes","ReactNativeViewAttributes","StyleSheetPropType","ViewStylePropTypes","createReactNativeComponentClass"],function(e,t,n,r,o){"use strict";var i=t("NativeMethodsMixin"),a=t("ReactPropTypes"),s=t("NativeModules").UIManager,u=t("React"),c=t("ReactNativeStyleAttributes"),l=t("ReactNativeViewAttributes"),p=t("StyleSheetPropType"),f=t("ViewStylePropTypes"),d=t("createReactNativeComponentClass"),h=p(f),m=["none","button","link","header","search","image","selected","plays","key","text","summary","disabled","frequentUpdates","startsMedia","adjustable","allowsDirectInteraction","pageTurn"],v=u.createClass({mixins:[i],viewConfig:{uiViewClassName:"RCTView",validAttributes:l.RCTView},propTypes:{accessible:a.bool,accessibilityLabel:a.string,accessibilityComponentType:a.oneOf(["none","button"]),accessibilityLiveRegion:a.oneOf(["none","polite","assertive"]),accessibilityTraits:a.oneOfType([a.oneOf(m),a.arrayOf(a.oneOf(m))]),onAcccessibilityTap:a.func,onMagicTap:a.func,testID:a.string,onMoveShouldSetResponder:a.func,onResponderGrant:a.func,onResponderMove:a.func,onResponderReject:a.func,onResponderRelease:a.func,onResponderTerminate:a.func,onResponderTerminationRequest:a.func,onStartShouldSetResponder:a.func,onStartShouldSetResponderCapture:a.func,onLayout:a.func,pointerEvents:a.oneOf(["box-none","none","box-only","auto"]),style:h,removeClippedSubviews:a.bool,renderToHardwareTextureAndroid:a.bool,shouldRasterizeIOS:a.bool,collapsable:a.bool},render:function(){return u.createElement(g,this.props)}}),g=d({validAttributes:l.RCTView,uiViewClassName:"RCTView"});if(g.propTypes=v.propTypes,__DEV__){var y=s.viewConfigs&&s.viewConfigs.RCTView||{};for(var _ in y.nativeProps){var b=v;if(!b.propTypes[_]&&!c[_])throw new Error("View is missing propType for native prop `"+_+"`")}}var S=g;__DEV__&&(S=v),o.exports=S}),__d("ReactNativeViewAttributes",["merge"],function(e,t,n,r,o){"use strict";var i=t("merge"),a={};a.UIView={pointerEvents:!0,accessible:!0,accessibilityLabel:!0,accessibilityComponentType:!0,accessibilityLiveRegion:!0,accessibilityTraits:!0,testID:!0,shouldRasterizeIOS:!0,onLayout:!0,onAccessibilityTap:!0,onMagicTap:!0,collapsable:!0},a.RCTView=i(a.UIView,{removeClippedSubviews:!0}),o.exports=a}),__d("StyleSheetPropType",["createStrictShapeTypeChecker","flattenStyle"],function(e,t,n,r,o){"use strict";function i(e){var t=a(e);return function(e,n,r,o){var i=e;return e[n]&&(i={},i[n]=s(e[n])),t(i,n,r,o)}}var a=t("createStrictShapeTypeChecker"),s=t("flattenStyle");o.exports=i}),__d("createStrictShapeTypeChecker",["ReactPropTypeLocationNames","invariant","merge"],function(e,t,n,r,o){"use strict";function i(e){function t(t,n,r,o,i){if(!n[r])return void(t&&s(!1,"Required object `"+r+"` was not specified in "+("`"+o+"`.")));var c=n[r],l=typeof c,p=i&&a[i]||"(unknown)";"object"!==l&&s(!1,"Invalid "+p+" `"+r+"` of type `"+l+"` "+("supplied to `"+o+"`, expected `object`."));var f=u(n[r],e);for(var d in f){var h=e[d];h||s(!1,"Invalid props."+r+" key `"+d+"` supplied to `"+o+"`.\nBad object: "+JSON.stringify(n[r],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var m=h(c,d,o,i);m&&s(!1,m.message+"\nBad object: "+JSON.stringify(n[r],null," "))}}function n(e,n,r,o){return t(!1,e,n,r,o)}return n.isRequired=t.bind(null,!0),n}var a=t("ReactPropTypeLocationNames"),s=t("invariant"),u=t("merge");o.exports=i}),__d("requireNativeComponent",["verifyPropTypes","NativeModules","UnimplementedView","createReactNativeComponentClass","insetsDiffer","pointsDiffer","matricesDiffer","sizesDiffer","verifyPropTypes","warning"],function(e,t,n,r,o){function i(e,t,n){var r=s[e];if(!r||!r.NativeProps)return m(!1,'Native component for "%s" does not exist',e),u;var o=a({},s.RCTView.NativeProps,r.NativeProps);r.uiViewClassName=e,r.validAttributes={},r.propTypes=t&&t.propTypes;for(var i in o){var l=v[o[i]];r.validAttributes[i]=l?{diff:l}:!0}return __DEV__&&t&&h(t,r,n&&n.nativeOnly),c(r)}var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=t("NativeModules").UIManager,u=t("UnimplementedView"),c=t("createReactNativeComponentClass"),l=t("insetsDiffer"),p=t("pointsDiffer"),f=t("matricesDiffer"),d=t("sizesDiffer"),h=t("verifyPropTypes"),m=t("warning"),v={CATransform3D:f,CGPoint:p,CGSize:d,UIEdgeInsets:l};o.exports=i}),__d("verifyPropTypes",["ReactNativeStyleAttributes","View"],function(e,t,n,r,o){"use strict";function i(e,t,n){if(t){var r=e.name||e.displayName||"unknown";if(!e.propTypes)throw new Error("`"+r+"` has no propTypes defined`");var o=t.NativeProps;for(var i in o)if(!(e.propTypes[i]||s.propTypes[i]||a[i]||n&&n[i]))throw new Error("`"+r+"` has no propType for native prop `"+t.uiViewClassName+"."+i+"` of native type `"+o[i]+"`")}}var a=t("ReactNativeStyleAttributes"),s=t("View");o.exports=i}),__d("UnimplementedView",["React","StyleSheet","View"],function(e,t,n,r,o){"use strict";var i=t("React"),a=t("StyleSheet"),s=t("View"),u=i.createClass({setNativeProps:function(){},render:function(){return i.createElement(s,{style:[c.unimplementedView,this.props.style]},this.props.children)}}),c=a.create({unimplementedView:{borderWidth:1,borderColor:"red",alignSelf:"flex-start"}});o.exports=u}),__d("insetsDiffer",[],function(e,t,n,r,o){"use strict";var i={top:void 0,left:void 0,right:void 0,bottom:void 0},a=function(e,t){return e=e||i,t=t||i,e!==t&&(e.top!==t.top||e.left!==t.left||e.right!==t.right||e.bottom!==t.bottom)};o.exports=a}),__d("pointsDiffer",[],function(e,t,n,r,o){"use strict";var i={x:void 0,y:void 0},a=function(e,t){return e=e||i,t=t||i,e!==t&&(e.x!==t.x||e.y!==t.y)};o.exports=a}),__d("DatePickerIOS",["NativeMethodsMixin","ReactPropTypes","React","NativeModules","StyleSheet","View","requireNativeComponent"],function(e,t,n,r,o){"use strict";var i=t("NativeMethodsMixin"),a=t("ReactPropTypes"),s=t("React"),u=t("NativeModules").UIManager.RCTDatePicker.Constants,c=t("StyleSheet"),l=t("View"),p=t("requireNativeComponent"),f="datepicker",d=s.createClass({mixins:[i],propTypes:{date:a.instanceOf(Date).isRequired,onDateChange:a.func.isRequired,maximumDate:a.instanceOf(Date),minimumDate:a.instanceOf(Date),mode:a.oneOf(["date","time","datetime"]),minuteInterval:a.oneOf([1,2,3,4,5,6,10,12,15,20,30]),timeZoneOffsetInMinutes:a.number},getDefaultProps:function(){return{mode:"datetime"}},_onChange:function(e){var t=e.nativeEvent.timestamp;this.props.onDateChange&&this.props.onDateChange(new Date(t)),this.props.onChange&&this.props.onChange(e);var n=this.props.date.getTime();t!==n&&this.refs[f].setNativeProps({date:n})},render:function(){var e=this.props;return s.createElement(l,{style:e.style},s.createElement(m,{ref:f,style:h.datePickerIOS,date:e.date.getTime(),maximumDate:e.maximumDate?e.maximumDate.getTime():void 0,minimumDate:e.minimumDate?e.minimumDate.getTime():void 0,mode:e.mode,minuteInterval:e.minuteInterval,timeZoneOffsetInMinutes:e.timeZoneOffsetInMinutes,onChange:this._onChange}))}}),h=c.create({datePickerIOS:{height:u.ComponentHeight,width:u.ComponentWidth}}),m=p("RCTDatePicker",d);o.exports=d}),__d("Image",["EdgeInsetsPropType","ImageResizeMode","ImageStylePropTypes","NativeMethodsMixin","NativeModules","ReactPropTypes","React","ReactNativeViewAttributes","StyleSheet","StyleSheetPropType","flattenStyle","invariant","requireNativeComponent","resolveAssetSource","warning"],function(e,t,n,r,o){"use strict";var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=t("EdgeInsetsPropType"),s=t("ImageResizeMode"),u=t("ImageStylePropTypes"),c=t("NativeMethodsMixin"),l=t("NativeModules"),p=t("ReactPropTypes"),f=t("React"),d=t("ReactNativeViewAttributes"),h=t("StyleSheet"),m=t("StyleSheetPropType"),v=t("flattenStyle"),g=(t("invariant"),t("requireNativeComponent")),y=t("resolveAssetSource"),_=(t("warning"),f.createClass({propTypes:{style:m(u),source:p.shape({uri:p.string}),defaultSource:p.shape({uri:p.string}),accessible:p.bool,accessibilityLabel:p.string,capInsets:a,resizeMode:p.oneOf(["cover","contain","stretch"]),testID:p.string,onLayout:p.func,onLoadStart:p.func,onProgress:p.func,onError:p.func,onLoad:p.func,onLoadEnd:p.func},statics:{resizeMode:s},mixins:[c],viewConfig:{uiViewClassName:"UIView",validAttributes:d.UIView},render:function(){for(var e in S.nativeOnly)void 0!==this.props[e]&&console.warn("Prop `"+e+" = "+this.props[e]+"` should not be set directly on Image.");var t=y(this.props.source)||{},n=this.props.defaultSource&&y(this.props.defaultSource)||{},r=t.width,o=t.height,a=v([{width:r,height:o},b.base,this.props.style])||{},s=t.uri&&t.uri.match(/^https?:/),u=s?E:R,c=this.props.resizeMode||(a||{}).resizeMode||"cover",l=(a||{}).tintColor;return f.createElement(u,i({},this.props,{style:a,resizeMode:c,tintColor:l,src:t.uri,defaultImageSrc:n.uri}))}})),b=h.create({base:{overflow:"hidden"}}),S={nativeOnly:{src:!0,defaultImageSrc:!0,imageTag:!0,progressHandlerRegistered:!0}},R=g("RCTImageView",_,S),E=l.NetworkImageViewManager?g("RCTNetworkImageView",_,S):R;o.exports=_}),__d("EdgeInsetsPropType",["ReactPropTypes","createStrictShapeTypeChecker"],function(e,t,n,r,o){"use strict";var i=t("ReactPropTypes"),a=t("createStrictShapeTypeChecker"),s=a({top:i.number,left:i.number,bottom:i.number,right:i.number});o.exports=s}),__d("resolveAssetSource",["AssetRegistry","PixelRatio","Platform","NativeModules"],function(e,t,n,r,o){"use strict";function i(){if(!__DEV__)return null;if(void 0===d){var e=g.scriptURL,t=e&&e.match(/^https?:\/\/.*?\//);d=t?t[0]:null}return d}function a(e){if("android"===v.OS){var t=u(e);return(t+"/"+e.name).toLowerCase().replace(/\//g,"_").replace(/([^a-z0-9_])/g,"").replace(/^assets_/,"")}return c(e)}function s(e,t){return e+c(t)+"?hash="+t.hash}function u(e){var t=e.httpServerLocation;return"/"===t[0]&&(t=t.substr(1)),t}function c(e){var t=l(e.scales,m.get()),n=1===t?"":"@"+t+"x",r=u(e);return r+"/"+e.name+n+"."+e.type}function l(e,t){for(var n=0;n<e.length;n++)if(e[n]>=t)return e[n];return e[e.length-1]||1}function p(e){if("object"==typeof e)return e;var t=h.getAssetByID(e);return t?f(t):null}function f(e){var t=i();return t?{width:e.width,height:e.height,uri:s(t,e),isStatic:!1}:{width:e.width,height:e.height,uri:a(e),isStatic:!0}}var d,h=t("AssetRegistry"),m=t("PixelRatio"),v=t("Platform"),g=t("NativeModules").SourceCode;o.exports=p,o.exports.pickScale=l}),__d("AssetRegistry",[],function(e,t,n,r,o){"use strict";function i(e){return s.push(e)}function a(e){return s[e-1]}var s=[];o.exports={registerAsset:i,getAssetByID:a}}),__d("PixelRatio",["Dimensions"],function(e,t,n,r,o){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=t("Dimensions"),u=function(){function e(){i(this,e)}return a(e,null,[{key:"get",value:function(){return s.get("window").scale}},{key:"getFontScale",value:function(){return s.get("window").fontScale||e.get()}},{key:"getPixelSizeForLayoutSize",value:function(t){return Math.round(t*e.get())}},{key:"startDetecting",value:function(){}}]),e}();o.exports=u}),__d("Dimensions",["NativeModules","invariant"],function(e,t,n,r,o){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=t("NativeModules"),u=t("invariant"),c=s.UIManager.Dimensions;if(c&&c.windowPhysicalPixels){c=JSON.parse(JSON.stringify(c));var l=c.windowPhysicalPixels;c.window={width:l.width/l.scale,height:l.height/l.scale,scale:l.scale,fontScale:l.fontScale},delete c.windowPhysicalPixels}var p=function(){function e(){i(this,e)}return a(e,null,[{key:"set",value:function(e){return Object.assign(c,e),!0}},{key:"get",value:function(e){return u(c[e],"No dimension set for key "+e),c[e]}}]),e}();o.exports=p}),__d("ListView",["ListViewDataSource","React","NativeModules","NativeModules","ScrollView","ScrollResponder","StaticRenderer","isEmpty","logError","merge","react-timer-mixin/TimerMixin.js"],function(e,t,n,r,o){"use strict";function i(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=t("ListViewDataSource"),u=t("React"),c=t("NativeModules").UIManager,l=t("NativeModules").ScrollViewManager,p=t("ScrollView"),f=t("ScrollResponder"),d=t("StaticRenderer"),h=t("react-timer-mixin/TimerMixin.js"),m=t("isEmpty"),v=t("logError"),g=t("merge"),y=u.PropTypes,_=1,b=10,S=1e3,R=1e3,E=50,x="listviewscroll",T=u.createClass({mixins:[f.Mixin,h],statics:{DataSource:s},propTypes:a({},p.propTypes,{dataSource:y.instanceOf(s).isRequired,renderSeparator:y.func,renderRow:y.func.isRequired,initialListSize:y.number,onEndReached:y.func,onEndReachedThreshold:y.number,pageSize:y.number,renderFooter:y.func,renderHeader:y.func,renderSectionHeader:y.func,renderScrollComponent:u.PropTypes.func.isRequired,scrollRenderAheadDistance:u.PropTypes.number,onChangeVisibleRows:u.PropTypes.func,removeClippedSubviews:u.PropTypes.bool}),getMetrics:function(){return{contentLength:this.scrollProperties.contentLength,totalRows:this.props.dataSource.getRowCount(),renderedRows:this.state.curRenderedRowsCount,visibleRows:Object.keys(this._visibleRows).length}},getScrollResponder:function(){return this.refs[x]&&this.refs[x].getScrollResponder&&this.refs[x].getScrollResponder()},setNativeProps:function(e){this.refs[x].setNativeProps(e)},getDefaultProps:function(){return{initialListSize:b,pageSize:_,renderScrollComponent:function(e){return u.createElement(p,e)},scrollRenderAheadDistance:S,onEndReachedThreshold:R}},getInitialState:function(){return{curRenderedRowsCount:this.props.initialListSize,prevRenderedRowsCount:0,highlightedRow:{}}},getInnerViewNode:function(){return this.refs[x].getInnerViewNode()},componentWillMount:function(){this.scrollProperties={visibleLength:null,contentLength:null,offset:0},this._childFrames=[],this._visibleRows={}},componentDidMount:function(){var e=this;this.requestAnimationFrame(function(){e._measureAndUpdateScrollProps()})},componentWillReceiveProps:function(e){this.props.dataSource!==e.dataSource&&this.setState(function(e,t){var n=Math.min(e.curRenderedRowsCount+t.pageSize,t.dataSource.getRowCount());return{prevRenderedRowsCount:0,curRenderedRowsCount:n}})},componentDidUpdate:function(){var e=this;this.requestAnimationFrame(function(){e._measureAndUpdateScrollProps()})},onRowHighlighted:function(e,t){this.setState({highlightedRow:{sectionID:e,rowID:t}})},render:function(){for(var e=[],t=this.props.dataSource,n=t.rowIdentities,r=0,o=[],a=this.props.renderHeader&&this.props.renderHeader(),s=this.props.renderFooter&&this.props.renderFooter(),c=a?1:0,l=0;l<n.length;l++){var p=t.sectionIdentities[l],f=n[l];if(0!==f.length){if(this.props.renderSectionHeader){var h=r>=this.state.prevRenderedRowsCount&&t.sectionHeaderShouldUpdate(l);e.push(u.createElement(d,{key:"s_"+p,shouldUpdate:!!h,render:this.props.renderSectionHeader.bind(null,t.getSectionHeaderData(l),p)})),o.push(c++)}for(var m=0;m<f.length;m++){var v=f[m],g=p+v,y=r>=this.state.prevRenderedRowsCount&&t.rowShouldUpdate(l,m),_=u.createElement(d,{key:"r_"+g,shouldUpdate:!!y,render:this.props.renderRow.bind(null,t.getRowData(l,m),p,v,this.onRowHighlighted)});if(e.push(_),c++,this.props.renderSeparator&&(m!==f.length-1||l===n.length-1)){var b=this.state.highlightedRow.sectionID===p&&(this.state.highlightedRow.rowID===v||this.state.highlightedRow.rowID===f[m+1]),S=this.props.renderSeparator(p,v,b);e.push(S),c++}if(++r===this.state.curRenderedRowsCount)break}if(r>=this.state.curRenderedRowsCount)break}}var R=this.props,T=R.renderScrollComponent,w=i(R,["renderScrollComponent"]);return w.scrollEventThrottle||(w.scrollEventThrottle=E),Object.assign(w,{onScroll:this._onScroll,stickyHeaderIndices:o,onKeyboardWillShow:void 0,onKeyboardWillHide:void 0,onKeyboardDidShow:void 0,onKeyboardDidHide:void 0}),u.cloneElement(T(w),{ref:x},a,e,s)},_measureAndUpdateScrollProps:function(){var e=this.getScrollResponder();e&&e.getInnerViewNode&&(c.measureLayout(e.getInnerViewNode(),u.findNodeHandle(e),v,this._setScrollContentLength),c.measureLayoutRelativeToParent(u.findNodeHandle(e),v,this._setScrollVisibleLength),l&&l.calculateChildFrames&&l.calculateChildFrames(u.findNodeHandle(e),this._updateChildFrames))},_setScrollContentLength:function(e,t,n,r){this.scrollProperties.contentLength=this.props.horizontal?n:r},_setScrollVisibleLength:function(e,t,n,r){this.scrollProperties.visibleLength=this.props.horizontal?n:r,this._updateVisibleRows(),this._renderMoreRowsIfNeeded()},_updateChildFrames:function(e){this._updateVisibleRows(e)},_renderMoreRowsIfNeeded:function(){if(null!==this.scrollProperties.contentLength&&null!==this.scrollProperties.visibleLength&&this.state.curRenderedRowsCount!==this.props.dataSource.getRowCount()){var e=this._getDistanceFromEnd(this.scrollProperties);e<this.props.scrollRenderAheadDistance&&this._pageInNewRows()}},_pageInNewRows:function(){var e=this;this.setState(function(e,t){var n=Math.min(e.curRenderedRowsCount+t.pageSize,t.dataSource.getRowCount());return{prevRenderedRowsCount:e.curRenderedRowsCount,curRenderedRowsCount:n}},function(){e._measureAndUpdateScrollProps(),e.setState(function(e){return{prevRenderedRowsCount:e.curRenderedRowsCount}})})},_getDistanceFromEnd:function(e){return e.contentLength-e.visibleLength-e.offset},_updateVisibleRows:function(e){var t=this;if(this.props.onChangeVisibleRows){e&&e.forEach(function(e){t._childFrames[e.index]=g(e)});for(var n=!this.props.horizontal,r=this.props.dataSource,o=this.scrollProperties.offset,i=o+this.scrollProperties.visibleLength,a=r.rowIdentities,s=this.props.renderHeader&&this.props.renderHeader(),u=s?1:0,c=!1,l={},p=0;p<a.length;p++){var f=a[p];if(0!==f.length){var d=r.sectionIdentities[p];this.props.renderSectionHeader&&u++;var h=this._visibleRows[d];h||(h={});for(var v=0;v<f.length;v++){var y=f[v],_=this._childFrames[u];if(u++,!_)break;var b=h[y],S=n?_.y:_.x,R=S+(n?_.height:_.width);S>i||o>R?b&&(c=!0,delete h[y],l[d]||(l[d]={}),l[d][y]=!1):b||(c=!0,h[y]=!0,l[d]||(l[d]={}),l[d][y]=!0)}m(h)?this._visibleRows[d]&&delete this._visibleRows[d]:this._visibleRows[d]=h}}c&&this.props.onChangeVisibleRows(this._visibleRows,l)}},_onScroll:function(e){var t=!this.props.horizontal;this.scrollProperties.visibleLength=e.nativeEvent.layoutMeasurement[t?"height":"width"],this.scrollProperties.contentLength=e.nativeEvent.contentSize[t?"height":"width"],this.scrollProperties.offset=e.nativeEvent.contentOffset[t?"y":"x"],this._updateVisibleRows(e.nativeEvent.updatedChildFrames);var n=this._getDistanceFromEnd(this.scrollProperties)<this.props.onEndReachedThreshold;n&&this.props.onEndReached&&this.scrollProperties.contentLength!==this._sentEndForContentLength&&this.state.curRenderedRowsCount===this.props.dataSource.getRowCount()?(this._sentEndForContentLength=this.scrollProperties.contentLength,this.props.onEndReached(e)):this._renderMoreRowsIfNeeded(),this.props.onScroll&&this.props.onScroll(e)}});o.exports=T}),__d("ListViewDataSource",["invariant","isEmpty","warning"],function(e,t,n,r,o){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t,n){return e[t][n]}function s(e,t){return e[t]}function u(e){for(var t=0,n=0;n<e.length;n++){var r=e[n];t+=r.length}return t}function c(e){if(f(e))return{};for(var t={},n=0;n<e.length;n++){var r=e[n];d(!t[r],"Value appears more than once in array: "+r),t[r]=!0}return t}var l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),p=t("invariant"),f=t("isEmpty"),d=t("warning"),h=function(){function e(t){i(this,e),p(t&&"function"==typeof t.rowHasChanged,"Must provide a rowHasChanged function."),this._rowHasChanged=t.rowHasChanged,this._getRowData=t.getRowData||a,this._sectionHeaderHasChanged=t.sectionHeaderHasChanged,this._getSectionHeaderData=t.getSectionHeaderData||s,this._dataBlob=null,this._dirtyRows=[],this._dirtySections=[],this._cachedRowCount=0,this.rowIdentities=[],this.sectionIdentities=[]}return l(e,[{key:"cloneWithRows",value:function(e,t){var n=t?[t]:null;return this._sectionHeaderHasChanged||(this._sectionHeaderHasChanged=function(){return!1}),this.cloneWithRowsAndSections({s1:e},["s1"],n)}},{key:"cloneWithRowsAndSections",value:function(t,n,r){p("function"==typeof this._sectionHeaderHasChanged,"Must provide a sectionHeaderHasChanged function with section data.");var o=new e({getRowData:this._getRowData,getSectionHeaderData:this._getSectionHeaderData,rowHasChanged:this._rowHasChanged,sectionHeaderHasChanged:this._sectionHeaderHasChanged});return o._dataBlob=t,o.sectionIdentities=n?n:Object.keys(t),r?o.rowIdentities=r:(o.rowIdentities=[],o.sectionIdentities.forEach(function(e){o.rowIdentities.push(Object.keys(t[e]))})),o._cachedRowCount=u(o.rowIdentities),o._calculateDirtyArrays(this._dataBlob,this.sectionIdentities,this.rowIdentities),o}},{key:"getRowCount",value:function(){return this._cachedRowCount}},{key:"rowShouldUpdate",value:function(e,t){var n=this._dirtyRows[e][t];return d(void 0!==n,"missing dirtyBit for section, row: "+e+", "+t),n}},{key:"getRowData",value:function(e,t){var n=this.sectionIdentities[e],r=this.rowIdentities[e][t];return d(void 0!==n&&void 0!==r,"rendering invalid section, row: "+e+", "+t),this._getRowData(this._dataBlob,n,r)}},{key:"getRowIDForFlatIndex",value:function(e){for(var t=e,n=0;n<this.sectionIdentities.length;n++){if(!(t>=this.rowIdentities[n].length))return this.rowIdentities[n][t];t-=this.rowIdentities[n].length}return null}},{key:"getSectionIDForFlatIndex",value:function(e){for(var t=e,n=0;n<this.sectionIdentities.length;n++){if(!(t>=this.rowIdentities[n].length))return this.sectionIdentities[n];t-=this.rowIdentities[n].length}return null}},{key:"getSectionLengths",value:function(){for(var e=[],t=0;t<this.sectionIdentities.length;t++)e.push(this.rowIdentities[t].length);return e}},{key:"sectionHeaderShouldUpdate",value:function(e){var t=this._dirtySections[e];return d(void 0!==t,"missing dirtyBit for section: "+e),t}},{key:"getSectionHeaderData",value:function(e){if(!this._getSectionHeaderData)return null;var t=this.sectionIdentities[e];return d(void 0!==t,"renderSection called on invalid section: "+e),this._getSectionHeaderData(this._dataBlob,t)}},{key:"_calculateDirtyArrays",value:function(e,t,n){for(var r=c(t),o={},i=0;i<n.length;i++){var a=t[i];d(!o[a],"SectionID appears more than once: "+a),o[a]=c(n[i])}this._dirtySections=[],this._dirtyRows=[];for(var s,u=0;u<this.sectionIdentities.length;u++){var a=this.sectionIdentities[u];s=!r[a];var l=this._sectionHeaderHasChanged;!s&&l&&(s=l(this._getSectionHeaderData(e,a),this._getSectionHeaderData(this._dataBlob,a))),this._dirtySections.push(!!s),this._dirtyRows[u]=[];for(var p=0;p<this.rowIdentities[u].length;p++){var f=this.rowIdentities[u][p];s=!r[a]||!o[a][f]||this._rowHasChanged(this._getRowData(e,a,f),this._getRowData(this._dataBlob,a,f)),this._dirtyRows[u].push(!!s)}}}}]),e}();o.exports=h}),__d("isEmpty",[],function(e,t,n,r,o){function i(e){if(Array.isArray(e))return 0===e.length;if("object"==typeof e){for(var t in e)return!1;return!0}return!e}o.exports=i}),__d("ScrollView",["EdgeInsetsPropType","Platform","PointPropType","NativeModules","React","ReactNativeViewAttributes","NativeModules","ScrollResponder","StyleSheet","StyleSheetPropType","View","ViewStylePropTypes","createReactNativeComponentClass","deepDiffer","flattenStyle","insetsDiffer","invariant","pointsDiffer","requireNativeComponent"],function(e,t,n,r,o){"use strict";var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=t("EdgeInsetsPropType"),s=t("Platform"),u=t("PointPropType"),c=t("NativeModules").UIManager.RCTScrollView,l=c.Constants,p=t("React"),f=t("ReactNativeViewAttributes"),d=t("NativeModules").UIManager,h=t("ScrollResponder"),m=t("StyleSheet"),v=t("StyleSheetPropType"),g=t("View"),y=t("ViewStylePropTypes"),_=t("createReactNativeComponentClass"),b=t("deepDiffer"),S=t("flattenStyle"),R=t("insetsDiffer"),E=t("invariant"),x=t("pointsDiffer"),T=t("requireNativeComponent"),w=p.PropTypes,C="ScrollView",I="InnerScrollView",O=p.createClass({propTypes:{automaticallyAdjustContentInsets:w.bool,contentInset:a,contentOffset:u,bounces:w.bool,bouncesZoom:w.bool,alwaysBounceHorizontal:w.bool,alwaysBounceVertical:w.bool,centerContent:w.bool,contentContainerStyle:v(y),decelerationRate:w.number,horizontal:w.bool,directionalLockEnabled:w.bool,canCancelContentTouches:w.bool,keyboardDismissMode:w.oneOf(["none","interactive","on-drag"]),keyboardShouldPersistTaps:w.bool,maximumZoomScale:w.number,minimumZoomScale:w.number,onScroll:w.func,onScrollAnimationEnd:w.func,pagingEnabled:w.bool,scrollEnabled:w.bool,scrollEventThrottle:w.number,scrollIndicatorInsets:a,scrollsToTop:w.bool,showsHorizontalScrollIndicator:w.bool,showsVerticalScrollIndicator:w.bool,stickyHeaderIndices:w.arrayOf(w.number),style:v(y),removeClippedSubviews:w.bool,zoomScale:w.number},mixins:[h.Mixin],getInitialState:function(){return this.scrollResponderMixinGetInitialState()},setNativeProps:function(e){this.refs[C].setNativeProps(e)},getScrollResponder:function(){return this},getInnerViewNode:function(){return p.findNodeHandle(this.refs[I])},scrollTo:function(e,t){this.getScrollResponder().scrollResponderScrollTo(t||0,e||0)},scrollWithoutAnimationTo:function(e,t){d.scrollWithoutAnimationTo(p.findNodeHandle(this),t||0,e||0)},handleScroll:function(e){__DEV__&&this.props.onScroll&&!this.props.scrollEventThrottle&&console.log("You specified `onScroll` on a <ScrollView> but not `scrollEventThrottle`. You will only receive one event. Using `16` you get all the events but be aware that it may cause frame drops, use a bigger number if you don't need as much precision."),this.scrollResponderHandleScroll(e)},render:function(){var e=[this.props.horizontal&&P.contentContainerHorizontal,this.props.contentContainerStyle];if(__DEV__&&this.props.style){var t=S(this.props.style),n=["alignItems","justifyContent"].filter(function(e){return t&&void 0!==t[e]});E(0===n.length,"ScrollView child layout ("+JSON.stringify(n)+") must by applied through the contentContainerStyle prop.")}var r,o=p.createElement(g,{ref:I,style:e,removeClippedSubviews:this.props.removeClippedSubviews,collapsable:!1},this.props.children),a=void 0!==this.props.alwaysBounceHorizontal?this.props.alwaysBounceHorizontal:this.props.horizontal,u=void 0!==this.props.alwaysBounceVertical?this.props.alwaysBounceVertical:!this.props.horizontal,f=i({},this.props,{alwaysBounceHorizontal:a,alwaysBounceVertical:u,style:[P.base,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});if("ios"===s.OS)r=c;else if("android"===s.OS){r=this.props.horizontal?M:N;var d={none:l.KeyboardDismissMode.None,interactive:l.KeyboardDismissMode.Interactive,"on-drag":l.KeyboardDismissMode.OnDrag};f.keyboardDismissMode=f.keyboardDismissMode?d[f.keyboardDismissMode]:void 0}return E(void 0!==r,"ScrollViewClass must not be undefined"),p.createElement(r,i({},f,{ref:C}),o)}}),P=m.create({base:{flex:1},contentContainerHorizontal:{alignSelf:"flex-start",flexDirection:"row"}}),D=i({},f.UIView,{alwaysBounceHorizontal:!0,alwaysBounceVertical:!0,automaticallyAdjustContentInsets:!0,bounces:!0,centerContent:!0,contentInset:{diff:R},contentOffset:{diff:x},decelerationRate:!0,horizontal:!0,keyboardDismissMode:!0,keyboardShouldPersistTaps:!0,maximumZoomScale:!0,minimumZoomScale:!0,pagingEnabled:!0,removeClippedSubviews:!0,scrollEnabled:!0,scrollIndicatorInsets:{diff:R},scrollsToTop:!0,showsHorizontalScrollIndicator:!0,showsVerticalScrollIndicator:!0,stickyHeaderIndices:{diff:b},scrollEventThrottle:!0,zoomScale:!0});if("android"===s.OS)var N=_({validAttributes:D,uiViewClassName:"RCTScrollView"}),M=_({validAttributes:D,uiViewClassName:"AndroidHorizontalScrollView"});else if("ios"===s.OS)var c=T("RCTScrollView",O);o.exports=O}),__d("PointPropType",["ReactPropTypes","createStrictShapeTypeChecker"],function(e,t,n,r,o){"use strict";var i=t("ReactPropTypes"),a=t("createStrictShapeTypeChecker"),s=a({x:i.number,y:i.number});o.exports=s}),__d("ScrollResponder",["NativeModules","Platform","RCTDeviceEventEmitter","React","Subscribable","TextInputState","warning"],function(e,t,n,r,o){"use strict";var i=t("NativeModules"),a=t("Platform"),s=t("RCTDeviceEventEmitter"),u=t("React"),c=t("Subscribable"),l=t("TextInputState"),p=i.UIManager,f=p.RCTScrollView.Constants,d=t("warning"),h=16,m={mixins:[c.Mixin],statics:f,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(e){var t=l.currentlyFocusedField();return this.props.keyboardShouldPersistTaps||null==t||e.target===t?this.scrollResponderIsAnimating():!0},scrollResponderHandleResponderReject:function(){d(!1,"ScrollView doesn't take rejection well - scrolls anyway")},scrollResponderHandleTerminationRequest:function(){return!this.state.observedScrollSinceBecomingResponder},scrollResponderHandleTouchEnd:function(e){var t=e.nativeEvent;this.state.isTouching=0!==t.touches.length,this.props.onTouchEnd&&this.props.onTouchEnd(e)},scrollResponderHandleResponderRelease:function(e){this.props.onResponderRelease&&this.props.onResponderRelease(e);var t=l.currentlyFocusedField();this.props.keyboardShouldPersistTaps||null==t||e.target===t||this.state.observedScrollSinceBecomingResponder||this.state.becameResponderWhileAnimating||(this.props.onScrollResponderKeyboardDismissed&&this.props.onScrollResponderKeyboardDismissed(e),l.blurTextInput(t))},scrollResponderHandleScroll:function(e){this.state.observedScrollSinceBecomingResponder=!0,this.props.onScroll&&this.props.onScroll(e)},scrollResponderHandleResponderGrant:function(e){this.state.observedScrollSinceBecomingResponder=!1,this.props.onResponderGrant&&this.props.onResponderGrant(e),this.state.becameResponderWhileAnimating=this.scrollResponderIsAnimating()},scrollResponderHandleScrollBeginDrag:function(e){this.props.onScrollBeginDrag&&this.props.onScrollBeginDrag(e)},scrollResponderHandleScrollEndDrag:function(e){this.props.onScrollEndDrag&&this.props.onScrollEndDrag(e)},scrollResponderHandleMomentumScrollBegin:function(e){this.state.lastMomentumScrollBeginTime=Date.now(),this.props.onMomentumScrollBegin&&this.props.onMomentumScrollBegin(e)},scrollResponderHandleMomentumScrollEnd:function(e){this.state.lastMomentumScrollEndTime=Date.now(),this.props.onMomentumScrollEnd&&this.props.onMomentumScrollEnd(e)},scrollResponderHandleTouchStart:function(e){this.state.isTouching=!0,this.props.onTouchStart&&this.props.onTouchStart(e)},scrollResponderHandleTouchMove:function(e){this.props.onTouchMove&&this.props.onTouchMove(e)},scrollResponderIsAnimating:function(){var e=Date.now(),t=e-this.state.lastMomentumScrollEndTime,n=h>t||this.state.lastMomentumScrollEndTime<this.state.lastMomentumScrollBeginTime;return n},scrollResponderScrollTo:function(e,t){"android"===a.OS?p.dispatchViewManagerCommand(u.findNodeHandle(this),p.RCTScrollView.Commands.scrollTo,[e,t]):p.scrollTo(u.findNodeHandle(this),e,t)},scrollResponderZoomTo:function(e){p.zoomToRect(u.findNodeHandle(this),e)},scrollResponderScrollNativeHandleToKeyboard:function(e,t,n){this.additionalScrollOffset=t||0,this.preventNegativeScrollOffset=!!n,p.measureLayout(e,u.findNodeHandle(this.getInnerViewNode()),this.scrollResponderTextInputFocusError,this.scrollResponderInputMeasureAndScrollToKeyboard)},scrollResponderInputMeasureAndScrollToKeyboard:function(e,t,n,r){if(this.keyboardWillOpenTo){var o=t-this.keyboardWillOpenTo.endCoordinates.screenY+r+this.additionalScrollOffset;this.preventNegativeScrollOffset&&(o=Math.max(0,o)),this.scrollResponderScrollTo(0,o)}this.additionalOffset=0,this.preventNegativeScrollOffset=!1},scrollResponderTextInputFocusError:function(e){console.error("Error measuring text field: ",e)},componentWillMount:function(){this.keyboardWillOpenTo=null,this.additionalScrollOffset=0,this.addListenerOn(s,"keyboardWillShow",this.scrollResponderKeyboardWillShow),this.addListenerOn(s,"keyboardWillHide",this.scrollResponderKeyboardWillHide),this.addListenerOn(s,"keyboardDidShow",this.scrollResponderKeyboardDidShow),this.addListenerOn(s,"keyboardDidHide",this.scrollResponderKeyboardDidHide),d(this.getInnerViewNode,"You need to implement getInnerViewNode in "+this.constructor.displayName+" to get fullfunctionality from ScrollResponder mixin. See example of ListView and ScrollView.")},scrollResponderKeyboardWillShow:function(e){this.keyboardWillOpenTo=e,this.props.onKeyboardWillShow&&this.props.onKeyboardWillShow(e)},scrollResponderKeyboardWillHide:function(e){this.keyboardWillOpenTo=null,this.props.onKeyboardWillHide&&this.props.onKeyboardWillHide(e)},scrollResponderKeyboardDidShow:function(e){e&&(this.keyboardWillOpenTo=e),this.props.onKeyboardDidShow&&this.props.onKeyboardDidShow(e)},scrollResponderKeyboardDidHide:function(){this.keyboardWillOpenTo=null,this.props.onKeyboardDidHide&&this.props.onKeyboardDidHide()}},v={Mixin:m};o.exports=v}),__d("Subscribable",["EventEmitter"],function(e,t,n,r,o){"use strict";var i={};i.Mixin={componentWillMount:function(){this._subscribableSubscriptions=[]},componentWillUnmount:function(){this._subscribableSubscriptions.forEach(function(e){return e.remove()}),this._subscribableSubscriptions=null},addListenerOn:function(e,t,n,r){this._subscribableSubscriptions.push(e.addListener(t,n,r))}},o.exports=i}),__d("StaticRenderer",["React"],function(e,t,n,r,o){"use strict";var i=t("React"),a=i.createClass({propTypes:{shouldUpdate:i.PropTypes.bool.isRequired,render:i.PropTypes.func.isRequired},shouldComponentUpdate:function(e){return e.shouldUpdate},render:function(){return this.props.render()}});o.exports=a}),__d("react-timer-mixin/TimerMixin.js",[],function(e,t,n,r,o){"use strict";var i="undefined"==typeof window?e:window,a=function(e,t,n){return function(r,o){var i=e(function(){t.call(this,i),r.apply(this,arguments)}.bind(this),o);return this[n]?this[n].push(i):this[n]=[i],i}},s=function(e,t){return function(n){if(this[t]){var r=this[t].indexOf(n);-1!==r&&this[t].splice(r,1)}e(n)}},u="TimerMixin_timeouts",c=s(i.clearTimeout,u),l=a(i.setTimeout,c,u),p="TimerMixin_intervals",f=s(i.clearInterval,p),d=a(i.setInterval,function(){},p),h="TimerMixin_immediates",m=s(i.clearImmediate,h),v=a(i.setImmediate,m,h),g="TimerMixin_rafs",y=s(i.cancelAnimationFrame,g),_=a(i.requestAnimationFrame,y,g),b={componentWillUnmount:function(){this[u]&&this[u].forEach(this.clearTimeout),this[p]&&this[p].forEach(this.clearInterval),this[h]&&this[h].forEach(this.clearImmediate),this[g]&&this[g].forEach(this.cancelAnimationFrame)},setTimeout:l,clearTimeout:c,setInterval:d,clearInterval:f,setImmediate:v,clearImmediate:m,requestAnimationFrame:_,cancelAnimationFrame:y};o.exports=b}),__d("MapView",["EdgeInsetsPropType","NativeMethodsMixin","Platform","React","ReactNativeViewAttributes","View","createReactNativeComponentClass","deepDiffer","insetsDiffer","merge","requireNativeComponent"],function(e,t,n,r,o){"use strict";var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=t("EdgeInsetsPropType"),s=t("NativeMethodsMixin"),u=t("Platform"),c=t("React"),l=t("ReactNativeViewAttributes"),p=t("View"),f=t("createReactNativeComponentClass"),d=t("deepDiffer"),h=t("insetsDiffer"),m=t("merge"),v=t("requireNativeComponent"),g=c.createClass({mixins:[s],checkAnnotationIds:function(e){var t=e.map(function(e){return e.id||(e.id=encodeURIComponent(JSON.stringify(e))),e});this.setState({annotations:t})},componentWillMount:function(){this.props.annotations&&this.checkAnnotationIds(this.props.annotations)},componentWillReceiveProps:function(e){e.annotations&&this.checkAnnotationIds(e.annotations)},propTypes:{style:p.propTypes.style,showsUserLocation:c.PropTypes.bool,zoomEnabled:c.PropTypes.bool,rotateEnabled:c.PropTypes.bool,pitchEnabled:c.PropTypes.bool,scrollEnabled:c.PropTypes.bool,mapType:c.PropTypes.oneOf(["standard","satellite","hybrid"]),region:c.PropTypes.shape({latitude:c.PropTypes.number.isRequired,longitude:c.PropTypes.number.isRequired,latitudeDelta:c.PropTypes.number.isRequired,longitudeDelta:c.PropTypes.number.isRequired}),annotations:c.PropTypes.arrayOf(c.PropTypes.shape({latitude:c.PropTypes.number.isRequired,longitude:c.PropTypes.number.isRequired,animateDrop:c.PropTypes.bool,title:c.PropTypes.string,subtitle:c.PropTypes.string,hasLeftCallout:c.PropTypes.bool,hasRightCallout:c.PropTypes.bool,onLeftCalloutPress:c.PropTypes.func,onRightCalloutPress:c.PropTypes.func,id:c.PropTypes.string})),maxDelta:c.PropTypes.number,minDelta:c.PropTypes.number,legalLabelInsets:a,onRegionChange:c.PropTypes.func,onRegionChangeComplete:c.PropTypes.func,onAnnotationPress:c.PropTypes.func},_onChange:function(e){e.nativeEvent.continuous?this.props.onRegionChange&&this.props.onRegionChange(e.nativeEvent.region):this.props.onRegionChangeComplete&&this.props.onRegionChangeComplete(e.nativeEvent.region)},_onPress:function(e){if("annotation-click"===e.nativeEvent.action&&this.props.onAnnotationPress&&this.props.onAnnotationPress(e.nativeEvent.annotation),"callout-click"===e.nativeEvent.action){if(!this.props.annotations)return;for(var t=0;t<this.props.annotations.length;t++){var n=this.props.annotations[t];n.id===e.nativeEvent.annotationId&&("left"===e.nativeEvent.side?n.onLeftCalloutPress&&n.onLeftCalloutPress(e.nativeEvent):"right"===e.nativeEvent.side&&n.onRightCalloutPress&&n.onRightCalloutPress(e.nativeEvent))}}},render:function(){return c.createElement(y,i({},this.props,{onPress:this._onPress,onChange:this._onChange}))}});if("android"===u.OS)var y=f({validAttributes:m(l.UIView,{active:!0,showsUserLocation:!0,zoomEnabled:!0,rotateEnabled:!0,pitchEnabled:!0,scrollEnabled:!0,region:{diff:d},annotations:{diff:d},maxDelta:!0,minDelta:!0,legalLabelInsets:{diff:h}}),uiViewClassName:"RCTMap"});else var y=v("RCTMap",g);o.exports=g}),__d("Modal",["React","StyleSheet","View","requireNativeComponent"],function(e,t,n,r,o){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=function v(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:v(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)},c=t("React"),l=t("StyleSheet"),p=t("View"),f=t("requireNativeComponent"),d=f("RCTModalHostView",null),h=function(e){function t(){i(this,t),u(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return a(t,e),s(t,[{key:"render",value:function(){return this.props.visible===!1?null:c.createElement(d,{animated:this.props.animated,style:m.modal},c.createElement(p,{style:m.container},this.props.children))}}]),t}(c.Component),m=l.create({modal:{position:"absolute"},container:{left:0,position:"absolute",top:0}});o.exports=h}),__d("Navigator",["NativeModules","Dimensions","InteractionMixin","Map","NavigationContext","NavigatorBreadcrumbNavigationBar","NavigatorNavigationBar","NavigatorSceneConfigs","PanResponder","React","StaticContainer.react","StyleSheet","Subscribable","View","clamp","flattenStyle","invariant","react-timer-mixin/TimerMixin.js","rebound/rebound.js"],function(e,t,n,r,o){"use strict";function i(){return P++}function a(e){if(null===e||"object"!=typeof e)return String(e);var t="__navigatorRouteID";return e.hasOwnProperty(t)||Object.defineProperty(e,t,{enumerable:!1,configurable:!1,writable:!1,value:i()}),e[t]}var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=t("NativeModules").AnimationsDebugModule,c=t("Dimensions"),l=t("InteractionMixin"),p=t("Map"),f=t("NavigationContext"),d=t("NavigatorBreadcrumbNavigationBar"),h=t("NavigatorNavigationBar"),m=t("NavigatorSceneConfigs"),v=t("PanResponder"),g=t("React"),y=(t("StaticContainer.react"),t("StyleSheet")),_=t("Subscribable"),b=t("react-timer-mixin/TimerMixin.js"),S=t("View"),R=t("clamp"),E=t("flattenStyle"),x=t("invariant"),T=t("rebound/rebound.js"),w=g.PropTypes,C=c.get("window").width,I=c.get("window").height,O={pointerEvents:"none",style:{top:I,bottom:-I,opacity:0}},P=0,D=y.create({container:{flex:1,overflow:"hidden"},defaultSceneStyle:{position:"absolute",left:0,right:0,bottom:0,top:0},baseScene:{position:"absolute",overflow:"hidden",left:0,right:0,bottom:0,top:0},disabledScene:{top:I,bottom:-I},transitioner:{flex:1,backgroundColor:"transparent",overflow:"hidden"}}),N=["pop","jumpBack","jumpForward"],M=g.createClass({propTypes:{configureScene:w.func,renderScene:w.func.isRequired,initialRoute:w.object,initialRouteStack:w.arrayOf(w.object),onWillFocus:w.func,onDidFocus:w.func,navigationBar:w.node,navigator:w.object,sceneStyle:S.propTypes.style},statics:{BreadcrumbNavigationBar:d,NavigationBar:h,SceneConfigs:m},mixins:[b,l,_.Mixin],getDefaultProps:function(){return{configureScene:function(){return m.PushFromRight},sceneStyle:D.defaultSceneStyle}},getInitialState:function(){var e=this;this._renderedSceneMap=new p;var t=this.props.initialRouteStack||[this.props.initialRoute];x(t.length>=1,"Navigator requires props.initialRoute or props.initialRouteStack.");var n=t.length-1;return this.props.initialRoute&&(n=t.indexOf(this.props.initialRoute),x(-1!==n,"initialRoute is not in initialRouteStack.")),{sceneConfigStack:t.map(function(t){return e.props.configureScene(t)}),routeStack:t,presentedIndex:n,transitionFromIndex:null,activeGesture:null,pendingGestureProgress:null,transitionQueue:[]}},componentWillMount:function(){var e=this;this.__defineGetter__("navigationContext",this._getNavigationContext),this._subRouteFocus=[],this.parentNavigator=this.props.navigator,this._handlers={},this.springSystem=new T.SpringSystem,this.spring=this.springSystem.createSpring(),this.spring.setRestSpeedThreshold(.05),this.spring.setCurrentValue(0).setAtRest(),this.spring.addListener({onSpringEndStateChange:function(){e._interactionHandle||(e._interactionHandle=e.createInteractionHandle())},onSpringUpdate:function(){e._handleSpringUpdate()},onSpringAtRest:function(){e._completeTransition()}}),this.panGesture=v.create({onMoveShouldSetPanResponder:this._handleMoveShouldSetPanResponder,onPanResponderGrant:this._handlePanResponderGrant,onPanResponderRelease:this._handlePanResponderRelease,onPanResponderMove:this._handlePanResponderMove,onPanResponderTerminate:this._handlePanResponderTerminate}),this._interactionHandle=null,this._emitWillFocus(this.state.routeStack[this.state.presentedIndex])},componentDidMount:function(){this._handleSpringUpdate(),this._emitDidFocus(this.state.routeStack[this.state.presentedIndex])},componentWillUnmount:function(){this._navigationContext&&(this._navigationContext.dispose(),this._navigationContext=null)},immediatelyResetRouteStack:function(e){var t=this,n=e.length-1;this.setState({routeStack:e,sceneConfigStack:e.map(this.props.configureScene),presentedIndex:n,activeGesture:null,transitionFromIndex:null,transitionQueue:[]},function(){t._handleSpringUpdate()})},_transitionTo:function(e,t,n,r){if(e!==this.state.presentedIndex){if(null!==this.state.transitionFromIndex)return void this.state.transitionQueue.push({destIndex:e,velocity:t,cb:r});this.state.transitionFromIndex=this.state.presentedIndex,this.state.presentedIndex=e,this.state.transitionCb=r,this._onAnimationStart(),u&&u.startRecordingFps();var o=this.state.sceneConfigStack[this.state.transitionFromIndex]||this.state.sceneConfigStack[this.state.presentedIndex];x(o,"Cannot configure scene at index "+this.state.transitionFromIndex),null!=n&&this.spring.setCurrentValue(n),this.spring.setOvershootClampingEnabled(!0),this.spring.getSpringConfig().friction=o.springFriction,this.spring.getSpringConfig().tension=o.springTension,this.spring.setVelocity(t||o.defaultTransitionVelocity),this.spring.setEndValue(1)}},_handleSpringUpdate:function(){if(null!=this.state.transitionFromIndex)this._transitionBetween(this.state.transitionFromIndex,this.state.presentedIndex,this.spring.getCurrentValue());else if(null!=this.state.activeGesture){var e=this.state.presentedIndex+this._deltaForGestureAction(this.state.activeGesture);this._transitionBetween(this.state.presentedIndex,e,this.spring.getCurrentValue())}},_completeTransition:function(){if(1!==this.spring.getCurrentValue()&&0!==this.spring.getCurrentValue())return void(this.state.pendingGestureProgress&&(this.state.pendingGestureProgress=null));this._onAnimationEnd();var e=this.state.presentedIndex,t=this._subRouteFocus[e]||this.state.routeStack[e];if(this._emitDidFocus(t),u&&u.stopRecordingFps(Date.now()),this.state.transitionFromIndex=null,this.spring.setCurrentValue(0).setAtRest(),this._hideScenes(),this.state.transitionCb&&(this.state.transitionCb(),this.state.transitionCb=null),this._interactionHandle&&(this.clearInteractionHandle(this._interactionHandle),this._interactionHandle=null),this.state.pendingGestureProgress){var n=this.state.presentedIndex+this._deltaForGestureAction(this.state.activeGesture);return this._enableScene(n),void this.spring.setEndValue(this.state.pendingGestureProgress)}if(this.state.transitionQueue.length){var r=this.state.transitionQueue.shift();this._enableScene(r.destIndex),this._emitWillFocus(this.state.routeStack[r.destIndex]),this._transitionTo(r.destIndex,r.velocity,null,r.cb)}},_emitDidFocus:function(e){this.navigationContext.emit("didfocus",{route:e}),this.props.onDidFocus&&this.props.onDidFocus(e)},_emitWillFocus:function(e){this.navigationContext.emit("willfocus",{route:e});var t=this._navBar;t&&t.handleWillFocus&&t.handleWillFocus(e),this.props.onWillFocus&&this.props.onWillFocus(e)},_hideScenes:function(){var e=null;this.state.activeGesture&&(e=this.state.presentedIndex+this._deltaForGestureAction(this.state.activeGesture));for(var t=0;t<this.state.routeStack.length;t++)t!==this.state.presentedIndex&&t!==this.state.transitionFromIndex&&t!==e&&this._disableScene(t)},_disableScene:function(e){this.refs["scene_"+e]&&this.refs["scene_"+e].setNativeProps(O)},_enableScene:function(e){var t=E([D.baseScene,this.props.sceneStyle]),n={pointerEvents:"auto",style:{top:t.top,bottom:t.bottom}};e!==this.state.transitionFromIndex&&e!==this.state.presentedIndex&&(n.style.opacity=0),this.refs["scene_"+e]&&this.refs["scene_"+e].setNativeProps(n)},_onAnimationStart:function(){var e=this.state.presentedIndex,t=this.state.presentedIndex;null!=this.state.transitionFromIndex?e=this.state.transitionFromIndex:this.state.activeGesture&&(t=this.state.presentedIndex+this._deltaForGestureAction(this.state.activeGesture)),this._setRenderSceneToHarwareTextureAndroid(e,!0),this._setRenderSceneToHarwareTextureAndroid(t,!0);var n=this._navBar;n&&n.onAnimationStart&&n.onAnimationStart(e,t)},_onAnimationEnd:function(){for(var e=this.state.routeStack.length-1,t=0;e>=t;t++)this._setRenderSceneToHarwareTextureAndroid(t,!1);var n=this._navBar;n&&n.onAnimationEnd&&n.onAnimationEnd()},_setRenderSceneToHarwareTextureAndroid:function(e,t){var n=this.refs["scene_"+e];null!==n&&void 0!==n&&n.setNativeProps({renderToHardwareTextureAndroid:t})},_handleTouchStart:function(){this._eligibleGestures=N},_handleMoveShouldSetPanResponder:function(e,t){var n=this.state.sceneConfigStack[this.state.presentedIndex];return this._expectingGestureGrant=this._matchGestureAction(this._eligibleGestures,n.gestures,t),!!this._expectingGestureGrant},_doesGestureOverswipe:function(e){var t=this.state.presentedIndex<=0&&("pop"===e||"jumpBack"===e),n=this.state.presentedIndex>=this.state.routeStack.length-1&&"jumpForward"===e;return n||t},_handlePanResponderGrant:function(){x(this._expectingGestureGrant,"Responder granted unexpectedly."),this._attachGesture(this._expectingGestureGrant),this._onAnimationStart(),this._expectingGestureGrant=null},_deltaForGestureAction:function(e){switch(e){case"pop":case"jumpBack":return-1;case"jumpForward":return 1;default:return void x(!1,"Unsupported gesture action "+e)}},_handlePanResponderRelease:function(e,t){var n=this,r=this.state.sceneConfigStack[this.state.presentedIndex],o=this.state.activeGesture;if(o){var i=r.gestures[o],a=this.state.presentedIndex+this._deltaForGestureAction(this.state.activeGesture);if(0===this.spring.getCurrentValue())return this.spring.setCurrentValue(0).setAtRest(),void this._completeTransition();var s,u,c="top-to-bottom"===i.direction||"bottom-to-top"===i.direction,l="right-to-left"===i.direction||"bottom-to-top"===i.direction;c?(s=l?-t.vy:t.vy,u=l?-t.dy:t.dy):(s=l?-t.vx:t.vx,u=l?-t.dx:t.dx);var p=R(-10,s,10);if(Math.abs(s)<i.notMoving){var f=u>i.fullDistance*i.stillCompletionRatio;p=f?i.snapVelocity:-i.snapVelocity}if(0>p||this._doesGestureOverswipe(o)){if(null==this.state.transitionFromIndex){var d=this.state.presentedIndex;this.state.presentedIndex=a,this._transitionTo(d,-p,1-this.spring.getCurrentValue())}}else this._emitWillFocus(this.state.routeStack[a]),this._transitionTo(a,p,null,function(){"pop"===o&&n._cleanScenesPastIndex(a)});this._detachGesture()}},_handlePanResponderTerminate:function(){var e=this.state.presentedIndex+this._deltaForGestureAction(this.state.activeGesture);this._detachGesture();var t=this.state.presentedIndex;this.state.presentedIndex=e,this._transitionTo(t,null,1-this.spring.getCurrentValue())},_attachGesture:function(e){this.state.activeGesture=e;var t=this.state.presentedIndex+this._deltaForGestureAction(this.state.activeGesture);this._enableScene(t)},_detachGesture:function(){this.state.activeGesture=null,this.state.pendingGestureProgress=null,this._hideScenes()},_handlePanResponderMove:function(e,t){var n=this.state.sceneConfigStack[this.state.presentedIndex];if(this.state.activeGesture){var r=n.gestures[this.state.activeGesture];return this._moveAttachedGesture(r,t)}var o=this._matchGestureAction(N,n.gestures,t);o&&this._attachGesture(o)},_moveAttachedGesture:function(e,t){var n="top-to-bottom"===e.direction||"bottom-to-top"===e.direction,r="right-to-left"===e.direction||"bottom-to-top"===e.direction,o=n?t.dy:t.dx;o=r?-o:o;var i=e.gestureDetectMovement,a=(o-i)/(e.fullDistance-i);if(0>a&&e.isDetachable){var s=this.state.presentedIndex+this._deltaForGestureAction(this.state.activeGesture);return this._transitionBetween(this.state.presentedIndex,s,0),this._detachGesture(),void(null!=this.state.pendingGestureProgress&&this.spring.setCurrentValue(0))}if(this._doesGestureOverswipe(this.state.activeGesture)){var u=e.overswipe.frictionConstant,c=e.overswipe.frictionByDistance,l=1/(u+Math.abs(a)*c);a*=l}a=R(0,a,1),null!=this.state.transitionFromIndex?this.state.pendingGestureProgress=a:this.state.pendingGestureProgress?this.spring.setEndValue(a):this.spring.setCurrentValue(a)},_matchGestureAction:function(e,t,n){var r=this;if(!t)return null;var o=null;return e.some(function(e,i){var a=t[e];if(a){if(null==a.overswipe&&r._doesGestureOverswipe(e))return!1;var s="top-to-bottom"===a.direction||"bottom-to-top"===a.direction,u="right-to-left"===a.direction||"bottom-to-top"===a.direction,c=s?n.moveY:n.moveX,l=s?n.dy:n.dx,p=s?n.dx:n.dy,f=a.edgeHitWidth;u&&(c=-c,l=-l,p=-p,f=s?-(I-f):-(C-f));var d=null==a.edgeHitWidth||f>c;if(!d)return!1;var h=l>=a.gestureDetectMovement;if(!h)return!1;var m=Math.abs(l)>Math.abs(p)*a.directionRatio;return m?(o=e,!0):void(r._eligibleGestures=r._eligibleGestures.slice().splice(i,1))}}),o},_transitionSceneStyle:function(e,t,n,r){var o=this.refs["scene_"+r];if(null!==o&&void 0!==o){var i=t>e?t:e,a=this.state.sceneConfigStack[i];a||(a=this.state.sceneConfigStack[i-1]);var s={},u=e>r||t>r?a.animationInterpolators.out:a.animationInterpolators.into,c=t>e?n:1-n,l=u(s,c);l&&o.setNativeProps({style:s})}},_transitionBetween:function(e,t,n){this._transitionSceneStyle(e,t,n,e),this._transitionSceneStyle(e,t,n,t);var r=this._navBar;r&&r.updateProgress&&t>=0&&e>=0&&r.updateProgress(n,e,t)},_handleResponderTerminationRequest:function(){return!1},_getDestIndexWithinBounds:function(e){var t=this.state.presentedIndex,n=t+e;x(n>=0,"Cannot jump before the first route.");var r=this.state.routeStack.length-1;return x(r>=n,"Cannot jump past the last route."),n},_jumpN:function(e){var t=this._getDestIndexWithinBounds(e);this._enableScene(t),this._emitWillFocus(this.state.routeStack[t]),this._transitionTo(t)},jumpTo:function(e){var t=this.state.routeStack.indexOf(e);x(-1!==t,"Cannot jump to route that is not in the route stack"),this._jumpN(t-this.state.presentedIndex)},jumpForward:function(){this._jumpN(1)},jumpBack:function(){this._jumpN(-1)},push:function(e){var t=this;x(!!e,"Must supply route to push");var n=this.state.presentedIndex+1,r=this.state.routeStack.slice(0,n),o=this.state.sceneConfigStack.slice(0,n),i=r.concat([e]),a=i.length-1,s=o.concat([this.props.configureScene(e)]);this._emitWillFocus(i[a]),this.setState({routeStack:i,sceneConfigStack:s},function(){t._enableScene(a),t._transitionTo(a)})},_popN:function(e){var t=this;if(0!==e){x(this.state.presentedIndex-e>=0,"Cannot pop below zero");var n=this.state.presentedIndex-e;this._enableScene(n),this._emitWillFocus(this.state.routeStack[n]),this._transitionTo(n,null,null,function(){t._cleanScenesPastIndex(n)})}},pop:function(){this.state.transitionQueue.length||this.state.presentedIndex>0&&this._popN(1)},replaceAtIndex:function(e,t,n){var r=this;if(x(!!e,"Must supply route to replace"),0>t&&(t+=this.state.routeStack.length),!(this.state.routeStack.length<=t)){var o=this.state.routeStack.slice(),i=this.state.sceneConfigStack.slice();o[t]=e,i[t]=this.props.configureScene(e),t===this.state.presentedIndex&&this._emitWillFocus(e),this.setState({routeStack:o,sceneConfigStack:i},function(){t===r.state.presentedIndex&&r._emitDidFocus(e),n&&n()})}},replace:function(e){this.replaceAtIndex(e,this.state.presentedIndex)},replacePrevious:function(e){this.replaceAtIndex(e,this.state.presentedIndex-1)},popToTop:function(){this.popToRoute(this.state.routeStack[0])},popToRoute:function(e){var t=this.state.routeStack.indexOf(e);x(-1!==t,"Calling popToRoute for a route that doesn't exist!");var n=this.state.presentedIndex-t;this._popN(n)},replacePreviousAndPop:function(e){this.state.routeStack.length<2||(this.replacePrevious(e),this.pop())},resetTo:function(e){var t=this;x(!!e,"Must supply route to push"),this.replaceAtIndex(e,0,function(){t.state.presentedIndex>0&&t._popN(t.state.presentedIndex)})},getCurrentRoutes:function(){return this.state.routeStack.slice()},_cleanScenesPastIndex:function(e){var t=e+1;t<this.state.routeStack.length&&this.setState({sceneConfigStack:this.state.sceneConfigStack.slice(0,t),routeStack:this.state.routeStack.slice(0,t)})},_renderScene:function(e,t){var n=this,r=null,o="auto";return t!==this.state.presentedIndex&&(r=D.disabledScene,o="none"),g.createElement(S,{key:"scene_"+a(e),ref:"scene_"+t,onStartShouldSetResponderCapture:function(){return null!=n.state.transitionFromIndex||null!=n.state.transitionFromIndex},pointerEvents:o,style:[D.baseScene,this.props.sceneStyle,r]},this.props.renderScene(e,this))},_renderNavigationBar:function(){var e=this;return this.props.navigationBar?g.cloneElement(this.props.navigationBar,{ref:function(t){e._navBar=t},navigator:this,navState:this.state}):null},render:function(){var e=this,t=new p,n=this.state.routeStack.map(function(n,r){var o;return o=e._renderedSceneMap.has(n)&&r!==e.state.presentedIndex?e._renderedSceneMap.get(n):e._renderScene(n,r),t.set(n,o),o});return this._renderedSceneMap=t,g.createElement(S,{style:[D.container,this.props.style]},g.createElement(S,s({style:D.transitioner},this.panGesture.panHandlers,{onTouchStart:this._handleTouchStart,onResponderTerminationRequest:this._handleResponderTerminationRequest}),n),this._renderNavigationBar())},_getNavigationContext:function(){return this._navigationContext||(this._navigationContext=new f),this._navigationContext}});o.exports=M}),__d("InteractionMixin",["InteractionManager"],function(e,t,n,r,o){"use strict";var i=t("InteractionManager"),a={componentWillUnmount:function(){for(;this._interactionMixinHandles.length;)i.clearInteractionHandle(this._interactionMixinHandles.pop())},_interactionMixinHandles:[],createInteractionHandle:function(){var e=i.createInteractionHandle();return this._interactionMixinHandles.push(e),e},clearInteractionHandle:function(e){i.clearInteractionHandle(e),this._interactionMixinHandles=this._interactionMixinHandles.filter(function(t){return t!==e})},runAfterInteractions:function(e){i.runAfterInteractions(e)}};o.exports=a}),__d("NavigationContext",["NavigationEvent","EventSubscription","NavigationEventEmitter","emptyFunction","invariant"],function(e,t,n,r,o){function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=t("NavigationEventEmitter"),u=t("emptyFunction"),c=t("invariant"),l=function(){function e(){i(this,e),this._eventEmitter=new s(this),this._currentRoute=null,this.addListener("willfocus",this._onFocus,this),this.addListener("didfocus",this._onFocus,this)}return a(e,[{key:"addListener",value:function(e,t,n){var r=this._eventEmitter;return r?r.addListener(e,t,n):{remove:u}}},{key:"emit",value:function(e,t,n){var r=this._eventEmitter;r&&r.emit(e,t,n)}},{key:"dispose",value:function(){var e=this._eventEmitter;e&&(e.removeAllListeners(),this._eventEmitter=null,this._currentRoute=null)}},{key:"_onFocus",value:function(e){c(e.data&&e.data.hasOwnProperty("route"),"didfocus event should provide route"),this._currentRoute=e.data.route}},{key:"currentRoute",get:function(){return this._currentRoute}}]),e}();o.exports=l}),__d("NavigationEvent",["invariant"],function(e,t,n,r,o){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=t("invariant"),u=function(){function e(){i(this,e),this._list=[]}return a(e,[{key:"get",value:function(e,t,n){var r;return this._list.length>0?(r=this._list.pop(),r.constructor.call(r,e,t,n)):r=new l(e,t,n),r}},{key:"put",value:function(e){this._list.push(e)}}]),e}(),c=new u,l=function(){function e(t,n,r){i(this,e),this._type=t,this._target=n,this._data=r,this._defaultPrevented=!1,this._disposed=!1}return a(e,null,[{key:"pool",value:function(e,t,n){return c.get(e,t,n)}}]),a(e,[{key:"preventDefault",value:function(){this._defaultPrevented=!0}},{key:"dispose",value:function(){s(!this._disposed,"NavigationEvent is already disposed"),this._disposed=!0,this._type=null,this._target=null,this._data=null,this._defaultPrevented=!1,c.put(this)}},{key:"type",get:function(){return this._type}},{key:"target",get:function(){return this._target}},{key:"data",get:function(){return this._data}},{key:"defaultPrevented",get:function(){return this._defaultPrevented}}]),e}();o.exports=l}),__d("NavigationEventEmitter",["EventEmitter","NavigationEvent"],function(e,t,n,r,o){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=function f(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:f(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)},c=t("EventEmitter"),l=t("NavigationEvent"),p=function(e){function t(e){i(this,t),u(Object.getPrototypeOf(t.prototype),"constructor",this).call(this),this._emitting=!1,this._emitQueue=[],this._target=e}return a(t,e),s(t,[{key:"emit",value:function(e,n,r){if(this._emitting)return void this._emitQueue.push({eventType:e,data:n,didEmitCallback:r});this._emitting=!0;var o=new l(e,this._target,n);for(u(Object.getPrototypeOf(t.prototype),"emit",this).call(this,String(e),o),"function"==typeof r&&r.call(this._target,o),o.dispose(),this._emitting=!1;this._emitQueue.length;){var i=this._emitQueue.shift();this.emit(i.eventType,i.data,i.didEmitCallback)}}}]),t}(c);o.exports=p}),__d("NavigatorBreadcrumbNavigationBar",["NavigatorBreadcrumbNavigationBarStyles","NavigatorNavigationBarStyles","React","StaticContainer.react","StyleSheet","View","invariant","immutable/dist/immutable.js"],function(e,t,n,r,o){"use strict";var i=t("NavigatorBreadcrumbNavigationBarStyles"),a=t("NavigatorNavigationBarStyles"),s=t("React"),u=(t("StaticContainer.react"),t("StyleSheet")),c=t("View"),l=t("immutable/dist/immutable.js"),p=l.Map,f=t("invariant"),d=i.Interpolators,h=s.PropTypes,m=d.map(function(){return{style:{}}}),v=d.map(function(){return{style:{}}}),g=d.map(function(){return{style:{}}}),y=d.map(function(){return{style:{}}}),_=d.map(function(){return{style:{}}}),b=function(e){return void 0!==e.presentedIndex?e.presentedIndex:e.observedTopOfStack},S=function(e,t){return e===t?i.Center[e]:t>e?i.Left[e]:i.Right[e]},R=s.createClass({propTypes:{navigator:h.shape({push:h.func,pop:h.func,replace:h.func,popToRoute:h.func,popToTop:h.func}),routeMapper:h.shape({rightContentForRoute:h.func,titleContentForRoute:h.func,iconForRoute:h.func}),navState:s.PropTypes.shape({routeStack:s.PropTypes.arrayOf(s.PropTypes.object),presentedIndex:s.PropTypes.number}),style:c.propTypes.style},statics:{Styles:i},_updateIndexProgress:function(e,t,n,r){var o,i=r>n?e:1-e,a=t-n,s=t-r;f(d[t],"Cannot find breadcrumb interpolators for "+t),o=a>0&&0===s||s>0&&0===a?d[t].RightToCenter:0>a&&0===s||0>s&&0===a?d[t].CenterToLeft:a===s?d[t].RightToCenter:d[t].RightToLeft,o.Crumb(m[t].style,i)&&this.refs["crumb_"+t].setNativeProps(m[t]),o.Icon(v[t].style,i)&&this.refs["icon_"+t].setNativeProps(v[t]),o.Separator(g[t].style,i)&&this.refs["separator_"+t].setNativeProps(g[t]),o.Title(y[t].style,i)&&this.refs["title_"+t].setNativeProps(y[t]);var u=this.refs["right_"+t];u&&o.RightItem(_[t].style,i)&&u.setNativeProps(_[t])},updateProgress:function(e,t,n){for(var r=Math.max(t,n),o=Math.min(t,n),i=o;r>=i;i++)this._updateIndexProgress(e,i,t,n)},onAnimationStart:function(e,t){for(var n=Math.max(e,t),r=Math.min(e,t),o=r;n>=o;o++)this._setRenderViewsToHardwareTextureAndroid(o,!0)},onAnimationEnd:function(){for(var e=this.props.navState.routeStack.length-1,t=0;e>=t;t++)this._setRenderViewsToHardwareTextureAndroid(t,!1)},_setRenderViewsToHardwareTextureAndroid:function(e,t){var n={renderToHardwareTextureAndroid:t};this.refs["icon_"+e].setNativeProps(n),this.refs["separator_"+e].setNativeProps(n),this.refs["title_"+e].setNativeProps(n);var r=this.refs["right_"+e];r&&r.setNativeProps(n)},componentWillMount:function(){this._descriptors={crumb:new p,title:new p,right:new p}},render:function(){var e=this.props.navState,t=e&&e.routeStack.map(this._getBreadcrumb),n=e.routeStack.map(this._getTitle),r=e.routeStack.map(this._getRightButton);return s.createElement(c,{style:[E.breadCrumbContainer,this.props.style]},n,t,r)},_getBreadcrumb:function(e,t){if(this._descriptors.crumb.has(e))return this._descriptors.crumb.get(e);var n=this.props.routeMapper,r=S(t,b(this.props.navState)),o=s.createElement(c,{ref:"crumb_"+t,style:r.Crumb},s.createElement(c,{ref:"icon_"+t,style:r.Icon},n.iconForRoute(e,this.props.navigator)),s.createElement(c,{ref:"separator_"+t,style:r.Separator},n.separatorForRoute(e,this.props.navigator)));return this._descriptors.crumb=this._descriptors.crumb.set(e,o),o},_getTitle:function(e,t){if(this._descriptors.title.has(e))return this._descriptors.title.get(e);var n=this.props.routeMapper.titleContentForRoute(this.props.navState.routeStack[t],this.props.navigator),r=S(t,b(this.props.navState)),o=s.createElement(c,{ref:"title_"+t,style:r.Title},n);return this._descriptors.title=this._descriptors.title.set(e,o),o},_getRightButton:function(e,t){if(this._descriptors.right.has(e))return this._descriptors.right.get(e);var n=this.props.routeMapper.rightContentForRoute(this.props.navState.routeStack[t],this.props.navigator);if(!n)return this._descriptors.right=this._descriptors.right.set(e,null),null;var r=S(t,b(this.props.navState)),o=s.createElement(c,{ref:"right_"+t,style:r.RightItem},n);return this._descriptors.right=this._descriptors.right.set(e,o),o}}),E=u.create({breadCrumbContainer:{overflow:"hidden",position:"absolute",height:a.General.TotalNavHeight,top:0,left:0,right:0}});o.exports=R}),__d("NavigatorBreadcrumbNavigationBarStyles",["Dimensions","NavigatorNavigationBarStyles","buildStyleInterpolator","merge"],function(e,t,n,r,o){"use strict";for(var i=t("Dimensions"),a=t("NavigatorNavigationBarStyles"),s=t("buildStyleInterpolator"),u=t("merge"),c=i.get("window").width,l=a.General.StatusBarHeight,p=a.General.NavBarHeight,f=4,d=40,h=9,m=d+h,v=100,g=.6,y=10,_={position:"absolute",flexDirection:"row",top:l,width:m,height:p,backgroundColor:"transparent"},b={width:d,height:p},S={width:h,height:p},R={position:"absolute",top:l,height:p,backgroundColor:"transparent"},E=u(R,{left:0,right:0,alignItems:"center",height:p}),x={position:"absolute",top:l,right:f,overflow:"hidden",opacity:1,height:p,backgroundColor:"transparent"},T=[],w=[],C=[],I=0;y>I;I++){var O=m*I+f;T[I]={Crumb:u(_,{left:O}),Icon:u(b,{opacity:g}),Separator:u(S,{opacity:1}),Title:u(R,{left:O,opacity:0}),RightItem:u(x,{opacity:0})},w[I]={Crumb:u(_,{left:O}),Icon:u(b,{opacity:1}),Separator:u(S,{opacity:0}),Title:u(R,{left:O+d,opacity:1}),RightItem:u(x,{opacity:1})};var P=c-100;C[I]={Crumb:u(_,{left:P}),Icon:u(b,{opacity:0}),Separator:u(S,{opacity:0}),Title:u(R,{left:P+d,opacity:0}),RightItem:u(x,{opacity:0})}}w[0]={Crumb:u(_,{left:c/4}),Icon:u(b,{opacity:0}),Separator:u(S,{opacity:0}),Title:u(E,{opacity:1}),RightItem:w[0].RightItem},T[0].Title=u(E,{left:-c/4,opacity:0}),C[0].Title=u(E,{opacity:0});var D=function(e,t){return{Crumb:s({left:{type:"linear",from:e.Crumb.left,to:t.Crumb.left,min:0,max:1,extrapolate:!0}}),Icon:s({opacity:{type:"linear",from:e.Icon.opacity,to:t.Icon.opacity,min:0,max:1}}),Separator:s({opacity:{type:"linear",from:e.Separator.opacity,to:t.Separator.opacity,min:0,max:1}}),Title:s({opacity:{type:"linear",from:e.Title.opacity,to:t.Title.opacity,min:0,max:1},left:{type:"linear",from:e.Title.left,to:t.Title.left,min:0,max:1,extrapolate:!0}}),RightItem:s({opacity:{type:"linear",from:e.RightItem.opacity,to:t.RightItem.opacity,min:0,max:1,round:v}})}},N=w.map(function(e,t){return{RightToCenter:D(C[t],w[t]),CenterToLeft:D(w[t],T[t]),RightToLeft:D(C[t],T[t])}});o.exports={Interpolators:N,Left:T,Center:w,Right:C,IconWidth:d,IconHeight:p,SeparatorWidth:h,SeparatorHeight:p}}),__d("NavigatorNavigationBarStyles",["Dimensions","buildStyleInterpolator","merge"],function(e,t,n,r,o){"use strict";function i(e,t){return{Title:s({opacity:{type:"linear",from:e.Title.opacity,to:t.Title.opacity,min:0,max:1},left:{type:"linear",from:e.Title.left,to:t.Title.left,min:0,max:1,extrapolate:!0}}),LeftButton:s({opacity:{type:"linear",from:e.LeftButton.opacity,to:t.LeftButton.opacity,min:0,max:1,round:m},left:{type:"linear",from:e.LeftButton.left,to:t.LeftButton.left,min:0,max:1}}),RightButton:s({opacity:{type:"linear",from:e.RightButton.opacity,to:t.RightButton.opacity,min:0,max:1,round:m},left:{type:"linear",from:e.RightButton.left,to:t.RightButton.left,min:0,max:1,extrapolate:!0}})}}var a=t("Dimensions"),s=t("buildStyleInterpolator"),u=t("merge"),c=a.get("window").width,l=44,p=20,f=l+p,d={Title:{position:"absolute",top:p,left:0,alignItems:"center",width:c,height:l,backgroundColor:"transparent"},LeftButton:{position:"absolute",top:p,left:0,overflow:"hidden",opacity:1,width:c/3,height:l,backgroundColor:"transparent"},RightButton:{position:"absolute",top:p,left:2*c/3,overflow:"hidden",opacity:1,alignItems:"flex-end",width:c/3,height:l,backgroundColor:"transparent"}},h={Left:{Title:u(d.Title,{left:-c/2,opacity:0}),LeftButton:u(d.LeftButton,{left:-c/3,opacity:1}),RightButton:u(d.RightButton,{left:c/3,opacity:0})},Center:{Title:u(d.Title,{left:0,opacity:1}),LeftButton:u(d.LeftButton,{left:0,opacity:1}),RightButton:u(d.RightButton,{left:2*c/3-0,opacity:1})},Right:{Title:u(d.Title,{left:c/2,opacity:0}),LeftButton:u(d.LeftButton,{left:0,opacity:0}),RightButton:u(d.RightButton,{left:c,opacity:0})}},m=100,v={RightToCenter:i(h.Right,h.Center),CenterToLeft:i(h.Center,h.Left),RightToLeft:i(h.Right,h.Left)};o.exports={General:{NavBarHeight:l,StatusBarHeight:p,TotalNavHeight:f},Interpolators:v,Stages:h}}),__d("buildStyleInterpolator",["keyOf"],function(e,t,n,r,o){for(var i=t("keyOf"),a=i({x:null}),s=i({y:null}),u=i({z:null}),c=i({w:null}),l=i({transformRotateRadians:null}),p={transformRotateRadians:!0,transformScale:!0,transformTranslate:!0},f={transformRotateRadians:[0,0,0,1],transformTranslate:[0,0,0],transformScale:[1,1,1]},d=/([^\s,]+)/g,h=function(e,t){var n=e.toString(),r=n.slice(n.indexOf("(")+1,n.indexOf(")")).match(d)||[],o=r.map(function(e){return"\\b"+e+"\\b"}).join("|"),i=new RegExp(o,"g"),a=n.substring(n.indexOf("{")+1,n.lastIndexOf("}")),s=a.replace(i,function(e){var n=r.indexOf(e),o=t[n];return o});return s.split("\n")},m={unroll:function(e,t,n,r,o,i,a,s,u,c,l,p,f,d,h,m,v){t=e[0],n=e[1],r=e[2],o=e[3],i=e[4],a=e[5],s=e[6],u=e[7],c=e[8],l=e[9],p=e[10],f=e[11],d=e[12],h=e[13],m=e[14],v=e[15]},matrixDiffers:function(e,t,n,r,o,i,a,s,u,c,l,p,f,d,h,m,v,g){e=e||n!==t[0]||r!==t[1]||o!==t[2]||i!==t[3]||a!==t[4]||s!==t[5]||u!==t[6]||c!==t[7]||l!==t[8]||p!==t[9]||f!==t[10]||d!==t[11]||h!==t[12]||m!==t[13]||v!==t[14]||g!==t[15]},transformScale:function(e,t){var n=t[0],r=t[1],o=t[2];e[0]=e[0]*n,e[1]=e[1]*n,e[2]=e[2]*n,e[3]=e[3]*n,e[4]=e[4]*r,e[5]=e[5]*r,e[6]=e[6]*r,e[7]=e[7]*r,e[8]=e[8]*o,e[9]=e[9]*o,e[10]=e[10]*o,e[11]=e[11]*o,e[12]=e[12],e[13]=e[13],e[14]=e[14],e[15]=e[15]},transformTranslate:function(e,t){var n=t[0],r=t[1],o=t[2];e[12]=e[0]*n+e[4]*r+e[8]*o+e[12],e[13]=e[1]*n+e[5]*r+e[9]*o+e[13],e[14]=e[2]*n+e[6]*r+e[10]*o+e[14],e[15]=e[3]*n+e[7]*r+e[11]*o+e[15]},transformRotateRadians:function(e,t){var n=t[0],r=t[1],o=t[2],i=t[3],a=n+n,s=r+r,u=o+o,c=n*a,l=n*s,p=n*u,f=r*s,d=r*u,h=o*u,m=i*a,v=i*s,g=i*u,y=1-(f+h),_=l+g,b=p-v,S=l-g,R=1-(c+h),E=d+m,x=p+v,T=d-m,w=1-(c+f),C=e[0],I=e[1],O=e[2],P=e[3],D=e[4],N=e[5],M=e[6],A=e[7],k=e[8],j=e[9],L=e[10],V=e[11],F=y,B=_,H=b;e[0]=F*C+B*D+H*k,e[1]=F*I+B*N+H*j,e[2]=F*O+B*M+H*L,e[3]=F*P+B*A+H*V,F=S,B=R,H=E,e[4]=F*C+B*D+H*k,e[5]=F*I+B*N+H*j,e[6]=F*O+B*M+H*L,e[7]=F*P+B*A+H*V,F=x,B=T,H=w,e[8]=F*C+B*D+H*k,e[9]=F*I+B*N+H*j,e[10]=F*O+B*M+H*L,e[11]=F*P+B*A+H*V}},v={transformScale:function(e,t){e[0]=t[0],e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=t[1],e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=t[2],e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1},transformTranslate:function(e,t){e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=t[0],e[13]=t[1],e[14]=t[2],e[15]=1},transformRotateRadians:function(e,t){var n=t[0],r=t[1],o=t[2],i=t[3],a=n+n,s=r+r,u=o+o,c=n*a,l=n*s,p=n*u,f=r*s,d=r*u,h=o*u,m=i*a,v=i*s,g=i*u,y=1-(f+h),_=l+g,b=p-v,S=l-g,R=1-(c+h),E=d+m,x=p+v,T=d-m,w=1-(c+f),C=y,I=_,O=b;e[0]=C,e[1]=I,e[2]=O,e[3]=0,C=S,I=R,O=E,e[4]=C,e[5]=I,e[6]=O,e[7]=0,C=x,I=T,O=w,e[8]=C,e[9]=I,e[10]=O,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1}},g=function(e,t){return" if (!didChange) {\n var prevVal = result."+e+";\n result."+e+" = "+t+";\n didChange = didChange || ("+t+" !== prevVal);\n } else {\n result."+e+" = "+t+";\n }\n"},y=(function(e,t,n,r){var o="round"in e,i=e.round,a=" ratio = (value - "+e.min+") / "+(e.max-e.min)+";\n";e.extrapolate||(a+=" ratio = ratio > 1 ? 1 : (ratio < 0 ? 0 : ratio);\n");var s=o?"Math.round("+i+" * ":"",u=o?") / "+i:"";return a+=" "+r+" = "+s+"("+t+" * (1 - ratio) + "+n+" * ratio)"+u+";\n"}),_=function(e){return y(e,e.from,e.to,"nextScalarVal")},b=function(e){var t=JSON.stringify(e.value);return" nextScalarVal = "+t+";\n"},S=function(e){return" nextScalarVal = value >= "+(e.threshold+" ? "+e.to+" : "+e.from)+";\n"},R=function(){return" nextScalarVal = value;\n"},E=function(e){return e+"ReuseOp"},x=function(e){var t="";for(var n in e)p[n]&&(t+="var "+E(n)+" = [];\n");return t},T=function(e){return"\n"+e.join("\n")+"\n"},w=function(e,t,n,r){var o=E(t)+"["+r+"]";return void 0!==e.from[n]&&void 0!==e.to[n]?" "+e.from[n]!==e.to[n]?y(e,e.from[n],e.to[n],o):o+" = "+e.from[n]+";":" "+o+" = "+f[t][r]+";"},C=[],I=0;16>I;I++)C.push("m"+I);var O=function(e){var t=[" var transformMatrix = result.transformMatrix !== undefined ? result.transformMatrix : (result.transformMatrix = []);"];t.push.apply(t,h(m.unroll,["transformMatrix"].concat(C)));for(var n=0;n<e.length;n++){var r=e[n];0===n?t.push.apply(t,h(v[r],["transformMatrix",E(r)])):t.push.apply(t,h(m[r],["transformMatrix",E(r)]))}return t.push.apply(t,h(m.matrixDiffers,["didChange","transformMatrix"].concat(C))),t},P={transformTranslate:!0,transformRotateRadians:!0,transformScale:!0},D=function(e){var t=[],n="return (function() {\n";n+=x(e),n+="return function(result, value) {\n",n+=" var didChange = false;\n",n+=" var nextScalarVal;\n",n+=" var ratio;\n";for(var r in e){var o=e[r];if("linear"===o.type)if(P[r]){t.push(r);var i=[w(o,r,a,0),w(o,r,s,1),w(o,r,u,2)];r===l&&i.push(w(o,r,c,3)),n+=T(i)}else n+=_(o,"nextScalarVal"),n+=g(r,"nextScalarVal");else"constant"===o.type?(n+=b(o),n+=g(r,"nextScalarVal")):"step"===o.type?(n+=S(o),n+=g(r,"nextScalarVal")):"identity"===o.type&&(n+=R(o),n+=g(r,"nextScalarVal"))}return t.length&&(n+=T(O(t))),n+=" return didChange;\n",n+="};\n",n+="})()"},N=function(e){return Function(D(e))()};o.exports=N}),__d("StaticContainer.react",["React","onlyChild"],function(e,t,n,r,o){function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=function f(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:f(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)},c=t("React"),l=t("onlyChild"),p=function(e){function t(){i(this,t),u(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return a(t,e),s(t,[{key:"shouldComponentUpdate",value:function(e){return!!e.shouldUpdate}},{key:"render",value:function(){var e=this.props.children;return null===e||e===!1?null:l(e)}}]),t}(c.Component);o.exports=p}),__d("immutable/dist/immutable.js",[],function(e,t,n,r,o,i){!function(e,t){"object"==typeof i&&"undefined"!=typeof o?o.exports=t():"function"==typeof define&&define.amd?define(t):e.Immutable=t()}(this,function(){"use strict";function e(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function t(e){return e.value=!1,e}function n(e){e&&(e.value=!0)}function r(){}function o(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),o=0;n>o;o++)r[o]=e[o+t];return r}function i(e){return void 0===e.size&&(e.size=e.__iterate(s)),e.size}function a(e,t){return t>=0?+t:i(e)+ +t}function s(){return!0}function u(e,t,n){return(0===e||void 0!==n&&-n>=e)&&(void 0===t||void 0!==n&&t>=n)}function c(e,t){return p(e,t,0)}function l(e,t){return p(e,t,t)}function p(e,t,n){return void 0===e?n:0>e?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}function f(e){return v(e)?e:O(e)}function d(e){return g(e)?e:P(e)}function h(e){return y(e)?e:D(e)}function m(e){return v(e)&&!_(e)?e:N(e)}function v(e){return!(!e||!e[mr])}function g(e){return!(!e||!e[vr])}function y(e){return!(!e||!e[gr])}function _(e){return g(e)||y(e)}function b(e){return!(!e||!e[yr])}function S(e){this.next=e}function R(e,t,n,r){var o=0===e?t:1===e?n:[t,n];return r?r.value=o:r={value:o,done:!1},r}function E(){return{value:void 0,done:!0}}function x(e){return!!C(e)}function T(e){return e&&"function"==typeof e.next}function w(e){var t=C(e);return t&&t.call(e)}function C(e){var t=e&&(Rr&&e[Rr]||e[Er]);return"function"==typeof t?t:void 0}function I(e){return e&&"number"==typeof e.length}function O(e){return null===e||void 0===e?V():v(e)?e.toSeq():H(e)}function P(e){return null===e||void 0===e?V().toKeyedSeq():v(e)?g(e)?e.toSeq():e.fromEntrySeq():F(e)}function D(e){return null===e||void 0===e?V():v(e)?g(e)?e.entrySeq():e.toIndexedSeq():B(e)}function N(e){return(null===e||void 0===e?V():v(e)?g(e)?e.entrySeq():e:B(e)).toSetSeq()}function M(e){this._array=e,this.size=e.length}function A(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function k(e){this._iterable=e,this.size=e.length||e.size}function j(e){this._iterator=e,this._iteratorCache=[]}function L(e){return!(!e||!e[Tr])}function V(){return wr||(wr=new M([]))}function F(e){var t=Array.isArray(e)?new M(e).fromEntrySeq():T(e)?new j(e).fromEntrySeq():x(e)?new k(e).fromEntrySeq():"object"==typeof e?new A(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function B(e){var t=q(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function H(e){var t=q(e)||"object"==typeof e&&new A(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function q(e){return I(e)?new M(e):T(e)?new j(e):x(e)?new k(e):void 0}function U(e,t,n,r){var o=e._cache;if(o){for(var i=o.length-1,a=0;i>=a;a++){var s=o[n?i-a:a];if(t(s[1],r?s[0]:a,e)===!1)return a+1}return a}return e.__iterateUncached(t,n)}function z(e,t,n,r){var o=e._cache;if(o){var i=o.length-1,a=0;return new S(function(){var e=o[n?i-a:a];return a++>i?E():R(t,r?e[0]:a-1,e[1])})}return e.__iteratorUncached(t,n)}function G(){throw TypeError("Abstract")}function W(){}function Y(){}function K(){}function Z(e,t){if(e===t||e!==e&&t!==t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if(e=e.valueOf(),t=t.valueOf(),e===t||e!==e&&t!==t)return!0;if(!e||!t)return!1}return"function"==typeof e.equals&&"function"==typeof t.equals&&e.equals(t)?!0:!1}function X(e,t){return t?J(t,e,"",{"":e}):Q(e)}function J(e,t,n,r){return Array.isArray(t)?e.call(r,n,D(t).map(function(n,r){return J(e,n,r,t)})):$(t)?e.call(r,n,P(t).map(function(n,r){return J(e,n,r,t)})):t}function Q(e){return Array.isArray(e)?D(e).map(Q).toList():$(e)?P(e).map(Q).toMap():e}function $(e){return e&&(e.constructor===Object||void 0===e.constructor)}function et(e){return e>>>1&1073741824|3221225471&e}function tt(e){if(e===!1||null===e||void 0===e)return 0;if("function"==typeof e.valueOf&&(e=e.valueOf(),e===!1||null===e||void 0===e))return 0;if(e===!0)return 1;var t=typeof e;if("number"===t){var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)e/=4294967295,n^=e;return et(n)}return"string"===t?e.length>Ar?nt(e):rt(e):"function"==typeof e.hashCode?e.hashCode():ot(e)}function nt(e){var t=Lr[e];return void 0===t&&(t=rt(e),jr===kr&&(jr=0,Lr={}),jr++,Lr[e]=t),t}function rt(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return et(t)}function ot(e){var t;if(Dr&&(t=Cr.get(e),void 0!==t))return t;if(t=e[Mr],void 0!==t)return t;if(!Pr){if(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Mr],void 0!==t)return t;if(t=it(e),void 0!==t)return t}if(t=++Nr,1073741824&Nr&&(Nr=0),Dr)Cr.set(e,t);else{if(void 0!==Or&&Or(e)===!1)throw new Error("Non-extensible objects are not allowed as keys.");if(Pr)Object.defineProperty(e,Mr,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[Mr]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Mr]=t}}return t}function it(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}function at(e,t){if(!e)throw new Error(t)}function st(e){at(1/0!==e,"Cannot perform this action with an infinite size.")}function ut(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function ct(e){this._iter=e,this.size=e.size}function lt(e){this._iter=e,this.size=e.size}function pt(e){this._iter=e,this.size=e.size}function ft(e){var t=Mt(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=At,t.__iterateUncached=function(t,n){var r=this;return e.__iterate(function(e,n){return t(n,e,r)!==!1},n)},t.__iteratorUncached=function(t,n){if(t===Sr){var r=e.__iterator(t,n);return new S(function(){var e=r.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e})}return e.__iterator(t===br?_r:br,n)},t}function dt(e,t,n){var r=Mt(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,o){var i=e.get(r,fr);return i===fr?o:t.call(n,i,r,e)},r.__iterateUncached=function(r,o){var i=this;return e.__iterate(function(e,o,a){return r(t.call(n,e,o,a),o,i)!==!1},o)},r.__iteratorUncached=function(r,o){var i=e.__iterator(Sr,o);return new S(function(){var o=i.next();if(o.done)return o;var a=o.value,s=a[0];return R(r,s,t.call(n,a[1],s,e),o)})},r}function ht(e,t){var n=Mt(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=ft(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,r){return e.get(t?n:-1-n,r)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=At,n.__iterate=function(t,n){var r=this;return e.__iterate(function(e,n){return t(e,n,r)},!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function mt(e,t,n,r){var o=Mt(e);return r&&(o.has=function(r){var o=e.get(r,fr);return o!==fr&&!!t.call(n,o,r,e)},o.get=function(r,o){var i=e.get(r,fr);return i!==fr&&t.call(n,i,r,e)?i:o}),o.__iterateUncached=function(o,i){var a=this,s=0;return e.__iterate(function(e,i,u){return t.call(n,e,i,u)?(s++,o(e,r?i:s-1,a)):void 0},i),s},o.__iteratorUncached=function(o,i){var a=e.__iterator(Sr,i),s=0;return new S(function(){for(;;){var i=a.next();if(i.done)return i;var u=i.value,c=u[0],l=u[1];if(t.call(n,l,c,e))return R(o,r?c:s++,l,i)}})},o}function vt(e,t,n){var r=Lt().asMutable();return e.__iterate(function(o,i){r.update(t.call(n,o,i,e),0,function(e){return e+1})}),r.asImmutable()}function gt(e,t,n){var r=g(e),o=(b(e)?xn():Lt()).asMutable();e.__iterate(function(i,a){o.update(t.call(n,i,a,e),function(e){return e=e||[],e.push(r?[a,i]:i),e})});var i=Nt(e);return o.map(function(t){return Ot(e,i(t))})}function yt(e,t,n,r){var o=e.size;if(u(t,n,o))return e;var i=c(t,o),s=l(n,o);if(i!==i||s!==s)return yt(e.toSeq().cacheResult(),t,n,r);var p,f=s-i;f===f&&(p=0>f?0:f);var d=Mt(e);return d.size=p,!r&&L(e)&&p>=0&&(d.get=function(t,n){return t=a(this,t),t>=0&&p>t?e.get(t+i,n):n}),d.__iterateUncached=function(t,n){var o=this;if(0===p)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,s=!0,u=0;return e.__iterate(function(e,n){return s&&(s=a++<i)?void 0:(u++,t(e,r?n:u-1,o)!==!1&&u!==p)}),u},d.__iteratorUncached=function(t,n){if(0!==p&&n)return this.cacheResult().__iterator(t,n);var o=0!==p&&e.__iterator(t,n),a=0,s=0;return new S(function(){for(;a++<i;)o.next();if(++s>p)return E();var e=o.next();return r||t===br?e:t===_r?R(t,s-1,void 0,e):R(t,s-1,e.value[1],e)})},d}function _t(e,t,n){var r=Mt(e);return r.__iterateUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterate(r,o);var a=0;return e.__iterate(function(e,o,s){return t.call(n,e,o,s)&&++a&&r(e,o,i)}),a},r.__iteratorUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterator(r,o);var a=e.__iterator(Sr,o),s=!0;return new S(function(){if(!s)return E();var e=a.next();if(e.done)return e;var o=e.value,u=o[0],c=o[1];return t.call(n,c,u,i)?r===Sr?e:R(r,u,c,e):(s=!1,E())})},r}function bt(e,t,n,r){var o=Mt(e);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var s=!0,u=0;return e.__iterate(function(e,i,c){return s&&(s=t.call(n,e,i,c))?void 0:(u++,o(e,r?i:u-1,a))}),u},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var s=e.__iterator(Sr,i),u=!0,c=0;return new S(function(){var e,i,l;do{if(e=s.next(),e.done)return r||o===br?e:o===_r?R(o,c++,void 0,e):R(o,c++,e.value[1],e);var p=e.value;i=p[0],l=p[1],u&&(u=t.call(n,l,i,a))}while(u);return o===Sr?e:R(o,i,l,e)})},o}function St(e,t){var n=g(e),r=[e].concat(t).map(function(e){return v(e)?n&&(e=d(e)):e=n?F(e):B(Array.isArray(e)?e:[e]),e}).filter(function(e){return 0!==e.size});if(0===r.length)return e;if(1===r.length){var o=r[0];if(o===e||n&&g(o)||y(e)&&y(o))return o}var i=new M(r);return n?i=i.toKeyedSeq():y(e)||(i=i.toSetSeq()),i=i.flatten(!0),i.size=r.reduce(function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}},0),i}function Rt(e,t,n){var r=Mt(e);return r.__iterateUncached=function(r,o){function i(e,u){var c=this;e.__iterate(function(e,o){return(!t||t>u)&&v(e)?i(e,u+1):r(e,n?o:a++,c)===!1&&(s=!0),!s},o)}var a=0,s=!1;return i(e,0),a},r.__iteratorUncached=function(r,o){var i=e.__iterator(r,o),a=[],s=0;return new S(function(){for(;i;){var e=i.next();if(e.done===!1){var u=e.value;if(r===Sr&&(u=u[1]),t&&!(a.length<t)||!v(u))return n?e:R(r,s++,u,e);a.push(i),i=u.__iterator(r,o)}else i=a.pop()}return E()})},r}function Et(e,t,n){var r=Nt(e);return e.toSeq().map(function(o,i){return r(t.call(n,o,i,e))}).flatten(!0)}function xt(e,t){var n=Mt(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,r){var o=this,i=0;return e.__iterate(function(e){return(!i||n(t,i++,o)!==!1)&&n(e,i++,o)!==!1},r),i},n.__iteratorUncached=function(n,r){var o,i=e.__iterator(br,r),a=0;return new S(function(){return(!o||a%2)&&(o=i.next(),o.done)?o:a%2?R(n,a++,t):R(n,a++,o.value,o)})},n}function Tt(e,t,n){t||(t=kt);var r=g(e),o=0,i=e.toSeq().map(function(t,r){return[r,t,o++,n?n(t,r,e):t]}).toArray();return i.sort(function(e,n){return t(e[3],n[3])||e[2]-n[2]}).forEach(r?function(e,t){i[t].length=2}:function(e,t){i[t]=e[1]}),r?P(i):y(e)?D(i):N(i)}function wt(e,t,n){if(t||(t=kt),n){var r=e.toSeq().map(function(t,r){return[t,n(t,r,e)]}).reduce(function(e,n){return Ct(t,e[1],n[1])?n:e});return r&&r[0]}return e.reduce(function(e,n){return Ct(t,e,n)?n:e})}function Ct(e,t,n){var r=e(n,t);return 0===r&&n!==t&&(void 0===n||null===n||n!==n)||r>0}function It(e,t,n){var r=Mt(e);return r.size=new M(n).map(function(e){return e.size}).min(),r.__iterate=function(e,t){for(var n,r=this.__iterator(br,t),o=0;!(n=r.next()).done&&e(n.value,o++,this)!==!1;);return o},r.__iteratorUncached=function(e,r){var o=n.map(function(e){return e=f(e),w(r?e.reverse():e)}),i=0,a=!1;return new S(function(){var n;return a||(n=o.map(function(e){return e.next()}),a=n.some(function(e){return e.done})),a?E():R(e,i++,t.apply(null,n.map(function(e){return e.value})))})},r}function Ot(e,t){return L(e)?t:e.constructor(t)}function Pt(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function Dt(e){return st(e.size),i(e)}function Nt(e){return g(e)?d:y(e)?h:m}function Mt(e){return Object.create((g(e)?P:y(e)?D:N).prototype)}function At(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):O.prototype.cacheResult.call(this)}function kt(e,t){return e>t?1:t>e?-1:0}function jt(e){var t=w(e);if(!t){if(!I(e))throw new TypeError("Expected iterable or array-like: "+e);t=w(f(e))}return t}function Lt(e){return null===e||void 0===e?Kt():Vt(e)?e:Kt().withMutations(function(t){var n=d(e);st(n.size),n.forEach(function(e,n){return t.set(n,e)})})}function Vt(e){return!(!e||!e[Vr])}function Ft(e,t){this.ownerID=e,this.entries=t}function Bt(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function Ht(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function qt(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function Ut(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function zt(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&Wt(e._root)}function Gt(e,t){return R(e,t[0],t[1])}function Wt(e,t){return{node:e,index:0,__prev:t}}function Yt(e,t,n,r){var o=Object.create(Fr);return o.size=e,o._root=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Kt(){return Br||(Br=Yt(0))}function Zt(e,n,r){var o,i;if(e._root){var a=t(dr),s=t(hr);if(o=Xt(e._root,e.__ownerID,0,void 0,n,r,a,s),!s.value)return e;i=e.size+(a.value?r===fr?-1:1:0)}else{if(r===fr)return e;i=1,o=new Ft(e.__ownerID,[[n,r]])}return e.__ownerID?(e.size=i,e._root=o,e.__hash=void 0,e.__altered=!0,e):o?Yt(i,o):Kt()}function Xt(e,t,r,o,i,a,s,u){return e?e.update(t,r,o,i,a,s,u):a===fr?e:(n(u),n(s),new Ut(t,o,[i,a]))}function Jt(e){return e.constructor===Ut||e.constructor===qt}function Qt(e,t,n,r,o){if(e.keyHash===r)return new qt(t,r,[e.entry,o]);var i,a=(0===n?e.keyHash:e.keyHash>>>n)&pr,s=(0===n?r:r>>>n)&pr,u=a===s?[Qt(e,t,n+cr,r,o)]:(i=new Ut(t,r,o),s>a?[e,i]:[i,e]);return new Bt(t,1<<a|1<<s,u)}function $t(e,t,n,o){e||(e=new r);for(var i=new Ut(e,tt(n),[n,o]),a=0;a<t.length;a++){var s=t[a];i=i.update(e,0,void 0,s[0],s[1])}return i}function en(e,t,n,r){for(var o=0,i=0,a=new Array(n),s=0,u=1,c=t.length;c>s;s++,u<<=1){var l=t[s];void 0!==l&&s!==r&&(o|=u,a[i++]=l)}return new Bt(e,o,a)}function tn(e,t,n,r,o){for(var i=0,a=new Array(lr),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[i++]:void 0;return a[r]=o,new Ht(e,i+1,a)}function nn(e,t,n){for(var r=[],o=0;o<n.length;o++){var i=n[o],a=d(i);v(i)||(a=a.map(function(e){return X(e)})),r.push(a)}return on(e,t,r)}function rn(e){return function(t,n,r){return t&&t.mergeDeepWith&&v(n)?t.mergeDeepWith(e,n):e?e(t,n,r):n}}function on(e,t,n){return n=n.filter(function(e){return 0!==e.size}),0===n.length?e:0!==e.size||e.__ownerID||1!==n.length?e.withMutations(function(e){for(var r=t?function(n,r){e.update(r,fr,function(e){return e===fr?n:t(e,n,r)})}:function(t,n){e.set(n,t)},o=0;o<n.length;o++)n[o].forEach(r)}):e.constructor(n[0])}function an(e,t,n,r){var o=e===fr,i=t.next();if(i.done){var a=o?n:e,s=r(a);return s===a?e:s}at(o||e&&e.set,"invalid keyPath");var u=i.value,c=o?fr:e.get(u,fr),l=an(c,t,n,r);return l===c?e:l===fr?e.remove(u):(o?Kt():e).set(u,l)}function sn(e){return e-=e>>1&1431655765,e=(858993459&e)+(e>>2&858993459),e=e+(e>>4)&252645135,e+=e>>8,e+=e>>16,127&e}function un(e,t,n,r){var i=r?e:o(e);return i[t]=n,i}function cn(e,t,n,r){var o=e.length+1;if(r&&t+1===o)return e[t]=n,e;for(var i=new Array(o),a=0,s=0;o>s;s++)s===t?(i[s]=n,a=-1):i[s]=e[s+a];return i}function ln(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var o=new Array(r),i=0,a=0;r>a;a++)a===t&&(i=1),o[a]=e[a+i];return o}function pn(e){var t=vn();if(null===e||void 0===e)return t;if(fn(e))return e;var n=h(e),r=n.size;return 0===r?t:(st(r),r>0&&lr>r?mn(0,r,cr,null,new dn(n.toArray())):t.withMutations(function(e){e.setSize(r),n.forEach(function(t,n){return e.set(n,t)})}))}function fn(e){return!(!e||!e[zr])}function dn(e,t){this.array=e,this.ownerID=t}function hn(e,t){function n(e,t,n){return 0===t?r(e,n):o(e,t,n)}function r(e,n){var r=n===s?u&&u.array:e&&e.array,o=n>i?0:i-n,c=a-n;return c>lr&&(c=lr),function(){if(o===c)return Yr;var e=t?--c:o++;return r&&r[e]}}function o(e,r,o){var s,u=e&&e.array,c=o>i?0:i-o>>r,l=(a-o>>r)+1;return l>lr&&(l=lr),function(){for(;;){if(s){var e=s();if(e!==Yr)return e;s=null}if(c===l)return Yr;var i=t?--l:c++;s=n(u&&u[i],r-cr,o+(i<<r))}}}var i=e._origin,a=e._capacity,s=En(a),u=e._tail;return n(e._root,e._level,0)}function mn(e,t,n,r,o,i,a){var s=Object.create(Gr);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=r,s._tail=o,s.__ownerID=i,s.__hash=a,s.__altered=!1,s}function vn(){return Wr||(Wr=mn(0,0,cr))}function gn(e,n,r){if(n=a(e,n),n>=e.size||0>n)return e.withMutations(function(e){0>n?Sn(e,n).set(0,r):Sn(e,0,n+1).set(n,r)});n+=e._origin;var o=e._tail,i=e._root,s=t(hr);return n>=En(e._capacity)?o=yn(o,e.__ownerID,0,n,r,s):i=yn(i,e.__ownerID,e._level,n,r,s),s.value?e.__ownerID?(e._root=i,e._tail=o,e.__hash=void 0,e.__altered=!0,e):mn(e._origin,e._capacity,e._level,i,o):e}function yn(e,t,r,o,i,a){var s=o>>>r&pr,u=e&&s<e.array.length;if(!u&&void 0===i)return e;var c;if(r>0){var l=e&&e.array[s],p=yn(l,t,r-cr,o,i,a);return p===l?e:(c=_n(e,t),c.array[s]=p,c)}return u&&e.array[s]===i?e:(n(a),c=_n(e,t),void 0===i&&s===c.array.length-1?c.array.pop():c.array[s]=i,c)}function _n(e,t){return t&&e&&t===e.ownerID?e:new dn(e?e.array.slice():[],t)}function bn(e,t){if(t>=En(e._capacity))return e._tail;if(t<1<<e._level+cr){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&pr],r-=cr;return n}}function Sn(e,t,n){var o=e.__ownerID||new r,i=e._origin,a=e._capacity,s=i+t,u=void 0===n?a:0>n?a+n:i+n;if(s===i&&u===a)return e;if(s>=u)return e.clear();for(var c=e._level,l=e._root,p=0;0>s+p;)l=new dn(l&&l.array.length?[void 0,l]:[],o),c+=cr,p+=1<<c;p&&(s+=p,i+=p,u+=p,a+=p);for(var f=En(a),d=En(u);d>=1<<c+cr;)l=new dn(l&&l.array.length?[l]:[],o),c+=cr;var h=e._tail,m=f>d?bn(e,u-1):d>f?new dn([],o):h;if(h&&d>f&&a>s&&h.array.length){l=_n(l,o);for(var v=l,g=c;g>cr;g-=cr){var y=f>>>g≺v=v.array[y]=_n(v.array[y],o)}v.array[f>>>cr&pr]=h}if(a>u&&(m=m&&m.removeAfter(o,0,u)),s>=d)s-=d,u-=d,c=cr,l=null,m=m&&m.removeBefore(o,0,s);else if(s>i||f>d){for(p=0;l;){var _=s>>>c≺if(_!==d>>>c&pr)break;_&&(p+=(1<<c)*_),c-=cr,l=l.array[_]}l&&s>i&&(l=l.removeBefore(o,c,s-p)),l&&f>d&&(l=l.removeAfter(o,c,d-p)),p&&(s-=p,u-=p)}return e.__ownerID?(e.size=u-s,e._origin=s,e._capacity=u,e._level=c,e._root=l,e._tail=m,e.__hash=void 0,e.__altered=!0,e):mn(s,u,c,l,m)}function Rn(e,t,n){for(var r=[],o=0,i=0;i<n.length;i++){var a=n[i],s=h(a);s.size>o&&(o=s.size),v(a)||(s=s.map(function(e){return X(e)})),r.push(s)}return o>e.size&&(e=e.setSize(o)),on(e,t,r)}function En(e){return lr>e?0:e-1>>>cr<<cr}function xn(e){return null===e||void 0===e?Cn():Tn(e)?e:Cn().withMutations(function(t){var n=d(e);st(n.size),n.forEach(function(e,n){return t.set(n,e)})})}function Tn(e){return Vt(e)&&b(e)}function wn(e,t,n,r){var o=Object.create(xn.prototype);return o.size=e?e.size:0,o._map=e,o._list=t,o.__ownerID=n,o.__hash=r,o}function Cn(){return Kr||(Kr=wn(Kt(),vn()))}function In(e,t,n){var r,o,i=e._map,a=e._list,s=i.get(t),u=void 0!==s;if(n===fr){if(!u)return e;a.size>=lr&&a.size>=2*i.size?(o=a.filter(function(e,t){return void 0!==e&&s!==t}),r=o.toKeyedSeq().map(function(e){return e[0]}).flip().toMap(),e.__ownerID&&(r.__ownerID=o.__ownerID=e.__ownerID)):(r=i.remove(t),o=s===a.size-1?a.pop():a.set(s,void 0))}else if(u){if(n===a.get(s)[1])return e;r=i,o=a.set(s,[t,n])}else r=i.set(t,a.size),o=a.set(a.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=o,e.__hash=void 0,e):wn(r,o)}function On(e){return null===e||void 0===e?Nn():Pn(e)?e:Nn().unshiftAll(e)}function Pn(e){return!(!e||!e[Zr])}function Dn(e,t,n,r){var o=Object.create(Xr);return o.size=e,o._head=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Nn(){return Jr||(Jr=Dn(0))}function Mn(e){return null===e||void 0===e?Ln():An(e)?e:Ln().withMutations(function(t){var n=m(e);st(n.size),n.forEach(function(e){return t.add(e)})})}function An(e){return!(!e||!e[Qr])}function kn(e,t){return e.__ownerID?(e.size=t.size,e._map=t,e):t===e._map?e:0===t.size?e.__empty():e.__make(t)}function jn(e,t){var n=Object.create($r);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Ln(){return eo||(eo=jn(Kt()))}function Vn(e){return null===e||void 0===e?Hn():Fn(e)?e:Hn().withMutations(function(t){var n=m(e);st(n.size),n.forEach(function(e){return t.add(e)})})}function Fn(e){return An(e)&&b(e)}function Bn(e,t){var n=Object.create(to);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Hn(){return no||(no=Bn(Cn()))}function qn(e,t){var n,r=function(i){if(i instanceof r)return i;if(!(this instanceof r))return new r(i);if(!n){n=!0;var a=Object.keys(e);Gn(o,a),o.size=a.length,o._name=t,o._keys=a,o._defaultValues=e}this._map=Lt(i)},o=r.prototype=Object.create(ro);return o.constructor=r,r}function Un(e,t,n){var r=Object.create(Object.getPrototypeOf(e));return r._map=t,r.__ownerID=n,r}function zn(e){return e._name||e.constructor.name||"Record"}function Gn(e,t){try{t.forEach(Wn.bind(void 0,e))}catch(n){}}function Wn(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){at(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function Yn(e,t){if(e===t)return!0;if(!v(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||g(e)!==g(t)||y(e)!==y(t)||b(e)!==b(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!_(e);if(b(e)){var r=e.entries();return t.every(function(e,t){var o=r.next().value;return o&&Z(o[1],e)&&(n||Z(o[0],t))})&&r.next().done}var o=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{o=!0;var i=e;e=t,t=i}var a=!0,s=t.__iterate(function(t,r){return(n?e.has(t):o?Z(t,e.get(r,fr)):Z(e.get(r,fr),t))?void 0:(a=!1,!1)});return a&&e.size===s}function Kn(e,t,n){if(!(this instanceof Kn))return new Kn(e,t,n);if(at(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),e>t&&(n=-n),this._start=e,this._end=t,this._step=n,this.size=Math.max(0,Math.ceil((t-e)/n-1)+1),0===this.size){if(oo)return oo;oo=this}}function Zn(e,t){if(!(this instanceof Zn))return new Zn(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(io)return io;io=this}}function Xn(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}function Jn(e,t){return t}function Qn(e,t){return[t,e]}function $n(e){return function(){return!e.apply(this,arguments)}}function er(e){return function(){return-e.apply(this,arguments)}}function tr(e){return"string"==typeof e?JSON.stringify(e):e}function nr(){return o(arguments)}function rr(e,t){return t>e?1:e>t?-1:0}function or(e){if(1/0===e.size)return 0;var t=b(e),n=g(e),r=t?1:0,o=e.__iterate(n?t?function(e,t){r=31*r+ar(tt(e),tt(t))|0}:function(e,t){r=r+ar(tt(e),tt(t))|0}:t?function(e){r=31*r+tt(e)|0}:function(e){r=r+tt(e)|0});return ir(o,r)}function ir(e,t){return t=Ir(t,3432918353),t=Ir(t<<15|t>>>-15,461845907),t=Ir(t<<13|t>>>-13,5),t=(t+3864292196|0)^e,t=Ir(t^t>>>16,2246822507),t=Ir(t^t>>>13,3266489909),t=et(t^t>>>16)}function ar(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}var sr=Array.prototype.slice,ur="delete",cr=5,lr=1<<cr,pr=lr-1,fr={},dr={value:!1},hr={value:!1};e(d,f),e(h,f),e(m,f),f.isIterable=v,f.isKeyed=g,f.isIndexed=y,f.isAssociative=_,f.isOrdered=b,f.Keyed=d,f.Indexed=h,f.Set=m;var mr="@@__IMMUTABLE_ITERABLE__@@",vr="@@__IMMUTABLE_KEYED__@@",gr="@@__IMMUTABLE_INDEXED__@@",yr="@@__IMMUTABLE_ORDERED__@@",_r=0,br=1,Sr=2,Rr="function"==typeof Symbol&&Symbol.iterator,Er="@@iterator",xr=Rr||Er;S.prototype.toString=function(){return"[Iterator]"},S.KEYS=_r,S.VALUES=br,S.ENTRIES=Sr,S.prototype.inspect=S.prototype.toSource=function(){return this.toString()},S.prototype[xr]=function(){return this},e(O,f),O.of=function(){return O(arguments)},O.prototype.toSeq=function(){return this},O.prototype.toString=function(){return this.__toString("Seq {","}")},O.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},O.prototype.__iterate=function(e,t){return U(this,e,t,!0)},O.prototype.__iterator=function(e,t){return z(this,e,t,!0)},e(P,O),P.prototype.toKeyedSeq=function(){return this},e(D,O),D.of=function(){return D(arguments)},D.prototype.toIndexedSeq=function(){return this},D.prototype.toString=function(){return this.__toString("Seq [","]")},D.prototype.__iterate=function(e,t){return U(this,e,t,!1)},D.prototype.__iterator=function(e,t){return z(this,e,t,!1)},e(N,O),N.of=function(){return N(arguments)},N.prototype.toSetSeq=function(){return this},O.isSeq=L,O.Keyed=P,O.Set=N,O.Indexed=D;var Tr="@@__IMMUTABLE_SEQ__@@";O.prototype[Tr]=!0,e(M,D),M.prototype.get=function(e,t){return this.has(e)?this._array[a(this,e)]:t},M.prototype.__iterate=function(e,t){for(var n=this._array,r=n.length-1,o=0;r>=o;o++)if(e(n[t?r-o:o],o,this)===!1)return o+1;return o},M.prototype.__iterator=function(e,t){var n=this._array,r=n.length-1,o=0;return new S(function(){return o>r?E():R(e,o,n[t?r-o++:o++])})},e(A,P),A.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},A.prototype.has=function(e){return this._object.hasOwnProperty(e)},A.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,o=r.length-1,i=0;o>=i;i++){var a=r[t?o-i:i];if(e(n[a],a,this)===!1)return i+1}return i},A.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,o=r.length-1,i=0;return new S(function(){var a=r[t?o-i:i];return i++>o?E():R(e,a,n[a])})},A.prototype[yr]=!0,e(k,D),k.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=this._iterable,r=w(n),o=0;if(T(r))for(var i;!(i=r.next()).done&&e(i.value,o++,this)!==!1;);return o},k.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterable,r=w(n);if(!T(r))return new S(E);var o=0;return new S(function(){var t=r.next();return t.done?t:R(e,o++,t.value)})},e(j,D),j.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n=this._iterator,r=this._iteratorCache,o=0;o<r.length;)if(e(r[o],o++,this)===!1)return o;for(var i;!(i=n.next()).done;){var a=i.value;if(r[o]=a,e(a,o++,this)===!1)break}return o},j.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,r=this._iteratorCache,o=0;return new S(function(){if(o>=r.length){var t=n.next();if(t.done)return t;r[o]=t.value}return R(e,o,r[o++])})};var wr;e(G,f),e(W,G),e(Y,G),e(K,G),G.Keyed=W,G.Indexed=Y,G.Set=K;var Cr,Ir="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){e=0|e,t=0|t;var n=65535&e,r=65535&t;return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0},Or=Object.isExtensible,Pr=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}(),Dr="function"==typeof WeakMap;Dr&&(Cr=new WeakMap);var Nr=0,Mr="__immutablehash__";"function"==typeof Symbol&&(Mr=Symbol(Mr));var Ar=16,kr=255,jr=0,Lr={};e(ut,P),ut.prototype.get=function(e,t){return this._iter.get(e,t)},ut.prototype.has=function(e){return this._iter.has(e)},ut.prototype.valueSeq=function(){return this._iter.valueSeq()},ut.prototype.reverse=function(){var e=this,t=ht(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},ut.prototype.map=function(e,t){var n=this,r=dt(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},ut.prototype.__iterate=function(e,t){var n,r=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,r)}:(n=t?Dt(this):0,function(o){return e(o,t?--n:n++,r)}),t)},ut.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(br,t),r=t?Dt(this):0;return new S(function(){var o=n.next();return o.done?o:R(e,t?--r:r++,o.value,o)})},ut.prototype[yr]=!0,e(ct,D),ct.prototype.includes=function(e){return this._iter.includes(e)},ct.prototype.__iterate=function(e,t){var n=this,r=0;return this._iter.__iterate(function(t){return e(t,r++,n)},t)},ct.prototype.__iterator=function(e,t){var n=this._iter.__iterator(br,t),r=0;return new S(function(){var t=n.next();return t.done?t:R(e,r++,t.value,t)})},e(lt,N),lt.prototype.has=function(e){return this._iter.includes(e)},lt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate(function(t){return e(t,t,n)},t)},lt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(br,t);return new S(function(){var t=n.next();return t.done?t:R(e,t.value,t.value,t)})},e(pt,P),pt.prototype.entrySeq=function(){return this._iter.toSeq()},pt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate(function(t){if(t){Pt(t);var r=v(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}},t)},pt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(br,t);return new S(function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){Pt(r);var o=v(r);return R(e,o?r.get(0):r[0],o?r.get(1):r[1],t)}}})},ct.prototype.cacheResult=ut.prototype.cacheResult=lt.prototype.cacheResult=pt.prototype.cacheResult=At,e(Lt,W),Lt.prototype.toString=function(){return this.__toString("Map {","}")},Lt.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},Lt.prototype.set=function(e,t){return Zt(this,e,t)},Lt.prototype.setIn=function(e,t){return this.updateIn(e,fr,function(){return t})},Lt.prototype.remove=function(e){return Zt(this,e,fr)},Lt.prototype.deleteIn=function(e){return this.updateIn(e,function(){return fr})},Lt.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},Lt.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=an(this,jt(e),t,n);return r===fr?void 0:r},Lt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Kt()},Lt.prototype.merge=function(){return nn(this,void 0,arguments)},Lt.prototype.mergeWith=function(e){var t=sr.call(arguments,1);return nn(this,e,t)},Lt.prototype.mergeIn=function(e){var t=sr.call(arguments,1);return this.updateIn(e,Kt(),function(e){return"function"==typeof e.merge?e.merge.apply(e,t):t[t.length-1]})},Lt.prototype.mergeDeep=function(){return nn(this,rn(void 0),arguments)},Lt.prototype.mergeDeepWith=function(e){var t=sr.call(arguments,1);return nn(this,rn(e),t)},Lt.prototype.mergeDeepIn=function(e){var t=sr.call(arguments,1);return this.updateIn(e,Kt(),function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,t):t[t.length-1]})},Lt.prototype.sort=function(e){return xn(Tt(this,e))},Lt.prototype.sortBy=function(e,t){return xn(Tt(this,t,e))},Lt.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},Lt.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new r)},Lt.prototype.asImmutable=function(){return this.__ensureOwner()},Lt.prototype.wasAltered=function(){return this.__altered},Lt.prototype.__iterator=function(e,t){return new zt(this,e,t)},Lt.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate(function(t){return r++,e(t[1],t[0],n)},t),r},Lt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Yt(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Lt.isMap=Vt;var Vr="@@__IMMUTABLE_MAP__@@",Fr=Lt.prototype;Fr[Vr]=!0,Fr[ur]=Fr.remove,Fr.removeIn=Fr.deleteIn,Ft.prototype.get=function(e,t,n,r){for(var o=this.entries,i=0,a=o.length;a>i;i++)if(Z(n,o[i][0]))return o[i][1];return r},Ft.prototype.update=function(e,t,r,i,a,s,u){for(var c=a===fr,l=this.entries,p=0,f=l.length;f>p&&!Z(i,l[p][0]);p++);var d=f>p;if(d?l[p][1]===a:c)return this;if(n(u),(c||!d)&&n(s),!c||1!==l.length){if(!d&&!c&&l.length>=Hr)return $t(e,l,i,a);var h=e&&e===this.ownerID,m=h?l:o(l);return d?c?p===f-1?m.pop():m[p]=m.pop():m[p]=[i,a]:m.push([i,a]),h?(this.entries=m,this):new Ft(e,m)}},Bt.prototype.get=function(e,t,n,r){void 0===t&&(t=tt(n));var o=1<<((0===e?t:t>>>e)&pr),i=this.bitmap;return 0===(i&o)?r:this.nodes[sn(i&o-1)].get(e+cr,t,n,r)},Bt.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=tt(r));var s=(0===t?n:n>>>t)&pr,u=1<<s,c=this.bitmap,l=0!==(c&u);if(!l&&o===fr)return this;var p=sn(c&u-1),f=this.nodes,d=l?f[p]:void 0,h=Xt(d,e,t+cr,n,r,o,i,a);if(h===d)return this;if(!l&&h&&f.length>=qr)return tn(e,f,c,s,h);if(l&&!h&&2===f.length&&Jt(f[1^p]))return f[1^p];if(l&&h&&1===f.length&&Jt(h))return h;var m=e&&e===this.ownerID,v=l?h?c:c^u:c|u,g=l?h?un(f,p,h,m):ln(f,p,m):cn(f,p,h,m);return m?(this.bitmap=v,this.nodes=g,this):new Bt(e,v,g)},Ht.prototype.get=function(e,t,n,r){void 0===t&&(t=tt(n));var o=(0===e?t:t>>>e)&pr,i=this.nodes[o];return i?i.get(e+cr,t,n,r):r},Ht.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=tt(r));var s=(0===t?n:n>>>t)&pr,u=o===fr,c=this.nodes,l=c[s];if(u&&!l)return this;var p=Xt(l,e,t+cr,n,r,o,i,a);if(p===l)return this;var f=this.count;if(l){if(!p&&(f--,Ur>f))return en(e,c,f,s)}else f++;var d=e&&e===this.ownerID,h=un(c,s,p,d);return d?(this.count=f,this.nodes=h,this):new Ht(e,f,h)},qt.prototype.get=function(e,t,n,r){for(var o=this.entries,i=0,a=o.length;a>i;i++)if(Z(n,o[i][0]))return o[i][1];return r},qt.prototype.update=function(e,t,r,i,a,s,u){void 0===r&&(r=tt(i));var c=a===fr;if(r!==this.keyHash)return c?this:(n(u),n(s),Qt(this,e,t,r,[i,a]));for(var l=this.entries,p=0,f=l.length;f>p&&!Z(i,l[p][0]);p++);var d=f>p;if(d?l[p][1]===a:c)return this;if(n(u),(c||!d)&&n(s),c&&2===f)return new Ut(e,this.keyHash,l[1^p]);var h=e&&e===this.ownerID,m=h?l:o(l);return d?c?p===f-1?m.pop():m[p]=m.pop():m[p]=[i,a]:m.push([i,a]),h?(this.entries=m,this):new qt(e,this.keyHash,m)},Ut.prototype.get=function(e,t,n,r){return Z(n,this.entry[0])?this.entry[1]:r},Ut.prototype.update=function(e,t,r,o,i,a,s){var u=i===fr,c=Z(o,this.entry[0]);return(c?i===this.entry[1]:u)?this:(n(s),u?void n(a):c?e&&e===this.ownerID?(this.entry[1]=i,this):new Ut(e,this.keyHash,[o,i]):(n(a),Qt(this,e,t,tt(o),[o,i])))},Ft.prototype.iterate=qt.prototype.iterate=function(e,t){for(var n=this.entries,r=0,o=n.length-1;o>=r;r++)if(e(n[t?o-r:r])===!1)return!1},Bt.prototype.iterate=Ht.prototype.iterate=function(e,t){for(var n=this.nodes,r=0,o=n.length-1;o>=r;r++){var i=n[t?o-r:r];if(i&&i.iterate(e,t)===!1)return!1}},Ut.prototype.iterate=function(e){return e(this.entry)},e(zt,S),zt.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var n,r=t.node,o=t.index++;if(r.entry){if(0===o)return Gt(e,r.entry)}else if(r.entries){if(n=r.entries.length-1,n>=o)return Gt(e,r.entries[this._reverse?n-o:o])}else if(n=r.nodes.length-1,n>=o){var i=r.nodes[this._reverse?n-o:o];if(i){if(i.entry)return Gt(e,i.entry);t=this._stack=Wt(i,t)}continue}t=this._stack=this._stack.__prev}return E()};var Br,Hr=lr/4,qr=lr/2,Ur=lr/4;e(pn,Y),pn.of=function(){return this(arguments)},pn.prototype.toString=function(){return this.__toString("List [","]")},pn.prototype.get=function(e,t){if(e=a(this,e),0>e||e>=this.size)return t;e+=this._origin;var n=bn(this,e);return n&&n.array[e&pr]},pn.prototype.set=function(e,t){return gn(this,e,t)},pn.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},pn.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=cr,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):vn()},pn.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations(function(n){Sn(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])})},pn.prototype.pop=function(){return Sn(this,0,-1)},pn.prototype.unshift=function(){var e=arguments;return this.withMutations(function(t){Sn(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])})},pn.prototype.shift=function(){return Sn(this,1)},pn.prototype.merge=function(){return Rn(this,void 0,arguments)},pn.prototype.mergeWith=function(e){var t=sr.call(arguments,1);return Rn(this,e,t)},pn.prototype.mergeDeep=function(){return Rn(this,rn(void 0),arguments)},pn.prototype.mergeDeepWith=function(e){var t=sr.call(arguments,1);return Rn(this,rn(e),t)},pn.prototype.setSize=function(e){return Sn(this,0,e)},pn.prototype.slice=function(e,t){var n=this.size;return u(e,t,n)?this:Sn(this,c(e,n),l(t,n))},pn.prototype.__iterator=function(e,t){var n=0,r=hn(this,t);return new S(function(){var t=r();return t===Yr?E():R(e,n++,t)})},pn.prototype.__iterate=function(e,t){for(var n,r=0,o=hn(this,t);(n=o())!==Yr&&e(n,r++,this)!==!1;);return r},pn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?mn(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},pn.isList=fn;var zr="@@__IMMUTABLE_LIST__@@",Gr=pn.prototype;Gr[zr]=!0,Gr[ur]=Gr.remove,Gr.setIn=Fr.setIn,Gr.deleteIn=Gr.removeIn=Fr.removeIn,Gr.update=Fr.update,Gr.updateIn=Fr.updateIn,Gr.mergeIn=Fr.mergeIn,Gr.mergeDeepIn=Fr.mergeDeepIn,Gr.withMutations=Fr.withMutations,Gr.asMutable=Fr.asMutable,Gr.asImmutable=Fr.asImmutable,Gr.wasAltered=Fr.wasAltered,dn.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0||0===this.array.length)return this;var r=n>>>t≺if(r>=this.array.length)return new dn([],e);var o,i=0===r;if(t>0){var a=this.array[r];if(o=a&&a.removeBefore(e,t-cr,n),o===a&&i)return this}if(i&&!o)return this;var s=_n(this,e);if(!i)for(var u=0;r>u;u++)s.array[u]=void 0;return o&&(s.array[r]=o),s},dn.prototype.removeAfter=function(e,t,n){if(n===t?1<<t:0||0===this.array.length)return this;var r=n-1>>>t≺if(r>=this.array.length)return this;var o,i=r===this.array.length-1;if(t>0){var a=this.array[r];if(o=a&&a.removeAfter(e,t-cr,n),o===a&&i)return this}if(i&&!o)return this;var s=_n(this,e);return i||s.array.pop(),o&&(s.array[r]=o),s};var Wr,Yr={};e(xn,Lt),xn.of=function(){return this(arguments)},xn.prototype.toString=function(){return this.__toString("OrderedMap {","}")},xn.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},xn.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Cn()},xn.prototype.set=function(e,t){return In(this,e,t)},xn.prototype.remove=function(e){return In(this,e,fr)},xn.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},xn.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate(function(t){return t&&e(t[1],t[0],n)},t)},xn.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},xn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?wn(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},xn.isOrderedMap=Tn,xn.prototype[yr]=!0,xn.prototype[ur]=xn.prototype.remove;var Kr;e(On,Y),On.of=function(){return this(arguments)},On.prototype.toString=function(){return this.__toString("Stack [","]")},On.prototype.get=function(e,t){var n=this._head;for(e=a(this,e);n&&e--;)n=n.next;return n?n.value:t},On.prototype.peek=function(){return this._head&&this._head.value},On.prototype.push=function(){if(0===arguments.length)return this;for(var e=this.size+arguments.length,t=this._head,n=arguments.length-1;n>=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):Dn(e,t)},On.prototype.pushAll=function(e){if(e=h(e),0===e.size)return this;st(e.size);var t=this.size,n=this._head;return e.reverse().forEach(function(e){t++,n={value:e,next:n}}),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Dn(t,n)},On.prototype.pop=function(){return this.slice(1)},On.prototype.unshift=function(){return this.push.apply(this,arguments)},On.prototype.unshiftAll=function(e){return this.pushAll(e)},On.prototype.shift=function(){return this.pop.apply(this,arguments)},On.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Nn()},On.prototype.slice=function(e,t){if(u(e,t,this.size))return this;var n=c(e,this.size),r=l(t,this.size);if(r!==this.size)return Y.prototype.slice.call(this,e,t);for(var o=this.size-n,i=this._head;n--;)i=i.next;return this.__ownerID?(this.size=o,this._head=i,this.__hash=void 0,this.__altered=!0,this):Dn(o,i)},On.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Dn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},On.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,r=this._head;r&&e(r.value,n++,this)!==!1;)r=r.next;return n},On.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,r=this._head;return new S(function(){if(r){var t=r.value;return r=r.next,R(e,n++,t)}return E()})},On.isStack=Pn;var Zr="@@__IMMUTABLE_STACK__@@",Xr=On.prototype;Xr[Zr]=!0,Xr.withMutations=Fr.withMutations,Xr.asMutable=Fr.asMutable,Xr.asImmutable=Fr.asImmutable,Xr.wasAltered=Fr.wasAltered;var Jr;e(Mn,K),Mn.of=function(){return this(arguments)},Mn.fromKeys=function(e){return this(d(e).keySeq())},Mn.prototype.toString=function(){return this.__toString("Set {","}")},Mn.prototype.has=function(e){return this._map.has(e)},Mn.prototype.add=function(e){return kn(this,this._map.set(e,!0))},Mn.prototype.remove=function(e){return kn(this,this._map.remove(e))},Mn.prototype.clear=function(){return kn(this,this._map.clear())},Mn.prototype.union=function(){var e=sr.call(arguments,0);return e=e.filter(function(e){return 0!==e.size}),0===e.length?this:0!==this.size||this.__ownerID||1!==e.length?this.withMutations(function(t){for(var n=0;n<e.length;n++)m(e[n]).forEach(function(e){return t.add(e)})}):this.constructor(e[0])},Mn.prototype.intersect=function(){var e=sr.call(arguments,0);if(0===e.length)return this;e=e.map(function(e){return m(e)});var t=this;return this.withMutations(function(n){t.forEach(function(t){e.every(function(e){return e.includes(t)})||n.remove(t)})})},Mn.prototype.subtract=function(){var e=sr.call(arguments,0);if(0===e.length)return this;e=e.map(function(e){return m(e)});var t=this;return this.withMutations(function(n){t.forEach(function(t){e.some(function(e){return e.includes(t)})&&n.remove(t)})})},Mn.prototype.merge=function(){return this.union.apply(this,arguments)},Mn.prototype.mergeWith=function(){var e=sr.call(arguments,1);return this.union.apply(this,e)},Mn.prototype.sort=function(e){return Vn(Tt(this,e))},Mn.prototype.sortBy=function(e,t){return Vn(Tt(this,t,e))},Mn.prototype.wasAltered=function(){return this._map.wasAltered()},Mn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate(function(t,r){return e(r,r,n)},t)},Mn.prototype.__iterator=function(e,t){return this._map.map(function(e,t){return t}).__iterator(e,t)},Mn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):(this.__ownerID=e,this._map=t,this)},Mn.isSet=An;var Qr="@@__IMMUTABLE_SET__@@",$r=Mn.prototype;$r[Qr]=!0,$r[ur]=$r.remove,$r.mergeDeep=$r.merge,$r.mergeDeepWith=$r.mergeWith,$r.withMutations=Fr.withMutations,$r.asMutable=Fr.asMutable,$r.asImmutable=Fr.asImmutable,$r.__empty=Ln,$r.__make=jn;var eo;e(Vn,Mn),Vn.of=function(){return this(arguments)},Vn.fromKeys=function(e){return this(d(e).keySeq())},Vn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Vn.isOrderedSet=Fn;var to=Vn.prototype;to[yr]=!0,to.__empty=Hn,to.__make=Bn;var no;e(qn,W),qn.prototype.toString=function(){return this.__toString(zn(this)+" {","}")},qn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},qn.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._defaultValues[e];return this._map?this._map.get(e,n):n},qn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Un(this,Kt()))},qn.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+zn(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Un(this,n)},qn.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:Un(this,t)},qn.prototype.wasAltered=function(){return this._map.wasAltered()},qn.prototype.__iterator=function(e,t){var n=this;return d(this._defaultValues).map(function(e,t){return n.get(t)}).__iterator(e,t)},qn.prototype.__iterate=function(e,t){var n=this;return d(this._defaultValues).map(function(e,t){return n.get(t)}).__iterate(e,t)},qn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Un(this,t,e):(this.__ownerID=e,this._map=t,this)};var ro=qn.prototype;ro[ur]=ro.remove,ro.deleteIn=ro.removeIn=Fr.removeIn,ro.merge=Fr.merge,ro.mergeWith=Fr.mergeWith,ro.mergeIn=Fr.mergeIn,ro.mergeDeep=Fr.mergeDeep,ro.mergeDeepWith=Fr.mergeDeepWith,ro.mergeDeepIn=Fr.mergeDeepIn,ro.setIn=Fr.setIn,ro.update=Fr.update,ro.updateIn=Fr.updateIn,ro.withMutations=Fr.withMutations,ro.asMutable=Fr.asMutable,ro.asImmutable=Fr.asImmutable,e(Kn,D),Kn.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},Kn.prototype.get=function(e,t){return this.has(e)?this._start+a(this,e)*this._step:t},Kn.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},Kn.prototype.slice=function(e,t){return u(e,t,this.size)?this:(e=c(e,this.size),t=l(t,this.size),e>=t?new Kn(0,0):new Kn(this.get(e,this._end),this.get(t,this._end),this._step))},Kn.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step===0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},Kn.prototype.lastIndexOf=function(e){return this.indexOf(e)},Kn.prototype.__iterate=function(e,t){for(var n=this.size-1,r=this._step,o=t?this._start+n*r:this._start,i=0;n>=i;i++){if(e(o,i,this)===!1)return i+1;o+=t?-r:r}return i},Kn.prototype.__iterator=function(e,t){var n=this.size-1,r=this._step,o=t?this._start+n*r:this._start,i=0;return new S(function(){var a=o;return o+=t?-r:r,i>n?E():R(e,i++,a)})},Kn.prototype.equals=function(e){return e instanceof Kn?this._start===e._start&&this._end===e._end&&this._step===e._step:Yn(this,e)};var oo;e(Zn,D),Zn.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},Zn.prototype.get=function(e,t){return this.has(e)?this._value:t},Zn.prototype.includes=function(e){return Z(this._value,e)},Zn.prototype.slice=function(e,t){var n=this.size;return u(e,t,n)?this:new Zn(this._value,l(t,n)-c(e,n))},Zn.prototype.reverse=function(){return this},Zn.prototype.indexOf=function(e){return Z(this._value,e)?0:-1},Zn.prototype.lastIndexOf=function(e){return Z(this._value,e)?this.size:-1},Zn.prototype.__iterate=function(e){for(var t=0;t<this.size;t++)if(e(this._value,t,this)===!1)return t+1;return t},Zn.prototype.__iterator=function(e){var t=this,n=0;return new S(function(){return n<t.size?R(e,n++,t._value):E()})},Zn.prototype.equals=function(e){return e instanceof Zn?Z(this._value,e._value):Yn(e)};var io;f.Iterator=S,Xn(f,{toArray:function(){st(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate(function(t,n){e[n]=t}),e},toIndexedSeq:function(){return new ct(this)},toJS:function(){return this.toSeq().map(function(e){return e&&"function"==typeof e.toJS?e.toJS():e}).__toJS()},toJSON:function(){return this.toSeq().map(function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e}).__toJS()},toKeyedSeq:function(){return new ut(this,!0)},toMap:function(){return Lt(this.toKeyedSeq())},toObject:function(){st(this.size);var e={};return this.__iterate(function(t,n){e[n]=t}),e},toOrderedMap:function(){return xn(this.toKeyedSeq())},toOrderedSet:function(){return Vn(g(this)?this.valueSeq():this)},toSet:function(){return Mn(g(this)?this.valueSeq():this)},toSetSeq:function(){return new lt(this)},toSeq:function(){return y(this)?this.toIndexedSeq():g(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return On(g(this)?this.valueSeq():this)},toList:function(){return pn(g(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){var e=sr.call(arguments,0);return Ot(this,St(this,e))},contains:function(e){return this.includes(e)},includes:function(e){return this.some(function(t){return Z(t,e)})},entries:function(){return this.__iterator(Sr)},every:function(e,t){st(this.size);var n=!0;return this.__iterate(function(r,o,i){return e.call(t,r,o,i)?void 0:(n=!1,!1)}),n},filter:function(e,t){return Ot(this,mt(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},findEntry:function(e,t){var n;return this.__iterate(function(r,o,i){return e.call(t,r,o,i)?(n=[o,r],!1):void 0}),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return st(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){st(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate(function(r){n?n=!1:t+=e,t+=null!==r&&void 0!==r?r.toString():""}),t},keys:function(){return this.__iterator(_r)},map:function(e,t){return Ot(this,dt(this,e,t))},reduce:function(e,t,n){st(this.size);var r,o;return arguments.length<2?o=!0:r=t,this.__iterate(function(t,i,a){o?(o=!1,r=t):r=e.call(n,r,t,i,a)}),r},reduceRight:function(){var e=this.toKeyedSeq().reverse();return e.reduce.apply(e,arguments)},reverse:function(){return Ot(this,ht(this,!0))},slice:function(e,t){return Ot(this,yt(this,e,t,!0))},some:function(e,t){return!this.every($n(e),t)},sort:function(e){return Ot(this,Tt(this,e))},values:function(){return this.__iterator(br)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some(function(){return!0})},count:function(e,t){return i(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return vt(this,e,t)},equals:function(e){return Yn(this,e)},entrySeq:function(){var e=this;if(e._cache)return new M(e._cache);var t=e.toSeq().map(Qn).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter($n(e),t)},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},first:function(){return this.find(s)},flatMap:function(e,t){return Ot(this,Et(this,e,t))},flatten:function(e){return Ot(this,Rt(this,e,!0))},fromEntrySeq:function(){return new pt(this)},get:function(e,t){return this.find(function(t,n){return Z(n,e)},void 0,t)},getIn:function(e,t){for(var n,r=this,o=jt(e);!(n=o.next()).done;){var i=n.value;if(r=r&&r.get?r.get(i,fr):fr,r===fr)return t}return r},groupBy:function(e,t){return gt(this,e,t)},has:function(e){return this.get(e,fr)!==fr},hasIn:function(e){return this.getIn(e,fr)!==fr},isSubset:function(e){return e="function"==typeof e.includes?e:f(e),this.every(function(t){return e.includes(t)})},isSuperset:function(e){return e="function"==typeof e.isSubset?e:f(e),e.isSubset(this)},keySeq:function(){return this.toSeq().map(Jn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return wt(this,e)},maxBy:function(e,t){return wt(this,t,e)},min:function(e){return wt(this,e?er(e):rr)},minBy:function(e,t){return wt(this,t?er(t):rr,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return Ot(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return Ot(this,bt(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile($n(e),t)},sortBy:function(e,t){return Ot(this,Tt(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return Ot(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return Ot(this,_t(this,e,t))},takeUntil:function(e,t){return this.takeWhile($n(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=or(this))}});var ao=f.prototype;ao[mr]=!0,ao[xr]=ao.values,ao.__toJS=ao.toArray,ao.__toStringMapper=tr,ao.inspect=ao.toSource=function(){return this.toString()},ao.chain=ao.flatMap,function(){try{Object.defineProperty(ao,"length",{get:function(){if(!f.noLengthWarning){var e;try{throw new Error}catch(t){e=t.stack}if(-1===e.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+e),this.size}}})}catch(e){}}(),Xn(d,{flip:function(){return Ot(this,ft(this))},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey(function(t){return Z(t,e)})},lastKeyOf:function(e){return this.findLastKey(function(t){return Z(t,e)})},mapEntries:function(e,t){var n=this,r=0;return Ot(this,this.toSeq().map(function(o,i){return e.call(t,[i,o],r++,n)}).fromEntrySeq())},mapKeys:function(e,t){var n=this;return Ot(this,this.toSeq().flip().map(function(r,o){return e.call(t,r,o,n)}).flip())}});var so=d.prototype;so[vr]=!0,so[xr]=ao.entries,so.__toJS=ao.toObject,so.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+tr(e)},Xn(h,{toKeyedSeq:function(){return new ut(this,!1)},filter:function(e,t){return Ot(this,mt(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.toKeyedSeq().keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){return this.toSeq().reverse().indexOf(e)},reverse:function(){return Ot(this,ht(this,!1))},slice:function(e,t){return Ot(this,yt(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=c(e,this.size);var r=this.slice(0,e);return Ot(this,1===n?r:r.concat(o(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.toKeyedSeq().findLastKey(e,t);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(e){return Ot(this,Rt(this,e,!1))},get:function(e,t){return e=a(this,e),0>e||1/0===this.size||void 0!==this.size&&e>this.size?t:this.find(function(t,n){return n===e},void 0,t)},has:function(e){return e=a(this,e),e>=0&&(void 0!==this.size?1/0===this.size||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return Ot(this,xt(this,e))},interleave:function(){var e=[this].concat(o(arguments)),t=It(this.toSeq(),D.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),Ot(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return Ot(this,bt(this,e,t,!1))},zip:function(){var e=[this].concat(o(arguments));return Ot(this,It(this,nr,e))},zipWith:function(e){var t=o(arguments);return t[0]=this,Ot(this,It(this,e,t))}}),h.prototype[gr]=!0,h.prototype[yr]=!0,Xn(m,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),m.prototype.has=ao.includes,Xn(P,d.prototype),Xn(D,h.prototype),Xn(N,m.prototype),Xn(W,d.prototype),Xn(Y,h.prototype),Xn(K,m.prototype);var uo={Iterable:f,Seq:O,Collection:G,Map:Lt,OrderedMap:xn,List:pn,Stack:On,Set:Mn,OrderedSet:Vn,Record:qn,Range:Kn,Repeat:Zn,is:Z,fromJS:X};return uo})}),__d("NavigatorNavigationBar",["React","NavigatorNavigationBarStyles","StaticContainer.react","StyleSheet","View","immutable/dist/immutable.js"],function(e,t,n,r,o){"use strict";var i=t("React"),a=t("NavigatorNavigationBarStyles"),s=(t("StaticContainer.react"),t("StyleSheet")),u=t("View"),c=t("immutable/dist/immutable.js"),l=c.Map,p=["Title","LeftButton","RightButton"],f=function(e){return void 0!==e.presentedIndex?e.presentedIndex:e.observedTopOfStack},d=i.createClass({propTypes:{navigator:i.PropTypes.object,routeMapper:i.PropTypes.shape({Title:i.PropTypes.func.isRequired,LeftButton:i.PropTypes.func.isRequired,RightButton:i.PropTypes.func.isRequired}),navState:i.PropTypes.shape({routeStack:i.PropTypes.arrayOf(i.PropTypes.object),presentedIndex:i.PropTypes.number}),style:u.propTypes.style},statics:{Styles:a},componentWillMount:function(){var e=this;this._components={},this._descriptors={},p.forEach(function(t){e._components[t]=new l,e._descriptors[t]=new l})},_getReusableProps:function(e,t){this._reusableProps||(this._reusableProps={});var n=this._reusableProps[e];n||(n=this._reusableProps[e]=[]);var r=n[t];return r||(r=n[t]={style:{}}),r},_updateIndexProgress:function(e,t,n,r){var o,i=r>n?e:1-e,s=t-n,u=t-r;o=s>0&&0===u||u>0&&0===s?a.Interpolators.RightToCenter:0>s&&0===u||0>u&&0===s?a.Interpolators.CenterToLeft:s===u?a.Interpolators.RightToCenter:a.Interpolators.RightToLeft,p.forEach(function(e){var n=this._components[e].get(this.props.navState.routeStack[t]),r=this._getReusableProps(e,t);n&&o[e](r.style,i)&&n.setNativeProps(r)},this)},updateProgress:function(e,t,n){for(var r=Math.max(t,n),o=Math.min(t,n),i=o;r>=i;i++)this._updateIndexProgress(e,i,t,n)},render:function(){var e=this.props.navState,t=p.map(function(t){return e.routeStack.map(this._getComponent.bind(this,t))},this);return i.createElement(u,{style:[h.navBarContainer,this.props.style]},t)},_getComponent:function(e,t,n){var r=this;if(this._descriptors[e].includes(t))return this._descriptors[e].get(t);var o=null,s=this.props.routeMapper[e](this.props.navState.routeStack[n],this.props.navigator,n,this.props.navState);if(!s)return null;var c=n===f(this.props.navState)?a.Stages.Center:a.Stages.Left;return o=i.createElement(u,{ref:function(n){r._components[e]=r._components[e].set(t,n)},style:c[e]},s),this._descriptors[e]=this._descriptors[e].set(t,o),o}}),h=s.create({navBarContainer:{position:"absolute",height:a.General.TotalNavHeight,top:0,left:0,right:0,backgroundColor:"transparent"}});o.exports=d}),__d("NavigatorSceneConfigs",["Dimensions","PixelRatio","buildStyleInterpolator"],function(e,t,n,r,o){"use strict";var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=t("Dimensions"),s=t("PixelRatio"),u=t("buildStyleInterpolator"),c=a.get("window").width,l=a.get("window").height,p={transformTranslate:{from:{x:0,y:0,z:0},to:{x:-Math.round(.3*a.get("window").width),y:0,z:0},min:0,max:1,type:"linear",extrapolate:!0,round:s.get()},transformScale:{from:{x:1,y:1,z:1},to:{x:.95,y:.95,z:1},min:0,max:1,type:"linear",extrapolate:!0},opacity:{from:1,to:.3,min:0,max:1,type:"linear",extrapolate:!1,round:100},translateX:{from:0,to:-Math.round(.3*a.get("window").width),min:0,max:1,type:"linear",extrapolate:!0,round:s.get()},scaleX:{from:1,to:.95,min:0,max:1,type:"linear",extrapolate:!0},scaleY:{from:1,to:.95,min:0,max:1,type:"linear",extrapolate:!0}},f=i({},p,{transformTranslate:{from:{x:0,y:0,z:0},to:{x:Math.round(.3*c),y:0,z:0}},translateX:{from:0,to:Math.round(.3*c)}}),d={opacity:{from:0,to:1,min:.5,max:1,type:"linear",extrapolate:!1,round:100}},h={opacity:{from:1,to:0,min:0,max:.5,type:"linear",extrapolate:!1,round:100}},m={transformTranslate:{from:{x:0,y:0,z:0},to:{x:-a.get("window").width,y:0,z:0},min:0,max:1,type:"linear",extrapolate:!0,round:s.get()},opacity:{value:1,type:"constant"},translateX:{from:0,to:-a.get("window").width,min:0,max:1,type:"linear",extrapolate:!0,round:s.get()}},v={transformTranslate:{from:{x:0,y:0,z:0},to:{x:0,y:-a.get("window").height,z:0},min:0,max:1,type:"linear",extrapolate:!0,round:s.get()},opacity:{value:1,type:"constant"},translateY:{from:0,to:-a.get("window").height,min:0,max:1,type:"linear",extrapolate:!0,round:s.get()}},g={transformTranslate:{from:{x:0,y:0,z:0},to:{x:0,y:a.get("window").height,z:0},min:0,max:1,type:"linear",extrapolate:!0,round:s.get()},opacity:{value:1,type:"constant"},translateY:{from:0,to:a.get("window").height,min:0,max:1,type:"linear",extrapolate:!0,round:s.get()}},y={opacity:{value:1,type:"constant"},transformTranslate:{from:{x:a.get("window").width,y:0,z:0},to:{x:0,y:0,z:0},min:0,max:1,type:"linear",extrapolate:!0,round:s.get()},translateX:{from:a.get("window").width,to:0,min:0,max:1,type:"linear",extrapolate:!0,round:s.get()},scaleX:{value:1,type:"constant"},scaleY:{value:1,type:"constant"}},_=i({},y,{transformTranslate:{from:{x:-c,y:0,z:0},to:{x:0,y:0,z:0},min:0,max:1,type:"linear",extrapolate:!0,round:s.get()},translateX:{from:-c,to:0,min:0,max:1,type:"linear",extrapolate:!0,round:s.get()}}),b=i({},y,{transformTranslate:{from:{y:l,x:0,z:0},to:{x:0,y:0,z:0},min:0,max:1,type:"linear",extrapolate:!0,round:s.get()},translateY:{from:l,to:0,min:0,max:1,type:"linear",extrapolate:!0,round:s.get()}}),S=i({},y,{transformTranslate:{from:{y:-l,x:0,z:0},to:{x:0,y:0,z:0},min:0,max:1,type:"linear",extrapolate:!0,round:s.get()},translateY:{from:-l,to:0,min:0,max:1,type:"linear",extrapolate:!0,round:s.get()}}),R={transformTranslate:{from:{x:0,y:0,z:0},to:{x:0,y:0,z:0},min:0,max:1,type:"linear",extrapolate:!0,round:s.get()},transformScale:{from:{x:1,y:1,z:1},to:{x:.95,y:.95,z:1},min:0,max:1,type:"linear",extrapolate:!0},opacity:{from:1,to:.3,min:0,max:1,type:"linear",extrapolate:!1,round:100},scaleX:{from:1,to:.95,min:0,max:1,type:"linear",extrapolate:!0},scaleY:{from:1,to:.95,min:0,max:1,type:"linear",extrapolate:!0}},E={opacity:{value:1,type:"constant"},transformTranslate:{from:{x:0,y:a.get("window").height,z:0},to:{x:0,y:0,z:0},min:0,max:1,type:"linear",extrapolate:!0,round:s.get()},translateY:{from:a.get("window").height,to:0,min:0,max:1,type:"linear",extrapolate:!0,round:s.get()},scaleX:{value:1,type:"constant"},scaleY:{value:1,type:"constant"}},x={opacity:{value:1,type:"constant"}},T={opacity:{from:0,to:1,min:.5,max:1,type:"linear",extrapolate:!1,round:100},transformTranslate:{from:{x:0,y:100,z:0},to:{x:0,y:0,z:0},min:0,max:1,type:"linear",extrapolate:!0,round:s.get()},translateY:{from:100,to:0,min:0,max:1,type:"linear",extrapolate:!0,round:s.get()}},w={frictionConstant:1,frictionByDistance:1.5},C={isDetachable:!1,gestureDetectMovement:2,notMoving:.3,directionRatio:.66,snapVelocity:2,edgeHitWidth:30,stillCompletionRatio:.6,fullDistance:c,direction:"left-to-right"},I=i({},C,{direction:"right-to-left"}),O=i({},C,{fullDistance:l,direction:"down-to-up"}),P=i({},C,{fullDistance:l,direction:"up-to-down"}),D={gestures:{pop:C},springFriction:26,springTension:200,defaultTransitionVelocity:1.5,animationInterpolators:{into:u(y),out:u(p)}},N={PushFromRight:i({},D),FloatFromRight:i({},D),FloatFromLeft:i({},D,{animationInterpolators:{into:u(_),out:u(f)}}),FloatFromBottom:i({},D,{gestures:{pop:i({},C,{edgeHitWidth:150,direction:"top-to-bottom",fullDistance:l})},animationInterpolators:{into:u(E),out:u(R)}}),FloatFromBottomAndroid:i({},D,{gestures:null,defaultTransitionVelocity:3,springFriction:20,animationInterpolators:{into:u(T),out:u(x)}}),FadeAndroid:i({},D,{gestures:null,animationInterpolators:{into:u(d),out:u(h)}}),HorizontalSwipeJump:i({},D,{gestures:{jumpBack:i({},C,{overswipe:w,edgeHitWidth:null,isDetachable:!0}),jumpForward:i({},I,{overswipe:w,edgeHitWidth:null,isDetachable:!0})},animationInterpolators:{into:u(y),out:u(m)}}),VerticalUpSwipeJump:i({},D,{gestures:{jumpBack:i({},O,{overswipe:w,edgeHitWidth:null,isDetachable:!0}),jumpForward:i({},O,{overswipe:w,edgeHitWidth:null,isDetachable:!0})},animationInterpolators:{into:u(b),out:u(v)}}),VerticalDownSwipeJump:i({},D,{gestures:{jumpBack:i({},P,{overswipe:w,edgeHitWidth:null,isDetachable:!0}),jumpForward:i({},P,{overswipe:w,edgeHitWidth:null,isDetachable:!0})},animationInterpolators:{into:u(S),out:u(g)}})};o.exports=N}),__d("PanResponder",["TouchHistoryMath"],function(e,t,n,r,o){"use strict";var i=t("TouchHistoryMath"),a=i.currentCentroidXOfTouchesChangedAfter,s=i.currentCentroidYOfTouchesChangedAfter,u=i.previousCentroidXOfTouchesChangedAfter,c=i.previousCentroidYOfTouchesChangedAfter,l=i.currentCentroidX,p=i.currentCentroidY,f={_initializeGestureState:function(e){e.moveX=0,e.moveY=0,e.x0=0,e.y0=0,e.dx=0,e.dy=0,e.vx=0,e.vy=0,e.numberActiveTouches=0,e._accountsForMovesUpTo=0},_updateGestureStateOnMove:function(e,t){e.numberActiveTouches=t.numberActiveTouches,e.moveX=a(t,e._accountsForMovesUpTo),e.moveY=s(t,e._accountsForMovesUpTo);var n=e._accountsForMovesUpTo,r=u(t,n),o=a(t,n),i=c(t,n),l=s(t,n),p=e.dx+(o-r),f=e.dy+(l-i),d=t.mostRecentTimeStamp-e._accountsForMovesUpTo;e.vx=(p-e.dx)/d,e.vy=(f-e.dy)/d,e.dx=p,e.dy=f,e._accountsForMovesUpTo=t.mostRecentTimeStamp},create:function(e){var t={stateID:Math.random()};f._initializeGestureState(t);var n={onStartShouldSetResponder:function(n){return void 0===e.onStartShouldSetPanResponder?!1:e.onStartShouldSetPanResponder(n,t)},onMoveShouldSetResponder:function(n){return void 0===e.onMoveShouldSetPanResponder?!1:e.onMoveShouldSetPanResponder(n,t)},onStartShouldSetResponderCapture:function(n){return 1===n.nativeEvent.touches.length&&f._initializeGestureState(t),t.numberActiveTouches=n.touchHistory.numberActiveTouches,void 0!==e.onStartShouldSetPanResponderCapture?e.onStartShouldSetPanResponderCapture(n,t):!1},onMoveShouldSetResponderCapture:function(n){var r=n.touchHistory;return t._accountsForMovesUpTo===r.mostRecentTimeStamp?!1:(f._updateGestureStateOnMove(t,r),e.onMoveShouldSetPanResponderCapture?e.onMoveShouldSetPanResponderCapture(n,t):!1)},onResponderGrant:function(n){return t.x0=l(n.touchHistory),t.y0=p(n.touchHistory),t.dx=0,t.dy=0,e.onPanResponderGrant&&e.onPanResponderGrant(n,t),void 0===e.onShouldBlockNativeResponder?!0:e.onShouldBlockNativeResponder()},onResponderReject:function(n){e.onPanResponderReject&&e.onPanResponderReject(n,t)},onResponderRelease:function(n){e.onPanResponderRelease&&e.onPanResponderRelease(n,t),f._initializeGestureState(t)},onResponderStart:function(n){var r=n.touchHistory;t.numberActiveTouches=r.numberActiveTouches,e.onPanResponderStart&&e.onPanResponderStart(n,t)},onResponderMove:function(n){var r=n.touchHistory;t._accountsForMovesUpTo!==r.mostRecentTimeStamp&&(f._updateGestureStateOnMove(t,r),e.onPanResponderMove&&e.onPanResponderMove(n,t))},onResponderEnd:function(n){var r=n.touchHistory;t.numberActiveTouches=r.numberActiveTouches,e.onPanResponderEnd&&e.onPanResponderEnd(n,t)},onResponderTerminate:function(n){e.onPanResponderTerminate&&e.onPanResponderTerminate(n,t),f._initializeGestureState(t)},onResponderTerminationRequest:function(n){return void 0===e.onPanResponderTerminationRequest?!0:e.onPanResponderTerminationRequest(n,t)}};return{panHandlers:n}}};o.exports=f}),__d("TouchHistoryMath",[],function(e,t,n,r,o){"use strict";var i={centroidDimension:function(e,t,n,r){var o=e.touchBank,a=0,s=0,u=1===e.numberActiveTouches?e.touchBank[e.indexOfSingleActiveTouch]:null;if(null!==u)u.touchActive&&u.currentTimeStamp>t&&(a+=r&&n?u.currentPageX:r&&!n?u.currentPageY:!r&&n?u.previousPageX:u.previousPageY,s=1);else for(var c=0;c<o.length;c++){var l=o[c];if(null!==l&&void 0!==l&&l.touchActive&&l.currentTimeStamp>=t){var p;p=r&&n?l.currentPageX:r&&!n?l.currentPageY:!r&&n?l.previousPageX:l.previousPageY,a+=p,s++}}return s>0?a/s:i.noCentroid},currentCentroidXOfTouchesChangedAfter:function(e,t){return i.centroidDimension(e,t,!0,!0)},currentCentroidYOfTouchesChangedAfter:function(e,t){return i.centroidDimension(e,t,!1,!0)},previousCentroidXOfTouchesChangedAfter:function(e,t){return i.centroidDimension(e,t,!0,!1)},previousCentroidYOfTouchesChangedAfter:function(e,t){return i.centroidDimension(e,t,!1,!1)},currentCentroidX:function(e){return i.centroidDimension(e,0,!0,!0)},currentCentroidY:function(e){return i.centroidDimension(e,0,!1,!0)},noCentroid:-1};o.exports=i}),__d("clamp",[],function(e,t,n,r,o){function i(e,t,n){return e>t?e:t>n?n:t}o.exports=i}),__d("rebound/rebound.js",[],function(e,t,n,r,o,i){!function(){function e(e,t){var n=e.indexOf(t);-1!=n&&e.splice(n,1)}var t={},n=t.util={},r=Array.prototype.concat,o=Array.prototype.slice;n.bind=function(e,t){var n=o.call(arguments,2);return function(){e.apply(t,r.call(n,o.call(arguments)))}},n.extend=function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};var a=t.SpringSystem=function(e){this._springRegistry={},this._activeSprings=[],this.listeners=[],this._idleSpringIndices=[],this.looper=e||new l,this.looper.springSystem=this};n.extend(a.prototype,{_springRegistry:null,_isIdle:!0,_lastTimeMillis:-1,_activeSprings:null,listeners:null,_idleSpringIndices:null,setLooper:function(e){this.looper=e,e.springSystem=this},createSpring:function(e,t){var n;return n=void 0===e||void 0===t?c.DEFAULT_ORIGAMI_SPRING_CONFIG:c.fromOrigamiTensionAndFriction(e,t),this.createSpringWithConfig(n)},createSpringWithBouncinessAndSpeed:function(e,t){var n;return n=void 0===e||void 0===t?c.DEFAULT_ORIGAMI_SPRING_CONFIG:c.fromBouncinessAndSpeed(e,t),this.createSpringWithConfig(n)},createSpringWithConfig:function(e){var t=new s(this);return this.registerSpring(t),t.setSpringConfig(e),t},getIsIdle:function(){return this._isIdle},getSpringById:function(e){return this._springRegistry[e]},getAllSprings:function(){var e=[];for(var t in this._springRegistry)this._springRegistry.hasOwnProperty(t)&&e.push(this._springRegistry[t]);return e},registerSpring:function(e){this._springRegistry[e.getId()]=e},deregisterSpring:function(t){e(this._activeSprings,t),delete this._springRegistry[t.getId()]},advance:function(e,t){for(;this._idleSpringIndices.length>0;)this._idleSpringIndices.pop();for(var n=0,r=this._activeSprings.length;r>n;n++){var o=this._activeSprings[n];o.systemShouldAdvance()?o.advance(e/1e3,t/1e3):this._idleSpringIndices.push(this._activeSprings.indexOf(o))}for(;this._idleSpringIndices.length>0;){var i=this._idleSpringIndices.pop();i>=0&&this._activeSprings.splice(i,1)}},loop:function(e){var t;-1===this._lastTimeMillis&&(this._lastTimeMillis=e-1);var n=e-this._lastTimeMillis;this._lastTimeMillis=e;var r=0,o=this.listeners.length;for(r=0;o>r;r++)t=this.listeners[r],t.onBeforeIntegrate&&t.onBeforeIntegrate(this);for(this.advance(e,n),0===this._activeSprings.length&&(this._isIdle=!0,this._lastTimeMillis=-1),r=0;o>r;r++)t=this.listeners[r],t.onAfterIntegrate&&t.onAfterIntegrate(this);this._isIdle||this.looper.run()},activateSpring:function(e){var t=this._springRegistry[e];-1==this._activeSprings.indexOf(t)&&this._activeSprings.push(t),this.getIsIdle()&&(this._isIdle=!1,this.looper.run())},addListener:function(e){this.listeners.push(e)},removeListener:function(t){e(this.listeners,t)},removeAllListeners:function(){this.listeners=[]}});var s=t.Spring=function v(e){this._id="s"+v._ID++,this._springSystem=e,this.listeners=[],this._currentState=new u,this._previousState=new u,this._tempState=new u};n.extend(s,{_ID:0,MAX_DELTA_TIME_SEC:.064,SOLVER_TIMESTEP_SEC:.001}),n.extend(s.prototype,{_id:0,_springConfig:null,_overshootClampingEnabled:!1,_currentState:null,_previousState:null,_tempState:null,_startValue:0,_endValue:0,_wasAtRest:!0,_restSpeedThreshold:.001,_displacementFromRestThreshold:.001,listeners:null,_timeAccumulator:0,_springSystem:null,destroy:function(){this.listeners=[],this.frames=[],this._springSystem.deregisterSpring(this)},getId:function(){return this._id},setSpringConfig:function(e){return this._springConfig=e,this},getSpringConfig:function(){return this._springConfig},setCurrentValue:function(e,t){return this._startValue=e,this._currentState.position=e,t||this.setAtRest(),this.notifyPositionUpdated(!1,!1),this},getStartValue:function(){return this._startValue},getCurrentValue:function(){return this._currentState.position},getCurrentDisplacementDistance:function(){return this.getDisplacementDistanceForState(this._currentState)},getDisplacementDistanceForState:function(e){return Math.abs(this._endValue-e.position)},setEndValue:function(e){if(this._endValue==e&&this.isAtRest())return this;this._startValue=this.getCurrentValue(),this._endValue=e,this._springSystem.activateSpring(this.getId());for(var t=0,n=this.listeners.length;n>t;t++){var r=this.listeners[t],o=r.onSpringEndStateChange;o&&o(this)}return this},getEndValue:function(){return this._endValue},setVelocity:function(e){return e===this._currentState.velocity?this:(this._currentState.velocity=e,this._springSystem.activateSpring(this.getId()),this)},getVelocity:function(){return this._currentState.velocity},setRestSpeedThreshold:function(e){return this._restSpeedThreshold=e,this},getRestSpeedThreshold:function(){return this._restSpeedThreshold},setRestDisplacementThreshold:function(e){this._displacementFromRestThreshold=e},getRestDisplacementThreshold:function(){return this._displacementFromRestThreshold},setOvershootClampingEnabled:function(e){return this._overshootClampingEnabled=e,this},isOvershootClampingEnabled:function(){return this._overshootClampingEnabled},isOvershooting:function(){var e=this._startValue,t=this._endValue;return this._springConfig.tension>0&&(t>e&&this.getCurrentValue()>t||e>t&&this.getCurrentValue()<t)},advance:function(e,t){var n=this.isAtRest();if(!n||!this._wasAtRest){var r=t;t>s.MAX_DELTA_TIME_SEC&&(r=s.MAX_DELTA_TIME_SEC),this._timeAccumulator+=r;for(var o,i,a,u,c,l,p,f,d,h,m=this._springConfig.tension,v=this._springConfig.friction,g=this._currentState.position,y=this._currentState.velocity,_=this._tempState.position,b=this._tempState.velocity;this._timeAccumulator>=s.SOLVER_TIMESTEP_SEC;)this._timeAccumulator-=s.SOLVER_TIMESTEP_SEC,this._timeAccumulator<s.SOLVER_TIMESTEP_SEC&&(this._previousState.position=g,this._previousState.velocity=y),o=y,i=m*(this._endValue-_)-v*y,_=g+o*s.SOLVER_TIMESTEP_SEC*.5,b=y+i*s.SOLVER_TIMESTEP_SEC*.5,a=b,u=m*(this._endValue-_)-v*b,_=g+a*s.SOLVER_TIMESTEP_SEC*.5,b=y+u*s.SOLVER_TIMESTEP_SEC*.5,c=b,l=m*(this._endValue-_)-v*b,_=g+c*s.SOLVER_TIMESTEP_SEC*.5,b=y+l*s.SOLVER_TIMESTEP_SEC*.5,p=b,f=m*(this._endValue-_)-v*b,d=1/6*(o+2*(a+c)+p),h=1/6*(i+2*(u+l)+f),g+=d*s.SOLVER_TIMESTEP_SEC,y+=h*s.SOLVER_TIMESTEP_SEC;this._tempState.position=_,this._tempState.velocity=b,this._currentState.position=g,this._currentState.velocity=y,this._timeAccumulator>0&&this.interpolate(this._timeAccumulator/s.SOLVER_TIMESTEP_SEC),(this.isAtRest()||this._overshootClampingEnabled&&this.isOvershooting())&&(this._springConfig.tension>0?(this._startValue=this._endValue,this._currentState.position=this._endValue):(this._endValue=this._currentState.position,this._startValue=this._endValue),this.setVelocity(0),n=!0);var S=!1;this._wasAtRest&&(this._wasAtRest=!1,S=!0);var R=!1;n&&(this._wasAtRest=!0,R=!0),this.notifyPositionUpdated(S,R)}},notifyPositionUpdated:function(e,t){for(var n=0,r=this.listeners.length;r>n;n++){var o=this.listeners[n];e&&o.onSpringActivate&&o.onSpringActivate(this),o.onSpringUpdate&&o.onSpringUpdate(this),t&&o.onSpringAtRest&&o.onSpringAtRest(this)}},systemShouldAdvance:function(){return!this.isAtRest()||!this.wasAtRest()},wasAtRest:function(){return this._wasAtRest},isAtRest:function(){return Math.abs(this._currentState.velocity)<this._restSpeedThreshold&&(this.getDisplacementDistanceForState(this._currentState)<=this._displacementFromRestThreshold||0===this._springConfig.tension)},setAtRest:function(){return this._endValue=this._currentState.position,this._tempState.position=this._currentState.position,this._currentState.velocity=0,this},interpolate:function(e){this._currentState.position=this._currentState.position*e+this._previousState.position*(1-e),this._currentState.velocity=this._currentState.velocity*e+this._previousState.velocity*(1-e)},getListeners:function(){return this.listeners},addListener:function(e){return this.listeners.push(e),this},removeListener:function(t){return e(this.listeners,t),this},removeAllListeners:function(){return this.listeners=[],this},currentValueIsApproximately:function(e){return Math.abs(this.getCurrentValue()-e)<=this.getRestDisplacementThreshold()}});var u=function(){};n.extend(u.prototype,{position:0,velocity:0});var c=t.SpringConfig=function(e,t){this.tension=e,this.friction=t},l=t.AnimationLooper=function(){this.springSystem=null;var e=this,t=function(){e.springSystem.loop(Date.now())};this.run=function(){n.onFrame(t)}};t.SimulationLooper=function(e){this.springSystem=null;var t=0,n=!1;e=e||16.667,this.run=function(){if(!n){for(n=!0;!this.springSystem.getIsIdle();)this.springSystem.loop(t+=e);n=!1}}},t.SteppingSimulationLooper=function(){this.springSystem=null;var e=0;this.run=function(){},this.step=function(t){this.springSystem.loop(e+=t)}};var p=t.OrigamiValueConverter={tensionFromOrigamiValue:function(e){return 3.62*(e-30)+194},origamiValueFromTension:function(e){return(e-194)/3.62+30},frictionFromOrigamiValue:function(e){return 3*(e-8)+25},origamiFromFriction:function(e){return(e-25)/3+8}},f=t.BouncyConversion=function(e,t){this.bounciness=e,this.speed=t;var n=this.normalize(e/1.7,0,20);n=this.projectNormal(n,0,.8);var r=this.normalize(t/1.7,0,20);this.bouncyTension=this.projectNormal(r,.5,200),this.bouncyFriction=this.quadraticOutInterpolation(n,this.b3Nobounce(this.bouncyTension),.01)};n.extend(f.prototype,{normalize:function(e,t,n){return(e-t)/(n-t)},projectNormal:function(e,t,n){return t+e*(n-t)},linearInterpolation:function(e,t,n){return e*n+(1-e)*t},quadraticOutInterpolation:function(e,t,n){return this.linearInterpolation(2*e-e*e,t,n)},b3Friction1:function(e){return 7e-4*Math.pow(e,3)-.031*Math.pow(e,2)+.64*e+1.28},b3Friction2:function(e){return 44e-6*Math.pow(e,3)-.006*Math.pow(e,2)+.36*e+2},b3Friction3:function(e){return 4.5e-7*Math.pow(e,3)-332e-6*Math.pow(e,2)+.1078*e+5.84},b3Nobounce:function(e){var t=0;return t=18>=e?this.b3Friction1(e):e>18&&44>=e?this.b3Friction2(e):this.b3Friction3(e)}}),n.extend(c,{fromOrigamiTensionAndFriction:function(e,t){return new c(p.tensionFromOrigamiValue(e),p.frictionFromOrigamiValue(t))},fromBouncinessAndSpeed:function(e,n){var r=new t.BouncyConversion(e,n);return this.fromOrigamiTensionAndFriction(r.bouncyTension,r.bouncyFriction)},coastingConfigWithOrigamiFriction:function(e){return new c(0,p.frictionFromOrigamiValue(e))}}),c.DEFAULT_ORIGAMI_SPRING_CONFIG=c.fromOrigamiTensionAndFriction(40,7),n.extend(c.prototype,{friction:0,tension:0});var d={};n.hexToRGB=function(e){if(d[e])return d[e];e=e.replace("#",""),3===e.length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]);var t=e.match(/.{2}/g),n={r:parseInt(t[0],16),g:parseInt(t[1],16),b:parseInt(t[2],16)};return d[e]=n,n},n.rgbToHex=function(e,t,n){return e=e.toString(16),t=t.toString(16),n=n.toString(16),e=e.length<2?"0"+e:e,t=t.length<2?"0"+t:t,n=n.length<2?"0"+n:n,"#"+e+t+n};var h=t.MathUtil={mapValueInRange:function(e,t,n,r,o){var i=n-t,a=o-r,s=(e-t)/i;return r+s*a},interpolateColor:function(e,t,r,o,i,a){o=void 0===o?0:o,i=void 0===i?1:i,t=n.hexToRGB(t),r=n.hexToRGB(r);var s=Math.floor(n.mapValueInRange(e,o,i,t.r,r.r)),u=Math.floor(n.mapValueInRange(e,o,i,t.g,r.g)),c=Math.floor(n.mapValueInRange(e,o,i,t.b,r.b));return a?"rgb("+s+","+u+","+c+")":n.rgbToHex(s,u,c)},degreesToRadians:function(e){return e*Math.PI/180},radiansToDegrees:function(e){return 180*e/Math.PI}};n.extend(n,h);var m;"undefined"!=typeof window&&(m=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame),m||"undefined"==typeof process||"node"!==process.title||(m=setImmediate),n.onFrame=function(e){return m(e)},"undefined"!=typeof i?n.extend(i,t):"undefined"!=typeof window&&(window.rebound=t)}()}),__d("NavigatorIOS",["EventEmitter","Image","NavigationContext","React","NativeModules","StyleSheet","StaticContainer.react","View","requireNativeComponent","invariant","logError"],function(e,t,n,r,o){"use strict";function i(){return b++}var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=t("EventEmitter"),u=t("Image"),c=t("NavigationContext"),l=t("React"),p=t("NativeModules").NavigatorManager,f=t("StyleSheet"),d=t("StaticContainer.react"),h=t("View"),m=t("requireNativeComponent"),v=t("invariant"),g=t("logError"),y="transitionerRef",_=l.PropTypes,b=0,S=l.createClass({requestSchedulingNavigation:function(e){p.requestSchedulingJavaScriptNavigation(l.findNodeHandle(this),g,e)},render:function(){return l.createElement(x,this.props)}}),R=l.createClass({propTypes:{initialRoute:_.shape({component:_.func.isRequired,title:_.string.isRequired,passProps:_.object,backButtonIcon:u.propTypes.source,backButtonTitle:_.string,leftButtonIcon:u.propTypes.source,leftButtonTitle:_.string,onLeftButtonPress:_.func,rightButtonIcon:u.propTypes.source,rightButtonTitle:_.string,onRightButtonPress:_.func,wrapperStyle:h.propTypes.style}).isRequired,navigationBarHidden:_.bool,shadowHidden:_.bool,itemWrapperStyle:h.propTypes.style,tintColor:_.string,barTintColor:_.string,titleTextColor:_.string,translucent:_.bool},navigator:void 0,navigationContext:new c,componentWillMount:function(){this.navigator={push:this.push,pop:this.pop,popN:this.popN,replace:this.replace,replacePrevious:this.replacePrevious,replacePreviousAndPop:this.replacePreviousAndPop,resetTo:this.resetTo,popToRoute:this.popToRoute,popToTop:this.popToTop,navigationContext:this.navigationContext},this._emitWillFocus(this.state.routeStack[this.state.observedTopOfStack])},componentDidMount:function(){this._emitDidFocus(this.state.routeStack[this.state.observedTopOfStack])},componentWillUnmount:function(){this.navigationContext.dispose(),this.navigationContext=new c},getInitialState:function(){return{idStack:[i()],routeStack:[this.props.initialRoute],requestedTopOfStack:0,observedTopOfStack:0,progress:1,fromIndex:0,toIndex:0,makingNavigatorRequest:!1,updatingAllIndicesAtOrBeyond:0}},_toFocusOnNavigationComplete:void 0,_handleFocusRequest:function(e){this.state.makingNavigatorRequest?this._toFocusOnNavigationComplete=e:this._getFocusEmitter().emit("focus",e)},_focusEmitter:void 0,_getFocusEmitter:function(){var e=this._focusEmitter;return e||(e=new s,this._focusEmitter=e),e},getChildContext:function(){return{onFocusRequested:this._handleFocusRequest,focusEmitter:this._getFocusEmitter()}},childContextTypes:{onFocusRequested:l.PropTypes.func,focusEmitter:l.PropTypes.instanceOf(s)},_tryLockNavigator:function(e){this.refs[y].requestSchedulingNavigation(function(t){return t&&e()})},_handleNavigatorStackChanged:function(e){var t=e.nativeEvent.stackLength-1;this._emitDidFocus(this.state.routeStack[t]),v(t<=this.state.requestedTopOfStack,"No navigator item should be pushed without JS knowing about it %s %s",t,this.state.requestedTopOfStack);var n=this.state.requestedTopOfStack!==this.state.observedTopOfStack;n&&v(t===this.state.requestedTopOfStack,"If waiting for observedTopOfStack to reach requestedTopOfStack, the only valid observedTopOfStack should be requestedTopOfStack.");var r={observedTopOfStack:t,makingNavigatorRequest:!1,updatingAllIndicesAtOrBeyond:null,progress:1,toIndex:t,fromIndex:t};this.setState(r,this._eliminateUnneededChildren)},_eliminateUnneededChildren:function(){var e=this.state.routeStack.length>this.state.observedTopOfStack+1?this.state.observedTopOfStack+1:null;this.setState({idStack:this.state.idStack.slice(0,this.state.observedTopOfStack+1),routeStack:this.state.routeStack.slice(0,this.state.observedTopOfStack+1),requestedTopOfStack:this.state.observedTopOfStack,makingNavigatorRequest:!0,updatingAllIndicesAtOrBeyond:e})},_emitDidFocus:function(e){this.navigationContext.emit("didfocus",{route:e})},_emitWillFocus:function(e){this.navigationContext.emit("willfocus",{route:e})},push:function(e){var t=this;v(!!e,"Must supply route to push"),this.state.requestedTopOfStack===this.state.observedTopOfStack&&this._tryLockNavigator(function(){t._emitWillFocus(e);var n=t.state.routeStack.concat([e]),r=t.state.idStack.concat([i()]);t.setState({idStack:r,routeStack:n,requestedTopOfStack:n.length-1,makingNavigatorRequest:!0,updatingAllIndicesAtOrBeyond:n.length-1})})},popN:function(e){var t=this;0!==e&&this.state.requestedTopOfStack===this.state.observedTopOfStack&&this.state.requestedTopOfStack>0&&this._tryLockNavigator(function(){var n=t.state.requestedTopOfStack-e;v(n>=0,"Cannot pop below 0"),t._emitWillFocus(t.state.routeStack[n]),t.setState({requestedTopOfStack:n,makingNavigatorRequest:!0,updatingAllIndicesAtOrBeyond:null})})},pop:function(){this.popN(1)},replaceAtIndex:function(e,t){if(v(!!e,"Must supply route to replace"),0>t&&(t+=this.state.routeStack.length),!(this.state.routeStack.length<=t)){var n=this.state.idStack.slice(),r=this.state.routeStack.slice();n[t]=i(),r[t]=e,this.setState({idStack:n,routeStack:r,makingNavigatorRequest:!1,updatingAllIndicesAtOrBeyond:t}),this._emitWillFocus(e),this._emitDidFocus(e)}},replace:function(e){this.replaceAtIndex(e,-1)},replacePrevious:function(e){this.replaceAtIndex(e,-2)},popToTop:function(){this.popToRoute(this.state.routeStack[0])},popToRoute:function(e){var t=this.state.routeStack.indexOf(e);v(-1!==t,"Calling pop to route for a route that doesn't exist!");var n=this.state.routeStack.length-t-1;this.popN(n)},replacePreviousAndPop:function(e){var t=this;this.state.requestedTopOfStack===this.state.observedTopOfStack&&(this.state.routeStack.length<2||this._tryLockNavigator(function(){t.replacePrevious(e),t.setState({requestedTopOfStack:t.state.requestedTopOfStack-1,makingNavigatorRequest:!0})}))},resetTo:function(e){v(!!e,"Must supply route to push"),this.state.requestedTopOfStack===this.state.observedTopOfStack&&(this.replaceAtIndex(e,0),this.popToRoute(e))},handleNavigationComplete:function(e){this._toFocusOnNavigationComplete&&(this._getFocusEmitter().emit("focus",this._toFocusOnNavigationComplete),this._toFocusOnNavigationComplete=null),this._handleNavigatorStackChanged(e)},_routeToStackItem:function(e,t){var n=e.component,r=null!==this.state.updatingAllIndicesAtOrBeyond&&this.state.updatingAllIndicesAtOrBeyond>=t;return l.createElement(d,{key:"nav"+t,shouldUpdate:r},l.createElement(T,{title:e.title,style:[E.stackItem,this.props.itemWrapperStyle,e.wrapperStyle],backButtonIcon:this._imageNameFromSource(e.backButtonIcon),backButtonTitle:e.backButtonTitle,leftButtonIcon:this._imageNameFromSource(e.leftButtonIcon),leftButtonTitle:e.leftButtonTitle,onNavLeftButtonTap:e.onLeftButtonPress,rightButtonIcon:this._imageNameFromSource(e.rightButtonIcon),rightButtonTitle:e.rightButtonTitle,onNavRightButtonTap:e.onRightButtonPress,navigationBarHidden:this.props.navigationBarHidden,shadowHidden:this.props.shadowHidden,tintColor:this.props.tintColor,barTintColor:this.props.barTintColor,translucent:this.props.translucent!==!1,titleTextColor:this.props.titleTextColor},l.createElement(n,a({navigator:this.navigator,route:e},e.passProps))))},_imageNameFromSource:function(e){return e?e.uri:void 0},renderNavigationStackItems:function(){var e=this.state.makingNavigatorRequest||null!==this.state.updatingAllIndicesAtOrBeyond,t=e?this.state.routeStack.map(this._routeToStackItem):null;return l.createElement(d,{shouldUpdate:e},l.createElement(S,{ref:y,style:E.transitioner,vertical:this.props.vertical,requestedTopOfStack:this.state.requestedTopOfStack,onNavigationComplete:this.handleNavigationComplete},t))},render:function(){return l.createElement(h,{style:this.props.style},this.renderNavigationStackItems())}}),E=f.create({stackItem:{backgroundColor:"white",overflow:"hidden",position:"absolute",top:0,left:0,right:0,bottom:0},transitioner:{flex:1}}),x=m("RCTNavigator"),T=m("RCTNavItem");o.exports=R}),__d("PickerIOS",["NativeMethodsMixin","React","ReactChildren","ReactNativeViewAttributes","NativeModules","StyleSheet","View","requireNativeComponent","merge"],function(e,t,n,r,o){"use strict";var i=t("NativeMethodsMixin"),a=t("React"),s=t("ReactChildren"),u=(t("ReactNativeViewAttributes"),t("NativeModules").UIManager.RCTPicker.Constants),c=t("StyleSheet"),l=t("View"),p=t("requireNativeComponent"),f=(t("merge"),"picker"),d=a.createClass({mixins:[i],propTypes:{onValueChange:a.PropTypes.func,selectedValue:a.PropTypes.any},getInitialState:function(){return this._stateFromProps(this.props)},componentWillReceiveProps:function(e){this.setState(this._stateFromProps(e))},_stateFromProps:function(e){var t=0,n=[];return s.forEach(e.children,function(r,o){r.props.value===e.selectedValue&&(t=o),n.push({value:r.props.value,label:r.props.label})}),{selectedIndex:t,items:n}},render:function(){return a.createElement(l,{style:this.props.style},a.createElement(m,{ref:f,style:h.pickerIOS,items:this.state.items,selectedIndex:this.state.selectedIndex,onChange:this._onChange}))},_onChange:function(e){this.props.onChange&&this.props.onChange(e),this.props.onValueChange&&this.props.onValueChange(e.nativeEvent.newValue),this.state.selectedIndex!==e.nativeEvent.newIndex&&this.refs[f].setNativeProps({selectedIndex:this.state.selectedIndex})}});d.Item=a.createClass({propTypes:{value:a.PropTypes.any,label:a.PropTypes.string},render:function(){return null}});var h=c.create({pickerIOS:{height:u.ComponentHeight}}),m=p("RCTPicker",null);o.exports=d}),__d("ProgressViewIOS",["Image","NativeMethodsMixin","NativeModules","ReactPropTypes","React","StyleSheet","requireNativeComponent"],function(e,t,n,r,o){"use strict";var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=t("Image"),s=t("NativeMethodsMixin"),u=t("NativeModules"),c=t("ReactPropTypes"),l=t("React"),p=t("StyleSheet"),f=t("requireNativeComponent"),d=l.createClass({mixins:[s],propTypes:{progressViewStyle:c.oneOf(["default","bar"]),progress:c.number,progressTintColor:c.string,trackTintColor:c.string,progressImage:a.propTypes.source,trackImage:a.propTypes.source},render:function(){return l.createElement(m,i({},this.props,{style:[h.progressView,this.props.style]}))}}),h=p.create({progressView:{height:u.ProgressViewManager.ComponentHeight}}),m=f("RCTProgressView",d);o.exports=d}),__d("SegmentedControlIOS",["NativeMethodsMixin","NativeModules","ReactPropTypes","React","StyleSheet","requireNativeComponent"],function(e,t,n,r,o){"use strict";var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=t("NativeMethodsMixin"),s=t("NativeModules"),u=t("ReactPropTypes"),c=t("React"),l=t("StyleSheet"),p=t("requireNativeComponent"),f="segmentedcontrol",d=c.createClass({mixins:[a],propTypes:{values:u.arrayOf(u.string),selectedIndex:u.number,onValueChange:u.func,onChange:u.func,enabled:u.bool,tintColor:u.string,momentary:u.bool},getDefaultProps:function(){return{values:[],enabled:!0}},_onChange:function(e){this.props.onChange&&this.props.onChange(e),this.props.onValueChange&&this.props.onValueChange(e.nativeEvent.value)},render:function(){return c.createElement(m,i({},this.props,{ref:f,style:[h.segmentedControl,this.props.style],onChange:this._onChange}))}}),h=l.create({segmentedControl:{height:s.SegmentedControlManager.ComponentHeight}}),m=p("RCTSegmentedControl",d);o.exports=d}),__d("SliderIOS",["NativeMethodsMixin","ReactPropTypes","React","StyleSheet","View","requireNativeComponent"],function(e,t,n,r,o){"use strict";var i=t("NativeMethodsMixin"),a=t("ReactPropTypes"),s=t("React"),u=t("StyleSheet"),c=t("View"),l=t("requireNativeComponent"),p=s.createClass({mixins:[i],propTypes:{style:c.propTypes.style,value:a.number,minimumValue:a.number,maximumValue:a.number,minimumTrackTintColor:a.string,maximumTrackTintColor:a.string,onValueChange:a.func,onSlidingComplete:a.func},_onValueChange:function(e){this.props.onChange&&this.props.onChange(e),e.nativeEvent.continuous?this.props.onValueChange&&this.props.onValueChange(e.nativeEvent.value):this.props.onSlidingComplete&&void 0!==e.nativeEvent.value&&this.props.onSlidingComplete(e.nativeEvent.value)},render:function(){return s.createElement(d,{style:[f.slider,this.props.style],value:this.props.value,maximumValue:this.props.maximumValue,minimumValue:this.props.minimumValue,minimumTrackTintColor:this.props.minimumTrackTintColor,maximumTrackTintColor:this.props.maximumTrackTintColor,onChange:this._onValueChange})}}),f=u.create({slider:{height:40}}),d=l("RCTSlider",p);o.exports=p}),__d("SwitchIOS",["NativeMethodsMixin","ReactPropTypes","React","StyleSheet","requireNativeComponent"],function(e,t,n,r,o){"use strict";var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=t("NativeMethodsMixin"),s=t("ReactPropTypes"),u=t("React"),c=t("StyleSheet"),l=t("requireNativeComponent"),p="switch",f=u.createClass({mixins:[a],propTypes:{value:s.bool,disabled:s.bool,onValueChange:s.func,onTintColor:s.string,thumbTintColor:s.string,tintColor:s.string},getDefaultProps:function(){return{value:!1,disabled:!1}},_onChange:function(e){this.props.onChange&&this.props.onChange(e),this.props.onValueChange&&this.props.onValueChange(e.nativeEvent.value),this.refs[p].setNativeProps({value:this.props.value})},render:function(){return u.createElement(h,i({},this.props,{ref:p,onChange:this._onChange,style:[d.rkSwitch,this.props.style]}))}}),d=c.create({rkSwitch:{height:31,width:51}}),h=l("RCTSwitch",f);o.exports=f}),__d("TabBarIOS",["React","StyleSheet","TabBarItemIOS","View","requireNativeComponent"],function(e,t,n,r,o){"use strict";var i=t("React"),a=t("StyleSheet"),s=t("TabBarItemIOS"),u=t("View"),c=t("requireNativeComponent"),l=i.createClass({statics:{Item:s},propTypes:{style:u.propTypes.style,tintColor:i.PropTypes.string,barTintColor:i.PropTypes.string,translucent:i.PropTypes.bool},render:function(){return i.createElement(f,{style:[p.tabGroup,this.props.style],tintColor:this.props.tintColor,barTintColor:this.props.barTintColor,translucent:this.props.translucent!==!1},this.props.children)}}),p=a.create({tabGroup:{flex:1}}),f=c("RCTTabBar",l);o.exports=l}),__d("TabBarItemIOS",["Image","React","StaticContainer.react","StyleSheet","View","requireNativeComponent"],function(e,t,n,r,o){"use strict";var i=t("Image"),a=t("React"),s=t("StaticContainer.react"),u=t("StyleSheet"),c=t("View"),l=t("requireNativeComponent"),p=a.createClass({propTypes:{badge:a.PropTypes.oneOfType([a.PropTypes.string,a.PropTypes.number]),systemIcon:a.PropTypes.oneOf(["bookmarks","contacts","downloads","favorites","featured","history","more","most-recent","most-viewed","recents","search","top-rated"]),icon:i.propTypes.source,selectedIcon:i.propTypes.source,onPress:a.PropTypes.func,selected:a.PropTypes.bool,style:c.propTypes.style,title:a.PropTypes.string},getInitialState:function(){return{hasBeenSelected:!1}},componentWillMount:function(){this.props.selected&&this.setState({hasBeenSelected:!0})},componentWillReceiveProps:function(e){(this.state.hasBeenSelected||e.selected)&&this.setState({hasBeenSelected:!0})},render:function(){var e=null;e=this.state.hasBeenSelected?a.createElement(s,{shouldUpdate:this.props.selected},this.props.children):a.createElement(c,null);var t=this.props.systemIcon||this.props.icon&&this.props.icon.uri,n="number"==typeof this.props.badge?""+this.props.badge:this.props.badge;return a.createElement(d,{icon:t,selectedIcon:this.props.selectedIcon&&this.props.selectedIcon.uri,onPress:this.props.onPress,selected:this.props.selected,badge:n,title:this.props.title,style:[f.tab,this.props.style]},e)}}),f=u.create({tab:{position:"absolute",top:0,right:0,bottom:0,left:0}}),d=l("RCTTabBarItem",p);o.exports=p}),__d("Text",["NativeMethodsMixin","Platform","React","ReactInstanceMap","ReactNativeViewAttributes","StyleSheetPropType","TextStylePropTypes","Touchable","createReactNativeComponentClass","merge"],function(e,t,n,r,o){"use strict";var i=t("NativeMethodsMixin"),a=t("Platform"),s=t("React"),u=t("ReactInstanceMap"),c=t("ReactNativeViewAttributes"),l=t("StyleSheetPropType"),p=t("TextStylePropTypes"),f=t("Touchable"),d=t("createReactNativeComponentClass"),h=t("merge"),m=l(p),v={validAttributes:h(c.UIView,{isHighlighted:!0,numberOfLines:!0,allowFontScaling:!0}),uiViewClassName:"RCTText"},g=s.createClass({mixins:[f.Mixin,i],propTypes:{numberOfLines:s.PropTypes.number,onLayout:s.PropTypes.func,onPress:s.PropTypes.func,suppressHighlighting:s.PropTypes.bool,style:m,testID:s.PropTypes.string,allowFontScaling:s.PropTypes.bool},viewConfig:v,getInitialState:function(){return h(this.touchableGetInitialState(),{isHighlighted:!1})},getDefaultProps:function(){return{allowFontScaling:!0}},onStartShouldSetResponder:function(){var e=this.props.onStartShouldSetResponder&&this.props.onStartShouldSetResponder();return e||!!this.props.onPress},handleResponderTerminationRequest:function(){var e=this.touchableHandleResponderTerminationRequest();return e&&this.props.onResponderTerminationRequest&&(e=this.props.onResponderTerminationRequest()),e},handleResponderGrant:function(e,t){this.touchableHandleResponderGrant(e,t),this.props.onResponderGrant&&this.props.onResponderGrant.apply(this,arguments)},handleResponderMove:function(e){this.touchableHandleResponderMove(e),this.props.onResponderMove&&this.props.onResponderMove.apply(this,arguments)},handleResponderRelease:function(e){this.touchableHandleResponderRelease(e),this.props.onResponderRelease&&this.props.onResponderRelease.apply(this,arguments)},handleResponderTerminate:function(e){this.touchableHandleResponderTerminate(e),this.props.onResponderTerminate&&this.props.onResponderTerminate.apply(this,arguments)},touchableHandleActivePressIn:function(){!this.props.suppressHighlighting&&this.props.onPress&&this.setState({isHighlighted:!0})},touchableHandleActivePressOut:function(){!this.props.suppressHighlighting&&this.props.onPress&&this.setState({isHighlighted:!1})},touchableHandlePress:function(){this.props.onPress&&this.props.onPress()},touchableGetPressRectOffset:function(){return y},getChildContext:function(){return{isInAParentText:!0}},childContextTypes:{isInAParentText:s.PropTypes.bool},render:function(){var e={};for(var t in this.props)e[t]=this.props[t];e.accessible!==!1&&(e.accessible=!0),e.isHighlighted=this.state.isHighlighted,e.onStartShouldSetResponder=this.onStartShouldSetResponder,e.onResponderTerminationRequest=this.handleResponderTerminationRequest,e.onResponderGrant=this.handleResponderGrant,e.onResponderMove=this.handleResponderMove,e.onResponderRelease=this.handleResponderRelease,e.onResponderTerminate=this.handleResponderTerminate;var n=u.get(this)._context;return n.isInAParentText?s.createElement(b,e):s.createElement(_,e)}}),y={top:20,left:20,right:20,bottom:30},_=d(v),b=_;"android"===a.OS&&(b=d({validAttributes:h(c.UIView,{isHighlighted:!0}),uiViewClassName:"RCTVirtualText"})),o.exports=g}),__d("Touchable",["BoundingDimensions","Position","TouchEventUtils","keyMirror","queryLayoutByID"],function(e,t,n,r,o){"use strict";var i=t("BoundingDimensions"),a=t("Position"),s=t("TouchEventUtils"),u=t("keyMirror"),c=t("queryLayoutByID"),l=u({NOT_RESPONDER:null,RESPONDER_INACTIVE_PRESS_IN:null,RESPONDER_INACTIVE_PRESS_OUT:null,RESPONDER_ACTIVE_PRESS_IN:null,RESPONDER_ACTIVE_PRESS_OUT:null,RESPONDER_ACTIVE_LONG_PRESS_IN:null,RESPONDER_ACTIVE_LONG_PRESS_OUT:null,ERROR:null}),p={RESPONDER_ACTIVE_PRESS_OUT:!0,RESPONDER_ACTIVE_PRESS_IN:!0},f={RESPONDER_INACTIVE_PRESS_IN:!0,RESPONDER_ACTIVE_PRESS_IN:!0,RESPONDER_ACTIVE_LONG_PRESS_IN:!0},d={RESPONDER_ACTIVE_LONG_PRESS_IN:!0},h=u({DELAY:null,RESPONDER_GRANT:null,RESPONDER_RELEASE:null,RESPONDER_TERMINATED:null,ENTER_PRESS_RECT:null,LEAVE_PRESS_RECT:null,LONG_PRESS_DETECTED:null}),m={NOT_RESPONDER:{DELAY:l.ERROR,RESPONDER_GRANT:l.RESPONDER_INACTIVE_PRESS_IN,RESPONDER_RELEASE:l.ERROR,RESPONDER_TERMINATED:l.ERROR,ENTER_PRESS_RECT:l.ERROR,LEAVE_PRESS_RECT:l.ERROR,LONG_PRESS_DETECTED:l.ERROR},RESPONDER_INACTIVE_PRESS_IN:{DELAY:l.RESPONDER_ACTIVE_PRESS_IN,RESPONDER_GRANT:l.ERROR,RESPONDER_RELEASE:l.NOT_RESPONDER,RESPONDER_TERMINATED:l.NOT_RESPONDER,ENTER_PRESS_RECT:l.RESPONDER_INACTIVE_PRESS_IN,LEAVE_PRESS_RECT:l.RESPONDER_INACTIVE_PRESS_OUT,LONG_PRESS_DETECTED:l.ERROR},RESPONDER_INACTIVE_PRESS_OUT:{DELAY:l.RESPONDER_ACTIVE_PRESS_OUT,RESPONDER_GRANT:l.ERROR,RESPONDER_RELEASE:l.NOT_RESPONDER,RESPONDER_TERMINATED:l.NOT_RESPONDER,ENTER_PRESS_RECT:l.RESPONDER_INACTIVE_PRESS_IN,LEAVE_PRESS_RECT:l.RESPONDER_INACTIVE_PRESS_OUT,LONG_PRESS_DETECTED:l.ERROR},RESPONDER_ACTIVE_PRESS_IN:{DELAY:l.ERROR,RESPONDER_GRANT:l.ERROR,RESPONDER_RELEASE:l.NOT_RESPONDER,RESPONDER_TERMINATED:l.NOT_RESPONDER,ENTER_PRESS_RECT:l.RESPONDER_ACTIVE_PRESS_IN,LEAVE_PRESS_RECT:l.RESPONDER_ACTIVE_PRESS_OUT,LONG_PRESS_DETECTED:l.RESPONDER_ACTIVE_LONG_PRESS_IN},RESPONDER_ACTIVE_PRESS_OUT:{DELAY:l.ERROR,RESPONDER_GRANT:l.ERROR,RESPONDER_RELEASE:l.NOT_RESPONDER,RESPONDER_TERMINATED:l.NOT_RESPONDER,ENTER_PRESS_RECT:l.RESPONDER_ACTIVE_PRESS_IN,LEAVE_PRESS_RECT:l.RESPONDER_ACTIVE_PRESS_OUT,LONG_PRESS_DETECTED:l.ERROR},RESPONDER_ACTIVE_LONG_PRESS_IN:{DELAY:l.ERROR,RESPONDER_GRANT:l.ERROR,RESPONDER_RELEASE:l.NOT_RESPONDER,RESPONDER_TERMINATED:l.NOT_RESPONDER,ENTER_PRESS_RECT:l.RESPONDER_ACTIVE_LONG_PRESS_IN,LEAVE_PRESS_RECT:l.RESPONDER_ACTIVE_LONG_PRESS_OUT,LONG_PRESS_DETECTED:l.RESPONDER_ACTIVE_LONG_PRESS_IN},RESPONDER_ACTIVE_LONG_PRESS_OUT:{DELAY:l.ERROR,RESPONDER_GRANT:l.ERROR,RESPONDER_RELEASE:l.NOT_RESPONDER,RESPONDER_TERMINATED:l.NOT_RESPONDER,ENTER_PRESS_RECT:l.RESPONDER_ACTIVE_LONG_PRESS_IN,LEAVE_PRESS_RECT:l.RESPONDER_ACTIVE_LONG_PRESS_OUT,LONG_PRESS_DETECTED:l.ERROR},error:{DELAY:l.NOT_RESPONDER,RESPONDER_GRANT:l.RESPONDER_INACTIVE_PRESS_IN,RESPONDER_RELEASE:l.NOT_RESPONDER,RESPONDER_TERMINATED:l.NOT_RESPONDER,ENTER_PRESS_RECT:l.NOT_RESPONDER,LEAVE_PRESS_RECT:l.NOT_RESPONDER,LONG_PRESS_DETECTED:l.NOT_RESPONDER}},v=130,g=20,y=500,_=y-v,b=10,S={touchableGetInitialState:function(){return{touchable:{touchState:void 0,responderID:null}}},touchableHandleResponderTerminationRequest:function(){return!this.props.rejectResponderTermination},touchableHandleStartShouldSetResponder:function(){return!0},touchableLongPressCancelsPress:function(){return!0},touchableHandleResponderGrant:function(e,t){e.persist(),this.pressOutDelayTimeout&&clearTimeout(this.pressOutDelayTimeout),this.pressOutDelayTimeout=null,this.state.touchable.touchState=l.NOT_RESPONDER,this.state.touchable.responderID=t,this._receiveSignal(h.RESPONDER_GRANT,e);var n=void 0!==this.touchableGetHighlightDelayMS?Math.max(this.touchableGetHighlightDelayMS(),0):v;n=isNaN(n)?v:n,0!==n?this.touchableDelayTimeout=setTimeout(this._handleDelay.bind(this,e),n):this._handleDelay(e);var r=void 0!==this.touchableGetLongPressDelayMS?Math.max(this.touchableGetLongPressDelayMS(),10):_;r=isNaN(r)?_:r,this.longPressDelayTimeout=setTimeout(this._handleLongDelay.bind(this,e),r+n)},touchableHandleResponderRelease:function(e){this._receiveSignal(h.RESPONDER_RELEASE,e)},touchableHandleResponderTerminate:function(e){this._receiveSignal(h.RESPONDER_TERMINATED,e)},touchableHandleResponderMove:function(e){if(this.state.touchable.touchState!==l.RESPONDER_INACTIVE_PRESS_IN&&this.state.touchable.positionOnActivate){var t=this.state.touchable.positionOnActivate,n=this.state.touchable.dimensionsOnActivate,r=this.touchableGetPressRectOffset?this.touchableGetPressRectOffset():null,o=null!=r.left?r.left:g,i=null!=r.top?r.top:g,a=null!=r.right?r.right:g,u=null!=r.bottom?r.bottom:g,c=s.extractSingleTouch(e.nativeEvent),p=c&&c.pageX,f=c&&c.pageY;if(this.pressInLocation){var d=this._getDistanceBetweenPoints(p,f,this.pressInLocation.pageX,this.pressInLocation.pageY);d>b&&this._cancelLongPressDelayTimeout()}var m=p>t.left-o&&f>t.top-i&&p<t.left+n.width+a&&f<t.top+n.height+u;m?this._receiveSignal(h.ENTER_PRESS_RECT,e):(this._cancelLongPressDelayTimeout(),this._receiveSignal(h.LEAVE_PRESS_RECT,e))}},_remeasureMetricsOnActivation:function(){c(this.state.touchable.responderID,null,this._handleQueryLayout)},_handleQueryLayout:function(e,t,n,r,o,s){this.state.touchable.positionOnActivate&&a.release(this.state.touchable.positionOnActivate),this.state.touchable.dimensionsOnActivate&&i.release(this.state.touchable.dimensionsOnActivate),this.state.touchable.positionOnActivate=a.getPooled(o,s),this.state.touchable.dimensionsOnActivate=i.getPooled(n,r)},_handleDelay:function(e){this.touchableDelayTimeout=null,this._receiveSignal(h.DELAY,e)},_handleLongDelay:function(e){this.longPressDelayTimeout=null,this._receiveSignal(h.LONG_PRESS_DETECTED,e)},_receiveSignal:function(e,t){var n=this.state.touchable.touchState;if(!m[n]||!m[n][e])throw new Error("Unrecognized signal `"+e+"` or state `"+n+"` for Touchable responder `"+this.state.touchable.responderID+"`");var r=m[n][e];if(r===l.ERROR)throw new Error("Touchable cannot transition from `"+n+"` to `"+e+"` for responder `"+this.state.touchable.responderID+"`");n!==r&&(this._performSideEffectsForTransition(n,r,e,t),this.state.touchable.touchState=r)},_cancelLongPressDelayTimeout:function(){this.longPressDelayTimeout&&clearTimeout(this.longPressDelayTimeout),this.longPressDelayTimeout=null},_isHighlight:function(e){return e===l.RESPONDER_ACTIVE_PRESS_IN||e===l.RESPONDER_ACTIVE_LONG_PRESS_IN},_savePressInLocation:function(e){var t=s.extractSingleTouch(e.nativeEvent),n=t&&t.pageX,r=t&&t.pageY;this.pressInLocation={pageX:n,pageY:r}},_getDistanceBetweenPoints:function(e,t,n,r){var o=e-n,i=t-r;return Math.sqrt(o*o+i*i)},_performSideEffectsForTransition:function(e,t,n,r){var o=this._isHighlight(e),i=this._isHighlight(t),a=n===h.RESPONDER_TERMINATED||n===h.RESPONDER_RELEASE;if(a&&this._cancelLongPressDelayTimeout(),!p[e]&&p[t]&&this._remeasureMetricsOnActivation(),f[e]&&n===h.LONG_PRESS_DETECTED&&this.touchableHandleLongPress&&this.touchableHandleLongPress(),i&&!o?(this._savePressInLocation(r),this.touchableHandleActivePressIn&&this.touchableHandleActivePressIn()):!i&&o&&this.touchableHandleActivePressOut&&(this.touchableGetPressOutDelayMS&&this.touchableGetPressOutDelayMS()?this.pressOutDelayTimeout=this.setTimeout(function(){this.touchableHandleActivePressOut()},this.touchableGetPressOutDelayMS()):this.touchableHandleActivePressOut()),f[e]&&n===h.RESPONDER_RELEASE){var s=!!this.props.onLongPress,u=d[e]&&(!s||!this.touchableLongPressCancelsPress()),c=!d[e]||u;c&&this.touchableHandlePress&&this.touchableHandlePress(r)}this.touchableDelayTimeout&&clearTimeout(this.touchableDelayTimeout),this.touchableDelayTimeout=null}},R={Mixin:S};o.exports=R}),__d("BoundingDimensions",["PooledClass"],function(e,t,n,r,o){"use strict";function i(e,t){this.width=e,this.height=t}var a=t("PooledClass"),s=a.twoArgumentPooler;i.getPooledFromElement=function(e){return i.getPooled(e.offsetWidth,e.offsetHeight)},a.addPoolingTo(i,s),o.exports=i}),__d("Position",["PooledClass"],function(e,t,n,r,o){"use strict";function i(e,t){this.left=e,this.top=t}var a=t("PooledClass"),s=a.twoArgumentPooler;a.addPoolingTo(i,s),o.exports=i}),__d("TouchEventUtils",[],function(e,t,n,r,o){var i={extractSingleTouch:function(e){var t=e.touches,n=e.changedTouches,r=t&&t.length>0,o=n&&n.length>0;return!r&&o?n[0]:r?t[0]:e}};o.exports=i}),__d("queryLayoutByID",["ReactNativeTagHandles","NativeModules"],function(e,t,n,r,o){"use strict";var i=t("ReactNativeTagHandles"),a=t("NativeModules").UIManager,s=function(e,t,n){a.measure(i.rootNodeIDToTag[e],n)};o.exports=s}),__d("TextInput",["DocumentSelectionState","EventEmitter","NativeMethodsMixin","NativeModules","Platform","ReactPropTypes","React","ReactChildren","StyleSheet","Text","TextInputState","TouchableWithoutFeedback","createReactNativeComponentClass","emptyFunction","invariant","requireNativeComponent","react-timer-mixin/TimerMixin.js"],function(e,t,n,r,o){"use strict";var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=t("DocumentSelectionState"),s=t("EventEmitter"),u=t("NativeMethodsMixin"),c=t("NativeModules").UIManager,l=t("Platform"),p=t("ReactPropTypes"),f=t("React"),d=t("ReactChildren"),h=t("StyleSheet"),m=t("Text"),v=t("TextInputState"),g=t("react-timer-mixin/TimerMixin.js"),y=t("TouchableWithoutFeedback"),_=t("createReactNativeComponentClass"),b=t("emptyFunction"),S=t("invariant"),R=t("requireNativeComponent"),E={onSelectionChange:!0,onTextInput:!0,children:!0},x={onSubmitEditing:!0},T={autoCapitalize:!0,autoCorrect:!0,autoFocus:!0,textAlign:!0,textAlignVertical:!0,keyboardType:!0,mostRecentEventCount:!0,multiline:!0,password:!0,placeholder:!0,placeholderTextColor:!0,text:!0,testID:!0,underlineColorAndroid:!0,editable:!0},w={uiViewClassName:"AndroidTextInput",validAttributes:T},C=R("RCTTextView",null),I=R("RCTTextField",null),O=f.createClass({propTypes:{autoCapitalize:p.oneOf(["none","sentences","words","characters"]),autoCorrect:p.bool,autoFocus:p.bool,textAlign:p.oneOf(["start","center","end"]),textAlignVertical:p.oneOf(["top","center","bottom"]),editable:p.bool,keyboardType:p.oneOf(["default","numeric","email-address","ascii-capable","numbers-and-punctuation","url","number-pad","phone-pad","name-phone-pad","decimal-pad","twitter","web-search"]),returnKeyType:p.oneOf(["default","go","google","join","next","route","search","send","yahoo","done","emergency-call"]),maxLength:p.number,enablesReturnKeyAutomatically:p.bool,multiline:p.bool,onBlur:p.func,onFocus:p.func,onChange:p.func,onChangeText:p.func,onEndEditing:p.func,onSubmitEditing:p.func,onLayout:p.func,placeholder:p.string,placeholderTextColor:p.string,secureTextEntry:p.bool,selectionState:p.instanceOf(a),value:p.string,defaultValue:p.string,clearButtonMode:p.oneOf(["never","while-editing","unless-editing","always"]),clearTextOnFocus:p.bool,selectTextOnFocus:p.bool,style:m.propTypes.style,testID:p.string,underlineColorAndroid:p.string},mixins:[u,g],viewConfig:"ios"===l.OS?I.viewConfig:"android"===l.OS?w:{},isFocused:function(){return v.currentlyFocusedField()===f.findNodeHandle(this.refs.input)},getInitialState:function(){return{mostRecentEventCount:0}},contextTypes:{onFocusRequested:f.PropTypes.func,focusEmitter:f.PropTypes.instanceOf(s)},_focusSubscription:void 0,componentDidMount:function(){var e=this;return this.context.focusEmitter?(this._focusSubscription=this.context.focusEmitter.addListener("focus",function(t){e===t?e.requestAnimationFrame(e.focus):e.isFocused()&&e.blur()}),void(this.props.autoFocus&&this.context.onFocusRequested(this))):void(this.props.autoFocus&&this.requestAnimationFrame(this.focus))},componentWillUnmount:function(){this._focusSubscription&&this._focusSubscription.remove(),this.isFocused()&&this.blur()},getChildContext:function(){return{isInAParentText:!0}},childContextTypes:{isInAParentText:f.PropTypes.bool},clear:function(){this.setNativeProps({text:""})},render:function(){return"ios"===l.OS?this._renderIOS():"android"===l.OS?this._renderAndroid():void 0},_getText:function(){return"string"==typeof this.props.value?this.props.value:this.props.defaultValue},_renderIOS:function(){var e,t=Object.assign({},this.props);if(t.style=[P.input,this.props.style],t.multiline){for(var n in x)if(t[n])throw new Error("TextInput prop `"+n+"` cannot be used with multiline.");var r=t.children,o=0;d.forEach(r,function(){return++o}),S(!(t.value&&o),"Cannot specify both value and children."),o>1&&(r=f.createElement(m,null,r)),t.inputView&&(r=[r,t.inputView]),e=f.createElement(C,i({ref:"input"},t,{children:r,mostRecentEventCount:this.state.mostRecentEventCount,onFocus:this._onFocus,onBlur:this._onBlur,onChange:this._onChange,onSelectionChange:this._onSelectionChange,onTextInput:this._onTextInput,onSelectionChangeShouldSetResponder:b.thatReturnsTrue,text:this._getText()}))}else{for(var n in E)if(t[n])throw new Error("TextInput prop `"+n+"` is only supported with multiline.");e=f.createElement(I,i({ref:"input"},t,{onFocus:this._onFocus,onBlur:this._onBlur,onChange:this._onChange,onSelectionChangeShouldSetResponder:function(){return!0},text:this._getText(),mostRecentEventCount:this.state.mostRecentEventCount}))}return f.createElement(y,{onPress:this._onPress,rejectResponderTermination:!0,testID:t.testID},e)},_renderAndroid:function(){var e=c.UIText.AutocapitalizationType[this.props.autoCapitalize],t=c.AndroidTextInput.Constants.TextAlign[this.props.textAlign],n=c.AndroidTextInput.Constants.TextAlignVertical[this.props.textAlignVertical],r=this.props.children,o=0;d.forEach(r,function(){return++o}),S(!(this.props.value&&o),"Cannot specify both value and children."),o>1&&(r=f.createElement(m,null,r));var i=f.createElement(D,{ref:"input",style:[this.props.style],autoCapitalize:e,autoCorrect:this.props.autoCorrect,textAlign:t,textAlignVertical:n,keyboardType:this.props.keyboardType,mostRecentEventCount:this.state.mostRecentEventCount,multiline:this.props.multiline,onFocus:this._onFocus,onBlur:this._onBlur,onChange:this._onChange,onTextInput:this._onTextInput,onEndEditing:this.props.onEndEditing,onSubmitEditing:this.props.onSubmitEditing,onLayout:this.props.onLayout,password:this.props.password||this.props.secureTextEntry,placeholder:this.props.placeholder,placeholderTextColor:this.props.placeholderTextColor,text:this._getText(),underlineColorAndroid:this.props.underlineColorAndroid,children:r,editable:this.props.editable});return f.createElement(y,{onPress:this._onPress,testID:this.props.testID},i)},_onFocus:function(e){this.props.onFocus&&this.props.onFocus(e)},_onPress:function(){(this.props.editable||void 0===this.props.editable)&&this.focus()},_onChange:function(e){var t=this;"android"===l.OS&&this.refs.input.setNativeProps({mostRecentEventCount:e.nativeEvent.eventCount});var n=e.nativeEvent.text,r=e.nativeEvent.eventCount;this.props.onChange&&this.props.onChange(e),this.props.onChangeText&&this.props.onChangeText(n),this.setState({mostRecentEventCount:r},function(){n!==t.props.value&&"string"==typeof t.props.value&&t.refs.input.setNativeProps({text:t.props.value})})},_onBlur:function(e){this.blur(),this.props.onBlur&&this.props.onBlur(e)},_onSelectionChange:function(e){if(this.props.selectionState){var t=e.nativeEvent.selection;this.props.selectionState.update(t.start,t.end)}this.props.onSelectionChange&&this.props.onSelectionChange(e)},_onTextInput:function(e){this.props.onTextInput&&this.props.onTextInput(e)}}),P=h.create({input:{alignSelf:"stretch"}}),D=_({validAttributes:T,uiViewClassName:"AndroidTextInput"});o.exports=O}),__d("DocumentSelectionState",["mixInEventEmitter"],function(e,t,n,r,o){function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=t("mixInEventEmitter"),u=function(){function e(t,n){i(this,e),this._anchorOffset=t,this._focusOffset=n,this._hasFocus=!1}return a(e,[{key:"update",value:function(e,t){(this._anchorOffset!==e||this._focusOffset!==t)&&(this._anchorOffset=e,this._focusOffset=t,this.emit("update"))}},{key:"constrainLength",value:function(e){this.update(Math.min(this._anchorOffset,e),Math.min(this._focusOffset,e))}},{key:"focus",value:function(){this._hasFocus||(this._hasFocus=!0,this.emit("focus"))}},{key:"blur",value:function(){this._hasFocus&&(this._hasFocus=!1,this.emit("blur"))}},{key:"hasFocus",value:function(){return this._hasFocus}},{key:"isCollapsed",value:function(){return this._anchorOffset===this._focusOffset}},{key:"isBackward",value:function(){return this._anchorOffset>this._focusOffset}},{key:"getAnchorOffset",value:function(){return this._hasFocus?this._anchorOffset:null}},{key:"getFocusOffset",value:function(){return this._hasFocus?this._focusOffset:null}},{key:"getStartOffset",value:function(){return this._hasFocus?Math.min(this._anchorOffset,this._focusOffset):null}},{key:"getEndOffset",value:function(){return this._hasFocus?Math.max(this._anchorOffset,this._focusOffset):null}},{key:"overlaps",value:function(e,t){return this.hasFocus()&&this.getStartOffset()<=t&&e<=this.getEndOffset()}}]),e}();s(u,{blur:!0,focus:!0,update:!0}),o.exports=u}),__d("mixInEventEmitter",["EventEmitter","EventEmitterWithHolding","EventHolder","EventValidator","copyProperties","invariant","keyOf"],function(e,t,n,r,o){function i(e,t){p(t,"Must supply set of valid event types"),p(!this.__eventEmitter,"An active emitter is already mixed in");var n=e.prototype||e,r=e.constructor;r&&p(r===Object||r===Function,"Mix EventEmitter into a class, not an instance"),n.hasOwnProperty(d)?l(n.__types,t):n.__types=n.__types?l({},n.__types,t):t,l(n,h)}var a=t("EventEmitter"),s=t("EventEmitterWithHolding"),u=t("EventHolder"),c=t("EventValidator"),l=t("copyProperties"),p=t("invariant"),f=t("keyOf"),d=f({__types:!0}),h={emit:function(e,t,n,r,o,i,a){return this.__getEventEmitter().emit(e,t,n,r,o,i,a)},emitAndHold:function(e,t,n,r,o,i,a){return this.__getEventEmitter().emitAndHold(e,t,n,r,o,i,a)},addListener:function(e,t,n){return this.__getEventEmitter().addListener(e,t,n)},once:function(e,t,n){return this.__getEventEmitter().once(e,t,n)},addRetroactiveListener:function(e,t,n){return this.__getEventEmitter().addRetroactiveListener(e,t,n)},addListenerMap:function(e,t){return this.__getEventEmitter().addListenerMap(e,t)},addRetroactiveListenerMap:function(e,t){return this.__getEventEmitter().addListenerMap(e,t)},removeAllListeners:function(){this.__getEventEmitter().removeAllListeners()},removeCurrentListener:function(){this.__getEventEmitter().removeCurrentListener()},releaseHeldEventType:function(e){this.__getEventEmitter().releaseHeldEventType(e)},__getEventEmitter:function(){if(!this.__eventEmitter){var e=new a;e=c.addValidation(e,this.__types);var t=new u;this.__eventEmitter=new s(e,t)}return this.__eventEmitter}};o.exports=i}),__d("EventEmitterWithHolding",[],function(e,t,n,r,o){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=function(){function e(t,n){i(this,e),this._emitter=t,this._eventHolder=n,this._currentEventToken=null,this._emittingHeldEvents=!1}return a(e,[{key:"addListener",value:function(e,t,n){return this._emitter.addListener(e,t,n)}},{key:"once",value:function(e,t,n){return this._emitter.once(e,t,n)}},{key:"addRetroactiveListener",value:function(e,t,n){var r=this._emitter.addListener(e,t,n);return this._emittingHeldEvents=!0,this._eventHolder.emitToListener(e,t,n),this._emittingHeldEvents=!1,r}},{key:"removeAllListeners",value:function(e){this._emitter.removeAllListeners(e)}},{key:"removeCurrentListener",value:function(){this._emitter.removeCurrentListener()}},{key:"listeners",value:function(e){return this._emitter.listeners(e)}},{key:"emit",value:function(e,t,n,r,o,i,a){this._emitter.emit(e,t,n,r,o,i,a)}},{key:"emitAndHold",value:function(e,t,n,r,o,i,a){this._currentEventToken=this._eventHolder.holdEvent(e,t,n,r,o,i,a),this._emitter.emit(e,t,n,r,o,i,a),this._currentEventToken=null}},{key:"releaseCurrentEvent",value:function(){null!==this._currentEventToken?this._eventHolder.releaseEvent(this._currentEventToken):this._emittingHeldEvents&&this._eventHolder.releaseCurrentEvent()}},{key:"releaseHeldEventType",value:function(e){this._eventHolder.releaseEventType(e)}}]),e}();o.exports=s}),__d("EventHolder",["invariant"],function(e,t,n,r,o){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=t("invariant"),u=function(){function e(){i(this,e),this._heldEvents={},this._currentEventKey=null}return a(e,[{key:"holdEvent",value:function(e,t,n,r,o,i,a){this._heldEvents[e]=this._heldEvents[e]||[];var s=this._heldEvents[e],u={eventType:e,index:s.length};return s.push([t,n,r,o,i,a]),u}},{key:"emitToListener",value:function(e,t,n){var r=this,o=this._heldEvents[e];if(o){var i=this._currentEventKey;o.forEach(function(o,i){o&&(r._currentEventKey={eventType:e,index:i},t.apply(n,o))}),this._currentEventKey=i}}},{key:"releaseCurrentEvent",value:function(){s(null!==this._currentEventKey,"Not in an emitting cycle; there is no current event"),this.releaseEvent(this._currentEventKey)}},{key:"releaseEvent",value:function(e){delete this._heldEvents[e.eventType][e.index]}},{key:"releaseEventType",value:function(e){this._heldEvents[e]=[]}}]),e}();o.exports=u}),__d("EventValidator",["copyProperties"],function(e,t,n,r,o){"use strict";function i(e,t){if(-1===t.indexOf(e))throw new TypeError(a(e,t))}function a(e,t){var n='Unknown event type "'+e+'". ';return __DEV__&&(n+=c(e,t)),n+="Known event types: "+t.join(", ")+"."}var s=t("copyProperties"),u={addValidation:function(e,t){var n=Object.keys(t),r=Object.create(e);return s(r,{emit:function(t,r,o,a,s,u,c){return i(t,n),e.emit.call(this,t,r,o,a,s,u,c)}}),r}};if(__DEV__)var c=function(e,t){var n=l(e,t);return d(n,e)?'Did you mean "'+n.type+'"? ':""},l=function(e,t){var n=t.map(p.bind(this,e));return n.sort(f)[0]},p=function(e,t){return{type:t,distance:h(e,t)}},f=function(e,t){return e.distance<t.distance?-1:e.distance>t.distance?1:0},d=function(e,t){return e.distance/t.length<.334},h=function(e,t){var n,r,o=[];for(n=0;n<=e.length;n++)o[n]=[n];for(r=1;r<=t.length;r++)o[0][r]=r;for(n=1;n<=e.length;n++)for(r=1;r<=t.length;r++){var i=e.charAt(n-1)===t.charAt(r-1)?0:1;o[n][r]=Math.min(o[n-1][r]+1,o[n][r-1]+1,o[n-1][r-1]+i),n>1&&r>1&&e.charAt(n-1)==t.charAt(r-2)&&e.charAt(n-2)==t.charAt(r-1)&&(o[n][r]=Math.min(o[n][r],o[n-2][r-2]+i))}return o[e.length][t.length]};o.exports=u}),__d("copyProperties",[],function(e,t,n,r,o){function i(e,t,n,r,o,i,a){if(e=e||{},__DEV__&&a)throw new Error("Too many arguments passed to copyProperties");for(var s,u=[t,n,r,o,i],c=0;u[c];){s=u[c++];for(var l in s)e[l]=s[l];s.hasOwnProperty&&s.hasOwnProperty("toString")&&"undefined"!=typeof s.toString&&e.toString!==s.toString&&(e.toString=s.toString)}return e}o.exports=i}),__d("TouchableWithoutFeedback",["React","Touchable","ensurePositiveDelayProps","onlyChild","react-timer-mixin/TimerMixin.js"],function(e,t,n,r,o){"use strict";var i=t("React"),a=t("react-timer-mixin/TimerMixin.js"),s=t("Touchable"),u=t("ensurePositiveDelayProps"),c=t("onlyChild"),l={top:20,left:20,right:20,bottom:30},p=i.createClass({mixins:[a,s.Mixin],propTypes:{accessible:i.PropTypes.bool,onPress:i.PropTypes.func,onPressIn:i.PropTypes.func,onPressOut:i.PropTypes.func,onLongPress:i.PropTypes.func,delayPressIn:i.PropTypes.number,delayPressOut:i.PropTypes.number,delayLongPress:i.PropTypes.number},getInitialState:function(){return this.touchableGetInitialState()},componentDidMount:function(){u(this.props)},componentWillReceiveProps:function(e){u(e)},touchableHandlePress:function(e){this.props.onPress&&this.props.onPress(e)},touchableHandleActivePressIn:function(){this.props.onPressIn&&this.props.onPressIn()},touchableHandleActivePressOut:function(){this.props.onPressOut&&this.props.onPressOut()},touchableHandleLongPress:function(){this.props.onLongPress&&this.props.onLongPress()},touchableGetPressRectOffset:function(){return l},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(){return i.cloneElement(c(this.props.children),{accessible:this.props.accessible!==!1,testID:this.props.testID,onStartShouldSetResponder:this.touchableHandleStartShouldSetResponder,onResponderTerminationRequest:this.touchableHandleResponderTerminationRequest,onResponderGrant:this.touchableHandleResponderGrant,onResponderMove:this.touchableHandleResponderMove,onResponderRelease:this.touchableHandleResponderRelease,onResponderTerminate:this.touchableHandleResponderTerminate})}});o.exports=p}),__d("ensurePositiveDelayProps",["invariant"],function(e,t,n,r,o){"use strict";var i=t("invariant"),a=function(e){i(!(e.delayPressIn<0||e.delayPressOut<0||e.delayLongPress<0),"Touchable components cannot have negative delay properties")};o.exports=a}),__d("TouchableHighlight",["NativeMethodsMixin","React","ReactNativeViewAttributes","StyleSheet","Touchable","TouchableWithoutFeedback","View","cloneWithProps","ensureComponentIsNative","ensurePositiveDelayProps","keyOf","merge","onlyChild","react-timer-mixin/TimerMixin.js"],function(e,t,n,r,o){"use strict";var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=t("NativeMethodsMixin"),s=t("React"),u=t("ReactNativeViewAttributes"),c=t("StyleSheet"),l=t("react-timer-mixin/TimerMixin.js"),p=t("Touchable"),f=t("TouchableWithoutFeedback"),d=t("View"),h=t("cloneWithProps"),m=t("ensureComponentIsNative"),v=t("ensurePositiveDelayProps"),g=t("keyOf"),y=t("merge"),_=t("onlyChild"),b={activeOpacity:.8,underlayColor:"black"},S=s.createClass({propTypes:i({},f.propTypes,{activeOpacity:s.PropTypes.number,underlayColor:s.PropTypes.string,style:d.propTypes.style,onShowUnderlay:s.PropTypes.func,onHideUnderlay:s.PropTypes.func}),mixins:[a,l,p.Mixin],getDefaultProps:function(){return b},computeSyntheticState:function(e){return{activeProps:{style:{opacity:e.activeOpacity}},activeUnderlayProps:{style:{backgroundColor:e.underlayColor}},underlayStyle:[w.style,e.style]}},getInitialState:function(){return y(this.touchableGetInitialState(),this.computeSyntheticState(this.props))},componentDidMount:function(){v(this.props),m(this.refs[E])},componentDidUpdate:function(){m(this.refs[E])},componentWillReceiveProps:function(e){v(e),(e.activeOpacity!==this.props.activeOpacity||e.underlayColor!==this.props.underlayColor||e.style!==this.props.style)&&this.setState(this.computeSyntheticState(e))},viewConfig:{uiViewClassName:"RCTView",validAttributes:u.RCTView},touchableHandleActivePressIn:function(){this.clearTimeout(this._hideTimeout),this._hideTimeout=null,this._showUnderlay(),this.props.onPressIn&&this.props.onPressIn()},touchableHandleActivePressOut:function(){this._hideTimeout||this._hideUnderlay(),this.props.onPressOut&&this.props.onPressOut()},touchableHandlePress:function(){this.clearTimeout(this._hideTimeout),this._showUnderlay(),this._hideTimeout=this.setTimeout(this._hideUnderlay,this.props.delayPressOut||100),this.props.onPress&&this.props.onPress()},touchableHandleLongPress:function(){this.props.onLongPress&&this.props.onLongPress()},touchableGetPressRectOffset:function(){return R},touchableGetHighlightDelayMS:function(){return this.props.delayPressIn},touchableGetLongPressDelayMS:function(){return this.props.delayLongPress},touchableGetPressOutDelayMS:function(){return this.props.delayPressOut},_showUnderlay:function(){this.isMounted()&&(this.refs[x].setNativeProps(this.state.activeUnderlayProps),this.refs[E].setNativeProps(this.state.activeProps),this.props.onShowUnderlay&&this.props.onShowUnderlay())},_hideUnderlay:function(){this.clearTimeout(this._hideTimeout),this._hideTimeout=null,this.refs[x]&&(this.refs[E].setNativeProps(T),this.refs[x].setNativeProps(i({},w,{style:this.state.underlayStyle})),this.props.onHideUnderlay&&this.props.onHideUnderlay())},render:function(){return s.createElement(d,{accessible:!0,ref:x,style:this.state.underlayStyle,onStartShouldSetResponder:this.touchableHandleStartShouldSetResponder,onResponderTerminationRequest:this.touchableHandleResponderTerminationRequest,onResponderGrant:this.touchableHandleResponderGrant,onResponderMove:this.touchableHandleResponderMove,onResponderRelease:this.touchableHandleResponderRelease,onResponderTerminate:this.touchableHandleResponderTerminate},h(_(this.props.children),{ref:E,testID:this.props.testID}))}}),R={top:20,left:20,right:20,bottom:30},E=g({childRef:null}),x=g({underlayRef:null}),T={style:c.create({x:{opacity:1}}).x},w={style:c.create({x:{backgroundColor:"transparent"}}).x};o.exports=S}),__d("cloneWithProps",["ReactElement","ReactPropTransferer","keyOf","warning"],function(e,t,n,r,o){"use strict";function i(e,t){__DEV__&&c(!e.ref,"You are calling cloneWithProps() on a child with a ref. This is dangerous because you're creating a new child which will not be added as a ref to its parent.");var n=s.mergeProps(t,e.props);return!n.hasOwnProperty(l)&&e.props.hasOwnProperty(l)&&(n.children=e.props.children),a.createElement(e.type,n)}var a=t("ReactElement"),s=t("ReactPropTransferer"),u=t("keyOf"),c=t("warning"),l=u({children:null});o.exports=i}),__d("ReactPropTransferer",["Object.assign","emptyFunction","joinClasses"],function(e,t,n,r,o){"use strict";function i(e){return function(t,n,r){t[n]=t.hasOwnProperty(n)?e(t[n],r):r}}function a(e,t){for(var n in t)if(t.hasOwnProperty(n)){var r=p[n];r&&p.hasOwnProperty(n)?r(e,n,t[n]):e.hasOwnProperty(n)||(e[n]=t[n])}return e}var s=t("Object.assign"),u=t("emptyFunction"),c=t("joinClasses"),l=i(function(e,t){return s({},t,e)}),p={children:u,className:i(c),style:l},f={mergeProps:function(e,t){return a(s({},e),t)}};o.exports=f}),__d("joinClasses",[],function(e,t,n,r,o){"use strict";function i(e){e||(e="");var t,n=arguments.length;if(n>1)for(var r=1;n>r;r++)t=arguments[r],t&&(e=(e?e+" ":"")+t);return e}o.exports=i}),__d("ensureComponentIsNative",["invariant"],function(e,t,n,r,o){"use strict";var i=t("invariant"),a=function(e){i(e&&"function"==typeof e.setNativeProps,"Touchable child must either be native or forward setNativeProps to a native component")};o.exports=a}),__d("TouchableOpacity",["Animated","NativeMethodsMixin","React","Touchable","TouchableWithoutFeedback","ensurePositiveDelayProps","flattenStyle","keyOf","react-timer-mixin/TimerMixin.js"],function(e,t,n,r,o){"use strict";var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=t("Animated"),s=t("NativeMethodsMixin"),u=t("React"),c=t("react-timer-mixin/TimerMixin.js"),l=t("Touchable"),p=t("TouchableWithoutFeedback"),f=t("ensurePositiveDelayProps"),d=t("flattenStyle"),h=(t("keyOf"),u.createClass({mixins:[c,l.Mixin,s],propTypes:i({},p.propTypes,{activeOpacity:u.PropTypes.number}),getDefaultProps:function(){return{activeOpacity:.2}},getInitialState:function(){return i({},this.touchableGetInitialState(),{anim:new a.Value(1)})},componentDidMount:function(){f(this.props)},componentDidUpdate:function(){},componentWillReceiveProps:function(e){f(e)},setOpacityTo:function(e){a.timing(this.state.anim,{toValue:e,duration:150}).start()},touchableHandleActivePressIn:function(){this.clearTimeout(this._hideTimeout),this._hideTimeout=null,this._opacityActive(),this.props.onPressIn&&this.props.onPressIn()},touchableHandleActivePressOut:function(){this._hideTimeout||this._opacityInactive(),this.props.onPressOut&&this.props.onPressOut()},touchableHandlePress:function(){this.clearTimeout(this._hideTimeout),this._opacityActive(),this._hideTimeout=this.setTimeout(this._opacityInactive,this.props.delayPressOut||100),this.props.onPress&&this.props.onPress()},touchableHandleLongPress:function(){this.props.onLongPress&&this.props.onLongPress()},touchableGetPressRectOffset:function(){return m},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(){this.setOpacityTo(this.props.activeOpacity)},_opacityInactive:function(){this.clearTimeout(this._hideTimeout),this._hideTimeout=null;var e=d(this.props.style)||{};this.setOpacityTo(void 0===e.opacity?1:e.opacity)},render:function(){return u.createElement(a.View,{accessible:!0,style:[this.props.style,{opacity:this.state.anim}],testID:this.props.testID,onStartShouldSetResponder:this.touchableHandleStartShouldSetResponder,onResponderTerminationRequest:this.touchableHandleResponderTerminationRequest,onResponderGrant:this.touchableHandleResponderGrant,onResponderMove:this.touchableHandleResponderMove,onResponderRelease:this.touchableHandleResponderRelease,onResponderTerminate:this.touchableHandleResponderTerminate},this.props.children)}})),m={top:20,left:20,right:20,bottom:30};o.exports=h}),__d("Animated",["Interpolation","Easing","Image","InteractionManager","Interpolation","React","Set","SpringConfig","Text","View","invariant","flattenStyle","requestAnimationFrame"],function(e,t,n,r,o){function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e){function t(e){"function"==typeof e.update?n.add(e):e.getChildren().forEach(t)}var n=new y;t(e),n.forEach(function(e){return e.update()})}function u(e,t){return void 0===e||null===e?t:e}function c(e){var t="node",n=function(n){function r(){a(this,r),p(Object.getPrototypeOf(r.prototype),"constructor",this).apply(this,arguments)}return i(r,n),f(r,[{key:"componentWillUnmount",value:function(){this._propsAnimated&&this._propsAnimated.detach()}},{key:"setNativeProps",value:function(e){this.refs[t].setNativeProps(e)}},{key:"componentWillMount",value:function(){this.attachProps(this.props)}},{key:"attachProps",value:function(e){var n=this,r=this._propsAnimated,o=function(){if(n.refs[t].setNativeProps){var e=n._propsAnimated.getAnimatedValue();n.refs[t].setNativeProps(e)}else n.forceUpdate()};this._propsAnimated=new V(e,o),r&&r.detach()}},{key:"componentWillReceiveProps",value:function(e){this.attachProps(e)}},{key:"render",value:function(){return g.createElement(e,l({},this._propsAnimated.__getValue(),{ref:t}))}}]),r}(g.Component);return n}var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p=function Z(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:Z(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)},f=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),d=t("Easing"),h=t("Image"),m=t("InteractionManager"),v=t("Interpolation"),g=t("React"),y=t("Set"),_=t("SpringConfig"),b=t("Text"),S=t("View"),R=t("invariant"),E=t("flattenStyle"),x=t("requestAnimationFrame"),T=function(){function e(){a(this,e)}return f(e,[{key:"attach",value:function(){}},{key:"detach",value:function(){}},{key:"__getValue",value:function(){}},{key:"getAnimatedValue",value:function(){return this.__getValue()}},{key:"addChild",value:function(){}},{key:"removeChild",value:function(){}},{key:"getChildren",value:function(){return[]}}]),e}(),w=function(){function e(){a(this,e)}return f(e,[{key:"start",value:function(){}},{key:"stop",value:function(){}},{key:"__debouncedOnEnd",value:function(e){var t=this.__onEnd;this.__onEnd=null,t&&t(e)}}]),e}(),C=function(e){function t(){a(this,t),p(Object.getPrototypeOf(t.prototype),"constructor",this).call(this),this._children=[]}return i(t,e),f(t,[{key:"addChild",value:function(e){0===this._children.length&&this.attach(),this._children.push(e)}},{key:"removeChild",value:function(e){var t=this._children.indexOf(e);return-1===t?void console.warn("Trying to remove a child that doesn't exist"):(this._children.splice(t,1),void(0===this._children.length&&this.detach()))}},{key:"getChildren",value:function(){return this._children}}]),t}(T),I=d.inOut(d.ease),O=function(e){function t(e){a(this,t),p(Object.getPrototypeOf(t.prototype),"constructor",this).call(this),this._toValue=e.toValue,this._easing=e.easing||I,this._duration=void 0!==e.duration?e.duration:500,this._delay=e.delay||0}return i(t,e),f(t,[{key:"start",value:function n(e,t,r){var o=this;this.__active=!0,this._fromValue=e,this._onUpdate=t,this.__onEnd=r;var n=function(){0===o._duration?(o._onUpdate(o._toValue),o.__debouncedOnEnd({finished:!0})):(o._startTime=Date.now(),o._animationFrame=x(o.onUpdate.bind(o)))};this._delay?this._timeout=setTimeout(n,this._delay):n()}},{key:"onUpdate",value:function(){var e=Date.now();return e>=this._startTime+this._duration?(this._onUpdate(0===this._duration?this._toValue:this._fromValue+this._easing(1)*(this._toValue-this._fromValue)),void this.__debouncedOnEnd({finished:!0})):(this._onUpdate(this._fromValue+this._easing((e-this._startTime)/this._duration)*(this._toValue-this._fromValue)),void(this.__active&&(this._animationFrame=x(this.onUpdate.bind(this)))))}},{key:"stop",value:function(){this.__active=!1,clearTimeout(this._timeout),window.cancelAnimationFrame(this._animationFrame),this.__debouncedOnEnd({finished:!1})}}]),t}(w),P=function(e){function t(e){a(this,t),p(Object.getPrototypeOf(t.prototype),"constructor",this).call(this),this._deceleration=e.deceleration||.998,this._velocity=e.velocity}return i(t,e),f(t,[{key:"start",value:function(e,t,n){this.__active=!0,this._lastValue=e,this._fromValue=e,this._onUpdate=t,this.__onEnd=n,this._startTime=Date.now(),this._animationFrame=x(this.onUpdate.bind(this))}},{key:"onUpdate",value:function(){var e=Date.now(),t=this._fromValue+this._velocity/(1-this._deceleration)*(1-Math.exp(-(1-this._deceleration)*(e-this._startTime)));return this._onUpdate(t),Math.abs(this._lastValue-t)<.1?void this.__debouncedOnEnd({finished:!0}):(this._lastValue=t,void(this.__active&&(this._animationFrame=x(this.onUpdate.bind(this)))))}},{key:"stop",value:function(){this.__active=!1,window.cancelAnimationFrame(this._animationFrame),this.__debouncedOnEnd({finished:!1})}}]),t}(w),D=function(e){function t(e){a(this,t),p(Object.getPrototypeOf(t.prototype),"constructor",this).call(this),this._overshootClamping=u(e.overshootClamping,!1),this._restDisplacementThreshold=u(e.restDisplacementThreshold,.001),this._restSpeedThreshold=u(e.restSpeedThreshold,.001),this._initialVelocity=e.velocity,this._lastVelocity=u(e.velocity,0),this._toValue=e.toValue;var n;void 0!==e.bounciness||void 0!==e.speed?(R(void 0===e.tension&&void 0===e.friction,"You can only define bounciness/speed or tension/friction but not both"),n=_.fromBouncinessAndSpeed(u(e.bounciness,8),u(e.speed,12))):n=_.fromOrigamiTensionAndFriction(u(e.tension,40),u(e.friction,7)),this._tension=n.tension,this._friction=n.friction}return i(t,e),f(t,[{key:"start",value:function(e,n,r,o){if(this.__active=!0,this._startPosition=e,this._lastPosition=this._startPosition,this._onUpdate=n,this.__onEnd=r,this._lastTime=Date.now(),o instanceof t){var i=o.getInternalState();this._lastPosition=i.lastPosition,this._lastVelocity=i.lastVelocity,this._lastTime=i.lastTime}void 0!==this._initialVelocity&&null!==this._initialVelocity&&(this._lastVelocity=this._initialVelocity),this.onUpdate()}},{key:"getInternalState",value:function(){return{lastPosition:this._lastPosition,lastVelocity:this._lastVelocity,lastTime:this._lastTime}}},{key:"onUpdate",value:function(){var e=this._lastPosition,t=this._lastVelocity,n=this._lastPosition,r=this._lastVelocity,o=64,i=Date.now();i>this._lastTime+o&&(i=this._lastTime+o);for(var a=1,s=Math.floor((i-this._lastTime)/a),u=0;s>u;++u){var c=a/1e3,l=t,p=this._tension*(this._toValue-n)-this._friction*r,n=e+l*c/2,r=t+p*c/2,f=r,d=this._tension*(this._toValue-n)-this._friction*r;n=e+f*c/2,r=t+d*c/2;var h=r,m=this._tension*(this._toValue-n)-this._friction*r;n=e+h*c/2,r=t+m*c/2;var v=r,g=this._tension*(this._toValue-n)-this._friction*r;n=e+h*c/2,r=t+m*c/2;var y=(l+2*(f+h)+v)/6,_=(p+2*(d+m)+g)/6;e+=y*c,t+=_*c}if(this._lastTime=i,this._lastPosition=e,this._lastVelocity=t,this._onUpdate(e),this.__active){var b=!1;this._overshootClamping&&0!==this._tension&&(b=this._startPosition<this._toValue?e>this._toValue:e<this._toValue);var S=Math.abs(t)<=this._restSpeedThreshold,R=!0;return 0!==this._tension&&(R=Math.abs(this._toValue-e)<=this._restDisplacementThreshold),b||S&&R?(0!==this._tension&&this._onUpdate(this._toValue),void this.__debouncedOnEnd({finished:!0})):void(this._animationFrame=x(this.onUpdate.bind(this)))}}},{key:"stop",value:function(){this.__active=!1,window.cancelAnimationFrame(this._animationFrame),this.__debouncedOnEnd({finished:!1})}}]),t}(w),N=1,M=function(e){function t(e){a(this,t),p(Object.getPrototypeOf(t.prototype),"constructor",this).call(this),this._value=e,this._offset=0,this._animation=null,this._listeners={}}return i(t,e),f(t,[{key:"detach",value:function(){this.stopAnimation()}},{key:"__getValue",value:function(){return this._value+this._offset}},{key:"setValue",value:function(e){this._animation&&(this._animation.stop(),this._animation=null),this._updateValue(e)}},{key:"setOffset",value:function(e){this._offset=e}},{key:"flattenOffset",value:function(){this._value+=this._offset,this._offset=0}},{key:"addListener",value:function(e){var t=String(N++);return this._listeners[t]=e,t}},{key:"removeListener",value:function(e){delete this._listeners[e]}},{key:"removeAllListeners",value:function(){this._listeners={}}},{key:"animate",value:function(e,t){var n=this,r=m.createInteractionHandle(),o=this._animation;this._animation&&this._animation.stop(),this._animation=e,e.start(this._value,function(e){n._updateValue(e)},function(e){n._animation=null,m.clearInteractionHandle(r),t&&t(e)},o)}},{key:"stopAnimation",value:function(e){this.stopTracking(),this._animation&&this._animation.stop(),this._animation=null,e&&e(this.__getValue())}},{key:"stopTracking",value:function(){this._tracking&&this._tracking.detach(),this._tracking=null}},{key:"track",value:function(e){this.stopTracking(),this._tracking=e}},{key:"interpolate",value:function(e){return new k(this,v.create(e))}},{key:"_updateValue",value:function(e){this._value=e,s(this);for(var t in this._listeners)this._listeners[t]({value:this.__getValue()})}}]),t}(C),A=function(e){function t(e){a(this,t),p(Object.getPrototypeOf(t.prototype),"constructor",this).call(this);var n=e||{x:0,y:0};"number"==typeof n.x&&"number"==typeof n.y?(this.x=new M(n.x),this.y=new M(n.y)):(R(n.x instanceof M&&n.y instanceof M,"AnimatedValueXY must be initalized with an object of numbers or AnimatedValues."),this.x=n.x,this.y=n.y),this._listeners={}}return i(t,e),f(t,[{key:"setValue",value:function(e){this.x.setValue(e.x),this.y.setValue(e.y)}},{key:"setOffset",value:function(e){this.x.setOffset(e.x),this.y.setOffset(e.y)}},{key:"flattenOffset",value:function(){this.x.flattenOffset(),this.y.flattenOffset()}},{key:"__getValue",value:function(){return{x:this.x.__getValue(),y:this.y.__getValue()}}},{key:"stopAnimation",value:function(e){this.x.stopAnimation(),this.y.stopAnimation(),e&&e(this.__getValue())}},{key:"addListener",value:function(e){var t=this,n=String(N++),r=function(n){n.value;e(t.__getValue())};return this._listeners[n]={x:this.x.addListener(r),y:this.y.addListener(r)},n}},{key:"removeListener",value:function(e){this.x.removeListener(this._listeners[e].x),this.y.removeListener(this._listeners[e].y),delete this._listeners[e]}},{key:"getLayout",value:function(){return{left:this.x,top:this.y}}},{key:"getTranslateTransform",value:function(){return[{translateX:this.x},{translateY:this.y}]}}]),t}(C),k=function(e){function t(e,n){a(this,t),p(Object.getPrototypeOf(t.prototype),"constructor",this).call(this),this._parent=e,this._interpolation=n}return i(t,e),f(t,[{key:"__getValue",value:function(){var e=this._parent.__getValue();return R("number"==typeof e,"Cannot interpolate an input which is not a number."),this._interpolation(e)}},{key:"interpolate",value:function(e){return new t(this,v.create(e))}},{key:"attach",value:function(){this._parent.addChild(this)}},{key:"detach",value:function(){this._parent.removeChild(this)}}]),t}(C),j=function(e){function t(e){a(this,t),p(Object.getPrototypeOf(t.prototype),"constructor",this).call(this),this._transforms=e}return i(t,e),f(t,[{key:"__getValue",value:function(){return this._transforms.map(function(e){var t={};for(var n in e){var r=e[n];t[n]=r instanceof T?r.__getValue():r}return t})}},{key:"getAnimatedValue",value:function(){return this._transforms.map(function(e){var t={};for(var n in e){var r=e[n];t[n]=r instanceof T?r.getAnimatedValue():r}return t})}},{key:"attach",value:function(){var e=this;this._transforms.forEach(function(t){for(var n in t){var r=t[n];r instanceof T&&r.addChild(e)}})}},{key:"detach",value:function(){var e=this;this._transforms.forEach(function(t){for(var n in t){var r=t[n];r instanceof T&&r.removeChild(e)}})}}]),t}(C),L=function(e){function t(e){a(this,t),p(Object.getPrototypeOf(t.prototype),"constructor",this).call(this),e=E(e)||{},e.transform&&(e=l({},e,{transform:new j(e.transform)})),this._style=e}return i(t,e),f(t,[{key:"__getValue",value:function(){var e={};for(var t in this._style){var n=this._style[t];e[t]=n instanceof T?n.__getValue():n}return e}},{key:"getAnimatedValue",value:function(){var e={};for(var t in this._style){var n=this._style[t];n instanceof T&&(e[t]=n.getAnimatedValue())}return e}},{key:"attach",value:function(){for(var e in this._style){var t=this._style[e];t instanceof T&&t.addChild(this)}}},{key:"detach",value:function(){for(var e in this._style){var t=this._style[e];t instanceof T&&t.removeChild(this)}}}]),t}(C),V=function(e){function t(e,n){a(this,t),p(Object.getPrototypeOf(t.prototype),"constructor",this).call(this),e.style&&(e=l({},e,{style:new L(e.style)})),this._props=e,this._callback=n,this.attach()}return i(t,e),f(t,[{key:"__getValue",value:function(){var e={};for(var t in this._props){var n=this._props[t];e[t]=n instanceof T?n.__getValue():n}return e}},{key:"getAnimatedValue",value:function(){var e={};for(var t in this._props){var n=this._props[t];n instanceof T&&(e[t]=n.getAnimatedValue())}return e}},{key:"attach",value:function(){for(var e in this._props){var t=this._props[e];t instanceof T&&t.addChild(this)}}},{key:"detach",value:function(){for(var e in this._props){var t=this._props[e];t instanceof T&&t.removeChild(this)}}},{key:"update",value:function(){this._callback()}}]),t}(T),F=function(e){function t(e,n,r,o,i){a(this,t),p(Object.getPrototypeOf(t.prototype),"constructor",this).call(this),this._value=e,this._parent=n,this._animationClass=r,this._animationConfig=o,this._callback=i,this.attach()}return i(t,e),f(t,[{key:"__getValue",value:function(){return this._parent.__getValue()}},{key:"attach",value:function(){this._parent.addChild(this)}},{key:"detach",value:function(){this._parent.removeChild(this)}},{key:"update",value:function(){this._value.animate(new this._animationClass(l({},this._animationConfig,{toValue:this._animationConfig.toValue.__getValue()})),this._callback)}}]),t}(T),B=function(e,t,n){if(e instanceof A){var r=l({},t),o=l({},t);for(var i in t){var a=t[i],s=a.x,u=a.y;void 0!==s&&void 0!==u&&(r[i]=s,o[i]=u)}var c=n(e.x,r),p=n(e.y,o);return G([c,p],{stopTogether:!1})}return null},H=function(e,t){return B(e,t,H)||{start:function(n){var r=e,o=t;r.stopTracking(),t.toValue instanceof T?r.track(new F(r,t.toValue,D,o,n)):r.animate(new D(o),n)},stop:function(){e.stopAnimation()}}},q=function(e,t){return B(e,t,q)||{start:function(n){var r=e,o=t;r.stopTracking(),t.toValue instanceof T?r.track(new F(r,t.toValue,O,o,n)):r.animate(new O(o),n)},stop:function(){e.stopAnimation()}}},U=function(e,t){return B(e,t,U)||{start:function(n){var r=e,o=t;r.stopTracking(),r.animate(new P(o),n)},stop:function(){e.stopAnimation()}}},z=function(e){var t=0;return{start:function(n){var r=function(o){return o.finished?(t++,t===e.length?void(n&&n(o)):void e[t].start(r)):void(n&&n(o))};0===e.length?n&&n({finished:!0}):e[t].start(r)},stop:function(){t<e.length&&e[t].stop()}}},G=function(e,t){var n=0,r={},o=!(t&&t.stopTogether===!1),i={start:function(t){return n===e.length?void(t&&t({finished:!0})):void e.forEach(function(a,s){var u=function(a){return r[s]=!0,n++,n===e.length?(n=0,void(t&&t(a))):void(!a.finished&&o&&i.stop())};a?a.start(u):u({finished:!0})})},stop:function(){e.forEach(function(e,t){!r[t]&&e.stop(),r[t]=!0})}};return i},W=function(e){return q(new M(0),{toValue:0,delay:e,duration:0})},Y=function(e,t){return G(t.map(function(t,n){return z([W(e*n),t])}))},K=function(e,t){return function(){for(var n=arguments.length,r=Array(n),o=0;n>o;o++)r[o]=arguments[o];var i=function(e,t,n){if("number"==typeof t)return R(e instanceof M,"Bad mapping of type "+typeof e+" for key "+n+", event value must map to AnimatedValue"),void e.setValue(t);R("object"==typeof e,"Bad mapping of type "+typeof e+" for key "+n),R("object"==typeof t,"Bad event of type "+typeof t+" for key "+n);for(var n in e)i(e[n],t[n],n)};e.forEach(function(e,t){i(e,r[t],"arg"+t)}),t&&t.listener&&t.listener.apply(null,r)}};o.exports={delay:W,sequence:z,parallel:G,stagger:Y,decay:U,timing:q,spring:H,event:K,Value:M,ValueXY:A,__PropsOnlyForTests:V,View:c(S),Text:c(b),Image:c(h),createAnimatedComponent:c}}),__d("Interpolation",[],function(e,t,n,r,o){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t,n,r,o,i,a,s){var u=e;if(t>u){if("identity"===a)return u;"clamp"===a&&(u=t)}if(u>n){if("identity"===s)return u;"clamp"===s&&(u=n)}return r===o?r:t===n?t>=e?r:o:(t===-1/0?u=-u:1/0===n?u-=t:u=(u-t)/(n-t),u=i(u),r===-1/0?u=-u:1/0===o?u+=r:u=u*(o-r)+r,u)}function s(e){var t=e.outputRange;h(t.length>=2,"Bad output range"),u(t);var n=t[0].match(g).map(function(){return[]});t.forEach(function(e){e.match(g).forEach(function(e,t){n[t].push(+e)})});var r=t[0].match(g).map(function(t,r){return v.create(f({},e,{outputRange:n[r]}))});return function(e){var n=0;return t[0].replace(g,function(){return String(r[n++](e))})}}function u(e){for(var t=e[0].replace(g,""),n=1;n<e.length;++n)h(t===e[n].replace(g,""),"invalid pattern "+e[0]+" and "+e[n])}function c(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}function l(e){h(e.length>=2,"inputRange must have at least 2 elements");for(var t=1;t<e.length;++t)h(e[t]>=e[t-1],"inputRange must be monotonically increasing "+e)}function p(e,t){h(t.length>=2,e+" must have at least 2 elements"),h(2!==t.length||t[0]!==-1/0||1/0!==t[1],e+"cannot be ]-infinity;+infinity[ "+t)}var f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),h=function(e,t){if(!e){var n=new Error(t);throw n.framesToPop=1,n}},m=function(e){return e},v=function(){function e(){i(this,e)}return d(e,null,[{key:"create",value:function(e){if(e.outputRange&&"string"==typeof e.outputRange[0])return s(e);var t=e.outputRange;p("outputRange",t);var n=e.inputRange;p("inputRange",n),l(n),h(n.length===t.length,"inputRange ("+n.length+") and outputRange ("+t.length+") must have the same length");var r=e.easing||m,o="extend";void 0!==e.extrapolateLeft?o=e.extrapolateLeft:void 0!==e.extrapolate&&(o=e.extrapolate);var i="extend";return void 0!==e.extrapolateRight?i=e.extrapolateRight:void 0!==e.extrapolate&&(i=e.extrapolate),function(e){h("number"==typeof e,"Cannot interpolation an input which is not a number");var s=c(e,n);return a(e,n[s],n[s+1],t[s],t[s+1],r,o,i)}}}]),e}(),g=/[0-9\.-]+/g;o.exports=v}),__d("Easing",["bezier"],function(e,t,n,r,o){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=t("bezier"),u=function(){function e(){i(this,e)}return a(e,null,[{key:"step0",value:function(e){return e>0?1:0}},{key:"step1",value:function(e){return e>=1?1:0}},{key:"linear",value:function(e){return e}},{key:"ease",value:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(e){return c(e)})},{key:"quad",value:function(e){return e*e}},{key:"cubic",value:function(e){return e*e*e}},{key:"poly",value:function(e){return function(t){return Math.pow(t,e)}}},{key:"sin",value:function(e){return 1-Math.cos(e*Math.PI/2)}},{key:"circle",value:function(e){return 1-Math.sqrt(1-e*e)}},{key:"exp",value:function(e){return Math.pow(2,10*(e-1))}},{key:"elastic",value:function(e,t){var n,r=2*Math.PI;return arguments.length<2&&(t=.45),arguments.length?n=t/r*Math.asin(1/e):(e=1,n=t/4),function(o){return 1+e*Math.pow(2,-10*o)*Math.sin((o-n)*r/t)}}},{key:"back",value:function(e){return void 0===e&&(e=1.70158),function(t){return t*t*((e+1)*t-e)}}},{key:"bounce",value:function(e){return 1/2.75>e?7.5625*e*e:2/2.75>e?(e-=1.5/2.75,7.5625*e*e+.75):2.5/2.75>e?(e-=2.25/2.75,7.5625*e*e+.9375):(e-=2.625/2.75,7.5625*e*e+.984375)}},{key:"bezier",value:function(e,t,n,r,o){if(void 0===o){var i=500;o=1e3/60/i/4}return s(e,t,n,r,o)}},{key:"in",value:function(e){return e}},{key:"out",value:function(e){return function(t){return 1-e(1-t)}}},{key:"inOut",value:function(e){return function(t){return.5>t?e(2*t)/2:1-e(2*(1-t))/2}}}]),e}(),c=u.bezier(.42,0,1,1);o.exports=u}),__d("bezier",[],function(e,t,n,r,o){o.exports=function(e,t,n,r,o){var i=function(t){var r=1-t;return 3*r*r*t*e+3*r*t*t*n+t*t*t},a=function(e){var n=1-e;return 3*n*n*e*t+3*n*e*e*r+e*e*e},s=function(t){var r=1-t;return 3*(2*(t-1)*t+r*r)*e+3*(-t*t*t+2*r*t)*n};return function(e){var t,n,r,u,c,l,p=e;for(r=p,l=0;8>l;l++){if(u=i(r)-p,Math.abs(u)<o)return a(r);if(c=s(r),Math.abs(c)<1e-6)break;r-=u/c}if(t=0,n=1,r=p,t>r)return a(t);if(r>n)return a(n);for(;n>t;){if(u=i(r),Math.abs(u-p)<o)return a(r);p>u?t=r:n=r,r=.5*(n-t)+t}return a(r)}}}),__d("SpringConfig",[],function(e,t,n,r,o){"use strict";function i(e){return 3.62*(e-30)+194}function a(e){return 3*(e-8)+25}function s(e,t){return{tension:i(e),friction:a(t)}}function u(e,t){function n(e,t,n){return(e-t)/(n-t)}function r(e,t,n){return t+e*(n-t)}function o(e,t,n){return e*n+(1-e)*t}function s(e,t,n){return o(2*e-e*e,t,n)}function u(e){return 7e-4*Math.pow(e,3)-.031*Math.pow(e,2)+.64*e+1.28}function c(e){return 44e-6*Math.pow(e,3)-.006*Math.pow(e,2)+.36*e+2}function l(e){return 4.5e-7*Math.pow(e,3)-332e-6*Math.pow(e,2)+.1078*e+5.84}function p(e){return 18>=e?u(e):e>18&&44>=e?c(e):l(e)}var f=n(e/1.7,0,20);f=r(f,0,.8);var d=n(t/1.7,0,20),h=r(d,.5,200),m=s(f,p(h),.01);return{tension:i(h),friction:a(m)}}o.exports={fromOrigamiTensionAndFriction:s,fromBouncinessAndSpeed:u}}),__d("requestAnimationFrame",["emptyFunction","nativeRequestAnimationFrame"],function(e,t,n,r,o){var i=t("emptyFunction"),a=t("nativeRequestAnimationFrame"),s=0,u=a||function(t){var n=Date.now(),r=Math.max(0,16-(n-s));return s=n+r,e.setTimeout(function(){t(Date.now())},r)};u(i),o.exports=u}),__d("nativeRequestAnimationFrame",[],function(e,t,n,r,o){var i=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||e.msRequestAnimationFrame;o.exports=i}),__d("WebView",["ActivityIndicatorIOS","EdgeInsetsPropType","React","StyleSheet","Text","View","invariant","keyMirror","requireNativeComponent","NativeModules"],function(e,t,n,r,o){"use strict";var i=t("ActivityIndicatorIOS"),a=t("EdgeInsetsPropType"),s=t("React"),u=t("StyleSheet"),c=t("Text"),l=t("View"),p=t("invariant"),f=t("keyMirror"),d=t("requireNativeComponent"),h=s.PropTypes,m=t("NativeModules").WebViewManager,v="rgba(255,255,255,0.8)",g="webview",y=f({IDLE:null,LOADING:null,ERROR:null}),_={click:m.NavigationType.LinkClicked,formsubmit:m.NavigationType.FormSubmitted,backforward:m.NavigationType.BackForward,reload:m.NavigationType.Reload,formresubmit:m.NavigationType.FormResubmitted,other:m.NavigationType.Other},b=m.JSNavigationScheme,S=function(){return s.createElement(l,{style:T.loadingView},s.createElement(i,null))},R=function(e,t,n){return s.createElement(l,{style:T.errorContainer},s.createElement(c,{style:T.errorTextTitle},"Error loading page"),s.createElement(c,{style:T.errorText},"Domain: "+e),s.createElement(c,{style:T.errorText},"Error Code: "+t),s.createElement(c,{style:T.errorText},"Description: "+n))},E=s.createClass({statics:{JSNavigationScheme:b,NavigationType:_},propTypes:{url:h.string,html:h.string,renderError:h.func,renderLoading:h.func,bounces:h.bool,scrollEnabled:h.bool,automaticallyAdjustContentInsets:h.bool,contentInset:a,onNavigationStateChange:h.func,startInLoadingState:h.bool,style:l.propTypes.style,javaScriptEnabledAndroid:h.bool,injectedJavaScript:h.string,scalesPageToFit:h.bool},getInitialState:function(){return{viewState:y.IDLE,lastErrorEvent:null,startInLoadingState:!0}},componentWillMount:function(){this.props.startInLoadingState&&this.setState({viewState:y.LOADING})},render:function(){var e=null;if(this.state.viewState===y.LOADING)e=(this.props.renderLoading||S)();else if(this.state.viewState===y.ERROR){var t=this.state.lastErrorEvent;p(null!=t,"lastErrorEvent expected to be non-null"),e=(this.props.renderError||R)(t.domain,t.code,t.description)}else this.state.viewState!==y.IDLE&&console.error("RCTWebView invalid state encountered: "+this.state.loading);var n=[T.container,T.webView,this.props.style];(this.state.viewState===y.LOADING||this.state.viewState===y.ERROR)&&n.push(T.hidden);var r=s.createElement(x,{ref:g,key:"webViewKey",style:n,url:this.props.url,html:this.props.html,injectedJavaScript:this.props.injectedJavaScript,bounces:this.props.bounces,scrollEnabled:this.props.scrollEnabled,contentInset:this.props.contentInset,automaticallyAdjustContentInsets:this.props.automaticallyAdjustContentInsets,onLoadingStart:this.onLoadingStart,onLoadingFinish:this.onLoadingFinish,onLoadingError:this.onLoadingError,scalesPageToFit:this.props.scalesPageToFit});return s.createElement(l,{style:T.container},r,e)},goForward:function(){m.goForward(this.getWebViewHandle())},goBack:function(){m.goBack(this.getWebViewHandle())},reload:function(){m.reload(this.getWebViewHandle())},updateNavigationState:function(e){this.props.onNavigationStateChange&&this.props.onNavigationStateChange(e.nativeEvent)},getWebViewHandle:function(){return s.findNodeHandle(this.refs[g])},onLoadingStart:function(e){this.updateNavigationState(e)},onLoadingError:function(e){e.persist(),console.error("Encountered an error loading page",e.nativeEvent),this.setState({lastErrorEvent:e.nativeEvent,viewState:y.ERROR})},onLoadingFinish:function(e){this.setState({viewState:y.IDLE}),this.updateNavigationState(e)}}),x=d("RCTWebView",E),T=u.create({container:{flex:1},errorContainer:{flex:1,justifyContent:"center",alignItems:"center",backgroundColor:v},errorText:{fontSize:14,textAlign:"center",marginBottom:2},errorTextTitle:{fontSize:15,fontWeight:"500",marginBottom:10},hidden:{height:0,flex:0},loadingView:{backgroundColor:v,flex:1,justifyContent:"center",alignItems:"center"},webView:{backgroundColor:"#ffffff"}});o.exports=E}),__d("ActionSheetIOS",["NativeModules","invariant"],function(e,t,n,r,o){"use strict";var i=t("NativeModules").ActionSheetManager,a=t("invariant"),s={showActionSheetWithOptions:function(e,t){a("object"==typeof e&&null!==e,"Options must a valid object"),a("function"==typeof t,"Must provide a valid callback"),i.showActionSheetWithOptions(e,function(){},t)},showShareActionSheetWithOptions:function(e,t,n){a("object"==typeof e&&null!==e,"Options must a valid object"),a("function"==typeof t,"Must provide a valid failureCallback"),a("function"==typeof n,"Must provide a valid successCallback"),i.showShareActionSheetWithOptions(e,t,n)}};o.exports=s}),__d("AdSupportIOS",["NativeModules"],function(e,t,n,r,o){"use strict";var i=t("NativeModules").AdSupport;o.exports={getAdvertisingId:function(e,t){i.getAdvertisingId(e,t)},getAdvertisingTrackingEnabled:function(e,t){i.getAdvertisingTrackingEnabled(e,t)}}}),__d("AlertIOS",["NativeModules","invariant"],function(e,t,n,r,o){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=t("NativeModules").AlertManager,u=t("invariant"),c="OK",l={text:c,onPress:null},p=function(){function e(){i(this,e)}return a(e,null,[{key:"alert",value:function(e,t,n,r){var o=[],i=[];e=e||"",t=t||"",n=n||[l],r=r||"",n.forEach(function(e,t){o[t]=e.onPress;var n={};n[t]=e.text||c,i.push(n)}),s.alertWithArgs({title:e,message:t,buttons:i,type:r},function(e,t){var n=o[e];n&&n(t)})}},{key:"prompt",value:function(e,t,n,r){2===arguments.length?"object"==typeof t?(n=t,t=void 0):"function"==typeof t&&(r=t,t=void 0):3===arguments.length&&"function"==typeof n&&(r=n,n=void 0),u(!(r&&n)&&(r||n),"Must provide either a button list or a callback, but not both"),n||(n=[{text:"Cancel"},{text:"OK",onPress:r}]),this.alert(e,t,n,"plain-text")}}]),e}();o.exports=p}),__d("AppRegistry",["invariant","renderApplication","RCTRenderingPerf"],function(e,t,n,r,o){"use strict";var i=t("invariant"),a=t("renderApplication");__DEV__&&t("RCTRenderingPerf");var s={},u={registerConfig:function(e){for(var t=0;t<e.length;++t){var n=e[t];n.run?u.registerRunnable(n.appKey,n.run):(i(n.component,"No component provider passed in"),u.registerComponent(n.appKey,n.component))}},registerComponent:function(e,t){return s[e]={run:function(e){return a(t(),e.initialProps,e.rootTag)}},e},registerRunnable:function(e,t){return s[e]={run:t},e},getAppKeys:function(){return Object.keys(s)},runApplication:function(e,t){console.log('Running application "'+e+'" with appParams: '+JSON.stringify(t)+". __DEV__ === "+String(__DEV__)+", development-level warning are "+(__DEV__?"ON":"OFF")+", performance optimizations are "+(__DEV__?"OFF":"ON")),i(s[e]&&s[e].run,"Application "+e+" has not been registered. This is either due to a require() error during initialization or failure to call AppRegistry.registerComponent."),s[e].run(t)}};o.exports=u}),__d("renderApplication",["Inspector","RCTDeviceEventEmitter","React","StyleSheet","Subscribable","View","WarningBox","invariant","setupDevtools"],function(e,t,n,r,o){"use strict";function i(e,n,r){if(h(r,"Expect to have a valid rootTag, instead got ",r),__DEV__&&!window.document){var o=t("setupDevtools");o()}c.render(c.createElement(m,{rootTag:r},c.createElement(e,a({},n,{rootTag:r}))),r)}var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=t("Inspector"),u=t("RCTDeviceEventEmitter"),c=t("React"),l=t("StyleSheet"),p=t("Subscribable"),f=t("View"),d=t("WarningBox"),h=t("invariant"),m=c.createClass({mixins:[p.Mixin],getInitialState:function(){return{inspector:null}},toggleElementInspector:function(){var e=this.state.inspector?null:c.createElement(s,{rootTag:this.props.rootTag,inspectedViewTag:c.findNodeHandle(this.refs.main)});this.setState({inspector:e})},componentDidMount:function(){this.addListenerOn(u,"toggleElementInspector",this.toggleElementInspector)},render:function(){var e=__DEV__&&console.yellowBoxEnabled,t=e?c.createElement(d,null):null;return c.createElement(f,{style:v.appContainer},c.createElement(f,{collapsible:!1,style:v.appContainer,ref:"main"},this.props.children),t,this.state.inspector)}}),v=l.create({appContainer:{position:"absolute",left:0,top:0,right:0,bottom:0}});o.exports=i}),__d("Inspector",["Dimensions","InspectorOverlay","InspectorPanel","InspectorUtils","React","StyleSheet","NativeModules","View","flattenStyle"],function(e,t,n,r,o){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=function _(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:_(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)},c=t("Dimensions"),l=t("InspectorOverlay"),p=t("InspectorPanel"),f=t("InspectorUtils"),d=t("React"),h=t("StyleSheet"),m=t("NativeModules").UIManager,v=t("View");window.__REACT_DEVTOOLS_GLOBAL_HOOK__&&(window.__REACT_DEVTOOLS_GLOBAL_HOOK__.resolveRNStyle=t("flattenStyle"));var g=function(e){function t(e){i(this,t),u(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,e),this.state={devtoolsAgent:null,panelPos:"bottom",inspecting:!0,perfing:!1,inspected:null}}return a(t,e),s(t,[{key:"componentDidMount",value:function(){window.__REACT_DEVTOOLS_GLOBAL_HOOK__&&(this.attachToDevtools=this.attachToDevtools.bind(this),window.__REACT_DEVTOOLS_GLOBAL_HOOK__.on("react-devtools",this.attachToDevtools),window.__REACT_DEVTOOLS_GLOBAL_HOOK__.reactDevtoolsAgent&&this.attachToDevtools(window.__REACT_DEVTOOLS_GLOBAL_HOOK__.reactDevtoolsAgent))}},{key:"componentWillUnmount",value:function(){this._subs&&this._subs.map(function(e){return e()}),window.__REACT_DEVTOOLS_GLOBAL_HOOK__&&window.__REACT_DEVTOOLS_GLOBAL_HOOK__.off("react-devtools",this.attachToDevtools)}},{key:"attachToDevtools",value:function(e){var t=this,n=null,r=e.sub("highlight",function(e){var r=e.node,o=(e.name,e.props);clearTimeout(n),m.measure(r,function(e,n,r,i,a,s){t.setState({hierarchy:[],inspected:{frame:{left:a,top:s,width:r,height:i},style:o?o.style:{}}})})}),o=e.sub("hideHighlight",function(){null!==t.state.inspected&&(n=setTimeout(function(){t.setState({inspected:null})},100))});this._subs=[r,o],e.on("shutdown",function(){t.setState({devtoolsAgent:null}),t._subs=null}),this.setState({devtoolsAgent:e})}},{key:"setSelection",value:function(e){var t=this,n=this.state.hierarchy[e],r=n.getPublicInstance();m.measure(d.findNodeHandle(n),function(n,o,i,a,s,u){t.setState({inspected:{frame:{left:s,top:u,width:i,height:a},style:r.props?r.props.style:{}},selection:e})})}},{key:"onTouchInstance",value:function(e,t,n){this.state.devtoolsAgent&&this.state.devtoolsAgent.selectFromReactInstance(e,!0);var r=f.getOwnerHierarchy(e),o=e.getPublicInstance(),i=o.props||{};this.setState({panelPos:n>c.get("window").height/2?"top":"bottom",selection:r.length-1,hierarchy:r,inspected:{style:i.style||{},frame:t}})}},{key:"setPerfing",value:function(e){this.setState({perfing:e,inspecting:!1,inspected:null})}},{key:"setInspecting",value:function(e){this.setState({inspecting:e,inspected:null})}},{key:"render",value:function(){var e="bottom"===this.state.panelPos?{bottom:0}:{top:0};return d.createElement(v,{style:y.container,pointerEvents:"box-none"},this.state.inspecting&&d.createElement(l,{rootTag:this.props.rootTag,inspected:this.state.inspected,inspectedViewTag:this.props.inspectedViewTag,onTouchInstance:this.onTouchInstance.bind(this)}),d.createElement(v,{style:[y.panelContainer,e]},d.createElement(p,{devtoolsIsOpen:!!this.state.devtoolsAgent,inspecting:this.state.inspecting,perfing:this.state.perfing,setPerfing:this.setPerfing.bind(this),setInspecting:this.setInspecting.bind(this),inspected:this.state.inspected,hierarchy:this.state.hierarchy,selection:this.state.selection,setSelection:this.setSelection.bind(this)})))}}]),t}(d.Component),y=h.create({container:{position:"absolute",backgroundColor:"transparent",top:0,left:0,right:0,bottom:0},panelContainer:{position:"absolute",left:0,right:0}});o.exports=g}),__d("InspectorOverlay",["Dimensions","InspectorUtils","React","StyleSheet","NativeModules","View","ElementBox"],function(e,t,n,r,o){"use strict";var i=t("Dimensions"),a=t("InspectorUtils"),s=t("React"),u=t("StyleSheet"),c=t("NativeModules").UIManager,l=t("View"),p=t("ElementBox"),f=s.PropTypes,d=s.createClass({propTypes:{inspected:f.shape({frame:f.object,style:f.any}),inspectedViewTag:f.number,onTouchInstance:f.func.isRequired},findViewForTouchEvent:function(e){var t=this,n=e.nativeEvent.touches[0],r=n.locationX,o=n.locationY;c.findSubviewIn(this.props.inspectedViewTag,[r,o],function(e,n,r,i,s){var u=a.findInstanceByNativeTag(t.props.rootTag,e);u&&t.props.onTouchInstance(u,{left:n,top:r,width:i,height:s},o)})},shouldSetResponser:function(e){return this.findViewForTouchEvent(e),!0},render:function(){var e=null;return this.props.inspected&&(e=s.createElement(p,{frame:this.props.inspected.frame,style:this.props.inspected.style})),s.createElement(l,{onStartShouldSetResponder:this.shouldSetResponser,onResponderMove:this.findViewForTouchEvent,style:[h.inspector,{height:i.get("window").height}]},e)}}),h=u.create({inspector:{backgroundColor:"transparent",position:"absolute",left:0,top:0,right:0}});o.exports=d}),__d("ElementBox",["React","View","StyleSheet","BorderBox","resolveBoxStyle","flattenStyle"],function(e,t,n,r,o){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=function g(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:g(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)},c=t("React"),l=t("View"),p=t("StyleSheet"),f=t("BorderBox"),d=t("resolveBoxStyle"),h=t("flattenStyle"),m=function(e){function t(){i(this,t),u(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return a(t,e),s(t,[{key:"render",value:function(){var e=h(this.props.style)||{},t=d("margin",e),n=d("padding",e),r=this.props.frame;t&&(r={top:r.top-t.top,left:r.left-t.left,height:r.height+t.top+t.bottom,width:r.width+t.left+t.right});var o={width:this.props.frame.width,height:this.props.frame.height};return n&&(o={width:o.width-n.left-n.right,height:o.height-n.top-n.bottom}),c.createElement(l,{style:[v.frame,r],pointerEvents:"none"},c.createElement(f,{box:t,style:v.margin},c.createElement(f,{box:n,style:v.padding},c.createElement(l,{style:[v.content,o]}))))}}]),t}(c.Component),v=p.create({frame:{position:"absolute"},content:{backgroundColor:"rgba(200, 230, 255, 0.8)"},padding:{borderColor:"rgba(77, 255, 0, 0.3)"},margin:{borderColor:"rgba(255, 132, 0, 0.3)"}});o.exports=m}),__d("BorderBox",["React","View"],function(e,t,n,r,o){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=function f(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:f(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)},c=t("React"),l=t("View"),p=function(e){function t(){i(this,t),u(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return a(t,e),s(t,[{key:"render",value:function(){var e=this.props.box;if(!e)return this.props.children;var t={borderTopWidth:e.top,borderBottomWidth:e.bottom,borderLeftWidth:e.left,borderRightWidth:e.right};return c.createElement(l,{style:[t,this.props.style]},this.props.children)}}]),t}(c.Component);o.exports=p}),__d("resolveBoxStyle",[],function(e,t,n,r,o){"use strict";function i(e,t){var n={},r=["top","left","bottom","right"],o=!1;return r.forEach(function(r){n[r]=t[e]||0}),t[e]&&(o=!0),t[e+"Vertical"]&&(n.top=n.bottom=t[e+"Vertical"],o=!0),t[e+"Horizontal"]&&(n.left=n.right=t[e+"Horizontal"],o=!0),r.forEach(function(r){var i=t[e+a(r)];i&&(n[r]=i,o=!0)}),o?n:void 0}function a(e){return e[0].toUpperCase()+e.slice(1)}o.exports=i}),__d("InspectorPanel",["React","StyleSheet","Text","View","ElementProperties","PerformanceOverlay","TouchableHighlight"],function(e,t,n,r,o){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=function b(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:b(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)},c=t("React"),l=t("StyleSheet"),p=t("Text"),f=t("View"),d=t("ElementProperties"),h=t("PerformanceOverlay"),m=t("TouchableHighlight"),v=c.PropTypes,g=function(e){function t(){i(this,t),u(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return a(t,e),s(t,[{key:"renderWaiting",value:function(){return this.props.inspecting?c.createElement(p,{style:_.waitingText},"Tap something to inspect it"):c.createElement(p,{style:_.waitingText},"Nothing is inspected")}},{key:"render",value:function(){var e;return e=this.props.inspected?c.createElement(d,{style:this.props.inspected.style,frame:this.props.inspected.frame,hierarchy:this.props.hierarchy,selection:this.props.selection,setSelection:this.props.setSelection}):this.props.perfing?c.createElement(h,null):c.createElement(f,{style:_.waiting},this.renderWaiting()),c.createElement(f,{style:_.container},!this.props.devtoolsIsOpen&&e,c.createElement(f,{style:_.buttonRow},c.createElement(y,{title:"Inspect",pressed:this.props.inspecting,onClick:this.props.setInspecting}),c.createElement(y,{title:"Perf",pressed:this.props.perfing,onClick:this.props.setPerfing})))}}]),t}(c.Component);g.propTypes={devtoolsIsOpen:v.bool,inspecting:v.bool,setInspecting:v.func,inspected:v.object,perfing:v.bool,setPerfing:v.func};var y=function(e){function t(){i(this,t),u(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return a(t,e),s(t,[{key:"render",value:function(){var e=this;return c.createElement(m,{onPress:function(){return e.props.onClick(!e.props.pressed)},style:[_.button,this.props.pressed&&_.buttonPressed]},c.createElement(p,{style:_.buttonText},this.props.title))}}]),t}(c.Component),_=l.create({buttonRow:{flexDirection:"row"},button:{backgroundColor:"rgba(0, 0, 0, 0.3)",margin:2,height:30,justifyContent:"center",alignItems:"center"},buttonPressed:{backgroundColor:"rgba(255, 255, 255, 0.3)"},buttonText:{textAlign:"center",color:"white",margin:5},container:{backgroundColor:"rgba(0, 0, 0, 0.7)"},waiting:{height:100},waitingText:{fontSize:20,textAlign:"center",marginVertical:20}});o.exports=g}),__d("ElementProperties",["BoxInspector","ReactPropTypes","React","StyleInspector","StyleSheet","Text","TouchableHighlight","TouchableWithoutFeedback","View","flattenStyle","mapWithSeparator"],function(e,t,n,r,o){"use strict";var i=t("BoxInspector"),a=t("ReactPropTypes"),s=t("React"),u=t("StyleInspector"),c=t("StyleSheet"),l=t("Text"),p=t("TouchableHighlight"),f=t("TouchableWithoutFeedback"),d=t("View"),h=t("flattenStyle"),m=t("mapWithSeparator"),v=s.createClass({propTypes:{hierarchy:a.array.isRequired,style:a.oneOfType([a.object,a.array,a.number])},render:function(){var e=this,t=h(this.props.style),n=this.props.selection;return s.createElement(f,null,s.createElement(d,{style:g.info},s.createElement(d,{style:g.breadcrumb},m(this.props.hierarchy,function(t,r){return s.createElement(p,{style:[g.breadItem,r===n&&g.selected],onPress:function(){return e.props.setSelection(r)}},s.createElement(l,{style:g.breadItemText},t.getName?t.getName():"Unknown"))},function(){return s.createElement(l,{style:g.breadSep},"▸")})),s.createElement(d,{style:g.row},s.createElement(u,{style:t}),s.createElement(i,{style:t,frame:this.props.frame}))))}}),g=c.create({breadSep:{fontSize:8,color:"white"},breadcrumb:{flexDirection:"row",flexWrap:"wrap",marginBottom:5},selected:{borderColor:"white",borderRadius:5},breadItem:{borderWidth:1,borderColor:"transparent",marginHorizontal:2},breadItemText:{fontSize:10,color:"white",marginHorizontal:5},row:{flexDirection:"row",alignItems:"center",justifyContent:"space-between"},info:{padding:10},path:{color:"white",fontSize:9}});o.exports=v}),__d("BoxInspector",["React","StyleSheet","Text","View","resolveBoxStyle"],function(e,t,n,r,o){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=function y(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:y(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)},c=t("React"),l=t("StyleSheet"),p=t("Text"),f=t("View"),d=t("resolveBoxStyle"),h={top:0,left:0,right:0,bottom:0},m=function(e){function t(){i(this,t),u(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return a(t,e),s(t,[{key:"render",value:function(){var e=this.props.frame,t=this.props.style,n=t&&d("margin",t)||h,r=t&&d("padding",t)||h;return c.createElement(v,{title:"margin",titleStyle:g.marginLabel,box:n},c.createElement(v,{title:"padding",box:r},c.createElement(f,null,c.createElement(p,{style:g.innerText},"(",e.left,", ",e.top,")"),c.createElement(p,{style:g.innerText},e.width," × ",e.height))))}}]),t}(c.Component),v=function(e){function t(){i(this,t),u(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return a(t,e),s(t,[{key:"render",value:function(){var e=this.props.box;return c.createElement(f,{style:g.box},c.createElement(f,{style:g.row},c.createElement(p,{style:[this.props.titleStyle,g.label]},this.props.title),c.createElement(p,{style:g.boxText},e.top)),c.createElement(f,{style:g.row},c.createElement(p,{style:g.boxText},e.left),this.props.children,c.createElement(p,{style:g.boxText},e.right)),c.createElement(p,{style:g.boxText},e.bottom))}}]),t}(c.Component),g=l.create({row:{flexDirection:"row",alignItems:"center",justifyContent:"space-around"},marginLabel:{width:60},label:{fontSize:10,color:"rgb(255,100,0)",marginLeft:5,flex:1,textAlign:"left",top:-3},buffer:{fontSize:10,color:"yellow",flex:1,textAlign:"center"},innerText:{color:"yellow",fontSize:12,textAlign:"center",width:70},box:{borderWidth:1,borderColor:"grey"},boxText:{color:"white",fontSize:12,marginHorizontal:3,marginVertical:2,textAlign:"center"}});o.exports=m}),__d("StyleInspector",["React","StyleSheet","Text","View"],function(e,t,n,r,o){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=function m(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:m(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)},c=t("React"),l=t("StyleSheet"),p=t("Text"),f=t("View"),d=function(e){function t(){i(this,t),u(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return a(t,e),s(t,[{key:"render",value:function(){var e=this;if(!this.props.style)return c.createElement(p,{style:h.noStyle},"No style");var t=Object.keys(this.props.style);return c.createElement(f,{style:h.container},c.createElement(f,null,t.map(function(e){return c.createElement(p,{style:h.attr},e,":")})),c.createElement(f,null,t.map(function(t){return c.createElement(p,{style:h.value},e.props.style[t])})))}}]),t}(c.Component),h=l.create({container:{flexDirection:"row"},row:{flexDirection:"row",alignItems:"center",justifyContent:"space-around"},attr:{fontSize:10,color:"#ccc"},value:{fontSize:10,color:"white",marginLeft:10},noStyle:{color:"white",fontSize:10}});o.exports=d}),__d("mapWithSeparator",[],function(e,t,n,r,o){"use strict";function i(e,t,n){for(var r=[],o=0;o<e.length;o++)r.push(t(e[o],o,e)),o!==e.length-1&&r.push(n(o));return r}o.exports=i}),__d("PerformanceOverlay",["PerformanceLogger","React","StyleSheet","Text","View"],function(e,t,n,r,o){"use strict";var i=t("PerformanceLogger"),a=t("React"),s=t("StyleSheet"),u=t("Text"),c=t("View"),l=a.createClass({render:function(){var e=i.getTimespans(),t=[];for(var n in e)e[n].totalTime&&t.push(a.createElement(c,{style:p.row},a.createElement(u,{style:[p.text,p.label]},n),a.createElement(u,{style:[p.text,p.totalTime]},e[n].totalTime+"ms")));return a.createElement(c,{style:p.container},t)}}),p=s.create({container:{height:100,paddingTop:10},label:{flex:1},row:{flexDirection:"row",paddingHorizontal:10},text:{color:"white",fontSize:12},totalTime:{paddingRight:100}});o.exports=l}),__d("WarningBox",["AsyncStorage","EventEmitter","Map","PanResponder","React","StyleSheet","Text","TouchableOpacity","View","invariant","stringifySafe","Dimensions","rebound/rebound.js"],function(e,t,n,r,o){"use strict";function i(){s.setItem(b,JSON.stringify(E),function(e){e&&console.warn("Could not save ignored warnings.",e)})}var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=t("AsyncStorage"),u=t("EventEmitter"),c=t("Map"),l=t("PanResponder"),p=t("React"),f=t("StyleSheet"),d=t("Text"),h=t("TouchableOpacity"),m=t("View"),v=t("invariant"),g=t("rebound/rebound.js"),y=t("stringifySafe"),_=t("Dimensions").get("window").width,b="__DEV_WARNINGS_IGNORED",S=console.warn.bind(console),R=new c,E=[],x=0,T=new u;__DEV__&&(console.warn=function(){if(S.apply(null,arguments),console.yellowBoxEnabled){var e=Array.prototype.map.call(arguments,y).join(" ");if(console.yellowBoxResetIgnored||-1===E.indexOf(e)){var t=R.has(e)?R.get(e)+1:1;R.set(e,t),x+=1,T.emit("count",x)}}}),s.getItem(b,function(e,t){e||!t||console.yellowBoxResetIgnored||(E=JSON.parse(t))});var w=p.createClass({componentWillMount:function(){var e=this;this.springSystem=new g.SpringSystem,this.dismissalSpring=this.springSystem.createSpring(),this.dismissalSpring.setRestSpeedThreshold(.05),this.dismissalSpring.setCurrentValue(0),this.dismissalSpring.addListener({onSpringUpdate:function(){var t=e.dismissalSpring.getCurrentValue();e.text&&e.text.setNativeProps({left:_*t}),e.container&&e.container.setNativeProps({opacity:1-t}),e.closeButton&&e.closeButton.setNativeProps({opacity:1-5*t})},onSpringAtRest:function(){e.dismissalSpring.getCurrentValue()&&e.collapseSpring.setEndValue(1)}}),this.collapseSpring=this.springSystem.createSpring(),this.collapseSpring.setRestSpeedThreshold(.05),this.collapseSpring.setCurrentValue(0),this.collapseSpring.getSpringConfig().friction=20,this.collapseSpring.getSpringConfig().tension=200,this.collapseSpring.addListener({onSpringUpdate:function(){var t=e.collapseSpring.getCurrentValue();e.container&&e.container.setNativeProps({height:Math.abs(46-46*t)})},onSpringAtRest:function(){e.props.onDismissed()}}),this.panGesture=l.create({onStartShouldSetPanResponder:function(){return!!e.dismissalSpring.getCurrentValue()},onMoveShouldSetPanResponder:function(){return!0},onPanResponderGrant:function(){e.isResponderOnlyToBlockTouches=!!e.dismissalSpring.getCurrentValue()},onPanResponderMove:function(t,n){e.isResponderOnlyToBlockTouches||e.dismissalSpring.setCurrentValue(n.dx/_)},onPanResponderRelease:function(t,n){if(!e.isResponderOnlyToBlockTouches){var r=n.dx/_,o=n.vx+r>.5;e.dismissalSpring.setEndValue(o?1:0)}}})},render:function(){var e,t=this;return R.get(this.props.warning)>1&&(e=p.createElement(d,{style:P.bold},"(",R.get(this.props.warning),")"," ")),p.createElement(m,a({style:P.warningBox,ref:function(e){t.container=e}},this.panGesture.panHandlers),p.createElement(h,{onPress:this.props.onOpened},p.createElement(d,{style:P.warningText,numberOfLines:2,ref:function(e){t.text=e}},e,this.props.warning)),p.createElement(m,{ref:function(e){t.closeButton=e},style:P.closeButton},p.createElement(h,{onPress:function(){t.dismissalSpring.setEndValue(1)}},p.createElement(d,{style:P.closeButtonText},"✕"))))}}),C=p.createClass({render:function(){var e;return R.get(this.props.warning)>1&&(e=p.createElement(d,{style:P.bold},"(",R.get(this.props.warning),")"," ")),p.createElement(h,{activeOpacity:.9,onPress:this.props.onClose,style:P.yellowBox},p.createElement(d,{style:P.yellowBoxText},e,this.props.warning),p.createElement(m,{style:P.yellowBoxButtons},p.createElement(h,{onPress:this.props.onDismissed,style:P.yellowBoxButton},p.createElement(d,{style:P.yellowBoxButtonText},"Dismiss")),p.createElement(h,{onPress:this.props.onIgnored,style:P.yellowBoxButton},p.createElement(d,{style:P.yellowBoxButtonText},"Ignore"))))}}),I=!0,O=p.createClass({getInitialState:function(){return{totalWarningCount:x,openWarning:null}},componentWillMount:function(){console.yellowBoxResetIgnored&&(s.setItem(b,"[]",function(e){e&&console.warn("Could not reset ignored warnings.",e)}),E=[])},componentDidMount:function(){v(I,"There can only be one WarningBox"),I=!1,T.addListener("count",this._onWarningCount)},componentWillUnmount:function(){T.removeAllListeners(),I=!0},_onWarningCount:function(e){var t=this;setImmediate(function(){t.setState({totalWarningCount:e})})},_onDismiss:function(e){R["delete"](e),this.setState({openWarning:null})},render:function(){var e=this;if(0===R.size)return p.createElement(m,null);if(this.state.openWarning)return p.createElement(C,{warning:this.state.openWarning,onClose:function(){e.setState({openWarning:null})},onDismissed:this._onDismiss.bind(this,this.state.openWarning),onIgnored:function(){E.push(e.state.openWarning),i(),e._onDismiss(e.state.openWarning)}});var t=[];return R.forEach(function(n,r){t.push(p.createElement(w,{key:r,onOpened:function(){e.setState({openWarning:r})},onDismissed:e._onDismiss.bind(e,r),warning:r}))}),p.createElement(m,{style:P.warningContainer},t)}}),P=f.create({bold:{fontWeight:"bold"},closeButton:{position:"absolute",right:0,height:46,width:46},closeButtonText:{color:"white",fontSize:32,position:"relative",left:8},warningContainer:{position:"absolute",left:0,right:0,bottom:0},warningBox:{position:"relative",backgroundColor:"rgba(171, 124, 36, 0.9)",flex:1,height:46},warningText:{color:"white",position:"absolute",left:0,marginLeft:15,marginRight:46,top:7},yellowBox:{backgroundColor:"rgba(171, 124, 36, 0.9)",position:"absolute",left:0,right:0,top:0,bottom:0,padding:15,paddingTop:35},yellowBoxText:{color:"white",fontSize:20},yellowBoxButtons:{flexDirection:"row",position:"absolute",bottom:0},yellowBoxButton:{flex:1,padding:25},yellowBoxButtonText:{color:"white",fontSize:16}});o.exports=O}),__d("AsyncStorage",["NativeModules"],function(e,t,n,r,o){"use strict";function i(e){if(!e)return null;var t=new Error(e.message);return t.key=e.key,t}var a=t("NativeModules"),s=a.AsyncLocalStorage,u=a.AsyncRocksDBStorage,c=u||s,l={getItem:function(e,t){return new Promise(function(n,r){c.multiGet([e],function(e,o){var a=o&&o[0]&&o[0][1]?o[0][1]:null;t&&t(e&&i(e[0])||null,a),e?r(i(e[0])):n(a)})})},setItem:function(e,t,n){return new Promise(function(r,o){c.multiSet([[e,t]],function(e){n&&n(e&&i(e[0])||null),e?o(i(e[0])):r(null)})})},removeItem:function(e,t){return new Promise(function(n,r){c.multiRemove([e],function(e){t&&t(e&&i(e[0])||null),e?r(i(e[0])):n(null)})})},mergeItem:function(e,t,n){return new Promise(function(r,o){c.multiMerge([[e,t]],function(e){n&&n(e&&i(e[0])||null),e?o(i(e[0])):r(null)})})},clear:function(e){return new Promise(function(t,n){c.clear(function(r){e&&e(i(r)),r&&i(r)?n(i(r)):t(null)})})},getAllKeys:function(e){return new Promise(function(t,n){c.getAllKeys(function(r,o){e&&e(i(r),o),r?n(i(r)):t(o)})})},multiGet:function(e,t){return new Promise(function(n,r){c.multiGet(e,function(e,o){var a=e&&e.map(function(e){return i(e)})||null;t&&t(a,o),e?r(a):n(o)})})},multiSet:function(e,t){return new Promise(function(n,r){c.multiSet(e,function(e){var o=e&&e.map(function(e){return i(e)})||null;t&&t(o),e?r(o):n(null)})})},multiRemove:function(e,t){return new Promise(function(n,r){c.multiRemove(e,function(e){var o=e&&e.map(function(e){return i(e)})||null;t&&t(o),e?r(o):n(null)})})},multiMerge:function(e,t){return new Promise(function(n,r){c.multiMerge(e,function(e){var o=e&&e.map(function(e){return i(e)})||null;t&&t(o),e?r(o):n(null)})})}};c.multiMerge||(delete l.mergeItem,delete l.multiMerge),o.exports=l}),__d("setupDevtools",["flattenStyle","ReactCurrentOwner","ReactInstanceHandles","ReactNativeMount","ReactReconciler","ReactNativeTextComponent"],function(global,require,requireDynamic,requireLazy,module,exports){"use strict";function setupDevtools(){function tryToConnect(){ws.send("attach:agent");var e=setInterval(function(){return ws.send("attach:agent")},500);ws.onmessage=function(t){0===t.data.indexOf("eval:")&&(clearInterval(e),initialize(t.data.slice("eval:".length)))}}function initialize(text){try{eval(text)}catch(e){return void console.error("Failed to eval"+e.message)}window.__REACT_DEVTOOLS_GLOBAL_HOOK__.inject({CurrentOwner:require("ReactCurrentOwner"),InstanceHandles:require("ReactInstanceHandles"),Mount:require("ReactNativeMount"),Reconciler:require("ReactReconciler"),TextComponent:require("ReactNativeTextComponent")}),ws.onmessage=handleMessage}function handleMessage(e){var t;try{t=JSON.parse(e.data)}catch(n){return console.error("failed to parse json: "+e.data)}return t.$close||t.$error?(closeListeners.forEach(function(e){return e()}),window.__REACT_DEVTOOLS_GLOBAL_HOOK__.emit("shutdown"),void tryToConnect()):void(t.$open||messageListeners.forEach(function(e){try{e(t)}catch(n){throw console.log(t),n}}))}var messageListeners=[],closeListeners=[],ws=new window.WebSocket("ws://localhost:8081/devtools"),FOR_BACKEND={resolveRNStyle:require("flattenStyle"),wall:{listen:function(e){messageListeners.push(e)},onClose:function(e){closeListeners.push(e)},send:function(e){ws.send(JSON.stringify(e))}}};ws.onclose=function(){console.warn("devtools socket closed"),closeListeners.forEach(function(e){return e()})},ws.onerror=function(e){console.warn("devtools socket errored",e),closeListeners.forEach(function(e){return e()})},ws.onopen=function(){tryToConnect()}}module.exports=setupDevtools}),__d("RCTRenderingPerf",["ReactDefaultPerf","invariant"],function(e,t,n,r,o){"use strict";var i=t("ReactDefaultPerf"),a=t("invariant"),s=[],u=!1,c={toggle:function(){console.log("Render perfomance measurements enabled"),u=!0},start:function(){u&&(i.start(),s.forEach(function(e){return e.start()}))},stop:function(){if(u){i.stop(),i.printInclusive(),i.printWasted();for(var e=0,t=0,n=i.getLastMeasurements(),r=0;r<n.length;r++){var o=n[r].render;for(var a in o)e+=o[a];t+=n[r].totalTime}console.log("Total time spent in render(): "+e+"ms"),s.forEach(function(e){return e.stop()})}},register:function(e){a("function"==typeof e.start,"Perf module should have start() function"),a("function"==typeof e.stop,"Perf module should have stop() function"),s.push(e)}};o.exports=c}),__d("ReactDefaultPerf",["DOMProperty","ReactDefaultPerfAnalysis","ReactMount","ReactPerf","performanceNow"],function(e,t,n,r,o){"use strict";function i(e){return Math.floor(100*e)/100}function a(e,t,n){e[t]=(e[t]||0)+n}var s=t("DOMProperty"),u=t("ReactDefaultPerfAnalysis"),c=t("ReactMount"),l=t("ReactPerf"),p=t("performanceNow"),f={_allMeasurements:[],_mountStack:[0],_injected:!1,start:function(){f._injected||l.injection.injectMeasure(f.measure),f._allMeasurements.length=0,l.enableMeasure=!0},stop:function(){l.enableMeasure=!1},getLastMeasurements:function(){return f._allMeasurements},printExclusive:function(e){e=e||f._allMeasurements;var t=u.getExclusiveSummary(e);console.table(t.map(function(e){return{"Component class name":e.componentName,"Total inclusive time (ms)":i(e.inclusive),"Exclusive mount time (ms)":i(e.exclusive),"Exclusive render time (ms)":i(e.render),"Mount time per instance (ms)":i(e.exclusive/e.count),"Render time per instance (ms)":i(e.render/e.count),Instances:e.count}}))},printInclusive:function(e){e=e||f._allMeasurements;var t=u.getInclusiveSummary(e);console.table(t.map(function(e){return{"Owner > component":e.componentName,"Inclusive time (ms)":i(e.time),Instances:e.count}})),console.log("Total time:",u.getTotalTime(e).toFixed(2)+" ms")},getMeasurementsSummaryMap:function(e){var t=u.getInclusiveSummary(e,!0);return t.map(function(e){return{"Owner > component":e.componentName,"Wasted time (ms)":e.time,Instances:e.count}})},printWasted:function(e){e=e||f._allMeasurements,console.table(f.getMeasurementsSummaryMap(e)),console.log("Total time:",u.getTotalTime(e).toFixed(2)+" ms")},printDOM:function(e){e=e||f._allMeasurements;var t=u.getDOMSummary(e);console.table(t.map(function(e){var t={};return t[s.ID_ATTRIBUTE_NAME]=e.id,t.type=e.type,t.args=JSON.stringify(e.args),t})),console.log("Total time:",u.getTotalTime(e).toFixed(2)+" ms")},_recordWrite:function(e,t,n,r){var o=f._allMeasurements[f._allMeasurements.length-1].writes;o[e]=o[e]||[],o[e].push({type:t,time:n,args:r})},measure:function(e,t,n){return function(){for(var r=arguments.length,o=Array(r),i=0;r>i;i++)o[i]=arguments[i];var s,u,l;if("_renderNewRootComponent"===t||"flushBatchedUpdates"===t)return f._allMeasurements.push({exclusive:{},inclusive:{},render:{},counts:{},writes:{},displayNames:{},totalTime:0}),l=p(),u=n.apply(this,o),f._allMeasurements[f._allMeasurements.length-1].totalTime=p()-l,u;if("_mountImageIntoNode"===t||"ReactDOMIDOperations"===e){if(l=p(),u=n.apply(this,o),s=p()-l,"_mountImageIntoNode"===t){var d=c.getID(o[1]);f._recordWrite(d,t,s,o[0])}else"dangerouslyProcessChildrenUpdates"===t?o[0].forEach(function(e){var t={};null!==e.fromIndex&&(t.fromIndex=e.fromIndex),null!==e.toIndex&&(t.toIndex=e.toIndex),null!==e.textContent&&(t.textContent=e.textContent),null!==e.markupIndex&&(t.markup=o[1][e.markupIndex]),f._recordWrite(e.parentID,e.type,s,t)}):f._recordWrite(o[0],t,s,Array.prototype.slice.call(o,1));return u}if("ReactCompositeComponent"!==e||"mountComponent"!==t&&"updateComponent"!==t&&"_renderValidatedComponent"!==t)return n.apply(this,o);if("string"==typeof this._currentElement.type)return n.apply(this,o);var h="mountComponent"===t?o[0]:this._rootNodeID,m="_renderValidatedComponent"===t,v="mountComponent"===t,g=f._mountStack,y=f._allMeasurements[f._allMeasurements.length-1];if(m?a(y.counts,h,1):v&&g.push(0),l=p(),u=n.apply(this,o),s=p()-l,m)a(y.render,h,s);else if(v){var _=g.pop();g[g.length-1]+=s,a(y.exclusive,h,s-_),a(y.inclusive,h,s)}else a(y.inclusive,h,s);return y.displayNames[h]={current:this.getName(),owner:this._currentElement._owner?this._currentElement._owner.getName():"<root>"},u}}};o.exports=f}),__d("DOMProperty",["invariant"],function(e,t,n,r,o){"use strict";function i(e,t){return(e&t)===t}var a=t("invariant"),s={MUST_USE_ATTRIBUTE:1,MUST_USE_PROPERTY:2,HAS_SIDE_EFFECTS:4,HAS_BOOLEAN_VALUE:8,HAS_NUMERIC_VALUE:16,HAS_POSITIVE_NUMERIC_VALUE:48,HAS_OVERLOADED_BOOLEAN_VALUE:64,injectDOMPropertyConfig:function(e){var t=s,n=e.Properties||{},r=e.DOMAttributeNamespaces||{},o=e.DOMAttributeNames||{},u=e.DOMPropertyNames||{},l=e.DOMMutationMethods||{};e.isCustomAttribute&&c._isCustomAttributeFunctions.push(e.isCustomAttribute);for(var p in n){a(!c.properties.hasOwnProperty(p),"injectDOMPropertyConfig(...): You're trying to inject DOM property '%s' which has already been injected. You may be accidentally injecting the same DOM property config twice, or you may be injecting two configs that have conflicting property names.",p);var f=p.toLowerCase(),d=n[p],h={attributeName:f,attributeNamespace:null,propertyName:p,mutationMethod:null,mustUseAttribute:i(d,t.MUST_USE_ATTRIBUTE),mustUseProperty:i(d,t.MUST_USE_PROPERTY),hasSideEffects:i(d,t.HAS_SIDE_EFFECTS),hasBooleanValue:i(d,t.HAS_BOOLEAN_VALUE),hasNumericValue:i(d,t.HAS_NUMERIC_VALUE),hasPositiveNumericValue:i(d,t.HAS_POSITIVE_NUMERIC_VALUE),hasOverloadedBooleanValue:i(d,t.HAS_OVERLOADED_BOOLEAN_VALUE)};if(a(!h.mustUseAttribute||!h.mustUseProperty,"DOMProperty: Cannot require using both attribute and property: %s",p),a(h.mustUseProperty||!h.hasSideEffects,"DOMProperty: Properties that have side effects must use property: %s",p),a(h.hasBooleanValue+h.hasNumericValue+h.hasOverloadedBooleanValue<=1,"DOMProperty: Value can be one of boolean, overloaded boolean, or numeric value, but not a combination: %s",p),__DEV__&&(c.getPossibleStandardName[f]=p),o.hasOwnProperty(p)){var m=o[p];h.attributeName=m,__DEV__&&(c.getPossibleStandardName[m]=p)}r.hasOwnProperty(p)&&(h.attributeNamespace=r[p]),u.hasOwnProperty(p)&&(h.propertyName=u[p]),l.hasOwnProperty(p)&&(h.mutationMethod=l[p]),c.properties[p]=h}}},u={},c={ID_ATTRIBUTE_NAME:"data-reactid",properties:{},getPossibleStandardName:__DEV__?{}:null,_isCustomAttributeFunctions:[],isCustomAttribute:function(e){for(var t=0;t<c._isCustomAttributeFunctions.length;t++){var n=c._isCustomAttributeFunctions[t];if(n(e))return!0}return!1},getDefaultValueForProperty:function(e,t){var n,r=u[e];return r||(u[e]=r={}),t in r||(n=document.createElement(e),r[t]=n[t]),r[t]},injection:s};o.exports=c}),__d("ReactDefaultPerfAnalysis",["Object.assign"],function(e,t,n,r,o){function i(e){for(var t=0,n=0;n<e.length;n++){var r=e[n];t+=r.totalTime}return t}function a(e){for(var t=[],n=0;n<e.length;n++){var r,o=e[n];for(r in o.writes)o.writes[r].forEach(function(e){t.push({id:r,type:f[e.type]||e.type,args:e.args})})}return t}function s(e){for(var t,n={},r=0;r<e.length;r++){var o=e[r],i=l({},o.exclusive,o.inclusive);for(var a in i)t=o.displayNames[a].current,n[t]=n[t]||{componentName:t,inclusive:0,exclusive:0,render:0,count:0},o.render[a]&&(n[t].render+=o.render[a]),o.exclusive[a]&&(n[t].exclusive+=o.exclusive[a]),o.inclusive[a]&&(n[t].inclusive+=o.inclusive[a]),o.counts[a]&&(n[t].count+=o.counts[a])}var s=[];for(t in n)n[t].exclusive>=p&&s.push(n[t]);return s.sort(function(e,t){return t.exclusive-e.exclusive}),s}function u(e,t){for(var n,r={},o=0;o<e.length;o++){var i,a=e[o],s=l({},a.exclusive,a.inclusive);t&&(i=c(a));for(var u in s)if(!t||i[u]){var f=a.displayNames[u];n=f.owner+" > "+f.current,r[n]=r[n]||{componentName:n,time:0,count:0},a.inclusive[u]&&(r[n].time+=a.inclusive[u]),a.counts[u]&&(r[n].count+=a.counts[u])}}var d=[];for(n in r)r[n].time>=p&&d.push(r[n]);return d.sort(function(e,t){return t.time-e.time}),d}function c(e){var t={},n=Object.keys(e.writes),r=l({},e.exclusive,e.inclusive);for(var o in r){for(var i=!1,a=0;a<n.length;a++)if(0===n[a].indexOf(o)){i=!0;break}!i&&e.counts[o]>0&&(t[o]=!0)}return t}var l=t("Object.assign"),p=1.2,f={_mountImageIntoNode:"set innerHTML",INSERT_MARKUP:"set innerHTML",MOVE_EXISTING:"move",REMOVE_NODE:"remove",TEXT_CONTENT:"set textContent",updatePropertyByID:"update attribute",deletePropertyByID:"delete attribute",updateStylesByID:"update styles",updateInnerHTMLByID:"set innerHTML",dangerouslyReplaceNodeWithMarkupByID:"replace"},d={getExclusiveSummary:s,getInclusiveSummary:u,getDOMSummary:a,getTotalTime:i};o.exports=d}),__d("ReactMount",["DOMProperty","ReactBrowserEventEmitter","ReactCurrentOwner","ReactElement","ReactEmptyComponent","ReactInstanceHandles","ReactInstanceMap","ReactMarkupChecksum","ReactPerf","ReactReconciler","ReactUpdateQueue","ReactUpdates","emptyObject","containsNode","instantiateReactComponent","invariant","setInnerHTML","shouldUpdateReactComponent","validateDOMNesting","warning"],function(e,t,n,r,o){"use strict";function i(e,t){for(var n=Math.min(e.length,t.length),r=0;n>r;r++)if(e.charAt(r)!==t.charAt(r))return r;return e.length===t.length?-1:n}function a(e){return e?e.nodeType===z?e.documentElement:e.firstChild:null}function s(e){var t=a(e);return t&&Q.getID(t)}function u(e){var t=c(e);if(t)if(q.hasOwnProperty(t)){var n=q[t];n!==e&&(k(!d(n,t),"ReactMount: Two valid but unequal nodes with the same `%s`: %s",H,t),q[t]=e)}else q[t]=e;return t}function c(e){return e&&e.getAttribute&&e.getAttribute(H)||""}function l(e,t){var n=c(e);n!==t&&delete q[n],e.setAttribute(H,t),q[t]=e}function p(e){return q.hasOwnProperty(e)&&d(q[e],e)||(q[e]=Q.findReactNodeByID(e)),q[e]}function f(e){var t=w.get(e)._rootNodeID;return x.isNullComponentID(t)?null:(q.hasOwnProperty(t)&&d(q[t],t)||(q[t]=Q.findReactNodeByID(t)),q[t])}function d(e,t){if(e){k(c(e)===t,"ReactMount: Unexpected modification of `%s`",H);var n=Q.findReactContainerForID(t);if(n&&M(n,e))return!0}return!1}function h(e){delete q[e]}function m(e){var t=q[e];return t&&d(t,e)?void(X=t):!1}function v(e){X=null,T.traverseAncestors(e,m);var t=X;return X=null,t}function g(e,t,n,r,o,i){if(__DEV__){i===N&&(i={});var a=n.nodeName.toLowerCase();i[V.ancestorInfoContextKey]=V.updatedAncestorInfo(null,a,null)}var s=O.mountComponent(e,t,r,i);e._renderedComponent._topLevelWrapper=e,Q._mountImageIntoNode(s,n,o)}function y(e,t,n,r,o){var i=D.ReactReconcileTransaction.getPooled();i.perform(g,null,e,t,n,i,r,o),D.ReactReconcileTransaction.release(i)}function _(e,t){for(O.unmountComponent(e),t.nodeType===z&&(t=t.documentElement);t.lastChild;)t.removeChild(t.lastChild)}var b=t("DOMProperty"),S=t("ReactBrowserEventEmitter"),R=t("ReactCurrentOwner"),E=t("ReactElement"),x=t("ReactEmptyComponent"),T=t("ReactInstanceHandles"),w=t("ReactInstanceMap"),C=t("ReactMarkupChecksum"),I=t("ReactPerf"),O=t("ReactReconciler"),P=t("ReactUpdateQueue"),D=t("ReactUpdates"),N=t("emptyObject"),M=t("containsNode"),A=t("instantiateReactComponent"),k=t("invariant"),j=t("setInnerHTML"),L=t("shouldUpdateReactComponent"),V=t("validateDOMNesting"),F=t("warning"),B=T.SEPARATOR,H=b.ID_ATTRIBUTE_NAME,q={},U=1,z=9,G=11,W={},Y={};if(__DEV__)var K={};var Z=[],X=null,J=function(){};J.prototype.render=function(){return this.props};var Q={_instancesByReactRootID:W,scrollMonitor:function(e,t){t()},_updateRootComponent:function(e,t,n,r){return Q.scrollMonitor(n,function(){P.enqueueElementInternal(e,t),r&&P.enqueueCallbackInternal(e,r)}),__DEV__&&(K[s(n)]=a(n)),e},_registerComponent:function(e,t){k(t&&(t.nodeType===U||t.nodeType===z||t.nodeType===G),"_registerComponent(...): Target container is not a DOM element."),S.ensureScrollValueMonitoring();var n=Q.registerContainer(t);return W[n]=e,n},_renderNewRootComponent:function(e,t,n,r){F(null==R.current,"_renderNewRootComponent(): Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate. Check the render method of %s.",R.current&&R.current.getName()||"ReactCompositeComponent");var o=A(e,null),i=Q._registerComponent(o,t);return D.batchedUpdates(y,o,i,t,n,r),__DEV__&&(K[i]=a(t)),o},renderSubtreeIntoContainer:function(e,t,n,r){return k(null!=e&&null!=e._reactInternalInstance,"parentComponent must be a valid React Component"),Q._renderSubtreeIntoContainer(e,t,n,r)},_renderSubtreeIntoContainer:function(e,t,n,r){k(E.isValidElement(t),"React.render(): Invalid component element.%s","string"==typeof t?" Instead of passing an element string, make sure to instantiate it by passing it to React.createElement.":"function"==typeof t?" Instead of passing a component class, make sure to instantiate it by passing it to React.createElement.":null!=t&&void 0!==t.props?" This may be caused by unintentionally loading two independent copies of React.":""),F(!n||!n.tagName||"BODY"!==n.tagName.toUpperCase(),"render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.");var o=new E(J,null,null,null,t),i=W[s(n)];if(i){var u=i._currentElement,c=u.props;if(L(c,t))return Q._updateRootComponent(i,o,n,r)._renderedComponent.getPublicInstance();Q.unmountComponentAtNode(n)}var l=a(n),p=l&&Q.isRenderedByReact(l);if(__DEV__&&(!p||l.nextSibling))for(var f=l;f;){if(Q.isRenderedByReact(f)){F(!1,"render(): Target node has markup rendered by React, but there are unrelated nodes as well. This is most commonly caused by white-space inserted around server-rendered markup.");break}f=f.nextSibling}var d=p&&!i,h=Q._renderNewRootComponent(o,n,d,null!=e?e._reactInternalInstance._processChildContext(e._reactInternalInstance._context):N)._renderedComponent.getPublicInstance();return r&&r.call(h),h},render:function(e,t,n){return Q._renderSubtreeIntoContainer(null,e,t,n)},registerContainer:function(e){var t=s(e);return t&&(t=T.getReactRootIDFromNodeID(t)),t||(t=T.createReactRootID()),Y[t]=e,t},unmountComponentAtNode:function(e){F(null==R.current,"unmountComponentAtNode(): Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate. Check the render method of %s.",R.current&&R.current.getName()||"ReactCompositeComponent"),k(e&&(e.nodeType===U||e.nodeType===z||e.nodeType===G),"unmountComponentAtNode(...): Target container is not a DOM element.");var t=s(e),n=W[t];return n?(D.batchedUpdates(_,n,e),delete W[t],delete Y[t],__DEV__&&delete K[t],!0):!1},findReactContainerForID:function(e){var t=T.getReactRootIDFromNodeID(e),n=Y[t];if(__DEV__){var r=K[t];if(r&&r.parentNode!==n){F(c(r)===t,"ReactMount: Root element ID differed from reactRootID.");var o=n.firstChild;o&&t===c(o)?K[t]=o:F(!1,"ReactMount: Root element has been removed from its original container. New container: %s",r.parentNode)}}return n},findReactNodeByID:function(e){var t=Q.findReactContainerForID(e);return Q.findComponentRoot(t,e)},isRenderedByReact:function(e){if(1!==e.nodeType)return!1;var t=Q.getID(e);return t?t.charAt(0)===B:!1},getFirstReactDOM:function(e){for(var t=e;t&&t.parentNode!==t;){if(Q.isRenderedByReact(t))return t;t=t.parentNode}return null},findComponentRoot:function(e,t){var n=Z,r=0,o=v(t)||e;for(n[0]=o.firstChild,n.length=1;r<n.length;){for(var i,a=n[r++];a;){var s=Q.getID(a);s?t===s?i=a:T.isAncestorIDOf(s,t)&&(n.length=r=0,n.push(a.firstChild)):n.push(a.firstChild),a=a.nextSibling}if(i)return n.length=0,i}n.length=0,k(!1,"findComponentRoot(..., %s): Unable to find element. This probably means the DOM was unexpectedly mutated (e.g., by the browser), usually due to forgetting a <tbody> when using tables, nesting tags like <form>, <p>, or <a>, or using non-SVG elements in an <svg> parent. Try inspecting the child nodes of the element with React ID `%s`.",t,Q.getID(e))},_mountImageIntoNode:function(e,t,n){if(k(t&&(t.nodeType===U||t.nodeType===z||t.nodeType===G),"mountComponentIntoNode(...): Target container is not valid."),n){var r=a(t);if(C.canReuseMarkup(e,r))return;var o=r.getAttribute(C.CHECKSUM_ATTR_NAME);r.removeAttribute(C.CHECKSUM_ATTR_NAME);var s=r.outerHTML;r.setAttribute(C.CHECKSUM_ATTR_NAME,o);var u=i(e,s),c=" (client) "+e.substring(u-20,u+20)+"\n (server) "+s.substring(u-20,u+20);k(t.nodeType!==z,"You're trying to render a component to the document using server rendering but the checksum was invalid. This usually means you rendered a different component type or props on the client from the one on the server, or your render() methods are impure. React cannot handle this case due to cross-browser quirks by rendering at the document root. You should look for environment dependent code in your components and ensure the props are the same client and server side:\n%s",c),__DEV__&&F(!1,"React attempted to reuse markup in a container but the checksum was invalid. This generally means that you are using server rendering and the markup generated on the server was not what the client was expecting. React injected new markup to compensate which works but you have lost many of the benefits of server rendering. Instead, figure out why the markup being generated is different on the client or server:\n%s",c)}k(t.nodeType!==z,"You're trying to render a component to the document but you didn't use server rendering. We can't do this without using server rendering due to cross-browser quirks. See React.renderToString() for server rendering."),j(t,e)},getReactRootID:s,getID:u,setID:l,getNode:p,getNodeFromInstance:f,purgeID:h};I.measureMethods(Q,"ReactMount",{_renderNewRootComponent:"_renderNewRootComponent",_mountImageIntoNode:"_mountImageIntoNode"}),o.exports=Q}),__d("ReactBrowserEventEmitter",["EventConstants","EventPluginHub","EventPluginRegistry","ReactEventEmitterMixin","ViewportMetrics","Object.assign","isEventSupported"],function(e,t,n,r,o){"use strict";function i(e){return Object.prototype.hasOwnProperty.call(e,g)||(e[g]=m++,d[e[g]]={}),d[e[g]]}var a=t("EventConstants"),s=t("EventPluginHub"),u=t("EventPluginRegistry"),c=t("ReactEventEmitterMixin"),l=t("ViewportMetrics"),p=t("Object.assign"),f=t("isEventSupported"),d={},h=!1,m=0,v={topBlur:"blur",topChange:"change",topClick:"click",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topScroll:"scroll",topSelectionChange:"selectionchange",topTextInput:"textInput",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topWheel:"wheel"},g="_reactListenersID"+String(Math.random()).slice(2),y=p({},c,{ReactEventListener:null,injection:{injectReactEventListener:function(e){e.setHandleTopLevel(y.handleTopLevel),y.ReactEventListener=e}},setEnabled:function(e){y.ReactEventListener&&y.ReactEventListener.setEnabled(e)},isEnabled:function(){return!(!y.ReactEventListener||!y.ReactEventListener.isEnabled())},listenTo:function(e,t){for(var n=t,r=i(n),o=u.registrationNameDependencies[e],s=a.topLevelTypes,c=0;c<o.length;c++){var l=o[c];r.hasOwnProperty(l)&&r[l]||(l===s.topWheel?f("wheel")?y.ReactEventListener.trapBubbledEvent(s.topWheel,"wheel",n):f("mousewheel")?y.ReactEventListener.trapBubbledEvent(s.topWheel,"mousewheel",n):y.ReactEventListener.trapBubbledEvent(s.topWheel,"DOMMouseScroll",n):l===s.topScroll?f("scroll",!0)?y.ReactEventListener.trapCapturedEvent(s.topScroll,"scroll",n):y.ReactEventListener.trapBubbledEvent(s.topScroll,"scroll",y.ReactEventListener.WINDOW_HANDLE):l===s.topFocus||l===s.topBlur?(f("focus",!0)?(y.ReactEventListener.trapCapturedEvent(s.topFocus,"focus",n),y.ReactEventListener.trapCapturedEvent(s.topBlur,"blur",n)):f("focusin")&&(y.ReactEventListener.trapBubbledEvent(s.topFocus,"focusin",n),y.ReactEventListener.trapBubbledEvent(s.topBlur,"focusout",n)),r[s.topBlur]=!0,r[s.topFocus]=!0):v.hasOwnProperty(l)&&y.ReactEventListener.trapBubbledEvent(l,v[l],n),r[l]=!0)}},trapBubbledEvent:function(e,t,n){return y.ReactEventListener.trapBubbledEvent(e,t,n)},trapCapturedEvent:function(e,t,n){return y.ReactEventListener.trapCapturedEvent(e,t,n)},ensureScrollValueMonitoring:function(){if(!h){var e=l.refreshScrollValues;y.ReactEventListener.monitorScrollValue(e),h=!0}},eventNameDispatchConfigs:s.eventNameDispatchConfigs,registrationNameModules:s.registrationNameModules,putListener:s.putListener,getListener:s.getListener,deleteListener:s.deleteListener,deleteAllListeners:s.deleteAllListeners});o.exports=y}),__d("ViewportMetrics",[],function(e,t,n,r,o){"use strict";var i={currentScrollLeft:0,currentScrollTop:0,refreshScrollValues:function(e){i.currentScrollLeft=e.x,i.currentScrollTop=e.y}};o.exports=i}),__d("isEventSupported",["ExecutionEnvironment"],function(e,t,n,r,o){"use strict";function i(e,t){if(!s.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var o=document.createElement("div");o.setAttribute(n,"return;"),r="function"==typeof o[n]}return!r&&a&&"wheel"===e&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var a,s=t("ExecutionEnvironment");s.canUseDOM&&(a=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0),o.exports=i}),__d("ReactMarkupChecksum",["adler32"],function(e,t,n,r,o){"use strict";var i=t("adler32"),a={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=i(e);return e.replace(">"," "+a.CHECKSUM_ATTR_NAME+'="'+t+'">')},canReuseMarkup:function(e,t){var n=t.getAttribute(a.CHECKSUM_ATTR_NAME);n=n&&parseInt(n,10);var r=i(e);return r===n}};o.exports=a}),__d("adler32",[],function(e,t,n,r,o){"use strict";function i(e){for(var t=1,n=0,r=0;r<e.length;r++)t=(t+e.charCodeAt(r))%a,n=(n+t)%a;return t|n<<16}var a=65521;o.exports=i}),__d("containsNode",["isTextNode"],function(e,t,n,r,o){function i(e,t){return e&&t?e===t?!0:a(e)?!1:a(t)?i(e,t.parentNode):e.contains?e.contains(t):e.compareDocumentPosition?!!(16&e.compareDocumentPosition(t)):!1:!1}var a=t("isTextNode");o.exports=i}),__d("isTextNode",["isNode"],function(e,t,n,r,o){function i(e){return a(e)&&3==e.nodeType}var a=t("isNode");o.exports=i}),__d("setInnerHTML",["ExecutionEnvironment"],function(e,t,n,r,o){"use strict";var i=t("ExecutionEnvironment"),a=/^[ \r\n\t\f]/,s=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,u=function(e,t){e.innerHTML=t};if("undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction&&(u=function(e,t){MSApp.execUnsafeLocalFunction(function(){e.innerHTML=t})}),i.canUseDOM){var c=document.createElement("div");c.innerHTML=" ",""===c.innerHTML&&(u=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),a.test(t)||"<"===t[0]&&s.test(t)){e.innerHTML=String.fromCharCode(65279)+t;var n=e.firstChild;1===n.data.length?e.removeChild(n):n.deleteData(0,1)}else e.innerHTML=t})}o.exports=u}),__d("validateDOMNesting",["Object.assign","emptyFunction","warning"],function(e,t,n,r,o){"use strict";var i=t("Object.assign"),a=t("emptyFunction"),s=t("warning"),u=a;if(__DEV__){var c=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],l=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],p=l.concat(["button"]),f=["dd","dt","li","option","optgroup","p","rp","rt"],d={parentTag:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null},h=function(e,t,n){var r=i({},e||d),o={tag:t,instance:n};return-1!==l.indexOf(t)&&(r.aTagInScope=null,r.buttonTagInScope=null,r.nobrTagInScope=null),-1!==p.indexOf(t)&&(r.pTagInButtonScope=null),-1!==c.indexOf(t)&&"address"!==t&&"div"!==t&&"p"!==t&&(r.listItemTagAutoclosing=null,r.dlItemTagAutoclosing=null),r.parentTag=o,"form"===t&&(r.formTag=o),"a"===t&&(r.aTagInScope=o),"button"===t&&(r.buttonTagInScope=o),"nobr"===t&&(r.nobrTagInScope=o),"p"===t&&(r.pTagInButtonScope=o),"li"===t&&(r.listItemTagAutoclosing=o),("dd"===t||"dt"===t)&&(r.dlItemTagAutoclosing=o),r},m=function(e,t){switch(t){case"select":return"option"===e||"optgroup"===e||"#text"===e;case"optgroup":return"option"===e||"#text"===e;case"option":return"#text"===e;case"tr":return"th"===e||"td"===e||"style"===e||"script"===e||"template"===e;case"tbody":case"thead":case"tfoot":return"tr"===e||"style"===e||"script"===e||"template"===e;case"colgroup":return"col"===e||"template"===e;case"table":return"caption"===e||"colgroup"===e||"tbody"===e||"tfoot"===e||"thead"===e||"style"===e||"script"===e||"template"===e;case"head":return"base"===e||"basefont"===e||"bgsound"===e||"link"===e||"meta"===e||"title"===e||"noscript"===e||"noframes"===e||"style"===e||"script"===e||"template"===e;case"html":return"head"===e||"body"===e}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return"h1"!==t&&"h2"!==t&&"h3"!==t&&"h4"!==t&&"h5"!==t&&"h6"!==t;case"rp":case"rt":return-1===f.indexOf(t);case"caption":case"col":case"colgroup":case"frame":case"head":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return null==t}return!0},v=function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null},g=function(e){if(!e)return[];var t=[];do t.push(e);while(e=e._currentElement._owner);return t.reverse(),t},y={};u=function(e,t,n){n=n||d;var r=n.parentTag,o=r&&r.tag,i=m(e,o)?null:r,a=i?null:v(e,n),u=i||a;if(u){var c,l=u.tag,p=u.instance,f=t&&t._currentElement._owner,h=p&&p._currentElement._owner,_=g(f),b=g(h),S=Math.min(_.length,b.length),R=-1;for(c=0;S>c&&_[c]===b[c];c++)R=c;var E="(unknown)",x=_.slice(R+1).map(function(e){return e.getName()||E}),T=b.slice(R+1).map(function(e){return e.getName()||E}),w=[].concat(-1!==R?_[R].getName()||E:[],T,l,a?["..."]:[],x,e).join(" > "),C=!!i+"|"+e+"|"+l+"|"+w;if(y[C])return;if(y[C]=!0,i){var I="";"table"===l&&"tr"===e&&(I+=" Add a <tbody> to your code to match the DOM tree generated by the browser."),s(!1,"validateDOMNesting(...): <%s> cannot appear as a child of <%s>. See %s.%s",e,l,w,I)}else s(!1,"validateDOMNesting(...): <%s> cannot appear as a descendant of <%s>. See %s.",e,l,w)}},u.ancestorInfoContextKey="__validateDOMNesting_ancestorInfo$"+Math.random().toString(36).slice(2),u.updatedAncestorInfo=h,u.isTagValidInContext=function(e,t){t=t||d;var n=t.parentTag,r=n&&n.tag;return m(e,r)&&!v(e,t)}}o.exports=u}),__d("AppStateIOS",["Map","NativeModules","RCTDeviceEventEmitter","logError","invariant"],function(e,t,n,r,o){"use strict";var i=t("Map"),a=t("NativeModules"),s=t("RCTDeviceEventEmitter"),u=a.AppState,c=t("logError"),l=t("invariant"),p={change:new i,memoryWarning:new i},f={addEventListener:function(e,t){l(-1!==["change","memoryWarning"].indexOf(e),'Trying to subscribe to unknown event: "%s"',e),"change"===e?p[e].set(t,s.addListener("appStateDidChange",function(e){t(e.app_state)})):"memoryWarning"===e&&p[e].set(t,s.addListener("memoryWarning",t))},removeEventListener:function(e,t){l(-1!==["change","memoryWarning"].indexOf(e),'Trying to remove listener for unknown event: "%s"',e),p[e].has(t)&&(p[e].get(t).remove(),p[e]["delete"](t))},currentState:"active"};s.addListener("appStateDidChange",function(e){f.currentState=e.app_state}),u.getCurrentAppState(function(e){f.currentState=e.app_state},c),o.exports=f}),__d("CameraRoll",["ReactPropTypes","NativeModules","createStrictShapeTypeChecker","deepFreezeAndThrowOnMutationInDev","invariant"],function(e,t,n,r,o){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=t("ReactPropTypes"),u=t("NativeModules").CameraRollManager,c=t("createStrictShapeTypeChecker"),l=t("deepFreezeAndThrowOnMutationInDev"),p=t("invariant"),f=["Album","All","Event","Faces","Library","PhotoStream","SavedPhotos"],d=["All","Videos","Photos"];l(f),l(d);var h=c({first:s.number.isRequired,after:s.string,groupTypes:s.oneOf(f),groupName:s.string,assetType:s.oneOf(d),mimeTypes:s.arrayOf(s.string)}),m=c({edges:s.arrayOf(c({node:c({type:s.string.isRequired,group_name:s.string.isRequired,image:c({uri:s.string.isRequired,height:s.number.isRequired,width:s.number.isRequired,isStored:s.bool}).isRequired,timestamp:s.number.isRequired,location:c({latitude:s.number,longitude:s.number,altitude:s.number,heading:s.number,speed:s.number})}).isRequired})).isRequired,page_info:c({has_next_page:s.bool.isRequired,start_cursor:s.string,end_cursor:s.string}).isRequired}),v=function(){function e(){i(this,e)}return a(e,null,[{key:"saveImageWithTag",value:function(e,t,n){p("string"==typeof e,"CameraRoll.saveImageWithTag tag must be a valid string."),u.saveImageWithTag(e,function(e){t&&t(e)},function(e){n&&n(e)})}},{key:"getPhotos",value:function(e,t,n){var r=t;__DEV__&&(h({params:e},"params","CameraRoll.getPhotos"),p("function"==typeof t,"CameraRoll.getPhotos callback must be a valid function."),p("function"==typeof n,"CameraRoll.getPhotos errorCallback must be a valid function.")),__DEV__&&(r=function(e){m({response:e},"response","CameraRoll.getPhotos callback"),t(e)}),u.getPhotos(e,r,n)}}]),e}();v.GroupTypesOptions=f,v.AssetTypeOptions=d,o.exports=v}),__d("ImagePickerIOS",["NativeModules"],function(e,t,n,r,o){"use strict";var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=t("NativeModules").ImagePickerIOS,s={canRecordVideos:function(e){return a.canRecordVideos(e)},canUseCamera:function(e){return a.canUseCamera(e)},openCameraDialog:function(e,t,n){return e=i({videoMode:!1},e),a.openCameraDialog(e,t,n)},openSelectDialog:function(e,t,n){return e=i({showImages:!0,showVideos:!1},e),a.openSelectDialog(e,t,n)}};o.exports=s}),__d("LayoutAnimation",["ReactPropTypes","NativeModules","createStrictShapeTypeChecker","keyMirror"],function(e,t,n,r,o){"use strict";function i(e,t){v({config:e},"config","LayoutAnimation.configureNext"),u.configureNextLayoutAnimation(e,t||function(){},function(){})}function a(e,t,n){return{duration:e,create:{type:t,property:n},update:{type:t}}}var s=t("ReactPropTypes"),u=t("NativeModules").UIManager,c=t("createStrictShapeTypeChecker"),l=t("keyMirror"),p={spring:!0,linear:!0,easeInEaseOut:!0,easeIn:!0,easeOut:!0,keyboard:!0},f=l(p),d={opacity:!0,scaleXY:!0},h=l(d),m=c({duration:s.number,delay:s.number,springDamping:s.number,initialVelocity:s.number,type:s.oneOf(Object.keys(f)),property:s.oneOf(Object.keys(h))}),v=c({duration:s.number.isRequired,create:m,update:m,"delete":m}),g={easeInEaseOut:a(300,f.easeInEaseOut,h.opacity),linear:a(500,f.linear,h.opacity),spring:{duration:700,create:{type:f.linear,property:h.opacity},update:{type:f.spring,springDamping:.4}}},y={configureNext:i,create:a,Types:f,Properties:h,configChecker:v,Presets:g,easeInEaseOut:i.bind(null,g.easeInEaseOut),linear:i.bind(null,g.linear),spring:i.bind(null,g.spring)};o.exports=y}),__d("LinkingIOS",["RCTDeviceEventEmitter","NativeModules","Map","invariant"],function(e,t,n,r,o){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=t("RCTDeviceEventEmitter"),u=t("NativeModules").LinkingManager,c=t("Map"),l=t("invariant"),p=new c,f=u&&u.initialURL,d="openURL",h=function(){function e(){i(this,e)}return a(e,null,[{key:"addEventListener",value:function(e,t){l("url"===e,"LinkingIOS only supports `url` events");var n=s.addListener(d,t);p.set(t,n)}},{key:"removeEventListener",value:function(e,t){l("url"===e,"LinkingIOS only supports `url` events");var n=p.get(t);n&&(n.remove(),p["delete"](t))}},{key:"openURL",value:function(e){l("string"==typeof e,"Invalid url: should be a string"),u.openURL(e)}},{key:"canOpenURL",value:function(e,t){l("string"==typeof e,"Invalid url: should be a string"),l("function"==typeof t,"A valid callback function is required"),u.canOpenURL(e,t)}},{key:"popInitialURL",value:function(){var e=f;return f=null,e}}]),e}();o.exports=h}),__d("NetInfo",["Map","NativeModules","Platform","RCTDeviceEventEmitter"],function(e,t,n,r,o){"use strict";var i=t("Map"),a=t("NativeModules"),s=t("Platform"),u=t("RCTDeviceEventEmitter");if("ios"===s.OS)var c=a.Reachability;else if("android"===s.OS)var c=a.NetInfo;var l="reachabilityDidChange",p=new i,f={addEventListener:function(e,t){var n=u.addListener(l,function(e){t(e.network_reachability)});p.set(t,n)},removeEventListener:function(e,t){var n=p.get(t);n&&(n.remove(),p["delete"](t))},fetch:function(){return new Promise(function(e,t){c.getCurrentReachability(function(t){e(t.network_reachability)},t)})},isConnected:{},isConnectionMetered:{}};if("ios"===s.OS)var d=function(e){return"none"!==e&&"unknown"!==e};else if("android"===s.OS)var d=function(e){return"NONE"!==e&&"UNKNOWN"!==e};var h=new i;f.isConnected={addEventListener:function(e,t){var n=function(e){t(d(e))};h.set(t,n),f.addEventListener(e,n)},removeEventListener:function(e,t){var n=h.get(t);f.removeEventListener(e,n),h["delete"](t)},fetch:function(){return f.fetch().then(function(e){return d(e)})}},"android"===s.OS&&(f.isConnectionMetered=function(e){c.isConnectionMetered(function(t){e(t)})}),o.exports=f}),__d("PushNotificationIOS",["Map","RCTDeviceEventEmitter","NativeModules","invariant"],function(e,t,n,r,o){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=t("Map"),u=t("RCTDeviceEventEmitter"),c=t("NativeModules").PushNotificationManager,l=t("invariant"),p=new s,f=c&&c.initialNotification,d="remoteNotificationReceived",h="remoteNotificationsRegistered",m=function(){function e(t){var n=this;i(this,e),this._data={},Object.keys(t).forEach(function(e){var r=t[e];"aps"===e?(n._alert=r.alert,n._sound=r.sound,n._badgeCount=r.badge):n._data[e]=r})}return a(e,null,[{key:"presentLocalNotification",value:function(e){c.presentLocalNotification(e)}},{key:"scheduleLocalNotification",value:function(e){c.scheduleLocalNotification(e)}},{key:"setApplicationIconBadgeNumber",value:function(e){c.setApplicationIconBadgeNumber(e)}},{key:"getApplicationIconBadgeNumber",value:function(e){c.getApplicationIconBadgeNumber(e)}},{key:"addEventListener",value:function(t,n){l("notification"===t||"register"===t,"PushNotificationIOS only supports `notification` and `register` events");var r;"notification"===t?r=u.addListener(d,function(t){n(new e(t))}):"register"===t&&(r=u.addListener(h,function(e){n(e.deviceToken)})),p.set(n,r)}},{key:"requestPermissions",value:function(e){var t={};t=e?{alert:!!e.alert,badge:!!e.badge,sound:!!e.sound}:{alert:!0,badge:!0,sound:!0},c.requestPermissions(t)}},{key:"abandonPermissions",value:function(){c.abandonPermissions()}},{key:"checkPermissions",value:function(e){l("function"==typeof e,"Must provide a valid callback"),c.checkPermissions(e)}},{key:"removeEventListener",value:function(e,t){l("notification"===e||"register"===e,"PushNotificationIOS only supports `notification` and `register` events");var n=p.get(t);n&&(n.remove(),p["delete"](t))}},{key:"popInitialNotification",value:function(){var t=f&&new e(f);return f=null,t}}]),a(e,[{key:"getMessage",value:function(){return this._alert}},{key:"getSound",value:function(){return this._sound}},{key:"getAlert",value:function(){return this._alert}},{key:"getBadgeCount",value:function(){return this._badgeCount}},{key:"getData",value:function(){return this._data}}]),e}();o.exports=m}),__d("Settings",["RCTDeviceEventEmitter","NativeModules","invariant"],function(e,t,n,r,o){"use strict";var i=t("RCTDeviceEventEmitter"),a=t("NativeModules").SettingsManager,s=t("invariant"),u=[],c={_settings:a&&a.settings,get:function(e){return this._settings[e]},set:function(e){this._settings=Object.assign(this._settings,e),a.setValues(e)},watchKeys:function(e,t){"string"==typeof e&&(e=[e]),s(Array.isArray(e),"keys should be a string or array of strings");var n=u.length;return u.push({keys:e,callback:t}),n},clearWatch:function(e){e<u.length&&(u[e]={keys:[],callback:null})},_sendObservations:function(e){var t=this;Object.keys(e).forEach(function(n){var r=e[n],o=t._settings[n]!==r;t._settings[n]=r,o&&u.forEach(function(e){-1!==e.keys.indexOf(n)&&e.callback&&e.callback()})})}};i.addListener("settingsUpdated",c._sendObservations.bind(c)),o.exports=c}),__d("StatusBarIOS",["NativeModules"],function(e,t,n,r,o){"use strict";var i=t("NativeModules").StatusBarManager,a={setStyle:function(e,t){t=t||!1,i.setStyle(e,t)},setHidden:function(e,t){t=t||"none",i.setHidden(e,t)},setNetworkActivityIndicatorVisible:function(e){i.setNetworkActivityIndicatorVisible(e)}};o.exports=a}),__d("VibrationIOS",["NativeModules","invariant"],function(e,t,n,r,o){"use strict";var i=t("NativeModules").Vibration,a=t("invariant"),s={vibrate:function(){a(void 0===arguments[0],"Vibration patterns not supported."),i.vibrate()}};o.exports=s}),__d("RCTNativeAppEventEmitter",["EventEmitter"],function(e,t,n,r,o){"use strict";var i=t("EventEmitter"),a=new i;o.exports=a}),__d("LinkedStateMixin",["ReactLink","ReactStateSetters"],function(e,t,n,r,o){"use strict";var i=t("ReactLink"),a=t("ReactStateSetters"),s={linkState:function(e){return new i(this.state[e],a.createStateKeySetter(this,e))}};o.exports=s}),__d("ReactLink",["React"],function(e,t,n,r,o){"use strict";function i(e,t){this.value=e,this.requestChange=t}function a(e){var t={value:"undefined"==typeof e?s.PropTypes.any.isRequired:e.isRequired,requestChange:s.PropTypes.func.isRequired};return s.PropTypes.shape(t)}var s=t("React");i.PropTypes={link:a},o.exports=i}),__d("ReactStateSetters",[],function(e,t,n,r,o){"use strict";function i(e,t){var n={};return function(r){n[t]=r,e.setState(n)}}var a={createStateSetter:function(e,t){return function(n,r,o,i,a,s){var u=t.call(e,n,r,o,i,a,s);u&&e.setState(u)}},createStateKeySetter:function(e,t){var n=e.__keySetters||(e.__keySetters={});return n[t]||(n[t]=i(e,t))}};a.Mixin={createStateSetter:function(e){return a.createStateSetter(this,e)},createStateKeySetter:function(e){return a.createStateKeySetter(this,e)}},o.exports=a}),__d("ReactComponentWithPureRenderMixin",["shallowCompare"],function(e,t,n,r,o){"use strict";var i=t("shallowCompare"),a={shouldComponentUpdate:function(e,t){return i(this,e,t)}};o.exports=a}),__d("shallowCompare",["shallowEqual"],function(e,t,n,r,o){"use strict";function i(e,t,n){return!a(e.props,t)||!a(e.state,n)}var a=t("shallowEqual");o.exports=i}),__d("shallowEqual",[],function(e,t,n,r,o){"use strict";function i(e,t){if(e===t)return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=Object.prototype.hasOwnProperty.bind(t),i=0;i<n.length;i++)if(!o(n[i])||e[n[i]]!==t[n[i]])return!1;return!0}o.exports=i}),__d("update",["Object.assign","keyOf","invariant"],function(e,t,n,r,o){"use strict";function i(e){return Array.isArray(e)?e.concat():e&&"object"==typeof e?u(new e.constructor,e):e}function a(e,t,n){l(Array.isArray(e),"update(): expected target of %s to be an array; got %s.",n,e);var r=t[n];l(Array.isArray(r),"update(): expected spec of %s to be an array; got %s. Did you forget to wrap your parameter in an array?",n,r)}function s(e,t){if(l("object"==typeof t,"update(): You provided a key path to update() that did not contain one of %s. Did you forget to include {%s: ...}?",y.join(", "),m),p.call(t,m))return l(1===Object.keys(t).length,"Cannot have more than one key in an object with %s",m),t[m];var n=i(e);if(p.call(t,v)){var r=t[v];l(r&&"object"==typeof r,"update(): %s expects a spec of type 'object'; got %s",v,r),l(n&&"object"==typeof n,"update(): %s expects a target of type 'object'; got %s",v,n),u(n,t[v])}p.call(t,f)&&(a(e,t,f),t[f].forEach(function(e){n.push(e)})),p.call(t,d)&&(a(e,t,d),t[d].forEach(function(e){n.unshift(e)})),p.call(t,h)&&(l(Array.isArray(e),"Expected %s target to be an array; got %s",h,e),l(Array.isArray(t[h]),"update(): expected spec of %s to be an array of arrays; got %s. Did you forget to wrap your parameters in an array?",h,t[h]),t[h].forEach(function(e){l(Array.isArray(e),"update(): expected spec of %s to be an array of arrays; got %s. Did you forget to wrap your parameters in an array?",h,t[h]),n.splice.apply(n,e)})),p.call(t,g)&&(l("function"==typeof t[g],"update(): expected spec of %s to be a function; got %s.",g,t[g]),n=t[g](n));for(var o in t)_.hasOwnProperty(o)&&_[o]||(n[o]=s(e[o],t[o]));return n}var u=t("Object.assign"),c=t("keyOf"),l=t("invariant"),p={}.hasOwnProperty,f=c({$push:null}),d=c({$unshift:null}),h=c({$splice:null}),m=c({$set:null}),v=c({$merge:null}),g=c({$apply:null}),y=[f,d,h,m,v,g],_={};y.forEach(function(e){_[e]=!0}),o.exports=s}),__d("ReactTestUtils",["EventConstants","EventPluginHub","EventPropagators","React","ReactElement","ReactEmptyComponent","ReactBrowserEventEmitter","ReactCompositeComponent","ReactInstanceHandles","ReactInstanceMap","ReactMount","ReactUpdates","SyntheticEvent","Object.assign","emptyObject","findDOMNode","invariant"],function(e,t,n,r,o){"use strict";function i(){}function a(e,t){if(!e||!e.getPublicInstance)return[];var n=e.getPublicInstance(),r=t(n)?[n]:[];if(I.isDOMComponent(n)){var o,i=e._renderedChildren;for(o in i)i.hasOwnProperty(o)&&(r=r.concat(a(i[o],t)))}else I.isCompositeComponent(n)&&(r=r.concat(a(e._renderedComponent,t)));return r}function s(e){return function(t,n){var r;I.isDOMComponent(t)?r=T(t):t.tagName&&(r=t);var o=v.eventNameDispatchConfigs[e],a=new i;a.target=r;var s=new R(o,b.getID(r),a,r);E(s,n),o.phasedRegistrationNames?f.accumulateTwoPhaseDispatches(s):f.accumulateDirectDispatches(s),S.batchedUpdates(function(){p.enqueueEvents(s),p.processEventQueue()})}}function u(){I.Simulate={};var e;for(e in v.eventNameDispatchConfigs)I.Simulate[e]=s(e)}function c(e){return function(t,n){var r=new i(e);E(r,n),I.isDOMComponent(t)?I.simulateNativeEventOnDOMComponent(e,t,r):t.tagName&&I.simulateNativeEventOnNode(e,t,r)}}var l=t("EventConstants"),p=t("EventPluginHub"),f=t("EventPropagators"),d=t("React"),h=t("ReactElement"),m=t("ReactEmptyComponent"),v=t("ReactBrowserEventEmitter"),g=t("ReactCompositeComponent"),y=t("ReactInstanceHandles"),_=t("ReactInstanceMap"),b=t("ReactMount"),S=t("ReactUpdates"),R=t("SyntheticEvent"),E=t("Object.assign"),x=t("emptyObject"),T=t("findDOMNode"),w=t("invariant"),C=l.topLevelTypes,I={renderIntoDocument:function(e){var t=document.createElement("div");return d.render(e,t)},isElement:function(e){return h.isValidElement(e)},isElementOfType:function(e,t){return h.isValidElement(e)&&e.type===t},isDOMComponent:function(e){return!(!e||1!==e.nodeType||!e.tagName)},isDOMComponentElement:function(e){return!!(e&&h.isValidElement(e)&&e.tagName)},isCompositeComponent:function(e){return I.isDOMComponent(e)?!1:"function"==typeof e.render&&"function"==typeof e.setState},isCompositeComponentWithType:function(e,t){if(!I.isCompositeComponent(e))return!1;var n=_.get(e),r=n._currentElement.type;return r===t},isCompositeComponentElement:function(e){if(!h.isValidElement(e))return!1;var t=e.type.prototype;return"function"==typeof t.render&&"function"==typeof t.setState},isCompositeComponentElementWithType:function(e,t){var n=_.get(e),r=n._currentElement.type;return!(!I.isCompositeComponentElement(e)||r!==t)},getRenderedChildOfCompositeComponent:function(e){if(!I.isCompositeComponent(e))return null;var t=_.get(e);return t._renderedComponent.getPublicInstance()},findAllInRenderedTree:function(e,t){return e?(w(I.isCompositeComponent(e),"findAllInRenderedTree(...): instance must be a composite component"),a(_.get(e),t)):[]},scryRenderedDOMComponentsWithClass:function(e,t){return I.findAllInRenderedTree(e,function(e){if(I.isDOMComponent(e)){var n=d.findDOMNode(e).className;return n&&-1!==(""+n).split(/\s+/).indexOf(t)}return!1})},findRenderedDOMComponentWithClass:function(e,t){var n=I.scryRenderedDOMComponentsWithClass(e,t);if(1!==n.length)throw new Error("Did not find exactly one match (found: "+n.length+") for class:"+t);return n[0]},scryRenderedDOMComponentsWithTag:function(e,t){return I.findAllInRenderedTree(e,function(e){return I.isDOMComponent(e)&&e.tagName===t.toUpperCase()})},findRenderedDOMComponentWithTag:function(e,t){var n=I.scryRenderedDOMComponentsWithTag(e,t);if(1!==n.length)throw new Error("Did not find exactly one match for tag:"+t);return n[0]},scryRenderedComponentsWithType:function(e,t){return I.findAllInRenderedTree(e,function(e){return I.isCompositeComponentWithType(e,t)})},findRenderedComponentWithType:function(e,t){var n=I.scryRenderedComponentsWithType(e,t);if(1!==n.length)throw new Error("Did not find exactly one match for componentType:"+t+" (found "+n.length+")");return n[0]},mockComponent:function(e,t){return t=t||e.mockTagName||"div",e.prototype.render.mockImplementation(function(){return d.createElement(t,null,this.props.children)}),this},simulateNativeEventOnNode:function(e,t,n){n.target=t,v.ReactEventListener.dispatchEvent(e,n)},simulateNativeEventOnDOMComponent:function(e,t,n){I.simulateNativeEventOnNode(e,T(t),n)},nativeTouchData:function(e,t){return{touches:[{pageX:e,pageY:t}]}},createRenderer:function(){return new O},Simulate:null,SimulateNative:{}},O=function(){this._instance=null};O.prototype.getRenderOutput=function(){return this._instance&&this._instance._renderedComponent&&this._instance._renderedComponent._renderedOutput||null};var P=function(e){this._renderedOutput=e,this._currentElement=null===e||e===!1?m.emptyElement:e};P.prototype={mountComponent:function(){},receiveComponent:function(e){this._renderedOutput=e,this._currentElement=null===e||e===!1?m.emptyElement:e},unmountComponent:function(){}};var D=function(){};E(D.prototype,g.Mixin,{_instantiateReactComponent:function(e){return new P(e)},_replaceNodeWithMarkupByID:function(){},_renderValidatedComponent:g.Mixin._renderValidatedComponentWithoutOwnerOrContext}),O.prototype.render=function(e,t){t||(t=x);var n=S.ReactReconcileTransaction.getPooled();this._render(e,n,t),S.ReactReconcileTransaction.release(n)},O.prototype.unmount=function(){this._instance&&this._instance.unmountComponent()},O.prototype._render=function(e,t,n){if(this._instance)this._instance.receiveComponent(e,t,n);else{var r=y.createReactRootID(),o=new D(e.type);o.construct(e),o.mountComponent(r,t,n),this._instance=o}};var N=p.injection.injectEventPluginOrder;p.injection.injectEventPluginOrder=function(){N.apply(this,arguments),u()};var M=p.injection.injectEventPluginsByName;p.injection.injectEventPluginsByName=function(){M.apply(this,arguments),u()},u();var A;for(A in C){var k=0===A.indexOf("top")?A.charAt(3).toLowerCase()+A.substr(4):A;I.SimulateNative[k]=c(A)}o.exports=I}),__d("findDOMNode",["ReactCurrentOwner","ReactInstanceMap","ReactMount","invariant","warning"],function(e,t,n,r,o){"use strict";function i(e){if(__DEV__){var t=a.current;null!==t&&(l(t._warnedAboutRefsInRender,"%s is accessing getDOMNode or findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",t.getName()||"A component"),t._warnedAboutRefsInRender=!0)}return null==e?null:1===e.nodeType?e:s.has(e)?u.getNodeFromInstance(e):(c(null==e.render||"function"!=typeof e.render,"Component (with keys: %s) contains `render` method but is not mounted in the DOM",Object.keys(e)),void c(!1,"Element appears to be neither ReactComponent nor DOMNode (keys: %s)",Object.keys(e)))}var a=t("ReactCurrentOwner"),s=t("ReactInstanceMap"),u=t("ReactMount"),c=t("invariant"),l=t("warning");o.exports=i}),__d("AdvancedEffects/src/index.js",["image!Image","Dimensions","react-native/Libraries/react-native/react-native.js","AdvancedEffects/src/Banner.js","AdvancedEffects/src/Intro.js","AdvancedEffects/src/Vignette.js","AdvancedEffects/src/Slideshow.js"],function(e,t,n,r,o){function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=function R(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:R(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)};const c=t("react-native/Libraries/react-native/react-native.js"),l=c.StyleSheet,p=c.View,f=c.StatusBarIOS;var d=t("Dimensions").get("window");const h=d.width,m=d.height,v=t("AdvancedEffects/src/Banner.js"),g=t("AdvancedEffects/src/Intro.js"),y=t("AdvancedEffects/src/Vignette.js"),_=t("AdvancedEffects/src/Slideshow.js");var b=function(e){function n(e){i(this,n),u(Object.getPrototypeOf(n.prototype),"constructor",this).call(this,e),this.state={time:.02,frames:1,embeddedImage:t("image!Image"),images:"wxqlQkh,G2Whuq3,0bUSEBX,giP58XN,iKdXwVm,IvpoR40,zJIxPEo,CKlmtPs,fnMylHI,vGXYiYy,MnOB9Le,YqsZKgc,0BJobQo,Otbz312".split(",").map(function(e){return"http://imgur.com/"+e+".jpg"})},f.setHidden(!0)}return a(n,e),s(n,[{key:"componentDidMount",value:function(){var e=this,t=void 0;const n=function(r){requestAnimationFrame(n),t||(t=r);const o=(r-t)/1e3;e.setState({time:o,frames:e.state.frames+1})};requestAnimationFrame(n)}},{key:"render",value:function(){var e=this.state;const t=e.time,n=e.frames,r=e.images,o=e.embeddedImage,i=1,a=Math.floor(h/i),s=Math.floor(2/3*h/i),u=100,l=Math.floor(2/3*h);return c.createElement(p,{style:S.root},c.createElement(v,{time:t,width:h,height:m-u-s-l}),c.createElement(g,{time:t,fps:n/t,width:h,height:u}),c.createElement(y,{time:t,width:a,height:s,source:o}),c.createElement(_,{time:t,width:h,height:l,images:r.slice(2),pauseDuration:.5,transitionDuration:1.5}))}}]),n}(c.Component);const S=l.create({root:{flex:1,backgroundColor:"#111"}});o.exports=b}),__d("AdvancedEffects/src/Banner.js",["react-native/Libraries/react-native/react-native.js","gl-react-native/src/index.js"],function(e,t,n,r,o){function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=function d(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:d(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)};const c=t("react-native/Libraries/react-native/react-native.js"),l=t("gl-react-native/src/index.js"),p=l.Shaders.create({banner:{frag:"\nprecision highp float;\nvarying vec2 uv;\nuniform float time;\nvoid main( void ) {\n float color = 0.0;\n color += sin( uv.x * cos( time / 15.0 ) * 80.0 ) + cos( uv.y * cos( time / 15.0 ) * 10.0 );\n color += sin( uv.y * sin( time / 10.0 ) * 40.0 ) + cos( uv.x * sin( time / 25.0 ) * 40.0 );\n color += sin( uv.x * sin( time / 5.0 ) * 10.0 ) + sin( uv.y * sin( time / 35.0 ) * 80.0 );\n color *= sin( time / 10.0 ) * 0.5;\n gl_FragColor = vec4(\n smoothstep(0.0, 1.5, color),\n smoothstep(0.0, 0.5, color),\n smoothstep(1.0, 0.6, color) - smoothstep(0.1, 0.0, color),\n color\n ) * (pow(uv.y, 2.0));\n}\n"}});var f=function(e){function t(){i(this,t),u(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return a(t,e),s(t,[{key:"render",value:function(){var e=this.props;const t=e.width,n=e.height,r=e.time;return c.createElement(l.View,{shader:p.banner,width:t,height:n,uniforms:{time:r},opaque:!1})}}]),t}(c.Component);o.exports=f}),__d("gl-react-native/src/index.js",["gl-react-native/src/Shaders.js","gl-react-native/src/View.js","gl-react-native/src/Target.js","gl-react-native/src/Component.js"],function(e,t,n,r,o){const i=t("gl-react-native/src/Shaders.js"),a=t("gl-react-native/src/View.js"),s=t("gl-react-native/src/Target.js"),u=t("gl-react-native/src/Component.js");o.exports={Shaders:i,View:a,Target:s,Component:u}}),__d("gl-react-native/src/Shaders.js",["gl-react-core/src/index.js","react-native/Libraries/react-native/react-native.js"],function(e,t,n,r,o){var i=t("gl-react-core/src/index.js");const a=i.createShaders;var s=t("react-native/Libraries/react-native/react-native.js");const u=s.NativeModules.GLShadersRegistry;o.exports=a(function(e,t){u.register(e,t)})}),__d("gl-react-core/src/index.js",["gl-react-core/src/createComponent.js","gl-react-core/src/createShaders.js","gl-react-core/src/createTarget.js","gl-react-core/src/createView.js"],function(e,t,n,r,o){const i=t("gl-react-core/src/createComponent.js"),a=t("gl-react-core/src/createShaders.js"),s=t("gl-react-core/src/createTarget.js"),u=t("gl-react-core/src/createView.js");o.exports={createComponent:i,createShaders:a,createTarget:s,createView:u}}),__d("gl-react-core/src/createComponent.js",[],function(e,t,n,r,o){function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=function u(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:u(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)};o.exports=function(e){var t=function(e){function t(){i(this,t),s(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return a(t,e),t}(e.Component);return t}}),__d("gl-react-core/src/createShaders.js",["invariant"],function(e,t,n,r,o){const i=t("invariant");o.exports=function(e){var t=1;const n={create:function(n){i("object"==typeof n,"config must be an object");const r={};for(var o in n){const a=n[o];i("object"==typeof a&&"string"==typeof a.frag,"invalid shader given to Shaders.create(). A valid shader is a { frag: String }");const s=t++;a.name||(a.name=o),e(s,a),r[o]=s}return r},exists:function(e){return"number"==typeof e&&e>=1&&t>e}};return n}}),__d("invariant",[],function(e,t,n,r,o){"use strict";var i=function(e,t,n,r,o,i,a,s){if("production"!==process.env.NODE_ENV&&void 0===t)throw new Error("invariant requires an error message argument");if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],l=0;u=new Error("Invariant Violation: "+t.replace(/%s/g,function(){return c[l++]}))}throw u.framesToPop=1,u}};o.exports=i}),__d("gl-react-core/src/createTarget.js",["invariant"],function(e,t,n,r,o){function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=function l(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:l(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)};const c=t("invariant");o.exports=function(e){const t=e.Component,n=e.PropTypes;var r=function(e){function t(){i(this,t),u(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return a(t,e),s(t,[{key:"render",value:function(){c(!1,"GL.Target elements are for GL.View configuration only and should not be rendered")}}]),t}(t);return r.displayName="GL.Target",r.propTypes={children:n.any.isRequired,uniform:n.string.isRequired},r}}),__d("gl-react-core/src/createView.js",["invariant"],function(e,t,n,r,o){function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){return{type:"target",id:e}}function u(e){return"string"==typeof e&&(e={uri:e}),{type:"image",value:e}}function c(e){return{type:"framebuffer",id:e}}var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),f=function h(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:h(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)};const d=t("invariant");o.exports=function(e,t,n,r,o,h,m){function v(t){return 1===e.Children.count(t)?t instanceof Array?t[0]:t:null}function g(o,i,a,l,p,f){d(t.exists(o),"Shader #%s does not exists",o);const m={};for(var y in i){var _=i[y];!_||"string"!=typeof _&&("object"!=typeof _||_ instanceof Array)||(_=u(_)),m[y]=_}const S={shader:o,uniforms:m,width:a,height:l,children:[]};return e.Children.forEach(p,function(t){d(t.type===n,"GL.View can only contains children of type GL.Target. Got '%s'",t.type&&t.type.displayName||t);var o=t.props;const i=o.uniform,p=o.children,m=o.style;d("string"==typeof i&&i,"GL.Target must define an uniform String."),d(!(i in S.uniforms),"The uniform '%s' set by GL.Target is already defined in {uniforms} props");const y=v(p);if(y){if(!e.isValidElement(y))return void(S.uniforms[i]=u(y));var _=void 0,R=y;do{if(R.type===b){_=R;break}if("function"!=typeof R.type)break;const E=new R.type;if(!(E instanceof r))break;if(E.props=R.props,R=v(E.render()),R.type===b){_=R;break}}while(R);if(_){const x=S.children.length;var T=_.props;const w=T.shader,C=T.uniforms,p=T.children,I=g(w,C,a,l,p,f);return S.children.push(I),void(S.uniforms[i]=c(x))}}const x=f.length;S.uniforms[i]=s(x),f.push(h(m,a,l,x,p))}),S}const y=e.Component,_=e.PropTypes;var b=function(e){function t(e,n){i(this,t),f(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,e,n),this._renderId=1}return a(t,e),p(t,[{key:"render",value:function(){const e=this._renderId++,t=this.props,n=t.style,r=t.width,i=t.height,a=t.children,s=t.shader,u=t.uniforms,c=l({},t);delete c.style,delete c.width,delete c.height,delete c.shader,delete c.uniforms,delete c.children;const p=[],f=g(s,u,r,i,a,p);return o(n,r,i,p,m(c,r,i,f,p.length,e))}}]),t}(y);return b.displayName="GL.View",b.propTypes={shader:_.number.isRequired,width:_.number.isRequired,height:_.number.isRequired,uniforms:_.object,opaque:_.bool},b.defaultProps={opaque:!0},b}}),__d("gl-react-native/src/View.js",["gl-react-core/src/index.js","react-native/Libraries/react-native/react-native.js","gl-react-native/src/Shaders.js","gl-react-native/src/Target.js","gl-react-native/src/Component.js"],function(e,t,n,r,o){var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=t("gl-react-core/src/index.js");const s=a.createView,u=t("react-native/Libraries/react-native/react-native.js"),c=t("gl-react-native/src/Shaders.js"),l=t("gl-react-native/src/Target.js"),p=t("gl-react-native/src/Component.js"),f=u.requireNativeComponent,d=u.View,h=f("GLCanvas",null),m=function(e,t,n,r,o){const i={position:"absolute",top:0,left:0,width:t,height:n,overflow:"hidden"};return u.createElement(d,{style:[i,e]},o)},v=function(e,t,n,r,o,a){return u.createElement(h,i({ref:"native"},e,{style:i({},e.style,{width:t,height:n}),data:r,nbTargets:o,renderId:a}))},g=function(e,t,n,r,o){if(r){const a=i({},e,{position:"relative",width:t,height:n,overflow:"hidden"});return u.createElement(d,{style:a},r,o)}return o},y=s(u,c,l,p,g,m,v);y.prototype.setNativeProps=function(e){this.refs["native"].setNativeProps(e)},o.exports=y}),__d("gl-react-native/src/Target.js",["gl-react-core/src/index.js","react-native/Libraries/react-native/react-native.js"],function(e,t,n,r,o){var i=t("gl-react-core/src/index.js");const a=i.createTarget,s=t("react-native/Libraries/react-native/react-native.js");o.exports=a(s)}),__d("gl-react-native/src/Component.js",["react-native/Libraries/react-native/react-native.js","gl-react-core/src/index.js"],function(e,t,n,r,o){const i=t("react-native/Libraries/react-native/react-native.js");var a=t("gl-react-core/src/index.js");const s=a.createComponent;o.exports=s(i)}),__d("AdvancedEffects/src/Intro.js",["react-native/Libraries/react-native/react-native.js","gl-react-native/src/index.js"],function(e,t,n,r,o){function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=function m(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:m(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)};const c=t("react-native/Libraries/react-native/react-native.js"),l=c.View,p=c.Text,f=t("gl-react-native/src/index.js"),d=f.Shaders.create({drunkEffect:{frag:"\nprecision highp float;\nvarying vec2 uv;\n\nuniform float time;\nuniform float amp;\nuniform float freq;\nuniform float colorSeparation;\nuniform sampler2D texture;\nuniform float moving;\n\nvec2 lookup (vec2 offset) {\n return mod(\n uv + amp * vec2(cos(freq*(uv.x+offset.x)+time),sin(freq*(uv.y+offset.x)+time)) + vec2(moving * time/10.0, 0.0),\n vec2(1.0));\n}\n\nvoid main() {\n gl_FragColor = vec4(\n vec3(\n texture2D(texture, lookup(vec2(colorSeparation))).r,\n texture2D(texture, lookup(vec2(-colorSeparation))).g,\n texture2D(texture, lookup(vec2(0.0))).b),\n 1.0);\n}\n"}});var h=function(e){function t(){i(this,t),u(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return a(t,e),s(t,[{key:"render",value:function(){var e=this.props;const t=e.time,n=e.fps,r=e.width,o=e.height;return c.createElement(f.View,{shader:d.drunkEffect,width:r,height:o,opaque:!1,uniforms:{time:t,freq:20-14*Math.sin(t/7),amp:.05-.03*Math.cos(t/4),colorSeparation:.02,moving:1}},c.createElement(f.Target,{uniform:"texture",style:{justifyContent:"center"}},c.createElement(p,{style:{color:"#00BDF3",fontSize:32,letterSpacing:-1}},"GL REACT NATIVE"),c.createElement(l,{style:{flex:1,flexDirection:"row",alignItems:"center",justifyContent:"center"}},c.createElement(l,{style:{backgroundColor:"#00FF66",marginRight:8,width:14,height:14,borderRadius:7,opacity:.6>t%1?1:0}}),c.createElement(p,{style:{flex:1,color:"#00FF66",fontSize:14}},t.toFixed(2),"s"),c.createElement(p,{style:{flex:1,color:"#fff",fontSize:14}},n.toFixed(0)," fps"),c.createElement(p,{style:{flex:1,color:"#999",fontSize:14}},"<Text />"))))}}]),t}(c.Component);o.exports=h}),__d("AdvancedEffects/src/Vignette.js",["react-native/Libraries/react-native/react-native.js","gl-react-native/src/index.js"],function(e,t,n,r,o){function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=function d(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:d(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)};const c=t("react-native/Libraries/react-native/react-native.js"),l=t("gl-react-native/src/index.js"),p=l.Shaders.create({imageVignette:{frag:"\nprecision highp float;\nvarying vec2 uv;\n\nuniform float time;\nuniform float amp;\nuniform float freq;\nuniform sampler2D texture;\nuniform float moving;\n\nuniform vec2 finger;\n\nvec2 lookup (vec2 offset, float amp2) {\n return mod(\n uv + amp2 * amp * vec2(cos(freq*(uv.x+offset.x)+time),sin(freq*(uv.y+offset.x)+time)) + vec2(moving * time/10.0, 0.0),\n vec2(1.0));\n}\n\nvoid main() {\n float dist = distance(uv, finger);\n float amp2 = pow(1.0 - dist, 2.0);\n float colorSeparation = 0.02 * mix(amp2, 1.0, 0.5);\n vec2 orientation = vec2(1.0, 0.0);\n gl_FragColor = vec4(\n vec3(\n texture2D(texture, lookup(colorSeparation * orientation, amp2)).r,\n texture2D(texture, lookup(-colorSeparation * orientation, amp2)).g,\n texture2D(texture, lookup(vec2(0.0), amp2)).b),\n 1.0-min(0.95, pow(1.8 * distance(uv, finger), 4.0) + 0.5 * pow(distance(fract(50.0 * uv.y), 0.5), 2.0)));\n}\n"}});var f=function(e){function t(e){i(this,t),u(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,e),this.onResponderMove=this.onResponderMove.bind(this),this.state={finger:[.5,.5]}}return a(t,e),s(t,[{key:"onResponderMove",value:function(e){var t=this.props;const n=t.width,r=t.height;var o=e.nativeEvent;const i=o.locationX,a=o.locationY;this.setState({finger:[i/n,1-a/r]})}},{key:"render",value:function(){var e=this.props;const t=e.width,n=e.height,r=e.time,o=e.source,i=this.state.finger;return c.createElement(l.View,{onStartShouldSetResponder:function(){return!0},onMoveShouldSetResponder:function(){return!0},onResponderMove:this.onResponderMove,shader:p.imageVignette,width:t,height:n,opaque:!1,uniforms:{time:r,freq:10+2*Math.sin(.7*r),texture:o,amp:.05+Math.max(0,.03*Math.cos(r)),moving:0,finger:i}})}}]),t}(c.Component);o.exports=f}),__d("AdvancedEffects/src/Slideshow.js",["react-native/Libraries/react-native/react-native.js","gl-react-native/src/index.js","AdvancedEffects/src/TransitionGenerator.js","AdvancedEffects/src/Transition.js"],function(e,t,n,r,o){function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=function _(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:_(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)};const c=t("react-native/Libraries/react-native/react-native.js"),l=c.View,p=c.Text,f=c.StyleSheet,d=t("gl-react-native/src/index.js"),h=t("AdvancedEffects/src/TransitionGenerator.js"),m=t("AdvancedEffects/src/Transition.js"),v=d.Shaders.create(h.shaders);var g=function(e){function t(e){i(this,t),u(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,e),this._currentTransition=-1}return a(t,e),s(t,[{key:"render",value:function(){var e=this.props;const t=e.transitionDuration,n=e.pauseDuration,r=e.width,o=e.height,i=e.time,a=e.images,s=t+n,u=i/s;var f=Math.min(1,s/t*(u%1)),d=a[Math.floor(u)%a.length],g=a[Math.floor(u+1)%a.length];const _=Math.floor(u);if(_!==this._currentTransition){this._currentTransition=_;var b=h.random();const S=b.name,R=b.uniforms;this._name=S,this._shader=v[S],this._uniforms=R}const E=this._name,x=this._shader,T=this._uniforms;return c.createElement(l,{style:y.root},c.createElement(m,{width:r,height:o,progress:f,from:d,to:g,shader:x,uniforms:T}),c.createElement(l,{style:y.legend},c.createElement(p,{style:y.textName},E),c.createElement(p,{style:y.textInfo},"(GLSL.io)")))}}]),t}(c.Component);const y=f.create({root:{position:"relative"},legend:{position:"absolute",bottom:5,right:4,backgroundColor:"transparent",flexDirection:"row"},textName:{color:"#fff",fontWeight:"bold"},textInfo:{color:"#fff",marginLeft:8,opacity:.5}});o.exports=g}),__d("AdvancedEffects/src/TransitionGenerator.js",["glsl-transitions/index.js"],function(e,t,n,r,o){function i(){const e=l;l=l+1>=c.length?0:l+1;const t=c[e],n=t.genUniforms&&t.genUniforms()||{};return{name:t.name,uniforms:n}}var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};const s=t("glsl-transitions/index.js"),u={};s.forEach(function(e){u[e.name]=e});const c=[["directionalwipe",function(){const e=2*Math.random()*Math.PI;return{direction:[Math.cos(e),Math.sin(e)]}}],["cube",function(){return{persp:.9-Math.random()*Math.random(),unzoom:Math.random()*Math.random()}}],["randomsquares",function(){const e=Math.round(4+20*Math.random());return{size:[e,e],smoothness:Math.random()}}],"undulating burn out",["CrossZoom",function(){return{strength:.5*Math.random()}}],"swap",["wind",function(){return{size:.1+.2*Math.random()}}],"glitch displace",["Mosaic",function(){var e=Math.round(6*Math.random()-3),t=Math.round(6*Math.random()-3);return 0===e&&0===t&&(t=-1),{endx:e,endy:t}}],"Dreamy",["DoomScreenTransition",function(){return{barWidth:Math.round(6+20*Math.random()),amplitude:2*Math.random(),noise:.5*Math.random(),frequency:Math.random()}}],["doorway",function(){return{perspective:Math.random()*Math.random(),depth:1+10*Math.random()*Math.random()}}],"Star Wipe","pinwheel","TilesScanline",["flyeye",function(){return{size:Math.random()*Math.random(),zoom:200*Math.random()*Math.random(),colorSeparation:.8*Math.random()*Math.random()}}],"Swirl","burn","Radial","SimpleFlip",["ripple",function(){return{amplitude:200*Math.random(),speed:200*Math.random()}}],"morph",["flash",function(){return{flashIntensity:4*Math.random()}}],"squeeze","circleopen",["colourDistance",function(){return{interpolationPower:6*Math.random()}}]].map(function(e){var t=void 0,n=void 0;if("string"==typeof e?t=e:(t=e[0],n=e[1]),!(t in u))throw new Error("no transition called "+t);const r=u[t];return{transition:r,name:t,genUniforms:function(){return n?a({},r.uniforms,n()):r.uniforms}}});var l=0;const p={};c.forEach(function(e){p[e.name]={frag:e.transition.glsl}}),o.exports={shaders:p,random:i}}),__d("glsl-transitions/index.js",["glsl-transitions/transitions.min.json"],function(e,t,n,r,o){o.exports=t("glsl-transitions/transitions.min.json")}),__d("glsl-transitions/transitions.min.json",[],function(e,t,n,r,o){o.exports=[{id:"1f6e25d1075bb82e21db",name:"Blur",owner:"giangchau92",uniforms:{size:0},html_url:"https://gist.github.com/1f6e25d1075bb82e21db",created_at:"2015-05-03T16:04:27Z",updated_at:"2015-07-20T19:32:12Z",stars:0,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\n\n#define QUALITY 32\n\n#define N 20\nuniform sampler2D from;uniform sampler2D to;uniform float progress;uniform vec2 resolution;uniform float size;const float GOLDEN_ANGLE=2.399963229728653;vec4 blur(sampler2D t,vec2 c,float radius){vec4 sum=vec4(0.0);float q=float(QUALITY);for(int i=0;i<QUALITY;++i){float fi=float(i);float a=fi*GOLDEN_ANGLE;float r=sqrt(fi/q)*radius;vec2 p=c+r*vec2(cos(a),sin(a));sum+=texture2D(t,p);}return sum/q;}vec4 blur2(sampler2D t,vec2 p){vec4 sum=vec4(0.0);int count=0;vec2 delta=vec2(1.0,1.0)/resolution.xy;for(int i=-N;i<N;i++){for(int j=-N;j<N;j++){vec2 uv;uv.x=p.x+float(i)*delta.x;uv.y=p.y+float(j)*delta.y;sum+=texture2D(t,uv);count++;}}return sum/float(count);}void main(){vec2 p=gl_FragCoord.xy/resolution.xy;gl_FragColor=blur2(from,p);}"},{id:"1b4862e4e2050a3abebe",name:"glitch displace",owner:"mattdesl",uniforms:{},html_url:"https://gist.github.com/1b4862e4e2050a3abebe",created_at:"2015-01-15T19:48:03Z",updated_at:"2015-07-20T19:18:06Z",stars:1,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from,to;uniform float progress;uniform vec2 resolution;highp float random(vec2 co){highp float a=12.9898;highp float b=78.233;highp float c=43758.5453;highp float dt=dot(co.xy,vec2(a,b));highp float sn=mod(dt,3.14);return fract(sin(sn)*c);}float voronoi(in vec2 x){vec2 p=floor(x);vec2 f=fract(x);float res=8.0;for(float j=-1.;j<=1.;j++)for(float i=-1.;i<=1.;i++){vec2 b=vec2(i,j);vec2 r=b-f+random(p+b);float d=dot(r,r);res=min(res,d);}return sqrt(res);}vec2 displace(vec4 tex,vec2 texCoord,float dotDepth,float textureDepth,float strength){float b=voronoi(.003*texCoord+2.0);float g=voronoi(0.2*texCoord);float r=voronoi(texCoord-1.0);vec4 dt=tex*1.0;vec4 dis=dt*dotDepth+1.0-tex*textureDepth;dis.x=dis.x-1.0+textureDepth*dotDepth;dis.y=dis.y-1.0+textureDepth*dotDepth;dis.x*=strength;dis.y*=strength;vec2 res_uv=texCoord;res_uv.x=res_uv.x+dis.x-0.0;res_uv.y=res_uv.y+dis.y;return res_uv;}float ease1(float t){return t==0.0||t==1.0?t:t<0.5?+0.5*pow(2.0,(20.0*t)-10.0):-0.5*pow(2.0,10.0-(t*20.0))+1.0;}float ease2(float t){return t==1.0?t:1.0-pow(2.0,-10.0*t);}void main(){vec2 p=gl_FragCoord.xy/resolution.xy;vec4 color1=texture2D(from,p);vec4 color2=texture2D(to,p);vec2 disp=displace(color1,p,0.33,0.7,1.0-ease1(progress));vec2 disp2=displace(color2,p,0.33,0.5,ease2(progress));vec4 dColor1=texture2D(to,disp);vec4 dColor2=texture2D(from,disp2);float val=ease1(progress);vec3 gray=vec3(dot(min(dColor2,dColor1).rgb,vec3(0.299,0.587,0.114)));dColor2=vec4(gray,1.0);dColor2*=2.0;color1=mix(color1,dColor2,smoothstep(0.0,0.5,progress));color2=mix(color2,dColor1,smoothstep(1.0,0.5,progress));gl_FragColor=mix(color1,color2,val);}"},{id:"04fd9a7de4012cbb03f6",name:"crosshatch",owner:"pthrasher",uniforms:{},html_url:"https://gist.github.com/04fd9a7de4012cbb03f6",created_at:"2014-12-17T03:04:51Z",updated_at:"2015-07-20T19:34:07Z",stars:1,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from;uniform sampler2D to;uniform float progress;uniform vec2 resolution;const vec2 center=vec2(0.5,0.5);float quadraticInOut(float t){float p=2.0*t*t;return t<0.5?p:-p+(4.0*t)-1.0;}float rand(vec2 co){return fract(sin(dot(co.xy,vec2(12.9898,78.233)))*43758.5453);}void main(){vec2 p=gl_FragCoord.xy/resolution.xy;if(progress==0.0){gl_FragColor=texture2D(from,p);}else if(progress==1.0){gl_FragColor=texture2D(to,p);}else{float x=progress;float dist=distance(center,p);float r=x-min(rand(vec2(p.y,0.0)),rand(vec2(0.0,p.x)));float m=dist<=r?1.0:0.0;gl_FragColor=mix(texture2D(from,p),texture2D(to,p),m);}}"},{id:"8e6226b215548ba12734",name:"undulating burn out",owner:"pthrasher",uniforms:{smoothness:.02},html_url:"https://gist.github.com/8e6226b215548ba12734",created_at:"2014-12-16T23:01:57Z",updated_at:"2015-07-20T19:33:16Z",stars:2,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\n\n#define M_PI 3.14159265358979323846 /* pi */\nuniform sampler2D from;uniform sampler2D to;uniform float progress;uniform vec2 resolution;uniform float smoothness;const vec2 center=vec2(0.5,0.5);float quadraticInOut(float t){float p=2.0*t*t;return t<0.5?p:-p+(4.0*t)-1.0;}float linearInterp(vec2 range,vec2 domain,float x){return mix(range.x,range.y,smoothstep(domain.x,domain.y,clamp(x,domain.x,domain.y)));}float getGradient(float r,float dist){float grad=smoothstep(-smoothness,0.0,r-dist*(1.0+smoothness));if(r-dist<0.005&&r-dist>-0.005){return -1.0;}else if(r-dist<0.01&&r-dist>-0.005){return -2.0;}return grad;}float round(float a){return floor(a+0.5);}float getWave(vec2 p){vec2 _p=p-center;float rads=atan(_p.y,_p.x);float degs=degrees(rads)+180.0;vec2 range=vec2(0.0,M_PI*30.0);vec2 domain=vec2(0.0,360.0);float ratio=(M_PI*30.0)/360.0;degs=degs*ratio;float x=progress;float magnitude=mix(0.02,0.09,smoothstep(0.0,1.0,x));float offset=mix(40.0,30.0,smoothstep(0.0,1.0,x));float ease_degs=quadraticInOut(sin(degs));float deg_wave_pos=(ease_degs*magnitude)*sin(x*offset);return x+deg_wave_pos;}void main(){vec2 p=gl_FragCoord.xy/resolution.xy;if(progress==0.0){gl_FragColor=texture2D(from,p);}else if(progress==1.0){gl_FragColor=texture2D(to,p);}else{float dist=distance(center,p);float m=getGradient(getWave(p),dist);if(m==-2.0){gl_FragColor=mix(texture2D(from,p),vec4(0.0,0.0,0.0,1.0),0.75);}else{gl_FragColor=mix(texture2D(from,p),texture2D(to,p),m);}}}"},{id:"b3aa4a8b4f88dc228d4a",name:"test",owner:"brandonyoyo",uniforms:{},html_url:"https://gist.github.com/b3aa4a8b4f88dc228d4a",created_at:"2014-10-26T16:46:18Z",updated_at:"2015-07-20T19:18:46Z",stars:0,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from,to;uniform float progress;uniform vec2 resolution;void main(){vec2 p=gl_FragCoord.xy/resolution.xy;gl_FragColor=mix(texture2D(from,p),texture2D(to,p),progress);}"},{id:"d1f891c5585fc40b55ea",name:"Star Wipe",owner:"MemoryStomp",uniforms:{},html_url:"https://gist.github.com/d1f891c5585fc40b55ea",created_at:"2014-07-01T06:58:45Z",updated_at:"2015-07-20T19:24:46Z",stars:0,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from,to;uniform float progress;uniform vec2 resolution;vec2 circlePoint(float ang){ang+=6.28318*0.15;return vec2(cos(ang),sin(ang));}float cross2d(vec2 a,vec2 b){return (a.x*b.y-a.y*b.x);}float star(vec2 p,float size){if(size<=0.0){return 0.0;}p/=size;vec2 p0=circlePoint(0.0);vec2 p1=circlePoint(6.28318*1.0/5.0);vec2 p2=circlePoint(6.28318*2.0/5.0);vec2 p3=circlePoint(6.28318*3.0/5.0);vec2 p4=circlePoint(6.28318*4.0/5.0);float s0=(cross2d(p1-p0,p-p0));float s1=(cross2d(p2-p1,p-p1));float s2=(cross2d(p3-p2,p-p2));float s3=(cross2d(p4-p3,p-p3));float s4=(cross2d(p0-p4,p-p4));float s5=min(min(min(s0,s1),min(s2,s3)),s4);float s=max(1.0-sign(s0*s1*s2*s3*s4)+sign(s5),0.0);s=sign(2.6-length(p))*s;return max(s,0.0);}void main(){vec2 p=(gl_FragCoord.xy/resolution.xy);vec2 o=p*2.0-1.0;float t=progress*1.4;float c1=star(o,t);float c2=star(o,t-0.1);float border=max(c1-c2,0.0);gl_FragColor=mix(texture2D(from,p),texture2D(to,p),c1)+vec4(border,border,border,0.0);}"},{id:"5a4d1fb6711076d17e2e",name:"morph",owner:"paniq",uniforms:{},html_url:"https://gist.github.com/5a4d1fb6711076d17e2e",created_at:"2014-07-01T04:52:25Z",updated_at:"2015-07-27T15:08:48Z",stars:0,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from,to;uniform float progress;uniform vec2 resolution;const float strength=0.1;void main(){vec2 p=gl_FragCoord.xy/resolution.xy;vec4 ca=texture2D(from,p);vec4 cb=texture2D(to,p);vec2 oa=(((ca.rg+ca.b)*0.5)*2.0-1.0);vec2 ob=(((cb.rg+cb.b)*0.5)*2.0-1.0);vec2 oc=mix(oa,ob,0.5)*strength;float w0=progress;float w1=1.0-w0;gl_FragColor=mix(texture2D(from,p+oc*w0),texture2D(to,p-oc*w1),progress);}"},{id:"00973cee8e0353c73305",name:"LumaWipe",owner:"rectalogic",uniforms:{lumaTex:"conical-asym.png",invertLuma:!0,softness:.25},html_url:"https://gist.github.com/00973cee8e0353c73305",created_at:"2014-06-17T02:11:27Z",updated_at:"2015-07-20T19:31:54Z",stars:0,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from,to;uniform float progress;uniform vec2 resolution;uniform sampler2D lumaTex;uniform bool invertLuma;uniform float softness;void main(){vec2 p=gl_FragCoord.xy/resolution.xy;float luma=texture2D(lumaTex,p).x;if(invertLuma) luma=1.0-luma;vec4 fromColor=texture2D(from,p);vec4 toColor=texture2D(to,p);float time=mix(0.0,1.0+softness,progress);if(luma<=time-softness) gl_FragColor=toColor;else if(luma>=time) gl_FragColor=fromColor;else{float alpha=(time-luma)/softness;gl_FragColor=mix(fromColor,toColor,alpha);}}"},{id:"0141a38779af3a652c22",name:"simple luma",owner:"gre",uniforms:{luma:"spiral-1.png"},html_url:"https://gist.github.com/0141a38779af3a652c22",created_at:"2014-06-13T08:16:10Z",updated_at:"2015-07-20T19:20:23Z",stars:1,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from,to;uniform float progress;uniform vec2 resolution;uniform sampler2D luma;void main(){vec2 p=gl_FragCoord.xy/resolution.xy;gl_FragColor=mix(texture2D(from,p),texture2D(to,p),step(texture2D(luma,p).r,progress));}"},{id:"ee15128c2b87d0e74dee",name:"cube",owner:"gre",uniforms:{persp:.7,unzoom:.3,reflection:.4,floating:3},html_url:"https://gist.github.com/ee15128c2b87d0e74dee",created_at:"2014-06-12T17:13:17Z",updated_at:"2015-07-20T19:33:46Z",stars:1,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from,to;uniform float progress;uniform vec2 resolution;uniform float persp;uniform float unzoom;uniform float reflection;uniform float floating;vec2 project(vec2 p){return p*vec2(1.0,-1.2)+vec2(0.0,-floating/100.);}bool inBounds(vec2 p){return all(lessThan(vec2(0.0),p))&&all(lessThan(p,vec2(1.0)));}vec4 bgColor(vec2 p,vec2 pfr,vec2 pto){vec4 c=vec4(0.0,0.0,0.0,1.0);pfr=project(pfr);if(inBounds(pfr)){c+=mix(vec4(0.0),texture2D(from,pfr),reflection*mix(1.0,0.0,pfr.y));}pto=project(pto);if(inBounds(pto)){c+=mix(vec4(0.0),texture2D(to,pto),reflection*mix(1.0,0.0,pto.y));}return c;}vec2 xskew(vec2 p,float persp,float center){float x=mix(p.x,1.0-p.x,center);return ((vec2(x,(p.y-0.5*(1.0-persp)*x)/(1.0+(persp-1.0)*x))-vec2(0.5-distance(center,0.5),0.0))*vec2(0.5/distance(center,0.5)*(center<0.5?1.0:-1.0),1.0)+vec2(center<0.5?0.0:1.0,0.0));}void main(){vec2 op=gl_FragCoord.xy/resolution.xy;float uz=unzoom*2.0*(0.5-distance(0.5,progress));vec2 p=-uz*0.5+(1.0+uz)*op;vec2 fromP=xskew((p-vec2(progress,0.0))/vec2(1.0-progress,1.0),1.0-mix(progress,0.0,persp),0.0);vec2 toP=xskew(p/vec2(progress,1.0),mix(pow(progress,2.0),1.0,persp),1.0);if(inBounds(fromP)){gl_FragColor=texture2D(from,fromP);}else if(inBounds(toP)){gl_FragColor=texture2D(to,toP);}else{gl_FragColor=bgColor(op,fromP,toP);}}"},{id:"9b99fc01fd5705008a5b",name:"Glitch Memories",owner:"niseh",uniforms:{},html_url:"https://gist.github.com/9b99fc01fd5705008a5b",created_at:"2014-05-29T19:32:52Z",updated_at:"2015-07-20T19:33:58Z",stars:0,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from,to;uniform float progress;uniform vec2 resolution;void glitch_memories(sampler2D pic){vec2 p=gl_FragCoord.xy/resolution.xy;vec2 block=floor(gl_FragCoord.xy/vec2(16));vec2 uv_noise=block/vec2(64);uv_noise+=floor(vec2(progress)*vec2(1200.0,3500.0))/vec2(64);float block_thresh=pow(fract(progress*1200.0),2.0)*0.2;float line_thresh=pow(fract(progress*2200.0),3.0)*0.7;vec2 red=p,green=p,blue=p,o=p;vec2 dist=(fract(uv_noise)-0.5)*0.3;red+=dist*0.1;green+=dist*0.2;blue+=dist*0.125;gl_FragColor.r=texture2D(pic,red).r;gl_FragColor.g=texture2D(pic,green).g;gl_FragColor.b=texture2D(pic,blue).b;gl_FragColor.a=1.0;}void main(void){float smoothed=smoothstep(0.,1.,progress);if((smoothed<0.4&&smoothed>0.1)){glitch_memories(from);}else if((smoothed>0.6&&smoothed<0.9)){glitch_memories(to);}else{vec2 p=gl_FragCoord.xy/resolution.xy;gl_FragColor=mix(texture2D(from,p),texture2D(to,p),progress);}}"},{id:"fe67b3b5149738069537",name:"potleaf",owner:"Flexi23",uniforms:{},html_url:"https://gist.github.com/fe67b3b5149738069537",created_at:"2014-05-28T09:58:30Z",updated_at:"2015-07-20T19:32:45Z",stars:0,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from,to;uniform float progress;uniform vec2 resolution;void main(){vec2 uv=gl_FragCoord.xy/resolution.xy;vec2 leaf_uv=(uv-vec2(0.5))/10./pow(progress,3.5);leaf_uv.y+=0.35;float r=0.18;float o=atan(leaf_uv.y,leaf_uv.x);gl_FragColor=mix(texture2D(from,uv),texture2D(to,uv),1.-step(1.-length(leaf_uv)+r*(1.+sin(o))*(1.+0.9*cos(8.*o))*(1.+0.1*cos(24.*o))*(0.9+0.05*cos(200.*o)),1.));}"},{id:"b86b90161503a0023231",name:"CrossZoom",owner:"rectalogic",uniforms:{strength:.4},html_url:"https://gist.github.com/b86b90161503a0023231",created_at:"2014-05-25T01:24:39Z",updated_at:"2015-07-20T19:33:57Z",stars:2,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from,to;uniform float progress;uniform vec2 resolution;uniform float strength;const float PI=3.141592653589793;float Linear_ease(in float begin,in float change,in float duration,in float time){return change*time/duration+begin;}float Exponential_easeInOut(in float begin,in float change,in float duration,in float time){if(time==0.0) return begin;else if(time==duration) return begin+change;time=time/(duration/2.0);if(time<1.0) return change/2.0*pow(2.0,10.0*(time-1.0))+begin;return change/2.0*(-pow(2.0,-10.0*(time-1.0))+2.0)+begin;}float Sinusoidal_easeInOut(in float begin,in float change,in float duration,in float time){return -change/2.0*(cos(PI*time/duration)-1.0)+begin;}float random(in vec3 scale,in float seed){return fract(sin(dot(gl_FragCoord.xyz+seed,scale))*43758.5453+seed);}vec3 crossFade(in vec2 uv,in float dissolve){return mix(texture2D(from,uv).rgb,texture2D(to,uv).rgb,dissolve);}void main(){vec2 texCoord=gl_FragCoord.xy/resolution.xy;vec2 center=vec2(Linear_ease(0.25,0.5,1.0,progress),0.5);float dissolve=Exponential_easeInOut(0.0,1.0,1.0,progress);float strength=Sinusoidal_easeInOut(0.0,strength,0.5,progress);vec3 color=vec3(0.0);float total=0.0;vec2 toCenter=center-texCoord;float offset=random(vec3(12.9898,78.233,151.7182),0.0);for(float t=0.0;t<=40.0;t++){float percent=(t+offset)/40.0;float weight=4.0*(percent-percent*percent);color+=crossFade(texCoord+toCenter*percent*strength,dissolve)*weight;total+=weight;}gl_FragColor=vec4(color/total,1.0);}"},{id:"ce9279de351984f0ad27",name:"Slide",owner:"rectalogic",uniforms:{translateX:1,translateY:0},html_url:"https://gist.github.com/ce9279de351984f0ad27",created_at:"2014-05-25T01:13:20Z",updated_at:"2015-07-20T19:20:33Z",stars:0,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from,to;uniform float progress;uniform vec2 resolution;uniform float translateX;uniform float translateY;void main(){vec2 texCoord=gl_FragCoord.xy/resolution.xy;float x=progress*translateX;float y=progress*translateY;if(x>=0.0&&y>=0.0){if(texCoord.x>=x&&texCoord.y>=y){gl_FragColor=texture2D(from,texCoord-vec2(x,y));}else{vec2 uv;if(x>0.0) uv=vec2(x-1.0,y);else if(y>0.0) uv=vec2(x,y-1.0);gl_FragColor=texture2D(to,texCoord-uv);}}else if(x<=0.0&&y<=0.0){if(texCoord.x<=(1.0+x)&&texCoord.y<=(1.0+y)) gl_FragColor=texture2D(from,texCoord-vec2(x,y));else{vec2 uv;if(x<0.0) uv=vec2(x+1.0,y);else if(y<0.0) uv=vec2(x,y+1.0);gl_FragColor=texture2D(to,texCoord-uv);}}else gl_FragColor=vec4(0.0);}"},{id:"154a99fbe5300fb5c279",name:"pinwheel",owner:"mrspeaker",uniforms:{},html_url:"https://gist.github.com/154a99fbe5300fb5c279",created_at:"2014-05-23T21:56:59Z",updated_at:"2015-07-20T19:18:23Z",stars:0,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from,to;uniform float progress;uniform vec2 resolution;void main(){vec2 p=gl_FragCoord.xy/resolution.xy;float circPos=atan(p.y-0.5,p.x-0.5)+progress;float modPos=mod(circPos,3.1415/4.);float signed=sign(progress-modPos);float smoothed=smoothstep(0.,1.,signed);if(smoothed>0.5){gl_FragColor=texture2D(to,p);}else{gl_FragColor=texture2D(from,p);}}"},{id:"e54a807cdb66c8b16a34",name:"Kaleidoscope",owner:"nwoeanhinnogaehr",uniforms:{speed:1,angle:2,power:2},html_url:"https://gist.github.com/e54a807cdb66c8b16a34",created_at:"2014-05-23T19:02:46Z",updated_at:"2015-07-20T19:24:33Z",stars:0,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from,to;uniform float progress;uniform vec2 resolution;uniform float speed;uniform float angle;uniform float power;void main(){vec2 p=gl_FragCoord.xy/resolution.xy;vec2 q=p;float t=pow(progress,power)*speed;p=p-0.5;for(int i=0;i<7;i++){p=vec2(sin(t)*p.x+cos(t)*p.y,sin(t)*p.y-cos(t)*p.x);t+=angle;p=abs(mod(p,2.0)-1.0);}abs(mod(p,1.0));gl_FragColor=mix(mix(texture2D(from,q),texture2D(to,q),progress),mix(texture2D(from,p),texture2D(to,p),progress),1.0-2.0*abs(progress-0.5));}"},{id:"408045772d255df97520",name:"SimpleFlip",owner:"nwoeanhinnogaehr",uniforms:{},html_url:"https://gist.github.com/408045772d255df97520",created_at:"2014-05-23T18:42:58Z",updated_at:"2015-07-20T19:19:51Z",stars:0,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from,to;uniform float progress;uniform vec2 resolution;void main(){vec2 p=gl_FragCoord.xy/resolution.xy;vec2 q=p;p.x=(p.x-0.5)/abs(progress-0.5)*0.5+0.5;vec4 a=texture2D(from,p);vec4 b=texture2D(to,p);gl_FragColor=vec4(mix(a,b,step(0.5,progress)).rgb*step(abs(q.x-0.5),abs(progress-0.5)),1.0);}"},{id:"a070cbd69e2535e757f1",name:"DoomScreenTransition",owner:"zeh",uniforms:{barWidth:10,noise:.2,amplitude:2,frequency:1},html_url:"https://gist.github.com/a070cbd69e2535e757f1",created_at:"2014-05-23T18:00:18Z",updated_at:"2015-07-20T19:32:46Z",stars:1,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from,to;uniform float progress;uniform vec2 resolution;uniform int barWidth;uniform float amplitude;uniform float noise;uniform float frequency;float rand(int num){return fract(mod(float(num)*67123.313,12.0)*sin(float(num)*10.3)*cos(float(num)));}float wave(int num){float fn=float(num)*frequency*0.1*float(barWidth);return cos(fn*0.5)*cos(fn*0.13)*sin((fn+10.0)*0.3)/2.0+0.5;}float pos(int num){return noise==0.0?wave(num):mix(wave(num),rand(num),noise);}void main(){int bar=int(gl_FragCoord.x)/barWidth;float scale=1.0+pos(bar)*amplitude;float phase=progress*scale;float posY=gl_FragCoord.y/resolution.y;vec2 p;vec4 c;if(phase+posY<1.0){p=vec2(gl_FragCoord.x,gl_FragCoord.y+mix(0.0,resolution.y,phase))/resolution.xy;c=texture2D(from,p);}else{p=gl_FragCoord.xy/resolution.xy;c=texture2D(to,p);}gl_FragColor=c;}"},{id:"a830822b23e846e25d2d",name:"DreamyZoom",owner:"zeh",uniforms:{rotation:6,scale:1.2},html_url:"https://gist.github.com/a830822b23e846e25d2d",created_at:"2014-05-23T15:27:25Z",updated_at:"2015-07-20T19:31:41Z",stars:0,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\n\n#define DEG2RAD 0.03926990816987241548078304229099 // 1/180*PI\nuniform sampler2D from,to;uniform float progress;uniform vec2 resolution;uniform float rotation;uniform float scale;void main(){float phase=progress<0.5?progress*2.0:(progress-0.5)*2.0;float angleOffset=progress<0.5?mix(0.0,rotation*DEG2RAD,phase):mix(-rotation*DEG2RAD,0.0,phase);float newScale=progress<0.5?mix(1.0,scale,phase):mix(scale,1.0,phase);vec2 center=vec2(0,0);float maxRes=max(resolution.x,resolution.y);float resX=resolution.x/maxRes*0.5;float resY=resolution.y/maxRes*0.5;vec2 p=(gl_FragCoord.xy/maxRes-vec2(resX,resY))/newScale;float angle=atan(p.y,p.x)+angleOffset;float dist=distance(center,p);p.x=cos(angle)*dist+resX;p.y=sin(angle)*dist+resY;vec4 c=progress<0.5?texture2D(from,p):texture2D(to,p);gl_FragColor=c+(progress<0.5?mix(0.0,1.0,phase):mix(1.0,0.0,phase));}"},{id:"b6720916aa3f035949bc",name:"squareswipe",owner:"gre",uniforms:{squares:[10,10],direction:[1,-.5],smoothness:1.6},html_url:"https://gist.github.com/b6720916aa3f035949bc",created_at:"2014-05-23T12:09:38Z",updated_at:"2015-07-20T19:20:09Z",stars:0,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from,to;uniform float progress;uniform vec2 resolution;uniform ivec2 squares;uniform vec2 direction;uniform float smoothness;const vec2 center=vec2(0.5,0.5);void main(){vec2 p=gl_FragCoord.xy/resolution.xy;vec2 v=normalize(direction);if(v!=vec2(0.0)) v/=abs(v.x)+abs(v.y);float d=v.x*center.x+v.y*center.y;float offset=smoothness;float pr=smoothstep(-offset,0.0,v.x*p.x+v.y*p.y-(d-0.5+progress*(1.+offset)));vec2 squarep=fract(p*vec2(squares));vec2 squaremin=vec2(pr/2.0);vec2 squaremax=vec2(1.0-pr/2.0);float a=all(lessThan(squaremin,squarep))&&all(lessThan(squarep,squaremax))?1.0:0.0;gl_FragColor=mix(texture2D(from,p),texture2D(to,p),a);}"},{id:"169781bb76f310e2bfde",name:"TilesWaveBottomLeftToTopRight",owner:"numb3r23",uniforms:{tileSize:[64,64],checkerDistance:0,flipX:!1,flipY:!1,preTileSingleColor:!1,postTileSingleColor:!1},html_url:"https://gist.github.com/169781bb76f310e2bfde",created_at:"2014-05-21T22:50:48Z",updated_at:"2015-07-20T19:24:32Z",stars:0,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from,to;uniform float progress;uniform vec2 resolution;uniform vec2 tileSize;uniform float checkerDistance;uniform bool flipX;uniform bool flipY;uniform bool preTileSingleColor;uniform bool postTileSingleColor;vec2 tile2Global(vec2 tex,vec2 tileNum,bool tileSingleColor){vec2 perTile=tileSize/resolution.xy;return tileNum*perTile+(tileSingleColor?vec2(0):tex*perTile);}void main(void){vec2 uv=gl_FragCoord.xy/resolution.xy;vec4 fragColor=vec4(1,1,0,1);vec2 posInTile=mod(vec2(gl_FragCoord),tileSize);vec2 tileNum=floor(vec2(gl_FragCoord)/tileSize);int num=int(tileNum.x);vec2 totalTiles=ceil(resolution.xy/tileSize);float countTiles=totalTiles.x*totalTiles.y;vec2 perTile=ceil(tileSize/resolution.xy);float offset=0.0;offset=(tileNum.y+tileNum.x*perTile.y)/(sqrt(countTiles)*2.0);float timeOffset=(progress-offset)*countTiles;timeOffset=clamp(timeOffset,0.0,0.5);float sinTime=1.0-abs(cos(fract(timeOffset)*3.1415926));fragColor.rg=uv;fragColor.b=sinTime;vec2 texC=posInTile/tileSize;if(sinTime<=0.5){if(flipX){if((texC.x<sinTime)||(texC.x>1.0-sinTime)){discard;}if(texC.x<0.5){texC.x=(texC.x-sinTime)*0.5/(0.5-sinTime);}else{texC.x=(texC.x-0.5)*0.5/(0.5-sinTime)+0.5;}}if(flipY){if((texC.y<sinTime)||(texC.y>1.0-sinTime)){discard;}if(texC.y<0.5){texC.y=(texC.y-sinTime)*0.5/(0.5-sinTime);}else{texC.y=(texC.y-0.5)*0.5/(0.5-sinTime)+0.5;}}fragColor=texture2D(from,tile2Global(texC,tileNum,preTileSingleColor));}else{if(flipX){if((texC.x>sinTime)||(texC.x<1.0-sinTime)){discard;}if(texC.x<0.5){texC.x=(texC.x-sinTime)*0.5/(0.5-sinTime);}else{texC.x=(texC.x-0.5)*0.5/(0.5-sinTime)+0.5;}texC.x=1.0-texC.x;}if(flipY){if((texC.y>sinTime)||(texC.y<1.0-sinTime)){discard;}if(texC.y<0.5){texC.y=(texC.y-sinTime)*0.5/(0.5-sinTime);}else{texC.y=(texC.y-0.5)*0.5/(0.5-sinTime)+0.5;}texC.y=1.0-texC.y;}fragColor.rgb=texture2D(to,tile2Global(texC,tileNum,postTileSingleColor)).rgb;}gl_FragColor=fragColor;}"},{id:"5ebd3442a208861c7a8a",name:"TilesScanline",owner:"numb3r23",uniforms:{},html_url:"https://gist.github.com/5ebd3442a208861c7a8a",created_at:"2014-05-21T22:49:22Z",updated_at:"2015-07-20T19:31:40Z",stars:0,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from,to;uniform float progress;uniform vec2 resolution;const vec2 tileSize=vec2(64,64);const float checkerDistance=0.015;const bool flipX=true;const bool flipY=false;const bool preTileSingleColor=false;const bool postTileSingleColor=false;vec2 tile2Global(vec2 tex,vec2 tileNum,bool tileSingleColor){vec2 perTile=tileSize/resolution.xy;return tileNum*perTile+(tileSingleColor?vec2(0):tex*perTile);}void main(void){vec2 uv=gl_FragCoord.xy/resolution.xy;vec4 fragColor=vec4(1,1,0,1);vec2 posInTile=mod(vec2(gl_FragCoord),tileSize);vec2 tileNum=floor(vec2(gl_FragCoord)/tileSize);int num=int(tileNum.x);vec2 totalTiles=ceil(resolution.xy/tileSize);float countTiles=totalTiles.x*totalTiles.y;vec2 perTile=ceil(tileSize/resolution.xy);float offset=0.0;offset=(tileNum.x+tileNum.y*totalTiles.x)/countTiles;float timeOffset=(progress-offset)*countTiles;timeOffset=clamp(timeOffset,0.0,0.5);float sinTime=1.0-abs(cos(fract(timeOffset)*3.1415926));fragColor.rg=uv;fragColor.b=sinTime;vec2 texC=posInTile/tileSize;if(sinTime<=0.5){if(flipX){if((texC.x<sinTime)||(texC.x>1.0-sinTime)){discard;}if(texC.x<0.5){texC.x=(texC.x-sinTime)*0.5/(0.5-sinTime);}else{texC.x=(texC.x-0.5)*0.5/(0.5-sinTime)+0.5;}}if(flipY){if((texC.y<sinTime)||(texC.y>1.0-sinTime)){discard;}if(texC.y<0.5){texC.y=(texC.y-sinTime)*0.5/(0.5-sinTime);}else{texC.y=(texC.y-0.5)*0.5/(0.5-sinTime)+0.5;}}fragColor=texture2D(from,tile2Global(texC,tileNum,preTileSingleColor));}else{if(flipX){if((texC.x>sinTime)||(texC.x<1.0-sinTime)){discard;}if(texC.x<0.5){texC.x=(texC.x-sinTime)*0.5/(0.5-sinTime);}else{texC.x=(texC.x-0.5)*0.5/(0.5-sinTime)+0.5;}texC.x=1.0-texC.x;}if(flipY){if((texC.y>sinTime)||(texC.y<1.0-sinTime)){discard;}if(texC.y<0.5){texC.y=(texC.y-sinTime)*0.5/(0.5-sinTime);}else{texC.y=(texC.y-0.5)*0.5/(0.5-sinTime)+0.5;}texC.y=1.0-texC.y;}fragColor.rgb=texture2D(to,tile2Global(texC,tileNum,postTileSingleColor)).rgb;}gl_FragColor=fragColor;}"},{id:"9e86d2712e123542758b",name:"Dreamy",owner:"mikolalysenko",uniforms:{},html_url:"https://gist.github.com/9e86d2712e123542758b",created_at:"2014-05-21T14:55:01Z",updated_at:"2015-07-20T19:34:01Z",stars:0,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from,to;uniform float progress;uniform vec2 resolution;vec2 offset(float progress,float x,float theta){float phase=progress*progress+progress+theta;float shifty=0.03*progress*cos(10.0*(progress+x));return vec2(0,shifty);}void main(){vec2 p=gl_FragCoord.xy/resolution.xy;gl_FragColor=mix(texture2D(from,p+offset(progress,p.x,0.0)),texture2D(to,p+offset(1.0-progress,p.x,3.14)),progress);}"},{id:"21d2fdd24c706952dc8c",name:"AdvancedMosaic",owner:"corporateshark",uniforms:{},html_url:"https://gist.github.com/21d2fdd24c706952dc8c",created_at:"2014-05-21T14:45:52Z",updated_at:"2015-07-20T19:19:04Z",stars:0,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from,to;uniform float progress;uniform vec2 resolution;void main(void){vec2 p=gl_FragCoord.xy/resolution.xy;float T=progress;float S0=1.0;float S1=50.0;float S2=1.0;float Half=0.5;float PixelSize=(T<Half)?mix(S0,S1,T/Half):mix(S1,S2,(T-Half)/Half);vec2 D=PixelSize/resolution.xy;vec2 UV=(p+vec2(-0.5))/D;vec2 Coord=clamp(D*(ceil(UV+vec2(-0.5)))+vec2(0.5),vec2(0.0),vec2(1.0));vec4 C0=texture2D(from,Coord);vec4 C1=texture2D(to,Coord);gl_FragColor=mix(C0,C1,T);}"},{id:"cacfedb8cca0f5ce3f7c",name:"Swirl",owner:"corporateshark",uniforms:{},html_url:"https://gist.github.com/cacfedb8cca0f5ce3f7c",created_at:"2014-05-21T14:43:04Z",updated_at:"2015-07-20T19:16:21Z",stars:0,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from,to;uniform float progress;uniform vec2 resolution;void main(void){float Radius=1.0;float T=progress;vec2 UV=gl_FragCoord.xy/resolution.xy;UV-=vec2(0.5,0.5);float Dist=length(UV);if(Dist<Radius){float Percent=(Radius-Dist)/Radius;float A=(T<=0.5)?mix(0.0,1.0,T/0.5):mix(1.0,0.0,(T-0.5)/0.5);float Theta=Percent*Percent*A*8.0*3.14159;float S=sin(Theta);float C=cos(Theta);UV=vec2(dot(UV,vec2(C,-S)),dot(UV,vec2(S,C)));}UV+=vec2(0.5,0.5);vec4 C0=texture2D(from,UV);vec4 C1=texture2D(to,UV);gl_FragColor=mix(C0,C1,T);}"},{id:"b9f8e5675c647e615419",name:"DefocusBlur",owner:"corporateshark",uniforms:{},html_url:"https://gist.github.com/b9f8e5675c647e615419",created_at:"2014-05-21T10:12:14Z",updated_at:"2015-07-20T19:18:32Z",stars:0,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform float progress;uniform vec2 resolution;uniform sampler2D from;uniform sampler2D to;void main(void){vec2 p=gl_FragCoord.xy/resolution.xy;float T=progress;float S0=1.0;float S1=50.0;float S2=1.0;float Half=0.5;float PixelSize=(T<Half)?mix(S0,S1,T/Half):mix(S1,S2,(T-Half)/Half);vec2 D=PixelSize/resolution.xy;vec2 UV=(gl_FragCoord.xy/resolution.xy);const int NumTaps=12;vec2 Disk[NumTaps];Disk[0]=vec2(-.326,-.406);Disk[1]=vec2(-.840,-.074);Disk[2]=vec2(-.696,.457);Disk[3]=vec2(-.203,.621);Disk[4]=vec2(.962,-.195);Disk[5]=vec2(.473,-.480);Disk[6]=vec2(.519,.767);Disk[7]=vec2(.185,-.893);Disk[8]=vec2(.507,.064);Disk[9]=vec2(.896,.412);Disk[10]=vec2(-.322,-.933);Disk[11]=vec2(-.792,-.598);vec4 C0=texture2D(from,UV);vec4 C1=texture2D(to,UV);for(int i=0;i!=NumTaps;i++){C0+=texture2D(from,Disk[i]*D+UV);C1+=texture2D(to,Disk[i]*D+UV);}C0/=float(NumTaps+1);C1/=float(NumTaps+1);gl_FragColor=mix(C0,C1,T);}"},{id:"2a5fa2f77c883dd661f9",name:"colourDistance",owner:"P-Seebauer",uniforms:{interpolationPower:5},html_url:"https://gist.github.com/2a5fa2f77c883dd661f9",created_at:"2014-05-21T07:10:21Z",updated_at:"2015-07-20T19:31:18Z",stars:1,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from,to;uniform float progress;uniform vec2 resolution;uniform float interpolationPower;void main(){vec2 p=gl_FragCoord.xy/resolution.xy;vec4 fTex=texture2D(from,p);vec4 tTex=texture2D(to,p);gl_FragColor=mix(distance(fTex,tTex)>progress?fTex:tTex,tTex,pow(progress,interpolationPower));}"},{id:"b93818de23d4511fde10",name:"Dissolve",owner:"nwoeanhinnogaehr",uniforms:{blocksize:1},html_url:"https://gist.github.com/b93818de23d4511fde10",created_at:"2014-05-20T23:40:57Z",updated_at:"2015-07-25T20:07:28Z",stars:0,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from,to;uniform float progress;uniform vec2 resolution;uniform float blocksize;float rand(vec2 co){return fract(sin(dot(co,vec2(12.9898,78.233)))*43758.5453);}void main(){vec2 p=gl_FragCoord.xy/resolution.xy;gl_FragColor=mix(texture2D(from,p),texture2D(to,p),step(rand(floor(gl_FragCoord.xy/blocksize)),progress));}"},{id:"b185145363d65751009b",name:"HSVfade",owner:"nwoeanhinnogaehr",uniforms:{},html_url:"https://gist.github.com/b185145363d65751009b",created_at:"2014-05-20T23:21:27Z",updated_at:"2015-07-20T19:18:54Z",stars:0,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from,to;uniform float progress;uniform vec2 resolution;vec3 hsv2rgb(vec3 c){const vec4 K=vec4(1.0,2.0/3.0,1.0/3.0,3.0);vec3 p=abs(fract(c.xxx+K.xyz)*6.0-K.www);return c.z*mix(K.xxx,clamp(p-K.xxx,0.0,1.0),c.y);}vec3 rgb2hsv(vec3 c){const vec4 K=vec4(0.0,-1.0/3.0,2.0/3.0,-1.0);vec4 p=mix(vec4(c.bg,K.wz),vec4(c.gb,K.xy),step(c.b,c.g));vec4 q=mix(vec4(p.xyw,c.r),vec4(c.r,p.yzx),step(p.x,c.r));float d=q.x-min(q.w,q.y);return vec3(abs(q.z+(q.w-q.y)/(6.0*d+0.001)),d/(q.x+0.001),q.x);}void main(){vec2 p=gl_FragCoord.xy/resolution.xy;vec3 a=rgb2hsv(texture2D(from,p).rgb);vec3 b=rgb2hsv(texture2D(to,p).rgb);vec3 m=mix(a,b,progress);gl_FragColor=vec4(hsv2rgb(m),1.0);}"},{id:"f6fc39f4cfcbb97f96a6",name:"Fold",owner:"nwoeanhinnogaehr",uniforms:{},html_url:"https://gist.github.com/f6fc39f4cfcbb97f96a6",created_at:"2014-05-20T23:14:23Z",updated_at:"2015-07-20T19:24:57Z",stars:0,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from,to;uniform float progress;uniform vec2 resolution;void main(){vec2 p=gl_FragCoord.xy/resolution.xy;vec4 a=texture2D(from,(p-vec2(progress,0.0))/vec2(1.0-progress,1.0));vec4 b=texture2D(to,p/vec2(progress,1.0));gl_FragColor=mix(a,b,step(p.x,progress));}"},{id:"80c2d40cac3f98453176",name:"linearblur",owner:"gre",uniforms:{intensity:.1},html_url:"https://gist.github.com/80c2d40cac3f98453176",created_at:"2014-05-20T22:02:35Z",updated_at:"2015-07-20T19:18:37Z",stars:0,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from,to;uniform float progress;uniform vec2 resolution;uniform float intensity;const int PASSES=8;void main(){vec2 p=gl_FragCoord.xy/resolution.xy;vec4 c1=vec4(0.0),c2=vec4(0.0);float disp=intensity*(0.5-distance(0.5,progress));for(int xi=0;xi<PASSES;++xi){float x=float(xi)/float(PASSES)-0.5;for(int yi=0;yi<PASSES;++yi){float y=float(yi)/float(PASSES)-0.5;vec2 v=vec2(x,y);float d=disp;c1+=texture2D(from,p+d*v);c2+=texture2D(to,p+d*v);}}c1/=float(PASSES*PASSES);c2/=float(PASSES*PASSES);gl_FragColor=mix(c1,c2,progress);}"},{id:"c528607361d90a072e98",name:"pixelize",owner:"benraziel",uniforms:{},html_url:"https://gist.github.com/c528607361d90a072e98",created_at:"2014-05-20T19:32:42Z",updated_at:"2015-07-20T19:18:15Z",stars:0,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from,to;uniform float progress;uniform vec2 resolution;float rand(vec2 co){return fract(sin(dot(co.xy,vec2(12.9898,78.233)))*43758.5453);}void main(){float revProgress=(1.0-progress);float distFromEdges=min(progress,revProgress);float squareSize=(50.0*distFromEdges)+1.0;vec2 p=(floor((gl_FragCoord.xy+squareSize*0.5)/squareSize)*squareSize)/resolution.xy;vec4 fromColor=texture2D(from,p);vec4 toColor=texture2D(to,p);gl_FragColor=mix(fromColor,toColor,progress);}"},{id:"abd06f4d23ab2ff4ed7a",name:"random_squares",owner:"benraziel",uniforms:{},html_url:"https://gist.github.com/abd06f4d23ab2ff4ed7a",created_at:"2014-05-20T19:07:25Z",updated_at:"2015-07-20T19:18:29Z",stars:0,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from,to;uniform float progress;uniform vec2 resolution;float rand(vec2 co){return fract(sin(dot(co.xy,vec2(12.9898,78.233)))*43758.5453);}void main(){float revProgress=(1.0-progress);float distFromEdges=min(progress,revProgress);vec2 p=gl_FragCoord.xy/resolution.xy;vec4 fromColor=texture2D(from,p);vec4 toColor=texture2D(to,p);float squareSize=20.0;float flickerSpeed=60.0;vec2 seed=floor(gl_FragCoord.xy/squareSize)*floor(distFromEdges*flickerSpeed);gl_FragColor=mix(fromColor,toColor,progress)+rand(seed)*distFromEdges*0.5;}"},{id:"791d0f058ae6a83e0c15",name:"PolkaDotsCurtain",owner:"bobylito",uniforms:{center:[1,1],dots:20},html_url:"https://gist.github.com/791d0f058ae6a83e0c15",created_at:"2014-05-20T16:55:46Z",updated_at:"2015-07-20T19:33:24Z",stars:0,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from,to;uniform float progress;uniform vec2 resolution;const float SQRT_2=1.414213562373;uniform float dots;uniform vec2 center;void main(){vec2 p=gl_FragCoord.xy/resolution.xy;float x=progress/2.0;bool nextImage=distance(fract(p*dots),vec2(0.5,0.5))<(2.0*x/distance(p,center));if(nextImage) gl_FragColor=texture2D(to,p);else gl_FragColor=texture2D(from,p);}"},{id:"166e496a19a4fdbf1aae",name:"PageCurl",owner:"corporateshark",uniforms:{},html_url:"https://gist.github.com/166e496a19a4fdbf1aae",created_at:"2014-05-20T12:37:15Z",updated_at:"2015-07-20T19:18:48Z",stars:1,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from,to;uniform float progress;uniform vec2 resolution;const float MIN_AMOUNT=-0.16;const float MAX_AMOUNT=1.3;float amount=progress*(MAX_AMOUNT-MIN_AMOUNT)+MIN_AMOUNT;const float PI=3.141592653589793;const float scale=512.0;const float sharpness=3.0;float cylinderCenter=amount;float cylinderAngle=2.0*PI*amount;const float cylinderRadius=1.0/PI/2.0;vec3 hitPoint(float hitAngle,float yc,vec3 point,mat3 rrotation){float hitPoint=hitAngle/(2.0*PI);point.y=hitPoint;return rrotation*point;}vec4 antiAlias(vec4 color1,vec4 color2,float distanc){distanc*=scale;if(distanc<0.0) return color2;if(distanc>2.0) return color1;float dd=pow(1.0-distanc/2.0,sharpness);return ((color2-color1)*dd)+color1;}float distanceToEdge(vec3 point){float dx=abs(point.x>0.5?1.0-point.x:point.x);float dy=abs(point.y>0.5?1.0-point.y:point.y);if(point.x<0.0) dx=-point.x;if(point.x>1.0) dx=point.x-1.0;if(point.y<0.0) dy=-point.y;if(point.y>1.0) dy=point.y-1.0;if((point.x<0.0||point.x>1.0)&&(point.y<0.0||point.y>1.0)) return sqrt(dx*dx+dy*dy);return min(dx,dy);}vec4 seeThrough(float yc,vec2 p,mat3 rotation,mat3 rrotation){float hitAngle=PI-(acos(yc/cylinderRadius)-cylinderAngle);vec3 point=hitPoint(hitAngle,yc,rotation*vec3(p,1.0),rrotation);if(yc<=0.0&&(point.x<0.0||point.y<0.0||point.x>1.0||point.y>1.0)){vec2 texCoord=gl_FragCoord.xy/resolution.xy;return texture2D(to,texCoord);}if(yc>0.0) return texture2D(from,p);vec4 color=texture2D(from,point.xy);vec4 tcolor=vec4(0.0);return antiAlias(color,tcolor,distanceToEdge(point));}vec4 seeThroughWithShadow(float yc,vec2 p,vec3 point,mat3 rotation,mat3 rrotation){float shadow=distanceToEdge(point)*30.0;shadow=(1.0-shadow)/3.0;if(shadow<0.0) shadow=0.0;else shadow*=amount;vec4 shadowColor=seeThrough(yc,p,rotation,rrotation);shadowColor.r-=shadow;shadowColor.g-=shadow;shadowColor.b-=shadow;return shadowColor;}vec4 backside(float yc,vec3 point){vec4 color=texture2D(from,point.xy);float gray=(color.r+color.b+color.g)/15.0;gray+=(8.0/10.0)*(pow(1.0-abs(yc/cylinderRadius),2.0/10.0)/2.0+(5.0/10.0));color.rgb=vec3(gray);return color;}vec4 behindSurface(float yc,vec3 point,mat3 rrotation){float shado=(1.0-((-cylinderRadius-yc)/amount*7.0))/6.0;shado*=1.0-abs(point.x-0.5);yc=(-cylinderRadius-cylinderRadius-yc);float hitAngle=(acos(yc/cylinderRadius)+cylinderAngle)-PI;point=hitPoint(hitAngle,yc,point,rrotation);if(yc<0.0&&point.x>=0.0&&point.y>=0.0&&point.x<=1.0&&point.y<=1.0&&(hitAngle<PI||amount>0.5)){shado=1.0-(sqrt(pow(point.x-0.5,2.0)+pow(point.y-0.5,2.0))/(71.0/100.0));shado*=pow(-yc/cylinderRadius,3.0);shado*=0.5;}else{shado=0.0;}vec2 texCoord=gl_FragCoord.xy/resolution.xy;return vec4(texture2D(to,texCoord).rgb-shado,1.0);}void main(){vec2 texCoord=gl_FragCoord.xy/resolution.xy;const float angle=30.0*PI/180.0;float c=cos(-angle);float s=sin(-angle);mat3 rotation=mat3(c,s,0,-s,c,0,0.12,0.258,1);c=cos(angle);s=sin(angle);mat3 rrotation=mat3(c,s,0,-s,c,0,0.15,-0.5,1);vec3 point=rotation*vec3(texCoord,1.0);float yc=point.y-cylinderCenter;if(yc<-cylinderRadius){gl_FragColor=behindSurface(yc,point,rrotation);return;}if(yc>cylinderRadius){gl_FragColor=texture2D(from,texCoord);return;}float hitAngle=(acos(yc/cylinderRadius)+cylinderAngle)-PI;float hitAngleMod=mod(hitAngle,2.0*PI);if((hitAngleMod>PI&&amount<0.5)||(hitAngleMod>PI/2.0&&amount<0.0)){gl_FragColor=seeThrough(yc,texCoord,rotation,rrotation);return;}point=hitPoint(hitAngle,yc,point,rrotation);if(point.x<0.0||point.y<0.0||point.x>1.0||point.y>1.0){gl_FragColor=seeThroughWithShadow(yc,texCoord,point,rotation,rrotation);return;}vec4 color=backside(yc,point);vec4 otherColor;if(yc<0.0){float shado=1.0-(sqrt(pow(point.x-0.5,2.0)+pow(point.y-0.5,2.0))/0.71);shado*=pow(-yc/cylinderRadius,3.0);shado*=0.5;otherColor=vec4(0.0,0.0,0.0,shado);}else{otherColor=texture2D(from,texCoord);}color=antiAlias(color,otherColor,cylinderRadius-abs(yc));vec4 cl=seeThroughWithShadow(yc,texCoord,point,rotation,rrotation);float dist=distanceToEdge(point);gl_FragColor=antiAlias(color,cl,dist);}"},{id:"06450f79cab706705bf9",name:"Polka_dots",owner:"bobylito",uniforms:{dots:5},html_url:"https://gist.github.com/06450f79cab706705bf9",created_at:"2014-05-20T12:09:38Z",updated_at:"2015-07-20T19:20:01Z",stars:0,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from,to;uniform float progress;uniform vec2 resolution;uniform float dots;void main(){vec2 p=gl_FragCoord.xy/resolution.xy;float x=progress;bool nextImage=distance(fract(p*dots),vec2(0.5,0.5))<x;if(nextImage) gl_FragColor=texture2D(to,p);else gl_FragColor=texture2D(from,p);}"},{id:"3da654388c3f3cd031c0",name:"burn",owner:"gre",uniforms:{color:[.9,.4,.2]},html_url:"https://gist.github.com/3da654388c3f3cd031c0",created_at:"2014-05-20T09:06:02Z",updated_at:"2015-07-20T19:16:43Z",stars:0,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from,to;uniform float progress;uniform vec2 resolution;uniform vec3 color;void main(){vec2 p=gl_FragCoord.xy/resolution.xy;gl_FragColor=mix(texture2D(from,p)+vec4(progress*color,1.0),texture2D(to,p)+vec4((1.0-progress)*color,1.0),progress);}"},{id:"e5f807b5dffb09fc7527",name:"FinalGaussianNoise",owner:"mandubian",uniforms:{},html_url:"https://gist.github.com/e5f807b5dffb09fc7527",created_at:"2014-05-19T21:34:07Z",updated_at:"2015-07-20T19:32:13Z",stars:1,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from,to;uniform float progress;uniform vec2 resolution;float Rand(vec2 v){return fract(sin(dot(v.xy,vec2(12.9898,78.233)))*43758.5453);}float Gaussian(float p,float center,float c){return 0.75*exp(-pow((p-center)/c,2.));}void main(){vec2 p=gl_FragCoord.xy/resolution.xy;float c=cos(Gaussian(progress*(1.+Gaussian(progress*Rand(p),0.5,0.5)),0.5,0.25));vec2 d=p*c;gl_FragColor=mix(texture2D(from,d),texture2D(to,d),progress);}"},{id:"130bb7b7affedbda9df5",name:"Mosaic",owner:"Xaychru",uniforms:{endx:0,endy:-1},html_url:"https://gist.github.com/130bb7b7affedbda9df5",created_at:"2014-05-19T16:51:58Z",updated_at:"2015-07-20T19:15:37Z",stars:1,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\n\n#define PI 3.14159265358979323\n\n#define POW2(X) X*X\n\n#define POW3(X) X*X*X\nuniform sampler2D from,to;uniform float progress;uniform vec2 resolution;uniform int endx;uniform int endy;float Rand(vec2 v){return fract(sin(dot(v.xy,vec2(12.9898,78.233)))*43758.5453);}vec2 Rotate(vec2 v,float a){mat2 rm=mat2(cos(a),-sin(a),sin(a),cos(a));return rm*v;}float CosInterpolation(float x){return -cos(x*PI)/2.+.5;}void main(){vec2 p=gl_FragCoord.xy/resolution.xy-.5;vec2 rp=p;float rpr=(progress*2.-1.);float z=-(rpr*rpr*2.)+3.;float az=abs(z);rp*=az;rp+=mix(vec2(.5,.5),vec2(float(endx)+.5,float(endy)+.5),POW2(CosInterpolation(progress)));vec2 mrp=mod(rp,1.);vec2 crp=rp;bool onEnd=int(floor(crp.x))==endx&&int(floor(crp.y))==endy;if(!onEnd){float ang=float(int(Rand(floor(crp))*4.))*.5*PI;mrp=vec2(.5)+Rotate(mrp-vec2(.5),ang);}if(onEnd||Rand(floor(crp))>.5){gl_FragColor=texture2D(to,mrp);}else{gl_FragColor=texture2D(from,mrp);}}"},{id:"ce1d48f0ce00bb379750",name:"Radial",owner:"Xaychru",uniforms:{},html_url:"https://gist.github.com/ce1d48f0ce00bb379750",created_at:"2014-05-19T15:18:28Z",updated_at:"2015-07-20T19:15:51Z",stars:0,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\n\n#define PI 3.141592653589\nuniform sampler2D from,to;uniform float progress;uniform vec2 resolution;void main(){vec2 p=gl_FragCoord.xy/resolution.xy;vec2 rp=p*2.-1.;float a=atan(rp.y,rp.x);float pa=progress*PI*2.5-PI*1.25;vec4 fromc=texture2D(from,p);vec4 toc=texture2D(to,p);if(a>pa){gl_FragColor=mix(toc,fromc,smoothstep(0.,1.,(a-pa)));}else{gl_FragColor=toc;}}"},{id:"c3bc914de09227713787",name:"ButterflyWaveScrawler",owner:"mandubian",uniforms:{amplitude:1,waves:30,colorSeparation:.3},html_url:"https://gist.github.com/c3bc914de09227713787",created_at:"2014-05-19T11:48:15Z",updated_at:"2015-07-20T19:33:28Z",stars:0,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from,to;uniform float progress;uniform vec2 resolution;uniform float amplitude;uniform float waves;uniform float colorSeparation;float PI=3.14159265358979323846264;float compute(vec2 p,float progress,vec2 center){vec2 o=p*sin(progress*amplitude)-center;vec2 h=vec2(1.,0.);float theta=acos(dot(o,h))*waves;return (exp(cos(theta))-2.*cos(4.*theta)+pow(sin((2.*theta-PI)/24.),5.))/10.;}void main(){vec2 p=gl_FragCoord.xy/resolution.xy;float inv=1.-progress;vec2 dir=p-vec2(.5);float dist=length(dir);float disp=compute(p,progress,vec2(0.5,0.5));vec4 texTo=texture2D(to,p+inv*disp);vec4 texFrom=vec4(texture2D(from,p+progress*disp*(1.0-colorSeparation)).r,texture2D(from,p+progress*disp).g,texture2D(from,p+progress*disp*(1.0+colorSeparation)).b,1.0);gl_FragColor=texTo*progress+texFrom*inv;}"},{id:"4268c81d39bd4ca00ae2",name:"CrazyParametricFun",owner:"mandubian",uniforms:{a:4,b:1,amplitude:120,smoothness:.1},html_url:"https://gist.github.com/4268c81d39bd4ca00ae2",created_at:"2014-05-19T08:04:52Z",updated_at:"2015-07-20T19:20:51Z",stars:0,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from,to;uniform float progress;uniform vec2 resolution;uniform float a;uniform float b;uniform float amplitude;uniform float smoothness;void main(){vec2 p=gl_FragCoord.xy/resolution.xy;vec2 dir=p-vec2(.5);float dist=length(dir);float x=(a-b)*cos(progress)+b*cos(progress*((a/b)-1.));float y=(a-b)*sin(progress)-b*sin(progress*((a/b)-1.));vec2 offset=dir*vec2(sin(progress*dist*amplitude*x),sin(progress*dist*amplitude*y))/smoothness;gl_FragColor=mix(texture2D(from,p+offset),texture2D(to,p),smoothstep(0.2,1.0,progress));}"},{id:"2bcfb59096fcaed82355",name:"powerdisformation",owner:"gre",uniforms:{power:3,powerDest:!0},html_url:"https://gist.github.com/2bcfb59096fcaed82355",created_at:"2014-05-17T10:58:29Z",updated_at:"2015-07-20T19:18:59Z",stars:0,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from,to;uniform float progress;uniform vec2 resolution;uniform float power;uniform bool powerDest;void main(){vec2 p=gl_FragCoord.xy/resolution.xy;vec2 p2=mix(p,vec2(pow(p.x,power),pow(p.y,power)),(powerDest?0.5:1.0)-distance(progress,powerDest?0.5:1.0));gl_FragColor=mix(texture2D(from,p2),texture2D(to,powerDest?p2:p),progress);}"},{id:"2a3f2e907e1c0a152e60",name:"swap",owner:"gre",uniforms:{reflection:.4,perspective:.2,depth:3},html_url:"https://gist.github.com/2a3f2e907e1c0a152e60",created_at:"2014-05-16T13:59:07Z",updated_at:"2015-07-20T19:31:24Z",stars:1,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from;uniform sampler2D to;uniform float progress;uniform vec2 resolution;uniform float reflection;uniform float perspective;uniform float depth;const vec4 black=vec4(0.0,0.0,0.0,1.0);const vec2 boundMin=vec2(0.0,0.0);const vec2 boundMax=vec2(1.0,1.0);bool inBounds(vec2 p){return all(lessThan(boundMin,p))&&all(lessThan(p,boundMax));}vec2 project(vec2 p){return p*vec2(1.0,-1.2)+vec2(0.0,-0.02);}vec4 bgColor(vec2 p,vec2 pfr,vec2 pto){vec4 c=black;pfr=project(pfr);if(inBounds(pfr)){c+=mix(black,texture2D(from,pfr),reflection*mix(1.0,0.0,pfr.y));}pto=project(pto);if(inBounds(pto)){c+=mix(black,texture2D(to,pto),reflection*mix(1.0,0.0,pto.y));}return c;}void main(){vec2 p=gl_FragCoord.xy/resolution.xy;vec2 pfr,pto=vec2(-1.);float size=mix(1.0,depth,progress);float persp=perspective*progress;pfr=(p+vec2(-0.0,-0.5))*vec2(size/(1.0-perspective*progress),size/(1.0-size*persp*p.x))+vec2(0.0,0.5);size=mix(1.0,depth,1.-progress);persp=perspective*(1.-progress);pto=(p+vec2(-1.0,-0.5))*vec2(size/(1.0-perspective*(1.0-progress)),size/(1.0-size*persp*(0.5-p.x)))+vec2(1.0,0.5);bool fromOver=progress<0.5;if(fromOver){if(inBounds(pfr)){gl_FragColor=texture2D(from,pfr);}else if(inBounds(pto)){gl_FragColor=texture2D(to,pto);}else{gl_FragColor=bgColor(p,pfr,pto);}}else{if(inBounds(pto)){gl_FragColor=texture2D(to,pto);}else if(inBounds(pfr)){gl_FragColor=texture2D(from,pfr);}else{gl_FragColor=bgColor(p,pfr,pto);}}}"},{id:"94ffa2725b65aa8b9979",name:"ripple",owner:"gre",uniforms:{amplitude:100,speed:50},html_url:"https://gist.github.com/94ffa2725b65aa8b9979",created_at:"2014-05-16T13:58:42Z",updated_at:"2015-07-20T19:17:37Z",stars:0,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from;uniform sampler2D to;uniform float progress;uniform vec2 resolution;uniform float amplitude;uniform float speed;void main(){vec2 p=gl_FragCoord.xy/resolution.xy;vec2 dir=p-vec2(.5);float dist=length(dir);vec2 offset=dir*(sin(progress*dist*amplitude-progress*speed)+.5)/30.;gl_FragColor=mix(texture2D(from,p+offset),texture2D(to,p),smoothstep(0.2,1.0,progress));}"},{id:"99bced7d9b5311fd166e",name:"flash",owner:"gre",uniforms:{flashPhase:.3,flashIntensity:3,flashZoomEffect:.5},html_url:"https://gist.github.com/99bced7d9b5311fd166e",created_at:"2014-05-16T13:58:17Z",updated_at:"2015-07-20T19:32:11Z",stars:0,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from;uniform sampler2D to;uniform float progress;uniform vec2 resolution;uniform float flashPhase;uniform float flashIntensity;uniform float flashZoomEffect;const vec3 flashColor=vec3(1.0,0.8,0.3);const float flashVelocity=3.0;void main(){vec2 p=gl_FragCoord.xy/resolution.xy;vec4 fc=texture2D(from,p);vec4 tc=texture2D(to,p);float intensity=mix(1.0,2.0*distance(p,vec2(0.5,0.5)),flashZoomEffect)*flashIntensity*pow(smoothstep(flashPhase,0.0,distance(0.5,progress)),flashVelocity);vec4 c=mix(texture2D(from,p),texture2D(to,p),smoothstep(0.5*(1.0-flashPhase),0.5*(1.0+flashPhase),progress));c+=intensity*vec4(flashColor,1.0);gl_FragColor=c;}"},{id:"81c6f2e6fce88f9075d2",name:"flyeye",owner:"gre",uniforms:{size:.04,zoom:30,colorSeparation:.3},html_url:"https://gist.github.com/81c6f2e6fce88f9075d2",created_at:"2014-05-16T13:56:53Z",updated_at:"2015-07-20T19:18:40Z",stars:0,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from;uniform sampler2D to;uniform float progress;uniform vec2 resolution;uniform float size;uniform float zoom;uniform float colorSeparation;void main(){vec2 p=gl_FragCoord.xy/resolution.xy;float inv=1.-progress;vec2 disp=size*vec2(cos(zoom*p.x),sin(zoom*p.y));vec4 texTo=texture2D(to,p+inv*disp);vec4 texFrom=vec4(texture2D(from,p+progress*disp*(1.0-colorSeparation)).r,texture2D(from,p+progress*disp).g,texture2D(from,p+progress*disp*(1.0+colorSeparation)).b,1.0);gl_FragColor=texTo*progress+texFrom*inv;}"},{id:"979934722820b5e715fa",name:"doorway",owner:"gre",uniforms:{reflection:.4,perspective:.4,depth:3},html_url:"https://gist.github.com/979934722820b5e715fa",created_at:"2014-05-16T13:54:38Z",updated_at:"2015-07-20T19:20:19Z",stars:1,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from;uniform sampler2D to;uniform float progress;uniform vec2 resolution;uniform float reflection;uniform float perspective;uniform float depth;const vec4 black=vec4(0.0,0.0,0.0,1.0);const vec2 boundMin=vec2(0.0,0.0);const vec2 boundMax=vec2(1.0,1.0);bool inBounds(vec2 p){return all(lessThan(boundMin,p))&&all(lessThan(p,boundMax));}vec2 project(vec2 p){return p*vec2(1.0,-1.2)+vec2(0.0,-0.02);}vec4 bgColor(vec2 p,vec2 pto){vec4 c=black;pto=project(pto);if(inBounds(pto)){c+=mix(black,texture2D(to,pto),reflection*mix(1.0,0.0,pto.y));}return c;}void main(){vec2 p=gl_FragCoord.xy/resolution.xy;vec2 pfr=vec2(-1.),pto=vec2(-1.);float middleSlit=2.0*abs(p.x-0.5)-progress;if(middleSlit>0.0){pfr=p+(p.x>0.5?-1.0:1.0)*vec2(0.5*progress,0.0);float d=1.0/(1.0+perspective*progress*(1.0-middleSlit));pfr.y-=d/2.;pfr.y*=d;pfr.y+=d/2.;}float size=mix(1.0,depth,1.-progress);pto=(p+vec2(-0.5,-0.5))*vec2(size,size)+vec2(0.5,0.5);if(inBounds(pfr)){gl_FragColor=texture2D(from,pfr);}else if(inBounds(pto)){gl_FragColor=texture2D(to,pto);}else{gl_FragColor=bgColor(p,pto);}}"},{id:"731fcad4f8956866f34a",name:"randomsquares",owner:"gre",uniforms:{size:[10,10],smoothness:.5},html_url:"https://gist.github.com/731fcad4f8956866f34a",created_at:"2014-05-16T13:52:46Z",updated_at:"2015-07-20T19:20:42Z",stars:0,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from;uniform sampler2D to;uniform float progress;uniform vec2 resolution;uniform ivec2 size;uniform float smoothness;float rand(vec2 co){return fract(sin(dot(co.xy,vec2(12.9898,78.233)))*43758.5453);}void main(){vec2 p=gl_FragCoord.xy/resolution.xy;float r=rand(floor(vec2(size)*p));float m=smoothstep(0.0,-smoothness,r-(progress*(1.0+smoothness)));gl_FragColor=mix(texture2D(from,p),texture2D(to,p),m);}"},{id:"df8797fd112e8e429064",name:"squeeze",owner:"gre",uniforms:{colorSeparation:.02},html_url:"https://gist.github.com/df8797fd112e8e429064",created_at:"2014-05-16T13:51:39Z",updated_at:"2015-07-20T19:17:38Z",stars:0,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from;uniform sampler2D to;uniform float progress;uniform vec2 resolution;uniform float colorSeparation;float progressY(float y){return 0.5+(y-0.5)/(1.0-progress);}void main(){vec2 p=gl_FragCoord.xy/resolution.xy;float y=progressY(p.y);if(y<0.0||y>1.0){gl_FragColor=texture2D(to,p);}else{vec2 fp=vec2(p.x,y);vec3 c=vec3(texture2D(from,fp-progress*vec2(0.0,colorSeparation)).r,texture2D(from,fp).g,texture2D(from,fp+progress*vec2(0.0,colorSeparation)).b);gl_FragColor=vec4(c,1.0);}}"},{id:"90000743fedc953f11a4",name:"directionalwipe",owner:"gre",uniforms:{direction:[1,-1],smoothness:.5},html_url:"https://gist.github.com/90000743fedc953f11a4",created_at:"2014-05-16T13:50:51Z",updated_at:"2015-07-20T19:17:06Z",stars:0,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from;uniform sampler2D to;uniform float progress;uniform vec2 resolution;uniform vec2 direction;uniform float smoothness;const vec2 center=vec2(0.5,0.5);void main(){vec2 p=gl_FragCoord.xy/resolution.xy;vec2 v=normalize(direction);v/=abs(v.x)+abs(v.y);float d=v.x*center.x+v.y*center.y;float m=smoothstep(-smoothness,0.0,v.x*p.x+v.y*p.y-(d-0.5+progress*(1.+smoothness)));gl_FragColor=mix(texture2D(to,p),texture2D(from,p),m);}"},{id:"7de3f4b9482d2b0bf7bb",name:"wind",owner:"gre",uniforms:{size:.2},html_url:"https://gist.github.com/7de3f4b9482d2b0bf7bb",created_at:"2014-05-16T13:49:36Z",updated_at:"2015-07-20T19:16:52Z",stars:0,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from;uniform sampler2D to;uniform float progress;uniform vec2 resolution;uniform float size;float rand(vec2 co){return fract(sin(dot(co.xy,vec2(12.9898,78.233)))*43758.5453);}void main(){vec2 p=gl_FragCoord.xy/resolution.xy;float r=rand(vec2(0,p.y));float m=smoothstep(0.0,-size,p.x*(1.0-size)+size*r-(progress*(1.0+size)));gl_FragColor=mix(texture2D(from,p),texture2D(to,p),m);}"},{id:"d9f8b4df19584f1f0474",name:"fadegrayscale",owner:"gre",uniforms:{grayPhase:.3},html_url:"https://gist.github.com/d9f8b4df19584f1f0474",created_at:"2014-05-16T13:49:13Z",updated_at:"2015-07-20T19:31:17Z",stars:0,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from;uniform sampler2D to;uniform float progress;uniform vec2 resolution;uniform float grayPhase;vec3 grayscale(vec3 color){return vec3(0.2126*color.r+0.7152*color.g+0.0722*color.b);}void main(){vec2 p=gl_FragCoord.xy/resolution.xy;vec4 fc=texture2D(from,p);vec4 tc=texture2D(to,p);gl_FragColor=mix(mix(vec4(grayscale(fc.rgb),1.0),texture2D(from,p),smoothstep(1.0-grayPhase,0.0,progress)),mix(vec4(grayscale(tc.rgb),1.0),texture2D(to,p),smoothstep(grayPhase,1.0,progress)),progress);}"},{id:"206b96128ad6085f9911",name:"dispersionblur",owner:"gre",uniforms:{size:.6},html_url:"https://gist.github.com/206b96128ad6085f9911",created_at:"2014-05-16T13:47:09Z",updated_at:"2015-07-20T19:31:34Z",stars:1,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\n\n#define QUALITY 32\nuniform sampler2D from;uniform sampler2D to;uniform float progress;uniform vec2 resolution;uniform float size;const float GOLDEN_ANGLE=2.399963229728653;vec4 blur(sampler2D t,vec2 c,float radius){vec4 sum=vec4(0.0);float q=float(QUALITY);for(int i=0;i<QUALITY;++i){float fi=float(i);float a=fi*GOLDEN_ANGLE;float r=sqrt(fi/q)*radius;vec2 p=c+r*vec2(cos(a),sin(a));sum+=texture2D(t,p);}return sum/q;}void main(){vec2 p=gl_FragCoord.xy/resolution.xy;float inv=1.-progress;gl_FragColor=inv*blur(from,p,progress*size)+progress*blur(to,p,inv*size);}"},{id:"d71472a550601b96d69d",name:"heartwipe",owner:"gre",uniforms:{},html_url:"https://gist.github.com/d71472a550601b96d69d",created_at:"2014-05-16T13:46:31Z",updated_at:"2015-07-20T19:24:56Z",stars:0,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from;uniform sampler2D to;uniform float progress;uniform vec2 resolution;bool inHeart(vec2 p,vec2 center,float size){if(size==0.0) return false;vec2 o=(p-center)/(1.6*size);return pow(o.x*o.x+o.y*o.y-0.3,3.0)<o.x*o.x*pow(o.y,3.0);}void main(){vec2 p=gl_FragCoord.xy/resolution.xy;float m=inHeart(p,vec2(0.5,0.4),progress)?1.0:0.0;gl_FragColor=mix(texture2D(from,p),texture2D(to,p),m);}"},{id:"f24651a01bf574e90122",name:"fadecolor",owner:"gre",uniforms:{color:[0,0,0],colorPhase:.4},html_url:"https://gist.github.com/f24651a01bf574e90122",created_at:"2014-05-16T13:45:46Z",updated_at:"2015-07-20T19:20:32Z",stars:0,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from;uniform sampler2D to;uniform float progress;uniform vec2 resolution;uniform vec3 color;uniform float colorPhase;void main(){vec2 p=gl_FragCoord.xy/resolution.xy;gl_FragColor=mix(mix(vec4(color,1.0),texture2D(from,p),smoothstep(1.0-colorPhase,0.0,progress)),mix(vec4(color,1.0),texture2D(to,p),smoothstep(colorPhase,1.0,progress)),progress);}"},{id:"35e8c18557995c77278e",name:"circleopen",owner:"gre",uniforms:{smoothness:.3,opening:!0},html_url:"https://gist.github.com/35e8c18557995c77278e",created_at:"2014-05-16T13:40:51Z",updated_at:"2015-07-20T19:17:16Z",stars:0,glsl:"\n#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D from;uniform sampler2D to;uniform float progress;uniform vec2 resolution;uniform float smoothness;uniform bool opening;const vec2 center=vec2(0.5,0.5);const float SQRT_2=1.414213562373;void main(){vec2 p=gl_FragCoord.xy/resolution.xy;float x=opening?progress:1.-progress;float m=smoothstep(-smoothness,0.0,SQRT_2*distance(center,p)-x*(1.+smoothness));gl_FragColor=mix(texture2D(from,p),texture2D(to,p),opening?1.-m:m);}"}]}),__d("AdvancedEffects/src/Transition.js",["react-native/Libraries/react-native/react-native.js","gl-react-native/src/index.js"],function(e,t,n,r,o){function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=function d(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:d(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)};const l=t("react-native/Libraries/react-native/react-native.js"),p=t("gl-react-native/src/index.js");var f=function(e){function t(){i(this,t),c(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return a(t,e),u(t,[{key:"render",value:function(){var e=this.props;const t=e.width,n=e.height,r=e.shader,o=e.progress,i=e.from,a=e.to,u=e.uniforms,c=l.PixelRatio.get();return l.createElement(p.View,{shader:r,width:t,height:n,opaque:!1,uniforms:s({progress:o,from:i,to:a},u,{resolution:[t*c,n*c]})})}}]),t}(l.Component);o.exports=f}),__d("image!Image",[],function(e,t,n,r,o){o.exports={__packager_asset:!0,isStatic:!0,path:"/Users/gre/dev/gl-react-native/Examples/AdvancedEffects/iOS/Images.xcassets/Image.imageset/Image.jpg",uri:"Image",width:1024,height:683,deprecated:!0}}),require("AdvancedEffects/index.ios.js");