UNPKG

@r3l/app

Version:
2 lines 20.6 kB
(window.__LOADABLE_LOADED_CHUNKS__=window.__LOADABLE_LOADED_CHUNKS__||[]).push([[45],{"./src/modules/admin/admin.actions.js":function(e,t,n){"use strict";n.r(t),n.d(t,"setInvites",(function(){return y})),n.d(t,"destroyInvite",(function(){return E})),n.d(t,"setInviteCount",(function(){return j})),n.d(t,"getInviteCount",(function(){return g})),n.d(t,"getInvites",(function(){return x})),n.d(t,"createInvite",(function(){return w})),n.d(t,"destroy",(function(){return O})),n.d(t,"setDownvotes",(function(){return _})),n.d(t,"getDownvotes",(function(){return R})),n.d(t,"sendEmail",(function(){return P})),n.d(t,"saveEmail",(function(){return I})),n.d(t,"loadEmail",(function(){return C})),n.d(t,"sendPostNotification",(function(){return k}));var r=n("../../node_modules/@babel/runtime/helpers/defineProperty.js"),a=n.n(r),i=n("../../node_modules/@babel/runtime/helpers/asyncToGenerator.js"),o=n.n(i),u=n("../../node_modules/@babel/runtime/regenerator/index.js"),s=n.n(u),c=n("../../node_modules/normalizr/dist/normalizr.es.js"),l=n("./src/core/actionTypes.js"),p=n("./src/utils/index.ts"),d=n("./src/utils/env.js"),m=n("./src/modules/auth/auth.actions.js");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}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b=p.c.Alert(),h=new c.b.Entity("invites",{},{idAttribute:"_id"});function y(e){var t=e.data,n=e.community,r=e.skip;return{type:l.V,payload:{data:t,community:n,skip:r}}}function E(e){return{type:l.i,payload:e}}function j(e){return{type:l.X,payload:e}}function g(){return function(){var e=o()(s.a.mark((function e(t){var n;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t(p.d.request({method:"GET",endpoint:"invites",path:"/count"}));case 3:n=e.sent,t(j(n)),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),b.alert(e.t0.message);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(t){return e.apply(this,arguments)}}()}function x(e,t,n){return function(){var r=o()(s.a.mark((function r(a){var i,o;return s.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,a(p.d.request({method:"GET",query:{skip:e,limit:t},endpoint:"invites",path:""}));case 3:return i=r.sent,o=Object(c.a)({invites:i},{invites:[h]}),a(y({data:o,community:n,skip:e})),r.abrupt("return",!0);case 9:return r.prev=9,r.t0=r.catch(0),r.abrupt("return",!1);case 12:case"end":return r.stop()}}),r,null,[[0,9]])})));return function(e){return r.apply(this,arguments)}}()}function w(e){return function(){var t=o()(s.a.mark((function t(n){var r;return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,n(p.d.request({method:"POST",endpoint:"invites",path:"/",body:JSON.stringify(e)}));case 3:return r=t.sent,n(Object(m.updateInvite)(r.invite[0])),n(j(r.count)),t.abrupt("return",r);case 9:return t.prev=9,t.t0=t.catch(0),b.alert(t.t0.message),t.abrupt("return",!1);case 13:case"end":return t.stop()}}),t,null,[[0,9]])})));return function(e){return t.apply(this,arguments)}}()}function O(e){return function(){var t=o()(s.a.mark((function t(n){return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=fetch,t.t1=d.a+"/api/invites/"+e._id,t.t2=v,t.t3={method:"DELETE"},t.next=6,p.d.reqOptions();case 6:return t.t4=t.sent,t.t5=(0,t.t2)(t.t3,t.t4),t.abrupt("return",(0,t.t0)(t.t1,t.t5).then(p.d.handleErrors).then((function(){b.alert("removed item"),n(E(e))})).catch((function(e){b.alert(e.message),console.log("invites error",e)})));case 9:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()}function _(e){return{type:l.Q,payload:e}}function R(e,t){return function(n){return n(p.d.request({method:"GET",query:{skip:e,limit:t},endpoint:"invest",path:"/downvotes"})).then((function(e){return n(_(e))})).catch((function(e){return b.alert(e.message)}))}}function P(e){return function(){var t=o()(s.a.mark((function t(n){return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,n(p.d.request({method:"PUT",endpoint:"email",path:"/",body:JSON.stringify(e)}));case 3:return b.alert("Email has been sent"),t.abrupt("return",!0);case 7:return t.prev=7,t.t0=t.catch(0),t.abrupt("return",!1);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})));return function(e){return t.apply(this,arguments)}}()}function I(e){return function(){var t=o()(s.a.mark((function t(n){return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,n(p.d.request({method:"PUT",endpoint:"email",path:"/save",body:JSON.stringify(e)}));case 3:return b.alert("Email has been saved"),t.abrupt("return",!0);case 7:return t.prev=7,t.t0=t.catch(0),t.abrupt("return",!1);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})));return function(e){return t.apply(this,arguments)}}()}function C(){return function(){var e=o()(s.a.mark((function e(t){var n;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t(p.d.request({method:"GET",endpoint:"email",path:"/load"}));case 3:return n=e.sent,e.abrupt("return",n);case 7:return e.prev=7,e.t0=e.catch(0),e.abrupt("return",!1);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(t){return e.apply(this,arguments)}}()}function k(e){return function(){var t=o()(s.a.mark((function t(n){return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,n(p.d.request({method:"POST",endpoint:"post",path:"/sendPostNotification",body:JSON.stringify(e)}));case 3:return t.abrupt("return",b.alert("Notification sent!"));case 6:return t.prev=6,t.t0=t.catch(0),t.abrupt("return",!1);case 9:case"end":return t.stop()}}),t,null,[[0,6]])})));return function(e){return t.apply(this,arguments)}}()}},"./src/modules/invites/web/inviteModal.container.js":function(e,t,n){"use strict";n.r(t);var r=n("../../node_modules/@babel/runtime/helpers/extends.js"),a=n.n(r),i=n("../../node_modules/@babel/runtime/helpers/classCallCheck.js"),o=n.n(i),u=n("../../node_modules/@babel/runtime/helpers/createClass.js"),s=n.n(u),c=n("../../node_modules/@babel/runtime/helpers/inherits.js"),l=n.n(c),p=n("../../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),d=n.n(p),m=n("../../node_modules/@babel/runtime/helpers/getPrototypeOf.js"),f=n.n(m),v=n("../../node_modules/react/index.js"),b=n.n(v),h=n("../../node_modules/prop-types/index.js"),y=n.n(h),E=n("./src/modules/admin/admin.actions.js"),j=n("../../node_modules/redux/es/redux.js"),g=n("../../node_modules/react-redux/es/index.js"),x=n("../../node_modules/@babel/runtime/helpers/asyncToGenerator.js"),w=n.n(x),O=n("../../node_modules/@babel/runtime/helpers/assertThisInitialized.js"),_=n.n(O),R=n("../../node_modules/@babel/runtime/helpers/defineProperty.js"),P=n.n(R),I=n("../../node_modules/@babel/runtime/regenerator/index.js"),C=n.n(I),k=n("./src/modules/stats/coinStat.component.js"),D=n("./src/modules/styled/index.ts"),T=n("./src/styles/index.js"),S=n("../../node_modules/@r3l/common/lib/index.js"),A=n("./src/utils/text.js"),B=n("../../node_modules/react-native-web/dist/exports/Animated/index.js");function N(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f()(e);if(t){var a=f()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return d()(this,n)}}var L=function(e){l()(n,e);var t=N(n);function n(e,r){var a;return o()(this,n),a=t.call(this,e,r),P()(_()(a),"animate",(function(){a.position.setValue(0),a.color=a.position.interpolate({inputRange:[0,1],outputRange:["#7ED321","#0000ff"]}),a.animation=B.a.timing(a.position,{toValue:1,duration:8e3}).start()})),P()(_()(a),"generateInvite",function(){var e=w()(C.a.mark((function e(t){var n,r,i;return C.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={invitedBy:a.props.auth.user._id},t&&(n.type=t),r=a.props.postInviteGeneration,e.next=5,a.props.actions.createInvite(n);case 5:i=e.sent,r&&r(i);case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),P()(_()(a),"generateInviteUrl",(function(e){var t=e.invite,n=window&&window.location?window.location.origin:"https://relevant.community";return"".concat(n,"/").concat(t.community,"?invitecode=").concat(t.code)})),a.position=new B.a.Value(0),a.color=T.b.black,a}return s()(n,[{key:"componentDidMount",value:function(){var e=this.props,t=e.auth,n=e.inviteList,r=e.actions,a=n[t.community]||[];if(!n.length){var i=a.length;r.getInvites(i,100,t.community)}}},{key:"render",value:function(){var e=this,t=this.props,n=t.auth,r=t.community,a=t.count,i=t.inviteList,o=t.invites,u=t.onShare,s=n.user,c=r.userMemberships,l=void 0===c?[]:c,p=r.communities;if(!r.active)return b.a.createElement(D.L,null,"Please join a community first. You can select one from the left navigation panel.");var d=Object.keys(p).find((function(e){return p[e].slug===r.active})),m=p[d]||{},f=l.find((function(e){return e.communityId===m._id})),v="admin"===s.role||f&&f.superAdmin,h="/".concat(n.community,"?invitecode=").concat(n.user.handle),y=window&&window.location?window.location.origin:"https://relevant.community",E="".concat(y).concat(h),j=(i[n.community]||[]).map((function(t){var n=o[t],r=e.generateInviteUrl({invite:n}),a=(new Date).getTime()-Date.parse(n.createdAt)<5e3,i=n.redeemed?"grey":"blue";return a&&(e.animate(),i=e.color||"black"),b.a.createElement(D.K,{sx:{mt:2,flexDirection:"column"},key:t},b.a.createElement(D.B,{sx:{justifyContent:"space-between"}},b.a.createElement(D.B,{sx:{mr:1}},b.a.createElement(D.K,{sx:{flex:1}},b.a.createElement(D.j,{numberOfLines:1},b.a.createElement(B.a.Text,{onClick:function(){return Object(A.copyToClipBoard)(r)},onPress:function(){return u({title:"Join Relevant",message:"Join Relevant",url:r,subject:"Join Relevant"})},style:{color:i,cursor:"pointer"}},r))),b.a.createElement(D.K,{sx:{ml:.5,alignSelf:"flex-end"}},b.a.createElement(D.j,{sx:{color:"grey"}},"admin"===n.type?"mod":null))),b.a.createElement(D.j,{sx:{color:n.redeemed?"grey":"green"}},n.redeemed?"redeemed":"available")),b.a.createElement(D.n,{sx:{pt:2}}))})),g=E;return b.a.createElement(D.K,{sx:{flexDirection:"column"}},b.a.createElement(D.K,{sx:{mt:6,flexDirection:"column"}},b.a.createElement(D.C,null,"Public Invite Link"),S.PUBLIC_LINK_REWARD?b.a.createElement(D.e,{sx:{mt:1}},"You and each new users get"," ",b.a.createElement(k.a,{size:4,amount:S.PUBLIC_LINK_REWARD,inline:1})," coin",1===S.PUBLIC_LINK_REWARD?"":"s"," per signup via your public invite code."):null,b.a.createElement(D.y,{onClick:function(){return Object(A.copyToClipBoard)(g)},sx:{color:"blue",mt:1},onPress:function(){return u({title:"Join Relevant",message:"Join Relevant",url:E,subject:"Join Relevant"})}},E)),b.a.createElement(D.n,{pt:6}),b.a.createElement(D.K,{sx:{mt:6,flexDirection:"column"}},b.a.createElement(D.C,null,"Private Invite: Your have ",a[r.active]," referral invite",a[r.active]>1?"s":""," left."),b.a.createElement(D.f,{sx:{mt:1}}),S.REFERRAL_REWARD?b.a.createElement(D.e,{inline:1},"Share your Reputation with trustworthy friends with your private invite codes. Earn ",b.a.createElement(k.a,{size:4,amount:S.REFERRAL_REWARD,inline:1})," coin",1===S.REFERRAL_REWARD?"":"s"," per signup."):null),b.a.createElement(D.w,{to:"#",onPress:function(){return e.generateInvite()},onClick:function(){return e.generateInvite()}},b.a.createElement(D.y,{sx:{mt:1,color:"blue"}},"Click here to generate a new private link")),v?b.a.createElement(D.w,{to:"#",onPress:function(){return e.generateInvite("admin")},onClick:function(){return e.generateInvite("admin")}},b.a.createElement(D.y,{sx:{color:"blue",mt:1}},"Click here to generate moderator invite link")):null,b.a.createElement(D.K,{sx:{position:"relative",mx:-6,pt:6}}),b.a.createElement(D.K,{sx:{mt:6,flexDirection:"column"}},b.a.createElement(D.s,null,"Private Invites"),S.REFERRAL_REWARD&&S.PUBLIC_LINK_REWARD?b.a.createElement(D.e,null,"Here’s how many coins you’ve made from invites so far:"," ",b.a.createElement(k.a,{size:4,amount:s.referralTokens,inline:1})," coin",1===s.referralTokens?"":"s"," (max amount is ",S.MAX_AIRDROP,")"):null,b.a.createElement(D.K,{sx:{mt:4,flexDirection:"column"}},j)))}}]),n}(v.Component);L.propTypes={inviteList:y.a.object,invites:y.a.object,auth:y.a.object,community:y.a.object,actions:y.a.object,count:y.a.object,onShare:y.a.func,postInviteGeneration:y.a.func};var K=L,F=n("./src/utils/alert.ts");function G(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f()(e);if(t){var a=f()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return d()(this,n)}}var U=function(e){l()(n,e);var t=G(n);function n(){return o()(this,n),t.apply(this,arguments)}return s()(n,[{key:"componentDidMount",value:function(){this.props.auth.community&&this.props.actions.getInviteCount()}},{key:"postInviteGeneration",value:function(e){e&&Object(F.Alert)().alert("Generated new invite link","success")}},{key:"handleShare",value:function(e){Object(A.copyToClipBoard)(e.url)}},{key:"render",value:function(){return b.a.createElement(K,a()({},this.props,{postInviteGeneration:this.postInviteGeneration,onShare:this.handleShare}))}}]),n}(v.Component);U.propTypes={actions:y.a.object,close:y.a.func,auth:y.a.object};t.default=Object(g.b)((function(e){return{auth:(null==e?void 0:e.auth)||{},community:(null==e?void 0:e.community)||{},count:e.admin.count,invites:e.admin.invites,inviteList:e.admin.inviteList,initialValues:{invitedByString:null==e?void 0:e.auth.user.name}}}),(function(e){return{actions:Object(j.b)({createInvite:E.createInvite,getInviteCount:E.getInviteCount,getInvites:E.getInvites},e)}}))(U)},"./src/modules/stats/coinStat.component.js":function(e,t,n){"use strict";var r=n("../../node_modules/@babel/runtime/helpers/extends.js"),a=n.n(r),i=n("../../node_modules/@babel/runtime/helpers/objectWithoutProperties.js"),o=n.n(i),u=n("../../node_modules/react/index.js"),s=n.n(u),c=n("../../node_modules/prop-types/index.js"),l=n.n(c),p=n("./src/utils/numbers.js"),d=n("./src/utils/propValidation.js"),m=n("./src/modules/wallet/price.context.js"),f=n("./src/modules/styled/index.ts"),v=(n("./src/web3/hooks/index.ts"),n("./src/web3/utils/index.ts"),["user","isOwner","wallet","size","amount","mr","align","noNumber","secondary","fs","lh","inline","c","spaceBetween","showPrice","noSpace"]),b=n("./public/img/relevantcoin.png");function h(e){var t,n=e.user,r=(e.isOwner,e.wallet,e.size),i=void 0===r?3:r,u=e.amount,c=e.mr,l=e.align,d=e.noNumber,h=e.secondary,y=e.fs,E=e.lh,j=e.inline,g=e.c,x=e.spaceBetween,w=e.showPrice,O=e.noSpace,_=o()(e,v);"number"==typeof u?t=u:n&&(t=n.balance+n.pendingCashout,n.fullTokenBalance&&(t+=n.fullTokenBalance));var R=Object(m.usePrice)(t),P=h?f.C:f.z,I="center"===l?-1:1,C=j?f.G:f.B,k="number"==typeof x?x:i;return s.a.createElement(C,a()({},_,{sx:{alignItems:l||"center",mr:"number"===c?c:j?0:1.5}}),s.a.createElement(f.v,{source:b,sx:{height:i,width:i,transform:[{translateY:I}]},resizeMode:"contain"}),d?null:s.a.createElement(P,{sx:{color:g,fontSize:8.001*y||2,lineHeight:8.001*E||2}},O?"":" ",s.a.createElement(f.B,{sx:{width:k+1e-4,height:0}}),Object(p.abbreviateNumber)(t),w?R:""))}h.propTypes={lh:l.a.number,inline:l.a.oneOfType([l.a.bool,l.a.number]),secondary:l.a.bool,mr:l.a.number,fs:l.a.number,amount:l.a.number,size:l.a.number,user:d.c,isOwner:l.a.bool,wallet:l.a.object,align:l.a.string,lineheight:l.a.string,c:l.a.string,noNumber:l.a.bool,spaceBetween:l.a.number,showPrice:l.a.bool,noSpace:l.a.bool},t.a=Object(u.memo)(h)},"./src/modules/wallet/price.context.js":function(e,t,n){"use strict";n.r(t),n.d(t,"PriceContext",(function(){return g})),n.d(t,"exchangeLink",(function(){return x})),n.d(t,"tokenEnabled",(function(){return w})),n.d(t,"usePrice",(function(){return O})),n.d(t,"default",(function(){return _}));var r=n("../../node_modules/@babel/runtime/helpers/defineProperty.js"),a=n.n(r),i=n("../../node_modules/@babel/runtime/helpers/asyncToGenerator.js"),o=n.n(i),u=n("../../node_modules/@babel/runtime/helpers/slicedToArray.js"),s=n.n(u),c=n("../../node_modules/@babel/runtime/regenerator/index.js"),l=n.n(c),p=n("../../node_modules/react/index.js"),d=n.n(p),m=n("../../node_modules/prop-types/index.js"),f=n.n(m),v=n("./src/utils/numbers.js");n("./src/utils/env.js");function b(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 h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var y=Object({BROWSER:!0,NODE_ENV:"production",WEB:"true",NETWORK_NUMBER:"1",VAPID_PUBLIC_KEY:"BJp16DSJF-SdwZ3yxE2cK502FKKI7hxTON6YDoCaTctcq9sr3scJS1iTsa3YSlvOV-p2_P51cNWF5-os4Gc0rq4",INFURA_PROTOCOL:"ws",INFURA_API_KEY:"7d2819de98bb46108cae44811facb5e0",TOKEN_ADDRESS:"0xb6c4267C4877BB0D6b1685Cfd85b0FBe82F105ec",RECAPTCHA_KEY:"6LeyI8EZAAAAAN4S0f9BaSOf7Hks5xTR7CebrgsG"}),E=y.TOKEN_ADDRESS,j=y.DISABLE_PRICE,g=d.a.createContext(0);function x(){return"https://uniswap.exchange/swap?theme=dark&outputCurrency=".concat(E)}function w(){return!!E}function O(e,t){var n=Object(p.useContext)(g).price;return n?"number"===t?Object(v.abbreviateNumber)(n*e):" ($".concat(Object(v.abbreviateNumber)(n*e,2),")"):""}function _(e){var t=e.children,n=Object(p.useReducer)(R,{loading:!1,error:!1,data:null,refresh:0}),r=s()(n,2),a=r[0],i=r[1];Object(p.useEffect)((function(){return function(){var e=o()(l.a.mark((function e(){return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i({type:"FETCH_PRICE_INIT"}),E&&!j){e.next=3;break}return e.abrupt("return");case 3:case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()(),setTimeout((function(){i({type:"REFRESH_PRICE"})}),6e4),function(){!0}}),[a.refresh]);var u=function(e){if(!e)return null;var t=e.ethReserve,n=e.tokenReserve,r=e.ethPrice;if(!t||!n)return null;var a=t.amount.div(n.amount).times(r);return parseFloat(a.toString())}(a.data),c="($".concat(Object(v.abbreviateNumber)(u,2),")");return d.a.createElement(g.Provider,{value:{price:u,priceString:c}},t)}_.propTypes={children:f.a.node};var R=function(e,t){switch(t.type){case"REFRESH_PRICE":return h(h({},e),{},{refresh:e.refresh+1});case"FETCH_PRICE_INIT":return h(h({},e),{},{loading:!0,error:!1});case"FETCH_PRICE_SUCCESS":return h(h({},e),{},{loading:!1,error:!1,data:t.payload});case"FETCH_PRICE_ERROR":return h(h({},e),{},{loading:!1,error:t.payload});default:throw new Error}}},"./src/utils/propValidation.js":function(e,t,n){"use strict";n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return s}));var r=n("../../node_modules/prop-types/index.js"),a=n.n(r),i=n("../../node_modules/react-is/index.js"),o=a.a.shape({handle:a.a.string,balance:a.a.number,image:a.a.string,name:a.a.string}),u=(a.a.shape({_id:a.a.string.isRequired,user:a.a.string.isRequired,title:a.a.string,embeddedUser:a.a.object,tags:a.a.array,body:a.a.string,postDate:a.a.instanceOf(Date),data:a.a.object,link:a.a.object,parentPost:a.a.number,type:a.a.string}),a.a.shape({isAuthenticated:a.a.bool,user:o,community:a.a.string}));function s(e,t,n){if(e[t]&&!Object(i.isValidElementType)(e[t]))return new Error("Invalid prop '".concat(t,"' supplied to '").concat(n,"': the prop is not a valid React component"))}}}]); //# sourceMappingURL=invites-web-inviteModal-container.bundle.f5ab9438bc3dcd4eb6c6.js.map