!function(e){function n(n){for(var i,o,l=n[0],d=n[1],u=n[2],s=0,f=[];s span:first-child{margin-right:1rem;min-width:130px;@media screen and (max-width:","){display:none;}}"],(function(e){return e.theme.responsiveBreakpoints.mobile})),C=(0,v.default)(m.Title).withConfig({displayName:"games-list-widget__StyledTitle",componentId:"yyti6m-2"})(["&.ant-typography{display:none;@media screen and (max-width:","){display:block;}}"],(function(e){return e.theme.responsiveBreakpoints.mobile})),P=v.default.div.withConfig({displayName:"games-list-widget__Container",componentId:"yyti6m-3"})(["width:100%;display:flex;align-items:center;margin-bottom:20px;"]),j=v.default.div.withConfig({displayName:"games-list-widget__SubscriptionContainer",componentId:"yyti6m-4"})(["display:flex;justify-content:center;align-items:center;margin:auto;margin-bottom:24px;"]),I=(0,v.default)(O).withConfig({displayName:"games-list-widget__StyledParagraph",componentId:"yyti6m-5"})(["margin:0 !important;padding:0 !important;"]),R=v.default.a.withConfig({displayName:"games-list-widget__StyledLink",componentId:"yyti6m-6"})(["display:flex;flex-direction:column;align-items:center;text-align:center;padding:24px;&:hover{background-color:rgb(227,227,227);}"]),F=(v.default.div.withConfig({displayName:"games-list-widget__StyledButton",componentId:"yyti6m-7"})([""]),v.default.img.withConfig({displayName:"games-list-widget__StyledImg",componentId:"yyti6m-8"})([""]));_.propTypes={t:r.default.func.isRequired},_.defaultProps={},n.default=(0,u.compose)((0,d.withTranslation)(),(0,l.graphql)(p.default,{name:"regionData",options:function(){return{errorPolicy:"all",fetchPolicy:"cache-and-network"}}}),(0,u.getContext)({userLocation:g.UserLocationType,loadingUserLocation:r.default.bool.isRequired,widgetMode:r.default.bool.isRequired,tournamentId:g.IDType}),(0,u.branch)((function(e){return e.loadingUserLocation}),u.renderNothing),(0,u.withProps)((function(e){e=e.userLocation;var n=(0,a.default)(e,"countryCode","RU");return{userCountry:n,userRegion:(0,a.default)(e,"region"),countryCode:["RU","UA"].includes(n)?n:"RU"}})),(0,u.withStateHandlers)((function(e){var n=e.userRegion,t=e.tournamentId;e=e.countryCode,e={activeTab:n=(0,a.default)(n,"id")||e,mode:"LIST",filter:{searchString:"",status:["ACTIVE"],countryCode:e,notCountryCode:"WORLD"===n?["RU"]:void 0,regionId:["RU","WORLD"].includes(n)?void 0:[n]},zoom:8,center:{},regionSubscriptionModal:!1};return t&&(e.filter.tournamentId=[t],e.filter.notCountryCode=void 0,e.filter.countryCode=void 0,e.filter.regionId=void 0),e}),{showRegionSubscription:function(e){return function(){return E({},e,{regionSubscriptionModal:!0})}},hideRegionSubscription:function(e){return function(){return E({},e,{regionSubscriptionModal:!1})}},onZoomChanged:function(){return function(e){return{zoom:e}}},onCenterChanged:function(){return function(e){return{center:e}}},onSearchClear:function(e){return function(n){return n.type?e:{filter:E({},e.filter,{searchString:""})}}},onSearchChange:function(e){return function(n){return{filter:E({},e.filter,{searchString:n})}}},onTabChange:function(){return function(e){return{activeTab:e}}},setMode:function(){return function(e){return{mode:e?"LIST":"MAP"}}},setFilter:function(e){return function(n){return E({},e,{filter:E({},e.filter,{},n)})}}}),(0,u.withContext)({filter:r.default.object,mode:r.default.string.isRequired,setMode:r.default.func.isRequired,setFilter:r.default.func.isRequired,onZoomChanged:r.default.func.isRequired,zoom:r.default.number,onCenterChanged:r.default.func.isRequired,center:r.default.object},(function(e){var n=e.filter,t=e.setFilter,i=e.setMode,a=e.mode,r=e.activeTab,o=e.onZoomChanged,l=e.zoom,d=e.onCenterChanged;e=e.center;return{mode:a,filter:E({},n,{countryCode:n.countryCode&&!n.searchString&&"RU"===r?["RU"]:void 0,notCountryCode:n.countryCode&&!n.searchString&&"WORLD"===r?["RU"]:void 0,regionId:n.searchString||["RU","WORLD"].includes(r)?void 0:[r]}),setMode:i,setFilter:t,onZoomChanged:o,zoom:l,onCenterChanged:d,center:e}})))(_)},"/9SB":function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateUser"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"data"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UserInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateUser"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"data"},value:{kind:"Variable",name:{kind:"Name",value:"data"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"User"},directives:[]}]}}]}}],loc:{start:0,end:143}},a=(i.loc.source={body:'#import "../fragments/user.graphql"\n\nmutation updateUser($id: ID!, $data: UserInput!) {\n updateUser(id: $id, data: $data) {\n ...User\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}},{});i.definitions=i.definitions.concat(t("UAee").definitions.filter((function(e){return"FragmentDefinition"!==e.kind||(e=e.name.value,!a[e]&&(a[e]=!0))})));var r={};function o(e,n){for(var t=0;t]*>?/gm,"").trim():"";return a.default.createElement(g.default,null,!!t&&a.default.createElement("title",null,t),!!t&&a.default.createElement("meta",{name:"title",content:t}),!!i&&a.default.createElement("meta",{name:"description",content:i}),a.default.createElement("link",{rel:"canonical",href:e}),a.default.createElement("meta",{property:"og:type",content:"website"}),a.default.createElement("meta",{property:"og:url",content:n}),!!t&&a.default.createElement("meta",{property:"og:title",content:t}),!!i&&a.default.createElement("meta",{property:"og:description",content:i}),a.default.createElement("meta",{property:"og:image",content:"https://static.tildacdn.com/tild3363-3464-4465-b962-386536323336/clean_games_logo_col.jpg"}),a.default.createElement("meta",{property:"twitter:card",content:"summary_large_image"}),a.default.createElement("meta",{property:"twitter:url",content:n}),!!t&&a.default.createElement("meta",{property:"twitter:title",content:t}),!!i&&a.default.createElement("meta",{property:"twitter:description",content:i}),a.default.createElement("meta",{property:"twitter:image",content:"https://static.tildacdn.com/tild3363-3464-4465-b962-386536323336/clean_games_logo_col.jpg"}))}))},"6VCu":function(e,n,t){"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=v(t("mwIZ")),r=v(t("17x9")),o=function(e,n){if(!n&&e&&e.__esModule)return e;if(null===e||"object"!=i(e)&&"function"!=typeof e)return{default:e};if((n=function(e){var n,t;return"function"!=typeof WeakMap?null:(n=new WeakMap,t=new WeakMap,function(e){return e?t:n}(e))}(n))&&n.has(e))return n.get(e);var t,a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(t in e){var o;"default"!==t&&Object.prototype.hasOwnProperty.call(e,t)&&((o=r?Object.getOwnPropertyDescriptor(e,t):null)&&(o.get||o.set)?Object.defineProperty(a,t,o):a[t]=e[t])}return a.default=e,n&&n.set(e,a),a}(t("q1tI")),l=t("yLQo"),d=t("PQp+"),u=t("nnh2"),c=t("eHHv"),s=v(t("8WIC")),f=v(t("Uohh")),m=t("J6pz"),p=v(t("S8FA")),g=["loading","markers","defaultZoom","defaultCenter","onMarkerClick","onClick","onDblClick","clickedMarker","onToggle","mode","createdMarker","onZoomChanged","mapRef","onCenterChanged","zoom"];function v(e){return e&&e.__esModule?e:{default:e}}function y(){return(y=Object.assign?Object.assign.bind():function(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,i=new Array(n);te.length)&&(n=e.length);for(var t=0,i=new Array(n);t div{display:flex;align-items:center;margin:auto;&:first-of-type{padding-top:0.5rem;padding-bottom:0.5rem;max-width:",";}> div{flex-grow:1;display:flex;flex-direction:column;justify-content:space-between;}}.ant-divider{margin-top:0.8rem;margin-bottom:0.8rem;}"],(function(e){return e.backgroundImage}),(function(e){return e.widgetMode?"absolute":"relative"}),(function(e){return e.theme.responsiveBreakpoints.mobile}),(function(e){return e.theme.maxContentWidth})),_=f.default.div.withConfig({displayName:"footer__Row",componentId:"sc-1pc02ne-1"})(["display:flex;align-items:center;position:relative;&:first-of-type{margin-top:1rem;@media screen and (max-width:","){margin-top:0.5rem;}}&:last-of-type{margin-bottom:1rem;}@media screen and (max-width:","){flex-direction:column;text-align:center;}"],(function(e){return e.theme.responsiveBreakpoints.mobile}),(function(e){return e.theme.responsiveBreakpoints.mobile})),O=(0,f.default)(_).withConfig({displayName:"footer__MenuRow",componentId:"sc-1pc02ne-2"})(["@media screen and (max-width:","){display:none;}"],(function(e){return e.theme.responsiveBreakpoints.mobile})),N=(0,f.default)(a.Divider).withConfig({displayName:"footer__RowDivider",componentId:"sc-1pc02ne-3"})(["&.ant-divider-horizontal{@media screen and (max-width:","){display:none;}}"],(function(e){return e.theme.responsiveBreakpoints.mobile})),x=f.default.div.withConfig({displayName:"footer__NavigationMenu",componentId:"sc-1pc02ne-4"})(["display:flex;justify-content:center;width:100%;> a{font-size:16px;font-weight:600;font-style:normal;font-stretch:normal;line-height:normal;letter-spacing:normal;text-align:left;color:#000000 !important;text-decoration:none !important;font-family:'Montserrat','Open Sans',sans-serif;margin:0 1.75rem;}> a:hover{text-decoration:underline !important;}"]),C=f.default.div.withConfig({displayName:"footer__Contacts",componentId:"sc-1pc02ne-5"})(["color:#fff;margin-left:-1rem;margin-right:1rem;"]),P=f.default.a.withConfig({displayName:"footer__Contact",componentId:"sc-1pc02ne-6"})(["font-family:'Montserrat','Open Sans',sans-serif;display:block;text-decoration:underline;&:not(:first-child){margin-top:0.25rem;}&[href^='tel:']{color:#66bbff;font-size:1rem;font-weight:700;@media screen and (max-width:","){font-size:2rem;}}&[href^='mail:']{color:#000;font-size:0.875rem;font-weight:600;@media screen and (max-width:","){font-size:1.35rem;}}"],(function(e){return e.theme.responsiveBreakpoints.mobile}),(function(e){return e.theme.responsiveBreakpoints.mobile})),j=(0,f.default)(s.default).withConfig({displayName:"footer__StyledLogo",componentId:"sc-1pc02ne-7"})(["margin-right:2rem;width:86px;height:66px;@media screen and (max-width:","){display:none;}"],(function(e){return e.theme.responsiveBreakpoints.mobile})),I=f.default.div.withConfig({displayName:"footer__MobileAppButtons",componentId:"sc-1pc02ne-8"})(["margin-top:-0.7rem;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(0.87);@media screen and (max-width:","){position:static;transform:none;margin-top:0rem;margin-bottom:1rem;order:-1;}h5{text-align:center;width:100%;font-family:'Montserrat','Open Sans',sans-serif;font-size:9px;font-weight:800;letter-spacing:0.6px;text-transform:uppercase;margin-bottom:6px;@media screen and (max-width:","){font-size:1rem;letter-spacing:0.4px;margin-bottom:3px;}}> div{display:flex;justify-content:space-between;}"],(function(e){return e.theme.responsiveBreakpoints.mobile}),(function(e){return e.theme.responsiveBreakpoints.mobile})),R=f.default.a.withConfig({displayName:"footer__MobileAppButton",componentId:"sc-1pc02ne-9"})(["display:inline-block;background:url(",") center center no-repeat;background-size:contain;width:110px;height:34px;& + &{margin-left:1.125rem;}@media screen and (max-width:","){width:150px;height:50px;}"],(function(e){return e.backgroundImage}),(function(e){return e.theme.responsiveBreakpoints.mobile})),F=f.default.div.withConfig({displayName:"footer__SocialGroupLinks",componentId:"sc-1pc02ne-10"})(["margin:0 0.5rem;@media screen and (max-width:","){margin-top:1rem;}"],(function(e){return e.theme.responsiveBreakpoints.mobile})),T=(f.default.a.withConfig({displayName:"footer__SocialGroupLink",componentId:"sc-1pc02ne-11"})(["display:inline-block;background:url(",") center center no-repeat;background-size:contain;width:34px;height:34px;& + &{margin-left:0.5rem;}"],(function(e){return e.backgroundImage})),f.default.div.withConfig({displayName:"footer__Copyright",componentId:"sc-1pc02ne-12"})(["padding-top:0.5rem;text-align:center;justify-content:center;@media screen and (max-width:","){border-top:1px solid #e8e8e8;margin-top:1rem;}> span{font-family:Montserrat;font-size:12px;font-weight:500;font-style:normal;font-stretch:normal;line-height:2;letter-spacing:normal;text-align:center;color:#7c7c7c;}"],(function(e){return e.theme.responsiveBreakpoints.mobile}))),D=(f.default.a.withConfig({displayName:"footer__StyledA",componentId:"sc-1pc02ne-13"})([""]),f.default.div.withConfig({displayName:"footer__FPGContainer",componentId:"sc-1pc02ne-14"})(["margin-left:2rem;max-width:180px;text-align:left;@media screen and (max-width:","){display:none;}> img{margin-bottom:0.5rem;display:inline-block;}> span{display:inline-block;font-size:0.6rem;}> span{}"],(function(e){return e.theme.responsiveBreakpoints.mobile})));S.propTypes={t:r.default.func.isRequired,copyrightDate:r.default.number.isRequired,widgetMode:r.default.bool},S.defaultProps={widgetMode:!1},n.default=(0,d.compose)((0,l.withTranslation)(),(0,d.getContext)({widgetMode:r.default.bool.isRequired,showHeaderAndFooter:r.default.bool.isRequired}),(0,d.withProps)((function(e){return e.match,{copyrightDate:(new Date).getFullYear()}})),d.pure)(S)},CHOk:function(e,n,t){e.exports=t.p+"assets/img/bagton.4c912b14c6f449b51e00df95b8db4efe.png"},CljM:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=t("gdfu"),a=v(t("mwIZ")),r=v(t("bt/X")),o=v(t("17x9")),l=v(t("q1tI")),d=t("9kay"),u=t("eHHv"),c=v(t("8WIC")),s=t("ObkP"),f=v(t("dRlb")),m=v(t("vOnD")),p=v(t("Nw5b")),g=t("nyHz");function v(e){return e&&e.__esModule?e:{default:e}}function y(e){var n=e.filter,t=e.queryContext,o=e.region,d=e.country;n={filter:n};return o&&(n.filter.regionId=[(0,a.default)(o,"id")]),d&&(n.filter.countryId=[(0,a.default)(d,"id")]),l.default.createElement(s.Query,{variables:n,context:t,query:f.default},(function(n){var t=n.data,o=(n=n.loading,(0,r.default)((0,a.default)(t,"getGames.rows",[]),(function(n){return(0,g.getTranslatedName)({name:(0,a.default)(n,"address.region.name",""),translatedObj:(0,a.default)(n,"address.region.translatedName",{}),isEng:"ru"!==e.i18n.language})}))),d=Object.keys(o);return l.default.createElement(c.default,{spinning:n},l.default.createElement("div",{style:{display:"flex",flexDirection:"column",padding:"0 16px"}},d.map((function(e){return l.default.createElement("div",{style:{display:"flex",flexDirection:"row",flexWrap:"wrap",gap:"16px"},key:e},Boolean(e)&&1===d.length&&l.default.createElement(i.Divider,null),Boolean(e)&&1e.length)&&(n=e.length);for(var t=0,i=new Array(n);te.length)&&(n=e.length);for(var t=0,i=new Array(n);t span{font-size:1rem;line-height:2rem;white-space:nowrap;}"]),b=(0,c.default)(h).withConfig({displayName:"extended__SubmitButton",componentId:"fo66fn-1"})(["&.ant-btn.ant-btn-primary{margin:1rem auto 0;height:auto;padding-top:0;}"]);y.propTypes={fileList:r.default.array.isRequired,updateState:r.default.func.isRequired,renderSubmitButton:r.default.func.isRequired,beforeUpload:r.default.func.isRequired,onRemove:r.default.func.isRequired,multiple:r.default.bool.isRequired,children:r.default.oneOfType([r.default.node,r.default.func,r.default.element])},y.defaultProps={children:void 0},n.default=(0,d.compose)((0,l.withTranslation)(),(0,d.withProps)((function(e){return{multiple:e.multiple||!1}})),(0,d.withStateHandlers)((function(){return{fileList:[]}}),{updateState:function(e){return function(){return v({},e,{},0 .ant-tabs-bar,&.ant-tabs > .ant-tabs-bar > .ant-tabs-nav-wrap,&.ant-tabs > .ant-tabs-bar > .ant-tabs-nav-wrap > .ant-tabs-nav-scroll{overflow:visible;}&.ant-tabs > .ant-tabs-bar > .ant-tabs-nav-container{bottom:-3px;}&.ant-tabs-line{text-align:",";}.ant-tabs-bar{border-bottom:4px solid #f3f3f3;@media screen and (max-width:","){width:100%;border-bottom-width:3px;}}.ant-tabs-top-bar{display:inline-block;margin:0 0 4px;padding:0 ",";@media screen and (max-width:","){padding:0 ",";}}.ant-tabs-tab{&,&.ant-tabs-tab-active{font-family:Montserrat;font-size:1.1rem;font-weight:bold;font-style:normal;font-stretch:normal;line-height:normal;letter-spacing:normal;text-align:left;color:#0081c7;@media screen and (max-width:","){margin-right:0.3rem;}}}.ant-tabs-tab-active{color:#0081c7 !important;}.ant-tabs-ink-bar{background-color:#0081c7 !important;height:4px;@media screen and (max-width:","){height:3px;bottom:2px;}}"],(function(e){return e.centered?"center":"left"}),(function(e){return e.theme.responsiveBreakpoints.mobile}),(function(e){return e.centered?"20px":0}),(function(e){return e.theme.responsiveBreakpoints.mobile}),(function(e){return e.centered?"10px":0}),(function(e){return e.theme.responsiveBreakpoints.mobile}),(function(e){return e.theme.responsiveBreakpoints.mobile})),n.TabPane=(0,t.default)(i.Tabs.TabPane).withConfig({displayName:"tabs__TabPane",componentId:"uoloez-1"})([""])},KYSs:function(e,n,t){"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=t("ttZb"),r=t("gdfu"),o=function(e,n){if(!n&&e&&e.__esModule)return e;if(null===e||"object"!=i(e)&&"function"!=typeof e)return{default:e};if((n=function(e){var n,t;return"function"!=typeof WeakMap?null:(n=new WeakMap,t=new WeakMap,function(e){return e?t:n}(e))}(n))&&n.has(e))return n.get(e);var t,a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(t in e){var o;"default"!==t&&Object.prototype.hasOwnProperty.call(e,t)&&((o=r?Object.getOwnPropertyDescriptor(e,t):null)&&(o.get||o.set)?Object.defineProperty(a,t,o):a[t]=e[t])}return a.default=e,n&&n.set(e,a),a}(t("q1tI")),l=t("4KRT"),d=t("9kay"),u=t("eHHv"),c=v(t("vOnD")),s=v(t("0fRC")),f=v(t("HYxK")),m=v(t("0lTH")),p=t("J6pz"),g=(t("LvDl"),v(t("tNkR")));v(t("jj9P")),t=v(t("W1Lc"));function v(e){return e&&e.__esModule?e:{default:e}}function y(e,n,t,i,a,r,o){try{var l=e[r](o),d=l.value}catch(e){return void t(e)}l.done?n(d):Promise.resolve(d).then(i,a)}function h(e,n){var t,i=Object.keys(e);return Object.getOwnPropertySymbols&&(t=Object.getOwnPropertySymbols(e),n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),i.push.apply(i,t)),i}function b(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,i=new Array(n);t h3{font-weight:400;font-size:26px;color:rgba(0,0,0,0.85);}.footer{width:calc(100% - 10px);display:flex;justify-content:space-between;> a{font-size:14px;white-space:nowrap;}> a:hover{text-decoration:underline;}}.center{justify-content:center;}"]),h=(0,t.default)(a.Button).withConfig({displayName:"login-widget__StyledButton",componentId:"sc-1wd5usp-1"})(["&.ant-btn{border:2px solid #66bbff;text-transform:uppercase;background-color:#ffffff;width:100px;height:42px;font-family:'Montserrat','Open Sans',sans-serif;font-size:12px;font-weight:bold;font-style:normal;font-stretch:normal;line-height:normal;letter-spacing:2.4px;text-align:center;color:#000000;@media screen and (max-width:","){display:none;}}"],(function(e){return e.theme.responsiveBreakpoints.mobile})),b=(0,t.default)(a.Button).withConfig({displayName:"login-widget__StyledMobileButton",componentId:"sc-1wd5usp-2"})(["&.ant-btn-icon-only{width:38px;height:38px;font-size:2rem;display:none;background-color:#e8e8e8;border-width:0;&:hover,&:focus{border-width:1px;}.anticon{font-size:2rem;> svg path{fill:#0483c8;}}@media screen and (max-width:","){display:block;}}"],(function(e){return e.theme.responsiveBreakpoints.mobile}));v.propTypes={email:o.default.string,loginTab:o.default.bool.isRequired,authModalStatus:o.default.bool.isRequired,openModal:o.default.func.isRequired,closeModal:o.default.func.isRequired,t:o.default.func.isRequired,userId:p.IDType},v.defaultProps={email:"",userId:void 0},n.default=(0,c.compose)((0,d.withTranslation)(),u.withRouter,(0,c.getContext)({userId:p.IDType,widgetMode:o.default.bool.isRequired,authModalStatus:o.default.bool.isRequired,setAuthModalStatus:o.default.func.isRequired}),(0,c.withStateHandlers)((function(){return{loginTab:!0}}),{toggleLoginTab:function(e){var n=e.loginTab;return function(e){return{loginTab:e||!n}}}}),(0,c.withState)("isForAgreement","setIsForAgreement",!1),(0,c.withHandlers)({openModal:function(e){var n=e.setAuthModalStatus;return function(){return n(!0)}},closeModal:function(e){var n=e.setAuthModalStatus,t=e.toggleLoginTab,i=e.setIsForAgreement;return function(){n(!1),i(!1),t(!0)}},renderSignup:function(e){var n=e.toggleLoginTab,t=e.t,i=e.isForAgreement;return function(){return l.default.createElement(l.Fragment,null,l.default.createElement(m.Title,{centered:!0,level:3},t("sign.Registration")),l.default.createElement(f.default,{toggleLoginTab:n,onSignup:function(){i&&(document.location="".concat((0,r.getServerURL)(),"/accept-agreement"))}}),l.default.createElement("div",{className:"footer center"},l.default.createElement("a",{onClick:function(e){e.preventDefault(),n()}},t("sign.Already registered?"))))}},renderLogin:function(e){var n=e.email,t=e.toggleLoginTab,i=e.t,a=e.isForAgreement;return e.history,function(){return l.default.createElement(l.Fragment,null,a&&l.default.createElement("div",{className:"footer center",style:{textAlign:"center"}},"Для заполнения договора необходимо авторизоваться или зарегистрироваться"),l.default.createElement(m.Title,{centered:!0,level:3},i("sign.Login")),l.default.createElement(s.default,{email:n,onLogin:function(){a&&(document.location="".concat((0,r.getServerURL)(),"/accept-agreement"))}}),l.default.createElement("div",{className:"footer center"},l.default.createElement("a",{href:"".concat((0,r.getServerURL)(),"/forgot-password")},i("sign.Forgot password?"))),l.default.createElement("div",{className:"footer center"},l.default.createElement("a",{onClick:function(e){e.preventDefault(),t()}},i("sign.Not yet registered?"))))}}}),(0,c.lifecycle)({componentDidMount:function(){var e=this;document.addEventListener("loginForAgreement",(function(n){e.props.userId?document.location="".concat((0,r.getServerURL)(),"/accept-agreement"):(e.props.setIsForAgreement(!0),e.props.openModal())}))}}),c.pure)(v)},OZ6l:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=l(t("q1tI")),a=t("eHHv"),r=l(t("vOnD")),o=l(t("Hjan"));function l(e){return e&&e.__esModule?e:{default:e}}function d(){return(d=Object.assign?Object.assign.bind():function(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,i=new Array(n);te.length)&&(n=e.length);for(var t=0,i=new Array(n);t div{display:flex;align-items:center;max-width:",";margin:auto;height:100%;> div{flex-grow:1;display:flex;flex-direction:column;justify-content:space-between;}}.ant-divider{margin-top:0.8rem;margin-bottom:0.6rem;}"],(function(e){return e.backgroundImage}),(function(e){return e.widgetMode?"fixed":"relative"}),(function(e){return e.theme.responsiveBreakpoints.mobile}),(function(e){return e.theme.maxContentWidth})),j=k.default.div.withConfig({displayName:"header__Row",componentId:"sc-18ew0aa-1"})(["display:flex;align-items:center;position:relative;margin-left:1rem;margin-right:1rem;&:first-of-type{margin-top:0.25rem;}&:last-of-type{margin-bottom:0.8rem;}> div:first-of-type{}"]),I=(0,k.default)(j).withConfig({displayName:"header__MenuRow",componentId:"sc-18ew0aa-2"})(["@media screen and (max-width:","){display:none;}"],(function(e){return e.theme.responsiveBreakpoints.mobile})),R=(0,k.default)(a.Divider).withConfig({displayName:"header__RowDivider",componentId:"sc-18ew0aa-3"})(["&.ant-divider-horizontal{@media screen and (max-width:","){display:none;}}"],(function(e){return e.theme.responsiveBreakpoints.mobile})),F=k.default.button.withConfig({displayName:"header__MobileNavigationMenuButton",componentId:"sc-18ew0aa-4"})(["width:38px;text-align:center;margin-left:1.5rem;border:0;background:none;padding:0;margin:0 0 0 1.5rem;> div{width:26px;height:3px;background-color:#fff;margin:auto;&:not(:first-child){margin-top:5px;}}"]),T=(0,k.default)(j).withConfig({displayName:"header__MobileNavigationRow",componentId:"sc-18ew0aa-5"})(["background-color:#0081c7;margin-left:0;margin-right:0;display:none;padding:0.5rem 1rem;> div{flex-grow:1;}@media screen and (max-width:","){display:flex;align-items:center;}"],(function(e){return e.theme.responsiveBreakpoints.mobile})),D=(0,k.default)(y.default).withConfig({displayName:"header__MobileNavigationMenuContainer",componentId:"sc-18ew0aa-6"})([".ant-drawer-content-wrapper{background-color:#f9f9f9;}.ant-divider-horizontal{}"]),M=k.default.div.withConfig({displayName:"header__MobileNavigationMenu",componentId:"sc-18ew0aa-7"})(["display:flex;flex-direction:column;margin-top:-1rem;> a{color:#000;font-size:1.4rem;margin-top:0.5rem;}"]),q=k.default.div.withConfig({displayName:"header__NavigationMenu",componentId:"sc-18ew0aa-8"})(["display:flex;justify-content:space-between;width:100%;@media screen and (max-width:","){display:none;}> a{font-size:16px;font-weight:600;font-style:normal;font-stretch:normal;line-height:normal;letter-spacing:normal;text-align:left;color:#000000 !important;text-decoration:none !important;font-family:'Montserrat','Open Sans',sans-serif;}> a:hover{text-decoration:underline !important;}"],(function(e){return e.theme.responsiveBreakpoints.mobile})),A=k.default.div.withConfig({displayName:"header__Profile",componentId:"sc-18ew0aa-9"})(["text-align:right;margin-left:1rem;display:flex;justify-content:flex-end;align-items:flex-start;flex-wrap:wrap;@media screen and (max-width:","){min-width:9.2rem;}"],(function(e){return e.theme.responsiveBreakpoints.mobile})),L=k.default.div.withConfig({displayName:"header__Contacts",componentId:"sc-18ew0aa-10"})(["color:#fff;margin-left:-1.25rem;margin-right:1rem;@media screen and (max-width:","){display:none;}"],(function(e){return e.theme.responsiveBreakpoints.mobile})),U=k.default.a.withConfig({displayName:"header__Contact",componentId:"sc-18ew0aa-11"})(["font-family:'Montserrat','Open Sans',sans-serif;display:block;text-decoration:underline;&:not(:first-child){margin-top:0.25rem;}&[href^='tel:']{color:#66bbff;font-size:16px;font-weight:700;}&[href^='mailto:']{color:#000;font-size:14px;font-weight:600;}"]),z=(0,k.default)(b.default).withConfig({displayName:"header__StyledLogo",componentId:"sc-18ew0aa-12"})(["margin-right:2rem;width:120px;height:76px;margin-left:-0.75rem;@media screen and (max-width:","){width:84px;height:64px;}"],(function(e){return e.theme.responsiveBreakpoints.mobile})),G=(0,k.default)(p.default).withConfig({displayName:"header__StyledSearchWidget",componentId:"sc-18ew0aa-13"})(["&.ant-select{min-width:52px;display:inline-block;vertical-align:middle;color:#000000;font-family:'Montserrat','Open Sans',sans-serif;@media screen and (max-width:","){display:none;}input.ant-input{max-width:0;position:absolute;right:100%;top:50%;transform:translateY(-50%);background:#fff;overflow:hidden;padding:0;border-width:0;border-bottom-width:1px;&,&:hover,&:focus{box-shadow:none;border-right-width:0 !important;}}&:hover input.ant-input,&:focus input.ant-input,input.ant-input:hover,input.ant-input:focus{width:143px;max-width:143px;padding:0 0.5rem;}}font-size:12px;font-weight:bold;font-style:normal;font-stretch:normal;line-height:normal;letter-spacing:2.4px;text-align:center;> .ant-select-selection{&,&:hover,&:focus{height:42px;border:0;background:inherit;box-shadow:none;color:#555;}> .ant-select-selection__rendered{line-height:39px;}}.ant-input-suffix{color:#444;font-size:1.5rem;}"],(function(e){return e.theme.responsiveBreakpoints.mobile})),H=k.default.div.withConfig({displayName:"header__MobileAppButtons",componentId:"sc-18ew0aa-14"})(["margin-top:-0.7rem;position:",";left:50%;top:50%;transform:",";@media screen and (max-width:","){display:",";}h5{text-align:",";width:100%;font-family:'Montserrat','Open Sans',sans-serif;font-size:9px;font-weight:800;letter-spacing:0.6px;text-transform:uppercase;margin-bottom:6px;}> div{display:flex;justify-content:space-between;@media screen and (max-width:","){flex-direction:column;}}"],(function(e){return"desktop"===e.displayMode?"absolute":"static"}),(function(e){return"desktop"===e.displayMode?"translate(-50%, -50%) scale(0.9)":"none"}),(function(e){return e.theme.responsiveBreakpoints.mobile}),(function(e){return"desktop"===e.displayMode?"none":"flex"}),(function(e){return"mobile"===e.displayMode?"left":"center"}),(function(e){return e.theme.responsiveBreakpoints.mobile})),B=k.default.a.withConfig({displayName:"header__MobileAppButton",componentId:"sc-18ew0aa-15"})(["display:inline-block;background:url(",") center center no-repeat;background-size:contain;width:110px;height:34px;& + &{margin-left:1.125rem;@media screen and (max-width:","){margin-left:0;margin-top:0.5rem;}}"],(function(e){return e.backgroundImage}),(function(e){return e.theme.responsiveBreakpoints.mobile})),V=k.default.div.withConfig({displayName:"header__SocialGroupLinks",componentId:"sc-18ew0aa-16"})(["margin:",";@media screen and (max-width:","){display:",";}"],(function(e){return"0 ".concat("desktop"===e.displayMode?"0.5rem":0)}),(function(e){return e.theme.responsiveBreakpoints.mobile}),(function(e){return"desktop"===e.displayMode?"none":"block"}));C.propTypes={t:o.default.func.isRequired,onMobileMenuOpen:o.default.func.isRequired,onMobileMenuClose:o.default.func.isRequired,onSearchSelect:o.default.func.isRequired,lang:o.default.string.isRequired,widgetMode:o.default.bool,mobileMenuStatus:o.default.bool},C.defaultProps={widgetMode:!1,mobileMenuStatus:!1},n.default=(0,c.compose)((0,d.withTranslation)(),u.withRouter,(0,c.getContext)({lang:o.default.string.isRequired,widgetMode:o.default.bool.isRequired,showHeaderAndFooter:o.default.bool.isRequired}),(0,c.withStateHandlers)((function(){return{mobileMenuStatus:!1}}),{onMobileMenuOpen:function(){return function(){return{mobileMenuStatus:!0}}},onMobileMenuClose:function(){return function(){return{mobileMenuStatus:!1}}}}),(0,c.withHandlers)({onSearchSelect:function(e){var n=e.history,t=e.widgetMode;return function(e,i){var a,o=(i=(0,r.default)(i,"props",{})).id;switch(i.type){case"Game":a="/game/".concat(o);break;case"Tournament":a="/tournament/".concat(o);break;case"UserProfile":a="/profile/".concat(o);break;case"CompanyProfile":a="/company/".concat(o)}a&&(t?window.location.href=a:n.push(a))}}}),c.pure)(C)},S8FA:function(e,n,t){"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,n){if(!n&&e&&e.__esModule)return e;if(null===e||"object"!=i(e)&&"function"!=typeof e)return{default:e};if((n=function(e){var n,t;return"function"!=typeof WeakMap?null:(n=new WeakMap,t=new WeakMap,function(e){return e?t:n}(e))}(n))&&n.has(e))return n.get(e);var t,a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(t in e){var o;"default"!==t&&Object.prototype.hasOwnProperty.call(e,t)&&((o=r?Object.getOwnPropertyDescriptor(e,t):null)&&(o.get||o.set)?Object.defineProperty(a,t,o):a[t]=e[t])}return a.default=e,n&&n.set(e,a),a}(t("q1tI")),r=p(t("17x9")),o=t("PQp+"),l=t("eHHv"),d=p(t("vOnD")),u=t("J6pz"),c=t("bHMY"),s=t("9kay"),f=p(t("CHOk")),m=p(t("42l1"));function p(e){return e&&e.__esModule?e:{default:e}}function g(e){var n=e.marker,t=e.onCloseClick;e=e.t;return a.default.createElement(o.InfoWindow,{onCloseClick:t,options:{maxWidth:300}},a.default.createElement(a.Fragment,null,a.default.createElement(v,{href:"/game/".concat(n.tag),target:"_blank"},n.name),a.default.createElement(y,null,e("game.Date game"),": ",(0,c.formatDate)(n.startTime)),a.default.createElement(y,null,e("game.Place game"),":"," ",n.address.country?a.default.createElement("span",null,n.address.country.name,", "):"",n.address.region?a.default.createElement("span",null,n.address.region.name,", "):"",n.address.city?a.default.createElement("span",null,n.address.city.name,", "):"",n.address.address?a.default.createElement("span",null,n.address.address):""),a.default.createElement(y,null,a.default.createElement(b,null,n.numberOfUnregisteredMembers&&n.participantsCount?a.default.createElement("span",null,a.default.createElement(h,{src:m.default,alt:""})," ",n.numberOfUnregisteredMembers+n.participantsCount," ",e("game.Number of players")):"",n.totalGarbage?a.default.createElement("span",null,a.default.createElement(h,{src:f.default,alt:""})," ",n.totalGarbage," ",e("common.Kg")):""))))}var v=d.default.a.withConfig({displayName:"info-window__Title",componentId:"gefqd9-0"})(["font-size:14px;font-weight:bold;margin-bottom:16px;display:block;"]),y=d.default.div.withConfig({displayName:"info-window__Row",componentId:"gefqd9-1"})(["margin-top:10px;"]),h=d.default.img.withConfig({displayName:"info-window__Image",componentId:"gefqd9-2"})(["height:36px;"]),b=d.default.div.withConfig({displayName:"info-window__StyledRow",componentId:"gefqd9-3"})(["display:flex;flex-direction:row;justify-content:space-between;"]);g.propTypes={marker:u.MapMarkerType,onCloseClick:r.default.func.isRequired,t:r.default.func.isRequired},g.defaultProps={marker:void 0},n.default=(0,l.compose)((0,s.withTranslation)(),l.pure)(g)},SplI:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.CheckboxGroup=n.Checkbox=void 0;var i=t("gdfu");t=(t=t("vOnD"))&&t.__esModule?t:{default:t};n.CheckboxGroup=(0,t.default)(i.Checkbox.Group).withConfig({displayName:"checkbox__CheckboxGroup",componentId:"sc-1i4ds5f-0"})([""]),t=n.Checkbox=(0,t.default)(i.Checkbox).withConfig({displayName:"checkbox__Checkbox",componentId:"sc-1i4ds5f-1"})(["&.ant-checkbox-wrapper{display:inline-flex;align-items:center;.ant-checkbox{margin:0.25rem 0 0 0;top:0;&,.ant-checkbox-input,.ant-checkbox-inner{height:30px;}.ant-checkbox-inner{width:30px;&:after{top:43%;width:11px;height:18px;}}}p{margin:0 0 0 0.5rem;}}"]),n.default=t},TLr0:function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getCountries"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"searchString"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"getCountries"},arguments:[{kind:"Argument",name:{kind:"Name",value:"searchString"},value:{kind:"Variable",name:{kind:"Name",value:"searchString"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"Country"},directives:[]}]}}]}}],loc:{start:0,end:151}},a=(i.loc.source={body:'#import "../fragments/country.graphql"\n\nquery getCountries($searchString: String) {\n getCountries(searchString: $searchString) {\n ...Country\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}},{});i.definitions=i.definitions.concat(t("yWAa").definitions.filter((function(e){return"FragmentDefinition"!==e.kind||(e=e.name.value,!a[e]&&(a[e]=!0))})));var r={};function o(e,n){for(var t=0;t (https://fjedi.com)",license:"ISC",homepage:"https://bitbucket.org/mobilerockets/cg-web.git#readme",private:!0,scripts:{browser:"env-cmd .env webpack-dev-server --open",build:"npm run clean && cross-env NODE_ENV=production WEBPACK_CONFIG=browser_prod,server_prod webpack --colors","build-analyze":"cross-env BUNDLE_ANALYZER=1 NODE_ENV=production WEBPACK_CONFIG=browser_prod,server_prod webpack --colors","build-browser":"cross-env NODE_ENV=production WEBPACK_CONFIG=browser_prod webpack --colors","build-run":"npm run build && npm run server","build-static":"cross-env NODE_ENV=production WEBPACK_CONFIG=static webpack --colors","build-static-run":"npm run build-static && npm run static",clean:"rimraf dist","git-commit":"git-cz",lint:"eslint .","lint:write":"eslint . --fix",server:"node dist/server","server-dev":"env-cmd .env cross-env WEBPACK_CONFIG=server_dev webpack --colors",start:"run-p browser server-dev",static:"serve -s dist/public",test:"jest","browser:in:docker":"env-cmd .env webpack-dev-server --host 0.0.0.0","start:in:docker":"run-p server-dev browser:in:docker","docker:dev:build":"docker-compose --file docker-compose.dev.yml build","docker:dev:up":"docker-compose --file docker-compose.dev.yml up","docker:dev:down":"docker-compose --file docker-compose.dev.yml down","docker:push":"docker build --build-arg ENV_FILE=.env.production --build-arg WEBPACK_CONFIG=browser_prod,server_prod -t cg_web . && docker tag cg_web cr.yandex/crpj8hnrk2k690mlo3ip/cleangames-web && docker push cr.yandex/crpj8hnrk2k690mlo3ip/cleangames-web"},config:{commitizen:{path:"./node_modules/cz-conventional-changelog"}},"lint-staged":{"*.(js|jsx)":["npm run lint:write","git add"]},devDependencies:{"@babel/core":"7.7.5","@babel/plugin-proposal-class-properties":"7.7.4","@babel/plugin-proposal-decorators":"7.7.4","@babel/plugin-proposal-object-rest-spread":"7.7.4","@babel/plugin-proposal-optional-chaining":"7.21.0","@babel/plugin-syntax-dynamic-import":"7.7.4","@babel/plugin-transform-modules-commonjs":"7.7.5","@babel/plugin-transform-regenerator":"7.7.5","@babel/polyfill":"7.7.0","@babel/preset-env":"7.7.5","@babel/preset-react":"7.7.4","@babel/preset-typescript":"7.7.4","@babel/register":"7.7.4","@types/node":"12.12.14","@types/react":"16.9.15","babel-eslint":"^8.2.6","babel-loader":"8.0.6","babel-plugin-module-resolver":"^2.7.1","babel-plugin-styled-components":"1.8.0","brotli-webpack-plugin":"1.1.0","chunk-manifest-webpack-plugin":"1.1.2",commitizen:"4.0.3","copy-webpack-plugin":"^4.6.0","cross-env":"^5.2.0","css-loader":"1.0.1",cssnano:"4.1.10","cssnano-preset-default":"^4.0.5","cz-conventional-changelog":"^2.1.0","dotenv-webpack":"1.7.0","env-cmd":"8.0.2",eslint:"^4.16.0","eslint-config-airbnb":"^16.1.0","eslint-config-prettier":"^3.3.0","eslint-import-resolver-webpack":"^0.8.4","eslint-loader":"2.1.1","eslint-plugin-babel":"^4.1.2","eslint-plugin-compat":"^2.6.3","eslint-plugin-flowtype":"^2.50.3","eslint-plugin-import":"^2.14.0","eslint-plugin-jest":"^21.27.2","eslint-plugin-jsx-a11y":"^6.1.2","eslint-plugin-prettier":"^3.0.0","eslint-plugin-react":"^7.11.1","eslint-plugin-security":"^1.4.0","extract-text-webpack-plugin":"4.0.0-beta.0","file-loader":"4.0.0","flow-bin":"^0.76.0","flow-typed":"^2.5.1","git-rev-sync":"^1.12.0","html-webpack-plugin":"3.2.0",husky:"2.4.1",iltorb:"^2.4.1","image-webpack-loader":"4.6.0",less:"^3.8.1","less-loader":"^4.0.5","lint-staged":"^8.1.0","mini-css-extract-plugin":"0.5.0","node-sass":"^8.0.0","npm-run-all":"^4.1.5","optimize-css-assets-webpack-plugin":"5.0.1","postcss-cssnext":"3.0.2","postcss-loader":"^2.1.6","postcss-modules-tilda":"1.0.0","postcss-nested":"^2.1.2",prettier:"1.18.2","progress-bar-webpack-plugin":"^1.10.0","react-test-renderer":"^16.6.3","resolve-url-loader":"^2.3.1",rimraf:"^2.6.2","sass-loader":"^6.0.6",serve:"11.1.0","style-loader":"0.23.1","terser-webpack-plugin":"2.1.2","uglifyjs-webpack-plugin":"2.2.0",webpack:"4.35.0","webpack-bundle-analyzer":"3.3.2","webpack-chunk-hash":"0.6.0","webpack-cli":"3.2.3","webpack-config":"7.5.0","webpack-dev-server":"3.7.2","webpack-manifest-plugin":"2.0.4","webpack-node-externals":"1.7.2"},dependencies:{"@ant-design/icons":"4.4.0","@apollo/react-hooks":"3.1.3","@kennethormandy/react-fittext":"0.6.0","@tinymce/tinymce-react":"3.8.1",antd:"3.22.2","apollo-cache-inmemory":"^1.3.11","apollo-client":"2.6.3","apollo-link":"1.2.12","apollo-link-debounce":"2.1.0","apollo-link-error":"1.1.11","apollo-link-http":"1.5.15","apollo-link-persisted-queries":"0.2.2","apollo-link-schema":"1.2.3","apollo-link-ws":"1.0.18","apollo-progressive-fragment-matcher":"1.0.8","apollo-server-koa":"^1.4.0","apollo-upload-client":"10.0.1","apollo-utilities":"1.3.2","awesome-phonenumber":"2.12.0",axios:"0.19.0","bignumber.js":"9.0.0",bluebird:"3.5.5",boxen:"4.1.0",chalk:"^2.4.1",cheerio:"1.0.0-rc.3",classnames:"^2.2.6",cookie:"^0.3.1",graphql:"14.3.1","graphql-redis-subscriptions":"^1.5.0","graphql-subscriptions":"^0.5.8","graphql-tag":"^2.10.0","graphql-upload":"8.0.2",history:"4.9.0","html-react-parser":"0.7.1",i18next:"17.0.4","i18next-browser-languagedetector":"3.0.1","i18next-sync-fs-backend":"1.1.1","i18next-xhr-backend":"3.0.0",invariant:"^2.2.4",ip:"^1.1.5","isomorphic-fetch":"^2.2.1",jquery:"3.4.1","jwt-simple":"^0.5.5",kcors:"^2.2.2",koa:"^2.6.2","koa-bodyparser":"^4.2.1","koa-helmet":"^3.3.0","koa-i18next":"1.1.1","koa-router":"^7.3.0","koa-send":"^4.1.2","koa-sendfile":"^2.0.1","koa-sslify":"^2.1.2",konva:"4.0.17",lodash:"4.17.15",md5:"^2.2.1",microseconds:"^0.1.0",mkdirp:"0.5.1",moment:"^2.22.2","node-zopfli":"2.1.4","object-assign":"^4.1.1","password-generator":"2.2.0",path:"0.12.7","path-to-regexp":"^2.4.0",polished:"^2.3.0","pretty-error":"^2.1.1","prop-types":"^15.6.2",react:"16.8.6","react-apollo":"2.5.6","react-beautiful-dnd":"10.1.0","react-contextmenu":"2.13.0","react-cookie":"^2.2.0","react-copy-to-clipboard":"^5.0.1","react-dom":"16.8.6","react-geolocated":"2.5.0","react-google-maps":"9.4.5","react-helmet":"5.2.1","react-hot-loader":"4.11.1","react-i18next":"10.11.2","react-infinite-scroller":"1.2.4","react-input-mask":"2.0.4","react-konva":"16.10.1-0","react-router":"^4.3.1","react-router-dom":"^4.3.1","react-stars":"2.2.5",recompose:"0.30.0",redis:"^2.8.0","regenerator-runtime":"^0.11.1",shortid:"^2.2.14","ssl-root-cas":"^1.2.5","styled-components":"4.3.2","subscriptions-transport-ws":"0.9.15","universal-cookie":"^2.2.0","universal-cookie-koa":"^2.2.0","use-image":"1.0.5",uuid:"3.3.3",validator:"11.0.0"},engines:{node:">=7",npm:">=4"},theme:{"font-family":"'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'","primary-color":"#1e9ad3","info-color":"#3498DB","success-color":"#66bbff","processing-color":"#3498DB","error-color":"#E74C3C","highlight-color":"#E74C3C","warning-color":"#f98e3c","normal-color":"#d9d9d9","border-radius-base":0,"border-radius-sm":0}}},lD8u:function(e,n,t){var i={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"Game"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Game"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"registrationStatus"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"purchaseStatus"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"tag"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"role"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"coordinates"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"poster"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"File"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"rules"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"startTime"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"startingTime"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"meetingTime"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"finishTime"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"address"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"Address"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"country"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"Country"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"region"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"Region"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"city"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"City"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"customer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"CompanyProfile"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"creator"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"UserProfile"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"contactPerson"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"UserProfile"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"showInPublicList"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"firstInTheCity"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isCorporate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"totalGarbage"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"maxTeamMembers"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"nextFreeTeamNumber"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"numberOfUnregisteredMembers"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"participantsCount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"currentParticipant"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"GameParticipant"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"gameBrand"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"GameBrand"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"organizerCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"volunteerCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"playerCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"createdAt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"updatedAt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lang"},arguments:[],directives:[]}]}}],loc:{start:0,end:1044}},a=(i.loc.source={body:'#import "./file.graphql"\n#import "./address.graphql"\n#import "./company-profile.graphql"\n#import "./user-profile.graphql"\n#import "./game-participant.graphql"\n#import "./country.graphql"\n#import "./region.graphql"\n#import "./city.graphql"\n#import "./game-brand.graphql"\n\nfragment Game on Game {\n __typename\n id\n status\n registrationStatus\n purchaseStatus\n tag\n role\n name\n description\n coordinates\n poster {\n ...File\n }\n rules\n startTime\n startingTime\n meetingTime\n finishTime\n address {\n ...Address\n }\n country {\n ...Country\n }\n region {\n ...Region\n }\n city {\n ...City\n }\n customer {\n ...CompanyProfile\n }\n creator {\n ...UserProfile\n }\n contactPerson {\n ...UserProfile\n }\n showInPublicList\n firstInTheCity\n isCorporate\n totalGarbage\n maxTeamMembers\n nextFreeTeamNumber\n numberOfUnregisteredMembers\n participantsCount\n currentParticipant {\n ...GameParticipant\n }\n gameBrand {\n ...GameBrand\n }\n organizerCode\n volunteerCode\n playerCode\n createdAt\n updatedAt\n lang\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}},{});function r(e){return e.filter((function(e){return"FragmentDefinition"!==e.kind||(e=e.name.value,!a[e]&&(a[e]=!0))}))}i.definitions=i.definitions.concat(r(t("pYZ6").definitions)),i.definitions=i.definitions.concat(r(t("WzSm").definitions)),i.definitions=i.definitions.concat(r(t("/xBm").definitions)),i.definitions=i.definitions.concat(r(t("a0tw").definitions)),i.definitions=i.definitions.concat(r(t("Ngop").definitions)),i.definitions=i.definitions.concat(r(t("yWAa").definitions)),i.definitions=i.definitions.concat(r(t("cWgs").definitions)),i.definitions=i.definitions.concat(r(t("sy7/").definitions)),i.definitions=i.definitions.concat(r(t("WL9x").definitions));var o={};function l(e,n){for(var t=0;t .ant-radio-group{@media screen and (max-width:","){display:flex;}}.ant-radio-wrapper + .ant-radio-wrapper{margin-left:1rem;@media screen and (max-width:","){margin-left:0.5rem;}}.ant-radio-wrapper > span{font-family:Montserrat;font-size:1rem;font-weight:500;font-style:normal;font-stretch:normal;line-height:normal;letter-spacing:normal;text-align:left;color:#000000;margin-top:0.2rem;}"],(function(e){return e.theme.responsiveBreakpoints.mobile}),(function(e){return e.theme.responsiveBreakpoints.mobile}),(function(e){return e.theme.responsiveBreakpoints.mobile})),g=a.default.div.withConfig({displayName:"filters__SwitchBoxContainer",componentId:"lzly7e-2"})(["display:flex;align-items:center;padding:0 2rem;@media screen and (max-width:","){padding:0.25rem 1rem 0.5rem;}> span{font-family:Montserrat;font-size:1.125rem;font-weight:500;font-style:normal;font-stretch:normal;line-height:normal;letter-spacing:normal;text-align:left;color:#000000;}> button{margin-left:0.75rem;margin-right:0.75rem;}"],(function(e){return e.theme.responsiveBreakpoints.mobile}));f.propTypes={t:r.default.func.isRequired},f.defaultProps={},n.default=(0,o.compose)((0,o.getContext)({filter:r.default.object,setFilter:r.default.func.isRequired,setMode:r.default.func.isRequired,mode:r.default.string.isRequired}),(0,l.withTranslation)(),(0,o.withProps)((function(e){return{filters:[{id:"status",values:[{label:(e=e.t)("game.Coming games"),value:"ACTIVE"},{label:e("game.Past games"),value:"INACTIVE"}]}]}})),(0,o.withHandlers)({setFilter:function(e){var n=e.setFilter;return function(e){"function"==typeof n&&n(function(e,n,t){return(n=function(e){return e=function(e,n){if("object"!=s(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0===t)return String(e);if("object"!=s(t=t.call(e,n)))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}(e,"string"),"symbol"==s(e)?e:String(e)}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}({},e.target.name,[e.target.value]))}}}),o.pure)(f)},lcbr:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=c(t("17x9")),a=c(t("q1tI")),r=t("eHHv"),o=c(t("vOnD")),l=c(t("HTnP")),d=c(t("32E+")),u=["lang"];function c(e){return e&&e.__esModule?e:{default:e}}function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var n=1;n div{&:first-of-type{text-align:left;flex-grow:1;max-height:200px;> img{display:inline-block;max-height:200px;object-fit:contain;}}}> .ant-btn{position:absolute;top:0.5rem;right:0.25rem;}"]);n.ImageFormItem=(0,l.compose)((0,o.withTranslation)(),(0,l.withHandlers)({onChange:function(e){var n=e.onChange;return function(e){"function"==typeof n&&n(e)}}}),(0,l.withHandlers)({resetValue:function(e){var n=e.onChange;return function(){"function"==typeof n&&n(null)}}}),(0,l.withProps)((function(e){return{url:(e=e.value)&&e.name?URL.createObjectURL(e):e}})),l.pure)((function(e){var n=e.t,t=e.url,a=e.value,o=e.onChange,l=e.resetValue,c=e.style;e=e.className;return r.default.createElement(f,{style:c,className:e},!!a&&r.default.createElement(i.Button,{icon:"close",shape:"circle",type:"danger",onClick:l}),!a&&r.default.createElement(d.default,{onChange:o},r.default.createElement(i.Button,{type:"primary"},n("common.Select"))),t&&r.default.createElement(u.default,{src:t}))}))},qSZC:function(e,n,t){var i={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"UserAction"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"UserAction"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"event"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"props"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"createdAt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"updatedAt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"file"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"File"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"user"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"UserProfile"},directives:[]}]}}]}}],loc:{start:0,end:221}},a=(i.loc.source={body:'#import "./user-profile.graphql"\n#import "./file.graphql"\n\nfragment UserAction on UserAction {\n __typename\n id\n event\n status\n props\n createdAt\n updatedAt\n file {\n ...File\n }\n user {\n ...UserProfile\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}},{});function r(e){return e.filter((function(e){return"FragmentDefinition"!==e.kind||(e=e.name.value,!a[e]&&(a[e]=!0))}))}i.definitions=i.definitions.concat(r(t("a0tw").definitions)),i.definitions=i.definitions.concat(r(t("pYZ6").definitions));var o={};function l(e,n){for(var t=0;t div:first-child{flex-grow:1;}"]),v=l.default.button.withConfig({displayName:"modal-popup__CloseButton",componentId:"sc-1e03dr1-5"})(["align-self:flex-start;"]),y=l.default.div.withConfig({displayName:"modal-popup__ModalPopup",componentId:"sc-1e03dr1-6"})(["position:absolute;top:0;left:0;right:0;bottom:0;z-index:",";","{opacity:",";transform:",";transition:all 0.6s;}"],(function(e){return e.visible?500:-1}),p,(function(e){return e.visible?1:0}),(function(e){return e.visible?"translateY(0)":"translateY(-10%)"}));c.propTypes={onCancel:a.default.func,title:a.default.oneOfType([a.default.element,a.default.string]),footer:a.default.oneOfType([a.default.element,a.default.string]),closable:a.default.bool,isVisible:a.default.bool,centered:a.default.bool,className:a.default.string,width:a.default.oneOfType([a.default.number,a.default.string]),children:a.default.any,closeOnBgClick:a.default.bool},c.defaultProps={onCancel:void 0,title:null,footer:null,closable:!1,isVisible:!1,centered:!1,className:"",width:"485px",closeOnBgClick:!0,children:void 0},n.default=(0,o.compose)(o.pure)(c)},tr8V:function(e,n){var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"viewNotifications"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"ids"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewNotifications"},arguments:[{kind:"Argument",name:{kind:"Name",value:"ids"},value:{kind:"Variable",name:{kind:"Name",value:"ids"}}}],directives:[]}]}}],loc:{start:0,end:75}};t.loc.source={body:"mutation viewNotifications($ids: [ID]!) {\n viewNotifications(ids: $ids)\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var i={};function a(e,n){for(var t=0;t .ant-upload.ant-upload-drag{width:400px;max-width:100%;height:220px;border-radius:3px;border:dashed 1px #edd92e;background-color:#fefdf4;display:inline-block;}"]);d.propTypes={},d.defaultProps={},n.default=(0,r.compose)(r.pure)(d)},ve5f:function(e,n,t){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getPrivacyPolicy"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"lang"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"getPrivacyPolicy"},arguments:[{kind:"Argument",name:{kind:"Name",value:"lang"},value:{kind:"Variable",name:{kind:"Name",value:"lang"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"PrivacyPolicy"},directives:[]}]}}]}}],loc:{start:0,end:149}},a=(i.loc.source={body:'#import "../fragments/privacy-policy.graphql"\n\nquery getPrivacyPolicy($lang: String!) {\n getPrivacyPolicy(lang: $lang) {\n ...PrivacyPolicy\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}},{});i.definitions=i.definitions.concat(t("qHTh").definitions.filter((function(e){return"FragmentDefinition"!==e.kind||(e=e.name.value,!a[e]&&(a[e]=!0))})));var r={};function o(e,n){for(var t=0;t a{color:",";}}"],(function(e){return e.theme["primary-color"]}));S.propTypes={updateAfterMutation:a.default.func.isRequired,viewNotifications:a.default.func.isRequired,renderItem:a.default.func.isRequired,loading:a.default.bool.isRequired,notifications:a.default.array.isRequired,counter:a.default.number.isRequired},n.default=(0,o.compose)((0,c.graphql)(s.default,{name:"notifications",options:function(){return{errorPolicy:"all",fetchPolicy:"network-only"}}}),(0,o.withProps)((function(e){var n=(e=e.notifications).getNotifications,t=e.loading;e=e.subscribeToMore;return{loading:t,notifications:(0,u.default)(n,"rows",[]),counter:(0,u.default)(n,"count",0),subscribeToMore:e}})),(0,o.withHandlers)({renderItem:function(){return function(e){var n=e.id,t=e.subject,a=e.text,r=e.viewed,o=e.event,l=(e=e.props).url;e=e.propsText;return i.default.createElement(x,{actions:[],style:{alignItems:"flex-start",transition:"background-color 3s",backgroundColor:r?"#fff":"rgba(24,188,156, 0.2)"},key:n},i.default.createElement(g.List.Item.Meta,{title:l?i.default.createElement(y.default,{to:l},t):t,description:"game-serteficate"===o?e:a}))}},updateAfterMutation:function(){return function(e,n){var t=n.data.viewNotifications;n={query:s.default,variables:{event:null,status:null}};try{var i=e.readQuery(n),a=(0,u.default)(i,"getNotifications.rows",[]),r=(0,u.default)(i,"getNotifications.count",0);e.writeQuery(w({},n,{data:{getNotifications:w({},i.getNotifications,{rows:a.map((function(e){var n=e.viewed||t.some((function(n){return(0,l.compareIds)(e.id,n)}));return w({},e,{viewed:n})})),count:r-t.length})}}))}catch(e){(0,d.default)(e)}}},viewNotifications:function(e){return function(n){return function(){var t=e.notifications;n({variables:{ids:t.filter((function(e){return!e.viewed})).map((function(e){return e.id}))}})}}}}),(0,o.withHandlers)({subscribe:function(e){return function(){var n=e.subscribeToMore;n({document:m.default,updateQuery:function(e,n){n=n.subscriptionData;var t=(0,u.default)(n,"data.notificationCreated");if(!t)return e;(0,d.default)("[SUBSCRIPTION] New notification",t);var i=t.id,a=(n=(0,u.default)(e,"getNotifications.rows",[]),e=(0,u.default)(e,"getNotifications.count",0),(0,d.default)("[SUBSCRIPTION] getNotifications",{rows:n,count:e}),n.find((function(e){return(0,l.compareIds)(e.id,i)})));return(0,d.default)("[SUBSCRIPTION] notificationExists",a),a&&a.updatedAt==a.updatedAt?prev:w({},prev,{getNotifications:w({},prev.getNotifications,{count:a?e:e+1,rows:a?n.map((function(e){return(0,l.compareIds)(e.id,i)?t:e})):[t].concat(n)})})}}),n({document:p.default,updateQuery:function(e,n){n=n.subscriptionData;var t=(0,u.default)(n,"data.notificationChanged");if(!t)return e;(0,d.default)("[SUBSCRIPTION] Changed notification",t);var i=t.id,a=(n=(0,u.default)(e,"getNotifications.rows",[]),e=(0,u.default)(e,"getNotifications.count",0),(0,d.default)("[SUBSCRIPTION] getNotifications",{rows:n,count:e}),n.find((function(e){return(0,l.compareIds)(e.id,i)})));return(0,d.default)("[SUBSCRIPTION] existNotification",a),w({},prev,{getNotifications:w({},prev.getNotifications,{count:a?e:e+1,rows:a?n.map((function(e){return(0,l.compareIds)(e.id,i)?t:e})):[t].concat(n)})})}})}}}),(0,o.lifecycle)({componentDidMount:function(){this.props.subscribe()}}),o.pure)(S)},xbCs:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.ButtonGroup=void 0;var i=t("gdfu"),a=f(t("mwIZ")),r=f(t("Puqe")),o=f(t("17x9")),l=f(t("q1tI")),d=t("eO8H"),u=t("eHHv"),c=t("J6pz"),s=(t=f(t("vOnD")),["children","icon","iconTheme","href","target"]);function f(e){return e&&e.__esModule?e:{default:e}}function m(){return(m=Object.assign?Object.assign.bind():function(e){for(var n=1;n .anticon{font-size:1em;display:inline-block;margin-right:0.5rem;}> span{display:inline-block;pointer-events:none;font-smoothing:antialiased;-webkit-font-smoothing:antialiased;}&:hover,&:focus{color:",";background-color:",";}}"],(function(e){return g(e.type)}),(function(e){switch(e.type){case"info":case"primary":case"danger":case"warning":return 0;default:return"1px solid rgb(3, 128, 197)"}}),(function(e){return p(e.type)}),(function(e){return e.theme.baseFontFamily}),(function(e){return g(e.type)}),(function(e){return p(e.type,"hover")}));v.propTypes={authRequired:o.default.bool,href:o.default.string,target:o.default.string,children:o.default.oneOfType([o.default.node,o.default.func]),icon:o.default.node,iconTheme:o.default.string},v.defaultProps={authRequired:!1,children:void 0,href:void 0,target:void 0,icon:void 0,iconTheme:void 0},n.default=(0,u.compose)((0,u.getContext)({user:c.userProfileType,setAuthModalStatus:o.default.func.isRequired}),(0,u.withHandlers)({onClick:function(e){var n=e.user,t=e.setAuthModalStatus,i=e.onClick,r=void 0!==(e=e.authRequired)&&e;return function(e){r&&"ANONYMOUS"===(0,a.default)(n,"role","ANONYMOUS")?t(!0):"function"==typeof i&&i(e)}}}),u.pure)(v)},yWAa:function(e,n){var t={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"Country"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Country"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"code"},arguments:[],directives:[]}]}}],loc:{start:0,end:64}};t.loc.source={body:"fragment Country on Country {\n __typename\n id\n name\n code\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var i={};function a(e,n){for(var t=0;t