{"version":3,"sources":["webpack:///./src/components/paneSetups.js","webpack:///./src/components/fairway/BottleneckDialogue.vue","webpack:///src/components/fairway/BottleneckDialogue.vue","webpack:///./src/components/fairway/BottleneckDialogue.vue?95d5","webpack:///./src/components/fairway/BottleneckDialogue.vue?d86e","webpack:///./src/components/fairway/BottleneckDialogue.vue?81d3"],"names":["main","id","component","DEFAULT","COMPARESURVEYS","compare","FAIRWAYPROFILE","fairwayprofile","AVAILABLEFAIRWAYDEPTH","availablefairwaydepth","AVAILABLEFAIRWAYDEPTHLNWL","COMPARESURVEYS_FAIRWAYPROFILE","GAUGE_WATERLEVEL","waterlevel","GAUGE_HYDROLOGICALCONDITIONS","hydrological","GAUGE_WATERLEVEL_HYDROLOGICALCONDITIONS","render","_vm","this","_c","_self","class","expanded","showProfiles","staticStyle","attrs","profilesLable","close","staticClass","surveysLoading","profileLoading","_e","directives","name","rawName","value","selectedBottleneck","expression","on","$event","$$selectedVal","Array","prototype","filter","call","target","options","o","selected","map","val","_value","multiple","domProps","_v","_l","orderedBottlenecks","bottlenecksForCountry","cc","key","bn","properties","bottleneck_id","_s","displayName","takeMeThere","selectedWaterLevel","selectedSurvey","depth_reference","$options","filters","waterlevel_value","bottleneck","get","surveys","survey","date_info","_f","isAllowedToDelete","deleteSelectedSurvey","length","additionalSurvey","areDifferecesAllowed","additionalSurveys","differencesLoading","differencesVisible","showSurvey","showDifferences","paneSetup","includes","rotatePanesTooltip","$store","commit","syncMapsTooltip","toggleSyncMaps","mapsAreSynced","depth","modifiers","composing","_n","$forceUpdate","useCustomDepth","selectedCut","previousCuts","cut","index","label","deleteSelectedCut","coordinatesInput","coordinatesInputIsValid","applyManualCoordinates","startPoint","endPoint","coordinatesForClipboard","arg","onCopyCoordinates","showLabelInput","isCutAllowed","toggleCutTool","cutToolEnabled","cutLabel","saveCut","staticRenderFns","data","computed","_objectSpread","mapState","mapGetters","selectedSurveyIsMarking","_this","userCountryCode","userCountries","user","bottlenecksList","find","isWaterwayAdmin","isSysAdmin","responsible_country","$gettext","state","set","bottlenecks","dispatch","openLayersMaps","forEach","m","getLayer","getSource","clear","_this2","coordinates","split","coord","parseFloat","trim","c","Number","openLayersMap","getVisible","syncedMaps","_this3","getFeatures","f","watch","Date","toISOString","loadProfile","loadDifferences","Object","keys","currentProfile","applyCoordinates","methods","_this4","HTTP","post","minuend","subtrahend","headers","localStorage","getItem","then","response","updateParams","LAYERS","VERSION","TILED","CQL_FILTER","refresh","setVisible","catch","error","status","message","concat","displayInfo","displayError","title","finally","_this5","Feature","geometry","LineString","transform","addFeature","JSON","parse","newEntry","bottleneckName","bottleneckId","_toConsumableArray","timestamp","getTime","existingEntry","stringify","push","shift","setItem","_this6","_error$response","_this7","icon","content","confirm","callback","cancel","_this8","feature","zoom","preventZoomOut","mounted","_this9","_error$response2"],"mappings":"uIAAA,qfAAMA,EAAO,CAAEC,GAAI,OAAQC,UAAW,OAEzBC,EAAU,CAAEH,QACZI,EAAiB,CAC5BJ,OACAK,QAAS,CAAEJ,GAAI,iBAAkBC,UAAW,QAEjCI,EAAiB,CAC5BN,OACAO,eAAgB,CAAEN,GAAI,iBAAkBC,UAAW,mBAGxCM,EAAwB,CACnCR,OACAS,sBAAuB,CACrBR,GAAI,wBACJC,UAAW,0BAIFQ,EAA4B,CACvCV,OACAS,sBAAuB,CACrBR,GAAI,4BACJC,UAAW,8BAIFS,EAAgC,CAC3CX,OACAK,QAAS,CAAEJ,GAAI,iBAAkBC,UAAW,OAC5CK,eAAgB,CAAEN,GAAI,iBAAkBC,UAAW,mBAExCU,EAAmB,CAC9BZ,OACAa,WAAY,CAAEZ,GAAI,mBAAoBC,UAAW,eAEtCY,EAA+B,CAC1Cd,OACAe,aAAc,CACZd,GAAI,+BACJC,UAAW,2BAGFc,EAA0C,CACrDhB,OACAa,WAAY,CAAEZ,GAAI,mBAAoBC,UAAW,cACjDa,aAAc,CACZd,GAAI,+BACJC,UAAW,4B,mECjDXe,EAAS,WAAkB,IAAIC,EAAIC,KAAKC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AA,CACAC,MAAAkC,EAAA7F,SAAA,iBACAuD,eAGA,KAAAtG,OAAAmD,SAAA,qCC70B0W,I,wBCQtW7I,EAAY,eACd,EACAe,EACA0G,GACA,EACA,KACA,WACA,MAIa,aAAAzH,E,2CCnBf","file":"js/chunk-0fbafe09.577a1411.js","sourcesContent":["const main = { id: \"main\", component: \"Map\" };\n\nexport const DEFAULT = { main };\nexport const COMPARESURVEYS = {\n main,\n compare: { id: \"compare-survey\", component: \"Map\" }\n};\nexport const FAIRWAYPROFILE = {\n main,\n fairwayprofile: { id: \"fairwayprofile\", component: \"Fairwayprofile\" }\n};\n\nexport const AVAILABLEFAIRWAYDEPTH = {\n main,\n availablefairwaydepth: {\n id: \"availablefairwaydepth\",\n component: \"AvailableFairwayDepth\"\n }\n};\n\nexport const AVAILABLEFAIRWAYDEPTHLNWL = {\n main,\n availablefairwaydepth: {\n id: \"availablefairwaydepthlnwl\",\n component: \"AvailableFairwayDepthLNWL\"\n }\n};\n\nexport const COMPARESURVEYS_FAIRWAYPROFILE = {\n main,\n compare: { id: \"compare-survey\", component: \"Map\" },\n fairwayprofile: { id: \"fairwayprofile\", component: \"Fairwayprofile\" }\n};\nexport const GAUGE_WATERLEVEL = {\n main,\n waterlevel: { id: \"gauge-waterlevel\", component: \"Waterlevel\" }\n};\nexport const GAUGE_HYDROLOGICALCONDITIONS = {\n main,\n hydrological: {\n id: \"gauge-hydrologicalconditions\",\n component: \"HydrologicalConditions\"\n }\n};\nexport const GAUGE_WATERLEVEL_HYDROLOGICALCONDITIONS = {\n main,\n waterlevel: { id: \"gauge-waterlevel\", component: \"Waterlevel\" },\n hydrological: {\n id: \"gauge-hydrologicalconditions\",\n component: \"HydrologicalConditions\"\n }\n};\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{class:[\n 'box ui-element rounded bg-white text-nowrap',\n { expanded: _vm.showProfiles }\n ]},[_c('div',{staticStyle:{\"width\":\"17rem\"}},[_c('UIBoxHeader',{attrs:{\"icon\":\"chart-area\",\"title\":_vm.profilesLable,\"closeCallback\":_vm.close}}),_c('div',{staticClass:\"box-body\"},[(_vm.surveysLoading || _vm.profileLoading)?_c('UISpinnerOverlay'):_vm._e(),_c('div',{staticClass:\"d-flex flex-row\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedBottleneck),expression:\"selectedBottleneck\"}],staticClass:\"w-90 form-control font-weight-bold\",on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.selectedBottleneck=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},[_c('option',{domProps:{\"value\":null}},[_c('translate',[_vm._v(\"Select Bottleneck\")])],1),_vm._l((_vm.orderedBottlenecks),function(bottlenecksForCountry,cc){return _c('optgroup',{key:cc,attrs:{\"label\":cc}},_vm._l((bottlenecksForCountry),function(bn){return _c('option',{key:bn.properties.id,domProps:{\"value\":bn.properties.bottleneck_id}},[_vm._v(\"\\n \"+_vm._s(bn.properties.displayName)+\"\\n \")])}),0)})],2),_c('button',{staticClass:\"btn btn-sm btn-info\",on:{\"click\":_vm.takeMeThere}},[_c('font-awesome-icon',{attrs:{\"icon\":\"crosshairs\"}})],1)]),(_vm.selectedBottleneck)?_c('div',[_c('div',{staticClass:\"d-flex flex-column mt-2\"},[_c('div',{staticClass:\"flex-fill\"},[_c('small',{staticClass:\"text-muted\"},[_c('translate',[_vm._v(\"Waterlevel\")]),_vm._v(\":\\n \")],1),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedWaterLevel),expression:\"selectedWaterLevel\"}],staticClass:\"form-control form-control-sm small\",on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.selectedWaterLevel=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},[_c('option',{attrs:{\"value\":\"ref\"}},[_c('translate',[_vm._v(\"Depth Reference\")]),(_vm.selectedSurvey)?[_vm._v(\"\\n (\"+_vm._s(_vm.selectedSurvey.depth_reference)+\"/\"+_vm._s(_vm.$options.filters.waterlevel(\n _vm.selectedSurvey.waterlevel_value\n ))+\"\\n m)\\n \")]:_vm._e()],2),_c('option',{attrs:{\"value\":\"current\"}},[_c('translate',[_vm._v(\"Current Waterlevel\")]),(_vm.bottleneck)?[_vm._v(\"\\n (\"+_vm._s(_vm.$options.filters.waterlevel(\n _vm.bottleneck.get(\"gm_waterlevel\")\n ))+\"\\n m)\\n \")]:_vm._e()],2)])]),_c('div',{staticClass:\"flex-fill\"},[_c('small',{staticClass:\"text-muted\"},[_c('translate',[_vm._v(\"Survey\")]),_vm._v(\": \")],1),_c('div',{staticClass:\"d-flex\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedSurvey),expression:\"selectedSurvey\"}],staticClass:\"form-control form-control-sm small\",on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.selectedSurvey=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((_vm.surveys),function(survey){return _c('option',{key:survey.date_info,domProps:{\"value\":survey}},[_vm._v(_vm._s(_vm._f(\"surveyDate\")(survey.date_info)))])}),0),(_vm.isAllowedToDelete)?_c('button',{staticClass:\"btn btn-dark btn-xs ml-2\",on:{\"click\":_vm.deleteSelectedSurvey}},[_c('font-awesome-icon',{attrs:{\"icon\":\"trash\"}})],1):_vm._e()])]),(_vm.selectedSurvey && _vm.surveys.length > 1)?_c('div',{staticClass:\"flex-fill\"},[_c('small',{staticClass:\"text-muted mt-1\"},[_c('translate',[_vm._v(\"Compare with\")]),_vm._v(\":\\n \")],1),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.additionalSurvey),expression:\"additionalSurvey\"}],staticClass:\"form-control form-control-sm small\",attrs:{\"disabled\":!_vm.areDifferecesAllowed},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.additionalSurvey=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},[_c('option',{domProps:{\"value\":null}},[_vm._v(\"None\")]),_vm._l((_vm.additionalSurveys),function(survey){return _c('option',{key:survey.date_info,domProps:{\"value\":survey}},[_vm._v(_vm._s(_vm._f(\"surveyDate\")(survey.date_info)))])})],2)]):_vm._e()]),(_vm.additionalSurvey)?_c('div',{staticClass:\"mt-2 d-flex\"},[(_vm.differencesLoading)?_c('button',{staticClass:\"btn btn-info btn-xs flex-fill\",attrs:{\"disabled\":\"\"}},[_c('font-awesome-icon',{staticClass:\"mr-1\",attrs:{\"icon\":\"spinner\",\"spin\":\"\"}}),_c('translate',[_vm._v(\"Calculating differences\")])],1):_c('button',{staticClass:\"btn btn-info btn-xs flex-fill\",on:{\"click\":function($event){_vm.differencesVisible ? _vm.showSurvey() : _vm.showDifferences()}}},[(_vm.differencesVisible)?_c('translate',{key:\"showsurvey\"},[_vm._v(\"Show survey\")]):_c('translate',{key:\"showdifferences\"},[_vm._v(\"Show differences\")])],1),(!_vm.paneSetup.includes('FAIRWAYPROFILE'))?_c('button',{directives:[{name:\"tooltip\",rawName:\"v-tooltip\",value:(_vm.rotatePanesTooltip),expression:\"rotatePanesTooltip\"}],staticClass:\"btn btn-info btn-xs ml-2\",on:{\"click\":function($event){return _vm.$store.commit('application/paneRotate')}}},[_c('font-awesome-icon',{attrs:{\"icon\":\"redo\",\"fixed-width\":\"\"}})],1):_vm._e(),_c('button',{directives:[{name:\"tooltip\",rawName:\"v-tooltip\",value:(_vm.syncMapsTooltip),expression:\"syncMapsTooltip\"}],staticClass:\"btn btn-info btn-xs ml-2\",on:{\"click\":function($event){return _vm.toggleSyncMaps()}}},[_c('font-awesome-icon',{attrs:{\"icon\":_vm.mapsAreSynced ? 'unlink' : 'link',\"fixed-width\":\"\"}})],1)]):_vm._e(),_c('hr',{staticClass:\"w-100 mb-0\"}),_c('small',{staticClass:\"text-muted d-block mt-2\"},[_c('translate',[_vm._v(\"Custom Depth\")]),_vm._v(\":\\n \")],1),_c('div',{staticClass:\"d-flex\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model.number\",value:(_vm.depth),expression:\"depth\",modifiers:{\"number\":true}}],staticClass:\"form-control form-control-sm w-100 mt-1\",attrs:{\"type\":\"number\",\"step\":\"0.1\",\"min\":\"0\"},domProps:{\"value\":(_vm.depth)},on:{\"input\":function($event){if($event.target.composing)return;_vm.depth=_vm._n($event.target.value)},\"blur\":function($event){return _vm.$forceUpdate()}}}),_c('button',{class:[\n 'btn',\n 'btn-xs',\n 'ml-2',\n {\n 'btn-info': _vm.useCustomDepth,\n 'btn-secondary': !_vm.useCustomDepth\n }\n ],on:{\"click\":function($event){_vm.useCustomDepth = !_vm.useCustomDepth}}},[_vm._v(\"\\n \"+_vm._s(_vm.useCustomDepth ? \"disable\" : \"enable\")+\"\\n \")])]),_c('small',{staticClass:\"text-muted d-block mt-2\"},[_c('translate',[_vm._v(\"Saved cross profiles\")]),_vm._v(\":\\n \")],1),_c('div',{staticClass:\"d-flex\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedCut),expression:\"selectedCut\"}],class:[\n 'form-control form-control-sm flex-fill',\n { 'rounded-left-only': _vm.selectedCut }\n ],on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.selectedCut=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},[_c('option'),_vm._l((_vm.previousCuts),function(cut,index){return _c('option',{key:index,domProps:{\"value\":cut}},[_vm._v(_vm._s(cut.label))])})],2),(_vm.selectedCut)?_c('button',{staticClass:\"btn btn-xs btn-dark ml-2\",on:{\"click\":function($event){return _vm.deleteSelectedCut(_vm.selectedCut)}}},[_c('font-awesome-icon',{attrs:{\"icon\":\"trash\"}})],1):_vm._e()]),_c('small',{staticClass:\"text-muted d-block mt-2\"},[_c('translate',[_vm._v(\"Enter coordinates manually\")]),_vm._v(\":\\n \")],1),_c('div',{staticClass:\"position-relative\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.coordinatesInput),expression:\"coordinatesInput\"}],staticClass:\"form-control form-control-sm pr-5\",attrs:{\"placeholder\":\"Lat,Lon,Lat,Lon\"},domProps:{\"value\":(_vm.coordinatesInput)},on:{\"input\":function($event){if($event.target.composing)return;_vm.coordinatesInput=$event.target.value}}}),(_vm.coordinatesInputIsValid)?_c('button',{staticClass:\"btn btn-sm btn-info position-absolute input-button-right\",staticStyle:{\"top\":\"0\",\"right\":\"0\"},on:{\"click\":_vm.applyManualCoordinates}},[_c('font-awesome-icon',{attrs:{\"icon\":\"check\"}})],1):_vm._e()]),(_vm.startPoint && _vm.endPoint)?_c('small',{staticClass:\"d-flex text-left mt-2\"},[_c('div',{staticClass:\"text-nowrap mr-3\"},[_c('b',[_c('translate',[_vm._v(\"Start\")]),_vm._v(\": \")],1),_c('br'),_vm._v(\"\\n Lat: \"+_vm._s(_vm.startPoint[1])+\" \"),_c('br'),_vm._v(\"\\n Lon: \"+_vm._s(_vm.startPoint[0])+\"\\n \")]),_c('div',{staticClass:\"text-nowrap\"},[_c('b',[_vm._v(\"End:\")]),_c('br'),_vm._v(\"\\n Lat: \"+_vm._s(_vm.endPoint[1])+\" \"),_c('br'),_vm._v(\"\\n Lon: \"+_vm._s(_vm.endPoint[0])+\"\\n \")]),_c('button',{directives:[{name:\"clipboard\",rawName:\"v-clipboard:copy\",value:(_vm.coordinatesForClipboard),expression:\"coordinatesForClipboard\",arg:\"copy\"},{name:\"clipboard\",rawName:\"v-clipboard:success\",value:(_vm.onCopyCoordinates),expression:\"onCopyCoordinates\",arg:\"success\"}],staticClass:\"btn btn-info btn-sm ml-auto mt-auto\"},[_c('font-awesome-icon',{attrs:{\"icon\":\"copy\"}})],1)]):_vm._e(),_c('div',{staticClass:\"d-flex mt-3\"},[(_vm.startPoint && _vm.endPoint && !_vm.selectedCut)?_c('div',{staticClass:\"pr-3 w-50\"},[_c('button',{staticClass:\"btn btn-info btn-sm w-100\",on:{\"click\":function($event){_vm.showLabelInput = !_vm.showLabelInput}}},[_c('font-awesome-icon',{attrs:{\"icon\":_vm.showLabelInput ? 'times' : 'check'}}),_vm._v(\"\\n \"+_vm._s(_vm.showLabelInput ? \"Cancel\" : \"Save\")+\"\\n \")],1)]):_vm._e(),_c('div',{class:_vm.startPoint && _vm.endPoint && !_vm.selectedCut ? 'w-50' : 'w-100'},[_c('button',{staticClass:\"btn btn-info btn-sm w-100\",attrs:{\"disabled\":!_vm.isCutAllowed},on:{\"click\":_vm.toggleCutTool}},[_c('font-awesome-icon',{attrs:{\"icon\":_vm.cutToolEnabled ? 'times' : 'plus'}}),_vm._v(\"\\n \"+_vm._s(_vm.cutToolEnabled ? \"Cancel\" : \"New\")+\"\\n \")],1)])]),(_vm.showLabelInput)?_c('div',{staticClass:\"mt-2\"},[_c('small',{staticClass:\"text-muted\"},[_c('translate',[_vm._v(\"Enter label for cross profile\")]),_vm._v(\":\\n \")],1),_c('div',{staticClass:\"position-relative\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.cutLabel),expression:\"cutLabel\"}],staticClass:\"form-control form-control-sm pr-5\",domProps:{\"value\":(_vm.cutLabel)},on:{\"input\":function($event){if($event.target.composing)return;_vm.cutLabel=$event.target.value}}}),(_vm.cutLabel)?_c('button',{staticClass:\"btn btn-sm btn-info position-absolute input-button-right\",staticStyle:{\"top\":\"0\",\"right\":\"0\"},on:{\"click\":_vm.saveCut}},[_c('font-awesome-icon',{attrs:{\"icon\":\"check\"}})],1):_vm._e()])]):_vm._e()]):_vm._e()],1)],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\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!./BottleneckDialogue.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!./BottleneckDialogue.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./BottleneckDialogue.vue?vue&type=template&id=7c8ec5f2&scoped=true\"\nimport script from \"./BottleneckDialogue.vue?vue&type=script&lang=js\"\nexport * from \"./BottleneckDialogue.vue?vue&type=script&lang=js\"\nimport style0 from \"./BottleneckDialogue.vue?vue&type=style&index=0&id=7c8ec5f2&prod&lang=css&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 \"7c8ec5f2\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.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!./BottleneckDialogue.vue?vue&type=style&index=0&id=7c8ec5f2&prod&lang=css&scoped=true\""],"sourceRoot":""}