{"version":3,"sources":["webpack:///./src/pages/request.vue","webpack:///./src/domain/composables/request/use-request.js","webpack:///./src/components/common/app-request-card.vue","webpack:///src/components/common/app-request-card.vue","webpack:///./src/components/common/app-request-card.vue?e6c1","webpack:///./src/components/common/app-request-card.vue?950e","webpack:///./src/components/common/app-view-formatter.vue","webpack:///src/components/common/app-view-formatter.vue","webpack:///./src/components/common/app-view-formatter.vue?ecb1","webpack:///./src/components/common/app-view-formatter.vue?dc74","webpack:///src/pages/request.vue","webpack:///./src/pages/request.vue?00c4","webpack:///./src/pages/request.vue?8c8f","webpack:///./src/domain/composables/use-auth.js","webpack:///./src/domain/services/login-service/strategies/auth-auth-strategy.js","webpack:///./src/domain/composables/use-registration.js","webpack:///./src/components/common/app-request-card.vue?2eb5","webpack:///./src/domain/services/login-service/strategies/familiar-user-login-strategy.js","webpack:///./src/domain/services/login-service/strategies/new-user-login-strategy.js","webpack:///./src/domain/services/login-service/login-service.js","webpack:///./src/pages/request.vue?4657","webpack:///./src/domain/services/event-date-service.js","webpack:///./src/domain/services/login-service/strategies/user-login-strategy.js"],"names":["render","_vm","this","_c","_self","request","staticClass","isLoading","attrs","description","scopedSlots","_u","key","fn","mapStatusToAlertType","_v","_s","alert","text","proxy","userRequests","length","$tr","getRequestI18n","_l","item","requestId","category","is_coauthor","dateExpired","on","deleteUserRequest","openUserRequestModal","sendCoAuthors","_e","isSendingLimitReached","isUserSendingLimitReached","directives","name","rawName","value","isFormHidden","expression","staticStyle","userSendingLimit","formId","setFields","handleSubmitForm","submit","formSubmit","requestStatus","closeUserRequestModal","model","modal","callback","$$v","loadModal","requestItem","staticRenderFns","useRequest","async","getRequest","id","api","getExistingApiInstance","data","getOne","include","getUserRequest","userRequest","getUserRequests","userId","idCoauthors","params","filter","perPage","getMany","deleteUserRequests","delete","createRequest","formRecord","createUserRequest","email","userData","request_user_id","userRequestCoauthor","create","class","statusClass","status","statusText","comment","isCoAuthor","emailCoAuthors","ref","domProps","$event","target","composing","checkEmailCoAuthors","sendCoAuthorsRequest","showAuthor","showAuthorName","fromISOToString","createdAt","openUserRequest","props","type","default","computed","authors","methods","component","load","formatData","index","val","i","baseUrl","path","city","region","country","required","components","AppInfoBlock","AppMarkdown","AppForm","AppCardRequest","AppViewFormatter","requestForm","fields","requestsRemaining","requestText","dateRange","watch","handler","immediate","fromStringToISO","DateTime","console","form","window","map","f","field","coAuthor","isCoauthor","useAuth","authenticate","password","authGroupId","LogicError","payload","isError","user","e","AuthAuthStrategy","UserLoginStrategy","constructor","event","super","gtm","GtmPlugin","gtmOptions","isLoginError","store","getters","Error","translateI18N","trackEvent","authService","AuthService","setAuthData","token","useRegistration","getFormData","join","isUserHasRegistration","eventId","meta","registration","isExist","isRegistrationExist","exist","getFieldValues","sort","registrationData","getRegistrationCode","registrationCode","getUserTicket","worksheets","ticketNumber","getRegistrationsByUser","eventIds","quickRegistration","fromEventId","FamiliarUserLoginStrategy","authAndAuth","eventData","execute","isRegistrationCheckError","_registrationUnavailableGuard","_toRegistration","_toStartPage","pages","state","startPagePath","EventService","defineStartPagePath","LangService","toLocalePath","query","NewUserLoginStrategy","_toCreateUser","LoginService","str","EMAIL_REGEX","test","strategyName","strategy","USER_STRATEGY_NAMES","UNREGISTERED","USER_STRATEGIES","FAMILIAR","MIN_DATE","fromSeconds","MAX_DATE","EventDateService","_event","getData","getMinDate","registrationStartedAt","getMaxDate","registrationEndedAt","isEventOccasion","eventOccasion","startedAt","endedAt","dateStr","date","fromISO","invalid","locale","start","end","entity","months","divider","formatDateWithDivider","year","startYear","month","startMonth","day","startDay","endYear","endMonth","endDay","monthToStr","message","formatDate","before","during","after","onGoing","TIME_STATUSES","ENDED","WILL_START","eventDateServise","AbstractMethod","args","translateFn","registrationTimeStatus","IN_PROGRESS","_throwUnavailableRegistrationAlert","startRegistrationTime","endRegistrationTime","getMessageWithOneDate","getAlertMessageWithDivider"],"mappings":"kHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,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EAhE,OACA,OACA1D,aACAF,aACA6H,iBACA9G,gBACAM,eACAyG,UACA9E,SACAG,aACAC,iBAIAoD,UACA5F,QACA,OACAC,sBACAyF,iCAGAyB,oBACA,qCAIA,uDAFA,yBAIA3F,eACA,OACA,wCACA,4BACA,oCACA,kBAGAZ,cACA,0CAEAqB,gBACA,gCAEAmF,cACA,SACA,6CACA,4CAEA,+CACA,0DACAC,KACAA,OAGA,uCACA,yDACAA,OAGA,kCACA,qDACAA,OAGA,IAEAxH,uBACA,+CACA,UAEA,uCACA,UAEA,kCACA,QAEA,SAGAyH,OACA,2BACAC,UACA,gBAEAC,eAGA1B,SACA2B,uBACAnC,uBACAoC,gBACApH,kBACA,6CAEA,gBACA,kBACA,IACA,kDACA,oBACA,2BACA,qBAAAgG,oBAEA,yBACA,SACAqB,iBACA,QACA,oBAGA,mCAAAC,GAAA,QACA,4BACA,+BACA,qBAEA,6BACA,2CACA,+BACA,qBAEA,uBACA,UACA,mBAAAA,OAAAnH,4BACAoH,qBACA,sBACA,qDAEA,SACA,oBACA,+BAEAF,mBAIA,6BACA,UACA,2BACAE,qBACA,yEACA,SACA,oBACA,+BAEAF,mBAIA,2BACA,UACA,gCACA,+BACA,oBACA,sEACA,SACAA,mBAGA,oCACA,cACA,oCAEA,kBACA,yCACAG,QACA,+CACA,UACA,qBACAC,iBACAL,oDACAK,SACA,0CACAA,mCAEA,CAAAC,QAAAzG,gBARA,KAUAkC,wBAEA,mBAEAvB,wBACA,cACA,kBACA,qBAEA,qBACA,IACA,kDACA,SACAyF,mBAGA,0BACA,IAEA,0BACA3E,cAAA,8BACAM,qCACA7C,2BAGA,4BACA,eACA,8BACA,sBACA8C,MAEA,gCACA,UACA9C,eACA8E,sBACAf,gBACAE,kBACAuD,oBACAC,sCAEA,SACAP,mBAGA9F,aACA,iBC7WiV,ICQ7U,G,UAAY,eACd,EACA9C,EACA0D,GACA,EACA,KACA,KACA,OAIa,e,iIChBA,SAAS0F,IAKtBxF,eAAeyF,EA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BACxB,OAAOC,eAAYpQ,KAAQmQ,GAG7B,sCACM7Q,KAAKqM,UAAU0E,yBAA2BP,OAAcQ,aAC1DhR,KAAKiR,qCAITA,qCACE,MAAM/B,EAAQlP,KAAK2Q,iBAAiBO,sBAC9B/B,EAAMnP,KAAK2Q,iBAAiBQ,oBAIlC,GAAInR,KAAKqM,UAAU0E,yBAA2BP,OAAcC,MAC1D,MAAM,IAAInG,MAAMtK,KAAKuK,cAAc,0BAIrC,GAAIvK,KAAKqM,UAAU0E,yBAA2BP,OAAcE,WAAY,CACtE,MAAMzB,EAAS,CACbG,OAAQpP,KAAKuK,cAAc,6BAC3B8E,OAAQrP,KAAKuK,cAAc,WAEvB2F,EAAUhC,OAAiBkD,sBAAsBnC,EAAQC,GAC/D,MAAM,IAAI5E,MAAM4F,GAGlB,MAAMjB,EAAS,CACbG,OAAQpP,KAAKuK,cAAc,0BAC3B8E,OAAQrP,KAAKuK,cAAc,UAC3B+E,QAAStP,KAAKuK,cAAc,8BAGxBhF,EAAS2I,OAAiBmD,2BAC9BpC,EACAC,EACAC,GAEF,MAAM,IAAI7E,MAAM/E,EAAO2K,Y","file":"js/request.4562aa50.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.request)?_c('div',{staticClass:\"request-page\"},[_c('div',{staticClass:\"request-page__request-head\"},[(!_vm.isLoading)?[_c('AppInfoBlock',{staticClass:\"request-page__info-block\",attrs:{\"limit\":85,\"description\":_vm.request.description},scopedSlots:_vm._u([{key:\"alert\",fn:function(){return [_c('Alert',{attrs:{\"type\":_vm.mapStatusToAlertType,\"banner\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.alert.text)+\" \")])]},proxy:true},{key:\"text\",fn:function(){return [_c('AppMarkdown',{attrs:{\"text\":_vm.request.description}})]},proxy:true}],null,false,4193070747)}),_c('div',{staticClass:\"request-page--divider\"}),(_vm.userRequests && _vm.userRequests.length)?_c('div',{staticClass:\"request-page__request sent-requests\"},[_c('h3',{staticClass:\"sent-requests__title\"},[_vm._v(\" \"+_vm._s(_vm.$tr(_vm.getRequestI18n('sentRequests')))+\" \")]),_c('div',{staticClass:\"row\"},_vm._l((_vm.userRequests),function(item){return _c('div',{key:item.requestId,staticClass:\"col-xlg-4 col-lg-6 col-md-12 col-sm-12\"},[_c('AppCardRequest',{attrs:{\"data\":item,\"category\":_vm.request.category,\"coauthor\":_vm.request.is_coauthor,\"date-expired\":_vm.dateExpired},on:{\"del-request\":_vm.deleteUserRequest,\"open-request\":_vm.openUserRequestModal,\"send-coauthors\":_vm.sendCoAuthors}})],1)}),0)]):_vm._e()]:_c('Spin',{attrs:{\"fix\":\"\"}})],2),_c('div',{staticClass:\"request-page__request new-request\"},[(_vm.dateExpired)?[_c('Alert',{staticClass:\"new-request__count-alert\",attrs:{\"type\":\"error\"}},[_c('p',{staticClass:\"s-body\"},[_vm._v(\" \"+_vm._s(_vm.$tr(_vm.getRequestI18n('requestAlertSendDisabled')))+\" \")])])]:(_vm.request.isSendingLimitReached)?[_c('Alert',{staticClass:\"new-request__count-alert\",attrs:{\"type\":\"warning\"}},[_c('p',{staticClass:\"s-body\"},[_vm._v(\" \"+_vm._s(_vm.$tr('request.requestAlertTotalLimit'))+\" \")])])]:(_vm.request.isUserSendingLimitReached)?[_c('Alert',{staticClass:\"new-request__count-alert\",attrs:{\"type\":\"warning\"}},[_c('p',{staticClass:\"s-body\"},[_vm._v(\" \"+_vm._s(_vm.$tr(_vm.getRequestI18n('requestAlertLimit')))+\" \")])])]:_vm._e(),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.isFormHidden),expression:\"!isFormHidden\"}],staticStyle:{\"position\":\"relative\"}},[_c('h3',{staticClass:\"new-request__title\"},[_vm._v(\" \"+_vm._s(_vm.$tr(_vm.getRequestI18n('newRequestTitle')))+\" \")]),(_vm.request.userSendingLimit)?_c('Alert',{staticClass:\"new-request__count-alert\",attrs:{\"type\":\"success\"}},[_c('p',{staticClass:\"s-body\"},[_vm._v(\" \"+_vm._s(_vm.$tr(_vm.getRequestI18n('requestAlertCount')))+\": \"+_vm._s(_vm.request.userSendingLimit)+\" \")]),_c('span',{staticClass:\"s-small-2\"},[_vm._v(\" \"+_vm._s(_vm.$tr(_vm.getRequestI18n('requestAlertCountLimit')))+\": \"+_vm._s(_vm.request.userSendingLimit - _vm.userRequests.length)+\" \")])]):_vm._e(),_c('AppForm',{attrs:{\"form-id\":_vm.request.formId,\"clear-form\":\"\"},on:{\"fields\":_vm.setFields,\"submit\":_vm.handleSubmitForm},scopedSlots:_vm._u([{key:\"submit\",fn:function({ submit: formSubmit }){return [_c('Portal',{attrs:{\"to\":\"profile-submit\"}},[_c('Button',{staticClass:\"registration-footer__submit\",attrs:{\"type\":\"primary\",\"size\":\"large\",\"disabled\":_vm.isLoading || _vm.requestStatus !== 'during'},on:{\"click\":formSubmit}},[_vm._v(\" \"+_vm._s(_vm.$tr(_vm.getRequestI18n('sendBtn')))+\" \")])],1)]}}],null,false,1421471222)}),_c('div',{staticClass:\"registration__registration-footer registration-footer\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-12 text-right\"},[_c('PortalTarget',{attrs:{\"name\":\"profile-submit\"}})],1)])])],1)],2),_c('Modal',{attrs:{\"footer-hide\":\"\"},on:{\"on-cancel\":_vm.closeUserRequestModal},model:{value:(_vm.modal),callback:function ($$v) {_vm.modal=$$v},expression:\"modal\"}},[_c('AppViewFormatter',{attrs:{\"load\":_vm.loadModal,\"data\":_vm.requestItem}}),(_vm.loadModal)?_c('Spin',{attrs:{\"fix\":\"\"}}):_vm._e()],1)],1):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { getExistingApiInstance } from '@/api'\n\nexport default function useRequest() {\n async function getRequest(id) {\n const api = getExistingApiInstance()\n const { data } = await api.request.getOne(id, { include: 'form' })\n return data\n }\n async function getUserRequest(id) {\n const api = getExistingApiInstance()\n const { data } = await api.userRequest.getOne(id, { include: 'fields' })\n return data\n }\n async function getUserRequests(id, userId, category, idCoauthors) {\n const api = getExistingApiInstance()\n const params = {\n filter: {\n 'request.id': id,\n 'request.category': category,\n id: idCoauthors,\n },\n perPage: 0,\n include: 'request',\n }\n const { data } = await api.userRequest.getMany(params)\n return data\n }\n async function deleteUserRequests(id) {\n const api = getExistingApiInstance()\n const { data } = await api.userRequest.delete(id)\n return data\n }\n async function createRequest(params) {\n const api = getExistingApiInstance()\n const { data } = await api.formRecord.createRequest(params)\n return data\n }\n async function createUserRequest(id, email) {\n const api = getExistingApiInstance()\n const userData = {\n email: email,\n request_user_id: id,\n }\n const { data } = await api.userRequestCoauthor.create(userData)\n return data\n }\n\n return {\n getRequest,\n getUserRequest,\n getUserRequests,\n deleteUserRequests,\n createRequest,\n createUserRequest,\n }\n}\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"request-item\"},[_c('div',{staticClass:\"request-item__table\"},[_c('div',{staticClass:\"request-item__row\"},[_c('div',{staticClass:\"request-item__head\"},[_vm._v(\"ID\")]),_c('div',{staticClass:\"request-item__content\",staticStyle:{\"display\":\"flex\",\"justify-content\":\"space-between\"}},[_vm._v(\" \"+_vm._s(_vm.data.requestId)+\" \")])]),_c('div',{staticClass:\"request-item__row\"},[_c('div',{staticClass:\"request-item__head\"},[_vm._v(\" \"+_vm._s(_vm.$tr(_vm.getRequestI18n('requestType')))+\" \")]),_c('div',{staticClass:\"request-item__content\"},[_vm._v(\" \"+_vm._s(_vm.data.name)+\" \")])]),_c('div',{staticClass:\"request-item__row\"},[_c('div',{staticClass:\"request-item__head\"},[_vm._v(\" \"+_vm._s(_vm.$tr('request.thesis.requestAlertStatus'))+\" \")]),_c('div',{staticClass:\"request-item__content\"},[_c('div',{staticClass:\"request-item__status\",class:_vm.statusClass(_vm.data.status)},[_vm._v(\" \"+_vm._s(_vm.statusText(_vm.data.status))+\" \")])])]),(_vm.data.comment)?_c('div',{staticClass:\"request-item__row\"},[_c('div',{staticClass:\"request-item__head\"},[_vm._v(\" \"+_vm._s(_vm.$tr('request.comment'))+\" \")]),_c('div',{staticClass:\"request-item__content\"},[_vm._v(\" \"+_vm._s(_vm.data.comment)+\" \")])]):_vm._e(),(_vm.isCoAuthor)?_c('div',{staticClass:\"request-item__row\"},[_c('div',{staticClass:\"request-item__head\"},[_vm._v(\" \"+_vm._s(_vm.$tr('request.thesis.addCoauthor'))+\" \")]),_c('div',{staticClass:\"request-item__content input\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.emailCoAuthors),expression:\"emailCoAuthors\"}],ref:\"inputCoAuthors\",staticClass:\"request-item__input\",attrs:{\"placeholder\":_vm.$tr('request.thesis.addCoauthorEmail'),\"required\":\"\"},domProps:{\"value\":(_vm.emailCoAuthors)},on:{\"input\":function($event){if($event.target.composing)return;_vm.emailCoAuthors=$event.target.value}}}),_c('button',{staticClass:\"request-item__button\",attrs:{\"disabled\":_vm.checkEmailCoAuthors},on:{\"click\":_vm.sendCoAuthorsRequest}},[_c('span',[_c('Icon',{staticClass:\"request-item__icon\",attrs:{\"type\":\"md-arrow-forward\",\"size\":20}})],1)])])]):_vm._e(),(_vm.showAuthor)?_c('div',{staticClass:\"request-item__row\"},[_c('div',{staticClass:\"request-item__head\"},[_vm._v(\" \"+_vm._s(_vm.$tr('request.thesis.coauthor'))+\" \")]),_c('div',{staticClass:\"request-item__content\"},[_vm._v(\" \"+_vm._s(_vm.showAuthorName)+\" \")])]):_vm._e(),_c('div',{staticClass:\"request-item__row\"},[_c('div',{staticClass:\"request-item__head\"},[_vm._v(\" \"+_vm._s(_vm.$tr(_vm.getRequestI18n('requestDate')))+\" \")]),_c('div',{staticClass:\"request-item__content\"},[_vm._v(\" \"+_vm._s(_vm.fromISOToString(_vm.data.createdAt))+\" \")])])]),_c('div',{staticClass:\"card-list-item__btn-block\",staticStyle:{\"display\":\"flex\",\"justify-content\":\"right\"}},[(!_vm.dateExpired)?_c('span',{staticClass:\"sent-requests__remove s-pointer\",on:{\"click\":_vm.deleteUserRequest}},[_vm._v(_vm._s(_vm.$tr('request.thesis.remove')))]):_vm._e(),_c('span',{staticClass:\"sent-requests__open s-pointer\",on:{\"click\":_vm.openUserRequest}},[_vm._v(_vm._s(_vm.$tr('request.thesis.open')))])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./app-request-card.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./app-request-card.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./app-request-card.vue?vue&type=template&id=00794c2e&\"\nimport script from \"./app-request-card.vue?vue&type=script&lang=js&\"\nexport * from \"./app-request-card.vue?vue&type=script&lang=js&\"\nimport style0 from \"./app-request-card.vue?vue&type=style&index=0&id=00794c2e&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return (!_vm.load)?_c('Row',{attrs:{\"type\":\"flex\"}},_vm._l((_vm.formatData(_vm.data)),function(item,index){return _c('i-col',{key:index,attrs:{\"lg\":12,\"span\":\"24\",\"class-name\":\"view-card-item\"}},[(item.type === 'file')?[_c('span',{staticClass:\"view-card-item__title\"},[_vm._v(_vm._s(item.name))]),(item.value)?_c('p',{staticClass:\"view-card-item__content\"},_vm._l((item.value),function(val,i){return _c('a',{key:i,staticStyle:{\"margin-right\":\"15px\"},attrs:{\"target\":\"_blank\",\"href\":`${val.baseUrl}${val.path}`}},[_vm._v(\"Скачать файл\")])}),0):_vm._e()]:(item.type === 'location')?[_c('span',{staticClass:\"view-card-item__title\"},[_vm._v(_vm._s(item.name))]),_c('p',{staticClass:\"view-card-item__content\"},[_vm._v(\" \"+_vm._s(`${item.value.city}${item.value.region ? ',' : ''}`)+\" \"),_c('span',{staticStyle:{\"font-weight\":\"normal\"}},[_vm._v(_vm._s(item.value.region || ''))])])]:(item.type === 'country')?[_c('span',{staticClass:\"view-card-item__title\"},[_vm._v(_vm._s(item.name))]),_c('p',{staticClass:\"view-card-item__content\"},[(item.value && item.value.country)?_c('span',[_vm._v(_vm._s(item.value.country))]):_vm._e()])]:[_c('span',{staticClass:\"view-card-item__title\"},[_vm._v(_vm._s(item.name))]),_c('p',{staticClass:\"view-card-item__content\"},[_vm._v(\" \"+_vm._s(item.value)+\" \")])]],2)}),1):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./app-view-formatter.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./app-view-formatter.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./app-view-formatter.vue?vue&type=template&id=80f2a1cc&\"\nimport script from \"./app-view-formatter.vue?vue&type=script&lang=js&\"\nexport * from \"./app-view-formatter.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./request.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./request.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./request.vue?vue&type=template&id=3b98747c&\"\nimport script from \"./request.vue?vue&type=script&lang=js&\"\nexport * from \"./request.vue?vue&type=script&lang=js&\"\nimport style0 from \"./request.vue?vue&type=style&index=0&id=3b98747c&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { getExistingApiInstance } from '@/api'\nimport LogicError from '@/domain/errors/logic-error'\n\nexport default function useAuth() {\n /**\n * Аутентификация по логину и паролю\n * @returns {Promise<{data: {roles: Array, token: string, id: number}, isError: boolean}>}\n */\n async function authenticate(email, password, authGroupId) {\n const api = getExistingApiInstance()\n\n if (!authGroupId) {\n throw new LogicError('Не найден id группы авторизации')\n }\n\n const payload = {\n authGroupId,\n email,\n password,\n }\n\n let isError = false\n let data = {}\n try {\n ({ data } = await api.user.authenticate(payload))\n } catch (e) {\n isError = true\n }\n\n return {\n data,\n isError,\n }\n }\n\n return {\n authenticate,\n }\n}\n","import UserLoginStrategy from '@/domain/services/login-service/strategies/user-login-strategy'\nimport useAuth from '@/domain/composables/use-auth'\nimport store from '@/store'\nimport AuthService from '@/domain/services/auth-service'\nimport { GtmPlugin } from '@gtm-support/vue2-gtm'\nimport gtmOptions from '@/plugins/gtm'\n\n/**\n * authenticate then authorize\n */\nexport default class AuthAuthStrategy extends UserLoginStrategy {\n constructor(event, user) {\n super(event, user)\n this.gtm = new GtmPlugin(gtmOptions)\n }\n\n async execute() {\n const { authenticate } = useAuth()\n\n const { data, isError: isLoginError } = await authenticate(\n this.userData.email,\n this.userData.password,\n store.getters['domain/currentAuthGroupId'],\n )\n\n if (isLoginError) {\n throw new Error(this.translateI18N('auth.authError'))\n }\n\n this.gtm.trackEvent({ event: 'event-auth' })\n\n const authService = new AuthService()\n await authService.setAuthData(data.token, data.id)\n }\n}\n","import { getExistingApiInstance } from '@/api'\nimport LogicError from '@/domain/errors/logic-error'\n\n/**\n * Функция используется для работы с анкетой пользователя\n */\nexport default function useRegistration() {\n async function getFormData(formId) {\n const api = getExistingApiInstance()\n\n const { data } = await api.form.getOne(formId, {\n include: ['fields.values', 'groups'].join(','),\n })\n return data\n }\n\n async function isUserHasRegistration(email, eventId, authGroupId) {\n const api = getExistingApiInstance()\n\n const payload = {\n eventId,\n email,\n authGroupId,\n }\n let isError = false\n let meta\n\n try {\n ({ meta } = await api.registration.isExist(payload))\n } catch {\n isError = true\n }\n\n return { data: { isRegistrationExist: meta?.exist }, isError }\n }\n\n async function getFieldValues(userId, eventId) {\n const params = {\n include: ['fields.field'].join(','),\n filter: {\n userId,\n eventId,\n },\n sort: 'id',\n 'per-page': 1,\n fields: {\n registration: ['id'].join(','),\n },\n }\n\n const { data } = await getExistingApiInstance().registration.getMany(params)\n\n const [registrationData] = data\n\n return registrationData?.fields\n }\n\n async function getRegistrationCode(userId, eventId) {\n const params = {\n filter: {\n userId,\n eventId,\n },\n fields: {\n registration: ['registrationCode'].join(','),\n },\n }\n\n const { data } = await getExistingApiInstance().registration.getMany(params)\n\n const [registrationData] = data\n\n return registrationData?.registrationCode\n }\n\n async function getUserTicket(userId, eventId) {\n const params = {\n filter: {\n userId,\n eventId,\n },\n sort: 'id',\n 'per-page': 1,\n fields: {\n registration: ['ticketNumber'].join(','),\n },\n }\n\n const { data } = await getExistingApiInstance().registration.getMany(params)\n\n const [worksheets] = data\n\n const ticketNumber = worksheets.ticketNumber\n\n return ticketNumber\n }\n\n async function getRegistrationsByUser(eventIds, userId) {\n const api = getExistingApiInstance()\n const params = {\n filter: {\n userId,\n eventId: eventIds,\n },\n perPage: 0,\n }\n\n const { data } = await api.registration.getMany(params)\n\n return data\n }\n\n async function quickRegistration(eventId, fromEventId) {\n if (fromEventId === eventId) {\n throw new LogicError('Попытка быстрой регистрации на евент-кабинет')\n }\n\n const api = getExistingApiInstance()\n\n const data = { fromEventId, eventId }\n\n await api.registration.quickRegistration(data)\n }\n\n return {\n getFormData,\n getFieldValues,\n getRegistrationCode,\n getUserTicket,\n getRegistrationsByUser,\n quickRegistration,\n isUserHasRegistration,\n }\n}\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/style-resources-loader/lib/index.js??ref--9-oneOf-1-4!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./app-request-card.vue?vue&type=style&index=0&id=00794c2e&prod&lang=scss&\"","import UserLoginStrategy from '@/domain/services/login-service/strategies/user-login-strategy'\nimport AuthAuthStrategy from '@/domain/services/login-service/strategies/auth-auth-strategy'\nimport store from '@/store'\nimport useRegistration from '@/domain/composables/use-registration'\nimport EventService from '@/domain/services/event-service'\nimport LangService from '@/domain/services/lang-service'\n\nexport class FamiliarUserLoginStrategy extends UserLoginStrategy {\n async execute() {\n const authAndAuth = new AuthAuthStrategy(this.eventData, this.userData)\n await authAndAuth.execute()\n\n const { isUserHasRegistration } = useRegistration()\n const authGroupId = store.getters['domain/currentAuthGroupId']\n\n const {\n data: { isRegistrationExist },\n isError: isRegistrationCheckError,\n } = await isUserHasRegistration(\n this.userData.email,\n this.eventData.id,\n authGroupId,\n )\n\n if (isRegistrationCheckError) {\n throw new Error('Произошла ошибка при проверке регистрации')\n }\n\n if (!isRegistrationExist) {\n await this._registrationUnavailableGuard()\n await this._toRegistration()\n return\n }\n\n await this._toStartPage()\n }\n\n async _toStartPage() {\n const pages = store.state.pages.data\n const startPagePath = EventService.defineStartPagePath(\n this.eventData,\n pages,\n )\n await LangService.toLocalePath({ path: startPagePath })\n }\n\n async _toRegistration() {\n await LangService.toLocalePath({\n path: '/registration',\n query: { email: this.userData.email },\n })\n }\n}\n","import UserLoginStrategy from '@/domain/services/login-service/strategies/user-login-strategy'\nimport LangService from '@/domain/services/lang-service'\n\nexport class NewUserLoginStrategy extends UserLoginStrategy {\n async execute() {\n await this._registrationUnavailableGuard()\n\n await this._toCreateUser()\n }\n\n async _toCreateUser() {\n await LangService.toLocalePath({\n path: '/user',\n query: { email: this.userData.email },\n })\n }\n}\n","import { EMAIL_REGEX } from '@/utils/constants'\nimport { FamiliarUserLoginStrategy } from '@/domain/services/login-service/strategies/familiar-user-login-strategy'\nimport { NewUserLoginStrategy } from '@/domain/services/login-service/strategies/new-user-login-strategy'\n\nimport LogicError from '@/domain/errors/logic-error'\n\nexport default class LoginService {\n static USER_STRATEGY_NAMES = {\n UNREGISTERED: 'unregistered',\n FAMILIAR: 'familiar',\n }\n\n static USER_STRATEGIES = {\n UNREGISTERED: NewUserLoginStrategy,\n FAMILIAR: FamiliarUserLoginStrategy,\n }\n\n static validateEmail(str) {\n return EMAIL_REGEX.test(str)\n }\n\n static validatePassword(str) {\n return str.length >= 6\n }\n\n static async executeStrategy(strategyName, event, user) {\n let strategy = {\n execute: async () => {\n throw new LogicError('Неверное имя стратегии')\n },\n }\n\n if (strategyName === this.USER_STRATEGY_NAMES.UNREGISTERED) {\n strategy = new this.USER_STRATEGIES.UNREGISTERED(event, user)\n } else if (strategyName === this.USER_STRATEGY_NAMES.FAMILIAR) {\n strategy = new this.USER_STRATEGIES.FAMILIAR(event, user)\n }\n\n await strategy.execute()\n }\n}\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/style-resources-loader/lib/index.js??ref--9-oneOf-1-4!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./request.vue?vue&type=style&index=0&id=3b98747c&prod&lang=scss&\"","import EventService from '@/domain/services/event-service'\nimport { DateTime } from '@/plugins/luxon'\nimport { monthToStr, formatDate, TIME_STATUSES } from '@/utils'\n\nconst MIN_DATE = DateTime.fromSeconds(0)\nconst MAX_DATE = DateTime.fromSeconds(2177280000) // 2038 12 30\n\nexport default class EventDateService {\n static MIN_DATE = MIN_DATE\n static MAX_DATE = MAX_DATE\n constructor(event) {\n this._event = event\n }\n\n getData() {\n return this._event\n }\n\n /**\n * @returns {DateTime}\n */\n get startRegistrationTime() {\n return EventDateService.getMinDate(this._event.registrationStartedAt)\n }\n\n /**\n * @returns {DateTime}\n */\n get endRegistrationTime() {\n return EventDateService.getMaxDate(this._event.registrationEndedAt)\n }\n\n /**\n * @returns {DateTime}\n */\n get startEventTime() {\n if (!EventService.isEventOccasion(this._event)) {\n return EventDateService.MIN_DATE\n }\n return EventDateService.getMinDate(this._event.eventOccasion.startedAt)\n }\n\n /**\n * @returns {DateTime}\n */\n get endEventTime() {\n if (!EventService.isEventOccasion(this._event)) {\n return EventDateService.MAX_DATE\n }\n return EventDateService.getMaxDate(this._event.eventOccasion.endedAt)\n }\n\n static getMinDate(dateStr) {\n const date = DateTime.fromISO(dateStr)\n if (date.invalid) {\n return EventDateService.MIN_DATE\n }\n return date\n }\n\n static getMaxDate(dateStr) {\n const date = DateTime.fromISO(dateStr)\n if (date.invalid) {\n return EventDateService.MAX_DATE\n }\n return date\n }\n\n /**\n * функция возвращает две даты через символ, отправленный в поле \"locale.divider\" - по умолчанию черточка:\n * @param locale\n * @param start\n * @param end\n */\n static getAlertMessageWithDivider(locale, start, end) {\n if ((!start) instanceof DateTime || (!end) instanceof DateTime) {\n throw new Error(\n 'Неверный тип даты, передаваемый в функцию getEntityStatus!',\n )\n }\n\n const { entity = '', months = [], divider = '-' } = locale\n\n const formatDateWithDivider = (start, end) => {\n const { year: startYear, month: startMonth, day: startDay } = start\n const { year: endYear, month: endMonth, day: endDay } = end\n\n // отбрасываем одинаковые года и месяцы\n if (\n endDay === startDay &&\n startMonth === endMonth &&\n startYear === endYear\n ) {\n return `${startDay} ${monthToStr(startMonth, months)} ${startYear}`\n } else if (startMonth === +endMonth && startYear === endYear) {\n return `${startDay} ${divider} ${endDay} ${monthToStr(\n startMonth,\n months,\n )} ${startYear}`\n } else if (startYear === endYear) {\n return `${startDay} ${monthToStr(\n startMonth,\n months,\n )} ${divider} ${endDay} ${monthToStr(endMonth, months)} ${startYear}`\n }\n return `${startDay} ${monthToStr(\n startMonth,\n months,\n )} ${startYear} ${divider} ${endDay} ${monthToStr(\n endMonth,\n months,\n )} ${endYear}`\n }\n\n return {\n message: `${entity} ${formatDateWithDivider(start, end)}`,\n state: 'info',\n }\n }\n\n static getMessageWithOneDate(locale, date) {\n if (!locale.entity) {\n return formatDate(date, locale.months)\n }\n return `${locale.entity} ${formatDate(date, locale.months)}`\n }\n\n static getEntityStatusAlert = (locale, start, end, status) => {\n if ((!start) instanceof DateTime || (!end) instanceof DateTime) {\n throw new Error(\n 'Неверный тип даты, передаваемый в функцию getEntityStatus!',\n )\n }\n\n const {\n entity = '',\n before = '',\n during = '',\n after = '',\n months = [''],\n onGoing = '',\n } = locale\n\n if (status === TIME_STATUSES.ENDED) {\n return {\n message: `${entity} ${after} ${formatDate(end, months)}`,\n state: 'after',\n }\n }\n\n if (status === TIME_STATUSES.WILL_START) {\n return {\n message: `${entity} ${before} ${formatDate(start, months)}`,\n state: 'before',\n }\n }\n\n if (end === EventDateService.MAX_DATE) {\n // \"Регистрация идет\" (без даты)\n return {\n message: `${entity} ${onGoing}`,\n state: 'during',\n }\n }\n\n return {\n message: `${entity} ${during} ${formatDate(end, months)}`,\n state: 'during',\n }\n }\n}\n","import EventDateService from '@/domain/services/event-date-service'\nimport { AbstractMethod } from '@/utils/oop-helpers'\nimport { translateFn } from '@/plugins/i18n'\nimport { TIME_STATUSES } from '@/utils'\n\nexport default class UserLoginStrategy {\n constructor(event, user) {\n this.userData = user\n this.eventDateServise = new EventDateService(event)\n this.eventData = event\n }\n execute() {\n new AbstractMethod()\n }\n\n translateI18N(key, ...args) {\n return translateFn(key, ...args)\n }\n\n async _registrationUnavailableGuard() {\n if (this.eventData.registrationTimeStatus !== TIME_STATUSES.IN_PROGRESS) {\n this._throwUnavailableRegistrationAlert()\n }\n }\n\n _throwUnavailableRegistrationAlert() {\n const start = this.eventDateServise.startRegistrationTime\n const end = this.eventDateServise.endRegistrationTime\n\n // регистрация может быть недоступна, если дата начала регистрации не указана,\n // а дата окончания уже наступила\n if (this.eventData.registrationTimeStatus === TIME_STATUSES.ENDED) {\n throw new Error(this.translateI18N('alertTime.error.ended'))\n }\n // регистрация может быть недоступна, если дата окончания регистрации не указана,\n // а дата начала еще не наступила\n if (this.eventData.registrationTimeStatus === TIME_STATUSES.WILL_START) {\n const locale = {\n entity: this.translateI18N('alertTime.error.willStart'),\n months: this.translateI18N('months'),\n }\n const message = EventDateService.getMessageWithOneDate(locale, start)\n throw new Error(message)\n }\n\n const locale = {\n entity: this.translateI18N('auth.regDateError.text'),\n months: this.translateI18N('months'),\n divider: this.translateI18N('auth.regDateError.divider'),\n }\n\n const status = EventDateService.getAlertMessageWithDivider(\n locale,\n start,\n end,\n )\n throw new Error(status.message)\n }\n}\n"],"sourceRoot":""}