From d23a452a399509c2b8db69586bd6a60af4fcbac5 Mon Sep 17 00:00:00 2001 From: Kristina Date: Tue, 17 Dec 2024 15:54:28 +0100 Subject: [PATCH] IM-457 Fix avoid authentication in engine.local --- klab.engine/src/main/resources/static/ui/index.html | 4 ++-- klab.engine/src/main/resources/static/ui/js/app.8bae73b5.js | 1 + klab.engine/src/main/resources/static/ui/js/app.acc7c5c8.js | 1 - .../static/ui/js/{runtime.dac0142d.js => runtime.018745d4.js} | 0 4 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 klab.engine/src/main/resources/static/ui/js/app.8bae73b5.js delete mode 100644 klab.engine/src/main/resources/static/ui/js/app.acc7c5c8.js rename klab.engine/src/main/resources/static/ui/js/{runtime.dac0142d.js => runtime.018745d4.js} (100%) diff --git a/klab.engine/src/main/resources/static/ui/index.html b/klab.engine/src/main/resources/static/ui/index.html index 5433d8310..3d8cb7a9d 100644 --- a/klab.engine/src/main/resources/static/ui/index.html +++ b/klab.engine/src/main/resources/static/ui/index.html @@ -1,4 +1,4 @@ k.Explorer
\ No newline at end of file + }
\ No newline at end of file diff --git a/klab.engine/src/main/resources/static/ui/js/app.8bae73b5.js b/klab.engine/src/main/resources/static/ui/js/app.8bae73b5.js new file mode 100644 index 000000000..7062483da --- /dev/null +++ b/klab.engine/src/main/resources/static/ui/js/app.8bae73b5.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["app"],{0:function(e,t,n){e.exports=n("2f39")},"034f":function(e,t,n){"use strict";var o=n("fb1c"),a=n.n(o);a.a},1:function(e,t){},1442:function(e,t,n){"use strict";n.d(t,"d",function(){return A}),n.d(t,"f",function(){return I}),n.d(t,"e",function(){return v}),n.d(t,"c",function(){return N}),n.d(t,"b",function(){return h}),n.d(t,"a",function(){return R});n("ac6a"),n("7514"),n("48c0"),n("6c7b");var o=n("7cca"),a=n("480c"),i=n("5043"),r=n("d0e9"),c=n("2ef1"),s=n("6c77"),l=n("83a6"),u=n("8682"),d=n("8295"),E=n("6cbf"),f=n("bcf0"),T=n("4cdf"),p=n("ddaa"),S=n("8f3a"),m=n("256f"),O="pk.eyJ1Ijoiay1sYWIiLCJhIjoiY2prd2d2dWNxMHlvcDNxcDVsY3FncDBydiJ9.zMQE3gu-0qPpkLapVfVhnA",b='© Mapbox © OpenStreetMap Improve this map',A={BING_KEY:"",COORD_BC3:[-2.968226,43.332125],PROJ_EPSG_4326:Object(m["g"])("EPSG:4326"),PROJ_EPSG_3857:Object(m["g"])("EPSG:3857"),ZINDEX_TOP:1e4,ZINDEX_BASE:1e3,ZINDEX_MULTIPLIER_RASTER:0,ZINDEX_MULTIPLIER_POLYGONS:1,ZINDEX_MULTIPLIER_LINES:2,ZINDEX_MULTIPLIER_POINTS:3,DEFAULT_BASELAYER:"osm_layer"},_={MARKER_SVG:function(e){var t=e.fill,n=void 0===t?"yellow":t,o=e.stroke,a=void 0===o?"black":o,i=e.strokeWidth,r=void 0===i?"5":i;return'\n ')}},I={POINT_OBSERVATION_ICON:new E["a"]({anchor:[.5,1],src:"statics/maps/marker.png",opacity:.8,scale:.6}),POINT_OBSERVATION_SVG_ICON:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.3;return new E["a"]({opacity:1,src:"data:image/svg+xml;utf8,".concat(_.MARKER_SVG(e)),scale:t})},POINT_OBSERVATION_TEXT:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.offsetY,n=void 0===t?25:t,o=e.bold,a=void 0!==o&&o,i=e.size,r=void 0===i?"10px":i;return new d["a"]({textAlign:"center",textBaseline:"bottom",offsetY:n,font:"".concat(a?"bold":"normal"," ").concat(r," Roboto, sans-serif")})}},v={POLYGON_CONTEXT_STYLE:new s["c"]({fill:new l["a"]({color:"rgba(38, 166, 154, 0.2)"})}),POLYGON_PROPOSED_CONTEXT:new s["c"]({fill:new l["a"]({color:"rgba(255,255,255,0.5)"}),stroke:new f["a"]({width:8,pattern:"hatch",color:"#3187ca",offset:0,scale:.75,fill:new l["a"]({color:"#FFFFFF"}),size:2,spacing:5,angle:45})}),POLYGON_OBSERVATION_STYLE:new s["c"]({stroke:new u["a"]({color:"rgb(255, 102, 0)",width:2}),fill:new l["a"]({color:"rgba(255, 102, 0, 0.2)"})}),LNE_OBSERVATION_STYLE:new s["c"]({stroke:new u["a"]({color:"rgb(255, 102, 0)",width:2})}),POINT_OBSERVATION_SVG_PARAM:{fill:o["e"].MAIN_COLOR,stroke:"rgb(51,51,51)",strokeWidth:"4",scale:.3},POINT_CONTEXT_SVG_PARAM:{fill:"rgb(17, 170, 187)",stroke:"rgb(51,51,51)",strokeWidth:"5",scale:.5,offsetY:35,bold:!0,size:"14px"}},N={OSM_LAYER:new a["a"]({name:"osm_layer",title:"OpenStreetMap",type:"base",source:new r["a"]({attributions:'Map credits ©\n OSM\n contributors.'}),visible:!1}),CLEARMAP_TOPO_LAYER:new a["a"]({name:"clearmap_topo_layer",title:"UN Clear Map",type:"base",source:new i["a"]({url:"https://geoservices.un.org/arcgis/rest/services/ClearMap_WebTopo/MapServer/export"}),visible:!1}),CLEARMAP_PLAIN_LAYER:new a["a"]({name:"clearmap_plain_layer",title:"UN Clear Map Plain",type:"base",source:new i["a"]({url:"https://geoservices.un.org/arcgis/rest/services/ClearMap_WebPlain/MapServer/export"}),visible:!1}),CLEARMAP_DARK_LAYER:new a["a"]({name:"clearmap_dark_layer",title:"UN Clear Map Dark",type:"base",source:new i["a"]({url:"https://geoservices.un.org/arcgis/rest/services/ClearMap_WebDark/MapServer/export"}),visible:!1}),CLEARMAP_GRAY_LAYER:new a["a"]({name:"clearmap_gray_layer",title:"UN Clear Map Gray",type:"base",source:new i["a"]({url:"https://geoservices.un.org/arcgis/rest/services/ClearMap_WebGray/MapServer/export"}),visible:!1}),GOOGLE_HYBRID:new a["a"]({name:"google_hybrid",title:"Google Hybrid",type:"base",source:new c["a"]({crossOrigin:"anonymous",url:"http://mt{0-3}.google.com/vt/lyrs=y&hl=en&x={x}&y={y}&z={z}",attribution:"© 2018 Google, Inc"}),visible:!1}),GOOGLE_STREET:new a["a"]({name:"google_street",title:"Google Street",type:"base",source:new c["a"]({crossOrigin:"anonymous",url:"http://mt{0-3}.google.com/vt/lyrs=m&x={x}&y={y}&z={z}",attribution:"© 2018 Google, Inc"}),visible:!1}),GOOGLE_TERRAIN:new a["a"]({name:"google_terrain",title:"Google Terrain",type:"base",source:new c["a"]({crossOrigin:"anonymous",url:"https://mt{0-3}.google.com/vt/lyrs=t&x={x}&y={y}&z={z}",attribution:"© 2018 Google, Inc"}),visible:!1}),MAPBOX_CALI_TERRAIN:new a["a"]({name:"mapbox_cali_terrain",title:"Mapbox Terrain",type:"base",source:new c["a"]({crossOrigin:"anonymous",url:"https://api.mapbox.com/styles/v1/k-lab/cjkwh1z9z06ok2rrn9unfpn2n/tiles/256/{z}/{x}/{y}?access_token=".concat(O),attribution:b}),visible:!1}),MAPBOX_MINIMO:new a["a"]({name:"mapbox_minimo",title:"Mapbox Minimo",type:"base",source:new c["a"]({crossOrigin:"anonymous",url:"https://api.mapbox.com/styles/v1/k-lab/cjm0l6i4g7ffj2sqk7xy5dv1m/tiles/256/{z}/{x}/{y}?access_token=".concat(O),attribution:b}),visible:!1}),MAPBOX_TERRAIN:new a["a"]({name:"mapbox_terrain",title:"Mapbox Terrain",type:"base",source:new c["a"]({crossOrigin:"anonymous",format:"pbf",url:"https://api.mapbox.com/styles/v1/k-lab/cl1dgarpr005f15ntep34yq88/tiles/256/{z}/{x}/{y}?access_token=".concat(O),attribution:b}),visible:!1}),MAPBOX_GOT:new a["a"]({name:"mapbox_got",title:"k.LAB Mapbox GOT",type:"base",source:new c["a"]({crossOrigin:"anonymous",url:"https://api.mapbox.com/styles/v1/k-lab/cjuihteg13toh1fmovvd6r80y/tiles/256/{z}/{x}/{y}?access_token=".concat(O),attribution:b}),visible:!1}),EMPTY_LAYER:new a["a"]({name:"empty_layer",title:"No background",type:"base",visible:!1})},h={controls:S["a"]({attribution:!1}).extend([]),target:"map",projection:A.PROJ_EPSG_4326,center:Object(m["l"])(A.COORD_BC3,A.PROJ_EPSG_4326,A.PROJ_EPSG_3857),zoom:13},R={layers:[N.EMPTY_LAYER,N.CLEARMAP_TOPO_LAYER,N.MAPBOX_MINIMO,N.MAPBOX_TERRAIN,N.OSM_LAYER],mask:null,hasMask:function(){return null!==this.mask},getBaseLayer:function(){return this.layers.find(function(e){return"base"===e.get("type")&&e.getVisible()})},setMask:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[38,38,38,.4];null!==this.mask&&this.removeMask(),this.mask=new p["a"]({feature:new T["a"]({geometry:e,name:"Context"}),inner:!1,active:!0,fill:new l["a"]({color:n})}),this.layers.forEach(function(e){e.addFilter(t.mask)})},removeMask:function(){var e=this;null!==this.mask&&this.layers.forEach(function(t){t.removeFilter(e.mask)}),this.mask=null}}},"17dc":function(e,t,n){"use strict";n.d(t,"a",function(){return f});n("ac6a"),n("cadf"),n("6b54"),n("c5f6");var o=n("3156"),a=n.n(o),i=n("278c"),r=n.n(i),c=n("2369"),s=n("c1df"),l=n.n(s),u=n("d247");function d(e,t,n,o,a){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,r=n!==u["b"].PAYLOAD_CLASS_EMPTY?c["b"].validateJsonSchema(o,n):o;return{validated:r,body:{messageClass:e,type:t,payloadClass:n,payload:o,identity:a,timestamp:l()().valueOf(),inResponseTo:i}}}var E={SPATIAL_EXTENT:function(e){var t=r()(e,4),n=t[0],o=t[1],a=t[2],i=t[3];return{south:o,west:n,north:i,east:a}}},f={REGION_OF_INTEREST:function(e,t){return d(u["b"].CLASS_USERCONTEXTCHANGE,u["b"].TYPE_REGIONOFINTEREST,u["b"].PAYLOAD_CLASS_SPATIALEXTENT,E.SPATIAL_EXTENT(e),t)},SEARCH_REQUEST:function(e,t){var n=e.queryString,o=e.searchMode,i=e.requestId,r=e.contextId,c=void 0===r?null:r,s=e.matchTypes,l=void 0===s?null:s,E=e.cancelSearch,f=void 0!==E&&E,T=e.defaultResults,p=void 0!==T&&T,S=e.maxResults;return d(u["b"].CLASS_SEARCH,u["b"].TYPE_SUBMITSEARCH,u["b"].PAYLOAD_CLASS_SEARCHREQUEST,a()({},null!==c&&{contextId:c},null!==l&&{matchTypes:l},{queryString:n,searchMode:o,requestId:i,cancelSearch:f,defaultResults:p,maxResults:S}),t)},SEARCH_MATCH:function(e,t){var n=e.contextId,o=e.matchId,a=e.matchIndex,i=e.added;return d(u["b"].CLASS_SEARCH,u["b"].TYPE_MATCHACTION,u["b"].PAYLOAD_CLASS_SEARCHMATCHACTION,{contextId:n,matchId:o,matchIndex:a,added:i},t)},OBSERVATION_REQUEST:function(e,t){var n=e.urn,o=e.contextId,i=e.searchContextId,r=void 0===i?null:i,c=e.estimate,s=void 0!==c&&c,l=e.estimatedCost,E=void 0===l?0:l;return d(u["b"].CLASS_OBSERVATIONLIFECYCLE,u["b"].TYPE_REQUESTOBSERVATION,u["b"].PAYLOAD_CLASS_OBSERVATIONREQUEST,a()({urn:n},null!==o&&{contextId:o},null!==r&&{searchContextId:r},{estimate:s,estimatedCost:E}),t)},RESET_CONTEXT:function(e){return d(u["b"].CLASS_USERCONTEXTCHANGE,u["b"].TYPE_RESETCONTEXT,u["b"].PAYLOAD_CLASS_EMPTY,"",e)},CONTEXTUALIZATION_REQUEST:function(e,t){var n=e.contextUrn,o=e.contextId,i=e.parentContext,r=e.contextQuery;return d(u["b"].CLASS_OBSERVATIONLIFECYCLE,u["b"].TYPE_RECONTEXTUALIZE,u["b"].PAYLOAD_CLASS_CONTEXTUALIZATIONREQUEST,a()({},"undefined"!==typeof n&&{contextUrn:n},"undefined"!==typeof o&&{contextId:o},"undefined"!==typeof i&&{parentContext:i},"undefined"!==typeof r&&{contextQuery:r}),t)},TASK_INTERRUPTED:function(e,t){var n=e.taskId,o=e.forceInterruption,a=void 0===o||o;return d(u["b"].CLASS_TASKLIFECYCLE,u["b"].TYPE_TASKINTERRUPTED,u["b"].PAYLOAD_CLASS_INTERRUPTTASK,{taskId:n,forceInterruption:a},t)},SCALE_REFERENCE:function(e,t){var n=e.scaleReference,o=e.spaceResolution,i=e.spaceUnit,r=e.timeResolutionMultiplier,c=e.timeUnit,s=e.start,l=e.end,E=e.timeResolutionDescription,f=void 0===E?"":E,T=e.contextId,p=void 0===T?"":T,S=e.shape,m=void 0===S?"":S,O=e.timeType,b=void 0===O?"":O,A=e.timeGeometry,_=void 0===A?"":A,I=e.spaceGeometry,v=void 0===I?"":I;return d(u["b"].CLASS_USERCONTEXTDEFINITION,u["b"].TYPE_SCALEDEFINED,u["b"].PAYLOAD_CLASS_SCALEREFERENCE,a()({},n,{name:"",contextId:p,shape:m,timeType:b,timeGeometry:_,spaceGeometry:v,timeResolutionDescription:null===f?"":f},"undefined"!==typeof o&&{spaceResolution:o},"undefined"!==typeof i&&{spaceUnit:i},"undefined"!==typeof r&&{timeResolutionMultiplier:r},"undefined"!==typeof c&&{timeUnit:c},"undefined"!==typeof s&&{start:s},"undefined"!==typeof l&&{end:l}),t)},SPATIAL_LOCATION:function(e,t){var n=e.wktShape,o=e.contextId,i=void 0===o?null:o;return d(u["b"].CLASS_USERCONTEXTCHANGE,u["b"].TYPE_FEATUREADDED,u["b"].PAYLOAD_CLASS_SPATIALLOCATION,a()({easting:Number.MIN_VALUE,northing:Number.MIN_VALUE,wktShape:n},null!==i&&{contextId:i}),t)},DATAFLOW_NODE_DETAILS:function(e,t){var n=e.nodeId,o=e.contextId;return d(u["b"].CLASS_TASKLIFECYCLE,u["b"].TYPE_DATAFLOWNODEDETAIL,u["b"].PAYLOAD_CLASS_DATAFLOWSTATE,{nodeId:n,monitorable:!1,rating:-1,progress:0,contextId:o},t)},DATAFLOW_NODE_RATING:function(e,t){var n=e.nodeId,o=e.contextId,i=e.rating,r=e.comment,c=void 0===r?null:r;return d(u["b"].CLASS_TASKLIFECYCLE,u["b"].TYPE_DATAFLOWNODERATING,u["b"].PAYLOAD_CLASS_DATAFLOWSTATE,a()({nodeId:n,monitorable:!1,progress:0,rating:i},null!==c&&{comment:c},{contextId:o}),t)},SETTING_CHANGE_REQUEST:function(e,t){var n=e.setting,o=e.value;return d(u["b"].CLASS_USERINTERFACE,u["b"].TYPE_CHANGESETTING,u["b"].PAYLOAD_CLASS_SETTINGCHANGEREQUEST,{setting:n,previousValue:(!o).toString(),newValue:o.toString()},t)},USER_INPUT_RESPONSE:function(e,t){var n=e.messageId,o=e.requestId,a=e.cancelRun,i=void 0!==a&&a,r=e.values,c=void 0===r?{}:r;return d(u["b"].CLASS_USERINTERFACE,u["b"].TYPE_USERINPUTPROVIDED,u["b"].PAYLOAD_CLASS_USERINPUTRESPONSE,{requestId:o,cancelRun:i,values:c},t,n)},WATCH_REQUEST:function(e,t){var n=e.active,o=e.eventType,i=e.observationId,r=e.rootContextId;return d(u["b"].CLASS_USERINTERFACE,u["b"].TYPE_WATCHOBSERVATION,u["b"].PAYLOAD_CLASS_WATCHREQUEST,a()({active:n,observationId:i,rootContextId:r},o&&{eventType:o}),t)},WATCH_ENGINE_EVENT:function(e,t){var n=e.active,o=e.eventType;return d(u["b"].CLASS_NOTIFICATION,u["b"].TYPE_ENGINEEVENT,u["b"].PAYLOAD_CLASS_WATCHREQUEST,{active:n,eventType:o},t)},VIEW_ACTION:function(e,t){var n=e.component,o=e.componentTag,a=void 0===o?null:o,i=e.applicationId,r=void 0===i?null:i,c=e.booleanValue,s=void 0===c?null:c,l=e.doubleValue,E=void 0===l?null:l,f=e.intValue,T=void 0===f?null:f,p=e.stringValue,S=void 0===p?null:p,m=e.listValue,O=void 0===m?[]:m,b=e.dateValue,A=void 0===b?null:b,_=e.data,I=void 0===_?null:_;return d(u["b"].CLASS_USERINTERFACE,u["b"].TYPE_VIEWACTION,u["b"].PAYLOAD_CLASS_VIEWACTION,{component:n,componentTag:a,applicationId:r,booleanValue:s,doubleValue:E,intValue:T,stringValue:S,listValue:O,dateValue:A,data:I},t)},MENU_ACTION:function(e,t){var n=e.identity,o=e.applicationId,a=e.menuId;return d(u["b"].CLASS_USERINTERFACE,u["b"].TYPE_VIEWACTION,u["b"].PAYLOAD_CLASS_MENUACTION,{identity:n,applicationId:o,menuId:a},t)},RUN_APPLICATION:function(e,t){var n=e.applicationId,o=e.test,a=void 0!==o&&o,i=e.stop,r=void 0!==i&&i;return d(u["b"].CLASS_RUN,u["b"].TYPE_RUNAPP,u["b"].PAYLOAD_CLASS_LOADAPPLICATIONREQUEST,{behavior:n,test:a,stop:r,parameters:{}},t)},CONSOLE_CREATED:function(e,t){var n=e.consoleId,o=e.consoleType;return d(u["b"].CLASS_USERINTERFACE,u["b"].TYPE_CONSOLECREATED,u["b"].PAYLOAD_CLASS_CONSOLENOTIFICATION,{consoleId:n,consoleType:o},t)},CONSOLE_CLOSED:function(e,t){var n=e.consoleId,o=e.consoleType;return d(u["b"].CLASS_USERINTERFACE,u["b"].TYPE_CONSOLECLOSED,u["b"].PAYLOAD_CLASS_CONSOLENOTIFICATION,{consoleId:n,consoleType:o},t)},COMMAND_REQUEST:function(e,t){var n=e.consoleId,o=e.consoleType,a=e.commandId,i=e.payload;return d(u["b"].CLASS_USERINTERFACE,u["b"].TYPE_COMMANDREQUEST,u["b"].PAYLOAD_CLASS_CONSOLENOTIFICATION,{consoleId:n,consoleType:o,commandId:a,payload:i},t)}}},"1e5d":function(e,t,n){},2369:function(e,t,n){"use strict";var o=n("278c"),a=n.n(o),i=(n("ffc1"),n("ac6a"),n("cadf"),n("456d"),n("7037")),r=n.n(i),c=n("970b"),s=n.n(c),l=n("5bc30"),u=n.n(l),d=n("be3b"),E=n("3b1b6"),f=n.n(E),T=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{draft:"draft-04"};if(s()(this,e),void 0===t||""===t)throw Error("URL is mandatory");this.djvEnv=new f.a({version:n.draft}),this.initialized=!1,this.url=t,this.initTimeout=null,console.debug("Load schema(s) on creation"),this.initTimeout=setTimeout(this.init(t),2e3)}return u()(e,[{key:"validateJsonSchema",value:function(e,t){if(!this.initialized)return console.info("djvEnv not ready"),!1;if(this.djvEnv.resolve(t)){var n=this.djvEnv.validate(t,e);if("undefined"===typeof n)return!0;if("$ref"===n.keyword)return!0;throw Error(n)}throw Error("Schema not found: ".concat(t))}},{key:"init",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.url;this.initialized||d["a"].get(t,{}).then(function(n){var o=n.data;if("object"!==r()(o))throw Error("Error asking for JsonSchema(s): no data");if(0===Object.keys(o).length)throw Error("Schema on url ".concat(t," is empty, check it"));for(var i=Object.entries(o),c=0;c-1))&&(a.splice(o,1),this.listeners.set(e,a),!0)}},{key:"emit",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(Ke()(this,e),!t)throw new Error("Connection url is needed");this.connectionUrl=t,this.connectionHeaders=n;var a=o.stompOptions,i=void 0===a?{debug:!1}:a,r=o.sockJSOptions,c=void 0===r?{}:r,s=o.reconnection,l=void 0!==s&&s,u=o.reconnectionAttempts,d=void 0===u?1/0:u,E=o.reconnectionDelay,f=void 0===E?2e3:E,T=o.debug,p=void 0!==T&&T,S=o.store,m=void 0===S?null:S,O=o.storeNS,b=void 0===O?"":O;this.reconnection=l,this.reconnectionAttempts=d,this.reconnectionDelay=f,this.hasDebug=p,this.reconnectTimeoutId=-1,this.reconnectionCount=0,"undefined"!==typeof m&&null!==m&&(this.store=m,this.storeNS=b),this.stompOptions=i,this.sockJSOptions=c,this.connect()}return Xe()(e,[{key:"debug",value:function(){var e;this.hasDebug&&(e=console).debug.apply(e,arguments)}},{key:"connect",value:function(){var e=this,t=Je()(this.connectionUrl,{},this.sockJSOptions);t.protocol=this.stompOptions.protocol||"",this.StompClient=Ze.a.over(t,this.stompOptions),this.StompClient.connect(this.connectionHeaders,function(t){e.doOnEvent("onconnect",t)},function(t){return setTimeout(function(){e.doOnEvent("onerror",t)},1e3)})}},{key:"isConnected",value:function(){return this.StompClient&&this.StompClient.connected}},{key:"reconnect",value:function(){var e=this;this.reconnectionCount<=this.reconnectionAttempts?(this.reconnectionCount+=1,clearTimeout(this.reconnectTimeoutId),this.reconnectTimeoutId=setTimeout(function(){e.doOnEvent("reconnect",e.reconnectionCount),e.connect()},this.reconnectionDelay)):this.store&&this.passToStore("stomp_onerror","Reconnection error")}},{key:"subscribe",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e){t.doOnEvent("onmessage",e)};if(e){var a=this.StompClient.subscribe(e,o,n);if(a)return this.doOnEvent("onsubscribe",a),a}return null}},{key:"unsubscribe",value:function(e,t){this.StompClient.unsubscribe(e,t)}},{key:"send",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.isConnected()?(this.StompClient.send(e,JSON.stringify(t),n),this.doOnEvent("onsend",{headers:n,message:t}),!0):(this.doOnEvent("onerrorsend",{headers:n,message:t}),!1)}},{key:"doOnEvent",value:function(e,t){tt.emit(e,t)||this.debug("No listener for ".concat(e)),this.store&&this.passToStore("stomp_".concat(e),t),this.reconnection&&"onoconnect"===e&&(this.reconnectionCount=0),this.reconnection&&"onerror"===e&&this.reconnect()}},{key:"passToStore",value:function(e,t){if(e.startsWith("stomp_")){var n="dispatch",o=[this.storeNS||"",e.toLowerCase()].filter(function(e){return!!e}).join("/"),a=t||null;t&&t.data&&(a=JSON.parse(t.data),a.mutation?o=[a.namespace||"",a.mutation].filter(function(e){return!!e}).join("/"):a.action&&(n="dispatch",o=[a.namespace||"",a.action].filter(function(e){return!!e}).join("/"))),this.store[n](o,a)}}},{key:"close",value:function(){this.StompClient&&(this.StompClient.disconnect(),this.doOnEvent("onclose")),this.reconnectTimeoutId&&clearTimeout(this.reconnectTimeoutId)}}]),e}(),ot={install:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(!t)throw new Error("[vue-stomp-client] cannot locate connection");var a=null;o.connectManually?(e.prototype.$connect=function(){a=new nt(t,n,o),e.prototype.$stompClient=a.StompClient},e.prototype.$disconnect=function(){a&&a.reconnection&&(a.reconnection=!1),e.prototype.$stompClient&&(a.close(),delete e.prototype.$stompClient)}):(a=new nt(t,n,o),e.prototype.$stompClient=a.StompClient),e.mixin({methods:{sendStompMessage:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o.defaultMessageDestination;a.send(n,e,t)?console.debug("Message sent: ".concat(JSON.stringify(e,null,4))):console.debug("Message not sent, still no connected:\n".concat(JSON.stringify(e,null,4)))},subscribe:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:o.defaultSubscribeDestination;return a.subscribe("".concat(i,"/").concat(e),t,n)},unsubscribe:function(e){a.unsubscribe(e),console.debug("Unsubscribe the subscription with id ".concat(e))},reconnect:function(){a.StompClient&&!a.StompClient.connected&&(console.debug("Try to reconnect..."),a.reconnect())},disconnect:function(){a&&a.reconnection&&(a.reconnection=!1),a.close()}},created:function(){var e=this;if(this.$options.sockets){var t=this,n=this.$options.sockets;this.$options.sockets=new Proxy({},{set:function(e,n,o){return tt.addListener(n,o,t),e[n]=o,!0},deleteProperty:function(e,n){return tt.removeListener(n,t.$options.sockets[n],t),delete e.key,!0}}),n&&Object.keys(n).forEach(function(t){e.$options.sockets[t]=n[t]})}},beforeDestroy:function(){var e=this;if(this.$options.sockets){var t=this.$options.sockets;t&&Object.keys(t).forEach(function(t){console.debug("Remove listener ".concat(t)),tt.removeListener(t,e.$options.sockets[t],e),delete e.$options.sockets[t]})}}})}},at=function(e){var t=e.Vue,n=e.store,o=new URLSearchParams(window.location.search).get(Ie["R"].PARAMS_STOMP_DEBUG),a=!1;"true"===o&&(a=!0),t.use(ot,"/modeler/message",{},{stompOptions:{debug:a,protocol:"v12.stomp"},store:n,storeNS:"stomp",reconnection:!0,reconnectionAttempts:5,debug:a,defaultMessageDestination:"/klab/message",defaultSubscribeDestination:"/message"})},it=xe(),rt=it.app,ct=it.store,st=it.router;[ke["a"],Ue["b"],je,He["a"],ze["a"],at].forEach(function(e){e({app:rt,router:st,store:ct,Vue:o["a"],ssrContext:null})}),new o["a"](rt)},4360:function(e,t,n){"use strict";var o,a=n("2b0e"),i=n("2f62"),r=(n("ac6a"),n("cadf"),n("f400"),n("7cca")),c=n("d247"),s={kexplorerLog:[],statusTexts:[],klabLog:[],dataViewers:[],mainDataViewerIdx:0,lastViewerId:0,mainViewer:void 0,treeVisible:!0,leftMenuContent:null,leftMenuState:r["w"].LEFTMENU_HIDDEN,mainControlDocked:!1,contextGeometry:null,spinner:r["J"].SPINNER_STOPPED,spinnerOwners:[],searchActive:!1,searchFocus:!1,searchLostChar:"",searchHistory:[],searchInApp:!1,flowchartSelected:r["g"].GRAPH_DATAFLOW,dataflowInfoOpen:!1,observationInfo:null,mapSelection:r["g"].EMPTY_MAP_SELECTION,exploreMapMode:!1,treeSelected:null,treeTicked:[],treeExpanded:[],topLayer:null,scaleEditing:{active:!1,type:null},drawMode:!1,customContext:!1,saveLocation:!0,saveDockedStatus:!1,modalMode:!1,inputRequests:[],waitingGeolocation:!0,helpShown:!1,modalSize:r["s"].DEFAULT_MODAL_SIZE,fuzzyMode:!1,largeMode:0,helpBaseUrl:null,timeRunning:!1,layout:null,windowSide:"left",dialogs:[],modalWindow:null,engineEvents:[],klabApp:null,levels:[c["a"].TYPE_INFO,c["a"].TYPE_WARNING,c["a"].TYPE_ERROR],showSettings:!0,notificationsParams:null,reloadViews:[],documentationView:r["n"].REPORT,documentationSelected:null,documentationCache:new Map,tableFontSize:12,textFontSize:10,viewCoordinates:!0},l=(n("7514"),n("7f7f"),n("6762"),n("2fdb"),n("448a")),u=n.n(l),d=n("b12a"),E=n("b0b2"),f={kexplorerLog:function(e){return e.kexplorerLog},lastKexplorerLog:function(e){return function(t){return Object(d["o"])(e.kexplorerLog,t)}},klabLog:function(e){return e.klabLog},lastKlabLog:function(e){return function(t){return Object(d["o"])(e.klabLog,t)}},klabLogReversedAndFiltered:function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(0===e.klabLog.length)return[];var n=u()(e.klabLog).reverse();return 0===t.length?n:n.filter(function(e){return t.includes(e.type)})}},levels:function(e){return e.levels},statusTexts:function(e){return e.statusTexts},statusTextsLength:function(e){return e.statusTexts.length},statusTextsString:function(e){return e.statusTexts.length>0?e.statusTexts.map(function(e){return e.text}).join(" - "):""},mainViewer:function(e){return e.mainViewer},mainViewerName:function(e){return e.mainViewer?e.mainViewer.name:null},isTreeVisible:function(e){return e.treeVisible},leftMenuContent:function(e){return e.leftMenuContent},leftMenuState:function(e){return e.leftMenuState},isDocked:function(e){return e.leftMenuState!==r["w"].LEFTMENU_HIDDEN},hasMainControl:function(e){return e.mainViewer&&e.mainViewer.mainControl},isMainControlDocked:function(e){return e.mainControlDocked},admitSearch:function(e){return e.mainViewer&&e.mainViewer.hasSearch},contextGeometry:function(e){return e.contextGeometry},dataViewers:function(e){return e.dataViewers},mainDataViewer:function(e){return e.dataViewers.find(function(e){return e.main})},mainDataViewerIdx:function(e){return e.mainDataViewerIdx},lastViewerId:function(e){return e.lastViewerId},viewer:function(e){return function(t){return e.dataViewers.length>0?e.dataViewers.find(function(e){return e.idx===t}):null}},spinnerIsAnimated:function(e){return e.spinner.animated},spinner:function(e){return e.spinner},spinnerOwners:function(e){return e.spinnerOwners},spinnerColor:function(e){return"undefined"!==e.spinner&&null!==e.spinner?Object(E["e"])(e.spinner.color):null},spinnerErrorMessage:function(e){return"undefined"!==e.spinner&&null!==e.spinner?e.spinner.errorMessage:null},searchIsActive:function(e){return e.searchActive},searchIsFocused:function(e){return e.searchFocus},searchLostChar:function(e){return e.searchLostChar},searchHistory:function(e){return e.searchHistory},searchInApp:function(e){return e.searchInApp},flowchartSelected:function(e){return e.flowchartSelected},dataflowInfoOpen:function(e){return e.dataflowInfoOpen},observationInfo:function(e){return e.observationInfo},mapSelection:function(e){return e.mapSelection},hasObservationInfo:function(e){return null!==e.observationInfo},exploreMode:function(e){return!!(null!==e.observationInfo&&Object(d["n"])(e.observationInfo)&&e.observationInfo.dataSummary.histogram.length>0&&e.observationInfo.visible&&e.observationInfo.top)},isScaleEditing:function(e){return e.scaleEditing.active},scaleEditingType:function(e){return e.scaleEditing.type},isDrawMode:function(e){return e.drawMode},hasCustomContext:function(e){return e.customContext},topLayer:function(e){return e.topLayer},topLayerId:function(e){return null!==e.topLayer?e.topLayer.id:null},inputRequests:function(e){return e.inputRequests},hasInputRequests:function(e){return 0!==e.inputRequests.length},isInModalMode:function(e){return e.modalMode},isHelpShown:function(e){return e.helpShown},modalSize:function(e){return e.modalSize},fuzzyMode:function(e){return e.fuzzyMode},largeMode:function(e){return e.largeMode},isTimeRunning:function(e){return e.timeRunning},layout:function(e){return e.layout},appStyle:function(e){return e.layout.style||"default"},modalWindow:function(e){return e.modalWindow},hasHeader:function(e){return e.layout&&(e.layout.header||e.layout.logo||e.layout.label||e.layout.description)},windowSide:function(e){return e.windowSide},isApp:function(e){return null!==e.klabApp},klabApp:function(e){return e.klabApp},activeDialogs:function(e){return e.dialogs.filter(function(e){return!e.dismiss})},engineEvents:function(e){return e.engineEvents},engineEventsCount:function(e){return e.engineEvents.length},hasShowSettings:function(e){return e.showSettings},notificationsParams:function(e){return e.notificationsParams},reloadViews:function(e){return e.reloadViews},documentationView:function(e){return e.documentationView},documentationSelected:function(e){return e.documentationSelected},documentationCache:function(e){return e.documentationCache},tableFontSize:function(e){return e.tableFontSize},textFontSize:function(e){return e.textFontSize},viewCoordinates:function(e){return e.viewCoordinates}},T=(n("f751"),n("3156")),p=n.n(T),S=(n("20d6"),n("741d")),m={ADD_TO_KEXPLORER_LOG:function(e,t){Object(d["p"])(e.kexplorerLog,t)},ADD_TO_KLAB_LOG:function(e,t){Object(d["p"])(e.klabLog,t)},SET_LEVELS:function(e,t){t&&(e.levels=t)},TOGGLE_LEVEL:function(e,t){var n=e.levels.indexOf(t);-1===n?e.levels.push(t):e.levels.splice(n,1)},ADD_TO_STATUS_TEXTS:function(e,t){var n=t.id,o=t.text;e.statusTexts.push({id:n,text:o})},REMOVE_FROM_STATUS_TEXTS:function(e,t){var n=e.statusTexts.findIndex(function(e){return e.id===t});-1!==n&&e.statusTexts.splice(n,1)},SET_CONTEXT_LAYER:function(e,t){e.dataViewers.splice(0,e.dataViewers.length),e.lastViewerId=0,e.contextGeometry=t,e.treeExpanded=[],e.treeTicked=[],e.statusTexts=[],e.treeSelected=null,e.topLayer=null,e.reloadViews.splice(0,e.reloadViews.length),e.documentationSelected=null,e.modalWindow=null},SET_MAIN_VIEWER:function(e,t){e.mainViewer=t},SET_TREE_VISIBLE:function(e,t){e.treeVisible=t},SET_LEFTMENU_CONTENT:function(e,t){e.leftMenuContent=t},SET_LEFTMENU_STATE:function(e,t){e.leftMenuState=t},SET_MAIN_DATA_VIEWER:function(e,t){var n=t.viewerIdx,o=t.visible;if(o)e.dataViewers.forEach(function(t){t.idx===n?(t.main=!0,e.mainDataViewerIdx=n):t.main=!1,t.visible=!t.type.hideable||t.idx===n||t.visible});else{var a=!1;e.dataViewers.forEach(function(t){a||t.type.hideable&&!t.visible?(t.main=!1,t.type.hideable&&t.idx===n&&(t.visible=!1)):(t.main=!0,e.mainDataViewerIdx=t.idx,a=!0)})}},RESET_MAIN_DATA_VIEWER:function(e){e.dataViewer=[],e.mainDataViewerIdx=0},SET_SAVE_DOCKED_STATUS:function(e,t){e.saveDockedStatus=t},SET_MAIN_CONTROL_DOCKED:function(e,t){e.mainControlDocked=t,e.saveDockedStatus&&S["a"].set(r["R"].COOKIE_DOCKED_STATUS,t,{expires:30,path:"/",secure:!0})},ADD_VIEWER_ELEMENT:function(e,t){var n=t.main,o=t.type,a=t.label,i=t.visible,r=t.callback;0===e.lastViewerId?n=!0:!0===n&&e.dataViewers.forEach(function(e){e.main=!1}),e.lastViewerId+=1,e.dataViewers.push({idx:e.lastViewerId,main:n,type:o,label:a,visible:i,observations:[]}),"function"===typeof r&&r(e.lastViewerId)},SET_SPINNER_ANIMATED:function(e,t){e.spinner.animated=t},SET_SPINNER_COLOR:function(e,t){e.spinner.color=t},SET_SPINNER:function(e,t){var n=t.animated,o=t.color,a=t.errorMessage,i=void 0===a?null:a;e.spinner={animated:n,color:o,errorMessage:i}},ADD_TO_SPINNER_OWNERS:function(e,t){var n=e.spinnerOwners.indexOf(t);-1===n&&e.spinnerOwners.push(t)},REMOVE_FROM_SPINNER_OWNERS:function(e,t){var n=e.spinnerOwners.indexOf(t);-1!==n&&e.spinnerOwners.splice(n,1)},SEARCH_ACTIVE:function(e,t){var n=t.active,o=t.char,a=void 0===o?"":o;e.searchActive!==n&&(e.searchLostChar=a,e.searchActive=n)},SEARCH_FOCUS:function(e,t){var n=t.focused,o=t.char,a=void 0===o?"":o;e.searchFocus!==n&&(e.searchLostChar=a,e.searchFocus=n)},SEARCH_INAPP:function(e,t){e.searchInApp=t},RESET_SEARCH_LOST_CHAR:function(e){e.searchLostChar=""},RESET_SEARCH:function(e){e.searchActive=!1,e.searchFocus=!1,e.searchLostChar=""},STORE_SEARCH:function(e,t){e.searchHistory.unshift(t)},SET_FLOWCHART_SELECTED:function(e,t){e.flowchartSelected=t},SET_DATAFLOW_INFO_OPEN:function(e,t){e.dataflowInfoOpen=t},SET_OBSERVATION_INFO:function(e,t){null===t?(e.treeSelected=null,e.mapSelection.locked||(e.mapSelection=r["g"].EMPTY_MAP_SELECTION),e.observationInfo=null):null!==e.observationInfo&&t.id===e.observationInfo.id||(e.observationInfo=t,e.mapSelection.locked||(e.mapSelection=r["g"].EMPTY_MAP_SELECTION),e.treeSelected=t.id)},SET_MAP_SELECTION:function(e,t){var n=t.pixelSelected,o=t.layerSelected,a=t.value,i=void 0===a?null:a,c=t.locked,s=void 0!==c&&c;e.mapSelection=null===t||null===n?r["g"].EMPTY_MAP_SELECTION:{pixelSelected:n,layerSelected:o,value:i,locked:s}},SET_SCALE_EDITING:function(e,t){var n=t.active,o=t.type;e.scaleEditing={active:n,type:o}},SET_DRAW_MODE:function(e,t){e.drawMode=t},SET_CUSTOM_CONTEXT:function(e,t){e.customContext=t},SET_SAVE_LOCATION:function(e,t){e.saveLocation=t},SET_TOP_LAYER:function(e,t){e.topLayer=t},SET_MODAL_MODE:function(e,t){e.modalMode=t},SET_INPUT_REQUEST:function(e,t){var n=t.payload,o=t.id;e.inputRequests.push(p()({messageId:o},n))},REMOVE_INPUT_REQUEST:function(e,t){if(e.inputRequests.length>0)if(null===t)e.inputRequests.splice(0,e.inputRequests.length);else{var n=e.inputRequests.findIndex(function(e){return e.messageId===t});-1!==n&&e.inputRequests.splice(n,1)}},SET_MODAL_SIZE:function(e,t){var n=t.width,o=t.height;e.modalSize={width:n,height:o}},SET_FUZZY_MODE:function(e,t){e.fuzzyMode=t},SET_LARGE_MODE:function(e,t){t<0?t=0:t>6&&(t=r["g"].MAX_SEARCHBAR_INCREMENTS),e.largeMode=t},SET_TIME_RUNNING:function(e,t){e.timeRunning=t},SET_LAYOUT:function(e,t){e.layout=t},SET_MODAL_WINDOW:function(e,t){e.modalWindow=t},SET_WINDOW_SIDE:function(e,t){e.windowSide=t},CREATE_VIEW_COMPONENT:function(e,t){if(t.type!==r["a"].ALERT&&t.type!==r["a"].CONFIRM){var n=e.layout&&(Object(d["d"])(e.layout,t.id)||e.modalWindow&&Object(d["d"])(e.modalWindow,t.id));if(n)console.log("Updating component: ",JSON.stringify(n,null,2)),Object.assign(n,t),console.log("Updated component: ",JSON.stringify(n,null,2));else{var o=Object(d["c"])(e.layout,t.parentId)||e.modalWindow&&Object(d["c"])(e.modalWindow,t.id);o&&(o.children.push(t),console.warn("Update parent: ",o))}}else e.dialogs.push(p()({},t,{dismiss:!1}))},SET_ENGINE_EVENT:function(e,t){if(null!==e.engineEvents)switch(t.type){case r["o"].RESOURCE_VALIDATION:var n=e.engineEvents.findIndex(function(e){return e.id===t.id});t.started?-1===n?e.engineEvents.push({id:t.id,timestamp:t.timestamp}):console.debug("Try to start an existing engine event",t):-1!==n?e.engineEvents.splice(n,1):console.debug("Try to stop an unregistered engine event",t),console.debug("Engine event with id ".concat(t.id," ").concat(t.started?"start":"stop"," / total engine events: ").concat(e.engineEvents.length));break;default:break}else console.debug("Receive an engine event before subscription")},VIEW_ACTION:function(e,t){if(null!==t.component){if(e.layout||e.modalWindow){var n=Object(d["d"])(e.layout,t.component.id)||null!==e.modalWindow&&Object(d["d"])(e.modalWindow,t.component.id);n&&(0===t.component.components.length&&0!==n.components.length&&delete t.component.components,Object.assign(n,t.component))}}else console.warn("Action component is null")},SHOW_SETTINGS:function(e,t){e.showSettings=t},SET_NOTIFICATIONS_PARAMS:function(e,t){e.notificationsParams=t},SET_DOCUMENTATION_VIEW:function(e,t){e.documentationView=t},SET_DOCUMENTATION_SELECTED:function(e,t){e.documentationSelected=t},SET_RELOAD_VIEWS:function(e,t){t&&t.forEach(function(t){-1===e.reloadViews.indexOf(t)&&e.reloadViews.push(t)})},REMOVE_RELOAD_VIEW:function(e,t){-1!==e.reloadViews.indexOf(t)&&e.reloadViews.splice(e.reloadViews.indexOf(t),1)},SET_TABLE_FONT_SIZE:function(e,t){e.tableFontSize=t},SET_TEXT_FONT_SIZE:function(e,t){e.textFontSize=t},SET_VIEW_COORDINATES:function(e,t){e.viewCoordinates=t}},O=n("7037"),b=n.n(O),A=(n("551c"),n("c1df")),_=n.n(A),I=n("4328"),v=n.n(I),N=n("8449"),h=n("256f"),R={addToKexplorerLog:function(e,t){var n=e.commit,o=t.type,a=t.payload,i=t.important,r=void 0!==i&&i;n("ADD_TO_KEXPLORER_LOG",{type:o,payload:a,important:r,time:_()()})},addToKlabLog:function(e,t){var n=e.commit,o=t.type,a=t.id,i=t.payload,r=t.timestamp;n("ADD_TO_KLAB_LOG",{type:o,id:a,payload:i,time:_()(r)})},setLevels:function(e,t){var n=e.commit;n("SET_LEVELS",t)},toggleLevel:function(e,t){var n=e.commit;n("TOGGLE_LEVEL",t)},addToStatusTexts:function(e,t){var n=e.commit,o=t.id,a=t.text;n("ADD_TO_STATUS_TEXTS",{id:o,text:a})},removeFromStatusTexts:function(e,t){var n=e.commit;n("REMOVE_FROM_STATUS_TEXTS",t)},setContextLayer:function(e,t){var n=e.state,o=e.commit,a=e.dispatch;Object(d["j"])(t).then(function(e){o("SET_CONTEXT_LAYER",e),o("RESET_SEARCH"),a("assignViewer",{observation:t,main:!0}),n.mainViewer.name===r["O"].DATA_VIEWER.name&&n.mainControlDocked&&a("setMainViewer",r["O"].DOCKED_DATA_VIEWER)})},resetContext:function(e){var t=e.commit;t("SET_CONTEXT_LAYER",null),t("RESET_SEARCH"),t("SET_OBSERVATION_INFO",null);var n=r["O"].DATA_VIEWER;t("SET_LEFTMENU_CONTENT",n.leftMenuContent),t("SET_LEFTMENU_STATE",n.leftMenuState),t("SET_MAIN_VIEWER",n),t("RESET_MAIN_DATA_VIEWER",null),t("SET_MAP_SELECTION",r["g"].EMPTY_MAP_SELECTION),t("SET_FLOWCHART_SELECTED",r["g"].GRAPH_DATAFLOW)},setMainViewer:function(e,t){var n=e.state,o=e.commit,a=e.dispatch;t&&"undefined"!==typeof n.mainViewer&&(t.leftMenuContent===r["w"].DOCKED_DATA_VIEWER_COMPONENT?o("SET_MAIN_CONTROL_DOCKED",!0):t.leftMenuContent===r["w"].DATA_VIEWER_COMPONENT&&o("SET_MAIN_CONTROL_DOCKED",!1)),o("SET_MAIN_VIEWER",t),t&&(a("setLeftMenuState",t.leftMenuState),a("setLeftMenuContent",t.leftMenuContent))},setTreeVisible:function(e,t){var n=e.commit;n("SET_TREE_VISIBLE",t)},setLeftMenuContent:function(e,t){var n=e.commit;n("SET_LEFTMENU_CONTENT",t)},setLeftMenuState:function(e,t){var n=e.commit;n("SET_LEFTMENU_STATE",t)},setMainDataViewer:function(e,t){var n=e.commit,o=e.getters,a=t.viewerIdx,i=t.viewerType,r=void 0===i?null:i,c=t.visible,s=void 0===c||c;(s&&a!==o.mainDataViewerIdx||!s&&null!==r&&r.hideable)&&n("SET_MAIN_DATA_VIEWER",{viewerIdx:a,visible:s})},assignViewer:function(e,t){var n=e.commit,o=e.getters,a=e.dispatch,i=e.rootGetters,c=t.observation,s=t.main,l=void 0!==s&&s;return new Promise(function(e,t){var s,u=null,E=null;if(c.observationType)switch(c.observationType){case r["A"].TYPE_GROUP:case r["A"].TYPE_VIEW:case r["A"].TYPE_PROCESS:u=null;break;case r["A"].TYPE_STATE:var f;if(1===c.valueCount)u=null;else if(u=r["P"].VIEW_MAP,f=c.parentId===i["data/contextId"]?i["data/context"]:i["data/observations"].find(function(e){return e.id===c.parentId}),"undefined"!==typeof f){c.encodedShape=f.encodedShape;var T=f;E=T.label}else console.warn("Need parent of ".concat(c.id," but doesn't find it. Parent id is ").concat(c.parentId));break;case r["A"].TYPE_INITIAL:case r["A"].TYPE_RELATIONSHIP:u=r["P"].VIEW_MAP;var p=null;if(null!==c.parentId&&(p=Object(d["f"])(i["data/tree"],c.parentId),"undefined"===typeof p&&(console.warn("Observation with id ".concat(c.id," has an invalid unknown parent: ").concat(c.parentId)),p=null)),p){var S=p;E=S.label}else E=c.label;break;case r["A"].TYPE_SUBJECT:u=r["P"].VIEW_MAP;break;case r["A"].TYPE_CONFIGURATION:u=r["P"].VIEW_GRAPH,E=c.label;break;case r["A"].TYPE_EVENT:u=r["P"].VIEW_UNKNOWN;break;default:t(new Error("Unknown observation type in observation labeled ".concat(c.label,": ").concat(c.observationType)));break}null!==u?(console.debug("Need a viewer of type ".concat(u.component)),u.forceNew||(s=o.dataViewers.find(function(e){return e.type.component===u.component})),"undefined"===typeof s?(console.info("Create new viewer of type ".concat(u.component)),n("ADD_VIEWER_ELEMENT",{main:l,type:u,label:E&&null!==E?E:u.label,visible:!u.hideable,callback:function(t){e(t)}})):(l&&a("setMainDataViewer",{viewerIdx:s.idx}),e(s.idx))):e(null)})},setSpinner:function(e,t){var n=e.commit,o=e.getters,a=e.dispatch,i=t.animated,c=t.color,s=t.time,l=void 0===s?null:s,u=t.then,d=void 0===u?null:u,E=t.errorMessage,f=void 0===E?null:E,T=t.owner;return new Promise(function(e){if(!T||null===T)throw new Error("No spinner owner!");i?n("ADD_TO_SPINNER_OWNERS",T):(n("REMOVE_FROM_SPINNER_OWNERS",T),0!==o.spinnerOwners.length&&(i=!0,c!==r["J"].SPINNER_ERROR.color&&(c=r["J"].SPINNER_LOADING.color))),null!==f&&"object"===b()(f)&&(f=JSON.stringify(f)),n("SET_SPINNER",{animated:i,color:c,errorMessage:f}),null!==l&&null!==d&&setTimeout(function(){a("setSpinner",p()({},d,{owner:T}))},1e3*l),e()})},searchStart:function(e){var t=e.commit,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;t("SEARCH_ACTIVE",{active:!0,char:n})},searchStop:function(e){var t=e.commit;t("SEARCH_ACTIVE",{active:!1})},searchFocus:function(e,t){var n=e.commit,o=t.focused,a=t.char,i=void 0===a?null:a;n("SEARCH_FOCUS",{focused:o,char:i})},resetSearchLostChar:function(e){var t=e.commit;t("RESET_SEARCH_LOST_CHAR")},storePreviousSearch:function(e,t){var n=e.commit;n("STORE_SEARCH",t)},searchInApp:function(e,t){var n=e.commit;n("SEARCH_INAPP",t)},setFlowchartSelected:function(e,t){var n=e.commit;n("SET_FLOWCHART_SELECTED",t)},setDataflowInfoOpen:function(e,t){var n=e.commit;n("SET_DATAFLOW_INFO_OPEN",t)},setObservationInfo:function(e,t){var n=e.commit;n("SET_OBSERVATION_INFO",t)},setMapSelection:function(e,t){var n=e.commit,o=e.state,a=t.pixelSelected,i=t.timestamp,s=void 0===i?-1:i,l=t.layerSelected,u=void 0===l?null:l,E=t.observationId,f=void 0===E?null:E,T=t.locked,p=void 0!==T&&T;if(null!==a){null===f&&(f=o.observationInfo.id);var S="".concat("").concat(c["c"].REST_SESSION_VIEW,"data/").concat(f),m=Object(h["l"])(a,"EPSG:3857","EPSG:4326"),O=-1!==s?"T1(1){time=".concat(s.toFixed(0),"}"):"";Object(d["h"])("pv_".concat(f),S,{params:{format:"SCALAR",locator:"".concat(O,"S0(1){latlon=[").concat(m[0]," ").concat(m[1],"]}")},paramsSerializer:function(e){return v.a.stringify(e,{arrayFormat:"repeat"})}},function(e,t){var o="No value";e&&"undefined"!==typeof e.data&&(o=e.data),n("SET_MAP_SELECTION",{pixelSelected:a,layerSelected:u,value:o,locked:p}),t()})}else n("SET_MAP_SELECTION",r["g"].EMPTY_MAP_SELECTION)},setScaleEditing:function(e,t){var n=e.commit,o=t.active,a=t.type;n("SET_SCALE_EDITING",{active:o,type:a}),n("SET_MODAL_MODE",o)},setDrawMode:function(e,t){var n=e.commit;n("SET_DRAW_MODE",t),n("SET_MODAL_MODE",t)},setCustomContext:function(e,t){var n=e.commit;n("SET_CUSTOM_CONTEXT",t)},setTopLayer:function(e,t){var n=e.commit;n("SET_TOP_LAYER",t)},inputRequest:function(e,t){var n=e.commit;n("SET_INPUT_REQUEST",t),n("SET_MODAL_MODE",!0)},removeInputRequest:function(e,t){var n=e.commit,o=e.getters;n("REMOVE_INPUT_REQUEST",t),o.hasInputRequests||n("SET_MODAL_MODE",!1)},setModalMode:function(e,t){var n=e.commit;n("SET_MODAL_MODE",t)},setModalSize:function(e,t){var n=e.commit,o=t.width,a=t.height;n("SET_MODAL_SIZE",{width:o,height:a})},setFuzzyMode:function(e,t){var n=e.rootGetters,o=e.commit;n["data/hasContext"]||o("SET_FUZZY_MODE",t)},setLargeMode:function(e,t){var n=e.commit;n("SET_LARGE_MODE",t)},setTimeRunning:function(e,t){var n=e.commit;n("SET_TIME_RUNNING",t)},setLayout:function(e,t){var n=e.commit;if(null===t||"DESKTOP"!==t.platform&&"MOBILE"!==t.platform)if(n("SET_LAYOUT",null===t?null:p()({},t)),null!==t)localStorage.setItem(r["R"].LOCAL_STORAGE_APP_ID,t.name);else{var o=localStorage.getItem(r["R"].LOCAL_STORAGE_APP_ID);o&&localStorage.removeItem(r["R"].LOCAL_STORAGE_APP_ID)}else console.info("Received an app for another platform: ".concat(t.platform))},setModalWindow:function(e,t){var n=e.commit;n("SET_MODAL_WINDOW",t)},setWindowSide:function(e,t){var n=e.commit;n("SET_WINDOW_SIDE",t)},setEngineEvent:function(e,t){var n=e.commit;n("SET_ENGINE_EVENT",t)},createViewComponent:function(e,t){var n=e.commit;n("CREATE_VIEW_COMPONENT",t)},viewAction:function(e,t){var n=e.commit;n("VIEW_ACTION",t)},viewSetting:function(e,t){var n=e.getters,o=e.rootGetters,a=e.dispatch;if(t){var i=function(){N["b"].$emit(r["h"].SELECT_ELEMENT,{id:t.targetId,selected:t.operation===r["Q"].SHOW})};switch(t.target){case r["Q"].OBSERVATION:n.mainViewerName!==r["O"].DATA_VIEWER.name&&t.operation===r["Q"].SHOW?a("setMainViewer",r["O"].DATA_VIEWER).then(function(){i(),N["b"].$emit(r["h"].MAP_SIZE_CHANGED,{type:"changelayout"})}):i();break;case r["Q"].VIEW:i();break;case r["Q"].TREE:n.mainViewerName===r["O"].DATA_VIEWER.name&&o["data/hasContext"]&&a("setTreeVisible",t.operation===r["Q"].SHOW);break;case r["Q"].REPORT:n.mainViewerName===r["O"].REPORT_VIEWER.name&&t.operation===r["Q"].HIDE?a("setMainViewer",n.isMainControlDocked?r["O"].DOCKED_DATA_VIEWER:r["O"].DATA_VIEWER):n.mainViewerName!==r["O"].REPORT_VIEWER.name&&o["data/hasObservations"]&&t.operation===r["Q"].SHOW&&a("setMainViewer",r["O"].REPORT_VIEWER);break;case r["Q"].DATAFLOW:n.mainViewerName===r["O"].DATAFLOW_VIEWER.name&&t.operation===r["Q"].HIDE?a("setMainViewer",n.isMainControlDocked?r["O"].DOCKED_DATA_VIEWER:r["O"].DATA_VIEWER):n.mainViewerName!==r["O"].DATAFLOW_VIEWER.name&&o["data/hasContext"]&&t.operation===r["Q"].SHOW&&a("setMainViewer",r["O"].DATAFLOW_VIEWER);break;case r["Q"].URL:N["b"].$emit(r["h"].DOWNLOAD_URL,{url:t.targetId,parameters:t.parameters});break;default:break}}},setShowSettings:function(e,t){var n=e.commit;n("SHOW_SETTINGS",t)},setNotificationsParams:function(e,t){var n=e.commit;n("SET_NOTIFICATIONS_PARAMS",t)},setDocumentationView:function(e,t){var n=e.commit;n("SET_DOCUMENTATION_VIEW",t)},setDocumentationSelected:function(e,t){var n=e.commit;n("SET_DOCUMENTATION_SELECTED",t)},setDocumentation:function(e,t){var n=e.commit,o=e.rootGetters;if(!t.view){var a=o["data/documentationContent"].get(t.id);if(!a)return void console.debug("Try to show an unknown document: ".concat(t.id));t.view=r["m"][a.type]}n("SET_DOCUMENTATION_VIEW",t.view),n("SET_DOCUMENTATION_SELECTED",t.id),N["b"].$emit(r["h"].SHOW_DOCUMENTATION),N["b"].$emit(r["h"].SELECT_ELEMENT,{id:t.id,selected:!0})},changeInDocumentation:function(e,t){var n=e.commit;if(t.viewsAffected){var o=t.viewsAffected.filter(function(e){return e!==r["n"].REFERENCES&&e!==r["n"].MODELS});if(o.length>1&&o.includes(r["n"].TABLES)){var a=o.indexOf(r["n"].REPORT);-1!==a&&o.splice(a,1)}o.length>0&&n("SET_RELOAD_VIEWS",o)}},removeReloadView:function(e,t){var n=e.commit;n("REMOVE_RELOAD_VIEW",t)},setTableFontSize:function(e,t){var n=e.commit;n("SET_TABLE_FONT_SIZE",t)},setTextFontSize:function(e,t){var n=e.commit;n("SET_TABLE_FONT_SIZE",t)},setViewCoordinates:function(e,t){var n=e.commit;n("SET_VIEW_COORDINATES",t)}},C={namespaced:!0,state:s,getters:f,mutations:m,actions:R},g=(n("456d"),n("970b")),L=n.n(g),w=n("5bc30"),P=n.n(w),y=function(){function e(){L()(this,e),this.items=[]}return P()(e,[{key:"push",value:function(e){this.items.push(e)}},{key:"pop",value:function(e){if("undefined"!==typeof e&&e>0){if(e>this.size()-1)throw Error("Stack overflow");return this.items.splice(e+1),this.items.peek()}return this.items.pop()}},{key:"peek",value:function(){return 0===this.items.length?null:this.items[this.items.length-1]}},{key:"previous",value:function(){return this.items.length<=1?null:this.items[this.items.length-2]}},{key:"size",value:function(){return this.items.length}},{key:"findIndex",value:function(e){return this.items.findIndex(e)}},{key:"findItem",value:function(e){return this.items.find(function(t){return t.id===e})}},{key:"map",value:function(e){return this.items.map(e)}},{key:"empty",value:function(){this.items.splice(0)}},{key:"isEmpty",value:function(){return 0===this.items.length}},{key:"toArray",value:function(){return this.items}}]),e}(),D={sessionReference:null,tree:[],userTree:[],lasts:[],contexts:new y,contextCustomLabel:null,scaleReference:null,schedulingResolution:null,proposedContext:null,scaleLocked:{space:!1,time:!1},nextScale:null,observations:[],contextMenuObservationId:null,knowledgeViews:[],timeEvents:[],modificationsTask:null,timestamp:-1,engineTimestamp:-1,flowcharts:r["t"],dataflowStatuses:[],dataflowInfo:null,session:null,contextsHistory:[],waitingForReset:null,orphans:[],searchResult:null,childrenToAskFor:r["g"].CHILDREN_TO_ASK_FOR,interactiveMode:!1,crossingIDL:!1,capabilities:{},local:!1,token:null,isAuthenticated:void 0,packageVersion:"0.22.0",packageBuild:"0",terminalsCounter:0,terminals:[],terminalCommands:null!==localStorage.getItem(r["R"].LOCAL_STORAGE_TERMINAL_COMMANDS)?JSON.parse(localStorage.getItem(r["R"].LOCAL_STORAGE_TERMINAL_COMMANDS)):[],documentationTrees:Object.keys(r["n"]).map(function(e){return{view:e,tree:[]}}),documentationContent:new Map},M=(n("55dd"),{sessionReference:function(e){return e.sessionReference},isDeveloper:function(e){return e.sessionReference&&e.sessionReference.owner&&e.sessionReference.owner.groups&&-1!==e.sessionReference.owner.groups.findIndex(function(e){return"DEVELOPERS"===e.id})},tree:function(e){return e.tree},treeNode:function(e){return function(t){return Object(d["f"])(e.tree,t)}},lasts:function(e){return e.lasts},hasTree:function(e){return e.tree.length>0},mainTreeHasNodes:function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return null!==Object(d["e"])(e.tree,"",function(e){return e.userNode||t&&!e.ticked?null:e})}},userTree:function(e){return e.userTree},observations:function(e){return e.observations},observationsOfViewer:function(e){return function(t){return e.observations.filter(function(e){return e.viewerIdx===t})}},hasObservations:function(e){return 0!==e.observations.length},visibleObservations:function(e){return e.observations.filter(function(e){return e.visible})},observationsIdOnTop:function(e){return e.observations.filter(function(e){return e.top}).map(function(e){return e.id})},contextMenuObservationId:function(e){return e.contextMenuObservationId},knowledgeViews:function(e){return e.knowledgeViews},visibleKnowledgeView:function(e){return e.knowledgeViews.find(function(e){return e.show})},timeEvents:function(e){return e.timeEvents},timeEventsOfObservation:function(e){return function(t){return e.timeEvents.filter(function(e){return e.id===t})}},timeEventsUntil:function(e){return function(t){return e.timeEventsEvents.filter(function(e){return e.timestamp<=t})}},modificationsTask:function(e){return e.modificationsTask},visibleEvents:function(e){var t=e.observations.filter(function(e){return e.visible}).map(function(e){return e.id});return e.timeEvents.filter(function(e){return t.includes(e.id)})},timestamp:function(e){return e.timestamp},engineTimestamp:function(e){return e.engineTimestamp},flowcharts:function(e){return e.flowcharts},flowchart:function(e){return function(t){return e.flowcharts.find(function(e){return e.type===t})}},flowchartsUpdatable:function(e){return e.flowcharts.find(function(e){return e.updatable})},flowchartUpdatable:function(e){return function(t){var n=e.flowcharts.find(function(e){return e.type===t});return!!n&&n.updatable}},dataflowStatuses:function(e){return e.dataflowStatuses},dataflowInfo:function(e){return e.dataflowInfo},contextsId:function(e){return e.contexts.map(function(e){return e.id})},context:function(e){return e.contexts.peek()},contextsCount:function(e){return e.contexts.size()},previousContext:function(e){return e.contexts.previous()},contextById:function(e){return function(t){return e.contexts.findItem(t)}},proposedContext:function(e){return e.proposedContext},hasContext:function(e,t){return null!==t.context},contextLabel:function(e,t){return null!==t.context?t.context.label:null},contextCustomLabel:function(e){return null!==e.contextCustomLabel?e.contextCustomLabel:null},contextsLabels:function(e,t){return null!==t.context?e.contexts.map(function(e){return{label:e.label,contextId:e.id}}):[]},contextId:function(e,t){return null!==t.context?t.context.id:null},contextEncodedShape:function(e,t){return null!==t.context?"".concat(t.context.spatialProjection," ").concat(t.context.encodedShape):""},contextsHistory:function(e){return e.contextsHistory.length>0&&e.contextsHistory.sort(function(e,t){return e.creationTime===t.creationTime?0:e.creationTime>t.creationTime?-1:1}),e.contextsHistory},contextReloaded:function(e,t){return null!==t.context&&"undefined"!==typeof t.context.restored&&t.context.restored},contextHasTime:function(e,t){return null!==t.context&&t.context.scaleReference&&0!==t.context.scaleReference.end},session:function(e){return e.session},scaleReference:function(e,t){return null!==t.context?t.context.scaleReference:e.scaleReference},schedulingResolution:function(e){return e.schedulingResolution},isScaleLocked:function(e){return e.scaleLocked},nextScale:function(e){return e.nextScale},hasNextScale:function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return null!==e.nextScale&&(null===t||t===r["D"].ST_SPACE&&e.nextScale.spaceChanged||t===r["D"].ST_SPACE&&e.nextScale.spaceChanged)}},capabilities:function(e){return e.capabilities},searchResult:function(e){return e.searchResult},interactiveMode:function(e){return e.interactiveMode},isCrossingIDL:function(e){return e.crossingIDL},isLocal:function(e){return e.local},terminals:function(e){return e.terminals},hasActiveTerminal:function(e){return-1!==e.terminals.findIndex(function(e){return e.active})},terminalCommands:function(e){return e.terminalCommands},documentationTrees:function(e){return e.documentationTrees},documentationContent:function(e){return e.documentationContent},isLoggedIn:function(e){return e.isAuthenticated}}),x=n("9523"),k=n.n(x),U=n("1442"),V={SET_SESSION_REFERENCE:function(e,t){e.sessionReference=t},SET_CONTEXT:function(e,t){var n=t.context,o=void 0===n?null:n,a=t.isRecontext,i=void 0!==a&&a;if(null===o)e.contexts.empty();else{var c=e.contexts.findIndex(function(e){return e.id===o.id});if(-1===c){if(i){var s=e.contexts.peek();o.scaleReference=s.scaleReference}e.contexts.push(o)}else e.contexts.pop(c)}e.tree=[],e.userTree=[],e.lasts=[],e.observations=[],e.knowledgeViews=[],e.flowcharts.forEach(function(e){e.flowchart=null,e.graph=null,e.updatable=!1,e.visible=!1}),e.dataflowStatuses=[],e.dataflowInfo=null,e.nodeSelected=null,e.nextScale=null,e.crossingIDL=!1,e.contextCustomLabel=null,e.timeEvents=[],e.timestamp=-1,e.engineTimestamp=-1,e.proposedContext=null,e.documentationTrees.forEach(function(e){e.tree.splice(0,e.tree.length)}),e.documentationContent.clear(),e.documentationView=r["n"].REPORT,null===o?e.contextsHistory=[]:"undefined"===typeof o.restored&&(o.restored=!1),e.schedulingResolution=null},SET_CONTEXT_CUSTOM_LABEL:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;e.contextCustomLabel=t},WAITING_FOR_RESET:function(e,t){e.waitingForReset=t},STORE_CONTEXT:function(e,t){var n=e.contextsHistory.find(function(e){return e.id===t.id});"undefined"===typeof n?(console.debug("Added new context in store with id ".concat(t.id)),e.contextsHistory.push(t)):console.debug("Context with id ".concat(t.id," yet exists in contextHistory"))},SET_RELOAD_FLOWCHART:function(e,t){e.flowcharts.filter(function(e){return null===t||e.target===t}).forEach(function(e){e.updatable=!0,e.visible=!1})},ADD_FLOWCHART:function(e,t){var n=t.flowchart,o=t.target,a=e.flowcharts.find(function(e){return e.type===o});a?(a.flowchart=n,a.updatable=!1):console.warn("Unknown target to add flowchart: ".concat(o))},SET_DATAFLOW_STATUS:function(e,t){var n=t.id,o=t.status,a=e.dataflowStatuses.find(function(e){return e.id===n});"undefined"!==typeof a?a.status=o:e.dataflowStatuses.push({id:n,status:o})},SET_DATAFLOW_INFO:function(e,t){e.dataflowInfo=t},UPDATE_TIME_EVENTS:function(e,t){t.timeEvents&&t.timeEvents.length>0&&(t.timeEvents.forEach(function(n){e.timeEvents.push({id:t.id,timestamp:n})}),console.debug("Added ".concat(t.timeEvents.length," events")))},ADD_OBSERVATION:function(e,t){var n=t.observation;e.observations.push(n),console.info("Added observation: ".concat(n.label)),console.debug("Observation content: ".concat(JSON.stringify(n,null,2)))},UPDATE_OBSERVATION:function(e,t){var n=t.observationIndex,o=t.newObservation,a=e.observations[n],i=p()({},a,o);e.observations.splice(n,1,i);var r=function(e){e?(e.needUpdate=!i.contextualized,e.dynamic=i.dynamic,e.childrenCount=i.childrenCount,e.children.forEach(function(e){e.siblingsCount=i.childrenCount}),e.tickable=null!==i.viewerIdx&&!i.empty||i.isContainer||i.childrenCount>0,e.exportFormats=i.exportFormats):console.warn("Node of ".concat(i.id," - ").concat(i.label," not found"))},c=Object(d["f"])(e.tree,i.id);r(c),c&&c.userNode&&r(Object(d["f"])(e.userTree,i.id))},SET_CONTEXTMENU_OBSERVATIONID:function(e,t){e.contextMenuObservationId=t},MOD_BRING_FORWARD:function(e,t){var n=e.observations.find(function(e){return e.id===t.id});n||console.warn("Receive a bring forward for an unknown observation: ".concat(t.id," - ").concat(t.label)),n.main=!0,t.main=!0},MOD_STRUCTURE_CHANGE:function(e,t){var n=t.node,o=t.modificationEvent,a=e.observations.find(function(e){return e.id===o.id});a.childrenCount=o.newSize,a.empty=!1,o.exportFormats&&(a.exportFormats=o.exportFormats);var i=function(e){e&&(e.childrenCount=o.newSize,o.exportFormats&&(e.exportFormats=o.exportFormats),e.children.forEach(function(e){e.siblingsCount=o.newSize}),e.tickable=!0,e.disabled=!1,e.empty=!1,e.needUpdate=!0)};i(n),n.userNode&&i(Object(d["f"])(e.userTree,n.id))},MOD_VALUE_CHANGE:function(e,t){if(t.dynamic=!0,t.needUpdate=!1,t.userNode){var n=Object(d["f"])(e.userTree,t.id);n?(n.dynamic=!0,n.needUpdate=!1):console.warn("Node theoretically in user tree but not found: ".concat(t.id," - ").concat(t.label))}},ADD_KNOWLEDGE_VIEW:function(e,t){e.knowledgeViews.push(p()({},t,{show:!1}))},SHOW_KNOWLEDGE_VIEW:function(e,t){e.knowledgeViews.forEach(function(e){e.viewId===t&&(e.show=!0)})},ADD_TIME_EVENT:function(e,t){var n=-1!==e.timeEvents.findIndex(function(e){return e.id===t.id&&e.timestamp===t.timestamp&&e.newAttributes===t.newAttributes&&e.newScale===t.newScale&&e.newName===t.newName&&e.newSemantics===t.newSemantics&&e.newSize===t.newSize});n?console.warn("Duplicated time event:\n ".concat(JSON.stringify(t,null,2))):e.timeEvents.push(t)},SET_MODIFICATIONS_TASK:function(e,t){e.modificationsTask=t},SET_TIMESTAMP:function(e,t){e.timestamp=t},SET_ENGINE_TIMESTAMP:function(e,t){e.engineTimestamp=t},SET_SCHEDULING_STATUS:function(e,t){if(null!==e.scaleReference)switch(t.type){case"TIME_ADVANCED":e.engineTimestamp=t.currentTime;break;case"STARTED":e.engineTimestamp=t.currentTime,e.schedulingResolution=t.resolution,N["b"].$emit(r["h"].NEW_SCHEDULING);break;case"FINISHED":e.engineTimestamp=e.scaleReference.end;break;default:console.warn("Unknown scheduling type: ".concat(t.type));break}else console.warn("Try to change scheduling type but no scaleReference")},ADD_NODE:function(e,t){var n=t.node,o=t.parentId,a=t.toUserTreeOnly,i=void 0!==a&&a,r=e.contexts.peek();if(null===r)return console.info("Context is null, it's just set or is a new observation of previous search for this session, so added to orphans. ID: ".concat(n.id)),void e.orphans.push(n);var c=r.id===r.rootContextId;if((c&&n.rootContextId!==r.id||!c&&n.contextId!==r.id)&&console.info("Subcontext or trying to add to tree an observation of other context. Actual: ".concat(r.id," / Node: ").concat(n.rootContextId)),r.id!==n.id)if(r.id===o){if(i||e.tree.push(n),n.userNode){var s=JSON.parse(JSON.stringify(n));e.userTree.push(s)}}else{var l=function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,i=Object(d["f"])(t,o);null!==i?(i.children.length===i.childrenCount&&(i.childrenCount++,i.children.forEach(function(e){e.siblingsCount=i.childrenCount})),i.children.push(p()({},a,{idx:i.children.length,siblingsCount:i.childrenCount})),i.disabled=!1):(console.warn("Orphan founded with id ".concat(n.id)),e.orphans.push(n))};i||l(e.tree),n.userNode&&l(e.userTree,JSON.parse(JSON.stringify(n)))}else console.error("Try to add context to tree, check it!")},REMOVE_NODE:function(e,t){var n=t.id,o=t.fromMainTree,a=void 0!==o&&o,i=a?e.tree:e.userTree,r=function e(t,n){var o=t.findIndex(function(e){return e.id===n});-1===o?t.forEach(function(t){t.children&&0!==t.children.length&&e(t.children,n)}):(t.splice(o,1),console.debug("Find and delete node ".concat(n," from ").concat(a?"main tree":"user tree")))};r(i,n)},UPDATE_USER_NODE:function(e,t){var n=t.node,o=t.userNode,a=function e(t){t.userNode=o,t.children&&t.children.length>0&&t.children.forEach(function(t){return e(t)})};a(n)},SET_FOLDER_VISIBLE:function(e,t){var n=t.nodeId,o=t.visible,a=t.zIndexOffset;if(null!==a){e.observations.forEach(function(e){e.parentArtifactId===n||e.parentId===n?(e.visible=o,e.top=o):o&&e.zIndexOffset===a&&(e.top=!1)});var i=e.observations.find(function(e){return e.id===n});"undefined"!==typeof i&&(i.visible=o)}else console.info("Folder with id ".concat(n," has no loaded elements"));var r=function(e){var t=Object(d["f"])(e,n);"undefined"!==typeof t&&null!==t&&t.children.length>0&&(t.children.forEach(function(e){e.parentArtifactId===t.id&&(e.ticked=o)}),t.ticked=o)};r(e.tree),r(e.userTree)},SET_VISIBLE:function(e,t){var n=t.id,o=t.visible,a=e.observations.findIndex(function(e){return e.id===n}),i=e.observations[a];if("undefined"!==typeof i){var r=i.zIndexOffset;i.visible=o,i.top=o,o&&e.observations.forEach(function(e){e.id!==n&&e.zIndexOffset===r&&(e.top=!1)});var c=function(e){var t=Object(d["f"])(e,n);t&&(t.ticked=o)};c(e.tree),c(e.userTree),e.observations.splice(a,1,i)}else console.warn("Try to change visibility to no existing observations with id ".concat(n))},SET_LOADING_LAYERS:function(e,t){var n=t.loading,o=t.observation;if(o){o.loading=n;var a=Object(d["f"])(e.tree,o.id);if(a&&(a.loading=n,a.userNode)){var i=Object(d["f"])(e.userTree,o.id);i.loading=n}}},STORE_RAW_SEARCH_RESULT:function(e,t){e.searchResult=t},ADD_LAST:function(e,t){var n=t.parentId,o=t.observationId,a=t.offsetToAdd,i=t.total,r=e.lasts.findIndex(function(e){return n===e.parentId});if(-1!==r){var c=e.lasts[r];c.offset+a>=c.total?(e.lasts.splice(r,1),console.info("Folder ".concat(n," fully loaded"))):(c.observationId=o,c.offset+=a,console.info("Loaded more elements in folder ".concat(n,". New offset is ").concat(c.offset," ")))}else{if(a+1===i)return void console.info("Nothing to do in folder ".concat(n,". Offset is ").concat(a," and total is ").concat(i," "));e.lasts.push({parentId:n,observationId:o,offset:a,total:i}),console.debug("Added folder ".concat(n,". Offset is ").concat(a," "))}},SET_SCALE_REFERENCE:function(e,t){null===t.timeUnit&&(t.timeUnit=r["F"].YEAR),e.scaleReference=t,e.context||(null!==e.scaleReference.shape?e.proposedContext=d["a"].readGeometry(e.scaleReference.shape,{dataProjection:U["d"].PROJ_EPSG_4326,featureProjection:U["d"].PROJ_EPSG_3857}):e.proposedContext=null),console.info("Scale reference set: ".concat(JSON.stringify(t,null,2)))},UPDATE_SCALE_REFERENCE:function(e,t){var n,o=t.type,a=t.unit,i=t.timeResolutionMultiplier,c=t.start,s=t.end,l=t.next,u=void 0!==l&&l,d=t.spaceResolution;o===r["D"].ST_SPACE&&0!==d&&Math.round(d)!==d&&(d=d.toFixed(1));var E=p()({},e.scaleReference,(n={},k()(n,"".concat(o,"Unit"),a),k()(n,"".concat(o,"ResolutionDescription"),(d&&0!==d?"".concat(d," "):"")+a),n),o===r["D"].ST_SPACE&&{spaceResolution:d,spaceResolutionConverted:d},o===r["D"].ST_TIME&&{timeResolutionMultiplier:i,start:c,end:s});u?e.nextScale=p()({},E,{spaceChanged:o===r["D"].ST_SPACE,timeChanged:o===r["D"].ST_TIME}):e.scaleReference=E},SET_SCALE_LOCKED:function(e,t){var n=t.scaleType,o=t.scaleLocked;"all"===n?(e.scaleLocked.space=o,e.scaleLocked.time=o):Object.prototype.hasOwnProperty.call(e.scaleLocked,n)?(console.info("Set ".concat(o," to ").concat(n," scale type")),e.scaleLocked[n]=o):console.error("Try to set locked to unknow scale type: ".concat(n))},SET_INTERACTIVE_MODE:function(e,t){e.interactiveMode=t},SET_CROSSING_IDL:function(e,t){e.crossingIDL=t},ADD_TERMINAL:function(e,t){e.terminals.push(t)},REMOVE_TERMINAL:function(e,t){var n=e.terminals.findIndex(function(e){return e.id===t});-1!==n?e.terminals.splice(n,1):console.warn("Trying to remove unknown terminal ".concat(t))},ADD_TERMINAL_COMMAND:function(e,t){e.terminalCommands.push(t),localStorage.setItem(r["R"].LOCAL_STORAGE_TERMINAL_COMMANDS,JSON.stringify(e.terminalCommands))},CLEAR_TERMINAL_COMMANDS:function(e){e.terminalCommands.splice(0,e.terminalCommands.length),localStorage.setItem(r["R"].LOCAL_STORAGE_TERMINAL_COMMANDS,JSON.stringify(e.terminalCommands))},AUTH_SUCCESS:function(e){e.isAuthenticated=!0},LOGOUT:function(e){e.isAuthenticated=void 0},SET_DOCUMENTATION:function(e,t){var n=t.view,o=t.tree,a=e.documentationTrees.findIndex(function(e){return e.view===n});-1===a?console.warn("Unknown documentation view: ".concat(n)):e.documentationTrees[a].tree=o},ADD_DOCUMENTATION:function(e,t){t.forEach(function(t){e.documentationContent.set(t.id,t)})}},F=(n("28a5"),n("f559"),n("ffc1"),n("96cf"),n("c973")),Y=n.n(F),W=n("be3b"),G=n("17dc"),j=n("e7d8"),H=void 0,z={loadSessionReference:function(e){var t=e.commit;return new Promise(function(e,n){W["a"].get("".concat("").concat(c["c"].REST_SESSION_INFO),{maxRedirects:0}).then(function(n){var o=n.data;o&&(t("SET_SESSION_REFERENCE",o),e())}).catch(function(e){e.response&&403===e.response.status?n(new Error("Invalid session")):n(new Error("Error retrieving session: ".concat(e)))})})},setContext:function(e,t){var n=t.context,o=t.isRecontext,a=e.commit,i=e.getters,r=e.dispatch;null!==i.context&&i.context.id===n.id||(a("SET_CONTEXT",{context:n,isRecontext:o}),o&&r("view/resetContext",null,{root:!0}),r("view/setContextLayer",n,{root:!0}),console.debug("Send start watch context ".concat(n.id)),Object(d["q"])(G["a"].WATCH_REQUEST,{active:!0,observationId:n.id,rootContextId:n.rootContextId}))},resetContext:function(e){var t=e.commit,n=e.dispatch,o=e.state,a=e.getters,i=a.context;if(null!==i){var s={id:i.id,rootContextId:i.rootContextId};t("SET_CONTEXT",{}),n("getSessionContexts"),n("view/resetContext",null,{root:!0}),null!==o.waitingForReset?(n("loadContext",o.waitingForReset),o.waitingForReset=null):n("addObservation",{observation:r["C"],main:!0}),n("view/addToKlabLog",{type:c["a"].TYPE_INFO,payload:{message:"Context reset",separator:!0}},{root:!0}),console.debug("Send stop watch context ".concat(s.id)),Object(d["q"])(G["a"].WATCH_REQUEST,{active:!1,observationId:s.id,rootContextId:s.rootContextId})}else console.info("Try to reset null context, is initial reset?")},setWaitinForReset:function(e){var t=e.commit,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;t("WAITING_FOR_RESET",n)},loadContext:function(e,t){var n=e.commit,o=e.dispatch;console.info("Ask for context to restore ".concat(t)),W["a"].get("".concat("").concat(c["c"].REST_SESSION_VIEW,"describe/").concat(t),{params:{childLevel:1}}).then(function(){var e=Y()(regeneratorRuntime.mark(function e(a){var i,c,s;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:return i=a.data,i.restored=!0,e.next=4,o("setContext",{context:p()({},i,{children:[]})});case 4:if(n("data/SET_RELOAD_FLOWCHART",{target:null},{root:!0}),console.debug("Context received with id ".concat(i.id)),!(i.children.length>0)){e.next=12;break}return c=[],s=i.children,s.forEach(function(e){null!==e.taskId&&(-1===c.indexOf(e.taskId)&&c.push(e.taskId),o("addObservation",{observation:e,restored:!0}))}),e.next=12,Promise.all(c);case 12:o("view/setSpinner",p()({},r["J"].SPINNER_STOPPED,{owner:t}),{root:!0});case 13:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}()).catch(function(e){throw o("view/setSpinner",p()({},r["J"].SPINNER_ERROR,{owner:t,errorMessage:e}),{root:!0}),e})},getSessionContexts:function(e){var t=e.getters,n=e.commit;return new Promise(function(e,o){if(null!==t.session){var a="".concat("").concat(c["c"].REST_STATUS);Object(d["h"])(t.session,a,{transformRequest:[function(e,t){return delete t.common[r["r"].KLAB_AUTHORIZATION],e}]},function(a,i){var r=a.data;if(console.debug("Contexts history:\n".concat(JSON.stringify(r,null,4))),r&&r.sessions&&r.sessions.length>0){var c=r.sessions.find(function(e){return e.id===t.session});if("undefined"!==typeof c){var s=c.rootObservations;if(null===s||0===Object.keys(s).length&&s.constructor===Object)console.debug("No root observation founded"),e(0);else{console.debug("Find ".concat(Object.keys(s).length," root observations for this session"));var l=0;Object.entries(s).forEach(function(e){n("STORE_CONTEXT",e[1]),l+=1}),e(l)}}else console.warn("No information for session ".concat(t.session,", isn't valid session?")),o(new Error("No information for session ".concat(t.session,", disconnect")))}i()})}else o(new Error("No session established, no useful engine available, disconnect"))})},setContextCustomLabel:function(e,t){var n=e.commit;n("SET_CONTEXT_CUSTOM_LABEL",t)},addObservation:function(e,t){var n=e.commit,o=e.rootGetters,a=e.state,i=e.dispatch,c=t.observation,s=t.toTree,l=void 0===s||s,u=t.visible,E=void 0!==u&&u,f=t.restored,T=void 0!==f&&f,S=t.updated,m=void 0!==S&&S;return new Promise(function(e){var t=a.observations.findIndex(function(e){return e.id===c.id});return-1!==t?(m?(n("UPDATE_OBSERVATION",{observationIndex:t,newObservation:c}),n("UPDATE_TIME_EVENTS",c),console.debug("Observation$ ".concat(c.label," updated"))):i("view/addToKexplorerLog",{type:r["y"].TYPE_WARNING,payload:{message:"Existing observation received: ".concat(c.label)},important:!0},{root:!0}),e()):(i("view/assignViewer",{observation:c},{root:!0}).then(function(t){if(c.viewerIdx=t,c.visible=E,c.top=!1,c.zIndex=0,c.layerOpacity=c.layerOpacity||1,c.colormap=c.colormap||null,c.tsImages=[],c.isContainer=c.observationType===r["A"].TYPE_GROUP||c.observationType===r["A"].TYPE_VIEW,c.singleValue=c.observationType===r["A"].TYPE_STATE&&1===c.valueCount,c.loading=!1,c.loaded=!0,null===c.contextId){var a=o["stomp/tasks"].find(function(e){return c.taskId.startsWith(e.id)});if(a){var s=a.contextId;c.contextId=s}else c.contextId=c.rootContextId}if(n("ADD_OBSERVATION",{observation:p()({},c,{children:[]}),restored:T}),n("UPDATE_TIME_EVENTS",c),c.observationType===r["A"].TYPE_INITIAL)return e();if(c.children.length>0&&(c.disabled=!1,c.children.forEach(function(e){i("addObservation",{observation:e})})),l){var u=Object(d["l"])(c);if(n("ADD_NODE",u),c.childrenCount>0&&0===c.children.length){var f=u.node;i("addStub",f)}}return e()}),null)})},updateObservation:function(e,t){var n=e.commit,o=e.dispatch,a=e.state,i=t.observationId,r=t.exportFormats,s=a.observations.findIndex(function(e){return e.id===i});-1!==s?W["a"].get("".concat("").concat(c["c"].REST_SESSION_VIEW,"describe/").concat(i),{params:{childLevel:0}}).then(function(e){var t=e.data;if(t){if(r&&(t.exportFormats=r),n("UPDATE_OBSERVATION",{observationIndex:s,newObservation:t}),t.childrenCount>0){var c=Object(d["f"])(a.tree,t.id),l=c.children,u=l.length>0;u&&1===l.length&&(u=!l[0].id.startsWith("STUB")),u&&o("askForChildren",{parentId:i,count:Math.max(l.length,a.childrenToAskFor),total:t.childrenCount,updated:!0})}}else console.warn("Ask for update observation ".concat(i," but nothing found in engine"))}):console.warn("Try to update a not existing observation: ".concat(i))},addStub:function(e,t){var n=e.commit;n("ADD_NODE",{node:p()({},t,{id:"STUB-".concat(t.id),observable:"",label:"",children:[],childrenCount:0,childrenLoaded:0,siblingsCount:t.childrenCount,parentArtifactId:t.id,tickable:!1,disabled:!0,empty:!0,actions:{},header:"stub",main:!1,isContainer:!1,exportFormats:{},observationType:r["A"].TYPE_INITIAL,noTick:!0,parentId:t.id,dynamic:!1},t.userNode&&{userNode:t.userNode}),parentId:t.id}),n("ADD_LAST",{parentId:t.id,observationId:"STUB-".concat(t.id),offsetToAdd:0,total:t.childrenCount})},addKnowledgeView:function(e,t){var n=e.commit;n("ADD_KNOWLEDGE_VIEW",t)},showKnowledgeView:function(e,t){var n=e.commit;n("SHOW_KNOWLEDGE_VIEW",t)},addModificationEvent:function(e,t){var n=e.rootGetters,o=e.state,a=e.commit,i=e.dispatch,c=Object(d["f"])(o.tree,t.id);if(c)switch(t.type){case r["z"].BRING_FORWARD:a("MOD_BRING_FORWARD",c),i("changeTreeOfNode",{id:t.id,isUserTree:!0});break;case r["z"].VALUE_CHANGE:a("MOD_VALUE_CHANGE",c),a("ADD_TIME_EVENT",t),null===o.modificationsTask&&i("setModificationsTask",n["stomp/lastActiveTask"]());break;case r["z"].STRUCTURE_CHANGE:a("MOD_STRUCTURE_CHANGE",{node:c,modificationEvent:t}),c.childrenCount>0&&0===c.children.length&&i("addStub",c);break;case r["z"].CONTEXTUALIZATION_COMPLETED:i("updateObservation",{observationId:t.id,exportFormats:t.exportFormats});break;default:console.warn("Unknown modification event: ".concat(t.type));break}else t.id!==t.contextId?console.debug("Modification event for a not existing node, probably still not loaded",t):console.debug("Modification event for context",t)},setModificationsTask:function(e){var t=e.commit,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;t("SET_MODIFICATIONS_TASK",n)},setTimestamp:function(e,t){var n=e.commit;t&&-1!==t&&(t=Math.round(t)),n("SET_TIMESTAMP",t)},setScheduling:function(e,t){var n=e.commit,o=e.getters;o.context&&t.contextId===o.context.id?n("SET_SCHEDULING_STATUS",t):console.debug("Received a scheduling of other context: ".concat(t.contextId))},askForChildren:function(e,t){var n=e.commit,o=e.dispatch,a=e.state,i=t.parentId,s=t.total,l=t.offset,u=void 0===l?0:l,E=t.count,f=void 0===E?a.childrenToAskFor:E,T=t.toTree,S=void 0===T||T,m=t.visible,O=void 0!==m&&m,b=t.notified,A=void 0===b||b,_=t.updated,I=void 0!==_&&_;return new Promise(function(e){console.debug("Ask for children of node ".concat(i,": count:").concat(f," / offset ").concat(u)),o("view/setSpinner",p()({},r["J"].SPINNER_LOADING,{owner:i}),{root:!0}).then(function(){W["a"].get("".concat("").concat(c["c"].REST_SESSION_VIEW,"children/").concat(i),{params:{count:f,offset:u}}).then(function(t){var c=t.data;c&&c.length>0?c.forEach(function(t,l,u){t.notified=A,t.siblingsCount=s,o("addObservation",{observation:t,toTree:S,visible:O,updated:I}).then(function(){if(l===u.length-1){S&&n("ADD_LAST",{parentId:i,observationId:t.id,offsetToAdd:c.length,total:s});var E=function(e){var t=Object(d["f"])(e,i);t&&null!==t&&(t.childrenLoaded+=c.length)};E(a.tree),E(a.userTree),o("view/setSpinner",p()({},r["J"].SPINNER_STOPPED,{owner:i}),{root:!0}),e()}})}):(o("view/setSpinner",p()({},r["J"].SPINNER_STOPPED,{owner:i}),{root:!0}),e())})})})},addChildrenToTree:function(e,t){var n=e.dispatch,o=e.commit,a=e.state,i=t.parent,r=t.count,c=void 0===r?a.childrenToAskFor:r;if(i&&null!==i)for(var s=a.observations.filter(function(e){return e.parentArtifactId===i.id||e.parentId===i.id}),l=s.length,u=i.children.length,E=u,f=0;E0&&0===T.children.length&&n("addStub",p.node),f!==c-1&&E!==l-1||o("ADD_LAST",{parentId:i.id,observationId:T.id,offsetToAdd:f+1,total:i.childrenLoaded})}},changeTreeOfNode:function(e,t){var n=e.commit,o=e.state,a=t.id,i=t.isUserTree,r=Object(d["f"])(o.tree,a);i?null===Object(d["f"])(o.userTree,a)?(n("UPDATE_USER_NODE",{node:r,userNode:!0}),n("ADD_NODE",{node:r,parentId:r.parentArtifactId||r.parentId,toUserTreeOnly:!0})):console.warn("Try to move to user tree an existing node: ".concat(a," - ").concat(r.label)):(n("UPDATE_USER_NODE",{node:r,userNode:!1}),n("REMOVE_NODE",{id:a}))},setVisibility:function(e,t){var n=e.commit,o=e.dispatch,a=e.state,i=t.node,r=t.visible;if(i.isContainer){if(0!==i.childrenCount&&null===i.viewerIdx){var c=a.observations.find(function(e){return e.parentArtifactId===i.id||e.parentId===i.id});if("undefined"!==typeof c){var s=c.viewerIdx,l=c.viewerType,u=c.zIndexOffset;i.viewerIdx=s,i.viewerType=l,i.zIndexOffset=u}else i.zIndexOffset=null}null!==i.viewerIdx&&o("view/setMainDataViewer",{viewerIdx:i.viewerIdx,visible:r},{root:!0}),n("SET_FOLDER_VISIBLE",{nodeId:i.id,visible:r,zIndexOffset:i.zIndexOffset})}else o("view/setMainDataViewer",{viewerIdx:i.viewerIdx,visible:r},{root:!0}),n("SET_VISIBLE",{id:i.id,visible:r})},putObservationOnTop:function(e,t){var n=e.commit;n("SET_VISIBLE",{id:t,visible:!0})},setContextMenuObservationId:function(e,t){var n=e.commit;n("SET_CONTEXTMENU_OBSERVATIONID",t)},selectNode:function(e,t){var n=e.dispatch,o=e.state;if(null===t)n("view/setObservationInfo",null,{root:!0});else{var a=o.observations.find(function(e){return e.id===t});a&&(a.visible&&!a.top&&n("setVisibility",{node:a,visible:!0}),n("view/setObservationInfo",a,{root:!0}))}},setLoadingLayers:function(e,t){var n=e.commit,o=t.loading,a=t.observation;a&&n("SET_LOADING_LAYERS",{loading:o,observation:a})},loadFlowchart:function(e){var t=e.commit,n=e.getters,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r["g"].GRAPH_DATAFLOW;return new Promise(function(e,a){console.info("Ask for flowchart ".concat(o)),W["a"].get("".concat("").concat(c["c"].REST_API_EXPORT,"/").concat(o,"/").concat(n.contextId),{headers:{Accept:"application/json"}}).then(function(i){var r=i.data;if("undefined"!==typeof r&&null!==r)try{r.restored=n.context.restored,t("ADD_FLOWCHART",{flowchart:r,target:o}),e()}catch(e){a(new Error("Error in dataflow layout for the context ".concat(H.contextId,": ").concat(e)))}else a(new Error("Dataflow in context ".concat(H.contextId," has no layout")))}).catch(function(e){a(e)})})},setReloadFlowchart:function(e,t){var n=e.commit,o=t.target;n("SET_RELOAD_FLOWCHART",o)},setDataflowStatus:function(e,t){var n=e.commit,o=t.id,a=t.status;n("SET_DATAFLOW_STATUS",{id:o,status:a})},setDataflowInfo:function(e,t){var n=e.commit;if(null===t)n("SET_DATAFLOW_INFO",null);else{var o=t.id,a=t.html,i=t.rateable,r=t.rating,c=t.averageRating;if(null!==o&&""!==o){var s=o.split("."),l=s[s.length-1],u=s.slice(0,s.length-1);n("SET_DATAFLOW_INFO",{elementId:l,elementTypes:u,html:a,rateable:i,rating:r,averageRating:c})}}},storeSearchResult:function(e,t){var n=e.commit;n("STORE_RAW_SEARCH_RESULT",t)},setScaleReference:function(e,t){var n=e.commit;n("SET_SCALE_REFERENCE",t)},updateScaleReference:function(e,t){var n=e.commit;n("UPDATE_SCALE_REFERENCE",t)},setScaleLocked:function(e,t){var n=e.commit,o=t.scaleType,a=t.scaleLocked;n("SET_SCALE_LOCKED",{scaleType:o,scaleLocked:a})},setInteractiveMode:function(e,t){var n=e.commit;n("SET_INTERACTIVE_MODE",t)},setCrossingIDL:function(e,t){var n=e.commit;n("SET_CROSSING_IDL",t)},addTerminal:function(e,t){var n=e.state,o=e.commit,a=t.id,i=t.active,c=t.type;if(a){var s=n.terminals.findIndex(function(e){return e.id===a});-1!==s?console.warn("Terminal already exists"):n.terminals[s].active=!0}else a="".concat(n.session,"-").concat(++n.terminalsCounter),o("ADD_TERMINAL",{id:a,active:"undefined"===typeof i||i,type:c||r["M"].CONSOLE})},removeTerminal:function(e,t){var n=e.commit;n("REMOVE_TERMINAL",t)},addTerminalCommand:function(e,t){var n=e.commit;n("ADD_TERMINAL_COMMAND",t)},clearTerminalCommands:function(e){var t=e.commit;t("CLEAR_TERMINAL_COMMANDS")},loadDocumentation:function(e){var t=e.dispatch,n=e.getters,o=e.rootGetters,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return new Promise(function(e,i){if(null===n.contextId)return console.warn("Ask documentation without context"),void i(new Error("Ask documentation without context"));null===a&&(a=o["view/documentationView"],null===a&&console.warn("No view selected")),W["a"].get("".concat("").concat(c["c"].REST_SESSION_OBSERVATION,"documentation/").concat(a,"/").concat(n.contextId),{}).then(function(n){var o=n.data;""===o?(console.warn("Empty report"),e(!1)):t("refreshDocumentation",{view:a,documentation:o}).then(function(){t("view/removeReloadView",a,{root:!0}).then(function(){e(!0)})})}).catch(function(e){i(e)})})},refreshDocumentation:function(e,t){var n=e.commit,o=t.view,a=t.documentation,i=[],c=[],s=new Map,l=function e(t,n,o,a){var i,l;switch(n.type===r["l"].SECTION?l=null===o?"".concat(a,"."):"".concat(o).concat(a,"."):(l=s.has(n.type)?s.get(n.type)+1:1,s.set(n.type,l)),n.type){case r["l"].SECTION:i="".concat(l," ").concat(n.title);break;case r["l"].TABLE:i="".concat(Object(j["b"])().tc("label.reportTable")," ").concat(l,". ").concat(n.bodyText);break;case r["l"].RESOURCE:i=n.title;break;case r["l"].MODEL:i=n.id;break;case r["l"].REFERENCE:i=n.id;break;case r["l"].FIGURE:i="".concat(Object(j["b"])().tc("label.reportFigure")," ").concat(l,". ").concat(n.figure.label);break;default:i=n.type}var u={type:n.type,id:n.id,idx:l,parentId:n.parentId,previousId:n.previousId,nextId:n.nextId,label:i,children:[]},d=0;n.children.forEach(function(t){var n=-1;t.type===r["l"].SECTION&&(n=++d),e(u.children,t,l,n)}),t.push(u),c.push({id:n.id,idx:l,label:i,type:n.type,title:n.title,subtitle:n.subtitle,bodyText:n.bodyText,model:n.model,section:n.section,resource:n.resource,table:n.table,figure:n.figure,reference:n.reference})},u=0;a.forEach(function(e,t){l(i,e,null,e.type===r["l"].SECTION?++u:t)}),n("SET_DOCUMENTATION",{view:o,tree:i}),n("ADD_DOCUMENTATION",c)},getAuthentication:function(e){var t=e.getters;return new Promise(function(e){setInterval(function(){void 0!==t.isLoggedIn&&e(t.isLoggedIn)},600)})}},B={namespaced:!0,state:D,getters:M,mutations:V,actions:z},K={stompClient:null,connectionState:r["f"].CONNECTION_UNKNOWN,reconnectionsAttempt:0,subscriber:null,sentMessages:[],receivedMessages:[],queuedMessage:null,tasks:[],subscriptions:[]},Q={connectionDown:function(e){return e.connectionState!==r["f"].CONNECTION_UP},lastError:function(e){var t=e.receivedMessages.filter(function(e){return e.type===r["y"].TYPE_ERROR}).slice(-1);return 1===t.length?t[0]:null},lastMessage:function(e){var t=e.receivedMessages.filter(function(e){return e.type===r["y"].TYPE_MESSAGE}).slice(-1);return 1===t.length?t[0]:null},lastReceivedMessage:function(e){return e.receivedMessages.length>0?e.receivedMessages.slice(-1)[0]:null},lastSendedMessage:function(e){return e.sentMessages.length>0?e.sentMessages.slice(-1)[0]:null},subscriberId:function(e){return null!==e.subscriber?e.subscriber.id:null},queuedMessage:function(e){return e.queuedMessage},connectionState:function(e){return e.connectionState},connectionUp:function(e){return e.connectionState===r["f"].CONNECTION_UP},tasks:function(e){return e.tasks},taskIsAlive:function(e){return function(t){return"undefined"!==typeof e.tasks.find(function(e){return e.id===t&&e.alive})}},taskOfContextIsAlive:function(e,t,n,o){return"undefined"!==typeof e.tasks.find(function(e){return e.contextId===o["data/contextId"]&&e.alive})},contextTaskIsAlive:function(e){return function(t){return"undefined"!==typeof e.tasks.find(function(e){return e.contextId===t&&e.alive})}},hasTasks:function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return-1!==e.tasks.findIndex(function(e){return e.alive&&(null===t||e.contextId===t)})}},lastActiveTask:function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=e.tasks.filter(function(e){return e.alive&&(null===t||e.contextId===t)});return n.length>0?n.pop():null}}},X={STOMP_CONNECTION_STATE:function(e,t){e.connectionState=t},STOMP_ERROR:function(e,t){Object(d["p"])(e.receivedMessages,{date:_()().format("HH:mm:ss"),type:r["y"].TYPE_ERROR,message:t})},STOMP_MESSAGE:function(e,t){Object(d["p"])(e.receivedMessages,{date:_()().format("HH:mm:ss"),type:r["y"].TYPE_MESSAGE,message:t})},STOMP_SEND_MESSAGE:function(e,t){Object(d["p"])(e.sentMessages,p()({date:_()().format("HH:mm:ss")},t))},STOMP_SUBSCRIBED:function(e,t){e.subscriber=t},STOMP_RECONNECTIONS_ATTEMPT:function(e,t){e.reconnectionsAttempt=t},STOMP_RECONNECTIONS_ATTEMPT_RESET:function(e){e.reconnectionsAttempt=0},STOMP_QUEUE_MESSAGE:function(e,t){e.queuedMessage=t},STOMP_CLEAN_QUEUE:function(e){e.queuedMessage=null},TASK_START:function(e,t){var n=t.id,o=t.contextId,a=t.description;-1!==e.tasks.findIndex(function(e){return e.id===n})?console.debug("Received duplicated start task id: ".concat(n," - ").concat(a)):e.tasks.push({id:n,contextId:o,description:a,alive:!0})},TASK_END:function(e,t){var n=t.id,o=e.tasks.findIndex(function(e){return e.id===n});if(-1!==o){var a=e.tasks[o];a.alive=!1,e.tasks.splice(o,1,a)}else console.debug("Task with id = ".concat(n," not founded or is not alive"))}};function q(e,t,n,o){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];e("view/addToKexplorerLog",{type:t,payload:{message:n,attach:o},important:a},{root:!0})}var J=(o={},k()(o,c["a"].TYPE_TASKSTARTED,function(e,t){var n=e.payload,o=t.dispatch;o("stomp/taskStart",n,{root:!0}),q(o,r["y"].TYPE_DEBUG,"Started task with id ".concat(n.id)),o("view/addToStatusTexts",{id:n.id,text:n.description},{root:!0})}),k()(o,c["a"].TYPE_TASKABORTED,function(e,t){var n=e.payload,o=t.dispatch;o("stomp/taskAbort",n,{root:!0}),q(o,r["y"].TYPE_ERROR,"Aborted task with id ".concat(n.id),n),o("view/removeFromStatusTexts",n.id,{root:!0})}),k()(o,c["a"].TYPE_TASKFINISHED,function(e,t){var n=e.payload,o=t.dispatch;o("stomp/taskEnd",n,{root:!0}),q(o,r["y"].TYPE_DEBUG,"Ended task with id ".concat(n.id)),o("view/removeFromStatusTexts",n.id,{root:!0})}),k()(o,c["a"].TYPE_PROVENANCECHANGED,function(e,t){var n=e.payload,o=t.dispatch,a=t.rootGetters;n.contextId&&null!==a["data/context"]&&a["data/context"].id!==n.contextId?(q(o,r["y"].TYPE_INFO,"Provenance of incorrect context received"),console.warn(a["data/context"].id,n.contextId)):(o("data/setReloadFlowchart",{target:n.target},{root:!0}),q(o,r["y"].TYPE_DEBUG,"Provenance available in context ".concat(n.contextId)))}),k()(o,c["a"].TYPE_DATAFLOWCOMPILED,function(e,t){var n=e.payload,o=t.dispatch,a=t.rootGetters;n.contextId&&null!==a["data/context"]&&a["data/context"].id!==n.contextId?(q(o,r["y"].TYPE_INFO,"Dataflow of incorrect context received"),console.warn(a["data/context"].id,n.contextId)):(o("data/setReloadFlowchart",{target:n.target},{root:!0}),q(o,r["y"].TYPE_DEBUG,"Dataflow compiled in context ".concat(n.contextId)))}),k()(o,c["a"].TYPE_DATAFLOWSTATECHANGED,function(e,t){var n,o=e.payload,a=t.dispatch;n="STARTED"===o.status?r["i"].PROCESSING:"FINISHED"===o.status?r["i"].PROCESSED:"ABORTED"===o.status?r["i"].ABORTED:r["i"].WAITING,a("data/setDataflowStatus",{id:o.nodeId,status:n},{root:!0})}),k()(o,c["a"].TYPE_DATAFLOWDOCUMENTATION,function(e,t){var n=e.payload,o=t.dispatch;n&&n.dataflowId&&n.htmlDescription?(q(o,r["y"].TYPE_DEBUG,"Dataflow element info received",n),o("data/setDataflowInfo",{id:n.dataflowId,html:n.htmlDescription,rateable:n.rateable,rating:n.rating,averageRating:n.averageRating},{root:!0})):q(o,r["y"].TYPE_WARNING,"Strange payload of dataflow element info received",n)}),k()(o,c["a"].TYPE_NEWOBSERVATION,function(e,t){var n=e.payload,o=t.rootState,a=t.rootGetters,i=t.dispatch,c=o.stomp.tasks.find(function(e){return e.id===n.taskId});"undefined"===typeof c&&-1!==o.data.contextsHistory.findIndex(function(e){return e.id===n.contextId})&&(i("stomp/taskStart",{id:n.taskId,description:r["p"].UNKNOWN_SEARCH_OBSERVATION,contextId:n.contextId},{root:!0}),i("view/addToStatusTexts",{id:n.taskId,text:r["p"].UNKNOWN_SEARCH_OBSERVATION},{root:!0}),q(i,r["y"].TYPE_INFO,"Received an observation of previous context with no task associated. Session was been reloaded?",n)),null===n.parentId?null===a["data/context"]?(q(i,r["y"].TYPE_DEBUG,"New context received with id ".concat(n.id),n),i("data/setContext",{context:n},{root:!0}),"undefined"!==typeof n.scaleReference&&null!==n.scaleReference&&i("data/setScaleReference",n.scaleReference,{root:!0})):q(i,r["y"].TYPE_ERROR,"Strange behaviour: observation with no parent in existing context: ".concat(n.id," - ").concat(n.label),n):null!==a["data/context"]&&(a["data/context"].id===n.rootContextId||c&&a["data/context"].id===c.contextId)?(q(i,r["y"].TYPE_INFO,"New observation received with id ".concat(n.id,", rootContextId ").concat(n.rootContextId," and contextId ").concat(n.contextId),n),n.notified=!0,i("data/addObservation",{observation:n},{root:!0})):q(i,r["y"].TYPE_INFO,"Received an observation of different context",n,null,4)}),k()(o,c["a"].TYPE_MODIFIEDOBSERVATION,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["y"].TYPE_DEBUG,"Received a modification event",n),o("data/addModificationEvent",n,{root:!0})}),k()(o,c["a"].TYPE_QUERYRESULT,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["y"].TYPE_INFO,"Received search results",n),o("data/storeSearchResult",n,{root:!0})}),k()(o,c["a"].TYPE_RESETCONTEXT,function(e,t){var n=t.dispatch;q(n,r["y"].TYPE_INFO,"Received context reset"),N["b"].$emit(r["h"].RESET_CONTEXT),n("data/resetContext",null,{root:!0})}),k()(o,c["a"].TYPE_SCALEDEFINED,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["y"].TYPE_INFO,"Received scale reference",n),o("data/setScaleReference",n,{root:!0})}),k()(o,c["a"].TYPE_USERINPUTREQUESTED,function(e,t){var n=t.dispatch;q(n,r["y"].TYPE_INFO,"Received input request",e.payload),n("view/inputRequest",e,{root:!0})}),k()(o,c["a"].TYPE_SCHEDULEADVANCED,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["y"].TYPE_INFO,"Received schedule advanced",n),o("data/setScheduling",n,{root:!0})}),k()(o,c["a"].TYPE_SCHEDULINGSTARTED,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["y"].TYPE_INFO,"Received scheduling started",n),o("data/setScheduling",n,{root:!0})}),k()(o,c["a"].TYPE_SCHEDULINGFINISHED,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["y"].TYPE_INFO,"Received scheduling finished",n),o("data/setScheduling",n,{root:!0})}),k()(o,c["a"].TYPE_ENGINEEVENT,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["y"].TYPE_INFO,"Engine event received",n),o("view/setEngineEvent",n,{root:!0})}),k()(o,c["a"].TYPE_DEBUG,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["y"].TYPE_DEBUG,n)}),k()(o,c["a"].TYPE_INFO,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["y"].TYPE_INFO,n)}),k()(o,c["a"].TYPE_WARNING,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["y"].TYPE_WARNING,n)}),k()(o,c["a"].TYPE_ERROR,function(e,t){var n=e.payload,o=t.dispatch;n===r["f"].UNKNOWN_IDENTITY?N["b"].$emit(r["h"].SESSION_CUT):q(o,r["y"].TYPE_ERROR,n)}),k()(o,c["a"].TYPE_USERPROJECTOPENED,function(e,t){var n=t.dispatch;q(n,r["y"].TYPE_INFO,"Project opened in k.Modeler")}),k()(o,c["a"].TYPE_PROJECTFILEMODIFIED,function(e,t){var n=t.dispatch;q(n,r["y"].TYPE_INFO,"Project modified in k.Modeler")}),k()(o,c["a"].TYPE_NETWORKSTATUS,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["y"].TYPE_INFO,"Network status received",n)}),k()(o,c["a"].TYPE_AUTHORITYDOCUMENTATION,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["y"].TYPE_INFO,"Authority documentation message received",n)}),k()(o,c["a"].TYPE_SETUPINTERFACE,function(e,t){var n=e.payload,o=t.dispatch;o("view/setLayout",n,{root:!0}),q(o,r["y"].TYPE_INFO,"App ".concat(n.name," loaded"),n,!0)}),k()(o,c["a"].TYPE_CREATEMODALWINDOW,function(e,t){var n=e.payload,o=t.dispatch;o("view/setModalWindow",n,{root:!0}),q(o,r["y"].TYPE_INFO,"Modal ".concat(n.name," loaded"),n)}),k()(o,c["a"].TYPE_CREATEVIEWCOMPONENT,function(e,t){var n=e.payload,o=t.dispatch;o("view/createViewComponent",n,{root:!0}),q(o,r["y"].TYPE_INFO,"New create view component received",n)}),k()(o,c["a"].TYPE_VIEWACTION,function(e,t){var n=e.payload,o=t.dispatch;o("view/viewAction",n,{root:!0}),N["b"].$emit(r["h"].VIEW_ACTION),q(o,r["y"].TYPE_INFO,"New view action received",n)}),k()(o,c["a"].TYPE_VIEWSETTING,function(e,t){var n=e.payload,o=t.dispatch;o("view/viewSetting",n,{root:!0}),q(o,r["y"].TYPE_INFO,"New view setting received",n)}),k()(o,c["a"].TYPE_VIEWAVAILABLE,function(e,t){var n=e.payload,o=t.dispatch;o("view/setDocumentation",{id:n.viewId,view:n.viewClass},{root:!0}),q(o,r["y"].TYPE_INFO,"New documentation available",n)}),k()(o,c["a"].TYPE_DOCUMENTATIONCHANGED,function(e,t){var n=e.payload,o=t.dispatch;o("view/changeInDocumentation",n,{root:!0}),q(o,r["y"].TYPE_INFO,"New change in documentation",n)}),k()(o,c["a"].TYPE_COMMANDRESPONSE,function(e,t){var n=e.payload,o=t.dispatch;N["b"].$emit(r["h"].COMMAND_RESPONSE,n),q(o,r["y"].TYPE_INFO,"Command response received",n)}),o),$=function(e){var t=e.body,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=JSON.parse(t),a=n.dispatch;return o.messageClass===c["a"].CLASS_NOTIFICATION&&a("view/addToKlabLog",o,{root:!0}),Object.prototype.hasOwnProperty.call(J,o.type)?J[o.type](o,n):(console.warn("Unknown parser ".concat(o.type)),!1)},Z={stomp_onconnect:function(e,t){var n=e.commit;n("STOMP_CONNECTION_STATE",r["f"].CONNECTION_UP),n("STOMP_RECONNECTIONS_ATTEMPT_RESET"),n("STOMP_MESSAGE",t)},stomp_onclose:function(e){var t=e.commit;t("STOMP_CONNECTION_STATE",r["f"].CONNECTION_DOWN)},stomp_onerror:function(e,t){var n=e.dispatch;n("setConnectionState",{state:r["f"].CONNECTION_ERROR,message:t})},setConnectionState:function(e,t){var n=e.commit,o=t.state,a=t.message;n("STOMP_CONNECTION_STATE",o),n("STOMP_ERROR",a)},stomp_onmessage:function(e,t){var n=e.commit;n("STOMP_MESSAGE",t),$(t,e)},stomp_onsubscribe:function(e,t){var n=e.commit;n("STOMP_SUBSCRIBED",t)},stomp_reconnect:function(e,t){var n=e.commit;n("STOMP_RECONNECTIONS_ATTEMPT",t),n("STOMP_CONNECTION_STATE",r["f"].CONNECTION_WORKING)},stomp_onsend:function(e,t){var n=e.commit,o=t.message;n("STOMP_SEND_MESSAGE",o)},stomp_onerrorsend:function(e,t){var n=e.commit;n("STOMP_QUEUE_MESSAGE",t)},stomp_cleanqueue:function(e){var t=e.commit;t("STOMP_CLEAN_QUEUE")},taskStart:function(e,t){var n=e.commit,o=e.dispatch;o("view/setSpinner",p()({},r["J"].SPINNER_LOADING,{owner:t.id}),{root:!0}),n("TASK_START",t)},taskAbort:function(e,t){var n=e.commit,o=e.dispatch;n("TASK_END",t),o("view/setSpinner",p()({},r["J"].SPINNER_STOPPED,{owner:t.id}),{root:!0})},taskEnd:function(e,t){var n=e.commit,o=e.dispatch;n("TASK_END",t),o("view/setSpinner",p()({},r["J"].SPINNER_STOPPED,{owner:t.id}),{root:!0})}},ee={namespaced:!0,state:K,getters:Q,mutations:X,actions:Z};a["a"].use(i["a"]);var te=new i["a"].Store({modules:{view:C,data:B,stomp:ee}});t["a"]=te},4678:function(e,t,n){var o={"./af":"2bfb","./af.js":"2bfb","./ar":"8e73","./ar-dz":"a356","./ar-dz.js":"a356","./ar-kw":"423e","./ar-kw.js":"423e","./ar-ly":"1cfd","./ar-ly.js":"1cfd","./ar-ma":"0a84","./ar-ma.js":"0a84","./ar-ps":"4c98","./ar-ps.js":"4c98","./ar-sa":"8230","./ar-sa.js":"8230","./ar-tn":"6d833","./ar-tn.js":"6d833","./ar.js":"8e73","./az":"485c","./az.js":"485c","./be":"1fc1","./be.js":"1fc1","./bg":"84aa","./bg.js":"84aa","./bm":"a7fa","./bm.js":"a7fa","./bn":"9043","./bn-bd":"9686","./bn-bd.js":"9686","./bn.js":"9043","./bo":"d26a","./bo.js":"d26a","./br":"6887","./br.js":"6887","./bs":"2554","./bs.js":"2554","./ca":"d716","./ca.js":"d716","./cs":"3c0d","./cs.js":"3c0d","./cv":"03ec","./cv.js":"03ec","./cy":"9797","./cy.js":"9797","./da":"0f14","./da.js":"0f14","./de":"b469","./de-at":"b3eb","./de-at.js":"b3eb","./de-ch":"bb71","./de-ch.js":"bb71","./de.js":"b469","./dv":"598a","./dv.js":"598a","./el":"8d47","./el.js":"8d47","./en-au":"0e6b","./en-au.js":"0e6b","./en-ca":"3886","./en-ca.js":"3886","./en-gb":"39a6","./en-gb.js":"39a6","./en-ie":"e1d3","./en-ie.js":"e1d3","./en-il":"7333","./en-il.js":"7333","./en-in":"ec2e","./en-in.js":"ec2e","./en-nz":"6f50","./en-nz.js":"6f50","./en-sg":"b7e9","./en-sg.js":"b7e9","./eo":"65db","./eo.js":"65db","./es":"898b","./es-do":"0a3c","./es-do.js":"0a3c","./es-mx":"b5b7","./es-mx.js":"b5b7","./es-us":"55c9","./es-us.js":"55c9","./es.js":"898b","./et":"ec18","./et.js":"ec18","./eu":"0ff2","./eu.js":"0ff2","./fa":"8df4","./fa.js":"8df4","./fi":"81e9","./fi.js":"81e9","./fil":"d69a","./fil.js":"d69a","./fo":"0721","./fo.js":"0721","./fr":"9f26","./fr-ca":"d9f8","./fr-ca.js":"d9f8","./fr-ch":"0e49","./fr-ch.js":"0e49","./fr.js":"9f26","./fy":"7118","./fy.js":"7118","./ga":"5120","./ga.js":"5120","./gd":"f6b4","./gd.js":"f6b4","./gl":"8840","./gl.js":"8840","./gom-deva":"aaf2","./gom-deva.js":"aaf2","./gom-latn":"0caa","./gom-latn.js":"0caa","./gu":"e0c5","./gu.js":"e0c5","./he":"c7aa","./he.js":"c7aa","./hi":"dc4d","./hi.js":"dc4d","./hr":"4ba9","./hr.js":"4ba9","./hu":"5b14","./hu.js":"5b14","./hy-am":"d6b6","./hy-am.js":"d6b6","./id":"5038","./id.js":"5038","./is":"0558","./is.js":"0558","./it":"6e98","./it-ch":"6f12","./it-ch.js":"6f12","./it.js":"6e98","./ja":"079e","./ja.js":"079e","./jv":"b540","./jv.js":"b540","./ka":"201b","./ka.js":"201b","./kk":"6d79","./kk.js":"6d79","./km":"e81d","./km.js":"e81d","./kn":"3e92","./kn.js":"3e92","./ko":"22f8","./ko.js":"22f8","./ku":"2421","./ku-kmr":"7558","./ku-kmr.js":"7558","./ku.js":"2421","./ky":"9609","./ky.js":"9609","./lb":"440c","./lb.js":"440c","./lo":"b29d","./lo.js":"b29d","./lt":"26f9","./lt.js":"26f9","./lv":"b97c","./lv.js":"b97c","./me":"293c","./me.js":"293c","./mi":"688b","./mi.js":"688b","./mk":"6909","./mk.js":"6909","./ml":"02fb","./ml.js":"02fb","./mn":"958b","./mn.js":"958b","./mr":"39bd","./mr.js":"39bd","./ms":"ebe4","./ms-my":"6403","./ms-my.js":"6403","./ms.js":"ebe4","./mt":"1b45","./mt.js":"1b45","./my":"8689","./my.js":"8689","./nb":"6ce3","./nb.js":"6ce3","./ne":"3a39","./ne.js":"3a39","./nl":"facd","./nl-be":"db29","./nl-be.js":"db29","./nl.js":"facd","./nn":"b84c","./nn.js":"b84c","./oc-lnc":"167b","./oc-lnc.js":"167b","./pa-in":"f3ff","./pa-in.js":"f3ff","./pl":"8d57","./pl.js":"8d57","./pt":"f260","./pt-br":"d2d4","./pt-br.js":"d2d4","./pt.js":"f260","./ro":"972c","./ro.js":"972c","./ru":"957c","./ru.js":"957c","./sd":"6784","./sd.js":"6784","./se":"ffff","./se.js":"ffff","./si":"eda5","./si.js":"eda5","./sk":"7be6","./sk.js":"7be6","./sl":"8155","./sl.js":"8155","./sq":"c8f3","./sq.js":"c8f3","./sr":"cf1e","./sr-cyrl":"13e9","./sr-cyrl.js":"13e9","./sr.js":"cf1e","./ss":"52bd","./ss.js":"52bd","./sv":"5fbd","./sv.js":"5fbd","./sw":"74dc","./sw.js":"74dc","./ta":"3de5","./ta.js":"3de5","./te":"5cbb","./te.js":"5cbb","./tet":"576c","./tet.js":"576c","./tg":"3b1b","./tg.js":"3b1b","./th":"10e8","./th.js":"10e8","./tk":"5aff","./tk.js":"5aff","./tl-ph":"0f38","./tl-ph.js":"0f38","./tlh":"cf75","./tlh.js":"cf75","./tr":"0e81","./tr.js":"0e81","./tzl":"cf51","./tzl.js":"cf51","./tzm":"c109","./tzm-latn":"b53d","./tzm-latn.js":"b53d","./tzm.js":"c109","./ug-cn":"6117","./ug-cn.js":"6117","./uk":"ada2","./uk.js":"ada2","./ur":"5294","./ur.js":"5294","./uz":"2e8c","./uz-latn":"010e","./uz-latn.js":"010e","./uz.js":"2e8c","./vi":"2921","./vi.js":"2921","./x-pseudo":"fd7e","./x-pseudo.js":"fd7e","./yo":"7f33","./yo.js":"7f33","./zh-cn":"5c3a","./zh-cn.js":"5c3a","./zh-hk":"49ab","./zh-hk.js":"49ab","./zh-mo":"3a6c","./zh-mo.js":"3a6c","./zh-tw":"90ea","./zh-tw.js":"90ea"};function a(e){var t=i(e);return n(t)}function i(e){var t=o[e];if(!(t+1)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return t}a.keys=function(){return Object.keys(o)},a.resolve=i,e.exports=a,a.id="4678"},"7cca":function(e,t,n){"use strict";n.d(t,"g",function(){return l}),n.d(t,"t",function(){return u}),n.d(t,"w",function(){return d}),n.d(t,"O",function(){return E}),n.d(t,"P",function(){return f}),n.d(t,"x",function(){return T}),n.d(t,"H",function(){return p}),n.d(t,"S",function(){return S}),n.d(t,"f",function(){return m}),n.d(t,"y",function(){return O}),n.d(t,"A",function(){return b}),n.d(t,"C",function(){return A}),n.d(t,"q",function(){return _}),n.d(t,"R",function(){return I}),n.d(t,"d",function(){return v}),n.d(t,"e",function(){return N}),n.d(t,"J",function(){return R}),n.d(t,"p",function(){return C}),n.d(t,"i",function(){return g}),n.d(t,"h",function(){return L}),n.d(t,"D",function(){return w}),n.d(t,"F",function(){return P}),n.d(t,"E",function(){return y}),n.d(t,"z",function(){return D}),n.d(t,"N",function(){return M}),n.d(t,"G",function(){return x}),n.d(t,"I",function(){return k}),n.d(t,"s",function(){return U}),n.d(t,"B",function(){return F}),n.d(t,"v",function(){return Y}),n.d(t,"Q",function(){return W}),n.d(t,"o",function(){return G}),n.d(t,"a",function(){return j}),n.d(t,"c",function(){return H}),n.d(t,"b",function(){return z}),n.d(t,"k",function(){return K}),n.d(t,"j",function(){return Q}),n.d(t,"M",function(){return X}),n.d(t,"L",function(){return q}),n.d(t,"n",function(){return J}),n.d(t,"l",function(){return $}),n.d(t,"m",function(){return Z}),n.d(t,"r",function(){return ee}),n.d(t,"K",function(){return te}),n.d(t,"u",function(){return ne});var o,a=n("9523"),i=n.n(a),r=(n("f559"),n("cadf"),n("456d"),n("ac6a"),n("3156")),c=n.n(r),s=n("e7d8"),l={EMPTY_MAP_SELECTION:{pixelSelected:null,layerSelected:null,value:null,locked:!1},HIST_MAX_LENGTH:50,CHILDREN_TO_ASK_FOR:25,SEARCHBAR_SIZE:512,SEARCHBAR_INCREMENT:128,MAX_SEARCHBAR_INCREMENTS:6,TARGET_DATAFLOW:"DATAFLOW",TARGET_PROVENANCE:"PROVENANCE",GRAPH_DATAFLOW:"dataflow",GRAPH_PROVENANCE_FULL:"provenance_full",GRAPH_PROVENANCE_SIMPLIFIED:"provenance_simplified",APP_LOAD_TIMEOUT:3e4},u=[{flowchart:null,graph:null,updatable:!1,visible:!1,target:l.TARGET_DATAFLOW,type:l.GRAPH_DATAFLOW,label:"Dataflow"},{flowchart:null,graph:null,updatable:!1,visible:!1,target:l.TARGET_PROVENANCE,type:l.GRAPH_PROVENANCE_FULL,label:"Provenance full"},{flowchart:null,graph:null,updatable:!1,visible:!1,target:l.TARGET_PROVENANCE,type:l.GRAPH_PROVENANCE_SIMPLIFIED,label:"Provenance simplified"}],d={LEFTMENU_MAXSIZE:512,LEFTMENU_MINSIZE:80,LEFTMENU_DOCUMENTATION_SIZE:320,LEFTMENU_MAXIMIZED:"max",LEFTMENU_MINIMIZED:"min",LEFTMENU_HIDDEN:"hidden",DATA_VIEWER_COMPONENT:"klab-main-control",DOCKED_DATA_VIEWER_COMPONENT:"docked-main-control",REPORT_VIEWER_COMPONENT:"reports-details",DOCUMENTATION_VIEWER_COMPONENT:"documentation-tree",DATAFLOW_VIEWER_COMPONENT:"dataflow-details",DATAFLOW_INFO_COMPONENT:"dataflow-info",PROVENANCE_VIEWER_COMPONENT:"provenance-details",LOG_COMPONENT:"klab-log-pane"},E={DATA_VIEWER:{name:"DataViewer",leftMenuState:d.LEFTMENU_HIDDEN,leftMenuContent:d.DATA_VIEWER_COMPONENT,mainControl:!0,hasSearch:!0},DOCKED_DATA_VIEWER:{name:"DataViewer",leftMenuState:d.LEFTMENU_MAXIMIZED,leftMenuContent:d.DOCKED_DATA_VIEWER_COMPONENT,mainControl:!1,hasSearch:!0},DOCUMENTATION_VIEWER:{name:"KlabDocumentation",leftMenuState:d.LEFTMENU_MINIMIZED,leftMenuContent:d.DOCUMENTATION_VIEWER_COMPONENT,mainControl:!1,hasSearch:!1},REPORT_VIEWER:{name:"ReportViewer",leftMenuState:d.LEFTMENU_MINIMIZED,leftMenuContent:d.REPORT_VIEWER_COMPONENT,mainControl:!1,hasSearch:!1},DATAFLOW_VIEWER:{name:"DataflowViewer",leftMenuState:d.LEFTMENU_MINIMIZED,leftMenuContent:d.DATAFLOW_VIEWER_COMPONENT,mainControl:!1,hasSearch:!1},PROVENANCE_VIEWER:{name:"ProvenanceViewer",leftMenuState:d.LEFTMENU_MINIMIZED,leftMenuContent:d.PROVENANCE_VIEWER_COMPONENT,mainControl:!1,hasSearch:!1}},f={VIEW_MAP:{component:"MapViewer",label:"Maps",hideable:!1,forceNew:!1},VIEW_CHART:{component:"ChartViewer",label:"Chart",hideable:!0,forceNew:!0},VIEW_GRAPH:{component:"GraphViewer",label:"Graph",hideable:!0,forceNew:!0},VIEW_BLOB:{component:"BlobViewer",label:"Blob",hideable:!1,forceNew:!1},VIEW_UNKNOWN:{component:"UnknownViewer",label:"Under construction",hideable:!1,forceNew:!1}},T={CONCEPT:{label:"Concept",symbol:"C",color:"sem-types",rgb:"rgb(38, 50, 56)"},PREFIX_OPERATOR:{label:"Prefix operator",symbol:"O",color:"sem-types",rgb:"rgb(38, 50, 56)"},INFIX_OPERATOR:{label:"Infix operator",symbol:"O",color:"sem-types",rgb:"rgb(38, 50, 56)"},OBSERVATION:{label:"Observation",symbol:"O",color:"sem-types",rgb:"rgb(38, 50, 56)"},MODEL:{label:"Model",symbol:"M",color:"sem-types",rgb:"rgb(38, 50, 56)"},MODIFIER:{label:"Modifier",symbol:"O",color:"sem-types",rgb:"rgb(38, 50, 56)"},PRESET_OBSERVABLE:{label:"Preset observable",symbol:"O",color:"sem-preset-observable",rgb:"rgb(240, 240, 240)"},SEPARATOR:{label:"Separator",symbol:"S",color:"sem-separator",rgb:"rgb(10, 10, 10)"},NEXT_TOKENS:{TOKEN:"TOKEN",TEXT:"TEXT",INTEGER:"INTEGER",DOUBLE:"DOUBLE",BOOLEAN:"BOOLEAN",UNIT:"UNIT",CURRENCY:"CURRENCY"}},p={QUALITY:{label:"Quality",symbol:"Q",color:"sem-quality",rgb:"rgb(0, 153, 0)"},SUBJECT:{label:"Subject",symbol:"S",color:"sem-subject",rgb:"rgb(153, 76, 0)"},IDENTITY:{label:"identity",symbol:"Id",color:"sem-identity",rgb:"rgb(0, 102, 204)"},ATTRIBUTE:{label:"Attribute",symbol:"A",color:"sem-attribute",rgb:"rgb(0, 102, 204)"},REALM:{label:"Realm",symbol:"R",color:"sem-realm",rgb:"rgb(0, 102, 204)"},TRAIT:{label:"Trait",symbol:"T",color:"sem-trait",rgb:"rgb(0, 102, 204)"},EVENT:{label:"Event",symbol:"E",color:"sem-event",rgb:"rgb(53, 153, 0)"},RELATIONSHIP:{label:"Relationship",symbol:"R",color:"sem-relationship",rgb:"rgb(210, 170, 0)"},PROCESS:{label:"Process",symbol:"P",color:"sem-process",rgb:"rgb(204, 0, 0)"},ROLE:{label:"Role",symbol:"R",color:"sem-role",rgb:"rgb(0, 86, 163)"},CONFIGURATION:{label:"Configuration",symbol:"C",color:"sem-configuration",rgb:"rgb(98, 98, 98)"},DOMAIN:{label:"Domain",symbol:"D",color:"sem-domain",rgb:"rgb(240, 240, 240)"}},S={nodes:[],links:[],showMenu:!1,selected:{},showSelection:!1,linksSelected:{},options:{canvas:!1,size:{w:500,h:500},force:350,offset:{x:0,y:0},nodeSize:20,linkWidth:1,nodeLabels:!0,linkLabels:!1,strLinks:!0}},m={CONNECTION_UNKNOWN:"UNKNOWN",CONNECTION_UP:"UP",CONNECTION_DOWN:"DOWN",CONNECTION_WORKING:"WORKING",CONNECTION_ERROR:"ERROR",UNKNOWN_IDENTITY:"UNKNOWN_IDENTITY"},O={TYPE_DEBUG:"debug",TYPE_WARNING:"warning",TYPE_ERROR:"error",TYPE_INFO:"info",TYPE_MESSAGE:"MSG",TYPE_ALL:"ALL"},b={TYPE_PROCESS:"PROCESS",TYPE_STATE:"STATE",TYPE_SUBJECT:"SUBJECT",TYPE_CONFIGURATION:"CONFIGURATION",TYPE_EVENT:"EVENT",TYPE_RELATIONSHIP:"RELATIONSHIP",TYPE_GROUP:"GROUP",TYPE_VIEW:"VIEW",TYPE_INITIAL:"INITIAL"},A={shapeType:"POINT",encodedShape:"POINT (40.299841 9.343971)",id:null,label:"DEFAULT",parentId:-1,visible:!0,spatialProjection:"EPSG:4326",observationType:b.TYPE_INITIAL},_={TYPE_RASTER:"RASTER",TYPE_SHAPE:"SHAPE",TYPE_SCALAR:"SCALAR",TYPE_TIMESERIES:"TIMESERIES",TYPE_NETWORK:"NETWORK",TYPE_PROPORTIONS:"PROPORTIONS",TYPE_COLORMAP:"COLORMAP",SHAPE_POLYGON:"POLYGON",SHAPE_POINT:"POINT",PARAM_VIEWPORT_SIZE:800,PARAM_VIEWPORT_MAX_SIZE:7680,PARAM_VIEWPORT_MULTIPLIER:1},I={PARAMS_MODE:"mode",PARAMS_MODE_IDE:"ide",PARAMS_MODE_STANDALONE:"standalone",PARAMS_SESSION:"session",PARAMS_LOG:"log",PARAMS_LOG_HIDDEN:"hidden",PARAMS_LOG_VISIBLE:"visible",PARAMS_LOCAL_HELP:"localhelp",PARAMS_APP:"app",PARAMS_DEBUG_REMOTE:"remote-debug",PARAMS_STOMP_DEBUG:"stomp-debug",PARAMS_TOKEN:"token",COOKIE_LANG:"klab_exp_lang",COOKIE_SESSION:"klab_session",COOKIE_MODE:"klab_mode",COOKIE_LOG:"klab_log",COOKIE_BASELAYER:"klab_baselayer",COOKIE_MAPDEFAULT:"klab_mapdefault",COOKIE_SAVELOCATION:"klab_saveLocation",COOKIE_HELP_ON_START:"klab_helponstart",COOKIE_DOCKED_STATUS:"klab_dockedstatus",COOKIE_NOTIFICATIONS:"klab_notifications",COOKIE_TERMINAL_SIZE:"klab_terminalsize",COOKIE_VIEW_COORDINATES:"klab_coordinates",LOCAL_STORAGE_APP_ID:"klab:appId",LOCAL_STORAGE_TERMINAL_COMMANDS:"klab:terminalCommands"},v={NOTIFICATIONS_URL:"".concat("https://integratedmodelling.org","/statics/notifications/index.php")},N={MAIN_COLOR:"rgb(17, 170, 187)",MAIN_GREEN:"rgb(231,255,219)",MAIN_CYAN:"rgb(228,253,255)",MAIN_YELLOW:"rgb(255, 195, 0)",MAIN_RED_HEX:"#ff6464",MAIN_COLOR_HEX:"#11aabb",MAIN_GREEN_HEX:"#e7ffdb",MAIN_CYAN_HEX:"#e4fdff",MAIN_YELLOW_HEX:"#ffc300",MAIN_RED:"rgb(255, 100, 100)",PRIMARY:"#DA1F26",SECONDARY:"#26A69A",TERTIARY:"#555",NEUTRAL:"#E0E1E2",POSITIVE:"#19A019",NEGATIVE:"#DB2828",INFO:"#1E88CE",WARNING:"#F2C037",PRIMARY_NAME:"primary",SECONDARY_NAME:"secondary",TERTIARY_NAME:"tertiary",POSITIVE_NAME:"positive",NEGATIVE_NAME:"negative",INFO_NAME:"info",WARNING_NAME:"warning"},h={SPINNER_STOPPED_COLOR:N.MAIN_COLOR,SPINNER_LOADING_COLOR:N.MAIN_YELLOW,SPINNER_MC_RED:N.MAIN_RED,SPINNER_ERROR_COLOR:N.NEGATIVE_NAME},R={SPINNER_LOADING:{color:h.SPINNER_LOADING_COLOR,animated:!0},SPINNER_STOPPED:{color:h.SPINNER_STOPPED_COLOR,animated:!1},SPINNER_ERROR:{color:h.SPINNER_ERROR_COLOR,animated:!1,time:2,then:{color:h.SPINNER_STOPPED_COLOR,animated:!1}}},C={UNKNOWN_SEARCH_OBSERVATION:"$$UNKNOWN_SEARCH_OBSERVATION$$"},g={WAITING:"waiting",PROCESSING:"processing",PROCESSED:"processed",ABORTED:"aborted"},L={MAP_SIZE_CHANGED:"mapsizechanged",UPDATE_FOLDER:"updatefolder",GRAPH_NODE_SELECTED:"graphnodeselected",SPINNER_DOUBLE_CLICK:"spinnerdoubleclick",SHOW_NODE:"shownode",ASK_FOR_UNDOCK:"askforundock",ASK_FOR_SUGGESTIONS:"askforsuggestions",NEED_FIT_MAP:"needfitmap",TREE_VISIBLE:"treevisible",VIEWER_CLICK:"viewerclick",VIEWER_SELECTED:"viewerselected",VIEWER_CLOSED:"viewerclosed",OBSERVATION_INFO_CLOSED:"observationinfoclosed",SEND_REGION_OF_INTEREST:"sendregionofinterest",NEED_HELP:"needhelp",OBSERVATION_BY_TIME:"observationbytime",NEED_LAYER_BUFFER:"needlayerbuffer",COMPONENT_ACTION:"componentaction",LAYOUT_CHANGED:"layoutchanged",SELECT_ELEMENT:"selectelement",PROPOSED_CONTEXT_CHANGE:"proposedcontextchange",NEW_SCHEDULING:"newscheduling",SHOW_NOTIFICATIONS:"shownotifications",TERMINAL_FOCUSED:"terminalfocused",COMMAND_RESPONSE:"commandresponse",REFRESH_DOCUMENTATION:"refreshdocumentation",PRINT_DOCUMENTATION:"printdocumentation",SHOW_DOCUMENTATION:"showdowcumentation",FONT_SIZE_CHANGE:"fontsizechange",DOWNLOAD_URL:"downloadurl",RESET_CONTEXT:"resetcontext",VIEW_ACTION:"viewaction",SESSION_CUT:"sessioncut",SHOW_DATA_INFO:"showdatainfo"},w={ST_SPACE:"space",ST_TIME:"time"},P={CENTIMETERS:"cm",METERS:"m",KILOMETERS:"km",MILLENNIUM:"MILLENNIUM",CENTURY:"CENTURY",DECADE:"DECADE",YEAR:"YEAR",MONTH:"MONTH",WEEK:"WEEK",DAY:"DAY",HOUR:"HOUR",MINUTE:"MINUTE",SECOND:"SECOND",MILLISECOND:"MILLISECOND"},y=[{i18nlabel:"unitCentimeter",type:w.ST_SPACE,value:P.CENTIMETERS,selectable:!0},{i18nlabel:"unitMeter",type:w.ST_SPACE,value:P.METERS,selectable:!0},{i18nlabel:"unitKilometer",type:w.ST_SPACE,value:P.KILOMETERS,selectable:!0},{i18nlabel:"unitMillennium",type:w.ST_TIME,value:P.MILLENNIUM,selectable:!1,momentShorthand:"y",momentMultiplier:1e3,index:0},{i18nlabel:"unitCentury",type:w.ST_TIME,value:P.CENTURY,selectable:!0,momentShorthand:"y",momentMultiplier:100,index:1},{i18nlabel:"unitDecade",type:w.ST_TIME,value:P.DECADE,selectable:!0,momentShorthand:"y",momentMultiplier:10,index:2},{i18nlabel:"unitYear",type:w.ST_TIME,value:P.YEAR,selectable:!0,momentShorthand:"y",momentMultiplier:1,index:3},{i18nlabel:"unitMonth",type:w.ST_TIME,value:P.MONTH,selectable:!0,momentShorthand:"M",momentMultiplier:1,index:4},{i18nlabel:"unitWeek",type:w.ST_TIME,value:P.WEEK,selectable:!0,momentShorthand:"W",momentMultiplier:1,index:5},{i18nlabel:"unitDay",type:w.ST_TIME,value:P.DAY,selectable:!0,momentShorthand:"d",momentMultiplier:1,index:6},{i18nlabel:"unitHour",type:w.ST_TIME,value:P.HOUR,selectable:!0,momentShorthand:"h",momentMultiplier:1,index:7},{i18nlabel:"unitMinute",type:w.ST_TIME,value:P.MINUTE,selectable:!0,momentShorthand:"m",momentMultiplier:1,index:8},{i18nlabel:"unitSecond",type:w.ST_TIME,value:P.SECOND,selectable:!1,momentShorthand:"s",momentMultiplier:1,index:9},{i18nlabel:"unitMillisecond",type:w.ST_TIME,value:P.MILLISECOND,selectable:!1,momentShorthand:"ms",momentMultiplier:1,index:10}],D={SPATIAL_TRANSLATION:"SpatialTranslation",SPATIAL_CHANGE:"SpatialChange",TERMINATION:"Termination",STRUCTURE_CHANGE:"StructureChange",NAME_CHANGE:"NameChange",ATTRIBUTE_CHANGE:"AttributeChange",VALUE_CHANGE:"ValueChange",BRING_FORWARD:"BringForward",CONTEXTUALIZATION_COMPLETED:"ContextualizationCompleted"},M={DEFAULT_STEP:864e5,DEFAULT_INTERVAL:100,PIXEL_TIME_MULTIPLIER:1,MIN_PLAY_TIME:6e4,MAX_PLAY_TIME:6e4},x={SEMANTIC:"SEMANTIC",FREETEXT:"FREETEXT"},k={INTERACTIVE_MODE:"InteractiveMode",LOCK_SPACE:"LockSpace",LOCK_TIME:"LockTime"},U={DEFAULT_MODAL_SIZE:{width:1024,height:768},DEFAULT_PROPORTIONS:{width:4,height:3},DEFAULT_WIDTH_PERCENTAGE:90,DEFAULT_HEIGHT_PERCENTAGE:90,DEFAULT_HELP_BASE_URL:"https://integratedmodelling.org/statics/help"},V={actionLabel:null,actionId:null,downloadUrl:null,downloadFileExtension:null,enabled:!1,separator:!1,submenu:[]},F={SEPARATOR_ITEM:c()({},V,{enabled:!0,separator:!0}),RECONTEXTUALIZATION_ITEM:c()({},V,{actionId:"Recontextualization",actionLabel:Object(s["b"])().tc("label.recontextualization"),enabled:!0})},Y=[{viewClass:"table",label:Object(s["b"])().tc("label.kwTable"),icon:"mdi-table",exportIcons:[{type:"xlsx",icon:"mdi-file-excel"}]},{viewClass:"chart",label:Object(s["b"])().tc("label.kwChart"),icon:"mdi-chart-bar",exportIcons:[]}],W={OBSERVATION:"Observation",VIEW:"View",TREE:"Tree",REPORT:"Report",DATAFLOW:"Dataflow",SHOW:"Show",HIDE:"Hide",URL:"Url",DOWNLOAD:"Download"},G={RESOURCE_VALIDATION:"ResourceValidation"},j={PANEL:"Panel",ALERT:"Alert",PUSH_BUTTON:"PushButton",CHECK_BUTTON:"CheckButton",RADIO_BUTTON:"RadioButton",TEXT_INPUT:"TextInput",COMBO:"Combo",GROUP:"Group",MAP:"Map",TREE:"Tree",TREE_ITEM:"TreeItem",CONFIRM:"Confirm",VIEW:"View",CONTAINER:"Container",MULTICONTAINER:"MultiContainer",LABEL:"Label",TEXT:"Text",TABLE:"Table",NOTIFICATION:"Notification",INPUT_GROUP:"InputGroup",SEPARATOR:"Separator",MODAL_WINDOW:"ModalWindow",WINDOW:"Window",BROWSER:"Browser",IMAGE:"Image"},H={USER_ACTION:"UserAction",ENABLE:"Enable",HIDE:"Hide",UPDATE:"Update",MENU_ACTION:"MenuAction"},z={LABEL_MIN_WIDTH:"150px",DEFAULT_LOGO:"statics/klab-logo.png"},B=/^\d+\D{1,2}/,K=function(e){var t={};return Object.keys(e.attributes).forEach(function(n){var o=e.attributes[n];switch(n){case"hidden":t.display="none";break;case"width":"content"===o?t["flex-basis"]="0":o.startsWith("col")?t["flex-grow"]=o.substring(3):t.width="".concat(o).concat(B.test(o)?"":"px");break;case"height":t.height="".concat(o).concat(B.test(o)?"":"px");break;case"hfill":e.attributes.hbox&&(t["flex-wrap"]="nowrap"),t.width="100%";break;case"vfill":t["flex-grow"]=1;break;case"top":case"bottom":case"middle":e.attributes.parentAttributes&&(e.attributes.parentAttributes.hbox||e.attributes.parentAttributes.vbox)?t["align-self"]="top"===n?"flex-start":"bottom"===n?"flex-end":"center":e.attributes.hbox||e.attributes.vbox?t["justify-content"]=n:t["vertical-align"]=n;break;case"hbox":case"vbox":t["flex-direction"]="hbox"===n?"row":"column",e.attributes.center&&(t["align-items"]="center");break;case"left":case"right":t["text-align"]=n;break;default:break}}),t},Q={dark:{"main-color":"white","positive-color":"rgb(116, 212, 116)","negative-color":"rgb(250, 117, 117)","background-color":"rgb(18, 18, 18)","alt-background":"rgb(99,99,99)","text-color":"white","control-text-color":"black","title-color":"white","alt-color":"rgb(0, 204, 204)","font-family":"'Roboto', '-apple-system', 'Helvetica Neue', Helvetica, Arial, sans-serif","font-size":"1em","title-size":"26px","subtitle-size":"16px","line-height":"1em"},light:{"main-color":"black","background-color":"white","alt-background":"rgb(233,233,233)","text-color":"black","control-text-color":"white","title-color":"black","alt-color":"rgb(0,138,150)","font-family":"'Roboto', '-apple-system', 'Helvetica Neue', Helvetica, Arial, sans-serif","font-size":"1em","title-size":"26px","subtitle-size":"16px","line-height":"1em"},worst:{"main-color":"green","background-color":"yellow","alt-background":"fuchsia","text-color":"red","control-text-color":"yellow","title-color":"indigo","alt-color":"blue","font-family":"comics","font-size":"1.2em","title-size":"32px","subtitle-size":"20px","line-height":"1.2em"},default:{"main-color":"rgb(0, 92, 129)","background-color":"rgb(250, 250, 250)","alt-background":"rgb(222, 222, 222)","text-color":"rgb(0, 92, 129)","control-text-color":"rgb(250, 250, 250)","title-color":"rgb(0, 92, 129)","alt-color":"rgb(0, 138, 150)","font-family":"'Roboto', '-apple-system', 'Helvetica Neue', Helvetica, Arial, sans-serif","font-size":"1em","title-size":"26px","subtitle-size":"16px","line-height":"1em"}},X={DEBUGGER:"Debugger",CONSOLE:"Console"},q=[{value:"80x24",label:"80x24",cols:80,rows:24},{value:"80x43",label:"80x43",cols:80,rows:43},{value:"132x24",label:"132x24",cols:132,rows:24},{value:"132x43",label:"132x43",cols:132,rows:43}],J={REPORT:"REPORT",FIGURES:"FIGURES",TABLES:"TABLES",RESOURCES:"RESOURCES",MODELS:"MODELS",PROVENANCE:"PROVENANCE",REFERENCES:"REFERENCES"},$={REPORT:"Report",SECTION:"Section",PARAGRAPH:"Paragraph",TABLE:"Table",CHART:"Chart",FIGURE:"Figure",RESOURCE:"Resource",MODEL:"Model",REFERENCE:"Reference",CITATION:"Citation",VIEW:"View",LINK:"Link",ANCHOR:"Anchor"},Z=(o={},i()(o,$.REPORT,J.REPORT),i()(o,$.SECTION,J.REPORT),i()(o,$.PARAGRAPH,J.REPORT),i()(o,$.TABLE,J.TABLES),i()(o,$.CHART,J.REPORT),i()(o,$.FIGURE,J.FIGURES),i()(o,$.RESOURCE,J.RESOURCES),i()(o,$.MODEL,J.MODELS),i()(o,$.REFERENCE,J.REPORT),i()(o,$.CITATION,J.REPORT),i()(o,$.VIEW,J.REPORT),i()(o,$.LINK,J.REPORT),i()(o,$.ANCHOR,J.REPORT),o),ee={KLAB_AUTHORIZATION:"klab-authorization"},te={NUMBER:"NUMBER",BOOLEAN:"BOOLEAN",CONCEPT:"CONCEPT",PROCESS:"PROCESS",EVENT:"EVENT",OBJECT:"OBJECT",TEXT:"TEXT",VALUE:"VALUE",RANGE:"RANGE",ENUM:"ENUM",EXTENT:"EXTENT",TEMPORALEXTENT:"TEMPORALEXTENT",SPATIALEXTENT:"SPATIALEXTENT",ANNOTATION:"ANNOTATION",LIST:"LIST",VOID:"VOID",MAP:"MAP",TABLE:"TABLE"},ne={URL:__ENV__.KEYCLOAK_URL,REALM:"im",CLIENT_ID:"k.Explorer",TOKEN:"vue-token",REFRESH_TOKEN:"vue-refresh-token",BEARER:"Bearer "}},"7e6d":function(e,t,n){},8449:function(e,t,n){"use strict";n.d(t,"b",function(){return d});n("ac6a"),n("cadf"),n("456d");var o=n("7037"),a=n.n(o),i=(n("386d"),n("7cca")),r=n("1442"),c=n("8fec"),s=n("be3b"),l=n("741d"),u=n("2b0e"),d=new u["a"];t["a"]=function(e){var t=e.store,n=new URLSearchParams(window.location.search),o=n.get(i["R"].PARAMS_SESSION)||l["a"].get(i["R"].COOKIE_SESSION),E=n.get(i["R"].PARAMS_MODE)||l["a"].get(i["R"].COOKIE_MODE)||i["R"].PARAMS_MODE_IDE,f=n.get(i["R"].PARAMS_LOG)||l["a"].get(i["R"].COOKIE_LOG)||i["R"].PARAMS_LOG_HIDDEN,T=l["a"].get(i["R"].COOKIE_BASELAYER)||r["d"].DEFAULT_BASELAYER,p=l["a"].get(i["R"].COOKIE_MAPDEFAULT)||{center:r["b"].center,zoom:r["b"].zoom},S=!l["a"].has(i["R"].COOKIE_SAVELOCATION)||l["a"].get(i["R"].COOKIE_SAVELOCATION),m=l["a"].has(i["R"].COOKIE_DOCKED_STATUS),O="engine.remote"!==__ENV__.ACTIVE_PROFILE;console.info("Engine local:",O);var b=n.get(i["R"].PARAMS_TOKEN);u["a"].mixin({methods:{hexToRgbValues:function(e){if("undefined"!==typeof e){var t=c["b"](e);return"".concat(t.r,", ").concat(t.g,", ").concat(t.b)}return"black"},isAcceptedKey:function(e){var t="abcdefghijklmnopqrstuvwxyz0123456789.<>=!()+-*/^";return e=e.toLowerCase(),-1!==t.indexOf(e)}}}),u["a"].prototype.$eventBus=d,t.state.data.session=o,u["a"].prototype.$mode=E,l["a"].set(i["R"].COOKIE_MODE,E,{expires:30,path:"/",secure:!0}),u["a"].prototype.$logVisibility=f,l["a"].set(i["R"].COOKIE_LOG,f,{expires:30,path:"/",secure:!0}),u["a"].prototype.$baseLayer=T,l["a"].set(i["R"].COOKIE_BASELAYER,T,{expires:30,path:"/",secure:!0}),u["a"].prototype.$mapDefaults=p,t.state.view.saveLocation=S,l["a"].set(i["R"].COOKIE_SAVELOCATION,S,{expires:30,path:"/",secure:!0}),t.state.view.saveDockedStatus=m,m&&(t.state.view.mainControlDocked=l["a"].get(i["R"].COOKIE_DOCKED_STATUS)),t.state.view.viewCoordinates=l["a"].has(i["R"].COOKIE_VIEW_COORDINATES)&&l["a"].get(i["R"].COOKIE_VIEW_COORDINATES),t.state.data.local=O,t.state.data.token=b,console.info("Session: ".concat(o," / mode: ").concat(E));var A=n.get(i["R"].PARAMS_LOCAL_HELP);t.state.view.helpBaseUrl=A?"http://".concat(A):i["s"].DEFAULT_HELP_BASE_URL;var _=n.get(i["R"].PARAMS_APP);_&&(t.state.view.klabApp=_),s["a"].get("".concat("").concat("/modeler","/capabilities"),{}).then(function(e){var n=e.data;if("object"!==a()(n))throw Error("Error asking for capabilities: no data");if(0===Object.keys(n).length)throw Error("Capabilities are empty, check it");t.state.data.capabilities=n}).catch(function(e){console.error("Error trying to retrieve capabilities: ".concat(e))})}},"8fec":function(e,t,n){"use strict";n.d(t,"d",function(){return a}),n.d(t,"b",function(){return i}),n.d(t,"c",function(){return c}),n.d(t,"a",function(){return s});n("c5f6"),n("ee1d"),n("a481"),n("6b54");var o=/^rgb(a)?\((\d{1,3}),(\d{1,3}),(\d{1,3}),?([01]?\.?\d*?)?\)$/;function a(e){var t=e.r,n=e.g,o=e.b,a=e.a,i=void 0!==a;if(t=Math.round(t),n=Math.round(n),o=Math.round(o),t>255||n>255||o>255||i&&a>100)throw new TypeError("Expected 3 numbers below 256 (and optionally one below 100)");return a=i?(256|Math.round(255*a/100)).toString(16).slice(1):"","#".concat((o|n<<8|t<<16|1<<24).toString(16).slice(1)).concat(a)}function i(e){if("string"!==typeof e)throw new TypeError("Expected a string");e=e.replace(/^#/,""),3===e.length?e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]:4===e.length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]);var t=parseInt(e,16);return e.length>6?{r:t>>24&255,g:t>>16&255,b:t>>8&255,a:Math.round((255&t)/2.55)}:{r:t>>16,g:t>>8&255,b:255&t}}function r(e){if("string"!==typeof e)throw new TypeError("Expected a string");var t=e.replace(/ /g,""),n=o.exec(t);if(null===n)return i(t);var a={r:Math.min(255,parseInt(n[2],10)),g:Math.min(255,parseInt(n[3],10)),b:Math.min(255,parseInt(n[4],10))};if(n[1]){var r=parseFloat(n[5]);a.a=100*Math.min(1,!0===Number.isNaN(r)?1:r)}return a}function c(e,t){if("string"!==typeof e)throw new TypeError("Expected a string as color");if("number"!==typeof t)throw new TypeError("Expected a numeric percent");var n=r(e),o=t<0?0:255,a=Math.abs(t)/100,i=n.r,c=n.g,s=n.b;return"#".concat((16777216+65536*(Math.round((o-i)*a)+i)+256*(Math.round((o-c)*a)+c)+(Math.round((o-s)*a)+s)).toString(16).slice(1))}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.body;if("string"!==typeof e)throw new TypeError("Expected a string as color");if(!(t instanceof Element))throw new TypeError("Expected a DOM element");return getComputedStyle(t).getPropertyValue("--q-color-".concat(e)).trim()||null}},b0b2:function(e,t,n){"use strict";n.d(t,"a",function(){return P}),n.d(t,"h",function(){return D}),n.d(t,"e",function(){return x}),n.d(t,"f",function(){return k}),n.d(t,"g",function(){return U}),n.d(t,"b",function(){return V}),n.d(t,"k",function(){return F}),n.d(t,"j",function(){return Y}),n.d(t,"i",function(){return W}),n.d(t,"l",function(){return G}),n.d(t,"c",function(){return H}),n.d(t,"d",function(){return z});n("4917"),n("28a5"),n("48c0"),n("6c7b"),n("ac6a");var o=n("278c"),a=n.n(o),i=(n("c5f6"),n("ee1d"),n("8fec")),r=n("256f"),c=n("5bc3"),s=n("6c77"),l=n("1442"),u=n("f403"),d=n("7a09"),E=n("9a44"),f=n("47e4"),T=n("88da"),p=n("f822"),S=n("049d"),m=n("c4c8"),O=n("c7e3"),b=n("f384"),A=n("01ae"),_=n("7f68"),I=n("881a"),v=/^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d+(?:\.\d+)?))?\)$/,N=i["b"],h=i["a"],R=i["d"],C={topLeft:Object(r["l"])([-180,90],l["d"].PROJ_EPSG_4326,l["d"].PROJ_EPSG_3857),bottomLeft:Object(r["l"])([-180,-90],l["d"].PROJ_EPSG_4326,l["d"].PROJ_EPSG_3857),topRight:Object(r["l"])([180,90],l["d"].PROJ_EPSG_4326,l["d"].PROJ_EPSG_3857),bottomRight:Object(r["l"])([180,-90],l["d"].PROJ_EPSG_4326,l["d"].PROJ_EPSG_3857)},g=new _["b"],L={left:g.createLineString([new _["a"](C.topLeft[0],C.topLeft[1]),new _["a"](C.bottomLeft[0],C.bottomLeft[1])]),right:g.createLineString([new _["a"](C.topRight[0],C.topRight[1]),new _["a"](C.bottomRight[0],C.bottomRight[1])])},w=g.createPolygon([new _["a"](C.topLeft[0],C.topLeft[1]),new _["a"](C.topRight[0],C.topRight[1]),new _["a"](C.bottomRight[0],C.bottomRight[1]),new _["a"](C.bottomLeft[0],C.bottomLeft[1]),new _["a"](C.topLeft[0],C.topLeft[1])]);function P(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}function y(e){if("string"!==typeof e)throw new TypeError("Expected a string");var t=v.exec(e);if(t){var n={r:parseInt(t[1],10),g:parseInt(t[2],10),b:parseInt(t[3],10)};return t[4]&&(n.a=parseFloat(t[4])),n}return N(e)}function D(e){return!!Number.isNaN(1*e)&&e===e.toUpperCase()}function M(e){var t={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};return"undefined"!==typeof t[e.toLowerCase()]?t[e.toLowerCase()]:null}function x(e){var t,n;if(0===e.indexOf("#"))n=e,t=N(e);else if(-1!==e.indexOf(","))t=y(e),n=R(t);else{if(n=h(e),null===n&&(n=M(e),null===n))throw new Error("Unknown color: ".concat(e));t=N(n)}return{rgb:t,hex:n,color:e}}function k(e,t,n){(null===e||null===t||n<1)&&console.warn("Bad colors: ".concat(e,", ").concat(t));for(var o,a,i,r=x(e).rgb,c=x(t).rgb,s=1/(n-1),l=[],u=0;u2&&void 0!==arguments[2]?arguments[2]:null,o=function(e,t,n){return e+(t-e)*n},i=[],r=Number((e.length-1)/(t-1)),c=a()(e,1);i[0]=c[0];for(var s=1;s0&&document.getSelection().getRangeAt(0);t.select(),document.execCommand("copy"),document.body.removeChild(t),n&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(n))}var F=new I["a"];F.inject(u["a"],d["a"],S["a"],c["a"],E["a"],f["a"],T["a"]);var Y=function(e){return e instanceof p["a"]&&(e=Object(c["b"])(e)),F.read(e)},W=function(e){return new m["a"](e).isValid()},G=function(e,t){return O["a"].union(e,t)};function j(e){var t=[];return O["a"].intersection(e,L.left)&&t.push(L.left),O["a"].intersection(e,L.right)&&t.push(L.right),t}function H(e){var t=j(e);if(0===t.length)return e;var n=e.getExteriorRing();t.forEach(function(e){n=O["a"].union(n,e)});var o=new A["a"];o.add(n);for(var a=o.getPolygons(),i=null,r=a.iterator();r.hasNext();){var c=r.next();if(!b["a"].contains(w,c)){for(var s=[],l=c.getCoordinates(),u=l.length,d=0;d0&&void 0!==arguments[0]?arguments[0]:null;if(null===e)return!1;var t=e.geometryTypes;return t&&"undefined"!==typeof t.find(function(e){return e===l["q"].TYPE_RASTER})},g=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l["g"].HIST_MAX_LENGTH;e.push(t),e.length>n&&e.shift()},L=function(e,t){if(0===e.length)return null;if(void 0===t)return e[e.length-1];var n=s()(e).reverse().find(function(e){return e.type===t});return"undefined"!==typeof n?n:null},w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0;if(e&&null!==t&&"function"===typeof n){var o=[].reduce,a=function e(a,i){if(a||!i)return a;if(Array.isArray(i))return o.call(Object(i),e,a);var r=n(i,t);return null===r&&i.children&&i.children.length>0?e(null,i.children):r};return a(null,e)}return null},P=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return w(e,t,function(e,t){return e.id===t?e:null})},y=function(e){var t=null!==e.parentArtifactId||null!==e.parentId&&e.rootContextId!==e.parentId,n=null!==e.parentArtifactId?e.parentArtifactId:e.parentId,o=e.main;if(!o&&t){var a=P(d["a"].getters["data/tree"],n);null!==a&&(o=o||a.userNode)}return{node:r()({id:e.id,label:e.literalValue||e.label,observable:e.observable,type:e.shapeType,dynamic:e.dynamic||!1,needUpdate:!e.contextualized,viewerIdx:e.viewerIdx,viewerType:null!==e.viewerIdx?d["a"].getters["view/viewer"](e.viewerIdx).type:null,loading:!1,children:[],childrenCount:e.childrenCount,childrenLoaded:0,siblingsCount:e.siblingsCount,parentArtifactId:e.parentArtifactId,tickable:null!==e.viewerIdx&&!e.empty||e.isContainer||e.childrenCount>0,disabled:e.empty&&(!e.isContainer||0===e.childrenCount)||e.singleValue||e.observationType===l["A"].TYPE_PROCESS,empty:e.empty,actions:e.actions,header:e.isContainer?"folder":"default",main:e.main,userNode:o,isContainer:e.isContainer,exportFormats:e.exportFormats,rootContextId:e.rootContextId,contextId:e.contextId,observationType:e.observationType,noTick:e.singleValue||e.observationType===l["A"].TYPE_PROCESS},e.isContainer&&{childrenLoaded:0},e.siblingsCount&&{siblingsCount:e.siblingsCount},{parentId:n}),parentId:n}},D=function(e){return new Promise(function(t,n){var o=null;if(null!==e)if(o=Object(_["g"])(e),null===o){var a=e.substring(5);fetch("https://epsg.io/?format=json&q=".concat(a)).then(function(a){return a.json().then(function(a){var i=a.results;if(i&&i.length>0)for(var r=0,c=i.length;r0&&u&&u.length>0&&d&&4===d.length){var f="EPSG:".concat(l);v["a"].defs(f,u),Object(I["a"])(v["a"]),o=Object(_["g"])(f);var T=Object(_["i"])(E["d"].PROJ_EPSG_4326,o),p=Object(A["a"])([d[1],d[2],d[3],d[0]],T);o.setExtent(p),console.info("New projection registered: ".concat(f)),t(o)}else n(new Error("Some error in projection search result: ".concat(JSON.stringify(s))))}else n(new Error("Some error in projection search result: no results"))}else n(new Error("Unknown projection: ".concat(e)))})})}else t(o);else t(E["d"].PROJ_EPSG_4326)})};function M(e){return x.apply(this,arguments)}function x(){return x=a()(regeneratorRuntime.mark(function e(t){var n,o,a,i,r;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:return n=t.spatialProjection,e.next=3,D(n);case 3:if(o=e.sent,a=t.encodedShape,a){e.next=7;break}return e.abrupt("return",null);case 7:return 0===a.indexOf("LINEARRING")&&(a=a.replace("LINEARRING","LINESTRING")),i=null,-1!==a.indexOf("POINT")?(r=R.readFeature(a,{dataProjection:o,featureProjection:E["d"].PROJ_EPSG_3857}),null!==r&&null!==r.getGeometry()&&(i=r.getGeometry().getFirstCoordinate())):i=R.readGeometry(a,{dataProjection:o,featureProjection:E["d"].PROJ_EPSG_3857}),t.id===t.rootContextId&&(t.zIndexOffset=0),e.abrupt("return",i);case 12:case"end":return e.stop()}},e)})),x.apply(this,arguments)}function k(e){return U.apply(this,arguments)}function U(){return U=a()(regeneratorRuntime.mark(function e(t){var n;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:if(n=t.response?{status:t.response.data.status||t.response.status,message:t.response.data.message||t.response.data.error||t.response.data||(""!==t.response.statusText?t.response.statusText:"Unknown"),axiosError:t}:t.request?{status:t.request.status,message:t.message,axiosError:t}:{status:"UNKNOWN",message:t.message,axiosError:t},!(n instanceof Blob)){e.next=5;break}return e.next=4,n.text();case 4:n=e.sent;case 5:return e.abrupt("return",n);case 6:case"end":return e.stop()}},e)})),U.apply(this,arguments)}var V=function(e,t,n,o){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;d["a"].dispatch("view/setSpinner",r()({},l["J"].SPINNER_LOADING,{owner:e}),{root:!0}),N["a"].get(t,n).then(function(t){t&&o(t,function(){d["a"].dispatch("view/setSpinner",r()({},l["J"].SPINNER_STOPPED,{owner:e}),{root:!0})})}).catch(function(){var t=a()(regeneratorRuntime.mark(function t(n){var o,a;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,k(n);case 2:if(o=t.sent,a=null,null!=o&&(a=o.message),d["a"].dispatch("view/setSpinner",r()({},l["J"].SPINNER_ERROR,{owner:e,errorMessage:a}),{root:!0}),null===i){t.next=10;break}i(n),t.next=11;break;case 10:throw n;case 11:case"end":return t.stop()}},t)}));return function(e){return t.apply(this,arguments)}}())},F=function(e){if("RAMP"===e.type&&e.colors.length>1&&e.colors.length<256){for(var t=[],n=[],o=e.colors.length,a=Math.floor(256/o),i=a+(256-o*a),r=0;rl["q"].PARAM_VIEWPORT_MAX_SIZE&&(a=l["q"].PARAM_VIEWPORT_MAX_SIZE),P=L.getExtent(),y="".concat("").concat(u["c"].REST_SESSION_VIEW,"data/").concat(t.id),M=new b["a"]({projection:R,imageExtent:P,url:y,style:E["e"].POLYGON_OBSERVATION_STYLE,imageLoadFunction:function(e,n){d["a"].dispatch("view/setSpinner",r()({},l["J"].SPINNER_LOADING,{owner:"".concat(n).concat(c)}),{root:!0}),d["a"].dispatch("data/setLoadingLayers",{loading:!0,observation:t}),N["a"].get(n,{params:r()({format:l["q"].TYPE_RASTER,viewport:a},-1!==A&&{locator:"T1(1){time=".concat(A,"}")}),responseType:"blob"}).then(function(o){if(o){var a=new FileReader;a.readAsDataURL(o.data),a.onload=function(){var o=e.getImage();o.src=a.result,d["a"].dispatch("view/setSpinner",r()({},l["J"].SPINNER_STOPPED,{owner:"".concat(n).concat(c)}),{root:!0}),t.tsImages.push("T".concat(c)),t.loaded=!0,d["a"].dispatch("data/setLoadingLayers",{loading:!1,observation:t}),V("cm_".concat(t.id),y,{params:r()({format:l["q"].TYPE_COLORMAP},-1!==c&&{locator:"T1(1){time=".concat(c,"}")})},function(e,n){e&&e.data&&(t.colormap=F(e.data)),n()})},a.onerror=function(e){d["a"].dispatch("view/setSpinner",r()({},l["J"].SPINNER_ERROR,{owner:"".concat(n).concat(c),errorMessage:e}),{root:!0})}}}).catch(function(e){throw d["a"].dispatch("view/setSpinner",r()({},l["J"].SPINNER_ERROR,{owner:"".concat(n).concat(c),errorMessage:e.message}),{root:!0}),d["a"].dispatch("data/setLoadingLayers",{loading:!1,observation:t}),e})}}),e.abrupt("return",new O["a"]({id:w,source:M}));case 19:return 0===g.indexOf("LINESTRING")||0===g.indexOf("MULTILINESTRING")?(x=E["e"].LNE_OBSERVATION_STYLE,t.zIndexOffset=E["d"].ZINDEX_BASE*E["d"].ZINDEX_MULTIPLIER_LINES):0===g.indexOf("POINT")||0===g.indexOf("MULTIPOINT")?(x=Object(f["d"])(E["e"].POINT_OBSERVATION_SVG_PARAM,t.label),t.zIndexOffset=E["d"].ZINDEX_BASE*E["d"].ZINDEX_MULTIPLIER_POINTS):(x=E["e"].POLYGON_OBSERVATION_STYLE,t.zIndexOffset=E["d"].ZINDEX_BASE*E["d"].ZINDEX_MULTIPLIER_POLYGONS),k=new m["a"]({geometry:L,name:t.label,id:w}),U=new p["a"]({id:w,source:new T["a"]({features:[k]}),style:x}),e.abrupt("return",U);case 23:case"end":return e.stop()}},e)})),W.apply(this,arguments)}function G(e,t){d["a"].$app.sendStompMessage(e(t,d["a"].state.data.session).body)}var j=function(e){switch(e){case"FORTHCOMING":return{icon:"mdi-airplane-landing",tooltip:"forthcoming"};case"EXPERIMENTAL":return{icon:"mdi-flask-outline",tooltip:"experimental"};case"NEW":return{icon:"mdi-new-box",tooltip:"new"};case"STABLE":return{icon:"mdi-check-circle-outline",tooltip:"stable"};case"BETA":return{icon:"mdi-radioactive",tooltip:"beta"};default:return{}}},H=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e,t){return e.id===t?e:null};if(e&&null!==t){var o=[].reduce,a=function e(a,i){if(a||!i)return a;if(Array.isArray(i))return o.call(Object(i),e,a);var r=n(i,t);return null===r&&i.components&&i.components.length>0?e(null,i.components):r};return a(null,e)}return null},z=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0;return H(s()(e.panels).concat(s()(e.leftPanels),s()(e.rightPanels),[e.header,e.footer]).filter(function(e){return null!==e}),t,n)};function B(e,t,n,o){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;V("dw_".concat(e),"".concat("").concat(u["c"].REST_SESSION_VIEW,"data/").concat(e),{params:r()({format:t,outputFormat:o.value,adapter:o.adapter},-1!==a&&{locator:"T1(1){time=".concat(a,"}")}),responseType:"blob"},function(e,t){var a=window.URL.createObjectURL(new Blob([e.data])),i=document.createElement("a");i.href=a,i.setAttribute("download","".concat(n,".").concat(o.extension)),document.body.appendChild(i),i.click(),i.remove(),window.URL.revokeObjectURL(a),t()})}function K(e,t){var n=[Object.assign({},e)];return delete n[0][t],e[t]&&e[t].length>0?n.concat(e[t].map(function(e){return K(e,t)}).reduce(function(e,t){return e.concat(t)},[])):n}}).call(this,n("b639").Buffer)},be3b:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n("bc3a"),a=n.n(o),i=n("7cca"),r=a.a.create();t["b"]=function(e){var t=e.Vue,n=e.store;localStorage.getItem(i["u"].TOKEN)&&(r.defaults.headers.common.Authorization="Bearer ".concat(localStorage.getItem(i["u"].TOKEN))),console.debug(n.state.data.session),n.state.data.session?r.defaults.headers.common[i["r"].KLAB_AUTHORIZATION]=n.state.data.session:console.warn("No session established en axios header, check it"),n.state.data.token&&(r.defaults.headers.common.Authentication=n.state.data.token),t.prototype.$axios=r}},d247:function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"a",function(){return a}),n.d(t,"c",function(){return i});n("0d6d"),Object.freeze({SEARCH_TYPES:[{enumId:"CONCEPT",name:"CONCEPT",color:"#ff0000"},{enumId:"OPERATOR",name:"OPERATOR",color:"#ffff00"},{enumId:"OBSERVATION",name:"OBSERVATION",color:"#ff00ff"},{enumId:"MODEL",name:"MODEL",color:"#0000ff"}]});var o=Object.freeze({CLASS_USERCONTEXTCHANGE:"UserContextChange",CLASS_SEARCH:"Search",CLASS_OBSERVATIONLIFECYCLE:"ObservationLifecycle",CLASS_TASKLIFECYCLE:"TaskLifecycle",CLASS_USERCONTEXTDEFINITION:"UserContextDefinition",CLASS_USERINTERFACE:"UserInterface",CLASS_NOTIFICATION:"Notification",CLASS_RUN:"Run",TYPE_REGIONOFINTEREST:"RegionOfInterest",TYPE_FEATUREADDED:"FeatureAdded",TYPE_PERIODOFINTEREST:"PeriodOfInterest",TYPE_SUBMITSEARCH:"SubmitSearch",TYPE_MATCHACTION:"MatchAction",TYPE_REQUESTOBSERVATION:"RequestObservation",TYPE_RESETCONTEXT:"ResetContext",TYPE_RECONTEXTUALIZE:"Recontextualize",TYPE_TASKINTERRUPTED:"TaskInterrupted",TYPE_SCALEDEFINED:"ScaleDefined",TYPE_DATAFLOWNODEDETAIL:"DataflowNodeDetail",TYPE_DATAFLOWNODERATING:"DataflowNodeRating",TYPE_CHANGESETTING:"ChangeSetting",TYPE_USERINPUTPROVIDED:"UserInputProvided",TYPE_WATCHOBSERVATION:"WatchObservation",TYPE_ENGINEEVENT:"EngineEvent",TYPE_VIEWACTION:"ViewAction",TYPE_RUNAPP:"RunApp",TYPE_CONSOLECREATED:"ConsoleCreated",TYPE_CONSOLECLOSED:"ConsoleClosed",TYPE_COMMANDREQUEST:"CommandRequest",PAYLOAD_CLASS_SPATIALEXTENT:"SpatialExtent",PAYLOAD_CLASS_SPATIALLOCATION:"SpatialLocation",PAYLOAD_CLASS_TEMPORALEXTENT:"TemporalExtent",PAYLOAD_CLASS_SEARCHREQUEST:"SearchRequest",PAYLOAD_CLASS_SEARCHMATCHACTION:"SearchMatchAction",PAYLOAD_CLASS_OBSERVATIONREQUEST:"ObservationRequest",PAYLOAD_CLASS_INTERRUPTTASK:"InterruptTask",PAYLOAD_CLASS_SCALEREFERENCE:"ScaleReference",PAYLOAD_CLASS_DATAFLOWSTATE:"DataflowState",PAYLOAD_CLASS_CONTEXTUALIZATIONREQUEST:"ContextualizationRequest",PAYLOAD_CLASS_SETTINGCHANGEREQUEST:"SettingChangeRequest",PAYLOAD_CLASS_USERINPUTRESPONSE:"UserInputResponse",PAYLOAD_CLASS_WATCHREQUEST:"WatchRequest",PAYLOAD_CLASS_EMPTY:"String",PAYLOAD_CLASS_VIEWACTION:"ViewAction",PAYLOAD_CLASS_MENUACTION:"MenuAction",PAYLOAD_CLASS_LOADAPPLICATIONREQUEST:"LoadApplicationRequest",PAYLOAD_CLASS_CONSOLENOTIFICATION:"ConsoleNotification"}),a=Object.freeze({CLASS_TASKLIFECYCLE:"TaskLifecycle",CLASS_OBSERVATIONLIFECYCLE:"ObservationLifecycle",CLASS_QUERY:"Query",CLASS_USERCONTEXTCHANGE:"UserContextChange",CLASS_NOTIFICATION:"Notification",CLASS_USERCONTEXTDEFINITION:"UserContextDefinition",CLASS_USERINTERFACE:"UserInterface",CLASS_AUTHORIZATION:"Authorization",CLASS_VIEWACTOR:"ViewActor",TYPE_DATAFLOWCOMPILED:"DataflowCompiled",TYPE_DATAFLOWSTATECHANGED:"DataflowStateChanged",TYPE_DATAFLOWDOCUMENTATION:"DataflowDocumentation",TYPE_NEWOBSERVATION:"NewObservation",TYPE_MODIFIEDOBSERVATION:"ModifiedObservation",TYPE_QUERYRESULT:"QueryResult",TYPE_RESETCONTEXT:"ResetContext",TYPE_SCALEDEFINED:"ScaleDefined",TYPE_USERINPUTREQUESTED:"UserInputRequested",TYPE_USERPROJECTOPENED:"UserProjectOpened",TYPE_PROJECTFILEMODIFIED:"ProjectFileModified",TYPE_SCHEDULINGSTARTED:"SchedulingStarted",TYPE_SCHEDULINGFINISHED:"SchedulingFinished",TYPE_NETWORKSTATUS:"NetworkStatus",TYPE_CREATEVIEWCOMPONENT:"CreateViewComponent",TYPE_SCHEDULEADVANCED:"ScheduleAdvanced",TYPE_ENGINEEVENT:"EngineEvent",TYPE_SETUPINTERFACE:"SetupInterface",TYPE_VIEWACTION:"ViewAction",TYPE_VIEWAVAILABLE:"ViewAvailable",TYPE_VIEWSETTING:"ViewSetting",TYPE_COMMANDRESPONSE:"CommandResponse",TYPE_DOCUMENTATIONCHANGED:"DocumentationChanged",TYPE_CREATEMODALWINDOW:"CreateModalWindow",TYPE_AUTHORITYDOCUMENTATION:"AuthorityDocumentation",TYPE_PROVENANCECHANGED:"ProvenanceChanged",TYPE_TASKSTARTED:"TaskStarted",TYPE_TASKFINISHED:"TaskFinished",TYPE_TASKABORTED:"TaskAborted",TYPE_DEBUG:"Debug",TYPE_INFO:"Info",TYPE_WARNING:"Warning",TYPE_ERROR:"Error",PAYLOAD_CLASS_TASKREFERENCE:"TaskReference",PAYLOAD_CLASS_CONTEXTUALIZATIONNOTIFICATION:"ContextualizationNotification",PAYLOAD_CLASS_DATAFLOWSTATE:"DataflowState",PAYLOAD_CLASS_OBSERVATIONREFERENCE:"ObservationReference",PAYLOAD_CLASS_SEARCHRESPONSE:"SearchResponse",PAYLOAD_CLASS_SCALEREFERENCE:"ScaleReference",PAYLOAD_CLASS_USERINPUTREQUEST:"UserInputRequest",PAYLOAD_CLASS_SCHEDULERNOTIFICATION:"SchedulerNotification",PAYLOAD_CLASS_NETWORKREFERENCE:"NetworkReference",PAYLOAD_CLASS_EMPTY:"String",PAYLOAD_CLASS_VIEWCOMPONENT:"ViewComponent",PAYLOAD_CLASS_ENGINEEVENT:"EngineEvent",PAYLOAD_CLASS_LAYOUT:"Layout",PAYLOAD_CLASS_VIEWACTION:"ViewAction",PAYLOAD_CLASS_VIEWSETTING:"ViewSetting",PAYLOAD_CLASS_KNOWLEDGEVIEWREFERENCE:"KnowledgeViewReference",PAYLOAD_CLASS_CONSOLENOTIFICATION:"ConsoleNotification",PAYLOAD_CLASS_DOCUMENTATIONEVENT:"DocumentationEvent"}),i=Object.freeze({REST_STATUS:"".concat("/modeler","/engine/status"),REST_SESSION_INFO:"".concat("/modeler","/engine/session/info"),REST_SESSION_VIEW:"".concat("/modeler","/engine/session/view/"),REST_SESSION_OBSERVATION:"".concat("/modeler","/engine/session/observation/"),REST_UPLOAD:"".concat("/modeler","/resource/put"),REST_GET_PROJECT_RESOURCE:"".concat("/modeler","/engine/project/resource/get"),REST_API_LOGOUT:"".concat("/modeler/api/v2","/users/log-out"),REST_API_EXPORT:"".concat("/modeler/api/v2","/public/export")})},e7d8:function(e,t,n){"use strict";var o=n("2b0e"),a=n("a925"),i={label:{appTitle:"k.LAB Explorer EN",appRunning:"Running on Quasar v{version}",appClose:"Close",appOK:"Ok",appAccept:"Accept",appYES:"Yes",appNO:"No",appCancel:"Cancel",appRetry:"Retry",appNext:"Next",appPrevious:"Previous",appWarning:"Warning",appPlay:"Play",appReplay:"Replay",appPause:"Pause",appReload:"Reload",appPrint:"Print",appSetDefault:"Set as default",klabNoMessage:"No message",klabUnknownError:"Unknown error",klabNoDate:"No date",klabMessagesToSend:"There are one message in queue",modalNoConnection:"No connection, please wait",appFooter:"k.LAB Explorer - 2018",treeTitle:"Observation",reconnect:"Reconnect",unknownLabel:"Unknown",context:"context",noContext:"",noContextPlaceholder:"",contextShape:"context shape",noObservation:"No observations available",searchPlaceholder:"Search knowledge",fuzzySearchPlaceholder:"Free search",askForObservation:"Observing {urn}",noTokenDescription:"No description available",btnContextReset:"Reset context",contextReset:"Context reset",itemCounter:"{loaded} of {total}",logTab:"Log",treeTab:"Tree",noHistogramData:"No data",noInfoValues:"",noScaleReference:"",mcMenuScale:"Space & time:",mcMenuContext:"Context",mcMenuOption:"Options",mcMenuSettings:"Settings",mcMenuHelp:"Help",showTutorial:"Show tutorial",showHelp:"Show help",refreshSize:"Refresh window size",titleOutputFormat:"Download observation",askForOuputFormat:"Select format",titleChangeScale:"Change {type} scale",askForNewScale:"Select new scale",resolutionLabel:"Resolution value",unitLabel:"Unit value",clickToEditScale:"Click to edit",clickToLock:"Click to lock scale",clickToUnlock:"Click to unlock scale",scaleLocked:"{type} scale locked",spaceScale:"Space",timeScale:"Time",unitCentimeter:"Centimeters",unitMeter:"Meters",unitKilometer:"Kilometers",unitMillennium:"Millennium",unitCentury:"Century",unitDecade:"Decade",unitYear:"Year",unitMonth:"Month",unitWeek:"Week",unitDay:"Day",unitHour:"Hour",unitMinute:"Minute",unitSecond:"Second",unitMillisecond:"Millisecond",timeOrigin:"Initial time",labelTimeStart:"Start time",labelTimeEnd:"End time",labelSpatial:"spatial",labelTemporal:"temporal",newContext:"New context",previousContexts:"Previous contexts",drawCustomContext:"Draw context",eraseCustomContext:"Erase custom context",addToCustomContext:"Add shape",drawPoint:"Point",drawLineString:"Line",drawPolygon:"Polygon",drawCircle:"Circle",optionShowAll:"Show all",optionSaveLocation:"Remember location",saveDockedStatus:"Remember docked status",noNodes:"No observations",loadShowData:"Load and show data",interactiveMode:"Interactive mode",noInputSectionTitle:"No section title",cancelInputRequest:"Cancel run",resetInputRequest:"Use defaults",submitInputRequest:"Submit",IDLAlertTitle:"Warning!",recontextualization:"Set as context",rememberDecision:"Don't show again",titleCommentResource:"Comment on resource",sendComment:"Send",noTimeSet:"Initial state",timeResolutionMultiplier:"Multiplier",months:{m0:"January",m1:"February",m2:"March",m3:"April",m4:"May",m5:"June",m6:"July",m7:"August",m8:"September",m9:"October",m10:"November",m11:"December"},removeProposedContext:"Remove context",levelDebug:"Debug",levelInfo:"Info",levelWarning:"Warning",levelError:"Error",levelEngineEvent:"Engine event",userDetails:"User details",unknownUser:"Unknown user",userId:"Id:",userEmail:"Email:",userLastLogin:"Last login:",userGroups:"Groups:",appsList:"Available apps",appsClose:"Close app",appsLogout:"Logout",reloadApplications:"Reload applications",noLayoutLabel:"No title",noLayoutDescription:"No description",kwTable:"Table",kwChart:"Chart",openTerminal:"Open terminal",openDebugger:"Open debugger",titleSelectTerminalSize:"Select terminal size",terminalDeleteHistory:"Delete history",terminalResizeWindow:"Resize terminal window",terminalMinimize:"Minimize terminal",terminalMaximize:"Maximize terminal",terminalClose:"Close terminal",noDocumentation:"No elements available for this view",tableDownloadAsXSLX:"Download table as .xslx",tableCopy:"Copy table to clipboard",resettingContext:"Resetting context",reportTable:"Table",reportFigure:"Figure",viewCoordinates:"Show coordinates"},messages:{connectionClosed:"Connection closed",connectionWorking:"Trying to reconnect",connectionUnknown:"Starting...",noSpaceAllowedInSearch:"Spaces cannot be used in the search box",noSearchResults:"No search results",noActionForObservation:"No actions available",noTime:"no time",emptyReport:'
Empty report
',noLoadedReport:"No report loaded",copiedToClipboard:"Copied to clipboard",customCopyToClipboard:"{what} copied to clipboard",changeScaleResolutionError:"Resolution must be positive",updateScale:"{type} scale updated",updateNextScale:"New {type} scale have been stored, press refresh to update",invalidGeometry:"Polygon is not valid",geolocationWaitingTitle:"Enable geolocation?",geolocationWaitingText:"k.Explorer can detect your current location to initialize the geographical viewer.
In order to do so, you need to authorize geolocation.
This is merely for your convenience and does not affect operation.
Your choice will be remembered and can be changed at any time.",geolocationErrorPermissionDenied:"Geolocation has not been authorized",geolocationErrorPositionUnavailable:"Location information is unavailable",geolocationErrorTimeout:"A request to get the user location timed out",geolocationErrorUnknown:"An unknown error occurred",unknownSearchObservation:"Previous observations results",noLogItems:"Empty log",noLevelSelected:"No levels selected",uploadComplete:"Upload of file {fileName} complete",IDLAlertText:"Actual view crossing the International Date Line. A drawn context is needed",lastTermAlertText:"No more terms allowed",parenthesisAlertText:"You have open parenthesis",emptyFreeTextSearch:"Empty search is not allowed",fuzzyModeOff:"Free search off",fuzzyModeOn:"Free search on",treeNoResult:"No results",treeNoNodes:"No data",treeNoResultUser:"No main observations",treeNoResultUserWaiting:"Computing...",treeNoResultNoUser:"No observations",treeNoMainSummary:"Other observations",thankComment:"Comment has been sent",confirmRescaleContext:"The context will be recreate with new resolution.\nAre you sure?",loadingChildren:"Loading children...",waitingLocation:"Searching for {location}...",waitingObservationInit:"Initializing observation...",availableInFuture:"This feature will be available soon",timeEndBeforeTimeStart:"End time cannot be before start time",timeEndModified:"Multiplier is not used because the end time was manually changed",pressToChangeSpeed:"Press to play
Hold to change speed
Actual speed x{multiplier}",resourcesValidating:"Engine is busy",presentationBlocked:'

Can\'t access online help resources: check your network connection

A browser extension may also be interfering

',noAppsAvailable:"No available apps",noGroupsAssigned:"No groups assigned",appLoading:"Loading app {app}",errorLoadingApp:"Error loading app {app}",reloadApp:"Reload application",errorLoggingOut:"Error logging out, contact support",terminalHello:"Welcome to k.LAB {type}",noDocumentation:"No documentation available",confirmExitPage:"Data will be lost if you leave the page, are you sure?",tableCopied:"Table copied to clipboard",invalidSession:"Invalid session",sessionClosed:"Session closed by server",unknownSessionError:"Problem with session",youHaveGOT:"Winter is coming"},tooltips:{treePane:"View tree",showLogPane:"View log",hideLogPane:"Hide log",resetContext:"Reset context",interruptTask:"Interrupt task {taskDescription}",dataViewer:"View data",reportViewer:"View report",documentationViewer:"View documentation",scenarios:"Scenarios",observers:"Observers",noReportTask:"Cannot view report,\nwait for task end",noReportObservation:"Report not available,\nno observations",noDocumentation:"Documentation not available,\nno observations",noDataflow:"Dataflow not availble",noDataflowInfo:"No details",dataflowViewer:"View data flow",provenanceViewer:"View provenance (will be...)",undock:"Undock",copyEncodedShapeToClipboard:"Copy context shape to clipboard",cancelInputRequest:"Cancel run",resetInputRequest:"Use default values",submitInputRequest:"Submit values",displayMainTree:"Display main tree",hideMainTree:"Hide main tree",rateIt:"Rate resource",commentIt:"Comment on resource",refreshScale:"Refresh context with new scale(s)",clickToEdit:"Click to edit {type} scale",palette:"No palette",unknown:"To be decided",noKnowledgeViews:"No knowledge views",knowledgeViews:"Knowledge views",uploadData:"Upload data (forthcoming)"},errors:{connectionError:"Connection error",searchTimeout:"Search timeout",uploadError:"Upload error for the file {fileName}"},engineEventLabels:{evtResourceValidation:"Resource validation"},langName:"English"},r={label:{appTitle:"k.LAB Explorer ES",appRunning:"Ejecutándose sobre Quasar v{version}",appClose:"Cerrar",appOK:"Ok",appCancel:"Cancelar",appRetry:"Reintentar",appNext:"Siguiente",appPrevious:"Precedente",klabNoMessage:"No hay ningún mensaje",klabUnknownError:"Error desconocido",klabNoDate:"No hay fecha",klabMessagesToSend:"Hay un mensaje en la cola",modalNoConnection:"No hay conexión, esperar",appFooter:"k.LAB Explorer - 2018",treeTitle:"Observaciones",reconnect:"Reconectar",unknownLabel:"Desconocido",context:"contesto",noContext:"",contextShape:"context shape",noObservation:"No hay observaciones",searchPlaceholder:"Buscar in k.LAB",fuzzySearchPlaceholder:"Buscar",askForObservation:"Pidiendo {urn}",noTokenDescription:"No hay descripción",btnContextReset:"Resetear contexto",contextReset:"Contexto reseteado",itemCounter:"{loaded} de {total}",logTab:"Log",treeTab:"Árbol",noHistogramData:"No data",noInfoValues:"",noScaleReference:"",mcMenuScale:"Espacio y tiempo:",mcMenuContext:"Contexto",mcMenuOption:"Optciones",titleOutputFormat:"Download observación",askForOuputFormat:"Seleccionar un formato",titleChangeScale:"Cambiar escala",askForNewScale:"Seleccionar nueva escala",resolutionLabel:"Valor de la escala",unitLabel:"Unidad de la escala",clickToEditScale:"Click para modificar",clickToLock:"Click para bloquear la escala",clickToUnlock:"Click para desbloquear la escala",scaleLocked:"{type} escala bloqueada",spaceScale:"Espacio",timeScale:"Tiempo",labelCm:"Centimetros",labelM:"Metros",labelKm:"Kilometros",labelSpatial:"espacial",labelTemporal:"temporal",newContext:"Nuevo contexto",previousContexts:"Contextos prévios",drawCustomContext:"Dibujar contexto",eraseCustomContext:"Borrar contexto",addToCustomContext:"Añadir shape",drawPoint:"Punto",drawLineString:"Línea",drawPolygon:"Polígono",drawCircle:"Circulo",optionShowAll:"Ver todas",optionSaveLocation:"Recordar posición",noNodes:"No results: is waiting?",loadShowData:"Cargar y visualizar datos",interactiveMode:"Modo interactivo",noInputSectionTitle:"No section title",cancelInputRequest:"Cancelar ejecución",resetInputRequest:"Utilizar defaults",submitInputRequest:"Enviar",IDLAlertTitle:"Cuidado!",recontextualization:"Fijar como contexto",rememberDecision:"Recordar mi elección"},messages:{connectionClosed:"Conexión cerrada",connectionWorking:"Intentando reconectar",connectionUnknown:"Inicializando...",noSpaceAllowedInSearch:"No está permitido utilizar espacios en la búsqueda",noSearchResults:"No hay resultados",noActionForObservation:"No hay acciones disponibles",noTime:"sin información",emptyReport:'',noLoadedReport:"No se ha cargado ningun report",copiedToClipboard:"Copiado",customCopyToClipboard:"{what} copiado",changeScaleResolutionError:"La resolución tiene que ser positiva",updateScale:"Actualizada la escala {type}, nuevo valor {resolution} {unit}",invalidGeometry:"Polígono no válido",geolocationWaitingTitle:"¿Habilitar la geolocalización?",geolocationWaitingText:"k.Explorer puede detectar tu posición actual para inicializar la vista geográfica.
Para hacer eso, hay que autorizar la geolocalización.
Esto es solamente por comodidad yno afecta a la operatividad.
Your choice will be remembered and can be changed at any time.",geolocationErrorPermissionDenied:"No se ha autorizado la geolocalización",geolocationErrorPositionUnavailable:"No hay información de posicionamiento",geolocationErrorTimeout:"Se ha superado el tiempo de espera para la geolocalización",geolocationErrorUnknown:"Ha habido un error desconocido",needHelpTitle:"How to use",needHelp0Text:"To use this, you need to know various things:",needHelp1Text:"The first",needHelp2Text:"The second",needHelp3Text:"The last",unknownSearchObservation:"Resultado de observaciones previas",noLogItems:"No hay elementos en el log",uploadComplete:"Upload del file {fileName} completado",IDLAlertText:"La selección actual cruza la IDL. Sólo está permitido en caso de dibujar un contexto",lastTermAlertText:"No están permitidos mas tokens",parenthesisAlertText:"Parentesis no balanceadas",emptyFreeTextSearch:"Búsqueda vacía",fuzzyModeOff:"Búsqueda libre desactivada",fuzzyModeOn:"Búsqueda libre activada",youHaveGOT:"Winter is coming"},tooltips:{treePane:"Ver árbol",logPane:"Ver log",resetContext:"Reset context",interruptTask:"Interrumpir proceso {taskDescription}",dataViewer:"Ver datos",reportViewer:"Ver report",noReportTask:"Cannot view report,\nwait for task end",noReportObservation:"Report no disponibile,\nno hay observaciones",noDataflow:"Dataflow no disponible",dataflowViewer:"Ver data flow",provenanceViewer:"Ver provenance (will be...)",undock:"Desacoplar",copyEncodedShapeToClipboard:"Copiar el contexto en el portapapeles",cancelInputRequest:"Cancelar ejecución",resetInputRequest:"Utilizar default",submitInputRequest:"Enviar"},errors:{connectionError:"Error de conexión",searchTimeout:"Tiempo de busqueda terminado",uploadError:"Error durante el upload del file {fileName}"},langName:"Español"},c={label:{appTitle:"k.LAB Explorer IT",appRunning:"Esecutandosi con Quasar v{version}",appClose:"Chiudi",appOK:"Ok",appCancel:"Cancellare",appRetry:"Riprovare",appNext:"Successiva",appPrevious:"Precedente",klabNoMessage:"Nessun messaggio",klabUnknownError:"Errore sconosciuto",klabNoDate:"Nessuna data",klabMessagesToSend:"C'è un messaggio in coda",modalNoConnection:"Non c'è connessione",appFooter:"k.LAB Explorer - 2018",treeTitle:"Osservazioni",reconnect:"Riconnettere",unknownLabel:"Sconosciuto",context:"contesto",noContext:"",contextShape:"context shape",noObservation:"Nessuna osservazione disponibile",searchPlaceholder:"Cerca in k.LAB",fuzzySearchPlaceholder:"Cerca",askForObservation:"Chiedendo {urn}",noTokenDescription:"Descrizione non disponibile",btnContextReset:"Resettare il contesto",contextReset:"Contesto resettato",itemCounter:"{loaded} di {total}",logTab:"Log",treeTab:"Albero",noHistogramData:"No data",noInfoValues:"",noScaleReference:"",mcMenuScale:"Spazio e tempo",mcMenuContext:"Contesto",mcMenuOption:"Optziono",titleOutputFormat:"Download osservazione",askForOuputFormat:"Selezionare un formato",titleChangeScale:"Cambiare scala",askForNewScale:"Seleccionar la nueva escala",resolutionLabel:"Valore della scala",unitLabel:"Unità della scala",clickToEditScale:"Click per modificare",clickToLock:"Click per bloccare la scala",clickToUnlock:"Click per sbloccare la scala",scaleLocked:"{type} scala bloccata",spaceScale:"Spacio",timeScale:"Tempo",labelCm:"Centimetri",labelM:"Metri",labelKm:"Kilometri",labelSpatial:"spaziale",labelTemporal:"temporale",newContext:"Constesto nuovo",previousContexts:"Contesti precedenti",drawCustomContext:"Disegnare contesto",eraseCustomContext:"Eliminare contesto",addToCustomContext:"Aggiungere shape",drawPoint:"Punto",drawLineString:"Linea",drawPolygon:"Poligono",drawCircle:"Cerchio",optionShowAll:"Vedere tutte",optionSaveLocation:"Ricordare posizione",noNodes:"No results: is waiting?",loadShowData:"Caricare e visualizzare dati",interactiveMode:"Modo interattivo",noInputSectionTitle:"Sezione senza titolo",cancelInputRequest:"Cancellare esecuzion",resetInputRequest:"Utilizzare defaults",submitInputRequest:"Inviare",IDLAlertTitle:"Attenzione!",recontextualization:"Settare come contesto",rememberDecision:"Ricordare la mia decisione"},messages:{connectionClosed:"Connessione chiusa",connectionWorking:"Cercando di riconnettere",connectionUnknown:"Inizializzando...",noSpaceAllowedInSearch:"Non è permesso utilizare spazi nella ricerca",noSearchResults:"Non esistono risultati",noActionForObservation:"Nessuna azione disponibile",noTime:"senza informazione di ora",emptyReport:'',noLoadedReport:"Non si è caricato nessun report",copiedToClipboard:"Copiato",customCopyToClipboard:"{what} copiato",changeScaleResolutionError:"La risoluzione deve essere positiva",updateScale:"Attualizata la scala {type}, nuovo valore {resolution} {unit}",invalidGeometry:"Poligono non valido",geolocationWaitingTitle:"Attivare la geolocalizzazione?",geolocationWaitingText:"k.Explorer può detettare la posizione per inizializzare la vista geografica.
Perché questo sia possibile, è necessario autorizzare la geolocalizzazione.
Quest'ultimo è esclusivamente per comodità e non influenza l'operatività.
Your choice will be remembered and can be changed at any time.",geolocationErrorPermissionDenied:"Non si ha autorizzato la geolocalizzazione",geolocationErrorPositionUnavailable:"Posizione non disponibile",geolocationErrorTimeout:"Terminato il tempo di attesa per la geolocalizzazione",geolocationErrorUnknown:"Errore imprevisto",needHelpTitle:"How to use",needHelp0Text:"To use this, you need to know various things:",needHelp1Text:"The first",needHelp2Text:"The second",needHelp3Text:"The last",unknownSearchObservation:"Risultato di osservazioni previe",noLogItems:"Il log è vuoto",uploadComplete:"Upload del file {fileName} completato",IDLAlertText:"La selezione attuale incrocia la IDL. per poterlo fare è necessario disegnare un contesto",lastTermAlertText:"Non sono permessi altri token",parenthesisAlertText:"Paretesi sbilanciate",emptyFreeTextSearch:"Ricerca vuota",fuzzyModeOff:"Ricerca libers disattivata",fuzzyModeOn:"Ricerca libera attivata",youHaveGOT:"Winter is coming"},tooltips:{treePane:"Albero",logPane:"Log",resetContext:"Reset context",interruptTask:"Interrompere processo {taskDescription}",dataViewer:"Vedere dati",reportViewer:"Vedere report",noReportTask:"Report non disponibile,\naspettare",noReportObservation:"Report non disponibile,\nnon ci sono osservazioni",noDataflow:"Dataflow non disponible",dataflowViewer:"Vedere data flow (will be...)",provenanceViewer:"Vedere provenance (will be...)",undock:"Sganciare",copyEncodedShapeToClipboard:"Copia il contesto negli appunti",cancelInputRequest:"Cancellare esecuzion",resetInputRequest:"Utilizzare default",submitInputRequest:"Inviare"},errors:{connectionError:"Errore di connessione",searchTimeout:"Tempo di ricerca terminato",uploadError:"Errore durante l'upload del file {fileName}"},langName:"Italiano"},s={en:i,es:r,it:c},l=n("741d"),u=n("7cca");n.d(t,"b",function(){return E});var d=null;function E(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(e||null===d){o["a"].use(a["a"]);var t="en";l["a"].has(u["R"].COOKIE_LANG)?(t=l["a"].get(u["R"].COOKIE_LANG),console.debug("Locale set from cookie to ".concat(t))):(l["a"].set(u["R"].COOKIE_LANG,t,{expires:30,path:"/",secure:!0}),console.debug("Lang cookie set to ".concat(t))),d=new a["a"]({locale:t,fallbackLocale:"en",messages:s})}return d}t["a"]=function(e){var t=e.app;t.i18n=E()}},fb1c:function(e,t,n){}},[[0,"runtime","vendor"]]]); \ No newline at end of file diff --git a/klab.engine/src/main/resources/static/ui/js/app.acc7c5c8.js b/klab.engine/src/main/resources/static/ui/js/app.acc7c5c8.js deleted file mode 100644 index f9f6dc074..000000000 --- a/klab.engine/src/main/resources/static/ui/js/app.acc7c5c8.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["app"],{0:function(e,t,n){e.exports=n("2f39")},"034f":function(e,t,n){"use strict";var o=n("fb1c"),a=n.n(o);a.a},1:function(e,t){},1442:function(e,t,n){"use strict";n.d(t,"d",function(){return A}),n.d(t,"f",function(){return I}),n.d(t,"e",function(){return v}),n.d(t,"c",function(){return N}),n.d(t,"b",function(){return h}),n.d(t,"a",function(){return R});n("ac6a"),n("7514"),n("48c0"),n("6c7b");var o=n("7cca"),a=n("480c"),i=n("5043"),r=n("d0e9"),c=n("2ef1"),s=n("6c77"),l=n("83a6"),u=n("8682"),d=n("8295"),E=n("6cbf"),f=n("bcf0"),T=n("4cdf"),p=n("ddaa"),S=n("8f3a"),m=n("256f"),O="pk.eyJ1Ijoiay1sYWIiLCJhIjoiY2prd2d2dWNxMHlvcDNxcDVsY3FncDBydiJ9.zMQE3gu-0qPpkLapVfVhnA",b='© Mapbox © OpenStreetMap Improve this map',A={BING_KEY:"",COORD_BC3:[-2.968226,43.332125],PROJ_EPSG_4326:Object(m["g"])("EPSG:4326"),PROJ_EPSG_3857:Object(m["g"])("EPSG:3857"),ZINDEX_TOP:1e4,ZINDEX_BASE:1e3,ZINDEX_MULTIPLIER_RASTER:0,ZINDEX_MULTIPLIER_POLYGONS:1,ZINDEX_MULTIPLIER_LINES:2,ZINDEX_MULTIPLIER_POINTS:3,DEFAULT_BASELAYER:"osm_layer"},_={MARKER_SVG:function(e){var t=e.fill,n=void 0===t?"yellow":t,o=e.stroke,a=void 0===o?"black":o,i=e.strokeWidth,r=void 0===i?"5":i;return'\n ')}},I={POINT_OBSERVATION_ICON:new E["a"]({anchor:[.5,1],src:"statics/maps/marker.png",opacity:.8,scale:.6}),POINT_OBSERVATION_SVG_ICON:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.3;return new E["a"]({opacity:1,src:"data:image/svg+xml;utf8,".concat(_.MARKER_SVG(e)),scale:t})},POINT_OBSERVATION_TEXT:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.offsetY,n=void 0===t?25:t,o=e.bold,a=void 0!==o&&o,i=e.size,r=void 0===i?"10px":i;return new d["a"]({textAlign:"center",textBaseline:"bottom",offsetY:n,font:"".concat(a?"bold":"normal"," ").concat(r," Roboto, sans-serif")})}},v={POLYGON_CONTEXT_STYLE:new s["c"]({fill:new l["a"]({color:"rgba(38, 166, 154, 0.2)"})}),POLYGON_PROPOSED_CONTEXT:new s["c"]({fill:new l["a"]({color:"rgba(255,255,255,0.5)"}),stroke:new f["a"]({width:8,pattern:"hatch",color:"#3187ca",offset:0,scale:.75,fill:new l["a"]({color:"#FFFFFF"}),size:2,spacing:5,angle:45})}),POLYGON_OBSERVATION_STYLE:new s["c"]({stroke:new u["a"]({color:"rgb(255, 102, 0)",width:2}),fill:new l["a"]({color:"rgba(255, 102, 0, 0.2)"})}),LNE_OBSERVATION_STYLE:new s["c"]({stroke:new u["a"]({color:"rgb(255, 102, 0)",width:2})}),POINT_OBSERVATION_SVG_PARAM:{fill:o["e"].MAIN_COLOR,stroke:"rgb(51,51,51)",strokeWidth:"4",scale:.3},POINT_CONTEXT_SVG_PARAM:{fill:"rgb(17, 170, 187)",stroke:"rgb(51,51,51)",strokeWidth:"5",scale:.5,offsetY:35,bold:!0,size:"14px"}},N={OSM_LAYER:new a["a"]({name:"osm_layer",title:"OpenStreetMap",type:"base",source:new r["a"]({attributions:'Map credits ©\n OSM\n contributors.'}),visible:!1}),CLEARMAP_TOPO_LAYER:new a["a"]({name:"clearmap_topo_layer",title:"UN Clear Map",type:"base",source:new i["a"]({url:"https://geoservices.un.org/arcgis/rest/services/ClearMap_WebTopo/MapServer/export"}),visible:!1}),CLEARMAP_PLAIN_LAYER:new a["a"]({name:"clearmap_plain_layer",title:"UN Clear Map Plain",type:"base",source:new i["a"]({url:"https://geoservices.un.org/arcgis/rest/services/ClearMap_WebPlain/MapServer/export"}),visible:!1}),CLEARMAP_DARK_LAYER:new a["a"]({name:"clearmap_dark_layer",title:"UN Clear Map Dark",type:"base",source:new i["a"]({url:"https://geoservices.un.org/arcgis/rest/services/ClearMap_WebDark/MapServer/export"}),visible:!1}),CLEARMAP_GRAY_LAYER:new a["a"]({name:"clearmap_gray_layer",title:"UN Clear Map Gray",type:"base",source:new i["a"]({url:"https://geoservices.un.org/arcgis/rest/services/ClearMap_WebGray/MapServer/export"}),visible:!1}),GOOGLE_HYBRID:new a["a"]({name:"google_hybrid",title:"Google Hybrid",type:"base",source:new c["a"]({crossOrigin:"anonymous",url:"http://mt{0-3}.google.com/vt/lyrs=y&hl=en&x={x}&y={y}&z={z}",attribution:"© 2018 Google, Inc"}),visible:!1}),GOOGLE_STREET:new a["a"]({name:"google_street",title:"Google Street",type:"base",source:new c["a"]({crossOrigin:"anonymous",url:"http://mt{0-3}.google.com/vt/lyrs=m&x={x}&y={y}&z={z}",attribution:"© 2018 Google, Inc"}),visible:!1}),GOOGLE_TERRAIN:new a["a"]({name:"google_terrain",title:"Google Terrain",type:"base",source:new c["a"]({crossOrigin:"anonymous",url:"https://mt{0-3}.google.com/vt/lyrs=t&x={x}&y={y}&z={z}",attribution:"© 2018 Google, Inc"}),visible:!1}),MAPBOX_CALI_TERRAIN:new a["a"]({name:"mapbox_cali_terrain",title:"Mapbox Terrain",type:"base",source:new c["a"]({crossOrigin:"anonymous",url:"https://api.mapbox.com/styles/v1/k-lab/cjkwh1z9z06ok2rrn9unfpn2n/tiles/256/{z}/{x}/{y}?access_token=".concat(O),attribution:b}),visible:!1}),MAPBOX_MINIMO:new a["a"]({name:"mapbox_minimo",title:"Mapbox Minimo",type:"base",source:new c["a"]({crossOrigin:"anonymous",url:"https://api.mapbox.com/styles/v1/k-lab/cjm0l6i4g7ffj2sqk7xy5dv1m/tiles/256/{z}/{x}/{y}?access_token=".concat(O),attribution:b}),visible:!1}),MAPBOX_TERRAIN:new a["a"]({name:"mapbox_terrain",title:"Mapbox Terrain",type:"base",source:new c["a"]({crossOrigin:"anonymous",format:"pbf",url:"https://api.mapbox.com/styles/v1/k-lab/cl1dgarpr005f15ntep34yq88/tiles/256/{z}/{x}/{y}?access_token=".concat(O),attribution:b}),visible:!1}),MAPBOX_GOT:new a["a"]({name:"mapbox_got",title:"k.LAB Mapbox GOT",type:"base",source:new c["a"]({crossOrigin:"anonymous",url:"https://api.mapbox.com/styles/v1/k-lab/cjuihteg13toh1fmovvd6r80y/tiles/256/{z}/{x}/{y}?access_token=".concat(O),attribution:b}),visible:!1}),EMPTY_LAYER:new a["a"]({name:"empty_layer",title:"No background",type:"base",visible:!1})},h={controls:S["a"]({attribution:!1}).extend([]),target:"map",projection:A.PROJ_EPSG_4326,center:Object(m["l"])(A.COORD_BC3,A.PROJ_EPSG_4326,A.PROJ_EPSG_3857),zoom:13},R={layers:[N.EMPTY_LAYER,N.CLEARMAP_TOPO_LAYER,N.MAPBOX_MINIMO,N.MAPBOX_TERRAIN,N.OSM_LAYER],mask:null,hasMask:function(){return null!==this.mask},getBaseLayer:function(){return this.layers.find(function(e){return"base"===e.get("type")&&e.getVisible()})},setMask:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[38,38,38,.4];null!==this.mask&&this.removeMask(),this.mask=new p["a"]({feature:new T["a"]({geometry:e,name:"Context"}),inner:!1,active:!0,fill:new l["a"]({color:n})}),this.layers.forEach(function(e){e.addFilter(t.mask)})},removeMask:function(){var e=this;null!==this.mask&&this.layers.forEach(function(t){t.removeFilter(e.mask)}),this.mask=null}}},"17dc":function(e,t,n){"use strict";n.d(t,"a",function(){return f});n("ac6a"),n("cadf"),n("6b54"),n("c5f6");var o=n("3156"),a=n.n(o),i=n("278c"),r=n.n(i),c=n("2369"),s=n("c1df"),l=n.n(s),u=n("d247");function d(e,t,n,o,a){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,r=n!==u["b"].PAYLOAD_CLASS_EMPTY?c["b"].validateJsonSchema(o,n):o;return{validated:r,body:{messageClass:e,type:t,payloadClass:n,payload:o,identity:a,timestamp:l()().valueOf(),inResponseTo:i}}}var E={SPATIAL_EXTENT:function(e){var t=r()(e,4),n=t[0],o=t[1],a=t[2],i=t[3];return{south:o,west:n,north:i,east:a}}},f={REGION_OF_INTEREST:function(e,t){return d(u["b"].CLASS_USERCONTEXTCHANGE,u["b"].TYPE_REGIONOFINTEREST,u["b"].PAYLOAD_CLASS_SPATIALEXTENT,E.SPATIAL_EXTENT(e),t)},SEARCH_REQUEST:function(e,t){var n=e.queryString,o=e.searchMode,i=e.requestId,r=e.contextId,c=void 0===r?null:r,s=e.matchTypes,l=void 0===s?null:s,E=e.cancelSearch,f=void 0!==E&&E,T=e.defaultResults,p=void 0!==T&&T,S=e.maxResults;return d(u["b"].CLASS_SEARCH,u["b"].TYPE_SUBMITSEARCH,u["b"].PAYLOAD_CLASS_SEARCHREQUEST,a()({},null!==c&&{contextId:c},null!==l&&{matchTypes:l},{queryString:n,searchMode:o,requestId:i,cancelSearch:f,defaultResults:p,maxResults:S}),t)},SEARCH_MATCH:function(e,t){var n=e.contextId,o=e.matchId,a=e.matchIndex,i=e.added;return d(u["b"].CLASS_SEARCH,u["b"].TYPE_MATCHACTION,u["b"].PAYLOAD_CLASS_SEARCHMATCHACTION,{contextId:n,matchId:o,matchIndex:a,added:i},t)},OBSERVATION_REQUEST:function(e,t){var n=e.urn,o=e.contextId,i=e.searchContextId,r=void 0===i?null:i,c=e.estimate,s=void 0!==c&&c,l=e.estimatedCost,E=void 0===l?0:l;return d(u["b"].CLASS_OBSERVATIONLIFECYCLE,u["b"].TYPE_REQUESTOBSERVATION,u["b"].PAYLOAD_CLASS_OBSERVATIONREQUEST,a()({urn:n},null!==o&&{contextId:o},null!==r&&{searchContextId:r},{estimate:s,estimatedCost:E}),t)},RESET_CONTEXT:function(e){return d(u["b"].CLASS_USERCONTEXTCHANGE,u["b"].TYPE_RESETCONTEXT,u["b"].PAYLOAD_CLASS_EMPTY,"",e)},CONTEXTUALIZATION_REQUEST:function(e,t){var n=e.contextUrn,o=e.contextId,i=e.parentContext,r=e.contextQuery;return d(u["b"].CLASS_OBSERVATIONLIFECYCLE,u["b"].TYPE_RECONTEXTUALIZE,u["b"].PAYLOAD_CLASS_CONTEXTUALIZATIONREQUEST,a()({},"undefined"!==typeof n&&{contextUrn:n},"undefined"!==typeof o&&{contextId:o},"undefined"!==typeof i&&{parentContext:i},"undefined"!==typeof r&&{contextQuery:r}),t)},TASK_INTERRUPTED:function(e,t){var n=e.taskId,o=e.forceInterruption,a=void 0===o||o;return d(u["b"].CLASS_TASKLIFECYCLE,u["b"].TYPE_TASKINTERRUPTED,u["b"].PAYLOAD_CLASS_INTERRUPTTASK,{taskId:n,forceInterruption:a},t)},SCALE_REFERENCE:function(e,t){var n=e.scaleReference,o=e.spaceResolution,i=e.spaceUnit,r=e.timeResolutionMultiplier,c=e.timeUnit,s=e.start,l=e.end,E=e.timeResolutionDescription,f=void 0===E?"":E,T=e.contextId,p=void 0===T?"":T,S=e.shape,m=void 0===S?"":S,O=e.timeType,b=void 0===O?"":O,A=e.timeGeometry,_=void 0===A?"":A,I=e.spaceGeometry,v=void 0===I?"":I;return d(u["b"].CLASS_USERCONTEXTDEFINITION,u["b"].TYPE_SCALEDEFINED,u["b"].PAYLOAD_CLASS_SCALEREFERENCE,a()({},n,{name:"",contextId:p,shape:m,timeType:b,timeGeometry:_,spaceGeometry:v,timeResolutionDescription:null===f?"":f},"undefined"!==typeof o&&{spaceResolution:o},"undefined"!==typeof i&&{spaceUnit:i},"undefined"!==typeof r&&{timeResolutionMultiplier:r},"undefined"!==typeof c&&{timeUnit:c},"undefined"!==typeof s&&{start:s},"undefined"!==typeof l&&{end:l}),t)},SPATIAL_LOCATION:function(e,t){var n=e.wktShape,o=e.contextId,i=void 0===o?null:o;return d(u["b"].CLASS_USERCONTEXTCHANGE,u["b"].TYPE_FEATUREADDED,u["b"].PAYLOAD_CLASS_SPATIALLOCATION,a()({easting:Number.MIN_VALUE,northing:Number.MIN_VALUE,wktShape:n},null!==i&&{contextId:i}),t)},DATAFLOW_NODE_DETAILS:function(e,t){var n=e.nodeId,o=e.contextId;return d(u["b"].CLASS_TASKLIFECYCLE,u["b"].TYPE_DATAFLOWNODEDETAIL,u["b"].PAYLOAD_CLASS_DATAFLOWSTATE,{nodeId:n,monitorable:!1,rating:-1,progress:0,contextId:o},t)},DATAFLOW_NODE_RATING:function(e,t){var n=e.nodeId,o=e.contextId,i=e.rating,r=e.comment,c=void 0===r?null:r;return d(u["b"].CLASS_TASKLIFECYCLE,u["b"].TYPE_DATAFLOWNODERATING,u["b"].PAYLOAD_CLASS_DATAFLOWSTATE,a()({nodeId:n,monitorable:!1,progress:0,rating:i},null!==c&&{comment:c},{contextId:o}),t)},SETTING_CHANGE_REQUEST:function(e,t){var n=e.setting,o=e.value;return d(u["b"].CLASS_USERINTERFACE,u["b"].TYPE_CHANGESETTING,u["b"].PAYLOAD_CLASS_SETTINGCHANGEREQUEST,{setting:n,previousValue:(!o).toString(),newValue:o.toString()},t)},USER_INPUT_RESPONSE:function(e,t){var n=e.messageId,o=e.requestId,a=e.cancelRun,i=void 0!==a&&a,r=e.values,c=void 0===r?{}:r;return d(u["b"].CLASS_USERINTERFACE,u["b"].TYPE_USERINPUTPROVIDED,u["b"].PAYLOAD_CLASS_USERINPUTRESPONSE,{requestId:o,cancelRun:i,values:c},t,n)},WATCH_REQUEST:function(e,t){var n=e.active,o=e.eventType,i=e.observationId,r=e.rootContextId;return d(u["b"].CLASS_USERINTERFACE,u["b"].TYPE_WATCHOBSERVATION,u["b"].PAYLOAD_CLASS_WATCHREQUEST,a()({active:n,observationId:i,rootContextId:r},o&&{eventType:o}),t)},WATCH_ENGINE_EVENT:function(e,t){var n=e.active,o=e.eventType;return d(u["b"].CLASS_NOTIFICATION,u["b"].TYPE_ENGINEEVENT,u["b"].PAYLOAD_CLASS_WATCHREQUEST,{active:n,eventType:o},t)},VIEW_ACTION:function(e,t){var n=e.component,o=e.componentTag,a=void 0===o?null:o,i=e.applicationId,r=void 0===i?null:i,c=e.booleanValue,s=void 0===c?null:c,l=e.doubleValue,E=void 0===l?null:l,f=e.intValue,T=void 0===f?null:f,p=e.stringValue,S=void 0===p?null:p,m=e.listValue,O=void 0===m?[]:m,b=e.dateValue,A=void 0===b?null:b,_=e.data,I=void 0===_?null:_;return d(u["b"].CLASS_USERINTERFACE,u["b"].TYPE_VIEWACTION,u["b"].PAYLOAD_CLASS_VIEWACTION,{component:n,componentTag:a,applicationId:r,booleanValue:s,doubleValue:E,intValue:T,stringValue:S,listValue:O,dateValue:A,data:I},t)},MENU_ACTION:function(e,t){var n=e.identity,o=e.applicationId,a=e.menuId;return d(u["b"].CLASS_USERINTERFACE,u["b"].TYPE_VIEWACTION,u["b"].PAYLOAD_CLASS_MENUACTION,{identity:n,applicationId:o,menuId:a},t)},RUN_APPLICATION:function(e,t){var n=e.applicationId,o=e.test,a=void 0!==o&&o,i=e.stop,r=void 0!==i&&i;return d(u["b"].CLASS_RUN,u["b"].TYPE_RUNAPP,u["b"].PAYLOAD_CLASS_LOADAPPLICATIONREQUEST,{behavior:n,test:a,stop:r,parameters:{}},t)},CONSOLE_CREATED:function(e,t){var n=e.consoleId,o=e.consoleType;return d(u["b"].CLASS_USERINTERFACE,u["b"].TYPE_CONSOLECREATED,u["b"].PAYLOAD_CLASS_CONSOLENOTIFICATION,{consoleId:n,consoleType:o},t)},CONSOLE_CLOSED:function(e,t){var n=e.consoleId,o=e.consoleType;return d(u["b"].CLASS_USERINTERFACE,u["b"].TYPE_CONSOLECLOSED,u["b"].PAYLOAD_CLASS_CONSOLENOTIFICATION,{consoleId:n,consoleType:o},t)},COMMAND_REQUEST:function(e,t){var n=e.consoleId,o=e.consoleType,a=e.commandId,i=e.payload;return d(u["b"].CLASS_USERINTERFACE,u["b"].TYPE_COMMANDREQUEST,u["b"].PAYLOAD_CLASS_CONSOLENOTIFICATION,{consoleId:n,consoleType:o,commandId:a,payload:i},t)}}},"1e5d":function(e,t,n){},2369:function(e,t,n){"use strict";var o=n("278c"),a=n.n(o),i=(n("ffc1"),n("ac6a"),n("cadf"),n("456d"),n("7037")),r=n.n(i),c=n("970b"),s=n.n(c),l=n("5bc30"),u=n.n(l),d=n("be3b"),E=n("3b1b6"),f=n.n(E),T=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{draft:"draft-04"};if(s()(this,e),void 0===t||""===t)throw Error("URL is mandatory");this.djvEnv=new f.a({version:n.draft}),this.initialized=!1,this.url=t,this.initTimeout=null,console.debug("Load schema(s) on creation"),this.initTimeout=setTimeout(this.init(t),2e3)}return u()(e,[{key:"validateJsonSchema",value:function(e,t){if(!this.initialized)return console.info("djvEnv not ready"),!1;if(this.djvEnv.resolve(t)){var n=this.djvEnv.validate(t,e);if("undefined"===typeof n)return!0;if("$ref"===n.keyword)return!0;throw Error(n)}throw Error("Schema not found: ".concat(t))}},{key:"init",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.url;this.initialized||d["a"].get(t,{}).then(function(n){var o=n.data;if("object"!==r()(o))throw Error("Error asking for JsonSchema(s): no data");if(0===Object.keys(o).length)throw Error("Schema on url ".concat(t," is empty, check it"));for(var i=Object.entries(o),c=0;c-1))&&(a.splice(o,1),this.listeners.set(e,a),!0)}},{key:"emit",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(Ke()(this,e),!t)throw new Error("Connection url is needed");this.connectionUrl=t,this.connectionHeaders=n;var a=o.stompOptions,i=void 0===a?{debug:!1}:a,r=o.sockJSOptions,c=void 0===r?{}:r,s=o.reconnection,l=void 0!==s&&s,u=o.reconnectionAttempts,d=void 0===u?1/0:u,E=o.reconnectionDelay,f=void 0===E?2e3:E,T=o.debug,p=void 0!==T&&T,S=o.store,m=void 0===S?null:S,O=o.storeNS,b=void 0===O?"":O;this.reconnection=l,this.reconnectionAttempts=d,this.reconnectionDelay=f,this.hasDebug=p,this.reconnectTimeoutId=-1,this.reconnectionCount=0,"undefined"!==typeof m&&null!==m&&(this.store=m,this.storeNS=b),this.stompOptions=i,this.sockJSOptions=c,this.connect()}return Xe()(e,[{key:"debug",value:function(){var e;this.hasDebug&&(e=console).debug.apply(e,arguments)}},{key:"connect",value:function(){var e=this,t=Je()(this.connectionUrl,{},this.sockJSOptions);t.protocol=this.stompOptions.protocol||"",this.StompClient=Ze.a.over(t,this.stompOptions),this.StompClient.connect(this.connectionHeaders,function(t){e.doOnEvent("onconnect",t)},function(t){return setTimeout(function(){e.doOnEvent("onerror",t)},1e3)})}},{key:"isConnected",value:function(){return this.StompClient&&this.StompClient.connected}},{key:"reconnect",value:function(){var e=this;this.reconnectionCount<=this.reconnectionAttempts?(this.reconnectionCount+=1,clearTimeout(this.reconnectTimeoutId),this.reconnectTimeoutId=setTimeout(function(){e.doOnEvent("reconnect",e.reconnectionCount),e.connect()},this.reconnectionDelay)):this.store&&this.passToStore("stomp_onerror","Reconnection error")}},{key:"subscribe",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e){t.doOnEvent("onmessage",e)};if(e){var a=this.StompClient.subscribe(e,o,n);if(a)return this.doOnEvent("onsubscribe",a),a}return null}},{key:"unsubscribe",value:function(e,t){this.StompClient.unsubscribe(e,t)}},{key:"send",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.isConnected()?(this.StompClient.send(e,JSON.stringify(t),n),this.doOnEvent("onsend",{headers:n,message:t}),!0):(this.doOnEvent("onerrorsend",{headers:n,message:t}),!1)}},{key:"doOnEvent",value:function(e,t){tt.emit(e,t)||this.debug("No listener for ".concat(e)),this.store&&this.passToStore("stomp_".concat(e),t),this.reconnection&&"onoconnect"===e&&(this.reconnectionCount=0),this.reconnection&&"onerror"===e&&this.reconnect()}},{key:"passToStore",value:function(e,t){if(e.startsWith("stomp_")){var n="dispatch",o=[this.storeNS||"",e.toLowerCase()].filter(function(e){return!!e}).join("/"),a=t||null;t&&t.data&&(a=JSON.parse(t.data),a.mutation?o=[a.namespace||"",a.mutation].filter(function(e){return!!e}).join("/"):a.action&&(n="dispatch",o=[a.namespace||"",a.action].filter(function(e){return!!e}).join("/"))),this.store[n](o,a)}}},{key:"close",value:function(){this.StompClient&&(this.StompClient.disconnect(),this.doOnEvent("onclose")),this.reconnectTimeoutId&&clearTimeout(this.reconnectTimeoutId)}}]),e}(),ot={install:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(!t)throw new Error("[vue-stomp-client] cannot locate connection");var a=null;o.connectManually?(e.prototype.$connect=function(){a=new nt(t,n,o),e.prototype.$stompClient=a.StompClient},e.prototype.$disconnect=function(){a&&a.reconnection&&(a.reconnection=!1),e.prototype.$stompClient&&(a.close(),delete e.prototype.$stompClient)}):(a=new nt(t,n,o),e.prototype.$stompClient=a.StompClient),e.mixin({methods:{sendStompMessage:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o.defaultMessageDestination;a.send(n,e,t)?console.debug("Message sent: ".concat(JSON.stringify(e,null,4))):console.debug("Message not sent, still no connected:\n".concat(JSON.stringify(e,null,4)))},subscribe:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:o.defaultSubscribeDestination;return a.subscribe("".concat(i,"/").concat(e),t,n)},unsubscribe:function(e){a.unsubscribe(e),console.debug("Unsubscribe the subscription with id ".concat(e))},reconnect:function(){a.StompClient&&!a.StompClient.connected&&(console.debug("Try to reconnect..."),a.reconnect())},disconnect:function(){a&&a.reconnection&&(a.reconnection=!1),a.close()}},created:function(){var e=this;if(this.$options.sockets){var t=this,n=this.$options.sockets;this.$options.sockets=new Proxy({},{set:function(e,n,o){return tt.addListener(n,o,t),e[n]=o,!0},deleteProperty:function(e,n){return tt.removeListener(n,t.$options.sockets[n],t),delete e.key,!0}}),n&&Object.keys(n).forEach(function(t){e.$options.sockets[t]=n[t]})}},beforeDestroy:function(){var e=this;if(this.$options.sockets){var t=this.$options.sockets;t&&Object.keys(t).forEach(function(t){console.debug("Remove listener ".concat(t)),tt.removeListener(t,e.$options.sockets[t],e),delete e.$options.sockets[t]})}}})}},at=function(e){var t=e.Vue,n=e.store,o=new URLSearchParams(window.location.search).get(Ie["R"].PARAMS_STOMP_DEBUG),a=!1;"true"===o&&(a=!0),t.use(ot,"/modeler/message",{},{stompOptions:{debug:a,protocol:"v12.stomp"},store:n,storeNS:"stomp",reconnection:!0,reconnectionAttempts:5,debug:a,defaultMessageDestination:"/klab/message",defaultSubscribeDestination:"/message"})},it=xe(),rt=it.app,ct=it.store,st=it.router;[ke["a"],Ue["b"],je,He["a"],ze["a"],at].forEach(function(e){e({app:rt,router:st,store:ct,Vue:o["a"],ssrContext:null})}),new o["a"](rt)},4360:function(e,t,n){"use strict";var o,a=n("2b0e"),i=n("2f62"),r=(n("ac6a"),n("cadf"),n("f400"),n("7cca")),c=n("d247"),s={kexplorerLog:[],statusTexts:[],klabLog:[],dataViewers:[],mainDataViewerIdx:0,lastViewerId:0,mainViewer:void 0,treeVisible:!0,leftMenuContent:null,leftMenuState:r["w"].LEFTMENU_HIDDEN,mainControlDocked:!1,contextGeometry:null,spinner:r["J"].SPINNER_STOPPED,spinnerOwners:[],searchActive:!1,searchFocus:!1,searchLostChar:"",searchHistory:[],searchInApp:!1,flowchartSelected:r["g"].GRAPH_DATAFLOW,dataflowInfoOpen:!1,observationInfo:null,mapSelection:r["g"].EMPTY_MAP_SELECTION,exploreMapMode:!1,treeSelected:null,treeTicked:[],treeExpanded:[],topLayer:null,scaleEditing:{active:!1,type:null},drawMode:!1,customContext:!1,saveLocation:!0,saveDockedStatus:!1,modalMode:!1,inputRequests:[],waitingGeolocation:!0,helpShown:!1,modalSize:r["s"].DEFAULT_MODAL_SIZE,fuzzyMode:!1,largeMode:0,helpBaseUrl:null,timeRunning:!1,layout:null,windowSide:"left",dialogs:[],modalWindow:null,engineEvents:[],klabApp:null,levels:[c["a"].TYPE_INFO,c["a"].TYPE_WARNING,c["a"].TYPE_ERROR],showSettings:!0,notificationsParams:null,reloadViews:[],documentationView:r["n"].REPORT,documentationSelected:null,documentationCache:new Map,tableFontSize:12,textFontSize:10,viewCoordinates:!0},l=(n("7514"),n("7f7f"),n("6762"),n("2fdb"),n("448a")),u=n.n(l),d=n("b12a"),E=n("b0b2"),f={kexplorerLog:function(e){return e.kexplorerLog},lastKexplorerLog:function(e){return function(t){return Object(d["o"])(e.kexplorerLog,t)}},klabLog:function(e){return e.klabLog},lastKlabLog:function(e){return function(t){return Object(d["o"])(e.klabLog,t)}},klabLogReversedAndFiltered:function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(0===e.klabLog.length)return[];var n=u()(e.klabLog).reverse();return 0===t.length?n:n.filter(function(e){return t.includes(e.type)})}},levels:function(e){return e.levels},statusTexts:function(e){return e.statusTexts},statusTextsLength:function(e){return e.statusTexts.length},statusTextsString:function(e){return e.statusTexts.length>0?e.statusTexts.map(function(e){return e.text}).join(" - "):""},mainViewer:function(e){return e.mainViewer},mainViewerName:function(e){return e.mainViewer?e.mainViewer.name:null},isTreeVisible:function(e){return e.treeVisible},leftMenuContent:function(e){return e.leftMenuContent},leftMenuState:function(e){return e.leftMenuState},isDocked:function(e){return e.leftMenuState!==r["w"].LEFTMENU_HIDDEN},hasMainControl:function(e){return e.mainViewer&&e.mainViewer.mainControl},isMainControlDocked:function(e){return e.mainControlDocked},admitSearch:function(e){return e.mainViewer&&e.mainViewer.hasSearch},contextGeometry:function(e){return e.contextGeometry},dataViewers:function(e){return e.dataViewers},mainDataViewer:function(e){return e.dataViewers.find(function(e){return e.main})},mainDataViewerIdx:function(e){return e.mainDataViewerIdx},lastViewerId:function(e){return e.lastViewerId},viewer:function(e){return function(t){return e.dataViewers.length>0?e.dataViewers.find(function(e){return e.idx===t}):null}},spinnerIsAnimated:function(e){return e.spinner.animated},spinner:function(e){return e.spinner},spinnerOwners:function(e){return e.spinnerOwners},spinnerColor:function(e){return"undefined"!==e.spinner&&null!==e.spinner?Object(E["e"])(e.spinner.color):null},spinnerErrorMessage:function(e){return"undefined"!==e.spinner&&null!==e.spinner?e.spinner.errorMessage:null},searchIsActive:function(e){return e.searchActive},searchIsFocused:function(e){return e.searchFocus},searchLostChar:function(e){return e.searchLostChar},searchHistory:function(e){return e.searchHistory},searchInApp:function(e){return e.searchInApp},flowchartSelected:function(e){return e.flowchartSelected},dataflowInfoOpen:function(e){return e.dataflowInfoOpen},observationInfo:function(e){return e.observationInfo},mapSelection:function(e){return e.mapSelection},hasObservationInfo:function(e){return null!==e.observationInfo},exploreMode:function(e){return!!(null!==e.observationInfo&&Object(d["n"])(e.observationInfo)&&e.observationInfo.dataSummary.histogram.length>0&&e.observationInfo.visible&&e.observationInfo.top)},isScaleEditing:function(e){return e.scaleEditing.active},scaleEditingType:function(e){return e.scaleEditing.type},isDrawMode:function(e){return e.drawMode},hasCustomContext:function(e){return e.customContext},topLayer:function(e){return e.topLayer},topLayerId:function(e){return null!==e.topLayer?e.topLayer.id:null},inputRequests:function(e){return e.inputRequests},hasInputRequests:function(e){return 0!==e.inputRequests.length},isInModalMode:function(e){return e.modalMode},isHelpShown:function(e){return e.helpShown},modalSize:function(e){return e.modalSize},fuzzyMode:function(e){return e.fuzzyMode},largeMode:function(e){return e.largeMode},isTimeRunning:function(e){return e.timeRunning},layout:function(e){return e.layout},appStyle:function(e){return e.layout.style||"default"},modalWindow:function(e){return e.modalWindow},hasHeader:function(e){return e.layout&&(e.layout.header||e.layout.logo||e.layout.label||e.layout.description)},windowSide:function(e){return e.windowSide},isApp:function(e){return null!==e.klabApp},klabApp:function(e){return e.klabApp},activeDialogs:function(e){return e.dialogs.filter(function(e){return!e.dismiss})},engineEvents:function(e){return e.engineEvents},engineEventsCount:function(e){return e.engineEvents.length},hasShowSettings:function(e){return e.showSettings},notificationsParams:function(e){return e.notificationsParams},reloadViews:function(e){return e.reloadViews},documentationView:function(e){return e.documentationView},documentationSelected:function(e){return e.documentationSelected},documentationCache:function(e){return e.documentationCache},tableFontSize:function(e){return e.tableFontSize},textFontSize:function(e){return e.textFontSize},viewCoordinates:function(e){return e.viewCoordinates}},T=(n("f751"),n("3156")),p=n.n(T),S=(n("20d6"),n("741d")),m={ADD_TO_KEXPLORER_LOG:function(e,t){Object(d["p"])(e.kexplorerLog,t)},ADD_TO_KLAB_LOG:function(e,t){Object(d["p"])(e.klabLog,t)},SET_LEVELS:function(e,t){t&&(e.levels=t)},TOGGLE_LEVEL:function(e,t){var n=e.levels.indexOf(t);-1===n?e.levels.push(t):e.levels.splice(n,1)},ADD_TO_STATUS_TEXTS:function(e,t){var n=t.id,o=t.text;e.statusTexts.push({id:n,text:o})},REMOVE_FROM_STATUS_TEXTS:function(e,t){var n=e.statusTexts.findIndex(function(e){return e.id===t});-1!==n&&e.statusTexts.splice(n,1)},SET_CONTEXT_LAYER:function(e,t){e.dataViewers.splice(0,e.dataViewers.length),e.lastViewerId=0,e.contextGeometry=t,e.treeExpanded=[],e.treeTicked=[],e.statusTexts=[],e.treeSelected=null,e.topLayer=null,e.reloadViews.splice(0,e.reloadViews.length),e.documentationSelected=null,e.modalWindow=null},SET_MAIN_VIEWER:function(e,t){e.mainViewer=t},SET_TREE_VISIBLE:function(e,t){e.treeVisible=t},SET_LEFTMENU_CONTENT:function(e,t){e.leftMenuContent=t},SET_LEFTMENU_STATE:function(e,t){e.leftMenuState=t},SET_MAIN_DATA_VIEWER:function(e,t){var n=t.viewerIdx,o=t.visible;if(o)e.dataViewers.forEach(function(t){t.idx===n?(t.main=!0,e.mainDataViewerIdx=n):t.main=!1,t.visible=!t.type.hideable||t.idx===n||t.visible});else{var a=!1;e.dataViewers.forEach(function(t){a||t.type.hideable&&!t.visible?(t.main=!1,t.type.hideable&&t.idx===n&&(t.visible=!1)):(t.main=!0,e.mainDataViewerIdx=t.idx,a=!0)})}},RESET_MAIN_DATA_VIEWER:function(e){e.dataViewer=[],e.mainDataViewerIdx=0},SET_SAVE_DOCKED_STATUS:function(e,t){e.saveDockedStatus=t},SET_MAIN_CONTROL_DOCKED:function(e,t){e.mainControlDocked=t,e.saveDockedStatus&&S["a"].set(r["R"].COOKIE_DOCKED_STATUS,t,{expires:30,path:"/",secure:!0})},ADD_VIEWER_ELEMENT:function(e,t){var n=t.main,o=t.type,a=t.label,i=t.visible,r=t.callback;0===e.lastViewerId?n=!0:!0===n&&e.dataViewers.forEach(function(e){e.main=!1}),e.lastViewerId+=1,e.dataViewers.push({idx:e.lastViewerId,main:n,type:o,label:a,visible:i,observations:[]}),"function"===typeof r&&r(e.lastViewerId)},SET_SPINNER_ANIMATED:function(e,t){e.spinner.animated=t},SET_SPINNER_COLOR:function(e,t){e.spinner.color=t},SET_SPINNER:function(e,t){var n=t.animated,o=t.color,a=t.errorMessage,i=void 0===a?null:a;e.spinner={animated:n,color:o,errorMessage:i}},ADD_TO_SPINNER_OWNERS:function(e,t){var n=e.spinnerOwners.indexOf(t);-1===n&&e.spinnerOwners.push(t)},REMOVE_FROM_SPINNER_OWNERS:function(e,t){var n=e.spinnerOwners.indexOf(t);-1!==n&&e.spinnerOwners.splice(n,1)},SEARCH_ACTIVE:function(e,t){var n=t.active,o=t.char,a=void 0===o?"":o;e.searchActive!==n&&(e.searchLostChar=a,e.searchActive=n)},SEARCH_FOCUS:function(e,t){var n=t.focused,o=t.char,a=void 0===o?"":o;e.searchFocus!==n&&(e.searchLostChar=a,e.searchFocus=n)},SEARCH_INAPP:function(e,t){e.searchInApp=t},RESET_SEARCH_LOST_CHAR:function(e){e.searchLostChar=""},RESET_SEARCH:function(e){e.searchActive=!1,e.searchFocus=!1,e.searchLostChar=""},STORE_SEARCH:function(e,t){e.searchHistory.unshift(t)},SET_FLOWCHART_SELECTED:function(e,t){e.flowchartSelected=t},SET_DATAFLOW_INFO_OPEN:function(e,t){e.dataflowInfoOpen=t},SET_OBSERVATION_INFO:function(e,t){null===t?(e.treeSelected=null,e.mapSelection.locked||(e.mapSelection=r["g"].EMPTY_MAP_SELECTION),e.observationInfo=null):null!==e.observationInfo&&t.id===e.observationInfo.id||(e.observationInfo=t,e.mapSelection.locked||(e.mapSelection=r["g"].EMPTY_MAP_SELECTION),e.treeSelected=t.id)},SET_MAP_SELECTION:function(e,t){var n=t.pixelSelected,o=t.layerSelected,a=t.value,i=void 0===a?null:a,c=t.locked,s=void 0!==c&&c;e.mapSelection=null===t||null===n?r["g"].EMPTY_MAP_SELECTION:{pixelSelected:n,layerSelected:o,value:i,locked:s}},SET_SCALE_EDITING:function(e,t){var n=t.active,o=t.type;e.scaleEditing={active:n,type:o}},SET_DRAW_MODE:function(e,t){e.drawMode=t},SET_CUSTOM_CONTEXT:function(e,t){e.customContext=t},SET_SAVE_LOCATION:function(e,t){e.saveLocation=t},SET_TOP_LAYER:function(e,t){e.topLayer=t},SET_MODAL_MODE:function(e,t){e.modalMode=t},SET_INPUT_REQUEST:function(e,t){var n=t.payload,o=t.id;e.inputRequests.push(p()({messageId:o},n))},REMOVE_INPUT_REQUEST:function(e,t){if(e.inputRequests.length>0)if(null===t)e.inputRequests.splice(0,e.inputRequests.length);else{var n=e.inputRequests.findIndex(function(e){return e.messageId===t});-1!==n&&e.inputRequests.splice(n,1)}},SET_MODAL_SIZE:function(e,t){var n=t.width,o=t.height;e.modalSize={width:n,height:o}},SET_FUZZY_MODE:function(e,t){e.fuzzyMode=t},SET_LARGE_MODE:function(e,t){t<0?t=0:t>6&&(t=r["g"].MAX_SEARCHBAR_INCREMENTS),e.largeMode=t},SET_TIME_RUNNING:function(e,t){e.timeRunning=t},SET_LAYOUT:function(e,t){e.layout=t},SET_MODAL_WINDOW:function(e,t){e.modalWindow=t},SET_WINDOW_SIDE:function(e,t){e.windowSide=t},CREATE_VIEW_COMPONENT:function(e,t){if(t.type!==r["a"].ALERT&&t.type!==r["a"].CONFIRM){var n=e.layout&&(Object(d["d"])(e.layout,t.id)||e.modalWindow&&Object(d["d"])(e.modalWindow,t.id));if(n)console.log("Updating component: ",JSON.stringify(n,null,2)),Object.assign(n,t),console.log("Updated component: ",JSON.stringify(n,null,2));else{var o=Object(d["c"])(e.layout,t.parentId)||e.modalWindow&&Object(d["c"])(e.modalWindow,t.id);o&&(o.children.push(t),console.warn("Update parent: ",o))}}else e.dialogs.push(p()({},t,{dismiss:!1}))},SET_ENGINE_EVENT:function(e,t){if(null!==e.engineEvents)switch(t.type){case r["o"].RESOURCE_VALIDATION:var n=e.engineEvents.findIndex(function(e){return e.id===t.id});t.started?-1===n?e.engineEvents.push({id:t.id,timestamp:t.timestamp}):console.debug("Try to start an existing engine event",t):-1!==n?e.engineEvents.splice(n,1):console.debug("Try to stop an unregistered engine event",t),console.debug("Engine event with id ".concat(t.id," ").concat(t.started?"start":"stop"," / total engine events: ").concat(e.engineEvents.length));break;default:break}else console.debug("Receive an engine event before subscription")},VIEW_ACTION:function(e,t){if(null!==t.component){if(e.layout||e.modalWindow){var n=Object(d["d"])(e.layout,t.component.id)||null!==e.modalWindow&&Object(d["d"])(e.modalWindow,t.component.id);n&&(0===t.component.components.length&&0!==n.components.length&&delete t.component.components,Object.assign(n,t.component))}}else console.warn("Action component is null")},SHOW_SETTINGS:function(e,t){e.showSettings=t},SET_NOTIFICATIONS_PARAMS:function(e,t){e.notificationsParams=t},SET_DOCUMENTATION_VIEW:function(e,t){e.documentationView=t},SET_DOCUMENTATION_SELECTED:function(e,t){e.documentationSelected=t},SET_RELOAD_VIEWS:function(e,t){t&&t.forEach(function(t){-1===e.reloadViews.indexOf(t)&&e.reloadViews.push(t)})},REMOVE_RELOAD_VIEW:function(e,t){-1!==e.reloadViews.indexOf(t)&&e.reloadViews.splice(e.reloadViews.indexOf(t),1)},SET_TABLE_FONT_SIZE:function(e,t){e.tableFontSize=t},SET_TEXT_FONT_SIZE:function(e,t){e.textFontSize=t},SET_VIEW_COORDINATES:function(e,t){e.viewCoordinates=t}},O=n("7037"),b=n.n(O),A=(n("551c"),n("c1df")),_=n.n(A),I=n("4328"),v=n.n(I),N=n("8449"),h=n("256f"),R={addToKexplorerLog:function(e,t){var n=e.commit,o=t.type,a=t.payload,i=t.important,r=void 0!==i&&i;n("ADD_TO_KEXPLORER_LOG",{type:o,payload:a,important:r,time:_()()})},addToKlabLog:function(e,t){var n=e.commit,o=t.type,a=t.id,i=t.payload,r=t.timestamp;n("ADD_TO_KLAB_LOG",{type:o,id:a,payload:i,time:_()(r)})},setLevels:function(e,t){var n=e.commit;n("SET_LEVELS",t)},toggleLevel:function(e,t){var n=e.commit;n("TOGGLE_LEVEL",t)},addToStatusTexts:function(e,t){var n=e.commit,o=t.id,a=t.text;n("ADD_TO_STATUS_TEXTS",{id:o,text:a})},removeFromStatusTexts:function(e,t){var n=e.commit;n("REMOVE_FROM_STATUS_TEXTS",t)},setContextLayer:function(e,t){var n=e.state,o=e.commit,a=e.dispatch;Object(d["j"])(t).then(function(e){o("SET_CONTEXT_LAYER",e),o("RESET_SEARCH"),a("assignViewer",{observation:t,main:!0}),n.mainViewer.name===r["O"].DATA_VIEWER.name&&n.mainControlDocked&&a("setMainViewer",r["O"].DOCKED_DATA_VIEWER)})},resetContext:function(e){var t=e.commit;t("SET_CONTEXT_LAYER",null),t("RESET_SEARCH"),t("SET_OBSERVATION_INFO",null);var n=r["O"].DATA_VIEWER;t("SET_LEFTMENU_CONTENT",n.leftMenuContent),t("SET_LEFTMENU_STATE",n.leftMenuState),t("SET_MAIN_VIEWER",n),t("RESET_MAIN_DATA_VIEWER",null),t("SET_MAP_SELECTION",r["g"].EMPTY_MAP_SELECTION),t("SET_FLOWCHART_SELECTED",r["g"].GRAPH_DATAFLOW)},setMainViewer:function(e,t){var n=e.state,o=e.commit,a=e.dispatch;t&&"undefined"!==typeof n.mainViewer&&(t.leftMenuContent===r["w"].DOCKED_DATA_VIEWER_COMPONENT?o("SET_MAIN_CONTROL_DOCKED",!0):t.leftMenuContent===r["w"].DATA_VIEWER_COMPONENT&&o("SET_MAIN_CONTROL_DOCKED",!1)),o("SET_MAIN_VIEWER",t),t&&(a("setLeftMenuState",t.leftMenuState),a("setLeftMenuContent",t.leftMenuContent))},setTreeVisible:function(e,t){var n=e.commit;n("SET_TREE_VISIBLE",t)},setLeftMenuContent:function(e,t){var n=e.commit;n("SET_LEFTMENU_CONTENT",t)},setLeftMenuState:function(e,t){var n=e.commit;n("SET_LEFTMENU_STATE",t)},setMainDataViewer:function(e,t){var n=e.commit,o=e.getters,a=t.viewerIdx,i=t.viewerType,r=void 0===i?null:i,c=t.visible,s=void 0===c||c;(s&&a!==o.mainDataViewerIdx||!s&&null!==r&&r.hideable)&&n("SET_MAIN_DATA_VIEWER",{viewerIdx:a,visible:s})},assignViewer:function(e,t){var n=e.commit,o=e.getters,a=e.dispatch,i=e.rootGetters,c=t.observation,s=t.main,l=void 0!==s&&s;return new Promise(function(e,t){var s,u=null,E=null;if(c.observationType)switch(c.observationType){case r["A"].TYPE_GROUP:case r["A"].TYPE_VIEW:case r["A"].TYPE_PROCESS:u=null;break;case r["A"].TYPE_STATE:var f;if(1===c.valueCount)u=null;else if(u=r["P"].VIEW_MAP,f=c.parentId===i["data/contextId"]?i["data/context"]:i["data/observations"].find(function(e){return e.id===c.parentId}),"undefined"!==typeof f){c.encodedShape=f.encodedShape;var T=f;E=T.label}else console.warn("Need parent of ".concat(c.id," but doesn't find it. Parent id is ").concat(c.parentId));break;case r["A"].TYPE_INITIAL:case r["A"].TYPE_RELATIONSHIP:u=r["P"].VIEW_MAP;var p=null;if(null!==c.parentId&&(p=Object(d["f"])(i["data/tree"],c.parentId),"undefined"===typeof p&&(console.warn("Observation with id ".concat(c.id," has an invalid unknown parent: ").concat(c.parentId)),p=null)),p){var S=p;E=S.label}else E=c.label;break;case r["A"].TYPE_SUBJECT:u=r["P"].VIEW_MAP;break;case r["A"].TYPE_CONFIGURATION:u=r["P"].VIEW_GRAPH,E=c.label;break;case r["A"].TYPE_EVENT:u=r["P"].VIEW_UNKNOWN;break;default:t(new Error("Unknown observation type in observation labeled ".concat(c.label,": ").concat(c.observationType)));break}null!==u?(console.debug("Need a viewer of type ".concat(u.component)),u.forceNew||(s=o.dataViewers.find(function(e){return e.type.component===u.component})),"undefined"===typeof s?(console.info("Create new viewer of type ".concat(u.component)),n("ADD_VIEWER_ELEMENT",{main:l,type:u,label:E&&null!==E?E:u.label,visible:!u.hideable,callback:function(t){e(t)}})):(l&&a("setMainDataViewer",{viewerIdx:s.idx}),e(s.idx))):e(null)})},setSpinner:function(e,t){var n=e.commit,o=e.getters,a=e.dispatch,i=t.animated,c=t.color,s=t.time,l=void 0===s?null:s,u=t.then,d=void 0===u?null:u,E=t.errorMessage,f=void 0===E?null:E,T=t.owner;return new Promise(function(e){if(!T||null===T)throw new Error("No spinner owner!");i?n("ADD_TO_SPINNER_OWNERS",T):(n("REMOVE_FROM_SPINNER_OWNERS",T),0!==o.spinnerOwners.length&&(i=!0,c!==r["J"].SPINNER_ERROR.color&&(c=r["J"].SPINNER_LOADING.color))),null!==f&&"object"===b()(f)&&(f=JSON.stringify(f)),n("SET_SPINNER",{animated:i,color:c,errorMessage:f}),null!==l&&null!==d&&setTimeout(function(){a("setSpinner",p()({},d,{owner:T}))},1e3*l),e()})},searchStart:function(e){var t=e.commit,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;t("SEARCH_ACTIVE",{active:!0,char:n})},searchStop:function(e){var t=e.commit;t("SEARCH_ACTIVE",{active:!1})},searchFocus:function(e,t){var n=e.commit,o=t.focused,a=t.char,i=void 0===a?null:a;n("SEARCH_FOCUS",{focused:o,char:i})},resetSearchLostChar:function(e){var t=e.commit;t("RESET_SEARCH_LOST_CHAR")},storePreviousSearch:function(e,t){var n=e.commit;n("STORE_SEARCH",t)},searchInApp:function(e,t){var n=e.commit;n("SEARCH_INAPP",t)},setFlowchartSelected:function(e,t){var n=e.commit;n("SET_FLOWCHART_SELECTED",t)},setDataflowInfoOpen:function(e,t){var n=e.commit;n("SET_DATAFLOW_INFO_OPEN",t)},setObservationInfo:function(e,t){var n=e.commit;n("SET_OBSERVATION_INFO",t)},setMapSelection:function(e,t){var n=e.commit,o=e.state,a=t.pixelSelected,i=t.timestamp,s=void 0===i?-1:i,l=t.layerSelected,u=void 0===l?null:l,E=t.observationId,f=void 0===E?null:E,T=t.locked,p=void 0!==T&&T;if(null!==a){null===f&&(f=o.observationInfo.id);var S="".concat("").concat(c["c"].REST_SESSION_VIEW,"data/").concat(f),m=Object(h["l"])(a,"EPSG:3857","EPSG:4326"),O=-1!==s?"T1(1){time=".concat(s.toFixed(0),"}"):"";Object(d["h"])("pv_".concat(f),S,{params:{format:"SCALAR",locator:"".concat(O,"S0(1){latlon=[").concat(m[0]," ").concat(m[1],"]}")},paramsSerializer:function(e){return v.a.stringify(e,{arrayFormat:"repeat"})}},function(e,t){var o="No value";e&&"undefined"!==typeof e.data&&(o=e.data),n("SET_MAP_SELECTION",{pixelSelected:a,layerSelected:u,value:o,locked:p}),t()})}else n("SET_MAP_SELECTION",r["g"].EMPTY_MAP_SELECTION)},setScaleEditing:function(e,t){var n=e.commit,o=t.active,a=t.type;n("SET_SCALE_EDITING",{active:o,type:a}),n("SET_MODAL_MODE",o)},setDrawMode:function(e,t){var n=e.commit;n("SET_DRAW_MODE",t),n("SET_MODAL_MODE",t)},setCustomContext:function(e,t){var n=e.commit;n("SET_CUSTOM_CONTEXT",t)},setTopLayer:function(e,t){var n=e.commit;n("SET_TOP_LAYER",t)},inputRequest:function(e,t){var n=e.commit;n("SET_INPUT_REQUEST",t),n("SET_MODAL_MODE",!0)},removeInputRequest:function(e,t){var n=e.commit,o=e.getters;n("REMOVE_INPUT_REQUEST",t),o.hasInputRequests||n("SET_MODAL_MODE",!1)},setModalMode:function(e,t){var n=e.commit;n("SET_MODAL_MODE",t)},setModalSize:function(e,t){var n=e.commit,o=t.width,a=t.height;n("SET_MODAL_SIZE",{width:o,height:a})},setFuzzyMode:function(e,t){var n=e.rootGetters,o=e.commit;n["data/hasContext"]||o("SET_FUZZY_MODE",t)},setLargeMode:function(e,t){var n=e.commit;n("SET_LARGE_MODE",t)},setTimeRunning:function(e,t){var n=e.commit;n("SET_TIME_RUNNING",t)},setLayout:function(e,t){var n=e.commit;if(null===t||"DESKTOP"!==t.platform&&"MOBILE"!==t.platform)if(n("SET_LAYOUT",null===t?null:p()({},t)),null!==t)localStorage.setItem(r["R"].LOCAL_STORAGE_APP_ID,t.name);else{var o=localStorage.getItem(r["R"].LOCAL_STORAGE_APP_ID);o&&localStorage.removeItem(r["R"].LOCAL_STORAGE_APP_ID)}else console.info("Received an app for another platform: ".concat(t.platform))},setModalWindow:function(e,t){var n=e.commit;n("SET_MODAL_WINDOW",t)},setWindowSide:function(e,t){var n=e.commit;n("SET_WINDOW_SIDE",t)},setEngineEvent:function(e,t){var n=e.commit;n("SET_ENGINE_EVENT",t)},createViewComponent:function(e,t){var n=e.commit;n("CREATE_VIEW_COMPONENT",t)},viewAction:function(e,t){var n=e.commit;n("VIEW_ACTION",t)},viewSetting:function(e,t){var n=e.getters,o=e.rootGetters,a=e.dispatch;if(t){var i=function(){N["b"].$emit(r["h"].SELECT_ELEMENT,{id:t.targetId,selected:t.operation===r["Q"].SHOW})};switch(t.target){case r["Q"].OBSERVATION:n.mainViewerName!==r["O"].DATA_VIEWER.name&&t.operation===r["Q"].SHOW?a("setMainViewer",r["O"].DATA_VIEWER).then(function(){i(),N["b"].$emit(r["h"].MAP_SIZE_CHANGED,{type:"changelayout"})}):i();break;case r["Q"].VIEW:i();break;case r["Q"].TREE:n.mainViewerName===r["O"].DATA_VIEWER.name&&o["data/hasContext"]&&a("setTreeVisible",t.operation===r["Q"].SHOW);break;case r["Q"].REPORT:n.mainViewerName===r["O"].REPORT_VIEWER.name&&t.operation===r["Q"].HIDE?a("setMainViewer",n.isMainControlDocked?r["O"].DOCKED_DATA_VIEWER:r["O"].DATA_VIEWER):n.mainViewerName!==r["O"].REPORT_VIEWER.name&&o["data/hasObservations"]&&t.operation===r["Q"].SHOW&&a("setMainViewer",r["O"].REPORT_VIEWER);break;case r["Q"].DATAFLOW:n.mainViewerName===r["O"].DATAFLOW_VIEWER.name&&t.operation===r["Q"].HIDE?a("setMainViewer",n.isMainControlDocked?r["O"].DOCKED_DATA_VIEWER:r["O"].DATA_VIEWER):n.mainViewerName!==r["O"].DATAFLOW_VIEWER.name&&o["data/hasContext"]&&t.operation===r["Q"].SHOW&&a("setMainViewer",r["O"].DATAFLOW_VIEWER);break;case r["Q"].URL:N["b"].$emit(r["h"].DOWNLOAD_URL,{url:t.targetId,parameters:t.parameters});break;default:break}}},setShowSettings:function(e,t){var n=e.commit;n("SHOW_SETTINGS",t)},setNotificationsParams:function(e,t){var n=e.commit;n("SET_NOTIFICATIONS_PARAMS",t)},setDocumentationView:function(e,t){var n=e.commit;n("SET_DOCUMENTATION_VIEW",t)},setDocumentationSelected:function(e,t){var n=e.commit;n("SET_DOCUMENTATION_SELECTED",t)},setDocumentation:function(e,t){var n=e.commit,o=e.rootGetters;if(!t.view){var a=o["data/documentationContent"].get(t.id);if(!a)return void console.debug("Try to show an unknown document: ".concat(t.id));t.view=r["m"][a.type]}n("SET_DOCUMENTATION_VIEW",t.view),n("SET_DOCUMENTATION_SELECTED",t.id),N["b"].$emit(r["h"].SHOW_DOCUMENTATION),N["b"].$emit(r["h"].SELECT_ELEMENT,{id:t.id,selected:!0})},changeInDocumentation:function(e,t){var n=e.commit;if(t.viewsAffected){var o=t.viewsAffected.filter(function(e){return e!==r["n"].REFERENCES&&e!==r["n"].MODELS});if(o.length>1&&o.includes(r["n"].TABLES)){var a=o.indexOf(r["n"].REPORT);-1!==a&&o.splice(a,1)}o.length>0&&n("SET_RELOAD_VIEWS",o)}},removeReloadView:function(e,t){var n=e.commit;n("REMOVE_RELOAD_VIEW",t)},setTableFontSize:function(e,t){var n=e.commit;n("SET_TABLE_FONT_SIZE",t)},setTextFontSize:function(e,t){var n=e.commit;n("SET_TABLE_FONT_SIZE",t)},setViewCoordinates:function(e,t){var n=e.commit;n("SET_VIEW_COORDINATES",t)}},C={namespaced:!0,state:s,getters:f,mutations:m,actions:R},g=(n("456d"),n("970b")),L=n.n(g),w=n("5bc30"),P=n.n(w),y=function(){function e(){L()(this,e),this.items=[]}return P()(e,[{key:"push",value:function(e){this.items.push(e)}},{key:"pop",value:function(e){if("undefined"!==typeof e&&e>0){if(e>this.size()-1)throw Error("Stack overflow");return this.items.splice(e+1),this.items.peek()}return this.items.pop()}},{key:"peek",value:function(){return 0===this.items.length?null:this.items[this.items.length-1]}},{key:"previous",value:function(){return this.items.length<=1?null:this.items[this.items.length-2]}},{key:"size",value:function(){return this.items.length}},{key:"findIndex",value:function(e){return this.items.findIndex(e)}},{key:"findItem",value:function(e){return this.items.find(function(t){return t.id===e})}},{key:"map",value:function(e){return this.items.map(e)}},{key:"empty",value:function(){this.items.splice(0)}},{key:"isEmpty",value:function(){return 0===this.items.length}},{key:"toArray",value:function(){return this.items}}]),e}(),D={sessionReference:null,tree:[],userTree:[],lasts:[],contexts:new y,contextCustomLabel:null,scaleReference:null,schedulingResolution:null,proposedContext:null,scaleLocked:{space:!1,time:!1},nextScale:null,observations:[],contextMenuObservationId:null,knowledgeViews:[],timeEvents:[],modificationsTask:null,timestamp:-1,engineTimestamp:-1,flowcharts:r["t"],dataflowStatuses:[],dataflowInfo:null,session:null,contextsHistory:[],waitingForReset:null,orphans:[],searchResult:null,childrenToAskFor:r["g"].CHILDREN_TO_ASK_FOR,interactiveMode:!1,crossingIDL:!1,capabilities:{},local:!1,token:null,isAuthenticated:void 0,packageVersion:"0.22.0",packageBuild:"0",terminalsCounter:0,terminals:[],terminalCommands:null!==localStorage.getItem(r["R"].LOCAL_STORAGE_TERMINAL_COMMANDS)?JSON.parse(localStorage.getItem(r["R"].LOCAL_STORAGE_TERMINAL_COMMANDS)):[],documentationTrees:Object.keys(r["n"]).map(function(e){return{view:e,tree:[]}}),documentationContent:new Map},M=(n("55dd"),{sessionReference:function(e){return e.sessionReference},isDeveloper:function(e){return e.sessionReference&&e.sessionReference.owner&&e.sessionReference.owner.groups&&-1!==e.sessionReference.owner.groups.findIndex(function(e){return"DEVELOPERS"===e.id})},tree:function(e){return e.tree},treeNode:function(e){return function(t){return Object(d["f"])(e.tree,t)}},lasts:function(e){return e.lasts},hasTree:function(e){return e.tree.length>0},mainTreeHasNodes:function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return null!==Object(d["e"])(e.tree,"",function(e){return e.userNode||t&&!e.ticked?null:e})}},userTree:function(e){return e.userTree},observations:function(e){return e.observations},observationsOfViewer:function(e){return function(t){return e.observations.filter(function(e){return e.viewerIdx===t})}},hasObservations:function(e){return 0!==e.observations.length},visibleObservations:function(e){return e.observations.filter(function(e){return e.visible})},observationsIdOnTop:function(e){return e.observations.filter(function(e){return e.top}).map(function(e){return e.id})},contextMenuObservationId:function(e){return e.contextMenuObservationId},knowledgeViews:function(e){return e.knowledgeViews},visibleKnowledgeView:function(e){return e.knowledgeViews.find(function(e){return e.show})},timeEvents:function(e){return e.timeEvents},timeEventsOfObservation:function(e){return function(t){return e.timeEvents.filter(function(e){return e.id===t})}},timeEventsUntil:function(e){return function(t){return e.timeEventsEvents.filter(function(e){return e.timestamp<=t})}},modificationsTask:function(e){return e.modificationsTask},visibleEvents:function(e){var t=e.observations.filter(function(e){return e.visible}).map(function(e){return e.id});return e.timeEvents.filter(function(e){return t.includes(e.id)})},timestamp:function(e){return e.timestamp},engineTimestamp:function(e){return e.engineTimestamp},flowcharts:function(e){return e.flowcharts},flowchart:function(e){return function(t){return e.flowcharts.find(function(e){return e.type===t})}},flowchartsUpdatable:function(e){return e.flowcharts.find(function(e){return e.updatable})},flowchartUpdatable:function(e){return function(t){var n=e.flowcharts.find(function(e){return e.type===t});return!!n&&n.updatable}},dataflowStatuses:function(e){return e.dataflowStatuses},dataflowInfo:function(e){return e.dataflowInfo},contextsId:function(e){return e.contexts.map(function(e){return e.id})},context:function(e){return e.contexts.peek()},contextsCount:function(e){return e.contexts.size()},previousContext:function(e){return e.contexts.previous()},contextById:function(e){return function(t){return e.contexts.findItem(t)}},proposedContext:function(e){return e.proposedContext},hasContext:function(e,t){return null!==t.context},contextLabel:function(e,t){return null!==t.context?t.context.label:null},contextCustomLabel:function(e){return null!==e.contextCustomLabel?e.contextCustomLabel:null},contextsLabels:function(e,t){return null!==t.context?e.contexts.map(function(e){return{label:e.label,contextId:e.id}}):[]},contextId:function(e,t){return null!==t.context?t.context.id:null},contextEncodedShape:function(e,t){return null!==t.context?"".concat(t.context.spatialProjection," ").concat(t.context.encodedShape):""},contextsHistory:function(e){return e.contextsHistory.length>0&&e.contextsHistory.sort(function(e,t){return e.creationTime===t.creationTime?0:e.creationTime>t.creationTime?-1:1}),e.contextsHistory},contextReloaded:function(e,t){return null!==t.context&&"undefined"!==typeof t.context.restored&&t.context.restored},contextHasTime:function(e,t){return null!==t.context&&t.context.scaleReference&&0!==t.context.scaleReference.end},session:function(e){return e.session},scaleReference:function(e,t){return null!==t.context?t.context.scaleReference:e.scaleReference},schedulingResolution:function(e){return e.schedulingResolution},isScaleLocked:function(e){return e.scaleLocked},nextScale:function(e){return e.nextScale},hasNextScale:function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return null!==e.nextScale&&(null===t||t===r["D"].ST_SPACE&&e.nextScale.spaceChanged||t===r["D"].ST_SPACE&&e.nextScale.spaceChanged)}},capabilities:function(e){return e.capabilities},searchResult:function(e){return e.searchResult},interactiveMode:function(e){return e.interactiveMode},isCrossingIDL:function(e){return e.crossingIDL},isLocal:function(e){return e.local},terminals:function(e){return e.terminals},hasActiveTerminal:function(e){return-1!==e.terminals.findIndex(function(e){return e.active})},terminalCommands:function(e){return e.terminalCommands},documentationTrees:function(e){return e.documentationTrees},documentationContent:function(e){return e.documentationContent},isLoggedIn:function(e){return e.isAuthenticated}}),x=n("9523"),k=n.n(x),U=n("1442"),V={SET_SESSION_REFERENCE:function(e,t){e.sessionReference=t},SET_CONTEXT:function(e,t){var n=t.context,o=void 0===n?null:n,a=t.isRecontext,i=void 0!==a&&a;if(null===o)e.contexts.empty();else{var c=e.contexts.findIndex(function(e){return e.id===o.id});if(-1===c){if(i){var s=e.contexts.peek();o.scaleReference=s.scaleReference}e.contexts.push(o)}else e.contexts.pop(c)}e.tree=[],e.userTree=[],e.lasts=[],e.observations=[],e.knowledgeViews=[],e.flowcharts.forEach(function(e){e.flowchart=null,e.graph=null,e.updatable=!1,e.visible=!1}),e.dataflowStatuses=[],e.dataflowInfo=null,e.nodeSelected=null,e.nextScale=null,e.crossingIDL=!1,e.contextCustomLabel=null,e.timeEvents=[],e.timestamp=-1,e.engineTimestamp=-1,e.proposedContext=null,e.documentationTrees.forEach(function(e){e.tree.splice(0,e.tree.length)}),e.documentationContent.clear(),e.documentationView=r["n"].REPORT,null===o?e.contextsHistory=[]:"undefined"===typeof o.restored&&(o.restored=!1),e.schedulingResolution=null},SET_CONTEXT_CUSTOM_LABEL:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;e.contextCustomLabel=t},WAITING_FOR_RESET:function(e,t){e.waitingForReset=t},STORE_CONTEXT:function(e,t){var n=e.contextsHistory.find(function(e){return e.id===t.id});"undefined"===typeof n?(console.debug("Added new context in store with id ".concat(t.id)),e.contextsHistory.push(t)):console.debug("Context with id ".concat(t.id," yet exists in contextHistory"))},SET_RELOAD_FLOWCHART:function(e,t){e.flowcharts.filter(function(e){return null===t||e.target===t}).forEach(function(e){e.updatable=!0,e.visible=!1})},ADD_FLOWCHART:function(e,t){var n=t.flowchart,o=t.target,a=e.flowcharts.find(function(e){return e.type===o});a?(a.flowchart=n,a.updatable=!1):console.warn("Unknown target to add flowchart: ".concat(o))},SET_DATAFLOW_STATUS:function(e,t){var n=t.id,o=t.status,a=e.dataflowStatuses.find(function(e){return e.id===n});"undefined"!==typeof a?a.status=o:e.dataflowStatuses.push({id:n,status:o})},SET_DATAFLOW_INFO:function(e,t){e.dataflowInfo=t},UPDATE_TIME_EVENTS:function(e,t){t.timeEvents&&t.timeEvents.length>0&&(t.timeEvents.forEach(function(n){e.timeEvents.push({id:t.id,timestamp:n})}),console.debug("Added ".concat(t.timeEvents.length," events")))},ADD_OBSERVATION:function(e,t){var n=t.observation;e.observations.push(n),console.info("Added observation: ".concat(n.label)),console.debug("Observation content: ".concat(JSON.stringify(n,null,2)))},UPDATE_OBSERVATION:function(e,t){var n=t.observationIndex,o=t.newObservation,a=e.observations[n],i=p()({},a,o);e.observations.splice(n,1,i);var r=function(e){e?(e.needUpdate=!i.contextualized,e.dynamic=i.dynamic,e.childrenCount=i.childrenCount,e.children.forEach(function(e){e.siblingsCount=i.childrenCount}),e.tickable=null!==i.viewerIdx&&!i.empty||i.isContainer||i.childrenCount>0,e.exportFormats=i.exportFormats):console.warn("Node of ".concat(i.id," - ").concat(i.label," not found"))},c=Object(d["f"])(e.tree,i.id);r(c),c&&c.userNode&&r(Object(d["f"])(e.userTree,i.id))},SET_CONTEXTMENU_OBSERVATIONID:function(e,t){e.contextMenuObservationId=t},MOD_BRING_FORWARD:function(e,t){var n=e.observations.find(function(e){return e.id===t.id});n||console.warn("Receive a bring forward for an unknown observation: ".concat(t.id," - ").concat(t.label)),n.main=!0,t.main=!0},MOD_STRUCTURE_CHANGE:function(e,t){var n=t.node,o=t.modificationEvent,a=e.observations.find(function(e){return e.id===o.id});a.childrenCount=o.newSize,a.empty=!1,o.exportFormats&&(a.exportFormats=o.exportFormats);var i=function(e){e&&(e.childrenCount=o.newSize,o.exportFormats&&(e.exportFormats=o.exportFormats),e.children.forEach(function(e){e.siblingsCount=o.newSize}),e.tickable=!0,e.disabled=!1,e.empty=!1,e.needUpdate=!0)};i(n),n.userNode&&i(Object(d["f"])(e.userTree,n.id))},MOD_VALUE_CHANGE:function(e,t){if(t.dynamic=!0,t.needUpdate=!1,t.userNode){var n=Object(d["f"])(e.userTree,t.id);n?(n.dynamic=!0,n.needUpdate=!1):console.warn("Node theoretically in user tree but not found: ".concat(t.id," - ").concat(t.label))}},ADD_KNOWLEDGE_VIEW:function(e,t){e.knowledgeViews.push(p()({},t,{show:!1}))},SHOW_KNOWLEDGE_VIEW:function(e,t){e.knowledgeViews.forEach(function(e){e.viewId===t&&(e.show=!0)})},ADD_TIME_EVENT:function(e,t){var n=-1!==e.timeEvents.findIndex(function(e){return e.id===t.id&&e.timestamp===t.timestamp&&e.newAttributes===t.newAttributes&&e.newScale===t.newScale&&e.newName===t.newName&&e.newSemantics===t.newSemantics&&e.newSize===t.newSize});n?console.warn("Duplicated time event:\n ".concat(JSON.stringify(t,null,2))):e.timeEvents.push(t)},SET_MODIFICATIONS_TASK:function(e,t){e.modificationsTask=t},SET_TIMESTAMP:function(e,t){e.timestamp=t},SET_ENGINE_TIMESTAMP:function(e,t){e.engineTimestamp=t},SET_SCHEDULING_STATUS:function(e,t){if(null!==e.scaleReference)switch(t.type){case"TIME_ADVANCED":e.engineTimestamp=t.currentTime;break;case"STARTED":e.engineTimestamp=t.currentTime,e.schedulingResolution=t.resolution,N["b"].$emit(r["h"].NEW_SCHEDULING);break;case"FINISHED":e.engineTimestamp=e.scaleReference.end;break;default:console.warn("Unknown scheduling type: ".concat(t.type));break}else console.warn("Try to change scheduling type but no scaleReference")},ADD_NODE:function(e,t){var n=t.node,o=t.parentId,a=t.toUserTreeOnly,i=void 0!==a&&a,r=e.contexts.peek();if(null===r)return console.info("Context is null, it's just set or is a new observation of previous search for this session, so added to orphans. ID: ".concat(n.id)),void e.orphans.push(n);var c=r.id===r.rootContextId;if((c&&n.rootContextId!==r.id||!c&&n.contextId!==r.id)&&console.info("Subcontext or trying to add to tree an observation of other context. Actual: ".concat(r.id," / Node: ").concat(n.rootContextId)),r.id!==n.id)if(r.id===o){if(i||e.tree.push(n),n.userNode){var s=JSON.parse(JSON.stringify(n));e.userTree.push(s)}}else{var l=function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,i=Object(d["f"])(t,o);null!==i?(i.children.length===i.childrenCount&&(i.childrenCount++,i.children.forEach(function(e){e.siblingsCount=i.childrenCount})),i.children.push(p()({},a,{idx:i.children.length,siblingsCount:i.childrenCount})),i.disabled=!1):(console.warn("Orphan founded with id ".concat(n.id)),e.orphans.push(n))};i||l(e.tree),n.userNode&&l(e.userTree,JSON.parse(JSON.stringify(n)))}else console.error("Try to add context to tree, check it!")},REMOVE_NODE:function(e,t){var n=t.id,o=t.fromMainTree,a=void 0!==o&&o,i=a?e.tree:e.userTree,r=function e(t,n){var o=t.findIndex(function(e){return e.id===n});-1===o?t.forEach(function(t){t.children&&0!==t.children.length&&e(t.children,n)}):(t.splice(o,1),console.debug("Find and delete node ".concat(n," from ").concat(a?"main tree":"user tree")))};r(i,n)},UPDATE_USER_NODE:function(e,t){var n=t.node,o=t.userNode,a=function e(t){t.userNode=o,t.children&&t.children.length>0&&t.children.forEach(function(t){return e(t)})};a(n)},SET_FOLDER_VISIBLE:function(e,t){var n=t.nodeId,o=t.visible,a=t.zIndexOffset;if(null!==a){e.observations.forEach(function(e){e.parentArtifactId===n||e.parentId===n?(e.visible=o,e.top=o):o&&e.zIndexOffset===a&&(e.top=!1)});var i=e.observations.find(function(e){return e.id===n});"undefined"!==typeof i&&(i.visible=o)}else console.info("Folder with id ".concat(n," has no loaded elements"));var r=function(e){var t=Object(d["f"])(e,n);"undefined"!==typeof t&&null!==t&&t.children.length>0&&(t.children.forEach(function(e){e.parentArtifactId===t.id&&(e.ticked=o)}),t.ticked=o)};r(e.tree),r(e.userTree)},SET_VISIBLE:function(e,t){var n=t.id,o=t.visible,a=e.observations.findIndex(function(e){return e.id===n}),i=e.observations[a];if("undefined"!==typeof i){var r=i.zIndexOffset;i.visible=o,i.top=o,o&&e.observations.forEach(function(e){e.id!==n&&e.zIndexOffset===r&&(e.top=!1)});var c=function(e){var t=Object(d["f"])(e,n);t&&(t.ticked=o)};c(e.tree),c(e.userTree),e.observations.splice(a,1,i)}else console.warn("Try to change visibility to no existing observations with id ".concat(n))},SET_LOADING_LAYERS:function(e,t){var n=t.loading,o=t.observation;if(o){o.loading=n;var a=Object(d["f"])(e.tree,o.id);if(a&&(a.loading=n,a.userNode)){var i=Object(d["f"])(e.userTree,o.id);i.loading=n}}},STORE_RAW_SEARCH_RESULT:function(e,t){e.searchResult=t},ADD_LAST:function(e,t){var n=t.parentId,o=t.observationId,a=t.offsetToAdd,i=t.total,r=e.lasts.findIndex(function(e){return n===e.parentId});if(-1!==r){var c=e.lasts[r];c.offset+a>=c.total?(e.lasts.splice(r,1),console.info("Folder ".concat(n," fully loaded"))):(c.observationId=o,c.offset+=a,console.info("Loaded more elements in folder ".concat(n,". New offset is ").concat(c.offset," ")))}else{if(a+1===i)return void console.info("Nothing to do in folder ".concat(n,". Offset is ").concat(a," and total is ").concat(i," "));e.lasts.push({parentId:n,observationId:o,offset:a,total:i}),console.debug("Added folder ".concat(n,". Offset is ").concat(a," "))}},SET_SCALE_REFERENCE:function(e,t){null===t.timeUnit&&(t.timeUnit=r["F"].YEAR),e.scaleReference=t,e.context||(null!==e.scaleReference.shape?e.proposedContext=d["a"].readGeometry(e.scaleReference.shape,{dataProjection:U["d"].PROJ_EPSG_4326,featureProjection:U["d"].PROJ_EPSG_3857}):e.proposedContext=null),console.info("Scale reference set: ".concat(JSON.stringify(t,null,2)))},UPDATE_SCALE_REFERENCE:function(e,t){var n,o=t.type,a=t.unit,i=t.timeResolutionMultiplier,c=t.start,s=t.end,l=t.next,u=void 0!==l&&l,d=t.spaceResolution;o===r["D"].ST_SPACE&&0!==d&&Math.round(d)!==d&&(d=d.toFixed(1));var E=p()({},e.scaleReference,(n={},k()(n,"".concat(o,"Unit"),a),k()(n,"".concat(o,"ResolutionDescription"),(d&&0!==d?"".concat(d," "):"")+a),n),o===r["D"].ST_SPACE&&{spaceResolution:d,spaceResolutionConverted:d},o===r["D"].ST_TIME&&{timeResolutionMultiplier:i,start:c,end:s});u?e.nextScale=p()({},E,{spaceChanged:o===r["D"].ST_SPACE,timeChanged:o===r["D"].ST_TIME}):e.scaleReference=E},SET_SCALE_LOCKED:function(e,t){var n=t.scaleType,o=t.scaleLocked;"all"===n?(e.scaleLocked.space=o,e.scaleLocked.time=o):Object.prototype.hasOwnProperty.call(e.scaleLocked,n)?(console.info("Set ".concat(o," to ").concat(n," scale type")),e.scaleLocked[n]=o):console.error("Try to set locked to unknow scale type: ".concat(n))},SET_INTERACTIVE_MODE:function(e,t){e.interactiveMode=t},SET_CROSSING_IDL:function(e,t){e.crossingIDL=t},ADD_TERMINAL:function(e,t){e.terminals.push(t)},REMOVE_TERMINAL:function(e,t){var n=e.terminals.findIndex(function(e){return e.id===t});-1!==n?e.terminals.splice(n,1):console.warn("Trying to remove unknown terminal ".concat(t))},ADD_TERMINAL_COMMAND:function(e,t){e.terminalCommands.push(t),localStorage.setItem(r["R"].LOCAL_STORAGE_TERMINAL_COMMANDS,JSON.stringify(e.terminalCommands))},CLEAR_TERMINAL_COMMANDS:function(e){e.terminalCommands.splice(0,e.terminalCommands.length),localStorage.setItem(r["R"].LOCAL_STORAGE_TERMINAL_COMMANDS,JSON.stringify(e.terminalCommands))},AUTH_SUCCESS:function(e){e.isAuthenticated=!0},LOGOUT:function(e){e.isAuthenticated=void 0},SET_DOCUMENTATION:function(e,t){var n=t.view,o=t.tree,a=e.documentationTrees.findIndex(function(e){return e.view===n});-1===a?console.warn("Unknown documentation view: ".concat(n)):e.documentationTrees[a].tree=o},ADD_DOCUMENTATION:function(e,t){t.forEach(function(t){e.documentationContent.set(t.id,t)})}},F=(n("28a5"),n("f559"),n("ffc1"),n("96cf"),n("c973")),Y=n.n(F),W=n("be3b"),G=n("17dc"),j=n("e7d8"),H=void 0,z={loadSessionReference:function(e){var t=e.commit;return new Promise(function(e,n){W["a"].get("".concat("").concat(c["c"].REST_SESSION_INFO),{maxRedirects:0}).then(function(n){var o=n.data;o&&(t("SET_SESSION_REFERENCE",o),e())}).catch(function(e){e.response&&403===e.response.status?n(new Error("Invalid session")):n(new Error("Error retrieving session: ".concat(e)))})})},setContext:function(e,t){var n=t.context,o=t.isRecontext,a=e.commit,i=e.getters,r=e.dispatch;null!==i.context&&i.context.id===n.id||(a("SET_CONTEXT",{context:n,isRecontext:o}),o&&r("view/resetContext",null,{root:!0}),r("view/setContextLayer",n,{root:!0}),console.debug("Send start watch context ".concat(n.id)),Object(d["q"])(G["a"].WATCH_REQUEST,{active:!0,observationId:n.id,rootContextId:n.rootContextId}))},resetContext:function(e){var t=e.commit,n=e.dispatch,o=e.state,a=e.getters,i=a.context;if(null!==i){var s={id:i.id,rootContextId:i.rootContextId};t("SET_CONTEXT",{}),n("getSessionContexts"),n("view/resetContext",null,{root:!0}),null!==o.waitingForReset?(n("loadContext",o.waitingForReset),o.waitingForReset=null):n("addObservation",{observation:r["C"],main:!0}),n("view/addToKlabLog",{type:c["a"].TYPE_INFO,payload:{message:"Context reset",separator:!0}},{root:!0}),console.debug("Send stop watch context ".concat(s.id)),Object(d["q"])(G["a"].WATCH_REQUEST,{active:!1,observationId:s.id,rootContextId:s.rootContextId})}else console.info("Try to reset null context, is initial reset?")},setWaitinForReset:function(e){var t=e.commit,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;t("WAITING_FOR_RESET",n)},loadContext:function(e,t){var n=e.commit,o=e.dispatch;console.info("Ask for context to restore ".concat(t)),W["a"].get("".concat("").concat(c["c"].REST_SESSION_VIEW,"describe/").concat(t),{params:{childLevel:1}}).then(function(){var e=Y()(regeneratorRuntime.mark(function e(a){var i,c,s;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:return i=a.data,i.restored=!0,e.next=4,o("setContext",{context:p()({},i,{children:[]})});case 4:if(n("data/SET_RELOAD_FLOWCHART",{target:null},{root:!0}),console.debug("Context received with id ".concat(i.id)),!(i.children.length>0)){e.next=12;break}return c=[],s=i.children,s.forEach(function(e){null!==e.taskId&&(-1===c.indexOf(e.taskId)&&c.push(e.taskId),o("addObservation",{observation:e,restored:!0}))}),e.next=12,Promise.all(c);case 12:o("view/setSpinner",p()({},r["J"].SPINNER_STOPPED,{owner:t}),{root:!0});case 13:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}()).catch(function(e){throw o("view/setSpinner",p()({},r["J"].SPINNER_ERROR,{owner:t,errorMessage:e}),{root:!0}),e})},getSessionContexts:function(e){var t=e.getters,n=e.commit;return new Promise(function(e,o){if(null!==t.session){var a="".concat("").concat(c["c"].REST_STATUS);Object(d["h"])(t.session,a,{transformRequest:[function(e,t){return delete t.common[r["r"].KLAB_AUTHORIZATION],e}]},function(a,i){var r=a.data;if(console.debug("Contexts history:\n".concat(JSON.stringify(r,null,4))),r&&r.sessions&&r.sessions.length>0){var c=r.sessions.find(function(e){return e.id===t.session});if("undefined"!==typeof c){var s=c.rootObservations;if(null===s||0===Object.keys(s).length&&s.constructor===Object)console.debug("No root observation founded"),e(0);else{console.debug("Find ".concat(Object.keys(s).length," root observations for this session"));var l=0;Object.entries(s).forEach(function(e){n("STORE_CONTEXT",e[1]),l+=1}),e(l)}}else console.warn("No information for session ".concat(t.session,", isn't valid session?")),o(new Error("No information for session ".concat(t.session,", disconnect")))}i()})}else o(new Error("No session established, no useful engine available, disconnect"))})},setContextCustomLabel:function(e,t){var n=e.commit;n("SET_CONTEXT_CUSTOM_LABEL",t)},addObservation:function(e,t){var n=e.commit,o=e.rootGetters,a=e.state,i=e.dispatch,c=t.observation,s=t.toTree,l=void 0===s||s,u=t.visible,E=void 0!==u&&u,f=t.restored,T=void 0!==f&&f,S=t.updated,m=void 0!==S&&S;return new Promise(function(e){var t=a.observations.findIndex(function(e){return e.id===c.id});return-1!==t?(m?(n("UPDATE_OBSERVATION",{observationIndex:t,newObservation:c}),n("UPDATE_TIME_EVENTS",c),console.debug("Observation$ ".concat(c.label," updated"))):i("view/addToKexplorerLog",{type:r["y"].TYPE_WARNING,payload:{message:"Existing observation received: ".concat(c.label)},important:!0},{root:!0}),e()):(i("view/assignViewer",{observation:c},{root:!0}).then(function(t){if(c.viewerIdx=t,c.visible=E,c.top=!1,c.zIndex=0,c.layerOpacity=c.layerOpacity||1,c.colormap=c.colormap||null,c.tsImages=[],c.isContainer=c.observationType===r["A"].TYPE_GROUP||c.observationType===r["A"].TYPE_VIEW,c.singleValue=c.observationType===r["A"].TYPE_STATE&&1===c.valueCount,c.loading=!1,c.loaded=!0,null===c.contextId){var a=o["stomp/tasks"].find(function(e){return c.taskId.startsWith(e.id)});if(a){var s=a.contextId;c.contextId=s}else c.contextId=c.rootContextId}if(n("ADD_OBSERVATION",{observation:p()({},c,{children:[]}),restored:T}),n("UPDATE_TIME_EVENTS",c),c.observationType===r["A"].TYPE_INITIAL)return e();if(c.children.length>0&&(c.disabled=!1,c.children.forEach(function(e){i("addObservation",{observation:e})})),l){var u=Object(d["l"])(c);if(n("ADD_NODE",u),c.childrenCount>0&&0===c.children.length){var f=u.node;i("addStub",f)}}return e()}),null)})},updateObservation:function(e,t){var n=e.commit,o=e.dispatch,a=e.state,i=t.observationId,r=t.exportFormats,s=a.observations.findIndex(function(e){return e.id===i});-1!==s?W["a"].get("".concat("").concat(c["c"].REST_SESSION_VIEW,"describe/").concat(i),{params:{childLevel:0}}).then(function(e){var t=e.data;if(t){if(r&&(t.exportFormats=r),n("UPDATE_OBSERVATION",{observationIndex:s,newObservation:t}),t.childrenCount>0){var c=Object(d["f"])(a.tree,t.id),l=c.children,u=l.length>0;u&&1===l.length&&(u=!l[0].id.startsWith("STUB")),u&&o("askForChildren",{parentId:i,count:Math.max(l.length,a.childrenToAskFor),total:t.childrenCount,updated:!0})}}else console.warn("Ask for update observation ".concat(i," but nothing found in engine"))}):console.warn("Try to update a not existing observation: ".concat(i))},addStub:function(e,t){var n=e.commit;n("ADD_NODE",{node:p()({},t,{id:"STUB-".concat(t.id),observable:"",label:"",children:[],childrenCount:0,childrenLoaded:0,siblingsCount:t.childrenCount,parentArtifactId:t.id,tickable:!1,disabled:!0,empty:!0,actions:{},header:"stub",main:!1,isContainer:!1,exportFormats:{},observationType:r["A"].TYPE_INITIAL,noTick:!0,parentId:t.id,dynamic:!1},t.userNode&&{userNode:t.userNode}),parentId:t.id}),n("ADD_LAST",{parentId:t.id,observationId:"STUB-".concat(t.id),offsetToAdd:0,total:t.childrenCount})},addKnowledgeView:function(e,t){var n=e.commit;n("ADD_KNOWLEDGE_VIEW",t)},showKnowledgeView:function(e,t){var n=e.commit;n("SHOW_KNOWLEDGE_VIEW",t)},addModificationEvent:function(e,t){var n=e.rootGetters,o=e.state,a=e.commit,i=e.dispatch,c=Object(d["f"])(o.tree,t.id);if(c)switch(t.type){case r["z"].BRING_FORWARD:a("MOD_BRING_FORWARD",c),i("changeTreeOfNode",{id:t.id,isUserTree:!0});break;case r["z"].VALUE_CHANGE:a("MOD_VALUE_CHANGE",c),a("ADD_TIME_EVENT",t),null===o.modificationsTask&&i("setModificationsTask",n["stomp/lastActiveTask"]());break;case r["z"].STRUCTURE_CHANGE:a("MOD_STRUCTURE_CHANGE",{node:c,modificationEvent:t}),c.childrenCount>0&&0===c.children.length&&i("addStub",c);break;case r["z"].CONTEXTUALIZATION_COMPLETED:i("updateObservation",{observationId:t.id,exportFormats:t.exportFormats});break;default:console.warn("Unknown modification event: ".concat(t.type));break}else t.id!==t.contextId?console.debug("Modification event for a not existing node, probably still not loaded",t):console.debug("Modification event for context",t)},setModificationsTask:function(e){var t=e.commit,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;t("SET_MODIFICATIONS_TASK",n)},setTimestamp:function(e,t){var n=e.commit;t&&-1!==t&&(t=Math.round(t)),n("SET_TIMESTAMP",t)},setScheduling:function(e,t){var n=e.commit,o=e.getters;o.context&&t.contextId===o.context.id?n("SET_SCHEDULING_STATUS",t):console.debug("Received a scheduling of other context: ".concat(t.contextId))},askForChildren:function(e,t){var n=e.commit,o=e.dispatch,a=e.state,i=t.parentId,s=t.total,l=t.offset,u=void 0===l?0:l,E=t.count,f=void 0===E?a.childrenToAskFor:E,T=t.toTree,S=void 0===T||T,m=t.visible,O=void 0!==m&&m,b=t.notified,A=void 0===b||b,_=t.updated,I=void 0!==_&&_;return new Promise(function(e){console.debug("Ask for children of node ".concat(i,": count:").concat(f," / offset ").concat(u)),o("view/setSpinner",p()({},r["J"].SPINNER_LOADING,{owner:i}),{root:!0}).then(function(){W["a"].get("".concat("").concat(c["c"].REST_SESSION_VIEW,"children/").concat(i),{params:{count:f,offset:u}}).then(function(t){var c=t.data;c&&c.length>0?c.forEach(function(t,l,u){t.notified=A,t.siblingsCount=s,o("addObservation",{observation:t,toTree:S,visible:O,updated:I}).then(function(){if(l===u.length-1){S&&n("ADD_LAST",{parentId:i,observationId:t.id,offsetToAdd:c.length,total:s});var E=function(e){var t=Object(d["f"])(e,i);t&&null!==t&&(t.childrenLoaded+=c.length)};E(a.tree),E(a.userTree),o("view/setSpinner",p()({},r["J"].SPINNER_STOPPED,{owner:i}),{root:!0}),e()}})}):(o("view/setSpinner",p()({},r["J"].SPINNER_STOPPED,{owner:i}),{root:!0}),e())})})})},addChildrenToTree:function(e,t){var n=e.dispatch,o=e.commit,a=e.state,i=t.parent,r=t.count,c=void 0===r?a.childrenToAskFor:r;if(i&&null!==i)for(var s=a.observations.filter(function(e){return e.parentArtifactId===i.id||e.parentId===i.id}),l=s.length,u=i.children.length,E=u,f=0;E0&&0===T.children.length&&n("addStub",p.node),f!==c-1&&E!==l-1||o("ADD_LAST",{parentId:i.id,observationId:T.id,offsetToAdd:f+1,total:i.childrenLoaded})}},changeTreeOfNode:function(e,t){var n=e.commit,o=e.state,a=t.id,i=t.isUserTree,r=Object(d["f"])(o.tree,a);i?null===Object(d["f"])(o.userTree,a)?(n("UPDATE_USER_NODE",{node:r,userNode:!0}),n("ADD_NODE",{node:r,parentId:r.parentArtifactId||r.parentId,toUserTreeOnly:!0})):console.warn("Try to move to user tree an existing node: ".concat(a," - ").concat(r.label)):(n("UPDATE_USER_NODE",{node:r,userNode:!1}),n("REMOVE_NODE",{id:a}))},setVisibility:function(e,t){var n=e.commit,o=e.dispatch,a=e.state,i=t.node,r=t.visible;if(i.isContainer){if(0!==i.childrenCount&&null===i.viewerIdx){var c=a.observations.find(function(e){return e.parentArtifactId===i.id||e.parentId===i.id});if("undefined"!==typeof c){var s=c.viewerIdx,l=c.viewerType,u=c.zIndexOffset;i.viewerIdx=s,i.viewerType=l,i.zIndexOffset=u}else i.zIndexOffset=null}null!==i.viewerIdx&&o("view/setMainDataViewer",{viewerIdx:i.viewerIdx,visible:r},{root:!0}),n("SET_FOLDER_VISIBLE",{nodeId:i.id,visible:r,zIndexOffset:i.zIndexOffset})}else o("view/setMainDataViewer",{viewerIdx:i.viewerIdx,visible:r},{root:!0}),n("SET_VISIBLE",{id:i.id,visible:r})},putObservationOnTop:function(e,t){var n=e.commit;n("SET_VISIBLE",{id:t,visible:!0})},setContextMenuObservationId:function(e,t){var n=e.commit;n("SET_CONTEXTMENU_OBSERVATIONID",t)},selectNode:function(e,t){var n=e.dispatch,o=e.state;if(null===t)n("view/setObservationInfo",null,{root:!0});else{var a=o.observations.find(function(e){return e.id===t});a&&(a.visible&&!a.top&&n("setVisibility",{node:a,visible:!0}),n("view/setObservationInfo",a,{root:!0}))}},setLoadingLayers:function(e,t){var n=e.commit,o=t.loading,a=t.observation;a&&n("SET_LOADING_LAYERS",{loading:o,observation:a})},loadFlowchart:function(e){var t=e.commit,n=e.getters,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r["g"].GRAPH_DATAFLOW;return new Promise(function(e,a){console.info("Ask for flowchart ".concat(o)),W["a"].get("".concat("").concat(c["c"].REST_API_EXPORT,"/").concat(o,"/").concat(n.contextId),{headers:{Accept:"application/json"}}).then(function(i){var r=i.data;if("undefined"!==typeof r&&null!==r)try{r.restored=n.context.restored,t("ADD_FLOWCHART",{flowchart:r,target:o}),e()}catch(e){a(new Error("Error in dataflow layout for the context ".concat(H.contextId,": ").concat(e)))}else a(new Error("Dataflow in context ".concat(H.contextId," has no layout")))}).catch(function(e){a(e)})})},setReloadFlowchart:function(e,t){var n=e.commit,o=t.target;n("SET_RELOAD_FLOWCHART",o)},setDataflowStatus:function(e,t){var n=e.commit,o=t.id,a=t.status;n("SET_DATAFLOW_STATUS",{id:o,status:a})},setDataflowInfo:function(e,t){var n=e.commit;if(null===t)n("SET_DATAFLOW_INFO",null);else{var o=t.id,a=t.html,i=t.rateable,r=t.rating,c=t.averageRating;if(null!==o&&""!==o){var s=o.split("."),l=s[s.length-1],u=s.slice(0,s.length-1);n("SET_DATAFLOW_INFO",{elementId:l,elementTypes:u,html:a,rateable:i,rating:r,averageRating:c})}}},storeSearchResult:function(e,t){var n=e.commit;n("STORE_RAW_SEARCH_RESULT",t)},setScaleReference:function(e,t){var n=e.commit;n("SET_SCALE_REFERENCE",t)},updateScaleReference:function(e,t){var n=e.commit;n("UPDATE_SCALE_REFERENCE",t)},setScaleLocked:function(e,t){var n=e.commit,o=t.scaleType,a=t.scaleLocked;n("SET_SCALE_LOCKED",{scaleType:o,scaleLocked:a})},setInteractiveMode:function(e,t){var n=e.commit;n("SET_INTERACTIVE_MODE",t)},setCrossingIDL:function(e,t){var n=e.commit;n("SET_CROSSING_IDL",t)},addTerminal:function(e,t){var n=e.state,o=e.commit,a=t.id,i=t.active,c=t.type;if(a){var s=n.terminals.findIndex(function(e){return e.id===a});-1!==s?console.warn("Terminal already exists"):n.terminals[s].active=!0}else a="".concat(n.session,"-").concat(++n.terminalsCounter),o("ADD_TERMINAL",{id:a,active:"undefined"===typeof i||i,type:c||r["M"].CONSOLE})},removeTerminal:function(e,t){var n=e.commit;n("REMOVE_TERMINAL",t)},addTerminalCommand:function(e,t){var n=e.commit;n("ADD_TERMINAL_COMMAND",t)},clearTerminalCommands:function(e){var t=e.commit;t("CLEAR_TERMINAL_COMMANDS")},loadDocumentation:function(e){var t=e.dispatch,n=e.getters,o=e.rootGetters,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return new Promise(function(e,i){if(null===n.contextId)return console.warn("Ask documentation without context"),void i(new Error("Ask documentation without context"));null===a&&(a=o["view/documentationView"],null===a&&console.warn("No view selected")),W["a"].get("".concat("").concat(c["c"].REST_SESSION_OBSERVATION,"documentation/").concat(a,"/").concat(n.contextId),{}).then(function(n){var o=n.data;""===o?(console.warn("Empty report"),e(!1)):t("refreshDocumentation",{view:a,documentation:o}).then(function(){t("view/removeReloadView",a,{root:!0}).then(function(){e(!0)})})}).catch(function(e){i(e)})})},refreshDocumentation:function(e,t){var n=e.commit,o=t.view,a=t.documentation,i=[],c=[],s=new Map,l=function e(t,n,o,a){var i,l;switch(n.type===r["l"].SECTION?l=null===o?"".concat(a,"."):"".concat(o).concat(a,"."):(l=s.has(n.type)?s.get(n.type)+1:1,s.set(n.type,l)),n.type){case r["l"].SECTION:i="".concat(l," ").concat(n.title);break;case r["l"].TABLE:i="".concat(Object(j["b"])().tc("label.reportTable")," ").concat(l,". ").concat(n.bodyText);break;case r["l"].RESOURCE:i=n.title;break;case r["l"].MODEL:i=n.id;break;case r["l"].REFERENCE:i=n.id;break;case r["l"].FIGURE:i="".concat(Object(j["b"])().tc("label.reportFigure")," ").concat(l,". ").concat(n.figure.label);break;default:i=n.type}var u={type:n.type,id:n.id,idx:l,parentId:n.parentId,previousId:n.previousId,nextId:n.nextId,label:i,children:[]},d=0;n.children.forEach(function(t){var n=-1;t.type===r["l"].SECTION&&(n=++d),e(u.children,t,l,n)}),t.push(u),c.push({id:n.id,idx:l,label:i,type:n.type,title:n.title,subtitle:n.subtitle,bodyText:n.bodyText,model:n.model,section:n.section,resource:n.resource,table:n.table,figure:n.figure,reference:n.reference})},u=0;a.forEach(function(e,t){l(i,e,null,e.type===r["l"].SECTION?++u:t)}),n("SET_DOCUMENTATION",{view:o,tree:i}),n("ADD_DOCUMENTATION",c)},getAuthentication:function(e){var t=e.getters;return new Promise(function(e){setInterval(function(){void 0!==t.isLoggedIn&&e(t.isLoggedIn)},600)})}},B={namespaced:!0,state:D,getters:M,mutations:V,actions:z},K={stompClient:null,connectionState:r["f"].CONNECTION_UNKNOWN,reconnectionsAttempt:0,subscriber:null,sentMessages:[],receivedMessages:[],queuedMessage:null,tasks:[],subscriptions:[]},Q={connectionDown:function(e){return e.connectionState!==r["f"].CONNECTION_UP},lastError:function(e){var t=e.receivedMessages.filter(function(e){return e.type===r["y"].TYPE_ERROR}).slice(-1);return 1===t.length?t[0]:null},lastMessage:function(e){var t=e.receivedMessages.filter(function(e){return e.type===r["y"].TYPE_MESSAGE}).slice(-1);return 1===t.length?t[0]:null},lastReceivedMessage:function(e){return e.receivedMessages.length>0?e.receivedMessages.slice(-1)[0]:null},lastSendedMessage:function(e){return e.sentMessages.length>0?e.sentMessages.slice(-1)[0]:null},subscriberId:function(e){return null!==e.subscriber?e.subscriber.id:null},queuedMessage:function(e){return e.queuedMessage},connectionState:function(e){return e.connectionState},connectionUp:function(e){return e.connectionState===r["f"].CONNECTION_UP},tasks:function(e){return e.tasks},taskIsAlive:function(e){return function(t){return"undefined"!==typeof e.tasks.find(function(e){return e.id===t&&e.alive})}},taskOfContextIsAlive:function(e,t,n,o){return"undefined"!==typeof e.tasks.find(function(e){return e.contextId===o["data/contextId"]&&e.alive})},contextTaskIsAlive:function(e){return function(t){return"undefined"!==typeof e.tasks.find(function(e){return e.contextId===t&&e.alive})}},hasTasks:function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return-1!==e.tasks.findIndex(function(e){return e.alive&&(null===t||e.contextId===t)})}},lastActiveTask:function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=e.tasks.filter(function(e){return e.alive&&(null===t||e.contextId===t)});return n.length>0?n.pop():null}}},X={STOMP_CONNECTION_STATE:function(e,t){e.connectionState=t},STOMP_ERROR:function(e,t){Object(d["p"])(e.receivedMessages,{date:_()().format("HH:mm:ss"),type:r["y"].TYPE_ERROR,message:t})},STOMP_MESSAGE:function(e,t){Object(d["p"])(e.receivedMessages,{date:_()().format("HH:mm:ss"),type:r["y"].TYPE_MESSAGE,message:t})},STOMP_SEND_MESSAGE:function(e,t){Object(d["p"])(e.sentMessages,p()({date:_()().format("HH:mm:ss")},t))},STOMP_SUBSCRIBED:function(e,t){e.subscriber=t},STOMP_RECONNECTIONS_ATTEMPT:function(e,t){e.reconnectionsAttempt=t},STOMP_RECONNECTIONS_ATTEMPT_RESET:function(e){e.reconnectionsAttempt=0},STOMP_QUEUE_MESSAGE:function(e,t){e.queuedMessage=t},STOMP_CLEAN_QUEUE:function(e){e.queuedMessage=null},TASK_START:function(e,t){var n=t.id,o=t.contextId,a=t.description;-1!==e.tasks.findIndex(function(e){return e.id===n})?console.debug("Received duplicated start task id: ".concat(n," - ").concat(a)):e.tasks.push({id:n,contextId:o,description:a,alive:!0})},TASK_END:function(e,t){var n=t.id,o=e.tasks.findIndex(function(e){return e.id===n});if(-1!==o){var a=e.tasks[o];a.alive=!1,e.tasks.splice(o,1,a)}else console.debug("Task with id = ".concat(n," not founded or is not alive"))}};function q(e,t,n,o){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];e("view/addToKexplorerLog",{type:t,payload:{message:n,attach:o},important:a},{root:!0})}var J=(o={},k()(o,c["a"].TYPE_TASKSTARTED,function(e,t){var n=e.payload,o=t.dispatch;o("stomp/taskStart",n,{root:!0}),q(o,r["y"].TYPE_DEBUG,"Started task with id ".concat(n.id)),o("view/addToStatusTexts",{id:n.id,text:n.description},{root:!0})}),k()(o,c["a"].TYPE_TASKABORTED,function(e,t){var n=e.payload,o=t.dispatch;o("stomp/taskAbort",n,{root:!0}),q(o,r["y"].TYPE_ERROR,"Aborted task with id ".concat(n.id),n),o("view/removeFromStatusTexts",n.id,{root:!0})}),k()(o,c["a"].TYPE_TASKFINISHED,function(e,t){var n=e.payload,o=t.dispatch;o("stomp/taskEnd",n,{root:!0}),q(o,r["y"].TYPE_DEBUG,"Ended task with id ".concat(n.id)),o("view/removeFromStatusTexts",n.id,{root:!0})}),k()(o,c["a"].TYPE_PROVENANCECHANGED,function(e,t){var n=e.payload,o=t.dispatch,a=t.rootGetters;n.contextId&&null!==a["data/context"]&&a["data/context"].id!==n.contextId?(q(o,r["y"].TYPE_INFO,"Provenance of incorrect context received"),console.warn(a["data/context"].id,n.contextId)):(o("data/setReloadFlowchart",{target:n.target},{root:!0}),q(o,r["y"].TYPE_DEBUG,"Provenance available in context ".concat(n.contextId)))}),k()(o,c["a"].TYPE_DATAFLOWCOMPILED,function(e,t){var n=e.payload,o=t.dispatch,a=t.rootGetters;n.contextId&&null!==a["data/context"]&&a["data/context"].id!==n.contextId?(q(o,r["y"].TYPE_INFO,"Dataflow of incorrect context received"),console.warn(a["data/context"].id,n.contextId)):(o("data/setReloadFlowchart",{target:n.target},{root:!0}),q(o,r["y"].TYPE_DEBUG,"Dataflow compiled in context ".concat(n.contextId)))}),k()(o,c["a"].TYPE_DATAFLOWSTATECHANGED,function(e,t){var n,o=e.payload,a=t.dispatch;n="STARTED"===o.status?r["i"].PROCESSING:"FINISHED"===o.status?r["i"].PROCESSED:"ABORTED"===o.status?r["i"].ABORTED:r["i"].WAITING,a("data/setDataflowStatus",{id:o.nodeId,status:n},{root:!0})}),k()(o,c["a"].TYPE_DATAFLOWDOCUMENTATION,function(e,t){var n=e.payload,o=t.dispatch;n&&n.dataflowId&&n.htmlDescription?(q(o,r["y"].TYPE_DEBUG,"Dataflow element info received",n),o("data/setDataflowInfo",{id:n.dataflowId,html:n.htmlDescription,rateable:n.rateable,rating:n.rating,averageRating:n.averageRating},{root:!0})):q(o,r["y"].TYPE_WARNING,"Strange payload of dataflow element info received",n)}),k()(o,c["a"].TYPE_NEWOBSERVATION,function(e,t){var n=e.payload,o=t.rootState,a=t.rootGetters,i=t.dispatch,c=o.stomp.tasks.find(function(e){return e.id===n.taskId});"undefined"===typeof c&&-1!==o.data.contextsHistory.findIndex(function(e){return e.id===n.contextId})&&(i("stomp/taskStart",{id:n.taskId,description:r["p"].UNKNOWN_SEARCH_OBSERVATION,contextId:n.contextId},{root:!0}),i("view/addToStatusTexts",{id:n.taskId,text:r["p"].UNKNOWN_SEARCH_OBSERVATION},{root:!0}),q(i,r["y"].TYPE_INFO,"Received an observation of previous context with no task associated. Session was been reloaded?",n)),null===n.parentId?null===a["data/context"]?(q(i,r["y"].TYPE_DEBUG,"New context received with id ".concat(n.id),n),i("data/setContext",{context:n},{root:!0}),"undefined"!==typeof n.scaleReference&&null!==n.scaleReference&&i("data/setScaleReference",n.scaleReference,{root:!0})):q(i,r["y"].TYPE_ERROR,"Strange behaviour: observation with no parent in existing context: ".concat(n.id," - ").concat(n.label),n):null!==a["data/context"]&&(a["data/context"].id===n.rootContextId||c&&a["data/context"].id===c.contextId)?(q(i,r["y"].TYPE_INFO,"New observation received with id ".concat(n.id,", rootContextId ").concat(n.rootContextId," and contextId ").concat(n.contextId),n),n.notified=!0,i("data/addObservation",{observation:n},{root:!0})):q(i,r["y"].TYPE_INFO,"Received an observation of different context",n,null,4)}),k()(o,c["a"].TYPE_MODIFIEDOBSERVATION,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["y"].TYPE_DEBUG,"Received a modification event",n),o("data/addModificationEvent",n,{root:!0})}),k()(o,c["a"].TYPE_QUERYRESULT,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["y"].TYPE_INFO,"Received search results",n),o("data/storeSearchResult",n,{root:!0})}),k()(o,c["a"].TYPE_RESETCONTEXT,function(e,t){var n=t.dispatch;q(n,r["y"].TYPE_INFO,"Received context reset"),N["b"].$emit(r["h"].RESET_CONTEXT),n("data/resetContext",null,{root:!0})}),k()(o,c["a"].TYPE_SCALEDEFINED,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["y"].TYPE_INFO,"Received scale reference",n),o("data/setScaleReference",n,{root:!0})}),k()(o,c["a"].TYPE_USERINPUTREQUESTED,function(e,t){var n=t.dispatch;q(n,r["y"].TYPE_INFO,"Received input request",e.payload),n("view/inputRequest",e,{root:!0})}),k()(o,c["a"].TYPE_SCHEDULEADVANCED,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["y"].TYPE_INFO,"Received schedule advanced",n),o("data/setScheduling",n,{root:!0})}),k()(o,c["a"].TYPE_SCHEDULINGSTARTED,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["y"].TYPE_INFO,"Received scheduling started",n),o("data/setScheduling",n,{root:!0})}),k()(o,c["a"].TYPE_SCHEDULINGFINISHED,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["y"].TYPE_INFO,"Received scheduling finished",n),o("data/setScheduling",n,{root:!0})}),k()(o,c["a"].TYPE_ENGINEEVENT,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["y"].TYPE_INFO,"Engine event received",n),o("view/setEngineEvent",n,{root:!0})}),k()(o,c["a"].TYPE_DEBUG,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["y"].TYPE_DEBUG,n)}),k()(o,c["a"].TYPE_INFO,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["y"].TYPE_INFO,n)}),k()(o,c["a"].TYPE_WARNING,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["y"].TYPE_WARNING,n)}),k()(o,c["a"].TYPE_ERROR,function(e,t){var n=e.payload,o=t.dispatch;n===r["f"].UNKNOWN_IDENTITY?N["b"].$emit(r["h"].SESSION_CUT):q(o,r["y"].TYPE_ERROR,n)}),k()(o,c["a"].TYPE_USERPROJECTOPENED,function(e,t){var n=t.dispatch;q(n,r["y"].TYPE_INFO,"Project opened in k.Modeler")}),k()(o,c["a"].TYPE_PROJECTFILEMODIFIED,function(e,t){var n=t.dispatch;q(n,r["y"].TYPE_INFO,"Project modified in k.Modeler")}),k()(o,c["a"].TYPE_NETWORKSTATUS,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["y"].TYPE_INFO,"Network status received",n)}),k()(o,c["a"].TYPE_AUTHORITYDOCUMENTATION,function(e,t){var n=e.payload,o=t.dispatch;q(o,r["y"].TYPE_INFO,"Authority documentation message received",n)}),k()(o,c["a"].TYPE_SETUPINTERFACE,function(e,t){var n=e.payload,o=t.dispatch;o("view/setLayout",n,{root:!0}),q(o,r["y"].TYPE_INFO,"App ".concat(n.name," loaded"),n,!0)}),k()(o,c["a"].TYPE_CREATEMODALWINDOW,function(e,t){var n=e.payload,o=t.dispatch;o("view/setModalWindow",n,{root:!0}),q(o,r["y"].TYPE_INFO,"Modal ".concat(n.name," loaded"),n)}),k()(o,c["a"].TYPE_CREATEVIEWCOMPONENT,function(e,t){var n=e.payload,o=t.dispatch;o("view/createViewComponent",n,{root:!0}),q(o,r["y"].TYPE_INFO,"New create view component received",n)}),k()(o,c["a"].TYPE_VIEWACTION,function(e,t){var n=e.payload,o=t.dispatch;o("view/viewAction",n,{root:!0}),N["b"].$emit(r["h"].VIEW_ACTION),q(o,r["y"].TYPE_INFO,"New view action received",n)}),k()(o,c["a"].TYPE_VIEWSETTING,function(e,t){var n=e.payload,o=t.dispatch;o("view/viewSetting",n,{root:!0}),q(o,r["y"].TYPE_INFO,"New view setting received",n)}),k()(o,c["a"].TYPE_VIEWAVAILABLE,function(e,t){var n=e.payload,o=t.dispatch;o("view/setDocumentation",{id:n.viewId,view:n.viewClass},{root:!0}),q(o,r["y"].TYPE_INFO,"New documentation available",n)}),k()(o,c["a"].TYPE_DOCUMENTATIONCHANGED,function(e,t){var n=e.payload,o=t.dispatch;o("view/changeInDocumentation",n,{root:!0}),q(o,r["y"].TYPE_INFO,"New change in documentation",n)}),k()(o,c["a"].TYPE_COMMANDRESPONSE,function(e,t){var n=e.payload,o=t.dispatch;N["b"].$emit(r["h"].COMMAND_RESPONSE,n),q(o,r["y"].TYPE_INFO,"Command response received",n)}),o),$=function(e){var t=e.body,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=JSON.parse(t),a=n.dispatch;return o.messageClass===c["a"].CLASS_NOTIFICATION&&a("view/addToKlabLog",o,{root:!0}),Object.prototype.hasOwnProperty.call(J,o.type)?J[o.type](o,n):(console.warn("Unknown parser ".concat(o.type)),!1)},Z={stomp_onconnect:function(e,t){var n=e.commit;n("STOMP_CONNECTION_STATE",r["f"].CONNECTION_UP),n("STOMP_RECONNECTIONS_ATTEMPT_RESET"),n("STOMP_MESSAGE",t)},stomp_onclose:function(e){var t=e.commit;t("STOMP_CONNECTION_STATE",r["f"].CONNECTION_DOWN)},stomp_onerror:function(e,t){var n=e.dispatch;n("setConnectionState",{state:r["f"].CONNECTION_ERROR,message:t})},setConnectionState:function(e,t){var n=e.commit,o=t.state,a=t.message;n("STOMP_CONNECTION_STATE",o),n("STOMP_ERROR",a)},stomp_onmessage:function(e,t){var n=e.commit;n("STOMP_MESSAGE",t),$(t,e)},stomp_onsubscribe:function(e,t){var n=e.commit;n("STOMP_SUBSCRIBED",t)},stomp_reconnect:function(e,t){var n=e.commit;n("STOMP_RECONNECTIONS_ATTEMPT",t),n("STOMP_CONNECTION_STATE",r["f"].CONNECTION_WORKING)},stomp_onsend:function(e,t){var n=e.commit,o=t.message;n("STOMP_SEND_MESSAGE",o)},stomp_onerrorsend:function(e,t){var n=e.commit;n("STOMP_QUEUE_MESSAGE",t)},stomp_cleanqueue:function(e){var t=e.commit;t("STOMP_CLEAN_QUEUE")},taskStart:function(e,t){var n=e.commit,o=e.dispatch;o("view/setSpinner",p()({},r["J"].SPINNER_LOADING,{owner:t.id}),{root:!0}),n("TASK_START",t)},taskAbort:function(e,t){var n=e.commit,o=e.dispatch;n("TASK_END",t),o("view/setSpinner",p()({},r["J"].SPINNER_STOPPED,{owner:t.id}),{root:!0})},taskEnd:function(e,t){var n=e.commit,o=e.dispatch;n("TASK_END",t),o("view/setSpinner",p()({},r["J"].SPINNER_STOPPED,{owner:t.id}),{root:!0})}},ee={namespaced:!0,state:K,getters:Q,mutations:X,actions:Z};a["a"].use(i["a"]);var te=new i["a"].Store({modules:{view:C,data:B,stomp:ee}});t["a"]=te},4678:function(e,t,n){var o={"./af":"2bfb","./af.js":"2bfb","./ar":"8e73","./ar-dz":"a356","./ar-dz.js":"a356","./ar-kw":"423e","./ar-kw.js":"423e","./ar-ly":"1cfd","./ar-ly.js":"1cfd","./ar-ma":"0a84","./ar-ma.js":"0a84","./ar-ps":"4c98","./ar-ps.js":"4c98","./ar-sa":"8230","./ar-sa.js":"8230","./ar-tn":"6d833","./ar-tn.js":"6d833","./ar.js":"8e73","./az":"485c","./az.js":"485c","./be":"1fc1","./be.js":"1fc1","./bg":"84aa","./bg.js":"84aa","./bm":"a7fa","./bm.js":"a7fa","./bn":"9043","./bn-bd":"9686","./bn-bd.js":"9686","./bn.js":"9043","./bo":"d26a","./bo.js":"d26a","./br":"6887","./br.js":"6887","./bs":"2554","./bs.js":"2554","./ca":"d716","./ca.js":"d716","./cs":"3c0d","./cs.js":"3c0d","./cv":"03ec","./cv.js":"03ec","./cy":"9797","./cy.js":"9797","./da":"0f14","./da.js":"0f14","./de":"b469","./de-at":"b3eb","./de-at.js":"b3eb","./de-ch":"bb71","./de-ch.js":"bb71","./de.js":"b469","./dv":"598a","./dv.js":"598a","./el":"8d47","./el.js":"8d47","./en-au":"0e6b","./en-au.js":"0e6b","./en-ca":"3886","./en-ca.js":"3886","./en-gb":"39a6","./en-gb.js":"39a6","./en-ie":"e1d3","./en-ie.js":"e1d3","./en-il":"7333","./en-il.js":"7333","./en-in":"ec2e","./en-in.js":"ec2e","./en-nz":"6f50","./en-nz.js":"6f50","./en-sg":"b7e9","./en-sg.js":"b7e9","./eo":"65db","./eo.js":"65db","./es":"898b","./es-do":"0a3c","./es-do.js":"0a3c","./es-mx":"b5b7","./es-mx.js":"b5b7","./es-us":"55c9","./es-us.js":"55c9","./es.js":"898b","./et":"ec18","./et.js":"ec18","./eu":"0ff2","./eu.js":"0ff2","./fa":"8df4","./fa.js":"8df4","./fi":"81e9","./fi.js":"81e9","./fil":"d69a","./fil.js":"d69a","./fo":"0721","./fo.js":"0721","./fr":"9f26","./fr-ca":"d9f8","./fr-ca.js":"d9f8","./fr-ch":"0e49","./fr-ch.js":"0e49","./fr.js":"9f26","./fy":"7118","./fy.js":"7118","./ga":"5120","./ga.js":"5120","./gd":"f6b4","./gd.js":"f6b4","./gl":"8840","./gl.js":"8840","./gom-deva":"aaf2","./gom-deva.js":"aaf2","./gom-latn":"0caa","./gom-latn.js":"0caa","./gu":"e0c5","./gu.js":"e0c5","./he":"c7aa","./he.js":"c7aa","./hi":"dc4d","./hi.js":"dc4d","./hr":"4ba9","./hr.js":"4ba9","./hu":"5b14","./hu.js":"5b14","./hy-am":"d6b6","./hy-am.js":"d6b6","./id":"5038","./id.js":"5038","./is":"0558","./is.js":"0558","./it":"6e98","./it-ch":"6f12","./it-ch.js":"6f12","./it.js":"6e98","./ja":"079e","./ja.js":"079e","./jv":"b540","./jv.js":"b540","./ka":"201b","./ka.js":"201b","./kk":"6d79","./kk.js":"6d79","./km":"e81d","./km.js":"e81d","./kn":"3e92","./kn.js":"3e92","./ko":"22f8","./ko.js":"22f8","./ku":"2421","./ku-kmr":"7558","./ku-kmr.js":"7558","./ku.js":"2421","./ky":"9609","./ky.js":"9609","./lb":"440c","./lb.js":"440c","./lo":"b29d","./lo.js":"b29d","./lt":"26f9","./lt.js":"26f9","./lv":"b97c","./lv.js":"b97c","./me":"293c","./me.js":"293c","./mi":"688b","./mi.js":"688b","./mk":"6909","./mk.js":"6909","./ml":"02fb","./ml.js":"02fb","./mn":"958b","./mn.js":"958b","./mr":"39bd","./mr.js":"39bd","./ms":"ebe4","./ms-my":"6403","./ms-my.js":"6403","./ms.js":"ebe4","./mt":"1b45","./mt.js":"1b45","./my":"8689","./my.js":"8689","./nb":"6ce3","./nb.js":"6ce3","./ne":"3a39","./ne.js":"3a39","./nl":"facd","./nl-be":"db29","./nl-be.js":"db29","./nl.js":"facd","./nn":"b84c","./nn.js":"b84c","./oc-lnc":"167b","./oc-lnc.js":"167b","./pa-in":"f3ff","./pa-in.js":"f3ff","./pl":"8d57","./pl.js":"8d57","./pt":"f260","./pt-br":"d2d4","./pt-br.js":"d2d4","./pt.js":"f260","./ro":"972c","./ro.js":"972c","./ru":"957c","./ru.js":"957c","./sd":"6784","./sd.js":"6784","./se":"ffff","./se.js":"ffff","./si":"eda5","./si.js":"eda5","./sk":"7be6","./sk.js":"7be6","./sl":"8155","./sl.js":"8155","./sq":"c8f3","./sq.js":"c8f3","./sr":"cf1e","./sr-cyrl":"13e9","./sr-cyrl.js":"13e9","./sr.js":"cf1e","./ss":"52bd","./ss.js":"52bd","./sv":"5fbd","./sv.js":"5fbd","./sw":"74dc","./sw.js":"74dc","./ta":"3de5","./ta.js":"3de5","./te":"5cbb","./te.js":"5cbb","./tet":"576c","./tet.js":"576c","./tg":"3b1b","./tg.js":"3b1b","./th":"10e8","./th.js":"10e8","./tk":"5aff","./tk.js":"5aff","./tl-ph":"0f38","./tl-ph.js":"0f38","./tlh":"cf75","./tlh.js":"cf75","./tr":"0e81","./tr.js":"0e81","./tzl":"cf51","./tzl.js":"cf51","./tzm":"c109","./tzm-latn":"b53d","./tzm-latn.js":"b53d","./tzm.js":"c109","./ug-cn":"6117","./ug-cn.js":"6117","./uk":"ada2","./uk.js":"ada2","./ur":"5294","./ur.js":"5294","./uz":"2e8c","./uz-latn":"010e","./uz-latn.js":"010e","./uz.js":"2e8c","./vi":"2921","./vi.js":"2921","./x-pseudo":"fd7e","./x-pseudo.js":"fd7e","./yo":"7f33","./yo.js":"7f33","./zh-cn":"5c3a","./zh-cn.js":"5c3a","./zh-hk":"49ab","./zh-hk.js":"49ab","./zh-mo":"3a6c","./zh-mo.js":"3a6c","./zh-tw":"90ea","./zh-tw.js":"90ea"};function a(e){var t=i(e);return n(t)}function i(e){var t=o[e];if(!(t+1)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return t}a.keys=function(){return Object.keys(o)},a.resolve=i,e.exports=a,a.id="4678"},"7cca":function(e,t,n){"use strict";n.d(t,"g",function(){return l}),n.d(t,"t",function(){return u}),n.d(t,"w",function(){return d}),n.d(t,"O",function(){return E}),n.d(t,"P",function(){return f}),n.d(t,"x",function(){return T}),n.d(t,"H",function(){return p}),n.d(t,"S",function(){return S}),n.d(t,"f",function(){return m}),n.d(t,"y",function(){return O}),n.d(t,"A",function(){return b}),n.d(t,"C",function(){return A}),n.d(t,"q",function(){return _}),n.d(t,"R",function(){return I}),n.d(t,"d",function(){return v}),n.d(t,"e",function(){return N}),n.d(t,"J",function(){return R}),n.d(t,"p",function(){return C}),n.d(t,"i",function(){return g}),n.d(t,"h",function(){return L}),n.d(t,"D",function(){return w}),n.d(t,"F",function(){return P}),n.d(t,"E",function(){return y}),n.d(t,"z",function(){return D}),n.d(t,"N",function(){return M}),n.d(t,"G",function(){return x}),n.d(t,"I",function(){return k}),n.d(t,"s",function(){return U}),n.d(t,"B",function(){return F}),n.d(t,"v",function(){return Y}),n.d(t,"Q",function(){return W}),n.d(t,"o",function(){return G}),n.d(t,"a",function(){return j}),n.d(t,"c",function(){return H}),n.d(t,"b",function(){return z}),n.d(t,"k",function(){return K}),n.d(t,"j",function(){return Q}),n.d(t,"M",function(){return X}),n.d(t,"L",function(){return q}),n.d(t,"n",function(){return J}),n.d(t,"l",function(){return $}),n.d(t,"m",function(){return Z}),n.d(t,"r",function(){return ee}),n.d(t,"K",function(){return te}),n.d(t,"u",function(){return ne});var o,a=n("9523"),i=n.n(a),r=(n("f559"),n("cadf"),n("456d"),n("ac6a"),n("3156")),c=n.n(r),s=n("e7d8"),l={EMPTY_MAP_SELECTION:{pixelSelected:null,layerSelected:null,value:null,locked:!1},HIST_MAX_LENGTH:50,CHILDREN_TO_ASK_FOR:25,SEARCHBAR_SIZE:512,SEARCHBAR_INCREMENT:128,MAX_SEARCHBAR_INCREMENTS:6,TARGET_DATAFLOW:"DATAFLOW",TARGET_PROVENANCE:"PROVENANCE",GRAPH_DATAFLOW:"dataflow",GRAPH_PROVENANCE_FULL:"provenance_full",GRAPH_PROVENANCE_SIMPLIFIED:"provenance_simplified",APP_LOAD_TIMEOUT:3e4},u=[{flowchart:null,graph:null,updatable:!1,visible:!1,target:l.TARGET_DATAFLOW,type:l.GRAPH_DATAFLOW,label:"Dataflow"},{flowchart:null,graph:null,updatable:!1,visible:!1,target:l.TARGET_PROVENANCE,type:l.GRAPH_PROVENANCE_FULL,label:"Provenance full"},{flowchart:null,graph:null,updatable:!1,visible:!1,target:l.TARGET_PROVENANCE,type:l.GRAPH_PROVENANCE_SIMPLIFIED,label:"Provenance simplified"}],d={LEFTMENU_MAXSIZE:512,LEFTMENU_MINSIZE:80,LEFTMENU_DOCUMENTATION_SIZE:320,LEFTMENU_MAXIMIZED:"max",LEFTMENU_MINIMIZED:"min",LEFTMENU_HIDDEN:"hidden",DATA_VIEWER_COMPONENT:"klab-main-control",DOCKED_DATA_VIEWER_COMPONENT:"docked-main-control",REPORT_VIEWER_COMPONENT:"reports-details",DOCUMENTATION_VIEWER_COMPONENT:"documentation-tree",DATAFLOW_VIEWER_COMPONENT:"dataflow-details",DATAFLOW_INFO_COMPONENT:"dataflow-info",PROVENANCE_VIEWER_COMPONENT:"provenance-details",LOG_COMPONENT:"klab-log-pane"},E={DATA_VIEWER:{name:"DataViewer",leftMenuState:d.LEFTMENU_HIDDEN,leftMenuContent:d.DATA_VIEWER_COMPONENT,mainControl:!0,hasSearch:!0},DOCKED_DATA_VIEWER:{name:"DataViewer",leftMenuState:d.LEFTMENU_MAXIMIZED,leftMenuContent:d.DOCKED_DATA_VIEWER_COMPONENT,mainControl:!1,hasSearch:!0},DOCUMENTATION_VIEWER:{name:"KlabDocumentation",leftMenuState:d.LEFTMENU_MINIMIZED,leftMenuContent:d.DOCUMENTATION_VIEWER_COMPONENT,mainControl:!1,hasSearch:!1},REPORT_VIEWER:{name:"ReportViewer",leftMenuState:d.LEFTMENU_MINIMIZED,leftMenuContent:d.REPORT_VIEWER_COMPONENT,mainControl:!1,hasSearch:!1},DATAFLOW_VIEWER:{name:"DataflowViewer",leftMenuState:d.LEFTMENU_MINIMIZED,leftMenuContent:d.DATAFLOW_VIEWER_COMPONENT,mainControl:!1,hasSearch:!1},PROVENANCE_VIEWER:{name:"ProvenanceViewer",leftMenuState:d.LEFTMENU_MINIMIZED,leftMenuContent:d.PROVENANCE_VIEWER_COMPONENT,mainControl:!1,hasSearch:!1}},f={VIEW_MAP:{component:"MapViewer",label:"Maps",hideable:!1,forceNew:!1},VIEW_CHART:{component:"ChartViewer",label:"Chart",hideable:!0,forceNew:!0},VIEW_GRAPH:{component:"GraphViewer",label:"Graph",hideable:!0,forceNew:!0},VIEW_BLOB:{component:"BlobViewer",label:"Blob",hideable:!1,forceNew:!1},VIEW_UNKNOWN:{component:"UnknownViewer",label:"Under construction",hideable:!1,forceNew:!1}},T={CONCEPT:{label:"Concept",symbol:"C",color:"sem-types",rgb:"rgb(38, 50, 56)"},PREFIX_OPERATOR:{label:"Prefix operator",symbol:"O",color:"sem-types",rgb:"rgb(38, 50, 56)"},INFIX_OPERATOR:{label:"Infix operator",symbol:"O",color:"sem-types",rgb:"rgb(38, 50, 56)"},OBSERVATION:{label:"Observation",symbol:"O",color:"sem-types",rgb:"rgb(38, 50, 56)"},MODEL:{label:"Model",symbol:"M",color:"sem-types",rgb:"rgb(38, 50, 56)"},MODIFIER:{label:"Modifier",symbol:"O",color:"sem-types",rgb:"rgb(38, 50, 56)"},PRESET_OBSERVABLE:{label:"Preset observable",symbol:"O",color:"sem-preset-observable",rgb:"rgb(240, 240, 240)"},SEPARATOR:{label:"Separator",symbol:"S",color:"sem-separator",rgb:"rgb(10, 10, 10)"},NEXT_TOKENS:{TOKEN:"TOKEN",TEXT:"TEXT",INTEGER:"INTEGER",DOUBLE:"DOUBLE",BOOLEAN:"BOOLEAN",UNIT:"UNIT",CURRENCY:"CURRENCY"}},p={QUALITY:{label:"Quality",symbol:"Q",color:"sem-quality",rgb:"rgb(0, 153, 0)"},SUBJECT:{label:"Subject",symbol:"S",color:"sem-subject",rgb:"rgb(153, 76, 0)"},IDENTITY:{label:"identity",symbol:"Id",color:"sem-identity",rgb:"rgb(0, 102, 204)"},ATTRIBUTE:{label:"Attribute",symbol:"A",color:"sem-attribute",rgb:"rgb(0, 102, 204)"},REALM:{label:"Realm",symbol:"R",color:"sem-realm",rgb:"rgb(0, 102, 204)"},TRAIT:{label:"Trait",symbol:"T",color:"sem-trait",rgb:"rgb(0, 102, 204)"},EVENT:{label:"Event",symbol:"E",color:"sem-event",rgb:"rgb(53, 153, 0)"},RELATIONSHIP:{label:"Relationship",symbol:"R",color:"sem-relationship",rgb:"rgb(210, 170, 0)"},PROCESS:{label:"Process",symbol:"P",color:"sem-process",rgb:"rgb(204, 0, 0)"},ROLE:{label:"Role",symbol:"R",color:"sem-role",rgb:"rgb(0, 86, 163)"},CONFIGURATION:{label:"Configuration",symbol:"C",color:"sem-configuration",rgb:"rgb(98, 98, 98)"},DOMAIN:{label:"Domain",symbol:"D",color:"sem-domain",rgb:"rgb(240, 240, 240)"}},S={nodes:[],links:[],showMenu:!1,selected:{},showSelection:!1,linksSelected:{},options:{canvas:!1,size:{w:500,h:500},force:350,offset:{x:0,y:0},nodeSize:20,linkWidth:1,nodeLabels:!0,linkLabels:!1,strLinks:!0}},m={CONNECTION_UNKNOWN:"UNKNOWN",CONNECTION_UP:"UP",CONNECTION_DOWN:"DOWN",CONNECTION_WORKING:"WORKING",CONNECTION_ERROR:"ERROR",UNKNOWN_IDENTITY:"UNKNOWN_IDENTITY"},O={TYPE_DEBUG:"debug",TYPE_WARNING:"warning",TYPE_ERROR:"error",TYPE_INFO:"info",TYPE_MESSAGE:"MSG",TYPE_ALL:"ALL"},b={TYPE_PROCESS:"PROCESS",TYPE_STATE:"STATE",TYPE_SUBJECT:"SUBJECT",TYPE_CONFIGURATION:"CONFIGURATION",TYPE_EVENT:"EVENT",TYPE_RELATIONSHIP:"RELATIONSHIP",TYPE_GROUP:"GROUP",TYPE_VIEW:"VIEW",TYPE_INITIAL:"INITIAL"},A={shapeType:"POINT",encodedShape:"POINT (40.299841 9.343971)",id:null,label:"DEFAULT",parentId:-1,visible:!0,spatialProjection:"EPSG:4326",observationType:b.TYPE_INITIAL},_={TYPE_RASTER:"RASTER",TYPE_SHAPE:"SHAPE",TYPE_SCALAR:"SCALAR",TYPE_TIMESERIES:"TIMESERIES",TYPE_NETWORK:"NETWORK",TYPE_PROPORTIONS:"PROPORTIONS",TYPE_COLORMAP:"COLORMAP",SHAPE_POLYGON:"POLYGON",SHAPE_POINT:"POINT",PARAM_VIEWPORT_SIZE:800,PARAM_VIEWPORT_MAX_SIZE:7680,PARAM_VIEWPORT_MULTIPLIER:1},I={PARAMS_MODE:"mode",PARAMS_MODE_IDE:"ide",PARAMS_MODE_STANDALONE:"standalone",PARAMS_SESSION:"session",PARAMS_LOG:"log",PARAMS_LOG_HIDDEN:"hidden",PARAMS_LOG_VISIBLE:"visible",PARAMS_LOCAL_HELP:"localhelp",PARAMS_APP:"app",PARAMS_DEBUG_REMOTE:"remote-debug",PARAMS_STOMP_DEBUG:"stomp-debug",PARAMS_TOKEN:"token",COOKIE_LANG:"klab_exp_lang",COOKIE_SESSION:"klab_session",COOKIE_MODE:"klab_mode",COOKIE_LOG:"klab_log",COOKIE_BASELAYER:"klab_baselayer",COOKIE_MAPDEFAULT:"klab_mapdefault",COOKIE_SAVELOCATION:"klab_saveLocation",COOKIE_HELP_ON_START:"klab_helponstart",COOKIE_DOCKED_STATUS:"klab_dockedstatus",COOKIE_NOTIFICATIONS:"klab_notifications",COOKIE_TERMINAL_SIZE:"klab_terminalsize",COOKIE_VIEW_COORDINATES:"klab_coordinates",LOCAL_STORAGE_APP_ID:"klab:appId",LOCAL_STORAGE_TERMINAL_COMMANDS:"klab:terminalCommands"},v={NOTIFICATIONS_URL:"".concat("https://integratedmodelling.org","/statics/notifications/index.php")},N={MAIN_COLOR:"rgb(17, 170, 187)",MAIN_GREEN:"rgb(231,255,219)",MAIN_CYAN:"rgb(228,253,255)",MAIN_YELLOW:"rgb(255, 195, 0)",MAIN_RED_HEX:"#ff6464",MAIN_COLOR_HEX:"#11aabb",MAIN_GREEN_HEX:"#e7ffdb",MAIN_CYAN_HEX:"#e4fdff",MAIN_YELLOW_HEX:"#ffc300",MAIN_RED:"rgb(255, 100, 100)",PRIMARY:"#DA1F26",SECONDARY:"#26A69A",TERTIARY:"#555",NEUTRAL:"#E0E1E2",POSITIVE:"#19A019",NEGATIVE:"#DB2828",INFO:"#1E88CE",WARNING:"#F2C037",PRIMARY_NAME:"primary",SECONDARY_NAME:"secondary",TERTIARY_NAME:"tertiary",POSITIVE_NAME:"positive",NEGATIVE_NAME:"negative",INFO_NAME:"info",WARNING_NAME:"warning"},h={SPINNER_STOPPED_COLOR:N.MAIN_COLOR,SPINNER_LOADING_COLOR:N.MAIN_YELLOW,SPINNER_MC_RED:N.MAIN_RED,SPINNER_ERROR_COLOR:N.NEGATIVE_NAME},R={SPINNER_LOADING:{color:h.SPINNER_LOADING_COLOR,animated:!0},SPINNER_STOPPED:{color:h.SPINNER_STOPPED_COLOR,animated:!1},SPINNER_ERROR:{color:h.SPINNER_ERROR_COLOR,animated:!1,time:2,then:{color:h.SPINNER_STOPPED_COLOR,animated:!1}}},C={UNKNOWN_SEARCH_OBSERVATION:"$$UNKNOWN_SEARCH_OBSERVATION$$"},g={WAITING:"waiting",PROCESSING:"processing",PROCESSED:"processed",ABORTED:"aborted"},L={MAP_SIZE_CHANGED:"mapsizechanged",UPDATE_FOLDER:"updatefolder",GRAPH_NODE_SELECTED:"graphnodeselected",SPINNER_DOUBLE_CLICK:"spinnerdoubleclick",SHOW_NODE:"shownode",ASK_FOR_UNDOCK:"askforundock",ASK_FOR_SUGGESTIONS:"askforsuggestions",NEED_FIT_MAP:"needfitmap",TREE_VISIBLE:"treevisible",VIEWER_CLICK:"viewerclick",VIEWER_SELECTED:"viewerselected",VIEWER_CLOSED:"viewerclosed",OBSERVATION_INFO_CLOSED:"observationinfoclosed",SEND_REGION_OF_INTEREST:"sendregionofinterest",NEED_HELP:"needhelp",OBSERVATION_BY_TIME:"observationbytime",NEED_LAYER_BUFFER:"needlayerbuffer",COMPONENT_ACTION:"componentaction",LAYOUT_CHANGED:"layoutchanged",SELECT_ELEMENT:"selectelement",PROPOSED_CONTEXT_CHANGE:"proposedcontextchange",NEW_SCHEDULING:"newscheduling",SHOW_NOTIFICATIONS:"shownotifications",TERMINAL_FOCUSED:"terminalfocused",COMMAND_RESPONSE:"commandresponse",REFRESH_DOCUMENTATION:"refreshdocumentation",PRINT_DOCUMENTATION:"printdocumentation",SHOW_DOCUMENTATION:"showdowcumentation",FONT_SIZE_CHANGE:"fontsizechange",DOWNLOAD_URL:"downloadurl",RESET_CONTEXT:"resetcontext",VIEW_ACTION:"viewaction",SESSION_CUT:"sessioncut",SHOW_DATA_INFO:"showdatainfo"},w={ST_SPACE:"space",ST_TIME:"time"},P={CENTIMETERS:"cm",METERS:"m",KILOMETERS:"km",MILLENNIUM:"MILLENNIUM",CENTURY:"CENTURY",DECADE:"DECADE",YEAR:"YEAR",MONTH:"MONTH",WEEK:"WEEK",DAY:"DAY",HOUR:"HOUR",MINUTE:"MINUTE",SECOND:"SECOND",MILLISECOND:"MILLISECOND"},y=[{i18nlabel:"unitCentimeter",type:w.ST_SPACE,value:P.CENTIMETERS,selectable:!0},{i18nlabel:"unitMeter",type:w.ST_SPACE,value:P.METERS,selectable:!0},{i18nlabel:"unitKilometer",type:w.ST_SPACE,value:P.KILOMETERS,selectable:!0},{i18nlabel:"unitMillennium",type:w.ST_TIME,value:P.MILLENNIUM,selectable:!1,momentShorthand:"y",momentMultiplier:1e3,index:0},{i18nlabel:"unitCentury",type:w.ST_TIME,value:P.CENTURY,selectable:!0,momentShorthand:"y",momentMultiplier:100,index:1},{i18nlabel:"unitDecade",type:w.ST_TIME,value:P.DECADE,selectable:!0,momentShorthand:"y",momentMultiplier:10,index:2},{i18nlabel:"unitYear",type:w.ST_TIME,value:P.YEAR,selectable:!0,momentShorthand:"y",momentMultiplier:1,index:3},{i18nlabel:"unitMonth",type:w.ST_TIME,value:P.MONTH,selectable:!0,momentShorthand:"M",momentMultiplier:1,index:4},{i18nlabel:"unitWeek",type:w.ST_TIME,value:P.WEEK,selectable:!0,momentShorthand:"W",momentMultiplier:1,index:5},{i18nlabel:"unitDay",type:w.ST_TIME,value:P.DAY,selectable:!0,momentShorthand:"d",momentMultiplier:1,index:6},{i18nlabel:"unitHour",type:w.ST_TIME,value:P.HOUR,selectable:!0,momentShorthand:"h",momentMultiplier:1,index:7},{i18nlabel:"unitMinute",type:w.ST_TIME,value:P.MINUTE,selectable:!0,momentShorthand:"m",momentMultiplier:1,index:8},{i18nlabel:"unitSecond",type:w.ST_TIME,value:P.SECOND,selectable:!1,momentShorthand:"s",momentMultiplier:1,index:9},{i18nlabel:"unitMillisecond",type:w.ST_TIME,value:P.MILLISECOND,selectable:!1,momentShorthand:"ms",momentMultiplier:1,index:10}],D={SPATIAL_TRANSLATION:"SpatialTranslation",SPATIAL_CHANGE:"SpatialChange",TERMINATION:"Termination",STRUCTURE_CHANGE:"StructureChange",NAME_CHANGE:"NameChange",ATTRIBUTE_CHANGE:"AttributeChange",VALUE_CHANGE:"ValueChange",BRING_FORWARD:"BringForward",CONTEXTUALIZATION_COMPLETED:"ContextualizationCompleted"},M={DEFAULT_STEP:864e5,DEFAULT_INTERVAL:100,PIXEL_TIME_MULTIPLIER:1,MIN_PLAY_TIME:6e4,MAX_PLAY_TIME:6e4},x={SEMANTIC:"SEMANTIC",FREETEXT:"FREETEXT"},k={INTERACTIVE_MODE:"InteractiveMode",LOCK_SPACE:"LockSpace",LOCK_TIME:"LockTime"},U={DEFAULT_MODAL_SIZE:{width:1024,height:768},DEFAULT_PROPORTIONS:{width:4,height:3},DEFAULT_WIDTH_PERCENTAGE:90,DEFAULT_HEIGHT_PERCENTAGE:90,DEFAULT_HELP_BASE_URL:"https://integratedmodelling.org/statics/help"},V={actionLabel:null,actionId:null,downloadUrl:null,downloadFileExtension:null,enabled:!1,separator:!1,submenu:[]},F={SEPARATOR_ITEM:c()({},V,{enabled:!0,separator:!0}),RECONTEXTUALIZATION_ITEM:c()({},V,{actionId:"Recontextualization",actionLabel:Object(s["b"])().tc("label.recontextualization"),enabled:!0})},Y=[{viewClass:"table",label:Object(s["b"])().tc("label.kwTable"),icon:"mdi-table",exportIcons:[{type:"xlsx",icon:"mdi-file-excel"}]},{viewClass:"chart",label:Object(s["b"])().tc("label.kwChart"),icon:"mdi-chart-bar",exportIcons:[]}],W={OBSERVATION:"Observation",VIEW:"View",TREE:"Tree",REPORT:"Report",DATAFLOW:"Dataflow",SHOW:"Show",HIDE:"Hide",URL:"Url",DOWNLOAD:"Download"},G={RESOURCE_VALIDATION:"ResourceValidation"},j={PANEL:"Panel",ALERT:"Alert",PUSH_BUTTON:"PushButton",CHECK_BUTTON:"CheckButton",RADIO_BUTTON:"RadioButton",TEXT_INPUT:"TextInput",COMBO:"Combo",GROUP:"Group",MAP:"Map",TREE:"Tree",TREE_ITEM:"TreeItem",CONFIRM:"Confirm",VIEW:"View",CONTAINER:"Container",MULTICONTAINER:"MultiContainer",LABEL:"Label",TEXT:"Text",TABLE:"Table",NOTIFICATION:"Notification",INPUT_GROUP:"InputGroup",SEPARATOR:"Separator",MODAL_WINDOW:"ModalWindow",WINDOW:"Window",BROWSER:"Browser",IMAGE:"Image"},H={USER_ACTION:"UserAction",ENABLE:"Enable",HIDE:"Hide",UPDATE:"Update",MENU_ACTION:"MenuAction"},z={LABEL_MIN_WIDTH:"150px",DEFAULT_LOGO:"statics/klab-logo.png"},B=/^\d+\D{1,2}/,K=function(e){var t={};return Object.keys(e.attributes).forEach(function(n){var o=e.attributes[n];switch(n){case"hidden":t.display="none";break;case"width":"content"===o?t["flex-basis"]="0":o.startsWith("col")?t["flex-grow"]=o.substring(3):t.width="".concat(o).concat(B.test(o)?"":"px");break;case"height":t.height="".concat(o).concat(B.test(o)?"":"px");break;case"hfill":e.attributes.hbox&&(t["flex-wrap"]="nowrap"),t.width="100%";break;case"vfill":t["flex-grow"]=1;break;case"top":case"bottom":case"middle":e.attributes.parentAttributes&&(e.attributes.parentAttributes.hbox||e.attributes.parentAttributes.vbox)?t["align-self"]="top"===n?"flex-start":"bottom"===n?"flex-end":"center":e.attributes.hbox||e.attributes.vbox?t["justify-content"]=n:t["vertical-align"]=n;break;case"hbox":case"vbox":t["flex-direction"]="hbox"===n?"row":"column",e.attributes.center&&(t["align-items"]="center");break;case"left":case"right":t["text-align"]=n;break;default:break}}),t},Q={dark:{"main-color":"white","positive-color":"rgb(116, 212, 116)","negative-color":"rgb(250, 117, 117)","background-color":"rgb(18, 18, 18)","alt-background":"rgb(99,99,99)","text-color":"white","control-text-color":"black","title-color":"white","alt-color":"rgb(0, 204, 204)","font-family":"'Roboto', '-apple-system', 'Helvetica Neue', Helvetica, Arial, sans-serif","font-size":"1em","title-size":"26px","subtitle-size":"16px","line-height":"1em"},light:{"main-color":"black","background-color":"white","alt-background":"rgb(233,233,233)","text-color":"black","control-text-color":"white","title-color":"black","alt-color":"rgb(0,138,150)","font-family":"'Roboto', '-apple-system', 'Helvetica Neue', Helvetica, Arial, sans-serif","font-size":"1em","title-size":"26px","subtitle-size":"16px","line-height":"1em"},worst:{"main-color":"green","background-color":"yellow","alt-background":"fuchsia","text-color":"red","control-text-color":"yellow","title-color":"indigo","alt-color":"blue","font-family":"comics","font-size":"1.2em","title-size":"32px","subtitle-size":"20px","line-height":"1.2em"},default:{"main-color":"rgb(0, 92, 129)","background-color":"rgb(250, 250, 250)","alt-background":"rgb(222, 222, 222)","text-color":"rgb(0, 92, 129)","control-text-color":"rgb(250, 250, 250)","title-color":"rgb(0, 92, 129)","alt-color":"rgb(0, 138, 150)","font-family":"'Roboto', '-apple-system', 'Helvetica Neue', Helvetica, Arial, sans-serif","font-size":"1em","title-size":"26px","subtitle-size":"16px","line-height":"1em"}},X={DEBUGGER:"Debugger",CONSOLE:"Console"},q=[{value:"80x24",label:"80x24",cols:80,rows:24},{value:"80x43",label:"80x43",cols:80,rows:43},{value:"132x24",label:"132x24",cols:132,rows:24},{value:"132x43",label:"132x43",cols:132,rows:43}],J={REPORT:"REPORT",FIGURES:"FIGURES",TABLES:"TABLES",RESOURCES:"RESOURCES",MODELS:"MODELS",PROVENANCE:"PROVENANCE",REFERENCES:"REFERENCES"},$={REPORT:"Report",SECTION:"Section",PARAGRAPH:"Paragraph",TABLE:"Table",CHART:"Chart",FIGURE:"Figure",RESOURCE:"Resource",MODEL:"Model",REFERENCE:"Reference",CITATION:"Citation",VIEW:"View",LINK:"Link",ANCHOR:"Anchor"},Z=(o={},i()(o,$.REPORT,J.REPORT),i()(o,$.SECTION,J.REPORT),i()(o,$.PARAGRAPH,J.REPORT),i()(o,$.TABLE,J.TABLES),i()(o,$.CHART,J.REPORT),i()(o,$.FIGURE,J.FIGURES),i()(o,$.RESOURCE,J.RESOURCES),i()(o,$.MODEL,J.MODELS),i()(o,$.REFERENCE,J.REPORT),i()(o,$.CITATION,J.REPORT),i()(o,$.VIEW,J.REPORT),i()(o,$.LINK,J.REPORT),i()(o,$.ANCHOR,J.REPORT),o),ee={KLAB_AUTHORIZATION:"klab-authorization"},te={NUMBER:"NUMBER",BOOLEAN:"BOOLEAN",CONCEPT:"CONCEPT",PROCESS:"PROCESS",EVENT:"EVENT",OBJECT:"OBJECT",TEXT:"TEXT",VALUE:"VALUE",RANGE:"RANGE",ENUM:"ENUM",EXTENT:"EXTENT",TEMPORALEXTENT:"TEMPORALEXTENT",SPATIALEXTENT:"SPATIALEXTENT",ANNOTATION:"ANNOTATION",LIST:"LIST",VOID:"VOID",MAP:"MAP",TABLE:"TABLE"},ne={URL:__ENV__.KEYCLOAK_URL,REALM:"im",CLIENT_ID:"k.Explorer",TOKEN:"vue-token",REFRESH_TOKEN:"vue-refresh-token",BEARER:"Bearer "}},"7e6d":function(e,t,n){},8449:function(e,t,n){"use strict";n.d(t,"b",function(){return d});n("ac6a"),n("cadf"),n("456d");var o=n("7037"),a=n.n(o),i=(n("386d"),n("7cca")),r=n("1442"),c=n("8fec"),s=n("be3b"),l=n("741d"),u=n("2b0e"),d=new u["a"];t["a"]=function(e){var t=e.store,n=new URLSearchParams(window.location.search),o=n.get(i["R"].PARAMS_SESSION)||l["a"].get(i["R"].COOKIE_SESSION),E=n.get(i["R"].PARAMS_MODE)||l["a"].get(i["R"].COOKIE_MODE)||i["R"].PARAMS_MODE_IDE,f=n.get(i["R"].PARAMS_LOG)||l["a"].get(i["R"].COOKIE_LOG)||i["R"].PARAMS_LOG_HIDDEN,T=l["a"].get(i["R"].COOKIE_BASELAYER)||r["d"].DEFAULT_BASELAYER,p=l["a"].get(i["R"].COOKIE_MAPDEFAULT)||{center:r["b"].center,zoom:r["b"].zoom},S=!l["a"].has(i["R"].COOKIE_SAVELOCATION)||l["a"].get(i["R"].COOKIE_SAVELOCATION),m=l["a"].has(i["R"].COOKIE_DOCKED_STATUS),O="engine.remote "===__ENV__.ACTIVE_PROFILE,b=n.get(i["R"].PARAMS_TOKEN);u["a"].mixin({methods:{hexToRgbValues:function(e){if("undefined"!==typeof e){var t=c["b"](e);return"".concat(t.r,", ").concat(t.g,", ").concat(t.b)}return"black"},isAcceptedKey:function(e){var t="abcdefghijklmnopqrstuvwxyz0123456789.<>=!()+-*/^";return e=e.toLowerCase(),-1!==t.indexOf(e)}}}),u["a"].prototype.$eventBus=d,t.state.data.session=o,u["a"].prototype.$mode=E,l["a"].set(i["R"].COOKIE_MODE,E,{expires:30,path:"/",secure:!0}),u["a"].prototype.$logVisibility=f,l["a"].set(i["R"].COOKIE_LOG,f,{expires:30,path:"/",secure:!0}),u["a"].prototype.$baseLayer=T,l["a"].set(i["R"].COOKIE_BASELAYER,T,{expires:30,path:"/",secure:!0}),u["a"].prototype.$mapDefaults=p,t.state.view.saveLocation=S,l["a"].set(i["R"].COOKIE_SAVELOCATION,S,{expires:30,path:"/",secure:!0}),t.state.view.saveDockedStatus=m,m&&(t.state.view.mainControlDocked=l["a"].get(i["R"].COOKIE_DOCKED_STATUS)),t.state.view.viewCoordinates=l["a"].has(i["R"].COOKIE_VIEW_COORDINATES)&&l["a"].get(i["R"].COOKIE_VIEW_COORDINATES),t.state.data.local=O,t.state.data.token=b,console.info("Session: ".concat(o," / mode: ").concat(E));var A=n.get(i["R"].PARAMS_LOCAL_HELP);t.state.view.helpBaseUrl=A?"http://".concat(A):i["s"].DEFAULT_HELP_BASE_URL;var _=n.get(i["R"].PARAMS_APP);_&&(t.state.view.klabApp=_),s["a"].get("".concat("").concat("/modeler","/capabilities"),{}).then(function(e){var n=e.data;if("object"!==a()(n))throw Error("Error asking for capabilities: no data");if(0===Object.keys(n).length)throw Error("Capabilities are empty, check it");t.state.data.capabilities=n}).catch(function(e){console.error("Error trying to retrieve capabilities: ".concat(e))})}},"8fec":function(e,t,n){"use strict";n.d(t,"d",function(){return a}),n.d(t,"b",function(){return i}),n.d(t,"c",function(){return c}),n.d(t,"a",function(){return s});n("c5f6"),n("ee1d"),n("a481"),n("6b54");var o=/^rgb(a)?\((\d{1,3}),(\d{1,3}),(\d{1,3}),?([01]?\.?\d*?)?\)$/;function a(e){var t=e.r,n=e.g,o=e.b,a=e.a,i=void 0!==a;if(t=Math.round(t),n=Math.round(n),o=Math.round(o),t>255||n>255||o>255||i&&a>100)throw new TypeError("Expected 3 numbers below 256 (and optionally one below 100)");return a=i?(256|Math.round(255*a/100)).toString(16).slice(1):"","#".concat((o|n<<8|t<<16|1<<24).toString(16).slice(1)).concat(a)}function i(e){if("string"!==typeof e)throw new TypeError("Expected a string");e=e.replace(/^#/,""),3===e.length?e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]:4===e.length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]);var t=parseInt(e,16);return e.length>6?{r:t>>24&255,g:t>>16&255,b:t>>8&255,a:Math.round((255&t)/2.55)}:{r:t>>16,g:t>>8&255,b:255&t}}function r(e){if("string"!==typeof e)throw new TypeError("Expected a string");var t=e.replace(/ /g,""),n=o.exec(t);if(null===n)return i(t);var a={r:Math.min(255,parseInt(n[2],10)),g:Math.min(255,parseInt(n[3],10)),b:Math.min(255,parseInt(n[4],10))};if(n[1]){var r=parseFloat(n[5]);a.a=100*Math.min(1,!0===Number.isNaN(r)?1:r)}return a}function c(e,t){if("string"!==typeof e)throw new TypeError("Expected a string as color");if("number"!==typeof t)throw new TypeError("Expected a numeric percent");var n=r(e),o=t<0?0:255,a=Math.abs(t)/100,i=n.r,c=n.g,s=n.b;return"#".concat((16777216+65536*(Math.round((o-i)*a)+i)+256*(Math.round((o-c)*a)+c)+(Math.round((o-s)*a)+s)).toString(16).slice(1))}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.body;if("string"!==typeof e)throw new TypeError("Expected a string as color");if(!(t instanceof Element))throw new TypeError("Expected a DOM element");return getComputedStyle(t).getPropertyValue("--q-color-".concat(e)).trim()||null}},b0b2:function(e,t,n){"use strict";n.d(t,"a",function(){return P}),n.d(t,"h",function(){return D}),n.d(t,"e",function(){return x}),n.d(t,"f",function(){return k}),n.d(t,"g",function(){return U}),n.d(t,"b",function(){return V}),n.d(t,"k",function(){return F}),n.d(t,"j",function(){return Y}),n.d(t,"i",function(){return W}),n.d(t,"l",function(){return G}),n.d(t,"c",function(){return H}),n.d(t,"d",function(){return z});n("4917"),n("28a5"),n("48c0"),n("6c7b"),n("ac6a");var o=n("278c"),a=n.n(o),i=(n("c5f6"),n("ee1d"),n("8fec")),r=n("256f"),c=n("5bc3"),s=n("6c77"),l=n("1442"),u=n("f403"),d=n("7a09"),E=n("9a44"),f=n("47e4"),T=n("88da"),p=n("f822"),S=n("049d"),m=n("c4c8"),O=n("c7e3"),b=n("f384"),A=n("01ae"),_=n("7f68"),I=n("881a"),v=/^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d+(?:\.\d+)?))?\)$/,N=i["b"],h=i["a"],R=i["d"],C={topLeft:Object(r["l"])([-180,90],l["d"].PROJ_EPSG_4326,l["d"].PROJ_EPSG_3857),bottomLeft:Object(r["l"])([-180,-90],l["d"].PROJ_EPSG_4326,l["d"].PROJ_EPSG_3857),topRight:Object(r["l"])([180,90],l["d"].PROJ_EPSG_4326,l["d"].PROJ_EPSG_3857),bottomRight:Object(r["l"])([180,-90],l["d"].PROJ_EPSG_4326,l["d"].PROJ_EPSG_3857)},g=new _["b"],L={left:g.createLineString([new _["a"](C.topLeft[0],C.topLeft[1]),new _["a"](C.bottomLeft[0],C.bottomLeft[1])]),right:g.createLineString([new _["a"](C.topRight[0],C.topRight[1]),new _["a"](C.bottomRight[0],C.bottomRight[1])])},w=g.createPolygon([new _["a"](C.topLeft[0],C.topLeft[1]),new _["a"](C.topRight[0],C.topRight[1]),new _["a"](C.bottomRight[0],C.bottomRight[1]),new _["a"](C.bottomLeft[0],C.bottomLeft[1]),new _["a"](C.topLeft[0],C.topLeft[1])]);function P(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}function y(e){if("string"!==typeof e)throw new TypeError("Expected a string");var t=v.exec(e);if(t){var n={r:parseInt(t[1],10),g:parseInt(t[2],10),b:parseInt(t[3],10)};return t[4]&&(n.a=parseFloat(t[4])),n}return N(e)}function D(e){return!!Number.isNaN(1*e)&&e===e.toUpperCase()}function M(e){var t={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};return"undefined"!==typeof t[e.toLowerCase()]?t[e.toLowerCase()]:null}function x(e){var t,n;if(0===e.indexOf("#"))n=e,t=N(e);else if(-1!==e.indexOf(","))t=y(e),n=R(t);else{if(n=h(e),null===n&&(n=M(e),null===n))throw new Error("Unknown color: ".concat(e));t=N(n)}return{rgb:t,hex:n,color:e}}function k(e,t,n){(null===e||null===t||n<1)&&console.warn("Bad colors: ".concat(e,", ").concat(t));for(var o,a,i,r=x(e).rgb,c=x(t).rgb,s=1/(n-1),l=[],u=0;u2&&void 0!==arguments[2]?arguments[2]:null,o=function(e,t,n){return e+(t-e)*n},i=[],r=Number((e.length-1)/(t-1)),c=a()(e,1);i[0]=c[0];for(var s=1;s0&&document.getSelection().getRangeAt(0);t.select(),document.execCommand("copy"),document.body.removeChild(t),n&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(n))}var F=new I["a"];F.inject(u["a"],d["a"],S["a"],c["a"],E["a"],f["a"],T["a"]);var Y=function(e){return e instanceof p["a"]&&(e=Object(c["b"])(e)),F.read(e)},W=function(e){return new m["a"](e).isValid()},G=function(e,t){return O["a"].union(e,t)};function j(e){var t=[];return O["a"].intersection(e,L.left)&&t.push(L.left),O["a"].intersection(e,L.right)&&t.push(L.right),t}function H(e){var t=j(e);if(0===t.length)return e;var n=e.getExteriorRing();t.forEach(function(e){n=O["a"].union(n,e)});var o=new A["a"];o.add(n);for(var a=o.getPolygons(),i=null,r=a.iterator();r.hasNext();){var c=r.next();if(!b["a"].contains(w,c)){for(var s=[],l=c.getCoordinates(),u=l.length,d=0;d0&&void 0!==arguments[0]?arguments[0]:null;if(null===e)return!1;var t=e.geometryTypes;return t&&"undefined"!==typeof t.find(function(e){return e===l["q"].TYPE_RASTER})},g=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l["g"].HIST_MAX_LENGTH;e.push(t),e.length>n&&e.shift()},L=function(e,t){if(0===e.length)return null;if(void 0===t)return e[e.length-1];var n=s()(e).reverse().find(function(e){return e.type===t});return"undefined"!==typeof n?n:null},w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0;if(e&&null!==t&&"function"===typeof n){var o=[].reduce,a=function e(a,i){if(a||!i)return a;if(Array.isArray(i))return o.call(Object(i),e,a);var r=n(i,t);return null===r&&i.children&&i.children.length>0?e(null,i.children):r};return a(null,e)}return null},P=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return w(e,t,function(e,t){return e.id===t?e:null})},y=function(e){var t=null!==e.parentArtifactId||null!==e.parentId&&e.rootContextId!==e.parentId,n=null!==e.parentArtifactId?e.parentArtifactId:e.parentId,o=e.main;if(!o&&t){var a=P(d["a"].getters["data/tree"],n);null!==a&&(o=o||a.userNode)}return{node:r()({id:e.id,label:e.literalValue||e.label,observable:e.observable,type:e.shapeType,dynamic:e.dynamic||!1,needUpdate:!e.contextualized,viewerIdx:e.viewerIdx,viewerType:null!==e.viewerIdx?d["a"].getters["view/viewer"](e.viewerIdx).type:null,loading:!1,children:[],childrenCount:e.childrenCount,childrenLoaded:0,siblingsCount:e.siblingsCount,parentArtifactId:e.parentArtifactId,tickable:null!==e.viewerIdx&&!e.empty||e.isContainer||e.childrenCount>0,disabled:e.empty&&(!e.isContainer||0===e.childrenCount)||e.singleValue||e.observationType===l["A"].TYPE_PROCESS,empty:e.empty,actions:e.actions,header:e.isContainer?"folder":"default",main:e.main,userNode:o,isContainer:e.isContainer,exportFormats:e.exportFormats,rootContextId:e.rootContextId,contextId:e.contextId,observationType:e.observationType,noTick:e.singleValue||e.observationType===l["A"].TYPE_PROCESS},e.isContainer&&{childrenLoaded:0},e.siblingsCount&&{siblingsCount:e.siblingsCount},{parentId:n}),parentId:n}},D=function(e){return new Promise(function(t,n){var o=null;if(null!==e)if(o=Object(_["g"])(e),null===o){var a=e.substring(5);fetch("https://epsg.io/?format=json&q=".concat(a)).then(function(a){return a.json().then(function(a){var i=a.results;if(i&&i.length>0)for(var r=0,c=i.length;r0&&u&&u.length>0&&d&&4===d.length){var f="EPSG:".concat(l);v["a"].defs(f,u),Object(I["a"])(v["a"]),o=Object(_["g"])(f);var T=Object(_["i"])(E["d"].PROJ_EPSG_4326,o),p=Object(A["a"])([d[1],d[2],d[3],d[0]],T);o.setExtent(p),console.info("New projection registered: ".concat(f)),t(o)}else n(new Error("Some error in projection search result: ".concat(JSON.stringify(s))))}else n(new Error("Some error in projection search result: no results"))}else n(new Error("Unknown projection: ".concat(e)))})})}else t(o);else t(E["d"].PROJ_EPSG_4326)})};function M(e){return x.apply(this,arguments)}function x(){return x=a()(regeneratorRuntime.mark(function e(t){var n,o,a,i,r;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:return n=t.spatialProjection,e.next=3,D(n);case 3:if(o=e.sent,a=t.encodedShape,a){e.next=7;break}return e.abrupt("return",null);case 7:return 0===a.indexOf("LINEARRING")&&(a=a.replace("LINEARRING","LINESTRING")),i=null,-1!==a.indexOf("POINT")?(r=R.readFeature(a,{dataProjection:o,featureProjection:E["d"].PROJ_EPSG_3857}),null!==r&&null!==r.getGeometry()&&(i=r.getGeometry().getFirstCoordinate())):i=R.readGeometry(a,{dataProjection:o,featureProjection:E["d"].PROJ_EPSG_3857}),t.id===t.rootContextId&&(t.zIndexOffset=0),e.abrupt("return",i);case 12:case"end":return e.stop()}},e)})),x.apply(this,arguments)}function k(e){return U.apply(this,arguments)}function U(){return U=a()(regeneratorRuntime.mark(function e(t){var n;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:if(n=t.response?{status:t.response.data.status||t.response.status,message:t.response.data.message||t.response.data.error||t.response.data||(""!==t.response.statusText?t.response.statusText:"Unknown"),axiosError:t}:t.request?{status:t.request.status,message:t.message,axiosError:t}:{status:"UNKNOWN",message:t.message,axiosError:t},!(n instanceof Blob)){e.next=5;break}return e.next=4,n.text();case 4:n=e.sent;case 5:return e.abrupt("return",n);case 6:case"end":return e.stop()}},e)})),U.apply(this,arguments)}var V=function(e,t,n,o){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;d["a"].dispatch("view/setSpinner",r()({},l["J"].SPINNER_LOADING,{owner:e}),{root:!0}),N["a"].get(t,n).then(function(t){t&&o(t,function(){d["a"].dispatch("view/setSpinner",r()({},l["J"].SPINNER_STOPPED,{owner:e}),{root:!0})})}).catch(function(){var t=a()(regeneratorRuntime.mark(function t(n){var o,a;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,k(n);case 2:if(o=t.sent,a=null,null!=o&&(a=o.message),d["a"].dispatch("view/setSpinner",r()({},l["J"].SPINNER_ERROR,{owner:e,errorMessage:a}),{root:!0}),null===i){t.next=10;break}i(n),t.next=11;break;case 10:throw n;case 11:case"end":return t.stop()}},t)}));return function(e){return t.apply(this,arguments)}}())},F=function(e){if("RAMP"===e.type&&e.colors.length>1&&e.colors.length<256){for(var t=[],n=[],o=e.colors.length,a=Math.floor(256/o),i=a+(256-o*a),r=0;rl["q"].PARAM_VIEWPORT_MAX_SIZE&&(a=l["q"].PARAM_VIEWPORT_MAX_SIZE),P=L.getExtent(),y="".concat("").concat(u["c"].REST_SESSION_VIEW,"data/").concat(t.id),M=new b["a"]({projection:R,imageExtent:P,url:y,style:E["e"].POLYGON_OBSERVATION_STYLE,imageLoadFunction:function(e,n){d["a"].dispatch("view/setSpinner",r()({},l["J"].SPINNER_LOADING,{owner:"".concat(n).concat(c)}),{root:!0}),d["a"].dispatch("data/setLoadingLayers",{loading:!0,observation:t}),N["a"].get(n,{params:r()({format:l["q"].TYPE_RASTER,viewport:a},-1!==A&&{locator:"T1(1){time=".concat(A,"}")}),responseType:"blob"}).then(function(o){if(o){var a=new FileReader;a.readAsDataURL(o.data),a.onload=function(){var o=e.getImage();o.src=a.result,d["a"].dispatch("view/setSpinner",r()({},l["J"].SPINNER_STOPPED,{owner:"".concat(n).concat(c)}),{root:!0}),t.tsImages.push("T".concat(c)),t.loaded=!0,d["a"].dispatch("data/setLoadingLayers",{loading:!1,observation:t}),V("cm_".concat(t.id),y,{params:r()({format:l["q"].TYPE_COLORMAP},-1!==c&&{locator:"T1(1){time=".concat(c,"}")})},function(e,n){e&&e.data&&(t.colormap=F(e.data)),n()})},a.onerror=function(e){d["a"].dispatch("view/setSpinner",r()({},l["J"].SPINNER_ERROR,{owner:"".concat(n).concat(c),errorMessage:e}),{root:!0})}}}).catch(function(e){throw d["a"].dispatch("view/setSpinner",r()({},l["J"].SPINNER_ERROR,{owner:"".concat(n).concat(c),errorMessage:e.message}),{root:!0}),d["a"].dispatch("data/setLoadingLayers",{loading:!1,observation:t}),e})}}),e.abrupt("return",new O["a"]({id:w,source:M}));case 19:return 0===g.indexOf("LINESTRING")||0===g.indexOf("MULTILINESTRING")?(x=E["e"].LNE_OBSERVATION_STYLE,t.zIndexOffset=E["d"].ZINDEX_BASE*E["d"].ZINDEX_MULTIPLIER_LINES):0===g.indexOf("POINT")||0===g.indexOf("MULTIPOINT")?(x=Object(f["d"])(E["e"].POINT_OBSERVATION_SVG_PARAM,t.label),t.zIndexOffset=E["d"].ZINDEX_BASE*E["d"].ZINDEX_MULTIPLIER_POINTS):(x=E["e"].POLYGON_OBSERVATION_STYLE,t.zIndexOffset=E["d"].ZINDEX_BASE*E["d"].ZINDEX_MULTIPLIER_POLYGONS),k=new m["a"]({geometry:L,name:t.label,id:w}),U=new p["a"]({id:w,source:new T["a"]({features:[k]}),style:x}),e.abrupt("return",U);case 23:case"end":return e.stop()}},e)})),W.apply(this,arguments)}function G(e,t){d["a"].$app.sendStompMessage(e(t,d["a"].state.data.session).body)}var j=function(e){switch(e){case"FORTHCOMING":return{icon:"mdi-airplane-landing",tooltip:"forthcoming"};case"EXPERIMENTAL":return{icon:"mdi-flask-outline",tooltip:"experimental"};case"NEW":return{icon:"mdi-new-box",tooltip:"new"};case"STABLE":return{icon:"mdi-check-circle-outline",tooltip:"stable"};case"BETA":return{icon:"mdi-radioactive",tooltip:"beta"};default:return{}}},H=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e,t){return e.id===t?e:null};if(e&&null!==t){var o=[].reduce,a=function e(a,i){if(a||!i)return a;if(Array.isArray(i))return o.call(Object(i),e,a);var r=n(i,t);return null===r&&i.components&&i.components.length>0?e(null,i.components):r};return a(null,e)}return null},z=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0;return H(s()(e.panels).concat(s()(e.leftPanels),s()(e.rightPanels),[e.header,e.footer]).filter(function(e){return null!==e}),t,n)};function B(e,t,n,o){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;V("dw_".concat(e),"".concat("").concat(u["c"].REST_SESSION_VIEW,"data/").concat(e),{params:r()({format:t,outputFormat:o.value,adapter:o.adapter},-1!==a&&{locator:"T1(1){time=".concat(a,"}")}),responseType:"blob"},function(e,t){var a=window.URL.createObjectURL(new Blob([e.data])),i=document.createElement("a");i.href=a,i.setAttribute("download","".concat(n,".").concat(o.extension)),document.body.appendChild(i),i.click(),i.remove(),window.URL.revokeObjectURL(a),t()})}function K(e,t){var n=[Object.assign({},e)];return delete n[0][t],e[t]&&e[t].length>0?n.concat(e[t].map(function(e){return K(e,t)}).reduce(function(e,t){return e.concat(t)},[])):n}}).call(this,n("b639").Buffer)},be3b:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n("bc3a"),a=n.n(o),i=n("7cca"),r=a.a.create();t["b"]=function(e){var t=e.Vue,n=e.store;localStorage.getItem(i["u"].TOKEN)&&(r.defaults.headers.common.Authorization="Bearer ".concat(localStorage.getItem(i["u"].TOKEN))),console.debug(n.state.data.session),n.state.data.session?r.defaults.headers.common[i["r"].KLAB_AUTHORIZATION]=n.state.data.session:console.warn("No session established en axios header, check it"),n.state.data.token&&(r.defaults.headers.common.Authentication=n.state.data.token),t.prototype.$axios=r}},d247:function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"a",function(){return a}),n.d(t,"c",function(){return i});n("0d6d"),Object.freeze({SEARCH_TYPES:[{enumId:"CONCEPT",name:"CONCEPT",color:"#ff0000"},{enumId:"OPERATOR",name:"OPERATOR",color:"#ffff00"},{enumId:"OBSERVATION",name:"OBSERVATION",color:"#ff00ff"},{enumId:"MODEL",name:"MODEL",color:"#0000ff"}]});var o=Object.freeze({CLASS_USERCONTEXTCHANGE:"UserContextChange",CLASS_SEARCH:"Search",CLASS_OBSERVATIONLIFECYCLE:"ObservationLifecycle",CLASS_TASKLIFECYCLE:"TaskLifecycle",CLASS_USERCONTEXTDEFINITION:"UserContextDefinition",CLASS_USERINTERFACE:"UserInterface",CLASS_NOTIFICATION:"Notification",CLASS_RUN:"Run",TYPE_REGIONOFINTEREST:"RegionOfInterest",TYPE_FEATUREADDED:"FeatureAdded",TYPE_PERIODOFINTEREST:"PeriodOfInterest",TYPE_SUBMITSEARCH:"SubmitSearch",TYPE_MATCHACTION:"MatchAction",TYPE_REQUESTOBSERVATION:"RequestObservation",TYPE_RESETCONTEXT:"ResetContext",TYPE_RECONTEXTUALIZE:"Recontextualize",TYPE_TASKINTERRUPTED:"TaskInterrupted",TYPE_SCALEDEFINED:"ScaleDefined",TYPE_DATAFLOWNODEDETAIL:"DataflowNodeDetail",TYPE_DATAFLOWNODERATING:"DataflowNodeRating",TYPE_CHANGESETTING:"ChangeSetting",TYPE_USERINPUTPROVIDED:"UserInputProvided",TYPE_WATCHOBSERVATION:"WatchObservation",TYPE_ENGINEEVENT:"EngineEvent",TYPE_VIEWACTION:"ViewAction",TYPE_RUNAPP:"RunApp",TYPE_CONSOLECREATED:"ConsoleCreated",TYPE_CONSOLECLOSED:"ConsoleClosed",TYPE_COMMANDREQUEST:"CommandRequest",PAYLOAD_CLASS_SPATIALEXTENT:"SpatialExtent",PAYLOAD_CLASS_SPATIALLOCATION:"SpatialLocation",PAYLOAD_CLASS_TEMPORALEXTENT:"TemporalExtent",PAYLOAD_CLASS_SEARCHREQUEST:"SearchRequest",PAYLOAD_CLASS_SEARCHMATCHACTION:"SearchMatchAction",PAYLOAD_CLASS_OBSERVATIONREQUEST:"ObservationRequest",PAYLOAD_CLASS_INTERRUPTTASK:"InterruptTask",PAYLOAD_CLASS_SCALEREFERENCE:"ScaleReference",PAYLOAD_CLASS_DATAFLOWSTATE:"DataflowState",PAYLOAD_CLASS_CONTEXTUALIZATIONREQUEST:"ContextualizationRequest",PAYLOAD_CLASS_SETTINGCHANGEREQUEST:"SettingChangeRequest",PAYLOAD_CLASS_USERINPUTRESPONSE:"UserInputResponse",PAYLOAD_CLASS_WATCHREQUEST:"WatchRequest",PAYLOAD_CLASS_EMPTY:"String",PAYLOAD_CLASS_VIEWACTION:"ViewAction",PAYLOAD_CLASS_MENUACTION:"MenuAction",PAYLOAD_CLASS_LOADAPPLICATIONREQUEST:"LoadApplicationRequest",PAYLOAD_CLASS_CONSOLENOTIFICATION:"ConsoleNotification"}),a=Object.freeze({CLASS_TASKLIFECYCLE:"TaskLifecycle",CLASS_OBSERVATIONLIFECYCLE:"ObservationLifecycle",CLASS_QUERY:"Query",CLASS_USERCONTEXTCHANGE:"UserContextChange",CLASS_NOTIFICATION:"Notification",CLASS_USERCONTEXTDEFINITION:"UserContextDefinition",CLASS_USERINTERFACE:"UserInterface",CLASS_AUTHORIZATION:"Authorization",CLASS_VIEWACTOR:"ViewActor",TYPE_DATAFLOWCOMPILED:"DataflowCompiled",TYPE_DATAFLOWSTATECHANGED:"DataflowStateChanged",TYPE_DATAFLOWDOCUMENTATION:"DataflowDocumentation",TYPE_NEWOBSERVATION:"NewObservation",TYPE_MODIFIEDOBSERVATION:"ModifiedObservation",TYPE_QUERYRESULT:"QueryResult",TYPE_RESETCONTEXT:"ResetContext",TYPE_SCALEDEFINED:"ScaleDefined",TYPE_USERINPUTREQUESTED:"UserInputRequested",TYPE_USERPROJECTOPENED:"UserProjectOpened",TYPE_PROJECTFILEMODIFIED:"ProjectFileModified",TYPE_SCHEDULINGSTARTED:"SchedulingStarted",TYPE_SCHEDULINGFINISHED:"SchedulingFinished",TYPE_NETWORKSTATUS:"NetworkStatus",TYPE_CREATEVIEWCOMPONENT:"CreateViewComponent",TYPE_SCHEDULEADVANCED:"ScheduleAdvanced",TYPE_ENGINEEVENT:"EngineEvent",TYPE_SETUPINTERFACE:"SetupInterface",TYPE_VIEWACTION:"ViewAction",TYPE_VIEWAVAILABLE:"ViewAvailable",TYPE_VIEWSETTING:"ViewSetting",TYPE_COMMANDRESPONSE:"CommandResponse",TYPE_DOCUMENTATIONCHANGED:"DocumentationChanged",TYPE_CREATEMODALWINDOW:"CreateModalWindow",TYPE_AUTHORITYDOCUMENTATION:"AuthorityDocumentation",TYPE_PROVENANCECHANGED:"ProvenanceChanged",TYPE_TASKSTARTED:"TaskStarted",TYPE_TASKFINISHED:"TaskFinished",TYPE_TASKABORTED:"TaskAborted",TYPE_DEBUG:"Debug",TYPE_INFO:"Info",TYPE_WARNING:"Warning",TYPE_ERROR:"Error",PAYLOAD_CLASS_TASKREFERENCE:"TaskReference",PAYLOAD_CLASS_CONTEXTUALIZATIONNOTIFICATION:"ContextualizationNotification",PAYLOAD_CLASS_DATAFLOWSTATE:"DataflowState",PAYLOAD_CLASS_OBSERVATIONREFERENCE:"ObservationReference",PAYLOAD_CLASS_SEARCHRESPONSE:"SearchResponse",PAYLOAD_CLASS_SCALEREFERENCE:"ScaleReference",PAYLOAD_CLASS_USERINPUTREQUEST:"UserInputRequest",PAYLOAD_CLASS_SCHEDULERNOTIFICATION:"SchedulerNotification",PAYLOAD_CLASS_NETWORKREFERENCE:"NetworkReference",PAYLOAD_CLASS_EMPTY:"String",PAYLOAD_CLASS_VIEWCOMPONENT:"ViewComponent",PAYLOAD_CLASS_ENGINEEVENT:"EngineEvent",PAYLOAD_CLASS_LAYOUT:"Layout",PAYLOAD_CLASS_VIEWACTION:"ViewAction",PAYLOAD_CLASS_VIEWSETTING:"ViewSetting",PAYLOAD_CLASS_KNOWLEDGEVIEWREFERENCE:"KnowledgeViewReference",PAYLOAD_CLASS_CONSOLENOTIFICATION:"ConsoleNotification",PAYLOAD_CLASS_DOCUMENTATIONEVENT:"DocumentationEvent"}),i=Object.freeze({REST_STATUS:"".concat("/modeler","/engine/status"),REST_SESSION_INFO:"".concat("/modeler","/engine/session/info"),REST_SESSION_VIEW:"".concat("/modeler","/engine/session/view/"),REST_SESSION_OBSERVATION:"".concat("/modeler","/engine/session/observation/"),REST_UPLOAD:"".concat("/modeler","/resource/put"),REST_GET_PROJECT_RESOURCE:"".concat("/modeler","/engine/project/resource/get"),REST_API_LOGOUT:"".concat("/modeler/api/v2","/users/log-out"),REST_API_EXPORT:"".concat("/modeler/api/v2","/public/export")})},e7d8:function(e,t,n){"use strict";var o=n("2b0e"),a=n("a925"),i={label:{appTitle:"k.LAB Explorer EN",appRunning:"Running on Quasar v{version}",appClose:"Close",appOK:"Ok",appAccept:"Accept",appYES:"Yes",appNO:"No",appCancel:"Cancel",appRetry:"Retry",appNext:"Next",appPrevious:"Previous",appWarning:"Warning",appPlay:"Play",appReplay:"Replay",appPause:"Pause",appReload:"Reload",appPrint:"Print",appSetDefault:"Set as default",klabNoMessage:"No message",klabUnknownError:"Unknown error",klabNoDate:"No date",klabMessagesToSend:"There are one message in queue",modalNoConnection:"No connection, please wait",appFooter:"k.LAB Explorer - 2018",treeTitle:"Observation",reconnect:"Reconnect",unknownLabel:"Unknown",context:"context",noContext:"",noContextPlaceholder:"",contextShape:"context shape",noObservation:"No observations available",searchPlaceholder:"Search knowledge",fuzzySearchPlaceholder:"Free search",askForObservation:"Observing {urn}",noTokenDescription:"No description available",btnContextReset:"Reset context",contextReset:"Context reset",itemCounter:"{loaded} of {total}",logTab:"Log",treeTab:"Tree",noHistogramData:"No data",noInfoValues:"",noScaleReference:"",mcMenuScale:"Space & time:",mcMenuContext:"Context",mcMenuOption:"Options",mcMenuSettings:"Settings",mcMenuHelp:"Help",showTutorial:"Show tutorial",showHelp:"Show help",refreshSize:"Refresh window size",titleOutputFormat:"Download observation",askForOuputFormat:"Select format",titleChangeScale:"Change {type} scale",askForNewScale:"Select new scale",resolutionLabel:"Resolution value",unitLabel:"Unit value",clickToEditScale:"Click to edit",clickToLock:"Click to lock scale",clickToUnlock:"Click to unlock scale",scaleLocked:"{type} scale locked",spaceScale:"Space",timeScale:"Time",unitCentimeter:"Centimeters",unitMeter:"Meters",unitKilometer:"Kilometers",unitMillennium:"Millennium",unitCentury:"Century",unitDecade:"Decade",unitYear:"Year",unitMonth:"Month",unitWeek:"Week",unitDay:"Day",unitHour:"Hour",unitMinute:"Minute",unitSecond:"Second",unitMillisecond:"Millisecond",timeOrigin:"Initial time",labelTimeStart:"Start time",labelTimeEnd:"End time",labelSpatial:"spatial",labelTemporal:"temporal",newContext:"New context",previousContexts:"Previous contexts",drawCustomContext:"Draw context",eraseCustomContext:"Erase custom context",addToCustomContext:"Add shape",drawPoint:"Point",drawLineString:"Line",drawPolygon:"Polygon",drawCircle:"Circle",optionShowAll:"Show all",optionSaveLocation:"Remember location",saveDockedStatus:"Remember docked status",noNodes:"No observations",loadShowData:"Load and show data",interactiveMode:"Interactive mode",noInputSectionTitle:"No section title",cancelInputRequest:"Cancel run",resetInputRequest:"Use defaults",submitInputRequest:"Submit",IDLAlertTitle:"Warning!",recontextualization:"Set as context",rememberDecision:"Don't show again",titleCommentResource:"Comment on resource",sendComment:"Send",noTimeSet:"Initial state",timeResolutionMultiplier:"Multiplier",months:{m0:"January",m1:"February",m2:"March",m3:"April",m4:"May",m5:"June",m6:"July",m7:"August",m8:"September",m9:"October",m10:"November",m11:"December"},removeProposedContext:"Remove context",levelDebug:"Debug",levelInfo:"Info",levelWarning:"Warning",levelError:"Error",levelEngineEvent:"Engine event",userDetails:"User details",unknownUser:"Unknown user",userId:"Id:",userEmail:"Email:",userLastLogin:"Last login:",userGroups:"Groups:",appsList:"Available apps",appsClose:"Close app",appsLogout:"Logout",reloadApplications:"Reload applications",noLayoutLabel:"No title",noLayoutDescription:"No description",kwTable:"Table",kwChart:"Chart",openTerminal:"Open terminal",openDebugger:"Open debugger",titleSelectTerminalSize:"Select terminal size",terminalDeleteHistory:"Delete history",terminalResizeWindow:"Resize terminal window",terminalMinimize:"Minimize terminal",terminalMaximize:"Maximize terminal",terminalClose:"Close terminal",noDocumentation:"No elements available for this view",tableDownloadAsXSLX:"Download table as .xslx",tableCopy:"Copy table to clipboard",resettingContext:"Resetting context",reportTable:"Table",reportFigure:"Figure",viewCoordinates:"Show coordinates"},messages:{connectionClosed:"Connection closed",connectionWorking:"Trying to reconnect",connectionUnknown:"Starting...",noSpaceAllowedInSearch:"Spaces cannot be used in the search box",noSearchResults:"No search results",noActionForObservation:"No actions available",noTime:"no time",emptyReport:'
Empty report
',noLoadedReport:"No report loaded",copiedToClipboard:"Copied to clipboard",customCopyToClipboard:"{what} copied to clipboard",changeScaleResolutionError:"Resolution must be positive",updateScale:"{type} scale updated",updateNextScale:"New {type} scale have been stored, press refresh to update",invalidGeometry:"Polygon is not valid",geolocationWaitingTitle:"Enable geolocation?",geolocationWaitingText:"k.Explorer can detect your current location to initialize the geographical viewer.
In order to do so, you need to authorize geolocation.
This is merely for your convenience and does not affect operation.
Your choice will be remembered and can be changed at any time.",geolocationErrorPermissionDenied:"Geolocation has not been authorized",geolocationErrorPositionUnavailable:"Location information is unavailable",geolocationErrorTimeout:"A request to get the user location timed out",geolocationErrorUnknown:"An unknown error occurred",unknownSearchObservation:"Previous observations results",noLogItems:"Empty log",noLevelSelected:"No levels selected",uploadComplete:"Upload of file {fileName} complete",IDLAlertText:"Actual view crossing the International Date Line. A drawn context is needed",lastTermAlertText:"No more terms allowed",parenthesisAlertText:"You have open parenthesis",emptyFreeTextSearch:"Empty search is not allowed",fuzzyModeOff:"Free search off",fuzzyModeOn:"Free search on",treeNoResult:"No results",treeNoNodes:"No data",treeNoResultUser:"No main observations",treeNoResultUserWaiting:"Computing...",treeNoResultNoUser:"No observations",treeNoMainSummary:"Other observations",thankComment:"Comment has been sent",confirmRescaleContext:"The context will be recreate with new resolution.\nAre you sure?",loadingChildren:"Loading children...",waitingLocation:"Searching for {location}...",waitingObservationInit:"Initializing observation...",availableInFuture:"This feature will be available soon",timeEndBeforeTimeStart:"End time cannot be before start time",timeEndModified:"Multiplier is not used because the end time was manually changed",pressToChangeSpeed:"Press to play
Hold to change speed
Actual speed x{multiplier}",resourcesValidating:"Engine is busy",presentationBlocked:'

Can\'t access online help resources: check your network connection

A browser extension may also be interfering

',noAppsAvailable:"No available apps",noGroupsAssigned:"No groups assigned",appLoading:"Loading app {app}",errorLoadingApp:"Error loading app {app}",reloadApp:"Reload application",errorLoggingOut:"Error logging out, contact support",terminalHello:"Welcome to k.LAB {type}",noDocumentation:"No documentation available",confirmExitPage:"Data will be lost if you leave the page, are you sure?",tableCopied:"Table copied to clipboard",invalidSession:"Invalid session",sessionClosed:"Session closed by server",unknownSessionError:"Problem with session",youHaveGOT:"Winter is coming"},tooltips:{treePane:"View tree",showLogPane:"View log",hideLogPane:"Hide log",resetContext:"Reset context",interruptTask:"Interrupt task {taskDescription}",dataViewer:"View data",reportViewer:"View report",documentationViewer:"View documentation",scenarios:"Scenarios",observers:"Observers",noReportTask:"Cannot view report,\nwait for task end",noReportObservation:"Report not available,\nno observations",noDocumentation:"Documentation not available,\nno observations",noDataflow:"Dataflow not availble",noDataflowInfo:"No details",dataflowViewer:"View data flow",provenanceViewer:"View provenance (will be...)",undock:"Undock",copyEncodedShapeToClipboard:"Copy context shape to clipboard",cancelInputRequest:"Cancel run",resetInputRequest:"Use default values",submitInputRequest:"Submit values",displayMainTree:"Display main tree",hideMainTree:"Hide main tree",rateIt:"Rate resource",commentIt:"Comment on resource",refreshScale:"Refresh context with new scale(s)",clickToEdit:"Click to edit {type} scale",palette:"No palette",unknown:"To be decided",noKnowledgeViews:"No knowledge views",knowledgeViews:"Knowledge views",uploadData:"Upload data (forthcoming)"},errors:{connectionError:"Connection error",searchTimeout:"Search timeout",uploadError:"Upload error for the file {fileName}"},engineEventLabels:{evtResourceValidation:"Resource validation"},langName:"English"},r={label:{appTitle:"k.LAB Explorer ES",appRunning:"Ejecutándose sobre Quasar v{version}",appClose:"Cerrar",appOK:"Ok",appCancel:"Cancelar",appRetry:"Reintentar",appNext:"Siguiente",appPrevious:"Precedente",klabNoMessage:"No hay ningún mensaje",klabUnknownError:"Error desconocido",klabNoDate:"No hay fecha",klabMessagesToSend:"Hay un mensaje en la cola",modalNoConnection:"No hay conexión, esperar",appFooter:"k.LAB Explorer - 2018",treeTitle:"Observaciones",reconnect:"Reconectar",unknownLabel:"Desconocido",context:"contesto",noContext:"",contextShape:"context shape",noObservation:"No hay observaciones",searchPlaceholder:"Buscar in k.LAB",fuzzySearchPlaceholder:"Buscar",askForObservation:"Pidiendo {urn}",noTokenDescription:"No hay descripción",btnContextReset:"Resetear contexto",contextReset:"Contexto reseteado",itemCounter:"{loaded} de {total}",logTab:"Log",treeTab:"Árbol",noHistogramData:"No data",noInfoValues:"",noScaleReference:"",mcMenuScale:"Espacio y tiempo:",mcMenuContext:"Contexto",mcMenuOption:"Optciones",titleOutputFormat:"Download observación",askForOuputFormat:"Seleccionar un formato",titleChangeScale:"Cambiar escala",askForNewScale:"Seleccionar nueva escala",resolutionLabel:"Valor de la escala",unitLabel:"Unidad de la escala",clickToEditScale:"Click para modificar",clickToLock:"Click para bloquear la escala",clickToUnlock:"Click para desbloquear la escala",scaleLocked:"{type} escala bloqueada",spaceScale:"Espacio",timeScale:"Tiempo",labelCm:"Centimetros",labelM:"Metros",labelKm:"Kilometros",labelSpatial:"espacial",labelTemporal:"temporal",newContext:"Nuevo contexto",previousContexts:"Contextos prévios",drawCustomContext:"Dibujar contexto",eraseCustomContext:"Borrar contexto",addToCustomContext:"Añadir shape",drawPoint:"Punto",drawLineString:"Línea",drawPolygon:"Polígono",drawCircle:"Circulo",optionShowAll:"Ver todas",optionSaveLocation:"Recordar posición",noNodes:"No results: is waiting?",loadShowData:"Cargar y visualizar datos",interactiveMode:"Modo interactivo",noInputSectionTitle:"No section title",cancelInputRequest:"Cancelar ejecución",resetInputRequest:"Utilizar defaults",submitInputRequest:"Enviar",IDLAlertTitle:"Cuidado!",recontextualization:"Fijar como contexto",rememberDecision:"Recordar mi elección"},messages:{connectionClosed:"Conexión cerrada",connectionWorking:"Intentando reconectar",connectionUnknown:"Inicializando...",noSpaceAllowedInSearch:"No está permitido utilizar espacios en la búsqueda",noSearchResults:"No hay resultados",noActionForObservation:"No hay acciones disponibles",noTime:"sin información",emptyReport:'',noLoadedReport:"No se ha cargado ningun report",copiedToClipboard:"Copiado",customCopyToClipboard:"{what} copiado",changeScaleResolutionError:"La resolución tiene que ser positiva",updateScale:"Actualizada la escala {type}, nuevo valor {resolution} {unit}",invalidGeometry:"Polígono no válido",geolocationWaitingTitle:"¿Habilitar la geolocalización?",geolocationWaitingText:"k.Explorer puede detectar tu posición actual para inicializar la vista geográfica.
Para hacer eso, hay que autorizar la geolocalización.
Esto es solamente por comodidad yno afecta a la operatividad.
Your choice will be remembered and can be changed at any time.",geolocationErrorPermissionDenied:"No se ha autorizado la geolocalización",geolocationErrorPositionUnavailable:"No hay información de posicionamiento",geolocationErrorTimeout:"Se ha superado el tiempo de espera para la geolocalización",geolocationErrorUnknown:"Ha habido un error desconocido",needHelpTitle:"How to use",needHelp0Text:"To use this, you need to know various things:",needHelp1Text:"The first",needHelp2Text:"The second",needHelp3Text:"The last",unknownSearchObservation:"Resultado de observaciones previas",noLogItems:"No hay elementos en el log",uploadComplete:"Upload del file {fileName} completado",IDLAlertText:"La selección actual cruza la IDL. Sólo está permitido en caso de dibujar un contexto",lastTermAlertText:"No están permitidos mas tokens",parenthesisAlertText:"Parentesis no balanceadas",emptyFreeTextSearch:"Búsqueda vacía",fuzzyModeOff:"Búsqueda libre desactivada",fuzzyModeOn:"Búsqueda libre activada",youHaveGOT:"Winter is coming"},tooltips:{treePane:"Ver árbol",logPane:"Ver log",resetContext:"Reset context",interruptTask:"Interrumpir proceso {taskDescription}",dataViewer:"Ver datos",reportViewer:"Ver report",noReportTask:"Cannot view report,\nwait for task end",noReportObservation:"Report no disponibile,\nno hay observaciones",noDataflow:"Dataflow no disponible",dataflowViewer:"Ver data flow",provenanceViewer:"Ver provenance (will be...)",undock:"Desacoplar",copyEncodedShapeToClipboard:"Copiar el contexto en el portapapeles",cancelInputRequest:"Cancelar ejecución",resetInputRequest:"Utilizar default",submitInputRequest:"Enviar"},errors:{connectionError:"Error de conexión",searchTimeout:"Tiempo de busqueda terminado",uploadError:"Error durante el upload del file {fileName}"},langName:"Español"},c={label:{appTitle:"k.LAB Explorer IT",appRunning:"Esecutandosi con Quasar v{version}",appClose:"Chiudi",appOK:"Ok",appCancel:"Cancellare",appRetry:"Riprovare",appNext:"Successiva",appPrevious:"Precedente",klabNoMessage:"Nessun messaggio",klabUnknownError:"Errore sconosciuto",klabNoDate:"Nessuna data",klabMessagesToSend:"C'è un messaggio in coda",modalNoConnection:"Non c'è connessione",appFooter:"k.LAB Explorer - 2018",treeTitle:"Osservazioni",reconnect:"Riconnettere",unknownLabel:"Sconosciuto",context:"contesto",noContext:"",contextShape:"context shape",noObservation:"Nessuna osservazione disponibile",searchPlaceholder:"Cerca in k.LAB",fuzzySearchPlaceholder:"Cerca",askForObservation:"Chiedendo {urn}",noTokenDescription:"Descrizione non disponibile",btnContextReset:"Resettare il contesto",contextReset:"Contesto resettato",itemCounter:"{loaded} di {total}",logTab:"Log",treeTab:"Albero",noHistogramData:"No data",noInfoValues:"",noScaleReference:"",mcMenuScale:"Spazio e tempo",mcMenuContext:"Contesto",mcMenuOption:"Optziono",titleOutputFormat:"Download osservazione",askForOuputFormat:"Selezionare un formato",titleChangeScale:"Cambiare scala",askForNewScale:"Seleccionar la nueva escala",resolutionLabel:"Valore della scala",unitLabel:"Unità della scala",clickToEditScale:"Click per modificare",clickToLock:"Click per bloccare la scala",clickToUnlock:"Click per sbloccare la scala",scaleLocked:"{type} scala bloccata",spaceScale:"Spacio",timeScale:"Tempo",labelCm:"Centimetri",labelM:"Metri",labelKm:"Kilometri",labelSpatial:"spaziale",labelTemporal:"temporale",newContext:"Constesto nuovo",previousContexts:"Contesti precedenti",drawCustomContext:"Disegnare contesto",eraseCustomContext:"Eliminare contesto",addToCustomContext:"Aggiungere shape",drawPoint:"Punto",drawLineString:"Linea",drawPolygon:"Poligono",drawCircle:"Cerchio",optionShowAll:"Vedere tutte",optionSaveLocation:"Ricordare posizione",noNodes:"No results: is waiting?",loadShowData:"Caricare e visualizzare dati",interactiveMode:"Modo interattivo",noInputSectionTitle:"Sezione senza titolo",cancelInputRequest:"Cancellare esecuzion",resetInputRequest:"Utilizzare defaults",submitInputRequest:"Inviare",IDLAlertTitle:"Attenzione!",recontextualization:"Settare come contesto",rememberDecision:"Ricordare la mia decisione"},messages:{connectionClosed:"Connessione chiusa",connectionWorking:"Cercando di riconnettere",connectionUnknown:"Inizializzando...",noSpaceAllowedInSearch:"Non è permesso utilizare spazi nella ricerca",noSearchResults:"Non esistono risultati",noActionForObservation:"Nessuna azione disponibile",noTime:"senza informazione di ora",emptyReport:'',noLoadedReport:"Non si è caricato nessun report",copiedToClipboard:"Copiato",customCopyToClipboard:"{what} copiato",changeScaleResolutionError:"La risoluzione deve essere positiva",updateScale:"Attualizata la scala {type}, nuovo valore {resolution} {unit}",invalidGeometry:"Poligono non valido",geolocationWaitingTitle:"Attivare la geolocalizzazione?",geolocationWaitingText:"k.Explorer può detettare la posizione per inizializzare la vista geografica.
Perché questo sia possibile, è necessario autorizzare la geolocalizzazione.
Quest'ultimo è esclusivamente per comodità e non influenza l'operatività.
Your choice will be remembered and can be changed at any time.",geolocationErrorPermissionDenied:"Non si ha autorizzato la geolocalizzazione",geolocationErrorPositionUnavailable:"Posizione non disponibile",geolocationErrorTimeout:"Terminato il tempo di attesa per la geolocalizzazione",geolocationErrorUnknown:"Errore imprevisto",needHelpTitle:"How to use",needHelp0Text:"To use this, you need to know various things:",needHelp1Text:"The first",needHelp2Text:"The second",needHelp3Text:"The last",unknownSearchObservation:"Risultato di osservazioni previe",noLogItems:"Il log è vuoto",uploadComplete:"Upload del file {fileName} completato",IDLAlertText:"La selezione attuale incrocia la IDL. per poterlo fare è necessario disegnare un contesto",lastTermAlertText:"Non sono permessi altri token",parenthesisAlertText:"Paretesi sbilanciate",emptyFreeTextSearch:"Ricerca vuota",fuzzyModeOff:"Ricerca libers disattivata",fuzzyModeOn:"Ricerca libera attivata",youHaveGOT:"Winter is coming"},tooltips:{treePane:"Albero",logPane:"Log",resetContext:"Reset context",interruptTask:"Interrompere processo {taskDescription}",dataViewer:"Vedere dati",reportViewer:"Vedere report",noReportTask:"Report non disponibile,\naspettare",noReportObservation:"Report non disponibile,\nnon ci sono osservazioni",noDataflow:"Dataflow non disponible",dataflowViewer:"Vedere data flow (will be...)",provenanceViewer:"Vedere provenance (will be...)",undock:"Sganciare",copyEncodedShapeToClipboard:"Copia il contesto negli appunti",cancelInputRequest:"Cancellare esecuzion",resetInputRequest:"Utilizzare default",submitInputRequest:"Inviare"},errors:{connectionError:"Errore di connessione",searchTimeout:"Tempo di ricerca terminato",uploadError:"Errore durante l'upload del file {fileName}"},langName:"Italiano"},s={en:i,es:r,it:c},l=n("741d"),u=n("7cca");n.d(t,"b",function(){return E});var d=null;function E(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(e||null===d){o["a"].use(a["a"]);var t="en";l["a"].has(u["R"].COOKIE_LANG)?(t=l["a"].get(u["R"].COOKIE_LANG),console.debug("Locale set from cookie to ".concat(t))):(l["a"].set(u["R"].COOKIE_LANG,t,{expires:30,path:"/",secure:!0}),console.debug("Lang cookie set to ".concat(t))),d=new a["a"]({locale:t,fallbackLocale:"en",messages:s})}return d}t["a"]=function(e){var t=e.app;t.i18n=E()}},fb1c:function(e,t,n){}},[[0,"runtime","vendor"]]]); \ No newline at end of file diff --git a/klab.engine/src/main/resources/static/ui/js/runtime.dac0142d.js b/klab.engine/src/main/resources/static/ui/js/runtime.018745d4.js similarity index 100% rename from klab.engine/src/main/resources/static/ui/js/runtime.dac0142d.js rename to klab.engine/src/main/resources/static/ui/js/runtime.018745d4.js