From 2767cbe6e87a2b2578bf9cd2cb0d438e7a8cb52b Mon Sep 17 00:00:00 2001 From: Nick Date: Fri, 22 Sep 2017 14:37:09 -0700 Subject: [PATCH] Added v8 style spec --- example/ios/RNMapboxGLExample/main.jsbundle | 549 +++ style-spec/v8.json | 3555 +++++++++++++++++++ 2 files changed, 4104 insertions(+) create mode 100644 example/ios/RNMapboxGLExample/main.jsbundle create mode 100644 style-spec/v8.json diff --git a/example/ios/RNMapboxGLExample/main.jsbundle b/example/ios/RNMapboxGLExample/main.jsbundle new file mode 100644 index 0000000..c66683f --- /dev/null +++ b/example/ios/RNMapboxGLExample/main.jsbundle @@ -0,0 +1,549 @@ +!function(e){e.__DEV__=!1,e.__BUNDLE_START_TIME__=e.nativePerformanceNow?e.nativePerformanceNow():Date.now()}("undefined"!=typeof global?global:"undefined"!=typeof self?self:this); +!function(r){"use strict";function e(r,e,t){e in u||(u[e]={dependencyMap:t,exports:void 0,factory:r,hasError:!1,isInitialized:!1})}function t(r){var e=r,t=u[e];return t&&t.isInitialized?t.exports:i(e,t)}function i(e,t){if(!c&&r.ErrorUtils){c=!0;var i=void 0;try{i=n(e,t)}catch(e){r.ErrorUtils.reportFatalError(e)}return c=!1,i}return n(e,t)}function n(e,i){var n=r.nativeRequire;if(!i&&n&&(n(e),i=u[e]),!i)throw o(e);if(i.hasError)throw a(e,i.error);i.isInitialized=!0;var c=i.exports={},d=i,s=d.factory,f=d.dependencyMap;try{var l={exports:c};return s(r,t,l,c,f),i.factory=void 0,i.dependencyMap=void 0,i.exports=l.exports}catch(r){throw i.hasError=!0,i.error=r,i.isInitialized=!1,i.exports=void 0,r}}function o(r){var e='Requiring unknown module "'+r+'".';return Error(e)}function a(r,e){var t=r;return Error('Requiring module "'+t+'", which threw an exception: '+e)}r.require=t,r.__d=e;var u=Object.create(null),c=!1}("undefined"!=typeof global?global:"undefined"!=typeof self?self:this); +!function(n){Object.assign=function(n,e){for(var f=1;f=a.error&&(t=a.warn),n.__inspectorLog&&n.__inspectorLog(l[t],e,[].slice.call(arguments),c),n.nativeLoggingHook(e,t)}}function e(n,r){return Array.apply(null,Array(r)).map(function(){return n})}function t(r){function t(n,r){var t=n.map(function(n,r){var t=e(" ",p[r]-n.length).join("");return n+t});return r=r||" ",t.join(r+"|"+r)}if(!Array.isArray(r)){var o=r;r=[];for(var i in o)if(o.hasOwnProperty(i)){var l=o[i];l[u]=i,r.push(l)}}if(0===r.length)return void n.nativeLoggingHook("",a.info);var c=Object.keys(r[0]).sort(),f=[],p=[];c.forEach(function(n,e){p[e]=n.length;for(var t=0;t=0||p.indexOf("description")>=0))return i(r);if(0===p.length){if(m(r)){var g=r.name?": "+r.name:"";return n.stylize("[Function"+g+"]","special")}if(v(r))return n.stylize(RegExp.prototype.toString.call(r),"regexp");if(d(r))return n.stylize(Date.prototype.toString.call(r),"date");if(b(r))return i(r)}var y="",h=!1,j=["{","}"];if(c(r)&&(h=!0,j=["[","]"]),m(r)){var z=r.name?": "+r.name:"";y=" [Function"+z+"]"}if(v(r)&&(y=" "+RegExp.prototype.toString.call(r)),d(r)&&(y=" "+Date.prototype.toUTCString.call(r)),b(r)&&(y=" "+i(r)),0===p.length&&(!h||0==r.length))return j[0]+y+j[1];if(t<0)return v(r)?n.stylize(RegExp.prototype.toString.call(r),"regexp"):n.stylize("[Object]","special");n.seen.push(r);var O;return O=h?u(n,r,t,s,p):p.map(function(e){return a(n,r,t,s,e,h)}),n.seen.pop(),l(O,y,j)}function o(n,r){if(y(r))return n.stylize("undefined","undefined");if(g(r)){var e="'"+JSON.stringify(r).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return n.stylize(e,"string")}return s(r)?n.stylize(""+r,"number"):f(r)?n.stylize(""+r,"boolean"):p(r)?n.stylize("null","null"):void 0}function i(n){return"["+Error.prototype.toString.call(n)+"]"}function u(n,r,e,t,o){for(var i=[],u=0,l=r.length;u-1&&(l=u?l.split("\n").map(function(n){return" "+n}).join("\n").substr(2):"\n"+l.split("\n").map(function(n){return" "+n}).join("\n"))):l=n.stylize("[Circular]","special")),y(a)){if(u&&i.match(/^\d+$/))return l;a=JSON.stringify(""+i),a.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=n.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=n.stylize(a,"string"))}return a+": "+l}function l(n,r,e){var t=0,o=n.reduce(function(n,r){return t++,r.indexOf("\n")>=0&&t++,n+r.replace(/\u001b\[\d\d?m/g,"").length+1},0);return o>60?e[0]+(""===r?"":r+"\n ")+" "+n.join(",\n ")+" "+e[1]:e[0]+r+" "+n.join(", ")+" "+e[1]}function c(n){return Array.isArray(n)}function f(n){return"boolean"==typeof n}function p(n){return null===n}function s(n){return"number"==typeof n}function g(n){return"string"==typeof n}function y(n){return void 0===n}function v(n){return h(n)&&"[object RegExp]"===j(n)}function h(n){return"object"==typeof n&&null!==n}function d(n){return h(n)&&"[object Date]"===j(n)}function b(n){return h(n)&&("[object Error]"===j(n)||n instanceof Error)}function m(n){return"function"==typeof n}function j(n){return Object.prototype.toString.call(n)}function z(n,r){return Object.prototype.hasOwnProperty.call(n,r)}return n}(),u="(index)",a={trace:0,info:1,warn:2,error:3},l=[];l[a.trace]="debug",l[a.info]="log",l[a.warn]="warning",l[a.error]="error";var c=1;if(n.nativeLoggingHook){n.console;n.console={error:r(a.error),info:r(a.info),log:r(a.info),warn:r(a.warn),trace:r(a.trace),debug:r(a.trace),table:t}}else n.console||(n.console={error:o,info:o,log:o,warn:o,trace:o,debug:o,table:o})}("undefined"!=typeof global?global:"undefined"!=typeof self?self:this); +!function(r){var n=0,t=function(r){throw r},u={setGlobalHandler:function(r){t=r},getGlobalHandler:function(){return t},reportError:function(r){t&&t(r)},reportFatalError:function(r){t&&t(r,!0)},applyWithGuard:function(r,t,e){try{return n++,r.apply(t,e)}catch(r){u.reportError(r)}finally{n--}return null},applyWithGuardIfNeeded:function(r,n,t){return u.inGuard()?r.apply(n,t):(u.applyWithGuard(r,n,t),null)},inGuard:function(){return n},guard:function(r,n,t){function e(){return u.applyWithGuard(r,t||this,arguments,null,n)}return"function"!=typeof r?(console.warn("A function must be passed to ErrorUtils.guard, got ",r),null):(n=n||r.name||"",e)}};r.ErrorUtils=u}("undefined"!=typeof global?global:"undefined"!=typeof self?self:this); +!function(e){if(void 0===Number.EPSILON&&Object.defineProperty(Number,"EPSILON",{value:Math.pow(2,-52)}),void 0===Number.MAX_SAFE_INTEGER&&Object.defineProperty(Number,"MAX_SAFE_INTEGER",{value:Math.pow(2,53)-1}),void 0===Number.MIN_SAFE_INTEGER&&Object.defineProperty(Number,"MIN_SAFE_INTEGER",{value:-(Math.pow(2,53)-1)}),!Number.isNaN){var r=e.isNaN;Object.defineProperty(Number,"isNaN",{configurable:!0,enumerable:!1,value:function(e){return"number"==typeof e&&r(e)},writable:!0})}}("undefined"!=typeof global?global:"undefined"!=typeof self?self:this); +!function(t){String.prototype.startsWith||(String.prototype.startsWith=function(t){"use strict";if(null==this)throw TypeError();var r=String(this),n=arguments.length>1?Number(arguments[1])||0:0,e=Math.min(Math.max(n,0),r.length);return r.indexOf(String(t),n)===e}),String.prototype.endsWith||(String.prototype.endsWith=function(t){"use strict";if(null==this)throw TypeError();var r=String(this),n=r.length,e=String(t),i=arguments.length>1?Number(arguments[1])||0:n,o=Math.min(Math.max(i,0),n),h=o-e.length;return!(h<0)&&r.lastIndexOf(e,h)===h}),String.prototype.repeat||(String.prototype.repeat=function(t){"use strict";if(null==this)throw TypeError();var r=String(this);if(t=Number(t)||0,t<0||t===1/0)throw RangeError();if(1===t)return r;for(var n="";t;)1&t&&(n+=r),(t>>=1)&&(r+=r);return n}),String.prototype.includes||(String.prototype.includes=function(t,r){"use strict";return"number"!=typeof r&&(r=0),!(r+t.length>this.length)&&this.indexOf(t,r)!==-1})}("undefined"!=typeof global?global:"undefined"!=typeof self?self:this); +!function(e){function r(e,r){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),t=n.length>>>0,o=0;o=0?t=o:(t=n+o,t<0&&(t=0));for(var i;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},r.possibleConstructorReturn=function(e,r){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!r||"object"!=typeof r&&"function"!=typeof r?e:r},r.slicedToArray=function(){function e(e,r){var t=[],n=!0,o=!1,i=void 0;try{for(var f,u=e["function"==typeof Symbol?Symbol.iterator:"@@iterator"]();!(n=(f=u.next()).done)&&(t.push(f.value),!r||t.length!==r);n=!0);}catch(e){o=!0,i=e}finally{try{!n&&u.return&&u.return()}finally{if(o)throw i}}return t}return function(r,t){if(Array.isArray(r))return r;if(("function"==typeof Symbol?Symbol.iterator:"@@iterator")in Object(r))return e(r,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r.taggedTemplateLiteral=function(e,r){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))},r.toArray=function(e){return Array.isArray(e)?e:Array.from(e)},r.toConsumableArray=function(e){if(Array.isArray(e)){for(var r=0,t=Array(e.length);r1){for(var f=Array(p),d=0;d1){for(var h=Array(d),y=0;y0?r[r.length-1]:null,i=r.length>1?r[r.length-2]:null,u="function"==typeof a,l="function"==typeof i;l&&s(u,"Cannot have a non-function arg after a function arg.");var c=u?a:null,v=l?i:null,d=u+l;r=r.slice(0,r.length-d),f.enqueueNativeCall(n,t,r,v,c)},o.type=r,o}function u(e,n){return e.indexOf(n)!==-1}function l(e){var n=e||{},t=n.message,r=babelHelpers.objectWithoutProperties(n,["message"]),o=new Error(t);return o.framesToPop=1,babelHelpers.extends(o,r)}var f=n(28),s=n(25);e.__fbGenNativeModule=o;var c={};if(e.nativeModuleProxy)c=e.nativeModuleProxy;else{var v=e.__fbBatchedBridgeConfig;s(v,"__fbBatchedBridgeConfig is not set, cannot invoke native modules");var d=n(41);(v.remoteModuleConfig||[]).forEach(function(e,n){var t=o(e,n);t&&(t.module?c[t.name]=t.module:d(c,t.name,{get:function(){return a(t.name,n)}}))})}t.exports=c},27); +__d(function(e,r,t,c){"use strict";var i=r(29),n=new i;Object.defineProperty(e,"__fbBatchedBridge",{configurable:!0,value:n}),t.exports=n},28); +__d(function(e,t,l,u){"use strict";var s=t(30),i=t(31),a=(t(32),t(25)),n=(t(33),0),h=1,o=0,c=1,_=2,r=5,d=null,v=function(){function l(){babelHelpers.classCallCheck(this,l),this._lazyCallableModules={},this._queue=[[],[],[],0],this._successCallbacks=[],this._failureCallbacks=[],this._callID=0,this._lastFlush=0,this._eventLoopStartTime=(new Date).getTime(),this.callFunctionReturnFlushedQueue=this.callFunctionReturnFlushedQueue.bind(this),this.callFunctionReturnResultAndFlushedQueue=this.callFunctionReturnResultAndFlushedQueue.bind(this),this.flushedQueue=this.flushedQueue.bind(this),this.invokeCallbackAndReturnFlushedQueue=this.invokeCallbackAndReturnFlushedQueue.bind(this)}return babelHelpers.createClass(l,[{key:"callFunctionReturnFlushedQueue",value:function(e,t,l){var u=this;return this.__guard(function(){u.__callFunction(e,t,l)}),this.flushedQueue()}},{key:"callFunctionReturnResultAndFlushedQueue",value:function(e,t,l){var u=this,s=void 0;return this.__guard(function(){s=u.__callFunction(e,t,l)}),[s,this.flushedQueue()]}},{key:"invokeCallbackAndReturnFlushedQueue",value:function(e,t){var l=this;return this.__guard(function(){l.__invokeCallback(e,t)}),this.flushedQueue()}},{key:"flushedQueue",value:function(){var e=this;this.__guard(function(){e.__callImmediates()});var t=this._queue;return this._queue=[[],[],[],this._callID],t[0].length?t:null}},{key:"getEventLoopRunningTime",value:function(){return(new Date).getTime()-this._eventLoopStartTime}},{key:"registerCallableModule",value:function(e,t){this._lazyCallableModules[e]=function(){return t}}},{key:"registerLazyCallableModule",value:function(e,t){var l=void 0,u=t;this._lazyCallableModules[e]=function(){return u&&(l=u(),u=null),l}}},{key:"getCallableModule",value:function(e){var t=this._lazyCallableModules[e];return t?t():null}},{key:"enqueueNativeCall",value:function(t,l,u,s,a){(s||a)&&(s&&u.push(this._callID<<1),a&&u.push(this._callID<<1|1),this._successCallbacks[this._callID]=a,this._failureCallbacks[this._callID]=s),this._callID++,this._queue[o].push(t),this._queue[c].push(l),this._queue[_].push(u);var n=(new Date).getTime();if(e.nativeFlushQueueImmediate&&(n-this._lastFlush>=r||0===this._inCall)){var d=this._queue;this._queue=[[],[],[],this._callID],this._lastFlush=n,e.nativeFlushQueueImmediate(d)}i.counterEvent("pending_js_to_native_queue",this._queue[0].length),this.__spy&&this.__spy({type:h,module:t+"",method:l,args:u})}},{key:"createDebugLookup",value:function(e,t,l){}},{key:"__guard",value:function(e){this._inCall++;try{e()}catch(e){s.reportFatalError(e)}finally{this._inCall--}}},{key:"__callImmediates",value:function(){i.beginEvent("JSTimers.callImmediates()"),d||(d=t(34)),d.callImmediates(),i.endEvent()}},{key:"__callFunction",value:function(e,t,l){this._lastFlush=(new Date).getTime(),this._eventLoopStartTime=this._lastFlush,i.beginEvent(e+"."+t+"()"),this.__spy&&this.__spy({type:n,module:e,method:t,args:l});var u=this.getCallableModule(e);a(!!u,"Module %s is not a registered callable module (calling %s)",e,t),a(!!u[t],"Method %s does not exist on module %s",t,e);var s=u[t].apply(u,l);return i.endEvent(),s}},{key:"__invokeCallback",value:function(e,t){this._lastFlush=(new Date).getTime(),this._eventLoopStartTime=this._lastFlush;var l=e>>>1,u=1&e?this._successCallbacks[l]:this._failureCallbacks[l];u&&(this._successCallbacks[l]=this._failureCallbacks[l]=null,u.apply(null,t))}}],[{key:"spy",value:function(e){e===!0?l.prototype.__spy=function(e){console.log((e.type===n?"N->JS":"JS->N")+" : "+(""+(e.module?e.module+".":"")+e.method)+("("+JSON.stringify(e.args)+")"))}:e===!1?l.prototype.__spy=null:l.prototype.__spy=e}}]),l}();l.exports=v},29); +__d(function(r,o,t,i){t.exports=r.ErrorUtils},30); +__d(function(n,e,t,i){"use strict";var c=(e(25),131072),o=!1,r=0,u={mark:function(n){},measure:function(n,e,t){},clearMarks:function(n){},clearMeasures:function(){}},a={getUserTimingPolyfill:function(){return u},setEnabled:function(n){o!==n&&(o=n)},isEnabled:function(){return o},beginEvent:function(e,t){o&&(e="function"==typeof e?e():e,n.nativeTraceBeginSection(c,e,t))},endEvent:function(){o&&n.nativeTraceEndSection(c)},beginAsyncEvent:function(e){var t=r;return o&&(r++,e="function"==typeof e?e():e,n.nativeTraceBeginAsyncSection(c,e,t,0)),t},endAsyncEvent:function(e,t){o&&(e="function"==typeof e?e():e,n.nativeTraceEndAsyncSection(c,e,t,0))},counterEvent:function(e,t){o&&(e="function"==typeof e?e():e,n.nativeTraceCounter&&n.nativeTraceCounter(c,e,t))},attachToRelayProfiler:function(n){n.attachProfileHandler("*",function(n){var e=a.beginAsyncEvent(n);return function(){a.endAsyncEvent(n,e)}}),n.attachAggregateHandler("*",function(n,e){a.beginEvent(n),e(),a.endEvent()})},swizzleJSON:function(){a.measureMethods(JSON,"JSON",["parse","stringify"])},measureMethods:function(n,e,t){},measure:function(n,e,t){return t}};t.exports=a},31); +__d(function(t,n,c,i){"use strict";function o(t){}c.exports=o},32); +__d(function(t,n,i,e){"use strict";function f(t){var n,i=typeof t;if(void 0===t)n="undefined";else if(null===t)n="null";else if("string"===i)n='"'+t+'"';else if("function"===i)try{n=t.toString()}catch(t){n="[function unknown]"}else try{n=JSON.stringify(t)}catch(i){if("function"==typeof t.toString)try{n=t.toString()}catch(t){}}return n||'["'+i+'" failed to stringify]'}i.exports=f},33); +__d(function(e,t,n,r){"use strict";function i(){var e=g.indexOf(null);return e===-1&&(e=g.length),e}function l(e,t){var n=q++,r=i();return g[r]=n,I[r]=e,T[r]=t,n}function a(e,t,n){f(e<=q,"Tried to call timer with ID %s but no such timer exists.",e);var r=g.indexOf(e);if(r!==-1){var i=T[r],l=I[r];if(!l||!i)return void console.error("No callback found for timerID "+e);"setTimeout"!==i&&"setImmediate"!==i&&"requestAnimationFrame"!==i&&"requestIdleCallback"!==i||u(r);try{"setTimeout"===i||"setInterval"===i||"setImmediate"===i?l():"requestAnimationFrame"===i?l(s()):"requestIdleCallback"===i?l({timeRemaining:function(){return Math.max(0,v-(s()-t))},didTimeout:!!n}):console.error("Tried to call a callback with invalid type: "+i)}catch(e){x?x.push(e):x=[e]}}}function u(e){g[e]=null,I[e]=null,T[e]=null,k[e]=null}function o(e){if(null!=e){var t=g.indexOf(e);if(t!==-1){u(t);var n=T[t];"setImmediate"!==n&&"requestIdleCallback"!==n&&d.deleteTimer(e)}}}var c=(t(35),t(31),t(25)),s=t(36),f=t(39),m=t(27),d=m.Timing,v=16.666666666666668,h=1,I=[],T=[],g=[],p=[],b=[],w={},k=[],q=1,x=null,y=!1,A={setTimeout:function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i2?n-2:0),i=2;i1?t-1:0),r=1;r-1&&(b.splice(e,1),a(r,s(),!0)),delete w[r],0===b.length&&d.setSendIdleEvents(!1)},n);w[r]=i}return r},cancelIdleCallback:function(e){o(e);var t=b.indexOf(e);t!==-1&&b.splice(t,1);var n=w[e];n&&(A.clearTimeout(n),delete w[e]),0===b.length&&d.setSendIdleEvents(!1)},clearTimeout:function(e){o(e)},clearInterval:function(e){o(e)},clearImmediate:function(e){o(e);var t=p.indexOf(e);t!==-1&&p.splice(t,1)},cancelAnimationFrame:function(e){o(e)},callTimers:function(e){c(0!==e.length,"Cannot call `callTimers` with an empty list of IDs."),x=null;for(var t=0;t1)for(var r=1;r0){var t=b.slice();b=[];for(var n=0;n0){var e=p.slice();p=[];for(var t=0;t0},callImmediates:function(){for(x=null;A.callImmediatesPass(););x&&x.forEach(function(e){return A.setTimeout(function(){throw e},0)})},emitTimeDriftWarning:function(e){y||(y=!0,console.warn(e))}};n.exports=A},34); +__d(function(t,n,e,o){"use strict";var r=n(27),s={OS:"ios",get Version(){var t=r.PlatformConstants;return t&&t.osVersion},get isPad(){var t=r.PlatformConstants;return!!t&&"pad"===t.interfaceIdiom},get isTVOS(){var t=r.PlatformConstants;return!!t&&"tv"===t.interfaceIdiom},get isTesting(){var t=r.PlatformConstants;return t&&t.isTesting},select:function(t){return"ios"in t?t.ios:t.default}};e.exports=s},35); +__d(function(n,t,o,r){"use strict";var u,e=t(37);u=e.now?function(){return e.now()}:function(){return Date.now()},o.exports=u},36); +__d(function(e,n,r,o){"use strict";var w,c=n(38);c.canUseDOM&&(w=window.performance||window.msPerformance||window.webkitPerformance),r.exports=w||{}},37); +__d(function(e,n,t,o){"use strict";var d=!("undefined"==typeof window||!window.document||!window.document.createElement),i={canUseDOM:d,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:d&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:d&&!!window.screen,isInWorker:!d};t.exports=i},38); +__d(function(t,r,s,c){"use strict";var e=r(40),i=e;s.exports=i},39); +__d(function(t,n,u,r){"use strict";function e(t){return function(){return t}}var s=function(){};s.thatReturns=e,s.thatReturnsFalse=e(!1),s.thatReturnsTrue=e(!0),s.thatReturnsNull=e(null),s.thatReturnsThis=function(){return this},s.thatReturnsArgument=function(t){return t},u.exports=s},40); +__d(function(e,t,n,r){"use strict";function i(e,t,n){function r(){return c||(c=!0,i(u())),b}function i(n){b=n,c=!0,Object.defineProperty(e,t,{value:n,configurable:!0,enumerable:o,writable:a})}var u=n.get,o=n.enumerable!==!1,a=n.writable!==!1,b=void 0,c=!1;Object.defineProperty(e,t,{get:r,set:i,configurable:!0,enumerable:o})}n.exports=i},41); +__d(function(t,r,s,c){"use strict";var e=r(43);s.exports=e},42); +__d(function(t,n,r,e){"use strict";var i=n(44);n(46),i.prototype.finally=function(t){return this.then(t,t)},r.exports=i},43); +__d(function(n,t,e,r){"use strict";function o(n){var t=new f(f._61);return t._65=1,t._55=n,t}var f=t(45);e.exports=f;var i=o(!0),u=o(!1),c=o(null),a=o(void 0),l=o(0),h=o("");f.resolve=function(n){if(n instanceof f)return n;if(null===n)return c;if(void 0===n)return a;if(n===!0)return i;if(n===!1)return u;if(0===n)return l;if(""===n)return h;if("object"==typeof n||"function"==typeof n)try{var t=n.then;if("function"==typeof t)return new f(t.bind(n))}catch(n){return new f(function(t,e){e(n)})}return o(n)},f.all=function(n){var t=Array.prototype.slice.call(n);return new f(function(n,e){function r(i,u){if(u&&("object"==typeof u||"function"==typeof u)){if(u instanceof f&&u.then===f.prototype.then){for(;3===u._65;)u=u._55;return 1===u._65?r(i,u._55):(2===u._65&&e(u._55),void u.then(function(n){r(i,n)},e))}var c=u.then;if("function"==typeof c){var a=new f(c.bind(u));return void a.then(function(n){r(i,n)},e)}}t[i]=u,0===--o&&n(t)}if(0===t.length)return n([]);for(var o=t.length,i=0;i>>0===e&&e>=0&&e<=4294967295?e:null:(r=b.hex6.exec(e))?parseInt(r[1]+"ff",16)>>>0:m.hasOwnProperty(e)?m[e]:(r=b.rgb.exec(e))?(u(r[1])<<24|u(r[2])<<16|u(r[3])<<8|255)>>>0:(r=b.rgba.exec(e))?(u(r[1])<<24|u(r[2])<<16|u(r[3])<<8|g(r[4]))>>>0:(r=b.hex3.exec(e))?parseInt(r[1]+r[1]+r[2]+r[2]+r[3]+r[3]+"ff",16)>>>0:(r=b.hex8.exec(e))?parseInt(r[1],16)>>>0:(r=b.hex4.exec(e))?parseInt(r[1]+r[1]+r[2]+r[2]+r[3]+r[3]+r[4]+r[4],16)>>>0:(r=b.hsl.exec(e))?(255|i(d(r[1]),s(r[2]),s(r[3])))>>>0:(r=b.hsla.exec(e))?(i(d(r[1]),s(r[2]),s(r[3]))|g(r[4]))>>>0:null}function t(e,r,a){return a<0&&(a+=1),a>1&&(a-=1),a<.16666666666666666?e+6*(r-e)*a:a<.5?r:a<.6666666666666666?e+(r-e)*(.6666666666666666-a)*6:e}function i(e,r,a){var l=a<.5?a*(1+r):a+r-a*r,n=2*a-l,i=t(n,l,e+.3333333333333333),o=t(n,l,e),u=t(n,l,e-.3333333333333333);return Math.round(255*i)<<24|Math.round(255*o)<<16|Math.round(255*u)<<8}function o(){for(var e=arguments.length,r=Array(e),a=0;a255?255:r}function d(e){var r=parseFloat(e);return(r%360+360)%360/360}function g(e){var r=parseFloat(e);return r<0?0:r>1?255:Math.round(255*r)}function s(e){var r=parseFloat(e);return r<0?0:r>100?1:r/100}var h="[-+]?\\d*\\.?\\d+",c=h+"%",b={rgb:new RegExp("rgb"+o(h,h,h)),rgba:new RegExp("rgba"+o(h,h,h,h)),hsl:new RegExp("hsl"+o(h,c,c)),hsla:new RegExp("hsla"+o(h,c,c,h)),hex3:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex4:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#([0-9a-fA-F]{6})$/,hex8:/^#([0-9a-fA-F]{8})$/},m={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199};a.exports=n},63); +__d(function(_,t,E,i){"use strict";var e=t(65),s=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,N=s.NativeMethodsMixin;E.exports=N},64); +__d(function(e,i,r,s){"use strict";var t=i(66),o=void 0;o=i(t.useFiber?67:110),r.exports=o},65); +__d(function(e,r,s,t){"use strict";var i={useFiber:!1};s.exports=i},66); +__d(function(e,t,n,r){"use strict";function o(e){if(!1!==At(e)){var t=e.error;console.error("React caught an error thrown by one of your components.\n\n"+t.stack)}}function i(e){return"topMouseUp"===e||"topTouchEnd"===e||"topTouchCancel"===e}function a(e){return"topMouseMove"===e||"topTouchMove"===e}function u(e){return"topMouseDown"===e||"topTouchStart"===e}function l(e,t,n,r){var o=e.type||"unknown-event";e.currentTarget=Bt.getNodeFromInstance(r),zt.invokeGuardedCallbackAndCatchFirstError(o,n,void 0,e),e.currentTarget=null}function s(e,t){var n=e._dispatchListeners,r=e._dispatchInstances;if(Array.isArray(n))for(var o=0;o-1,"EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `%s`.",e),!sn.plugins[n]){Ct(t.extractEvents,"EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `%s` does not.",e),sn.plugins[n]=t;var r=t.eventTypes;for(var o in r)Ct(C(r[o],t,o),"EventPluginRegistry: Failed to publish event `%s` for plugin `%s`.",o,e)}}}function C(e,t,n){Ct(!sn.eventNameDispatchConfigs.hasOwnProperty(n),"EventPluginHub: More than one plugin attempted to publish the same event name, `%s`.",n),sn.eventNameDispatchConfigs[n]=e;var r=e.phasedRegistrationNames;if(r){for(var o in r)if(r.hasOwnProperty(o)){var i=r[o];P(i,t,n)}return!0}return!!e.registrationName&&(P(e.registrationName,t,n),!0)}function P(e,t,n){Ct(!sn.registrationNameModules[e],"EventPluginHub: More than one plugin attempted to publish the same registration name, `%s`.",e),sn.registrationNameModules[e]=t,sn.registrationNameDependencies[e]=t.eventTypes[n].dependencies}function T(e,t){return Ct(null!=t,"accumulateInto(...): Accumulated items must not be null or undefined."),null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function k(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}function x(e){return"button"===e||"input"===e||"select"===e||"textarea"===e}function N(e,t,n){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":return!(!n.disabled||!x(t));default:return!1}}function S(e){if(void 0!==e._hostParent)return e._hostParent;if("number"==typeof e.tag){do e=e.return;while(e&&e.tag!==Cn);if(e)return e}return null}function R(e,t){for(var n=0,r=e;r;r=S(r))n++;for(var o=0,i=t;i;i=S(i))o++;for(;n-o>0;)e=S(e),n--;for(;o-n>0;)t=S(t),o--;for(var a=n;a--;){if(e===t||e===t.alternate)return e;e=S(e),t=S(t)}return null}function w(e,t){for(;t;){if(e===t||e===t.alternate)return!0;t=S(t)}return!1}function _(e){return S(e)}function I(e,t,n){for(var r=[];e;)r.push(e),e=S(e);var o;for(o=r.length;o-- >0;)t(r[o],"captured",n);for(o=0;o0;)n(u[l],"captured",o)}function F(e,t,n){var r=t.dispatchConfig.phasedRegistrationNames[n];return Tn(e,r)}function H(e,t,n){var r=F(e,n,t);r&&(n._dispatchListeners=fn(n._dispatchListeners,r),n._dispatchInstances=fn(n._dispatchInstances,e))}function A(e){e&&e.dispatchConfig.phasedRegistrationNames&&Pn.traverseTwoPhase(e._targetInst,H,e)}function D(e){if(e&&e.dispatchConfig.phasedRegistrationNames){var t=e._targetInst,n=t?Pn.getParentInstance(t):null;Pn.traverseTwoPhase(n,H,e)}}function U(e,t,n){if(e&&n&&n.dispatchConfig.registrationName){var r=n.dispatchConfig.registrationName,o=Tn(e,r);o&&(n._dispatchListeners=fn(n._dispatchListeners,o),n._dispatchInstances=fn(n._dispatchInstances,e))}}function O(e){e&&e.dispatchConfig.registrationName&&U(e._targetInst,null,e)}function j(e){dn(e,A)}function L(e){dn(e,D)}function W(e,t,n,r){Pn.traverseEnterLeave(n,r,U,e,t)}function M(e){dn(e,O)}function z(e,t,n,r){this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n;var o=this.constructor.Interface;for(var i in o)if(o.hasOwnProperty(i)){var a=o[i];a?this[i]=a(n):"target"===i?this.target=r:this[i]=n[i]}var u=null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue;return this.isDefaultPrevented=u?xt.thatReturnsTrue:xt.thatReturnsFalse,this.isPropagationStopped=xt.thatReturnsFalse,this}function Y(e){for(var t;t=e._renderedComponent;)e=t;return e}function B(e,t){var n=Y(e);Vn[t]=n}function Q(e,t){Vn[t]=e}function V(e){var t=e._rootNodeID;t&&delete Vn[t]}function X(e){delete Vn[e],delete Xn[e]}function G(e){return Vn[e]||null}function $(e){var t="number"!=typeof e.tag?e._rootNodeID:e.stateNode._nativeTag;return Ct(t,"All native instances should have a tag."),t}function q(e){return Xn[e._nativeTag]||null}function K(e,t){Xn[e]=t}function J(e){yn.enqueueEvents(e),yn.processEventQueue(!1)}function Z(e,t,n,r){return On.call(this,e,t,n,r)}function ee(e){return e.timeStamp||e.timestamp}function te(e){return{touchActive:!0,startPageX:e.pageX,startPageY:e.pageY,startTimeStamp:ee(e),currentPageX:e.pageX,currentPageY:e.pageY,currentTimeStamp:ee(e),previousPageX:e.pageX,previousPageY:e.pageY,previousTimeStamp:ee(e)}}function ne(e,t){e.touchActive=!0,e.startPageX=t.pageX,e.startPageY=t.pageY,e.startTimeStamp=ee(t),e.currentPageX=t.pageX,e.currentPageY=t.pageY,e.currentTimeStamp=ee(t),e.previousPageX=t.pageX,e.previousPageY=t.pageY,e.previousTimeStamp=ee(t)}function re(e){var t=e.identifier;return Ct(null!=t,"Touch object is missing identifier."),Pt(t<=yr,"Touch identifier %s is greater than maximum supported %s which causes performance issues backfilling array locations for all of the indices.",t,yr),t}function oe(e){var t=re(e),n=br[t];n?ne(n,e):br[t]=te(e),Cr.mostRecentTimeStamp=ee(e)}function ie(e){var t=br[re(e)];t?(t.touchActive=!0,t.previousPageX=t.currentPageX,t.previousPageY=t.currentPageY,t.previousTimeStamp=t.currentTimeStamp,t.currentPageX=e.pageX,t.currentPageY=e.pageY,t.currentTimeStamp=ee(e),Cr.mostRecentTimeStamp=ee(e)):console.error("Cannot record touch move without a touch start.\nTouch Move: %s\n","Touch Bank: %s",ue(e),le())}function ae(e){var t=br[re(e)];t?(t.touchActive=!1,t.previousPageX=t.currentPageX,t.previousPageY=t.currentPageY,t.previousTimeStamp=t.currentTimeStamp,t.currentPageX=e.pageX,t.currentPageY=e.pageY,t.currentTimeStamp=ee(e),Cr.mostRecentTimeStamp=ee(e)):console.error("Cannot record touch end without a touch start.\nTouch End: %s\n","Touch Bank: %s",ue(e),le())}function ue(e){return JSON.stringify({identifier:e.identifier,pageX:e.pageX,pageY:e.pageY,timestamp:ee(e)})}function le(){var e=JSON.stringify(br.slice(0,yr));return br.length>yr&&(e+=" (original size: "+br.length+")"),e}function se(e,t){return Ct(null!=t,"accumulate(...): Accumulated items must be not be null or undefined."),null==e?t:Array.isArray(e)?e.concat(t):Array.isArray(t)?[e].concat(t):[e,t]}function ce(e,t,n,r){var o=xr(e)?Ar.startShouldSetResponder:Nr(e)?Ar.moveShouldSetResponder:"topSelectionChange"===e?Ar.selectionChangeShouldSetResponder:Ar.scrollShouldSetResponder,i=Ir?Pn.getLowestCommonAncestor(Ir,t):t,a=i===Ir,u=gr.getPooled(o,i,n,r);u.touchHistory=Tr.touchHistory,a?xn.accumulateTwoPhaseDispatchesSkipTarget(u):xn.accumulateTwoPhaseDispatches(u);var l=_r(u);if(u.isPersistent()||u.constructor.release(u),!l||l===Ir)return null;var s,c=gr.getPooled(Ar.responderGrant,l,n,r);c.touchHistory=Tr.touchHistory,xn.accumulateDirectDispatches(c);var f=!0===Rr(c);if(Ir){var d=gr.getPooled(Ar.responderTerminationRequest,Ir,n,r);d.touchHistory=Tr.touchHistory,xn.accumulateDirectDispatches(d);var p=!wr(d)||Rr(d);if(d.isPersistent()||d.constructor.release(d),p){var g=gr.getPooled(Ar.responderTerminate,Ir,n,r);g.touchHistory=Tr.touchHistory,xn.accumulateDirectDispatches(g),s=kr(s,[c,g]),Hr(l,f)}else{var v=gr.getPooled(Ar.responderReject,l,n,r);v.touchHistory=Tr.touchHistory,xn.accumulateDirectDispatches(v),s=kr(s,v)}}else s=kr(s,c),Hr(l,f);return s}function fe(e,t,n){return t&&("topScroll"===e&&!n.responderIgnoreScroll||Er>0&&"topSelectionChange"===e||xr(e)||Nr(e))}function de(e){var t=e.touches;if(!t||0===t.length)return!0;for(var n=0;np?(m=f,f=null):m=f.sibling;var y=v(e,f,u[p],l);if(null===y){null===f&&(f=m);break}t&&f&&null===y.alternate&&n(e,f),d=a(y,d,p),null===c?s=y:c.sibling=y,c=y,f=m}if(p===u.length)return r(e,f),s;if(null===f){for(;py?(b=p,p=null):b=p.sibling;var P=v(e,p,C.value,l);if(null===P){p||(p=b);break}t&&p&&null===P.alternate&&n(e,p),m=a(P,m,y),null===d?f=P:d.sibling=P,d=P,p=b}if(C.done)return r(e,p),f;if(null===p){for(;!C.done;y++,C=c.next()){var T=g(e,C.value,l);null!==T&&(m=a(T,m,y),null===d?f=T:d.sibling=T,d=T)}return f}for(var k=o(e,p);!C.done;y++,C=c.next()){var x=h(k,e,y,C.value,l);null!==x&&(t&&null!==x.alternate&&k.delete(null===x.key?y:x.key),m=a(x,m,y),null===d?f=x:d.sibling=x,d=x)}return t&&k.forEach(function(t){return n(e,t)}),f}function b(e,t,n,o){if(null!==t&&t.tag===aa){r(e,t.sibling);var a=i(t,o);return a.pendingProps=n,a.return=e,a}r(e,t);var u=Zi(n,e.internalContextTag,o);return u.return=e,u}function C(e,t,o,a){for(var u=o.key,l=t;null!==l;){if(l.key===u){if(l.type===o.type){r(e,l.sibling);var s=i(l,a);return s.ref=Qe(l,o),s.pendingProps=o.props,s.return=e,s}r(e,l);break}n(e,l),l=l.sibling}var c=Ki(o,e.internalContextTag,a);return c.ref=Qe(t,o),c.return=e,c}function P(e,t,o,a){for(var u=o.key,l=t;null!==l;){if(l.key===u){if(l.tag===la){r(e,l.sibling);var s=i(l,a);return s.pendingProps=o,s.return=e,s}r(e,l);break}n(e,l),l=l.sibling}var c=ea(o,e.internalContextTag,a);return c.return=e,c}function T(e,t,n,o){var a=t;if(null!==a){if(a.tag===sa){r(e,a.sibling);var u=i(a,o);return u.type=n.value,u.return=e,u}r(e,a)}var l=ta(n,e.internalContextTag,o);return l.type=n.value,l.return=e,l}function k(e,t,o,a){for(var u=o.key,l=t;null!==l;){if(l.key===u){if(l.tag===ua&&l.stateNode.containerInfo===o.containerInfo&&l.stateNode.implementation===o.implementation){r(e,l.sibling);var s=i(l,a);return s.pendingProps=o.children||[],s.return=e,s}r(e,l);break}n(e,l),l=l.sibling}var c=na(o,e.internalContextTag,a);return c.return=e,c}function x(e,t,n,o){var i=Qr.disableNewFiberFeatures,a="object"==typeof n&&null!==n;if(a)if(i)switch(n.$$typeof){case ha:return u(C(e,t,n,o));case $i:return u(k(e,t,n,o))}else switch(n.$$typeof){case ha:return u(C(e,t,n,o));case Xi:return u(P(e,t,n,o));case Gi:return u(T(e,t,n,o));case $i:return u(k(e,t,n,o))}if(i)switch(e.tag){case ia:var l=e.type;Ct(null===n||!1===n,"%s.render(): A valid React element (or null) must be returned. You may have returned undefined, an array or some other invalid object.",l.displayName||l.name||"Component");break;case oa:var s=e.type;Ct(null===n||!1===n,"%s(...): A valid React element (or null) must be returned. You may have returned undefined, an array or some other invalid object.",s.displayName||s.name||"Component")}if("string"==typeof n||"number"==typeof n)return u(b(e,t,""+n,o));if(ra(n))return m(e,t,n,o);if(Be(n))return y(e,t,n,o);if(a&&Ve(e,n),!i&&void 0===n)switch(e.tag){case ia:case oa:var c=e.type;Ct(!1,"%s(...): Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null.",c.displayName||c.name||"Component")}return r(e,t)}return x}function Ge(e){if(!e)return St;var t=co.get(e);return"number"==typeof t.tag?Vl(t):t._processChildContext(t._context)}function $e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qe(e,t){return"object"!=typeof t||null===t||_t(e,t)}function Ke(e){return"number"==typeof e?as.getByID(e):e}function Je(e,t,n){if(Array.isArray(t))for(var r=t.length;r--&&ss>0;)Je(e,t[r],n);else if(t&&ss>0){var o=Ke(t);for(var i in ls)if(ls[i]){var a=o[i];if(void 0!==a){var u=n[i];if(u){if("function"==typeof a&&(a=!0),void 0===a&&(a=null),"object"!=typeof u)e[i]=a;else if("function"==typeof u.diff||"function"==typeof u.process){var l="function"==typeof u.process?u.process(a):a;e[i]=l}ls[i]=!1,ss--}}}}}function Ze(e,t,n,r){var o,i=t.length0&&e&&(Je(e,i,o),ls=null);for(u in t)void 0===n[u]&&(o=r[u])&&(e&&void 0!==e[u]||void 0!==(a=t[u])&&("object"!=typeof o||"function"==typeof o.diff||"function"==typeof o.process?((e||(e={}))[u]=null,ls||(ls={}),ls[u]||(ls[u]=!0,ss++)):e=nt(e,a,o)));return e}function ot(e,t,n){return rt(e,us,t,n)}function it(e,t,n){return rt(e,t,us,n)}function at(e,t){return function(){if(t){if("boolean"==typeof e.__isMounted){if(!e.__isMounted)return}else if("function"==typeof e.isMounted&&!e.isMounted())return;return t.apply(e,arguments)}}}function ut(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)}}function lt(e,t){for(var n in t.style)t[n]||void 0===e[n]||console.error("You are setting the style `{ "+n+": ... }` as a prop. You should nest it in a style object. E.g. `{ style: { "+n+": ... } }`")}function st(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ct(e){"number"==typeof e?Cs(e):(Cs(e._nativeTag),e._children.forEach(ct))}function ft(e){if(null==e)return null;if("number"==typeof e)return e;var t=e,n=co.get(t);return n?ws(n):t||(Ct("object"==typeof t&&("_rootNodeID"in t||"_nativeTag"in t)||null!=t.render&&"function"==typeof t.render,"findNodeHandle(...): Argument is not a component (type: %s, keys: %s)",typeof t,Object.keys(t)),void Ct(!1,"findNodeHandle(...): Unable to find node handle for unmounted component."))}function dt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pt(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function gt(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 vt(e,t){var n=void 0;try{n=_s(e)}catch(e){}if(null!=n){var r=n.viewConfig,o=fs.create(t,r.validAttributes);Nt.updateView(n._nativeTag,r.uiViewClassName,o)}}function ht(e,t){var n=_s(e);if(null!=n){var r=void 0;if(void 0!==n.viewConfig)r=n.viewConfig;else if(void 0!==n._instance&&void 0!==n._instance.viewConfig)r=n._instance.viewConfig;else{for(;void 0!==n._renderedComponent;)n=n._renderedComponent;r=n.viewConfig}var o="function"==typeof n.getHostNode?n.getHostNode():n._rootNodeID,i=fs.create(t,r.validAttributes);Nt.updateView(o,r.uiViewClassName,i)}}function mt(e,t){var n=void 0;try{n=_s(e)}catch(e){}if(null!=n){var r=n.viewConfig,o=fs.create(t,r.validAttributes);Nt.updateView(n._nativeTag,r.uiViewClassName,o)}}function yt(e,t){var n=_s(e);if(null!=n){var r=void 0;if(void 0!==n.viewConfig)r=n.viewConfig;else if(void 0!==n._instance&&void 0!==n._instance.viewConfig)r=n._instance.viewConfig;else{for(;void 0!==n._renderedComponent;)n=n._renderedComponent;r=n.viewConfig}var o="function"==typeof n.getHostNode?n.getHostNode():n._rootNodeID,i=fs.create(t,r.validAttributes);Nt.updateView(o,r.uiViewClassName,i)}}function bt(e,t){return"number"!=typeof e&&"window"!==e&&(e=Ks(e)||"window"),Nt.__takeSnapshot(e,t)}var Ct=t(25),Pt=t(39),Tt=t(68);t(72);var kt=t(104),xt=t(40),Nt=t(57);t(22);var St=t(105),Rt=t(12),wt=t(106),_t=t(107),It=t(108),Et=t(56);t(32);var Ft,Ht=function(e){return!0},At=Ht,Dt={injectDialog:function(e){Ct(At===Ht,"The custom dialog was already injected."),Ct("function"==typeof e,"Injected showDialog() must be a function."),At=e}},Ut=o,Ot={injection:Dt,logCapturedError:Ut},jt=null,Lt=function(e,t,n,r,o,i,a,u,l){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(e){return e}return null},Wt=function(){if(jt){var e=jt;throw jt=null,e}},Mt={injection:{injectErrorUtils:function(e){Ct("function"==typeof e.invokeGuardedCallback,"Injected invokeGuardedCallback() must be a function."),Lt=e.invokeGuardedCallback}},invokeGuardedCallback:function(e,t,n,r,o,i,a,u,l){return Lt.apply(this,arguments)},invokeGuardedCallbackAndCatchFirstError:function(e,t,n,r,o,i,a,u,l){var s=Mt.invokeGuardedCallback.apply(this,arguments);null!==s&&null===jt&&(jt=s)},rethrowCaughtError:function(){return Wt.apply(this,arguments)}},zt=Mt,Yt={injectComponentTree:function(e){Ft=e}},Bt={isEndish:i,isMoveish:a,isStartish:u,executeDirectDispatch:d,executeDispatchesInOrder:s,executeDispatchesInOrderStopAtTrue:f,hasDispatches:p,getFiberCurrentPropsFromNode:function(e){return Ft.getFiberCurrentPropsFromNode(e)},getInstanceFromNode:function(e){return Ft.getInstanceFromNode(e)},getNodeFromInstance:function(e){return Ft.getNodeFromInstance(e)},injection:Yt},Qt=Bt,Vt=null,Xt={injectFiberControlledHostComponent:function(e){Vt=e}},Gt=null,$t=null,qt={injection:Xt,enqueueStateRestore:function(e){Gt?$t?$t.push(e):$t=[e]:Gt=e},restoreStateIfNeeded:function(){if(Gt){var e=Gt,t=$t;if(Gt=null,$t=null,g(e),t)for(var n=0;n=0))return console.error("Ended a touch event which was not counted in `trackedTouchCount`."),null;Er-=1}Tr.recordTouchTrack(e,n);var o=fe(e,t,n)?ce(e,t,n,r):null,i=Ir&&xr(e),a=Ir&&Nr(e),u=Ir&&Sr(e),l=i?Ar.responderStart:a?Ar.responderMove:u?Ar.responderEnd:null;if(l){var s=gr.getPooled(l,Ir,n,r);s.touchHistory=Tr.touchHistory,xn.accumulateDirectDispatches(s),o=kr(o,s)}var c=Ir&&"topTouchCancel"===e,f=Ir&&!c&&Sr(e)&&de(n),d=c?Ar.responderTerminate:f?Ar.responderRelease:null;if(d){var p=gr.getPooled(d,Ir,n,r);p.touchHistory=Tr.touchHistory,xn.accumulateDirectDispatches(p),o=kr(o,p),Hr(null)}var g=Tr.touchHistory.numberActiveTouches;return Dr.GlobalInteractionHandler&&g!==Fr&&Dr.GlobalInteractionHandler.onChange(g),Fr=g,o},GlobalResponderHandler:null,GlobalInteractionHandler:null,injection:{injectGlobalResponderHandler:function(e){Dr.GlobalResponderHandler=e},injectGlobalInteractionHandler:function(e){Dr.GlobalInteractionHandler=e}}},Ur=Dr,Or={inject:pe},jr="function"==typeof Symbol&&("function"==typeof Symbol?Symbol.for:"@@for")&&("function"==typeof Symbol?Symbol.for:"@@for")("react.portal")||60106,Lr=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:jr,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}},Wr=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===jr},Mr=jr,zr={createPortal:Lr,isPortal:Wr,REACT_PORTAL_TYPE:Mr},Yr="undefined"!=typeof window?window:"undefined"!=typeof e?e:"undefined"!=typeof self?self:{},Br={disableNewFiberFeatures:!1,enableAsyncSubtreeAPI:!1},Qr=Br,Vr={NoEffect:0,PerformedWork:1,Placement:2,Update:4,PlacementAndUpdate:6,Deletion:8,ContentReset:16,Callback:32,Err:64,Ref:128},Xr={NoWork:0,SynchronousPriority:1,TaskPriority:2,HighPriority:3,LowPriority:4,OffscreenPriority:5},Gr=Vr.Callback,$r=Xr.NoWork,qr=Xr.SynchronousPriority,Kr=Xr.TaskPriority,Jr=bn.ClassComponent,Zr=bn.HostRoot,eo=Pe,to=Te,no=ke,ro=xe,oo=Ne,io=Re,ao=we,uo={addUpdate:eo,addReplaceUpdate:to,addForceUpdate:no,getUpdatePriority:ro,addTopLevelUpdate:oo,beginUpdateQueue:io,commitCallbacks:ao},lo=_e,so={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}},co=so,fo=Rt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,po={ReactCurrentOwner:fo.ReactCurrentOwner},go=po,vo=bn.HostRoot,ho=bn.HostComponent,mo=bn.HostText,yo=Vr.NoEffect,bo=Vr.Placement,Co=1,Po=2,To=3,ko=function(e){return Ie(e)===Po},xo=function(e){var t=co.get(e);return!!t&&Ie(t)===Po},No=Fe,So=function(e){var t=Fe(e);if(!t)return null;for(var n=t;!0;){if(n.tag===ho||n.tag===mo)return n;if(n.child)n.child.return=n,n=n.child;else{if(n===t)return null;for(;!n.sibling;){if(!n.return||n.return===t)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}}return null},Ro={isFiberMounted:ko,isMounted:xo,findCurrentFiberUsingSlowPath:No,findCurrentHostFiber:So},wo=[],_o=-1,Io=function(e){return{current:e}},Eo=function(){return-1===_o},Fo=function(e,t){_o<0||(e.current=wo[_o],wo[_o]=null,_o--)},Ho=function(e,t,n){_o++,wo[_o]=e.current,e.current=t},Ao=function(){for(;_o>-1;)wo[_o]=null,_o--},Do={createCursor:Io,isEmpty:Eo,pop:Fo,push:Ho,reset:Ao},Uo=Object.assign||function(e){for(var t=1;te)?e:t},Ei={createWorkInProgress:Ci,createHostRootFiber:Pi,createFiberFromElement:Ti,createFiberFromFragment:ki,createFiberFromText:xi,createFiberFromElementType:Ni,createFiberFromHostInstanceForDeletion:Si,createFiberFromCoroutine:Ri,createFiberFromYield:wi,createFiberFromPortal:_i,largerPriority:Ii},Fi=Ei.createHostRootFiber,Hi=function(e){var t=Fi(),n={current:t,containerInfo:e,isScheduled:!1,nextScheduledRoot:null,context:null,pendingContext:null};return t.stateNode=n,n},Ai={createFiberRoot:Hi},Di=bn.IndeterminateComponent,Ui=bn.FunctionalComponent,Oi=bn.ClassComponent,ji=bn.HostComponent,Li={getStackAddendumByWorkInProgressFiber:Ye,describeComponentFrame:Me};"function"==typeof Symbol&&("function"==typeof Symbol?Symbol.for:"@@for")?(dr=("function"==typeof Symbol?Symbol.for:"@@for")("react.coroutine"),pr=("function"==typeof Symbol?Symbol.for:"@@for")("react.yield")):(dr=60104,pr=60105);var Wi=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:dr,key:null==r?null:""+r,children:e,handler:t,props:n}},Mi=function(e){return{$$typeof:pr,value:e}},zi=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===dr},Yi=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===pr},Bi=pr,Qi=dr,Vi={createCoroutine:Wi,createYield:Mi,isCoroutine:zi,isYield:Yi,REACT_YIELD_TYPE:Bi,REACT_COROUTINE_TYPE:Qi},Xi=Vi.REACT_COROUTINE_TYPE,Gi=Vi.REACT_YIELD_TYPE,$i=zr.REACT_PORTAL_TYPE,qi=Ei.createWorkInProgress,Ki=Ei.createFiberFromElement,Ji=Ei.createFiberFromFragment,Zi=Ei.createFiberFromText,ea=Ei.createFiberFromCoroutine,ta=Ei.createFiberFromYield,na=Ei.createFiberFromPortal,ra=Array.isArray,oa=bn.FunctionalComponent,ia=bn.ClassComponent,aa=bn.HostText,ua=bn.HostPortal,la=bn.CoroutineComponent,sa=bn.YieldComponent,ca=bn.Fragment,fa=Vr.NoEffect,da=Vr.Placement,pa=Vr.Deletion,ga="function"==typeof Symbol&&("function"==typeof Symbol?Symbol.iterator:"@@iterator"),va="@@iterator",ha="function"==typeof Symbol&&("function"==typeof Symbol?Symbol.for:"@@for")&&("function"==typeof Symbol?Symbol.for:"@@for")("react.element")||60103,ma=Xe(!0,!0),ya=Xe(!1,!0),ba=Xe(!1,!1),Ca=function(e,t){if(Ct(null===e||t.child===e.child,"Resuming work not yet implemented."),null!==t.child){var n=t.child,r=qi(n,n.pendingWorkPriority);for(r.pendingProps=n.pendingProps,t.child=r,r.return=t;null!==n.sibling;)n=n.sibling,r=r.sibling=qi(n,n.pendingWorkPriority),r.pendingProps=n.pendingProps,r.return=t;r.sibling=null}},Pa={reconcileChildFibers:ma,reconcileChildFibersInPlace:ya,mountChildFibersInPlace:ba,cloneChildFibers:Ca},Ta=Vr.Update,ka=ai.AsyncUpdates,xa=ii.cacheContext,Na=ii.getMaskedContext,Sa=ii.getUnmaskedContext,Ra=ii.isContextConsumer,wa=uo.addUpdate,_a=uo.addReplaceUpdate,Ia=uo.addForceUpdate,Ea=uo.beginUpdateQueue,Fa=ii,Ha=Fa.hasContextChanged,Aa=Ro.isMounted,Da=function(e,t,n,r){function o(e,t,n,r,o,i){if(null===t||null!==e.updateQueue&&e.updateQueue.hasForceUpdate)return!0;var a=e.stateNode,u=e.type;return"function"==typeof a.shouldComponentUpdate?a.shouldComponentUpdate(n,o,i):!(u.prototype&&u.prototype.isPureReactComponent&&wt(t,n)&&wt(r,o))}function i(e,t){t.props=e.memoizedProps,t.state=e.memoizedState}function a(e,t){t.updater=d,e.stateNode=t,co.set(t,e)}function u(e,t){var n=e.type,r=Sa(e),o=Ra(e),i=o?Na(e,r):St,u=new n(t,i);return a(e,u),o&&xa(e,r,i),u}function l(e,t){var n=t.state;t.componentWillMount(),n!==t.state&&d.enqueueReplaceState(t,t.state,null)}function s(e,t,n,r){var o=t.state;t.componentWillReceiveProps(n,r),t.state!==o&&d.enqueueReplaceState(t,t.state,null)}function c(e,t){var n=e.alternate,r=e.stateNode,o=r.state||null,i=e.pendingProps;Ct(i,"There must be pending props for an initial mount. This error is likely caused by a bug in React. Please file an issue.");var a=Sa(e);if(r.props=i,r.state=o,r.refs=St,r.context=Na(e,a),Qr.enableAsyncSubtreeAPI&&null!=e.type&&!0===e.type.unstable_asyncUpdates&&(e.internalContextTag|=ka),"function"==typeof r.componentWillMount){l(e,r);var u=e.updateQueue;null!==u&&(r.state=Ea(n,e,u,r,o,i,t))}"function"==typeof r.componentDidMount&&(e.effectTag|=Ta)}function f(e,t,a){var u=t.stateNode;i(t,u);var l=t.memoizedProps,c=t.pendingProps;c||(c=l,Ct(null!=c,"There should always be pending or memoized props. This error is likely caused by a bug in React. Please file an issue."));var f=u.context,d=Sa(t),p=Na(t,d);"function"!=typeof u.componentWillReceiveProps||l===c&&f===p||s(t,u,c,p);var g=t.memoizedState,v=void 0;if(v=null!==t.updateQueue?Ea(e,t,t.updateQueue,u,g,c,a):g,!(l!==c||g!==v||Ha()||null!==t.updateQueue&&t.updateQueue.hasForceUpdate))return"function"==typeof u.componentDidUpdate&&(l===e.memoizedProps&&g===e.memoizedState||(t.effectTag|=Ta)),!1;var h=o(t,l,c,g,v,p);return h?("function"==typeof u.componentWillUpdate&&u.componentWillUpdate(c,v,p),"function"==typeof u.componentDidUpdate&&(t.effectTag|=Ta)):("function"==typeof u.componentDidUpdate&&(l===e.memoizedProps&&g===e.memoizedState||(t.effectTag|=Ta)),n(t,c),r(t,v)),u.props=c,u.state=v,u.context=p,h}var d={isMounted:Aa,enqueueSetState:function(n,r,o){var i=co.get(n),a=t(i,!1);o=void 0===o?null:o,wa(i,r,o,a),e(i,a)},enqueueReplaceState:function(n,r,o){var i=co.get(n),a=t(i,!1);o=void 0===o?null:o,_a(i,r,o,a),e(i,a)},enqueueForceUpdate:function(n,r){var o=co.get(n),i=t(o,!1);r=void 0===r?null:r,Ia(o,r,i),e(o,i)}};return{adoptClassInstance:a,constructClassInstance:u,mountClassInstance:c,updateClassInstance:f}},Ua=Pa.mountChildFibersInPlace,Oa=Pa.reconcileChildFibers,ja=Pa.reconcileChildFibersInPlace,La=Pa.cloneChildFibers,Wa=uo.beginUpdateQueue,Ma=ii.getMaskedContext,za=ii.getUnmaskedContext,Ya=ii.hasContextChanged,Ba=ii.pushContextProvider,Qa=ii.pushTopLevelContextObject,Va=ii.invalidateContextProvider,Xa=bn.IndeterminateComponent,Ga=bn.FunctionalComponent,$a=bn.ClassComponent,qa=bn.HostRoot,Ka=bn.HostComponent,Ja=bn.HostText,Za=bn.HostPortal,eu=bn.CoroutineComponent,tu=bn.CoroutineHandlerPhase,nu=bn.YieldComponent,ru=bn.Fragment,ou=Xr.NoWork,iu=Xr.OffscreenPriority,au=Vr.PerformedWork,uu=Vr.Placement,lu=Vr.ContentReset,su=Vr.Err,cu=Vr.Ref,fu=go.ReactCurrentOwner,du=function(e,t,n,r,o){function i(e,t,n){a(e,t,n,t.pendingWorkPriority)}function a(e,t,n,r){null===e?t.child=Ua(t,t.child,n,r):e.child===t.child?t.child=Oa(t,t.child,n,r):t.child=ja(t,t.child,n,r)}function u(e,t){var n=t.pendingProps;if(Ya())null===n&&(n=t.memoizedProps);else if(null===n||t.memoizedProps===n)return y(e,t);return i(e,t,n),C(t,n),t.child}function l(e,t){var n=t.ref;null===n||e&&e.ref===n||(t.effectTag|=cu)}function s(e,t){var n=t.type,r=t.pendingProps,o=t.memoizedProps;if(Ya())null===r&&(r=o);else{if(null===r||o===r)return y(e,t);if("function"==typeof n.shouldComponentUpdate&&!n.shouldComponentUpdate(o,r))return C(t,r),y(e,t)}var a,u=za(t),l=Ma(t,u);return a=n(r,l),t.effectTag|=au,i(e,t,a),C(t,r),t.child}function c(e,t,n){var r=Ba(t),o=void 0;return null===e?t.stateNode?Ct(!1,"Resuming work not yet implemented."):(A(t,t.pendingProps),D(t,n),o=!0):o=U(e,t,n),f(e,t,o,r)}function f(e,t,n,r){if(l(e,t),!n)return y(e,t);var o=t.stateNode;fu.current=t;var a=void 0;return a=o.render(),t.effectTag|=au,i(e,t,a),P(t,o.state),C(t,o.props),r&&Va(t),t.child}function d(e,t,n){var r=t.stateNode;r.pendingContext?Qa(t,r.pendingContext,r.pendingContext!==r.context):r.context&&Qa(t,r.context,!1),w(t,r.containerInfo);var o=t.updateQueue;if(null!==o){var a=t.memoizedState,u=Wa(e,t,o,null,a,null,n);if(a===u)return I(),y(e,t);var l=u.element;return null!==e&&null!==e.child||!_(t)?(I(),i(e,t,l)):(t.effectTag|=uu,t.child=Ua(t,t.child,l,n)),P(t,u),t.child}return I(),y(e,t)}function p(e,t,n){R(t),null===e&&E(t);var r=t.type,o=t.memoizedProps,a=t.pendingProps;null===a&&(a=o,Ct(null!==a,"We should always have pending or current props. This error is likely caused by a bug in React. Please file an issue."));var u=null!==e?e.memoizedProps:null;if(Ya());else if(null===a||o===a)return y(e,t);var s=a.children;return x(r,a)?s=null:u&&x(r,u)&&(t.effectTag|=lu),l(e,t),n!==iu&&!N&&S(r,a)?(t.pendingWorkPriority=iu,null):(i(e,t,s),C(t,a),t.child)}function g(e,t){null===e&&E(t);var n=t.pendingProps;return null===n&&(n=t.memoizedProps),C(t,n),null}function v(e,t,n){Ct(null===e,"An indeterminate component should never have mounted. This error is likely caused by a bug in React. Please file an issue.");var r,o=t.type,a=t.pendingProps,u=za(t),l=Ma(t,u);if(r=o(a,l),t.effectTag|=au,"object"==typeof r&&null!==r&&"function"==typeof r.render){t.tag=$a;var s=Ba(t);return H(t,r),D(t,n),f(e,t,!0,s)}return t.tag=Ga,i(e,t,r),C(t,a),t.child}function h(e,t){var n=t.pendingProps;Ya()?null===n&&(n=e&&e.memoizedProps,Ct(null!==n,"We should always have pending or current props. This error is likely caused by a bug in React. Please file an issue.")):null!==n&&t.memoizedProps!==n||(n=t.memoizedProps);var r=n.children,o=t.pendingWorkPriority;return null===e?t.stateNode=Ua(t,t.stateNode,r,o):e.child===t.child?t.stateNode=Oa(t,t.stateNode,r,o):t.stateNode=ja(t,t.stateNode,r,o),C(t,n),t.stateNode}function m(e,t){w(t,t.stateNode.containerInfo);var n=t.pendingWorkPriority,r=t.pendingProps;if(Ya())null===r&&(r=e&&e.memoizedProps,Ct(null!=r,"We should always have pending or current props. This error is likely caused by a bug in React. Please file an issue."));else if(null===r||t.memoizedProps===r)return y(e,t);return null===e?(t.child=ja(t,t.child,r,n),C(t,r)):(i(e,t,r),C(t,r)),t.child}function y(e,t){return La(e,t),t.child}function b(e,t){switch(t.tag){case $a:Ba(t);break;case Za:w(t,t.stateNode.containerInfo)}return null}function C(e,t){e.memoizedProps=t}function P(e,t){e.memoizedState=t}function T(e,t,n){if(t.pendingWorkPriority===ou||t.pendingWorkPriority>n)return b(e,t);switch(t.tag){case Xa:return v(e,t,n);case Ga:return s(e,t);case $a:return c(e,t,n);case qa:return d(e,t,n);case Ka:return p(e,t,n);case Ja:return g(e,t);case tu:t.tag=eu;case eu:return h(e,t);case nu:return null;case Za:return m(e,t);case ru:return u(e,t);default:Ct(!1,"Unknown unit of work tag. This error is likely caused by a bug in React. Please file an issue.")}}function k(e,t,n){if(Ct(t.tag===$a||t.tag===qa,"Invalid type of work. This error is likely caused by a bug in React. Please file an issue."),t.effectTag|=su,null===e?t.child=null:t.child!==e.child&&(t.child=e.child),t.pendingWorkPriority===ou||t.pendingWorkPriority>n)return b(e,t);if(t.firstEffect=null,t.lastEffect=null,a(e,t,null,n),t.tag===$a){var r=t.stateNode;t.memoizedProps=r.props,t.memoizedState=r.state}return t.child}var x=e.shouldSetTextContent,N=e.useSyncScheduling,S=e.shouldDeprioritizeSubtree,R=t.pushHostContext,w=t.pushHostContainer,_=n.enterHydrationState,I=n.resetHydrationState,E=n.tryToClaimNextHydratableInstance,F=Da(r,o,C,P),H=F.adoptClassInstance,A=F.constructClassInstance,D=F.mountClassInstance,U=F.updateClassInstance;return{beginWork:T,beginFailedWork:k}},pu=Pa.reconcileChildFibers,gu=ii.popContextProvider,vu=bn.IndeterminateComponent,hu=bn.FunctionalComponent,mu=bn.ClassComponent,yu=bn.HostRoot,bu=bn.HostComponent,Cu=bn.HostText,Pu=bn.HostPortal,Tu=bn.CoroutineComponent,ku=bn.CoroutineHandlerPhase,xu=bn.YieldComponent,Nu=bn.Fragment,Su=Vr.Placement,Ru=Vr.Ref,wu=Vr.Update,_u=Xr.OffscreenPriority,Iu=function(e,t,n){function r(e){e.effectTag|=wu}function o(e){e.effectTag|=Ru}function i(e,t){var n=t.stateNode;for(n&&(n.return=t);null!==n;){if(n.tag===bu||n.tag===Cu||n.tag===Pu)Ct(!1,"A coroutine cannot have host component children.");else if(n.tag===xu)e.push(n.type);else if(null!==n.child){n.child.return=n,n=n.child;continue}for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function a(e,t){var n=t.memoizedProps;Ct(n,"Should be resolved by now. This error is likely caused by a bug in React. Please file an issue."),t.tag=ku;var r=[];i(r,t);var o=n.handler,a=n.props,u=o(a,r),l=null!==e?e.child:null,s=t.pendingWorkPriority;return t.child=pu(t,l,u,s),t.child}function u(e,t){for(var n=t.child;null!==n;){if(n.tag===bu||n.tag===Cu)f(e,n.stateNode);else if(n.tag===Pu);else if(null!==n.child){n=n.child;continue}if(n===t)return;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n=n.sibling}}function l(e,t,n){var i=t.pendingProps;switch(null===i?i=t.memoizedProps:t.pendingWorkPriority===_u&&n!==_u||(t.pendingProps=null),t.tag){case hu:return null;case mu:return gu(t),null;case yu:var l=t.stateNode;return l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),null!==e&&null!==e.child||(C(t),t.effectTag&=~Su),null;case bu:v(t);var f=g(),P=t.type;if(null!==e&&null!=t.stateNode){var T=e.memoizedProps,k=t.stateNode,x=h(),N=p(k,P,T,i,f,x);t.updateQueue=N,N&&r(t),e.ref!==t.ref&&o(t)}else{if(!i)return Ct(null!==t.stateNode,"We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue."),null;var S=h();if(C(t))y(t,f)&&r(t);else{var R=s(P,i,f,S,t);u(R,t),d(R,P,i,f)&&r(t),t.stateNode=R}null!==t.ref&&o(t)}return null;case Cu:var w=i;if(e&&null!=t.stateNode)e.memoizedProps!==w&&r(t);else{if("string"!=typeof w)return Ct(null!==t.stateNode,"We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue."),null;var _=g(),I=h();C(t)?b(t)&&r(t):t.stateNode=c(w,_,I,t)}return null;case Tu:return a(e,t);case ku:return t.tag=Tu,null;case xu:case Nu:return null;case Pu:return r(t),m(t),null;case vu:Ct(!1,"An indeterminate component should have become determinate before completing. This error is likely caused by a bug in React. Please file an issue.");default:Ct(!1,"Unknown unit of work tag. This error is likely caused by a bug in React. Please file an issue.")}}var s=e.createInstance,c=e.createTextInstance,f=e.appendInitialChild,d=e.finalizeInitialChildren,p=e.prepareUpdate,g=t.getRootHostContainer,v=t.popHostContext,h=t.getHostContext,m=t.popHostContainer,y=n.prepareToHydrateHostInstance,b=n.prepareToHydrateHostTextInstance,C=n.popHydrationState;return{completeWork:l}},Eu=null,Fu=null,Hu=null,Au=null;if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&__REACT_DEVTOOLS_GLOBAL_HOOK__.supportsFiber){var Du=__REACT_DEVTOOLS_GLOBAL_HOOK__.inject,Uu=__REACT_DEVTOOLS_GLOBAL_HOOK__.onCommitFiberRoot,Ou=__REACT_DEVTOOLS_GLOBAL_HOOK__.onCommitFiberUnmount;Fu=function(e){Pt(null==Eu,"Cannot inject into DevTools twice."),Eu=Du(e)},Hu=function(e){if(null!=Eu)try{Uu(Eu,e)}catch(e){}},Au=function(e){if(null!=Eu)try{Ou(Eu,e)}catch(e){}}}var ju=Fu,Lu=Hu,Wu=Au,Mu={injectInternals:ju,onCommitRoot:Lu,onCommitUnmount:Wu},zu=bn.ClassComponent,Yu=bn.HostRoot,Bu=bn.HostComponent,Qu=bn.HostText,Vu=bn.HostPortal,Xu=bn.CoroutineComponent,Gu=uo.commitCallbacks,$u=Mu.onCommitUnmount,qu=Vr.Placement,Ku=Vr.Update,Ju=Vr.Callback,Zu=Vr.ContentReset,el=function(e,t){function n(e,n){try{n.componentWillUnmount()}catch(n){t(e,n)}}function r(e){var n=e.ref;if(null!==n)try{n(null)}catch(n){t(e,n)}}function o(e){for(var t=e.return;null!==t;){if(i(t))return t;t=t.return}Ct(!1,"Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}function i(e){return e.tag===Bu||e.tag===Yu||e.tag===Vu}function a(e){var t=e;e:for(;!0;){for(;null===t.sibling;){if(null===t.return||i(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==Bu&&t.tag!==Qu;){if(t.effectTag&qu)continue e;if(null===t.child||t.tag===Vu)continue e;t.child.return=t,t=t.child}if(!(t.effectTag&qu))return t.stateNode}}function u(e){var t=o(e),n=void 0,r=void 0;switch(t.tag){case Bu:n=t.stateNode,r=!1;break;case Yu:case Vu:n=t.stateNode.containerInfo,r=!0;break;default:Ct(!1,"Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}t.effectTag&Zu&&(y(n),t.effectTag&=~Zu);for(var i=a(e),u=e;!0;){if(u.tag===Bu||u.tag===Qu)i?r?k(n,u.stateNode,i):T(n,u.stateNode,i):r?P(n,u.stateNode):C(n,u.stateNode);else if(u.tag===Vu);else if(null!==u.child){u.child.return=u,u=u.child;continue}if(u===e)return;for(;null===u.sibling;){if(null===u.return||u.return===e)return;u=u.return}u.sibling.return=u.return,u=u.sibling}}function l(e){for(var t=e;!0;)if(f(t),null===t.child||t.tag===Vu){if(t===e)return;for(;null===t.sibling;){if(null===t.return||t.return===e)return;t=t.return}t.sibling.return=t.return,t=t.sibling}else t.child.return=t,t=t.child}function s(e){for(var t=e,n=!1,r=void 0,o=void 0;!0;){if(!n){var i=t.return;e:for(;!0;){switch(Ct(null!==i,"Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue."),i.tag){case Bu:r=i.stateNode,o=!1;break e;case Yu:case Vu:r=i.stateNode.containerInfo,o=!0;break e}i=i.return}n=!0}if(t.tag===Bu||t.tag===Qu)l(t),o?N(r,t.stateNode):x(r,t.stateNode);else if(t.tag===Vu){if(r=t.stateNode.containerInfo,null!==t.child){t.child.return=t,t=t.child;continue}}else if(f(t),null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)return; +for(;null===t.sibling;){if(null===t.return||t.return===e)return;t=t.return,t.tag===Vu&&(n=!1)}t.sibling.return=t.return,t=t.sibling}}function c(e){s(e),e.return=null,e.child=null,e.alternate&&(e.alternate.child=null,e.alternate.return=null)}function f(e){switch("function"==typeof $u&&$u(e),e.tag){case zu:r(e);var t=e.stateNode;return void("function"==typeof t.componentWillUnmount&&n(e,t));case Bu:return void r(e);case Xu:return void l(e.stateNode);case Vu:return void s(e)}}function d(e,t){switch(t.tag){case zu:return;case Bu:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,o=null!==e?e.memoizedProps:r,i=t.type,a=t.updateQueue;t.updateQueue=null,null!==a&&m(n,a,i,o,r,t)}return;case Qu:Ct(null!==t.stateNode,"This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var u=t.stateNode,l=t.memoizedProps,s=null!==e?e.memoizedProps:l;return void b(u,s,l);case Yu:case Vu:return;default:Ct(!1,"This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}}function p(e,t){switch(t.tag){case zu:var n=t.stateNode;if(t.effectTag&Ku)if(null===e)n.componentDidMount();else{var r=e.memoizedProps,o=e.memoizedState;n.componentDidUpdate(r,o)}return void(t.effectTag&Ju&&null!==t.updateQueue&&Gu(t,t.updateQueue,n));case Yu:var i=t.updateQueue;if(null!==i){var a=t.child&&t.child.stateNode;Gu(t,i,a)}return;case Bu:var u=t.stateNode;if(null===e&&t.effectTag&Ku){var l=t.type,s=t.memoizedProps;h(u,l,s,t)}return;case Qu:case Vu:return;default:Ct(!1,"This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}}function g(e){var t=e.ref;if(null!==t){var n=e.stateNode;switch(e.tag){case Bu:t(S(n));break;default:t(n)}}}function v(e){var t=e.ref;null!==t&&t(null)}var h=e.commitMount,m=e.commitUpdate,y=e.resetTextContent,b=e.commitTextUpdate,C=e.appendChild,P=e.appendChildToContainer,T=e.insertBefore,k=e.insertInContainerBefore,x=e.removeChild,N=e.removeChildFromContainer,S=e.getPublicInstance;return{commitPlacement:u,commitDeletion:c,commitWork:d,commitLifeCycles:p,commitAttachRef:g,commitDetachRef:v}},tl=Do.createCursor,nl=Do.pop,rl=Do.push,ol={},il=function(e){function t(e){return Ct(e!==ol,"Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function n(){return t(p.current)}function r(e,t){rl(p,t,e);var n=c(t);rl(d,e,e),rl(f,n,e)}function o(e){nl(f,e),nl(d,e),nl(p,e)}function i(){return t(f.current)}function a(e){var n=t(p.current),r=t(f.current),o=s(r,e.type,n);r!==o&&(rl(d,e,e),rl(f,o,e))}function u(e){d.current===e&&(nl(f,e),nl(d,e))}function l(){f.current=ol,p.current=ol}var s=e.getChildHostContext,c=e.getRootHostContext,f=tl(ol),d=tl(ol),p=tl(ol);return{getHostContext:i,getRootHostContainer:n,popHostContainer:o,popHostContext:u,pushHostContainer:r,pushHostContext:a,resetHostContainer:l}},al=bn.HostComponent,ul=bn.HostText,ll=bn.HostRoot,sl=Vr.Deletion,cl=Vr.Placement,fl=Ei.createFiberFromHostInstanceForDeletion,dl=function(e){function t(e){var t=e.stateNode.containerInfo;return T=v(t),P=e,k=!0,!0}function n(e,t){var n=fl();n.stateNode=t,n.return=e,n.effectTag=sl,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function r(e,t){t.effectTag|=cl}function o(e,t){switch(e.tag){case al:var n=e.type,r=e.pendingProps;return d(t,n,r);case ul:var o=e.pendingProps;return p(t,o);default:return!1}}function i(e){if(k){var t=T;if(!t)return r(P,e),k=!1,void(P=e);if(!o(e,t)){if(!(t=g(t))||!o(e,t))return r(P,e),k=!1,void(P=e);n(P,T)}e.stateNode=t,P=e,T=v(t)}}function a(e,t){var n=e.stateNode,r=h(n,e.type,e.memoizedProps,t,e);return e.updateQueue=r,null!==r}function u(e){var t=e.stateNode;return m(t,e.memoizedProps,e)}function l(e){for(var t=e.return;null!==t&&t.tag!==al&&t.tag!==ll;)t=t.return;P=t}function s(e){if(e!==P)return!1;if(!k)return l(e),k=!0,!1;var t=e.type;if(e.tag!==al||"head"!==t&&"body"!==t&&!f(t,e.memoizedProps))for(var r=T;r;)n(e,r),r=g(r);return l(e),T=P?g(e.stateNode):null,!0}function c(){P=null,T=null,k=!1}var f=e.shouldSetTextContent,d=e.canHydrateInstance,p=e.canHydrateTextInstance,g=e.getNextHydratableSibling,v=e.getFirstHydratableChild,h=e.hydrateInstance,m=e.hydrateTextInstance,y=e.didNotHydrateInstance,b=e.didNotFindHydratableInstance,C=e.didNotFindHydratableTextInstance;if(!(d&&p&&g&&v&&h&&m&&y&&b&&C))return{enterHydrationState:function(){return!1},resetHydrationState:function(){},tryToClaimNextHydratableInstance:function(){},prepareToHydrateHostInstance:function(){Ct(!1,"React bug.")},prepareToHydrateHostTextInstance:function(){Ct(!1,"React bug.")},popHydrationState:function(e){return!1}};var P=null,T=null,k=!1;return{enterHydrationState:t,resetHydrationState:c,tryToClaimNextHydratableInstance:i,prepareToHydrateHostInstance:a,prepareToHydrateHostTextInstance:u,popHydrationState:s}},pl=ii.popContextProvider,gl=Do.reset,vl=Li.getStackAddendumByWorkInProgressFiber,hl=Ot.logCapturedError,ml=go.ReactCurrentOwner,yl=Ei.createWorkInProgress,bl=Ei.largerPriority,Cl=Mu.onCommitRoot,Pl=Xr.NoWork,Tl=Xr.SynchronousPriority,kl=Xr.TaskPriority,xl=Xr.HighPriority,Nl=Xr.LowPriority,Sl=Xr.OffscreenPriority,Rl=ai.AsyncUpdates,wl=Vr.PerformedWork,_l=Vr.Placement,Il=Vr.Update,El=Vr.PlacementAndUpdate,Fl=Vr.Deletion,Hl=Vr.ContentReset,Al=Vr.Callback,Dl=Vr.Err,Ul=Vr.Ref,Ol=bn.HostRoot,jl=bn.HostComponent,Ll=bn.HostPortal,Wl=bn.ClassComponent,Ml=uo.getUpdatePriority,zl=ii,Yl=zl.resetContext,Bl=1,Ql=function(e){function t(){gl(),Yl(),A()}function n(){for(;null!==ue&&ue.current.pendingWorkPriority===Pl;){ue.isScheduled=!1;var e=ue.nextScheduledRoot;if(ue.nextScheduledRoot=null,ue===le)return ue=null,le=null,oe=Pl,null;ue=e}for(var n=ue,r=null,o=Pl;null!==n;)n.current.pendingWorkPriority!==Pl&&(o===Pl||o>n.current.pendingWorkPriority)&&(o=n.current.pendingWorkPriority,r=n),n=n.nextScheduledRoot;return null!==r?(oe=o,K=oe,t(),yl(r.current,o)):(oe=Pl,null)}function r(){for(;null!==ie;){var t=ie.effectTag;if(t&Hl&&e.resetTextContent(ie.stateNode),t&Ul){var n=ie.alternate;null!==n&&V(n)}switch(t&~(Al|Dl|Hl|Ul|wl)){case _l:M(ie),ie.effectTag&=~_l;break;case El:M(ie),ie.effectTag&=~_l;var r=ie.alternate;Y(r,ie);break;case Il:var o=ie.alternate;Y(o,ie);break;case Fl:he=!0,z(ie),he=!1}ie=ie.nextEffect}}function o(){for(;null!==ie;){var e=ie.effectTag;if(e&(Il|Al)){var t=ie.alternate;B(t,ie)}e&Ul&&Q(ie),e&Dl&&b(ie);var n=ie.nextEffect;ie.nextEffect=null,ie=n}}function i(e){ve=!0,ae=null;var t=e.stateNode;Ct(t.current!==e,"Cannot commit the same tree as before. This is probably a bug related to the return field. This error is likely caused by a bug in React. Please file an issue."),ml.current=null;var n=K;K=kl;var i=void 0;for(e.effectTag>wl?null!==e.lastEffect?(e.lastEffect.nextEffect=e,i=e.firstEffect):i=e:i=e.firstEffect,$(),ie=i;null!==ie;){var a=null;try{r()}catch(e){a=e}null!==a&&(Ct(null!==ie,"Should have next effect. This error is likely caused by a bug in React. Please file an issue."),h(ie,a),null!==ie&&(ie=ie.nextEffect))}for(q(),t.current=e,ie=i;null!==ie;){var u=null;try{o()}catch(e){u=e}null!==u&&(Ct(null!==ie,"Should have next effect. This error is likely caused by a bug in React. Please file an issue."),h(ie,u),null!==ie&&(ie=ie.nextEffect))}ve=!1,"function"==typeof Cl&&Cl(e.stateNode),de&&(de.forEach(x),de=null),K=n}function a(e,t){if(!(e.pendingWorkPriority!==Pl&&e.pendingWorkPriority>t)){for(var n=Ml(e),r=e.child;null!==r;)n=bl(n,r.pendingWorkPriority),r=r.sibling;e.pendingWorkPriority=n}}function u(e){for(;!0;){var t=e.alternate,n=L(t,e,oe),r=e.return,o=e.sibling;if(a(e,oe),null!==n)return n;if(null!==r&&(null===r.firstEffect&&(r.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==r.lastEffect&&(r.lastEffect.nextEffect=e.firstEffect),r.lastEffect=e.lastEffect),e.effectTag>wl&&(null!==r.lastEffect?r.lastEffect.nextEffect=e:r.firstEffect=e,r.lastEffect=e)),null!==o)return o;if(null===r)return oeBl){if(null===(re=l(re))&&null!==ae)if(t.timeRemaining()>Bl){if(i(ae),re=n(),c(),oe===Pl||oe>e||oee||oe>kl)););}function p(e,t){c(),null===re&&(re=n()),oe!==Pl&&oe<=e&&(oe<=kl?d(e):null!==t&&f(e,t))}function g(e){v(Sl,e)}function v(e,t){Ct(!Z,"performWork was called recursively. This error is likely caused by a bug in React. Please file an issue."),Z=!0;for(var n=!1;null===ge;){null===ae||ee||i(ae),J=K;var r=null;try{p(e,t)}catch(e){r=e}if(K=J,null===r){switch(oe){case Tl:case kl:if(oe<=e)continue;break;case xl:case Nl:case Sl:if(null===t)n=!0;else{if(!ee&&oe<=e)continue;n=!0}break;case Pl:break;default:Ct(!1,"Switch statement should be exhuastive.")}break}var o=re;if(null===o)null===ge&&(ge=r);else{var a=h(o,r);if(null!==a){var l=a;O(l.alternate,l,oe),C(o,l),re=u(l)}}}null!==t&&(se=!1),n&&!se&&(X(g),se=!0);var s=null!==ge?ge:pe;if(Z=!1,ee=!1,ge=null,pe=null,ce=null,fe=null,null!==s)throw s}function h(e,t){ml.current=null,re=null;var n=null,r=!1,o=!1,i=null;if(e.tag===Ol)n=e,y(e)&&(ge=t);else for(var a=e.return;null!==a&&null===n;){if(a.tag===Wl){var u=a.stateNode;"function"==typeof u.unstable_handleError&&(r=!0,i=lo(a),n=a,o=!0)}else a.tag===Ol&&(n=a);if(y(a)){if(he)return null;if(null!==de&&(de.has(a)||null!==a.alternate&&de.has(a.alternate)))return null;n=null,o=!1}a=a.return}if(null!==n){null===fe&&(fe=new Set),fe.add(n);var l=vl(e),s=lo(e);return null===ce&&(ce=new Map),ce.set(n,{componentName:s,componentStack:l,error:t,errorBoundary:r?n.stateNode:null,errorBoundaryFound:r,errorBoundaryName:i,willRetry:o}),ve?(null===de&&(de=new Set),de.add(n)):x(n),n}return null===pe&&(pe=t),null}function m(e){return null!==ce&&(ce.has(e)||null!==e.alternate&&ce.has(e.alternate))}function y(e){return null!==fe&&(fe.has(e)||null!==e.alternate&&fe.has(e.alternate))}function b(e){var t=void 0;null!==ce&&(t=ce.get(e),ce.delete(e),null==t&&null!==e.alternate&&(e=e.alternate,t=ce.get(e),ce.delete(e))),Ct(null!=t,"No error for given unit of work. This error is likely caused by a bug in React. Please file an issue.");var n=t.error;try{hl(t)}catch(e){console.error(e)}switch(e.tag){case Wl:var r=e.stateNode,o={componentStack:t.componentStack};return void r.unstable_handleError(n,o);case Ol:return void(null===pe&&(pe=n));default:Ct(!1,"Invalid type of work. This error is likely caused by a bug in React. Please file an issue.")}}function C(e,t){for(var n=e;null!==n&&n!==t&&n.alternate!==t;){switch(n.tag){case Wl:pl(n);break;case jl:H(n);break;case Ol:case Ll:F(n)}n=n.return}}function P(e,t){t!==Pl&&(e.isScheduled||(e.isScheduled=!0,le?(le.nextScheduledRoot=e,le=e):(ue=e,le=e)))}function T(e,t){t<=oe&&(re=null);for(var n=e,r=!0;null!==n&&r;){if(r=!1,(n.pendingWorkPriority===Pl||n.pendingWorkPriority>t)&&(r=!0,n.pendingWorkPriority=t),null!==n.alternate&&(n.alternate.pendingWorkPriority===Pl||n.alternate.pendingWorkPriority>t)&&(r=!0,n.alternate.pendingWorkPriority=t),null===n.return){if(n.tag!==Ol)return;if(P(n.stateNode,t),!Z)switch(t){case Tl:ne?v(Tl,null):v(kl,null);break;case kl:Ct(te,"Task updates can only be scheduled as a nested update or inside batchedUpdates.");break;default:se||(X(g),se=!0)}}n=n.return}}function k(e,t){var n=K;return n===Pl&&(n=!G||e.internalContextTag&Rl||t?Nl:Tl),n===Tl&&(Z||te)?kl:n}function x(e){T(e,kl)}function N(e,t){var n=K;K=e;try{t()}finally{K=n}}function S(e,t){var n=te;te=!0;try{return e(t)}finally{te=n,Z||te||v(kl,null)}}function R(e){var t=ne,n=te;ne=te,te=!1;try{return e()}finally{te=n,ne=t}}function w(e){var t=K;K=Tl;try{return e()}finally{K=t}}function _(e){var t=K;K=Nl;try{return e()}finally{K=t}}var I=il(e),E=dl(e),F=I.popHostContainer,H=I.popHostContext,A=I.resetHostContainer,D=du(e,I,E,T,k),U=D.beginWork,O=D.beginFailedWork,j=Iu(e,I,E),L=j.completeWork,W=el(e,h),M=W.commitPlacement,z=W.commitDeletion,Y=W.commitWork,B=W.commitLifeCycles,Q=W.commitAttachRef,V=W.commitDetachRef,X=e.scheduleDeferredCallback,G=e.useSyncScheduling,$=e.prepareForCommit,q=e.resetAfterCommit,K=Pl,J=Pl,Z=!1,ee=!1,te=!1,ne=!1,re=null,oe=Pl,ie=null,ae=null,ue=null,le=null,se=!1,ce=null,fe=null,de=null,pe=null,ge=null,ve=!1,he=!1;return{scheduleUpdate:T,getPriorityContext:k,performWithPriority:N,batchedUpdates:S,unbatchedUpdates:R,syncUpdates:w,deferredUpdates:_}},Vl=function(e){Ct(!1,"Missing injection for fiber getContextForSubtree")};Ge._injectFiber=function(e){Vl=e};var Xl=Ge,Gl=uo.addTopLevelUpdate,$l=ii.findCurrentUnmaskedContext,ql=ii.isContextProvider,Kl=ii.processChildContext,Jl=Ai.createFiberRoot,Zl=bn.HostComponent,es=Ro.findCurrentHostFiber;Xl._injectFiber(function(e){var t=$l(e);return ql(e)?Kl(e,t,!1):t});var ts=function(e){function t(e,t,n){var r=Qr.enableAsyncSubtreeAPI&&null!=t&&null!=t.type&&!0===t.type.unstable_asyncUpdates,a=i(e,r),u={element:t};n=void 0===n?null:n,Gl(e,u,n,a),o(e,a)}var n=e.getPublicInstance,r=Ql(e),o=r.scheduleUpdate,i=r.getPriorityContext,a=r.performWithPriority,u=r.batchedUpdates,l=r.unbatchedUpdates,s=r.syncUpdates,c=r.deferredUpdates;return{createContainer:function(e){return Jl(e)},updateContainer:function(e,n,r,o){var i=n.current,a=Xl(r);null===n.context?n.context=a:n.pendingContext=a,t(i,e,o)},performWithPriority:a,batchedUpdates:u,unbatchedUpdates:l,syncUpdates:s,deferredUpdates:c,getPublicRootInstance:function(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case Zl:return n(t.child.stateNode);default:return t.child.stateNode}},findHostInstance:function(e){var t=es(e);return null===t?null:t.stateNode}}},ns={},rs=1,os={},is=function(){function e(){$e(this,e)}return e.register=function(e){var t=++rs;return ns[t]=e,t},e.getByID=function(e){if(!e)return os;var t=ns[e];return t||(console.warn("Invalid style with id `"+e+"`. Skipping ..."),os)},e}(),as=is,us={},ls=null,ss=0,cs={create:function(e,t){return ot(null,e,t)},diff:function(e,t,n){return rt(null,e,t,n)}},fs=cs,ds={mountSafeCallback:at,throwOnStylesProp:ut,warnForStyleProps:lt},ps=ds.mountSafeCallback,gs=function(){function e(t,n){st(this,e),this._nativeTag=t,this._children=[],this.viewConfig=n}return e.prototype.blur=function(){Et.blurTextInput(this._nativeTag)},e.prototype.focus=function(){Et.focusTextInput(this._nativeTag)},e.prototype.measure=function(e){Nt.measure(this._nativeTag,ps(this,e))},e.prototype.measureInWindow=function(e){Nt.measureInWindow(this._nativeTag,ps(this,e))},e.prototype.measureLayout=function(e,t,n){Nt.measureLayout(this._nativeTag,e,ps(this,n),ps(this,t))},e.prototype.setNativeProps=function(e){var t=fs.create(e,this.viewConfig.validAttributes);Nt.updateView(this._nativeTag,this.viewConfig.uiViewClassName,t)},e}(),vs=gs,hs=new Map,ms={register:function(e){var t=e.uiViewClassName;return Ct(!hs.has(t),"Tried to register two views with the same name %s",t),hs.set(t,e),t},get:function(e){var t=hs.get(e);return Ct(t,"View config not found for name %s",e),t}},ys=ms,bs=$n.precacheFiberNode,Cs=$n.uncacheFiberNode,Ps=$n.updateFiberProps,Ts=ts({appendChild:function(e,t){var n="number"==typeof t?t:t._nativeTag,r=e._children,o=r.indexOf(t);o>=0?(r.splice(o,1),r.push(t),Nt.manageChildren(e._nativeTag,[o],[r.length-1],[],[],[])):(r.push(t),Nt.manageChildren(e._nativeTag,[],[],[n],[r.length-1],[]))},appendChildToContainer:function(e,t){var n="number"==typeof t?t:t._nativeTag;Nt.setChildren(e,[n])},appendInitialChild:function(e,t){e._children.push(t)},commitTextUpdate:function(e,t,n){Nt.updateView(e,"RCTRawText",{text:n})},commitMount:function(e,t,n,r){},commitUpdate:function(e,t,n,r,o,i){var a=e.viewConfig;Ps(e._nativeTag,o);var u=fs.diff(r,o,a.validAttributes);Nt.updateView(e._nativeTag,a.uiViewClassName,u)},createInstance:function(e,t,n,r,o){var i=er.allocateTag(),a=ys.get(e),u=fs.create(t,a.validAttributes);Nt.createView(i,a.uiViewClassName,n,u);var l=new vs(i,a);return bs(o,i),Ps(i,t),l},createTextInstance:function(e,t,n,r){var o=er.allocateTag();return Nt.createView(o,"RCTRawText",t,{text:e}),bs(r,o),o},finalizeInitialChildren:function(e,t,n,r){if(0===e._children.length)return!1;var o=e._children.map(function(e){return"number"==typeof e?e:e._nativeTag});return Nt.setChildren(e._nativeTag,o),!1},getRootHostContext:function(){return St},getChildHostContext:function(){return St},getPublicInstance:function(e){return e},insertBefore:function(e,t,n){var r=e._children,o=r.indexOf(t);if(o>=0){r.splice(o,1);var i=r.indexOf(n);r.splice(i,0,t),Nt.manageChildren(e._nativeTag,[o],[i],[],[],[])}else{var a=r.indexOf(n);r.splice(a,0,t);var u="number"==typeof t?t:t._nativeTag;Nt.manageChildren(e._nativeTag,[],[],[u],[a],[])}},insertInContainerBefore:function(e,t,n){Ct("number"!=typeof e,"Container does not support insertBefore operation")},prepareForCommit:function(){},prepareUpdate:function(e,t,n,r,o,i){return St},removeChild:function(e,t){ct(t);var n=e._children,r=n.indexOf(t);n.splice(r,1),Nt.manageChildren(e._nativeTag,[],[],[],[],[r])},removeChildFromContainer:function(e,t){ct(t),Nt.manageChildren(e,[],[],[],[],[0])},resetAfterCommit:function(){},resetTextContent:function(e){},shouldDeprioritizeSubtree:function(e,t){return!1},scheduleDeferredCallback:Yr.requestIdleCallback,shouldSetTextContent:function(e,t){return!1},useSyncScheduling:!0}),ks=Ts,xs=void 0;xs=function(){Ct(!1,"getInspectorDataForViewTag() is not available in production")};var Ns={getInspectorDataForViewTag:xs},Ss="16.0.0-alpha.13",Rs=t(66),ws=Rs.useFiber?function(e){return ks.findHostInstance(e)}:function(e){return e},_s=ft,Is=function(e){var t=_s(e);return null==t||"number"==typeof t?t:t._nativeTag},Es=null,Fs=t(66),Hs=ds.mountSafeCallback,As=Fs.useFiber?Is:Es,Ds=function(e){function t(){return dt(this,t),pt(this,e.apply(this,arguments))}return gt(t,e),t.prototype.blur=function(){Et.blurTextInput(As(this))},t.prototype.focus=function(){Et.focusTextInput(As(this))},t.prototype.measure=function(e){Nt.measure(As(this),Hs(this,e))},t.prototype.measureInWindow=function(e){Nt.measureInWindow(As(this),Hs(this,e))},t.prototype.measureLayout=function(e,t,n){Nt.measureLayout(As(this),e,Hs(this,n),Hs(this,t))},t.prototype.setNativeProps=function(e){Us(this,e)},t}(Rt.Component),Us=void 0;Us=Fs.useFiber?vt:ht;var Os=Ds,js=t(66),Ls=ds.mountSafeCallback,Ws=js.useFiber?Is:Es,Ms={measure:function(e){Nt.measure(Ws(this),Ls(this,e))},measureInWindow:function(e){Nt.measureInWindow(Ws(this),Ls(this,e))},measureLayout:function(e,t,n){Nt.measureLayout(Ws(this),e,Ls(this,n),Ls(this,t))},setNativeProps:function(e){zs(this,e)},focus:function(){Et.focusTextInput(Ws(this))},blur:function(){Et.blurTextInput(Ws(this))}},zs=void 0;zs=js.useFiber?mt:yt;var Ys=Ms,Bs={centroidDimension:function(e,t,n,r){var o=e.touchBank,i=0,a=0,u=1===e.numberActiveTouches?e.touchBank[e.indexOfSingleActiveTouch]:null;if(null!==u)u.touchActive&&u.currentTimeStamp>t&&(i+=r&&n?u.currentPageX:r&&!n?u.currentPageY:!r&&n?u.previousPageX:u.previousPageY,a=1);else for(var l=0;l=t){var c;c=r&&n?s.currentPageX:r&&!n?s.currentPageY:!r&&n?s.previousPageX:s.previousPageY,i+=c,a++}}return a>0?i/a:Bs.noCentroid},currentCentroidXOfTouchesChangedAfter:function(e,t){return Bs.centroidDimension(e,t,!0,!0)},currentCentroidYOfTouchesChangedAfter:function(e,t){return Bs.centroidDimension(e,t,!1,!0)},previousCentroidXOfTouchesChangedAfter:function(e,t){return Bs.centroidDimension(e,t,!0,!1)},previousCentroidYOfTouchesChangedAfter:function(e,t){return Bs.centroidDimension(e,t,!1,!1)},currentCentroidX:function(e){return Bs.centroidDimension(e,0,!0,!0)},currentCentroidY:function(e){return Bs.centroidDimension(e,0,!1,!0)},noCentroid:-1},Qs=Bs,Vs=function(e){return ys.register(e)},Xs=Vs,Gs=t(66),$s=Gs.useFiber?Xs:Es,qs=t(66),Ks=qs.useFiber?Is:Es,Js=bt,Zs=Mu.injectInternals;Or.inject(),rn.injection.injectFiberBatchedUpdates(ks.batchedUpdates);var ec=new Map;Ot.injection.injectDialog(an.showDialog);var tc={NativeComponent:Os,findNodeHandle:Is,render:function(e,t,n){var r=ec.get(t);return r||(r=ks.createContainer(t),ec.set(t,r)),ks.updateContainer(e,r,null,n),ks.getPublicRootInstance(r)},unmountComponentAtNode:function(e){var t=ec.get(e);t&&ks.updateContainer(null,t,null,function(){ec.delete(e)})},unmountComponentAtNodeAndRemoveContainer:function(e){tc.unmountComponentAtNode(e),Nt.removeRootView(e)},unstable_createPortal:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return zr.createPortal(e,t,null,n)},unstable_batchedUpdates:rn.batchedUpdates,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{NativeMethodsMixin:Ys,ReactGlobalSharedState:go,ReactNativeComponentTree:$n,ReactNativePropRegistry:as,TouchHistoryMath:Qs,createReactNativeComponentClass:$s,takeSnapshot:Js}};"function"==typeof Zs&&Zs({findFiberByHostInstance:$n.getClosestInstanceFromNode,findHostInstanceByFiber:ks.findHostInstance,getInspectorDataForViewTag:Ns.getInspectorDataForViewTag,bundleType:0,version:Ss});var nc=tc;n.exports=nc},67); +__d(function(r,o,e,n){"use strict";function s(r,e){var n=o(27),s=n.ExceptionsManager;if(s){var i=o(69),c=i(r),l=++a;e?s.reportFatalException(r.message,c,l):s.reportSoftException(r.message,c,l)}}function i(r,o){r.message||(r=new Error(r)),console._errorOriginal?console._errorOriginal(r.message):console.error(r.message),s(r,o)}function c(){if(console._errorOriginal.apply(console,arguments),console.reportErrorsAsExceptions)if(arguments[0]&&arguments[0].stack)s(arguments[0],!1);else{var r=o(33),e=Array.prototype.map.call(arguments,r).join(", ");if('"Warning: '===e.slice(0,10))return;var n=new Error("console.error: "+e);n.framesToPop=1,s(n,!1)}}function l(){console._errorOriginal||(console._errorOriginal=console.error.bind(console),console.error=c,void 0===console.reportErrorsAsExceptions&&(console.reportErrorsAsExceptions=!0))}var a=0;e.exports={handleException:i,installConsoleErrorReporter:l}},68); +__d(function(r,t,s,a){"use strict";function e(r){if(!r||!r.stack)return[];for(var s=t(70),a=Array.isArray(r.stack)?r.stack:s.parse(r.stack),e="number"==typeof r.framesToPop?r.framesToPop:0;e--;)a.shift();return a}s.exports=e},69); +__d(function(n,o,t,_){t.exports=o(71)},70); +__d(function(e,n,t,l){var o="",i={parse:function(e){for(var n,t,l=/^\s*at (?:(?:(?:Anonymous function)?|((?:\[object object\])?\S+(?: \[as \S+\])?)) )?\(?((?:file|http|https):.*?):(\d+)(?::(\d+))?\)?\s*$/i,i=/^(?:\s*([^@]*)(?:\((.*?)\))?@)?(\S.*?):(\d+)(?::(\d+))?\s*$/i,u=/^\s*at (?:((?:\[object object\])?\S+(?: \[as \S+\])?) )?\(?(.*?):(\d+)(?::(\d+))?\)?\s*$/i,s=e.split("\n"),c=[],m=0,f=s.length;m=n?(this._iteratedObject=void 0,t(void 0,!0)):(this._nextIndex=s+1,u===i?t(s,!1):u===o?t(r[s],!1):u===a?t([s,r[s]],!1):void 0)}},{key:"@@iterator",value:function(){return this}}]),e}(),r=function(){function e(t){if(babelHelpers.classCallCheck(this,e),"string"!=typeof t)throw new TypeError("Object is not a string");this._iteratedString=t,this._nextIndex=0}return babelHelpers.createClass(e,[{key:"next",value:function(){if(!this instanceof e)throw new TypeError("Object is not a StringIterator");if(null==this._iteratedString)return t(void 0,!0);var r=this._nextIndex,n=this._iteratedString,i=n.length;if(r>=i)return this._iteratedString=void 0,t(void 0,!0);var o,a=n.charCodeAt(r);if(a<55296||a>56319||r+1===i)o=n[r];else{var s=n.charCodeAt(r+1);o=s<56320||s>57343?n[r]:n[r]+n[r+1]}return this._nextIndex=r+o.length,t(o,!1)}},{key:"@@iterator",value:function(){return this}}]),e}();return function(t,n){return"string"==typeof t?new r(t):Array.isArray(t)?new e(t,n||o):t[s]()}}()}();babelHelpers.extends(u,{KIND_KEY:i,KIND_VALUE:o,KIND_KEY_VAL:a,ITERATOR_SYMBOL:s}),r.exports=u},77); +__d(function(e,t,n,s){"use strict";var i=t(73),r=t(74),a=t(77);n.exports=function(e){function t(e){e._map=new i,e.size=e._map.size}if(!r("Set"))return e.Set;var n=function(){function e(n){if(babelHelpers.classCallCheck(this,e),null==this||"object"!=typeof this&&"function"!=typeof this)throw new TypeError("Wrong set object type.");if(t(this),null!=n)for(var s,i=a(n);!(s=i.next()).done;)this.add(s.value)}return babelHelpers.createClass(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],s=this._map.keys();!(t=s.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[a.ITERATOR_SYMBOL]=n.prototype.values,n.prototype.keys=n.prototype.values,n}(Function("return this")())},78); +__d(function(t,r,e,n){!function(t){"use strict";function r(t,r,e,n){var i=r&&r.prototype instanceof o?r:o,a=Object.create(i.prototype),c=new p(n||[]);return a._invoke=s(t,e,c),a}function n(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}function o(){}function i(){}function a(){}function c(t){["next","throw","return"].forEach(function(r){t[r]=function(t){return this._invoke(r,t)}})}function u(t){this.arg=t}function f(t){function r(e,o,i,a){var c=n(t[e],t,o);if("throw"!==c.type){var f=c.arg,s=f.value;return s instanceof u?Promise.resolve(s.arg).then(function(t){r("next",t,i,a)},function(t){r("throw",t,i,a)}):Promise.resolve(s).then(function(t){f.value=t,i(f)},a)}a(c.arg)}function e(t,e){function n(){return new Promise(function(n,o){r(t,e,n,o)})}return o=o?o.then(n,n):n()}"object"==typeof process&&process.domain&&(r=process.domain.bind(r));var o;this._invoke=e}function s(t,r,e){var o=b;return function(i,a){if(o===_)throw new Error("Generator is already running");if(o===k){if("throw"===i)throw a;return v()}for(;;){var c=e.delegate;if(c){if("return"===i||"throw"===i&&c.iterator[i]===g){e.delegate=null;var u=c.iterator.return;if(u){var f=n(u,c.iterator,a);if("throw"===f.type){i="throw",a=f.arg;continue}}if("return"===i)continue}var f=n(c.iterator[i],c.iterator,a);if("throw"===f.type){e.delegate=null,i="throw",a=f.arg;continue}i="next",a=g;var s=f.arg;if(!s.done)return o=j,s;e[c.resultName]=s.value,e.next=c.nextLoc,e.delegate=null}if("next"===i)e.sent=e._sent=a;else if("throw"===i){if(o===b)throw o=k,a;e.dispatchException(a)&&(i="next",a=g)}else"return"===i&&e.abrupt("return",a);o=_;var f=n(t,r,e);if("normal"===f.type){o=e.done?k:j;var s={value:f.arg,done:e.done};if(f.arg!==G)return s;e.delegate&&"next"===i&&(a=g)}else"throw"===f.type&&(o=k,i="throw",a=f.arg)}}}function l(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function h(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function p(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(l,this),this.reset(!0)}function y(t){if(t){var r=t[m];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var e=-1,n=function r(){for(;++e=0;--n){var o=this.tryEntries[n],i=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var a=d.call(o,"catchLoc"),c=d.call(o,"finallyLoc");if(a&&c){if(this.prev=0;--e){var n=this.tryEntries[e];if(n.tryLoc<=this.prev&&d.call(n,"finallyLoc")&&this.prev=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),h(e),G}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;h(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,e){return this.delegate={iterator:y(t),resultName:r,nextLoc:e},G}}}("object"==typeof t?t:"object"==typeof window?window:"object"==typeof self?self:this)},79); +__d(function(e,t,s,r){"use strict";var i=t(81),n=t(85),o=t(88),a=t(25),h=t(39),p=0,d=1,u=2,l=3,_=4,c={arraybuffer:"function"==typeof e.ArrayBuffer,blob:"function"==typeof e.Blob,document:!1,json:!0,text:!0,"":!0},y=["abort","error","load","loadstart","progress","timeout","loadend"],b=y.concat("readystatechange"),v=function(e){function t(){return babelHelpers.classCallCheck(this,t),babelHelpers.possibleConstructorReturn(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return babelHelpers.inherits(t,e),t}(i.apply(void 0,y)),f=function(t){function s(){babelHelpers.classCallCheck(this,s);var e=babelHelpers.possibleConstructorReturn(this,(s.__proto__||Object.getPrototypeOf(s)).call(this));return e.UNSENT=p,e.OPENED=d,e.HEADERS_RECEIVED=u,e.LOADING=l,e.DONE=_,e.readyState=p,e.status=0,e.timeout=0,e.withCredentials=!0,e.upload=new v,e._aborted=!1,e._hasError=!1,e._method=null,e._response="",e._url=null,e._timedOut=!1,e._trackingName="unknown",e._incrementalEvents=!1,e._reset(),e}return babelHelpers.inherits(s,t),babelHelpers.createClass(s,null,[{key:"setInterceptor",value:function(e){s._interceptor=e}}]),babelHelpers.createClass(s,[{key:"_reset",value:function(){this.readyState=this.UNSENT,this.responseHeaders=void 0,this.status=0,delete this.responseURL,this._requestId=null,this._cachedResponse=void 0,this._hasError=!1,this._headers={},this._response="",this._responseType="",this._sent=!1,this._lowerCaseResponseHeaders={},this._clearSubscriptions(),this._timedOut=!1}},{key:"__didCreateRequest",value:function(e){this._requestId=e,s._interceptor&&s._interceptor.requestSent(e,this._url||"",this._method||"GET",this._headers)}},{key:"__didUploadProgress",value:function(e,t,s){e===this._requestId&&this.upload.dispatchEvent({type:"progress",lengthComputable:!0,loaded:t,total:s})}},{key:"__didReceiveResponse",value:function(e,t,r,i){e===this._requestId&&(this.status=t,this.setResponseHeaders(r),this.setReadyState(this.HEADERS_RECEIVED),i||""===i?this.responseURL=i:delete this.responseURL,s._interceptor&&s._interceptor.responseReceived(e,i||this._url||"",t,r||{}))}},{key:"__didReceiveData",value:function(e,t){e===this._requestId&&(this._response=t,this._cachedResponse=void 0,this.setReadyState(this.LOADING),s._interceptor&&s._interceptor.dataReceived(e,t))}},{key:"__didReceiveIncrementalData",value:function(e,t,r,i){e===this._requestId&&(this._response?this._response+=t:this._response=t,s._interceptor&&s._interceptor.dataReceived(e,t),this.setReadyState(this.LOADING),this.__didReceiveDataProgress(e,r,i))}},{key:"__didReceiveDataProgress",value:function(e,t,s){e===this._requestId&&this.dispatchEvent({type:"progress",lengthComputable:s>=0,loaded:t,total:s})}},{key:"__didCompleteResponse",value:function(e,t,r){e===this._requestId&&(t&&(""!==this._responseType&&"text"!==this._responseType||(this._response=t),this._hasError=!0,r&&(this._timedOut=!0)),this._clearSubscriptions(),this._requestId=null,this.setReadyState(this.DONE),t?s._interceptor&&s._interceptor.loadingFailed(e,t):s._interceptor&&s._interceptor.loadingFinished(e,this._response.length))}},{key:"_clearSubscriptions",value:function(){(this._subscriptions||[]).forEach(function(e){e.remove()}),this._subscriptions=[]}},{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("\r\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()]=String(t)}},{key:"setTrackingName",value:function(e){return this._trackingName=e,this}},{key:"open",value:function(e,t,s){if(this.readyState!==this.UNSENT)throw new Error("Cannot open, already sending");if(void 0!==s&&!s)throw new Error("Synchronous http requests are not supported");if(!t)throw new Error("Cannot load an empty url");this._method=e.toUpperCase(),this._url=t,this._aborted=!1,this.setReadyState(this.OPENED)}},{key:"send",value:function(e){var t=this;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;var s=this._incrementalEvents||!!this.onreadystatechange||!!this.onprogress;this._subscriptions.push(n.addListener("didSendNetworkData",function(e){return t.__didUploadProgress.apply(t,babelHelpers.toConsumableArray(e))})),this._subscriptions.push(n.addListener("didReceiveNetworkResponse",function(e){return t.__didReceiveResponse.apply(t,babelHelpers.toConsumableArray(e))})),this._subscriptions.push(n.addListener("didReceiveNetworkData",function(e){return t.__didReceiveData.apply(t,babelHelpers.toConsumableArray(e))})),this._subscriptions.push(n.addListener("didReceiveNetworkIncrementalData",function(e){return t.__didReceiveIncrementalData.apply(t,babelHelpers.toConsumableArray(e))})),this._subscriptions.push(n.addListener("didReceiveNetworkDataProgress",function(e){return t.__didReceiveDataProgress.apply(t,babelHelpers.toConsumableArray(e))})),this._subscriptions.push(n.addListener("didCompleteNetworkResponse",function(e){return t.__didCompleteResponse.apply(t,babelHelpers.toConsumableArray(e))}));var r="text";"arraybuffer"!==this._responseType&&"blob"!==this._responseType||(r="base64"),a(this._method,"Request method needs to be defined."),a(this._url,"Request URL needs to be defined."),n.sendRequest(this._method,this._trackingName,this._url,this._headers,e,r,s,this.timeout,this.__didCreateRequest.bind(this),this.withCredentials)}},{key:"abort",value:function(){this._aborted=!0,this._requestId&&n.abortRequest(this._requestId),this.readyState===this.UNSENT||this.readyState===this.OPENED&&!this._sent||this.readyState===this.DONE||(this._reset(),this.setReadyState(this.DONE)),this._reset()}},{key:"setResponseHeaders",value:function(e){this.responseHeaders=e||null;var t=e||{};this._lowerCaseResponseHeaders=Object.keys(t).reduce(function(e,s){return e[s.toLowerCase()]=t[s],e},{})}},{key:"setReadyState",value:function(e){this.readyState=e,this.dispatchEvent({type:"readystatechange"}),e===this.DONE&&(this._aborted?this.dispatchEvent({type:"abort"}):this._hasError?this._timedOut?this.dispatchEvent({type:"timeout"}):this.dispatchEvent({type:"error"}):this.dispatchEvent({type:"load"}),this.dispatchEvent({type:"loadend"}))}},{key:"addEventListener",value:function(e,t){"readystatechange"!==e&&"progress"!==e||(this._incrementalEvents=!0),babelHelpers.get(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"addEventListener",this).call(this,e,t)}},{key:"responseType",get:function(){return this._responseType},set:function(e){if(this._sent)throw new Error("Failed to set the 'responseType' property on 'XMLHttpRequest': The response type cannot be set after the request has been sent.");return c.hasOwnProperty(e)?(a(c[e]||"document"===e,"The provided value '"+e+"' is unsupported in this environment."),void(this._responseType=e)):void h(!1,"The provided value '"+e+"' is not a valid 'responseType'.")}},{key:"responseText",get:function(){if(""!==this._responseType&&"text"!==this._responseType)throw new Error("The 'responseText' property is only available if 'responseType' "+("is set to '' or 'text', but it is '"+this._responseType+"'."));return this.readyState0){for(var t=Array(arguments.length),n=0;n0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===r[t-2]?2:"="===r[t-1]?1:0}function a(r){return 3*r.length/4-o(r)}function h(r){var t,n,e,a,h,c=r.length;a=o(r),h=new f(3*c/4-a),n=a>0?c-4:c;var u=0;for(t=0;t>16&255,h[u++]=e>>8&255,h[u++]=255&e;return 2===a?(e=d[r.charCodeAt(t)]<<2|d[r.charCodeAt(t+1)]>>4,h[u++]=255&e):1===a&&(e=d[r.charCodeAt(t)]<<10|d[r.charCodeAt(t+1)]<<4|d[r.charCodeAt(t+2)]>>2,h[u++]=e>>8&255,h[u++]=255&e),h}function c(r){return A[r>>18&63]+A[r>>12&63]+A[r>>6&63]+A[63&r]}function u(r,t,n){for(var e,o=[],a=t;ai?i:c+h));return 1===e?(t=r[n-1],o+=A[t>>2],o+=A[t<<4&63],o+="=="):2===e&&(t=(r[n-2]<<8)+r[n-1],o+=A[t>>10],o+=A[t>>4&63],o+=A[t<<2&63],o+="="),a.push(o),a.join("")}e.byteLength=a,e.toByteArray=h,e.fromByteArray=i;for(var A=[],d=[],f="undefined"!=typeof Uint8Array?Uint8Array:Array,C="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",y=0,g=C.length;y-1?e:t}function c(t,e){e=e||{};var r=e.body;if("string"==typeof t)this.url=t;else{if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new n(t.headers)),this.method=t.method,this.mode=t.mode,r||null==t._bodyInit||(r=t._bodyInit,t.bodyUsed=!0)}if(this.credentials=e.credentials||this.credentials||"omit",!e.headers&&this.headers||(this.headers=new n(e.headers)),this.method=y(e.method||this.method||"GET"),this.mode=e.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function l(t){var e=new FormData;return t.trim().split("&").forEach(function(t){if(t){var r=t.split("="),o=r.shift().replace(/\+/g," "),n=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(o),decodeURIComponent(n))}}),e}function p(t){var e=new n;return t.split("\r\n").forEach(function(t){var r=t.split(":"),o=r.shift().trim();if(o){var n=r.join(":").trim();e.append(o,n)}}),e}function b(t,e){e||(e={}),this.type="default",this.status="status"in e?e.status:200,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new n(e.headers),this.url=e.url||"",this._initBody(t)}if(!t.fetch){var m={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(m.arrayBuffer)var w=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],v=function(t){return t&&DataView.prototype.isPrototypeOf(t)},_=ArrayBuffer.isView||function(t){return t&&w.indexOf(Object.prototype.toString.call(t))>-1};n.prototype.append=function(t,o){t=e(t),o=r(o);var n=this.map[t];n||(n=[],this.map[t]=n),n.push(o)},n.prototype.delete=function(t){delete this.map[e(t)]},n.prototype.get=function(t){var r=this.map[e(t)];return r?r[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(t,o){this.map[e(t)]=[r(o)]},n.prototype.forEach=function(t,e){Object.getOwnPropertyNames(this.map).forEach(function(r){this.map[r].forEach(function(o){t.call(e,o,r,this)},this)},this)},n.prototype.keys=function(){var t=[];return this.forEach(function(e,r){t.push(r)}),o(t)},n.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),o(t)},n.prototype.entries=function(){var t=[];return this.forEach(function(e,r){t.push([r,e])}),o(t)},m.iterable&&(n.prototype["function"==typeof Symbol?Symbol.iterator:"@@iterator"]=n.prototype.entries);var B=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];c.prototype.clone=function(){return new c(this,{body:this._bodyInit})},d.call(c.prototype),d.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new n(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var A=[301,302,303,307,308];b.redirect=function(t,e){if(A.indexOf(e)===-1)throw new RangeError("Invalid status code");return new b(null,{status:e,headers:{location:t}})},t.Headers=n,t.Request=c,t.Response=b,t.fetch=function(t,e){return new Promise(function(r,o){var n=new c(t,e),i=new XMLHttpRequest;i.onload=function(){var t={status:i.status,statusText:i.statusText,headers:p(i.getAllResponseHeaders()||"")};t.url="responseURL"in i?i.responseURL:t.headers.get("X-Request-URL");var e="response"in i?i.response:i.responseText;r(new b(e,t))},i.onerror=function(){o(new TypeError("Network request failed"))},i.ontimeout=function(){o(new TypeError("Network request failed"))},i.open(n.method,n.url,!0),"include"===n.credentials&&(i.withCredentials=!0),"responseType"in i&&m.blob&&(i.responseType="blob"),n.headers.forEach(function(t,e){i.setRequestHeader(e,t)}),i.send("undefined"==typeof n._bodyInit?null:n._bodyInit)})},t.fetch.polyfill=!0}}("undefined"!=typeof self?self:this)},91); +__d(function(e,t,s,i){"use strict";var r=t(53),n=(t(35),t(27).WebSocketModule),o=t(93),a=t(87),c=t(81),d=t(88),l=0,u=1,h=2,E=3,_=["close","error","message","open"],v=0,f=function(e){function t(e,s,i){babelHelpers.classCallCheck(this,t);var o=babelHelpers.possibleConstructorReturn(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));if(o.CONNECTING=l,o.OPEN=u,o.CLOSING=h,o.CLOSED=E,o.readyState=l,"string"==typeof s&&(s=[s]),Array.isArray(s)||(s=null),!t.isAvailable)throw new Error("Cannot initialize WebSocket module. Native module RCTWebSocketModule is missing.");return o._eventEmitter=new r(n),o._socketId=v++,o._registerEvents(),n.connect(e,s,i,o._socketId),o}return babelHelpers.inherits(t,e),babelHelpers.createClass(t,[{key:"close",value:function(e,t){this.readyState!==this.CLOSING&&this.readyState!==this.CLOSED&&(this.readyState=this.CLOSING,this._close(e,t))}},{key:"send",value:function(e){if(this.readyState===this.CONNECTING)throw new Error("INVALID_STATE_ERR");if("string"==typeof e)return void n.send(e,this._socketId);if(e instanceof ArrayBuffer||ArrayBuffer.isView(e))return void n.sendBinary(a(e),this._socketId);throw new Error("Unsupported data type")}},{key:"ping",value:function(){if(this.readyState===this.CONNECTING)throw new Error("INVALID_STATE_ERR");n.ping(this._socketId)}},{key:"_close",value:function(e,t){n.close(this._socketId)}},{key:"_unregisterEvents",value:function(){this._subscriptions.forEach(function(e){return e.remove()}),this._subscriptions=[]}},{key:"_registerEvents",value:function(){var e=this;this._subscriptions=[this._eventEmitter.addListener("websocketMessage",function(t){t.id===e._socketId&&e.dispatchEvent(new o("message",{data:"binary"===t.type?d.toByteArray(t.data).buffer:t.data}))}),this._eventEmitter.addListener("websocketOpen",function(t){t.id===e._socketId&&(e.readyState=e.OPEN,e.dispatchEvent(new o("open")))}),this._eventEmitter.addListener("websocketClosed",function(t){t.id===e._socketId&&(e.readyState=e.CLOSED,e.dispatchEvent(new o("close",{code:t.code,reason:t.reason})),e._unregisterEvents(),e.close())}),this._eventEmitter.addListener("websocketFailed",function(t){t.id===e._socketId&&(e.readyState=e.CLOSED,e.dispatchEvent(new o("error",{message:t.message})),e.dispatchEvent(new o("close",{message:t.message})),e._unregisterEvents(),e.close())})]}}]),t}(c.apply(void 0,_));f.CONNECTING=l,f.OPEN=u,f.CLOSING=h,f.CLOSED=E,f.isAvailable=!!n,s.exports=f},92); +__d(function(e,t,s,i){"use strict";var l=function e(t,s){babelHelpers.classCallCheck(this,e),this.type=t.toString(),babelHelpers.extends(this,s)};s.exports=l},93); +__d(function(e,t,n,a){"use strict";var r=t(95),l=t(27),s=(t(35),function(){function e(){babelHelpers.classCallCheck(this,e)}return babelHelpers.createClass(e,null,[{key:"alert",value:function(e,t,n,a,l){return"undefined"!=typeof l?(console.warn('Alert.alert() with a 5th "type" parameter is deprecated and will be removed. Use AlertIOS.prompt() instead.'),void r.alert(e,t,n,l)):void r.alert(e,t,n)}}]),e}());(function(){function e(){babelHelpers.classCallCheck(this,e)}return babelHelpers.createClass(e,null,[{key:"alert",value:function(e,t,n,a){var r={title:e||"",message:t||""};a&&(r=babelHelpers.extends({},r,{cancelable:a.cancelable}));var s=n?n.slice(0,3):[{text:"OK"}],o=s.pop(),i=s.pop(),d=s.pop();d&&(r=babelHelpers.extends({},r,{buttonNeutral:d.text||""})),i&&(r=babelHelpers.extends({},r,{buttonNegative:i.text||""})),o&&(r=babelHelpers.extends({},r,{buttonPositive:o.text||""})),l.DialogManagerAndroid.showAlert(r,function(e){return console.warn(e)},function(e,t){e===l.DialogManagerAndroid.buttonClicked?t===l.DialogManagerAndroid.buttonNeutral?d.onPress&&d.onPress():t===l.DialogManagerAndroid.buttonNegative?i.onPress&&i.onPress():t===l.DialogManagerAndroid.buttonPositive&&o.onPress&&o.onPress():e===l.DialogManagerAndroid.dismissed&&a&&a.onDismiss&&a.onDismiss()})}}]),e})();n.exports=s},94); +__d(function(e,t,a,r){"use strict";var n=t(27).AlertManager,l=function(){function e(){babelHelpers.classCallCheck(this,e)}return babelHelpers.createClass(e,null,[{key:"alert",value:function(e,t,a,r){return"undefined"!=typeof r?(console.warn('AlertIOS.alert() with a 4th "type" parameter is deprecated and will be removed. Use AlertIOS.prompt() instead.'),void this.prompt(e,t,a,r)):void this.prompt(e,t,a,"default")}},{key:"prompt",value:function(e,t,a){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"plain-text",l=arguments[4],i=arguments[5];if("function"==typeof r){console.warn('You passed a callback function as the "type" argument to AlertIOS.prompt(). React Native is assuming you want to use the deprecated AlertIOS.prompt(title, defaultValue, buttons, callback) signature. The current signature is AlertIOS.prompt(title, message, callbackOrButtons, type, defaultValue, keyboardType) and the old syntax will be removed in a future version.');var o=r,l=t;return void n.alertWithArgs({title:e||void 0,type:"plain-text",defaultValue:l},function(e,t){o(t)})}var s,u,c=[],p=[];"function"==typeof a?c=[a]:a instanceof Array&&a.forEach(function(e,t){if(c[t]=e.onPress,"cancel"===e.style?s=String(t):"destructive"===e.style&&(u=String(t)),e.text||t<(a||[]).length-1){var r={};r[t]=e.text||"",p.push(r)}}),n.alertWithArgs({title:e||void 0,message:t||void 0,buttons:p,type:r||void 0,defaultValue:l,cancelButtonKey:s,destructiveButtonKey:u,keyboardType:i},function(e,t){var a=c[e];a&&a(t)})}}]),e}();a.exports=l},95); +__d(function(e,t,r,n){"use strict";var o=t(53),i=t(27).LocationObserver,s=t(25),a=t(60),c=t(39),u=new o(i),v=(t(35),t(97)),g=[],f=!1,l={requestAuthorization:function(){i.requestAuthorization()},getCurrentPosition:function(e,t,r){var n,o;return regeneratorRuntime.async(function(c){for(;;)switch(c.prev=c.next){case 0:s("function"==typeof e,"Must provide a valid geo_success callback."),n=!0,c.next=11;break;case 5:if(n=c.sent){c.next=11;break}return c.next=9,regeneratorRuntime.awrap(v.request(v.PERMISSIONS.ACCESS_FINE_LOCATION));case 9:o=c.sent,n=o===v.RESULTS.GRANTED;case 11:n&&i.getCurrentPosition(r||{},e,t||a);case 12:case"end":return c.stop()}},null,this)},watchPosition:function(e,t,r){f||(i.startObserving(r||{}),f=!0);var n=g.length;return g.push([u.addListener("geolocationDidChange",e),t?u.addListener("geolocationError",t):null]),n},clearWatch:function(e){var t=g[e];if(t){t[0].remove();var r=t[1];r&&r.remove(),g[e]=void 0;for(var n=!0,o=0;o1?r-1:0),s=1;s-1,"EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `%s`.",e),!Yt.plugins[n]){It(t.extractEvents,"EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `%s` does not.",e),Yt.plugins[n]=t;var o=t.eventTypes;for(var r in o)It(h(o[r],t,r),"EventPluginRegistry: Failed to publish event `%s` for plugin `%s`.",r,e)}}}function h(e,t,n){It(!Yt.eventNameDispatchConfigs.hasOwnProperty(n),"EventPluginHub: More than one plugin attempted to publish the same event name, `%s`.",n),Yt.eventNameDispatchConfigs[n]=e;var o=e.phasedRegistrationNames;if(o){for(var r in o)if(o.hasOwnProperty(r)){var i=o[r];m(i,t,n)}return!0}return!!e.registrationName&&(m(e.registrationName,t,n),!0)}function m(e,t,n){It(!Yt.registrationNameModules[e],"EventPluginHub: More than one plugin attempted to publish the same registration name, `%s`.",e),Yt.registrationNameModules[e]=t,Yt.registrationNameDependencies[e]=t.eventTypes[n].dependencies}function v(e){return"topMouseUp"===e||"topTouchEnd"===e||"topTouchCancel"===e}function g(e){return"topMouseMove"===e||"topTouchMove"===e}function _(e){return"topMouseDown"===e||"topTouchStart"===e}function C(e,t,n,o){var r=e.type||"unknown-event";e.currentTarget=Jt.getNodeFromInstance(o),Qt.invokeGuardedCallbackAndCatchFirstError(r,n,void 0,e),e.currentTarget=null}function y(e,t){var n=e._dispatchListeners,o=e._dispatchInstances;if(Array.isArray(n))for(var r=0;r0;)e=w(e),n--;for(;r-n>0;)t=w(t),r--;for(var a=n;a--;){if(e===t||e===t.alternate)return e;e=w(e),t=w(t)}return null}function A(e,t){for(;t;){if(e===t||e===t.alternate)return!0;t=w(t)}return!1}function D(e){return w(e)}function k(e,t,n){for(var o=[];e;)o.push(e),e=w(e);var r;for(r=o.length;r-- >0;)t(o[r],"captured",n);for(r=0;r0;)n(s[u],"captured",r)}function O(e,t,n){var o=t.dispatchConfig.phasedRegistrationNames[n];return pn(e,o)}function M(e,t,n){var o=O(e,n,t);o&&(n._dispatchListeners=Zt(n._dispatchListeners,o),n._dispatchInstances=Zt(n._dispatchInstances,e))}function H(e){e&&e.dispatchConfig.phasedRegistrationNames&&ln.traverseTwoPhase(e._targetInst,M,e)}function U(e){if(e&&e.dispatchConfig.phasedRegistrationNames){var t=e._targetInst,n=t?ln.getParentInstance(t):null;ln.traverseTwoPhase(n,M,e)}}function F(e,t,n){if(e&&n&&n.dispatchConfig.registrationName){var o=n.dispatchConfig.registrationName,r=pn(e,o);r&&(n._dispatchListeners=Zt(n._dispatchListeners,r),n._dispatchInstances=Zt(n._dispatchInstances,e))}}function W(e){e&&e.dispatchConfig.registrationName&&F(e._targetInst,null,e)}function L(e){en(e,H)}function B(e){en(e,U)}function Y(e,t,n,o){ln.traverseEnterLeave(n,o,F,e,t)}function V(e){en(e,W)}function X(e,t,n,o){this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n;var r=this.constructor.Interface;for(var i in r)if(r.hasOwnProperty(i)){var a=r[i];a?this[i]=a(n):"target"===i?this.target=o:this[i]=n[i]}var s=null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue;return this.isDefaultPrevented=s?St.thatReturnsTrue:St.thatReturnsFalse,this.isPropagationStopped=St.thatReturnsFalse,this}function G(e){sn.enqueueEvents(e),sn.processEventQueue(!1)}function q(e){var t=$t.getInstanceFromNode(e);if(t){if("number"==typeof t.tag){It(Wn&&"function"==typeof Wn.restoreControlledState,"Fiber needs to be injected to handle a fiber target for controlled events.");var n=$t.getFiberCurrentPropsFromNode(t.stateNode);return void Wn.restoreControlledState(t.stateNode,t.type,n)}It("function"==typeof t.restoreControlledState,"The internal instance must be a React host component."),t.restoreControlledState()}}function z(e,t){return qn(e,t)}function Q(e,t){return Gn(z,e,t)}function K(e,t){if(zn)return Q(e,t);zn=!0;try{return Q(e,t)}finally{zn=!1,Xn.restoreStateIfNeeded()}}function J(e,t,n,o){return Pn.call(this,e,t,n,o)}function $(e){return e.timeStamp||e.timestamp}function Z(e){return{touchActive:!0,startPageX:e.pageX,startPageY:e.pageY,startTimeStamp:$(e),currentPageX:e.pageX,currentPageY:e.pageY,currentTimeStamp:$(e),previousPageX:e.pageX,previousPageY:e.pageY,previousTimeStamp:$(e)}}function ee(e,t){e.touchActive=!0,e.startPageX=t.pageX,e.startPageY=t.pageY,e.startTimeStamp=$(t),e.currentPageX=t.pageX,e.currentPageY=t.pageY,e.currentTimeStamp=$(t),e.previousPageX=t.pageX,e.previousPageY=t.pageY,e.previousTimeStamp=$(t)}function te(e){var t=e.identifier;return It(null!=t,"Touch object is missing identifier."),Pt(t<=ho,"Touch identifier %s is greater than maximum supported %s which causes performance issues backfilling array locations for all of the indices.",t,ho),t}function ne(e){var t=te(e),n=mo[t];n?ee(n,e):mo[t]=Z(e),vo.mostRecentTimeStamp=$(e)}function oe(e){var t=mo[te(e)];t?(t.touchActive=!0,t.previousPageX=t.currentPageX,t.previousPageY=t.currentPageY,t.previousTimeStamp=t.currentTimeStamp,t.currentPageX=e.pageX,t.currentPageY=e.pageY,t.currentTimeStamp=$(e),vo.mostRecentTimeStamp=$(e)):console.error("Cannot record touch move without a touch start.\nTouch Move: %s\n","Touch Bank: %s",ie(e),ae())}function re(e){var t=mo[te(e)];t?(t.touchActive=!1,t.previousPageX=t.currentPageX,t.previousPageY=t.currentPageY,t.previousTimeStamp=t.currentTimeStamp,t.currentPageX=e.pageX,t.currentPageY=e.pageY,t.currentTimeStamp=$(e),vo.mostRecentTimeStamp=$(e)):console.error("Cannot record touch end without a touch start.\nTouch End: %s\n","Touch Bank: %s",ie(e),ae())}function ie(e){return JSON.stringify({identifier:e.identifier,pageX:e.pageX,pageY:e.pageY,timestamp:$(e)})}function ae(){var e=JSON.stringify(mo.slice(0,ho));return mo.length>ho&&(e+=" (original size: "+mo.length+")"),e}function se(e,t){return It(null!=t,"accumulate(...): Accumulated items must be not be null or undefined."),null==e?t:Array.isArray(e)?e.concat(t):Array.isArray(t)?[e].concat(t):[e,t]}function ue(e,t,n,o){var r=yo(e)?xo.startShouldSetResponder:bo(e)?xo.moveShouldSetResponder:"topSelectionChange"===e?xo.selectionChangeShouldSetResponder:xo.scrollShouldSetResponder,i=Po?ln.getLowestCommonAncestor(Po,t):t,a=i===Po,s=co.getPooled(r,i,n,o);s.touchHistory=_o.touchHistory,a?fn.accumulateTwoPhaseDispatchesSkipTarget(s):fn.accumulateTwoPhaseDispatches(s);var u=Io(s);if(s.isPersistent()||s.constructor.release(s),!u||u===Po)return null;var c,l=co.getPooled(xo.responderGrant,u,n,o);l.touchHistory=_o.touchHistory,fn.accumulateDirectDispatches(l);var p=!0===Ro(l);if(Po){var d=co.getPooled(xo.responderTerminationRequest,Po,n,o);d.touchHistory=_o.touchHistory,fn.accumulateDirectDispatches(d);var f=!No(d)||Ro(d);if(d.isPersistent()||d.constructor.release(d),f){var h=co.getPooled(xo.responderTerminate,Po,n,o);h.touchHistory=_o.touchHistory,fn.accumulateDirectDispatches(h),c=Co(c,[l,h]),wo(u,p)}else{var m=co.getPooled(xo.responderReject,u,n,o);m.touchHistory=_o.touchHistory,fn.accumulateDirectDispatches(m),c=Co(c,m)}}else c=Co(c,l),wo(u,p);return c}function ce(e,t,n){return t&&("topScroll"===e&&!n.responderIgnoreScroll||Eo>0&&"topSelectionChange"===e||yo(e)||bo(e))}function le(e){var t=e.touches;if(!t||0===t.length)return!0;for(var n=0;n0;)Ge(e,t[o],n);else if(t&&mi>0){var r=Xe(t);for(var i in hi)if(hi[i]){var a=r[i];if(void 0!==a){var s=n[i];if(s){if("function"==typeof a&&(a=!0),void 0===a&&(a=null),"object"!=typeof s)e[i]=a;else if("function"==typeof s.diff||"function"==typeof s.process){var u="function"==typeof s.process?s.process(a):a;e[i]=u}hi[i]=!1,mi--}}}}}function qe(e,t,n,o){var r,i=t.length0&&e&&(Ge(e,i,r),hi=null);for(s in t)void 0===n[s]&&(r=o[s])&&(e&&void 0!==e[s]||void 0!==(a=t[s])&&("object"!=typeof r||"function"==typeof r.diff||"function"==typeof r.process?((e||(e={}))[s]=null,hi||(hi={}),hi[s]||(hi[s]=!0,mi++)):e=Ke(e,a,r)));return e}function $e(e,t,n){return Je(e,fi,t,n)}function Ze(e,t,n){return Je(e,t,fi,n)}function et(e,t){return function(){if(t){if("boolean"==typeof e.__isMounted){if(!e.__isMounted)return}else if("function"==typeof e.isMounted&&!e.isMounted())return;return t.apply(e,arguments)}}}function tt(e,t){if(void 0!==t.styles){var n=e._owner||null,o=e.constructor.displayName,r="`styles` is not a supported property of `"+o+"`, did you mean `style` (singular)?";throw n&&n.constructor&&n.constructor.displayName&&(r+="\n\nCheck the `"+n.constructor.displayName+"` parent component."),new Error(r)}}function nt(e,t){for(var n in t.style)t[n]||void 0===e[n]||console.error("You are setting the style `{ "+n+": ... }` as a prop. You should nest it in a style object. E.g. `{ style: { "+n+": ... } }`")}function ot(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rt(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function it(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 at(e,t){var n=void 0;try{n=Dr(e)}catch(e){}if(null!=n){var o=n.viewConfig,r=gi.create(t,o.validAttributes);wt.updateView(n._nativeTag,o.uiViewClassName,r)}}function st(e,t){var n=Dr(e);if(null!=n){var o=void 0;if(void 0!==n.viewConfig)o=n.viewConfig;else if(void 0!==n._instance&&void 0!==n._instance.viewConfig)o=n._instance.viewConfig;else{for(;void 0!==n._renderedComponent;)n=n._renderedComponent;o=n.viewConfig}var r="function"==typeof n.getHostNode?n.getHostNode():n._rootNodeID,i=gi.create(t,o.validAttributes);wt.updateView(r,o.uiViewClassName,i)}}function ut(e,t){var n=void 0;try{n=Dr(e)}catch(e){}if(null!=n){var o=n.viewConfig,r=gi.create(t,o.validAttributes);wt.updateView(n._nativeTag,o.uiViewClassName,r)}}function ct(e,t){var n=Dr(e);if(null!=n){var o=void 0;if(void 0!==n.viewConfig)o=n.viewConfig;else if(void 0!==n._instance&&void 0!==n._instance.viewConfig)o=n._instance.viewConfig;else{for(;void 0!==n._renderedComponent;)n=n._renderedComponent;o=n.viewConfig}var r="function"==typeof n.getHostNode?n.getHostNode():n._rootNodeID,i=gi.create(t,o.validAttributes);wt.updateView(r,o.uiViewClassName,i)}}function lt(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}function pt(e,t){return e&&"object"==typeof e&&null!=e.key?Mi.escape(e.key):t.toString(36)}function dt(e,t,n,o){var r=typeof e;if("undefined"!==r&&"boolean"!==r||(e=null),null===e||"string"===r||"number"===r||"object"===r&&e.$$typeof===Fi)return n(o,e,""===t?Wi+pt(e,0):t),1;var i,a,s=0,u=""===t?Wi:t+Li;if(Array.isArray(e))for(var c=0;c=0))return console.error("Ended a touch event which was not counted in `trackedTouchCount`."),null;Eo-=1}_o.recordTouchTrack(e,n);var r=ce(e,t,n)?ue(e,t,n,o):null,i=Po&&yo(e),a=Po&&bo(e),s=Po&&To(e),u=i?xo.responderStart:a?xo.responderMove:s?xo.responderEnd:null;if(u){var c=co.getPooled(u,Po,n,o);c.touchHistory=_o.touchHistory,fn.accumulateDirectDispatches(c),r=Co(r,c)}var l=Po&&"topTouchCancel"===e,p=Po&&!l&&To(e)&&le(n),d=l?xo.responderTerminate:p?xo.responderRelease:null; +if(d){var f=co.getPooled(d,Po,n,o);f.touchHistory=_o.touchHistory,fn.accumulateDirectDispatches(f),r=Co(r,f),wo(null)}var h=_o.touchHistory.numberActiveTouches;return Ao.GlobalInteractionHandler&&h!==So&&Ao.GlobalInteractionHandler.onChange(h),So=h,r},GlobalResponderHandler:null,GlobalInteractionHandler:null,injection:{injectGlobalResponderHandler:function(e){Ao.GlobalResponderHandler=e},injectGlobalInteractionHandler:function(e){Ao.GlobalInteractionHandler=e}}},Do=Ao,ko={inject:pe},jo=de,Oo=un.ClassComponent,Mo={addComponentAsRefTo:function(e,t,n){if(n&&n.tag===Oo){var o=n.stateNode;(o.refs===At?o.refs={}:o.refs)[t]=e.getPublicInstance()}else It(fe(n),"addComponentAsRefTo(...): Only a ReactOwner can have refs. You might be adding a ref to a component that was not created inside a component's `render` method, or you have multiple copies of React loaded (details: https://fb.me/react-refs-must-have-owner)."),n.attachRef(t,e)},removeComponentAsRefFrom:function(e,t,n){if(n&&n.tag===Oo){var o=n.stateNode;o&&o.refs[t]===e.getPublicInstance()&&delete o.refs[t]}else{It(fe(n),"removeComponentAsRefFrom(...): Only a ReactOwner can have refs. You might be removing a ref to a component that was not created inside a component's `render` method, or you have multiple copies of React loaded (details: https://fb.me/react-refs-must-have-owner).");var r=n.getPublicInstance();r&&r.refs[t]===e.getPublicInstance()&&n.detachRef(t)}}},Ho=Mo,Uo={};Uo.attachRefs=function(e,t){if(null!==t&&"object"==typeof t){var n=t.ref;null!=n&&he(n,e,t._owner)}},Uo.shouldUpdateRefs=function(e,t){var n=null,o=null;null!==e&&"object"==typeof e&&(n=e.ref,o=e._owner);var r=null,i=null;return null!==t&&"object"==typeof t&&(r=t.ref,i=t._owner),n!==r||"string"==typeof r&&i!==o},Uo.detachRefs=function(e,t){if(null!==t&&"object"==typeof t){var n=t.ref;null!=n&&me(n,e,t._owner)}};var Fo=Uo,Wo={mountComponent:function(e,t,n,o,r,i){var a=e.mountComponent(t,n,o,r,i);return e._currentElement&&null!=e._currentElement.ref&&t.getReactMountReady().enqueue(ve,e),a},getHostNode:function(e){return e.getHostNode()},unmountComponent:function(e,t,n){Fo.detachRefs(e,e._currentElement),e.unmountComponent(t,n)},receiveComponent:function(e,t,n,o){var r=e._currentElement;if(t!==r||o!==e._context){var i=Fo.shouldUpdateRefs(r,t);i&&Fo.detachRefs(e,r),e.receiveComponent(t,n,o),i&&e._currentElement&&null!=e._currentElement.ref&&n.getReactMountReady().enqueue(ve,e)}},performUpdateIfNecessary:function(e,t,n){return e._updateBatchNumber!==n?void Pt(null==e._updateBatchNumber||e._updateBatchNumber===n+1,"performUpdateIfNecessary: Unexpected batch number (current %s, pending %s)",n,e._updateBatchNumber):void e.performUpdateIfNecessary(t)}},Lo=Wo,Bo={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}},Yo=Bo,Vo={},Xo={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,o,r,i,a,s){It(!this.isInTransaction(),"Transaction.perform(...): Cannot initialize a transaction when there is already an outstanding transaction.");var u,c;try{this._isInTransaction=!0,u=!0,this.initializeAll(0),c=e.call(t,n,o,r,i,a,s),u=!1}finally{try{if(u)try{this.closeAll(0)}catch(e){}else this.closeAll(0)}finally{this._isInTransaction=!1}}return c},initializeAll:function(e){for(var t=this.transactionWrappers,n=e;n component.',this._stringText),this._hostParent=t;var r=Fn.allocateTag();this._rootNodeID=r;var i=n._tag;return wt.createView(r,"RCTRawText",i,{text:this._stringText}),Wt.precacheNode(this,r),r},getHostNode:function(){return this._rootNodeID},receiveComponent:function(e,t,n){if(e!==this._currentElement){this._currentElement=e;var o=""+e;o!==this._stringText&&(this._stringText=o,wt.updateView(this._rootNodeID,"RCTRawText",{text:this._stringText}))}},unmountComponent:function(){Wt.uncacheNode(this),this._currentElement=null,this._stringText=null,this._rootNodeID=0}});var ti=ei,ni=function(e,t){this._currentElement=null,this._renderedComponent=t(e)};babelHelpers.extends(ni.prototype,{mountComponent:function(e,t,n,o,r){return Lo.mountComponent(this._renderedComponent,e,t,n,o,r)},receiveComponent:function(){},getHostNode:function(){return Lo.getHostNode(this._renderedComponent)},unmountComponent:function(e,t){Lo.unmountComponent(this._renderedComponent,e,t),this._renderedComponent=null}});var oi=ni,ri={inject:Be},ii=void 0;ii=function(){It(!1,"getInspectorDataForViewTag() is not available in production")};var ai={getInspectorDataForViewTag:ii},si=function(e){var t=Dr(e);return null==t||"number"==typeof t?t:t.getHostNode()},ui={},ci=1,li={},pi=function(){function e(){Ye(this,e)}return e.register=function(e){var t=++ci;return ui[t]=e,t},e.getByID=function(e){if(!e)return li;var t=ui[e];return t||(console.warn("Invalid style with id `"+e+"`. Skipping ..."),li)},e}(),di=pi,fi={},hi=null,mi=0,vi={create:function(e,t){return $e(null,e,t)},diff:function(e,t,n){return Je(null,e,t,n)}},gi=vi,_i={mountSafeCallback:et,throwOnStylesProp:tt,warnForStyleProps:nt},Ci=t(66),yi=_i.mountSafeCallback,bi=Ci.useFiber?wr:si,Ti=function(e){function t(){return ot(this,t),rt(this,e.apply(this,arguments))}return it(t,e),t.prototype.blur=function(){Ot.blurTextInput(bi(this))},t.prototype.focus=function(){Ot.focusTextInput(bi(this))},t.prototype.measure=function(e){wt.measure(bi(this),yi(this,e))},t.prototype.measureInWindow=function(e){wt.measureInWindow(bi(this),yi(this,e))},t.prototype.measureLayout=function(e,t,n){wt.measureLayout(bi(this),e,yi(this,n),yi(this,t))},t.prototype.setNativeProps=function(e){Ri(this,e)},t}(xt.Component),Ri=void 0;Ri=Ci.useFiber?at:st;var Ni=Ti,Ii=t(66),Pi=_i.mountSafeCallback,Ei=Ii.useFiber?wr:si,Si={measure:function(e){wt.measure(Ei(this),Pi(this,e))},measureInWindow:function(e){wt.measureInWindow(Ei(this),Pi(this,e))},measureLayout:function(e,t,n){wt.measureLayout(Ei(this),e,Pi(this,n),Pi(this,t))},setNativeProps:function(e){wi(this,e)},focus:function(){Ot.focusTextInput(Ei(this))},blur:function(){Ot.blurTextInput(Ei(this))}},wi=void 0;wi=Ii.useFiber?ut:ct;var xi,Ai=Si,Di={centroidDimension:function(e,t,n,o){var r=e.touchBank,i=0,a=0,s=1===e.numberActiveTouches?e.touchBank[e.indexOfSingleActiveTouch]:null;if(null!==s)s.touchActive&&s.currentTimeStamp>t&&(i+=o&&n?s.currentPageX:o&&!n?s.currentPageY:!o&&n?s.previousPageX:s.previousPageY,a=1);else for(var u=0;u=t){var l;l=o&&n?c.currentPageX:o&&!n?c.currentPageY:!o&&n?c.previousPageX:c.previousPageY,i+=l,a++}}return a>0?i/a:Di.noCentroid},currentCentroidXOfTouchesChangedAfter:function(e,t){return Di.centroidDimension(e,t,!0,!0)},currentCentroidYOfTouchesChangedAfter:function(e,t){return Di.centroidDimension(e,t,!1,!0)},previousCentroidXOfTouchesChangedAfter:function(e,t){return Di.centroidDimension(e,t,!0,!1)},previousCentroidYOfTouchesChangedAfter:function(e,t){return Di.centroidDimension(e,t,!1,!1)},currentCentroidX:function(e){return Di.centroidDimension(e,0,!0,!0)},currentCentroidY:function(e){return Di.centroidDimension(e,0,!1,!0)},noCentroid:-1},ki=Di,ji=St,Oi={escape:lt,unescapeInDev:ji},Mi=Oi,Hi="function"==typeof Symbol&&("function"==typeof Symbol?Symbol.iterator:"@@iterator"),Ui="@@iterator",Fi="function"==typeof Symbol&&("function"==typeof Symbol?Symbol.for:"@@for")&&("function"==typeof Symbol?Symbol.for:"@@for")("react.element")||60103,Wi=".",Li=":",Bi=ft;"undefined"!=typeof process&&process.env&&!1&&(xi=rr.ReactComponentTreeHook);var Yi,Vi={instantiateChildren:function(e,t,n,o){if(null==e)return null;var r={};return Bi(e,ht,r),r},updateChildren:function(e,t,n,o,r,i,a,s,u){if(t||e){var c,l;for(c in t)if(t.hasOwnProperty(c)){l=e&&e[c];var p=l&&l._currentElement,d=t[c];if(null!=l&&fr(p,d))Lo.receiveComponent(l,d,r,s),t[c]=l;else{var f=Sr(d,!0);t[c]=f;var h=Lo.mountComponent(f,r,i,a,s,u);n.push(h),l&&(o[c]=Lo.getHostNode(l),Lo.unmountComponent(l,!1,!1))}}for(c in e)!e.hasOwnProperty(c)||t&&t.hasOwnProperty(c)||(l=e[c],o[c]=Lo.getHostNode(l),Lo.unmountComponent(l,!1,!1))}},unmountChildren:function(e,t,n){for(var o in e)if(e.hasOwnProperty(o)){var r=e[o];Lo.unmountComponent(r,t,n)}}},Xi=Vi;"undefined"!=typeof process&&process.env&&!1&&(Yi=rr.ReactComponentTreeHook);var Gi=vt,qi={_reconcilerInstantiateChildren:function(e,t,n){return Xi.instantiateChildren(e,t,n)},_reconcilerUpdateChildren:function(e,t,n,o,r,i){var a,s=0;return a=Gi(t,s),Xi.updateChildren(e,a,n,o,r,this,this._hostContainerInfo,i,s),a},mountChildren:function(e,t,n){var o=this._reconcilerInstantiateChildren(e,t,n);this._renderedChildren=o;var r=[],i=0;for(var a in o)if(o.hasOwnProperty(a)){var s=o[a],u=0,c=Lo.mountComponent(s,t,this,this._hostContainerInfo,n,u);s._mountIndex=i++,r.push(c)}return r},updateTextContent:function(e){var t=this._renderedChildren;Xi.unmountChildren(t,!1,!1);for(var n in t)t.hasOwnProperty(n)&&It(!1,"updateTextContent called on non-empty component.");Rt(this,[bt(e)])},updateMarkup:function(e){var t=this._renderedChildren;Xi.unmountChildren(t,!1,!1);for(var n in t)t.hasOwnProperty(n)&&It(!1,"updateTextContent called on non-empty component.");Rt(this,[yt(e)])},updateChildren:function(e,t,n){this._updateChildren(e,t,n)},_updateChildren:function(e,t,n){var o=this._renderedChildren,r={},i=[],a=this._reconcilerUpdateChildren(o,e,i,r,t,n);if(a||o){var s,u=null,c=0,l=0,p=0,d=null;for(s in a)if(a.hasOwnProperty(s)){var f=o&&o[s],h=a[s];f===h?(u=Tt(u,this.moveChild(f,d,c,l)),l=Math.max(f._mountIndex,l),f._mountIndex=c):(f&&(l=Math.max(f._mountIndex,l)),u=Tt(u,this._mountChildAtIndex(h,i[p],d,c,t,n)),p++),c++,d=Lo.getHostNode(h)}for(s in r)r.hasOwnProperty(s)&&(u=Tt(u,this._unmountChild(o[s],r[s])));u&&Rt(this,u),this._renderedChildren=a}},unmountChildren:function(e,t){var n=this._renderedChildren;Xi.unmountChildren(n,e,t),this._renderedChildren=null},moveChild:function(e,t,n,o){if(e._mountIndex within is not supported on Android."),s.createElement(c,this.props)}}),c=w("RCTView",T,{nativeOnly:{nativeBackgroundAndroid:!0,nativeForegroundAndroid:!0}}),x=c;t.exports=x},111); +__d(function(t,s,c,e){"use strict";c.exports=s(12)},112); +__d(function(o,r,e,t){"use strict";var l=r(114),s=r(121),d=r(122),C=r(116),a=r(123),b=r(124),c=r(126),f=babelHelpers.extends({},C(d),C(s),C(l));f.transform={process:b},f.shadowOffset={diff:c};var n={process:a};f.backgroundColor=n,f.borderBottomColor=n,f.borderColor=n,f.borderLeftColor=n,f.borderRightColor=n,f.borderTopColor=n,f.color=n,f.shadowColor=n,f.textDecorationColor=n,f.tintColor=n,f.textShadowColor=n,f.overlayColor=n,e.exports=f},113); +__d(function(e,r,o,i){"use strict";var b=r(62),d=r(115),t=r(117),n=r(19),s=r(118),u=r(119),a=babelHelpers.extends({},t,s,u,{resizeMode:n.oneOf(Object.keys(d)),backfaceVisibility:n.oneOf(["visible","hidden"]),backgroundColor:b,borderColor:b,borderWidth:n.number,borderRadius:n.number,overflow:n.oneOf(["visible","hidden"]),tintColor:b,opacity:n.number,overlayColor:n.string,borderTopLeftRadius:n.number,borderTopRightRadius:n.number,borderBottomLeftRadius:n.number,borderBottomRightRadius:n.number});o.exports=a},114); +__d(function(l,n,t,e){"use strict";var r=n(116),u=r({contain:null,cover:null,stretch:null,center:null,repeat:null});t.exports=u},115); +__d(function(r,n,t,i){"use strict";var o=n(25),a=function(r){var n,t={};r instanceof Object&&!Array.isArray(r)?void 0:o(!1);for(n in r)r.hasOwnProperty(n)&&(t[n]=n);return t};t.exports=a},116); +__d(function(e,n,r,t){"use strict";var i=n(19),o={display:i.oneOf(["none","flex"]),width:i.oneOfType([i.number,i.string]),height:i.oneOfType([i.number,i.string]),top:i.oneOfType([i.number,i.string]),left:i.oneOfType([i.number,i.string]),right:i.oneOfType([i.number,i.string]),bottom:i.oneOfType([i.number,i.string]),minWidth:i.oneOfType([i.number,i.string]),maxWidth:i.oneOfType([i.number,i.string]),minHeight:i.oneOfType([i.number,i.string]),maxHeight:i.oneOfType([i.number,i.string]),margin:i.oneOfType([i.number,i.string]),marginVertical:i.oneOfType([i.number,i.string]),marginHorizontal:i.oneOfType([i.number,i.string]),marginTop:i.oneOfType([i.number,i.string]),marginBottom:i.oneOfType([i.number,i.string]),marginLeft:i.oneOfType([i.number,i.string]),marginRight:i.oneOfType([i.number,i.string]),padding:i.oneOfType([i.number,i.string]),paddingVertical:i.oneOfType([i.number,i.string]),paddingHorizontal:i.oneOfType([i.number,i.string]),paddingTop:i.oneOfType([i.number,i.string]),paddingBottom:i.oneOfType([i.number,i.string]),paddingLeft:i.oneOfType([i.number,i.string]),paddingRight:i.oneOfType([i.number,i.string]),borderWidth:i.number,borderTopWidth:i.number,borderRightWidth:i.number,borderBottomWidth:i.number,borderLeftWidth:i.number,position:i.oneOf(["absolute","relative"]),flexDirection:i.oneOf(["row","row-reverse","column","column-reverse"]),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","baseline"]),alignSelf:i.oneOf(["auto","flex-start","flex-end","center","stretch","baseline"]),alignContent:i.oneOf(["flex-start","flex-end","center","stretch","space-between","space-around"]),overflow:i.oneOf(["visible","hidden","scroll"]),flex:i.number,flexGrow:i.number,flexShrink:i.number,flexBasis:i.oneOfType([i.number,i.string]),aspectRatio:i.number,zIndex:i.number,direction:i.oneOf(["inherit","ltr","rtl"])};r.exports=o},117); +__d(function(s,e,a,h){"use strict";var o=e(62),r=e(19),t={shadowColor:o,shadowOffset:r.shape({width:r.number,height:r.number}),shadowOpacity:r.number,shadowRadius:r.number};a.exports=t},118); +__d(function(e,r,t,s){"use strict";var a=r(19),n=r(120),o=function(e,r,t){if(e[r])return new Error("The transformMatrix style property is deprecated. Use `transform: [{ matrix: ... }]` instead.")},p=function(e,r,t){if(e[r])return new Error("The decomposedMatrix style property is deprecated. Use `transform: [...]` instead.")},i={transform:a.arrayOf(a.oneOfType([a.shape({perspective:a.number}),a.shape({rotate:a.string}),a.shape({rotateX:a.string}),a.shape({rotateY:a.string}),a.shape({rotateZ:a.string}),a.shape({scale:a.number}),a.shape({scaleX:a.number}),a.shape({scaleY:a.number}),a.shape({translateX:a.number}),a.shape({translateY:a.number}),a.shape({skewX:a.string}),a.shape({skewY:a.string})])),transformMatrix:o,decomposedMatrix:p,scaleX:n(a.number,"Use the transform prop instead."),scaleY:n(a.number,"Use the transform prop instead."),rotation:n(a.number,"Use the transform prop instead."),translateX:n(a.number,"Use the transform prop instead."),translateY:n(a.number,"Use the transform prop instead.")};t.exports=i},119); +__d(function(n,r,e,t){"use strict";function o(n,r){return function(e,t,o){a[o]||void 0===e[t]||console.warn("`"+t+"` supplied to `"+o+"` has been deprecated. "+r);for(var c=arguments.length,i=Array(c>3?c-3:0),u=3;u>>8)>>>0}var o=(r(35),r(63));i.exports=u},123); +__d(function(t,n,r,u){"use strict";function c(t){return t}n(125),n(35),n(25),n(33);r.exports=c},124); +__d(function(t,e,a,n){"use strict";var r=e(25),o={createIdentityMatrix:function(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]},createCopy:function(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]},createOrthographic:function(t,e,a,n,r,o){var i=2/(e-t),u=2/(n-a),s=-2/(o-r),c=-(e+t)/(e-t),m=-(n+a)/(n-a),v=-(o+r)/(o-r);return[i,0,0,0,0,u,0,0,0,0,s,0,c,m,v,1]},createFrustum:function(t,e,a,n,r,o){var i=1/(e-t),u=1/(n-a),s=1/(r-o),c=2*(r*i),m=2*(r*u),v=(e+t)*i,l=(n+a)*u,f=(o+r)*s,d=2*(o*r*s);return[c,0,0,0,0,m,0,0,v,l,f,-1,0,0,d,0]},createPerspective:function(t,e,a,n){var r=1/Math.tan(t/2),o=1/(a-n),i=(n+a)*o,u=2*(n*a*o);return[r/e,0,0,0,0,r,0,0,0,0,i,-1,0,0,u,0]},createTranslate2d:function(t,e){var a=o.createIdentityMatrix();return o.reuseTranslate2dCommand(a,t,e),a},reuseTranslate2dCommand:function(t,e,a){t[12]=e,t[13]=a},reuseTranslate3dCommand:function(t,e,a,n){t[12]=e,t[13]=a,t[14]=n},createScale:function(t){var e=o.createIdentityMatrix();return o.reuseScaleCommand(e,t),e},reuseScaleCommand:function(t,e){t[0]=e,t[5]=e},reuseScale3dCommand:function(t,e,a,n){t[0]=e,t[5]=a,t[10]=n},reusePerspectiveCommand:function(t,e){t[11]=-1/e},reuseScaleXCommand:function(t,e){t[0]=e},reuseScaleYCommand:function(t,e){t[5]=e},reuseScaleZCommand:function(t,e){t[10]=e},reuseRotateXCommand:function(t,e){t[5]=Math.cos(e),t[6]=Math.sin(e),t[9]=-Math.sin(e),t[10]=Math.cos(e)},reuseRotateYCommand:function(t,e){t[0]=Math.cos(e),t[2]=-Math.sin(e),t[8]=Math.sin(e),t[10]=Math.cos(e)},reuseRotateZCommand:function(t,e){t[0]=Math.cos(e),t[1]=Math.sin(e),t[4]=-Math.sin(e),t[5]=Math.cos(e)},createRotateZ:function(t){var e=o.createIdentityMatrix();return o.reuseRotateZCommand(e,t),e},reuseSkewXCommand:function(t,e){t[4]=Math.tan(e)},reuseSkewYCommand:function(t,e){t[1]=Math.tan(e)},multiplyInto:function(t,e,a){var n=e[0],r=e[1],o=e[2],i=e[3],u=e[4],s=e[5],c=e[6],m=e[7],v=e[8],l=e[9],f=e[10],d=e[11],h=e[12],M=e[13],C=e[14],p=e[15],T=a[0],x=a[1],y=a[2],b=a[3];t[0]=T*n+x*u+y*v+b*h,t[1]=T*r+x*s+y*l+b*M,t[2]=T*o+x*c+y*f+b*C,t[3]=T*i+x*m+y*d+b*p,T=a[4],x=a[5],y=a[6],b=a[7],t[4]=T*n+x*u+y*v+b*h,t[5]=T*r+x*s+y*l+b*M,t[6]=T*o+x*c+y*f+b*C,t[7]=T*i+x*m+y*d+b*p,T=a[8],x=a[9],y=a[10],b=a[11],t[8]=T*n+x*u+y*v+b*h,t[9]=T*r+x*s+y*l+b*M,t[10]=T*o+x*c+y*f+b*C,t[11]=T*i+x*m+y*d+b*p,T=a[12],x=a[13],y=a[14],b=a[15],t[12]=T*n+x*u+y*v+b*h,t[13]=T*r+x*s+y*l+b*M,t[14]=T*o+x*c+y*f+b*C,t[15]=T*i+x*m+y*d+b*p},determinant:function(t){var e=babelHelpers.slicedToArray(t,16),a=e[0],n=e[1],r=e[2],o=e[3],i=e[4],u=e[5],s=e[6],c=e[7],m=e[8],v=e[9],l=e[10],f=e[11],d=e[12],h=e[13],M=e[14],C=e[15];return o*s*v*d-r*c*v*d-o*u*l*d+n*c*l*d+r*u*f*d-n*s*f*d-o*s*m*h+r*c*m*h+o*i*l*h-a*c*l*h-r*i*f*h+a*s*f*h+o*u*m*M-n*c*m*M-o*i*v*M+a*c*v*M+n*i*f*M-a*u*f*M-r*u*m*C+n*s*m*C+r*i*v*C-a*s*v*C-n*i*l*C+a*u*l*C},inverse:function(t){var e=o.determinant(t);if(!e)return t;var a=babelHelpers.slicedToArray(t,16),n=a[0],r=a[1],i=a[2],u=a[3],s=a[4],c=a[5],m=a[6],v=a[7],l=a[8],f=a[9],d=a[10],h=a[11],M=a[12],C=a[13],p=a[14],T=a[15];return[(m*h*C-v*d*C+v*f*p-c*h*p-m*f*T+c*d*T)/e,(u*d*C-i*h*C-u*f*p+r*h*p+i*f*T-r*d*T)/e,(i*v*C-u*m*C+u*c*p-r*v*p-i*c*T+r*m*T)/e,(u*m*f-i*v*f-u*c*d+r*v*d+i*c*h-r*m*h)/e,(v*d*M-m*h*M-v*l*p+s*h*p+m*l*T-s*d*T)/e,(i*h*M-u*d*M+u*l*p-n*h*p-i*l*T+n*d*T)/e,(u*m*M-i*v*M-u*s*p+n*v*p+i*s*T-n*m*T)/e,(i*v*l-u*m*l+u*s*d-n*v*d-i*s*h+n*m*h)/e,(c*h*M-v*f*M+v*l*C-s*h*C-c*l*T+s*f*T)/e,(u*f*M-r*h*M-u*l*C+n*h*C+r*l*T-n*f*T)/e,(r*v*M-u*c*M+u*s*C-n*v*C-r*s*T+n*c*T)/e,(u*c*l-r*v*l-u*s*f+n*v*f+r*s*h-n*c*h)/e,(m*f*M-c*d*M-m*l*C+s*d*C+c*l*p-s*f*p)/e,(r*d*M-i*f*M+i*l*C-n*d*C-r*l*p+n*f*p)/e,(i*c*M-r*m*M-i*s*C+n*m*C+r*s*p-n*c*p)/e,(r*m*l-i*c*l+i*s*f-n*m*f-r*s*d+n*c*d)/e]},transpose:function(t){return[t[0],t[4],t[8],t[12],t[1],t[5],t[9],t[13],t[2],t[6],t[10],t[14],t[3],t[7],t[11],t[15]]},multiplyVectorByMatrix:function(t,e){var a=babelHelpers.slicedToArray(t,4),n=a[0],r=a[1],o=a[2],i=a[3];return[n*e[0]+r*e[4]+o*e[8]+i*e[12],n*e[1]+r*e[5]+o*e[9]+i*e[13],n*e[2]+r*e[6]+o*e[10]+i*e[14],n*e[3]+r*e[7]+o*e[11]+i*e[15]]},v3Length:function(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1]+t[2]*t[2])},v3Normalize:function(t,e){var a=1/(e||o.v3Length(t));return[t[0]*a,t[1]*a,t[2]*a]},v3Dot:function(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]},v3Combine:function(t,e,a,n){return[a*t[0]+n*e[0],a*t[1]+n*e[1],a*t[2]+n*e[2]]},v3Cross:function(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]},quaternionToDegreesXYZ:function(t,e,a){var n=babelHelpers.slicedToArray(t,4),r=n[0],i=n[1],u=n[2],s=n[3],c=s*s,m=r*r,v=i*i,l=u*u,f=r*i+u*s,d=c+m+v+l,h=180/Math.PI;return f>.49999*d?[0,2*Math.atan2(r,s)*h,90]:f<-.49999*d?[0,-2*Math.atan2(r,s)*h,-90]:[o.roundTo3Places(Math.atan2(2*r*s-2*i*u,1-2*m-2*l)*h),o.roundTo3Places(Math.atan2(2*i*s-2*r*u,1-2*v-2*l)*h),o.roundTo3Places(Math.asin(2*r*i+2*u*s)*h)]},roundTo3Places:function(t){var e=t.toString().split("e");return.001*Math.round(e[0]+"e"+(e[1]?+e[1]-3:3))},decomposeMatrix:function(t){r(16===t.length,"Matrix decomposition needs a list of 3d matrix values, received %s",t);var e=[],a=[],n=[],i=[],u=[];if(t[15]){for(var s=[],c=[],m=0;m<4;m++){s.push([]);for(var v=0;v<4;v++){var l=t[4*m+v]/t[15];s[m].push(l),c.push(3===v?0:l)}}if(c[15]=1,o.determinant(c)){if(0!==s[0][3]||0!==s[1][3]||0!==s[2][3])var f=[s[0][3],s[1][3],s[2][3],s[3][3]],d=o.inverse(c),h=o.transpose(d),e=o.multiplyVectorByMatrix(f,h);else e[0]=e[1]=e[2]=0,e[3]=1;for(var m=0;m<3;m++)u[m]=s[3][m];var M=[];for(m=0;m<3;m++)M[m]=[s[m][0],s[m][1],s[m][2]];n[0]=o.v3Length(M[0]),M[0]=o.v3Normalize(M[0],n[0]),i[0]=o.v3Dot(M[0],M[1]),M[1]=o.v3Combine(M[1],M[0],1,-i[0]),i[0]=o.v3Dot(M[0],M[1]),M[1]=o.v3Combine(M[1],M[0],1,-i[0]),n[1]=o.v3Length(M[1]),M[1]=o.v3Normalize(M[1],n[1]),i[0]/=n[1],i[1]=o.v3Dot(M[0],M[2]),M[2]=o.v3Combine(M[2],M[0],1,-i[1]),i[2]=o.v3Dot(M[1],M[2]),M[2]=o.v3Combine(M[2],M[1],1,-i[2]),n[2]=o.v3Length(M[2]),M[2]=o.v3Normalize(M[2],n[2]),i[1]/=n[2],i[2]/=n[2];var C=o.v3Cross(M[1],M[2]);if(o.v3Dot(M[0],C)<0)for(m=0;m<3;m++)n[m]*=-1,M[m][0]*=-1,M[m][1]*=-1,M[m][2]*=-1;a[0]=.5*Math.sqrt(Math.max(1+M[0][0]-M[1][1]-M[2][2],0)),a[1]=.5*Math.sqrt(Math.max(1-M[0][0]+M[1][1]-M[2][2],0)),a[2]=.5*Math.sqrt(Math.max(1-M[0][0]-M[1][1]+M[2][2],0)),a[3]=.5*Math.sqrt(Math.max(1+M[0][0]+M[1][1]+M[2][2],0)),M[2][1]>M[1][2]&&(a[0]=-a[0]),M[0][2]>M[2][0]&&(a[1]=-a[1]),M[1][0]>M[0][1]&&(a[2]=-a[2]);var p;return p=a[0]<.001&&a[0]>=0&&a[1]<.001&&a[1]>=0?[0,0,o.roundTo3Places(180*Math.atan2(M[0][1],M[0][0])/Math.PI)]:o.quaternionToDegreesXYZ(a,s,M),{rotationDegrees:p,perspective:e,quaternion:a,scale:n,skew:i,translation:u,rotate:p[2],rotateX:p[0],rotateY:p[1],scaleX:n[0],scaleY:n[1],translateX:u[0],translateY:u[1]}}}}};a.exports=o},125); +__d(function(t,i,h,d){"use strict";var e={width:void 0,height:void 0},n=function(t,i){return t=t||e,i=i||e,t!==i&&(t.width!==i.width||t.height!==i.height)};h.exports=n},126); +__d(function(e,i,s,t){"use strict";var a=i(113),c={};c.UIView={pointerEvents:!0,accessible:!0,accessibilityLabel:!0,accessibilityComponentType:!0,accessibilityLiveRegion:!0,accessibilityTraits:!0,importantForAccessibility:!0,nativeID:!0,testID:!0,renderToHardwareTextureAndroid:!0,shouldRasterizeIOS:!0,onLayout:!0,onAccessibilityTap:!0,onMagicTap:!0,collapsable:!0,needsOffscreenAlphaCompositing:!0,style:a},c.RCTView=babelHelpers.extends({},c.UIView,{removeClippedSubviews:!0}),s.exports=c},127); +__d(function(e,o,n,s){"use strict";var i=o(129),t=o(35),r=o(19),c=o(134),a=o(122),l=o(135),p=l.AccessibilityComponentTypes,d=l.AccessibilityTraits,u={};t.isTVOS&&(u=o(136));var b=c(a);n.exports=babelHelpers.extends({},u,{accessible:r.bool,accessibilityLabel:r.node,accessibilityComponentType:r.oneOf(p),accessibilityLiveRegion:r.oneOf(["none","polite","assertive"]),importantForAccessibility:r.oneOf(["auto","yes","no","no-hide-descendants"]),accessibilityTraits:r.oneOfType([r.oneOf(d),r.arrayOf(r.oneOf(d))]),accessibilityViewIsModal:r.bool,onAccessibilityTap:r.func,onMagicTap:r.func,testID:r.string,nativeID:r.string,onResponderGrant:r.func,onResponderMove:r.func,onResponderReject:r.func,onResponderRelease:r.func,onResponderTerminate:r.func,onResponderTerminationRequest:r.func,onStartShouldSetResponder:r.func,onStartShouldSetResponderCapture:r.func,onMoveShouldSetResponder:r.func,onMoveShouldSetResponderCapture:r.func,hitSlop:i,onLayout:r.func,pointerEvents:r.oneOf(["box-none","none","box-only","auto"]),style:b,removeClippedSubviews:r.bool,renderToHardwareTextureAndroid:r.bool,shouldRasterizeIOS:r.bool,collapsable:r.bool,needsOffscreenAlphaCompositing:r.bool})},128); +__d(function(t,r,e,n){"use strict";var u=r(19),b=r(130),m=b({top:u.number,left:u.number,bottom:u.number,right:u.number});e.exports=m},129); +__d(function(n,e,t,i){"use strict";function r(n){function e(e,t,i,r,c){if(!t[i])return void(e&&o(!1,"Required object `"+i+"` was not specified in "+("`"+r+"`.")));var l=t[i],u=typeof l,d=c||"(unknown)";"object"!==u&&o(!1,"Invalid "+d+" `"+i+"` of type `"+u+"` "+("supplied to `"+r+"`, expected `object`."));for(var s=a(t[i],n),p=arguments.length,f=Array(p>5?p-5:0),v=5;v4?o-4:0),c=4;c4?e-4:0),v=4;v=t)return e[r];return e[e.length-1]||1}}]),e}();r.exports=l},151); +__d(function(r,e,t,n){"use strict";function a(r){switch(r){case.75:return"ldpi";case 1:return"mdpi";case 1.5:return"hdpi";case 2:return"xhdpi";case 3:return"xxhdpi";case 4:return"xxxhdpi"}throw new Error("no such scale")}function s(r,e){var t=a(e);if(!t)throw new Error("Don't know which android drawable suffix to use for asset: "+JSON.stringify(r));var n="drawable-"+t;return n}function i(r){var e=o(r);return(e+"/"+r.name).toLowerCase().replace(/\//g,"_").replace(/([^a-z0-9_])/g,"").replace(/^assets_/,"")}function o(r){var e=r.httpServerLocation;return"/"===e[0]&&(e=e.substr(1)),e}t.exports={getAndroidAssetSuffix:a,getAndroidDrawableFolderName:s,getAndroidResourceIdentifier:i,getBasePath:o}},152); +__d(function(e,o,r,a){"use strict";function n(e,o,r){if(o){var a=e.displayName||e.name||"unknown",n=e.__propTypesSecretDontUseThesePlease||e.propTypes;if(!n)throw new Error("`"+a+"` has no propTypes defined`");var p=o.NativeProps;for(var s in p)if(!(n[s]||t[s]||r&&r[s])){var i;throw i=n.hasOwnProperty(s)?"`"+a+"` has incorrectly defined propType for native prop `"+o.uiViewClassName+"."+s+"` of native type `"+p[s]:"`"+a+"` has no propType for native prop `"+o.uiViewClassName+"."+s+"` of native type `"+p[s]+"`",i+="\nIf you haven't changed this prop yourself, this usually means that your versions of the native code and JavaScript code are out of sync. Updating both should make this error go away.",new Error(i)}}}var t=o(113);r.exports=n},153); +__d(function(e,t,r,n){"use strict";function i(e,t){if(null==e||null==t)return!0;if(e.length!==t.length)return!0;for(var r=0;r must be a child of a "),A.createElement(X,{opacity:u(e),transform:a(e)},this.props.children)}}]),t}(A.Component);$.contextTypes={isInSurface:P.bool.isRequired};var B=function(e){function t(){return babelHelpers.classCallCheck(this,t),babelHelpers.possibleConstructorReturn(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return babelHelpers.inherits(t,e),babelHelpers.createClass(t,[{key:"render",value:function(){var e=this.props,t=s(e.x,0),r=s(e.y,0),n=s(e.width,0),i=s(e.height,0),l=[t,r,n,i],o=I(e);return delete o.x,delete o.y,A.createElement(X,{clipping:l,opacity:u(e),transform:a(o)},this.props.children)}}]),t}(A.Component),K=0,Q=1,Z=2,ee=3,te=function(e){function t(){return babelHelpers.classCallCheck(this,t),babelHelpers.possibleConstructorReturn(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return babelHelpers.inherits(t,e),babelHelpers.createClass(t,[{key:"render",value:function(){var e=this.props,t=e.d||o(e.children),r=new T(t).toJSON();return A.createElement(Y,{fill:y(e.fill,e),opacity:u(e),stroke:g(e.stroke),strokeCap:m(e.strokeCap),strokeDash:e.strokeDash||null,strokeJoin:v(e.strokeJoin),strokeWidth:s(e.strokeWidth,1),transform:a(e),d:r})}}]),t}(A.Component),re={},ne=/^[\s"']*/,ie=/[\s"']*$/,le=/\n/g,oe=function(e){function t(){return babelHelpers.classCallCheck(this,t),babelHelpers.possibleConstructorReturn(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return babelHelpers.inherits(t,e),babelHelpers.createClass(t,[{key:"render",value:function(){var e=this.props,t=e.path?new T(e.path).toJSON():null,r=S(e.font,o(e.children));return A.createElement(q,{fill:y(e.fill,e),opacity:u(e),stroke:g(e.stroke),strokeCap:m(e.strokeCap),strokeDash:e.strokeDash||null,strokeJoin:v(e.strokeJoin),strokeWidth:s(e.strokeWidth,1),transform:a(e),alignment:w(e.alignment),frame:r,path:t})}}]),t}(A.Component),se={LinearGradient:H,RadialGradient:x,Pattern:O,Transform:W,Path:T,Surface:L,Group:$,ClippingRectangle:B,Shape:te,Text:oe};r.exports=se},154); +__d(function(t,r,e,n){var a={maroon:"#800000",red:"#ff0000",orange:"#ffA500",yellow:"#ffff00",olive:"#808000",purple:"#800080",fuchsia:"#ff00ff",white:"#ffffff",lime:"#00ff00",green:"#008000",navy:"#000080",blue:"#0000ff",aqua:"#00ffff",teal:"#008080",black:"#000000",silver:"#c0c0c0",gray:"#808080"},h=function(t,r){for(var e=[],n=0,a=t.length;nY?(p-=v,c-=X):l>0&&0!=Y&&(p-=l/Y*v,c-=l/Y*X),a=p*p+c*c,p=s-t,c=h-i,l=p*v+c*X,l>Y?(p-=v,c-=X):l>0&&0!=Y&&(p-=l/Y*v,c-=l/Y*X),u=p*p+c*c,a<.01&&u<.01)return void this.onLine(t,i,o,r);if(isNaN(a)||isNaN(u))throw new Error("Bad input");var f=.5*(n+s),M=.5*(e+h),b=.5*(n+t),T=.5*(e+i),k=.5*(b+f),w=.5*(T+M),_=.5*(o+s),D=.5*(r+h),z=.5*(_+f),C=.5*(D+M),m=.5*(k+z),B=.5*(w+C);this.onBezierCurve(t,i,b,T,k,w,m,B),this.onBezierCurve(m,B,z,C,_,D,o,r)},onArc:function(t,i,n,e,s,h,o,r,a,u,p,c){var l=c?c*Math.PI/180:0,v=Math.cos(l),X=Math.sin(l),Y=v*o,f=-X*r,M=X*o,b=v*r,T=u-a;T<0&&!p?T+=2*Math.PI:T>0&&p&&(T-=2*Math.PI);for(var k=Math.ceil(Math.abs(T/(Math.PI/2))),w=T/k,_=1.3333333333333333*Math.tan(w/4),D=Math.cos(a),z=Math.sin(a),C=0;Ci.yy/i.xy?-1:1;return(i.xx<0?i.xy>=0:i.xy<0)&&(n=-n),this.rotate(t-180*Math.atan2(n*i.yx,n*i.xx)/Math.PI,x,y)},scaleTo:function(t,x){var y=this,i=Math.sqrt(y.xx*y.xx+y.yx*y.yx);return y.xx/=i,y.yx/=i,i=Math.sqrt(y.yy*y.yy+y.xy*y.xy),y.yy/=i,y.xy/=i,this.scale(t,x)},resizeTo:function(t,x){var y=this.width,i=this.height;return y&&i?this.scaleTo(t/y,x/i):this},inversePoint:function(t,x){var y=this.xx,i=this.yx,n=this.xy,r=this.yy,s=this.x,h=this.y,o=i*n-y*r;return 0==o?null:{x:(r*(s-t)+n*(x-h))/o,y:(y*(h-x)+i*(t-s))/o}},point:function(t,x){var y=this;return{x:y.xx*t+y.xy*x+y.x,y:y.yx*t+y.yy*x+y.y}}})},159); +__d(function(e,t,s,i){"use strict";var r=t(62),l=(t(35),t(112)),o=t(19),n=t(140),a=t(161),b=(t(169),t(170)),c=t(111),p=t(25),u=function(e){function t(){return babelHelpers.classCallCheck(this,t),babelHelpers.possibleConstructorReturn(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return babelHelpers.inherits(t,e),babelHelpers.createClass(t,[{key:"render",value:function(){var e=this.props,t=e.accessibilityLabel,s=e.color,i=e.onPress,r=e.title,o=e.disabled,n=e.testID,u=[d.button],y=[d.text];s&&y.push({color:s});var h=["button"];o&&(u.push(d.buttonDisabled),y.push(d.textDisabled),h.push("disabled")),p("string"==typeof r,"The title prop of a Button must be a string");var f=r,g=b;return l.createElement(g,{accessibilityComponentType:"button",accessibilityLabel:t,accessibilityTraits:h,testID:n,disabled:o,onPress:i},l.createElement(c,{style:u},l.createElement(a,{style:y,disabled:o},f)))}}]),t}(l.Component);u.propTypes={title:o.string.isRequired,accessibilityLabel:o.string,color:r,disabled:o.bool,onPress:o.func.isRequired,testID:o.string};var d=n.create({button:{},text:{color:"#007AFF",textAlign:"center",padding:8,fontSize:18},buttonDisabled:{},textDisabled:{color:"#cdcdcd"}});s.exports=u},160); +__d(function(e,s,t,n){"use strict";var o=s(62),i=s(129),r=s(64),l=(s(35),s(112)),a=s(19),p=s(127),h=s(134),d=s(121),u=s(162),c=s(137),b=s(145),g=s(168),f=s(123),R=h(d),H={validAttributes:g(p.UIView,{isHighlighted:!0,numberOfLines:!0,ellipsizeMode:!0,allowFontScaling:!0,disabled:!0,selectable:!0,selectionColor:!0,adjustsFontSizeToFit:!0,minimumFontScale:!0,textBreakStrategy:!0}),uiViewClassName:"RCTText"},P=c({displayName:"Text",propTypes:{ellipsizeMode:a.oneOf(["head","middle","tail","clip"]),numberOfLines:a.number,textBreakStrategy:a.oneOf(["simple","highQuality","balanced"]),onLayout:a.func,onPress:a.func,onLongPress:a.func,pressRetentionOffset:i,selectable:a.bool,selectionColor:o,suppressHighlighting:a.bool,style:R,testID:a.string,nativeID:a.string,allowFontScaling:a.bool,accessible:a.bool,adjustsFontSizeToFit:a.bool,minimumFontScale:a.number,disabled:a.bool},getDefaultProps:function(){return{accessible:!0,allowFontScaling:!0,ellipsizeMode:"tail",disabled:!1}},getInitialState:function(){return g(u.Mixin.touchableGetInitialState(),{isHighlighted:!1})},mixins:[r],viewConfig:H,getChildContext:function(){return{isInAParentText:!0}},childContextTypes:{isInAParentText:a.bool},contextTypes:{isInAParentText:a.bool},_handlers:null,_hasPressHandler:function(){return!!this.props.onPress||!!this.props.onLongPress},touchableHandleActivePressIn:null,touchableHandleActivePressOut:null,touchableHandlePress:null,touchableHandleLongPress:null,touchableGetPressRectOffset:null,render:function(){var e=this,s=this.props;return(this.props.onStartShouldSetResponder||this._hasPressHandler())&&(this._handlers||(this._handlers={onStartShouldSetResponder:function(){var s=e.props.onStartShouldSetResponder&&e.props.onStartShouldSetResponder(),t=s||e._hasPressHandler();if(t&&!e.touchableHandleActivePressIn){for(var n in u.Mixin)"function"==typeof u.Mixin[n]&&(e[n]=u.Mixin[n].bind(e));e.touchableHandleActivePressIn=function(){!e.props.suppressHighlighting&&e._hasPressHandler()&&e.setState({isHighlighted:!0})},e.touchableHandleActivePressOut=function(){!e.props.suppressHighlighting&&e._hasPressHandler()&&e.setState({isHighlighted:!1})},e.touchableHandlePress=function(s){e.props.onPress&&e.props.onPress(s)},e.touchableHandleLongPress=function(s){e.props.onLongPress&&e.props.onLongPress(s)},e.touchableGetPressRectOffset=function(){return this.props.pressRetentionOffset||m}}return t},onResponderGrant:function(e,s){this.touchableHandleResponderGrant(e,s),this.props.onResponderGrant&&this.props.onResponderGrant.apply(this,arguments)}.bind(this),onResponderMove:function(e){this.touchableHandleResponderMove(e),this.props.onResponderMove&&this.props.onResponderMove.apply(this,arguments)}.bind(this),onResponderRelease:function(e){this.touchableHandleResponderRelease(e),this.props.onResponderRelease&&this.props.onResponderRelease.apply(this,arguments)}.bind(this),onResponderTerminate:function(e){this.touchableHandleResponderTerminate(e),this.props.onResponderTerminate&&this.props.onResponderTerminate.apply(this,arguments)}.bind(this),onResponderTerminationRequest:function(){var e=this.touchableHandleResponderTerminationRequest();return e&&this.props.onResponderTerminationRequest&&(e=this.props.onResponderTerminationRequest.apply(this,arguments)),e}.bind(this)}),s=babelHelpers.extends({},this.props,this._handlers,{isHighlighted:this.state.isHighlighted})),null!=s.selectionColor&&(s=babelHelpers.extends({},s,{selectionColor:f(s.selectionColor)})),u.TOUCH_TARGET_DEBUG&&s.onPress&&(s=babelHelpers.extends({},s,{style:[this.props.style,{color:"magenta"}]})),this.context.isInAParentText?l.createElement(T,s):l.createElement(S,s)}}),m={top:20,left:20,right:20,bottom:30},S=b(H),T=S;t.exports=P},161); +__d(function(E,t,e,R){"use strict";var i=t(163),_=t(35),s=t(165),S=(t(112),t(65)),o=t(166),n=t(167),a=t(57),l=(t(111),t(116)),N=(t(63),l({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})),T={RESPONDER_ACTIVE_PRESS_OUT:!0,RESPONDER_ACTIVE_PRESS_IN:!0},h={RESPONDER_INACTIVE_PRESS_IN:!0,RESPONDER_ACTIVE_PRESS_IN:!0,RESPONDER_ACTIVE_LONG_PRESS_IN:!0},P={RESPONDER_ACTIVE_LONG_PRESS_IN:!0},O=l({DELAY:null,RESPONDER_GRANT:null,RESPONDER_RELEASE:null,RESPONDER_TERMINATED:null,ENTER_PRESS_RECT:null,LEAVE_PRESS_RECT:null,LONG_PRESS_DETECTED:null}),u={NOT_RESPONDER:{DELAY:N.ERROR,RESPONDER_GRANT:N.RESPONDER_INACTIVE_PRESS_IN,RESPONDER_RELEASE:N.ERROR,RESPONDER_TERMINATED:N.ERROR,ENTER_PRESS_RECT:N.ERROR,LEAVE_PRESS_RECT:N.ERROR,LONG_PRESS_DETECTED:N.ERROR},RESPONDER_INACTIVE_PRESS_IN:{DELAY:N.RESPONDER_ACTIVE_PRESS_IN,RESPONDER_GRANT:N.ERROR,RESPONDER_RELEASE:N.NOT_RESPONDER,RESPONDER_TERMINATED:N.NOT_RESPONDER,ENTER_PRESS_RECT:N.RESPONDER_INACTIVE_PRESS_IN,LEAVE_PRESS_RECT:N.RESPONDER_INACTIVE_PRESS_OUT,LONG_PRESS_DETECTED:N.ERROR},RESPONDER_INACTIVE_PRESS_OUT:{DELAY:N.RESPONDER_ACTIVE_PRESS_OUT,RESPONDER_GRANT:N.ERROR,RESPONDER_RELEASE:N.NOT_RESPONDER,RESPONDER_TERMINATED:N.NOT_RESPONDER,ENTER_PRESS_RECT:N.RESPONDER_INACTIVE_PRESS_IN,LEAVE_PRESS_RECT:N.RESPONDER_INACTIVE_PRESS_OUT,LONG_PRESS_DETECTED:N.ERROR},RESPONDER_ACTIVE_PRESS_IN:{DELAY:N.ERROR,RESPONDER_GRANT:N.ERROR,RESPONDER_RELEASE:N.NOT_RESPONDER,RESPONDER_TERMINATED:N.NOT_RESPONDER,ENTER_PRESS_RECT:N.RESPONDER_ACTIVE_PRESS_IN,LEAVE_PRESS_RECT:N.RESPONDER_ACTIVE_PRESS_OUT,LONG_PRESS_DETECTED:N.RESPONDER_ACTIVE_LONG_PRESS_IN},RESPONDER_ACTIVE_PRESS_OUT:{DELAY:N.ERROR,RESPONDER_GRANT:N.ERROR,RESPONDER_RELEASE:N.NOT_RESPONDER,RESPONDER_TERMINATED:N.NOT_RESPONDER,ENTER_PRESS_RECT:N.RESPONDER_ACTIVE_PRESS_IN,LEAVE_PRESS_RECT:N.RESPONDER_ACTIVE_PRESS_OUT,LONG_PRESS_DETECTED:N.ERROR},RESPONDER_ACTIVE_LONG_PRESS_IN:{DELAY:N.ERROR,RESPONDER_GRANT:N.ERROR,RESPONDER_RELEASE:N.NOT_RESPONDER,RESPONDER_TERMINATED:N.NOT_RESPONDER,ENTER_PRESS_RECT:N.RESPONDER_ACTIVE_LONG_PRESS_IN,LEAVE_PRESS_RECT:N.RESPONDER_ACTIVE_LONG_PRESS_OUT,LONG_PRESS_DETECTED:N.RESPONDER_ACTIVE_LONG_PRESS_IN},RESPONDER_ACTIVE_LONG_PRESS_OUT:{DELAY:N.ERROR,RESPONDER_GRANT:N.ERROR,RESPONDER_RELEASE:N.NOT_RESPONDER,RESPONDER_TERMINATED:N.NOT_RESPONDER,ENTER_PRESS_RECT:N.RESPONDER_ACTIVE_LONG_PRESS_IN,LEAVE_PRESS_RECT:N.RESPONDER_ACTIVE_LONG_PRESS_OUT,LONG_PRESS_DETECTED:N.ERROR},error:{DELAY:N.NOT_RESPONDER,RESPONDER_GRANT:N.RESPONDER_INACTIVE_PRESS_IN,RESPONDER_RELEASE:N.NOT_RESPONDER,RESPONDER_TERMINATED:N.NOT_RESPONDER,ENTER_PRESS_RECT:N.NOT_RESPONDER,LEAVE_PRESS_RECT:N.NOT_RESPONDER,LONG_PRESS_DETECTED:N.NOT_RESPONDER}},r=130,D=20,c=500,A=c-r,I=10,d={componentDidMount:function(){_.isTVOS&&(this._tvEventHandler=new o,this._tvEventHandler.enable(this,function(E,t){var e=S.findNodeHandle(E);t.dispatchConfig={},e===t.tag&&("focus"===t.eventType?E.touchableHandleActivePressIn&&E.touchableHandleActivePressIn(t):"blur"===t.eventType?E.touchableHandleActivePressOut&&E.touchableHandleActivePressOut(t):"select"===t.eventType&&E.touchableHandlePress&&E.touchableHandlePress(t))}))},componentWillUnmount:function(){this._tvEventHandler&&(this._tvEventHandler.disable(),delete this._tvEventHandler),this.touchableDelayTimeout&&clearTimeout(this.touchableDelayTimeout),this.longPressDelayTimeout&&clearTimeout(this.longPressDelayTimeout),this.pressOutDelayTimeout&&clearTimeout(this.pressOutDelayTimeout)},touchableGetInitialState:function(){return{touchable:{touchState:void 0,responderID:null}}},touchableHandleResponderTerminationRequest:function(){return!this.props.rejectResponderTermination},touchableHandleStartShouldSetResponder:function(){return!this.props.disabled},touchableLongPressCancelsPress:function(){return!0},touchableHandleResponderGrant:function(E){var t=E.currentTarget;E.persist(),this.pressOutDelayTimeout&&clearTimeout(this.pressOutDelayTimeout),this.pressOutDelayTimeout=null,this.state.touchable.touchState=N.NOT_RESPONDER,this.state.touchable.responderID=t,this._receiveSignal(O.RESPONDER_GRANT,E);var e=void 0!==this.touchableGetHighlightDelayMS?Math.max(this.touchableGetHighlightDelayMS(),0):r;e=isNaN(e)?r:e,0!==e?this.touchableDelayTimeout=setTimeout(this._handleDelay.bind(this,E),e):this._handleDelay(E);var R=void 0!==this.touchableGetLongPressDelayMS?Math.max(this.touchableGetLongPressDelayMS(),10):A;R=isNaN(R)?A:R,this.longPressDelayTimeout=setTimeout(this._handleLongDelay.bind(this,E),R+e)},touchableHandleResponderRelease:function(E){this._receiveSignal(O.RESPONDER_RELEASE,E)},touchableHandleResponderTerminate:function(E){this._receiveSignal(O.RESPONDER_TERMINATED,E)},touchableHandleResponderMove:function(E){if(this.state.touchable.touchState!==N.RESPONDER_INACTIVE_PRESS_IN&&this.state.touchable.positionOnActivate){var t=this.state.touchable.positionOnActivate,e=this.state.touchable.dimensionsOnActivate,R=this.touchableGetPressRectOffset?this.touchableGetPressRectOffset():{left:D,right:D,top:D,bottom:D},i=R.left,_=R.top,s=R.right,S=R.bottom,o=this.touchableGetHitSlop?this.touchableGetHitSlop():null;o&&(i+=o.left,_+=o.top,s+=o.right,S+=o.bottom);var a=n.extractSingleTouch(E.nativeEvent),l=a&&a.pageX,T=a&&a.pageY;if(this.pressInLocation){var h=this._getDistanceBetweenPoints(l,T,this.pressInLocation.pageX,this.pressInLocation.pageY);h>I&&this._cancelLongPressDelayTimeout()}var P=l>t.left-i&&T>t.top-_&&l0,r=n&&n.length>0;return!c&&r?n[0]:c?e[0]:t}};n.exports=r},167); +__d(function(r,n,t,i){"use strict";var o=function(r,n){var t={};for(var i in r)t[i]=r[i];for(var o in n)t[o]=n[o];return t};t.exports=o},168); +__d(function(e,t,r,n){"use strict";var o=t(112),s=t(140),i=t(161),l=t(111),a=function(e){function t(){return babelHelpers.classCallCheck(this,t),babelHelpers.possibleConstructorReturn(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return babelHelpers.inherits(t,e),babelHelpers.createClass(t,[{key:"render",value:function(){return o.createElement(l,{style:[c.container,this.props.style]},o.createElement(i,{style:c.info},"TouchableNativeFeedback is not supported on this platform!"))}}]),t}(o.Component),c=s.create({container:{height:100,width:300,backgroundColor:"#ffbcbc",borderWidth:1,borderColor:"red",alignItems:"center",justifyContent:"center",margin:10},info:{color:"#333333",margin:20}});r.exports=a},169); +__d(function(t,e,s,i){"use strict";var o=e(171),n=e(180),a=e(64),r=e(112),p=e(19),c=e(193),l=e(162),h=e(194),u=e(137),y=e(195),d=e(108),b={top:20,left:20,right:20,bottom:30},f=u({displayName:"TouchableOpacity",mixins:[c,l.Mixin,a],propTypes:babelHelpers.extends({},h.propTypes,{activeOpacity:p.number,focusedOpacity:p.number,tvParallaxProperties:p.object}),getDefaultProps:function(){return{activeOpacity:.2,focusedOpacity:.7}},getInitialState:function(){return babelHelpers.extends({},this.touchableGetInitialState(),{anim:new o.Value(this._getChildStyleOpacityWithDefault())})},componentDidMount:function(){y(this.props)},componentWillReceiveProps:function(t){y(t)},setOpacityTo:function(t,e){o.timing(this.state.anim,{toValue:t,duration:e,easing:n.inOut(n.quad),useNativeDriver:!0}).start()},touchableHandleActivePressIn:function(t){"onResponderGrant"===t.dispatchConfig.registrationName?this._opacityActive(0):this._opacityActive(150),this.props.onPressIn&&this.props.onPressIn(t)},touchableHandleActivePressOut:function(t){this._opacityInactive(250),this.props.onPressOut&&this.props.onPressOut(t)},touchableHandlePress:function(t){this.props.onPress&&this.props.onPress(t)},touchableHandleLongPress:function(t){this.props.onLongPress&&this.props.onLongPress(t)},touchableGetPressRectOffset:function(){return this.props.pressRetentionOffset||b},touchableGetHitSlop:function(){return this.props.hitSlop},touchableGetHighlightDelayMS:function(){return this.props.delayPressIn||0},touchableGetLongPressDelayMS:function(){return 0===this.props.delayLongPress?0:this.props.delayLongPress||500},touchableGetPressOutDelayMS:function(){return this.props.delayPressOut},_opacityActive:function(t){this.setOpacityTo(this.props.activeOpacity,t)},_opacityInactive:function(t){this.setOpacityTo(this._getChildStyleOpacityWithDefault(),t)},_opacityFocused:function(){this.setOpacityTo(this.props.focusedOpacity)},_getChildStyleOpacityWithDefault:function(){var t=d(this.props.style)||{};return void 0==t.opacity?1:t.opacity},render:function(){return r.createElement(o.View,{accessible:this.props.accessible!==!1,accessibilityLabel:this.props.accessibilityLabel,accessibilityComponentType:this.props.accessibilityComponentType,accessibilityTraits:this.props.accessibilityTraits,style:[this.props.style,{opacity:this.state.anim}],nativeID:this.props.nativeID,testID:this.props.testID,onLayout:this.props.onLayout,isTVSelectable:!0,tvParallaxProperties:this.props.tvParallaxProperties,hitSlop:this.props.hitSlop,onStartShouldSetResponder:this.touchableHandleStartShouldSetResponder,onResponderTerminationRequest:this.touchableHandleResponderTerminationRequest,onResponderGrant:this.touchableHandleResponderGrant,onResponderMove:this.touchableHandleResponderMove,onResponderRelease:this.touchableHandleResponderRelease,onResponderTerminate:this.touchableHandleResponderTerminate},this.props.children,l.renderDebugView({color:"cyan",hitSlop:this.props.hitSlop}))}});s.exports=f},170); +__d(function(e,t,n,o){"use strict";var a=t(172),r=t(182),c=t(161),i=t(111),m=void 0,d={View:a.createAnimatedComponent(i),Text:a.createAnimatedComponent(c),Image:a.createAnimatedComponent(r),get ScrollView(){return m||(m=a.createAnimatedComponent(t(184))),m}};babelHelpers.extends(d,a),n.exports=d},171); +__d(function(t,e,i,n){"use strict";function a(t){return t.useNativeDriver&&!p.isNativeAnimatedAvailable()?(C||(console.warn("Animated: `useNativeDriver` is not supported because the native animated module is missing. Falling back to JS-based animation. To resolve this, add `RCTAnimation` module to this app, or remove `useNativeDriver`. More info: https://github.com/facebook/react-native/issues/11094#issuecomment-263240420"),C=!0),!1):t.useNativeDriver||!1}function s(t){function e(t){"function"==typeof t.update?i.add(t):t.__getChildren().forEach(e)}var i=new y;e(t),i.forEach(function(t){return t.update()})}function o(){if(!T){var t=e(180);T=t.inOut(t.ease)}return T}function r(t,e){return void 0===t||null===t?e:t}function _(t){var e=function(e){function i(t){babelHelpers.classCallCheck(this,i);var e=babelHelpers.possibleConstructorReturn(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,t));return e._eventDetachers=[],e._setComponentRef=e._setComponentRef.bind(e),e}return babelHelpers.inherits(i,e),babelHelpers.createClass(i,[{key:"componentWillUnmount",value:function(){this._propsAnimated&&this._propsAnimated.__detach(),this._detachNativeEvents()}},{key:"setNativeProps",value:function(t){this._component.setNativeProps(t)}},{key:"componentWillMount",value:function(){this._attachProps(this.props)}},{key:"componentDidMount",value:function(){this._propsAnimated.setNativeView(this._component),this._attachNativeEvents()}},{key:"_attachNativeEvents",value:function(){var t=this,e=this._component.getScrollableNode?this._component.getScrollableNode():this._component,i=function(i){var n=t.props[i];n instanceof ot&&n.__isNative&&(n.__attach(e,i),t._eventDetachers.push(function(){return n.__detach(e,i)}))};for(var n in this.props)i(n)}},{key:"_detachNativeEvents",value:function(){this._eventDetachers.forEach(function(t){return t()}),this._eventDetachers=[]}},{key:"_attachProps",value:function(t){var e=this,i=this._propsAnimated,n=function(){if(e._component.setNativeProps){if(e._propsAnimated.__isNative)throw new Error('Attempting to run JS driven animation on animated node that has been moved to "native" earlier by starting an animation with `useNativeDriver: true`');e._component.setNativeProps(e._propsAnimated.__getAnimatedValue())}else e.forceUpdate()};this._propsAnimated=new Y(t,n),i&&i.__detach()}},{key:"componentWillReceiveProps",value:function(t){this._attachProps(t)}},{key:"componentDidUpdate",value:function(t){this._component!==this._prevComponent&&this._propsAnimated.setNativeView(this._component),this._component===this._prevComponent&&t===this.props||(this._detachNativeEvents(),this._attachNativeEvents())}},{key:"render",value:function(){var e=this._propsAnimated.__getValue();return f.createElement(t,babelHelpers.extends({},e,{ref:this._setComponentRef,collapsable:!this._propsAnimated.__isNative&&e.collapsable}))}},{key:"_setComponentRef",value:function(t){this._prevComponent=this._component,this._component=t}},{key:"getNode",value:function(){return this._component}}]),i}(f.Component),i=t.__propTypesSecretDontUseThesePlease||t.propTypes;return e.propTypes={style:function(t,e,n){if(i)for(var a in b)i[a]||void 0===t[a]||console.warn("You are setting the style `{ "+a+": ... }` as a prop. You should nest it in a style object. E.g. `{ style: { "+a+": ... } }`")}},e}function l(t,e,i){var n=[],a=function t(e,i){if(e instanceof L)e.__makeNative(),n.push({nativeEventPath:i,animatedValueTag:e.__getNativeTag()});else if("object"==typeof e)for(var a in e)t(e[a],i.concat(a))};k(i[0]&&i[0].nativeEvent,"Native driven events only support animated values contained inside `nativeEvent`."),a(i[0].nativeEvent,[]);var s=d.findNodeHandle(t);return n.forEach(function(t){V.addAnimatedEventToView(s,e,t)}),{detach:function(){n.forEach(function(t){V.removeAnimatedEventFromView(s,e,t.animatedValueTag)})}}}function u(t,e){return t?t instanceof ot?(t.__addListener(e),t):function(){"function"==typeof t&&t.apply(void 0,arguments),e.apply(void 0,arguments)}:e}function h(t,e){t&&t instanceof ot&&t.__removeListener(e)}var c=e(173),v=e(175),p=e(176),f=e(112),d=e(65),y=e(78),m=e(177),b=e(122),g=e(108),k=e(25),N=e(178),V=p.API,C=!1,A=function(){function t(){babelHelpers.classCallCheck(this,t)}return babelHelpers.createClass(t,[{key:"__attach",value:function(){}},{key:"__detach",value:function(){this.__isNative&&null!=this.__nativeTag&&(V.dropAnimatedNode(this.__nativeTag),this.__nativeTag=void 0)}},{key:"__getValue",value:function(){}},{key:"__getAnimatedValue",value:function(){return this.__getValue()}},{key:"__addChild",value:function(t){}},{key:"__removeChild",value:function(t){}},{key:"__getChildren",value:function(){return[]}},{key:"__makeNative",value:function(){if(!this.__isNative)throw new Error('This node cannot be made a "native" animated node')}},{key:"__getNativeTag",value:function(){if(p.assertNativeAnimatedModule(),k(this.__isNative,'Attempt to get native tag from node not marked as "native"'),null==this.__nativeTag){var t=p.generateNewNodeTag();V.createAnimatedNode(t,this.__getNativeConfig()),this.__nativeTag=t}return this.__nativeTag}},{key:"__getNativeConfig",value:function(){throw new Error("This JS animated node type cannot be used as native animated node")}},{key:"toJSON",value:function(){return this.__getValue()}}]),t}(),H=function(){function t(){babelHelpers.classCallCheck(this,t)}return babelHelpers.createClass(t,[{key:"start",value:function(t,e,i,n,a){}},{key:"stop",value:function(){this.__nativeId&&V.stopAnimation(this.__nativeId)}},{key:"__getNativeAnimationConfig",value:function(){throw new Error("This animation type cannot be offloaded to native")}},{key:"__debouncedOnEnd",value:function(t){var e=this.__onEnd;this.__onEnd=null,e&&e(t)}},{key:"__startNativeAnimation",value:function(t){t.__makeNative(),this.__nativeId=p.generateNewAnimationId(),V.startAnimatingNode(this.__nativeId,t.__getNativeTag(),this.__getNativeAnimationConfig(),this.__debouncedOnEnd.bind(this))}}]),t}(),O=function(t){function e(){babelHelpers.classCallCheck(this,e);var t=babelHelpers.possibleConstructorReturn(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return t._children=[],t}return babelHelpers.inherits(e,t),babelHelpers.createClass(e,[{key:"__makeNative",value:function(){if(!this.__isNative){this.__isNative=!0;for(var t=this._children,e=Array.isArray(t),i=0,t=e?t:t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]();;){var n;if(e){if(i>=t.length)break;n=t[i++]}else{if(i=t.next(),i.done)break;n=i.value}var a=n;a.__makeNative(),V.connectAnimatedNodes(this.__getNativeTag(),a.__getNativeTag())}}}},{key:"__addChild",value:function(t){0===this._children.length&&this.__attach(),this._children.push(t),this.__isNative&&(t.__makeNative(),V.connectAnimatedNodes(this.__getNativeTag(),t.__getNativeTag()))}},{key:"__removeChild",value:function(t){var e=this._children.indexOf(t);return e===-1?void console.warn("Trying to remove a child that doesn't exist"):(this.__isNative&&t.__isNative&&V.disconnectAnimatedNodes(this.__getNativeTag(),t.__getNativeTag()),this._children.splice(e,1),void(0===this._children.length&&this.__detach()))}},{key:"__getChildren",value:function(){return this._children}}]),e}(A),T=void 0,w=function(e){function i(t){babelHelpers.classCallCheck(this,i);var e=babelHelpers.possibleConstructorReturn(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));return e._toValue=t.toValue,e._easing=void 0!==t.easing?t.easing:o(),e._duration=void 0!==t.duration?t.duration:500,e._delay=void 0!==t.delay?t.delay:0,e.__iterations=void 0!==t.iterations?t.iterations:1,e.__isInteraction=void 0===t.isInteraction||t.isInteraction,e._useNativeDriver=a(t),e}return babelHelpers.inherits(i,e),babelHelpers.createClass(i,[{key:"__getNativeAnimationConfig",value:function(){for(var t=16.666666666666668,e=[],i=0;i=this._startTime+this._duration?(0===this._duration?this._onUpdate(this._toValue):this._onUpdate(this._fromValue+this._easing(1)*(this._toValue-this._fromValue)),void this.__debouncedOnEnd({finished:!0})):(this._onUpdate(this._fromValue+this._easing((t-this._startTime)/this._duration)*(this._toValue-this._fromValue)),void(this.__active&&(this._animationFrame=N(this.onUpdate.bind(this)))))}},{key:"stop",value:function(){babelHelpers.get(i.prototype.__proto__||Object.getPrototypeOf(i.prototype),"stop",this).call(this),this.__active=!1,clearTimeout(this._timeout),t.cancelAnimationFrame(this._animationFrame),this.__debouncedOnEnd({finished:!1})}}]),i}(H),P=function(e){function i(t){babelHelpers.classCallCheck(this,i);var e=babelHelpers.possibleConstructorReturn(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));return e._deceleration=void 0!==t.deceleration?t.deceleration:.998,e._velocity=t.velocity,e._useNativeDriver=a(t),e.__isInteraction=void 0===t.isInteraction||t.isInteraction,e.__iterations=void 0!==t.iterations?t.iterations:1,e}return babelHelpers.inherits(i,e),babelHelpers.createClass(i,[{key:"__getNativeAnimationConfig",value:function(){return{type:"decay",deceleration:this._deceleration,velocity:this._velocity,iterations:this.__iterations}}},{key:"start",value:function(t,e,i,n,a){this.__active=!0,this._lastValue=t,this._fromValue=t,this._onUpdate=e,this.__onEnd=i,this._startTime=Date.now(),this._useNativeDriver?this.__startNativeAnimation(a):this._animationFrame=N(this.onUpdate.bind(this))}},{key:"onUpdate",value:function(){var t=Date.now(),e=this._fromValue+this._velocity/(1-this._deceleration)*(1-Math.exp(-(1-this._deceleration)*(t-this._startTime)));return this._onUpdate(e),Math.abs(this._lastValue-e)<.1?void this.__debouncedOnEnd({finished:!0}):(this._lastValue=e,void(this.__active&&(this._animationFrame=N(this.onUpdate.bind(this)))))}},{key:"stop",value:function(){babelHelpers.get(i.prototype.__proto__||Object.getPrototypeOf(i.prototype),"stop",this).call(this),this.__active=!1,t.cancelAnimationFrame(this._animationFrame),this.__debouncedOnEnd({finished:!1})}}]),i}(H),E=function(e){function i(t){babelHelpers.classCallCheck(this,i);var e=babelHelpers.possibleConstructorReturn(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));e._overshootClamping=r(t.overshootClamping,!1),e._restDisplacementThreshold=r(t.restDisplacementThreshold,.001),e._restSpeedThreshold=r(t.restSpeedThreshold,.001),e._initialVelocity=t.velocity,e._lastVelocity=r(t.velocity,0),e._toValue=t.toValue,e._useNativeDriver=a(t),e.__isInteraction=void 0===t.isInteraction||t.isInteraction,e.__iterations=void 0!==t.iterations?t.iterations:1;var n;return void 0!==t.bounciness||void 0!==t.speed?(k(void 0===t.tension&&void 0===t.friction,"You can only define bounciness/speed or tension/friction but not both"),n=m.fromBouncinessAndSpeed(r(t.bounciness,8),r(t.speed,12))):n=m.fromOrigamiTensionAndFriction(r(t.tension,40),r(t.friction,7)),e._tension=n.tension,e._friction=n.friction,e}return babelHelpers.inherits(i,e),babelHelpers.createClass(i,[{key:"__getNativeAnimationConfig",value:function(){return{type:"spring",overshootClamping:this._overshootClamping,restDisplacementThreshold:this._restDisplacementThreshold,restSpeedThreshold:this._restSpeedThreshold,tension:this._tension,friction:this._friction,initialVelocity:r(this._initialVelocity,this._lastVelocity),toValue:this._toValue,iterations:this.__iterations}}},{key:"start",value:function(t,e,n,a,s){if(this.__active=!0,this._startPosition=t,this._lastPosition=this._startPosition,this._onUpdate=e,this.__onEnd=n,this._lastTime=Date.now(),a instanceof i){var o=a.getInternalState();this._lastPosition=o.lastPosition,this._lastVelocity=o.lastVelocity,this._lastTime=o.lastTime}void 0!==this._initialVelocity&&null!==this._initialVelocity&&(this._lastVelocity=this._initialVelocity),this._useNativeDriver?this.__startNativeAnimation(s):this.onUpdate()}},{key:"getInternalState",value:function(){return{lastPosition:this._lastPosition,lastVelocity:this._lastVelocity,lastTime:this._lastTime}}},{key:"onUpdate",value:function(){var t=this._lastPosition,e=this._lastVelocity,i=this._lastPosition,n=this._lastVelocity,a=64,s=Date.now();s>this._lastTime+a&&(s=this._lastTime+a);for(var o=1,r=Math.floor((s-this._lastTime)/o),_=0;_this._toValue:t1&&void 0!==arguments[1]?arguments[1]:{},i=e.iterations,n=void 0===i?-1:i,a=!1,s=0;return{start:function(e){var i=function i(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{finished:!0};a||s===n||o.finished===!1?e&&e(o):(s++,t.reset(),t.start(i))};t&&0!==n?t._isUsingNativeDriver()?t._startNativeLoop(n):i():e&&e({finished:!0})},stop:function(){a=!0,t.stop()},reset:function(){s=0,a=!1,t.reset()},_startNativeLoop:function(){throw new Error("Loops run using the native driver cannot contain Animated.loop animations")},_isUsingNativeDriver:function(){return t._isUsingNativeDriver()}}},ot=function(){function t(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};babelHelpers.classCallCheck(this,t),this._listeners=[],this._argMapping=e,i.listener&&this.__addListener(i.listener),this._callListeners=this._callListeners.bind(this),this._attachedEvent=null,this.__isNative=a(i)}return babelHelpers.createClass(t,[{key:"__addListener",value:function(t){this._listeners.push(t)}},{key:"__removeListener",value:function(t){this._listeners=this._listeners.filter(function(e){return e!==t})}},{key:"__attach",value:function(t,e){k(this.__isNative,"Only native driven events need to be attached."),this._attachedEvent=l(t,e,this._argMapping)}},{key:"__detach",value:function(t,e){k(this.__isNative,"Only native driven events need to be detached."),this._attachedEvent&&this._attachedEvent.detach()}},{key:"__getHandler",value:function(){var t=this;return this.__isNative?this._callListeners:function(){for(var e=arguments.length,i=Array(e),n=0;n0?setTimeout(o,0+p):setImmediate(o))}function o(){b=0;var e=w.size;T.forEach(function(e){return w.add(e)}),E.forEach(function(e){return w.delete(e)});var n=w.size;if(0!==e&&0===n?m.emit(h.Events.interactionComplete):0===e&&0!==n&&m.emit(h.Events.interactionStart),0===n)for(;k.hasTasksToProcess();)if(k.processNext(),L>0&&i.getEventLoopRunningTime()>=L){a();break}T.clear(),E.clear()}var i=n(28),c=n(48),s=n(78),d=n(174),u=n(103),l=n(25),f=n(116),m=new c,p=0,v=!1,h={Events:f({interactionStart:!0,interactionComplete:!0}),runAfterInteractions:function(e){var n=[],t=new Promise(function(t){a(),e&&n.push(e),n.push({run:t,name:"resolve "+(e&&e.name||"?")}),k.enqueueTasks(n)});return{then:t.then.bind(t),done:function(){return t.done?t.done.apply(t,arguments):void console.warn("Tried to call done when not supported by current Promise implementation.")},cancel:function(){k.cancelTasks(n)}}},createInteractionHandle:function(){v&&u("create interaction handle"),a();var e=++I;return T.add(e),e},clearInteractionHandle:function(e){v&&u("clear interaction handle"),l(!!e,"Must provide a handle to clear."),a(),T.delete(e),E.add(e)},addListener:m.addListener.bind(m),setDeadline:function(e){L=e}},w=new s,T=new s,E=new s,k=new d({onMoreTasks:a}),b=0,I=0,L=-1;t.exports=h},173); +__d(function(e,t,s,u){"use strict";var n=t(103),a=t(25),r=!1,i=function(){function e(t){var s=t.onMoreTasks;babelHelpers.classCallCheck(this,e),this._onMoreTasks=s,this._queueStack=[{tasks:[],popable:!1}]}return babelHelpers.createClass(e,[{key:"enqueue",value:function(e){this._getCurrentQueue().push(e)}},{key:"enqueueTasks",value:function(e){var t=this;e.forEach(function(e){return t.enqueue(e)})}},{key:"cancelTasks",value:function(e){this._queueStack=this._queueStack.map(function(t){return babelHelpers.extends({},t,{tasks:t.tasks.filter(function(t){return e.indexOf(t)===-1})})}).filter(function(e,t){return e.tasks.length>0||0===t})}},{key:"hasTasksToProcess",value:function(){return this._getCurrentQueue().length>0}},{key:"processNext",value:function(){var e=this._getCurrentQueue();if(e.length){var t=e.shift();try{t.gen?(r&&n("genPromise for task "+t.name),this._genPromise(t)):t.run?(r&&n("run task "+t.name),t.run()):(a("function"==typeof t,"Expected Function, SimpleTask, or PromiseTask, but got:\n"+JSON.stringify(t,null,2)),r&&n("run anonymous task"),t())}catch(e){throw e.message="TaskQueue: Error with task "+(t.name||"")+": "+e.message,e}}}},{key:"_getCurrentQueue",value:function(){var e=this._queueStack.length-1,t=this._queueStack[e];return t.popable&&0===t.tasks.length&&this._queueStack.length>1?(this._queueStack.pop(),r&&n("popped queue: ",{stackIdx:e,queueStackSize:this._queueStack.length}),this._getCurrentQueue()):t.tasks}},{key:"_genPromise",value:function(e){var t=this;this._queueStack.push({tasks:[],popable:!1});var s=this._queueStack.length-1;r&&n("push new queue: ",{stackIdx:s}),r&&n("exec gen task "+e.name),e.gen().then(function(){r&&n("onThen for gen task "+e.name,{stackIdx:s,queueStackSize:t._queueStack.length}),t._queueStack[s].popable=!0,t.hasTasksToProcess()&&t._onMoreTasks()}).catch(function(t){throw t.message="TaskQueue: Error resolving Promise in task "+e.name+": "+t.message,t}).done()}}]),e}();s.exports=i},174); +__d(function(t,n,e,a){"use strict";function r(t,n,e,a,r,u,i,o){var l=t;if(le){if("identity"===o)return l;"clamp"===o&&(l=e)}return a===r?a:n===e?t<=n?a:r:(n===-(1/0)?l=-l:e===1/0?l-=n:l=(l-n)/(e-n),l=u(l),a===-(1/0)?l=-l:r===1/0?l+=a:l=l*(r-a)+a,l)}function u(t){var n=h(t);if(null===n)return t;n=n||0;var e=(4278190080&n)>>>24,a=(16711680&n)>>>16,r=(65280&n)>>>8,u=(255&n)/255;return"rgba("+e+", "+a+", "+r+", "+u+")"}function i(t){var n=t.outputRange;g(n.length>=2,"Bad output range"),n=n.map(u),l(n);var e=n[0].match(m).map(function(){return[]});n.forEach(function(t){t.match(m).forEach(function(t,n){e[n].push(+t)})});var a=n[0].match(m).map(function(n,a){return v.create(babelHelpers.extends({},t,{outputRange:e[a]}))}),r=o(n[0]);return function(t){var e=0;return n[0].replace(m,function(){var n=+a[e++](t),u=r&&e<4?Math.round(n):Math.round(1e3*n)/1e3;return String(u)})}}function o(t){return"string"==typeof t&&t.startsWith("rgb")}function l(t){for(var n=t[0].replace(m,""),e=1;e=t);++e);return e-1}function p(t){g(t.length>=2,"inputRange must have at least 2 elements");for(var n=1;n=t[n-1],"inputRange must be monotonically increasing "+t)}function f(t,n){g(n.length>=2,t+" must have at least 2 elements"),g(2!==n.length||n[0]!==-(1/0)||n[1]!==1/0,t+"cannot be ]-infinity;+infinity[ "+n)}var g=n(25),h=n(63),s=function(t){return t},v=function(){function t(){babelHelpers.classCallCheck(this,t)}return babelHelpers.createClass(t,null,[{key:"create",value:function(t){if(t.outputRange&&"string"==typeof t.outputRange[0])return i(t);var n=t.outputRange;f("outputRange",n);var e=t.inputRange;f("inputRange",e),p(e),g(e.length===n.length,"inputRange ("+e.length+") and outputRange ("+n.length+") must have the same length");var a=t.easing||s,u="extend";void 0!==t.extrapolateLeft?u=t.extrapolateLeft:void 0!==t.extrapolate&&(u=t.extrapolate);var o="extend";return void 0!==t.extrapolateRight?o=t.extrapolateRight:void 0!==t.extrapolate&&(o=t.extrapolate),function(t){g("number"==typeof t,"Cannot interpolation an input which is not a number");var i=c(t,e);return r(t,e[i],e[i+1],n[i],n[i+1],a,u,o)}}}]),t}(),m=/[0-9\.-]+/g;e.exports=v},175); +__d(function(e,t,n,o){"use strict";function a(e){e.forEach(function(e){if(!y.hasOwnProperty(e.property))throw new Error("Property '"+e.property+"' is not supported by native animated module")})}function i(e){for(var t in e)if(!w.hasOwnProperty(t))throw new Error("Style property '"+t+"' is not supported by native animated module")}function d(e){var t={inputRange:!0,outputRange:!0,extrapolate:!0,extrapolateRight:!0,extrapolateLeft:!0};for(var n in e)if(!t.hasOwnProperty(n))throw new Error("Interpolation property '"+n+"' is not supported by native animated module")}function r(){return l++}function s(){return p++}function c(){A(f,"Native animated module is not available")}function m(){return!!f}var f=t(27).NativeAnimatedModule,u=t(53),A=t(25),l=1,p=1,N=void 0,v={createAnimatedNode:function(e,t){c(),f.createAnimatedNode(e,t)},startListeningToAnimatedNodeValue:function(e){c(),f.startListeningToAnimatedNodeValue(e)},stopListeningToAnimatedNodeValue:function(e){c(),f.stopListeningToAnimatedNodeValue(e)},connectAnimatedNodes:function(e,t){c(),f.connectAnimatedNodes(e,t)},disconnectAnimatedNodes:function(e,t){c(),f.disconnectAnimatedNodes(e,t)},startAnimatingNode:function(e,t,n,o){c(),f.startAnimatingNode(e,t,n,o)},stopAnimation:function(e){c(),f.stopAnimation(e)},setAnimatedNodeValue:function(e,t){c(),f.setAnimatedNodeValue(e,t)},setAnimatedNodeOffset:function(e,t){c(),f.setAnimatedNodeOffset(e,t)},flattenAnimatedNodeOffset:function(e){c(),f.flattenAnimatedNodeOffset(e)},extractAnimatedNodeOffset:function(e){c(),f.extractAnimatedNodeOffset(e)},connectAnimatedNodeToView:function(e,t){c(),f.connectAnimatedNodeToView(e,t)},disconnectAnimatedNodeFromView:function(e,t){c(),f.disconnectAnimatedNodeFromView(e,t)},dropAnimatedNode:function(e){c(),f.dropAnimatedNode(e)},addAnimatedEventToView:function(e,t,n){c(),f.addAnimatedEventToView(e,t,n)},removeAnimatedEventFromView:function(e,t,n){c(),f.removeAnimatedEventFromView(e,t,n)}},w={opacity:!0,transform:!0,scaleX:!0,scaleY:!0,translateX:!0,translateY:!0},y={translateX:!0,translateY:!0,scale:!0,scaleX:!0,scaleY:!0,rotate:!0,rotateX:!0,rotateY:!0,perspective:!0};n.exports={API:v,validateStyles:i,validateTransform:a,validateInterpolation:d,generateNewNodeTag:r,generateNewAnimationId:s,assertNativeAnimatedModule:c,isNativeAnimatedAvailable:m,get nativeEventEmitter(){return N||(N=new u(f)),N}}},176); +__d(function(n,t,r,o){"use strict";function u(n){return 3.62*(n-30)+194}function i(n){return 3*(n-8)+25}function e(n,t){return{tension:u(n),friction:i(t)}}function c(n,t){function r(n,t,r){return(n-t)/(r-t)}function o(n,t,r){return t+n*(r-t)}function e(n,t,r){return n*r+(1-n)*t}function c(n,t,r){return e(2*n-n*n,t,r)}function f(n){return 7e-4*Math.pow(n,3)-.031*Math.pow(n,2)+.64*n+1.28}function a(n){return 44e-6*Math.pow(n,3)-.006*Math.pow(n,2)+.36*n+2}function p(n){return 4.5e-7*Math.pow(n,3)-332e-6*Math.pow(n,2)+.1078*n+5.84}function s(n){return n<=18?f(n):n>18&&n<=44?a(n):p(n)}var h=r(n/1.7,0,20);h=o(h,0,.8);var w=r(t/1.7,0,20),M=o(w,.5,200),d=c(h,s(M),.01);return{tension:u(M),friction:i(d)}}r.exports={fromOrigamiTensionAndFriction:e,fromBouncinessAndSpeed:c}},177); +__d(function(t,n,e,o){"use strict";var a=n(40),r=n(179),u=0,i=r||function(n){var e=Date.now(),o=Math.max(0,16-(e-u));return u=e+o,t.setTimeout(function(){n(Date.now())},o)};i(a),e.exports=i},178); +__d(function(e,t,i,m){"use strict";var n=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||e.msRequestAnimationFrame;i.exports=n},179); +__d(function(e,n,u,t){"use strict";var r=void 0,a=function(){function e(){babelHelpers.classCallCheck(this,e)}return babelHelpers.createClass(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(n){return r||(r=e.bezier(.42,0,1,1)),r(n)}},{key:"quad",value:function(e){return e*e}},{key:"cubic",value:function(e){return e*e*e}},{key:"poly",value:function(e){return function(n){return Math.pow(n,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(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,n=e*Math.PI;return function(e){return 1-Math.pow(Math.cos(e*Math.PI/2),3)*Math.cos(e*n)}}},{key:"back",value:function(e){return void 0===e&&(e=1.70158),function(n){return n*n*((e+1)*n-e)}}},{key:"bounce",value:function(e){return e<.36363636363636365?7.5625*e*e:e<.7272727272727273?(e-=.5454545454545454,7.5625*e*e+.75):e<.9090909090909091?(e-=.8181818181818182,7.5625*e*e+.9375):(e-=.9545454545454546,7.5625*e*e+.984375)}},{key:"bezier",value:function(e,u,t,r){var a=n(181);return a(e,u,t,r)}},{key:"in",value:function(e){return e}},{key:"out",value:function(e){return function(n){return 1-e(1-n)}}},{key:"inOut",value:function(e){return function(n){return n<.5?e(2*n)/2:1-e(2*(1-n))/2}}}]),e}();u.exports=a},180); +__d(function(r,n,t,u){"use strict";function e(r,n){return 1-3*n+3*r}function o(r,n){return 3*n-6*r}function f(r){return 3*r}function i(r,n,t){return((e(n,t)*r+o(n,t))*r+f(n))*r}function a(r,n,t){return 3*e(n,t)*r*r+2*o(n,t)*r+f(n)}function c(r,n,t,u,e){var o,f,a=0;do f=n+(t-n)/2,o=i(f,u,e)-r,o>0?t=f:n=f;while(Math.abs(o)>l&&++a=w?v(n,s,r,t):0===l?s:c(n,u,u+h,r,t)}if(!(0<=r&&r<=1&&0<=t&&t<=1))throw new Error("bezier x values must be in [0, 1] range");var o=A?new Float32Array(b):new Array(b);if(r!==n||t!==u)for(var f=0;f component requires a `source` property rather than `src`."),d.createElement(I,babelHelpers.extends({},this.props,{style:o,resizeMode:n,tintColor:a,source:r}))}}),z=p.create({base:{overflow:"hidden"}}),I=m("RCTImageView",y);o.exports=y},182); +__d(function(e,r,n,t){"use strict";var a=r(19),c=a.shape({uri:a.string,bundle:a.string,method:a.string,headers:a.objectOf(a.string),body:a.string,cache:a.oneOf(["default","reload","force-cache","only-if-cached"]),width:a.number,height:a.number,scale:a.number}),i=a.oneOfType([c,a.number,a.arrayOf(c)]);n.exports=i},183); +__d(function(e,o,n,t){"use strict";var l=o(171),r=o(62),s=o(129),i=o(35),a=o(185),c=o(19),d=o(112),h=o(65),p=o(186),u=o(191),m=o(140),f=o(134),S=o(111),R=o(128),y=o(122),v=o(137),b=(o(55),o(108),o(25)),_=o(192),w=o(138),H=o(39),g=v({displayName:"ScrollView",propTypes:babelHelpers.extends({},R,{automaticallyAdjustContentInsets:c.bool,contentInset:s,contentOffset:a,bounces:c.bool,bouncesZoom:c.bool,alwaysBounceHorizontal:c.bool,alwaysBounceVertical:c.bool,centerContent:c.bool,contentContainerStyle:f(y),decelerationRate:c.oneOfType([c.oneOf(["fast","normal"]),c.number]),horizontal:c.bool,indicatorStyle:c.oneOf(["default","black","white"]),directionalLockEnabled:c.bool,canCancelContentTouches:c.bool,keyboardDismissMode:c.oneOf(["none","interactive","on-drag"]),keyboardShouldPersistTaps:c.oneOf(["always","never","handled",!1,!0]),maximumZoomScale:c.number,minimumZoomScale:c.number,onScroll:c.func,onScrollAnimationEnd:c.func,onContentSizeChange:c.func,pagingEnabled:c.bool,scrollEnabled:c.bool,scrollEventThrottle:c.number,scrollIndicatorInsets:s,scrollsToTop:c.bool,showsHorizontalScrollIndicator:c.bool,showsVerticalScrollIndicator:c.bool,stickyHeaderIndices:c.arrayOf(c.number),style:f(y),snapToInterval:c.number,snapToAlignment:c.oneOf(["start","center","end"]),removeClippedSubviews:c.bool,zoomScale:c.number,refreshControl:c.element,endFillColor:r,scrollPerfTag:c.string,overScrollMode:c.oneOf(["auto","always","never"]),DEPRECATED_sendUpdatedChildFrames:c.bool}),mixins:[p.Mixin],_scrollAnimatedValue:new l.Value(0),_scrollAnimatedValueAttachment:null,_stickyHeaderRefs:new Map,_headerLayoutYs:new Map,getInitialState:function(){return this.scrollResponderMixinGetInitialState()},componentWillMount:function(){this._scrollAnimatedValue=new l.Value(0),this._stickyHeaderRefs=new Map,this._headerLayoutYs=new Map},componentDidMount:function(){this._updateAnimatedNodeAttachment()},componentDidUpdate:function(){this._updateAnimatedNodeAttachment()},componentWillUnmount:function(){this._scrollAnimatedValueAttachment&&this._scrollAnimatedValueAttachment.detach()},setNativeProps:function(e){this._scrollViewRef&&this._scrollViewRef.setNativeProps(e)},getScrollResponder:function(){return this},getScrollableNode:function(){return h.findNodeHandle(this._scrollViewRef)},getInnerViewNode:function(){return h.findNodeHandle(this._innerViewRef)},scrollTo:function(e,o,n){if("number"==typeof e)console.warn("`scrollTo(y, x, animated)` is deprecated. Use `scrollTo({x: 5, y: 5, animated: true})` instead.");else{var t=e||{};o=t.x,e=t.y,n=t.animated}this.getScrollResponder().scrollResponderScrollTo({x:o||0,y:e||0,animated:n!==!1})},scrollToEnd:function(e){var o=(e&&e.animated)!==!1;this.getScrollResponder().scrollResponderScrollToEnd({animated:o})},scrollWithoutAnimationTo:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;console.warn("`scrollWithoutAnimationTo` is deprecated. Use `scrollTo` instead"),this.scrollTo({x:o,y:e,animated:!1})},flashScrollIndicators:function(){this.getScrollResponder().scrollResponderFlashScrollIndicators()},_getKeyForIndex:function(e,o){var n=o[e];return n&&n.key},_updateAnimatedNodeAttachment:function(){this._scrollAnimatedValueAttachment&&this._scrollAnimatedValueAttachment.detach(),this.props.stickyHeaderIndices&&this.props.stickyHeaderIndices.length>0&&(this._scrollAnimatedValueAttachment=l.attachNativeEvent(this._scrollViewRef,"onScroll",[{nativeEvent:{contentOffset:{y:this._scrollAnimatedValue}}}]))},_setStickyHeaderRef:function(e,o){o?this._stickyHeaderRefs.set(e,o):this._stickyHeaderRefs.delete(e)},_onStickyHeaderLayout:function(e,o,n){if(this.props.stickyHeaderIndices){var t=d.Children.toArray(this.props.children);if(n===this._getKeyForIndex(e,t)){var l=o.nativeEvent.layout.y;this._headerLayoutYs.set(n,l);var r=this.props.stickyHeaderIndices.indexOf(e),s=this.props.stickyHeaderIndices[r-1];if(null!=s){var i=this._stickyHeaderRefs.get(this._getKeyForIndex(s,t));i&&i.setNextHeaderY(l)}}}},_handleScroll:function(e){this.scrollResponderHandleScroll(e)},_handleContentOnLayout:function(e){var o=e.nativeEvent.layout,n=o.width,t=o.height;this.props.onContentSizeChange&&this.props.onContentSizeChange(n,t)},_scrollViewRef:null,_setScrollViewRef:function(e){this._scrollViewRef=e},_innerViewRef:null,_setInnerViewRef:function(e){this._innerViewRef=e},render:function(){var e=this,o=void 0,n=void 0;o=T,n=E,H(!this.props.snapToInterval||!this.props.pagingEnabled,"snapToInterval is currently ignored when pagingEnabled is true."),b(void 0!==o,"ScrollViewClass must not be undefined"),b(void 0!==n,"ScrollContentContainerViewClass must not be undefined");var t=[this.props.horizontal&&C.contentContainerHorizontal,this.props.contentContainerStyle],l={};this.props.onContentSizeChange&&(l={onLayout:this._handleContentOnLayout});var r=this.props.stickyHeaderIndices,s=r&&r.length>0,a=s&&d.Children.toArray(this.props.children),c=s?a.map(function(o,n){var t=o?r.indexOf(n):-1;if(t>-1){var l=o.key,s=r[t+1];return d.createElement(u,{key:l,ref:function(o){return e._setStickyHeaderRef(l,o)},nextHeaderLayoutY:e._headerLayoutYs.get(e._getKeyForIndex(s,a)),onLayout:function(o){return e._onStickyHeaderLayout(n,o,l)},scrollAnimatedValue:e._scrollAnimatedValue},o)}return o}):this.props.children,h=d.createElement(n,babelHelpers.extends({},l,{ref:this._setInnerViewRef,style:t,removeClippedSubviews:this.props.removeClippedSubviews,collapsable:!1}),c),p=void 0!==this.props.alwaysBounceHorizontal?this.props.alwaysBounceHorizontal:this.props.horizontal,m=void 0!==this.props.alwaysBounceVertical?this.props.alwaysBounceVertical:!this.props.horizontal,f=!!this.props.DEPRECATED_sendUpdatedChildFrames,S=this.props.horizontal?C.baseHorizontal:C.baseVertical,R=babelHelpers.extends({},this.props,{alwaysBounceHorizontal:p,alwaysBounceVertical:m,style:[S,this.props.style],onContentSizeChange:null,onMomentumScrollBegin:this.scrollResponderHandleMomentumScrollBegin,onMomentumScrollEnd:this.scrollResponderHandleMomentumScrollEnd,onResponderGrant:this.scrollResponderHandleResponderGrant,onResponderReject:this.scrollResponderHandleResponderReject,onResponderRelease:this.scrollResponderHandleResponderRelease,onResponderTerminate:this.scrollResponderHandleTerminate,onResponderTerminationRequest:this.scrollResponderHandleTerminationRequest,onScroll:this._handleScroll,onScrollBeginDrag:this.scrollResponderHandleScrollBeginDrag,onScrollEndDrag:this.scrollResponderHandleScrollEndDrag,onScrollShouldSetResponder:this.scrollResponderHandleScrollShouldSetResponder,onStartShouldSetResponder:this.scrollResponderHandleStartShouldSetResponder,onStartShouldSetResponderCapture:this.scrollResponderHandleStartShouldSetResponderCapture,onTouchEnd:this.scrollResponderHandleTouchEnd,onTouchMove:this.scrollResponderHandleTouchMove,onTouchStart:this.scrollResponderHandleTouchStart,scrollEventThrottle:s?1:this.props.scrollEventThrottle,sendMomentumEvents:!(!this.props.onMomentumScrollBegin&&!this.props.onMomentumScrollEnd),DEPRECATED_sendUpdatedChildFrames:f}),y=this.props.decelerationRate;y&&(R.decelerationRate=_(y));var v=this.props.refreshControl;return v?d.createElement(o,babelHelpers.extends({},R,{ref:this._setScrollViewRef}),i.isTVOS?null:v,h):d.createElement(o,babelHelpers.extends({},R,{ref:this._setScrollViewRef}),h)}}),C=m.create({baseVertical:{flexGrow:1,flexShrink:1,flexDirection:"column",overflow:"scroll"},baseHorizontal:{flexGrow:1,flexShrink:1,flexDirection:"row",overflow:"scroll"},contentContainerHorizontal:{flexDirection:"row"}}),V=void 0,T=void 0,E=void 0;V={nativeOnly:{onMomentumScrollBegin:!0,onMomentumScrollEnd:!0,onScrollBeginDrag:!0,onScrollEndDrag:!0}},T=w("RCTScrollView",g,V),E=w("RCTScrollContentView",S),n.exports=g},184); +__d(function(r,e,n,t){"use strict";var u=e(19),s=e(130),b=s({x:u.number,y:u.number});n.exports=b},185); +__d(function(e,o,n,r){"use strict";function s(e){var o=b(e);return o&&o.viewConfig&&("AndroidTextInput"===o.viewConfig.uiViewClassName||"RCTTextView"===o.viewConfig.uiViewClassName||"RCTTextField"===o.viewConfig.uiViewClassName)}var l=o(142),t=o(187),i=o(54),d=o(65),a=o(188),c=o(56),p=o(57),h=o(25),u=o(189),S=o(36),m=o(39),R=o(27),T=R.ScrollViewManager,f=o(190),b=f.getInstanceFromNode,y=16,g={mixins:[a.Mixin],scrollResponderMixinGetInitialState:function(){return{isTouching:!1,lastMomentumScrollBeginTime:0,lastMomentumScrollEndTime:0,observedScrollSinceBecomingResponder:!1,becameResponderWhileAnimating:!1}},scrollResponderHandleScrollShouldSetResponder:function(){return this.state.isTouching},scrollResponderHandleStartShouldSetResponder:function(e){var o=c.currentlyFocusedField();return"handled"===this.props.keyboardShouldPersistTaps&&null!=o&&e.target!==o},scrollResponderHandleStartShouldSetResponderCapture:function(e){var o=c.currentlyFocusedField(),n=this.props.keyboardShouldPersistTaps,r=!n||"never"===n;return!(!r||null==o||s(e.target))||this.scrollResponderIsAnimating()},scrollResponderHandleResponderReject:function(){},scrollResponderHandleTerminationRequest:function(){return!this.state.observedScrollSinceBecomingResponder},scrollResponderHandleTouchEnd:function(e){var o=e.nativeEvent;this.state.isTouching=0!==o.touches.length,this.props.onTouchEnd&&this.props.onTouchEnd(e)},scrollResponderHandleResponderRelease:function(e){this.props.onResponderRelease&&this.props.onResponderRelease(e);var o=c.currentlyFocusedField();this.props.keyboardShouldPersistTaps===!0||"always"===this.props.keyboardShouldPersistTaps||null==o||e.target===o||this.state.observedScrollSinceBecomingResponder||this.state.becameResponderWhileAnimating||(this.props.onScrollResponderKeyboardDismissed&&this.props.onScrollResponderKeyboardDismissed(e),c.blurTextInput(o))},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){t.beginScroll(),this.props.onScrollBeginDrag&&this.props.onScrollBeginDrag(e)},scrollResponderHandleScrollEndDrag:function(e){var o=e.nativeEvent.velocity;this.scrollResponderIsAnimating()||o&&(0!==o.x||0!==o.y)||t.endScroll(),this.props.onScrollEndDrag&&this.props.onScrollEndDrag(e)},scrollResponderHandleMomentumScrollBegin:function(e){this.state.lastMomentumScrollBeginTime=S(),this.props.onMomentumScrollBegin&&this.props.onMomentumScrollBegin(e)},scrollResponderHandleMomentumScrollEnd:function(e){t.endScroll(),this.state.lastMomentumScrollEndTime=S(),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=S(),o=e-this.state.lastMomentumScrollEndTime,n=o=o?(l.push(p,p+1),i.push(p-o,p-o)):(l.push(o+1),i.push(1))}var y=this.props.scrollAnimatedValue.interpolate({inputRange:l,outputRange:i}),h=n.Children.only(this.props.children);return n.createElement(r.View,{collapsable:!1,onLayout:this._onLayout,style:[h.props.style,u.header,{transform:[{translateY:y}]}]},n.cloneElement(h,{style:u.fill,onLayout:void 0}))}}]),t}(n.Component),u=s.create({header:{zIndex:10},fill:{flex:1}});a.exports=l},191); +__d(function(t,n,r,o){"use strict";function s(t){return"normal"===t?t=.998:"fast"===t&&(t=.99),t}r.exports=s},192); +__d(function(i,t,e,n){"use strict";var a="undefined"==typeof window?i:window,r=function(i,t,e){return function(n,a){var r=i(function(){t.call(this,r),n.apply(this,arguments)}.bind(this),a);return this[e]?this[e].push(r):this[e]=[r],r}},s=function(i,t){return function(e){if(this[t]){var n=this[t].indexOf(e);n!==-1&&this[t].splice(n,1)}i(e)}},c="TimerMixin_timeouts",m=s(a.clearTimeout,c),o=r(a.setTimeout,m,c),l="TimerMixin_intervals",u=s(a.clearInterval,l),h=r(a.setInterval,function(){},l),f="TimerMixin_immediates",d=s(a.clearImmediate,f),I=r(a.setImmediate,d,f),v="TimerMixin_rafs",T=s(a.cancelAnimationFrame,v),p=r(a.requestAnimationFrame,T,v),x={componentWillUnmount:function(){this[c]&&this[c].forEach(function(i){a.clearTimeout(i)}),this[c]=null,this[l]&&this[l].forEach(function(i){a.clearInterval(i)}),this[l]=null,this[f]&&this[f].forEach(function(i){a.clearImmediate(i)}),this[f]=null,this[v]&&this[v].forEach(function(i){a.cancelAnimationFrame(i)}),this[v]=null},setTimeout:o,clearTimeout:m,setInterval:h,clearInterval:u,setImmediate:I,clearImmediate:d,requestAnimationFrame:p,cancelAnimationFrame:T};e.exports=x},193); +__d(function(e,s,t,o){"use strict";var n=s(129),i=s(112),r=s(19),p=s(193),a=s(162),l=s(137),c=s(195),h=s(39),u=s(135),d=u.AccessibilityComponentTypes,y=u.AccessibilityTraits,b={top:20,left:20,right:20,bottom:30},f=l({displayName:"TouchableWithoutFeedback",mixins:[p,a.Mixin],propTypes:{accessible:r.bool,accessibilityComponentType:r.oneOf(d),accessibilityTraits:r.oneOfType([r.oneOf(y),r.arrayOf(r.oneOf(y))]),disabled:r.bool,onPress:r.func,onPressIn:r.func,onPressOut:r.func,onLayout:r.func,onLongPress:r.func,delayPressIn:r.number,delayPressOut:r.number,delayLongPress:r.number,pressRetentionOffset:n,hitSlop:n},getInitialState:function(){return this.touchableGetInitialState()},componentDidMount:function(){c(this.props)},componentWillReceiveProps:function(e){c(e)},touchableHandlePress:function(e){this.props.onPress&&this.props.onPress(e)},touchableHandleActivePressIn:function(e){this.props.onPressIn&&this.props.onPressIn(e)},touchableHandleActivePressOut:function(e){this.props.onPressOut&&this.props.onPressOut(e)},touchableHandleLongPress:function(e){this.props.onLongPress&&this.props.onLongPress(e)},touchableGetPressRectOffset:function(){return this.props.pressRetentionOffset||b},touchableGetHitSlop:function(){return this.props.hitSlop},touchableGetHighlightDelayMS:function(){return this.props.delayPressIn||0},touchableGetLongPressDelayMS:function(){return 0===this.props.delayLongPress?0:this.props.delayLongPress||500},touchableGetPressOutDelayMS:function(){return this.props.delayPressOut||0},render:function(){var e=i.Children.only(this.props.children),s=e.props.children;h(!e.type||"Text"!==e.type.displayName,"TouchableWithoutFeedback does not work well with Text children. Wrap children in a View instead. See "+(e._owner&&e._owner.getName&&e._owner.getName()||"")),a.TOUCH_TARGET_DEBUG&&e.type&&"View"===e.type.displayName&&(s=i.Children.toArray(s),s.push(a.renderDebugView({color:"red",hitSlop:this.props.hitSlop})));var t=a.TOUCH_TARGET_DEBUG&&e.type&&"Text"===e.type.displayName?[e.props.style,{color:"red"}]:e.props.style;return i.cloneElement(e,{accessible:this.props.accessible!==!1,accessibilityLabel:this.props.accessibilityLabel,accessibilityComponentType:this.props.accessibilityComponentType,accessibilityTraits:this.props.accessibilityTraits,nativeID:this.props.nativeID,testID:this.props.testID,onLayout:this.props.onLayout,hitSlop:this.props.hitSlop,onStartShouldSetResponder:this.touchableHandleStartShouldSetResponder,onResponderTerminationRequest:this.touchableHandleResponderTerminationRequest,onResponderGrant:this.touchableHandleResponderGrant,onResponderMove:this.touchableHandleResponderMove,onResponderRelease:this.touchableHandleResponderRelease,onResponderTerminate:this.touchableHandleResponderTerminate,style:t,children:s})}});t.exports=f},194); +__d(function(e,n,s,t){"use strict";var a=n(25),o=function(e){a(!(e.delayPressIn<0||e.delayPressOut<0||e.delayLongPress<0),"Touchable components cannot have negative delay properties")};s.exports=o},195); +__d(function(e,t,n,i){"use strict";var a=t(64),m=t(112),r=t(19),s=t(140),o=t(111),u=t(128),p=t(137),d=t(138),c=p({displayName:"DatePickerIOS",_picker:void 0,mixins:[a],propTypes:babelHelpers.extends({},u,{date:r.instanceOf(Date).isRequired,onDateChange:r.func.isRequired,maximumDate:r.instanceOf(Date),minimumDate:r.instanceOf(Date),mode:r.oneOf(["date","time","datetime"]),minuteInterval:r.oneOf([1,2,3,4,5,6,10,12,15,20,30]),timeZoneOffsetInMinutes:r.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();this._picker&&t!==n&&this._picker.setNativeProps({date:n})},render:function(){var e=this,t=this.props;return m.createElement(o,{style:t.style},m.createElement(h,{ref:function(t){e._picker=t},style:f.datePickerIOS,date:t.date.getTime(),maximumDate:t.maximumDate?t.maximumDate.getTime():void 0,minimumDate:t.minimumDate?t.minimumDate.getTime():void 0,mode:t.mode,minuteInterval:t.minuteInterval,timeZoneOffsetInMinutes:t.timeZoneOffsetInMinutes,onChange:this._onChange,onStartShouldSetResponder:function(){return!0},onResponderTerminationRequest:function(){return!1}}))}}),f=s.create({datePickerIOS:{height:216}}),h=d("RCTDatePicker",{propTypes:babelHelpers.extends({},c.propTypes,{date:r.number,minimumDate:r.number,maximumDate:r.number,onDateChange:function(){return null},onChange:r.func})});n.exports=c},196); +__d(function(t,s,c,e){"use strict";c.exports=s(139)},197); +__d(function(e,t,n,r){"use strict";var o=t(199),s=t(112),l=t(111),i=t(206),a=t(25),u=babelHelpers.extends({},i.defaultProps,{numColumns:1}),c=function(e){function t(){var e,n,r,o;babelHelpers.classCallCheck(this,t);for(var i=arguments.length,u=Array(i),c=0;c1){for(var o=[],s=0;s1?(a(Array.isArray(e),"FlatList: Encountered internal consistency error, expected each item to consist of an array with 1-%s columns; instead, received a single item.",s),e.map(function(e,n){return o(e,t*s+n)}).join(":")):o(e,t)},r._onViewableItemsChanged=function(e){var t=r.props,n=t.numColumns,o=t.onViewableItemsChanged;if(o)if(n>1){var s=[],l=[];e.viewableItems.forEach(function(e){return r._pushMultiColumnViewable(l,e)}),e.changed.forEach(function(e){return r._pushMultiColumnViewable(s,e)}),o({viewableItems:l,changed:s})}else o(e)},r._renderItem=function(e){var t=r.props,n=t.renderItem,o=t.numColumns,i=t.columnWrapperStyle;if(o>1){var u=e.item,c=e.index;return a(Array.isArray(u),"Expected array of items with numColumns > 1"),s.createElement(l,{style:[{flexDirection:"row"},i]},u.map(function(t,r){var l=n({item:t,index:c*o+r,separators:e.separators});return l&&s.cloneElement(l,{key:r})}))}return n(e)},o=n,babelHelpers.possibleConstructorReturn(r,o)}return babelHelpers.inherits(t,e),babelHelpers.createClass(t,[{key:"scrollToEnd",value:function(e){this._listRef.scrollToEnd(e)}},{key:"scrollToIndex",value:function(e){this._listRef.scrollToIndex(e)}},{key:"scrollToItem",value:function(e){this._listRef.scrollToItem(e)}},{key:"scrollToOffset",value:function(e){this._listRef.scrollToOffset(e)}},{key:"recordInteraction",value:function(){this._listRef.recordInteraction()}},{key:"flashScrollIndicators",value:function(){this._listRef.flashScrollIndicators()}},{key:"getScrollResponder",value:function(){if(this._listRef)return this._listRef.getScrollResponder()}},{key:"getScrollableNode",value:function(){if(this._listRef)return this._listRef.getScrollableNode()}},{key:"setNativeProps",value:function(e){this._listRef&&this._listRef.setNativeProps(e)}},{key:"componentWillMount",value:function(){this._checkProps(this.props)}},{key:"componentWillReceiveProps",value:function(e){a(e.numColumns===this.props.numColumns,"Changing numColumns on the fly is not supported. Change the key prop on FlatList when changing the number of columns to force a fresh render of the component."),this._checkProps(e)}},{key:"_checkProps",value:function(e){var t=e.getItem,n=e.getItemCount,r=e.horizontal,o=e.legacyImplementation,s=e.numColumns,l=e.columnWrapperStyle;a(!t&&!n,"FlatList does not support custom data formats."),s>1?a(!r,"numColumns does not support horizontal."):a(!l,"columnWrapperStyle not supported for single column lists"),o&&(a(1===s,"Legacy list does not support multiple columns."),this._hasWarnedLegacy||(console.warn("FlatList: Using legacyImplementation - some features not supported and performance may suffer"),this._hasWarnedLegacy=!0))}},{key:"_pushMultiColumnViewable",value:function(e,t){var n=this.props,r=n.numColumns,o=n.keyExtractor;t.item.forEach(function(n,s){a(null!=t.index,"Missing index!");var l=t.index*r+s;e.push(babelHelpers.extends({},t,{item:n,key:o(n,l),index:l}))})}},{key:"render",value:function(){return this.props.legacyImplementation?s.createElement(o,babelHelpers.extends({},this.props,{items:this.props.data,ref:this._captureRef})):s.createElement(i,babelHelpers.extends({},this.props,{renderItem:this._renderItem,getItem:this._getItem,getItemCount:this._getItemCount,keyExtractor:this._keyExtractor,ref:this._captureRef,onViewableItemsChanged:this.props.onViewableItemsChanged&&this._onViewableItemsChanged}))}}]),t}(s.PureComponent);c.defaultProps=u,n.exports=c},198); +__d(function(e,t,r,o){"use strict";var n=t(200),s=t(112),a=t(205),i=t(184),c=t(25),l=function(e){function t(){var e,r,o,a,i=this;babelHelpers.classCallCheck(this,t);for(var l=arguments.length,p=Array(l),u=0;u=this._prevRenderedRowsCount&&o.rowShouldUpdate(p,C),E=r.createElement(c,{key:"r_"+b,shouldUpdate:!!y,render:this.props.renderRow.bind(null,o.getRowData(p,C),g,_,this._onRowHighlighted)});if(e.push(E),h++,this.props.renderSeparator&&(C!==w.length-1||p===n.length-1)){var L=this.state.highlightedRow.sectionID===g&&(this.state.highlightedRow.rowID===_||this.state.highlightedRow.rowID===w[C+1]),I=this.props.renderSeparator(g,_,L);I&&(e.push(r.createElement(u,{key:"s_"+b},I)),h++)}if(++s===this.state.curRenderedRowsCount)break}if(s>=this.state.curRenderedRowsCount)break}var P=this.props,H=P.renderScrollComponent,D=babelHelpers.objectWithoutProperties(P,["renderScrollComponent"]);return D.scrollEventThrottle||(D.scrollEventThrottle=v),void 0===D.removeClippedSubviews&&(D.removeClippedSubviews=!0),babelHelpers.extends(D,{onScroll:this._onScroll,stickyHeaderIndices:this.props.stickyHeaderIndices.concat(i),onKeyboardWillShow:void 0,onKeyboardWillHide:void 0,onKeyboardDidShow:void 0,onKeyboardDidHide:void 0}),R(H(D),{ref:this._setScrollComponentRef,onContentSizeChange:this._onContentSizeChange,onLayout:this._onLayout,DEPRECATED_sendUpdatedChildFrames:void 0!==typeof D.onChangeVisibleRows},d,e,a)},_measureAndUpdateScrollProps:function(){var e=this.getScrollResponder();e&&e.getInnerViewNode&&d&&d.calculateChildFrames&&d.calculateChildFrames(l.findNodeHandle(e),this._updateVisibleRows)},_setScrollComponentRef:function(e){this._scrollComponent=e},_onContentSizeChange:function(e,t){var o=this.props.horizontal?e:t;o!==this.scrollProperties.contentLength&&(this.scrollProperties.contentLength=o,this._updateVisibleRows(),this._renderMoreRowsIfNeeded()),this.props.onContentSizeChange&&this.props.onContentSizeChange(e,t)},_onLayout:function(e){var t=e.nativeEvent.layout,o=t.width,n=t.height,s=this.props.horizontal?o:n;s!==this.scrollProperties.visibleLength&&(this.scrollProperties.visibleLength=s,this._updateVisibleRows(),this._renderMoreRowsIfNeeded()),this.props.onLayout&&this.props.onLayout(e)},_maybeCallOnEndReached:function(e){return!!(this.props.onEndReached&&this.scrollProperties.contentLength!==this._sentEndForContentLength&&this._getDistanceFromEnd(this.scrollProperties)r||vthis.props.onEndReachedThreshold&&(this._sentEndForContentLength=null),this.props.onScroll&&this.props.onScroll(e)}});o.exports=b},200); +__d(function(t,e,i,n){"use strict";function s(t,e,i){return t[e][i]}function a(t,e){return t[e]}function o(t){for(var e=0,i=0;i=this.rowIdentities[i].length))return this.rowIdentities[i][e];e-=this.rowIdentities[i].length}return null}},{key:"getSectionIDForFlatIndex",value:function(t){for(var e=t,i=0;i=this.rowIdentities[i].length))return this.sectionIdentities[i];e-=this.rowIdentities[i].length}return null}},{key:"getSectionLengths",value:function(){for(var t=[],e=0;e2?c-2:0),a=2;a=0&&l0){v=!1;var _=i?"width":"height",g=this.props.initialScrollIndex?-1:this.props.initialNumToRender-1,y=this.state,b=y.first,C=y.last;this._pushCells(p,u,c,0,g,h);var x=Math.max(g+1,b);if(!a&&b>g+1){var S=!1;if(c.size>0)for(var M=s?1:0,E=x-1;E>g;E--)if(c.has(E+M)){var R=this._getFrameMetricsApprox(g),k=this._getFrameMetricsApprox(E),I=k.offset-(R.offset+R.length);p.push(l.createElement(d,{key:"$sticky_lead",style:babelHelpers.defineProperty({},_,I)})),this._pushCells(p,u,c,E,E,h);var T=this._getFrameMetricsApprox(b).offset-(k.offset+k.length);p.push(l.createElement(d,{key:"$sticky_trail",style:babelHelpers.defineProperty({},_,T)})),S=!0;break}if(!S){var w=this._getFrameMetricsApprox(g),H=this._getFrameMetricsApprox(b).offset-(w.offset+w.length);p.push(l.createElement(d,{key:"$lead_spacer",style:babelHelpers.defineProperty({},_,H)}))}}if(this._pushCells(p,u,c,x,C,h),!this._hasWarned.keys&&v&&(console.warn("VirtualizedList: missing keys for items, make sure to specify a key property on each item or provide a custom keyExtractor."),this._hasWarned.keys=!0),!a&&C0||r2&&p500&&e._scrollMetrics.dt>500&&o>5*s&&!e._hasWarned.perf&&(f("VirtualizedList: You have a large list that is slow to update - make sure your renderItem function renders components that follow React performance best practices like PureComponent, shouldComponentUpdate, etc.",{dt:i,prevDt:e._scrollMetrics.dt,contentLength:o}),e._hasWarned.perf=!0);var l=n-e._scrollMetrics.offset,a=l/i;e._scrollMetrics={contentLength:o,dt:i,dOffset:l,offset:n,timestamp:r,velocity:a,visibleLength:s},e._updateViewableItems(e.props.data),e.props&&(e._maybeCallOnEndReached(),0!==a&&e._fillRateHelper.activate(),e._computeBlankness(),e._scheduleCellsToRenderUpdate())},this._onScrollBeginDrag=function(t){e._viewabilityHelper.recordInteraction(),e.props.onScrollBeginDrag&&e.props.onScrollBeginDrag(t)},this._onScrollEndDrag=function(t){var r=t.nativeEvent.velocity;r&&(e._scrollMetrics.velocity=e._selectOffset(r)),e._computeBlankness(),e.props.onScrollEndDrag&&e.props.onScrollEndDrag(t)},this._onMomentumScrollEnd=function(t){e._scrollMetrics.velocity=0,e._computeBlankness(),e.props.onMomentumScrollEnd&&e.props.onMomentumScrollEnd(t)},this._updateCellsToRender=function(){var t=e.props,r=t.data,s=t.getItemCount,o=t.onEndReachedThreshold,n=e._isVirtualizationDisabled();e._updateViewableItems(r),r&&e.setState(function(t){var i=void 0;if(n){var l=e._scrollMetrics,a=l.contentLength,h=l.offset,p=l.visibleLength,c=a-p-h,d=ct,"Tried to get frame for out of range index "+t);var a=o(s,t),h=a&&e._frames[l(a,t)];return h&&h.index===t||i&&(h=i(s,t)),h}},C=function(e){function t(){var e,r,s,o;babelHelpers.classCallCheck(this,t);for(var n=arguments.length,i=Array(n),l=0;l0&&void 0!==arguments[0]?arguments[0]:{abort:!1};this._taskHandle&&(this._taskHandle.cancel(),t.abort||this._callback(),this._taskHandle=null)}},{key:"schedule",value:function(){var t=this;if(!this._taskHandle){var a=setTimeout(function(){t._taskHandle=n.runAfterInteractions(function(){t._taskHandle=null,t._callback()})},this._delay);this._taskHandle={cancel:function(){return clearTimeout(a)}}}}}]),t}();e.exports=s},207); +__d(function(t,e,a,n){"use strict";var s=e(36),i=e(39),l=function t(){babelHelpers.classCallCheck(this,t),this.any_blank_count=0,this.any_blank_ms=0,this.any_blank_speed_sum=0,this.mostly_blank_count=0,this.mostly_blank_ms=0,this.pixels_blank=0,this.pixels_sampled=0,this.pixels_scrolled=0,this.total_time_spent=0,this.sample_count=0},_=!1,o=[],r=10,h=_?1:null,u=function(){function t(e){babelHelpers.classCallCheck(this,t),this._anyBlankStartTime=null,this._enabled=!1,this._info=new l,this._mostlyBlankStartTime=null,this._samplesStartTime=null,this._getFrameMetrics=e,this._enabled=(h||0)>Math.random(),this._resetData()}return babelHelpers.createClass(t,null,[{key:"addListener",value:function(t){return i(null!==h,"Call `FillRateHelper.setSampleRate` before `addListener`."),o.push(t),{remove:function(){o=o.filter(function(e){return t!==e})}}}},{key:"setSampleRate",value:function(t){h=t}},{key:"setMinSampleCount",value:function(t){r=t}}]),babelHelpers.createClass(t,[{key:"activate",value:function(){this._enabled&&null==this._samplesStartTime&&(_&&console.debug("FillRateHelper: activate"),this._samplesStartTime=s())}},{key:"deactivateAndFlush",value:function(){if(this._enabled){var t=this._samplesStartTime;if(null==t)return void(_&&console.debug("FillRateHelper: bail on deactivate with no start time"));if(this._info.sample_count0&&(h=Math.min(_,Math.max(0,m.offset-i)));for(var f=0,c=e.last,b=this._getFrameMetrics(c);c>=e.first&&(!b||!b.inLayout);)b=this._getFrameMetrics(c),c--;if(b&&c0?(this._anyBlankStartTime=r,this._info.any_blank_speed_sum+=o,this._info.any_blank_count++,this._info.pixels_blank+=d,p>.5&&(this._mostlyBlankStartTime=r,this._info.mostly_blank_count++)):(o<.01||Math.abs(n)<1)&&this.deactivateAndFlush(),p}},{key:"enabled",value:function(){return this._enabled}},{key:"_resetData",value:function(){this._anyBlankStartTime=null,this._info=new l,this._mostlyBlankStartTime=null,this._samplesStartTime=null}}]),t}();a.exports=u},208); +__d(function(e,t,i,r){"use strict";function a(e,t,i,r,a,l){if(s(i,r,a))return!0;var o=n(i,r,a),h=100*(e?o/a:o/l);return h>=t}function n(e,t,i){var r=Math.min(t,i)-Math.max(e,0);return Math.max(0,r)}function s(e,t,i){return e>=0&&t<=i&&t>e}var l=t(25),o=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{viewAreaCoveragePercentThreshold:0};babelHelpers.classCallCheck(this,e),this._hasInteracted=!1,this._lastUpdateTime=0,this._timers=new Set,this._viewableIndices=[],this._viewableItems=new Map,this._config=t}return babelHelpers.createClass(e,[{key:"dispose",value:function(){this._timers.forEach(clearTimeout)}},{key:"computeViewableItems",value:function(e,t,i,r,n){var s=this._config,o=s.itemVisiblePercentThreshold,h=s.viewAreaCoveragePercentThreshold,c=null!=h,u=c?h:o;l(null!=u&&null!=o!=(null!=h),"Must set exactly one of itemVisiblePercentThreshold or viewAreaCoveragePercentThreshold");var f=[];if(0===e)return f;var v=-1,m=n||{first:0,last:e-1},d=m.first,b=m.last;l(b0)v=_,a(c,u,y,w,i,p.length)&&f.push(_);else if(v>=0)break}}return f}},{key:"onUpdate",value:function(e,t,i,r,a,n,s){var l=this,o=Date.now();0===this._lastUpdateTime&&e>0&&r(0)&&(this._lastUpdateTime=o);var h=this._lastUpdateTime?o-this._lastUpdateTime:0;if(!this._config.waitForInteraction||this._hasInteracted){var c=[];if(e&&(c=this.computeViewableItems(e,t,i,r,s)),this._viewableIndices.length!==c.length||!this._viewableIndices.every(function(e,t){return e===c[t]}))if(this._viewableIndices=c,this._lastUpdateTime=o,this._config.minimumViewTime&&h=l.length)break;c=l[h++]}else{if(h=l.next(),h.done)break;c=h.value}var u=c,f=babelHelpers.slicedToArray(u,2),v=f[0],m=f[1];a.has(v)||s.push(m)}for(var d=a,b=Array.isArray(d),_=0,d=b?d:d["function"==typeof Symbol?Symbol.iterator:"@@iterator"]();;){var p;if(b){if(_>=d.length)break;p=d[_++]}else{if(_=d.next(),_.done)break;p=_.value}var y=p,w=babelHelpers.slicedToArray(y,2),g=w[0],T=w[1];n.has(g)||s.push(babelHelpers.extends({},T,{isViewable:!1}))}s.length>0&&(this._viewableItems=n,t({viewableItems:Array.from(n.values()),changed:s}))}}]),e}();i.exports=o},209); +__d(function(t,e,r,a){"use strict";function n(t,e,r){for(var a=[],n=0;n=t[l]&&(a[l]=n,l===t.length-1))return f(a.length===t.length,"bad offsets input, should be in increasing order "+JSON.stringify(t)),a;return a}function i(t,e){return e.last-e.first+1-Math.max(0,1+Math.min(e.last,t.last)-Math.max(e.first,t.first))}function s(t,e,r,a){var s=t.data,f=t.getItemCount,l=t.maxToRenderPerBatch,o=t.windowSize,u=f(s);if(0===u)return e;var h=a.offset,m=a.velocity,c=a.visibleLength,d=Math.max(0,h),v=d+c,g=(o-1)*c,b=.5,w=m>1?"after":m<-1?"before":"none",x=Math.max(0,d-(1-b)*g),M=Math.max(0,v+b*g),p=n([x,d,v,M],t.getItemCount(t.data),r),y=babelHelpers.slicedToArray(p,4),C=y[0],O=y[1],L=y[2],R=y[3];C=null==C?0:C,O=null==O?Math.max(0,C):O,R=null==R?u-1:R,L=null==L?Math.min(R,O+l-1):L;for(var S={first:O,last:L},T=i(e,S);;){if(O<=C&&L>=R)break;var k=T>=l,B=O<=e.first||O>e.last,I=O>C&&(!k||!B),J=L>=e.last||L=O&&O>=0&&L=C&&L<=R&&O<=S.first&&L>=S.last))throw new Error("Bad window calculation "+JSON.stringify({first:O,last:L,itemCount:u,overscanFirst:C,overscanLast:R,visible:S}));return{first:O,last:L}}var f=e(25),l={computeWindowedRenderLimits:s,elementsThatOverlapOffsets:n,newRangeCount:i};r.exports=l},210); +__d(function(e,t,r,l){"use strict";var s=t(182),i=t(112),n=t(140),a=t(111),o=function(e){function t(){return babelHelpers.classCallCheck(this,t),babelHelpers.possibleConstructorReturn(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return babelHelpers.inherits(t,e),babelHelpers.createClass(t,[{key:"render",value:function(){var e=this.props,t=e.children,r=e.style,l=e.imageStyle,o=e.imageRef,b=babelHelpers.objectWithoutProperties(e,["children","style","imageStyle","imageRef"]);return i.createElement(a,{style:r},i.createElement(s,babelHelpers.extends({},b,{style:[n.absoluteFill,{width:r.width,height:r.height},l],ref:o})),t)}}]),t}(i.Component);r.exports=o},211); +__d(function(e,a,n,l){"use strict";var r=a(27).ImageEditingManager,t=function(){function e(){babelHelpers.classCallCheck(this,e)}return babelHelpers.createClass(e,null,[{key:"cropImage",value:function(e,a,n,l){r.cropImage(e,a,n,l)}}]),e}();n.exports=t},212); +__d(function(e,a,o,r){"use strict";var n=a(27).ImageStoreManager,g=function(){function e(){babelHelpers.classCallCheck(this,e)}return babelHelpers.createClass(e,null,[{key:"hasImageForTag",value:function(e,a){n.hasImageForTag?n.hasImageForTag(e,a):console.warn("hasImageForTag() not implemented")}},{key:"removeImageForTag",value:function(e){n.removeImageForTag?n.removeImageForTag(e):console.warn("removeImageForTag() not implemented")}},{key:"addImageFromBase64",value:function(e,a,o){n.addImageFromBase64(e,a,o)}},{key:"getBase64ForTag",value:function(e,a,o){n.getBase64ForTag(e,a,o)}}]),e}();o.exports=g},213); +__d(function(t,e,o,n){"use strict";var i=e(137),r=e(54),a=e(215),s=(e(35),e(19)),h=e(112),l=e(193),u=e(111),b=e(128),d="VIEW",c=i({displayName:"KeyboardAvoidingView",mixins:[l],propTypes:babelHelpers.extends({},b,{behavior:s.oneOf(["height","position","padding"]),contentContainerStyle:b.style,keyboardVerticalOffset:s.number.isRequired}),getDefaultProps:function(){return{keyboardVerticalOffset:0}},getInitialState:function(){return{bottom:0}},subscriptions:[],frame:null,relativeKeyboardHeight:function(t){var e=this.frame;if(!e||!t)return 0;var o=t.screenY-this.props.keyboardVerticalOffset;return Math.max(e.y+e.height-o,0)},onKeyboardChange:function(t){if(!t)return void this.setState({bottom:0});var e=t.duration,o=t.easing,n=t.endCoordinates,i=this.relativeKeyboardHeight(n);e&&o&&a.configureNext({duration:e,update:{duration:e,type:a.Types[o]||"keyboard"}}),this.setState({bottom:i})},onLayout:function(t){this.frame=t.nativeEvent.layout},componentWillUpdate:function(t,e,o){e.bottom===this.state.bottom&&"height"===this.props.behavior&&"height"===t.behavior&&(e.bottom=0)},componentWillMount:function(){this.subscriptions=[r.addListener("keyboardWillChangeFrame",this.onKeyboardChange)]},componentWillUnmount:function(){this.subscriptions.forEach(function(t){return t.remove()})},render:function(){var t=this.props,e=t.behavior,o=t.children,n=t.style,i=babelHelpers.objectWithoutProperties(t,["behavior","children","style"]);switch(e){case"height":var r=void 0;return this.frame&&(r={height:this.frame.height-this.state.bottom,flex:0}),h.createElement(u,babelHelpers.extends({ref:d,style:[n,r],onLayout:this.onLayout},i),o);case"position":var a={bottom:this.state.bottom},s=this.props.contentContainerStyle;return h.createElement(u,babelHelpers.extends({ref:d,style:n,onLayout:this.onLayout},i),h.createElement(u,{style:[s,a]},o));case"padding":var l={paddingBottom:this.state.bottom};return h.createElement(u,babelHelpers.extends({ref:d,style:[n,l],onLayout:this.onLayout},i),o);default:return h.createElement(u,babelHelpers.extends({ref:d,onLayout:this.onLayout,style:n},i),o)}}});o.exports=c},214); +__d(function(e,n,t,i){"use strict";function r(e,n,t){c({config:b},{config:e},n,t)}function a(e,n){s.configureNextLayoutAnimation(e,n||function(){},function(){})}function p(e,n,t){return{duration:e,create:{type:n,property:t},update:{type:n},delete:{type:n,property:t}}}var o=n(19),s=n(57),u=n(116),c=o.checkPropTypes,y={spring:!0,linear:!0,easeInEaseOut:!0,easeIn:!0,easeOut:!0,keyboard:!0},l=u(y),d={opacity:!0,scaleXY:!0},g=u(d),f=o.shape({duration:o.number,delay:o.number,springDamping:o.number,initialVelocity:o.number,type:o.oneOf(Object.keys(l)).isRequired,property:o.oneOf(Object.keys(g))}),b=o.shape({duration:o.number.isRequired,create:f,update:f,delete:f}),O={easeInEaseOut:p(300,l.easeInEaseOut,g.opacity),linear:p(500,l.linear,g.opacity),spring:{duration:700,create:{type:l.linear,property:g.opacity},update:{type:l.spring,springDamping:.4},delete:{type:l.linear,property:g.opacity}}},m={configureNext:a,create:p,Types:l,Properties:g,checkConfig:r,Presets:O,easeInEaseOut:a.bind(null,O.easeInEaseOut),linear:a.bind(null,O.linear),spring:a.bind(null,O.spring)};t.exports=m},215); +__d(function(e,t,n,r){"use strict";var o,s=(t(217),t(218)),a=(t(35),t(112)),i=t(19),p=t(140),l=t(111),c=t(120),u=t(138),d=u("RCTModalHostView",null),h=function(e){function t(e){babelHelpers.classCallCheck(this,t);var n=babelHelpers.possibleConstructorReturn(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return t._confirmProps(e),n}return babelHelpers.inherits(t,e),babelHelpers.createClass(t,[{key:"componentWillReceiveProps",value:function(e){t._confirmProps(e)}},{key:"render",value:function(){if(this.props.visible===!1)return null;var e={backgroundColor:this.props.transparent?"transparent":"white"},t=this.props.animationType;t||(t="none",this.props.animated&&(t="slide"));var n=this.props.presentationStyle;n||(n="fullScreen",this.props.transparent&&(n="overFullScreen"));var r=this.props.children;return a.createElement(d,{animationType:t,presentationStyle:n,transparent:this.props.transparent,hardwareAccelerated:this.props.hardwareAccelerated,onRequestClose:this.props.onRequestClose,onShow:this.props.onShow,style:b.modal,onStartShouldSetResponder:this._shouldSetResponder,supportedOrientations:this.props.supportedOrientations,onOrientationChange:this.props.onOrientationChange},a.createElement(l,{style:[b.container,e]},r))}},{key:"_shouldSetResponder",value:function(){return!0}}],[{key:"_confirmProps",value:function(e){e.presentationStyle&&"overFullScreen"!==e.presentationStyle&&e.transparent&&console.warn("Modal with '"+e.presentationStyle+"' presentation style and 'transparent' value is not supported.")}}]),t}(a.Component);h.propTypes={animationType:i.oneOf(["none","slide","fade"]),presentationStyle:i.oneOf(["fullScreen","pageSheet","formSheet","overFullScreen"]),transparent:i.bool,hardwareAccelerated:i.bool,visible:i.bool,onRequestClose:i.func,onShow:i.func,animated:c(i.bool,"Use the `animationType` prop instead."),supportedOrientations:i.arrayOf(i.oneOf(["portrait","portrait-upside-down","landscape","landscape-left","landscape-right"])),onOrientationChange:i.func},h.defaultProps={visible:!0,hardwareAccelerated:!1},h.contextTypes={rootTag:i.number};var f=s.isRTL?"right":"left",b=p.create({modal:{position:"absolute"},container:(o={position:"absolute"},babelHelpers.defineProperty(o,f,0),babelHelpers.defineProperty(o,"top",0),o)});n.exports=h},216); +__d(function(e,t,n,r){"use strict";var o=(t(49),t(19)),s=(t(47),t(112)),i=(t(65),t(140)),l=t(111),a=function(e){function t(){var e,n,r,o;babelHelpers.classCallCheck(this,t);for(var s=arguments.length,i=Array(s),l=0;lthis.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:t})},push:function(t){var e=this;k(!!t,"Must supply route to push"),this.state.requestedTopOfStack===this.state.observedTopOfStack&&this._tryLockNavigator(function(){var o=e.state.routeStack.concat([t]),s=e.state.idStack.concat([a()]);e.setState({idStack:s,routeStack:o,requestedTopOfStack:o.length-1,makingNavigatorRequest:!0,updatingAllIndicesAtOrBeyond:o.length-1})})},popN:function(t){var e=this;0!==t&&this.state.requestedTopOfStack===this.state.observedTopOfStack&&this.state.requestedTopOfStack>0&&this._tryLockNavigator(function(){var o=e.state.requestedTopOfStack-t;k(o>=0,"Cannot pop below 0"),e.setState({requestedTopOfStack:o,makingNavigatorRequest:!0,updatingAllIndicesAtOrBeyond:e.state.requestedTopOfStack-t})})},pop:function(){this.popN(1)},replaceAtIndex:function(t,e){if(k(!!t,"Must supply route to replace"),e<0&&(e+=this.state.routeStack.length),!(this.state.routeStack.length<=e)){var o=this.state.idStack.slice(),s=this.state.routeStack.slice();o[e]=a(),s[e]=t,this.setState({idStack:o,routeStack:s,makingNavigatorRequest:!1,updatingAllIndicesAtOrBeyond:e})}},replace:function(t){this.replaceAtIndex(t,-1)},replacePrevious:function(t){this.replaceAtIndex(t,-2)},popToTop:function(){this.popToRoute(this.state.routeStack[0])},popToRoute:function(t){var e=this.state.routeStack.indexOf(t);k(e!==-1,"Calling pop to route for a route that doesn't exist!");var o=this.state.routeStack.length-e-1;this.popN(o)},replacePreviousAndPop:function(t){var e=this;this.state.requestedTopOfStack===this.state.observedTopOfStack&&(this.state.routeStack.length<2||this._tryLockNavigator(function(){e.replacePrevious(t),e.setState({requestedTopOfStack:e.state.requestedTopOfStack-1,makingNavigatorRequest:!0})}))},resetTo:function(t){k(!!t,"Must supply route to push"),this.state.requestedTopOfStack===this.state.observedTopOfStack&&(this.replaceAtIndex(t,0),this.popToRoute(t))},_handleNavigationComplete:function(t){t.stopPropagation(),this._toFocusOnNavigationComplete&&(this._getFocusEmitter().emit("focus",this._toFocusOnNavigationComplete),this._toFocusOnNavigationComplete=null),this._handleNavigatorStackChanged(t)},_routeToStackItem:function(t,e){var o=t.component,s=t.wrapperStyle,a=t.passProps,i=babelHelpers.objectWithoutProperties(t,["component","wrapperStyle","passProps"]),n=this.props,r=n.itemWrapperStyle,u=babelHelpers.objectWithoutProperties(n,["itemWrapperStyle"]),p=null!=this.state.updatingAllIndicesAtOrBeyond&&this.state.updatingAllIndicesAtOrBeyond>=e,d=o;return c.createElement(l,{key:"nav"+e,shouldUpdate:p},c.createElement(E,babelHelpers.extends({},u,i,{style:[I.stackItem,r,s]}),c.createElement(d,babelHelpers.extends({navigator:this.navigator,route:i},a))))},_renderNavigationStackItems:function(){var t=this.state.makingNavigatorRequest||null!==this.state.updatingAllIndicesAtOrBeyond,e=t?this.state.routeStack.map(this._routeToStackItem):null;return c.createElement(l,{shouldUpdate:t},c.createElement(y,{ref:b,style:I.transitioner,vertical:this.props.vertical,requestedTopOfStack:this.state.requestedTopOfStack,onNavigationComplete:this._handleNavigationComplete,interactivePopGestureEnabled:this.props.interactivePopGestureEnabled},e))},_tvEventHandler:void 0,_enableTVEventHandler:function(){this._tvEventHandler=new h,this._tvEventHandler.enable(this,function(t,e){e&&"menu"===e.eventType&&t.pop()})},_disableTVEventHandler:function(){this._tvEventHandler&&(this._tvEventHandler.disable(),delete this._tvEventHandler)},render:function(){return c.createElement(v,{style:this.props.style},this._renderNavigationStackItems())}}),I=d.create({stackItem:{backgroundColor:"white",overflow:"hidden",position:"absolute",top:0,left:0,right:0,bottom:0},transitioner:{flex:1}}),C=T("RCTNavigator"),E=T("RCTNavItem");o.exports=N},219); +__d(function(e,t,r,n){"use strict";var l=t(112),s=function(e){function t(){return babelHelpers.classCallCheck(this,t),babelHelpers.possibleConstructorReturn(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return babelHelpers.inherits(t,e),babelHelpers.createClass(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.Children.only(e)}}]),t}(l.Component);r.exports=s},220); +__d(function(e,t,r,l){"use strict";var s=t(62),n=t(222),o=(t(223),t(35),t(112)),p=t(19),a=t(134),i=t(121),b=(t(139),t(128)),u=t(122),c=a(i),d=a(babelHelpers.extends({},u,{color:s})),h="dialog",f="dropdown",y=function(e){function t(){return babelHelpers.classCallCheck(this,t),babelHelpers.possibleConstructorReturn(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return babelHelpers.inherits(t,e),babelHelpers.createClass(t,[{key:"render",value:function(){throw null}}]),t}(o.Component);y.propTypes={label:p.string.isRequired,value:p.any,color:s,testID:p.string};var _=function(e){function t(){return babelHelpers.classCallCheck(this,t),babelHelpers.possibleConstructorReturn(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return babelHelpers.inherits(t,e),babelHelpers.createClass(t,[{key:"render",value:function(){return o.createElement(n,this.props,this.props.children)}}]),t}(o.Component);_.MODE_DIALOG=h,_.MODE_DROPDOWN=f,_.Item=y,_.defaultProps={mode:h},_.propTypes=babelHelpers.extends({},b,{style:d,selectedValue:p.any,onValueChange:p.func,enabled:p.bool,mode:p.oneOf(["dialog","dropdown"]),itemStyle:c,prompt:p.string,testID:p.string}),r.exports=_},221); +__d(function(e,t,n,s){"use strict";var r,i,o=t(64),a=t(112),l=t(19),p=t(140),c=t(134),u=t(121),h=t(111),d=t(128),v=t(123),f=t(137),m=c(u),y=t(138),C=f({displayName:"PickerIOS",mixins:[o],propTypes:babelHelpers.extends({},d,{itemStyle:m,onValueChange:l.func,selectedValue:l.any}),getInitialState:function(){return this._stateFromProps(this.props)},componentWillReceiveProps:function(e){this.setState(this._stateFromProps(e))},_stateFromProps:function(e){var t=0,n=[];return a.Children.toArray(e.children).forEach(function(s,r){s.props.value===e.selectedValue&&(t=r),n.push({value:s.props.value,label:s.props.label,textColor:v(s.props.color)})}),{selectedIndex:t,items:n}},render:function(){var e=this;return a.createElement(h,{style:this.props.style},a.createElement(g,{ref:function(t){return e._picker=t},style:[b.pickerIOS,this.props.itemStyle],items:this.state.items,selectedIndex:this.state.selectedIndex,onChange:this._onChange,onStartShouldSetResponder:function(){return!0},onResponderTerminationRequest:function(){return!1}}))},_onChange:function(e){this.props.onChange&&this.props.onChange(e),this.props.onValueChange&&this.props.onValueChange(e.nativeEvent.newValue,e.nativeEvent.newIndex),this._picker&&this.state.selectedIndex!==e.nativeEvent.newIndex&&this._picker.setNativeProps({selectedIndex:this.state.selectedIndex})}});C.Item=(i=r=function(e){function t(){return babelHelpers.classCallCheck(this,t),babelHelpers.possibleConstructorReturn(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return babelHelpers.inherits(t,e),babelHelpers.createClass(t,[{key:"render",value:function(){return null}}]),t}(a.Component),r.propTypes={value:l.any,label:l.string,color:l.string},i);var b=p.create({pickerIOS:{height:216}}),g=y("RCTPicker",{propTypes:{style:m}},{nativeOnly:{items:!0,onChange:!0,selectedIndex:!0}});n.exports=C},222); +__d(function(t,s,c,e){"use strict";c.exports=s(139)},223); +__d(function(t,s,c,e){"use strict";c.exports=s(139)},224); +__d(function(e,r,s,t){"use strict";var o=r(182),p=r(64),i=r(112),n=r(19),a=r(140),g=r(128),l=r(137),c=r(138),u=l({displayName:"ProgressViewIOS",mixins:[p],propTypes:babelHelpers.extends({},g,{progressViewStyle:n.oneOf(["default","bar"]),progress:n.number,progressTintColor:n.string,trackTintColor:n.string,progressImage:o.propTypes.source,trackImage:o.propTypes.source}),render:function(){return i.createElement(b,babelHelpers.extends({},this.props,{style:[y.progressView,this.props.style]}))}}),y=a.create({progressView:{height:2}}),b=c("RCTProgressView",u);s.exports=u},225); +__d(function(e,t,r,s){"use strict";var a=t(199),l=(t(35),t(112)),i=t(227),o=babelHelpers.extends({},i.defaultProps,{stickySectionHeadersEnabled:!0}),n=function(e){function t(){var e,r,s,a;babelHelpers.classCallCheck(this,t);for(var l=arguments.length,i=Array(l),o=0;o=a.data.length+1)){if(t===-1)return{section:a,key:o+":header",index:null,header:!0,trailingSection:this.props.sections[n+1]};if(t===a.data.length)return{section:a,key:o+":footer",index:null,header:!1,trailingSection:this.props.sections[n+1]};var i=a.keyExtractor||r;return{section:a,key:o+":"+i(a.data[t],t),index:t,leadingItem:a.data[t-1],leadingSection:this.props.sections[n-1],trailingItem:a.data[t+1],trailingSection:this.props.sections[n+1]}}t-=a.data.length+1}}},{key:"_getSeparatorComponent",value:function(e,t){if(t=t||this._subExtractor(e),!t)return null;var r=t.section.ItemSeparatorComponent||this.props.ItemSeparatorComponent,n=this.props.SectionSeparatorComponent,a=e===this.state.childProps.getItemCount()-1,o=t.index===t.section.data.length-1;return n&&o?n:!r||o||a?null:r}},{key:"_computeState",value:function(e){var t=e.ListHeaderComponent?1:0,r=[],n=e.sections.reduce(function(e,n){return r.push(e+t),e+n.data.length+2},0);return{childProps:babelHelpers.extends({},e,{renderItem:this._renderItem,ItemSeparatorComponent:void 0,data:e.sections,getItemCount:function(){return n},getItem:a,keyExtractor:this._keyExtractor,onViewableItemsChanged:e.onViewableItemsChanged?this._onViewableItemsChanged:void 0,stickyHeaderIndices:e.stickySectionHeadersEnabled?r:void 0})}}}]),babelHelpers.createClass(t,[{key:"componentWillReceiveProps",value:function(e){this.setState(this._computeState(e))}},{key:"render",value:function(){return o.createElement(s,babelHelpers.extends({},this.state.childProps,{ref:this._captureRef}))}}]),t}(o.PureComponent);p.defaultProps=babelHelpers.extends({},s.defaultProps,{data:[]});var c=function(e){function t(){var e,r,n,a;babelHelpers.classCallCheck(this,t);for(var o=arguments.length,i=Array(o),s=0;s0},_swipeFullSpeed:function(e){this.state.currentLeft.setValue(this._previousLeft+e.dx)},_swipeSlowSpeed:function(e){this.state.currentLeft.setValue(this._previousLeft+e.dx/R)},_isSwipingExcessivelyRightFromClosedPosition:function(e){var i=_?-e.dx:e.dx;return this._isSwipingRightFromClosed(e)&&i>C},_onPanResponderTerminationRequest:function(e,i){return!1},_animateTo:function(e){var i=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c;o.timing(this.state.currentLeft,{duration:n,toValue:e,useNativeDriver:!0}).start(function(){i._previousLeft=e,t()})},_animateToOpenPosition:function(){var e=_?-this.props.maxSwipeDistance:this.props.maxSwipeDistance;this._animateTo(-e)},_animateToOpenPositionWith:function(e,i){e=e>f?e:f;var n=Math.abs((this.props.maxSwipeDistance-Math.abs(i))/e),t=_?-this.props.maxSwipeDistance:this.props.maxSwipeDistance;this._animateTo(-t,n)},_animateToClosedPosition:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:S;this._animateTo(m,e)},_animateToClosedPositionDuringBounce:function(){this._animateToClosedPosition(T)},_animateBounceBack:function(e){var i=_?-g:g;this._animateTo(-i,e,this._animateToClosedPositionDuringBounce)},_isValidSwipe:function(e){return Math.abs(e.dx)>w},_shouldAnimateRemainder:function(e){return Math.abs(e.dx)>this.props.swipeThreshold||e.vx>f},_handlePanResponderEnd:function(e,i){var n=_?-i.dx:i.dx;this._isSwipingRightFromClosed(i)?(this.props.onOpen(),this._animateBounceBack(T)):this._shouldAnimateRemainder(i)?n<0?(this.props.onOpen(),this._animateToOpenPositionWith(i.vx,n)):(this.props.onClose(),this._animateToClosedPosition()):this._previousLeft===m?this._animateToClosedPosition():this._animateToOpenPosition(),this.props.onSwipeEnd()}}),O=u.create({slideOutContainer:{bottom:0,left:0,position:"absolute",right:0,top:0}});n.exports=x},235); +__d(function(e,n,o,t){"use strict";function r(e,n,o,t){e.handle&&(a.clearInteractionHandle(e.handle),e.handle=null),n&&n(o,t)}var a=n(173),u=n(237),s=u.currentCentroidXOfTouchesChangedAfter,d=u.currentCentroidYOfTouchesChangedAfter,i=u.previousCentroidXOfTouchesChangedAfter,c=u.previousCentroidYOfTouchesChangedAfter,p=u.currentCentroidX,v=u.currentCentroidY,h={_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,n){e.numberActiveTouches=n.numberActiveTouches,e.moveX=s(n,e._accountsForMovesUpTo),e.moveY=d(n,e._accountsForMovesUpTo);var o=e._accountsForMovesUpTo,t=i(n,o),r=s(n,o),a=c(n,o),u=d(n,o),p=e.dx+(r-t),v=e.dy+(u-a),h=n.mostRecentTimeStamp-e._accountsForMovesUpTo;e.vx=(p-e.dx)/h,e.vy=(v-e.dy)/h,e.dx=p,e.dy=v,e._accountsForMovesUpTo=n.mostRecentTimeStamp},create:function(e){var n={handle:null},o={stateID:Math.random()};h._initializeGestureState(o);var t={onStartShouldSetResponder:function(n){return void 0!==e.onStartShouldSetPanResponder&&e.onStartShouldSetPanResponder(n,o)},onMoveShouldSetResponder:function(n){return void 0!==e.onMoveShouldSetPanResponder&&e.onMoveShouldSetPanResponder(n,o)},onStartShouldSetResponderCapture:function(n){return 1===n.nativeEvent.touches.length&&h._initializeGestureState(o),o.numberActiveTouches=n.touchHistory.numberActiveTouches,void 0!==e.onStartShouldSetPanResponderCapture&&e.onStartShouldSetPanResponderCapture(n,o)},onMoveShouldSetResponderCapture:function(n){var t=n.touchHistory;return o._accountsForMovesUpTo!==t.mostRecentTimeStamp&&(h._updateGestureStateOnMove(o,t),!!e.onMoveShouldSetPanResponderCapture&&e.onMoveShouldSetPanResponderCapture(n,o))},onResponderGrant:function(t){return n.handle||(n.handle=a.createInteractionHandle()),o.x0=p(t.touchHistory),o.y0=v(t.touchHistory),o.dx=0,o.dy=0,e.onPanResponderGrant&&e.onPanResponderGrant(t,o),void 0===e.onShouldBlockNativeResponder||e.onShouldBlockNativeResponder()},onResponderReject:function(t){r(n,e.onPanResponderReject,t,o)},onResponderRelease:function(t){r(n,e.onPanResponderRelease,t,o),h._initializeGestureState(o)},onResponderStart:function(n){var t=n.touchHistory;o.numberActiveTouches=t.numberActiveTouches,e.onPanResponderStart&&e.onPanResponderStart(n,o)},onResponderMove:function(n){var t=n.touchHistory;o._accountsForMovesUpTo!==t.mostRecentTimeStamp&&(h._updateGestureStateOnMove(o,t),e.onPanResponderMove&&e.onPanResponderMove(n,o))},onResponderEnd:function(t){var a=t.touchHistory;o.numberActiveTouches=a.numberActiveTouches,r(n,e.onPanResponderEnd,t,o)},onResponderTerminate:function(t){r(n,e.onPanResponderTerminate,t,o),h._initializeGestureState(o)},onResponderTerminationRequest:function(n){return void 0===e.onPanResponderTerminationRequest||e.onPanResponderTerminationRequest(n,o)}};return{panHandlers:t,getInteractionHandle:function(){return n.handle}}}};o.exports=h},236); +__d(function(_,t,E,o){"use strict";var r=t(65),s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;E.exports=s.TouchHistoryMath},237); +__d(function(t,e,o,r){"use strict";var s=e(62),n=e(112),l=e(19),i=e(140),p=e(239),a=e(128),c=e(138),u=function(t){function e(){return babelHelpers.classCallCheck(this,e),babelHelpers.possibleConstructorReturn(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return babelHelpers.inherits(e,t),babelHelpers.createClass(e,[{key:"render",value:function(){return n.createElement(C,{style:[b.tabGroup,this.props.style],unselectedTintColor:this.props.unselectedTintColor,unselectedItemTintColor:this.props.unselectedItemTintColor,tintColor:this.props.tintColor,barTintColor:this.props.barTintColor,itemPositioning:this.props.itemPositioning,translucent:this.props.translucent!==!1},this.props.children)}}]),e}(n.Component);u.Item=p,u.propTypes=babelHelpers.extends({},a,{style:a.style,unselectedTintColor:s,tintColor:s,unselectedItemTintColor:s,barTintColor:s,translucent:l.bool,itemPositioning:l.oneOf(["fill","center","auto"])});var b=i.create({tabGroup:{flex:1}}),C=c("RCTTabBar",u);o.exports=u},238); +__d(function(e,t,s,r){"use strict";var o=t(62),l=t(182),n=t(112),a=t(19),c=t(220),i=t(140),p=t(111),b=t(128),u=t(138),d=function(e){function t(){var e,s,r,o;babelHelpers.classCallCheck(this,t);for(var l=arguments.length,n=Array(l),a=0;a=1&&(n=l.createElement(d,{style:t.style},n)),t.inputView&&(n=[n,t.inputView]),t.style.unshift(F.multilineInput),e=l.createElement(S,babelHelpers.extends({ref:this._setNativeRef},t,{children:n,onFocus:this._onFocus,onBlur:this._onBlur,onChange:this._onChange,onContentSizeChange:this.props.onContentSizeChange,onSelectionChange:this._onSelectionChange,onTextInput:this._onTextInput,onSelectionChangeShouldSetResponder:y.thatReturnsTrue,text:this._getText(),dataDetectorTypes:this.props.dataDetectorTypes,onScroll:this._onScroll}))}else e=l.createElement(m,babelHelpers.extends({ref:this._setNativeRef},t,{onFocus:this._onFocus,onBlur:this._onBlur,onChange:this._onChange,onSelectionChange:this._onSelectionChange,onSelectionChangeShouldSetResponder:y.thatReturnsTrue,text:this._getText()}));return l.createElement(v,{onLayout:t.onLayout,onPress:this._onPress,rejectResponderTermination:!0,accessible:t.accessible,accessibilityLabel:t.accessibilityLabel,accessibilityTraits:t.accessibilityTraits,nativeID:this.props.nativeID,testID:t.testID},e)},_renderAndroid:function(){var e=babelHelpers.extends({},this.props);e.style=[this.props.style],e.autoCapitalize=_.AndroidTextInput.Constants.AutoCapitalizationType[this.props.autoCapitalize];var t=this.props.children,n=0;l.Children.forEach(t,function(){return++n}),C(!(this.props.value&&n),"Cannot specify both value and children."),n>1&&(t=l.createElement(d,null,t)),e.selection&&null==e.selection.end&&(e.selection={start:e.selection.start,end:e.selection.start});var s=l.createElement(AndroidTextInput,babelHelpers.extends({ref:this._setNativeRef},e,{mostRecentEventCount:0,onFocus:this._onFocus,onBlur:this._onBlur,onChange:this._onChange,onSelectionChange:this._onSelectionChange,onTextInput:this._onTextInput,text:this._getText(),children:t,disableFullscreenUI:this.props.disableFullscreenUI,textBreakStrategy:this.props.textBreakStrategy,onScroll:this._onScroll}));return l.createElement(v,{onLayout:this.props.onLayout,onPress:this._onPress,accessible:this.props.accessible,accessibilityLabel:this.props.accessibilityLabel,accessibilityComponentType:this.props.accessibilityComponentType,nativeID:this.props.nativeID,testID:this.props.testID},s)},_onFocus:function(e){this.props.onFocus&&this.props.onFocus(e),this.props.selectionState&&this.props.selectionState.focus()},_onPress:function(e){(this.props.editable||void 0===this.props.editable)&&this.focus()},_onChange:function(e){this._inputRef&&this._inputRef.setNativeProps({mostRecentEventCount:e.nativeEvent.eventCount});var t=e.nativeEvent.text;this.props.onChange&&this.props.onChange(e),this.props.onChangeText&&this.props.onChangeText(t),this._inputRef&&(this._lastNativeText=t,this.forceUpdate())},_onSelectionChange:function(e){this.props.onSelectionChange&&this.props.onSelectionChange(e),this._inputRef&&(this._lastNativeSelection=e.nativeEvent.selection,(this.props.selection||this.props.selectionState)&&this.forceUpdate())},componentDidUpdate:function(){var e={};this._lastNativeText!==this.props.value&&"string"==typeof this.props.value&&(e.text=this.props.value);var t=this.props.selection;this._lastNativeSelection&&t&&(this._lastNativeSelection.start!==t.start||this._lastNativeSelection.end!==t.end)&&(e.selection=this.props.selection),Object.keys(e).length>0&&this._inputRef&&this._inputRef.setNativeProps(e),this.props.selectionState&&t&&this.props.selectionState.update(t.start,t.end)},_onBlur:function(e){this.blur(),this.props.onBlur&&this.props.onBlur(e),this.props.selectionState&&this.props.selectionState.blur()},_onTextInput:function(e){this.props.onTextInput&&this.props.onTextInput(e)},_onScroll:function(e){this.props.onScroll&&this.props.onScroll(e)}}),F=h.create({multilineInput:{paddingTop:5}});n.exports=I},240); +__d(function(s,t,e,f){"use strict";var u=t(242),h=function(){function s(t,e){babelHelpers.classCallCheck(this,s),this._anchorOffset=t,this._focusOffset=e,this._hasFocus=!1}return babelHelpers.createClass(s,[{key:"update",value:function(s,t){this._anchorOffset===s&&this._focusOffset===t||(this._anchorOffset=s,this._focusOffset=t,this.emit("update"))}},{key:"constrainLength",value:function(s){this.update(Math.min(this._anchorOffset,s),Math.min(this._focusOffset,s))}},{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(s,t){return this.hasFocus()&&this.getStartOffset()<=t&&s<=this.getEndOffset()}}]),s}();u(h,{blur:!0,focus:!0,update:!0}),e.exports=h},241); +__d(function(e,t,n,i){"use strict";function r(e,t){a(t,"Must supply set of valid event types");var n=e.prototype||e;a(!n.__eventEmitter,"An active emitter is already mixed in");var i=e.constructor;i&&a(i===Object||i===Function,"Mix EventEmitter into a class, not an instance"),n.hasOwnProperty(E)?babelHelpers.extends(n.__types,t):n.__types?n.__types=babelHelpers.extends({},n.__types,t):n.__types=t,babelHelpers.extends(n,d)}var s=t(48),_=t(243),o=t(244),a=t(25),v=t(245),E=v({__types:!0}),d={emit:function(e,t,n,i,r,s,_){return this.__getEventEmitter().emit(e,t,n,i,r,s,_)},emitAndHold:function(e,t,n,i,r,s,_){return this.__getEventEmitter().emitAndHold(e,t,n,i,r,s,_)},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 s,t=new o;this.__eventEmitter=new _(e,t)}return this.__eventEmitter}};n.exports=r},242); +__d(function(e,t,n,r){"use strict";var i=function(){function e(t,n){babelHelpers.classCallCheck(this,e),this._emitter=t,this._eventHolder=n,this._currentEventToken=null,this._emittingHeldEvents=!1}return babelHelpers.createClass(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){for(var t,n=arguments.length,r=Array(n>1?n-1:0),i=1;i1?r-1:0),s=1;s1?r-1:0),i=1;i=a.length)break;l=a[n++]}else{if(n=a.next(),n.done)break;l=n.value}var u=l,c=babelHelpers.slicedToArray(u,2),s=c[0],f=c[1];t[s]=f()}for(var d={},b=e._fileSources,y=Array.isArray(b),_=0,b=y?b:b["function"==typeof Symbol?Symbol.iterator:"@@iterator"]();;){var v;if(y){if(_>=b.length)break;v=b[_++]}else{if(_=b.next(),_.done)break;v=_.value}var S=v,p=babelHelpers.slicedToArray(S,2),x=p[0],k=p[1];d[x]=k()}i("BugReporting extraData:",t);var m=r(27).BugReporting;return m&&m.setExtraData&&m.setExtraData(t,d),{extras:t,files:d}}}]),e}();u._extraSources=new l,u._fileSources=new l,u._subscription=null,t.exports=u},255); +__d(function(e,t,r,i){"use strict";function n(){try{return u()}catch(e){return"Failed to dump react tree: "+e}}function u(){return"React tree dumps have been temporarily disabled while React is upgraded to Fiber."}r.exports=n},256); +__d(function(e,n,t,c){"use strict";var r=[],u={name:"default"},i={setActiveScene:function(e){u=e,r.forEach(function(e){return e(u)})},getActiveScene:function(){return u},addActiveSceneChangedListener:function(e){return r.push(e),{remove:function(){r=r.filter(function(n){return e!==n})}}}};t.exports=i},257); +__d(function(e,t,o,r){"use strict";function a(e,t,o,r){s(o,"Expect to have a valid rootTag, instead got ",o),p.render(c.createElement(n,{rootTag:o,WrapperComponent:r},c.createElement(e,babelHelpers.extends({},t,{rootTag:o}))),o)}var n=t(217),c=t(112),p=t(65),s=t(25);t(259),o.exports=a},258); +__d(function(e,n,t,r){"use strict";function i(){}var o=n(35),v=n(166),s=void 0;if(o.isTVOS){var u=new v,a=new Set;u.enable(this,function(e,n){if(n&&"menu"===n.eventType){for(var t=new Set(a),r=!0,i=[].concat(babelHelpers.toConsumableArray(t)).reverse(),o=0;o=0&&(s="video"),a.saveToCameraRoll(e,s)}},{key:"getPhotos",value:function(e){if(arguments.length>1){console.warn("CameraRoll.getPhotos(tag, success, error) is deprecated. Use the returned Promise instead");var r=arguments[1],s=arguments[2]||function(){};a.getPhotos(e).then(r,s)}return a.getPhotos(e)}}]),e}());d.GroupTypesOptions=l,d.AssetTypeOptions=u,s.exports=d},262); +__d(function(t,n,r,i){"use strict";var e=n(27).Clipboard;r.exports={getString:function(){return e.getString()},setString:function(t){e.setString(t)}}},263); +__d(function(e,r,t,n){"use strict";var s={open:function(e){return regeneratorRuntime.async(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.reject({message:"DatePickerAndroid is not supported on this platform."}));case 1:case"end":return e.stop()}},null,this)}};t.exports=s},264); +__d(function(e,n,o,a){"use strict";var r=n(27).ImagePickerIOS,t={canRecordVideos:function(e){return r.canRecordVideos(e)},canUseCamera:function(e){return r.canUseCamera(e)},openCameraDialog:function(e,n,o){return e=babelHelpers.extends({videoMode:!1},e),r.openCameraDialog(e,n,o)},openSelectDialog:function(e,n,o){return e=babelHelpers.extends({showImages:!0,showVideos:!1},e),r.openSelectDialog(e,n,o)}};o.exports=t},265); +__d(function(e,t,n,i){"use strict";var a=t(53),r=t(27),s=(t(35),t(25)),l=r.LinkingManager,o=function(e){function t(){return babelHelpers.classCallCheck(this,t),babelHelpers.possibleConstructorReturn(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,l))}return babelHelpers.inherits(t,e),babelHelpers.createClass(t,[{key:"addEventListener",value:function(e,t){this.addListener(e,t)}},{key:"removeEventListener",value:function(e,t){this.removeListener(e,t)}},{key:"openURL",value:function(e){return this._validateURL(e),l.openURL(e)}},{key:"canOpenURL",value:function(e){return this._validateURL(e),l.canOpenURL(e)}},{key:"getInitialURL",value:function(){return l.getInitialURL()}},{key:"_validateURL",value:function(e){s("string"==typeof e,"Invalid URL: should be a string. Was: "+e),s(e,"Invalid URL: cannot be empty")}}]),t}(a);n.exports=new o},266); +__d(function(e,n,t,r){"use strict";var o=n(73),i=n(53),u=n(27),v=(n(35),u.NetInfo),c=new i(v),f="networkStatusDidChange",s=new o,d=void 0;d=function(e){return"none"!==e&&"unknown"!==e};var a=new o,E={addEventListener:function(e,n){var t=c.addListener(f,function(e){n(e.network_info)});return s.set(n,t),{remove:function(){return E.removeEventListener(e,n)}}},removeEventListener:function(e,n){var t=s.get(n);t&&(t.remove(),s.delete(n))},fetch:function(){return v.getCurrentConnectivity().then(function(e){return e.network_info})},isConnected:{addEventListener:function(e,n){var t=function(e){n(d(e))};return a.set(n,t),E.addEventListener(e,t),{remove:function(){return E.isConnected.removeEventListener(e,n)}}},removeEventListener:function(e,n){var t=a.get(n);E.removeEventListener(e,t),a.delete(n)},fetch:function(){return E.fetch().then(function(e){return d(e)})}},isConnectionExpensive:function(){return Promise.reject(new Error("Currently not supported on iOS"))}};t.exports=E},267); +__d(function(e,t,i,o){"use strict";var n=t(53),a=t(27).PushNotificationManager,c=t(25),r=new n(a),l=new Map,s="remoteNotificationReceived",u="remoteNotificationsRegistered",f="remoteNotificationRegistrationError",d="localNotificationReceived",v=function(){function e(t){var i=this;babelHelpers.classCallCheck(this,e),this._data={},this._remoteNotificationCompleteCalllbackCalled=!1,this._isRemote=t.remote,this._isRemote&&(this._notificationId=t.notificationId),t.remote?Object.keys(t).forEach(function(e){var o=t[e];"aps"===e?(i._alert=o.alert,i._sound=o.sound,i._badgeCount=o.badge,i._category=o.category,i._contentAvailable=o["content-available"]):i._data[e]=o}):(this._badgeCount=t.applicationIconBadgeNumber,this._sound=t.soundName,this._alert=t.alertBody,this._data=t.userInfo,this._category=t.category)}return babelHelpers.createClass(e,null,[{key:"presentLocalNotification",value:function(e){a.presentLocalNotification(e)}},{key:"scheduleLocalNotification",value:function(e){a.scheduleLocalNotification(e)}},{key:"cancelAllLocalNotifications",value:function(){a.cancelAllLocalNotifications()}},{key:"removeAllDeliveredNotifications",value:function(){a.removeAllDeliveredNotifications()}},{key:"getDeliveredNotifications",value:function(e){a.getDeliveredNotifications(e)}},{key:"removeDeliveredNotifications",value:function(e){a.removeDeliveredNotifications(e)}},{key:"setApplicationIconBadgeNumber",value:function(e){a.setApplicationIconBadgeNumber(e)}},{key:"getApplicationIconBadgeNumber",value:function(e){a.getApplicationIconBadgeNumber(e)}},{key:"cancelLocalNotifications",value:function(e){a.cancelLocalNotifications(e)}},{key:"getScheduledLocalNotifications",value:function(e){a.getScheduledLocalNotifications(e)}},{key:"addEventListener",value:function(t,i){c("notification"===t||"register"===t||"registrationError"===t||"localNotification"===t,"PushNotificationIOS only supports `notification`, `register`, `registrationError`, and `localNotification` events");var o;"notification"===t?o=r.addListener(s,function(t){i(new e(t))}):"localNotification"===t?o=r.addListener(d,function(t){i(new e(t))}):"register"===t?o=r.addListener(u,function(e){i(e.deviceToken)}):"registrationError"===t&&(o=r.addListener(f,function(e){i(e)})),l.set(t,o)}},{key:"removeEventListener",value:function(e,t){c("notification"===e||"register"===e||"registrationError"===e||"localNotification"===e,"PushNotificationIOS only supports `notification`, `register`, `registrationError`, and `localNotification` events");var i=l.get(e);i&&(i.remove(),l.delete(e))}},{key:"requestPermissions",value:function(e){var t={};return t=e?{alert:!!e.alert,badge:!!e.badge,sound:!!e.sound}:{alert:!0,badge:!0,sound:!0},a.requestPermissions(t)}},{key:"abandonPermissions",value:function(){a.abandonPermissions()}},{key:"checkPermissions",value:function(e){c("function"==typeof e,"Must provide a valid callback"),a.checkPermissions(e)}},{key:"getInitialNotification",value:function(){return a.getInitialNotification().then(function(t){return t&&new e(t)})}}]),babelHelpers.createClass(e,[{key:"finish",value:function(e){this._isRemote&&this._notificationId&&!this._remoteNotificationCompleteCalllbackCalled&&(this._remoteNotificationCompleteCalllbackCalled=!0,a.onFinishRemoteNotification(this._notificationId,e))}},{key:"getMessage",value:function(){return this._alert}},{key:"getSound",value:function(){return this._sound}},{key:"getCategory",value:function(){return this._category}},{key:"getAlert",value:function(){return this._alert}},{key:"getContentAvailable",value:function(){return this._contentAvailable}},{key:"getBadgeCount",value:function(){return this._badgeCount}},{key:"getData",value:function(){return this._data}}]),e}();v.FetchResult={NewData:"UIBackgroundFetchResultNewData",NoData:"UIBackgroundFetchResultNoData",ResultFailed:"UIBackgroundFetchResultFailed"},i.exports=v},268); +__d(function(t,s,e,n){"use strict";var i=s(47),a=s(27).SettingsManager,r=s(25),c=[],l={_settings:a&&a.settings,get:function(t){return this._settings[t]},set:function(t){this._settings=babelHelpers.extends(this._settings,t),a.setValues(t)},watchKeys:function(t,s){"string"==typeof t&&(t=[t]),r(Array.isArray(t),"keys should be a string or array of strings");var e=c.length;return c.push({keys:t,callback:s}),e},clearWatch:function(t){t1&&void 0!==arguments[1]?arguments[1]:{};return o("object"==typeof e&&null!==e,"Content to share must be a valid object"),o("string"==typeof e.url||"string"==typeof e.message,"At least one of URL and message is required"),o("object"==typeof t&&null!==t,"Options must be a valid object"),new Promise(function(n,i){a.showShareActionSheetWithOptions(babelHelpers.extends({},e,t,{tintColor:s(t.tintColor)}),function(e){return i(e)},function(e,t){n(e?{action:"sharedAction",activityType:t}:{action:"dismissedAction"})})})}},{key:"sharedAction",get:function(){return"sharedAction"}},{key:"dismissedAction",get:function(){return"dismissedAction"}}]),e}());n.exports=c},270); +__d(function(e,r,t,n){"use strict";var s={open:function(e){return regeneratorRuntime.async(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.reject({message:"TimePickerAndroid is not supported on this platform."}));case 1:case"end":return e.stop()}},null,this)}};t.exports=s},271); +__d(function(i,r,t,n){"use strict";function e(i){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!a)return a=!0,0===i[0]&&(u.vibrate(),i=i.slice(1)),0===i.length?void(a=!1):void setTimeout(function(){return o(++f,i,r,1)},i[0])}function o(i,r,t,n){if(a&&i===f){if(u.vibrate(),n>=r.length){if(!t)return void(a=!1);n=0}setTimeout(function(){return o(i,r,t,n+1)},r[n])}}var u=r(27).Vibration,a=(r(35),!1),f=0,v={vibrate:function(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:400,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!a)if("number"==typeof i)u.vibrate();else{if(!Array.isArray(i))throw new Error("Vibration pattern should be a number or array");e(i,r)}},cancel:function(){a=!1}};t.exports=v},272); +__d(function(t,i,r,n){"use strict";var o=i(27).Vibration,a=i(25),e={vibrate:function(){a(void 0===arguments[0],"Vibration patterns not supported."),o.vibrate()}};r.exports=e},273); +__d(function(_,t,E,s){"use strict";var O=t(65),R=O.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;E.exports=R.takeSnapshot},274); +__d(function(e,t,l,a){Object.defineProperty(a,"__esModule",{value:!0});var r=t(12),n=babelHelpers.interopRequireDefault(r),i=t(276),s=babelHelpers.interopRequireDefault(i),o=t(24),u=t(283),p=t(522),c=babelHelpers.interopRequireDefault(p),f=t(524),m=babelHelpers.interopRequireDefault(f),d=t(523),b=babelHelpers.interopRequireDefault(d),h=t(525),x=t(526),E=babelHelpers.interopRequireDefault(x),y=t(528),v=babelHelpers.interopRequireDefault(y),w=t(532),R=babelHelpers.interopRequireDefault(w),k=t(533),C=babelHelpers.interopRequireDefault(k),H=t(534),g=babelHelpers.interopRequireDefault(H),D=t(536),q=babelHelpers.interopRequireDefault(D),S=t(537),I=babelHelpers.interopRequireDefault(S),L=t(538),P=babelHelpers.interopRequireDefault(L),T=t(539),_=babelHelpers.interopRequireDefault(T),B=t(540),A=babelHelpers.interopRequireDefault(B),M=o.StyleSheet.create({header:{marginTop:48,fontSize:24,textAlign:"center"},exampleList:{flex:1,marginTop:72},exampleListItemBorder:{borderBottomWidth:o.StyleSheet.hairlineWidth,borderBottomColor:"#ccc"},exampleListItem:{paddingVertical:32,paddingHorizontal:16,flexDirection:"row",justifyContent:"space-between"},exampleListLabel:{fontSize:18},exampleBackground:{flex:1,backgroundColor:b.default.primary.pinkFaint}}),V=function e(t,l){babelHelpers.classCallCheck(this,e),this.label=t,this.Component=l},O=[new V("Show Map",v.default),new V("Set Pitch",R.default),new V("Set Bearing",C.default),new V("Show Click",g.default),new V("Fly To",q.default),new V("Fit Bounds",I.default),new V("Set User Tracking Modes",P.default),new V("Show Region Did Change",_.default),new V("Yo Yo Camera",A.default)],F=function(e){function t(e){babelHelpers.classCallCheck(this,t);var l=babelHelpers.possibleConstructorReturn(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return l.state={activeExample:-1},l.renderItem=l.renderItem.bind(l),l.onCloseExample=l.onCloseExample.bind(l),l}return babelHelpers.inherits(t,e),babelHelpers.createClass(t,[{key:"componentWillMount",value:function(){return regeneratorRuntime.async(function(e){for(;;)switch(e.prev=e.next){case 0:if(!h.IS_ANDROID){e.next=3;break}return e.next=3,regeneratorRuntime.awrap(s.default.requestPermissions());case 3:s.default.setAccessToken(E.default.get("accessToken"));case 4:case"end":return e.stop()}},null,this)}},{key:"getActiveItem",value:function(){return this.state.activeExample<0||this.state.activeExample>=O.length?null:O[this.state.activeExample]}},{key:"onExamplePress",value:function(e){this.setState({activeExample:e})}},{key:"onCloseExample",value:function(){this.setState({activeExample:-1})}},{key:"renderItem",value:function(e){var t=this,l=e.item,a=e.index;return n.default.createElement(o.View,{style:M.exampleListItemBorder},n.default.createElement(o.TouchableOpacity,{onPress:function(){return t.onExamplePress(a)}},n.default.createElement(o.View,{style:M.exampleListItem},n.default.createElement(o.Text,{style:M.exampleListLabel},l.label),n.default.createElement(u.Icon,{name:"keyboard-arrow-right"}))))}},{key:"renderActiveExample",value:function(){var e=this.getActiveItem(),t={visible:!!e,transparent:!0,animationType:"slide",onRequestClose:this.onCloseExample};return n.default.createElement(o.Modal,t,n.default.createElement(o.View,{style:M.exampleBackground},t.visible?n.default.createElement(e.Component,{key:e.label,label:e.label,onDismissExample:this.onCloseExample}):null))}},{key:"render",value:function(){return n.default.createElement(o.View,{style:m.default.matchParent},n.default.createElement(c.default,{label:"React Native Mapbox GL"}),n.default.createElement(o.View,{style:m.default.matchParent},n.default.createElement(o.FlatList,{style:M.exampleList,data:O,keyExtractor:function(e){return e.label},renderItem:this.renderItem})),this.renderActiveExample())}}]),t}(n.default.Component);a.default=F},275); +__d(function(e,l,r,a){Object.defineProperty(a,"__esModule",{value:!0});var t=l(24),u=l(277),i=babelHelpers.interopRequireWildcard(u),d=l(279),o=babelHelpers.interopRequireDefault(d),b=l(281),p=babelHelpers.interopRequireDefault(b),f=l(282),s=babelHelpers.interopRequireDefault(f),n=babelHelpers.extends({},t.NativeModules.MGLModule);n.MapView=o.default,n.VectorSource=p.default,n.FillLayer=s.default,n.geoUtils=i,a.default=n},276); +__d(function(e,t,n,u){function o(e){return l.default.point(e)}function a(e,t){return l.default.featureCollection([l.default.point(e),l.default.point(t)])}Object.defineProperty(u,"__esModule",{value:!0}),u.makePoint=o,u.makeLatLngBounds=a;var i=t(278),l=babelHelpers.interopRequireDefault(i)},277); +__d(function(r,e,o,t){function n(r,e,o,t){if(void 0===r)throw new Error("geometry is required");if(e&&e.constructor!==Object)throw new Error("properties must be an Object");var n={type:"Feature",properties:e||{},geometry:r};if(o){if(4!==o.length)throw new Error("bbox must be an Array of 4 numbers");n.bbox=o}return t&&(n.id=t),n}function i(r,e,o){if(!r)throw new Error("type is required");if(!e)throw new Error("coordinates is required");if(!Array.isArray(e))throw new Error("coordinates must be an Array");var t;switch(r){case"Point":t=s(e).geometry;break;case"LineString":t=u(e).geometry;break;case"Polygon":t=a(e).geometry;break;case"MultiPoint":t=f(e).geometry;break;case"MultiLineString":t=l(e).geometry;break;case"MultiPolygon":t=d(e).geometry;break;default:throw new Error(r+" is invalid")}if(o){if(4!==o.length)throw new Error("bbox must be an Array of 4 numbers");t.bbox=o}return t}function s(r,e,o,t){if(!r)throw new Error("No coordinates passed");if(void 0===r.length)throw new Error("Coordinates must be an array");if(r.length<2)throw new Error("Coordinates must be at least 2 numbers long");if("number"!=typeof r[0]||"number"!=typeof r[1])throw new Error("Coordinates must contain numbers");return n({type:"Point",coordinates:r},e,o,t)}function a(r,e,o,t){if(!r)throw new Error("No coordinates passed");for(var i=0;i=0))throw new Error("precision must be a positive number");var o=Math.pow(10,e||0);return Math.round(r*o)/o}function h(r,e){if(void 0===r||null===r)throw new Error("radians is required");var o=k[e||"kilometers"];if(!o)throw new Error("units is invalid");return r*o}function g(r,e){if(void 0===r||null===r)throw new Error("distance is required");var o=k[e||"kilometers"];if(!o)throw new Error("units is invalid");return r/o}function y(r,e){return E(g(r,e))}function b(r){if(null===r||void 0===r)throw new Error("bearing is required");var e=r%360;return e<0&&(e+=360),e}function E(r){if(null===r||void 0===r)throw new Error("radians is required");var e=r%(2*Math.PI);return 180*e/Math.PI}function v(r){if(null===r||void 0===r)throw new Error("degrees is required");var e=r%360;return e*Math.PI/180}function p(r,e,o){if(null===r||void 0===r)throw new Error("distance is required");if(!(r>=0))throw new Error("distance must be a positive number");var t=h(g(r,e),o||"kilometers");return t}function P(r,e,o){if(null===r||void 0===r)throw new Error("area is required");if(!(r>=0))throw new Error("area must be a positive number");var t=q[e||"meters"];if(!t)throw new Error("invalid original units");var n=q[o||"kilometers"];if(!n)throw new Error("invalid final units");return r/t*n}var k={miles:3960,nauticalmiles:3441.145,degrees:57.2957795,radians:1,inches:250905600,yards:6969600,meters:6373e3,metres:6373e3,centimeters:6373e5,centimetres:6373e5,kilometers:6373,kilometres:6373,feet:20908792.65},q={kilometers:1e-6,kilometres:1e-6,meters:1,metres:1,centimetres:1e4,millimeter:1e6,acres:247105e-9,miles:3.86e-7,yards:1.195990046,feet:10.763910417,inches:1550.003100006};o.exports={feature:n,geometry:i,featureCollection:w,geometryCollection:c,point:s,multiPoint:f,lineString:u,multiLineString:l,polygon:a,multiPolygon:d,radiansToDistance:h,distanceToRadians:g,distanceToDegrees:y,radians2degrees:E,degrees2radians:v,bearingToAngle:b,convertDistance:p,convertArea:P,round:m}},278); +__d(function(e,n,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.NATIVE_MODULE_NAME=void 0;var o=n(12),t=babelHelpers.interopRequireDefault(o),r=n(19),s=babelHelpers.interopRequireDefault(r),l=n(24),d=n(277),u=n(280),p=l.NativeModules.MGLModule,h=i.NATIVE_MODULE_NAME="RCTMGLMapView",g=(0,l.requireNativeComponent)(h,f,{nativeOnly:{onMapChange:!0}}),f=function(e){function n(e){babelHelpers.classCallCheck(this,n);var a=babelHelpers.possibleConstructorReturn(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return a._onPress=a._onPress.bind(a),a._onLongPress=a._onLongPress.bind(a),a._onChange=a._onChange.bind(a),a}return babelHelpers.inherits(n,e),babelHelpers.createClass(n,[{key:"fitBounds",value:function(e,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:2e3;this._nativeRef&&this.setCamera({bounds:{ne:e,sw:n,padding:a},duration:i,mode:p.CameraModes.Flight})}},{key:"flyTo",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2e3;this._nativeRef&&this.setCamera({centerCoordinate:e,duration:n,mode:p.CameraModes.Flight})}},{key:"zoomTo",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2e3;this._nativeRef&&this.setCamera({zoom:e,duration:n,mode:p.CameraModes.Flight})}},{key:"setCamera",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this._nativeRef){var n={};if(e.stops){n.stops=[];for(var a=e.stops,i=Array.isArray(a),o=0,a=i?a:a["function"==typeof Symbol?Symbol.iterator:"@@iterator"]();;){var t;if(i){if(o>=a.length)break;t=a[o++]}else{if(o=a.next(),o.done)break;t=o.value}var r=t;n.stops.push(this._createStopConfig(r))}}else n=this._createStopConfig(e);(0,u.runNativeCommand)(h,"setCamera",this._nativeRef,[n])}}},{key:"_createStopConfig",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n={mode:(0,u.isNumber)(e.mode)?e.mode:p.CameraModes.Ease,pitch:e.pitch,heading:e.heading,duration:e.duration||2e3,zoom:e.zoom};if(e.centerCoordinate&&(n.centerCoordinate=(0,u.toJSONString)((0,d.makePoint)(e.centerCoordinate))),e.bounds&&e.bounds.ne&&e.bounds.sw){var a=e.bounds,i=a.ne,o=a.sw,t=a.padding;n.bounds=(0,u.toJSONString)((0,d.makeLatLngBounds)(i,o)),n.boundsPadding=t}return n}},{key:"_onPress",value:function(e){(0,u.isFunction)(this.props.onPress)&&this.props.onPress(e.nativeEvent.payload)}},{key:"_onLongPress",value:function(e){(0,u.isFunction)(this.props.onLongPress)&&this.props.onLongPress(e.nativeEvent.payload)}},{key:"_onChange",value:function(e){var n=e.nativeEvent,a=n.type,i=n.payload,o="";switch(a){case p.EventTypes.RegionWillChange:o="onRegionWillChange";break;case p.EventTypes.RegionIsChanging:o="onRegionIsChanging";break;case p.EventTypes.RegionDidChange:o="onRegionDidChange";break;case p.EventTypes.WillStartLoadinMap:o="onWillStartLoadingMap";break;case p.EventTypes.DidFinishLoadingMap:o="onDidFinishLoadingMap";break;case p.EventTypes.DidFailLoadingMap:o="onDidFailLoadingMap";break;case p.EventTypes.WillStartRenderingFrame:o="onWillStartRenderingFrame";break;case p.EventTypes.DidFinishRenderingFrame:o="onDidFinishRenderingFrame";break;case p.EventTypes.DidFinishRenderingFrameFully:o="onDidFinishRenderingFrameFully";break;case p.EventTypes.WillStartRenderingMap:o="onWillStartRenderingMap";break;case p.EventTypes.DidFinishRenderingMap:o="onDidFinishRenderingMap";break;case p.EventTypes.DidFinishRenderingMapFully:o="onDidFinishRenderingMapFully";break;case p.EventTypes.DidFinishLoadingStyle:o="onDidFinishLoadingStyle";break;case p.EventTypes.SetCameraComplete:o="onSetCameraComplete"}o.length&&this._handleOnChange(o,i)}},{key:"_handleOnChange",value:function(e,n){(0,u.isFunction)(this.props[e])&&this.props[e](n)}},{key:"_getCenterCoordinate",value:function(){if(this.props.centerCoordinate)return(0,u.toJSONString)((0,d.makePoint)(this.props.centerCoordinate))}},{key:"render",value:function(){var e=this,n={animated:this.props.animated,centerCoordinate:this._getCenterCoordinate(),showUserLocation:this.props.showUserLocation,userTrackingMode:this.props.userTrackingMode,heading:this.props.heading,pitch:this.props.pitch,style:this.props.style,styleURL:this.props.styleURL,zoomLevel:this.props.zoomLevel,minZoomLevel:this.props.minZoomLevel,maxZoomLevel:this.props.maxZoomLevel,scrollEnabled:this.props.scrollEnabled,pitchEnabled:this.props.pitchEnabled},a={ref:function(n){return e._nativeRef=n},onPress:this._onPress,onLongPress:this._onLongPress,onMapChange:this._onChange};return t.default.createElement(g,babelHelpers.extends({},n,a),this.props.children)}}]),n}(t.default.Component);f.propTypes={animated:s.default.bool,centerCoordinate:s.default.arrayOf(s.default.number),showUserLocation:s.default.bool,userTrackingMode:s.default.number,heading:s.default.number,pitch:s.default.number,style:s.default.any,styleURL:s.default.string,zoomLevel:s.default.number,minZoomLevel:s.default.number,maxZoomLevel:s.default.number,scrollEnabled:s.default.bool,pitchEnabled:s.default.bool,onPress:s.default.func,onLongPress:s.default.func,onRegionWillChange:s.default.func,onRegionIsChanging:s.default.func,onRegionDidChange:s.default.func,onWillStartLoadingMap:s.default.func,onDidFinishLoadingMap:s.default.func,onDidFailLoadingMap:s.default.func,onWillStartRenderingFrame:s.default.func,onDidFinishRenderingFrame:s.default.func,onDidFinishRenderingFrameFully:s.default.func,onWillStartRenderingMap:s.default.func,onDidFinishRenderingMap:s.default.func,onDidFinishRenderingMapFully:s.default.func,onDidFinishLoadingStyle:s.default.func,onFlyToComplete:s.default.func,onSetCameraComplete:s.default.func},f.defaultProps={animated:!1,heading:0,pitch:0,scrollEnabled:!0,pitchEnabled:!0,zoomLevel:16,userTrackingMode:p.UserTrackingModes.None,styleURL:p.StyleURL.Street},i.default=f},279); +__d(function(n,e,r,o){function i(n){return"function"==typeof n}function t(n){return"number"==typeof n&&!Number.isNaN(n)}function a(n,e,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],i=u.NativeModules.UIManager[n];if(!i)throw new Error("Could not find "+n);var t=(0,u.findNodeHandle)(r);if(!t)throw new Error("Could not find handle for native ref "+n+"."+e);u.NativeModules.UIManager.dispatchViewManagerCommand(t,i.Commands[e],o)}function d(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return JSON.stringify(n)}Object.defineProperty(o,"__esModule",{value:!0}),o.IS_ANDROID=void 0,o.isFunction=i,o.isNumber=t,o.runNativeCommand=a,o.toJSONString=d;var u=e(24);o.IS_ANDROID="android"===u.Platform.OS},280); +__d(function(e,r,t,l){Object.defineProperty(l,"__esModule",{value:!0}),l.NATIVE_MODULE_NAME=void 0;var u=r(12),o=babelHelpers.interopRequireDefault(u),i=r(19),s=babelHelpers.interopRequireDefault(i),a=r(24),n=a.NativeModules.MGLModule,p=l.NATIVE_MODULE_NAME="RCTMGLVectorSource",d=(0,a.requireNativeComponent)(p,c),c=function(e){function r(){return babelHelpers.classCallCheck(this,r),babelHelpers.possibleConstructorReturn(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return babelHelpers.inherits(r,e),babelHelpers.createClass(r,[{key:"render",value:function(){var e={id:this.props.id,url:this.props.url};return o.default.createElement(d,e,this.props.children)}}]),r}(o.default.Component);c.propTypes={id:s.default.string,url:s.default.string},c.defaultProps={id:n.StyleSource.DefaultSourceID},l.default=c},281); +__d(function(e,t,r,l){Object.defineProperty(l,"__esModule",{value:!0}),l.NATIVE_MODULE_NAME=void 0;var o=t(12),u=babelHelpers.interopRequireDefault(o),s=t(19),a=babelHelpers.interopRequireDefault(s),i=t(24),n=(t(280),i.NativeModules.MGLModule),p=l.NATIVE_MODULE_NAME="RCTMGLFillLayer",c=(0,i.requireNativeComponent)(p,d),d=function(e){function t(){return babelHelpers.classCallCheck(this,t),babelHelpers.possibleConstructorReturn(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return babelHelpers.inherits(t,e),babelHelpers.createClass(t,[{key:"render",value:function(){var e={id:this.props.id,sourceID:this.props.sourceID};return u.default.createElement(c,e)}}]),t}(u.default.Component);d.propTypes={id:a.default.string,sourceID:a.default.string,style:a.default.object},d.defaultProps={sourceID:n.StyleSource.DefaultSourceID},l.default=d},282); +__d(function(e,l,a,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Header=r.SwipeDeck=r.Rating=r.Avatar=r.Slider=r.Tile=r.Col=r.Row=r.Grid=r.normalize=r.getIconType=r.colors=r.Tab=r.Tabs=r.Icon=r.SearchBar=r.CheckBox=r.SideMenu=r.Divider=r.Text=r.SocialIcon=r.PricingCard=r.ListItem=r.List=r.FormValidationMessage=r.FormLabel=r.FormInput=r.Card=r.ButtonGroup=r.Button=r.Badge=void 0;var t=l(284),u=babelHelpers.interopRequireDefault(t),i=l(474),p=babelHelpers.interopRequireDefault(i),b=l(475),o=babelHelpers.interopRequireDefault(b),f=l(476),n=babelHelpers.interopRequireDefault(f),d=l(479),s=babelHelpers.interopRequireDefault(d),D=l(478),R=babelHelpers.interopRequireDefault(D),H=l(480),q=babelHelpers.interopRequireDefault(H),c=l(481),g=babelHelpers.interopRequireDefault(c),m=l(482),B=babelHelpers.interopRequireDefault(m),I=l(483),S=babelHelpers.interopRequireDefault(I),T=l(484),C=babelHelpers.interopRequireDefault(T),v=l(486),F=babelHelpers.interopRequireDefault(v),L=l(477),M=babelHelpers.interopRequireDefault(L),h=l(488),k=babelHelpers.interopRequireDefault(h),w=l(494),x=babelHelpers.interopRequireDefault(w),G=l(499),_=babelHelpers.interopRequireDefault(G),y=l(500),P=babelHelpers.interopRequireDefault(y),z=l(501),A=babelHelpers.interopRequireDefault(z),V=l(502),j=babelHelpers.interopRequireDefault(V),O=l(503),E=babelHelpers.interopRequireDefault(O),J=l(286),K=babelHelpers.interopRequireDefault(J),N=l(285),Q=babelHelpers.interopRequireDefault(N),U=l(454),W=babelHelpers.interopRequireDefault(U),X=l(288),Y=babelHelpers.interopRequireDefault(X),Z=l(504),$=babelHelpers.interopRequireDefault(Z),ee=l(505),le=babelHelpers.interopRequireDefault(ee),ae=l(506),re=babelHelpers.interopRequireDefault(ae),te=l(507),ue=babelHelpers.interopRequireDefault(te),ie=l(517),pe=babelHelpers.interopRequireDefault(ie),be=l(518),oe=babelHelpers.interopRequireDefault(be),fe=l(521),ne=babelHelpers.interopRequireDefault(fe);r.Badge=R.default,r.Button=u.default,r.ButtonGroup=S.default,r.Card=C.default,r.FormInput=P.default,r.FormLabel=A.default,r.FormValidationMessage=j.default,r.List=o.default,r.ListItem=n.default,r.PricingCard=_.default,r.SocialIcon=s.default,r.Text=K.default,r.Divider=g.default,r.SideMenu=oe.default,r.CheckBox=q.default,r.SearchBar=E.default,r.Icon=p.default,r.Tabs=ue.default,r.Tab=pe.default,r.colors=Q.default,r.getIconType=W.default,r.normalize=Y.default,r.Grid=$.default,r.Row=le.default,r.Col=re.default,r.Tile=F.default,r.Slider=B.default,r.Avatar=M.default,r.Rating=k.default,r.SwipeDeck=ne.default,r.Header=x.default},283); +__d(function(e,t,o,l){Object.defineProperty(l,"__esModule",{value:!0});var a=t(19),r=babelHelpers.interopRequireDefault(a),n=t(12),i=babelHelpers.interopRequireDefault(n),d=t(24),u=t(285),s=babelHelpers.interopRequireDefault(u),c=t(286),f=babelHelpers.interopRequireDefault(c),b=t(289),y=babelHelpers.interopRequireDefault(b),g=t(454),p=babelHelpers.interopRequireDefault(g),m=t(288),h=babelHelpers.interopRequireDefault(m),S=t(473),C=babelHelpers.interopRequireDefault(S),R=function(){console.log("please attach method to this component")},z=function(e){var t=e.disabled,o=e.loading,l=e.loadingRight,a=e.activityIndicatorStyle,r=e.buttonStyle,n=e.borderRadius,u=e.title,c=e.onPress,b=e.icon,g=e.iconComponent,m=e.secondary,h=e.secondary2,S=e.secondary3,C=e.primary1,z=e.primary2,x=e.backgroundColor,w=e.color,H=e.fontSize,F=e.underlayColor,O=e.raised,P=e.textStyle,D=e.large,E=e.iconRight,q=e.fontWeight,T=e.disabledStyle,I=e.fontFamily,W=e.containerViewStyle,L=e.rounded,M=e.outline,N=e.transparent,V=e.textNumberOfLines,j=e.textEllipsizeMode,_=e.allowFontScaling,A=babelHelpers.objectWithoutProperties(e,["disabled","loading","loadingRight","activityIndicatorStyle","buttonStyle","borderRadius","title","onPress","icon","iconComponent","secondary","secondary2","secondary3","primary1","primary2","backgroundColor","color","fontSize","underlayColor","raised","textStyle","large","iconRight","fontWeight","disabledStyle","fontFamily","containerViewStyle","rounded","outline","transparent","textNumberOfLines","textEllipsizeMode","allowFontScaling"]),B=e.Component,G=void 0;if(b){var J=void 0;J=g?g:b.type?(0,p.default)(b.type):y.default,G=i.default.createElement(J,babelHelpers.extends({},b,{color:b.color||"white",size:b.size||(D?26:18),style:[E?v.iconRight:v.icon,b.style&&b.style]}))}var K=void 0;o&&(K=i.default.createElement(d.ActivityIndicator,{animating:!0,style:[v.activityIndicatorStyle,a],color:w||"white",size:D&&"large"||"small"})),B||"ios"!==d.Platform.OS||(B=d.TouchableHighlight),B||"android"!==d.Platform.OS||(B=d.TouchableNativeFeedback),B||(B=d.TouchableHighlight),"android"===d.Platform.OS&&n&&!A.background&&(A.background=d.TouchableNativeFeedback.Ripple("ThemeAttrAndroid",!0));var Q={color:P&&P.color||w||k.text.color,size:P&&P.fontSize||H||!D&&k.smallFont.fontSize||k.text.fontSize},U={};return V&&(U.numberOfLines=V,j&&(U.ellipsizeMode=j)),i.default.createElement(d.View,{style:[v.container,O&&v.raised,W]},i.default.createElement(B,babelHelpers.extends({underlayColor:F||"transparent",onPress:c||R,disabled:t||!1},A),i.default.createElement(d.View,{style:[v.button,m&&{backgroundColor:s.default.secondary},h&&{backgroundColor:s.default.secondary2},S&&{backgroundColor:s.default.secondary3},C&&{backgroundColor:s.default.primary1},z&&{backgroundColor:s.default.primary2},x&&{backgroundColor:x},n&&{borderRadius:n},!D&&v.small,L&&{borderRadius:3.8*Q.size,paddingHorizontal:D?1.5*k.button.padding:1.5*k.small.padding},M&&{borderWidth:1,backgroundColor:"transparent",borderColor:Q.color},N&&{borderWidth:0,backgroundColor:"transparent"},r&&r,t&&{backgroundColor:s.default.disabled},t&&T&&T]},b&&!E&&G,o&&!l&&K,i.default.createElement(f.default,babelHelpers.extends({style:[v.text,w&&{color:w},!D&&v.smallFont,H&&{fontSize:H},P&&P,q&&{fontWeight:q},I&&{fontFamily:I}]},U,{allowFontScaling:_}),u),o&&l&&K,b&&E&&G)))};z.propTypes={buttonStyle:C.default.style,title:r.default.string,onPress:r.default.any,icon:r.default.object,iconComponent:r.default.any,secondary:r.default.bool,secondary2:r.default.bool,secondary3:r.default.bool,primary1:r.default.bool,primary2:r.default.bool,backgroundColor:r.default.string,color:r.default.string,fontSize:r.default.any,underlayColor:r.default.string,raised:r.default.bool,textStyle:d.Text.propTypes.style,disabled:r.default.bool,loading:r.default.bool,activityIndicatorStyle:C.default.style,loadingRight:r.default.bool,Component:r.default.any,borderRadius:r.default.number,large:r.default.bool,iconRight:r.default.bool,fontWeight:r.default.string,disabledStyle:C.default.style,fontFamily:r.default.string,containerViewStyle:C.default.style,rounded:r.default.bool,outline:r.default.bool,transparent:r.default.bool,allowFontScaling:r.default.bool,textNumberOfLines:r.default.number,textEllipsizeMode:r.default.string};var k={container:{backgroundColor:"transparent",marginLeft:15,marginRight:15},button:{padding:19,backgroundColor:s.default.primary,justifyContent:"center",alignItems:"center",flexDirection:"row"},text:{color:"white",fontSize:(0,h.default)(16)},icon:{marginRight:10},iconRight:{marginLeft:10},small:{padding:12},smallFont:{fontSize:(0,h.default)(14)},activityIndicatorStyle:{marginHorizontal:10,height:0},raised:babelHelpers.extends({},d.Platform.select({ios:{shadowColor:"rgba(0,0,0, .4)",shadowOffset:{height:1,width:1},shadowOpacity:1,shadowRadius:1},android:{backgroundColor:"#fff",elevation:2}}))},v=d.StyleSheet.create(k);l.default=z},284); +__d(function(e,r,d,y){Object.defineProperty(y,"__esModule",{value:!0}),y.default={primary:"#9E9E9E",primary1:"#4d86f7",primary2:"#6296f9",secondary:"#8F0CE8",secondary2:"#00B233",secondary3:"#00FF48",grey0:"#393e42",grey1:"#43484d",grey2:"#5e6977",grey3:"#86939e",grey4:"#bdc6cf",grey5:"#e1e8ee",dkGreyBg:"#232323",greyOutline:"#bbb",searchBg:"#303337",disabled:"#dadee0",white:"#ffffff",error:"#ff190c"}},285); +__d(function(e,l,t,a){Object.defineProperty(a,"__esModule",{value:!0});var r=l(19),d=babelHelpers.interopRequireDefault(r),o=l(12),n=babelHelpers.interopRequireDefault(o),b=l(24),f=l(287),u=babelHelpers.interopRequireDefault(f),i=l(288),s=babelHelpers.interopRequireDefault(i),p=b.StyleSheet.create({text:babelHelpers.extends({},b.Platform.select({android:babelHelpers.extends({},u.default.android.regular)})),bold:babelHelpers.extends({},b.Platform.select({android:babelHelpers.extends({},u.default.android.bold)}))}),h=function(e){var l=e.style,t=e.children,a=e.h1,r=e.h2,d=e.h3,o=e.h4,f=e.fontFamily,u=babelHelpers.objectWithoutProperties(e,["style","children","h1","h2","h3","h4","fontFamily"]);return n.default.createElement(b.Text,babelHelpers.extends({style:[p.text,a&&{fontSize:(0,s.default)(40)},r&&{fontSize:(0,s.default)(34)},d&&{fontSize:(0,s.default)(28)},o&&{fontSize:(0,s.default)(22)},a&&p.bold,r&&p.bold,d&&p.bold,o&&p.bold,f&&{fontFamily:f},l&&l]},u),t)};h.propTypes={style:d.default.any,h1:d.default.bool,h2:d.default.bool,h3:d.default.bool,h4:d.default.bool,fontFamily:d.default.string,children:d.default.any},a.default=h},286); +__d(function(n,i,e,s){Object.defineProperty(s,"__esModule",{value:!0}),s.default={ios:{},android:{regular:{fontFamily:"sans-serif"},light:{fontFamily:"sans-serif-light"},condensed:{fontFamily:"sans-serif-condensed"},condensed_light:{fontFamily:"sans-serif-condensed",fontWeight:"light"},black:{fontFamily:"sans-serif",fontWeight:"bold"},thin:{fontFamily:"sans-serif-thin"},medium:{fontFamily:"sans-serif-medium"},bold:{fontFamily:"sans-serif",fontWeight:"bold"}}}},287); +__d(function(i,t,n,e){var o=t(24),w=o.PixelRatio,d=o.Dimensions,g=w.get(),r=d.get("window").height,h=d.get("window").width,s=function(i){return 2===g?h<360?.95*i:r<667?i:r>=667&&r<=735?1.15*i:1.25*i:3===g?h<=360?i:r<667?1.15*i:r>=667&&r<=735?1.2*i:1.27*i:3.5===g?h<=360?i:r<667?1.2*i:r>=667&&r<=735?1.25*i:1.4*i:i};n.exports=s},288); +__d(function(e,a,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getImageSource=r.ToolbarAndroid=r.TabBarItemIOS=r.TabBarItem=r.Button=void 0;var o=a(290),l=babelHelpers.interopRequireDefault(o),u=a(453),b=babelHelpers.interopRequireDefault(u),I=(0,l.default)(b.default,"Material Icons","MaterialIcons.ttf");r.default=I;r.Button=I.Button,r.TabBarItem=I.TabBarItem,r.TabBarItemIOS=I.TabBarItemIOS,r.ToolbarAndroid=I.ToolbarAndroid,r.getImageSource=I.getImageSource},289); +__d(function(e,r,t,o){function a(e,r,t){function o(){if(!m){if("android"===u.Platform.OS)throw new Error("RNVectorIconsModule not available, did you properly integrate the module? Try running `react-native link react-native-vector-icons` and recompiling.");throw new Error("RNVectorIconsManager not available, did you add the library to your project and link with libRNVectorIcons.a? Try running `react-native link react-native-vector-icons` and recompiling.")}}function a(r){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:y;o();var n=e[r]||"?";"number"==typeof n&&(n=String.fromCharCode(n));var l=(0,u.processColor)(a),i=n+":"+t+":"+l,s=u.PixelRatio.get();return new Promise(function(e,r){var o=g[i];"undefined"!=typeof o?!o||o instanceof Error?r(o):e({uri:o,scale:s}):m.getImageForFont(c,n,t,l,function(t,o){var a="string"==typeof t?new Error(t):t;g[i]=o||a||!1,!a&&o?e({uri:o,scale:s}):r(a)})})}function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t;return"ios"===u.Platform.OS?(o(),e?m.loadFontWithFileName.apply(m,babelHelpers.toConsumableArray(e.split("."))):Promise.reject(new Error("Unable to load font, because no file was specified. "))):Promise.resolve()}var c=r;"android"===u.Platform.OS&&t&&(c=t.replace(/\.(otf|ttf)$/,"")),"windows"===u.Platform.OS&&t&&(c="Assets/"+t+"#"+r);var d=s.default.oneOf(Object.keys(e)),b=function(r){function t(){var e,r,o,a;babelHelpers.classCallCheck(this,t);for(var n=arguments.length,l=Array(n),i=0;i1),r}),i(n,c(n),t),u&&(t=f(t,g|h|_,l));for(var v=r.length;v--;)o(t,r[v]);return t});t.exports=d},302); +__d(function(n,r,t,o){function u(n,r){for(var t=-1,o=null==n?0:n.length,u=Array(o);++t-1}var i=_(309);n.exports=a},312); +__d(function(t,i,s,_){function n(t,i){var s=this.__data__,_=r(s,t);return _<0?(++this.size,s.push([t,i])):s[_][1]=i,this}var r=i(309);s.exports=n},313); +__d(function(t,_,i,n){function s(){this.__data__=new a,this.size=0}var a=_(306);i.exports=s},314); +__d(function(t,e,i,_){function n(t){var e=this.__data__,i=e.delete(t);return this.size=e.size,i}i.exports=n},315); +__d(function(t,_,n,e){function i(t){return this.__data__.get(t)}n.exports=i},316); +__d(function(t,_,n,a){function i(t){return this.__data__.has(t)}n.exports=i},317); +__d(function(t,i,s,_){function e(t,i){var s=this.__data__;if(s instanceof a){var _=s.__data__;if(!n||_.length-1&&n%1==0&&n-1&&n%1==0&&n<=u}var u=9007199254740991;t.exports=o},359); +__d(function(n,t,r,u){function o(n){return function(t){return n(t)}}r.exports=o},360); +__d(function(e,t,n,o){var c=t(297),i="object"==typeof o&&o&&!o.nodeType&&o,p=i&&"object"==typeof n&&n&&!n.nodeType&&n,r=p&&p.exports===i,d=r&&c.process,y=function(){try{return d&&d.binding&&d.binding("util")}catch(e){}}();n.exports=y},361); +__d(function(r,t,n,o){function c(r){if(!e(r))return u(r);var t=[];for(var n in Object(r))p.call(r,n)&&"constructor"!=n&&t.push(n);return t}var e=t(363),u=t(364),a=Object.prototype,p=a.hasOwnProperty;n.exports=c},362); +__d(function(t,o,r,n){function c(t){var o=t&&t.constructor,r="function"==typeof o&&o.prototype||e;return t===r}var e=Object.prototype;r.exports=c},363); +__d(function(e,t,c,b){var j=t(365),n=j(Object.keys,Object);c.exports=n},364); +__d(function(n,t,r,u){function o(n,t){return function(r){return n(t(r))}}r.exports=o},365); +__d(function(n,t,r,u){function e(n){return null!=n&&o(n.length)&&!l(n)}var l=t(322),o=t(359);r.exports=e},366); +__d(function(n,r,t,o){function u(n,r){return n&&c(r,e(r),n)}var c=r(348),e=r(368);t.exports=u},367); +__d(function(n,r,t,o){function u(n){return f(n)?c(n,!0):e(n)}var c=r(350),e=r(369),f=r(366);t.exports=u},368); +__d(function(r,t,n,o){function c(r){if(!e(r))return a(r);var t=u(r),n=[];for(var o in r)("constructor"!=o||!t&&f.call(r,o))&&n.push(o);return n}var e=t(323),u=t(363),a=t(370),p=Object.prototype,f=p.hasOwnProperty;n.exports=c},369); +__d(function(n,r,t,u){function f(n){var r=[];if(null!=n)for(var t in Object(n))r.push(t);return r}t.exports=f},370); +__d(function(e,o,t,n){function r(e,o){if(o)return e.slice();var t=e.length,n=d?d(t):new e.constructor(t);return e.copy(n),n}var c=o(296),f="object"==typeof n&&n&&!n.nodeType&&n,p=f&&"object"==typeof t&&t&&!t.nodeType&&t,i=p&&p.exports===f,u=i?c.Buffer:void 0,d=u?u.allocUnsafe:void 0;t.exports=r},371); +__d(function(r,n,t,o){function e(r,n){var t=-1,o=r.length;for(n||(n=Array(o));++ta?0:a+n),t=t>a?a:t,t<0&&(t+=a),a=n>t?0:t-n>>>0,n>>>=0;for(var e=Array(a);++o0&&t(g)?r>1?o(g,r-1,t,e,u):a(u,g):e||(u[u.length]=g)}return u}var a=r(379),f=r(425);t.exports=o},424); +__d(function(n,o,t,a){function e(n){return c(n)||r(n)||!!(d&&n&&n[d])}var i=o(295),r=o(352),c=o(300),d=i?"function"==typeof i?i.isConcatSpreadable:"@@isConcatSpreadable":void 0;t.exports=e},425); +__d(function(r,n,t,a){function o(r,n,t){return n=f(void 0===n?r.length-1:n,0),function(){for(var a=arguments,o=-1,i=f(a.length-n,0),u=Array(i);++o0){if(++r>=o)return arguments[0]}else r=0;return n.apply(void 0,arguments)}}var o=800,u=16,a=Date.now;t.exports=i},432); +__d(function(n,r,t,u){var o=r(434),c=r(422),e=c(function(n,r){return null==n?{}:o(n,r)});t.exports=e},433); +__d(function(n,r,t,u){function o(n,r){return c(n,r,function(r,t){return e(n,t)})}var c=r(435),e=r(437);t.exports=o},434); +__d(function(r,n,t,o){function a(r,n,t){for(var o=-1,a=n.length,v={};++os))return!1;var g=d.get(e);if(g&&d.get(r))return g==r;var b=-1,h=!0,k=t&v?new f:void 0;for(d.set(e,r),d.set(r,e);++b=this.x&&t>=this.y&&e<=this.x+this.width&&t<=this.y+this.height};var b=function(e){function t(e){babelHelpers.classCallCheck(this,t);var i=babelHelpers.possibleConstructorReturn(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return i.state={containerSize:{width:0,height:0},trackSize:{width:0,height:0},thumbSize:{width:0,height:0},allMeasured:!1,value:new s.Animated.Value(e.value)},i}return babelHelpers.inherits(t,e),babelHelpers.createClass(t,[{key:"componentWillMount",value:function(){this.panResponder=s.PanResponder.create({onStartShouldSetPanResponder:this.handleStartShouldSetPanResponder.bind(this),onMoveShouldSetPanResponder:this.handleMoveShouldSetPanResponder.bind(this),onPanResponderGrant:this.handlePanResponderGrant.bind(this),onPanResponderMove:this.handlePanResponderMove.bind(this),onPanResponderRelease:this.handlePanResponderEnd.bind(this),onPanResponderTerminationRequest:this.handlePanResponderRequestEnd.bind(this),onPanResponderTerminate:this.handlePanResponderEnd.bind(this)})}},{key:"componentWillReceiveProps",value:function(e){var t=e.value;this.props.value!==t&&(this.props.animateTransitions?this.setCurrentValueAnimated(t):this.setCurrentValue(t))}},{key:"setCurrentValue",value:function(e){this.state.value.setValue(e)}},{key:"setCurrentValueAnimated",value:function(e){var t=this.props.animationType,i=babelHelpers.extends({},c[t],this.props.animationConfig,{toValue:e});s.Animated[t](this.state.value,i).start()}},{key:"handleMoveShouldSetPanResponder",value:function(){return!1}},{key:"handlePanResponderGrant",value:function(){this._previousLeft=this.getThumbLeft(this.getCurrentValue()),this.fireChangeEvent("onSlidingStart")}},{key:"handlePanResponderMove",value:function(e,t){this.props.disabled||(this.setCurrentValue(this.getValue(t)),this.fireChangeEvent("onValueChange"))}},{key:"handlePanResponderRequestEnd",value:function(){return!1}},{key:"handlePanResponderEnd",value:function(e,t){this.props.disabled||(this.setCurrentValue(this.getValue(t)),this.fireChangeEvent("onSlidingComplete"))}},{key:"thumbHitTest",value:function(e){var t=e.nativeEvent,i=this.getThumbTouchRect();return i.containsPoint(t.locationX,t.locationY)}},{key:"handleStartShouldSetPanResponder",value:function(e){return this.thumbHitTest(e)}},{key:"fireChangeEvent",value:function(e){this.props[e]&&this.props[e](this.getCurrentValue())}},{key:"getTouchOverflowSize",value:function(){var e=this.state,t=this.props,i={};return e.allMeasured===!0&&(i.width=Math.max(0,t.thumbTouchSize.width-e.thumbSize.width),i.height=Math.max(0,t.thumbTouchSize.height-e.containerSize.height)),i}},{key:"getTouchOverflowStyle",value:function(){var e=this.getTouchOverflowSize(),t=e.width,i=e.height,n={};if(void 0!==t&&void 0!==i){var a=-i/2;n.marginTop=a,n.marginBottom=a;var u=-t/2;n.marginLeft=u,n.marginRight=u}return this.props.debugTouchArea===!0&&(n.backgroundColor="orange",n.opacity=.5),n}},{key:"handleMeasure",value:function(e,t){var i=t.nativeEvent.layout,n=i.width,a=i.height,u={width:n,height:a},r="_"+e,o=this[r];o&&n===o.width&&a===o.height||(this[r]=u,this._containerSize&&this._trackSize&&this._thumbSize&&this.setState({containerSize:this._containerSize,trackSize:this._trackSize,thumbSize:this._thumbSize,allMeasured:!0}))}},{key:"measureContainer",value:function(e){this.handleMeasure("containerSize",e)}},{key:"measureTrack",value:function(e){this.handleMeasure("trackSize",e)}},{key:"measureThumb",value:function(e){this.handleMeasure("thumbSize",e)}},{key:"getValue",value:function(e){var t=this.state.containerSize.width-this.state.thumbSize.width,i=this._previousLeft+e.dx,n=i/t;return this.props.step?Math.max(this.props.minimumValue,Math.min(this.props.maximumValue,this.props.minimumValue+Math.round(n*(this.props.maximumValue-this.props.minimumValue)/this.props.step)*this.props.step)):Math.max(this.props.minimumValue,Math.min(this.props.maximumValue,n*(this.props.maximumValue-this.props.minimumValue)+this.props.minimumValue))}},{key:"getCurrentValue",value:function(){return this.state.value.__getValue()}},{key:"getRatio",value:function(e){return(e-this.props.minimumValue)/(this.props.maximumValue-this.props.minimumValue)}},{key:"getThumbLeft",value:function(e){var t=this.getRatio(e);return t*(this.state.containerSize.width-this.state.thumbSize.width)}},{key:"getThumbTouchRect",value:function(){var e=this.state,t=this.props,i=this.getTouchOverflowSize();return new a(i.width/2+this.getThumbLeft(this.getCurrentValue())+(e.thumbSize.width-t.thumbTouchSize.width)/2,i.height/2+(e.containerSize.height-t.thumbTouchSize.height)/2,t.thumbTouchSize.width,t.thumbTouchSize.height)}},{key:"renderDebugThumbTouchRect",value:function(e){var t=this.getThumbTouchRect(),i={left:e,top:t.y,width:t.width,height:t.height};return h.default.createElement(s.Animated.View,{style:i,pointerEvents:"none"})}},{key:"render",value:function(){var e=this.props,t=e.minimumValue,i=e.maximumValue,n=e.minimumTrackTintColor,a=e.maximumTrackTintColor,u=e.thumbTintColor,r=e.containerStyle,o=e.style,l=e.trackStyle,m=e.thumbStyle,d=e.debugTouchArea,p=babelHelpers.objectWithoutProperties(e,["minimumValue","maximumValue","minimumTrackTintColor","maximumTrackTintColor","thumbTintColor","containerStyle","style","trackStyle","thumbStyle","debugTouchArea"]),c=this.state,b=c.value,f=c.containerSize,v=c.trackSize,S=c.thumbSize,y=c.allMeasured,T=r||g,k=b.interpolate({inputRange:[t,i],outputRange:[0,f.width-S.width]}),C={};y||(C.opacity=0);var V=babelHelpers.extends({position:"absolute",width:s.Animated.add(k,S.width/2),marginTop:-v.height,backgroundColor:n},C),R=this.getTouchOverflowStyle();return h.default.createElement(s.View,babelHelpers.extends({},p,{style:[T.container,o],onLayout:this.measureContainer.bind(this)}),h.default.createElement(s.View,{style:[{backgroundColor:a},T.track,l],onLayout:this.measureTrack.bind(this)}),h.default.createElement(s.Animated.View,{style:[T.track,l,V]}),h.default.createElement(s.Animated.View,{onLayout:this.measureThumb.bind(this),style:[{backgroundColor:u},T.thumb,m,babelHelpers.extends({transform:[{translateX:k},{translateY:-(v.height+S.height)/2}]},C)]}),h.default.createElement(s.View,babelHelpers.extends({style:[g.touchArea,R]},this.panResponder.panHandlers),d===!0&&this.renderDebugThumbTouchRect(k)))}}]),t}(o.Component);n.default=b,b.propTypes={value:r.default.number,disabled:r.default.bool,minimumValue:r.default.number,maximumValue:r.default.number,step:r.default.number,minimumTrackTintColor:r.default.string,maximumTrackTintColor:r.default.string,thumbTintColor:r.default.string,thumbTouchSize:r.default.shape({width:r.default.number,height:r.default.number}),onValueChange:r.default.func,onSlidingStart:r.default.func,onSlidingComplete:r.default.func,style:m.default.style,trackStyle:m.default.style,thumbStyle:m.default.style,debugTouchArea:r.default.bool,animateTransitions:r.default.bool,animationType:r.default.oneOf(["spring","timing"]),animationConfig:r.default.object,containerStyle:m.default.style},b.defaultProps={value:0,minimumValue:0,maximumValue:1,step:0,minimumTrackTintColor:"#3f3f3f",maximumTrackTintColor:"#b3b3b3",thumbTintColor:"red",thumbTouchSize:{width:40,height:40},debugTouchArea:!1,animationType:"timing"};var g=s.StyleSheet.create({container:{height:40,justifyContent:"center"},track:{height:d,borderRadius:d/2},thumb:{position:"absolute",width:p,height:p,borderRadius:p/2,top:22},touchArea:{position:"absolute",backgroundColor:"transparent",top:0,left:0,right:0,bottom:0},debugThumbTouchArea:{position:"absolute",backgroundColor:"green",opacity:.5}})},482); +__d(function(e,t,r,l){Object.defineProperty(l,"__esModule",{value:!0});var o=t(19),n=babelHelpers.interopRequireDefault(o),a=t(12),d=babelHelpers.interopRequireDefault(a),i=t(24),u=t(285),s=babelHelpers.interopRequireDefault(u),f=t(286),c=babelHelpers.interopRequireDefault(f),y=t(288),b=babelHelpers.interopRequireDefault(y),p=t(473),g=babelHelpers.interopRequireDefault(p),h=function(e){var t=e.component,r=e.buttons,l=e.onPress,o=e.selectedIndex,n=e.containerStyle,a=e.innerBorderStyle,u=e.lastBorderStyle,f=e.buttonStyle,y=e.textStyle,b=e.selectedTextStyle,p=e.selectedBackgroundColor,g=e.underlayColor,h=e.activeOpacity,m=e.onHideUnderlay,x=e.onShowUnderlay,T=e.setOpacityTo,R=e.containerBorderRadius,B=e.disableSelected,C=babelHelpers.objectWithoutProperties(e,["component","buttons","onPress","selectedIndex","containerStyle","innerBorderStyle","lastBorderStyle","buttonStyle","textStyle","selectedTextStyle","selectedBackgroundColor","underlayColor","activeOpacity","onHideUnderlay","onShowUnderlay","setOpacityTo","containerBorderRadius","disableSelected"]),H=t||i.TouchableHighlight;return d.default.createElement(i.View,babelHelpers.extends({style:[S.container,n&&n]},C),r.map(function(e,t){var n=isNaN(R)?3:R;return d.default.createElement(H,{activeOpacity:h,setOpacityTo:T,onHideUnderlay:m,onShowUnderlay:x,underlayColor:g||"#ffffff",disabled:!(!B||t!==o),onPress:l?function(){return l(t)}:function(){},key:t,style:[S.button,ta*r/2?o=a:e<-a*r/2?o=0:er?(o=i+e/r,o=n?+o.toFixed(n):Math.ceil(o)):o=n?+i.toFixed(n):Math.ceil(i),o}},{key:"setCurrentRating",value:function(e){var t=this.props,n=t.imageSize,r=t.ratingCount,a=r/2,i=null;i=e>r?r*n/2:e<0?-r*n/2:er/2?(e-a)*n:0;var o=new c.Animated.ValueXY;o.setValue({x:i,y:0}),this.setState({position:o,value:i})}},{key:"displayCurrentRating",value:function(){var e=this.props,t=e.ratingCount,n=e.type,r=e.readonly,a=R[n].color;return s.default.createElement(c.View,{style:v.showRatingView},s.default.createElement(c.View,{style:v.ratingView},s.default.createElement(p.default,{style:v.ratingText},"Rating: "),s.default.createElement(p.default,{style:[v.currentRatingText,{color:a}]},this.getCurrentRating()),s.default.createElement(p.default,{style:v.maxRatingText},"/",t)),s.default.createElement(c.View,null,r&&s.default.createElement(p.default,{style:v.readonlyLabel},"(readonly)")))}},{key:"render",value:function(){var e=this.props,t=e.readonly,n=e.type,r=e.ratingImage,a=e.ratingColor,i=e.ratingBackgroundColor,o=e.style,l=e.showRating;if("custom"===n){var u={source:r,color:a,backgroundColor:i};R.custom=u}return s.default.createElement(c.View,{pointerEvents:t?"none":"auto",style:o},l&&this.displayCurrentRating(),s.default.createElement(c.View,babelHelpers.extends({style:v.starsWrapper},this.state.panResponder.panHandlers),s.default.createElement(c.View,{style:v.starsInsideWrapper},s.default.createElement(c.Animated.View,{style:this.getPrimaryViewStyle()}),s.default.createElement(c.Animated.View,{style:this.getSecondaryViewStyle()})),this.renderRatings()))}}]),t}(u.Component);w.defaultProps={type:"star",ratingImage:t(490),ratingColor:"#f1c40f",ratingBackgroundColor:"white",ratingCount:5,imageSize:C,onFinishRating:function(){return console.log("Attach a function here.")}},r.default=w;var v=c.StyleSheet.create({starsWrapper:{flexDirection:"row"},starsInsideWrapper:{position:"absolute",top:0,left:0,flexDirection:"row"},showRatingView:{flexDirection:"column",justifyContent:"center",alignItems:"center",paddingBottom:5},ratingView:{flexDirection:"row",justifyContent:"center",alignItems:"center",paddingBottom:5},ratingText:{fontSize:15,textAlign:"center",fontFamily:"ios"===c.Platform.OS?"Trebuchet MS":null,color:"#34495e"},readonlyLabel:{justifyContent:"center",alignItems:"center",fontSize:12,textAlign:"center",fontFamily:"ios"===c.Platform.OS?"Trebuchet MS":null,color:"#34495a"},currentRatingText:{fontSize:30,textAlign:"center",fontFamily:"ios"===c.Platform.OS?"Trebuchet MS":null},maxRatingText:{fontSize:18,textAlign:"center",fontFamily:"ios"===c.Platform.OS?"Trebuchet MS":null,color:"#34495e"}}),S=function(e,t,n){if(e[t]){var r=e[t];return"number"==typeof r?r>=0&&r<=20?null:new Error("`"+t+"` in `"+n+"` must be between 0 and 20"):new Error("`"+t+"` in `"+n+"` must be a number")}};w.propTypes={type:l.default.string,ratingImage:c.Image.propTypes.source,ratingColor:l.default.string,ratingBackgroundColor:l.default.string,ratingCount:l.default.number,imageSize:l.default.number,onFinishRating:l.default.func,showRating:l.default.bool,style:d.default.style,readonly:l.default.bool,startingValue:l.default.number,fractions:S}},488); +__d(function(t,r,n,e){function f(t,r){for(var n=-1,e=Array(t);++nb)return[];var n=m,e=h(t,m);r="function"==typeof r?r:v,t-=m;for(var o=f(e,r);++n0?b:t))};k.propTypes={leftComponent:f.default.object,centerComponent:f.default.object,rightComponent:f.default.object,backgroundColor:f.default.string,outerContainerStyles:H.default.style,innerContainerStyles:H.default.style,children:f.default.element,statusBarProps:f.default.object};var S=p.StyleSheet.create({innerContainer:{flex:1,flexDirection:"row",justifyContent:"space-between",alignItems:"flex-end"},outerContainer:{position:"absolute",top:0,left:0,right:0,backgroundColor:"#fff",borderBottomColor:"#f2f2f2",borderBottomWidth:1,padding:15,height:70}});r.default=k},494); +__d(function(t,e,r,n){function o(t,e){return null==t?void 0:t[e]}function c(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}function u(t,e){return function(r){return t(e(r))}}function i(t){return K.call(t)}function f(t){if(!h(t)||l(t))return!1;var e=O(t)||c(t)?L:E;return e.test(p(t))}function a(t,e){var r=o(t,e);return f(r)?r:void 0}function l(t){return!!q&&q in t}function s(t){var e=t&&t.constructor,r="function"==typeof e&&e.prototype||C;return t===r}function p(t){if(null!=t){try{return H.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function y(t){return j(t)&&J.call(t,"callee")&&(!Q.call(t,"callee")||K.call(t)==m)}function b(t){return null!=t&&g(t.length)&&!O(t)}function j(t){return d(t)&&b(t)}function v(t){if(b(t)&&(lt(t)||"string"==typeof t||"function"==typeof t.splice||st(t)||y(t)))return!t.length;var e=at(t);if(e==k||e==A)return!t.size;if(nt||s(t))return!X(t).length;for(var r in t)if(J.call(t,r))return!1;return!0}function O(t){var e=h(t)?K.call(t):"";return e==S||e==$}function g(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=_}function h(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function d(t){return!!t&&"object"==typeof t}function w(){return!1}var _=9007199254740991,m="[object Arguments]",S="[object Function]",$="[object GeneratorFunction]",k="[object Map]",P="[object Object]",x="[object Promise]",A="[object Set]",F="[object WeakMap]",M="[object DataView]",B=/[\\^$.*+?()[\]{}|]/g,E=/^\[object .+?Constructor\]$/,T="object"==typeof t&&t&&t.Object===Object&&t,D="object"==typeof self&&self&&self.Object===Object&&self,I=T||D||Function("return this")(),R="object"==typeof n&&n&&!n.nodeType&&n,V=R&&"object"==typeof r&&r&&!r.nodeType&&r,W=V&&V.exports===R,z=Function.prototype,C=Object.prototype,G=I["__core-js_shared__"],q=function(){var t=/[^.]+$/.exec(G&&G.keys&&G.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),H=z.toString,J=C.hasOwnProperty,K=C.toString,L=RegExp("^"+H.call(J).replace(B,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),N=W?I.Buffer:void 0,Q=C.propertyIsEnumerable,U=N?N.isBuffer:void 0,X=u(Object.keys,Object),Y=a(I,"DataView"),Z=a(I,"Map"),tt=a(I,"Promise"),et=a(I,"Set"),rt=a(I,"WeakMap"),nt=!Q.call({valueOf:1},"valueOf"),ot=p(Y),ct=p(Z),ut=p(tt),it=p(et),ft=p(rt),at=i;(Y&&at(new Y(new ArrayBuffer(1)))!=M||Z&&at(new Z)!=k||tt&&at(tt.resolve())!=x||et&&at(new et)!=A||rt&&at(new rt)!=F)&&(at=function(t){var e=K.call(t),r=e==P?t.constructor:void 0,n=r?p(r):void 0;if(n)switch(n){case ot:return M;case ct:return k;case ut:return x;case it:return A;case ft:return F}return e});var lt=Array.isArray,st=U||w;r.exports=v},495); +__d(function(e,t,u,a){Object.defineProperty(a,"__esModule",{value:!0});var l=t(12),n=babelHelpers.interopRequireDefault(l),r=t(24),d=function(){return n.default.createElement(r.View,{style:i.dummyNavBtn})},i=r.StyleSheet.create({dummyNavBtn:{height:24,width:24}});a.default=d},496); +__d(function(e,t,r,l){Object.defineProperty(l,"__esModule",{value:!0});var a=t(12),n=babelHelpers.interopRequireDefault(a),u=t(19),i=babelHelpers.interopRequireDefault(u),o=t(474),p=babelHelpers.interopRequireDefault(o),b=function(e){var t=e.icon,r=babelHelpers.objectWithoutProperties(e,["icon"]);return n.default.createElement(p.default,babelHelpers.extends({name:t},r))};b.propTypes={icon:i.default.string},l.default=b},497); +__d(function(e,t,r,l){Object.defineProperty(l,"__esModule",{value:!0});var u=t(12),a=babelHelpers.interopRequireDefault(u),n=t(19),b=babelHelpers.interopRequireDefault(n),i=t(286),p=babelHelpers.interopRequireDefault(i),f=function(e){var t=e.text,r=babelHelpers.objectWithoutProperties(e,["text"]);return a.default.createElement(p.default,babelHelpers.extends({numberOfLines:1},r),t)};f.propTypes={text:b.default.string},l.default=f},498); +__d(function(e,t,r,l){Object.defineProperty(l,"__esModule",{value:!0});var n=t(19),o=babelHelpers.interopRequireDefault(n),a=t(12),i=babelHelpers.interopRequireDefault(a),u=t(24),d=t(286),f=babelHelpers.interopRequireDefault(d),s=t(287),p=babelHelpers.interopRequireDefault(s),b=t(285),c=babelHelpers.interopRequireDefault(b),g=t(284),m=babelHelpers.interopRequireDefault(g),y=t(288),H=babelHelpers.interopRequireDefault(y),F=t(473),h=babelHelpers.interopRequireDefault(F),w=function(e){var t=e.containerStyle,r=e.wrapperStyle,l=e.title,n=e.price,o=e.info,a=e.button,d=e.color,s=e.titleFont,p=e.pricingFont,b=e.infoFont,c=e.buttonFont,g=e.onButtonPress,y=babelHelpers.objectWithoutProperties(e,["containerStyle","wrapperStyle","title","price","info","button","color","titleFont","pricingFont","infoFont","buttonFont","onButtonPress"]);return i.default.createElement(u.View,babelHelpers.extends({style:[P.container,t&&t]},y),i.default.createElement(u.View,{style:[P.wrapper,r&&r]},i.default.createElement(f.default,{style:[P.pricingTitle,{color:d},s&&{fontFamily:s}]},l),i.default.createElement(f.default,{style:[P.pricingPrice,p&&{fontFamily:p}]},n),o.map(function(e,t){return i.default.createElement(f.default,{key:t,style:[P.pricingInfo,b&&{fontFamily:b}]},e)}),i.default.createElement(m.default,{icon:{name:a.icon},buttonStyle:[P.button,a.buttonStyle,{backgroundColor:d}],fontFamily:c&&c,title:a.title,onPress:g})))};w.propTypes={containerStyle:h.default.style,wrapperStyle:h.default.style,title:o.default.string,price:o.default.oneOfType([o.default.string,o.default.number]),info:o.default.array,button:o.default.object,color:o.default.string,onButtonPress:o.default.any,titleFont:o.default.string,pricingFont:o.default.string,infoFont:o.default.string,buttonFont:o.default.string},w.defaultProps={color:c.default.primary};var P=u.StyleSheet.create({container:babelHelpers.extends({margin:15,marginBottom:15,backgroundColor:"white",borderColor:c.default.grey5,borderWidth:1,padding:15},u.Platform.select({ios:{shadowColor:"rgba(0,0,0, .2)",shadowOffset:{height:1,width:0},shadowOpacity:.5,shadowRadius:.5},android:{elevation:1}})),wrapper:{backgroundColor:"transparent"},pricingTitle:babelHelpers.extends({textAlign:"center",color:c.default.primary,fontSize:(0,H.default)(30)},u.Platform.select({ios:{fontWeight:"800"},android:babelHelpers.extends({},p.default.android.black)})),pricingPrice:babelHelpers.extends({textAlign:"center",marginTop:10,marginBottom:10,fontSize:(0,H.default)(40)},u.Platform.select({ios:{fontWeight:"700"},android:babelHelpers.extends({},p.default.android.bold)})),pricingInfo:babelHelpers.extends({textAlign:"center",marginTop:5,marginBottom:5,color:c.default.grey3},u.Platform.select({ios:{fontWeight:"600"},android:babelHelpers.extends({},p.default.android.bold)})),button:{marginTop:15,marginBottom:10}});l.default=w},499); +__d(function(e,t,n,a){Object.defineProperty(a,"__esModule",{value:!0});var i=t(19),r=babelHelpers.interopRequireDefault(i),l=t(12),o=babelHelpers.interopRequireDefault(l),u=t(24),s=t(285),f=babelHelpers.interopRequireDefault(s),p=t(288),c=babelHelpers.interopRequireDefault(p),d=t(473),h=babelHelpers.interopRequireDefault(d),b=u.Dimensions.get("window"),g=b.width,y=function(e){function t(e){babelHelpers.classCallCheck(this,t);var n=babelHelpers.possibleConstructorReturn(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.getRef=function(){return n.input||n.refs[n.props.textInputRef]},n.getRefHandler=function(){return n.props.textInputRef?"function"==typeof n.props.textInputRef?function(e){n.input=e,n.props.textInputRef(e)}:n.props.textInputRef:function(e){return n.input=e}},n.shake=n.shake.bind(n),n}return babelHelpers.inherits(t,e),babelHelpers.createClass(t,[{key:"componentWillMount",value:function(){this.shakeAnimationValue=new u.Animated.Value(0),this.props.shake&&this.shake()}},{key:"componentWillReceiveProps",value:function(e){e.shake&&this.props.shake!==e.shake&&this.shake()}},{key:"focus",value:function(){this.getRef()&&this.getRef().focus()}},{key:"blur",value:function(){this.getRef()&&this.getRef().blur()}},{key:"clearText",value:function(){this.getRef()&&this.getRef().clear()}},{key:"shake",value:function(){var e=this.shakeAnimationValue;e.setValue(0),u.Animated.timing(e,{duration:375,toValue:3,ease:u.Easing.bounce}).start()}},{key:"render",value:function(){var e=this.props,t=e.containerStyle,n=e.inputStyle,a=e.containerRef,i=e.selectionColor,r=e.normalizeFontSize,l=babelHelpers.objectWithoutProperties(e,["containerStyle","inputStyle","containerRef","selectionColor","normalizeFontSize"]),s=this.shakeAnimationValue.interpolate({inputRange:[0,.5,1,1.5,2,2.5,3],outputRange:[0,-15,0,15,0,-15,0]});return o.default.createElement(u.Animated.View,{ref:a,style:[m.container,t&&t,{transform:[{translateX:s}]}]},o.default.createElement(u.TextInput,babelHelpers.extends({ref:this.getRefHandler(),selectionColor:i||f.default.grey3,style:[m.input,{fontSize:r?(0,c.default)(14):14},n&&n]},l)))}}]),t}(l.Component);y.propTypes={containerStyle:h.default.style,inputStyle:u.Text.propTypes.style,selectionColor:r.default.string,textInputRef:r.default.oneOfType([r.default.string,r.default.func]),containerRef:r.default.oneOfType([r.default.string,r.default.func]),normalizeFontSize:r.default.bool,shake:r.default.oneOfType([r.default.string,r.default.bool,r.default.object,r.default.number,r.default.array])},y.defaultProps={normalizeFontSize:!0};var m=u.StyleSheet.create({container:babelHelpers.extends({marginLeft:15,marginRight:15},u.Platform.select({ios:{borderBottomColor:f.default.grey4,borderBottomWidth:1,marginLeft:20,marginRight:20}})),input:babelHelpers.extends({},u.Platform.select({android:{minHeight:46,width:g-30},ios:{minHeight:36,width:g}}),{color:f.default.grey3})});a.default=y},500); +__d(function(e,l,t,a){Object.defineProperty(a,"__esModule",{value:!0});var r=l(19),n=babelHelpers.interopRequireDefault(r),i=l(12),o=babelHelpers.interopRequireDefault(i),b=l(24),u=l(285),f=babelHelpers.interopRequireDefault(u),p=l(287),d=babelHelpers.interopRequireDefault(p),s=l(286),y=babelHelpers.interopRequireDefault(s),c=l(288),m=babelHelpers.interopRequireDefault(c),H=l(473),S=babelHelpers.interopRequireDefault(H),g=function(e){var l=e.containerStyle,t=e.labelStyle,a=e.children,r=e.fontFamily,n=babelHelpers.objectWithoutProperties(e,["containerStyle","labelStyle","children","fontFamily"]);return o.default.createElement(b.View,babelHelpers.extends({style:[R.container,l&&l]},n),o.default.createElement(y.default,{style:[R.label,t&&t,r&&{fontFamily:r}]},a))};g.propTypes={containerStyle:S.default.style,labelStyle:b.Text.propTypes.style,children:n.default.any,fontFamily:n.default.string};var R=b.StyleSheet.create({container:{},label:babelHelpers.extends({marginLeft:20,marginRight:20,marginTop:15,marginBottom:1,color:f.default.grey3,fontSize:(0,m.default)(12)},b.Platform.select({ios:{fontWeight:"bold"},android:babelHelpers.extends({},d.default.android.bold)}))});a.default=g},501); +__d(function(e,l,t,r){Object.defineProperty(r,"__esModule",{value:!0});var a=l(19),n=babelHelpers.interopRequireDefault(a),i=l(12),o=babelHelpers.interopRequireDefault(i),u=l(24),f=l(285),b=babelHelpers.interopRequireDefault(f),p=l(286),y=babelHelpers.interopRequireDefault(p),s=l(288),c=babelHelpers.interopRequireDefault(s),d=l(473),m=babelHelpers.interopRequireDefault(d),S=function(e){var l=e.containerStyle,t=e.labelStyle,r=e.children,a=e.fontFamily,n=babelHelpers.objectWithoutProperties(e,["containerStyle","labelStyle","children","fontFamily"]);return o.default.createElement(u.View,babelHelpers.extends({style:[H.container,l&&l]},n),o.default.createElement(y.default,{style:[H.label,t&&t,a&&{fontFamily:a}]},r))};S.propTypes={containerStyle:m.default.style,labelStyle:u.Text.propTypes.style,children:n.default.any,fontFamily:n.default.string};var H=u.StyleSheet.create({container:{},label:{marginLeft:20,marginRight:20,marginTop:5,marginBottom:1,color:b.default.error,fontSize:(0,c.default)(12)}});r.default=S},502); +__d(function(e,t,o,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t(19),l=babelHelpers.interopRequireDefault(n),a=t(12),i=babelHelpers.interopRequireDefault(a),u=t(24),d=t(289),c=babelHelpers.interopRequireDefault(d),s=t(285),f=babelHelpers.interopRequireDefault(s),p=t(288),g=babelHelpers.interopRequireDefault(p),b=t(473),h=babelHelpers.interopRequireDefault(b),y=function(e){function t(){var e,o,r,n;babelHelpers.classCallCheck(this,t);for(var l=arguments.length,a=Array(l),i=0;i1&&void 0!==arguments[1]?arguments[1]:(0,a.Set)(),r=(0,a.Set)().asMutable();return s.default.Children.forEach(e,function(e,a){if(null!==e){var n=t._getSceneKey(e,a);(l.has(n)||e.props.selected)&&r.add(n)}}),r.asImmutable()}},{key:"render",value:function(){var e=this,t=this.props,l=t.style,r=t.children,a=t.tabBarStyle,n=t.tabBarShadowStyle,o=t.sceneStyle,p=babelHelpers.objectWithoutProperties(t,["style","children","tabBarStyle","tabBarShadowStyle","sceneStyle"]),i=[];return s.default.Children.forEach(r,function(t,l){if(null!==t){var r=e._getSceneKey(t,l);if(e.state.renderedSceneKeys.has(r)){var a=t.props.selected,n=s.default.createElement(R,{key:r,selected:a,style:o},t);i.push(n)}}}),s.default.createElement(d.View,babelHelpers.extends({},p,{style:[I.container,l]}),i,s.default.createElement(H.default,{style:a,shadowStyle:n},s.default.Children.map(r,this._renderTab)))}},{key:"_renderTab",value:function(e){var t=void 0;if(null!==e){if(e.props.selected){if(e.props.renderSelectedIcon)t=e.props.renderSelectedIcon();else if(e.props.renderIcon){var l=e.props.renderIcon();t=s.default.cloneElement(l,{style:[l.props.style,I.defaultSelectedIcon]})}}else e.props.renderIcon&&(t=e.props.renderIcon());var r=void 0;return e.props.renderBadge?r=e.props.renderBadge():e.props.badgeText&&(r=s.default.createElement(u.default,null,e.props.badgeText)),s.default.createElement(S.default,{testID:e.props.testID,title:e.props.title,allowFontScaling:e.props.allowFontScaling,titleStyle:[e.props.titleStyle,e.props.selected?[I.defaultSelectedTitle,e.props.selectedTitleStyle]:null],badge:r,onPress:e.props.onPress,hidesTabTouch:this.props.hidesTabTouch,style:e.props.tabStyle},t)}}}]),t}(s.default.Component);m.propTypes=babelHelpers.extends({},g.default,{sceneStyle:g.default.style,tabBarStyle:H.default.propTypes.style,tabBarShadowStyle:H.default.propTypes.shadowStyle,hidesTabTouch:p.default.bool}),r.default=m;var R=function(e){function t(){return babelHelpers.classCallCheck(this,t),babelHelpers.possibleConstructorReturn(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return babelHelpers.inherits(t,e),babelHelpers.createClass(t,[{key:"render",value:function(){var e=this.props,t=e.selected,l=babelHelpers.objectWithoutProperties(e,["selected"]);return s.default.createElement(d.View,babelHelpers.extends({},l,{pointerEvents:t?"auto":"none",removeClippedSubviews:!t,style:[I.sceneContainer,t?null:I.hiddenSceneContainer,l.style]}),s.default.createElement(y.default,{shouldUpdate:t},this.props.children))}}]),t}(s.default.Component);R.propTypes=babelHelpers.extends({},g.default,{selected:p.default.bool});var I=d.StyleSheet.create({container:{flex:1},sceneContainer:{position:"absolute",top:0,left:0,right:0,bottom:0,paddingBottom:b.default.tabBarHeight},hiddenSceneContainer:{overflow:"hidden",opacity:0},defaultSelectedTitle:{color:"rgb(0, 122, 255)"},defaultSelectedIcon:{tintColor:"rgb(0, 122, 255)"}});m.Item=C.default},508); +__d(function(t,e,r,n){!function(t,e){"object"==typeof n&&"undefined"!=typeof r?r.exports=e():"function"==typeof define&&define.amd?define(e):t.Immutable=e()}(this,function(){"use strict";function t(t,e){e&&(t.prototype=Object.create(e.prototype)),t.prototype.constructor=t}function e(t){return o(t)?t:O(t)}function r(t){return u(t)?t:x(t)}function n(t){return s(t)?t:k(t)}function i(t){return o(t)&&!a(t)?t:A(t)}function o(t){return!(!t||!t[ar])}function u(t){return!(!t||!t[hr])}function s(t){return!(!t||!t[fr])}function a(t){return u(t)||s(t)}function h(t){return!(!t||!t[cr])}function f(t){return t.value=!1,t}function c(t){t&&(t.value=!0)}function _(){}function p(t,e){e=e||0;for(var r=Math.max(0,t.length-e),n=new Array(r),i=0;i>>0;if(""+r!==e||4294967295===r)return NaN;e=r}return e<0?v(t)+e:e}function y(){return!0}function d(t,e,r){return(0===t||void 0!==r&&t<=-r)&&(void 0===e||void 0!==r&&e>=r)}function m(t,e){return w(t,e,0)}function g(t,e){return w(t,e,e)}function w(t,e,r){return void 0===t?r:t<0?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}function S(t){this.next=t}function z(t,e,r,n){var i=0===t?e:1===t?r:[e,r];return n?n.value=i:n={value:i,done:!1},n}function I(){return{value:void 0,done:!0}}function b(t){return!!M(t)}function q(t){return t&&"function"==typeof t.next}function D(t){var e=M(t);return e&&e.call(t)}function M(t){var e=t&&(zr&&t[zr]||t[Ir]);if("function"==typeof e)return e}function E(t){return t&&"number"==typeof t.length}function O(t){return null===t||void 0===t?T():o(t)?t.toSeq():C(t)}function x(t){return null===t||void 0===t?T().toKeyedSeq():o(t)?u(t)?t.toSeq():t.fromEntrySeq():B(t)}function k(t){return null===t||void 0===t?T():o(t)?u(t)?t.entrySeq():t.toIndexedSeq():W(t)}function A(t){return(null===t||void 0===t?T():o(t)?u(t)?t.entrySeq():t:W(t)).toSetSeq()}function j(t){this._array=t,this.size=t.length}function R(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function U(t){this._iterable=t,this.size=t.length||t.size}function K(t){this._iterator=t,this._iteratorCache=[]}function L(t){return!(!t||!t[qr])}function T(){return Dr||(Dr=new j([]))}function B(t){var e=Array.isArray(t)?new j(t).fromEntrySeq():q(t)?new K(t).fromEntrySeq():b(t)?new U(t).fromEntrySeq():"object"==typeof t?new R(t):void 0;if(!e)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function W(t){var e=J(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function C(t){var e=J(t)||"object"==typeof t&&new R(t);if(!e)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}function J(t){return E(t)?new j(t):q(t)?new K(t):b(t)?new U(t):void 0}function N(t,e,r,n){var i=t._cache;if(i){for(var o=i.length-1,u=0;u<=o;u++){var s=i[r?o-u:u];if(e(s[1],n?s[0]:u,t)===!1)return u+1}return u}return t.__iterateUncached(e,r)}function P(t,e,r,n){var i=t._cache;if(i){var o=i.length-1,u=0;return new S(function(){var t=i[r?o-u:u];return u++>o?I():z(e,n?t[0]:u-1,t[1])})}return t.__iteratorUncached(e,r)}function H(t,e){return e?V(e,t,"",{"":t}):Y(t)}function V(t,e,r,n){return Array.isArray(e)?t.call(n,r,k(e).map(function(r,n){return V(t,r,n,e)})):Q(e)?t.call(n,r,x(e).map(function(r,n){return V(t,r,n,e)})):e}function Y(t){return Array.isArray(t)?k(t).map(Y).toList():Q(t)?x(t).map(Y).toMap():t}function Q(t){return t&&(t.constructor===Object||void 0===t.constructor)}function X(t,e){if(t===e||t!==t&&e!==e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if(t=t.valueOf(),e=e.valueOf(),t===e||t!==t&&e!==e)return!0;if(!t||!e)return!1}return!("function"!=typeof t.equals||"function"!=typeof e.equals||!t.equals(e))}function F(t,e){if(t===e)return!0;if(!o(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||u(t)!==u(e)||s(t)!==s(e)||h(t)!==h(e))return!1;if(0===t.size&&0===e.size)return!0;var r=!a(t);if(h(t)){var n=t.entries();return e.every(function(t,e){var i=n.next().value;return i&&X(i[1],t)&&(r||X(i[0],e))})&&n.next().done}var i=!1;if(void 0===t.size)if(void 0===e.size)"function"==typeof t.cacheResult&&t.cacheResult();else{i=!0;var f=t;t=e,e=f}var c=!0,_=e.__iterate(function(e,n){if(r?!t.has(e):i?!X(e,t.get(n,yr)):!X(t.get(n,yr),e))return c=!1,!1});return c&&t.size===_}function G(t,e){if(!(this instanceof G))return new G(t,e);if(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),0===this.size){if(Mr)return Mr;Mr=this}}function Z(t,e){if(!t)throw new Error(e)}function $(t,e,r){if(!(this instanceof $))return new $(t,e,r);if(Z(0!==r,"Cannot step a Range by 0"),t=t||0,void 0===e&&(e=1/0),r=void 0===r?1:Math.abs(r),e>>1&1073741824|3221225471&t}function ot(t){if(t===!1||null===t||void 0===t)return 0;if("function"==typeof t.valueOf&&(t=t.valueOf(),t===!1||null===t||void 0===t))return 0;if(t===!0)return 1;var e=typeof t;if("number"===e){if(t!==t||t===1/0)return 0;var r=0|t;for(r!==t&&(r^=4294967295*t);t>4294967295;)t/=4294967295,r^=t;return it(r)}if("string"===e)return t.length>Kr?ut(t):st(t);if("function"==typeof t.hashCode)return t.hashCode();if("object"===e)return at(t);if("function"==typeof t.toString)return st(t.toString());throw new Error("Value type "+e+" cannot be hashed.")}function ut(t){var e=Br[t];return void 0===e&&(e=st(t),Tr===Lr&&(Tr=0,Br={}),Tr++,Br[t]=e),e}function st(t){for(var e=0,r=0;r0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}function ft(t){Z(t!==1/0,"Cannot perform this action with an infinite size.")}function ct(t){return null===t||void 0===t?zt():_t(t)&&!h(t)?t:zt().withMutations(function(e){var n=r(t);ft(n.size),n.forEach(function(t,r){return e.set(r,t)})})}function _t(t){return!(!t||!t[Wr])}function pt(t,e){this.ownerID=t,this.entries=e}function vt(t,e,r){this.ownerID=t,this.bitmap=e,this.nodes=r}function lt(t,e,r){this.ownerID=t,this.count=e,this.nodes=r}function yt(t,e,r){this.ownerID=t,this.keyHash=e,this.entries=r}function dt(t,e,r){this.ownerID=t,this.keyHash=e,this.entry=r}function mt(t,e,r){this._type=e,this._reverse=r,this._stack=t._root&&wt(t._root)}function gt(t,e){return z(t,e[0],e[1])}function wt(t,e){return{node:t,index:0,__prev:e}}function St(t,e,r,n){var i=Object.create(Cr);return i.size=t,i._root=e,i.__ownerID=r,i.__hash=n,i.__altered=!1,i}function zt(){return Jr||(Jr=St(0))}function It(t,e,r){var n,i;if(t._root){var o=f(dr),u=f(mr);if(n=bt(t._root,t.__ownerID,0,void 0,e,r,o,u),!u.value)return t;i=t.size+(o.value?r===yr?-1:1:0)}else{if(r===yr)return t;i=1,n=new pt(t.__ownerID,[[e,r]])}return t.__ownerID?(t.size=i,t._root=n,t.__hash=void 0,t.__altered=!0,t):n?St(i,n):zt()}function bt(t,e,r,n,i,o,u,s){return t?t.update(e,r,n,i,o,u,s):o===yr?t:(c(s),c(u),new dt(e,n,[i,o]))}function qt(t){return t.constructor===dt||t.constructor===yt}function Dt(t,e,r,n,i){if(t.keyHash===n)return new yt(e,n,[t.entry,i]);var o,u=(0===r?t.keyHash:t.keyHash>>>r)&lr,s=(0===r?n:n>>>r)&lr,a=u===s?[Dt(t,e,r+pr,n,i)]:(o=new dt(e,n,i),u>>=1)u[s]=1&r?e[o++]:void 0;return u[n]=i,new lt(t,o+1,u)}function xt(t,e,n){for(var i=[],u=0;u>1&1431655765,t=(858993459&t)+(t>>2&858993459),t=t+(t>>4)&252645135,t+=t>>8,t+=t>>16,127&t}function Kt(t,e,r,n){var i=n?t:p(t);return i[e]=r,i}function Lt(t,e,r,n){var i=t.length+1;if(n&&e+1===i)return t[e]=r,t;for(var o=new Array(i),u=0,s=0;s0&&io?0:o-r,h=u-r;return h>vr&&(h=vr),function(){if(i===h)return Xr;var t=e?--h:i++;return n&&n[t]}}function i(t,n,i){var s,a=t&&t.array,h=i>o?0:o-i>>n,f=(u-i>>n)+1;return f>vr&&(f=vr),function(){for(;;){if(s){var t=s();if(t!==Xr)return t;s=null}if(h===f)return Xr;var o=e?--f:h++;s=r(a&&a[o],n-pr,i+(o<=t.size||e<0)return t.withMutations(function(t){e<0?Xt(t,e).set(0,r):Xt(t,0,e+1).set(e,r)});e+=t._origin;var n=t._tail,i=t._root,o=f(mr);return e>=Gt(t._capacity)?n=Vt(n,t.__ownerID,0,e,r,o):i=Vt(i,t.__ownerID,t._level,e,r,o),o.value?t.__ownerID?(t._root=i,t._tail=n,t.__hash=void 0,t.__altered=!0,t):Nt(t._origin,t._capacity,t._level,i,n):t}function Vt(t,e,r,n,i,o){var u=n>>>r&lr,s=t&&u0){var h=t&&t.array[u],f=Vt(h,e,r-pr,n,i,o);return f===h?t:(a=Yt(t,e),a.array[u]=f,a)}return s&&t.array[u]===i?t:(c(o),a=Yt(t,e),void 0===i&&u===a.array.length-1?a.array.pop():a.array[u]=i,a)}function Yt(t,e){return e&&t&&e===t.ownerID?t:new Ct(t?t.array.slice():[],e)}function Qt(t,e){if(e>=Gt(t._capacity))return t._tail;if(e<1<0;)r=r.array[e>>>n&lr],n-=pr;return r}}function Xt(t,e,r){void 0!==e&&(e|=0),void 0!==r&&(r|=0);var n=t.__ownerID||new _,i=t._origin,o=t._capacity,u=i+e,s=void 0===r?o:r<0?o+r:i+r;if(u===i&&s===o)return t;if(u>=s)return t.clear();for(var a=t._level,h=t._root,f=0;u+f<0;)h=new Ct(h&&h.array.length?[void 0,h]:[],n),a+=pr,f+=1<=1<c?new Ct([],n):v;if(v&&p>c&&upr;d-=pr){var m=c>>>d&lr;y=y.array[m]=Yt(y.array[m],n)}y.array[c>>>pr&lr]=v}if(s=p)u-=p,s-=p,a=pr,h=null,l=l&&l.removeBefore(n,0,u);else if(u>i||p>>a&lr;if(g!==p>>>a&lr)break;g&&(f+=(1<i&&(h=h.removeBefore(n,a,u-f)),h&&pu&&(u=h.size),o(a)||(h=h.map(function(t){return H(t)})),i.push(h)}return u>t.size&&(t=t.setSize(u)),jt(t,e,i)}function Gt(t){return t>>pr<=vr&&u.size>=2*o.size?(i=u.filter(function(t,e){return void 0!==t&&s!==e}),n=i.toKeyedSeq().map(function(t){return t[0]}).flip().toMap(),t.__ownerID&&(n.__ownerID=i.__ownerID=t.__ownerID)):(n=o.remove(e),i=s===u.size-1?u.pop():u.set(s,void 0))}else if(a){if(r===u.get(s)[1])return t;n=o,i=u.set(s,[e,r])}else n=o.set(e,u.size),i=u.set(u.size,[e,r]);return t.__ownerID?(t.size=n.size,t._map=n,t._list=i,t.__hash=void 0,t):te(n,i)}function ne(t,e){this._iter=t,this._useKeys=e,this.size=t.size}function ie(t){this._iter=t,this.size=t.size}function oe(t){this._iter=t,this.size=t.size}function ue(t){this._iter=t,this.size=t.size}function se(t){var e=Ee(t);return e._iter=t,e.size=t.size,e.flip=function(){return t},e.reverse=function(){var e=t.reverse.apply(this);return e.flip=function(){return t.reverse()},e},e.has=function(e){return t.includes(e)},e.includes=function(e){return t.has(e)},e.cacheResult=Oe,e.__iterateUncached=function(e,r){var n=this;return t.__iterate(function(t,r){return e(r,t,n)!==!1},r)},e.__iteratorUncached=function(e,r){if(e===Sr){var n=t.__iterator(e,r);return new S(function(){var t=n.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t})}return t.__iterator(e===wr?gr:wr,r)},e}function ae(t,e,r){var n=Ee(t);return n.size=t.size,n.has=function(e){return t.has(e)},n.get=function(n,i){var o=t.get(n,yr);return o===yr?i:e.call(r,o,n,t)},n.__iterateUncached=function(n,i){var o=this;return t.__iterate(function(t,i,u){return n(e.call(r,t,i,u),i,o)!==!1},i)},n.__iteratorUncached=function(n,i){var o=t.__iterator(Sr,i);return new S(function(){var i=o.next();if(i.done)return i;var u=i.value,s=u[0];return z(n,s,e.call(r,u[1],s,t),i)})},n}function he(t,e){var r=Ee(t);return r._iter=t,r.size=t.size,r.reverse=function(){return t},t.flip&&(r.flip=function(){var e=se(t);return e.reverse=function(){return t.flip()},e}),r.get=function(r,n){return t.get(e?r:-1-r,n)},r.has=function(r){return t.has(e?r:-1-r)},r.includes=function(e){return t.includes(e)},r.cacheResult=Oe,r.__iterate=function(e,r){var n=this;return t.__iterate(function(t,r){return e(t,r,n)},!r)},r.__iterator=function(e,r){return t.__iterator(e,!r)},r}function fe(t,e,r,n){var i=Ee(t);return n&&(i.has=function(n){var i=t.get(n,yr);return i!==yr&&!!e.call(r,i,n,t)},i.get=function(n,i){var o=t.get(n,yr);return o!==yr&&e.call(r,o,n,t)?o:i}),i.__iterateUncached=function(i,o){var u=this,s=0;return t.__iterate(function(t,o,a){if(e.call(r,t,o,a))return s++,i(t,n?o:s-1,u)},o),s},i.__iteratorUncached=function(i,o){var u=t.__iterator(Sr,o),s=0;return new S(function(){for(;;){var o=u.next();if(o.done)return o;var a=o.value,h=a[0],f=a[1];if(e.call(r,f,h,t))return z(i,n?h:s++,f,o)}})},i}function ce(t,e,r){var n=ct().asMutable();return t.__iterate(function(i,o){n.update(e.call(r,i,o,t),0,function(t){return t+1})}),n.asImmutable()}function _e(t,e,r){var n=u(t),i=(h(t)?Zt():ct()).asMutable();t.__iterate(function(o,u){i.update(e.call(r,o,u,t),function(t){return t=t||[],t.push(n?[u,o]:o),t})});var o=Me(t);return i.map(function(e){return be(t,o(e))})}function pe(t,e,r,n){var i=t.size;if(void 0!==e&&(e|=0),void 0!==r&&(r===1/0?r=i:r|=0),d(e,r,i))return t;var o=m(e,i),u=g(r,i);if(o!==o||u!==u)return pe(t.toSeq().cacheResult(),e,r,n);var s,a=u-o;a===a&&(s=a<0?0:a);var h=Ee(t);return h.size=0===s?s:t.size&&s||void 0,!n&&L(t)&&s>=0&&(h.get=function(e,r){return e=l(this,e),e>=0&&es)return I();var t=i.next();return n||e===wr?t:e===gr?z(e,a-1,void 0,t):z(e,a-1,t.value[1],t)})},h}function ve(t,e,r){var n=Ee(t);return n.__iterateUncached=function(n,i){var o=this;if(i)return this.cacheResult().__iterate(n,i);var u=0;return t.__iterate(function(t,i,s){return e.call(r,t,i,s)&&++u&&n(t,i,o)}),u},n.__iteratorUncached=function(n,i){var o=this;if(i)return this.cacheResult().__iterator(n,i);var u=t.__iterator(Sr,i),s=!0;return new S(function(){if(!s)return I();var t=u.next();if(t.done)return t;var i=t.value,a=i[0],h=i[1];return e.call(r,h,a,o)?n===Sr?t:z(n,a,h,t):(s=!1,I())})},n}function le(t,e,r,n){var i=Ee(t);return i.__iterateUncached=function(i,o){var u=this;if(o)return this.cacheResult().__iterate(i,o);var s=!0,a=0;return t.__iterate(function(t,o,h){if(!s||!(s=e.call(r,t,o,h)))return a++,i(t,n?o:a-1,u)}),a},i.__iteratorUncached=function(i,o){var u=this;if(o)return this.cacheResult().__iterator(i,o);var s=t.__iterator(Sr,o),a=!0,h=0;return new S(function(){var t,o,f;do{if(t=s.next(),t.done)return n||i===wr?t:i===gr?z(i,h++,void 0,t):z(i,h++,t.value[1],t);var c=t.value;o=c[0],f=c[1],a&&(a=e.call(r,f,o,u))}while(a);return i===Sr?t:z(i,o,f,t)})},i}function ye(t,e){var n=u(t),i=[t].concat(e).map(function(t){return o(t)?n&&(t=r(t)):t=n?B(t):W(Array.isArray(t)?t:[t]),t}).filter(function(t){return 0!==t.size});if(0===i.length)return t;if(1===i.length){var a=i[0];if(a===t||n&&u(a)||s(t)&&s(a))return a}var h=new j(i);return n?h=h.toKeyedSeq():s(t)||(h=h.toSetSeq()),h=h.flatten(!0),h.size=i.reduce(function(t,e){if(void 0!==t){var r=e.size;if(void 0!==r)return t+r}},0),h}function de(t,e,r){var n=Ee(t);return n.__iterateUncached=function(n,i){function u(t,h){var f=this;t.__iterate(function(t,i){return(!e||h0}function Ie(t,r,n){var i=Ee(t);return i.size=new j(n).map(function(t){return t.size}).min(),i.__iterate=function(t,e){for(var r,n=this.__iterator(wr,e),i=0;!(r=n.next()).done&&t(r.value,i++,this)!==!1;);return i},i.__iteratorUncached=function(t,i){var o=n.map(function(t){return t=e(t),D(i?t.reverse():t)}),u=0,s=!1;return new S(function(){var e;return s||(e=o.map(function(t){return t.next()}),s=e.some(function(t){return t.done})),s?I():z(t,u++,r.apply(null,e.map(function(t){return t.value})))})},i}function be(t,e){return L(t)?e:t.constructor(e)}function qe(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function De(t){return ft(t.size),v(t)}function Me(t){return u(t)?r:s(t)?n:i}function Ee(t){return Object.create((u(t)?x:s(t)?k:A).prototype)}function Oe(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):O.prototype.cacheResult.call(this)}function xe(t,e){return t>e?1:te?-1:0}function ir(t){if(t.size===1/0)return 0;var e=h(t),r=u(t),n=e?1:0,i=t.__iterate(r?e?function(t,e){n=31*n+ur(ot(t),ot(e))|0}:function(t,e){n=n+ur(ot(t),ot(e))|0}:e?function(t){n=31*n+ot(t)|0}:function(t){n=n+ot(t)|0});return or(i,n)}function or(t,e){return e=xr(e,3432918353),e=xr(e<<15|e>>>-15,461845907),e=xr(e<<13|e>>>-13,5),e=(e+3864292196|0)^t,e=xr(e^e>>>16,2246822507),e=xr(e^e>>>13,3266489909),e=it(e^e>>>16)}function ur(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}var sr=Array.prototype.slice;t(r,e),t(n,e),t(i,e),e.isIterable=o,e.isKeyed=u,e.isIndexed=s,e.isAssociative=a,e.isOrdered=h,e.Keyed=r,e.Indexed=n,e.Set=i;var ar="@@__IMMUTABLE_ITERABLE__@@",hr="@@__IMMUTABLE_KEYED__@@",fr="@@__IMMUTABLE_INDEXED__@@",cr="@@__IMMUTABLE_ORDERED__@@",_r="delete",pr=5,vr=1<n?I():z(t,i,r[e?n-i++:i++])})},t(R,x),R.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},R.prototype.has=function(t){return this._object.hasOwnProperty(t)},R.prototype.__iterate=function(t,e){for(var r=this._object,n=this._keys,i=n.length-1,o=0;o<=i;o++){var u=n[e?i-o:o];if(t(r[u],u,this)===!1)return o+1}return o},R.prototype.__iterator=function(t,e){var r=this._object,n=this._keys,i=n.length-1,o=0;return new S(function(){var u=n[e?i-o:o];return o++>i?I():z(t,u,r[u])})},R.prototype[cr]=!0,t(U,k),U.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var r=this._iterable,n=D(r),i=0;if(q(n))for(var o;!(o=n.next()).done&&t(o.value,i++,this)!==!1;);return i},U.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var r=this._iterable,n=D(r);if(!q(n))return new S(I);var i=0;return new S(function(){var e=n.next();return e.done?e:z(t,i++,e.value)})},t(K,k),K.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);for(var r=this._iterator,n=this._iteratorCache,i=0;i=n.length){var e=r.next();if(e.done)return e;n[i]=e.value}return z(t,i,n[i++])})};var Dr;t(G,k),G.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},G.prototype.get=function(t,e){return this.has(t)?this._value:e},G.prototype.includes=function(t){return X(this._value,t)},G.prototype.slice=function(t,e){var r=this.size;return d(t,e,r)?this:new G(this._value,g(e,r)-m(t,r))},G.prototype.reverse=function(){return this},G.prototype.indexOf=function(t){return X(this._value,t)?0:-1},G.prototype.lastIndexOf=function(t){return X(this._value,t)?this.size:-1},G.prototype.__iterate=function(t,e){for(var r=0;r=0&&e=0&&rr?I():z(t,o++,u)})},$.prototype.equals=function(t){return t instanceof $?this._start===t._start&&this._end===t._end&&this._step===t._step:F(this,t)};var Er;t(tt,e),t(et,tt),t(rt,tt),t(nt,tt),tt.Keyed=et,tt.Indexed=rt,tt.Set=nt;var Or,xr="function"==typeof Math.imul&&Math.imul(4294967295,2)===-2?Math.imul:function(t,e){t|=0,e|=0;var r=65535&t,n=65535&e;return r*n+((t>>>16)*n+r*(e>>>16)<<16>>>0)|0},kr=Object.isExtensible,Ar=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}(),jr="function"==typeof WeakMap;jr&&(Or=new WeakMap);var Rr=0,Ur="__immutablehash__";"function"==typeof Symbol&&(Ur=Symbol(Ur));var Kr=16,Lr=255,Tr=0,Br={};t(ct,et),ct.of=function(){var t=sr.call(arguments,0);return zt().withMutations(function(e){for(var r=0;r=t.length)throw new Error("Missing value for key: "+t[r]);e.set(t[r],t[r+1])}})},ct.prototype.toString=function(){return this.__toString("Map {","}")},ct.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},ct.prototype.set=function(t,e){return It(this,t,e)},ct.prototype.setIn=function(t,e){return this.updateIn(t,yr,function(){return e})},ct.prototype.remove=function(t){return It(this,t,yr)},ct.prototype.deleteIn=function(t){return this.updateIn(t,function(){return yr})},ct.prototype.update=function(t,e,r){return 1===arguments.length?t(this):this.updateIn([t],e,r)},ct.prototype.updateIn=function(t,e,r){r||(r=e,e=void 0);var n=Rt(this,ke(t),e,r);return n===yr?void 0:n},ct.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):zt()},ct.prototype.merge=function(){return xt(this,void 0,arguments)},ct.prototype.mergeWith=function(t){var e=sr.call(arguments,1);return xt(this,t,e)},ct.prototype.mergeIn=function(t){var e=sr.call(arguments,1);return this.updateIn(t,zt(),function(t){return"function"==typeof t.merge?t.merge.apply(t,e):e[e.length-1]})},ct.prototype.mergeDeep=function(){return xt(this,kt,arguments)},ct.prototype.mergeDeepWith=function(t){var e=sr.call(arguments,1);return xt(this,At(t),e)},ct.prototype.mergeDeepIn=function(t){var e=sr.call(arguments,1);return this.updateIn(t,zt(),function(t){return"function"==typeof t.mergeDeep?t.mergeDeep.apply(t,e):e[e.length-1]; +})},ct.prototype.sort=function(t){return Zt(we(this,t))},ct.prototype.sortBy=function(t,e){return Zt(we(this,e,t))},ct.prototype.withMutations=function(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this},ct.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new _)},ct.prototype.asImmutable=function(){return this.__ensureOwner()},ct.prototype.wasAltered=function(){return this.__altered},ct.prototype.__iterator=function(t,e){return new mt(this,t,e)},ct.prototype.__iterate=function(t,e){var r=this,n=0;return this._root&&this._root.iterate(function(e){return n++,t(e[1],e[0],r)},e),n},ct.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?St(this.size,this._root,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},ct.isMap=_t;var Wr="@@__IMMUTABLE_MAP__@@",Cr=ct.prototype;Cr[Wr]=!0,Cr[_r]=Cr.remove,Cr.removeIn=Cr.deleteIn,pt.prototype.get=function(t,e,r,n){for(var i=this.entries,o=0,u=i.length;o=Nr)return Mt(t,a,n,i);var v=t&&t===this.ownerID,l=v?a:p(a);return _?s?h===f-1?l.pop():l[h]=l.pop():l[h]=[n,i]:l.push([n,i]),v?(this.entries=l,this):new pt(t,l)}},vt.prototype.get=function(t,e,r,n){void 0===e&&(e=ot(r));var i=1<<((0===t?e:e>>>t)&lr),o=this.bitmap;return 0===(o&i)?n:this.nodes[Ut(o&i-1)].get(t+pr,e,r,n)},vt.prototype.update=function(t,e,r,n,i,o,u){void 0===r&&(r=ot(n));var s=(0===e?r:r>>>e)&lr,a=1<=Pr)return Ot(t,_,h,s,v);if(f&&!v&&2===_.length&&qt(_[1^c]))return _[1^c];if(f&&v&&1===_.length&&qt(v))return v;var l=t&&t===this.ownerID,y=f?v?h:h^a:h|a,d=f?v?Kt(_,c,v,l):Tt(_,c,l):Lt(_,c,v,l);return l?(this.bitmap=y,this.nodes=d,this):new vt(t,y,d)},lt.prototype.get=function(t,e,r,n){void 0===e&&(e=ot(r));var i=(0===t?e:e>>>t)&lr,o=this.nodes[i];return o?o.get(t+pr,e,r,n):n},lt.prototype.update=function(t,e,r,n,i,o,u){void 0===r&&(r=ot(n));var s=(0===e?r:r>>>e)&lr,a=i===yr,h=this.nodes,f=h[s];if(a&&!f)return this;var c=bt(f,t,e+pr,r,n,i,o,u);if(c===f)return this;var _=this.count;if(f){if(!c&&(_--,_=0&&t>>e&lr;if(n>=this.array.length)return new Ct([],t);var i,o=0===n;if(e>0){var u=this.array[n];if(i=u&&u.removeBefore(t,e-pr,r),i===u&&o)return this}if(o&&!i)return this;var s=Yt(this,t);if(!o)for(var a=0;a>>e&lr;if(n>=this.array.length)return this;var i;if(e>0){var o=this.array[n];if(i=o&&o.removeAfter(t,e-pr,r),i===o&&n===this.array.length-1)return this}var u=Yt(this,t);return u.array.splice(n+1),i&&(u.array[n]=i),u};var Qr,Xr={};t(Zt,ct),Zt.of=function(){return this(arguments)},Zt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Zt.prototype.get=function(t,e){var r=this._map.get(t);return void 0!==r?this._list.get(r)[1]:e},Zt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):ee()},Zt.prototype.set=function(t,e){return re(this,t,e)},Zt.prototype.remove=function(t){return re(this,t,yr)},Zt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Zt.prototype.__iterate=function(t,e){var r=this;return this._list.__iterate(function(e){return e&&t(e[1],e[0],r)},e)},Zt.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},Zt.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),r=this._list.__ensureOwner(t);return t?te(e,r,t,this.__hash):(this.__ownerID=t,this._map=e,this._list=r,this)},Zt.isOrderedMap=$t,Zt.prototype[cr]=!0,Zt.prototype[_r]=Zt.prototype.remove;var Fr;t(ne,x),ne.prototype.get=function(t,e){return this._iter.get(t,e)},ne.prototype.has=function(t){return this._iter.has(t)},ne.prototype.valueSeq=function(){return this._iter.valueSeq()},ne.prototype.reverse=function(){var t=this,e=he(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},ne.prototype.map=function(t,e){var r=this,n=ae(this,t,e);return this._useKeys||(n.valueSeq=function(){return r._iter.toSeq().map(t,e)}),n},ne.prototype.__iterate=function(t,e){var r,n=this;return this._iter.__iterate(this._useKeys?function(e,r){return t(e,r,n)}:(r=e?De(this):0,function(i){return t(i,e?--r:r++,n)}),e)},ne.prototype.__iterator=function(t,e){if(this._useKeys)return this._iter.__iterator(t,e);var r=this._iter.__iterator(wr,e),n=e?De(this):0;return new S(function(){var i=r.next();return i.done?i:z(t,e?--n:n++,i.value,i)})},ne.prototype[cr]=!0,t(ie,k),ie.prototype.includes=function(t){return this._iter.includes(t)},ie.prototype.__iterate=function(t,e){var r=this,n=0;return this._iter.__iterate(function(e){return t(e,n++,r)},e)},ie.prototype.__iterator=function(t,e){var r=this._iter.__iterator(wr,e),n=0;return new S(function(){var e=r.next();return e.done?e:z(t,n++,e.value,e)})},t(oe,A),oe.prototype.has=function(t){return this._iter.includes(t)},oe.prototype.__iterate=function(t,e){var r=this;return this._iter.__iterate(function(e){return t(e,e,r)},e)},oe.prototype.__iterator=function(t,e){var r=this._iter.__iterator(wr,e);return new S(function(){var e=r.next();return e.done?e:z(t,e.value,e.value,e)})},t(ue,x),ue.prototype.entrySeq=function(){return this._iter.toSeq()},ue.prototype.__iterate=function(t,e){var r=this;return this._iter.__iterate(function(e){if(e){qe(e);var n=o(e);return t(n?e.get(1):e[1],n?e.get(0):e[0],r)}},e)},ue.prototype.__iterator=function(t,e){var r=this._iter.__iterator(wr,e);return new S(function(){for(;;){var e=r.next();if(e.done)return e;var n=e.value;if(n){qe(n);var i=o(n);return z(t,i?n.get(0):n[0],i?n.get(1):n[1],e)}}})},ie.prototype.cacheResult=ne.prototype.cacheResult=oe.prototype.cacheResult=ue.prototype.cacheResult=Oe,t(Ae,et),Ae.prototype.toString=function(){return this.__toString(Re(this)+" {","}")},Ae.prototype.has=function(t){return this._defaultValues.hasOwnProperty(t)},Ae.prototype.get=function(t,e){if(!this.has(t))return e;var r=this._defaultValues[t];return this._map?this._map.get(t,r):r},Ae.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var t=this.constructor;return t._empty||(t._empty=je(this,zt()))},Ae.prototype.set=function(t,e){if(!this.has(t))throw new Error('Cannot set unknown key "'+t+'" on '+Re(this));if(this._map&&!this._map.has(t)){var r=this._defaultValues[t];if(e===r)return this}var n=this._map&&this._map.set(t,e);return this.__ownerID||n===this._map?this:je(this,n)},Ae.prototype.remove=function(t){if(!this.has(t))return this;var e=this._map&&this._map.remove(t);return this.__ownerID||e===this._map?this:je(this,e)},Ae.prototype.wasAltered=function(){return this._map.wasAltered()},Ae.prototype.__iterator=function(t,e){var n=this;return r(this._defaultValues).map(function(t,e){return n.get(e)}).__iterator(t,e)},Ae.prototype.__iterate=function(t,e){var n=this;return r(this._defaultValues).map(function(t,e){return n.get(e)}).__iterate(t,e)},Ae.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map&&this._map.__ensureOwner(t);return t?je(this,e,t):(this.__ownerID=t,this._map=e,this)};var Gr=Ae.prototype;Gr[_r]=Gr.remove,Gr.deleteIn=Gr.removeIn=Cr.removeIn,Gr.merge=Cr.merge,Gr.mergeWith=Cr.mergeWith,Gr.mergeIn=Cr.mergeIn,Gr.mergeDeep=Cr.mergeDeep,Gr.mergeDeepWith=Cr.mergeDeepWith,Gr.mergeDeepIn=Cr.mergeDeepIn,Gr.setIn=Cr.setIn,Gr.update=Cr.update,Gr.updateIn=Cr.updateIn,Gr.withMutations=Cr.withMutations,Gr.asMutable=Cr.asMutable,Gr.asImmutable=Cr.asImmutable,t(Le,nt),Le.of=function(){return this(arguments)},Le.fromKeys=function(t){return this(r(t).keySeq())},Le.prototype.toString=function(){return this.__toString("Set {","}")},Le.prototype.has=function(t){return this._map.has(t)},Le.prototype.add=function(t){return Be(this,this._map.set(t,!0))},Le.prototype.remove=function(t){return Be(this,this._map.remove(t))},Le.prototype.clear=function(){return Be(this,this._map.clear())},Le.prototype.union=function(){var t=sr.call(arguments,0);return t=t.filter(function(t){return 0!==t.size}),0===t.length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations(function(e){for(var r=0;r=0;r--)e={value:arguments[r],next:e};return this.__ownerID?(this.size=t,this._head=e,this.__hash=void 0,this.__altered=!0,this):Qe(t,e)},Ve.prototype.pushAll=function(t){if(t=n(t),0===t.size)return this;ft(t.size);var e=this.size,r=this._head;return t.reverse().forEach(function(t){e++,r={value:t,next:r}}),this.__ownerID?(this.size=e,this._head=r,this.__hash=void 0,this.__altered=!0,this):Qe(e,r)},Ve.prototype.pop=function(){return this.slice(1)},Ve.prototype.unshift=function(){return this.push.apply(this,arguments)},Ve.prototype.unshiftAll=function(t){return this.pushAll(t)},Ve.prototype.shift=function(){return this.pop.apply(this,arguments)},Ve.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):Xe()},Ve.prototype.slice=function(t,e){if(d(t,e,this.size))return this;var r=m(t,this.size),n=g(e,this.size);if(n!==this.size)return rt.prototype.slice.call(this,t,e);for(var i=this.size-r,o=this._head;r--;)o=o.next;return this.__ownerID?(this.size=i,this._head=o,this.__hash=void 0,this.__altered=!0,this):Qe(i,o)},Ve.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Qe(this.size,this._head,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},Ve.prototype.__iterate=function(t,e){if(e)return this.reverse().__iterate(t);for(var r=0,n=this._head;n&&t(n.value,r++,this)!==!1;)n=n.next;return r},Ve.prototype.__iterator=function(t,e){if(e)return this.reverse().__iterator(t);var r=0,n=this._head;return new S(function(){if(n){var e=n.value;return n=n.next,z(t,r++,e)}return I()})},Ve.isStack=Ye;var nn="@@__IMMUTABLE_STACK__@@",on=Ve.prototype;on[nn]=!0,on.withMutations=Cr.withMutations,on.asMutable=Cr.asMutable,on.asImmutable=Cr.asImmutable,on.wasAltered=Cr.wasAltered;var un;e.Iterator=S,Fe(e,{toArray:function(){ft(this.size);var t=new Array(this.size||0);return this.valueSeq().__iterate(function(e,r){t[r]=e}),t},toIndexedSeq:function(){return new ie(this)},toJS:function(){return this.toSeq().map(function(t){return t&&"function"==typeof t.toJS?t.toJS():t}).__toJS()},toJSON:function(){return this.toSeq().map(function(t){return t&&"function"==typeof t.toJSON?t.toJSON():t}).__toJS()},toKeyedSeq:function(){return new ne(this,!0)},toMap:function(){return ct(this.toKeyedSeq())},toObject:function(){ft(this.size);var t={};return this.__iterate(function(e,r){t[r]=e}),t},toOrderedMap:function(){return Zt(this.toKeyedSeq())},toOrderedSet:function(){return Je(u(this)?this.valueSeq():this)},toSet:function(){return Le(u(this)?this.valueSeq():this)},toSetSeq:function(){return new oe(this)},toSeq:function(){return s(this)?this.toIndexedSeq():u(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Ve(u(this)?this.valueSeq():this)},toList:function(){return Bt(u(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(t,e){return 0===this.size?t+e:t+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+e},concat:function(){var t=sr.call(arguments,0);return be(this,ye(this,t))},includes:function(t){return this.some(function(e){return X(e,t)})},entries:function(){return this.__iterator(Sr)},every:function(t,e){ft(this.size);var r=!0;return this.__iterate(function(n,i,o){if(!t.call(e,n,i,o))return r=!1,!1}),r},filter:function(t,e){return be(this,fe(this,t,e,!0))},find:function(t,e,r){var n=this.findEntry(t,e);return n?n[1]:r},forEach:function(t,e){return ft(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){ft(this.size),t=void 0!==t?""+t:",";var e="",r=!0;return this.__iterate(function(n){r?r=!1:e+=t,e+=null!==n&&void 0!==n?n.toString():""}),e},keys:function(){return this.__iterator(gr)},map:function(t,e){return be(this,ae(this,t,e))},reduce:function(t,e,r){ft(this.size);var n,i;return arguments.length<2?i=!0:n=e,this.__iterate(function(e,o,u){i?(i=!1,n=e):n=t.call(r,n,e,o,u)}),n},reduceRight:function(t,e,r){var n=this.toKeyedSeq().reverse();return n.reduce.apply(n,arguments)},reverse:function(){return be(this,he(this,!0))},slice:function(t,e){return be(this,pe(this,t,e,!0))},some:function(t,e){return!this.every($e(t),e)},sort:function(t){return be(this,we(this,t))},values:function(){return this.__iterator(wr)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some(function(){return!0})},count:function(t,e){return v(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return ce(this,t,e)},equals:function(t){return F(this,t)},entrySeq:function(){var t=this;if(t._cache)return new j(t._cache);var e=t.toSeq().map(Ze).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter($e(t),e)},findEntry:function(t,e,r){var n=r;return this.__iterate(function(r,i,o){if(t.call(e,r,i,o))return n=[i,r],!1}),n},findKey:function(t,e){var r=this.findEntry(t,e);return r&&r[0]},findLast:function(t,e,r){return this.toKeyedSeq().reverse().find(t,e,r)},findLastEntry:function(t,e,r){return this.toKeyedSeq().reverse().findEntry(t,e,r)},findLastKey:function(t,e){return this.toKeyedSeq().reverse().findKey(t,e)},first:function(){return this.find(y)},flatMap:function(t,e){return be(this,me(this,t,e))},flatten:function(t){return be(this,de(this,t,!0))},fromEntrySeq:function(){return new ue(this)},get:function(t,e){return this.find(function(e,r){return X(r,t)},void 0,e)},getIn:function(t,e){for(var r,n=this,i=ke(t);!(r=i.next()).done;){var o=r.value;if(n=n&&n.get?n.get(o,yr):yr,n===yr)return e}return n},groupBy:function(t,e){return _e(this,t,e)},has:function(t){return this.get(t,yr)!==yr},hasIn:function(t){return this.getIn(t,yr)!==yr},isSubset:function(t){return t="function"==typeof t.includes?t:e(t),this.every(function(e){return t.includes(e)})},isSuperset:function(t){return t="function"==typeof t.isSubset?t:e(t),t.isSubset(this)},keyOf:function(t){return this.findKey(function(e){return X(e,t)})},keySeq:function(){return this.toSeq().map(Ge).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(t){return this.toKeyedSeq().reverse().keyOf(t)},max:function(t){return Se(this,t)},maxBy:function(t,e){return Se(this,e,t)},min:function(t){return Se(this,t?tr(t):nr)},minBy:function(t,e){return Se(this,e?tr(e):nr,t)},rest:function(){return this.slice(1)},skip:function(t){return this.slice(Math.max(0,t))},skipLast:function(t){return be(this,this.toSeq().reverse().skip(t).reverse())},skipWhile:function(t,e){return be(this,le(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile($e(t),e)},sortBy:function(t,e){return be(this,we(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return be(this,this.toSeq().reverse().take(t).reverse())},takeWhile:function(t,e){return be(this,ve(this,t,e))},takeUntil:function(t,e){return this.takeWhile($e(t),e)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=ir(this))}});var sn=e.prototype;sn[ar]=!0,sn[br]=sn.values,sn.__toJS=sn.toArray,sn.__toStringMapper=er,sn.inspect=sn.toSource=function(){return this.toString()},sn.chain=sn.flatMap,sn.contains=sn.includes,Fe(r,{flip:function(){return be(this,se(this))},mapEntries:function(t,e){var r=this,n=0;return be(this,this.toSeq().map(function(i,o){return t.call(e,[o,i],n++,r)}).fromEntrySeq())},mapKeys:function(t,e){var r=this;return be(this,this.toSeq().flip().map(function(n,i){return t.call(e,n,i,r)}).flip())}});var an=r.prototype;an[hr]=!0,an[br]=sn.entries,an.__toJS=sn.toObject,an.__toStringMapper=function(t,e){return JSON.stringify(e)+": "+er(t)},Fe(n,{toKeyedSeq:function(){return new ne(this,!1)},filter:function(t,e){return be(this,fe(this,t,e,!1))},findIndex:function(t,e){var r=this.findEntry(t,e);return r?r[0]:-1},indexOf:function(t){var e=this.keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.lastKeyOf(t);return void 0===e?-1:e},reverse:function(){return be(this,he(this,!1))},slice:function(t,e){return be(this,pe(this,t,e,!1))},splice:function(t,e){var r=arguments.length;if(e=Math.max(0|e,0),0===r||2===r&&!e)return this;t=m(t,t<0?this.count():this.size);var n=this.slice(0,t);return be(this,1===r?n:n.concat(p(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var r=this.findLastEntry(t,e);return r?r[0]:-1},first:function(){return this.get(0)},flatten:function(t){return be(this,de(this,t,!1))},get:function(t,e){return t=l(this,t),t<0||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find(function(e,r){return r===t},void 0,e)},has:function(t){return t=l(this,t),t>=0&&(void 0!==this.size?this.size===1/0||t0&&(s=a.default.Children.only(this.props.children)),t&&(t=a.default.createElement(o.Text,{numberOfLines:1,allowFontScaling:!!this.props.allowFontScaling,style:[h.title,this.props.titleStyle]},t)),l&&(l=a.default.cloneElement(l,{style:[h.badge,l.props.style]}));var r=[h.container,t?null:h.untitledContainer,this.props.style];return!this.props.hidesTabTouch&&"android"===o.Platform.OS&&o.Platform.Version>=21?a.default.createElement(o.TouchableNativeFeedback,{testID:this.props.testID,background:o.TouchableNativeFeedback.Ripple(void 0,!0),onPress:this._handlePress},a.default.createElement(o.View,{style:r},a.default.createElement(o.View,null,s,l),t)):a.default.createElement(o.TouchableOpacity,{testID:this.props.testID,activeOpacity:this.props.hidesTabTouch?1:.8,onPress:this._handlePress,style:r},a.default.createElement(o.View,null,s,l),t)}},{key:"_handlePress",value:function(e){this.props.onPress&&this.props.onPress(e)}}]),t}(a.default.Component);f.propTypes={testID:i.default.string,title:i.default.string,titleStyle:o.Text.propTypes.style,badge:i.default.element,onPress:i.default.func,hidesTabTouch:i.default.bool,allowFontScaling:i.default.bool,style:p.default.style},s.default=f;var h=o.StyleSheet.create({badge:{position:"absolute",top:-6,right:-10},container:{flex:1,flexDirection:"column",justifyContent:"flex-end",alignItems:"center"},untitledContainer:{paddingBottom:13},title:{color:"#929292",fontSize:10,textAlign:"center",alignSelf:"stretch",marginTop:4,marginBottom:1+c.default.pixel}})},513); +__d(function(e,p,o,r){Object.defineProperty(r,"__esModule",{value:!0});var d=p(24),i=d.ViewPropTypes||d.View.propTypes;r.default=i},514); +__d(function(e,t,r,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var a=t(12),o=babelHelpers.interopRequireDefault(a),s=t(24),i=t(514),n=babelHelpers.interopRequireDefault(i),p=t(511),u=babelHelpers.interopRequireDefault(p),b=function(e){function t(){return babelHelpers.classCallCheck(this,t),babelHelpers.possibleConstructorReturn(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return babelHelpers.inherits(t,e),babelHelpers.createClass(t,[{key:"render",value:function(){return o.default.createElement(s.Animated.View,babelHelpers.extends({},this.props,{style:[d.container,this.props.style]}),this.props.children,o.default.createElement(s.View,{style:[d.shadow,this.props.shadowStyle]}))}}]),t}(o.default.Component);b.propTypes=babelHelpers.extends({},s.Animated.View.propTypes,{shadowStyle:n.default.style}),l.default=b;var d=s.StyleSheet.create({container:{backgroundColor:"#f8f8f8",flexDirection:"row",justifyContent:"space-around",height:u.default.tabBarHeight,position:"absolute",bottom:0,left:0,right:0},shadow:{backgroundColor:"rgba(0, 0, 0, 0.25)",height:u.default.pixel,position:"absolute",left:0,right:0,top:"android"===s.Platform.OS?0:-u.default.pixel}})},515); +__d(function(e,t,l,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t(12),s=babelHelpers.interopRequireDefault(n),a=t(19),u=babelHelpers.interopRequireDefault(a),o=t(24),p=t(514),d=babelHelpers.interopRequireDefault(p),f=function(e){function t(){return babelHelpers.classCallCheck(this,t),babelHelpers.possibleConstructorReturn(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return babelHelpers.inherits(t,e),babelHelpers.createClass(t,[{key:"render",value:function(){var e=s.default.Children.only(this.props.children);return s.default.cloneElement(e,{style:[e.props.style,this.props.style]})}}]),t}(s.default.Component);f.propTypes={renderIcon:u.default.func,renderSelectedIcon:u.default.func,badgeText:u.default.oneOfType([u.default.string,u.default.number]),renderBadge:u.default.func,title:u.default.string,titleStyle:o.Text.propTypes.style,selectedTitleStyle:o.Text.propTypes.style,tabStyle:d.default.style,selected:u.default.bool,onPress:u.default.func,allowFontScaling:u.default.bool},f.defaultProps={},r.default=f},516); +__d(function(e,t,a,n){Object.defineProperty(n,"__esModule",{value:!0});var r=t(12),o=babelHelpers.interopRequireDefault(r),i=t(508),l=babelHelpers.interopRequireDefault(i),u=function(e){return console.warn("Warning: Tab has been deprecated and will be removed in a future version of React Native Elements. For a complete navigation solution that includes Tabs as well as many other features, be sure to check out react-navigation (https://reactnavigation.org) and it's TabRouter."),o.default.createElement(l.default.Item,e)};n.default=u},517); +__d(function(e,a,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=a(12),i=babelHelpers.interopRequireDefault(r),o=a(519),l=babelHelpers.interopRequireDefault(o),u=function(e){return console.warn("Warning: SideMenu has been deprecated and will be removed in a future version of React Native Elements. For a complete navigation solution that includes SideMenu(Drawer) as well as many other features, be sure to check out react-navigation (https://reactnavigation.org) and it's DrawerNavigator."),i.default.createElement(l.default,e)};n.default=u},518); +__d(function(e,t,n,o){function i(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(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 e>y}Object.defineProperty(o,"__esModule",{value:!0});var l=Object.assign||function(e){for(var t=1;t=0){var n=this.prevLeft+t.dx;!this.props.bounceBackOnOverdraw&&Math.abs(n)>this.state.openMenuOffset&&(n=this.menuPositionMultiplier()*this.state.openMenuOffset),this.props.onMove(n),this.state.left.setValue(n)}}},{key:"handlePanResponderEnd",value:function(e,t){var n=this.menuPositionMultiplier()*(this.state.left.__getValue()+t.dx);this.openMenu(s(n))}},{key:"handleMoveShouldSetPanResponder",value:function(e,t){if(this.gesturesAreEnabled()){var n=Math.round(Math.abs(t.dx)),o=Math.round(Math.abs(t.dy)),i=n>this.props.toleranceX&&ob.width-this.props.edgeHitWidth:t.moveX0;return r&&i&&a}return!1}},{key:"openMenu",value:function(e){var t=this.state,n=t.hiddenMenuOffset,o=t.openMenuOffset;this.moveLeft(e?o:n),this.isOpen=e,this.forceUpdate(),this.props.onChange(e)}},{key:"gesturesAreEnabled",value:function(){var e=this.props.disableGestures;return"function"==typeof e?!e():!e}},{key:"render",value:function(){var e="right"===this.props.menuPosition?{left:this.state.width-this.state.openMenuOffset}:{right:this.state.width-this.state.openMenuOffset},t=p.default.createElement(c.View,{style:[M.default.menu,e],__source:{fileName:f,lineNumber:238}},this.props.menu);return p.default.createElement(c.View,{style:M.default.container,onLayout:this.onLayoutChange,__source:{fileName:f,lineNumber:244}},t,this.getContentView())}}]),t}(p.default.Component);o.default=P,P.propTypes={edgeHitWidth:v.default.number,toleranceX:v.default.number,toleranceY:v.default.number,menuPosition:v.default.oneOf(["left","right"]),onChange:v.default.func,onMove:v.default.func,children:v.default.node,menu:v.default.node,openMenuOffset:v.default.number,hiddenMenuOffset:v.default.number,animationStyle:v.default.func,disableGestures:v.default.oneOfType([v.default.func,v.default.bool]),animationFunction:v.default.func,onStartShouldSetResponderCapture:v.default.func,isOpen:v.default.bool,bounceBackOnOverdraw:v.default.bool,autoClosing:v.default.bool},P.defaultProps={toleranceY:10,toleranceX:10,edgeHitWidth:60,children:null,menu:null,openMenuOffset:.6666666666666666*b.width,disableGestures:!1,menuPosition:"left",hiddenMenuOffset:0,onMove:function(){},onStartShouldSetResponderCapture:function(){return!0},onChange:function(){},animationStyle:function(e){return{transform:[{translateX:e}]}},animationFunction:function(e,t){return c.Animated.spring(e,{toValue:t,friction:8})},isOpen:!1,bounceBackOnOverdraw:!0,autoClosing:!0}},519); +__d(function(t,e,o,r){Object.defineProperty(r,"__esModule",{value:!0});var n=Object.assign||function(t){for(var e=1;eu},onStartShouldSetPanResponder:function(){return!0},onPanResponderMove:function(e,t){a.setValue({x:t.dx,y:t.dy})},onPanResponderRelease:function(e,t){t.dx>p?n.forceSwipe("right"):t.dx<-p?n.forceSwipe("left"):n.resetPosition()}});return n.state={panResponder:i,position:a,index:0},n}return babelHelpers.inherits(t,e),babelHelpers.createClass(t,[{key:"componentWillReceiveProps",value:function(e){e.data!==this.props.data&&this.setState({index:0})}},{key:"componentWillUpdate",value:function(){d.UIManager.setLayoutAnimationEnabledExperimental&&d.UIManager.setLayoutAnimationEnabledExperimental(!0),d.LayoutAnimation.spring()}},{key:"forceSwipe",value:function(e){var t=this,n="right"===e?l:-l;d.Animated.timing(this.state.position,{toValue:{x:2*n,y:"right"===e?-n:n},duration:750}).start(function(){return t.onSwipeComplete(e)})}},{key:"onSwipeComplete",value:function(e){var t=this.props,n=t.onSwipeRight,a=t.onSwipeLeft,i=t.data,r=i[this.state.index];"right"===e?n(r):a(r),this.state.position.setValue({x:0,y:0}),this.setState({index:this.state.index+1})}},{key:"resetPosition",value:function(){d.Animated.spring(this.state.position,{toValue:{x:0,y:0}}).start()}},{key:"getCardStyle",value:function(){var e=this.state.position,t=e.x.interpolate({inputRange:[2*-l,0,2*l],outputRange:["-60deg","0deg","60deg"]});return babelHelpers.extends({},this.state.position.getLayout(),{transform:[{rotate:t}]})}},{key:"renderCards",value:function(){var e=this;return this.state.index>=this.props.data.length?this.props.renderNoMoreCards():this.props.data.map(function(t,n){return nl.label?1:0}Object.defineProperty(_,"__esModule",{value:!0}),_.DEFAULT_CENTER_COORDINATE=_.IS_ANDROID=void 0,_.onSortOptions=n;var O=l(24);_.IS_ANDROID="android"===O.Platform.OS,_.DEFAULT_CENTER_COORDINATE=[-77.036086,38.910233]},525); +__d(function(e,l,t,a){Object.defineProperty(a,"__esModule",{value:!0});var n=l(527),r=babelHelpers.interopRequireDefault(n),u=function(){function e(){babelHelpers.classCallCheck(this,e)}return babelHelpers.createClass(e,[{key:"get",value:function(e){return r.default[e]}}]),e}(),s=new u;a.default=s},526); +__d(function(i,c,I,e){I.exports={accessToken:"pk.eyJ1Ijoibmlja2l0YWxpYW5vIiwiYSI6ImNqNzlia29wbTAwMzAycXF6bm55Mjlyc3UifQ.lob2IIX6ce6iaS206_hkJA"}},527); +__d(function(e,t,a,l){Object.defineProperty(l,"__esModule",{value:!0});var r=t(12),s=babelHelpers.interopRequireDefault(r),n=t(276),o=babelHelpers.interopRequireDefault(n),p=t(529),i=babelHelpers.interopRequireDefault(p),u=t(530),b=babelHelpers.interopRequireDefault(u),f=t(524),d=babelHelpers.interopRequireDefault(f),c=t(525),h=function(e){function t(e){babelHelpers.classCallCheck(this,t);var a=babelHelpers.possibleConstructorReturn(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return a._mapOptions=Object.keys(o.default.StyleURL).map(function(e){return{label:e,data:o.default.StyleURL[e]}}).sort(c.onSortOptions),a.state={styleURL:a._mapOptions[0].data},a.onMapChange=a.onMapChange.bind(a),a}return babelHelpers.inherits(t,e),babelHelpers.createClass(t,[{key:"onMapChange",value:function(e,t){this.setState({styleURL:t})}},{key:"render",value:function(){return s.default.createElement(b.default,babelHelpers.extends({},this.props,{scrollable:!0,options:this._mapOptions,onOptionPress:this.onMapChange}),s.default.createElement(o.default.MapView,{showUserLocation:!0,userTrackingMode:o.default.UserTrackingModes.Follow,styleURL:this.state.styleURL,style:d.default.matchParent}))}}]),t}(s.default.Component);h.propTypes=babelHelpers.extends({},i.default),l.default=h},528); +__d(function(e,i,l,u){Object.defineProperty(u,"__esModule",{value:!0});var a=i(19),r=babelHelpers.interopRequireDefault(a),t={label:r.default.string.isRequired,onDismissExample:r.default.func.isRequired};u.default=t},529); +__d(function(e,t,r,l){Object.defineProperty(l,"__esModule",{value:!0});var n=t(12),o=babelHelpers.interopRequireDefault(n),a=t(19),s=babelHelpers.interopRequireDefault(a),i=t(24),u=t(283),p=t(529),d=babelHelpers.interopRequireDefault(p),b=t(531),c=babelHelpers.interopRequireDefault(b),f=t(523),h=babelHelpers.interopRequireDefault(f),y=70,m=i.StyleSheet.create({buttonGroup:{height:y,marginLeft:0,marginRight:0,marginTop:0,marginBottom:0,backgroundColor:h.default.secondary.white},scrollableButton:{paddingHorizontal:24}}),g=s.default.shape({label:s.default.string,data:s.default.any}),H=function(e){function t(e){babelHelpers.classCallCheck(this,t);var r=babelHelpers.possibleConstructorReturn(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.state={currentIndex:e.initialIndex},r.onOptionPress=r.onOptionPress.bind(r),r}return babelHelpers.inherits(t,e),babelHelpers.createClass(t,[{key:"onOptionPress",value:function(e){if(this.setState({currentIndex:e}),"function"==typeof this.props.onOptionPress){var t=this.props.options[e];this.props.onOptionPress(e,t.data)}}},{key:"render",value:function(){var e={selectedBackgroundColor:h.default.primary.grayFaint,containerBorderRadius:0,onPress:this.onOptionPress,selectedIndex:this.state.currentIndex,buttons:this.props.options.map(function(e){return e.label}),containerStyle:m.buttonGroup};this.props.scrollable&&(e.buttonStyle=m.scrollableButton);var t=this.props.scrollable?o.default.createElement(i.ScrollView,{horizontal:!0,style:{maxHeight:y}},o.default.createElement(u.ButtonGroup,e)):o.default.createElement(u.ButtonGroup,e);return o.default.createElement(c.default,this.props,this.props.children,t)}}]),t}(o.default.Component);H.propTypes=babelHelpers.extends({},d.default,{scrollable:s.default.bool,options:s.default.arrayOf(g).isRequired,initialIndex:s.default.number.isRequired,onOptionPress:s.default.func}),H.defaultProps={initialIndex:0,scrollable:!1},l.default=H},530); +__d(function(e,t,r,l){Object.defineProperty(l,"__esModule",{value:!0});var a=t(12),s=babelHelpers.interopRequireDefault(a),p=t(24),n=t(529),u=babelHelpers.interopRequireDefault(n),i=t(522),o=babelHelpers.interopRequireDefault(i),b=t(524),f=babelHelpers.interopRequireDefault(b),c=t(523),d=babelHelpers.interopRequireDefault(c),h=function(e){function t(){return babelHelpers.classCallCheck(this,t),babelHelpers.possibleConstructorReturn(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return babelHelpers.inherits(t,e),babelHelpers.createClass(t,[{key:"render",value:function(){return s.default.createElement(p.View,{style:f.default.matchParent},this.props.children,s.default.createElement(o.default,{backgroundColor:d.default.primary.pink,statusBarColor:d.default.primary.pinkDark,statusBarTextTheme:"light-content",label:this.props.label,onBack:this.props.onDismissExample}))}}]),t}(s.default.Component);h.propTypes=babelHelpers.extends({},u.default),l.default=h},531); +__d(function(e,t,a,l){Object.defineProperty(l,"__esModule",{value:!0});var r=t(12),n=babelHelpers.interopRequireDefault(r),i=t(276),s=babelHelpers.interopRequireDefault(i),o=t(529),p=babelHelpers.interopRequireDefault(o),u=t(530),b=babelHelpers.interopRequireDefault(u),c=t(524),d=babelHelpers.interopRequireDefault(c),f=function(e){function t(e){babelHelpers.classCallCheck(this,t);var a=babelHelpers.possibleConstructorReturn(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return a._pitchOptions=[{label:"15",data:15},{label:"45",data:45},{label:"60",data:60}],a.onUpdatePitch=a.onUpdatePitch.bind(a),a}return babelHelpers.inherits(t,e),babelHelpers.createClass(t,[{key:"onUpdatePitch",value:function(e,t){this.map.setCamera({pitch:t,duration:300})}},{key:"render",value:function(){var e=this;return n.default.createElement(b.default,babelHelpers.extends({},this.props,{options:this._pitchOptions,onOptionPress:this.onUpdatePitch}),n.default.createElement(s.default.MapView,{ref:function(t){return e.map=t},pitch:15,showUserLocation:!0,userTrackingMode:s.default.UserTrackingModes.Follow,style:d.default.matchParent}))}}]),t}(n.default.Component);f.propTypes=babelHelpers.extends({},p.default),l.default=f},532); +__d(function(e,a,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=a(12),l=babelHelpers.interopRequireDefault(n),i=a(276),s=babelHelpers.interopRequireDefault(i),o=a(529),u=babelHelpers.interopRequireDefault(o),p=a(530),b=babelHelpers.interopRequireDefault(p),d=a(524),f=babelHelpers.interopRequireDefault(d),c=function(e){function a(e){babelHelpers.classCallCheck(this,a);var t=babelHelpers.possibleConstructorReturn(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,e));return t._bearingOptions=[{label:"0",data:0},{label:"90",data:90},{label:"180",data:180}],t.onBearingChange=t.onBearingChange.bind(t),t}return babelHelpers.inherits(a,e),babelHelpers.createClass(a,[{key:"onBearingChange",value:function(e,a){this.map.setCamera({heading:a,duration:150})}},{key:"render",value:function(){var e=this;return l.default.createElement(b.default,babelHelpers.extends({},this.props,{options:this._bearingOptions,onOptionPress:this.onBearingChange}),l.default.createElement(s.default.MapView,{ref:function(a){return e.map=a},heading:0,showUserLocation:!0,userTrackingMode:s.default.UserTrackingModes.Follow,style:f.default.matchParent}))}}]),a}(l.default.Component);c.propTypes=babelHelpers.extends({},u.default),r.default=c},533); +__d(function(e,t,l,n){Object.defineProperty(n,"__esModule",{value:!0});var r=t(12),a=babelHelpers.interopRequireDefault(r),i=t(24),s=t(276),u=babelHelpers.interopRequireDefault(s),o=t(529),d=babelHelpers.interopRequireDefault(o),c=t(531),f=babelHelpers.interopRequireDefault(c),p=t(535),b=babelHelpers.interopRequireDefault(p),h=t(524),P=babelHelpers.interopRequireDefault(h),m=t(525),C=function(e){function t(e){babelHelpers.classCallCheck(this,t);var l=babelHelpers.possibleConstructorReturn(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return l.state={latitude:void 0,longitude:void 0,screenPointX:void 0,screenPointY:void 0},l.onPress=l.onPress.bind(l),l}return babelHelpers.inherits(t,e),babelHelpers.createClass(t,[{key:"onPress",value:function(e){var t=e.geometry,l=e.properties;this.setState({latitude:t.coordinates[1],longitude:t.coordinates[0],screenPointX:l.screenPointX,screenPointY:l.screenPointY})}},{key:"renderLastClicked",value:function(){return this.hasValidLastClick?a.default.createElement(b.default,null,a.default.createElement(i.Text,null,"Latitude: ",this.state.latitude),a.default.createElement(i.Text,null,"Longitude: ",this.state.longitude),a.default.createElement(i.Text,null,"Screen Point X: ",this.state.screenPointX),a.default.createElement(i.Text,null,"Screen Point Y: ",this.state.screenPointY)):a.default.createElement(b.default,null,a.default.createElement(i.Text,null,"Click the map!"))}},{key:"render",value:function(){return a.default.createElement(f.default,this.props,a.default.createElement(u.default.MapView,{centerCoordinate:m.DEFAULT_CENTER_COORDINATE,style:P.default.matchParent,onPress:this.onPress}),this.renderLastClicked())}},{key:"hasValidLastClick",get:function(){return"number"==typeof this.state.latitude&&"number"==typeof this.state.longitude}}]),t}(a.default.Component);C.propTypes=babelHelpers.extends({},d.default),n.default=C},534); +__d(function(e,t,r,n){Object.defineProperty(n,"__esModule",{value:!0});var l=t(12),i=babelHelpers.interopRequireDefault(l),o=t(24),a=o.StyleSheet.create({containter:{borderRadius:30,position:"absolute",bottom:16,left:48,right:48,paddingVertical:16,minHeight:60,alignItems:"center",justifyContent:"center",backgroundColor:"white"}}),s=function(e){function t(){return babelHelpers.classCallCheck(this,t),babelHelpers.possibleConstructorReturn(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return babelHelpers.inherits(t,e),babelHelpers.createClass(t,[{key:"render",value:function(){return i.default.createElement(o.View,{style:a.containter},this.props.children)}}]),t}(i.default.PureComponent);n.default=s},535); +__d(function(e,t,l,o){Object.defineProperty(o,"__esModule",{value:!0});var r=t(12),n=babelHelpers.interopRequireDefault(r),a=t(24),s=t(276),i=babelHelpers.interopRequireDefault(s),p=t(529),u=babelHelpers.interopRequireDefault(p),b=t(530),f=babelHelpers.interopRequireDefault(b),C=t(524),F=babelHelpers.interopRequireDefault(C),d=function(e){function t(e){babelHelpers.classCallCheck(this,t);var l=babelHelpers.possibleConstructorReturn(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return l._flyToOptions=[{label:"SF",data:t.SF_OFFICE_LOCATION},{label:"DC",data:t.DC_OFFICE_LOCATION}],l.onFlyToPress=l.onFlyToPress.bind(l),l.onFlyToComplete=l.onFlyToComplete.bind(l),l}return babelHelpers.inherits(t,e),babelHelpers.createClass(t,[{key:"onFlyToPress",value:function(e,t){this.map.flyTo(t,6e3)}},{key:"onFlyToComplete",value:function(){a.Alert.alert("Fly To Animation Completed","We did it!!!")}},{key:"render",value:function(){var e=this;return n.default.createElement(f.default,babelHelpers.extends({},this.props,{options:this._flyToOptions,onOptionPress:this.onFlyToPress}),n.default.createElement(i.default.MapView,{zoomLevel:18,onFlyToComplete:this.onFlyToComplete,centerCoordinate:t.SF_OFFICE_LOCATION,ref:function(t){return e.map=t},style:F.default.matchParent}))}}]),t}(n.default.Component);d.SF_OFFICE_LOCATION=[-122.400021,37.789085],d.DC_OFFICE_LOCATION=[-77.036086,38.910233],d.propTypes=babelHelpers.extends({},u.default),o.default=d},536); +__d(function(e,t,l,a){Object.defineProperty(a,"__esModule",{value:!0});var r=t(12),n=babelHelpers.interopRequireDefault(r),o=t(276),s=babelHelpers.interopRequireDefault(o),u=t(529),i=babelHelpers.interopRequireDefault(u),p=t(530),b=babelHelpers.interopRequireDefault(p),d=t(524),f=babelHelpers.interopRequireDefault(d),c=function(e){function t(e){babelHelpers.classCallCheck(this,t);var l=babelHelpers.possibleConstructorReturn(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),a=[[-74.135379,40.795909],[-74.135449,40.795578]],r=[[-74.12641,40.797968],[-74.143727,40.772177]];return l._bounds=[{label:"Fit House",data:a},{label:"Fit Town",data:r}],l.onFitBounds=l.onFitBounds.bind(l),l}return babelHelpers.inherits(t,e),babelHelpers.createClass(t,[{key:"onFitBounds",value:function(e,t){this.map.fitBounds(t[0],t[1],0,2e3)}},{key:"render",value:function(){var e=this;return n.default.createElement(b.default,babelHelpers.extends({},this.props,{options:this._bounds,onOptionPress:this.onFitBounds}),n.default.createElement(s.default.MapView,{ref:function(t){return e.map=t},zoomLevel:18,maxZoomLevel:19,centerCoordinate:[-74.135426,40.795765],styleURL:s.default.StyleURL.Satellite,style:f.default.matchParent}))}}]),t}(n.default.Component);c.propTypes=babelHelpers.extends({},i.default),a.default=c},537); +__d(function(e,t,r,a){Object.defineProperty(a,"__esModule",{value:!0});var n=t(12),l=babelHelpers.interopRequireDefault(n),s=t(276),i=babelHelpers.interopRequireDefault(s),o=t(529),u=babelHelpers.interopRequireDefault(o),p=t(530),c=babelHelpers.interopRequireDefault(p),b=t(524),d=babelHelpers.interopRequireDefault(b),f=t(525),g=function(e){function t(e){babelHelpers.classCallCheck(this,t);var r=babelHelpers.possibleConstructorReturn(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r._trackingOptions=Object.keys(i.default.UserTrackingModes).map(function(e){return{label:e,data:i.default.UserTrackingModes[e]}}).sort(f.onSortOptions),r.state={userTrackingMode:r._trackingOptions[0].data},r.onTrackingChange=r.onTrackingChange.bind(r),r}return babelHelpers.inherits(t,e),babelHelpers.createClass(t,[{key:"onTrackingChange",value:function(e,t){this.setState({userTrackingMode:t})}},{key:"render",value:function(){return l.default.createElement(c.default,babelHelpers.extends({},this.props,{scrollable:!0,options:this._trackingOptions,onOptionPress:this.onTrackingChange}),l.default.createElement(i.default.MapView,{showUserLocation:!0,userTrackingMode:this.state.userTrackingMode,style:d.default.matchParent}))}}]),t}(l.default.Component);g.propTypes=babelHelpers.extends({},u.default),a.default=g},538); +__d(function(e,t,a,l){Object.defineProperty(l,"__esModule",{value:!0});var n=t(12),r=babelHelpers.interopRequireDefault(n),i=t(24),u=t(276),o=babelHelpers.interopRequireDefault(u),d=t(529),s=babelHelpers.interopRequireDefault(d),f=t(531),c=babelHelpers.interopRequireDefault(f),p=t(535),b=babelHelpers.interopRequireDefault(p),g=t(524),h=babelHelpers.interopRequireDefault(g),m=t(525),C=function(e){function t(e){babelHelpers.classCallCheck(this,t);var a=babelHelpers.possibleConstructorReturn(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return a.state={regionFeature:void 0},a.onRegionDidChange=a.onRegionDidChange.bind(a),a}return babelHelpers.inherits(t,e),babelHelpers.createClass(t,[{key:"isValidCoordinate",value:function(e){return!!e&&(0!==e.coordinates[0]&&0!==e.coordinates[1])}},{key:"onRegionDidChange",value:function(e){this.setState({regionFeature:e})}},{key:"renderRegionChange",value:function(){if(!this.state.regionFeature||!this.isValidCoordinate(this.state.regionFeature.geometry))return r.default.createElement(b.default,null,r.default.createElement(i.Text,null,"Move the map!"));var e=this.state.regionFeature,t=e.geometry,a=e.properties;return r.default.createElement(b.default,null,r.default.createElement(i.Text,null,"Latitude: ",t.coordinates[1]),r.default.createElement(i.Text,null,"Longitude: ",t.coordinates[0]),r.default.createElement(i.Text,null,"Zoom Level: ",a.zoomLevel),r.default.createElement(i.Text,null,"Heading: ",a.heading),r.default.createElement(i.Text,null,"Pitch: ",a.pitch),r.default.createElement(i.Text,null,"Animated: ",a.animated?"true":"false"))}},{key:"render",value:function(){return r.default.createElement(c.default,this.props,r.default.createElement(o.default.MapView,{centerCoordinate:m.DEFAULT_CENTER_COORDINATE,style:h.default.matchParent,onRegionDidChange:this.onRegionDidChange}),this.renderRegionChange())}}]),t}(r.default.Component);C.propTypes=babelHelpers.extends({},s.default),l.default=C},539); +__d(function(e,t,l,a){Object.defineProperty(a,"__esModule",{value:!0});var o=t(12),r=babelHelpers.interopRequireDefault(o),n=t(276),u=babelHelpers.interopRequireDefault(n),s=t(529),i=babelHelpers.interopRequireDefault(s),p=t(531),f=babelHelpers.interopRequireDefault(p),d=t(524),b=babelHelpers.interopRequireDefault(d),c=t(525),m=function(e){function t(e){babelHelpers.classCallCheck(this,t);var l=babelHelpers.possibleConstructorReturn(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return l.state={zoomLevel:16},l.onUpdateZoomLevel=l.onUpdateZoomLevel.bind(l),l}return babelHelpers.inherits(t,e),babelHelpers.createClass(t,[{key:"componentDidMount",value:function(){this.map.zoomTo(this.state.zoomLevel,12e3)}},{key:"onUpdateZoomLevel",value:function(){var e=16===this.state.zoomLevel?1:16;this.setState({zoomLevel:e}),this.map.zoomTo(e,12e3)}},{key:"render",value:function(){var e=this;return r.default.createElement(f.default,this.props,r.default.createElement(u.default.MapView,{zoomLevel:1,centerCoordinate:c.DEFAULT_CENTER_COORDINATE,onSetCameraComplete:this.onUpdateZoomLevel,ref:function(t){return e.map=t},style:b.default.matchParent,styleURL:u.default.StyleURL.Dark},r.default.createElement(u.default.VectorSource,null,r.default.createElement(u.default.FillLayer,{id:"water"}))))}}]),t}(r.default.Component);m.propTypes=babelHelpers.extends({},i.default),a.default=m},540); +;require(72); +;require(0); \ No newline at end of file diff --git a/style-spec/v8.json b/style-spec/v8.json new file mode 100644 index 0000000..8a8a860 --- /dev/null +++ b/style-spec/v8.json @@ -0,0 +1,3555 @@ +{ + "$version": 8, + "$root": { + "version": { + "required": true, + "type": "enum", + "values": [8], + "doc": "Style specification version number. Must be 8.", + "example": 8 + }, + "name": { + "type": "string", + "doc": "A human-readable name for the style.", + "example": "Bright" + }, + "metadata": { + "type": "*", + "doc": "Arbitrary properties useful to track with the stylesheet, but do not influence rendering. Properties should be prefixed to avoid collisions, like 'mapbox:'." + }, + "center": { + "type": "array", + "value": "number", + "doc": "Default map center in longitude and latitude. The style center will be used only if the map has not been positioned by other means (e.g. map options or user interaction).", + "example": [-73.9749, 40.7736] + }, + "zoom": { + "type": "number", + "doc": "Default zoom level. The style zoom will be used only if the map has not been positioned by other means (e.g. map options or user interaction).", + "example": 12.5 + }, + "bearing": { + "type": "number", + "default": 0, + "period": 360, + "units": "degrees", + "doc": "Default bearing, in degrees clockwise from true north. The style bearing will be used only if the map has not been positioned by other means (e.g. map options or user interaction).", + "example": 29 + }, + "pitch": { + "type": "number", + "default": 0, + "units": "degrees", + "doc": "Default pitch, in degrees. Zero is perpendicular to the surface, for a look straight down at the map, while a greater value like 60 looks ahead towards the horizon. The style pitch will be used only if the map has not been positioned by other means (e.g. map options or user interaction).", + "example": 50 + }, + "light": { + "type": "light", + "doc": "The global light source.", + "example": { + "anchor": "viewport", + "color": "white", + "intensity": 0.4 + } + }, + "sources": { + "required": true, + "type": "sources", + "doc": "Data source specifications.", + "example": { + "mapbox-streets": { + "type": "vector", + "url": "mapbox://mapbox.mapbox-streets-v6" + } + } + }, + "sprite": { + "type": "string", + "doc": "A base URL for retrieving the sprite image and metadata. The extensions `.png`, `.json` and scale factor `@2x.png` will be automatically appended. This property is required if any layer uses the `background-pattern`, `fill-pattern`, `line-pattern`, `fill-extrusion-pattern`, or `icon-image` properties.", + "example": "mapbox://sprites/mapbox/bright-v8" + }, + "glyphs": { + "type": "string", + "doc": "A URL template for loading signed-distance-field glyph sets in PBF format. The URL must include `{fontstack}` and `{range}` tokens. This property is required if any layer uses the `text-field` layout property.", + "example": "mapbox://fonts/mapbox/{fontstack}/{range}.pbf" + }, + "transition": { + "type": "transition", + "doc": "A global transition definition to use as a default across properties.", + "example": { + "duration": 300, + "delay": 0 + } + }, + "layers": { + "required": true, + "type": "array", + "value": "layer", + "doc": "Layers will be drawn in the order of this array.", + "example": [ + { + "id": "water", + "source": "mapbox-streets", + "source-layer": "water", + "type": "fill", + "paint": { + "fill-color": "#00ffff" + } + } + ] + } + }, + "sources": { + "*": { + "type": "source", + "doc": "Specification of a data source. For vector and raster sources, either TileJSON or a URL to a TileJSON must be provided. For image and video sources, a URL must be provided. For GeoJSON sources, a URL or inline GeoJSON must be provided." + } + }, + "source": [ + "source_tile", + "source_geojson", + "source_video", + "source_image", + "source_canvas" + ], + "source_tile": { + "type": { + "required": true, + "type": "enum", + "values": { + "vector": { + "doc": "A vector tile source." + }, + "raster": { + "doc": "A raster tile source." + } + }, + "doc": "The data type of the tile source." + }, + "url": { + "type": "string", + "doc": "A URL to a TileJSON resource. Supported protocols are `http:`, `https:`, and `mapbox://`." + }, + "tiles": { + "type": "array", + "value": "string", + "doc": "An array of one or more tile source URLs, as in the TileJSON spec." + }, + "bounds": { + "type": "array", + "value": "number", + "length": 4, + "default": [-180, -85.0511, 180, 85.0511], + "doc": "An array containing the longitude and latitude of the southwest and northeast corners of the source's bounding box in the following order: `[sw.lng, sw.lat, ne.lng, ne.lat]`. When this property is included in a source, no tiles outside of the given bounds are requested by Mapbox GL." + }, + "minzoom": { + "type": "number", + "default": 0, + "doc": "Minimum zoom level for which tiles are available, as in the TileJSON spec." + }, + "maxzoom": { + "type": "number", + "default": 22, + "doc": "Maximum zoom level for which tiles are available, as in the TileJSON spec. Data from tiles at the maxzoom are used when displaying the map at higher zoom levels." + }, + "tileSize": { + "type": "number", + "default": 512, + "units": "pixels", + "doc": "The minimum visual size to display tiles for this layer. Only configurable for raster layers." + }, + "*": { + "type": "*", + "doc": "Other keys to configure the data source." + } + }, + "source_geojson": { + "type": { + "required": true, + "type": "enum", + "values": { + "geojson": { + "doc": "A GeoJSON data source." + } + }, + "doc": "The data type of the GeoJSON source." + }, + "data": { + "type": "*", + "doc": "A URL to a GeoJSON file, or inline GeoJSON." + }, + "maxzoom": { + "type": "number", + "default": 18, + "doc": "Maximum zoom level at which to create vector tiles (higher means greater detail at high zoom levels)." + }, + "buffer": { + "type": "number", + "default": 128, + "maximum": 512, + "minimum": 0, + "doc": "Size of the tile buffer on each side. A value of 0 produces no buffer. A value of 512 produces a buffer as wide as the tile itself. Larger values produce fewer rendering artifacts near tile edges and slower performance." + }, + "tolerance": { + "type": "number", + "default": 0.375, + "doc": "Douglas-Peucker simplification tolerance (higher means simpler geometries and faster performance)." + }, + "cluster": { + "type": "boolean", + "default": false, + "doc": "If the data is a collection of point features, setting this to true clusters the points by radius into groups." + }, + "clusterRadius": { + "type": "number", + "default": 50, + "minimum": 0, + "doc": "Radius of each cluster if clustering is enabled. A value of 512 indicates a radius equal to the width of a tile." + }, + "clusterMaxZoom": { + "type": "number", + "doc": "Max zoom on which to cluster points if clustering is enabled. Defaults to one zoom less than maxzoom (so that last zoom features are not clustered)." + } + }, + "source_video": { + "type": { + "required": true, + "type": "enum", + "values": { + "video": { + "doc": "A video data source." + } + }, + "doc": "The data type of the video source." + }, + "urls": { + "required": true, + "type": "array", + "value": "string", + "doc": "URLs to video content in order of preferred format." + }, + "coordinates": { + "required": true, + "doc": "Corners of video specified in longitude, latitude pairs.", + "type": "array", + "length": 4, + "value": { + "type": "array", + "length": 2, + "value": "number", + "doc": "A single longitude, latitude pair." + } + } + }, + "source_image": { + "type": { + "required": true, + "type": "enum", + "values": { + "image": { + "doc": "An image data source." + } + }, + "doc": "The data type of the image source." + }, + "url": { + "required": true, + "type": "string", + "doc": "URL that points to an image." + }, + "coordinates": { + "required": true, + "doc": "Corners of image specified in longitude, latitude pairs.", + "type": "array", + "length": 4, + "value": { + "type": "array", + "length": 2, + "value": "number", + "doc": "A single longitude, latitude pair." + } + } + }, + "source_canvas": { + "type": { + "required": true, + "type": "enum", + "values": { + "canvas": { + "doc": "A canvas data source." + } + }, + "doc": "The data type of the canvas source." + }, + "coordinates": { + "required": true, + "doc": "Corners of canvas specified in longitude, latitude pairs.", + "type": "array", + "length": 4, + "value": { + "type": "array", + "length": 2, + "value": "number", + "doc": "A single longitude, latitude pair." + } + }, + "animate": { + "type": "boolean", + "default": "true", + "doc": "Whether the canvas source is animated. If the canvas is static, `animate` should be set to `false` to improve performance." + }, + "canvas": { + "type": "string", + "required": true, + "doc": "HTML ID of the canvas from which to read pixels." + }, + "contextType": { + "required": true, + "type": "enum", + "values": { + "2d": { + "doc" : "Source canvas is associated with a `2d` drawing context." + }, + "webgl": { + "doc": "Source canvas is associated with a `webgl` drawing context." + }, + "experimental-webgl": { + "doc": "Source canvas is associated with an `experimental-webgl` drawing context." + }, + "webgl2": { + "doc": "Source canvas is associated with a `webgl2` drawing context." + } + }, + "doc": "The context identifier defining the drawing context associated to the source canvas (see HTMLCanvasElement.getContext() documentation)." + } + }, + "layer": { + "id": { + "type": "string", + "doc": "Unique layer name.", + "required": true + }, + "type": { + "type": "enum", + "values": { + "fill": { + "doc": "A filled polygon with an optional stroked border.", + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + } + } + }, + "line": { + "doc": "A stroked line.", + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + } + } + }, + "symbol": { + "doc": "An icon or a text label.", + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + } + } + }, + "circle": { + "doc": "A filled circle.", + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + } + } + }, + "fill-extrusion": { + "doc": "An extruded (3D) polygon.", + "sdk-support": { + "basic functionality": { + "js": "0.27.0", + "android": "5.1.0", + "ios": "3.6.0", + "macos": "0.5.0" + } + } + }, + "raster": { + "doc": "Raster map textures such as satellite imagery.", + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + } + } + }, + "background": { + "doc": "The background color or pattern of the map.", + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + } + } + } + }, + "doc": "Rendering type of this layer." + }, + "metadata": { + "type": "*", + "doc": "Arbitrary properties useful to track with the layer, but do not influence rendering. Properties should be prefixed to avoid collisions, like 'mapbox:'." + }, + "ref": { + "type": "string", + "doc": "References another layer to copy `type`, `source`, `source-layer`, `minzoom`, `maxzoom`, `filter`, and `layout` properties from. This allows the layers to share processing and be more efficient." + }, + "source": { + "type": "string", + "doc": "Name of a source description to be used for this layer." + }, + "source-layer": { + "type": "string", + "doc": "Layer to use from a vector tile source. Required if the source supports multiple layers." + }, + "minzoom": { + "type": "number", + "minimum": 0, + "maximum": 24, + "doc": "The minimum zoom level on which the layer gets parsed and appears on." + }, + "maxzoom": { + "type": "number", + "minimum": 0, + "maximum": 24, + "doc": "The maximum zoom level on which the layer gets parsed and appears on." + }, + "filter": { + "type": "filter", + "doc": "A expression specifying conditions on source features. Only features that match the filter are displayed." + }, + "layout": { + "type": "layout", + "doc": "Layout properties for the layer." + }, + "paint": { + "type": "paint", + "doc": "Default paint properties for this layer." + }, + "paint.*": { + "type": "paint", + "doc": "[Deprecated] Class-specific paint properties for this layer. The class name is the part after the first dot. Note: style classes are deprecated and will be removed in the next version of this spec." + } + }, + "layout": [ + "layout_fill", + "layout_line", + "layout_circle", + "layout_fill-extrusion", + "layout_symbol", + "layout_raster", + "layout_background" + ], + "layout_background": { + "visibility": { + "type": "enum", + "values": { + "visible": { + "doc": "The layer is shown." + }, + "none": { + "doc": "The layer is not shown." + } + }, + "default": "visible", + "doc": "Whether this layer is displayed.", + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + } + } + } + }, + "layout_fill": { + "visibility": { + "type": "enum", + "values": { + "visible": { + "doc": "The layer is shown." + }, + "none": { + "doc": "The layer is not shown." + } + }, + "default": "visible", + "doc": "Whether this layer is displayed.", + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + } + } + } + }, + "layout_circle": { + "visibility": { + "type": "enum", + "values": { + "visible": { + "doc": "The layer is shown." + }, + "none": { + "doc": "The layer is not shown." + } + }, + "default": "visible", + "doc": "Whether this layer is displayed.", + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + } + } + } + }, + "layout_fill-extrusion": { + "visibility": { + "type": "enum", + "values": { + "visible": { + "doc": "The layer is shown." + }, + "none": { + "doc": "The layer is not shown." + } + }, + "default": "visible", + "doc": "Whether this layer is displayed.", + "sdk-support": { + "basic functionality": { + "js": "0.27.0", + "android": "5.1.0", + "ios": "3.6.0", + "macos": "0.5.0" + } + } + } + }, + "layout_line": { + "line-cap": { + "type": "enum", + "function": "piecewise-constant", + "zoom-function": true, + "values": { + "butt": { + "doc": "A cap with a squared-off end which is drawn to the exact endpoint of the line." + }, + "round": { + "doc": "A cap with a rounded end which is drawn beyond the endpoint of the line at a radius of one-half of the line's width and centered on the endpoint of the line." + }, + "square": { + "doc": "A cap with a squared-off end which is drawn beyond the endpoint of the line at a distance of one-half of the line's width." + } + }, + "default": "butt", + "doc": "The display of line endings.", + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": {} + } + }, + "line-join": { + "type": "enum", + "function": "piecewise-constant", + "zoom-function": true, + "property-function": true, + "values": { + "bevel": { + "doc": "A join with a squared-off end which is drawn beyond the endpoint of the line at a distance of one-half of the line's width." + }, + "round": { + "doc": "A join with a rounded end which is drawn beyond the endpoint of the line at a radius of one-half of the line's width and centered on the endpoint of the line." + }, + "miter": { + "doc": "A join with a sharp, angled corner which is drawn with the outer sides beyond the endpoint of the path until they meet." + } + }, + "default": "miter", + "doc": "The display of lines when joining.", + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": { + "js": "0.40.0" + } + } + }, + "line-miter-limit": { + "type": "number", + "default": 2, + "function": "interpolated", + "zoom-function": true, + "doc": "Used to automatically convert miter joins to bevel joins for sharp angles.", + "requires": [ + { + "line-join": "miter" + } + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": {} + } + }, + "line-round-limit": { + "type": "number", + "default": 1.05, + "function": "interpolated", + "zoom-function": true, + "doc": "Used to automatically convert round joins to miter joins for shallow angles.", + "requires": [ + { + "line-join": "round" + } + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": {} + } + }, + "visibility": { + "type": "enum", + "values": { + "visible": { + "doc": "The layer is shown." + }, + "none": { + "doc": "The layer is not shown." + } + }, + "default": "visible", + "doc": "Whether this layer is displayed.", + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": {} + } + } + }, + "layout_symbol": { + "symbol-placement": { + "type": "enum", + "function": "piecewise-constant", + "zoom-function": true, + "values": { + "point": { + "doc": "The label is placed at the point where the geometry is located." + }, + "line": { + "doc": "The label is placed along the line of the geometry. Can only be used on `LineString` and `Polygon` geometries." + } + }, + "default": "point", + "doc": "Label placement relative to its geometry.", + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": {} + } + }, + "symbol-spacing": { + "type": "number", + "default": 250, + "minimum": 1, + "function": "interpolated", + "zoom-function": true, + "units": "pixels", + "doc": "Distance between two symbol anchors.", + "requires": [ + { + "symbol-placement": "line" + } + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": {} + } + }, + "symbol-avoid-edges": { + "type": "boolean", + "function": "piecewise-constant", + "zoom-function": true, + "default": false, + "doc": "If true, the symbols will not cross tile edges to avoid mutual collisions. Recommended in layers that don't have enough padding in the vector tile to prevent collisions, or if it is a point symbol layer placed after a line symbol layer.", + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": {} + } + }, + "icon-allow-overlap": { + "type": "boolean", + "function": "piecewise-constant", + "zoom-function": true, + "default": false, + "doc": "If true, the icon will be visible even if it collides with other previously drawn symbols.", + "requires": [ + "icon-image" + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": {} + } + }, + "icon-ignore-placement": { + "type": "boolean", + "function": "piecewise-constant", + "zoom-function": true, + "default": false, + "doc": "If true, other symbols can be visible even if they collide with the icon.", + "requires": [ + "icon-image" + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": {} + } + }, + "icon-optional": { + "type": "boolean", + "function": "piecewise-constant", + "zoom-function": true, + "default": false, + "doc": "If true, text will display without their corresponding icons when the icon collides with other symbols and the text does not.", + "requires": [ + "icon-image", + "text-field" + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": {} + } + }, + "icon-rotation-alignment": { + "type": "enum", + "function": "piecewise-constant", + "zoom-function": true, + "values": { + "map": { + "doc": "When `symbol-placement` is set to `point`, aligns icons east-west. When `symbol-placement` is set to `line`, aligns icon x-axes with the line." + }, + "viewport": { + "doc": "Produces icons whose x-axes are aligned with the x-axis of the viewport, regardless of the value of `symbol-placement`." + }, + "auto": { + "doc": "When `symbol-placement` is set to `point`, this is equivalent to `viewport`. When `symbol-placement` is set to `line`, this is equivalent to `map`." + } + }, + "default": "auto", + "doc": "In combination with `symbol-placement`, determines the rotation behavior of icons.", + "requires": [ + "icon-image" + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "`auto` value": { + "js": "0.25.0", + "android": "4.2.0", + "ios": "3.4.0", + "macos": "0.3.0" + }, + "data-driven styling": {} + } + }, + "icon-size": { + "type": "number", + "default": 1, + "minimum": 0, + "function": "interpolated", + "zoom-function": true, + "property-function": true, + "units": "factor of the original icon size", + "doc": "Scales the original size of the icon by the provided factor. The new pixel size of the image will be the original pixel size multiplied by `icon-size`. 1 is the original size; 3 triples the size of the image.", + "requires": [ + "icon-image" + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": { + "js": "0.35.0", + "android": "5.1.0", + "ios": "3.6.0", + "macos": "0.5.0" + } + } + }, + "icon-text-fit": { + "type": "enum", + "function": "piecewise-constant", + "zoom-function": true, + "values": { + "none": { + "doc": "The icon is displayed at its intrinsic aspect ratio." + }, + "width": { + "doc": "The icon is scaled in the x-dimension to fit the width of the text." + }, + "height": { + "doc": "The icon is scaled in the y-dimension to fit the height of the text." + }, + "both": { + "doc": "The icon is scaled in both x- and y-dimensions." + } + }, + "default": "none", + "doc": "Scales the icon to fit around the associated text.", + "requires": [ + "icon-image", + "text-field" + ], + "sdk-support": { + "basic functionality": { + "js": "0.21.0", + "android": "4.2.0", + "ios": "3.4.0", + "macos": "0.2.1" + }, + "data-driven styling": {} + } + }, + "icon-text-fit-padding": { + "type": "array", + "value": "number", + "length": 4, + "default": [ + 0, + 0, + 0, + 0 + ], + "units": "pixels", + "function": "interpolated", + "zoom-function": true, + "doc": "Size of the additional area added to dimensions determined by `icon-text-fit`, in clockwise order: top, right, bottom, left.", + "requires": [ + "icon-image", + "text-field", + { + "icon-text-fit": [ + "both", + "width", + "height" + ] + } + ], + "sdk-support": { + "basic functionality": { + "js": "0.21.0", + "android": "4.2.0", + "ios": "3.4.0", + "macos": "0.2.1" + }, + "data-driven styling": {} + } + }, + "icon-image": { + "type": "string", + "function": "piecewise-constant", + "zoom-function": true, + "property-function": true, + "doc": "Name of image in sprite to use for drawing an image background. A string with {tokens} replaced, referencing the data property to pull from.", + "tokens": true, + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": { + "js": "0.35.0", + "android": "5.1.0", + "ios": "3.6.0", + "macos": "0.5.0" + } + } + }, + "icon-rotate": { + "type": "number", + "default": 0, + "period": 360, + "function": "interpolated", + "zoom-function": true, + "property-function": true, + "units": "degrees", + "doc": "Rotates the icon clockwise.", + "requires": [ + "icon-image" + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": { + "js": "0.21.0", + "android": "5.0.0", + "ios": "3.5.0", + "macos": "0.4.0" + } + } + }, + "icon-padding": { + "type": "number", + "default": 2, + "minimum": 0, + "function": "interpolated", + "zoom-function": true, + "units": "pixels", + "doc": "Size of the additional area around the icon bounding box used for detecting symbol collisions.", + "requires": [ + "icon-image" + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": {} + } + }, + "icon-keep-upright": { + "type": "boolean", + "function": "piecewise-constant", + "zoom-function": true, + "default": false, + "doc": "If true, the icon may be flipped to prevent it from being rendered upside-down.", + "requires": [ + "icon-image", + { + "icon-rotation-alignment": "map" + }, + { + "symbol-placement": "line" + } + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": {} + } + }, + "icon-offset": { + "type": "array", + "value": "number", + "length": 2, + "default": [ + 0, + 0 + ], + "function": "interpolated", + "zoom-function": true, + "property-function": true, + "doc": "Offset distance of icon from its anchor. Positive values indicate right and down, while negative values indicate left and up. When combined with `icon-rotate` the offset will be as if the rotated direction was up.", + "requires": [ + "icon-image" + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": { + "js": "0.29.0", + "android": "5.0.0", + "ios": "3.5.0", + "macos": "0.4.0" + } + } + }, + "icon-anchor": { + "type": "enum", + "function": "piecewise-constant", + "zoom-function": true, + "property-function": true, + "values": { + "center": { + "doc": "The center of the icon is placed closest to the anchor." + }, + "left": { + "doc": "The left side of the icon is placed closest to the anchor." + }, + "right": { + "doc": "The right side of the icon is placed closest to the anchor." + }, + "top": { + "doc": "The top of the icon is placed closest to the anchor." + }, + "bottom": { + "doc": "The bottom of the icon is placed closest to the anchor." + }, + "top-left": { + "doc": "The top left corner of the icon is placed closest to the anchor." + }, + "top-right": { + "doc": "The top right corner of the icon is placed closest to the anchor." + }, + "bottom-left": { + "doc": "The bottom left corner of the icon is placed closest to the anchor." + }, + "bottom-right": { + "doc": "The bottom right corner of the icon is placed closest to the anchor." + } + }, + "default": "center", + "doc": "Part of the icon placed closest to the anchor.", + "requires": [ + "icon-image" + ], + "sdk-support": { + "basic functionality": { + "js": "0.40.0" + }, + "data-driven styling": { + "js": "0.40.0" + } + } + }, + "icon-pitch-alignment": { + "type": "enum", + "function": "piecewise-constant", + "zoom-function": true, + "values": { + "map": { + "doc": "The icon is aligned to the plane of the map." + }, + "viewport": { + "doc": "The icon is aligned to the plane of the viewport." + }, + "auto": { + "doc": "Automatically matches the value of `icon-rotation-alignment`." + } + }, + "default": "auto", + "doc": "Orientation of icon when map is pitched.", + "requires": [ + "icon-image" + ], + "sdk-support": { + "basic functionality": { + "js": "0.39.0" + }, + "data-driven styling": {} + } + }, + "text-pitch-alignment": { + "type": "enum", + "function": "piecewise-constant", + "zoom-function": true, + "values": { + "map": { + "doc": "The text is aligned to the plane of the map." + }, + "viewport": { + "doc": "The text is aligned to the plane of the viewport." + }, + "auto": { + "doc": "Automatically matches the value of `text-rotation-alignment`." + } + }, + "default": "auto", + "doc": "Orientation of text when map is pitched.", + "requires": [ + "text-field" + ], + "sdk-support": { + "basic functionality": { + "js": "0.21.0", + "android": "4.2.0", + "ios": "3.4.0", + "macos": "0.2.1" + }, + "`auto` value": { + "js": "0.25.0", + "android": "4.2.0", + "ios": "3.4.0", + "macos": "0.3.0" + }, + "data-driven styling": {} + } + }, + "text-rotation-alignment": { + "type": "enum", + "function": "piecewise-constant", + "zoom-function": true, + "values": { + "map": { + "doc": "When `symbol-placement` is set to `point`, aligns text east-west. When `symbol-placement` is set to `line`, aligns text x-axes with the line." + }, + "viewport": { + "doc": "Produces glyphs whose x-axes are aligned with the x-axis of the viewport, regardless of the value of `symbol-placement`." + }, + "auto": { + "doc": "When `symbol-placement` is set to `point`, this is equivalent to `viewport`. When `symbol-placement` is set to `line`, this is equivalent to `map`." + } + }, + "default": "auto", + "doc": "In combination with `symbol-placement`, determines the rotation behavior of the individual glyphs forming the text.", + "requires": [ + "text-field" + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "`auto` value": { + "js": "0.25.0", + "android": "4.2.0", + "ios": "3.4.0", + "macos": "0.3.0" + }, + "data-driven styling": {} + } + }, + "text-field": { + "type": "string", + "function": "piecewise-constant", + "zoom-function": true, + "property-function": true, + "default": "", + "tokens": true, + "doc": "Value to use for a text label. Feature properties are specified using tokens like {field_name}. (Token replacement is only supported for literal `text-field` values--not for property functions.)", + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": { + "js": "0.33.0", + "android": "5.0.0", + "ios": "3.5.0", + "macos": "0.4.0" + } + } + }, + "text-font": { + "type": "array", + "value": "string", + "function": "piecewise-constant", + "zoom-function": true, + "default": ["Open Sans Regular", "Arial Unicode MS Regular"], + "doc": "Font stack to use for displaying text.", + "requires": [ + "text-field" + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": {} + } + }, + "text-size": { + "type": "number", + "default": 16, + "minimum": 0, + "units": "pixels", + "function": "interpolated", + "zoom-function": true, + "property-function": true, + "doc": "Font size.", + "requires": [ + "text-field" + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": { + "js": "0.35.0", + "android": "5.1.0", + "ios": "3.6.0", + "macos": "0.5.0" + } + } + }, + "text-max-width": { + "type": "number", + "default": 10, + "minimum": 0, + "units": "ems", + "function": "interpolated", + "zoom-function": true, + "property-function": true, + "doc": "The maximum line width for text wrapping.", + "requires": [ + "text-field" + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": { + "js": "0.40.0" + } + } + }, + "text-line-height": { + "type": "number", + "default": 1.2, + "units": "ems", + "function": "interpolated", + "zoom-function": true, + "doc": "Text leading value for multi-line text.", + "requires": [ + "text-field" + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": {} + } + }, + "text-letter-spacing": { + "type": "number", + "default": 0, + "units": "ems", + "function": "interpolated", + "zoom-function": true, + "property-function": true, + "doc": "Text tracking amount.", + "requires": [ + "text-field" + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": { + "js": "0.40.0" + } + } + }, + "text-justify": { + "type": "enum", + "function": "piecewise-constant", + "zoom-function": true, + "property-function": true, + "values": { + "left": { + "doc": "The text is aligned to the left." + }, + "center": { + "doc": "The text is centered." + }, + "right": { + "doc": "The text is aligned to the right." + } + }, + "default": "center", + "doc": "Text justification options.", + "requires": [ + "text-field" + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": { + "js": "0.39.0" + } + } + }, + "text-anchor": { + "type": "enum", + "function": "piecewise-constant", + "zoom-function": true, + "property-function": true, + "values": { + "center": { + "doc": "The center of the text is placed closest to the anchor." + }, + "left": { + "doc": "The left side of the text is placed closest to the anchor." + }, + "right": { + "doc": "The right side of the text is placed closest to the anchor." + }, + "top": { + "doc": "The top of the text is placed closest to the anchor." + }, + "bottom": { + "doc": "The bottom of the text is placed closest to the anchor." + }, + "top-left": { + "doc": "The top left corner of the text is placed closest to the anchor." + }, + "top-right": { + "doc": "The top right corner of the text is placed closest to the anchor." + }, + "bottom-left": { + "doc": "The bottom left corner of the text is placed closest to the anchor." + }, + "bottom-right": { + "doc": "The bottom right corner of the text is placed closest to the anchor." + } + }, + "default": "center", + "doc": "Part of the text placed closest to the anchor.", + "requires": [ + "text-field" + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": { + "js": "0.39.0" + } + } + }, + "text-max-angle": { + "type": "number", + "default": 45, + "units": "degrees", + "function": "interpolated", + "zoom-function": true, + "doc": "Maximum angle change between adjacent characters.", + "requires": [ + "text-field", + { + "symbol-placement": "line" + } + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": {} + } + }, + "text-rotate": { + "type": "number", + "default": 0, + "period": 360, + "units": "degrees", + "function": "interpolated", + "zoom-function": true, + "property-function": true, + "doc": "Rotates the text clockwise.", + "requires": [ + "text-field" + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": { + "js": "0.35.0", + "android": "5.1.0", + "ios": "3.6.0", + "macos": "0.5.0" + } + } + }, + "text-padding": { + "type": "number", + "default": 2, + "minimum": 0, + "units": "pixels", + "function": "interpolated", + "zoom-function": true, + "doc": "Size of the additional area around the text bounding box used for detecting symbol collisions.", + "requires": [ + "text-field" + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": {} + } + }, + "text-keep-upright": { + "type": "boolean", + "function": "piecewise-constant", + "zoom-function": true, + "default": true, + "doc": "If true, the text may be flipped vertically to prevent it from being rendered upside-down.", + "requires": [ + "text-field", + { + "text-rotation-alignment": "map" + }, + { + "symbol-placement": "line" + } + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": {} + } + }, + "text-transform": { + "type": "enum", + "function": "piecewise-constant", + "zoom-function": true, + "property-function": true, + "values": { + "none": { + "doc": "The text is not altered." + }, + "uppercase": { + "doc": "Forces all letters to be displayed in uppercase." + }, + "lowercase": { + "doc": "Forces all letters to be displayed in lowercase." + } + }, + "default": "none", + "doc": "Specifies how to capitalize text, similar to the CSS `text-transform` property.", + "requires": [ + "text-field" + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": { + "js": "0.33.0", + "android": "5.0.0", + "ios": "3.5.0", + "macos": "0.4.0" + } + } + }, + "text-offset": { + "type": "array", + "doc": "Offset distance of text from its anchor. Positive values indicate right and down, while negative values indicate left and up.", + "value": "number", + "units": "ems", + "function": "interpolated", + "zoom-function": true, + "property-function": true, + "length": 2, + "default": [ + 0, + 0 + ], + "requires": [ + "text-field" + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": { + "js": "0.35.0", + "android": "5.1.0", + "ios": "3.6.0", + "macos": "0.5.0" + } + } + }, + "text-allow-overlap": { + "type": "boolean", + "function": "piecewise-constant", + "zoom-function": true, + "default": false, + "doc": "If true, the text will be visible even if it collides with other previously drawn symbols.", + "requires": [ + "text-field" + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": {} + } + }, + "text-ignore-placement": { + "type": "boolean", + "function": "piecewise-constant", + "zoom-function": true, + "default": false, + "doc": "If true, other symbols can be visible even if they collide with the text.", + "requires": [ + "text-field" + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": {} + } + }, + "text-optional": { + "type": "boolean", + "function": "piecewise-constant", + "zoom-function": true, + "default": false, + "doc": "If true, icons will display without their corresponding text when the text collides with other symbols and the icon does not.", + "requires": [ + "text-field", + "icon-image" + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": {} + } + }, + "visibility": { + "type": "enum", + "values": { + "visible": { + "doc": "The layer is shown." + }, + "none": { + "doc": "The layer is not shown." + } + }, + "default": "visible", + "doc": "Whether this layer is displayed.", + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": {} + } + } + }, + "layout_raster": { + "visibility": { + "type": "enum", + "values": { + "visible": { + "doc": "The layer is shown." + }, + "none": { + "doc": "The layer is not shown." + } + }, + "default": "visible", + "doc": "Whether this layer is displayed.", + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": {} + } + } + }, + "filter": { + "type": "array", + "value": "*", + "doc": "A filter selects specific features from a layer." + }, + "filter_operator": { + "type": "enum", + "values": { + "==": { + "doc": "`[\"==\", key, value]` equality: `feature[key] = value`" + }, + "!=": { + "doc": "`[\"!=\", key, value]` inequality: `feature[key] ≠ value`" + }, + ">": { + "doc": "`[\">\", key, value]` greater than: `feature[key] > value`" + }, + ">=": { + "doc": "`[\">=\", key, value]` greater than or equal: `feature[key] ≥ value`" + }, + "<": { + "doc": "`[\"<\", key, value]` less than: `feature[key] < value`" + }, + "<=": { + "doc": "`[\"<=\", key, value]` less than or equal: `feature[key] ≤ value`" + }, + "in": { + "doc": "`[\"in\", key, v0, ..., vn]` set inclusion: `feature[key] ∈ {v0, ..., vn}`" + }, + "!in": { + "doc": "`[\"!in\", key, v0, ..., vn]` set exclusion: `feature[key] ∉ {v0, ..., vn}`" + }, + "all": { + "doc": "`[\"all\", f0, ..., fn]` logical `AND`: `f0 ∧ ... ∧ fn`" + }, + "any": { + "doc": "`[\"any\", f0, ..., fn]` logical `OR`: `f0 ∨ ... ∨ fn`" + }, + "none": { + "doc": "`[\"none\", f0, ..., fn]` logical `NOR`: `¬f0 ∧ ... ∧ ¬fn`" + }, + "has": { + "doc": "`[\"has\", key]` `feature[key]` exists" + }, + "!has": { + "doc": "`[\"!has\", key]` `feature[key]` does not exist" + } + }, + "doc": "The filter operator." + }, + "geometry_type": { + "type": "enum", + "values": { + "Point": { + "doc": "Filter to point geometries." + }, + "LineString": { + "doc": "Filter to line geometries." + }, + "Polygon": { + "doc": "Filter to polygon geometries." + } + }, + "doc": "The geometry type for the filter to select." + }, + "function": { + "expression": { + "type": "expression", + "doc": "An expression." + }, + "stops": { + "type": "array", + "doc": "An array of stops.", + "value": "function_stop" + }, + "base": { + "type": "number", + "default": 1, + "minimum": 0, + "doc": "The exponential base of the interpolation curve. It controls the rate at which the result increases. Higher values make the result increase more towards the high end of the range. With `1` the stops are interpolated linearly." + }, + "property": { + "type": "string", + "doc": "The name of a feature property to use as the function input.", + "default": "$zoom" + }, + "type": { + "type": "enum", + "values": { + "identity": { + "doc": "Return the input value as the output value." + }, + "exponential": { + "doc": "Generate an output by interpolating between stops just less than and just greater than the function input." + }, + "interval": { + "doc": "Return the output value of the stop just less than the function input." + }, + "categorical": { + "doc": "Return the output value of the stop equal to the function input." + } + }, + "doc": "The interpolation strategy to use in function evaluation.", + "default": "exponential" + }, + "colorSpace": { + "type": "enum", + "values": { + "rgb": { + "doc": "Use the RGB color space to interpolate color values" + }, + "lab": { + "doc": "Use the LAB color space to interpolate color values." + }, + "hcl": { + "doc": "Use the HCL color space to interpolate color values, interpolating the Hue, Chroma, and Luminance channels individually." + } + }, + "doc": "The color space in which colors interpolated. Interpolating colors in perceptual color spaces like LAB and HCL tend to produce color ramps that look more consistent and produce colors that can be differentiated more easily than those interpolated in RGB space.", + "default": "rgb" + }, + "default": { + "type": "*", + "required": false, + "doc": "A value to serve as a fallback function result when a value isn't otherwise available. It is used in the following circumstances:\n* In categorical functions, when the feature value does not match any of the stop domain values.\n* In property and zoom-and-property functions, when a feature does not contain a value for the specified property.\n* In identity functions, when the feature value is not valid for the style property (for example, if the function is being used for a `circle-color` property but the feature property value is not a string or not a valid color).\n* In interval or exponential property and zoom-and-property functions, when the feature value is not numeric.\nIf no default is provided, the style property's default is used in these circumstances." + } + }, + "function_stop": { + "type": "array", + "minimum": 0, + "maximum": 22, + "value": [ + "number", + "color" + ], + "length": 2, + "doc": "Zoom level and value pair." + }, + "expression": { + "type": "array", + "value": "*", + "minimum": 1, + "doc": "An expression defines a function that can be used for data-driven style properties or feature filters." + }, + "expression_name": { + "doc": "", + "type": "enum", + "values": { + "let": { + "doc": "Binds expressions to named variables, which can then be referenced in the result expression using [\"var\", \"variable_name\"]." + }, + "var": { + "doc": "References variable bound using \"let\"." + }, + "literal": { + "doc": "Provides a literal array or object value." + }, + "array": { + "doc": "Asserts that the input is an array (optinally with a specific item type and length)." + }, + "at": { + "doc": "Retrieves an item from an array." + }, + "contains": { + "doc": "Tests whether a value exists in an array." + }, + "case": { + "doc": "Yields the value of the first output expression whose corresponding test evaluates to true." + }, + "match": { + "doc": "Yields the output value whose label value matches the input, or the fallback value if no match is found." + }, + "coalesce": { + "doc": "Evaluates each expression in turn until the first non-null, non-error value is obtained, and returns that value" + }, + "curve": { + "doc": "Interpolates an output value from the given input/output pairs using the specified interpolation strategy. The input levels must be numeric literals in strictly ascending order." + }, + "ln2": { + "doc": "Returns mathematical constant ln(2)." + }, + "pi": { + "doc": "Returns the mathematical constant pi." + }, + "e": { + "doc": "Returns the mathematical constant e." + }, + "typeof": { + "doc": "Returns a string describing the type of the given value." + }, + "string": { + "doc": "Asserts that the input value is a String." + }, + "number": { + "doc": "Asserts that the input value is a Number." + }, + "boolean": { + "doc": "Asserts that the input value is a Boolean." + }, + "object": { + "doc": "Asserts that the input value is an Objects." + }, + "to-string": { + "doc": "Coerces the input value to a String." + }, + "to-number": { + "doc": "Coerces the input value to a Number, if possible." + }, + "to-boolean": { + "doc": "Coerces the input value to a Boolean." + }, + "to-rgba": { + "doc": "Returns the an array of the given color's r, g, b, a components." + }, + "to-color": { + "doc": "Coerces the input value to a Color." + }, + "rgb": { + "doc": "Creates a color value from r, g, b components." + }, + "rgba": { + "doc": "Creates a color value from r, g, b, a components." + }, + "get": { + "doc": "Retrieves an the object property value. If it's not provided, the object argument defaults to [\"properties\"]." + }, + "has": { + "doc": "Tests for the presence of an object property value. If it's not provided, the object argument defaults to [\"properties\"]." + }, + "length": { + "doc": "Gets the length of an array or string." + }, + "properties": { + "doc": "Gets the feature properties object. Note that in some cases, it may be more efficient to use [\"get\", \"property_name\"] directly." + }, + "geometry-type": { + "doc": "Gets the feature's geometry type: Point, MultiPoint, LineString, MultiLineString, Polygon, MultiPolygon." + }, + "id": { + "doc": "Gets the feature's id, if it has one." + }, + "zoom": { + "doc": "Gets the current zoom level. Note that in style layout and paint properties, [\"zoom\"] may only appear as the input to a top-level [\"curve\"] expression." + }, + "+": { + "doc": "" + }, + "*": { + "doc": "" + }, + "-": { + "doc": "" + }, + "/": { + "doc": "" + }, + "%": { + "doc": "" + }, + "^": { + "doc": "" + }, + "log10": { + "doc": "" + }, + "ln": { + "doc": "" + }, + "log2": { + "doc": "" + }, + "sin": { + "doc": "" + }, + "cos": { + "doc": "" + }, + "tan": { + "doc": "" + }, + "asin": { + "doc": "" + }, + "acos": { + "doc": "" + }, + "atan": { + "doc": "" + }, + "min": { + "doc": "" + }, + "max": { + "doc": "" + }, + "==": { + "doc": "" + }, + "!=": { + "doc": "" + }, + ">": { + "doc": "" + }, + "<": { + "doc": "" + }, + ">=": { + "doc": "" + }, + "<=": { + "doc": "" + }, + "&&": { + "doc": "" + }, + "||": { + "doc": "" + }, + "!": { + "doc": "" + }, + "upcase": { + "doc": "" + }, + "downcase": { + "doc": "" + }, + "concat": { + "doc": "Concetenate the given strings." + } + } + }, + "light": { + "anchor": { + "type": "enum", + "default": "viewport", + "values": { + "map": { + "doc": "The position of the light source is aligned to the rotation of the map." + }, + "viewport": { + "doc": "The position of the light source is aligned to the rotation of the viewport." + } + }, + "transition": false, + "zoom-function": true, + "property-function": false, + "function": "piecewise-constant", + "doc": "Whether extruded geometries are lit relative to the map or viewport.", + "example": "map", + "sdk-support": { + "basic functionality": { + "js": "0.27.0", + "android": "5.1.0", + "ios": "3.6.0", + "macos": "0.5.0" + } + } + }, + "position": { + "type": "array", + "default": [1.15, 210, 30], + "length": 3, + "value": "number", + "transition": true, + "function": "interpolated", + "zoom-function": true, + "property-function": false, + "doc": "Position of the light source relative to lit (extruded) geometries, in [r radial coordinate, a azimuthal angle, p polar angle] where r indicates the distance from the center of the base of an object to its light, a indicates the position of the light relative to 0° (0° when `light.anchor` is set to `viewport` corresponds to the top of the viewport, or 0° when `light.anchor` is set to `map` corresponds to due north, and degrees proceed clockwise), and p indicates the height of the light (from 0°, directly above, to 180°, directly below).", + "example": [1.5, 90, 80], + "sdk-support": { + "basic functionality": { + "js": "0.27.0", + "android": "5.1.0", + "ios": "3.6.0", + "macos": "0.5.0" + } + } + }, + "color": { + "type": "color", + "default": "#ffffff", + "function": "interpolated", + "zoom-function": true, + "property-function": false, + "transition": true, + "doc": "Color tint for lighting extruded geometries.", + "sdk-support": { + "basic functionality": { + "js": "0.27.0", + "android": "5.1.0", + "ios": "3.6.0", + "macos": "0.5.0" + } + } + }, + "intensity": { + "type": "number", + "default": 0.5, + "minimum": 0, + "maximum": 1, + "function": "interpolated", + "zoom-function": true, + "property-function": false, + "transition": true, + "doc": "Intensity of lighting (on a scale from 0 to 1). Higher numbers will present as more extreme contrast.", + "sdk-support": { + "basic functionality": { + "js": "0.27.0", + "android": "5.1.0", + "ios": "3.6.0", + "macos": "0.5.0" + } + } + } + }, + "paint": [ + "paint_fill", + "paint_line", + "paint_circle", + "paint_fill-extrusion", + "paint_symbol", + "paint_raster", + "paint_background" + ], + "paint_fill": { + "fill-antialias": { + "type": "boolean", + "function": "piecewise-constant", + "zoom-function": true, + "default": true, + "doc": "Whether or not the fill should be antialiased.", + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": {} + } + }, + "fill-opacity": { + "type": "number", + "function": "interpolated", + "zoom-function": true, + "property-function": true, + "default": 1, + "minimum": 0, + "maximum": 1, + "doc": "The opacity of the entire fill layer. In contrast to the `fill-color`, this value will also affect the 1px stroke around the fill, if the stroke is used.", + "transition": true, + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": { + "js": "0.21.0", + "android": "5.0.0", + "ios": "3.5.0", + "macos": "0.4.0" + } + } + }, + "fill-color": { + "type": "color", + "default": "#000000", + "doc": "The color of the filled part of this layer. This color can be specified as `rgba` with an alpha component and the color's opacity will not affect the opacity of the 1px stroke, if it is used.", + "function": "interpolated", + "zoom-function": true, + "property-function": true, + "transition": true, + "requires": [ + { + "!": "fill-pattern" + } + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": { + "js": "0.19.0", + "android": "5.0.0", + "ios": "3.5.0", + "macos": "0.4.0" + } + } + }, + "fill-outline-color": { + "type": "color", + "doc": "The outline color of the fill. Matches the value of `fill-color` if unspecified.", + "function": "interpolated", + "zoom-function": true, + "property-function": true, + "transition": true, + "requires": [ + { + "!": "fill-pattern" + }, + { + "fill-antialias": true + } + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": { + "js": "0.19.0", + "android": "5.0.0", + "ios": "3.5.0", + "macos": "0.4.0" + } + } + }, + "fill-translate": { + "type": "array", + "value": "number", + "length": 2, + "default": [ + 0, + 0 + ], + "function": "interpolated", + "zoom-function": true, + "transition": true, + "units": "pixels", + "doc": "The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively.", + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": {} + } + }, + "fill-translate-anchor": { + "type": "enum", + "function": "piecewise-constant", + "zoom-function": true, + "values": { + "map": { + "doc": "The fill is translated relative to the map." + }, + "viewport": { + "doc": "The fill is translated relative to the viewport." + } + }, + "doc": "Controls the translation reference point.", + "default": "map", + "requires": [ + "fill-translate" + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": {} + } + }, + "fill-pattern": { + "type": "string", + "function": "piecewise-constant", + "zoom-function": true, + "transition": true, + "doc": "Name of image in sprite to use for drawing image fills. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512).", + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": {} + } + } + }, + "paint_fill-extrusion": { + "fill-extrusion-opacity": { + "type": "number", + "function": "interpolated", + "zoom-function": true, + "property-function": false, + "default": 1, + "minimum": 0, + "maximum": 1, + "doc": "The opacity of the entire fill extrusion layer. This is rendered on a per-layer, not per-feature, basis, and data-driven styling is not available.", + "transition": true, + "sdk-support": { + "basic functionality": { + "js": "0.27.0", + "android": "5.1.0", + "ios": "3.6.0", + "macos": "0.5.0" + } + } + }, + "fill-extrusion-color": { + "type": "color", + "default": "#000000", + "doc": "The base color of the extruded fill. The extrusion's surfaces will be shaded differently based on this color in combination with the root `light` settings. If this color is specified as `rgba` with an alpha component, the alpha component will be ignored; use `fill-extrusion-opacity` to set layer opacity.", + "function": "interpolated", + "zoom-function": true, + "property-function": true, + "transition": true, + "requires": [ + { + "!": "fill-extrusion-pattern" + } + ], + "sdk-support": { + "basic functionality": { + "js": "0.27.0", + "android": "5.1.0", + "ios": "3.6.0", + "macos": "0.5.0" + }, + "data-driven styling": { + "js": "0.27.0", + "android": "5.1.0", + "ios": "3.6.0", + "macos": "0.5.0" + } + } + }, + "fill-extrusion-translate": { + "type": "array", + "value": "number", + "length": 2, + "default": [ + 0, + 0 + ], + "function": "interpolated", + "zoom-function": true, + "transition": true, + "units": "pixels", + "doc": "The geometry's offset. Values are [x, y] where negatives indicate left and up (on the flat plane), respectively.", + "sdk-support": { + "basic functionality": { + "js": "0.27.0", + "android": "5.1.0", + "ios": "3.6.0", + "macos": "0.5.0" + }, + "data-driven styling": {} + } + }, + "fill-extrusion-translate-anchor": { + "type": "enum", + "function": "piecewise-constant", + "zoom-function": true, + "values": { + "map": { + "doc": "The fill extrusion is translated relative to the map." + }, + "viewport": { + "doc": "The fill extrusion is translated relative to the viewport." + } + }, + "doc": "Controls the translation reference point.", + "default": "map", + "requires": [ + "fill-extrusion-translate" + ], + "sdk-support": { + "basic functionality": { + "js": "0.27.0", + "android": "5.1.0", + "ios": "3.6.0", + "macos": "0.5.0" + }, + "data-driven styling": {} + } + }, + "fill-extrusion-pattern": { + "type": "string", + "function": "piecewise-constant", + "zoom-function": true, + "transition": true, + "doc": "Name of image in sprite to use for drawing images on extruded fills. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512).", + "sdk-support": { + "basic functionality": { + "js": "0.27.0", + "android": "5.1.0", + "ios": "3.6.0", + "macos": "0.5.0" + }, + "data-driven styling": {} + } + }, + "fill-extrusion-height": { + "type": "number", + "function": "interpolated", + "zoom-function": true, + "property-function": true, + "default": 0, + "minimum": 0, + "maximum": 65535, + "units": "meters", + "doc": "The height with which to extrude this layer.", + "transition": true, + "sdk-support": { + "basic functionality": { + "js": "0.27.0", + "android": "5.1.0", + "ios": "3.6.0", + "macos": "0.5.0" + }, + "data-driven styling": { + "js": "0.27.0", + "android": "5.1.0", + "ios": "3.6.0", + "macos": "0.5.0" + } + } + }, + "fill-extrusion-base": { + "type": "number", + "function": "interpolated", + "zoom-function": true, + "property-function": true, + "default": 0, + "minimum": 0, + "maximum": 65535, + "units": "meters", + "doc": "The height with which to extrude the base of this layer. Must be less than or equal to `fill-extrusion-height`.", + "transition": true, + "requires": [ + "fill-extrusion-height" + ], + "sdk-support": { + "basic functionality": { + "js": "0.27.0", + "android": "5.1.0", + "ios": "3.6.0", + "macos": "0.5.0" + }, + "data-driven styling": { + "js": "0.27.0", + "android": "5.1.0", + "ios": "3.6.0", + "macos": "0.5.0" + } + } + } + }, + "paint_line": { + "line-opacity": { + "type": "number", + "doc": "The opacity at which the line will be drawn.", + "function": "interpolated", + "zoom-function": true, + "property-function": true, + "default": 1, + "minimum": 0, + "maximum": 1, + "transition": true, + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": { + "js": "0.29.0", + "android": "5.0.0", + "ios": "3.5.0", + "macos": "0.4.0" + } + } + }, + "line-color": { + "type": "color", + "doc": "The color with which the line will be drawn.", + "default": "#000000", + "function": "interpolated", + "zoom-function": true, + "property-function": true, + "transition": true, + "requires": [ + { + "!": "line-pattern" + } + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": { + "js": "0.23.0", + "android": "5.0.0", + "ios": "3.5.0", + "macos": "0.4.0" + } + } + }, + "line-translate": { + "type": "array", + "value": "number", + "length": 2, + "default": [ + 0, + 0 + ], + "function": "interpolated", + "zoom-function": true, + "transition": true, + "units": "pixels", + "doc": "The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively.", + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": {} + } + }, + "line-translate-anchor": { + "type": "enum", + "function": "piecewise-constant", + "zoom-function": true, + "values": { + "map": { + "doc": "The line is translated relative to the map." + }, + "viewport": { + "doc": "The line is translated relative to the viewport." + } + }, + "doc": "Controls the translation reference point.", + "default": "map", + "requires": [ + "line-translate" + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": {} + } + }, + "line-width": { + "type": "number", + "default": 1, + "minimum": 0, + "function": "interpolated", + "zoom-function": true, + "property-function": true, + "transition": true, + "units": "pixels", + "doc": "Stroke thickness.", + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": { + "js": "0.39.0" + } + } + }, + "line-gap-width": { + "type": "number", + "default": 0, + "minimum": 0, + "doc": "Draws a line casing outside of a line's actual path. Value indicates the width of the inner gap.", + "function": "interpolated", + "zoom-function": true, + "property-function": true, + "transition": true, + "units": "pixels", + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": { + "js": "0.29.0", + "android": "5.0.0", + "ios": "3.5.0", + "macos": "0.4.0" + } + } + }, + "line-offset": { + "type": "number", + "default": 0, + "doc": "The line's offset. For linear features, a positive value offsets the line to the right, relative to the direction of the line, and a negative value to the left. For polygon features, a positive value results in an inset, and a negative value results in an outset.", + "function": "interpolated", + "zoom-function": true, + "property-function": true, + "transition": true, + "units": "pixels", + "sdk-support": { + "basic functionality": { + "js": "0.12.1", + "android": "3.0.0", + "ios": "3.1.0", + "macos": "0.1.0" + }, + "data-driven styling": { + "js": "0.29.0", + "android": "5.0.0", + "ios": "3.5.0", + "macos": "0.4.0" + } + } + }, + "line-blur": { + "type": "number", + "default": 0, + "minimum": 0, + "function": "interpolated", + "zoom-function": true, + "property-function": true, + "transition": true, + "units": "pixels", + "doc": "Blur applied to the line, in pixels.", + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": { + "js": "0.29.0", + "android": "5.0.0", + "ios": "3.5.0", + "macos": "0.4.0" + } + } + }, + "line-dasharray": { + "type": "array", + "value": "number", + "function": "piecewise-constant", + "zoom-function": true, + "doc": "Specifies the lengths of the alternating dashes and gaps that form the dash pattern. The lengths are later scaled by the line width. To convert a dash length to pixels, multiply the length by the current line width.", + "minimum": 0, + "transition": true, + "units": "line widths", + "requires": [ + { + "!": "line-pattern" + } + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": {} + } + }, + "line-pattern": { + "type": "string", + "function": "piecewise-constant", + "zoom-function": true, + "transition": true, + "doc": "Name of image in sprite to use for drawing image lines. For seamless patterns, image width must be a factor of two (2, 4, 8, ..., 512).", + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": {} + } + } + }, + "paint_circle": { + "circle-radius": { + "type": "number", + "default": 5, + "minimum": 0, + "function": "interpolated", + "zoom-function": true, + "property-function": true, + "transition": true, + "units": "pixels", + "doc": "Circle radius.", + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": { + "js": "0.18.0", + "android": "5.0.0", + "ios": "3.5.0", + "macos": "0.4.0" + } + } + }, + "circle-color": { + "type": "color", + "default": "#000000", + "doc": "The fill color of the circle.", + "function": "interpolated", + "zoom-function": true, + "property-function": true, + "transition": true, + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": { + "js": "0.18.0", + "android": "5.0.0", + "ios": "3.5.0", + "macos": "0.4.0" + } + } + }, + "circle-blur": { + "type": "number", + "default": 0, + "doc": "Amount to blur the circle. 1 blurs the circle such that only the centerpoint is full opacity.", + "function": "interpolated", + "zoom-function": true, + "property-function": true, + "transition": true, + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": { + "js": "0.20.0", + "android": "5.0.0", + "ios": "3.5.0", + "macos": "0.4.0" + } + } + }, + "circle-opacity": { + "type": "number", + "doc": "The opacity at which the circle will be drawn.", + "default": 1, + "minimum": 0, + "maximum": 1, + "function": "interpolated", + "zoom-function": true, + "property-function": true, + "transition": true, + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": { + "js": "0.20.0", + "android": "5.0.0", + "ios": "3.5.0", + "macos": "0.4.0" + } + } + }, + "circle-translate": { + "type": "array", + "value": "number", + "length": 2, + "default": [0, 0], + "function": "interpolated", + "zoom-function": true, + "transition": true, + "units": "pixels", + "doc": "The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively.", + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": {} + } + }, + "circle-translate-anchor": { + "type": "enum", + "function": "piecewise-constant", + "zoom-function": true, + "values": { + "map": { + "doc": "The circle is translated relative to the map." + }, + "viewport": { + "doc": "The circle is translated relative to the viewport." + } + }, + "doc": "Controls the translation reference point.", + "default": "map", + "requires": [ + "circle-translate" + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": {} + } + }, + "circle-pitch-scale": { + "type": "enum", + "function": "piecewise-constant", + "zoom-function": true, + "values": { + "map": { + "doc": "Circles are scaled according to their apparent distance to the camera." + }, + "viewport": { + "doc": "Circles are not scaled." + } + }, + "default": "map", + "doc": "Controls the scaling behavior of the circle when the map is pitched.", + "sdk-support": { + "basic functionality": { + "js": "0.21.0", + "android": "4.2.0", + "ios": "3.4.0", + "macos": "0.2.1" + }, + "data-driven styling": {} + } + }, + "circle-pitch-alignment": { + "type": "enum", + "function": "piecewise-constant", + "zoom-function": true, + "values": { + "map": { + "doc": "The circle is aligned to the plane of the map." + }, + "viewport": { + "doc": "The circle is aligned to the plane of the viewport." + } + }, + "default": "viewport", + "doc": "Orientation of circle when map is pitched.", + "sdk-support": { + "basic functionality": { + "js": "0.39.0" + }, + "data-driven styling": {} + } + }, + "circle-stroke-width": { + "type": "number", + "default": 0, + "minimum": 0, + "function": "interpolated", + "zoom-function": true, + "property-function": true, + "transition": true, + "units": "pixels", + "doc": "The width of the circle's stroke. Strokes are placed outside of the `circle-radius`.", + "sdk-support": { + "basic functionality": { + "js": "0.29.0", + "android": "5.0.0", + "ios": "3.5.0", + "macos": "0.4.0" + }, + "data-driven styling": { + "js": "0.29.0", + "android": "5.0.0", + "ios": "3.5.0", + "macos": "0.4.0" + } + } + }, + "circle-stroke-color": { + "type": "color", + "default": "#000000", + "doc": "The stroke color of the circle.", + "function": "interpolated", + "zoom-function": true, + "property-function": true, + "transition": true, + "sdk-support": { + "basic functionality": { + "js": "0.29.0", + "android": "5.0.0", + "ios": "3.5.0", + "macos": "0.4.0" + }, + "data-driven styling": { + "js": "0.29.0", + "android": "5.0.0", + "ios": "3.5.0", + "macos": "0.4.0" + } + } + }, + "circle-stroke-opacity": { + "type": "number", + "doc": "The opacity of the circle's stroke.", + "default": 1, + "minimum": 0, + "maximum": 1, + "function": "interpolated", + "zoom-function": true, + "property-function": true, + "transition": true, + "sdk-support": { + "basic functionality": { + "js": "0.29.0", + "android": "5.0.0", + "ios": "3.5.0", + "macos": "0.4.0" + }, + "data-driven styling": { + "js": "0.29.0", + "android": "5.0.0", + "ios": "3.5.0", + "macos": "0.4.0" + } + } + } + }, + "paint_symbol": { + "icon-opacity": { + "doc": "The opacity at which the icon will be drawn.", + "type": "number", + "default": 1, + "minimum": 0, + "maximum": 1, + "function": "interpolated", + "zoom-function": true, + "property-function": true, + "transition": true, + "requires": [ + "icon-image" + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": { + "js": "0.33.0", + "android": "5.0.0", + "ios": "3.5.0", + "macos": "0.4.0" + } + } + }, + "icon-color": { + "type": "color", + "default": "#000000", + "function": "interpolated", + "zoom-function": true, + "property-function": true, + "transition": true, + "doc": "The color of the icon. This can only be used with sdf icons.", + "requires": [ + "icon-image" + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": { + "js": "0.33.0", + "android": "5.0.0", + "ios": "3.5.0", + "macos": "0.4.0" + } + } + }, + "icon-halo-color": { + "type": "color", + "default": "rgba(0, 0, 0, 0)", + "function": "interpolated", + "zoom-function": true, + "property-function": true, + "transition": true, + "doc": "The color of the icon's halo. Icon halos can only be used with SDF icons.", + "requires": [ + "icon-image" + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": { + "js": "0.33.0", + "android": "5.0.0", + "ios": "3.5.0", + "macos": "0.4.0" + } + } + }, + "icon-halo-width": { + "type": "number", + "default": 0, + "minimum": 0, + "function": "interpolated", + "zoom-function": true, + "property-function": true, + "transition": true, + "units": "pixels", + "doc": "Distance of halo to the icon outline.", + "requires": [ + "icon-image" + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": { + "js": "0.33.0", + "android": "5.0.0", + "ios": "3.5.0", + "macos": "0.4.0" + } + } + }, + "icon-halo-blur": { + "type": "number", + "default": 0, + "minimum": 0, + "function": "interpolated", + "zoom-function": true, + "property-function": true, + "transition": true, + "units": "pixels", + "doc": "Fade out the halo towards the outside.", + "requires": [ + "icon-image" + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": { + "js": "0.33.0", + "android": "5.0.0", + "ios": "3.5.0", + "macos": "0.4.0" + } + } + }, + "icon-translate": { + "type": "array", + "value": "number", + "length": 2, + "default": [ + 0, + 0 + ], + "function": "interpolated", + "zoom-function": true, + "transition": true, + "units": "pixels", + "doc": "Distance that the icon's anchor is moved from its original placement. Positive values indicate right and down, while negative values indicate left and up.", + "requires": [ + "icon-image" + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": {} + } + }, + "icon-translate-anchor": { + "type": "enum", + "function": "piecewise-constant", + "zoom-function": true, + "values": { + "map": { + "doc": "Icons are translated relative to the map." + }, + "viewport": { + "doc": "Icons are translated relative to the viewport." + } + }, + "doc": "Controls the translation reference point.", + "default": "map", + "requires": [ + "icon-image", + "icon-translate" + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": {} + } + }, + "text-opacity": { + "type": "number", + "doc": "The opacity at which the text will be drawn.", + "default": 1, + "minimum": 0, + "maximum": 1, + "function": "interpolated", + "zoom-function": true, + "property-function": true, + "transition": true, + "requires": [ + "text-field" + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": { + "js": "0.33.0", + "android": "5.0.0", + "ios": "3.5.0", + "macos": "0.4.0" + } + } + }, + "text-color": { + "type": "color", + "doc": "The color with which the text will be drawn.", + "default": "#000000", + "function": "interpolated", + "zoom-function": true, + "property-function": true, + "transition": true, + "requires": [ + "text-field" + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": { + "js": "0.33.0", + "android": "5.0.0", + "ios": "3.5.0", + "macos": "0.4.0" + } + } + }, + "text-halo-color": { + "type": "color", + "default": "rgba(0, 0, 0, 0)", + "function": "interpolated", + "zoom-function": true, + "property-function": true, + "transition": true, + "doc": "The color of the text's halo, which helps it stand out from backgrounds.", + "requires": [ + "text-field" + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": { + "js": "0.33.0", + "android": "5.0.0", + "ios": "3.5.0", + "macos": "0.4.0" + } + } + }, + "text-halo-width": { + "type": "number", + "default": 0, + "minimum": 0, + "function": "interpolated", + "zoom-function": true, + "property-function": true, + "transition": true, + "units": "pixels", + "doc": "Distance of halo to the font outline. Max text halo width is 1/4 of the font-size.", + "requires": [ + "text-field" + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": { + "js": "0.33.0", + "android": "5.0.0", + "ios": "3.5.0", + "macos": "0.4.0" + } + } + }, + "text-halo-blur": { + "type": "number", + "default": 0, + "minimum": 0, + "function": "interpolated", + "zoom-function": true, + "property-function": true, + "transition": true, + "units": "pixels", + "doc": "The halo's fadeout distance towards the outside.", + "requires": [ + "text-field" + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": { + "js": "0.33.0", + "android": "5.0.0", + "ios": "3.5.0", + "macos": "0.4.0" + } + } + }, + "text-translate": { + "type": "array", + "value": "number", + "length": 2, + "default": [ + 0, + 0 + ], + "function": "interpolated", + "zoom-function": true, + "transition": true, + "units": "pixels", + "doc": "Distance that the text's anchor is moved from its original placement. Positive values indicate right and down, while negative values indicate left and up.", + "requires": [ + "text-field" + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": {} + } + }, + "text-translate-anchor": { + "type": "enum", + "function": "piecewise-constant", + "zoom-function": true, + "values": { + "map": { + "doc": "The text is translated relative to the map." + }, + "viewport": { + "doc": "The text is translated relative to the viewport." + } + }, + "doc": "Controls the translation reference point.", + "default": "map", + "requires": [ + "text-field", + "text-translate" + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": {} + } + } + }, + "paint_raster": { + "raster-opacity": { + "type": "number", + "doc": "The opacity at which the image will be drawn.", + "default": 1, + "minimum": 0, + "maximum": 1, + "function": "interpolated", + "zoom-function": true, + "transition": true, + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": {} + } + }, + "raster-hue-rotate": { + "type": "number", + "default": 0, + "period": 360, + "function": "interpolated", + "zoom-function": true, + "transition": true, + "units": "degrees", + "doc": "Rotates hues around the color wheel.", + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": {} + } + }, + "raster-brightness-min": { + "type": "number", + "function": "interpolated", + "zoom-function": true, + "doc": "Increase or reduce the brightness of the image. The value is the minimum brightness.", + "default": 0, + "minimum": 0, + "maximum": 1, + "transition": true, + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": {} + } + }, + "raster-brightness-max": { + "type": "number", + "function": "interpolated", + "zoom-function": true, + "doc": "Increase or reduce the brightness of the image. The value is the maximum brightness.", + "default": 1, + "minimum": 0, + "maximum": 1, + "transition": true, + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": {} + } + }, + "raster-saturation": { + "type": "number", + "doc": "Increase or reduce the saturation of the image.", + "default": 0, + "minimum": -1, + "maximum": 1, + "function": "interpolated", + "zoom-function": true, + "transition": true, + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": {} + } + }, + "raster-contrast": { + "type": "number", + "doc": "Increase or reduce the contrast of the image.", + "default": 0, + "minimum": -1, + "maximum": 1, + "function": "interpolated", + "zoom-function": true, + "transition": true, + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": {} + } + }, + "raster-fade-duration": { + "type": "number", + "default": 300, + "minimum": 0, + "function": "interpolated", + "zoom-function": true, + "transition": true, + "units": "milliseconds", + "doc": "Fade duration when a new tile is added.", + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + }, + "data-driven styling": {} + } + } + }, + "paint_background": { + "background-color": { + "type": "color", + "default": "#000000", + "doc": "The color with which the background will be drawn.", + "function": "interpolated", + "zoom-function": true, + "transition": true, + "requires": [ + { + "!": "background-pattern" + } + ], + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + } + } + }, + "background-pattern": { + "type": "string", + "function": "piecewise-constant", + "zoom-function": true, + "transition": true, + "doc": "Name of image in sprite to use for drawing an image background. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512).", + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + } + } + }, + "background-opacity": { + "type": "number", + "default": 1, + "minimum": 0, + "maximum": 1, + "doc": "The opacity at which the background will be drawn.", + "function": "interpolated", + "zoom-function": true, + "transition": true, + "sdk-support": { + "basic functionality": { + "js": "0.10.0", + "android": "2.0.1", + "ios": "2.0.0", + "macos": "0.1.0" + } + } + } + }, + "transition": { + "duration": { + "type": "number", + "default": 300, + "minimum": 0, + "units": "milliseconds", + "doc": "Time allotted for transitions to complete." + }, + "delay": { + "type": "number", + "default": 0, + "minimum": 0, + "units": "milliseconds", + "doc": "Length of time before a transition begins." + } + } +}