{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/components/OlympCard.vue?af46","webpack:///./src/App.vue?0b41","webpack:///./src/components/OlympSection.vue?7108","webpack:///./src/components/OlympSelect.vue?3899","webpack:///./src/components/OlympSelect.vue?b7f5","webpack:///./src/components/OlympSelect.vue?993b","webpack:///./src/components/OlympSelect.vue","webpack:///./src/components/OlympButton.vue?139c","webpack:///./src/components/OlympButton.vue?eb48","webpack:///./src/components/OlympButton.vue?dbe1","webpack:///./src/components/OlympButton.vue","webpack:///./src/components/OlympCheckbox.vue?9326","webpack:///./src/components/OlympCheckbox.vue?f8f5","webpack:///./src/components/OlympCheckbox.vue?5053","webpack:///./src/components/OlympCheckbox.vue","webpack:///./src/components/OlympList.vue?a573","webpack:///./src/components/OlympCard.vue?e231","webpack:///./src/components/OlympCard.vue?edfc","webpack:///./src/components/OlympCard.vue?1687","webpack:///./src/components/OlympCard.vue","webpack:///./src/components/OlympList.vue?3b85","webpack:///./src/components/OlympList.vue?27f3","webpack:///./src/components/OlympList.vue","webpack:///./src/components/OlympTag.vue?beb1","webpack:///./src/components/OlympTag.vue?9885","webpack:///./src/components/OlympTag.vue?577c","webpack:///./src/components/OlympTag.vue","webpack:///./src/components/OlympSection.vue?cda5","webpack:///./src/components/OlympSection.vue?b418","webpack:///./src/components/OlympSection.vue","webpack:///./src/App.vue?ec60","webpack:///./src/App.vue?640d","webpack:///./src/App.vue","webpack:///./src/vue-apollo.ts","webpack:///./src/main.ts","webpack:///./src/style.css?a197"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","_vm","this","_h","$createElement","_c","_self","staticClass","ref","attrs","schoolSections","on","onSectionLoaded","studentSections","staticRenderFns","_v","_s","title","_e","noFilter","class","forSchool","types","model","callback","$$v","selectedTypes","expression","grades","selectedGrades","$data","directions","selectedDirections","preferences","selectedPreferences","isInProgress","isTagsExpanded","_l","tag","getLabel","$event","section","queryName","isOpened","fullLabel","directives","rawName","option","domProps","Array","isArray","_i","$$a","$$el","target","$$c","checked","$$i","concat","label","total","v","$emit","default","component","items","item","id","_b","url","style","backgroundImage","image","_obj","color","formattedDates","comment","description","startDate","date","Date","getDate","String","getMonth","padStart","getFullYear","endDate","components","OlympCard","ucfirst","string","charAt","toUpperCase","createReferenceQuery","override","query","update","map","createReferenceOptions","names","reduce","acc","val","queryNameBySection","split","join","createListQuery","variables","it","tags","find","createFn","fnArg","paramName","$apollo","addSmartQuery","sections","forEach","createAndAddSmartQuery","isForSchool","$refs","container","scrollIntoView","localSections","some","type","Boolean","OlympSelect","OlympButton","OlympCheckbox","OlympList","OlympTag","apollo","sectionsLoadedOnce","Set","didInitialScroll","hash","location","size","allSections","add","scrollToAnchor","OlympSection","use","AUTH_TOKEN","httpEndpoint","defaultOptions","tokenName","persisting","websocketsOnly","ssr","createProvider","options","resolvers","typeDefs","apolloClient","wsClient","apolloProvider","defaultClient","$query","errorHandler","error","console","log","message","config","productionTip","render","h","$mount"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,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AKW,sBAdd,GAAiC,SAAZ,GAAG,yBAHvB,eAAU,CACT0E,WAAY,CAAEuD,aAAA,OAEK,cC9BuV,MCQxW,I,UAAY,eACd,GACA,EACAhI,GACA,EACA,KACA,KACA,OAIa,M,qECbf,OAAIiI,IAAI,SAGR,IAAMC,GAAa,eAGbC,GAAe,2BAGfC,GAAiB,CAErBD,gBAKAE,UAAWH,GAEXI,YAAY,EAGZC,gBAAgB,EAEhBC,KAAK,GAqBD,SAAUC,KAA2B,IAAZC,EAAY,uDAAF,GAAE,EAEN,iCAAmB,gDACjDN,IACAM,GAFgD,IAInDC,UAAA,QACAC,SAAA,WALMC,EAFiC,EAEjCA,aAAcC,EAFmB,EAEnBA,SAQtBD,EAAaC,SAAWA,EAGxB,IAAMC,EAAiB,IAAI,QAAU,CACnCC,cAAeH,EACfT,eAAgB,CACda,OAAQ,IAIVC,aAPmC,SAOtBC,GAEXC,QAAQC,IAAI,UAAW,0FAA2FF,EAAMG,YAI5H,OAAOP,ECxET,OAAIQ,OAAOC,eAAgB,EAE3B,IAAI,OAAI,CACNT,eAAgBN,KAChBgB,OAAQ,SAACC,GAAD,OAAOA,EAAE,OAChBC,OAA+C,e,kCCTlD","file":"js/app.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OlympCard.vue?vue&type=style&index=0&id=6c8bdf60&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"ol-container\"},[_c('olymp-section',{ref:\"school\",attrs:{\"id\":\"school\",\"title\":\"Состязания для школьников и студентов СПО:\",\"for-school\":\"\",\"sections\":_vm.schoolSections},on:{\"sectionLoaded\":_vm.onSectionLoaded}}),_c('olymp-section',{ref:\"student\",attrs:{\"id\":\"student\",\"title\":\"Состязания для студентов, выпускников и профессионалов:\",\"sections\":_vm.studentSections},on:{\"sectionLoaded\":_vm.onSectionLoaded}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:\"container\",staticClass:\"ol-container__group\"},[(_vm.title)?_c('h2',{staticClass:\"ol-container__title ol-title\"},[_vm._v(_vm._s(_vm.title))]):_vm._e(),(!_vm.noFilter)?_c('div',{staticClass:\"ol-controls\",class:{ 'ol-controls_5': _vm.forSchool }},[_c('olymp-select',{attrs:{\"label\":\"Формат первого этапа\",\"null-label\":\"Любой\",\"options\":_vm.types},model:{value:(_vm.selectedTypes),callback:function ($$v) {_vm.selectedTypes=$$v},expression:\"selectedTypes\"}}),(_vm.forSchool)?_c('olymp-select',{attrs:{\"label\":\"Возраст участника\",\"null-label\":\"Любой\",\"options\":_vm.grades},model:{value:(_vm.selectedGrades),callback:function ($$v) {_vm.selectedGrades=$$v},expression:\"selectedGrades\"}}):_vm._e(),_c('olymp-select',{attrs:{\"label\":\"Направление\",\"null-label\":\"Любое\",\"options\":_vm.$data.directions},model:{value:(_vm.selectedDirections),callback:function ($$v) {_vm.selectedDirections=$$v},expression:\"selectedDirections\"}}),_c('olymp-select',{attrs:{\"label\":\"Преференции\",\"null-label\":\"Любые\",\"options\":_vm.preferences},model:{value:(_vm.selectedPreferences),callback:function ($$v) {_vm.selectedPreferences=$$v},expression:\"selectedPreferences\"}}),_c('olymp-checkbox',{attrs:{\"label\":\"Идет регистрация\"},model:{value:(_vm.isInProgress),callback:function ($$v) {_vm.isInProgress=$$v},expression:\"isInProgress\"}})],1):_vm._e(),_c('div',{staticClass:\"ol-tags ol-tags_with-collapse ol-layout__tags\",class:{'ol-tags_with-collapse_expanded': _vm.isTagsExpanded}},[_c('div',{staticClass:\"ol-tags__inner\"},[_vm._l((_vm.selectedTypes),function(tag,i){return _c('olymp-tag',{key:tag,attrs:{\"label\":_vm.getLabel(_vm.types, tag)},on:{\"remove\":function($event){return _vm.selectedTypes.splice(i, 1)}}})}),_vm._l((_vm.selectedGrades),function(tag,i){return _c('olymp-tag',{key:tag,attrs:{\"label\":_vm.getLabel(_vm.grades, tag)},on:{\"remove\":function($event){return _vm.selectedGrades.splice(i, 1)}}})}),_vm._l((_vm.selectedDirections),function(tag,i){return _c('olymp-tag',{key:tag,attrs:{\"label\":_vm.getLabel(_vm.$data.directions, tag)},on:{\"remove\":function($event){return _vm.selectedDirections.splice(i, 1)}}})}),_vm._l((_vm.selectedPreferences),function(tag,i){return _c('olymp-tag',{key:tag,attrs:{\"label\":_vm.getLabel(_vm.preferences, tag)},on:{\"remove\":function($event){return _vm.selectedPreferences.splice(i, 1)}}})}),_c('div',{staticClass:\"ol-tags__collapse-helper\"},[_c('button',{staticClass:\"ol-tags__collapse-control\",attrs:{\"aria-label\":_vm.isTagsExpanded ? 'скрыть' : 'раскрыть'},on:{\"click\":function($event){_vm.isTagsExpanded = !_vm.isTagsExpanded}}},[_c('svg',{staticClass:\"ol-tags__collapse-svg\",attrs:{\"width\":\"20\",\"height\":\"20\",\"viewBox\":\"0 0 20 20\",\"fill\":\"none\",\"xmlns\":\"http://www.w3.org/2000/svg\"}},[_c('path',{attrs:{\"d\":\"M5 7.5L10 12.5L15 7.5\",\"stroke\":\"currentColor\",\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\"}})])])])],2)]),(_vm.hasSomeItems)?[_vm._l((_vm.localSections),function(section){return [(_vm.$data[section.queryName] && _vm.$data[section.queryName].length)?[(section.title)?_c('h3',{key:((section.name) + \".title\"),staticClass:\"ol-subtitle ol-container__subtitle\"},[_vm._v(\" \"+_vm._s(section.title)+\" \")]):_vm._e(),_c('olymp-list',{key:((section.name) + \".list\"),attrs:{\"items\":_vm.$data[section.queryName]}})]:_vm._e()]})]:_c('div',{staticClass:\"ol-container__empty\"},[_vm._v(\"Ничего не найдено\")])],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"ol-controls__item\"},[_c('div',{staticClass:\"ol-filter__helper\",class:{'ol-filter__helper_active' :_vm.isOpened},on:{\"click\":function($event){_vm.isOpened = false}}}),_c('div',{staticClass:\"ol-filter\",class:{'ol-filter_active' :_vm.isOpened}},[_c('div',{staticClass:\"ol-filter__field\",on:{\"click\":function($event){_vm.isOpened = !_vm.isOpened}}},[_c('span',{staticClass:\"ol-filter__text\"},[_vm._v(\" \"+_vm._s(_vm.fullLabel)+\" \")]),_c('svg',{staticClass:\"ol-filter__icon ol-filter__plus\",attrs:{\"width\":\"20\",\"height\":\"20\",\"fill\":\"none\",\"xmlns\":\"http://www.w3.org/2000/svg\"}},[_c('path',{attrs:{\"d\":\"M1.73 10.09 1.722 10a.5.5 0 0 1 .41-.492l.09-.008H9.5V2.222a.5.5 0 0 1\\n .41-.492l.09-.008a.5.5 0 0 1 .492.41l.008.09V9.5h7.278a.5.5 0 0 1\\n .492.41l.008.09a.5.5 0 0 1-.41.492l-.09.008H10.5v7.278a.5.5 0 0 1-.41.492l-.09.008a.5.5\\n 0 0 1-.492-.41l-.008-.09V10.5H2.222a.5.5 0 0 1-.492-.41L1.722 10l.008.09Z\\n \",\"fill\":\"currentColor\"}})]),_c('svg',{staticClass:\"ol-filter__icon ol-filter__minus\",attrs:{\"width\":\"20\",\"height\":\"20\",\"fill\":\"none\",\"xmlns\":\"http://www.w3.org/2000/svg\"}},[_c('path',{attrs:{\"d\":\"m1.722 10 .008.09a.5.5 0 0 0 .492.41H17.778l.09-.008a.5.5 0 0 0\\n .41-.492l-.008-.09a.5.5 0 0 0-.492-.41H2.222l-.09.008a.5.5 0 0 0-.41.492Z\\n \",\"fill\":\"currentColor\"}})])]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isOpened),expression:\"isOpened\"}],staticClass:\"ol-filter__dropdown\"},[_c('div',{staticClass:\"ol-filter-controls\",attrs:{\"data-simplebar\":\"\"}},[_c('div',_vm._l((_vm.options),function(option){return _c('div',{key:option.value,staticClass:\"ol-filter-controls__item\",attrs:{\"value\":option.value}},[_c('label',{staticClass:\"ol-filter-control ol-filter-control_transform\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.model),expression:\"model\"}],staticClass:\"ol-filter-control__input\",attrs:{\"type\":\"checkbox\"},domProps:{\"value\":option.value,\"checked\":Array.isArray(_vm.model)?_vm._i(_vm.model,option.value)>-1:(_vm.model)},on:{\"change\":function($event){var $$a=_vm.model,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=option.value,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.model=$$a.concat([$$v]))}else{$$i>-1&&(_vm.model=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.model=$$c}}}}),_c('span',{staticClass:\"ol-filter-control__label\"},[_vm._v(_vm._s(option.label))]),_c('span',{staticClass:\"ol-filter-control__indicator\"})])])}),0)])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport {\n Component, Prop, Vue,\n} from 'vue-property-decorator';\n\n@Component\nexport default class OlympSelect extends Vue {\n @Prop() value!: unknown[];\n\n @Prop() label?: string;\n\n @Prop({\n default: '-',\n }) nullLabel?: string;\n\n @Prop({\n default: () => [],\n }) options!: { value?: string; label?: string }[];\n\n isOpened = false;\n\n get fullLabel() {\n const total = this.value.length ? `(${this.value.length})` : '';\n return `${this.label} ${total}`;\n }\n\n get model() {\n return this.value;\n }\n\n set model(v) {\n this.$emit('input', v);\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/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OlympSelect.vue?vue&type=script&lang=ts&\"; 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/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OlympSelect.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./OlympSelect.vue?vue&type=template&id=446161c7&\"\nimport script from \"./OlympSelect.vue?vue&type=script&lang=ts&\"\nexport * from \"./OlympSelect.vue?vue&type=script&lang=ts&\"\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 () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"ol-controls__item\"},[_c('button',{staticClass:\"ol-button\",on:{\"click\":function($event){return _vm.$emit('click', $event)}}},[_vm._v(_vm._s(_vm.label))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\nimport { Component, Prop, Vue } from 'vue-property-decorator';\n\n@Component\nexport default class OlympButton extends Vue {\n @Prop() label?: string;\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/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OlympButton.vue?vue&type=script&lang=ts&\"; 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/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OlympButton.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./OlympButton.vue?vue&type=template&id=31595294&\"\nimport script from \"./OlympButton.vue?vue&type=script&lang=ts&\"\nexport * from \"./OlympButton.vue?vue&type=script&lang=ts&\"\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 () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"ol-controls__item ol-controls__item_with_control\"},[_c('label',{staticClass:\"ol-control\"},[_c('input',{staticClass:\"ol-control__input\",attrs:{\"type\":\"checkbox\"},domProps:{\"checked\":_vm.value},on:{\"input\":function($event){return _vm.$emit('input', $event.target.checked)}}}),_c('span',{staticClass:\"ol-control__label\"},[_vm._v(_vm._s(_vm.label))]),_c('span',{staticClass:\"ol-control__indicator\"})])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue } from 'vue-property-decorator';\n\n@Component\nexport default class OlympCheckbox extends Vue {\n @Prop() value?: boolean;\n\n @Prop() label?: string;\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/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OlympCheckbox.vue?vue&type=script&lang=ts&\"; 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/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OlympCheckbox.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./OlympCheckbox.vue?vue&type=template&id=714db94f&\"\nimport script from \"./OlympCheckbox.vue?vue&type=script&lang=ts&\"\nexport * from \"./OlympCheckbox.vue?vue&type=script&lang=ts&\"\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 () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.items && _vm.items.length)?_c('ul',{staticClass:\"ol-container__cards ol-cards\"},_vm._l((_vm.items),function(item){return _c('li',{key:item.id,staticClass:\"ol-cards__item\"},[_c('olymp-card',_vm._b({},'olymp-card',item,false))],1)}),0):_c('div',[_vm._v(\"Ничего не найдено\")])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a',{staticClass:\"ol-card ol-cards__card\",attrs:{\"href\":_vm.url}},[_c('div',{staticClass:\"ol-card__cover\",style:({\n backgroundImage: _vm.image\n ? (\"url('\" + (_vm.image.url) + \"')\")\n : null\n })},[_c('div',{staticClass:\"ol-rubrics ol-card__tags\"},_vm._l((_vm.types),function(item){\n var _obj;\nreturn _c('p',{key:item.id,staticClass:\"ol-rubric\",class:( _obj = {}, _obj[(\"ol-rubric_type_\" + (item.color))] = item.color, _obj )},[_vm._v(\" \"+_vm._s(item.title)+\" \")])}),0),(_vm.formattedDates)?_c('p',{staticClass:\"ol-card__panel\"},[_vm._v(_vm._s(_vm.formattedDates))]):_vm._e(),(_vm.comment)?_c('p',{staticClass:\"ol-card__type\"},[_vm._v(_vm._s(_vm.comment))]):_vm._e()]),_c('div',{staticClass:\"ol-card__content\"},[_c('h3',{staticClass:\"ol-card__title\"},[_vm._v(_vm._s(_vm.title))]),_c('p',{staticClass:\"ol-card__text\"},[_vm._v(_vm._s(_vm.description))]),_c('p',{staticClass:\"ol-button\"},[_vm._v(\"Узнать больше\")])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue } from 'vue-property-decorator';\n\n@Component\nexport default class OlympCard extends Vue {\n @Prop() title!: string;\n\n @Prop() description!: string;\n\n @Prop() url!: string;\n\n @Prop({\n default: null,\n }) image!: { url: string } | null;\n\n @Prop() types!: {\n id: number;\n title: string;\n color: number | null;\n }[];\n\n @Prop() startDate?: string | null;\n\n @Prop() endDate?: string | null;\n\n @Prop() comment?: string;\n\n @Prop() callToActionLabel?: string;\n\n @Prop() formattedDates!: string;\n\n get formattedStartDate() {\n if (!this.startDate) return '';\n const date = new Date(this.startDate);\n return `${date.getDate()}.${String(date.getMonth() + 1).padStart(2, '0')}.${date.getFullYear()}`;\n }\n\n get formattedEndDate() {\n if (!this.endDate) return '';\n const date = new Date(this.endDate);\n return `${date.getDate()}.${String(date.getMonth() + 1).padStart(2, '0')}.${date.getFullYear()}`;\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/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OlympCard.vue?vue&type=script&lang=ts&\"; 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/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OlympCard.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./OlympCard.vue?vue&type=template&id=6c8bdf60&scoped=true&\"\nimport script from \"./OlympCard.vue?vue&type=script&lang=ts&\"\nexport * from \"./OlympCard.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./OlympCard.vue?vue&type=style&index=0&id=6c8bdf60&scoped=true&lang=css&\"\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 \"6c8bdf60\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport OlympCard from './OlympCard.vue';\n\n@Component({\n components: { OlympCard },\n})\nexport default class OlympList extends Vue {\n @Prop({\n default: () => [],\n }) items!: { id: number }[];\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/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OlympList.vue?vue&type=script&lang=ts&\"; 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/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OlympList.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./OlympList.vue?vue&type=template&id=63f5adb4&\"\nimport script from \"./OlympList.vue?vue&type=script&lang=ts&\"\nexport * from \"./OlympList.vue?vue&type=script&lang=ts&\"\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 () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"ol-tag ol-tag_chip ol-tags__item\"},[_c('span',[_vm._v(_vm._s(_vm.label))]),_c('svg',{staticClass:\"ol-tag__close\",attrs:{\"width\":\"20\",\"height\":\"20\",\"viewBox\":\"0 0 20 20\",\"fill\":\"none\",\"xmlns\":\"http://www.w3.org/2000/svg\"},on:{\"click\":function($event){return _vm.$emit('remove')}}},[_c('path',{attrs:{\"d\":\"\\n M4.08859 4.21569L4.14645 4.14645C4.32001 3.97288 4.58944 3.9536 4.78431 4.08859L4.85355\\n 4.14645L10 9.293L15.1464 4.14645C15.32 3.97288 15.5894 3.9536 15.7843 4.08859L15.8536\\n 4.14645C16.0271 4.32001 16.0464 4.58944 15.9114 4.78431L15.8536 4.85355L10.707 10L15.8536\\n 15.1464C16.0271 15.32 16.0464 15.5894 15.9114 15.7843L15.8536 15.8536C15.68 16.0271\\n 15.4106 16.0464 15.2157 15.9114L15.1464 15.8536L10 10.707L4.85355 15.8536C4.67999 16.0271\\n 4.41056 16.0464 4.21569 15.9114L4.14645 15.8536C3.97288 15.68 3.9536 15.4106 4.08859\\n 15.2157L4.14645 15.1464L9.293 10L4.14645 4.85355C3.97288 4.67999 3.9536 4.41056 4.08859\\n 4.21569L4.14645 4.14645L4.08859 4.21569Z\\n \",\"fill\":\"currentColor\",\"fill-opacity\":\"0.5\"}})])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue } from 'vue-property-decorator';\n\n@Component\nexport default class OlympTag extends Vue {\n @Prop() label?: string;\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/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OlympTag.vue?vue&type=script&lang=ts&\"; 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/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OlympTag.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./OlympTag.vue?vue&type=template&id=19286e18&\"\nimport script from \"./OlympTag.vue?vue&type=script&lang=ts&\"\nexport * from \"./OlympTag.vue?vue&type=script&lang=ts&\"\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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport gql from 'graphql-tag';\nimport { VueApolloComponentOptions, VueApolloQueryDefinition } from 'vue-apollo/types/options.d';\nimport OlympSelect from './OlympSelect.vue';\nimport OlympButton from './OlympButton.vue';\nimport OlympCheckbox from './OlympCheckbox.vue';\nimport OlympList from './OlympList.vue';\nimport OlympTag from './OlympTag.vue';\n\ninterface TitledThing {\n id: number;\n title: string;\n}\n\ninterface SectionDescriptor {\n title?: string;\n name: string;\n}\n\ninterface Option {\n value: number;\n label: string | number;\n}\n\nfunction ucfirst(string: string): string {\n return string.charAt(0).toUpperCase() + string.slice(1);\n}\n\nfunction createReferenceQuery>(\n name: string,\n override?: Partial>,\n): VueApolloQueryDefinition {\n return {\n query: gql`{\n ${name}: olympCompetition${ucfirst(name)} {\n id\n title\n }\n }`,\n update(data) {\n return data[name].map(({ id, title }) => ({ value: id, label: title }));\n },\n ...override,\n };\n}\n\nfunction createReferenceOptions(\n ...names: (string | [string, Partial])[]\n) {\n return names.reduce((acc, val) => {\n const [name, override] = Array.isArray(val) ? val : [val];\n acc[name] = createReferenceQuery(name, override);\n return acc;\n }, {} as VueApolloComponentOptions);\n}\n\nfunction queryNameBySection(section: string) {\n return [...section.split('_'), 'competitions']\n .map((v, i) => (i > 0 ? ucfirst(v) : v))\n .join('');\n}\n\nfunction createListQuery(\n section: string,\n override?: Partial,\n): VueApolloQueryDefinition {\n const name = queryNameBySection(section);\n\n return {\n query: gql`\n query (\n $types: [Int!]\n $directions: [Int!]\n $preferences: [Int!]\n $isInProgress: Boolean\n $grades: [Int!]\n $section: OlympSectionName\n ) {\n ${name}: olympCompetitions(\n types: $types,\n directions: $directions,\n preferences: $preferences,\n isInProgress: $isInProgress,\n grades: $grades,\n section: $section\n ) {\n id\n title\n description\n image {\n url\n }\n types {\n title\n color\n }\n startDate\n endDate\n url\n comment\n callToActionLabel\n formattedDates\n }\n }\n `,\n variables(this: OlympSection) {\n return {\n types: this.selectedTypes,\n directions: this.selectedDirections,\n preferences: this.selectedPreferences,\n grades: this.selectedGrades,\n isInProgress: this.isInProgress,\n section,\n };\n },\n ...override,\n };\n}\n\n@Component({\n components: {\n OlympSelect, OlympButton, OlympCheckbox, OlympList, OlympTag,\n },\n apollo: createReferenceOptions(\n 'types',\n ['preferences', {\n query: gql`\n query ($sections: [OlympSectionName!]) {\n preferences: olympCompetitionPreferences(sections: $sections) {\n id\n title\n }\n }\n `,\n variables(this: OlympSection) {\n return {\n sections: this.localSections.map(({ name }) => name),\n };\n },\n }],\n ),\n})\nexport default class OlympSection extends Vue {\n @Prop() title?: string;\n\n @Prop({\n type: Boolean,\n }) noFilter?: boolean;\n\n @Prop({\n type: Boolean,\n }) forSchool?: boolean;\n\n @Prop({\n default: () => [],\n }) sections!: SectionDescriptor[];\n\n grades = [\n ...[5, 6, 7, 8, 9, 10, 11].map((it) => ({ value: it, label: `${it} класс` })),\n { value: -1, label: 'Студент СПО' },\n ];\n\n selectedTypes: number[] = [];\n\n selectedDirections: number[] = [];\n\n selectedPreferences: number[] = [];\n\n selectedGrades: number[] = [];\n\n isInProgress = false;\n\n isTagsExpanded = false;\n\n get localSections(): (SectionDescriptor & { queryName: string })[] {\n return this.sections.map((section) => ({\n ...section,\n queryName: queryNameBySection(section.name),\n }));\n }\n\n get hasSomeItems(): boolean {\n return this.localSections\n .map(({ queryName }) => this.$data[queryName])\n .some((items) => items && items.length);\n }\n\n getLabel = (tags: Option[], value: number) => tags.find((item) => item.value === value)?.label;\n\n createAndAddSmartQuery(\n name: string | [string, string],\n createFn: (\n name: string, override?: Partial\n ) => VueApolloQueryDefinition,\n fnArg?: Partial,\n ) {\n // REVIEW Дичь!\n const [paramName, queryName] = Array.isArray(name)\n ? name\n : [name, name];\n\n this.$apollo.addSmartQuery(queryName, createFn(paramName, fnArg));\n }\n\n created() {\n this.sections.forEach(\n ({ name }) => this.createAndAddSmartQuery(\n [name, queryNameBySection(name)],\n createListQuery,\n {\n result: () => {\n this.$emit('sectionLoaded', name);\n },\n },\n ),\n );\n\n this.createAndAddSmartQuery('directions', createReferenceQuery, {\n query: gql`\n query ($isForSchool: Boolean) {\n directions: olympCompetitionDirections(isForSchool: $isForSchool) {\n id\n title\n }\n }\n `,\n variables(this: OlympSection) {\n return {\n isForSchool: this.forSchool,\n };\n },\n });\n }\n\n scrollIntoView() {\n (this.$refs.container as Element).scrollIntoView();\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/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OlympSection.vue?vue&type=script&lang=ts&\"; 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/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OlympSection.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./OlympSection.vue?vue&type=template&id=30c5e5a9&\"\nimport script from \"./OlympSection.vue?vue&type=script&lang=ts&\"\nexport * from \"./OlympSection.vue?vue&type=script&lang=ts&\"\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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue } from 'vue-property-decorator';\nimport OlympSection from './components/OlympSection.vue';\nimport 'simplebar';\nimport 'simplebar/dist/simplebar.css';\n\n@Component({\n components: { OlympSection },\n})\nexport default class App extends Vue {\n schoolSections = [\n { title: 'Состязания высшей школы экономики', name: 'school_hse' },\n { title: 'Состязания факультетов и партнеров Вышки', name: 'school_hse_support' },\n ];\n\n studentSections = [\n { title: 'Состязания высшей школы экономики', name: 'student_hse' },\n { title: 'Состязания факультетов и партнеров Вышки', name: 'student_hse_support' },\n ];\n\n get allSections() {\n return [\n ...this.schoolSections,\n ...this.studentSections,\n ];\n }\n\n scrollToAnchor() {\n // формально hash может поменяться от момента загрузки страницы до окончания загрузки данных,\n // но у нас достаточно костыльное решение, чтобы проигнорировать это; будем считать, что это\n // метод компоненты, который скролит в любой момент к текущему якорю\n const { hash } = window.location;\n const section = this.$refs[hash.slice(1)] as (OlympSection | undefined);\n if (section) {\n section.scrollIntoView();\n }\n }\n\n sectionsLoadedOnce = new Set();\n\n didInitialScroll = false;\n\n onSectionLoaded(name: string) {\n if (!this.didInitialScroll && this.sectionsLoadedOnce.size < this.allSections.length) {\n this.sectionsLoadedOnce.add(name);\n if (this.sectionsLoadedOnce.size === this.allSections.length) {\n this.scrollToAnchor();\n this.didInitialScroll = true;\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/ts-loader/index.js??ref--13-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=ts&\"; 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/ts-loader/index.js??ref--13-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=0c29b0d5&\"\nimport script from \"./App.vue?vue&type=script&lang=ts&\"\nexport * from \"./App.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./style.css?vue&type=style&index=0&lang=css&\"\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 Vue from 'vue';\nimport VueApollo from 'vue-apollo';\nimport { createApolloClient, restartWebsockets } from 'vue-cli-plugin-apollo/graphql-client';\nimport { resolvers, typeDefs } from 'graphql-scalars';\n\n// Install the vue plugin\nVue.use(VueApollo);\n\n// Name of the localStorage item\nconst AUTH_TOKEN = 'apollo-token';\n\n// Http endpoint\nconst httpEndpoint = process.env.VUE_APP_GRAPHQL_HTTP || 'http://localhost:4000/graphql';\n\n// Config\nconst defaultOptions = {\n // You can use `https` for secure connection (recommended in production)\n httpEndpoint,\n // You can use `wss` for secure connection (recommended in production)\n // Use `null` to disable subscriptions\n // wsEndpoint: process.env.VUE_APP_GRAPHQL_WS || 'ws://localhost:4000/graphql',\n // LocalStorage token\n tokenName: AUTH_TOKEN,\n // Enable Automatic Query persisting with Apollo Engine\n persisting: false,\n // Use websockets for everything (no HTTP)\n // You need to pass a `wsEndpoint` for this to work\n websocketsOnly: false,\n // Is being rendered on the server?\n ssr: false,\n\n // Override default apollo link\n // note: don't override httpLink here, specify httpLink options in the\n // httpLinkOptions property of defaultOptions.\n // link: myLink\n\n // Override default cache\n // cache: myCache\n\n // Override the way the Authorization header is set\n // getAuth: (tokenName) => ...\n\n // Additional ApolloClient options\n // apollo: { ... }\n\n // Client local data (see apollo-link-state)\n // clientState: { resolvers: { ... }, defaults: { ... } }\n};\n\n// Call this in the Vue app file\nexport function createProvider(options = {}) {\n // Create apollo client\n const { apolloClient, wsClient } = createApolloClient({\n ...defaultOptions,\n ...options,\n // @ts-expect-error\n resolvers,\n typeDefs,\n });\n // @ts-expect-error\n apolloClient.wsClient = wsClient;\n\n // Create vue apollo provider\n const apolloProvider = new VueApollo({\n defaultClient: apolloClient,\n defaultOptions: {\n $query: {\n // fetchPolicy: 'cache-and-network',\n },\n },\n errorHandler(error) {\n // eslint-disable-next-line no-console\n console.log('%cError', 'background: red; color: white; padding: 2px 4px; border-radius: 3px; font-weight: bold;', error.message);\n },\n });\n\n return apolloProvider;\n}\n\n// Manually call this when user log in\n// @ts-expect-error\nexport async function onLogin(apolloClient, token) {\n if (typeof localStorage !== 'undefined' && token) {\n localStorage.setItem(AUTH_TOKEN, token);\n }\n if (apolloClient.wsClient) restartWebsockets(apolloClient.wsClient);\n try {\n await apolloClient.resetStore();\n } catch (e) {\n // eslint-disable-next-line no-console\n console.log('%cError on cache reset (login)', 'color: orange;', e.message);\n }\n}\n\n// Manually call this when user log out\n// @ts-expect-error\nexport async function onLogout(apolloClient) {\n if (typeof localStorage !== 'undefined') {\n localStorage.removeItem(AUTH_TOKEN);\n }\n if (apolloClient.wsClient) restartWebsockets(apolloClient.wsClient);\n try {\n await apolloClient.resetStore();\n } catch (e) {\n // eslint-disable-next-line no-console\n console.log('%cError on cache reset (logout)', 'color: orange;', e.message);\n }\n}\n","import Vue from 'vue';\nimport App from './App.vue';\nimport { createProvider } from './vue-apollo';\n\nVue.config.productionTip = false;\n\nnew Vue({\n apolloProvider: createProvider(),\n render: (h) => h(App),\n}).$mount(process.env.NODE_ENV === 'production' ? '#olymp-app' : '#app');\n","export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!./style.css?vue&type=style&index=0&lang=css&\""],"sourceRoot":""}