(window.webpackJsonp=window.webpackJsonp||[]).push([["main"],{"/nod":
/*!***************************!*\
  !*** ./hooks/useDebug.js ***!
  \***************************/
/*! exports provided: useDebug */
/*! exports used: useDebug */function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r=n(/*! lodash/defaults */"Hmvy"),a=n.n(r),i=n(/*! react */"r0ML");function c(e,t){var n=a()(window,{Swiper:{}}).Swiper;Object(i.useEffect)(function(){return n[e]=t,function(){return delete n[e]}},[n,e,t])}},0:
/*!********************!*\
  !*** ws (ignored) ***!
  \********************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){},"0EFh":
/*!*************************!*\
  !*** ./context/info.js ***!
  \*************************/
/*! exports provided: useInfo, InfoProvider */
/*! exports used: InfoProvider */function(e,t,n){"use strict";n.d(t,"a",function(){return O});var r=n(/*! @babel/runtime/helpers/esm/extends */"IKa1"),a=n(/*! @babel/runtime/helpers/esm/slicedToArray */"6e2+"),i=n(/*! @babel/runtime/helpers/esm/defineProperty */"a28/"),c=n(/*! @emotion/core */"xH0s"),o=n(/*! react */"r0ML"),u=n.n(o),s=n(/*! ../hooks */"s67L"),l=n(/*! ../app */"xATA");function f(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}var b=u.a.createContext();function d(e,t){var n=t.id,r=t.info;return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(n,!0).forEach(function(t){Object(i.a)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,Object(i.a)({},n,r))}function O(e){var t=u.a.useReducer(d,{}),n=Object(a.a)(t,2),i=n[0],o=n[1];return u.a.useEffect(function(){var e=l.a.service("info");return e.on("created",o),function(){return e.off("created",o)}},[o]),Object(s.a)("INFO",i),Object(c.a)(b.Provider,Object(r.a)({value:i},e))}},"27JV":
/*!****************************************!*\
  !*** ./overlays/index.js + 12 modules ***!
  \****************************************/
/*! exports provided: AddFriendOverlay, AddGuestOverlay, HelpOverlay, LoginOverlay, MoreOptionsOverlay, PasslessSignInOverlay */
/*! all exports used */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/@babel/runtime/helpers/esm/defineProperty.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/@babel/runtime/helpers/esm/extends.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/@babel/runtime/helpers/esm/slicedToArray.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/@babel/runtime/regenerator/index.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/@emotion/core/dist/core.browser.esm.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/clsx/dist/clsx.m.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/final-form/dist/final-form.es.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/lodash/at.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/lodash/fromPairs.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/lodash/isFunction.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/lodash/isPlainObject.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/lodash/map.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/lodash/omit.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/lodash/pick.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/react-final-form/dist/react-final-form.es.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/react/index.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/reactstrap/es/Alert.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/reactstrap/es/Button.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/reactstrap/es/Card.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/reactstrap/es/CardBody.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/reactstrap/es/CardFooter.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/reactstrap/es/CardHeader.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/reactstrap/es/Col.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/reactstrap/es/Container.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/reactstrap/es/Form.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/reactstrap/es/FormFeedback.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/reactstrap/es/FormGroup.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/reactstrap/es/FormText.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/reactstrap/es/Input.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/reactstrap/es/Label.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/reactstrap/es/Row.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/yup/lib/index.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with ./app/index.js because of ./entry.js */
/*! ModuleConcatenation bailout: Cannot concat with ./components/InfoBlock.js because of ./info/InfoPage.js */
/*! ModuleConcatenation bailout: Cannot concat with ./components/PickList.js because of ./components/PersonList.js */
/*! ModuleConcatenation bailout: Cannot concat with ./context/config.js because of ./entry.js */
/*! ModuleConcatenation bailout: Cannot concat with ./context/index.js because of ./entry.js */
/*! ModuleConcatenation bailout: Cannot concat with ./icons/index.js because of ./entry.js */
/*! ModuleConcatenation bailout: Cannot concat with ./utils/ErrorBox.js because of ./entry.js */
/*! ModuleConcatenation bailout: Cannot concat with ./utils/SpatialNav.js because of ./components/PersonList.js */
/*! ModuleConcatenation bailout: Cannot concat with ./utils/name-utils.js because of ./components/PersonList.js */
/*! ModuleConcatenation bailout: Cannot concat with ./utils/prop-types.js because of ./entry.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/packages/core/src/log.js because of ./entry.js */function(e,t,n){"use strict";n.r(t);var r=n("IKa1"),a=n("xH0s"),i=n("r0ML"),c=n("2RAV"),o=n("N0y0"),u=n("SVK4"),s=n("T7I3"),l=n("1UiF"),f=n("zehm"),b=n("5Eku"),d=n("AmVM");function O(e){var t=e.title,n=e.children,r=Object(d.b)().dispatch;return Object(b.a)(Object(i.useCallback)(function(e){return"Escape"===e&&(r.overlay.close(),!0)},[r])),Object(a.a)(o.a,{className:"overlay"},t&&Object(a.a)(u.a,null,t),Object(a.a)(s.a,null,n),Object(a.a)(l.a,null,Object(a.a)("kbd",null,"Escape"),"  ",Object(a.a)("span",null,"Return to Previous Screen")))}O.propTypes={title:f.a.string,children:f.a.node.isRequired};var p=n("6e2+"),m=n("Yh9w"),h=n("a28/"),v=n("KFC0"),j=n.n(v),y=n("W/kx"),g=n("MPav"),w=n("z8hX"),k=n("xATA"),P=n("ZMRi");function E(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 N(e){var t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(n,!0).forEach(function(t){Object(h.a)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e.query,Object(h.a)({},e.field,e.input));if(e.service){var n=e.service.replace(/^(\/api\/)?/,"/api/");return P.a.debug("Fetching ".concat(e.field,'=~"').concat(e.input,'" from ').concat(n)),k.a.service(n).find({query:t})}throw new Error("Unable to fetch for LiveSelector")}function x(e){e.placeholder;var t=e.service,n=e.field,c=e.query,o=e.className,u=e.onAdd,s=Object(m.a)(e,["placeholder","service","field","query","className","onAdd"]),l=Object(i.useState)([]),f=Object(p.a)(l,2),d=f[0],O=f[1],h=Object(i.useState)(""),v=Object(p.a)(h,2),k=v[0],E=v[1],x=Object(i.useState)(),S=Object(p.a)(x,2),T=S[0],I=S[1];if(Object(b.a)(Object(i.useCallback)(function(e){return/^[ a-z\u017F\u212A]$/i.test(e)?(E(function(t){return t+e}),!0):"Backspace"===e?(E(function(e){return e.slice(0,-1)}),!0):void 0},[E])),Object(b.a)(Object(i.useCallback)(function(e){if("Enter"===e&&j()(u))return P.a.debug("Adding",{input:k}),u(k),!0},[k,u])),Object(i.useEffect)(function(){N({service:t,field:n,input:k,query:c}).then(function(e){return O(e)}).catch(function(e){return I(e)})},[n,k,t,c]),Object(i.useEffect)(function(){P.a.debug("LiveSelector",c,d)},[c,d]),T)return Object(a.a)(y.a,{error:T});var A=Object(g.a)("live-selector",o);return Object(a.a)("div",{className:A},Object(a.a)("h1",null," ",k," "),Object(a.a)(w.a,Object(r.a)({items:d},s,{selectors:"numbers"})))}x.propTypes={placeholder:f.a.string.isRequired,service:f.a.string,field:f.a.string.isRequired,query:f.a.object,className:f.a.className,onAdd:f.a.func},x.defaultProps={placeholder:"Begin typing",field:"name",query:{}};var S=n("hmas"),T=n("dxsL"),I=n("QzYW");function A(e){var t=Object(d.b)().swipe,n=Object(i.useCallback)(function(e){return t.send({event:"friend-in",friendId:e.id})},[t]),o=Object(i.useMemo)(function(){return{membershipId:t.membership.id}},[t.membership.id]);return Object(a.a)(O,Object(r.a)({title:"Add Friend"},e),Object(a.a)(S.a,{fluid:!0},Object(a.a)(T.a,null,Object(a.a)(I.a,{md:"6"},Object(a.a)(x,{placeholder:"Enter your friend's name",service:"friends",field:"name",renderItem:c.a,onPick:n,query:o})),Object(a.a)(I.a,{md:"6"},Object(a.a)("p",null,"A ",Object(a.a)("b",null,"friend")," is a child who is a member, but not a part of your family membership.  This allows you to sign-in any children of other members you may have brought with you."),Object(a.a)("p",null,"Since they are already members, adding a friend ",Object(a.a)("b",null,"does not")," use a guest pass."),Object(a.a)("p",null,"Previous friends are listed to the left and can be added again by pressing the number next to their name (or by selecting them with the arrow keys and then pressing",Object(a.a)("kbd",null,"Enter"),")."),Object(a.a)("p",null,"To add a new friend, just begin typing their name and matching member names will be displayed.")))))}function M(e){var t=Object(d.b)(),n=t.swipe,o=t.dispatch,u=Object(i.useMemo)(function(){var e=function(e){if(e)return P.a.debug("PICKED",e),n.send({event:"guest-in",guestId:e.id}).then(function(){return o.overlay.close()})};return{renderItem:c.a,query:{membershipId:n.membership.id},onPick:e,onAdd:function(t){return k.a.service("guests").create({membershipId:n.membershipId,name:t}).then(function(t){return e(t)})},placeholder:"Enter your guest's name",service:"guests",field:"name"}},[n,o]);return Object(a.a)(O,Object(r.a)({title:"Add Guest"},e),Object(a.a)(S.a,{fluid:!0},Object(a.a)(T.a,null,Object(a.a)(I.a,{md:"6"},Object(a.a)(x,u)),Object(a.a)(I.a,{md:"6"},Object(a.a)("p",null,"A ",Object(a.a)("b",null,"guest")," is any guest that is not a member.  Signing in a guest ",Object(a.a)("b",null,"does")," use a guest pass."),Object(a.a)("p",null,"If the guest you are signing in has been your guest before, they may appear in the list already, in that case you can just press the letter next to their name to sign them in."),Object(a.a)("p",null,"If you are signing in a guest who has been here before, maybe you should encourage them to join?")))))}M.propTypes={close:f.a.func.isRequired};var D=n("r7AW"),C=n.n(D),R=n("HeQM");function L(e){return Object(a.a)(O,Object(r.a)({title:"Help"},e),Object(a.a)(R.a,{id:"helo"}))}L.propTypes=C()(O.propTypes,"title");var z=n("pcGQ"),F=n.n(z),q=n("5k4D"),V=n("1+qw"),H=n.n(V),W=n("8Ei6"),K=n.n(W),Y=n("jJDv"),B=n.n(Y),G=n("30c9"),J=n.n(G),U=n("vrZp"),_=n("HLS3");function Q(e){return U.object().shape(J()(B()(e,function(e){var t=e.validator||U.string();return e.required&&(t=t.required("Required")),[e.name,t]})))}function Z(){return(Z=Object(q.a)(F.a.mark(function e(t,n,r){var a;return F.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return K()(n)&&(r=n,n=void 0),e.prev=1,a=Q(t),e.next=5,a.validate(r,{abortEarly:!1});case 5:e.next=10;break;case 7:return e.prev=7,e.t0=e.catch(1),e.abrupt("return",J()(B()(e.t0.inner,function(e){return H()(e,"path","message")})));case 10:if("function"!=typeof n){e.next=19;break}return e.prev=11,e.next=14,n(r);case 14:e.next=19;break;case 16:return e.prev=16,e.t1=e.catch(11),e.abrupt("return",X(e.t1.message));case 19:case"end":return e.stop()}},e,null,[[1,7],[11,16]])}))).apply(this,arguments)}function X(e){return Object(h.a)({},_.a,e)}var $=n("4DWI"),ee=n("Vmb7"),te=n("oVuE"),ne=n("tG/F"),re=n("2Xtx"),ae=n("g7z9"),ie=n("2Z+u"),ce=n.n(ie),oe=n("/3r+"),ue=n("42OI"),se=n("a7oy"),le=n("sdZY");function fe(e){var t=e.id,n=e.name,i=e.label,c=e.help,o=ce()(e,["type"]);return Object(a.a)(te.a,{row:!0},Object(a.a)(oe.a,{for:t||n,sm:2},i||n),Object(a.a)(ae.a,{name:n,id:t||n},function(e){var t=e.input,n=e.meta,i=n.error||n.submitError,u=Boolean(i&&n.touched);return Object(a.a)(I.a,{sm:10},Object(a.a)(ue.a,Object(r.a)({className:"focusable"},t,o,{invalid:u})),Object(a.a)(se.a,null,c),Object(a.a)(le.a,null,i))}))}function be(e){var t=e.onSubmit,n=e.fields,i=e.validate,c=Object(re.b)();return Object(a.a)(ae.b,{onSubmit:t,validate:function(e){return function(){return Z.apply(this,arguments)}(n,i,e)},render:function(e){var t=e.handleSubmit,i=e.invalid,o=e.submitting,u=e.submitError,s={onSubmit:t};return c.get("station")&&(s.autoComplete="off"),Object(a.a)($.a,s,u&&Object(a.a)(ee.a,{color:"danger"},u),n.map(function(e){return Object(a.a)(fe,Object(r.a)({key:e.name},e))}),Object(a.a)(te.a,{check:!0,row:!0},Object(a.a)(I.a,{sm:{size:10,offset:2}},Object(a.a)(ne.a,{className:"focusable",type:"submit",color:"primary",size:"lg",block:!0,disabled:i||o},"Submit"))))}})}function de(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 Oe(){var e=Object(d.b)().dispatch,t=Object(i.useMemo)(function(){return{className:"form-login",fields:[{name:"username",type:"text",label:"Username",required:!0,validator:U.string()},{name:"password",type:"password",label:"Password",required:!0,validator:U.string()}],onSubmit:function(t){return k.a.authenticate(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?de(n,!0).forEach(function(t){Object(h.a)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):de(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({strategy:"local"},t)).then(function(){return e.overlay.close()}).catch(function(e){return X(e.message)})}}},[e]);return Object(a.a)(O,{title:"Login"},Object(a.a)(be,t))}fe.propTypes={id:f.a.string,name:f.a.string.isRequired,label:f.a.string,help:f.a.string},be.propTypes={fields:f.a.arrayOf(f.a.shape(fe.propTypes)),onSubmit:f.a.func.isRequired,validate:f.a.func},Oe.propTypes={};var pe=n("4iFE");function me(e){var t=e.buttons,n=Object(m.a)(e,["buttons"]),c=Object(d.b)().dispatch,o=Object(re.b)(),u=Object(i.useCallback)(function(e){return e.overlay?c.overlay(e.overlay):e.onPick?e.onPick(e):void 0},[c]),s=Object(i.useCallback)(function(e){var t=e.label,n=e.icon,r=e.setting;return r&&!o.get(["settings",r])?null:Object(a.a)("span",null,t,n&&Object(a.a)(pe.a,{icon:n,pull:"right"}))},[o]);return Object(a.a)(w.a,Object(r.a)({},n,{items:t,selectors:"numbers",renderItem:s,onPick:u}))}me.propTypes={buttons:f.a.arrayOf(f.a.shape({label:f.a.string.isRequired,icon:f.a.string,disabled:f.a.bool,onPick:f.a.func,setting:f.a.string}))};var he=[{label:"Sign In / Sign Out without Pass",icon:"fas:sign-in-alt",shortcut:"i",overlay:"PasslessSignInOverlay",setting:"passlessSignInEnabled"},{label:"Log In with Username/Password",icon:"fas:user-plus",shortcut:"l",overlay:"LoginOverlay",setting:"stationLoginEnabled"}];function ve(e){return Object(a.a)(O,e,Object(a.a)(S.a,{fluid:!0},Object(a.a)(T.a,null,Object(a.a)(I.a,null,Object(a.a)(me,{buttons:he})),Object(a.a)(I.a,null))))}function je(){Object(re.b)();var e=Object(i.useMemo)(function(){return{className:"form-signin",fields:[{name:"membershipId",label:"Membership Number",required:!0,validator:U.string()},{name:"email",label:"Email Address",required:!0,validator:U.string().email()}],onSubmit:function(){}}},[]);return Object(a.a)(O,{title:"Sign In"},Object(a.a)(be,e))}ve.propTypes={},je.propTypes={},n.d(t,"AddFriendOverlay",function(){return A}),n.d(t,"AddGuestOverlay",function(){return M}),n.d(t,"HelpOverlay",function(){return L}),n.d(t,"LoginOverlay",function(){return Oe}),n.d(t,"MoreOptionsOverlay",function(){return ve}),n.d(t,"PasslessSignInOverlay",function(){return je})},"2RAV":
/*!*****************************!*\
  !*** ./utils/name-utils.js ***!
  \*****************************/
/*! exports provided: formatName */
/*! exports used: formatName */function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(/*! lodash/compact */"rQ01"),a=n.n(r);function i(e){return e.displayName?e.displayName:e.name?e.name:e.firstName||e.lastName?a()([e.firstName,e.lastName]).join(" "):e.id?"".concat(e.id," (Unable to find name)"):JSON.stringify(e)}},"2Xtx":
/*!***************************!*\
  !*** ./context/config.js ***!
  \***************************/
/*! exports provided: useConfig, ConfigProvider, useStation */
/*! exports used: ConfigProvider, useConfig, useStation */function(e,t,n){"use strict";n.d(t,"b",function(){return C}),n.d(t,"a",function(){return R}),n.d(t,"c",function(){return L});var r=n(/*! @babel/runtime/helpers/esm/extends */"IKa1"),a=n(/*! @babel/runtime/helpers/esm/slicedToArray */"6e2+"),i=n(/*! @babel/runtime/helpers/esm/classCallCheck */"nN5v"),c=n(/*! @babel/runtime/helpers/esm/createClass */"ePzV"),o=n(/*! lodash/mapValues */"yMGJ"),u=n.n(o),s=n(/*! lodash/isPlainObject */"8Ei6"),l=n.n(s),f=n(/*! lodash/isString */"lx39"),b=n.n(f),d=n(/*! lodash/map */"jJDv"),O=n.n(d),p=n(/*! lodash/isArray */"P/Kr"),m=n.n(p),h=n(/*! lodash/at */"1+qw"),v=n.n(h),j=n(/*! lodash/pick */"2Z+u"),y=n.n(j),g=n(/*! lodash/set */"DKFa"),w=n.n(g),k=n(/*! lodash/get */"B42D"),P=n.n(k),E=n(/*! lodash/has */"7jeQ"),N=n.n(E),x=n(/*! @emotion/core */"xH0s"),S=n(/*! react */"r0ML"),T=n.n(S),I=n(/*! ../hooks */"s67L"),A=n(/*! ../app */"xATA"),M=function(){function e(t){Object(i.a)(this,e),this.loaded=!!t,this.data=t,t&&function e(t){if(m()(t))return O()(t,function(t,n){if(!b()(t)){if(l()(t))return e(t);throw new Error('Invalid menu item "'.concat(t,'"'))}if(/^\x2D+$/.test(t))return{divider:!0,label:"divider".concat(n)}});if(l()(t))return u()(t,function(t,n){return"items"===n&&m()(t)?e(t):t});throw new Error('Invalid menu "'.concat(t,'"'))}(t.menus)}return Object(c.a)(e,[{key:"has",value:function(e){return N()(this.data,e)}},{key:"get",value:function(e,t){return P()(this.data,e,t)}},{key:"set",value:function(e,t){return w()(this.data,e,t)}},{key:"pick",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return y.a.apply(void 0,[this.data].concat(t))}},{key:"at",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return v.a.apply(void 0,[this.data].concat(t))}}]),e}(),D=T.a.createContext();function C(){var e=T.a.useContext(D);if(!e)throw new Error("useConfig must be used within a ConfigProvider");return e}function R(e){var t=T.a.useState(new M),n=Object(a.a)(t,2),i=n[0],c=n[1];return T.a.useEffect(function(){A.a.service("config").get("mine").then(function(e){return c(new M(e))}).catch(function(e){return c(new M({error:e}))})},[]),Object(I.a)("CONFIG",i),Object(x.a)(D.Provider,Object(r.a)({value:i},e))}function L(){var e=T.a.useContext(D);if(!e)throw new Error("useStation must be used within a ConfigProvider");return e.get("station")}},"3ujT":
/*!****************************************************************************!*\
  !*** /Users/jasonkohles/personal/swiper/packages/core/src/models/Guest.js ***!
  \****************************************************************************/
/*! exports provided: Guest */
/*! exports used: Guest */function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(/*! @babel/runtime/helpers/esm/classCallCheck */"nN5v"),a=n(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */"23d6"),i=n(/*! @babel/runtime/helpers/esm/getPrototypeOf */"Pb1Y"),c=n(/*! @babel/runtime/helpers/esm/inherits */"Vwpy"),o=function(e){function t(){return Object(r.a)(this,t),Object(a.a)(this,Object(i.a)(t).apply(this,arguments))}return Object(c.a)(t,e),t}(n(/*! ./Person */"kuUN").a)},"4iFE":
/*!************************************!*\
  !*** ./icons/index.js + 5 modules ***!
  \************************************/
/*! exports provided: Icon, IconCounter, IconLayer, IconText */
/*! exports used: Icon, IconCounter, IconLayer */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/@babel/runtime/helpers/esm/extends.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/@emotion/core/dist/core.browser.esm.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/@fortawesome/fontawesome-svg-core/index.es.js (<- Module uses injected variables (global, setImmediate)) */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/@fortawesome/free-brands-svg-icons/index.es.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/@fortawesome/free-regular-svg-icons/index.es.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/@fortawesome/free-solid-svg-icons/index.es.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/@fortawesome/react-fontawesome/index.es.js (<- Module uses injected variables (global)) */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/clsx/dist/clsx.m.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/lodash/compact.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/lodash/each.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/lodash/isEmpty.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/lodash/map.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/lodash/range.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with ./utils/prop-types.js because of ./entry.js */function(e,t,n){"use strict";var r={};n.r(r),n.d(r,"fabFacebookF",function(){return c.a}),n.d(r,"fabGoogle",function(){return c.b}),n.d(r,"farArrowAltCircleLeft",function(){return o.a}),n.d(r,"farArrowAltCircleRight",function(){return o.b}),n.d(r,"farCircle",function(){return o.c}),n.d(r,"farIdCard",function(){return o.d}),n.d(r,"farUserCircle",function(){return o.e}),n.d(r,"fasBan",function(){return u.a}),n.d(r,"fasBicycle",function(){return u.b}),n.d(r,"fasCat",function(){return u.c}),n.d(r,"fasCookie",function(){return u.d}),n.d(r,"fasCrown",function(){return u.e}),n.d(r,"fasDog",function(){return u.f}),n.d(r,"fasDove",function(){return u.g}),n.d(r,"fasFish",function(){return u.h}),n.d(r,"fasFrog",function(){return u.i}),n.d(r,"fasGem",function(){return u.j}),n.d(r,"fasGift",function(){return u.k}),n.d(r,"fasGrin",function(){return u.l}),n.d(r,"fasGrinAlt",function(){return u.m}),n.d(r,"fasGrinBeam",function(){return u.n}),n.d(r,"fasHorse",function(){return u.o}),n.d(r,"fasKiwiBird",function(){return u.p}),n.d(r,"fasLaugh",function(){return u.q}),n.d(r,"fasLaughBeam",function(){return u.r}),n.d(r,"fasLeaf",function(){return u.s}),n.d(r,"fasLemon",function(){return u.t}),n.d(r,"fasMagic",function(){return u.u}),n.d(r,"fasMoon",function(){return u.v}),n.d(r,"fasMotorcycle",function(){return u.w}),n.d(r,"fasMountain",function(){return u.x}),n.d(r,"fasNewspaper",function(){return u.y}),n.d(r,"fasOtter",function(){return u.z}),n.d(r,"fasPaperPlane",function(){return u.A}),n.d(r,"fasPaw",function(){return u.B}),n.d(r,"fasPhone",function(){return u.C}),n.d(r,"fasPiggyBank",function(){return u.D}),n.d(r,"fasPlane",function(){return u.E}),n.d(r,"fasRainbow",function(){return u.F}),n.d(r,"fasRecycle",function(){return u.G}),n.d(r,"fasRibbon",function(){return u.H}),n.d(r,"fasRocket",function(){return u.I}),n.d(r,"fasRunning",function(){return u.J}),n.d(r,"fasSchool",function(){return u.K}),n.d(r,"fasShip",function(){return u.L}),n.d(r,"fasSignInAlt",function(){return u.M}),n.d(r,"fasSlash",function(){return u.N}),n.d(r,"fasSmile",function(){return u.O}),n.d(r,"fasSmileBeam",function(){return u.P}),n.d(r,"fasSnowflake",function(){return u.Q}),n.d(r,"fasStar",function(){return u.R}),n.d(r,"fasSun",function(){return u.S}),n.d(r,"fasSync",function(){return u.T}),n.d(r,"fasTractor",function(){return u.U}),n.d(r,"fasTrafficLight",function(){return u.V}),n.d(r,"fasTruck",function(){return u.W}),n.d(r,"fasTruckMonster",function(){return u.X}),n.d(r,"fasTv",function(){return u.Y}),n.d(r,"fasUmbrella",function(){return u.Z}),n.d(r,"fasUmbrellaBeach",function(){return u.ab}),n.d(r,"fasUserPlus",function(){return u.bb}),n.d(r,"fasWifi",function(){return u.cb});n("Whla");var a=n("1lK0"),i=n("4Adl"),c=n("HCl+"),o=n("GSf0"),u=n("0DeS");i.b.add.apply(i.b,Object(a.a)(Object.values(r)));var s=n("Yh9w"),l=n("j5yP"),f=n.n(l),b=n("jJDv"),d=n.n(b),O=n("Q33P"),p=n.n(O),m=n("rQ01"),h=n.n(m),v=n("0I+s"),j=n.n(v),y=n("xH0s"),g=(n("r0ML"),n("fdcJ")),w=n("MPav"),k=n("zehm"),P={fw:"fixedWidth",li:"listItem"};function E(e){var t=e.icon,n=e.name,r=e.mask,a=e.className,i=e.disabled,c=e.label,o=e.color,u=e.background,l=e.style,f=void 0===l?{}:l,b=Object(s.a)(e,["icon","name","mask","className","disabled","label","color","background","style"]);if(j()(P,function(e,t){b[t]&&(b[e]=b[t],delete b[t])}),!(t||n||c))return null;if(c&&!t&&!n)return Object(y.a)("span",null,c);if(b.icon=h()((t||n||"").split(":")),2!==b.icon.length)return console.error("INVALID ICON",{icon:t,name:n}),null;if(b.className=Object(w.a)("icon",{disabled:i},a),r){var d=b.mask.split(":");2===d.length?b.mask=d:console.error("INVALID ICON MASK",{mask:r})}return o&&(f.color=o),u&&(f.background=u),p()(f)||(b.style=f),c?Object(y.a)("span",{className:"labeled-icon"},Object(y.a)(g.a,b),Object(y.a)("span",null,c)):Object(y.a)(g.a,b)}E.propTypes={border:k.a.bool,className:k.a.className,mask:k.a.string,fixedWidth:k.a.bool,inverse:k.a.bool,flip:k.a.oneOf(["horizontal","vertical","both"]),icon:k.a.string,name:k.a.string,listItem:k.a.bool,pull:k.a.oneOf(["left","right"]),pulse:k.a.bool,rotation:k.a.oneOf([90,180,270]),size:k.a.oneOf(["xs","sm","lg"].concat(Object(a.a)(d()(f()(1,10),function(e){return"".concat(e,"x")})))),spin:k.a.bool,symbol:k.a.oneOfType([k.a.string,k.a.bool]),title:k.a.string,transform:k.a.oneOfType([k.a.string,k.a.object]),prefix:k.a.string,disabled:k.a.bool,label:k.a.string,href:k.a.string,color:k.a.string,background:k.a.string,style:k.a.object},E.defaultProps={disabled:!1,border:!1,className:"",mask:null,fixedWidth:!1,inverse:!1,flip:null,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,symbol:!1,title:"",transform:null};var N=n("IKa1");function x(e){var t=e.text,n=e.count,r=e.position,a=e.className,i=Object(s.a)(e,["text","count","position","className"]),c=Object(w.a)("fa-layers-counter",a,"fa-layers-".concat(r));return Object(y.a)("span",Object(N.a)({className:c},i),t||n)}function S(e){var t=e.children,n=e.className,r=Object(s.a)(e,["children","className"]),a=Object(w.a)("fa-layers","fa-fw",n);return Object(y.a)("span",Object(N.a)({className:a},r),t)}x.propTypes={text:k.a.oneOfType([k.a.string,k.a.number]),count:k.a.oneOfType([k.a.string,k.a.number]),className:k.a.className,transform:k.a.oneOfType([k.a.string,k.a.object]),position:k.a.oneOf(["bottom-left","bottom-right","top-left","top-right"])},x.defaultProps={position:"top-right"},S.propTypes={children:k.a.node.isRequired,className:k.a.className},n.d(t,"a",function(){return E}),n.d(t,"b",function(){return x}),n.d(t,"c",function(){return S})},"5Eku":
/*!*****************************!*\
  !*** ./utils/SpatialNav.js ***!
  \*****************************/
/*! exports provided: Focusable, useSpatialNav */
/*! exports used: useSpatialNav */function(e,t,n){"use strict";n.d(t,"a",function(){return v});var r=n(/*! @babel/runtime/helpers/esm/classCallCheck */"nN5v"),a=n(/*! @babel/runtime/helpers/esm/createClass */"ePzV"),i=n(/*! @babel/runtime/helpers/esm/defineProperty */"a28/"),c=n(/*! lodash/assign */"cM2z"),o=n.n(c),u=n(/*! lodash/isFunction */"KFC0"),s=n.n(u),l=n(/*! lodash/isPlainObject */"8Ei6"),f=n.n(l),b=n(/*! lodash/pull */"Unhb"),d=n.n(b),O=n(/*! lodash/filter */"xzHw"),p=n.n(O),m=n(/*! react */"r0ML"),h=function(){function e(t){Object(r.a)(this,e),this.el=t,t.hasAttribute("tabindex")||("set"===this.constructor.tabindexAction?t.setAttribute("tabindex","-1"):"warn"===this.constructor.tabindexAction&&console.warn("Focusable elements need tabindex",t))}return Object(a.a)(e,[{key:"focus",value:function(){this.el.focus()}},{key:"distanceTo",value:function(e){var t=e.x-this.x,n=e.y-this.y;return Math.sqrt(t*t+n*n)}},{key:"bearingTo",value:function(e){var t=Math.atan2(e.x-this.x,e.y-this.y);return t<0&&(t+=2*Math.PI),57.29577951308232*t}},{key:"directionTo",value:function(e){var t=this.bearingTo(e),n=["N","NE","E","SE","S","SW","W","NW"],r=Math.round(t%360/(360/n.length));return n.push(n[0]),n[r]}},{key:"click",value:function(){var e=this;["mousedown","click","mouseup"].forEach(function(t){var n=new MouseEvent(t,{view:window,bubbles:!0,cancelable:!0,buttons:1});e.el.dispatchEvent(n)})}},{key:"next",value:function(e){var t=this,n=this.constructor.outlineWidth,r={up:function(e){return e.bottom<=t.top+n},down:function(e){return e.top>=t.bottom-n},left:function(e){return e.right<=t.left+n},right:function(e){return e.left>=t.right-n}}[e],a=this.constructor.find(r),i=null,c=1/0,o=!0,u=!1,s=void 0;try{for(var l,f=a[Symbol.iterator]();!(o=(l=f.next()).done);o=!0){var b=l.value,d=this.distanceTo(b);d<c&&(c=d,i=b)}}catch(e){u=!0,s=e}finally{try{o||null==f.return||f.return()}finally{if(u)throw s}}return i}},{key:"invoke",value:function(){this.click()}},{key:"height",get:function(){return this.bounds.height}},{key:"width",get:function(){return this.bounds.width}},{key:"left",get:function(){return this.bounds.left+window.scrollX}},{key:"right",get:function(){return this.bounds.right+window.scrollX}},{key:"top",get:function(){return this.bounds.top+window.scrollY}},{key:"bottom",get:function(){return this.bounds.bottom+window.scrollY}},{key:"bounds",get:function(){return this.el.getBoundingClientRect()}},{key:"x",get:function(){return this.left+this.width/2}},{key:"y",get:function(){return this.top+this.height/2}}],[{key:"first",value:function(){var e=document.querySelector(this.selector);if(e)return new this(e)}},{key:"active",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=document.activeElement;if(t.matches(this.selector))return new this(t);if(e){var n=this.first();return n&&n.focus(),n}}},{key:"getAll",value:function(){var e=this;return Array.from(document.querySelectorAll(this.selector)).map(function(t){return new e(t)})}},{key:"find",value:function(e,t){var n=this.getAll();return e&&(n=n.filter(e)),"string"==typeof t&&(n=n.sort(function(e,n){return e[t]-n[t]})),"function"==typeof t&&(n=n.sort(t)),n}},{key:"annotate",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"distance",t=this.active(!0),n={distance:function(e){return t.distanceTo(e)},bearing:function(e){return t.bearingTo(e)},direction:function(e){return t.directionTo(e)}}[e];this.find().forEach(function(e){e.el.innerHTML=String(n(e))})}},{key:"go",value:function(e){var t=this.active(!0);if(!t)return!1;var n=t.next(e);return!!n&&(n.focus(),!0)}},{key:"invoke",value:function(){var e=this.active(!1);return!!e&&(e.invoke(),!0)}},{key:"_handleKeydown",value:function(e){if(e instanceof KeyboardEvent&&!this.disabled){var t=this.eventToKey(e);if(t.startsWith("Arrow")){var n=t.replace(/^Arrow/i,"").toLowerCase();if(this.go(n))return e.preventDefault(),void e.stopPropagation()}if(("Enter"===t||"Space"===t||" "===t)&&this.invoke())return e.preventDefault(),void e.stopPropagation();var r=!0,a=!1,i=void 0;try{for(var c,o=this.fallbacks[Symbol.iterator]();!(r=(c=o.next()).done);r=!0){var u=c.value;if("function"==typeof u){var s=u(t,e,this);if(s){if("abort"===s)return;if("invoke"===s){var l=this.active(!1);l&&l.invoke()}return e.preventDefault(),void e.stopPropagation()}}}}catch(e){a=!0,i=e}finally{try{r||null==o.return||o.return()}finally{if(a)throw i}}}}},{key:"eventToKey",value:function(e){return p()(["Control","Alt","Meta"],function(t){return e.getModifierState(t)}).concat(e.key).join("-")}},{key:"activate",value:function(){this.activated||(window.addEventListener("keydown",this.handleKeydown,!0),this.activated=!0)}},{key:"deactivate",value:function(){this.activated&&(window.removeEventListener("keydown",this.handleKeydown,!0),this.activated=!1)}},{key:"disable",value:function(e){this.disabledBy.add(e)}},{key:"enable",value:function(e){this.disabledBy.delete(e)}},{key:"addFallback",value:function(e){this.fallbacks.unshift(e)}},{key:"removeFallback",value:function(e){d()(this.fallbacks,e)}},{key:"disabled",get:function(){return this.disabledBy.size>0}},{key:"enabled",get:function(){return!this.disabled}}]),e}();function v(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;return f()(e)&&(n=e,e=!0),f()(t)&&(n=t,t=null),s()(e)&&(t=e,e=!0),n&&o()(h,n),Object(m.useLayoutEffect)(function(){if(e)return h.activate(),h.active(!0),function(){return h.deactivate()};var t=Symbol("disabler");return h.disable(t),function(){return h.enable(t)}},[e]),Object(m.useLayoutEffect)(function(){return h.addFallback(t),function(){return h.removeFallback(t)}},[t]),h}Object(i.a)(h,"selector",".focusable"),Object(i.a)(h,"tabindexAction","set"),Object(i.a)(h,"outlineWidth",3),Object(i.a)(h,"fallbacks",[]),Object(i.a)(h,"handleKeydown",function(e){return h._handleKeydown(e)}),Object(i.a)(h,"activated",!1),Object(i.a)(h,"disabledBy",new Set),window.Focusable=h},"8zzJ":
/*!***************************!*\
  !*** ./utils/fit-text.js ***!
  \***************************/
/*! exports provided: FitText */
/*! exports used: FitText */function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r=n(/*! @emotion/core */"xH0s"),a=(n(/*! react */"r0ML"),n(/*! @kennethormandy/react-fittext */"ox5s")),i=n.n(a);function c(e){return Object(r.a)(i.a,e)}},AmVM:
/*!**************************************!*\
  !*** ./context/index.js + 4 modules ***!
  \**************************************/
/*! exports provided: GlobalContext, GlobalContextProvider, useGlobalContext, useConfig, ConfigProvider, useStation, useInfo, InfoProvider */
/*! exports used: GlobalContextProvider, useGlobalContext */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/@babel/runtime/helpers/esm/defineProperty.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/@babel/runtime/helpers/esm/slicedToArray.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/@emotion/core/dist/core.browser.esm.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/jwt-decode/lib/index.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/lodash/assign.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/lodash/compact.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/lodash/each.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/lodash/flattenDeep.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/lodash/flow.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/lodash/fromPairs.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/lodash/isPlainObject.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/lodash/isString.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/lodash/keys.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/lodash/map.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/lodash/omit.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/lodash/pick.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/lodash/uniq.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/lodash/upperFirst.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/react/index.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with ./app/index.js because of ./entry.js */
/*! ModuleConcatenation bailout: Cannot concat with ./hooks/useDebug.js because of ./reader/index.js */
/*! ModuleConcatenation bailout: Cannot concat with ./utils/prop-types.js because of ./mainapp/index.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/packages/core/src/index.js because of ./entry.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/packages/core/src/log.js because of ./entry.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/packages/core/src/models/Model.js because of ./entry.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/packages/core/src/models/Session.js because of ./entry.js */function(e,t,n){"use strict";var r=n("6e2+"),a=n("cM2z"),i=n.n(a),c=n("xH0s"),o=n("r0ML"),u=n("zehm"),s=n("/nod"),l=n("Yh9w"),f=n("a28/"),b=n("8Ei6"),d=n.n(b),O=n("/NDV"),p=n.n(O),m=n("30c9"),h=n.n(m),v=n("2Z+u"),j=n.n(v),y=n("TZTK"),g=n.n(y),w=n("r7AW"),k=n.n(w),P=n("jJDv"),E=n.n(P),N=n("rQ01"),x=n.n(N),S=n("d+lS"),T=n.n(S),I=n("HCER"),A=n.n(I),M=n("vxps"),D=n.n(M),C=n("Rmph"),R=n("wjiP"),L=n("ZMRi");function z(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 F(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?z(n,!0).forEach(function(t){Object(f.a)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):z(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var q={memberauth:["swipe","member","membership","session"]},V=D()(A.a,T.a,x.a);function H(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var a=V(E()(n,function(e){return q[e]||e}));return k()(e,a)}function W(e,t){var n=C.a[g()(e)];if(!n)throw new Error("No model for type ".concat(e));var r=t[e];if(!r)throw new Error("Attempted to coerce ".concat(e," without data"));if(r instanceof n)return r;if(r instanceof R.a)throw new Error("Attempted to coerce a model to a different type");return new n(r)}var K={error:function(e,t){return F({},e,{error:t.error})},swipe:function(e,t){var n=W("swipe",t);L.a.debug("SWIPE CREATED",n);var r=H(e,"memberauth","overlay");return i()(r,{swipe:n}),n.error?r.error=n.error:i()(r,j()(n,"session","membership","member")),r},member:function(e,t){var n=W("member",t),r=n.membership;return F({},H(e,"memberauth"),{member:n,membership:r})},session:function(e,t){return F({},e,{session:W("session",t)})},reset:function(e){var t=H(e,"memberauth");return L.a.debug("RESET STATE",t),t},no_idle:function(e,t){return F({},e,{no_idle:t.no_idle})},overlay:function(e,t){return F({},e,{overlay:t.overlay})}};function Y(e,t){var n=t.type,r=Object(l.a)(t,["type"]),a=K[n];if(!a)return L.a.error('UNKNOWN ACTION type "'.concat(n,'"'),r),e;try{return a(e,r)}catch(e){return L.a.error("GlobalContext reducer for ".concat(n," threw error: ").concat(e)),{}}}var B=n("xATA"),G=n("lx39"),J=n.n(G),U=n("kqAp"),_=n.n(U);function Q(e){d()(e)&&J()(e.accessToken)&&(e=e.accessToken);var t={rawToken:e};try{if(i()(t,_()(e)),t.iat&&(t.issued=new Date(1e3*t.iat)),t.exp){var n=1e3*t.exp;t.expires=new Date(n),Reflect.defineProperty(t,"expired",{get:function(){return Date.now()>n}})}return t.authenticated=Boolean(t.memberId),t}catch(e){return i()(t,{error:e})}}var Z=n("0I+s"),X=n.n(Z),$=n("semo");function ee(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 te(e,t){return Object(o.useEffect)(function(){L.a.debug("REGISTERING SWIPE HANDLER");var e=function(e){L.a.debug("SWIPE CREATED",e),t({type:"swipe",swipe:e})},n=B.a.service("swipes");return n.on("created",e),function(){return n.off("created",e)}},[t]),Object(o.useEffect)(function(){var n=e.swipe;if(n){var r={send:function(e){return i()(e,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ee(n,!0).forEach(function(t){Object(f.a)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ee(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{swipeId:n.id,sessionId:n.sessionId,membershipId:n.membershipId})),B.a.service("sessions").patch(n.sessionId,e).then(function(e){return t.session(new $.a(e))}).catch(t.error)},toggle:function(t){if(t){var n=t.present?"out":"in",r=t.id===e.swipe.memberId?"member":t.relation,a={event:"".concat(r,"-").concat(n)};return"member"===r||"family"===r?a.memberId=t.id:a["".concat(r,"Id")]=t.id,L.a.debug("SENDING EVENT",a),this.send(a).then(function(e){return console.log("SESSION",e),e.getPerson(t.id)})}}},a=p()(r);return i()(n,r),function(){return X()(a,function(e){return delete n[e]})}}},[e.swipe,t]),null}n.d(t,"a",function(){return ie}),n.d(t,"b",function(){return ce});var ne=Object(o.createContext)({}),re={config:{}},ae=ne.Provider;function ie(e){var t=e.children,n=Object(o.useReducer)(Y,re),a=Object(r.a)(n,2),u=a[0],l=a[1];Object(s.a)("GlobalContext",u);var b=function(e,t){var n=Object(o.useCallback)(function(e){return L.a.debug("AUTHENTICATING",e),B.a.authenticate(e).then(function(e){var t=Q(e.accessToken);return L.a.debug("AUTH TOKEN",t),t})},[]),r=Object(o.useCallback)(function(e){t({login:Q(e.accessToken)})},[t]),a=Object(o.useCallback)(function(){t({login:null})},[t]),i=Object(o.useCallback)(function(e){L.a.error("Re-authentication failure",e),t({login:null,error:"Re-authentication failure"})},[t]);return Object(o.useEffect)(function(){return B.a.on("authenticated",r),B.a.on("logout",a),B.a.on("reauthentication-error",i),function(){B.a.off("authenticated",r),B.a.off("logout",a),B.a.off("reauthentication-error",i)}},[r,a,i]),{authenticate:n}}(0,l).authenticate;!function(e,t){Object(o.useEffect)(function(){var e=h()(E()(p()(K),function(e){return[e,function(n){if(d()(n)){var r=p()(n);if(1===r.length&&r[0]===e)throw new Error("Incorrect calling signature for dispatcher.".concat(e))}return L.a.debug("Dispatching ".concat(e,":"),n),t(Object(f.a)({type:e},e,n)),n}]}));i()(t,e),t.overlay.close=function(){return t.overlay(null)}},[t])}(0,l),te(u,l);var O=Object(o.useMemo)(function(){return i()({},u,{dispatch:l,authenticate:b})},[u,l,b]);return Object(c.a)(ae,{value:O},t)}function ce(){return Object(o.useContext)(ne)}ie.propTypes={children:u.a.node}},CY86:
/*!******************************!*\
  !*** ./entry.js + 8 modules ***!
  \******************************/
/*! no exports provided */
/*! all exports used */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/@babel/runtime/helpers/esm/defineProperty.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/@babel/runtime/helpers/esm/slicedToArray.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/@emotion/core/dist/core.browser.esm.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/@reach/router/es/index.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/lodash/get.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/lodash/isError.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/lodash/map.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/moment/moment.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/react-dom/index.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/react-error-boundary/dist/commonjs/index.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/react/index.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/reactstrap/es/Button.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/reactstrap/es/Card.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/reactstrap/es/CardBody.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/reactstrap/es/CardTitle.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/reactstrap/es/Col.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/reactstrap/es/Container.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/reactstrap/es/Form.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/reactstrap/es/FormGroup.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/reactstrap/es/Input.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/reactstrap/es/Label.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/reactstrap/es/Modal.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/reactstrap/es/ModalBody.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/reactstrap/es/ModalFooter.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/reactstrap/es/ModalHeader.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/reactstrap/es/Row.js */
/*! ModuleConcatenation bailout: Cannot concat with ./app/index.js because of ./reader/index.js */
/*! ModuleConcatenation bailout: Cannot concat with ./app/socketio.js because of ./reader/index.js */
/*! ModuleConcatenation bailout: Cannot concat with ./context/config.js because of ./reader/index.js */
/*! ModuleConcatenation bailout: Cannot concat with ./context/index.js because of ./reader/index.js */
/*! ModuleConcatenation bailout: Cannot concat with ./context/info.js because of ./reader/index.js */
/*! ModuleConcatenation bailout: Cannot concat with ./icons/index.js because of ./reader/index.js */
/*! ModuleConcatenation bailout: Cannot concat with ./overlays/index.js because of ./mainapp/pages/Session.js */
/*! ModuleConcatenation bailout: Cannot concat with ./utils/ErrorBox.js because of ./utils/NotFound.js */
/*! ModuleConcatenation bailout: Cannot concat with ./utils/Loading.js because of ./info/InfoIndex.js */
/*! ModuleConcatenation bailout: Cannot concat with ./utils/SpatialNav.js because of ./components/PersonList.js */
/*! ModuleConcatenation bailout: Cannot concat with ./utils/fit-text.js because of ./utils/NotFound.js */
/*! ModuleConcatenation bailout: Cannot concat with ./utils/prop-types.js because of ./reader/index.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/packages/core/src/log.js because of ./reader/index.js */function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"DateTimeIdle",function(){return J});var a=n("B42D"),i=n.n(a),c=n("xH0s"),o=n("r0ML"),u=n("+Q0i"),s=n.n(u),l=n("jeeD"),f=n("/6Xr"),b=n("maJl"),d=n("z3/F"),O=n("bDdp"),p=n("6e2+"),m=n("a28/"),h=n("jJDv"),v=n.n(h),j=n("M1vi"),y=n.n(j),g=n("ObFd"),w=n("ZMRi");function k(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 P(e,t){return t.error&&y()(t.error)&&(t.error=t.error.message),t.error&&!t.status&&(t.status="error"),w.a.debug("Network status changed",t),"connected"===t.status?t:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?k(n,!0).forEach(function(t){Object(m.a)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{},t)}function E(){var e=Object(o.useReducer)(P,{status:"connected"}),t=Object(p.a)(e,2),n=t[0],r=t[1];return Object(o.useEffect)(function(){return g.a,e={connect:function(){r({status:"connected"})},reconnect:function(){r({status:"connected"})},disconnect:function(e){r({status:"disconnected",error:e})},error:function(e){r({error:e})},connect_error:function(e){r({error:e})},reconnect_error:function(e){r({error:e})},connect_timeout:function(){r({status:"timeout"})},reconnecting:function(e){r({attempt:e})}},t=v()(e,function(e,t){return g.a.on(t,e),function(){return g.a.off(t,e)}}),function(){return t.forEach(function(e){return e()})};var e,t},[r]),n}var N=n("4iFE");var x=n("W/kx"),S=n("X7uO"),T=n("5Eku"),I=n("53se"),A=n.n(I),M=n("2Xtx"),D=n("0EFh"),C=n("AmVM"),R=n("dxsL"),L=n("QzYW"),z=n("hmas"),F=n("Yh9w"),q=n("zehm"),V=n("ID3L"),H=n.n(V);function W(){var e=Object(o.useState)(H()()),t=Object(p.a)(e,2),n=t[0],r=t[1];return Object(o.useEffect)(function(){var e=setInterval(function(){return r(H()())},1e3);return function(){return clearInterval(e)}}),n}function K(e){var t=e.format,n=Object(F.a)(e,["format"]),r=W();return Object(c.a)("time",n,r.format(t))}K.propTypes={format:q.a.string},K.defaultProps={format:"HH:mm"};var Y=n("8zzJ");function B(e){var t=e.children,n=Object(M.c)(),r=Object(C.b)().dispatch,a=Object(o.useCallback)(function(e){if(" "===e)return r.overlay("MoreOptionsOverlay"),!0},[r]);return Object(T.a)(a),Object(c.a)("div",{className:"idle h-100"},t,Object(c.a)("small",{className:"corner br"},"[",n.id,"]"))}function G(e){return Object(c.a)(R.a,null,Object(c.a)(L.a,{className:"mx-auto"},Object(c.a)(Y.a,null,Object(c.a)(K,e))))}function J(){var e=Object(M.b)().get("facility.name","");return Object(c.a)(B,null,Object(c.a)(z.a,{className:"idle h-100 text-center",fluid:!0},Object(c.a)(R.a,null,Object(c.a)(L.a,{className:"mx-auto"},Object(c.a)("h1",null,e))),Object(c.a)(G,{format:"dddd MMMM Do"}),Object(c.a)(G,{format:"h:mm a"}),Object(c.a)(R.a,null,Object(c.a)(L.a,null)),Object(c.a)(R.a,{className:"mt-3 fixed-bottom mb-5"},Object(c.a)(L.a,{className:"text-center"},Object(c.a)(Y.a,null,Object(c.a)("span",null,Object(c.a)(N.a,{icon:"far:id-card",color:"red",className:"mx-3"}),Object(c.a)(N.a,{icon:"far:id-card",color:"green",className:"mx-3"}),Object(c.a)(N.a,{icon:"far:id-card",color:"blue",className:"mx-3"}))),Object(c.a)("h1",null,"Please swipe your pass to begin"),Object(c.a)("h1",null,"or press ",Object(c.a)("kbd",null,"SPACE")," for more options")))))}B.propTypes={children:q.a.node.isRequired},J.propTypes={};var U=n("27JV"),_=n("N0y0"),Q=n("T7I3"),Z=n("bMrO"),X=n("4DWI"),$=n("oVuE"),ee=n("42OI"),te=n("/3r+"),ne=n("tG/F");function re(){return Object(c.a)(z.a,null,Object(c.a)(R.a,null,Object(c.a)(L.a,{sm:"9",md:"7",lg:"5",className:"mx-auto"},Object(c.a)("h1",null,"Swiper"),Object(c.a)(_.a,{className:"card-signin my-5"},Object(c.a)(Q.a,null,Object(c.a)(Z.a,{className:"text-center"},"Sign In"),Object(c.a)(X.a,{className:"form-signin"},Object(c.a)($.a,null,Object(c.a)(ee.a,{type:"email",id:"inputEmail",placeholder:"Email address",required:!0}),Object(c.a)(te.a,{for:"inputEmail"},"Email Address")),Object(c.a)($.a,null,Object(c.a)(ee.a,{type:"password",id:"inputPassword",placeholder:"Password",required:!0}),Object(c.a)(te.a,{for:"inputPassword"},"Password")),Object(c.a)(ne.a,{size:"lg",color:"primary",block:!0,type:"submit"},"Sign in"),Object(c.a)("hr",{className:"my-4"})))))))}var ae=n("xATA");"".concat(window.location.origin,"/service-worker.js");n("L1EO"),n("xgpc"),n("tq1v"),n("KQu8");var ie=Object(o.lazy)(function(){return Promise.all(/*! import() | mainapp */[n.e("vendors~mainapp"),n.e("mainapp")]).then(n.bind(null,/*! ./mainapp */"40yP"))}),ce=Object(o.lazy)(function(){return n.e(/*! import() | reader */"reader").then(n.bind(null,/*! ./reader */"B9Ml"))});function oe(e){var t=function(e){return Object(S.d)(e),!0};switch(e){case"F1":return t("/info/help");case"F2":return t("/info");default:return!1}}window.app=ae.a,"serviceWorker"in navigator&&navigator.serviceWorker.ready.then(function(e){return e.unregister()}),s.a.render(Object(c.a)(o.StrictMode,null,Object(c.a)(o.Suspense,{fallback:Object(c.a)(l.a,null)},Object(c.a)(A.a,null,Object(c.a)(M.a,null,Object(c.a)(D.a,null,Object(c.a)(C.a,null,Object(c.a)(function(){var e=Object(M.b)(),t=Object(C.b)(),n=t.swipe,a=t.login,u=t.overlay;if(Object(T.a)(oe),Object(o.useEffect)(function(){e&&e.get&&(document.body.id=e.get("station.type"))},[e]),!e.loaded)return Object(c.a)(l.a,null);if(u){w.a.debug("OVERLAY ENABLED",u);var s=u&&U[u];return s?Object(c.a)(s,null):Object(c.a)(x.a,{error:'Unknown overlay "'.concat(u,'"')})}if(a)return Object(c.a)(ie,null);if(e&&e.has("station")){var f=i()(r,e.get("idlePage"));if(n)return n.error?Object(c.a)(x.a,{error:n.error}):Object(c.a)(ce,null);if(f)return Object(c.a)(f,null)}return Object(c.a)(re,null)},null),Object(c.a)(function(){var e=E(),t=e.status,n=e.error,r=e.attempts;return Object(c.a)(f.a,{isOpen:"connected"!==t,centered:!0,size:"sm",backdrop:!0},Object(c.a)(b.a,null,"Disconnected (",t,")"),Object(c.a)(d.a,{className:"text-center"},Object(c.a)(N.c,{className:"network-error fa-10x"},Object(c.a)(N.a,{icon:"fas:wifi",color:"blue"}),Object(c.a)(N.a,{icon:"fas:slash",className:"slash",color:"red"}),r&&Object(c.a)(N.b,{count:r}))),Object(c.a)(O.a,null,n||"Disconnected from server!"))},null))))))),document.getElementById("root"))},FAbf:
/*!****************************************************************************!*\
  !*** /Users/jasonkohles/personal/swiper/packages/core/src/models/Swipe.js ***!
  \****************************************************************************/
/*! exports provided: Swipe */
/*! exports used: Swipe */function(e,t,n){"use strict";n.d(t,"a",function(){return j});var r=n(/*! @babel/runtime/helpers/esm/objectWithoutProperties */"Yh9w"),a=n(/*! @babel/runtime/helpers/esm/classCallCheck */"nN5v"),i=n(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */"23d6"),c=n(/*! @babel/runtime/helpers/esm/getPrototypeOf */"Pb1Y"),o=n(/*! @babel/runtime/helpers/esm/createClass */"ePzV"),u=n(/*! @babel/runtime/helpers/esm/inherits */"Vwpy"),s=n(/*! lodash/isDate */"I6By"),l=n.n(s),f=n(/*! lodash/isNumber */"6npM"),b=n.n(f),d=n(/*! lodash/isNil */"59DU"),O=n.n(d),p=n(/*! ./Session */"semo"),m=n(/*! ./Model */"wjiP"),h=n(/*! moment */"ID3L"),v=n.n(h),j=function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(a.a)(this,t);var o=n.session,u=Object(r.a)(n,["session"]);return e=Object(i.a)(this,Object(c.a)(t).call(this,u)),o&&(e.session=new p.a(o)),e}return Object(u.a)(t,e),Object(o.a)(t,[{key:"sessionId",get:function(){return this.session.id}}]),Object(o.a)(t,[{key:"getDefaultAction",value:function(){return this.session?this.session.isPresent(this.memberId)?{event:"member-out",memberId:this.memberId,label:"sign out"}:{event:"member-out",memberId:this.memberId,label:"sign in"}:{event:"member-in",memberId:this.memberId,label:"sign in"}}},{key:"member",get:function(){return this.session&&this.session.getMember(this.memberId)}},{key:"membership",get:function(){return this.session&&this.session.membership}},{key:"readerTime",get:function(){return v()(this._readerTime)},set:function(e){this._readerTime=y(e)}},{key:"emitTime",get:function(){return v()(this._emitTime)},set:function(e){this._emitTime=y(e)}},{key:"serverTime",get:function(){return v()(this._serverTime)},set:function(e){this._serverTime=y(e)}}]),t}(m.a);function y(e){if(O()(e)||b()(e))return e;if(v.a.isMoment(e))return e.unix();if(l()(e))return e.getTime()/1e3;throw new Error('Invalid date/time "'.concat(e,'"'))}},HeQM:
/*!*********************************************!*\
  !*** ./components/InfoBlock.js + 1 modules ***!
  \*********************************************/
/*! exports provided: InfoBlock */
/*! exports used: InfoBlock */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/@babel/runtime/helpers/esm/slicedToArray.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/@emotion/core/dist/core.browser.esm.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/react-markdown/lib/react-markdown.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/react/index.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/reactstrap/es/Card.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/reactstrap/es/CardBody.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/reactstrap/es/CardFooter.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/reactstrap/es/CardHeader.js */
/*! ModuleConcatenation bailout: Cannot concat with ./app/index.js because of ./entry.js */
/*! ModuleConcatenation bailout: Cannot concat with ./utils/ErrorBox.js because of ./entry.js */
/*! ModuleConcatenation bailout: Cannot concat with ./utils/Loading.js because of ./entry.js */
/*! ModuleConcatenation bailout: Cannot concat with ./utils/prop-types.js because of ./entry.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/packages/core/src/log.js because of ./entry.js */function(e,t,n){"use strict";var r=n("6e2+"),a=n("Yh9w"),i=n("xH0s"),c=n("r0ML"),o=n("xATA"),u=n("ZMRi"),s=n("W/kx"),l=n("jeeD"),f=n("zehm"),b=n("EFLR"),d=n.n(b);function O(e){var t=e.content;return Object(i.a)(d.a,{skipHtml:!0},t)}O.propTypes={content:f.a.string.isRequired};var p=n("N0y0"),m=n("SVK4"),h=n("T7I3"),v=n("1UiF");function j(e){var t=e.id,n=e.snippet,f=e.bare;Object(a.a)(e,["id","snippet","bare"]);n&&!t&&(t="_snippets/".concat(n));var b=Object(c.useState)(null),d=Object(r.a)(b,2),j=d[0],y=d[1],g=Object(c.useState)(null),w=Object(r.a)(g,2),k=w[0],P=w[1];if(Object(c.useEffect)(function(){o.a.service("/api/info").get(t).then(y).catch(P)},[t]),k)return Object(i.a)(s.a,{error:k});if(!j)return Object(i.a)(l.a,null);u.a.debug("[InfoBlock] DATA",j);var E=j.content,N=Object(a.a)(j,["content"]);return f?Object(i.a)(O,{content:E}):Object(i.a)(p.a,null,Object(i.a)(m.a,{tag:"h3"},N.title),Object(i.a)(h.a,null,Object(i.a)(O,{content:E})),Object(i.a)(v.a,null))}n.d(t,"a",function(){return j}),j.propTypes={id:f.a.string,snippet:f.a.string,bare:f.a.bool},j.defaultProps={bare:!1}},L1EO:
/*!********************!*\
  !*** ./styles.css ***!
  \********************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){},NbPN:
/*!*******************************************!*\
  !*** ./utils/IdleProgress.js + 1 modules ***!
  \*******************************************/
/*! exports provided: IdleProgress */
/*! exports used: IdleProgress */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/@babel/runtime/helpers/esm/slicedToArray.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/@emotion/core/dist/core.browser.esm.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/clsx/dist/clsx.m.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/lodash/defaults.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/lodash/each.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/react/index.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/reactstrap/es/Progress.js */
/*! ModuleConcatenation bailout: Cannot concat with ./app/index.js because of ./entry.js */
/*! ModuleConcatenation bailout: Cannot concat with ./context/config.js because of ./entry.js */
/*! ModuleConcatenation bailout: Cannot concat with ./context/index.js because of ./entry.js */
/*! ModuleConcatenation bailout: Cannot concat with ./utils/prop-types.js because of ./entry.js */function(e,t,n){"use strict";var r=n("xH0s"),a=n("r0ML"),i=n("KwZX"),c=n("MPav"),o=n("zehm"),u=n("6e2+"),s=n("0I+s"),l=n.n(s),f=n("Hmvy"),b=n.n(f),d=n("xATA");var O=n("2Xtx"),p=n("AmVM");function m(e){var t,n=Object(O.b)(),o=Object(p.b)().dispatch,s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};b()(e,{keyboard:!0,mouse:!0,touch:!0,swipe:!0,timeout:60,interval:100,onExpired:function(){}}),e.timeout<1e3&&(e.timeout*=1e3);var t=e.timeout,n=e.interval,r=e.onExpired,i=Object(a.useState)(t),c=Object(u.a)(i,2),o=c[0],s=c[1],f=Object(a.useState)(!1),O=Object(u.a)(f,2),p=O[0],m=O[1],h=Object(a.useState)(!1),v=Object(u.a)(h,2),j=v[0],y=v[1],g=Object(a.useCallback)(function(){return s(t)},[t]),w=Object(a.useCallback)(function(){return m(!0)},[]),k=Object(a.useCallback)(function(){return y(!0)},[]),P=Object(a.useCallback)(function(){s(function(t){return t-e.interval})},[e.interval,s]);Object(a.useEffect)(function(){var e=!1;!p||e||j||(e=!0,r())},[p,r,j]),Object(a.useEffect)(function(){o<=0&&m(!0);var e=setTimeout(P,n);return function(){return clearTimeout(e)}},[o,P,n]);var E=Object(a.useCallback)(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=function(e){return l()(t,function(t){window["".concat(e,"EventListener")](t,g,{capture:!0,passive:!0})})};return r("add"),function(){return r("remove")}},[g]);Object(a.useEffect)(function(){if(e.keyboard)return E("keydown")},[e.keyboard,E]),Object(a.useEffect)(function(){if(e.mouse)return E("mousemove","wheel","DOMMouseScroll","mouseWheel","mousedown")},[e.mouse,E]),Object(a.useEffect)(function(){if(e.touch)return E("touchstart","touchmove","pointerdown","pointermove","MSPointerDown","MSPointerMove")},[e.touch,E]),Object(a.useEffect)(function(){if(e.swipe){var t=d.a.service("swipes");return t.on("created",g),function(){return t.off("created",g)}}},[e.swipe,g]);var N=Math.floor(o/1e3),x=(o/t*100).toFixed(2);return{reset:g,fire:w,cancel:k,update:P,timeLeft:o,seconds:N,expired:p,cancelled:j,percent:x}}({mouse:!1,touch:!1,timeout:n.get("".concat(e.type,"Timeout"),6e4),onExpired:o.reset}),f=(t=s.percent)<=20?"danger":t<=50?"warning":"info",m=Object(c.a)("fixed-bottom","idle-progress");return Object(r.a)(i.a,{value:s.percent,color:f,animated:!0,className:m},s.seconds," seconds remaining")}n.d(t,"a",function(){return m}),m.propTypes={onExpired:o.a.func,type:o.a.oneOf(["swipe","error","other"])},m.defaultProps={type:"other"}},ObFd:
/*!*************************!*\
  !*** ./app/socketio.js ***!
  \*************************/
/*! exports provided: default */
/*! exports used: default */function(e,t,n){"use strict";var r=n(/*! socket.io-client */"cYf2"),a=n.n(r),i=n(/*! @swiper/core */"ZMRi"),c=i.a.error.bind(i.a,"[socket.io]"),o=a()({});t.a=o,o.on("disconnect",function(e){"io server disconnect"===e&&o.connect()}),o.on("error",function(e){return c("Error:",e)}),o.on("connect_error",function(e){return c("Connection Error:",e)}),o.on("connect_timeout",function(){return c("Connection timed out")}),o.on("reconnect_error",function(e){return c("Reconnect Error:",e)}),o.on("reconnect_failed",function(){return c("Reconnect Failed")})},Rmph:
/*!*********************************************************************************!*\
  !*** /Users/jasonkohles/personal/swiper/packages/core/src/index.js + 2 modules ***!
  \*********************************************************************************/
/*! exports provided: models, Model, Person, getApp, setApp, log, Guest, Member, Membership, Session, Station, Swipe, idsort, jwt_decode */
/*! exports used: models */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/@babel/runtime/helpers/esm/classCallCheck.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/@babel/runtime/helpers/esm/defineProperty.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/@babel/runtime/helpers/esm/inherits.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/packages/core/src/models/Guest.js because of ./entry.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/packages/core/src/models/Member.js because of ./entry.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/packages/core/src/models/Membership.js because of ./entry.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/packages/core/src/models/Model.js because of ./entry.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/packages/core/src/models/Session.js because of ./entry.js */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/packages/core/src/models/Swipe.js because of ./entry.js */function(e,t,n){"use strict";var r={};n.r(r),n.d(r,"Guest",function(){return a.a}),n.d(r,"Member",function(){return i.a}),n.d(r,"Membership",function(){return c.a}),n.d(r,"Session",function(){return o.a}),n.d(r,"Station",function(){return d}),n.d(r,"Swipe",function(){return O.a});var a=n("3ujT"),i=n("coEd"),c=n("qmWH"),o=n("semo"),u=n("nN5v"),s=n("23d6"),l=n("Pb1Y"),f=n("Vwpy"),b=n("a28/"),d=function(e){function t(){return Object(u.a)(this,t),Object(s.a)(this,Object(l.a)(t).apply(this,arguments))}return Object(f.a)(t,e),t}(n("wjiP").a);Object(b.a)(d,"validators",{});var O=n("FAbf");n.d(t,"a",function(){return r})},"W/kx":
/*!***************************!*\
  !*** ./utils/ErrorBox.js ***!
  \***************************/
/*! exports provided: ErrorBox */
/*! exports used: ErrorBox */function(e,t,n){"use strict";n.d(t,"a",function(){return b});var r=n(/*! @emotion/core */"xH0s"),a=(n(/*! react */"r0ML"),n(/*! reactstrap */"hmas")),i=n(/*! reactstrap */"dxsL"),c=n(/*! reactstrap */"QzYW"),o=n(/*! reactstrap */"Vmb7"),u=n(/*! ./ */"8zzJ"),s=n(/*! ./ */"NbPN"),l=n(/*! ./ */"zehm"),f=n(/*! @swiper/core */"ZMRi");function b(e){return f.a.error(e.title,e.error),Object(r.a)(a.a,{fluid:!0,className:"h-100 error-box text-center"},Object(r.a)(i.a,{className:"h-100"},Object(r.a)(c.a,{className:"my-auto"},Object(r.a)(o.a,{color:e.color},Object(r.a)(u.a,null,e.title||"ERROR"),Object(r.a)(u.a,null,e.error.message||e.error)))),Object(r.a)(s.a,null))}b.propTypes={title:l.a.string,error:l.a.oneOfType([l.a.string,l.a.instanceOf(Error)]).isRequired,color:l.a.oneOf(["success","info","warning","danger"])},b.defaultProps={color:"danger"}},Whla:
/*!*************************!*\
  !*** ./icons/icons.css ***!
  \*************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){},ZMRi:
/*!*******************************************************************!*\
  !*** /Users/jasonkohles/personal/swiper/packages/core/src/log.js ***!
  \*******************************************************************/
/*! exports provided: log, default */
/*! exports used: log */function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=console},coEd:
/*!*****************************************************************************!*\
  !*** /Users/jasonkohles/personal/swiper/packages/core/src/models/Member.js ***!
  \*****************************************************************************/
/*! exports provided: Member */
/*! exports used: Member */function(e,t,n){"use strict";n.d(t,"a",function(){return p});var r=n(/*! @babel/runtime/helpers/esm/classCallCheck */"nN5v"),a=n(/*! @babel/runtime/helpers/esm/createClass */"ePzV"),i=n(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */"23d6"),c=n(/*! @babel/runtime/helpers/esm/getPrototypeOf */"Pb1Y"),o=n(/*! @babel/runtime/helpers/esm/inherits */"Vwpy"),u=n(/*! @babel/runtime/helpers/esm/defineProperty */"a28/"),s=n(/*! lodash/get */"B42D"),l=n.n(s),f=n(/*! lodash/isString */"lx39"),b=n.n(f),d=n(/*! ./Person */"kuUN"),O={"toggle-on-swipe":!0},p=function(e){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)(this,t),b()(e)&&(e={id:e}),Object(i.a)(this,Object(c.a)(t).call(this,e))}return Object(o.a)(t,e),Object(a.a)(t,[{key:"setting",value:function(e){return l()(this,["settings",e],O[e])}}]),t}(d.a);Object(u.a)(p,"validators",[function(e){return e.id?e.membershipId?e.id.startsWith(e.membershipId+".")?void 0:"id must be prefixed with membershipId":"must have a membershipId":"must have an id"}])},jeeD:
/*!**************************!*\
  !*** ./utils/Loading.js ***!
  \**************************/
/*! exports provided: Loading */
/*! exports used: Loading */function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r=n(/*! @emotion/core */"xH0s"),a=(n(/*! react */"r0ML"),n(/*! ./ */"4iFE")),i={height:"90%",width:"90%"};function c(){return Object(r.a)(a.a,{icon:"fas:sync",spin:!0,style:i})}},kuUN:
/*!*****************************************************************************!*\
  !*** /Users/jasonkohles/personal/swiper/packages/core/src/models/Person.js ***!
  \*****************************************************************************/
/*! exports provided: Person */
/*! exports used: Person */function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n(/*! @babel/runtime/helpers/esm/classCallCheck */"nN5v"),a=n(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */"23d6"),i=n(/*! @babel/runtime/helpers/esm/getPrototypeOf */"Pb1Y"),c=n(/*! @babel/runtime/helpers/esm/inherits */"Vwpy"),o=n(/*! @babel/runtime/helpers/esm/defineProperty */"a28/"),u=n(/*! lodash/compact */"rQ01"),s=n.n(u),l=function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)(this,t),!(e=Object(a.a)(this,Object(i.a)(t).call(this,n))).firstName&&!e.lastName||e.name||(e.name=s()([e.firstName,e.lastName]).join(" ")),e}return Object(c.a)(t,e),t}(n(/*! ./Model */"wjiP").a);Object(o.a)(l,"validators",{})},qmWH:
/*!*********************************************************************************!*\
  !*** /Users/jasonkohles/personal/swiper/packages/core/src/models/Membership.js ***!
  \*********************************************************************************/
/*! exports provided: Membership */
/*! exports used: Membership */function(e,t,n){"use strict";n.d(t,"a",function(){return m});var r=n(/*! @babel/runtime/helpers/esm/objectWithoutProperties */"Yh9w"),a=n(/*! @babel/runtime/helpers/esm/classCallCheck */"nN5v"),i=n(/*! @babel/runtime/helpers/esm/createClass */"ePzV"),c=n(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */"23d6"),o=n(/*! @babel/runtime/helpers/esm/getPrototypeOf */"Pb1Y"),u=n(/*! @babel/runtime/helpers/esm/inherits */"Vwpy"),s=n(/*! lodash/find */"b1Ea"),l=n.n(s),f=n(/*! lodash/map */"jJDv"),b=n.n(f),d=n(/*! lodash/isString */"lx39"),O=n.n(d),p=n(/*! ./Member */"coEd"),m=function(e){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(a.a)(this,t),O()(e)&&(e={id:e});var n=e,i=n.members,u=void 0===i?[]:i,s=Object(r.a)(n,["members"]);return Object(c.a)(this,Object(o.a)(t).call(this,s,{members:b()(u,function(e){return new p.a(e)})}))}return Object(u.a)(t,e),Object(i.a)(t,[{key:"getMember",value:function(e){return l()(this.members,{id:e})}}]),t}(n(/*! ./Model */"wjiP").a)},s67L:
/*!******************************!*\
  !*** ./hooks/useLogValue.js ***!
  \******************************/
/*! exports provided: useLogValue */
/*! exports used: useLogValue */function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(/*! @swiper/core */"ZMRi"),a=n(/*! react */"r0ML");function i(e,t){Object(a.useEffect)(function(){t&&r.a.debug(e,t)},[e,t])}},semo:
/*!******************************************************************************!*\
  !*** /Users/jasonkohles/personal/swiper/packages/core/src/models/Session.js ***!
  \******************************************************************************/
/*! exports provided: Session */
/*! exports used: Session */function(e,t,n){"use strict";n.d(t,"a",function(){return x});var r=n(/*! @babel/runtime/helpers/esm/defineProperty */"a28/"),a=n(/*! @babel/runtime/helpers/esm/objectWithoutProperties */"Yh9w"),i=n(/*! @babel/runtime/helpers/esm/classCallCheck */"nN5v"),c=n(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */"23d6"),o=n(/*! @babel/runtime/helpers/esm/getPrototypeOf */"Pb1Y"),u=n(/*! @babel/runtime/helpers/esm/createClass */"ePzV"),s=n(/*! @babel/runtime/helpers/esm/inherits */"Vwpy"),l=n(/*! lodash/findLast */"ceKZ"),f=n.n(l),b=n(/*! lodash/isObject */"XCkn"),d=n.n(b),O=n(/*! lodash/find */"b1Ea"),p=n.n(O),m=n(/*! lodash/each */"0I+s"),h=n.n(m),v=n(/*! lodash/map */"jJDv"),j=n.n(v),y=n(/*! lodash/assign */"cM2z"),g=n.n(y),w=n(/*! ./Model */"wjiP"),k=n(/*! ./Guest */"3ujT"),P=n(/*! ./Member */"coEd");function E(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 N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(n,!0).forEach(function(t){Object(r.a)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var x=function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(i.a)(this,t),(e=Object(c.a)(this,Object(o.a)(t).call(this,{}))).rebuild(n),e}return Object(s.a)(t,e),Object(u.a)(t,[{key:"membershipId",get:function(){return this.id.split("@")[1]}}]),Object(u.a)(t,[{key:"rebuild",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.members,n=e.friends,r=e.guests,i=Object(a.a)(e,["members","friends","guests"]);g()(this,i),this.members=j()(t,function(e){return new P.a(N({},e,{relation:"family"}))}),this.friends=j()(n,function(e){return new P.a(N({},e,{relation:"friend"}))}),this.guests=j()(r,function(e){return new k.a(N({},e,{relation:"guest"}))}),h()(this.people,function(e){e.displayName||(e.displayName=e.firstName||e.name)})}},{key:"getMember",value:function(e){return p()(this.members,{id:e})}},{key:"getFriend",value:function(e){return p()(this.friends,{id:e})}},{key:"getGuest",value:function(e){return p()(this.guests,{id:e})}},{key:"getPerson",value:function(e){return this.getMember(e)||this.getFriend(e)||this.getGuest(e)}},{key:"isPresent",value:function(e){d()(e)&&e.id&&(e=e.id);var t=this.getPerson(e);return t&&t.present}},{key:"findEvent",value:function(e){return p()(this.events,e)}},{key:"findLastEvent",value:function(e){return f()(this.events,e)}},{key:"people",get:function(){return[].concat(this.members,this.friends,this.guests)}}]),t}(w.a)},wjiP:
/*!****************************************************************************!*\
  !*** /Users/jasonkohles/personal/swiper/packages/core/src/models/Model.js ***!
  \****************************************************************************/
/*! exports provided: Model */
/*! exports used: Model */function(e,t,n){"use strict";n.d(t,"a",function(){return M});var r=n(/*! @babel/runtime/helpers/esm/classCallCheck */"nN5v"),a=n(/*! @babel/runtime/helpers/esm/createClass */"ePzV"),i=n(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */"23d6"),c=n(/*! @babel/runtime/helpers/esm/getPrototypeOf */"Pb1Y"),o=n(/*! @babel/runtime/helpers/esm/assertThisInitialized */"kwR5"),u=n(/*! @babel/runtime/helpers/esm/inherits */"Vwpy"),s=n(/*! lodash/map */"jJDv"),l=n.n(s),f=n(/*! lodash/compact */"rQ01"),b=n.n(f),d=n(/*! lodash/flattenDeep */"HCER"),O=n.n(d),p=n(/*! lodash/mapKeys */"R4kS"),m=n.n(p),h=n(/*! lodash/isFunction */"KFC0"),v=n.n(h),j=n(/*! lodash/isNil */"59DU"),y=n.n(j),g=n(/*! lodash/pickBy */"osXd"),w=n.n(g),k=n(/*! lodash/includes */"lVi8"),P=n.n(k),E=n(/*! lodash/some */"ePEb"),N=n.n(E),x=n(/*! lodash/defaults */"Hmvy"),S=n.n(x),T=n(/*! lodash/assign */"cM2z"),I=n.n(T),A=n(/*! events */"EtQP"),M=function(e){function t(){var e;Object(r.a)(this,t),e=Object(i.a)(this,Object(c.a)(t).call(this));for(var n=arguments.length,a=new Array(n),u=0;u<n;u++)a[u]=arguments[u];return I.a.apply(void 0,[Object(o.a)(e)].concat(a)),S()(Object(o.a)(e),{flags:[]}),e}return Object(u.a)(t,e),Object(a.a)(t,[{key:"flag",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return N()(n,function(t){return P()(e.flags,t)})}},{key:"toJSON",value:function(){var e=w()(this,function(e,t){return!y()(e)&&(!v()(e)&&("events"!==t&&"eventsCount"!==t&&!P()(["_events","_eventsCount"],t)))});return m()(e,function(e,t){return t.replace(/^_/,"")})}},{key:"getValidators",value:function(){for(var e=this,t=[];e;)t.push(e.validators),e=Object.getPrototypeOf(e);return O()(t)}},{key:"validate",value:function(){var e=this,t=this.getValidators();return b()(l()(t,function(t){return t.call(e,e)}))}}]),t}(A.EventEmitter)},xATA:
/*!**********************************!*\
  !*** ./app/index.js + 2 modules ***!
  \**********************************/
/*! exports provided: default */
/*! exports used: default */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/@feathersjs/client/index.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/localforage/dist/localforage.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with /Users/jasonkohles/personal/swiper/node_modules/lodash/isFunction.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with ./app/socketio.js because of ./entry.js */function(e,t,n){"use strict";var r=n("KFC0"),a=n.n(r),i=n("qUw2"),c=n.n(i),o=n("EY0s"),u=n.n(o);var s=n("ObFd");var l=c()();l.service=function(e){e.startsWith("/api")||(e="/api/".concat(e)),e=e.replace(/^(\/+)|(\/+)$/g,"")||"/";var t=this.services[e];return t||(a()(this.defaultService)?(this.use("/".concat(e),this.defaultService(e)),this.services[e]):void 0)},l.configure(function(e){u.a.config({name:"swiper-storage",description:"Swiper Storage"}),e.storage=u.a}),l.configure(c.a.socketio(s.a)),l.configure(function(){return!(arguments.length>0&&void 0!==arguments[0])||arguments[0],function(e){e.configure(c.a.authentication({header:"Authorization",prefix:"",path:"/api/authentication",jwtStrategy:"jwt",entity:"member",service:"/api/members",storageKey:"swiper-jwt",storage:u.a}))}}());t.a=l},xgpc:
/*!********************!*\
  !*** ./reader.css ***!
  \********************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){},z8hX:
/*!********************************!*\
  !*** ./components/PickList.js ***!
  \********************************/
/*! exports provided: PickList */
/*! exports used: PickList */function(e,t,n){"use strict";n.d(t,"a",function(){return I});var r=n(/*! @babel/runtime/helpers/esm/objectWithoutProperties */"Yh9w"),a=n(/*! @babel/runtime/helpers/esm/defineProperty */"a28/"),i=n(/*! lodash/kebabCase */"wCL9"),c=n.n(i),o=n(/*! lodash/isFunction */"KFC0"),u=n.n(o),s=n(/*! lodash/find */"b1Ea"),l=n.n(s),f=n(/*! lodash/map */"jJDv"),b=n.n(f),d=n(/*! lodash/isFinite */"7zBL"),O=n.n(d),p=n(/*! lodash/findIndex */"Jq22"),m=n.n(p),h=n(/*! lodash/isString */"lx39"),v=n.n(h),j=n(/*! @emotion/core */"xH0s"),y=n(/*! react */"r0ML"),g=n(/*! reactstrap */"0ewr"),w=n(/*! reactstrap */"QNTN"),k=n(/*! ../utils */"5Eku"),P=n(/*! ../utils */"MPav"),E=n(/*! ../utils */"zehm"),N=n(/*! @swiper/core */"ZMRi");function x(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 S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?x(n,!0).forEach(function(t){Object(a.a)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):x(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var T=Symbol("addItem");function I(e){var t=e.items,n=e.renderItem,r=e.onPick,a=e.selectors,i=e.startAt,o=e.onAdd,s=e.addLabel,f=e.noContent,d=Object(y.useMemo)(function(){if(!a)return[];var e=a,t=i;return"numbers"===e&&(e="123456789".split("")),"letters"===e&&(e="ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("")),v()(t)&&(t=m()(e,t)),O()(t)?e.slice(t):e},[a,i]),p=Object(y.useCallback)(function(e){return N.a.debug("PICK ITEM",e),e===T?o():r(e)},[r,o]),h=Object(y.useMemo)(function(){return b()(t,function(e,t){return S({shortcut:e.shortcut?e.shortcut.toUpperCase():d[t]},e)})},[t,d]);Object(k.a)(Object(y.useCallback)(function(e){var t=l()(h,{shortcut:e.toUpperCase()});return!!t&&p(t)},[h,p]));var w=Object(y.useMemo)(function(){var e=b()(t,function(e,t){var r=e.shortcut||d[t];return Object(j.a)(A,{key:e.id||e.label||t,item:e,shortcut:r,body:n(e),onClick:p})});return u()(o)&&e.push(Object(j.a)(A,{key:"--add--",item:T,shortcut:d[e.length],body:s,onClick:p})),e},[p,t,n,d,s,o]),E=Object(P.a)("pick-list",e.className,e.title&&"picker-".concat(c()(e.title)),{"no-content":!w.length});return w.length||f?Object(j.a)("div",{className:E},e.title&&Object(j.a)("h1",null,e.title),Object(j.a)(g.a,{className:"picker"},w.length?w:f)):null}function A(e){var t=e.body,n=e.shortcut,a=e.className,i=e.item,c=e.onClick,o=Object(r.a)(e,["body","shortcut","className","item","onClick"]);return o.className=Object(P.a)("focusable",a),o.onClick=Object(y.useCallback)(function(){return c(i)},[i,c]),Object(j.a)(w.a,o,n&&Object(j.a)("kbd",{className:"mr-2"},n),t)}I.propTypes={items:E.a.arrayOf(E.a.shape(S({label:E.a.string.isRequired},A.propTypes))).isRequired,onChange:E.a.func,onPick:E.a.func,renderItem:E.a.func.isRequired,title:E.a.string,pad:E.a.number,active:E.a.bool,selectors:E.a.oneOfType([E.a.oneOf(["letters","numbers"]),E.a.arrayOf(E.a.string)]),startAt:E.a.oneOfType([E.a.string,E.a.number]),className:E.a.className,noContent:E.a.node},I.defaultProps={renderItem:function(e){return JSON.stringify(e)}},A.propTypes={body:E.a.node,shortcut:E.a.string,className:E.a.className,onClick:E.a.func,onAdd:E.a.func,addLabel:E.a.node},A.defaultProps={}},zehm:
/*!*****************************!*\
  !*** ./utils/prop-types.js ***!
  \*****************************/
/*! exports provided: PropTypes */
/*! exports used: PropTypes */function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n(/*! lodash/assign */"cM2z"),a=n.n(r),i=n(/*! prop-types */"cNRa"),c=n.n(i),o=n(/*! @swiper/core */"FAbf"),u=n(/*! @swiper/core */"coEd"),s=n(/*! @swiper/core */"qmWH"),l=a()({},c.a);a()(l,{className:l.oneOfType([l.object,l.string,l.arrayOf(l.oneOfType([l.array,l.object,l.string]))]),swipe:l.instanceOf(o.a),member:l.instanceOf(u.a),membership:l.instanceOf(s.a)})}},[["CY86","runtime","vendors~main"]]]);
//# sourceMappingURL=main.cd2b4e9d.chunk.js.map