{"version":3,"sources":["webpack:///./wwwroot/src/vue/areas/field-record-system/components/automatic-zone-maps/PleaseWait.vue?bc36","webpack:///wwwroot/src/vue/areas/field-record-system/components/automatic-zone-maps/PleaseWait.vue","webpack:///./wwwroot/src/vue/areas/field-record-system/components/automatic-zone-maps/PleaseWait.vue?73ad","webpack:///./wwwroot/src/vue/areas/field-record-system/components/automatic-zone-maps/PleaseWait.vue","webpack:///./wwwroot/src/vue/areas/field-record-system/mixins/MirrorRouteMixin.js","webpack:///./wwwroot/src/vue/areas/field-record-system/components/automatic-zone-maps/PleaseWait.vue?412c","webpack:///./node_modules/core-js/modules/es6.string.ends-with.js"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","_v","attrs","large","icon","on","click","gotoMapManagement","back","goBackToAutomaticMzk","_e","loading","staticRenderFns","PleaseWaitvue_type_script_lang_js_","components","FrsLoadingIndicator","IxButton","mixins","MirrorRouteMixin","data","computed","debugMode","infrastructure","methods","_objectSpread","Object","vuex_esm","$router","push","name","createParallelRoute","params","$route","_this","loadPrerequisiteData","then","automatic_zone_maps_PleaseWaitvue_type_script_lang_js_","component","componentNormalizer","__webpack_exports__","fieldSuffix","orgSuffix","route","fieldId","$store","state","fieldRecordSystem","navigation","location","concat","createMirrorRoute","originalRoute","endsWith","replace","Error","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PleaseWait_vue_vue_type_style_index_0_id_142c1c6e_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PleaseWait_vue_vue_type_style_index_0_id_142c1c6e_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default","n","$export","toLength","context","ENDS_WITH","$endsWith","P","F","searchString","that","endPosition","arguments","length","undefined","len","end","Math","min","search","String","call","slice"],"mappings":"gJAAA,IAAAA,EAAA,WAA0B,IAAAC,EAAAC,KAAaC,EAAAF,EAAAG,eAA0BC,EAAAJ,EAAAK,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,eAA0B,CAAAF,EAAA,MAAAA,EAAA,SAAAJ,EAAAO,GAAA,8CAAAH,EAAA,KAAAA,EAAA,SAAAJ,EAAAO,GAAA,8CAAAH,EAAA,UAAAA,EAAA,SAAAJ,EAAAO,GAAA,gDAAAH,EAAA,OAA+OE,YAAA,oBAA+B,CAAAF,EAAA,YAAiBI,MAAA,CAAOC,MAAA,GAAAC,KAAA,OAAwBC,GAAA,CAAKC,MAAAZ,EAAAa,oBAA+B,CAAAT,EAAA,SAAAJ,EAAAO,GAAA,mDAAAP,EAAA,UAAAI,EAAA,YAAuGI,MAAA,CAAOC,MAAA,GAAAK,KAAA,IAAqBH,GAAA,CAAKC,MAAAZ,EAAAe,uBAAkC,CAAAX,EAAA,SAAAJ,EAAAO,GAAA,wDAAAP,EAAAgB,MAAA,GAAAZ,EAAA,uBAAoHI,MAAA,CAAOS,QAAAjB,EAAAiB,YAAuB,IAClyBC,EAAA,iqBCuCA,IAAAC,EAAA,CACAC,WAAA,CACAC,sBAAA,KACAC,WAAA,MAEAC,OAAA,CACAC,EAAA,MAEAC,KARA,WASA,OACAR,SAAA,IAGAS,SAAA,CACAC,UADA,WAEA,OAAAC,EAAA,UAAAD,YAGAE,QAAAC,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,UAAA,QAAAE,EACAC,EAAAZ,EAAAO,EAAAG,QACAG,OAAAF,IAAAH,EAAAI,EAAAE,KAAAC,IAAAf,EAAAQ,GAAAI,GACAI,EAAAC,OAAAX,GACA,OAAAH,EACAA,EAAAe,KAAAX,EAAAS,EAAAH,GACAN,EAAAY,MAAAN,EAAAG,EAAAN,OAAAG,KAAAG","file":"js/chunk-67dab6e4.15c302ae.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"please-wait\"},[_c('h3',[_c('IxRes',[_vm._v(\"automaticZoneMaps.headers.pleaseWait\")])],1),_c('p',[_c('IxRes',[_vm._v(\"automaticZoneMaps.hints.furtherSteps\")])],1),_c('strong',[_c('IxRes',[_vm._v(\"automaticZoneMaps.hints.frsUsePossible\")])],1),_c('div',{staticClass:\"button-container\"},[_c('IxButton',{attrs:{\"large\":\"\",\"icon\":\"map\"},on:{\"click\":_vm.gotoMapManagement}},[_c('IxRes',[_vm._v(\"automaticZoneMaps.buttons.toMapManagement\")])],1),(_vm.debugMode)?_c('IxButton',{attrs:{\"large\":\"\",\"back\":\"\"},on:{\"click\":_vm.goBackToAutomaticMzk}},[_c('IxRes',[_vm._v(\"automaticZoneMaps.buttons.goBackToAutomaticMzk\")])],1):_vm._e()],1),_c('FrsLoadingIndicator',{attrs:{\"loading\":_vm.loading}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PleaseWait.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PleaseWait.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PleaseWait.vue?vue&type=template&id=142c1c6e&scoped=true&lang=html&\"\nimport script from \"./PleaseWait.vue?vue&type=script&lang=js&\"\nexport * from \"./PleaseWait.vue?vue&type=script&lang=js&\"\nimport style0 from \"./PleaseWait.vue?vue&type=style&index=0&id=142c1c6e&lang=scss&scoped=true&\"\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 \"142c1c6e\",\n null\n \n)\n\nexport default component.exports","const fieldSuffix = 'Field'\r\nconst orgSuffix = 'Org'\r\n\r\nexport default {\r\n methods: {\r\n /**\r\n used to create a parrallel route, depending on the type of current selected entity.\r\n if the currently selected entity is a field, the method returns a string with name of the route and an appended field suffix,\r\n otherwise it returns the name of the route with an appended org suffix\r\n\r\n @param route the route can be any route name without an org or field suffix, e.g. mapManagement\r\n @returns a route with appended suffix for org or field, e.g. 'mapManagementOrg'\r\n */\r\n createParallelRoute (route) {\r\n const fieldId = this.$store.state.fieldRecordSystem.navigation.location.fieldId\r\n return `${route}${fieldId ? fieldSuffix : orgSuffix}`\r\n },\r\n /**\r\n replaces the entity type suffix from the original route with a suffix for the opposite type.\r\n eg. if the current route is 'mapManagementOrg' the method returns 'mapManagementField'\r\n */\r\n createMirrorRoute (originalRoute) {\r\n if (originalRoute.endsWith(fieldSuffix)) {\r\n return originalRoute.replace(fieldSuffix, orgSuffix)\r\n } else if (originalRoute.endsWith(orgSuffix)) {\r\n return originalRoute.replace(orgSuffix, fieldSuffix)\r\n } else {\r\n throw new Error(`route ${originalRoute} cannot be mirrored because it doesn´t fit in the pattern for mirrorable routes`)\r\n }\r\n }\r\n }\r\n}\r\n","import mod from \"-!../../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PleaseWait.vue?vue&type=style&index=0&id=142c1c6e&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PleaseWait.vue?vue&type=style&index=0&id=142c1c6e&lang=scss&scoped=true&\"","// 21.1.3.6 String.prototype.endsWith(searchString [, endPosition])\n'use strict';\nvar $export = require('./_export');\nvar toLength = require('./_to-length');\nvar context = require('./_string-context');\nvar ENDS_WITH = 'endsWith';\nvar $endsWith = ''[ENDS_WITH];\n\n$export($export.P + $export.F * require('./_fails-is-regexp')(ENDS_WITH), 'String', {\n endsWith: function endsWith(searchString /* , endPosition = @length */) {\n var that = context(this, searchString, ENDS_WITH);\n var endPosition = arguments.length > 1 ? arguments[1] : undefined;\n var len = toLength(that.length);\n var end = endPosition === undefined ? len : Math.min(toLength(endPosition), len);\n var search = String(searchString);\n return $endsWith\n ? $endsWith.call(that, search, end)\n : that.slice(end - search.length, end) === search;\n }\n});\n"],"sourceRoot":""}