(this.webpackJsonp=this.webpackJsonp||[]).push([[0],{220: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"}}')},221: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"}}')},262:function(e,t,r){"use strict";var n={};r.r(n),r.d(n,"loadString",(function(){return O})),r.d(n,"saveString",(function(){return v})),r.d(n,"load",(function(){return k})),r.d(n,"save",(function(){return E})),r.d(n,"remove",(function(){return w})),r.d(n,"clear",(function(){return x}));var a=r(9),o=r.n(a),i=r(7),c=r.n(i),l=r(264),s=r(97),u=r.n(s),d=r(220),p=r(221);function f(e,t){return e?u.a.t(e,t):null}u.a.fallbacks=!0,u.a.translations={en:d,ja:p},u.a.locale=l.a||"en",r(179).a.ignoreLogs(["Require cycle:"]);var g=r(0),m=r.n(g),h=r(471),b=r(465),y=r(65);function O(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 v(e,t){return c.a.async((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,c.a.awrap(y.a.setItem(e,t));case 3:return r.abrupt("return",!0);case 6:return r.prev=6,r.t0=r.catch(0),r.abrupt("return",!1);case 9:case"end":return r.stop()}}),null,null,[[0,6]],Promise)}function k(e){var t;return c.a.async((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,c.a.awrap(y.a.getItem(e));case 3:return t=r.sent,r.abrupt("return",JSON.parse(t));case 7:return r.prev=7,r.t0=r.catch(0),r.abrupt("return",null);case 10:case"end":return r.stop()}}),null,null,[[0,7]],Promise)}function E(e,t){return c.a.async((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,c.a.awrap(y.a.setItem(e,JSON.stringify(t)));case 3:return r.abrupt("return",!0);case 6:return r.prev=6,r.t0=r.catch(0),r.abrupt("return",!1);case 9:case"end":return r.stop()}}),null,null,[[0,6]],Promise)}function w(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 x(){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 S=r(466),j=r(6),A=r.n(j),C=r(2),P=r(122),R=r(29),I=r(56),D=r(19),B=r.n(D),z=r(17),L=r.n(z),T=r(54),N={black:"#1d1d1d",white:"#ffffff",offWhite:"#e6e6e6",orange:"#FBA928",orangeDarker:"#EB9918",lightGrey:"#939AA4",lighterGrey:"#CDD4DA",angry:"#dd3333",deepPurple:"#5D2555"},V={palette:N,transparent:"rgba(0, 0, 0, 0)",background:N.white,primary:N.orange,primaryDarker:N.orangeDarker,line:N.offWhite,text:N.white,dim:N.lightGrey,error:N.angry,storybookDarkBg:N.black,storybookTextColor:N.black},W=[0,4,8,12,16,24,32,48,64],H=r(8),F={primary:H.a.select({ios:"Helvetica",android:"normal"}),secondary:H.a.select({ios:"Arial",android:"sans-serif"}),code:H.a.select({ios:"Courier",android:"monospace"})};function U(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function M(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:St;vt()(this,e),this.config=t}return Et()(e,[{key:"setup",value:function(){this.apisauce=Object(wt.create)({baseURL:this.config.url,timeout:this.config.timeout,headers:{Accept:"application/json"}})}},{key:"getUsers",value:function(){var e,t,r,n,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=xt(e))){o.next=7;break}return o.abrupt("return",t);case 7:return r=function(e){return{id:e.id,name:e.name}},o.prev=8,n=e.data,a=n.map(r),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,r,n;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(!(r=xt(t))){a.next=7;break}return a.abrupt("return",r);case 7:return a.prev=7,n={id:t.data.id,name:t.data.name},a.abrupt("return",{kind:"ok",user:n});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 At(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ct(e){for(var t=1;t