(this.webpackJsonp=this.webpackJsonp||[]).push([[0],{240:function(e){e.exports=JSON.parse('{"common":{"ok":"OK!","cancel":"Cancel","back":"Back"},"errors":{"invalidEmail":"Invalid email address."},"welcomeScreen":{"poweredBy":"POWERED BY IGNITE","readyForLaunch":"Ready for launch.","continue":"CONTINUE"},"demoScreen":{"howTo":"HOW TO","title":"What\u2019s In This Stack?","tagLine":"Congratulations, you\u2019ve got a very advanced React Native app template here. Take advantage of this boilerplate!","reactotron":"Demo Reactotron","demoList":"Demo List","androidReactotronHint":"If this doesn\'t work, ensure the Reactotron desktop app is running, run adb reverse tcp:9090 tcp:9090 from your terminal, and reload the app.","iosReactotronHint":"If this doesn\'t work, ensure the Reactotron desktop app is running and reload app.","macosReactotronHint":"If this doesn\'t work, ensure the Reactotron desktop app is running and reload app.","webReactotronHint":"If this doesn\'t work, ensure the Reactotron desktop app is running and reload app.","windowsReactotronHint":"If this doesn\'t work, ensure the Reactotron desktop app is running and reload app."},"demoListScreen":{"title":"Demo List"},"storybook":{"placeholder":"Placeholder","field":"Field"}}')},241:function(e){e.exports=JSON.parse('{"common":{"ok":"OK \ud83c\uddef\ud83c\uddf5","cancel":"Cancel \ud83c\uddef\ud83c\uddf5","back":"Back \ud83c\uddef\ud83c\uddf5"}}')},311:function(e,t,n){"use strict";var r={};n.r(r),n.d(r,"loadString",(function(){return v})),n.d(r,"saveString",(function(){return k})),n.d(r,"load",(function(){return O})),n.d(r,"save",(function(){return E})),n.d(r,"remove",(function(){return x})),n.d(r,"clear",(function(){return C}));var a=n(11),o=n.n(a),i=n(10),c=n.n(i),l=n(314),s=n(111),u=n.n(s),d=n(240),f=n(241);function p(e,t){return e?u.a.t(e,t):null}u.a.fallbacks=!0,u.a.translations={en:d,ja:f},u.a.locale=l.a||"en",n(191).a.ignoreLogs(["Require cycle:"]);var m=n(0),g=n.n(m),h=n(313),b=n(555),y=n(74);function v(e){return c.a.async((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,c.a.awrap(y.a.getItem(e));case 3:return t.abrupt("return",t.sent);case 6:return t.prev=6,t.t0=t.catch(0),t.abrupt("return",null);case 9:case"end":return t.stop()}}),null,null,[[0,6]],Promise)}function k(e,t){return c.a.async((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,c.a.awrap(y.a.setItem(e,t));case 3:return n.abrupt("return",!0);case 6:return n.prev=6,n.t0=n.catch(0),n.abrupt("return",!1);case 9:case"end":return n.stop()}}),null,null,[[0,6]],Promise)}function O(e){var t;return c.a.async((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,c.a.awrap(y.a.getItem(e));case 3:return t=n.sent,n.abrupt("return",JSON.parse(t));case 7:return n.prev=7,n.t0=n.catch(0),n.abrupt("return",null);case 10:case"end":return n.stop()}}),null,null,[[0,7]],Promise)}function E(e,t){return c.a.async((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,c.a.awrap(y.a.setItem(e,JSON.stringify(t)));case 3:return n.abrupt("return",!0);case 6:return n.prev=6,n.t0=n.catch(0),n.abrupt("return",!1);case 9:case"end":return n.stop()}}),null,null,[[0,6]],Promise)}function x(e){return c.a.async((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,c.a.awrap(y.a.removeItem(e));case 3:t.next=7;break;case 5:t.prev=5,t.t0=t.catch(0);case 7:case"end":return t.stop()}}),null,null,[[0,5]],Promise)}function C(){return c.a.async((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,c.a.awrap(y.a.clear());case 3:e.next=7;break;case 5:e.prev=5,e.t0=e.catch(0);case 7:case"end":return e.stop()}}),null,null,[[0,5]],Promise)}var w=n(556),S=n(7),j=n.n(S),A=n(2),T=n(99),P=n(35),D=n(46),B=n(3),R=n.n(B),I=n(24),F=n.n(I),L=n(27),V={black:"#1d1d1d",white:"#ffffff",offWhite:"#e6e6e6",orange:"#FBA928",orangeDarker:"#EB9918",lightGrey:"#939AA4",lighterGrey:"#CDD4DA",angry:"#dd3333",deepPurple:"#5D2555"},z={palette:V,transparent:"rgba(0, 0, 0, 0)",background:V.white,primary:V.orange,primaryDarker:V.orangeDarker,line:V.offWhite,text:V.white,dim:V.lightGrey,error:V.angry,storybookDarkBg:V.black,storybookTextColor:V.black},N=[0,4,8,12,16,24,32,48,64],W=n(6),H={primary:W.a.select({ios:"Helvetica",android:"normal"}),secondary:W.a.select({ios:"Arial",android:"sans-serif"}),code:W.a.select({ios:"Courier",android:"monospace"})};function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function U(e){for(var t=1;tn.labelScale||d.has(e))){var a=e.title.substring(0,Math.min(e.title.length,30)),o=12/r;t.font=o+"px Sans-Serif";var i=[1.1*t.measureText(a).width,o].map((function(e){return e+.5*o})),c=Math.min(3*(r-n.labelScale)/n.labelScale,1);t.fillStyle="rgba(20, 20, 20, "+(0===d.size?.5*c:d.has(e)?.5:.15*c)+")",t.fillRect.apply(t,[e.x-i[0]/2,e.y-i[1]/2].concat(We()(i))),t.textAlign="center",t.textBaseline="middle",t.fillStyle="rgb(255, 255, 255, "+(0===d.size?c:d.has(e)?1:.3*c)+")",t.fillText(a,e.x,e.y),e.__bckgDimensions=i}},nodeCanvasObjectMode:function(){return"after"},onNodeHover:n.hover?x:null,d3AlphaDecay:n.alphaDecay,d3AlphaMin:n.alphaTarget,d3VelocityDecay:n.velocityDecay,onBackgroundClick:E,backgroundColor:"#242730"}))})),_e=n(1),Ze=n(57),qe=n.n(Ze),$e=n(316),et=n(182),tt=n(110),nt=n(79);function rt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function at(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:It;Tt()(this,e),this.config=t}return Dt()(e,[{key:"setup",value:function(){this.apisauce=Object(Bt.create)({baseURL:this.config.url,timeout:this.config.timeout,headers:{Accept:"application/json"}})}},{key:"getUsers",value:function(){var e,t,n,r,a;return c.a.async((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,c.a.awrap(this.apisauce.get("/users"));case 2:if((e=o.sent).ok){o.next=7;break}if(!(t=Rt(e))){o.next=7;break}return o.abrupt("return",t);case 7:return n=function(e){return{id:e.id,name:e.name}},o.prev=8,r=e.data,a=r.map(n),o.abrupt("return",{kind:"ok",users:a});case 14:return o.prev=14,o.t0=o.catch(8),o.abrupt("return",{kind:"bad-data"});case 17:case"end":return o.stop()}}),null,this,[[8,14]],Promise)}},{key:"getUser",value:function(e){var t,n,r;return c.a.async((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,c.a.awrap(this.apisauce.get("/users/"+e));case 2:if((t=a.sent).ok){a.next=7;break}if(!(n=Rt(t))){a.next=7;break}return a.abrupt("return",n);case 7:return a.prev=7,r={id:t.data.id,name:t.data.name},a.abrupt("return",{kind:"ok",user:r});case 12:return a.prev=12,a.t0=a.catch(7),a.abrupt("return",{kind:"bad-data"});case 15:case"end":return a.stop()}}),null,this,[[7,12]],Promise)}}]),e}();function Lt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Vt(e){for(var t=1;t