{"version":3,"sources":["webpack:///./src/components/map/Map.vue?86fa","webpack:///./src/components/map/Map.vue?ca3f","webpack:///./src/components/map/Map.vue","webpack:///./node_modules/ol/control/ScaleLine.js","webpack:///src/components/map/Map.vue","webpack:///./src/components/map/Map.vue?3106","webpack:///./src/components/map/Map.vue?c2c6"],"names":["render","_vm","this","_c","_self","class","nocursor","hasActiveInteractions","attrs","paneId","map","staticRenderFns","UNITS_PROP","DEGREES","IMPERIAL","NAUTICAL","METRIC","US","LEADING_DIGITS","Control","ScaleLine","opt_options","options","className","undefined","call","element","document","createElement","target","innerElement_","appendChild","viewState_","minWidth_","minWidth","renderedVisible_","renderedWidth_","renderedHTML_","handleUnitsChanged_","setUnits","__proto__","prototype","Object","create","constructor","getUnits","get","updateElement_","units","set","viewState","center","projection","pointResolutionUnits","METERS","pointResolution","resolution","getMetersPerUnit","nominalCount","suffix","metersPerDegree","count","width","i","Math","floor","log","pow","round","isNaN","style","display","html","innerHTML","mapEvent","frameState","mixins","pane","components","Zoom","data","computed","_objectSpread","mapState","layers","layerFactory","getInteractions","getArray","filter","includes","getActive","length","watch","ongoingRefresh","loadStyles","paneSetup","_this","$nextTick","updateSize","paneRotate","_this2","syncedMaps","setView","syncedView","View","enableRotation","extent","lon","lat","minZoom","zoom","selectedSurvey","survey","updateBottleneckFilter","bottleneck_id","date_info","additionalSurvey","selectedStretchId","id","_this3","stretch","getSource","getFeatures","forEach","f","setStyle","getId","highlight","Style","fill","Fill","color","colorLuminance","getStyle","getFill","getColor","stroke","Stroke","getStroke","selectedSectionId","_this4","section","methods","lum","_color$substring$spli","substring","split","e","Number","_color$substring$spli2","_slicedToArray","r","g","b","a","_map","min","max","_map2","r1","g1","b1","concat","datestr","exists","updateParams","cql_filter","setVisible","initMap","_this5","$store","commit","initialLoad","currentUser","state","user","HTTP","encodeURIComponent","headers","localStorage","getItem","then","response","mountMap","dispatch","boundingBox","x1","y1","x2","y2","preventZoomOut","duration","catch","error","message","_error$response","status","displayError","title","$gettext","_this6","source","ImageSource","preload","url","config","ecdis_wms_url","crossOrigin","params","JSON","parse","ecdis_wms_params","on","_","ongoingPDFExport","timeout","showProgressBar","closeOnClick","pauseOnHover","bodyMaxLength","setSource","Map","controls","view","getLayer","event","getView","getCenter","getZoom","_this7","getRGBA","parseInt","slice","btlnStrokeC","bottlenecks_stroke","btlnFillC","bottlenecks_fill","strFillC","stretches_fill","strStrokeC","stretches_stroke","secStrokeC","sections_stroke","secFillC","sections_fill","fwd1StrokeC","fairwaydimensionslos1_stroke","fwd1FillC","fairwaydimensionslos1_fill","fwd2StrokeC","fairwaydimensionslos2_stroke","fwd2FillC","fairwaydimensionslos2_fill","fwd3StrokeC","fairwaydimensionslos3_stroke","fwd3FillC","fairwaydimensionslos3_fill","wwpStokeC","waterwayprofiles_stroke","btlnStyle","strStyle","secStyle","fwd1Style","lineDash","lineCap","fwd2Style","fwd3Style","wwpStyle","styles","textFW1","textFW2","textFW3","mounted","_this8","setUrl","_error$response2","destroyed","component"],"mappings":"uIAAA,W,kCCAA,W,yCCAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,MAAM,CAAC,MAAO,CAAEC,SAAUJ,KAAKK,wBAAyBC,MAAM,CAAC,GAAK,OAASP,EAAIQ,SAAS,CAACN,EAAG,OAAO,CAACK,MAAM,CAAC,IAAMP,EAAIS,QAAQ,IAExMC,EAAkB,G,0TCalBC,EAAa,QAON,EAAQ,CACjBC,QAAS,UACTC,SAAU,WACVC,SAAU,WACVC,OAAQ,SACRC,GAAI,MAQFC,EAAiB,CAAC,EAAG,EAAG,GA2BxB,EAA0B,SAAUC,GACtC,SAASC,EAAUC,GAEjB,IAAIC,EAAUD,GAA4B,GAEtCE,OAAkCC,IAAtBF,EAAQC,UAA0BD,EAAQC,UAAY,gBAEtEJ,EAAQM,KAAKvB,KAAM,CACjBwB,QAASC,SAASC,cAAc,OAChC5B,OAAQsB,E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,YACAyJ,OAAA5F,EAAAtG,KAAA,YAEAiM,EAAAzG,UAEAyG,EAAAlK,gBAAA,SAAAkK,EAAAxQ,QACAwQ,EAAAhK,uBACAgK,EAAAlK,eAAAG,cACA+J,EAAAlK,eAAAI,WAGA8J,EAAA7J,kBAAA,mBAAA6J,EAAAxQ,QACAwQ,EAAAhK,uBACAgK,EAAA7J,iBAAAF,cACA+J,EAAA7J,iBAAAD,WAGA8J,EAAAnL,gBAEAkG,OAAA,SAAAC,GACA,IAAAC,EAAA,wBACA,GAAAD,EAAAX,SAAA,CACA,IAAA6F,EAAAlF,EAAAX,SAAAc,EAAA+E,EAAA/E,OAAApH,EAAAmM,EAAAnM,KACAkH,EAAA,GAAAhC,OAAAkC,EAAA,MAAAlC,OAAAlF,EAAAkH,SAAAlH,GAEAqH,eAAA,CACAC,MAAA2E,EAAA1E,SAAA,iBACAL,gBAIAkF,UAAA,WACA,KAAA1G,OAAAC,OAAA,+BAAAjK,OClgB2V,I,kCCSvV2Q,EAAY,eACd,EACArR,EACAW,GACA,EACA,KACA,WACA,MAIa,aAAA0Q,E","file":"js/chunk-6ea81264.cc39e527.js","sourcesContent":["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!./Map.vue?vue&type=style&index=0&id=0aa0a3de&prod&scoped=true&lang=css\"","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!./Map.vue?vue&type=style&index=1&id=0aa0a3de&prod&lang=css\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{class:['map', { nocursor: this.hasActiveInteractions }],attrs:{\"id\":'map-' + _vm.paneId}},[_c('Zoom',{attrs:{\"map\":_vm.map}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/**\n * @module ol/control/ScaleLine\n */\nimport {getChangeEventType} from '../Object.js';\nimport {assert} from '../asserts.js';\nimport Control from './Control.js';\nimport {CLASS_UNSELECTABLE} from '../css.js';\nimport {listen} from '../events.js';\nimport {getPointResolution, METERS_PER_UNIT} from '../proj.js';\nimport ProjUnits from '../proj/Units.js';\n\n\n/**\n * @type {string}\n */\nvar UNITS_PROP = 'units';\n\n/**\n * Units for the scale line. Supported values are `'degrees'`, `'imperial'`,\n * `'nautical'`, `'metric'`, `'us'`.\n * @enum {string}\n */\nexport var Units = {\n DEGREES: 'degrees',\n IMPERIAL: 'imperial',\n NAUTICAL: 'nautical',\n METRIC: 'metric',\n US: 'us'\n};\n\n\n/**\n * @const\n * @type {Array}\n */\nvar LEADING_DIGITS = [1, 2, 5];\n\n\n/**\n * @typedef {Object} Options\n * @property {string} [className='ol-scale-line'] CSS Class name.\n * @property {number} [minWidth=64] Minimum width in pixels.\n * @property {function(import(\"../MapEvent.js\").default)} [render] Function called when the control\n * should be re-rendered. This is called in a `requestAnimationFrame` callback.\n * @property {HTMLElement|string} [target] Specify a target if you want the control\n * to be rendered outside of the map's viewport.\n * @property {Units|string} [units='metric'] Units.\n */\n\n\n/**\n * @classdesc\n * A control displaying rough y-axis distances, calculated for the center of the\n * viewport. For conformal projections (e.g. EPSG:3857, the default view\n * projection in OpenLayers), the scale is valid for all directions.\n * No scale line will be shown when the y-axis distance of a pixel at the\n * viewport center cannot be calculated in the view projection.\n * By default the scale line will show in the bottom left portion of the map,\n * but this can be changed by using the css selector `.ol-scale-line`.\n *\n * @api\n */\nvar ScaleLine = /*@__PURE__*/(function (Control) {\n function ScaleLine(opt_options) {\n\n var options = opt_options ? opt_options : {};\n\n var className = options.className !== undefined ? options.className : 'ol-scale-line';\n\n Control.call(this, {\n element: document.createElement('div'),\n render: options.render || render,\n target: options.target\n });\n\n /**\n * @private\n * @type {HTMLElement}\n */\n this.innerElement_ = document.createElement('div');\n this.innerElement_.className = className + '-inner';\n\n this.element.className = className + ' ' + CLASS_UNSELECTABLE;\n this.element.appendChild(this.innerElement_);\n\n /**\n * @private\n * @type {?import(\"../View.js\").State}\n */\n this.viewState_ = null;\n\n /**\n * @private\n * @type {number}\n */\n this.minWidth_ = options.minWidth !== undefined ? options.minWidth : 64;\n\n /**\n * @private\n * @type {boolean}\n */\n this.renderedVisible_ = false;\n\n /**\n * @private\n * @type {number|undefined}\n */\n this.renderedWidth_ = undefined;\n\n /**\n * @private\n * @type {string}\n */\n this.renderedHTML_ = '';\n\n listen(\n this, getChangeEventType(UNITS_PROP),\n this.handleUnitsChanged_, this);\n\n this.setUnits(/** @type {Units} */ (options.units) || Units.METRIC);\n\n }\n\n if ( Control ) ScaleLine.__proto__ = Control;\n ScaleLine.prototype = Object.create( Control && Control.prototype );\n ScaleLine.prototype.constructor = ScaleLine;\n\n /**\n * Return the units to use in the scale line.\n * @return {Units} The units\n * to use in the scale line.\n * @observable\n * @api\n */\n ScaleLine.prototype.getUnits = function getUnits () {\n return this.get(UNITS_PROP);\n };\n\n /**\n * @private\n */\n ScaleLine.prototype.handleUnitsChanged_ = function handleUnitsChanged_ () {\n this.updateElement_();\n };\n\n /**\n * Set the units to use in the scale line.\n * @param {Units} units The units to use in the scale line.\n * @observable\n * @api\n */\n ScaleLine.prototype.setUnits = function setUnits (units) {\n this.set(UNITS_PROP, units);\n };\n\n /**\n * @private\n */\n ScaleLine.prototype.updateElement_ = function updateElement_ () {\n var viewState = this.viewState_;\n\n if (!viewState) {\n if (this.renderedVisible_) {\n this.element.style.display = 'none';\n this.renderedVisible_ = false;\n }\n return;\n }\n\n var center = viewState.center;\n var projection = viewState.projection;\n var units = this.getUnits();\n var pointResolutionUnits = units == Units.DEGREES ?\n ProjUnits.DEGREES :\n ProjUnits.METERS;\n var pointResolution =\n getPointResolution(projection, viewState.resolution, center, pointResolutionUnits);\n if (projection.getUnits() != ProjUnits.DEGREES && projection.getMetersPerUnit()\n && pointResolutionUnits == ProjUnits.METERS) {\n pointResolution *= projection.getMetersPerUnit();\n }\n\n var nominalCount = this.minWidth_ * pointResolution;\n var suffix = '';\n if (units == Units.DEGREES) {\n var metersPerDegree = METERS_PER_UNIT[ProjUnits.DEGREES];\n if (projection.getUnits() == ProjUnits.DEGREES) {\n nominalCount *= metersPerDegree;\n } else {\n pointResolution /= metersPerDegree;\n }\n if (nominalCount < metersPerDegree / 60) {\n suffix = '\\u2033'; // seconds\n pointResolution *= 3600;\n } else if (nominalCount < metersPerDegree) {\n suffix = '\\u2032'; // minutes\n pointResolution *= 60;\n } else {\n suffix = '\\u00b0'; // degrees\n }\n } else if (units == Units.IMPERIAL) {\n if (nominalCount < 0.9144) {\n suffix = 'in';\n pointResolution /= 0.0254;\n } else if (nominalCount < 1609.344) {\n suffix = 'ft';\n pointResolution /= 0.3048;\n } else {\n suffix = 'mi';\n pointResolution /= 1609.344;\n }\n } else if (units == Units.NAUTICAL) {\n pointResolution /= 1852;\n suffix = 'nm';\n } else if (units == Units.METRIC) {\n if (nominalCount < 0.001) {\n suffix = 'μm';\n pointResolution *= 1000000;\n } else if (nominalCount < 1) {\n suffix = 'mm';\n pointResolution *= 1000;\n } else if (nominalCount < 1000) {\n suffix = 'm';\n } else {\n suffix = 'km';\n pointResolution /= 1000;\n }\n } else if (units == Units.US) {\n if (nominalCount < 0.9144) {\n suffix = 'in';\n pointResolution *= 39.37;\n } else if (nominalCount < 1609.344) {\n suffix = 'ft';\n pointResolution /= 0.30480061;\n } else {\n suffix = 'mi';\n pointResolution /= 1609.3472;\n }\n } else {\n assert(false, 33); // Invalid units\n }\n\n var i = 3 * Math.floor(\n Math.log(this.minWidth_ * pointResolution) / Math.log(10));\n var count, width;\n while (true) {\n count = LEADING_DIGITS[((i % 3) + 3) % 3] *\n Math.pow(10, Math.floor(i / 3));\n width = Math.round(count / pointResolution);\n if (isNaN(width)) {\n this.element.style.display = 'none';\n this.renderedVisible_ = false;\n return;\n } else if (width >= this.minWidth_) {\n break;\n }\n ++i;\n }\n\n var html = count + ' ' + suffix;\n if (this.renderedHTML_ != html) {\n this.innerElement_.innerHTML = html;\n this.renderedHTML_ = html;\n }\n\n if (this.renderedWidth_ != width) {\n this.innerElement_.style.width = width + 'px';\n this.renderedWidth_ = width;\n }\n\n if (!this.renderedVisible_) {\n this.element.style.display = '';\n this.renderedVisible_ = true;\n }\n\n };\n\n return ScaleLine;\n}(Control));\n\n\n/**\n * Update the scale line element.\n * @param {import(\"../MapEvent.js\").default} mapEvent Map event.\n * @this {ScaleLine}\n * @api\n */\nexport function render(mapEvent) {\n var frameState = mapEvent.frameState;\n if (!frameState) {\n this.viewState_ = null;\n } else {\n this.viewState_ = frameState.viewState;\n }\n this.updateElement_();\n}\n\n\nexport default ScaleLine;\n\n//# sourceMappingURL=ScaleLine.js.map","\n\n\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!./Map.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!./Map.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Map.vue?vue&type=template&id=0aa0a3de&scoped=true\"\nimport script from \"./Map.vue?vue&type=script&lang=js\"\nexport * from \"./Map.vue?vue&type=script&lang=js\"\nimport style0 from \"./Map.vue?vue&type=style&index=0&id=0aa0a3de&prod&scoped=true&lang=css\"\nimport style1 from \"./Map.vue?vue&type=style&index=1&id=0aa0a3de&prod&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 \"0aa0a3de\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}